From b8c7a79ae8858b980dcfe21c008fcd0409f9fc97 Mon Sep 17 00:00:00 2001 From: Shiina Kin Date: Sun, 27 Oct 2024 18:21:54 +0800 Subject: [PATCH] feat: update api-client --- ui/packages/api-client/src/apis/DefaultApi.ts | 67 ------------------- 1 file changed, 67 deletions(-) diff --git a/ui/packages/api-client/src/apis/DefaultApi.ts b/ui/packages/api-client/src/apis/DefaultApi.ts index 4c56d88e..a3605209 100644 --- a/ui/packages/api-client/src/apis/DefaultApi.ts +++ b/ui/packages/api-client/src/apis/DefaultApi.ts @@ -22,14 +22,6 @@ import { SiteInitRequestToJSON, } from '../models/index'; -export interface ApiComUcasoftKtorSimpleCacheCacheOutputSelector250b5e5bSImageUniqueIdGetRequest { - imageUniqueId: string; -} - -export interface ApiComUcasoftKtorSimpleCacheCacheOutputSelector343fddd9RandomGetRequest { - id?: string; -} - export interface ApiSiteInitPostRequest { siteInitRequest: SiteInitRequest; } @@ -39,65 +31,6 @@ export interface ApiSiteInitPostRequest { */ export class DefaultApi extends runtime.BaseAPI { - /** - */ - async apiComUcasoftKtorSimpleCacheCacheOutputSelector250b5e5bSImageUniqueIdGetRaw(requestParameters: ApiComUcasoftKtorSimpleCacheCacheOutputSelector250b5e5bSImageUniqueIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { - if (requestParameters['imageUniqueId'] == null) { - throw new runtime.RequiredError( - 'imageUniqueId', - 'Required parameter "imageUniqueId" was null or undefined when calling apiComUcasoftKtorSimpleCacheCacheOutputSelector250b5e5bSImageUniqueIdGet().' - ); - } - - const queryParameters: any = {}; - - const headerParameters: runtime.HTTPHeaders = {}; - - const response = await this.request({ - path: `/api/com.ucasoft.ktor.simpleCache.CacheOutputSelector@250b5e5b/s/{imageUniqueId}`.replace(`{${"imageUniqueId"}}`, encodeURIComponent(String(requestParameters['imageUniqueId']))), - method: 'GET', - headers: headerParameters, - query: queryParameters, - }, initOverrides); - - return new runtime.VoidApiResponse(response); - } - - /** - */ - async apiComUcasoftKtorSimpleCacheCacheOutputSelector250b5e5bSImageUniqueIdGet(requestParameters: ApiComUcasoftKtorSimpleCacheCacheOutputSelector250b5e5bSImageUniqueIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { - await this.apiComUcasoftKtorSimpleCacheCacheOutputSelector250b5e5bSImageUniqueIdGetRaw(requestParameters, initOverrides); - } - - /** - * return random image if setting allow - */ - async apiComUcasoftKtorSimpleCacheCacheOutputSelector343fddd9RandomGetRaw(requestParameters: ApiComUcasoftKtorSimpleCacheCacheOutputSelector343fddd9RandomGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { - const queryParameters: any = {}; - - if (requestParameters['id'] != null) { - queryParameters['id'] = requestParameters['id']; - } - - const headerParameters: runtime.HTTPHeaders = {}; - - const response = await this.request({ - path: `/api/com.ucasoft.ktor.simpleCache.CacheOutputSelector@343fddd9/random`, - method: 'GET', - headers: headerParameters, - query: queryParameters, - }, initOverrides); - - return new runtime.VoidApiResponse(response); - } - - /** - * return random image if setting allow - */ - async apiComUcasoftKtorSimpleCacheCacheOutputSelector343fddd9RandomGet(requestParameters: ApiComUcasoftKtorSimpleCacheCacheOutputSelector343fddd9RandomGetRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { - await this.apiComUcasoftKtorSimpleCacheCacheOutputSelector343fddd9RandomGetRaw(requestParameters, initOverrides); - } - /** */ async apiSiteInitPostRaw(requestParameters: ApiSiteInitPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> {