@irohalab/mira-sdk-angular 1.9.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 -21
- package/api/default.serviceInterface.d.ts +21 -6
- package/esm2022/api/default.service.mjs +136 -27
- 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/esm2022/model/propertyValue.mjs +1 -1
- package/fesm2022/irohalab-mira-sdk-angular.mjs +168 -26
- 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/model/propertyValue.d.ts +2 -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,12 +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';
|
|
17
|
-
import {
|
|
19
|
+
import { PersonRelationsWithMainItems } from '../model/personRelationsWithMainItems';
|
|
18
20
|
import { SubItem } from '../model/subItem';
|
|
19
21
|
import { SubItemFavorite } from '../model/subItemFavorite';
|
|
20
22
|
import { SucceedEmptyResponse } from '../model/succeedEmptyResponse';
|
|
@@ -198,26 +200,6 @@ export declare class DefaultMira implements DefaultMiraInterface {
|
|
|
198
200
|
context?: HttpContext;
|
|
199
201
|
transferCache?: boolean;
|
|
200
202
|
}): Observable<HttpEvent<SucceedEmptyResponse>>;
|
|
201
|
-
/**
|
|
202
|
-
* get ALL property mappings
|
|
203
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
204
|
-
* @param reportProgress flag to report request and response progress.
|
|
205
|
-
*/
|
|
206
|
-
getAllPropertyMappings(observe?: 'body', reportProgress?: boolean, options?: {
|
|
207
|
-
httpHeaderAccept?: 'application/json';
|
|
208
|
-
context?: HttpContext;
|
|
209
|
-
transferCache?: boolean;
|
|
210
|
-
}): Observable<Array<PropertyType>>;
|
|
211
|
-
getAllPropertyMappings(observe?: 'response', reportProgress?: boolean, options?: {
|
|
212
|
-
httpHeaderAccept?: 'application/json';
|
|
213
|
-
context?: HttpContext;
|
|
214
|
-
transferCache?: boolean;
|
|
215
|
-
}): Observable<HttpResponse<Array<PropertyType>>>;
|
|
216
|
-
getAllPropertyMappings(observe?: 'events', reportProgress?: boolean, options?: {
|
|
217
|
-
httpHeaderAccept?: 'application/json';
|
|
218
|
-
context?: HttpContext;
|
|
219
|
-
transferCache?: boolean;
|
|
220
|
-
}): Observable<HttpEvent<Array<PropertyType>>>;
|
|
221
203
|
/**
|
|
222
204
|
* get favorite by MainItem id
|
|
223
205
|
* @param id
|
|
@@ -284,6 +266,69 @@ export declare class DefaultMira implements DefaultMiraInterface {
|
|
|
284
266
|
context?: HttpContext;
|
|
285
267
|
transferCache?: boolean;
|
|
286
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>>;
|
|
287
332
|
/**
|
|
288
333
|
* get a SubItem by id
|
|
289
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,12 +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';
|
|
27
|
-
import {
|
|
29
|
+
import { PersonRelationsWithMainItems } from '../model/models';
|
|
28
30
|
import { SubItem } from '../model/models';
|
|
29
31
|
import { SubItemFavorite } from '../model/models';
|
|
30
32
|
import { SucceedEmptyResponse } from '../model/models';
|
|
@@ -80,11 +82,6 @@ export interface DefaultMiraInterface {
|
|
|
80
82
|
* @param id
|
|
81
83
|
*/
|
|
82
84
|
deleteSubItemFavorite(id: string, extraHttpRequestParams?: any): Observable<SucceedEmptyResponse>;
|
|
83
|
-
/**
|
|
84
|
-
*
|
|
85
|
-
* get ALL property mappings
|
|
86
|
-
*/
|
|
87
|
-
getAllPropertyMappings(extraHttpRequestParams?: any): Observable<Array<PropertyType>>;
|
|
88
85
|
/**
|
|
89
86
|
*
|
|
90
87
|
* get favorite by MainItem id
|
|
@@ -106,6 +103,24 @@ export interface DefaultMiraInterface {
|
|
|
106
103
|
* @param subItems populate subItems if true
|
|
107
104
|
*/
|
|
108
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>;
|
|
109
124
|
/**
|
|
110
125
|
*
|
|
111
126
|
* get a SubItem by id
|