@irohalab/mira-sdk-angular 0.1.0 → 0.2.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.
@@ -223,19 +223,65 @@ class DefaultMira {
223
223
  }
224
224
  return httpParams;
225
225
  }
226
- listMainItems(sort, orderBy, offset, limit, observe = 'body', reportProgress = false, options) {
226
+ getMainItemById(id, coverImage, observe = 'body', reportProgress = false, options) {
227
+ if (id === null || id === undefined) {
228
+ throw new Error('Required parameter id was null or undefined when calling getMainItemById.');
229
+ }
227
230
  let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
228
- if (sort !== undefined && sort !== null) {
229
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, sort, 'sort');
231
+ if (coverImage !== undefined && coverImage !== null) {
232
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, coverImage, 'coverImage');
233
+ }
234
+ let localVarHeaders = this.defaultHeaders;
235
+ let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
236
+ if (localVarHttpHeaderAcceptSelected === undefined) {
237
+ // to determine the Accept header
238
+ const httpHeaderAccepts = [
239
+ 'application/json'
240
+ ];
241
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
230
242
  }
231
- if (orderBy !== undefined && orderBy !== null) {
232
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, orderBy, 'orderBy');
243
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
244
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
233
245
  }
234
- if (offset !== undefined && offset !== null) {
235
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, offset, 'offset');
246
+ let localVarHttpContext = options && options.context;
247
+ if (localVarHttpContext === undefined) {
248
+ localVarHttpContext = new HttpContext();
249
+ }
250
+ let localVarTransferCache = options && options.transferCache;
251
+ if (localVarTransferCache === undefined) {
252
+ localVarTransferCache = true;
253
+ }
254
+ let responseType_ = 'json';
255
+ if (localVarHttpHeaderAcceptSelected) {
256
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
257
+ responseType_ = 'text';
258
+ }
259
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
260
+ responseType_ = 'json';
261
+ }
262
+ else {
263
+ responseType_ = 'blob';
264
+ }
265
+ }
266
+ let localVarPath = `/public/item/main/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}`;
267
+ return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
268
+ context: localVarHttpContext,
269
+ params: localVarQueryParameters,
270
+ responseType: responseType_,
271
+ withCredentials: this.configuration.withCredentials,
272
+ headers: localVarHeaders,
273
+ observe: observe,
274
+ transferCache: localVarTransferCache,
275
+ reportProgress: reportProgress
276
+ });
277
+ }
278
+ onAirItem(type, observe = 'body', reportProgress = false, options) {
279
+ if (type === null || type === undefined) {
280
+ throw new Error('Required parameter type was null or undefined when calling onAirItem.');
236
281
  }
237
- if (limit !== undefined && limit !== null) {
238
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, limit, 'limit');
282
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
283
+ if (type !== undefined && type !== null) {
284
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, type, 'type');
239
285
  }
240
286
  let localVarHeaders = this.defaultHeaders;
241
287
  let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
@@ -269,7 +315,7 @@ class DefaultMira {
269
315
  responseType_ = 'blob';
270
316
  }
271
317
  }
272
- let localVarPath = `/public/item/main`;
318
+ let localVarPath = `/public/item/on-air`;
273
319
  return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
274
320
  context: localVarHttpContext,
275
321
  params: localVarQueryParameters,
@@ -322,6 +368,87 @@ const APIS = [DefaultMira];
322
368
  * Do not edit the class manually.
323
369
  */
324
370
 
371
+ /**
372
+ * mira Item API
373
+ * Item API for Project-Mira
374
+ *
375
+ *
376
+ *
377
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
378
+ * https://openapi-generator.tech
379
+ * Do not edit the class manually.
380
+ */
381
+ const ItemSubType = {
382
+ Other: 'other',
383
+ TV: 'TV',
384
+ Web: 'web',
385
+ OVA: 'OVA',
386
+ Movie: 'movie',
387
+ Novel: 'Novel',
388
+ Comic: 'Comic',
389
+ Illustration: 'Illustration',
390
+ DramaJp: 'jp',
391
+ DramaEn: 'en',
392
+ DramaCn: 'cn',
393
+ PC: 'PC',
394
+ NDS: 'NDS',
395
+ PSP: 'PSP',
396
+ PS2: 'PS2',
397
+ PS3: 'PS3',
398
+ Xbox360: 'Xbox360',
399
+ Mac: 'Mac OS',
400
+ PS5: 'PS5',
401
+ XboxSeriesXS: 'Xbox Series X/S',
402
+ PS4: 'PS4',
403
+ XboxOne: 'Xbox One',
404
+ NintendoSwitch: 'Nintendo Switch',
405
+ WiiU: 'Wii U',
406
+ Wii: 'Wii',
407
+ PSVita: 'PS Vita',
408
+ N3DS: '3DS',
409
+ IOS: 'iOS',
410
+ Android: 'Android',
411
+ ARC: 'ARC',
412
+ XBOX: 'XBOX',
413
+ GameCube: 'GameCube',
414
+ Dreamcast: 'Dreamcast',
415
+ Nintendo64: 'Nitendo 64',
416
+ PlayStation: 'PlayStation',
417
+ SFC: 'SFC',
418
+ FC: 'FC',
419
+ NEOGEOPocketColor: 'NEOGEO Pocket Color',
420
+ GBA: 'GBA',
421
+ GB: 'GB',
422
+ VirtualBoy: 'Virtual Boy',
423
+ WonderSwanColor: 'WonderSwan Color',
424
+ WonderSwan: 'WonderSwan'
425
+ };
426
+
427
+ /**
428
+ * mira Item API
429
+ * Item API for Project-Mira
430
+ *
431
+ *
432
+ *
433
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
434
+ * https://openapi-generator.tech
435
+ * Do not edit the class manually.
436
+ */
437
+ const ItemType = {
438
+ Anime: 'anime',
439
+ Game: 'game',
440
+ Music: 'music',
441
+ Book: 'book',
442
+ Individual: 'individual',
443
+ Character: 'character',
444
+ RealWorld: 'real',
445
+ Association: 'association',
446
+ Corporation: 'corporation',
447
+ Organization: 'organization',
448
+ Ship: 'ship',
449
+ Mechanic: 'mechanic'
450
+ };
451
+
325
452
  var MainItem;
326
453
  (function (MainItem) {
327
454
  MainItem.MainTypeEnum = {
@@ -329,65 +456,6 @@ var MainItem;
329
456
  Person: 1,
330
457
  Character: 2
331
458
  };
332
- MainItem.TypeEnum = {
333
- Anime: 'anime',
334
- Game: 'game',
335
- Music: 'music',
336
- Book: 'book',
337
- Individual: 'individual',
338
- Character: 'character',
339
- RealWorld: 'real',
340
- Association: 'association',
341
- Corporation: 'corporation',
342
- Organization: 'organization',
343
- Ship: 'ship',
344
- Mechanic: 'mechanic'
345
- };
346
- MainItem.SubTypeEnum = {
347
- Other: 'other',
348
- TV: 'TV',
349
- Web: 'web',
350
- OVA: 'OVA',
351
- Movie: 'movie',
352
- Novel: 'Novel',
353
- Comic: 'Comic',
354
- Illustration: 'Illustration',
355
- DramaJp: 'jp',
356
- DramaEn: 'en',
357
- DramaCn: 'cn',
358
- PC: 'PC',
359
- NDS: 'NDS',
360
- PSP: 'PSP',
361
- PS2: 'PS2',
362
- PS3: 'PS3',
363
- Xbox360: 'Xbox360',
364
- Mac: 'Mac OS',
365
- PS5: 'PS5',
366
- XboxSeriesXS: 'Xbox Series X/S',
367
- PS4: 'PS4',
368
- XboxOne: 'Xbox One',
369
- NintendoSwitch: 'Nintendo Switch',
370
- WiiU: 'Wii U',
371
- Wii: 'Wii',
372
- PSVita: 'PS Vita',
373
- N3DS: '3DS',
374
- IOS: 'iOS',
375
- Android: 'Android',
376
- ARC: 'ARC',
377
- XBOX: 'XBOX',
378
- GameCube: 'GameCube',
379
- Dreamcast: 'Dreamcast',
380
- Nintendo64: 'Nitendo 64',
381
- PlayStation: 'PlayStation',
382
- SFC: 'SFC',
383
- FC: 'FC',
384
- NEOGEOPocketColor: 'NEOGEO Pocket Color',
385
- GBA: 'GBA',
386
- GB: 'GB',
387
- VirtualBoy: 'Virtual Boy',
388
- WonderSwanColor: 'WonderSwan Color',
389
- WonderSwan: 'WonderSwan'
390
- };
391
459
  })(MainItem || (MainItem = {}));
392
460
 
393
461
  var PropertyValue;
@@ -464,5 +532,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.3", ngImpor
464
532
  * Generated bundle index. Do not edit.
465
533
  */
466
534
 
467
- export { APIS, BASE_PATH, COLLECTION_FORMATS, DefaultMira, MainItem, MiraApiModule, MiraConfiguration, PropertyValue, SubItem };
535
+ export { APIS, BASE_PATH, COLLECTION_FORMATS, DefaultMira, ItemSubType, ItemType, MainItem, MiraApiModule, MiraConfiguration, PropertyValue, SubItem };
468
536
  //# sourceMappingURL=irohalab-mira-sdk-angular.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"irohalab-mira-sdk-angular.mjs","sources":["../../../projects/mira-sdk-angular/src/encoder.ts","../../../projects/mira-sdk-angular/src/variables.ts","../../../projects/mira-sdk-angular/src/configuration.ts","../../../projects/mira-sdk-angular/src/api/default.service.ts","../../../projects/mira-sdk-angular/src/api/api.ts","../../../projects/mira-sdk-angular/src/model/entityBase.ts","../../../projects/mira-sdk-angular/src/model/imageInfo.ts","../../../projects/mira-sdk-angular/src/model/mainItem.ts","../../../projects/mira-sdk-angular/src/model/propertyValue.ts","../../../projects/mira-sdk-angular/src/model/propertyValueValue.ts","../../../projects/mira-sdk-angular/src/model/subItem.ts","../../../projects/mira-sdk-angular/src/api.module.ts","../../../projects/mira-sdk-angular/src/irohalab-mira-sdk-angular.ts"],"sourcesContent":["import { HttpParameterCodec } from '@angular/common/http';\n\n/**\n * Custom HttpParameterCodec\n * Workaround for https://github.com/angular/angular/issues/18261\n */\nexport class CustomHttpParameterCodec implements HttpParameterCodec {\n encodeKey(k: string): string {\n return encodeURIComponent(k);\n }\n encodeValue(v: string): string {\n return encodeURIComponent(v);\n }\n decodeKey(k: string): string {\n return decodeURIComponent(k);\n }\n decodeValue(v: string): string {\n return decodeURIComponent(v);\n }\n}\n","import { InjectionToken } from '@angular/core';\n\nexport const BASE_PATH = new InjectionToken<string>('basePath');\nexport const COLLECTION_FORMATS = {\n 'csv': ',',\n 'tsv': ' ',\n 'ssv': ' ',\n 'pipes': '|'\n}\n","import { HttpParameterCodec } from '@angular/common/http';\nimport { Param } from './param';\n\nexport interface MiraConfigurationParameters {\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n apiKeys?: {[ key: string ]: string};\n username?: string;\n password?: string;\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n accessToken?: string | (() => string);\n basePath?: string;\n withCredentials?: boolean;\n /**\n * Takes care of encoding query- and form-parameters.\n */\n encoder?: HttpParameterCodec;\n /**\n * Override the default method for encoding path parameters in various\n * <a href=\"https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values\">styles</a>.\n * <p>\n * See {@link README.md} for more details\n * </p>\n */\n encodeParam?: (param: Param) => string;\n /**\n * The keys are the names in the securitySchemes section of the OpenAPI\n * document. They should map to the value used for authentication\n * minus any standard prefixes such as 'Basic' or 'Bearer'.\n */\n credentials?: {[ key: string ]: string | (() => string | undefined)};\n}\n\nexport class MiraConfiguration {\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n apiKeys?: {[ key: string ]: string};\n username?: string;\n password?: string;\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n accessToken?: string | (() => string);\n basePath?: string;\n withCredentials?: boolean;\n /**\n * Takes care of encoding query- and form-parameters.\n */\n encoder?: HttpParameterCodec;\n /**\n * Encoding of various path parameter\n * <a href=\"https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values\">styles</a>.\n * <p>\n * See {@link README.md} for more details\n * </p>\n */\n encodeParam: (param: Param) => string;\n /**\n * The keys are the names in the securitySchemes section of the OpenAPI\n * document. They should map to the value used for authentication\n * minus any standard prefixes such as 'Basic' or 'Bearer'.\n */\n credentials: {[ key: string ]: string | (() => string | undefined)};\n\n constructor(configurationParameters: MiraConfigurationParameters = {}) {\n this.apiKeys = configurationParameters.apiKeys;\n this.username = configurationParameters.username;\n this.password = configurationParameters.password;\n this.accessToken = configurationParameters.accessToken;\n this.basePath = configurationParameters.basePath;\n this.withCredentials = configurationParameters.withCredentials;\n this.encoder = configurationParameters.encoder;\n if (configurationParameters.encodeParam) {\n this.encodeParam = configurationParameters.encodeParam;\n }\n else {\n this.encodeParam = param => this.defaultEncodeParam(param);\n }\n if (configurationParameters.credentials) {\n this.credentials = configurationParameters.credentials;\n }\n else {\n this.credentials = {};\n }\n }\n\n /**\n * Select the correct content-type to use for a request.\n * Uses {@link MiraConfiguration#isJsonMime} to determine the correct content-type.\n * If no content type is found return the first found type if the contentTypes is not empty\n * @param contentTypes - the array of content types that are available for selection\n * @returns the selected content-type or <code>undefined</code> if no selection could be made.\n */\n public selectHeaderContentType (contentTypes: string[]): string | undefined {\n if (contentTypes.length === 0) {\n return undefined;\n }\n\n const type = contentTypes.find((x: string) => this.isJsonMime(x));\n if (type === undefined) {\n return contentTypes[0];\n }\n return type;\n }\n\n /**\n * Select the correct accept content-type to use for a request.\n * Uses {@link MiraConfiguration#isJsonMime} to determine the correct accept content-type.\n * If no content type is found return the first found type if the contentTypes is not empty\n * @param accepts - the array of content types that are available for selection.\n * @returns the selected content-type or <code>undefined</code> if no selection could be made.\n */\n public selectHeaderAccept(accepts: string[]): string | undefined {\n if (accepts.length === 0) {\n return undefined;\n }\n\n const type = accepts.find((x: string) => this.isJsonMime(x));\n if (type === undefined) {\n return accepts[0];\n }\n return type;\n }\n\n /**\n * Check if the given MIME is a JSON MIME.\n * JSON MIME examples:\n * application/json\n * application/json; charset=UTF8\n * APPLICATION/JSON\n * application/vnd.company+json\n * @param mime - MIME (Multipurpose Internet Mail Extensions)\n * @return True if the given MIME is JSON, false otherwise.\n */\n public isJsonMime(mime: string): boolean {\n const jsonMime: RegExp = new RegExp('^(application\\/json|[^;/ \\t]+\\/[^;/ \\t]+[+]json)[ \\t]*(;.*)?$', 'i');\n return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');\n }\n\n public lookupCredential(key: string): string | undefined {\n const value = this.credentials[key];\n return typeof value === 'function'\n ? value()\n : value;\n }\n\n private defaultEncodeParam(param: Param): string {\n // This implementation exists as fallback for missing configuration\n // and for backwards compatibility to older typescript-angular generator versions.\n // It only works for the 'simple' parameter style.\n // Date-handling only works for the 'date-time' format.\n // All other styles and Date-formats are probably handled incorrectly.\n //\n // But: if that's all you need (i.e.: the most common use-case): no need for customization!\n\n const value = param.dataFormat === 'date-time' && param.value instanceof Date\n ? (param.value as Date).toISOString()\n : param.value;\n\n return encodeURIComponent(String(value));\n }\n}\n","/**\n * mira Item API\n * Item API for Project-Mira\n *\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n/* tslint:disable:no-unused-variable member-ordering */\n\nimport { Inject, Injectable, Optional } from '@angular/core';\nimport { HttpClient, HttpHeaders, HttpParams,\n HttpResponse, HttpEvent, HttpParameterCodec, HttpContext \n } from '@angular/common/http';\nimport { CustomHttpParameterCodec } from '../encoder';\nimport { Observable } from 'rxjs';\n\n// @ts-ignore\nimport { GetMainItemListResponse } from '../model/getMainItemListResponse';\n\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS } from '../variables';\nimport { MiraConfiguration } from '../configuration';\nimport {\n DefaultMiraInterface\n} from './default.serviceInterface';\n\n\n\n@Injectable({\n providedIn: 'root'\n})\nexport class DefaultMira implements DefaultMiraInterface {\n\n protected basePath = 'http://localhost';\n public defaultHeaders = new HttpHeaders();\n public configuration = new MiraConfiguration();\n public encoder: HttpParameterCodec;\n\n constructor(protected httpClient: HttpClient, @Optional()@Inject(BASE_PATH) basePath: string|string[], @Optional() configuration: MiraConfiguration) {\n if (configuration) {\n this.configuration = configuration;\n }\n if (typeof this.configuration.basePath !== 'string') {\n const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;\n if (firstBasePath != undefined) {\n basePath = firstBasePath;\n }\n\n if (typeof basePath !== 'string') {\n basePath = this.basePath;\n }\n this.configuration.basePath = basePath;\n }\n this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();\n }\n\n\n // @ts-ignore\n private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {\n if (typeof value === \"object\" && value instanceof Date === false) {\n httpParams = this.addToHttpParamsRecursive(httpParams, value);\n } else {\n httpParams = this.addToHttpParamsRecursive(httpParams, value, key);\n }\n return httpParams;\n }\n\n private addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string): HttpParams {\n if (value == null) {\n return httpParams;\n }\n\n if (typeof value === \"object\") {\n if (Array.isArray(value)) {\n (value as any[]).forEach( elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));\n } else if (value instanceof Date) {\n if (key != null) {\n httpParams = httpParams.append(key, (value as Date).toISOString().substring(0, 10));\n } else {\n throw Error(\"key may not be null if value is Date\");\n }\n } else {\n Object.keys(value).forEach( k => httpParams = this.addToHttpParamsRecursive(\n httpParams, value[k], key != null ? `${key}.${k}` : k));\n }\n } else if (key != null) {\n httpParams = httpParams.append(key, value);\n } else {\n throw Error(\"key may not be null if value is not object or array\");\n }\n return httpParams;\n }\n\n /**\n * get a list of MainItem\n * @param sort can be asc or desc, default is desc\n * @param orderBy ordered by which field, default is createdTime\n * @param offset offset to start, default is 0\n * @param limit how many items returned per request, default is 20, maximum is 100\n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public listMainItems(sort?: string, orderBy?: string, offset?: number, limit?: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<GetMainItemListResponse>;\n public listMainItems(sort?: string, orderBy?: string, offset?: number, limit?: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<GetMainItemListResponse>>;\n public listMainItems(sort?: string, orderBy?: string, offset?: number, limit?: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<GetMainItemListResponse>>;\n public listMainItems(sort?: string, orderBy?: string, offset?: number, limit?: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {\n\n let localVarQueryParameters = new HttpParams({encoder: this.encoder});\n if (sort !== undefined && sort !== null) {\n localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,\n <any>sort, 'sort');\n }\n if (orderBy !== undefined && orderBy !== null) {\n localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,\n <any>orderBy, 'orderBy');\n }\n if (offset !== undefined && offset !== null) {\n localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,\n <any>offset, 'offset');\n }\n if (limit !== undefined && limit !== null) {\n localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,\n <any>limit, 'limit');\n }\n\n let localVarHeaders = this.defaultHeaders;\n\n let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;\n if (localVarHttpHeaderAcceptSelected === undefined) {\n // to determine the Accept header\n const httpHeaderAccepts: string[] = [\n 'application/json'\n ];\n localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);\n }\n if (localVarHttpHeaderAcceptSelected !== undefined) {\n localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);\n }\n\n let localVarHttpContext: HttpContext | undefined = options && options.context;\n if (localVarHttpContext === undefined) {\n localVarHttpContext = new HttpContext();\n }\n\n let localVarTransferCache: boolean | undefined = options && options.transferCache;\n if (localVarTransferCache === undefined) {\n localVarTransferCache = true;\n }\n\n\n let responseType_: 'text' | 'json' | 'blob' = 'json';\n if (localVarHttpHeaderAcceptSelected) {\n if (localVarHttpHeaderAcceptSelected.startsWith('text')) {\n responseType_ = 'text';\n } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {\n responseType_ = 'json';\n } else {\n responseType_ = 'blob';\n }\n }\n\n let localVarPath = `/public/item/main`;\n return this.httpClient.request<GetMainItemListResponse>('get', `${this.configuration.basePath}${localVarPath}`,\n {\n context: localVarHttpContext,\n params: localVarQueryParameters,\n responseType: <any>responseType_,\n withCredentials: this.configuration.withCredentials,\n headers: localVarHeaders,\n observe: observe,\n transferCache: localVarTransferCache,\n reportProgress: reportProgress\n }\n );\n }\n\n}\n","export * from './default.service';\nimport { DefaultMira } from './default.service';\nexport * from './default.serviceInterface';\nexport const APIS = [DefaultMira];\n","/**\n * mira Item API\n * Item API for Project-Mira\n *\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nexport interface EntityBase { \n id: number;\n /**\n * RFC3339 Datetime\n */\n createdTime: string;\n /**\n * RFC3339 Datetime to set the updateTime\n */\n updateTime?: string;\n version: number;\n deleted: boolean;\n}\n\n","/**\n * mira Item API\n * Item API for Project-Mira\n *\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\n/**\n * image information\n */\nexport interface ImageInfo { \n id: number;\n createTime: string;\n url: string;\n savePath: string;\n width: number;\n height: number;\n dormantColor: string;\n}\n\n","/**\n * mira Item API\n * Item API for Project-Mira\n *\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nimport { SubItem } from './subItem';\nimport { PropertyValue } from './propertyValue';\nimport { ImageInfo } from './imageInfo';\n\n\nexport interface MainItem { \n id: number;\n /**\n * RFC3339 Datetime\n */\n createdTime: string;\n /**\n * RFC3339 Datetime to set the updateTime\n */\n updateTime?: string;\n version: number;\n deleted: boolean;\n bgmId: number;\n isBgmHide: boolean;\n lockedInBgm: boolean;\n /**\n * Not used for ItemType.Individual and ItemType.Character\n */\n publicTime?: string;\n /**\n * Not used for ItemType.Individual and ItemType.Character\n */\n isPublicTimeLocked: boolean;\n properties: { [key: string]: PropertyValue; };\n isCoverImageLocked: boolean;\n mainType: MainItem.MainTypeEnum;\n type: MainItem.TypeEnum;\n subType?: MainItem.SubTypeEnum;\n /**\n * determine if the MainItem is collection item\n */\n isCollection: boolean;\n coverImage?: ImageInfo;\n subItem?: Array<SubItem>;\n}\nexport namespace MainItem {\n export type MainTypeEnum = 0 | 1 | 2;\n export const MainTypeEnum = {\n Item: 0 as MainTypeEnum,\n Person: 1 as MainTypeEnum,\n Character: 2 as MainTypeEnum\n };\n export type TypeEnum = 'anime' | 'game' | 'music' | 'book' | 'individual' | 'character' | 'real' | 'association' | 'corporation' | 'organization' | 'ship' | 'mechanic';\n export const TypeEnum = {\n Anime: 'anime' as TypeEnum,\n Game: 'game' as TypeEnum,\n Music: 'music' as TypeEnum,\n Book: 'book' as TypeEnum,\n Individual: 'individual' as TypeEnum,\n Character: 'character' as TypeEnum,\n RealWorld: 'real' as TypeEnum,\n Association: 'association' as TypeEnum,\n Corporation: 'corporation' as TypeEnum,\n Organization: 'organization' as TypeEnum,\n Ship: 'ship' as TypeEnum,\n Mechanic: 'mechanic' as TypeEnum\n };\n export type SubTypeEnum = 'other' | 'TV' | 'web' | 'OVA' | 'movie' | 'Novel' | 'Comic' | 'Illustration' | 'jp' | 'en' | 'cn' | 'PC' | 'NDS' | 'PSP' | 'PS2' | 'PS3' | 'Xbox360' | 'Mac OS' | 'PS5' | 'Xbox Series X/S' | 'PS4' | 'Xbox One' | 'Nintendo Switch' | 'Wii U' | 'Wii' | 'PS Vita' | '3DS' | 'iOS' | 'Android' | 'ARC' | 'XBOX' | 'GameCube' | 'Dreamcast' | 'Nitendo 64' | 'PlayStation' | 'SFC' | 'FC' | 'NEOGEO Pocket Color' | 'GBA' | 'GB' | 'Virtual Boy' | 'WonderSwan Color' | 'WonderSwan';\n export const SubTypeEnum = {\n Other: 'other' as SubTypeEnum,\n TV: 'TV' as SubTypeEnum,\n Web: 'web' as SubTypeEnum,\n OVA: 'OVA' as SubTypeEnum,\n Movie: 'movie' as SubTypeEnum,\n Novel: 'Novel' as SubTypeEnum,\n Comic: 'Comic' as SubTypeEnum,\n Illustration: 'Illustration' as SubTypeEnum,\n DramaJp: 'jp' as SubTypeEnum,\n DramaEn: 'en' as SubTypeEnum,\n DramaCn: 'cn' as SubTypeEnum,\n PC: 'PC' as SubTypeEnum,\n NDS: 'NDS' as SubTypeEnum,\n PSP: 'PSP' as SubTypeEnum,\n PS2: 'PS2' as SubTypeEnum,\n PS3: 'PS3' as SubTypeEnum,\n Xbox360: 'Xbox360' as SubTypeEnum,\n Mac: 'Mac OS' as SubTypeEnum,\n PS5: 'PS5' as SubTypeEnum,\n XboxSeriesXS: 'Xbox Series X/S' as SubTypeEnum,\n PS4: 'PS4' as SubTypeEnum,\n XboxOne: 'Xbox One' as SubTypeEnum,\n NintendoSwitch: 'Nintendo Switch' as SubTypeEnum,\n WiiU: 'Wii U' as SubTypeEnum,\n Wii: 'Wii' as SubTypeEnum,\n PSVita: 'PS Vita' as SubTypeEnum,\n N3DS: '3DS' as SubTypeEnum,\n IOS: 'iOS' as SubTypeEnum,\n Android: 'Android' as SubTypeEnum,\n ARC: 'ARC' as SubTypeEnum,\n XBOX: 'XBOX' as SubTypeEnum,\n GameCube: 'GameCube' as SubTypeEnum,\n Dreamcast: 'Dreamcast' as SubTypeEnum,\n Nintendo64: 'Nitendo 64' as SubTypeEnum,\n PlayStation: 'PlayStation' as SubTypeEnum,\n SFC: 'SFC' as SubTypeEnum,\n FC: 'FC' as SubTypeEnum,\n NEOGEOPocketColor: 'NEOGEO Pocket Color' as SubTypeEnum,\n GBA: 'GBA' as SubTypeEnum,\n GB: 'GB' as SubTypeEnum,\n VirtualBoy: 'Virtual Boy' as SubTypeEnum,\n WonderSwanColor: 'WonderSwan Color' as SubTypeEnum,\n WonderSwan: 'WonderSwan' as SubTypeEnum\n };\n}\n\n\n","/**\n * mira Item API\n * Item API for Project-Mira\n *\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nimport { PropertyValueValue } from './propertyValueValue';\n\n\nexport interface PropertyValue { \n propertyType?: PropertyValue.PropertyTypeEnum | null;\n locked: boolean;\n value: PropertyValueValue;\n}\nexport namespace PropertyValue {\n export type PropertyTypeEnum = 'Staff' | 'Item' | 'Character' | 'Info' | 'Cast';\n export const PropertyTypeEnum = {\n Staff: 'Staff' as PropertyTypeEnum,\n Item: 'Item' as PropertyTypeEnum,\n Character: 'Character' as PropertyTypeEnum,\n Info: 'Info' as PropertyTypeEnum,\n Cast: 'Cast' as PropertyTypeEnum\n };\n}\n\n\n","/**\n * mira Item API\n * Item API for Project-Mira\n *\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\n/**\n * @type PropertyValueValue\n * @export\n */\nexport type PropertyValueValue = Array<string> | Array<{ [key: string]: string; }> | string;\n\n","/**\n * mira Item API\n * Item API for Project-Mira\n *\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nimport { PropertyValue } from './propertyValue';\n\n\nexport interface SubItem { \n id: number;\n /**\n * RFC3339 Datetime\n */\n createdTime: string;\n /**\n * RFC3339 Datetime to set the updateTime\n */\n updateTime?: string;\n version: number;\n deleted: boolean;\n bgmId: number;\n isBgmHide: boolean;\n lockedInBgm: boolean;\n /**\n * Not used for ItemType.Individual and ItemType.Character\n */\n publicTime?: string;\n /**\n * Not used for ItemType.Individual and ItemType.Character\n */\n isPublicTimeLocked: boolean;\n properties: { [key: string]: PropertyValue; };\n isCoverImageLocked: boolean;\n type: SubItem.TypeEnum;\n episodeType: SubItem.EpisodeTypeEnum | null;\n ep?: number | null;\n disc?: number | null;\n sort: number;\n}\nexport namespace SubItem {\n export type TypeEnum = 0 | 1;\n export const TypeEnum = {\n Episode: 0 as TypeEnum,\n Song: 1 as TypeEnum\n };\n export type EpisodeTypeEnum = 0 | 1;\n export const EpisodeTypeEnum = {\n Episode: 0 as EpisodeTypeEnum,\n Special: 1 as EpisodeTypeEnum\n };\n}\n\n\n","import { NgModule, ModuleWithProviders, SkipSelf, Optional } from '@angular/core';\nimport { MiraConfiguration } from './configuration';\nimport { HttpClient } from '@angular/common/http';\n\n\n@NgModule({\n imports: [],\n declarations: [],\n exports: [],\n providers: []\n})\nexport class MiraApiModule {\n public static forRoot(configurationFactory: () => MiraConfiguration): ModuleWithProviders<MiraApiModule> {\n return {\n ngModule: MiraApiModule,\n providers: [ { provide: MiraConfiguration, useFactory: configurationFactory } ]\n };\n }\n\n constructor( @Optional() @SkipSelf() parentModule: MiraApiModule,\n @Optional() http: HttpClient) {\n if (parentModule) {\n throw new Error('MiraApiModule is already loaded. Import in your base AppModule only.');\n }\n if (!http) {\n throw new Error('You need to import the HttpClientModule in your AppModule! \\n' +\n 'See also https://github.com/angular/angular/issues/20575');\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i2.MiraConfiguration"],"mappings":";;;;;AAEA;;;AAGG;MACU,wBAAwB,CAAA;AACjC,IAAA,SAAS,CAAC,CAAS,EAAA;AACf,QAAA,OAAO,kBAAkB,CAAC,CAAC,CAAC,CAAC;KAChC;AACD,IAAA,WAAW,CAAC,CAAS,EAAA;AACjB,QAAA,OAAO,kBAAkB,CAAC,CAAC,CAAC,CAAC;KAChC;AACD,IAAA,SAAS,CAAC,CAAS,EAAA;AACf,QAAA,OAAO,kBAAkB,CAAC,CAAC,CAAC,CAAC;KAChC;AACD,IAAA,W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GAAb,aAAa,EAAA,CAAA,CAAA;wGAAb,aAAa,EAAA,CAAA,CAAA;;2FAAb,aAAa,EAAA,UAAA,EAAA,CAAA;kBANzB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAO,EAAE;AAChB,oBAAA,YAAY,EAAE,EAAE;AAChB,oBAAA,OAAO,EAAO,EAAE;AAChB,oBAAA,SAAS,EAAE,EAAE;AACd,iBAAA,CAAA;;0BASiB,QAAQ;;0BAAI,QAAQ;;0BACpB,QAAQ;;;ACpB1B;;AAEG;;;;"}
