@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.
Files changed (158) 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 +37 -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/tus-controller-api.ts +8 -4
  14. package/api.ts +4 -0
  15. package/dist/api/ai-archiving-admin-controller-api.d.ts +4 -4
  16. package/dist/api/ai-archiving-admin-controller-api.js +10 -10
  17. package/dist/api/aifiling-rules-api.d.ts +8 -8
  18. package/dist/api/aifiling-rules-api.js +18 -18
  19. package/dist/api/aimaintenance-api.d.ts +162 -0
  20. package/dist/api/aimaintenance-api.js +327 -0
  21. package/dist/api/aiteam-inboxes-api.d.ts +8 -8
  22. package/dist/api/aiteam-inboxes-api.js +18 -18
  23. package/dist/api/esign-templates-api.d.ts +4 -4
  24. package/dist/api/esign-templates-api.js +8 -8
  25. package/dist/api/mcp-token-admin-controller-api.d.ts +33 -4
  26. package/dist/api/mcp-token-admin-controller-api.js +70 -8
  27. package/dist/api/organisation-settings-api.d.ts +135 -0
  28. package/dist/api/organisation-settings-api.js +264 -0
  29. package/dist/api/quota-administration-api.d.ts +312 -0
  30. package/dist/api/quota-administration-api.js +645 -0
  31. package/dist/api/quotas-api.d.ts +63 -0
  32. package/dist/api/quotas-api.js +125 -0
  33. package/dist/api/tus-controller-api.d.ts +6 -6
  34. package/dist/api/tus-controller-api.js +2 -0
  35. package/dist/api.d.ts +4 -0
  36. package/dist/api.js +4 -0
  37. package/dist/esm/api/ai-archiving-admin-controller-api.d.ts +4 -4
  38. package/dist/esm/api/ai-archiving-admin-controller-api.js +10 -10
  39. package/dist/esm/api/aifiling-rules-api.d.ts +8 -8
  40. package/dist/esm/api/aifiling-rules-api.js +18 -18
  41. package/dist/esm/api/aimaintenance-api.d.ts +162 -0
  42. package/dist/esm/api/aimaintenance-api.js +320 -0
  43. package/dist/esm/api/aiteam-inboxes-api.d.ts +8 -8
  44. package/dist/esm/api/aiteam-inboxes-api.js +18 -18
  45. package/dist/esm/api/esign-templates-api.d.ts +4 -4
  46. package/dist/esm/api/esign-templates-api.js +8 -8
  47. package/dist/esm/api/mcp-token-admin-controller-api.d.ts +33 -4
  48. package/dist/esm/api/mcp-token-admin-controller-api.js +70 -8
  49. package/dist/esm/api/organisation-settings-api.d.ts +135 -0
  50. package/dist/esm/api/organisation-settings-api.js +257 -0
  51. package/dist/esm/api/quota-administration-api.d.ts +312 -0
  52. package/dist/esm/api/quota-administration-api.js +638 -0
  53. package/dist/esm/api/quotas-api.d.ts +63 -0
  54. package/dist/esm/api/quotas-api.js +118 -0
  55. package/dist/esm/api/tus-controller-api.d.ts +6 -6
  56. package/dist/esm/api/tus-controller-api.js +2 -0
  57. package/dist/esm/api.d.ts +4 -0
  58. package/dist/esm/api.js +4 -0
  59. package/dist/esm/models/enriched-audit-log.d.ts +4 -0
  60. package/dist/esm/models/enriched-audit-log.js +4 -0
  61. package/dist/esm/models/error-response.d.ts +16 -0
  62. package/dist/esm/models/error-response.js +14 -0
  63. package/dist/esm/models/index.d.ts +11 -0
  64. package/dist/esm/models/index.js +11 -0
  65. package/dist/esm/models/mcp-agent-token-config.d.ts +31 -0
  66. package/dist/esm/models/mcp-agent-token-config.js +14 -0
  67. package/dist/esm/models/mcp-agent-token-info.d.ts +1 -0
  68. package/dist/esm/models/my-storage-quota.d.ts +24 -0
  69. package/dist/esm/models/my-storage-quota.js +18 -0
  70. package/dist/esm/models/quota-overview.d.ts +19 -0
  71. package/dist/esm/models/quota-overview.js +14 -0
  72. package/dist/esm/models/quota-usage.d.ts +27 -0
  73. package/dist/esm/models/quota-usage.js +18 -0
  74. package/dist/esm/models/quota-user-page.d.ts +18 -0
  75. package/dist/esm/models/quota-user-page.js +14 -0
  76. package/dist/esm/models/search-by-audit-log-request.d.ts +4 -0
  77. package/dist/esm/models/search-by-audit-log-request.js +4 -0
  78. package/dist/esm/models/setting-dto.d.ts +26 -0
  79. package/dist/esm/models/setting-dto.js +14 -0
  80. package/dist/esm/models/start-request.d.ts +14 -0
  81. package/dist/esm/models/start-request.js +14 -0
  82. package/dist/esm/models/storage-breakdown.d.ts +2 -0
  83. package/dist/esm/models/team-quota-request.d.ts +17 -0
  84. package/dist/esm/models/team-quota-request.js +14 -0
  85. package/dist/esm/models/team-quota-view.d.ts +19 -0
  86. package/dist/esm/models/team-quota-view.js +14 -0
  87. package/dist/esm/models/user-quota-request.d.ts +17 -0
  88. package/dist/esm/models/user-quota-request.js +14 -0
  89. package/dist/models/enriched-audit-log.d.ts +4 -0
  90. package/dist/models/enriched-audit-log.js +4 -0
  91. package/dist/models/error-response.d.ts +16 -0
  92. package/dist/models/error-response.js +15 -0
  93. package/dist/models/index.d.ts +11 -0
  94. package/dist/models/index.js +11 -0
  95. package/dist/models/mcp-agent-token-config.d.ts +31 -0
  96. package/dist/models/mcp-agent-token-config.js +15 -0
  97. package/dist/models/mcp-agent-token-info.d.ts +1 -0
  98. package/dist/models/my-storage-quota.d.ts +24 -0
  99. package/dist/models/my-storage-quota.js +21 -0
  100. package/dist/models/quota-overview.d.ts +19 -0
  101. package/dist/models/quota-overview.js +15 -0
  102. package/dist/models/quota-usage.d.ts +27 -0
  103. package/dist/models/quota-usage.js +21 -0
  104. package/dist/models/quota-user-page.d.ts +18 -0
  105. package/dist/models/quota-user-page.js +15 -0
  106. package/dist/models/search-by-audit-log-request.d.ts +4 -0
  107. package/dist/models/search-by-audit-log-request.js +4 -0
  108. package/dist/models/setting-dto.d.ts +26 -0
  109. package/dist/models/setting-dto.js +15 -0
  110. package/dist/models/start-request.d.ts +14 -0
  111. package/dist/models/start-request.js +15 -0
  112. package/dist/models/storage-breakdown.d.ts +2 -0
  113. package/dist/models/team-quota-request.d.ts +17 -0
  114. package/dist/models/team-quota-request.js +15 -0
  115. package/dist/models/team-quota-view.d.ts +19 -0
  116. package/dist/models/team-quota-view.js +15 -0
  117. package/dist/models/user-quota-request.d.ts +17 -0
  118. package/dist/models/user-quota-request.js +15 -0
  119. package/docs/AIFilingRulesApi.md +8 -8
  120. package/docs/AIMaintenanceApi.md +201 -0
  121. package/docs/AITeamInboxesApi.md +8 -8
  122. package/docs/AiArchivingAdminControllerApi.md +4 -4
  123. package/docs/ESignTemplatesApi.md +4 -4
  124. package/docs/ErrorResponse.md +24 -0
  125. package/docs/McpAgentTokenConfig.md +30 -0
  126. package/docs/McpAgentTokenInfo.md +2 -0
  127. package/docs/McpTokenAdminControllerApi.md +48 -4
  128. package/docs/MyStorageQuota.md +28 -0
  129. package/docs/OrganisationSettingsApi.md +153 -0
  130. package/docs/QuotaAdministrationApi.md +427 -0
  131. package/docs/QuotaOverview.md +30 -0
  132. package/docs/QuotaUsage.md +34 -0
  133. package/docs/QuotaUserPage.md +26 -0
  134. package/docs/QuotasApi.md +52 -0
  135. package/docs/SettingDto.md +44 -0
  136. package/docs/StartRequest.md +20 -0
  137. package/docs/StorageBreakdown.md +2 -0
  138. package/docs/TeamQuotaRequest.md +20 -0
  139. package/docs/TeamQuotaView.md +30 -0
  140. package/docs/TusControllerApi.md +8 -7
  141. package/docs/UserQuotaRequest.md +20 -0
  142. package/models/enriched-audit-log.ts +4 -0
  143. package/models/error-response.ts +22 -0
  144. package/models/index.ts +11 -0
  145. package/models/mcp-agent-token-config.ts +37 -0
  146. package/models/mcp-agent-token-info.ts +1 -0
  147. package/models/my-storage-quota.ts +33 -0
  148. package/models/quota-overview.ts +25 -0
  149. package/models/quota-usage.ts +36 -0
  150. package/models/quota-user-page.ts +26 -0
  151. package/models/search-by-audit-log-request.ts +4 -0
  152. package/models/setting-dto.ts +32 -0
  153. package/models/start-request.ts +20 -0
  154. package/models/storage-breakdown.ts +4 -0
  155. package/models/team-quota-request.ts +23 -0
  156. package/models/team-quota-view.ts +25 -0
  157. package/models/user-quota-request.ts +23 -0
  158. package/package.json +1 -1
