flexinet-api 0.0.1918-prerelease0-dev → 0.0.1921-prerelease0-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## flexinet-api@0.0.1918-prerelease0-dev
1
+ ## flexinet-api@0.0.1921-prerelease0-dev
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install flexinet-api@0.0.1918-prerelease0-dev --save
39
+ npm install flexinet-api@0.0.1921-prerelease0-dev --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -10091,10 +10091,11 @@ export const PromotionApiAxiosParamCreator = function (configuration?: Configura
10091
10091
  * @param {PromotionSortByField} [sortBy] sort by field
10092
10092
  * @param {SortDirection} [sortDirection] sort direction
10093
10093
  * @param {boolean} [onlyClaimable] only claimable promotions
10094
+ * @param {Array<string>} [iDs] IDs to filter by
10094
10095
  * @param {*} [options] Override http request option.
10095
10096
  * @throws {RequiredError}
10096
10097
  */
10097
- 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> => {
10098
+ 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, iDs?: Array<string>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
10098
10099
  const localVarPath = `/admins/promotions`;
10099
10100
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
10100
10101
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -10175,6 +10176,10 @@ export const PromotionApiAxiosParamCreator = function (configuration?: Configura
10175
10176
  localVarQueryParameter['onlyClaimable'] = onlyClaimable;
10176
10177
  }
10177
10178
 
10179
+ if (iDs) {
10180
+ localVarQueryParameter['IDs'] = iDs;
10181
+ }
10182
+
10178
10183
 
10179
10184
 
10180
10185
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -10200,10 +10205,11 @@ export const PromotionApiAxiosParamCreator = function (configuration?: Configura
10200
10205
  * @param {SortDirection} [sortDirection] sort direction
10201
10206
  * @param {boolean} [onlyClaimable] only claimable promotions
10202
10207
  * @param {PromotionType} [type] promotion type
10208
+ * @param {Array<string>} [iDs] IDs to filter by
10203
10209
  * @param {*} [options] Override http request option.
10204
10210
  * @throws {RequiredError}
10205
10211
  */
10206
- listUserPromotions: async (nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, type?: PromotionType, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
10212
+ listUserPromotions: async (nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, type?: PromotionType, iDs?: Array<string>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
10207
10213
  const localVarPath = `/users/promotions`;
10208
10214
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
10209
10215
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -10272,6 +10278,10 @@ export const PromotionApiAxiosParamCreator = function (configuration?: Configura
10272
10278
  localVarQueryParameter['type'] = type;
10273
10279
  }
10274
10280
 
10281
+ if (iDs) {
10282
+ localVarQueryParameter['IDs'] = iDs;
10283
+ }
10284
+
10275
10285
 
10276
10286
 
10277
10287
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -10472,11 +10482,12 @@ export const PromotionApiFp = function(configuration?: Configuration) {
10472
10482
  * @param {PromotionSortByField} [sortBy] sort by field
10473
10483
  * @param {SortDirection} [sortDirection] sort direction
10474
10484
  * @param {boolean} [onlyClaimable] only claimable promotions
10485
+ * @param {Array<string>} [iDs] IDs to filter by
10475
10486
  * @param {*} [options] Override http request option.
10476
10487
  * @throws {RequiredError}
10477
10488
  */
10478
- 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>> {
10479
- const localVarAxiosArgs = await localVarAxiosParamCreator.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, options);
10489
+ 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, iDs?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PromotionsResponse>> {
10490
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, iDs, options);
10480
10491
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
10481
10492
  },
10482
10493
  /**
@@ -10493,11 +10504,12 @@ export const PromotionApiFp = function(configuration?: Configuration) {
10493
10504
  * @param {SortDirection} [sortDirection] sort direction
10494
10505
  * @param {boolean} [onlyClaimable] only claimable promotions
10495
10506
  * @param {PromotionType} [type] promotion type
10507
+ * @param {Array<string>} [iDs] IDs to filter by
10496
10508
  * @param {*} [options] Override http request option.
10497
10509
  * @throws {RequiredError}
10498
10510
  */
10499
- async listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, type?: PromotionType, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserPromotionsResponse>> {
10500
- const localVarAxiosArgs = await localVarAxiosParamCreator.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, options);
10511
+ async listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, type?: PromotionType, iDs?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserPromotionsResponse>> {
10512
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options);
10501
10513
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
10502
10514
  },
10503
10515
  /**
@@ -10647,11 +10659,12 @@ export const PromotionApiFactory = function (configuration?: Configuration, base
10647
10659
  * @param {PromotionSortByField} [sortBy] sort by field
10648
10660
  * @param {SortDirection} [sortDirection] sort direction
10649
10661
  * @param {boolean} [onlyClaimable] only claimable promotions
10662
+ * @param {Array<string>} [iDs] IDs to filter by
10650
10663
  * @param {*} [options] Override http request option.
10651
10664
  * @throws {RequiredError}
10652
10665
  */
10653
- 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> {
10654
- return localVarFp.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, options).then((request) => request(axios, basePath));
10666
+ 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, iDs?: Array<string>, options?: any): AxiosPromise<PromotionsResponse> {
10667
+ return localVarFp.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, iDs, options).then((request) => request(axios, basePath));
10655
10668
  },
10656
10669
  /**
10657
10670
  * List users promotions
@@ -10667,11 +10680,12 @@ export const PromotionApiFactory = function (configuration?: Configuration, base
10667
10680
  * @param {SortDirection} [sortDirection] sort direction
10668
10681
  * @param {boolean} [onlyClaimable] only claimable promotions
10669
10682
  * @param {PromotionType} [type] promotion type
10683
+ * @param {Array<string>} [iDs] IDs to filter by
10670
10684
  * @param {*} [options] Override http request option.
10671
10685
  * @throws {RequiredError}
10672
10686
  */
10673
- listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, type?: PromotionType, options?: any): AxiosPromise<UserPromotionsResponse> {
10674
- return localVarFp.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, options).then((request) => request(axios, basePath));
10687
+ listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, type?: PromotionType, iDs?: Array<string>, options?: any): AxiosPromise<UserPromotionsResponse> {
10688
+ return localVarFp.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options).then((request) => request(axios, basePath));
10675
10689
  },
10676
10690
  /**
10677
10691
  * Update promotion by id
@@ -10839,12 +10853,13 @@ export class PromotionApi extends BaseAPI {
10839
10853
  * @param {PromotionSortByField} [sortBy] sort by field
10840
10854
  * @param {SortDirection} [sortDirection] sort direction
10841
10855
  * @param {boolean} [onlyClaimable] only claimable promotions
10856
+ * @param {Array<string>} [iDs] IDs to filter by
10842
10857
  * @param {*} [options] Override http request option.
10843
10858
  * @throws {RequiredError}
10844
10859
  * @memberof PromotionApi
10845
10860
  */
10846
- 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) {
10847
- 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));
10861
+ 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, iDs?: Array<string>, options?: AxiosRequestConfig) {
10862
+ return PromotionApiFp(this.configuration).listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, iDs, options).then((request) => request(this.axios, this.basePath));
10848
10863
  }
10849
10864
 
10850
10865
  /**
@@ -10861,12 +10876,13 @@ export class PromotionApi extends BaseAPI {
10861
10876
  * @param {SortDirection} [sortDirection] sort direction
10862
10877
  * @param {boolean} [onlyClaimable] only claimable promotions
10863
10878
  * @param {PromotionType} [type] promotion type
10879
+ * @param {Array<string>} [iDs] IDs to filter by
10864
10880
  * @param {*} [options] Override http request option.
10865
10881
  * @throws {RequiredError}
10866
10882
  * @memberof PromotionApi
10867
10883
  */
10868
- public listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, type?: PromotionType, options?: AxiosRequestConfig) {
10869
- return PromotionApiFp(this.configuration).listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, options).then((request) => request(this.axios, this.basePath));
10884
+ public listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, type?: PromotionType, iDs?: Array<string>, options?: AxiosRequestConfig) {
10885
+ return PromotionApiFp(this.configuration).listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options).then((request) => request(this.axios, this.basePath));
10870
10886
  }
10871
10887
 
10872
10888
  /**
package/dist/api.d.ts CHANGED
@@ -6939,10 +6939,11 @@ export declare const PromotionApiAxiosParamCreator: (configuration?: Configurati
6939
6939
  * @param {PromotionSortByField} [sortBy] sort by field
6940
6940
  * @param {SortDirection} [sortDirection] sort direction
6941
6941
  * @param {boolean} [onlyClaimable] only claimable promotions
6942
+ * @param {Array<string>} [iDs] IDs to filter by
6942
6943
  * @param {*} [options] Override http request option.
6943
6944
  * @throws {RequiredError}
6944
6945
  */
6945
- 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<RequestArgs>;
6946
+ 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, iDs?: Array<string>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6946
6947
  /**
6947
6948
  * List users promotions
6948
6949
  * @summary List promotions
@@ -6957,10 +6958,11 @@ export declare const PromotionApiAxiosParamCreator: (configuration?: Configurati
6957
6958
  * @param {SortDirection} [sortDirection] sort direction
6958
6959
  * @param {boolean} [onlyClaimable] only claimable promotions
6959
6960
  * @param {PromotionType} [type] promotion type
6961
+ * @param {Array<string>} [iDs] IDs to filter by
6960
6962
  * @param {*} [options] Override http request option.
6961
6963
  * @throws {RequiredError}
6962
6964
  */
