flexinet-api 0.0.2314 → 0.0.2319

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/dist/esm/api.js CHANGED
@@ -46,7 +46,8 @@ export const AuditLogActionEnum = {
46
46
  */
47
47
  export const AuditLogObjectType = {
48
48
  Promotion: 'promotion',
49
- ApiKey: 'api_key'
49
+ ApiKey: 'api_key',
50
+ Config: 'config'
50
51
  };
51
52
  /**
52
53
  *
@@ -112,7 +113,8 @@ export const Feature = {
112
113
  UserInfo: 'user_info',
113
114
  ExternalInventory: 'external_inventory',
114
115
  OrderEvents: 'order_events',
115
- OrderStatusPolling: 'order_status_polling'
116
+ OrderStatusPolling: 'order_status_polling',
117
+ SmsSending: 'sms_sending'
116
118
  };
117
119
  /**
118
120
  *
@@ -1777,13 +1779,13 @@ export const ConfigurationsApiAxiosParamCreator = function (configuration) {
1777
1779
  /**
1778
1780
  * Create or update backoffice configuration for the current tenant
1779
1781
  * @summary Create configuration
1780
- * @param {TenantConfing} tenantConfing Configuration data
1782
+ * @param {TenantConfingRequest} tenantConfingRequest Configuration data
1781
1783
  * @param {*} [options] Override http request option.
1782
1784
  * @throws {RequiredError}
1783
1785
  */
1784
- createV2Configuration: (tenantConfing, options = {}) => __awaiter(this, void 0, void 0, function* () {
1785
- // verify required parameter 'tenantConfing' is not null or undefined
1786
- assertParamExists('createV2Configuration', 'tenantConfing', tenantConfing);
1786
+ createV2Configuration: (tenantConfingRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
1787
+ // verify required parameter 'tenantConfingRequest' is not null or undefined
1788
+ assertParamExists('createV2Configuration', 'tenantConfingRequest', tenantConfingRequest);
1787
1789
  const localVarPath = `/v2/admins/configurations`;
1788
1790
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1789
1791
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1801,7 +1803,7 @@ export const ConfigurationsApiAxiosParamCreator = function (configuration) {
1801
1803
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1802
1804
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1803
1805
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1804
- localVarRequestOptions.data = serializeDataIfNeeded(tenantConfing, localVarRequestOptions, configuration);
1806
+ localVarRequestOptions.data = serializeDataIfNeeded(tenantConfingRequest, localVarRequestOptions, configuration);
1805
1807
  return {
1806
1808
  url: toPathString(localVarUrlObj),
1807
1809
  options: localVarRequestOptions,
@@ -1975,13 +1977,13 @@ export const ConfigurationsApiFp = function (configuration) {
1975
1977
  /**
1976
1978
  * Create or update backoffice configuration for the current tenant
1977
1979
  * @summary Create configuration
1978
- * @param {TenantConfing} tenantConfing Configuration data
1980
+ * @param {TenantConfingRequest} tenantConfingRequest Configuration data
1979
1981
  * @param {*} [options] Override http request option.
1980
1982
  * @throws {RequiredError}
1981
1983
  */
1982
- createV2Configuration(tenantConfing, options) {
1984
+ createV2Configuration(tenantConfingRequest, options) {
1983
1985
  return __awaiter(this, void 0, void 0, function* () {
1984
- const localVarAxiosArgs = yield localVarAxiosParamCreator.createV2Configuration(tenantConfing, options);
1986
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createV2Configuration(tenantConfingRequest, options);
1985
1987
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1986
1988
  });
1987
1989
  },
@@ -2068,12 +2070,12 @@ export const ConfigurationsApiFactory = function (configuration, basePath, axios
2068
2070
  /**
2069
2071
  * Create or update backoffice configuration for the current tenant
2070
2072
  * @summary Create configuration
2071
- * @param {TenantConfing} tenantConfing Configuration data
2073
+ * @param {TenantConfingRequest} tenantConfingRequest Configuration data
2072
2074
  * @param {*} [options] Override http request option.
2073
2075
  * @throws {RequiredError}
2074
2076
  */
2075
- createV2Configuration(tenantConfing, options) {
2076
- return localVarFp.createV2Configuration(tenantConfing, options).then((request) => request(axios, basePath));
2077
+ createV2Configuration(tenantConfingRequest, options) {
2078
+ return localVarFp.createV2Configuration(tenantConfingRequest, options).then((request) => request(axios, basePath));
2077
2079
  },
2078
2080
  /**
2079
2081
  * List backoffice configurations for the current tenant
@@ -2144,13 +2146,13 @@ export class ConfigurationsApi extends BaseAPI {
2144
2146
  /**
2145
2147
  * Create or update backoffice configuration for the current tenant
2146
2148
  * @summary Create configuration
2147
- * @param {TenantConfing} tenantConfing Configuration data
2149
+ * @param {TenantConfingRequest} tenantConfingRequest Configuration data
2148
2150
  * @param {*} [options] Override http request option.
2149
2151
  * @throws {RequiredError}
2150
2152
  * @memberof ConfigurationsApi
2151
2153
  */
2152
- createV2Configuration(tenantConfing, options) {
2153
- return ConfigurationsApiFp(this.configuration).createV2Configuration(tenantConfing, options).then((request) => request(this.axios, this.basePath));
2154
+ createV2Configuration(tenantConfingRequest, options) {
2155
+ return ConfigurationsApiFp(this.configuration).createV2Configuration(tenantConfingRequest, options).then((request) => request(this.axios, this.basePath));
2154
2156
  }
2155
2157
  /**
2156
2158
  * List backoffice configurations for the current tenant
@@ -2569,6 +2571,44 @@ export const EventsApiAxiosParamCreator = function (configuration) {
2569
2571
  options: localVarRequestOptions,
2570
2572
  };
2571
2573
  }),
2574
+ /**
2575
+ * Search events
2576
+ * @summary Search events
2577
+ * @param {string} reference Reference ID
2578
+ * @param {string} [nextToken] This is the pagination token
2579
+ * @param {*} [options] Override http request option.
2580
+ * @throws {RequiredError}
2581
+ */
2582
+ searchEvents: (reference, nextToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
2583
+ // verify required parameter 'reference' is not null or undefined
2584
+ assertParamExists('searchEvents', 'reference', reference);
2585
+ const localVarPath = `/admins/events`;
2586
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2587
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2588
+ let baseOptions;
2589
+ if (configuration) {
2590
+ baseOptions = configuration.baseOptions;
2591
+ }
2592
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2593
+ const localVarHeaderParameter = {};
2594
+ const localVarQueryParameter = {};
2595
+ // authentication systemJWT required
2596
+ // http bearer authentication required
2597
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
2598
+ if (nextToken !== undefined) {
2599
+ localVarQueryParameter['nextToken'] = nextToken;
2600
+ }
2601
+ if (reference !== undefined) {
2602
+ localVarQueryParameter['reference'] = reference;
2603
+ }
2604
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2605
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2606
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2607
+ return {
2608
+ url: toPathString(localVarUrlObj),
2609
+ options: localVarRequestOptions,
2610
+ };
2611
+ }),
2572
2612
  };
2573
2613
  };
2574
2614
  /**
@@ -2591,6 +2631,20 @@ export const EventsApiFp = function (configuration) {
2591
2631
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2592
2632
  });
2593
2633
  },
2634
+ /**
2635
+ * Search events
2636
+ * @summary Search events
2637
+ * @param {string} reference Reference ID
2638
+ * @param {string} [nextToken] This is the pagination token
2639
+ * @param {*} [options] Override http request option.
2640
+ * @throws {RequiredError}
2641
+ */
2642
+ searchEvents(reference, nextToken, options) {
2643
+ return __awaiter(this, void 0, void 0, function* () {
2644
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.searchEvents(reference, nextToken, options);
2645
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2646
+ });
2647
+ },
2594
2648
  };
2595
2649
  };
2596
2650
  /**
@@ -2610,6 +2664,17 @@ export const EventsApiFactory = function (configuration, basePath, axios) {
2610
2664
  importEvents(eventCreationRequest, options) {
2611
2665
  return localVarFp.importEvents(eventCreationRequest, options).then((request) => request(axios, basePath));
2612
2666
  },
2667
+ /**
2668
+ * Search events
2669
+ * @summary Search events
2670
+ * @param {string} reference Reference ID
2671
+ * @param {string} [nextToken] This is the pagination token
2672
+ * @param {*} [options] Override http request option.
2673
+ * @throws {RequiredError}
2674
+ */
2675
+ searchEvents(reference, nextToken, options) {
2676
+ return localVarFp.searchEvents(reference, nextToken, options).then((request) => request(axios, basePath));
2677
+ },
2613
2678
  };
2614
2679
  };
2615
2680
  /**
@@ -2630,6 +2695,18 @@ export class EventsApi extends BaseAPI {
2630
2695
  importEvents(eventCreationRequest, options) {
2631
2696
  return EventsApiFp(this.configuration).importEvents(eventCreationRequest, options).then((request) => request(this.axios, this.basePath));
2632
2697
  }
2698
+ /**
2699
+ * Search events
2700
+ * @summary Search events
2701
+ * @param {string} reference Reference ID
2702
+ * @param {string} [nextToken] This is the pagination token
2703
+ * @param {*} [options] Override http request option.
2704
+ * @throws {RequiredError}
2705
+ * @memberof EventsApi
2706
+ */
2707
+ searchEvents(reference, nextToken, options) {
2708
+ return EventsApiFp(this.configuration).searchEvents(reference, nextToken, options).then((request) => request(this.axios, this.basePath));
2709
+ }
2633
2710
  }
2634
2711
  /**
2635
2712
  * IntegrationsApi - axios parameter creator
@@ -2856,166 +2933,6 @@ export class IntegrationsApi extends BaseAPI {
2856
2933
  return IntegrationsApiFp(this.configuration).setWebhook(webhook, options).then((request) => request(this.axios, this.basePath));
2857
2934
  }
2858
2935
  }
2859
- /**
2860
- * NotificationApi - axios parameter creator
2861
- * @export
2862
- */
2863
- export const NotificationApiAxiosParamCreator = function (configuration) {
2864
- return {
2865
- /**
2866
- * Get preferences for the authenticated user
2867
- * @summary Get preferences
2868
- * @param {*} [options] Override http request option.
2869
- * @throws {RequiredError}
2870
- */
2871
- getSystemPreferences: (options = {}) => __awaiter(this, void 0, void 0, function* () {
2872
- const localVarPath = `/admins/preferences/system`;
2873
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
2874
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2875
- let baseOptions;
2876
- if (configuration) {
2877
- baseOptions = configuration.baseOptions;
2878
- }
2879
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2880
- const localVarHeaderParameter = {};
2881
- const localVarQueryParameter = {};
2882
- // authentication systemJWT required
2883
- // http bearer authentication required
2884
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
2885
- setSearchParams(localVarUrlObj, localVarQueryParameter);
2886
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2887
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2888
- return {
2889
- url: toPathString(localVarUrlObj),
2890
- options: localVarRequestOptions,
2891
- };
2892
- }),
2893
- /**
2894
- * Update preferences for the authenticated user
2895
- * @summary Update preferences
2896
- * @param {Array<NotificationPreference>} notificationPreference notification preferences
2897
- * @param {*} [options] Override http request option.
2898
- * @throws {RequiredError}
2899
- */
2900
- updateSystemPreferences: (notificationPreference, options = {}) => __awaiter(this, void 0, void 0, function* () {
2901
- // verify required parameter 'notificationPreference' is not null or undefined
2902
- assertParamExists('updateSystemPreferences', 'notificationPreference', notificationPreference);
2903
- const localVarPath = `/admins/preferences/system`;
2904
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
2905
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2906
- let baseOptions;
2907
- if (configuration) {
2908
- baseOptions = configuration.baseOptions;
2909
- }
2910
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
2911
- const localVarHeaderParameter = {};
2912
- const localVarQueryParameter = {};
2913
- // authentication systemJWT required
2914
- // http bearer authentication required
2915
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
2916
- localVarHeaderParameter['Content-Type'] = 'application/json';
2917
- setSearchParams(localVarUrlObj, localVarQueryParameter);
2918
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2919
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2920
- localVarRequestOptions.data = serializeDataIfNeeded(notificationPreference, localVarRequestOptions, configuration);
2921
- return {
2922
- url: toPathString(localVarUrlObj),
2923
- options: localVarRequestOptions,
2924
- };
2925
- }),
2926
- };
2927
- };
2928
- /**
2929
- * NotificationApi - functional programming interface
2930
- * @export
2931
- */
2932
- export const NotificationApiFp = function (configuration) {
2933
- const localVarAxiosParamCreator = NotificationApiAxiosParamCreator(configuration);
2934
- return {
2935
- /**
2936
- * Get preferences for the authenticated user
2937
- * @summary Get preferences
2938
- * @param {*} [options] Override http request option.
2939
- * @throws {RequiredError}
2940
- */
2941
- getSystemPreferences(options) {
2942
- return __awaiter(this, void 0, void 0, function* () {
2943
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getSystemPreferences(options);
2944
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2945
- });
2946
- },
2947
- /**
2948
- * Update preferences for the authenticated user
2949
- * @summary Update preferences
2950
- * @param {Array<NotificationPreference>} notificationPreference notification preferences
2951
- * @param {*} [options] Override http request option.
2952
- * @throws {RequiredError}
2953
- */
2954
- updateSystemPreferences(notificationPreference, options) {
2955
- return __awaiter(this, void 0, void 0, function* () {
2956
- const localVarAxiosArgs = yield localVarAxiosParamCreator.updateSystemPreferences(notificationPreference, options);
2957
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2958
- });
2959
- },
2960
- };
2961
- };
2962
- /**
2963
- * NotificationApi - factory interface
2964
- * @export
2965
- */
2966
- export const NotificationApiFactory = function (configuration, basePath, axios) {
2967
- const localVarFp = NotificationApiFp(configuration);
2968
- return {
2969
- /**
2970
- * Get preferences for the authenticated user
2971
- * @summary Get preferences
2972
- * @param {*} [options] Override http request option.
2973
- * @throws {RequiredError}
2974
- */
2975
- getSystemPreferences(options) {
2976
- return localVarFp.getSystemPreferences(options).then((request) => request(axios, basePath));
2977
- },
2978
- /**
2979
- * Update preferences for the authenticated user
2980
- * @summary Update preferences
2981
- * @param {Array<NotificationPreference>} notificationPreference notification preferences
2982
- * @param {*} [options] Override http request option.
2983
- * @throws {RequiredError}
2984
- */
2985
- updateSystemPreferences(notificationPreference, options) {
2986
- return localVarFp.updateSystemPreferences(notificationPreference, options).then((request) => request(axios, basePath));
2987
- },
2988
- };
2989
- };
2990
- /**
2991
- * NotificationApi - object-oriented interface
2992
- * @export
2993
- * @class NotificationApi
2994
- * @extends {BaseAPI}
2995
- */
2996
- export class NotificationApi extends BaseAPI {
2997
- /**
2998
- * Get preferences for the authenticated user
2999
- * @summary Get preferences
3000
- * @param {*} [options] Override http request option.
3001
- * @throws {RequiredError}
3002
- * @memberof NotificationApi
3003
- */
3004
- getSystemPreferences(options) {
3005
- return NotificationApiFp(this.configuration).getSystemPreferences(options).then((request) => request(this.axios, this.basePath));
3006
- }
3007
- /**
3008
- * Update preferences for the authenticated user
3009
- * @summary Update preferences
3010
- * @param {Array<NotificationPreference>} notificationPreference notification preferences
3011
- * @param {*} [options] Override http request option.
3012
- * @throws {RequiredError}
3013
- * @memberof NotificationApi
3014
- */
3015
- updateSystemPreferences(notificationPreference, options) {
3016
- return NotificationApiFp(this.configuration).updateSystemPreferences(notificationPreference, options).then((request) => request(this.axios, this.basePath));
3017
- }
3018
- }
3019
2936
  /**
3020
2937
  * NotificationsApi - axios parameter creator
3021
2938
  * @export
@@ -3115,6 +3032,34 @@ export const NotificationsApiAxiosParamCreator = function (configuration) {
3115
3032
  options: localVarRequestOptions,
3116
3033
  };
3117
3034
  }),
3035
+ /**
3036
+ * Get preferences for the authenticated user
3037
+ * @summary Get preferences
3038
+ * @param {*} [options] Override http request option.
3039
+ * @throws {RequiredError}
3040
+ */
3041
+ getSystemPreferences: (options = {}) => __awaiter(this, void 0, void 0, function* () {
3042
+ const localVarPath = `/admins/preferences/system`;
3043
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3044
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3045
+ let baseOptions;
3046
+ if (configuration) {
3047
+ baseOptions = configuration.baseOptions;
3048
+ }
3049
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
3050
+ const localVarHeaderParameter = {};
3051
+ const localVarQueryParameter = {};
3052
+ // authentication systemJWT required
3053
+ // http bearer authentication required
3054
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
3055
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3056
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3057
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3058
+ return {
3059
+ url: toPathString(localVarUrlObj),
3060
+ options: localVarRequestOptions,
3061
+ };
3062
+ }),
3118
3063
  /**
3119
3064
  * Get notification preferences for the authenticated user
3120
3065
  * @summary Get notification preferences
@@ -3244,6 +3189,39 @@ export const NotificationsApiAxiosParamCreator = function (configuration) {
3244
3189
  options: localVarRequestOptions,
3245
3190
  };
3246
3191
  }),
3192
+ /**
3193
+ * Update preferences for the authenticated user
3194
+ * @summary Update preferences
3195
+ * @param {Array<NotificationPreference>} notificationPreference notification preferences
3196
+ * @param {*} [options] Override http request option.
3197
+ * @throws {RequiredError}
3198
+ */
3199
+ updateSystemPreferences: (notificationPreference, options = {}) => __awaiter(this, void 0, void 0, function* () {
3200
+ // verify required parameter 'notificationPreference' is not null or undefined
3201
+ assertParamExists('updateSystemPreferences', 'notificationPreference', notificationPreference);
3202
+ const localVarPath = `/admins/preferences/system`;
3203
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3204
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3205
+ let baseOptions;
3206
+ if (configuration) {
3207
+ baseOptions = configuration.baseOptions;
3208
+ }
3209
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
3210
+ const localVarHeaderParameter = {};
3211
+ const localVarQueryParameter = {};
3212
+ // authentication systemJWT required
3213
+ // http bearer authentication required
3214
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
3215
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3216
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3217
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3218
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3219
+ localVarRequestOptions.data = serializeDataIfNeeded(notificationPreference, localVarRequestOptions, configuration);
3220
+ return {
3221
+ url: toPathString(localVarUrlObj),
3222
+ options: localVarRequestOptions,
3223
+ };
3224
+ }),
3247
3225
  /**
3248
3226
  * Update notification preferences for the authenticated user
3249
3227
  * @summary Update notification preferences
@@ -3324,6 +3302,18 @@ export const NotificationsApiFp = function (configuration) {
3324
3302
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3325
3303
  });
3326
3304
  },
3305
+ /**
3306
+ * Get preferences for the authenticated user
3307
+ * @summary Get preferences
3308
+ * @param {*} [options] Override http request option.
3309
+ * @throws {RequiredError}
3310
+ */
3311
+ getSystemPreferences(options) {
3312
+ return __awaiter(this, void 0, void 0, function* () {
3313
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getSystemPreferences(options);
3314
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3315
+ });
3316
+ },
3327
3317
  /**
3328
3318
  * Get notification preferences for the authenticated user
3329
3319
  * @summary Get notification preferences
@@ -3376,6 +3366,19 @@ export const NotificationsApiFp = function (configuration) {
3376
3366
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3377
3367
  });
3378
3368
  },
3369
+ /**
3370
+ * Update preferences for the authenticated user
3371
+ * @summary Update preferences
3372
+ * @param {Array<NotificationPreference>} notificationPreference notification preferences
3373
+ * @param {*} [options] Override http request option.
3374
+ * @throws {RequiredError}
3375
+ */
3376
+ updateSystemPreferences(notificationPreference, options) {
3377
+ return __awaiter(this, void 0, void 0, function* () {
3378
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateSystemPreferences(notificationPreference, options);
3379
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3380
+ });
3381
+ },
3379
3382
  /**
3380
3383
  * Update notification preferences for the authenticated user
3381
3384
  * @summary Update notification preferences
@@ -3427,6 +3430,15 @@ export const NotificationsApiFactory = function (configuration, basePath, axios)
3427
3430
  getPreferences(options) {
3428
3431
  return localVarFp.getPreferences(options).then((request) => request(axios, basePath));
3429
3432
  },
3433
+ /**
3434
+ * Get preferences for the authenticated user
3435
+ * @summary Get preferences
3436
+ * @param {*} [options] Override http request option.
3437
+ * @throws {RequiredError}
3438
+ */
3439
+ getSystemPreferences(options) {
3440
+ return localVarFp.getSystemPreferences(options).then((request) => request(axios, basePath));
3441
+ },
3430
3442
  /**
3431
3443
  * Get notification preferences for the authenticated user
3432
3444
  * @summary Get notification preferences
@@ -3467,6 +3479,16 @@ export const NotificationsApiFactory = function (configuration, basePath, axios)
3467
3479
  updatePreferences(preferencesRequest, options) {
3468
3480
  return localVarFp.updatePreferences(preferencesRequest, options).then((request) => request(axios, basePath));
3469
3481
  },
3482
+ /**
3483
+ * Update preferences for the authenticated user
3484
+ * @summary Update preferences
3485
+ * @param {Array<NotificationPreference>} notificationPreference notification preferences
3486
+ * @param {*} [options] Override http request option.
3487
+ * @throws {RequiredError}
3488
+ */
3489
+ updateSystemPreferences(notificationPreference, options) {
3490
+ return localVarFp.updateSystemPreferences(notificationPreference, options).then((request) => request(axios, basePath));
3491
+ },
3470
3492
  /**
3471
3493
  * Update notification preferences for the authenticated user
3472
3494
  * @summary Update notification preferences
@@ -3518,6 +3540,16 @@ export class NotificationsApi extends BaseAPI {
3518
3540
  getPreferences(options) {
3519
3541
  return NotificationsApiFp(this.configuration).getPreferences(options).then((request) => request(this.axios, this.basePath));
3520
3542
  }
3543
+ /**
3544
+ * Get preferences for the authenticated user
3545
+ * @summary Get preferences
3546
+ * @param {*} [options] Override http request option.
3547
+ * @throws {RequiredError}
3548
+ * @memberof NotificationsApi
3549
+ */
3550
+ getSystemPreferences(options) {
3551
+ return NotificationsApiFp(this.configuration).getSystemPreferences(options).then((request) => request(this.axios, this.basePath));
3552
+ }
3521
3553
  /**
3522
3554
  * Get notification preferences for the authenticated user
3523
3555
  * @summary Get notification preferences
@@ -3562,6 +3594,17 @@ export class NotificationsApi extends BaseAPI {
3562
3594
  updatePreferences(preferencesRequest, options) {
3563
3595
  return NotificationsApiFp(this.configuration).updatePreferences(preferencesRequest, options).then((request) => request(this.axios, this.basePath));
3564
3596
  }
3597
+ /**
3598
+ * Update preferences for the authenticated user
3599
+ * @summary Update preferences
3600
+ * @param {Array<NotificationPreference>} notificationPreference notification preferences
3601
+ * @param {*} [options] Override http request option.
3602
+ * @throws {RequiredError}
3603
+ * @memberof NotificationsApi
3604
+ */
3605
+ updateSystemPreferences(notificationPreference, options) {
3606
+ return NotificationsApiFp(this.configuration).updateSystemPreferences(notificationPreference, options).then((request) => request(this.axios, this.basePath));
3607
+ }
3565
3608
  /**
3566
3609
  * Update notification preferences for the authenticated user
3567
3610
  * @summary Update notification preferences
@@ -3706,6 +3749,42 @@ export const OrdersApiAxiosParamCreator = function (configuration) {
3706
3749
  options: localVarRequestOptions,
3707
3750
  };
3708
3751
  }),
3752
+ /**
3753
+ * List order events
3754
+ * @summary List order events
3755
+ * @param {string} [orderId] Order ID
3756
+ * @param {string} [nextToken] This is the pagination token
3757
+ * @param {*} [options] Override http request option.
3758
+ * @throws {RequiredError}
3759
+ */
3760
+ listOrderEvents: (orderId, nextToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
3761
+ const localVarPath = `/admins/order-events`;
3762
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3763
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3764
+ let baseOptions;
3765
+ if (configuration) {
3766
+ baseOptions = configuration.baseOptions;
3767
+ }
3768
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
3769
+ const localVarHeaderParameter = {};
3770
+ const localVarQueryParameter = {};
3771
+ // authentication systemJWT required
3772
+ // http bearer authentication required
3773
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
3774
+ if (orderId !== undefined) {
3775
+ localVarQueryParameter['orderId'] = orderId;
3776
+ }
3777
+ if (nextToken !== undefined) {
3778
+ localVarQueryParameter['nextToken'] = nextToken;
3779
+ }
3780
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3781
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3782
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3783
+ return {
3784
+ url: toPathString(localVarUrlObj),
3785
+ options: localVarRequestOptions,
3786
+ };
3787
+ }),
3709
3788
  /**
3710
3789
  * List orders for the users/clients visible to the authenticated system user. Returns a paginated list of orders. Can be filtered by nextToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source.
3711
3790
  * @summary List orders
@@ -3899,6 +3978,20 @@ export const OrdersApiFp = function (configuration) {
3899
3978
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3900
3979
  });
3901
3980
  },
3981
+ /**
3982
+ * List order events
3983
+ * @summary List order events
3984
+ * @param {string} [orderId] Order ID
3985
+ * @param {string} [nextToken] This is the pagination token
3986
+ * @param {*} [options] Override http request option.
3987
+ * @throws {RequiredError}
3988
+ */
3989
+ listOrderEvents(orderId, nextToken, options) {
3990
+ return __awaiter(this, void 0, void 0, function* () {
3991
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrderEvents(orderId, nextToken, options);
3992
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3993
+ });
3994
+ },
3902
3995
  /**
3903
3996
  * List orders for the users/clients visible to the authenticated system user. Returns a paginated list of orders. Can be filtered by nextToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source.
3904
3997
  * @summary List orders
@@ -3989,6 +4082,17 @@ export const OrdersApiFactory = function (configuration, basePath, axios) {
3989
4082
  getUserOrder(id, options) {
3990
4083
  return localVarFp.getUserOrder(id, options).then((request) => request(axios, basePath));
3991
4084
  },
4085
+ /**
4086
+ * List order events
4087
+ * @summary List order events
4088
+ * @param {string} [orderId] Order ID
4089
+ * @param {string} [nextToken] This is the pagination token
4090
+ * @param {*} [options] Override http request option.
4091
+ * @throws {RequiredError}
4092
+ */
4093
+ listOrderEvents(orderId, nextToken, options) {
4094
+ return localVarFp.listOrderEvents(orderId, nextToken, options).then((request) => request(axios, basePath));
4095
+ },
3992
4096
  /**
3993
4097
  * List orders for the users/clients visible to the authenticated system user. Returns a paginated list of orders. Can be filtered by nextToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source.
3994
4098
  * @summary List orders
@@ -4077,6 +4181,18 @@ export class OrdersApi extends BaseAPI {
4077
4181
  getUserOrder(id, options) {
4078
4182
  return OrdersApiFp(this.configuration).getUserOrder(id, options).then((request) => request(this.axios, this.basePath));
4079
4183
  }
4184
+ /**
4185
+ * List order events
4186
+ * @summary List order events
4187
+ * @param {string} [orderId] Order ID
4188
+ * @param {string} [nextToken] This is the pagination token
4189
+ * @param {*} [options] Override http request option.
4190
+ * @throws {RequiredError}
4191
+ * @memberof OrdersApi
4192
+ */
4193
+ listOrderEvents(orderId, nextToken, options) {
4194
+ return OrdersApiFp(this.configuration).listOrderEvents(orderId, nextToken, options).then((request) => request(this.axios, this.basePath));
4195
+ }
4080
4196
  /**
4081
4197
  * List orders for the users/clients visible to the authenticated system user. Returns a paginated list of orders. Can be filtered by nextToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source.
4082
4198
  * @summary List orders
@@ -6416,6 +6532,34 @@ export const ReportsApiAxiosParamCreator = function (configuration) {
6416
6532
  options: localVarRequestOptions,
6417
6533
  };
6418
6534
  }),
6535
+ /**
6536
+ * Get signed access URL for report
6537
+ * @summary Get signed access URL for report
6538
+ * @param {*} [options] Override http request option.
6539
+ * @throws {RequiredError}
6540
+ */
6541
+ getReportUrl: (options = {}) => __awaiter(this, void 0, void 0, function* () {
6542
+ const localVarPath = `/admin/reports/url`;
6543
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6544
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6545
+ let baseOptions;
6546
+ if (configuration) {
6547
+ baseOptions = configuration.baseOptions;
6548
+ }
6549
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6550
+ const localVarHeaderParameter = {};
6551
+ const localVarQueryParameter = {};
6552
+ // authentication systemJWT required
6553
+ // http bearer authentication required
6554
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
6555
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6556
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6557
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6558
+ return {
6559
+ url: toPathString(localVarUrlObj),
6560
+ options: localVarRequestOptions,
6561
+ };
6562
+ }),
6419
6563
  /**
6420
6564
  * List all supported report types, which can be generated by the user
6421
6565
  * @summary List report types
@@ -6499,6 +6643,18 @@ export const ReportsApiFp = function (configuration) {
6499
6643
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
6500
6644
  });
6501
6645
  },
6646
+ /**
6647
+ * Get signed access URL for report
6648
+ * @summary Get signed access URL for report
6649
+ * @param {*} [options] Override http request option.
6650
+ * @throws {RequiredError}
6651
+ */
6652
+ getReportUrl(options) {
6653
+ return __awaiter(this, void 0, void 0, function* () {
6654
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getReportUrl(options);
6655
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
6656
+ });
6657
+ },
6502
6658
  /**
6503
6659
  * List all supported report types, which can be generated by the user
6504
6660
  * @summary List report types
@@ -6544,6 +6700,15 @@ export const ReportsApiFactory = function (configuration, basePath, axios) {
6544
6700
  generateReport(type, reportCreationRequest, options) {
6545
6701
  return localVarFp.generateReport(type, reportCreationRequest, options).then((request) => request(axios, basePath));
6546
6702
  },
6703
+ /**
6704
+ * Get signed access URL for report
6705
+ * @summary Get signed access URL for report
6706
+ * @param {*} [options] Override http request option.
6707
+ * @throws {RequiredError}
6708
+ */
6709
+ getReportUrl(options) {
6710
+ return localVarFp.getReportUrl(options).then((request) => request(axios, basePath));
6711
+ },
6547
6712
  /**
6548
6713
  * List all supported report types, which can be generated by the user
6549
6714
  * @summary List report types
@@ -6584,6 +6749,16 @@ export class ReportsApi extends BaseAPI {
6584
6749
  generateReport(type, reportCreationRequest, options) {
6585
6750
  return ReportsApiFp(this.configuration).generateReport(type, reportCreationRequest, options).then((request) => request(this.axios, this.basePath));
6586
6751
  }
6752
+ /**
6753
+ * Get signed access URL for report
6754
+ * @summary Get signed access URL for report
6755
+ * @param {*} [options] Override http request option.
6756
+ * @throws {RequiredError}
6757
+ * @memberof ReportsApi
6758
+ */
6759
+ getReportUrl(options) {
6760
+ return ReportsApiFp(this.configuration).getReportUrl(options).then((request) => request(this.axios, this.basePath));
6761
+ }
6587
6762
  /**
6588
6763
  * List all supported report types, which can be generated by the user
6589
6764
  * @summary List report types