1
+ {"version":3,"file":"irohalab-mira-sdk-angular.mjs","sources":["../../../projects/mira-sdk-angular/src/encoder.ts","../../../projects/mira-sdk-angular/src/variables.ts","../../../projects/mira-sdk-angular/src/configuration.ts","../../../projects/mira-sdk-angular/src/api/default.service.ts","../../../projects/mira-sdk-angular/src/api/api.ts","../../../projects/mira-sdk-angular/src/model/entityBase.ts","../../../projects/mira-sdk-angular/src/model/imageInfo.ts","../../../projects/mira-sdk-angular/src/model/itemSubType.ts","../../../projects/mira-sdk-angular/src/model/itemType.ts","../../../projects/mira-sdk-angular/src/model/mainItem.ts","../../../projects/mira-sdk-angular/src/model/propertyValue.ts","../../../projects/mira-sdk-angular/src/model/propertyValueValue.ts","../../../projects/mira-sdk-angular/src/model/subItem.ts","../../../projects/mira-sdk-angular/src/api.module.ts","../../../projects/mira-sdk-angular/src/irohalab-mira-sdk-angular.ts"],"sourcesContent":["import { HttpParameterCodec } from '@angular/common/http';\n\n/**\n * Custom HttpParameterCodec\n * Workaround for https://github.com/angular/angular/issues/18261\n */\nexport class CustomHttpParameterCodec implements HttpParameterCodec {\n encodeKey(k: string): string {\n return encodeURIComponent(k);\n }\n encodeValue(v: string): string {\n return encodeURIComponent(v);\n }\n decodeKey(k: string): string {\n return decodeURIComponent(k);\n }\n decodeValue(v: string): string {\n return decodeURIComponent(v);\n }\n}\n","import { InjectionToken } from '@angular/core';\n\nexport const BASE_PATH = new InjectionToken<string>('basePath');\nexport const COLLECTION_FORMATS = {\n 'csv': ',',\n 'tsv': ' ',\n 'ssv': ' ',\n 'pipes': '|'\n}\n","import { HttpParameterCodec } from '@angular/common/http';\nimport { Param } from './param';\n\nexport interface MiraConfigurationParameters {\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n apiKeys?: {[ key: string ]: string};\n username?: string;\n password?: string;\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n accessToken?: string | (() => string);\n basePath?: string;\n withCredentials?: boolean;\n /**\n * Takes care of encoding query- and form-parameters.\n */\n encoder?: HttpParameterCodec;\n /**\n * Override the default method for encoding path parameters in various\n * <a href=\"https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values\">styles</a>.\n * <p>\n * See {@link README.md} for more details\n * </p>\n */\n encodeParam?: (param: Param) => string;\n /**\n * The keys are the names in the securitySchemes section of the OpenAPI\n * document. They should map to the value used for authentication\n * minus any standard prefixes such as 'Basic' or 'Bearer'.\n */\n credentials?: {[ key: string ]: string | (() => string | undefined)};\n}\n\nexport class MiraConfiguration {\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n apiKeys?: {[ key: string ]: string};\n username?: string;\n password?: string;\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n accessToken?: string | (() => string);\n basePath?: string;\n withCredentials?: boolean;\n /**\n * Takes care of encoding query- and form-parameters.\n */\n encoder?: HttpParameterCodec;\n /**\n * Encoding of various path parameter\n * <a href=\"https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values\">styles</a>.\n * <p>\n * See {@link README.md} for more details\n * </p>\n */\n encodeParam: (param: Param) => string;\n /**\n * The keys are the names in the securitySchemes section of the OpenAPI\n * document. They should map to the value used for authentication\n * minus any standard prefixes such as 'Basic' or 'Bearer'.\n */\n credentials: {[ key: string ]: string | (() => string | undefined)};\n\n constructor(configurationParameters: MiraConfigurationParameters = {}) {\n this.apiKeys = configurationParameters.apiKeys;\n this.username = configurationParameters.username;\n this.password = configurationParameters.password;\n this.accessToken = configurationParameters.accessToken;\n this.basePath = configurationParameters.basePath;\n this.withCredentials = configurationParameters.withCredentials;\n this.encoder = configurationParameters.encoder;\n if (configurationParameters.encodeParam) {\n this.encodeParam = configurationParameters.encodeParam;\n }\n else {\n this.encodeParam = param => this.defaultEncodeParam(param);\n }\n if (configurationParameters.credentials) {\n this.credentials = configurationParameters.credentials;\n }\n else {\n this.credentials = {};\n }\n }\n\n /**\n * Select the correct content-type to use for a request.\n * Uses {@link MiraConfiguration#isJsonMime} to determine the correct content-type.\n * If no content type is found return the first found type if the contentTypes is not empty\n * @param contentTypes - the array of content types that are available for selection\n * @returns the selected content-type or <code>undefined</code> if no selection could be made.\n */\n public selectHeaderContentType (contentTypes: string[]): string | undefined {\n if (contentTypes.length === 0) {\n return undefined;\n }\n\n const type = contentTypes.find((x: string) => this.isJsonMime(x));\n if (type === undefined) {\n return contentTypes[0];\n }\n return type;\n }\n\n /**\n * Select the correct accept content-type to use for a request.\n * Uses {@link MiraConfiguration#isJsonMime} to determine the correct accept content-type.\n * If no content type is found return the first found type if the contentTypes is not empty\n * @param accepts - the array of content types that are available for selection.\n * @returns the selected content-type or <code>undefined</code> if no selection could be made.\n */\n public selectHeaderAccept(accepts: string[]): string | undefined {\n if (accepts.length === 0) {\n return undefined;\n }\n\n const type = accepts.find((x: string) => this.isJsonMime(x));\n if (type === undefined) {\n return accepts[0];\n }\n return type;\n }\n\n /**\n * Check if the given MIME is a JSON MIME.\n * JSON MIME examples:\n * application/json\n * application/json; charset=UTF8\n * APPLICATION/JSON\n * application/vnd.company+json\n * @param mime - MIME (Multipurpose Internet Mail Extensions)\n * @return True if the given MIME is JSON, false otherwise.\n */\n public isJsonMime(mime: string): boolean {\n const jsonMime: RegExp = new RegExp('^(application\\/json|[^;/ \\t]+\\/[^;/ \\t]+[+]json)[ \\t]*(;.*)?$', 'i');\n return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');\n }\n\n public lookupCredential(key: string): string | undefined {\n const value = this.credentials[key];\n return typeof value === 'function'\n ? value()\n : value;\n }\n\n private defaultEncodeParam(param: Param): string {\n // This implementation exists as fallback for missing configuration\n // and for backwards compatibility to older typescript-angular generator versions.\n // It only works for the 'simple' parameter style.\n // Date-handling only works for the 'date-time' format.\n // All other styles and Date-formats are probably handled incorrectly.\n //\n // But: if that's all you need (i.e.: the most common use-case): no need for customization!\n\n const value = param.dataFormat === 'date-time' && param.value instanceof Date\n ? (param.value as Date).toISOString()\n : param.value;\n\n return encodeURIComponent(String(value));\n }\n}\n","/**\n * mira Item API\n * Item API for Project-Mira\n *\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n/* tslint:disable:no-unused-variable member-ordering */\n\nimport { Inject, Injectable, Optional } from '@angular/core';\nimport { HttpClient, HttpHeaders, HttpParams,\n HttpResponse, HttpEvent, HttpParameterCodec, HttpContext \n } from '@angular/common/http';\nimport { CustomHttpParameterCodec } from '../encoder';\nimport { Observable } from 'rxjs';\n\n// @ts-ignore\nimport { GetMainItemByIdResponse } from '../model/getMainItemByIdResponse';\n// @ts-ignore\nimport { GetOnAirItemListResponse } from '../model/getOnAirItemListResponse';\n\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS } from '../variables';\nimport { MiraConfiguration } from '../configuration';\nimport {\n DefaultMiraInterface\n} from './default.serviceInterface';\n\n\n\n@Injectable({\n providedIn: 'root'\n})\nexport class DefaultMira implements DefaultMiraInterface {\n\n protected basePath = 'http://localhost';\n public defaultHeaders = new HttpHeaders();\n public configuration = new MiraConfiguration();\n public encoder: HttpParameterCodec;\n\n constructor(protected httpClient: HttpClient, @Optional()@Inject(BASE_PATH) basePath: string|string[], @Optional() configuration: MiraConfiguration) {\n if (configuration) {\n this.configuration = configuration;\n }\n if (typeof this.configuration.basePath !== 'string') {\n const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;\n if (firstBasePath != undefined) {\n basePath = firstBasePath;\n }\n\n if (typeof basePath !== 'string') {\n basePath = this.basePath;\n }\n this.configuration.basePath = basePath;\n }\n this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();\n }\n\n\n // @ts-ignore\n private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {\n if (typeof value === \"object\" && value instanceof Date === false) {\n httpParams = this.addToHttpParamsRecursive(httpParams, value);\n } else {\n httpParams = this.addToHttpParamsRecursive(httpParams, value, key);\n }\n return httpParams;\n }\n\n private addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string): HttpParams {\n if (value == null) {\n return httpParams;\n }\n\n if (typeof value === \"object\") {\n if (Array.isArray(value)) {\n (value as any[]).forEach( elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));\n } else if (value instanceof Date) {\n if (key != null) {\n httpParams = httpParams.append(key, (value as Date).toISOString().substring(0, 10));\n } else {\n throw Error(\"key may not be null if value is Date\");\n }\n } else {\n Object.keys(value).forEach( k => httpParams = this.addToHttpParamsRecursive(\n httpParams, value[k], key != null ? `${key}.${k}` : k));\n }\n } else if (key != null) {\n httpParams = httpParams.append(key, value);\n } else {\n throw Error(\"key may not be null if value is not object or array\");\n }\n return httpParams;\n }\n\n /**\n * get a MainItem by id\n * @param id MainItem id\n * @param coverImage populate coverImage if true\n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public getMainItemById(id: number, coverImage?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<GetMainItemByIdResponse>;\n public getMainItemById(id: number, coverImage?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<GetMainItemByIdResponse>>;\n public getMainItemById(id: number, coverImage?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<GetMainItemByIdResponse>>;\n public getMainItemById(id: number, coverImage?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {\n if (id === null || id === undefined) {\n throw new Error('Required parameter id was null or undefined when calling getMainItemById.');\n }\n\n let localVarQueryParameters = new HttpParams({encoder: this.encoder});\n if (coverImage !== undefined && coverImage !== null) {\n localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,\n <any>coverImage, 'coverImage');\n }\n\n let localVarHeaders = this.defaultHeaders;\n\n let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;\n if (localVarHttpHeaderAcceptSelected === undefined) {\n // to determine the Accept header\n const httpHeaderAccepts: string[] = [\n 'application/json'\n ];\n localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);\n }\n if (localVarHttpHeaderAcceptSelected !== undefined) {\n localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);\n }\n\n let localVarHttpContext: HttpContext | undefined = options && options.context;\n if (localVarHttpContext === undefined) {\n localVarHttpContext = new HttpContext();\n }\n\n let localVarTransferCache: boolean | undefined = options && options.transferCache;\n if (localVarTransferCache === undefined) {\n localVarTransferCache = true;\n }\n\n\n let responseType_: 'text' | 'json' | 'blob' = 'json';\n if (localVarHttpHeaderAcceptSelected) {\n if (localVarHttpHeaderAcceptSelected.startsWith('text')) {\n responseType_ = 'text';\n } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {\n responseType_ = 'json';\n } else {\n responseType_ = 'blob';\n }\n }\n\n let localVarPath = `/public/item/main/${this.configuration.encodeParam({name: \"id\", value: id, in: \"path\", style: \"simple\", explode: false, dataType: \"number\", dataFormat: undefined})}`;\n return this.httpClient.request<GetMainItemByIdResponse>('get', `${this.configuration.basePath}${localVarPath}`,\n {\n context: localVarHttpContext,\n params: localVarQueryParameters,\n responseType: <any>responseType_,\n withCredentials: this.configuration.withCredentials,\n headers: localVarHeaders,\n observe: observe,\n transferCache: localVarTransferCache,\n reportProgress: reportProgress\n }\n );\n }\n\n /**\n * get a list of on air MainItems with cover image\n * @param type type of MainItem, must be either anime or real\n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public onAirItem(type: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<GetOnAirItemListResponse>;\n public onAirItem(type: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<GetOnAirItemListResponse>>;\n public onAirItem(type: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<GetOnAirItemListResponse>>;\n public onAirItem(type: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {\n if (type === null || type === undefined) {\n throw new Error('Required parameter type was null or undefined when calling onAirItem.');\n }\n\n let localVarQueryParameters = new HttpParams({encoder: this.encoder});\n if (type !== undefined && type !== null) {\n localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,\n <any>type, 'type');\n }\n\n let localVarHeaders = this.defaultHeaders;\n\n let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;\n if (localVarHttpHeaderAcceptSelected === undefined) {\n // to determine the Accept header\n const httpHeaderAccepts: string[] = [\n 'application/json'\n ];\n localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);\n }\n if (localVarHttpHeaderAcceptSelected !== undefined) {\n localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);\n }\n\n let localVarHttpContext: HttpContext | undefined = options && options.context;\n if (localVarHttpContext === undefined) {\n localVarHttpContext = new HttpContext();\n }\n\n let localVarTransferCache: boolean | undefined = options && options.transferCache;\n if (localVarTransferCache === undefined) {\n localVarTransferCache = true;\n }\n\n\n let responseType_: 'text' | 'json' | 'blob' = 'json';\n if (localVarHttpHeaderAcceptSelected) {\n if (localVarHttpHeaderAcceptSelected.startsWith('text')) {\n responseType_ = 'text';\n } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {\n responseType_ = 'json';\n } else {\n responseType_ = 'blob';\n }\n }\n\n let localVarPath = `/public/item/on-air`;\n return this.httpClient.request<GetOnAirItemListResponse>('get', `${this.configuration.basePath}${localVarPath}`,\n {\n context: localVarHttpContext,\n params: localVarQueryParameters,\n responseType: <any>responseType_,\n withCredentials: this.configuration.withCredentials,\n headers: localVarHeaders,\n observe: observe,\n transferCache: localVarTransferCache,\n reportProgress: reportProgress\n }\n );\n }\n\n}\n","export * from './default.service';\nimport { DefaultMira } from './default.service';\nexport * from './default.serviceInterface';\nexport const APIS = [DefaultMira];\n","/**\n * mira Item API\n * Item API for Project-Mira\n *\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nexport interface EntityBase { \n id: number;\n /**\n * RFC3339 Datetime\n */\n createdTime: string;\n /**\n * RFC3339 Datetime to set the updateTime\n */\n updateTime?: string;\n version: number;\n deleted: boolean;\n}\n\n","/**\n * mira Item API\n * Item API for Project-Mira\n *\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\n/**\n * image information\n */\nexport interface ImageInfo { \n id: number;\n url: string;\n width: number;\n height: number;\n dormantColor: string;\n}\n\n","/**\n * mira Item API\n * Item API for Project-Mira\n *\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nexport type ItemSubType = 'other' | 'TV' | 'web' | 'OVA' | 'movie' | 'Novel' | 'Comic' | 'Illustration' | 'jp' | 'en' | 'cn' | 'PC' | 'NDS' | 'PSP' | 'PS2' | 'PS3' | 'Xbox360' | 'Mac OS' | 'PS5' | 'Xbox Series X/S' | 'PS4' | 'Xbox One' | 'Nintendo Switch' | 'Wii U' | 'Wii' | 'PS Vita' | '3DS' | 'iOS' | 'Android' | 'ARC' | 'XBOX' | 'GameCube' | 'Dreamcast' | 'Nitendo 64' | 'PlayStation' | 'SFC' | 'FC' | 'NEOGEO Pocket Color' | 'GBA' | 'GB' | 'Virtual Boy' | 'WonderSwan Color' | 'WonderSwan';\n\nexport const ItemSubType = {\n Other: 'other' as ItemSubType,\n TV: 'TV' as ItemSubType,\n Web: 'web' as ItemSubType,\n OVA: 'OVA' as ItemSubType,\n Movie: 'movie' as ItemSubType,\n Novel: 'Novel' as ItemSubType,\n Comic: 'Comic' as ItemSubType,\n Illustration: 'Illustration' as ItemSubType,\n DramaJp: 'jp' as ItemSubType,\n DramaEn: 'en' as ItemSubType,\n DramaCn: 'cn' as ItemSubType,\n PC: 'PC' as ItemSubType,\n NDS: 'NDS' as ItemSubType,\n PSP: 'PSP' as ItemSubType,\n PS2: 'PS2' as ItemSubType,\n PS3: 'PS3' as ItemSubType,\n Xbox360: 'Xbox360' as ItemSubType,\n Mac: 'Mac OS' as ItemSubType,\n PS5: 'PS5' as ItemSubType,\n XboxSeriesXS: 'Xbox Series X/S' as ItemSubType,\n PS4: 'PS4' as ItemSubType,\n XboxOne: 'Xbox One' as ItemSubType,\n NintendoSwitch: 'Nintendo Switch' as ItemSubType,\n WiiU: 'Wii U' as ItemSubType,\n Wii: 'Wii' as ItemSubType,\n PSVita: 'PS Vita' as ItemSubType,\n N3DS: '3DS' as ItemSubType,\n IOS: 'iOS' as ItemSubType,\n Android: 'Android' as ItemSubType,\n ARC: 'ARC' as ItemSubType,\n XBOX: 'XBOX' as ItemSubType,\n GameCube: 'GameCube' as ItemSubType,\n Dreamcast: 'Dreamcast' as ItemSubType,\n Nintendo64: 'Nitendo 64' as ItemSubType,\n PlayStation: 'PlayStation' as ItemSubType,\n SFC: 'SFC' as ItemSubType,\n FC: 'FC' as ItemSubType,\n NEOGEOPocketColor: 'NEOGEO Pocket Color' as ItemSubType,\n GBA: 'GBA' as ItemSubType,\n GB: 'GB' as ItemSubType,\n VirtualBoy: 'Virtual Boy' as ItemSubType,\n WonderSwanColor: 'WonderSwan Color' as ItemSubType,\n WonderSwan: 'WonderSwan' as ItemSubType\n};\n\n","/**\n * mira Item API\n * Item API for Project-Mira\n *\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nexport type ItemType = 'anime' | 'game' | 'music' | 'book' | 'individual' | 'character' | 'real' | 'association' | 'corporation' | 'organization' | 'ship' | 'mechanic';\n\nexport const ItemType = {\n Anime: 'anime' as ItemType,\n Game: 'game' as ItemType,\n Music: 'music' as ItemType,\n Book: 'book' as ItemType,\n Individual: 'individual' as ItemType,\n Character: 'character' as ItemType,\n RealWorld: 'real' as ItemType,\n Association: 'association' as ItemType,\n Corporation: 'corporation' as ItemType,\n Organization: 'organization' as ItemType,\n Ship: 'ship' as ItemType,\n Mechanic: 'mechanic' as ItemType\n};\n\n","/**\n * mira Item API\n * Item API for Project-Mira\n *\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nimport { ItemSubType } from './itemSubType';\nimport { ItemType } from './itemType';\nimport { SubItem } from './subItem';\nimport { PropertyValue } from './propertyValue';\nimport { ImageInfo } from './imageInfo';\n\n\nexport interface MainItem { \n id: number;\n /**\n * RFC3339 Datetime\n */\n createdTime: string;\n /**\n * RFC3339 Datetime to set the updateTime\n */\n updateTime?: string;\n version: number;\n deleted: boolean;\n bgmId: number;\n isBgmHide: boolean;\n lockedInBgm: boolean;\n /**\n * Not used for ItemType.Individual and ItemType.Character\n */\n publicTime?: string;\n /**\n * Not used for ItemType.Individual and ItemType.Character\n */\n isPublicTimeLocked: boolean;\n properties: { [key: string]: PropertyValue; };\n isCoverImageLocked: boolean;\n mainType: MainItem.MainTypeEnum;\n type: ItemType;\n subType?: ItemSubType;\n /**\n * determine if the MainItem is collection item\n */\n isCollection: boolean;\n coverImage?: ImageInfo;\n subItem?: Array<SubItem>;\n}\nexport namespace MainItem {\n export type MainTypeEnum = 0 | 1 | 2;\n export const MainTypeEnum = {\n Item: 0 as MainTypeEnum,\n Person: 1 as MainTypeEnum,\n Character: 2 as MainTypeEnum\n };\n}\n\n\n","/**\n * mira Item API\n * Item API for Project-Mira\n *\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nimport { PropertyValueValue } from './propertyValueValue';\n\n\nexport interface PropertyValue { \n propertyType?: PropertyValue.PropertyTypeEnum | null;\n locked: boolean;\n value: PropertyValueValue;\n}\nexport namespace PropertyValue {\n export type PropertyTypeEnum = 'Staff' | 'Item' | 'Character' | 'Info' | 'Cast';\n export const PropertyTypeEnum = {\n Staff: 'Staff' as PropertyTypeEnum,\n Item: 'Item' as PropertyTypeEnum,\n Character: 'Character' as PropertyTypeEnum,\n Info: 'Info' as PropertyTypeEnum,\n Cast: 'Cast' as PropertyTypeEnum\n };\n}\n\n\n","/**\n * mira Item API\n * Item API for Project-Mira\n *\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\n/**\n * @type PropertyValueValue\n * @export\n */\nexport type PropertyValueValue = Array<string> | Array<{ [key: string]: string; }> | string;\n\n","/**\n * mira Item API\n * Item API for Project-Mira\n *\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nimport { PropertyValue } from './propertyValue';\n\n\nexport interface SubItem { \n id: number;\n /**\n * RFC3339 Datetime\n */\n createdTime: string;\n /**\n * RFC3339 Datetime to set the updateTime\n */\n updateTime?: string;\n version: number;\n deleted: boolean;\n bgmId: number;\n isBgmHide: boolean;\n lockedInBgm: boolean;\n /**\n * Not used for ItemType.Individual and ItemType.Character\n */\n publicTime?: string;\n /**\n * Not used for ItemType.Individual and ItemType.Character\n */\n isPublicTimeLocked: boolean;\n properties: { [key: string]: PropertyValue; };\n isCoverImageLocked: boolean;\n type: SubItem.TypeEnum;\n episodeType: SubItem.EpisodeTypeEnum | null;\n ep?: number | null;\n disc?: number | null;\n sort: number;\n}\nexport namespace SubItem {\n export type TypeEnum = 0 | 1;\n export const TypeEnum = {\n Episode: 0 as TypeEnum,\n Song: 1 as TypeEnum\n };\n export type EpisodeTypeEnum = 0 | 1;\n export const EpisodeTypeEnum = {\n Episode: 0 as EpisodeTypeEnum,\n Special: 1 as EpisodeTypeEnum\n };\n}\n\n\n","import { NgModule, ModuleWithProviders, SkipSelf, Optional } from '@angular/core';\nimport { MiraConfiguration } from './configuration';\nimport { HttpClient } from '@angular/common/http';\n\n\n@NgModule({\n imports: [],\n declarations: [],\n exports: [],\n providers: []\n})\nexport class MiraApiModule {\n public static forRoot(configurationFactory: () => MiraConfiguration): ModuleWithProviders<MiraApiModule> {\n return {\n ngModule: MiraApiModule,\n providers: [ { provide: MiraConfiguration, useFactory: configurationFactory } ]\n };\n }\n\n constructor( @Optional() @SkipSelf() parentModule: MiraApiModule,\n @Optional() http: HttpClient) {\n if (parentModule) {\n throw new Error('MiraApiModule is already loaded. Import in your base AppModule only.');\n }\n if (!http) {\n throw new Error('You need to import the HttpClientModule in your AppModule! \\n' +\n 'See also https://github.com/angular/angular/issues/20575');\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i2.MiraConfiguration"],"mappings":";;;;;AAEA;;;AAGG;MACU,wBAAwB,CAAA;AACjC,IAAA,SAAS,CAAC,CA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AA;;0BASiB,QAAQ;;0BAAI,QAAQ;;0BACpB,QAAQ;;;ACpB1B;;AAEG;;;;"}
@@ -9,15 +9,11 @@
9
9
  * Do not edit the class manually.
