flexinet-api 0.0.2303 → 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/README.md +2 -2
- package/api.ts +753 -209
- package/dist/api.d.ts +678 -113
- package/dist/api.js +142 -180
- package/dist/esm/api.d.ts +678 -113
- package/dist/esm/api.js +140 -174
- package/package.json +1 -1
package/dist/esm/api.js
CHANGED
@@ -1778,13 +1778,13 @@ export const ConfigurationsApiAxiosParamCreator = function (configuration) {
|
|
1778
1778
|
/**
|
1779
1779
|
* Create or update backoffice configuration for the current tenant
|
1780
1780
|
* @summary Create configuration
|
1781
|
-
* @param {
|
1781
|
+
* @param {TenantConfingRequest} tenantConfingRequest Configuration data
|
1782
1782
|
* @param {*} [options] Override http request option.
|
1783
1783
|
* @throws {RequiredError}
|
1784
1784
|
*/
|
1785
|
-
createV2Configuration: (
|
1786
|
-
// verify required parameter '
|
1787
|
-
assertParamExists('createV2Configuration', '
|
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);
|
1788
1788
|
const localVarPath = `/v2/admins/configurations`;
|
1789
1789
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
1790
1790
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
@@ -1802,7 +1802,7 @@ export const ConfigurationsApiAxiosParamCreator = function (configuration) {
|
|
1802
1802
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
1803
1803
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
1804
1804
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
1805
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
1805
|
+
localVarRequestOptions.data = serializeDataIfNeeded(tenantConfingRequest, localVarRequestOptions, configuration);
|
1806
1806
|
return {
|
1807
1807
|
url: toPathString(localVarUrlObj),
|
1808
1808
|
options: localVarRequestOptions,
|
@@ -1976,13 +1976,13 @@ export const ConfigurationsApiFp = function (configuration) {
|
|
1976
1976
|
/**
|
1977
1977
|
* Create or update backoffice configuration for the current tenant
|
1978
1978
|
* @summary Create configuration
|
1979
|
-
* @param {
|
1979
|
+
* @param {TenantConfingRequest} tenantConfingRequest Configuration data
|
1980
1980
|
* @param {*} [options] Override http request option.
|
1981
1981
|
* @throws {RequiredError}
|
1982
1982
|
*/
|
1983
|
-
createV2Configuration(
|
1983
|
+
createV2Configuration(tenantConfingRequest, options) {
|
1984
1984
|
return __awaiter(this, void 0, void 0, function* () {
|
1985
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.createV2Configuration(
|
1985
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createV2Configuration(tenantConfingRequest, options);
|
1986
1986
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
1987
1987
|
});
|
1988
1988
|
},
|
@@ -2069,12 +2069,12 @@ export const ConfigurationsApiFactory = function (configuration, basePath, axios
|
|
2069
2069
|
/**
|
2070
2070
|
* Create or update backoffice configuration for the current tenant
|
2071
2071
|
* @summary Create configuration
|
2072
|
-
* @param {
|
2072
|
+
* @param {TenantConfingRequest} tenantConfingRequest Configuration data
|
2073
2073
|
* @param {*} [options] Override http request option.
|
2074
2074
|
* @throws {RequiredError}
|
2075
2075
|
*/
|
2076
|
-
createV2Configuration(
|
2077
|
-
return localVarFp.createV2Configuration(
|
2076
|
+
createV2Configuration(tenantConfingRequest, options) {
|
2077
|
+
return localVarFp.createV2Configuration(tenantConfingRequest, options).then((request) => request(axios, basePath));
|
2078
2078
|
},
|
2079
2079
|
/**
|
2080
2080
|
* List backoffice configurations for the current tenant
|
@@ -2145,13 +2145,13 @@ export class ConfigurationsApi extends BaseAPI {
|
|
2145
2145
|
/**
|
2146
2146
|
* Create or update backoffice configuration for the current tenant
|
2147
2147
|
* @summary Create configuration
|
2148
|
-
* @param {
|
2148
|
+
* @param {TenantConfingRequest} tenantConfingRequest Configuration data
|
2149
2149
|
* @param {*} [options] Override http request option.
|
2150
2150
|
* @throws {RequiredError}
|
2151
2151
|
* @memberof ConfigurationsApi
|
2152
2152
|
*/
|
2153
|
-
createV2Configuration(
|
2154
|
-
return ConfigurationsApiFp(this.configuration).createV2Configuration(
|
2153
|
+
createV2Configuration(tenantConfingRequest, options) {
|
2154
|
+
return ConfigurationsApiFp(this.configuration).createV2Configuration(tenantConfingRequest, options).then((request) => request(this.axios, this.basePath));
|
2155
2155
|
}
|
2156
2156
|
/**
|
2157
2157
|
* List backoffice configurations for the current tenant
|
@@ -2932,166 +2932,6 @@ export class IntegrationsApi extends BaseAPI {
|
|
2932
2932
|
return IntegrationsApiFp(this.configuration).setWebhook(webhook, options).then((request) => request(this.axios, this.basePath));
|
2933
2933
|
}
|
2934
2934
|
}
|
2935
|
-
/**
|
2936
|
-
* NotificationApi - axios parameter creator
|
2937
|
-
* @export
|
2938
|
-
*/
|
2939
|
-
export const NotificationApiAxiosParamCreator = function (configuration) {
|
2940
|
-
return {
|
2941
|
-
/**
|
2942
|
-
* Get preferences for the authenticated user
|
2943
|
-
* @summary Get preferences
|
2944
|
-
* @param {*} [options] Override http request option.
|
2945
|
-
* @throws {RequiredError}
|
2946
|
-
*/
|
2947
|
-
getSystemPreferences: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
2948
|
-
const localVarPath = `/admins/preferences/system`;
|
2949
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
2950
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
2951
|
-
let baseOptions;
|
2952
|
-
if (configuration) {
|
2953
|
-
baseOptions = configuration.baseOptions;
|
2954
|
-
}
|
2955
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
2956
|
-
const localVarHeaderParameter = {};
|
2957
|
-
const localVarQueryParameter = {};
|
2958
|
-
// authentication systemJWT required
|
2959
|
-
// http bearer authentication required
|
2960
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
2961
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
2962
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
2963
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
2964
|
-
return {
|
2965
|
-
url: toPathString(localVarUrlObj),
|
2966
|
-
options: localVarRequestOptions,
|
2967
|
-
};
|
2968
|
-
}),
|
2969
|
-
/**
|
2970
|
-
* Update preferences for the authenticated user
|
2971
|
-
* @summary Update preferences
|
2972
|
-
* @param {Array<NotificationPreference>} notificationPreference notification preferences
|
2973
|
-
* @param {*} [options] Override http request option.
|
2974
|
-
* @throws {RequiredError}
|
2975
|
-
*/
|
2976
|
-
updateSystemPreferences: (notificationPreference, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
2977
|
-
// verify required parameter 'notificationPreference' is not null or undefined
|
2978
|
-
assertParamExists('updateSystemPreferences', 'notificationPreference', notificationPreference);
|
2979
|
-
const localVarPath = `/admins/preferences/system`;
|
2980
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
2981
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
2982
|
-
let baseOptions;
|
2983
|
-
if (configuration) {
|
2984
|
-
baseOptions = configuration.baseOptions;
|
2985
|
-
}
|
2986
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
2987
|
-
const localVarHeaderParameter = {};
|
2988
|
-
const localVarQueryParameter = {};
|
2989
|
-
// authentication systemJWT required
|
2990
|
-
// http bearer authentication required
|
2991
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
2992
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
2993
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
2994
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
2995
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
2996
|
-
localVarRequestOptions.data = serializeDataIfNeeded(notificationPreference, localVarRequestOptions, configuration);
|
2997
|
-
return {
|
2998
|
-
url: toPathString(localVarUrlObj),
|
2999
|
-
options: localVarRequestOptions,
|
3000
|
-
};
|
3001
|
-
}),
|
3002
|
-
};
|
3003
|
-
};
|
3004
|
-
/**
|
3005
|
-
* NotificationApi - functional programming interface
|
3006
|
-
* @export
|
3007
|
-
*/
|
3008
|
-
export const NotificationApiFp = function (configuration) {
|
3009
|
-
const localVarAxiosParamCreator = NotificationApiAxiosParamCreator(configuration);
|
3010
|
-
return {
|
3011
|
-
/**
|
3012
|
-
* Get preferences for the authenticated user
|
3013
|
-
* @summary Get preferences
|
3014
|
-
* @param {*} [options] Override http request option.
|
3015
|
-
* @throws {RequiredError}
|
3016
|
-
*/
|
3017
|
-
getSystemPreferences(options) {
|
3018
|
-
return __awaiter(this, void 0, void 0, function* () {
|
3019
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSystemPreferences(options);
|
3020
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
3021
|
-
});
|
3022
|
-
},
|
3023
|
-
/**
|
3024
|
-
* Update preferences for the authenticated user
|
3025
|
-
* @summary Update preferences
|
3026
|
-
* @param {Array<NotificationPreference>} notificationPreference notification preferences
|
3027
|
-
* @param {*} [options] Override http request option.
|
3028
|
-
* @throws {RequiredError}
|
3029
|
-
*/
|
3030
|
-
updateSystemPreferences(notificationPreference, options) {
|
3031
|
-
return __awaiter(this, void 0, void 0, function* () {
|
3032
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateSystemPreferences(notificationPreference, options);
|
3033
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
3034
|
-
});
|
3035
|
-
},
|
3036
|
-
};
|
3037
|
-
};
|
3038
|
-
/**
|
3039
|
-
* NotificationApi - factory interface
|
3040
|
-
* @export
|
3041
|
-
*/
|
3042
|
-
export const NotificationApiFactory = function (configuration, basePath, axios) {
|
3043
|
-
const localVarFp = NotificationApiFp(configuration);
|
3044
|
-
return {
|
3045
|
-
/**
|
3046
|
-
* Get preferences for the authenticated user
|
3047
|
-
* @summary Get preferences
|
3048
|
-
* @param {*} [options] Override http request option.
|
3049
|
-
* @throws {RequiredError}
|
3050
|
-
*/
|
3051
|
-
getSystemPreferences(options) {
|
3052
|
-
return localVarFp.getSystemPreferences(options).then((request) => request(axios, basePath));
|
3053
|
-
},
|
3054
|
-
/**
|
3055
|
-
* Update preferences for the authenticated user
|
3056
|
-
* @summary Update preferences
|
3057
|
-
* @param {Array<NotificationPreference>} notificationPreference notification preferences
|
3058
|
-
* @param {*} [options] Override http request option.
|
3059
|
-
* @throws {RequiredError}
|
3060
|
-
*/
|
3061
|
-
updateSystemPreferences(notificationPreference, options) {
|
3062
|
-
return localVarFp.updateSystemPreferences(notificationPreference, options).then((request) => request(axios, basePath));
|
3063
|
-
},
|
3064
|
-
};
|
3065
|
-
};
|
3066
|
-
/**
|
3067
|
-
* NotificationApi - object-oriented interface
|
3068
|
-
* @export
|
3069
|
-
* @class NotificationApi
|
3070
|
-
* @extends {BaseAPI}
|
3071
|
-
*/
|
3072
|
-
export class NotificationApi extends BaseAPI {
|
3073
|
-
/**
|
3074
|
-
* Get preferences for the authenticated user
|
3075
|
-
* @summary Get preferences
|
3076
|
-
* @param {*} [options] Override http request option.
|
3077
|
-
* @throws {RequiredError}
|
3078
|
-
* @memberof NotificationApi
|
3079
|
-
*/
|
3080
|
-
getSystemPreferences(options) {
|
3081
|
-
return NotificationApiFp(this.configuration).getSystemPreferences(options).then((request) => request(this.axios, this.basePath));
|
3082
|
-
}
|
3083
|
-
/**
|
3084
|
-
* Update preferences for the authenticated user
|
3085
|
-
* @summary Update preferences
|
3086
|
-
* @param {Array<NotificationPreference>} notificationPreference notification preferences
|
3087
|
-
* @param {*} [options] Override http request option.
|
3088
|
-
* @throws {RequiredError}
|
3089
|
-
* @memberof NotificationApi
|
3090
|
-
*/
|
3091
|
-
updateSystemPreferences(notificationPreference, options) {
|
3092
|
-
return NotificationApiFp(this.configuration).updateSystemPreferences(notificationPreference, options).then((request) => request(this.axios, this.basePath));
|
3093
|
-
}
|
3094
|
-
}
|
3095
2935
|
/**
|
3096
2936
|
* NotificationsApi - axios parameter creator
|
3097
2937
|
* @export
|
@@ -3191,6 +3031,34 @@ export const NotificationsApiAxiosParamCreator = function (configuration) {
|
|
3191
3031
|
options: localVarRequestOptions,
|
3192
3032
|
};
|
3193
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
|
3052
|
+
// http bearer authentication required
|
3053
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
3054
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
3055
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
3056
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
3057
|
+
return {
|
3058
|
+
url: toPathString(localVarUrlObj),
|
3059
|
+
options: localVarRequestOptions,
|
3060
|
+
};
|
3061
|
+
}),
|
3194
3062
|
/**
|
3195
3063
|
* Get notification preferences for the authenticated user
|
3196
3064
|
* @summary Get notification preferences
|
@@ -3320,6 +3188,39 @@ export const NotificationsApiAxiosParamCreator = function (configuration) {
|
|
3320
3188
|
options: localVarRequestOptions,
|
3321
3189
|
};
|
3322
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
|
+
}),
|
3323
3224
|
/**
|
3324
3225
|
* Update notification preferences for the authenticated user
|
3325
3226
|
* @summary Update notification preferences
|
@@ -3400,6 +3301,18 @@ export const NotificationsApiFp = function (configuration) {
|
|
3400
3301
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
3401
3302
|
});
|
3402
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
|
+
},
|
3403
3316
|
/**
|
3404
3317
|
* Get notification preferences for the authenticated user
|
3405
3318
|
* @summary Get notification preferences
|
@@ -3452,6 +3365,19 @@ export const NotificationsApiFp = function (configuration) {
|
|
3452
3365
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
3453
3366
|
});
|
3454
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
|
+
},
|
3455
3381
|
/**
|
3456
3382
|
* Update notification preferences for the authenticated user
|
3457
3383
|
* @summary Update notification preferences
|
@@ -3503,6 +3429,15 @@ export const NotificationsApiFactory = function (configuration, basePath, axios)
|
|
3503
3429
|
getPreferences(options) {
|
3504
3430
|
return localVarFp.getPreferences(options).then((request) => request(axios, basePath));
|
3505
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
|
+
},
|
3506
3441
|
/**
|
3507
3442
|
* Get notification preferences for the authenticated user
|
3508
3443
|
* @summary Get notification preferences
|
@@ -3543,6 +3478,16 @@ export const NotificationsApiFactory = function (configuration, basePath, axios)
|
|
3543
3478
|
updatePreferences(preferencesRequest, options) {
|
3544
3479
|
return localVarFp.updatePreferences(preferencesRequest, options).then((request) => request(axios, basePath));
|
3545
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
|
+
},
|
3546
3491
|
/**
|
3547
3492
|
* Update notification preferences for the authenticated user
|
3548
3493
|
* @summary Update notification preferences
|
@@ -3594,6 +3539,16 @@ export class NotificationsApi extends BaseAPI {
|
|
3594
3539
|
getPreferences(options) {
|
3595
3540
|
return NotificationsApiFp(this.configuration).getPreferences(options).then((request) => request(this.axios, this.basePath));
|
3596
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
|
+
}
|
3597
3552
|
/**
|
3598
3553
|
* Get notification preferences for the authenticated user
|
3599
3554
|
* @summary Get notification preferences
|
@@ -3638,6 +3593,17 @@ export class NotificationsApi extends BaseAPI {
|
|
3638
3593
|
updatePreferences(preferencesRequest, options) {
|
3639
3594
|
return NotificationsApiFp(this.configuration).updatePreferences(preferencesRequest, options).then((request) => request(this.axios, this.basePath));
|
3640
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
|
+
}
|
3641
3607
|
/**
|
3642
3608
|
* Update notification preferences for the authenticated user
|
3643
3609
|
* @summary Update notification preferences
|