@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,63 @@
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 { MyStorageQuota } from '../models';
16
+ /**
17
+ * QuotasApi - axios parameter creator
18
+ */
19
+ export declare const QuotasApiAxiosParamCreator: (configuration?: Configuration) => {
20
+ /**
21
+ * The caller\'s used bytes, effective limit (null = unlimited) and where it comes from (USER override, GROUP, DEFAULT), plus the per-file upload limit.
22
+ * @summary Get my storage quota
23
+ * @param {*} [options] Override http request option.
24
+ * @throws {RequiredError}
25
+ */
26
+ myQuota: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
27
+ };
28
+ /**
29
+ * QuotasApi - functional programming interface
30
+ */
31
+ export declare const QuotasApiFp: (configuration?: Configuration) => {
32
+ /**
33
+ * The caller\'s used bytes, effective limit (null = unlimited) and where it comes from (USER override, GROUP, DEFAULT), plus the per-file upload limit.
34
+ * @summary Get my storage quota
35
+ * @param {*} [options] Override http request option.
36
+ * @throws {RequiredError}
37
+ */
38
+ myQuota(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MyStorageQuota>>;
39
+ };
40
+ /**
41
+ * QuotasApi - factory interface
42
+ */
43
+ export declare const QuotasApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
44
+ /**
45
+ * The caller\'s used bytes, effective limit (null = unlimited) and where it comes from (USER override, GROUP, DEFAULT), plus the per-file upload limit.
46
+ * @summary Get my storage quota
47
+ * @param {*} [options] Override http request option.
48
+ * @throws {RequiredError}
49
+ */
50
+ myQuota(options?: RawAxiosRequestConfig): AxiosPromise<MyStorageQuota>;
51
+ };
52
+ /**
53
+ * QuotasApi - object-oriented interface
54
+ */
55
+ export declare class QuotasApi extends BaseAPI {
56
+ /**
57
+ * The caller\'s used bytes, effective limit (null = unlimited) and where it comes from (USER override, GROUP, DEFAULT), plus the per-file upload limit.
58
+ * @summary Get my storage quota
59
+ * @param {*} [options] Override http request option.
60
+ * @throws {RequiredError}
61
+ */
62
+ myQuota(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MyStorageQuota, any, {}, any>>;
63
+ }
@@ -0,0 +1,118 @@
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, setBearerAuthToObject, setSearchParams, toPathString, createRequestFunction } from '../common';
27
+ // @ts-ignore
28
+ import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
29
+ /**
30
+ * QuotasApi - axios parameter creator
31
+ */
32
+ export const QuotasApiAxiosParamCreator = function (configuration) {
33
+ return {
34
+ /**
35
+ * The caller\'s used bytes, effective limit (null = unlimited) and where it comes from (USER override, GROUP, DEFAULT), plus the per-file upload limit.
36
+ * @summary Get my storage quota
37
+ * @param {*} [options] Override http request option.
38
+ * @throws {RequiredError}
39
+ */
40
+ myQuota: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
41
+ const localVarPath = `/api/v1/quotas/me`;
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
+ /**
66
+ * QuotasApi - functional programming interface
67
+ */
68
+ export const QuotasApiFp = function (configuration) {
69
+ const localVarAxiosParamCreator = QuotasApiAxiosParamCreator(configuration);
70
+ return {
71
+ /**
72
+ * The caller\'s used bytes, effective limit (null = unlimited) and where it comes from (USER override, GROUP, DEFAULT), plus the per-file upload limit.
73
+ * @summary Get my storage quota
74
+ * @param {*} [options] Override http request option.
75
+ * @throws {RequiredError}
76
+ */
77
+ myQuota(options) {
78
+ return __awaiter(this, void 0, void 0, function* () {
79
+ var _a, _b, _c;
80
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.myQuota(options);
81
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
82
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['QuotasApi.myQuota']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
83
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
84
+ });
85
+ },
86
+ };
87
+ };
88
+ /**
89
+ * QuotasApi - factory interface
90
+ */
91
+ export const QuotasApiFactory = function (configuration, basePath, axios) {
92
+ const localVarFp = QuotasApiFp(configuration);
93
+ return {
94
+ /**
95
+ * The caller\'s used bytes, effective limit (null = unlimited) and where it comes from (USER override, GROUP, DEFAULT), plus the per-file upload limit.
96
+ * @summary Get my storage quota
97
+ * @param {*} [options] Override http request option.
98
+ * @throws {RequiredError}
99
+ */
100
+ myQuota(options) {
101
+ return localVarFp.myQuota(options).then((request) => request(axios, basePath));
102
+ },
103
+ };
104
+ };
105
+ /**
106
+ * QuotasApi - object-oriented interface
107
+ */
108
+ export class QuotasApi extends BaseAPI {
109
+ /**
110
+ * The caller\'s used bytes, effective limit (null = unlimited) and where it comes from (USER override, GROUP, DEFAULT), plus the per-file upload limit.
111
+ * @summary Get my storage quota
112
+ * @param {*} [options] Override http request option.
113
+ * @throws {RequiredError}
114
+ */
115
+ myQuota(options) {
116
+ return QuotasApiFp(this.configuration).myQuota(options).then((request) => request(this.axios, this.basePath));
117
+ }
118
+ }
@@ -123,7 +123,7 @@ export declare const TusControllerApiFp: (configuration?: Configuration) => {
123
123
  * @param {*} [options] Override http request option.
124
124
  * @throws {RequiredError}
125
125
  */
126
- createUpload(uploadLength: number, uploadMetadata?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
126
+ createUpload(uploadLength: number, uploadMetadata?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
127
127
  /**
128
128
  * Completes the upload by moving the file to permanent storage and creating the Document record. Call this after all chunks have been successfully uploaded.
129
129
  * @summary Finalize upload
@@ -174,7 +174,7 @@ export declare const TusControllerApiFp: (configuration?: Configuration) => {
174
174
  * @param {*} [options] Override http request option.
175
175
  * @throws {RequiredError}
176
176
  */
177
- uploadChunk(uploadId: string, uploadOffset: number, requestBody: Array<any>, contentLength?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
177
+ uploadChunk(uploadId: string, uploadOffset: number, requestBody: Array<any>, contentLength?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
178
178
  };
179
179
  /**
180
180
  * TusControllerApi - factory interface
@@ -203,7 +203,7 @@ export declare const TusControllerApiFactory: (configuration?: Configuration, ba
203
203
  * @param {*} [options] Override http request option.
204
204
  * @throws {RequiredError}
205
205
  */
206
- createUpload(uploadLength: number, uploadMetadata?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
206
+ createUpload(uploadLength: number, uploadMetadata?: string, options?: RawAxiosRequestConfig): AxiosPromise<object>;
207
207
  /**
208
208
  * Completes the upload by moving the file to permanent storage and creating the Document record. Call this after all chunks have been successfully uploaded.
209
209
  * @summary Finalize upload
@@ -254,7 +254,7 @@ export declare const TusControllerApiFactory: (configuration?: Configuration, ba
254
254
  * @param {*} [options] Override http request option.
255
255
  * @throws {RequiredError}
256
256
  */
257
- uploadChunk(uploadId: string, uploadOffset: number, requestBody: Array<any>, contentLength?: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
257
+ uploadChunk(uploadId: string, uploadOffset: number, requestBody: Array<any>, contentLength?: number, options?: RawAxiosRequestConfig): AxiosPromise<object>;
258
258
  };
259
259
  /**
260
260
  * TusControllerApi - object-oriented interface
@@ -283,7 +283,7 @@ export declare class TusControllerApi extends BaseAPI {
283
283
  * @param {*} [options] Override http request option.
284
284
  * @throws {RequiredError}
285
285
  */
286
- createUpload(uploadLength: number, uploadMetadata?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
286
+ createUpload(uploadLength: number, uploadMetadata?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}, any>>;
287
287
  /**
288
288
  * Completes the upload by moving the file to permanent storage and creating the Document record. Call this after all chunks have been successfully uploaded.
289
289
  * @summary Finalize upload
@@ -334,5 +334,5 @@ export declare class TusControllerApi extends BaseAPI {
334
334
  * @param {*} [options] Override http request option.
335
335
  * @throws {RequiredError}
336
336
  */
337
- uploadChunk(uploadId: string, uploadOffset: number, requestBody: Array<any>, contentLength?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
337
+ uploadChunk(uploadId: string, uploadOffset: number, requestBody: Array<any>, contentLength?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}, any>>;
338
338
  }
@@ -115,6 +115,7 @@ export const TusControllerApiAxiosParamCreator = function (configuration) {
115
115
  // authentication keycloak_auth required
116
116
  // http bearer authentication required
117
117
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
118
+ localVarHeaderParameter['Accept'] = '*/*';
118
119
  if (uploadLength != null) {
119
120
  localVarHeaderParameter['Upload-Length'] = typeof uploadLength === 'string'
120
121
  ? uploadLength
@@ -328,6 +329,7 @@ export const TusControllerApiAxiosParamCreator = function (configuration) {
328
329
  // http bearer authentication required
329
330
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
330
331
  localVarHeaderParameter['Content-Type'] = 'application/offset+octet-stream';
332
+ localVarHeaderParameter['Accept'] = '*/*';
331
333
  if (uploadOffset != null) {
332
334
  localVarHeaderParameter['Upload-Offset'] = typeof uploadOffset === 'string'
333
335
  ? uploadOffset
package/dist/esm/api.d.ts CHANGED
@@ -14,6 +14,7 @@ export * from './api/aidirectory-api';
14
14
  export * from './api/aiembeddings-api';
15
15
  export * from './api/aifiling-rules-api';
16
16
  export * from './api/aigovernance-api';
17
+ export * from './api/aimaintenance-api';
17
18
  export * from './api/aisettings-api';
18
19
  export * from './api/aitaxonomy-api';
19
20
  export * from './api/aiteam-inboxes-api';
@@ -44,7 +45,10 @@ export * from './api/folder-controller-api';
44
45
  export * from './api/mcp-discovery-controller-api';
45
46
  export * from './api/mcp-token-admin-controller-api';
46
47
  export * from './api/notifications-api';
48
+ export * from './api/organisation-settings-api';
47
49
  export * from './api/pdftools-api';
50
+ export * from './api/quota-administration-api';
51
+ export * from './api/quotas-api';
48
52
  export * from './api/scan-agent-api';
49
53
  export * from './api/scanner-proxy-api';
50
54
  export * from './api/search-administration-api';
package/dist/esm/api.js CHANGED
@@ -16,6 +16,7 @@ export * from './api/aidirectory-api';
16
16
  export * from './api/aiembeddings-api';
17
17
  export * from './api/aifiling-rules-api';
18
18
  export * from './api/aigovernance-api';
19
+ export * from './api/aimaintenance-api';
19
20
  export * from './api/aisettings-api';
20
21
  export * from './api/aitaxonomy-api';
21
22
  export * from './api/aiteam-inboxes-api';
@@ -46,7 +47,10 @@ export * from './api/folder-controller-api';
46
47
  export * from './api/mcp-discovery-controller-api';
47
48
  export * from './api/mcp-token-admin-controller-api';
48
49
  export * from './api/notifications-api';
50
+ export * from './api/organisation-settings-api';
49
51
  export * from './api/pdftools-api';
52
+ export * from './api/quota-administration-api';
53
+ export * from './api/quotas-api';
50
54
  export * from './api/scan-agent-api';
51
55
  export * from './api/scanner-proxy-api';
52
56
  export * from './api/search-administration-api';
@@ -91,6 +91,10 @@ export declare const EnrichedAuditLogActionEnum: {
91
91
  readonly ArchiveDeposit: "ARCHIVE_DEPOSIT";
92
92
  readonly RestoreFromArchive: "RESTORE_FROM_ARCHIVE";
93
93
  readonly ArchiveOwnerReassigned: "ARCHIVE_OWNER_REASSIGNED";
94
+ readonly McpAgentTokenMinted: "MCP_AGENT_TOKEN_MINTED";
95
+ readonly McpAgentTokenRevoked: "MCP_AGENT_TOKEN_REVOKED";
96
+ readonly AdminSettingChanged: "ADMIN_SETTING_CHANGED";
97
+ readonly OrganisationAiMaintenanceStarted: "ORGANISATION_AI_MAINTENANCE_STARTED";
94
98
  };
95
99
  export type EnrichedAuditLogActionEnum = typeof EnrichedAuditLogActionEnum[keyof typeof EnrichedAuditLogActionEnum];
96
100
  export declare const EnrichedAuditLogResourceTypeEnum: {
@@ -77,6 +77,10 @@ export const EnrichedAuditLogActionEnum = {
77
77
  ArchiveDeposit: 'ARCHIVE_DEPOSIT',
78
78
  RestoreFromArchive: 'RESTORE_FROM_ARCHIVE',
79
79
  ArchiveOwnerReassigned: 'ARCHIVE_OWNER_REASSIGNED',
80
+ McpAgentTokenMinted: 'MCP_AGENT_TOKEN_MINTED',
81
+ McpAgentTokenRevoked: 'MCP_AGENT_TOKEN_REVOKED',
82
+ AdminSettingChanged: 'ADMIN_SETTING_CHANGED',
83
+ OrganisationAiMaintenanceStarted: 'ORGANISATION_AI_MAINTENANCE_STARTED',
80
84
  };
81
85
  export const EnrichedAuditLogResourceTypeEnum = {
82
86
  File: 'FILE',
@@ -0,0 +1,16 @@
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
+ export interface ErrorResponse {
13
+ 'status'?: number;
14
+ 'message'?: string;
15
+ 'error'?: string;
16
+ }
@@ -0,0 +1,14 @@
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
+ export {};
@@ -70,6 +70,7 @@ export * from './embedding-backfill-request';
70
70
  export * from './embedding-backfill-status';
71
71
  export * from './enriched-audit-log';
72
72
  export * from './enriched-audit-log-details';
73
+ export * from './error-response';
73
74
  export * from './facet';
74
75
  export * from './feature-entitlement';
75
76
  export * from './file-type-stats';
@@ -97,6 +98,7 @@ export * from './job-status';
97
98
  export * from './key-count';
98
99
  export * from './license-info';
99
100
  export * from './list-ai-models-request';
101
+ export * from './mcp-agent-token-config';
100
102
  export * from './mcp-agent-token-info';
101
103
  export * from './mcp-agent-token-response';
102
104
  export * from './merge-request';
@@ -105,6 +107,7 @@ export * from './mint-mcp-agent-token-request';
105
107
  export * from './mint-upload-token-request';
106
108
  export * from './move-audit';
107
109
  export * from './move-request';
110
+ export * from './my-storage-quota';
108
111
  export * from './my-tasks-count-dto';
109
112
  export * from './notification-dto';
110
113
  export * from './organize-request';
@@ -118,6 +121,9 @@ export * from './pdf-page-info';
118
121
  export * from './pdf-transform-audit';
119
122
  export * from './per-definition';
120
123
  export * from './public-signature-view';
124
+ export * from './quota-overview';
125
+ export * from './quota-usage';
126
+ export * from './quota-user-page';
121
127
  export * from './reassign-task-request';
122
128
  export * from './reencrypt-request';
123
129
  export * from './rename-audit';
@@ -141,6 +147,7 @@ export * from './scanner-info-dto';
141
147
  export * from './search-by-audit-log-request';
142
148
  export * from './search-by-metadata-request';
143
149
  export * from './search-metadata-request';
150
+ export * from './setting-dto';
144
151
  export * from './settings';
145
152
  export * from './share-request';
146
153
  export * from './share-result-error';
@@ -162,6 +169,7 @@ export * from './signature-template-role';
162
169
  export * from './sort-input';
163
170
  export * from './split-output';
164
171
  export * from './split-request';
172
+ export * from './start-request';
165
173
  export * from './start-workflow-request';
166
174
  export * from './storage-breakdown';
167
175
  export * from './storage-encryption-status';
@@ -174,6 +182,8 @@ export * from './team-inbox-request';
174
182
  export * from './team-inbox-view';
175
183
  export * from './team-member-info';
176
184
  export * from './team-option-view';
185
+ export * from './team-quota-request';
186
+ export * from './team-quota-view';
177
187
  export * from './tus-config-response';
178
188
  export * from './tus-finalize-request';
179
189
  export * from './tus-upload-info';
@@ -192,6 +202,7 @@ export * from './upload-response';
192
202
  export * from './upload-token-response';
193
203
  export * from './user-preferences-request';
194
204
  export * from './user-privacy-dto';
205
+ export * from './user-quota-request';
195
206
  export * from './user-registration-request';
196
207
  export * from './verify-otp-request';
197
208
  export * from './vote';
@@ -70,6 +70,7 @@ export * from './embedding-backfill-request';
70
70
  export * from './embedding-backfill-status';
71
71
  export * from './enriched-audit-log';
72
72
  export * from './enriched-audit-log-details';
73
+ export * from './error-response';
73
74
  export * from './facet';
74
75
  export * from './feature-entitlement';
75
76
  export * from './file-type-stats';
@@ -97,6 +98,7 @@ export * from './job-status';
97
98
  export * from './key-count';
98
99
  export * from './license-info';
99
100
  export * from './list-ai-models-request';
101
+ export * from './mcp-agent-token-config';
100
102
  export * from './mcp-agent-token-info';
101
103
  export * from './mcp-agent-token-response';
102
104
  export * from './merge-request';
@@ -105,6 +107,7 @@ export * from './mint-mcp-agent-token-request';
105
107
  export * from './mint-upload-token-request';
106
108
  export * from './move-audit';
107
109
  export * from './move-request';
110
+ export * from './my-storage-quota';
108
111
  export * from './my-tasks-count-dto';
109
112
  export * from './notification-dto';
110
113
  export * from './organize-request';
@@ -118,6 +121,9 @@ export * from './pdf-page-info';
118
121
  export * from './pdf-transform-audit';
119
122
  export * from './per-definition';
120
123
  export * from './public-signature-view';
124
+ export * from './quota-overview';
125
+ export * from './quota-usage';
126
+ export * from './quota-user-page';
121
127
  export * from './reassign-task-request';
122
128
  export * from './reencrypt-request';
123
129
  export * from './rename-audit';
@@ -141,6 +147,7 @@ export * from './scanner-info-dto';
141
147
  export * from './search-by-audit-log-request';
142
148
  export * from './search-by-metadata-request';
143
149
  export * from './search-metadata-request';
150
+ export * from './setting-dto';
144
151
  export * from './settings';
145
152
  export * from './share-request';
146
153
  export * from './share-result-error';
@@ -162,6 +169,7 @@ export * from './signature-template-role';
162
169
  export * from './sort-input';
163
170
  export * from './split-output';
164
171
  export * from './split-request';
172
+ export * from './start-request';
165
173
  export * from './start-workflow-request';
166
174
  export * from './storage-breakdown';
167
175
  export * from './storage-encryption-status';
@@ -174,6 +182,8 @@ export * from './team-inbox-request';
174
182
  export * from './team-inbox-view';
175
183
  export * from './team-member-info';
176
184
  export * from './team-option-view';
185
+ export * from './team-quota-request';
186
+ export * from './team-quota-view';
177
187
  export * from './tus-config-response';
178
188
  export * from './tus-finalize-request';
179
189
  export * from './tus-upload-info';
@@ -192,6 +202,7 @@ export * from './upload-response';
192
202
  export * from './upload-token-response';
193
203
  export * from './user-preferences-request';
194
204
  export * from './user-privacy-dto';
205
+ export * from './user-quota-request';
195
206
  export * from './user-registration-request';
196
207
  export * from './verify-otp-request';
197
208
  export * from './vote';
@@ -0,0 +1,31 @@
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
+ export interface McpAgentTokenConfig {
13
+ /**
14
+ * openfilz.mcp.tokens.enabled — minting and agent-token authentication
15
+ */
16
+ 'tokensEnabled'?: boolean;
17
+ /**
18
+ * openfilz.mcp.active — the /mcp endpoint itself
19
+ */
20
+ 'mcpActive'?: boolean;
21
+ /**
22
+ * openfilz.mcp.mode — deployment-wide cap applied on top of each token\'s mode
23
+ */
24
+ 'mcpMode'?: string;
25
+ 'defaultTtlSeconds'?: number;
26
+ 'maxTtlSeconds'?: number;
27
+ /**
28
+ * Public URL of the MCP endpoint, for the client snippet shown after minting
29
+ */
30
+ 'mcpUrl'?: string;
31
+ }
@@ -0,0 +1,14 @@
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
+ export {};
@@ -19,6 +19,7 @@ export interface McpAgentTokenInfo {
19
19
  'revokedAt'?: string;
20
20
  'createdBy'?: string;
21
21
  'createdAt'?: string;
22
+ 'lastUsedAt'?: string;
22
23
  }
23
24
  export declare const McpAgentTokenInfoModeEnum: {
24
25
  readonly ReadOnly: "READ_ONLY";
@@ -0,0 +1,24 @@
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
+ export interface MyStorageQuota {
13
+ 'usedBytes'?: number;
14
+ 'limitBytes'?: number;
15
+ 'source'?: MyStorageQuotaSourceEnum;
16
+ 'sourceName'?: string;
17
+ 'maxFileSizeBytes'?: number;
18
+ }
19
+ export declare const MyStorageQuotaSourceEnum: {
20
+ readonly User: "USER";
21
+ readonly Group: "GROUP";
22
+ readonly Default: "DEFAULT";
23
+ };
24
+ export type MyStorageQuotaSourceEnum = typeof MyStorageQuotaSourceEnum[keyof typeof MyStorageQuotaSourceEnum];
@@ -0,0 +1,18 @@
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
+ export const MyStorageQuotaSourceEnum = {
15
+ User: 'USER',
16
+ Group: 'GROUP',
17
+ Default: 'DEFAULT',
18
+ };
@@ -0,0 +1,19 @@
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
+ export interface QuotaOverview {
13
+ 'fileUploadMb'?: number;
14
+ 'defaultUserMb'?: number;
15
+ 'totalMb'?: number;
16
+ 'instanceUsedBytes'?: number;
17
+ 'instanceLimitBytes'?: number;
18
+ 'userOverrides'?: number;
19
+ }
@@ -0,0 +1,14 @@
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
+ export {};
@@ -0,0 +1,27 @@
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
+ export interface QuotaUsage {
13
+ 'username'?: string;
14
+ 'displayName'?: string;
15
+ 'usedBytes'?: number;
16
+ 'limitBytes'?: number;
17
+ 'source'?: QuotaUsageSourceEnum;
18
+ 'sourceName'?: string;
19
+ 'overrideMb'?: number;
20
+ 'usedPercent'?: number;
21
+ }
22
+ export declare const QuotaUsageSourceEnum: {
23
+ readonly User: "USER";
24
+ readonly Group: "GROUP";
25
+ readonly Default: "DEFAULT";
26
+ };
27
+ export type QuotaUsageSourceEnum = typeof QuotaUsageSourceEnum[keyof typeof QuotaUsageSourceEnum];
@@ -0,0 +1,18 @@
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
+ export const QuotaUsageSourceEnum = {
15
+ User: 'USER',
16
+ Group: 'GROUP',
17
+ Default: 'DEFAULT',
18
+ };