@irohalab/mira-sdk-angular 1.15.0 → 2.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/index.d.ts +1823 -7
- package/package.json +3 -3
- 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/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
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@irohalab/mira-sdk-angular",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/common": "^
|
|
6
|
-
"@angular/core": "^
|
|
5
|
+
"@angular/common": "^20.3.23",
|
|
6
|
+
"@angular/core": "^20.3.23"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"tslib": "^2.3.0"
|
package/api/api.d.ts
DELETED
package/api/default.service.d.ts
DELETED
|
@@ -1,610 +0,0 @@
|
|
|
1
|
-
import { HttpClient, HttpResponse, HttpEvent, HttpContext } from '@angular/common/http';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { BatchGetMainItemByIdListResult } from '../model/batchGetMainItemByIdListResult';
|
|
4
|
-
import { BatchGetSubItemByIdListResult } from '../model/batchGetSubItemByIdListResult';
|
|
5
|
-
import { CharacterRelationsWithMainItems } from '../model/characterRelationsWithMainItems';
|
|
6
|
-
import { ClientMapping } from '../model/clientMapping';
|
|
7
|
-
import { CreateSubItemFavoriteRequestBody } from '../model/createSubItemFavoriteRequestBody';
|
|
8
|
-
import { DeleteClientMappingByMainItemResponse } from '../model/deleteClientMappingByMainItemResponse';
|
|
9
|
-
import { Favorite } from '../model/favorite';
|
|
10
|
-
import { FavoriteProgress } from '../model/favoriteProgress';
|
|
11
|
-
import { GetFavoriteResponse } from '../model/getFavoriteResponse';
|
|
12
|
-
import { GetOnAirItemListResponse } from '../model/getOnAirItemListResponse';
|
|
13
|
-
import { IdListRequestBody } from '../model/idListRequestBody';
|
|
14
|
-
import { ItemRelationsWithMainItems } from '../model/itemRelationsWithMainItems';
|
|
15
|
-
import { ListFavoritesResponse } from '../model/listFavoritesResponse';
|
|
16
|
-
import { ListMainItemResponse } from '../model/listMainItemResponse';
|
|
17
|
-
import { ListSubItemFavoriteResponse } from '../model/listSubItemFavoriteResponse';
|
|
18
|
-
import { MainItem } from '../model/mainItem';
|
|
19
|
-
import { PatchFavoriteBody } from '../model/patchFavoriteBody';
|
|
20
|
-
import { PersonRelationsWithMainItems } from '../model/personRelationsWithMainItems';
|
|
21
|
-
import { SubItem } from '../model/subItem';
|
|
22
|
-
import { SubItemFavorite } from '../model/subItemFavorite';
|
|
23
|
-
import { SucceedEmptyResponse } from '../model/succeedEmptyResponse';
|
|
24
|
-
import { SyncFavoritesRequestBody } from '../model/syncFavoritesRequestBody';
|
|
25
|
-
import { SyncFavoritesResponse } from '../model/syncFavoritesResponse';
|
|
26
|
-
import { MiraConfiguration } from '../configuration';
|
|
27
|
-
import { BaseService } from '../api.base.service';
|
|
28
|
-
import { DefaultMiraInterface } from './default.serviceInterface';
|
|
29
|
-
import * as i0 from "@angular/core";
|
|
30
|
-
export declare class DefaultMira extends BaseService implements DefaultMiraInterface {
|
|
31
|
-
protected httpClient: HttpClient;
|
|
32
|
-
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: MiraConfiguration);
|
|
33
|
-
/**
|
|
34
|
-
* Add ClientMapping
|
|
35
|
-
* @endpoint post /client-mapping
|
|
36
|
-
* @param request_body
|
|
37
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
38
|
-
* @param reportProgress flag to report request and response progress.
|
|
39
|
-
* @param options additional options
|
|
40
|
-
*/
|
|
41
|
-
addClientMapping(request_body: Array<string>, observe?: 'body', reportProgress?: boolean, options?: {
|
|
42
|
-
httpHeaderAccept?: 'application/json';
|
|
43
|
-
context?: HttpContext;
|
|
44
|
-
transferCache?: boolean;
|
|
45
|
-
}): Observable<ClientMapping>;
|
|
46
|
-
addClientMapping(request_body: Array<string>, observe?: 'response', reportProgress?: boolean, options?: {
|
|
47
|
-
httpHeaderAccept?: 'application/json';
|
|
48
|
-
context?: HttpContext;
|
|
49
|
-
transferCache?: boolean;
|
|
50
|
-
}): Observable<HttpResponse<ClientMapping>>;
|
|
51
|
-
addClientMapping(request_body: Array<string>, observe?: 'events', reportProgress?: boolean, options?: {
|
|
52
|
-
httpHeaderAccept?: 'application/json';
|
|
53
|
-
context?: HttpContext;
|
|
54
|
-
transferCache?: boolean;
|
|
55
|
-
}): Observable<HttpEvent<ClientMapping>>;
|
|
56
|
-
/**
|
|
57
|
-
* get mainItems by id list
|
|
58
|
-
* @endpoint post /client-mapping/batch/main
|
|
59
|
-
* @param IdListRequestBody
|
|
60
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
61
|
-
* @param reportProgress flag to report request and response progress.
|
|
62
|
-
* @param options additional options
|
|
63
|
-
*/
|
|
64
|
-
batchGetMainItemByIdList(IdListRequestBody: IdListRequestBody, observe?: 'body', reportProgress?: boolean, options?: {
|
|
65
|
-
httpHeaderAccept?: 'application/json';
|
|
66
|
-
context?: HttpContext;
|
|
67
|
-
transferCache?: boolean;
|
|
68
|
-
}): Observable<BatchGetMainItemByIdListResult>;
|
|
69
|
-
batchGetMainItemByIdList(IdListRequestBody: IdListRequestBody, observe?: 'response', reportProgress?: boolean, options?: {
|
|
70
|
-
httpHeaderAccept?: 'application/json';
|
|
71
|
-
context?: HttpContext;
|
|
72
|
-
transferCache?: boolean;
|
|
73
|
-
}): Observable<HttpResponse<BatchGetMainItemByIdListResult>>;
|
|
74
|
-
batchGetMainItemByIdList(IdListRequestBody: IdListRequestBody, observe?: 'events', reportProgress?: boolean, options?: {
|
|
75
|
-
httpHeaderAccept?: 'application/json';
|
|
76
|
-
context?: HttpContext;
|
|
77
|
-
transferCache?: boolean;
|
|
78
|
-
}): Observable<HttpEvent<BatchGetMainItemByIdListResult>>;
|
|
79
|
-
/**
|
|
80
|
-
* get SubItems by id list
|
|
81
|
-
* @endpoint post /client-mapping/batch/subItem
|
|
82
|
-
* @param IdListRequestBody
|
|
83
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
84
|
-
* @param reportProgress flag to report request and response progress.
|
|
85
|
-
* @param options additional options
|
|
86
|
-
*/
|
|
87
|
-
batchGetSubItemsByIdList(IdListRequestBody: IdListRequestBody, observe?: 'body', reportProgress?: boolean, options?: {
|
|
88
|
-
httpHeaderAccept?: 'application/json';
|
|
89
|
-
context?: HttpContext;
|
|
90
|
-
transferCache?: boolean;
|
|
91
|
-
}): Observable<BatchGetSubItemByIdListResult>;
|
|
92
|
-
batchGetSubItemsByIdList(IdListRequestBody: IdListRequestBody, observe?: 'response', reportProgress?: boolean, options?: {
|
|
93
|
-
httpHeaderAccept?: 'application/json';
|
|
94
|
-
context?: HttpContext;
|
|
95
|
-
transferCache?: boolean;
|
|
96
|
-
}): Observable<HttpResponse<BatchGetSubItemByIdListResult>>;
|
|
97
|
-
batchGetSubItemsByIdList(IdListRequestBody: IdListRequestBody, observe?: 'events', reportProgress?: boolean, options?: {
|
|
98
|
-
httpHeaderAccept?: 'application/json';
|
|
99
|
-
context?: HttpContext;
|
|
100
|
-
transferCache?: boolean;
|
|
101
|
-
}): Observable<HttpEvent<BatchGetSubItemByIdListResult>>;
|
|
102
|
-
/**
|
|
103
|
-
* create a favorite for user and item
|
|
104
|
-
* @endpoint post /favorite
|
|
105
|
-
* @param Favorite
|
|
106
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
107
|
-
* @param reportProgress flag to report request and response progress.
|
|
108
|
-
* @param options additional options
|
|
109
|
-
*/
|
|
110
|
-
createFavorite(Favorite: Favorite, observe?: 'body', reportProgress?: boolean, options?: {
|
|
111
|
-
httpHeaderAccept?: 'application/json';
|
|
112
|
-
context?: HttpContext;
|
|
113
|
-
transferCache?: boolean;
|
|
114
|
-
}): Observable<Favorite>;
|
|
115
|
-
createFavorite(Favorite: Favorite, observe?: 'response', reportProgress?: boolean, options?: {
|
|
116
|
-
httpHeaderAccept?: 'application/json';
|
|
117
|
-
context?: HttpContext;
|
|
118
|
-
transferCache?: boolean;
|
|
119
|
-
}): Observable<HttpResponse<Favorite>>;
|
|
120
|
-
createFavorite(Favorite: Favorite, observe?: 'events', reportProgress?: boolean, options?: {
|
|
121
|
-
httpHeaderAccept?: 'application/json';
|
|
122
|
-
context?: HttpContext;
|
|
123
|
-
transferCache?: boolean;
|
|
124
|
-
}): Observable<HttpEvent<Favorite>>;
|
|
125
|
-
/**
|
|
126
|
-
* create a SubItemFavorite
|
|
127
|
-
* @endpoint post /favorite/sub
|
|
128
|
-
* @param CreateSubItemFavoriteRequestBody
|
|
129
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
130
|
-
* @param reportProgress flag to report request and response progress.
|
|
131
|
-
* @param options additional options
|
|
132
|
-
*/
|
|
133
|
-
createSubItemFavorite(CreateSubItemFavoriteRequestBody: CreateSubItemFavoriteRequestBody, observe?: 'body', reportProgress?: boolean, options?: {
|
|
134
|
-
httpHeaderAccept?: 'application/json';
|
|
135
|
-
context?: HttpContext;
|
|
136
|
-
transferCache?: boolean;
|
|
137
|
-
}): Observable<SubItemFavorite>;
|
|
138
|
-
createSubItemFavorite(CreateSubItemFavoriteRequestBody: CreateSubItemFavoriteRequestBody, observe?: 'response', reportProgress?: boolean, options?: {
|
|
139
|
-
httpHeaderAccept?: 'application/json';
|
|
140
|
-
context?: HttpContext;
|
|
141
|
-
transferCache?: boolean;
|
|
142
|
-
}): Observable<HttpResponse<SubItemFavorite>>;
|
|
143
|
-
createSubItemFavorite(CreateSubItemFavoriteRequestBody: CreateSubItemFavoriteRequestBody, observe?: 'events', reportProgress?: boolean, options?: {
|
|
144
|
-
httpHeaderAccept?: 'application/json';
|
|
145
|
-
context?: HttpContext;
|
|
146
|
-
transferCache?: boolean;
|
|
147
|
-
}): Observable<HttpEvent<SubItemFavorite>>;
|
|
148
|
-
/**
|
|
149
|
-
* Delete ClientMapping by MainItem id
|
|
150
|
-
* @endpoint delete /client-mapping/main/{id}
|
|
151
|
-
* @param id
|
|
152
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
153
|
-
* @param reportProgress flag to report request and response progress.
|
|
154
|
-
* @param options additional options
|
|
155
|
-
*/
|
|
156
|
-
deleteClientMappingByMainItemId(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
157
|
-
httpHeaderAccept?: 'application/json';
|
|
158
|
-
context?: HttpContext;
|
|
159
|
-
transferCache?: boolean;
|
|
160
|
-
}): Observable<DeleteClientMappingByMainItemResponse>;
|
|
161
|
-
deleteClientMappingByMainItemId(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
162
|
-
httpHeaderAccept?: 'application/json';
|
|
163
|
-
context?: HttpContext;
|
|
164
|
-
transferCache?: boolean;
|
|
165
|
-
}): Observable<HttpResponse<DeleteClientMappingByMainItemResponse>>;
|
|
166
|
-
deleteClientMappingByMainItemId(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
167
|
-
httpHeaderAccept?: 'application/json';
|
|
168
|
-
context?: HttpContext;
|
|
169
|
-
transferCache?: boolean;
|
|
170
|
-
}): Observable<HttpEvent<DeleteClientMappingByMainItemResponse>>;
|
|
171
|
-
/**
|
|
172
|
-
* Delete a favorite
|
|
173
|
-
* @endpoint delete /favorite/{id}
|
|
174
|
-
* @param id
|
|
175
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
176
|
-
* @param reportProgress flag to report request and response progress.
|
|
177
|
-
* @param options additional options
|
|
178
|
-
*/
|
|
179
|
-
deleteFavorite(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
180
|
-
httpHeaderAccept?: 'application/json';
|
|
181
|
-
context?: HttpContext;
|
|
182
|
-
transferCache?: boolean;
|
|
183
|
-
}): Observable<SucceedEmptyResponse>;
|
|
184
|
-
deleteFavorite(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
185
|
-
httpHeaderAccept?: 'application/json';
|
|
186
|
-
context?: HttpContext;
|
|
187
|
-
transferCache?: boolean;
|
|
188
|
-
}): Observable<HttpResponse<SucceedEmptyResponse>>;
|
|
189
|
-
deleteFavorite(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
190
|
-
httpHeaderAccept?: 'application/json';
|
|
191
|
-
context?: HttpContext;
|
|
192
|
-
transferCache?: boolean;
|
|
193
|
-
}): Observable<HttpEvent<SucceedEmptyResponse>>;
|
|
194
|
-
/**
|
|
195
|
-
* Delete a SubItemFavorite
|
|
196
|
-
* @endpoint delete /favorite/sub/{id}
|
|
197
|
-
* @param id
|
|
198
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
199
|
-
* @param reportProgress flag to report request and response progress.
|
|
200
|
-
* @param options additional options
|
|
201
|
-
*/
|
|
202
|
-
deleteSubItemFavorite(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
203
|
-
httpHeaderAccept?: 'application/json';
|
|
204
|
-
context?: HttpContext;
|
|
205
|
-
transferCache?: boolean;
|
|
206
|
-
}): Observable<SucceedEmptyResponse>;
|
|
207
|
-
deleteSubItemFavorite(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
208
|
-
httpHeaderAccept?: 'application/json';
|
|
209
|
-
context?: HttpContext;
|
|
210
|
-
transferCache?: boolean;
|
|
211
|
-
}): Observable<HttpResponse<SucceedEmptyResponse>>;
|
|
212
|
-
deleteSubItemFavorite(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
213
|
-
httpHeaderAccept?: 'application/json';
|
|
214
|
-
context?: HttpContext;
|
|
215
|
-
transferCache?: boolean;
|
|
216
|
-
}): Observable<HttpEvent<SucceedEmptyResponse>>;
|
|
217
|
-
/**
|
|
218
|
-
* Get a favorite by id
|
|
219
|
-
* @endpoint get /favorite/{id}
|
|
220
|
-
* @param id
|
|
221
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
222
|
-
* @param reportProgress flag to report request and response progress.
|
|
223
|
-
* @param options additional options
|
|
224
|
-
*/
|
|
225
|
-
getFavoriteById(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
226
|
-
httpHeaderAccept?: 'application/json';
|
|
227
|
-
context?: HttpContext;
|
|
228
|
-
transferCache?: boolean;
|
|
229
|
-
}): Observable<GetFavoriteResponse>;
|
|
230
|
-
getFavoriteById(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
231
|
-
httpHeaderAccept?: 'application/json';
|
|
232
|
-
context?: HttpContext;
|
|
233
|
-
transferCache?: boolean;
|
|
234
|
-
}): Observable<HttpResponse<GetFavoriteResponse>>;
|
|
235
|
-
getFavoriteById(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
236
|
-
httpHeaderAccept?: 'application/json';
|
|
237
|
-
context?: HttpContext;
|
|
238
|
-
transferCache?: boolean;
|
|
239
|
-
}): Observable<HttpEvent<GetFavoriteResponse>>;
|
|
240
|
-
/**
|
|
241
|
-
* get favorite by MainItem id
|
|
242
|
-
* @endpoint get /favorite/main/{id}
|
|
243
|
-
* @param id
|
|
244
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
245
|
-
* @param reportProgress flag to report request and response progress.
|
|
246
|
-
* @param options additional options
|
|
247
|
-
*/
|
|
248
|
-
getFavoriteByMainItemId(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
249
|
-
httpHeaderAccept?: 'application/json';
|
|
250
|
-
context?: HttpContext;
|
|
251
|
-
transferCache?: boolean;
|
|
252
|
-
}): Observable<Favorite>;
|
|
253
|
-
getFavoriteByMainItemId(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
254
|
-
httpHeaderAccept?: 'application/json';
|
|
255
|
-
context?: HttpContext;
|
|
256
|
-
transferCache?: boolean;
|
|
257
|
-
}): Observable<HttpResponse<Favorite>>;
|
|
258
|
-
getFavoriteByMainItemId(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
259
|
-
httpHeaderAccept?: 'application/json';
|
|
260
|
-
context?: HttpContext;
|
|
261
|
-
transferCache?: boolean;
|
|
262
|
-
}): Observable<HttpEvent<Favorite>>;
|
|
263
|
-
/**
|
|
264
|
-
* get favorite progress (number of SubItemFavorite from the beginning) of a episode type for mainItem
|
|
265
|
-
* @endpoint get /favorite/progress
|
|
266
|
-
* @param mainItemId
|
|
267
|
-
* @param epType
|
|
268
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
269
|
-
* @param reportProgress flag to report request and response progress.
|
|
270
|
-
* @param options additional options
|
|
271
|
-
*/
|
|
272
|
-
getFavoriteProgressByMainItemId(mainItemId: string, epType: number, observe?: 'body', reportProgress?: boolean, options?: {
|
|
273
|
-
httpHeaderAccept?: 'application/json';
|
|
274
|
-
context?: HttpContext;
|
|
275
|
-
transferCache?: boolean;
|
|
276
|
-
}): Observable<FavoriteProgress>;
|
|
277
|
-
getFavoriteProgressByMainItemId(mainItemId: string, epType: number, observe?: 'response', reportProgress?: boolean, options?: {
|
|
278
|
-
httpHeaderAccept?: 'application/json';
|
|
279
|
-
context?: HttpContext;
|
|
280
|
-
transferCache?: boolean;
|
|
281
|
-
}): Observable<HttpResponse<FavoriteProgress>>;
|
|
282
|
-
getFavoriteProgressByMainItemId(mainItemId: string, epType: number, observe?: 'events', reportProgress?: boolean, options?: {
|
|
283
|
-
httpHeaderAccept?: 'application/json';
|
|
284
|
-
context?: HttpContext;
|
|
285
|
-
transferCache?: boolean;
|
|
286
|
-
}): Observable<HttpEvent<FavoriteProgress>>;
|
|
287
|
-
/**
|
|
288
|
-
* get a MainItem by id
|
|
289
|
-
* @endpoint get /public/item/main/{id}
|
|
290
|
-
* @param id MainItem id
|
|
291
|
-
* @param coverImage populate coverImage if true
|
|
292
|
-
* @param subItems populate subItems if true
|
|
293
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
294
|
-
* @param reportProgress flag to report request and response progress.
|
|
295
|
-
* @param options additional options
|
|
296
|
-
*/
|
|
297
|
-
getMainItemById(id: string, coverImage?: string, subItems?: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
298
|
-
httpHeaderAccept?: 'application/json';
|
|
299
|
-
context?: HttpContext;
|
|
300
|
-
transferCache?: boolean;
|
|
301
|
-
}): Observable<MainItem>;
|
|
302
|
-
getMainItemById(id: string, coverImage?: string, subItems?: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
303
|
-
httpHeaderAccept?: 'application/json';
|
|
304
|
-
context?: HttpContext;
|
|
305
|
-
transferCache?: boolean;
|
|
306
|
-
}): Observable<HttpResponse<MainItem>>;
|
|
307
|
-
getMainItemById(id: string, coverImage?: string, subItems?: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
308
|
-
httpHeaderAccept?: 'application/json';
|
|
309
|
-
context?: HttpContext;
|
|
310
|
-
transferCache?: boolean;
|
|
311
|
-
}): Observable<HttpEvent<MainItem>>;
|
|
312
|
-
/**
|
|
313
|
-
* get all related (Item , Cast) MainItem of an Character Type MainItem.
|
|
314
|
-
* @endpoint get /public/relation/character/{id}
|
|
315
|
-
* @param id MainItem id
|
|
316
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
317
|
-
* @param reportProgress flag to report request and response progress.
|
|
318
|
-
* @param options additional options
|
|
319
|
-
*/
|
|
320
|
-
getRelationsOfCharacter(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
321
|
-
httpHeaderAccept?: 'application/json';
|
|
322
|
-
context?: HttpContext;
|
|
323
|
-
transferCache?: boolean;
|
|
324
|
-
}): Observable<CharacterRelationsWithMainItems>;
|
|
325
|
-
getRelationsOfCharacter(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
326
|
-
httpHeaderAccept?: 'application/json';
|
|
327
|
-
context?: HttpContext;
|
|
328
|
-
transferCache?: boolean;
|
|
329
|
-
}): Observable<HttpResponse<CharacterRelationsWithMainItems>>;
|
|
330
|
-
getRelationsOfCharacter(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
331
|
-
httpHeaderAccept?: 'application/json';
|
|
332
|
-
context?: HttpContext;
|
|
333
|
-
transferCache?: boolean;
|
|
334
|
-
}): Observable<HttpEvent<CharacterRelationsWithMainItems>>;
|
|
335
|
-
/**
|
|
336
|
-
* get all related (Item, Staff, Cast, Character) MainItem of an Item Type MainItem.
|
|
337
|
-
* @endpoint get /public/relation/item/{id}
|
|
338
|
-
* @param id MainItem id
|
|
339
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
340
|
-
* @param reportProgress flag to report request and response progress.
|
|
341
|
-
* @param options additional options
|
|
342
|
-
*/
|
|
343
|
-
getRelationsOfItem(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
344
|
-
httpHeaderAccept?: 'application/json';
|
|
345
|
-
context?: HttpContext;
|
|
346
|
-
transferCache?: boolean;
|
|
347
|
-
}): Observable<ItemRelationsWithMainItems>;
|
|
348
|
-
getRelationsOfItem(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
349
|
-
httpHeaderAccept?: 'application/json';
|
|
350
|
-
context?: HttpContext;
|
|
351
|
-
transferCache?: boolean;
|
|
352
|
-
}): Observable<HttpResponse<ItemRelationsWithMainItems>>;
|
|
353
|
-
getRelationsOfItem(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
354
|
-
httpHeaderAccept?: 'application/json';
|
|
355
|
-
context?: HttpContext;
|
|
356
|
-
transferCache?: boolean;
|
|
357
|
-
}): Observable<HttpEvent<ItemRelationsWithMainItems>>;
|
|
358
|
-
/**
|
|
359
|
-
* get all related (Item , Character) MainItem of an Person Type MainItem.
|
|
360
|
-
* @endpoint get /public/relation/person/{id}
|
|
361
|
-
* @param id MainItem id
|
|
362
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
363
|
-
* @param reportProgress flag to report request and response progress.
|
|
364
|
-
* @param options additional options
|
|
365
|
-
*/
|
|
366
|
-
getRelationsOfPerson(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
367
|
-
httpHeaderAccept?: 'application/json';
|
|
368
|
-
context?: HttpContext;
|
|
369
|
-
transferCache?: boolean;
|
|
370
|
-
}): Observable<PersonRelationsWithMainItems>;
|
|
371
|
-
getRelationsOfPerson(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
372
|
-
httpHeaderAccept?: 'application/json';
|
|
373
|
-
context?: HttpContext;
|
|
374
|
-
transferCache?: boolean;
|
|
375
|
-
}): Observable<HttpResponse<PersonRelationsWithMainItems>>;
|
|
376
|
-
getRelationsOfPerson(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
377
|
-
httpHeaderAccept?: 'application/json';
|
|
378
|
-
context?: HttpContext;
|
|
379
|
-
transferCache?: boolean;
|
|
380
|
-
}): Observable<HttpEvent<PersonRelationsWithMainItems>>;
|
|
381
|
-
/**
|
|
382
|
-
* get a SubItem by id
|
|
383
|
-
* @endpoint get /public/item/main/subItem/{id}
|
|
384
|
-
* @param id SubItem Id
|
|
385
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
386
|
-
* @param reportProgress flag to report request and response progress.
|
|
387
|
-
* @param options additional options
|
|
388
|
-
*/
|
|
389
|
-
getSubItemById(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
390
|
-
httpHeaderAccept?: 'application/json';
|
|
391
|
-
context?: HttpContext;
|
|
392
|
-
transferCache?: boolean;
|
|
393
|
-
}): Observable<SubItem>;
|
|
394
|
-
getSubItemById(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
395
|
-
httpHeaderAccept?: 'application/json';
|
|
396
|
-
context?: HttpContext;
|
|
397
|
-
transferCache?: boolean;
|
|
398
|
-
}): Observable<HttpResponse<SubItem>>;
|
|
399
|
-
getSubItemById(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
400
|
-
httpHeaderAccept?: 'application/json';
|
|
401
|
-
context?: HttpContext;
|
|
402
|
-
transferCache?: boolean;
|
|
403
|
-
}): Observable<HttpEvent<SubItem>>;
|
|
404
|
-
/**
|
|
405
|
-
* list favorites for user
|
|
406
|
-
* @endpoint get /favorite
|
|
407
|
-
* @param status
|
|
408
|
-
* @param offset
|
|
409
|
-
* @param limit
|
|
410
|
-
* @param orderBy
|
|
411
|
-
* @param sort
|
|
412
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
413
|
-
* @param reportProgress flag to report request and response progress.
|
|
414
|
-
* @param options additional options
|
|
415
|
-
*/
|
|
416
|
-
listFavorites(status: string, offset?: number, limit?: number, orderBy?: string, sort?: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
417
|
-
httpHeaderAccept?: 'application/json';
|
|
418
|
-
context?: HttpContext;
|
|
419
|
-
transferCache?: boolean;
|
|
420
|
-
}): Observable<ListFavoritesResponse>;
|
|
421
|
-
listFavorites(status: string, offset?: number, limit?: number, orderBy?: string, sort?: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
422
|
-
httpHeaderAccept?: 'application/json';
|
|
423
|
-
context?: HttpContext;
|
|
424
|
-
transferCache?: boolean;
|
|
425
|
-
}): Observable<HttpResponse<ListFavoritesResponse>>;
|
|
426
|
-
listFavorites(status: string, offset?: number, limit?: number, orderBy?: string, sort?: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
427
|
-
httpHeaderAccept?: 'application/json';
|
|
428
|
-
context?: HttpContext;
|
|
429
|
-
transferCache?: boolean;
|
|
430
|
-
}): Observable<HttpEvent<ListFavoritesResponse>>;
|
|
431
|
-
/**
|
|
432
|
-
* list MainItems
|
|
433
|
-
* @endpoint get /public/item/main
|
|
434
|
-
* @param serviceClientId
|
|
435
|
-
* @param mainType
|
|
436
|
-
* @param type
|
|
437
|
-
* @param subType
|
|
438
|
-
* @param offset
|
|
439
|
-
* @param limit
|
|
440
|
-
* @param orderBy
|
|
441
|
-
* @param sort
|
|
442
|
-
* @param keyword
|
|
443
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
444
|
-
* @param reportProgress flag to report request and response progress.
|
|
445
|
-
* @param options additional options
|
|
446
|
-
*/
|
|
447
|
-
listMainItems(serviceClientId?: string, mainType?: string, type?: string, subType?: string, offset?: number, limit?: number, orderBy?: string, sort?: string, keyword?: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
448
|
-
httpHeaderAccept?: 'application/json';
|
|
449
|
-
context?: HttpContext;
|
|
450
|
-
transferCache?: boolean;
|
|
451
|
-
}): Observable<ListMainItemResponse>;
|
|
452
|
-
listMainItems(serviceClientId?: string, mainType?: string, type?: string, subType?: string, offset?: number, limit?: number, orderBy?: string, sort?: string, keyword?: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
453
|
-
httpHeaderAccept?: 'application/json';
|
|
454
|
-
context?: HttpContext;
|
|
455
|
-
transferCache?: boolean;
|
|
456
|
-
}): Observable<HttpResponse<ListMainItemResponse>>;
|
|
457
|
-
listMainItems(serviceClientId?: string, mainType?: string, type?: string, subType?: string, offset?: number, limit?: number, orderBy?: string, sort?: string, keyword?: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
458
|
-
httpHeaderAccept?: 'application/json';
|
|
459
|
-
context?: HttpContext;
|
|
460
|
-
transferCache?: boolean;
|
|
461
|
-
}): Observable<HttpEvent<ListMainItemResponse>>;
|
|
462
|
-
/**
|
|
463
|
-
* list SubItemFavorite
|
|
464
|
-
* @endpoint get /favorite/sub
|
|
465
|
-
* @param itemId itemId of the SubItem, if provided then other parameters are ignored
|
|
466
|
-
* @param offset
|
|
467
|
-
* @param limit
|
|
468
|
-
* @param orderBy
|
|
469
|
-
* @param sort
|
|
470
|
-
* @param subItem
|
|
471
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
472
|
-
* @param reportProgress flag to report request and response progress.
|
|
473
|
-
* @param options additional options
|
|
474
|
-
*/
|
|
475
|
-
listSubItemFavorites(itemId?: string, offset?: number, limit?: number, orderBy?: string, sort?: string, subItem?: boolean, observe?: 'body', reportProgress?: boolean, options?: {
|
|
476
|
-
httpHeaderAccept?: 'application/json';
|
|
477
|
-
context?: HttpContext;
|
|
478
|
-
transferCache?: boolean;
|
|
479
|
-
}): Observable<ListSubItemFavoriteResponse>;
|
|
480
|
-
listSubItemFavorites(itemId?: string, offset?: number, limit?: number, orderBy?: string, sort?: string, subItem?: boolean, observe?: 'response', reportProgress?: boolean, options?: {
|
|
481
|
-
httpHeaderAccept?: 'application/json';
|
|
482
|
-
context?: HttpContext;
|
|
483
|
-
transferCache?: boolean;
|
|
484
|
-
}): Observable<HttpResponse<ListSubItemFavoriteResponse>>;
|
|
485
|
-
listSubItemFavorites(itemId?: string, offset?: number, limit?: number, orderBy?: string, sort?: string, subItem?: boolean, observe?: 'events', reportProgress?: boolean, options?: {
|
|
486
|
-
httpHeaderAccept?: 'application/json';
|
|
487
|
-
context?: HttpContext;
|
|
488
|
-
transferCache?: boolean;
|
|
489
|
-
}): Observable<HttpEvent<ListSubItemFavoriteResponse>>;
|
|
490
|
-
/**
|
|
491
|
-
* get a list of on air MainItems with cover image
|
|
492
|
-
* @endpoint get /public/item/on-air
|
|
493
|
-
* @param type type of MainItem, must be either anime or real
|
|
494
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
495
|
-
* @param reportProgress flag to report request and response progress.
|
|
496
|
-
* @param options additional options
|
|
497
|
-
*/
|
|
498
|
-
onAirItem(type: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
499
|
-
httpHeaderAccept?: 'application/json';
|
|
500
|
-
context?: HttpContext;
|
|
501
|
-
transferCache?: boolean;
|
|
502
|
-
}): Observable<GetOnAirItemListResponse>;
|
|
503
|
-
onAirItem(type: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
504
|
-
httpHeaderAccept?: 'application/json';
|
|
505
|
-
context?: HttpContext;
|
|
506
|
-
transferCache?: boolean;
|
|
507
|
-
}): Observable<HttpResponse<GetOnAirItemListResponse>>;
|
|
508
|
-
onAirItem(type: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
509
|
-
httpHeaderAccept?: 'application/json';
|
|
510
|
-
context?: HttpContext;
|
|
511
|
-
transferCache?: boolean;
|
|
512
|
-
}): Observable<HttpEvent<GetOnAirItemListResponse>>;
|
|
513
|
-
/**
|
|
514
|
-
* change status of a favorite
|
|
515
|
-
* @endpoint patch /favorite/{id}
|
|
516
|
-
* @param id
|
|
517
|
-
* @param PatchFavoriteBody
|
|
518
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
519
|
-
* @param reportProgress flag to report request and response progress.
|
|
520
|
-
* @param options additional options
|
|
521
|
-
*/
|
|
522
|
-
patchFavorite(id: string, PatchFavoriteBody: PatchFavoriteBody, observe?: 'body', reportProgress?: boolean, options?: {
|
|
523
|
-
httpHeaderAccept?: 'application/json';
|
|
524
|
-
context?: HttpContext;
|
|
525
|
-
transferCache?: boolean;
|
|
526
|
-
}): Observable<SucceedEmptyResponse>;
|
|
527
|
-
patchFavorite(id: string, PatchFavoriteBody: PatchFavoriteBody, observe?: 'response', reportProgress?: boolean, options?: {
|
|
528
|
-
httpHeaderAccept?: 'application/json';
|
|
529
|
-
context?: HttpContext;
|
|
530
|
-
transferCache?: boolean;
|
|
531
|
-
}): Observable<HttpResponse<SucceedEmptyResponse>>;
|
|
532
|
-
patchFavorite(id: string, PatchFavoriteBody: PatchFavoriteBody, observe?: 'events', reportProgress?: boolean, options?: {
|
|
533
|
-
httpHeaderAccept?: 'application/json';
|
|
534
|
-
context?: HttpContext;
|
|
535
|
-
transferCache?: boolean;
|
|
536
|
-
}): Observable<HttpEvent<SucceedEmptyResponse>>;
|
|
537
|
-
/**
|
|
538
|
-
* predict Main Item names base on provided prefix
|
|
539
|
-
* @endpoint get /public/item/predict
|
|
540
|
-
* @param prefix start part of the name
|
|
541
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
542
|
-
* @param reportProgress flag to report request and response progress.
|
|
543
|
-
* @param options additional options
|
|
544
|
-
*/
|
|
545
|
-
predictMainItemName(prefix: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
546
|
-
httpHeaderAccept?: 'application/json';
|
|
547
|
-
context?: HttpContext;
|
|
548
|
-
transferCache?: boolean;
|
|
549
|
-
}): Observable<Array<string>>;
|
|
550
|
-
predictMainItemName(prefix: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
551
|
-
httpHeaderAccept?: 'application/json';
|
|
552
|
-
context?: HttpContext;
|
|
553
|
-
transferCache?: boolean;
|
|
554
|
-
}): Observable<HttpResponse<Array<string>>>;
|
|
555
|
-
predictMainItemName(prefix: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
556
|
-
httpHeaderAccept?: 'application/json';
|
|
557
|
-
context?: HttpContext;
|
|
558
|
-
transferCache?: boolean;
|
|
559
|
-
}): Observable<HttpEvent<Array<string>>>;
|
|
560
|
-
/**
|
|
561
|
-
* Sync favorites from external source, merge with existing favorites
|
|
562
|
-
* @endpoint post /favorite/sync
|
|
563
|
-
* @param SyncFavoritesRequestBody
|
|
564
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
565
|
-
* @param reportProgress flag to report request and response progress.
|
|
566
|
-
* @param options additional options
|
|
567
|
-
*/
|
|
568
|
-
syncFavorites(SyncFavoritesRequestBody: SyncFavoritesRequestBody, observe?: 'body', reportProgress?: boolean, options?: {
|
|
569
|
-
httpHeaderAccept?: 'application/json';
|
|
570
|
-
context?: HttpContext;
|
|
571
|
-
transferCache?: boolean;
|
|
572
|
-
}): Observable<SyncFavoritesResponse>;
|
|
573
|
-
syncFavorites(SyncFavoritesRequestBody: SyncFavoritesRequestBody, observe?: 'response', reportProgress?: boolean, options?: {
|
|
574
|
-
httpHeaderAccept?: 'application/json';
|
|
575
|
-
context?: HttpContext;
|
|
576
|
-
transferCache?: boolean;
|
|
577
|
-
}): Observable<HttpResponse<SyncFavoritesResponse>>;
|
|
578
|
-
syncFavorites(SyncFavoritesRequestBody: SyncFavoritesRequestBody, observe?: 'events', reportProgress?: boolean, options?: {
|
|
579
|
-
httpHeaderAccept?: 'application/json';
|
|
580
|
-
context?: HttpContext;
|
|
581
|
-
transferCache?: boolean;
|
|
582
|
-
}): Observable<HttpEvent<SyncFavoritesResponse>>;
|
|
583
|
-
/**
|
|
584
|
-
* update progress of a favorite, will create/delete SubItemFavorite
|
|
585
|
-
* @endpoint post /favorite/progress
|
|
586
|
-
* @param mainItemId
|
|
587
|
-
* @param progress
|
|
588
|
-
* @param epType
|
|
589
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
590
|
-
* @param reportProgress flag to report request and response progress.
|
|
591
|
-
* @param options additional options
|
|
592
|
-
*/
|
|
593
|
-
updateFavoriteProgress(mainItemId: string, progress: number, epType: number, observe?: 'body', reportProgress?: boolean, options?: {
|
|
594
|
-
httpHeaderAccept?: 'application/json';
|
|
595
|
-
context?: HttpContext;
|
|
596
|
-
transferCache?: boolean;
|
|
597
|
-
}): Observable<SucceedEmptyResponse>;
|
|
598
|
-
updateFavoriteProgress(mainItemId: string, progress: number, epType: number, observe?: 'response', reportProgress?: boolean, options?: {
|
|
599
|
-
httpHeaderAccept?: 'application/json';
|
|
600
|
-
context?: HttpContext;
|
|
601
|
-
transferCache?: boolean;
|
|
602
|
-
}): Observable<HttpResponse<SucceedEmptyResponse>>;
|
|
603
|
-
updateFavoriteProgress(mainItemId: string, progress: number, epType: number, observe?: 'events', reportProgress?: boolean, options?: {
|
|
604
|
-
httpHeaderAccept?: 'application/json';
|
|
605
|
-
context?: HttpContext;
|
|
606
|
-
transferCache?: boolean;
|
|
607
|
-
}): Observable<HttpEvent<SucceedEmptyResponse>>;
|
|
608
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DefaultMira, [null, { optional: true; }, { optional: true; }]>;
|
|
609
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DefaultMira>;
|
|
610
|
-
}
|