6963
- listUserPromotions: (nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, type?: PromotionType, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6965
+ listUserPromotions: (nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, type?: PromotionType, iDs?: Array<string>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6964
6966
  /**
6965
6967
  * Update promotion by id
6966
6968
  * @summary Update promotion
@@ -7081,10 +7083,11 @@ export declare const PromotionApiFp: (configuration?: Configuration) => {
7081
7083
  * @param {PromotionSortByField} [sortBy] sort by field
7082
7084
  * @param {SortDirection} [sortDirection] sort direction
7083
7085
  * @param {boolean} [onlyClaimable] only claimable promotions
7086
+ * @param {Array<string>} [iDs] IDs to filter by
7084
7087
  * @param {*} [options] Override http request option.
7085
7088
  * @throws {RequiredError}
7086
7089
  */
7087
- 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>>;
7090
+ 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, iDs?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PromotionsResponse>>;
7088
7091
  /**
7089
7092
  * List users promotions
7090
7093
  * @summary List promotions
@@ -7099,10 +7102,11 @@ export declare const PromotionApiFp: (configuration?: Configuration) => {
7099
7102
  * @param {SortDirection} [sortDirection] sort direction
7100
7103
  * @param {boolean} [onlyClaimable] only claimable promotions
7101
7104
  * @param {PromotionType} [type] promotion type
7105
+ * @param {Array<string>} [iDs] IDs to filter by
7102
7106
  * @param {*} [options] Override http request option.
7103
7107
  * @throws {RequiredError}
7104
7108
  */
7105
- listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, type?: PromotionType, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserPromotionsResponse>>;
7109
+ listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, type?: PromotionType, iDs?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserPromotionsResponse>>;
7106
7110
  /**
7107
7111
  * Update promotion by id
7108
7112
  * @summary Update promotion
@@ -7223,10 +7227,11 @@ export declare const PromotionApiFactory: (configuration?: Configuration, basePa
7223
7227
  * @param {PromotionSortByField} [sortBy] sort by field
7224
7228
  * @param {SortDirection} [sortDirection] sort direction
7225
7229
  * @param {boolean} [onlyClaimable] only claimable promotions
7230
+ * @param {Array<string>} [iDs] IDs to filter by
7226
7231
  * @param {*} [options] Override http request option.
7227
7232
  * @throws {RequiredError}
7228
7233
  */
7229
- 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>;
7234
+ 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, iDs?: Array<string>, options?: any): AxiosPromise<PromotionsResponse>;
7230
7235
  /**
7231
7236
  * List users promotions
7232
7237
  * @summary List promotions
@@ -7241,10 +7246,11 @@ export declare const PromotionApiFactory: (configuration?: Configuration, basePa
7241
7246
  * @param {SortDirection} [sortDirection] sort direction
7242
7247
  * @param {boolean} [onlyClaimable] only claimable promotions
7243
7248
  * @param {PromotionType} [type] promotion type
7249
+ * @param {Array<string>} [iDs] IDs to filter by
7244
7250
  * @param {*} [options] Override http request option.
7245
7251
  * @throws {RequiredError}
7246
7252
  */
7247
- listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, type?: PromotionType, options?: any): AxiosPromise<UserPromotionsResponse>;
7253
+ listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, type?: PromotionType, iDs?: Array<string>, options?: any): AxiosPromise<UserPromotionsResponse>;
7248
7254
  /**
7249
7255
  * Update promotion by id
7250
7256
  * @summary Update promotion
@@ -7377,11 +7383,12 @@ export declare class PromotionApi extends BaseAPI {
7377
7383
  * @param {PromotionSortByField} [sortBy] sort by field
7378
7384
  * @param {SortDirection} [sortDirection] sort direction
7379
7385
  * @param {boolean} [onlyClaimable] only claimable promotions
7386
+ * @param {Array<string>} [iDs] IDs to filter by
7380
7387
  * @param {*} [options] Override http request option.
7381
7388
  * @throws {RequiredError}
7382
7389
  * @memberof PromotionApi
7383
7390
  */
