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/api.js
CHANGED
|
@@ -502,14 +502,14 @@ const BalanceApiAxiosParamCreator = function (configuration) {
|
|
|
502
502
|
/**
|
|
503
503
|
* Get balance
|
|
504
504
|
* @summary Get balance
|
|
505
|
-
* @param {string}
|
|
505
|
+
* @param {Array<string>} beneficiaryValues Beneficiary values to filter by
|
|
506
506
|
* @param {BeneficiaryKind} kind This is the beneficiary kind
|
|
507
507
|
* @param {*} [options] Override http request option.
|
|
508
508
|
* @throws {RequiredError}
|
|
509
509
|
*/
|
|
510
|
-
getBalance: (
|
|
511
|
-
// verify required parameter '
|
|
512
|
-
(0, common_1.assertParamExists)('getBalance', '
|
|
510
|
+
getBalance: (beneficiaryValues, kind, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
511
|
+
// verify required parameter 'beneficiaryValues' is not null or undefined
|
|
512
|
+
(0, common_1.assertParamExists)('getBalance', 'beneficiaryValues', beneficiaryValues);
|
|
513
513
|
// verify required parameter 'kind' is not null or undefined
|
|
514
514
|
(0, common_1.assertParamExists)('getBalance', 'kind', kind);
|
|
515
515
|
const localVarPath = `/admins/balances`;
|
|
@@ -525,8 +525,8 @@ const BalanceApiAxiosParamCreator = function (configuration) {
|
|
|
525
525
|
// authentication jwt required
|
|
526
526
|
// http bearer authentication required
|
|
527
527
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
528
|
-
if (
|
|
529
|
-
localVarQueryParameter['
|
|
528
|
+
if (beneficiaryValues) {
|
|
529
|
+
localVarQueryParameter['beneficiaryValues'] = beneficiaryValues;
|
|
530
530
|
}
|
|
531
531
|
if (kind !== undefined) {
|
|
532
532
|
localVarQueryParameter['kind'] = kind;
|
|
@@ -589,6 +589,9 @@ const BalanceApiAxiosParamCreator = function (configuration) {
|
|
|
589
589
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
590
590
|
const localVarHeaderParameter = {};
|
|
591
591
|
const localVarQueryParameter = {};
|
|
592
|
+
// authentication jwt required
|
|
593
|
+
// http bearer authentication required
|
|
594
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
592
595
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
593
596
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
594
597
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -644,14 +647,14 @@ const BalanceApiFp = function (configuration) {
|
|
|
644
647
|
/**
|
|
645
648
|
* Get balance
|
|
646
649
|
* @summary Get balance
|
|
647
|
-
* @param {string}
|
|
650
|
+
* @param {Array<string>} beneficiaryValues Beneficiary values to filter by
|
|
648
651
|
* @param {BeneficiaryKind} kind This is the beneficiary kind
|
|
649
652
|
* @param {*} [options] Override http request option.
|
|
650
653
|
* @throws {RequiredError}
|
|
651
654
|
*/
|
|
652
|
-
getBalance(
|
|
655
|
+
getBalance(beneficiaryValues, kind, options) {
|
|
653
656
|
return __awaiter(this, void 0, void 0, function* () {
|
|
654
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getBalance(
|
|
657
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getBalance(beneficiaryValues, kind, options);
|
|
655
658
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
656
659
|
});
|
|
657
660
|
},
|
|
@@ -708,13 +711,13 @@ const BalanceApiFactory = function (configuration, basePath, axios) {
|
|
|
708
711
|
/**
|
|
709
712
|
* Get balance
|
|
710
713
|
* @summary Get balance
|
|
711
|
-
* @param {string}
|
|
714
|
+
* @param {Array<string>} beneficiaryValues Beneficiary values to filter by
|
|
712
715
|
* @param {BeneficiaryKind} kind This is the beneficiary kind
|
|
713
716
|
* @param {*} [options] Override http request option.
|
|
714
717
|
* @throws {RequiredError}
|
|
715
718
|
*/
|
|
716
|
-
getBalance(
|
|
717
|
-
return localVarFp.getBalance(
|
|
719
|
+
getBalance(beneficiaryValues, kind, options) {
|
|
720
|
+
return localVarFp.getBalance(beneficiaryValues, kind, options).then((request) => request(axios, basePath));
|
|
718
721
|
},
|
|
719
722
|
/**
|
|
720
723
|
* Get balance for the user
|
|
@@ -760,14 +763,14 @@ class BalanceApi extends base_1.BaseAPI {
|
|
|
760
763
|
/**
|
|
761
764
|
* Get balance
|
|
762
765
|
* @summary Get balance
|
|
763
|
-
* @param {string}
|
|
766
|
+
* @param {Array<string>} beneficiaryValues Beneficiary values to filter by
|
|
764
767
|
* @param {BeneficiaryKind} kind This is the beneficiary kind
|
|
765
768
|
* @param {*} [options] Override http request option.
|
|
766
769
|
* @throws {RequiredError}
|
|
767
770
|
* @memberof BalanceApi
|
|
768
771
|
*/
|
|
769
|
-
getBalance(
|
|
770
|
-
return (0, exports.BalanceApiFp)(this.configuration).getBalance(
|
|
772
|
+
getBalance(beneficiaryValues, kind, options) {
|
|
773
|
+
return (0, exports.BalanceApiFp)(this.configuration).getBalance(beneficiaryValues, kind, options).then((request) => request(this.axios, this.basePath));
|
|
771
774
|
}
|
|
772
775
|
/**
|
|
773
776
|
* Get balance for the user
|
|
@@ -2248,13 +2251,13 @@ const OrderApiAxiosParamCreator = function (configuration) {
|
|
|
2248
2251
|
* @param {string} [paginationToken] This is the pagination token
|
|
2249
2252
|
* @param {string} [search] Search for product or order
|
|
2250
2253
|
* @param {string} [productId] Filter by token
|
|
2251
|
-
* @param {string} [
|
|
2254
|
+
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
2252
2255
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
2253
2256
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
2254
2257
|
* @param {*} [options] Override http request option.
|
|
2255
2258
|
* @throws {RequiredError}
|
|
2256
2259
|
*/
|
|
2257
|
-
listOrders: (paginationToken, search, productId,
|
|
2260
|
+
listOrders: (paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2258
2261
|
const localVarPath = `/admins/orders`;
|
|
2259
2262
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2260
2263
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -2277,8 +2280,8 @@ const OrderApiAxiosParamCreator = function (configuration) {
|
|
|
2277
2280
|
if (productId !== undefined) {
|
|
2278
2281
|
localVarQueryParameter['productId'] = productId;
|
|
2279
2282
|
}
|
|
2280
|
-
if (
|
|
2281
|
-
localVarQueryParameter['
|
|
2283
|
+
if (balanceIDs) {
|
|
2284
|
+
localVarQueryParameter['balanceIDs'] = balanceIDs;
|
|
2282
2285
|
}
|
|
2283
2286
|
if (createdAfter !== undefined) {
|
|
2284
2287
|
localVarQueryParameter['createdAfter'] = (createdAfter instanceof Date) ?
|
|
@@ -2303,14 +2306,14 @@ const OrderApiAxiosParamCreator = function (configuration) {
|
|
|
2303
2306
|
* @summary List existing orders
|
|
2304
2307
|
* @param {string} [paginationToken] This is the pagination token
|
|
2305
2308
|
* @param {string} [search] Search for product or order
|
|
2306
|
-
* @param {string} [
|
|
2307
|
-
* @param {string} [
|
|
2309
|
+
* @param {string} [productID] Filter by token
|
|
2310
|
+
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
2308
2311
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
2309
2312
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
2310
2313
|
* @param {*} [options] Override http request option.
|
|
2311
2314
|
* @throws {RequiredError}
|
|
2312
2315
|
*/
|
|
2313
|
-
listOrdersUser: (paginationToken, search,
|
|
2316
|
+
listOrdersUser: (paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2314
2317
|
const localVarPath = `/users/orders`;
|
|
2315
2318
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2316
2319
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -2327,11 +2330,11 @@ const OrderApiAxiosParamCreator = function (configuration) {
|
|
|
2327
2330
|
if (search !== undefined) {
|
|
2328
2331
|
localVarQueryParameter['search'] = search;
|
|
2329
2332
|
}
|
|
2330
|
-
if (
|
|
2331
|
-
localVarQueryParameter['
|
|
2333
|
+
if (productID !== undefined) {
|
|
2334
|
+
localVarQueryParameter['productID'] = productID;
|
|
2332
2335
|
}
|
|
2333
|
-
if (
|
|
2334
|
-
localVarQueryParameter['
|
|
2336
|
+
if (balanceIDs) {
|
|
2337
|
+
localVarQueryParameter['balanceIDs'] = balanceIDs;
|
|
2335
2338
|
}
|
|
2336
2339
|
if (createdAfter !== undefined) {
|
|
2337
2340
|
localVarQueryParameter['createdAfter'] = (createdAfter instanceof Date) ?
|
|
@@ -2393,15 +2396,15 @@ const OrderApiFp = function (configuration) {
|
|
|
2393
2396
|
* @param {string} [paginationToken] This is the pagination token
|
|
2394
2397
|
* @param {string} [search] Search for product or order
|
|
2395
2398
|
* @param {string} [productId] Filter by token
|
|
2396
|
-
* @param {string} [
|
|
2399
|
+
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
2397
2400
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
2398
2401
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
2399
2402
|
* @param {*} [options] Override http request option.
|
|
2400
2403
|
* @throws {RequiredError}
|
|
2401
2404
|
*/
|
|
2402
|
-
listOrders(paginationToken, search, productId,
|
|
2405
|
+
listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, options) {
|
|
2403
2406
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2404
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrders(paginationToken, search, productId,
|
|
2407
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, options);
|
|
2405
2408
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2406
2409
|
});
|
|
2407
2410
|
},
|
|
@@ -2410,16 +2413,16 @@ const OrderApiFp = function (configuration) {
|
|
|
2410
2413
|
* @summary List existing orders
|
|
2411
2414
|
* @param {string} [paginationToken] This is the pagination token
|
|
2412
2415
|
* @param {string} [search] Search for product or order
|
|
2413
|
-
* @param {string} [
|
|
2414
|
-
* @param {string} [
|
|
2416
|
+
* @param {string} [productID] Filter by token
|
|
2417
|
+
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
2415
2418
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
2416
2419
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
2417
2420
|
* @param {*} [options] Override http request option.
|
|
2418
2421
|
* @throws {RequiredError}
|
|
2419
2422
|
*/
|
|
2420
|
-
listOrdersUser(paginationToken, search,
|
|
2423
|
+
listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, options) {
|
|
2421
2424
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2422
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrdersUser(paginationToken, search,
|
|
2425
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, options);
|
|
2423
2426
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2424
2427
|
});
|
|
2425
2428
|
},
|
|
@@ -2459,29 +2462,29 @@ const OrderApiFactory = function (configuration, basePath, axios) {
|
|
|
2459
2462
|
* @param {string} [paginationToken] This is the pagination token
|
|
2460
2463
|
* @param {string} [search] Search for product or order
|
|
2461
2464
|
* @param {string} [productId] Filter by token
|
|
2462
|
-
* @param {string} [
|
|
2465
|
+
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
2463
2466
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
2464
2467
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
2465
2468
|
* @param {*} [options] Override http request option.
|
|
2466
2469
|
* @throws {RequiredError}
|
|
2467
2470
|
*/
|
|
2468
|
-
listOrders(paginationToken, search, productId,
|
|
2469
|
-
return localVarFp.listOrders(paginationToken, search, productId,
|
|
2471
|
+
listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, options) {
|
|
2472
|
+
return localVarFp.listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, options).then((request) => request(axios, basePath));
|
|
2470
2473
|
},
|
|
2471
2474
|
/**
|
|
2472
2475
|
* List existing orders
|
|
2473
2476
|
* @summary List existing orders
|
|
2474
2477
|
* @param {string} [paginationToken] This is the pagination token
|
|
2475
2478
|
* @param {string} [search] Search for product or order
|
|
2476
|
-
* @param {string} [
|
|
2477
|
-
* @param {string} [
|
|
2479
|
+
* @param {string} [productID] Filter by token
|
|
2480
|
+
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
2478
2481
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
2479
2482
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
2480
2483
|
* @param {*} [options] Override http request option.
|
|
2481
2484
|
* @throws {RequiredError}
|
|
2482
2485
|
*/
|
|
2483
|
-
listOrdersUser(paginationToken, search,
|
|
2484
|
-
return localVarFp.listOrdersUser(paginationToken, search,
|
|
2486
|
+
listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, options) {
|
|
2487
|
+
return localVarFp.listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, options).then((request) => request(axios, basePath));
|
|
2485
2488
|
},
|
|
2486
2489
|
};
|
|
2487
2490
|
};
|
|
@@ -2521,31 +2524,31 @@ class OrderApi extends base_1.BaseAPI {
|
|
|
2521
2524
|
* @param {string} [paginationToken] This is the pagination token
|
|
2522
2525
|
* @param {string} [search] Search for product or order
|
|
2523
2526
|
* @param {string} [productId] Filter by token
|
|
2524
|
-
* @param {string} [
|
|
2527
|
+
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
2525
2528
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
2526
2529
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
2527
2530
|
* @param {*} [options] Override http request option.
|
|
2528
2531
|
* @throws {RequiredError}
|
|
2529
2532
|
* @memberof OrderApi
|
|
2530
2533
|
*/
|
|
2531
|
-
listOrders(paginationToken, search, productId,
|
|
2532
|
-
return (0, exports.OrderApiFp)(this.configuration).listOrders(paginationToken, search, productId,
|
|
2534
|
+
listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, options) {
|
|
2535
|
+
return (0, exports.OrderApiFp)(this.configuration).listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, options).then((request) => request(this.axios, this.basePath));
|
|
2533
2536
|
}
|
|
2534
2537
|
/**
|
|
2535
2538
|
* List existing orders
|
|
2536
2539
|
* @summary List existing orders
|
|
2537
2540
|
* @param {string} [paginationToken] This is the pagination token
|
|
2538
2541
|
* @param {string} [search] Search for product or order
|
|
2539
|
-
* @param {string} [
|
|
2540
|
-
* @param {string} [
|
|
2542
|
+
* @param {string} [productID] Filter by token
|
|
2543
|
+
* @param {Array<string>} [balanceIDs] Filter by balance ids
|
|
2541
2544
|
* @param {string} [createdAfter] Filter orders created after the specified date
|
|
2542
2545
|
* @param {string} [createdBefore] Filter orders created before the specified date
|
|
2543
2546
|
* @param {*} [options] Override http request option.
|
|
2544
2547
|
* @throws {RequiredError}
|
|
2545
2548
|
* @memberof OrderApi
|
|
2546
2549
|
*/
|
|
2547
|
-
listOrdersUser(paginationToken, search,
|
|
2548
|
-
return (0, exports.OrderApiFp)(this.configuration).listOrdersUser(paginationToken, search,
|
|
2550
|
+
listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, options) {
|
|
2551
|
+
return (0, exports.OrderApiFp)(this.configuration).listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, options).then((request) => request(this.axios, this.basePath));
|
|
2549
2552
|
}
|
|
2550
2553
|
}
|
|
2551
2554
|
exports.OrderApi = OrderApi;
|
|
@@ -3481,10 +3484,10 @@ const ProgressApiAxiosParamCreator = function (configuration) {
|
|
|
3481
3484
|
/**
|
|
3482
3485
|
* List progress
|
|
3483
3486
|
* @summary List progress
|
|
3484
|
-
* @param {Array<string>} promotionIDs Promotion
|
|
3487
|
+
* @param {Array<string>} promotionIDs Promotion IDs to filter by
|
|
3485
3488
|
* @param {number} [periodID] Period ID
|
|
3486
|
-
* @param {Array<string>} [userIDs] User
|
|
3487
|
-
* @param {Array<string>} [clientIDs] Client
|
|
3489
|
+
* @param {Array<string>} [userIDs] User IDs to filter by
|
|
3490
|
+
* @param {Array<string>} [clientIDs] Client IDs to filter by
|
|
3488
3491
|
* @param {ListProgressIntervalEnum} [interval] Interval
|
|
3489
3492
|
* @param {string} [nextToken] This is the pagination token
|
|
3490
3493
|
* @param {*} [options] Override http request option.
|
|
@@ -3587,10 +3590,10 @@ const ProgressApiFp = function (configuration) {
|
|
|
3587
3590
|
/**
|
|
3588
3591
|
* List progress
|
|
3589
3592
|
* @summary List progress
|
|
3590
|
-
* @param {Array<string>} promotionIDs Promotion
|
|
3593
|
+
* @param {Array<string>} promotionIDs Promotion IDs to filter by
|
|
3591
3594
|
* @param {number} [periodID] Period ID
|
|
3592
|
-
* @param {Array<string>} [userIDs] User
|
|
3593
|
-
* @param {Array<string>} [clientIDs] Client
|
|
3595
|
+
* @param {Array<string>} [userIDs] User IDs to filter by
|
|
3596
|
+
* @param {Array<string>} [clientIDs] Client IDs to filter by
|
|
3594
3597
|
* @param {ListProgressIntervalEnum} [interval] Interval
|
|
3595
3598
|
* @param {string} [nextToken] This is the pagination token
|
|
3596
3599
|
* @param {*} [options] Override http request option.
|
|
@@ -3630,10 +3633,10 @@ const ProgressApiFactory = function (configuration, basePath, axios) {
|
|
|
3630
3633
|
/**
|
|
3631
3634
|
* List progress
|
|
3632
3635
|
* @summary List progress
|
|
3633
|
-
* @param {Array<string>} promotionIDs Promotion
|
|
3636
|
+
* @param {Array<string>} promotionIDs Promotion IDs to filter by
|
|
3634
3637
|
* @param {number} [periodID] Period ID
|
|
3635
|
-
* @param {Array<string>} [userIDs] User
|
|
3636
|
-
* @param {Array<string>} [clientIDs] Client
|
|
3638
|
+
* @param {Array<string>} [userIDs] User IDs to filter by
|
|
3639
|
+
* @param {Array<string>} [clientIDs] Client IDs to filter by
|
|
3637
3640
|
* @param {ListProgressIntervalEnum} [interval] Interval
|
|
3638
3641
|
* @param {string} [nextToken] This is the pagination token
|
|
3639
3642
|
* @param {*} [options] Override http request option.
|
|
@@ -3667,10 +3670,10 @@ class ProgressApi extends base_1.BaseAPI {
|
|
|
3667
3670
|
/**
|
|
3668
3671
|
* List progress
|
|
3669
3672
|
* @summary List progress
|
|
3670
|
-
* @param {Array<string>} promotionIDs Promotion
|
|
3673
|
+
* @param {Array<string>} promotionIDs Promotion IDs to filter by
|
|
3671
3674
|
* @param {number} [periodID] Period ID
|
|
3672
|
-
* @param {Array<string>} [userIDs] User
|
|
3673
|
-
* @param {Array<string>} [clientIDs] Client
|
|
3675
|
+
* @param {Array<string>} [userIDs] User IDs to filter by
|
|
3676
|
+
* @param {Array<string>} [clientIDs] Client IDs to filter by
|
|
3674
3677
|
* @param {ListProgressIntervalEnum} [interval] Interval
|
|
3675
3678
|
* @param {string} [nextToken] This is the pagination token
|
|
3676
3679
|
* @param {*} [options] Override http request option.
|
|
@@ -4006,14 +4009,15 @@ const PromotionApiAxiosParamCreator = function (configuration) {
|
|
|
4006
4009
|
* @param {string} [endingBefore] end time before time
|
|
4007
4010
|
* @param {string} [startingBefore] start time before time
|
|
4008
4011
|
* @param {string} [endingAfter] end time after time
|
|
4009
|
-
* @param {Array<string>} [clientIDs] client
|
|
4012
|
+
* @param {Array<string>} [clientIDs] client IDs to filter by
|
|
4010
4013
|
* @param {string} [search] search by name or description
|
|
4011
4014
|
* @param {PromotionSortByField} [sortBy] sort by field
|
|
4012
4015
|
* @param {SortDirection} [sortDirection] sort direction
|
|
4016
|
+
* @param {boolean} [onlyClaimable] only claimable promotions
|
|
4013
4017
|
* @param {*} [options] Override http request option.
|
|
4014
4018
|
* @throws {RequiredError}
|
|
4015
4019
|
*/
|
|
4016
|
-
listPromotions: (nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4020
|
+
listPromotions: (nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4017
4021
|
const localVarPath = `/admins/promotions`;
|
|
4018
4022
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4019
4023
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -4074,6 +4078,9 @@ const PromotionApiAxiosParamCreator = function (configuration) {
|
|
|
4074
4078
|
if (sortDirection !== undefined) {
|
|
4075
4079
|
localVarQueryParameter['sortDirection'] = sortDirection;
|
|
4076
4080
|
}
|
|
4081
|
+
if (onlyClaimable !== undefined) {
|
|
4082
|
+
localVarQueryParameter['onlyClaimable'] = onlyClaimable;
|
|
4083
|
+
}
|
|
4077
4084
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4078
4085
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4079
4086
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -4094,10 +4101,11 @@ const PromotionApiAxiosParamCreator = function (configuration) {
|
|
|
4094
4101
|
* @param {string} [search] search by name or description
|
|
4095
4102
|
* @param {PromotionSortByField} [sortBy] sort by field
|
|
4096
4103
|
* @param {SortDirection} [sortDirection] sort direction
|
|
4104
|
+
* @param {boolean} [onlyClaimable] only claimable promotions
|
|
4097
4105
|
* @param {*} [options] Override http request option.
|
|
4098
4106
|
* @throws {RequiredError}
|
|
4099
4107
|
*/
|
|
4100
|
-
listUserPromotions: (nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4108
|
+
listUserPromotions: (nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4101
4109
|
const localVarPath = `/users/promotions`;
|
|
4102
4110
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4103
4111
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -4146,6 +4154,9 @@ const PromotionApiAxiosParamCreator = function (configuration) {
|
|
|
4146
4154
|
if (sortDirection !== undefined) {
|
|
4147
4155
|
localVarQueryParameter['sortDirection'] = sortDirection;
|
|
4148
4156
|
}
|
|
4157
|
+
if (onlyClaimable !== undefined) {
|
|
4158
|
+
localVarQueryParameter['onlyClaimable'] = onlyClaimable;
|
|
4159
|
+
}
|
|
4149
4160
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4150
4161
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4151
4162
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -4332,16 +4343,17 @@ const PromotionApiFp = function (configuration) {
|
|
|
4332
4343
|
* @param {string} [endingBefore] end time before time
|
|
4333
4344
|
* @param {string} [startingBefore] start time before time
|
|
4334
4345
|
* @param {string} [endingAfter] end time after time
|
|
4335
|
-
* @param {Array<string>} [clientIDs] client
|
|
4346
|
+
* @param {Array<string>} [clientIDs] client IDs to filter by
|
|
4336
4347
|
* @param {string} [search] search by name or description
|
|
4337
4348
|
* @param {PromotionSortByField} [sortBy] sort by field
|
|
4338
4349
|
* @param {SortDirection} [sortDirection] sort direction
|
|
4350
|
+
* @param {boolean} [onlyClaimable] only claimable promotions
|
|
4339
4351
|
* @param {*} [options] Override http request option.
|
|
4340
4352
|
* @throws {RequiredError}
|
|
4341
4353
|
*/
|
|
4342
|
-
listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, options) {
|
|
4354
|
+
listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, options) {
|
|
4343
4355
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4344
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, options);
|
|
4356
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, options);
|
|
4345
4357
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
4346
4358
|
});
|
|
4347
4359
|
},
|
|
@@ -4357,12 +4369,13 @@ const PromotionApiFp = function (configuration) {
|
|
|
4357
4369
|
* @param {string} [search] search by name or description
|
|
4358
4370
|
* @param {PromotionSortByField} [sortBy] sort by field
|
|
4359
4371
|
* @param {SortDirection} [sortDirection] sort direction
|
|
4372
|
+
* @param {boolean} [onlyClaimable] only claimable promotions
|
|
4360
4373
|
* @param {*} [options] Override http request option.
|
|
4361
4374
|
* @throws {RequiredError}
|
|
4362
4375
|
*/
|
|
4363
|
-
listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, options) {
|
|
4376
|
+
listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, options) {
|
|
4364
4377
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4365
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, options);
|
|
4378
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, options);
|
|
4366
4379
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
4367
4380
|
});
|
|
4368
4381
|
},
|
|
@@ -4494,15 +4507,16 @@ const PromotionApiFactory = function (configuration, basePath, axios) {
|
|
|
4494
4507
|
* @param {string} [endingBefore] end time before time
|
|
4495
4508
|
* @param {string} [startingBefore] start time before time
|
|
4496
4509
|
* @param {string} [endingAfter] end time after time
|
|
4497
|
-
* @param {Array<string>} [clientIDs] client
|
|
4510
|
+
* @param {Array<string>} [clientIDs] client IDs to filter by
|
|
4498
4511
|
* @param {string} [search] search by name or description
|
|
4499
4512
|
* @param {PromotionSortByField} [sortBy] sort by field
|
|
4500
4513
|
* @param {SortDirection} [sortDirection] sort direction
|
|
4514
|
+
* @param {boolean} [onlyClaimable] only claimable promotions
|
|
4501
4515
|
* @param {*} [options] Override http request option.
|
|
4502
4516
|
* @throws {RequiredError}
|
|
4503
4517
|
*/
|
|
4504
|
-
listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, options) {
|
|
4505
|
-
return localVarFp.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, options).then((request) => request(axios, basePath));
|
|
4518
|
+
listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, options) {
|
|
4519
|
+
return localVarFp.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, options).then((request) => request(axios, basePath));
|
|
4506
4520
|
},
|
|
4507
4521
|
/**
|
|
4508
4522
|
* List users promotions
|
|
@@ -4516,11 +4530,12 @@ const PromotionApiFactory = function (configuration, basePath, axios) {
|
|
|
4516
4530
|
* @param {string} [search] search by name or description
|
|
4517
4531
|
* @param {PromotionSortByField} [sortBy] sort by field
|
|
4518
4532
|
* @param {SortDirection} [sortDirection] sort direction
|
|
4533
|
+
* @param {boolean} [onlyClaimable] only claimable promotions
|
|
4519
4534
|
* @param {*} [options] Override http request option.
|
|
4520
4535
|
* @throws {RequiredError}
|
|
4521
4536
|
*/
|
|
4522
|
-
listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, options) {
|
|
4523
|
-
return localVarFp.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, options).then((request) => request(axios, basePath));
|
|
4537
|
+
listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, options) {
|
|
4538
|
+
return localVarFp.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, options).then((request) => request(axios, basePath));
|
|
4524
4539
|
},
|
|
4525
4540
|
/**
|
|
4526
4541
|
* Update promotion by id
|
|
@@ -4656,16 +4671,17 @@ class PromotionApi extends base_1.BaseAPI {
|
|
|
4656
4671
|
* @param {string} [endingBefore] end time before time
|
|
4657
4672
|
* @param {string} [startingBefore] start time before time
|
|
4658
4673
|
* @param {string} [endingAfter] end time after time
|
|
4659
|
-
* @param {Array<string>} [clientIDs] client
|
|
4674
|
+
* @param {Array<string>} [clientIDs] client IDs to filter by
|
|
4660
4675
|
* @param {string} [search] search by name or description
|
|
4661
4676
|
* @param {PromotionSortByField} [sortBy] sort by field
|
|
4662
4677
|
* @param {SortDirection} [sortDirection] sort direction
|
|
4678
|
+
* @param {boolean} [onlyClaimable] only claimable promotions
|
|
4663
4679
|
* @param {*} [options] Override http request option.
|
|
4664
4680
|
* @throws {RequiredError}
|
|
4665
4681
|
* @memberof PromotionApi
|
|
4666
4682
|
*/
|
|
4667
|
-
listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, options) {
|
|
4668
|
-
return (0, exports.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));
|
|
4683
|
+
listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, options) {
|
|
4684
|
+
return (0, exports.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));
|
|
4669
4685
|
}
|
|
4670
4686
|
/**
|
|
4671
4687
|
* List users promotions
|
|
@@ -4679,12 +4695,13 @@ class PromotionApi extends base_1.BaseAPI {
|
|
|
4679
4695
|
* @param {string} [search] search by name or description
|
|
4680
4696
|
* @param {PromotionSortByField} [sortBy] sort by field
|
|
4681
4697
|
* @param {SortDirection} [sortDirection] sort direction
|
|
4698
|
+
* @param {boolean} [onlyClaimable] only claimable promotions
|
|
4682
4699
|
* @param {*} [options] Override http request option.
|
|
4683
4700
|
* @throws {RequiredError}
|
|
4684
4701
|
* @memberof PromotionApi
|
|
4685
4702
|
*/
|
|
4686
|
-
listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, options) {
|
|
4687
|
-
return (0, exports.PromotionApiFp)(this.configuration).listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, options).then((request) => request(this.axios, this.basePath));
|
|
4703
|
+
listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, options) {
|
|
4704
|
+
return (0, exports.PromotionApiFp)(this.configuration).listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, options).then((request) => request(this.axios, this.basePath));
|
|
4688
4705
|
}
|
|
4689
4706
|
/**
|
|
4690
4707
|
* Update promotion by id
|
|
@@ -5325,11 +5342,12 @@ const TransactionApiAxiosParamCreator = function (configuration) {
|
|
|
5325
5342
|
* List existing transactions
|
|
5326
5343
|
* @summary List existing transactions
|
|
5327
5344
|
* @param {string} [paginationToken] This is the pagination token
|
|
5328
|
-
* @param {string} [
|
|
5345
|
+
* @param {Array<string>} [clientIDs] This is the client IDs to filter by
|
|
5346
|
+
* @param {Array<string>} [userIDs] This is the user ID
|
|
5329
5347
|
* @param {*} [options] Override http request option.
|
|
5330
5348
|
* @throws {RequiredError}
|
|
5331
5349
|
*/
|
|
5332
|
-
listTransactions: (paginationToken,
|
|
5350
|
+
listTransactions: (paginationToken, clientIDs, userIDs, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5333
5351
|
const localVarPath = `/admins/transactions`;
|
|
5334
5352
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5335
5353
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -5346,8 +5364,11 @@ const TransactionApiAxiosParamCreator = function (configuration) {
|
|
|
5346
5364
|
if (paginationToken !== undefined) {
|
|
5347
5365
|
localVarQueryParameter['paginationToken'] = paginationToken;
|
|
5348
5366
|
}
|
|
5349
|
-
if (
|
|
5350
|
-
localVarQueryParameter['
|
|
5367
|
+
if (clientIDs) {
|
|
5368
|
+
localVarQueryParameter['clientIDs'] = clientIDs;
|
|
5369
|
+
}
|
|
5370
|
+
if (userIDs) {
|
|
5371
|
+
localVarQueryParameter['userIDs'] = userIDs;
|
|
5351
5372
|
}
|
|
5352
5373
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5353
5374
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -5371,13 +5392,14 @@ const TransactionApiFp = function (configuration) {
|
|
|
5371
5392
|
* List existing transactions
|
|
5372
5393
|
* @summary List existing transactions
|
|
5373
5394
|
* @param {string} [paginationToken] This is the pagination token
|
|
5374
|
-
* @param {string} [
|
|
5395
|
+
* @param {Array<string>} [clientIDs] This is the client IDs to filter by
|
|
5396
|
+
* @param {Array<string>} [userIDs] This is the user ID
|
|
5375
5397
|
* @param {*} [options] Override http request option.
|
|
5376
5398
|
* @throws {RequiredError}
|
|
5377
5399
|
*/
|
|
5378
|
-
listTransactions(paginationToken,
|
|
5400
|
+
listTransactions(paginationToken, clientIDs, userIDs, options) {
|
|
5379
5401
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5380
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTransactions(paginationToken,
|
|
5402
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTransactions(paginationToken, clientIDs, userIDs, options);
|
|
5381
5403
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
5382
5404
|
});
|
|
5383
5405
|
},
|
|
@@ -5395,12 +5417,13 @@ const TransactionApiFactory = function (configuration, basePath, axios) {
|
|
|
5395
5417
|
* List existing transactions
|
|
5396
5418
|
* @summary List existing transactions
|
|
5397
5419
|
* @param {string} [paginationToken] This is the pagination token
|
|
5398
|
-
* @param {string} [
|
|
5420
|
+
* @param {Array<string>} [clientIDs] This is the client IDs to filter by
|
|
5421
|
+
* @param {Array<string>} [userIDs] This is the user ID
|
|
5399
5422
|
* @param {*} [options] Override http request option.
|
|
5400
5423
|
* @throws {RequiredError}
|
|
5401
5424
|
*/
|
|
5402
|
-
listTransactions(paginationToken,
|
|
5403
|
-
return localVarFp.listTransactions(paginationToken,
|
|
5425
|
+
listTransactions(paginationToken, clientIDs, userIDs, options) {
|
|
5426
|
+
return localVarFp.listTransactions(paginationToken, clientIDs, userIDs, options).then((request) => request(axios, basePath));
|
|
5404
5427
|
},
|
|
5405
5428
|
};
|
|
5406
5429
|
};
|
|
@@ -5416,13 +5439,14 @@ class TransactionApi extends base_1.BaseAPI {
|
|
|
5416
5439
|
* List existing transactions
|
|
5417
5440
|
* @summary List existing transactions
|
|
5418
5441
|
* @param {string} [paginationToken] This is the pagination token
|
|
5419
|
-
* @param {string} [
|
|
5442
|
+
* @param {Array<string>} [clientIDs] This is the client IDs to filter by
|
|
5443
|
+
* @param {Array<string>} [userIDs] This is the user ID
|
|
5420
5444
|
* @param {*} [options] Override http request option.
|
|
5421
5445
|
* @throws {RequiredError}
|
|
5422
5446
|
* @memberof TransactionApi
|
|
5423
5447
|
*/
|
|
5424
|
-
listTransactions(paginationToken,
|
|
5425
|
-
return (0, exports.TransactionApiFp)(this.configuration).listTransactions(paginationToken,
|
|
5448
|
+
listTransactions(paginationToken, clientIDs, userIDs, options) {
|
|
5449
|
+
return (0, exports.TransactionApiFp)(this.configuration).listTransactions(paginationToken, clientIDs, userIDs, options).then((request) => request(this.axios, this.basePath));
|
|
5426
5450
|
}
|
|
5427
5451
|
}
|
|
5428
5452
|
exports.TransactionApi = TransactionApi;
|
|
@@ -5502,13 +5526,13 @@ const UserApiAxiosParamCreator = function (configuration) {
|
|
|
5502
5526
|
* @param {string} [nextToken] This is the pagination token
|
|
5503
5527
|
* @param {UserRole} [role] role to filter by
|
|
5504
5528
|
* @param {string} [search] search string
|
|
5505
|
-
* @param {string} [
|
|
5506
|
-
* @param {string} [
|
|
5529
|
+
* @param {Array<string>} [clientIDs] client IDs to filter by
|
|
5530
|
+
* @param {Array<string>} [userIDs] user ids to filter by
|
|
5507
5531
|
* @param {UserSource} [source] source to filter by
|
|
5508
5532
|
* @param {*} [options] Override http request option.
|
|
5509
5533
|
* @throws {RequiredError}
|
|
5510
5534
|
*/
|
|
5511
|
-
listUsers: (nextToken, role, search,
|
|
5535
|
+
listUsers: (nextToken, role, search, clientIDs, userIDs, source, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5512
5536
|
const localVarPath = `/admins/users`;
|
|
5513
5537
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5514
5538
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -5531,11 +5555,11 @@ const UserApiAxiosParamCreator = function (configuration) {
|
|
|
5531
5555
|
if (search !== undefined) {
|
|
5532
5556
|
localVarQueryParameter['search'] = search;
|
|
5533
5557
|
}
|
|
5534
|
-
if (
|
|
5535
|
-
localVarQueryParameter['
|
|
5558
|
+
if (clientIDs) {
|
|
5559
|
+
localVarQueryParameter['clientIDs'] = clientIDs;
|
|
5536
5560
|
}
|
|
5537
|
-
if (
|
|
5538
|
-
localVarQueryParameter['
|
|
5561
|
+
if (userIDs) {
|
|
5562
|
+
localVarQueryParameter['userIDs'] = userIDs;
|
|
5539
5563
|
}
|
|
5540
5564
|
if (source !== undefined) {
|
|
5541
5565
|
localVarQueryParameter['source'] = source;
|
|
@@ -5590,15 +5614,15 @@ const UserApiFp = function (configuration) {
|
|
|
5590
5614
|
* @param {string} [nextToken] This is the pagination token
|
|
5591
5615
|
* @param {UserRole} [role] role to filter by
|
|
5592
5616
|
* @param {string} [search] search string
|
|
5593
|
-
* @param {string} [
|
|
5594
|
-
* @param {string} [
|
|
5617
|
+
* @param {Array<string>} [clientIDs] client IDs to filter by
|
|
5618
|
+
* @param {Array<string>} [userIDs] user ids to filter by
|
|
5595
5619
|
* @param {UserSource} [source] source to filter by
|
|
5596
5620
|
* @param {*} [options] Override http request option.
|
|
5597
5621
|
* @throws {RequiredError}
|
|
5598
5622
|
*/
|
|
5599
|
-
listUsers(nextToken, role, search,
|
|
5623
|
+
listUsers(nextToken, role, search, clientIDs, userIDs, source, options) {
|
|
5600
5624
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5601
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listUsers(nextToken, role, search,
|
|
5625
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listUsers(nextToken, role, search, clientIDs, userIDs, source, options);
|
|
5602
5626
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
5603
5627
|
});
|
|
5604
5628
|
},
|
|
@@ -5638,14 +5662,14 @@ const UserApiFactory = function (configuration, basePath, axios) {
|
|
|
5638
5662
|
* @param {string} [nextToken] This is the pagination token
|
|
5639
5663
|
* @param {UserRole} [role] role to filter by
|
|
5640
5664
|
* @param {string} [search] search string
|
|
5641
|
-
* @param {string} [
|
|
5642
|
-
* @param {string} [
|
|
5665
|
+
* @param {Array<string>} [clientIDs] client IDs to filter by
|
|
5666
|
+
* @param {Array<string>} [userIDs] user ids to filter by
|
|
5643
5667
|
* @param {UserSource} [source] source to filter by
|
|
5644
5668
|
* @param {*} [options] Override http request option.
|
|
5645
5669
|
* @throws {RequiredError}
|
|
5646
5670
|
*/
|
|
5647
|
-
listUsers(nextToken, role, search,
|
|
5648
|
-
return localVarFp.listUsers(nextToken, role, search,
|
|
5671
|
+
listUsers(nextToken, role, search, clientIDs, userIDs, source, options) {
|
|
5672
|
+
return localVarFp.listUsers(nextToken, role, search, clientIDs, userIDs, source, options).then((request) => request(axios, basePath));
|
|
5649
5673
|
},
|
|
5650
5674
|
};
|
|
5651
5675
|
};
|
|
@@ -5685,15 +5709,15 @@ class UserApi extends base_1.BaseAPI {
|
|
|
5685
5709
|
* @param {string} [nextToken] This is the pagination token
|
|
5686
5710
|
* @param {UserRole} [role] role to filter by
|
|
5687
5711
|
* @param {string} [search] search string
|
|
5688
|
-
* @param {string} [
|
|
5689
|
-
* @param {string} [
|
|
5712
|
+
* @param {Array<string>} [clientIDs] client IDs to filter by
|
|
5713
|
+
* @param {Array<string>} [userIDs] user ids to filter by
|
|
5690
5714
|
* @param {UserSource} [source] source to filter by
|
|
5691
5715
|
* @param {*} [options] Override http request option.
|
|
5692
5716
|
* @throws {RequiredError}
|
|
5693
5717
|
* @memberof UserApi
|
|
5694
5718
|
*/
|
|
5695
|
-
listUsers(nextToken, role, search,
|
|
5696
|
-
return (0, exports.UserApiFp)(this.configuration).listUsers(nextToken, role, search,
|
|
5719
|
+
listUsers(nextToken, role, search, clientIDs, userIDs, source, options) {
|
|
5720
|
+
return (0, exports.UserApiFp)(this.configuration).listUsers(nextToken, role, search, clientIDs, userIDs, source, options).then((request) => request(this.axios, this.basePath));
|
|
5697
5721
|
}
|
|
5698
5722
|
}
|
|
5699
5723
|
exports.UserApi = UserApi;
|