flexinet-api 0.0.548-prerelease0 → 0.0.550-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.548-prerelease0
1
+ ## flexinet-api@0.0.550-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.548-prerelease0 --save
39
+ npm install flexinet-api@0.0.550-prerelease0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -3186,7 +3186,7 @@ export interface UserPromotion {
3186
3186
  * @type {Array<RuleGroup>}
3187
3187
  * @memberof UserPromotion
3188
3188
  */
3189
- 'ruleGroups': Array<RuleGroup>;
3189
+ 'ruleGroups'?: Array<RuleGroup>;
3190
3190
  /**
3191
3191
  *
3192
3192
  * @type {string}
@@ -3244,6 +3244,25 @@ export interface UserPromotion {
3244
3244
  }
3245
3245
 
3246
3246
 
3247
+ /**
3248
+ *
3249
+ * @export
3250
+ * @interface UserPromotionsResponse
3251
+ */
3252
+ export interface UserPromotionsResponse {
3253
+ /**
3254
+ *
3255
+ * @type {Array<UserPromotion>}
3256
+ * @memberof UserPromotionsResponse
3257
+ */
3258
+ 'promotions': Array<UserPromotion>;
3259
+ /**
3260
+ * This is the pagination token
3261
+ * @type {string}
3262
+ * @memberof UserPromotionsResponse
3263
+ */
3264
+ 'nextToken'?: string;
3265
+ }
3247
3266
  /**
3248
3267
  *
3249
3268
  * @export
@@ -7971,7 +7990,7 @@ export const PromotionApiFp = function(configuration?: Configuration) {
7971
7990
  * @param {*} [options] Override http request option.
7972
7991
  * @throws {RequiredError}
7973
7992
  */
7974
- async listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PromotionsResponse>> {
7993
+ async listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserPromotionsResponse>> {
7975
7994
  const localVarAxiosArgs = await localVarAxiosParamCreator.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, options);
7976
7995
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
7977
7996
  },
@@ -8128,7 +8147,7 @@ export const PromotionApiFactory = function (configuration?: Configuration, base
8128
8147
  * @param {*} [options] Override http request option.
8129
8148
  * @throws {RequiredError}
8130
8149
  */
8131
- listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, options?: any): AxiosPromise<PromotionsResponse> {
8150
+ listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, options?: any): AxiosPromise<UserPromotionsResponse> {
8132
8151
  return localVarFp.listUserPromotions(nextToken, tags, startingAfter, endingBefore, startingBefore, endingAfter, search, sortBy, sortDirection, onlyClaimable, options).then((request) => request(axios, basePath));
8133
8152
  },
8134
8153
  /**
package/dist/api.d.ts CHANGED
@@ -3029,7 +3029,7 @@ export interface UserPromotion {
3029
3029
  * @type {Array<RuleGroup>}
3030
3030
  * @memberof UserPromotion
3031
3031
  */
3032
- 'ruleGroups': Array<RuleGroup>;
3032
+ 'ruleGroups'?: Array<RuleGroup>;
3033
3033
  /**
3034
3034
  *
3035
3035
  * @type {string}
@@ -3087,6 +3087,25 @@ export interface UserPromotion {
3087
3087
  */
3088
3088
  'periods'?: Array<Period>;
3089
3089
  }
3090
+ /**
3091
+ *
3092
+ * @export
3093
+ * @interface UserPromotionsResponse
3094
+ */
3095
+ export interface UserPromotionsResponse {
3096
+ /**
3097
+ *
3098
+ * @type {Array<UserPromotion>}
3099
+ * @memberof UserPromotionsResponse
3100
+ */
3101
+ 'promotions': Array<UserPromotion>;
3102
+ /**
3103
+ * This is the pagination token
3104
+ * @type {string}
3105
+ * @memberof UserPromotionsResponse
3106
+ */
3107
+ 'nextToken'?: string;
3108
+ }
3090
3109
  /**
3091
3110
  *
3092
3111
  * @export
@@ -5293,7 +5312,7 @@ export declare const PromotionApiFp: (configuration?: Configuration) => {
5293
5312
  * @param {*} [options] Override http request option.
5294
5313
  * @throws {RequiredError}
5295
5314
  */
5296
- listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PromotionsResponse>>;
5315
+ listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserPromotionsResponse>>;
5297
5316
  /**
5298
5317
  * Update promotion by id
5299
5318
  * @summary Update promotion
@@ -5420,7 +5439,7 @@ export declare const PromotionApiFactory: (configuration?: Configuration, basePa
5420
5439
  * @param {*} [options] Override http request option.
5421
5440
  * @throws {RequiredError}
5422
5441
  */
5423
- listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, options?: any): AxiosPromise<PromotionsResponse>;
5442
+ listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, options?: any): AxiosPromise<UserPromotionsResponse>;
5424
5443
  /**
5425
5444
  * Update promotion by id
5426
5445
  * @summary Update promotion
@@ -5560,7 +5579,7 @@ export declare class PromotionApi extends BaseAPI {
5560
5579
  * @throws {RequiredError}
5561
5580
  * @memberof PromotionApi
5562
5581
  */
5563
- listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PromotionsResponse, any>>;
5582
+ listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UserPromotionsResponse, any>>;
5564
5583
  /**
5565
5584
  * Update promotion by id
5566
5585
  * @summary Update promotion
package/dist/esm/api.d.ts CHANGED
@@ -3029,7 +3029,7 @@ export interface UserPromotion {
3029
3029
  * @type {Array<RuleGroup>}
3030
3030
  * @memberof UserPromotion
3031
3031
  */
3032
- 'ruleGroups': Array<RuleGroup>;
3032
+ 'ruleGroups'?: Array<RuleGroup>;
3033
3033
  /**
3034
3034
  *
3035
3035
  * @type {string}
@@ -3087,6 +3087,25 @@ export interface UserPromotion {
3087
3087
  */
3088
3088
  'periods'?: Array<Period>;
3089
3089
  }
3090
+ /**
3091
+ *
3092
+ * @export
3093
+ * @interface UserPromotionsResponse
3094
+ */
3095
+ export interface UserPromotionsResponse {
3096
+ /**
3097
+ *
3098
+ * @type {Array<UserPromotion>}
3099
+ * @memberof UserPromotionsResponse
3100
+ */
3101
+ 'promotions': Array<UserPromotion>;
3102
+ /**
3103
+ * This is the pagination token
3104
+ * @type {string}
3105
+ * @memberof UserPromotionsResponse
3106
+ */
3107
+ 'nextToken'?: string;
3108
+ }
3090
3109
  /**
3091
3110
  *
3092
3111
  * @export
@@ -5293,7 +5312,7 @@ export declare const PromotionApiFp: (configuration?: Configuration) => {
5293
5312
  * @param {*} [options] Override http request option.
5294
5313
  * @throws {RequiredError}
5295
5314
  */
5296
- listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PromotionsResponse>>;
5315
+ listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserPromotionsResponse>>;
5297
5316
  /**
5298
5317
  * Update promotion by id
5299
5318
  * @summary Update promotion
@@ -5420,7 +5439,7 @@ export declare const PromotionApiFactory: (configuration?: Configuration, basePa
5420
5439
  * @param {*} [options] Override http request option.
5421
5440
  * @throws {RequiredError}
5422
5441
  */
5423
- listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, options?: any): AxiosPromise<PromotionsResponse>;
5442
+ listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, options?: any): AxiosPromise<UserPromotionsResponse>;
5424
5443
  /**
5425
5444
  * Update promotion by id
5426
5445
  * @summary Update promotion
@@ -5560,7 +5579,7 @@ export declare class PromotionApi extends BaseAPI {
5560
5579
  * @throws {RequiredError}
5561
5580
  * @memberof PromotionApi
5562
5581
  */
5563
- listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PromotionsResponse, any>>;
5582
+ listUserPromotions(nextToken?: string, tags?: string, startingAfter?: string, endingBefore?: string, startingBefore?: string, endingAfter?: string, search?: string, sortBy?: PromotionSortByField, sortDirection?: SortDirection, onlyClaimable?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UserPromotionsResponse, any>>;
5564
5583
  /**
5565
5584
  * Update promotion by id
5566
5585
  * @summary Update promotion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flexinet-api",
3
- "version": "0.0.548-prerelease0",
3
+ "version": "0.0.550-prerelease0",
4
4
  "description": "OpenAPI client for flexinet-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {