flexinet-api 0.0.2223-prerelease0-dev → 0.0.2224-prerelease0-dev
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 +788 -71
- package/dist/api.d.ts +566 -10
- package/dist/api.js +318 -17
- package/dist/esm/api.d.ts +566 -10
- package/dist/esm/api.js +311 -14
- package/package.json +1 -1
package/dist/esm/api.js
CHANGED
@@ -76,6 +76,17 @@ export const Condition = {
|
|
76
76
|
Equals: 'equals',
|
77
77
|
Contains: 'contains'
|
78
78
|
};
|
79
|
+
/**
|
80
|
+
*
|
81
|
+
* @export
|
82
|
+
* @enum {string}
|
83
|
+
*/
|
84
|
+
export const Currency = {
|
85
|
+
Eur: 'EUR',
|
86
|
+
Huf: 'HUF',
|
87
|
+
Ron: 'RON',
|
88
|
+
Usd: 'USD'
|
89
|
+
};
|
79
90
|
/**
|
80
91
|
*
|
81
92
|
* @export
|
@@ -1733,13 +1744,13 @@ export const ConfigurationsApiAxiosParamCreator = function (configuration) {
|
|
1733
1744
|
/**
|
1734
1745
|
* Create or update backoffice configuration for the current tenant
|
1735
1746
|
* @summary Create configuration
|
1736
|
-
* @param {
|
1747
|
+
* @param {BackofficeConfigUpdateRequest} backofficeConfigUpdateRequest Configuration data
|
1737
1748
|
* @param {*} [options] Override http request option.
|
1738
1749
|
* @throws {RequiredError}
|
1739
1750
|
*/
|
1740
|
-
createConfiguration: (
|
1741
|
-
// verify required parameter '
|
1742
|
-
assertParamExists('createConfiguration', '
|
1751
|
+
createConfiguration: (backofficeConfigUpdateRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
1752
|
+
// verify required parameter 'backofficeConfigUpdateRequest' is not null or undefined
|
1753
|
+
assertParamExists('createConfiguration', 'backofficeConfigUpdateRequest', backofficeConfigUpdateRequest);
|
1743
1754
|
const localVarPath = `/admins/configurations`;
|
1744
1755
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
1745
1756
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
@@ -1757,7 +1768,40 @@ export const ConfigurationsApiAxiosParamCreator = function (configuration) {
|
|
1757
1768
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
1758
1769
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
1759
1770
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
1760
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
1771
|
+
localVarRequestOptions.data = serializeDataIfNeeded(backofficeConfigUpdateRequest, localVarRequestOptions, configuration);
|
1772
|
+
return {
|
1773
|
+
url: toPathString(localVarUrlObj),
|
1774
|
+
options: localVarRequestOptions,
|
1775
|
+
};
|
1776
|
+
}),
|
1777
|
+
/**
|
1778
|
+
* Create or update backoffice configuration for the current tenant
|
1779
|
+
* @summary Create configuration
|
1780
|
+
* @param {TenantConfing} tenantConfing Configuration data
|
1781
|
+
* @param {*} [options] Override http request option.
|
1782
|
+
* @throws {RequiredError}
|
1783
|
+
*/
|
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);
|
1787
|
+
const localVarPath = `/v2/admins/configurations`;
|
1788
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
1789
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
1790
|
+
let baseOptions;
|
1791
|
+
if (configuration) {
|
1792
|
+
baseOptions = configuration.baseOptions;
|
1793
|
+
}
|
1794
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
1795
|
+
const localVarHeaderParameter = {};
|
1796
|
+
const localVarQueryParameter = {};
|
1797
|
+
// authentication systemJWT required
|
1798
|
+
// http bearer authentication required
|
1799
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
1800
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
1801
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
1802
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
1803
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
1804
|
+
localVarRequestOptions.data = serializeDataIfNeeded(tenantConfing, localVarRequestOptions, configuration);
|
1761
1805
|
return {
|
1762
1806
|
url: toPathString(localVarUrlObj),
|
1763
1807
|
options: localVarRequestOptions,
|
@@ -1878,6 +1922,34 @@ export const ConfigurationsApiAxiosParamCreator = function (configuration) {
|
|
1878
1922
|
options: localVarRequestOptions,
|
1879
1923
|
};
|
1880
1924
|
}),
|
1925
|
+
/**
|
1926
|
+
* List backoffice configurations for the current tenant
|
1927
|
+
* @summary List configurations
|
1928
|
+
* @param {*} [options] Override http request option.
|
1929
|
+
* @throws {RequiredError}
|
1930
|
+
*/
|
1931
|
+
listV2Configurations: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
1932
|
+
const localVarPath = `/v2/admins/configurations`;
|
1933
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
1934
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
1935
|
+
let baseOptions;
|
1936
|
+
if (configuration) {
|
1937
|
+
baseOptions = configuration.baseOptions;
|
1938
|
+
}
|
1939
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
1940
|
+
const localVarHeaderParameter = {};
|
1941
|
+
const localVarQueryParameter = {};
|
1942
|
+
// authentication systemJWT required
|
1943
|
+
// http bearer authentication required
|
1944
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
1945
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
1946
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
1947
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
1948
|
+
return {
|
1949
|
+
url: toPathString(localVarUrlObj),
|
1950
|
+
options: localVarRequestOptions,
|
1951
|
+
};
|
1952
|
+
}),
|
1881
1953
|
};
|
1882
1954
|
};
|
1883
1955
|
/**
|
@@ -1890,13 +1962,26 @@ export const ConfigurationsApiFp = function (configuration) {
|
|
1890
1962
|
/**
|
1891
1963
|
* Create or update backoffice configuration for the current tenant
|
1892
1964
|
* @summary Create configuration
|
1893
|
-
* @param {
|
1965
|
+
* @param {BackofficeConfigUpdateRequest} backofficeConfigUpdateRequest Configuration data
|
1966
|
+
* @param {*} [options] Override http request option.
|
1967
|
+
* @throws {RequiredError}
|
1968
|
+
*/
|
1969
|
+
createConfiguration(backofficeConfigUpdateRequest, options) {
|
1970
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1971
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createConfiguration(backofficeConfigUpdateRequest, options);
|
1972
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
1973
|
+
});
|
1974
|
+
},
|
1975
|
+
/**
|
1976
|
+
* Create or update backoffice configuration for the current tenant
|
1977
|
+
* @summary Create configuration
|
1978
|
+
* @param {TenantConfing} tenantConfing Configuration data
|
1894
1979
|
* @param {*} [options] Override http request option.
|
1895
1980
|
* @throws {RequiredError}
|
1896
1981
|
*/
|
1897
|
-
|
1982
|
+
createV2Configuration(tenantConfing, options) {
|
1898
1983
|
return __awaiter(this, void 0, void 0, function* () {
|
1899
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
1984
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createV2Configuration(tenantConfing, options);
|
1900
1985
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
1901
1986
|
});
|
1902
1987
|
},
|
@@ -1949,6 +2034,18 @@ export const ConfigurationsApiFp = function (configuration) {
|
|
1949
2034
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
1950
2035
|
});
|
1951
2036
|
},
|
2037
|
+
/**
|
2038
|
+
* List backoffice configurations for the current tenant
|
2039
|
+
* @summary List configurations
|
2040
|
+
* @param {*} [options] Override http request option.
|
2041
|
+
* @throws {RequiredError}
|
2042
|
+
*/
|
2043
|
+
listV2Configurations(options) {
|
2044
|
+
return __awaiter(this, void 0, void 0, function* () {
|
2045
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listV2Configurations(options);
|
2046
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
2047
|
+
});
|
2048
|
+
},
|
1952
2049
|
};
|
1953
2050
|
};
|
1954
2051
|
/**
|
@@ -1961,12 +2058,22 @@ export const ConfigurationsApiFactory = function (configuration, basePath, axios
|
|
1961
2058
|
/**
|
1962
2059
|
* Create or update backoffice configuration for the current tenant
|
1963
2060
|
* @summary Create configuration
|
1964
|
-
* @param {
|
2061
|
+
* @param {BackofficeConfigUpdateRequest} backofficeConfigUpdateRequest Configuration data
|
2062
|
+
* @param {*} [options] Override http request option.
|
2063
|
+
* @throws {RequiredError}
|
2064
|
+
*/
|
2065
|
+
createConfiguration(backofficeConfigUpdateRequest, options) {
|
2066
|
+
return localVarFp.createConfiguration(backofficeConfigUpdateRequest, options).then((request) => request(axios, basePath));
|
2067
|
+
},
|
2068
|
+
/**
|
2069
|
+
* Create or update backoffice configuration for the current tenant
|
2070
|
+
* @summary Create configuration
|
2071
|
+
* @param {TenantConfing} tenantConfing Configuration data
|
1965
2072
|
* @param {*} [options] Override http request option.
|
1966
2073
|
* @throws {RequiredError}
|
1967
2074
|
*/
|
1968
|
-
|
1969
|
-
return localVarFp.
|
2075
|
+
createV2Configuration(tenantConfing, options) {
|
2076
|
+
return localVarFp.createV2Configuration(tenantConfing, options).then((request) => request(axios, basePath));
|
1970
2077
|
},
|
1971
2078
|
/**
|
1972
2079
|
* List backoffice configurations for the current tenant
|
@@ -2005,6 +2112,15 @@ export const ConfigurationsApiFactory = function (configuration, basePath, axios
|
|
2005
2112
|
listUserFeatures(options) {
|
2006
2113
|
return localVarFp.listUserFeatures(options).then((request) => request(axios, basePath));
|
2007
2114
|
},
|
2115
|
+
/**
|
2116
|
+
* List backoffice configurations for the current tenant
|
2117
|
+
* @summary List configurations
|
2118
|
+
* @param {*} [options] Override http request option.
|
2119
|
+
* @throws {RequiredError}
|
2120
|
+
*/
|
2121
|
+
listV2Configurations(options) {
|
2122
|
+
return localVarFp.listV2Configurations(options).then((request) => request(axios, basePath));
|
2123
|
+
},
|
2008
2124
|
};
|
2009
2125
|
};
|
2010
2126
|
/**
|
@@ -2017,13 +2133,24 @@ export class ConfigurationsApi extends BaseAPI {
|
|
2017
2133
|
/**
|
2018
2134
|
* Create or update backoffice configuration for the current tenant
|
2019
2135
|
* @summary Create configuration
|
2020
|
-
* @param {
|
2136
|
+
* @param {BackofficeConfigUpdateRequest} backofficeConfigUpdateRequest Configuration data
|
2137
|
+
* @param {*} [options] Override http request option.
|
2138
|
+
* @throws {RequiredError}
|
2139
|
+
* @memberof ConfigurationsApi
|
2140
|
+
*/
|
2141
|
+
createConfiguration(backofficeConfigUpdateRequest, options) {
|
2142
|
+
return ConfigurationsApiFp(this.configuration).createConfiguration(backofficeConfigUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
2143
|
+
}
|
2144
|
+
/**
|
2145
|
+
* Create or update backoffice configuration for the current tenant
|
2146
|
+
* @summary Create configuration
|
2147
|
+
* @param {TenantConfing} tenantConfing Configuration data
|
2021
2148
|
* @param {*} [options] Override http request option.
|
2022
2149
|
* @throws {RequiredError}
|
2023
2150
|
* @memberof ConfigurationsApi
|
2024
2151
|
*/
|
2025
|
-
|
2026
|
-
return ConfigurationsApiFp(this.configuration).
|
2152
|
+
createV2Configuration(tenantConfing, options) {
|
2153
|
+
return ConfigurationsApiFp(this.configuration).createV2Configuration(tenantConfing, options).then((request) => request(this.axios, this.basePath));
|
2027
2154
|
}
|
2028
2155
|
/**
|
2029
2156
|
* List backoffice configurations for the current tenant
|
@@ -2066,6 +2193,16 @@ export class ConfigurationsApi extends BaseAPI {
|
|
2066
2193
|
listUserFeatures(options) {
|
2067
2194
|
return ConfigurationsApiFp(this.configuration).listUserFeatures(options).then((request) => request(this.axios, this.basePath));
|
2068
2195
|
}
|
2196
|
+
/**
|
2197
|
+
* List backoffice configurations for the current tenant
|
2198
|
+
* @summary List configurations
|
2199
|
+
* @param {*} [options] Override http request option.
|
2200
|
+
* @throws {RequiredError}
|
2201
|
+
* @memberof ConfigurationsApi
|
2202
|
+
*/
|
2203
|
+
listV2Configurations(options) {
|
2204
|
+
return ConfigurationsApiFp(this.configuration).listV2Configurations(options).then((request) => request(this.axios, this.basePath));
|
2205
|
+
}
|
2069
2206
|
}
|
2070
2207
|
/**
|
2071
2208
|
* CustomDealsApi - axios parameter creator
|
@@ -2719,6 +2856,166 @@ export class IntegrationsApi extends BaseAPI {
|
|
2719
2856
|
return IntegrationsApiFp(this.configuration).setWebhook(webhook, options).then((request) => request(this.axios, this.basePath));
|
2720
2857
|
}
|
2721
2858
|
}
|
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
|
+
}
|
2722
3019
|
/**
|
2723
3020
|
* NotificationsApi - axios parameter creator
|
2724
3021
|
* @export
|