@openfilz-sdk/typescript-ee 1.12.0 → 1.12.2
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/.openapi-generator/FILES +30 -0
- package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
- package/README.md +37 -9
- package/api/ai-archiving-admin-controller-api.ts +10 -10
- package/api/aifiling-rules-api.ts +18 -18
- package/api/aimaintenance-api.ts +334 -0
- package/api/aiteam-inboxes-api.ts +18 -18
- package/api/esign-templates-api.ts +8 -8
- package/api/mcp-token-admin-controller-api.ts +75 -8
- package/api/organisation-settings-api.ts +266 -0
- package/api/quota-administration-api.ts +677 -0
- package/api/quotas-api.ts +121 -0
- package/api/tus-controller-api.ts +8 -4
- package/api.ts +4 -0
- package/dist/api/ai-archiving-admin-controller-api.d.ts +4 -4
- package/dist/api/ai-archiving-admin-controller-api.js +10 -10
- package/dist/api/aifiling-rules-api.d.ts +8 -8
- package/dist/api/aifiling-rules-api.js +18 -18
- package/dist/api/aimaintenance-api.d.ts +162 -0
- package/dist/api/aimaintenance-api.js +327 -0
- package/dist/api/aiteam-inboxes-api.d.ts +8 -8
- package/dist/api/aiteam-inboxes-api.js +18 -18
- package/dist/api/esign-templates-api.d.ts +4 -4
- package/dist/api/esign-templates-api.js +8 -8
- package/dist/api/mcp-token-admin-controller-api.d.ts +33 -4
- package/dist/api/mcp-token-admin-controller-api.js +70 -8
- package/dist/api/organisation-settings-api.d.ts +135 -0
- package/dist/api/organisation-settings-api.js +264 -0
- package/dist/api/quota-administration-api.d.ts +312 -0
- package/dist/api/quota-administration-api.js +645 -0
- package/dist/api/quotas-api.d.ts +63 -0
- package/dist/api/quotas-api.js +125 -0
- package/dist/api/tus-controller-api.d.ts +6 -6
- package/dist/api/tus-controller-api.js +2 -0
- package/dist/api.d.ts +4 -0
- package/dist/api.js +4 -0
- package/dist/esm/api/ai-archiving-admin-controller-api.d.ts +4 -4
- package/dist/esm/api/ai-archiving-admin-controller-api.js +10 -10
- package/dist/esm/api/aifiling-rules-api.d.ts +8 -8
- package/dist/esm/api/aifiling-rules-api.js +18 -18
- package/dist/esm/api/aimaintenance-api.d.ts +162 -0
- package/dist/esm/api/aimaintenance-api.js +320 -0
- package/dist/esm/api/aiteam-inboxes-api.d.ts +8 -8
- package/dist/esm/api/aiteam-inboxes-api.js +18 -18
- package/dist/esm/api/esign-templates-api.d.ts +4 -4
- package/dist/esm/api/esign-templates-api.js +8 -8
- package/dist/esm/api/mcp-token-admin-controller-api.d.ts +33 -4
- package/dist/esm/api/mcp-token-admin-controller-api.js +70 -8
- package/dist/esm/api/organisation-settings-api.d.ts +135 -0
- package/dist/esm/api/organisation-settings-api.js +257 -0
- package/dist/esm/api/quota-administration-api.d.ts +312 -0
- package/dist/esm/api/quota-administration-api.js +638 -0
- package/dist/esm/api/quotas-api.d.ts +63 -0
- package/dist/esm/api/quotas-api.js +118 -0
- package/dist/esm/api/tus-controller-api.d.ts +6 -6
- package/dist/esm/api/tus-controller-api.js +2 -0
- package/dist/esm/api.d.ts +4 -0
- package/dist/esm/api.js +4 -0
- package/dist/esm/models/enriched-audit-log.d.ts +4 -0
- package/dist/esm/models/enriched-audit-log.js +4 -0
- package/dist/esm/models/error-response.d.ts +16 -0
- package/dist/esm/models/error-response.js +14 -0
- package/dist/esm/models/index.d.ts +11 -0
- package/dist/esm/models/index.js +11 -0
- package/dist/esm/models/mcp-agent-token-config.d.ts +31 -0
- package/dist/esm/models/mcp-agent-token-config.js +14 -0
- package/dist/esm/models/mcp-agent-token-info.d.ts +1 -0
- package/dist/esm/models/my-storage-quota.d.ts +24 -0
- package/dist/esm/models/my-storage-quota.js +18 -0
- package/dist/esm/models/quota-overview.d.ts +19 -0
- package/dist/esm/models/quota-overview.js +14 -0
- package/dist/esm/models/quota-usage.d.ts +27 -0
- package/dist/esm/models/quota-usage.js +18 -0
- package/dist/esm/models/quota-user-page.d.ts +18 -0
- package/dist/esm/models/quota-user-page.js +14 -0
- package/dist/esm/models/search-by-audit-log-request.d.ts +4 -0
- package/dist/esm/models/search-by-audit-log-request.js +4 -0
- package/dist/esm/models/setting-dto.d.ts +26 -0
- package/dist/esm/models/setting-dto.js +14 -0
- package/dist/esm/models/start-request.d.ts +14 -0
- package/dist/esm/models/start-request.js +14 -0
- package/dist/esm/models/storage-breakdown.d.ts +2 -0
- package/dist/esm/models/team-quota-request.d.ts +17 -0
- package/dist/esm/models/team-quota-request.js +14 -0
- package/dist/esm/models/team-quota-view.d.ts +19 -0
- package/dist/esm/models/team-quota-view.js +14 -0
- package/dist/esm/models/user-quota-request.d.ts +17 -0
- package/dist/esm/models/user-quota-request.js +14 -0
- package/dist/models/enriched-audit-log.d.ts +4 -0
- package/dist/models/enriched-audit-log.js +4 -0
- package/dist/models/error-response.d.ts +16 -0
- package/dist/models/error-response.js +15 -0
- package/dist/models/index.d.ts +11 -0
- package/dist/models/index.js +11 -0
- package/dist/models/mcp-agent-token-config.d.ts +31 -0
- package/dist/models/mcp-agent-token-config.js +15 -0
- package/dist/models/mcp-agent-token-info.d.ts +1 -0
- package/dist/models/my-storage-quota.d.ts +24 -0
- package/dist/models/my-storage-quota.js +21 -0
- package/dist/models/quota-overview.d.ts +19 -0
- package/dist/models/quota-overview.js +15 -0
- package/dist/models/quota-usage.d.ts +27 -0
- package/dist/models/quota-usage.js +21 -0
- package/dist/models/quota-user-page.d.ts +18 -0
- package/dist/models/quota-user-page.js +15 -0
- package/dist/models/search-by-audit-log-request.d.ts +4 -0
- package/dist/models/search-by-audit-log-request.js +4 -0
- package/dist/models/setting-dto.d.ts +26 -0
- package/dist/models/setting-dto.js +15 -0
- package/dist/models/start-request.d.ts +14 -0
- package/dist/models/start-request.js +15 -0
- package/dist/models/storage-breakdown.d.ts +2 -0
- package/dist/models/team-quota-request.d.ts +17 -0
- package/dist/models/team-quota-request.js +15 -0
- package/dist/models/team-quota-view.d.ts +19 -0
- package/dist/models/team-quota-view.js +15 -0
- package/dist/models/user-quota-request.d.ts +17 -0
- package/dist/models/user-quota-request.js +15 -0
- package/docs/AIFilingRulesApi.md +8 -8
- package/docs/AIMaintenanceApi.md +201 -0
- package/docs/AITeamInboxesApi.md +8 -8
- package/docs/AiArchivingAdminControllerApi.md +4 -4
- package/docs/ESignTemplatesApi.md +4 -4
- package/docs/ErrorResponse.md +24 -0
- package/docs/McpAgentTokenConfig.md +30 -0
- package/docs/McpAgentTokenInfo.md +2 -0
- package/docs/McpTokenAdminControllerApi.md +48 -4
- package/docs/MyStorageQuota.md +28 -0
- package/docs/OrganisationSettingsApi.md +153 -0
- package/docs/QuotaAdministrationApi.md +427 -0
- package/docs/QuotaOverview.md +30 -0
- package/docs/QuotaUsage.md +34 -0
- package/docs/QuotaUserPage.md +26 -0
- package/docs/QuotasApi.md +52 -0
- package/docs/SettingDto.md +44 -0
- package/docs/StartRequest.md +20 -0
- package/docs/StorageBreakdown.md +2 -0
- package/docs/TeamQuotaRequest.md +20 -0
- package/docs/TeamQuotaView.md +30 -0
- package/docs/TusControllerApi.md +8 -7
- package/docs/UserQuotaRequest.md +20 -0
- package/models/enriched-audit-log.ts +4 -0
- package/models/error-response.ts +22 -0
- package/models/index.ts +11 -0
- package/models/mcp-agent-token-config.ts +37 -0
- package/models/mcp-agent-token-info.ts +1 -0
- package/models/my-storage-quota.ts +33 -0
- package/models/quota-overview.ts +25 -0
- package/models/quota-usage.ts +36 -0
- package/models/quota-user-page.ts +26 -0
- package/models/search-by-audit-log-request.ts +4 -0
- package/models/setting-dto.ts +32 -0
- package/models/start-request.ts +20 -0
- package/models/storage-breakdown.ts +4 -0
- package/models/team-quota-request.ts +23 -0
- package/models/team-quota-view.ts +25 -0
- package/models/user-quota-request.ts +23 -0
- package/package.json +1 -1
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import type { McpAgentTokenConfig } from '../models';
|
|
15
16
|
import type { McpAgentTokenInfo } from '../models';
|
|
16
17
|
import type { McpAgentTokenResponse } from '../models';
|
|
17
18
|
import type { MintMcpAgentTokenRequest } from '../models';
|
|
@@ -19,13 +20,20 @@ import type { MintMcpAgentTokenRequest } from '../models';
|
|
|
19
20
|
* McpTokenAdminControllerApi - axios parameter creator
|
|
20
21
|
*/
|
|
21
22
|
export declare const McpTokenAdminControllerApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @summary Whether agent tokens can be minted here, and the TTL bounds (no secrets)
|
|
26
|
+
* @param {*} [options] Override http request option.
|
|
27
|
+
* @throws {RequiredError}
|
|
28
|
+
*/
|
|
29
|
+
config: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22
30
|
/**
|
|
23
31
|
*
|
|
24
32
|
* @summary List minted MCP agent tokens (never returns the credentials)
|
|
25
33
|
* @param {*} [options] Override http request option.
|
|
26
34
|
* @throws {RequiredError}
|
|
27
35
|
*/
|
|
28
|
-
|
|
36
|
+
list2: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
37
|
/**
|
|
30
38
|
*
|
|
31
39
|
* @summary Mint an MCP agent token for a dedicated user (admin only)
|
|
@@ -47,13 +55,20 @@ export declare const McpTokenAdminControllerApiAxiosParamCreator: (configuration
|
|
|
47
55
|
* McpTokenAdminControllerApi - functional programming interface
|
|
48
56
|
*/
|
|
49
57
|
export declare const McpTokenAdminControllerApiFp: (configuration?: Configuration) => {
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @summary Whether agent tokens can be minted here, and the TTL bounds (no secrets)
|
|
61
|
+
* @param {*} [options] Override http request option.
|
|
62
|
+
* @throws {RequiredError}
|
|
63
|
+
*/
|
|
64
|
+
config(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<McpAgentTokenConfig>>;
|
|
50
65
|
/**
|
|
51
66
|
*
|
|
52
67
|
* @summary List minted MCP agent tokens (never returns the credentials)
|
|
53
68
|
* @param {*} [options] Override http request option.
|
|
54
69
|
* @throws {RequiredError}
|
|
55
70
|
*/
|
|
56
|
-
|
|
71
|
+
list2(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<McpAgentTokenInfo>>>;
|
|
57
72
|
/**
|
|
58
73
|
*
|
|
59
74
|
* @summary Mint an MCP agent token for a dedicated user (admin only)
|
|
@@ -75,13 +90,20 @@ export declare const McpTokenAdminControllerApiFp: (configuration?: Configuratio
|
|
|
75
90
|
* McpTokenAdminControllerApi - factory interface
|
|
76
91
|
*/
|
|
77
92
|
export declare const McpTokenAdminControllerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
* @summary Whether agent tokens can be minted here, and the TTL bounds (no secrets)
|
|
96
|
+
* @param {*} [options] Override http request option.
|
|
97
|
+
* @throws {RequiredError}
|
|
98
|
+
*/
|
|
99
|
+
config(options?: RawAxiosRequestConfig): AxiosPromise<McpAgentTokenConfig>;
|
|
78
100
|
/**
|
|
79
101
|
*
|
|
80
102
|
* @summary List minted MCP agent tokens (never returns the credentials)
|
|
81
103
|
* @param {*} [options] Override http request option.
|
|
82
104
|
* @throws {RequiredError}
|
|
83
105
|
*/
|
|
84
|
-
|
|
106
|
+
list2(options?: RawAxiosRequestConfig): AxiosPromise<Array<McpAgentTokenInfo>>;
|
|
85
107
|
/**
|
|
86
108
|
*
|
|
87
109
|
* @summary Mint an MCP agent token for a dedicated user (admin only)
|
|
@@ -103,13 +125,20 @@ export declare const McpTokenAdminControllerApiFactory: (configuration?: Configu
|
|
|
103
125
|
* McpTokenAdminControllerApi - object-oriented interface
|
|
104
126
|
*/
|
|
105
127
|
export declare class McpTokenAdminControllerApi extends BaseAPI {
|
|
128
|
+
/**
|
|
129
|
+
*
|
|
130
|
+
* @summary Whether agent tokens can be minted here, and the TTL bounds (no secrets)
|
|
131
|
+
* @param {*} [options] Override http request option.
|
|
132
|
+
* @throws {RequiredError}
|
|
133
|
+
*/
|
|
134
|
+
config(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<McpAgentTokenConfig, any, {}, any>>;
|
|
106
135
|
/**
|
|
107
136
|
*
|
|
108
137
|
* @summary List minted MCP agent tokens (never returns the credentials)
|
|
109
138
|
* @param {*} [options] Override http request option.
|
|
110
139
|
* @throws {RequiredError}
|
|
111
140
|
*/
|
|
112
|
-
|
|
141
|
+
list2(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<McpAgentTokenInfo[], any, {}, any>>;
|
|
113
142
|
/**
|
|
114
143
|
*
|
|
115
144
|
* @summary Mint an MCP agent token for a dedicated user (admin only)
|
|
@@ -34,13 +34,42 @@ const base_1 = require("../base");
|
|
|
34
34
|
*/
|
|
35
35
|
const McpTokenAdminControllerApiAxiosParamCreator = function (configuration) {
|
|
36
36
|
return {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @summary Whether agent tokens can be minted here, and the TTL bounds (no secrets)
|
|
40
|
+
* @param {*} [options] Override http request option.
|
|
41
|
+
* @throws {RequiredError}
|
|
42
|
+
*/
|
|
43
|
+
config: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
44
|
+
const localVarPath = `/api/v1/admin/mcp/tokens/config`;
|
|
45
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
46
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
47
|
+
let baseOptions;
|
|
48
|
+
if (configuration) {
|
|
49
|
+
baseOptions = configuration.baseOptions;
|
|
50
|
+
}
|
|
51
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
52
|
+
const localVarHeaderParameter = {};
|
|
53
|
+
const localVarQueryParameter = {};
|
|
54
|
+
// authentication keycloak_auth required
|
|
55
|
+
// http bearer authentication required
|
|
56
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
57
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
58
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
59
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
60
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
61
|
+
return {
|
|
62
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
63
|
+
options: localVarRequestOptions,
|
|
64
|
+
};
|
|
65
|
+
}),
|
|
37
66
|
/**
|
|
38
67
|
*
|
|
39
68
|
* @summary List minted MCP agent tokens (never returns the credentials)
|
|
40
69
|
* @param {*} [options] Override http request option.
|
|
41
70
|
* @throws {RequiredError}
|
|
42
71
|
*/
|
|
43
|
-
|
|
72
|
+
list2: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
44
73
|
const localVarPath = `/api/v1/admin/mcp/tokens`;
|
|
45
74
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
46
75
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -138,18 +167,33 @@ exports.McpTokenAdminControllerApiAxiosParamCreator = McpTokenAdminControllerApi
|
|
|
138
167
|
const McpTokenAdminControllerApiFp = function (configuration) {
|
|
139
168
|
const localVarAxiosParamCreator = (0, exports.McpTokenAdminControllerApiAxiosParamCreator)(configuration);
|
|
140
169
|
return {
|
|
170
|
+
/**
|
|
171
|
+
*
|
|
172
|
+
* @summary Whether agent tokens can be minted here, and the TTL bounds (no secrets)
|
|
173
|
+
* @param {*} [options] Override http request option.
|
|
174
|
+
* @throws {RequiredError}
|
|
175
|
+
*/
|
|
176
|
+
config(options) {
|
|
177
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
178
|
+
var _a, _b, _c;
|
|
179
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.config(options);
|
|
180
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
181
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['McpTokenAdminControllerApi.config']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
182
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
183
|
+
});
|
|
184
|
+
},
|
|
141
185
|
/**
|
|
142
186
|
*
|
|
143
187
|
* @summary List minted MCP agent tokens (never returns the credentials)
|
|
144
188
|
* @param {*} [options] Override http request option.
|
|
145
189
|
* @throws {RequiredError}
|
|
146
190
|
*/
|
|
147
|
-
|
|
191
|
+
list2(options) {
|
|
148
192
|
return __awaiter(this, void 0, void 0, function* () {
|
|
149
193
|
var _a, _b, _c;
|
|
150
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
194
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.list2(options);
|
|
151
195
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
152
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['McpTokenAdminControllerApi.
|
|
196
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['McpTokenAdminControllerApi.list2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
153
197
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
154
198
|
});
|
|
155
199
|
},
|
|
@@ -194,14 +238,23 @@ exports.McpTokenAdminControllerApiFp = McpTokenAdminControllerApiFp;
|
|
|
194
238
|
const McpTokenAdminControllerApiFactory = function (configuration, basePath, axios) {
|
|
195
239
|
const localVarFp = (0, exports.McpTokenAdminControllerApiFp)(configuration);
|
|
196
240
|
return {
|
|
241
|
+
/**
|
|
242
|
+
*
|
|
243
|
+
* @summary Whether agent tokens can be minted here, and the TTL bounds (no secrets)
|
|
244
|
+
* @param {*} [options] Override http request option.
|
|
245
|
+
* @throws {RequiredError}
|
|
246
|
+
*/
|
|
247
|
+
config(options) {
|
|
248
|
+
return localVarFp.config(options).then((request) => request(axios, basePath));
|
|
249
|
+
},
|
|
197
250
|
/**
|
|
198
251
|
*
|
|
199
252
|
* @summary List minted MCP agent tokens (never returns the credentials)
|
|
200
253
|
* @param {*} [options] Override http request option.
|
|
201
254
|
* @throws {RequiredError}
|
|
202
255
|
*/
|
|
203
|
-
|
|
204
|
-
return localVarFp.
|
|
256
|
+
list2(options) {
|
|
257
|
+
return localVarFp.list2(options).then((request) => request(axios, basePath));
|
|
205
258
|
},
|
|
206
259
|
/**
|
|
207
260
|
*
|
|
@@ -230,14 +283,23 @@ exports.McpTokenAdminControllerApiFactory = McpTokenAdminControllerApiFactory;
|
|
|
230
283
|
* McpTokenAdminControllerApi - object-oriented interface
|
|
231
284
|
*/
|
|
232
285
|
class McpTokenAdminControllerApi extends base_1.BaseAPI {
|
|
286
|
+
/**
|
|
287
|
+
*
|
|
288
|
+
* @summary Whether agent tokens can be minted here, and the TTL bounds (no secrets)
|
|
289
|
+
* @param {*} [options] Override http request option.
|
|
290
|
+
* @throws {RequiredError}
|
|
291
|
+
*/
|
|
292
|
+
config(options) {
|
|
293
|
+
return (0, exports.McpTokenAdminControllerApiFp)(this.configuration).config(options).then((request) => request(this.axios, this.basePath));
|
|
294
|
+
}
|
|
233
295
|
/**
|
|
234
296
|
*
|
|
235
297
|
* @summary List minted MCP agent tokens (never returns the credentials)
|
|
236
298
|
* @param {*} [options] Override http request option.
|
|
237
299
|
* @throws {RequiredError}
|
|
238
300
|
*/
|
|
239
|
-
|
|
240
|
-
return (0, exports.McpTokenAdminControllerApiFp)(this.configuration).
|
|
301
|
+
list2(options) {
|
|
302
|
+
return (0, exports.McpTokenAdminControllerApiFp)(this.configuration).list2(options).then((request) => request(this.axios, this.basePath));
|
|
241
303
|
}
|
|
242
304
|
/**
|
|
243
305
|
*
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* openfilz-api
|
|
3
|
+
* API for Document Management System
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Configuration } from '../configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import type { SettingDto } from '../models';
|
|
16
|
+
/**
|
|
17
|
+
* OrganisationSettingsApi - axios parameter creator
|
|
18
|
+
*/
|
|
19
|
+
export declare const OrganisationSettingsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @summary List the organisation settings with their effective and deployment values
|
|
23
|
+
* @param {*} [options] Override http request option.
|
|
24
|
+
* @throws {RequiredError}
|
|
25
|
+
*/
|
|
26
|
+
list: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @summary Reset a setting to its deployment value
|
|
30
|
+
* @param {string} key
|
|
31
|
+
* @param {*} [options] Override http request option.
|
|
32
|
+
* @throws {RequiredError}
|
|
33
|
+
*/
|
|
34
|
+
reset1: (key: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @summary Change settings (map of key → value). All are validated before any is stored; a locked key answers 409, an unknown key or invalid value 400
|
|
38
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
39
|
+
* @param {*} [options] Override http request option.
|
|
40
|
+
* @throws {RequiredError}
|
|
41
|
+
*/
|
|
42
|
+
update2: (requestBody: {
|
|
43
|
+
[key: string]: string;
|
|
44
|
+
}, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* OrganisationSettingsApi - functional programming interface
|
|
48
|
+
*/
|
|
49
|
+
export declare const OrganisationSettingsApiFp: (configuration?: Configuration) => {
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @summary List the organisation settings with their effective and deployment values
|
|
53
|
+
* @param {*} [options] Override http request option.
|
|
54
|
+
* @throws {RequiredError}
|
|
55
|
+
*/
|
|
56
|
+
list(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SettingDto>>>;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @summary Reset a setting to its deployment value
|
|
60
|
+
* @param {string} key
|
|
61
|
+
* @param {*} [options] Override http request option.
|
|
62
|
+
* @throws {RequiredError}
|
|
63
|
+
*/
|
|
64
|
+
reset1(key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SettingDto>>>;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @summary Change settings (map of key → value). All are validated before any is stored; a locked key answers 409, an unknown key or invalid value 400
|
|
68
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
69
|
+
* @param {*} [options] Override http request option.
|
|
70
|
+
* @throws {RequiredError}
|
|
71
|
+
*/
|
|
72
|
+
update2(requestBody: {
|
|
73
|
+
[key: string]: string;
|
|
74
|
+
}, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SettingDto>>>;
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* OrganisationSettingsApi - factory interface
|
|
78
|
+
*/
|
|
79
|
+
export declare const OrganisationSettingsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @summary List the organisation settings with their effective and deployment values
|
|
83
|
+
* @param {*} [options] Override http request option.
|
|
84
|
+
* @throws {RequiredError}
|
|
85
|
+
*/
|
|
86
|
+
list(options?: RawAxiosRequestConfig): AxiosPromise<Array<SettingDto>>;
|
|
87
|
+
/**
|
|
88
|
+
*
|
|
89
|
+
* @summary Reset a setting to its deployment value
|
|
90
|
+
* @param {string} key
|
|
91
|
+
* @param {*} [options] Override http request option.
|
|
92
|
+
* @throws {RequiredError}
|
|
93
|
+
*/
|
|
94
|
+
reset1(key: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<SettingDto>>;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @summary Change settings (map of key → value). All are validated before any is stored; a locked key answers 409, an unknown key or invalid value 400
|
|
98
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
99
|
+
* @param {*} [options] Override http request option.
|
|
100
|
+
* @throws {RequiredError}
|
|
101
|
+
*/
|
|
102
|
+
update2(requestBody: {
|
|
103
|
+
[key: string]: string;
|
|
104
|
+
}, options?: RawAxiosRequestConfig): AxiosPromise<Array<SettingDto>>;
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
* OrganisationSettingsApi - object-oriented interface
|
|
108
|
+
*/
|
|
109
|
+
export declare class OrganisationSettingsApi extends BaseAPI {
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* @summary List the organisation settings with their effective and deployment values
|
|
113
|
+
* @param {*} [options] Override http request option.
|
|
114
|
+
* @throws {RequiredError}
|
|
115
|
+
*/
|
|
116
|
+
list(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SettingDto[], any, {}, any>>;
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
* @summary Reset a setting to its deployment value
|
|
120
|
+
* @param {string} key
|
|
121
|
+
* @param {*} [options] Override http request option.
|
|
122
|
+
* @throws {RequiredError}
|
|
123
|
+
*/
|
|
124
|
+
reset1(key: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SettingDto[], any, {}, any>>;
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
* @summary Change settings (map of key → value). All are validated before any is stored; a locked key answers 409, an unknown key or invalid value 400
|
|
128
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
129
|
+
* @param {*} [options] Override http request option.
|
|
130
|
+
* @throws {RequiredError}
|
|
131
|
+
*/
|
|
132
|
+
update2(requestBody: {
|
|
133
|
+
[key: string]: string;
|
|
134
|
+
}, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SettingDto[], any, {}, any>>;
|
|
135
|
+
}
|
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* openfilz-api
|
|
6
|
+
* API for Document Management System
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.OrganisationSettingsApi = exports.OrganisationSettingsApiFactory = exports.OrganisationSettingsApiFp = exports.OrganisationSettingsApiAxiosParamCreator = void 0;
|
|
26
|
+
const axios_1 = require("axios");
|
|
27
|
+
// Some imports not used depending on template conditions
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
const common_1 = require("../common");
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
const base_1 = require("../base");
|
|
32
|
+
/**
|
|
33
|
+
* OrganisationSettingsApi - axios parameter creator
|
|
34
|
+
*/
|
|
35
|
+
const OrganisationSettingsApiAxiosParamCreator = function (configuration) {
|
|
36
|
+
return {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @summary List the organisation settings with their effective and deployment values
|
|
40
|
+
* @param {*} [options] Override http request option.
|
|
41
|
+
* @throws {RequiredError}
|
|
42
|
+
*/
|
|
43
|
+
list: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
44
|
+
const localVarPath = `/api/v1/admin/settings`;
|
|
45
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
46
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
47
|
+
let baseOptions;
|
|
48
|
+
if (configuration) {
|
|
49
|
+
baseOptions = configuration.baseOptions;
|
|
50
|
+
}
|
|
51
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
52
|
+
const localVarHeaderParameter = {};
|
|
53
|
+
const localVarQueryParameter = {};
|
|
54
|
+
// authentication keycloak_auth required
|
|
55
|
+
// http bearer authentication required
|
|
56
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
57
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
58
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
59
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
60
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
61
|
+
return {
|
|
62
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
63
|
+
options: localVarRequestOptions,
|
|
64
|
+
};
|
|
65
|
+
}),
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @summary Reset a setting to its deployment value
|
|
69
|
+
* @param {string} key
|
|
70
|
+
* @param {*} [options] Override http request option.
|
|
71
|
+
* @throws {RequiredError}
|
|
72
|
+
*/
|
|
73
|
+
reset1: (key_1, ...args_1) => __awaiter(this, [key_1, ...args_1], void 0, function* (key, options = {}) {
|
|
74
|
+
// verify required parameter 'key' is not null or undefined
|
|
75
|
+
(0, common_1.assertParamExists)('reset1', 'key', key);
|
|
76
|
+
const localVarPath = `/api/v1/admin/settings/{key}`
|
|
77
|
+
.replace('{key}', encodeURIComponent(String(key)));
|
|
78
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
79
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
80
|
+
let baseOptions;
|
|
81
|
+
if (configuration) {
|
|
82
|
+
baseOptions = configuration.baseOptions;
|
|
83
|
+
}
|
|
84
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
85
|
+
const localVarHeaderParameter = {};
|
|
86
|
+
const localVarQueryParameter = {};
|
|
87
|
+
// authentication keycloak_auth required
|
|
88
|
+
// http bearer authentication required
|
|
89
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
90
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
91
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
92
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
93
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
94
|
+
return {
|
|
95
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
96
|
+
options: localVarRequestOptions,
|
|
97
|
+
};
|
|
98
|
+
}),
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @summary Change settings (map of key → value). All are validated before any is stored; a locked key answers 409, an unknown key or invalid value 400
|
|
102
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
103
|
+
* @param {*} [options] Override http request option.
|
|
104
|
+
* @throws {RequiredError}
|
|
105
|
+
*/
|
|
106
|
+
update2: (requestBody_1, ...args_1) => __awaiter(this, [requestBody_1, ...args_1], void 0, function* (requestBody, options = {}) {
|
|
107
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
108
|
+
(0, common_1.assertParamExists)('update2', 'requestBody', requestBody);
|
|
109
|
+
const localVarPath = `/api/v1/admin/settings`;
|
|
110
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
111
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
112
|
+
let baseOptions;
|
|
113
|
+
if (configuration) {
|
|
114
|
+
baseOptions = configuration.baseOptions;
|
|
115
|
+
}
|
|
116
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
117
|
+
const localVarHeaderParameter = {};
|
|
118
|
+
const localVarQueryParameter = {};
|
|
119
|
+
// authentication keycloak_auth required
|
|
120
|
+
// http bearer authentication required
|
|
121
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
122
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
123
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
124
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
125
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
126
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
127
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestBody, localVarRequestOptions, configuration);
|
|
128
|
+
return {
|
|
129
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
130
|
+
options: localVarRequestOptions,
|
|
131
|
+
};
|
|
132
|
+
}),
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
exports.OrganisationSettingsApiAxiosParamCreator = OrganisationSettingsApiAxiosParamCreator;
|
|
136
|
+
/**
|
|
137
|
+
* OrganisationSettingsApi - functional programming interface
|
|
138
|
+
*/
|
|
139
|
+
const OrganisationSettingsApiFp = function (configuration) {
|
|
140
|
+
const localVarAxiosParamCreator = (0, exports.OrganisationSettingsApiAxiosParamCreator)(configuration);
|
|
141
|
+
return {
|
|
142
|
+
/**
|
|
143
|
+
*
|
|
144
|
+
* @summary List the organisation settings with their effective and deployment values
|
|
145
|
+
* @param {*} [options] Override http request option.
|
|
146
|
+
* @throws {RequiredError}
|
|
147
|
+
*/
|
|
148
|
+
list(options) {
|
|
149
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
150
|
+
var _a, _b, _c;
|
|
151
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.list(options);
|
|
152
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
153
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganisationSettingsApi.list']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
154
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
155
|
+
});
|
|
156
|
+
},
|
|
157
|
+
/**
|
|
158
|
+
*
|
|
159
|
+
* @summary Reset a setting to its deployment value
|
|
160
|
+
* @param {string} key
|
|
161
|
+
* @param {*} [options] Override http request option.
|
|
162
|
+
* @throws {RequiredError}
|
|
163
|
+
*/
|
|
164
|
+
reset1(key, options) {
|
|
165
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
166
|
+
var _a, _b, _c;
|
|
167
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.reset1(key, options);
|
|
168
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
169
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganisationSettingsApi.reset1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
170
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
171
|
+
});
|
|
172
|
+
},
|
|
173
|
+
/**
|
|
174
|
+
*
|
|
175
|
+
* @summary Change settings (map of key → value). All are validated before any is stored; a locked key answers 409, an unknown key or invalid value 400
|
|
176
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
177
|
+
* @param {*} [options] Override http request option.
|
|
178
|
+
* @throws {RequiredError}
|
|
179
|
+
*/
|
|
180
|
+
update2(requestBody, options) {
|
|
181
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
182
|
+
var _a, _b, _c;
|
|
183
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.update2(requestBody, options);
|
|
184
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
185
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganisationSettingsApi.update2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
186
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
187
|
+
});
|
|
188
|
+
},
|
|
189
|
+
};
|
|
190
|
+
};
|
|
191
|
+
exports.OrganisationSettingsApiFp = OrganisationSettingsApiFp;
|
|
192
|
+
/**
|
|
193
|
+
* OrganisationSettingsApi - factory interface
|
|
194
|
+
*/
|
|
195
|
+
const OrganisationSettingsApiFactory = function (configuration, basePath, axios) {
|
|
196
|
+
const localVarFp = (0, exports.OrganisationSettingsApiFp)(configuration);
|
|
197
|
+
return {
|
|
198
|
+
/**
|
|
199
|
+
*
|
|
200
|
+
* @summary List the organisation settings with their effective and deployment values
|
|
201
|
+
* @param {*} [options] Override http request option.
|
|
202
|
+
* @throws {RequiredError}
|
|
203
|
+
*/
|
|
204
|
+
list(options) {
|
|
205
|
+
return localVarFp.list(options).then((request) => request(axios, basePath));
|
|
206
|
+
},
|
|
207
|
+
/**
|
|
208
|
+
*
|
|
209
|
+
* @summary Reset a setting to its deployment value
|
|
210
|
+
* @param {string} key
|
|
211
|
+
* @param {*} [options] Override http request option.
|
|
212
|
+
* @throws {RequiredError}
|
|
213
|
+
*/
|
|
214
|
+
reset1(key, options) {
|
|
215
|
+
return localVarFp.reset1(key, options).then((request) => request(axios, basePath));
|
|
216
|
+
},
|
|
217
|
+
/**
|
|
218
|
+
*
|
|
219
|
+
* @summary Change settings (map of key → value). All are validated before any is stored; a locked key answers 409, an unknown key or invalid value 400
|
|
220
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
221
|
+
* @param {*} [options] Override http request option.
|
|
222
|
+
* @throws {RequiredError}
|
|
223
|
+
*/
|
|
224
|
+
update2(requestBody, options) {
|
|
225
|
+
return localVarFp.update2(requestBody, options).then((request) => request(axios, basePath));
|
|
226
|
+
},
|
|
227
|
+
};
|
|
228
|
+
};
|
|
229
|
+
exports.OrganisationSettingsApiFactory = OrganisationSettingsApiFactory;
|
|
230
|
+
/**
|
|
231
|
+
* OrganisationSettingsApi - object-oriented interface
|
|
232
|
+
*/
|
|
233
|
+
class OrganisationSettingsApi extends base_1.BaseAPI {
|
|
234
|
+
/**
|
|
235
|
+
*
|
|
236
|
+
* @summary List the organisation settings with their effective and deployment values
|
|
237
|
+
* @param {*} [options] Override http request option.
|
|
238
|
+
* @throws {RequiredError}
|
|
239
|
+
*/
|
|
240
|
+
list(options) {
|
|
241
|
+
return (0, exports.OrganisationSettingsApiFp)(this.configuration).list(options).then((request) => request(this.axios, this.basePath));
|
|
242
|
+
}
|
|
243
|
+
/**
|
|
244
|
+
*
|
|
245
|
+
* @summary Reset a setting to its deployment value
|
|
246
|
+
* @param {string} key
|
|
247
|
+
* @param {*} [options] Override http request option.
|
|
248
|
+
* @throws {RequiredError}
|
|
249
|
+
*/
|
|
250
|
+
reset1(key, options) {
|
|
251
|
+
return (0, exports.OrganisationSettingsApiFp)(this.configuration).reset1(key, options).then((request) => request(this.axios, this.basePath));
|
|
252
|
+
}
|
|
253
|
+
/**
|
|
254
|
+
*
|
|
255
|
+
* @summary Change settings (map of key → value). All are validated before any is stored; a locked key answers 409, an unknown key or invalid value 400
|
|
256
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
257
|
+
* @param {*} [options] Override http request option.
|
|
258
|
+
* @throws {RequiredError}
|
|
259
|
+
*/
|
|
260
|
+
update2(requestBody, options) {
|
|
261
|
+
return (0, exports.OrganisationSettingsApiFp)(this.configuration).update2(requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
exports.OrganisationSettingsApi = OrganisationSettingsApi;
|