flexinet-api 0.0.1148-prerelease0 → 0.0.1156-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.1148-prerelease0
1
+ ## flexinet-api@0.0.1156-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.1148-prerelease0 --save
39
+ npm install flexinet-api@0.0.1156-prerelease0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -1092,6 +1092,12 @@ export interface Notification {
1092
1092
  * @memberof Notification
1093
1093
  */
1094
1094
  'references'?: Array<NotificationReferencesInner>;
1095
+ /**
1096
+ *
1097
+ * @type {User}
1098
+ * @memberof Notification
1099
+ */
1100
+ 'user'?: User;
1095
1101
  }
1096
1102
 
1097
1103
 
@@ -1135,7 +1141,8 @@ export const NotificationKind = {
1135
1141
  NewProduct: 'new_product',
1136
1142
  ExpiryReminder: 'expiry_reminder',
1137
1143
  OrderConfirmation: 'order_confirmation',
1138
- ProductRequestResponse: 'product_request_response'
1144
+ ProductRequestResponse: 'product_request_response',
1145
+ ProductRequest: 'product_request'
1139
1146
  } as const;
1140
1147
 
1141
1148
  export type NotificationKind = typeof NotificationKind[keyof typeof NotificationKind];
@@ -2223,6 +2230,12 @@ export interface Promotion {
2223
2230
  * @memberof Promotion
2224
2231
  */
2225
2232
  'notificationConfig': PromotionNotificationConfig;
2233
+ /**
2234
+ *
2235
+ * @type {PromotionStatus}
2236
+ * @memberof Promotion
2237
+ */
2238
+ 'status'?: PromotionStatus;
2226
2239
  }
2227
2240
 
2228
2241
 
@@ -2446,6 +2459,19 @@ export const PromotionSortByField = {
2446
2459
  export type PromotionSortByField = typeof PromotionSortByField[keyof typeof PromotionSortByField];
2447
2460
 
2448
2461
 
2462
+ /**
2463
+ *
2464
+ * @export
2465
+ * @enum {string}
2466
+ */
2467
+
2468
+ export const PromotionStatus = {
2469
+ Pending: 'pending'
2470
+ } as const;
2471
+
2472
+ export type PromotionStatus = typeof PromotionStatus[keyof typeof PromotionStatus];
2473
+
2474
+
2449
2475
  /**
2450
2476
  *
2451
2477
  * @export
@@ -2521,6 +2547,44 @@ export const Repetition = {
2521
2547
  export type Repetition = typeof Repetition[keyof typeof Repetition];
2522
2548
 
2523
2549
 
2550
+ /**
2551
+ *
2552
+ * @export
2553
+ * @interface ReportCreationRequest
2554
+ */
2555
+ export interface ReportCreationRequest {
2556
+ /**
2557
+ *
2558
+ * @type {string}
2559
+ * @memberof ReportCreationRequest
2560
+ */
2561
+ 'startDate'?: string;
2562
+ /**
2563
+ *
2564
+ * @type {string}
2565
+ * @memberof ReportCreationRequest
2566
+ */
2567
+ 'endDate'?: string;
2568
+ /**
2569
+ *
2570
+ * @type {string}
2571
+ * @memberof ReportCreationRequest
2572
+ */
2573
+ 'referenceID'?: string;
2574
+ }
2575
+ /**
2576
+ *
2577
+ * @export
2578
+ * @interface ReportListResponse
2579
+ */
2580
+ export interface ReportListResponse {
2581
+ /**
2582
+ *
2583
+ * @type {Array<ReportResponse>}
2584
+ * @memberof ReportListResponse
2585
+ */
2586
+ 'reports': Array<ReportResponse>;
2587
+ }
2524
2588
  /**
2525
2589
  *
2526
2590
  * @export
@@ -2532,7 +2596,25 @@ export interface ReportResponse {
2532
2596
  * @type {string}
2533
2597
  * @memberof ReportResponse
2534
2598
  */
2535
- 'url': string;
2599
+ 'name': string;
2600
+ /**
2601
+ *
2602
+ * @type {string}
2603
+ * @memberof ReportResponse
2604
+ */
2605
+ 'url'?: string;
2606
+ /**
2607
+ *
2608
+ * @type {string}
2609
+ * @memberof ReportResponse
2610
+ */
2611
+ 'type': string;
2612
+ /**
2613
+ *
2614
+ * @type {string}
2615
+ * @memberof ReportResponse
2616
+ */
2617
+ 'createdAt': string;
2536
2618
  }
2537
2619
  /**
2538
2620
  *
@@ -3248,7 +3330,7 @@ export interface TargetLevel {
3248
3330
  export const TargetMu = {
3249
3331
  Currency: 'currency',
3250
3332
  Product: 'product',
3251
- Additional: 'additional'
3333
+ AdditionalMu: 'additionalMU'
3252
3334
  } as const;
3253
3335
 
3254
3336
  export type TargetMu = typeof TargetMu[keyof typeof TargetMu];
@@ -9566,13 +9648,11 @@ export const ReportApiAxiosParamCreator = function (configuration?: Configuratio
9566
9648
  * Generate a report
9567
9649
  * @summary Generate report
9568
9650
  * @param {string} type Report type
9569
- * @param {string} [startDate] Start date for promotions
9570
- * @param {string} [endDate] End date for promotions
9571
- * @param {string} [referenceID] for reports with type promotion, promotion_expanded and progress, filter by promotion ID
9651
+ * @param {ReportCreationRequest} [reportCreationRequest]
9572
9652
  * @param {*} [options] Override http request option.
9573
9653
  * @throws {RequiredError}
9574
9654
  */
