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/api.ts CHANGED
@@ -178,6 +178,19 @@ export interface BalanceUpdateRequest {
178
178
  }
179
179
 
180
180
 
181
+ /**
182
+ *
183
+ * @export
184
+ * @interface BalancesResponse
185
+ */
186
+ export interface BalancesResponse {
187
+ /**
188
+ *
189
+ * @type {Array<Balance>}
190
+ * @memberof BalancesResponse
191
+ */
192
+ 'balances': Array<Balance>;
193
+ }
181
194
  /**
182
195
  *
183
196
  * @export
@@ -2690,6 +2703,12 @@ export interface TransactionEventDetails {
2690
2703
  * @memberof TransactionEventDetails
2691
2704
  */
2692
2705
  'originalTimestamp'?: string;
2706
+ /**
2707
+ *
2708
+ * @type {{ [key: string]: string; }}
2709
+ * @memberof TransactionEventDetails
2710
+ */
2711
+ 'metadata'?: { [key: string]: string; };
2693
2712
  }
2694
2713
 
2695
2714
 
@@ -3377,14 +3396,14 @@ export const BalanceApiAxiosParamCreator = function (configuration?: Configurati
3377
3396
  /**
3378
3397
  * Get balance
3379
3398
  * @summary Get balance
3380
- * @param {string} beneficiaryValue This is the beneficiary value
3399
+ * @param {Array<string>} beneficiaryValues Beneficiary values to filter by
3381
3400
  * @param {BeneficiaryKind} kind This is the beneficiary kind
3382
3401
  * @param {*} [options] Override http request option.
3383
3402
  * @throws {RequiredError}
3384
3403
  */
3385
- getBalance: async (beneficiaryValue: string, kind: BeneficiaryKind, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3386
- // verify required parameter 'beneficiaryValue' is not null or undefined
3387
- assertParamExists('getBalance', 'beneficiaryValue', beneficiaryValue)
3404
+ getBalance: async (beneficiaryValues: Array<string>, kind: BeneficiaryKind, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3405
+ // verify required parameter 'beneficiaryValues' is not null or undefined
3406
+ assertParamExists('getBalance', 'beneficiaryValues', beneficiaryValues)
3388
3407
  // verify required parameter 'kind' is not null or undefined
3389
3408
  assertParamExists('getBalance', 'kind', kind)
3390
3409
  const localVarPath = `/admins/balances`;
@@ -3403,8 +3422,8 @@ export const BalanceApiAxiosParamCreator = function (configuration?: Configurati
3403
3422
  // http bearer authentication required
3404
3423
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
3405
3424
 
3406
- if (beneficiaryValue !== undefined) {
3407
- localVarQueryParameter['beneficiaryValue'] = beneficiaryValue;
3425
+ if (beneficiaryValues) {
3426
+ localVarQueryParameter['beneficiaryValues'] = beneficiaryValues;
3408
3427
  }
3409
3428
 
3410
3429
  if (kind !== undefined) {
@@ -3480,6 +3499,10 @@ export const BalanceApiAxiosParamCreator = function (configuration?: Configurati
3480
3499
  const localVarHeaderParameter = {} as any;
3481
3500
  const localVarQueryParameter = {} as any;
3482
3501
 
3502
+ // authentication jwt required
3503
+ // http bearer authentication required
3504
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
3505
+
3483
3506
 
3484
3507
 
3485
3508
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -3545,13 +3568,13 @@ export const BalanceApiFp = function(configuration?: Configuration) {
3545
3568
  /**
3546
3569
  * Get balance
3547
3570
  * @summary Get balance
3548
- * @param {string} beneficiaryValue This is the beneficiary value
3571
+ * @param {Array<string>} beneficiaryValues Beneficiary values to filter by
3549
3572
  * @param {BeneficiaryKind} kind This is the beneficiary kind
3550
3573
  * @param {*} [options] Override http request option.
3551
3574
  * @throws {RequiredError}
3552
3575
  */
3553
- async getBalance(beneficiaryValue: string, kind: BeneficiaryKind, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Balance>> {
3554
- const localVarAxiosArgs = await localVarAxiosParamCreator.getBalance(beneficiaryValue, kind, options);
3576
+ async getBalance(beneficiaryValues: Array<string>, kind: BeneficiaryKind, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BalancesResponse>> {
3577
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getBalance(beneficiaryValues, kind, options);
3555
3578
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3556
3579
  },
3557
3580
  /**
@@ -3601,13 +3624,13 @@ export const BalanceApiFactory = function (configuration?: Configuration, basePa
3601
3624
  /**
3602
3625
  * Get balance
3603
3626
  * @summary Get balance
3604
- * @param {string} beneficiaryValue This is the beneficiary value
3627
+ * @param {Array<string>} beneficiaryValues Beneficiary values to filter by
3605
3628
  * @param {BeneficiaryKind} kind This is the beneficiary kind
3606
3629
  * @param {*} [options] Override http request option.
3607
3630
  * @throws {RequiredError}
3608
3631
  */
3609
- getBalance(beneficiaryValue: string, kind: BeneficiaryKind, options?: any): AxiosPromise<Balance> {
3610
- return localVarFp.getBalance(beneficiaryValue, kind, options).then((request) => request(axios, basePath));
3632
+ getBalance(beneficiaryValues: Array<string>, kind: BeneficiaryKind, options?: any): AxiosPromise<BalancesResponse> {
3633
+ return localVarFp.getBalance(beneficiaryValues, kind, options).then((request) => request(axios, basePath));
3611
3634
  },
3612
3635
  /**
3613
3636
  * Get balance for the user
@@ -3653,14 +3676,14 @@ export class BalanceApi extends BaseAPI {
3653
3676
  /**
3654
3677
  * Get balance
3655
3678
  * @summary Get balance
3656
- * @param {string} beneficiaryValue This is the beneficiary value
3679
+ * @param {Array<string>} beneficiaryValues Beneficiary values to filter by
3657
3680
  * @param {BeneficiaryKind} kind This is the beneficiary kind
3658
3681
  * @param {*} [options] Override http request option.
3659
3682
  * @throws {RequiredError}
3660
3683
  * @memberof BalanceApi
3661
3684
  */
3662
- public getBalance(beneficiaryValue: string, kind: BeneficiaryKind, options?: AxiosRequestConfig) {
3663
- return BalanceApiFp(this.configuration).getBalance(beneficiaryValue, kind, options).then((request) => request(this.axios, this.basePath));
3685
+ public getBalance(beneficiaryValues: Array<string>, kind: BeneficiaryKind, options?: AxiosRequestConfig) {
3686
+ return BalanceApiFp(this.configuration).getBalance(beneficiaryValues, kind, options).then((request) => request(this.axios, this.basePath));
3664
3687
  }
3665
3688
 
3666
3689
  /**
@@ -5257,13 +5280,13 @@ export const OrderApiAxiosParamCreator = function (configuration?: Configuration
5257
5280
  * @param {string} [paginationToken] This is the pagination token
5258
5281
  * @param {string} [search] Search for product or order
5259
5282
  * @param {string} [productId] Filter by token
5260
- * @param {string} [balanceId] Filter by balance
5283
+ * @param {Array<string>} [balanceIDs] Filter by balance ids
5261
5284
  * @param {string} [createdAfter] Filter orders created after the specified date
5262
5285
  * @param {string} [createdBefore] Filter orders created before the specified date
5263
5286
  * @param {*} [options] Override http request option.
5264
5287
  * @throws {RequiredError}
5265
5288
  */
5266
- listOrders: async (paginationToken?: string, search?: string, productId?: string, balanceId?: string, createdAfter?: string, createdBefore?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5289
+ listOrders: async (paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5267
5290
  const localVarPath = `/admins/orders`;
5268
5291
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5269
5292
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -5292,8 +5315,8 @@ export const OrderApiAxiosParamCreator = function (configuration?: Configuration
5292
5315
  localVarQueryParameter['productId'] = productId;
5293
5316
  }
5294
5317
 
5295
- if (balanceId !== undefined) {
5296
- localVarQueryParameter['balanceId'] = balanceId;
5318
+ if (balanceIDs) {
5319
+ localVarQueryParameter['balanceIDs'] = balanceIDs;
5297
5320
  }
5298
5321
 
5299
5322
  if (createdAfter !== undefined) {
@@ -5324,14 +5347,14 @@ export const OrderApiAxiosParamCreator = function (configuration?: Configuration
5324
5347
  * @summary List existing orders
5325
5348
  * @param {string} [paginationToken] This is the pagination token
5326
5349
  * @param {string} [search] Search for product or order
5327
- * @param {string} [productId] Filter by token
5328
- * @param {string} [balanceId] Filter by balance
5350
+ * @param {string} [productID] Filter by token
5351
+ * @param {Array<string>} [balanceIDs] Filter by balance ids
5329
5352
  * @param {string} [createdAfter] Filter orders created after the specified date
5330
5353
  * @param {string} [createdBefore] Filter orders created before the specified date
5331
5354
  * @param {*} [options] Override http request option.
5332
5355
  * @throws {RequiredError}
5333
5356
  */
5334
- listOrdersUser: async (paginationToken?: string, search?: string, productId?: string, balanceId?: string, createdAfter?: string, createdBefore?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5357
+ listOrdersUser: async (paginationToken?: string, search?: string, productID?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5335
5358
  const localVarPath = `/users/orders`;
5336
5359
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5337
5360
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -5352,12 +5375,12 @@ export const OrderApiAxiosParamCreator = function (configuration?: Configuration
5352
5375
  localVarQueryParameter['search'] = search;
5353
5376
  }
5354
5377
 
5355
- if (productId !== undefined) {
5356
- localVarQueryParameter['productId'] = productId;
5378
+ if (productID !== undefined) {
5379
+ localVarQueryParameter['productID'] = productID;
5357
5380
  }
5358
5381
 
5359
- if (balanceId !== undefined) {
5360
- localVarQueryParameter['balanceId'] = balanceId;
5382
+ if (balanceIDs) {
5383
+ localVarQueryParameter['balanceIDs'] = balanceIDs;
5361
5384
  }
5362
5385
 
5363
5386
  if (createdAfter !== undefined) {
@@ -5421,14 +5444,14 @@ export const OrderApiFp = function(configuration?: Configuration) {
5421
5444
  * @param {string} [paginationToken] This is the pagination token
5422
5445
  * @param {string} [search] Search for product or order
5423
5446
  * @param {string} [productId] Filter by token
5424
- * @param {string} [balanceId] Filter by balance
5447
+ * @param {Array<string>} [balanceIDs] Filter by balance ids
5425
5448
  * @param {string} [createdAfter] Filter orders created after the specified date
5426
5449
  * @param {string} [createdBefore] Filter orders created before the specified date
5427
5450
  * @param {*} [options] Override http request option.
5428
5451
  * @throws {RequiredError}
5429
5452
  */
5430
- async listOrders(paginationToken?: string, search?: string, productId?: string, balanceId?: string, createdAfter?: string, createdBefore?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderListResponse>> {
5431
- const localVarAxiosArgs = await localVarAxiosParamCreator.listOrders(paginationToken, search, productId, balanceId, createdAfter, createdBefore, options);
5453
+ async listOrders(paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderListResponse>> {
5454
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, options);
5432
5455
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5433
5456
  },
5434
5457
  /**
@@ -5436,15 +5459,15 @@ export const OrderApiFp = function(configuration?: Configuration) {
5436
5459
  * @summary List existing orders
5437
5460
  * @param {string} [paginationToken] This is the pagination token
5438
5461
  * @param {string} [search] Search for product or order
5439
- * @param {string} [productId] Filter by token
5440
- * @param {string} [balanceId] Filter by balance
5462
+ * @param {string} [productID] Filter by token
5463
+ * @param {Array<string>} [balanceIDs] Filter by balance ids
5441
5464
  * @param {string} [createdAfter] Filter orders created after the specified date
5442
5465
  * @param {string} [createdBefore] Filter orders created before the specified date
5443
5466
  * @param {*} [options] Override http request option.
5444
5467
  * @throws {RequiredError}
5445
5468
  */
5446
- async listOrdersUser(paginationToken?: string, search?: string, productId?: string, balanceId?: string, createdAfter?: string, createdBefore?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderListResponse>> {
5447
- const localVarAxiosArgs = await localVarAxiosParamCreator.listOrdersUser(paginationToken, search, productId, balanceId, createdAfter, createdBefore, options);
5469
+ async listOrdersUser(paginationToken?: string, search?: string, productID?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderListResponse>> {
5470
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, options);
5448
5471
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5449
5472
  },
5450
5473
  }
@@ -5483,29 +5506,29 @@ export const OrderApiFactory = function (configuration?: Configuration, basePath
5483
5506
  * @param {string} [paginationToken] This is the pagination token
5484
5507
  * @param {string} [search] Search for product or order
5485
5508
  * @param {string} [productId] Filter by token
5486
- * @param {string} [balanceId] Filter by balance
5509
+ * @param {Array<string>} [balanceIDs] Filter by balance ids
5487
5510
  * @param {string} [createdAfter] Filter orders created after the specified date
5488
5511
  * @param {string} [createdBefore] Filter orders created before the specified date
5489
5512
  * @param {*} [options] Override http request option.
5490
5513
  * @throws {RequiredError}
5491
5514
  */
5492
- listOrders(paginationToken?: string, search?: string, productId?: string, balanceId?: string, createdAfter?: string, createdBefore?: string, options?: any): AxiosPromise<OrderListResponse> {
5493
- return localVarFp.listOrders(paginationToken, search, productId, balanceId, createdAfter, createdBefore, options).then((request) => request(axios, basePath));
5515
+ listOrders(paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, options?: any): AxiosPromise<OrderListResponse> {
5516
+ return localVarFp.listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, options).then((request) => request(axios, basePath));
5494
5517
  },
5495
5518
  /**
5496
5519
  * List existing orders
5497
5520
  * @summary List existing orders
5498
5521
  * @param {string} [paginationToken] This is the pagination token
5499
5522
  * @param {string} [search] Search for product or order
5500
- * @param {string} [productId] Filter by token
5501
- * @param {string} [balanceId] Filter by balance
5523
+ * @param {string} [productID] Filter by token
5524
+ * @param {Array<string>} [balanceIDs] Filter by balance ids
5502
5525
  * @param {string} [createdAfter] Filter orders created after the specified date
5503
5526
  * @param {string} [createdBefore] Filter orders created before the specified date
5504
5527
  * @param {*} [options] Override http request option.
5505
5528
  * @throws {RequiredError}
5506
5529
  */
5507
- listOrdersUser(paginationToken?: string, search?: string, productId?: string, balanceId?: string, createdAfter?: string, createdBefore?: string, options?: any): AxiosPromise<OrderListResponse> {
5508
- return localVarFp.listOrdersUser(paginationToken, search, productId, balanceId, createdAfter, createdBefore, options).then((request) => request(axios, basePath));
5530
+ listOrdersUser(paginationToken?: string, search?: string, productID?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, options?: any): AxiosPromise<OrderListResponse> {
5531
+ return localVarFp.listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, options).then((request) => request(axios, basePath));
5509
5532
  },
5510
5533
  };
5511
5534
  };
@@ -5547,15 +5570,15 @@ export class OrderApi extends BaseAPI {
5547
5570
  * @param {string} [paginationToken] This is the pagination token
5548
5571
  * @param {string} [search] Search for product or order
5549
5572
  * @param {string} [productId] Filter by token
5550
- * @param {string} [balanceId] Filter by balance
5573
+ * @param {Array<string>} [balanceIDs] Filter by balance ids
5551
5574
  * @param {string} [createdAfter] Filter orders created after the specified date
5552
5575
  * @param {string} [createdBefore] Filter orders created before the specified date
5553
5576
  * @param {*} [options] Override http request option.
5554
5577
  * @throws {RequiredError}
5555
5578
  * @memberof OrderApi
5556
5579
  */
5557
- public listOrders(paginationToken?: string, search?: string, productId?: string, balanceId?: string, createdAfter?: string, createdBefore?: string, options?: AxiosRequestConfig) {
5558
- return OrderApiFp(this.configuration).listOrders(paginationToken, search, productId, balanceId, createdAfter, createdBefore, options).then((request) => request(this.axios, this.basePath));
5580
+ public listOrders(paginationToken?: string, search?: string, productId?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, options?: AxiosRequestConfig) {
5581
+ return OrderApiFp(this.configuration).listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, options).then((request) => request(this.axios, this.basePath));
5559
5582
  }
5560
5583
 
5561
5584
  /**
@@ -5563,16 +5586,16 @@ export class OrderApi extends BaseAPI {
5563
5586
  * @summary List existing orders
5564
5587
  * @param {string} [paginationToken] This is the pagination token
5565
5588
  * @param {string} [search] Search for product or order
5566
- * @param {string} [productId] Filter by token
5567
- * @param {string} [balanceId] Filter by balance
5589
+ * @param {string} [productID] Filter by token
5590
+ * @param {Array<string>} [balanceIDs] Filter by balance ids
5568
5591
  * @param {string} [createdAfter] Filter orders created after the specified date
5569
5592
  * @param {string} [createdBefore] Filter orders created before the specified date
5570
5593
  * @param {*} [options] Override http request option.
5571
5594
  * @throws {RequiredError}
5572
5595
  * @memberof OrderApi
5573
5596
  */
5574
- public listOrdersUser(paginationToken?: string, search?: string, productId?: string, balanceId?: string, createdAfter?: string, createdBefore?: string, options?: AxiosRequestConfig) {
5575
- return OrderApiFp(this.configuration).listOrdersUser(paginationToken, search, productId, balanceId, createdAfter, createdBefore, options).then((request) => request(this.axios, this.basePath));
5597
+ public listOrdersUser(paginationToken?: string, search?: string, productID?: string, balanceIDs?: Array<string>, createdAfter?: string, createdBefore?: string, options?: AxiosRequestConfig) {
5598
+ return OrderApiFp(this.configuration).listOrdersUser(paginationToken, search, productID, balanceIDs, createdAfter, createdBefore, options).then((request) => request(this.axios, this.basePath));
5576
5599
  }
5577
5600
  }
5578
5601
 
@@ -6592,10 +6615,10 @@ export const ProgressApiAxiosParamCreator = function (configuration?: Configurat
6592
6615
  /**
6593
6616
  * List progress
6594
6617
  * @summary List progress
6595
- * @param {Array<string>} promotionIDs Promotion ID to filter by
6618
+ * @param {Array<string>} promotionIDs Promotion IDs to filter by
6596
6619
  * @param {number} [periodID] Period ID
6597
- * @param {Array<string>} [userIDs] User ID to filter by
6598
- * @param {Array<string>} [clientIDs] Client ID to filter by
6620
+ * @param {Array<string>} [userIDs] User IDs to filter by
6621
+ * @param {Array<string>} [clientIDs] Client IDs to filter by
6599
6622
  * @param {ListProgressIntervalEnum} [interval] Interval
6600
6623
  * @param {string} [nextToken] This is the pagination token
6601
6624
  * @param {*} [options] Override http request option.
@@ -6719,10 +6742,10 @@ export const ProgressApiFp = function(configuration?: Configuration) {
6719
6742
  /**
6720
6743
  * List progress
6721
6744
  * @summary List progress
6722
- * @param {Array<string>} promotionIDs Promotion ID to filter by
6745
+ * @param {Array<string>} promotionIDs Promotion IDs to filter by
6723
6746
  * @param {number} [periodID] Period ID
6724
- * @param {Array<string>} [userIDs] User ID to filter by
6725
- * @param {Array<string>} [clientIDs] Client ID to filter by
6747
+ * @param {Array<string>} [userIDs] User IDs to filter by
6748
+ * @param {Array<string>} [clientIDs] Client IDs to filter by
6726
6749
  * @param {ListProgressIntervalEnum} [interval] Interval
6727
6750
  * @param {string} [nextToken] This is the pagination token
6728
6751
  * @param {*} [options] Override http request option.
@@ -6758,10 +6781,10 @@ export const ProgressApiFactory = function (configuration?: Configuration, baseP
6758
6781
  /**
6759
6782
  * List progress
6760
6783
  * @summary List progress
6761
- * @param {Array<string>} promotionIDs Promotion ID to filter by
6784
+ * @param {Array<string>} promotionIDs Promotion IDs to filter by
6762
6785
  * @param {number} [periodID] Period ID
6763
- * @param {Array<string>} [userIDs] User ID to filter by
6764
- * @param {Array<string>} [clientIDs] Client ID to filter by
6786
+ * @param {Array<string>} [userIDs] User IDs to filter by
6787
+ * @param {Array<string>} [clientIDs] Client IDs to filter by
6765
6788
  * @param {ListProgressIntervalEnum} [interval] Interval
6766
6789
  * @param {string} [nextToken] This is the pagination token
6767
6790
  * @param {*} [options] Override http request option.
@@ -6795,10 +6818,10 @@ export class ProgressApi extends BaseAPI {
6795
6818
  /**
6796
6819
  * List progress
6797
6820
  * @summary List progress
6798
- * @param {Array<string>} promotionIDs Promotion ID to filter by
6821
+ * @param {Array<string>} promotionIDs Promotion IDs to filter by
6799
6822
  * @param {number} [periodID] Period ID
6800
- * @param {Array<string>} [userIDs] User ID to filter by
6801
- * @param {Array<string>} [clientIDs] Client ID to filter by
6823
+ * @param {Array<string>} [userIDs] User IDs to filter by
6824
+ * @param {Array<string>} [clientIDs] Client IDs to filter by
6802
6825
  * @param {ListProgressIntervalEnum} [interval] Interval
6803
6826
  * @param {string} [nextToken] This is the pagination token
6804
6827
  * @param {*} [options] Override http request option.
@@ -7190,14 +7213,15 @@ export const PromotionApiAxiosParamCreator = function (configuration?: Configura
7190
7213
  * @param {string} [endingBefore] end time before time
7191
7214
  * @param {string} [startingBefore] start time before time
7192
7215
  * @param {string} [endingAfter] end time after time
7193
- * @param {Array<string>} [clientIDs] client ID to filter by
7216
+ * @param {Array<string>} [clientIDs] client IDs to filter by
7194
7217
  * @param {string} [search] search by name or description
7195
7218
  * @param {PromotionSortByField} [sortBy] sort by field
7196
7219
  * @param {SortDirection} [sortDirection] sort direction
7220
+ * @param {boolean} [onlyClaimable] only claimable promotions
7197
7221
  * @param {*} [options] Override http request option.
7198
7222
  * @throws {RequiredError}
7199
7223
  */
7200
- listPromotions: async (nextToken?: string, tags?: string, segmentId?: string, ownerID?: string, type?: PromotionType, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, clientIDs?: Array<string>, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
7224
+ listPromotions: async (nextToken?: string, tags?: string, segmentId?: string, ownerID?: string, type?: PromotionType, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, clientIDs?: Array<string>, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
7201
7225
  const localVarPath = `/admins/promotions`;
7202
7226
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
7203
7227
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -7274,6 +7298,10 @@ export const PromotionApiAxiosParamCreator = function (configuration?: Configura
7274
7298
  localVarQueryParameter['sortDirection'] = sortDirection;
7275
7299
  }
7276
7300
 
7301
+ if (onlyClaimable !== undefined) {
7302
+ localVarQueryParameter['onlyClaimable'] = onlyClaimable;
7303
+ }
7304
+
7277
7305
 
7278
7306
 
7279
7307
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -7297,10 +7325,11 @@ export const PromotionApiAxiosParamCreator = function (configuration?: Configura
7297
7325
  * @param {string} [search] search by name or description
7298
7326
  * @param {PromotionSortByField} [sortBy] sort by field
7299
7327
  * @param {SortDirection} [sortDirection] sort direction
7328
+ * @param {boolean} [onlyClaimable] only claimable promotions
7300
7329
  * @param {*} [options] Override http request option.
7301
7330
  * @throws {RequiredError}
7302
7331
  */
7303
- listUserPromotions: async (nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
7332
+ listUserPromotions: async (nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
7304
7333
  const localVarPath = `/users/promotions`;
7305
7334
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
7306
7335
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -7361,6 +7390,10 @@ export const PromotionApiAxiosParamCreator = function (configuration?: Configura
7361
7390
  localVarQueryParameter['sortDirection'] = sortDirection;
7362
7391
  }
7363
7392
 
7393
+ if (onlyClaimable !== undefined) {
7394
+ localVarQueryParameter['onlyClaimable'] = onlyClaimable;
7395
+ }
7396
+
7364
7397
 
7365
7398
 
7366
7399
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -7539,15 +7572,16 @@ export const PromotionApiFp = function(configuration?: Configuration) {
7539
7572
  * @param {string} [endingBefore] end time before time
7540
7573
  * @param {string} [startingBefore] start time before time
7541
7574
  * @param {string} [endingAfter] end time after time
7542
- * @param {Array<string>} [clientIDs] client ID to filter by
7575
+ * @param {Array<string>} [clientIDs] client IDs to filter by
7543
7576
  * @param {string} [search] search by name or description
7544
7577
  * @param {PromotionSortByField} [sortBy] sort by field
7545
7578
  * @param {SortDirection} [sortDirection] sort direction
7579
+ * @param {boolean} [onlyClaimable] only claimable promotions
7546
7580
  * @param {*} [options] Override http request option.
7547
7581
  * @throws {RequiredError}
7548
7582
  */
7549
- async listPromotions(nextToken?: string, tags?: string, segmentId?: string, ownerID?: string, type?: PromotionType, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, clientIDs?: Array<string>, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PromotionsResponse>> {
7550
- const localVarAxiosArgs = await localVarAxiosParamCreator.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, options);
7583
+ async listPromotions(nextToken?: string, tags?: string, segmentId?: string, ownerID?: string, type?: PromotionType, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, clientIDs?: Array<string>, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PromotionsResponse>> {
7584
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, options);
7551
7585
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
7552
7586
  },
7553
7587
  /**
@@ -7562,11 +7596,12 @@ export const PromotionApiFp = function(configuration?: Configuration) {
7562
7596
  * @param {string} [search] search by name or description
7563
7597
  * @param {PromotionSortByField} [sortBy] sort by field
7564
7598
  * @param {SortDirection} [sortDirection] sort direction
7599
+ * @param {boolean} [onlyClaimable] only claimable promotions
7565
7600
  * @param {*} [options] Override http request option.
7566
7601
  * @throws {RequiredError}
7567
7602
  */
7568
- async listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PromotionsResponse>> {
7569
- const localVarAxiosArgs = await localVarAxiosParamCreator.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, options);
7603
+ async listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PromotionsResponse>> {
7604
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, options);
7570
7605
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
7571
7606
  },
7572
7607
  /**
@@ -7695,15 +7730,16 @@ export const PromotionApiFactory = function (configuration?: Configuration, base
7695
7730
  * @param {string} [endingBefore] end time before time
7696
7731
  * @param {string} [startingBefore] start time before time
7697
7732
  * @param {string} [endingAfter] end time after time
7698
- * @param {Array<string>} [clientIDs] client ID to filter by
7733
+ * @param {Array<string>} [clientIDs] client IDs to filter by
7699
7734
  * @param {string} [search] search by name or description
7700
7735
  * @param {PromotionSortByField} [sortBy] sort by field
7701
7736
  * @param {SortDirection} [sortDirection] sort direction
7737
+ * @param {boolean} [onlyClaimable] only claimable promotions
7702
7738
  * @param {*} [options] Override http request option.
7703
7739
  * @throws {RequiredError}
7704
7740
  */
7705
- listPromotions(nextToken?: string, tags?: string, segmentId?: string, ownerID?: string, type?: PromotionType, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, clientIDs?: Array<string>, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, options?: any): AxiosPromise<PromotionsResponse> {
7706
- return localVarFp.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, options).then((request) => request(axios, basePath));
7741
+ listPromotions(nextToken?: string, tags?: string, segmentId?: string, ownerID?: string, type?: PromotionType, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, clientIDs?: Array<string>, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, options?: any): AxiosPromise<PromotionsResponse> {
7742
+ return localVarFp.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, options).then((request) => request(axios, basePath));
7707
7743
  },
7708
7744
  /**
7709
7745
  * List users promotions
@@ -7717,11 +7753,12 @@ export const PromotionApiFactory = function (configuration?: Configuration, base
7717
7753
  * @param {string} [search] search by name or description
7718
7754
  * @param {PromotionSortByField} [sortBy] sort by field
7719
7755
  * @param {SortDirection} [sortDirection] sort direction
7756
+ * @param {boolean} [onlyClaimable] only claimable promotions
7720
7757
  * @param {*} [options] Override http request option.
7721
7758
  * @throws {RequiredError}
7722
7759
  */
7723
- listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, options?: any): AxiosPromise<PromotionsResponse> {
7724
- return localVarFp.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, options).then((request) => request(axios, basePath));
7760
+ listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, options?: any): AxiosPromise<PromotionsResponse> {
7761
+ return localVarFp.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, options).then((request) => request(axios, basePath));
7725
7762
  },
7726
7763
  /**
7727
7764
  * Update promotion by id
@@ -7866,16 +7903,17 @@ export class PromotionApi extends BaseAPI {
7866
7903
  * @param {string} [endingBefore] end time before time
7867
7904
  * @param {string} [startingBefore] start time before time
7868
7905
  * @param {string} [endingAfter] end time after time
7869
- * @param {Array<string>} [clientIDs] client ID to filter by
7906
+ * @param {Array<string>} [clientIDs] client IDs to filter by
7870
7907
  * @param {string} [search] search by name or description
7871
7908
  * @param {PromotionSortByField} [sortBy] sort by field
7872
7909
  * @param {SortDirection} [sortDirection] sort direction
7910
+ * @param {boolean} [onlyClaimable] only claimable promotions
7873
7911
  * @param {*} [options] Override http request option.
7874
7912
  * @throws {RequiredError}
7875
7913
  * @memberof PromotionApi
7876
7914
  */
7877
- public listPromotions(nextToken?: string, tags?: string, segmentId?: string, ownerID?: string, type?: PromotionType, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, clientIDs?: Array<string>, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, options?: AxiosRequestConfig) {
7878
- return PromotionApiFp(this.configuration).listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, options).then((request) => request(this.axios, this.basePath));
7915
+ public listPromotions(nextToken?: string, tags?: string, segmentId?: string, ownerID?: string, type?: PromotionType, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, clientIDs?: Array<string>, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, options?: AxiosRequestConfig) {
7916
+ return PromotionApiFp(this.configuration).listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, options).then((request) => request(this.axios, this.basePath));
7879
7917
  }
7880
7918
 
7881
7919
  /**
@@ -7890,12 +7928,13 @@ export class PromotionApi extends BaseAPI {
7890
7928
  * @param {string} [search] search by name or description
7891
7929
  * @param {PromotionSortByField} [sortBy] sort by field
7892
7930
  * @param {SortDirection} [sortDirection] sort direction
7931
+ * @param {boolean} [onlyClaimable] only claimable promotions
7893
7932
  * @param {*} [options] Override http request option.
7894
7933
  * @throws {RequiredError}
7895
7934
  * @memberof PromotionApi
7896
7935
  */
7897
- public listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, options?: AxiosRequestConfig) {
7898
- return PromotionApiFp(this.configuration).listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, options).then((request) => request(this.axios, this.basePath));
7936
+ public listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, options?: AxiosRequestConfig) {
7937
+ return PromotionApiFp(this.configuration).listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, options).then((request) => request(this.axios, this.basePath));
7899
7938
  }
7900
7939
 
7901
7940
  /**
@@ -8587,11 +8626,12 @@ export const TransactionApiAxiosParamCreator = function (configuration?: Configu
8587
8626
  * List existing transactions
8588
8627
  * @summary List existing transactions
8589
8628
  * @param {string} [paginationToken] This is the pagination token
8590
- * @param {string} [clientID] This is the client ID
8629
+ * @param {Array<string>} [clientIDs] This is the client IDs to filter by
8630
+ * @param {Array<string>} [userIDs] This is the user ID
8591
8631
  * @param {*} [options] Override http request option.
8592
8632
  * @throws {RequiredError}
8593
8633
  */
8594
- listTransactions: async (paginationToken?: string, clientID?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
8634
+ listTransactions: async (paginationToken?: string, clientIDs?: Array<string>, userIDs?: Array<string>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
8595
8635
  const localVarPath = `/admins/transactions`;
8596
8636
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
8597
8637
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -8612,8 +8652,12 @@ export const TransactionApiAxiosParamCreator = function (configuration?: Configu
8612
8652
  localVarQueryParameter['paginationToken'] = paginationToken;
8613
8653
  }
8614
8654
 
8615
- if (clientID !== undefined) {
8616
- localVarQueryParameter['clientID'] = clientID;
8655
+ if (clientIDs) {
8656
+ localVarQueryParameter['clientIDs'] = clientIDs;
8657
+ }
8658
+
8659
+ if (userIDs) {
8660
+ localVarQueryParameter['userIDs'] = userIDs;
8617
8661
  }
8618
8662
 
8619
8663
 
@@ -8641,12 +8685,13 @@ export const TransactionApiFp = function(configuration?: Configuration) {
8641
8685
  * List existing transactions
8642
8686
  * @summary List existing transactions
8643
8687
  * @param {string} [paginationToken] This is the pagination token
8644
- * @param {string} [clientID] This is the client ID
8688
+ * @param {Array<string>} [clientIDs] This is the client IDs to filter by
8689
+ * @param {Array<string>} [userIDs] This is the user ID
8645
8690
  * @param {*} [options] Override http request option.
8646
8691
  * @throws {RequiredError}
8647
8692
  */
8648
- async listTransactions(paginationToken?: string, clientID?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransactionsResponse>> {
8649
- const localVarAxiosArgs = await localVarAxiosParamCreator.listTransactions(paginationToken, clientID, options);
8693
+ async listTransactions(paginationToken?: string, clientIDs?: Array<string>, userIDs?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransactionsResponse>> {
8694
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listTransactions(paginationToken, clientIDs, userIDs, options);
8650
8695
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
8651
8696
  },
8652
8697
  }
@@ -8663,12 +8708,13 @@ export const TransactionApiFactory = function (configuration?: Configuration, ba
8663
8708
  * List existing transactions
8664
8709
  * @summary List existing transactions
8665
8710
  * @param {string} [paginationToken] This is the pagination token
8666
- * @param {string} [clientID] This is the client ID
8711
+ * @param {Array<string>} [clientIDs] This is the client IDs to filter by
8712
+ * @param {Array<string>} [userIDs] This is the user ID
8667
8713
  * @param {*} [options] Override http request option.
8668
8714
  * @throws {RequiredError}
8669
8715
  */
8670
- listTransactions(paginationToken?: string, clientID?: string, options?: any): AxiosPromise<TransactionsResponse> {
8671
- return localVarFp.listTransactions(paginationToken, clientID, options).then((request) => request(axios, basePath));
8716
+ listTransactions(paginationToken?: string, clientIDs?: Array<string>, userIDs?: Array<string>, options?: any): AxiosPromise<TransactionsResponse> {
8717
+ return localVarFp.listTransactions(paginationToken, clientIDs, userIDs, options).then((request) => request(axios, basePath));
8672
8718
  },
8673
8719
  };
8674
8720
  };
@@ -8684,13 +8730,14 @@ export class TransactionApi extends BaseAPI {
8684
8730
  * List existing transactions
8685
8731
  * @summary List existing transactions
8686
8732
  * @param {string} [paginationToken] This is the pagination token
8687
- * @param {string} [clientID] This is the client ID
8733
+ * @param {Array<string>} [clientIDs] This is the client IDs to filter by
8734
+ * @param {Array<string>} [userIDs] This is the user ID
8688
8735
  * @param {*} [options] Override http request option.
8689
8736
  * @throws {RequiredError}
8690
8737
  * @memberof TransactionApi
8691
8738
  */
8692
- public listTransactions(paginationToken?: string, clientID?: string, options?: AxiosRequestConfig) {
8693
- return TransactionApiFp(this.configuration).listTransactions(paginationToken, clientID, options).then((request) => request(this.axios, this.basePath));
8739
+ public listTransactions(paginationToken?: string, clientIDs?: Array<string>, userIDs?: Array<string>, options?: AxiosRequestConfig) {
8740
+ return TransactionApiFp(this.configuration).listTransactions(paginationToken, clientIDs, userIDs, options).then((request) => request(this.axios, this.basePath));
8694
8741
  }
8695
8742
  }
8696
8743
 
@@ -8784,13 +8831,13 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
8784
8831
  * @param {string} [nextToken] This is the pagination token
8785
8832
  * @param {UserRole} [role] role to filter by
8786
8833
  * @param {string} [search] search string
8787
- * @param {string} [clientID] client ID to filter by
8788
- * @param {string} [userIds] user ids to filter by, list of ids separated by commas.
8834
+ * @param {Array<string>} [clientIDs] client IDs to filter by
8835
+ * @param {Array<string>} [userIDs] user ids to filter by
8789
8836
  * @param {UserSource} [source] source to filter by
8790
8837
  * @param {*} [options] Override http request option.
8791
8838
  * @throws {RequiredError}
8792
8839
  */
8793
- listUsers: async (nextToken?: string, role?: UserRole, search?: string, clientID?: string, userIds?: string, source?: UserSource, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
8840
+ listUsers: async (nextToken?: string, role?: UserRole, search?: string, clientIDs?: Array<string>, userIDs?: Array<string>, source?: UserSource, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
8794
8841
  const localVarPath = `/admins/users`;
8795
8842
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
8796
8843
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -8819,12 +8866,12 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
8819
8866
  localVarQueryParameter['search'] = search;
8820
8867
  }
8821
8868
 
8822
- if (clientID !== undefined) {
8823
- localVarQueryParameter['clientID'] = clientID;
8869
+ if (clientIDs) {
8870
+ localVarQueryParameter['clientIDs'] = clientIDs;
8824
8871
  }
8825
8872
 
8826
- if (userIds !== undefined) {
8827
- localVarQueryParameter['userIds'] = userIds;
8873
+ if (userIDs) {
8874
+ localVarQueryParameter['userIDs'] = userIDs;
8828
8875
  }
8829
8876
 
8830
8877
  if (source !== undefined) {
@@ -8880,14 +8927,14 @@ export const UserApiFp = function(configuration?: Configuration) {
8880
8927
  * @param {string} [nextToken] This is the pagination token
8881
8928
  * @param {UserRole} [role] role to filter by
8882
8929
  * @param {string} [search] search string
8883
- * @param {string} [clientID] client ID to filter by
8884
- * @param {string} [userIds] user ids to filter by, list of ids separated by commas.
8930
+ * @param {Array<string>} [clientIDs] client IDs to filter by
8931
+ * @param {Array<string>} [userIDs] user ids to filter by
8885
8932
  * @param {UserSource} [source] source to filter by
8886
8933
  * @param {*} [options] Override http request option.
8887
8934
  * @throws {RequiredError}
8888
8935
  */
8889
- async listUsers(nextToken?: string, role?: UserRole, search?: string, clientID?: string, userIds?: string, source?: UserSource, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserListResponse>> {
8890
- const localVarAxiosArgs = await localVarAxiosParamCreator.listUsers(nextToken, role, search, clientID, userIds, source, options);
8936
+ async listUsers(nextToken?: string, role?: UserRole, search?: string, clientIDs?: Array<string>, userIDs?: Array<string>, source?: UserSource, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserListResponse>> {
8937
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listUsers(nextToken, role, search, clientIDs, userIDs, source, options);
8891
8938
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
8892
8939
  },
8893
8940
  }
@@ -8926,14 +8973,14 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
8926
8973
  * @param {string} [nextToken] This is the pagination token
8927
8974
  * @param {UserRole} [role] role to filter by
8928
8975
  * @param {string} [search] search string
8929
- * @param {string} [clientID] client ID to filter by
8930
- * @param {string} [userIds] user ids to filter by, list of ids separated by commas.
8976
+ * @param {Array<string>} [clientIDs] client IDs to filter by
8977
+ * @param {Array<string>} [userIDs] user ids to filter by
8931
8978
  * @param {UserSource} [source] source to filter by
8932
8979
  * @param {*} [options] Override http request option.
8933
8980
  * @throws {RequiredError}
8934
8981
  */
8935
- listUsers(nextToken?: string, role?: UserRole, search?: string, clientID?: string, userIds?: string, source?: UserSource, options?: any): AxiosPromise<UserListResponse> {
8936
- return localVarFp.listUsers(nextToken, role, search, clientID, userIds, source, options).then((request) => request(axios, basePath));
8982
+ listUsers(nextToken?: string, role?: UserRole, search?: string, clientIDs?: Array<string>, userIDs?: Array<string>, source?: UserSource, options?: any): AxiosPromise<UserListResponse> {
8983
+ return localVarFp.listUsers(nextToken, role, search, clientIDs, userIDs, source, options).then((request) => request(axios, basePath));
8937
8984
  },
8938
8985
  };
8939
8986
  };
@@ -8975,15 +9022,15 @@ export class UserApi extends BaseAPI {
8975
9022
  * @param {string} [nextToken] This is the pagination token
8976
9023
  * @param {UserRole} [role] role to filter by
8977
9024
  * @param {string} [search] search string
8978
- * @param {string} [clientID] client ID to filter by
8979
- * @param {string} [userIds] user ids to filter by, list of ids separated by commas.
9025
+ * @param {Array<string>} [clientIDs] client IDs to filter by
9026
+ * @param {Array<string>} [userIDs] user ids to filter by
8980
9027
  * @param {UserSource} [source] source to filter by
8981
9028
  * @param {*} [options] Override http request option.
8982
9029
  * @throws {RequiredError}
8983
9030
  * @memberof UserApi
8984
9031
  */
8985
- public listUsers(nextToken?: string, role?: UserRole, search?: string, clientID?: string, userIds?: string, source?: UserSource, options?: AxiosRequestConfig) {
8986
- return UserApiFp(this.configuration).listUsers(nextToken, role, search, clientID, userIds, source, options).then((request) => request(this.axios, this.basePath));
9032
+ public listUsers(nextToken?: string, role?: UserRole, search?: string, clientIDs?: Array<string>, userIDs?: Array<string>, source?: UserSource, options?: AxiosRequestConfig) {
9033
+ return UserApiFp(this.configuration).listUsers(nextToken, role, search, clientIDs, userIDs, source, options).then((request) => request(this.axios, this.basePath));
8987
9034
  }
8988
9035
  }
8989
9036