flexinet-api 0.0.2297 → 0.0.2298
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 +2 -2
- package/api.ts +89 -5
- package/dist/api.d.ts +49 -0
- package/dist/api.js +65 -5
- package/dist/esm/api.d.ts +49 -0
- package/dist/esm/api.js +65 -5
- package/package.json +1 -1
package/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
## flexinet-api@
|
1
|
+
## flexinet-api@0.0.2298
|
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@
|
39
|
+
npm install flexinet-api@0.0.2298 --save
|
40
40
|
```
|
41
41
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
@@ -1236,7 +1236,8 @@ export const Feature = {
|
|
1236
1236
|
UserInfo: 'user_info',
|
1237
1237
|
ExternalInventory: 'external_inventory',
|
1238
1238
|
OrderEvents: 'order_events',
|
1239
|
-
OrderStatusPolling: 'order_status_polling'
|
1239
|
+
OrderStatusPolling: 'order_status_polling',
|
1240
|
+
SmsSending: 'sms_sending'
|
1240
1241
|
} as const;
|
1241
1242
|
|
1242
1243
|
export type Feature = typeof Feature[keyof typeof Feature];
|
@@ -3446,6 +3447,25 @@ export const ReportTypesResponseTypesEnum = {
|
|
3446
3447
|
|
3447
3448
|
export type ReportTypesResponseTypesEnum = typeof ReportTypesResponseTypesEnum[keyof typeof ReportTypesResponseTypesEnum];
|
3448
3449
|
|
3450
|
+
/**
|
3451
|
+
*
|
3452
|
+
* @export
|
3453
|
+
* @interface ReportUrlResponse
|
3454
|
+
*/
|
3455
|
+
export interface ReportUrlResponse {
|
3456
|
+
/**
|
3457
|
+
*
|
3458
|
+
* @type {string}
|
3459
|
+
* @memberof ReportUrlResponse
|
3460
|
+
*/
|
3461
|
+
'datalakeUrl': string;
|
3462
|
+
/**
|
3463
|
+
*
|
3464
|
+
* @type {string}
|
3465
|
+
* @memberof ReportUrlResponse
|
3466
|
+
*/
|
3467
|
+
'token': string;
|
3468
|
+
}
|
3449
3469
|
/**
|
3450
3470
|
* @type Rule
|
3451
3471
|
* @export
|
@@ -8065,7 +8085,7 @@ export const NotificationApiAxiosParamCreator = function (configuration?: Config
|
|
8065
8085
|
const localVarHeaderParameter = {} as any;
|
8066
8086
|
const localVarQueryParameter = {} as any;
|
8067
8087
|
|
8068
|
-
// authentication
|
8088
|
+
// authentication systemJWT required
|
8069
8089
|
// http bearer authentication required
|
8070
8090
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
8071
8091
|
|
@@ -8102,7 +8122,7 @@ export const NotificationApiAxiosParamCreator = function (configuration?: Config
|
|
8102
8122
|
const localVarHeaderParameter = {} as any;
|
8103
8123
|
const localVarQueryParameter = {} as any;
|
8104
8124
|
|
8105
|
-
// authentication
|
8125
|
+
// authentication systemJWT required
|
8106
8126
|
// http bearer authentication required
|
8107
8127
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
8108
8128
|
|
@@ -8319,7 +8339,7 @@ export const NotificationsApiAxiosParamCreator = function (configuration?: Confi
|
|
8319
8339
|
const localVarHeaderParameter = {} as any;
|
8320
8340
|
const localVarQueryParameter = {} as any;
|
8321
8341
|
|
8322
|
-
// authentication
|
8342
|
+
// authentication systemJWT required
|
8323
8343
|
// http bearer authentication required
|
8324
8344
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
8325
8345
|
|
@@ -8472,7 +8492,7 @@ export const NotificationsApiAxiosParamCreator = function (configuration?: Confi
|
|
8472
8492
|
const localVarHeaderParameter = {} as any;
|
8473
8493
|
const localVarQueryParameter = {} as any;
|
8474
8494
|
|
8475
|
-
// authentication
|
8495
|
+
// authentication systemJWT required
|
8476
8496
|
// http bearer authentication required
|
8477
8497
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
8478
8498
|
|
@@ -11943,6 +11963,40 @@ export const ReportsApiAxiosParamCreator = function (configuration?: Configurati
|
|
11943
11963
|
options: localVarRequestOptions,
|
11944
11964
|
};
|
11945
11965
|
},
|
11966
|
+
/**
|
11967
|
+
* Get signed access URL for report
|
11968
|
+
* @summary Get signed access URL for report
|
11969
|
+
* @param {*} [options] Override http request option.
|
11970
|
+
* @throws {RequiredError}
|
11971
|
+
*/
|
11972
|
+
getReportUrl: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
11973
|
+
const localVarPath = `/admin/reports/url`;
|
11974
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
11975
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
11976
|
+
let baseOptions;
|
11977
|
+
if (configuration) {
|
11978
|
+
baseOptions = configuration.baseOptions;
|
11979
|
+
}
|
11980
|
+
|
11981
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
11982
|
+
const localVarHeaderParameter = {} as any;
|
11983
|
+
const localVarQueryParameter = {} as any;
|
11984
|
+
|
11985
|
+
// authentication systemJWT required
|
11986
|
+
// http bearer authentication required
|
11987
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
11988
|
+
|
11989
|
+
|
11990
|
+
|
11991
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
11992
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
11993
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
11994
|
+
|
11995
|
+
return {
|
11996
|
+
url: toPathString(localVarUrlObj),
|
11997
|
+
options: localVarRequestOptions,
|
11998
|
+
};
|
11999
|
+
},
|
11946
12000
|
/**
|
11947
12001
|
* List all supported report types, which can be generated by the user
|
11948
12002
|
* @summary List report types
|
@@ -12037,6 +12091,16 @@ export const ReportsApiFp = function(configuration?: Configuration) {
|
|
12037
12091
|
const localVarAxiosArgs = await localVarAxiosParamCreator.generateReport(type, reportCreationRequest, options);
|
12038
12092
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
12039
12093
|
},
|
12094
|
+
/**
|
12095
|
+
* Get signed access URL for report
|
12096
|
+
* @summary Get signed access URL for report
|
12097
|
+
* @param {*} [options] Override http request option.
|
12098
|
+
* @throws {RequiredError}
|
12099
|
+
*/
|
12100
|
+
async getReportUrl(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportUrlResponse>> {
|
12101
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getReportUrl(options);
|
12102
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
12103
|
+
},
|
12040
12104
|
/**
|
12041
12105
|
* List all supported report types, which can be generated by the user
|
12042
12106
|
* @summary List report types
|
@@ -12079,6 +12143,15 @@ export const ReportsApiFactory = function (configuration?: Configuration, basePa
|
|
12079
12143
|
generateReport(type: string, reportCreationRequest?: ReportCreationRequest, options?: any): AxiosPromise<ReportResponse> {
|
12080
12144
|
return localVarFp.generateReport(type, reportCreationRequest, options).then((request) => request(axios, basePath));
|
12081
12145
|
},
|
12146
|
+
/**
|
12147
|
+
* Get signed access URL for report
|
12148
|
+
* @summary Get signed access URL for report
|
12149
|
+
* @param {*} [options] Override http request option.
|
12150
|
+
* @throws {RequiredError}
|
12151
|
+
*/
|
12152
|
+
getReportUrl(options?: any): AxiosPromise<ReportUrlResponse> {
|
12153
|
+
return localVarFp.getReportUrl(options).then((request) => request(axios, basePath));
|
12154
|
+
},
|
12082
12155
|
/**
|
12083
12156
|
* List all supported report types, which can be generated by the user
|
12084
12157
|
* @summary List report types
|
@@ -12121,6 +12194,17 @@ export class ReportsApi extends BaseAPI {
|
|
12121
12194
|
return ReportsApiFp(this.configuration).generateReport(type, reportCreationRequest, options).then((request) => request(this.axios, this.basePath));
|
12122
12195
|
}
|
12123
12196
|
|
12197
|
+
/**
|
12198
|
+
* Get signed access URL for report
|
12199
|
+
* @summary Get signed access URL for report
|
12200
|
+
* @param {*} [options] Override http request option.
|
12201
|
+
* @throws {RequiredError}
|
12202
|
+
* @memberof ReportsApi
|
12203
|
+
*/
|
12204
|
+
public getReportUrl(options?: AxiosRequestConfig) {
|
12205
|
+
return ReportsApiFp(this.configuration).getReportUrl(options).then((request) => request(this.axios, this.basePath));
|
12206
|
+
}
|
12207
|
+
|
12124
12208
|
/**
|
12125
12209
|
* List all supported report types, which can be generated by the user
|
12126
12210
|
* @summary List report types
|
package/dist/api.d.ts
CHANGED
@@ -1172,6 +1172,7 @@ export declare const Feature: {
|
|
1172
1172
|
readonly ExternalInventory: "external_inventory";
|
1173
1173
|
readonly OrderEvents: "order_events";
|
1174
1174
|
readonly OrderStatusPolling: "order_status_polling";
|
1175
|
+
readonly SmsSending: "sms_sending";
|
1175
1176
|
};
|
1176
1177
|
export type Feature = typeof Feature[keyof typeof Feature];
|
1177
1178
|
/**
|
@@ -3288,6 +3289,25 @@ export declare const ReportTypesResponseTypesEnum: {
|
|
3288
3289
|
readonly PromotionExpanded: "promotion_expanded";
|
3289
3290
|
};
|
3290
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
|
+
'datalakeUrl': string;
|
3304
|
+
/**
|
3305
|
+
*
|
3306
|
+
* @type {string}
|
3307
|
+
* @memberof ReportUrlResponse
|
3308
|
+
*/
|
3309
|
+
'token': string;
|
3310
|
+
}
|
3291
3311
|
/**
|
3292
3312
|
* @type Rule
|
3293
3313
|
* @export
|
@@ -8304,6 +8324,13 @@ export declare const ReportsApiAxiosParamCreator: (configuration?: Configuration
|
|
8304
8324
|
* @throws {RequiredError}
|
8305
8325
|
*/
|
8306
8326
|
generateReport: (type: string, reportCreationRequest?: ReportCreationRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
8327
|
+
/**
|
8328
|
+
* Get signed access URL for report
|
8329
|
+
* @summary Get signed access URL for report
|
8330
|
+
* @param {*} [options] Override http request option.
|
8331
|
+
* @throws {RequiredError}
|
8332
|
+
*/
|
8333
|
+
getReportUrl: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
8307
8334
|
/**
|
8308
8335
|
* List all supported report types, which can be generated by the user
|
8309
8336
|
* @summary List report types
|
@@ -8334,6 +8361,13 @@ export declare const ReportsApiFp: (configuration?: Configuration) => {
|
|
8334
8361
|
* @throws {RequiredError}
|
8335
8362
|
*/
|
8336
8363
|
generateReport(type: string, reportCreationRequest?: ReportCreationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportResponse>>;
|
8364
|
+
/**
|
8365
|
+
* Get signed access URL for report
|
8366
|
+
* @summary Get signed access URL for report
|
8367
|
+
* @param {*} [options] Override http request option.
|
8368
|
+
* @throws {RequiredError}
|
8369
|
+
*/
|
8370
|
+
getReportUrl(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportUrlResponse>>;
|
8337
8371
|
/**
|
8338
8372
|
* List all supported report types, which can be generated by the user
|
8339
8373
|
* @summary List report types
|
@@ -8364,6 +8398,13 @@ export declare const ReportsApiFactory: (configuration?: Configuration, basePath
|
|
8364
8398
|
* @throws {RequiredError}
|
8365
8399
|
*/
|
8366
8400
|
generateReport(type: string, reportCreationRequest?: ReportCreationRequest, options?: any): AxiosPromise<ReportResponse>;
|
8401
|
+
/**
|
8402
|
+
* Get signed access URL for report
|
8403
|
+
* @summary Get signed access URL for report
|
8404
|
+
* @param {*} [options] Override http request option.
|
8405
|
+
* @throws {RequiredError}
|
8406
|
+
*/
|
8407
|
+
getReportUrl(options?: any): AxiosPromise<ReportUrlResponse>;
|
8367
8408
|
/**
|
8368
8409
|
* List all supported report types, which can be generated by the user
|
8369
8410
|
* @summary List report types
|
@@ -8397,6 +8438,14 @@ export declare class ReportsApi extends BaseAPI {
|
|
8397
8438
|
* @memberof ReportsApi
|
8398
8439
|
*/
|
8399
8440
|
generateReport(type: string, reportCreationRequest?: ReportCreationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReportResponse, any>>;
|
8441
|
+
/**
|
8442
|
+
* Get signed access URL for report
|
8443
|
+
* @summary Get signed access URL for report
|
8444
|
+
* @param {*} [options] Override http request option.
|
8445
|
+
* @throws {RequiredError}
|
8446
|
+
* @memberof ReportsApi
|
8447
|
+
*/
|
8448
|
+
getReportUrl(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReportUrlResponse, any>>;
|
8400
8449
|
/**
|
8401
8450
|
* List all supported report types, which can be generated by the user
|
8402
8451
|
* @summary List report types
|
package/dist/api.js
CHANGED
@@ -117,7 +117,8 @@ exports.Feature = {
|
|
117
117
|
UserInfo: 'user_info',
|
118
118
|
ExternalInventory: 'external_inventory',
|
119
119
|
OrderEvents: 'order_events',
|
120
|
-
OrderStatusPolling: 'order_status_polling'
|
120
|
+
OrderStatusPolling: 'order_status_polling',
|
121
|
+
SmsSending: 'sms_sending'
|
121
122
|
};
|
122
123
|
/**
|
123
124
|
*
|
@@ -2920,7 +2921,7 @@ const NotificationApiAxiosParamCreator = function (configuration) {
|
|
2920
2921
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
2921
2922
|
const localVarHeaderParameter = {};
|
2922
2923
|
const localVarQueryParameter = {};
|
2923
|
-
// authentication
|
2924
|
+
// authentication systemJWT required
|
2924
2925
|
// http bearer authentication required
|
2925
2926
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
2926
2927
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
@@ -2951,7 +2952,7 @@ const NotificationApiAxiosParamCreator = function (configuration) {
|
|
2951
2952
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
2952
2953
|
const localVarHeaderParameter = {};
|
2953
2954
|
const localVarQueryParameter = {};
|
2954
|
-
// authentication
|
2955
|
+
// authentication systemJWT required
|
2955
2956
|
// http bearer authentication required
|
2956
2957
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
2957
2958
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
@@ -3149,7 +3150,7 @@ const NotificationsApiAxiosParamCreator = function (configuration) {
|
|
3149
3150
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
3150
3151
|
const localVarHeaderParameter = {};
|
3151
3152
|
const localVarQueryParameter = {};
|
3152
|
-
// authentication
|
3153
|
+
// authentication systemJWT required
|
3153
3154
|
// http bearer authentication required
|
3154
3155
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
3155
3156
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
@@ -3276,7 +3277,7 @@ const NotificationsApiAxiosParamCreator = function (configuration) {
|
|
3276
3277
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
3277
3278
|
const localVarHeaderParameter = {};
|
3278
3279
|
const localVarQueryParameter = {};
|
3279
|
-
// authentication
|
3280
|
+
// authentication systemJWT required
|
3280
3281
|
// http bearer authentication required
|
3281
3282
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
3282
3283
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
@@ -6481,6 +6482,34 @@ const ReportsApiAxiosParamCreator = function (configuration) {
|
|
6481
6482
|
options: localVarRequestOptions,
|
6482
6483
|
};
|
6483
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
|
+
}),
|
6484
6513
|
/**
|
6485
6514
|
* List all supported report types, which can be generated by the user
|
6486
6515
|
* @summary List report types
|
@@ -6565,6 +6594,18 @@ const ReportsApiFp = function (configuration) {
|
|
6565
6594
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
6566
6595
|
});
|
6567
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
|
+
},
|
6568
6609
|
/**
|
6569
6610
|
* List all supported report types, which can be generated by the user
|
6570
6611
|
* @summary List report types
|
@@ -6611,6 +6652,15 @@ const ReportsApiFactory = function (configuration, basePath, axios) {
|
|
6611
6652
|
generateReport(type, reportCreationRequest, options) {
|
6612
6653
|
return localVarFp.generateReport(type, reportCreationRequest, options).then((request) => request(axios, basePath));
|
6613
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
|
+
},
|
6614
6664
|
/**
|
6615
6665
|
* List all supported report types, which can be generated by the user
|
6616
6666
|
* @summary List report types
|
@@ -6652,6 +6702,16 @@ class ReportsApi extends base_1.BaseAPI {
|
|
6652
6702
|
generateReport(type, reportCreationRequest, options) {
|
6653
6703
|
return (0, exports.ReportsApiFp)(this.configuration).generateReport(type, reportCreationRequest, options).then((request) => request(this.axios, this.basePath));
|
6654
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
|
+
}
|
6655
6715
|
/**
|
6656
6716
|
* List all supported report types, which can be generated by the user
|
6657
6717
|
* @summary List report types
|
package/dist/esm/api.d.ts
CHANGED
@@ -1172,6 +1172,7 @@ export declare const Feature: {
|
|
1172
1172
|
readonly ExternalInventory: "external_inventory";
|
1173
1173
|
readonly OrderEvents: "order_events";
|
1174
1174
|
readonly OrderStatusPolling: "order_status_polling";
|
1175
|
+
readonly SmsSending: "sms_sending";
|
1175
1176
|
};
|
1176
1177
|
export type Feature = typeof Feature[keyof typeof Feature];
|
1177
1178
|
/**
|
@@ -3288,6 +3289,25 @@ export declare const ReportTypesResponseTypesEnum: {
|
|
3288
3289
|
readonly PromotionExpanded: "promotion_expanded";
|
3289
3290
|
};
|
3290
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
|
+
'datalakeUrl': string;
|
3304
|
+
/**
|
3305
|
+
*
|
3306
|
+
* @type {string}
|
3307
|
+
* @memberof ReportUrlResponse
|
3308
|
+
*/
|
3309
|
+
'token': string;
|
3310
|
+
}
|
3291
3311
|
/**
|
3292
3312
|
* @type Rule
|
3293
3313
|
* @export
|
@@ -8304,6 +8324,13 @@ export declare const ReportsApiAxiosParamCreator: (configuration?: Configuration
|
|
8304
8324
|
* @throws {RequiredError}
|
8305
8325
|
*/
|
8306
8326
|
generateReport: (type: string, reportCreationRequest?: ReportCreationRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
8327
|
+
/**
|
8328
|
+
* Get signed access URL for report
|
8329
|
+
* @summary Get signed access URL for report
|
8330
|
+
* @param {*} [options] Override http request option.
|
8331
|
+
* @throws {RequiredError}
|
8332
|
+
*/
|
8333
|
+
getReportUrl: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
8307
8334
|
/**
|
8308
8335
|
* List all supported report types, which can be generated by the user
|
8309
8336
|
* @summary List report types
|
@@ -8334,6 +8361,13 @@ export declare const ReportsApiFp: (configuration?: Configuration) => {
|
|
8334
8361
|
* @throws {RequiredError}
|
8335
8362
|
*/
|
8336
8363
|
generateReport(type: string, reportCreationRequest?: ReportCreationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportResponse>>;
|
8364
|
+
/**
|
8365
|
+
* Get signed access URL for report
|
8366
|
+
* @summary Get signed access URL for report
|
8367
|
+
* @param {*} [options] Override http request option.
|
8368
|
+
* @throws {RequiredError}
|
8369
|
+
*/
|
8370
|
+
getReportUrl(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportUrlResponse>>;
|
8337
8371
|
/**
|
8338
8372
|
* List all supported report types, which can be generated by the user
|
8339
8373
|
* @summary List report types
|
@@ -8364,6 +8398,13 @@ export declare const ReportsApiFactory: (configuration?: Configuration, basePath
|
|
8364
8398
|
* @throws {RequiredError}
|
8365
8399
|
*/
|
8366
8400
|
generateReport(type: string, reportCreationRequest?: ReportCreationRequest, options?: any): AxiosPromise<ReportResponse>;
|
8401
|
+
/**
|
8402
|
+
* Get signed access URL for report
|
8403
|
+
* @summary Get signed access URL for report
|
8404
|
+
* @param {*} [options] Override http request option.
|
8405
|
+
* @throws {RequiredError}
|
8406
|
+
*/
|
8407
|
+
getReportUrl(options?: any): AxiosPromise<ReportUrlResponse>;
|
8367
8408
|
/**
|
8368
8409
|
* List all supported report types, which can be generated by the user
|
8369
8410
|
* @summary List report types
|
@@ -8397,6 +8438,14 @@ export declare class ReportsApi extends BaseAPI {
|
|
8397
8438
|
* @memberof ReportsApi
|
8398
8439
|
*/
|
8399
8440
|
generateReport(type: string, reportCreationRequest?: ReportCreationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReportResponse, any>>;
|
8441
|
+
/**
|
8442
|
+
* Get signed access URL for report
|
8443
|
+
* @summary Get signed access URL for report
|
8444
|
+
* @param {*} [options] Override http request option.
|
8445
|
+
* @throws {RequiredError}
|
8446
|
+
* @memberof ReportsApi
|
8447
|
+
*/
|
8448
|
+
getReportUrl(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReportUrlResponse, any>>;
|
8400
8449
|
/**
|
8401
8450
|
* List all supported report types, which can be generated by the user
|
8402
8451
|
* @summary List report types
|
package/dist/esm/api.js
CHANGED
@@ -112,7 +112,8 @@ export const Feature = {
|
|
112
112
|
UserInfo: 'user_info',
|
113
113
|
ExternalInventory: 'external_inventory',
|
114
114
|
OrderEvents: 'order_events',
|
115
|
-
OrderStatusPolling: 'order_status_polling'
|
115
|
+
OrderStatusPolling: 'order_status_polling',
|
116
|
+
SmsSending: 'sms_sending'
|
116
117
|
};
|
117
118
|
/**
|
118
119
|
*
|
@@ -2879,7 +2880,7 @@ export const NotificationApiAxiosParamCreator = function (configuration) {
|
|
2879
2880
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
2880
2881
|
const localVarHeaderParameter = {};
|
2881
2882
|
const localVarQueryParameter = {};
|
2882
|
-
// authentication
|
2883
|
+
// authentication systemJWT required
|
2883
2884
|
// http bearer authentication required
|
2884
2885
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
2885
2886
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
@@ -2910,7 +2911,7 @@ export const NotificationApiAxiosParamCreator = function (configuration) {
|
|
2910
2911
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
2911
2912
|
const localVarHeaderParameter = {};
|
2912
2913
|
const localVarQueryParameter = {};
|
2913
|
-
// authentication
|
2914
|
+
// authentication systemJWT required
|
2914
2915
|
// http bearer authentication required
|
2915
2916
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
2916
2917
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
@@ -3104,7 +3105,7 @@ export const NotificationsApiAxiosParamCreator = function (configuration) {
|
|
3104
3105
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
3105
3106
|
const localVarHeaderParameter = {};
|
3106
3107
|
const localVarQueryParameter = {};
|
3107
|
-
// authentication
|
3108
|
+
// authentication systemJWT required
|
3108
3109
|
// http bearer authentication required
|
3109
3110
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
3110
3111
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
@@ -3231,7 +3232,7 @@ export const NotificationsApiAxiosParamCreator = function (configuration) {
|
|
3231
3232
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
3232
3233
|
const localVarHeaderParameter = {};
|
3233
3234
|
const localVarQueryParameter = {};
|
3234
|
-
// authentication
|
3235
|
+
// authentication systemJWT required
|
3235
3236
|
// http bearer authentication required
|
3236
3237
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
3237
3238
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
@@ -6416,6 +6417,34 @@ export const ReportsApiAxiosParamCreator = function (configuration) {
|
|
6416
6417
|
options: localVarRequestOptions,
|
6417
6418
|
};
|
6418
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
|
+
}),
|
6419
6448
|
/**
|
6420
6449
|
* List all supported report types, which can be generated by the user
|
6421
6450
|
* @summary List report types
|
@@ -6499,6 +6528,18 @@ export const ReportsApiFp = function (configuration) {
|
|
6499
6528
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
6500
6529
|
});
|
6501
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
|
+
},
|
6502
6543
|
/**
|
6503
6544
|
* List all supported report types, which can be generated by the user
|
6504
6545
|
* @summary List report types
|
@@ -6544,6 +6585,15 @@ export const ReportsApiFactory = function (configuration, basePath, axios) {
|
|
6544
6585
|
generateReport(type, reportCreationRequest, options) {
|
6545
6586
|
return localVarFp.generateReport(type, reportCreationRequest, options).then((request) => request(axios, basePath));
|
6546
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
|
+
},
|
6547
6597
|
/**
|
6548
6598
|
* List all supported report types, which can be generated by the user
|
6549
6599
|
* @summary List report types
|
@@ -6584,6 +6634,16 @@ export class ReportsApi extends BaseAPI {
|
|
6584
6634
|
generateReport(type, reportCreationRequest, options) {
|
6585
6635
|
return ReportsApiFp(this.configuration).generateReport(type, reportCreationRequest, options).then((request) => request(this.axios, this.basePath));
|
6586
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
|
+
}
|
6587
6647
|
/**
|
6588
6648
|
* List all supported report types, which can be generated by the user
|
6589
6649
|
* @summary List report types
|