@irohalab/mira-sdk-angular 1.10.0 → 1.11.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/api/default.service.d.ts +66 -0
- package/api/default.serviceInterface.d.ts +21 -0
- package/esm2022/api/default.service.mjs +160 -1
- package/esm2022/api/default.serviceInterface.mjs +1 -1
- package/esm2022/model/characterRelationsWithMainItems.mjs +2 -0
- package/esm2022/model/itemCastCharacterRelation.mjs +12 -0
- package/esm2022/model/itemPersonRelation.mjs +12 -0
- package/esm2022/model/itemRelation.mjs +12 -0
- package/esm2022/model/itemRelationsWithMainItems.mjs +2 -0
- package/esm2022/model/models.mjs +7 -1
- package/esm2022/model/personRelationsWithMainItems.mjs +2 -0
- package/fesm2022/irohalab-mira-sdk-angular.mjs +192 -0
- package/fesm2022/irohalab-mira-sdk-angular.mjs.map +1 -1
- package/model/characterRelationsWithMainItems.d.ts +16 -0
- package/model/itemCastCharacterRelation.d.ts +25 -0
- package/model/itemPersonRelation.d.ts +22 -0
- package/model/itemRelation.d.ts +22 -0
- package/model/itemRelationsWithMainItems.d.ts +20 -0
- package/model/models.d.ts +6 -0
- package/model/personRelationsWithMainItems.d.ts +18 -0
- package/package.json +1 -1
package/api/default.service.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, H
|
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { BatchGetMainItemByIdListResult } from '../model/batchGetMainItemByIdListResult';
|
|
4
4
|
import { BatchGetSubItemByIdListResult } from '../model/batchGetSubItemByIdListResult';
|
|
5
|
+
import { CharacterRelationsWithMainItems } from '../model/characterRelationsWithMainItems';
|
|
5
6
|
import { ClientMapping } from '../model/clientMapping';
|
|
6
7
|
import { CreateSubItemFavoriteRequestBody } from '../model/createSubItemFavoriteRequestBody';
|
|
7
8
|
import { DeleteClientMappingByMainItemResponse } from '../model/deleteClientMappingByMainItemResponse';
|
|
@@ -9,11 +10,13 @@ import { Favorite } from '../model/favorite';
|
|
|
9
10
|
import { FavoriteProgress } from '../model/favoriteProgress';
|
|
10
11
|
import { GetOnAirItemListResponse } from '../model/getOnAirItemListResponse';
|
|
11
12
|
import { IdListRequestBody } from '../model/idListRequestBody';
|
|
13
|
+
import { ItemRelationsWithMainItems } from '../model/itemRelationsWithMainItems';
|
|
12
14
|
import { ListFavoritesResponse } from '../model/listFavoritesResponse';
|
|
13
15
|
import { ListMainItemResponse } from '../model/listMainItemResponse';
|
|
14
16
|
import { ListSubItemFavoriteResponse } from '../model/listSubItemFavoriteResponse';
|
|
15
17
|
import { MainItem } from '../model/mainItem';
|
|
16
18
|
import { PatchFavoriteBody } from '../model/patchFavoriteBody';
|
|
19
|
+
import { PersonRelationsWithMainItems } from '../model/personRelationsWithMainItems';
|
|
17
20
|
import { SubItem } from '../model/subItem';
|
|
18
21
|
import { SubItemFavorite } from '../model/subItemFavorite';
|
|
19
22
|
import { SucceedEmptyResponse } from '../model/succeedEmptyResponse';
|
|
@@ -263,6 +266,69 @@ export declare class DefaultMira implements DefaultMiraInterface {
|
|
|
263
266
|
context?: HttpContext;
|
|
264
267
|
transferCache?: boolean;
|
|
265
268
|
}): Observable<HttpEvent<MainItem>>;
|
|
269
|
+
/**
|
|
270
|
+
* get all related (Item, Staff, Cast, Character) MainItem of an Item Type MainItem.
|
|
271
|
+
* @param id MainItem id
|
|
272
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
273
|
+
* @param reportProgress flag to report request and response progress.
|
|
274
|
+
*/
|
|
275
|
+
getRelationsOfItem(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
276
|
+
httpHeaderAccept?: 'application/json';
|
|
277
|
+
context?: HttpContext;
|
|
278
|
+
transferCache?: boolean;
|
|
279
|
+
}): Observable<ItemRelationsWithMainItems>;
|
|
280
|
+
getRelationsOfItem(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
281
|
+
httpHeaderAccept?: 'application/json';
|
|
282
|
+
context?: HttpContext;
|
|
283
|
+
transferCache?: boolean;
|
|
284
|
+
}): Observable<HttpResponse<ItemRelationsWithMainItems>>;
|
|
285
|
+
getRelationsOfItem(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
286
|
+
httpHeaderAccept?: 'application/json';
|
|
287
|
+
context?: HttpContext;
|
|
288
|
+
transferCache?: boolean;
|
|
289
|
+
}): Observable<HttpEvent<ItemRelationsWithMainItems>>;
|
|
290
|
+
/**
|
|
291
|
+
* get all related (Item , Character) MainItem of an Person Type MainItem.
|
|
292
|
+
* @param id MainItem id
|
|
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
|
+
*/
|
|
296
|
+
getRelationsOfItem1(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
297
|
+
httpHeaderAccept?: 'application/json';
|
|
298
|
+
context?: HttpContext;
|
|
299
|
+
transferCache?: boolean;
|
|
300
|
+
}): Observable<PersonRelationsWithMainItems>;
|
|
301
|
+
getRelationsOfItem1(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
302
|
+
httpHeaderAccept?: 'application/json';
|
|
303
|
+
context?: HttpContext;
|
|
304
|
+
transferCache?: boolean;
|
|
305
|
+
}): Observable<HttpResponse<PersonRelationsWithMainItems>>;
|
|
306
|
+
getRelationsOfItem1(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
307
|
+
httpHeaderAccept?: 'application/json';
|
|
308
|
+
context?: HttpContext;
|
|
309
|
+
transferCache?: boolean;
|
|
310
|
+
}): Observable<HttpEvent<PersonRelationsWithMainItems>>;
|
|
311
|
+
/**
|
|
312
|
+
* get all related (Item , Cast) MainItem of an Character Type MainItem.
|
|
313
|
+
* @param id MainItem id
|
|
314
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
315
|
+
* @param reportProgress flag to report request and response progress.
|
|
316
|
+
*/
|
|
317
|
+
getRelationsOfItem2(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
318
|
+
httpHeaderAccept?: 'application/json';
|
|
319
|
+
context?: HttpContext;
|
|
320
|
+
transferCache?: boolean;
|
|
321
|
+
}): Observable<CharacterRelationsWithMainItems>;
|
|
322
|
+
getRelationsOfItem2(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
323
|
+
httpHeaderAccept?: 'application/json';
|
|
324
|
+
context?: HttpContext;
|
|
325
|
+
transferCache?: boolean;
|
|
326
|
+
}): Observable<HttpResponse<CharacterRelationsWithMainItems>>;
|
|
327
|
+
getRelationsOfItem2(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
328
|
+
httpHeaderAccept?: 'application/json';
|
|
329
|
+
context?: HttpContext;
|
|
330
|
+
transferCache?: boolean;
|
|
331
|
+
}): Observable<HttpEvent<CharacterRelationsWithMainItems>>;
|
|
266
332
|
/**
|
|
267
333
|
* get a SubItem by id
|
|
268
334
|
* @param id SubItem Id
|
|
@@ -12,6 +12,7 @@ import { HttpHeaders } from '@angular/common/http';
|
|
|
12
12
|
import { Observable } from 'rxjs';
|
|
13
13
|
import { BatchGetMainItemByIdListResult } from '../model/models';
|
|
14
14
|
import { BatchGetSubItemByIdListResult } from '../model/models';
|
|
15
|
+
import { CharacterRelationsWithMainItems } from '../model/models';
|
|
15
16
|
import { ClientMapping } from '../model/models';
|
|
16
17
|
import { CreateSubItemFavoriteRequestBody } from '../model/models';
|
|
17
18
|
import { DeleteClientMappingByMainItemResponse } from '../model/models';
|
|
@@ -19,11 +20,13 @@ import { Favorite } from '../model/models';
|
|
|
19
20
|
import { FavoriteProgress } from '../model/models';
|
|
20
21
|
import { GetOnAirItemListResponse } from '../model/models';
|
|
21
22
|
import { IdListRequestBody } from '../model/models';
|
|
23
|
+
import { ItemRelationsWithMainItems } from '../model/models';
|
|
22
24
|
import { ListFavoritesResponse } from '../model/models';
|
|
23
25
|
import { ListMainItemResponse } from '../model/models';
|
|
24
26
|
import { ListSubItemFavoriteResponse } from '../model/models';
|
|
25
27
|
import { MainItem } from '../model/models';
|
|
26
28
|
import { PatchFavoriteBody } from '../model/models';
|
|
29
|
+
import { PersonRelationsWithMainItems } from '../model/models';
|
|
27
30
|
import { SubItem } from '../model/models';
|
|
28
31
|
import { SubItemFavorite } from '../model/models';
|
|
29
32
|
import { SucceedEmptyResponse } from '../model/models';
|
|
@@ -100,6 +103,24 @@ export interface DefaultMiraInterface {
|
|
|
100
103
|
* @param subItems populate subItems if true
|
|
101
104
|
*/
|
|
102
105
|
getMainItemById(id: string, coverImage?: string, subItems?: string, extraHttpRequestParams?: any): Observable<MainItem>;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* get all related (Item, Staff, Cast, Character) MainItem of an Item Type MainItem.
|
|
109
|
+
* @param id MainItem id
|
|
110
|
+
*/
|
|
111
|
+
getRelationsOfItem(id: string, extraHttpRequestParams?: any): Observable<ItemRelationsWithMainItems>;
|
|
112
|
+
/**
|
|
113
|
+
*
|
|
114
|
+
* get all related (Item , Character) MainItem of an Person Type MainItem.
|
|
115
|
+
* @param id MainItem id
|
|
116
|
+
*/
|
|
117
|
+
getRelationsOfItem1(id: string, extraHttpRequestParams?: any): Observable<PersonRelationsWithMainItems>;
|
|
118
|
+
/**
|
|
119
|
+
*
|
|
120
|
+
* get all related (Item , Cast) MainItem of an Character Type MainItem.
|
|
121
|
+
* @param id MainItem id
|
|
122
|
+
*/
|
|
123
|
+
getRelationsOfItem2(id: string, extraHttpRequestParams?: any): Observable<CharacterRelationsWithMainItems>;
|
|
103
124
|
/**
|
|
104
125
|
*
|
|
105
126
|
* get a SubItem by id
|