7384
- 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<import("axios").AxiosResponse<PromotionsResponse, any>>;
7391
+ 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, iDs?: Array<string>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PromotionsResponse, any>>;
7385
7392
  /**
7386
7393
  * List users promotions
7387
7394
  * @summary List promotions
@@ -7396,11 +7403,12 @@ export declare class PromotionApi extends BaseAPI {
7396
7403
  * @param {SortDirection} [sortDirection] sort direction
7397
7404
  * @param {boolean} [onlyClaimable] only claimable promotions
7398
7405
  * @param {PromotionType} [type] promotion type
7406
+ * @param {Array<string>} [iDs] IDs to filter by
7399
7407
  * @param {*} [options] Override http request option.
7400
7408
  * @throws {RequiredError}
7401
7409
  * @memberof PromotionApi
7402
7410
  */
7403
- listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, type?: PromotionType, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UserPromotionsResponse, any>>;
7411
+ listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, type?: PromotionType, iDs?: Array<string>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UserPromotionsResponse, any>>;
7404
7412
  /**
7405
7413
  * Update promotion by id
7406
7414
  * @summary Update promotion
package/dist/api.js CHANGED
@@ -5421,10 +5421,11 @@ const PromotionApiAxiosParamCreator = function (configuration) {
5421
5421
  * @param {PromotionSortByField} [sortBy] sort by field
5422
5422
  * @param {SortDirection} [sortDirection] sort direction
5423
5423
  * @param {boolean} [onlyClaimable] only claimable promotions
5424
+ * @param {Array<string>} [iDs] IDs to filter by
5424
5425
  * @param {*} [options] Override http request option.
5425
5426
  * @throws {RequiredError}
5426
5427
  */
5427
- listPromotions: (nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, options = {}) => __awaiter(this, void 0, void 0, function* () {
5428
+ listPromotions: (nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, iDs, options = {}) => __awaiter(this, void 0, void 0, function* () {
5428
5429
  const localVarPath = `/admins/promotions`;
5429
5430
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5430
5431
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -5488,6 +5489,9 @@ const PromotionApiAxiosParamCreator = function (configuration) {
5488
5489
  if (onlyClaimable !== undefined) {
5489
5490
  localVarQueryParameter['onlyClaimable'] = onlyClaimable;
5490
5491
  }
5492
+ if (iDs) {
5493
+ localVarQueryParameter['IDs'] = iDs;
5494
+ }
5491
5495
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
5492
5496
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5493
5497
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -5510,10 +5514,11 @@ const PromotionApiAxiosParamCreator = function (configuration) {
5510
5514
  * @param {SortDirection} [sortDirection] sort direction
5511
5515
  * @param {boolean} [onlyClaimable] only claimable promotions
5512
5516
  * @param {PromotionType} [type] promotion type
5517
+ * @param {Array<string>} [iDs] IDs to filter by
5513
5518
  * @param {*} [options] Override http request option.
5514
5519
  * @throws {RequiredError}
5515
5520
  */
5516
- listUserPromotions: (nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, options = {}) => __awaiter(this, void 0, void 0, function* () {
5521
+ listUserPromotions: (nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options = {}) => __awaiter(this, void 0, void 0, function* () {
5517
5522
  const localVarPath = `/users/promotions`;
5518
5523
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5519
5524
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -5568,6 +5573,9 @@ const PromotionApiAxiosParamCreator = function (configuration) {
5568
5573
  if (type !== undefined) {
5569
5574
  localVarQueryParameter['type'] = type;
5570
5575
  }
5576
+ if (iDs) {
5577
+ localVarQueryParameter['IDs'] = iDs;
5578
+ }
5571
5579
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
5572
5580
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5573
5581
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -5778,12 +5786,13 @@ const PromotionApiFp = function (configuration) {
5778
5786
  * @param {PromotionSortByField} [sortBy] sort by field
5779
5787
  * @param {SortDirection} [sortDirection] sort direction
5780
5788
  * @param {boolean} [onlyClaimable] only claimable promotions
5789
+ * @param {Array<string>} [iDs] IDs to filter by
5781
5790
  * @param {*} [options] Override http request option.
5782
5791
  * @throws {RequiredError}
5783
5792
  */
5784
- listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, options) {
5793
+ listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, iDs, options) {
5785
5794
  return __awaiter(this, void 0, void 0, function* () {
5786
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, options);
5795
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, iDs, options);
5787
5796
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
5788
5797
  });
5789
5798
  },
@@ -5801,12 +5810,13 @@ const PromotionApiFp = function (configuration) {
5801
5810
  * @param {SortDirection} [sortDirection] sort direction
5802
5811
  * @param {boolean} [onlyClaimable] only claimable promotions
5803
5812
  * @param {PromotionType} [type] promotion type
5813
+ * @param {Array<string>} [iDs] IDs to filter by
5804
5814
  * @param {*} [options] Override http request option.
5805
5815
  * @throws {RequiredError}
5806
5816
  */
5807
- listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, options) {
5817
+ listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options) {
5808
5818
  return __awaiter(this, void 0, void 0, function* () {
5809
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, options);
5819
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options);
5810
5820
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
5811
5821
  });
5812
5822
  },
@@ -5959,11 +5969,12 @@ const PromotionApiFactory = function (configuration, basePath, axios) {
5959
5969
  * @param {PromotionSortByField} [sortBy] sort by field
5960
5970
  * @param {SortDirection} [sortDirection] sort direction
5961
5971
  * @param {boolean} [onlyClaimable] only claimable promotions
5972
+ * @param {Array<string>} [iDs] IDs to filter by
5962
5973
  * @param {*} [options] Override http request option.
5963
5974
  * @throws {RequiredError}
5964
5975
  */
5965
- listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, options) {
5966
- return localVarFp.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, options).then((request) => request(axios, basePath));
5976
+ listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, iDs, options) {
5977
+ return localVarFp.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, iDs, options).then((request) => request(axios, basePath));
5967
5978
  },
5968
5979
  /**
5969
5980
  * List users promotions
@@ -5979,11 +5990,12 @@ const PromotionApiFactory = function (configuration, basePath, axios) {
5979
5990
  * @param {SortDirection} [sortDirection] sort direction
5980
5991
  * @param {boolean} [onlyClaimable] only claimable promotions
5981
5992
  * @param {PromotionType} [type] promotion type
5993
+ * @param {Array<string>} [iDs] IDs to filter by
5982
5994
  * @param {*} [options] Override http request option.
5983
5995
  * @throws {RequiredError}
5984
5996
  */
5985
- listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, options) {
5986
- return localVarFp.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, options).then((request) => request(axios, basePath));
5997
+ listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options) {
5998
+ return localVarFp.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options).then((request) => request(axios, basePath));
5987
5999
  },
5988
6000
  /**
5989
6001
  * Update promotion by id
@@ -6141,12 +6153,13 @@ class PromotionApi extends base_1.BaseAPI {
6141
6153
  * @param {PromotionSortByField} [sortBy] sort by field
6142
6154
  * @param {SortDirection} [sortDirection] sort direction
6143
6155
  * @param {boolean} [onlyClaimable] only claimable promotions
6156
+ * @param {Array<string>} [iDs] IDs to filter by
6144
6157
  * @param {*} [options] Override http request option.
6145
6158
  * @throws {RequiredError}
6146
6159
  * @memberof PromotionApi
6147
6160
  */
6148
- listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, options) {
6149
- return (0, exports.PromotionApiFp)(this.configuration).listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, options).then((request) => request(this.axios, this.basePath));
6161
+ listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, iDs, options) {
6162
+ return (0, exports.PromotionApiFp)(this.configuration).listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, iDs, options).then((request) => request(this.axios, this.basePath));
6150
6163
  }
6151
6164
  /**
6152
6165
  * List users promotions
@@ -6162,12 +6175,13 @@ class PromotionApi extends base_1.BaseAPI {
6162
6175
  * @param {SortDirection} [sortDirection] sort direction
6163
6176
  * @param {boolean} [onlyClaimable] only claimable promotions
6164
6177
  * @param {PromotionType} [type] promotion type
6178
+ * @param {Array<string>} [iDs] IDs to filter by
6165
6179
  * @param {*} [options] Override http request option.
6166
6180
  * @throws {RequiredError}
6167
6181
  * @memberof PromotionApi
6168
6182
  */
6169
- listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, options) {
6170
- return (0, exports.PromotionApiFp)(this.configuration).listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, options).then((request) => request(this.axios, this.basePath));
6183
+ listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options) {
6184
+ return (0, exports.PromotionApiFp)(this.configuration).listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options).then((request) => request(this.axios, this.basePath));
6171
6185
  }
6172
6186
  /**
6173
6187
  * Update promotion by id
package/dist/esm/api.d.ts CHANGED
@@ -6939,10 +6939,11 @@ export declare const PromotionApiAxiosParamCreator: (configuration?: Configurati
6939
6939
  * @param {PromotionSortByField} [sortBy] sort by field
6940
6940
  * @param {SortDirection} [sortDirection] sort direction
6941
6941
  * @param {boolean} [onlyClaimable] only claimable promotions
6942
+ * @param {Array<string>} [iDs] IDs to filter by
6942
6943
  * @param {*} [options] Override http request option.
6943
6944
  * @throws {RequiredError}
6944
6945
  */
6945
- 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<RequestArgs>;
6946
+ 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, iDs?: Array<string>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6946
6947
  /**
6947
6948
  * List users promotions
6948
6949
  * @summary List promotions
@@ -6957,10 +6958,11 @@ export declare const PromotionApiAxiosParamCreator: (configuration?: Configurati
6957
6958
  * @param {SortDirection} [sortDirection] sort direction
6958
6959
  * @param {boolean} [onlyClaimable] only claimable promotions
6959
6960
  * @param {PromotionType} [type] promotion type
6961
+ * @param {Array<string>} [iDs] IDs to filter by
6960
6962
  * @param {*} [options] Override http request option.
6961
6963
  * @throws {RequiredError}
6962
6964
  */
6963
- listUserPromotions: (nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, type?: PromotionType, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6965
+ listUserPromotions: (nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, type?: PromotionType, iDs?: Array<string>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6964
6966
  /**
6965
6967
  * Update promotion by id
6966
6968
  * @summary Update promotion
@@ -7081,10 +7083,11 @@ export declare const PromotionApiFp: (configuration?: Configuration) => {
7081
7083
  * @param {PromotionSortByField} [sortBy] sort by field
7082
7084
  * @param {SortDirection} [sortDirection] sort direction
7083
7085
  * @param {boolean} [onlyClaimable] only claimable promotions
7086
+ * @param {Array<string>} [iDs] IDs to filter by
7084
7087
  * @param {*} [options] Override http request option.
7085
7088
  * @throws {RequiredError}
7086
7089
  */
7087
- 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>>;
7090
+ 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, iDs?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PromotionsResponse>>;
7088
7091
  /**
7089
7092
  * List users promotions
7090
7093
  * @summary List promotions
@@ -7099,10 +7102,11 @@ export declare const PromotionApiFp: (configuration?: Configuration) => {
7099
7102
  * @param {SortDirection} [sortDirection] sort direction
7100
7103
  * @param {boolean} [onlyClaimable] only claimable promotions
7101
7104
  * @param {PromotionType} [type] promotion type
7105
+ * @param {Array<string>} [iDs] IDs to filter by
7102
7106
  * @param {*} [options] Override http request option.
7103
7107
  * @throws {RequiredError}
7104
7108
  */
7105
- listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, type?: PromotionType, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserPromotionsResponse>>;
7109
+ listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, type?: PromotionType, iDs?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserPromotionsResponse>>;
7106
7110
  /**
7107
7111
  * Update promotion by id
7108
7112
  * @summary Update promotion
@@ -7223,10 +7227,11 @@ export declare const PromotionApiFactory: (configuration?: Configuration, basePa
7223
7227
  * @param {PromotionSortByField} [sortBy] sort by field
7224
7228
  * @param {SortDirection} [sortDirection] sort direction
7225
7229
  * @param {boolean} [onlyClaimable] only claimable promotions
7230
+ * @param {Array<string>} [iDs] IDs to filter by
7226
7231
  * @param {*} [options] Override http request option.
7227
7232
  * @throws {RequiredError}
7228
7233
  */
7229
- 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>;
7234
+ 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, iDs?: Array<string>, options?: any): AxiosPromise<PromotionsResponse>;
7230
7235
  /**
7231
7236
  * List users promotions
7232
7237
  * @summary List promotions
@@ -7241,10 +7246,11 @@ export declare const PromotionApiFactory: (configuration?: Configuration, basePa
7241
7246
  * @param {SortDirection} [sortDirection] sort direction
7242
7247
  * @param {boolean} [onlyClaimable] only claimable promotions
7243
7248
  * @param {PromotionType} [type] promotion type
7249
+ * @param {Array<string>} [iDs] IDs to filter by
7244
7250
  * @param {*} [options] Override http request option.
7245
7251
  * @throws {RequiredError}
7246
7252
  */
7247
- listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, type?: PromotionType, options?: any): AxiosPromise<UserPromotionsResponse>;
7253
+ listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, type?: PromotionType, iDs?: Array<string>, options?: any): AxiosPromise<UserPromotionsResponse>;
7248
7254
  /**
7249
7255
  * Update promotion by id
7250
7256
  * @summary Update promotion
@@ -7377,11 +7383,12 @@ export declare class PromotionApi extends BaseAPI {
7377
7383
  * @param {PromotionSortByField} [sortBy] sort by field
7378
7384
  * @param {SortDirection} [sortDirection] sort direction
7379
7385
  * @param {boolean} [onlyClaimable] only claimable promotions
7386
+ * @param {Array<string>} [iDs] IDs to filter by
7380
7387
  * @param {*} [options] Override http request option.
7381
7388
  * @throws {RequiredError}
7382
7389
  * @memberof PromotionApi
7383
7390
  */
