flexinet-api 0.0.378-prerelease0 → 0.0.382-prerelease0
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 +2 -2
- package/api.ts +23 -28
- package/dist/api.d.ts +16 -25
- package/dist/api.js +14 -7
- package/dist/esm/api.d.ts +16 -25
- package/dist/esm/api.js +14 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## flexinet-api@0.0.
|
|
1
|
+
## flexinet-api@0.0.382-prerelease0
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install flexinet-api@0.0.
|
|
39
|
+
npm install flexinet-api@0.0.382-prerelease0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -2495,6 +2495,12 @@ export interface Target {
|
|
|
2495
2495
|
* @memberof Target
|
|
2496
2496
|
*/
|
|
2497
2497
|
'targetMu': TargetMu;
|
|
2498
|
+
/**
|
|
2499
|
+
*
|
|
2500
|
+
* @type {string}
|
|
2501
|
+
* @memberof Target
|
|
2502
|
+
*/
|
|
2503
|
+
'currency'?: string;
|
|
2498
2504
|
/**
|
|
2499
2505
|
*
|
|
2500
2506
|
* @type {Array<TargetLevel>}
|
|
@@ -2512,10 +2518,10 @@ export interface Target {
|
|
|
2512
2518
|
export interface TargetLevel {
|
|
2513
2519
|
/**
|
|
2514
2520
|
*
|
|
2515
|
-
* @type {
|
|
2521
|
+
* @type {number}
|
|
2516
2522
|
* @memberof TargetLevel
|
|
2517
2523
|
*/
|
|
2518
|
-
'
|
|
2524
|
+
'value': number;
|
|
2519
2525
|
/**
|
|
2520
2526
|
*
|
|
2521
2527
|
* @type {BonusValue}
|
|
@@ -2538,25 +2544,6 @@ export const TargetMu = {
|
|
|
2538
2544
|
export type TargetMu = typeof TargetMu[keyof typeof TargetMu];
|
|
2539
2545
|
|
|
2540
2546
|
|
|
2541
|
-
/**
|
|
2542
|
-
*
|
|
2543
|
-
* @export
|
|
2544
|
-
* @interface TargetValue
|
|
2545
|
-
*/
|
|
2546
|
-
export interface TargetValue {
|
|
2547
|
-
/**
|
|
2548
|
-
*
|
|
2549
|
-
* @type {number}
|
|
2550
|
-
* @memberof TargetValue
|
|
2551
|
-
*/
|
|
2552
|
-
'value': number;
|
|
2553
|
-
/**
|
|
2554
|
-
*
|
|
2555
|
-
* @type {string}
|
|
2556
|
-
* @memberof TargetValue
|
|
2557
|
-
*/
|
|
2558
|
-
'currency'?: string;
|
|
2559
|
-
}
|
|
2560
2547
|
/**
|
|
2561
2548
|
*
|
|
2562
2549
|
* @export
|
|
@@ -3843,10 +3830,11 @@ export const ClientApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
3843
3830
|
* @param {string} [nextToken] This is the pagination token
|
|
3844
3831
|
* @param {string} [search] search string
|
|
3845
3832
|
* @param {Array<string>} [referenceIDs] reference ID
|
|
3833
|
+
* @param {Array<string>} [clientIDs] client IDs
|
|
3846
3834
|
* @param {*} [options] Override http request option.
|
|
3847
3835
|
* @throws {RequiredError}
|
|
3848
3836
|
*/
|
|
3849
|
-
listClients: async (nextToken?: string, search?: string, referenceIDs?: Array<string>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3837
|
+
listClients: async (nextToken?: string, search?: string, referenceIDs?: Array<string>, clientIDs?: Array<string>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3850
3838
|
const localVarPath = `/admins/clients`;
|
|
3851
3839
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3852
3840
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -3875,6 +3863,10 @@ export const ClientApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
3875
3863
|
localVarQueryParameter['referenceIDs'] = referenceIDs;
|
|
3876
3864
|
}
|
|
3877
3865
|
|
|
3866
|
+
if (clientIDs) {
|
|
3867
|
+
localVarQueryParameter['clientIDs'] = clientIDs;
|
|
3868
|
+
}
|
|
3869
|
+
|
|
3878
3870
|
|
|
3879
3871
|
|
|
3880
3872
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -3924,11 +3916,12 @@ export const ClientApiFp = function(configuration?: Configuration) {
|
|
|
3924
3916
|
* @param {string} [nextToken] This is the pagination token
|
|
3925
3917
|
* @param {string} [search] search string
|
|
3926
3918
|
* @param {Array<string>} [referenceIDs] reference ID
|
|
3919
|
+
* @param {Array<string>} [clientIDs] client IDs
|
|
3927
3920
|
* @param {*} [options] Override http request option.
|
|
3928
3921
|
* @throws {RequiredError}
|
|
3929
3922
|
*/
|
|
3930
|
-
async listClients(nextToken?: string, search?: string, referenceIDs?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientListResponse>> {
|
|
3931
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listClients(nextToken, search, referenceIDs, options);
|
|
3923
|
+
async listClients(nextToken?: string, search?: string, referenceIDs?: Array<string>, clientIDs?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientListResponse>> {
|
|
3924
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClients(nextToken, search, referenceIDs, clientIDs, options);
|
|
3932
3925
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3933
3926
|
},
|
|
3934
3927
|
}
|
|
@@ -3967,11 +3960,12 @@ export const ClientApiFactory = function (configuration?: Configuration, basePat
|
|
|
3967
3960
|
* @param {string} [nextToken] This is the pagination token
|
|
3968
3961
|
* @param {string} [search] search string
|
|
3969
3962
|
* @param {Array<string>} [referenceIDs] reference ID
|
|
3963
|
+
* @param {Array<string>} [clientIDs] client IDs
|
|
3970
3964
|
* @param {*} [options] Override http request option.
|
|
3971
3965
|
* @throws {RequiredError}
|
|
3972
3966
|
*/
|
|
3973
|
-
listClients(nextToken?: string, search?: string, referenceIDs?: Array<string>, options?: any): AxiosPromise<ClientListResponse> {
|
|
3974
|
-
return localVarFp.listClients(nextToken, search, referenceIDs, options).then((request) => request(axios, basePath));
|
|
3967
|
+
listClients(nextToken?: string, search?: string, referenceIDs?: Array<string>, clientIDs?: Array<string>, options?: any): AxiosPromise<ClientListResponse> {
|
|
3968
|
+
return localVarFp.listClients(nextToken, search, referenceIDs, clientIDs, options).then((request) => request(axios, basePath));
|
|
3975
3969
|
},
|
|
3976
3970
|
};
|
|
3977
3971
|
};
|
|
@@ -4013,12 +4007,13 @@ export class ClientApi extends BaseAPI {
|
|
|
4013
4007
|
* @param {string} [nextToken] This is the pagination token
|
|
4014
4008
|
* @param {string} [search] search string
|
|
4015
4009
|
* @param {Array<string>} [referenceIDs] reference ID
|
|
4010
|
+
* @param {Array<string>} [clientIDs] client IDs
|
|
4016
4011
|
* @param {*} [options] Override http request option.
|
|
4017
4012
|
* @throws {RequiredError}
|
|
4018
4013
|
* @memberof ClientApi
|
|
4019
4014
|
*/
|
|
4020
|
-
public listClients(nextToken?: string, search?: string, referenceIDs?: Array<string>, options?: AxiosRequestConfig) {
|
|
4021
|
-
return ClientApiFp(this.configuration).listClients(nextToken, search, referenceIDs, options).then((request) => request(this.axios, this.basePath));
|
|
4015
|
+
public listClients(nextToken?: string, search?: string, referenceIDs?: Array<string>, clientIDs?: Array<string>, options?: AxiosRequestConfig) {
|
|
4016
|
+
return ClientApiFp(this.configuration).listClients(nextToken, search, referenceIDs, clientIDs, options).then((request) => request(this.axios, this.basePath));
|
|
4022
4017
|
}
|
|
4023
4018
|
}
|
|
4024
4019
|
|
package/dist/api.d.ts
CHANGED
|
@@ -2367,6 +2367,12 @@ export interface Target {
|
|
|
2367
2367
|
* @memberof Target
|
|
2368
2368
|
*/
|
|
2369
2369
|
'targetMu': TargetMu;
|
|
2370
|
+
/**
|
|
2371
|
+
*
|
|
2372
|
+
* @type {string}
|
|
2373
|
+
* @memberof Target
|
|
2374
|
+
*/
|
|
2375
|
+
'currency'?: string;
|
|
2370
2376
|
/**
|
|
2371
2377
|
*
|
|
2372
2378
|
* @type {Array<TargetLevel>}
|
|
@@ -2382,10 +2388,10 @@ export interface Target {
|
|
|
2382
2388
|
export interface TargetLevel {
|
|
2383
2389
|
/**
|
|
2384
2390
|
*
|
|
2385
|
-
* @type {
|
|
2391
|
+
* @type {number}
|
|
2386
2392
|
* @memberof TargetLevel
|
|
2387
2393
|
*/
|
|
2388
|
-
'
|
|
2394
|
+
'value': number;
|
|
2389
2395
|
/**
|
|
2390
2396
|
*
|
|
2391
2397
|
* @type {BonusValue}
|
|
@@ -2404,25 +2410,6 @@ export declare const TargetMu: {
|
|
|
2404
2410
|
readonly Liter: "liter";
|
|
2405
2411
|
};
|
|
2406
2412
|
export type TargetMu = typeof TargetMu[keyof typeof TargetMu];
|
|
2407
|
-
/**
|
|
2408
|
-
*
|
|
2409
|
-
* @export
|
|
2410
|
-
* @interface TargetValue
|
|
2411
|
-
*/
|
|
2412
|
-
export interface TargetValue {
|
|
2413
|
-
/**
|
|
2414
|
-
*
|
|
2415
|
-
* @type {number}
|
|
2416
|
-
* @memberof TargetValue
|
|
2417
|
-
*/
|
|
2418
|
-
'value': number;
|
|
2419
|
-
/**
|
|
2420
|
-
*
|
|
2421
|
-
* @type {string}
|
|
2422
|
-
* @memberof TargetValue
|
|
2423
|
-
*/
|
|
2424
|
-
'currency'?: string;
|
|
2425
|
-
}
|
|
2426
2413
|
/**
|
|
2427
2414
|
*
|
|
2428
2415
|
* @export
|
|
@@ -3309,10 +3296,11 @@ export declare const ClientApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
3309
3296
|
* @param {string} [nextToken] This is the pagination token
|
|
3310
3297
|
* @param {string} [search] search string
|
|
3311
3298
|
* @param {Array<string>} [referenceIDs] reference ID
|
|
3299
|
+
* @param {Array<string>} [clientIDs] client IDs
|
|
3312
3300
|
* @param {*} [options] Override http request option.
|
|
3313
3301
|
* @throws {RequiredError}
|
|
3314
3302
|
*/
|
|
3315
|
-
listClients: (nextToken?: string, search?: string, referenceIDs?: Array<string>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3303
|
+
listClients: (nextToken?: string, search?: string, referenceIDs?: Array<string>, clientIDs?: Array<string>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3316
3304
|
};
|
|
3317
3305
|
/**
|
|
3318
3306
|
* ClientApi - functional programming interface
|
|
@@ -3341,10 +3329,11 @@ export declare const ClientApiFp: (configuration?: Configuration) => {
|
|
|
3341
3329
|
* @param {string} [nextToken] This is the pagination token
|
|
3342
3330
|
* @param {string} [search] search string
|
|
3343
3331
|
* @param {Array<string>} [referenceIDs] reference ID
|
|
3332
|
+
* @param {Array<string>} [clientIDs] client IDs
|
|
3344
3333
|
* @param {*} [options] Override http request option.
|
|
3345
3334
|
* @throws {RequiredError}
|
|
3346
3335
|
*/
|
|
3347
|
-
listClients(nextToken?: string, search?: string, referenceIDs?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientListResponse>>;
|
|
3336
|
+
listClients(nextToken?: string, search?: string, referenceIDs?: Array<string>, clientIDs?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientListResponse>>;
|
|
3348
3337
|
};
|
|
3349
3338
|
/**
|
|
3350
3339
|
* ClientApi - factory interface
|
|
@@ -3373,10 +3362,11 @@ export declare const ClientApiFactory: (configuration?: Configuration, basePath?
|
|
|
3373
3362
|
* @param {string} [nextToken] This is the pagination token
|
|
3374
3363
|
* @param {string} [search] search string
|
|
3375
3364
|
* @param {Array<string>} [referenceIDs] reference ID
|
|
3365
|
+
* @param {Array<string>} [clientIDs] client IDs
|
|
3376
3366
|
* @param {*} [options] Override http request option.
|
|
3377
3367
|
* @throws {RequiredError}
|
|
3378
3368
|
*/
|
|
3379
|
-
listClients(nextToken?: string, search?: string, referenceIDs?: Array<string>, options?: any): AxiosPromise<ClientListResponse>;
|
|
3369
|
+
listClients(nextToken?: string, search?: string, referenceIDs?: Array<string>, clientIDs?: Array<string>, options?: any): AxiosPromise<ClientListResponse>;
|
|
3380
3370
|
};
|
|
3381
3371
|
/**
|
|
3382
3372
|
* ClientApi - object-oriented interface
|
|
@@ -3409,11 +3399,12 @@ export declare class ClientApi extends BaseAPI {
|
|
|
3409
3399
|
* @param {string} [nextToken] This is the pagination token
|
|
3410
3400
|
* @param {string} [search] search string
|
|
3411
3401
|
* @param {Array<string>} [referenceIDs] reference ID
|
|
3402
|
+
* @param {Array<string>} [clientIDs] client IDs
|
|
3412
3403
|
* @param {*} [options] Override http request option.
|
|
3413
3404
|
* @throws {RequiredError}
|
|
3414
3405
|
* @memberof ClientApi
|
|
3415
3406
|
*/
|
|
3416
|
-
listClients(nextToken?: string, search?: string, referenceIDs?: Array<string>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientListResponse, any>>;
|
|
3407
|
+
listClients(nextToken?: string, search?: string, referenceIDs?: Array<string>, clientIDs?: Array<string>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientListResponse, any>>;
|
|
3417
3408
|
}
|
|
3418
3409
|
/**
|
|
3419
3410
|
* ConfigurationApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -960,10 +960,11 @@ const ClientApiAxiosParamCreator = function (configuration) {
|
|
|
960
960
|
* @param {string} [nextToken] This is the pagination token
|
|
961
961
|
* @param {string} [search] search string
|
|
962
962
|
* @param {Array<string>} [referenceIDs] reference ID
|
|
963
|
+
* @param {Array<string>} [clientIDs] client IDs
|
|
963
964
|
* @param {*} [options] Override http request option.
|
|
964
965
|
* @throws {RequiredError}
|
|
965
966
|
*/
|
|
966
|
-
listClients: (nextToken, search, referenceIDs, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
967
|
+
listClients: (nextToken, search, referenceIDs, clientIDs, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
967
968
|
const localVarPath = `/admins/clients`;
|
|
968
969
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
969
970
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -986,6 +987,9 @@ const ClientApiAxiosParamCreator = function (configuration) {
|
|
|
986
987
|
if (referenceIDs) {
|
|
987
988
|
localVarQueryParameter['referenceIDs'] = referenceIDs;
|
|
988
989
|
}
|
|
990
|
+
if (clientIDs) {
|
|
991
|
+
localVarQueryParameter['clientIDs'] = clientIDs;
|
|
992
|
+
}
|
|
989
993
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
990
994
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
991
995
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1036,12 +1040,13 @@ const ClientApiFp = function (configuration) {
|
|
|
1036
1040
|
* @param {string} [nextToken] This is the pagination token
|
|
1037
1041
|
* @param {string} [search] search string
|
|
1038
1042
|
* @param {Array<string>} [referenceIDs] reference ID
|
|
1043
|
+
* @param {Array<string>} [clientIDs] client IDs
|
|
1039
1044
|
* @param {*} [options] Override http request option.
|
|
1040
1045
|
* @throws {RequiredError}
|
|
1041
1046
|
*/
|
|
1042
|
-
listClients(nextToken, search, referenceIDs, options) {
|
|
1047
|
+
listClients(nextToken, search, referenceIDs, clientIDs, options) {
|
|
1043
1048
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1044
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listClients(nextToken, search, referenceIDs, options);
|
|
1049
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listClients(nextToken, search, referenceIDs, clientIDs, options);
|
|
1045
1050
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1046
1051
|
});
|
|
1047
1052
|
},
|
|
@@ -1081,11 +1086,12 @@ const ClientApiFactory = function (configuration, basePath, axios) {
|
|
|
1081
1086
|
* @param {string} [nextToken] This is the pagination token
|
|
1082
1087
|
* @param {string} [search] search string
|
|
1083
1088
|
* @param {Array<string>} [referenceIDs] reference ID
|
|
1089
|
+
* @param {Array<string>} [clientIDs] client IDs
|
|
1084
1090
|
* @param {*} [options] Override http request option.
|
|
1085
1091
|
* @throws {RequiredError}
|
|
1086
1092
|
*/
|
|
1087
|
-
listClients(nextToken, search, referenceIDs, options) {
|
|
1088
|
-
return localVarFp.listClients(nextToken, search, referenceIDs, options).then((request) => request(axios, basePath));
|
|
1093
|
+
listClients(nextToken, search, referenceIDs, clientIDs, options) {
|
|
1094
|
+
return localVarFp.listClients(nextToken, search, referenceIDs, clientIDs, options).then((request) => request(axios, basePath));
|
|
1089
1095
|
},
|
|
1090
1096
|
};
|
|
1091
1097
|
};
|
|
@@ -1125,12 +1131,13 @@ class ClientApi extends base_1.BaseAPI {
|
|
|
1125
1131
|
* @param {string} [nextToken] This is the pagination token
|
|
1126
1132
|
* @param {string} [search] search string
|
|
1127
1133
|
* @param {Array<string>} [referenceIDs] reference ID
|
|
1134
|
+
* @param {Array<string>} [clientIDs] client IDs
|
|
1128
1135
|
* @param {*} [options] Override http request option.
|
|
1129
1136
|
* @throws {RequiredError}
|
|
1130
1137
|
* @memberof ClientApi
|
|
1131
1138
|
*/
|
|
1132
|
-
listClients(nextToken, search, referenceIDs, options) {
|
|
1133
|
-
return (0, exports.ClientApiFp)(this.configuration).listClients(nextToken, search, referenceIDs, options).then((request) => request(this.axios, this.basePath));
|
|
1139
|
+
listClients(nextToken, search, referenceIDs, clientIDs, options) {
|
|
1140
|
+
return (0, exports.ClientApiFp)(this.configuration).listClients(nextToken, search, referenceIDs, clientIDs, options).then((request) => request(this.axios, this.basePath));
|
|
1134
1141
|
}
|
|
1135
1142
|
}
|
|
1136
1143
|
exports.ClientApi = ClientApi;
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -2367,6 +2367,12 @@ export interface Target {
|
|
|
2367
2367
|
* @memberof Target
|
|
2368
2368
|
*/
|
|
2369
2369
|
'targetMu': TargetMu;
|
|
2370
|
+
/**
|
|
2371
|
+
*
|
|
2372
|
+
* @type {string}
|
|
2373
|
+
* @memberof Target
|
|
2374
|
+
*/
|
|
2375
|
+
'currency'?: string;
|
|
2370
2376
|
/**
|
|
2371
2377
|
*
|
|
2372
2378
|
* @type {Array<TargetLevel>}
|
|
@@ -2382,10 +2388,10 @@ export interface Target {
|
|
|
2382
2388
|
export interface TargetLevel {
|
|
2383
2389
|
/**
|
|
2384
2390
|
*
|
|
2385
|
-
* @type {
|
|
2391
|
+
* @type {number}
|
|
2386
2392
|
* @memberof TargetLevel
|
|
2387
2393
|
*/
|
|
2388
|
-
'
|
|
2394
|
+
'value': number;
|
|
2389
2395
|
/**
|
|
2390
2396
|
*
|
|
2391
2397
|
* @type {BonusValue}
|
|
@@ -2404,25 +2410,6 @@ export declare const TargetMu: {
|
|
|
2404
2410
|
readonly Liter: "liter";
|
|
2405
2411
|
};
|
|
2406
2412
|
export type TargetMu = typeof TargetMu[keyof typeof TargetMu];
|
|
2407
|
-
/**
|
|
2408
|
-
*
|
|
2409
|
-
* @export
|
|
2410
|
-
* @interface TargetValue
|
|
2411
|
-
*/
|
|
2412
|
-
export interface TargetValue {
|
|
2413
|
-
/**
|
|
2414
|
-
*
|
|
2415
|
-
* @type {number}
|
|
2416
|
-
* @memberof TargetValue
|
|
2417
|
-
*/
|
|
2418
|
-
'value': number;
|
|
2419
|
-
/**
|
|
2420
|
-
*
|
|
2421
|
-
* @type {string}
|
|
2422
|
-
* @memberof TargetValue
|
|
2423
|
-
*/
|
|
2424
|
-
'currency'?: string;
|
|
2425
|
-
}
|
|
2426
2413
|
/**
|
|
2427
2414
|
*
|
|
2428
2415
|
* @export
|
|
@@ -3309,10 +3296,11 @@ export declare const ClientApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
3309
3296
|
* @param {string} [nextToken] This is the pagination token
|
|
3310
3297
|
* @param {string} [search] search string
|
|
3311
3298
|
* @param {Array<string>} [referenceIDs] reference ID
|
|
3299
|
+
* @param {Array<string>} [clientIDs] client IDs
|
|
3312
3300
|
* @param {*} [options] Override http request option.
|
|
3313
3301
|
* @throws {RequiredError}
|
|
3314
3302
|
*/
|
|
3315
|
-
listClients: (nextToken?: string, search?: string, referenceIDs?: Array<string>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3303
|
+
listClients: (nextToken?: string, search?: string, referenceIDs?: Array<string>, clientIDs?: Array<string>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3316
3304
|
};
|
|
3317
3305
|
/**
|
|
3318
3306
|
* ClientApi - functional programming interface
|
|
@@ -3341,10 +3329,11 @@ export declare const ClientApiFp: (configuration?: Configuration) => {
|
|
|
3341
3329
|
* @param {string} [nextToken] This is the pagination token
|
|
3342
3330
|
* @param {string} [search] search string
|
|
3343
3331
|
* @param {Array<string>} [referenceIDs] reference ID
|
|
3332
|
+
* @param {Array<string>} [clientIDs] client IDs
|
|
3344
3333
|
* @param {*} [options] Override http request option.
|
|
3345
3334
|
* @throws {RequiredError}
|
|
3346
3335
|
*/
|
|
3347
|
-
listClients(nextToken?: string, search?: string, referenceIDs?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientListResponse>>;
|
|
3336
|
+
listClients(nextToken?: string, search?: string, referenceIDs?: Array<string>, clientIDs?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientListResponse>>;
|
|
3348
3337
|
};
|
|
3349
3338
|
/**
|
|
3350
3339
|
* ClientApi - factory interface
|
|
@@ -3373,10 +3362,11 @@ export declare const ClientApiFactory: (configuration?: Configuration, basePath?
|
|
|
3373
3362
|
* @param {string} [nextToken] This is the pagination token
|
|
3374
3363
|
* @param {string} [search] search string
|
|
3375
3364
|
* @param {Array<string>} [referenceIDs] reference ID
|
|
3365
|
+
* @param {Array<string>} [clientIDs] client IDs
|
|
3376
3366
|
* @param {*} [options] Override http request option.
|
|
3377
3367
|
* @throws {RequiredError}
|
|
3378
3368
|
*/
|
|
3379
|
-
listClients(nextToken?: string, search?: string, referenceIDs?: Array<string>, options?: any): AxiosPromise<ClientListResponse>;
|
|
3369
|
+
listClients(nextToken?: string, search?: string, referenceIDs?: Array<string>, clientIDs?: Array<string>, options?: any): AxiosPromise<ClientListResponse>;
|
|
3380
3370
|
};
|
|
3381
3371
|
/**
|
|
3382
3372
|
* ClientApi - object-oriented interface
|
|
@@ -3409,11 +3399,12 @@ export declare class ClientApi extends BaseAPI {
|
|
|
3409
3399
|
* @param {string} [nextToken] This is the pagination token
|
|
3410
3400
|
* @param {string} [search] search string
|
|
3411
3401
|
* @param {Array<string>} [referenceIDs] reference ID
|
|
3402
|
+
* @param {Array<string>} [clientIDs] client IDs
|
|
3412
3403
|
* @param {*} [options] Override http request option.
|
|
3413
3404
|
* @throws {RequiredError}
|
|
3414
3405
|
* @memberof ClientApi
|
|
3415
3406
|
*/
|
|
3416
|
-
listClients(nextToken?: string, search?: string, referenceIDs?: Array<string>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientListResponse, any>>;
|
|
3407
|
+
listClients(nextToken?: string, search?: string, referenceIDs?: Array<string>, clientIDs?: Array<string>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientListResponse, any>>;
|
|
3417
3408
|
}
|
|
3418
3409
|
/**
|
|
3419
3410
|
* ConfigurationApi - axios parameter creator
|
package/dist/esm/api.js
CHANGED
|
@@ -943,10 +943,11 @@ export const ClientApiAxiosParamCreator = function (configuration) {
|
|
|
943
943
|
* @param {string} [nextToken] This is the pagination token
|
|
944
944
|
* @param {string} [search] search string
|
|
945
945
|
* @param {Array<string>} [referenceIDs] reference ID
|
|
946
|
+
* @param {Array<string>} [clientIDs] client IDs
|
|
946
947
|
* @param {*} [options] Override http request option.
|
|
947
948
|
* @throws {RequiredError}
|
|
948
949
|
*/
|
|
949
|
-
listClients: (nextToken, search, referenceIDs, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
950
|
+
listClients: (nextToken, search, referenceIDs, clientIDs, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
950
951
|
const localVarPath = `/admins/clients`;
|
|
951
952
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
952
953
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -969,6 +970,9 @@ export const ClientApiAxiosParamCreator = function (configuration) {
|
|
|
969
970
|
if (referenceIDs) {
|
|
970
971
|
localVarQueryParameter['referenceIDs'] = referenceIDs;
|
|
971
972
|
}
|
|
973
|
+
if (clientIDs) {
|
|
974
|
+
localVarQueryParameter['clientIDs'] = clientIDs;
|
|
975
|
+
}
|
|
972
976
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
973
977
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
974
978
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1018,12 +1022,13 @@ export const ClientApiFp = function (configuration) {
|
|
|
1018
1022
|
* @param {string} [nextToken] This is the pagination token
|
|
1019
1023
|
* @param {string} [search] search string
|
|
1020
1024
|
* @param {Array<string>} [referenceIDs] reference ID
|
|
1025
|
+
* @param {Array<string>} [clientIDs] client IDs
|
|
1021
1026
|
* @param {*} [options] Override http request option.
|
|
1022
1027
|
* @throws {RequiredError}
|
|
1023
1028
|
*/
|
|
1024
|
-
listClients(nextToken, search, referenceIDs, options) {
|
|
1029
|
+
listClients(nextToken, search, referenceIDs, clientIDs, options) {
|
|
1025
1030
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1026
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listClients(nextToken, search, referenceIDs, options);
|
|
1031
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listClients(nextToken, search, referenceIDs, clientIDs, options);
|
|
1027
1032
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1028
1033
|
});
|
|
1029
1034
|
},
|
|
@@ -1062,11 +1067,12 @@ export const ClientApiFactory = function (configuration, basePath, axios) {
|
|
|
1062
1067
|
* @param {string} [nextToken] This is the pagination token
|
|
1063
1068
|
* @param {string} [search] search string
|
|
1064
1069
|
* @param {Array<string>} [referenceIDs] reference ID
|
|
1070
|
+
* @param {Array<string>} [clientIDs] client IDs
|
|
1065
1071
|
* @param {*} [options] Override http request option.
|
|
1066
1072
|
* @throws {RequiredError}
|
|
1067
1073
|
*/
|
|
1068
|
-
listClients(nextToken, search, referenceIDs, options) {
|
|
1069
|
-
return localVarFp.listClients(nextToken, search, referenceIDs, options).then((request) => request(axios, basePath));
|
|
1074
|
+
listClients(nextToken, search, referenceIDs, clientIDs, options) {
|
|
1075
|
+
return localVarFp.listClients(nextToken, search, referenceIDs, clientIDs, options).then((request) => request(axios, basePath));
|
|
1070
1076
|
},
|
|
1071
1077
|
};
|
|
1072
1078
|
};
|
|
@@ -1105,12 +1111,13 @@ export class ClientApi extends BaseAPI {
|
|
|
1105
1111
|
* @param {string} [nextToken] This is the pagination token
|
|
1106
1112
|
* @param {string} [search] search string
|
|
1107
1113
|
* @param {Array<string>} [referenceIDs] reference ID
|
|
1114
|
+
* @param {Array<string>} [clientIDs] client IDs
|
|
1108
1115
|
* @param {*} [options] Override http request option.
|
|
1109
1116
|
* @throws {RequiredError}
|
|
1110
1117
|
* @memberof ClientApi
|
|
1111
1118
|
*/
|
|
1112
|
-
listClients(nextToken, search, referenceIDs, options) {
|
|
1113
|
-
return ClientApiFp(this.configuration).listClients(nextToken, search, referenceIDs, options).then((request) => request(this.axios, this.basePath));
|
|
1119
|
+
listClients(nextToken, search, referenceIDs, clientIDs, options) {
|
|
1120
|
+
return ClientApiFp(this.configuration).listClients(nextToken, search, referenceIDs, clientIDs, options).then((request) => request(this.axios, this.basePath));
|
|
1114
1121
|
}
|
|
1115
1122
|
}
|
|
1116
1123
|
/**
|