flexinet-api 0.0.2304 → 0.0.2306

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
@@ -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
  *
@@ -1777,13 +1778,13 @@ export const ConfigurationsApiAxiosParamCreator = function (configuration) {
1777
1778
  /**
1778
1779
  * Create or update backoffice configuration for the current tenant
1779
1780
  * @summary Create configuration
1780
- * @param {TenantConfing} tenantConfing Configuration data
1781
+ * @param {TenantConfingRequest} tenantConfingRequest Configuration data
1781
1782
  * @param {*} [options] Override http request option.
1782
1783
  * @throws {RequiredError}
1783
1784
  */
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);
1785
+ createV2Configuration: (tenantConfingRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
1786
+ // verify required parameter 'tenantConfingRequest' is not null or undefined
1787
+ assertParamExists('createV2Configuration', 'tenantConfingRequest', tenantConfingRequest);
1787
1788
  const localVarPath = `/v2/admins/configurations`;
1788
1789
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1789
1790
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1801,7 +1802,7 @@ export const ConfigurationsApiAxiosParamCreator = function (configuration) {
1801
1802
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1802
1803
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1803
1804
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1804
- localVarRequestOptions.data = serializeDataIfNeeded(tenantConfing, localVarRequestOptions, configuration);
1805
+ localVarRequestOptions.data = serializeDataIfNeeded(tenantConfingRequest, localVarRequestOptions, configuration);
1805
1806
  return {
1806
1807
  url: toPathString(localVarUrlObj),
1807
1808
  options: localVarRequestOptions,
@@ -1975,13 +1976,13 @@ export const ConfigurationsApiFp = function (configuration) {
1975
1976
  /**
1976
1977
  * Create or update backoffice configuration for the current tenant
1977
1978
  * @summary Create configuration
1978
- * @param {TenantConfing} tenantConfing Configuration data
1979
+ * @param {TenantConfingRequest} tenantConfingRequest Configuration data
1979
1980
  * @param {*} [options] Override http request option.
1980
1981
  * @throws {RequiredError}
1981
1982
  */
1982
- createV2Configuration(tenantConfing, options) {
1983
+ createV2Configuration(tenantConfingRequest, options) {
1983
1984
  return __awaiter(this, void 0, void 0, function* () {
1984
- const localVarAxiosArgs = yield localVarAxiosParamCreator.createV2Configuration(tenantConfing, options);
1985
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createV2Configuration(tenantConfingRequest, options);
1985
1986
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1986
1987
  });
1987
1988
  },
@@ -2068,12 +2069,12 @@ export const ConfigurationsApiFactory = function (configuration, basePath, axios
2068
2069
  /**
2069
2070
  * Create or update backoffice configuration for the current tenant
2070
2071
  * @summary Create configuration
2071
- * @param {TenantConfing} tenantConfing Configuration data
2072
+ * @param {TenantConfingRequest} tenantConfingRequest Configuration data
2072
2073
  * @param {*} [options] Override http request option.
2073
2074
  * @throws {RequiredError}
2074
2075
  */
2075
- createV2Configuration(tenantConfing, options) {
2076
- return localVarFp.createV2Configuration(tenantConfing, options).then((request) => request(axios, basePath));
2076
+ createV2Configuration(tenantConfingRequest, options) {
2077
+ return localVarFp.createV2Configuration(tenantConfingRequest, options).then((request) => request(axios, basePath));
2077
2078
  },
2078
2079
  /**
2079
2080
  * List backoffice configurations for the current tenant
@@ -2144,13 +2145,13 @@ export class ConfigurationsApi extends BaseAPI {
2144
2145
  /**
2145
2146
  * Create or update backoffice configuration for the current tenant
2146
2147
  * @summary Create configuration
2147
- * @param {TenantConfing} tenantConfing Configuration data
2148
+ * @param {TenantConfingRequest} tenantConfingRequest Configuration data
2148
2149
  * @param {*} [options] Override http request option.
2149
2150
  * @throws {RequiredError}
2150
2151
  * @memberof ConfigurationsApi
2151
2152
  */
2152
- createV2Configuration(tenantConfing, options) {
2153
- return ConfigurationsApiFp(this.configuration).createV2Configuration(tenantConfing, options).then((request) => request(this.axios, this.basePath));
2153
+ createV2Configuration(tenantConfingRequest, options) {
2154
+ return ConfigurationsApiFp(this.configuration).createV2Configuration(tenantConfingRequest, options).then((request) => request(this.axios, this.basePath));
2154
2155
  }
2155
2156
  /**
2156
2157
  * List backoffice configurations for the current tenant
@@ -2569,6 +2570,44 @@ export const EventsApiAxiosParamCreator = function (configuration) {
2569
2570
  options: localVarRequestOptions,
2570
2571
  };
2571
2572
  }),
2573
+ /**
2574
+ * Search events
2575
+ * @summary Search events
2576
+ * @param {string} reference Reference ID
2577
+ * @param {string} [nextToken] This is the pagination token
2578
+ * @param {*} [options] Override http request option.
2579
+ * @throws {RequiredError}
2580
+ */
2581
+ searchEvents: (reference, nextToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
2582
+ // verify required parameter 'reference' is not null or undefined
2583
+ assertParamExists('searchEvents', 'reference', reference);
2584
+ const localVarPath = `/admins/events`;
2585
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2586
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2587
+ let baseOptions;
2588
+ if (configuration) {
2589
+ baseOptions = configuration.baseOptions;
2590
+ }
2591
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2592
+ const localVarHeaderParameter = {};
2593
+ const localVarQueryParameter = {};
2594
+ // authentication systemJWT required
2595
+ // http bearer authentication required
2596
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
2597
+ if (nextToken !== undefined) {
2598
+ localVarQueryParameter['nextToken'] = nextToken;
2599
+ }
2600
+ if (reference !== undefined) {
2601
+ localVarQueryParameter['reference'] = reference;
2602
+ }
2603
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2604
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2605
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2606
+ return {
2607
+ url: toPathString(localVarUrlObj),
2608
+ options: localVarRequestOptions,
2609
+ };
2610
+ }),
2572
2611
  };
2573
2612
  };
2574
2613
  /**
@@ -2591,6 +2630,20 @@ export const EventsApiFp = function (configuration) {
2591
2630
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2592
2631
  });
2593
2632
  },
2633
+ /**
2634
+ * Search events
2635
+ * @summary Search events
2636
+ * @param {string} reference Reference ID
2637
+ * @param {string} [nextToken] This is the pagination token
2638
+ * @param {*} [options] Override http request option.
2639
+ * @throws {RequiredError}
2640
+ */
2641
+ searchEvents(reference, nextToken, options) {
2642
+ return __awaiter(this, void 0, void 0, function* () {
2643
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.searchEvents(reference, nextToken, options);
2644
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2645
+ });
2646
+ },
2594
2647
  };
2595
2648
  };
2596
2649
  /**
@@ -2610,6 +2663,17 @@ export const EventsApiFactory = function (configuration, basePath, axios) {
2610
2663
  importEvents(eventCreationRequest, options) {
2611
2664
  return localVarFp.importEvents(eventCreationRequest, options).then((request) => request(axios, basePath));
2612
2665
  },
2666
+ /**
2667
+ * Search events
2668
+ * @summary Search events
2669
+ * @param {string} reference Reference ID
2670
+ * @param {string} [nextToken] This is the pagination token
2671
+ * @param {*} [options] Override http request option.
2672
+ * @throws {RequiredError}
2673
+ */
2674
+ searchEvents(reference, nextToken, options) {
2675
+ return localVarFp.searchEvents(reference, nextToken, options).then((request) => request(axios, basePath));
2676
+ },
2613
2677
  };
2614
2678
  };
2615
2679
  /**
@@ -2630,6 +2694,18 @@ export class EventsApi extends BaseAPI {
2630
2694
  importEvents(eventCreationRequest, options) {
2631
2695
  return EventsApiFp(this.configuration).importEvents(eventCreationRequest, options).then((request) => request(this.axios, this.basePath));
2632
2696
  }
2697
+ /**
2698
+ * Search events
2699
+ * @summary Search events
2700
+ * @param {string} reference Reference ID
2701
+ * @param {string} [nextToken] This is the pagination token
2702
+ * @param {*} [options] Override http request option.
2703
+ * @throws {RequiredError}
2704
+ * @memberof EventsApi
2705
+ */
2706
+ searchEvents(reference, nextToken, options) {
2707
+ return EventsApiFp(this.configuration).searchEvents(reference, nextToken, options).then((request) => request(this.axios, this.basePath));
2708
+ }
2633
2709
  }