7384
- 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<import("axios").AxiosResponse<PromotionsResponse, any>>;
7391
+ 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, iDs?: Array<string>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PromotionsResponse, any>>;
7385
7392
  /**
7386
7393
  * List users promotions
7387
7394
  * @summary List promotions
@@ -7396,11 +7403,12 @@ export declare class PromotionApi extends BaseAPI {
7396
7403
  * @param {SortDirection} [sortDirection] sort direction
7397
7404
  * @param {boolean} [onlyClaimable] only claimable promotions
7398
7405
  * @param {PromotionType} [type] promotion type
7406
+ * @param {Array<string>} [iDs] IDs to filter by
7399
7407
  * @param {*} [options] Override http request option.
7400
7408
  * @throws {RequiredError}
7401
7409
  * @memberof PromotionApi
7402
7410
  */
7403
- listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, type?: PromotionType, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UserPromotionsResponse, any>>;
7411
+ listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, type?: PromotionType, iDs?: Array<string>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UserPromotionsResponse, any>>;
7404
7412
  /**
7405
7413
  * Update promotion by id
7406
7414
  * @summary Update promotion
package/dist/esm/api.js CHANGED
@@ -5364,10 +5364,11 @@ export const PromotionApiAxiosParamCreator = function (configuration) {
5364
5364
  * @param {PromotionSortByField} [sortBy] sort by field
5365
5365
  * @param {SortDirection} [sortDirection] sort direction
5366
5366
  * @param {boolean} [onlyClaimable] only claimable promotions
5367
+ * @param {Array<string>} [iDs] IDs to filter by
5367
5368
  * @param {*} [options] Override http request option.
5368
5369
  * @throws {RequiredError}
5369
5370
  */
