flexinet-api 0.0.382-prerelease0 → 0.0.386-prerelease0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## flexinet-api@0.0.382-prerelease0
1
+ ## flexinet-api@0.0.386-prerelease0
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.382-prerelease0 --save
39
+ npm install flexinet-api@0.0.386-prerelease0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -6898,12 +6898,12 @@ export const PromotionApiAxiosParamCreator = function (configuration?: Configura
6898
6898
  * @param {string} [endingBefore] end time before time
6899
6899
  * @param {string} [startingBefore] start time before time
6900
6900
  * @param {string} [endingAfter] end time after time
6901
- * @param {string} [clientID] client ID to filter by
6901
+ * @param {Array<string>} [clientIDs] client ID to filter by
6902
6902
  * @param {string} [search] search by name or description
6903
6903
  * @param {*} [options] Override http request option.
6904
6904
  * @throws {RequiredError}
6905
6905
  */
6906
- listPromotions: async (nextToken?: string, tags?: string, segmentId?: string, ownerID?: string, type?: PromotionType, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, clientID?: string, search?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
6906
+ 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, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
6907
6907
  const localVarPath = `/admins/promotions`;
6908
6908
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6909
6909
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -6964,8 +6964,8 @@ export const PromotionApiAxiosParamCreator = function (configuration?: Configura
6964
6964
  endingAfter;
6965
6965
  }
6966
6966
 
6967
- if (clientID !== undefined) {
6968
- localVarQueryParameter['clientID'] = clientID;
6967
+ if (clientIDs) {
6968
+ localVarQueryParameter['clientIDs'] = clientIDs;
6969
6969
  }
6970
6970
 
6971
6971
  if (search !== undefined) {
@@ -7227,13 +7227,13 @@ export const PromotionApiFp = function(configuration?: Configuration) {
7227
7227
  * @param {string} [endingBefore] end time before time
7228
7228
  * @param {string} [startingBefore] start time before time
7229
7229
  * @param {string} [endingAfter] end time after time
7230
- * @param {string} [clientID] client ID to filter by
7230
+ * @param {Array<string>} [clientIDs] client ID to filter by
7231
7231
  * @param {string} [search] search by name or description
7232
7232
  * @param {*} [options] Override http request option.
7233
7233
  * @throws {RequiredError}
7234
7234
  */
7235
- async listPromotions(nextToken?: string, tags?: string, segmentId?: string, ownerID?: string, type?: PromotionType, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, clientID?: string, search?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PromotionsResponse>> {
7236
- const localVarAxiosArgs = await localVarAxiosParamCreator.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientID, search, options);
7235
+ 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, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PromotionsResponse>> {
7236
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, options);
7237
7237
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
7238
7238
  },
7239
7239
  /**
@@ -7379,13 +7379,13 @@ export const PromotionApiFactory = function (configuration?: Configuration, base
7379
7379
  * @param {string} [endingBefore] end time before time
7380
7380
  * @param {string} [startingBefore] start time before time
7381
7381
  * @param {string} [endingAfter] end time after time
7382
- * @param {string} [clientID] client ID to filter by
7382
+ * @param {Array<string>} [clientIDs] client ID to filter by
7383
7383
  * @param {string} [search] search by name or description
7384
7384
  * @param {*} [options] Override http request option.
7385
7385
  * @throws {RequiredError}
7386
7386
  */
7387
- listPromotions(nextToken?: string, tags?: string, segmentId?: string, ownerID?: string, type?: PromotionType, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, clientID?: string, search?: string, options?: any): AxiosPromise<PromotionsResponse> {
7388
- return localVarFp.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientID, search, options).then((request) => request(axios, basePath));
7387
+ listPromotions(nextToken?: string, tags?: string, segmentId?: string, ownerID?: string, type?: PromotionType, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, clientIDs?: Array<string>, search?: string, options?: any): AxiosPromise<PromotionsResponse> {
7388
+ return localVarFp.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, options).then((request) => request(axios, basePath));
7389
7389
  },
7390
7390
  /**
7391
7391
  * List users promotions
@@ -7546,14 +7546,14 @@ export class PromotionApi extends BaseAPI {
7546
7546
  * @param {string} [endingBefore] end time before time
7547
7547
  * @param {string} [startingBefore] start time before time
7548
7548
  * @param {string} [endingAfter] end time after time
7549
- * @param {string} [clientID] client ID to filter by
7549
+ * @param {Array<string>} [clientIDs] client ID to filter by
7550
7550
  * @param {string} [search] search by name or description
7551
7551
  * @param {*} [options] Override http request option.
7552
7552
  * @throws {RequiredError}
7553
7553
  * @memberof PromotionApi
7554
7554
  */
7555
- public listPromotions(nextToken?: string, tags?: string, segmentId?: string, ownerID?: string, type?: PromotionType, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, clientID?: string, search?: string, options?: AxiosRequestConfig) {
7556
- return PromotionApiFp(this.configuration).listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientID, search, options).then((request) => request(this.axios, this.basePath));
7555
+ 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, options?: AxiosRequestConfig) {
7556
+ return PromotionApiFp(this.configuration).listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, options).then((request) => request(this.axios, this.basePath));
7557
7557
  }
7558
7558
 
7559
7559
  /**
package/dist/api.d.ts CHANGED
@@ -4752,12 +4752,12 @@ export declare const PromotionApiAxiosParamCreator: (configuration?: Configurati
4752
4752
  * @param {string} [endingBefore] end time before time
4753
4753
  * @param {string} [startingBefore] start time before time
4754
4754
  * @param {string} [endingAfter] end time after time
4755
- * @param {string} [clientID] client ID to filter by
4755
+ * @param {Array<string>} [clientIDs] client ID to filter by
4756
4756
  * @param {string} [search] search by name or description
4757
4757
  * @param {*} [options] Override http request option.
4758
4758
  * @throws {RequiredError}
4759
4759
  */
4760
- listPromotions: (nextToken?: string, tags?: string, segmentId?: string, ownerID?: string, type?: PromotionType, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, clientID?: string, search?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4760
+ listPromotions: (nextToken?: string, tags?: string, segmentId?: string, ownerID?: string, type?: PromotionType, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, clientIDs?: Array<string>, search?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4761
4761
  /**
4762
4762
  * List users promotions
4763
4763
  * @summary List promotions
@@ -4873,12 +4873,12 @@ export declare const PromotionApiFp: (configuration?: Configuration) => {
4873
4873
  * @param {string} [endingBefore] end time before time
4874
4874
  * @param {string} [startingBefore] start time before time
4875
4875
  * @param {string} [endingAfter] end time after time
4876
- * @param {string} [clientID] client ID to filter by
4876
+ * @param {Array<string>} [clientIDs] client ID to filter by
4877
4877
  * @param {string} [search] search by name or description
4878
4878
  * @param {*} [options] Override http request option.
4879
4879
  * @throws {RequiredError}
4880
4880
  */
4881
- listPromotions(nextToken?: string, tags?: string, segmentId?: string, ownerID?: string, type?: PromotionType, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, clientID?: string, search?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PromotionsResponse>>;
4881
+ listPromotions(nextToken?: string, tags?: string, segmentId?: string, ownerID?: string, type?: PromotionType, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, clientIDs?: Array<string>, search?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PromotionsResponse>>;
4882
4882
  /**
4883
4883
  * List users promotions
4884
4884
  * @summary List promotions
@@ -4994,12 +4994,12 @@ export declare const PromotionApiFactory: (configuration?: Configuration, basePa
4994
4994
  * @param {string} [endingBefore] end time before time
4995
4995
  * @param {string} [startingBefore] start time before time
4996
4996
  * @param {string} [endingAfter] end time after time
4997
- * @param {string} [clientID] client ID to filter by
4997
+ * @param {Array<string>} [clientIDs] client ID to filter by
4998
4998
  * @param {string} [search] search by name or description
4999
4999
  * @param {*} [options] Override http request option.
5000
5000
  * @throws {RequiredError}
5001
5001
  */
5002
- listPromotions(nextToken?: string, tags?: string, segmentId?: string, ownerID?: string, type?: PromotionType, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, clientID?: string, search?: string, options?: any): AxiosPromise<PromotionsResponse>;
5002
+ listPromotions(nextToken?: string, tags?: string, segmentId?: string, ownerID?: string, type?: PromotionType, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, clientIDs?: Array<string>, search?: string, options?: any): AxiosPromise<PromotionsResponse>;
5003
5003
  /**
5004
5004
  * List users promotions
5005
5005
  * @summary List promotions
@@ -5126,13 +5126,13 @@ export declare class PromotionApi extends BaseAPI {
5126
5126
  * @param {string} [endingBefore] end time before time
5127
5127
  * @param {string} [startingBefore] start time before time
5128
5128
  * @param {string} [endingAfter] end time after time
5129
- * @param {string} [clientID] client ID to filter by
5129
+ * @param {Array<string>} [clientIDs] client ID to filter by
5130
5130
  * @param {string} [search] search by name or description
5131
5131
  * @param {*} [options] Override http request option.
5132
5132
  * @throws {RequiredError}
5133
5133
  * @memberof PromotionApi
5134
5134
  */
5135
- listPromotions(nextToken?: string, tags?: string, segmentId?: string, ownerID?: string, type?: PromotionType, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, clientID?: string, search?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PromotionsResponse, any>>;
5135
+ listPromotions(nextToken?: string, tags?: string, segmentId?: string, ownerID?: string, type?: PromotionType, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, clientIDs?: Array<string>, search?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PromotionsResponse, any>>;
5136
5136
  /**
5137
5137
  * List users promotions
5138
5138
  * @summary List promotions
package/dist/api.js CHANGED
@@ -3784,12 +3784,12 @@ const PromotionApiAxiosParamCreator = function (configuration) {
3784
3784
  * @param {string} [endingBefore] end time before time
3785
3785
  * @param {string} [startingBefore] start time before time
3786
3786
  * @param {string} [endingAfter] end time after time
3787
- * @param {string} [clientID] client ID to filter by
3787
+ * @param {Array<string>} [clientIDs] client ID to filter by
3788
3788
  * @param {string} [search] search by name or description
3789
3789
  * @param {*} [options] Override http request option.
3790
3790
  * @throws {RequiredError}
3791
3791
  */
3792
- listPromotions: (nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientID, search, options = {}) => __awaiter(this, void 0, void 0, function* () {
3792
+ listPromotions: (nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, options = {}) => __awaiter(this, void 0, void 0, function* () {
3793
3793
  const localVarPath = `/admins/promotions`;
3794
3794
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3795
3795
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -3838,8 +3838,8 @@ const PromotionApiAxiosParamCreator = function (configuration) {
3838
3838
  endingAfter.toISOString() :
3839
3839
  endingAfter;
3840
3840
  }
3841
- if (clientID !== undefined) {
3842
- localVarQueryParameter['clientID'] = clientID;
3841
+ if (clientIDs) {
3842
+ localVarQueryParameter['clientIDs'] = clientIDs;
3843
3843
  }
3844
3844
  if (search !== undefined) {
3845
3845
  localVarQueryParameter['search'] = search;
@@ -4094,14 +4094,14 @@ const PromotionApiFp = function (configuration) {
4094
4094
  * @param {string} [endingBefore] end time before time
4095
4095
  * @param {string} [startingBefore] start time before time
4096
4096
  * @param {string} [endingAfter] end time after time
4097
- * @param {string} [clientID] client ID to filter by
4097
+ * @param {Array<string>} [clientIDs] client ID to filter by
4098
4098
  * @param {string} [search] search by name or description
4099
4099
  * @param {*} [options] Override http request option.
4100
4100
  * @throws {RequiredError}
4101
4101
  */
4102
- listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientID, search, options) {
4102
+ listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, options) {
4103
4103
  return __awaiter(this, void 0, void 0, function* () {
4104
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientID, search, options);
4104
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, options);
4105
4105
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
4106
4106
  });
4107
4107
  },
@@ -4252,13 +4252,13 @@ const PromotionApiFactory = function (configuration, basePath, axios) {
4252
4252
  * @param {string} [endingBefore] end time before time
4253
4253
  * @param {string} [startingBefore] start time before time
4254
4254
  * @param {string} [endingAfter] end time after time
4255
- * @param {string} [clientID] client ID to filter by
4255
+ * @param {Array<string>} [clientIDs] client ID to filter by
4256
4256
  * @param {string} [search] search by name or description
4257
4257
  * @param {*} [options] Override http request option.
4258
4258
  * @throws {RequiredError}
4259
4259
  */
4260
- listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientID, search, options) {
4261
- return localVarFp.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientID, search, options).then((request) => request(axios, basePath));
4260
+ listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, options) {
4261
+ return localVarFp.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, options).then((request) => request(axios, basePath));
4262
4262
  },
4263
4263
  /**
4264
4264
  * List users promotions
@@ -4410,14 +4410,14 @@ class PromotionApi extends base_1.BaseAPI {
4410
4410
  * @param {string} [endingBefore] end time before time
4411
4411
  * @param {string} [startingBefore] start time before time
4412
4412
  * @param {string} [endingAfter] end time after time
4413
- * @param {string} [clientID] client ID to filter by
4413
+ * @param {Array<string>} [clientIDs] client ID to filter by
4414
4414
  * @param {string} [search] search by name or description
4415
4415
  * @param {*} [options] Override http request option.
4416
4416
  * @throws {RequiredError}
4417
4417
  * @memberof PromotionApi
4418
4418
  */
4419
- listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientID, search, options) {
4420
- return (0, exports.PromotionApiFp)(this.configuration).listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientID, search, options).then((request) => request(this.axios, this.basePath));
4419
+ listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, options) {
4420
+ return (0, exports.PromotionApiFp)(this.configuration).listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, options).then((request) => request(this.axios, this.basePath));
4421
4421
  }
4422
4422
  /**
4423
4423
  * List users promotions
package/dist/esm/api.d.ts CHANGED
@@ -4752,12 +4752,12 @@ export declare const PromotionApiAxiosParamCreator: (configuration?: Configurati
4752
4752
  * @param {string} [endingBefore] end time before time
4753
4753
  * @param {string} [startingBefore] start time before time
4754
4754
  * @param {string} [endingAfter] end time after time
4755
- * @param {string} [clientID] client ID to filter by
4755
+ * @param {Array<string>} [clientIDs] client ID to filter by
4756
4756
  * @param {string} [search] search by name or description
4757
4757
  * @param {*} [options] Override http request option.
4758
4758
  * @throws {RequiredError}
4759
4759
  */
4760
- listPromotions: (nextToken?: string, tags?: string, segmentId?: string, ownerID?: string, type?: PromotionType, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, clientID?: string, search?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4760
+ listPromotions: (nextToken?: string, tags?: string, segmentId?: string, ownerID?: string, type?: PromotionType, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, clientIDs?: Array<string>, search?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4761
4761
  /**
4762
4762
  * List users promotions
4763
4763
  * @summary List promotions
@@ -4873,12 +4873,12 @@ export declare const PromotionApiFp: (configuration?: Configuration) => {
4873
4873
  * @param {string} [endingBefore] end time before time
4874
4874
  * @param {string} [startingBefore] start time before time
4875
4875
  * @param {string} [endingAfter] end time after time
4876
- * @param {string} [clientID] client ID to filter by
4876
+ * @param {Array<string>} [clientIDs] client ID to filter by
4877
4877
  * @param {string} [search] search by name or description
4878
4878
  * @param {*} [options] Override http request option.
4879
4879
  * @throws {RequiredError}
4880
4880
  */
4881
- listPromotions(nextToken?: string, tags?: string, segmentId?: string, ownerID?: string, type?: PromotionType, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, clientID?: string, search?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PromotionsResponse>>;
4881
+ listPromotions(nextToken?: string, tags?: string, segmentId?: string, ownerID?: string, type?: PromotionType, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, clientIDs?: Array<string>, search?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PromotionsResponse>>;
4882
4882
  /**
4883
4883
  * List users promotions
4884
4884
  * @summary List promotions
@@ -4994,12 +4994,12 @@ export declare const PromotionApiFactory: (configuration?: Configuration, basePa
4994
4994
  * @param {string} [endingBefore] end time before time
4995
4995
  * @param {string} [startingBefore] start time before time
4996
4996
  * @param {string} [endingAfter] end time after time
4997
- * @param {string} [clientID] client ID to filter by
4997
+ * @param {Array<string>} [clientIDs] client ID to filter by
4998
4998
  * @param {string} [search] search by name or description
4999
4999
  * @param {*} [options] Override http request option.
5000
5000
  * @throws {RequiredError}
5001
5001
  */
5002
- listPromotions(nextToken?: string, tags?: string, segmentId?: string, ownerID?: string, type?: PromotionType, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, clientID?: string, search?: string, options?: any): AxiosPromise<PromotionsResponse>;
5002
+ listPromotions(nextToken?: string, tags?: string, segmentId?: string, ownerID?: string, type?: PromotionType, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, clientIDs?: Array<string>, search?: string, options?: any): AxiosPromise<PromotionsResponse>;
5003
5003
  /**
5004
5004
  * List users promotions
5005
5005
  * @summary List promotions
@@ -5126,13 +5126,13 @@ export declare class PromotionApi extends BaseAPI {
5126
5126
  * @param {string} [endingBefore] end time before time
5127
5127
  * @param {string} [startingBefore] start time before time
5128
5128
  * @param {string} [endingAfter] end time after time
5129
- * @param {string} [clientID] client ID to filter by
5129
+ * @param {Array<string>} [clientIDs] client ID to filter by
5130
5130
  * @param {string} [search] search by name or description
5131
5131
  * @param {*} [options] Override http request option.
5132
5132
  * @throws {RequiredError}
5133
5133
  * @memberof PromotionApi
5134
5134
  */
5135
- listPromotions(nextToken?: string, tags?: string, segmentId?: string, ownerID?: string, type?: PromotionType, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, clientID?: string, search?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PromotionsResponse, any>>;
5135
+ listPromotions(nextToken?: string, tags?: string, segmentId?: string, ownerID?: string, type?: PromotionType, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, clientIDs?: Array<string>, search?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PromotionsResponse, any>>;
5136
5136
  /**
5137
5137
  * List users promotions
5138
5138
  * @summary List promotions
package/dist/esm/api.js CHANGED
@@ -3731,12 +3731,12 @@ export const PromotionApiAxiosParamCreator = function (configuration) {
3731
3731
  * @param {string} [endingBefore] end time before time
3732
3732
  * @param {string} [startingBefore] start time before time
3733
3733
  * @param {string} [endingAfter] end time after time
3734
- * @param {string} [clientID] client ID to filter by
3734
+ * @param {Array<string>} [clientIDs] client ID to filter by
3735
3735
  * @param {string} [search] search by name or description
3736
3736
  * @param {*} [options] Override http request option.
3737
3737
  * @throws {RequiredError}
3738
3738
  */
3739
- listPromotions: (nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientID, search, options = {}) => __awaiter(this, void 0, void 0, function* () {
3739
+ listPromotions: (nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, options = {}) => __awaiter(this, void 0, void 0, function* () {
3740
3740
  const localVarPath = `/admins/promotions`;
3741
3741
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3742
3742
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -3785,8 +3785,8 @@ export const PromotionApiAxiosParamCreator = function (configuration) {
3785
3785
  endingAfter.toISOString() :
3786
3786
  endingAfter;
3787
3787
  }
3788
- if (clientID !== undefined) {
3789
- localVarQueryParameter['clientID'] = clientID;
3788
+ if (clientIDs) {
3789
+ localVarQueryParameter['clientIDs'] = clientIDs;
3790
3790
  }
3791
3791
  if (search !== undefined) {
3792
3792
  localVarQueryParameter['search'] = search;
@@ -4040,14 +4040,14 @@ export const PromotionApiFp = function (configuration) {
4040
4040
  * @param {string} [endingBefore] end time before time
4041
4041
  * @param {string} [startingBefore] start time before time
4042
4042
  * @param {string} [endingAfter] end time after time
4043
- * @param {string} [clientID] client ID to filter by
4043
+ * @param {Array<string>} [clientIDs] client ID to filter by
4044
4044
  * @param {string} [search] search by name or description
4045
4045
  * @param {*} [options] Override http request option.
4046
4046
  * @throws {RequiredError}
4047
4047
  */
4048
- listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientID, search, options) {
4048
+ listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, options) {
4049
4049
  return __awaiter(this, void 0, void 0, function* () {
4050
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientID, search, options);
4050
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, options);
4051
4051
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4052
4052
  });
4053
4053
  },
@@ -4197,13 +4197,13 @@ export const PromotionApiFactory = function (configuration, basePath, axios) {
4197
4197
  * @param {string} [endingBefore] end time before time
4198
4198
  * @param {string} [startingBefore] start time before time
4199
4199
  * @param {string} [endingAfter] end time after time
4200
- * @param {string} [clientID] client ID to filter by
4200
+ * @param {Array<string>} [clientIDs] client ID to filter by
4201
4201
  * @param {string} [search] search by name or description
4202
4202
  * @param {*} [options] Override http request option.
4203
4203
  * @throws {RequiredError}
4204
4204
  */
4205
- listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientID, search, options) {
4206
- return localVarFp.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientID, search, options).then((request) => request(axios, basePath));
4205
+ listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, options) {
4206
+ return localVarFp.listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, options).then((request) => request(axios, basePath));
4207
4207
  },
4208
4208
  /**
4209
4209
  * List users promotions
@@ -4354,14 +4354,14 @@ export class PromotionApi extends BaseAPI {
4354
4354
  * @param {string} [endingBefore] end time before time
4355
4355
  * @param {string} [startingBefore] start time before time
4356
4356
  * @param {string} [endingAfter] end time after time
4357
- * @param {string} [clientID] client ID to filter by
4357
+ * @param {Array<string>} [clientIDs] client ID to filter by
4358
4358
  * @param {string} [search] search by name or description
4359
4359
  * @param {*} [options] Override http request option.
4360
4360
  * @throws {RequiredError}
4361
4361
  * @memberof PromotionApi
4362
4362
  */
4363
- listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientID, search, options) {
4364
- return PromotionApiFp(this.configuration).listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientID, search, options).then((request) => request(this.axios, this.basePath));
4363
+ listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, options) {
4364
+ return PromotionApiFp(this.configuration).listPromotions(nextToken, tags, segmentId, ownerID, type, startingAfter, endingBefore, startingBefore, endingAfter, clientIDs, search, options).then((request) => request(this.axios, this.basePath));
4365
4365
  }
4366
4366
  /**
4367
4367
  * List users promotions
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flexinet-api",
3
- "version": "0.0.382-prerelease0",
3
+ "version": "0.0.386-prerelease0",
4
4
  "description": "OpenAPI client for flexinet-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {