flexinet-api 0.0.2288 → 0.0.2290

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.2288
1
+ ## flexinet-api@0.0.2290
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.2288 --save
39
+ npm install flexinet-api@0.0.2290 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -3447,6 +3447,19 @@ export const ReportTypesResponseTypesEnum = {
3447
3447
 
3448
3448
  export type ReportTypesResponseTypesEnum = typeof ReportTypesResponseTypesEnum[keyof typeof ReportTypesResponseTypesEnum];
3449
3449
 
3450
+ /**
3451
+ *
3452
+ * @export
3453
+ * @interface ReportUrlResponse
3454
+ */
3455
+ export interface ReportUrlResponse {
3456
+ /**
3457
+ *
3458
+ * @type {string}
3459
+ * @memberof ReportUrlResponse
3460
+ */
3461
+ 'url': string;
3462
+ }
3450
3463
  /**
3451
3464
  * @type Rule
3452
3465
  * @export
@@ -11944,6 +11957,40 @@ export const ReportsApiAxiosParamCreator = function (configuration?: Configurati
11944
11957
  options: localVarRequestOptions,
11945
11958
  };
11946
11959
  },
11960
+ /**
11961
+ * Get signed access URL for report
11962
+ * @summary Get signed access URL for report
11963
+ * @param {*} [options] Override http request option.
11964
+ * @throws {RequiredError}
11965
+ */
11966
+ getReportUrl: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
11967
+ const localVarPath = `/admin/reports/url`;
11968
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11969
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11970
+ let baseOptions;
11971
+ if (configuration) {
11972
+ baseOptions = configuration.baseOptions;
11973
+ }
11974
+
11975
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
11976
+ const localVarHeaderParameter = {} as any;
11977
+ const localVarQueryParameter = {} as any;
11978
+
11979
+ // authentication systemJWT required
11980
+ // http bearer authentication required
11981
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
11982
+
11983
+
11984
+
11985
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11986
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11987
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
11988
+
11989
+ return {
11990
+ url: toPathString(localVarUrlObj),
11991
+ options: localVarRequestOptions,
11992
+ };
11993
+ },
11947
11994
  /**
11948
11995
  * List all supported report types, which can be generated by the user
11949
11996
  * @summary List report types
@@ -12038,6 +12085,16 @@ export const ReportsApiFp = function(configuration?: Configuration) {
12038
12085
  const localVarAxiosArgs = await localVarAxiosParamCreator.generateReport(type, reportCreationRequest, options);
12039
12086
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
12040
12087
  },
12088
+ /**
12089
+ * Get signed access URL for report
12090
+ * @summary Get signed access URL for report
12091
+ * @param {*} [options] Override http request option.
12092
+ * @throws {RequiredError}
12093
+ */
12094
+ async getReportUrl(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportUrlResponse>> {
12095
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getReportUrl(options);
12096
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
12097
+ },
12041
12098
  /**
12042
12099
  * List all supported report types, which can be generated by the user
12043
12100
  * @summary List report types
@@ -12080,6 +12137,15 @@ export const ReportsApiFactory = function (configuration?: Configuration, basePa
12080
12137
  generateReport(type: string, reportCreationRequest?: ReportCreationRequest, options?: any): AxiosPromise<ReportResponse> {
12081
12138
  return localVarFp.generateReport(type, reportCreationRequest, options).then((request) => request(axios, basePath));
12082
12139
  },
12140
+ /**
12141
+ * Get signed access URL for report
12142
+ * @summary Get signed access URL for report
12143
+ * @param {*} [options] Override http request option.
12144
+ * @throws {RequiredError}
12145
+ */
12146
+ getReportUrl(options?: any): AxiosPromise<ReportUrlResponse> {
12147
+ return localVarFp.getReportUrl(options).then((request) => request(axios, basePath));
12148
+ },
12083
12149
  /**
12084
12150
  * List all supported report types, which can be generated by the user
12085
12151
  * @summary List report types
@@ -12122,6 +12188,17 @@ export class ReportsApi extends BaseAPI {
12122
12188
  return ReportsApiFp(this.configuration).generateReport(type, reportCreationRequest, options).then((request) => request(this.axios, this.basePath));
12123
12189
  }
12124
12190
 
12191
+ /**
12192
+ * Get signed access URL for report
12193
+ * @summary Get signed access URL for report
12194
+ * @param {*} [options] Override http request option.
12195
+ * @throws {RequiredError}
12196
+ * @memberof ReportsApi
12197
+ */
12198
+ public getReportUrl(options?: AxiosRequestConfig) {
12199
+ return ReportsApiFp(this.configuration).getReportUrl(options).then((request) => request(this.axios, this.basePath));
12200
+ }
12201
+
12125
12202
  /**
12126
12203
  * List all supported report types, which can be generated by the user
12127
12204
  * @summary List report types
package/dist/api.d.ts CHANGED
@@ -3289,6 +3289,19 @@ export declare const ReportTypesResponseTypesEnum: {
3289
3289
  readonly PromotionExpanded: "promotion_expanded";
3290
3290
  };
3291
3291
  export type ReportTypesResponseTypesEnum = typeof ReportTypesResponseTypesEnum[keyof typeof ReportTypesResponseTypesEnum];
3292
+ /**
3293
+ *
3294
+ * @export
3295
+ * @interface ReportUrlResponse
3296
+ */
3297
+ export interface ReportUrlResponse {
3298
+ /**
3299
+ *
3300
+ * @type {string}
3301
+ * @memberof ReportUrlResponse
3302
+ */
3303
+ 'url': string;
3304
+ }
3292
3305
  /**
3293
3306
  * @type Rule
3294
3307
  * @export
@@ -8305,6 +8318,13 @@ export declare const ReportsApiAxiosParamCreator: (configuration?: Configuration
8305
8318
  * @throws {RequiredError}
8306
8319
  */
8307
8320
  generateReport: (type: string, reportCreationRequest?: ReportCreationRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8321
+ /**
8322
+ * Get signed access URL for report
8323
+ * @summary Get signed access URL for report
8324
+ * @param {*} [options] Override http request option.
8325
+ * @throws {RequiredError}
8326
+ */
8327
+ getReportUrl: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
8308
8328
  /**
8309
8329
  * List all supported report types, which can be generated by the user
8310
8330
  * @summary List report types
@@ -8335,6 +8355,13 @@ export declare const ReportsApiFp: (configuration?: Configuration) => {
8335
8355
  * @throws {RequiredError}
8336
8356
  */
8337
8357
  generateReport(type: string, reportCreationRequest?: ReportCreationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportResponse>>;
8358
+ /**
8359
+ * Get signed access URL for report
8360
+ * @summary Get signed access URL for report
8361
+ * @param {*} [options] Override http request option.
8362
+ * @throws {RequiredError}
8363
+ */
8364
+ getReportUrl(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportUrlResponse>>;
8338
8365
  /**
8339
8366
  * List all supported report types, which can be generated by the user
8340
8367
  * @summary List report types
@@ -8365,6 +8392,13 @@ export declare const ReportsApiFactory: (configuration?: Configuration, basePath
8365
8392
  * @throws {RequiredError}
8366
8393
  */
8367
8394
  generateReport(type: string, reportCreationRequest?: ReportCreationRequest, options?: any): AxiosPromise<ReportResponse>;
8395
+ /**
8396
+ * Get signed access URL for report
8397
+ * @summary Get signed access URL for report
8398
+ * @param {*} [options] Override http request option.
8399
+ * @throws {RequiredError}
8400
+ */
8401
+ getReportUrl(options?: any): AxiosPromise<ReportUrlResponse>;
8368
8402
  /**
8369
8403
  * List all supported report types, which can be generated by the user
8370
8404
  * @summary List report types
@@ -8398,6 +8432,14 @@ export declare class ReportsApi extends BaseAPI {
8398
8432
  * @memberof ReportsApi
8399
8433
  */
8400
8434
  generateReport(type: string, reportCreationRequest?: ReportCreationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReportResponse, any>>;
8435
+ /**
8436
+ * Get signed access URL for report
8437
+ * @summary Get signed access URL for report
8438
+ * @param {*} [options] Override http request option.
8439
+ * @throws {RequiredError}
8440
+ * @memberof ReportsApi
8441
+ */
8442
+ getReportUrl(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReportUrlResponse, any>>;
8401
8443
  /**
8402
8444
  * List all supported report types, which can be generated by the user
8403
8445
  * @summary List report types
package/dist/api.js CHANGED
@@ -6482,6 +6482,34 @@ const ReportsApiAxiosParamCreator = function (configuration) {
6482
6482
  options: localVarRequestOptions,
6483
6483
  };
6484
6484
  }),
6485
+ /**
6486
+ * Get signed access URL for report
6487
+ * @summary Get signed access URL for report
6488
+ * @param {*} [options] Override http request option.
6489
+ * @throws {RequiredError}
6490
+ */
6491
+ getReportUrl: (options = {}) => __awaiter(this, void 0, void 0, function* () {
6492
+ const localVarPath = `/admin/reports/url`;
6493
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6494
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6495
+ let baseOptions;
6496
+ if (configuration) {
6497
+ baseOptions = configuration.baseOptions;
6498
+ }
6499
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6500
+ const localVarHeaderParameter = {};
6501
+ const localVarQueryParameter = {};
6502
+ // authentication systemJWT required
6503
+ // http bearer authentication required
6504
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
6505
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6506
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6507
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6508
+ return {
6509
+ url: (0, common_1.toPathString)(localVarUrlObj),
6510
+ options: localVarRequestOptions,
6511
+ };
6512
+ }),
6485
6513
  /**
6486
6514
  * List all supported report types, which can be generated by the user
6487
6515
  * @summary List report types
@@ -6566,6 +6594,18 @@ const ReportsApiFp = function (configuration) {
6566
6594
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
6567
6595
  });
6568
6596
  },
6597
+ /**
6598
+ * Get signed access URL for report
6599
+ * @summary Get signed access URL for report
6600
+ * @param {*} [options] Override http request option.
6601
+ * @throws {RequiredError}
6602
+ */
6603
+ getReportUrl(options) {
6604
+ return __awaiter(this, void 0, void 0, function* () {
6605
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getReportUrl(options);
6606
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
6607
+ });
6608
+ },
6569
6609
  /**
6570
6610
  * List all supported report types, which can be generated by the user
6571
6611
  * @summary List report types
@@ -6612,6 +6652,15 @@ const ReportsApiFactory = function (configuration, basePath, axios) {
6612
6652
  generateReport(type, reportCreationRequest, options) {
6613
6653
  return localVarFp.generateReport(type, reportCreationRequest, options).then((request) => request(axios, basePath));
6614
6654
  },
6655
+ /**
6656
+ * Get signed access URL for report
6657
+ * @summary Get signed access URL for report
6658
+ * @param {*} [options] Override http request option.
6659
+ * @throws {RequiredError}
6660
+ */
6661
+ getReportUrl(options) {
6662
+ return localVarFp.getReportUrl(options).then((request) => request(axios, basePath));
6663
+ },
6615
6664
  /**
6616
6665
  * List all supported report types, which can be generated by the user
6617
6666
  * @summary List report types
@@ -6653,6 +6702,16 @@ class ReportsApi extends base_1.BaseAPI {
6653
6702
  generateReport(type, reportCreationRequest, options) {
6654
6703
  return (0, exports.ReportsApiFp)(this.configuration).generateReport(type, reportCreationRequest, options).then((request) => request(this.axios, this.basePath));
6655
6704
  }
6705
+ /**
6706
+ * Get signed access URL for report
6707
+ * @summary Get signed access URL for report
6708
+ * @param {*} [options] Override http request option.
6709
+ * @throws {RequiredError}
6710
+ * @memberof ReportsApi
6711
+ */
6712
+ getReportUrl(options) {
6713
+ return (0, exports.ReportsApiFp)(this.configuration).getReportUrl(options).then((request) => request(this.axios, this.basePath));
6714
+ }
6656
6715
  /**
6657
6716
  * List all supported report types, which can be generated by the user
6658
6717
  * @summary List report types
package/dist/esm/api.d.ts CHANGED
@@ -3289,6 +3289,19 @@ export declare const ReportTypesResponseTypesEnum: {
3289
3289
  readonly PromotionExpanded: "promotion_expanded";
3290
3290
  };
3291
3291
  export type ReportTypesResponseTypesEnum = typeof ReportTypesResponseTypesEnum[keyof typeof ReportTypesResponseTypesEnum];
3292
+ /**
3293
+ *
3294
+ * @export
3295
+ * @interface ReportUrlResponse
3296
+ */
3297
+ export interface ReportUrlResponse {
3298
+ /**
3299
+ *
3300
+ * @type {string}
3301
+ * @memberof ReportUrlResponse
3302
+ */
3303
+ 'url': string;
3304
+ }
3292
3305
  /**
3293
3306
  * @type Rule
3294
3307
  * @export
@@ -8305,6 +8318,13 @@ export declare const ReportsApiAxiosParamCreator: (configuration?: Configuration
8305
8318
  * @throws {RequiredError}
8306
8319
  */
8307
8320
  generateReport: (type: string, reportCreationRequest?: ReportCreationRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8321
+ /**
8322
+ * Get signed access URL for report
8323
+ * @summary Get signed access URL for report
8324
+ * @param {*} [options] Override http request option.
8325
+ * @throws {RequiredError}
8326
+ */
8327
+ getReportUrl: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
8308
8328
  /**
8309
8329
  * List all supported report types, which can be generated by the user
8310
8330
  * @summary List report types
@@ -8335,6 +8355,13 @@ export declare const ReportsApiFp: (configuration?: Configuration) => {
8335
8355
  * @throws {RequiredError}
8336
8356
  */
8337
8357
  generateReport(type: string, reportCreationRequest?: ReportCreationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportResponse>>;
8358
+ /**
8359
+ * Get signed access URL for report
8360
+ * @summary Get signed access URL for report
8361
+ * @param {*} [options] Override http request option.
8362
+ * @throws {RequiredError}
8363
+ */
8364
+ getReportUrl(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportUrlResponse>>;
8338
8365
  /**
8339
8366
  * List all supported report types, which can be generated by the user
8340
8367
  * @summary List report types
@@ -8365,6 +8392,13 @@ export declare const ReportsApiFactory: (configuration?: Configuration, basePath
8365
8392
  * @throws {RequiredError}
8366
8393
  */
8367
8394
  generateReport(type: string, reportCreationRequest?: ReportCreationRequest, options?: any): AxiosPromise<ReportResponse>;
8395
+ /**
8396
+ * Get signed access URL for report
8397
+ * @summary Get signed access URL for report
8398
+ * @param {*} [options] Override http request option.
8399
+ * @throws {RequiredError}
8400
+ */
8401
+ getReportUrl(options?: any): AxiosPromise<ReportUrlResponse>;
8368
8402
  /**
8369
8403
  * List all supported report types, which can be generated by the user
8370
8404
  * @summary List report types
@@ -8398,6 +8432,14 @@ export declare class ReportsApi extends BaseAPI {
8398
8432
  * @memberof ReportsApi
8399
8433
  */
8400
8434
  generateReport(type: string, reportCreationRequest?: ReportCreationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReportResponse, any>>;
8435
+ /**
8436
+ * Get signed access URL for report
8437
+ * @summary Get signed access URL for report
8438
+ * @param {*} [options] Override http request option.
8439
+ * @throws {RequiredError}
8440
+ * @memberof ReportsApi
8441
+ */
8442
+ getReportUrl(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReportUrlResponse, any>>;
8401
8443
  /**
8402
8444
  * List all supported report types, which can be generated by the user
8403
8445
  * @summary List report types
package/dist/esm/api.js CHANGED
@@ -6417,6 +6417,34 @@ export const ReportsApiAxiosParamCreator = function (configuration) {
6417
6417
  options: localVarRequestOptions,
6418
6418
  };
6419
6419
  }),
6420
+ /**
6421
+ * Get signed access URL for report
6422
+ * @summary Get signed access URL for report
6423
+ * @param {*} [options] Override http request option.
6424
+ * @throws {RequiredError}
6425
+ */
6426
+ getReportUrl: (options = {}) => __awaiter(this, void 0, void 0, function* () {
6427
+ const localVarPath = `/admin/reports/url`;
6428
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6429
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6430
+ let baseOptions;
6431
+ if (configuration) {
6432
+ baseOptions = configuration.baseOptions;
6433
+ }
6434
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6435
+ const localVarHeaderParameter = {};
6436
+ const localVarQueryParameter = {};
6437
+ // authentication systemJWT required
6438
+ // http bearer authentication required
6439
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
6440
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6441
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6442
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6443
+ return {
6444
+ url: toPathString(localVarUrlObj),
6445
+ options: localVarRequestOptions,
6446
+ };
6447
+ }),
6420
6448
  /**
6421
6449
  * List all supported report types, which can be generated by the user
6422
6450
  * @summary List report types
@@ -6500,6 +6528,18 @@ export const ReportsApiFp = function (configuration) {
6500
6528
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
6501
6529
  });
6502
6530
  },
6531
+ /**
6532
+ * Get signed access URL for report
6533
+ * @summary Get signed access URL for report
6534
+ * @param {*} [options] Override http request option.
6535
+ * @throws {RequiredError}
6536
+ */
6537
+ getReportUrl(options) {
6538
+ return __awaiter(this, void 0, void 0, function* () {
6539
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getReportUrl(options);
6540
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
6541
+ });
6542
+ },
6503
6543
  /**
6504
6544
  * List all supported report types, which can be generated by the user
6505
6545
  * @summary List report types
@@ -6545,6 +6585,15 @@ export const ReportsApiFactory = function (configuration, basePath, axios) {
6545
6585
  generateReport(type, reportCreationRequest, options) {
6546
6586
  return localVarFp.generateReport(type, reportCreationRequest, options).then((request) => request(axios, basePath));
6547
6587
  },
6588
+ /**
6589
+ * Get signed access URL for report
6590
+ * @summary Get signed access URL for report
6591
+ * @param {*} [options] Override http request option.
6592
+ * @throws {RequiredError}
6593
+ */
6594
+ getReportUrl(options) {
6595
+ return localVarFp.getReportUrl(options).then((request) => request(axios, basePath));
6596
+ },
6548
6597
  /**
6549
6598
  * List all supported report types, which can be generated by the user
6550
6599
  * @summary List report types
@@ -6585,6 +6634,16 @@ export class ReportsApi extends BaseAPI {
6585
6634
  generateReport(type, reportCreationRequest, options) {
6586
6635
  return ReportsApiFp(this.configuration).generateReport(type, reportCreationRequest, options).then((request) => request(this.axios, this.basePath));
6587
6636
  }
6637
+ /**
6638
+ * Get signed access URL for report
6639
+ * @summary Get signed access URL for report
6640
+ * @param {*} [options] Override http request option.
6641
+ * @throws {RequiredError}
6642
+ * @memberof ReportsApi
6643
+ */
6644
+ getReportUrl(options) {
6645
+ return ReportsApiFp(this.configuration).getReportUrl(options).then((request) => request(this.axios, this.basePath));
6646
+ }
6588
6647
  /**
6589
6648
  * List all supported report types, which can be generated by the user
6590
6649
  * @summary List report types
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flexinet-api",
3
- "version": "0.0.2288",
3
+ "version": "0.0.2290",
4
4
  "description": "OpenAPI client for flexinet-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {