flexinet-api 0.0.2281 → 0.0.2282
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 +83 -5
- package/dist/api.d.ts +43 -0
- package/dist/api.js +65 -5
- package/dist/esm/api.d.ts +43 -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.2282
|
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.2282 --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,19 @@ 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
|
+
'url': string;
|
3462
|
+
}
|
3449
3463
|
/**
|
3450
3464
|
* @type Rule
|
3451
3465
|
* @export
|
@@ -8065,7 +8079,7 @@ export const NotificationApiAxiosParamCreator = function (configuration?: Config
|
|
8065
8079
|
const localVarHeaderParameter = {} as any;
|
8066
8080
|
const localVarQueryParameter = {} as any;
|
8067
8081
|
|
8068
|
-
// authentication
|
8082
|
+
// authentication systemJWT required
|
8069
8083
|
// http bearer authentication required
|
8070
8084
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
8071
8085
|
|
@@ -8102,7 +8116,7 @@ export const NotificationApiAxiosParamCreator = function (configuration?: Config
|
|
8102
8116
|
const localVarHeaderParameter = {} as any;
|
8103
8117
|
const localVarQueryParameter = {} as any;
|
8104
8118
|
|
8105
|
-
// authentication
|
8119
|
+
// authentication systemJWT required
|
8106
8120
|
// http bearer authentication required
|
8107
8121
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
8108
8122
|
|
@@ -8319,7 +8333,7 @@ export const NotificationsApiAxiosParamCreator = function (configuration?: Confi
|
|
8319
8333
|
const localVarHeaderParameter = {} as any;
|
8320
8334
|
const localVarQueryParameter = {} as any;
|
8321
8335
|
|
8322
|
-
// authentication
|
8336
|
+
// authentication systemJWT required
|
8323
8337
|
// http bearer authentication required
|
8324
8338
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
8325
8339
|
|
@@ -8472,7 +8486,7 @@ export const NotificationsApiAxiosParamCreator = function (configuration?: Confi
|
|
8472
8486
|
const localVarHeaderParameter = {} as any;
|
8473
8487
|
const localVarQueryParameter = {} as any;
|
8474
8488
|
|
8475
|
-
// authentication
|
8489
|
+
// authentication systemJWT required
|
8476
8490
|
// http bearer authentication required
|
8477
8491
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
8478
8492
|
|
@@ -11943,6 +11957,40 @@ export const ReportsApiAxiosParamCreator = function (configuration?: Configurati
|
|
11943
11957
|
options: localVarRequestOptions,
|
11944
11958
|
};
|
11945
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
|
+
},
|
11946
11994
|
/**
|
11947
11995
|
* List all supported report types, which can be generated by the user
|
11948
11996
|
* @summary List report types
|
@@ -12037,6 +12085,16 @@ export const ReportsApiFp = function(configuration?: Configuration) {
|
|
12037
12085
|
const localVarAxiosArgs = await localVarAxiosParamCreator.generateReport(type, reportCreationRequest, options);
|
12038
12086
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
12039
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
|
+
},
|
12040
12098
|
/**
|
12041
12099
|
* List all supported report types, which can be generated by the user
|
12042
12100
|
* @summary List report types
|
@@ -12079,6 +12137,15 @@ export const ReportsApiFactory = function (configuration?: Configuration, basePa
|
|
12079
12137
|
generateReport(type: string, reportCreationRequest?: ReportCreationRequest, options?: any): AxiosPromise<ReportResponse> {
|
12080
12138
|
return localVarFp.generateReport(type, reportCreationRequest, options).then((request) => request(axios, basePath));
|
12081
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
|
+
},
|
12082
12149
|
/**
|
12083
12150
|
* List all supported report types, which can be generated by the user
|
12084
12151
|
* @summary List report types
|
@@ -12121,6 +12188,17 @@ export class ReportsApi extends BaseAPI {
|
|
12121
12188
|
return ReportsApiFp(this.configuration).generateReport(type, reportCreationRequest, options).then((request) => request(this.axios, this.basePath));
|
12122
12189
|
}
|
12123
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
|
+
|
12124
12202
|
/**
|
12125
12203
|
* List all supported report types, which can be generated by the user
|
12126
12204
|
* @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,19 @@ 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
|
+
'url': string;
|
3304
|
+
}
|
3291
3305
|
/**
|
3292
3306
|
* @type Rule
|
3293
3307
|
* @export
|
@@ -8304,6 +8318,13 @@ export declare const ReportsApiAxiosParamCreator: (configuration?: Configuration
|
|
8304
8318
|
* @throws {RequiredError}
|
8305
8319
|
*/
|
8306
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>;
|
8307
8328
|
/**
|
8308
8329
|
* List all supported report types, which can be generated by the user
|
8309
8330
|
* @summary List report types
|
@@ -8334,6 +8355,13 @@ export declare const ReportsApiFp: (configuration?: Configuration) => {
|
|
8334
8355
|
* @throws {RequiredError}
|
8335
8356
|
*/
|
8336
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>>;
|
8337
8365
|
/**
|
8338
8366
|
* List all supported report types, which can be generated by the user
|
8339
8367
|
* @summary List report types
|
@@ -8364,6 +8392,13 @@ export declare const ReportsApiFactory: (configuration?: Configuration, basePath
|
|
8364
8392
|
* @throws {RequiredError}
|
8365
8393
|
*/
|
8366
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>;
|
8367
8402
|
/**
|
8368
8403
|
* List all supported report types, which can be generated by the user
|
8369
8404
|
* @summary List report types
|
@@ -8397,6 +8432,14 @@ export declare class ReportsApi extends BaseAPI {
|
|
8397
8432
|
* @memberof ReportsApi
|
8398
8433
|
*/
|
8399
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>>;
|
8400
8443
|
/**
|
8401
8444
|
* List all supported report types, which can be generated by the user
|
8402
8445
|
* @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,19 @@ 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
|
+
'url': string;
|
3304
|
+
}
|
3291
3305
|
/**
|
3292
3306
|
* @type Rule
|
3293
3307
|
* @export
|
@@ -8304,6 +8318,13 @@ export declare const ReportsApiAxiosParamCreator: (configuration?: Configuration
|
|
8304
8318
|
* @throws {RequiredError}
|
8305
8319
|
*/
|
8306
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>;
|
8307
8328
|
/**
|
8308
8329
|
* List all supported report types, which can be generated by the user
|
8309
8330
|
* @summary List report types
|
@@ -8334,6 +8355,13 @@ export declare const ReportsApiFp: (configuration?: Configuration) => {
|
|
8334
8355
|
* @throws {RequiredError}
|
8335
8356
|
*/
|
8336
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>>;
|
8337
8365
|
/**
|
8338
8366
|
* List all supported report types, which can be generated by the user
|
8339
8367
|
* @summary List report types
|
@@ -8364,6 +8392,13 @@ export declare const ReportsApiFactory: (configuration?: Configuration, basePath
|
|
8364
8392
|
* @throws {RequiredError}
|
8365
8393
|
*/
|
8366
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>;
|
8367
8402
|
/**
|
8368
8403
|
* List all supported report types, which can be generated by the user
|
8369
8404
|
* @summary List report types
|
@@ -8397,6 +8432,14 @@ export declare class ReportsApi extends BaseAPI {
|
|
8397
8432
|
* @memberof ReportsApi
|
8398
8433
|
*/
|
8399
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>>;
|
8400
8443
|
/**
|
8401
8444
|
* List all supported report types, which can be generated by the user
|
8402
8445
|
* @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
|