From 5f3f82f82128d122347359adbc97d565aa482e3f Mon Sep 17 00:00:00 2001 From: Shiina Kin Date: Fri, 25 Oct 2024 23:34:32 +0800 Subject: [PATCH] chore: update apiClient --- ui/packages/api-client/src/apis/AlbumApi.ts | 142 ++++++++-------- ui/packages/api-client/src/apis/AuthApi.ts | 32 ++-- ui/packages/api-client/src/apis/DefaultApi.ts | 66 ++++---- ui/packages/api-client/src/apis/GroupApi.ts | 80 ++++----- ui/packages/api-client/src/apis/ImageApi.ts | 146 ++++++++--------- ui/packages/api-client/src/apis/RoleApi.ts | 18 +-- ui/packages/api-client/src/apis/SettingApi.ts | 62 +++---- .../api-client/src/apis/StrategyApi.ts | 82 +++++----- ui/packages/api-client/src/apis/UserApi.ts | 120 +++++++------- ui/packages/api-client/src/apis/index.ts | 2 +- ui/packages/api-client/src/index.ts | 2 +- ...Request.ts => AlbumManageInsertRequest.ts} | 27 ++-- .../src/models/AlbumManagePatchRequest.ts | 81 ++++++++++ ...trollerVoAlbumPageVO.ts => AlbumPageVO.ts} | 29 ++-- ...rtRequest.ts => AlbumSelfInsertRequest.ts} | 25 +-- .../src/models/AlbumSelfPatchRequest.ts | 73 +++++++++ ...rasouControllerVoAlbumVO.ts => AlbumVO.ts} | 38 +++-- .../models/ApiImageImageIdGet200Response.ts | 48 ------ .../src/models/ApiStrategyPostRequest.ts | 68 -------- .../src/models/CommonResponseAlbumVO.ts | 100 ++++++++++++ .../src/models/CommonResponseGroupVO.ts | 100 ++++++++++++ .../src/models/CommonResponseImageManageVO.ts | 100 ++++++++++++ .../src/models/CommonResponseImageVO.ts | 100 ++++++++++++ ...mmonResponseKotlinCollectionsListRoleVO.ts | 100 ++++++++++++ ...tlinCollectionsMapKotlinStringSettingVO.ts | 100 ++++++++++++ ...tring.ts => CommonResponseKotlinString.ts} | 33 ++-- ...linUnit.ts => CommonResponseKotlinUnit.ts} | 29 ++-- .../CommonResponsePageResultAlbumPageVO.ts | 100 ++++++++++++ .../CommonResponsePageResultGroupPageVO.ts | 100 ++++++++++++ .../CommonResponsePageResultImagePageVO.ts | 100 ++++++++++++ .../CommonResponsePageResultStrategyPageVO.ts | 100 ++++++++++++ .../CommonResponsePageResultUserManageVO.ts | 100 ++++++++++++ .../src/models/CommonResponseStrategyVO.ts | 100 ++++++++++++ .../src/models/CommonResponseUserVO.ts | 100 ++++++++++++ .../api-client/src/models/GroupConfig.ts | 74 +++++++++ .../src/models/GroupConfigUpdatePatch.ts | 73 +++++++++ ...InsertRequest.ts => GroupInsertRequest.ts} | 33 ++-- ...trollerVoGroupPageVO.ts => GroupPageVO.ts} | 31 ++-- .../src/models/GroupPatchRequest.ts | 105 ++++++++++++ ...rategyConfig.ts => GroupStrategyConfig.ts} | 62 +++---- ...rasouControllerVoGroupVO.ts => GroupVO.ts} | 56 ++++--- .../src/models/ImageInsertRequest.ts | 89 ++++++++++ .../src/models/ImageManagePatchRequest.ts | 97 +++++++++++ ...lerVoImageManageVO.ts => ImageManageVO.ts} | 62 +++---- ...trollerVoImagePageVO.ts => ImagePageVO.ts} | 30 ++-- .../api-client/src/models/ImageTypeEnum.ts | 60 +++++++ ...rasouControllerVoImageVO.ts => ImageVO.ts} | 58 ++++--- ...ontrollerRequestAlbumManagePatchRequest.ts | 76 --------- ...rasouControllerRequestAlbumPatchRequest.ts | 68 -------- ...ControllerRequestAlbumSelfInsertRequest.ts | 70 -------- ...uControllerRequestAlbumSelfPatchRequest.ts | 68 -------- ...ControllerRequestGroupConfigUpdatePatch.ts | 67 -------- ...rasouControllerRequestGroupPatchRequest.ts | 99 ------------ ...ontrollerRequestImageManagePatchRequest.ts | 92 ----------- ...rasouControllerRequestImagePatchRequest.ts | 84 ---------- ...ontrollerRequestSiteSettingPatchRequest.ts | 100 ------------ ...uControllerRequestStrategyInsertRequest.ts | 79 --------- ...ouControllerRequestStrategyPatchRequest.ts | 75 --------- ...ollerRequestStrategySettingPatchRequest.ts | 61 ------- ...ControllerRequestUserManagePatchRequest.ts | 92 ----------- ...urasouControllerRequestUserPatchRequest.ts | 76 --------- ...ouControllerRequestUserSelfPatchRequest.ts | 84 ---------- ...nseIoSakurasouControllerVoImageManageVO.ts | 94 ----------- ...esultIoSakurasouControllerVoGroupPageVO.ts | 94 ----------- ...esultIoSakurasouControllerVoImagePageVO.ts | 94 ----------- ...nStringIoSakurasouControllerVoSettingVO.ts | 94 ----------- ...nResponseioSakurasouControllerVoAlbumVO.ts | 94 ----------- ...nResponseioSakurasouControllerVoGroupVO.ts | 94 ----------- ...nResponseioSakurasouControllerVoImageVO.ts | 94 ----------- ...sponseioSakurasouControllerVoStrategyVO.ts | 94 ----------- ...onResponseioSakurasouControllerVoUserVO.ts | 94 ----------- ...onsListioSakurasouControllerVoSettingVO.ts | 94 ----------- ...esultioSakurasouControllerVoAlbumPageVO.ts | 104 ------------ ...esultioSakurasouControllerVoGroupPageVO.ts | 104 ------------ ...esultioSakurasouControllerVoImagePageVO.ts | 104 ------------ ...ltioSakurasouControllerVoStrategyPageVO.ts | 104 ------------ ...ResultioSakurasouControllerVoUserPageVO.ts | 104 ------------ .../IoSakurasouControllerVoPermissionVO.ts | 69 -------- .../models/IoSakurasouControllerVoRoleVO.ts | 85 ---------- .../IoSakurasouControllerVoSettingVO.ts | 77 --------- .../IoSakurasouControllerVoStrategyPageVO.ts | 88 ---------- .../IoSakurasouControllerVoStrategyVO.ts | 118 -------------- .../IoSakurasouModelGroupGroupConfig.ts | 68 -------- .../models/IoSakurasouModelGroupImageType.ts | 56 ------- .../IoSakurasouModelSettingStrategySetting.ts | 61 ------- .../IoSakurasouModelSettingSystemStatus.ts | 61 ------- .../IoSakurasouModelStrategyLocalStrategy.ts | 88 ---------- .../IoSakurasouModelStrategyStrategyType.ts | 49 ------ .../src/models/JavaTimeDayOfWeek.ts | 4 + .../api-client/src/models/JavaTimeMonth.ts | 4 + .../src/models/KotlinxDatetimeLocalDate.ts | 9 +- .../models/KotlinxDatetimeLocalDateTime.ts | 11 +- .../src/models/KotlinxDatetimeLocalTime.ts | 7 +- .../KotlinxSerializationJsonJsonElement.ts | 77 --------- .../KotlinxSerializationJsonJsonLiteral.ts | 70 -------- .../KotlinxSerializationJsonJsonNull.ts | 70 -------- .../KotlinxSerializationJsonJsonPrimitive.ts | 83 ---------- .../api-client/src/models/LocalStrategy.ts | 94 +++++++++++ .../src/models/PageResultAlbumPageVO.ts | 110 +++++++++++++ .../src/models/PageResultGroupPageVO.ts | 110 +++++++++++++ .../src/models/PageResultImagePageVO.ts | 110 +++++++++++++ .../src/models/PageResultStrategyPageVO.ts | 110 +++++++++++++ .../src/models/PageResultUserManageVO.ts | 110 +++++++++++++ ...delEntityPermission.ts => PermissionVO.ts} | 27 ++-- ui/packages/api-client/src/models/RoleVO.ts | 91 +++++++++++ ...delStrategyS3Strategy.ts => S3Strategy.ts} | 58 ++++--- ...ettingConfig.ts => SettingConfigSealed.ts} | 74 +++++---- .../api-client/src/models/SettingVO.ts | 83 ++++++++++ ...tSiteInitRequest.ts => SiteInitRequest.ts} | 35 ++-- ...elSettingSiteSetting.ts => SiteSetting.ts} | 33 ++-- .../src/models/SiteSettingPatchRequest.ts | 105 ++++++++++++ ...ategyConfig.ts => StrategyConfigSealed.ts} | 80 ++++----- .../src/models/StrategyInsertRequest.ts | 81 ++++++++++ .../src/models/StrategyInsertRequestConfig.ts | 69 ++++++++ .../api-client/src/models/StrategyPageVO.ts | 94 +++++++++++ .../src/models/StrategyPatchRequest.ts | 81 ++++++++++ .../src/models/StrategyPatchRequestConfig.ts | 152 ++++++++++++++++++ .../StrategyRequestLocalStrategyConfig.ts | 89 ++++++++++ .../models/StrategyRequestS3StrategyConfig.ts | 137 ++++++++++++++++ .../src/models/StrategySettingPatchRequest.ts | 66 ++++++++ .../api-client/src/models/StrategyTypeEnum.ts | 53 ++++++ .../api-client/src/models/StrategyVO.ts | 126 +++++++++++++++ ...ttingSystemSetting.ts => SystemSetting.ts} | 27 ++-- .../api-client/src/models/SystemStatus.ts | 66 ++++++++ ...rInsertRequest.ts => UserInsertRequest.ts} | 27 ++-- ...serLoginRequest.ts => UserLoginRequest.ts} | 25 +-- ...tRequest.ts => UserManageInsertRequest.ts} | 31 ++-- .../src/models/UserManagePatchRequest.ts | 97 +++++++++++ ...trollerVoUserPageVO.ts => UserManageVO.ts} | 36 +++-- .../src/models/UserSelfPatchRequest.ts | 89 ++++++++++ ...kurasouControllerVoUserVO.ts => UserVO.ts} | 44 ++--- ui/packages/api-client/src/models/index.ts | 131 ++++++++------- ui/packages/api-client/src/runtime.ts | 2 +- 133 files changed, 5125 insertions(+), 4767 deletions(-) rename ui/packages/api-client/src/models/{IoSakurasouControllerRequestAlbumManageInsertRequest.ts => AlbumManageInsertRequest.ts} (51%) create mode 100644 ui/packages/api-client/src/models/AlbumManagePatchRequest.ts rename ui/packages/api-client/src/models/{IoSakurasouControllerVoAlbumPageVO.ts => AlbumPageVO.ts} (60%) rename ui/packages/api-client/src/models/{IoSakurasouControllerRequestAlbumInsertRequest.ts => AlbumSelfInsertRequest.ts} (50%) create mode 100644 ui/packages/api-client/src/models/AlbumSelfPatchRequest.ts rename ui/packages/api-client/src/models/{IoSakurasouControllerVoAlbumVO.ts => AlbumVO.ts} (68%) delete mode 100644 ui/packages/api-client/src/models/ApiImageImageIdGet200Response.ts delete mode 100644 ui/packages/api-client/src/models/ApiStrategyPostRequest.ts create mode 100644 ui/packages/api-client/src/models/CommonResponseAlbumVO.ts create mode 100644 ui/packages/api-client/src/models/CommonResponseGroupVO.ts create mode 100644 ui/packages/api-client/src/models/CommonResponseImageManageVO.ts create mode 100644 ui/packages/api-client/src/models/CommonResponseImageVO.ts create mode 100644 ui/packages/api-client/src/models/CommonResponseKotlinCollectionsListRoleVO.ts create mode 100644 ui/packages/api-client/src/models/CommonResponseKotlinCollectionsMapKotlinStringSettingVO.ts rename ui/packages/api-client/src/models/{IoSakurasouControllerVoCommonResponseKotlinString.ts => CommonResponseKotlinString.ts} (52%) rename ui/packages/api-client/src/models/{IoSakurasouControllerVoCommonResponsekotlinUnit.ts => CommonResponseKotlinUnit.ts} (55%) create mode 100644 ui/packages/api-client/src/models/CommonResponsePageResultAlbumPageVO.ts create mode 100644 ui/packages/api-client/src/models/CommonResponsePageResultGroupPageVO.ts create mode 100644 ui/packages/api-client/src/models/CommonResponsePageResultImagePageVO.ts create mode 100644 ui/packages/api-client/src/models/CommonResponsePageResultStrategyPageVO.ts create mode 100644 ui/packages/api-client/src/models/CommonResponsePageResultUserManageVO.ts create mode 100644 ui/packages/api-client/src/models/CommonResponseStrategyVO.ts create mode 100644 ui/packages/api-client/src/models/CommonResponseUserVO.ts create mode 100644 ui/packages/api-client/src/models/GroupConfig.ts create mode 100644 ui/packages/api-client/src/models/GroupConfigUpdatePatch.ts rename ui/packages/api-client/src/models/{IoSakurasouControllerRequestGroupInsertRequest.ts => GroupInsertRequest.ts} (54%) rename ui/packages/api-client/src/models/{IoSakurasouControllerVoGroupPageVO.ts => GroupPageVO.ts} (63%) create mode 100644 ui/packages/api-client/src/models/GroupPatchRequest.ts rename ui/packages/api-client/src/models/{IoSakurasouModelGroupGroupStrategyConfig.ts => GroupStrategyConfig.ts} (52%) rename ui/packages/api-client/src/models/{IoSakurasouControllerVoGroupVO.ts => GroupVO.ts} (51%) create mode 100644 ui/packages/api-client/src/models/ImageInsertRequest.ts create mode 100644 ui/packages/api-client/src/models/ImageManagePatchRequest.ts rename ui/packages/api-client/src/models/{IoSakurasouControllerVoImageManageVO.ts => ImageManageVO.ts} (73%) rename ui/packages/api-client/src/models/{IoSakurasouControllerVoImagePageVO.ts => ImagePageVO.ts} (66%) create mode 100644 ui/packages/api-client/src/models/ImageTypeEnum.ts rename ui/packages/api-client/src/models/{IoSakurasouControllerVoImageVO.ts => ImageVO.ts} (74%) delete mode 100644 ui/packages/api-client/src/models/IoSakurasouControllerRequestAlbumManagePatchRequest.ts delete mode 100644 ui/packages/api-client/src/models/IoSakurasouControllerRequestAlbumPatchRequest.ts delete mode 100644 ui/packages/api-client/src/models/IoSakurasouControllerRequestAlbumSelfInsertRequest.ts delete mode 100644 ui/packages/api-client/src/models/IoSakurasouControllerRequestAlbumSelfPatchRequest.ts delete mode 100644 ui/packages/api-client/src/models/IoSakurasouControllerRequestGroupConfigUpdatePatch.ts delete mode 100644 ui/packages/api-client/src/models/IoSakurasouControllerRequestGroupPatchRequest.ts delete mode 100644 ui/packages/api-client/src/models/IoSakurasouControllerRequestImageManagePatchRequest.ts delete mode 100644 ui/packages/api-client/src/models/IoSakurasouControllerRequestImagePatchRequest.ts delete mode 100644 ui/packages/api-client/src/models/IoSakurasouControllerRequestSiteSettingPatchRequest.ts delete mode 100644 ui/packages/api-client/src/models/IoSakurasouControllerRequestStrategyInsertRequest.ts delete mode 100644 ui/packages/api-client/src/models/IoSakurasouControllerRequestStrategyPatchRequest.ts delete mode 100644 ui/packages/api-client/src/models/IoSakurasouControllerRequestStrategySettingPatchRequest.ts delete mode 100644 ui/packages/api-client/src/models/IoSakurasouControllerRequestUserManagePatchRequest.ts delete mode 100644 ui/packages/api-client/src/models/IoSakurasouControllerRequestUserPatchRequest.ts delete mode 100644 ui/packages/api-client/src/models/IoSakurasouControllerRequestUserSelfPatchRequest.ts delete mode 100644 ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageManageVO.ts delete mode 100644 ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVO.ts delete mode 100644 ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVO.ts delete mode 100644 ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponseKotlinCollectionsMapKotlinStringIoSakurasouControllerVoSettingVO.ts delete mode 100644 ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponseioSakurasouControllerVoAlbumVO.ts delete mode 100644 ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponseioSakurasouControllerVoGroupVO.ts delete mode 100644 ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponseioSakurasouControllerVoImageVO.ts delete mode 100644 ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponseioSakurasouControllerVoStrategyVO.ts delete mode 100644 ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponseioSakurasouControllerVoUserVO.ts delete mode 100644 ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponsekotlinCollectionsListioSakurasouControllerVoSettingVO.ts delete mode 100644 ui/packages/api-client/src/models/IoSakurasouControllerVoPageResultioSakurasouControllerVoAlbumPageVO.ts delete mode 100644 ui/packages/api-client/src/models/IoSakurasouControllerVoPageResultioSakurasouControllerVoGroupPageVO.ts delete mode 100644 ui/packages/api-client/src/models/IoSakurasouControllerVoPageResultioSakurasouControllerVoImagePageVO.ts delete mode 100644 ui/packages/api-client/src/models/IoSakurasouControllerVoPageResultioSakurasouControllerVoStrategyPageVO.ts delete mode 100644 ui/packages/api-client/src/models/IoSakurasouControllerVoPageResultioSakurasouControllerVoUserPageVO.ts delete mode 100644 ui/packages/api-client/src/models/IoSakurasouControllerVoPermissionVO.ts delete mode 100644 ui/packages/api-client/src/models/IoSakurasouControllerVoRoleVO.ts delete mode 100644 ui/packages/api-client/src/models/IoSakurasouControllerVoSettingVO.ts delete mode 100644 ui/packages/api-client/src/models/IoSakurasouControllerVoStrategyPageVO.ts delete mode 100644 ui/packages/api-client/src/models/IoSakurasouControllerVoStrategyVO.ts delete mode 100644 ui/packages/api-client/src/models/IoSakurasouModelGroupGroupConfig.ts delete mode 100644 ui/packages/api-client/src/models/IoSakurasouModelGroupImageType.ts delete mode 100644 ui/packages/api-client/src/models/IoSakurasouModelSettingStrategySetting.ts delete mode 100644 ui/packages/api-client/src/models/IoSakurasouModelSettingSystemStatus.ts delete mode 100644 ui/packages/api-client/src/models/IoSakurasouModelStrategyLocalStrategy.ts delete mode 100644 ui/packages/api-client/src/models/IoSakurasouModelStrategyStrategyType.ts delete mode 100644 ui/packages/api-client/src/models/KotlinxSerializationJsonJsonElement.ts delete mode 100644 ui/packages/api-client/src/models/KotlinxSerializationJsonJsonLiteral.ts delete mode 100644 ui/packages/api-client/src/models/KotlinxSerializationJsonJsonNull.ts delete mode 100644 ui/packages/api-client/src/models/KotlinxSerializationJsonJsonPrimitive.ts create mode 100644 ui/packages/api-client/src/models/LocalStrategy.ts create mode 100644 ui/packages/api-client/src/models/PageResultAlbumPageVO.ts create mode 100644 ui/packages/api-client/src/models/PageResultGroupPageVO.ts create mode 100644 ui/packages/api-client/src/models/PageResultImagePageVO.ts create mode 100644 ui/packages/api-client/src/models/PageResultStrategyPageVO.ts create mode 100644 ui/packages/api-client/src/models/PageResultUserManageVO.ts rename ui/packages/api-client/src/models/{IoSakurasouModelEntityPermission.ts => PermissionVO.ts} (53%) create mode 100644 ui/packages/api-client/src/models/RoleVO.ts rename ui/packages/api-client/src/models/{IoSakurasouModelStrategyS3Strategy.ts => S3Strategy.ts} (59%) rename ui/packages/api-client/src/models/{IoSakurasouModelSettingSettingConfig.ts => SettingConfigSealed.ts} (59%) create mode 100644 ui/packages/api-client/src/models/SettingVO.ts rename ui/packages/api-client/src/models/{IoSakurasouControllerRequestSiteInitRequest.ts => SiteInitRequest.ts} (64%) rename ui/packages/api-client/src/models/{IoSakurasouModelSettingSiteSetting.ts => SiteSetting.ts} (67%) create mode 100644 ui/packages/api-client/src/models/SiteSettingPatchRequest.ts rename ui/packages/api-client/src/models/{IoSakurasouModelStrategyStrategyConfig.ts => StrategyConfigSealed.ts} (51%) create mode 100644 ui/packages/api-client/src/models/StrategyInsertRequest.ts create mode 100644 ui/packages/api-client/src/models/StrategyInsertRequestConfig.ts create mode 100644 ui/packages/api-client/src/models/StrategyPageVO.ts create mode 100644 ui/packages/api-client/src/models/StrategyPatchRequest.ts create mode 100644 ui/packages/api-client/src/models/StrategyPatchRequestConfig.ts create mode 100644 ui/packages/api-client/src/models/StrategyRequestLocalStrategyConfig.ts create mode 100644 ui/packages/api-client/src/models/StrategyRequestS3StrategyConfig.ts create mode 100644 ui/packages/api-client/src/models/StrategySettingPatchRequest.ts create mode 100644 ui/packages/api-client/src/models/StrategyTypeEnum.ts create mode 100644 ui/packages/api-client/src/models/StrategyVO.ts rename ui/packages/api-client/src/models/{IoSakurasouModelSettingSystemSetting.ts => SystemSetting.ts} (59%) create mode 100644 ui/packages/api-client/src/models/SystemStatus.ts rename ui/packages/api-client/src/models/{IoSakurasouControllerRequestUserInsertRequest.ts => UserInsertRequest.ts} (54%) rename ui/packages/api-client/src/models/{IoSakurasouControllerRequestUserLoginRequest.ts => UserLoginRequest.ts} (51%) rename ui/packages/api-client/src/models/{IoSakurasouControllerRequestUserManageInsertRequest.ts => UserManageInsertRequest.ts} (58%) create mode 100644 ui/packages/api-client/src/models/UserManagePatchRequest.ts rename ui/packages/api-client/src/models/{IoSakurasouControllerVoUserPageVO.ts => UserManageVO.ts} (70%) create mode 100644 ui/packages/api-client/src/models/UserSelfPatchRequest.ts rename ui/packages/api-client/src/models/{IoSakurasouControllerVoUserVO.ts => UserVO.ts} (72%) diff --git a/ui/packages/api-client/src/apis/AlbumApi.ts b/ui/packages/api-client/src/apis/AlbumApi.ts index 8711699a..74ef76a5 100644 --- a/ui/packages/api-client/src/apis/AlbumApi.ts +++ b/ui/packages/api-client/src/apis/AlbumApi.ts @@ -15,29 +15,29 @@ import * as runtime from '../runtime'; import type { - IoSakurasouControllerRequestAlbumManageInsertRequest, - IoSakurasouControllerRequestAlbumManagePatchRequest, - IoSakurasouControllerRequestAlbumSelfInsertRequest, - IoSakurasouControllerRequestAlbumSelfPatchRequest, - IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoAlbumVO, - IoSakurasouControllerVoCommonResponseKotlinUnit, - IoSakurasouControllerVoPageResultIoSakurasouControllerVoAlbumPageVO, + AlbumManageInsertRequest, + AlbumManagePatchRequest, + AlbumSelfInsertRequest, + AlbumSelfPatchRequest, + CommonResponseAlbumVO, + CommonResponseKotlinUnit, + CommonResponsePageResultAlbumPageVO, } from '../models/index'; import { - IoSakurasouControllerRequestAlbumManageInsertRequestFromJSON, - IoSakurasouControllerRequestAlbumManageInsertRequestToJSON, - IoSakurasouControllerRequestAlbumManagePatchRequestFromJSON, - IoSakurasouControllerRequestAlbumManagePatchRequestToJSON, - IoSakurasouControllerRequestAlbumSelfInsertRequestFromJSON, - IoSakurasouControllerRequestAlbumSelfInsertRequestToJSON, - IoSakurasouControllerRequestAlbumSelfPatchRequestFromJSON, - IoSakurasouControllerRequestAlbumSelfPatchRequestToJSON, - IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoAlbumVOFromJSON, - IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoAlbumVOToJSON, - IoSakurasouControllerVoCommonResponseKotlinUnitFromJSON, - IoSakurasouControllerVoCommonResponseKotlinUnitToJSON, - IoSakurasouControllerVoPageResultIoSakurasouControllerVoAlbumPageVOFromJSON, - IoSakurasouControllerVoPageResultIoSakurasouControllerVoAlbumPageVOToJSON, + AlbumManageInsertRequestFromJSON, + AlbumManageInsertRequestToJSON, + AlbumManagePatchRequestFromJSON, + AlbumManagePatchRequestToJSON, + AlbumSelfInsertRequestFromJSON, + AlbumSelfInsertRequestToJSON, + AlbumSelfPatchRequestFromJSON, + AlbumSelfPatchRequestToJSON, + CommonResponseAlbumVOFromJSON, + CommonResponseAlbumVOToJSON, + CommonResponseKotlinUnitFromJSON, + CommonResponseKotlinUnitToJSON, + CommonResponsePageResultAlbumPageVOFromJSON, + CommonResponsePageResultAlbumPageVOToJSON, } from '../models/index'; export interface ApiAlbumAlbumIdDeleteRequest { @@ -50,7 +50,7 @@ export interface ApiAlbumAlbumIdGetRequest { export interface ApiAlbumAlbumIdPatchRequest { albumId: number; - ioSakurasouControllerRequestAlbumSelfPatchRequest: IoSakurasouControllerRequestAlbumSelfPatchRequest; + albumSelfPatchRequest: AlbumSelfPatchRequest; } export interface ApiAlbumManageAlbumIdDeleteRequest { @@ -63,7 +63,7 @@ export interface ApiAlbumManageAlbumIdGetRequest { export interface ApiAlbumManageAlbumIdPatchRequest { albumId: number; - ioSakurasouControllerRequestAlbumManagePatchRequest: IoSakurasouControllerRequestAlbumManagePatchRequest; + albumManagePatchRequest: AlbumManagePatchRequest; } export interface ApiAlbumManagePageGetRequest { @@ -74,7 +74,7 @@ export interface ApiAlbumManagePageGetRequest { } export interface ApiAlbumManagePostRequest { - ioSakurasouControllerRequestAlbumManageInsertRequest: IoSakurasouControllerRequestAlbumManageInsertRequest; + albumManageInsertRequest: AlbumManageInsertRequest; } export interface ApiAlbumPageGetRequest { @@ -85,7 +85,7 @@ export interface ApiAlbumPageGetRequest { } export interface ApiAlbumPostRequest { - ioSakurasouControllerRequestAlbumSelfInsertRequest: IoSakurasouControllerRequestAlbumSelfInsertRequest; + albumSelfInsertRequest: AlbumSelfInsertRequest; } /** @@ -95,7 +95,7 @@ export class AlbumApi extends runtime.BaseAPI { /** */ - async apiAlbumAlbumIdDeleteRaw(requestParameters: ApiAlbumAlbumIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + async apiAlbumAlbumIdDeleteRaw(requestParameters: ApiAlbumAlbumIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { if (requestParameters['albumId'] == null) { throw new runtime.RequiredError( 'albumId', @@ -122,19 +122,19 @@ export class AlbumApi extends runtime.BaseAPI { query: queryParameters, }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => IoSakurasouControllerVoCommonResponseKotlinUnitFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => CommonResponseKotlinUnitFromJSON(jsonValue)); } /** */ - async apiAlbumAlbumIdDelete(requestParameters: ApiAlbumAlbumIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiAlbumAlbumIdDelete(requestParameters: ApiAlbumAlbumIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.apiAlbumAlbumIdDeleteRaw(requestParameters, initOverrides); return await response.value(); } /** */ - async apiAlbumAlbumIdGetRaw(requestParameters: ApiAlbumAlbumIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + async apiAlbumAlbumIdGetRaw(requestParameters: ApiAlbumAlbumIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { if (requestParameters['albumId'] == null) { throw new runtime.RequiredError( 'albumId', @@ -161,19 +161,19 @@ export class AlbumApi extends runtime.BaseAPI { query: queryParameters, }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoAlbumVOFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => CommonResponseAlbumVOFromJSON(jsonValue)); } /** */ - async apiAlbumAlbumIdGet(requestParameters: ApiAlbumAlbumIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiAlbumAlbumIdGet(requestParameters: ApiAlbumAlbumIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.apiAlbumAlbumIdGetRaw(requestParameters, initOverrides); return await response.value(); } /** */ - async apiAlbumAlbumIdPatchRaw(requestParameters: ApiAlbumAlbumIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + async apiAlbumAlbumIdPatchRaw(requestParameters: ApiAlbumAlbumIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { if (requestParameters['albumId'] == null) { throw new runtime.RequiredError( 'albumId', @@ -181,10 +181,10 @@ export class AlbumApi extends runtime.BaseAPI { ); } - if (requestParameters['ioSakurasouControllerRequestAlbumSelfPatchRequest'] == null) { + if (requestParameters['albumSelfPatchRequest'] == null) { throw new runtime.RequiredError( - 'ioSakurasouControllerRequestAlbumSelfPatchRequest', - 'Required parameter "ioSakurasouControllerRequestAlbumSelfPatchRequest" was null or undefined when calling apiAlbumAlbumIdPatch().' + 'albumSelfPatchRequest', + 'Required parameter "albumSelfPatchRequest" was null or undefined when calling apiAlbumAlbumIdPatch().' ); } @@ -207,22 +207,22 @@ export class AlbumApi extends runtime.BaseAPI { method: 'PATCH', headers: headerParameters, query: queryParameters, - body: IoSakurasouControllerRequestAlbumSelfPatchRequestToJSON(requestParameters['ioSakurasouControllerRequestAlbumSelfPatchRequest']), + body: AlbumSelfPatchRequestToJSON(requestParameters['albumSelfPatchRequest']), }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => IoSakurasouControllerVoCommonResponseKotlinUnitFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => CommonResponseKotlinUnitFromJSON(jsonValue)); } /** */ - async apiAlbumAlbumIdPatch(requestParameters: ApiAlbumAlbumIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiAlbumAlbumIdPatch(requestParameters: ApiAlbumAlbumIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.apiAlbumAlbumIdPatchRaw(requestParameters, initOverrides); return await response.value(); } /** */ - async apiAlbumManageAlbumIdDeleteRaw(requestParameters: ApiAlbumManageAlbumIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + async apiAlbumManageAlbumIdDeleteRaw(requestParameters: ApiAlbumManageAlbumIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { if (requestParameters['albumId'] == null) { throw new runtime.RequiredError( 'albumId', @@ -249,19 +249,19 @@ export class AlbumApi extends runtime.BaseAPI { query: queryParameters, }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => IoSakurasouControllerVoCommonResponseKotlinUnitFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => CommonResponseKotlinUnitFromJSON(jsonValue)); } /** */ - async apiAlbumManageAlbumIdDelete(requestParameters: ApiAlbumManageAlbumIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiAlbumManageAlbumIdDelete(requestParameters: ApiAlbumManageAlbumIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.apiAlbumManageAlbumIdDeleteRaw(requestParameters, initOverrides); return await response.value(); } /** */ - async apiAlbumManageAlbumIdGetRaw(requestParameters: ApiAlbumManageAlbumIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + async apiAlbumManageAlbumIdGetRaw(requestParameters: ApiAlbumManageAlbumIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { if (requestParameters['albumId'] == null) { throw new runtime.RequiredError( 'albumId', @@ -288,19 +288,19 @@ export class AlbumApi extends runtime.BaseAPI { query: queryParameters, }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoAlbumVOFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => CommonResponseAlbumVOFromJSON(jsonValue)); } /** */ - async apiAlbumManageAlbumIdGet(requestParameters: ApiAlbumManageAlbumIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiAlbumManageAlbumIdGet(requestParameters: ApiAlbumManageAlbumIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.apiAlbumManageAlbumIdGetRaw(requestParameters, initOverrides); return await response.value(); } /** */ - async apiAlbumManageAlbumIdPatchRaw(requestParameters: ApiAlbumManageAlbumIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + async apiAlbumManageAlbumIdPatchRaw(requestParameters: ApiAlbumManageAlbumIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { if (requestParameters['albumId'] == null) { throw new runtime.RequiredError( 'albumId', @@ -308,10 +308,10 @@ export class AlbumApi extends runtime.BaseAPI { ); } - if (requestParameters['ioSakurasouControllerRequestAlbumManagePatchRequest'] == null) { + if (requestParameters['albumManagePatchRequest'] == null) { throw new runtime.RequiredError( - 'ioSakurasouControllerRequestAlbumManagePatchRequest', - 'Required parameter "ioSakurasouControllerRequestAlbumManagePatchRequest" was null or undefined when calling apiAlbumManageAlbumIdPatch().' + 'albumManagePatchRequest', + 'Required parameter "albumManagePatchRequest" was null or undefined when calling apiAlbumManageAlbumIdPatch().' ); } @@ -334,22 +334,22 @@ export class AlbumApi extends runtime.BaseAPI { method: 'PATCH', headers: headerParameters, query: queryParameters, - body: IoSakurasouControllerRequestAlbumManagePatchRequestToJSON(requestParameters['ioSakurasouControllerRequestAlbumManagePatchRequest']), + body: AlbumManagePatchRequestToJSON(requestParameters['albumManagePatchRequest']), }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => IoSakurasouControllerVoCommonResponseKotlinUnitFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => CommonResponseKotlinUnitFromJSON(jsonValue)); } /** */ - async apiAlbumManageAlbumIdPatch(requestParameters: ApiAlbumManageAlbumIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiAlbumManageAlbumIdPatch(requestParameters: ApiAlbumManageAlbumIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.apiAlbumManageAlbumIdPatchRaw(requestParameters, initOverrides); return await response.value(); } /** */ - async apiAlbumManagePageGetRaw(requestParameters: ApiAlbumManagePageGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + async apiAlbumManagePageGetRaw(requestParameters: ApiAlbumManagePageGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { if (requestParameters['page'] == null) { throw new runtime.RequiredError( 'page', @@ -399,23 +399,23 @@ export class AlbumApi extends runtime.BaseAPI { query: queryParameters, }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => IoSakurasouControllerVoPageResultIoSakurasouControllerVoAlbumPageVOFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => CommonResponsePageResultAlbumPageVOFromJSON(jsonValue)); } /** */ - async apiAlbumManagePageGet(requestParameters: ApiAlbumManagePageGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiAlbumManagePageGet(requestParameters: ApiAlbumManagePageGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.apiAlbumManagePageGetRaw(requestParameters, initOverrides); return await response.value(); } /** */ - async apiAlbumManagePostRaw(requestParameters: ApiAlbumManagePostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { - if (requestParameters['ioSakurasouControllerRequestAlbumManageInsertRequest'] == null) { + async apiAlbumManagePostRaw(requestParameters: ApiAlbumManagePostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + if (requestParameters['albumManageInsertRequest'] == null) { throw new runtime.RequiredError( - 'ioSakurasouControllerRequestAlbumManageInsertRequest', - 'Required parameter "ioSakurasouControllerRequestAlbumManageInsertRequest" was null or undefined when calling apiAlbumManagePost().' + 'albumManageInsertRequest', + 'Required parameter "albumManageInsertRequest" was null or undefined when calling apiAlbumManagePost().' ); } @@ -438,22 +438,22 @@ export class AlbumApi extends runtime.BaseAPI { method: 'POST', headers: headerParameters, query: queryParameters, - body: IoSakurasouControllerRequestAlbumManageInsertRequestToJSON(requestParameters['ioSakurasouControllerRequestAlbumManageInsertRequest']), + body: AlbumManageInsertRequestToJSON(requestParameters['albumManageInsertRequest']), }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => IoSakurasouControllerVoCommonResponseKotlinUnitFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => CommonResponseKotlinUnitFromJSON(jsonValue)); } /** */ - async apiAlbumManagePost(requestParameters: ApiAlbumManagePostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiAlbumManagePost(requestParameters: ApiAlbumManagePostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.apiAlbumManagePostRaw(requestParameters, initOverrides); return await response.value(); } /** */ - async apiAlbumPageGetRaw(requestParameters: ApiAlbumPageGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + async apiAlbumPageGetRaw(requestParameters: ApiAlbumPageGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { if (requestParameters['page'] == null) { throw new runtime.RequiredError( 'page', @@ -503,23 +503,23 @@ export class AlbumApi extends runtime.BaseAPI { query: queryParameters, }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => IoSakurasouControllerVoPageResultIoSakurasouControllerVoAlbumPageVOFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => CommonResponsePageResultAlbumPageVOFromJSON(jsonValue)); } /** */ - async apiAlbumPageGet(requestParameters: ApiAlbumPageGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiAlbumPageGet(requestParameters: ApiAlbumPageGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.apiAlbumPageGetRaw(requestParameters, initOverrides); return await response.value(); } /** */ - async apiAlbumPostRaw(requestParameters: ApiAlbumPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { - if (requestParameters['ioSakurasouControllerRequestAlbumSelfInsertRequest'] == null) { + async apiAlbumPostRaw(requestParameters: ApiAlbumPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + if (requestParameters['albumSelfInsertRequest'] == null) { throw new runtime.RequiredError( - 'ioSakurasouControllerRequestAlbumSelfInsertRequest', - 'Required parameter "ioSakurasouControllerRequestAlbumSelfInsertRequest" was null or undefined when calling apiAlbumPost().' + 'albumSelfInsertRequest', + 'Required parameter "albumSelfInsertRequest" was null or undefined when calling apiAlbumPost().' ); } @@ -542,15 +542,15 @@ export class AlbumApi extends runtime.BaseAPI { method: 'POST', headers: headerParameters, query: queryParameters, - body: IoSakurasouControllerRequestAlbumSelfInsertRequestToJSON(requestParameters['ioSakurasouControllerRequestAlbumSelfInsertRequest']), + body: AlbumSelfInsertRequestToJSON(requestParameters['albumSelfInsertRequest']), }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => IoSakurasouControllerVoCommonResponseKotlinUnitFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => CommonResponseKotlinUnitFromJSON(jsonValue)); } /** */ - async apiAlbumPost(requestParameters: ApiAlbumPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiAlbumPost(requestParameters: ApiAlbumPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.apiAlbumPostRaw(requestParameters, initOverrides); return await response.value(); } diff --git a/ui/packages/api-client/src/apis/AuthApi.ts b/ui/packages/api-client/src/apis/AuthApi.ts index ec94fd8e..cc70eb0f 100644 --- a/ui/packages/api-client/src/apis/AuthApi.ts +++ b/ui/packages/api-client/src/apis/AuthApi.ts @@ -15,22 +15,22 @@ import * as runtime from '../runtime'; import type { - IoSakurasouControllerRequestUserInsertRequest, - IoSakurasouControllerRequestUserLoginRequest, + UserInsertRequest, + UserLoginRequest, } from '../models/index'; import { - IoSakurasouControllerRequestUserInsertRequestFromJSON, - IoSakurasouControllerRequestUserInsertRequestToJSON, - IoSakurasouControllerRequestUserLoginRequestFromJSON, - IoSakurasouControllerRequestUserLoginRequestToJSON, + UserInsertRequestFromJSON, + UserInsertRequestToJSON, + UserLoginRequestFromJSON, + UserLoginRequestToJSON, } from '../models/index'; export interface ApiUserLoginPostRequest { - ioSakurasouControllerRequestUserLoginRequest: IoSakurasouControllerRequestUserLoginRequest; + userLoginRequest: UserLoginRequest; } export interface ApiUserSignupPostRequest { - ioSakurasouControllerRequestUserInsertRequest: IoSakurasouControllerRequestUserInsertRequest; + userInsertRequest: UserInsertRequest; } /** @@ -41,10 +41,10 @@ export class AuthApi extends runtime.BaseAPI { /** */ async apiUserLoginPostRaw(requestParameters: ApiUserLoginPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { - if (requestParameters['ioSakurasouControllerRequestUserLoginRequest'] == null) { + if (requestParameters['userLoginRequest'] == null) { throw new runtime.RequiredError( - 'ioSakurasouControllerRequestUserLoginRequest', - 'Required parameter "ioSakurasouControllerRequestUserLoginRequest" was null or undefined when calling apiUserLoginPost().' + 'userLoginRequest', + 'Required parameter "userLoginRequest" was null or undefined when calling apiUserLoginPost().' ); } @@ -59,7 +59,7 @@ export class AuthApi extends runtime.BaseAPI { method: 'POST', headers: headerParameters, query: queryParameters, - body: IoSakurasouControllerRequestUserLoginRequestToJSON(requestParameters['ioSakurasouControllerRequestUserLoginRequest']), + body: UserLoginRequestToJSON(requestParameters['userLoginRequest']), }, initOverrides); return new runtime.VoidApiResponse(response); @@ -74,10 +74,10 @@ export class AuthApi extends runtime.BaseAPI { /** */ async apiUserSignupPostRaw(requestParameters: ApiUserSignupPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { - if (requestParameters['ioSakurasouControllerRequestUserInsertRequest'] == null) { + if (requestParameters['userInsertRequest'] == null) { throw new runtime.RequiredError( - 'ioSakurasouControllerRequestUserInsertRequest', - 'Required parameter "ioSakurasouControllerRequestUserInsertRequest" was null or undefined when calling apiUserSignupPost().' + 'userInsertRequest', + 'Required parameter "userInsertRequest" was null or undefined when calling apiUserSignupPost().' ); } @@ -92,7 +92,7 @@ export class AuthApi extends runtime.BaseAPI { method: 'POST', headers: headerParameters, query: queryParameters, - body: IoSakurasouControllerRequestUserInsertRequestToJSON(requestParameters['ioSakurasouControllerRequestUserInsertRequest']), + body: UserInsertRequestToJSON(requestParameters['userInsertRequest']), }, initOverrides); return new runtime.VoidApiResponse(response); diff --git a/ui/packages/api-client/src/apis/DefaultApi.ts b/ui/packages/api-client/src/apis/DefaultApi.ts index 12693c0f..4c56d88e 100644 --- a/ui/packages/api-client/src/apis/DefaultApi.ts +++ b/ui/packages/api-client/src/apis/DefaultApi.ts @@ -15,23 +15,23 @@ import * as runtime from '../runtime'; import type { - IoSakurasouControllerRequestSiteInitRequest, + SiteInitRequest, } from '../models/index'; import { - IoSakurasouControllerRequestSiteInitRequestFromJSON, - IoSakurasouControllerRequestSiteInitRequestToJSON, + SiteInitRequestFromJSON, + SiteInitRequestToJSON, } from '../models/index'; -export interface ApiComUcasoftKtorSimpleCacheCacheOutputSelector21a9a705RandomGetRequest { - id?: string; +export interface ApiComUcasoftKtorSimpleCacheCacheOutputSelector250b5e5bSImageUniqueIdGetRequest { + imageUniqueId: string; } -export interface ApiComUcasoftKtorSimpleCacheCacheOutputSelector4a481728SImageUniqueIdGetRequest { - imageUniqueId: string; +export interface ApiComUcasoftKtorSimpleCacheCacheOutputSelector343fddd9RandomGetRequest { + id?: string; } export interface ApiSiteInitPostRequest { - ioSakurasouControllerRequestSiteInitRequest: IoSakurasouControllerRequestSiteInitRequest; + siteInitRequest: SiteInitRequest; } /** @@ -40,19 +40,21 @@ export interface ApiSiteInitPostRequest { export class DefaultApi extends runtime.BaseAPI { /** - * return random image if setting allow */ - async apiComUcasoftKtorSimpleCacheCacheOutputSelector21a9a705RandomGetRaw(requestParameters: ApiComUcasoftKtorSimpleCacheCacheOutputSelector21a9a705RandomGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { - const queryParameters: any = {}; - - if (requestParameters['id'] != null) { - queryParameters['id'] = requestParameters['id']; + 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@21a9a705/random`, + path: `/api/com.ucasoft.ktor.simpleCache.CacheOutputSelector@250b5e5b/s/{imageUniqueId}`.replace(`{${"imageUniqueId"}}`, encodeURIComponent(String(requestParameters['imageUniqueId']))), method: 'GET', headers: headerParameters, query: queryParameters, @@ -62,28 +64,25 @@ export class DefaultApi extends runtime.BaseAPI { } /** - * return random image if setting allow */ - async apiComUcasoftKtorSimpleCacheCacheOutputSelector21a9a705RandomGet(requestParameters: ApiComUcasoftKtorSimpleCacheCacheOutputSelector21a9a705RandomGetRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { - await this.apiComUcasoftKtorSimpleCacheCacheOutputSelector21a9a705RandomGetRaw(requestParameters, initOverrides); + async apiComUcasoftKtorSimpleCacheCacheOutputSelector250b5e5bSImageUniqueIdGet(requestParameters: ApiComUcasoftKtorSimpleCacheCacheOutputSelector250b5e5bSImageUniqueIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + await this.apiComUcasoftKtorSimpleCacheCacheOutputSelector250b5e5bSImageUniqueIdGetRaw(requestParameters, initOverrides); } /** + * return random image if setting allow */ - async apiComUcasoftKtorSimpleCacheCacheOutputSelector4a481728SImageUniqueIdGetRaw(requestParameters: ApiComUcasoftKtorSimpleCacheCacheOutputSelector4a481728SImageUniqueIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { - if (requestParameters['imageUniqueId'] == null) { - throw new runtime.RequiredError( - 'imageUniqueId', - 'Required parameter "imageUniqueId" was null or undefined when calling apiComUcasoftKtorSimpleCacheCacheOutputSelector4a481728SImageUniqueIdGet().' - ); - } - + 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@4a481728/s/{imageUniqueId}`.replace(`{${"imageUniqueId"}}`, encodeURIComponent(String(requestParameters['imageUniqueId']))), + path: `/api/com.ucasoft.ktor.simpleCache.CacheOutputSelector@343fddd9/random`, method: 'GET', headers: headerParameters, query: queryParameters, @@ -93,18 +92,19 @@ export class DefaultApi extends runtime.BaseAPI { } /** + * return random image if setting allow */ - async apiComUcasoftKtorSimpleCacheCacheOutputSelector4a481728SImageUniqueIdGet(requestParameters: ApiComUcasoftKtorSimpleCacheCacheOutputSelector4a481728SImageUniqueIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { - await this.apiComUcasoftKtorSimpleCacheCacheOutputSelector4a481728SImageUniqueIdGetRaw(requestParameters, initOverrides); + async apiComUcasoftKtorSimpleCacheCacheOutputSelector343fddd9RandomGet(requestParameters: ApiComUcasoftKtorSimpleCacheCacheOutputSelector343fddd9RandomGetRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + await this.apiComUcasoftKtorSimpleCacheCacheOutputSelector343fddd9RandomGetRaw(requestParameters, initOverrides); } /** */ async apiSiteInitPostRaw(requestParameters: ApiSiteInitPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { - if (requestParameters['ioSakurasouControllerRequestSiteInitRequest'] == null) { + if (requestParameters['siteInitRequest'] == null) { throw new runtime.RequiredError( - 'ioSakurasouControllerRequestSiteInitRequest', - 'Required parameter "ioSakurasouControllerRequestSiteInitRequest" was null or undefined when calling apiSiteInitPost().' + 'siteInitRequest', + 'Required parameter "siteInitRequest" was null or undefined when calling apiSiteInitPost().' ); } @@ -119,7 +119,7 @@ export class DefaultApi extends runtime.BaseAPI { method: 'POST', headers: headerParameters, query: queryParameters, - body: IoSakurasouControllerRequestSiteInitRequestToJSON(requestParameters['ioSakurasouControllerRequestSiteInitRequest']), + body: SiteInitRequestToJSON(requestParameters['siteInitRequest']), }, initOverrides); return new runtime.VoidApiResponse(response); diff --git a/ui/packages/api-client/src/apis/GroupApi.ts b/ui/packages/api-client/src/apis/GroupApi.ts index 3962d330..a179cb32 100644 --- a/ui/packages/api-client/src/apis/GroupApi.ts +++ b/ui/packages/api-client/src/apis/GroupApi.ts @@ -15,23 +15,23 @@ import * as runtime from '../runtime'; import type { - IoSakurasouControllerRequestGroupInsertRequest, - IoSakurasouControllerRequestGroupPatchRequest, - IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoGroupVO, - IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVO, - IoSakurasouControllerVoCommonResponseKotlinUnit, + CommonResponseGroupVO, + CommonResponseKotlinUnit, + CommonResponsePageResultGroupPageVO, + GroupInsertRequest, + GroupPatchRequest, } from '../models/index'; import { - IoSakurasouControllerRequestGroupInsertRequestFromJSON, - IoSakurasouControllerRequestGroupInsertRequestToJSON, - IoSakurasouControllerRequestGroupPatchRequestFromJSON, - IoSakurasouControllerRequestGroupPatchRequestToJSON, - IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoGroupVOFromJSON, - IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoGroupVOToJSON, - IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVOFromJSON, - IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVOToJSON, - IoSakurasouControllerVoCommonResponseKotlinUnitFromJSON, - IoSakurasouControllerVoCommonResponseKotlinUnitToJSON, + CommonResponseGroupVOFromJSON, + CommonResponseGroupVOToJSON, + CommonResponseKotlinUnitFromJSON, + CommonResponseKotlinUnitToJSON, + CommonResponsePageResultGroupPageVOFromJSON, + CommonResponsePageResultGroupPageVOToJSON, + GroupInsertRequestFromJSON, + GroupInsertRequestToJSON, + GroupPatchRequestFromJSON, + GroupPatchRequestToJSON, } from '../models/index'; export interface ApiGroupIdDeleteRequest { @@ -44,7 +44,7 @@ export interface ApiGroupIdGetRequest { export interface ApiGroupIdPatchRequest { id: number; - ioSakurasouControllerRequestGroupPatchRequest: IoSakurasouControllerRequestGroupPatchRequest; + groupPatchRequest: GroupPatchRequest; } export interface ApiGroupPageGetRequest { @@ -55,7 +55,7 @@ export interface ApiGroupPageGetRequest { } export interface ApiGroupPostRequest { - ioSakurasouControllerRequestGroupInsertRequest: IoSakurasouControllerRequestGroupInsertRequest; + groupInsertRequest: GroupInsertRequest; } /** @@ -65,7 +65,7 @@ export class GroupApi extends runtime.BaseAPI { /** */ - async apiGroupIdDeleteRaw(requestParameters: ApiGroupIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + async apiGroupIdDeleteRaw(requestParameters: ApiGroupIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { if (requestParameters['id'] == null) { throw new runtime.RequiredError( 'id', @@ -92,19 +92,19 @@ export class GroupApi extends runtime.BaseAPI { query: queryParameters, }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => IoSakurasouControllerVoCommonResponseKotlinUnitFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => CommonResponseKotlinUnitFromJSON(jsonValue)); } /** */ - async apiGroupIdDelete(requestParameters: ApiGroupIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiGroupIdDelete(requestParameters: ApiGroupIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.apiGroupIdDeleteRaw(requestParameters, initOverrides); return await response.value(); } /** */ - async apiGroupIdGetRaw(requestParameters: ApiGroupIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + async apiGroupIdGetRaw(requestParameters: ApiGroupIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { if (requestParameters['id'] == null) { throw new runtime.RequiredError( 'id', @@ -131,19 +131,19 @@ export class GroupApi extends runtime.BaseAPI { query: queryParameters, }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoGroupVOFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => CommonResponseGroupVOFromJSON(jsonValue)); } /** */ - async apiGroupIdGet(requestParameters: ApiGroupIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiGroupIdGet(requestParameters: ApiGroupIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.apiGroupIdGetRaw(requestParameters, initOverrides); return await response.value(); } /** */ - async apiGroupIdPatchRaw(requestParameters: ApiGroupIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + async apiGroupIdPatchRaw(requestParameters: ApiGroupIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { if (requestParameters['id'] == null) { throw new runtime.RequiredError( 'id', @@ -151,10 +151,10 @@ export class GroupApi extends runtime.BaseAPI { ); } - if (requestParameters['ioSakurasouControllerRequestGroupPatchRequest'] == null) { + if (requestParameters['groupPatchRequest'] == null) { throw new runtime.RequiredError( - 'ioSakurasouControllerRequestGroupPatchRequest', - 'Required parameter "ioSakurasouControllerRequestGroupPatchRequest" was null or undefined when calling apiGroupIdPatch().' + 'groupPatchRequest', + 'Required parameter "groupPatchRequest" was null or undefined when calling apiGroupIdPatch().' ); } @@ -177,22 +177,22 @@ export class GroupApi extends runtime.BaseAPI { method: 'PATCH', headers: headerParameters, query: queryParameters, - body: IoSakurasouControllerRequestGroupPatchRequestToJSON(requestParameters['ioSakurasouControllerRequestGroupPatchRequest']), + body: GroupPatchRequestToJSON(requestParameters['groupPatchRequest']), }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => IoSakurasouControllerVoCommonResponseKotlinUnitFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => CommonResponseKotlinUnitFromJSON(jsonValue)); } /** */ - async apiGroupIdPatch(requestParameters: ApiGroupIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiGroupIdPatch(requestParameters: ApiGroupIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.apiGroupIdPatchRaw(requestParameters, initOverrides); return await response.value(); } /** */ - async apiGroupPageGetRaw(requestParameters: ApiGroupPageGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + async apiGroupPageGetRaw(requestParameters: ApiGroupPageGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { if (requestParameters['page'] == null) { throw new runtime.RequiredError( 'page', @@ -242,23 +242,23 @@ export class GroupApi extends runtime.BaseAPI { query: queryParameters, }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVOFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => CommonResponsePageResultGroupPageVOFromJSON(jsonValue)); } /** */ - async apiGroupPageGet(requestParameters: ApiGroupPageGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiGroupPageGet(requestParameters: ApiGroupPageGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.apiGroupPageGetRaw(requestParameters, initOverrides); return await response.value(); } /** */ - async apiGroupPostRaw(requestParameters: ApiGroupPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { - if (requestParameters['ioSakurasouControllerRequestGroupInsertRequest'] == null) { + async apiGroupPostRaw(requestParameters: ApiGroupPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + if (requestParameters['groupInsertRequest'] == null) { throw new runtime.RequiredError( - 'ioSakurasouControllerRequestGroupInsertRequest', - 'Required parameter "ioSakurasouControllerRequestGroupInsertRequest" was null or undefined when calling apiGroupPost().' + 'groupInsertRequest', + 'Required parameter "groupInsertRequest" was null or undefined when calling apiGroupPost().' ); } @@ -281,15 +281,15 @@ export class GroupApi extends runtime.BaseAPI { method: 'POST', headers: headerParameters, query: queryParameters, - body: IoSakurasouControllerRequestGroupInsertRequestToJSON(requestParameters['ioSakurasouControllerRequestGroupInsertRequest']), + body: GroupInsertRequestToJSON(requestParameters['groupInsertRequest']), }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => IoSakurasouControllerVoCommonResponseKotlinUnitFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => CommonResponseKotlinUnitFromJSON(jsonValue)); } /** */ - async apiGroupPost(requestParameters: ApiGroupPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiGroupPost(requestParameters: ApiGroupPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.apiGroupPostRaw(requestParameters, initOverrides); return await response.value(); } diff --git a/ui/packages/api-client/src/apis/ImageApi.ts b/ui/packages/api-client/src/apis/ImageApi.ts index 185a05be..e273ef64 100644 --- a/ui/packages/api-client/src/apis/ImageApi.ts +++ b/ui/packages/api-client/src/apis/ImageApi.ts @@ -15,35 +15,29 @@ import * as runtime from '../runtime'; import type { - ApiImageImageIdGet200Response, - IoSakurasouControllerRequestImageManagePatchRequest, - IoSakurasouControllerRequestImagePatchRequest, - IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageManageVO, - IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageVO, - IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVO, - IoSakurasouControllerVoCommonResponseKotlinString, - IoSakurasouControllerVoCommonResponseKotlinUnit, - IoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVO, + CommonResponseImageManageVO, + CommonResponseImageVO, + CommonResponseKotlinString, + CommonResponseKotlinUnit, + CommonResponsePageResultImagePageVO, + ImageInsertRequest, + ImageManagePatchRequest, } from '../models/index'; import { - ApiImageImageIdGet200ResponseFromJSON, - ApiImageImageIdGet200ResponseToJSON, - IoSakurasouControllerRequestImageManagePatchRequestFromJSON, - IoSakurasouControllerRequestImageManagePatchRequestToJSON, - IoSakurasouControllerRequestImagePatchRequestFromJSON, - IoSakurasouControllerRequestImagePatchRequestToJSON, - IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageManageVOFromJSON, - IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageManageVOToJSON, - IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageVOFromJSON, - IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageVOToJSON, - IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVOFromJSON, - IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVOToJSON, - IoSakurasouControllerVoCommonResponseKotlinStringFromJSON, - IoSakurasouControllerVoCommonResponseKotlinStringToJSON, - IoSakurasouControllerVoCommonResponseKotlinUnitFromJSON, - IoSakurasouControllerVoCommonResponseKotlinUnitToJSON, - IoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVOFromJSON, - IoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVOToJSON, + CommonResponseImageManageVOFromJSON, + CommonResponseImageManageVOToJSON, + CommonResponseImageVOFromJSON, + CommonResponseImageVOToJSON, + CommonResponseKotlinStringFromJSON, + CommonResponseKotlinStringToJSON, + CommonResponseKotlinUnitFromJSON, + CommonResponseKotlinUnitToJSON, + CommonResponsePageResultImagePageVOFromJSON, + CommonResponsePageResultImagePageVOToJSON, + ImageInsertRequestFromJSON, + ImageInsertRequestToJSON, + ImageManagePatchRequestFromJSON, + ImageManagePatchRequestToJSON, } from '../models/index'; export interface ApiImageImageIdDeleteRequest { @@ -60,7 +54,7 @@ export interface ApiImageImageIdInfoGetRequest { export interface ApiImageImageIdPatchRequest { imageId: number; - ioSakurasouControllerRequestImagePatchRequest: IoSakurasouControllerRequestImagePatchRequest; + imageInsertRequest: ImageInsertRequest; } export interface ApiImageImageIdThumbnailGetRequest { @@ -81,7 +75,7 @@ export interface ApiImageManageImageIdInfoGetRequest { export interface ApiImageManageImageIdPatchRequest { imageId: number; - ioSakurasouControllerRequestImageManagePatchRequest: IoSakurasouControllerRequestImageManagePatchRequest; + imageManagePatchRequest: ImageManagePatchRequest; } export interface ApiImageManageImageIdThumbnailGetRequest { @@ -109,7 +103,7 @@ export class ImageApi extends runtime.BaseAPI { /** */ - async apiImageImageIdDeleteRaw(requestParameters: ApiImageImageIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + async apiImageImageIdDeleteRaw(requestParameters: ApiImageImageIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { if (requestParameters['imageId'] == null) { throw new runtime.RequiredError( 'imageId', @@ -136,19 +130,19 @@ export class ImageApi extends runtime.BaseAPI { query: queryParameters, }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => IoSakurasouControllerVoCommonResponseKotlinUnitFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => CommonResponseKotlinUnitFromJSON(jsonValue)); } /** */ - async apiImageImageIdDelete(requestParameters: ApiImageImageIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiImageImageIdDelete(requestParameters: ApiImageImageIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.apiImageImageIdDeleteRaw(requestParameters, initOverrides); return await response.value(); } /** */ - async apiImageImageIdGetRaw(requestParameters: ApiImageImageIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + async apiImageImageIdGetRaw(requestParameters: ApiImageImageIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { if (requestParameters['imageId'] == null) { throw new runtime.RequiredError( 'imageId', @@ -175,19 +169,19 @@ export class ImageApi extends runtime.BaseAPI { query: queryParameters, }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => ApiImageImageIdGet200ResponseFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => FromJSON(jsonValue)); } /** */ - async apiImageImageIdGet(requestParameters: ApiImageImageIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiImageImageIdGet(requestParameters: ApiImageImageIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<> { const response = await this.apiImageImageIdGetRaw(requestParameters, initOverrides); return await response.value(); } /** */ - async apiImageImageIdInfoGetRaw(requestParameters: ApiImageImageIdInfoGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + async apiImageImageIdInfoGetRaw(requestParameters: ApiImageImageIdInfoGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { if (requestParameters['imageId'] == null) { throw new runtime.RequiredError( 'imageId', @@ -214,19 +208,19 @@ export class ImageApi extends runtime.BaseAPI { query: queryParameters, }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageVOFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => CommonResponseImageVOFromJSON(jsonValue)); } /** */ - async apiImageImageIdInfoGet(requestParameters: ApiImageImageIdInfoGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiImageImageIdInfoGet(requestParameters: ApiImageImageIdInfoGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.apiImageImageIdInfoGetRaw(requestParameters, initOverrides); return await response.value(); } /** */ - async apiImageImageIdPatchRaw(requestParameters: ApiImageImageIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + async apiImageImageIdPatchRaw(requestParameters: ApiImageImageIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { if (requestParameters['imageId'] == null) { throw new runtime.RequiredError( 'imageId', @@ -234,10 +228,10 @@ export class ImageApi extends runtime.BaseAPI { ); } - if (requestParameters['ioSakurasouControllerRequestImagePatchRequest'] == null) { + if (requestParameters['imageInsertRequest'] == null) { throw new runtime.RequiredError( - 'ioSakurasouControllerRequestImagePatchRequest', - 'Required parameter "ioSakurasouControllerRequestImagePatchRequest" was null or undefined when calling apiImageImageIdPatch().' + 'imageInsertRequest', + 'Required parameter "imageInsertRequest" was null or undefined when calling apiImageImageIdPatch().' ); } @@ -260,22 +254,22 @@ export class ImageApi extends runtime.BaseAPI { method: 'PATCH', headers: headerParameters, query: queryParameters, - body: IoSakurasouControllerRequestImagePatchRequestToJSON(requestParameters['ioSakurasouControllerRequestImagePatchRequest']), + body: ImageInsertRequestToJSON(requestParameters['imageInsertRequest']), }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => IoSakurasouControllerVoCommonResponseKotlinUnitFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => CommonResponseKotlinUnitFromJSON(jsonValue)); } /** */ - async apiImageImageIdPatch(requestParameters: ApiImageImageIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiImageImageIdPatch(requestParameters: ApiImageImageIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.apiImageImageIdPatchRaw(requestParameters, initOverrides); return await response.value(); } /** */ - async apiImageImageIdThumbnailGetRaw(requestParameters: ApiImageImageIdThumbnailGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + async apiImageImageIdThumbnailGetRaw(requestParameters: ApiImageImageIdThumbnailGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { if (requestParameters['imageId'] == null) { throw new runtime.RequiredError( 'imageId', @@ -302,19 +296,19 @@ export class ImageApi extends runtime.BaseAPI { query: queryParameters, }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => ApiImageImageIdGet200ResponseFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => FromJSON(jsonValue)); } /** */ - async apiImageImageIdThumbnailGet(requestParameters: ApiImageImageIdThumbnailGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiImageImageIdThumbnailGet(requestParameters: ApiImageImageIdThumbnailGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<> { const response = await this.apiImageImageIdThumbnailGetRaw(requestParameters, initOverrides); return await response.value(); } /** */ - async apiImageManageImageIdDeleteRaw(requestParameters: ApiImageManageImageIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + async apiImageManageImageIdDeleteRaw(requestParameters: ApiImageManageImageIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { if (requestParameters['imageId'] == null) { throw new runtime.RequiredError( 'imageId', @@ -341,19 +335,19 @@ export class ImageApi extends runtime.BaseAPI { query: queryParameters, }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => IoSakurasouControllerVoCommonResponseKotlinUnitFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => CommonResponseKotlinUnitFromJSON(jsonValue)); } /** */ - async apiImageManageImageIdDelete(requestParameters: ApiImageManageImageIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiImageManageImageIdDelete(requestParameters: ApiImageManageImageIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.apiImageManageImageIdDeleteRaw(requestParameters, initOverrides); return await response.value(); } /** */ - async apiImageManageImageIdGetRaw(requestParameters: ApiImageManageImageIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + async apiImageManageImageIdGetRaw(requestParameters: ApiImageManageImageIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { if (requestParameters['imageId'] == null) { throw new runtime.RequiredError( 'imageId', @@ -380,19 +374,19 @@ export class ImageApi extends runtime.BaseAPI { query: queryParameters, }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => ApiImageImageIdGet200ResponseFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => FromJSON(jsonValue)); } /** */ - async apiImageManageImageIdGet(requestParameters: ApiImageManageImageIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiImageManageImageIdGet(requestParameters: ApiImageManageImageIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<> { const response = await this.apiImageManageImageIdGetRaw(requestParameters, initOverrides); return await response.value(); } /** */ - async apiImageManageImageIdInfoGetRaw(requestParameters: ApiImageManageImageIdInfoGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + async apiImageManageImageIdInfoGetRaw(requestParameters: ApiImageManageImageIdInfoGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { if (requestParameters['imageId'] == null) { throw new runtime.RequiredError( 'imageId', @@ -419,19 +413,19 @@ export class ImageApi extends runtime.BaseAPI { query: queryParameters, }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageManageVOFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => CommonResponseImageManageVOFromJSON(jsonValue)); } /** */ - async apiImageManageImageIdInfoGet(requestParameters: ApiImageManageImageIdInfoGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiImageManageImageIdInfoGet(requestParameters: ApiImageManageImageIdInfoGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.apiImageManageImageIdInfoGetRaw(requestParameters, initOverrides); return await response.value(); } /** */ - async apiImageManageImageIdPatchRaw(requestParameters: ApiImageManageImageIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + async apiImageManageImageIdPatchRaw(requestParameters: ApiImageManageImageIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { if (requestParameters['imageId'] == null) { throw new runtime.RequiredError( 'imageId', @@ -439,10 +433,10 @@ export class ImageApi extends runtime.BaseAPI { ); } - if (requestParameters['ioSakurasouControllerRequestImageManagePatchRequest'] == null) { + if (requestParameters['imageManagePatchRequest'] == null) { throw new runtime.RequiredError( - 'ioSakurasouControllerRequestImageManagePatchRequest', - 'Required parameter "ioSakurasouControllerRequestImageManagePatchRequest" was null or undefined when calling apiImageManageImageIdPatch().' + 'imageManagePatchRequest', + 'Required parameter "imageManagePatchRequest" was null or undefined when calling apiImageManageImageIdPatch().' ); } @@ -465,22 +459,22 @@ export class ImageApi extends runtime.BaseAPI { method: 'PATCH', headers: headerParameters, query: queryParameters, - body: IoSakurasouControllerRequestImageManagePatchRequestToJSON(requestParameters['ioSakurasouControllerRequestImageManagePatchRequest']), + body: ImageManagePatchRequestToJSON(requestParameters['imageManagePatchRequest']), }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => IoSakurasouControllerVoCommonResponseKotlinUnitFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => CommonResponseKotlinUnitFromJSON(jsonValue)); } /** */ - async apiImageManageImageIdPatch(requestParameters: ApiImageManageImageIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiImageManageImageIdPatch(requestParameters: ApiImageManageImageIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.apiImageManageImageIdPatchRaw(requestParameters, initOverrides); return await response.value(); } /** */ - async apiImageManageImageIdThumbnailGetRaw(requestParameters: ApiImageManageImageIdThumbnailGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + async apiImageManageImageIdThumbnailGetRaw(requestParameters: ApiImageManageImageIdThumbnailGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { if (requestParameters['imageId'] == null) { throw new runtime.RequiredError( 'imageId', @@ -507,19 +501,19 @@ export class ImageApi extends runtime.BaseAPI { query: queryParameters, }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => ApiImageImageIdGet200ResponseFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => FromJSON(jsonValue)); } /** */ - async apiImageManageImageIdThumbnailGet(requestParameters: ApiImageManageImageIdThumbnailGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiImageManageImageIdThumbnailGet(requestParameters: ApiImageManageImageIdThumbnailGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<> { const response = await this.apiImageManageImageIdThumbnailGetRaw(requestParameters, initOverrides); return await response.value(); } /** */ - async apiImageManagePageGetRaw(requestParameters: ApiImageManagePageGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + async apiImageManagePageGetRaw(requestParameters: ApiImageManagePageGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { if (requestParameters['page'] == null) { throw new runtime.RequiredError( 'page', @@ -569,19 +563,19 @@ export class ImageApi extends runtime.BaseAPI { query: queryParameters, }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVOFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => CommonResponsePageResultImagePageVOFromJSON(jsonValue)); } /** */ - async apiImageManagePageGet(requestParameters: ApiImageManagePageGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiImageManagePageGet(requestParameters: ApiImageManagePageGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.apiImageManagePageGetRaw(requestParameters, initOverrides); return await response.value(); } /** */ - async apiImagePageGetRaw(requestParameters: ApiImagePageGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + async apiImagePageGetRaw(requestParameters: ApiImagePageGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { if (requestParameters['page'] == null) { throw new runtime.RequiredError( 'page', @@ -631,19 +625,19 @@ export class ImageApi extends runtime.BaseAPI { query: queryParameters, }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => IoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVOFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => CommonResponsePageResultImagePageVOFromJSON(jsonValue)); } /** */ - async apiImagePageGet(requestParameters: ApiImagePageGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiImagePageGet(requestParameters: ApiImagePageGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.apiImagePageGetRaw(requestParameters, initOverrides); return await response.value(); } /** */ - async apiImagePostRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + async apiImagePostRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { const queryParameters: any = {}; const headerParameters: runtime.HTTPHeaders = {}; @@ -663,12 +657,12 @@ export class ImageApi extends runtime.BaseAPI { query: queryParameters, }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => IoSakurasouControllerVoCommonResponseKotlinStringFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => CommonResponseKotlinStringFromJSON(jsonValue)); } /** */ - async apiImagePost(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiImagePost(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.apiImagePostRaw(initOverrides); return await response.value(); } diff --git a/ui/packages/api-client/src/apis/RoleApi.ts b/ui/packages/api-client/src/apis/RoleApi.ts index 5e75bf6d..a98f6d50 100644 --- a/ui/packages/api-client/src/apis/RoleApi.ts +++ b/ui/packages/api-client/src/apis/RoleApi.ts @@ -15,11 +15,11 @@ import * as runtime from '../runtime'; import type { - IoSakurasouControllerVoRoleVO, + CommonResponseKotlinCollectionsListRoleVO, } from '../models/index'; import { - IoSakurasouControllerVoRoleVOFromJSON, - IoSakurasouControllerVoRoleVOToJSON, + CommonResponseKotlinCollectionsListRoleVOFromJSON, + CommonResponseKotlinCollectionsListRoleVOToJSON, } from '../models/index'; /** @@ -29,7 +29,7 @@ export class RoleApi extends runtime.BaseAPI { /** */ - async apiRoleAllGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>> { + async apiRoleAllGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { const queryParameters: any = {}; const headerParameters: runtime.HTTPHeaders = {}; @@ -49,19 +49,19 @@ export class RoleApi extends runtime.BaseAPI { query: queryParameters, }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(IoSakurasouControllerVoRoleVOFromJSON)); + return new runtime.JSONApiResponse(response, (jsonValue) => CommonResponseKotlinCollectionsListRoleVOFromJSON(jsonValue)); } /** */ - async apiRoleAllGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + async apiRoleAllGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.apiRoleAllGetRaw(initOverrides); return await response.value(); } /** */ - async apiRoleSelfGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>> { + async apiRoleSelfGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { const queryParameters: any = {}; const headerParameters: runtime.HTTPHeaders = {}; @@ -81,12 +81,12 @@ export class RoleApi extends runtime.BaseAPI { query: queryParameters, }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(IoSakurasouControllerVoRoleVOFromJSON)); + return new runtime.JSONApiResponse(response, (jsonValue) => CommonResponseKotlinCollectionsListRoleVOFromJSON(jsonValue)); } /** */ - async apiRoleSelfGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + async apiRoleSelfGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.apiRoleSelfGetRaw(initOverrides); return await response.value(); } diff --git a/ui/packages/api-client/src/apis/SettingApi.ts b/ui/packages/api-client/src/apis/SettingApi.ts index acec19d4..7e4c8d1a 100644 --- a/ui/packages/api-client/src/apis/SettingApi.ts +++ b/ui/packages/api-client/src/apis/SettingApi.ts @@ -15,28 +15,28 @@ import * as runtime from '../runtime'; import type { - IoSakurasouControllerRequestSiteSettingPatchRequest, - IoSakurasouControllerRequestStrategySettingPatchRequest, - IoSakurasouControllerVoCommonResponseKotlinCollectionsMapKotlinStringIoSakurasouControllerVoSettingVO, - IoSakurasouControllerVoCommonResponseKotlinUnit, + CommonResponseKotlinCollectionsMapKotlinStringSettingVO, + CommonResponseKotlinUnit, + SiteSettingPatchRequest, + StrategySettingPatchRequest, } from '../models/index'; import { - IoSakurasouControllerRequestSiteSettingPatchRequestFromJSON, - IoSakurasouControllerRequestSiteSettingPatchRequestToJSON, - IoSakurasouControllerRequestStrategySettingPatchRequestFromJSON, - IoSakurasouControllerRequestStrategySettingPatchRequestToJSON, - IoSakurasouControllerVoCommonResponseKotlinCollectionsMapKotlinStringIoSakurasouControllerVoSettingVOFromJSON, - IoSakurasouControllerVoCommonResponseKotlinCollectionsMapKotlinStringIoSakurasouControllerVoSettingVOToJSON, - IoSakurasouControllerVoCommonResponseKotlinUnitFromJSON, - IoSakurasouControllerVoCommonResponseKotlinUnitToJSON, + CommonResponseKotlinCollectionsMapKotlinStringSettingVOFromJSON, + CommonResponseKotlinCollectionsMapKotlinStringSettingVOToJSON, + CommonResponseKotlinUnitFromJSON, + CommonResponseKotlinUnitToJSON, + SiteSettingPatchRequestFromJSON, + SiteSettingPatchRequestToJSON, + StrategySettingPatchRequestFromJSON, + StrategySettingPatchRequestToJSON, } from '../models/index'; export interface ApiSettingSitePatchRequest { - ioSakurasouControllerRequestSiteSettingPatchRequest: IoSakurasouControllerRequestSiteSettingPatchRequest; + siteSettingPatchRequest: SiteSettingPatchRequest; } export interface ApiSettingSystemPatchRequest { - ioSakurasouControllerRequestStrategySettingPatchRequest: IoSakurasouControllerRequestStrategySettingPatchRequest; + strategySettingPatchRequest: StrategySettingPatchRequest; } /** @@ -47,7 +47,7 @@ export class SettingApi extends runtime.BaseAPI { /** * get all settings */ - async apiSettingGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + async apiSettingGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { const queryParameters: any = {}; const headerParameters: runtime.HTTPHeaders = {}; @@ -67,13 +67,13 @@ export class SettingApi extends runtime.BaseAPI { query: queryParameters, }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => IoSakurasouControllerVoCommonResponseKotlinCollectionsMapKotlinStringIoSakurasouControllerVoSettingVOFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => CommonResponseKotlinCollectionsMapKotlinStringSettingVOFromJSON(jsonValue)); } /** * get all settings */ - async apiSettingGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiSettingGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.apiSettingGetRaw(initOverrides); return await response.value(); } @@ -81,11 +81,11 @@ export class SettingApi extends runtime.BaseAPI { /** * site setting */ - async apiSettingSitePatchRaw(requestParameters: ApiSettingSitePatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { - if (requestParameters['ioSakurasouControllerRequestSiteSettingPatchRequest'] == null) { + async apiSettingSitePatchRaw(requestParameters: ApiSettingSitePatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + if (requestParameters['siteSettingPatchRequest'] == null) { throw new runtime.RequiredError( - 'ioSakurasouControllerRequestSiteSettingPatchRequest', - 'Required parameter "ioSakurasouControllerRequestSiteSettingPatchRequest" was null or undefined when calling apiSettingSitePatch().' + 'siteSettingPatchRequest', + 'Required parameter "siteSettingPatchRequest" was null or undefined when calling apiSettingSitePatch().' ); } @@ -108,16 +108,16 @@ export class SettingApi extends runtime.BaseAPI { method: 'PATCH', headers: headerParameters, query: queryParameters, - body: IoSakurasouControllerRequestSiteSettingPatchRequestToJSON(requestParameters['ioSakurasouControllerRequestSiteSettingPatchRequest']), + body: SiteSettingPatchRequestToJSON(requestParameters['siteSettingPatchRequest']), }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => IoSakurasouControllerVoCommonResponseKotlinUnitFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => CommonResponseKotlinUnitFromJSON(jsonValue)); } /** * site setting */ - async apiSettingSitePatch(requestParameters: ApiSettingSitePatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiSettingSitePatch(requestParameters: ApiSettingSitePatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.apiSettingSitePatchRaw(requestParameters, initOverrides); return await response.value(); } @@ -125,11 +125,11 @@ export class SettingApi extends runtime.BaseAPI { /** * system setting */ - async apiSettingSystemPatchRaw(requestParameters: ApiSettingSystemPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { - if (requestParameters['ioSakurasouControllerRequestStrategySettingPatchRequest'] == null) { + async apiSettingSystemPatchRaw(requestParameters: ApiSettingSystemPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + if (requestParameters['strategySettingPatchRequest'] == null) { throw new runtime.RequiredError( - 'ioSakurasouControllerRequestStrategySettingPatchRequest', - 'Required parameter "ioSakurasouControllerRequestStrategySettingPatchRequest" was null or undefined when calling apiSettingSystemPatch().' + 'strategySettingPatchRequest', + 'Required parameter "strategySettingPatchRequest" was null or undefined when calling apiSettingSystemPatch().' ); } @@ -152,16 +152,16 @@ export class SettingApi extends runtime.BaseAPI { method: 'PATCH', headers: headerParameters, query: queryParameters, - body: IoSakurasouControllerRequestStrategySettingPatchRequestToJSON(requestParameters['ioSakurasouControllerRequestStrategySettingPatchRequest']), + body: StrategySettingPatchRequestToJSON(requestParameters['strategySettingPatchRequest']), }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => IoSakurasouControllerVoCommonResponseKotlinUnitFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => CommonResponseKotlinUnitFromJSON(jsonValue)); } /** * system setting */ - async apiSettingSystemPatch(requestParameters: ApiSettingSystemPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiSettingSystemPatch(requestParameters: ApiSettingSystemPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.apiSettingSystemPatchRaw(requestParameters, initOverrides); return await response.value(); } diff --git a/ui/packages/api-client/src/apis/StrategyApi.ts b/ui/packages/api-client/src/apis/StrategyApi.ts index c3b1c4a1..d3968a63 100644 --- a/ui/packages/api-client/src/apis/StrategyApi.ts +++ b/ui/packages/api-client/src/apis/StrategyApi.ts @@ -15,23 +15,23 @@ import * as runtime from '../runtime'; import type { - ApiStrategyPostRequest, - IoSakurasouControllerRequestStrategyPatchRequest, - IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoStrategyVO, - IoSakurasouControllerVoCommonResponseKotlinUnit, - IoSakurasouControllerVoPageResultIoSakurasouControllerVoStrategyPageVO, + CommonResponseKotlinUnit, + CommonResponsePageResultStrategyPageVO, + CommonResponseStrategyVO, + StrategyInsertRequest, + StrategyPatchRequest, } from '../models/index'; import { - ApiStrategyPostRequestFromJSON, - ApiStrategyPostRequestToJSON, - IoSakurasouControllerRequestStrategyPatchRequestFromJSON, - IoSakurasouControllerRequestStrategyPatchRequestToJSON, - IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoStrategyVOFromJSON, - IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoStrategyVOToJSON, - IoSakurasouControllerVoCommonResponseKotlinUnitFromJSON, - IoSakurasouControllerVoCommonResponseKotlinUnitToJSON, - IoSakurasouControllerVoPageResultIoSakurasouControllerVoStrategyPageVOFromJSON, - IoSakurasouControllerVoPageResultIoSakurasouControllerVoStrategyPageVOToJSON, + CommonResponseKotlinUnitFromJSON, + CommonResponseKotlinUnitToJSON, + CommonResponsePageResultStrategyPageVOFromJSON, + CommonResponsePageResultStrategyPageVOToJSON, + CommonResponseStrategyVOFromJSON, + CommonResponseStrategyVOToJSON, + StrategyInsertRequestFromJSON, + StrategyInsertRequestToJSON, + StrategyPatchRequestFromJSON, + StrategyPatchRequestToJSON, } from '../models/index'; export interface ApiStrategyIdDeleteRequest { @@ -44,7 +44,7 @@ export interface ApiStrategyIdGetRequest { export interface ApiStrategyIdPatchRequest { id: number; - ioSakurasouControllerRequestStrategyPatchRequest: IoSakurasouControllerRequestStrategyPatchRequest; + strategyPatchRequest: StrategyPatchRequest; } export interface ApiStrategyPageGetRequest { @@ -54,8 +54,8 @@ export interface ApiStrategyPageGetRequest { orderBy?: string; } -export interface ApiStrategyPostOperationRequest { - apiStrategyPostRequest: ApiStrategyPostRequest; +export interface ApiStrategyPostRequest { + strategyInsertRequest: StrategyInsertRequest; } /** @@ -65,7 +65,7 @@ export class StrategyApi extends runtime.BaseAPI { /** */ - async apiStrategyIdDeleteRaw(requestParameters: ApiStrategyIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + async apiStrategyIdDeleteRaw(requestParameters: ApiStrategyIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { if (requestParameters['id'] == null) { throw new runtime.RequiredError( 'id', @@ -92,19 +92,19 @@ export class StrategyApi extends runtime.BaseAPI { query: queryParameters, }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => IoSakurasouControllerVoCommonResponseKotlinUnitFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => CommonResponseKotlinUnitFromJSON(jsonValue)); } /** */ - async apiStrategyIdDelete(requestParameters: ApiStrategyIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiStrategyIdDelete(requestParameters: ApiStrategyIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.apiStrategyIdDeleteRaw(requestParameters, initOverrides); return await response.value(); } /** */ - async apiStrategyIdGetRaw(requestParameters: ApiStrategyIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + async apiStrategyIdGetRaw(requestParameters: ApiStrategyIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { if (requestParameters['id'] == null) { throw new runtime.RequiredError( 'id', @@ -131,19 +131,19 @@ export class StrategyApi extends runtime.BaseAPI { query: queryParameters, }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoStrategyVOFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => CommonResponseStrategyVOFromJSON(jsonValue)); } /** */ - async apiStrategyIdGet(requestParameters: ApiStrategyIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiStrategyIdGet(requestParameters: ApiStrategyIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.apiStrategyIdGetRaw(requestParameters, initOverrides); return await response.value(); } /** */ - async apiStrategyIdPatchRaw(requestParameters: ApiStrategyIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + async apiStrategyIdPatchRaw(requestParameters: ApiStrategyIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { if (requestParameters['id'] == null) { throw new runtime.RequiredError( 'id', @@ -151,10 +151,10 @@ export class StrategyApi extends runtime.BaseAPI { ); } - if (requestParameters['ioSakurasouControllerRequestStrategyPatchRequest'] == null) { + if (requestParameters['strategyPatchRequest'] == null) { throw new runtime.RequiredError( - 'ioSakurasouControllerRequestStrategyPatchRequest', - 'Required parameter "ioSakurasouControllerRequestStrategyPatchRequest" was null or undefined when calling apiStrategyIdPatch().' + 'strategyPatchRequest', + 'Required parameter "strategyPatchRequest" was null or undefined when calling apiStrategyIdPatch().' ); } @@ -177,22 +177,22 @@ export class StrategyApi extends runtime.BaseAPI { method: 'PATCH', headers: headerParameters, query: queryParameters, - body: IoSakurasouControllerRequestStrategyPatchRequestToJSON(requestParameters['ioSakurasouControllerRequestStrategyPatchRequest']), + body: StrategyPatchRequestToJSON(requestParameters['strategyPatchRequest']), }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => IoSakurasouControllerVoCommonResponseKotlinUnitFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => CommonResponseKotlinUnitFromJSON(jsonValue)); } /** */ - async apiStrategyIdPatch(requestParameters: ApiStrategyIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiStrategyIdPatch(requestParameters: ApiStrategyIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.apiStrategyIdPatchRaw(requestParameters, initOverrides); return await response.value(); } /** */ - async apiStrategyPageGetRaw(requestParameters: ApiStrategyPageGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + async apiStrategyPageGetRaw(requestParameters: ApiStrategyPageGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { if (requestParameters['page'] == null) { throw new runtime.RequiredError( 'page', @@ -242,23 +242,23 @@ export class StrategyApi extends runtime.BaseAPI { query: queryParameters, }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => IoSakurasouControllerVoPageResultIoSakurasouControllerVoStrategyPageVOFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => CommonResponsePageResultStrategyPageVOFromJSON(jsonValue)); } /** */ - async apiStrategyPageGet(requestParameters: ApiStrategyPageGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiStrategyPageGet(requestParameters: ApiStrategyPageGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.apiStrategyPageGetRaw(requestParameters, initOverrides); return await response.value(); } /** */ - async apiStrategyPostRaw(requestParameters: ApiStrategyPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { - if (requestParameters['apiStrategyPostRequest'] == null) { + async apiStrategyPostRaw(requestParameters: ApiStrategyPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + if (requestParameters['strategyInsertRequest'] == null) { throw new runtime.RequiredError( - 'apiStrategyPostRequest', - 'Required parameter "apiStrategyPostRequest" was null or undefined when calling apiStrategyPost().' + 'strategyInsertRequest', + 'Required parameter "strategyInsertRequest" was null or undefined when calling apiStrategyPost().' ); } @@ -281,15 +281,15 @@ export class StrategyApi extends runtime.BaseAPI { method: 'POST', headers: headerParameters, query: queryParameters, - body: ApiStrategyPostRequestToJSON(requestParameters['apiStrategyPostRequest']), + body: StrategyInsertRequestToJSON(requestParameters['strategyInsertRequest']), }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => IoSakurasouControllerVoCommonResponseKotlinUnitFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => CommonResponseKotlinUnitFromJSON(jsonValue)); } /** */ - async apiStrategyPost(requestParameters: ApiStrategyPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiStrategyPost(requestParameters: ApiStrategyPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.apiStrategyPostRaw(requestParameters, initOverrides); return await response.value(); } diff --git a/ui/packages/api-client/src/apis/UserApi.ts b/ui/packages/api-client/src/apis/UserApi.ts index fcc59d14..7ac89a7c 100644 --- a/ui/packages/api-client/src/apis/UserApi.ts +++ b/ui/packages/api-client/src/apis/UserApi.ts @@ -15,26 +15,26 @@ import * as runtime from '../runtime'; import type { - IoSakurasouControllerRequestUserManageInsertRequest, - IoSakurasouControllerRequestUserManagePatchRequest, - IoSakurasouControllerRequestUserSelfPatchRequest, - IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoUserVO, - IoSakurasouControllerVoCommonResponseKotlinUnit, - IoSakurasouControllerVoPageResultIoSakurasouControllerVoUserPageVO, + CommonResponseKotlinUnit, + CommonResponsePageResultUserManageVO, + CommonResponseUserVO, + UserManageInsertRequest, + UserManagePatchRequest, + UserSelfPatchRequest, } from '../models/index'; import { - IoSakurasouControllerRequestUserManageInsertRequestFromJSON, - IoSakurasouControllerRequestUserManageInsertRequestToJSON, - IoSakurasouControllerRequestUserManagePatchRequestFromJSON, - IoSakurasouControllerRequestUserManagePatchRequestToJSON, - IoSakurasouControllerRequestUserSelfPatchRequestFromJSON, - IoSakurasouControllerRequestUserSelfPatchRequestToJSON, - IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoUserVOFromJSON, - IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoUserVOToJSON, - IoSakurasouControllerVoCommonResponseKotlinUnitFromJSON, - IoSakurasouControllerVoCommonResponseKotlinUnitToJSON, - IoSakurasouControllerVoPageResultIoSakurasouControllerVoUserPageVOFromJSON, - IoSakurasouControllerVoPageResultIoSakurasouControllerVoUserPageVOToJSON, + CommonResponseKotlinUnitFromJSON, + CommonResponseKotlinUnitToJSON, + CommonResponsePageResultUserManageVOFromJSON, + CommonResponsePageResultUserManageVOToJSON, + CommonResponseUserVOFromJSON, + CommonResponseUserVOToJSON, + UserManageInsertRequestFromJSON, + UserManageInsertRequestToJSON, + UserManagePatchRequestFromJSON, + UserManagePatchRequestToJSON, + UserSelfPatchRequestFromJSON, + UserSelfPatchRequestToJSON, } from '../models/index'; export interface ApiUserBanIdPatchRequest { @@ -51,7 +51,7 @@ export interface ApiUserManageIdGetRequest { export interface ApiUserManageIdPatchRequest { id: number; - ioSakurasouControllerRequestUserManagePatchRequest: IoSakurasouControllerRequestUserManagePatchRequest; + userManagePatchRequest: UserManagePatchRequest; } export interface ApiUserManagePageGetRequest { @@ -62,11 +62,11 @@ export interface ApiUserManagePageGetRequest { } export interface ApiUserManagePostRequest { - ioSakurasouControllerRequestUserManageInsertRequest: IoSakurasouControllerRequestUserManageInsertRequest; + userManageInsertRequest: UserManageInsertRequest; } export interface ApiUserSelfPatchRequest { - ioSakurasouControllerRequestUserSelfPatchRequest: IoSakurasouControllerRequestUserSelfPatchRequest; + userSelfPatchRequest: UserSelfPatchRequest; } export interface ApiUserUnbanIdPatchRequest { @@ -80,7 +80,7 @@ export class UserApi extends runtime.BaseAPI { /** */ - async apiUserBanIdPatchRaw(requestParameters: ApiUserBanIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + async apiUserBanIdPatchRaw(requestParameters: ApiUserBanIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { if (requestParameters['id'] == null) { throw new runtime.RequiredError( 'id', @@ -107,19 +107,19 @@ export class UserApi extends runtime.BaseAPI { query: queryParameters, }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => IoSakurasouControllerVoCommonResponseKotlinUnitFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => CommonResponseKotlinUnitFromJSON(jsonValue)); } /** */ - async apiUserBanIdPatch(requestParameters: ApiUserBanIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiUserBanIdPatch(requestParameters: ApiUserBanIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.apiUserBanIdPatchRaw(requestParameters, initOverrides); return await response.value(); } /** */ - async apiUserManageIdDeleteRaw(requestParameters: ApiUserManageIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + async apiUserManageIdDeleteRaw(requestParameters: ApiUserManageIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { if (requestParameters['id'] == null) { throw new runtime.RequiredError( 'id', @@ -146,19 +146,19 @@ export class UserApi extends runtime.BaseAPI { query: queryParameters, }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => IoSakurasouControllerVoCommonResponseKotlinUnitFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => CommonResponseKotlinUnitFromJSON(jsonValue)); } /** */ - async apiUserManageIdDelete(requestParameters: ApiUserManageIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiUserManageIdDelete(requestParameters: ApiUserManageIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.apiUserManageIdDeleteRaw(requestParameters, initOverrides); return await response.value(); } /** */ - async apiUserManageIdGetRaw(requestParameters: ApiUserManageIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + async apiUserManageIdGetRaw(requestParameters: ApiUserManageIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { if (requestParameters['id'] == null) { throw new runtime.RequiredError( 'id', @@ -185,12 +185,12 @@ export class UserApi extends runtime.BaseAPI { query: queryParameters, }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoUserVOFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => CommonResponseUserVOFromJSON(jsonValue)); } /** */ - async apiUserManageIdGet(requestParameters: ApiUserManageIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiUserManageIdGet(requestParameters: ApiUserManageIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.apiUserManageIdGetRaw(requestParameters, initOverrides); return await response.value(); } @@ -198,7 +198,7 @@ export class UserApi extends runtime.BaseAPI { /** * modify any user */ - async apiUserManageIdPatchRaw(requestParameters: ApiUserManageIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + async apiUserManageIdPatchRaw(requestParameters: ApiUserManageIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { if (requestParameters['id'] == null) { throw new runtime.RequiredError( 'id', @@ -206,10 +206,10 @@ export class UserApi extends runtime.BaseAPI { ); } - if (requestParameters['ioSakurasouControllerRequestUserManagePatchRequest'] == null) { + if (requestParameters['userManagePatchRequest'] == null) { throw new runtime.RequiredError( - 'ioSakurasouControllerRequestUserManagePatchRequest', - 'Required parameter "ioSakurasouControllerRequestUserManagePatchRequest" was null or undefined when calling apiUserManageIdPatch().' + 'userManagePatchRequest', + 'Required parameter "userManagePatchRequest" was null or undefined when calling apiUserManageIdPatch().' ); } @@ -232,23 +232,23 @@ export class UserApi extends runtime.BaseAPI { method: 'PATCH', headers: headerParameters, query: queryParameters, - body: IoSakurasouControllerRequestUserManagePatchRequestToJSON(requestParameters['ioSakurasouControllerRequestUserManagePatchRequest']), + body: UserManagePatchRequestToJSON(requestParameters['userManagePatchRequest']), }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => IoSakurasouControllerVoCommonResponseKotlinUnitFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => CommonResponseKotlinUnitFromJSON(jsonValue)); } /** * modify any user */ - async apiUserManageIdPatch(requestParameters: ApiUserManageIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiUserManageIdPatch(requestParameters: ApiUserManageIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.apiUserManageIdPatchRaw(requestParameters, initOverrides); return await response.value(); } /** */ - async apiUserManagePageGetRaw(requestParameters: ApiUserManagePageGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + async apiUserManagePageGetRaw(requestParameters: ApiUserManagePageGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { if (requestParameters['page'] == null) { throw new runtime.RequiredError( 'page', @@ -298,12 +298,12 @@ export class UserApi extends runtime.BaseAPI { query: queryParameters, }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => IoSakurasouControllerVoPageResultIoSakurasouControllerVoUserPageVOFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => CommonResponsePageResultUserManageVOFromJSON(jsonValue)); } /** */ - async apiUserManagePageGet(requestParameters: ApiUserManagePageGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiUserManagePageGet(requestParameters: ApiUserManagePageGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.apiUserManagePageGetRaw(requestParameters, initOverrides); return await response.value(); } @@ -311,11 +311,11 @@ export class UserApi extends runtime.BaseAPI { /** * admin manual add user */ - async apiUserManagePostRaw(requestParameters: ApiUserManagePostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { - if (requestParameters['ioSakurasouControllerRequestUserManageInsertRequest'] == null) { + async apiUserManagePostRaw(requestParameters: ApiUserManagePostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + if (requestParameters['userManageInsertRequest'] == null) { throw new runtime.RequiredError( - 'ioSakurasouControllerRequestUserManageInsertRequest', - 'Required parameter "ioSakurasouControllerRequestUserManageInsertRequest" was null or undefined when calling apiUserManagePost().' + 'userManageInsertRequest', + 'Required parameter "userManageInsertRequest" was null or undefined when calling apiUserManagePost().' ); } @@ -338,23 +338,23 @@ export class UserApi extends runtime.BaseAPI { method: 'POST', headers: headerParameters, query: queryParameters, - body: IoSakurasouControllerRequestUserManageInsertRequestToJSON(requestParameters['ioSakurasouControllerRequestUserManageInsertRequest']), + body: UserManageInsertRequestToJSON(requestParameters['userManageInsertRequest']), }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => IoSakurasouControllerVoCommonResponseKotlinUnitFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => CommonResponseKotlinUnitFromJSON(jsonValue)); } /** * admin manual add user */ - async apiUserManagePost(requestParameters: ApiUserManagePostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiUserManagePost(requestParameters: ApiUserManagePostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.apiUserManagePostRaw(requestParameters, initOverrides); return await response.value(); } /** */ - async apiUserSelfGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + async apiUserSelfGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { const queryParameters: any = {}; const headerParameters: runtime.HTTPHeaders = {}; @@ -374,12 +374,12 @@ export class UserApi extends runtime.BaseAPI { query: queryParameters, }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoUserVOFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => CommonResponseUserVOFromJSON(jsonValue)); } /** */ - async apiUserSelfGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiUserSelfGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.apiUserSelfGetRaw(initOverrides); return await response.value(); } @@ -387,11 +387,11 @@ export class UserApi extends runtime.BaseAPI { /** * modify self */ - async apiUserSelfPatchRaw(requestParameters: ApiUserSelfPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { - if (requestParameters['ioSakurasouControllerRequestUserSelfPatchRequest'] == null) { + async apiUserSelfPatchRaw(requestParameters: ApiUserSelfPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + if (requestParameters['userSelfPatchRequest'] == null) { throw new runtime.RequiredError( - 'ioSakurasouControllerRequestUserSelfPatchRequest', - 'Required parameter "ioSakurasouControllerRequestUserSelfPatchRequest" was null or undefined when calling apiUserSelfPatch().' + 'userSelfPatchRequest', + 'Required parameter "userSelfPatchRequest" was null or undefined when calling apiUserSelfPatch().' ); } @@ -414,23 +414,23 @@ export class UserApi extends runtime.BaseAPI { method: 'PATCH', headers: headerParameters, query: queryParameters, - body: IoSakurasouControllerRequestUserSelfPatchRequestToJSON(requestParameters['ioSakurasouControllerRequestUserSelfPatchRequest']), + body: UserSelfPatchRequestToJSON(requestParameters['userSelfPatchRequest']), }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => IoSakurasouControllerVoCommonResponseKotlinUnitFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => CommonResponseKotlinUnitFromJSON(jsonValue)); } /** * modify self */ - async apiUserSelfPatch(requestParameters: ApiUserSelfPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiUserSelfPatch(requestParameters: ApiUserSelfPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.apiUserSelfPatchRaw(requestParameters, initOverrides); return await response.value(); } /** */ - async apiUserUnbanIdPatchRaw(requestParameters: ApiUserUnbanIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + async apiUserUnbanIdPatchRaw(requestParameters: ApiUserUnbanIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { if (requestParameters['id'] == null) { throw new runtime.RequiredError( 'id', @@ -457,12 +457,12 @@ export class UserApi extends runtime.BaseAPI { query: queryParameters, }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => IoSakurasouControllerVoCommonResponseKotlinUnitFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => CommonResponseKotlinUnitFromJSON(jsonValue)); } /** */ - async apiUserUnbanIdPatch(requestParameters: ApiUserUnbanIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + async apiUserUnbanIdPatch(requestParameters: ApiUserUnbanIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.apiUserUnbanIdPatchRaw(requestParameters, initOverrides); return await response.value(); } diff --git a/ui/packages/api-client/src/apis/index.ts b/ui/packages/api-client/src/apis/index.ts index a2f113ed..65ca3703 100644 --- a/ui/packages/api-client/src/apis/index.ts +++ b/ui/packages/api-client/src/apis/index.ts @@ -1,5 +1,5 @@ /* tslint:disable */ - +/* eslint-disable */ export * from './AlbumApi'; export * from './AuthApi'; export * from './DefaultApi'; diff --git a/ui/packages/api-client/src/index.ts b/ui/packages/api-client/src/index.ts index 3010230e..bebe8bbb 100644 --- a/ui/packages/api-client/src/index.ts +++ b/ui/packages/api-client/src/index.ts @@ -1,5 +1,5 @@ /* tslint:disable */ - +/* eslint-disable */ export * from './runtime'; export * from './apis/index'; export * from './models/index'; diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerRequestAlbumManageInsertRequest.ts b/ui/packages/api-client/src/models/AlbumManageInsertRequest.ts similarity index 51% rename from ui/packages/api-client/src/models/IoSakurasouControllerRequestAlbumManageInsertRequest.ts rename to ui/packages/api-client/src/models/AlbumManageInsertRequest.ts index d51dca69..c76e0cb4 100644 --- a/ui/packages/api-client/src/models/IoSakurasouControllerRequestAlbumManageInsertRequest.ts +++ b/ui/packages/api-client/src/models/AlbumManageInsertRequest.ts @@ -16,44 +16,44 @@ import { mapValues } from '../runtime'; /** * * @export - * @interface IoSakurasouControllerRequestAlbumManageInsertRequest + * @interface AlbumManageInsertRequest */ -export interface IoSakurasouControllerRequestAlbumManageInsertRequest { +export interface AlbumManageInsertRequest { /** * * @type {string} - * @memberof IoSakurasouControllerRequestAlbumManageInsertRequest + * @memberof AlbumManageInsertRequest */ description: string; /** * * @type {string} - * @memberof IoSakurasouControllerRequestAlbumManageInsertRequest + * @memberof AlbumManageInsertRequest */ name: string; /** * * @type {number} - * @memberof IoSakurasouControllerRequestAlbumManageInsertRequest + * @memberof AlbumManageInsertRequest */ userId: number; } /** - * Check if a given object implements the IoSakurasouControllerRequestAlbumManageInsertRequest interface. + * Check if a given object implements the AlbumManageInsertRequest interface. */ -export function instanceOfIoSakurasouControllerRequestAlbumManageInsertRequest(value: object): value is IoSakurasouControllerRequestAlbumManageInsertRequest { +export function instanceOfAlbumManageInsertRequest(value: object): value is AlbumManageInsertRequest { if (!('description' in value) || value['description'] === undefined) return false; if (!('name' in value) || value['name'] === undefined) return false; if (!('userId' in value) || value['userId'] === undefined) return false; return true; } -export function IoSakurasouControllerRequestAlbumManageInsertRequestFromJSON(json: any): IoSakurasouControllerRequestAlbumManageInsertRequest { - return IoSakurasouControllerRequestAlbumManageInsertRequestFromJSONTyped(json, false); +export function AlbumManageInsertRequestFromJSON(json: any): AlbumManageInsertRequest { + return AlbumManageInsertRequestFromJSONTyped(json, false); } -export function IoSakurasouControllerRequestAlbumManageInsertRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerRequestAlbumManageInsertRequest { +export function AlbumManageInsertRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AlbumManageInsertRequest { if (json == null) { return json; } @@ -65,10 +65,15 @@ export function IoSakurasouControllerRequestAlbumManageInsertRequestFromJSONType }; } -export function IoSakurasouControllerRequestAlbumManageInsertRequestToJSON(value?: IoSakurasouControllerRequestAlbumManageInsertRequest | null): any { + export function AlbumManageInsertRequestToJSON(json: any): AlbumManageInsertRequest { + return AlbumManageInsertRequestToJSONTyped(json, false); + } + + export function AlbumManageInsertRequestToJSONTyped(value?: AlbumManageInsertRequest | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } + return { 'description': value['description'], diff --git a/ui/packages/api-client/src/models/AlbumManagePatchRequest.ts b/ui/packages/api-client/src/models/AlbumManagePatchRequest.ts new file mode 100644 index 00000000..59a1a77d --- /dev/null +++ b/ui/packages/api-client/src/models/AlbumManagePatchRequest.ts @@ -0,0 +1,81 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * HoshizoraPics API + * API for testing and demonstration purposes. + * + * The version of the OpenAPI document: latest + * + * + * 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 AlbumManagePatchRequest + */ +export interface AlbumManagePatchRequest { + /** + * + * @type {string} + * @memberof AlbumManagePatchRequest + */ + description?: string | null; + /** + * + * @type {string} + * @memberof AlbumManagePatchRequest + */ + name?: string | null; + /** + * + * @type {number} + * @memberof AlbumManagePatchRequest + */ + userId?: number | null; +} + +/** + * Check if a given object implements the AlbumManagePatchRequest interface. + */ +export function instanceOfAlbumManagePatchRequest(value: object): value is AlbumManagePatchRequest { + return true; +} + +export function AlbumManagePatchRequestFromJSON(json: any): AlbumManagePatchRequest { + return AlbumManagePatchRequestFromJSONTyped(json, false); +} + +export function AlbumManagePatchRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AlbumManagePatchRequest { + if (json == null) { + return json; + } + return { + + 'description': json['description'] == null ? undefined : json['description'], + 'name': json['name'] == null ? undefined : json['name'], + 'userId': json['userId'] == null ? undefined : json['userId'], + }; +} + + export function AlbumManagePatchRequestToJSON(json: any): AlbumManagePatchRequest { + return AlbumManagePatchRequestToJSONTyped(json, false); + } + + export function AlbumManagePatchRequestToJSONTyped(value?: AlbumManagePatchRequest | null, ignoreDiscriminator: boolean = false): any { + if (value == null) { + return value; + } + + return { + + 'description': value['description'], + 'name': value['name'], + 'userId': value['userId'], + }; +} + diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerVoAlbumPageVO.ts b/ui/packages/api-client/src/models/AlbumPageVO.ts similarity index 60% rename from ui/packages/api-client/src/models/IoSakurasouControllerVoAlbumPageVO.ts rename to ui/packages/api-client/src/models/AlbumPageVO.ts index addec729..4f44fd4d 100644 --- a/ui/packages/api-client/src/models/IoSakurasouControllerVoAlbumPageVO.ts +++ b/ui/packages/api-client/src/models/AlbumPageVO.ts @@ -16,39 +16,39 @@ import { mapValues } from '../runtime'; /** * * @export - * @interface IoSakurasouControllerVoAlbumPageVO + * @interface AlbumPageVO */ -export interface IoSakurasouControllerVoAlbumPageVO { +export interface AlbumPageVO { /** * * @type {number} - * @memberof IoSakurasouControllerVoAlbumPageVO + * @memberof AlbumPageVO */ id: number; /** * * @type {number} - * @memberof IoSakurasouControllerVoAlbumPageVO + * @memberof AlbumPageVO */ imageCount: number; /** * * @type {boolean} - * @memberof IoSakurasouControllerVoAlbumPageVO + * @memberof AlbumPageVO */ isUncategorized: boolean; /** * * @type {string} - * @memberof IoSakurasouControllerVoAlbumPageVO + * @memberof AlbumPageVO */ name: string; } /** - * Check if a given object implements the IoSakurasouControllerVoAlbumPageVO interface. + * Check if a given object implements the AlbumPageVO interface. */ -export function instanceOfIoSakurasouControllerVoAlbumPageVO(value: object): value is IoSakurasouControllerVoAlbumPageVO { +export function instanceOfAlbumPageVO(value: object): value is AlbumPageVO { if (!('id' in value) || value['id'] === undefined) return false; if (!('imageCount' in value) || value['imageCount'] === undefined) return false; if (!('isUncategorized' in value) || value['isUncategorized'] === undefined) return false; @@ -56,11 +56,11 @@ export function instanceOfIoSakurasouControllerVoAlbumPageVO(value: object): val return true; } -export function IoSakurasouControllerVoAlbumPageVOFromJSON(json: any): IoSakurasouControllerVoAlbumPageVO { - return IoSakurasouControllerVoAlbumPageVOFromJSONTyped(json, false); +export function AlbumPageVOFromJSON(json: any): AlbumPageVO { + return AlbumPageVOFromJSONTyped(json, false); } -export function IoSakurasouControllerVoAlbumPageVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerVoAlbumPageVO { +export function AlbumPageVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): AlbumPageVO { if (json == null) { return json; } @@ -73,10 +73,15 @@ export function IoSakurasouControllerVoAlbumPageVOFromJSONTyped(json: any, ignor }; } -export function IoSakurasouControllerVoAlbumPageVOToJSON(value?: IoSakurasouControllerVoAlbumPageVO | null): any { + export function AlbumPageVOToJSON(json: any): AlbumPageVO { + return AlbumPageVOToJSONTyped(json, false); + } + + export function AlbumPageVOToJSONTyped(value?: AlbumPageVO | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } + return { 'id': value['id'], diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerRequestAlbumInsertRequest.ts b/ui/packages/api-client/src/models/AlbumSelfInsertRequest.ts similarity index 50% rename from ui/packages/api-client/src/models/IoSakurasouControllerRequestAlbumInsertRequest.ts rename to ui/packages/api-client/src/models/AlbumSelfInsertRequest.ts index 0abdacbe..fed92143 100644 --- a/ui/packages/api-client/src/models/IoSakurasouControllerRequestAlbumInsertRequest.ts +++ b/ui/packages/api-client/src/models/AlbumSelfInsertRequest.ts @@ -16,37 +16,37 @@ import { mapValues } from '../runtime'; /** * * @export - * @interface IoSakurasouControllerRequestAlbumInsertRequest + * @interface AlbumSelfInsertRequest */ -export interface IoSakurasouControllerRequestAlbumInsertRequest { +export interface AlbumSelfInsertRequest { /** * * @type {string} - * @memberof IoSakurasouControllerRequestAlbumInsertRequest + * @memberof AlbumSelfInsertRequest */ description: string; /** * * @type {string} - * @memberof IoSakurasouControllerRequestAlbumInsertRequest + * @memberof AlbumSelfInsertRequest */ name: string; } /** - * Check if a given object implements the IoSakurasouControllerRequestAlbumInsertRequest interface. + * Check if a given object implements the AlbumSelfInsertRequest interface. */ -export function instanceOfIoSakurasouControllerRequestAlbumInsertRequest(value: object): value is IoSakurasouControllerRequestAlbumInsertRequest { +export function instanceOfAlbumSelfInsertRequest(value: object): value is AlbumSelfInsertRequest { if (!('description' in value) || value['description'] === undefined) return false; if (!('name' in value) || value['name'] === undefined) return false; return true; } -export function IoSakurasouControllerRequestAlbumInsertRequestFromJSON(json: any): IoSakurasouControllerRequestAlbumInsertRequest { - return IoSakurasouControllerRequestAlbumInsertRequestFromJSONTyped(json, false); +export function AlbumSelfInsertRequestFromJSON(json: any): AlbumSelfInsertRequest { + return AlbumSelfInsertRequestFromJSONTyped(json, false); } -export function IoSakurasouControllerRequestAlbumInsertRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerRequestAlbumInsertRequest { +export function AlbumSelfInsertRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AlbumSelfInsertRequest { if (json == null) { return json; } @@ -57,10 +57,15 @@ export function IoSakurasouControllerRequestAlbumInsertRequestFromJSONTyped(json }; } -export function IoSakurasouControllerRequestAlbumInsertRequestToJSON(value?: IoSakurasouControllerRequestAlbumInsertRequest | null): any { + export function AlbumSelfInsertRequestToJSON(json: any): AlbumSelfInsertRequest { + return AlbumSelfInsertRequestToJSONTyped(json, false); + } + + export function AlbumSelfInsertRequestToJSONTyped(value?: AlbumSelfInsertRequest | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } + return { 'description': value['description'], diff --git a/ui/packages/api-client/src/models/AlbumSelfPatchRequest.ts b/ui/packages/api-client/src/models/AlbumSelfPatchRequest.ts new file mode 100644 index 00000000..7dd1a821 --- /dev/null +++ b/ui/packages/api-client/src/models/AlbumSelfPatchRequest.ts @@ -0,0 +1,73 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * HoshizoraPics API + * API for testing and demonstration purposes. + * + * The version of the OpenAPI document: latest + * + * + * 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 AlbumSelfPatchRequest + */ +export interface AlbumSelfPatchRequest { + /** + * + * @type {string} + * @memberof AlbumSelfPatchRequest + */ + description?: string | null; + /** + * + * @type {string} + * @memberof AlbumSelfPatchRequest + */ + name?: string | null; +} + +/** + * Check if a given object implements the AlbumSelfPatchRequest interface. + */ +export function instanceOfAlbumSelfPatchRequest(value: object): value is AlbumSelfPatchRequest { + return true; +} + +export function AlbumSelfPatchRequestFromJSON(json: any): AlbumSelfPatchRequest { + return AlbumSelfPatchRequestFromJSONTyped(json, false); +} + +export function AlbumSelfPatchRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AlbumSelfPatchRequest { + if (json == null) { + return json; + } + return { + + 'description': json['description'] == null ? undefined : json['description'], + 'name': json['name'] == null ? undefined : json['name'], + }; +} + + export function AlbumSelfPatchRequestToJSON(json: any): AlbumSelfPatchRequest { + return AlbumSelfPatchRequestToJSONTyped(json, false); + } + + export function AlbumSelfPatchRequestToJSONTyped(value?: AlbumSelfPatchRequest | null, ignoreDiscriminator: boolean = false): any { + if (value == null) { + return value; + } + + return { + + 'description': value['description'], + 'name': value['name'], + }; +} + diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerVoAlbumVO.ts b/ui/packages/api-client/src/models/AlbumVO.ts similarity index 68% rename from ui/packages/api-client/src/models/IoSakurasouControllerVoAlbumVO.ts rename to ui/packages/api-client/src/models/AlbumVO.ts index 3b4309b8..84367f18 100644 --- a/ui/packages/api-client/src/models/IoSakurasouControllerVoAlbumVO.ts +++ b/ui/packages/api-client/src/models/AlbumVO.ts @@ -18,56 +18,57 @@ import { KotlinxDatetimeLocalDateTimeFromJSON, KotlinxDatetimeLocalDateTimeFromJSONTyped, KotlinxDatetimeLocalDateTimeToJSON, + KotlinxDatetimeLocalDateTimeToJSONTyped, } from './KotlinxDatetimeLocalDateTime'; /** * * @export - * @interface IoSakurasouControllerVoAlbumVO + * @interface AlbumVO */ -export interface IoSakurasouControllerVoAlbumVO { +export interface AlbumVO { /** * * @type {KotlinxDatetimeLocalDateTime} - * @memberof IoSakurasouControllerVoAlbumVO + * @memberof AlbumVO */ createTime: KotlinxDatetimeLocalDateTime; /** * - * @type {any} - * @memberof IoSakurasouControllerVoAlbumVO + * @type {string} + * @memberof AlbumVO */ - description?: any | null; + description?: string | null; /** * * @type {number} - * @memberof IoSakurasouControllerVoAlbumVO + * @memberof AlbumVO */ id: number; /** * * @type {number} - * @memberof IoSakurasouControllerVoAlbumVO + * @memberof AlbumVO */ imageCount: number; /** * * @type {boolean} - * @memberof IoSakurasouControllerVoAlbumVO + * @memberof AlbumVO */ isUncategorized: boolean; /** * * @type {string} - * @memberof IoSakurasouControllerVoAlbumVO + * @memberof AlbumVO */ name: string; } /** - * Check if a given object implements the IoSakurasouControllerVoAlbumVO interface. + * Check if a given object implements the AlbumVO interface. */ -export function instanceOfIoSakurasouControllerVoAlbumVO(value: object): value is IoSakurasouControllerVoAlbumVO { +export function instanceOfAlbumVO(value: object): value is AlbumVO { if (!('createTime' in value) || value['createTime'] === undefined) return false; if (!('id' in value) || value['id'] === undefined) return false; if (!('imageCount' in value) || value['imageCount'] === undefined) return false; @@ -76,11 +77,11 @@ export function instanceOfIoSakurasouControllerVoAlbumVO(value: object): value i return true; } -export function IoSakurasouControllerVoAlbumVOFromJSON(json: any): IoSakurasouControllerVoAlbumVO { - return IoSakurasouControllerVoAlbumVOFromJSONTyped(json, false); +export function AlbumVOFromJSON(json: any): AlbumVO { + return AlbumVOFromJSONTyped(json, false); } -export function IoSakurasouControllerVoAlbumVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerVoAlbumVO { +export function AlbumVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): AlbumVO { if (json == null) { return json; } @@ -95,10 +96,15 @@ export function IoSakurasouControllerVoAlbumVOFromJSONTyped(json: any, ignoreDis }; } -export function IoSakurasouControllerVoAlbumVOToJSON(value?: IoSakurasouControllerVoAlbumVO | null): any { + export function AlbumVOToJSON(json: any): AlbumVO { + return AlbumVOToJSONTyped(json, false); + } + + export function AlbumVOToJSONTyped(value?: AlbumVO | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } + return { 'createTime': KotlinxDatetimeLocalDateTimeToJSON(value['createTime']), diff --git a/ui/packages/api-client/src/models/ApiImageImageIdGet200Response.ts b/ui/packages/api-client/src/models/ApiImageImageIdGet200Response.ts deleted file mode 100644 index 6bb93bb6..00000000 --- a/ui/packages/api-client/src/models/ApiImageImageIdGet200Response.ts +++ /dev/null @@ -1,48 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -/** - * @type ApiImageImageIdGet200Response - * - * @export - */ -export type ApiImageImageIdGet200Response = string; - -export function ApiImageImageIdGet200ResponseFromJSON(json: any): ApiImageImageIdGet200Response { - return ApiImageImageIdGet200ResponseFromJSONTyped(json, false); -} - -export function ApiImageImageIdGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiImageImageIdGet200Response { - if (json == null) { - return json; - } - if (instanceOfstring(json)) { - return stringFromJSONTyped(json, true); - } - - return {} as any; -} - -export function ApiImageImageIdGet200ResponseToJSON(value?: ApiImageImageIdGet200Response | null): any { - if (value == null) { - return value; - } - - if (instanceOfstring(value)) { - return stringToJSON(value as string); - } - - return {}; -} - diff --git a/ui/packages/api-client/src/models/ApiStrategyPostRequest.ts b/ui/packages/api-client/src/models/ApiStrategyPostRequest.ts deleted file mode 100644 index 9c48d61b..00000000 --- a/ui/packages/api-client/src/models/ApiStrategyPostRequest.ts +++ /dev/null @@ -1,68 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * 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 ApiStrategyPostRequest - */ -export interface ApiStrategyPostRequest { - /** - * io/sakurasou/model/strategy/StrategyConfig.kt - * @type {} - * @memberof ApiStrategyPostRequest - */ - config?: | null; - /** - * - * @type {string} - * @memberof ApiStrategyPostRequest - */ - name?: string; -} - -/** - * Check if a given object implements the ApiStrategyPostRequest interface. - */ -export function instanceOfApiStrategyPostRequest(value: object): value is ApiStrategyPostRequest { - return true; -} - -export function ApiStrategyPostRequestFromJSON(json: any): ApiStrategyPostRequest { - return ApiStrategyPostRequestFromJSONTyped(json, false); -} - -export function ApiStrategyPostRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiStrategyPostRequest { - if (json == null) { - return json; - } - return { - - 'config': json['config'] == null ? undefined : FromJSON(json['config']), - 'name': json['name'] == null ? undefined : json['name'], - }; -} - -export function ApiStrategyPostRequestToJSON(value?: ApiStrategyPostRequest | null): any { - if (value == null) { - return value; - } - return { - - 'config': ToJSON(value['config']), - 'name': value['name'], - }; -} - diff --git a/ui/packages/api-client/src/models/CommonResponseAlbumVO.ts b/ui/packages/api-client/src/models/CommonResponseAlbumVO.ts new file mode 100644 index 00000000..ccbe1c83 --- /dev/null +++ b/ui/packages/api-client/src/models/CommonResponseAlbumVO.ts @@ -0,0 +1,100 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * HoshizoraPics API + * API for testing and demonstration purposes. + * + * The version of the OpenAPI document: latest + * + * + * 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'; +import type { AlbumVO } from './AlbumVO'; +import { + AlbumVOFromJSON, + AlbumVOFromJSONTyped, + AlbumVOToJSON, + AlbumVOToJSONTyped, +} from './AlbumVO'; + +/** + * + * @export + * @interface CommonResponseAlbumVO + */ +export interface CommonResponseAlbumVO { + /** + * + * @type {number} + * @memberof CommonResponseAlbumVO + */ + code: number; + /** + * + * @type {AlbumVO} + * @memberof CommonResponseAlbumVO + */ + data?: AlbumVO | null; + /** + * + * @type {boolean} + * @memberof CommonResponseAlbumVO + */ + isSuccessful: boolean; + /** + * + * @type {string} + * @memberof CommonResponseAlbumVO + */ + message: string; +} + +/** + * Check if a given object implements the CommonResponseAlbumVO interface. + */ +export function instanceOfCommonResponseAlbumVO(value: object): value is CommonResponseAlbumVO { + if (!('code' in value) || value['code'] === undefined) return false; + if (!('isSuccessful' in value) || value['isSuccessful'] === undefined) return false; + if (!('message' in value) || value['message'] === undefined) return false; + return true; +} + +export function CommonResponseAlbumVOFromJSON(json: any): CommonResponseAlbumVO { + return CommonResponseAlbumVOFromJSONTyped(json, false); +} + +export function CommonResponseAlbumVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommonResponseAlbumVO { + if (json == null) { + return json; + } + return { + + 'code': json['code'], + 'data': json['data'] == null ? undefined : AlbumVOFromJSON(json['data']), + 'isSuccessful': json['isSuccessful'], + 'message': json['message'], + }; +} + + export function CommonResponseAlbumVOToJSON(json: any): CommonResponseAlbumVO { + return CommonResponseAlbumVOToJSONTyped(json, false); + } + + export function CommonResponseAlbumVOToJSONTyped(value?: CommonResponseAlbumVO | null, ignoreDiscriminator: boolean = false): any { + if (value == null) { + return value; + } + + return { + + 'code': value['code'], + 'data': AlbumVOToJSON(value['data']), + 'isSuccessful': value['isSuccessful'], + 'message': value['message'], + }; +} + diff --git a/ui/packages/api-client/src/models/CommonResponseGroupVO.ts b/ui/packages/api-client/src/models/CommonResponseGroupVO.ts new file mode 100644 index 00000000..c4509d4b --- /dev/null +++ b/ui/packages/api-client/src/models/CommonResponseGroupVO.ts @@ -0,0 +1,100 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * HoshizoraPics API + * API for testing and demonstration purposes. + * + * The version of the OpenAPI document: latest + * + * + * 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'; +import type { GroupVO } from './GroupVO'; +import { + GroupVOFromJSON, + GroupVOFromJSONTyped, + GroupVOToJSON, + GroupVOToJSONTyped, +} from './GroupVO'; + +/** + * + * @export + * @interface CommonResponseGroupVO + */ +export interface CommonResponseGroupVO { + /** + * + * @type {number} + * @memberof CommonResponseGroupVO + */ + code: number; + /** + * + * @type {GroupVO} + * @memberof CommonResponseGroupVO + */ + data?: GroupVO | null; + /** + * + * @type {boolean} + * @memberof CommonResponseGroupVO + */ + isSuccessful: boolean; + /** + * + * @type {string} + * @memberof CommonResponseGroupVO + */ + message: string; +} + +/** + * Check if a given object implements the CommonResponseGroupVO interface. + */ +export function instanceOfCommonResponseGroupVO(value: object): value is CommonResponseGroupVO { + if (!('code' in value) || value['code'] === undefined) return false; + if (!('isSuccessful' in value) || value['isSuccessful'] === undefined) return false; + if (!('message' in value) || value['message'] === undefined) return false; + return true; +} + +export function CommonResponseGroupVOFromJSON(json: any): CommonResponseGroupVO { + return CommonResponseGroupVOFromJSONTyped(json, false); +} + +export function CommonResponseGroupVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommonResponseGroupVO { + if (json == null) { + return json; + } + return { + + 'code': json['code'], + 'data': json['data'] == null ? undefined : GroupVOFromJSON(json['data']), + 'isSuccessful': json['isSuccessful'], + 'message': json['message'], + }; +} + + export function CommonResponseGroupVOToJSON(json: any): CommonResponseGroupVO { + return CommonResponseGroupVOToJSONTyped(json, false); + } + + export function CommonResponseGroupVOToJSONTyped(value?: CommonResponseGroupVO | null, ignoreDiscriminator: boolean = false): any { + if (value == null) { + return value; + } + + return { + + 'code': value['code'], + 'data': GroupVOToJSON(value['data']), + 'isSuccessful': value['isSuccessful'], + 'message': value['message'], + }; +} + diff --git a/ui/packages/api-client/src/models/CommonResponseImageManageVO.ts b/ui/packages/api-client/src/models/CommonResponseImageManageVO.ts new file mode 100644 index 00000000..c98581c5 --- /dev/null +++ b/ui/packages/api-client/src/models/CommonResponseImageManageVO.ts @@ -0,0 +1,100 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * HoshizoraPics API + * API for testing and demonstration purposes. + * + * The version of the OpenAPI document: latest + * + * + * 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'; +import type { ImageManageVO } from './ImageManageVO'; +import { + ImageManageVOFromJSON, + ImageManageVOFromJSONTyped, + ImageManageVOToJSON, + ImageManageVOToJSONTyped, +} from './ImageManageVO'; + +/** + * + * @export + * @interface CommonResponseImageManageVO + */ +export interface CommonResponseImageManageVO { + /** + * + * @type {number} + * @memberof CommonResponseImageManageVO + */ + code: number; + /** + * + * @type {ImageManageVO} + * @memberof CommonResponseImageManageVO + */ + data?: ImageManageVO | null; + /** + * + * @type {boolean} + * @memberof CommonResponseImageManageVO + */ + isSuccessful: boolean; + /** + * + * @type {string} + * @memberof CommonResponseImageManageVO + */ + message: string; +} + +/** + * Check if a given object implements the CommonResponseImageManageVO interface. + */ +export function instanceOfCommonResponseImageManageVO(value: object): value is CommonResponseImageManageVO { + if (!('code' in value) || value['code'] === undefined) return false; + if (!('isSuccessful' in value) || value['isSuccessful'] === undefined) return false; + if (!('message' in value) || value['message'] === undefined) return false; + return true; +} + +export function CommonResponseImageManageVOFromJSON(json: any): CommonResponseImageManageVO { + return CommonResponseImageManageVOFromJSONTyped(json, false); +} + +export function CommonResponseImageManageVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommonResponseImageManageVO { + if (json == null) { + return json; + } + return { + + 'code': json['code'], + 'data': json['data'] == null ? undefined : ImageManageVOFromJSON(json['data']), + 'isSuccessful': json['isSuccessful'], + 'message': json['message'], + }; +} + + export function CommonResponseImageManageVOToJSON(json: any): CommonResponseImageManageVO { + return CommonResponseImageManageVOToJSONTyped(json, false); + } + + export function CommonResponseImageManageVOToJSONTyped(value?: CommonResponseImageManageVO | null, ignoreDiscriminator: boolean = false): any { + if (value == null) { + return value; + } + + return { + + 'code': value['code'], + 'data': ImageManageVOToJSON(value['data']), + 'isSuccessful': value['isSuccessful'], + 'message': value['message'], + }; +} + diff --git a/ui/packages/api-client/src/models/CommonResponseImageVO.ts b/ui/packages/api-client/src/models/CommonResponseImageVO.ts new file mode 100644 index 00000000..d5572d94 --- /dev/null +++ b/ui/packages/api-client/src/models/CommonResponseImageVO.ts @@ -0,0 +1,100 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * HoshizoraPics API + * API for testing and demonstration purposes. + * + * The version of the OpenAPI document: latest + * + * + * 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'; +import type { ImageVO } from './ImageVO'; +import { + ImageVOFromJSON, + ImageVOFromJSONTyped, + ImageVOToJSON, + ImageVOToJSONTyped, +} from './ImageVO'; + +/** + * + * @export + * @interface CommonResponseImageVO + */ +export interface CommonResponseImageVO { + /** + * + * @type {number} + * @memberof CommonResponseImageVO + */ + code: number; + /** + * + * @type {ImageVO} + * @memberof CommonResponseImageVO + */ + data?: ImageVO | null; + /** + * + * @type {boolean} + * @memberof CommonResponseImageVO + */ + isSuccessful: boolean; + /** + * + * @type {string} + * @memberof CommonResponseImageVO + */ + message: string; +} + +/** + * Check if a given object implements the CommonResponseImageVO interface. + */ +export function instanceOfCommonResponseImageVO(value: object): value is CommonResponseImageVO { + if (!('code' in value) || value['code'] === undefined) return false; + if (!('isSuccessful' in value) || value['isSuccessful'] === undefined) return false; + if (!('message' in value) || value['message'] === undefined) return false; + return true; +} + +export function CommonResponseImageVOFromJSON(json: any): CommonResponseImageVO { + return CommonResponseImageVOFromJSONTyped(json, false); +} + +export function CommonResponseImageVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommonResponseImageVO { + if (json == null) { + return json; + } + return { + + 'code': json['code'], + 'data': json['data'] == null ? undefined : ImageVOFromJSON(json['data']), + 'isSuccessful': json['isSuccessful'], + 'message': json['message'], + }; +} + + export function CommonResponseImageVOToJSON(json: any): CommonResponseImageVO { + return CommonResponseImageVOToJSONTyped(json, false); + } + + export function CommonResponseImageVOToJSONTyped(value?: CommonResponseImageVO | null, ignoreDiscriminator: boolean = false): any { + if (value == null) { + return value; + } + + return { + + 'code': value['code'], + 'data': ImageVOToJSON(value['data']), + 'isSuccessful': value['isSuccessful'], + 'message': value['message'], + }; +} + diff --git a/ui/packages/api-client/src/models/CommonResponseKotlinCollectionsListRoleVO.ts b/ui/packages/api-client/src/models/CommonResponseKotlinCollectionsListRoleVO.ts new file mode 100644 index 00000000..38af72bb --- /dev/null +++ b/ui/packages/api-client/src/models/CommonResponseKotlinCollectionsListRoleVO.ts @@ -0,0 +1,100 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * HoshizoraPics API + * API for testing and demonstration purposes. + * + * The version of the OpenAPI document: latest + * + * + * 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'; +import type { RoleVO } from './RoleVO'; +import { + RoleVOFromJSON, + RoleVOFromJSONTyped, + RoleVOToJSON, + RoleVOToJSONTyped, +} from './RoleVO'; + +/** + * + * @export + * @interface CommonResponseKotlinCollectionsListRoleVO + */ +export interface CommonResponseKotlinCollectionsListRoleVO { + /** + * + * @type {number} + * @memberof CommonResponseKotlinCollectionsListRoleVO + */ + code: number; + /** + * + * @type {Array} + * @memberof CommonResponseKotlinCollectionsListRoleVO + */ + data?: Array | null; + /** + * + * @type {boolean} + * @memberof CommonResponseKotlinCollectionsListRoleVO + */ + isSuccessful: boolean; + /** + * + * @type {string} + * @memberof CommonResponseKotlinCollectionsListRoleVO + */ + message: string; +} + +/** + * Check if a given object implements the CommonResponseKotlinCollectionsListRoleVO interface. + */ +export function instanceOfCommonResponseKotlinCollectionsListRoleVO(value: object): value is CommonResponseKotlinCollectionsListRoleVO { + if (!('code' in value) || value['code'] === undefined) return false; + if (!('isSuccessful' in value) || value['isSuccessful'] === undefined) return false; + if (!('message' in value) || value['message'] === undefined) return false; + return true; +} + +export function CommonResponseKotlinCollectionsListRoleVOFromJSON(json: any): CommonResponseKotlinCollectionsListRoleVO { + return CommonResponseKotlinCollectionsListRoleVOFromJSONTyped(json, false); +} + +export function CommonResponseKotlinCollectionsListRoleVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommonResponseKotlinCollectionsListRoleVO { + if (json == null) { + return json; + } + return { + + 'code': json['code'], + 'data': json['data'] == null ? undefined : ((json['data'] as Array).map(RoleVOFromJSON)), + 'isSuccessful': json['isSuccessful'], + 'message': json['message'], + }; +} + + export function CommonResponseKotlinCollectionsListRoleVOToJSON(json: any): CommonResponseKotlinCollectionsListRoleVO { + return CommonResponseKotlinCollectionsListRoleVOToJSONTyped(json, false); + } + + export function CommonResponseKotlinCollectionsListRoleVOToJSONTyped(value?: CommonResponseKotlinCollectionsListRoleVO | null, ignoreDiscriminator: boolean = false): any { + if (value == null) { + return value; + } + + return { + + 'code': value['code'], + 'data': value['data'] == null ? undefined : ((value['data'] as Array).map(RoleVOToJSON)), + 'isSuccessful': value['isSuccessful'], + 'message': value['message'], + }; +} + diff --git a/ui/packages/api-client/src/models/CommonResponseKotlinCollectionsMapKotlinStringSettingVO.ts b/ui/packages/api-client/src/models/CommonResponseKotlinCollectionsMapKotlinStringSettingVO.ts new file mode 100644 index 00000000..5a53bfe6 --- /dev/null +++ b/ui/packages/api-client/src/models/CommonResponseKotlinCollectionsMapKotlinStringSettingVO.ts @@ -0,0 +1,100 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * HoshizoraPics API + * API for testing and demonstration purposes. + * + * The version of the OpenAPI document: latest + * + * + * 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'; +import type { Null } from './Null'; +import { + NullFromJSON, + NullFromJSONTyped, + NullToJSON, + NullToJSONTyped, +} from './Null'; + +/** + * + * @export + * @interface CommonResponseKotlinCollectionsMapKotlinStringSettingVO + */ +export interface CommonResponseKotlinCollectionsMapKotlinStringSettingVO { + /** + * + * @type {number} + * @memberof CommonResponseKotlinCollectionsMapKotlinStringSettingVO + */ + code: number; + /** + * + * @type {{ [key: string]: SettingVO; }} + * @memberof CommonResponseKotlinCollectionsMapKotlinStringSettingVO + */ + data?: { [key: string]: SettingVO; }; + /** + * + * @type {boolean} + * @memberof CommonResponseKotlinCollectionsMapKotlinStringSettingVO + */ + isSuccessful: boolean; + /** + * + * @type {string} + * @memberof CommonResponseKotlinCollectionsMapKotlinStringSettingVO + */ + message: string; +} + +/** + * Check if a given object implements the CommonResponseKotlinCollectionsMapKotlinStringSettingVO interface. + */ +export function instanceOfCommonResponseKotlinCollectionsMapKotlinStringSettingVO(value: object): value is CommonResponseKotlinCollectionsMapKotlinStringSettingVO { + if (!('code' in value) || value['code'] === undefined) return false; + if (!('isSuccessful' in value) || value['isSuccessful'] === undefined) return false; + if (!('message' in value) || value['message'] === undefined) return false; + return true; +} + +export function CommonResponseKotlinCollectionsMapKotlinStringSettingVOFromJSON(json: any): CommonResponseKotlinCollectionsMapKotlinStringSettingVO { + return CommonResponseKotlinCollectionsMapKotlinStringSettingVOFromJSONTyped(json, false); +} + +export function CommonResponseKotlinCollectionsMapKotlinStringSettingVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommonResponseKotlinCollectionsMapKotlinStringSettingVO { + if (json == null) { + return json; + } + return { + + 'code': json['code'], + 'data': json['data'] == null ? undefined : { [key: string]: SettingVO; }FromJSON(json['data']), + 'isSuccessful': json['isSuccessful'], + 'message': json['message'], + }; +} + + export function CommonResponseKotlinCollectionsMapKotlinStringSettingVOToJSON(json: any): CommonResponseKotlinCollectionsMapKotlinStringSettingVO { + return CommonResponseKotlinCollectionsMapKotlinStringSettingVOToJSONTyped(json, false); + } + + export function CommonResponseKotlinCollectionsMapKotlinStringSettingVOToJSONTyped(value?: CommonResponseKotlinCollectionsMapKotlinStringSettingVO | null, ignoreDiscriminator: boolean = false): any { + if (value == null) { + return value; + } + + return { + + 'code': value['code'], + 'data': { [key: string]: SettingVO; }ToJSON(value['data']), + 'isSuccessful': value['isSuccessful'], + 'message': value['message'], + }; +} + diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponseKotlinString.ts b/ui/packages/api-client/src/models/CommonResponseKotlinString.ts similarity index 52% rename from ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponseKotlinString.ts rename to ui/packages/api-client/src/models/CommonResponseKotlinString.ts index 232ef9fd..6a807d33 100644 --- a/ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponseKotlinString.ts +++ b/ui/packages/api-client/src/models/CommonResponseKotlinString.ts @@ -16,50 +16,50 @@ import { mapValues } from '../runtime'; /** * * @export - * @interface IoSakurasouControllerVoCommonResponseKotlinString + * @interface CommonResponseKotlinString */ -export interface IoSakurasouControllerVoCommonResponseKotlinString { +export interface CommonResponseKotlinString { /** * * @type {number} - * @memberof IoSakurasouControllerVoCommonResponseKotlinString + * @memberof CommonResponseKotlinString */ code: number; /** * - * @type {any} - * @memberof IoSakurasouControllerVoCommonResponseKotlinString + * @type {string} + * @memberof CommonResponseKotlinString */ - data?: any | null; + data?: string | null; /** * * @type {boolean} - * @memberof IoSakurasouControllerVoCommonResponseKotlinString + * @memberof CommonResponseKotlinString */ isSuccessful: boolean; /** * * @type {string} - * @memberof IoSakurasouControllerVoCommonResponseKotlinString + * @memberof CommonResponseKotlinString */ message: string; } /** - * Check if a given object implements the IoSakurasouControllerVoCommonResponseKotlinString interface. + * Check if a given object implements the CommonResponseKotlinString interface. */ -export function instanceOfIoSakurasouControllerVoCommonResponseKotlinString(value: object): value is IoSakurasouControllerVoCommonResponseKotlinString { +export function instanceOfCommonResponseKotlinString(value: object): value is CommonResponseKotlinString { if (!('code' in value) || value['code'] === undefined) return false; if (!('isSuccessful' in value) || value['isSuccessful'] === undefined) return false; if (!('message' in value) || value['message'] === undefined) return false; return true; } -export function IoSakurasouControllerVoCommonResponseKotlinStringFromJSON(json: any): IoSakurasouControllerVoCommonResponseKotlinString { - return IoSakurasouControllerVoCommonResponseKotlinStringFromJSONTyped(json, false); +export function CommonResponseKotlinStringFromJSON(json: any): CommonResponseKotlinString { + return CommonResponseKotlinStringFromJSONTyped(json, false); } -export function IoSakurasouControllerVoCommonResponseKotlinStringFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerVoCommonResponseKotlinString { +export function CommonResponseKotlinStringFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommonResponseKotlinString { if (json == null) { return json; } @@ -72,10 +72,15 @@ export function IoSakurasouControllerVoCommonResponseKotlinStringFromJSONTyped(j }; } -export function IoSakurasouControllerVoCommonResponseKotlinStringToJSON(value?: IoSakurasouControllerVoCommonResponseKotlinString | null): any { + export function CommonResponseKotlinStringToJSON(json: any): CommonResponseKotlinString { + return CommonResponseKotlinStringToJSONTyped(json, false); + } + + export function CommonResponseKotlinStringToJSONTyped(value?: CommonResponseKotlinString | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } + return { 'code': value['code'], diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponsekotlinUnit.ts b/ui/packages/api-client/src/models/CommonResponseKotlinUnit.ts similarity index 55% rename from ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponsekotlinUnit.ts rename to ui/packages/api-client/src/models/CommonResponseKotlinUnit.ts index ad6814ff..1484bac2 100644 --- a/ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponsekotlinUnit.ts +++ b/ui/packages/api-client/src/models/CommonResponseKotlinUnit.ts @@ -16,50 +16,50 @@ import { mapValues } from '../runtime'; /** * * @export - * @interface IoSakurasouControllerVoCommonResponseKotlinUnit + * @interface CommonResponseKotlinUnit */ -export interface IoSakurasouControllerVoCommonResponseKotlinUnit { +export interface CommonResponseKotlinUnit { /** * * @type {number} - * @memberof IoSakurasouControllerVoCommonResponseKotlinUnit + * @memberof CommonResponseKotlinUnit */ code: number; /** * * @type {any} - * @memberof IoSakurasouControllerVoCommonResponseKotlinUnit + * @memberof CommonResponseKotlinUnit */ data?: any | null; /** * * @type {boolean} - * @memberof IoSakurasouControllerVoCommonResponseKotlinUnit + * @memberof CommonResponseKotlinUnit */ isSuccessful: boolean; /** * * @type {string} - * @memberof IoSakurasouControllerVoCommonResponseKotlinUnit + * @memberof CommonResponseKotlinUnit */ message: string; } /** - * Check if a given object implements the IoSakurasouControllerVoCommonResponseKotlinUnit interface. + * Check if a given object implements the CommonResponseKotlinUnit interface. */ -export function instanceOfIoSakurasouControllerVoCommonResponseKotlinUnit(value: object): value is IoSakurasouControllerVoCommonResponseKotlinUnit { +export function instanceOfCommonResponseKotlinUnit(value: object): value is CommonResponseKotlinUnit { if (!('code' in value) || value['code'] === undefined) return false; if (!('isSuccessful' in value) || value['isSuccessful'] === undefined) return false; if (!('message' in value) || value['message'] === undefined) return false; return true; } -export function IoSakurasouControllerVoCommonResponseKotlinUnitFromJSON(json: any): IoSakurasouControllerVoCommonResponseKotlinUnit { - return IoSakurasouControllerVoCommonResponseKotlinUnitFromJSONTyped(json, false); +export function CommonResponseKotlinUnitFromJSON(json: any): CommonResponseKotlinUnit { + return CommonResponseKotlinUnitFromJSONTyped(json, false); } -export function IoSakurasouControllerVoCommonResponseKotlinUnitFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerVoCommonResponseKotlinUnit { +export function CommonResponseKotlinUnitFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommonResponseKotlinUnit { if (json == null) { return json; } @@ -72,10 +72,15 @@ export function IoSakurasouControllerVoCommonResponseKotlinUnitFromJSONTyped(jso }; } -export function IoSakurasouControllerVoCommonResponseKotlinUnitToJSON(value?: IoSakurasouControllerVoCommonResponseKotlinUnit | null): any { + export function CommonResponseKotlinUnitToJSON(json: any): CommonResponseKotlinUnit { + return CommonResponseKotlinUnitToJSONTyped(json, false); + } + + export function CommonResponseKotlinUnitToJSONTyped(value?: CommonResponseKotlinUnit | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } + return { 'code': value['code'], diff --git a/ui/packages/api-client/src/models/CommonResponsePageResultAlbumPageVO.ts b/ui/packages/api-client/src/models/CommonResponsePageResultAlbumPageVO.ts new file mode 100644 index 00000000..cbed51d7 --- /dev/null +++ b/ui/packages/api-client/src/models/CommonResponsePageResultAlbumPageVO.ts @@ -0,0 +1,100 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * HoshizoraPics API + * API for testing and demonstration purposes. + * + * The version of the OpenAPI document: latest + * + * + * 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'; +import type { PageResultAlbumPageVO } from './PageResultAlbumPageVO'; +import { + PageResultAlbumPageVOFromJSON, + PageResultAlbumPageVOFromJSONTyped, + PageResultAlbumPageVOToJSON, + PageResultAlbumPageVOToJSONTyped, +} from './PageResultAlbumPageVO'; + +/** + * + * @export + * @interface CommonResponsePageResultAlbumPageVO + */ +export interface CommonResponsePageResultAlbumPageVO { + /** + * + * @type {number} + * @memberof CommonResponsePageResultAlbumPageVO + */ + code: number; + /** + * + * @type {PageResultAlbumPageVO} + * @memberof CommonResponsePageResultAlbumPageVO + */ + data?: PageResultAlbumPageVO | null; + /** + * + * @type {boolean} + * @memberof CommonResponsePageResultAlbumPageVO + */ + isSuccessful: boolean; + /** + * + * @type {string} + * @memberof CommonResponsePageResultAlbumPageVO + */ + message: string; +} + +/** + * Check if a given object implements the CommonResponsePageResultAlbumPageVO interface. + */ +export function instanceOfCommonResponsePageResultAlbumPageVO(value: object): value is CommonResponsePageResultAlbumPageVO { + if (!('code' in value) || value['code'] === undefined) return false; + if (!('isSuccessful' in value) || value['isSuccessful'] === undefined) return false; + if (!('message' in value) || value['message'] === undefined) return false; + return true; +} + +export function CommonResponsePageResultAlbumPageVOFromJSON(json: any): CommonResponsePageResultAlbumPageVO { + return CommonResponsePageResultAlbumPageVOFromJSONTyped(json, false); +} + +export function CommonResponsePageResultAlbumPageVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommonResponsePageResultAlbumPageVO { + if (json == null) { + return json; + } + return { + + 'code': json['code'], + 'data': json['data'] == null ? undefined : PageResultAlbumPageVOFromJSON(json['data']), + 'isSuccessful': json['isSuccessful'], + 'message': json['message'], + }; +} + + export function CommonResponsePageResultAlbumPageVOToJSON(json: any): CommonResponsePageResultAlbumPageVO { + return CommonResponsePageResultAlbumPageVOToJSONTyped(json, false); + } + + export function CommonResponsePageResultAlbumPageVOToJSONTyped(value?: CommonResponsePageResultAlbumPageVO | null, ignoreDiscriminator: boolean = false): any { + if (value == null) { + return value; + } + + return { + + 'code': value['code'], + 'data': PageResultAlbumPageVOToJSON(value['data']), + 'isSuccessful': value['isSuccessful'], + 'message': value['message'], + }; +} + diff --git a/ui/packages/api-client/src/models/CommonResponsePageResultGroupPageVO.ts b/ui/packages/api-client/src/models/CommonResponsePageResultGroupPageVO.ts new file mode 100644 index 00000000..477926f5 --- /dev/null +++ b/ui/packages/api-client/src/models/CommonResponsePageResultGroupPageVO.ts @@ -0,0 +1,100 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * HoshizoraPics API + * API for testing and demonstration purposes. + * + * The version of the OpenAPI document: latest + * + * + * 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'; +import type { PageResultGroupPageVO } from './PageResultGroupPageVO'; +import { + PageResultGroupPageVOFromJSON, + PageResultGroupPageVOFromJSONTyped, + PageResultGroupPageVOToJSON, + PageResultGroupPageVOToJSONTyped, +} from './PageResultGroupPageVO'; + +/** + * + * @export + * @interface CommonResponsePageResultGroupPageVO + */ +export interface CommonResponsePageResultGroupPageVO { + /** + * + * @type {number} + * @memberof CommonResponsePageResultGroupPageVO + */ + code: number; + /** + * + * @type {PageResultGroupPageVO} + * @memberof CommonResponsePageResultGroupPageVO + */ + data?: PageResultGroupPageVO | null; + /** + * + * @type {boolean} + * @memberof CommonResponsePageResultGroupPageVO + */ + isSuccessful: boolean; + /** + * + * @type {string} + * @memberof CommonResponsePageResultGroupPageVO + */ + message: string; +} + +/** + * Check if a given object implements the CommonResponsePageResultGroupPageVO interface. + */ +export function instanceOfCommonResponsePageResultGroupPageVO(value: object): value is CommonResponsePageResultGroupPageVO { + if (!('code' in value) || value['code'] === undefined) return false; + if (!('isSuccessful' in value) || value['isSuccessful'] === undefined) return false; + if (!('message' in value) || value['message'] === undefined) return false; + return true; +} + +export function CommonResponsePageResultGroupPageVOFromJSON(json: any): CommonResponsePageResultGroupPageVO { + return CommonResponsePageResultGroupPageVOFromJSONTyped(json, false); +} + +export function CommonResponsePageResultGroupPageVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommonResponsePageResultGroupPageVO { + if (json == null) { + return json; + } + return { + + 'code': json['code'], + 'data': json['data'] == null ? undefined : PageResultGroupPageVOFromJSON(json['data']), + 'isSuccessful': json['isSuccessful'], + 'message': json['message'], + }; +} + + export function CommonResponsePageResultGroupPageVOToJSON(json: any): CommonResponsePageResultGroupPageVO { + return CommonResponsePageResultGroupPageVOToJSONTyped(json, false); + } + + export function CommonResponsePageResultGroupPageVOToJSONTyped(value?: CommonResponsePageResultGroupPageVO | null, ignoreDiscriminator: boolean = false): any { + if (value == null) { + return value; + } + + return { + + 'code': value['code'], + 'data': PageResultGroupPageVOToJSON(value['data']), + 'isSuccessful': value['isSuccessful'], + 'message': value['message'], + }; +} + diff --git a/ui/packages/api-client/src/models/CommonResponsePageResultImagePageVO.ts b/ui/packages/api-client/src/models/CommonResponsePageResultImagePageVO.ts new file mode 100644 index 00000000..df11065e --- /dev/null +++ b/ui/packages/api-client/src/models/CommonResponsePageResultImagePageVO.ts @@ -0,0 +1,100 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * HoshizoraPics API + * API for testing and demonstration purposes. + * + * The version of the OpenAPI document: latest + * + * + * 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'; +import type { PageResultImagePageVO } from './PageResultImagePageVO'; +import { + PageResultImagePageVOFromJSON, + PageResultImagePageVOFromJSONTyped, + PageResultImagePageVOToJSON, + PageResultImagePageVOToJSONTyped, +} from './PageResultImagePageVO'; + +/** + * + * @export + * @interface CommonResponsePageResultImagePageVO + */ +export interface CommonResponsePageResultImagePageVO { + /** + * + * @type {number} + * @memberof CommonResponsePageResultImagePageVO + */ + code: number; + /** + * + * @type {PageResultImagePageVO} + * @memberof CommonResponsePageResultImagePageVO + */ + data?: PageResultImagePageVO | null; + /** + * + * @type {boolean} + * @memberof CommonResponsePageResultImagePageVO + */ + isSuccessful: boolean; + /** + * + * @type {string} + * @memberof CommonResponsePageResultImagePageVO + */ + message: string; +} + +/** + * Check if a given object implements the CommonResponsePageResultImagePageVO interface. + */ +export function instanceOfCommonResponsePageResultImagePageVO(value: object): value is CommonResponsePageResultImagePageVO { + if (!('code' in value) || value['code'] === undefined) return false; + if (!('isSuccessful' in value) || value['isSuccessful'] === undefined) return false; + if (!('message' in value) || value['message'] === undefined) return false; + return true; +} + +export function CommonResponsePageResultImagePageVOFromJSON(json: any): CommonResponsePageResultImagePageVO { + return CommonResponsePageResultImagePageVOFromJSONTyped(json, false); +} + +export function CommonResponsePageResultImagePageVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommonResponsePageResultImagePageVO { + if (json == null) { + return json; + } + return { + + 'code': json['code'], + 'data': json['data'] == null ? undefined : PageResultImagePageVOFromJSON(json['data']), + 'isSuccessful': json['isSuccessful'], + 'message': json['message'], + }; +} + + export function CommonResponsePageResultImagePageVOToJSON(json: any): CommonResponsePageResultImagePageVO { + return CommonResponsePageResultImagePageVOToJSONTyped(json, false); + } + + export function CommonResponsePageResultImagePageVOToJSONTyped(value?: CommonResponsePageResultImagePageVO | null, ignoreDiscriminator: boolean = false): any { + if (value == null) { + return value; + } + + return { + + 'code': value['code'], + 'data': PageResultImagePageVOToJSON(value['data']), + 'isSuccessful': value['isSuccessful'], + 'message': value['message'], + }; +} + diff --git a/ui/packages/api-client/src/models/CommonResponsePageResultStrategyPageVO.ts b/ui/packages/api-client/src/models/CommonResponsePageResultStrategyPageVO.ts new file mode 100644 index 00000000..e747cd6f --- /dev/null +++ b/ui/packages/api-client/src/models/CommonResponsePageResultStrategyPageVO.ts @@ -0,0 +1,100 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * HoshizoraPics API + * API for testing and demonstration purposes. + * + * The version of the OpenAPI document: latest + * + * + * 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'; +import type { PageResultStrategyPageVO } from './PageResultStrategyPageVO'; +import { + PageResultStrategyPageVOFromJSON, + PageResultStrategyPageVOFromJSONTyped, + PageResultStrategyPageVOToJSON, + PageResultStrategyPageVOToJSONTyped, +} from './PageResultStrategyPageVO'; + +/** + * + * @export + * @interface CommonResponsePageResultStrategyPageVO + */ +export interface CommonResponsePageResultStrategyPageVO { + /** + * + * @type {number} + * @memberof CommonResponsePageResultStrategyPageVO + */ + code: number; + /** + * + * @type {PageResultStrategyPageVO} + * @memberof CommonResponsePageResultStrategyPageVO + */ + data?: PageResultStrategyPageVO | null; + /** + * + * @type {boolean} + * @memberof CommonResponsePageResultStrategyPageVO + */ + isSuccessful: boolean; + /** + * + * @type {string} + * @memberof CommonResponsePageResultStrategyPageVO + */ + message: string; +} + +/** + * Check if a given object implements the CommonResponsePageResultStrategyPageVO interface. + */ +export function instanceOfCommonResponsePageResultStrategyPageVO(value: object): value is CommonResponsePageResultStrategyPageVO { + if (!('code' in value) || value['code'] === undefined) return false; + if (!('isSuccessful' in value) || value['isSuccessful'] === undefined) return false; + if (!('message' in value) || value['message'] === undefined) return false; + return true; +} + +export function CommonResponsePageResultStrategyPageVOFromJSON(json: any): CommonResponsePageResultStrategyPageVO { + return CommonResponsePageResultStrategyPageVOFromJSONTyped(json, false); +} + +export function CommonResponsePageResultStrategyPageVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommonResponsePageResultStrategyPageVO { + if (json == null) { + return json; + } + return { + + 'code': json['code'], + 'data': json['data'] == null ? undefined : PageResultStrategyPageVOFromJSON(json['data']), + 'isSuccessful': json['isSuccessful'], + 'message': json['message'], + }; +} + + export function CommonResponsePageResultStrategyPageVOToJSON(json: any): CommonResponsePageResultStrategyPageVO { + return CommonResponsePageResultStrategyPageVOToJSONTyped(json, false); + } + + export function CommonResponsePageResultStrategyPageVOToJSONTyped(value?: CommonResponsePageResultStrategyPageVO | null, ignoreDiscriminator: boolean = false): any { + if (value == null) { + return value; + } + + return { + + 'code': value['code'], + 'data': PageResultStrategyPageVOToJSON(value['data']), + 'isSuccessful': value['isSuccessful'], + 'message': value['message'], + }; +} + diff --git a/ui/packages/api-client/src/models/CommonResponsePageResultUserManageVO.ts b/ui/packages/api-client/src/models/CommonResponsePageResultUserManageVO.ts new file mode 100644 index 00000000..03c4af70 --- /dev/null +++ b/ui/packages/api-client/src/models/CommonResponsePageResultUserManageVO.ts @@ -0,0 +1,100 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * HoshizoraPics API + * API for testing and demonstration purposes. + * + * The version of the OpenAPI document: latest + * + * + * 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'; +import type { PageResultUserManageVO } from './PageResultUserManageVO'; +import { + PageResultUserManageVOFromJSON, + PageResultUserManageVOFromJSONTyped, + PageResultUserManageVOToJSON, + PageResultUserManageVOToJSONTyped, +} from './PageResultUserManageVO'; + +/** + * + * @export + * @interface CommonResponsePageResultUserManageVO + */ +export interface CommonResponsePageResultUserManageVO { + /** + * + * @type {number} + * @memberof CommonResponsePageResultUserManageVO + */ + code: number; + /** + * + * @type {PageResultUserManageVO} + * @memberof CommonResponsePageResultUserManageVO + */ + data?: PageResultUserManageVO | null; + /** + * + * @type {boolean} + * @memberof CommonResponsePageResultUserManageVO + */ + isSuccessful: boolean; + /** + * + * @type {string} + * @memberof CommonResponsePageResultUserManageVO + */ + message: string; +} + +/** + * Check if a given object implements the CommonResponsePageResultUserManageVO interface. + */ +export function instanceOfCommonResponsePageResultUserManageVO(value: object): value is CommonResponsePageResultUserManageVO { + if (!('code' in value) || value['code'] === undefined) return false; + if (!('isSuccessful' in value) || value['isSuccessful'] === undefined) return false; + if (!('message' in value) || value['message'] === undefined) return false; + return true; +} + +export function CommonResponsePageResultUserManageVOFromJSON(json: any): CommonResponsePageResultUserManageVO { + return CommonResponsePageResultUserManageVOFromJSONTyped(json, false); +} + +export function CommonResponsePageResultUserManageVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommonResponsePageResultUserManageVO { + if (json == null) { + return json; + } + return { + + 'code': json['code'], + 'data': json['data'] == null ? undefined : PageResultUserManageVOFromJSON(json['data']), + 'isSuccessful': json['isSuccessful'], + 'message': json['message'], + }; +} + + export function CommonResponsePageResultUserManageVOToJSON(json: any): CommonResponsePageResultUserManageVO { + return CommonResponsePageResultUserManageVOToJSONTyped(json, false); + } + + export function CommonResponsePageResultUserManageVOToJSONTyped(value?: CommonResponsePageResultUserManageVO | null, ignoreDiscriminator: boolean = false): any { + if (value == null) { + return value; + } + + return { + + 'code': value['code'], + 'data': PageResultUserManageVOToJSON(value['data']), + 'isSuccessful': value['isSuccessful'], + 'message': value['message'], + }; +} + diff --git a/ui/packages/api-client/src/models/CommonResponseStrategyVO.ts b/ui/packages/api-client/src/models/CommonResponseStrategyVO.ts new file mode 100644 index 00000000..0f20cc12 --- /dev/null +++ b/ui/packages/api-client/src/models/CommonResponseStrategyVO.ts @@ -0,0 +1,100 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * HoshizoraPics API + * API for testing and demonstration purposes. + * + * The version of the OpenAPI document: latest + * + * + * 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'; +import type { StrategyVO } from './StrategyVO'; +import { + StrategyVOFromJSON, + StrategyVOFromJSONTyped, + StrategyVOToJSON, + StrategyVOToJSONTyped, +} from './StrategyVO'; + +/** + * + * @export + * @interface CommonResponseStrategyVO + */ +export interface CommonResponseStrategyVO { + /** + * + * @type {number} + * @memberof CommonResponseStrategyVO + */ + code: number; + /** + * + * @type {StrategyVO} + * @memberof CommonResponseStrategyVO + */ + data?: StrategyVO | null; + /** + * + * @type {boolean} + * @memberof CommonResponseStrategyVO + */ + isSuccessful: boolean; + /** + * + * @type {string} + * @memberof CommonResponseStrategyVO + */ + message: string; +} + +/** + * Check if a given object implements the CommonResponseStrategyVO interface. + */ +export function instanceOfCommonResponseStrategyVO(value: object): value is CommonResponseStrategyVO { + if (!('code' in value) || value['code'] === undefined) return false; + if (!('isSuccessful' in value) || value['isSuccessful'] === undefined) return false; + if (!('message' in value) || value['message'] === undefined) return false; + return true; +} + +export function CommonResponseStrategyVOFromJSON(json: any): CommonResponseStrategyVO { + return CommonResponseStrategyVOFromJSONTyped(json, false); +} + +export function CommonResponseStrategyVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommonResponseStrategyVO { + if (json == null) { + return json; + } + return { + + 'code': json['code'], + 'data': json['data'] == null ? undefined : StrategyVOFromJSON(json['data']), + 'isSuccessful': json['isSuccessful'], + 'message': json['message'], + }; +} + + export function CommonResponseStrategyVOToJSON(json: any): CommonResponseStrategyVO { + return CommonResponseStrategyVOToJSONTyped(json, false); + } + + export function CommonResponseStrategyVOToJSONTyped(value?: CommonResponseStrategyVO | null, ignoreDiscriminator: boolean = false): any { + if (value == null) { + return value; + } + + return { + + 'code': value['code'], + 'data': StrategyVOToJSON(value['data']), + 'isSuccessful': value['isSuccessful'], + 'message': value['message'], + }; +} + diff --git a/ui/packages/api-client/src/models/CommonResponseUserVO.ts b/ui/packages/api-client/src/models/CommonResponseUserVO.ts new file mode 100644 index 00000000..84b3d3c3 --- /dev/null +++ b/ui/packages/api-client/src/models/CommonResponseUserVO.ts @@ -0,0 +1,100 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * HoshizoraPics API + * API for testing and demonstration purposes. + * + * The version of the OpenAPI document: latest + * + * + * 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'; +import type { UserVO } from './UserVO'; +import { + UserVOFromJSON, + UserVOFromJSONTyped, + UserVOToJSON, + UserVOToJSONTyped, +} from './UserVO'; + +/** + * + * @export + * @interface CommonResponseUserVO + */ +export interface CommonResponseUserVO { + /** + * + * @type {number} + * @memberof CommonResponseUserVO + */ + code: number; + /** + * + * @type {UserVO} + * @memberof CommonResponseUserVO + */ + data?: UserVO | null; + /** + * + * @type {boolean} + * @memberof CommonResponseUserVO + */ + isSuccessful: boolean; + /** + * + * @type {string} + * @memberof CommonResponseUserVO + */ + message: string; +} + +/** + * Check if a given object implements the CommonResponseUserVO interface. + */ +export function instanceOfCommonResponseUserVO(value: object): value is CommonResponseUserVO { + if (!('code' in value) || value['code'] === undefined) return false; + if (!('isSuccessful' in value) || value['isSuccessful'] === undefined) return false; + if (!('message' in value) || value['message'] === undefined) return false; + return true; +} + +export function CommonResponseUserVOFromJSON(json: any): CommonResponseUserVO { + return CommonResponseUserVOFromJSONTyped(json, false); +} + +export function CommonResponseUserVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommonResponseUserVO { + if (json == null) { + return json; + } + return { + + 'code': json['code'], + 'data': json['data'] == null ? undefined : UserVOFromJSON(json['data']), + 'isSuccessful': json['isSuccessful'], + 'message': json['message'], + }; +} + + export function CommonResponseUserVOToJSON(json: any): CommonResponseUserVO { + return CommonResponseUserVOToJSONTyped(json, false); + } + + export function CommonResponseUserVOToJSONTyped(value?: CommonResponseUserVO | null, ignoreDiscriminator: boolean = false): any { + if (value == null) { + return value; + } + + return { + + 'code': value['code'], + 'data': UserVOToJSON(value['data']), + 'isSuccessful': value['isSuccessful'], + 'message': value['message'], + }; +} + diff --git a/ui/packages/api-client/src/models/GroupConfig.ts b/ui/packages/api-client/src/models/GroupConfig.ts new file mode 100644 index 00000000..c3f121e4 --- /dev/null +++ b/ui/packages/api-client/src/models/GroupConfig.ts @@ -0,0 +1,74 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * HoshizoraPics API + * API for testing and demonstration purposes. + * + * The version of the OpenAPI document: latest + * + * + * 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'; +import type { GroupStrategyConfig } from './GroupStrategyConfig'; +import { + GroupStrategyConfigFromJSON, + GroupStrategyConfigFromJSONTyped, + GroupStrategyConfigToJSON, + GroupStrategyConfigToJSONTyped, +} from './GroupStrategyConfig'; + +/** + * + * @export + * @interface GroupConfig + */ +export interface GroupConfig { + /** + * + * @type {GroupStrategyConfig} + * @memberof GroupConfig + */ + groupStrategyConfig: GroupStrategyConfig; +} + +/** + * Check if a given object implements the GroupConfig interface. + */ +export function instanceOfGroupConfig(value: object): value is GroupConfig { + if (!('groupStrategyConfig' in value) || value['groupStrategyConfig'] === undefined) return false; + return true; +} + +export function GroupConfigFromJSON(json: any): GroupConfig { + return GroupConfigFromJSONTyped(json, false); +} + +export function GroupConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupConfig { + if (json == null) { + return json; + } + return { + + 'groupStrategyConfig': GroupStrategyConfigFromJSON(json['groupStrategyConfig']), + }; +} + + export function GroupConfigToJSON(json: any): GroupConfig { + return GroupConfigToJSONTyped(json, false); + } + + export function GroupConfigToJSONTyped(value?: GroupConfig | null, ignoreDiscriminator: boolean = false): any { + if (value == null) { + return value; + } + + return { + + 'groupStrategyConfig': GroupStrategyConfigToJSON(value['groupStrategyConfig']), + }; +} + diff --git a/ui/packages/api-client/src/models/GroupConfigUpdatePatch.ts b/ui/packages/api-client/src/models/GroupConfigUpdatePatch.ts new file mode 100644 index 00000000..e198946c --- /dev/null +++ b/ui/packages/api-client/src/models/GroupConfigUpdatePatch.ts @@ -0,0 +1,73 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * HoshizoraPics API + * API for testing and demonstration purposes. + * + * The version of the OpenAPI document: latest + * + * + * 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'; +import type { GroupStrategyConfig } from './GroupStrategyConfig'; +import { + GroupStrategyConfigFromJSON, + GroupStrategyConfigFromJSONTyped, + GroupStrategyConfigToJSON, + GroupStrategyConfigToJSONTyped, +} from './GroupStrategyConfig'; + +/** + * + * @export + * @interface GroupConfigUpdatePatch + */ +export interface GroupConfigUpdatePatch { + /** + * + * @type {GroupStrategyConfig} + * @memberof GroupConfigUpdatePatch + */ + groupStrategyConfig?: GroupStrategyConfig | null; +} + +/** + * Check if a given object implements the GroupConfigUpdatePatch interface. + */ +export function instanceOfGroupConfigUpdatePatch(value: object): value is GroupConfigUpdatePatch { + return true; +} + +export function GroupConfigUpdatePatchFromJSON(json: any): GroupConfigUpdatePatch { + return GroupConfigUpdatePatchFromJSONTyped(json, false); +} + +export function GroupConfigUpdatePatchFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupConfigUpdatePatch { + if (json == null) { + return json; + } + return { + + 'groupStrategyConfig': json['groupStrategyConfig'] == null ? undefined : GroupStrategyConfigFromJSON(json['groupStrategyConfig']), + }; +} + + export function GroupConfigUpdatePatchToJSON(json: any): GroupConfigUpdatePatch { + return GroupConfigUpdatePatchToJSONTyped(json, false); + } + + export function GroupConfigUpdatePatchToJSONTyped(value?: GroupConfigUpdatePatch | null, ignoreDiscriminator: boolean = false): any { + if (value == null) { + return value; + } + + return { + + 'groupStrategyConfig': GroupStrategyConfigToJSON(value['groupStrategyConfig']), + }; +} + diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerRequestGroupInsertRequest.ts b/ui/packages/api-client/src/models/GroupInsertRequest.ts similarity index 54% rename from ui/packages/api-client/src/models/IoSakurasouControllerRequestGroupInsertRequest.ts rename to ui/packages/api-client/src/models/GroupInsertRequest.ts index 61157de7..b326800e 100644 --- a/ui/packages/api-client/src/models/IoSakurasouControllerRequestGroupInsertRequest.ts +++ b/ui/packages/api-client/src/models/GroupInsertRequest.ts @@ -16,50 +16,50 @@ import { mapValues } from '../runtime'; /** * * @export - * @interface IoSakurasouControllerRequestGroupInsertRequest + * @interface GroupInsertRequest */ -export interface IoSakurasouControllerRequestGroupInsertRequest { +export interface GroupInsertRequest { /** * - * @type {any} - * @memberof IoSakurasouControllerRequestGroupInsertRequest + * @type {string} + * @memberof GroupInsertRequest */ - description?: any | null; + description?: string | null; /** * * @type {string} - * @memberof IoSakurasouControllerRequestGroupInsertRequest + * @memberof GroupInsertRequest */ name: string; /** * * @type {Array} - * @memberof IoSakurasouControllerRequestGroupInsertRequest + * @memberof GroupInsertRequest */ roles: Array; /** * * @type {number} - * @memberof IoSakurasouControllerRequestGroupInsertRequest + * @memberof GroupInsertRequest */ strategyId: number; } /** - * Check if a given object implements the IoSakurasouControllerRequestGroupInsertRequest interface. + * Check if a given object implements the GroupInsertRequest interface. */ -export function instanceOfIoSakurasouControllerRequestGroupInsertRequest(value: object): value is IoSakurasouControllerRequestGroupInsertRequest { +export function instanceOfGroupInsertRequest(value: object): value is GroupInsertRequest { if (!('name' in value) || value['name'] === undefined) return false; if (!('roles' in value) || value['roles'] === undefined) return false; if (!('strategyId' in value) || value['strategyId'] === undefined) return false; return true; } -export function IoSakurasouControllerRequestGroupInsertRequestFromJSON(json: any): IoSakurasouControllerRequestGroupInsertRequest { - return IoSakurasouControllerRequestGroupInsertRequestFromJSONTyped(json, false); +export function GroupInsertRequestFromJSON(json: any): GroupInsertRequest { + return GroupInsertRequestFromJSONTyped(json, false); } -export function IoSakurasouControllerRequestGroupInsertRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerRequestGroupInsertRequest { +export function GroupInsertRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupInsertRequest { if (json == null) { return json; } @@ -72,10 +72,15 @@ export function IoSakurasouControllerRequestGroupInsertRequestFromJSONTyped(json }; } -export function IoSakurasouControllerRequestGroupInsertRequestToJSON(value?: IoSakurasouControllerRequestGroupInsertRequest | null): any { + export function GroupInsertRequestToJSON(json: any): GroupInsertRequest { + return GroupInsertRequestToJSONTyped(json, false); + } + + export function GroupInsertRequestToJSONTyped(value?: GroupInsertRequest | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } + return { 'description': value['description'], diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerVoGroupPageVO.ts b/ui/packages/api-client/src/models/GroupPageVO.ts similarity index 63% rename from ui/packages/api-client/src/models/IoSakurasouControllerVoGroupPageVO.ts rename to ui/packages/api-client/src/models/GroupPageVO.ts index e5869d9b..f963d565 100644 --- a/ui/packages/api-client/src/models/IoSakurasouControllerVoGroupPageVO.ts +++ b/ui/packages/api-client/src/models/GroupPageVO.ts @@ -16,45 +16,45 @@ import { mapValues } from '../runtime'; /** * * @export - * @interface IoSakurasouControllerVoGroupPageVO + * @interface GroupPageVO */ -export interface IoSakurasouControllerVoGroupPageVO { +export interface GroupPageVO { /** * * @type {number} - * @memberof IoSakurasouControllerVoGroupPageVO + * @memberof GroupPageVO */ id: number; /** * * @type {string} - * @memberof IoSakurasouControllerVoGroupPageVO + * @memberof GroupPageVO */ name: string; /** * * @type {number} - * @memberof IoSakurasouControllerVoGroupPageVO + * @memberof GroupPageVO */ strategyId: number; /** * * @type {number} - * @memberof IoSakurasouControllerVoGroupPageVO + * @memberof GroupPageVO */ totalImageCount: number; /** * * @type {number} - * @memberof IoSakurasouControllerVoGroupPageVO + * @memberof GroupPageVO */ totalImageSize: number; } /** - * Check if a given object implements the IoSakurasouControllerVoGroupPageVO interface. + * Check if a given object implements the GroupPageVO interface. */ -export function instanceOfIoSakurasouControllerVoGroupPageVO(value: object): value is IoSakurasouControllerVoGroupPageVO { +export function instanceOfGroupPageVO(value: object): value is GroupPageVO { if (!('id' in value) || value['id'] === undefined) return false; if (!('name' in value) || value['name'] === undefined) return false; if (!('strategyId' in value) || value['strategyId'] === undefined) return false; @@ -63,11 +63,11 @@ export function instanceOfIoSakurasouControllerVoGroupPageVO(value: object): val return true; } -export function IoSakurasouControllerVoGroupPageVOFromJSON(json: any): IoSakurasouControllerVoGroupPageVO { - return IoSakurasouControllerVoGroupPageVOFromJSONTyped(json, false); +export function GroupPageVOFromJSON(json: any): GroupPageVO { + return GroupPageVOFromJSONTyped(json, false); } -export function IoSakurasouControllerVoGroupPageVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerVoGroupPageVO { +export function GroupPageVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupPageVO { if (json == null) { return json; } @@ -81,10 +81,15 @@ export function IoSakurasouControllerVoGroupPageVOFromJSONTyped(json: any, ignor }; } -export function IoSakurasouControllerVoGroupPageVOToJSON(value?: IoSakurasouControllerVoGroupPageVO | null): any { + export function GroupPageVOToJSON(json: any): GroupPageVO { + return GroupPageVOToJSONTyped(json, false); + } + + export function GroupPageVOToJSONTyped(value?: GroupPageVO | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } + return { 'id': value['id'], diff --git a/ui/packages/api-client/src/models/GroupPatchRequest.ts b/ui/packages/api-client/src/models/GroupPatchRequest.ts new file mode 100644 index 00000000..85b0cbf4 --- /dev/null +++ b/ui/packages/api-client/src/models/GroupPatchRequest.ts @@ -0,0 +1,105 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * HoshizoraPics API + * API for testing and demonstration purposes. + * + * The version of the OpenAPI document: latest + * + * + * 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'; +import type { GroupConfigUpdatePatch } from './GroupConfigUpdatePatch'; +import { + GroupConfigUpdatePatchFromJSON, + GroupConfigUpdatePatchFromJSONTyped, + GroupConfigUpdatePatchToJSON, + GroupConfigUpdatePatchToJSONTyped, +} from './GroupConfigUpdatePatch'; + +/** + * + * @export + * @interface GroupPatchRequest + */ +export interface GroupPatchRequest { + /** + * + * @type {GroupConfigUpdatePatch} + * @memberof GroupPatchRequest + */ + config?: GroupConfigUpdatePatch | null; + /** + * + * @type {string} + * @memberof GroupPatchRequest + */ + description?: string | null; + /** + * + * @type {string} + * @memberof GroupPatchRequest + */ + name?: string | null; + /** + * + * @type {Array} + * @memberof GroupPatchRequest + */ + roles?: Array | null; + /** + * + * @type {number} + * @memberof GroupPatchRequest + */ + strategyId?: number | null; +} + +/** + * Check if a given object implements the GroupPatchRequest interface. + */ +export function instanceOfGroupPatchRequest(value: object): value is GroupPatchRequest { + return true; +} + +export function GroupPatchRequestFromJSON(json: any): GroupPatchRequest { + return GroupPatchRequestFromJSONTyped(json, false); +} + +export function GroupPatchRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupPatchRequest { + if (json == null) { + return json; + } + return { + + 'config': json['config'] == null ? undefined : GroupConfigUpdatePatchFromJSON(json['config']), + 'description': json['description'] == null ? undefined : json['description'], + 'name': json['name'] == null ? undefined : json['name'], + 'roles': json['roles'] == null ? undefined : json['roles'], + 'strategyId': json['strategyId'] == null ? undefined : json['strategyId'], + }; +} + + export function GroupPatchRequestToJSON(json: any): GroupPatchRequest { + return GroupPatchRequestToJSONTyped(json, false); + } + + export function GroupPatchRequestToJSONTyped(value?: GroupPatchRequest | null, ignoreDiscriminator: boolean = false): any { + if (value == null) { + return value; + } + + return { + + 'config': GroupConfigUpdatePatchToJSON(value['config']), + 'description': value['description'], + 'name': value['name'], + 'roles': value['roles'], + 'strategyId': value['strategyId'], + }; +} + diff --git a/ui/packages/api-client/src/models/IoSakurasouModelGroupGroupStrategyConfig.ts b/ui/packages/api-client/src/models/GroupStrategyConfig.ts similarity index 52% rename from ui/packages/api-client/src/models/IoSakurasouModelGroupGroupStrategyConfig.ts rename to ui/packages/api-client/src/models/GroupStrategyConfig.ts index 102afcd8..d8b68203 100644 --- a/ui/packages/api-client/src/models/IoSakurasouModelGroupGroupStrategyConfig.ts +++ b/ui/packages/api-client/src/models/GroupStrategyConfig.ts @@ -13,59 +13,60 @@ */ import { mapValues } from '../runtime'; -import type { IoSakurasouModelGroupImageType } from './IoSakurasouModelGroupImageType'; +import type { ImageTypeEnum } from './ImageTypeEnum'; import { - IoSakurasouModelGroupImageTypeFromJSON, - IoSakurasouModelGroupImageTypeFromJSONTyped, - IoSakurasouModelGroupImageTypeToJSON, -} from './IoSakurasouModelGroupImageType'; + ImageTypeEnumFromJSON, + ImageTypeEnumFromJSONTyped, + ImageTypeEnumToJSON, + ImageTypeEnumToJSONTyped, +} from './ImageTypeEnum'; /** * * @export - * @interface IoSakurasouModelGroupGroupStrategyConfig + * @interface GroupStrategyConfig */ -export interface IoSakurasouModelGroupGroupStrategyConfig { +export interface GroupStrategyConfig { /** * - * @type {Set} - * @memberof IoSakurasouModelGroupGroupStrategyConfig + * @type {Set} + * @memberof GroupStrategyConfig */ - allowedImageTypes: Set; + allowedImageTypes: Set; /** * * @type {string} - * @memberof IoSakurasouModelGroupGroupStrategyConfig + * @memberof GroupStrategyConfig */ fileNamingRule: string; /** * - * @type {IoSakurasouModelGroupImageType} - * @memberof IoSakurasouModelGroupGroupStrategyConfig + * @type {ImageTypeEnum} + * @memberof GroupStrategyConfig */ - imageAutoTransformTarget?: IoSakurasouModelGroupImageType | null; + imageAutoTransformTarget?: ImageTypeEnum | null; /** * * @type {number} - * @memberof IoSakurasouModelGroupGroupStrategyConfig + * @memberof GroupStrategyConfig */ imageQuality: number; /** * * @type {number} - * @memberof IoSakurasouModelGroupGroupStrategyConfig + * @memberof GroupStrategyConfig */ maxSize: number; /** * * @type {string} - * @memberof IoSakurasouModelGroupGroupStrategyConfig + * @memberof GroupStrategyConfig */ pathNamingRule: string; /** * * @type {number} - * @memberof IoSakurasouModelGroupGroupStrategyConfig + * @memberof GroupStrategyConfig */ singleFileMaxSize: number; } @@ -73,9 +74,9 @@ export interface IoSakurasouModelGroupGroupStrategyConfig { /** - * Check if a given object implements the IoSakurasouModelGroupGroupStrategyConfig interface. + * Check if a given object implements the GroupStrategyConfig interface. */ -export function instanceOfIoSakurasouModelGroupGroupStrategyConfig(value: object): value is IoSakurasouModelGroupGroupStrategyConfig { +export function instanceOfGroupStrategyConfig(value: object): value is GroupStrategyConfig { if (!('allowedImageTypes' in value) || value['allowedImageTypes'] === undefined) return false; if (!('fileNamingRule' in value) || value['fileNamingRule'] === undefined) return false; if (!('imageQuality' in value) || value['imageQuality'] === undefined) return false; @@ -85,19 +86,19 @@ export function instanceOfIoSakurasouModelGroupGroupStrategyConfig(value: object return true; } -export function IoSakurasouModelGroupGroupStrategyConfigFromJSON(json: any): IoSakurasouModelGroupGroupStrategyConfig { - return IoSakurasouModelGroupGroupStrategyConfigFromJSONTyped(json, false); +export function GroupStrategyConfigFromJSON(json: any): GroupStrategyConfig { + return GroupStrategyConfigFromJSONTyped(json, false); } -export function IoSakurasouModelGroupGroupStrategyConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouModelGroupGroupStrategyConfig { +export function GroupStrategyConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupStrategyConfig { if (json == null) { return json; } return { - 'allowedImageTypes': (new Set((json['allowedImageTypes'] as Array).map(IoSakurasouModelGroupImageTypeFromJSON))), + 'allowedImageTypes': (new Set((json['allowedImageTypes'] as Array).map(ImageTypeEnumFromJSON))), 'fileNamingRule': json['fileNamingRule'], - 'imageAutoTransformTarget': json['imageAutoTransformTarget'] == null ? undefined : IoSakurasouModelGroupImageTypeFromJSON(json['imageAutoTransformTarget']), + 'imageAutoTransformTarget': json['imageAutoTransformTarget'] == null ? undefined : ImageTypeEnumFromJSON(json['imageAutoTransformTarget']), 'imageQuality': json['imageQuality'], 'maxSize': json['maxSize'], 'pathNamingRule': json['pathNamingRule'], @@ -105,15 +106,20 @@ export function IoSakurasouModelGroupGroupStrategyConfigFromJSONTyped(json: any, }; } -export function IoSakurasouModelGroupGroupStrategyConfigToJSON(value?: IoSakurasouModelGroupGroupStrategyConfig | null): any { + export function GroupStrategyConfigToJSON(json: any): GroupStrategyConfig { + return GroupStrategyConfigToJSONTyped(json, false); + } + + export function GroupStrategyConfigToJSONTyped(value?: GroupStrategyConfig | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } + return { - 'allowedImageTypes': (Array.from(value['allowedImageTypes'] as Set).map(IoSakurasouModelGroupImageTypeToJSON)), + 'allowedImageTypes': (Array.from(value['allowedImageTypes'] as Set).map(ImageTypeEnumToJSON)), 'fileNamingRule': value['fileNamingRule'], - 'imageAutoTransformTarget': IoSakurasouModelGroupImageTypeToJSON(value['imageAutoTransformTarget']), + 'imageAutoTransformTarget': ImageTypeEnumToJSON(value['imageAutoTransformTarget']), 'imageQuality': value['imageQuality'], 'maxSize': value['maxSize'], 'pathNamingRule': value['pathNamingRule'], diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerVoGroupVO.ts b/ui/packages/api-client/src/models/GroupVO.ts similarity index 51% rename from ui/packages/api-client/src/models/IoSakurasouControllerVoGroupVO.ts rename to ui/packages/api-client/src/models/GroupVO.ts index 325e4606..eda8893c 100644 --- a/ui/packages/api-client/src/models/IoSakurasouControllerVoGroupVO.ts +++ b/ui/packages/api-client/src/models/GroupVO.ts @@ -13,61 +13,62 @@ */ import { mapValues } from '../runtime'; -import type { IoSakurasouModelGroupGroupConfig } from './IoSakurasouModelGroupGroupConfig'; +import type { GroupConfig } from './GroupConfig'; import { - IoSakurasouModelGroupGroupConfigFromJSON, - IoSakurasouModelGroupGroupConfigFromJSONTyped, - IoSakurasouModelGroupGroupConfigToJSON, -} from './IoSakurasouModelGroupGroupConfig'; + GroupConfigFromJSON, + GroupConfigFromJSONTyped, + GroupConfigToJSON, + GroupConfigToJSONTyped, +} from './GroupConfig'; /** * * @export - * @interface IoSakurasouControllerVoGroupVO + * @interface GroupVO */ -export interface IoSakurasouControllerVoGroupVO { +export interface GroupVO { /** * - * @type {any} - * @memberof IoSakurasouControllerVoGroupVO + * @type {string} + * @memberof GroupVO */ - description?: any | null; + description?: string | null; /** * - * @type {IoSakurasouModelGroupGroupConfig} - * @memberof IoSakurasouControllerVoGroupVO + * @type {GroupConfig} + * @memberof GroupVO */ - groupConfig: IoSakurasouModelGroupGroupConfig; + groupConfig: GroupConfig; /** * * @type {number} - * @memberof IoSakurasouControllerVoGroupVO + * @memberof GroupVO */ id: number; /** * * @type {string} - * @memberof IoSakurasouControllerVoGroupVO + * @memberof GroupVO */ name: string; /** * * @type {Array} - * @memberof IoSakurasouControllerVoGroupVO + * @memberof GroupVO */ roles: Array; /** * * @type {number} - * @memberof IoSakurasouControllerVoGroupVO + * @memberof GroupVO */ strategyId: number; } /** - * Check if a given object implements the IoSakurasouControllerVoGroupVO interface. + * Check if a given object implements the GroupVO interface. */ -export function instanceOfIoSakurasouControllerVoGroupVO(value: object): value is IoSakurasouControllerVoGroupVO { +export function instanceOfGroupVO(value: object): value is GroupVO { if (!('groupConfig' in value) || value['groupConfig'] === undefined) return false; if (!('id' in value) || value['id'] === undefined) return false; if (!('name' in value) || value['name'] === undefined) return false; @@ -76,18 +77,18 @@ export function instanceOfIoSakurasouControllerVoGroupVO(value: object): value i return true; } -export function IoSakurasouControllerVoGroupVOFromJSON(json: any): IoSakurasouControllerVoGroupVO { - return IoSakurasouControllerVoGroupVOFromJSONTyped(json, false); +export function GroupVOFromJSON(json: any): GroupVO { + return GroupVOFromJSONTyped(json, false); } -export function IoSakurasouControllerVoGroupVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerVoGroupVO { +export function GroupVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupVO { if (json == null) { return json; } return { 'description': json['description'] == null ? undefined : json['description'], - 'groupConfig': IoSakurasouModelGroupGroupConfigFromJSON(json['groupConfig']), + 'groupConfig': GroupConfigFromJSON(json['groupConfig']), 'id': json['id'], 'name': json['name'], 'roles': json['roles'], @@ -95,14 +96,19 @@ export function IoSakurasouControllerVoGroupVOFromJSONTyped(json: any, ignoreDis }; } -export function IoSakurasouControllerVoGroupVOToJSON(value?: IoSakurasouControllerVoGroupVO | null): any { + export function GroupVOToJSON(json: any): GroupVO { + return GroupVOToJSONTyped(json, false); + } + + export function GroupVOToJSONTyped(value?: GroupVO | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } + return { 'description': value['description'], - 'groupConfig': IoSakurasouModelGroupGroupConfigToJSON(value['groupConfig']), + 'groupConfig': GroupConfigToJSON(value['groupConfig']), 'id': value['id'], 'name': value['name'], 'roles': value['roles'], diff --git a/ui/packages/api-client/src/models/ImageInsertRequest.ts b/ui/packages/api-client/src/models/ImageInsertRequest.ts new file mode 100644 index 00000000..06d082f4 --- /dev/null +++ b/ui/packages/api-client/src/models/ImageInsertRequest.ts @@ -0,0 +1,89 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * HoshizoraPics API + * API for testing and demonstration purposes. + * + * The version of the OpenAPI document: latest + * + * + * 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 ImageInsertRequest + */ +export interface ImageInsertRequest { + /** + * + * @type {number} + * @memberof ImageInsertRequest + */ + albumId?: number | null; + /** + * + * @type {string} + * @memberof ImageInsertRequest + */ + description?: string | null; + /** + * + * @type {string} + * @memberof ImageInsertRequest + */ + displayName?: string | null; + /** + * + * @type {boolean} + * @memberof ImageInsertRequest + */ + isPrivate?: boolean | null; +} + +/** + * Check if a given object implements the ImageInsertRequest interface. + */ +export function instanceOfImageInsertRequest(value: object): value is ImageInsertRequest { + return true; +} + +export function ImageInsertRequestFromJSON(json: any): ImageInsertRequest { + return ImageInsertRequestFromJSONTyped(json, false); +} + +export function ImageInsertRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageInsertRequest { + if (json == null) { + return json; + } + return { + + 'albumId': json['albumId'] == null ? undefined : json['albumId'], + 'description': json['description'] == null ? undefined : json['description'], + 'displayName': json['displayName'] == null ? undefined : json['displayName'], + 'isPrivate': json['isPrivate'] == null ? undefined : json['isPrivate'], + }; +} + + export function ImageInsertRequestToJSON(json: any): ImageInsertRequest { + return ImageInsertRequestToJSONTyped(json, false); + } + + export function ImageInsertRequestToJSONTyped(value?: ImageInsertRequest | null, ignoreDiscriminator: boolean = false): any { + if (value == null) { + return value; + } + + return { + + 'albumId': value['albumId'], + 'description': value['description'], + 'displayName': value['displayName'], + 'isPrivate': value['isPrivate'], + }; +} + diff --git a/ui/packages/api-client/src/models/ImageManagePatchRequest.ts b/ui/packages/api-client/src/models/ImageManagePatchRequest.ts new file mode 100644 index 00000000..85ed80d5 --- /dev/null +++ b/ui/packages/api-client/src/models/ImageManagePatchRequest.ts @@ -0,0 +1,97 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * HoshizoraPics API + * API for testing and demonstration purposes. + * + * The version of the OpenAPI document: latest + * + * + * 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 ImageManagePatchRequest + */ +export interface ImageManagePatchRequest { + /** + * + * @type {number} + * @memberof ImageManagePatchRequest + */ + albumId?: number | null; + /** + * + * @type {string} + * @memberof ImageManagePatchRequest + */ + description?: string | null; + /** + * + * @type {string} + * @memberof ImageManagePatchRequest + */ + displayName?: string | null; + /** + * + * @type {boolean} + * @memberof ImageManagePatchRequest + */ + isPrivate?: boolean | null; + /** + * + * @type {number} + * @memberof ImageManagePatchRequest + */ + userId?: number | null; +} + +/** + * Check if a given object implements the ImageManagePatchRequest interface. + */ +export function instanceOfImageManagePatchRequest(value: object): value is ImageManagePatchRequest { + return true; +} + +export function ImageManagePatchRequestFromJSON(json: any): ImageManagePatchRequest { + return ImageManagePatchRequestFromJSONTyped(json, false); +} + +export function ImageManagePatchRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageManagePatchRequest { + if (json == null) { + return json; + } + return { + + 'albumId': json['albumId'] == null ? undefined : json['albumId'], + 'description': json['description'] == null ? undefined : json['description'], + 'displayName': json['displayName'] == null ? undefined : json['displayName'], + 'isPrivate': json['isPrivate'] == null ? undefined : json['isPrivate'], + 'userId': json['userId'] == null ? undefined : json['userId'], + }; +} + + export function ImageManagePatchRequestToJSON(json: any): ImageManagePatchRequest { + return ImageManagePatchRequestToJSONTyped(json, false); + } + + export function ImageManagePatchRequestToJSONTyped(value?: ImageManagePatchRequest | null, ignoreDiscriminator: boolean = false): any { + if (value == null) { + return value; + } + + return { + + 'albumId': value['albumId'], + 'description': value['description'], + 'displayName': value['displayName'], + 'isPrivate': value['isPrivate'], + 'userId': value['userId'], + }; +} + diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerVoImageManageVO.ts b/ui/packages/api-client/src/models/ImageManageVO.ts similarity index 73% rename from ui/packages/api-client/src/models/IoSakurasouControllerVoImageManageVO.ts rename to ui/packages/api-client/src/models/ImageManageVO.ts index e420ae49..0fbea2b9 100644 --- a/ui/packages/api-client/src/models/IoSakurasouControllerVoImageManageVO.ts +++ b/ui/packages/api-client/src/models/ImageManageVO.ts @@ -18,128 +18,129 @@ import { KotlinxDatetimeLocalDateTimeFromJSON, KotlinxDatetimeLocalDateTimeFromJSONTyped, KotlinxDatetimeLocalDateTimeToJSON, + KotlinxDatetimeLocalDateTimeToJSONTyped, } from './KotlinxDatetimeLocalDateTime'; /** * * @export - * @interface IoSakurasouControllerVoImageManageVO + * @interface ImageManageVO */ -export interface IoSakurasouControllerVoImageManageVO { +export interface ImageManageVO { /** * * @type {number} - * @memberof IoSakurasouControllerVoImageManageVO + * @memberof ImageManageVO */ albumId: number; /** * * @type {string} - * @memberof IoSakurasouControllerVoImageManageVO + * @memberof ImageManageVO */ albumName: string; /** * * @type {KotlinxDatetimeLocalDateTime} - * @memberof IoSakurasouControllerVoImageManageVO + * @memberof ImageManageVO */ createTime: KotlinxDatetimeLocalDateTime; /** * - * @type {any} - * @memberof IoSakurasouControllerVoImageManageVO + * @type {string} + * @memberof ImageManageVO */ - description?: any | null; + description?: string | null; /** * * @type {string} - * @memberof IoSakurasouControllerVoImageManageVO + * @memberof ImageManageVO */ displayName: string; /** * * @type {number} - * @memberof IoSakurasouControllerVoImageManageVO + * @memberof ImageManageVO */ groupId: number; /** * * @type {string} - * @memberof IoSakurasouControllerVoImageManageVO + * @memberof ImageManageVO */ groupName: string; /** * * @type {number} - * @memberof IoSakurasouControllerVoImageManageVO + * @memberof ImageManageVO */ height: number; /** * * @type {number} - * @memberof IoSakurasouControllerVoImageManageVO + * @memberof ImageManageVO */ id: number; /** * * @type {boolean} - * @memberof IoSakurasouControllerVoImageManageVO + * @memberof ImageManageVO */ isPrivate: boolean; /** * * @type {string} - * @memberof IoSakurasouControllerVoImageManageVO + * @memberof ImageManageVO */ md5: string; /** * * @type {string} - * @memberof IoSakurasouControllerVoImageManageVO + * @memberof ImageManageVO */ mimeType: string; /** * * @type {string} - * @memberof IoSakurasouControllerVoImageManageVO + * @memberof ImageManageVO */ originName: string; /** * * @type {number} - * @memberof IoSakurasouControllerVoImageManageVO + * @memberof ImageManageVO */ ownerId: number; /** * * @type {string} - * @memberof IoSakurasouControllerVoImageManageVO + * @memberof ImageManageVO */ ownerName: string; /** * * @type {string} - * @memberof IoSakurasouControllerVoImageManageVO + * @memberof ImageManageVO */ sha256: string; /** * * @type {number} - * @memberof IoSakurasouControllerVoImageManageVO + * @memberof ImageManageVO */ size: number; /** * * @type {number} - * @memberof IoSakurasouControllerVoImageManageVO + * @memberof ImageManageVO */ width: number; } /** - * Check if a given object implements the IoSakurasouControllerVoImageManageVO interface. + * Check if a given object implements the ImageManageVO interface. */ -export function instanceOfIoSakurasouControllerVoImageManageVO(value: object): value is IoSakurasouControllerVoImageManageVO { +export function instanceOfImageManageVO(value: object): value is ImageManageVO { if (!('albumId' in value) || value['albumId'] === undefined) return false; if (!('albumName' in value) || value['albumName'] === undefined) return false; if (!('createTime' in value) || value['createTime'] === undefined) return false; @@ -160,11 +161,11 @@ export function instanceOfIoSakurasouControllerVoImageManageVO(value: object): v return true; } -export function IoSakurasouControllerVoImageManageVOFromJSON(json: any): IoSakurasouControllerVoImageManageVO { - return IoSakurasouControllerVoImageManageVOFromJSONTyped(json, false); +export function ImageManageVOFromJSON(json: any): ImageManageVO { + return ImageManageVOFromJSONTyped(json, false); } -export function IoSakurasouControllerVoImageManageVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerVoImageManageVO { +export function ImageManageVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageManageVO { if (json == null) { return json; } @@ -191,10 +192,15 @@ export function IoSakurasouControllerVoImageManageVOFromJSONTyped(json: any, ign }; } -export function IoSakurasouControllerVoImageManageVOToJSON(value?: IoSakurasouControllerVoImageManageVO | null): any { + export function ImageManageVOToJSON(json: any): ImageManageVO { + return ImageManageVOToJSONTyped(json, false); + } + + export function ImageManageVOToJSONTyped(value?: ImageManageVO | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } + return { 'albumId': value['albumId'], diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerVoImagePageVO.ts b/ui/packages/api-client/src/models/ImagePageVO.ts similarity index 66% rename from ui/packages/api-client/src/models/IoSakurasouControllerVoImagePageVO.ts rename to ui/packages/api-client/src/models/ImagePageVO.ts index 347da457..0a37d35c 100644 --- a/ui/packages/api-client/src/models/IoSakurasouControllerVoImagePageVO.ts +++ b/ui/packages/api-client/src/models/ImagePageVO.ts @@ -18,44 +18,45 @@ import { KotlinxDatetimeLocalDateTimeFromJSON, KotlinxDatetimeLocalDateTimeFromJSONTyped, KotlinxDatetimeLocalDateTimeToJSON, + KotlinxDatetimeLocalDateTimeToJSONTyped, } from './KotlinxDatetimeLocalDateTime'; /** * * @export - * @interface IoSakurasouControllerVoImagePageVO + * @interface ImagePageVO */ -export interface IoSakurasouControllerVoImagePageVO { +export interface ImagePageVO { /** * * @type {KotlinxDatetimeLocalDateTime} - * @memberof IoSakurasouControllerVoImagePageVO + * @memberof ImagePageVO */ createTime: KotlinxDatetimeLocalDateTime; /** * * @type {string} - * @memberof IoSakurasouControllerVoImagePageVO + * @memberof ImagePageVO */ displayName: string; /** * * @type {number} - * @memberof IoSakurasouControllerVoImagePageVO + * @memberof ImagePageVO */ id: number; /** * * @type {boolean} - * @memberof IoSakurasouControllerVoImagePageVO + * @memberof ImagePageVO */ isPrivate: boolean; } /** - * Check if a given object implements the IoSakurasouControllerVoImagePageVO interface. + * Check if a given object implements the ImagePageVO interface. */ -export function instanceOfIoSakurasouControllerVoImagePageVO(value: object): value is IoSakurasouControllerVoImagePageVO { +export function instanceOfImagePageVO(value: object): value is ImagePageVO { if (!('createTime' in value) || value['createTime'] === undefined) return false; if (!('displayName' in value) || value['displayName'] === undefined) return false; if (!('id' in value) || value['id'] === undefined) return false; @@ -63,11 +64,11 @@ export function instanceOfIoSakurasouControllerVoImagePageVO(value: object): val return true; } -export function IoSakurasouControllerVoImagePageVOFromJSON(json: any): IoSakurasouControllerVoImagePageVO { - return IoSakurasouControllerVoImagePageVOFromJSONTyped(json, false); +export function ImagePageVOFromJSON(json: any): ImagePageVO { + return ImagePageVOFromJSONTyped(json, false); } -export function IoSakurasouControllerVoImagePageVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerVoImagePageVO { +export function ImagePageVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImagePageVO { if (json == null) { return json; } @@ -80,10 +81,15 @@ export function IoSakurasouControllerVoImagePageVOFromJSONTyped(json: any, ignor }; } -export function IoSakurasouControllerVoImagePageVOToJSON(value?: IoSakurasouControllerVoImagePageVO | null): any { + export function ImagePageVOToJSON(json: any): ImagePageVO { + return ImagePageVOToJSONTyped(json, false); + } + + export function ImagePageVOToJSONTyped(value?: ImagePageVO | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } + return { 'createTime': KotlinxDatetimeLocalDateTimeToJSON(value['createTime']), diff --git a/ui/packages/api-client/src/models/ImageTypeEnum.ts b/ui/packages/api-client/src/models/ImageTypeEnum.ts new file mode 100644 index 00000000..829d603d --- /dev/null +++ b/ui/packages/api-client/src/models/ImageTypeEnum.ts @@ -0,0 +1,60 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * HoshizoraPics API + * API for testing and demonstration purposes. + * + * The version of the OpenAPI document: latest + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +/** + * + * @export + */ +export const ImageTypeEnum = { + Jpeg: 'JPEG', + Jpg: 'JPG', + Png: 'PNG', + Gif: 'GIF', + Tif: 'TIF', + Bmp: 'BMP', + Ico: 'ICO', + Psd: 'PSD', + Webp: 'WEBP' +} as const; +export type ImageTypeEnum = typeof ImageTypeEnum[keyof typeof ImageTypeEnum]; + + +export function instanceOfImageTypeEnum(value: any): boolean { + for (const key in ImageTypeEnum) { + if (Object.prototype.hasOwnProperty.call(ImageTypeEnum, key)) { + if (ImageTypeEnum[key as keyof typeof ImageTypeEnum] === value) { + return true; + } + } + } + return false; +} + +export function ImageTypeEnumFromJSON(json: any): ImageTypeEnum { + return ImageTypeEnumFromJSONTyped(json, false); +} + +export function ImageTypeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageTypeEnum { + return json as ImageTypeEnum; +} + +export function ImageTypeEnumToJSON(value?: ImageTypeEnum | null): any { + return value as any; +} + +export function ImageTypeEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): ImageTypeEnum { + return value as ImageTypeEnum; +} + diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerVoImageVO.ts b/ui/packages/api-client/src/models/ImageVO.ts similarity index 74% rename from ui/packages/api-client/src/models/IoSakurasouControllerVoImageVO.ts rename to ui/packages/api-client/src/models/ImageVO.ts index 555d3b39..0000f6ce 100644 --- a/ui/packages/api-client/src/models/IoSakurasouControllerVoImageVO.ts +++ b/ui/packages/api-client/src/models/ImageVO.ts @@ -18,116 +18,117 @@ import { KotlinxDatetimeLocalDateTimeFromJSON, KotlinxDatetimeLocalDateTimeFromJSONTyped, KotlinxDatetimeLocalDateTimeToJSON, + KotlinxDatetimeLocalDateTimeToJSONTyped, } from './KotlinxDatetimeLocalDateTime'; /** * * @export - * @interface IoSakurasouControllerVoImageVO + * @interface ImageVO */ -export interface IoSakurasouControllerVoImageVO { +export interface ImageVO { /** * * @type {number} - * @memberof IoSakurasouControllerVoImageVO + * @memberof ImageVO */ albumId: number; /** * * @type {string} - * @memberof IoSakurasouControllerVoImageVO + * @memberof ImageVO */ albumName: string; /** * * @type {KotlinxDatetimeLocalDateTime} - * @memberof IoSakurasouControllerVoImageVO + * @memberof ImageVO */ createTime: KotlinxDatetimeLocalDateTime; /** * - * @type {any} - * @memberof IoSakurasouControllerVoImageVO + * @type {string} + * @memberof ImageVO */ - description?: any | null; + description?: string | null; /** * * @type {string} - * @memberof IoSakurasouControllerVoImageVO + * @memberof ImageVO */ displayName: string; /** * * @type {number} - * @memberof IoSakurasouControllerVoImageVO + * @memberof ImageVO */ height: number; /** * * @type {number} - * @memberof IoSakurasouControllerVoImageVO + * @memberof ImageVO */ id: number; /** * * @type {boolean} - * @memberof IoSakurasouControllerVoImageVO + * @memberof ImageVO */ isPrivate: boolean; /** * * @type {string} - * @memberof IoSakurasouControllerVoImageVO + * @memberof ImageVO */ md5: string; /** * * @type {string} - * @memberof IoSakurasouControllerVoImageVO + * @memberof ImageVO */ mimeType: string; /** * * @type {string} - * @memberof IoSakurasouControllerVoImageVO + * @memberof ImageVO */ originName: string; /** * * @type {number} - * @memberof IoSakurasouControllerVoImageVO + * @memberof ImageVO */ ownerId: number; /** * * @type {string} - * @memberof IoSakurasouControllerVoImageVO + * @memberof ImageVO */ ownerName: string; /** * * @type {string} - * @memberof IoSakurasouControllerVoImageVO + * @memberof ImageVO */ sha256: string; /** * * @type {number} - * @memberof IoSakurasouControllerVoImageVO + * @memberof ImageVO */ size: number; /** * * @type {number} - * @memberof IoSakurasouControllerVoImageVO + * @memberof ImageVO */ width: number; } /** - * Check if a given object implements the IoSakurasouControllerVoImageVO interface. + * Check if a given object implements the ImageVO interface. */ -export function instanceOfIoSakurasouControllerVoImageVO(value: object): value is IoSakurasouControllerVoImageVO { +export function instanceOfImageVO(value: object): value is ImageVO { if (!('albumId' in value) || value['albumId'] === undefined) return false; if (!('albumName' in value) || value['albumName'] === undefined) return false; if (!('createTime' in value) || value['createTime'] === undefined) return false; @@ -146,11 +147,11 @@ export function instanceOfIoSakurasouControllerVoImageVO(value: object): value i return true; } -export function IoSakurasouControllerVoImageVOFromJSON(json: any): IoSakurasouControllerVoImageVO { - return IoSakurasouControllerVoImageVOFromJSONTyped(json, false); +export function ImageVOFromJSON(json: any): ImageVO { + return ImageVOFromJSONTyped(json, false); } -export function IoSakurasouControllerVoImageVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerVoImageVO { +export function ImageVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageVO { if (json == null) { return json; } @@ -175,10 +176,15 @@ export function IoSakurasouControllerVoImageVOFromJSONTyped(json: any, ignoreDis }; } -export function IoSakurasouControllerVoImageVOToJSON(value?: IoSakurasouControllerVoImageVO | null): any { + export function ImageVOToJSON(json: any): ImageVO { + return ImageVOToJSONTyped(json, false); + } + + export function ImageVOToJSONTyped(value?: ImageVO | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } + return { 'albumId': value['albumId'], diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerRequestAlbumManagePatchRequest.ts b/ui/packages/api-client/src/models/IoSakurasouControllerRequestAlbumManagePatchRequest.ts deleted file mode 100644 index 5994e804..00000000 --- a/ui/packages/api-client/src/models/IoSakurasouControllerRequestAlbumManagePatchRequest.ts +++ /dev/null @@ -1,76 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * 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 IoSakurasouControllerRequestAlbumManagePatchRequest - */ -export interface IoSakurasouControllerRequestAlbumManagePatchRequest { - /** - * - * @type {any} - * @memberof IoSakurasouControllerRequestAlbumManagePatchRequest - */ - description?: any | null; - /** - * - * @type {any} - * @memberof IoSakurasouControllerRequestAlbumManagePatchRequest - */ - name?: any | null; - /** - * - * @type {any} - * @memberof IoSakurasouControllerRequestAlbumManagePatchRequest - */ - userId?: any | null; -} - -/** - * Check if a given object implements the IoSakurasouControllerRequestAlbumManagePatchRequest interface. - */ -export function instanceOfIoSakurasouControllerRequestAlbumManagePatchRequest(value: object): value is IoSakurasouControllerRequestAlbumManagePatchRequest { - return true; -} - -export function IoSakurasouControllerRequestAlbumManagePatchRequestFromJSON(json: any): IoSakurasouControllerRequestAlbumManagePatchRequest { - return IoSakurasouControllerRequestAlbumManagePatchRequestFromJSONTyped(json, false); -} - -export function IoSakurasouControllerRequestAlbumManagePatchRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerRequestAlbumManagePatchRequest { - if (json == null) { - return json; - } - return { - - 'description': json['description'] == null ? undefined : json['description'], - 'name': json['name'] == null ? undefined : json['name'], - 'userId': json['userId'] == null ? undefined : json['userId'], - }; -} - -export function IoSakurasouControllerRequestAlbumManagePatchRequestToJSON(value?: IoSakurasouControllerRequestAlbumManagePatchRequest | null): any { - if (value == null) { - return value; - } - return { - - 'description': value['description'], - 'name': value['name'], - 'userId': value['userId'], - }; -} - diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerRequestAlbumPatchRequest.ts b/ui/packages/api-client/src/models/IoSakurasouControllerRequestAlbumPatchRequest.ts deleted file mode 100644 index fe3a34a5..00000000 --- a/ui/packages/api-client/src/models/IoSakurasouControllerRequestAlbumPatchRequest.ts +++ /dev/null @@ -1,68 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * 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 IoSakurasouControllerRequestAlbumPatchRequest - */ -export interface IoSakurasouControllerRequestAlbumPatchRequest { - /** - * - * @type {string} - * @memberof IoSakurasouControllerRequestAlbumPatchRequest - */ - description?: string; - /** - * - * @type {string} - * @memberof IoSakurasouControllerRequestAlbumPatchRequest - */ - name?: string; -} - -/** - * Check if a given object implements the IoSakurasouControllerRequestAlbumPatchRequest interface. - */ -export function instanceOfIoSakurasouControllerRequestAlbumPatchRequest(value: object): value is IoSakurasouControllerRequestAlbumPatchRequest { - return true; -} - -export function IoSakurasouControllerRequestAlbumPatchRequestFromJSON(json: any): IoSakurasouControllerRequestAlbumPatchRequest { - return IoSakurasouControllerRequestAlbumPatchRequestFromJSONTyped(json, false); -} - -export function IoSakurasouControllerRequestAlbumPatchRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerRequestAlbumPatchRequest { - if (json == null) { - return json; - } - return { - - 'description': json['description'] == null ? undefined : json['description'], - 'name': json['name'] == null ? undefined : json['name'], - }; -} - -export function IoSakurasouControllerRequestAlbumPatchRequestToJSON(value?: IoSakurasouControllerRequestAlbumPatchRequest | null): any { - if (value == null) { - return value; - } - return { - - 'description': value['description'], - 'name': value['name'], - }; -} - diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerRequestAlbumSelfInsertRequest.ts b/ui/packages/api-client/src/models/IoSakurasouControllerRequestAlbumSelfInsertRequest.ts deleted file mode 100644 index 23ad6271..00000000 --- a/ui/packages/api-client/src/models/IoSakurasouControllerRequestAlbumSelfInsertRequest.ts +++ /dev/null @@ -1,70 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * 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 IoSakurasouControllerRequestAlbumSelfInsertRequest - */ -export interface IoSakurasouControllerRequestAlbumSelfInsertRequest { - /** - * - * @type {string} - * @memberof IoSakurasouControllerRequestAlbumSelfInsertRequest - */ - description: string; - /** - * - * @type {string} - * @memberof IoSakurasouControllerRequestAlbumSelfInsertRequest - */ - name: string; -} - -/** - * Check if a given object implements the IoSakurasouControllerRequestAlbumSelfInsertRequest interface. - */ -export function instanceOfIoSakurasouControllerRequestAlbumSelfInsertRequest(value: object): value is IoSakurasouControllerRequestAlbumSelfInsertRequest { - if (!('description' in value) || value['description'] === undefined) return false; - if (!('name' in value) || value['name'] === undefined) return false; - return true; -} - -export function IoSakurasouControllerRequestAlbumSelfInsertRequestFromJSON(json: any): IoSakurasouControllerRequestAlbumSelfInsertRequest { - return IoSakurasouControllerRequestAlbumSelfInsertRequestFromJSONTyped(json, false); -} - -export function IoSakurasouControllerRequestAlbumSelfInsertRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerRequestAlbumSelfInsertRequest { - if (json == null) { - return json; - } - return { - - 'description': json['description'], - 'name': json['name'], - }; -} - -export function IoSakurasouControllerRequestAlbumSelfInsertRequestToJSON(value?: IoSakurasouControllerRequestAlbumSelfInsertRequest | null): any { - if (value == null) { - return value; - } - return { - - 'description': value['description'], - 'name': value['name'], - }; -} - diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerRequestAlbumSelfPatchRequest.ts b/ui/packages/api-client/src/models/IoSakurasouControllerRequestAlbumSelfPatchRequest.ts deleted file mode 100644 index 9dd66df9..00000000 --- a/ui/packages/api-client/src/models/IoSakurasouControllerRequestAlbumSelfPatchRequest.ts +++ /dev/null @@ -1,68 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * 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 IoSakurasouControllerRequestAlbumSelfPatchRequest - */ -export interface IoSakurasouControllerRequestAlbumSelfPatchRequest { - /** - * - * @type {any} - * @memberof IoSakurasouControllerRequestAlbumSelfPatchRequest - */ - description?: any | null; - /** - * - * @type {any} - * @memberof IoSakurasouControllerRequestAlbumSelfPatchRequest - */ - name?: any | null; -} - -/** - * Check if a given object implements the IoSakurasouControllerRequestAlbumSelfPatchRequest interface. - */ -export function instanceOfIoSakurasouControllerRequestAlbumSelfPatchRequest(value: object): value is IoSakurasouControllerRequestAlbumSelfPatchRequest { - return true; -} - -export function IoSakurasouControllerRequestAlbumSelfPatchRequestFromJSON(json: any): IoSakurasouControllerRequestAlbumSelfPatchRequest { - return IoSakurasouControllerRequestAlbumSelfPatchRequestFromJSONTyped(json, false); -} - -export function IoSakurasouControllerRequestAlbumSelfPatchRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerRequestAlbumSelfPatchRequest { - if (json == null) { - return json; - } - return { - - 'description': json['description'] == null ? undefined : json['description'], - 'name': json['name'] == null ? undefined : json['name'], - }; -} - -export function IoSakurasouControllerRequestAlbumSelfPatchRequestToJSON(value?: IoSakurasouControllerRequestAlbumSelfPatchRequest | null): any { - if (value == null) { - return value; - } - return { - - 'description': value['description'], - 'name': value['name'], - }; -} - diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerRequestGroupConfigUpdatePatch.ts b/ui/packages/api-client/src/models/IoSakurasouControllerRequestGroupConfigUpdatePatch.ts deleted file mode 100644 index 051770b2..00000000 --- a/ui/packages/api-client/src/models/IoSakurasouControllerRequestGroupConfigUpdatePatch.ts +++ /dev/null @@ -1,67 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * 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'; -import type { IoSakurasouModelGroupGroupStrategyConfig } from './IoSakurasouModelGroupGroupStrategyConfig'; -import { - IoSakurasouModelGroupGroupStrategyConfigFromJSON, - IoSakurasouModelGroupGroupStrategyConfigFromJSONTyped, - IoSakurasouModelGroupGroupStrategyConfigToJSON, -} from './IoSakurasouModelGroupGroupStrategyConfig'; - -/** - * - * @export - * @interface IoSakurasouControllerRequestGroupConfigUpdatePatch - */ -export interface IoSakurasouControllerRequestGroupConfigUpdatePatch { - /** - * - * @type {IoSakurasouModelGroupGroupStrategyConfig} - * @memberof IoSakurasouControllerRequestGroupConfigUpdatePatch - */ - groupStrategyConfig?: IoSakurasouModelGroupGroupStrategyConfig | null; -} - -/** - * Check if a given object implements the IoSakurasouControllerRequestGroupConfigUpdatePatch interface. - */ -export function instanceOfIoSakurasouControllerRequestGroupConfigUpdatePatch(value: object): value is IoSakurasouControllerRequestGroupConfigUpdatePatch { - return true; -} - -export function IoSakurasouControllerRequestGroupConfigUpdatePatchFromJSON(json: any): IoSakurasouControllerRequestGroupConfigUpdatePatch { - return IoSakurasouControllerRequestGroupConfigUpdatePatchFromJSONTyped(json, false); -} - -export function IoSakurasouControllerRequestGroupConfigUpdatePatchFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerRequestGroupConfigUpdatePatch { - if (json == null) { - return json; - } - return { - - 'groupStrategyConfig': json['groupStrategyConfig'] == null ? undefined : IoSakurasouModelGroupGroupStrategyConfigFromJSON(json['groupStrategyConfig']), - }; -} - -export function IoSakurasouControllerRequestGroupConfigUpdatePatchToJSON(value?: IoSakurasouControllerRequestGroupConfigUpdatePatch | null): any { - if (value == null) { - return value; - } - return { - - 'groupStrategyConfig': IoSakurasouModelGroupGroupStrategyConfigToJSON(value['groupStrategyConfig']), - }; -} - diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerRequestGroupPatchRequest.ts b/ui/packages/api-client/src/models/IoSakurasouControllerRequestGroupPatchRequest.ts deleted file mode 100644 index 67aea4d7..00000000 --- a/ui/packages/api-client/src/models/IoSakurasouControllerRequestGroupPatchRequest.ts +++ /dev/null @@ -1,99 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * 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'; -import type { IoSakurasouControllerRequestGroupConfigUpdatePatch } from './IoSakurasouControllerRequestGroupConfigUpdatePatch'; -import { - IoSakurasouControllerRequestGroupConfigUpdatePatchFromJSON, - IoSakurasouControllerRequestGroupConfigUpdatePatchFromJSONTyped, - IoSakurasouControllerRequestGroupConfigUpdatePatchToJSON, -} from './IoSakurasouControllerRequestGroupConfigUpdatePatch'; - -/** - * - * @export - * @interface IoSakurasouControllerRequestGroupPatchRequest - */ -export interface IoSakurasouControllerRequestGroupPatchRequest { - /** - * - * @type {IoSakurasouControllerRequestGroupConfigUpdatePatch} - * @memberof IoSakurasouControllerRequestGroupPatchRequest - */ - config?: IoSakurasouControllerRequestGroupConfigUpdatePatch | null; - /** - * - * @type {any} - * @memberof IoSakurasouControllerRequestGroupPatchRequest - */ - description?: any | null; - /** - * - * @type {any} - * @memberof IoSakurasouControllerRequestGroupPatchRequest - */ - name?: any | null; - /** - * - * @type {any} - * @memberof IoSakurasouControllerRequestGroupPatchRequest - */ - roles?: any | null; - /** - * - * @type {any} - * @memberof IoSakurasouControllerRequestGroupPatchRequest - */ - strategyId?: any | null; -} - -/** - * Check if a given object implements the IoSakurasouControllerRequestGroupPatchRequest interface. - */ -export function instanceOfIoSakurasouControllerRequestGroupPatchRequest(value: object): value is IoSakurasouControllerRequestGroupPatchRequest { - return true; -} - -export function IoSakurasouControllerRequestGroupPatchRequestFromJSON(json: any): IoSakurasouControllerRequestGroupPatchRequest { - return IoSakurasouControllerRequestGroupPatchRequestFromJSONTyped(json, false); -} - -export function IoSakurasouControllerRequestGroupPatchRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerRequestGroupPatchRequest { - if (json == null) { - return json; - } - return { - - 'config': json['config'] == null ? undefined : IoSakurasouControllerRequestGroupConfigUpdatePatchFromJSON(json['config']), - 'description': json['description'] == null ? undefined : json['description'], - 'name': json['name'] == null ? undefined : json['name'], - 'roles': json['roles'] == null ? undefined : json['roles'], - 'strategyId': json['strategyId'] == null ? undefined : json['strategyId'], - }; -} - -export function IoSakurasouControllerRequestGroupPatchRequestToJSON(value?: IoSakurasouControllerRequestGroupPatchRequest | null): any { - if (value == null) { - return value; - } - return { - - 'config': IoSakurasouControllerRequestGroupConfigUpdatePatchToJSON(value['config']), - 'description': value['description'], - 'name': value['name'], - 'roles': value['roles'], - 'strategyId': value['strategyId'], - }; -} - diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerRequestImageManagePatchRequest.ts b/ui/packages/api-client/src/models/IoSakurasouControllerRequestImageManagePatchRequest.ts deleted file mode 100644 index 767398eb..00000000 --- a/ui/packages/api-client/src/models/IoSakurasouControllerRequestImageManagePatchRequest.ts +++ /dev/null @@ -1,92 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * 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 IoSakurasouControllerRequestImageManagePatchRequest - */ -export interface IoSakurasouControllerRequestImageManagePatchRequest { - /** - * - * @type {any} - * @memberof IoSakurasouControllerRequestImageManagePatchRequest - */ - albumId?: any | null; - /** - * - * @type {any} - * @memberof IoSakurasouControllerRequestImageManagePatchRequest - */ - description?: any | null; - /** - * - * @type {any} - * @memberof IoSakurasouControllerRequestImageManagePatchRequest - */ - displayName?: any | null; - /** - * - * @type {any} - * @memberof IoSakurasouControllerRequestImageManagePatchRequest - */ - isPrivate?: any | null; - /** - * - * @type {any} - * @memberof IoSakurasouControllerRequestImageManagePatchRequest - */ - userId?: any | null; -} - -/** - * Check if a given object implements the IoSakurasouControllerRequestImageManagePatchRequest interface. - */ -export function instanceOfIoSakurasouControllerRequestImageManagePatchRequest(value: object): value is IoSakurasouControllerRequestImageManagePatchRequest { - return true; -} - -export function IoSakurasouControllerRequestImageManagePatchRequestFromJSON(json: any): IoSakurasouControllerRequestImageManagePatchRequest { - return IoSakurasouControllerRequestImageManagePatchRequestFromJSONTyped(json, false); -} - -export function IoSakurasouControllerRequestImageManagePatchRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerRequestImageManagePatchRequest { - if (json == null) { - return json; - } - return { - - 'albumId': json['albumId'] == null ? undefined : json['albumId'], - 'description': json['description'] == null ? undefined : json['description'], - 'displayName': json['displayName'] == null ? undefined : json['displayName'], - 'isPrivate': json['isPrivate'] == null ? undefined : json['isPrivate'], - 'userId': json['userId'] == null ? undefined : json['userId'], - }; -} - -export function IoSakurasouControllerRequestImageManagePatchRequestToJSON(value?: IoSakurasouControllerRequestImageManagePatchRequest | null): any { - if (value == null) { - return value; - } - return { - - 'albumId': value['albumId'], - 'description': value['description'], - 'displayName': value['displayName'], - 'isPrivate': value['isPrivate'], - 'userId': value['userId'], - }; -} - diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerRequestImagePatchRequest.ts b/ui/packages/api-client/src/models/IoSakurasouControllerRequestImagePatchRequest.ts deleted file mode 100644 index 51bfbb7f..00000000 --- a/ui/packages/api-client/src/models/IoSakurasouControllerRequestImagePatchRequest.ts +++ /dev/null @@ -1,84 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * 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 IoSakurasouControllerRequestImagePatchRequest - */ -export interface IoSakurasouControllerRequestImagePatchRequest { - /** - * - * @type {any} - * @memberof IoSakurasouControllerRequestImagePatchRequest - */ - albumId?: any | null; - /** - * - * @type {any} - * @memberof IoSakurasouControllerRequestImagePatchRequest - */ - description?: any | null; - /** - * - * @type {any} - * @memberof IoSakurasouControllerRequestImagePatchRequest - */ - displayName?: any | null; - /** - * - * @type {any} - * @memberof IoSakurasouControllerRequestImagePatchRequest - */ - isPrivate?: any | null; -} - -/** - * Check if a given object implements the IoSakurasouControllerRequestImagePatchRequest interface. - */ -export function instanceOfIoSakurasouControllerRequestImagePatchRequest(value: object): value is IoSakurasouControllerRequestImagePatchRequest { - return true; -} - -export function IoSakurasouControllerRequestImagePatchRequestFromJSON(json: any): IoSakurasouControllerRequestImagePatchRequest { - return IoSakurasouControllerRequestImagePatchRequestFromJSONTyped(json, false); -} - -export function IoSakurasouControllerRequestImagePatchRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerRequestImagePatchRequest { - if (json == null) { - return json; - } - return { - - 'albumId': json['albumId'] == null ? undefined : json['albumId'], - 'description': json['description'] == null ? undefined : json['description'], - 'displayName': json['displayName'] == null ? undefined : json['displayName'], - 'isPrivate': json['isPrivate'] == null ? undefined : json['isPrivate'], - }; -} - -export function IoSakurasouControllerRequestImagePatchRequestToJSON(value?: IoSakurasouControllerRequestImagePatchRequest | null): any { - if (value == null) { - return value; - } - return { - - 'albumId': value['albumId'], - 'description': value['description'], - 'displayName': value['displayName'], - 'isPrivate': value['isPrivate'], - }; -} - diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerRequestSiteSettingPatchRequest.ts b/ui/packages/api-client/src/models/IoSakurasouControllerRequestSiteSettingPatchRequest.ts deleted file mode 100644 index d5563f50..00000000 --- a/ui/packages/api-client/src/models/IoSakurasouControllerRequestSiteSettingPatchRequest.ts +++ /dev/null @@ -1,100 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * 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 IoSakurasouControllerRequestSiteSettingPatchRequest - */ -export interface IoSakurasouControllerRequestSiteSettingPatchRequest { - /** - * - * @type {any} - * @memberof IoSakurasouControllerRequestSiteSettingPatchRequest - */ - homePageRandomPicDisplay?: any | null; - /** - * - * @type {any} - * @memberof IoSakurasouControllerRequestSiteSettingPatchRequest - */ - siteDescription?: any | null; - /** - * - * @type {any} - * @memberof IoSakurasouControllerRequestSiteSettingPatchRequest - */ - siteExternalUrl?: any | null; - /** - * - * @type {any} - * @memberof IoSakurasouControllerRequestSiteSettingPatchRequest - */ - siteKeyword?: any | null; - /** - * - * @type {any} - * @memberof IoSakurasouControllerRequestSiteSettingPatchRequest - */ - siteSubtitle?: any | null; - /** - * - * @type {any} - * @memberof IoSakurasouControllerRequestSiteSettingPatchRequest - */ - siteTitle?: any | null; -} - -/** - * Check if a given object implements the IoSakurasouControllerRequestSiteSettingPatchRequest interface. - */ -export function instanceOfIoSakurasouControllerRequestSiteSettingPatchRequest(value: object): value is IoSakurasouControllerRequestSiteSettingPatchRequest { - return true; -} - -export function IoSakurasouControllerRequestSiteSettingPatchRequestFromJSON(json: any): IoSakurasouControllerRequestSiteSettingPatchRequest { - return IoSakurasouControllerRequestSiteSettingPatchRequestFromJSONTyped(json, false); -} - -export function IoSakurasouControllerRequestSiteSettingPatchRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerRequestSiteSettingPatchRequest { - if (json == null) { - return json; - } - return { - - 'homePageRandomPicDisplay': json['homePageRandomPicDisplay'] == null ? undefined : json['homePageRandomPicDisplay'], - 'siteDescription': json['siteDescription'] == null ? undefined : json['siteDescription'], - 'siteExternalUrl': json['siteExternalUrl'] == null ? undefined : json['siteExternalUrl'], - 'siteKeyword': json['siteKeyword'] == null ? undefined : json['siteKeyword'], - 'siteSubtitle': json['siteSubtitle'] == null ? undefined : json['siteSubtitle'], - 'siteTitle': json['siteTitle'] == null ? undefined : json['siteTitle'], - }; -} - -export function IoSakurasouControllerRequestSiteSettingPatchRequestToJSON(value?: IoSakurasouControllerRequestSiteSettingPatchRequest | null): any { - if (value == null) { - return value; - } - return { - - 'homePageRandomPicDisplay': value['homePageRandomPicDisplay'], - 'siteDescription': value['siteDescription'], - 'siteExternalUrl': value['siteExternalUrl'], - 'siteKeyword': value['siteKeyword'], - 'siteSubtitle': value['siteSubtitle'], - 'siteTitle': value['siteTitle'], - }; -} - diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerRequestStrategyInsertRequest.ts b/ui/packages/api-client/src/models/IoSakurasouControllerRequestStrategyInsertRequest.ts deleted file mode 100644 index 9c72de6d..00000000 --- a/ui/packages/api-client/src/models/IoSakurasouControllerRequestStrategyInsertRequest.ts +++ /dev/null @@ -1,79 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * 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 IoSakurasouControllerRequestStrategyInsertRequest - */ -export interface IoSakurasouControllerRequestStrategyInsertRequest { - /** - * - * @type {string} - * @memberof IoSakurasouControllerRequestStrategyInsertRequest - */ - config: string; - /** - * - * @type {string} - * @memberof IoSakurasouControllerRequestStrategyInsertRequest - */ - name: string; - /** - * - * @type {string} - * @memberof IoSakurasouControllerRequestStrategyInsertRequest - */ - type: string; -} - -/** - * Check if a given object implements the IoSakurasouControllerRequestStrategyInsertRequest interface. - */ -export function instanceOfIoSakurasouControllerRequestStrategyInsertRequest(value: object): value is IoSakurasouControllerRequestStrategyInsertRequest { - if (!('config' in value) || value['config'] === undefined) return false; - if (!('name' in value) || value['name'] === undefined) return false; - if (!('type' in value) || value['type'] === undefined) return false; - return true; -} - -export function IoSakurasouControllerRequestStrategyInsertRequestFromJSON(json: any): IoSakurasouControllerRequestStrategyInsertRequest { - return IoSakurasouControllerRequestStrategyInsertRequestFromJSONTyped(json, false); -} - -export function IoSakurasouControllerRequestStrategyInsertRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerRequestStrategyInsertRequest { - if (json == null) { - return json; - } - return { - - 'config': json['config'], - 'name': json['name'], - 'type': json['type'], - }; -} - -export function IoSakurasouControllerRequestStrategyInsertRequestToJSON(value?: IoSakurasouControllerRequestStrategyInsertRequest | null): any { - if (value == null) { - return value; - } - return { - - 'config': value['config'], - 'name': value['name'], - 'type': value['type'], - }; -} - diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerRequestStrategyPatchRequest.ts b/ui/packages/api-client/src/models/IoSakurasouControllerRequestStrategyPatchRequest.ts deleted file mode 100644 index 5a289c9a..00000000 --- a/ui/packages/api-client/src/models/IoSakurasouControllerRequestStrategyPatchRequest.ts +++ /dev/null @@ -1,75 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * 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'; -import type { IoSakurasouModelStrategyStrategyConfig } from './IoSakurasouModelStrategyStrategyConfig'; -import { - IoSakurasouModelStrategyStrategyConfigFromJSON, - IoSakurasouModelStrategyStrategyConfigFromJSONTyped, - IoSakurasouModelStrategyStrategyConfigToJSON, -} from './IoSakurasouModelStrategyStrategyConfig'; - -/** - * - * @export - * @interface IoSakurasouControllerRequestStrategyPatchRequest - */ -export interface IoSakurasouControllerRequestStrategyPatchRequest { - /** - * - * @type {IoSakurasouModelStrategyStrategyConfig} - * @memberof IoSakurasouControllerRequestStrategyPatchRequest - */ - config?: IoSakurasouModelStrategyStrategyConfig | null; - /** - * - * @type {any} - * @memberof IoSakurasouControllerRequestStrategyPatchRequest - */ - name?: any | null; -} - -/** - * Check if a given object implements the IoSakurasouControllerRequestStrategyPatchRequest interface. - */ -export function instanceOfIoSakurasouControllerRequestStrategyPatchRequest(value: object): value is IoSakurasouControllerRequestStrategyPatchRequest { - return true; -} - -export function IoSakurasouControllerRequestStrategyPatchRequestFromJSON(json: any): IoSakurasouControllerRequestStrategyPatchRequest { - return IoSakurasouControllerRequestStrategyPatchRequestFromJSONTyped(json, false); -} - -export function IoSakurasouControllerRequestStrategyPatchRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerRequestStrategyPatchRequest { - if (json == null) { - return json; - } - return { - - 'config': json['config'] == null ? undefined : IoSakurasouModelStrategyStrategyConfigFromJSON(json['config']), - 'name': json['name'] == null ? undefined : json['name'], - }; -} - -export function IoSakurasouControllerRequestStrategyPatchRequestToJSON(value?: IoSakurasouControllerRequestStrategyPatchRequest | null): any { - if (value == null) { - return value; - } - return { - - 'config': IoSakurasouModelStrategyStrategyConfigToJSON(value['config']), - 'name': value['name'], - }; -} - diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerRequestStrategySettingPatchRequest.ts b/ui/packages/api-client/src/models/IoSakurasouControllerRequestStrategySettingPatchRequest.ts deleted file mode 100644 index 2d33b8de..00000000 --- a/ui/packages/api-client/src/models/IoSakurasouControllerRequestStrategySettingPatchRequest.ts +++ /dev/null @@ -1,61 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * 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 IoSakurasouControllerRequestStrategySettingPatchRequest - */ -export interface IoSakurasouControllerRequestStrategySettingPatchRequest { - /** - * - * @type {Array} - * @memberof IoSakurasouControllerRequestStrategySettingPatchRequest - */ - allowedImageTypes: Array; -} - -/** - * Check if a given object implements the IoSakurasouControllerRequestStrategySettingPatchRequest interface. - */ -export function instanceOfIoSakurasouControllerRequestStrategySettingPatchRequest(value: object): value is IoSakurasouControllerRequestStrategySettingPatchRequest { - if (!('allowedImageTypes' in value) || value['allowedImageTypes'] === undefined) return false; - return true; -} - -export function IoSakurasouControllerRequestStrategySettingPatchRequestFromJSON(json: any): IoSakurasouControllerRequestStrategySettingPatchRequest { - return IoSakurasouControllerRequestStrategySettingPatchRequestFromJSONTyped(json, false); -} - -export function IoSakurasouControllerRequestStrategySettingPatchRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerRequestStrategySettingPatchRequest { - if (json == null) { - return json; - } - return { - - 'allowedImageTypes': json['allowedImageTypes'], - }; -} - -export function IoSakurasouControllerRequestStrategySettingPatchRequestToJSON(value?: IoSakurasouControllerRequestStrategySettingPatchRequest | null): any { - if (value == null) { - return value; - } - return { - - 'allowedImageTypes': value['allowedImageTypes'], - }; -} - diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerRequestUserManagePatchRequest.ts b/ui/packages/api-client/src/models/IoSakurasouControllerRequestUserManagePatchRequest.ts deleted file mode 100644 index 47ae674b..00000000 --- a/ui/packages/api-client/src/models/IoSakurasouControllerRequestUserManagePatchRequest.ts +++ /dev/null @@ -1,92 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * 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 IoSakurasouControllerRequestUserManagePatchRequest - */ -export interface IoSakurasouControllerRequestUserManagePatchRequest { - /** - * - * @type {any} - * @memberof IoSakurasouControllerRequestUserManagePatchRequest - */ - defaultAlbumId?: any | null; - /** - * - * @type {any} - * @memberof IoSakurasouControllerRequestUserManagePatchRequest - */ - email?: any | null; - /** - * - * @type {any} - * @memberof IoSakurasouControllerRequestUserManagePatchRequest - */ - groupId?: any | null; - /** - * - * @type {any} - * @memberof IoSakurasouControllerRequestUserManagePatchRequest - */ - isDefaultImagePrivate?: any | null; - /** - * - * @type {any} - * @memberof IoSakurasouControllerRequestUserManagePatchRequest - */ - password?: any | null; -} - -/** - * Check if a given object implements the IoSakurasouControllerRequestUserManagePatchRequest interface. - */ -export function instanceOfIoSakurasouControllerRequestUserManagePatchRequest(value: object): value is IoSakurasouControllerRequestUserManagePatchRequest { - return true; -} - -export function IoSakurasouControllerRequestUserManagePatchRequestFromJSON(json: any): IoSakurasouControllerRequestUserManagePatchRequest { - return IoSakurasouControllerRequestUserManagePatchRequestFromJSONTyped(json, false); -} - -export function IoSakurasouControllerRequestUserManagePatchRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerRequestUserManagePatchRequest { - if (json == null) { - return json; - } - return { - - 'defaultAlbumId': json['defaultAlbumId'] == null ? undefined : json['defaultAlbumId'], - 'email': json['email'] == null ? undefined : json['email'], - 'groupId': json['groupId'] == null ? undefined : json['groupId'], - 'isDefaultImagePrivate': json['isDefaultImagePrivate'] == null ? undefined : json['isDefaultImagePrivate'], - 'password': json['password'] == null ? undefined : json['password'], - }; -} - -export function IoSakurasouControllerRequestUserManagePatchRequestToJSON(value?: IoSakurasouControllerRequestUserManagePatchRequest | null): any { - if (value == null) { - return value; - } - return { - - 'defaultAlbumId': value['defaultAlbumId'], - 'email': value['email'], - 'groupId': value['groupId'], - 'isDefaultImagePrivate': value['isDefaultImagePrivate'], - 'password': value['password'], - }; -} - diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerRequestUserPatchRequest.ts b/ui/packages/api-client/src/models/IoSakurasouControllerRequestUserPatchRequest.ts deleted file mode 100644 index 9f4063ae..00000000 --- a/ui/packages/api-client/src/models/IoSakurasouControllerRequestUserPatchRequest.ts +++ /dev/null @@ -1,76 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * 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 IoSakurasouControllerRequestUserPatchRequest - */ -export interface IoSakurasouControllerRequestUserPatchRequest { - /** - * - * @type {string} - * @memberof IoSakurasouControllerRequestUserPatchRequest - */ - email?: string; - /** - * - * @type {string} - * @memberof IoSakurasouControllerRequestUserPatchRequest - */ - groupName?: string; - /** - * - * @type {string} - * @memberof IoSakurasouControllerRequestUserPatchRequest - */ - password?: string; -} - -/** - * Check if a given object implements the IoSakurasouControllerRequestUserPatchRequest interface. - */ -export function instanceOfIoSakurasouControllerRequestUserPatchRequest(value: object): value is IoSakurasouControllerRequestUserPatchRequest { - return true; -} - -export function IoSakurasouControllerRequestUserPatchRequestFromJSON(json: any): IoSakurasouControllerRequestUserPatchRequest { - return IoSakurasouControllerRequestUserPatchRequestFromJSONTyped(json, false); -} - -export function IoSakurasouControllerRequestUserPatchRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerRequestUserPatchRequest { - if (json == null) { - return json; - } - return { - - 'email': json['email'] == null ? undefined : json['email'], - 'groupName': json['groupName'] == null ? undefined : json['groupName'], - 'password': json['password'] == null ? undefined : json['password'], - }; -} - -export function IoSakurasouControllerRequestUserPatchRequestToJSON(value?: IoSakurasouControllerRequestUserPatchRequest | null): any { - if (value == null) { - return value; - } - return { - - 'email': value['email'], - 'groupName': value['groupName'], - 'password': value['password'], - }; -} - diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerRequestUserSelfPatchRequest.ts b/ui/packages/api-client/src/models/IoSakurasouControllerRequestUserSelfPatchRequest.ts deleted file mode 100644 index 02edd3ae..00000000 --- a/ui/packages/api-client/src/models/IoSakurasouControllerRequestUserSelfPatchRequest.ts +++ /dev/null @@ -1,84 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * 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 IoSakurasouControllerRequestUserSelfPatchRequest - */ -export interface IoSakurasouControllerRequestUserSelfPatchRequest { - /** - * - * @type {any} - * @memberof IoSakurasouControllerRequestUserSelfPatchRequest - */ - defaultAlbumId?: any | null; - /** - * - * @type {any} - * @memberof IoSakurasouControllerRequestUserSelfPatchRequest - */ - email?: any | null; - /** - * - * @type {any} - * @memberof IoSakurasouControllerRequestUserSelfPatchRequest - */ - isDefaultImagePrivate?: any | null; - /** - * - * @type {any} - * @memberof IoSakurasouControllerRequestUserSelfPatchRequest - */ - password?: any | null; -} - -/** - * Check if a given object implements the IoSakurasouControllerRequestUserSelfPatchRequest interface. - */ -export function instanceOfIoSakurasouControllerRequestUserSelfPatchRequest(value: object): value is IoSakurasouControllerRequestUserSelfPatchRequest { - return true; -} - -export function IoSakurasouControllerRequestUserSelfPatchRequestFromJSON(json: any): IoSakurasouControllerRequestUserSelfPatchRequest { - return IoSakurasouControllerRequestUserSelfPatchRequestFromJSONTyped(json, false); -} - -export function IoSakurasouControllerRequestUserSelfPatchRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerRequestUserSelfPatchRequest { - if (json == null) { - return json; - } - return { - - 'defaultAlbumId': json['defaultAlbumId'] == null ? undefined : json['defaultAlbumId'], - 'email': json['email'] == null ? undefined : json['email'], - 'isDefaultImagePrivate': json['isDefaultImagePrivate'] == null ? undefined : json['isDefaultImagePrivate'], - 'password': json['password'] == null ? undefined : json['password'], - }; -} - -export function IoSakurasouControllerRequestUserSelfPatchRequestToJSON(value?: IoSakurasouControllerRequestUserSelfPatchRequest | null): any { - if (value == null) { - return value; - } - return { - - 'defaultAlbumId': value['defaultAlbumId'], - 'email': value['email'], - 'isDefaultImagePrivate': value['isDefaultImagePrivate'], - 'password': value['password'], - }; -} - diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageManageVO.ts b/ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageManageVO.ts deleted file mode 100644 index f1a014df..00000000 --- a/ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageManageVO.ts +++ /dev/null @@ -1,94 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * 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'; -import type { IoSakurasouControllerVoImageManageVO } from './IoSakurasouControllerVoImageManageVO'; -import { - IoSakurasouControllerVoImageManageVOFromJSON, - IoSakurasouControllerVoImageManageVOFromJSONTyped, - IoSakurasouControllerVoImageManageVOToJSON, -} from './IoSakurasouControllerVoImageManageVO'; - -/** - * - * @export - * @interface IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageManageVO - */ -export interface IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageManageVO { - /** - * - * @type {number} - * @memberof IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageManageVO - */ - code: number; - /** - * - * @type {IoSakurasouControllerVoImageManageVO} - * @memberof IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageManageVO - */ - data?: IoSakurasouControllerVoImageManageVO | null; - /** - * - * @type {boolean} - * @memberof IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageManageVO - */ - isSuccessful: boolean; - /** - * - * @type {string} - * @memberof IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageManageVO - */ - message: string; -} - -/** - * Check if a given object implements the IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageManageVO interface. - */ -export function instanceOfIoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageManageVO(value: object): value is IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageManageVO { - if (!('code' in value) || value['code'] === undefined) return false; - if (!('isSuccessful' in value) || value['isSuccessful'] === undefined) return false; - if (!('message' in value) || value['message'] === undefined) return false; - return true; -} - -export function IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageManageVOFromJSON(json: any): IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageManageVO { - return IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageManageVOFromJSONTyped(json, false); -} - -export function IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageManageVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageManageVO { - if (json == null) { - return json; - } - return { - - 'code': json['code'], - 'data': json['data'] == null ? undefined : IoSakurasouControllerVoImageManageVOFromJSON(json['data']), - 'isSuccessful': json['isSuccessful'], - 'message': json['message'], - }; -} - -export function IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageManageVOToJSON(value?: IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageManageVO | null): any { - if (value == null) { - return value; - } - return { - - 'code': value['code'], - 'data': IoSakurasouControllerVoImageManageVOToJSON(value['data']), - 'isSuccessful': value['isSuccessful'], - 'message': value['message'], - }; -} - diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVO.ts b/ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVO.ts deleted file mode 100644 index 040a481f..00000000 --- a/ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVO.ts +++ /dev/null @@ -1,94 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * 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'; -import type { IoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVO } from './IoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVO'; -import { - IoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVOFromJSON, - IoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVOFromJSONTyped, - IoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVOToJSON, -} from './IoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVO'; - -/** - * - * @export - * @interface IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVO - */ -export interface IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVO { - /** - * - * @type {number} - * @memberof IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVO - */ - code: number; - /** - * - * @type {IoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVO} - * @memberof IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVO - */ - data?: IoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVO | null; - /** - * - * @type {boolean} - * @memberof IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVO - */ - isSuccessful: boolean; - /** - * - * @type {string} - * @memberof IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVO - */ - message: string; -} - -/** - * Check if a given object implements the IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVO interface. - */ -export function instanceOfIoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVO(value: object): value is IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVO { - if (!('code' in value) || value['code'] === undefined) return false; - if (!('isSuccessful' in value) || value['isSuccessful'] === undefined) return false; - if (!('message' in value) || value['message'] === undefined) return false; - return true; -} - -export function IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVOFromJSON(json: any): IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVO { - return IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVOFromJSONTyped(json, false); -} - -export function IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVO { - if (json == null) { - return json; - } - return { - - 'code': json['code'], - 'data': json['data'] == null ? undefined : IoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVOFromJSON(json['data']), - 'isSuccessful': json['isSuccessful'], - 'message': json['message'], - }; -} - -export function IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVOToJSON(value?: IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVO | null): any { - if (value == null) { - return value; - } - return { - - 'code': value['code'], - 'data': IoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVOToJSON(value['data']), - 'isSuccessful': value['isSuccessful'], - 'message': value['message'], - }; -} - diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVO.ts b/ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVO.ts deleted file mode 100644 index c21030e0..00000000 --- a/ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVO.ts +++ /dev/null @@ -1,94 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * 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'; -import type { IoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVO } from './IoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVO'; -import { - IoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVOFromJSON, - IoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVOFromJSONTyped, - IoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVOToJSON, -} from './IoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVO'; - -/** - * - * @export - * @interface IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVO - */ -export interface IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVO { - /** - * - * @type {number} - * @memberof IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVO - */ - code: number; - /** - * - * @type {IoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVO} - * @memberof IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVO - */ - data?: IoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVO | null; - /** - * - * @type {boolean} - * @memberof IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVO - */ - isSuccessful: boolean; - /** - * - * @type {string} - * @memberof IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVO - */ - message: string; -} - -/** - * Check if a given object implements the IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVO interface. - */ -export function instanceOfIoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVO(value: object): value is IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVO { - if (!('code' in value) || value['code'] === undefined) return false; - if (!('isSuccessful' in value) || value['isSuccessful'] === undefined) return false; - if (!('message' in value) || value['message'] === undefined) return false; - return true; -} - -export function IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVOFromJSON(json: any): IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVO { - return IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVOFromJSONTyped(json, false); -} - -export function IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVO { - if (json == null) { - return json; - } - return { - - 'code': json['code'], - 'data': json['data'] == null ? undefined : IoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVOFromJSON(json['data']), - 'isSuccessful': json['isSuccessful'], - 'message': json['message'], - }; -} - -export function IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVOToJSON(value?: IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVO | null): any { - if (value == null) { - return value; - } - return { - - 'code': value['code'], - 'data': IoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVOToJSON(value['data']), - 'isSuccessful': value['isSuccessful'], - 'message': value['message'], - }; -} - diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponseKotlinCollectionsMapKotlinStringIoSakurasouControllerVoSettingVO.ts b/ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponseKotlinCollectionsMapKotlinStringIoSakurasouControllerVoSettingVO.ts deleted file mode 100644 index fc02b3c1..00000000 --- a/ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponseKotlinCollectionsMapKotlinStringIoSakurasouControllerVoSettingVO.ts +++ /dev/null @@ -1,94 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * 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'; -import type { IoSakurasouControllerVoSettingVO } from './IoSakurasouControllerVoSettingVO'; -import { - IoSakurasouControllerVoSettingVOFromJSON, - IoSakurasouControllerVoSettingVOFromJSONTyped, - IoSakurasouControllerVoSettingVOToJSON, -} from './IoSakurasouControllerVoSettingVO'; - -/** - * - * @export - * @interface IoSakurasouControllerVoCommonResponseKotlinCollectionsMapKotlinStringIoSakurasouControllerVoSettingVO - */ -export interface IoSakurasouControllerVoCommonResponseKotlinCollectionsMapKotlinStringIoSakurasouControllerVoSettingVO { - /** - * - * @type {number} - * @memberof IoSakurasouControllerVoCommonResponseKotlinCollectionsMapKotlinStringIoSakurasouControllerVoSettingVO - */ - code: number; - /** - * - * @type {{ [key: string]: IoSakurasouControllerVoSettingVO; }} - * @memberof IoSakurasouControllerVoCommonResponseKotlinCollectionsMapKotlinStringIoSakurasouControllerVoSettingVO - */ - data?: { [key: string]: IoSakurasouControllerVoSettingVO; } | null; - /** - * - * @type {boolean} - * @memberof IoSakurasouControllerVoCommonResponseKotlinCollectionsMapKotlinStringIoSakurasouControllerVoSettingVO - */ - isSuccessful: boolean; - /** - * - * @type {string} - * @memberof IoSakurasouControllerVoCommonResponseKotlinCollectionsMapKotlinStringIoSakurasouControllerVoSettingVO - */ - message: string; -} - -/** - * Check if a given object implements the IoSakurasouControllerVoCommonResponseKotlinCollectionsMapKotlinStringIoSakurasouControllerVoSettingVO interface. - */ -export function instanceOfIoSakurasouControllerVoCommonResponseKotlinCollectionsMapKotlinStringIoSakurasouControllerVoSettingVO(value: object): value is IoSakurasouControllerVoCommonResponseKotlinCollectionsMapKotlinStringIoSakurasouControllerVoSettingVO { - if (!('code' in value) || value['code'] === undefined) return false; - if (!('isSuccessful' in value) || value['isSuccessful'] === undefined) return false; - if (!('message' in value) || value['message'] === undefined) return false; - return true; -} - -export function IoSakurasouControllerVoCommonResponseKotlinCollectionsMapKotlinStringIoSakurasouControllerVoSettingVOFromJSON(json: any): IoSakurasouControllerVoCommonResponseKotlinCollectionsMapKotlinStringIoSakurasouControllerVoSettingVO { - return IoSakurasouControllerVoCommonResponseKotlinCollectionsMapKotlinStringIoSakurasouControllerVoSettingVOFromJSONTyped(json, false); -} - -export function IoSakurasouControllerVoCommonResponseKotlinCollectionsMapKotlinStringIoSakurasouControllerVoSettingVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerVoCommonResponseKotlinCollectionsMapKotlinStringIoSakurasouControllerVoSettingVO { - if (json == null) { - return json; - } - return { - - 'code': json['code'], - 'data': json['data'] == null ? undefined : { [key: string]: IoSakurasouControllerVoSettingVO; }FromJSON(json['data']), - 'isSuccessful': json['isSuccessful'], - 'message': json['message'], - }; -} - -export function IoSakurasouControllerVoCommonResponseKotlinCollectionsMapKotlinStringIoSakurasouControllerVoSettingVOToJSON(value?: IoSakurasouControllerVoCommonResponseKotlinCollectionsMapKotlinStringIoSakurasouControllerVoSettingVO | null): any { - if (value == null) { - return value; - } - return { - - 'code': value['code'], - 'data': { [key: string]: IoSakurasouControllerVoSettingVO; }ToJSON(value['data']), - 'isSuccessful': value['isSuccessful'], - 'message': value['message'], - }; -} - diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponseioSakurasouControllerVoAlbumVO.ts b/ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponseioSakurasouControllerVoAlbumVO.ts deleted file mode 100644 index ca76ead5..00000000 --- a/ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponseioSakurasouControllerVoAlbumVO.ts +++ /dev/null @@ -1,94 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * 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'; -import type { IoSakurasouControllerVoAlbumVO } from './IoSakurasouControllerVoAlbumVO'; -import { - IoSakurasouControllerVoAlbumVOFromJSON, - IoSakurasouControllerVoAlbumVOFromJSONTyped, - IoSakurasouControllerVoAlbumVOToJSON, -} from './IoSakurasouControllerVoAlbumVO'; - -/** - * - * @export - * @interface IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoAlbumVO - */ -export interface IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoAlbumVO { - /** - * - * @type {number} - * @memberof IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoAlbumVO - */ - code: number; - /** - * - * @type {IoSakurasouControllerVoAlbumVO} - * @memberof IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoAlbumVO - */ - data?: IoSakurasouControllerVoAlbumVO | null; - /** - * - * @type {boolean} - * @memberof IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoAlbumVO - */ - isSuccessful: boolean; - /** - * - * @type {string} - * @memberof IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoAlbumVO - */ - message: string; -} - -/** - * Check if a given object implements the IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoAlbumVO interface. - */ -export function instanceOfIoSakurasouControllerVoCommonResponseIoSakurasouControllerVoAlbumVO(value: object): value is IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoAlbumVO { - if (!('code' in value) || value['code'] === undefined) return false; - if (!('isSuccessful' in value) || value['isSuccessful'] === undefined) return false; - if (!('message' in value) || value['message'] === undefined) return false; - return true; -} - -export function IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoAlbumVOFromJSON(json: any): IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoAlbumVO { - return IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoAlbumVOFromJSONTyped(json, false); -} - -export function IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoAlbumVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoAlbumVO { - if (json == null) { - return json; - } - return { - - 'code': json['code'], - 'data': json['data'] == null ? undefined : IoSakurasouControllerVoAlbumVOFromJSON(json['data']), - 'isSuccessful': json['isSuccessful'], - 'message': json['message'], - }; -} - -export function IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoAlbumVOToJSON(value?: IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoAlbumVO | null): any { - if (value == null) { - return value; - } - return { - - 'code': value['code'], - 'data': IoSakurasouControllerVoAlbumVOToJSON(value['data']), - 'isSuccessful': value['isSuccessful'], - 'message': value['message'], - }; -} - diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponseioSakurasouControllerVoGroupVO.ts b/ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponseioSakurasouControllerVoGroupVO.ts deleted file mode 100644 index 287fcd4b..00000000 --- a/ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponseioSakurasouControllerVoGroupVO.ts +++ /dev/null @@ -1,94 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * 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'; -import type { IoSakurasouControllerVoGroupVO } from './IoSakurasouControllerVoGroupVO'; -import { - IoSakurasouControllerVoGroupVOFromJSON, - IoSakurasouControllerVoGroupVOFromJSONTyped, - IoSakurasouControllerVoGroupVOToJSON, -} from './IoSakurasouControllerVoGroupVO'; - -/** - * - * @export - * @interface IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoGroupVO - */ -export interface IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoGroupVO { - /** - * - * @type {number} - * @memberof IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoGroupVO - */ - code: number; - /** - * - * @type {IoSakurasouControllerVoGroupVO} - * @memberof IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoGroupVO - */ - data?: IoSakurasouControllerVoGroupVO | null; - /** - * - * @type {boolean} - * @memberof IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoGroupVO - */ - isSuccessful: boolean; - /** - * - * @type {string} - * @memberof IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoGroupVO - */ - message: string; -} - -/** - * Check if a given object implements the IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoGroupVO interface. - */ -export function instanceOfIoSakurasouControllerVoCommonResponseIoSakurasouControllerVoGroupVO(value: object): value is IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoGroupVO { - if (!('code' in value) || value['code'] === undefined) return false; - if (!('isSuccessful' in value) || value['isSuccessful'] === undefined) return false; - if (!('message' in value) || value['message'] === undefined) return false; - return true; -} - -export function IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoGroupVOFromJSON(json: any): IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoGroupVO { - return IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoGroupVOFromJSONTyped(json, false); -} - -export function IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoGroupVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoGroupVO { - if (json == null) { - return json; - } - return { - - 'code': json['code'], - 'data': json['data'] == null ? undefined : IoSakurasouControllerVoGroupVOFromJSON(json['data']), - 'isSuccessful': json['isSuccessful'], - 'message': json['message'], - }; -} - -export function IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoGroupVOToJSON(value?: IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoGroupVO | null): any { - if (value == null) { - return value; - } - return { - - 'code': value['code'], - 'data': IoSakurasouControllerVoGroupVOToJSON(value['data']), - 'isSuccessful': value['isSuccessful'], - 'message': value['message'], - }; -} - diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponseioSakurasouControllerVoImageVO.ts b/ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponseioSakurasouControllerVoImageVO.ts deleted file mode 100644 index 45acb563..00000000 --- a/ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponseioSakurasouControllerVoImageVO.ts +++ /dev/null @@ -1,94 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * 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'; -import type { IoSakurasouControllerVoImageVO } from './IoSakurasouControllerVoImageVO'; -import { - IoSakurasouControllerVoImageVOFromJSON, - IoSakurasouControllerVoImageVOFromJSONTyped, - IoSakurasouControllerVoImageVOToJSON, -} from './IoSakurasouControllerVoImageVO'; - -/** - * - * @export - * @interface IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageVO - */ -export interface IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageVO { - /** - * - * @type {number} - * @memberof IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageVO - */ - code: number; - /** - * - * @type {IoSakurasouControllerVoImageVO} - * @memberof IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageVO - */ - data?: IoSakurasouControllerVoImageVO | null; - /** - * - * @type {boolean} - * @memberof IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageVO - */ - isSuccessful: boolean; - /** - * - * @type {string} - * @memberof IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageVO - */ - message: string; -} - -/** - * Check if a given object implements the IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageVO interface. - */ -export function instanceOfIoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageVO(value: object): value is IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageVO { - if (!('code' in value) || value['code'] === undefined) return false; - if (!('isSuccessful' in value) || value['isSuccessful'] === undefined) return false; - if (!('message' in value) || value['message'] === undefined) return false; - return true; -} - -export function IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageVOFromJSON(json: any): IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageVO { - return IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageVOFromJSONTyped(json, false); -} - -export function IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageVO { - if (json == null) { - return json; - } - return { - - 'code': json['code'], - 'data': json['data'] == null ? undefined : IoSakurasouControllerVoImageVOFromJSON(json['data']), - 'isSuccessful': json['isSuccessful'], - 'message': json['message'], - }; -} - -export function IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageVOToJSON(value?: IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageVO | null): any { - if (value == null) { - return value; - } - return { - - 'code': value['code'], - 'data': IoSakurasouControllerVoImageVOToJSON(value['data']), - 'isSuccessful': value['isSuccessful'], - 'message': value['message'], - }; -} - diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponseioSakurasouControllerVoStrategyVO.ts b/ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponseioSakurasouControllerVoStrategyVO.ts deleted file mode 100644 index 4917a245..00000000 --- a/ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponseioSakurasouControllerVoStrategyVO.ts +++ /dev/null @@ -1,94 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * 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'; -import type { IoSakurasouControllerVoStrategyVO } from './IoSakurasouControllerVoStrategyVO'; -import { - IoSakurasouControllerVoStrategyVOFromJSON, - IoSakurasouControllerVoStrategyVOFromJSONTyped, - IoSakurasouControllerVoStrategyVOToJSON, -} from './IoSakurasouControllerVoStrategyVO'; - -/** - * - * @export - * @interface IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoStrategyVO - */ -export interface IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoStrategyVO { - /** - * - * @type {number} - * @memberof IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoStrategyVO - */ - code: number; - /** - * - * @type {IoSakurasouControllerVoStrategyVO} - * @memberof IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoStrategyVO - */ - data?: IoSakurasouControllerVoStrategyVO | null; - /** - * - * @type {boolean} - * @memberof IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoStrategyVO - */ - isSuccessful: boolean; - /** - * - * @type {string} - * @memberof IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoStrategyVO - */ - message: string; -} - -/** - * Check if a given object implements the IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoStrategyVO interface. - */ -export function instanceOfIoSakurasouControllerVoCommonResponseIoSakurasouControllerVoStrategyVO(value: object): value is IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoStrategyVO { - if (!('code' in value) || value['code'] === undefined) return false; - if (!('isSuccessful' in value) || value['isSuccessful'] === undefined) return false; - if (!('message' in value) || value['message'] === undefined) return false; - return true; -} - -export function IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoStrategyVOFromJSON(json: any): IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoStrategyVO { - return IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoStrategyVOFromJSONTyped(json, false); -} - -export function IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoStrategyVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoStrategyVO { - if (json == null) { - return json; - } - return { - - 'code': json['code'], - 'data': json['data'] == null ? undefined : IoSakurasouControllerVoStrategyVOFromJSON(json['data']), - 'isSuccessful': json['isSuccessful'], - 'message': json['message'], - }; -} - -export function IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoStrategyVOToJSON(value?: IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoStrategyVO | null): any { - if (value == null) { - return value; - } - return { - - 'code': value['code'], - 'data': IoSakurasouControllerVoStrategyVOToJSON(value['data']), - 'isSuccessful': value['isSuccessful'], - 'message': value['message'], - }; -} - diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponseioSakurasouControllerVoUserVO.ts b/ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponseioSakurasouControllerVoUserVO.ts deleted file mode 100644 index ec7472c5..00000000 --- a/ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponseioSakurasouControllerVoUserVO.ts +++ /dev/null @@ -1,94 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * 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'; -import type { IoSakurasouControllerVoUserVO } from './IoSakurasouControllerVoUserVO'; -import { - IoSakurasouControllerVoUserVOFromJSON, - IoSakurasouControllerVoUserVOFromJSONTyped, - IoSakurasouControllerVoUserVOToJSON, -} from './IoSakurasouControllerVoUserVO'; - -/** - * - * @export - * @interface IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoUserVO - */ -export interface IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoUserVO { - /** - * - * @type {number} - * @memberof IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoUserVO - */ - code: number; - /** - * - * @type {IoSakurasouControllerVoUserVO} - * @memberof IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoUserVO - */ - data?: IoSakurasouControllerVoUserVO | null; - /** - * - * @type {boolean} - * @memberof IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoUserVO - */ - isSuccessful: boolean; - /** - * - * @type {string} - * @memberof IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoUserVO - */ - message: string; -} - -/** - * Check if a given object implements the IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoUserVO interface. - */ -export function instanceOfIoSakurasouControllerVoCommonResponseIoSakurasouControllerVoUserVO(value: object): value is IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoUserVO { - if (!('code' in value) || value['code'] === undefined) return false; - if (!('isSuccessful' in value) || value['isSuccessful'] === undefined) return false; - if (!('message' in value) || value['message'] === undefined) return false; - return true; -} - -export function IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoUserVOFromJSON(json: any): IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoUserVO { - return IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoUserVOFromJSONTyped(json, false); -} - -export function IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoUserVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoUserVO { - if (json == null) { - return json; - } - return { - - 'code': json['code'], - 'data': json['data'] == null ? undefined : IoSakurasouControllerVoUserVOFromJSON(json['data']), - 'isSuccessful': json['isSuccessful'], - 'message': json['message'], - }; -} - -export function IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoUserVOToJSON(value?: IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoUserVO | null): any { - if (value == null) { - return value; - } - return { - - 'code': value['code'], - 'data': IoSakurasouControllerVoUserVOToJSON(value['data']), - 'isSuccessful': value['isSuccessful'], - 'message': value['message'], - }; -} - diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponsekotlinCollectionsListioSakurasouControllerVoSettingVO.ts b/ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponsekotlinCollectionsListioSakurasouControllerVoSettingVO.ts deleted file mode 100644 index e4fa7da1..00000000 --- a/ui/packages/api-client/src/models/IoSakurasouControllerVoCommonResponsekotlinCollectionsListioSakurasouControllerVoSettingVO.ts +++ /dev/null @@ -1,94 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * 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'; -import type { IoSakurasouControllerVoSettingVO } from './IoSakurasouControllerVoSettingVO'; -import { - IoSakurasouControllerVoSettingVOFromJSON, - IoSakurasouControllerVoSettingVOFromJSONTyped, - IoSakurasouControllerVoSettingVOToJSON, -} from './IoSakurasouControllerVoSettingVO'; - -/** - * - * @export - * @interface IoSakurasouControllerVoCommonResponsekotlinCollectionsListioSakurasouControllerVoSettingVO - */ -export interface IoSakurasouControllerVoCommonResponsekotlinCollectionsListioSakurasouControllerVoSettingVO { - /** - * - * @type {number} - * @memberof IoSakurasouControllerVoCommonResponsekotlinCollectionsListioSakurasouControllerVoSettingVO - */ - code: number; - /** - * - * @type {Array} - * @memberof IoSakurasouControllerVoCommonResponsekotlinCollectionsListioSakurasouControllerVoSettingVO - */ - data?: Array; - /** - * - * @type {boolean} - * @memberof IoSakurasouControllerVoCommonResponsekotlinCollectionsListioSakurasouControllerVoSettingVO - */ - isSuccessful: boolean; - /** - * - * @type {string} - * @memberof IoSakurasouControllerVoCommonResponsekotlinCollectionsListioSakurasouControllerVoSettingVO - */ - message: string; -} - -/** - * Check if a given object implements the IoSakurasouControllerVoCommonResponsekotlinCollectionsListioSakurasouControllerVoSettingVO interface. - */ -export function instanceOfIoSakurasouControllerVoCommonResponsekotlinCollectionsListioSakurasouControllerVoSettingVO(value: object): value is IoSakurasouControllerVoCommonResponsekotlinCollectionsListioSakurasouControllerVoSettingVO { - if (!('code' in value) || value['code'] === undefined) return false; - if (!('isSuccessful' in value) || value['isSuccessful'] === undefined) return false; - if (!('message' in value) || value['message'] === undefined) return false; - return true; -} - -export function IoSakurasouControllerVoCommonResponsekotlinCollectionsListioSakurasouControllerVoSettingVOFromJSON(json: any): IoSakurasouControllerVoCommonResponsekotlinCollectionsListioSakurasouControllerVoSettingVO { - return IoSakurasouControllerVoCommonResponsekotlinCollectionsListioSakurasouControllerVoSettingVOFromJSONTyped(json, false); -} - -export function IoSakurasouControllerVoCommonResponsekotlinCollectionsListioSakurasouControllerVoSettingVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerVoCommonResponsekotlinCollectionsListioSakurasouControllerVoSettingVO { - if (json == null) { - return json; - } - return { - - 'code': json['code'], - 'data': json['data'] == null ? undefined : ((json['data'] as Array).map(IoSakurasouControllerVoSettingVOFromJSON)), - 'isSuccessful': json['isSuccessful'], - 'message': json['message'], - }; -} - -export function IoSakurasouControllerVoCommonResponsekotlinCollectionsListioSakurasouControllerVoSettingVOToJSON(value?: IoSakurasouControllerVoCommonResponsekotlinCollectionsListioSakurasouControllerVoSettingVO | null): any { - if (value == null) { - return value; - } - return { - - 'code': value['code'], - 'data': value['data'] == null ? undefined : ((value['data'] as Array).map(IoSakurasouControllerVoSettingVOToJSON)), - 'isSuccessful': value['isSuccessful'], - 'message': value['message'], - }; -} - diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerVoPageResultioSakurasouControllerVoAlbumPageVO.ts b/ui/packages/api-client/src/models/IoSakurasouControllerVoPageResultioSakurasouControllerVoAlbumPageVO.ts deleted file mode 100644 index b5b76c88..00000000 --- a/ui/packages/api-client/src/models/IoSakurasouControllerVoPageResultioSakurasouControllerVoAlbumPageVO.ts +++ /dev/null @@ -1,104 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * 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'; -import type { IoSakurasouControllerVoAlbumPageVO } from './IoSakurasouControllerVoAlbumPageVO'; -import { - IoSakurasouControllerVoAlbumPageVOFromJSON, - IoSakurasouControllerVoAlbumPageVOFromJSONTyped, - IoSakurasouControllerVoAlbumPageVOToJSON, -} from './IoSakurasouControllerVoAlbumPageVO'; - -/** - * - * @export - * @interface IoSakurasouControllerVoPageResultIoSakurasouControllerVoAlbumPageVO - */ -export interface IoSakurasouControllerVoPageResultIoSakurasouControllerVoAlbumPageVO { - /** - * - * @type {Array} - * @memberof IoSakurasouControllerVoPageResultIoSakurasouControllerVoAlbumPageVO - */ - data: Array; - /** - * - * @type {number} - * @memberof IoSakurasouControllerVoPageResultIoSakurasouControllerVoAlbumPageVO - */ - page: number; - /** - * - * @type {number} - * @memberof IoSakurasouControllerVoPageResultIoSakurasouControllerVoAlbumPageVO - */ - pageSize: number; - /** - * - * @type {number} - * @memberof IoSakurasouControllerVoPageResultIoSakurasouControllerVoAlbumPageVO - */ - total: number; - /** - * - * @type {number} - * @memberof IoSakurasouControllerVoPageResultIoSakurasouControllerVoAlbumPageVO - */ - totalPage: number; -} - -/** - * Check if a given object implements the IoSakurasouControllerVoPageResultIoSakurasouControllerVoAlbumPageVO interface. - */ -export function instanceOfIoSakurasouControllerVoPageResultIoSakurasouControllerVoAlbumPageVO(value: object): value is IoSakurasouControllerVoPageResultIoSakurasouControllerVoAlbumPageVO { - if (!('data' in value) || value['data'] === undefined) return false; - if (!('page' in value) || value['page'] === undefined) return false; - if (!('pageSize' in value) || value['pageSize'] === undefined) return false; - if (!('total' in value) || value['total'] === undefined) return false; - if (!('totalPage' in value) || value['totalPage'] === undefined) return false; - return true; -} - -export function IoSakurasouControllerVoPageResultIoSakurasouControllerVoAlbumPageVOFromJSON(json: any): IoSakurasouControllerVoPageResultIoSakurasouControllerVoAlbumPageVO { - return IoSakurasouControllerVoPageResultIoSakurasouControllerVoAlbumPageVOFromJSONTyped(json, false); -} - -export function IoSakurasouControllerVoPageResultIoSakurasouControllerVoAlbumPageVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerVoPageResultIoSakurasouControllerVoAlbumPageVO { - if (json == null) { - return json; - } - return { - - 'data': ((json['data'] as Array).map(IoSakurasouControllerVoAlbumPageVOFromJSON)), - 'page': json['page'], - 'pageSize': json['pageSize'], - 'total': json['total'], - 'totalPage': json['totalPage'], - }; -} - -export function IoSakurasouControllerVoPageResultIoSakurasouControllerVoAlbumPageVOToJSON(value?: IoSakurasouControllerVoPageResultIoSakurasouControllerVoAlbumPageVO | null): any { - if (value == null) { - return value; - } - return { - - 'data': ((value['data'] as Array).map(IoSakurasouControllerVoAlbumPageVOToJSON)), - 'page': value['page'], - 'pageSize': value['pageSize'], - 'total': value['total'], - 'totalPage': value['totalPage'], - }; -} - diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerVoPageResultioSakurasouControllerVoGroupPageVO.ts b/ui/packages/api-client/src/models/IoSakurasouControllerVoPageResultioSakurasouControllerVoGroupPageVO.ts deleted file mode 100644 index 5d1448f5..00000000 --- a/ui/packages/api-client/src/models/IoSakurasouControllerVoPageResultioSakurasouControllerVoGroupPageVO.ts +++ /dev/null @@ -1,104 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * 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'; -import type { IoSakurasouControllerVoGroupPageVO } from './IoSakurasouControllerVoGroupPageVO'; -import { - IoSakurasouControllerVoGroupPageVOFromJSON, - IoSakurasouControllerVoGroupPageVOFromJSONTyped, - IoSakurasouControllerVoGroupPageVOToJSON, -} from './IoSakurasouControllerVoGroupPageVO'; - -/** - * - * @export - * @interface IoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVO - */ -export interface IoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVO { - /** - * - * @type {Array} - * @memberof IoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVO - */ - data: Array; - /** - * - * @type {number} - * @memberof IoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVO - */ - page: number; - /** - * - * @type {number} - * @memberof IoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVO - */ - pageSize: number; - /** - * - * @type {number} - * @memberof IoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVO - */ - total: number; - /** - * - * @type {number} - * @memberof IoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVO - */ - totalPage: number; -} - -/** - * Check if a given object implements the IoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVO interface. - */ -export function instanceOfIoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVO(value: object): value is IoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVO { - if (!('data' in value) || value['data'] === undefined) return false; - if (!('page' in value) || value['page'] === undefined) return false; - if (!('pageSize' in value) || value['pageSize'] === undefined) return false; - if (!('total' in value) || value['total'] === undefined) return false; - if (!('totalPage' in value) || value['totalPage'] === undefined) return false; - return true; -} - -export function IoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVOFromJSON(json: any): IoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVO { - return IoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVOFromJSONTyped(json, false); -} - -export function IoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVO { - if (json == null) { - return json; - } - return { - - 'data': ((json['data'] as Array).map(IoSakurasouControllerVoGroupPageVOFromJSON)), - 'page': json['page'], - 'pageSize': json['pageSize'], - 'total': json['total'], - 'totalPage': json['totalPage'], - }; -} - -export function IoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVOToJSON(value?: IoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVO | null): any { - if (value == null) { - return value; - } - return { - - 'data': ((value['data'] as Array).map(IoSakurasouControllerVoGroupPageVOToJSON)), - 'page': value['page'], - 'pageSize': value['pageSize'], - 'total': value['total'], - 'totalPage': value['totalPage'], - }; -} - diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerVoPageResultioSakurasouControllerVoImagePageVO.ts b/ui/packages/api-client/src/models/IoSakurasouControllerVoPageResultioSakurasouControllerVoImagePageVO.ts deleted file mode 100644 index 9c0edc08..00000000 --- a/ui/packages/api-client/src/models/IoSakurasouControllerVoPageResultioSakurasouControllerVoImagePageVO.ts +++ /dev/null @@ -1,104 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * 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'; -import type { IoSakurasouControllerVoImagePageVO } from './IoSakurasouControllerVoImagePageVO'; -import { - IoSakurasouControllerVoImagePageVOFromJSON, - IoSakurasouControllerVoImagePageVOFromJSONTyped, - IoSakurasouControllerVoImagePageVOToJSON, -} from './IoSakurasouControllerVoImagePageVO'; - -/** - * - * @export - * @interface IoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVO - */ -export interface IoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVO { - /** - * - * @type {Array} - * @memberof IoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVO - */ - data: Array; - /** - * - * @type {number} - * @memberof IoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVO - */ - page: number; - /** - * - * @type {number} - * @memberof IoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVO - */ - pageSize: number; - /** - * - * @type {number} - * @memberof IoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVO - */ - total: number; - /** - * - * @type {number} - * @memberof IoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVO - */ - totalPage: number; -} - -/** - * Check if a given object implements the IoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVO interface. - */ -export function instanceOfIoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVO(value: object): value is IoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVO { - if (!('data' in value) || value['data'] === undefined) return false; - if (!('page' in value) || value['page'] === undefined) return false; - if (!('pageSize' in value) || value['pageSize'] === undefined) return false; - if (!('total' in value) || value['total'] === undefined) return false; - if (!('totalPage' in value) || value['totalPage'] === undefined) return false; - return true; -} - -export function IoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVOFromJSON(json: any): IoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVO { - return IoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVOFromJSONTyped(json, false); -} - -export function IoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVO { - if (json == null) { - return json; - } - return { - - 'data': ((json['data'] as Array).map(IoSakurasouControllerVoImagePageVOFromJSON)), - 'page': json['page'], - 'pageSize': json['pageSize'], - 'total': json['total'], - 'totalPage': json['totalPage'], - }; -} - -export function IoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVOToJSON(value?: IoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVO | null): any { - if (value == null) { - return value; - } - return { - - 'data': ((value['data'] as Array).map(IoSakurasouControllerVoImagePageVOToJSON)), - 'page': value['page'], - 'pageSize': value['pageSize'], - 'total': value['total'], - 'totalPage': value['totalPage'], - }; -} - diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerVoPageResultioSakurasouControllerVoStrategyPageVO.ts b/ui/packages/api-client/src/models/IoSakurasouControllerVoPageResultioSakurasouControllerVoStrategyPageVO.ts deleted file mode 100644 index e120e86f..00000000 --- a/ui/packages/api-client/src/models/IoSakurasouControllerVoPageResultioSakurasouControllerVoStrategyPageVO.ts +++ /dev/null @@ -1,104 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * 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'; -import type { IoSakurasouControllerVoStrategyPageVO } from './IoSakurasouControllerVoStrategyPageVO'; -import { - IoSakurasouControllerVoStrategyPageVOFromJSON, - IoSakurasouControllerVoStrategyPageVOFromJSONTyped, - IoSakurasouControllerVoStrategyPageVOToJSON, -} from './IoSakurasouControllerVoStrategyPageVO'; - -/** - * - * @export - * @interface IoSakurasouControllerVoPageResultIoSakurasouControllerVoStrategyPageVO - */ -export interface IoSakurasouControllerVoPageResultIoSakurasouControllerVoStrategyPageVO { - /** - * - * @type {Array} - * @memberof IoSakurasouControllerVoPageResultIoSakurasouControllerVoStrategyPageVO - */ - data: Array; - /** - * - * @type {number} - * @memberof IoSakurasouControllerVoPageResultIoSakurasouControllerVoStrategyPageVO - */ - page: number; - /** - * - * @type {number} - * @memberof IoSakurasouControllerVoPageResultIoSakurasouControllerVoStrategyPageVO - */ - pageSize: number; - /** - * - * @type {number} - * @memberof IoSakurasouControllerVoPageResultIoSakurasouControllerVoStrategyPageVO - */ - total: number; - /** - * - * @type {number} - * @memberof IoSakurasouControllerVoPageResultIoSakurasouControllerVoStrategyPageVO - */ - totalPage: number; -} - -/** - * Check if a given object implements the IoSakurasouControllerVoPageResultIoSakurasouControllerVoStrategyPageVO interface. - */ -export function instanceOfIoSakurasouControllerVoPageResultIoSakurasouControllerVoStrategyPageVO(value: object): value is IoSakurasouControllerVoPageResultIoSakurasouControllerVoStrategyPageVO { - if (!('data' in value) || value['data'] === undefined) return false; - if (!('page' in value) || value['page'] === undefined) return false; - if (!('pageSize' in value) || value['pageSize'] === undefined) return false; - if (!('total' in value) || value['total'] === undefined) return false; - if (!('totalPage' in value) || value['totalPage'] === undefined) return false; - return true; -} - -export function IoSakurasouControllerVoPageResultIoSakurasouControllerVoStrategyPageVOFromJSON(json: any): IoSakurasouControllerVoPageResultIoSakurasouControllerVoStrategyPageVO { - return IoSakurasouControllerVoPageResultIoSakurasouControllerVoStrategyPageVOFromJSONTyped(json, false); -} - -export function IoSakurasouControllerVoPageResultIoSakurasouControllerVoStrategyPageVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerVoPageResultIoSakurasouControllerVoStrategyPageVO { - if (json == null) { - return json; - } - return { - - 'data': ((json['data'] as Array).map(IoSakurasouControllerVoStrategyPageVOFromJSON)), - 'page': json['page'], - 'pageSize': json['pageSize'], - 'total': json['total'], - 'totalPage': json['totalPage'], - }; -} - -export function IoSakurasouControllerVoPageResultIoSakurasouControllerVoStrategyPageVOToJSON(value?: IoSakurasouControllerVoPageResultIoSakurasouControllerVoStrategyPageVO | null): any { - if (value == null) { - return value; - } - return { - - 'data': ((value['data'] as Array).map(IoSakurasouControllerVoStrategyPageVOToJSON)), - 'page': value['page'], - 'pageSize': value['pageSize'], - 'total': value['total'], - 'totalPage': value['totalPage'], - }; -} - diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerVoPageResultioSakurasouControllerVoUserPageVO.ts b/ui/packages/api-client/src/models/IoSakurasouControllerVoPageResultioSakurasouControllerVoUserPageVO.ts deleted file mode 100644 index 7cc2dbe9..00000000 --- a/ui/packages/api-client/src/models/IoSakurasouControllerVoPageResultioSakurasouControllerVoUserPageVO.ts +++ /dev/null @@ -1,104 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * 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'; -import type { IoSakurasouControllerVoUserPageVO } from './IoSakurasouControllerVoUserPageVO'; -import { - IoSakurasouControllerVoUserPageVOFromJSON, - IoSakurasouControllerVoUserPageVOFromJSONTyped, - IoSakurasouControllerVoUserPageVOToJSON, -} from './IoSakurasouControllerVoUserPageVO'; - -/** - * - * @export - * @interface IoSakurasouControllerVoPageResultIoSakurasouControllerVoUserPageVO - */ -export interface IoSakurasouControllerVoPageResultIoSakurasouControllerVoUserPageVO { - /** - * - * @type {Array} - * @memberof IoSakurasouControllerVoPageResultIoSakurasouControllerVoUserPageVO - */ - data: Array; - /** - * - * @type {number} - * @memberof IoSakurasouControllerVoPageResultIoSakurasouControllerVoUserPageVO - */ - page: number; - /** - * - * @type {number} - * @memberof IoSakurasouControllerVoPageResultIoSakurasouControllerVoUserPageVO - */ - pageSize: number; - /** - * - * @type {number} - * @memberof IoSakurasouControllerVoPageResultIoSakurasouControllerVoUserPageVO - */ - total: number; - /** - * - * @type {number} - * @memberof IoSakurasouControllerVoPageResultIoSakurasouControllerVoUserPageVO - */ - totalPage: number; -} - -/** - * Check if a given object implements the IoSakurasouControllerVoPageResultIoSakurasouControllerVoUserPageVO interface. - */ -export function instanceOfIoSakurasouControllerVoPageResultIoSakurasouControllerVoUserPageVO(value: object): value is IoSakurasouControllerVoPageResultIoSakurasouControllerVoUserPageVO { - if (!('data' in value) || value['data'] === undefined) return false; - if (!('page' in value) || value['page'] === undefined) return false; - if (!('pageSize' in value) || value['pageSize'] === undefined) return false; - if (!('total' in value) || value['total'] === undefined) return false; - if (!('totalPage' in value) || value['totalPage'] === undefined) return false; - return true; -} - -export function IoSakurasouControllerVoPageResultIoSakurasouControllerVoUserPageVOFromJSON(json: any): IoSakurasouControllerVoPageResultIoSakurasouControllerVoUserPageVO { - return IoSakurasouControllerVoPageResultIoSakurasouControllerVoUserPageVOFromJSONTyped(json, false); -} - -export function IoSakurasouControllerVoPageResultIoSakurasouControllerVoUserPageVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerVoPageResultIoSakurasouControllerVoUserPageVO { - if (json == null) { - return json; - } - return { - - 'data': ((json['data'] as Array).map(IoSakurasouControllerVoUserPageVOFromJSON)), - 'page': json['page'], - 'pageSize': json['pageSize'], - 'total': json['total'], - 'totalPage': json['totalPage'], - }; -} - -export function IoSakurasouControllerVoPageResultIoSakurasouControllerVoUserPageVOToJSON(value?: IoSakurasouControllerVoPageResultIoSakurasouControllerVoUserPageVO | null): any { - if (value == null) { - return value; - } - return { - - 'data': ((value['data'] as Array).map(IoSakurasouControllerVoUserPageVOToJSON)), - 'page': value['page'], - 'pageSize': value['pageSize'], - 'total': value['total'], - 'totalPage': value['totalPage'], - }; -} - diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerVoPermissionVO.ts b/ui/packages/api-client/src/models/IoSakurasouControllerVoPermissionVO.ts deleted file mode 100644 index 8fb63fb6..00000000 --- a/ui/packages/api-client/src/models/IoSakurasouControllerVoPermissionVO.ts +++ /dev/null @@ -1,69 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * 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 IoSakurasouControllerVoPermissionVO - */ -export interface IoSakurasouControllerVoPermissionVO { - /** - * - * @type {any} - * @memberof IoSakurasouControllerVoPermissionVO - */ - description?: any | null; - /** - * - * @type {string} - * @memberof IoSakurasouControllerVoPermissionVO - */ - name: string; -} - -/** - * Check if a given object implements the IoSakurasouControllerVoPermissionVO interface. - */ -export function instanceOfIoSakurasouControllerVoPermissionVO(value: object): value is IoSakurasouControllerVoPermissionVO { - if (!('name' in value) || value['name'] === undefined) return false; - return true; -} - -export function IoSakurasouControllerVoPermissionVOFromJSON(json: any): IoSakurasouControllerVoPermissionVO { - return IoSakurasouControllerVoPermissionVOFromJSONTyped(json, false); -} - -export function IoSakurasouControllerVoPermissionVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerVoPermissionVO { - if (json == null) { - return json; - } - return { - - 'description': json['description'] == null ? undefined : json['description'], - 'name': json['name'], - }; -} - -export function IoSakurasouControllerVoPermissionVOToJSON(value?: IoSakurasouControllerVoPermissionVO | null): any { - if (value == null) { - return value; - } - return { - - 'description': value['description'], - 'name': value['name'], - }; -} - diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerVoRoleVO.ts b/ui/packages/api-client/src/models/IoSakurasouControllerVoRoleVO.ts deleted file mode 100644 index 4e6d97a8..00000000 --- a/ui/packages/api-client/src/models/IoSakurasouControllerVoRoleVO.ts +++ /dev/null @@ -1,85 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * 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'; -import type { IoSakurasouControllerVoPermissionVO } from './IoSakurasouControllerVoPermissionVO'; -import { - IoSakurasouControllerVoPermissionVOFromJSON, - IoSakurasouControllerVoPermissionVOFromJSONTyped, - IoSakurasouControllerVoPermissionVOToJSON, -} from './IoSakurasouControllerVoPermissionVO'; - -/** - * - * @export - * @interface IoSakurasouControllerVoRoleVO - */ -export interface IoSakurasouControllerVoRoleVO { - /** - * - * @type {any} - * @memberof IoSakurasouControllerVoRoleVO - */ - description?: any | null; - /** - * - * @type {string} - * @memberof IoSakurasouControllerVoRoleVO - */ - name: string; - /** - * - * @type {Array} - * @memberof IoSakurasouControllerVoRoleVO - */ - permissions: Array; -} - -/** - * Check if a given object implements the IoSakurasouControllerVoRoleVO interface. - */ -export function instanceOfIoSakurasouControllerVoRoleVO(value: object): value is IoSakurasouControllerVoRoleVO { - if (!('name' in value) || value['name'] === undefined) return false; - if (!('permissions' in value) || value['permissions'] === undefined) return false; - return true; -} - -export function IoSakurasouControllerVoRoleVOFromJSON(json: any): IoSakurasouControllerVoRoleVO { - return IoSakurasouControllerVoRoleVOFromJSONTyped(json, false); -} - -export function IoSakurasouControllerVoRoleVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerVoRoleVO { - if (json == null) { - return json; - } - return { - - 'description': json['description'] == null ? undefined : json['description'], - 'name': json['name'], - 'permissions': ((json['permissions'] as Array).map(IoSakurasouControllerVoPermissionVOFromJSON)), - }; -} - -export function IoSakurasouControllerVoRoleVOToJSON(value?: IoSakurasouControllerVoRoleVO | null): any { - if (value == null) { - return value; - } - return { - - 'description': value['description'], - 'name': value['name'], - 'permissions': ((value['permissions'] as Array).map(IoSakurasouControllerVoPermissionVOToJSON)), - }; -} - diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerVoSettingVO.ts b/ui/packages/api-client/src/models/IoSakurasouControllerVoSettingVO.ts deleted file mode 100644 index ffbf0723..00000000 --- a/ui/packages/api-client/src/models/IoSakurasouControllerVoSettingVO.ts +++ /dev/null @@ -1,77 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * 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'; -import type { IoSakurasouModelSettingSettingConfig } from './IoSakurasouModelSettingSettingConfig'; -import { - IoSakurasouModelSettingSettingConfigFromJSON, - IoSakurasouModelSettingSettingConfigFromJSONTyped, - IoSakurasouModelSettingSettingConfigToJSON, -} from './IoSakurasouModelSettingSettingConfig'; - -/** - * - * @export - * @interface IoSakurasouControllerVoSettingVO - */ -export interface IoSakurasouControllerVoSettingVO { - /** - * - * @type {IoSakurasouModelSettingSettingConfig} - * @memberof IoSakurasouControllerVoSettingVO - */ - config: IoSakurasouModelSettingSettingConfig; - /** - * - * @type {string} - * @memberof IoSakurasouControllerVoSettingVO - */ - name: string; -} - -/** - * Check if a given object implements the IoSakurasouControllerVoSettingVO interface. - */ -export function instanceOfIoSakurasouControllerVoSettingVO(value: object): value is IoSakurasouControllerVoSettingVO { - if (!('config' in value) || value['config'] === undefined) return false; - if (!('name' in value) || value['name'] === undefined) return false; - return true; -} - -export function IoSakurasouControllerVoSettingVOFromJSON(json: any): IoSakurasouControllerVoSettingVO { - return IoSakurasouControllerVoSettingVOFromJSONTyped(json, false); -} - -export function IoSakurasouControllerVoSettingVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerVoSettingVO { - if (json == null) { - return json; - } - return { - - 'config': IoSakurasouModelSettingSettingConfigFromJSON(json['config']), - 'name': json['name'], - }; -} - -export function IoSakurasouControllerVoSettingVOToJSON(value?: IoSakurasouControllerVoSettingVO | null): any { - if (value == null) { - return value; - } - return { - - 'config': IoSakurasouModelSettingSettingConfigToJSON(value['config']), - 'name': value['name'], - }; -} - diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerVoStrategyPageVO.ts b/ui/packages/api-client/src/models/IoSakurasouControllerVoStrategyPageVO.ts deleted file mode 100644 index bc6df036..00000000 --- a/ui/packages/api-client/src/models/IoSakurasouControllerVoStrategyPageVO.ts +++ /dev/null @@ -1,88 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * 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'; -import type { IoSakurasouModelStrategyStrategyType } from './IoSakurasouModelStrategyStrategyType'; -import { - IoSakurasouModelStrategyStrategyTypeFromJSON, - IoSakurasouModelStrategyStrategyTypeFromJSONTyped, - IoSakurasouModelStrategyStrategyTypeToJSON, -} from './IoSakurasouModelStrategyStrategyType'; - -/** - * - * @export - * @interface IoSakurasouControllerVoStrategyPageVO - */ -export interface IoSakurasouControllerVoStrategyPageVO { - /** - * - * @type {number} - * @memberof IoSakurasouControllerVoStrategyPageVO - */ - id: number; - /** - * - * @type {string} - * @memberof IoSakurasouControllerVoStrategyPageVO - */ - name: string; - /** - * - * @type {IoSakurasouModelStrategyStrategyType} - * @memberof IoSakurasouControllerVoStrategyPageVO - */ - type: IoSakurasouModelStrategyStrategyType; -} - - - -/** - * Check if a given object implements the IoSakurasouControllerVoStrategyPageVO interface. - */ -export function instanceOfIoSakurasouControllerVoStrategyPageVO(value: object): value is IoSakurasouControllerVoStrategyPageVO { - if (!('id' in value) || value['id'] === undefined) return false; - if (!('name' in value) || value['name'] === undefined) return false; - if (!('type' in value) || value['type'] === undefined) return false; - return true; -} - -export function IoSakurasouControllerVoStrategyPageVOFromJSON(json: any): IoSakurasouControllerVoStrategyPageVO { - return IoSakurasouControllerVoStrategyPageVOFromJSONTyped(json, false); -} - -export function IoSakurasouControllerVoStrategyPageVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerVoStrategyPageVO { - if (json == null) { - return json; - } - return { - - 'id': json['id'], - 'name': json['name'], - 'type': IoSakurasouModelStrategyStrategyTypeFromJSON(json['type']), - }; -} - -export function IoSakurasouControllerVoStrategyPageVOToJSON(value?: IoSakurasouControllerVoStrategyPageVO | null): any { - if (value == null) { - return value; - } - return { - - 'id': value['id'], - 'name': value['name'], - 'type': IoSakurasouModelStrategyStrategyTypeToJSON(value['type']), - }; -} - diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerVoStrategyVO.ts b/ui/packages/api-client/src/models/IoSakurasouControllerVoStrategyVO.ts deleted file mode 100644 index 487990da..00000000 --- a/ui/packages/api-client/src/models/IoSakurasouControllerVoStrategyVO.ts +++ /dev/null @@ -1,118 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * 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'; -import type { KotlinxDatetimeLocalDateTime } from './KotlinxDatetimeLocalDateTime'; -import { - KotlinxDatetimeLocalDateTimeFromJSON, - KotlinxDatetimeLocalDateTimeFromJSONTyped, - KotlinxDatetimeLocalDateTimeToJSON, -} from './KotlinxDatetimeLocalDateTime'; -import type { IoSakurasouModelStrategyStrategyConfig } from './IoSakurasouModelStrategyStrategyConfig'; -import { - IoSakurasouModelStrategyStrategyConfigFromJSON, - IoSakurasouModelStrategyStrategyConfigFromJSONTyped, - IoSakurasouModelStrategyStrategyConfigToJSON, -} from './IoSakurasouModelStrategyStrategyConfig'; -import type { IoSakurasouModelStrategyStrategyType } from './IoSakurasouModelStrategyStrategyType'; -import { - IoSakurasouModelStrategyStrategyTypeFromJSON, - IoSakurasouModelStrategyStrategyTypeFromJSONTyped, - IoSakurasouModelStrategyStrategyTypeToJSON, -} from './IoSakurasouModelStrategyStrategyType'; - -/** - * - * @export - * @interface IoSakurasouControllerVoStrategyVO - */ -export interface IoSakurasouControllerVoStrategyVO { - /** - * - * @type {IoSakurasouModelStrategyStrategyConfig} - * @memberof IoSakurasouControllerVoStrategyVO - */ - config: IoSakurasouModelStrategyStrategyConfig; - /** - * - * @type {KotlinxDatetimeLocalDateTime} - * @memberof IoSakurasouControllerVoStrategyVO - */ - createTime: KotlinxDatetimeLocalDateTime; - /** - * - * @type {number} - * @memberof IoSakurasouControllerVoStrategyVO - */ - id: number; - /** - * - * @type {string} - * @memberof IoSakurasouControllerVoStrategyVO - */ - name: string; - /** - * - * @type {IoSakurasouModelStrategyStrategyType} - * @memberof IoSakurasouControllerVoStrategyVO - */ - type: IoSakurasouModelStrategyStrategyType; -} - - - -/** - * Check if a given object implements the IoSakurasouControllerVoStrategyVO interface. - */ -export function instanceOfIoSakurasouControllerVoStrategyVO(value: object): value is IoSakurasouControllerVoStrategyVO { - if (!('config' in value) || value['config'] === undefined) return false; - if (!('createTime' in value) || value['createTime'] === undefined) return false; - if (!('id' in value) || value['id'] === undefined) return false; - if (!('name' in value) || value['name'] === undefined) return false; - if (!('type' in value) || value['type'] === undefined) return false; - return true; -} - -export function IoSakurasouControllerVoStrategyVOFromJSON(json: any): IoSakurasouControllerVoStrategyVO { - return IoSakurasouControllerVoStrategyVOFromJSONTyped(json, false); -} - -export function IoSakurasouControllerVoStrategyVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerVoStrategyVO { - if (json == null) { - return json; - } - return { - - 'config': IoSakurasouModelStrategyStrategyConfigFromJSON(json['config']), - 'createTime': KotlinxDatetimeLocalDateTimeFromJSON(json['createTime']), - 'id': json['id'], - 'name': json['name'], - 'type': IoSakurasouModelStrategyStrategyTypeFromJSON(json['type']), - }; -} - -export function IoSakurasouControllerVoStrategyVOToJSON(value?: IoSakurasouControllerVoStrategyVO | null): any { - if (value == null) { - return value; - } - return { - - 'config': IoSakurasouModelStrategyStrategyConfigToJSON(value['config']), - 'createTime': KotlinxDatetimeLocalDateTimeToJSON(value['createTime']), - 'id': value['id'], - 'name': value['name'], - 'type': IoSakurasouModelStrategyStrategyTypeToJSON(value['type']), - }; -} - diff --git a/ui/packages/api-client/src/models/IoSakurasouModelGroupGroupConfig.ts b/ui/packages/api-client/src/models/IoSakurasouModelGroupGroupConfig.ts deleted file mode 100644 index efcd56eb..00000000 --- a/ui/packages/api-client/src/models/IoSakurasouModelGroupGroupConfig.ts +++ /dev/null @@ -1,68 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * 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'; -import type { IoSakurasouModelGroupGroupStrategyConfig } from './IoSakurasouModelGroupGroupStrategyConfig'; -import { - IoSakurasouModelGroupGroupStrategyConfigFromJSON, - IoSakurasouModelGroupGroupStrategyConfigFromJSONTyped, - IoSakurasouModelGroupGroupStrategyConfigToJSON, -} from './IoSakurasouModelGroupGroupStrategyConfig'; - -/** - * - * @export - * @interface IoSakurasouModelGroupGroupConfig - */ -export interface IoSakurasouModelGroupGroupConfig { - /** - * - * @type {IoSakurasouModelGroupGroupStrategyConfig} - * @memberof IoSakurasouModelGroupGroupConfig - */ - groupStrategyConfig: IoSakurasouModelGroupGroupStrategyConfig; -} - -/** - * Check if a given object implements the IoSakurasouModelGroupGroupConfig interface. - */ -export function instanceOfIoSakurasouModelGroupGroupConfig(value: object): value is IoSakurasouModelGroupGroupConfig { - if (!('groupStrategyConfig' in value) || value['groupStrategyConfig'] === undefined) return false; - return true; -} - -export function IoSakurasouModelGroupGroupConfigFromJSON(json: any): IoSakurasouModelGroupGroupConfig { - return IoSakurasouModelGroupGroupConfigFromJSONTyped(json, false); -} - -export function IoSakurasouModelGroupGroupConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouModelGroupGroupConfig { - if (json == null) { - return json; - } - return { - - 'groupStrategyConfig': IoSakurasouModelGroupGroupStrategyConfigFromJSON(json['groupStrategyConfig']), - }; -} - -export function IoSakurasouModelGroupGroupConfigToJSON(value?: IoSakurasouModelGroupGroupConfig | null): any { - if (value == null) { - return value; - } - return { - - 'groupStrategyConfig': IoSakurasouModelGroupGroupStrategyConfigToJSON(value['groupStrategyConfig']), - }; -} - diff --git a/ui/packages/api-client/src/models/IoSakurasouModelGroupImageType.ts b/ui/packages/api-client/src/models/IoSakurasouModelGroupImageType.ts deleted file mode 100644 index c5e690f2..00000000 --- a/ui/packages/api-client/src/models/IoSakurasouModelGroupImageType.ts +++ /dev/null @@ -1,56 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -/** - * - * @export - */ -export const IoSakurasouModelGroupImageType = { - Jpeg: 'JPEG', - Jpg: 'JPG', - Png: 'PNG', - Gif: 'GIF', - Tif: 'TIF', - Bmp: 'BMP', - Ico: 'ICO', - Psd: 'PSD', - Webp: 'WEBP' -} as const; -export type IoSakurasouModelGroupImageType = typeof IoSakurasouModelGroupImageType[keyof typeof IoSakurasouModelGroupImageType]; - - -export function instanceOfIoSakurasouModelGroupImageType(value: any): boolean { - for (const key in IoSakurasouModelGroupImageType) { - if (Object.prototype.hasOwnProperty.call(IoSakurasouModelGroupImageType, key)) { - if (IoSakurasouModelGroupImageType[key as keyof typeof IoSakurasouModelGroupImageType] === value) { - return true; - } - } - } - return false; -} - -export function IoSakurasouModelGroupImageTypeFromJSON(json: any): IoSakurasouModelGroupImageType { - return IoSakurasouModelGroupImageTypeFromJSONTyped(json, false); -} - -export function IoSakurasouModelGroupImageTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouModelGroupImageType { - return json as IoSakurasouModelGroupImageType; -} - -export function IoSakurasouModelGroupImageTypeToJSON(value?: IoSakurasouModelGroupImageType | null): any { - return value as any; -} - diff --git a/ui/packages/api-client/src/models/IoSakurasouModelSettingStrategySetting.ts b/ui/packages/api-client/src/models/IoSakurasouModelSettingStrategySetting.ts deleted file mode 100644 index d8e6ff5d..00000000 --- a/ui/packages/api-client/src/models/IoSakurasouModelSettingStrategySetting.ts +++ /dev/null @@ -1,61 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * 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 IoSakurasouModelSettingStrategySetting - */ -export interface IoSakurasouModelSettingStrategySetting { - /** - * - * @type {Array} - * @memberof IoSakurasouModelSettingStrategySetting - */ - allowedImageTypes: Array; -} - -/** - * Check if a given object implements the IoSakurasouModelSettingStrategySetting interface. - */ -export function instanceOfIoSakurasouModelSettingStrategySetting(value: object): value is IoSakurasouModelSettingStrategySetting { - if (!('allowedImageTypes' in value) || value['allowedImageTypes'] === undefined) return false; - return true; -} - -export function IoSakurasouModelSettingStrategySettingFromJSON(json: any): IoSakurasouModelSettingStrategySetting { - return IoSakurasouModelSettingStrategySettingFromJSONTyped(json, false); -} - -export function IoSakurasouModelSettingStrategySettingFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouModelSettingStrategySetting { - if (json == null) { - return json; - } - return { - - 'allowedImageTypes': json['allowedImageTypes'], - }; -} - -export function IoSakurasouModelSettingStrategySettingToJSON(value?: IoSakurasouModelSettingStrategySetting | null): any { - if (value == null) { - return value; - } - return { - - 'allowedImageTypes': value['allowedImageTypes'], - }; -} - diff --git a/ui/packages/api-client/src/models/IoSakurasouModelSettingSystemStatus.ts b/ui/packages/api-client/src/models/IoSakurasouModelSettingSystemStatus.ts deleted file mode 100644 index 0e5d73d8..00000000 --- a/ui/packages/api-client/src/models/IoSakurasouModelSettingSystemStatus.ts +++ /dev/null @@ -1,61 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * 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 IoSakurasouModelSettingSystemStatus - */ -export interface IoSakurasouModelSettingSystemStatus { - /** - * - * @type {boolean} - * @memberof IoSakurasouModelSettingSystemStatus - */ - isInit: boolean; -} - -/** - * Check if a given object implements the IoSakurasouModelSettingSystemStatus interface. - */ -export function instanceOfIoSakurasouModelSettingSystemStatus(value: object): value is IoSakurasouModelSettingSystemStatus { - if (!('isInit' in value) || value['isInit'] === undefined) return false; - return true; -} - -export function IoSakurasouModelSettingSystemStatusFromJSON(json: any): IoSakurasouModelSettingSystemStatus { - return IoSakurasouModelSettingSystemStatusFromJSONTyped(json, false); -} - -export function IoSakurasouModelSettingSystemStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouModelSettingSystemStatus { - if (json == null) { - return json; - } - return { - - 'isInit': json['isInit'], - }; -} - -export function IoSakurasouModelSettingSystemStatusToJSON(value?: IoSakurasouModelSettingSystemStatus | null): any { - if (value == null) { - return value; - } - return { - - 'isInit': value['isInit'], - }; -} - diff --git a/ui/packages/api-client/src/models/IoSakurasouModelStrategyLocalStrategy.ts b/ui/packages/api-client/src/models/IoSakurasouModelStrategyLocalStrategy.ts deleted file mode 100644 index a7decda6..00000000 --- a/ui/packages/api-client/src/models/IoSakurasouModelStrategyLocalStrategy.ts +++ /dev/null @@ -1,88 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * 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'; -import type { IoSakurasouModelStrategyStrategyType } from './IoSakurasouModelStrategyStrategyType'; -import { - IoSakurasouModelStrategyStrategyTypeFromJSON, - IoSakurasouModelStrategyStrategyTypeFromJSONTyped, - IoSakurasouModelStrategyStrategyTypeToJSON, -} from './IoSakurasouModelStrategyStrategyType'; - -/** - * - * @export - * @interface IoSakurasouModelStrategyLocalStrategy - */ -export interface IoSakurasouModelStrategyLocalStrategy { - /** - * - * @type {string} - * @memberof IoSakurasouModelStrategyLocalStrategy - */ - thumbnailFolder: string; - /** - * - * @type {string} - * @memberof IoSakurasouModelStrategyLocalStrategy - */ - uploadFolder: string; - /** - * - * @type {IoSakurasouModelStrategyStrategyType} - * @memberof IoSakurasouModelStrategyLocalStrategy - */ - strategyType: IoSakurasouModelStrategyStrategyType; -} - - - -/** - * Check if a given object implements the IoSakurasouModelStrategyLocalStrategy interface. - */ -export function instanceOfIoSakurasouModelStrategyLocalStrategy(value: object): value is IoSakurasouModelStrategyLocalStrategy { - if (!('thumbnailFolder' in value) || value['thumbnailFolder'] === undefined) return false; - if (!('uploadFolder' in value) || value['uploadFolder'] === undefined) return false; - if (!('strategyType' in value) || value['strategyType'] === undefined) return false; - return true; -} - -export function IoSakurasouModelStrategyLocalStrategyFromJSON(json: any): IoSakurasouModelStrategyLocalStrategy { - return IoSakurasouModelStrategyLocalStrategyFromJSONTyped(json, false); -} - -export function IoSakurasouModelStrategyLocalStrategyFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouModelStrategyLocalStrategy { - if (json == null) { - return json; - } - return { - - 'thumbnailFolder': json['thumbnailFolder'], - 'uploadFolder': json['uploadFolder'], - 'strategyType': IoSakurasouModelStrategyStrategyTypeFromJSON(json['strategyType']), - }; -} - -export function IoSakurasouModelStrategyLocalStrategyToJSON(value?: IoSakurasouModelStrategyLocalStrategy | null): any { - if (value == null) { - return value; - } - return { - - 'thumbnailFolder': value['thumbnailFolder'], - 'uploadFolder': value['uploadFolder'], - 'strategyType': IoSakurasouModelStrategyStrategyTypeToJSON(value['strategyType']), - }; -} - diff --git a/ui/packages/api-client/src/models/IoSakurasouModelStrategyStrategyType.ts b/ui/packages/api-client/src/models/IoSakurasouModelStrategyStrategyType.ts deleted file mode 100644 index 6dceaf60..00000000 --- a/ui/packages/api-client/src/models/IoSakurasouModelStrategyStrategyType.ts +++ /dev/null @@ -1,49 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -/** - * - * @export - */ -export const IoSakurasouModelStrategyStrategyType = { - Local: 'LOCAL', - S3: 'S3' -} as const; -export type IoSakurasouModelStrategyStrategyType = typeof IoSakurasouModelStrategyStrategyType[keyof typeof IoSakurasouModelStrategyStrategyType]; - - -export function instanceOfIoSakurasouModelStrategyStrategyType(value: any): boolean { - for (const key in IoSakurasouModelStrategyStrategyType) { - if (Object.prototype.hasOwnProperty.call(IoSakurasouModelStrategyStrategyType, key)) { - if (IoSakurasouModelStrategyStrategyType[key as keyof typeof IoSakurasouModelStrategyStrategyType] === value) { - return true; - } - } - } - return false; -} - -export function IoSakurasouModelStrategyStrategyTypeFromJSON(json: any): IoSakurasouModelStrategyStrategyType { - return IoSakurasouModelStrategyStrategyTypeFromJSONTyped(json, false); -} - -export function IoSakurasouModelStrategyStrategyTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouModelStrategyStrategyType { - return json as IoSakurasouModelStrategyStrategyType; -} - -export function IoSakurasouModelStrategyStrategyTypeToJSON(value?: IoSakurasouModelStrategyStrategyType | null): any { - return value as any; -} - diff --git a/ui/packages/api-client/src/models/JavaTimeDayOfWeek.ts b/ui/packages/api-client/src/models/JavaTimeDayOfWeek.ts index 4559d7ef..7a05abc9 100644 --- a/ui/packages/api-client/src/models/JavaTimeDayOfWeek.ts +++ b/ui/packages/api-client/src/models/JavaTimeDayOfWeek.ts @@ -52,3 +52,7 @@ export function JavaTimeDayOfWeekToJSON(value?: JavaTimeDayOfWeek | null): any { return value as any; } +export function JavaTimeDayOfWeekToJSONTyped(value: any, ignoreDiscriminator: boolean): JavaTimeDayOfWeek { + return value as JavaTimeDayOfWeek; +} + diff --git a/ui/packages/api-client/src/models/JavaTimeMonth.ts b/ui/packages/api-client/src/models/JavaTimeMonth.ts index 2dd39480..a9469910 100644 --- a/ui/packages/api-client/src/models/JavaTimeMonth.ts +++ b/ui/packages/api-client/src/models/JavaTimeMonth.ts @@ -57,3 +57,7 @@ export function JavaTimeMonthToJSON(value?: JavaTimeMonth | null): any { return value as any; } +export function JavaTimeMonthToJSONTyped(value: any, ignoreDiscriminator: boolean): JavaTimeMonth { + return value as JavaTimeMonth; +} + diff --git a/ui/packages/api-client/src/models/KotlinxDatetimeLocalDate.ts b/ui/packages/api-client/src/models/KotlinxDatetimeLocalDate.ts index 82edcba6..3fd76857 100644 --- a/ui/packages/api-client/src/models/KotlinxDatetimeLocalDate.ts +++ b/ui/packages/api-client/src/models/KotlinxDatetimeLocalDate.ts @@ -18,12 +18,14 @@ import { JavaTimeMonthFromJSON, JavaTimeMonthFromJSONTyped, JavaTimeMonthToJSON, + JavaTimeMonthToJSONTyped, } from './JavaTimeMonth'; import type { JavaTimeDayOfWeek } from './JavaTimeDayOfWeek'; import { JavaTimeDayOfWeekFromJSON, JavaTimeDayOfWeekFromJSONTyped, JavaTimeDayOfWeekToJSON, + JavaTimeDayOfWeekToJSONTyped, } from './JavaTimeDayOfWeek'; /** @@ -104,10 +106,15 @@ export function KotlinxDatetimeLocalDateFromJSONTyped(json: any, ignoreDiscrimin }; } -export function KotlinxDatetimeLocalDateToJSON(value?: KotlinxDatetimeLocalDate | null): any { + export function KotlinxDatetimeLocalDateToJSON(json: any): KotlinxDatetimeLocalDate { + return KotlinxDatetimeLocalDateToJSONTyped(json, false); + } + + export function KotlinxDatetimeLocalDateToJSONTyped(value?: KotlinxDatetimeLocalDate | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } + return { 'dayOfMonth': value['dayOfMonth'], diff --git a/ui/packages/api-client/src/models/KotlinxDatetimeLocalDateTime.ts b/ui/packages/api-client/src/models/KotlinxDatetimeLocalDateTime.ts index 5e6ad11f..fd41a295 100644 --- a/ui/packages/api-client/src/models/KotlinxDatetimeLocalDateTime.ts +++ b/ui/packages/api-client/src/models/KotlinxDatetimeLocalDateTime.ts @@ -18,24 +18,28 @@ import { KotlinxDatetimeLocalTimeFromJSON, KotlinxDatetimeLocalTimeFromJSONTyped, KotlinxDatetimeLocalTimeToJSON, + KotlinxDatetimeLocalTimeToJSONTyped, } from './KotlinxDatetimeLocalTime'; import type { KotlinxDatetimeLocalDate } from './KotlinxDatetimeLocalDate'; import { KotlinxDatetimeLocalDateFromJSON, KotlinxDatetimeLocalDateFromJSONTyped, KotlinxDatetimeLocalDateToJSON, + KotlinxDatetimeLocalDateToJSONTyped, } from './KotlinxDatetimeLocalDate'; import type { JavaTimeMonth } from './JavaTimeMonth'; import { JavaTimeMonthFromJSON, JavaTimeMonthFromJSONTyped, JavaTimeMonthToJSON, + JavaTimeMonthToJSONTyped, } from './JavaTimeMonth'; import type { JavaTimeDayOfWeek } from './JavaTimeDayOfWeek'; import { JavaTimeDayOfWeekFromJSON, JavaTimeDayOfWeekFromJSONTyped, JavaTimeDayOfWeekToJSON, + JavaTimeDayOfWeekToJSONTyped, } from './JavaTimeDayOfWeek'; /** @@ -164,10 +168,15 @@ export function KotlinxDatetimeLocalDateTimeFromJSONTyped(json: any, ignoreDiscr }; } -export function KotlinxDatetimeLocalDateTimeToJSON(value?: KotlinxDatetimeLocalDateTime | null): any { + export function KotlinxDatetimeLocalDateTimeToJSON(json: any): KotlinxDatetimeLocalDateTime { + return KotlinxDatetimeLocalDateTimeToJSONTyped(json, false); + } + + export function KotlinxDatetimeLocalDateTimeToJSONTyped(value?: KotlinxDatetimeLocalDateTime | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } + return { 'date': KotlinxDatetimeLocalDateToJSON(value['date']), diff --git a/ui/packages/api-client/src/models/KotlinxDatetimeLocalTime.ts b/ui/packages/api-client/src/models/KotlinxDatetimeLocalTime.ts index 9e396a8b..c32effee 100644 --- a/ui/packages/api-client/src/models/KotlinxDatetimeLocalTime.ts +++ b/ui/packages/api-client/src/models/KotlinxDatetimeLocalTime.ts @@ -73,10 +73,15 @@ export function KotlinxDatetimeLocalTimeFromJSONTyped(json: any, ignoreDiscrimin }; } -export function KotlinxDatetimeLocalTimeToJSON(value?: KotlinxDatetimeLocalTime | null): any { + export function KotlinxDatetimeLocalTimeToJSON(json: any): KotlinxDatetimeLocalTime { + return KotlinxDatetimeLocalTimeToJSONTyped(json, false); + } + + export function KotlinxDatetimeLocalTimeToJSONTyped(value?: KotlinxDatetimeLocalTime | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } + return { 'hour': value['hour'], diff --git a/ui/packages/api-client/src/models/KotlinxSerializationJsonJsonElement.ts b/ui/packages/api-client/src/models/KotlinxSerializationJsonJsonElement.ts deleted file mode 100644 index 0c6223e3..00000000 --- a/ui/packages/api-client/src/models/KotlinxSerializationJsonJsonElement.ts +++ /dev/null @@ -1,77 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * 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'; -import type { KotlinxSerializationJsonJsonPrimitive } from './KotlinxSerializationJsonJsonPrimitive'; -import { - KotlinxSerializationJsonJsonPrimitiveFromJSON, - KotlinxSerializationJsonJsonPrimitiveFromJSONTyped, - KotlinxSerializationJsonJsonPrimitiveToJSON, -} from './KotlinxSerializationJsonJsonPrimitive'; - -/** - * - * @export - * @interface KotlinxSerializationJsonJsonElement - */ -export interface KotlinxSerializationJsonJsonElement { - /** - * - * @type {string} - * @memberof KotlinxSerializationJsonJsonElement - */ - content: string; - /** - * - * @type {boolean} - * @memberof KotlinxSerializationJsonJsonElement - */ - isString: boolean; -} - -/** - * Check if a given object implements the KotlinxSerializationJsonJsonElement interface. - */ -export function instanceOfKotlinxSerializationJsonJsonElement(value: object): value is KotlinxSerializationJsonJsonElement { - if (!('content' in value) || value['content'] === undefined) return false; - if (!('isString' in value) || value['isString'] === undefined) return false; - return true; -} - -export function KotlinxSerializationJsonJsonElementFromJSON(json: any): KotlinxSerializationJsonJsonElement { - return KotlinxSerializationJsonJsonElementFromJSONTyped(json, false); -} - -export function KotlinxSerializationJsonJsonElementFromJSONTyped(json: any, ignoreDiscriminator: boolean): KotlinxSerializationJsonJsonElement { - if (json == null) { - return json; - } - return { - - 'content': json['content'], - 'isString': json['isString'], - }; -} - -export function KotlinxSerializationJsonJsonElementToJSON(value?: KotlinxSerializationJsonJsonElement | null): any { - if (value == null) { - return value; - } - return { - - 'content': value['content'], - 'isString': value['isString'], - }; -} - diff --git a/ui/packages/api-client/src/models/KotlinxSerializationJsonJsonLiteral.ts b/ui/packages/api-client/src/models/KotlinxSerializationJsonJsonLiteral.ts deleted file mode 100644 index 1c0c0db4..00000000 --- a/ui/packages/api-client/src/models/KotlinxSerializationJsonJsonLiteral.ts +++ /dev/null @@ -1,70 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * 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 KotlinxSerializationJsonJsonLiteral - */ -export interface KotlinxSerializationJsonJsonLiteral { - /** - * - * @type {string} - * @memberof KotlinxSerializationJsonJsonLiteral - */ - content: string; - /** - * - * @type {boolean} - * @memberof KotlinxSerializationJsonJsonLiteral - */ - isString: boolean; -} - -/** - * Check if a given object implements the KotlinxSerializationJsonJsonLiteral interface. - */ -export function instanceOfKotlinxSerializationJsonJsonLiteral(value: object): value is KotlinxSerializationJsonJsonLiteral { - if (!('content' in value) || value['content'] === undefined) return false; - if (!('isString' in value) || value['isString'] === undefined) return false; - return true; -} - -export function KotlinxSerializationJsonJsonLiteralFromJSON(json: any): KotlinxSerializationJsonJsonLiteral { - return KotlinxSerializationJsonJsonLiteralFromJSONTyped(json, false); -} - -export function KotlinxSerializationJsonJsonLiteralFromJSONTyped(json: any, ignoreDiscriminator: boolean): KotlinxSerializationJsonJsonLiteral { - if (json == null) { - return json; - } - return { - - 'content': json['content'], - 'isString': json['isString'], - }; -} - -export function KotlinxSerializationJsonJsonLiteralToJSON(value?: KotlinxSerializationJsonJsonLiteral | null): any { - if (value == null) { - return value; - } - return { - - 'content': value['content'], - 'isString': value['isString'], - }; -} - diff --git a/ui/packages/api-client/src/models/KotlinxSerializationJsonJsonNull.ts b/ui/packages/api-client/src/models/KotlinxSerializationJsonJsonNull.ts deleted file mode 100644 index f38c48ff..00000000 --- a/ui/packages/api-client/src/models/KotlinxSerializationJsonJsonNull.ts +++ /dev/null @@ -1,70 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * 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 KotlinxSerializationJsonJsonNull - */ -export interface KotlinxSerializationJsonJsonNull { - /** - * - * @type {boolean} - * @memberof KotlinxSerializationJsonJsonNull - */ - isString: boolean; - /** - * - * @type {string} - * @memberof KotlinxSerializationJsonJsonNull - */ - content: string; -} - -/** - * Check if a given object implements the KotlinxSerializationJsonJsonNull interface. - */ -export function instanceOfKotlinxSerializationJsonJsonNull(value: object): value is KotlinxSerializationJsonJsonNull { - if (!('isString' in value) || value['isString'] === undefined) return false; - if (!('content' in value) || value['content'] === undefined) return false; - return true; -} - -export function KotlinxSerializationJsonJsonNullFromJSON(json: any): KotlinxSerializationJsonJsonNull { - return KotlinxSerializationJsonJsonNullFromJSONTyped(json, false); -} - -export function KotlinxSerializationJsonJsonNullFromJSONTyped(json: any, ignoreDiscriminator: boolean): KotlinxSerializationJsonJsonNull { - if (json == null) { - return json; - } - return { - - 'isString': json['isString'], - 'content': json['content'], - }; -} - -export function KotlinxSerializationJsonJsonNullToJSON(value?: KotlinxSerializationJsonJsonNull | null): any { - if (value == null) { - return value; - } - return { - - 'isString': value['isString'], - 'content': value['content'], - }; -} - diff --git a/ui/packages/api-client/src/models/KotlinxSerializationJsonJsonPrimitive.ts b/ui/packages/api-client/src/models/KotlinxSerializationJsonJsonPrimitive.ts deleted file mode 100644 index b53a1bff..00000000 --- a/ui/packages/api-client/src/models/KotlinxSerializationJsonJsonPrimitive.ts +++ /dev/null @@ -1,83 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * HoshizoraPics API - * API for testing and demonstration purposes. - * - * The version of the OpenAPI document: latest - * - * - * 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'; -import type { KotlinxSerializationJsonJsonLiteral } from './KotlinxSerializationJsonJsonLiteral'; -import { - KotlinxSerializationJsonJsonLiteralFromJSON, - KotlinxSerializationJsonJsonLiteralFromJSONTyped, - KotlinxSerializationJsonJsonLiteralToJSON, -} from './KotlinxSerializationJsonJsonLiteral'; -import type { KotlinxSerializationJsonJsonNull } from './KotlinxSerializationJsonJsonNull'; -import { - KotlinxSerializationJsonJsonNullFromJSON, - KotlinxSerializationJsonJsonNullFromJSONTyped, - KotlinxSerializationJsonJsonNullToJSON, -} from './KotlinxSerializationJsonJsonNull'; - -/** - * - * @export - * @interface KotlinxSerializationJsonJsonPrimitive - */ -export interface KotlinxSerializationJsonJsonPrimitive { - /** - * - * @type {string} - * @memberof KotlinxSerializationJsonJsonPrimitive - */ - content: string; - /** - * - * @type {boolean} - * @memberof KotlinxSerializationJsonJsonPrimitive - */ - isString: boolean; -} - -/** - * Check if a given object implements the KotlinxSerializationJsonJsonPrimitive interface. - */ -export function instanceOfKotlinxSerializationJsonJsonPrimitive(value: object): value is KotlinxSerializationJsonJsonPrimitive { - if (!('content' in value) || value['content'] === undefined) return false; - if (!('isString' in value) || value['isString'] === undefined) return false; - return true; -} - -export function KotlinxSerializationJsonJsonPrimitiveFromJSON(json: any): KotlinxSerializationJsonJsonPrimitive { - return KotlinxSerializationJsonJsonPrimitiveFromJSONTyped(json, false); -} - -export function KotlinxSerializationJsonJsonPrimitiveFromJSONTyped(json: any, ignoreDiscriminator: boolean): KotlinxSerializationJsonJsonPrimitive { - if (json == null) { - return json; - } - return { - - 'content': json['content'], - 'isString': json['isString'], - }; -} - -export function KotlinxSerializationJsonJsonPrimitiveToJSON(value?: KotlinxSerializationJsonJsonPrimitive | null): any { - if (value == null) { - return value; - } - return { - - 'content': value['content'], - 'isString': value['isString'], - }; -} - diff --git a/ui/packages/api-client/src/models/LocalStrategy.ts b/ui/packages/api-client/src/models/LocalStrategy.ts new file mode 100644 index 00000000..31f5a371 --- /dev/null +++ b/ui/packages/api-client/src/models/LocalStrategy.ts @@ -0,0 +1,94 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * HoshizoraPics API + * API for testing and demonstration purposes. + * + * The version of the OpenAPI document: latest + * + * + * 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'; +import type { StrategyTypeEnum } from './StrategyTypeEnum'; +import { + StrategyTypeEnumFromJSON, + StrategyTypeEnumFromJSONTyped, + StrategyTypeEnumToJSON, + StrategyTypeEnumToJSONTyped, +} from './StrategyTypeEnum'; + +/** + * + * @export + * @interface LocalStrategy + */ +export interface LocalStrategy { + /** + * + * @type {string} + * @memberof LocalStrategy + */ + thumbnailFolder: string; + /** + * + * @type {string} + * @memberof LocalStrategy + */ + uploadFolder: string; + /** + * + * @type {StrategyTypeEnum} + * @memberof LocalStrategy + */ + strategyType: StrategyTypeEnum; +} + + + +/** + * Check if a given object implements the LocalStrategy interface. + */ +export function instanceOfLocalStrategy(value: object): value is LocalStrategy { + if (!('thumbnailFolder' in value) || value['thumbnailFolder'] === undefined) return false; + if (!('uploadFolder' in value) || value['uploadFolder'] === undefined) return false; + if (!('strategyType' in value) || value['strategyType'] === undefined) return false; + return true; +} + +export function LocalStrategyFromJSON(json: any): LocalStrategy { + return LocalStrategyFromJSONTyped(json, false); +} + +export function LocalStrategyFromJSONTyped(json: any, ignoreDiscriminator: boolean): LocalStrategy { + if (json == null) { + return json; + } + return { + + 'thumbnailFolder': json['thumbnailFolder'], + 'uploadFolder': json['uploadFolder'], + 'strategyType': StrategyTypeEnumFromJSON(json['strategyType']), + }; +} + + export function LocalStrategyToJSON(json: any): LocalStrategy { + return LocalStrategyToJSONTyped(json, false); + } + + export function LocalStrategyToJSONTyped(value?: LocalStrategy | null, ignoreDiscriminator: boolean = false): any { + if (value == null) { + return value; + } + + return { + + 'thumbnailFolder': value['thumbnailFolder'], + 'uploadFolder': value['uploadFolder'], + 'strategyType': StrategyTypeEnumToJSON(value['strategyType']), + }; +} + diff --git a/ui/packages/api-client/src/models/PageResultAlbumPageVO.ts b/ui/packages/api-client/src/models/PageResultAlbumPageVO.ts new file mode 100644 index 00000000..2d0b094f --- /dev/null +++ b/ui/packages/api-client/src/models/PageResultAlbumPageVO.ts @@ -0,0 +1,110 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * HoshizoraPics API + * API for testing and demonstration purposes. + * + * The version of the OpenAPI document: latest + * + * + * 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'; +import type { AlbumPageVO } from './AlbumPageVO'; +import { + AlbumPageVOFromJSON, + AlbumPageVOFromJSONTyped, + AlbumPageVOToJSON, + AlbumPageVOToJSONTyped, +} from './AlbumPageVO'; + +/** + * + * @export + * @interface PageResultAlbumPageVO + */ +export interface PageResultAlbumPageVO { + /** + * + * @type {Array} + * @memberof PageResultAlbumPageVO + */ + data: Array; + /** + * + * @type {number} + * @memberof PageResultAlbumPageVO + */ + page: number; + /** + * + * @type {number} + * @memberof PageResultAlbumPageVO + */ + pageSize: number; + /** + * + * @type {number} + * @memberof PageResultAlbumPageVO + */ + total: number; + /** + * + * @type {number} + * @memberof PageResultAlbumPageVO + */ + totalPage: number; +} + +/** + * Check if a given object implements the PageResultAlbumPageVO interface. + */ +export function instanceOfPageResultAlbumPageVO(value: object): value is PageResultAlbumPageVO { + if (!('data' in value) || value['data'] === undefined) return false; + if (!('page' in value) || value['page'] === undefined) return false; + if (!('pageSize' in value) || value['pageSize'] === undefined) return false; + if (!('total' in value) || value['total'] === undefined) return false; + if (!('totalPage' in value) || value['totalPage'] === undefined) return false; + return true; +} + +export function PageResultAlbumPageVOFromJSON(json: any): PageResultAlbumPageVO { + return PageResultAlbumPageVOFromJSONTyped(json, false); +} + +export function PageResultAlbumPageVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): PageResultAlbumPageVO { + if (json == null) { + return json; + } + return { + + 'data': ((json['data'] as Array).map(AlbumPageVOFromJSON)), + 'page': json['page'], + 'pageSize': json['pageSize'], + 'total': json['total'], + 'totalPage': json['totalPage'], + }; +} + + export function PageResultAlbumPageVOToJSON(json: any): PageResultAlbumPageVO { + return PageResultAlbumPageVOToJSONTyped(json, false); + } + + export function PageResultAlbumPageVOToJSONTyped(value?: PageResultAlbumPageVO | null, ignoreDiscriminator: boolean = false): any { + if (value == null) { + return value; + } + + return { + + 'data': ((value['data'] as Array).map(AlbumPageVOToJSON)), + 'page': value['page'], + 'pageSize': value['pageSize'], + 'total': value['total'], + 'totalPage': value['totalPage'], + }; +} + diff --git a/ui/packages/api-client/src/models/PageResultGroupPageVO.ts b/ui/packages/api-client/src/models/PageResultGroupPageVO.ts new file mode 100644 index 00000000..5457a8e9 --- /dev/null +++ b/ui/packages/api-client/src/models/PageResultGroupPageVO.ts @@ -0,0 +1,110 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * HoshizoraPics API + * API for testing and demonstration purposes. + * + * The version of the OpenAPI document: latest + * + * + * 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'; +import type { GroupPageVO } from './GroupPageVO'; +import { + GroupPageVOFromJSON, + GroupPageVOFromJSONTyped, + GroupPageVOToJSON, + GroupPageVOToJSONTyped, +} from './GroupPageVO'; + +/** + * + * @export + * @interface PageResultGroupPageVO + */ +export interface PageResultGroupPageVO { + /** + * + * @type {Array} + * @memberof PageResultGroupPageVO + */ + data: Array; + /** + * + * @type {number} + * @memberof PageResultGroupPageVO + */ + page: number; + /** + * + * @type {number} + * @memberof PageResultGroupPageVO + */ + pageSize: number; + /** + * + * @type {number} + * @memberof PageResultGroupPageVO + */ + total: number; + /** + * + * @type {number} + * @memberof PageResultGroupPageVO + */ + totalPage: number; +} + +/** + * Check if a given object implements the PageResultGroupPageVO interface. + */ +export function instanceOfPageResultGroupPageVO(value: object): value is PageResultGroupPageVO { + if (!('data' in value) || value['data'] === undefined) return false; + if (!('page' in value) || value['page'] === undefined) return false; + if (!('pageSize' in value) || value['pageSize'] === undefined) return false; + if (!('total' in value) || value['total'] === undefined) return false; + if (!('totalPage' in value) || value['totalPage'] === undefined) return false; + return true; +} + +export function PageResultGroupPageVOFromJSON(json: any): PageResultGroupPageVO { + return PageResultGroupPageVOFromJSONTyped(json, false); +} + +export function PageResultGroupPageVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): PageResultGroupPageVO { + if (json == null) { + return json; + } + return { + + 'data': ((json['data'] as Array).map(GroupPageVOFromJSON)), + 'page': json['page'], + 'pageSize': json['pageSize'], + 'total': json['total'], + 'totalPage': json['totalPage'], + }; +} + + export function PageResultGroupPageVOToJSON(json: any): PageResultGroupPageVO { + return PageResultGroupPageVOToJSONTyped(json, false); + } + + export function PageResultGroupPageVOToJSONTyped(value?: PageResultGroupPageVO | null, ignoreDiscriminator: boolean = false): any { + if (value == null) { + return value; + } + + return { + + 'data': ((value['data'] as Array).map(GroupPageVOToJSON)), + 'page': value['page'], + 'pageSize': value['pageSize'], + 'total': value['total'], + 'totalPage': value['totalPage'], + }; +} + diff --git a/ui/packages/api-client/src/models/PageResultImagePageVO.ts b/ui/packages/api-client/src/models/PageResultImagePageVO.ts new file mode 100644 index 00000000..1a622a54 --- /dev/null +++ b/ui/packages/api-client/src/models/PageResultImagePageVO.ts @@ -0,0 +1,110 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * HoshizoraPics API + * API for testing and demonstration purposes. + * + * The version of the OpenAPI document: latest + * + * + * 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'; +import type { ImagePageVO } from './ImagePageVO'; +import { + ImagePageVOFromJSON, + ImagePageVOFromJSONTyped, + ImagePageVOToJSON, + ImagePageVOToJSONTyped, +} from './ImagePageVO'; + +/** + * + * @export + * @interface PageResultImagePageVO + */ +export interface PageResultImagePageVO { + /** + * + * @type {Array} + * @memberof PageResultImagePageVO + */ + data: Array; + /** + * + * @type {number} + * @memberof PageResultImagePageVO + */ + page: number; + /** + * + * @type {number} + * @memberof PageResultImagePageVO + */ + pageSize: number; + /** + * + * @type {number} + * @memberof PageResultImagePageVO + */ + total: number; + /** + * + * @type {number} + * @memberof PageResultImagePageVO + */ + totalPage: number; +} + +/** + * Check if a given object implements the PageResultImagePageVO interface. + */ +export function instanceOfPageResultImagePageVO(value: object): value is PageResultImagePageVO { + if (!('data' in value) || value['data'] === undefined) return false; + if (!('page' in value) || value['page'] === undefined) return false; + if (!('pageSize' in value) || value['pageSize'] === undefined) return false; + if (!('total' in value) || value['total'] === undefined) return false; + if (!('totalPage' in value) || value['totalPage'] === undefined) return false; + return true; +} + +export function PageResultImagePageVOFromJSON(json: any): PageResultImagePageVO { + return PageResultImagePageVOFromJSONTyped(json, false); +} + +export function PageResultImagePageVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): PageResultImagePageVO { + if (json == null) { + return json; + } + return { + + 'data': ((json['data'] as Array).map(ImagePageVOFromJSON)), + 'page': json['page'], + 'pageSize': json['pageSize'], + 'total': json['total'], + 'totalPage': json['totalPage'], + }; +} + + export function PageResultImagePageVOToJSON(json: any): PageResultImagePageVO { + return PageResultImagePageVOToJSONTyped(json, false); + } + + export function PageResultImagePageVOToJSONTyped(value?: PageResultImagePageVO | null, ignoreDiscriminator: boolean = false): any { + if (value == null) { + return value; + } + + return { + + 'data': ((value['data'] as Array).map(ImagePageVOToJSON)), + 'page': value['page'], + 'pageSize': value['pageSize'], + 'total': value['total'], + 'totalPage': value['totalPage'], + }; +} + diff --git a/ui/packages/api-client/src/models/PageResultStrategyPageVO.ts b/ui/packages/api-client/src/models/PageResultStrategyPageVO.ts new file mode 100644 index 00000000..05d0aba0 --- /dev/null +++ b/ui/packages/api-client/src/models/PageResultStrategyPageVO.ts @@ -0,0 +1,110 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * HoshizoraPics API + * API for testing and demonstration purposes. + * + * The version of the OpenAPI document: latest + * + * + * 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'; +import type { StrategyPageVO } from './StrategyPageVO'; +import { + StrategyPageVOFromJSON, + StrategyPageVOFromJSONTyped, + StrategyPageVOToJSON, + StrategyPageVOToJSONTyped, +} from './StrategyPageVO'; + +/** + * + * @export + * @interface PageResultStrategyPageVO + */ +export interface PageResultStrategyPageVO { + /** + * + * @type {Array} + * @memberof PageResultStrategyPageVO + */ + data: Array; + /** + * + * @type {number} + * @memberof PageResultStrategyPageVO + */ + page: number; + /** + * + * @type {number} + * @memberof PageResultStrategyPageVO + */ + pageSize: number; + /** + * + * @type {number} + * @memberof PageResultStrategyPageVO + */ + total: number; + /** + * + * @type {number} + * @memberof PageResultStrategyPageVO + */ + totalPage: number; +} + +/** + * Check if a given object implements the PageResultStrategyPageVO interface. + */ +export function instanceOfPageResultStrategyPageVO(value: object): value is PageResultStrategyPageVO { + if (!('data' in value) || value['data'] === undefined) return false; + if (!('page' in value) || value['page'] === undefined) return false; + if (!('pageSize' in value) || value['pageSize'] === undefined) return false; + if (!('total' in value) || value['total'] === undefined) return false; + if (!('totalPage' in value) || value['totalPage'] === undefined) return false; + return true; +} + +export function PageResultStrategyPageVOFromJSON(json: any): PageResultStrategyPageVO { + return PageResultStrategyPageVOFromJSONTyped(json, false); +} + +export function PageResultStrategyPageVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): PageResultStrategyPageVO { + if (json == null) { + return json; + } + return { + + 'data': ((json['data'] as Array).map(StrategyPageVOFromJSON)), + 'page': json['page'], + 'pageSize': json['pageSize'], + 'total': json['total'], + 'totalPage': json['totalPage'], + }; +} + + export function PageResultStrategyPageVOToJSON(json: any): PageResultStrategyPageVO { + return PageResultStrategyPageVOToJSONTyped(json, false); + } + + export function PageResultStrategyPageVOToJSONTyped(value?: PageResultStrategyPageVO | null, ignoreDiscriminator: boolean = false): any { + if (value == null) { + return value; + } + + return { + + 'data': ((value['data'] as Array).map(StrategyPageVOToJSON)), + 'page': value['page'], + 'pageSize': value['pageSize'], + 'total': value['total'], + 'totalPage': value['totalPage'], + }; +} + diff --git a/ui/packages/api-client/src/models/PageResultUserManageVO.ts b/ui/packages/api-client/src/models/PageResultUserManageVO.ts new file mode 100644 index 00000000..896fa407 --- /dev/null +++ b/ui/packages/api-client/src/models/PageResultUserManageVO.ts @@ -0,0 +1,110 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * HoshizoraPics API + * API for testing and demonstration purposes. + * + * The version of the OpenAPI document: latest + * + * + * 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'; +import type { UserManageVO } from './UserManageVO'; +import { + UserManageVOFromJSON, + UserManageVOFromJSONTyped, + UserManageVOToJSON, + UserManageVOToJSONTyped, +} from './UserManageVO'; + +/** + * + * @export + * @interface PageResultUserManageVO + */ +export interface PageResultUserManageVO { + /** + * + * @type {Array} + * @memberof PageResultUserManageVO + */ + data: Array; + /** + * + * @type {number} + * @memberof PageResultUserManageVO + */ + page: number; + /** + * + * @type {number} + * @memberof PageResultUserManageVO + */ + pageSize: number; + /** + * + * @type {number} + * @memberof PageResultUserManageVO + */ + total: number; + /** + * + * @type {number} + * @memberof PageResultUserManageVO + */ + totalPage: number; +} + +/** + * Check if a given object implements the PageResultUserManageVO interface. + */ +export function instanceOfPageResultUserManageVO(value: object): value is PageResultUserManageVO { + if (!('data' in value) || value['data'] === undefined) return false; + if (!('page' in value) || value['page'] === undefined) return false; + if (!('pageSize' in value) || value['pageSize'] === undefined) return false; + if (!('total' in value) || value['total'] === undefined) return false; + if (!('totalPage' in value) || value['totalPage'] === undefined) return false; + return true; +} + +export function PageResultUserManageVOFromJSON(json: any): PageResultUserManageVO { + return PageResultUserManageVOFromJSONTyped(json, false); +} + +export function PageResultUserManageVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): PageResultUserManageVO { + if (json == null) { + return json; + } + return { + + 'data': ((json['data'] as Array).map(UserManageVOFromJSON)), + 'page': json['page'], + 'pageSize': json['pageSize'], + 'total': json['total'], + 'totalPage': json['totalPage'], + }; +} + + export function PageResultUserManageVOToJSON(json: any): PageResultUserManageVO { + return PageResultUserManageVOToJSONTyped(json, false); + } + + export function PageResultUserManageVOToJSONTyped(value?: PageResultUserManageVO | null, ignoreDiscriminator: boolean = false): any { + if (value == null) { + return value; + } + + return { + + 'data': ((value['data'] as Array).map(UserManageVOToJSON)), + 'page': value['page'], + 'pageSize': value['pageSize'], + 'total': value['total'], + 'totalPage': value['totalPage'], + }; +} + diff --git a/ui/packages/api-client/src/models/IoSakurasouModelEntityPermission.ts b/ui/packages/api-client/src/models/PermissionVO.ts similarity index 53% rename from ui/packages/api-client/src/models/IoSakurasouModelEntityPermission.ts rename to ui/packages/api-client/src/models/PermissionVO.ts index 96bfbb55..30e2dcb3 100644 --- a/ui/packages/api-client/src/models/IoSakurasouModelEntityPermission.ts +++ b/ui/packages/api-client/src/models/PermissionVO.ts @@ -16,36 +16,36 @@ import { mapValues } from '../runtime'; /** * * @export - * @interface IoSakurasouModelEntityPermission + * @interface PermissionVO */ -export interface IoSakurasouModelEntityPermission { +export interface PermissionVO { /** * * @type {string} - * @memberof IoSakurasouModelEntityPermission + * @memberof PermissionVO */ - description?: string; + description?: string | null; /** * * @type {string} - * @memberof IoSakurasouModelEntityPermission + * @memberof PermissionVO */ name: string; } /** - * Check if a given object implements the IoSakurasouModelEntityPermission interface. + * Check if a given object implements the PermissionVO interface. */ -export function instanceOfIoSakurasouModelEntityPermission(value: object): value is IoSakurasouModelEntityPermission { +export function instanceOfPermissionVO(value: object): value is PermissionVO { if (!('name' in value) || value['name'] === undefined) return false; return true; } -export function IoSakurasouModelEntityPermissionFromJSON(json: any): IoSakurasouModelEntityPermission { - return IoSakurasouModelEntityPermissionFromJSONTyped(json, false); +export function PermissionVOFromJSON(json: any): PermissionVO { + return PermissionVOFromJSONTyped(json, false); } -export function IoSakurasouModelEntityPermissionFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouModelEntityPermission { +export function PermissionVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): PermissionVO { if (json == null) { return json; } @@ -56,10 +56,15 @@ export function IoSakurasouModelEntityPermissionFromJSONTyped(json: any, ignoreD }; } -export function IoSakurasouModelEntityPermissionToJSON(value?: IoSakurasouModelEntityPermission | null): any { + export function PermissionVOToJSON(json: any): PermissionVO { + return PermissionVOToJSONTyped(json, false); + } + + export function PermissionVOToJSONTyped(value?: PermissionVO | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } + return { 'description': value['description'], diff --git a/ui/packages/api-client/src/models/RoleVO.ts b/ui/packages/api-client/src/models/RoleVO.ts new file mode 100644 index 00000000..268bcef6 --- /dev/null +++ b/ui/packages/api-client/src/models/RoleVO.ts @@ -0,0 +1,91 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * HoshizoraPics API + * API for testing and demonstration purposes. + * + * The version of the OpenAPI document: latest + * + * + * 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'; +import type { PermissionVO } from './PermissionVO'; +import { + PermissionVOFromJSON, + PermissionVOFromJSONTyped, + PermissionVOToJSON, + PermissionVOToJSONTyped, +} from './PermissionVO'; + +/** + * + * @export + * @interface RoleVO + */ +export interface RoleVO { + /** + * + * @type {string} + * @memberof RoleVO + */ + description?: string | null; + /** + * + * @type {string} + * @memberof RoleVO + */ + name: string; + /** + * + * @type {Array} + * @memberof RoleVO + */ + permissions: Array; +} + +/** + * Check if a given object implements the RoleVO interface. + */ +export function instanceOfRoleVO(value: object): value is RoleVO { + if (!('name' in value) || value['name'] === undefined) return false; + if (!('permissions' in value) || value['permissions'] === undefined) return false; + return true; +} + +export function RoleVOFromJSON(json: any): RoleVO { + return RoleVOFromJSONTyped(json, false); +} + +export function RoleVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): RoleVO { + if (json == null) { + return json; + } + return { + + 'description': json['description'] == null ? undefined : json['description'], + 'name': json['name'], + 'permissions': ((json['permissions'] as Array).map(PermissionVOFromJSON)), + }; +} + + export function RoleVOToJSON(json: any): RoleVO { + return RoleVOToJSONTyped(json, false); + } + + export function RoleVOToJSONTyped(value?: RoleVO | null, ignoreDiscriminator: boolean = false): any { + if (value == null) { + return value; + } + + return { + + 'description': value['description'], + 'name': value['name'], + 'permissions': ((value['permissions'] as Array).map(PermissionVOToJSON)), + }; +} + diff --git a/ui/packages/api-client/src/models/IoSakurasouModelStrategyS3Strategy.ts b/ui/packages/api-client/src/models/S3Strategy.ts similarity index 59% rename from ui/packages/api-client/src/models/IoSakurasouModelStrategyS3Strategy.ts rename to ui/packages/api-client/src/models/S3Strategy.ts index 2aac6919..6603b0ac 100644 --- a/ui/packages/api-client/src/models/IoSakurasouModelStrategyS3Strategy.ts +++ b/ui/packages/api-client/src/models/S3Strategy.ts @@ -13,81 +13,82 @@ */ import { mapValues } from '../runtime'; -import type { IoSakurasouModelStrategyStrategyType } from './IoSakurasouModelStrategyStrategyType'; +import type { StrategyTypeEnum } from './StrategyTypeEnum'; import { - IoSakurasouModelStrategyStrategyTypeFromJSON, - IoSakurasouModelStrategyStrategyTypeFromJSONTyped, - IoSakurasouModelStrategyStrategyTypeToJSON, -} from './IoSakurasouModelStrategyStrategyType'; + StrategyTypeEnumFromJSON, + StrategyTypeEnumFromJSONTyped, + StrategyTypeEnumToJSON, + StrategyTypeEnumToJSONTyped, +} from './StrategyTypeEnum'; /** * * @export - * @interface IoSakurasouModelStrategyS3Strategy + * @interface S3Strategy */ -export interface IoSakurasouModelStrategyS3Strategy { +export interface S3Strategy { /** * * @type {string} - * @memberof IoSakurasouModelStrategyS3Strategy + * @memberof S3Strategy */ accessKey: string; /** * * @type {string} - * @memberof IoSakurasouModelStrategyS3Strategy + * @memberof S3Strategy */ bucketName: string; /** * * @type {string} - * @memberof IoSakurasouModelStrategyS3Strategy + * @memberof S3Strategy */ endpoint: string; /** * * @type {string} - * @memberof IoSakurasouModelStrategyS3Strategy + * @memberof S3Strategy */ publicUrl: string; /** * * @type {string} - * @memberof IoSakurasouModelStrategyS3Strategy + * @memberof S3Strategy */ region: string; /** * * @type {string} - * @memberof IoSakurasouModelStrategyS3Strategy + * @memberof S3Strategy */ secretKey: string; /** * * @type {string} - * @memberof IoSakurasouModelStrategyS3Strategy + * @memberof S3Strategy */ thumbnailFolder: string; /** * * @type {string} - * @memberof IoSakurasouModelStrategyS3Strategy + * @memberof S3Strategy */ uploadFolder: string; /** * - * @type {IoSakurasouModelStrategyStrategyType} - * @memberof IoSakurasouModelStrategyS3Strategy + * @type {StrategyTypeEnum} + * @memberof S3Strategy */ - strategyType: IoSakurasouModelStrategyStrategyType; + strategyType: StrategyTypeEnum; } /** - * Check if a given object implements the IoSakurasouModelStrategyS3Strategy interface. + * Check if a given object implements the S3Strategy interface. */ -export function instanceOfIoSakurasouModelStrategyS3Strategy(value: object): value is IoSakurasouModelStrategyS3Strategy { +export function instanceOfS3Strategy(value: object): value is S3Strategy { if (!('accessKey' in value) || value['accessKey'] === undefined) return false; if (!('bucketName' in value) || value['bucketName'] === undefined) return false; if (!('endpoint' in value) || value['endpoint'] === undefined) return false; @@ -100,11 +101,11 @@ export function instanceOfIoSakurasouModelStrategyS3Strategy(value: object): val return true; } -export function IoSakurasouModelStrategyS3StrategyFromJSON(json: any): IoSakurasouModelStrategyS3Strategy { - return IoSakurasouModelStrategyS3StrategyFromJSONTyped(json, false); +export function S3StrategyFromJSON(json: any): S3Strategy { + return S3StrategyFromJSONTyped(json, false); } -export function IoSakurasouModelStrategyS3StrategyFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouModelStrategyS3Strategy { +export function S3StrategyFromJSONTyped(json: any, ignoreDiscriminator: boolean): S3Strategy { if (json == null) { return json; } @@ -118,14 +119,19 @@ export function IoSakurasouModelStrategyS3StrategyFromJSONTyped(json: any, ignor 'secretKey': json['secretKey'], 'thumbnailFolder': json['thumbnailFolder'], 'uploadFolder': json['uploadFolder'], - 'strategyType': IoSakurasouModelStrategyStrategyTypeFromJSON(json['strategyType']), + 'strategyType': StrategyTypeEnumFromJSON(json['strategyType']), }; } -export function IoSakurasouModelStrategyS3StrategyToJSON(value?: IoSakurasouModelStrategyS3Strategy | null): any { + export function S3StrategyToJSON(json: any): S3Strategy { + return S3StrategyToJSONTyped(json, false); + } + + export function S3StrategyToJSONTyped(value?: S3Strategy | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } + return { 'accessKey': value['accessKey'], @@ -136,7 +142,7 @@ export function IoSakurasouModelStrategyS3StrategyToJSON(value?: IoSakurasouMode 'secretKey': value['secretKey'], 'thumbnailFolder': value['thumbnailFolder'], 'uploadFolder': value['uploadFolder'], - 'strategyType': IoSakurasouModelStrategyStrategyTypeToJSON(value['strategyType']), + 'strategyType': StrategyTypeEnumToJSON(value['strategyType']), }; } diff --git a/ui/packages/api-client/src/models/IoSakurasouModelSettingSettingConfig.ts b/ui/packages/api-client/src/models/SettingConfigSealed.ts similarity index 59% rename from ui/packages/api-client/src/models/IoSakurasouModelSettingSettingConfig.ts rename to ui/packages/api-client/src/models/SettingConfigSealed.ts index 01ea2a2c..6d8e0b10 100644 --- a/ui/packages/api-client/src/models/IoSakurasouModelSettingSettingConfig.ts +++ b/ui/packages/api-client/src/models/SettingConfigSealed.ts @@ -13,97 +13,100 @@ */ import { mapValues } from '../runtime'; -import type { IoSakurasouModelSettingSystemSetting } from './IoSakurasouModelSettingSystemSetting'; +import type { SystemStatus } from './SystemStatus'; import { - IoSakurasouModelSettingSystemSettingFromJSON, - IoSakurasouModelSettingSystemSettingFromJSONTyped, - IoSakurasouModelSettingSystemSettingToJSON, -} from './IoSakurasouModelSettingSystemSetting'; -import type { IoSakurasouModelSettingSiteSetting } from './IoSakurasouModelSettingSiteSetting'; + SystemStatusFromJSON, + SystemStatusFromJSONTyped, + SystemStatusToJSON, + SystemStatusToJSONTyped, +} from './SystemStatus'; +import type { SystemSetting } from './SystemSetting'; import { - IoSakurasouModelSettingSiteSettingFromJSON, - IoSakurasouModelSettingSiteSettingFromJSONTyped, - IoSakurasouModelSettingSiteSettingToJSON, -} from './IoSakurasouModelSettingSiteSetting'; -import type { IoSakurasouModelSettingSystemStatus } from './IoSakurasouModelSettingSystemStatus'; + SystemSettingFromJSON, + SystemSettingFromJSONTyped, + SystemSettingToJSON, + SystemSettingToJSONTyped, +} from './SystemSetting'; +import type { SiteSetting } from './SiteSetting'; import { - IoSakurasouModelSettingSystemStatusFromJSON, - IoSakurasouModelSettingSystemStatusFromJSONTyped, - IoSakurasouModelSettingSystemStatusToJSON, -} from './IoSakurasouModelSettingSystemStatus'; + SiteSettingFromJSON, + SiteSettingFromJSONTyped, + SiteSettingToJSON, + SiteSettingToJSONTyped, +} from './SiteSetting'; /** * * @export - * @interface IoSakurasouModelSettingSettingConfig + * @interface SettingConfigSealed */ -export interface IoSakurasouModelSettingSettingConfig { +export interface SettingConfigSealed { /** * * @type {boolean} - * @memberof IoSakurasouModelSettingSettingConfig + * @memberof SettingConfigSealed */ homePageRandomPicDisplay: boolean; /** * * @type {string} - * @memberof IoSakurasouModelSettingSettingConfig + * @memberof SettingConfigSealed */ siteDescription: string; /** * * @type {string} - * @memberof IoSakurasouModelSettingSettingConfig + * @memberof SettingConfigSealed */ siteExternalUrl: string; /** * * @type {string} - * @memberof IoSakurasouModelSettingSettingConfig + * @memberof SettingConfigSealed */ siteKeyword: string; /** * * @type {string} - * @memberof IoSakurasouModelSettingSettingConfig + * @memberof SettingConfigSealed */ siteSubtitle: string; /** * * @type {string} - * @memberof IoSakurasouModelSettingSettingConfig + * @memberof SettingConfigSealed */ siteTitle: string; /** * * @type {boolean} - * @memberof IoSakurasouModelSettingSettingConfig + * @memberof SettingConfigSealed */ allowRandomFetch: boolean; /** * * @type {boolean} - * @memberof IoSakurasouModelSettingSettingConfig + * @memberof SettingConfigSealed */ allowSignup: boolean; /** * * @type {number} - * @memberof IoSakurasouModelSettingSettingConfig + * @memberof SettingConfigSealed */ defaultGroupId: number; /** * * @type {boolean} - * @memberof IoSakurasouModelSettingSettingConfig + * @memberof SettingConfigSealed */ isInit: boolean; } /** - * Check if a given object implements the IoSakurasouModelSettingSettingConfig interface. + * Check if a given object implements the SettingConfigSealed interface. */ -export function instanceOfIoSakurasouModelSettingSettingConfig(value: object): value is IoSakurasouModelSettingSettingConfig { +export function instanceOfSettingConfigSealed(value: object): value is SettingConfigSealed { if (!('homePageRandomPicDisplay' in value) || value['homePageRandomPicDisplay'] === undefined) return false; if (!('siteDescription' in value) || value['siteDescription'] === undefined) return false; if (!('siteExternalUrl' in value) || value['siteExternalUrl'] === undefined) return false; @@ -117,11 +120,11 @@ export function instanceOfIoSakurasouModelSettingSettingConfig(value: object): v return true; } -export function IoSakurasouModelSettingSettingConfigFromJSON(json: any): IoSakurasouModelSettingSettingConfig { - return IoSakurasouModelSettingSettingConfigFromJSONTyped(json, false); +export function SettingConfigSealedFromJSON(json: any): SettingConfigSealed { + return SettingConfigSealedFromJSONTyped(json, false); } -export function IoSakurasouModelSettingSettingConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouModelSettingSettingConfig { +export function SettingConfigSealedFromJSONTyped(json: any, ignoreDiscriminator: boolean): SettingConfigSealed { if (json == null) { return json; } @@ -140,10 +143,15 @@ export function IoSakurasouModelSettingSettingConfigFromJSONTyped(json: any, ign }; } -export function IoSakurasouModelSettingSettingConfigToJSON(value?: IoSakurasouModelSettingSettingConfig | null): any { + export function SettingConfigSealedToJSON(json: any): SettingConfigSealed { + return SettingConfigSealedToJSONTyped(json, false); + } + + export function SettingConfigSealedToJSONTyped(value?: SettingConfigSealed | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } + return { 'homePageRandomPicDisplay': value['homePageRandomPicDisplay'], diff --git a/ui/packages/api-client/src/models/SettingVO.ts b/ui/packages/api-client/src/models/SettingVO.ts new file mode 100644 index 00000000..161be0aa --- /dev/null +++ b/ui/packages/api-client/src/models/SettingVO.ts @@ -0,0 +1,83 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * HoshizoraPics API + * API for testing and demonstration purposes. + * + * The version of the OpenAPI document: latest + * + * + * 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'; +import type { SettingConfigSealed } from './SettingConfigSealed'; +import { + SettingConfigSealedFromJSON, + SettingConfigSealedFromJSONTyped, + SettingConfigSealedToJSON, + SettingConfigSealedToJSONTyped, +} from './SettingConfigSealed'; + +/** + * + * @export + * @interface SettingVO + */ +export interface SettingVO { + /** + * + * @type {SettingConfigSealed} + * @memberof SettingVO + */ + config: SettingConfigSealed; + /** + * + * @type {string} + * @memberof SettingVO + */ + name: string; +} + +/** + * Check if a given object implements the SettingVO interface. + */ +export function instanceOfSettingVO(value: object): value is SettingVO { + if (!('config' in value) || value['config'] === undefined) return false; + if (!('name' in value) || value['name'] === undefined) return false; + return true; +} + +export function SettingVOFromJSON(json: any): SettingVO { + return SettingVOFromJSONTyped(json, false); +} + +export function SettingVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): SettingVO { + if (json == null) { + return json; + } + return { + + 'config': SettingConfigSealedFromJSON(json['config']), + 'name': json['name'], + }; +} + + export function SettingVOToJSON(json: any): SettingVO { + return SettingVOToJSONTyped(json, false); + } + + export function SettingVOToJSONTyped(value?: SettingVO | null, ignoreDiscriminator: boolean = false): any { + if (value == null) { + return value; + } + + return { + + 'config': SettingConfigSealedToJSON(value['config']), + 'name': value['name'], + }; +} + diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerRequestSiteInitRequest.ts b/ui/packages/api-client/src/models/SiteInitRequest.ts similarity index 64% rename from ui/packages/api-client/src/models/IoSakurasouControllerRequestSiteInitRequest.ts rename to ui/packages/api-client/src/models/SiteInitRequest.ts index 8d6a052f..63be920b 100644 --- a/ui/packages/api-client/src/models/IoSakurasouControllerRequestSiteInitRequest.ts +++ b/ui/packages/api-client/src/models/SiteInitRequest.ts @@ -16,57 +16,57 @@ import { mapValues } from '../runtime'; /** * * @export - * @interface IoSakurasouControllerRequestSiteInitRequest + * @interface SiteInitRequest */ -export interface IoSakurasouControllerRequestSiteInitRequest { +export interface SiteInitRequest { /** * * @type {string} - * @memberof IoSakurasouControllerRequestSiteInitRequest + * @memberof SiteInitRequest */ email: string; /** * * @type {string} - * @memberof IoSakurasouControllerRequestSiteInitRequest + * @memberof SiteInitRequest */ password: string; /** * * @type {string} - * @memberof IoSakurasouControllerRequestSiteInitRequest + * @memberof SiteInitRequest */ siteDescription: string; /** * * @type {string} - * @memberof IoSakurasouControllerRequestSiteInitRequest + * @memberof SiteInitRequest */ siteExternalUrl: string; /** * * @type {string} - * @memberof IoSakurasouControllerRequestSiteInitRequest + * @memberof SiteInitRequest */ siteSubtitle: string; /** * * @type {string} - * @memberof IoSakurasouControllerRequestSiteInitRequest + * @memberof SiteInitRequest */ siteTitle: string; /** * * @type {string} - * @memberof IoSakurasouControllerRequestSiteInitRequest + * @memberof SiteInitRequest */ username: string; } /** - * Check if a given object implements the IoSakurasouControllerRequestSiteInitRequest interface. + * Check if a given object implements the SiteInitRequest interface. */ -export function instanceOfIoSakurasouControllerRequestSiteInitRequest(value: object): value is IoSakurasouControllerRequestSiteInitRequest { +export function instanceOfSiteInitRequest(value: object): value is SiteInitRequest { if (!('email' in value) || value['email'] === undefined) return false; if (!('password' in value) || value['password'] === undefined) return false; if (!('siteDescription' in value) || value['siteDescription'] === undefined) return false; @@ -77,11 +77,11 @@ export function instanceOfIoSakurasouControllerRequestSiteInitRequest(value: obj return true; } -export function IoSakurasouControllerRequestSiteInitRequestFromJSON(json: any): IoSakurasouControllerRequestSiteInitRequest { - return IoSakurasouControllerRequestSiteInitRequestFromJSONTyped(json, false); +export function SiteInitRequestFromJSON(json: any): SiteInitRequest { + return SiteInitRequestFromJSONTyped(json, false); } -export function IoSakurasouControllerRequestSiteInitRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerRequestSiteInitRequest { +export function SiteInitRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SiteInitRequest { if (json == null) { return json; } @@ -97,10 +97,15 @@ export function IoSakurasouControllerRequestSiteInitRequestFromJSONTyped(json: a }; } -export function IoSakurasouControllerRequestSiteInitRequestToJSON(value?: IoSakurasouControllerRequestSiteInitRequest | null): any { + export function SiteInitRequestToJSON(json: any): SiteInitRequest { + return SiteInitRequestToJSONTyped(json, false); + } + + export function SiteInitRequestToJSONTyped(value?: SiteInitRequest | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } + return { 'email': value['email'], diff --git a/ui/packages/api-client/src/models/IoSakurasouModelSettingSiteSetting.ts b/ui/packages/api-client/src/models/SiteSetting.ts similarity index 67% rename from ui/packages/api-client/src/models/IoSakurasouModelSettingSiteSetting.ts rename to ui/packages/api-client/src/models/SiteSetting.ts index 008c9abb..e2ff7224 100644 --- a/ui/packages/api-client/src/models/IoSakurasouModelSettingSiteSetting.ts +++ b/ui/packages/api-client/src/models/SiteSetting.ts @@ -16,51 +16,51 @@ import { mapValues } from '../runtime'; /** * * @export - * @interface IoSakurasouModelSettingSiteSetting + * @interface SiteSetting */ -export interface IoSakurasouModelSettingSiteSetting { +export interface SiteSetting { /** * * @type {boolean} - * @memberof IoSakurasouModelSettingSiteSetting + * @memberof SiteSetting */ homePageRandomPicDisplay: boolean; /** * * @type {string} - * @memberof IoSakurasouModelSettingSiteSetting + * @memberof SiteSetting */ siteDescription: string; /** * * @type {string} - * @memberof IoSakurasouModelSettingSiteSetting + * @memberof SiteSetting */ siteExternalUrl: string; /** * * @type {string} - * @memberof IoSakurasouModelSettingSiteSetting + * @memberof SiteSetting */ siteKeyword: string; /** * * @type {string} - * @memberof IoSakurasouModelSettingSiteSetting + * @memberof SiteSetting */ siteSubtitle: string; /** * * @type {string} - * @memberof IoSakurasouModelSettingSiteSetting + * @memberof SiteSetting */ siteTitle: string; } /** - * Check if a given object implements the IoSakurasouModelSettingSiteSetting interface. + * Check if a given object implements the SiteSetting interface. */ -export function instanceOfIoSakurasouModelSettingSiteSetting(value: object): value is IoSakurasouModelSettingSiteSetting { +export function instanceOfSiteSetting(value: object): value is SiteSetting { if (!('homePageRandomPicDisplay' in value) || value['homePageRandomPicDisplay'] === undefined) return false; if (!('siteDescription' in value) || value['siteDescription'] === undefined) return false; if (!('siteExternalUrl' in value) || value['siteExternalUrl'] === undefined) return false; @@ -70,11 +70,11 @@ export function instanceOfIoSakurasouModelSettingSiteSetting(value: object): val return true; } -export function IoSakurasouModelSettingSiteSettingFromJSON(json: any): IoSakurasouModelSettingSiteSetting { - return IoSakurasouModelSettingSiteSettingFromJSONTyped(json, false); +export function SiteSettingFromJSON(json: any): SiteSetting { + return SiteSettingFromJSONTyped(json, false); } -export function IoSakurasouModelSettingSiteSettingFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouModelSettingSiteSetting { +export function SiteSettingFromJSONTyped(json: any, ignoreDiscriminator: boolean): SiteSetting { if (json == null) { return json; } @@ -89,10 +89,15 @@ export function IoSakurasouModelSettingSiteSettingFromJSONTyped(json: any, ignor }; } -export function IoSakurasouModelSettingSiteSettingToJSON(value?: IoSakurasouModelSettingSiteSetting | null): any { + export function SiteSettingToJSON(json: any): SiteSetting { + return SiteSettingToJSONTyped(json, false); + } + + export function SiteSettingToJSONTyped(value?: SiteSetting | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } + return { 'homePageRandomPicDisplay': value['homePageRandomPicDisplay'], diff --git a/ui/packages/api-client/src/models/SiteSettingPatchRequest.ts b/ui/packages/api-client/src/models/SiteSettingPatchRequest.ts new file mode 100644 index 00000000..acb95008 --- /dev/null +++ b/ui/packages/api-client/src/models/SiteSettingPatchRequest.ts @@ -0,0 +1,105 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * HoshizoraPics API + * API for testing and demonstration purposes. + * + * The version of the OpenAPI document: latest + * + * + * 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 SiteSettingPatchRequest + */ +export interface SiteSettingPatchRequest { + /** + * + * @type {boolean} + * @memberof SiteSettingPatchRequest + */ + homePageRandomPicDisplay?: boolean | null; + /** + * + * @type {string} + * @memberof SiteSettingPatchRequest + */ + siteDescription?: string | null; + /** + * + * @type {string} + * @memberof SiteSettingPatchRequest + */ + siteExternalUrl?: string | null; + /** + * + * @type {string} + * @memberof SiteSettingPatchRequest + */ + siteKeyword?: string | null; + /** + * + * @type {string} + * @memberof SiteSettingPatchRequest + */ + siteSubtitle?: string | null; + /** + * + * @type {string} + * @memberof SiteSettingPatchRequest + */ + siteTitle?: string | null; +} + +/** + * Check if a given object implements the SiteSettingPatchRequest interface. + */ +export function instanceOfSiteSettingPatchRequest(value: object): value is SiteSettingPatchRequest { + return true; +} + +export function SiteSettingPatchRequestFromJSON(json: any): SiteSettingPatchRequest { + return SiteSettingPatchRequestFromJSONTyped(json, false); +} + +export function SiteSettingPatchRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SiteSettingPatchRequest { + if (json == null) { + return json; + } + return { + + 'homePageRandomPicDisplay': json['homePageRandomPicDisplay'] == null ? undefined : json['homePageRandomPicDisplay'], + 'siteDescription': json['siteDescription'] == null ? undefined : json['siteDescription'], + 'siteExternalUrl': json['siteExternalUrl'] == null ? undefined : json['siteExternalUrl'], + 'siteKeyword': json['siteKeyword'] == null ? undefined : json['siteKeyword'], + 'siteSubtitle': json['siteSubtitle'] == null ? undefined : json['siteSubtitle'], + 'siteTitle': json['siteTitle'] == null ? undefined : json['siteTitle'], + }; +} + + export function SiteSettingPatchRequestToJSON(json: any): SiteSettingPatchRequest { + return SiteSettingPatchRequestToJSONTyped(json, false); + } + + export function SiteSettingPatchRequestToJSONTyped(value?: SiteSettingPatchRequest | null, ignoreDiscriminator: boolean = false): any { + if (value == null) { + return value; + } + + return { + + 'homePageRandomPicDisplay': value['homePageRandomPicDisplay'], + 'siteDescription': value['siteDescription'], + 'siteExternalUrl': value['siteExternalUrl'], + 'siteKeyword': value['siteKeyword'], + 'siteSubtitle': value['siteSubtitle'], + 'siteTitle': value['siteTitle'], + }; +} + diff --git a/ui/packages/api-client/src/models/IoSakurasouModelStrategyStrategyConfig.ts b/ui/packages/api-client/src/models/StrategyConfigSealed.ts similarity index 51% rename from ui/packages/api-client/src/models/IoSakurasouModelStrategyStrategyConfig.ts rename to ui/packages/api-client/src/models/StrategyConfigSealed.ts index 9b626b88..9091e979 100644 --- a/ui/packages/api-client/src/models/IoSakurasouModelStrategyStrategyConfig.ts +++ b/ui/packages/api-client/src/models/StrategyConfigSealed.ts @@ -13,83 +13,86 @@ */ import { mapValues } from '../runtime'; -import type { IoSakurasouModelStrategyS3Strategy } from './IoSakurasouModelStrategyS3Strategy'; +import type { LocalStrategy } from './LocalStrategy'; import { - IoSakurasouModelStrategyS3StrategyFromJSON, - IoSakurasouModelStrategyS3StrategyFromJSONTyped, - IoSakurasouModelStrategyS3StrategyToJSON, -} from './IoSakurasouModelStrategyS3Strategy'; -import type { IoSakurasouModelStrategyLocalStrategy } from './IoSakurasouModelStrategyLocalStrategy'; + LocalStrategyFromJSON, + LocalStrategyFromJSONTyped, + LocalStrategyToJSON, + LocalStrategyToJSONTyped, +} from './LocalStrategy'; +import type { S3Strategy } from './S3Strategy'; import { - IoSakurasouModelStrategyLocalStrategyFromJSON, - IoSakurasouModelStrategyLocalStrategyFromJSONTyped, - IoSakurasouModelStrategyLocalStrategyToJSON, -} from './IoSakurasouModelStrategyLocalStrategy'; -import type { IoSakurasouModelStrategyStrategyType } from './IoSakurasouModelStrategyStrategyType'; + S3StrategyFromJSON, + S3StrategyFromJSONTyped, + S3StrategyToJSON, + S3StrategyToJSONTyped, +} from './S3Strategy'; +import type { StrategyTypeEnum } from './StrategyTypeEnum'; import { - IoSakurasouModelStrategyStrategyTypeFromJSON, - IoSakurasouModelStrategyStrategyTypeFromJSONTyped, - IoSakurasouModelStrategyStrategyTypeToJSON, -} from './IoSakurasouModelStrategyStrategyType'; + StrategyTypeEnumFromJSON, + StrategyTypeEnumFromJSONTyped, + StrategyTypeEnumToJSON, + StrategyTypeEnumToJSONTyped, +} from './StrategyTypeEnum'; /** * * @export - * @interface IoSakurasouModelStrategyStrategyConfig + * @interface StrategyConfigSealed */ -export interface IoSakurasouModelStrategyStrategyConfig { +export interface StrategyConfigSealed { /** * * @type {string} - * @memberof IoSakurasouModelStrategyStrategyConfig + * @memberof StrategyConfigSealed */ thumbnailFolder: string; /** * * @type {string} - * @memberof IoSakurasouModelStrategyStrategyConfig + * @memberof StrategyConfigSealed */ uploadFolder: string; /** * - * @type {IoSakurasouModelStrategyStrategyType} - * @memberof IoSakurasouModelStrategyStrategyConfig + * @type {StrategyTypeEnum} + * @memberof StrategyConfigSealed */ - strategyType: IoSakurasouModelStrategyStrategyType; + strategyType: StrategyTypeEnum; /** * * @type {string} - * @memberof IoSakurasouModelStrategyStrategyConfig + * @memberof StrategyConfigSealed */ accessKey: string; /** * * @type {string} - * @memberof IoSakurasouModelStrategyStrategyConfig + * @memberof StrategyConfigSealed */ bucketName: string; /** * * @type {string} - * @memberof IoSakurasouModelStrategyStrategyConfig + * @memberof StrategyConfigSealed */ endpoint: string; /** * * @type {string} - * @memberof IoSakurasouModelStrategyStrategyConfig + * @memberof StrategyConfigSealed */ publicUrl: string; /** * * @type {string} - * @memberof IoSakurasouModelStrategyStrategyConfig + * @memberof StrategyConfigSealed */ region: string; /** * * @type {string} - * @memberof IoSakurasouModelStrategyStrategyConfig + * @memberof StrategyConfigSealed */ secretKey: string; } @@ -97,9 +100,9 @@ export interface IoSakurasouModelStrategyStrategyConfig { /** - * Check if a given object implements the IoSakurasouModelStrategyStrategyConfig interface. + * Check if a given object implements the StrategyConfigSealed interface. */ -export function instanceOfIoSakurasouModelStrategyStrategyConfig(value: object): value is IoSakurasouModelStrategyStrategyConfig { +export function instanceOfStrategyConfigSealed(value: object): value is StrategyConfigSealed { if (!('thumbnailFolder' in value) || value['thumbnailFolder'] === undefined) return false; if (!('uploadFolder' in value) || value['uploadFolder'] === undefined) return false; if (!('strategyType' in value) || value['strategyType'] === undefined) return false; @@ -112,11 +115,11 @@ export function instanceOfIoSakurasouModelStrategyStrategyConfig(value: object): return true; } -export function IoSakurasouModelStrategyStrategyConfigFromJSON(json: any): IoSakurasouModelStrategyStrategyConfig { - return IoSakurasouModelStrategyStrategyConfigFromJSONTyped(json, false); +export function StrategyConfigSealedFromJSON(json: any): StrategyConfigSealed { + return StrategyConfigSealedFromJSONTyped(json, false); } -export function IoSakurasouModelStrategyStrategyConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouModelStrategyStrategyConfig { +export function StrategyConfigSealedFromJSONTyped(json: any, ignoreDiscriminator: boolean): StrategyConfigSealed { if (json == null) { return json; } @@ -124,7 +127,7 @@ export function IoSakurasouModelStrategyStrategyConfigFromJSONTyped(json: any, i 'thumbnailFolder': json['thumbnailFolder'], 'uploadFolder': json['uploadFolder'], - 'strategyType': IoSakurasouModelStrategyStrategyTypeFromJSON(json['strategyType']), + 'strategyType': StrategyTypeEnumFromJSON(json['strategyType']), 'accessKey': json['accessKey'], 'bucketName': json['bucketName'], 'endpoint': json['endpoint'], @@ -134,15 +137,20 @@ export function IoSakurasouModelStrategyStrategyConfigFromJSONTyped(json: any, i }; } -export function IoSakurasouModelStrategyStrategyConfigToJSON(value?: IoSakurasouModelStrategyStrategyConfig | null): any { + export function StrategyConfigSealedToJSON(json: any): StrategyConfigSealed { + return StrategyConfigSealedToJSONTyped(json, false); + } + + export function StrategyConfigSealedToJSONTyped(value?: StrategyConfigSealed | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } + return { 'thumbnailFolder': value['thumbnailFolder'], 'uploadFolder': value['uploadFolder'], - 'strategyType': IoSakurasouModelStrategyStrategyTypeToJSON(value['strategyType']), + 'strategyType': StrategyTypeEnumToJSON(value['strategyType']), 'accessKey': value['accessKey'], 'bucketName': value['bucketName'], 'endpoint': value['endpoint'], diff --git a/ui/packages/api-client/src/models/StrategyInsertRequest.ts b/ui/packages/api-client/src/models/StrategyInsertRequest.ts new file mode 100644 index 00000000..5286b4ac --- /dev/null +++ b/ui/packages/api-client/src/models/StrategyInsertRequest.ts @@ -0,0 +1,81 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * HoshizoraPics API + * API for testing and demonstration purposes. + * + * The version of the OpenAPI document: latest + * + * + * 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'; +import type { StrategyInsertRequestConfig } from './StrategyInsertRequestConfig'; +import { + StrategyInsertRequestConfigFromJSON, + StrategyInsertRequestConfigFromJSONTyped, + StrategyInsertRequestConfigToJSON, + StrategyInsertRequestConfigToJSONTyped, +} from './StrategyInsertRequestConfig'; + +/** + * + * @export + * @interface StrategyInsertRequest + */ +export interface StrategyInsertRequest { + /** + * + * @type {StrategyInsertRequestConfig} + * @memberof StrategyInsertRequest + */ + config?: StrategyInsertRequestConfig; + /** + * + * @type {any} + * @memberof StrategyInsertRequest + */ + name?: any | null; +} + +/** + * Check if a given object implements the StrategyInsertRequest interface. + */ +export function instanceOfStrategyInsertRequest(value: object): value is StrategyInsertRequest { + return true; +} + +export function StrategyInsertRequestFromJSON(json: any): StrategyInsertRequest { + return StrategyInsertRequestFromJSONTyped(json, false); +} + +export function StrategyInsertRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): StrategyInsertRequest { + if (json == null) { + return json; + } + return { + + 'config': json['config'] == null ? undefined : StrategyInsertRequestConfigFromJSON(json['config']), + 'name': json['name'] == null ? undefined : json['name'], + }; +} + + export function StrategyInsertRequestToJSON(json: any): StrategyInsertRequest { + return StrategyInsertRequestToJSONTyped(json, false); + } + + export function StrategyInsertRequestToJSONTyped(value?: StrategyInsertRequest | null, ignoreDiscriminator: boolean = false): any { + if (value == null) { + return value; + } + + return { + + 'config': StrategyInsertRequestConfigToJSON(value['config']), + 'name': value['name'], + }; +} + diff --git a/ui/packages/api-client/src/models/StrategyInsertRequestConfig.ts b/ui/packages/api-client/src/models/StrategyInsertRequestConfig.ts new file mode 100644 index 00000000..e077a283 --- /dev/null +++ b/ui/packages/api-client/src/models/StrategyInsertRequestConfig.ts @@ -0,0 +1,69 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * HoshizoraPics API + * API for testing and demonstration purposes. + * + * The version of the OpenAPI document: latest + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import type { StrategyRequestLocalStrategyConfig } from './StrategyRequestLocalStrategyConfig'; +import { + instanceOfStrategyRequestLocalStrategyConfig, + StrategyRequestLocalStrategyConfigFromJSON, + StrategyRequestLocalStrategyConfigFromJSONTyped, + StrategyRequestLocalStrategyConfigToJSON, +} from './StrategyRequestLocalStrategyConfig'; +import type { StrategyRequestS3StrategyConfig } from './StrategyRequestS3StrategyConfig'; +import { + instanceOfStrategyRequestS3StrategyConfig, + StrategyRequestS3StrategyConfigFromJSON, + StrategyRequestS3StrategyConfigFromJSONTyped, + StrategyRequestS3StrategyConfigToJSON, +} from './StrategyRequestS3StrategyConfig'; + +/** + * @type StrategyInsertRequestConfig + * io/sakurasou/model/strategy/StrategyConfig.kt + * @export + */ +export type StrategyInsertRequestConfig = StrategyRequestLocalStrategyConfig | StrategyRequestS3StrategyConfig; + +export function StrategyInsertRequestConfigFromJSON(json: any): StrategyInsertRequestConfig { + return StrategyInsertRequestConfigFromJSONTyped(json, false); +} + +export function StrategyInsertRequestConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): StrategyInsertRequestConfig { + if (json == null) { + return json; + } + if (instanceOfStrategyRequestLocalStrategyConfig(json)) { + return StrategyRequestLocalStrategyConfigFromJSONTyped(json, true); + } + if (instanceOfStrategyRequestS3StrategyConfig(json)) { + return StrategyRequestS3StrategyConfigFromJSONTyped(json, true); + } + + return {} as any; +} + +export function StrategyInsertRequestConfigToJSON(value?: StrategyInsertRequestConfig | null): any { + if (value == null) { + return value; + } + + if (instanceOfStrategyRequestLocalStrategyConfig(value)) { + return StrategyRequestLocalStrategyConfigToJSON(value as StrategyRequestLocalStrategyConfig); + } + if (instanceOfStrategyRequestS3StrategyConfig(value)) { + return StrategyRequestS3StrategyConfigToJSON(value as StrategyRequestS3StrategyConfig); + } + + return {}; +} + diff --git a/ui/packages/api-client/src/models/StrategyPageVO.ts b/ui/packages/api-client/src/models/StrategyPageVO.ts new file mode 100644 index 00000000..aa3656de --- /dev/null +++ b/ui/packages/api-client/src/models/StrategyPageVO.ts @@ -0,0 +1,94 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * HoshizoraPics API + * API for testing and demonstration purposes. + * + * The version of the OpenAPI document: latest + * + * + * 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'; +import type { StrategyTypeEnum } from './StrategyTypeEnum'; +import { + StrategyTypeEnumFromJSON, + StrategyTypeEnumFromJSONTyped, + StrategyTypeEnumToJSON, + StrategyTypeEnumToJSONTyped, +} from './StrategyTypeEnum'; + +/** + * + * @export + * @interface StrategyPageVO + */ +export interface StrategyPageVO { + /** + * + * @type {number} + * @memberof StrategyPageVO + */ + id: number; + /** + * + * @type {string} + * @memberof StrategyPageVO + */ + name: string; + /** + * + * @type {StrategyTypeEnum} + * @memberof StrategyPageVO + */ + type: StrategyTypeEnum; +} + + + +/** + * Check if a given object implements the StrategyPageVO interface. + */ +export function instanceOfStrategyPageVO(value: object): value is StrategyPageVO { + if (!('id' in value) || value['id'] === undefined) return false; + if (!('name' in value) || value['name'] === undefined) return false; + if (!('type' in value) || value['type'] === undefined) return false; + return true; +} + +export function StrategyPageVOFromJSON(json: any): StrategyPageVO { + return StrategyPageVOFromJSONTyped(json, false); +} + +export function StrategyPageVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): StrategyPageVO { + if (json == null) { + return json; + } + return { + + 'id': json['id'], + 'name': json['name'], + 'type': StrategyTypeEnumFromJSON(json['type']), + }; +} + + export function StrategyPageVOToJSON(json: any): StrategyPageVO { + return StrategyPageVOToJSONTyped(json, false); + } + + export function StrategyPageVOToJSONTyped(value?: StrategyPageVO | null, ignoreDiscriminator: boolean = false): any { + if (value == null) { + return value; + } + + return { + + 'id': value['id'], + 'name': value['name'], + 'type': StrategyTypeEnumToJSON(value['type']), + }; +} + diff --git a/ui/packages/api-client/src/models/StrategyPatchRequest.ts b/ui/packages/api-client/src/models/StrategyPatchRequest.ts new file mode 100644 index 00000000..1479e8d5 --- /dev/null +++ b/ui/packages/api-client/src/models/StrategyPatchRequest.ts @@ -0,0 +1,81 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * HoshizoraPics API + * API for testing and demonstration purposes. + * + * The version of the OpenAPI document: latest + * + * + * 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'; +import type { StrategyPatchRequestConfig } from './StrategyPatchRequestConfig'; +import { + StrategyPatchRequestConfigFromJSON, + StrategyPatchRequestConfigFromJSONTyped, + StrategyPatchRequestConfigToJSON, + StrategyPatchRequestConfigToJSONTyped, +} from './StrategyPatchRequestConfig'; + +/** + * + * @export + * @interface StrategyPatchRequest + */ +export interface StrategyPatchRequest { + /** + * + * @type {StrategyPatchRequestConfig} + * @memberof StrategyPatchRequest + */ + config?: StrategyPatchRequestConfig; + /** + * + * @type {any} + * @memberof StrategyPatchRequest + */ + name?: any | null; +} + +/** + * Check if a given object implements the StrategyPatchRequest interface. + */ +export function instanceOfStrategyPatchRequest(value: object): value is StrategyPatchRequest { + return true; +} + +export function StrategyPatchRequestFromJSON(json: any): StrategyPatchRequest { + return StrategyPatchRequestFromJSONTyped(json, false); +} + +export function StrategyPatchRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): StrategyPatchRequest { + if (json == null) { + return json; + } + return { + + 'config': json['config'] == null ? undefined : StrategyPatchRequestConfigFromJSON(json['config']), + 'name': json['name'] == null ? undefined : json['name'], + }; +} + + export function StrategyPatchRequestToJSON(json: any): StrategyPatchRequest { + return StrategyPatchRequestToJSONTyped(json, false); + } + + export function StrategyPatchRequestToJSONTyped(value?: StrategyPatchRequest | null, ignoreDiscriminator: boolean = false): any { + if (value == null) { + return value; + } + + return { + + 'config': StrategyPatchRequestConfigToJSON(value['config']), + 'name': value['name'], + }; +} + diff --git a/ui/packages/api-client/src/models/StrategyPatchRequestConfig.ts b/ui/packages/api-client/src/models/StrategyPatchRequestConfig.ts new file mode 100644 index 00000000..85614245 --- /dev/null +++ b/ui/packages/api-client/src/models/StrategyPatchRequestConfig.ts @@ -0,0 +1,152 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * HoshizoraPics API + * API for testing and demonstration purposes. + * + * The version of the OpenAPI document: latest + * + * + * 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'; +import type { StrategyRequestS3StrategyConfig } from './StrategyRequestS3StrategyConfig'; +import { + StrategyRequestS3StrategyConfigFromJSON, + StrategyRequestS3StrategyConfigFromJSONTyped, + StrategyRequestS3StrategyConfigToJSON, + StrategyRequestS3StrategyConfigToJSONTyped, +} from './StrategyRequestS3StrategyConfig'; +import type { StrategyRequestLocalStrategyConfig } from './StrategyRequestLocalStrategyConfig'; +import { + StrategyRequestLocalStrategyConfigFromJSON, + StrategyRequestLocalStrategyConfigFromJSONTyped, + StrategyRequestLocalStrategyConfigToJSON, + StrategyRequestLocalStrategyConfigToJSONTyped, +} from './StrategyRequestLocalStrategyConfig'; + +/** + * io/sakurasou/model/strategy/StrategyConfig.kt + * @export + * @interface StrategyPatchRequestConfig + */ +export interface StrategyPatchRequestConfig { + /** + * + * @type {any} + * @memberof StrategyPatchRequestConfig + */ + uploadFolder?: any | null; + /** + * + * @type {any} + * @memberof StrategyPatchRequestConfig + */ + thumbnailFolder?: any | null; + /** + * + * @type {any} + * @memberof StrategyPatchRequestConfig + */ + strategyType?: any | null; + /** + * + * @type {any} + * @memberof StrategyPatchRequestConfig + */ + type?: any | null; + /** + * + * @type {any} + * @memberof StrategyPatchRequestConfig + */ + endpoint?: any | null; + /** + * + * @type {any} + * @memberof StrategyPatchRequestConfig + */ + bucketName?: any | null; + /** + * + * @type {any} + * @memberof StrategyPatchRequestConfig + */ + region?: any | null; + /** + * + * @type {any} + * @memberof StrategyPatchRequestConfig + */ + accessKey?: any | null; + /** + * + * @type {any} + * @memberof StrategyPatchRequestConfig + */ + secretKey?: any | null; + /** + * + * @type {any} + * @memberof StrategyPatchRequestConfig + */ + publicUrl?: any | null; +} + +/** + * Check if a given object implements the StrategyPatchRequestConfig interface. + */ +export function instanceOfStrategyPatchRequestConfig(value: object): value is StrategyPatchRequestConfig { + return true; +} + +export function StrategyPatchRequestConfigFromJSON(json: any): StrategyPatchRequestConfig { + return StrategyPatchRequestConfigFromJSONTyped(json, false); +} + +export function StrategyPatchRequestConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): StrategyPatchRequestConfig { + if (json == null) { + return json; + } + return { + + 'uploadFolder': json['uploadFolder'] == null ? undefined : json['uploadFolder'], + 'thumbnailFolder': json['thumbnailFolder'] == null ? undefined : json['thumbnailFolder'], + 'strategyType': json['strategyType'] == null ? undefined : json['strategyType'], + 'type': json['type'] == null ? undefined : json['type'], + 'endpoint': json['endpoint'] == null ? undefined : json['endpoint'], + 'bucketName': json['bucketName'] == null ? undefined : json['bucketName'], + 'region': json['region'] == null ? undefined : json['region'], + 'accessKey': json['accessKey'] == null ? undefined : json['accessKey'], + 'secretKey': json['secretKey'] == null ? undefined : json['secretKey'], + 'publicUrl': json['publicUrl'] == null ? undefined : json['publicUrl'], + }; +} + + export function StrategyPatchRequestConfigToJSON(json: any): StrategyPatchRequestConfig { + return StrategyPatchRequestConfigToJSONTyped(json, false); + } + + export function StrategyPatchRequestConfigToJSONTyped(value?: StrategyPatchRequestConfig | null, ignoreDiscriminator: boolean = false): any { + if (value == null) { + return value; + } + + return { + + 'uploadFolder': value['uploadFolder'], + 'thumbnailFolder': value['thumbnailFolder'], + 'strategyType': value['strategyType'], + 'type': value['type'], + 'endpoint': value['endpoint'], + 'bucketName': value['bucketName'], + 'region': value['region'], + 'accessKey': value['accessKey'], + 'secretKey': value['secretKey'], + 'publicUrl': value['publicUrl'], + }; +} + diff --git a/ui/packages/api-client/src/models/StrategyRequestLocalStrategyConfig.ts b/ui/packages/api-client/src/models/StrategyRequestLocalStrategyConfig.ts new file mode 100644 index 00000000..dc5bb5a4 --- /dev/null +++ b/ui/packages/api-client/src/models/StrategyRequestLocalStrategyConfig.ts @@ -0,0 +1,89 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * HoshizoraPics API + * API for testing and demonstration purposes. + * + * The version of the OpenAPI document: latest + * + * + * 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'; +/** + * Local strategy configuration + * @export + * @interface StrategyRequestLocalStrategyConfig + */ +export interface StrategyRequestLocalStrategyConfig { + /** + * + * @type {any} + * @memberof StrategyRequestLocalStrategyConfig + */ + uploadFolder?: any | null; + /** + * + * @type {any} + * @memberof StrategyRequestLocalStrategyConfig + */ + thumbnailFolder?: any | null; + /** + * + * @type {any} + * @memberof StrategyRequestLocalStrategyConfig + */ + strategyType?: any | null; + /** + * + * @type {any} + * @memberof StrategyRequestLocalStrategyConfig + */ + type?: any | null; +} + +/** + * Check if a given object implements the StrategyRequestLocalStrategyConfig interface. + */ +export function instanceOfStrategyRequestLocalStrategyConfig(value: object): value is StrategyRequestLocalStrategyConfig { + return true; +} + +export function StrategyRequestLocalStrategyConfigFromJSON(json: any): StrategyRequestLocalStrategyConfig { + return StrategyRequestLocalStrategyConfigFromJSONTyped(json, false); +} + +export function StrategyRequestLocalStrategyConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): StrategyRequestLocalStrategyConfig { + if (json == null) { + return json; + } + return { + + 'uploadFolder': json['uploadFolder'] == null ? undefined : json['uploadFolder'], + 'thumbnailFolder': json['thumbnailFolder'] == null ? undefined : json['thumbnailFolder'], + 'strategyType': json['strategyType'] == null ? undefined : json['strategyType'], + 'type': json['type'] == null ? undefined : json['type'], + }; +} + + export function StrategyRequestLocalStrategyConfigToJSON(json: any): StrategyRequestLocalStrategyConfig { + return StrategyRequestLocalStrategyConfigToJSONTyped(json, false); + } + + export function StrategyRequestLocalStrategyConfigToJSONTyped(value?: StrategyRequestLocalStrategyConfig | null, ignoreDiscriminator: boolean = false): any { + if (value == null) { + return value; + } + + return { + + 'uploadFolder': value['uploadFolder'], + 'thumbnailFolder': value['thumbnailFolder'], + 'strategyType': value['strategyType'], + 'type': value['type'], + }; +} + diff --git a/ui/packages/api-client/src/models/StrategyRequestS3StrategyConfig.ts b/ui/packages/api-client/src/models/StrategyRequestS3StrategyConfig.ts new file mode 100644 index 00000000..df5cb7ff --- /dev/null +++ b/ui/packages/api-client/src/models/StrategyRequestS3StrategyConfig.ts @@ -0,0 +1,137 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * HoshizoraPics API + * API for testing and demonstration purposes. + * + * The version of the OpenAPI document: latest + * + * + * 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'; +/** + * S3 strategy configuration + * @export + * @interface StrategyRequestS3StrategyConfig + */ +export interface StrategyRequestS3StrategyConfig { + /** + * + * @type {any} + * @memberof StrategyRequestS3StrategyConfig + */ + endpoint?: any | null; + /** + * + * @type {any} + * @memberof StrategyRequestS3StrategyConfig + */ + bucketName?: any | null; + /** + * + * @type {any} + * @memberof StrategyRequestS3StrategyConfig + */ + region?: any | null; + /** + * + * @type {any} + * @memberof StrategyRequestS3StrategyConfig + */ + accessKey?: any | null; + /** + * + * @type {any} + * @memberof StrategyRequestS3StrategyConfig + */ + secretKey?: any | null; + /** + * + * @type {any} + * @memberof StrategyRequestS3StrategyConfig + */ + uploadFolder?: any | null; + /** + * + * @type {any} + * @memberof StrategyRequestS3StrategyConfig + */ + thumbnailFolder?: any | null; + /** + * + * @type {any} + * @memberof StrategyRequestS3StrategyConfig + */ + publicUrl?: any | null; + /** + * + * @type {any} + * @memberof StrategyRequestS3StrategyConfig + */ + strategyType?: any | null; + /** + * + * @type {any} + * @memberof StrategyRequestS3StrategyConfig + */ + type?: any | null; +} + +/** + * Check if a given object implements the StrategyRequestS3StrategyConfig interface. + */ +export function instanceOfStrategyRequestS3StrategyConfig(value: object): value is StrategyRequestS3StrategyConfig { + return true; +} + +export function StrategyRequestS3StrategyConfigFromJSON(json: any): StrategyRequestS3StrategyConfig { + return StrategyRequestS3StrategyConfigFromJSONTyped(json, false); +} + +export function StrategyRequestS3StrategyConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): StrategyRequestS3StrategyConfig { + if (json == null) { + return json; + } + return { + + 'endpoint': json['endpoint'] == null ? undefined : json['endpoint'], + 'bucketName': json['bucketName'] == null ? undefined : json['bucketName'], + 'region': json['region'] == null ? undefined : json['region'], + 'accessKey': json['accessKey'] == null ? undefined : json['accessKey'], + 'secretKey': json['secretKey'] == null ? undefined : json['secretKey'], + 'uploadFolder': json['uploadFolder'] == null ? undefined : json['uploadFolder'], + 'thumbnailFolder': json['thumbnailFolder'] == null ? undefined : json['thumbnailFolder'], + 'publicUrl': json['publicUrl'] == null ? undefined : json['publicUrl'], + 'strategyType': json['strategyType'] == null ? undefined : json['strategyType'], + 'type': json['type'] == null ? undefined : json['type'], + }; +} + + export function StrategyRequestS3StrategyConfigToJSON(json: any): StrategyRequestS3StrategyConfig { + return StrategyRequestS3StrategyConfigToJSONTyped(json, false); + } + + export function StrategyRequestS3StrategyConfigToJSONTyped(value?: StrategyRequestS3StrategyConfig | null, ignoreDiscriminator: boolean = false): any { + if (value == null) { + return value; + } + + return { + + 'endpoint': value['endpoint'], + 'bucketName': value['bucketName'], + 'region': value['region'], + 'accessKey': value['accessKey'], + 'secretKey': value['secretKey'], + 'uploadFolder': value['uploadFolder'], + 'thumbnailFolder': value['thumbnailFolder'], + 'publicUrl': value['publicUrl'], + 'strategyType': value['strategyType'], + 'type': value['type'], + }; +} + diff --git a/ui/packages/api-client/src/models/StrategySettingPatchRequest.ts b/ui/packages/api-client/src/models/StrategySettingPatchRequest.ts new file mode 100644 index 00000000..4b93ffe6 --- /dev/null +++ b/ui/packages/api-client/src/models/StrategySettingPatchRequest.ts @@ -0,0 +1,66 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * HoshizoraPics API + * API for testing and demonstration purposes. + * + * The version of the OpenAPI document: latest + * + * + * 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 StrategySettingPatchRequest + */ +export interface StrategySettingPatchRequest { + /** + * + * @type {Array} + * @memberof StrategySettingPatchRequest + */ + allowedImageTypes: Array; +} + +/** + * Check if a given object implements the StrategySettingPatchRequest interface. + */ +export function instanceOfStrategySettingPatchRequest(value: object): value is StrategySettingPatchRequest { + if (!('allowedImageTypes' in value) || value['allowedImageTypes'] === undefined) return false; + return true; +} + +export function StrategySettingPatchRequestFromJSON(json: any): StrategySettingPatchRequest { + return StrategySettingPatchRequestFromJSONTyped(json, false); +} + +export function StrategySettingPatchRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): StrategySettingPatchRequest { + if (json == null) { + return json; + } + return { + + 'allowedImageTypes': json['allowedImageTypes'], + }; +} + + export function StrategySettingPatchRequestToJSON(json: any): StrategySettingPatchRequest { + return StrategySettingPatchRequestToJSONTyped(json, false); + } + + export function StrategySettingPatchRequestToJSONTyped(value?: StrategySettingPatchRequest | null, ignoreDiscriminator: boolean = false): any { + if (value == null) { + return value; + } + + return { + + 'allowedImageTypes': value['allowedImageTypes'], + }; +} + diff --git a/ui/packages/api-client/src/models/StrategyTypeEnum.ts b/ui/packages/api-client/src/models/StrategyTypeEnum.ts new file mode 100644 index 00000000..2a731b9d --- /dev/null +++ b/ui/packages/api-client/src/models/StrategyTypeEnum.ts @@ -0,0 +1,53 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * HoshizoraPics API + * API for testing and demonstration purposes. + * + * The version of the OpenAPI document: latest + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +/** + * + * @export + */ +export const StrategyTypeEnum = { + Local: 'LOCAL', + S3: 'S3' +} as const; +export type StrategyTypeEnum = typeof StrategyTypeEnum[keyof typeof StrategyTypeEnum]; + + +export function instanceOfStrategyTypeEnum(value: any): boolean { + for (const key in StrategyTypeEnum) { + if (Object.prototype.hasOwnProperty.call(StrategyTypeEnum, key)) { + if (StrategyTypeEnum[key as keyof typeof StrategyTypeEnum] === value) { + return true; + } + } + } + return false; +} + +export function StrategyTypeEnumFromJSON(json: any): StrategyTypeEnum { + return StrategyTypeEnumFromJSONTyped(json, false); +} + +export function StrategyTypeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): StrategyTypeEnum { + return json as StrategyTypeEnum; +} + +export function StrategyTypeEnumToJSON(value?: StrategyTypeEnum | null): any { + return value as any; +} + +export function StrategyTypeEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): StrategyTypeEnum { + return value as StrategyTypeEnum; +} + diff --git a/ui/packages/api-client/src/models/StrategyVO.ts b/ui/packages/api-client/src/models/StrategyVO.ts new file mode 100644 index 00000000..646e5ba8 --- /dev/null +++ b/ui/packages/api-client/src/models/StrategyVO.ts @@ -0,0 +1,126 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * HoshizoraPics API + * API for testing and demonstration purposes. + * + * The version of the OpenAPI document: latest + * + * + * 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'; +import type { KotlinxDatetimeLocalDateTime } from './KotlinxDatetimeLocalDateTime'; +import { + KotlinxDatetimeLocalDateTimeFromJSON, + KotlinxDatetimeLocalDateTimeFromJSONTyped, + KotlinxDatetimeLocalDateTimeToJSON, + KotlinxDatetimeLocalDateTimeToJSONTyped, +} from './KotlinxDatetimeLocalDateTime'; +import type { StrategyConfigSealed } from './StrategyConfigSealed'; +import { + StrategyConfigSealedFromJSON, + StrategyConfigSealedFromJSONTyped, + StrategyConfigSealedToJSON, + StrategyConfigSealedToJSONTyped, +} from './StrategyConfigSealed'; +import type { StrategyTypeEnum } from './StrategyTypeEnum'; +import { + StrategyTypeEnumFromJSON, + StrategyTypeEnumFromJSONTyped, + StrategyTypeEnumToJSON, + StrategyTypeEnumToJSONTyped, +} from './StrategyTypeEnum'; + +/** + * + * @export + * @interface StrategyVO + */ +export interface StrategyVO { + /** + * + * @type {StrategyConfigSealed} + * @memberof StrategyVO + */ + config: StrategyConfigSealed; + /** + * + * @type {KotlinxDatetimeLocalDateTime} + * @memberof StrategyVO + */ + createTime: KotlinxDatetimeLocalDateTime; + /** + * + * @type {number} + * @memberof StrategyVO + */ + id: number; + /** + * + * @type {string} + * @memberof StrategyVO + */ + name: string; + /** + * + * @type {StrategyTypeEnum} + * @memberof StrategyVO + */ + type: StrategyTypeEnum; +} + + + +/** + * Check if a given object implements the StrategyVO interface. + */ +export function instanceOfStrategyVO(value: object): value is StrategyVO { + if (!('config' in value) || value['config'] === undefined) return false; + if (!('createTime' in value) || value['createTime'] === undefined) return false; + if (!('id' in value) || value['id'] === undefined) return false; + if (!('name' in value) || value['name'] === undefined) return false; + if (!('type' in value) || value['type'] === undefined) return false; + return true; +} + +export function StrategyVOFromJSON(json: any): StrategyVO { + return StrategyVOFromJSONTyped(json, false); +} + +export function StrategyVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): StrategyVO { + if (json == null) { + return json; + } + return { + + 'config': StrategyConfigSealedFromJSON(json['config']), + 'createTime': KotlinxDatetimeLocalDateTimeFromJSON(json['createTime']), + 'id': json['id'], + 'name': json['name'], + 'type': StrategyTypeEnumFromJSON(json['type']), + }; +} + + export function StrategyVOToJSON(json: any): StrategyVO { + return StrategyVOToJSONTyped(json, false); + } + + export function StrategyVOToJSONTyped(value?: StrategyVO | null, ignoreDiscriminator: boolean = false): any { + if (value == null) { + return value; + } + + return { + + 'config': StrategyConfigSealedToJSON(value['config']), + 'createTime': KotlinxDatetimeLocalDateTimeToJSON(value['createTime']), + 'id': value['id'], + 'name': value['name'], + 'type': StrategyTypeEnumToJSON(value['type']), + }; +} + diff --git a/ui/packages/api-client/src/models/IoSakurasouModelSettingSystemSetting.ts b/ui/packages/api-client/src/models/SystemSetting.ts similarity index 59% rename from ui/packages/api-client/src/models/IoSakurasouModelSettingSystemSetting.ts rename to ui/packages/api-client/src/models/SystemSetting.ts index 61cd4f63..a09c0a38 100644 --- a/ui/packages/api-client/src/models/IoSakurasouModelSettingSystemSetting.ts +++ b/ui/packages/api-client/src/models/SystemSetting.ts @@ -16,44 +16,44 @@ import { mapValues } from '../runtime'; /** * * @export - * @interface IoSakurasouModelSettingSystemSetting + * @interface SystemSetting */ -export interface IoSakurasouModelSettingSystemSetting { +export interface SystemSetting { /** * * @type {boolean} - * @memberof IoSakurasouModelSettingSystemSetting + * @memberof SystemSetting */ allowRandomFetch: boolean; /** * * @type {boolean} - * @memberof IoSakurasouModelSettingSystemSetting + * @memberof SystemSetting */ allowSignup: boolean; /** * * @type {number} - * @memberof IoSakurasouModelSettingSystemSetting + * @memberof SystemSetting */ defaultGroupId: number; } /** - * Check if a given object implements the IoSakurasouModelSettingSystemSetting interface. + * Check if a given object implements the SystemSetting interface. */ -export function instanceOfIoSakurasouModelSettingSystemSetting(value: object): value is IoSakurasouModelSettingSystemSetting { +export function instanceOfSystemSetting(value: object): value is SystemSetting { if (!('allowRandomFetch' in value) || value['allowRandomFetch'] === undefined) return false; if (!('allowSignup' in value) || value['allowSignup'] === undefined) return false; if (!('defaultGroupId' in value) || value['defaultGroupId'] === undefined) return false; return true; } -export function IoSakurasouModelSettingSystemSettingFromJSON(json: any): IoSakurasouModelSettingSystemSetting { - return IoSakurasouModelSettingSystemSettingFromJSONTyped(json, false); +export function SystemSettingFromJSON(json: any): SystemSetting { + return SystemSettingFromJSONTyped(json, false); } -export function IoSakurasouModelSettingSystemSettingFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouModelSettingSystemSetting { +export function SystemSettingFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemSetting { if (json == null) { return json; } @@ -65,10 +65,15 @@ export function IoSakurasouModelSettingSystemSettingFromJSONTyped(json: any, ign }; } -export function IoSakurasouModelSettingSystemSettingToJSON(value?: IoSakurasouModelSettingSystemSetting | null): any { + export function SystemSettingToJSON(json: any): SystemSetting { + return SystemSettingToJSONTyped(json, false); + } + + export function SystemSettingToJSONTyped(value?: SystemSetting | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } + return { 'allowRandomFetch': value['allowRandomFetch'], diff --git a/ui/packages/api-client/src/models/SystemStatus.ts b/ui/packages/api-client/src/models/SystemStatus.ts new file mode 100644 index 00000000..a7f8d474 --- /dev/null +++ b/ui/packages/api-client/src/models/SystemStatus.ts @@ -0,0 +1,66 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * HoshizoraPics API + * API for testing and demonstration purposes. + * + * The version of the OpenAPI document: latest + * + * + * 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 SystemStatus + */ +export interface SystemStatus { + /** + * + * @type {boolean} + * @memberof SystemStatus + */ + isInit: boolean; +} + +/** + * Check if a given object implements the SystemStatus interface. + */ +export function instanceOfSystemStatus(value: object): value is SystemStatus { + if (!('isInit' in value) || value['isInit'] === undefined) return false; + return true; +} + +export function SystemStatusFromJSON(json: any): SystemStatus { + return SystemStatusFromJSONTyped(json, false); +} + +export function SystemStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemStatus { + if (json == null) { + return json; + } + return { + + 'isInit': json['isInit'], + }; +} + + export function SystemStatusToJSON(json: any): SystemStatus { + return SystemStatusToJSONTyped(json, false); + } + + export function SystemStatusToJSONTyped(value?: SystemStatus | null, ignoreDiscriminator: boolean = false): any { + if (value == null) { + return value; + } + + return { + + 'isInit': value['isInit'], + }; +} + diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerRequestUserInsertRequest.ts b/ui/packages/api-client/src/models/UserInsertRequest.ts similarity index 54% rename from ui/packages/api-client/src/models/IoSakurasouControllerRequestUserInsertRequest.ts rename to ui/packages/api-client/src/models/UserInsertRequest.ts index 12f76965..7e678dac 100644 --- a/ui/packages/api-client/src/models/IoSakurasouControllerRequestUserInsertRequest.ts +++ b/ui/packages/api-client/src/models/UserInsertRequest.ts @@ -16,44 +16,44 @@ import { mapValues } from '../runtime'; /** * * @export - * @interface IoSakurasouControllerRequestUserInsertRequest + * @interface UserInsertRequest */ -export interface IoSakurasouControllerRequestUserInsertRequest { +export interface UserInsertRequest { /** * * @type {string} - * @memberof IoSakurasouControllerRequestUserInsertRequest + * @memberof UserInsertRequest */ email: string; /** * * @type {string} - * @memberof IoSakurasouControllerRequestUserInsertRequest + * @memberof UserInsertRequest */ password: string; /** * * @type {string} - * @memberof IoSakurasouControllerRequestUserInsertRequest + * @memberof UserInsertRequest */ username: string; } /** - * Check if a given object implements the IoSakurasouControllerRequestUserInsertRequest interface. + * Check if a given object implements the UserInsertRequest interface. */ -export function instanceOfIoSakurasouControllerRequestUserInsertRequest(value: object): value is IoSakurasouControllerRequestUserInsertRequest { +export function instanceOfUserInsertRequest(value: object): value is UserInsertRequest { if (!('email' in value) || value['email'] === undefined) return false; if (!('password' in value) || value['password'] === undefined) return false; if (!('username' in value) || value['username'] === undefined) return false; return true; } -export function IoSakurasouControllerRequestUserInsertRequestFromJSON(json: any): IoSakurasouControllerRequestUserInsertRequest { - return IoSakurasouControllerRequestUserInsertRequestFromJSONTyped(json, false); +export function UserInsertRequestFromJSON(json: any): UserInsertRequest { + return UserInsertRequestFromJSONTyped(json, false); } -export function IoSakurasouControllerRequestUserInsertRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerRequestUserInsertRequest { +export function UserInsertRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserInsertRequest { if (json == null) { return json; } @@ -65,10 +65,15 @@ export function IoSakurasouControllerRequestUserInsertRequestFromJSONTyped(json: }; } -export function IoSakurasouControllerRequestUserInsertRequestToJSON(value?: IoSakurasouControllerRequestUserInsertRequest | null): any { + export function UserInsertRequestToJSON(json: any): UserInsertRequest { + return UserInsertRequestToJSONTyped(json, false); + } + + export function UserInsertRequestToJSONTyped(value?: UserInsertRequest | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } + return { 'email': value['email'], diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerRequestUserLoginRequest.ts b/ui/packages/api-client/src/models/UserLoginRequest.ts similarity index 51% rename from ui/packages/api-client/src/models/IoSakurasouControllerRequestUserLoginRequest.ts rename to ui/packages/api-client/src/models/UserLoginRequest.ts index 10ddbeb3..18d01248 100644 --- a/ui/packages/api-client/src/models/IoSakurasouControllerRequestUserLoginRequest.ts +++ b/ui/packages/api-client/src/models/UserLoginRequest.ts @@ -16,37 +16,37 @@ import { mapValues } from '../runtime'; /** * * @export - * @interface IoSakurasouControllerRequestUserLoginRequest + * @interface UserLoginRequest */ -export interface IoSakurasouControllerRequestUserLoginRequest { +export interface UserLoginRequest { /** * * @type {string} - * @memberof IoSakurasouControllerRequestUserLoginRequest + * @memberof UserLoginRequest */ password: string; /** * * @type {string} - * @memberof IoSakurasouControllerRequestUserLoginRequest + * @memberof UserLoginRequest */ username: string; } /** - * Check if a given object implements the IoSakurasouControllerRequestUserLoginRequest interface. + * Check if a given object implements the UserLoginRequest interface. */ -export function instanceOfIoSakurasouControllerRequestUserLoginRequest(value: object): value is IoSakurasouControllerRequestUserLoginRequest { +export function instanceOfUserLoginRequest(value: object): value is UserLoginRequest { if (!('password' in value) || value['password'] === undefined) return false; if (!('username' in value) || value['username'] === undefined) return false; return true; } -export function IoSakurasouControllerRequestUserLoginRequestFromJSON(json: any): IoSakurasouControllerRequestUserLoginRequest { - return IoSakurasouControllerRequestUserLoginRequestFromJSONTyped(json, false); +export function UserLoginRequestFromJSON(json: any): UserLoginRequest { + return UserLoginRequestFromJSONTyped(json, false); } -export function IoSakurasouControllerRequestUserLoginRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerRequestUserLoginRequest { +export function UserLoginRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserLoginRequest { if (json == null) { return json; } @@ -57,10 +57,15 @@ export function IoSakurasouControllerRequestUserLoginRequestFromJSONTyped(json: }; } -export function IoSakurasouControllerRequestUserLoginRequestToJSON(value?: IoSakurasouControllerRequestUserLoginRequest | null): any { + export function UserLoginRequestToJSON(json: any): UserLoginRequest { + return UserLoginRequestToJSONTyped(json, false); + } + + export function UserLoginRequestToJSONTyped(value?: UserLoginRequest | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } + return { 'password': value['password'], diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerRequestUserManageInsertRequest.ts b/ui/packages/api-client/src/models/UserManageInsertRequest.ts similarity index 58% rename from ui/packages/api-client/src/models/IoSakurasouControllerRequestUserManageInsertRequest.ts rename to ui/packages/api-client/src/models/UserManageInsertRequest.ts index 12e3da78..420022b6 100644 --- a/ui/packages/api-client/src/models/IoSakurasouControllerRequestUserManageInsertRequest.ts +++ b/ui/packages/api-client/src/models/UserManageInsertRequest.ts @@ -16,45 +16,45 @@ import { mapValues } from '../runtime'; /** * * @export - * @interface IoSakurasouControllerRequestUserManageInsertRequest + * @interface UserManageInsertRequest */ -export interface IoSakurasouControllerRequestUserManageInsertRequest { +export interface UserManageInsertRequest { /** * * @type {string} - * @memberof IoSakurasouControllerRequestUserManageInsertRequest + * @memberof UserManageInsertRequest */ email: string; /** * * @type {number} - * @memberof IoSakurasouControllerRequestUserManageInsertRequest + * @memberof UserManageInsertRequest */ groupId: number; /** * * @type {boolean} - * @memberof IoSakurasouControllerRequestUserManageInsertRequest + * @memberof UserManageInsertRequest */ isDefaultImagePrivate: boolean; /** * * @type {string} - * @memberof IoSakurasouControllerRequestUserManageInsertRequest + * @memberof UserManageInsertRequest */ password: string; /** * * @type {string} - * @memberof IoSakurasouControllerRequestUserManageInsertRequest + * @memberof UserManageInsertRequest */ username: string; } /** - * Check if a given object implements the IoSakurasouControllerRequestUserManageInsertRequest interface. + * Check if a given object implements the UserManageInsertRequest interface. */ -export function instanceOfIoSakurasouControllerRequestUserManageInsertRequest(value: object): value is IoSakurasouControllerRequestUserManageInsertRequest { +export function instanceOfUserManageInsertRequest(value: object): value is UserManageInsertRequest { if (!('email' in value) || value['email'] === undefined) return false; if (!('groupId' in value) || value['groupId'] === undefined) return false; if (!('isDefaultImagePrivate' in value) || value['isDefaultImagePrivate'] === undefined) return false; @@ -63,11 +63,11 @@ export function instanceOfIoSakurasouControllerRequestUserManageInsertRequest(va return true; } -export function IoSakurasouControllerRequestUserManageInsertRequestFromJSON(json: any): IoSakurasouControllerRequestUserManageInsertRequest { - return IoSakurasouControllerRequestUserManageInsertRequestFromJSONTyped(json, false); +export function UserManageInsertRequestFromJSON(json: any): UserManageInsertRequest { + return UserManageInsertRequestFromJSONTyped(json, false); } -export function IoSakurasouControllerRequestUserManageInsertRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerRequestUserManageInsertRequest { +export function UserManageInsertRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserManageInsertRequest { if (json == null) { return json; } @@ -81,10 +81,15 @@ export function IoSakurasouControllerRequestUserManageInsertRequestFromJSONTyped }; } -export function IoSakurasouControllerRequestUserManageInsertRequestToJSON(value?: IoSakurasouControllerRequestUserManageInsertRequest | null): any { + export function UserManageInsertRequestToJSON(json: any): UserManageInsertRequest { + return UserManageInsertRequestToJSONTyped(json, false); + } + + export function UserManageInsertRequestToJSONTyped(value?: UserManageInsertRequest | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } + return { 'email': value['email'], diff --git a/ui/packages/api-client/src/models/UserManagePatchRequest.ts b/ui/packages/api-client/src/models/UserManagePatchRequest.ts new file mode 100644 index 00000000..4b3667f8 --- /dev/null +++ b/ui/packages/api-client/src/models/UserManagePatchRequest.ts @@ -0,0 +1,97 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * HoshizoraPics API + * API for testing and demonstration purposes. + * + * The version of the OpenAPI document: latest + * + * + * 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 UserManagePatchRequest + */ +export interface UserManagePatchRequest { + /** + * + * @type {number} + * @memberof UserManagePatchRequest + */ + defaultAlbumId?: number | null; + /** + * + * @type {string} + * @memberof UserManagePatchRequest + */ + email?: string | null; + /** + * + * @type {number} + * @memberof UserManagePatchRequest + */ + groupId?: number | null; + /** + * + * @type {boolean} + * @memberof UserManagePatchRequest + */ + isDefaultImagePrivate?: boolean | null; + /** + * + * @type {string} + * @memberof UserManagePatchRequest + */ + password?: string | null; +} + +/** + * Check if a given object implements the UserManagePatchRequest interface. + */ +export function instanceOfUserManagePatchRequest(value: object): value is UserManagePatchRequest { + return true; +} + +export function UserManagePatchRequestFromJSON(json: any): UserManagePatchRequest { + return UserManagePatchRequestFromJSONTyped(json, false); +} + +export function UserManagePatchRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserManagePatchRequest { + if (json == null) { + return json; + } + return { + + 'defaultAlbumId': json['defaultAlbumId'] == null ? undefined : json['defaultAlbumId'], + 'email': json['email'] == null ? undefined : json['email'], + 'groupId': json['groupId'] == null ? undefined : json['groupId'], + 'isDefaultImagePrivate': json['isDefaultImagePrivate'] == null ? undefined : json['isDefaultImagePrivate'], + 'password': json['password'] == null ? undefined : json['password'], + }; +} + + export function UserManagePatchRequestToJSON(json: any): UserManagePatchRequest { + return UserManagePatchRequestToJSONTyped(json, false); + } + + export function UserManagePatchRequestToJSONTyped(value?: UserManagePatchRequest | null, ignoreDiscriminator: boolean = false): any { + if (value == null) { + return value; + } + + return { + + 'defaultAlbumId': value['defaultAlbumId'], + 'email': value['email'], + 'groupId': value['groupId'], + 'isDefaultImagePrivate': value['isDefaultImagePrivate'], + 'password': value['password'], + }; +} + diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerVoUserPageVO.ts b/ui/packages/api-client/src/models/UserManageVO.ts similarity index 70% rename from ui/packages/api-client/src/models/IoSakurasouControllerVoUserPageVO.ts rename to ui/packages/api-client/src/models/UserManageVO.ts index acb7eb89..f4373275 100644 --- a/ui/packages/api-client/src/models/IoSakurasouControllerVoUserPageVO.ts +++ b/ui/packages/api-client/src/models/UserManageVO.ts @@ -18,62 +18,63 @@ import { KotlinxDatetimeLocalDateTimeFromJSON, KotlinxDatetimeLocalDateTimeFromJSONTyped, KotlinxDatetimeLocalDateTimeToJSON, + KotlinxDatetimeLocalDateTimeToJSONTyped, } from './KotlinxDatetimeLocalDateTime'; /** * * @export - * @interface IoSakurasouControllerVoUserPageVO + * @interface UserManageVO */ -export interface IoSakurasouControllerVoUserPageVO { +export interface UserManageVO { /** * * @type {KotlinxDatetimeLocalDateTime} - * @memberof IoSakurasouControllerVoUserPageVO + * @memberof UserManageVO */ createTime: KotlinxDatetimeLocalDateTime; /** * * @type {string} - * @memberof IoSakurasouControllerVoUserPageVO + * @memberof UserManageVO */ groupName: string; /** * * @type {number} - * @memberof IoSakurasouControllerVoUserPageVO + * @memberof UserManageVO */ id: number; /** * * @type {number} - * @memberof IoSakurasouControllerVoUserPageVO + * @memberof UserManageVO */ imageCount: number; /** * * @type {boolean} - * @memberof IoSakurasouControllerVoUserPageVO + * @memberof UserManageVO */ isBanned: boolean; /** * * @type {number} - * @memberof IoSakurasouControllerVoUserPageVO + * @memberof UserManageVO */ totalImageSize: number; /** * * @type {string} - * @memberof IoSakurasouControllerVoUserPageVO + * @memberof UserManageVO */ username: string; } /** - * Check if a given object implements the IoSakurasouControllerVoUserPageVO interface. + * Check if a given object implements the UserManageVO interface. */ -export function instanceOfIoSakurasouControllerVoUserPageVO(value: object): value is IoSakurasouControllerVoUserPageVO { +export function instanceOfUserManageVO(value: object): value is UserManageVO { if (!('createTime' in value) || value['createTime'] === undefined) return false; if (!('groupName' in value) || value['groupName'] === undefined) return false; if (!('id' in value) || value['id'] === undefined) return false; @@ -84,11 +85,11 @@ export function instanceOfIoSakurasouControllerVoUserPageVO(value: object): valu return true; } -export function IoSakurasouControllerVoUserPageVOFromJSON(json: any): IoSakurasouControllerVoUserPageVO { - return IoSakurasouControllerVoUserPageVOFromJSONTyped(json, false); +export function UserManageVOFromJSON(json: any): UserManageVO { + return UserManageVOFromJSONTyped(json, false); } -export function IoSakurasouControllerVoUserPageVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerVoUserPageVO { +export function UserManageVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserManageVO { if (json == null) { return json; } @@ -104,10 +105,15 @@ export function IoSakurasouControllerVoUserPageVOFromJSONTyped(json: any, ignore }; } -export function IoSakurasouControllerVoUserPageVOToJSON(value?: IoSakurasouControllerVoUserPageVO | null): any { + export function UserManageVOToJSON(json: any): UserManageVO { + return UserManageVOToJSONTyped(json, false); + } + + export function UserManageVOToJSONTyped(value?: UserManageVO | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } + return { 'createTime': KotlinxDatetimeLocalDateTimeToJSON(value['createTime']), diff --git a/ui/packages/api-client/src/models/UserSelfPatchRequest.ts b/ui/packages/api-client/src/models/UserSelfPatchRequest.ts new file mode 100644 index 00000000..24c9fa37 --- /dev/null +++ b/ui/packages/api-client/src/models/UserSelfPatchRequest.ts @@ -0,0 +1,89 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * HoshizoraPics API + * API for testing and demonstration purposes. + * + * The version of the OpenAPI document: latest + * + * + * 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 UserSelfPatchRequest + */ +export interface UserSelfPatchRequest { + /** + * + * @type {number} + * @memberof UserSelfPatchRequest + */ + defaultAlbumId?: number | null; + /** + * + * @type {string} + * @memberof UserSelfPatchRequest + */ + email?: string | null; + /** + * + * @type {boolean} + * @memberof UserSelfPatchRequest + */ + isDefaultImagePrivate?: boolean | null; + /** + * + * @type {string} + * @memberof UserSelfPatchRequest + */ + password?: string | null; +} + +/** + * Check if a given object implements the UserSelfPatchRequest interface. + */ +export function instanceOfUserSelfPatchRequest(value: object): value is UserSelfPatchRequest { + return true; +} + +export function UserSelfPatchRequestFromJSON(json: any): UserSelfPatchRequest { + return UserSelfPatchRequestFromJSONTyped(json, false); +} + +export function UserSelfPatchRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserSelfPatchRequest { + if (json == null) { + return json; + } + return { + + 'defaultAlbumId': json['defaultAlbumId'] == null ? undefined : json['defaultAlbumId'], + 'email': json['email'] == null ? undefined : json['email'], + 'isDefaultImagePrivate': json['isDefaultImagePrivate'] == null ? undefined : json['isDefaultImagePrivate'], + 'password': json['password'] == null ? undefined : json['password'], + }; +} + + export function UserSelfPatchRequestToJSON(json: any): UserSelfPatchRequest { + return UserSelfPatchRequestToJSONTyped(json, false); + } + + export function UserSelfPatchRequestToJSONTyped(value?: UserSelfPatchRequest | null, ignoreDiscriminator: boolean = false): any { + if (value == null) { + return value; + } + + return { + + 'defaultAlbumId': value['defaultAlbumId'], + 'email': value['email'], + 'isDefaultImagePrivate': value['isDefaultImagePrivate'], + 'password': value['password'], + }; +} + diff --git a/ui/packages/api-client/src/models/IoSakurasouControllerVoUserVO.ts b/ui/packages/api-client/src/models/UserVO.ts similarity index 72% rename from ui/packages/api-client/src/models/IoSakurasouControllerVoUserVO.ts rename to ui/packages/api-client/src/models/UserVO.ts index f4257cae..719f772e 100644 --- a/ui/packages/api-client/src/models/IoSakurasouControllerVoUserVO.ts +++ b/ui/packages/api-client/src/models/UserVO.ts @@ -18,74 +18,75 @@ import { KotlinxDatetimeLocalDateTimeFromJSON, KotlinxDatetimeLocalDateTimeFromJSONTyped, KotlinxDatetimeLocalDateTimeToJSON, + KotlinxDatetimeLocalDateTimeToJSONTyped, } from './KotlinxDatetimeLocalDateTime'; /** * * @export - * @interface IoSakurasouControllerVoUserVO + * @interface UserVO */ -export interface IoSakurasouControllerVoUserVO { +export interface UserVO { /** * * @type {KotlinxDatetimeLocalDateTime} - * @memberof IoSakurasouControllerVoUserVO + * @memberof UserVO */ createTime: KotlinxDatetimeLocalDateTime; /** * - * @type {any} - * @memberof IoSakurasouControllerVoUserVO + * @type {string} + * @memberof UserVO */ - email?: any | null; + email?: string | null; /** * * @type {string} - * @memberof IoSakurasouControllerVoUserVO + * @memberof UserVO */ groupName: string; /** * * @type {number} - * @memberof IoSakurasouControllerVoUserVO + * @memberof UserVO */ id: number; /** * * @type {number} - * @memberof IoSakurasouControllerVoUserVO + * @memberof UserVO */ imageCount: number; /** * * @type {boolean} - * @memberof IoSakurasouControllerVoUserVO + * @memberof UserVO */ isBanned: boolean; /** * * @type {boolean} - * @memberof IoSakurasouControllerVoUserVO + * @memberof UserVO */ isDefaultImagePrivate: boolean; /** * * @type {number} - * @memberof IoSakurasouControllerVoUserVO + * @memberof UserVO */ totalImageSize: number; /** * * @type {string} - * @memberof IoSakurasouControllerVoUserVO + * @memberof UserVO */ username: string; } /** - * Check if a given object implements the IoSakurasouControllerVoUserVO interface. + * Check if a given object implements the UserVO interface. */ -export function instanceOfIoSakurasouControllerVoUserVO(value: object): value is IoSakurasouControllerVoUserVO { +export function instanceOfUserVO(value: object): value is UserVO { if (!('createTime' in value) || value['createTime'] === undefined) return false; if (!('groupName' in value) || value['groupName'] === undefined) return false; if (!('id' in value) || value['id'] === undefined) return false; @@ -97,11 +98,11 @@ export function instanceOfIoSakurasouControllerVoUserVO(value: object): value is return true; } -export function IoSakurasouControllerVoUserVOFromJSON(json: any): IoSakurasouControllerVoUserVO { - return IoSakurasouControllerVoUserVOFromJSONTyped(json, false); +export function UserVOFromJSON(json: any): UserVO { + return UserVOFromJSONTyped(json, false); } -export function IoSakurasouControllerVoUserVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): IoSakurasouControllerVoUserVO { +export function UserVOFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserVO { if (json == null) { return json; } @@ -119,10 +120,15 @@ export function IoSakurasouControllerVoUserVOFromJSONTyped(json: any, ignoreDisc }; } -export function IoSakurasouControllerVoUserVOToJSON(value?: IoSakurasouControllerVoUserVO | null): any { + export function UserVOToJSON(json: any): UserVO { + return UserVOToJSONTyped(json, false); + } + + export function UserVOToJSONTyped(value?: UserVO | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } + return { 'createTime': KotlinxDatetimeLocalDateTimeToJSON(value['createTime']), diff --git a/ui/packages/api-client/src/models/index.ts b/ui/packages/api-client/src/models/index.ts index 5bc44537..bbc6b1b3 100644 --- a/ui/packages/api-client/src/models/index.ts +++ b/ui/packages/api-client/src/models/index.ts @@ -1,68 +1,75 @@ /* tslint:disable */ - -export * from './ApiImageImageIdGet200Response'; -export * from './ApiStrategyPostRequest'; -export * from './IoSakurasouControllerRequestAlbumManageInsertRequest'; -export * from './IoSakurasouControllerRequestAlbumManagePatchRequest'; -export * from './IoSakurasouControllerRequestAlbumSelfInsertRequest'; -export * from './IoSakurasouControllerRequestAlbumSelfPatchRequest'; -export * from './IoSakurasouControllerRequestGroupConfigUpdatePatch'; -export * from './IoSakurasouControllerRequestGroupInsertRequest'; -export * from './IoSakurasouControllerRequestGroupPatchRequest'; -export * from './IoSakurasouControllerRequestImageManagePatchRequest'; -export * from './IoSakurasouControllerRequestImagePatchRequest'; -export * from './IoSakurasouControllerRequestSiteInitRequest'; -export * from './IoSakurasouControllerRequestSiteSettingPatchRequest'; -export * from './IoSakurasouControllerRequestStrategyPatchRequest'; -export * from './IoSakurasouControllerRequestStrategySettingPatchRequest'; -export * from './IoSakurasouControllerRequestUserInsertRequest'; -export * from './IoSakurasouControllerRequestUserLoginRequest'; -export * from './IoSakurasouControllerRequestUserManageInsertRequest'; -export * from './IoSakurasouControllerRequestUserManagePatchRequest'; -export * from './IoSakurasouControllerRequestUserSelfPatchRequest'; -export * from './IoSakurasouControllerVoAlbumPageVO'; -export * from './IoSakurasouControllerVoAlbumVO'; -export * from './IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoAlbumVO'; -export * from './IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoGroupVO'; -export * from './IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageManageVO'; -export * from './IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoImageVO'; -export * from './IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVO'; -export * from './IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVO'; -export * from './IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoStrategyVO'; -export * from './IoSakurasouControllerVoCommonResponseIoSakurasouControllerVoUserVO'; -export * from './IoSakurasouControllerVoCommonResponseKotlinCollectionsMapKotlinStringIoSakurasouControllerVoSettingVO'; -export * from './IoSakurasouControllerVoCommonResponseKotlinString'; -export * from './IoSakurasouControllerVoCommonResponseKotlinUnit'; -export * from './IoSakurasouControllerVoGroupPageVO'; -export * from './IoSakurasouControllerVoGroupVO'; -export * from './IoSakurasouControllerVoImageManageVO'; -export * from './IoSakurasouControllerVoImagePageVO'; -export * from './IoSakurasouControllerVoImageVO'; -export * from './IoSakurasouControllerVoPageResultIoSakurasouControllerVoAlbumPageVO'; -export * from './IoSakurasouControllerVoPageResultIoSakurasouControllerVoGroupPageVO'; -export * from './IoSakurasouControllerVoPageResultIoSakurasouControllerVoImagePageVO'; -export * from './IoSakurasouControllerVoPageResultIoSakurasouControllerVoStrategyPageVO'; -export * from './IoSakurasouControllerVoPageResultIoSakurasouControllerVoUserPageVO'; -export * from './IoSakurasouControllerVoPermissionVO'; -export * from './IoSakurasouControllerVoRoleVO'; -export * from './IoSakurasouControllerVoSettingVO'; -export * from './IoSakurasouControllerVoStrategyPageVO'; -export * from './IoSakurasouControllerVoStrategyVO'; -export * from './IoSakurasouControllerVoUserPageVO'; -export * from './IoSakurasouControllerVoUserVO'; -export * from './IoSakurasouModelGroupGroupConfig'; -export * from './IoSakurasouModelGroupGroupStrategyConfig'; -export * from './IoSakurasouModelGroupImageType'; -export * from './IoSakurasouModelSettingSettingConfig'; -export * from './IoSakurasouModelSettingSiteSetting'; -export * from './IoSakurasouModelSettingSystemSetting'; -export * from './IoSakurasouModelSettingSystemStatus'; -export * from './IoSakurasouModelStrategyLocalStrategy'; -export * from './IoSakurasouModelStrategyS3Strategy'; -export * from './IoSakurasouModelStrategyStrategyConfig'; -export * from './IoSakurasouModelStrategyStrategyType'; +/* eslint-disable */ +export * from './AlbumManageInsertRequest'; +export * from './AlbumManagePatchRequest'; +export * from './AlbumPageVO'; +export * from './AlbumSelfInsertRequest'; +export * from './AlbumSelfPatchRequest'; +export * from './AlbumVO'; +export * from './CommonResponseAlbumVO'; +export * from './CommonResponseGroupVO'; +export * from './CommonResponseImageManageVO'; +export * from './CommonResponseImageVO'; +export * from './CommonResponseKotlinCollectionsListRoleVO'; +export * from './CommonResponseKotlinCollectionsMapKotlinStringSettingVO'; +export * from './CommonResponseKotlinString'; +export * from './CommonResponseKotlinUnit'; +export * from './CommonResponsePageResultAlbumPageVO'; +export * from './CommonResponsePageResultGroupPageVO'; +export * from './CommonResponsePageResultImagePageVO'; +export * from './CommonResponsePageResultStrategyPageVO'; +export * from './CommonResponsePageResultUserManageVO'; +export * from './CommonResponseStrategyVO'; +export * from './CommonResponseUserVO'; +export * from './GroupConfig'; +export * from './GroupConfigUpdatePatch'; +export * from './GroupInsertRequest'; +export * from './GroupPageVO'; +export * from './GroupPatchRequest'; +export * from './GroupStrategyConfig'; +export * from './GroupVO'; +export * from './ImageInsertRequest'; +export * from './ImageManagePatchRequest'; +export * from './ImageManageVO'; +export * from './ImagePageVO'; +export * from './ImageTypeEnum'; +export * from './ImageVO'; export * from './JavaTimeDayOfWeek'; export * from './JavaTimeMonth'; export * from './KotlinxDatetimeLocalDate'; export * from './KotlinxDatetimeLocalDateTime'; export * from './KotlinxDatetimeLocalTime'; +export * from './LocalStrategy'; +export * from './PageResultAlbumPageVO'; +export * from './PageResultGroupPageVO'; +export * from './PageResultImagePageVO'; +export * from './PageResultStrategyPageVO'; +export * from './PageResultUserManageVO'; +export * from './PermissionVO'; +export * from './RoleVO'; +export * from './S3Strategy'; +export * from './SettingConfigSealed'; +export * from './SettingVO'; +export * from './SiteInitRequest'; +export * from './SiteSetting'; +export * from './SiteSettingPatchRequest'; +export * from './StrategyConfigSealed'; +export * from './StrategyInsertRequest'; +export * from './StrategyInsertRequestConfig'; +export * from './StrategyPageVO'; +export * from './StrategyPatchRequest'; +export * from './StrategyPatchRequestConfig'; +export * from './StrategyRequestLocalStrategyConfig'; +export * from './StrategyRequestS3StrategyConfig'; +export * from './StrategySettingPatchRequest'; +export * from './StrategyTypeEnum'; +export * from './StrategyVO'; +export * from './SystemSetting'; +export * from './SystemStatus'; +export * from './UserInsertRequest'; +export * from './UserLoginRequest'; +export * from './UserManageInsertRequest'; +export * from './UserManagePatchRequest'; +export * from './UserManageVO'; +export * from './UserSelfPatchRequest'; +export * from './UserVO'; diff --git a/ui/packages/api-client/src/runtime.ts b/ui/packages/api-client/src/runtime.ts index 667638d6..6bbaeff6 100644 --- a/ui/packages/api-client/src/runtime.ts +++ b/ui/packages/api-client/src/runtime.ts @@ -13,7 +13,7 @@ */ -export const BASE_PATH = "http://127.0.0.1:8080".replace(/\/+$/, ""); +export const BASE_PATH = "http://localhost".replace(/\/+$/, ""); export interface ConfigurationParameters { basePath?: string; // override base path