flexinet-api 0.0.429-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/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} beneficiaryValue This is the beneficiary value
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: (beneficiaryValue, kind, options = {}) => __awaiter(this, void 0, void 0, function* () {
502
- // verify required parameter 'beneficiaryValue' is not null or undefined
503
- assertParamExists('getBalance', 'beneficiaryValue', beneficiaryValue);
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 (beneficiaryValue !== undefined) {
520
- localVarQueryParameter['beneficiaryValue'] = beneficiaryValue;
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} beneficiaryValue This is the beneficiary value
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(beneficiaryValue, kind, options) {
645
+ getBalance(beneficiaryValues, kind, options) {
643
646
  return __awaiter(this, void 0, void 0, function* () {
644
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getBalance(beneficiaryValue, kind, options);
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} beneficiaryValue This is the beneficiary value
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(beneficiaryValue, kind, options) {
706
- return localVarFp.getBalance(beneficiaryValue, kind, options).then((request) => request(axios, basePath));
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} beneficiaryValue This is the beneficiary value
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(beneficiaryValue, kind, options) {
758
- return BalanceApiFp(this.configuration).getBalance(beneficiaryValue, kind, options).then((request) => request(this.axios, this.basePath));
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} [balanceId] Filter by balance
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, balanceId, createdAfter, createdBefore, options = {}) => __awaiter(this, void 0, void 0, function* () {
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 (balanceId !== undefined) {
2240
- localVarQueryParameter['balanceId'] = balanceId;
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} [productId] Filter by token
2266
- * @param {string} [balanceId] Filter by balance
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, productId, balanceId, createdAfter, createdBefore, options = {}) => __awaiter(this, void 0, void 0, function* () {
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 (productId !== undefined) {
2290
- localVarQueryParameter['productId'] = productId;
2292
+ if (productID !== undefined) {
2293
+ localVarQueryParameter['productID'] = productID;
2291
2294
  }
2292
- if (balanceId !== undefined) {
2293
- localVarQueryParameter['balanceId'] = balanceId;
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} [balanceId] Filter by balance
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, balanceId, createdAfter, createdBefore, options) {
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, balanceId, createdAfter, createdBefore, options);
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} [productId] Filter by token
2372
- * @param {string} [balanceId] Filter by balance
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, productId, balanceId, createdAfter, createdBefore, options) {
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, productId, balanceId, createdAfter, createdBefore, options);
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} [balanceId] Filter by balance
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, balanceId, createdAfter, createdBefore, options) {
2426
- return localVarFp.listOrders(paginationToken, search, productId, balanceId, createdAfter, createdBefore, options).then((request) => request(axios, basePath));
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} [productId] Filter by token
2434
- * @param {string} [balanceId] Filter by balance
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, productId, balanceId, createdAfter, createdBefore, options) {
2441
- return localVarFp.listOrdersUser(paginationToken, search, productId, balanceId, createdAfter, createdBefore, options).then((request) => request(axios, basePath));
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} [balanceId] Filter by balance
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, balanceId, createdAfter, createdBefore, options) {
2488
- return OrderApiFp(this.configuration).listOrders(paginationToken, search, productId, balanceId, createdAfter, createdBefore, options).then((request) => request(this.axios, this.basePath));
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} [productId] Filter by token
2496
- * @param {string} [balanceId] Filter by balance
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, productId, balanceId, createdAfter, createdBefore, options) {
2504
- return OrderApiFp(this.configuration).listOrdersUser(paginationToken, search, productId, balanceId, createdAfter, createdBefore, options).then((request) => request(this.axios, this.basePath));
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 ID to filter by
3438
+ * @param {Array<string>} promotionIDs Promotion IDs to filter by
3436
3439
  * @param {number} [periodID] Period ID
3437
- * @param {Array<string>} [userIDs] User ID to filter by
3438
- * @param {Array<string>} [clientIDs] Client ID to filter by
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 ID to filter by
3543
+ * @param {Array<string>} promotionIDs Promotion IDs to filter by
3541
3544
  * @param {number} [periodID] Period ID
3542
- * @param {Array<string>} [userIDs] User ID to filter by
3543
- * @param {Array<string>} [clientIDs] Client ID to filter by
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 ID to filter by
3585
+ * @param {Array<string>} promotionIDs Promotion IDs to filter by
3583
3586
  * @param {number} [periodID] Period ID
3584
- * @param {Array<string>} [userIDs] User ID to filter by
3585
- * @param {Array<string>} [clientIDs] Client ID to filter by
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 ID to filter by
3621
+ * @param {Array<string>} promotionIDs Promotion IDs to filter by
3619
3622
  * @param {number} [periodID] Period ID
3620
- * @param {Array<string>} [userIDs] User ID to filter by
3621
- * @param {Array<string>} [clientIDs] Client ID to filter by
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,7 +3956,7 @@ 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 ID to filter by
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
@@ -4278,7 +4281,7 @@ export const PromotionApiFp = function (configuration) {
4278
4281
  * @param {string} [endingBefore] end time before time
4279
4282
  * @param {string} [startingBefore] start time before time
4280
4283
  * @param {string} [endingAfter] end time after time
4281
- * @param {Array<string>} [clientIDs] client ID to filter by
4284
+ * @param {Array<string>} [clientIDs] client IDs to filter by
4282
4285
  * @param {string} [search] search by name or description
4283
4286
  * @param {PromotionSortByField} [sortBy] sort by field
4284
4287
  * @param {SortDirection} [sortDirection] sort direction
@@ -4439,7 +4442,7 @@ export const PromotionApiFactory = function (configuration, basePath, axios) {
4439
4442
  * @param {string} [endingBefore] end time before time
4440
4443
  * @param {string} [startingBefore] start time before time
4441
4444
  * @param {string} [endingAfter] end time after time
4442
- * @param {Array<string>} [clientIDs] client ID to filter by
4445
+ * @param {Array<string>} [clientIDs] client IDs to filter by
4443
4446
  * @param {string} [search] search by name or description
4444
4447
  * @param {PromotionSortByField} [sortBy] sort by field
4445
4448
  * @param {SortDirection} [sortDirection] sort direction
@@ -4600,7 +4603,7 @@ export class PromotionApi extends BaseAPI {
4600
4603
  * @param {string} [endingBefore] end time before time
4601
4604
  * @param {string} [startingBefore] start time before time
4602
4605
  * @param {string} [endingAfter] end time after time
4603
- * @param {Array<string>} [clientIDs] client ID to filter by
4606
+ * @param {Array<string>} [clientIDs] client IDs to filter by
4604
4607
  * @param {string} [search] search by name or description
4605
4608
  * @param {PromotionSortByField} [sortBy] sort by field
4606
4609
  * @param {SortDirection} [sortDirection] sort direction
@@ -5260,11 +5263,12 @@ export const TransactionApiAxiosParamCreator = function (configuration) {
5260
5263
  * List existing transactions
5261
5264
  * @summary List existing transactions
5262
5265
  * @param {string} [paginationToken] This is the pagination token
5263
- * @param {string} [clientID] This is the client ID
5266
+ * @param {Array<string>} [clientIDs] This is the client IDs to filter by
5267
+ * @param {Array<string>} [userIDs] This is the user ID
5264
5268
  * @param {*} [options] Override http request option.
5265
5269
  * @throws {RequiredError}
5266
5270
  */
5267
- listTransactions: (paginationToken, clientID, options = {}) => __awaiter(this, void 0, void 0, function* () {
5271
+ listTransactions: (paginationToken, clientIDs, userIDs, options = {}) => __awaiter(this, void 0, void 0, function* () {
5268
5272
  const localVarPath = `/admins/transactions`;
5269
5273
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5270
5274
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -5281,8 +5285,11 @@ export const TransactionApiAxiosParamCreator = function (configuration) {
5281
5285
  if (paginationToken !== undefined) {
5282
5286
  localVarQueryParameter['paginationToken'] = paginationToken;
5283
5287
  }
5284
- if (clientID !== undefined) {
5285
- localVarQueryParameter['clientID'] = clientID;
5288
+ if (clientIDs) {
5289
+ localVarQueryParameter['clientIDs'] = clientIDs;
5290
+ }
5291
+ if (userIDs) {
5292
+ localVarQueryParameter['userIDs'] = userIDs;
5286
5293
  }
5287
5294
  setSearchParams(localVarUrlObj, localVarQueryParameter);
5288
5295
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -5305,13 +5312,14 @@ export const TransactionApiFp = function (configuration) {
5305
5312
  * List existing transactions
5306
5313
  * @summary List existing transactions
5307
5314
  * @param {string} [paginationToken] This is the pagination token
5308
- * @param {string} [clientID] This is the client ID
5315
+ * @param {Array<string>} [clientIDs] This is the client IDs to filter by
5316
+ * @param {Array<string>} [userIDs] This is the user ID
5309
5317
  * @param {*} [options] Override http request option.
5310
5318
  * @throws {RequiredError}
5311
5319
  */
5312
- listTransactions(paginationToken, clientID, options) {
5320
+ listTransactions(paginationToken, clientIDs, userIDs, options) {
5313
5321
  return __awaiter(this, void 0, void 0, function* () {
5314
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listTransactions(paginationToken, clientID, options);
5322
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listTransactions(paginationToken, clientIDs, userIDs, options);
5315
5323
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5316
5324
  });
5317
5325
  },
@@ -5328,12 +5336,13 @@ export const TransactionApiFactory = function (configuration, basePath, axios) {
5328
5336
  * List existing transactions
5329
5337
  * @summary List existing transactions
5330
5338
  * @param {string} [paginationToken] This is the pagination token
5331
- * @param {string} [clientID] This is the client ID
5339
+ * @param {Array<string>} [clientIDs] This is the client IDs to filter by
5340
+ * @param {Array<string>} [userIDs] This is the user ID
5332
5341
  * @param {*} [options] Override http request option.
5333
5342
  * @throws {RequiredError}
5334
5343
  */
5335
- listTransactions(paginationToken, clientID, options) {
5336
- return localVarFp.listTransactions(paginationToken, clientID, options).then((request) => request(axios, basePath));
5344
+ listTransactions(paginationToken, clientIDs, userIDs, options) {
5345
+ return localVarFp.listTransactions(paginationToken, clientIDs, userIDs, options).then((request) => request(axios, basePath));
5337
5346
  },
5338
5347
  };
5339
5348
  };
@@ -5348,13 +5357,14 @@ export class TransactionApi extends BaseAPI {
5348
5357
  * List existing transactions
5349
5358
  * @summary List existing transactions
5350
5359
  * @param {string} [paginationToken] This is the pagination token
5351
- * @param {string} [clientID] This is the client ID
5360
+ * @param {Array<string>} [clientIDs] This is the client IDs to filter by
5361
+ * @param {Array<string>} [userIDs] This is the user ID
5352
5362
  * @param {*} [options] Override http request option.
5353
5363
  * @throws {RequiredError}
5354
5364
  * @memberof TransactionApi
5355
5365
  */
5356
- listTransactions(paginationToken, clientID, options) {
5357
- return TransactionApiFp(this.configuration).listTransactions(paginationToken, clientID, options).then((request) => request(this.axios, this.basePath));
5366
+ listTransactions(paginationToken, clientIDs, userIDs, options) {
5367
+ return TransactionApiFp(this.configuration).listTransactions(paginationToken, clientIDs, userIDs, options).then((request) => request(this.axios, this.basePath));
5358
5368
  }
5359
5369
  }
5360
5370
  /**
@@ -5433,13 +5443,13 @@ export const UserApiAxiosParamCreator = function (configuration) {
5433
5443
  * @param {string} [nextToken] This is the pagination token
5434
5444
  * @param {UserRole} [role] role to filter by
5435
5445
  * @param {string} [search] search string
5436
- * @param {string} [clientID] client ID to filter by
5437
- * @param {string} [userIds] user ids to filter by, list of ids separated by commas.
5446
+ * @param {Array<string>} [clientIDs] client IDs to filter by
5447
+ * @param {Array<string>} [userIDs] user ids to filter by
5438
5448
  * @param {UserSource} [source] source to filter by
5439
5449
  * @param {*} [options] Override http request option.
5440
5450
  * @throws {RequiredError}
5441
5451
  */
5442
- listUsers: (nextToken, role, search, clientID, userIds, source, options = {}) => __awaiter(this, void 0, void 0, function* () {
5452
+ listUsers: (nextToken, role, search, clientIDs, userIDs, source, options = {}) => __awaiter(this, void 0, void 0, function* () {
5443
5453
  const localVarPath = `/admins/users`;
5444
5454
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5445
5455
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -5462,11 +5472,11 @@ export const UserApiAxiosParamCreator = function (configuration) {
5462
5472
  if (search !== undefined) {
5463
5473
  localVarQueryParameter['search'] = search;
5464
5474
  }
5465
- if (clientID !== undefined) {
5466
- localVarQueryParameter['clientID'] = clientID;
5475
+ if (clientIDs) {
5476
+ localVarQueryParameter['clientIDs'] = clientIDs;
5467
5477
  }
5468
- if (userIds !== undefined) {
5469
- localVarQueryParameter['userIds'] = userIds;
5478
+ if (userIDs) {
5479
+ localVarQueryParameter['userIDs'] = userIDs;
5470
5480
  }
5471
5481
  if (source !== undefined) {
5472
5482
  localVarQueryParameter['source'] = source;
@@ -5520,15 +5530,15 @@ export const UserApiFp = function (configuration) {
5520
5530
  * @param {string} [nextToken] This is the pagination token
5521
5531
  * @param {UserRole} [role] role to filter by
5522
5532
  * @param {string} [search] search string
5523
- * @param {string} [clientID] client ID to filter by
5524
- * @param {string} [userIds] user ids to filter by, list of ids separated by commas.
5533
+ * @param {Array<string>} [clientIDs] client IDs to filter by
5534
+ * @param {Array<string>} [userIDs] user ids to filter by
5525
5535
  * @param {UserSource} [source] source to filter by
5526
5536
  * @param {*} [options] Override http request option.
5527
5537
  * @throws {RequiredError}
5528
5538
  */
5529
- listUsers(nextToken, role, search, clientID, userIds, source, options) {
5539
+ listUsers(nextToken, role, search, clientIDs, userIDs, source, options) {
5530
5540
  return __awaiter(this, void 0, void 0, function* () {
5531
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listUsers(nextToken, role, search, clientID, userIds, source, options);
5541
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listUsers(nextToken, role, search, clientIDs, userIDs, source, options);
5532
5542
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5533
5543
  });
5534
5544
  },
@@ -5567,14 +5577,14 @@ export const UserApiFactory = function (configuration, basePath, axios) {
5567
5577
  * @param {string} [nextToken] This is the pagination token
5568
5578
  * @param {UserRole} [role] role to filter by
5569
5579
  * @param {string} [search] search string
5570
- * @param {string} [clientID] client ID to filter by
5571
- * @param {string} [userIds] user ids to filter by, list of ids separated by commas.
5580
+ * @param {Array<string>} [clientIDs] client IDs to filter by
5581
+ * @param {Array<string>} [userIDs] user ids to filter by
5572
5582
  * @param {UserSource} [source] source to filter by
5573
5583
  * @param {*} [options] Override http request option.
5574
5584
  * @throws {RequiredError}
5575
5585
  */
5576
- listUsers(nextToken, role, search, clientID, userIds, source, options) {
5577
- return localVarFp.listUsers(nextToken, role, search, clientID, userIds, source, options).then((request) => request(axios, basePath));
5586
+ listUsers(nextToken, role, search, clientIDs, userIDs, source, options) {
5587
+ return localVarFp.listUsers(nextToken, role, search, clientIDs, userIDs, source, options).then((request) => request(axios, basePath));
5578
5588
  },
5579
5589
  };
5580
5590
  };
@@ -5613,14 +5623,14 @@ export class UserApi extends BaseAPI {
5613
5623
  * @param {string} [nextToken] This is the pagination token
5614
5624
  * @param {UserRole} [role] role to filter by
5615
5625
  * @param {string} [search] search string
5616
- * @param {string} [clientID] client ID to filter by
5617
- * @param {string} [userIds] user ids to filter by, list of ids separated by commas.
5626
+ * @param {Array<string>} [clientIDs] client IDs to filter by
5627
+ * @param {Array<string>} [userIDs] user ids to filter by
5618
5628
  * @param {UserSource} [source] source to filter by
5619
5629
  * @param {*} [options] Override http request option.
5620
5630
  * @throws {RequiredError}
5621
5631
  * @memberof UserApi
5622
5632
  */
5623
- listUsers(nextToken, role, search, clientID, userIds, source, options) {
5624
- return UserApiFp(this.configuration).listUsers(nextToken, role, search, clientID, userIds, source, options).then((request) => request(this.axios, this.basePath));
5633
+ listUsers(nextToken, role, search, clientIDs, userIDs, source, options) {
5634
+ return UserApiFp(this.configuration).listUsers(nextToken, role, search, clientIDs, userIDs, source, options).then((request) => request(this.axios, this.basePath));
5625
5635
  }
5626
5636
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flexinet-api",
3
- "version": "0.0.429-prerelease0",
3
+ "version": "0.0.430-prerelease0",
4
4
  "description": "OpenAPI client for flexinet-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {