@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,34 @@
1
+ # QuotaUsage
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **username** | **string** | | [optional] [default to undefined]
9
+ **displayName** | **string** | | [optional] [default to undefined]
10
+ **usedBytes** | **number** | | [optional] [default to undefined]
11
+ **limitBytes** | **number** | | [optional] [default to undefined]
12
+ **source** | **string** | | [optional] [default to undefined]
13
+ **sourceName** | **string** | | [optional] [default to undefined]
14
+ **overrideMb** | **number** | | [optional] [default to undefined]
15
+ **usedPercent** | **number** | | [optional] [default to undefined]
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import { QuotaUsage } from '@openfilz-sdk/typescript-ee';
21
+
22
+ const instance: QuotaUsage = {
23
+ username,
24
+ displayName,
25
+ usedBytes,
26
+ limitBytes,
27
+ source,
28
+ sourceName,
29
+ overrideMb,
30
+ usedPercent,
31
+ };
32
+ ```
33
+
34
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,26 @@
1
+ # QuotaUserPage
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **total** | **number** | | [optional] [default to undefined]
9
+ **page** | **number** | | [optional] [default to undefined]
10
+ **size** | **number** | | [optional] [default to undefined]
11
+ **items** | [**Array<QuotaUsage>**](QuotaUsage.md) | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { QuotaUserPage } from '@openfilz-sdk/typescript-ee';
17
+
18
+ const instance: QuotaUserPage = {
19
+ total,
20
+ page,
21
+ size,
22
+ items,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,52 @@
1
+ # QuotasApi
2
+
3
+ All URIs are relative to *http://localhost:8081*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**myQuota**](#myquota) | **GET** /api/v1/quotas/me | Get my storage quota|
8
+
9
+ # **myQuota**
10
+ > MyStorageQuota myQuota()
11
+
12
+ The caller\'s used bytes, effective limit (null = unlimited) and where it comes from (USER override, GROUP, DEFAULT), plus the per-file upload limit.
13
+
14
+ ### Example
15
+
16
+ ```typescript
17
+ import {
18
+ QuotasApi,
19
+ Configuration
20
+ } from '@openfilz-sdk/typescript-ee';
21
+
22
+ const configuration = new Configuration();
23
+ const apiInstance = new QuotasApi(configuration);
24
+
25
+ const { status, data } = await apiInstance.myQuota();
26
+ ```
27
+
28
+ ### Parameters
29
+ This endpoint does not have any parameters.
30
+
31
+
32
+ ### Return type
33
+
34
+ **MyStorageQuota**
35
+
36
+ ### Authorization
37
+
38
+ [keycloak_auth](../README.md#keycloak_auth)
39
+
40
+ ### HTTP request headers
41
+
42
+ - **Content-Type**: Not defined
43
+ - **Accept**: */*
44
+
45
+
46
+ ### HTTP response details
47
+ | Status code | Description | Response headers |
48
+ |-------------|-------------|------------------|
49
+ |**200** | OK | - |
50
+
51
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
52
+
@@ -0,0 +1,44 @@
1
+ # SettingDto
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **key** | **string** | | [optional] [default to undefined]
9
+ **section** | **string** | | [optional] [default to undefined]
10
+ **type** | **string** | | [optional] [default to undefined]
11
+ **unit** | **string** | | [optional] [default to undefined]
12
+ **min** | **number** | | [optional] [default to undefined]
13
+ **max** | **number** | | [optional] [default to undefined]
14
+ **allowedValues** | **Array<string>** | | [optional] [default to undefined]
15
+ **value** | **string** | | [optional] [default to undefined]
16
+ **deploymentValue** | **string** | | [optional] [default to undefined]
17
+ **source** | **string** | | [optional] [default to undefined]
18
+ **locked** | **boolean** | | [optional] [default to undefined]
19
+ **updatedBy** | **string** | | [optional] [default to undefined]
20
+ **updatedAt** | **string** | | [optional] [default to undefined]
21
+
22
+ ## Example
23
+
24
+ ```typescript
25
+ import { SettingDto } from '@openfilz-sdk/typescript-ee';
26
+
27
+ const instance: SettingDto = {
28
+ key,
29
+ section,
30
+ type,
31
+ unit,
32
+ min,
33
+ max,
34
+ allowedValues,
35
+ value,
36
+ deploymentValue,
37
+ source,
38
+ locked,
39
+ updatedBy,
40
+ updatedAt,
41
+ };
42
+ ```
43
+
44
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,20 @@
1
+ # StartRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **force** | **boolean** | | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { StartRequest } from '@openfilz-sdk/typescript-ee';
14
+
15
+ const instance: StartRequest = {
16
+ force,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
8
8
  **totalStorageUsed** | **number** | | [optional] [default to undefined]
9
9
  **totalStorageAvailable** | **number** | | [optional] [default to undefined]
10
10
  **fileTypeBreakdown** | [**Array<FileTypeStats>**](FileTypeStats.md) | | [optional] [default to undefined]
11
+ **quota** | [**MyStorageQuota**](MyStorageQuota.md) | | [optional] [default to undefined]
11
12
 
12
13
  ## Example
13
14
 
@@ -18,6 +19,7 @@ const instance: StorageBreakdown = {
18
19
  totalStorageUsed,
19
20
  totalStorageAvailable,
20
21
  fileTypeBreakdown,
22
+ quota,
21
23
  };
22
24
  ```
23
25
 
@@ -0,0 +1,20 @@
1
+ # TeamQuotaRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **quotaMb** | **number** | Per-member limit in MB; 0 = members exempt | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { TeamQuotaRequest } from '@openfilz-sdk/typescript-ee';
14
+
15
+ const instance: TeamQuotaRequest = {
16
+ quotaMb,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,30 @@
1
+ # TeamQuotaView
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **teamId** | **string** | | [optional] [default to undefined]
9
+ **name** | **string** | | [optional] [default to undefined]
10
+ **quotaMb** | **number** | | [optional] [default to undefined]
11
+ **members** | **number** | | [optional] [default to undefined]
12
+ **usedBytes** | **number** | | [optional] [default to undefined]
13
+ **largestMemberBytes** | **number** | | [optional] [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { TeamQuotaView } from '@openfilz-sdk/typescript-ee';
19
+
20
+ const instance: TeamQuotaView = {
21
+ teamId,
22
+ name,
23
+ quotaMb,
24
+ members,
25
+ usedBytes,
26
+ largestMemberBytes,
27
+ };
28
+ ```
29
+
30
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -111,7 +111,7 @@ void (empty response body)
111
111
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
112
112
 
113
113
  # **createUpload**
114
- > createUpload()
114
+ > object createUpload()
115
115
 
116
116
  Creates a new TUS upload session. Client must provide Upload-Length header. Upload-Metadata header should contain base64-encoded values for: filename (required), parentFolderId (optional), allowDuplicateFileNames (optional, default false).
117
117
 
@@ -145,7 +145,7 @@ const { status, data } = await apiInstance.createUpload(
145
145
 
146
146
  ### Return type
147
147
 
148
- void (empty response body)
148
+ **object**
149
149
 
150
150
  ### Authorization
151
151
 
@@ -154,7 +154,7 @@ void (empty response body)
154
154
  ### HTTP request headers
155
155
 
156
156
  - **Content-Type**: Not defined
157
- - **Accept**: Not defined
157
+ - **Accept**: */*
158
158
 
159
159
 
160
160
  ### HTTP response details
@@ -162,7 +162,7 @@ void (empty response body)
162
162
  |-------------|-------------|------------------|
163
163
  |**201** | Upload created | * Tus-Resumable - TUS protocol version <br> * Location - URL to upload chunks to <br> |
164
164
  |**413** | Upload size exceeds maximum allowed or file quota exceeded | - |
165
- |**507** | User storage quota exceeded | - |
165
+ |**507** | User or instance storage quota exceeded (error UserQuotaExceeded / InstanceQuotaExceeded) | - |
166
166
  |**404** | Parent folder not found | - |
167
167
  |**409** | Duplicate filename in target folder | - |
168
168
  |**400** | Missing required headers or filename | - |
@@ -430,7 +430,7 @@ const { status, data } = await apiInstance.isUploadComplete(
430
430
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
431
431
 
432
432
  # **uploadChunk**
433
- > uploadChunk(requestBody)
433
+ > object uploadChunk(requestBody)
434
434
 
435
435
  Uploads a chunk of data. Client must send Upload-Offset header matching current offset.
436
436
 
@@ -470,7 +470,7 @@ const { status, data } = await apiInstance.uploadChunk(
470
470
 
471
471
  ### Return type
472
472
 
473
- void (empty response body)
473
+ **object**
474
474
 
475
475
  ### Authorization
476
476
 
@@ -479,7 +479,7 @@ void (empty response body)
479
479
  ### HTTP request headers
480
480
 
481
481
  - **Content-Type**: application/offset+octet-stream
482
- - **Accept**: Not defined
482
+ - **Accept**: */*
483
483
 
484
484
 
485
485
  ### HTTP response details
@@ -487,6 +487,7 @@ void (empty response body)
487
487
  |-------------|-------------|------------------|
488
488
  |**204** | Chunk received successfully | * Tus-Resumable - TUS protocol version <br> * Upload-Offset - New offset after this chunk <br> |
489
489
  |**409** | Offset mismatch - resume from HEAD request | - |
490
+ |**413** | The chunk would go past the declared Upload-Length | - |
490
491
  |**404** | Upload not found | - |
491
492
 
492
493
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -0,0 +1,20 @@
1
+ # UserQuotaRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **quotaMb** | **number** | Limit in MB; 0 &#x3D; no limit for this user | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { UserQuotaRequest } from '@openfilz-sdk/typescript-ee';
14
+
15
+ const instance: UserQuotaRequest = {
16
+ quotaMb,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -99,6 +99,10 @@ export const EnrichedAuditLogActionEnum = {
99
99
  ArchiveDeposit: 'ARCHIVE_DEPOSIT',
100
100
  RestoreFromArchive: 'RESTORE_FROM_ARCHIVE',
101
101
  ArchiveOwnerReassigned: 'ARCHIVE_OWNER_REASSIGNED',
102
+ McpAgentTokenMinted: 'MCP_AGENT_TOKEN_MINTED',
103
+ McpAgentTokenRevoked: 'MCP_AGENT_TOKEN_REVOKED',
104
+ AdminSettingChanged: 'ADMIN_SETTING_CHANGED',
105
+ OrganisationAiMaintenanceStarted: 'ORGANISATION_AI_MAINTENANCE_STARTED',
102
106
  } as const;
103
107
 
104
108
  export type EnrichedAuditLogActionEnum = typeof EnrichedAuditLogActionEnum[keyof typeof EnrichedAuditLogActionEnum];
@@ -0,0 +1,22 @@
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
+
17
+ export interface ErrorResponse {
18
+ 'status'?: number;
19
+ 'message'?: string;
20
+ 'error'?: string;
21
+ }
22
+
package/models/index.ts CHANGED
@@ -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,37 @@
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
+
17
+ export interface McpAgentTokenConfig {
18
+ /**
19
+ * openfilz.mcp.tokens.enabled — minting and agent-token authentication
20
+ */
21
+ 'tokensEnabled'?: boolean;
22
+ /**
23
+ * openfilz.mcp.active — the /mcp endpoint itself
24
+ */
25
+ 'mcpActive'?: boolean;
26
+ /**
27
+ * openfilz.mcp.mode — deployment-wide cap applied on top of each token\'s mode
28
+ */
29
+ 'mcpMode'?: string;
30
+ 'defaultTtlSeconds'?: number;
31
+ 'maxTtlSeconds'?: number;
32
+ /**
33
+ * Public URL of the MCP endpoint, for the client snippet shown after minting
34
+ */
35
+ 'mcpUrl'?: string;
36
+ }
37
+
@@ -24,6 +24,7 @@ export interface McpAgentTokenInfo {
24
24
  'revokedAt'?: string;
25
25
  'createdBy'?: string;
26
26
  'createdAt'?: string;
27
+ 'lastUsedAt'?: string;
27
28
  }
28
29
 
29
30
  export const McpAgentTokenInfoModeEnum = {
@@ -0,0 +1,33 @@
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
+
17
+ export interface MyStorageQuota {
18
+ 'usedBytes'?: number;
19
+ 'limitBytes'?: number;
20
+ 'source'?: MyStorageQuotaSourceEnum;
21
+ 'sourceName'?: string;
22
+ 'maxFileSizeBytes'?: number;
23
+ }
24
+
25
+ export const MyStorageQuotaSourceEnum = {
26
+ User: 'USER',
27
+ Group: 'GROUP',
28
+ Default: 'DEFAULT',
29
+ } as const;
30
+
31
+ export type MyStorageQuotaSourceEnum = typeof MyStorageQuotaSourceEnum[keyof typeof MyStorageQuotaSourceEnum];
32
+
33
+
@@ -0,0 +1,25 @@
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
+
17
+ export interface QuotaOverview {
18
+ 'fileUploadMb'?: number;
19
+ 'defaultUserMb'?: number;
20
+ 'totalMb'?: number;
21
+ 'instanceUsedBytes'?: number;
22
+ 'instanceLimitBytes'?: number;
23
+ 'userOverrides'?: number;
24
+ }
25
+
@@ -0,0 +1,36 @@
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
+
17
+ export interface QuotaUsage {
18
+ 'username'?: string;
19
+ 'displayName'?: string;
20
+ 'usedBytes'?: number;
21
+ 'limitBytes'?: number;
22
+ 'source'?: QuotaUsageSourceEnum;
23
+ 'sourceName'?: string;
24
+ 'overrideMb'?: number;
25
+ 'usedPercent'?: number;
26
+ }
27
+
28
+ export const QuotaUsageSourceEnum = {
29
+ User: 'USER',
30
+ Group: 'GROUP',
31
+ Default: 'DEFAULT',
32
+ } as const;
33
+
34
+ export type QuotaUsageSourceEnum = typeof QuotaUsageSourceEnum[keyof typeof QuotaUsageSourceEnum];
35
+
36
+
@@ -0,0 +1,26 @@
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
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { QuotaUsage } from './quota-usage';
19
+
20
+ export interface QuotaUserPage {
21
+ 'total'?: number;
22
+ 'page'?: number;
23
+ 'size'?: number;
24
+ 'items'?: Array<QuotaUsage>;
25
+ }
26
+
@@ -112,6 +112,10 @@ export const SearchByAuditLogRequestActionEnum = {
112
112
  ArchiveDeposit: 'ARCHIVE_DEPOSIT',
113
113
  RestoreFromArchive: 'RESTORE_FROM_ARCHIVE',
114
114
  ArchiveOwnerReassigned: 'ARCHIVE_OWNER_REASSIGNED',
115
+ McpAgentTokenMinted: 'MCP_AGENT_TOKEN_MINTED',
116
+ McpAgentTokenRevoked: 'MCP_AGENT_TOKEN_REVOKED',
117
+ AdminSettingChanged: 'ADMIN_SETTING_CHANGED',
118
+ OrganisationAiMaintenanceStarted: 'ORGANISATION_AI_MAINTENANCE_STARTED',
115
119
  } as const;
116
120
 
117
121
  export type SearchByAuditLogRequestActionEnum = typeof SearchByAuditLogRequestActionEnum[keyof typeof SearchByAuditLogRequestActionEnum];
@@ -0,0 +1,32 @@
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
+
17
+ export interface SettingDto {
18
+ 'key'?: string;
19
+ 'section'?: string;
20
+ 'type'?: string;
21
+ 'unit'?: string;
22
+ 'min'?: number;
23
+ 'max'?: number;
24
+ 'allowedValues'?: Array<string>;
25
+ 'value'?: string;
26
+ 'deploymentValue'?: string;
27
+ 'source'?: string;
28
+ 'locked'?: boolean;
29
+ 'updatedBy'?: string;
30
+ 'updatedAt'?: string;
31
+ }
32
+
@@ -0,0 +1,20 @@
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
+
17
+ export interface StartRequest {
18
+ 'force'?: boolean;
19
+ }
20
+