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