wip
This commit is contained in:
parent
79c7edb30f
commit
3140da7bab
30 changed files with 1148 additions and 95 deletions
93
frontend/src/api/generated/models/DisableOtp400Response.ts
Normal file
93
frontend/src/api/generated/models/DisableOtp400Response.ts
Normal file
|
|
@ -0,0 +1,93 @@
|
|||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* @fastify/swagger
|
||||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||
*
|
||||
* The version of the OpenAPI document: 9.6.1
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
import { mapValues } from '../runtime';
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface DisableOtp400Response
|
||||
*/
|
||||
export interface DisableOtp400Response {
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DisableOtp400Response
|
||||
*/
|
||||
kind: DisableOtp400ResponseKindEnum;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DisableOtp400Response
|
||||
*/
|
||||
msg: DisableOtp400ResponseMsgEnum;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @export
|
||||
*/
|
||||
export const DisableOtp400ResponseKindEnum = {
|
||||
Failure: 'failure'
|
||||
} as const;
|
||||
export type DisableOtp400ResponseKindEnum = typeof DisableOtp400ResponseKindEnum[keyof typeof DisableOtp400ResponseKindEnum];
|
||||
|
||||
/**
|
||||
* @export
|
||||
*/
|
||||
export const DisableOtp400ResponseMsgEnum = {
|
||||
DisableOtpFailureGuest: 'disableOtp.failure.guest'
|
||||
} as const;
|
||||
export type DisableOtp400ResponseMsgEnum = typeof DisableOtp400ResponseMsgEnum[keyof typeof DisableOtp400ResponseMsgEnum];
|
||||
|
||||
|
||||
/**
|
||||
* Check if a given object implements the DisableOtp400Response interface.
|
||||
*/
|
||||
export function instanceOfDisableOtp400Response(value: object): value is DisableOtp400Response {
|
||||
if (!('kind' in value) || value['kind'] === undefined) return false;
|
||||
if (!('msg' in value) || value['msg'] === undefined) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
export function DisableOtp400ResponseFromJSON(json: any): DisableOtp400Response {
|
||||
return DisableOtp400ResponseFromJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function DisableOtp400ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DisableOtp400Response {
|
||||
if (json == null) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
'kind': json['kind'],
|
||||
'msg': json['msg'],
|
||||
};
|
||||
}
|
||||
|
||||
export function DisableOtp400ResponseToJSON(json: any): DisableOtp400Response {
|
||||
return DisableOtp400ResponseToJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function DisableOtp400ResponseToJSONTyped(value?: DisableOtp400Response | null, ignoreDiscriminator: boolean = false): any {
|
||||
if (value == null) {
|
||||
return value;
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
'kind': value['kind'],
|
||||
'msg': value['msg'],
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue