@irohalab/mira-sdk-angular 1.13.1 → 1.15.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/api/default.service.d.ts +74 -9
  3. package/api/default.serviceInterface.d.ts +31 -1
  4. package/api.base.service.d.ts +21 -0
  5. package/configuration.d.ts +5 -2
  6. package/encoder.d.ts +6 -0
  7. package/fesm2022/irohalab-mira-sdk-angular.mjs +579 -742
  8. package/fesm2022/irohalab-mira-sdk-angular.mjs.map +1 -1
  9. package/index.d.ts +1 -0
  10. package/model/batchGetMainItemByIdListResult.d.ts +0 -1
  11. package/model/batchGetSubItemByIdListResult.d.ts +0 -1
  12. package/model/characterRelationsWithMainItems.d.ts +0 -1
  13. package/model/clientMapping.d.ts +0 -1
  14. package/model/createSubItemFavoriteRequestBody.d.ts +0 -1
  15. package/model/deleteClientMappingByMainItemResponse.d.ts +0 -1
  16. package/model/errorResponse.d.ts +0 -1
  17. package/model/favorite.d.ts +0 -1
  18. package/model/favoriteProgress.d.ts +0 -1
  19. package/model/favoriteStatus.d.ts +6 -7
  20. package/model/getFavoriteResponse.d.ts +13 -0
  21. package/model/getOnAirItemListResponse.d.ts +0 -1
  22. package/model/idListRequestBody.d.ts +0 -1
  23. package/model/imageInfo.d.ts +0 -1
  24. package/model/itemCastCharacterRelation.d.ts +0 -1
  25. package/model/itemEntity.d.ts +0 -1
  26. package/model/itemPersonRelation.d.ts +0 -1
  27. package/model/itemRelation.d.ts +0 -1
  28. package/model/itemRelationsWithMainItems.d.ts +0 -1
  29. package/model/itemSubType.d.ts +44 -45
  30. package/model/itemType.d.ts +13 -14
  31. package/model/listFavoritesResponse.d.ts +0 -1
  32. package/model/listMainItemResponse.d.ts +0 -1
  33. package/model/listSubItemFavoriteResponse.d.ts +0 -1
  34. package/model/mainItem.d.ts +0 -1
  35. package/model/mainItemBasic.d.ts +0 -1
  36. package/model/mainType.d.ts +4 -5
  37. package/model/models.d.ts +1 -0
  38. package/model/onAirItem.d.ts +0 -1
  39. package/model/patchFavoriteBody.d.ts +0 -1
  40. package/model/personRelationsWithMainItems.d.ts +0 -1
  41. package/model/propertyType.d.ts +6 -7
  42. package/model/propertyValue.d.ts +0 -1
  43. package/model/propertyValueValue.d.ts +0 -1
  44. package/model/subItem.d.ts +6 -7
  45. package/model/subItemFavorite.d.ts +0 -1
  46. package/model/succeedEmptyResponse.d.ts +0 -1
  47. package/model/syncFavoritesRequestBody.d.ts +1 -9
  48. package/model/syncFavoritesRequestBodyFavoritesInner.d.ts +0 -1
  49. package/model/syncFavoritesResponse.d.ts +0 -1
  50. package/package.json +3 -5
  51. package/provide-api.d.ts +3 -0
  52. package/query.params.d.ts +61 -0
  53. package/esm2022/api/api.mjs +0 -5
  54. package/esm2022/api/default.service.mjs +0 -1489
  55. package/esm2022/api/default.serviceInterface.mjs +0 -2
  56. package/esm2022/api.module.mjs +0 -40
  57. package/esm2022/configuration.mjs +0 -129
  58. package/esm2022/encoder.mjs +0 -19
  59. package/esm2022/index.mjs +0 -7
  60. package/esm2022/irohalab-mira-sdk-angular.mjs +0 -5
  61. package/esm2022/model/batchGetMainItemByIdListResult.mjs +0 -2
  62. package/esm2022/model/batchGetSubItemByIdListResult.mjs +0 -2
  63. package/esm2022/model/characterRelationsWithMainItems.mjs +0 -2
  64. package/esm2022/model/clientMapping.mjs +0 -2
  65. package/esm2022/model/createSubItemFavoriteRequestBody.mjs +0 -12
  66. package/esm2022/model/deleteClientMappingByMainItemResponse.mjs +0 -12
  67. package/esm2022/model/errorResponse.mjs +0 -12
  68. package/esm2022/model/favorite.mjs +0 -2
  69. package/esm2022/model/favoriteProgress.mjs +0 -12
  70. package/esm2022/model/favoriteStatus.mjs +0 -18
  71. package/esm2022/model/getOnAirItemListResponse.mjs +0 -2
  72. package/esm2022/model/idListRequestBody.mjs +0 -12
  73. package/esm2022/model/imageInfo.mjs +0 -12
  74. package/esm2022/model/itemCastCharacterRelation.mjs +0 -12
  75. package/esm2022/model/itemEntity.mjs +0 -2
  76. package/esm2022/model/itemPersonRelation.mjs +0 -12
  77. package/esm2022/model/itemRelation.mjs +0 -12
  78. package/esm2022/model/itemRelationsWithMainItems.mjs +0 -2
  79. package/esm2022/model/itemSubType.mjs +0 -56
  80. package/esm2022/model/itemType.mjs +0 -25
  81. package/esm2022/model/listFavoritesResponse.mjs +0 -2
  82. package/esm2022/model/listMainItemResponse.mjs +0 -2
  83. package/esm2022/model/listSubItemFavoriteResponse.mjs +0 -2
  84. package/esm2022/model/mainItem.mjs +0 -2
  85. package/esm2022/model/mainItemBasic.mjs +0 -2
  86. package/esm2022/model/mainType.mjs +0 -16
  87. package/esm2022/model/models.mjs +0 -39
  88. package/esm2022/model/onAirItem.mjs +0 -2
  89. package/esm2022/model/patchFavoriteBody.mjs +0 -2
  90. package/esm2022/model/personRelationsWithMainItems.mjs +0 -2
  91. package/esm2022/model/propertyType.mjs +0 -18
  92. package/esm2022/model/propertyValue.mjs +0 -2
  93. package/esm2022/model/propertyValueValue.mjs +0 -12
  94. package/esm2022/model/subItem.mjs +0 -12
  95. package/esm2022/model/subItemFavorite.mjs +0 -2
  96. package/esm2022/model/succeedEmptyResponse.mjs +0 -12
  97. package/esm2022/model/syncFavoritesRequestBody.mjs +0 -8
  98. package/esm2022/model/syncFavoritesRequestBodyFavoritesInner.mjs +0 -12
  99. package/esm2022/model/syncFavoritesResponse.mjs +0 -2
  100. package/esm2022/param.mjs +0 -2
  101. package/esm2022/variables.mjs +0 -9
package/index.d.ts CHANGED
@@ -3,4 +3,5 @@ export * from './model/models';
3
3
  export * from './variables';
4
4
  export * from './configuration';
5
5
  export * from './api.module';
6
+ export * from './provide-api';
6
7
  export * from './param';
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * mira API
3
- * API for Project-Mira
4
3
  *
5
4
  *
6
5
  *
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * mira API
3
- * API for Project-Mira
4
3
  *
5
4
  *
6
5
  *
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * mira API
3
- * API for Project-Mira
4
3
  *
5
4
  *
6
5
  *
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * mira API
3
- * API for Project-Mira
4
3
  *
5
4
  *
6
5
  *
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * mira API
3
- * API for Project-Mira
4
3
  *
5
4
  *
6
5
  *
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * mira API
3
- * API for Project-Mira
4
3
  *
5
4
  *
6
5
  *
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * mira API
3
- * API for Project-Mira
4
3
  *
5
4
  *
6
5
  *
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * mira API
3
- * API for Project-Mira
4
3
  *
5
4
  *
6
5
  *
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * mira API
3
- * API for Project-Mira
4
3
  *
5
4
  *
6
5
  *
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * mira API
3
- * API for Project-Mira
4
3
  *
5
4
  *
6
5
  *
@@ -8,11 +7,11 @@
8
7
  * https://openapi-generator.tech
9
8
  * Do not edit the class manually.
10
9
  */
11
- export type FavoriteStatus = 'Planned' | 'Watched' | 'Watching' | 'OnHold' | 'Dropped';
12
10
  export declare const FavoriteStatus: {
13
- Planned: FavoriteStatus;
14
- Watched: FavoriteStatus;
15
- Watching: FavoriteStatus;
16
- OnHold: FavoriteStatus;
17
- Dropped: FavoriteStatus;
11
+ readonly Planned: "Planned";
12
+ readonly Watched: "Watched";
13
+ readonly Watching: "Watching";
14
+ readonly OnHold: "OnHold";
15
+ readonly Dropped: "Dropped";
18
16
  };
17
+ export type FavoriteStatus = typeof FavoriteStatus[keyof typeof FavoriteStatus];
@@ -0,0 +1,13 @@
1
+ /**
2
+ * mira API
3
+ *
4
+ *
5
+ *
6
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
7
+ * https://openapi-generator.tech
8
+ * Do not edit the class manually.
9
+ */
10
+ import { Favorite } from './favorite';
11
+ export interface GetFavoriteResponse {
12
+ data?: Favorite;
13
+ }
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * mira API
3
- * API for Project-Mira
4
3
  *
5
4
  *
6
5
  *
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * mira API
3
- * API for Project-Mira
4
3
  *
5
4
  *
6
5
  *
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * mira API
3
- * API for Project-Mira
4
3
  *
5
4
  *
6
5
  *
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * mira API
3
- * API for Project-Mira
4
3
  *
5
4
  *
6
5
  *
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * mira API
3
- * API for Project-Mira
4
3
  *
5
4
  *
6
5
  *
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * mira API
3
- * API for Project-Mira
4
3
  *
5
4
  *
6
5
  *
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * mira API
3
- * API for Project-Mira
4
3
  *
5
4
  *
6
5
  *
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * mira API
3
- * API for Project-Mira
4
3
  *
5
4
  *
6
5
  *
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * mira API
3
- * API for Project-Mira
4
3
  *
5
4
  *
6
5
  *
@@ -8,49 +7,49 @@
8
7
  * https://openapi-generator.tech
9
8
  * Do not edit the class manually.
10
9
  */
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
10
  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;
11
+ readonly Other: "other";
12
+ readonly TV: "TV";
13
+ readonly Web: "web";
14
+ readonly OVA: "OVA";
15
+ readonly Movie: "movie";
16
+ readonly Novel: "Novel";
17
+ readonly Comic: "Comic";
18
+ readonly Illustration: "Illustration";
19
+ readonly DramaJp: "jp";
20
+ readonly DramaEn: "en";
21
+ readonly DramaCn: "cn";
22
+ readonly PC: "PC";
23
+ readonly NDS: "NDS";
24
+ readonly PSP: "PSP";
25
+ readonly PS2: "PS2";
26
+ readonly PS3: "PS3";
27
+ readonly Xbox360: "Xbox360";
28
+ readonly Mac: "Mac OS";
29
+ readonly PS5: "PS5";
30
+ readonly XboxSeriesXS: "Xbox Series X/S";
31
+ readonly PS4: "PS4";
32
+ readonly XboxOne: "Xbox One";
33
+ readonly NintendoSwitch: "Nintendo Switch";
34
+ readonly WiiU: "Wii U";
35
+ readonly Wii: "Wii";
36
+ readonly PSVita: "PS Vita";
37
+ readonly N3DS: "3DS";
38
+ readonly IOS: "iOS";
39
+ readonly Android: "Android";
40
+ readonly ARC: "ARC";
41
+ readonly XBOX: "XBOX";
42
+ readonly GameCube: "GameCube";
43
+ readonly Dreamcast: "Dreamcast";
44
+ readonly Nintendo64: "Nitendo 64";
45
+ readonly PlayStation: "PlayStation";
46
+ readonly SFC: "SFC";
47
+ readonly FC: "FC";
48
+ readonly NEOGEOPocketColor: "NEOGEO Pocket Color";
49
+ readonly GBA: "GBA";
50
+ readonly GB: "GB";
51
+ readonly VirtualBoy: "Virtual Boy";
52
+ readonly WonderSwanColor: "WonderSwan Color";
53
+ readonly WonderSwan: "WonderSwan";
56
54
  };
55
+ export type ItemSubType = typeof ItemSubType[keyof typeof ItemSubType];
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * mira API
3
- * API for Project-Mira
4
3
  *
5
4
  *
6
5
  *
@@ -8,18 +7,18 @@
8
7
  * https://openapi-generator.tech
9
8
  * Do not edit the class manually.
10
9
  */
11
- export type ItemType = 'anime' | 'game' | 'music' | 'book' | 'individual' | 'character' | 'real' | 'association' | 'corporation' | 'organization' | 'ship' | 'mechanic';
12
10
  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;
11
+ readonly Anime: "anime";
12
+ readonly Game: "game";
13
+ readonly Music: "music";
14
+ readonly Book: "book";
15
+ readonly Individual: "individual";
16
+ readonly Character: "character";
17
+ readonly RealWorld: "real";
18
+ readonly Association: "association";
19
+ readonly Corporation: "corporation";
20
+ readonly Organization: "organization";
21
+ readonly Ship: "ship";
22
+ readonly Mechanic: "mechanic";
25
23
  };
24
+ export type ItemType = typeof ItemType[keyof typeof ItemType];
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * mira API
3
- * API for Project-Mira
4
3
  *
5
4
  *
6
5
  *
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * mira API
3
- * API for Project-Mira
4
3
  *
5
4
  *
6
5
  *
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * mira API
3
- * API for Project-Mira
4
3
  *
5
4
  *
6
5
  *
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * mira API
3
- * API for Project-Mira
4
3
  *
5
4
  *
6
5
  *
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * mira API
3
- * API for Project-Mira
4
3
  *
5
4
  *
6
5
  *
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * mira API
3
- * API for Project-Mira
4
3
  *
5
4
  *
6
5
  *
@@ -8,9 +7,9 @@
8
7
  * https://openapi-generator.tech
9
8
  * Do not edit the class manually.
10
9
  */
11
- export type MainType = 0 | 1 | 2;
12
10
  export declare const MainType: {
13
- Item: MainType;
14
- Person: MainType;
15
- Character: MainType;
11
+ readonly Item: 0;
12
+ readonly Person: 1;
13
+ readonly Character: 2;
16
14
  };
15
+ export type MainType = typeof MainType[keyof typeof MainType];
package/model/models.d.ts CHANGED
@@ -8,6 +8,7 @@ export * from './errorResponse';
8
8
  export * from './favorite';
9
9
  export * from './favoriteProgress';
10
10
  export * from './favoriteStatus';
11
+ export * from './getFavoriteResponse';
11
12
  export * from './getOnAirItemListResponse';
12
13
  export * from './idListRequestBody';
13
14
  export * from './imageInfo';
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * mira API
3
- * API for Project-Mira
4
3
  *
5
4
  *
6
5
  *
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * mira API
3
- * API for Project-Mira
4
3
  *
5
4
  *
6
5
  *
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * mira API
3
- * API for Project-Mira
4
3
  *
5
4
  *
6
5
  *
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * mira API
3
- * API for Project-Mira
4
3
  *
5
4
  *
6
5
  *
@@ -8,11 +7,11 @@
8
7
  * https://openapi-generator.tech
9
8
  * Do not edit the class manually.
10
9
  */
11
- export type PropertyType = 'Staff' | 'Item' | 'Character' | 'Info' | 'Cast';
12
10
  export declare const PropertyType: {
13
- Staff: PropertyType;
14
- Item: PropertyType;
15
- Character: PropertyType;
16
- Info: PropertyType;
17
- Cast: PropertyType;
11
+ readonly Staff: "Staff";
12
+ readonly Item: "Item";
13
+ readonly Character: "Character";
14
+ readonly Info: "Info";
15
+ readonly Cast: "Cast";
18
16
  };
17
+ export type PropertyType = typeof PropertyType[keyof typeof PropertyType];
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * mira API
3
- * API for Project-Mira
4
3
  *
5
4
  *
6
5
  *
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * mira API
3
- * API for Project-Mira
4
3
  *
5
4
  *
6
5
  *
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * mira API
3
- * API for Project-Mira
4
3
  *
5
4
  *
6
5
  *
@@ -32,14 +31,14 @@ export interface SubItem {
32
31
  mainItem?: MainItem;
33
32
  }
34
33
  export declare namespace SubItem {
35
- type TypeEnum = 0 | 1;
36
34
  const TypeEnum: {
37
- Episode: TypeEnum;
38
- Song: TypeEnum;
35
+ readonly Episode: 0;
36
+ readonly Song: 1;
39
37
  };
40
- type EpisodeTypeEnum = 0 | 1;
38
+ type TypeEnum = typeof TypeEnum[keyof typeof TypeEnum];
41
39
  const EpisodeTypeEnum: {
42
- Episode: EpisodeTypeEnum;
43
- Special: EpisodeTypeEnum;
40
+ readonly Episode: 0;
41
+ readonly Special: 1;
44
42
  };
43
+ type EpisodeTypeEnum = typeof EpisodeTypeEnum[keyof typeof EpisodeTypeEnum];
45
44
  }
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * mira API
3
- * API for Project-Mira
4
3
  *
5
4
  *
6
5
  *
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * mira API
3
- * API for Project-Mira
4
3
  *
5
4
  *
6
5
  *
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * mira API
3
- * API for Project-Mira
4
3
  *
5
4
  *
6
5
  *
@@ -11,12 +10,5 @@
11
10
  import { SyncFavoritesRequestBodyFavoritesInner } from './syncFavoritesRequestBodyFavoritesInner';
12
11
  export interface SyncFavoritesRequestBody {
13
12
  favorites: Array<SyncFavoritesRequestBodyFavoritesInner>;
14
- acceptSideOnMerge: SyncFavoritesRequestBody.AcceptSideOnMergeEnum;
15
- }
16
- export declare namespace SyncFavoritesRequestBody {
17
- type AcceptSideOnMergeEnum = 'incoming' | 'local';
18
- const AcceptSideOnMergeEnum: {
19
- Incoming: AcceptSideOnMergeEnum;
20
- Local: AcceptSideOnMergeEnum;
21
- };
13
+ overrideOnConflict?: boolean;
22
14
  }
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * mira API
3
- * API for Project-Mira
4
3
  *
5
4
  *
6
5
  *
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * mira API
3
- * API for Project-Mira
4
3
  *
5
4
  *
6
5
  *
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@irohalab/mira-sdk-angular",
3
- "version": "1.13.1",
3
+ "version": "1.15.0",
4
4
  "peerDependencies": {
5
- "@angular/common": "^18.2.0",
6
- "@angular/core": "^18.2.0"
5
+ "@angular/common": "^19.2.22",
6
+ "@angular/core": "^19.2.22"
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
  }
@@ -0,0 +1,3 @@
1
+ import { EnvironmentProviders } from "@angular/core";
2
+ import { MiraConfigurationParameters } from './configuration';
3
+ export declare function provideApi(configOrBasePath: string | MiraConfigurationParameters): EnvironmentProviders;
@@ -0,0 +1,61 @@
1
+ import { HttpParams, HttpParameterCodec } from '@angular/common/http';
2
+ export declare enum QueryParamStyle {
3
+ Json = 0,
4
+ Form = 1,
5
+ DeepObject = 2,
6
+ SpaceDelimited = 3,
7
+ PipeDelimited = 4
8
+ }
9
+ export type Delimiter = "," | " " | "|" | "\t";
10
+ export interface ParamOptions {
11
+ /** When true, serialized as multiple repeated key=value pairs. When false, serialized as a single key with joined values using `delimiter`. */
12
+ explode?: boolean;
13
+ /** Delimiter used when explode=false. The delimiter itself is inserted unencoded between encoded values. */
14
+ delimiter?: Delimiter;
15
+ }
16
+ export declare class OpenApiHttpParams {
17
+ private params;
18
+ private defaults;
19
+ private encoder;
20
+ /**
21
+ * @param encoder Parameter serializer
22
+ * @param defaults Global defaults used when a specific parameter has no explicit options.
23
+ * By OpenAPI default, explode is true for query params with style=form.
24
+ */
25
+ constructor(encoder?: HttpParameterCodec, defaults?: {
26
+ explode?: boolean;
27
+ delimiter?: Delimiter;
28
+ });
29
+ private resolveOptions;
30
+ /**
31
+ * Replace the parameter's values and (optionally) its options.
32
+ * Options are stored per-parameter (not global).
33
+ */
34
+ set(key: string, values: string[] | string, options?: ParamOptions): this;
35
+ /**
36
+ * Append a single value to the parameter. If the parameter didn't exist it will be created
37
+ * and use resolved options (global defaults merged with any provided options).
38
+ */
39
+ append(key: string, value: string, options?: ParamOptions): this;
40
+ /**
41
+ * Serialize to a query string according to per-parameter OpenAPI options.
42
+ * - If explode=true for that parameter → repeated key=value pairs (each value encoded).
43
+ * - If explode=false for that parameter → single key=value where values are individually encoded
44
+ * and joined using the configured delimiter. The delimiter character is inserted AS-IS
45
+ * (not percent-encoded).
46
+ */
47
+ toString(): string;
48
+ /**
49
+ * Return parameters as a plain record.
50
+ * - If a parameter has exactly one value, returns that value directly.
51
+ * - If a parameter has multiple values, returns a readonly array of values.
52
+ */
53
+ toRecord(): Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
54
+ /**
55
+ * Return an Angular's HttpParams with an identity parameter codec as the parameters are already encoded.
56
+ */
57
+ toHttpParams(): HttpParams;
58
+ }
59
+ export declare function concatHttpParamsObject(httpParams: OpenApiHttpParams, key: string, item: {
60
+ [index: string]: any;
61
+ }, delimiter: Delimiter): OpenApiHttpParams;
@@ -1,5 +0,0 @@
1
- export * from './default.service';
2
- import { DefaultMira } from './default.service';
3
- export * from './default.serviceInterface';
4
- export const APIS = [DefaultMira];
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvbWlyYS1zZGstYW5ndWxhci9zcmMvYXBpL2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLG1CQUFtQixDQUFDO0FBQ2xDLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUNoRCxjQUFjLDRCQUE0QixDQUFDO0FBQzNDLE1BQU0sQ0FBQyxNQUFNLElBQUksR0FBRyxDQUFDLFdBQVcsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9kZWZhdWx0LnNlcnZpY2UnO1xuaW1wb3J0IHsgRGVmYXVsdE1pcmEgfSBmcm9tICcuL2RlZmF1bHQuc2VydmljZSc7XG5leHBvcnQgKiBmcm9tICcuL2RlZmF1bHQuc2VydmljZUludGVyZmFjZSc7XG5leHBvcnQgY29uc3QgQVBJUyA9IFtEZWZhdWx0TWlyYV07XG4iXX0=