@@ -0,0 +1,266 @@
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
+
15
+
16
+ import type { Configuration } from '../configuration';
17
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
18
+ import globalAxios from 'axios';
19
+ // Some imports not used depending on template conditions
20
+ // @ts-ignore
21
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction, replaceWithSerializableTypeIfNeeded } from '../common';
22
+ // @ts-ignore
23
+ import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
24
+ // @ts-ignore
25
+ import type { SettingDto } from '../models';
26
+ /**
27
+ * OrganisationSettingsApi - axios parameter creator
28
+ */
29
+ export const OrganisationSettingsApiAxiosParamCreator = function (configuration?: Configuration) {
30
+ return {
31
+ /**
32
+ *
33
+ * @summary List the organisation settings with their effective and deployment values
34
+ * @param {*} [options] Override http request option.
35
+ * @throws {RequiredError}
36
+ */
37
+ list: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
38
+ const localVarPath = `/api/v1/admin/settings`;
39
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
40
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
41
+ let baseOptions;
42
+ if (configuration) {
43
+ baseOptions = configuration.baseOptions;
44
+ }
45
+
46
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
47
+ const localVarHeaderParameter = {} as any;
48
+ const localVarQueryParameter = {} as any;
49
+
50
+ // authentication keycloak_auth required
51
+ // http bearer authentication required
52
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
53
+
54
+ localVarHeaderParameter['Accept'] = '*/*';
55
+
56
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
57
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
58
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
59
+
60
+ return {
61
+ url: toPathString(localVarUrlObj),
62
+ options: localVarRequestOptions,
63
+ };
64
+ },
65
+ /**
66
+ *
67
+ * @summary Reset a setting to its deployment value
68
+ * @param {string} key
69
+ * @param {*} [options] Override http request option.
70
+ * @throws {RequiredError}
71
+ */
72
+ reset1: async (key: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
73
+ // verify required parameter 'key' is not null or undefined
74
+ assertParamExists('reset1', 'key', key)
75
+ const localVarPath = `/api/v1/admin/settings/{key}`
76
+ .replace('{key}', encodeURIComponent(String(key)));
77
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
78
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
79
+ let baseOptions;
80
+ if (configuration) {
81
+ baseOptions = configuration.baseOptions;
82
+ }
83
+
84
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
85
+ const localVarHeaderParameter = {} as any;
86
+ const localVarQueryParameter = {} as any;
87
+
88
+ // authentication keycloak_auth required
89
+ // http bearer authentication required
90
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
91
+
92
+ localVarHeaderParameter['Accept'] = '*/*';
93
+
94
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
95
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
96
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
97
+
98
+ return {
99
+ url: toPathString(localVarUrlObj),
100
+ options: localVarRequestOptions,
101
+ };
102
+ },
103
+ /**
104
+ *
105
+ * @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
106
+ * @param {{ [key: string]: string; }} requestBody
107
+ * @param {*} [options] Override http request option.
108
+ * @throws {RequiredError}
109
+ */
110
+ update2: async (requestBody: { [key: string]: string; }, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
111
+ // verify required parameter 'requestBody' is not null or undefined
112
+ assertParamExists('update2', 'requestBody', requestBody)
113
+ const localVarPath = `/api/v1/admin/settings`;
114
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
115
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
116
+ let baseOptions;
117
+ if (configuration) {
118
+ baseOptions = configuration.baseOptions;
119
+ }
120
+
121
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
122
+ const localVarHeaderParameter = {} as any;
123
+ const localVarQueryParameter = {} as any;
124
+
125
+ // authentication keycloak_auth required
126
+ // http bearer authentication required
127
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
128
+
129
+ localVarHeaderParameter['Content-Type'] = 'application/json';
130
+ localVarHeaderParameter['Accept'] = '*/*';
131
+
132
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
133
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
134
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
135
+ localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
136
+
137
+ return {
138
+ url: toPathString(localVarUrlObj),
139
+ options: localVarRequestOptions,
140
+ };
141
+ },
142
+ }
143
+ };
144
+
145
+ /**
146
+ * OrganisationSettingsApi - functional programming interface
147
+ */
148
+ export const OrganisationSettingsApiFp = function(configuration?: Configuration) {
149
+ const localVarAxiosParamCreator = OrganisationSettingsApiAxiosParamCreator(configuration)
150
+ return {
151
+ /**
152
+ *
153
+ * @summary List the organisation settings with their effective and deployment values
154
+ * @param {*} [options] Override http request option.
155
+ * @throws {RequiredError}
156
+ */
157
+ async list(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SettingDto>>> {
158
+ const localVarAxiosArgs = await localVarAxiosParamCreator.list(options);
159
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
160
+ const localVarOperationServerBasePath = operationServerMap['OrganisationSettingsApi.list']?.[localVarOperationServerIndex]?.url;
161
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
162
+ },
163
+ /**
164
+ *
165
+ * @summary Reset a setting to its deployment value
166
+ * @param {string} key
167
+ * @param {*} [options] Override http request option.
168
+ * @throws {RequiredError}
169
+ */
170
+ async reset1(key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SettingDto>>> {
171
+ const localVarAxiosArgs = await localVarAxiosParamCreator.reset1(key, options);
172
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
173
+ const localVarOperationServerBasePath = operationServerMap['OrganisationSettingsApi.reset1']?.[localVarOperationServerIndex]?.url;
174
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
175
+ },
176
+ /**
177
+ *
178
+ * @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
179
+ * @param {{ [key: string]: string; }} requestBody
180
+ * @param {*} [options] Override http request option.
181
+ * @throws {RequiredError}
182
+ */
183
+ async update2(requestBody: { [key: string]: string; }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SettingDto>>> {
184
+ const localVarAxiosArgs = await localVarAxiosParamCreator.update2(requestBody, options);
185
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
186
+ const localVarOperationServerBasePath = operationServerMap['OrganisationSettingsApi.update2']?.[localVarOperationServerIndex]?.url;
187
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
188
+ },
189
+ }
190
+ };
191
+
192
+ /**
193
+ * OrganisationSettingsApi - factory interface
194
+ */
195
+ export const OrganisationSettingsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
196
+ const localVarFp = 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?: RawAxiosRequestConfig): AxiosPromise<Array<SettingDto>> {
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: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<SettingDto>> {
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: { [key: string]: string; }, options?: RawAxiosRequestConfig): AxiosPromise<Array<SettingDto>> {
225
+ return localVarFp.update2(requestBody, options).then((request) => request(axios, basePath));
226
+ },
227
+ };
228
+ };
229
+
230
+ /**
231
+ * OrganisationSettingsApi - object-oriented interface
232
+ */
233
+ export class OrganisationSettingsApi extends 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
+ public list(options?: RawAxiosRequestConfig) {
241
+ return OrganisationSettingsApiFp(this.configuration).list(options).then((request) => request(this.axios, this.basePath));
242
+ }
243
+
244
+ /**
245
+ *
246
+ * @summary Reset a setting to its deployment value
247
+ * @param {string} key
248
+ * @param {*} [options] Override http request option.
249
+ * @throws {RequiredError}
250
+ */
251
+ public reset1(key: string, options?: RawAxiosRequestConfig) {
252
+ return OrganisationSettingsApiFp(this.configuration).reset1(key, options).then((request) => request(this.axios, this.basePath));
253
+ }
254
+
255
+ /**
256
+ *
257
+ * @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
258
+ * @param {{ [key: string]: string; }} requestBody
259
+ * @param {*} [options] Override http request option.
260
+ * @throws {RequiredError}
261
+ */
262
+ public update2(requestBody: { [key: string]: string; }, options?: RawAxiosRequestConfig) {
263
+ return OrganisationSettingsApiFp(this.configuration).update2(requestBody, options).then((request) => request(this.axios, this.basePath));
264
+ }
265
+ }
266
+