@openfilz-sdk/typescript-ee 1.11.0 → 1.12.1

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.
Files changed (164) hide show
  1. package/.openapi-generator/FILES +30 -0
  2. package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
  3. package/README.md +38 -9
  4. package/api/ai-archiving-admin-controller-api.ts +10 -10
  5. package/api/aifiling-rules-api.ts +18 -18
  6. package/api/aimaintenance-api.ts +334 -0
  7. package/api/aiteam-inboxes-api.ts +18 -18
  8. package/api/esign-templates-api.ts +8 -8
  9. package/api/mcp-token-admin-controller-api.ts +75 -8
  10. package/api/organisation-settings-api.ts +266 -0
  11. package/api/quota-administration-api.ts +677 -0
  12. package/api/quotas-api.ts +121 -0
  13. package/api/search-administration-api.ts +65 -0
  14. package/api/tus-controller-api.ts +8 -4
  15. package/api.ts +4 -0
  16. package/dist/api/ai-archiving-admin-controller-api.d.ts +4 -4
  17. package/dist/api/ai-archiving-admin-controller-api.js +10 -10
  18. package/dist/api/aifiling-rules-api.d.ts +8 -8
  19. package/dist/api/aifiling-rules-api.js +18 -18
  20. package/dist/api/aimaintenance-api.d.ts +162 -0
  21. package/dist/api/aimaintenance-api.js +327 -0
  22. package/dist/api/aiteam-inboxes-api.d.ts +8 -8
  23. package/dist/api/aiteam-inboxes-api.js +18 -18
  24. package/dist/api/esign-templates-api.d.ts +4 -4
  25. package/dist/api/esign-templates-api.js +8 -8
  26. package/dist/api/mcp-token-admin-controller-api.d.ts +33 -4
  27. package/dist/api/mcp-token-admin-controller-api.js +70 -8
  28. package/dist/api/organisation-settings-api.d.ts +135 -0
  29. package/dist/api/organisation-settings-api.js +264 -0
  30. package/dist/api/quota-administration-api.d.ts +312 -0
  31. package/dist/api/quota-administration-api.js +645 -0
  32. package/dist/api/quotas-api.d.ts +63 -0
  33. package/dist/api/quotas-api.js +125 -0
  34. package/dist/api/search-administration-api.d.ts +28 -0
  35. package/dist/api/search-administration-api.js +62 -0
  36. package/dist/api/tus-controller-api.d.ts +6 -6
  37. package/dist/api/tus-controller-api.js +2 -0
  38. package/dist/api.d.ts +4 -0
  39. package/dist/api.js +4 -0
  40. package/dist/esm/api/ai-archiving-admin-controller-api.d.ts +4 -4
  41. package/dist/esm/api/ai-archiving-admin-controller-api.js +10 -10
  42. package/dist/esm/api/aifiling-rules-api.d.ts +8 -8
  43. package/dist/esm/api/aifiling-rules-api.js +18 -18
  44. package/dist/esm/api/aimaintenance-api.d.ts +162 -0
  45. package/dist/esm/api/aimaintenance-api.js +320 -0
  46. package/dist/esm/api/aiteam-inboxes-api.d.ts +8 -8
  47. package/dist/esm/api/aiteam-inboxes-api.js +18 -18
  48. package/dist/esm/api/esign-templates-api.d.ts +4 -4
  49. package/dist/esm/api/esign-templates-api.js +8 -8
  50. package/dist/esm/api/mcp-token-admin-controller-api.d.ts +33 -4
  51. package/dist/esm/api/mcp-token-admin-controller-api.js +70 -8
  52. package/dist/esm/api/organisation-settings-api.d.ts +135 -0
  53. package/dist/esm/api/organisation-settings-api.js +257 -0
  54. package/dist/esm/api/quota-administration-api.d.ts +312 -0
  55. package/dist/esm/api/quota-administration-api.js +638 -0
  56. package/dist/esm/api/quotas-api.d.ts +63 -0
  57. package/dist/esm/api/quotas-api.js +118 -0
  58. package/dist/esm/api/search-administration-api.d.ts +28 -0
  59. package/dist/esm/api/search-administration-api.js +62 -0
  60. package/dist/esm/api/tus-controller-api.d.ts +6 -6
  61. package/dist/esm/api/tus-controller-api.js +2 -0
  62. package/dist/esm/api.d.ts +4 -0
  63. package/dist/esm/api.js +4 -0
  64. package/dist/esm/models/enriched-audit-log.d.ts +4 -0
  65. package/dist/esm/models/enriched-audit-log.js +4 -0
  66. package/dist/esm/models/error-response.d.ts +16 -0
  67. package/dist/esm/models/error-response.js +14 -0
  68. package/dist/esm/models/index.d.ts +11 -0
  69. package/dist/esm/models/index.js +11 -0
  70. package/dist/esm/models/mcp-agent-token-config.d.ts +31 -0
  71. package/dist/esm/models/mcp-agent-token-config.js +14 -0
  72. package/dist/esm/models/mcp-agent-token-info.d.ts +1 -0
  73. package/dist/esm/models/my-storage-quota.d.ts +24 -0
  74. package/dist/esm/models/my-storage-quota.js +18 -0
  75. package/dist/esm/models/quota-overview.d.ts +19 -0
  76. package/dist/esm/models/quota-overview.js +14 -0
  77. package/dist/esm/models/quota-usage.d.ts +27 -0
  78. package/dist/esm/models/quota-usage.js +18 -0
  79. package/dist/esm/models/quota-user-page.d.ts +18 -0
  80. package/dist/esm/models/quota-user-page.js +14 -0
  81. package/dist/esm/models/search-by-audit-log-request.d.ts +4 -0
  82. package/dist/esm/models/search-by-audit-log-request.js +4 -0
  83. package/dist/esm/models/setting-dto.d.ts +26 -0
  84. package/dist/esm/models/setting-dto.js +14 -0
  85. package/dist/esm/models/start-request.d.ts +14 -0
  86. package/dist/esm/models/start-request.js +14 -0
  87. package/dist/esm/models/storage-breakdown.d.ts +2 -0
  88. package/dist/esm/models/team-quota-request.d.ts +17 -0
  89. package/dist/esm/models/team-quota-request.js +14 -0
  90. package/dist/esm/models/team-quota-view.d.ts +19 -0
  91. package/dist/esm/models/team-quota-view.js +14 -0
  92. package/dist/esm/models/user-quota-request.d.ts +17 -0
  93. package/dist/esm/models/user-quota-request.js +14 -0
  94. package/dist/models/enriched-audit-log.d.ts +4 -0
  95. package/dist/models/enriched-audit-log.js +4 -0
  96. package/dist/models/error-response.d.ts +16 -0
  97. package/dist/models/error-response.js +15 -0
  98. package/dist/models/index.d.ts +11 -0
  99. package/dist/models/index.js +11 -0
  100. package/dist/models/mcp-agent-token-config.d.ts +31 -0
  101. package/dist/models/mcp-agent-token-config.js +15 -0
  102. package/dist/models/mcp-agent-token-info.d.ts +1 -0
  103. package/dist/models/my-storage-quota.d.ts +24 -0
  104. package/dist/models/my-storage-quota.js +21 -0
  105. package/dist/models/quota-overview.d.ts +19 -0
  106. package/dist/models/quota-overview.js +15 -0
  107. package/dist/models/quota-usage.d.ts +27 -0
  108. package/dist/models/quota-usage.js +21 -0
  109. package/dist/models/quota-user-page.d.ts +18 -0
  110. package/dist/models/quota-user-page.js +15 -0
  111. package/dist/models/search-by-audit-log-request.d.ts +4 -0
  112. package/dist/models/search-by-audit-log-request.js +4 -0
  113. package/dist/models/setting-dto.d.ts +26 -0
  114. package/dist/models/setting-dto.js +15 -0
  115. package/dist/models/start-request.d.ts +14 -0
  116. package/dist/models/start-request.js +15 -0
  117. package/dist/models/storage-breakdown.d.ts +2 -0
  118. package/dist/models/team-quota-request.d.ts +17 -0
  119. package/dist/models/team-quota-request.js +15 -0
  120. package/dist/models/team-quota-view.d.ts +19 -0
  121. package/dist/models/team-quota-view.js +15 -0
  122. package/dist/models/user-quota-request.d.ts +17 -0
  123. package/dist/models/user-quota-request.js +15 -0
  124. package/docs/AIFilingRulesApi.md +8 -8
  125. package/docs/AIMaintenanceApi.md +201 -0
  126. package/docs/AITeamInboxesApi.md +8 -8
  127. package/docs/AiArchivingAdminControllerApi.md +4 -4
  128. package/docs/ESignTemplatesApi.md +4 -4
  129. package/docs/ErrorResponse.md +24 -0
  130. package/docs/McpAgentTokenConfig.md +30 -0
  131. package/docs/McpAgentTokenInfo.md +2 -0
  132. package/docs/McpTokenAdminControllerApi.md +48 -4
  133. package/docs/MyStorageQuota.md +28 -0
  134. package/docs/OrganisationSettingsApi.md +153 -0
  135. package/docs/QuotaAdministrationApi.md +427 -0
  136. package/docs/QuotaOverview.md +30 -0
  137. package/docs/QuotaUsage.md +34 -0
  138. package/docs/QuotaUserPage.md +26 -0
  139. package/docs/QuotasApi.md +52 -0
  140. package/docs/SearchAdministrationApi.md +45 -0
  141. package/docs/SettingDto.md +44 -0
  142. package/docs/StartRequest.md +20 -0
  143. package/docs/StorageBreakdown.md +2 -0
  144. package/docs/TeamQuotaRequest.md +20 -0
  145. package/docs/TeamQuotaView.md +30 -0
  146. package/docs/TusControllerApi.md +8 -7
  147. package/docs/UserQuotaRequest.md +20 -0
  148. package/models/enriched-audit-log.ts +4 -0
  149. package/models/error-response.ts +22 -0
  150. package/models/index.ts +11 -0
  151. package/models/mcp-agent-token-config.ts +37 -0
  152. package/models/mcp-agent-token-info.ts +1 -0
  153. package/models/my-storage-quota.ts +33 -0
  154. package/models/quota-overview.ts +25 -0
  155. package/models/quota-usage.ts +36 -0
  156. package/models/quota-user-page.ts +26 -0
  157. package/models/search-by-audit-log-request.ts +4 -0
  158. package/models/setting-dto.ts +32 -0
  159. package/models/start-request.ts +20 -0
  160. package/models/storage-breakdown.ts +4 -0
  161. package/models/team-quota-request.ts +23 -0
  162. package/models/team-quota-view.ts +25 -0
  163. package/models/user-quota-request.ts +23 -0
  164. package/package.json +1 -1
@@ -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;
@@ -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
+ }