2634
2710
  /**
2635
2711
  * IntegrationsApi - axios parameter creator
@@ -2856,166 +2932,6 @@ export class IntegrationsApi extends BaseAPI {
2856
2932
  return IntegrationsApiFp(this.configuration).setWebhook(webhook, options).then((request) => request(this.axios, this.basePath));
2857
2933
  }
2858
2934
  }
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 customerJWT 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 customerJWT 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
2935
  /**
3020
2936
  * NotificationsApi - axios parameter creator
3021
2937
  * @export
@@ -3104,7 +3020,35 @@ export const NotificationsApiAxiosParamCreator = function (configuration) {
3104
3020
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
3105
3021
  const localVarHeaderParameter = {};
3106
3022
  const localVarQueryParameter = {};
3107
- // authentication customerJWT required
3023
+ // authentication systemJWT required
3024
+ // http bearer authentication required
3025
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
3026
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3027
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3028
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3029
+ return {
3030
+ url: toPathString(localVarUrlObj),
3031
+ options: localVarRequestOptions,
3032
+ };
3033
+ }),
3034
+ /**
3035
+ * Get preferences for the authenticated user
3036
+ * @summary Get preferences
3037
+ * @param {*} [options] Override http request option.
3038
+ * @throws {RequiredError}
3039
+ */
3040
+ getSystemPreferences: (options = {}) => __awaiter(this, void 0, void 0, function* () {
3041
+ const localVarPath = `/admins/preferences/system`;
3042
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3043
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3044
+ let baseOptions;
3045
+ if (configuration) {
3046
+ baseOptions = configuration.baseOptions;
3047
+ }
3048
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
3049
+ const localVarHeaderParameter = {};
3050
+ const localVarQueryParameter = {};
3051
+ // authentication systemJWT required
3108
3052
  // http bearer authentication required
3109
3053
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
3110
3054
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -3231,7 +3175,7 @@ export const NotificationsApiAxiosParamCreator = function (configuration) {
3231
3175
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
3232
3176
  const localVarHeaderParameter = {};
3233
3177
  const localVarQueryParameter = {};
3234
- // authentication customerJWT required
3178
+ // authentication systemJWT required
3235
3179
  // http bearer authentication required
3236
3180
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
3237
3181
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -3244,6 +3188,39 @@ export const NotificationsApiAxiosParamCreator = function (configuration) {
3244
3188
  options: localVarRequestOptions,
3245
3189
  };
3246
3190
  }),
3191
+ /**
3192
+ * Update preferences for the authenticated user
3193
+ * @summary Update preferences
3194
+ * @param {Array<NotificationPreference>} notificationPreference notification preferences
3195
+ * @param {*} [options] Override http request option.
3196
+ * @throws {RequiredError}
3197
+ */
3198
+ updateSystemPreferences: (notificationPreference, options = {}) => __awaiter(this, void 0, void 0, function* () {
3199
+ // verify required parameter 'notificationPreference' is not null or undefined
3200
+ assertParamExists('updateSystemPreferences', 'notificationPreference', notificationPreference);
3201
+ const localVarPath = `/admins/preferences/system`;
3202
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3203
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3204
+ let baseOptions;
3205
+ if (configuration) {
3206
+ baseOptions = configuration.baseOptions;
3207
+ }
3208
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
3209
+ const localVarHeaderParameter = {};
3210
+ const localVarQueryParameter = {};
3211
+ // authentication systemJWT required
3212
+ // http bearer authentication required
3213
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
3214
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3215
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3216
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3217
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3218
+ localVarRequestOptions.data = serializeDataIfNeeded(notificationPreference, localVarRequestOptions, configuration);
3219
+ return {
3220
+ url: toPathString(localVarUrlObj),
3221
+ options: localVarRequestOptions,
3222
+ };
3223
+ }),
3247
3224
  /**
3248
3225
  * Update notification preferences for the authenticated user
3249
3226
  * @summary Update notification preferences
@@ -3324,6 +3301,18 @@ export const NotificationsApiFp = function (configuration) {
3324
3301
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3325
3302
  });
3326
3303
  },
3304
+ /**
3305
+ * Get preferences for the authenticated user
3306
+ * @summary Get preferences
3307
+ * @param {*} [options] Override http request option.
3308
+ * @throws {RequiredError}
3309
+ */
3310
+ getSystemPreferences(options) {
3311
+ return __awaiter(this, void 0, void 0, function* () {
3312
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getSystemPreferences(options);
3313
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3314
+ });
3315
+ },
3327
3316
  /**
3328
3317
  * Get notification preferences for the authenticated user
3329
3318
  * @summary Get notification preferences
@@ -3376,6 +3365,19 @@ export const NotificationsApiFp = function (configuration) {
3376
3365
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3377
3366
  });
3378
3367
  },
3368
+ /**
3369
+ * Update preferences for the authenticated user
3370
+ * @summary Update preferences
3371
+ * @param {Array<NotificationPreference>} notificationPreference notification preferences
3372
+ * @param {*} [options] Override http request option.
3373
+ * @throws {RequiredError}
3374
+ */
3375
+ updateSystemPreferences(notificationPreference, options) {
3376
+ return __awaiter(this, void 0, void 0, function* () {
3377
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateSystemPreferences(notificationPreference, options);
3378
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3379
+ });
3380
+ },
3379
3381
  /**
3380
3382
  * Update notification preferences for the authenticated user
3381
3383
  * @summary Update notification preferences
@@ -3427,6 +3429,15 @@ export const NotificationsApiFactory = function (configuration, basePath, axios)
3427
3429
  getPreferences(options) {
3428
3430
  return localVarFp.getPreferences(options).then((request) => request(axios, basePath));
3429
3431
  },
3432
+ /**
3433
+ * Get preferences for the authenticated user
3434
+ * @summary Get preferences
3435
+ * @param {*} [options] Override http request option.
3436
+ * @throws {RequiredError}
3437
+ */
3438
+ getSystemPreferences(options) {
3439
+ return localVarFp.getSystemPreferences(options).then((request) => request(axios, basePath));
3440
+ },
3430
3441
  /**
3431
3442
  * Get notification preferences for the authenticated user
3432
3443
  * @summary Get notification preferences
@@ -3467,6 +3478,16 @@ export const NotificationsApiFactory = function (configuration, basePath, axios)
3467
3478
  updatePreferences(preferencesRequest, options) {
3468
3479
  return localVarFp.updatePreferences(preferencesRequest, options).then((request) => request(axios, basePath));
3469
3480
  },
3481
+ /**
3482
+ * Update preferences for the authenticated user
3483
+ * @summary Update preferences
3484
+ * @param {Array<NotificationPreference>} notificationPreference notification preferences
3485
+ * @param {*} [options] Override http request option.
3486
+ * @throws {RequiredError}
3487
+ */
3488
+ updateSystemPreferences(notificationPreference, options) {
3489
+ return localVarFp.updateSystemPreferences(notificationPreference, options).then((request) => request(axios, basePath));
3490
+ },
3470
3491
  /**
3471
3492
  * Update notification preferences for the authenticated user
3472
3493
  * @summary Update notification preferences
@@ -3518,6 +3539,16 @@ export class NotificationsApi extends BaseAPI {
3518
3539
  getPreferences(options) {
3519
3540
  return NotificationsApiFp(this.configuration).getPreferences(options).then((request) => request(this.axios, this.basePath));
3520
3541
  }
3542
+ /**
3543
+ * Get preferences for the authenticated user
3544
+ * @summary Get preferences
3545
+ * @param {*} [options] Override http request option.
3546
+ * @throws {RequiredError}
3547
+ * @memberof NotificationsApi
3548
+ */
3549
+ getSystemPreferences(options) {
3550
+ return NotificationsApiFp(this.configuration).getSystemPreferences(options).then((request) => request(this.axios, this.basePath));
3551
+ }
3521
3552
  /**
3522
3553
  * Get notification preferences for the authenticated user
3523
3554
  * @summary Get notification preferences
@@ -3562,6 +3593,17 @@ export class NotificationsApi extends BaseAPI {
3562
3593
  updatePreferences(preferencesRequest, options) {
3563
3594
  return NotificationsApiFp(this.configuration).updatePreferences(preferencesRequest, options).then((request) => request(this.axios, this.basePath));
3564
3595
  }
3596
+ /**
3597
+ * Update preferences for the authenticated user
3598
+ * @summary Update preferences
3599
+ * @param {Array<NotificationPreference>} notificationPreference notification preferences
3600
+ * @param {*} [options] Override http request option.
3601
+ * @throws {RequiredError}
3602
+ * @memberof NotificationsApi
3603
+ */
3604
+ updateSystemPreferences(notificationPreference, options) {
3605
+ return NotificationsApiFp(this.configuration).updateSystemPreferences(notificationPreference, options).then((request) => request(this.axios, this.basePath));
3606
+ }
3565
3607
  /**
3566
3608
  * Update notification preferences for the authenticated user
3567
3609
  * @summary Update notification preferences
@@ -6416,6 +6458,34 @@ export const ReportsApiAxiosParamCreator = function (configuration) {
6416
6458
  options: localVarRequestOptions,
6417
6459
  };
6418
6460
  }),
6461
+ /**
6462
+ * Get signed access URL for report
6463
+ * @summary Get signed access URL for report
6464
+ * @param {*} [options] Override http request option.
6465
+ * @throws {RequiredError}
6466
+ */
6467
+ getReportUrl: (options = {}) => __awaiter(this, void 0, void 0, function* () {
6468
+ const localVarPath = `/admin/reports/url`;
6469
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6470
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6471
+ let baseOptions;
6472
+ if (configuration) {
6473
+ baseOptions = configuration.baseOptions;
6474
+ }
6475
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6476
+ const localVarHeaderParameter = {};
6477
+ const localVarQueryParameter = {};
6478
+ // authentication systemJWT required
6479
+ // http bearer authentication required
6480
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
6481
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6482
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6483
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6484
+ return {
6485
+ url: toPathString(localVarUrlObj),
6486
+ options: localVarRequestOptions,
6487
+ };
6488
+ }),
6419
6489
  /**
6420
6490
  * List all supported report types, which can be generated by the user
6421
6491
  * @summary List report types
@@ -6499,6 +6569,18 @@ export const ReportsApiFp = function (configuration) {
6499
6569
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
6500
6570
  });
6501
6571
  },
6572
+ /**
6573
+ * Get signed access URL for report
6574
+ * @summary Get signed access URL for report
6575
+ * @param {*} [options] Override http request option.
6576
+ * @throws {RequiredError}
6577
+ */
6578
+ getReportUrl(options) {
6579
+ return __awaiter(this, void 0, void 0, function* () {
6580
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getReportUrl(options);
6581
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
6582
+ });
6583
+ },
6502
6584
  /**
6503
6585
  * List all supported report types, which can be generated by the user
6504
6586
  * @summary List report types
@@ -6544,6 +6626,15 @@ export const ReportsApiFactory = function (configuration, basePath, axios) {
6544
6626
  generateReport(type, reportCreationRequest, options) {
6545
6627
  return localVarFp.generateReport(type, reportCreationRequest, options).then((request) => request(axios, basePath));
6546
6628
  },
6629
+ /**
6630
+ * Get signed access URL for report
6631
+ * @summary Get signed access URL for report
6632
+ * @param {*} [options] Override http request option.
6633
+ * @throws {RequiredError}
6634
+ */
6635
+ getReportUrl(options) {
6636
+ return localVarFp.getReportUrl(options).then((request) => request(axios, basePath));
6637
+ },
6547
6638
  /**
6548
6639
  * List all supported report types, which can be generated by the user
6549
6640
  * @summary List report types
@@ -6584,6 +6675,16 @@ export class ReportsApi extends BaseAPI {
6584
6675
  generateReport(type, reportCreationRequest, options) {
6585
6676
  return ReportsApiFp(this.configuration).generateReport(type, reportCreationRequest, options).then((request) => request(this.axios, this.basePath));
6586
6677
  }
6678
+ /**
6679
+ * Get signed access URL for report
6680
+ * @summary Get signed access URL for report
6681
+ * @param {*} [options] Override http request option.
6682
+ * @throws {RequiredError}
6683
+ * @memberof ReportsApi
6684
+ */
6685
+ getReportUrl(options) {
6686
+ return ReportsApiFp(this.configuration).getReportUrl(options).then((request) => request(this.axios, this.basePath));
6687
+ }
6587
6688
  /**
6588
6689
  * List all supported report types, which can be generated by the user
6589
6690
  * @summary List report types
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flexinet-api",
3
- "version": "v0.0.2304",
3
+ "version": "0.0.2306",
4
4
  "description": "OpenAPI client for flexinet-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {