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:
Maieul BOYER 2025-11-10 17:06:10 +01:00 committed by Maix0
parent 08c910c193
commit e8b0b7e310
78 changed files with 6075 additions and 0 deletions

View 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.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 GetUser403Response
*/
export interface GetUser403Response {
/**
*
* @type {string}
* @memberof GetUser403Response
*/
kind: GetUser403ResponseKindEnum;
/**
*
* @type {string}
* @memberof GetUser403Response
*/
msg: GetUser403ResponseMsgEnum;
}
/**
* @export
*/
export const GetUser403ResponseKindEnum = {
Failure: 'failure'
} as const;
export type GetUser403ResponseKindEnum = typeof GetUser403ResponseKindEnum[keyof typeof GetUser403ResponseKindEnum];
/**
* @export
*/
export const GetUser403ResponseMsgEnum = {
UserinfoFailureNotLoggedIn: 'userinfo.failure.notLoggedIn'
} as const;
export type GetUser403ResponseMsgEnum = typeof GetUser403ResponseMsgEnum[keyof typeof GetUser403ResponseMsgEnum];
/**
* Check if a given object implements the GetUser403Response interface.
*/
export function instanceOfGetUser403Response(value: object): value is GetUser403Response {
if (!('kind' in value) || value['kind'] === undefined) return false;
if (!('msg' in value) || value['msg'] === undefined) return false;
return true;
}
export function GetUser403ResponseFromJSON(json: any): GetUser403Response {
return GetUser403ResponseFromJSONTyped(json, false);
}
export function GetUser403ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetUser403Response {
if (json == null) {
return json;
}
return {
'kind': json['kind'],
'msg': json['msg'],
};
}
export function GetUser403ResponseToJSON(json: any): GetUser403Response {
return GetUser403ResponseToJSONTyped(json, false);
}
export function GetUser403ResponseToJSONTyped(value?: GetUser403Response | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}
return {
'kind': value['kind'],
'msg': value['msg'],
};
}