flexinet-api 0.0.814-prerelease0 → 0.0.819-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.814-prerelease0
1
+ ## flexinet-api@0.0.819-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.814-prerelease0 --save
39
+ npm install flexinet-api@0.0.819-prerelease0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -2020,6 +2020,20 @@ export const ProgressState = {
2020
2020
  export type ProgressState = typeof ProgressState[keyof typeof ProgressState];
2021
2021
 
2022
2022
 
2023
+ /**
2024
+ *
2025
+ * @export
2026
+ * @enum {string}
2027
+ */
2028
+
2029
+ export const ProgressStateAggregation = {
2030
+ Confirmed: 'confirmed',
2031
+ Total: 'total'
2032
+ } as const;
2033
+
2034
+ export type ProgressStateAggregation = typeof ProgressStateAggregation[keyof typeof ProgressStateAggregation];
2035
+
2036
+
2023
2037
  /**
2024
2038
  *
2025
2039
  * @export
@@ -7995,10 +8009,11 @@ export const ProgressApiAxiosParamCreator = function (configuration?: Configurat
7995
8009
  * @param {Array<string>} [clientIDs] Client IDs to filter by
7996
8010
  * @param {ProgressInterval} [interval] Interval
7997
8011
  * @param {string} [nextToken] This is the pagination token
8012
+ * @param {ProgressStateAggregation} [state] Progress state
7998
8013
  * @param {*} [options] Override http request option.
7999
8014
  * @throws {RequiredError}
8000
8015
  */
8001
- listProgress: async (promotionIDs: Array<string>, periodID?: number, userIDs?: Array<string>, clientIDs?: Array<string>, interval?: ProgressInterval, nextToken?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
8016
+ listProgress: async (promotionIDs: Array<string>, periodID?: number, userIDs?: Array<string>, clientIDs?: Array<string>, interval?: ProgressInterval, nextToken?: string, state?: ProgressStateAggregation, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
8002
8017
  // verify required parameter 'promotionIDs' is not null or undefined
8003
8018
  assertParamExists('listProgress', 'promotionIDs', promotionIDs)
8004
8019
  const localVarPath = `/admins/progress`;
@@ -8041,6 +8056,10 @@ export const ProgressApiAxiosParamCreator = function (configuration?: Configurat
8041
8056
  localVarQueryParameter['nextToken'] = nextToken;
8042
8057
  }
8043
8058
 
8059
+ if (state !== undefined) {
8060
+ localVarQueryParameter['state'] = state;
8061
+ }
8062
+
8044
8063
 
8045
8064
 
8046
8065
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -8058,10 +8077,11 @@ export const ProgressApiAxiosParamCreator = function (configuration?: Configurat
8058
8077
  * @param {Array<string>} promotionIDs Promotion ID to filter by
8059
8078
  * @param {number} [periodID] Period ID
8060
8079
  * @param {string} [nextToken] This is the pagination token
8080
+ * @param {ProgressStateAggregation} [state] Progress state
8061
8081
  * @param {*} [options] Override http request option.
8062
8082
  * @throws {RequiredError}
8063
8083
  */
8064
- listUserProgress: async (promotionIDs: Array<string>, periodID?: number, nextToken?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
8084
+ listUserProgress: async (promotionIDs: Array<string>, periodID?: number, nextToken?: string, state?: ProgressStateAggregation, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
8065
8085
  // verify required parameter 'promotionIDs' is not null or undefined
8066
8086
  assertParamExists('listUserProgress', 'promotionIDs', promotionIDs)
8067
8087
  const localVarPath = `/users/progress`;
@@ -8092,6 +8112,10 @@ export const ProgressApiAxiosParamCreator = function (configuration?: Configurat
8092
8112
  localVarQueryParameter['nextToken'] = nextToken;
8093
8113
  }
8094
8114
 
8115
+ if (state !== undefined) {
8116
+ localVarQueryParameter['state'] = state;
8117
+ }
8118
+
8095
8119
 
8096
8120
 
8097
8121
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -8122,11 +8146,12 @@ export const ProgressApiFp = function(configuration?: Configuration) {
8122
8146
  * @param {Array<string>} [clientIDs] Client IDs to filter by
8123
8147
  * @param {ProgressInterval} [interval] Interval
8124
8148
  * @param {string} [nextToken] This is the pagination token
8149
+ * @param {ProgressStateAggregation} [state] Progress state
8125
8150
  * @param {*} [options] Override http request option.
8126
8151
  * @throws {RequiredError}
8127
8152
  */
8128
- async listProgress(promotionIDs: Array<string>, periodID?: number, userIDs?: Array<string>, clientIDs?: Array<string>, interval?: ProgressInterval, nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProgressResponse>> {
8129
- const localVarAxiosArgs = await localVarAxiosParamCreator.listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, options);
8153
+ async listProgress(promotionIDs: Array<string>, periodID?: number, userIDs?: Array<string>, clientIDs?: Array<string>, interval?: ProgressInterval, nextToken?: string, state?: ProgressStateAggregation, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProgressResponse>> {
8154
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, options);
8130
8155
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
8131
8156
  },
8132
8157
  /**
@@ -8135,11 +8160,12 @@ export const ProgressApiFp = function(configuration?: Configuration) {
8135
8160
  * @param {Array<string>} promotionIDs Promotion ID to filter by
8136
8161
  * @param {number} [periodID] Period ID
8137
8162
  * @param {string} [nextToken] This is the pagination token
8163
+ * @param {ProgressStateAggregation} [state] Progress state
8138
8164
  * @param {*} [options] Override http request option.
8139
8165
  * @throws {RequiredError}
8140
8166
  */
8141
- async listUserProgress(promotionIDs: Array<string>, periodID?: number, nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProgressResponse>> {
8142
- const localVarAxiosArgs = await localVarAxiosParamCreator.listUserProgress(promotionIDs, periodID, nextToken, options);
8167
+ async listUserProgress(promotionIDs: Array<string>, periodID?: number, nextToken?: string, state?: ProgressStateAggregation, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProgressResponse>> {
8168
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listUserProgress(promotionIDs, periodID, nextToken, state, options);
8143
8169
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
8144
8170
  },
8145
8171
  }
@@ -8161,11 +8187,12 @@ export const ProgressApiFactory = function (configuration?: Configuration, baseP
8161
8187
  * @param {Array<string>} [clientIDs] Client IDs to filter by
8162
8188
  * @param {ProgressInterval} [interval] Interval
8163
8189
  * @param {string} [nextToken] This is the pagination token
8190
+ * @param {ProgressStateAggregation} [state] Progress state
8164
8191
  * @param {*} [options] Override http request option.
8165
8192
  * @throws {RequiredError}
8166
8193
  */
8167
- listProgress(promotionIDs: Array<string>, periodID?: number, userIDs?: Array<string>, clientIDs?: Array<string>, interval?: ProgressInterval, nextToken?: string, options?: any): AxiosPromise<ProgressResponse> {
8168
- return localVarFp.listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, options).then((request) => request(axios, basePath));
8194
+ listProgress(promotionIDs: Array<string>, periodID?: number, userIDs?: Array<string>, clientIDs?: Array<string>, interval?: ProgressInterval, nextToken?: string, state?: ProgressStateAggregation, options?: any): AxiosPromise<ProgressResponse> {
8195
+ return localVarFp.listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, options).then((request) => request(axios, basePath));
8169
8196
  },
8170
8197
  /**
8171
8198
  * List users progress
@@ -8173,11 +8200,12 @@ export const ProgressApiFactory = function (configuration?: Configuration, baseP
8173
8200
  * @param {Array<string>} promotionIDs Promotion ID to filter by
8174
8201
  * @param {number} [periodID] Period ID
8175
8202
  * @param {string} [nextToken] This is the pagination token
8203
+ * @param {ProgressStateAggregation} [state] Progress state
8176
8204
  * @param {*} [options] Override http request option.
8177
8205
  * @throws {RequiredError}
8178
8206
  */
8179
- listUserProgress(promotionIDs: Array<string>, periodID?: number, nextToken?: string, options?: any): AxiosPromise<ProgressResponse> {
8180
- return localVarFp.listUserProgress(promotionIDs, periodID, nextToken, options).then((request) => request(axios, basePath));
8207
+ listUserProgress(promotionIDs: Array<string>, periodID?: number, nextToken?: string, state?: ProgressStateAggregation, options?: any): AxiosPromise<ProgressResponse> {
8208
+ return localVarFp.listUserProgress(promotionIDs, periodID, nextToken, state, options).then((request) => request(axios, basePath));
8181
8209
  },
8182
8210
  };
8183
8211
  };
@@ -8198,12 +8226,13 @@ export class ProgressApi extends BaseAPI {
8198
8226
  * @param {Array<string>} [clientIDs] Client IDs to filter by
8199
8227
  * @param {ProgressInterval} [interval] Interval
8200
8228
  * @param {string} [nextToken] This is the pagination token
8229
+ * @param {ProgressStateAggregation} [state] Progress state
8201
8230
  * @param {*} [options] Override http request option.
8202
8231
  * @throws {RequiredError}
8203
8232
  * @memberof ProgressApi
8204
8233
  */
8205
- public listProgress(promotionIDs: Array<string>, periodID?: number, userIDs?: Array<string>, clientIDs?: Array<string>, interval?: ProgressInterval, nextToken?: string, options?: AxiosRequestConfig) {
8206
- return ProgressApiFp(this.configuration).listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, options).then((request) => request(this.axios, this.basePath));
8234
+ public listProgress(promotionIDs: Array<string>, periodID?: number, userIDs?: Array<string>, clientIDs?: Array<string>, interval?: ProgressInterval, nextToken?: string, state?: ProgressStateAggregation, options?: AxiosRequestConfig) {
8235
+ return ProgressApiFp(this.configuration).listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, options).then((request) => request(this.axios, this.basePath));
8207
8236
  }
8208
8237
 
8209
8238
  /**
@@ -8212,12 +8241,13 @@ export class ProgressApi extends BaseAPI {
8212
8241
  * @param {Array<string>} promotionIDs Promotion ID to filter by
8213
8242
  * @param {number} [periodID] Period ID
8214
8243
  * @param {string} [nextToken] This is the pagination token
8244
+ * @param {ProgressStateAggregation} [state] Progress state
8215
8245
  * @param {*} [options] Override http request option.
8216
8246
  * @throws {RequiredError}
8217
8247
  * @memberof ProgressApi
8218
8248
  */
8219
- public listUserProgress(promotionIDs: Array<string>, periodID?: number, nextToken?: string, options?: AxiosRequestConfig) {
8220
- return ProgressApiFp(this.configuration).listUserProgress(promotionIDs, periodID, nextToken, options).then((request) => request(this.axios, this.basePath));
8249
+ public listUserProgress(promotionIDs: Array<string>, periodID?: number, nextToken?: string, state?: ProgressStateAggregation, options?: AxiosRequestConfig) {
8250
+ return ProgressApiFp(this.configuration).listUserProgress(promotionIDs, periodID, nextToken, state, options).then((request) => request(this.axios, this.basePath));
8221
8251
  }
8222
8252
  }
8223
8253
 
package/dist/api.d.ts CHANGED
@@ -1900,6 +1900,16 @@ export declare const ProgressState: {
1900
1900
  readonly Pending: "pending";
1901
1901
  };
1902
1902
  export type ProgressState = typeof ProgressState[keyof typeof ProgressState];
1903
+ /**
1904
+ *
1905
+ * @export
1906
+ * @enum {string}
1907
+ */
1908
+ export declare const ProgressStateAggregation: {
1909
+ readonly Confirmed: "confirmed";
1910
+ readonly Total: "total";
1911
+ };
1912
+ export type ProgressStateAggregation = typeof ProgressStateAggregation[keyof typeof ProgressStateAggregation];
1903
1913
  /**
1904
1914
  *
1905
1915
  * @export
@@ -5718,20 +5728,22 @@ export declare const ProgressApiAxiosParamCreator: (configuration?: Configuratio
5718
5728
  * @param {Array<string>} [clientIDs] Client IDs to filter by
5719
5729
  * @param {ProgressInterval} [interval] Interval
5720
5730
  * @param {string} [nextToken] This is the pagination token
5731
+ * @param {ProgressStateAggregation} [state] Progress state
5721
5732
  * @param {*} [options] Override http request option.
5722
5733
  * @throws {RequiredError}
5723
5734
  */
5724
- listProgress: (promotionIDs: Array<string>, periodID?: number, userIDs?: Array<string>, clientIDs?: Array<string>, interval?: ProgressInterval, nextToken?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5735
+ listProgress: (promotionIDs: Array<string>, periodID?: number, userIDs?: Array<string>, clientIDs?: Array<string>, interval?: ProgressInterval, nextToken?: string, state?: ProgressStateAggregation, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5725
5736
  /**
5726
5737
  * List users progress
5727
5738
  * @summary List progress
5728
5739
  * @param {Array<string>} promotionIDs Promotion ID to filter by
5729
5740
  * @param {number} [periodID] Period ID
5730
5741
  * @param {string} [nextToken] This is the pagination token
5742
+ * @param {ProgressStateAggregation} [state] Progress state
5731
5743
  * @param {*} [options] Override http request option.
5732
5744
  * @throws {RequiredError}
5733
5745
  */
5734
- listUserProgress: (promotionIDs: Array<string>, periodID?: number, nextToken?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5746
+ listUserProgress: (promotionIDs: Array<string>, periodID?: number, nextToken?: string, state?: ProgressStateAggregation, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5735
5747
  };
5736
5748
  /**
5737
5749
  * ProgressApi - functional programming interface
@@ -5747,20 +5759,22 @@ export declare const ProgressApiFp: (configuration?: Configuration) => {
5747
5759
  * @param {Array<string>} [clientIDs] Client IDs to filter by
5748
5760
  * @param {ProgressInterval} [interval] Interval
5749
5761
  * @param {string} [nextToken] This is the pagination token
5762
+ * @param {ProgressStateAggregation} [state] Progress state
5750
5763
  * @param {*} [options] Override http request option.
5751
5764
  * @throws {RequiredError}
5752
5765
  */
5753
- listProgress(promotionIDs: Array<string>, periodID?: number, userIDs?: Array<string>, clientIDs?: Array<string>, interval?: ProgressInterval, nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProgressResponse>>;
5766
+ listProgress(promotionIDs: Array<string>, periodID?: number, userIDs?: Array<string>, clientIDs?: Array<string>, interval?: ProgressInterval, nextToken?: string, state?: ProgressStateAggregation, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProgressResponse>>;
5754
5767
  /**
5755
5768
  * List users progress
5756
5769
  * @summary List progress
5757
5770
  * @param {Array<string>} promotionIDs Promotion ID to filter by
5758
5771
  * @param {number} [periodID] Period ID
5759
5772
  * @param {string} [nextToken] This is the pagination token
5773
+ * @param {ProgressStateAggregation} [state] Progress state
5760
5774
  * @param {*} [options] Override http request option.
5761
5775
  * @throws {RequiredError}
5762
5776
  */
5763
- listUserProgress(promotionIDs: Array<string>, periodID?: number, nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProgressResponse>>;
5777
+ listUserProgress(promotionIDs: Array<string>, periodID?: number, nextToken?: string, state?: ProgressStateAggregation, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProgressResponse>>;
5764
5778
  };
5765
5779
  /**
5766
5780
  * ProgressApi - factory interface
@@ -5776,20 +5790,22 @@ export declare const ProgressApiFactory: (configuration?: Configuration, basePat
5776
5790
  * @param {Array<string>} [clientIDs] Client IDs to filter by
5777
5791
  * @param {ProgressInterval} [interval] Interval
5778
5792
  * @param {string} [nextToken] This is the pagination token
5793
+ * @param {ProgressStateAggregation} [state] Progress state
5779
5794
  * @param {*} [options] Override http request option.
5780
5795
  * @throws {RequiredError}
5781
5796
  */
5782
- listProgress(promotionIDs: Array<string>, periodID?: number, userIDs?: Array<string>, clientIDs?: Array<string>, interval?: ProgressInterval, nextToken?: string, options?: any): AxiosPromise<ProgressResponse>;
5797
+ listProgress(promotionIDs: Array<string>, periodID?: number, userIDs?: Array<string>, clientIDs?: Array<string>, interval?: ProgressInterval, nextToken?: string, state?: ProgressStateAggregation, options?: any): AxiosPromise<ProgressResponse>;
5783
5798
  /**
5784
5799
  * List users progress
5785
5800
  * @summary List progress
5786
5801
  * @param {Array<string>} promotionIDs Promotion ID to filter by
5787
5802
  * @param {number} [periodID] Period ID
5788
5803
  * @param {string} [nextToken] This is the pagination token
5804
+ * @param {ProgressStateAggregation} [state] Progress state
5789
5805
  * @param {*} [options] Override http request option.
5790
5806
  * @throws {RequiredError}
5791
5807
  */
5792
- listUserProgress(promotionIDs: Array<string>, periodID?: number, nextToken?: string, options?: any): AxiosPromise<ProgressResponse>;
5808
+ listUserProgress(promotionIDs: Array<string>, periodID?: number, nextToken?: string, state?: ProgressStateAggregation, options?: any): AxiosPromise<ProgressResponse>;
5793
5809
  };
5794
5810
  /**
5795
5811
  * ProgressApi - object-oriented interface
@@ -5807,22 +5823,24 @@ export declare class ProgressApi extends BaseAPI {
5807
5823
  * @param {Array<string>} [clientIDs] Client IDs to filter by
5808
5824
  * @param {ProgressInterval} [interval] Interval
5809
5825
  * @param {string} [nextToken] This is the pagination token
5826
+ * @param {ProgressStateAggregation} [state] Progress state
5810
5827
  * @param {*} [options] Override http request option.
5811
5828
  * @throws {RequiredError}
5812
5829
  * @memberof ProgressApi
5813
5830
  */
5814
- listProgress(promotionIDs: Array<string>, periodID?: number, userIDs?: Array<string>, clientIDs?: Array<string>, interval?: ProgressInterval, nextToken?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProgressResponse, any>>;
5831
+ listProgress(promotionIDs: Array<string>, periodID?: number, userIDs?: Array<string>, clientIDs?: Array<string>, interval?: ProgressInterval, nextToken?: string, state?: ProgressStateAggregation, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProgressResponse, any>>;
5815
5832
  /**
5816
5833
  * List users progress
5817
5834
  * @summary List progress
5818
5835
  * @param {Array<string>} promotionIDs Promotion ID to filter by
5819
5836
  * @param {number} [periodID] Period ID
5820
5837
  * @param {string} [nextToken] This is the pagination token
5838
+ * @param {ProgressStateAggregation} [state] Progress state
5821
5839
  * @param {*} [options] Override http request option.
5822
5840
  * @throws {RequiredError}
5823
5841
  * @memberof ProgressApi
5824
5842
  */
5825
- listUserProgress(promotionIDs: Array<string>, periodID?: number, nextToken?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProgressResponse, any>>;
5843
+ listUserProgress(promotionIDs: Array<string>, periodID?: number, nextToken?: string, state?: ProgressStateAggregation, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProgressResponse, any>>;
5826
5844
  }
5827
5845
  /**
5828
5846
  * PromotionApi - axios parameter creator
package/dist/api.js CHANGED
@@ -22,9 +22,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
22
22
  });
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
- exports.BulkApi = exports.BulkApiFactory = exports.BulkApiFp = exports.BulkApiAxiosParamCreator = exports.BalanceApi = exports.BalanceApiFactory = exports.BalanceApiFp = exports.BalanceApiAxiosParamCreator = exports.AuditApi = exports.AuditApiFactory = exports.AuditApiFp = exports.AuditApiAxiosParamCreator = exports.WebhookKind = exports.UserSource = exports.UserRole = exports.TransactionSource = exports.TransactionKind = exports.TransactionEventKind = exports.TargetMu = exports.TagValidatorType = exports.TagRuleKind = exports.TagDataType = exports.SortDirection = exports.RuleKind = exports.RuleGroupState = exports.Repetition = exports.PromotionType = exports.PromotionSortByField = exports.ProgressState = exports.ProgressInterval = exports.ProductUsage = exports.ProductStatus = exports.ProductRequestStatus = exports.ProductRequestApprovalRequestStatusEnum = exports.ProductKind = exports.ProductAvailability = exports.OrderKindEnum = exports.NotificationStatus = exports.NotificationKind = exports.NotificationChannel = exports.Locale = exports.Feature = exports.EventCreationRequestKindEnum = exports.CustomDealRestrictionPriority = exports.Condition = exports.BonusMu = exports.BeneficiaryKind = exports.AuditLogObjectType = exports.AuditLogActionEnum = exports.ApiKeyKind = void 0;
26
- exports.TagApiFp = exports.TagApiAxiosParamCreator = exports.SegmentApi = exports.SegmentApiFactory = exports.SegmentApiFp = exports.SegmentApiAxiosParamCreator = exports.PromotionApi = exports.PromotionApiFactory = exports.PromotionApiFp = exports.PromotionApiAxiosParamCreator = exports.ProgressApi = exports.ProgressApiFactory = exports.ProgressApiFp = exports.ProgressApiAxiosParamCreator = exports.ProductApi = exports.ProductApiFactory = exports.ProductApiFp = exports.ProductApiAxiosParamCreator = exports.OrderApi = exports.OrderApiFactory = exports.OrderApiFp = exports.OrderApiAxiosParamCreator = exports.NotificationApi = exports.NotificationApiFactory = exports.NotificationApiFp = exports.NotificationApiAxiosParamCreator = exports.IntegrationApi = exports.IntegrationApiFactory = exports.IntegrationApiFp = exports.IntegrationApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.CustomDealsApi = exports.CustomDealsApiFactory = exports.CustomDealsApiFp = exports.CustomDealsApiAxiosParamCreator = exports.ConfigurationApi = exports.ConfigurationApiFactory = exports.ConfigurationApiFp = exports.ConfigurationApiAxiosParamCreator = exports.ClientApi = exports.ClientApiFactory = exports.ClientApiFp = exports.ClientApiAxiosParamCreator = exports.CategoryApi = exports.CategoryApiFactory = exports.CategoryApiFp = exports.CategoryApiAxiosParamCreator = void 0;
27
- exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.TransactionApi = exports.TransactionApiFactory = exports.TransactionApiFp = exports.TransactionApiAxiosParamCreator = exports.TenantApi = exports.TenantApiFactory = exports.TenantApiFp = exports.TenantApiAxiosParamCreator = exports.TagApi = exports.TagApiFactory = void 0;
25
+ exports.BulkApiFactory = exports.BulkApiFp = exports.BulkApiAxiosParamCreator = exports.BalanceApi = exports.BalanceApiFactory = exports.BalanceApiFp = exports.BalanceApiAxiosParamCreator = exports.AuditApi = exports.AuditApiFactory = exports.AuditApiFp = exports.AuditApiAxiosParamCreator = exports.WebhookKind = exports.UserSource = exports.UserRole = exports.TransactionSource = exports.TransactionKind = exports.TransactionEventKind = exports.TargetMu = exports.TagValidatorType = exports.TagRuleKind = exports.TagDataType = exports.SortDirection = exports.RuleKind = exports.RuleGroupState = exports.Repetition = exports.PromotionType = exports.PromotionSortByField = exports.ProgressStateAggregation = exports.ProgressState = exports.ProgressInterval = exports.ProductUsage = exports.ProductStatus = exports.ProductRequestStatus = exports.ProductRequestApprovalRequestStatusEnum = exports.ProductKind = exports.ProductAvailability = exports.OrderKindEnum = exports.NotificationStatus = exports.NotificationKind = exports.NotificationChannel = exports.Locale = exports.Feature = exports.EventCreationRequestKindEnum = exports.CustomDealRestrictionPriority = exports.Condition = exports.BonusMu = exports.BeneficiaryKind = exports.AuditLogObjectType = exports.AuditLogActionEnum = exports.ApiKeyKind = void 0;
26
+ exports.TagApiAxiosParamCreator = exports.SegmentApi = exports.SegmentApiFactory = exports.SegmentApiFp = exports.SegmentApiAxiosParamCreator = exports.PromotionApi = exports.PromotionApiFactory = exports.PromotionApiFp = exports.PromotionApiAxiosParamCreator = exports.ProgressApi = exports.ProgressApiFactory = exports.ProgressApiFp = exports.ProgressApiAxiosParamCreator = exports.ProductApi = exports.ProductApiFactory = exports.ProductApiFp = exports.ProductApiAxiosParamCreator = exports.OrderApi = exports.OrderApiFactory = exports.OrderApiFp = exports.OrderApiAxiosParamCreator = exports.NotificationApi = exports.NotificationApiFactory = exports.NotificationApiFp = exports.NotificationApiAxiosParamCreator = exports.IntegrationApi = exports.IntegrationApiFactory = exports.IntegrationApiFp = exports.IntegrationApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.CustomDealsApi = exports.CustomDealsApiFactory = exports.CustomDealsApiFp = exports.CustomDealsApiAxiosParamCreator = exports.ConfigurationApi = exports.ConfigurationApiFactory = exports.ConfigurationApiFp = exports.ConfigurationApiAxiosParamCreator = exports.ClientApi = exports.ClientApiFactory = exports.ClientApiFp = exports.ClientApiAxiosParamCreator = exports.CategoryApi = exports.CategoryApiFactory = exports.CategoryApiFp = exports.CategoryApiAxiosParamCreator = exports.BulkApi = void 0;
27
+ exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.TransactionApi = exports.TransactionApiFactory = exports.TransactionApiFp = exports.TransactionApiAxiosParamCreator = exports.TenantApi = exports.TenantApiFactory = exports.TenantApiFp = exports.TenantApiAxiosParamCreator = exports.TagApi = exports.TagApiFactory = exports.TagApiFp = void 0;
28
28
  const axios_1 = require("axios");
29
29
  // Some imports not used depending on template conditions
30
30
  // @ts-ignore
@@ -220,6 +220,15 @@ exports.ProgressState = {
220
220
  Active: 'active',
221
221
  Pending: 'pending'
222
222
  };
223
+ /**
224
+ *
225
+ * @export
226
+ * @enum {string}
227
+ */
228
+ exports.ProgressStateAggregation = {
229
+ Confirmed: 'confirmed',
230
+ Total: 'total'
231
+ };
223
232
  /**
224
233
  *
225
234
  * @export
@@ -4138,10 +4147,11 @@ const ProgressApiAxiosParamCreator = function (configuration) {
4138
4147
  * @param {Array<string>} [clientIDs] Client IDs to filter by
4139
4148
  * @param {ProgressInterval} [interval] Interval
4140
4149
  * @param {string} [nextToken] This is the pagination token
4150
+ * @param {ProgressStateAggregation} [state] Progress state
4141
4151
  * @param {*} [options] Override http request option.
4142
4152
  * @throws {RequiredError}
4143
4153
  */
4144
- listProgress: (promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
4154
+ listProgress: (promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, options = {}) => __awaiter(this, void 0, void 0, function* () {
4145
4155
  // verify required parameter 'promotionIDs' is not null or undefined
4146
4156
  (0, common_1.assertParamExists)('listProgress', 'promotionIDs', promotionIDs);
4147
4157
  const localVarPath = `/admins/progress`;
@@ -4175,6 +4185,9 @@ const ProgressApiAxiosParamCreator = function (configuration) {
4175
4185
  if (nextToken !== undefined) {
4176
4186
  localVarQueryParameter['nextToken'] = nextToken;
4177
4187
  }
4188
+ if (state !== undefined) {
4189
+ localVarQueryParameter['state'] = state;
4190
+ }
4178
4191
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4179
4192
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4180
4193
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -4189,10 +4202,11 @@ const ProgressApiAxiosParamCreator = function (configuration) {
4189
4202
  * @param {Array<string>} promotionIDs Promotion ID to filter by
4190
4203
  * @param {number} [periodID] Period ID
4191
4204
  * @param {string} [nextToken] This is the pagination token
4205
+ * @param {ProgressStateAggregation} [state] Progress state
4192
4206
  * @param {*} [options] Override http request option.
4193
4207
  * @throws {RequiredError}
4194
4208
  */
4195
- listUserProgress: (promotionIDs, periodID, nextToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
4209
+ listUserProgress: (promotionIDs, periodID, nextToken, state, options = {}) => __awaiter(this, void 0, void 0, function* () {
4196
4210
  // verify required parameter 'promotionIDs' is not null or undefined
4197
4211
  (0, common_1.assertParamExists)('listUserProgress', 'promotionIDs', promotionIDs);
4198
4212
  const localVarPath = `/users/progress`;
@@ -4217,6 +4231,9 @@ const ProgressApiAxiosParamCreator = function (configuration) {
4217
4231
  if (nextToken !== undefined) {
4218
4232
  localVarQueryParameter['nextToken'] = nextToken;
4219
4233
  }
4234
+ if (state !== undefined) {
4235
+ localVarQueryParameter['state'] = state;
4236
+ }
4220
4237
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4221
4238
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4222
4239
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -4244,12 +4261,13 @@ const ProgressApiFp = function (configuration) {
4244
4261
  * @param {Array<string>} [clientIDs] Client IDs to filter by
4245
4262
  * @param {ProgressInterval} [interval] Interval
4246
4263
  * @param {string} [nextToken] This is the pagination token
4264
+ * @param {ProgressStateAggregation} [state] Progress state
4247
4265
  * @param {*} [options] Override http request option.
4248
4266
  * @throws {RequiredError}
4249
4267
  */
4250
- listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, options) {
4268
+ listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, options) {
4251
4269
  return __awaiter(this, void 0, void 0, function* () {
4252
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, options);
4270
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, options);
4253
4271
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
4254
4272
  });
4255
4273
  },
@@ -4259,12 +4277,13 @@ const ProgressApiFp = function (configuration) {
4259
4277
  * @param {Array<string>} promotionIDs Promotion ID to filter by
4260
4278
  * @param {number} [periodID] Period ID
4261
4279
  * @param {string} [nextToken] This is the pagination token
4280
+ * @param {ProgressStateAggregation} [state] Progress state
4262
4281
  * @param {*} [options] Override http request option.
4263
4282
  * @throws {RequiredError}
4264
4283
  */
4265
- listUserProgress(promotionIDs, periodID, nextToken, options) {
4284
+ listUserProgress(promotionIDs, periodID, nextToken, state, options) {
4266
4285
  return __awaiter(this, void 0, void 0, function* () {
4267
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserProgress(promotionIDs, periodID, nextToken, options);
4286
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserProgress(promotionIDs, periodID, nextToken, state, options);
4268
4287
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
4269
4288
  });
4270
4289
  },
@@ -4287,11 +4306,12 @@ const ProgressApiFactory = function (configuration, basePath, axios) {
4287
4306
  * @param {Array<string>} [clientIDs] Client IDs to filter by
4288
4307
  * @param {ProgressInterval} [interval] Interval
4289
4308
  * @param {string} [nextToken] This is the pagination token
4309
+ * @param {ProgressStateAggregation} [state] Progress state
4290
4310
  * @param {*} [options] Override http request option.
4291
4311
  * @throws {RequiredError}
4292
4312
  */
4293
- listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, options) {
4294
- return localVarFp.listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, options).then((request) => request(axios, basePath));
4313
+ listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, options) {
4314
+ return localVarFp.listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, options).then((request) => request(axios, basePath));
4295
4315
  },
4296
4316
  /**
4297
4317
  * List users progress
@@ -4299,11 +4319,12 @@ const ProgressApiFactory = function (configuration, basePath, axios) {
4299
4319
  * @param {Array<string>} promotionIDs Promotion ID to filter by
4300
4320
  * @param {number} [periodID] Period ID
4301
4321
  * @param {string} [nextToken] This is the pagination token
4322
+ * @param {ProgressStateAggregation} [state] Progress state
4302
4323
  * @param {*} [options] Override http request option.
4303
4324
  * @throws {RequiredError}
4304
4325
  */
4305
- listUserProgress(promotionIDs, periodID, nextToken, options) {
4306
- return localVarFp.listUserProgress(promotionIDs, periodID, nextToken, options).then((request) => request(axios, basePath));
4326
+ listUserProgress(promotionIDs, periodID, nextToken, state, options) {
4327
+ return localVarFp.listUserProgress(promotionIDs, periodID, nextToken, state, options).then((request) => request(axios, basePath));
4307
4328
  },
4308
4329
  };
4309
4330
  };
@@ -4324,12 +4345,13 @@ class ProgressApi extends base_1.BaseAPI {
4324
4345
  * @param {Array<string>} [clientIDs] Client IDs to filter by
4325
4346
  * @param {ProgressInterval} [interval] Interval
4326
4347
  * @param {string} [nextToken] This is the pagination token
4348
+ * @param {ProgressStateAggregation} [state] Progress state
4327
4349
  * @param {*} [options] Override http request option.
4328
4350
  * @throws {RequiredError}
4329
4351
  * @memberof ProgressApi
4330
4352
  */
4331
- listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, options) {
4332
- return (0, exports.ProgressApiFp)(this.configuration).listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, options).then((request) => request(this.axios, this.basePath));
4353
+ listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, options) {
4354
+ return (0, exports.ProgressApiFp)(this.configuration).listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, options).then((request) => request(this.axios, this.basePath));
4333
4355
  }
4334
4356
  /**
4335
4357
  * List users progress
@@ -4337,12 +4359,13 @@ class ProgressApi extends base_1.BaseAPI {
4337
4359
  * @param {Array<string>} promotionIDs Promotion ID to filter by
4338
4360
  * @param {number} [periodID] Period ID
4339
4361
  * @param {string} [nextToken] This is the pagination token
4362
+ * @param {ProgressStateAggregation} [state] Progress state
4340
4363
  * @param {*} [options] Override http request option.
4341
4364
  * @throws {RequiredError}
4342
4365
  * @memberof ProgressApi
4343
4366
  */
4344
- listUserProgress(promotionIDs, periodID, nextToken, options) {
4345
- return (0, exports.ProgressApiFp)(this.configuration).listUserProgress(promotionIDs, periodID, nextToken, options).then((request) => request(this.axios, this.basePath));
4367
+ listUserProgress(promotionIDs, periodID, nextToken, state, options) {
4368
+ return (0, exports.ProgressApiFp)(this.configuration).listUserProgress(promotionIDs, periodID, nextToken, state, options).then((request) => request(this.axios, this.basePath));
4346
4369
  }
4347
4370
  }
4348
4371
  exports.ProgressApi = ProgressApi;
package/dist/esm/api.d.ts CHANGED
@@ -1900,6 +1900,16 @@ export declare const ProgressState: {
1900
1900
  readonly Pending: "pending";
1901
1901
  };
1902
1902
  export type ProgressState = typeof ProgressState[keyof typeof ProgressState];
1903
+ /**
1904
+ *
1905
+ * @export
1906
+ * @enum {string}
1907
+ */
1908
+ export declare const ProgressStateAggregation: {
1909
+ readonly Confirmed: "confirmed";
1910
+ readonly Total: "total";
1911
+ };
1912
+ export type ProgressStateAggregation = typeof ProgressStateAggregation[keyof typeof ProgressStateAggregation];
1903
1913
  /**
1904
1914
  *
1905
1915
  * @export
@@ -5718,20 +5728,22 @@ export declare const ProgressApiAxiosParamCreator: (configuration?: Configuratio
5718
5728
  * @param {Array<string>} [clientIDs] Client IDs to filter by
5719
5729
  * @param {ProgressInterval} [interval] Interval
5720
5730
  * @param {string} [nextToken] This is the pagination token
5731
+ * @param {ProgressStateAggregation} [state] Progress state
5721
5732
  * @param {*} [options] Override http request option.
5722
5733
  * @throws {RequiredError}
5723
5734
  */
5724
- listProgress: (promotionIDs: Array<string>, periodID?: number, userIDs?: Array<string>, clientIDs?: Array<string>, interval?: ProgressInterval, nextToken?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5735
+ listProgress: (promotionIDs: Array<string>, periodID?: number, userIDs?: Array<string>, clientIDs?: Array<string>, interval?: ProgressInterval, nextToken?: string, state?: ProgressStateAggregation, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5725
5736
  /**
5726
5737
  * List users progress
5727
5738
  * @summary List progress
5728
5739
  * @param {Array<string>} promotionIDs Promotion ID to filter by
5729
5740
  * @param {number} [periodID] Period ID
5730
5741
  * @param {string} [nextToken] This is the pagination token
5742
+ * @param {ProgressStateAggregation} [state] Progress state
5731
5743
  * @param {*} [options] Override http request option.
5732
5744
  * @throws {RequiredError}
5733
5745
  */
5734
- listUserProgress: (promotionIDs: Array<string>, periodID?: number, nextToken?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5746
+ listUserProgress: (promotionIDs: Array<string>, periodID?: number, nextToken?: string, state?: ProgressStateAggregation, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5735
5747
  };
5736
5748
  /**
5737
5749
  * ProgressApi - functional programming interface
@@ -5747,20 +5759,22 @@ export declare const ProgressApiFp: (configuration?: Configuration) => {
5747
5759
  * @param {Array<string>} [clientIDs] Client IDs to filter by
5748
5760
  * @param {ProgressInterval} [interval] Interval
5749
5761
  * @param {string} [nextToken] This is the pagination token
5762
+ * @param {ProgressStateAggregation} [state] Progress state
5750
5763
  * @param {*} [options] Override http request option.
5751
5764
  * @throws {RequiredError}
5752
5765
  */
5753
- listProgress(promotionIDs: Array<string>, periodID?: number, userIDs?: Array<string>, clientIDs?: Array<string>, interval?: ProgressInterval, nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProgressResponse>>;
5766
+ listProgress(promotionIDs: Array<string>, periodID?: number, userIDs?: Array<string>, clientIDs?: Array<string>, interval?: ProgressInterval, nextToken?: string, state?: ProgressStateAggregation, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProgressResponse>>;
5754
5767
  /**
5755
5768
  * List users progress
5756
5769
  * @summary List progress
5757
5770
  * @param {Array<string>} promotionIDs Promotion ID to filter by
5758
5771
  * @param {number} [periodID] Period ID
5759
5772
  * @param {string} [nextToken] This is the pagination token
5773
+ * @param {ProgressStateAggregation} [state] Progress state
5760
5774
  * @param {*} [options] Override http request option.
5761
5775
  * @throws {RequiredError}
5762
5776
  */
5763
- listUserProgress(promotionIDs: Array<string>, periodID?: number, nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProgressResponse>>;
5777
+ listUserProgress(promotionIDs: Array<string>, periodID?: number, nextToken?: string, state?: ProgressStateAggregation, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProgressResponse>>;
5764
5778
  };
5765
5779
  /**
5766
5780
  * ProgressApi - factory interface
@@ -5776,20 +5790,22 @@ export declare const ProgressApiFactory: (configuration?: Configuration, basePat
5776
5790
  * @param {Array<string>} [clientIDs] Client IDs to filter by
5777
5791
  * @param {ProgressInterval} [interval] Interval
5778
5792
  * @param {string} [nextToken] This is the pagination token
5793
+ * @param {ProgressStateAggregation} [state] Progress state
5779
5794
  * @param {*} [options] Override http request option.
5780
5795
  * @throws {RequiredError}
5781
5796
  */
5782
- listProgress(promotionIDs: Array<string>, periodID?: number, userIDs?: Array<string>, clientIDs?: Array<string>, interval?: ProgressInterval, nextToken?: string, options?: any): AxiosPromise<ProgressResponse>;
5797
+ listProgress(promotionIDs: Array<string>, periodID?: number, userIDs?: Array<string>, clientIDs?: Array<string>, interval?: ProgressInterval, nextToken?: string, state?: ProgressStateAggregation, options?: any): AxiosPromise<ProgressResponse>;
5783
5798
  /**
5784
5799
  * List users progress
5785
5800
  * @summary List progress
5786
5801
  * @param {Array<string>} promotionIDs Promotion ID to filter by
5787
5802
  * @param {number} [periodID] Period ID
5788
5803
  * @param {string} [nextToken] This is the pagination token
5804
+ * @param {ProgressStateAggregation} [state] Progress state
5789
5805
  * @param {*} [options] Override http request option.
5790
5806
  * @throws {RequiredError}
5791
5807
  */
5792
- listUserProgress(promotionIDs: Array<string>, periodID?: number, nextToken?: string, options?: any): AxiosPromise<ProgressResponse>;
5808
+ listUserProgress(promotionIDs: Array<string>, periodID?: number, nextToken?: string, state?: ProgressStateAggregation, options?: any): AxiosPromise<ProgressResponse>;
5793
5809
  };
5794
5810
  /**
5795
5811
  * ProgressApi - object-oriented interface
@@ -5807,22 +5823,24 @@ export declare class ProgressApi extends BaseAPI {
5807
5823
  * @param {Array<string>} [clientIDs] Client IDs to filter by
5808
5824
  * @param {ProgressInterval} [interval] Interval
5809
5825
  * @param {string} [nextToken] This is the pagination token
5826
+ * @param {ProgressStateAggregation} [state] Progress state
5810
5827
  * @param {*} [options] Override http request option.
5811
5828
  * @throws {RequiredError}
5812
5829
  * @memberof ProgressApi
5813
5830
  */
5814
- listProgress(promotionIDs: Array<string>, periodID?: number, userIDs?: Array<string>, clientIDs?: Array<string>, interval?: ProgressInterval, nextToken?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProgressResponse, any>>;
5831
+ listProgress(promotionIDs: Array<string>, periodID?: number, userIDs?: Array<string>, clientIDs?: Array<string>, interval?: ProgressInterval, nextToken?: string, state?: ProgressStateAggregation, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProgressResponse, any>>;
5815
5832
  /**
5816
5833
  * List users progress
5817
5834
  * @summary List progress
5818
5835
  * @param {Array<string>} promotionIDs Promotion ID to filter by
5819
5836
  * @param {number} [periodID] Period ID
5820
5837
  * @param {string} [nextToken] This is the pagination token
5838
+ * @param {ProgressStateAggregation} [state] Progress state
5821
5839
  * @param {*} [options] Override http request option.
5822
5840
  * @throws {RequiredError}
5823
5841
  * @memberof ProgressApi
5824
5842
  */
5825
- listUserProgress(promotionIDs: Array<string>, periodID?: number, nextToken?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProgressResponse, any>>;
5843
+ listUserProgress(promotionIDs: Array<string>, periodID?: number, nextToken?: string, state?: ProgressStateAggregation, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProgressResponse, any>>;
5826
5844
  }
5827
5845
  /**
5828
5846
  * PromotionApi - axios parameter creator
package/dist/esm/api.js CHANGED
@@ -215,6 +215,15 @@ export const ProgressState = {
215
215
  Active: 'active',
216
216
  Pending: 'pending'
217
217
  };
218
+ /**
219
+ *
220
+ * @export
221
+ * @enum {string}
222
+ */
223
+ export const ProgressStateAggregation = {
224
+ Confirmed: 'confirmed',
225
+ Total: 'total'
226
+ };
218
227
  /**
219
228
  *
220
229
  * @export
@@ -4085,10 +4094,11 @@ export const ProgressApiAxiosParamCreator = function (configuration) {
4085
4094
  * @param {Array<string>} [clientIDs] Client IDs to filter by
4086
4095
  * @param {ProgressInterval} [interval] Interval
4087
4096
  * @param {string} [nextToken] This is the pagination token
4097
+ * @param {ProgressStateAggregation} [state] Progress state
4088
4098
  * @param {*} [options] Override http request option.
4089
4099
  * @throws {RequiredError}
4090
4100
  */
4091
- listProgress: (promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
4101
+ listProgress: (promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, options = {}) => __awaiter(this, void 0, void 0, function* () {
4092
4102
  // verify required parameter 'promotionIDs' is not null or undefined
4093
4103
  assertParamExists('listProgress', 'promotionIDs', promotionIDs);
4094
4104
  const localVarPath = `/admins/progress`;
@@ -4122,6 +4132,9 @@ export const ProgressApiAxiosParamCreator = function (configuration) {
4122
4132
  if (nextToken !== undefined) {
4123
4133
  localVarQueryParameter['nextToken'] = nextToken;
4124
4134
  }
4135
+ if (state !== undefined) {
4136
+ localVarQueryParameter['state'] = state;
4137
+ }
4125
4138
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4126
4139
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4127
4140
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -4136,10 +4149,11 @@ export const ProgressApiAxiosParamCreator = function (configuration) {
4136
4149
  * @param {Array<string>} promotionIDs Promotion ID to filter by
4137
4150
  * @param {number} [periodID] Period ID
4138
4151
  * @param {string} [nextToken] This is the pagination token
4152
+ * @param {ProgressStateAggregation} [state] Progress state
4139
4153
  * @param {*} [options] Override http request option.
4140
4154
  * @throws {RequiredError}
4141
4155
  */
4142
- listUserProgress: (promotionIDs, periodID, nextToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
4156
+ listUserProgress: (promotionIDs, periodID, nextToken, state, options = {}) => __awaiter(this, void 0, void 0, function* () {
4143
4157
  // verify required parameter 'promotionIDs' is not null or undefined
4144
4158
  assertParamExists('listUserProgress', 'promotionIDs', promotionIDs);
4145
4159
  const localVarPath = `/users/progress`;
@@ -4164,6 +4178,9 @@ export const ProgressApiAxiosParamCreator = function (configuration) {
4164
4178
  if (nextToken !== undefined) {
4165
4179
  localVarQueryParameter['nextToken'] = nextToken;
4166
4180
  }
4181
+ if (state !== undefined) {
4182
+ localVarQueryParameter['state'] = state;
4183
+ }
4167
4184
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4168
4185
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4169
4186
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -4190,12 +4207,13 @@ export const ProgressApiFp = function (configuration) {
4190
4207
  * @param {Array<string>} [clientIDs] Client IDs to filter by
4191
4208
  * @param {ProgressInterval} [interval] Interval
4192
4209
  * @param {string} [nextToken] This is the pagination token
4210
+ * @param {ProgressStateAggregation} [state] Progress state
4193
4211
  * @param {*} [options] Override http request option.
4194
4212
  * @throws {RequiredError}
4195
4213
  */
4196
- listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, options) {
4214
+ listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, options) {
4197
4215
  return __awaiter(this, void 0, void 0, function* () {
4198
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, options);
4216
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, options);
4199
4217
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4200
4218
  });
4201
4219
  },
@@ -4205,12 +4223,13 @@ export const ProgressApiFp = function (configuration) {
4205
4223
  * @param {Array<string>} promotionIDs Promotion ID to filter by
4206
4224
  * @param {number} [periodID] Period ID
4207
4225
  * @param {string} [nextToken] This is the pagination token
4226
+ * @param {ProgressStateAggregation} [state] Progress state
4208
4227
  * @param {*} [options] Override http request option.
4209
4228
  * @throws {RequiredError}
4210
4229
  */
4211
- listUserProgress(promotionIDs, periodID, nextToken, options) {
4230
+ listUserProgress(promotionIDs, periodID, nextToken, state, options) {
4212
4231
  return __awaiter(this, void 0, void 0, function* () {
4213
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserProgress(promotionIDs, periodID, nextToken, options);
4232
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserProgress(promotionIDs, periodID, nextToken, state, options);
4214
4233
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4215
4234
  });
4216
4235
  },
@@ -4232,11 +4251,12 @@ export const ProgressApiFactory = function (configuration, basePath, axios) {
4232
4251
  * @param {Array<string>} [clientIDs] Client IDs to filter by
4233
4252
  * @param {ProgressInterval} [interval] Interval
4234
4253
  * @param {string} [nextToken] This is the pagination token
4254
+ * @param {ProgressStateAggregation} [state] Progress state
4235
4255
  * @param {*} [options] Override http request option.
4236
4256
  * @throws {RequiredError}
4237
4257
  */
4238
- listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, options) {
4239
- return localVarFp.listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, options).then((request) => request(axios, basePath));
4258
+ listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, options) {
4259
+ return localVarFp.listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, options).then((request) => request(axios, basePath));
4240
4260
  },
4241
4261
  /**
4242
4262
  * List users progress
@@ -4244,11 +4264,12 @@ export const ProgressApiFactory = function (configuration, basePath, axios) {
4244
4264
  * @param {Array<string>} promotionIDs Promotion ID to filter by
4245
4265
  * @param {number} [periodID] Period ID
4246
4266
  * @param {string} [nextToken] This is the pagination token
4267
+ * @param {ProgressStateAggregation} [state] Progress state
4247
4268
  * @param {*} [options] Override http request option.
4248
4269
  * @throws {RequiredError}
4249
4270
  */
4250
- listUserProgress(promotionIDs, periodID, nextToken, options) {
4251
- return localVarFp.listUserProgress(promotionIDs, periodID, nextToken, options).then((request) => request(axios, basePath));
4271
+ listUserProgress(promotionIDs, periodID, nextToken, state, options) {
4272
+ return localVarFp.listUserProgress(promotionIDs, periodID, nextToken, state, options).then((request) => request(axios, basePath));
4252
4273
  },
4253
4274
  };
4254
4275
  };
@@ -4268,12 +4289,13 @@ export class ProgressApi extends BaseAPI {
4268
4289
  * @param {Array<string>} [clientIDs] Client IDs to filter by
4269
4290
  * @param {ProgressInterval} [interval] Interval
4270
4291
  * @param {string} [nextToken] This is the pagination token
4292
+ * @param {ProgressStateAggregation} [state] Progress state
4271
4293
  * @param {*} [options] Override http request option.
4272
4294
  * @throws {RequiredError}
4273
4295
  * @memberof ProgressApi
4274
4296
  */
4275
- listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, options) {
4276
- return ProgressApiFp(this.configuration).listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, options).then((request) => request(this.axios, this.basePath));
4297
+ listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, options) {
4298
+ return ProgressApiFp(this.configuration).listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, state, options).then((request) => request(this.axios, this.basePath));
4277
4299
  }
4278
4300
  /**
4279
4301
  * List users progress
@@ -4281,12 +4303,13 @@ export class ProgressApi extends BaseAPI {
4281
4303
  * @param {Array<string>} promotionIDs Promotion ID to filter by
4282
4304
  * @param {number} [periodID] Period ID
4283
4305
  * @param {string} [nextToken] This is the pagination token
4306
+ * @param {ProgressStateAggregation} [state] Progress state
4284
4307
  * @param {*} [options] Override http request option.
4285
4308
  * @throws {RequiredError}
4286
4309
  * @memberof ProgressApi
4287
4310
  */
4288
- listUserProgress(promotionIDs, periodID, nextToken, options) {
4289
- return ProgressApiFp(this.configuration).listUserProgress(promotionIDs, periodID, nextToken, options).then((request) => request(this.axios, this.basePath));
4311
+ listUserProgress(promotionIDs, periodID, nextToken, state, options) {
4312
+ return ProgressApiFp(this.configuration).listUserProgress(promotionIDs, periodID, nextToken, state, options).then((request) => request(this.axios, this.basePath));
4290
4313
  }
4291
4314
  }
4292
4315
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flexinet-api",
3
- "version": "0.0.814-prerelease0",
3
+ "version": "0.0.819-prerelease0",
4
4
  "description": "OpenAPI client for flexinet-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {