@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
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
import globalAxios from 'axios';
|
|
24
|
+
// Some imports not used depending on template conditions
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
29
|
+
/**
|
|
30
|
+
* OrganisationSettingsApi - axios parameter creator
|
|
31
|
+
*/
|
|
32
|
+
export const OrganisationSettingsApiAxiosParamCreator = function (configuration) {
|
|
33
|
+
return {
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @summary List the organisation settings with their effective and deployment values
|
|
37
|
+
* @param {*} [options] Override http request option.
|
|
38
|
+
* @throws {RequiredError}
|
|
39
|
+
*/
|
|
40
|
+
list: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
41
|
+
const localVarPath = `/api/v1/admin/settings`;
|
|
42
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
43
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
44
|
+
let baseOptions;
|
|
45
|
+
if (configuration) {
|
|
46
|
+
baseOptions = configuration.baseOptions;
|
|
47
|
+
}
|
|
48
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
49
|
+
const localVarHeaderParameter = {};
|
|
50
|
+
const localVarQueryParameter = {};
|
|
51
|
+
// authentication keycloak_auth required
|
|
52
|
+
// http bearer authentication required
|
|
53
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
54
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
55
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
56
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
57
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
58
|
+
return {
|
|
59
|
+
url: toPathString(localVarUrlObj),
|
|
60
|
+
options: localVarRequestOptions,
|
|
61
|
+
};
|
|
62
|
+
}),
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @summary Reset a setting to its deployment value
|
|
66
|
+
* @param {string} key
|
|
67
|
+
* @param {*} [options] Override http request option.
|
|
68
|
+
* @throws {RequiredError}
|
|
69
|
+
*/
|
|
70
|
+
reset1: (key_1, ...args_1) => __awaiter(this, [key_1, ...args_1], void 0, function* (key, options = {}) {
|
|
71
|
+
// verify required parameter 'key' is not null or undefined
|
|
72
|
+
assertParamExists('reset1', 'key', key);
|
|
73
|
+
const localVarPath = `/api/v1/admin/settings/{key}`
|
|
74
|
+
.replace('{key}', encodeURIComponent(String(key)));
|
|
75
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
76
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
77
|
+
let baseOptions;
|
|
78
|
+
if (configuration) {
|
|
79
|
+
baseOptions = configuration.baseOptions;
|
|
80
|
+
}
|
|
81
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
82
|
+
const localVarHeaderParameter = {};
|
|
83
|
+
const localVarQueryParameter = {};
|
|
84
|
+
// authentication keycloak_auth required
|
|
85
|
+
// http bearer authentication required
|
|
86
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
87
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
88
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
89
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
90
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
91
|
+
return {
|
|
92
|
+
url: toPathString(localVarUrlObj),
|
|
93
|
+
options: localVarRequestOptions,
|
|
94
|
+
};
|
|
95
|
+
}),
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @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
|
|
99
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
100
|
+
* @param {*} [options] Override http request option.
|
|
101
|
+
* @throws {RequiredError}
|
|
102
|
+
*/
|
|
103
|
+
update2: (requestBody_1, ...args_1) => __awaiter(this, [requestBody_1, ...args_1], void 0, function* (requestBody, options = {}) {
|
|
104
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
105
|
+
assertParamExists('update2', 'requestBody', requestBody);
|
|
106
|
+
const localVarPath = `/api/v1/admin/settings`;
|
|
107
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
108
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
109
|
+
let baseOptions;
|
|
110
|
+
if (configuration) {
|
|
111
|
+
baseOptions = configuration.baseOptions;
|
|
112
|
+
}
|
|
113
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
114
|
+
const localVarHeaderParameter = {};
|
|
115
|
+
const localVarQueryParameter = {};
|
|
116
|
+
// authentication keycloak_auth required
|
|
117
|
+
// http bearer authentication required
|
|
118
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
119
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
120
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
121
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
122
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
123
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
124
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration);
|
|
125
|
+
return {
|
|
126
|
+
url: toPathString(localVarUrlObj),
|
|
127
|
+
options: localVarRequestOptions,
|
|
128
|
+
};
|
|
129
|
+
}),
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
/**
|
|
133
|
+
* OrganisationSettingsApi - functional programming interface
|
|
134
|
+
*/
|
|
135
|
+
export const OrganisationSettingsApiFp = function (configuration) {
|
|
136
|
+
const localVarAxiosParamCreator = OrganisationSettingsApiAxiosParamCreator(configuration);
|
|
137
|
+
return {
|
|
138
|
+
/**
|
|
139
|
+
*
|
|
140
|
+
* @summary List the organisation settings with their effective and deployment values
|
|
141
|
+
* @param {*} [options] Override http request option.
|
|
142
|
+
* @throws {RequiredError}
|
|
143
|
+
*/
|
|
144
|
+
list(options) {
|
|
145
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
146
|
+
var _a, _b, _c;
|
|
147
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.list(options);
|
|
148
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
149
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganisationSettingsApi.list']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
150
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
151
|
+
});
|
|
152
|
+
},
|
|
153
|
+
/**
|
|
154
|
+
*
|
|
155
|
+
* @summary Reset a setting to its deployment value
|
|
156
|
+
* @param {string} key
|
|
157
|
+
* @param {*} [options] Override http request option.
|
|
158
|
+
* @throws {RequiredError}
|
|
159
|
+
*/
|
|
160
|
+
reset1(key, options) {
|
|
161
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
162
|
+
var _a, _b, _c;
|
|
163
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.reset1(key, options);
|
|
164
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
165
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganisationSettingsApi.reset1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
166
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
167
|
+
});
|
|
168
|
+
},
|
|
169
|
+
/**
|
|
170
|
+
*
|
|
171
|
+
* @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
|
|
172
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
173
|
+
* @param {*} [options] Override http request option.
|
|
174
|
+
* @throws {RequiredError}
|
|
175
|
+
*/
|
|
176
|
+
update2(requestBody, options) {
|
|
177
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
178
|
+
var _a, _b, _c;
|
|
179
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.update2(requestBody, 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 = operationServerMap['OrganisationSettingsApi.update2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
182
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
183
|
+
});
|
|
184
|
+
},
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
/**
|
|
188
|
+
* OrganisationSettingsApi - factory interface
|
|
189
|
+
*/
|
|
190
|
+
export const OrganisationSettingsApiFactory = function (configuration, basePath, axios) {
|
|
191
|
+
const localVarFp = OrganisationSettingsApiFp(configuration);
|
|
192
|
+
return {
|
|
193
|
+
/**
|
|
194
|
+
*
|
|
195
|
+
* @summary List the organisation settings with their effective and deployment values
|
|
196
|
+
* @param {*} [options] Override http request option.
|
|
197
|
+
* @throws {RequiredError}
|
|
198
|
+
*/
|
|
199
|
+
list(options) {
|
|
200
|
+
return localVarFp.list(options).then((request) => request(axios, basePath));
|
|
201
|
+
},
|
|
202
|
+
/**
|
|
203
|
+
*
|
|
204
|
+
* @summary Reset a setting to its deployment value
|
|
205
|
+
* @param {string} key
|
|
206
|
+
* @param {*} [options] Override http request option.
|
|
207
|
+
* @throws {RequiredError}
|
|
208
|
+
*/
|
|
209
|
+
reset1(key, options) {
|
|
210
|
+
return localVarFp.reset1(key, options).then((request) => request(axios, basePath));
|
|
211
|
+
},
|
|
212
|
+
/**
|
|
213
|
+
*
|
|
214
|
+
* @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
|
|
215
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
216
|
+
* @param {*} [options] Override http request option.
|
|
217
|
+
* @throws {RequiredError}
|
|
218
|
+
*/
|
|
219
|
+
update2(requestBody, options) {
|
|
220
|
+
return localVarFp.update2(requestBody, options).then((request) => request(axios, basePath));
|
|
221
|
+
},
|
|
222
|
+
};
|
|
223
|
+
};
|
|
224
|
+
/**
|
|
225
|
+
* OrganisationSettingsApi - object-oriented interface
|
|
226
|
+
*/
|
|
227
|
+
export class OrganisationSettingsApi extends BaseAPI {
|
|
228
|
+
/**
|
|
229
|
+
*
|
|
230
|
+
* @summary List the organisation settings with their effective and deployment values
|
|
231
|
+
* @param {*} [options] Override http request option.
|
|
232
|
+
* @throws {RequiredError}
|
|
233
|
+
*/
|
|
234
|
+
list(options) {
|
|
235
|
+
return OrganisationSettingsApiFp(this.configuration).list(options).then((request) => request(this.axios, this.basePath));
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
*
|
|
239
|
+
* @summary Reset a setting to its deployment value
|
|
240
|
+
* @param {string} key
|
|
241
|
+
* @param {*} [options] Override http request option.
|
|
242
|
+
* @throws {RequiredError}
|
|
243
|
+
*/
|
|
244
|
+
reset1(key, options) {
|
|
245
|
+
return OrganisationSettingsApiFp(this.configuration).reset1(key, options).then((request) => request(this.axios, this.basePath));
|
|
246
|
+
}
|
|
247
|
+
/**
|
|
248
|
+
*
|
|
249
|
+
* @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
|
|
250
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
251
|
+
* @param {*} [options] Override http request option.
|
|
252
|
+
* @throws {RequiredError}
|
|
253
|
+
*/
|
|
254
|
+
update2(requestBody, options) {
|
|
255
|
+
return OrganisationSettingsApiFp(this.configuration).update2(requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
256
|
+
}
|
|
257
|
+
}
|
|
@@ -0,0 +1,312 @@
|
|
|
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 { QuotaOverview } from '../models';
|
|
16
|
+
import type { QuotaUsage } from '../models';
|
|
17
|
+
import type { QuotaUserPage } from '../models';
|
|
18
|
+
import type { TeamQuotaRequest } from '../models';
|
|
19
|
+
import type { TeamQuotaView } from '../models';
|
|
20
|
+
import type { UserQuotaRequest } from '../models';
|
|
21
|
+
/**
|
|
22
|
+
* QuotaAdministrationApi - axios parameter creator
|
|
23
|
+
*/
|
|
24
|
+
export declare const QuotaAdministrationApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
25
|
+
/**
|
|
26
|
+
* Its members fall back to their other teams or the default.
|
|
27
|
+
* @summary Remove a team\'s limit
|
|
28
|
+
* @param {string} teamId
|
|
29
|
+
* @param {*} [options] Override http request option.
|
|
30
|
+
* @throws {RequiredError}
|
|
31
|
+
*/
|
|
32
|
+
clear: (teamId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
|
+
/**
|
|
34
|
+
* The group or default limit applies again.
|
|
35
|
+
* @summary Remove one user\'s own limit
|
|
36
|
+
* @param {string} username
|
|
37
|
+
* @param {*} [options] Override http request option.
|
|
38
|
+
* @throws {RequiredError}
|
|
39
|
+
*/
|
|
40
|
+
clearUserQuota: (username: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @summary Get one user\'s storage
|
|
44
|
+
* @param {string} username
|
|
45
|
+
* @param {*} [options] Override http request option.
|
|
46
|
+
* @throws {RequiredError}
|
|
47
|
+
*/
|
|
48
|
+
getUser: (username: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @summary List teams with their per-member limit and their members\' usage
|
|
52
|
+
* @param {*} [options] Override http request option.
|
|
53
|
+
* @throws {RequiredError}
|
|
54
|
+
*/
|
|
55
|
+
list5: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
56
|
+
/**
|
|
57
|
+
* Every user storage is charged to, with usage, effective limit and its source. Sort by usage (default), percent, limit or name.
|
|
58
|
+
* @summary List users\' storage
|
|
59
|
+
* @param {string} [search] Case-insensitive filter on the user name
|
|
60
|
+
* @param {string} [sort] usage | percent | limit | name
|
|
61
|
+
* @param {string} [order] asc | desc
|
|
62
|
+
* @param {number} [page]
|
|
63
|
+
* @param {number} [size]
|
|
64
|
+
* @param {*} [options] Override http request option.
|
|
65
|
+
* @throws {RequiredError}
|
|
66
|
+
*/
|
|
67
|
+
listUsers: (search?: string, sort?: string, order?: string, page?: number, size?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
68
|
+
/**
|
|
69
|
+
* Deployment-wide limits (MB, 0 = no limit), instance usage and the number of user overrides.
|
|
70
|
+
* @summary Quota overview
|
|
71
|
+
* @param {*} [options] Override http request option.
|
|
72
|
+
* @throws {RequiredError}
|
|
73
|
+
*/
|
|
74
|
+
overview: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
75
|
+
/**
|
|
76
|
+
* quotaMb > 0 = limit per member, 0 = members exempt.
|
|
77
|
+
* @summary Set a team\'s per-member limit
|
|
78
|
+
* @param {string} teamId
|
|
79
|
+
* @param {TeamQuotaRequest} teamQuotaRequest
|
|
80
|
+
* @param {*} [options] Override http request option.
|
|
81
|
+
* @throws {RequiredError}
|
|
82
|
+
*/
|
|
83
|
+
set: (teamId: string, teamQuotaRequest: TeamQuotaRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
84
|
+
/**
|
|
85
|
+
* quotaMb > 0 = this user\'s limit, 0 = no limit for this user. Takes precedence over group and default limits.
|
|
86
|
+
* @summary Set one user\'s own limit
|
|
87
|
+
* @param {string} username
|
|
88
|
+
* @param {UserQuotaRequest} userQuotaRequest
|
|
89
|
+
* @param {*} [options] Override http request option.
|
|
90
|
+
* @throws {RequiredError}
|
|
91
|
+
*/
|
|
92
|
+
setUserQuota: (username: string, userQuotaRequest: UserQuotaRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* QuotaAdministrationApi - functional programming interface
|
|
96
|
+
*/
|
|
97
|
+
export declare const QuotaAdministrationApiFp: (configuration?: Configuration) => {
|
|
98
|
+
/**
|
|
99
|
+
* Its members fall back to their other teams or the default.
|
|
100
|
+
* @summary Remove a team\'s limit
|
|
101
|
+
* @param {string} teamId
|
|
102
|
+
* @param {*} [options] Override http request option.
|
|
103
|
+
* @throws {RequiredError}
|
|
104
|
+
*/
|
|
105
|
+
clear(teamId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TeamQuotaView>>;
|
|
106
|
+
/**
|
|
107
|
+
* The group or default limit applies again.
|
|
108
|
+
* @summary Remove one user\'s own limit
|
|
109
|
+
* @param {string} username
|
|
110
|
+
* @param {*} [options] Override http request option.
|
|
111
|
+
* @throws {RequiredError}
|
|
112
|
+
*/
|
|
113
|
+
clearUserQuota(username: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QuotaUsage>>;
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @summary Get one user\'s storage
|
|
117
|
+
* @param {string} username
|
|
118
|
+
* @param {*} [options] Override http request option.
|
|
119
|
+
* @throws {RequiredError}
|
|
120
|
+
*/
|
|
121
|
+
getUser(username: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QuotaUsage>>;
|
|
122
|
+
/**
|
|
123
|
+
*
|
|
124
|
+
* @summary List teams with their per-member limit and their members\' usage
|
|
125
|
+
* @param {*} [options] Override http request option.
|
|
126
|
+
* @throws {RequiredError}
|
|
127
|
+
*/
|
|
128
|
+
list5(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TeamQuotaView>>>;
|
|
129
|
+
/**
|
|
130
|
+
* Every user storage is charged to, with usage, effective limit and its source. Sort by usage (default), percent, limit or name.
|
|
131
|
+
* @summary List users\' storage
|
|
132
|
+
* @param {string} [search] Case-insensitive filter on the user name
|
|
133
|
+
* @param {string} [sort] usage | percent | limit | name
|
|
134
|
+
* @param {string} [order] asc | desc
|
|
135
|
+
* @param {number} [page]
|
|
136
|
+
* @param {number} [size]
|
|
137
|
+
* @param {*} [options] Override http request option.
|
|
138
|
+
* @throws {RequiredError}
|
|
139
|
+
*/
|
|
140
|
+
listUsers(search?: string, sort?: string, order?: string, page?: number, size?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QuotaUserPage>>;
|
|
141
|
+
/**
|
|
142
|
+
* Deployment-wide limits (MB, 0 = no limit), instance usage and the number of user overrides.
|
|
143
|
+
* @summary Quota overview
|
|
144
|
+
* @param {*} [options] Override http request option.
|
|
145
|
+
* @throws {RequiredError}
|
|
146
|
+
*/
|
|
147
|
+
overview(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QuotaOverview>>;
|
|
148
|
+
/**
|
|
149
|
+
* quotaMb > 0 = limit per member, 0 = members exempt.
|
|
150
|
+
* @summary Set a team\'s per-member limit
|
|
151
|
+
* @param {string} teamId
|
|
152
|
+
* @param {TeamQuotaRequest} teamQuotaRequest
|
|
153
|
+
* @param {*} [options] Override http request option.
|
|
154
|
+
* @throws {RequiredError}
|
|
155
|
+
*/
|
|
156
|
+
set(teamId: string, teamQuotaRequest: TeamQuotaRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TeamQuotaView>>;
|
|
157
|
+
/**
|
|
158
|
+
* quotaMb > 0 = this user\'s limit, 0 = no limit for this user. Takes precedence over group and default limits.
|
|
159
|
+
* @summary Set one user\'s own limit
|
|
160
|
+
* @param {string} username
|
|
161
|
+
* @param {UserQuotaRequest} userQuotaRequest
|
|
162
|
+
* @param {*} [options] Override http request option.
|
|
163
|
+
* @throws {RequiredError}
|
|
164
|
+
*/
|
|
165
|
+
setUserQuota(username: string, userQuotaRequest: UserQuotaRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QuotaUsage>>;
|
|
166
|
+
};
|
|
167
|
+
/**
|
|
168
|
+
* QuotaAdministrationApi - factory interface
|
|
169
|
+
*/
|
|
170
|
+
export declare const QuotaAdministrationApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
171
|
+
/**
|
|
172
|
+
* Its members fall back to their other teams or the default.
|
|
173
|
+
* @summary Remove a team\'s limit
|
|
174
|
+
* @param {string} teamId
|
|
175
|
+
* @param {*} [options] Override http request option.
|
|
176
|
+
* @throws {RequiredError}
|
|
177
|
+
*/
|
|
178
|
+
clear(teamId: string, options?: RawAxiosRequestConfig): AxiosPromise<TeamQuotaView>;
|
|
179
|
+
/**
|
|
180
|
+
* The group or default limit applies again.
|
|
181
|
+
* @summary Remove one user\'s own limit
|
|
182
|
+
* @param {string} username
|
|
183
|
+
* @param {*} [options] Override http request option.
|
|
184
|
+
* @throws {RequiredError}
|
|
185
|
+
*/
|
|
186
|
+
clearUserQuota(username: string, options?: RawAxiosRequestConfig): AxiosPromise<QuotaUsage>;
|
|
187
|
+
/**
|
|
188
|
+
*
|
|
189
|
+
* @summary Get one user\'s storage
|
|
190
|
+
* @param {string} username
|
|
191
|
+
* @param {*} [options] Override http request option.
|
|
192
|
+
* @throws {RequiredError}
|
|
193
|
+
*/
|
|
194
|
+
getUser(username: string, options?: RawAxiosRequestConfig): AxiosPromise<QuotaUsage>;
|
|
195
|
+
/**
|
|
196
|
+
*
|
|
197
|
+
* @summary List teams with their per-member limit and their members\' usage
|
|
198
|
+
* @param {*} [options] Override http request option.
|
|
199
|
+
* @throws {RequiredError}
|
|
200
|
+
*/
|
|
201
|
+
list5(options?: RawAxiosRequestConfig): AxiosPromise<Array<TeamQuotaView>>;
|
|
202
|
+
/**
|
|
203
|
+
* Every user storage is charged to, with usage, effective limit and its source. Sort by usage (default), percent, limit or name.
|
|
204
|
+
* @summary List users\' storage
|
|
205
|
+
* @param {string} [search] Case-insensitive filter on the user name
|
|
206
|
+
* @param {string} [sort] usage | percent | limit | name
|
|
207
|
+
* @param {string} [order] asc | desc
|
|
208
|
+
* @param {number} [page]
|
|
209
|
+
* @param {number} [size]
|
|
210
|
+
* @param {*} [options] Override http request option.
|
|
211
|
+
* @throws {RequiredError}
|
|
212
|
+
*/
|
|
213
|
+
listUsers(search?: string, sort?: string, order?: string, page?: number, size?: number, options?: RawAxiosRequestConfig): AxiosPromise<QuotaUserPage>;
|
|
214
|
+
/**
|
|
215
|
+
* Deployment-wide limits (MB, 0 = no limit), instance usage and the number of user overrides.
|
|
216
|
+
* @summary Quota overview
|
|
217
|
+
* @param {*} [options] Override http request option.
|
|
218
|
+
* @throws {RequiredError}
|
|
219
|
+
*/
|
|
220
|
+
overview(options?: RawAxiosRequestConfig): AxiosPromise<QuotaOverview>;
|
|
221
|
+
/**
|
|
222
|
+
* quotaMb > 0 = limit per member, 0 = members exempt.
|
|
223
|
+
* @summary Set a team\'s per-member limit
|
|
224
|
+
* @param {string} teamId
|
|
225
|
+
* @param {TeamQuotaRequest} teamQuotaRequest
|
|
226
|
+
* @param {*} [options] Override http request option.
|
|
227
|
+
* @throws {RequiredError}
|
|
228
|
+
*/
|
|
229
|
+
set(teamId: string, teamQuotaRequest: TeamQuotaRequest, options?: RawAxiosRequestConfig): AxiosPromise<TeamQuotaView>;
|
|
230
|
+
/**
|
|
231
|
+
* quotaMb > 0 = this user\'s limit, 0 = no limit for this user. Takes precedence over group and default limits.
|
|
232
|
+
* @summary Set one user\'s own limit
|
|
233
|
+
* @param {string} username
|
|
234
|
+
* @param {UserQuotaRequest} userQuotaRequest
|
|
235
|
+
* @param {*} [options] Override http request option.
|
|
236
|
+
* @throws {RequiredError}
|
|
237
|
+
*/
|
|
238
|
+
setUserQuota(username: string, userQuotaRequest: UserQuotaRequest, options?: RawAxiosRequestConfig): AxiosPromise<QuotaUsage>;
|
|
239
|
+
};
|
|
240
|
+
/**
|
|
241
|
+
* QuotaAdministrationApi - object-oriented interface
|
|
242
|
+
*/
|
|
243
|
+
export declare class QuotaAdministrationApi extends BaseAPI {
|
|
244
|
+
/**
|
|
245
|
+
* Its members fall back to their other teams or the default.
|
|
246
|
+
* @summary Remove a team\'s limit
|
|
247
|
+
* @param {string} teamId
|
|
248
|
+
* @param {*} [options] Override http request option.
|
|
249
|
+
* @throws {RequiredError}
|
|
250
|
+
*/
|
|
251
|
+
clear(teamId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TeamQuotaView, any, {}, any>>;
|
|
252
|
+
/**
|
|
253
|
+
* The group or default limit applies again.
|
|
254
|
+
* @summary Remove one user\'s own limit
|
|
255
|
+
* @param {string} username
|
|
256
|
+
* @param {*} [options] Override http request option.
|
|
257
|
+
* @throws {RequiredError}
|
|
258
|
+
*/
|
|
259
|
+
clearUserQuota(username: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<QuotaUsage, any, {}, any>>;
|
|
260
|
+
/**
|
|
261
|
+
*
|
|
262
|
+
* @summary Get one user\'s storage
|
|
263
|
+
* @param {string} username
|
|
264
|
+
* @param {*} [options] Override http request option.
|
|
265
|
+
* @throws {RequiredError}
|
|
266
|
+
*/
|
|
267
|
+
getUser(username: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<QuotaUsage, any, {}, any>>;
|
|
268
|
+
/**
|
|
269
|
+
*
|
|
270
|
+
* @summary List teams with their per-member limit and their members\' usage
|
|
271
|
+
* @param {*} [options] Override http request option.
|
|
272
|
+
* @throws {RequiredError}
|
|
273
|
+
*/
|
|
274
|
+
list5(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TeamQuotaView[], any, {}, any>>;
|
|
275
|
+
/**
|
|
276
|
+
* Every user storage is charged to, with usage, effective limit and its source. Sort by usage (default), percent, limit or name.
|
|
277
|
+
* @summary List users\' storage
|
|
278
|
+
* @param {string} [search] Case-insensitive filter on the user name
|
|
279
|
+
* @param {string} [sort] usage | percent | limit | name
|
|
280
|
+
* @param {string} [order] asc | desc
|
|
281
|
+
* @param {number} [page]
|
|
282
|
+
* @param {number} [size]
|
|
283
|
+
* @param {*} [options] Override http request option.
|
|
284
|
+
* @throws {RequiredError}
|
|
285
|
+
*/
|
|
286
|
+
listUsers(search?: string, sort?: string, order?: string, page?: number, size?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<QuotaUserPage, any, {}, any>>;
|
|
287
|
+
/**
|
|
288
|
+
* Deployment-wide limits (MB, 0 = no limit), instance usage and the number of user overrides.
|
|
289
|
+
* @summary Quota overview
|
|
290
|
+
* @param {*} [options] Override http request option.
|
|
291
|
+
* @throws {RequiredError}
|
|
292
|
+
*/
|
|
293
|
+
overview(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<QuotaOverview, any, {}, any>>;
|
|
294
|
+
/**
|
|
295
|
+
* quotaMb > 0 = limit per member, 0 = members exempt.
|
|
296
|
+
* @summary Set a team\'s per-member limit
|
|
297
|
+
* @param {string} teamId
|
|
298
|
+
* @param {TeamQuotaRequest} teamQuotaRequest
|
|
299
|
+
* @param {*} [options] Override http request option.
|
|
300
|
+
* @throws {RequiredError}
|
|
301
|
+
*/
|
|
302
|
+
set(teamId: string, teamQuotaRequest: TeamQuotaRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TeamQuotaView, any, {}, any>>;
|
|
303
|
+
/**
|
|
304
|
+
* quotaMb > 0 = this user\'s limit, 0 = no limit for this user. Takes precedence over group and default limits.
|
|
305
|
+
* @summary Set one user\'s own limit
|
|
306
|
+
* @param {string} username
|
|
307
|
+
* @param {UserQuotaRequest} userQuotaRequest
|
|
308
|
+
* @param {*} [options] Override http request option.
|
|
309
|
+
* @throws {RequiredError}
|
|
310
|
+
*/
|
|
311
|
+
setUserQuota(username: string, userQuotaRequest: UserQuotaRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<QuotaUsage, any, {}, any>>;
|
|
312
|
+
}
|