@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
@@ -1,21 +0,0 @@
1
- /**
2
- * mira API
3
- * 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 { MainItem } from './mainItem';
12
- export interface ListMainItemResponse {
13
- /**
14
- * a list of MainItems
15
- */
16
- data: Array<MainItem>;
17
- /**
18
- * total number of the result
19
- */
20
- total: number;
21
- }
@@ -1,18 +0,0 @@
1
- /**
2
- * mira API
3
- * 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 { SubItemFavorite } from './subItemFavorite';
12
- export interface ListSubItemFavoriteResponse {
13
- data: Array<SubItemFavorite>;
14
- /**
15
- * total number of the result, if itemId is provided, this field will not available
16
- */
17
- total?: number;
18
- }
@@ -1,42 +0,0 @@
1
- /**
2
- * mira API
3
- * 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 { ItemSubType } from './itemSubType';
12
- import { ItemType } from './itemType';
13
- import { SubItem } from './subItem';
14
- import { PropertyValue } from './propertyValue';
15
- import { MainType } from './mainType';
16
- import { ImageInfo } from './imageInfo';
17
- export interface MainItem {
18
- id: string;
19
- bgmId: number;
20
- /**
21
- * Not used for ItemType.Individual and ItemType.Character
22
- */
23
- publicTime?: string;
24
- name?: string;
25
- nameCn?: string;
26
- properties: {
27
- [key: string]: PropertyValue;
28
- };
29
- mainType: MainType;
30
- type: ItemType;
31
- subType?: ItemSubType;
32
- /**
33
- * determine if the MainItem is collection item
34
- */
35
- isCollection: boolean;
36
- coverImage?: ImageInfo;
37
- squareImage?: ImageInfo;
38
- subItems?: Array<SubItem>;
39
- summary?: string;
40
- }
41
- export declare namespace MainItem {
42
- }
@@ -1,32 +0,0 @@
1
- /**
2
- * mira API
3
- * 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 { ItemSubType } from './itemSubType';
12
- import { ItemType } from './itemType';
13
- import { MainType } from './mainType';
14
- import { ImageInfo } from './imageInfo';
15
- export interface MainItemBasic {
16
- id: string;
17
- bgmId: string;
18
- mainType: MainType;
19
- type: ItemType;
20
- subType: ItemSubType;
21
- publicTime?: string;
22
- /**
23
- * determine if the MainItem is collection item
24
- */
25
- isCollection: boolean;
26
- coverImage?: ImageInfo;
27
- squareImage?: ImageInfo;
28
- name?: string;
29
- nameCn?: string;
30
- }
31
- export declare namespace MainItemBasic {
32
- }
@@ -1,16 +0,0 @@
1
- /**
2
- * mira API
3
- * 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 MainType = 0 | 1 | 2;
12
- export declare const MainType: {
13
- Item: MainType;
14
- Person: MainType;
15
- Character: MainType;
16
- };
package/model/models.d.ts DELETED
@@ -1,38 +0,0 @@
1
- export * from './batchGetMainItemByIdListResult';
2
- export * from './batchGetSubItemByIdListResult';
3
- export * from './characterRelationsWithMainItems';
4
- export * from './clientMapping';
5
- export * from './createSubItemFavoriteRequestBody';
6
- export * from './deleteClientMappingByMainItemResponse';
7
- export * from './errorResponse';
8
- export * from './favorite';
9
- export * from './favoriteProgress';
10
- export * from './favoriteStatus';
11
- export * from './getOnAirItemListResponse';
12
- export * from './idListRequestBody';
13
- export * from './imageInfo';
14
- export * from './itemCastCharacterRelation';
15
- export * from './itemEntity';
16
- export * from './itemPersonRelation';
17
- export * from './itemRelation';
18
- export * from './itemRelationsWithMainItems';
19
- export * from './itemSubType';
20
- export * from './itemType';
21
- export * from './listFavoritesResponse';
22
- export * from './listMainItemResponse';
23
- export * from './listSubItemFavoriteResponse';
24
- export * from './mainItem';
25
- export * from './mainItemBasic';
26
- export * from './mainType';
27
- export * from './onAirItem';
28
- export * from './patchFavoriteBody';
29
- export * from './personRelationsWithMainItems';
30
- export * from './propertyType';
31
- export * from './propertyValue';
32
- export * from './propertyValueValue';
33
- export * from './subItem';
34
- export * from './subItemFavorite';
35
- export * from './succeedEmptyResponse';
36
- export * from './syncFavoritesRequestBody';
37
- export * from './syncFavoritesRequestBodyFavoritesInner';
38
- export * from './syncFavoritesResponse';
@@ -1,28 +0,0 @@
1
- /**
2
- * mira API
3
- * 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 { ItemSubType } from './itemSubType';
12
- import { ItemType } from './itemType';
13
- import { ImageInfo } from './imageInfo';
14
- export interface OnAirItem {
15
- id: string;
16
- bgmId: number;
17
- /**
18
- * RFC3339 Datetime
19
- */
20
- publicTime?: string;
21
- type: ItemType;
22
- subType?: ItemSubType;
23
- name?: string;
24
- nameCn?: string;
25
- coverImage?: ImageInfo;
26
- }
27
- export declare namespace OnAirItem {
28
- }
@@ -1,18 +0,0 @@
1
- /**
2
- * mira API
3
- * 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 { FavoriteStatus } from './favoriteStatus';
12
- export interface PatchFavoriteBody {
13
- status: FavoriteStatus;
14
- reviewComment?: string;
15
- rating?: number;
16
- }
17
- export declare namespace PatchFavoriteBody {
18
- }
@@ -1,18 +0,0 @@
1
- /**
2
- * mira API
3
- * 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 { MainItemBasic } from './mainItemBasic';
12
- import { ItemPersonRelation } from './itemPersonRelation';
13
- import { ItemCastCharacterRelation } from './itemCastCharacterRelation';
14
- export interface PersonRelationsWithMainItems {
15
- mainItems: Array<MainItemBasic>;
16
- relatedItems: Array<ItemPersonRelation>;
17
- relatedCharacters: Array<ItemCastCharacterRelation>;
18
- }
@@ -1,18 +0,0 @@
1
- /**
2
- * mira API
3
- * 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 PropertyType = 'Staff' | 'Item' | 'Character' | 'Info' | 'Cast';
12
- export declare const PropertyType: {
13
- Staff: PropertyType;
14
- Item: PropertyType;
15
- Character: PropertyType;
16
- Info: PropertyType;
17
- Cast: PropertyType;
18
- };
@@ -1,21 +0,0 @@
1
- /**
2
- * mira API
3
- * 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 { PropertyValueValue } from './propertyValueValue';
12
- import { PropertyType } from './propertyType';
13
- export interface PropertyValue {
14
- anidbKey?: string;
15
- bgmKey?: string;
16
- propertyType?: PropertyType;
17
- locked: boolean;
18
- value: PropertyValueValue;
19
- }
20
- export declare namespace PropertyValue {
21
- }
@@ -1,17 +0,0 @@
1
- /**
2
- * mira API
3
- * 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
- /**
12
- * @type PropertyValueValue
13
- * @export
14
- */
15
- export type PropertyValueValue = Array<string> | Array<{
16
- [key: string]: string;
17
- }> | string;
@@ -1,45 +0,0 @@
1
- /**
2
- * mira API
3
- * 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 { MainItem } from './mainItem';
12
- import { PropertyValue } from './propertyValue';
13
- export interface SubItem {
14
- id: string;
15
- bgmId: number;
16
- /**
17
- * Not used for ItemType.Individual and ItemType.Character
18
- */
19
- publicTime?: string;
20
- name?: string;
21
- nameCn?: string;
22
- properties: {
23
- [key: string]: PropertyValue;
24
- };
25
- type: SubItem.TypeEnum;
26
- episodeType: SubItem.EpisodeTypeEnum | null;
27
- ep?: number | null;
28
- disc?: number | null;
29
- desc?: string;
30
- sort: number;
31
- mainItemId: string;
32
- mainItem?: MainItem;
33
- }
34
- export declare namespace SubItem {
35
- type TypeEnum = 0 | 1;
36
- const TypeEnum: {
37
- Episode: TypeEnum;
38
- Song: TypeEnum;
39
- };
40
- type EpisodeTypeEnum = 0 | 1;
41
- const EpisodeTypeEnum: {
42
- Episode: EpisodeTypeEnum;
43
- Special: EpisodeTypeEnum;
44
- };
45
- }
@@ -1,17 +0,0 @@
1
- /**
2
- * mira API
3
- * 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 { SubItem } from './subItem';
12
- export interface SubItemFavorite {
13
- id: string;
14
- subItem?: SubItem;
15
- userId: string;
16
- itemId: string;
17
- }
@@ -1,13 +0,0 @@
1
- /**
2
- * mira API
3
- * 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 interface SucceedEmptyResponse {
12
- message: string;
13
- }
@@ -1,15 +0,0 @@
1
- /**
2
- * mira API
3
- * 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 { SyncFavoritesRequestBodyFavoritesInner } from './syncFavoritesRequestBodyFavoritesInner';
12
- export interface SyncFavoritesRequestBody {
13
- favorites: Array<SyncFavoritesRequestBodyFavoritesInner>;
14
- overrideOnConflict?: boolean;
15
- }
@@ -1,15 +0,0 @@
1
- /**
2
- * mira API
3
- * 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 interface SyncFavoritesRequestBodyFavoritesInner {
12
- itemId: string;
13
- status: string;
14
- subFavorites: Array<string>;
15
- }
@@ -1,18 +0,0 @@
1
- /**
2
- * mira API
3
- * 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 { Favorite } from './favorite';
12
- import { SubItemFavorite } from './subItemFavorite';
13
- export interface SyncFavoritesResponse {
14
- favorites?: Array<Favorite>;
15
- subItemFavorites?: Array<SubItemFavorite>;
16
- deletedItemIds?: Array<string>;
17
- deletedSubItemIds?: Array<string>;
18
- }
package/param.d.ts DELETED
@@ -1,37 +0,0 @@
1
- /**
2
- * Standard parameter styles defined by OpenAPI spec
3
- */
4
- export type StandardParamStyle = 'matrix' | 'label' | 'form' | 'simple' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject';
5
- /**
6
- * The OpenAPI standard {@link StandardParamStyle}s may be extended by custom styles by the user.
7
- */
8
- export type ParamStyle = StandardParamStyle | string;
9
- /**
10
- * Standard parameter locations defined by OpenAPI spec
11
- */
12
- export type ParamLocation = 'query' | 'header' | 'path' | 'cookie';
13
- /**
14
- * Standard types as defined in <a href="https://swagger.io/specification/#data-types">OpenAPI Specification: Data Types</a>
15
- */
16
- export type StandardDataType = "integer" | "number" | "boolean" | "string" | "object" | "array";
17
- /**
18
- * Standard {@link DataType}s plus your own types/classes.
19
- */
20
- export type DataType = StandardDataType | string;
21
- /**
22
- * Standard formats as defined in <a href="https://swagger.io/specification/#data-types">OpenAPI Specification: Data Types</a>
23
- */
24
- export type StandardDataFormat = "int32" | "int64" | "float" | "double" | "byte" | "binary" | "date" | "date-time" | "password";
25
- export type DataFormat = StandardDataFormat | string;
26
- /**
27
- * The parameter to encode.
28
- */
29
- export interface Param {
30
- name: string;
31
- value: unknown;
32
- in: ParamLocation;
33
- style: ParamStyle;
34
- explode: boolean;
35
- dataType: DataType;
36
- dataFormat: DataFormat | undefined;
37
- }
package/variables.d.ts DELETED
@@ -1,8 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- export declare const BASE_PATH: InjectionToken<string>;
3
- export declare const COLLECTION_FORMATS: {
4
- csv: string;
5
- tsv: string;
6
- ssv: string;
7
- pipes: string;
8
- };