flexinet-api 0.0.2274 → 0.0.2276

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@v0.0.2274
1
+ ## flexinet-api@0.0.2276
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@v0.0.2274 --save
39
+ npm install flexinet-api@0.0.2276 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -182,6 +182,91 @@ export const AuditLogObjectType = {
182
182
  export type AuditLogObjectType = typeof AuditLogObjectType[keyof typeof AuditLogObjectType];
183
183
 
184
184
 
185
+ /**
186
+ *
187
+ * @export
188
+ * @interface AuthorizationConfig
189
+ */
190
+ export interface AuthorizationConfig {
191
+ /**
192
+ *
193
+ * @type {string}
194
+ * @memberof AuthorizationConfig
195
+ */
196
+ 'adminKeyConfig': string;
197
+ /**
198
+ *
199
+ * @type {string}
200
+ * @memberof AuthorizationConfig
201
+ */
202
+ 'adminIssuer': string;
203
+ /**
204
+ *
205
+ * @type {string}
206
+ * @memberof AuthorizationConfig
207
+ */
208
+ 'adminAudience': string;
209
+ /**
210
+ *
211
+ * @type {string}
212
+ * @memberof AuthorizationConfig
213
+ */
214
+ 'customerAudience': string;
215
+ /**
216
+ *
217
+ * @type {string}
218
+ * @memberof AuthorizationConfig
219
+ */
220
+ 'customerOpenIDKeyConfig': string;
221
+ /**
222
+ *
223
+ * @type {string}
224
+ * @memberof AuthorizationConfig
225
+ */
226
+ 'customerOpenIDIssuer': string;
227
+ /**
228
+ *
229
+ * @type {string}
230
+ * @memberof AuthorizationConfig
231
+ */
232
+ 'customerOpenIDClientID': string;
233
+ /**
234
+ *
235
+ * @type {string}
236
+ * @memberof AuthorizationConfig
237
+ */
238
+ 'customerOpenIDSecret': string;
239
+ /**
240
+ *
241
+ * @type {string}
242
+ * @memberof AuthorizationConfig
243
+ */
244
+ 'customerOpenIDMetadataURL': string;
245
+ /**
246
+ *
247
+ * @type {{ [key: string]: string; }}
248
+ * @memberof AuthorizationConfig
249
+ */
250
+ 'customerOpenIDParameters': { [key: string]: string; };
251
+ /**
252
+ *
253
+ * @type {string}
254
+ * @memberof AuthorizationConfig
255
+ */
256
+ 'azureEntraTenantID': string;
257
+ /**
258
+ *
259
+ * @type {string}
260
+ * @memberof AuthorizationConfig
261
+ */
262
+ 'azureEntraClientID': string;
263
+ /**
264
+ *
265
+ * @type {string}
266
+ * @memberof AuthorizationConfig
267
+ */
268
+ 'customerLoginUrl': string;
269
+ }
185
270
  /**
186
271
  *
187
272
  * @export
@@ -1151,7 +1236,8 @@ export const Feature = {
1151
1236
  UserInfo: 'user_info',
1152
1237
  ExternalInventory: 'external_inventory',
1153
1238
  OrderEvents: 'order_events',
1154
- OrderStatusPolling: 'order_status_polling'
1239
+ OrderStatusPolling: 'order_status_polling',
1240
+ SmsSending: 'sms_sending'
1155
1241
  } as const;
1156
1242
 
1157
1243
  export type Feature = typeof Feature[keyof typeof Feature];
@@ -3361,6 +3447,19 @@ export const ReportTypesResponseTypesEnum = {
3361
3447
 
3362
3448
  export type ReportTypesResponseTypesEnum = typeof ReportTypesResponseTypesEnum[keyof typeof ReportTypesResponseTypesEnum];
3363
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
+ }
3364
3463
  /**
3365
3464
  * @type Rule
3366
3465
  * @export
@@ -4326,6 +4425,12 @@ export interface TenantConfing {
4326
4425
  * @memberof TenantConfing
4327
4426
  */
4328
4427
  'branding': BrandingConfig;
4428
+ /**
4429
+ *
4430
+ * @type {AuthorizationConfig}
4431
+ * @memberof TenantConfing
4432
+ */
4433
+ 'auth': AuthorizationConfig;
4329
4434
  }
4330
4435
 
4331
4436
 
@@ -7974,7 +8079,7 @@ export const NotificationApiAxiosParamCreator = function (configuration?: Config
7974
8079
  const localVarHeaderParameter = {} as any;
7975
8080
  const localVarQueryParameter = {} as any;
7976
8081
 
7977
- // authentication customerJWT required
8082
+ // authentication systemJWT required
7978
8083
  // http bearer authentication required
7979
8084
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
7980
8085
 
@@ -8011,7 +8116,7 @@ export const NotificationApiAxiosParamCreator = function (configuration?: Config
8011
8116
  const localVarHeaderParameter = {} as any;
8012
8117
  const localVarQueryParameter = {} as any;
8013
8118
 
8014
- // authentication customerJWT required
8119
+ // authentication systemJWT required
8015
8120
  // http bearer authentication required
8016
8121
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
8017
8122
 
@@ -8228,7 +8333,7 @@ export const NotificationsApiAxiosParamCreator = function (configuration?: Confi
8228
8333
  const localVarHeaderParameter = {} as any;
8229
8334
  const localVarQueryParameter = {} as any;
8230
8335
 
8231
- // authentication customerJWT required
8336
+ // authentication systemJWT required
8232
8337
  // http bearer authentication required
8233
8338
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
8234
8339
 
@@ -8381,7 +8486,7 @@ export const NotificationsApiAxiosParamCreator = function (configuration?: Confi
8381
8486
  const localVarHeaderParameter = {} as any;
8382
8487
  const localVarQueryParameter = {} as any;
8383
8488
 
8384
- // authentication customerJWT required
8489
+ // authentication systemJWT required
8385
8490
  // http bearer authentication required
8386
8491
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
8387
8492
 
@@ -11852,6 +11957,40 @@ export const ReportsApiAxiosParamCreator = function (configuration?: Configurati
11852
11957
  options: localVarRequestOptions,
11853
11958
  };
11854
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
+ },
11855
11994
  /**
11856
11995
  * List all supported report types, which can be generated by the user
11857
11996
  * @summary List report types
@@ -11946,6 +12085,16 @@ export const ReportsApiFp = function(configuration?: Configuration) {
11946
12085
  const localVarAxiosArgs = await localVarAxiosParamCreator.generateReport(type, reportCreationRequest, options);
11947
12086
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
11948
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
+ },
11949
12098
  /**
11950
12099
  * List all supported report types, which can be generated by the user
11951
12100
  * @summary List report types
@@ -11988,6 +12137,15 @@ export const ReportsApiFactory = function (configuration?: Configuration, basePa
11988
12137
  generateReport(type: string, reportCreationRequest?: ReportCreationRequest, options?: any): AxiosPromise<ReportResponse> {
11989
12138
  return localVarFp.generateReport(type, reportCreationRequest, options).then((request) => request(axios, basePath));
11990
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
+ },
11991
12149
  /**
11992
12150
  * List all supported report types, which can be generated by the user
11993
12151
  * @summary List report types
@@ -12030,6 +12188,17 @@ export class ReportsApi extends BaseAPI {
12030
12188
  return ReportsApiFp(this.configuration).generateReport(type, reportCreationRequest, options).then((request) => request(this.axios, this.basePath));
12031
12189
  }
12032
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
+
12033
12202
  /**
12034
12203
  * List all supported report types, which can be generated by the user
12035
12204
  * @summary List report types
package/dist/api.d.ts CHANGED
@@ -157,6 +157,93 @@ export declare const AuditLogObjectType: {
157
157
  readonly ApiKey: "api_key";
158
158
  };
159
159
  export type AuditLogObjectType = typeof AuditLogObjectType[keyof typeof AuditLogObjectType];
160
+ /**
161
+ *
162
+ * @export
163
+ * @interface AuthorizationConfig
164
+ */
165
+ export interface AuthorizationConfig {
166
+ /**
167
+ *
168
+ * @type {string}
169
+ * @memberof AuthorizationConfig
170
+ */
171
+ 'adminKeyConfig': string;
172
+ /**
173
+ *
174
+ * @type {string}
175
+ * @memberof AuthorizationConfig
176
+ */
177
+ 'adminIssuer': string;
178
+ /**
179
+ *
180
+ * @type {string}
181
+ * @memberof AuthorizationConfig
182
+ */
183
+ 'adminAudience': string;
184
+ /**
185
+ *
186
+ * @type {string}
187
+ * @memberof AuthorizationConfig
188
+ */
189
+ 'customerAudience': string;
190
+ /**
191
+ *
192
+ * @type {string}
193
+ * @memberof AuthorizationConfig
194
+ */
195
+ 'customerOpenIDKeyConfig': string;
196
+ /**
197
+ *
198
+ * @type {string}
199
+ * @memberof AuthorizationConfig
200
+ */
201
+ 'customerOpenIDIssuer': string;
202
+ /**
203
+ *
204
+ * @type {string}
205
+ * @memberof AuthorizationConfig
206
+ */
207
+ 'customerOpenIDClientID': string;
208
+ /**
209
+ *
210
+ * @type {string}
211
+ * @memberof AuthorizationConfig
212
+ */
213
+ 'customerOpenIDSecret': string;
214
+ /**
215
+ *
216
+ * @type {string}
217
+ * @memberof AuthorizationConfig
218
+ */
219
+ 'customerOpenIDMetadataURL': string;
220
+ /**
221
+ *
222
+ * @type {{ [key: string]: string; }}
223
+ * @memberof AuthorizationConfig
224
+ */
225
+ 'customerOpenIDParameters': {
226
+ [key: string]: string;
227
+ };
228
+ /**
229
+ *
230
+ * @type {string}
231
+ * @memberof AuthorizationConfig
232
+ */
233
+ 'azureEntraTenantID': string;
234
+ /**
235
+ *
236
+ * @type {string}
237
+ * @memberof AuthorizationConfig
238
+ */
239
+ 'azureEntraClientID': string;
240
+ /**
241
+ *
242
+ * @type {string}
243
+ * @memberof AuthorizationConfig
244
+ */
245
+ 'customerLoginUrl': string;
246
+ }
160
247
  /**
161
248
  *
162
249
  * @export
@@ -1085,6 +1172,7 @@ export declare const Feature: {
1085
1172
  readonly ExternalInventory: "external_inventory";
1086
1173
  readonly OrderEvents: "order_events";
1087
1174
  readonly OrderStatusPolling: "order_status_polling";
1175
+ readonly SmsSending: "sms_sending";
1088
1176
  };
1089
1177
  export type Feature = typeof Feature[keyof typeof Feature];
1090
1178
  /**
@@ -3201,6 +3289,19 @@ export declare const ReportTypesResponseTypesEnum: {
3201
3289
  readonly PromotionExpanded: "promotion_expanded";
3202
3290
  };
3203
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
+ }
3204
3305
  /**
3205
3306
  * @type Rule
3206
3307
  * @export
@@ -4132,6 +4233,12 @@ export interface TenantConfing {
4132
4233
  * @memberof TenantConfing
4133
4234
  */
4134
4235
  'branding': BrandingConfig;
4236
+ /**
4237
+ *
4238
+ * @type {AuthorizationConfig}
4239
+ * @memberof TenantConfing
4240
+ */
4241
+ 'auth': AuthorizationConfig;
4135
4242
  }
4136
4243
  /**
4137
4244
  *
@@ -8211,6 +8318,13 @@ export declare const ReportsApiAxiosParamCreator: (configuration?: Configuration
8211
8318
  * @throws {RequiredError}
8212
8319
  */
8213
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>;
8214
8328
  /**
8215
8329
  * List all supported report types, which can be generated by the user
8216
8330
  * @summary List report types
@@ -8241,6 +8355,13 @@ export declare const ReportsApiFp: (configuration?: Configuration) => {
8241
8355
  * @throws {RequiredError}
8242
8356
  */
8243
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>>;
8244
8365
  /**
8245
8366
  * List all supported report types, which can be generated by the user
8246
8367
  * @summary List report types
@@ -8271,6 +8392,13 @@ export declare const ReportsApiFactory: (configuration?: Configuration, basePath
8271
8392
  * @throws {RequiredError}
8272
8393
  */
8273
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>;
8274
8402
  /**
8275
8403
  * List all supported report types, which can be generated by the user
8276
8404
  * @summary List report types
@@ -8304,6 +8432,14 @@ export declare class ReportsApi extends BaseAPI {
8304
8432
  * @memberof ReportsApi
8305
8433
  */
8306
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>>;
8307
8443
  /**
8308
8444
  * List all supported report types, which can be generated by the user
8309
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 customerJWT required
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 customerJWT required
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 customerJWT required
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 customerJWT required
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
@@ -157,6 +157,93 @@ export declare const AuditLogObjectType: {
157
157
  readonly ApiKey: "api_key";
158
158
  };
159
159
  export type AuditLogObjectType = typeof AuditLogObjectType[keyof typeof AuditLogObjectType];
160
+ /**
161
+ *
162
+ * @export
163
+ * @interface AuthorizationConfig
164
+ */
165
+ export interface AuthorizationConfig {
166
+ /**
167
+ *
168
+ * @type {string}
169
+ * @memberof AuthorizationConfig
170
+ */
171
+ 'adminKeyConfig': string;
172
+ /**
173
+ *
174
+ * @type {string}
175
+ * @memberof AuthorizationConfig
176
+ */
177
+ 'adminIssuer': string;
178
+ /**
179
+ *
180
+ * @type {string}
181
+ * @memberof AuthorizationConfig
182
+ */
183
+ 'adminAudience': string;
184
+ /**
185
+ *
186
+ * @type {string}
187
+ * @memberof AuthorizationConfig
188
+ */
189
+ 'customerAudience': string;
190
+ /**
191
+ *
192
+ * @type {string}
193
+ * @memberof AuthorizationConfig
194
+ */
195
+ 'customerOpenIDKeyConfig': string;
196
+ /**
197
+ *
198
+ * @type {string}
199
+ * @memberof AuthorizationConfig
200
+ */
201
+ 'customerOpenIDIssuer': string;
202
+ /**
203
+ *
204
+ * @type {string}
205
+ * @memberof AuthorizationConfig
206
+ */
207
+ 'customerOpenIDClientID': string;
208
+ /**
209
+ *
210
+ * @type {string}
211
+ * @memberof AuthorizationConfig
212
+ */
213
+ 'customerOpenIDSecret': string;
214
+ /**
215
+ *
216
+ * @type {string}
217
+ * @memberof AuthorizationConfig
218
+ */
219
+ 'customerOpenIDMetadataURL': string;
220
+ /**
221
+ *
222
+ * @type {{ [key: string]: string; }}
223
+ * @memberof AuthorizationConfig
224
+ */
225
+ 'customerOpenIDParameters': {
226
+ [key: string]: string;
227
+ };
228
+ /**
229
+ *
230
+ * @type {string}
231
+ * @memberof AuthorizationConfig
232
+ */
233
+ 'azureEntraTenantID': string;
234
+ /**
235
+ *
236
+ * @type {string}
237
+ * @memberof AuthorizationConfig
238
+ */
239
+ 'azureEntraClientID': string;
240
+ /**
241
+ *
242
+ * @type {string}
243
+ * @memberof AuthorizationConfig
244
+ */
245
+ 'customerLoginUrl': string;
246
+ }
160
247
  /**
161
248
  *
162
249
  * @export
@@ -1085,6 +1172,7 @@ export declare const Feature: {
1085
1172
  readonly ExternalInventory: "external_inventory";
1086
1173
  readonly OrderEvents: "order_events";
1087
1174
  readonly OrderStatusPolling: "order_status_polling";
1175
+ readonly SmsSending: "sms_sending";
1088
1176
  };
1089
1177
  export type Feature = typeof Feature[keyof typeof Feature];
1090
1178
  /**
@@ -3201,6 +3289,19 @@ export declare const ReportTypesResponseTypesEnum: {
3201
3289
  readonly PromotionExpanded: "promotion_expanded";
3202
3290
  };
3203
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
+ }
3204
3305
  /**
3205
3306
  * @type Rule
3206
3307
  * @export
@@ -4132,6 +4233,12 @@ export interface TenantConfing {
4132
4233
  * @memberof TenantConfing
4133
4234
  */
4134
4235
  'branding': BrandingConfig;
4236
+ /**
4237
+ *
4238
+ * @type {AuthorizationConfig}
4239
+ * @memberof TenantConfing
4240
+ */
4241
+ 'auth': AuthorizationConfig;
4135
4242
  }
4136
4243
  /**
4137
4244
  *
@@ -8211,6 +8318,13 @@ export declare const ReportsApiAxiosParamCreator: (configuration?: Configuration
8211
8318
  * @throws {RequiredError}
8212
8319
  */
8213
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>;
8214
8328
  /**
8215
8329
  * List all supported report types, which can be generated by the user
8216
8330
  * @summary List report types
@@ -8241,6 +8355,13 @@ export declare const ReportsApiFp: (configuration?: Configuration) => {
8241
8355
  * @throws {RequiredError}
8242
8356
  */
8243
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>>;
8244
8365
  /**
8245
8366
  * List all supported report types, which can be generated by the user
8246
8367
  * @summary List report types
@@ -8271,6 +8392,13 @@ export declare const ReportsApiFactory: (configuration?: Configuration, basePath
8271
8392
  * @throws {RequiredError}
8272
8393
  */
8273
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>;
8274
8402
  /**
8275
8403
  * List all supported report types, which can be generated by the user
8276
8404
  * @summary List report types
@@ -8304,6 +8432,14 @@ export declare class ReportsApi extends BaseAPI {
8304
8432
  * @memberof ReportsApi
8305
8433
  */
8306
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>>;
8307
8443
  /**
8308
8444
  * List all supported report types, which can be generated by the user
8309
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 customerJWT required
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 customerJWT required
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 customerJWT required
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 customerJWT required
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flexinet-api",
3
- "version": "v0.0.2274",
3
+ "version": "0.0.2276",
4
4
  "description": "OpenAPI client for flexinet-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {