@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.
- package/README.md +82 -129
- package/api/default.service.d.ts +74 -9
- package/api/default.serviceInterface.d.ts +31 -1
- package/api.base.service.d.ts +21 -0
- package/configuration.d.ts +5 -2
- package/encoder.d.ts +6 -0
- package/fesm2022/irohalab-mira-sdk-angular.mjs +579 -742
- package/fesm2022/irohalab-mira-sdk-angular.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/model/batchGetMainItemByIdListResult.d.ts +0 -1
- package/model/batchGetSubItemByIdListResult.d.ts +0 -1
- package/model/characterRelationsWithMainItems.d.ts +0 -1
- package/model/clientMapping.d.ts +0 -1
- package/model/createSubItemFavoriteRequestBody.d.ts +0 -1
- package/model/deleteClientMappingByMainItemResponse.d.ts +0 -1
- package/model/errorResponse.d.ts +0 -1
- package/model/favorite.d.ts +0 -1
- package/model/favoriteProgress.d.ts +0 -1
- package/model/favoriteStatus.d.ts +6 -7
- package/model/getFavoriteResponse.d.ts +13 -0
- package/model/getOnAirItemListResponse.d.ts +0 -1
- package/model/idListRequestBody.d.ts +0 -1
- package/model/imageInfo.d.ts +0 -1
- package/model/itemCastCharacterRelation.d.ts +0 -1
- package/model/itemEntity.d.ts +0 -1
- package/model/itemPersonRelation.d.ts +0 -1
- package/model/itemRelation.d.ts +0 -1
- package/model/itemRelationsWithMainItems.d.ts +0 -1
- package/model/itemSubType.d.ts +44 -45
- package/model/itemType.d.ts +13 -14
- package/model/listFavoritesResponse.d.ts +0 -1
- package/model/listMainItemResponse.d.ts +0 -1
- package/model/listSubItemFavoriteResponse.d.ts +0 -1
- package/model/mainItem.d.ts +0 -1
- package/model/mainItemBasic.d.ts +0 -1
- package/model/mainType.d.ts +4 -5
- package/model/models.d.ts +1 -0
- package/model/onAirItem.d.ts +0 -1
- package/model/patchFavoriteBody.d.ts +0 -1
- package/model/personRelationsWithMainItems.d.ts +0 -1
- package/model/propertyType.d.ts +6 -7
- package/model/propertyValue.d.ts +0 -1
- package/model/propertyValueValue.d.ts +0 -1
- package/model/subItem.d.ts +6 -7
- package/model/subItemFavorite.d.ts +0 -1
- package/model/succeedEmptyResponse.d.ts +0 -1
- package/model/syncFavoritesRequestBody.d.ts +1 -9
- package/model/syncFavoritesRequestBodyFavoritesInner.d.ts +0 -1
- package/model/syncFavoritesResponse.d.ts +0 -1
- package/package.json +3 -5
- package/provide-api.d.ts +3 -0
- package/query.params.d.ts +61 -0
- package/esm2022/api/api.mjs +0 -5
- package/esm2022/api/default.service.mjs +0 -1489
- package/esm2022/api/default.serviceInterface.mjs +0 -2
- package/esm2022/api.module.mjs +0 -40
- package/esm2022/configuration.mjs +0 -129
- package/esm2022/encoder.mjs +0 -19
- package/esm2022/index.mjs +0 -7
- package/esm2022/irohalab-mira-sdk-angular.mjs +0 -5
- package/esm2022/model/batchGetMainItemByIdListResult.mjs +0 -2
- package/esm2022/model/batchGetSubItemByIdListResult.mjs +0 -2
- package/esm2022/model/characterRelationsWithMainItems.mjs +0 -2
- package/esm2022/model/clientMapping.mjs +0 -2
- package/esm2022/model/createSubItemFavoriteRequestBody.mjs +0 -12
- package/esm2022/model/deleteClientMappingByMainItemResponse.mjs +0 -12
- package/esm2022/model/errorResponse.mjs +0 -12
- package/esm2022/model/favorite.mjs +0 -2
- package/esm2022/model/favoriteProgress.mjs +0 -12
- package/esm2022/model/favoriteStatus.mjs +0 -18
- package/esm2022/model/getOnAirItemListResponse.mjs +0 -2
- package/esm2022/model/idListRequestBody.mjs +0 -12
- package/esm2022/model/imageInfo.mjs +0 -12
- package/esm2022/model/itemCastCharacterRelation.mjs +0 -12
- package/esm2022/model/itemEntity.mjs +0 -2
- package/esm2022/model/itemPersonRelation.mjs +0 -12
- package/esm2022/model/itemRelation.mjs +0 -12
- package/esm2022/model/itemRelationsWithMainItems.mjs +0 -2
- package/esm2022/model/itemSubType.mjs +0 -56
- package/esm2022/model/itemType.mjs +0 -25
- package/esm2022/model/listFavoritesResponse.mjs +0 -2
- package/esm2022/model/listMainItemResponse.mjs +0 -2
- package/esm2022/model/listSubItemFavoriteResponse.mjs +0 -2
- package/esm2022/model/mainItem.mjs +0 -2
- package/esm2022/model/mainItemBasic.mjs +0 -2
- package/esm2022/model/mainType.mjs +0 -16
- package/esm2022/model/models.mjs +0 -39
- package/esm2022/model/onAirItem.mjs +0 -2
- package/esm2022/model/patchFavoriteBody.mjs +0 -2
- package/esm2022/model/personRelationsWithMainItems.mjs +0 -2
- package/esm2022/model/propertyType.mjs +0 -18
- package/esm2022/model/propertyValue.mjs +0 -2
- package/esm2022/model/propertyValueValue.mjs +0 -12
- package/esm2022/model/subItem.mjs +0 -12
- package/esm2022/model/subItemFavorite.mjs +0 -2
- package/esm2022/model/succeedEmptyResponse.mjs +0 -12
- package/esm2022/model/syncFavoritesRequestBody.mjs +0 -8
- package/esm2022/model/syncFavoritesRequestBodyFavoritesInner.mjs +0 -12
- package/esm2022/model/syncFavoritesResponse.mjs +0 -2
- package/esm2022/param.mjs +0 -2
- package/esm2022/variables.mjs +0 -9
package/index.d.ts
CHANGED
package/model/clientMapping.d.ts
CHANGED
package/model/errorResponse.d.ts
CHANGED
package/model/favorite.d.ts
CHANGED
|
@@ -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:
|
|
14
|
-
Watched:
|
|
15
|
-
Watching:
|
|
16
|
-
OnHold:
|
|
17
|
-
Dropped:
|
|
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
|
+
}
|
package/model/imageInfo.d.ts
CHANGED
package/model/itemEntity.d.ts
CHANGED
package/model/itemRelation.d.ts
CHANGED
package/model/itemSubType.d.ts
CHANGED
|
@@ -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:
|
|
14
|
-
TV:
|
|
15
|
-
Web:
|
|
16
|
-
OVA:
|
|
17
|
-
Movie:
|
|
18
|
-
Novel:
|
|
19
|
-
Comic:
|
|
20
|
-
Illustration:
|
|
21
|
-
DramaJp:
|
|
22
|
-
DramaEn:
|
|
23
|
-
DramaCn:
|
|
24
|
-
PC:
|
|
25
|
-
NDS:
|
|
26
|
-
PSP:
|
|
27
|
-
PS2:
|
|
28
|
-
PS3:
|
|
29
|
-
Xbox360:
|
|
30
|
-
Mac:
|
|
31
|
-
PS5:
|
|
32
|
-
XboxSeriesXS:
|
|
33
|
-
PS4:
|
|
34
|
-
XboxOne:
|
|
35
|
-
NintendoSwitch:
|
|
36
|
-
WiiU:
|
|
37
|
-
Wii:
|
|
38
|
-
PSVita:
|
|
39
|
-
N3DS:
|
|
40
|
-
IOS:
|
|
41
|
-
Android:
|
|
42
|
-
ARC:
|
|
43
|
-
XBOX:
|
|
44
|
-
GameCube:
|
|
45
|
-
Dreamcast:
|
|
46
|
-
Nintendo64:
|
|
47
|
-
PlayStation:
|
|
48
|
-
SFC:
|
|
49
|
-
FC:
|
|
50
|
-
NEOGEOPocketColor:
|
|
51
|
-
GBA:
|
|
52
|
-
GB:
|
|
53
|
-
VirtualBoy:
|
|
54
|
-
WonderSwanColor:
|
|
55
|
-
WonderSwan:
|
|
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];
|
package/model/itemType.d.ts
CHANGED
|
@@ -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:
|
|
14
|
-
Game:
|
|
15
|
-
Music:
|
|
16
|
-
Book:
|
|
17
|
-
Individual:
|
|
18
|
-
Character:
|
|
19
|
-
RealWorld:
|
|
20
|
-
Association:
|
|
21
|
-
Corporation:
|
|
22
|
-
Organization:
|
|
23
|
-
Ship:
|
|
24
|
-
Mechanic:
|
|
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];
|
package/model/mainItem.d.ts
CHANGED
package/model/mainItemBasic.d.ts
CHANGED
package/model/mainType.d.ts
CHANGED
|
@@ -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:
|
|
14
|
-
Person:
|
|
15
|
-
Character:
|
|
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';
|
package/model/onAirItem.d.ts
CHANGED
package/model/propertyType.d.ts
CHANGED
|
@@ -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:
|
|
14
|
-
Item:
|
|
15
|
-
Character:
|
|
16
|
-
Info:
|
|
17
|
-
Cast:
|
|
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];
|
package/model/propertyValue.d.ts
CHANGED
package/model/subItem.d.ts
CHANGED
|
@@ -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:
|
|
38
|
-
Song:
|
|
35
|
+
readonly Episode: 0;
|
|
36
|
+
readonly Song: 1;
|
|
39
37
|
};
|
|
40
|
-
type
|
|
38
|
+
type TypeEnum = typeof TypeEnum[keyof typeof TypeEnum];
|
|
41
39
|
const EpisodeTypeEnum: {
|
|
42
|
-
Episode:
|
|
43
|
-
Special:
|
|
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
|
*
|
|
@@ -11,12 +10,5 @@
|
|
|
11
10
|
import { SyncFavoritesRequestBodyFavoritesInner } from './syncFavoritesRequestBodyFavoritesInner';
|
|
12
11
|
export interface SyncFavoritesRequestBody {
|
|
13
12
|
favorites: Array<SyncFavoritesRequestBodyFavoritesInner>;
|
|
14
|
-
|
|
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
|
}
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@irohalab/mira-sdk-angular",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.15.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/common": "^
|
|
6
|
-
"@angular/core": "^
|
|
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
|
}
|
package/provide-api.d.ts
ADDED
|
@@ -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;
|
package/esm2022/api/api.mjs
DELETED
|
@@ -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=
|