flexinet-api 0.0.429-prerelease0 → 0.0.444-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 +156 -109
- package/dist/api.d.ts +105 -72
- package/dist/api.js +133 -109
- package/dist/esm/api.d.ts +105 -72
- package/dist/esm/api.js +133 -109
- package/package.json +1 -1
package/dist/esm/api.js
CHANGED
|
@@ -493,14 +493,14 @@ export const BalanceApiAxiosParamCreator = function (configuration) {
|
|
|
493
493
|
/**
|
|
494
494
|
* Get balance
|
|
495
495
|
* @summary Get balance
|
|
496
|
-
* @param {string}
|
|
496
|
+
* @param {Array<string>} beneficiaryValues Beneficiary values to filter by
|
|
497
497
|
* @param {BeneficiaryKind} kind This is the beneficiary kind
|
|
498
498
|
* @param {*} [options] Override http request option.
|
|
499
499
|
* @throws {RequiredError}
|
|
500
500
|
*/
|
|
501
|
-
getBalance: (
|
|
502
|
-
// verify required parameter '
|
|
503
|
-
assertParamExists('getBalance', '
|
|
501
|
+
getBalance: (beneficiaryValues, kind, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
502
|
+
// verify required parameter 'beneficiaryValues' is not null or undefined
|
|
503
|
+
assertParamExists('getBalance', 'beneficiaryValues', beneficiaryValues);
|
|
504
504
|
// verify required parameter 'kind' is not null or undefined
|
|
505
505
|
assertParamExists('getBalance', 'kind', kind);
|
|
506
506
|
const localVarPath = `/admins/balances`;
|
|
@@ -516,8 +516,8 @@ export const BalanceApiAxiosParamCreator = function (configuration) {
|
|
|
516
516
|
// authentication jwt required
|
|
517
517
|
// http bearer authentication required
|
|
518
518
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
519
|
-
if (
|
|
520
|
-
localVarQueryParameter['
|
|
519
|
+
if (beneficiaryValues) {
|
|
520
|
+
localVarQueryParameter['beneficiaryValues'] = beneficiaryValues;
|
|
521
521
|
}
|
|
522
522
|
if (kind !== undefined) {
|
|
523
523
|
localVarQueryParameter['kind'] = kind;
|
|
@@ -580,6 +580,9 @@ export const BalanceApiAxiosParamCreator = function (configuration) {
|
|
|
580
580
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
581
581
|
const localVarHeaderParameter = {};
|
|
582
582
|
const localVarQueryParameter = {};
|
|
583
|
+
// authentication jwt required
|
|
584
|
+
// http bearer authentication required
|
|
585
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
583
586
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
584
587
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
585
588
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -634,14 +637,14 @@ export const BalanceApiFp = function (configuration) {
|
|
|
634
637
|
/**
|
|
635
638
|
* Get balance
|
|
636
639
|
* @summary Get balance
|
|
637
|
-
* @param {string}
|
|
640
|
+
* @param {Array<string>} beneficiaryValues Beneficiary values to filter by
|
|
638
641
|
* @param {BeneficiaryKind} kind This is the beneficiary kind
|
|
639
642
|
* @param {*} [options] Override http request option.
|
|
640
643
|
* @throws {RequiredError}
|
|
641
644
|
*/
|
|
642
|
-
getBalance(
|
|
645
|
+
getBalance(beneficiaryValues, kind, options) {
|
|
643
646
|
return __awaiter(this, void 0, void 0, function* () {
|
|
644
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getBalance(
|
|
647
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getBalance(beneficiaryValues, kind, options);
|
|
645
648
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
646
649
|
});
|
|
647
650
|
},
|
|
@@ -697,13 +700,13 @@ export const BalanceApiFactory = function (configuration, basePath, axios) {
|
|
|
697
700
|
/**
|
|
698
701
|
* Get balance
|
|
699
702
|
* @summary Get balance
|
|
700
|
-
* @param {string}
|
|
703
|
+
* @param {Array<string>} beneficiaryValues Beneficiary values to filter by
|
|
701
704
|
* @param {BeneficiaryKind} kind This is the beneficiary kind
|
|
702
705
|
* @param {*} [options] Override http request option.
|
|
703
706
|
* @throws {RequiredError}
|
|
704
707
|
*/
|
|
705
|
-
getBalance(
|
|
706
|
-
return localVarFp.getBalance(
|
|
708
|
+
getBalance(beneficiaryValues, kind, options) {
|
|
709
|
+
return localVarFp.getBalance(beneficiaryValues, kind, options).then((request) => request(axios, basePath));
|
|
707
710
|
},
|
|
708
711
|
/**
|
|
709
712
|
* Get balance for the user
|
|
@@ -748,14 +751,14 @@ export class BalanceApi extends BaseAPI {
|
|
|
748
751
|
/**
|
|
749
752
|
* Get balance
|
|
750
753
|
* @summary Get balance
|
|
751
|
-
* @param {string}
|
|
754
|
+
* @param {Array<string>} beneficiaryValues Beneficiary values to filter by
|
|
752
755
|
* @param {BeneficiaryKind} kind This is the beneficiary kind
|
|
753
756
|
* @param {*} [options] Override http request option.
|
|
754
757
|
* @throws {RequiredError}
|
|
755
758
|
* @memberof BalanceApi
|
|
756
759
|
*/
|
|
757
|
-
getBalance(
|
|
758
|
-
return BalanceApiFp(this.configuration).getBalance(
|
|
760
|
+
getBalance(beneficiaryValues, kind, options) {
|
|
761
|
+
return BalanceApiFp(this.configuration).getBalance(beneficiaryValues, kind, options).then((request) => request(this.axios, this.basePath));
|
|
759
762
|
}
|
|
760
763
|
/**
|
|
761
764
|
* Get balance for the user
|
|
@@ -2207,13 +2210,13 @@ export const OrderApiAxiosParamCreator = function (configuration) {
|
|
|
2207
2210
|
* @param {string} [paginationToken] This is the pagination token
|
|
2208
2211
|
* @param {string} [search] Search for product or order
|
|
2209
2212
|
* @param {string} [productId] Filter by token
|
|
2210
|
-
* @param {string} [
|
|
2213
|
+
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
2211
2214
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
2212
2215
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
2213
2216
|
* @param {*} [options] Override http request option.
|
|
2214
2217
|
* @throws {RequiredError}
|
|
2215
2218
|
*/
|
|
2216
|
-
listOrders: (paginationToken, search, productId,
|
|
2219
|
+
listOrders: (paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2217
2220
|
const localVarPath = `/admins/orders`;
|
|
2218
2221
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2219
2222
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -2236,8 +2239,8 @@ export const OrderApiAxiosParamCreator = function (configuration) {
|
|
|
2236
2239
|
if (productId !== undefined) {
|
|
2237
2240
|
localVarQueryParameter['productId'] = productId;
|
|
2238
2241
|
}
|
|
2239
|
-
if (
|
|
2240
|
-
localVarQueryParameter['
|
|
2242
|
+
if (balanceIDs) {
|
|
2243
|
+
localVarQueryParameter['balanceIDs'] = balanceIDs;
|
|
2241
2244
|
}
|
|
2242
2245
|
if (createdAfter !== undefined) {
|
|
2243
2246
|
localVarQueryParameter['createdAfter'] = (createdAfter instanceof Date) ?
|
|
@@ -2262,14 +2265,14 @@ export const OrderApiAxiosParamCreator = function (configuration) {
|
|
|
2262
2265
|
* @summary List existing orders
|
|
2263
2266
|
* @param {string} [paginationToken] This is the pagination token
|
|
2264
2267
|
* @param {string} [search] Search for product or order
|
|
2265
|
-
* @param {string} [
|
|
2266
|
-
* @param {string} [
|
|
2268
|
+
* @param {string} [productID] Filter by token
|
|
2269
|
+
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
2267
2270
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
2268
2271
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
2269
2272
|
* @param {*} [options] Override http request option.
|
|
2270
2273
|
* @throws {RequiredError}
|
|
2271
2274
|
*/
|
|
2272
|
-
listOrdersUser: (paginationToken, search,
|
|
2275
|
+
listOrdersUser: (paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2273
2276
|
const localVarPath = `/users/orders`;
|
|
2274
2277
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2275
2278
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -2286,11 +2289,11 @@ export const OrderApiAxiosParamCreator = function (configuration) {
|
|
|
2286
2289
|
if (search !== undefined) {
|
|
2287
2290
|
localVarQueryParameter['search'] = search;
|
|
2288
2291
|
}
|
|
2289
|
-
if (
|
|
2290
|
-
localVarQueryParameter['
|
|
2292
|
+
if (productID !== undefined) {
|
|
2293
|
+
localVarQueryParameter['productID'] = productID;
|
|
2291
2294
|
}
|
|
2292
|
-
if (
|
|
2293
|
-
localVarQueryParameter['
|
|
2295
|
+
if (balanceIDs) {
|
|
2296
|
+
localVarQueryParameter['balanceIDs'] = balanceIDs;
|
|
2294
2297
|
}
|
|
2295
2298
|
if (createdAfter !== undefined) {
|
|
2296
2299
|
localVarQueryParameter['createdAfter'] = (createdAfter instanceof Date) ?
|
|
@@ -2351,15 +2354,15 @@ export const OrderApiFp = function (configuration) {
|
|
|
2351
2354
|
* @param {string} [paginationToken] This is the pagination token
|
|
2352
2355
|
* @param {string} [search] Search for product or order
|
|
2353
2356
|
* @param {string} [productId] Filter by token
|
|
2354
|
-
* @param {string} [
|
|
2357
|
+
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
2355
2358
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
2356
2359
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
2357
2360
|
* @param {*} [options] Override http request option.
|
|
2358
2361
|
* @throws {RequiredError}
|
|
2359
2362
|
*/
|
|
2360
|
-
listOrders(paginationToken, search, productId,
|
|
2363
|
+
listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, options) {
|
|
2361
2364
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2362
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrders(paginationToken, search, productId,
|
|
2365
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, options);
|
|
2363
2366
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2364
2367
|
});
|
|
2365
2368
|
},
|
|
@@ -2368,16 +2371,16 @@ export const OrderApiFp = function (configuration) {
|
|
|
2368
2371
|
* @summary List existing orders
|
|
2369
2372
|
* @param {string} [paginationToken] This is the pagination token
|
|
2370
2373
|
* @param {string} [search] Search for product or order
|
|
2371
|
-
* @param {string} [
|
|
2372
|
-
* @param {string} [
|
|
2374
|
+
* @param {string} [productID] Filter by token
|
|
2375
|
+
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
2373
2376
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
2374
2377
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
2375
2378
|
* @param {*} [options] Override http request option.
|
|
2376
2379
|
* @throws {RequiredError}
|
|
2377
2380
|
*/
|
|
2378
|
-
listOrdersUser(paginationToken, search,
|
|
2381
|
+
listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, options) {
|
|
2379
2382
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2380
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrdersUser(paginationToken, search,
|
|
2383
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, options);
|
|
2381
2384
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2382
2385
|
});
|
|
2383
2386
|
},
|
|
@@ -2416,29 +2419,29 @@ export const OrderApiFactory = function (configuration, basePath, axios) {
|
|
|
2416
2419
|
* @param {string} [paginationToken] This is the pagination token
|
|
2417
2420
|
* @param {string} [search] Search for product or order
|
|
2418
2421
|
* @param {string} [productId] Filter by token
|
|
2419
|
-
* @param {string} [
|
|
2422
|
+
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
2420
2423
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
2421
2424
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
2422
2425
|
* @param {*} [options] Override http request option.
|
|
2423
2426
|
* @throws {RequiredError}
|
|
2424
2427
|
*/
|
|
2425
|
-
listOrders(paginationToken, search, productId,
|
|
2426
|
-
return localVarFp.listOrders(paginationToken, search, productId,
|
|
2428
|
+
listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, options) {
|
|
2429
|
+
return localVarFp.listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, options).then((request) => request(axios, basePath));
|
|
2427
2430
|
},
|
|
2428
2431
|
/**
|
|
2429
2432
|
* List existing orders
|
|
2430
2433
|
* @summary List existing orders
|
|
2431
2434
|
* @param {string} [paginationToken] This is the pagination token
|
|
2432
2435
|
* @param {string} [search] Search for product or order
|
|
2433
|
-
* @param {string} [
|
|
2434
|
-
* @param {string} [
|
|
2436
|
+
* @param {string} [productID] Filter by token
|
|
2437
|
+
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
2435
2438
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
2436
2439
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
2437
2440
|
* @param {*} [options] Override http request option.
|
|
2438
2441
|
* @throws {RequiredError}
|
|
2439
2442
|
*/
|
|
2440
|
-
listOrdersUser(paginationToken, search,
|
|
2441
|
-
return localVarFp.listOrdersUser(paginationToken, search,
|
|
2443
|
+
listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, options) {
|
|
2444
|
+
return localVarFp.listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, options).then((request) => request(axios, basePath));
|
|
2442
2445
|
},
|
|
2443
2446
|
};
|
|
2444
2447
|
};
|
|
@@ -2477,31 +2480,31 @@ export class OrderApi extends BaseAPI {
|
|
|
2477
2480
|
* @param {string} [paginationToken] This is the pagination token
|
|
2478
2481
|
* @param {string} [search] Search for product or order
|
|
2479
2482
|
* @param {string} [productId] Filter by token
|
|
2480
|
-
* @param {string} [
|
|
2483
|
+
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
2481
2484
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
2482
2485
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
2483
2486
|
* @param {*} [options] Override http request option.
|
|
2484
2487
|
* @throws {RequiredError}
|
|
2485
2488
|
* @memberof OrderApi
|
|
2486
2489
|
*/
|
|
2487
|
-
listOrders(paginationToken, search, productId,
|
|
2488
|
-
return OrderApiFp(this.configuration).listOrders(paginationToken, search, productId,
|
|
2490
|
+
listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, options) {
|
|
2491
|
+
return OrderApiFp(this.configuration).listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, options).then((request) => request(this.axios, this.basePath));
|
|
2489
2492
|
}
|
|
2490
2493
|
/**
|
|
2491
2494
|
* List existing orders
|
|
2492
2495
|
* @summary List existing orders
|
|
2493
2496
|
* @param {string} [paginationToken] This is the pagination token
|
|
2494
2497
|
* @param {string} [search] Search for product or order
|
|
2495
|
-
* @param {string} [
|
|
2496
|
-
* @param {string} [
|
|
2498
|
+
* @param {string} [productID] Filter by token
|
|
2499
|
+
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
2497
2500
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
2498
2501
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
2499
2502
|
* @param {*} [options] Override http request option.
|
|
2500
2503
|
* @throws {RequiredError}
|
|
2501
2504
|
* @memberof OrderApi
|
|
2502
2505
|
*/
|
|
2503
|
-
listOrdersUser(paginationToken, search,
|
|
2504
|
-
return OrderApiFp(this.configuration).listOrdersUser(paginationToken, search,
|
|
2506
|
+
listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, options) {
|
|
2507
|
+
return OrderApiFp(this.configuration).listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, options).then((request) => request(this.axios, this.basePath));
|
|
2505
2508
|
}
|
|
2506
2509
|
}
|
|
2507
2510
|
/**
|
|
@@ -3432,10 +3435,10 @@ export const ProgressApiAxiosParamCreator = function (configuration) {
|
|
|
3432
3435
|
/**
|
|
3433
3436
|
* List progress
|
|
3434
3437
|
* @summary List progress
|
|
3435
|
-
* @param {Array<string>} promotionIDs Promotion
|
|
3438
|
+
* @param {Array<string>} promotionIDs Promotion IDs to filter by
|
|
3436
3439
|
* @param {number} [periodID] Period ID
|
|
3437
|
-
* @param {Array<string>} [userIDs] User
|
|
3438
|
-
* @param {Array<string>} [clientIDs] Client
|
|
3440
|
+
* @param {Array<string>} [userIDs] User IDs to filter by
|
|
3441
|
+
* @param {Array<string>} [clientIDs] Client IDs to filter by
|
|
3439
3442
|
* @param {ListProgressIntervalEnum} [interval] Interval
|
|
3440
3443
|
* @param {string} [nextToken] This is the pagination token
|
|
3441
3444
|
* @param {*} [options] Override http request option.
|
|
@@ -3537,10 +3540,10 @@ export const ProgressApiFp = function (configuration) {
|
|
|
3537
3540
|
/**
|
|
3538
3541
|
* List progress
|
|
3539
3542
|
* @summary List progress
|
|
3540
|
-
* @param {Array<string>} promotionIDs Promotion
|
|
3543
|
+
* @param {Array<string>} promotionIDs Promotion IDs to filter by
|
|
3541
3544
|
* @param {number} [periodID] Period ID
|
|
3542
|
-
* @param {Array<string>} [userIDs] User
|
|
3543
|
-
* @param {Array<string>} [clientIDs] Client
|
|
3545
|
+
* @param {Array<string>} [userIDs] User IDs to filter by
|
|
3546
|
+
* @param {Array<string>} [clientIDs] Client IDs to filter by
|
|
3544
3547
|
* @param {ListProgressIntervalEnum} [interval] Interval
|
|
3545
3548
|
* @param {string} [nextToken] This is the pagination token
|
|
3546
3549
|
* @param {*} [options] Override http request option.
|
|
@@ -3579,10 +3582,10 @@ export const ProgressApiFactory = function (configuration, basePath, axios) {
|
|
|
3579
3582
|
/**
|
|
3580
3583
|
* List progress
|
|
3581
3584
|
* @summary List progress
|
|
3582
|
-
* @param {Array<string>} promotionIDs Promotion
|
|
3585
|
+
* @param {Array<string>} promotionIDs Promotion IDs to filter by
|
|
3583
3586
|
* @param {number} [periodID] Period ID
|
|
3584
|
-
* @param {Array<string>} [userIDs] User
|
|
3585
|
-
* @param {Array<string>} [clientIDs] Client
|
|
3587
|
+
* @param {Array<string>} [userIDs] User IDs to filter by
|
|
3588
|
+
* @param {Array<string>} [clientIDs] Client IDs to filter by
|
|
3586
3589
|
* @param {ListProgressIntervalEnum} [interval] Interval
|
|
3587
3590
|
* @param {string} [nextToken] This is the pagination token
|
|
3588
3591
|
* @param {*} [options] Override http request option.
|
|
@@ -3615,10 +3618,10 @@ export class ProgressApi extends BaseAPI {
|
|
|
3615
3618
|
/**
|
|
3616
3619
|
* List progress
|
|
3617
3620
|
* @summary List progress
|
|
3618
|
-
* @param {Array<string>} promotionIDs Promotion
|
|
3621
|
+
* @param {Array<string>} promotionIDs Promotion IDs to filter by
|
|
3619
3622
|
* @param {number} [periodID] Period ID
|
|
3620
|
-
* @param {Array<string>} [userIDs] User
|
|
3621
|
-
* @param {Array<string>} [clientIDs] Client
|
|
3623
|
+
* @param {Array<string>} [userIDs] User IDs to filter by
|
|
3624
|
+
* @param {Array<string>} [clientIDs] Client IDs to filter by
|
|
3622
3625
|
* @param {ListProgressIntervalEnum} [interval] Interval
|
|
3623
3626
|
* @param {string} [nextToken] This is the pagination token
|
|
3624
3627
|
* @param {*} [options] Override http request option.
|
|
@@ -3953,14 +3956,15 @@ export const PromotionApiAxiosParamCreator = function (configuration) {
|
|
|
3953
3956
|
* @param {string} [endingBefore] end time before time
|
|
3954
3957
|
* @param {string} [startingBefore] start time before time
|
|
3955
3958
|
* @param {string} [endingAfter] end time after time
|
|
3956
|
-
* @param {Array<string>} [clientIDs] client
|
|
3959
|
+
* @param {Array<string>} [clientIDs] client IDs to filter by
|
|
3957
3960
|
* @param {string} [search] search by name or description
|
|
3958
3961
|
* @param {PromotionSortByField} [sortBy] sort by field
|
|
3959
3962
|
* @param {SortDirection} [sortDirection] sort direction
|
|
3963
|
+
* @param {boolean} [onlyClaimable] only claimable promotions
|
|
3960
3964
|
* @param {*} [options] Override http request option.
|
|
3961
3965
|
* @throws {RequiredError}
|
|
3962
3966
|
*/
|
|
3963
|
-
listPromotions: (nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3967
|
+
listPromotions: (nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3964
3968
|
const localVarPath = `/admins/promotions`;
|
|
3965
3969
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3966
3970
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -4021,6 +4025,9 @@ export const PromotionApiAxiosParamCreator = function (configuration) {
|
|
|
4021
4025
|
if (sortDirection !== undefined) {
|
|
4022
4026
|
localVarQueryParameter['sortDirection'] = sortDirection;
|
|
4023
4027
|
}
|
|
4028
|
+
if (onlyClaimable !== undefined) {
|
|
4029
|
+
localVarQueryParameter['onlyClaimable'] = onlyClaimable;
|
|
4030
|
+
}
|
|
4024
4031
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4025
4032
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4026
4033
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -4041,10 +4048,11 @@ export const PromotionApiAxiosParamCreator = function (configuration) {
|
|
|
4041
4048
|
* @param {string} [search] search by name or description
|
|
4042
4049
|
* @param {PromotionSortByField} [sortBy] sort by field
|
|
4043
4050
|
* @param {SortDirection} [sortDirection] sort direction
|
|
4051
|
+
* @param {boolean} [onlyClaimable] only claimable promotions
|
|
4044
4052
|
* @param {*} [options] Override http request option.
|
|
4045
4053
|
* @throws {RequiredError}
|
|
4046
4054
|
*/
|
|
4047
|
-
listUserPromotions: (nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4055
|
+
listUserPromotions: (nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4048
4056
|
const localVarPath = `/users/promotions`;
|
|
4049
4057
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4050
4058
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -4093,6 +4101,9 @@ export const PromotionApiAxiosParamCreator = function (configuration) {
|
|
|
4093
4101
|
if (sortDirection !== undefined) {
|
|
4094
4102
|
localVarQueryParameter['sortDirection'] = sortDirection;
|
|
4095
4103
|
}
|
|
4104
|
+
if (onlyClaimable !== undefined) {
|
|
4105
|
+
localVarQueryParameter['onlyClaimable'] = onlyClaimable;
|
|
4106
|
+
}
|
|
4096
4107
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4097
4108
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4098
4109
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -4278,16 +4289,17 @@ export const PromotionApiFp = function (configuration) {
|
|
|
4278
4289
|
* @param {string} [endingBefore] end time before time
|
|
4279
4290
|
* @param {string} [startingBefore] start time before time
|
|
4280
4291
|
* @param {string} [endingAfter] end time after time
|
|
4281
|
-
* @param {Array<string>} [clientIDs] client
|
|
4292
|
+
* @param {Array<string>} [clientIDs] client IDs to filter by
|
|
4282
4293
|
* @param {string} [search] search by name or description
|
|
4283
4294
|
* @param {PromotionSortByField} [sortBy] sort by field
|
|
4284
4295
|
* @param {SortDirection} [sortDirection] sort direction
|
|
4296
|
+
* @param {boolean} [onlyClaimable] only claimable promotions
|
|
4285
4297
|
* @param {*} [options] Override http request option.
|
|
4286
4298
|
* @throws {RequiredError}
|
|
4287
4299
|
*/
|
|
4288
|
-
listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, options) {
|
|
4300
|
+
listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, options) {
|
|
4289
4301
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4290
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, options);
|
|
4302
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, options);
|
|
4291
4303
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4292
4304
|
});
|
|
4293
4305
|
},
|
|
@@ -4303,12 +4315,13 @@ export const PromotionApiFp = function (configuration) {
|
|
|
4303
4315
|
* @param {string} [search] search by name or description
|
|
4304
4316
|
* @param {PromotionSortByField} [sortBy] sort by field
|
|
4305
4317
|
* @param {SortDirection} [sortDirection] sort direction
|
|
4318
|
+
* @param {boolean} [onlyClaimable] only claimable promotions
|
|
4306
4319
|
* @param {*} [options] Override http request option.
|
|
4307
4320
|
* @throws {RequiredError}
|
|
4308
4321
|
*/
|
|
4309
|
-
listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, options) {
|
|
4322
|
+
listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, options) {
|
|
4310
4323
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4311
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, options);
|
|
4324
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, options);
|
|
4312
4325
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4313
4326
|
});
|
|
4314
4327
|
},
|
|
@@ -4439,15 +4452,16 @@ export const PromotionApiFactory = function (configuration, basePath, axios) {
|
|
|
4439
4452
|
* @param {string} [endingBefore] end time before time
|
|
4440
4453
|
* @param {string} [startingBefore] start time before time
|
|
4441
4454
|
* @param {string} [endingAfter] end time after time
|
|
4442
|
-
* @param {Array<string>} [clientIDs] client
|
|
4455
|
+
* @param {Array<string>} [clientIDs] client IDs to filter by
|
|
4443
4456
|
* @param {string} [search] search by name or description
|
|
4444
4457
|
* @param {PromotionSortByField} [sortBy] sort by field
|
|
4445
4458
|
* @param {SortDirection} [sortDirection] sort direction
|
|
4459
|
+
* @param {boolean} [onlyClaimable] only claimable promotions
|
|
4446
4460
|
* @param {*} [options] Override http request option.
|
|
4447
4461
|
* @throws {RequiredError}
|
|
4448
4462
|
*/
|
|
4449
|
-
listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, options) {
|
|
4450
|
-
return localVarFp.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, options).then((request) => request(axios, basePath));
|
|
4463
|
+
listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, options) {
|
|
4464
|
+
return localVarFp.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, options).then((request) => request(axios, basePath));
|
|
4451
4465
|
},
|
|
4452
4466
|
/**
|
|
4453
4467
|
* List users promotions
|
|
@@ -4461,11 +4475,12 @@ export const PromotionApiFactory = function (configuration, basePath, axios) {
|
|
|
4461
4475
|
* @param {string} [search] search by name or description
|
|
4462
4476
|
* @param {PromotionSortByField} [sortBy] sort by field
|
|
4463
4477
|
* @param {SortDirection} [sortDirection] sort direction
|
|
4478
|
+
* @param {boolean} [onlyClaimable] only claimable promotions
|
|
4464
4479
|
* @param {*} [options] Override http request option.
|
|
4465
4480
|
* @throws {RequiredError}
|
|
4466
4481
|
*/
|
|
4467
|
-
listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, options) {
|
|
4468
|
-
return localVarFp.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, options).then((request) => request(axios, basePath));
|
|
4482
|
+
listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, options) {
|
|
4483
|
+
return localVarFp.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, options).then((request) => request(axios, basePath));
|
|
4469
4484
|
},
|
|
4470
4485
|
/**
|
|
4471
4486
|
* Update promotion by id
|
|
@@ -4600,16 +4615,17 @@ export class PromotionApi extends BaseAPI {
|
|
|
4600
4615
|
* @param {string} [endingBefore] end time before time
|
|
4601
4616
|
* @param {string} [startingBefore] start time before time
|
|
4602
4617
|
* @param {string} [endingAfter] end time after time
|
|
4603
|
-
* @param {Array<string>} [clientIDs] client
|
|
4618
|
+
* @param {Array<string>} [clientIDs] client IDs to filter by
|
|
4604
4619
|
* @param {string} [search] search by name or description
|
|
4605
4620
|
* @param {PromotionSortByField} [sortBy] sort by field
|
|
4606
4621
|
* @param {SortDirection} [sortDirection] sort direction
|
|
4622
|
+
* @param {boolean} [onlyClaimable] only claimable promotions
|
|
4607
4623
|
* @param {*} [options] Override http request option.
|
|
4608
4624
|
* @throws {RequiredError}
|
|
4609
4625
|
* @memberof PromotionApi
|
|
4610
4626
|
*/
|
|
4611
|
-
listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, options) {
|
|
4612
|
-
return PromotionApiFp(this.configuration).listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, options).then((request) => request(this.axios, this.basePath));
|
|
4627
|
+
listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, options) {
|
|
4628
|
+
return PromotionApiFp(this.configuration).listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, options).then((request) => request(this.axios, this.basePath));
|
|
4613
4629
|
}
|
|
4614
4630
|
/**
|
|
4615
4631
|
* List users promotions
|
|
@@ -4623,12 +4639,13 @@ export class PromotionApi extends BaseAPI {
|
|
|
4623
4639
|
* @param {string} [search] search by name or description
|
|
4624
4640
|
* @param {PromotionSortByField} [sortBy] sort by field
|
|
4625
4641
|
* @param {SortDirection} [sortDirection] sort direction
|
|
4642
|
+
* @param {boolean} [onlyClaimable] only claimable promotions
|
|
4626
4643
|
* @param {*} [options] Override http request option.
|
|
4627
4644
|
* @throws {RequiredError}
|
|
4628
4645
|
* @memberof PromotionApi
|
|
4629
4646
|
*/
|
|
4630
|
-
listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, options) {
|
|
4631
|
-
return PromotionApiFp(this.configuration).listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, options).then((request) => request(this.axios, this.basePath));
|
|
4647
|
+
listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, options) {
|
|
4648
|
+
return PromotionApiFp(this.configuration).listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, options).then((request) => request(this.axios, this.basePath));
|
|
4632
4649
|
}
|
|
4633
4650
|
/**
|
|
4634
4651
|
* Update promotion by id
|
|
@@ -5260,11 +5277,12 @@ export const TransactionApiAxiosParamCreator = function (configuration) {
|
|
|
5260
5277
|
* List existing transactions
|
|
5261
5278
|
* @summary List existing transactions
|
|
5262
5279
|
* @param {string} [paginationToken] This is the pagination token
|
|
5263
|
-
* @param {string} [
|
|
5280
|
+
* @param {Array<string>} [clientIDs] This is the client IDs to filter by
|
|
5281
|
+
* @param {Array<string>} [userIDs] This is the user ID
|
|
5264
5282
|
* @param {*} [options] Override http request option.
|
|
5265
5283
|
* @throws {RequiredError}
|
|
5266
5284
|
*/
|
|
5267
|
-
listTransactions: (paginationToken,
|
|
5285
|
+
listTransactions: (paginationToken, clientIDs, userIDs, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5268
5286
|
const localVarPath = `/admins/transactions`;
|
|
5269
5287
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5270
5288
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -5281,8 +5299,11 @@ export const TransactionApiAxiosParamCreator = function (configuration) {
|
|
|
5281
5299
|
if (paginationToken !== undefined) {
|
|
5282
5300
|
localVarQueryParameter['paginationToken'] = paginationToken;
|
|
5283
5301
|
}
|
|
5284
|
-
if (
|
|
5285
|
-
localVarQueryParameter['
|
|
5302
|
+
if (clientIDs) {
|
|
5303
|
+
localVarQueryParameter['clientIDs'] = clientIDs;
|
|
5304
|
+
}
|
|
5305
|
+
if (userIDs) {
|
|
5306
|
+
localVarQueryParameter['userIDs'] = userIDs;
|
|
5286
5307
|
}
|
|
5287
5308
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5288
5309
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -5305,13 +5326,14 @@ export const TransactionApiFp = function (configuration) {
|
|
|
5305
5326
|
* List existing transactions
|
|
5306
5327
|
* @summary List existing transactions
|
|
5307
5328
|
* @param {string} [paginationToken] This is the pagination token
|
|
5308
|
-
* @param {string} [
|
|
5329
|
+
* @param {Array<string>} [clientIDs] This is the client IDs to filter by
|
|
5330
|
+
* @param {Array<string>} [userIDs] This is the user ID
|
|
5309
5331
|
* @param {*} [options] Override http request option.
|
|
5310
5332
|
* @throws {RequiredError}
|
|
5311
5333
|
*/
|
|
5312
|
-
listTransactions(paginationToken,
|
|
5334
|
+
listTransactions(paginationToken, clientIDs, userIDs, options) {
|
|
5313
5335
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5314
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTransactions(paginationToken,
|
|
5336
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTransactions(paginationToken, clientIDs, userIDs, options);
|
|
5315
5337
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5316
5338
|
});
|
|
5317
5339
|
},
|
|
@@ -5328,12 +5350,13 @@ export const TransactionApiFactory = function (configuration, basePath, axios) {
|
|
|
5328
5350
|
* List existing transactions
|
|
5329
5351
|
* @summary List existing transactions
|
|
5330
5352
|
* @param {string} [paginationToken] This is the pagination token
|
|
5331
|
-
* @param {string} [
|
|
5353
|
+
* @param {Array<string>} [clientIDs] This is the client IDs to filter by
|
|
5354
|
+
* @param {Array<string>} [userIDs] This is the user ID
|
|
5332
5355
|
* @param {*} [options] Override http request option.
|
|
5333
5356
|
* @throws {RequiredError}
|
|
5334
5357
|
*/
|
|
5335
|
-
listTransactions(paginationToken,
|
|
5336
|
-
return localVarFp.listTransactions(paginationToken,
|
|
5358
|
+
listTransactions(paginationToken, clientIDs, userIDs, options) {
|
|
5359
|
+
return localVarFp.listTransactions(paginationToken, clientIDs, userIDs, options).then((request) => request(axios, basePath));
|
|
5337
5360
|
},
|
|
5338
5361
|
};
|
|
5339
5362
|
};
|
|
@@ -5348,13 +5371,14 @@ export class TransactionApi extends BaseAPI {
|
|
|
5348
5371
|
* List existing transactions
|
|
5349
5372
|
* @summary List existing transactions
|
|
5350
5373
|
* @param {string} [paginationToken] This is the pagination token
|
|
5351
|
-
* @param {string} [
|
|
5374
|
+
* @param {Array<string>} [clientIDs] This is the client IDs to filter by
|
|
5375
|
+
* @param {Array<string>} [userIDs] This is the user ID
|
|
5352
5376
|
* @param {*} [options] Override http request option.
|
|
5353
5377
|
* @throws {RequiredError}
|
|
5354
5378
|
* @memberof TransactionApi
|
|
5355
5379
|
*/
|
|
5356
|
-
listTransactions(paginationToken,
|
|
5357
|
-
return TransactionApiFp(this.configuration).listTransactions(paginationToken,
|
|
5380
|
+
listTransactions(paginationToken, clientIDs, userIDs, options) {
|
|
5381
|
+
return TransactionApiFp(this.configuration).listTransactions(paginationToken, clientIDs, userIDs, options).then((request) => request(this.axios, this.basePath));
|
|
5358
5382
|
}
|
|
5359
5383
|
}
|
|
5360
5384
|
/**
|
|
@@ -5433,13 +5457,13 @@ export const UserApiAxiosParamCreator = function (configuration) {
|
|
|
5433
5457
|
* @param {string} [nextToken] This is the pagination token
|
|
5434
5458
|
* @param {UserRole} [role] role to filter by
|
|
5435
5459
|
* @param {string} [search] search string
|
|
5436
|
-
* @param {string} [
|
|
5437
|
-
* @param {string} [
|
|
5460
|
+
* @param {Array<string>} [clientIDs] client IDs to filter by
|
|
5461
|
+
* @param {Array<string>} [userIDs] user ids to filter by
|
|
5438
5462
|
* @param {UserSource} [source] source to filter by
|
|
5439
5463
|
* @param {*} [options] Override http request option.
|
|
5440
5464
|
* @throws {RequiredError}
|
|
5441
5465
|
*/
|
|
5442
|
-
listUsers: (nextToken, role, search,
|
|
5466
|
+
listUsers: (nextToken, role, search, clientIDs, userIDs, source, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5443
5467
|
const localVarPath = `/admins/users`;
|
|
5444
5468
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5445
5469
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -5462,11 +5486,11 @@ export const UserApiAxiosParamCreator = function (configuration) {
|
|
|
5462
5486
|
if (search !== undefined) {
|
|
5463
5487
|
localVarQueryParameter['search'] = search;
|
|
5464
5488
|
}
|
|
5465
|
-
if (
|
|
5466
|
-
localVarQueryParameter['
|
|
5489
|
+
if (clientIDs) {
|
|
5490
|
+
localVarQueryParameter['clientIDs'] = clientIDs;
|
|
5467
5491
|
}
|
|
5468
|
-
if (
|
|
5469
|
-
localVarQueryParameter['
|
|
5492
|
+
if (userIDs) {
|
|
5493
|
+
localVarQueryParameter['userIDs'] = userIDs;
|
|
5470
5494
|
}
|
|
5471
5495
|
if (source !== undefined) {
|
|
5472
5496
|
localVarQueryParameter['source'] = source;
|
|
@@ -5520,15 +5544,15 @@ export const UserApiFp = function (configuration) {
|
|
|
5520
5544
|
* @param {string} [nextToken] This is the pagination token
|
|
5521
5545
|
* @param {UserRole} [role] role to filter by
|
|
5522
5546
|
* @param {string} [search] search string
|
|
5523
|
-
* @param {string} [
|
|
5524
|
-
* @param {string} [
|
|
5547
|
+
* @param {Array<string>} [clientIDs] client IDs to filter by
|
|
5548
|
+
* @param {Array<string>} [userIDs] user ids to filter by
|
|
5525
5549
|
* @param {UserSource} [source] source to filter by
|
|
5526
5550
|
* @param {*} [options] Override http request option.
|
|
5527
5551
|
* @throws {RequiredError}
|
|
5528
5552
|
*/
|
|
5529
|
-
listUsers(nextToken, role, search,
|
|
5553
|
+
listUsers(nextToken, role, search, clientIDs, userIDs, source, options) {
|
|
5530
5554
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5531
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listUsers(nextToken, role, search,
|
|
5555
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listUsers(nextToken, role, search, clientIDs, userIDs, source, options);
|
|
5532
5556
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5533
5557
|
});
|
|
5534
5558
|
},
|
|
@@ -5567,14 +5591,14 @@ export const UserApiFactory = function (configuration, basePath, axios) {
|
|
|
5567
5591
|
* @param {string} [nextToken] This is the pagination token
|
|
5568
5592
|
* @param {UserRole} [role] role to filter by
|
|
5569
5593
|
* @param {string} [search] search string
|
|
5570
|
-
* @param {string} [
|
|
5571
|
-
* @param {string} [
|
|
5594
|
+
* @param {Array<string>} [clientIDs] client IDs to filter by
|
|
5595
|
+
* @param {Array<string>} [userIDs] user ids to filter by
|
|
5572
5596
|
* @param {UserSource} [source] source to filter by
|
|
5573
5597
|
* @param {*} [options] Override http request option.
|
|
5574
5598
|
* @throws {RequiredError}
|
|
5575
5599
|
*/
|
|
5576
|
-
listUsers(nextToken, role, search,
|
|
5577
|
-
return localVarFp.listUsers(nextToken, role, search,
|
|
5600
|
+
listUsers(nextToken, role, search, clientIDs, userIDs, source, options) {
|
|
5601
|
+
return localVarFp.listUsers(nextToken, role, search, clientIDs, userIDs, source, options).then((request) => request(axios, basePath));
|
|
5578
5602
|
},
|
|
5579
5603
|
};
|
|
5580
5604
|
};
|
|
@@ -5613,14 +5637,14 @@ export class UserApi extends BaseAPI {
|
|
|
5613
5637
|
* @param {string} [nextToken] This is the pagination token
|
|
5614
5638
|
* @param {UserRole} [role] role to filter by
|
|
5615
5639
|
* @param {string} [search] search string
|
|
5616
|
-
* @param {string} [
|
|
5617
|
-
* @param {string} [
|
|
5640
|
+
* @param {Array<string>} [clientIDs] client IDs to filter by
|
|
5641
|
+
* @param {Array<string>} [userIDs] user ids to filter by
|
|
5618
5642
|
* @param {UserSource} [source] source to filter by
|
|
5619
5643
|
* @param {*} [options] Override http request option.
|
|
5620
5644
|
* @throws {RequiredError}
|
|
5621
5645
|
* @memberof UserApi
|
|
5622
5646
|
*/
|
|
5623
|
-
listUsers(nextToken, role, search,
|
|
5624
|
-
return UserApiFp(this.configuration).listUsers(nextToken, role, search,
|
|
5647
|
+
listUsers(nextToken, role, search, clientIDs, userIDs, source, options) {
|
|
5648
|
+
return UserApiFp(this.configuration).listUsers(nextToken, role, search, clientIDs, userIDs, source, options).then((request) => request(this.axios, this.basePath));
|
|
5625
5649
|
}
|
|
5626
5650
|
}
|