5370
- listPromotions: (nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, options = {}) => __awaiter(this, void 0, void 0, function* () {
5371
+ listPromotions: (nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, iDs, options = {}) => __awaiter(this, void 0, void 0, function* () {
5371
5372
  const localVarPath = `/admins/promotions`;
5372
5373
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5373
5374
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -5431,6 +5432,9 @@ export const PromotionApiAxiosParamCreator = function (configuration) {
5431
5432
  if (onlyClaimable !== undefined) {
5432
5433
  localVarQueryParameter['onlyClaimable'] = onlyClaimable;
5433
5434
  }
5435
+ if (iDs) {
5436
+ localVarQueryParameter['IDs'] = iDs;
5437
+ }
5434
5438
  setSearchParams(localVarUrlObj, localVarQueryParameter);
5435
5439
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5436
5440
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -5453,10 +5457,11 @@ export const PromotionApiAxiosParamCreator = function (configuration) {
5453
5457
  * @param {SortDirection} [sortDirection] sort direction
5454
5458
  * @param {boolean} [onlyClaimable] only claimable promotions
5455
5459
  * @param {PromotionType} [type] promotion type
5460
+ * @param {Array<string>} [iDs] IDs to filter by
5456
5461
  * @param {*} [options] Override http request option.
5457
5462
  * @throws {RequiredError}
5458
5463
  */
5459
- listUserPromotions: (nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, options = {}) => __awaiter(this, void 0, void 0, function* () {
5464
+ listUserPromotions: (nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options = {}) => __awaiter(this, void 0, void 0, function* () {
5460
5465
  const localVarPath = `/users/promotions`;
5461
5466
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5462
5467
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -5511,6 +5516,9 @@ export const PromotionApiAxiosParamCreator = function (configuration) {
5511
5516
  if (type !== undefined) {
5512
5517
  localVarQueryParameter['type'] = type;
5513
5518
  }
5519
+ if (iDs) {
5520
+ localVarQueryParameter['IDs'] = iDs;
5521
+ }
5514
5522
  setSearchParams(localVarUrlObj, localVarQueryParameter);
5515
5523
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5516
5524
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -5720,12 +5728,13 @@ export const PromotionApiFp = function (configuration) {
5720
5728
  * @param {PromotionSortByField} [sortBy] sort by field
5721
5729
  * @param {SortDirection} [sortDirection] sort direction
5722
5730
  * @param {boolean} [onlyClaimable] only claimable promotions
5731
+ * @param {Array<string>} [iDs] IDs to filter by
5723
5732
  * @param {*} [options] Override http request option.
5724
5733
  * @throws {RequiredError}
5725
5734
  */
5726
- listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, options) {
5735
+ listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, iDs, options) {
5727
5736
  return __awaiter(this, void 0, void 0, function* () {
5728
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, options);
5737
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, iDs, options);
5729
5738
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5730
5739
  });
5731
5740
  },
@@ -5743,12 +5752,13 @@ export const PromotionApiFp = function (configuration) {
5743
5752
  * @param {SortDirection} [sortDirection] sort direction
5744
5753
  * @param {boolean} [onlyClaimable] only claimable promotions
5745
5754
  * @param {PromotionType} [type] promotion type
5755
+ * @param {Array<string>} [iDs] IDs to filter by
5746
5756
  * @param {*} [options] Override http request option.
5747
5757
  * @throws {RequiredError}
5748
5758
  */
5749
- listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, options) {
5759
+ listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options) {
5750
5760
  return __awaiter(this, void 0, void 0, function* () {
5751
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, options);
5761
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options);
5752
5762
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5753
5763
  });
5754
5764
  },
@@ -5900,11 +5910,12 @@ export const PromotionApiFactory = function (configuration, basePath, axios) {
5900
5910
  * @param {PromotionSortByField} [sortBy] sort by field
5901
5911
  * @param {SortDirection} [sortDirection] sort direction
5902
5912
  * @param {boolean} [onlyClaimable] only claimable promotions
5913
+ * @param {Array<string>} [iDs] IDs to filter by
5903
5914
  * @param {*} [options] Override http request option.
5904
5915
  * @throws {RequiredError}
5905
5916
  */
5906
- listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, options) {
5907
- return localVarFp.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, options).then((request) => request(axios, basePath));
5917
+ listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, iDs, options) {
5918
+ return localVarFp.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, iDs, options).then((request) => request(axios, basePath));
5908
5919
  },
5909
5920
  /**
5910
5921
  * List users promotions
@@ -5920,11 +5931,12 @@ export const PromotionApiFactory = function (configuration, basePath, axios) {
5920
5931
  * @param {SortDirection} [sortDirection] sort direction
5921
5932
  * @param {boolean} [onlyClaimable] only claimable promotions
5922
5933
  * @param {PromotionType} [type] promotion type
5934
+ * @param {Array<string>} [iDs] IDs to filter by
5923
5935
  * @param {*} [options] Override http request option.
5924
5936
  * @throws {RequiredError}
5925
5937
  */
5926
- listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, options) {
5927
- return localVarFp.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, options).then((request) => request(axios, basePath));
5938
+ listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options) {
5939
+ return localVarFp.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options).then((request) => request(axios, basePath));
5928
5940
  },
5929
5941
  /**
5930
5942
  * Update promotion by id
@@ -6081,12 +6093,13 @@ export class PromotionApi extends BaseAPI {
6081
6093
  * @param {PromotionSortByField} [sortBy] sort by field
6082
6094
  * @param {SortDirection} [sortDirection] sort direction
6083
6095
  * @param {boolean} [onlyClaimable] only claimable promotions
6096
+ * @param {Array<string>} [iDs] IDs to filter by
6084
6097
  * @param {*} [options] Override http request option.
6085
6098
  * @throws {RequiredError}
6086
6099
  * @memberof PromotionApi
6087
6100
  */
6088
- listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, options) {
6089
- 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));
6101
+ listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, iDs, options) {
6102
+ return PromotionApiFp(this.configuration).listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, sortBy, sortDirection, onlyClaimable, iDs, options).then((request) => request(this.axios, this.basePath));
6090
6103
  }
6091
6104
  /**
6092
6105
  * List users promotions
@@ -6102,12 +6115,13 @@ export class PromotionApi extends BaseAPI {
6102
6115
  * @param {SortDirection} [sortDirection] sort direction
6103
6116
  * @param {boolean} [onlyClaimable] only claimable promotions
6104
6117
  * @param {PromotionType} [type] promotion type
6118
+ * @param {Array<string>} [iDs] IDs to filter by
6105
6119
  * @param {*} [options] Override http request option.
6106
6120
  * @throws {RequiredError}
6107
6121
  * @memberof PromotionApi
6108
6122
  */
6109
- listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, options) {
6110
- return PromotionApiFp(this.configuration).listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, options).then((request) => request(this.axios, this.basePath));
6123
+ listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options) {
6124
+ return PromotionApiFp(this.configuration).listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, type, iDs, options).then((request) => request(this.axios, this.basePath));
6111
6125
  }
6112
6126
  /**
6113
6127
  * Update promotion by id
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flexinet-api",
3
- "version": "0.0.1918-prerelease0-dev",
3
+ "version": "0.0.1921-prerelease0-dev",
4
4
  "description": "OpenAPI client for flexinet-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {