flexinet-api 0.0.428-prerelease0 → 0.0.430-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/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} beneficiaryValue This is the beneficiary value
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: (beneficiaryValue, kind, options = {}) => __awaiter(this, void 0, void 0, function* () {
511
- // verify required parameter 'beneficiaryValue' is not null or undefined
512
- (0, common_1.assertParamExists)('getBalance', 'beneficiaryValue', beneficiaryValue);
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 (beneficiaryValue !== undefined) {
529
- localVarQueryParameter['beneficiaryValue'] = beneficiaryValue;
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} beneficiaryValue This is the beneficiary value
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(beneficiaryValue, kind, options) {
655
+ getBalance(beneficiaryValues, kind, options) {
653
656
  return __awaiter(this, void 0, void 0, function* () {
654
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getBalance(beneficiaryValue, kind, options);
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} beneficiaryValue This is the beneficiary value
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(beneficiaryValue, kind, options) {
717
- return localVarFp.getBalance(beneficiaryValue, kind, options).then((request) => request(axios, basePath));
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} beneficiaryValue This is the beneficiary value
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(beneficiaryValue, kind, options) {
770
- return (0, exports.BalanceApiFp)(this.configuration).getBalance(beneficiaryValue, kind, options).then((request) => request(this.axios, this.basePath));
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} [balanceId] Filter by balance
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, balanceId, createdAfter, createdBefore, options = {}) => __awaiter(this, void 0, void 0, function* () {
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 (balanceId !== undefined) {
2281
- localVarQueryParameter['balanceId'] = balanceId;
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} [productId] Filter by token
2307
- * @param {string} [balanceId] Filter by balance
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, productId, balanceId, createdAfter, createdBefore, options = {}) => __awaiter(this, void 0, void 0, function* () {
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 (productId !== undefined) {
2331
- localVarQueryParameter['productId'] = productId;
2333
+ if (productID !== undefined) {
2334
+ localVarQueryParameter['productID'] = productID;
2332
2335
  }
2333
- if (balanceId !== undefined) {
2334
- localVarQueryParameter['balanceId'] = balanceId;
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} [balanceId] Filter by balance
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, balanceId, createdAfter, createdBefore, options) {
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, balanceId, createdAfter, createdBefore, options);
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} [productId] Filter by token
2414
- * @param {string} [balanceId] Filter by balance
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, productId, balanceId, createdAfter, createdBefore, options) {
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, productId, balanceId, createdAfter, createdBefore, options);
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} [balanceId] Filter by balance
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, balanceId, createdAfter, createdBefore, options) {
2469
- return localVarFp.listOrders(paginationToken, search, productId, balanceId, createdAfter, createdBefore, options).then((request) => request(axios, basePath));
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} [productId] Filter by token
2477
- * @param {string} [balanceId] Filter by balance
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, productId, balanceId, createdAfter, createdBefore, options) {
2484
- return localVarFp.listOrdersUser(paginationToken, search, productId, balanceId, createdAfter, createdBefore, options).then((request) => request(axios, basePath));
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} [balanceId] Filter by balance
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, balanceId, createdAfter, createdBefore, options) {
2532
- return (0, exports.OrderApiFp)(this.configuration).listOrders(paginationToken, search, productId, balanceId, createdAfter, createdBefore, options).then((request) => request(this.axios, this.basePath));
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} [productId] Filter by token
2540
- * @param {string} [balanceId] Filter by balance
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, productId, balanceId, createdAfter, createdBefore, options) {
2548
- return (0, exports.OrderApiFp)(this.configuration).listOrdersUser(paginationToken, search, productId, balanceId, createdAfter, createdBefore, options).then((request) => request(this.axios, this.basePath));
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 ID to filter by
3487
+ * @param {Array<string>} promotionIDs Promotion IDs to filter by
3485
3488
  * @param {number} [periodID] Period ID
3486
- * @param {Array<string>} [userIDs] User ID to filter by
3487
- * @param {Array<string>} [clientIDs] Client ID to filter by
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 ID to filter by
3593
+ * @param {Array<string>} promotionIDs Promotion IDs to filter by
3591
3594
  * @param {number} [periodID] Period ID
3592
- * @param {Array<string>} [userIDs] User ID to filter by
3593
- * @param {Array<string>} [clientIDs] Client ID to filter by
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 ID to filter by
3636
+ * @param {Array<string>} promotionIDs Promotion IDs to filter by
3634
3637
  * @param {number} [periodID] Period ID
3635
- * @param {Array<string>} [userIDs] User ID to filter by
3636
- * @param {Array<string>} [clientIDs] Client ID to filter by
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 ID to filter by
3673
+ * @param {Array<string>} promotionIDs Promotion IDs to filter by
3671
3674
  * @param {number} [periodID] Period ID
3672
- * @param {Array<string>} [userIDs] User ID to filter by
3673
- * @param {Array<string>} [clientIDs] Client ID to filter by
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,7 +4009,7 @@ 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 ID to filter by
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
@@ -4332,7 +4335,7 @@ const PromotionApiFp = function (configuration) {
4332
4335
  * @param {string} [endingBefore] end time before time
4333
4336
  * @param {string} [startingBefore] start time before time
4334
4337
  * @param {string} [endingAfter] end time after time
4335
- * @param {Array<string>} [clientIDs] client ID to filter by
4338
+ * @param {Array<string>} [clientIDs] client IDs to filter by
4336
4339
  * @param {string} [search] search by name or description
4337
4340
  * @param {PromotionSortByField} [sortBy] sort by field
4338
4341
  * @param {SortDirection} [sortDirection] sort direction
@@ -4494,7 +4497,7 @@ const PromotionApiFactory = function (configuration, basePath, axios) {
4494
4497
  * @param {string} [endingBefore] end time before time
4495
4498
  * @param {string} [startingBefore] start time before time
4496
4499
  * @param {string} [endingAfter] end time after time
4497
- * @param {Array<string>} [clientIDs] client ID to filter by
4500
+ * @param {Array<string>} [clientIDs] client IDs to filter by
4498
4501
  * @param {string} [search] search by name or description
4499
4502
  * @param {PromotionSortByField} [sortBy] sort by field
4500
4503
  * @param {SortDirection} [sortDirection] sort direction
@@ -4656,7 +4659,7 @@ class PromotionApi extends base_1.BaseAPI {
4656
4659
  * @param {string} [endingBefore] end time before time
4657
4660
  * @param {string} [startingBefore] start time before time
4658
4661
  * @param {string} [endingAfter] end time after time
4659
- * @param {Array<string>} [clientIDs] client ID to filter by
4662
+ * @param {Array<string>} [clientIDs] client IDs to filter by
4660
4663
  * @param {string} [search] search by name or description
4661
4664
  * @param {PromotionSortByField} [sortBy] sort by field
4662
4665
  * @param {SortDirection} [sortDirection] sort direction
@@ -5325,11 +5328,12 @@ const TransactionApiAxiosParamCreator = function (configuration) {
5325
5328
  * List existing transactions
5326
5329
  * @summary List existing transactions
5327
5330
  * @param {string} [paginationToken] This is the pagination token
5328
- * @param {string} [clientID] This is the client ID
5331
+ * @param {Array<string>} [clientIDs] This is the client IDs to filter by
5332
+ * @param {Array<string>} [userIDs] This is the user ID
5329
5333
  * @param {*} [options] Override http request option.
5330
5334
  * @throws {RequiredError}
5331
5335
  */
5332
- listTransactions: (paginationToken, clientID, options = {}) => __awaiter(this, void 0, void 0, function* () {
5336
+ listTransactions: (paginationToken, clientIDs, userIDs, options = {}) => __awaiter(this, void 0, void 0, function* () {
5333
5337
  const localVarPath = `/admins/transactions`;
5334
5338
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5335
5339
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -5346,8 +5350,11 @@ const TransactionApiAxiosParamCreator = function (configuration) {
5346
5350
  if (paginationToken !== undefined) {
5347
5351
  localVarQueryParameter['paginationToken'] = paginationToken;
5348
5352
  }
5349
- if (clientID !== undefined) {
5350
- localVarQueryParameter['clientID'] = clientID;
5353
+ if (clientIDs) {
5354
+ localVarQueryParameter['clientIDs'] = clientIDs;
5355
+ }
5356
+ if (userIDs) {
5357
+ localVarQueryParameter['userIDs'] = userIDs;
5351
5358
  }
5352
5359
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
5353
5360
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -5371,13 +5378,14 @@ const TransactionApiFp = function (configuration) {
5371
5378
  * List existing transactions
5372
5379
  * @summary List existing transactions
5373
5380
  * @param {string} [paginationToken] This is the pagination token
5374
- * @param {string} [clientID] This is the client ID
5381
+ * @param {Array<string>} [clientIDs] This is the client IDs to filter by
5382
+ * @param {Array<string>} [userIDs] This is the user ID
5375
5383
  * @param {*} [options] Override http request option.
5376
5384
  * @throws {RequiredError}
5377
5385
  */
5378
- listTransactions(paginationToken, clientID, options) {
5386
+ listTransactions(paginationToken, clientIDs, userIDs, options) {
5379
5387
  return __awaiter(this, void 0, void 0, function* () {
5380
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listTransactions(paginationToken, clientID, options);
5388
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listTransactions(paginationToken, clientIDs, userIDs, options);
5381
5389
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
5382
5390
  });
5383
5391
  },
@@ -5395,12 +5403,13 @@ const TransactionApiFactory = function (configuration, basePath, axios) {
5395
5403
  * List existing transactions
5396
5404
  * @summary List existing transactions
5397
5405
  * @param {string} [paginationToken] This is the pagination token
5398
- * @param {string} [clientID] This is the client ID
5406
+ * @param {Array<string>} [clientIDs] This is the client IDs to filter by
5407
+ * @param {Array<string>} [userIDs] This is the user ID
5399
5408
  * @param {*} [options] Override http request option.
5400
5409
  * @throws {RequiredError}
5401
5410
  */
5402
- listTransactions(paginationToken, clientID, options) {
5403
- return localVarFp.listTransactions(paginationToken, clientID, options).then((request) => request(axios, basePath));
5411
+ listTransactions(paginationToken, clientIDs, userIDs, options) {
5412
+ return localVarFp.listTransactions(paginationToken, clientIDs, userIDs, options).then((request) => request(axios, basePath));
5404
5413
  },
5405
5414
  };
5406
5415
  };
@@ -5416,13 +5425,14 @@ class TransactionApi extends base_1.BaseAPI {
5416
5425
  * List existing transactions
5417
5426
  * @summary List existing transactions
5418
5427
  * @param {string} [paginationToken] This is the pagination token
5419
- * @param {string} [clientID] This is the client ID
5428
+ * @param {Array<string>} [clientIDs] This is the client IDs to filter by
5429
+ * @param {Array<string>} [userIDs] This is the user ID
5420
5430
  * @param {*} [options] Override http request option.
5421
5431
  * @throws {RequiredError}
5422
5432
  * @memberof TransactionApi
5423
5433
  */
5424
- listTransactions(paginationToken, clientID, options) {
5425
- return (0, exports.TransactionApiFp)(this.configuration).listTransactions(paginationToken, clientID, options).then((request) => request(this.axios, this.basePath));
5434
+ listTransactions(paginationToken, clientIDs, userIDs, options) {
5435
+ return (0, exports.TransactionApiFp)(this.configuration).listTransactions(paginationToken, clientIDs, userIDs, options).then((request) => request(this.axios, this.basePath));
5426
5436
  }
5427
5437
  }
5428
5438
  exports.TransactionApi = TransactionApi;
@@ -5502,13 +5512,13 @@ const UserApiAxiosParamCreator = function (configuration) {
5502
5512
  * @param {string} [nextToken] This is the pagination token
5503
5513
  * @param {UserRole} [role] role to filter by
5504
5514
  * @param {string} [search] search string
5505
- * @param {string} [clientID] client ID to filter by
5506
- * @param {string} [userIds] user ids to filter by, list of ids separated by commas.
5515
+ * @param {Array<string>} [clientIDs] client IDs to filter by
5516
+ * @param {Array<string>} [userIDs] user ids to filter by
5507
5517
  * @param {UserSource} [source] source to filter by
5508
5518
  * @param {*} [options] Override http request option.
5509
5519
  * @throws {RequiredError}
5510
5520
  */
5511
- listUsers: (nextToken, role, search, clientID, userIds, source, options = {}) => __awaiter(this, void 0, void 0, function* () {
5521
+ listUsers: (nextToken, role, search, clientIDs, userIDs, source, options = {}) => __awaiter(this, void 0, void 0, function* () {
5512
5522
  const localVarPath = `/admins/users`;
5513
5523
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5514
5524
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -5531,11 +5541,11 @@ const UserApiAxiosParamCreator = function (configuration) {
5531
5541
  if (search !== undefined) {
5532
5542
  localVarQueryParameter['search'] = search;
5533
5543
  }
5534
- if (clientID !== undefined) {
5535
- localVarQueryParameter['clientID'] = clientID;
5544
+ if (clientIDs) {
5545
+ localVarQueryParameter['clientIDs'] = clientIDs;
5536
5546
  }
5537
- if (userIds !== undefined) {
5538
- localVarQueryParameter['userIds'] = userIds;
5547
+ if (userIDs) {
5548
+ localVarQueryParameter['userIDs'] = userIDs;
5539
5549
  }
5540
5550
  if (source !== undefined) {
5541
5551
  localVarQueryParameter['source'] = source;
@@ -5590,15 +5600,15 @@ const UserApiFp = function (configuration) {
5590
5600
  * @param {string} [nextToken] This is the pagination token
5591
5601
  * @param {UserRole} [role] role to filter by
5592
5602
  * @param {string} [search] search string
5593
- * @param {string} [clientID] client ID to filter by
5594
- * @param {string} [userIds] user ids to filter by, list of ids separated by commas.
5603
+ * @param {Array<string>} [clientIDs] client IDs to filter by
5604
+ * @param {Array<string>} [userIDs] user ids to filter by
5595
5605
  * @param {UserSource} [source] source to filter by
5596
5606
  * @param {*} [options] Override http request option.
5597
5607
  * @throws {RequiredError}
5598
5608
  */
5599
- listUsers(nextToken, role, search, clientID, userIds, source, options) {
5609
+ listUsers(nextToken, role, search, clientIDs, userIDs, source, options) {
5600
5610
  return __awaiter(this, void 0, void 0, function* () {
5601
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listUsers(nextToken, role, search, clientID, userIds, source, options);
5611
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listUsers(nextToken, role, search, clientIDs, userIDs, source, options);
5602
5612
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
5603
5613
  });
5604
5614
  },
@@ -5638,14 +5648,14 @@ const UserApiFactory = function (configuration, basePath, axios) {
5638
5648
  * @param {string} [nextToken] This is the pagination token
5639
5649
  * @param {UserRole} [role] role to filter by
5640
5650
  * @param {string} [search] search string
5641
- * @param {string} [clientID] client ID to filter by
5642
- * @param {string} [userIds] user ids to filter by, list of ids separated by commas.
5651
+ * @param {Array<string>} [clientIDs] client IDs to filter by
5652
+ * @param {Array<string>} [userIDs] user ids to filter by
5643
5653
  * @param {UserSource} [source] source to filter by
5644
5654
  * @param {*} [options] Override http request option.
5645
5655
  * @throws {RequiredError}
5646
5656
  */
5647
- listUsers(nextToken, role, search, clientID, userIds, source, options) {
5648
- return localVarFp.listUsers(nextToken, role, search, clientID, userIds, source, options).then((request) => request(axios, basePath));
5657
+ listUsers(nextToken, role, search, clientIDs, userIDs, source, options) {
5658
+ return localVarFp.listUsers(nextToken, role, search, clientIDs, userIDs, source, options).then((request) => request(axios, basePath));
5649
5659
  },
5650
5660
  };
5651
5661
  };
@@ -5685,15 +5695,15 @@ class UserApi extends base_1.BaseAPI {
5685
5695
  * @param {string} [nextToken] This is the pagination token
5686
5696
  * @param {UserRole} [role] role to filter by
5687
5697
  * @param {string} [search] search string
5688
- * @param {string} [clientID] client ID to filter by
5689
- * @param {string} [userIds] user ids to filter by, list of ids separated by commas.
5698
+ * @param {Array<string>} [clientIDs] client IDs to filter by
5699
+ * @param {Array<string>} [userIDs] user ids to filter by
5690
5700
  * @param {UserSource} [source] source to filter by
5691
5701
  * @param {*} [options] Override http request option.
5692
5702
  * @throws {RequiredError}
5693
5703
  * @memberof UserApi
5694
5704
  */
5695
- listUsers(nextToken, role, search, clientID, userIds, source, options) {
5696
- return (0, exports.UserApiFp)(this.configuration).listUsers(nextToken, role, search, clientID, userIds, source, options).then((request) => request(this.axios, this.basePath));
5705
+ listUsers(nextToken, role, search, clientIDs, userIDs, source, options) {
5706
+ return (0, exports.UserApiFp)(this.configuration).listUsers(nextToken, role, search, clientIDs, userIDs, source, options).then((request) => request(this.axios, this.basePath));
5697
5707
  }
5698
5708
  }
5699
5709
  exports.UserApi = UserApi;