feat(frontend/openapi): Generated Openapi client for frontend
Generated The API client using the openapi.json file generated from the services
This commit is contained in:
parent
08c910c193
commit
e8b0b7e310
78 changed files with 6075 additions and 0 deletions
|
|
@ -0,0 +1,66 @@
|
|||
/* 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.0
|
||||
*
|
||||
*
|
||||
* 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 LoginOtp200ResponsePayload
|
||||
*/
|
||||
export interface LoginOtp200ResponsePayload {
|
||||
/**
|
||||
* the JWT Token
|
||||
* @type {string}
|
||||
* @memberof LoginOtp200ResponsePayload
|
||||
*/
|
||||
token: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if a given object implements the LoginOtp200ResponsePayload interface.
|
||||
*/
|
||||
export function instanceOfLoginOtp200ResponsePayload(value: object): value is LoginOtp200ResponsePayload {
|
||||
if (!('token' in value) || value['token'] === undefined) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
export function LoginOtp200ResponsePayloadFromJSON(json: any): LoginOtp200ResponsePayload {
|
||||
return LoginOtp200ResponsePayloadFromJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function LoginOtp200ResponsePayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): LoginOtp200ResponsePayload {
|
||||
if (json == null) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
'token': json['token'],
|
||||
};
|
||||
}
|
||||
|
||||
export function LoginOtp200ResponsePayloadToJSON(json: any): LoginOtp200ResponsePayload {
|
||||
return LoginOtp200ResponsePayloadToJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function LoginOtp200ResponsePayloadToJSONTyped(value?: LoginOtp200ResponsePayload | null, ignoreDiscriminator: boolean = false): any {
|
||||
if (value == null) {
|
||||
return value;
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
'token': value['token'],
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue