@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
|
@@ -0,0 +1,1823 @@
|
|
|
1
|
+
import { HttpParameterCodec, HttpParams, HttpHeaders, HttpClient, HttpContext, HttpResponse, HttpEvent } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
import { InjectionToken, ModuleWithProviders, EnvironmentProviders } from '@angular/core';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* mira API
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
declare const ItemSubType: {
|
|
16
|
+
readonly Other: "other";
|
|
17
|
+
readonly TV: "TV";
|
|
18
|
+
readonly Web: "web";
|
|
19
|
+
readonly OVA: "OVA";
|
|
20
|
+
readonly Movie: "movie";
|
|
21
|
+
readonly Novel: "Novel";
|
|
22
|
+
readonly Comic: "Comic";
|
|
23
|
+
readonly Illustration: "Illustration";
|
|
24
|
+
readonly DramaJp: "jp";
|
|
25
|
+
readonly DramaEn: "en";
|
|
26
|
+
readonly DramaCn: "cn";
|
|
27
|
+
readonly PC: "PC";
|
|
28
|
+
readonly NDS: "NDS";
|
|
29
|
+
readonly PSP: "PSP";
|
|
30
|
+
readonly PS2: "PS2";
|
|
31
|
+
readonly PS3: "PS3";
|
|
32
|
+
readonly Xbox360: "Xbox360";
|
|
33
|
+
readonly Mac: "Mac OS";
|
|
34
|
+
readonly PS5: "PS5";
|
|
35
|
+
readonly XboxSeriesXS: "Xbox Series X/S";
|
|
36
|
+
readonly PS4: "PS4";
|
|
37
|
+
readonly XboxOne: "Xbox One";
|
|
38
|
+
readonly NintendoSwitch: "Nintendo Switch";
|
|
39
|
+
readonly WiiU: "Wii U";
|
|
40
|
+
readonly Wii: "Wii";
|
|
41
|
+
readonly PSVita: "PS Vita";
|
|
42
|
+
readonly N3DS: "3DS";
|
|
43
|
+
readonly IOS: "iOS";
|
|
44
|
+
readonly Android: "Android";
|
|
45
|
+
readonly ARC: "ARC";
|
|
46
|
+
readonly XBOX: "XBOX";
|
|
47
|
+
readonly GameCube: "GameCube";
|
|
48
|
+
readonly Dreamcast: "Dreamcast";
|
|
49
|
+
readonly Nintendo64: "Nitendo 64";
|
|
50
|
+
readonly PlayStation: "PlayStation";
|
|
51
|
+
readonly SFC: "SFC";
|
|
52
|
+
readonly FC: "FC";
|
|
53
|
+
readonly NEOGEOPocketColor: "NEOGEO Pocket Color";
|
|
54
|
+
readonly GBA: "GBA";
|
|
55
|
+
readonly GB: "GB";
|
|
56
|
+
readonly VirtualBoy: "Virtual Boy";
|
|
57
|
+
readonly WonderSwanColor: "WonderSwan Color";
|
|
58
|
+
readonly WonderSwan: "WonderSwan";
|
|
59
|
+
};
|
|
60
|
+
type ItemSubType = typeof ItemSubType[keyof typeof ItemSubType];
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* mira API
|
|
64
|
+
*
|
|
65
|
+
*
|
|
66
|
+
*
|
|
67
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
68
|
+
* https://openapi-generator.tech
|
|
69
|
+
* Do not edit the class manually.
|
|
70
|
+
*/
|
|
71
|
+
declare const ItemType: {
|
|
72
|
+
readonly Anime: "anime";
|
|
73
|
+
readonly Game: "game";
|
|
74
|
+
readonly Music: "music";
|
|
75
|
+
readonly Book: "book";
|
|
76
|
+
readonly Individual: "individual";
|
|
77
|
+
readonly Character: "character";
|
|
78
|
+
readonly RealWorld: "real";
|
|
79
|
+
readonly Association: "association";
|
|
80
|
+
readonly Corporation: "corporation";
|
|
81
|
+
readonly Organization: "organization";
|
|
82
|
+
readonly Ship: "ship";
|
|
83
|
+
readonly Mechanic: "mechanic";
|
|
84
|
+
};
|
|
85
|
+
type ItemType = typeof ItemType[keyof typeof ItemType];
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* mira API
|
|
89
|
+
*
|
|
90
|
+
*
|
|
91
|
+
*
|
|
92
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
93
|
+
* https://openapi-generator.tech
|
|
94
|
+
* Do not edit the class manually.
|
|
95
|
+
*/
|
|
96
|
+
/**
|
|
97
|
+
* @type PropertyValueValue
|
|
98
|
+
* @export
|
|
99
|
+
*/
|
|
100
|
+
type PropertyValueValue = Array<string> | Array<{
|
|
101
|
+
[key: string]: string;
|
|
102
|
+
}> | string;
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* mira API
|
|
106
|
+
*
|
|
107
|
+
*
|
|
108
|
+
*
|
|
109
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
110
|
+
* https://openapi-generator.tech
|
|
111
|
+
* Do not edit the class manually.
|
|
112
|
+
*/
|
|
113
|
+
declare const PropertyType: {
|
|
114
|
+
readonly Staff: "Staff";
|
|
115
|
+
readonly Item: "Item";
|
|
116
|
+
readonly Character: "Character";
|
|
117
|
+
readonly Info: "Info";
|
|
118
|
+
readonly Cast: "Cast";
|
|
119
|
+
};
|
|
120
|
+
type PropertyType = typeof PropertyType[keyof typeof PropertyType];
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* mira API
|
|
124
|
+
*
|
|
125
|
+
*
|
|
126
|
+
*
|
|
127
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
128
|
+
* https://openapi-generator.tech
|
|
129
|
+
* Do not edit the class manually.
|
|
130
|
+
*/
|
|
131
|
+
|
|
132
|
+
interface PropertyValue {
|
|
133
|
+
anidbKey?: string;
|
|
134
|
+
bgmKey?: string;
|
|
135
|
+
propertyType?: PropertyType;
|
|
136
|
+
locked: boolean;
|
|
137
|
+
value: PropertyValueValue;
|
|
138
|
+
}
|
|
139
|
+
declare namespace PropertyValue {
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* mira API
|
|
144
|
+
*
|
|
145
|
+
*
|
|
146
|
+
*
|
|
147
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
148
|
+
* https://openapi-generator.tech
|
|
149
|
+
* Do not edit the class manually.
|
|
150
|
+
*/
|
|
151
|
+
|
|
152
|
+
interface SubItem {
|
|
153
|
+
id: string;
|
|
154
|
+
bgmId: number;
|
|
155
|
+
/**
|
|
156
|
+
* Not used for ItemType.Individual and ItemType.Character
|
|
157
|
+
*/
|
|
158
|
+
publicTime?: string;
|
|
159
|
+
name?: string;
|
|
160
|
+
nameCn?: string;
|
|
161
|
+
properties: {
|
|
162
|
+
[key: string]: PropertyValue;
|
|
163
|
+
};
|
|
164
|
+
type: SubItem.TypeEnum;
|
|
165
|
+
episodeType: SubItem.EpisodeTypeEnum | null;
|
|
166
|
+
ep?: number | null;
|
|
167
|
+
disc?: number | null;
|
|
168
|
+
desc?: string;
|
|
169
|
+
sort: number;
|
|
170
|
+
mainItemId: string;
|
|
171
|
+
mainItem?: MainItem;
|
|
172
|
+
}
|
|
173
|
+
declare namespace SubItem {
|
|
174
|
+
const TypeEnum: {
|
|
175
|
+
readonly Episode: 0;
|
|
176
|
+
readonly Song: 1;
|
|
177
|
+
};
|
|
178
|
+
type TypeEnum = typeof TypeEnum[keyof typeof TypeEnum];
|
|
179
|
+
const EpisodeTypeEnum: {
|
|
180
|
+
readonly Episode: 0;
|
|
181
|
+
readonly Special: 1;
|
|
182
|
+
};
|
|
183
|
+
type EpisodeTypeEnum = typeof EpisodeTypeEnum[keyof typeof EpisodeTypeEnum];
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* mira API
|
|
188
|
+
*
|
|
189
|
+
*
|
|
190
|
+
*
|
|
191
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
192
|
+
* https://openapi-generator.tech
|
|
193
|
+
* Do not edit the class manually.
|
|
194
|
+
*/
|
|
195
|
+
declare const MainType: {
|
|
196
|
+
readonly Item: 0;
|
|
197
|
+
readonly Person: 1;
|
|
198
|
+
readonly Character: 2;
|
|
199
|
+
};
|
|
200
|
+
type MainType = typeof MainType[keyof typeof MainType];
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* mira API
|
|
204
|
+
*
|
|
205
|
+
*
|
|
206
|
+
*
|
|
207
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
208
|
+
* https://openapi-generator.tech
|
|
209
|
+
* Do not edit the class manually.
|
|
210
|
+
*/
|
|
211
|
+
/**
|
|
212
|
+
* image information
|
|
213
|
+
*/
|
|
214
|
+
interface ImageInfo {
|
|
215
|
+
id: string;
|
|
216
|
+
url: string;
|
|
217
|
+
width: number;
|
|
218
|
+
height: number;
|
|
219
|
+
dormantColor: string;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* mira API
|
|
224
|
+
*
|
|
225
|
+
*
|
|
226
|
+
*
|
|
227
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
228
|
+
* https://openapi-generator.tech
|
|
229
|
+
* Do not edit the class manually.
|
|
230
|
+
*/
|
|
231
|
+
|
|
232
|
+
interface MainItem {
|
|
233
|
+
id: string;
|
|
234
|
+
bgmId: number;
|
|
235
|
+
/**
|
|
236
|
+
* Not used for ItemType.Individual and ItemType.Character
|
|
237
|
+
*/
|
|
238
|
+
publicTime?: string;
|
|
239
|
+
name?: string;
|
|
240
|
+
nameCn?: string;
|
|
241
|
+
properties: {
|
|
242
|
+
[key: string]: PropertyValue;
|
|
243
|
+
};
|
|
244
|
+
mainType: MainType;
|
|
245
|
+
type: ItemType;
|
|
246
|
+
subType?: ItemSubType;
|
|
247
|
+
/**
|
|
248
|
+
* determine if the MainItem is collection item
|
|
249
|
+
*/
|
|
250
|
+
isCollection: boolean;
|
|
251
|
+
coverImage?: ImageInfo;
|
|
252
|
+
squareImage?: ImageInfo;
|
|
253
|
+
subItems?: Array<SubItem>;
|
|
254
|
+
summary?: string;
|
|
255
|
+
}
|
|
256
|
+
declare namespace MainItem {
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* mira API
|
|
261
|
+
*
|
|
262
|
+
*
|
|
263
|
+
*
|
|
264
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
265
|
+
* https://openapi-generator.tech
|
|
266
|
+
* Do not edit the class manually.
|
|
267
|
+
*/
|
|
268
|
+
|
|
269
|
+
interface BatchGetMainItemByIdListResult {
|
|
270
|
+
data: Array<MainItem>;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* mira API
|
|
275
|
+
*
|
|
276
|
+
*
|
|
277
|
+
*
|
|
278
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
279
|
+
* https://openapi-generator.tech
|
|
280
|
+
* Do not edit the class manually.
|
|
281
|
+
*/
|
|
282
|
+
|
|
283
|
+
interface BatchGetSubItemByIdListResult {
|
|
284
|
+
data: Array<SubItem>;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* mira API
|
|
289
|
+
*
|
|
290
|
+
*
|
|
291
|
+
*
|
|
292
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
293
|
+
* https://openapi-generator.tech
|
|
294
|
+
* Do not edit the class manually.
|
|
295
|
+
*/
|
|
296
|
+
|
|
297
|
+
interface MainItemBasic {
|
|
298
|
+
id: string;
|
|
299
|
+
bgmId: string;
|
|
300
|
+
mainType: MainType;
|
|
301
|
+
type: ItemType;
|
|
302
|
+
subType: ItemSubType;
|
|
303
|
+
publicTime?: string;
|
|
304
|
+
/**
|
|
305
|
+
* determine if the MainItem is collection item
|
|
306
|
+
*/
|
|
307
|
+
isCollection: boolean;
|
|
308
|
+
coverImage?: ImageInfo;
|
|
309
|
+
squareImage?: ImageInfo;
|
|
310
|
+
name?: string;
|
|
311
|
+
nameCn?: string;
|
|
312
|
+
}
|
|
313
|
+
declare namespace MainItemBasic {
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* mira API
|
|
318
|
+
*
|
|
319
|
+
*
|
|
320
|
+
*
|
|
321
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
322
|
+
* https://openapi-generator.tech
|
|
323
|
+
* Do not edit the class manually.
|
|
324
|
+
*/
|
|
325
|
+
/**
|
|
326
|
+
* represent the relation among the Item type, Person type and Character type MainItems, it can also only be Item and Character type relation.
|
|
327
|
+
*/
|
|
328
|
+
interface ItemCastCharacterRelation {
|
|
329
|
+
id: string;
|
|
330
|
+
mainItemId: string;
|
|
331
|
+
mainItemBgmId: number;
|
|
332
|
+
relatedCastId?: string | null;
|
|
333
|
+
relatedCastBgmId: number | null;
|
|
334
|
+
relatedCharacterId?: string | null;
|
|
335
|
+
relatedCharacterBgmId: number;
|
|
336
|
+
characterType: string;
|
|
337
|
+
isLocked: boolean;
|
|
338
|
+
relationType?: string;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
/**
|
|
342
|
+
* mira API
|
|
343
|
+
*
|
|
344
|
+
*
|
|
345
|
+
*
|
|
346
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
347
|
+
* https://openapi-generator.tech
|
|
348
|
+
* Do not edit the class manually.
|
|
349
|
+
*/
|
|
350
|
+
|
|
351
|
+
interface CharacterRelationsWithMainItems {
|
|
352
|
+
mainItems: Array<MainItemBasic>;
|
|
353
|
+
relatedItems: Array<ItemCastCharacterRelation>;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
/**
|
|
357
|
+
* mira API
|
|
358
|
+
*
|
|
359
|
+
*
|
|
360
|
+
*
|
|
361
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
362
|
+
* https://openapi-generator.tech
|
|
363
|
+
* Do not edit the class manually.
|
|
364
|
+
*/
|
|
365
|
+
|
|
366
|
+
interface ClientMapping {
|
|
367
|
+
id: string;
|
|
368
|
+
clientId: string;
|
|
369
|
+
item: MainItem;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
/**
|
|
373
|
+
* mira API
|
|
374
|
+
*
|
|
375
|
+
*
|
|
376
|
+
*
|
|
377
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
378
|
+
* https://openapi-generator.tech
|
|
379
|
+
* Do not edit the class manually.
|
|
380
|
+
*/
|
|
381
|
+
interface CreateSubItemFavoriteRequestBody {
|
|
382
|
+
subItemId: string;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
/**
|
|
386
|
+
* mira API
|
|
387
|
+
*
|
|
388
|
+
*
|
|
389
|
+
*
|
|
390
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
391
|
+
* https://openapi-generator.tech
|
|
392
|
+
* Do not edit the class manually.
|
|
393
|
+
*/
|
|
394
|
+
interface DeleteClientMappingByMainItemResponse {
|
|
395
|
+
/**
|
|
396
|
+
* how many entries are deleted, 1 is successful, 0 is unsuccessful.
|
|
397
|
+
*/
|
|
398
|
+
data: number;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
/**
|
|
402
|
+
* mira API
|
|
403
|
+
*
|
|
404
|
+
*
|
|
405
|
+
*
|
|
406
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
407
|
+
* https://openapi-generator.tech
|
|
408
|
+
* Do not edit the class manually.
|
|
409
|
+
*/
|
|
410
|
+
declare const FavoriteStatus: {
|
|
411
|
+
readonly Planned: "Planned";
|
|
412
|
+
readonly Watched: "Watched";
|
|
413
|
+
readonly Watching: "Watching";
|
|
414
|
+
readonly OnHold: "OnHold";
|
|
415
|
+
readonly Dropped: "Dropped";
|
|
416
|
+
};
|
|
417
|
+
type FavoriteStatus = typeof FavoriteStatus[keyof typeof FavoriteStatus];
|
|
418
|
+
|
|
419
|
+
/**
|
|
420
|
+
* mira API
|
|
421
|
+
*
|
|
422
|
+
*
|
|
423
|
+
*
|
|
424
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
425
|
+
* https://openapi-generator.tech
|
|
426
|
+
* Do not edit the class manually.
|
|
427
|
+
*/
|
|
428
|
+
|
|
429
|
+
interface Favorite {
|
|
430
|
+
readonly id?: string;
|
|
431
|
+
status: FavoriteStatus;
|
|
432
|
+
reviewComment?: string;
|
|
433
|
+
rating?: number;
|
|
434
|
+
item: MainItem;
|
|
435
|
+
userId: string;
|
|
436
|
+
}
|
|
437
|
+
declare namespace Favorite {
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
/**
|
|
441
|
+
* mira API
|
|
442
|
+
*
|
|
443
|
+
*
|
|
444
|
+
*
|
|
445
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
446
|
+
* https://openapi-generator.tech
|
|
447
|
+
* Do not edit the class manually.
|
|
448
|
+
*/
|
|
449
|
+
interface FavoriteProgress {
|
|
450
|
+
progress: number;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
/**
|
|
454
|
+
* mira API
|
|
455
|
+
*
|
|
456
|
+
*
|
|
457
|
+
*
|
|
458
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
459
|
+
* https://openapi-generator.tech
|
|
460
|
+
* Do not edit the class manually.
|
|
461
|
+
*/
|
|
462
|
+
|
|
463
|
+
interface GetFavoriteResponse {
|
|
464
|
+
data?: Favorite;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
/**
|
|
468
|
+
* mira API
|
|
469
|
+
*
|
|
470
|
+
*
|
|
471
|
+
*
|
|
472
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
473
|
+
* https://openapi-generator.tech
|
|
474
|
+
* Do not edit the class manually.
|
|
475
|
+
*/
|
|
476
|
+
|
|
477
|
+
interface OnAirItem {
|
|
478
|
+
id: string;
|
|
479
|
+
bgmId: number;
|
|
480
|
+
/**
|
|
481
|
+
* RFC3339 Datetime
|
|
482
|
+
*/
|
|
483
|
+
publicTime?: string;
|
|
484
|
+
type: ItemType;
|
|
485
|
+
subType?: ItemSubType;
|
|
486
|
+
name?: string;
|
|
487
|
+
nameCn?: string;
|
|
488
|
+
coverImage?: ImageInfo;
|
|
489
|
+
}
|
|
490
|
+
declare namespace OnAirItem {
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
/**
|
|
494
|
+
* mira API
|
|
495
|
+
*
|
|
496
|
+
*
|
|
497
|
+
*
|
|
498
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
499
|
+
* https://openapi-generator.tech
|
|
500
|
+
* Do not edit the class manually.
|
|
501
|
+
*/
|
|
502
|
+
|
|
503
|
+
interface GetOnAirItemListResponse {
|
|
504
|
+
/**
|
|
505
|
+
* a list of OnAirItems
|
|
506
|
+
*/
|
|
507
|
+
data: Array<OnAirItem>;
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
/**
|
|
511
|
+
* mira API
|
|
512
|
+
*
|
|
513
|
+
*
|
|
514
|
+
*
|
|
515
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
516
|
+
* https://openapi-generator.tech
|
|
517
|
+
* Do not edit the class manually.
|
|
518
|
+
*/
|
|
519
|
+
interface IdListRequestBody {
|
|
520
|
+
ids: Array<string>;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
/**
|
|
524
|
+
* mira API
|
|
525
|
+
*
|
|
526
|
+
*
|
|
527
|
+
*
|
|
528
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
529
|
+
* https://openapi-generator.tech
|
|
530
|
+
* Do not edit the class manually.
|
|
531
|
+
*/
|
|
532
|
+
/**
|
|
533
|
+
* represent the relation between the Item type MainItem and Person type MainItem
|
|
534
|
+
*/
|
|
535
|
+
interface ItemPersonRelation {
|
|
536
|
+
id: string;
|
|
537
|
+
mainItemId: string;
|
|
538
|
+
mainItemBgmId: number;
|
|
539
|
+
personItemId?: string | null;
|
|
540
|
+
personItemBgmId: number;
|
|
541
|
+
relationType: string;
|
|
542
|
+
isLocked: boolean;
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
/**
|
|
546
|
+
* mira API
|
|
547
|
+
*
|
|
548
|
+
*
|
|
549
|
+
*
|
|
550
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
551
|
+
* https://openapi-generator.tech
|
|
552
|
+
* Do not edit the class manually.
|
|
553
|
+
*/
|
|
554
|
+
/**
|
|
555
|
+
* represent the relation of the Item type MainItems
|
|
556
|
+
*/
|
|
557
|
+
interface ItemRelation {
|
|
558
|
+
id: string;
|
|
559
|
+
mainItemId: string;
|
|
560
|
+
mainItemBgmId: number;
|
|
561
|
+
relatedItemId?: string | null;
|
|
562
|
+
relatedBgmId: number;
|
|
563
|
+
relationType: string;
|
|
564
|
+
isLocked: boolean;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
/**
|
|
568
|
+
* mira API
|
|
569
|
+
*
|
|
570
|
+
*
|
|
571
|
+
*
|
|
572
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
573
|
+
* https://openapi-generator.tech
|
|
574
|
+
* Do not edit the class manually.
|
|
575
|
+
*/
|
|
576
|
+
|
|
577
|
+
interface ItemRelationsWithMainItems {
|
|
578
|
+
mainItems: Array<MainItemBasic>;
|
|
579
|
+
relatedItems: Array<ItemRelation>;
|
|
580
|
+
relatedPersons: Array<ItemPersonRelation>;
|
|
581
|
+
relatedCharacters: Array<ItemCastCharacterRelation>;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
/**
|
|
585
|
+
* mira API
|
|
586
|
+
*
|
|
587
|
+
*
|
|
588
|
+
*
|
|
589
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
590
|
+
* https://openapi-generator.tech
|
|
591
|
+
* Do not edit the class manually.
|
|
592
|
+
*/
|
|
593
|
+
|
|
594
|
+
interface ListFavoritesResponse {
|
|
595
|
+
/**
|
|
596
|
+
* a list of Favorite
|
|
597
|
+
*/
|
|
598
|
+
data: Array<Favorite>;
|
|
599
|
+
/**
|
|
600
|
+
* total number of the result
|
|
601
|
+
*/
|
|
602
|
+
total: number;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
/**
|
|
606
|
+
* mira API
|
|
607
|
+
*
|
|
608
|
+
*
|
|
609
|
+
*
|
|
610
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
611
|
+
* https://openapi-generator.tech
|
|
612
|
+
* Do not edit the class manually.
|
|
613
|
+
*/
|
|
614
|
+
|
|
615
|
+
interface ListMainItemResponse {
|
|
616
|
+
/**
|
|
617
|
+
* a list of MainItems
|
|
618
|
+
*/
|
|
619
|
+
data: Array<MainItem>;
|
|
620
|
+
/**
|
|
621
|
+
* total number of the result
|
|
622
|
+
*/
|
|
623
|
+
total: number;
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
/**
|
|
627
|
+
* mira API
|
|
628
|
+
*
|
|
629
|
+
*
|
|
630
|
+
*
|
|
631
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
632
|
+
* https://openapi-generator.tech
|
|
633
|
+
* Do not edit the class manually.
|
|
634
|
+
*/
|
|
635
|
+
|
|
636
|
+
interface SubItemFavorite {
|
|
637
|
+
id: string;
|
|
638
|
+
subItem?: SubItem;
|
|
639
|
+
userId: string;
|
|
640
|
+
itemId: string;
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
/**
|
|
644
|
+
* mira API
|
|
645
|
+
*
|
|
646
|
+
*
|
|
647
|
+
*
|
|
648
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
649
|
+
* https://openapi-generator.tech
|
|
650
|
+
* Do not edit the class manually.
|
|
651
|
+
*/
|
|
652
|
+
|
|
653
|
+
interface ListSubItemFavoriteResponse {
|
|
654
|
+
data: Array<SubItemFavorite>;
|
|
655
|
+
/**
|
|
656
|
+
* total number of the result, if itemId is provided, this field will not available
|
|
657
|
+
*/
|
|
658
|
+
total?: number;
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
/**
|
|
662
|
+
* mira API
|
|
663
|
+
*
|
|
664
|
+
*
|
|
665
|
+
*
|
|
666
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
667
|
+
* https://openapi-generator.tech
|
|
668
|
+
* Do not edit the class manually.
|
|
669
|
+
*/
|
|
670
|
+
|
|
671
|
+
interface PatchFavoriteBody {
|
|
672
|
+
status: FavoriteStatus;
|
|
673
|
+
reviewComment?: string;
|
|
674
|
+
rating?: number;
|
|
675
|
+
}
|
|
676
|
+
declare namespace PatchFavoriteBody {
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
/**
|
|
680
|
+
* mira API
|
|
681
|
+
*
|
|
682
|
+
*
|
|
683
|
+
*
|
|
684
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
685
|
+
* https://openapi-generator.tech
|
|
686
|
+
* Do not edit the class manually.
|
|
687
|
+
*/
|
|
688
|
+
|
|
689
|
+
interface PersonRelationsWithMainItems {
|
|
690
|
+
mainItems: Array<MainItemBasic>;
|
|
691
|
+
relatedItems: Array<ItemPersonRelation>;
|
|
692
|
+
relatedCharacters: Array<ItemCastCharacterRelation>;
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
/**
|
|
696
|
+
* mira API
|
|
697
|
+
*
|
|
698
|
+
*
|
|
699
|
+
*
|
|
700
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
701
|
+
* https://openapi-generator.tech
|
|
702
|
+
* Do not edit the class manually.
|
|
703
|
+
*/
|
|
704
|
+
interface SucceedEmptyResponse {
|
|
705
|
+
message: string;
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
/**
|
|
709
|
+
* mira API
|
|
710
|
+
*
|
|
711
|
+
*
|
|
712
|
+
*
|
|
713
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
714
|
+
* https://openapi-generator.tech
|
|
715
|
+
* Do not edit the class manually.
|
|
716
|
+
*/
|
|
717
|
+
interface SyncFavoritesRequestBodyFavoritesInner {
|
|
718
|
+
itemId: string;
|
|
719
|
+
status: string;
|
|
720
|
+
subFavorites: Array<string>;
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
/**
|
|
724
|
+
* mira API
|
|
725
|
+
*
|
|
726
|
+
*
|
|
727
|
+
*
|
|
728
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
729
|
+
* https://openapi-generator.tech
|
|
730
|
+
* Do not edit the class manually.
|
|
731
|
+
*/
|
|
732
|
+
|
|
733
|
+
interface SyncFavoritesRequestBody {
|
|
734
|
+
favorites: Array<SyncFavoritesRequestBodyFavoritesInner>;
|
|
735
|
+
overrideOnConflict?: boolean;
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
/**
|
|
739
|
+
* mira API
|
|
740
|
+
*
|
|
741
|
+
*
|
|
742
|
+
*
|
|
743
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
744
|
+
* https://openapi-generator.tech
|
|
745
|
+
* Do not edit the class manually.
|
|
746
|
+
*/
|
|
747
|
+
|
|
748
|
+
interface SyncFavoritesResponse {
|
|
749
|
+
favorites?: Array<Favorite>;
|
|
750
|
+
subItemFavorites?: Array<SubItemFavorite>;
|
|
751
|
+
deletedItemIds?: Array<string>;
|
|
752
|
+
deletedSubItemIds?: Array<string>;
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
/**
|
|
756
|
+
* Standard parameter styles defined by OpenAPI spec
|
|
757
|
+
*/
|
|
758
|
+
type StandardParamStyle = 'matrix' | 'label' | 'form' | 'simple' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject';
|
|
759
|
+
/**
|
|
760
|
+
* The OpenAPI standard {@link StandardParamStyle}s may be extended by custom styles by the user.
|
|
761
|
+
*/
|
|
762
|
+
type ParamStyle = StandardParamStyle | string;
|
|
763
|
+
/**
|
|
764
|
+
* Standard parameter locations defined by OpenAPI spec
|
|
765
|
+
*/
|
|
766
|
+
type ParamLocation = 'query' | 'header' | 'path' | 'cookie';
|
|
767
|
+
/**
|
|
768
|
+
* Standard types as defined in <a href="https://swagger.io/specification/#data-types">OpenAPI Specification: Data Types</a>
|
|
769
|
+
*/
|
|
770
|
+
type StandardDataType = "integer" | "number" | "boolean" | "string" | "object" | "array";
|
|
771
|
+
/**
|
|
772
|
+
* Standard {@link DataType}s plus your own types/classes.
|
|
773
|
+
*/
|
|
774
|
+
type DataType = StandardDataType | string;
|
|
775
|
+
/**
|
|
776
|
+
* Standard formats as defined in <a href="https://swagger.io/specification/#data-types">OpenAPI Specification: Data Types</a>
|
|
777
|
+
*/
|
|
778
|
+
type StandardDataFormat = "int32" | "int64" | "float" | "double" | "byte" | "binary" | "date" | "date-time" | "password";
|
|
779
|
+
type DataFormat = StandardDataFormat | string;
|
|
780
|
+
/**
|
|
781
|
+
* The parameter to encode.
|
|
782
|
+
*/
|
|
783
|
+
interface Param {
|
|
784
|
+
name: string;
|
|
785
|
+
value: unknown;
|
|
786
|
+
in: ParamLocation;
|
|
787
|
+
style: ParamStyle;
|
|
788
|
+
explode: boolean;
|
|
789
|
+
dataType: DataType;
|
|
790
|
+
dataFormat: DataFormat | undefined;
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
declare enum QueryParamStyle {
|
|
794
|
+
Json = 0,
|
|
795
|
+
Form = 1,
|
|
796
|
+
DeepObject = 2,
|
|
797
|
+
SpaceDelimited = 3,
|
|
798
|
+
PipeDelimited = 4
|
|
799
|
+
}
|
|
800
|
+
type Delimiter = "," | " " | "|" | "\t";
|
|
801
|
+
interface ParamOptions {
|
|
802
|
+
/** When true, serialized as multiple repeated key=value pairs. When false, serialized as a single key with joined values using `delimiter`. */
|
|
803
|
+
explode?: boolean;
|
|
804
|
+
/** Delimiter used when explode=false. The delimiter itself is inserted unencoded between encoded values. */
|
|
805
|
+
delimiter?: Delimiter;
|
|
806
|
+
}
|
|
807
|
+
declare class OpenApiHttpParams {
|
|
808
|
+
private params;
|
|
809
|
+
private defaults;
|
|
810
|
+
private encoder;
|
|
811
|
+
/**
|
|
812
|
+
* @param encoder Parameter serializer
|
|
813
|
+
* @param defaults Global defaults used when a specific parameter has no explicit options.
|
|
814
|
+
* By OpenAPI default, explode is true for query params with style=form.
|
|
815
|
+
*/
|
|
816
|
+
constructor(encoder?: HttpParameterCodec, defaults?: {
|
|
817
|
+
explode?: boolean;
|
|
818
|
+
delimiter?: Delimiter;
|
|
819
|
+
});
|
|
820
|
+
private resolveOptions;
|
|
821
|
+
/**
|
|
822
|
+
* Replace the parameter's values and (optionally) its options.
|
|
823
|
+
* Options are stored per-parameter (not global).
|
|
824
|
+
*/
|
|
825
|
+
set(key: string, values: string[] | string, options?: ParamOptions): this;
|
|
826
|
+
/**
|
|
827
|
+
* Append a single value to the parameter. If the parameter didn't exist it will be created
|
|
828
|
+
* and use resolved options (global defaults merged with any provided options).
|
|
829
|
+
*/
|
|
830
|
+
append(key: string, value: string, options?: ParamOptions): this;
|
|
831
|
+
/**
|
|
832
|
+
* Serialize to a query string according to per-parameter OpenAPI options.
|
|
833
|
+
* - If explode=true for that parameter → repeated key=value pairs (each value encoded).
|
|
834
|
+
* - If explode=false for that parameter → single key=value where values are individually encoded
|
|
835
|
+
* and joined using the configured delimiter. The delimiter character is inserted AS-IS
|
|
836
|
+
* (not percent-encoded).
|
|
837
|
+
*/
|
|
838
|
+
toString(): string;
|
|
839
|
+
/**
|
|
840
|
+
* Return parameters as a plain record.
|
|
841
|
+
* - If a parameter has exactly one value, returns that value directly.
|
|
842
|
+
* - If a parameter has multiple values, returns a readonly array of values.
|
|
843
|
+
*/
|
|
844
|
+
toRecord(): Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
|
|
845
|
+
/**
|
|
846
|
+
* Return an Angular's HttpParams with an identity parameter codec as the parameters are already encoded.
|
|
847
|
+
*/
|
|
848
|
+
toHttpParams(): HttpParams;
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
interface MiraConfigurationParameters {
|
|
852
|
+
/**
|
|
853
|
+
* @deprecated Since 5.0. Use credentials instead
|
|
854
|
+
*/
|
|
855
|
+
apiKeys?: {
|
|
856
|
+
[key: string]: string;
|
|
857
|
+
};
|
|
858
|
+
username?: string;
|
|
859
|
+
password?: string;
|
|
860
|
+
/**
|
|
861
|
+
* @deprecated Since 5.0. Use credentials instead
|
|
862
|
+
*/
|
|
863
|
+
accessToken?: string | (() => string);
|
|
864
|
+
basePath?: string;
|
|
865
|
+
withCredentials?: boolean;
|
|
866
|
+
/**
|
|
867
|
+
* Takes care of encoding query- and form-parameters.
|
|
868
|
+
*/
|
|
869
|
+
encoder?: HttpParameterCodec;
|
|
870
|
+
/**
|
|
871
|
+
* Override the default method for encoding path parameters in various
|
|
872
|
+
* <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values">styles</a>.
|
|
873
|
+
* <p>
|
|
874
|
+
* See {@link README.md} for more details
|
|
875
|
+
* </p>
|
|
876
|
+
*/
|
|
877
|
+
encodeParam?: (param: Param) => string;
|
|
878
|
+
/**
|
|
879
|
+
* The keys are the names in the securitySchemes section of the OpenAPI
|
|
880
|
+
* document. They should map to the value used for authentication
|
|
881
|
+
* minus any standard prefixes such as 'Basic' or 'Bearer'.
|
|
882
|
+
*/
|
|
883
|
+
credentials?: {
|
|
884
|
+
[key: string]: string | (() => string | undefined);
|
|
885
|
+
};
|
|
886
|
+
}
|
|
887
|
+
declare class MiraConfiguration {
|
|
888
|
+
/**
|
|
889
|
+
* @deprecated Since 5.0. Use credentials instead
|
|
890
|
+
*/
|
|
891
|
+
apiKeys?: {
|
|
892
|
+
[key: string]: string;
|
|
893
|
+
};
|
|
894
|
+
username?: string;
|
|
895
|
+
password?: string;
|
|
896
|
+
/**
|
|
897
|
+
* @deprecated Since 5.0. Use credentials instead
|
|
898
|
+
*/
|
|
899
|
+
accessToken?: string | (() => string);
|
|
900
|
+
basePath?: string;
|
|
901
|
+
withCredentials?: boolean;
|
|
902
|
+
/**
|
|
903
|
+
* Takes care of encoding query- and form-parameters.
|
|
904
|
+
*/
|
|
905
|
+
encoder?: HttpParameterCodec;
|
|
906
|
+
/**
|
|
907
|
+
* Encoding of various path parameter
|
|
908
|
+
* <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values">styles</a>.
|
|
909
|
+
* <p>
|
|
910
|
+
* See {@link README.md} for more details
|
|
911
|
+
* </p>
|
|
912
|
+
*/
|
|
913
|
+
encodeParam: (param: Param) => string;
|
|
914
|
+
/**
|
|
915
|
+
* The keys are the names in the securitySchemes section of the OpenAPI
|
|
916
|
+
* document. They should map to the value used for authentication
|
|
917
|
+
* minus any standard prefixes such as 'Basic' or 'Bearer'.
|
|
918
|
+
*/
|
|
919
|
+
credentials: {
|
|
920
|
+
[key: string]: string | (() => string | undefined);
|
|
921
|
+
};
|
|
922
|
+
constructor({ accessToken, apiKeys, basePath, credentials, encodeParam, encoder, password, username, withCredentials }?: MiraConfigurationParameters);
|
|
923
|
+
/**
|
|
924
|
+
* Select the correct content-type to use for a request.
|
|
925
|
+
* Uses {@link MiraConfiguration#isJsonMime} to determine the correct content-type.
|
|
926
|
+
* If no content type is found return the first found type if the contentTypes is not empty
|
|
927
|
+
* @param contentTypes - the array of content types that are available for selection
|
|
928
|
+
* @returns the selected content-type or <code>undefined</code> if no selection could be made.
|
|
929
|
+
*/
|
|
930
|
+
selectHeaderContentType(contentTypes: string[]): string | undefined;
|
|
931
|
+
/**
|
|
932
|
+
* Select the correct accept content-type to use for a request.
|
|
933
|
+
* Uses {@link MiraConfiguration#isJsonMime} to determine the correct accept content-type.
|
|
934
|
+
* If no content type is found return the first found type if the contentTypes is not empty
|
|
935
|
+
* @param accepts - the array of content types that are available for selection.
|
|
936
|
+
* @returns the selected content-type or <code>undefined</code> if no selection could be made.
|
|
937
|
+
*/
|
|
938
|
+
selectHeaderAccept(accepts: string[]): string | undefined;
|
|
939
|
+
/**
|
|
940
|
+
* Check if the given MIME is a JSON MIME.
|
|
941
|
+
* JSON MIME examples:
|
|
942
|
+
* application/json
|
|
943
|
+
* application/json; charset=UTF8
|
|
944
|
+
* APPLICATION/JSON
|
|
945
|
+
* application/vnd.company+json
|
|
946
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
947
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
948
|
+
*/
|
|
949
|
+
isJsonMime(mime: string): boolean;
|
|
950
|
+
lookupCredential(key: string): string | undefined;
|
|
951
|
+
addCredentialToHeaders(credentialKey: string, headerName: string, headers: HttpHeaders, prefix?: string): HttpHeaders;
|
|
952
|
+
addCredentialToQuery(credentialKey: string, paramName: string, query: OpenApiHttpParams): OpenApiHttpParams;
|
|
953
|
+
private defaultEncodeParam;
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
/**
|
|
957
|
+
* mira API
|
|
958
|
+
*
|
|
959
|
+
*
|
|
960
|
+
*
|
|
961
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
962
|
+
* https://openapi-generator.tech
|
|
963
|
+
* Do not edit the class manually.
|
|
964
|
+
*/
|
|
965
|
+
|
|
966
|
+
declare class BaseService {
|
|
967
|
+
protected basePath: string;
|
|
968
|
+
defaultHeaders: HttpHeaders;
|
|
969
|
+
configuration: MiraConfiguration;
|
|
970
|
+
encoder: HttpParameterCodec;
|
|
971
|
+
constructor(basePath?: string | string[], configuration?: MiraConfiguration);
|
|
972
|
+
protected canConsumeForm(consumes: string[]): boolean;
|
|
973
|
+
protected addToHttpParams(httpParams: OpenApiHttpParams, key: string, value: any | null | undefined, paramStyle: QueryParamStyle, explode: boolean): OpenApiHttpParams;
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
/**
|
|
977
|
+
* mira API
|
|
978
|
+
*
|
|
979
|
+
*
|
|
980
|
+
*
|
|
981
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
982
|
+
* https://openapi-generator.tech
|
|
983
|
+
* Do not edit the class manually.
|
|
984
|
+
*/
|
|
985
|
+
interface ErrorResponse {
|
|
986
|
+
message?: string;
|
|
987
|
+
status?: number;
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
/**
|
|
991
|
+
* mira API
|
|
992
|
+
*
|
|
993
|
+
*
|
|
994
|
+
*
|
|
995
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
996
|
+
* https://openapi-generator.tech
|
|
997
|
+
* Do not edit the class manually.
|
|
998
|
+
*/
|
|
999
|
+
|
|
1000
|
+
interface ItemEntity {
|
|
1001
|
+
id: string;
|
|
1002
|
+
bgmId: number;
|
|
1003
|
+
/**
|
|
1004
|
+
* Not used for ItemType.Individual and ItemType.Character
|
|
1005
|
+
*/
|
|
1006
|
+
publicTime?: string;
|
|
1007
|
+
name?: string;
|
|
1008
|
+
nameCn?: string;
|
|
1009
|
+
properties: {
|
|
1010
|
+
[key: string]: PropertyValue;
|
|
1011
|
+
};
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
/**
|
|
1015
|
+
* mira API
|
|
1016
|
+
*
|
|
1017
|
+
*
|
|
1018
|
+
*
|
|
1019
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1020
|
+
* https://openapi-generator.tech
|
|
1021
|
+
* Do not edit the class manually.
|
|
1022
|
+
*/
|
|
1023
|
+
|
|
1024
|
+
interface DefaultMiraInterface {
|
|
1025
|
+
defaultHeaders: HttpHeaders;
|
|
1026
|
+
configuration: MiraConfiguration;
|
|
1027
|
+
/**
|
|
1028
|
+
*
|
|
1029
|
+
* Add ClientMapping
|
|
1030
|
+
* @endpoint post /client-mapping
|
|
1031
|
+
* @param request_body
|
|
1032
|
+
*/
|
|
1033
|
+
addClientMapping(request_body: Array<string>, extraHttpRequestParams?: any): Observable<ClientMapping>;
|
|
1034
|
+
/**
|
|
1035
|
+
*
|
|
1036
|
+
* get mainItems by id list
|
|
1037
|
+
* @endpoint post /client-mapping/batch/main
|
|
1038
|
+
* @param IdListRequestBody
|
|
1039
|
+
*/
|
|
1040
|
+
batchGetMainItemByIdList(IdListRequestBody: IdListRequestBody, extraHttpRequestParams?: any): Observable<BatchGetMainItemByIdListResult>;
|
|
1041
|
+
/**
|
|
1042
|
+
*
|
|
1043
|
+
* get SubItems by id list
|
|
1044
|
+
* @endpoint post /client-mapping/batch/subItem
|
|
1045
|
+
* @param IdListRequestBody
|
|
1046
|
+
*/
|
|
1047
|
+
batchGetSubItemsByIdList(IdListRequestBody: IdListRequestBody, extraHttpRequestParams?: any): Observable<BatchGetSubItemByIdListResult>;
|
|
1048
|
+
/**
|
|
1049
|
+
*
|
|
1050
|
+
* create a favorite for user and item
|
|
1051
|
+
* @endpoint post /favorite
|
|
1052
|
+
* @param Favorite
|
|
1053
|
+
*/
|
|
1054
|
+
createFavorite(Favorite: Favorite, extraHttpRequestParams?: any): Observable<Favorite>;
|
|
1055
|
+
/**
|
|
1056
|
+
*
|
|
1057
|
+
* create a SubItemFavorite
|
|
1058
|
+
* @endpoint post /favorite/sub
|
|
1059
|
+
* @param CreateSubItemFavoriteRequestBody
|
|
1060
|
+
*/
|
|
1061
|
+
createSubItemFavorite(CreateSubItemFavoriteRequestBody: CreateSubItemFavoriteRequestBody, extraHttpRequestParams?: any): Observable<SubItemFavorite>;
|
|
1062
|
+
/**
|
|
1063
|
+
*
|
|
1064
|
+
* Delete ClientMapping by MainItem id
|
|
1065
|
+
* @endpoint delete /client-mapping/main/{id}
|
|
1066
|
+
* @param id
|
|
1067
|
+
*/
|
|
1068
|
+
deleteClientMappingByMainItemId(id: string, extraHttpRequestParams?: any): Observable<DeleteClientMappingByMainItemResponse>;
|
|
1069
|
+
/**
|
|
1070
|
+
*
|
|
1071
|
+
* Delete a favorite
|
|
1072
|
+
* @endpoint delete /favorite/{id}
|
|
1073
|
+
* @param id
|
|
1074
|
+
*/
|
|
1075
|
+
deleteFavorite(id: string, extraHttpRequestParams?: any): Observable<SucceedEmptyResponse>;
|
|
1076
|
+
/**
|
|
1077
|
+
*
|
|
1078
|
+
* Delete a SubItemFavorite
|
|
1079
|
+
* @endpoint delete /favorite/sub/{id}
|
|
1080
|
+
* @param id
|
|
1081
|
+
*/
|
|
1082
|
+
deleteSubItemFavorite(id: string, extraHttpRequestParams?: any): Observable<SucceedEmptyResponse>;
|
|
1083
|
+
/**
|
|
1084
|
+
*
|
|
1085
|
+
* Get a favorite by id
|
|
1086
|
+
* @endpoint get /favorite/{id}
|
|
1087
|
+
* @param id
|
|
1088
|
+
*/
|
|
1089
|
+
getFavoriteById(id: string, extraHttpRequestParams?: any): Observable<GetFavoriteResponse>;
|
|
1090
|
+
/**
|
|
1091
|
+
*
|
|
1092
|
+
* get favorite by MainItem id
|
|
1093
|
+
* @endpoint get /favorite/main/{id}
|
|
1094
|
+
* @param id
|
|
1095
|
+
*/
|
|
1096
|
+
getFavoriteByMainItemId(id: string, extraHttpRequestParams?: any): Observable<Favorite>;
|
|
1097
|
+
/**
|
|
1098
|
+
*
|
|
1099
|
+
* get favorite progress (number of SubItemFavorite from the beginning) of a episode type for mainItem
|
|
1100
|
+
* @endpoint get /favorite/progress
|
|
1101
|
+
* @param mainItemId
|
|
1102
|
+
* @param epType
|
|
1103
|
+
*/
|
|
1104
|
+
getFavoriteProgressByMainItemId(mainItemId: string, epType: number, extraHttpRequestParams?: any): Observable<FavoriteProgress>;
|
|
1105
|
+
/**
|
|
1106
|
+
*
|
|
1107
|
+
* get a MainItem by id
|
|
1108
|
+
* @endpoint get /public/item/main/{id}
|
|
1109
|
+
* @param id MainItem id
|
|
1110
|
+
* @param coverImage populate coverImage if true
|
|
1111
|
+
* @param subItems populate subItems if true
|
|
1112
|
+
*/
|
|
1113
|
+
getMainItemById(id: string, coverImage?: string, subItems?: string, extraHttpRequestParams?: any): Observable<MainItem>;
|
|
1114
|
+
/**
|
|
1115
|
+
*
|
|
1116
|
+
* get all related (Item , Cast) MainItem of an Character Type MainItem.
|
|
1117
|
+
* @endpoint get /public/relation/character/{id}
|
|
1118
|
+
* @param id MainItem id
|
|
1119
|
+
*/
|
|
1120
|
+
getRelationsOfCharacter(id: string, extraHttpRequestParams?: any): Observable<CharacterRelationsWithMainItems>;
|
|
1121
|
+
/**
|
|
1122
|
+
*
|
|
1123
|
+
* get all related (Item, Staff, Cast, Character) MainItem of an Item Type MainItem.
|
|
1124
|
+
* @endpoint get /public/relation/item/{id}
|
|
1125
|
+
* @param id MainItem id
|
|
1126
|
+
*/
|
|
1127
|
+
getRelationsOfItem(id: string, extraHttpRequestParams?: any): Observable<ItemRelationsWithMainItems>;
|
|
1128
|
+
/**
|
|
1129
|
+
*
|
|
1130
|
+
* get all related (Item , Character) MainItem of an Person Type MainItem.
|
|
1131
|
+
* @endpoint get /public/relation/person/{id}
|
|
1132
|
+
* @param id MainItem id
|
|
1133
|
+
*/
|
|
1134
|
+
getRelationsOfPerson(id: string, extraHttpRequestParams?: any): Observable<PersonRelationsWithMainItems>;
|
|
1135
|
+
/**
|
|
1136
|
+
*
|
|
1137
|
+
* get a SubItem by id
|
|
1138
|
+
* @endpoint get /public/item/main/subItem/{id}
|
|
1139
|
+
* @param id SubItem Id
|
|
1140
|
+
*/
|
|
1141
|
+
getSubItemById(id: string, extraHttpRequestParams?: any): Observable<SubItem>;
|
|
1142
|
+
/**
|
|
1143
|
+
*
|
|
1144
|
+
* list favorites for user
|
|
1145
|
+
* @endpoint get /favorite
|
|
1146
|
+
* @param status
|
|
1147
|
+
* @param offset
|
|
1148
|
+
* @param limit
|
|
1149
|
+
* @param orderBy
|
|
1150
|
+
* @param sort
|
|
1151
|
+
*/
|
|
1152
|
+
listFavorites(status: string, offset?: number, limit?: number, orderBy?: string, sort?: string, extraHttpRequestParams?: any): Observable<ListFavoritesResponse>;
|
|
1153
|
+
/**
|
|
1154
|
+
*
|
|
1155
|
+
* list MainItems
|
|
1156
|
+
* @endpoint get /public/item/main
|
|
1157
|
+
* @param serviceClientId
|
|
1158
|
+
* @param mainType
|
|
1159
|
+
* @param type
|
|
1160
|
+
* @param subType
|
|
1161
|
+
* @param offset
|
|
1162
|
+
* @param limit
|
|
1163
|
+
* @param orderBy
|
|
1164
|
+
* @param sort
|
|
1165
|
+
* @param keyword
|
|
1166
|
+
*/
|
|
1167
|
+
listMainItems(serviceClientId?: string, mainType?: string, type?: string, subType?: string, offset?: number, limit?: number, orderBy?: string, sort?: string, keyword?: string, extraHttpRequestParams?: any): Observable<ListMainItemResponse>;
|
|
1168
|
+
/**
|
|
1169
|
+
*
|
|
1170
|
+
* list SubItemFavorite
|
|
1171
|
+
* @endpoint get /favorite/sub
|
|
1172
|
+
* @param itemId itemId of the SubItem, if provided then other parameters are ignored
|
|
1173
|
+
* @param offset
|
|
1174
|
+
* @param limit
|
|
1175
|
+
* @param orderBy
|
|
1176
|
+
* @param sort
|
|
1177
|
+
* @param subItem
|
|
1178
|
+
*/
|
|
1179
|
+
listSubItemFavorites(itemId?: string, offset?: number, limit?: number, orderBy?: string, sort?: string, subItem?: boolean, extraHttpRequestParams?: any): Observable<ListSubItemFavoriteResponse>;
|
|
1180
|
+
/**
|
|
1181
|
+
*
|
|
1182
|
+
* get a list of on air MainItems with cover image
|
|
1183
|
+
* @endpoint get /public/item/on-air
|
|
1184
|
+
* @param type type of MainItem, must be either anime or real
|
|
1185
|
+
*/
|
|
1186
|
+
onAirItem(type: string, extraHttpRequestParams?: any): Observable<GetOnAirItemListResponse>;
|
|
1187
|
+
/**
|
|
1188
|
+
*
|
|
1189
|
+
* change status of a favorite
|
|
1190
|
+
* @endpoint patch /favorite/{id}
|
|
1191
|
+
* @param id
|
|
1192
|
+
* @param PatchFavoriteBody
|
|
1193
|
+
*/
|
|
1194
|
+
patchFavorite(id: string, PatchFavoriteBody: PatchFavoriteBody, extraHttpRequestParams?: any): Observable<SucceedEmptyResponse>;
|
|
1195
|
+
/**
|
|
1196
|
+
*
|
|
1197
|
+
* predict Main Item names base on provided prefix
|
|
1198
|
+
* @endpoint get /public/item/predict
|
|
1199
|
+
* @param prefix start part of the name
|
|
1200
|
+
*/
|
|
1201
|
+
predictMainItemName(prefix: string, extraHttpRequestParams?: any): Observable<Array<string>>;
|
|
1202
|
+
/**
|
|
1203
|
+
*
|
|
1204
|
+
* Sync favorites from external source, merge with existing favorites
|
|
1205
|
+
* @endpoint post /favorite/sync
|
|
1206
|
+
* @param SyncFavoritesRequestBody
|
|
1207
|
+
*/
|
|
1208
|
+
syncFavorites(SyncFavoritesRequestBody: SyncFavoritesRequestBody, extraHttpRequestParams?: any): Observable<SyncFavoritesResponse>;
|
|
1209
|
+
/**
|
|
1210
|
+
*
|
|
1211
|
+
* update progress of a favorite, will create/delete SubItemFavorite
|
|
1212
|
+
* @endpoint post /favorite/progress
|
|
1213
|
+
* @param mainItemId
|
|
1214
|
+
* @param progress
|
|
1215
|
+
* @param epType
|
|
1216
|
+
*/
|
|
1217
|
+
updateFavoriteProgress(mainItemId: string, progress: number, epType: number, extraHttpRequestParams?: any): Observable<SucceedEmptyResponse>;
|
|
1218
|
+
}
|
|
1219
|
+
|
|
1220
|
+
declare class DefaultMira extends BaseService implements DefaultMiraInterface {
|
|
1221
|
+
protected httpClient: HttpClient;
|
|
1222
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: MiraConfiguration);
|
|
1223
|
+
/**
|
|
1224
|
+
* Add ClientMapping
|
|
1225
|
+
* @endpoint post /client-mapping
|
|
1226
|
+
* @param request_body
|
|
1227
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1228
|
+
* @param reportProgress flag to report request and response progress.
|
|
1229
|
+
* @param options additional options
|
|
1230
|
+
*/
|
|
1231
|
+
addClientMapping(request_body: Array<string>, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1232
|
+
httpHeaderAccept?: 'application/json';
|
|
1233
|
+
context?: HttpContext;
|
|
1234
|
+
transferCache?: boolean;
|
|
1235
|
+
}): Observable<ClientMapping>;
|
|
1236
|
+
addClientMapping(request_body: Array<string>, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1237
|
+
httpHeaderAccept?: 'application/json';
|
|
1238
|
+
context?: HttpContext;
|
|
1239
|
+
transferCache?: boolean;
|
|
1240
|
+
}): Observable<HttpResponse<ClientMapping>>;
|
|
1241
|
+
addClientMapping(request_body: Array<string>, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1242
|
+
httpHeaderAccept?: 'application/json';
|
|
1243
|
+
context?: HttpContext;
|
|
1244
|
+
transferCache?: boolean;
|
|
1245
|
+
}): Observable<HttpEvent<ClientMapping>>;
|
|
1246
|
+
/**
|
|
1247
|
+
* get mainItems by id list
|
|
1248
|
+
* @endpoint post /client-mapping/batch/main
|
|
1249
|
+
* @param IdListRequestBody
|
|
1250
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1251
|
+
* @param reportProgress flag to report request and response progress.
|
|
1252
|
+
* @param options additional options
|
|
1253
|
+
*/
|
|
1254
|
+
batchGetMainItemByIdList(IdListRequestBody: IdListRequestBody, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1255
|
+
httpHeaderAccept?: 'application/json';
|
|
1256
|
+
context?: HttpContext;
|
|
1257
|
+
transferCache?: boolean;
|
|
1258
|
+
}): Observable<BatchGetMainItemByIdListResult>;
|
|
1259
|
+
batchGetMainItemByIdList(IdListRequestBody: IdListRequestBody, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1260
|
+
httpHeaderAccept?: 'application/json';
|
|
1261
|
+
context?: HttpContext;
|
|
1262
|
+
transferCache?: boolean;
|
|
1263
|
+
}): Observable<HttpResponse<BatchGetMainItemByIdListResult>>;
|
|
1264
|
+
batchGetMainItemByIdList(IdListRequestBody: IdListRequestBody, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1265
|
+
httpHeaderAccept?: 'application/json';
|
|
1266
|
+
context?: HttpContext;
|
|
1267
|
+
transferCache?: boolean;
|
|
1268
|
+
}): Observable<HttpEvent<BatchGetMainItemByIdListResult>>;
|
|
1269
|
+
/**
|
|
1270
|
+
* get SubItems by id list
|
|
1271
|
+
* @endpoint post /client-mapping/batch/subItem
|
|
1272
|
+
* @param IdListRequestBody
|
|
1273
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1274
|
+
* @param reportProgress flag to report request and response progress.
|
|
1275
|
+
* @param options additional options
|
|
1276
|
+
*/
|
|
1277
|
+
batchGetSubItemsByIdList(IdListRequestBody: IdListRequestBody, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1278
|
+
httpHeaderAccept?: 'application/json';
|
|
1279
|
+
context?: HttpContext;
|
|
1280
|
+
transferCache?: boolean;
|
|
1281
|
+
}): Observable<BatchGetSubItemByIdListResult>;
|
|
1282
|
+
batchGetSubItemsByIdList(IdListRequestBody: IdListRequestBody, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1283
|
+
httpHeaderAccept?: 'application/json';
|
|
1284
|
+
context?: HttpContext;
|
|
1285
|
+
transferCache?: boolean;
|
|
1286
|
+
}): Observable<HttpResponse<BatchGetSubItemByIdListResult>>;
|
|
1287
|
+
batchGetSubItemsByIdList(IdListRequestBody: IdListRequestBody, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1288
|
+
httpHeaderAccept?: 'application/json';
|
|
1289
|
+
context?: HttpContext;
|
|
1290
|
+
transferCache?: boolean;
|
|
1291
|
+
}): Observable<HttpEvent<BatchGetSubItemByIdListResult>>;
|
|
1292
|
+
/**
|
|
1293
|
+
* create a favorite for user and item
|
|
1294
|
+
* @endpoint post /favorite
|
|
1295
|
+
* @param Favorite
|
|
1296
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1297
|
+
* @param reportProgress flag to report request and response progress.
|
|
1298
|
+
* @param options additional options
|
|
1299
|
+
*/
|
|
1300
|
+
createFavorite(Favorite: Favorite, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1301
|
+
httpHeaderAccept?: 'application/json';
|
|
1302
|
+
context?: HttpContext;
|
|
1303
|
+
transferCache?: boolean;
|
|
1304
|
+
}): Observable<Favorite>;
|
|
1305
|
+
createFavorite(Favorite: Favorite, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1306
|
+
httpHeaderAccept?: 'application/json';
|
|
1307
|
+
context?: HttpContext;
|
|
1308
|
+
transferCache?: boolean;
|
|
1309
|
+
}): Observable<HttpResponse<Favorite>>;
|
|
1310
|
+
createFavorite(Favorite: Favorite, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1311
|
+
httpHeaderAccept?: 'application/json';
|
|
1312
|
+
context?: HttpContext;
|
|
1313
|
+
transferCache?: boolean;
|
|
1314
|
+
}): Observable<HttpEvent<Favorite>>;
|
|
1315
|
+
/**
|
|
1316
|
+
* create a SubItemFavorite
|
|
1317
|
+
* @endpoint post /favorite/sub
|
|
1318
|
+
* @param CreateSubItemFavoriteRequestBody
|
|
1319
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1320
|
+
* @param reportProgress flag to report request and response progress.
|
|
1321
|
+
* @param options additional options
|
|
1322
|
+
*/
|
|
1323
|
+
createSubItemFavorite(CreateSubItemFavoriteRequestBody: CreateSubItemFavoriteRequestBody, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1324
|
+
httpHeaderAccept?: 'application/json';
|
|
1325
|
+
context?: HttpContext;
|
|
1326
|
+
transferCache?: boolean;
|
|
1327
|
+
}): Observable<SubItemFavorite>;
|
|
1328
|
+
createSubItemFavorite(CreateSubItemFavoriteRequestBody: CreateSubItemFavoriteRequestBody, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1329
|
+
httpHeaderAccept?: 'application/json';
|
|
1330
|
+
context?: HttpContext;
|
|
1331
|
+
transferCache?: boolean;
|
|
1332
|
+
}): Observable<HttpResponse<SubItemFavorite>>;
|
|
1333
|
+
createSubItemFavorite(CreateSubItemFavoriteRequestBody: CreateSubItemFavoriteRequestBody, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1334
|
+
httpHeaderAccept?: 'application/json';
|
|
1335
|
+
context?: HttpContext;
|
|
1336
|
+
transferCache?: boolean;
|
|
1337
|
+
}): Observable<HttpEvent<SubItemFavorite>>;
|
|
1338
|
+
/**
|
|
1339
|
+
* Delete ClientMapping by MainItem id
|
|
1340
|
+
* @endpoint delete /client-mapping/main/{id}
|
|
1341
|
+
* @param id
|
|
1342
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1343
|
+
* @param reportProgress flag to report request and response progress.
|
|
1344
|
+
* @param options additional options
|
|
1345
|
+
*/
|
|
1346
|
+
deleteClientMappingByMainItemId(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1347
|
+
httpHeaderAccept?: 'application/json';
|
|
1348
|
+
context?: HttpContext;
|
|
1349
|
+
transferCache?: boolean;
|
|
1350
|
+
}): Observable<DeleteClientMappingByMainItemResponse>;
|
|
1351
|
+
deleteClientMappingByMainItemId(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1352
|
+
httpHeaderAccept?: 'application/json';
|
|
1353
|
+
context?: HttpContext;
|
|
1354
|
+
transferCache?: boolean;
|
|
1355
|
+
}): Observable<HttpResponse<DeleteClientMappingByMainItemResponse>>;
|
|
1356
|
+
deleteClientMappingByMainItemId(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1357
|
+
httpHeaderAccept?: 'application/json';
|
|
1358
|
+
context?: HttpContext;
|
|
1359
|
+
transferCache?: boolean;
|
|
1360
|
+
}): Observable<HttpEvent<DeleteClientMappingByMainItemResponse>>;
|
|
1361
|
+
/**
|
|
1362
|
+
* Delete a favorite
|
|
1363
|
+
* @endpoint delete /favorite/{id}
|
|
1364
|
+
* @param id
|
|
1365
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1366
|
+
* @param reportProgress flag to report request and response progress.
|
|
1367
|
+
* @param options additional options
|
|
1368
|
+
*/
|
|
1369
|
+
deleteFavorite(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1370
|
+
httpHeaderAccept?: 'application/json';
|
|
1371
|
+
context?: HttpContext;
|
|
1372
|
+
transferCache?: boolean;
|
|
1373
|
+
}): Observable<SucceedEmptyResponse>;
|
|
1374
|
+
deleteFavorite(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1375
|
+
httpHeaderAccept?: 'application/json';
|
|
1376
|
+
context?: HttpContext;
|
|
1377
|
+
transferCache?: boolean;
|
|
1378
|
+
}): Observable<HttpResponse<SucceedEmptyResponse>>;
|
|
1379
|
+
deleteFavorite(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1380
|
+
httpHeaderAccept?: 'application/json';
|
|
1381
|
+
context?: HttpContext;
|
|
1382
|
+
transferCache?: boolean;
|
|
1383
|
+
}): Observable<HttpEvent<SucceedEmptyResponse>>;
|
|
1384
|
+
/**
|
|
1385
|
+
* Delete a SubItemFavorite
|
|
1386
|
+
* @endpoint delete /favorite/sub/{id}
|
|
1387
|
+
* @param id
|
|
1388
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1389
|
+
* @param reportProgress flag to report request and response progress.
|
|
1390
|
+
* @param options additional options
|
|
1391
|
+
*/
|
|
1392
|
+
deleteSubItemFavorite(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1393
|
+
httpHeaderAccept?: 'application/json';
|
|
1394
|
+
context?: HttpContext;
|
|
1395
|
+
transferCache?: boolean;
|
|
1396
|
+
}): Observable<SucceedEmptyResponse>;
|
|
1397
|
+
deleteSubItemFavorite(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1398
|
+
httpHeaderAccept?: 'application/json';
|
|
1399
|
+
context?: HttpContext;
|
|
1400
|
+
transferCache?: boolean;
|
|
1401
|
+
}): Observable<HttpResponse<SucceedEmptyResponse>>;
|
|
1402
|
+
deleteSubItemFavorite(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1403
|
+
httpHeaderAccept?: 'application/json';
|
|
1404
|
+
context?: HttpContext;
|
|
1405
|
+
transferCache?: boolean;
|
|
1406
|
+
}): Observable<HttpEvent<SucceedEmptyResponse>>;
|
|
1407
|
+
/**
|
|
1408
|
+
* Get a favorite by id
|
|
1409
|
+
* @endpoint get /favorite/{id}
|
|
1410
|
+
* @param id
|
|
1411
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1412
|
+
* @param reportProgress flag to report request and response progress.
|
|
1413
|
+
* @param options additional options
|
|
1414
|
+
*/
|
|
1415
|
+
getFavoriteById(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1416
|
+
httpHeaderAccept?: 'application/json';
|
|
1417
|
+
context?: HttpContext;
|
|
1418
|
+
transferCache?: boolean;
|
|
1419
|
+
}): Observable<GetFavoriteResponse>;
|
|
1420
|
+
getFavoriteById(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1421
|
+
httpHeaderAccept?: 'application/json';
|
|
1422
|
+
context?: HttpContext;
|
|
1423
|
+
transferCache?: boolean;
|
|
1424
|
+
}): Observable<HttpResponse<GetFavoriteResponse>>;
|
|
1425
|
+
getFavoriteById(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1426
|
+
httpHeaderAccept?: 'application/json';
|
|
1427
|
+
context?: HttpContext;
|
|
1428
|
+
transferCache?: boolean;
|
|
1429
|
+
}): Observable<HttpEvent<GetFavoriteResponse>>;
|
|
1430
|
+
/**
|
|
1431
|
+
* get favorite by MainItem id
|
|
1432
|
+
* @endpoint get /favorite/main/{id}
|
|
1433
|
+
* @param id
|
|
1434
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1435
|
+
* @param reportProgress flag to report request and response progress.
|
|
1436
|
+
* @param options additional options
|
|
1437
|
+
*/
|
|
1438
|
+
getFavoriteByMainItemId(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1439
|
+
httpHeaderAccept?: 'application/json';
|
|
1440
|
+
context?: HttpContext;
|
|
1441
|
+
transferCache?: boolean;
|
|
1442
|
+
}): Observable<Favorite>;
|
|
1443
|
+
getFavoriteByMainItemId(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1444
|
+
httpHeaderAccept?: 'application/json';
|
|
1445
|
+
context?: HttpContext;
|
|
1446
|
+
transferCache?: boolean;
|
|
1447
|
+
}): Observable<HttpResponse<Favorite>>;
|
|
1448
|
+
getFavoriteByMainItemId(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1449
|
+
httpHeaderAccept?: 'application/json';
|
|
1450
|
+
context?: HttpContext;
|
|
1451
|
+
transferCache?: boolean;
|
|
1452
|
+
}): Observable<HttpEvent<Favorite>>;
|
|
1453
|
+
/**
|
|
1454
|
+
* get favorite progress (number of SubItemFavorite from the beginning) of a episode type for mainItem
|
|
1455
|
+
* @endpoint get /favorite/progress
|
|
1456
|
+
* @param mainItemId
|
|
1457
|
+
* @param epType
|
|
1458
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1459
|
+
* @param reportProgress flag to report request and response progress.
|
|
1460
|
+
* @param options additional options
|
|
1461
|
+
*/
|
|
1462
|
+
getFavoriteProgressByMainItemId(mainItemId: string, epType: number, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1463
|
+
httpHeaderAccept?: 'application/json';
|
|
1464
|
+
context?: HttpContext;
|
|
1465
|
+
transferCache?: boolean;
|
|
1466
|
+
}): Observable<FavoriteProgress>;
|
|
1467
|
+
getFavoriteProgressByMainItemId(mainItemId: string, epType: number, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1468
|
+
httpHeaderAccept?: 'application/json';
|
|
1469
|
+
context?: HttpContext;
|
|
1470
|
+
transferCache?: boolean;
|
|
1471
|
+
}): Observable<HttpResponse<FavoriteProgress>>;
|
|
1472
|
+
getFavoriteProgressByMainItemId(mainItemId: string, epType: number, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1473
|
+
httpHeaderAccept?: 'application/json';
|
|
1474
|
+
context?: HttpContext;
|
|
1475
|
+
transferCache?: boolean;
|
|
1476
|
+
}): Observable<HttpEvent<FavoriteProgress>>;
|
|
1477
|
+
/**
|
|
1478
|
+
* get a MainItem by id
|
|
1479
|
+
* @endpoint get /public/item/main/{id}
|
|
1480
|
+
* @param id MainItem id
|
|
1481
|
+
* @param coverImage populate coverImage if true
|
|
1482
|
+
* @param subItems populate subItems if true
|
|
1483
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1484
|
+
* @param reportProgress flag to report request and response progress.
|
|
1485
|
+
* @param options additional options
|
|
1486
|
+
*/
|
|
1487
|
+
getMainItemById(id: string, coverImage?: string, subItems?: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1488
|
+
httpHeaderAccept?: 'application/json';
|
|
1489
|
+
context?: HttpContext;
|
|
1490
|
+
transferCache?: boolean;
|
|
1491
|
+
}): Observable<MainItem>;
|
|
1492
|
+
getMainItemById(id: string, coverImage?: string, subItems?: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1493
|
+
httpHeaderAccept?: 'application/json';
|
|
1494
|
+
context?: HttpContext;
|
|
1495
|
+
transferCache?: boolean;
|
|
1496
|
+
}): Observable<HttpResponse<MainItem>>;
|
|
1497
|
+
getMainItemById(id: string, coverImage?: string, subItems?: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1498
|
+
httpHeaderAccept?: 'application/json';
|
|
1499
|
+
context?: HttpContext;
|
|
1500
|
+
transferCache?: boolean;
|
|
1501
|
+
}): Observable<HttpEvent<MainItem>>;
|
|
1502
|
+
/**
|
|
1503
|
+
* get all related (Item , Cast) MainItem of an Character Type MainItem.
|
|
1504
|
+
* @endpoint get /public/relation/character/{id}
|
|
1505
|
+
* @param id MainItem id
|
|
1506
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1507
|
+
* @param reportProgress flag to report request and response progress.
|
|
1508
|
+
* @param options additional options
|
|
1509
|
+
*/
|
|
1510
|
+
getRelationsOfCharacter(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1511
|
+
httpHeaderAccept?: 'application/json';
|
|
1512
|
+
context?: HttpContext;
|
|
1513
|
+
transferCache?: boolean;
|
|
1514
|
+
}): Observable<CharacterRelationsWithMainItems>;
|
|
1515
|
+
getRelationsOfCharacter(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1516
|
+
httpHeaderAccept?: 'application/json';
|
|
1517
|
+
context?: HttpContext;
|
|
1518
|
+
transferCache?: boolean;
|
|
1519
|
+
}): Observable<HttpResponse<CharacterRelationsWithMainItems>>;
|
|
1520
|
+
getRelationsOfCharacter(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1521
|
+
httpHeaderAccept?: 'application/json';
|
|
1522
|
+
context?: HttpContext;
|
|
1523
|
+
transferCache?: boolean;
|
|
1524
|
+
}): Observable<HttpEvent<CharacterRelationsWithMainItems>>;
|
|
1525
|
+
/**
|
|
1526
|
+
* get all related (Item, Staff, Cast, Character) MainItem of an Item Type MainItem.
|
|
1527
|
+
* @endpoint get /public/relation/item/{id}
|
|
1528
|
+
* @param id MainItem id
|
|
1529
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1530
|
+
* @param reportProgress flag to report request and response progress.
|
|
1531
|
+
* @param options additional options
|
|
1532
|
+
*/
|
|
1533
|
+
getRelationsOfItem(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1534
|
+
httpHeaderAccept?: 'application/json';
|
|
1535
|
+
context?: HttpContext;
|
|
1536
|
+
transferCache?: boolean;
|
|
1537
|
+
}): Observable<ItemRelationsWithMainItems>;
|
|
1538
|
+
getRelationsOfItem(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1539
|
+
httpHeaderAccept?: 'application/json';
|
|
1540
|
+
context?: HttpContext;
|
|
1541
|
+
transferCache?: boolean;
|
|
1542
|
+
}): Observable<HttpResponse<ItemRelationsWithMainItems>>;
|
|
1543
|
+
getRelationsOfItem(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1544
|
+
httpHeaderAccept?: 'application/json';
|
|
1545
|
+
context?: HttpContext;
|
|
1546
|
+
transferCache?: boolean;
|
|
1547
|
+
}): Observable<HttpEvent<ItemRelationsWithMainItems>>;
|
|
1548
|
+
/**
|
|
1549
|
+
* get all related (Item , Character) MainItem of an Person Type MainItem.
|
|
1550
|
+
* @endpoint get /public/relation/person/{id}
|
|
1551
|
+
* @param id MainItem id
|
|
1552
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1553
|
+
* @param reportProgress flag to report request and response progress.
|
|
1554
|
+
* @param options additional options
|
|
1555
|
+
*/
|
|
1556
|
+
getRelationsOfPerson(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1557
|
+
httpHeaderAccept?: 'application/json';
|
|
1558
|
+
context?: HttpContext;
|
|
1559
|
+
transferCache?: boolean;
|
|
1560
|
+
}): Observable<PersonRelationsWithMainItems>;
|
|
1561
|
+
getRelationsOfPerson(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1562
|
+
httpHeaderAccept?: 'application/json';
|
|
1563
|
+
context?: HttpContext;
|
|
1564
|
+
transferCache?: boolean;
|
|
1565
|
+
}): Observable<HttpResponse<PersonRelationsWithMainItems>>;
|
|
1566
|
+
getRelationsOfPerson(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1567
|
+
httpHeaderAccept?: 'application/json';
|
|
1568
|
+
context?: HttpContext;
|
|
1569
|
+
transferCache?: boolean;
|
|
1570
|
+
}): Observable<HttpEvent<PersonRelationsWithMainItems>>;
|
|
1571
|
+
/**
|
|
1572
|
+
* get a SubItem by id
|
|
1573
|
+
* @endpoint get /public/item/main/subItem/{id}
|
|
1574
|
+
* @param id SubItem Id
|
|
1575
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1576
|
+
* @param reportProgress flag to report request and response progress.
|
|
1577
|
+
* @param options additional options
|
|
1578
|
+
*/
|
|
1579
|
+
getSubItemById(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1580
|
+
httpHeaderAccept?: 'application/json';
|
|
1581
|
+
context?: HttpContext;
|
|
1582
|
+
transferCache?: boolean;
|
|
1583
|
+
}): Observable<SubItem>;
|
|
1584
|
+
getSubItemById(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1585
|
+
httpHeaderAccept?: 'application/json';
|
|
1586
|
+
context?: HttpContext;
|
|
1587
|
+
transferCache?: boolean;
|
|
1588
|
+
}): Observable<HttpResponse<SubItem>>;
|
|
1589
|
+
getSubItemById(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1590
|
+
httpHeaderAccept?: 'application/json';
|
|
1591
|
+
context?: HttpContext;
|
|
1592
|
+
transferCache?: boolean;
|
|
1593
|
+
}): Observable<HttpEvent<SubItem>>;
|
|
1594
|
+
/**
|
|
1595
|
+
* list favorites for user
|
|
1596
|
+
* @endpoint get /favorite
|
|
1597
|
+
* @param status
|
|
1598
|
+
* @param offset
|
|
1599
|
+
* @param limit
|
|
1600
|
+
* @param orderBy
|
|
1601
|
+
* @param sort
|
|
1602
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1603
|
+
* @param reportProgress flag to report request and response progress.
|
|
1604
|
+
* @param options additional options
|
|
1605
|
+
*/
|
|
1606
|
+
listFavorites(status: string, offset?: number, limit?: number, orderBy?: string, sort?: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1607
|
+
httpHeaderAccept?: 'application/json';
|
|
1608
|
+
context?: HttpContext;
|
|
1609
|
+
transferCache?: boolean;
|
|
1610
|
+
}): Observable<ListFavoritesResponse>;
|
|
1611
|
+
listFavorites(status: string, offset?: number, limit?: number, orderBy?: string, sort?: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1612
|
+
httpHeaderAccept?: 'application/json';
|
|
1613
|
+
context?: HttpContext;
|
|
1614
|
+
transferCache?: boolean;
|
|
1615
|
+
}): Observable<HttpResponse<ListFavoritesResponse>>;
|
|
1616
|
+
listFavorites(status: string, offset?: number, limit?: number, orderBy?: string, sort?: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1617
|
+
httpHeaderAccept?: 'application/json';
|
|
1618
|
+
context?: HttpContext;
|
|
1619
|
+
transferCache?: boolean;
|
|
1620
|
+
}): Observable<HttpEvent<ListFavoritesResponse>>;
|
|
1621
|
+
/**
|
|
1622
|
+
* list MainItems
|
|
1623
|
+
* @endpoint get /public/item/main
|
|
1624
|
+
* @param serviceClientId
|
|
1625
|
+
* @param mainType
|
|
1626
|
+
* @param type
|
|
1627
|
+
* @param subType
|
|
1628
|
+
* @param offset
|
|
1629
|
+
* @param limit
|
|
1630
|
+
* @param orderBy
|
|
1631
|
+
* @param sort
|
|
1632
|
+
* @param keyword
|
|
1633
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1634
|
+
* @param reportProgress flag to report request and response progress.
|
|
1635
|
+
* @param options additional options
|
|
1636
|
+
*/
|
|
1637
|
+
listMainItems(serviceClientId?: string, mainType?: string, type?: string, subType?: string, offset?: number, limit?: number, orderBy?: string, sort?: string, keyword?: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1638
|
+
httpHeaderAccept?: 'application/json';
|
|
1639
|
+
context?: HttpContext;
|
|
1640
|
+
transferCache?: boolean;
|
|
1641
|
+
}): Observable<ListMainItemResponse>;
|
|
1642
|
+
listMainItems(serviceClientId?: string, mainType?: string, type?: string, subType?: string, offset?: number, limit?: number, orderBy?: string, sort?: string, keyword?: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1643
|
+
httpHeaderAccept?: 'application/json';
|
|
1644
|
+
context?: HttpContext;
|
|
1645
|
+
transferCache?: boolean;
|
|
1646
|
+
}): Observable<HttpResponse<ListMainItemResponse>>;
|
|
1647
|
+
listMainItems(serviceClientId?: string, mainType?: string, type?: string, subType?: string, offset?: number, limit?: number, orderBy?: string, sort?: string, keyword?: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1648
|
+
httpHeaderAccept?: 'application/json';
|
|
1649
|
+
context?: HttpContext;
|
|
1650
|
+
transferCache?: boolean;
|
|
1651
|
+
}): Observable<HttpEvent<ListMainItemResponse>>;
|
|
1652
|
+
/**
|
|
1653
|
+
* list SubItemFavorite
|
|
1654
|
+
* @endpoint get /favorite/sub
|
|
1655
|
+
* @param itemId itemId of the SubItem, if provided then other parameters are ignored
|
|
1656
|
+
* @param offset
|
|
1657
|
+
* @param limit
|
|
1658
|
+
* @param orderBy
|
|
1659
|
+
* @param sort
|
|
1660
|
+
* @param subItem
|
|
1661
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1662
|
+
* @param reportProgress flag to report request and response progress.
|
|
1663
|
+
* @param options additional options
|
|
1664
|
+
*/
|
|
1665
|
+
listSubItemFavorites(itemId?: string, offset?: number, limit?: number, orderBy?: string, sort?: string, subItem?: boolean, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1666
|
+
httpHeaderAccept?: 'application/json';
|
|
1667
|
+
context?: HttpContext;
|
|
1668
|
+
transferCache?: boolean;
|
|
1669
|
+
}): Observable<ListSubItemFavoriteResponse>;
|
|
1670
|
+
listSubItemFavorites(itemId?: string, offset?: number, limit?: number, orderBy?: string, sort?: string, subItem?: boolean, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1671
|
+
httpHeaderAccept?: 'application/json';
|
|
1672
|
+
context?: HttpContext;
|
|
1673
|
+
transferCache?: boolean;
|
|
1674
|
+
}): Observable<HttpResponse<ListSubItemFavoriteResponse>>;
|
|
1675
|
+
listSubItemFavorites(itemId?: string, offset?: number, limit?: number, orderBy?: string, sort?: string, subItem?: boolean, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1676
|
+
httpHeaderAccept?: 'application/json';
|
|
1677
|
+
context?: HttpContext;
|
|
1678
|
+
transferCache?: boolean;
|
|
1679
|
+
}): Observable<HttpEvent<ListSubItemFavoriteResponse>>;
|
|
1680
|
+
/**
|
|
1681
|
+
* get a list of on air MainItems with cover image
|
|
1682
|
+
* @endpoint get /public/item/on-air
|
|
1683
|
+
* @param type type of MainItem, must be either anime or real
|
|
1684
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1685
|
+
* @param reportProgress flag to report request and response progress.
|
|
1686
|
+
* @param options additional options
|
|
1687
|
+
*/
|
|
1688
|
+
onAirItem(type: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1689
|
+
httpHeaderAccept?: 'application/json';
|
|
1690
|
+
context?: HttpContext;
|
|
1691
|
+
transferCache?: boolean;
|
|
1692
|
+
}): Observable<GetOnAirItemListResponse>;
|
|
1693
|
+
onAirItem(type: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1694
|
+
httpHeaderAccept?: 'application/json';
|
|
1695
|
+
context?: HttpContext;
|
|
1696
|
+
transferCache?: boolean;
|
|
1697
|
+
}): Observable<HttpResponse<GetOnAirItemListResponse>>;
|
|
1698
|
+
onAirItem(type: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1699
|
+
httpHeaderAccept?: 'application/json';
|
|
1700
|
+
context?: HttpContext;
|
|
1701
|
+
transferCache?: boolean;
|
|
1702
|
+
}): Observable<HttpEvent<GetOnAirItemListResponse>>;
|
|
1703
|
+
/**
|
|
1704
|
+
* change status of a favorite
|
|
1705
|
+
* @endpoint patch /favorite/{id}
|
|
1706
|
+
* @param id
|
|
1707
|
+
* @param PatchFavoriteBody
|
|
1708
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1709
|
+
* @param reportProgress flag to report request and response progress.
|
|
1710
|
+
* @param options additional options
|
|
1711
|
+
*/
|
|
1712
|
+
patchFavorite(id: string, PatchFavoriteBody: PatchFavoriteBody, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1713
|
+
httpHeaderAccept?: 'application/json';
|
|
1714
|
+
context?: HttpContext;
|
|
1715
|
+
transferCache?: boolean;
|
|
1716
|
+
}): Observable<SucceedEmptyResponse>;
|
|
1717
|
+
patchFavorite(id: string, PatchFavoriteBody: PatchFavoriteBody, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1718
|
+
httpHeaderAccept?: 'application/json';
|
|
1719
|
+
context?: HttpContext;
|
|
1720
|
+
transferCache?: boolean;
|
|
1721
|
+
}): Observable<HttpResponse<SucceedEmptyResponse>>;
|
|
1722
|
+
patchFavorite(id: string, PatchFavoriteBody: PatchFavoriteBody, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1723
|
+
httpHeaderAccept?: 'application/json';
|
|
1724
|
+
context?: HttpContext;
|
|
1725
|
+
transferCache?: boolean;
|
|
1726
|
+
}): Observable<HttpEvent<SucceedEmptyResponse>>;
|
|
1727
|
+
/**
|
|
1728
|
+
* predict Main Item names base on provided prefix
|
|
1729
|
+
* @endpoint get /public/item/predict
|
|
1730
|
+
* @param prefix start part of the name
|
|
1731
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1732
|
+
* @param reportProgress flag to report request and response progress.
|
|
1733
|
+
* @param options additional options
|
|
1734
|
+
*/
|
|
1735
|
+
predictMainItemName(prefix: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1736
|
+
httpHeaderAccept?: 'application/json';
|
|
1737
|
+
context?: HttpContext;
|
|
1738
|
+
transferCache?: boolean;
|
|
1739
|
+
}): Observable<Array<string>>;
|
|
1740
|
+
predictMainItemName(prefix: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1741
|
+
httpHeaderAccept?: 'application/json';
|
|
1742
|
+
context?: HttpContext;
|
|
1743
|
+
transferCache?: boolean;
|
|
1744
|
+
}): Observable<HttpResponse<Array<string>>>;
|
|
1745
|
+
predictMainItemName(prefix: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1746
|
+
httpHeaderAccept?: 'application/json';
|
|
1747
|
+
context?: HttpContext;
|
|
1748
|
+
transferCache?: boolean;
|
|
1749
|
+
}): Observable<HttpEvent<Array<string>>>;
|
|
1750
|
+
/**
|
|
1751
|
+
* Sync favorites from external source, merge with existing favorites
|
|
1752
|
+
* @endpoint post /favorite/sync
|
|
1753
|
+
* @param SyncFavoritesRequestBody
|
|
1754
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1755
|
+
* @param reportProgress flag to report request and response progress.
|
|
1756
|
+
* @param options additional options
|
|
1757
|
+
*/
|
|
1758
|
+
syncFavorites(SyncFavoritesRequestBody: SyncFavoritesRequestBody, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1759
|
+
httpHeaderAccept?: 'application/json';
|
|
1760
|
+
context?: HttpContext;
|
|
1761
|
+
transferCache?: boolean;
|
|
1762
|
+
}): Observable<SyncFavoritesResponse>;
|
|
1763
|
+
syncFavorites(SyncFavoritesRequestBody: SyncFavoritesRequestBody, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1764
|
+
httpHeaderAccept?: 'application/json';
|
|
1765
|
+
context?: HttpContext;
|
|
1766
|
+
transferCache?: boolean;
|
|
1767
|
+
}): Observable<HttpResponse<SyncFavoritesResponse>>;
|
|
1768
|
+
syncFavorites(SyncFavoritesRequestBody: SyncFavoritesRequestBody, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1769
|
+
httpHeaderAccept?: 'application/json';
|
|
1770
|
+
context?: HttpContext;
|
|
1771
|
+
transferCache?: boolean;
|
|
1772
|
+
}): Observable<HttpEvent<SyncFavoritesResponse>>;
|
|
1773
|
+
/**
|
|
1774
|
+
* update progress of a favorite, will create/delete SubItemFavorite
|
|
1775
|
+
* @endpoint post /favorite/progress
|
|
1776
|
+
* @param mainItemId
|
|
1777
|
+
* @param progress
|
|
1778
|
+
* @param epType
|
|
1779
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1780
|
+
* @param reportProgress flag to report request and response progress.
|
|
1781
|
+
* @param options additional options
|
|
1782
|
+
*/
|
|
1783
|
+
updateFavoriteProgress(mainItemId: string, progress: number, epType: number, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1784
|
+
httpHeaderAccept?: 'application/json';
|
|
1785
|
+
context?: HttpContext;
|
|
1786
|
+
transferCache?: boolean;
|
|
1787
|
+
}): Observable<SucceedEmptyResponse>;
|
|
1788
|
+
updateFavoriteProgress(mainItemId: string, progress: number, epType: number, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1789
|
+
httpHeaderAccept?: 'application/json';
|
|
1790
|
+
context?: HttpContext;
|
|
1791
|
+
transferCache?: boolean;
|
|
1792
|
+
}): Observable<HttpResponse<SucceedEmptyResponse>>;
|
|
1793
|
+
updateFavoriteProgress(mainItemId: string, progress: number, epType: number, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1794
|
+
httpHeaderAccept?: 'application/json';
|
|
1795
|
+
context?: HttpContext;
|
|
1796
|
+
transferCache?: boolean;
|
|
1797
|
+
}): Observable<HttpEvent<SucceedEmptyResponse>>;
|
|
1798
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DefaultMira, [null, { optional: true; }, { optional: true; }]>;
|
|
1799
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DefaultMira>;
|
|
1800
|
+
}
|
|
1801
|
+
|
|
1802
|
+
declare const APIS: (typeof DefaultMira)[];
|
|
1803
|
+
|
|
1804
|
+
declare const BASE_PATH: InjectionToken<string>;
|
|
1805
|
+
declare const COLLECTION_FORMATS: {
|
|
1806
|
+
csv: string;
|
|
1807
|
+
tsv: string;
|
|
1808
|
+
ssv: string;
|
|
1809
|
+
pipes: string;
|
|
1810
|
+
};
|
|
1811
|
+
|
|
1812
|
+
declare class MiraApiModule {
|
|
1813
|
+
static forRoot(configurationFactory: () => MiraConfiguration): ModuleWithProviders<MiraApiModule>;
|
|
1814
|
+
constructor(parentModule: MiraApiModule, http: HttpClient);
|
|
1815
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MiraApiModule, [{ optional: true; skipSelf: true; }, { optional: true; }]>;
|
|
1816
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MiraApiModule, never, never, never>;
|
|
1817
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MiraApiModule>;
|
|
1818
|
+
}
|
|
1819
|
+
|
|
1820
|
+
declare function provideApi(configOrBasePath: string | MiraConfigurationParameters): EnvironmentProviders;
|
|
1821
|
+
|
|
1822
|
+
export { APIS, BASE_PATH, COLLECTION_FORMATS, DefaultMira, Favorite, FavoriteStatus, ItemSubType, ItemType, MainItem, MainItemBasic, MainType, MiraApiModule, MiraConfiguration, OnAirItem, PatchFavoriteBody, PropertyType, PropertyValue, SubItem, provideApi };
|
|
1823
|
+
export type { BatchGetMainItemByIdListResult, BatchGetSubItemByIdListResult, CharacterRelationsWithMainItems, ClientMapping, CreateSubItemFavoriteRequestBody, DataFormat, DataType, DefaultMiraInterface, DeleteClientMappingByMainItemResponse, ErrorResponse, FavoriteProgress, GetFavoriteResponse, GetOnAirItemListResponse, IdListRequestBody, ImageInfo, ItemCastCharacterRelation, ItemEntity, ItemPersonRelation, ItemRelation, ItemRelationsWithMainItems, ListFavoritesResponse, ListMainItemResponse, ListSubItemFavoriteResponse, MiraConfigurationParameters, Param, ParamLocation, ParamStyle, PersonRelationsWithMainItems, PropertyValueValue, StandardDataFormat, StandardDataType, StandardParamStyle, SubItemFavorite, SucceedEmptyResponse, SyncFavoritesRequestBody, SyncFavoritesRequestBodyFavoritesInner, SyncFavoritesResponse };
|