9575
- generateReport: async (type: string, startDate?: string, endDate?: string, referenceID?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
9655
+ generateReport: async (type: string, reportCreationRequest?: ReportCreationRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
9576
9656
  // verify required parameter 'type' is not null or undefined
9577
9657
  assertParamExists('generateReport', 'type', type)
9578
9658
  const localVarPath = `/admin/reports/{type}`
@@ -9584,7 +9664,7 @@ export const ReportApiAxiosParamCreator = function (configuration?: Configuratio
9584
9664
  baseOptions = configuration.baseOptions;
9585
9665
  }
9586
9666
 
9587
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
9667
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
9588
9668
  const localVarHeaderParameter = {} as any;
9589
9669
  const localVarQueryParameter = {} as any;
9590
9670
 
@@ -9592,27 +9672,14 @@ export const ReportApiAxiosParamCreator = function (configuration?: Configuratio
9592
9672
  // http bearer authentication required
9593
9673
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
9594
9674
 
9595
- if (startDate !== undefined) {
9596
- localVarQueryParameter['startDate'] = (startDate as any instanceof Date) ?
9597
- (startDate as any).toISOString() :
9598
- startDate;
9599
- }
9600
-
9601
- if (endDate !== undefined) {
9602
- localVarQueryParameter['endDate'] = (endDate as any instanceof Date) ?
9603
- (endDate as any).toISOString() :
9604
- endDate;
9605
- }
9606
-
9607
- if (referenceID !== undefined) {
9608
- localVarQueryParameter['referenceID'] = referenceID;
9609
- }
9610
-
9611
9675
 
9612
9676
 
9677
+ localVarHeaderParameter['Content-Type'] = 'application/json';
9678
+
9613
9679
  setSearchParams(localVarUrlObj, localVarQueryParameter);
9614
9680
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9615
9681
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9682
+ localVarRequestOptions.data = serializeDataIfNeeded(reportCreationRequest, localVarRequestOptions, configuration)
9616
9683
 
9617
9684
  return {
9618
9685
  url: toPathString(localVarUrlObj),
@@ -9644,6 +9711,44 @@ export const ReportApiAxiosParamCreator = function (configuration?: Configuratio
9644
9711
 
9645
9712
 
9646
9713
 
9714
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9715
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9716
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9717
+
9718
+ return {
9719
+ url: toPathString(localVarUrlObj),
9720
+ options: localVarRequestOptions,
9721
+ };
9722
+ },
9723
+ /**
9724
+ * List all generated reports for type
9725
+ * @summary List reports
9726
+ * @param {string} type Report type
9727
+ * @param {*} [options] Override http request option.
9728
+ * @throws {RequiredError}
9729
+ */
9730
+ listReport: async (type: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
9731
+ // verify required parameter 'type' is not null or undefined
9732
+ assertParamExists('listReport', 'type', type)
9733
+ const localVarPath = `/admin/reports/{type}`
9734
+ .replace(`{${"type"}}`, encodeURIComponent(String(type)));
9735
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9736
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9737
+ let baseOptions;
9738
+ if (configuration) {
9739
+ baseOptions = configuration.baseOptions;
9740
+ }
9741
+
9742
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
9743
+ const localVarHeaderParameter = {} as any;
9744
+ const localVarQueryParameter = {} as any;
9745
+
9746
+ // authentication systemJWT required
9747
+ // http bearer authentication required
9748
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
9749
+
9750
+
9751
+
9647
9752
  setSearchParams(localVarUrlObj, localVarQueryParameter);
9648
9753
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9649
9754
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -9667,14 +9772,12 @@ export const ReportApiFp = function(configuration?: Configuration) {
9667
9772
  * Generate a report
9668
9773
  * @summary Generate report
9669
9774
  * @param {string} type Report type
9670
- * @param {string} [startDate] Start date for promotions
9671
- * @param {string} [endDate] End date for promotions
9672
- * @param {string} [referenceID] for reports with type promotion, promotion_expanded and progress, filter by promotion ID
9775
+ * @param {ReportCreationRequest} [reportCreationRequest]
9673
9776
  * @param {*} [options] Override http request option.
9674
9777
  * @throws {RequiredError}
9675
9778
  */
9676
- async generateReport(type: string, startDate?: string, endDate?: string, referenceID?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportResponse>> {
9677
- const localVarAxiosArgs = await localVarAxiosParamCreator.generateReport(type, startDate, endDate, referenceID, options);
9779
+ async generateReport(type: string, reportCreationRequest?: ReportCreationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportResponse>> {
9780
+ const localVarAxiosArgs = await localVarAxiosParamCreator.generateReport(type, reportCreationRequest, options);
9678
9781
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9679
9782
  },
9680
9783
  /**
@@ -9687,6 +9790,17 @@ export const ReportApiFp = function(configuration?: Configuration) {
9687
9790
  const localVarAxiosArgs = await localVarAxiosParamCreator.getReports(options);
9688
9791
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9689
9792
  },
9793
+ /**
9794
+ * List all generated reports for type
9795
+ * @summary List reports
9796
+ * @param {string} type Report type
9797
+ * @param {*} [options] Override http request option.
9798
+ * @throws {RequiredError}
9799
+ */
9800
+ async listReport(type: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportListResponse>> {
9801
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listReport(type, options);
9802
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9803
+ },
9690
9804
  }
9691
9805
  };
9692
9806
 
@@ -9701,14 +9815,12 @@ export const ReportApiFactory = function (configuration?: Configuration, basePat
9701
9815
  * Generate a report
9702
9816
  * @summary Generate report
9703
9817
  * @param {string} type Report type
9704
- * @param {string} [startDate] Start date for promotions
9705
- * @param {string} [endDate] End date for promotions
9706
- * @param {string} [referenceID] for reports with type promotion, promotion_expanded and progress, filter by promotion ID
9818
+ * @param {ReportCreationRequest} [reportCreationRequest]
9707
9819
  * @param {*} [options] Override http request option.
9708
9820
  * @throws {RequiredError}
9709
9821
  */
9710
- generateReport(type: string, startDate?: string, endDate?: string, referenceID?: string, options?: any): AxiosPromise<ReportResponse> {
9711
- return localVarFp.generateReport(type, startDate, endDate, referenceID, options).then((request) => request(axios, basePath));
9822
+ generateReport(type: string, reportCreationRequest?: ReportCreationRequest, options?: any): AxiosPromise<ReportResponse> {
9823
+ return localVarFp.generateReport(type, reportCreationRequest, options).then((request) => request(axios, basePath));
9712
9824
  },
9713
9825
  /**
9714
9826
  * List of all supported reports
@@ -9719,6 +9831,16 @@ export const ReportApiFactory = function (configuration?: Configuration, basePat
9719
9831
  getReports(options?: any): AxiosPromise<ReportTypesResponse> {
9720
9832
  return localVarFp.getReports(options).then((request) => request(axios, basePath));
9721
9833
  },
9834
+ /**
9835
+ * List all generated reports for type
9836
+ * @summary List reports
9837
+ * @param {string} type Report type
9838
+ * @param {*} [options] Override http request option.
9839
+ * @throws {RequiredError}
9840
+ */
9841
+ listReport(type: string, options?: any): AxiosPromise<ReportListResponse> {
9842
+ return localVarFp.listReport(type, options).then((request) => request(axios, basePath));
9843
+ },
9722
9844
  };
9723
9845
  };
9724
9846
 
@@ -9733,15 +9855,13 @@ export class ReportApi extends BaseAPI {
9733
9855
  * Generate a report
9734
9856
  * @summary Generate report
9735
9857
  * @param {string} type Report type
9736
- * @param {string} [startDate] Start date for promotions
9737
- * @param {string} [endDate] End date for promotions
9738
- * @param {string} [referenceID] for reports with type promotion, promotion_expanded and progress, filter by promotion ID
9858
+ * @param {ReportCreationRequest} [reportCreationRequest]
9739
9859
  * @param {*} [options] Override http request option.
9740
9860
  * @throws {RequiredError}
9741
9861
  * @memberof ReportApi
9742
9862
  */
9743
- public generateReport(type: string, startDate?: string, endDate?: string, referenceID?: string, options?: AxiosRequestConfig) {
9744
- return ReportApiFp(this.configuration).generateReport(type, startDate, endDate, referenceID, options).then((request) => request(this.axios, this.basePath));
9863
+ public generateReport(type: string, reportCreationRequest?: ReportCreationRequest, options?: AxiosRequestConfig) {
9864
+ return ReportApiFp(this.configuration).generateReport(type, reportCreationRequest, options).then((request) => request(this.axios, this.basePath));
9745
9865
  }
9746
9866
 
9747
9867
  /**
@@ -9754,6 +9874,18 @@ export class ReportApi extends BaseAPI {
9754
9874
  public getReports(options?: AxiosRequestConfig) {
9755
9875
  return ReportApiFp(this.configuration).getReports(options).then((request) => request(this.axios, this.basePath));
9756
9876
  }
9877
+
9878
+ /**
9879
+ * List all generated reports for type
9880
+ * @summary List reports
9881
+ * @param {string} type Report type
9882
+ * @param {*} [options] Override http request option.
9883
+ * @throws {RequiredError}
9884
+ * @memberof ReportApi
9885
+ */
9886
+ public listReport(type: string, options?: AxiosRequestConfig) {
9887
+ return ReportApiFp(this.configuration).listReport(type, options).then((request) => request(this.axios, this.basePath));
9888
+ }
9757
9889
  }
9758
9890
 
9759
9891
 
package/dist/api.d.ts CHANGED
@@ -1033,6 +1033,12 @@ export interface Notification {
1033
1033
  * @memberof Notification
1034
1034
  */
1035
1035
  'references'?: Array<NotificationReferencesInner>;
1036
+ /**
1037
+ *
1038
+ * @type {User}
1039
+ * @memberof Notification
1040
+ */
1041
+ 'user'?: User;
1036
1042
  }
1037
1043
  /**
1038
1044
  *
@@ -1070,6 +1076,7 @@ export declare const NotificationKind: {
1070
1076
  readonly ExpiryReminder: "expiry_reminder";
1071
1077
  readonly OrderConfirmation: "order_confirmation";
1072
1078
  readonly ProductRequestResponse: "product_request_response";
1079
+ readonly ProductRequest: "product_request";
1073
1080
  };
1074
1081
  export type NotificationKind = typeof NotificationKind[keyof typeof NotificationKind];
1075
1082
  /**
@@ -2105,6 +2112,12 @@ export interface Promotion {
2105
2112
  * @memberof Promotion
2106
2113
  */
2107
2114
  'notificationConfig': PromotionNotificationConfig;
2115
+ /**
2116
+ *
2117
+ * @type {PromotionStatus}
2118
+ * @memberof Promotion
2119
+ */
2120
+ 'status'?: PromotionStatus;
2108
2121
  }
2109
2122
  /**
2110
2123
  * @type PromotionBeneficiariesResponse
@@ -2325,6 +2338,15 @@ export declare const PromotionSortByField: {
2325
2338
  readonly EndsAt: "endsAt";
2326
2339
  };
2327
2340
  export type PromotionSortByField = typeof PromotionSortByField[keyof typeof PromotionSortByField];
2341
+ /**
2342
+ *
2343
+ * @export
2344
+ * @enum {string}
2345
+ */
2346
+ export declare const PromotionStatus: {
2347
+ readonly Pending: "pending";
2348
+ };
2349
+ export type PromotionStatus = typeof PromotionStatus[keyof typeof PromotionStatus];
2328
2350
  /**
2329
2351
  *
2330
2352
  * @export
@@ -2390,6 +2412,44 @@ export declare const Repetition: {
2390
2412
  readonly Monthly: "monthly";
2391
2413
  };
2392
2414
  export type Repetition = typeof Repetition[keyof typeof Repetition];
2415
+ /**
2416
+ *
2417
+ * @export
2418
+ * @interface ReportCreationRequest
2419
+ */
2420
+ export interface ReportCreationRequest {
2421
+ /**
2422
+ *
2423
+ * @type {string}
2424
+ * @memberof ReportCreationRequest
2425
+ */
2426
+ 'startDate'?: string;
2427
+ /**
2428
+ *
2429
+ * @type {string}
2430
+ * @memberof ReportCreationRequest
2431
+ */
2432
+ 'endDate'?: string;
2433
+ /**
2434
+ *
2435
+ * @type {string}
2436
+ * @memberof ReportCreationRequest
2437
+ */
2438
+ 'referenceID'?: string;
2439
+ }
2440
+ /**
2441
+ *
2442
+ * @export
2443
+ * @interface ReportListResponse
2444
+ */
2445
+ export interface ReportListResponse {
2446
+ /**
2447
+ *
2448
+ * @type {Array<ReportResponse>}
2449
+ * @memberof ReportListResponse
2450
+ */
2451
+ 'reports': Array<ReportResponse>;
2452
+ }
2393
2453
  /**
2394
2454
  *
2395
2455
  * @export
@@ -2401,7 +2461,25 @@ export interface ReportResponse {
2401
2461
  * @type {string}
2402
2462
  * @memberof ReportResponse
2403
2463
  */
2404
- 'url': string;
2464
+ 'name': string;
2465
+ /**
2466
+ *
2467
+ * @type {string}
2468
+ * @memberof ReportResponse
2469
+ */
2470
+ 'url'?: string;
2471
+ /**
2472
+ *
2473
+ * @type {string}
2474
+ * @memberof ReportResponse
2475
+ */
2476
+ 'type': string;
2477
+ /**
2478
+ *
2479
+ * @type {string}
2480
+ * @memberof ReportResponse
2481
+ */
2482
+ 'createdAt': string;
2405
2483
  }
2406
2484
  /**
2407
2485
  *
@@ -3081,7 +3159,7 @@ export interface TargetLevel {
3081
3159
  export declare const TargetMu: {
3082
3160
  readonly Currency: "currency";
3083
3161
  readonly Product: "product";
3084
- readonly Additional: "additional";
3162
+ readonly AdditionalMu: "additionalMU";
3085
3163
  };
3086
3164
  export type TargetMu = typeof TargetMu[keyof typeof TargetMu];
3087
3165
  /**
@@ -6505,13 +6583,11 @@ export declare const ReportApiAxiosParamCreator: (configuration?: Configuration)
6505
6583
  * Generate a report
6506
6584
  * @summary Generate report
6507
6585
  * @param {string} type Report type
6508
- * @param {string} [startDate] Start date for promotions
6509
- * @param {string} [endDate] End date for promotions
6510
- * @param {string} [referenceID] for reports with type promotion, promotion_expanded and progress, filter by promotion ID
6586
+ * @param {ReportCreationRequest} [reportCreationRequest]
6511
6587
  * @param {*} [options] Override http request option.
6512
6588
  * @throws {RequiredError}
6513
6589
  */
6514
- generateReport: (type: string, startDate?: string, endDate?: string, referenceID?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6590
+ generateReport: (type: string, reportCreationRequest?: ReportCreationRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6515
6591
  /**
6516
6592
  * List of all supported reports
6517
6593
  * @summary Get report types
@@ -6519,6 +6595,14 @@ export declare const ReportApiAxiosParamCreator: (configuration?: Configuration)
6519
6595
  * @throws {RequiredError}
6520
6596
  */
6521
6597
  getReports: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
6598
+ /**
6599
+ * List all generated reports for type
6600
+ * @summary List reports
6601
+ * @param {string} type Report type
6602
+ * @param {*} [options] Override http request option.
6603
+ * @throws {RequiredError}
6604
+ */
6605
+ listReport: (type: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6522
6606
  };
6523
6607
  /**
6524
6608
  * ReportApi - functional programming interface
@@ -6529,13 +6613,11 @@ export declare const ReportApiFp: (configuration?: Configuration) => {
6529
6613
  * Generate a report
6530
6614
  * @summary Generate report
6531
6615
  * @param {string} type Report type
6532
- * @param {string} [startDate] Start date for promotions
6533
- * @param {string} [endDate] End date for promotions
6534
- * @param {string} [referenceID] for reports with type promotion, promotion_expanded and progress, filter by promotion ID
6616
+ * @param {ReportCreationRequest} [reportCreationRequest]
6535
6617
  * @param {*} [options] Override http request option.
6536
6618
  * @throws {RequiredError}
6537
6619
  */
6538
- generateReport(type: string, startDate?: string, endDate?: string, referenceID?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportResponse>>;
6620
+ generateReport(type: string, reportCreationRequest?: ReportCreationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportResponse>>;
6539
6621
  /**
6540
6622
  * List of all supported reports
6541
6623
  * @summary Get report types
@@ -6543,6 +6625,14 @@ export declare const ReportApiFp: (configuration?: Configuration) => {
6543
6625
  * @throws {RequiredError}
6544
6626
  */
6545
6627
  getReports(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportTypesResponse>>;
6628
+ /**
6629
+ * List all generated reports for type
6630
+ * @summary List reports
6631
+ * @param {string} type Report type
6632
+ * @param {*} [options] Override http request option.
6633
+ * @throws {RequiredError}
6634
+ */
6635
+ listReport(type: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportListResponse>>;
6546
6636
  };
6547
6637
  /**
6548
6638
  * ReportApi - factory interface
@@ -6553,13 +6643,11 @@ export declare const ReportApiFactory: (configuration?: Configuration, basePath?
6553
6643
  * Generate a report
6554
6644
  * @summary Generate report
6555
6645
  * @param {string} type Report type
6556
- * @param {string} [startDate] Start date for promotions
6557
- * @param {string} [endDate] End date for promotions
6558
- * @param {string} [referenceID] for reports with type promotion, promotion_expanded and progress, filter by promotion ID
6646
+ * @param {ReportCreationRequest} [reportCreationRequest]
6559
6647
  * @param {*} [options] Override http request option.
6560
6648
  * @throws {RequiredError}
6561
6649
  */
6562
- generateReport(type: string, startDate?: string, endDate?: string, referenceID?: string, options?: any): AxiosPromise<ReportResponse>;
6650
+ generateReport(type: string, reportCreationRequest?: ReportCreationRequest, options?: any): AxiosPromise<ReportResponse>;
6563
6651
  /**
6564
6652
  * List of all supported reports
6565
6653
  * @summary Get report types
@@ -6567,6 +6655,14 @@ export declare const ReportApiFactory: (configuration?: Configuration, basePath?
6567
6655
  * @throws {RequiredError}
6568
6656
  */
6569
6657
  getReports(options?: any): AxiosPromise<ReportTypesResponse>;
6658
+ /**
6659
+ * List all generated reports for type
6660
+ * @summary List reports
6661
+ * @param {string} type Report type
6662
+ * @param {*} [options] Override http request option.
6663
+ * @throws {RequiredError}
6664
+ */
6665
+ listReport(type: string, options?: any): AxiosPromise<ReportListResponse>;
6570
6666
  };
6571
6667
  /**
6572
6668
  * ReportApi - object-oriented interface
@@ -6579,14 +6675,12 @@ export declare class ReportApi extends BaseAPI {
6579
6675
  * Generate a report
6580
6676
  * @summary Generate report
6581
6677
  * @param {string} type Report type
6582
- * @param {string} [startDate] Start date for promotions
6583
- * @param {string} [endDate] End date for promotions
6584
- * @param {string} [referenceID] for reports with type promotion, promotion_expanded and progress, filter by promotion ID
6678
+ * @param {ReportCreationRequest} [reportCreationRequest]
6585
6679
  * @param {*} [options] Override http request option.
6586
6680
  * @throws {RequiredError}
6587
6681
  * @memberof ReportApi
6588
6682
  */
6589
- generateReport(type: string, startDate?: string, endDate?: string, referenceID?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReportResponse, any>>;
6683
+ generateReport(type: string, reportCreationRequest?: ReportCreationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReportResponse, any>>;
6590
6684
  /**
6591
6685
  * List of all supported reports
6592
6686
  * @summary Get report types
@@ -6595,6 +6689,15 @@ export declare class ReportApi extends BaseAPI {
6595
6689
  * @memberof ReportApi
6596
6690
  */
6597
6691
  getReports(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReportTypesResponse, any>>;
6692
+ /**
6693
+ * List all generated reports for type
6694
+ * @summary List reports
6695
+ * @param {string} type Report type
6696
+ * @param {*} [options] Override http request option.
6697
+ * @throws {RequiredError}
6698
+ * @memberof ReportApi
6699
+ */
6700
+ listReport(type: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReportListResponse, any>>;
6598
6701
  }
6599
6702
  /**
6600
6703
  * SegmentApi - 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.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.ReportTypesResponseTypesEnum = 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.ReportApi = exports.ReportApiFactory = exports.ReportApiFp = exports.ReportApiAxiosParamCreator = 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 = exports.BulkApiFactory = 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 = exports.TagApiAxiosParamCreator = exports.SegmentApi = exports.SegmentApiFactory = exports.SegmentApiFp = exports.SegmentApiAxiosParamCreator = void 0;
25
+ 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.ReportTypesResponseTypesEnum = exports.Repetition = exports.PromotionType = exports.PromotionStatus = 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.ReportApiFactory = exports.ReportApiFp = exports.ReportApiAxiosParamCreator = 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 = exports.BulkApiFactory = exports.BulkApiFp = 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 = exports.TagApiAxiosParamCreator = exports.SegmentApi = exports.SegmentApiFactory = exports.SegmentApiFp = exports.SegmentApiAxiosParamCreator = exports.ReportApi = void 0;
28
28
  const axios_1 = require("axios");
29
29
  // Some imports not used depending on template conditions
30
30
  // @ts-ignore
@@ -136,7 +136,8 @@ exports.NotificationKind = {
136
136
  NewProduct: 'new_product',
137
137
  ExpiryReminder: 'expiry_reminder',
138
138
  OrderConfirmation: 'order_confirmation',
139
- ProductRequestResponse: 'product_request_response'
139
+ ProductRequestResponse: 'product_request_response',
140
+ ProductRequest: 'product_request'
140
141
  };
141
142
  /**
142
143
  *
@@ -241,6 +242,14 @@ exports.PromotionSortByField = {
241
242
  StartsAt: 'startsAt',
242
243
  EndsAt: 'endsAt'
243
244
  };
245
+ /**
246
+ *
247
+ * @export
248
+ * @enum {string}
249
+ */
250
+ exports.PromotionStatus = {
251
+ Pending: 'pending'
252
+ };
244
253
  /**
245
254
  *
246
255
  * @export
@@ -331,7 +340,7 @@ exports.TagValidatorType = {
331
340
  exports.TargetMu = {
332
341
  Currency: 'currency',
333
342
  Product: 'product',
334
- Additional: 'additional'
343
+ AdditionalMu: 'additionalMU'
335
344
  };
336
345
  /**
337
346
  *
@@ -5516,13 +5525,11 @@ const ReportApiAxiosParamCreator = function (configuration) {
5516
5525
  * Generate a report
5517
5526
  * @summary Generate report
5518
5527
  * @param {string} type Report type
5519
- * @param {string} [startDate] Start date for promotions
5520
- * @param {string} [endDate] End date for promotions
5521
- * @param {string} [referenceID] for reports with type promotion, promotion_expanded and progress, filter by promotion ID
5528
+ * @param {ReportCreationRequest} [reportCreationRequest]
5522
5529
  * @param {*} [options] Override http request option.
5523
5530
  * @throws {RequiredError}
5524
5531
  */
5525
- generateReport: (type, startDate, endDate, referenceID, options = {}) => __awaiter(this, void 0, void 0, function* () {
5532
+ generateReport: (type, reportCreationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
5526
5533
  // verify required parameter 'type' is not null or undefined
5527
5534
  (0, common_1.assertParamExists)('generateReport', 'type', type);
5528
5535
  const localVarPath = `/admin/reports/{type}`
@@ -5533,28 +5540,17 @@ const ReportApiAxiosParamCreator = function (configuration) {
5533
5540
  if (configuration) {
5534
5541
  baseOptions = configuration.baseOptions;
5535
5542
  }
5536
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
5543
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
5537
5544
  const localVarHeaderParameter = {};
5538
5545
  const localVarQueryParameter = {};
5539
5546
  // authentication systemJWT required
5540
5547
  // http bearer authentication required
5541
5548
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
5542
- if (startDate !== undefined) {
5543
- localVarQueryParameter['startDate'] = (startDate instanceof Date) ?
5544
- startDate.toISOString() :
5545
- startDate;
5546
- }
5547
- if (endDate !== undefined) {
5548
- localVarQueryParameter['endDate'] = (endDate instanceof Date) ?
5549
- endDate.toISOString() :
5550
- endDate;
5551
- }
5552
- if (referenceID !== undefined) {
5553
- localVarQueryParameter['referenceID'] = referenceID;
5554
- }
5549
+ localVarHeaderParameter['Content-Type'] = 'application/json';
5555
5550
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
5556
5551
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5557
5552
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5553
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(reportCreationRequest, localVarRequestOptions, configuration);
5558
5554
  return {
5559
5555
  url: (0, common_1.toPathString)(localVarUrlObj),
5560
5556
  options: localVarRequestOptions,
@@ -5588,6 +5584,38 @@ const ReportApiAxiosParamCreator = function (configuration) {
5588
5584
  options: localVarRequestOptions,
5589
5585
  };
5590
5586
  }),
5587
+ /**
5588
+ * List all generated reports for type
5589
+ * @summary List reports
5590
+ * @param {string} type Report type
5591
+ * @param {*} [options] Override http request option.
5592
+ * @throws {RequiredError}
5593
+ */
5594
+ listReport: (type, options = {}) => __awaiter(this, void 0, void 0, function* () {
5595
+ // verify required parameter 'type' is not null or undefined
5596
+ (0, common_1.assertParamExists)('listReport', 'type', type);
5597
+ const localVarPath = `/admin/reports/{type}`
5598
+ .replace(`{${"type"}}`, encodeURIComponent(String(type)));
5599
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5600
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
5601
+ let baseOptions;
5602
+ if (configuration) {
5603
+ baseOptions = configuration.baseOptions;
5604
+ }
5605
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
5606
+ const localVarHeaderParameter = {};
5607
+ const localVarQueryParameter = {};
5608
+ // authentication systemJWT required
5609
+ // http bearer authentication required
5610
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
5611
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
5612
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5613
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5614
+ return {
5615
+ url: (0, common_1.toPathString)(localVarUrlObj),
5616
+ options: localVarRequestOptions,
5617
+ };
5618
+ }),
5591
5619
  };
5592
5620
  };
5593
5621
  exports.ReportApiAxiosParamCreator = ReportApiAxiosParamCreator;
@@ -5602,15 +5630,13 @@ const ReportApiFp = function (configuration) {
5602
5630
  * Generate a report
5603
5631
  * @summary Generate report
5604
5632
  * @param {string} type Report type
5605
- * @param {string} [startDate] Start date for promotions
5606
- * @param {string} [endDate] End date for promotions
5607
- * @param {string} [referenceID] for reports with type promotion, promotion_expanded and progress, filter by promotion ID
5633
+ * @param {ReportCreationRequest} [reportCreationRequest]
5608
5634
  * @param {*} [options] Override http request option.
5609
5635
  * @throws {RequiredError}
5610
5636
  */
5611
- generateReport(type, startDate, endDate, referenceID, options) {
5637
+ generateReport(type, reportCreationRequest, options) {
5612
5638
  return __awaiter(this, void 0, void 0, function* () {
5613
- const localVarAxiosArgs = yield localVarAxiosParamCreator.generateReport(type, startDate, endDate, referenceID, options);
5639
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.generateReport(type, reportCreationRequest, options);
5614
5640
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
5615
5641
  });
5616
5642
  },
@@ -5626,6 +5652,19 @@ const ReportApiFp = function (configuration) {
5626
5652
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
5627
5653
  });
5628
5654
  },
5655
+ /**
5656
+ * List all generated reports for type
5657
+ * @summary List reports
5658
+ * @param {string} type Report type
5659
+ * @param {*} [options] Override http request option.
5660
+ * @throws {RequiredError}
5661
+ */
5662
+ listReport(type, options) {
5663
+ return __awaiter(this, void 0, void 0, function* () {
5664
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listReport(type, options);
5665
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
5666
+ });
5667
+ },
5629
5668
  };
5630
5669
  };
5631
5670
  exports.ReportApiFp = ReportApiFp;
@@ -5640,14 +5679,12 @@ const ReportApiFactory = function (configuration, basePath, axios) {
5640
5679
  * Generate a report
5641
5680
  * @summary Generate report
5642
5681
  * @param {string} type Report type
5643
- * @param {string} [startDate] Start date for promotions
5644
- * @param {string} [endDate] End date for promotions
5645
- * @param {string} [referenceID] for reports with type promotion, promotion_expanded and progress, filter by promotion ID
5682
+ * @param {ReportCreationRequest} [reportCreationRequest]
5646
5683
  * @param {*} [options] Override http request option.
5647
5684
  * @throws {RequiredError}
5648
5685
  */
5649
- generateReport(type, startDate, endDate, referenceID, options) {
5650
- return localVarFp.generateReport(type, startDate, endDate, referenceID, options).then((request) => request(axios, basePath));
5686
+ generateReport(type, reportCreationRequest, options) {
5687
+ return localVarFp.generateReport(type, reportCreationRequest, options).then((request) => request(axios, basePath));
5651
5688
  },
5652
5689
  /**
5653
5690
  * List of all supported reports
@@ -5658,6 +5695,16 @@ const ReportApiFactory = function (configuration, basePath, axios) {
5658
5695
  getReports(options) {
5659
5696
  return localVarFp.getReports(options).then((request) => request(axios, basePath));
5660
5697
  },
5698
+ /**
5699
+ * List all generated reports for type
5700
+ * @summary List reports
5701
+ * @param {string} type Report type
5702
+ * @param {*} [options] Override http request option.
5703
+ * @throws {RequiredError}
5704
+ */
5705
+ listReport(type, options) {
5706
+ return localVarFp.listReport(type, options).then((request) => request(axios, basePath));
5707
+ },
5661
5708
  };
5662
5709
  };
5663
5710
  exports.ReportApiFactory = ReportApiFactory;
@@ -5672,15 +5719,13 @@ class ReportApi extends base_1.BaseAPI {
5672
5719
  * Generate a report
5673
5720
  * @summary Generate report
5674
5721
  * @param {string} type Report type
5675
- * @param {string} [startDate] Start date for promotions
5676
- * @param {string} [endDate] End date for promotions
5677
- * @param {string} [referenceID] for reports with type promotion, promotion_expanded and progress, filter by promotion ID
5722
+ * @param {ReportCreationRequest} [reportCreationRequest]
5678
5723
  * @param {*} [options] Override http request option.
5679
5724
  * @throws {RequiredError}
5680
5725
  * @memberof ReportApi
5681
5726
  */
5682
- generateReport(type, startDate, endDate, referenceID, options) {
5683
- return (0, exports.ReportApiFp)(this.configuration).generateReport(type, startDate, endDate, referenceID, options).then((request) => request(this.axios, this.basePath));
5727
+ generateReport(type, reportCreationRequest, options) {
5728
+ return (0, exports.ReportApiFp)(this.configuration).generateReport(type, reportCreationRequest, options).then((request) => request(this.axios, this.basePath));
5684
5729
  }
5685
5730
  /**
5686
5731
  * List of all supported reports
@@ -5692,6 +5737,17 @@ class ReportApi extends base_1.BaseAPI {
5692
5737
  getReports(options) {
5693
5738
  return (0, exports.ReportApiFp)(this.configuration).getReports(options).then((request) => request(this.axios, this.basePath));
5694
5739
  }
5740
+ /**
5741
+ * List all generated reports for type
5742
+ * @summary List reports
5743
+ * @param {string} type Report type
5744
+ * @param {*} [options] Override http request option.
5745
+ * @throws {RequiredError}
5746
+ * @memberof ReportApi
5747
+ */
5748
+ listReport(type, options) {
5749
+ return (0, exports.ReportApiFp)(this.configuration).listReport(type, options).then((request) => request(this.axios, this.basePath));
5750
+ }
5695
5751
  }
5696
5752
  exports.ReportApi = ReportApi;
5697
5753
  /**
package/dist/esm/api.d.ts CHANGED
@@ -1033,6 +1033,12 @@ export interface Notification {
1033
1033
  * @memberof Notification
1034
1034
  */
1035
1035
  'references'?: Array<NotificationReferencesInner>;
1036
+ /**
1037
+ *
1038
+ * @type {User}
1039
+ * @memberof Notification
1040
+ */
1041
+ 'user'?: User;
1036
1042
  }
1037
1043
  /**
1038
1044
  *
@@ -1070,6 +1076,7 @@ export declare const NotificationKind: {
1070
1076
  readonly ExpiryReminder: "expiry_reminder";
1071
1077
  readonly OrderConfirmation: "order_confirmation";
1072
1078
  readonly ProductRequestResponse: "product_request_response";
1079
+ readonly ProductRequest: "product_request";
1073
1080
  };
1074
1081
  export type NotificationKind = typeof NotificationKind[keyof typeof NotificationKind];
1075
1082
  /**
@@ -2105,6 +2112,12 @@ export interface Promotion {
2105
2112
  * @memberof Promotion
2106
2113
  */
2107
2114
  'notificationConfig': PromotionNotificationConfig;
2115
+ /**
2116
+ *
2117
+ * @type {PromotionStatus}
2118
+ * @memberof Promotion
2119
+ */
2120
+ 'status'?: PromotionStatus;
2108
2121
  }
2109
2122
  /**
2110
2123
  * @type PromotionBeneficiariesResponse
@@ -2325,6 +2338,15 @@ export declare const PromotionSortByField: {
2325
2338
  readonly EndsAt: "endsAt";
2326
2339
  };
2327
2340
  export type PromotionSortByField = typeof PromotionSortByField[keyof typeof PromotionSortByField];
2341
+ /**
2342
+ *
2343
+ * @export
2344
+ * @enum {string}
2345
+ */
2346
+ export declare const PromotionStatus: {
2347
+ readonly Pending: "pending";
2348
+ };
2349
+ export type PromotionStatus = typeof PromotionStatus[keyof typeof PromotionStatus];
2328
2350
  /**
2329
2351
  *
2330
2352
  * @export
@@ -2390,6 +2412,44 @@ export declare const Repetition: {
2390
2412
  readonly Monthly: "monthly";
2391
2413
  };
2392
2414
  export type Repetition = typeof Repetition[keyof typeof Repetition];
2415
+ /**
2416
+ *
2417
+ * @export
2418
+ * @interface ReportCreationRequest
2419
+ */
2420
+ export interface ReportCreationRequest {
2421
+ /**
2422
+ *
2423
+ * @type {string}
2424
+ * @memberof ReportCreationRequest
2425
+ */
2426
+ 'startDate'?: string;
2427
+ /**
2428
+ *
2429
+ * @type {string}
2430
+ * @memberof ReportCreationRequest
2431
+ */
2432
+ 'endDate'?: string;
2433
+ /**
2434
+ *
2435
+ * @type {string}
2436
+ * @memberof ReportCreationRequest
2437
+ */
2438
+ 'referenceID'?: string;
2439
+ }
2440
+ /**
2441
+ *
2442
+ * @export
2443
+ * @interface ReportListResponse
2444
+ */
2445
+ export interface ReportListResponse {
2446
+ /**
2447
+ *
2448
+ * @type {Array<ReportResponse>}
2449
+ * @memberof ReportListResponse
2450
+ */
2451
+ 'reports': Array<ReportResponse>;
2452
+ }
2393
2453
  /**
2394
2454
  *
2395
2455
  * @export
@@ -2401,7 +2461,25 @@ export interface ReportResponse {
2401
2461
  * @type {string}
2402
2462
  * @memberof ReportResponse
2403
2463
  */
2404
- 'url': string;
2464
+ 'name': string;
2465
+ /**
2466
+ *
2467
+ * @type {string}
2468
+ * @memberof ReportResponse
2469
+ */
2470
+ 'url'?: string;
2471
+ /**
2472
+ *
2473
+ * @type {string}
2474
+ * @memberof ReportResponse
2475
+ */
2476
+ 'type': string;
2477
+ /**
2478
+ *
2479
+ * @type {string}
2480
+ * @memberof ReportResponse
2481
+ */
2482
+ 'createdAt': string;
2405
2483
  }
2406
2484
  /**
2407
2485
  *
@@ -3081,7 +3159,7 @@ export interface TargetLevel {
3081
3159
  export declare const TargetMu: {
3082
3160
  readonly Currency: "currency";
3083
3161
  readonly Product: "product";
3084
- readonly Additional: "additional";
3162
+ readonly AdditionalMu: "additionalMU";
3085
3163
  };
3086
3164
  export type TargetMu = typeof TargetMu[keyof typeof TargetMu];
3087
3165
  /**
@@ -6505,13 +6583,11 @@ export declare const ReportApiAxiosParamCreator: (configuration?: Configuration)
6505
6583
  * Generate a report
6506
6584
  * @summary Generate report
6507
6585
  * @param {string} type Report type
6508
- * @param {string} [startDate] Start date for promotions
6509
- * @param {string} [endDate] End date for promotions
6510
- * @param {string} [referenceID] for reports with type promotion, promotion_expanded and progress, filter by promotion ID
6586
+ * @param {ReportCreationRequest} [reportCreationRequest]
6511
6587
  * @param {*} [options] Override http request option.
6512
6588
  * @throws {RequiredError}
6513
6589
  */
6514
- generateReport: (type: string, startDate?: string, endDate?: string, referenceID?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6590
+ generateReport: (type: string, reportCreationRequest?: ReportCreationRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6515
6591
  /**
6516
6592
  * List of all supported reports
6517
6593
  * @summary Get report types
@@ -6519,6 +6595,14 @@ export declare const ReportApiAxiosParamCreator: (configuration?: Configuration)
6519
6595
  * @throws {RequiredError}
6520
6596
  */
6521
6597
  getReports: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
6598
+ /**
6599
+ * List all generated reports for type
6600
+ * @summary List reports
6601
+ * @param {string} type Report type
6602
+ * @param {*} [options] Override http request option.
6603
+ * @throws {RequiredError}
6604
+ */
6605
+ listReport: (type: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6522
6606
  };
6523
6607
  /**
6524
6608
  * ReportApi - functional programming interface
@@ -6529,13 +6613,11 @@ export declare const ReportApiFp: (configuration?: Configuration) => {
6529
6613
  * Generate a report
6530
6614
  * @summary Generate report
6531
6615
  * @param {string} type Report type
6532
- * @param {string} [startDate] Start date for promotions
6533
- * @param {string} [endDate] End date for promotions
6534
- * @param {string} [referenceID] for reports with type promotion, promotion_expanded and progress, filter by promotion ID
6616
+ * @param {ReportCreationRequest} [reportCreationRequest]
6535
6617
  * @param {*} [options] Override http request option.
6536
6618
  * @throws {RequiredError}
6537
6619
  */
6538
- generateReport(type: string, startDate?: string, endDate?: string, referenceID?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportResponse>>;
6620
+ generateReport(type: string, reportCreationRequest?: ReportCreationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportResponse>>;
6539
6621
  /**
6540
6622
  * List of all supported reports
6541
6623
  * @summary Get report types
@@ -6543,6 +6625,14 @@ export declare const ReportApiFp: (configuration?: Configuration) => {
6543
6625
  * @throws {RequiredError}
6544
6626
  */
6545
6627
  getReports(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportTypesResponse>>;
6628
+ /**
6629
+ * List all generated reports for type
6630
+ * @summary List reports
6631
+ * @param {string} type Report type
6632
+ * @param {*} [options] Override http request option.
6633
+ * @throws {RequiredError}
6634
+ */
6635
+ listReport(type: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportListResponse>>;
6546
6636
  };
6547
6637
  /**
6548
6638
  * ReportApi - factory interface
@@ -6553,13 +6643,11 @@ export declare const ReportApiFactory: (configuration?: Configuration, basePath?
6553
6643
  * Generate a report
6554
6644
  * @summary Generate report
6555
6645
  * @param {string} type Report type
6556
- * @param {string} [startDate] Start date for promotions
6557
- * @param {string} [endDate] End date for promotions
6558
- * @param {string} [referenceID] for reports with type promotion, promotion_expanded and progress, filter by promotion ID
6646
+ * @param {ReportCreationRequest} [reportCreationRequest]
6559
6647
  * @param {*} [options] Override http request option.
6560
6648
  * @throws {RequiredError}
6561
6649
  */
6562
- generateReport(type: string, startDate?: string, endDate?: string, referenceID?: string, options?: any): AxiosPromise<ReportResponse>;
6650
+ generateReport(type: string, reportCreationRequest?: ReportCreationRequest, options?: any): AxiosPromise<ReportResponse>;
6563
6651
  /**
6564
6652
  * List of all supported reports
6565
6653
  * @summary Get report types
@@ -6567,6 +6655,14 @@ export declare const ReportApiFactory: (configuration?: Configuration, basePath?
6567
6655
  * @throws {RequiredError}
6568
6656
  */
6569
6657
  getReports(options?: any): AxiosPromise<ReportTypesResponse>;
6658
+ /**
6659
+ * List all generated reports for type
6660
+ * @summary List reports
6661
+ * @param {string} type Report type
6662
+ * @param {*} [options] Override http request option.
6663
+ * @throws {RequiredError}
6664
+ */
6665
+ listReport(type: string, options?: any): AxiosPromise<ReportListResponse>;
6570
6666
  };
6571
6667
  /**
6572
6668
  * ReportApi - object-oriented interface
@@ -6579,14 +6675,12 @@ export declare class ReportApi extends BaseAPI {
6579
6675
  * Generate a report
6580
6676
  * @summary Generate report
6581
6677
  * @param {string} type Report type
6582
- * @param {string} [startDate] Start date for promotions
6583
- * @param {string} [endDate] End date for promotions
6584
- * @param {string} [referenceID] for reports with type promotion, promotion_expanded and progress, filter by promotion ID
6678
+ * @param {ReportCreationRequest} [reportCreationRequest]
6585
6679
  * @param {*} [options] Override http request option.
6586
6680
  * @throws {RequiredError}
6587
6681
  * @memberof ReportApi
6588
6682
  */
6589
- generateReport(type: string, startDate?: string, endDate?: string, referenceID?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReportResponse, any>>;
6683
+ generateReport(type: string, reportCreationRequest?: ReportCreationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReportResponse, any>>;
6590
6684
  /**
6591
6685
  * List of all supported reports
6592
6686
  * @summary Get report types
@@ -6595,6 +6689,15 @@ export declare class ReportApi extends BaseAPI {
6595
6689
  * @memberof ReportApi
6596
6690
  */
6597
6691
  getReports(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReportTypesResponse, any>>;
6692
+ /**
6693
+ * List all generated reports for type
6694
+ * @summary List reports
6695
+ * @param {string} type Report type
6696
+ * @param {*} [options] Override http request option.
6697
+ * @throws {RequiredError}
6698
+ * @memberof ReportApi
6699
+ */
6700
+ listReport(type: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReportListResponse, any>>;
6598
6701
  }
6599
6702
  /**
6600
6703
  * SegmentApi - axios parameter creator
package/dist/esm/api.js CHANGED
@@ -131,7 +131,8 @@ export const NotificationKind = {
131
131
  NewProduct: 'new_product',
132
132
  ExpiryReminder: 'expiry_reminder',
133
133
  OrderConfirmation: 'order_confirmation',
134
- ProductRequestResponse: 'product_request_response'
134
+ ProductRequestResponse: 'product_request_response',
135
+ ProductRequest: 'product_request'
135
136
  };
136
137
  /**
137
138
  *
@@ -236,6 +237,14 @@ export const PromotionSortByField = {
236
237
  StartsAt: 'startsAt',
237
238
  EndsAt: 'endsAt'
238
239
  };
240
+ /**
241
+ *
242
+ * @export
243
+ * @enum {string}
244
+ */
245
+ export const PromotionStatus = {
246
+ Pending: 'pending'
247
+ };
239
248
  /**
240
249
  *
241
250
  * @export
@@ -326,7 +335,7 @@ export const TagValidatorType = {
326
335
  export const TargetMu = {
327
336
  Currency: 'currency',
328
337
  Product: 'product',
329
- Additional: 'additional'
338
+ AdditionalMu: 'additionalMU'
330
339
  };
331
340
  /**
332
341
  *
@@ -5455,13 +5464,11 @@ export const ReportApiAxiosParamCreator = function (configuration) {
5455
5464
  * Generate a report
5456
5465
  * @summary Generate report
5457
5466
  * @param {string} type Report type
5458
- * @param {string} [startDate] Start date for promotions
5459
- * @param {string} [endDate] End date for promotions
5460
- * @param {string} [referenceID] for reports with type promotion, promotion_expanded and progress, filter by promotion ID
5467
+ * @param {ReportCreationRequest} [reportCreationRequest]
5461
5468
  * @param {*} [options] Override http request option.
5462
5469
  * @throws {RequiredError}
5463
5470
  */
5464
- generateReport: (type, startDate, endDate, referenceID, options = {}) => __awaiter(this, void 0, void 0, function* () {
5471
+ generateReport: (type, reportCreationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
5465
5472
  // verify required parameter 'type' is not null or undefined
5466
5473
  assertParamExists('generateReport', 'type', type);
5467
5474
  const localVarPath = `/admin/reports/{type}`
@@ -5472,28 +5479,17 @@ export const ReportApiAxiosParamCreator = function (configuration) {
5472
5479
  if (configuration) {
5473
5480
  baseOptions = configuration.baseOptions;
5474
5481
  }
5475
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
5482
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
5476
5483
  const localVarHeaderParameter = {};
5477
5484
  const localVarQueryParameter = {};
5478
5485
  // authentication systemJWT required
5479
5486
  // http bearer authentication required
5480
5487
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
5481
- if (startDate !== undefined) {
5482
- localVarQueryParameter['startDate'] = (startDate instanceof Date) ?
5483
- startDate.toISOString() :
5484
- startDate;
5485
- }
5486
- if (endDate !== undefined) {
5487
- localVarQueryParameter['endDate'] = (endDate instanceof Date) ?
5488
- endDate.toISOString() :
5489
- endDate;
5490
- }
5491
- if (referenceID !== undefined) {
5492
- localVarQueryParameter['referenceID'] = referenceID;
5493
- }
5488
+ localVarHeaderParameter['Content-Type'] = 'application/json';
5494
5489
  setSearchParams(localVarUrlObj, localVarQueryParameter);
5495
5490
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5496
5491
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5492
+ localVarRequestOptions.data = serializeDataIfNeeded(reportCreationRequest, localVarRequestOptions, configuration);
5497
5493
  return {
5498
5494
  url: toPathString(localVarUrlObj),
5499
5495
  options: localVarRequestOptions,
@@ -5527,6 +5523,38 @@ export const ReportApiAxiosParamCreator = function (configuration) {
5527
5523
  options: localVarRequestOptions,
5528
5524
  };
5529
5525
  }),
5526
+ /**
5527
+ * List all generated reports for type
5528
+ * @summary List reports
5529
+ * @param {string} type Report type
5530
+ * @param {*} [options] Override http request option.
5531
+ * @throws {RequiredError}
5532
+ */
5533
+ listReport: (type, options = {}) => __awaiter(this, void 0, void 0, function* () {
5534
+ // verify required parameter 'type' is not null or undefined
5535
+ assertParamExists('listReport', 'type', type);
5536
+ const localVarPath = `/admin/reports/{type}`
5537
+ .replace(`{${"type"}}`, encodeURIComponent(String(type)));
5538
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5539
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5540
+ let baseOptions;
5541
+ if (configuration) {
5542
+ baseOptions = configuration.baseOptions;
5543
+ }
5544
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
5545
+ const localVarHeaderParameter = {};
5546
+ const localVarQueryParameter = {};
5547
+ // authentication systemJWT required
5548
+ // http bearer authentication required
5549
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
5550
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5551
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5552
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5553
+ return {
5554
+ url: toPathString(localVarUrlObj),
5555
+ options: localVarRequestOptions,
5556
+ };
5557
+ }),
5530
5558
  };
5531
5559
  };
5532
5560
  /**
@@ -5540,15 +5568,13 @@ export const ReportApiFp = function (configuration) {
5540
5568
  * Generate a report
5541
5569
  * @summary Generate report
5542
5570
  * @param {string} type Report type
5543
- * @param {string} [startDate] Start date for promotions
5544
- * @param {string} [endDate] End date for promotions
5545
- * @param {string} [referenceID] for reports with type promotion, promotion_expanded and progress, filter by promotion ID
5571
+ * @param {ReportCreationRequest} [reportCreationRequest]
5546
5572
  * @param {*} [options] Override http request option.
5547
5573
  * @throws {RequiredError}
5548
5574
  */
5549
- generateReport(type, startDate, endDate, referenceID, options) {
5575
+ generateReport(type, reportCreationRequest, options) {
5550
5576
  return __awaiter(this, void 0, void 0, function* () {
5551
- const localVarAxiosArgs = yield localVarAxiosParamCreator.generateReport(type, startDate, endDate, referenceID, options);
5577
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.generateReport(type, reportCreationRequest, options);
5552
5578
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5553
5579
  });
5554
5580
  },
@@ -5564,6 +5590,19 @@ export const ReportApiFp = function (configuration) {
5564
5590
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5565
5591
  });
5566
5592
  },
5593
+ /**
5594
+ * List all generated reports for type
5595
+ * @summary List reports
5596
+ * @param {string} type Report type
5597
+ * @param {*} [options] Override http request option.
5598
+ * @throws {RequiredError}
5599
+ */
5600
+ listReport(type, options) {
5601
+ return __awaiter(this, void 0, void 0, function* () {
5602
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listReport(type, options);
5603
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5604
+ });
5605
+ },
5567
5606
  };
5568
5607
  };
5569
5608
  /**
@@ -5577,14 +5616,12 @@ export const ReportApiFactory = function (configuration, basePath, axios) {
5577
5616
  * Generate a report
5578
5617
  * @summary Generate report
5579
5618
  * @param {string} type Report type
5580
- * @param {string} [startDate] Start date for promotions
5581
- * @param {string} [endDate] End date for promotions
5582
- * @param {string} [referenceID] for reports with type promotion, promotion_expanded and progress, filter by promotion ID
5619
+ * @param {ReportCreationRequest} [reportCreationRequest]
5583
5620
  * @param {*} [options] Override http request option.
5584
5621
  * @throws {RequiredError}
5585
5622
  */
5586
- generateReport(type, startDate, endDate, referenceID, options) {
5587
- return localVarFp.generateReport(type, startDate, endDate, referenceID, options).then((request) => request(axios, basePath));
5623
+ generateReport(type, reportCreationRequest, options) {
5624
+ return localVarFp.generateReport(type, reportCreationRequest, options).then((request) => request(axios, basePath));
5588
5625
  },
5589
5626
  /**
5590
5627
  * List of all supported reports
@@ -5595,6 +5632,16 @@ export const ReportApiFactory = function (configuration, basePath, axios) {
5595
5632
  getReports(options) {
5596
5633
  return localVarFp.getReports(options).then((request) => request(axios, basePath));
5597
5634
  },
5635
+ /**
5636
+ * List all generated reports for type
5637
+ * @summary List reports
5638
+ * @param {string} type Report type
5639
+ * @param {*} [options] Override http request option.
5640
+ * @throws {RequiredError}
5641
+ */
5642
+ listReport(type, options) {
5643
+ return localVarFp.listReport(type, options).then((request) => request(axios, basePath));
5644
+ },
5598
5645
  };
5599
5646
  };
5600
5647
  /**
@@ -5608,15 +5655,13 @@ export class ReportApi extends BaseAPI {
5608
5655
  * Generate a report
5609
5656
  * @summary Generate report
5610
5657
  * @param {string} type Report type
5611
- * @param {string} [startDate] Start date for promotions
5612
- * @param {string} [endDate] End date for promotions
5613
- * @param {string} [referenceID] for reports with type promotion, promotion_expanded and progress, filter by promotion ID
5658
+ * @param {ReportCreationRequest} [reportCreationRequest]
5614
5659
  * @param {*} [options] Override http request option.
5615
5660
  * @throws {RequiredError}
5616
5661
  * @memberof ReportApi
5617
5662
  */
5618
- generateReport(type, startDate, endDate, referenceID, options) {
5619
- return ReportApiFp(this.configuration).generateReport(type, startDate, endDate, referenceID, options).then((request) => request(this.axios, this.basePath));
5663
+ generateReport(type, reportCreationRequest, options) {
5664
+ return ReportApiFp(this.configuration).generateReport(type, reportCreationRequest, options).then((request) => request(this.axios, this.basePath));
5620
5665
  }
5621
5666
  /**
5622
5667
  * List of all supported reports
@@ -5628,6 +5673,17 @@ export class ReportApi extends BaseAPI {
5628
5673
  getReports(options) {
5629
5674
  return ReportApiFp(this.configuration).getReports(options).then((request) => request(this.axios, this.basePath));
5630
5675
  }
5676
+ /**
5677
+ * List all generated reports for type
5678
+ * @summary List reports
5679
+ * @param {string} type Report type
5680
+ * @param {*} [options] Override http request option.
5681
+ * @throws {RequiredError}
5682
+ * @memberof ReportApi
5683
+ */
5684
+ listReport(type, options) {
5685
+ return ReportApiFp(this.configuration).listReport(type, options).then((request) => request(this.axios, this.basePath));
5686
+ }
5631
5687
  }
5632
5688
  /**
5633
5689
  * SegmentApi - axios parameter creator
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flexinet-api",
3
- "version": "0.0.1148-prerelease0",
3
+ "version": "0.0.1156-prerelease0",
4
4
  "description": "OpenAPI client for flexinet-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {