@irohalab/mira-sdk-angular 1.11.0 → 1.11.1

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.
@@ -267,68 +267,68 @@ export declare class DefaultMira implements DefaultMiraInterface {
267
267
  transferCache?: boolean;
268
268
  }): Observable<HttpEvent<MainItem>>;
269
269
  /**
270
- * get all related (Item, Staff, Cast, Character) MainItem of an Item Type MainItem.
270
+ * get all related (Item , Cast) MainItem of an Character Type MainItem.
271
271
  * @param id MainItem id
272
272
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
273
273
  * @param reportProgress flag to report request and response progress.
274
274
  */
275
- getRelationsOfItem(id: string, observe?: 'body', reportProgress?: boolean, options?: {
275
+ getRelationsOfCharacter(id: string, observe?: 'body', reportProgress?: boolean, options?: {
276
276
  httpHeaderAccept?: 'application/json';
277
277
  context?: HttpContext;
278
278
  transferCache?: boolean;
279
- }): Observable<ItemRelationsWithMainItems>;
280
- getRelationsOfItem(id: string, observe?: 'response', reportProgress?: boolean, options?: {
279
+ }): Observable<CharacterRelationsWithMainItems>;
280
+ getRelationsOfCharacter(id: string, observe?: 'response', reportProgress?: boolean, options?: {
281
281
  httpHeaderAccept?: 'application/json';
282
282
  context?: HttpContext;
283
283
  transferCache?: boolean;
284
- }): Observable<HttpResponse<ItemRelationsWithMainItems>>;
285
- getRelationsOfItem(id: string, observe?: 'events', reportProgress?: boolean, options?: {
284
+ }): Observable<HttpResponse<CharacterRelationsWithMainItems>>;
285
+ getRelationsOfCharacter(id: string, observe?: 'events', reportProgress?: boolean, options?: {
286
286
  httpHeaderAccept?: 'application/json';
287
287
  context?: HttpContext;
288
288
  transferCache?: boolean;
289
- }): Observable<HttpEvent<ItemRelationsWithMainItems>>;
289
+ }): Observable<HttpEvent<CharacterRelationsWithMainItems>>;
290
290
  /**
291
- * get all related (Item , Character) MainItem of an Person Type MainItem.
291
+ * get all related (Item, Staff, Cast, Character) MainItem of an Item Type MainItem.
292
292
  * @param id MainItem id
293
293
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
294
294
  * @param reportProgress flag to report request and response progress.
295
295
  */
296
- getRelationsOfItem1(id: string, observe?: 'body', reportProgress?: boolean, options?: {
296
+ getRelationsOfItem(id: string, observe?: 'body', reportProgress?: boolean, options?: {
297
297
  httpHeaderAccept?: 'application/json';
298
298
  context?: HttpContext;
299
299
  transferCache?: boolean;
300
- }): Observable<PersonRelationsWithMainItems>;
301
- getRelationsOfItem1(id: string, observe?: 'response', reportProgress?: boolean, options?: {
300
+ }): Observable<ItemRelationsWithMainItems>;
301
+ getRelationsOfItem(id: string, observe?: 'response', reportProgress?: boolean, options?: {
302
302
  httpHeaderAccept?: 'application/json';
303
303
  context?: HttpContext;
304
304
  transferCache?: boolean;
305
- }): Observable<HttpResponse<PersonRelationsWithMainItems>>;
306
- getRelationsOfItem1(id: string, observe?: 'events', reportProgress?: boolean, options?: {
305
+ }): Observable<HttpResponse<ItemRelationsWithMainItems>>;
306
+ getRelationsOfItem(id: string, observe?: 'events', reportProgress?: boolean, options?: {
307
307
  httpHeaderAccept?: 'application/json';
308
308
  context?: HttpContext;
309
309
  transferCache?: boolean;
310
- }): Observable<HttpEvent<PersonRelationsWithMainItems>>;
310
+ }): Observable<HttpEvent<ItemRelationsWithMainItems>>;
311
311
  /**
312
- * get all related (Item , Cast) MainItem of an Character Type MainItem.
312
+ * get all related (Item , Character) MainItem of an Person Type MainItem.
313
313
  * @param id MainItem id
314
314
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
315
315
  * @param reportProgress flag to report request and response progress.
316
316
  */
317
- getRelationsOfItem2(id: string, observe?: 'body', reportProgress?: boolean, options?: {
317
+ getRelationsOfPerson(id: string, observe?: 'body', reportProgress?: boolean, options?: {
318
318
  httpHeaderAccept?: 'application/json';
319
319
  context?: HttpContext;
320
320
  transferCache?: boolean;
321
- }): Observable<CharacterRelationsWithMainItems>;
322
- getRelationsOfItem2(id: string, observe?: 'response', reportProgress?: boolean, options?: {
321
+ }): Observable<PersonRelationsWithMainItems>;
322
+ getRelationsOfPerson(id: string, observe?: 'response', reportProgress?: boolean, options?: {
323
323
  httpHeaderAccept?: 'application/json';
324
324
  context?: HttpContext;
325
325
  transferCache?: boolean;
326
- }): Observable<HttpResponse<CharacterRelationsWithMainItems>>;
327
- getRelationsOfItem2(id: string, observe?: 'events', reportProgress?: boolean, options?: {
326
+ }): Observable<HttpResponse<PersonRelationsWithMainItems>>;
327
+ getRelationsOfPerson(id: string, observe?: 'events', reportProgress?: boolean, options?: {
328
328
  httpHeaderAccept?: 'application/json';
329
329
  context?: HttpContext;
330
330
  transferCache?: boolean;
331
- }): Observable<HttpEvent<CharacterRelationsWithMainItems>>;
331
+ }): Observable<HttpEvent<PersonRelationsWithMainItems>>;
332
332
  /**
333
333
  * get a SubItem by id
334
334
  * @param id SubItem Id
@@ -105,22 +105,22 @@ export interface DefaultMiraInterface {
105
105
  getMainItemById(id: string, coverImage?: string, subItems?: string, extraHttpRequestParams?: any): Observable<MainItem>;
106
106
  /**
107
107
  *
108
- * get all related (Item, Staff, Cast, Character) MainItem of an Item Type MainItem.
108
+ * get all related (Item , Cast) MainItem of an Character Type MainItem.
109
109
  * @param id MainItem id
110
110
  */
111
- getRelationsOfItem(id: string, extraHttpRequestParams?: any): Observable<ItemRelationsWithMainItems>;
111
+ getRelationsOfCharacter(id: string, extraHttpRequestParams?: any): Observable<CharacterRelationsWithMainItems>;
112
112
  /**
113
113
  *
114
- * get all related (Item , Character) MainItem of an Person Type MainItem.
114
+ * get all related (Item, Staff, Cast, Character) MainItem of an Item Type MainItem.
115
115
  * @param id MainItem id
116
116
  */
117
- getRelationsOfItem1(id: string, extraHttpRequestParams?: any): Observable<PersonRelationsWithMainItems>;
117
+ getRelationsOfItem(id: string, extraHttpRequestParams?: any): Observable<ItemRelationsWithMainItems>;
118
118
  /**
119
119
  *
120
- * get all related (Item , Cast) MainItem of an Character Type MainItem.
120
+ * get all related (Item , Character) MainItem of an Person Type MainItem.
121
121
  * @param id MainItem id
122
122
  */
123
- getRelationsOfItem2(id: string, extraHttpRequestParams?: any): Observable<CharacterRelationsWithMainItems>;
123
+ getRelationsOfPerson(id: string, extraHttpRequestParams?: any): Observable<PersonRelationsWithMainItems>;
124
124
  /**
125
125
  *
126
126
  * get a SubItem by id