@irohalab/mira-sdk-angular 1.15.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/irohalab-mira-sdk-angular.mjs +7 -7
- package/package.json +7 -6
- package/types/irohalab-mira-sdk-angular.d.ts +1823 -0
- package/api/api.d.ts +0 -4
- package/api/default.service.d.ts +0 -610
- package/api/default.serviceInterface.d.ts +0 -230
- package/api.base.service.d.ts +0 -21
- package/api.module.d.ts +0 -11
- package/configuration.d.ts +0 -107
- package/encoder.d.ts +0 -17
- package/index.d.ts +0 -7
- package/model/batchGetMainItemByIdListResult.d.ts +0 -13
- package/model/batchGetSubItemByIdListResult.d.ts +0 -13
- package/model/characterRelationsWithMainItems.d.ts +0 -15
- package/model/clientMapping.d.ts +0 -15
- package/model/createSubItemFavoriteRequestBody.d.ts +0 -12
- package/model/deleteClientMappingByMainItemResponse.d.ts +0 -15
- package/model/errorResponse.d.ts +0 -13
- package/model/favorite.d.ts +0 -21
- package/model/favoriteProgress.d.ts +0 -12
- package/model/favoriteStatus.d.ts +0 -17
- package/model/getFavoriteResponse.d.ts +0 -13
- package/model/getOnAirItemListResponse.d.ts +0 -16
- package/model/idListRequestBody.d.ts +0 -12
- package/model/imageInfo.d.ts +0 -19
- package/model/itemCastCharacterRelation.d.ts +0 -24
- package/model/itemEntity.d.ts +0 -23
- package/model/itemPersonRelation.d.ts +0 -21
- package/model/itemRelation.d.ts +0 -21
- package/model/itemRelationsWithMainItems.d.ts +0 -19
- package/model/itemSubType.d.ts +0 -55
- package/model/itemType.d.ts +0 -24
- package/model/listFavoritesResponse.d.ts +0 -20
- package/model/listMainItemResponse.d.ts +0 -20
- package/model/listSubItemFavoriteResponse.d.ts +0 -17
- package/model/mainItem.d.ts +0 -41
- package/model/mainItemBasic.d.ts +0 -31
- package/model/mainType.d.ts +0 -15
- package/model/models.d.ts +0 -39
- package/model/onAirItem.d.ts +0 -27
- package/model/patchFavoriteBody.d.ts +0 -17
- package/model/personRelationsWithMainItems.d.ts +0 -17
- package/model/propertyType.d.ts +0 -17
- package/model/propertyValue.d.ts +0 -20
- package/model/propertyValueValue.d.ts +0 -16
- package/model/subItem.d.ts +0 -44
- package/model/subItemFavorite.d.ts +0 -16
- package/model/succeedEmptyResponse.d.ts +0 -12
- package/model/syncFavoritesRequestBody.d.ts +0 -14
- package/model/syncFavoritesRequestBodyFavoritesInner.d.ts +0 -14
- package/model/syncFavoritesResponse.d.ts +0 -17
- package/param.d.ts +0 -37
- package/provide-api.d.ts +0 -3
- package/query.params.d.ts +0 -61
- package/variables.d.ts +0 -8
|
@@ -1,230 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* mira API
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
-
* https://openapi-generator.tech
|
|
8
|
-
* Do not edit the class manually.
|
|
9
|
-
*/
|
|
10
|
-
import { HttpHeaders } from '@angular/common/http';
|
|
11
|
-
import { Observable } from 'rxjs';
|
|
12
|
-
import { BatchGetMainItemByIdListResult } from '../model/models';
|
|
13
|
-
import { BatchGetSubItemByIdListResult } from '../model/models';
|
|
14
|
-
import { CharacterRelationsWithMainItems } from '../model/models';
|
|
15
|
-
import { ClientMapping } from '../model/models';
|
|
16
|
-
import { CreateSubItemFavoriteRequestBody } from '../model/models';
|
|
17
|
-
import { DeleteClientMappingByMainItemResponse } from '../model/models';
|
|
18
|
-
import { Favorite } from '../model/models';
|
|
19
|
-
import { FavoriteProgress } from '../model/models';
|
|
20
|
-
import { GetFavoriteResponse } from '../model/models';
|
|
21
|
-
import { GetOnAirItemListResponse } from '../model/models';
|
|
22
|
-
import { IdListRequestBody } from '../model/models';
|
|
23
|
-
import { ItemRelationsWithMainItems } from '../model/models';
|
|
24
|
-
import { ListFavoritesResponse } from '../model/models';
|
|
25
|
-
import { ListMainItemResponse } from '../model/models';
|
|
26
|
-
import { ListSubItemFavoriteResponse } from '../model/models';
|
|
27
|
-
import { MainItem } from '../model/models';
|
|
28
|
-
import { PatchFavoriteBody } from '../model/models';
|
|
29
|
-
import { PersonRelationsWithMainItems } from '../model/models';
|
|
30
|
-
import { SubItem } from '../model/models';
|
|
31
|
-
import { SubItemFavorite } from '../model/models';
|
|
32
|
-
import { SucceedEmptyResponse } from '../model/models';
|
|
33
|
-
import { SyncFavoritesRequestBody } from '../model/models';
|
|
34
|
-
import { SyncFavoritesResponse } from '../model/models';
|
|
35
|
-
import { MiraConfiguration } from '../configuration';
|
|
36
|
-
export interface DefaultMiraInterface {
|
|
37
|
-
defaultHeaders: HttpHeaders;
|
|
38
|
-
configuration: MiraConfiguration;
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
* Add ClientMapping
|
|
42
|
-
* @endpoint post /client-mapping
|
|
43
|
-
* @param request_body
|
|
44
|
-
*/
|
|
45
|
-
addClientMapping(request_body: Array<string>, extraHttpRequestParams?: any): Observable<ClientMapping>;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* get mainItems by id list
|
|
49
|
-
* @endpoint post /client-mapping/batch/main
|
|
50
|
-
* @param IdListRequestBody
|
|
51
|
-
*/
|
|
52
|
-
batchGetMainItemByIdList(IdListRequestBody: IdListRequestBody, extraHttpRequestParams?: any): Observable<BatchGetMainItemByIdListResult>;
|
|
53
|
-
/**
|
|
54
|
-
*
|
|
55
|
-
* get SubItems by id list
|
|
56
|
-
* @endpoint post /client-mapping/batch/subItem
|
|
57
|
-
* @param IdListRequestBody
|
|
58
|
-
*/
|
|
59
|
-
batchGetSubItemsByIdList(IdListRequestBody: IdListRequestBody, extraHttpRequestParams?: any): Observable<BatchGetSubItemByIdListResult>;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* create a favorite for user and item
|
|
63
|
-
* @endpoint post /favorite
|
|
64
|
-
* @param Favorite
|
|
65
|
-
*/
|
|
66
|
-
createFavorite(Favorite: Favorite, extraHttpRequestParams?: any): Observable<Favorite>;
|
|
67
|
-
/**
|
|
68
|
-
*
|
|
69
|
-
* create a SubItemFavorite
|
|
70
|
-
* @endpoint post /favorite/sub
|
|
71
|
-
* @param CreateSubItemFavoriteRequestBody
|
|
72
|
-
*/
|
|
73
|
-
createSubItemFavorite(CreateSubItemFavoriteRequestBody: CreateSubItemFavoriteRequestBody, extraHttpRequestParams?: any): Observable<SubItemFavorite>;
|
|
74
|
-
/**
|
|
75
|
-
*
|
|
76
|
-
* Delete ClientMapping by MainItem id
|
|
77
|
-
* @endpoint delete /client-mapping/main/{id}
|
|
78
|
-
* @param id
|
|
79
|
-
*/
|
|
80
|
-
deleteClientMappingByMainItemId(id: string, extraHttpRequestParams?: any): Observable<DeleteClientMappingByMainItemResponse>;
|
|
81
|
-
/**
|
|
82
|
-
*
|
|
83
|
-
* Delete a favorite
|
|
84
|
-
* @endpoint delete /favorite/{id}
|
|
85
|
-
* @param id
|
|
86
|
-
*/
|
|
87
|
-
deleteFavorite(id: string, extraHttpRequestParams?: any): Observable<SucceedEmptyResponse>;
|
|
88
|
-
/**
|
|
89
|
-
*
|
|
90
|
-
* Delete a SubItemFavorite
|
|
91
|
-
* @endpoint delete /favorite/sub/{id}
|
|
92
|
-
* @param id
|
|
93
|
-
*/
|
|
94
|
-
deleteSubItemFavorite(id: string, extraHttpRequestParams?: any): Observable<SucceedEmptyResponse>;
|
|
95
|
-
/**
|
|
96
|
-
*
|
|
97
|
-
* Get a favorite by id
|
|
98
|
-
* @endpoint get /favorite/{id}
|
|
99
|
-
* @param id
|
|
100
|
-
*/
|
|
101
|
-
getFavoriteById(id: string, extraHttpRequestParams?: any): Observable<GetFavoriteResponse>;
|
|
102
|
-
/**
|
|
103
|
-
*
|
|
104
|
-
* get favorite by MainItem id
|
|
105
|
-
* @endpoint get /favorite/main/{id}
|
|
106
|
-
* @param id
|
|
107
|
-
*/
|
|
108
|
-
getFavoriteByMainItemId(id: string, extraHttpRequestParams?: any): Observable<Favorite>;
|
|
109
|
-
/**
|
|
110
|
-
*
|
|
111
|
-
* get favorite progress (number of SubItemFavorite from the beginning) of a episode type for mainItem
|
|
112
|
-
* @endpoint get /favorite/progress
|
|
113
|
-
* @param mainItemId
|
|
114
|
-
* @param epType
|
|
115
|
-
*/
|
|
116
|
-
getFavoriteProgressByMainItemId(mainItemId: string, epType: number, extraHttpRequestParams?: any): Observable<FavoriteProgress>;
|
|
117
|
-
/**
|
|
118
|
-
*
|
|
119
|
-
* get a MainItem by id
|
|
120
|
-
* @endpoint get /public/item/main/{id}
|
|
121
|
-
* @param id MainItem id
|
|
122
|
-
* @param coverImage populate coverImage if true
|
|
123
|
-
* @param subItems populate subItems if true
|
|
124
|
-
*/
|
|
125
|
-
getMainItemById(id: string, coverImage?: string, subItems?: string, extraHttpRequestParams?: any): Observable<MainItem>;
|
|
126
|
-
/**
|
|
127
|
-
*
|
|
128
|
-
* get all related (Item , Cast) MainItem of an Character Type MainItem.
|
|
129
|
-
* @endpoint get /public/relation/character/{id}
|
|
130
|
-
* @param id MainItem id
|
|
131
|
-
*/
|
|
132
|
-
getRelationsOfCharacter(id: string, extraHttpRequestParams?: any): Observable<CharacterRelationsWithMainItems>;
|
|
133
|
-
/**
|
|
134
|
-
*
|
|
135
|
-
* get all related (Item, Staff, Cast, Character) MainItem of an Item Type MainItem.
|
|
136
|
-
* @endpoint get /public/relation/item/{id}
|
|
137
|
-
* @param id MainItem id
|
|
138
|
-
*/
|
|
139
|
-
getRelationsOfItem(id: string, extraHttpRequestParams?: any): Observable<ItemRelationsWithMainItems>;
|
|
140
|
-
/**
|
|
141
|
-
*
|
|
142
|
-
* get all related (Item , Character) MainItem of an Person Type MainItem.
|
|
143
|
-
* @endpoint get /public/relation/person/{id}
|
|
144
|
-
* @param id MainItem id
|
|
145
|
-
*/
|
|
146
|
-
getRelationsOfPerson(id: string, extraHttpRequestParams?: any): Observable<PersonRelationsWithMainItems>;
|
|
147
|
-
/**
|
|
148
|
-
*
|
|
149
|
-
* get a SubItem by id
|
|
150
|
-
* @endpoint get /public/item/main/subItem/{id}
|
|
151
|
-
* @param id SubItem Id
|
|
152
|
-
*/
|
|
153
|
-
getSubItemById(id: string, extraHttpRequestParams?: any): Observable<SubItem>;
|
|
154
|
-
/**
|
|
155
|
-
*
|
|
156
|
-
* list favorites for user
|
|
157
|
-
* @endpoint get /favorite
|
|
158
|
-
* @param status
|
|
159
|
-
* @param offset
|
|
160
|
-
* @param limit
|
|
161
|
-
* @param orderBy
|
|
162
|
-
* @param sort
|
|
163
|
-
*/
|
|
164
|
-
listFavorites(status: string, offset?: number, limit?: number, orderBy?: string, sort?: string, extraHttpRequestParams?: any): Observable<ListFavoritesResponse>;
|
|
165
|
-
/**
|
|
166
|
-
*
|
|
167
|
-
* list MainItems
|
|
168
|
-
* @endpoint get /public/item/main
|
|
169
|
-
* @param serviceClientId
|
|
170
|
-
* @param mainType
|
|
171
|
-
* @param type
|
|
172
|
-
* @param subType
|
|
173
|
-
* @param offset
|
|
174
|
-
* @param limit
|
|
175
|
-
* @param orderBy
|
|
176
|
-
* @param sort
|
|
177
|
-
* @param keyword
|
|
178
|
-
*/
|
|
179
|
-
listMainItems(serviceClientId?: string, mainType?: string, type?: string, subType?: string, offset?: number, limit?: number, orderBy?: string, sort?: string, keyword?: string, extraHttpRequestParams?: any): Observable<ListMainItemResponse>;
|
|
180
|
-
/**
|
|
181
|
-
*
|
|
182
|
-
* list SubItemFavorite
|
|
183
|
-
* @endpoint get /favorite/sub
|
|
184
|
-
* @param itemId itemId of the SubItem, if provided then other parameters are ignored
|
|
185
|
-
* @param offset
|
|
186
|
-
* @param limit
|
|
187
|
-
* @param orderBy
|
|
188
|
-
* @param sort
|
|
189
|
-
* @param subItem
|
|
190
|
-
*/
|
|
191
|
-
listSubItemFavorites(itemId?: string, offset?: number, limit?: number, orderBy?: string, sort?: string, subItem?: boolean, extraHttpRequestParams?: any): Observable<ListSubItemFavoriteResponse>;
|
|
192
|
-
/**
|
|
193
|
-
*
|
|
194
|
-
* get a list of on air MainItems with cover image
|
|
195
|
-
* @endpoint get /public/item/on-air
|
|
196
|
-
* @param type type of MainItem, must be either anime or real
|
|
197
|
-
*/
|
|
198
|
-
onAirItem(type: string, extraHttpRequestParams?: any): Observable<GetOnAirItemListResponse>;
|
|
199
|
-
/**
|
|
200
|
-
*
|
|
201
|
-
* change status of a favorite
|
|
202
|
-
* @endpoint patch /favorite/{id}
|
|
203
|
-
* @param id
|
|
204
|
-
* @param PatchFavoriteBody
|
|
205
|
-
*/
|
|
206
|
-
patchFavorite(id: string, PatchFavoriteBody: PatchFavoriteBody, extraHttpRequestParams?: any): Observable<SucceedEmptyResponse>;
|
|
207
|
-
/**
|
|
208
|
-
*
|
|
209
|
-
* predict Main Item names base on provided prefix
|
|
210
|
-
* @endpoint get /public/item/predict
|
|
211
|
-
* @param prefix start part of the name
|
|
212
|
-
*/
|
|
213
|
-
predictMainItemName(prefix: string, extraHttpRequestParams?: any): Observable<Array<string>>;
|
|
214
|
-
/**
|
|
215
|
-
*
|
|
216
|
-
* Sync favorites from external source, merge with existing favorites
|
|
217
|
-
* @endpoint post /favorite/sync
|
|
218
|
-
* @param SyncFavoritesRequestBody
|
|
219
|
-
*/
|
|
220
|
-
syncFavorites(SyncFavoritesRequestBody: SyncFavoritesRequestBody, extraHttpRequestParams?: any): Observable<SyncFavoritesResponse>;
|
|
221
|
-
/**
|
|
222
|
-
*
|
|
223
|
-
* update progress of a favorite, will create/delete SubItemFavorite
|
|
224
|
-
* @endpoint post /favorite/progress
|
|
225
|
-
* @param mainItemId
|
|
226
|
-
* @param progress
|
|
227
|
-
* @param epType
|
|
228
|
-
*/
|
|
229
|
-
updateFavoriteProgress(mainItemId: string, progress: number, epType: number, extraHttpRequestParams?: any): Observable<SucceedEmptyResponse>;
|
|
230
|
-
}
|
package/api.base.service.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* mira API
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
-
* https://openapi-generator.tech
|
|
8
|
-
* Do not edit the class manually.
|
|
9
|
-
*/
|
|
10
|
-
import { HttpHeaders, HttpParameterCodec } from '@angular/common/http';
|
|
11
|
-
import { MiraConfiguration } from './configuration';
|
|
12
|
-
import { OpenApiHttpParams, QueryParamStyle } from './query.params';
|
|
13
|
-
export declare class BaseService {
|
|
14
|
-
protected basePath: string;
|
|
15
|
-
defaultHeaders: HttpHeaders;
|
|
16
|
-
configuration: MiraConfiguration;
|
|
17
|
-
encoder: HttpParameterCodec;
|
|
18
|
-
constructor(basePath?: string | string[], configuration?: MiraConfiguration);
|
|
19
|
-
protected canConsumeForm(consumes: string[]): boolean;
|
|
20
|
-
protected addToHttpParams(httpParams: OpenApiHttpParams, key: string, value: any | null | undefined, paramStyle: QueryParamStyle, explode: boolean): OpenApiHttpParams;
|
|
21
|
-
}
|
package/api.module.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import { MiraConfiguration } from './configuration';
|
|
3
|
-
import { HttpClient } from '@angular/common/http';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class MiraApiModule {
|
|
6
|
-
static forRoot(configurationFactory: () => MiraConfiguration): ModuleWithProviders<MiraApiModule>;
|
|
7
|
-
constructor(parentModule: MiraApiModule, http: HttpClient);
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MiraApiModule, [{ optional: true; skipSelf: true; }, { optional: true; }]>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MiraApiModule, never, never, never>;
|
|
10
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MiraApiModule>;
|
|
11
|
-
}
|
package/configuration.d.ts
DELETED
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import { HttpHeaders, HttpParameterCodec } from '@angular/common/http';
|
|
2
|
-
import { Param } from './param';
|
|
3
|
-
import { OpenApiHttpParams } from './query.params';
|
|
4
|
-
export interface MiraConfigurationParameters {
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated Since 5.0. Use credentials instead
|
|
7
|
-
*/
|
|
8
|
-
apiKeys?: {
|
|
9
|
-
[key: string]: string;
|
|
10
|
-
};
|
|
11
|
-
username?: string;
|
|
12
|
-
password?: string;
|
|
13
|
-
/**
|
|
14
|
-
* @deprecated Since 5.0. Use credentials instead
|
|
15
|
-
*/
|
|
16
|
-
accessToken?: string | (() => string);
|
|
17
|
-
basePath?: string;
|
|
18
|
-
withCredentials?: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* Takes care of encoding query- and form-parameters.
|
|
21
|
-
*/
|
|
22
|
-
encoder?: HttpParameterCodec;
|
|
23
|
-
/**
|
|
24
|
-
* Override the default method for encoding path parameters in various
|
|
25
|
-
* <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values">styles</a>.
|
|
26
|
-
* <p>
|
|
27
|
-
* See {@link README.md} for more details
|
|
28
|
-
* </p>
|
|
29
|
-
*/
|
|
30
|
-
encodeParam?: (param: Param) => string;
|
|
31
|
-
/**
|
|
32
|
-
* The keys are the names in the securitySchemes section of the OpenAPI
|
|
33
|
-
* document. They should map to the value used for authentication
|
|
34
|
-
* minus any standard prefixes such as 'Basic' or 'Bearer'.
|
|
35
|
-
*/
|
|
36
|
-
credentials?: {
|
|
37
|
-
[key: string]: string | (() => string | undefined);
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
export declare class MiraConfiguration {
|
|
41
|
-
/**
|
|
42
|
-
* @deprecated Since 5.0. Use credentials instead
|
|
43
|
-
*/
|
|
44
|
-
apiKeys?: {
|
|
45
|
-
[key: string]: string;
|
|
46
|
-
};
|
|
47
|
-
username?: string;
|
|
48
|
-
password?: string;
|
|
49
|
-
/**
|
|
50
|
-
* @deprecated Since 5.0. Use credentials instead
|
|
51
|
-
*/
|
|
52
|
-
accessToken?: string | (() => string);
|
|
53
|
-
basePath?: string;
|
|
54
|
-
withCredentials?: boolean;
|
|
55
|
-
/**
|
|
56
|
-
* Takes care of encoding query- and form-parameters.
|
|
57
|
-
*/
|
|
58
|
-
encoder?: HttpParameterCodec;
|
|
59
|
-
/**
|
|
60
|
-
* Encoding of various path parameter
|
|
61
|
-
* <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values">styles</a>.
|
|
62
|
-
* <p>
|
|
63
|
-
* See {@link README.md} for more details
|
|
64
|
-
* </p>
|
|
65
|
-
*/
|
|
66
|
-
encodeParam: (param: Param) => string;
|
|
67
|
-
/**
|
|
68
|
-
* The keys are the names in the securitySchemes section of the OpenAPI
|
|
69
|
-
* document. They should map to the value used for authentication
|
|
70
|
-
* minus any standard prefixes such as 'Basic' or 'Bearer'.
|
|
71
|
-
*/
|
|
72
|
-
credentials: {
|
|
73
|
-
[key: string]: string | (() => string | undefined);
|
|
74
|
-
};
|
|
75
|
-
constructor({ accessToken, apiKeys, basePath, credentials, encodeParam, encoder, password, username, withCredentials }?: MiraConfigurationParameters);
|
|
76
|
-
/**
|
|
77
|
-
* Select the correct content-type to use for a request.
|
|
78
|
-
* Uses {@link MiraConfiguration#isJsonMime} to determine the correct content-type.
|
|
79
|
-
* If no content type is found return the first found type if the contentTypes is not empty
|
|
80
|
-
* @param contentTypes - the array of content types that are available for selection
|
|
81
|
-
* @returns the selected content-type or <code>undefined</code> if no selection could be made.
|
|
82
|
-
*/
|
|
83
|
-
selectHeaderContentType(contentTypes: string[]): string | undefined;
|
|
84
|
-
/**
|
|
85
|
-
* Select the correct accept content-type to use for a request.
|
|
86
|
-
* Uses {@link MiraConfiguration#isJsonMime} to determine the correct accept content-type.
|
|
87
|
-
* If no content type is found return the first found type if the contentTypes is not empty
|
|
88
|
-
* @param accepts - the array of content types that are available for selection.
|
|
89
|
-
* @returns the selected content-type or <code>undefined</code> if no selection could be made.
|
|
90
|
-
*/
|
|
91
|
-
selectHeaderAccept(accepts: string[]): string | undefined;
|
|
92
|
-
/**
|
|
93
|
-
* Check if the given MIME is a JSON MIME.
|
|
94
|
-
* JSON MIME examples:
|
|
95
|
-
* application/json
|
|
96
|
-
* application/json; charset=UTF8
|
|
97
|
-
* APPLICATION/JSON
|
|
98
|
-
* application/vnd.company+json
|
|
99
|
-
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
100
|
-
* @return True if the given MIME is JSON, false otherwise.
|
|
101
|
-
*/
|
|
102
|
-
isJsonMime(mime: string): boolean;
|
|
103
|
-
lookupCredential(key: string): string | undefined;
|
|
104
|
-
addCredentialToHeaders(credentialKey: string, headerName: string, headers: HttpHeaders, prefix?: string): HttpHeaders;
|
|
105
|
-
addCredentialToQuery(credentialKey: string, paramName: string, query: OpenApiHttpParams): OpenApiHttpParams;
|
|
106
|
-
private defaultEncodeParam;
|
|
107
|
-
}
|
package/encoder.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { HttpParameterCodec } from '@angular/common/http';
|
|
2
|
-
/**
|
|
3
|
-
* Custom HttpParameterCodec
|
|
4
|
-
* Workaround for https://github.com/angular/angular/issues/18261
|
|
5
|
-
*/
|
|
6
|
-
export declare class CustomHttpParameterCodec implements HttpParameterCodec {
|
|
7
|
-
encodeKey(k: string): string;
|
|
8
|
-
encodeValue(v: string): string;
|
|
9
|
-
decodeKey(k: string): string;
|
|
10
|
-
decodeValue(v: string): string;
|
|
11
|
-
}
|
|
12
|
-
export declare class IdentityHttpParameterCodec implements HttpParameterCodec {
|
|
13
|
-
encodeKey(k: string): string;
|
|
14
|
-
encodeValue(v: string): string;
|
|
15
|
-
decodeKey(k: string): string;
|
|
16
|
-
decodeValue(v: string): string;
|
|
17
|
-
}
|
package/index.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* mira API
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
-
* https://openapi-generator.tech
|
|
8
|
-
* Do not edit the class manually.
|
|
9
|
-
*/
|
|
10
|
-
import { MainItem } from './mainItem';
|
|
11
|
-
export interface BatchGetMainItemByIdListResult {
|
|
12
|
-
data: Array<MainItem>;
|
|
13
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* mira API
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
-
* https://openapi-generator.tech
|
|
8
|
-
* Do not edit the class manually.
|
|
9
|
-
*/
|
|
10
|
-
import { SubItem } from './subItem';
|
|
11
|
-
export interface BatchGetSubItemByIdListResult {
|
|
12
|
-
data: Array<SubItem>;
|
|
13
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* mira API
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
-
* https://openapi-generator.tech
|
|
8
|
-
* Do not edit the class manually.
|
|
9
|
-
*/
|
|
10
|
-
import { MainItemBasic } from './mainItemBasic';
|
|
11
|
-
import { ItemCastCharacterRelation } from './itemCastCharacterRelation';
|
|
12
|
-
export interface CharacterRelationsWithMainItems {
|
|
13
|
-
mainItems: Array<MainItemBasic>;
|
|
14
|
-
relatedItems: Array<ItemCastCharacterRelation>;
|
|
15
|
-
}
|
package/model/clientMapping.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* mira API
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
-
* https://openapi-generator.tech
|
|
8
|
-
* Do not edit the class manually.
|
|
9
|
-
*/
|
|
10
|
-
import { MainItem } from './mainItem';
|
|
11
|
-
export interface ClientMapping {
|
|
12
|
-
id: string;
|
|
13
|
-
clientId: string;
|
|
14
|
-
item: MainItem;
|
|
15
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* mira API
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
-
* https://openapi-generator.tech
|
|
8
|
-
* Do not edit the class manually.
|
|
9
|
-
*/
|
|
10
|
-
export interface CreateSubItemFavoriteRequestBody {
|
|
11
|
-
subItemId: string;
|
|
12
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* mira API
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
-
* https://openapi-generator.tech
|
|
8
|
-
* Do not edit the class manually.
|
|
9
|
-
*/
|
|
10
|
-
export interface DeleteClientMappingByMainItemResponse {
|
|
11
|
-
/**
|
|
12
|
-
* how many entries are deleted, 1 is successful, 0 is unsuccessful.
|
|
13
|
-
*/
|
|
14
|
-
data: number;
|
|
15
|
-
}
|
package/model/errorResponse.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* mira API
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
-
* https://openapi-generator.tech
|
|
8
|
-
* Do not edit the class manually.
|
|
9
|
-
*/
|
|
10
|
-
export interface ErrorResponse {
|
|
11
|
-
message?: string;
|
|
12
|
-
status?: number;
|
|
13
|
-
}
|
package/model/favorite.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* mira API
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
-
* https://openapi-generator.tech
|
|
8
|
-
* Do not edit the class manually.
|
|
9
|
-
*/
|
|
10
|
-
import { FavoriteStatus } from './favoriteStatus';
|
|
11
|
-
import { MainItem } from './mainItem';
|
|
12
|
-
export interface Favorite {
|
|
13
|
-
readonly id?: string;
|
|
14
|
-
status: FavoriteStatus;
|
|
15
|
-
reviewComment?: string;
|
|
16
|
-
rating?: number;
|
|
17
|
-
item: MainItem;
|
|
18
|
-
userId: string;
|
|
19
|
-
}
|
|
20
|
-
export declare namespace Favorite {
|
|
21
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* mira API
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
-
* https://openapi-generator.tech
|
|
8
|
-
* Do not edit the class manually.
|
|
9
|
-
*/
|
|
10
|
-
export interface FavoriteProgress {
|
|
11
|
-
progress: number;
|
|
12
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* mira API
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
-
* https://openapi-generator.tech
|
|
8
|
-
* Do not edit the class manually.
|
|
9
|
-
*/
|
|
10
|
-
export declare const FavoriteStatus: {
|
|
11
|
-
readonly Planned: "Planned";
|
|
12
|
-
readonly Watched: "Watched";
|
|
13
|
-
readonly Watching: "Watching";
|
|
14
|
-
readonly OnHold: "OnHold";
|
|
15
|
-
readonly Dropped: "Dropped";
|
|
16
|
-
};
|
|
17
|
-
export type FavoriteStatus = typeof FavoriteStatus[keyof typeof FavoriteStatus];
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* mira API
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
-
* https://openapi-generator.tech
|
|
8
|
-
* Do not edit the class manually.
|
|
9
|
-
*/
|
|
10
|
-
import { Favorite } from './favorite';
|
|
11
|
-
export interface GetFavoriteResponse {
|
|
12
|
-
data?: Favorite;
|
|
13
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* mira API
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
-
* https://openapi-generator.tech
|
|
8
|
-
* Do not edit the class manually.
|
|
9
|
-
*/
|
|
10
|
-
import { OnAirItem } from './onAirItem';
|
|
11
|
-
export interface GetOnAirItemListResponse {
|
|
12
|
-
/**
|
|
13
|
-
* a list of OnAirItems
|
|
14
|
-
*/
|
|
15
|
-
data: Array<OnAirItem>;
|
|
16
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* mira API
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
-
* https://openapi-generator.tech
|
|
8
|
-
* Do not edit the class manually.
|
|
9
|
-
*/
|
|
10
|
-
export interface IdListRequestBody {
|
|
11
|
-
ids: Array<string>;
|
|
12
|
-
}
|
package/model/imageInfo.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* mira API
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
-
* https://openapi-generator.tech
|
|
8
|
-
* Do not edit the class manually.
|
|
9
|
-
*/
|
|
10
|
-
/**
|
|
11
|
-
* image information
|
|
12
|
-
*/
|
|
13
|
-
export interface ImageInfo {
|
|
14
|
-
id: string;
|
|
15
|
-
url: string;
|
|
16
|
-
width: number;
|
|
17
|
-
height: number;
|
|
18
|
-
dormantColor: string;
|
|
19
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* mira API
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
-
* https://openapi-generator.tech
|
|
8
|
-
* Do not edit the class manually.
|
|
9
|
-
*/
|
|
10
|
-
/**
|
|
11
|
-
* represent the relation among the Item type, Person type and Character type MainItems, it can also only be Item and Character type relation.
|
|
12
|
-
*/
|
|
13
|
-
export interface ItemCastCharacterRelation {
|
|
14
|
-
id: string;
|
|
15
|
-
mainItemId: string;
|
|
16
|
-
mainItemBgmId: number;
|
|
17
|
-
relatedCastId?: string | null;
|
|
18
|
-
relatedCastBgmId: number | null;
|
|
19
|
-
relatedCharacterId?: string | null;
|
|
20
|
-
relatedCharacterBgmId: number;
|
|
21
|
-
characterType: string;
|
|
22
|
-
isLocked: boolean;
|
|
23
|
-
relationType?: string;
|
|
24
|
-
}
|
package/model/itemEntity.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* mira API
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
-
* https://openapi-generator.tech
|
|
8
|
-
* Do not edit the class manually.
|
|
9
|
-
*/
|
|
10
|
-
import { PropertyValue } from './propertyValue';
|
|
11
|
-
export interface ItemEntity {
|
|
12
|
-
id: string;
|
|
13
|
-
bgmId: number;
|
|
14
|
-
/**
|
|
15
|
-
* Not used for ItemType.Individual and ItemType.Character
|
|
16
|
-
*/
|
|
17
|
-
publicTime?: string;
|
|
18
|
-
name?: string;
|
|
19
|
-
nameCn?: string;
|
|
20
|
-
properties: {
|
|
21
|
-
[key: string]: PropertyValue;
|
|
22
|
-
};
|
|
23
|
-
}
|