10
10
  */
11
11
  import { MainItem } from './mainItem';
12
- export interface GetMainItemListResponse {
12
+ export interface GetMainItemByIdResponse {
13
13
  /**
14
- * a list of MainItem
14
+ * a MainItem
15
15
  */
16
16
  data: Array<MainItem>;
17
- /**
18
- * total number of the result
19
- */
20
- total: number;
21
17
  /**
22
18
  * result code, 0 is successful.
23
19
  */
@@ -0,0 +1,25 @@
1
+ /**
2
+ * mira Item API
3
+ * Item API for Project-Mira
4
+ *
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
+ * https://openapi-generator.tech
9
+ * Do not edit the class manually.
10
+ */
11
+ import { OnAirItem } from './onAirItem';
12
+ export interface GetOnAirItemListResponse {
13
+ /**
14
+ * a list of OnAirItems
15
+ */
16
+ data: Array<OnAirItem>;
17
+ /**
18
+ * total number of the result
19
+ */
20
+ total?: number;
21
+ /**
22
+ * result code, 0 is successful.
23
+ */
24
+ status: number;
25
+ }
@@ -13,9 +13,7 @@
13
13
  */
14
14
  export interface ImageInfo {
15
15
  id: number;
16
- createTime: string;
17
16
  url: string;
18
- savePath: string;
19
17
  width: number;
20
18
  height: number;
21
19
  dormantColor: string;
@@ -0,0 +1,56 @@
1
+ /**
2
+ * mira Item API
3
+ * Item API for Project-Mira
4
+ *
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
+ * https://openapi-generator.tech
9
+ * Do not edit the class manually.
10
+ */
11
+ export type ItemSubType = 'other' | 'TV' | 'web' | 'OVA' | 'movie' | 'Novel' | 'Comic' | 'Illustration' | 'jp' | 'en' | 'cn' | 'PC' | 'NDS' | 'PSP' | 'PS2' | 'PS3' | 'Xbox360' | 'Mac OS' | 'PS5' | 'Xbox Series X/S' | 'PS4' | 'Xbox One' | 'Nintendo Switch' | 'Wii U' | 'Wii' | 'PS Vita' | '3DS' | 'iOS' | 'Android' | 'ARC' | 'XBOX' | 'GameCube' | 'Dreamcast' | 'Nitendo 64' | 'PlayStation' | 'SFC' | 'FC' | 'NEOGEO Pocket Color' | 'GBA' | 'GB' | 'Virtual Boy' | 'WonderSwan Color' | 'WonderSwan';
12
+ export declare const ItemSubType: {
13
+ Other: ItemSubType;
14
+ TV: ItemSubType;
15
+ Web: ItemSubType;
16
+ OVA: ItemSubType;
17
+ Movie: ItemSubType;
18
+ Novel: ItemSubType;
19
+ Comic: ItemSubType;
20
+ Illustration: ItemSubType;
21
+ DramaJp: ItemSubType;
22
+ DramaEn: ItemSubType;
23
+ DramaCn: ItemSubType;
24
+ PC: ItemSubType;
25
+ NDS: ItemSubType;
26
+ PSP: ItemSubType;
27
+ PS2: ItemSubType;
28
+ PS3: ItemSubType;
29
+ Xbox360: ItemSubType;
30
+ Mac: ItemSubType;
31
+ PS5: ItemSubType;
32
+ XboxSeriesXS: ItemSubType;
33
+ PS4: ItemSubType;
34
+ XboxOne: ItemSubType;
35
+ NintendoSwitch: ItemSubType;
36
+ WiiU: ItemSubType;
37
+ Wii: ItemSubType;
38
+ PSVita: ItemSubType;
39
+ N3DS: ItemSubType;
40
+ IOS: ItemSubType;
41
+ Android: ItemSubType;
42
+ ARC: ItemSubType;
43
+ XBOX: ItemSubType;
44
+ GameCube: ItemSubType;
45
+ Dreamcast: ItemSubType;
46
+ Nintendo64: ItemSubType;
47
+ PlayStation: ItemSubType;
48
+ SFC: ItemSubType;
49
+ FC: ItemSubType;
50
+ NEOGEOPocketColor: ItemSubType;
51
+ GBA: ItemSubType;
52
+ GB: ItemSubType;
53
+ VirtualBoy: ItemSubType;
54
+ WonderSwanColor: ItemSubType;
55
+ WonderSwan: ItemSubType;
56
+ };
@@ -0,0 +1,25 @@
1
+ /**
2
+ * mira Item API
3
+ * Item API for Project-Mira
4
+ *
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
+ * https://openapi-generator.tech
9
+ * Do not edit the class manually.
10
+ */
11
+ export type ItemType = 'anime' | 'game' | 'music' | 'book' | 'individual' | 'character' | 'real' | 'association' | 'corporation' | 'organization' | 'ship' | 'mechanic';
12
+ export declare const ItemType: {
13
+ Anime: ItemType;
14
+ Game: ItemType;
15
+ Music: ItemType;
16
+ Book: ItemType;
17
+ Individual: ItemType;
18
+ Character: ItemType;
19
+ RealWorld: ItemType;
20
+ Association: ItemType;
21
+ Corporation: ItemType;
22
+ Organization: ItemType;
23
+ Ship: ItemType;
24
+ Mechanic: ItemType;
25
+ };