@openfilz-sdk/typescript-ee 1.13.4 → 1.14.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 (122) hide show
  1. package/.openapi-generator/FILES +26 -0
  2. package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
  3. package/README.md +33 -2
  4. package/api/metadata-key-controller-api.ts +121 -0
  5. package/api/sharing-policy-api.ts +1471 -0
  6. package/api/team-administration-api.ts +133 -0
  7. package/api.ts +3 -0
  8. package/dist/api/metadata-key-controller-api.d.ts +63 -0
  9. package/dist/api/metadata-key-controller-api.js +125 -0
  10. package/dist/api/sharing-policy-api.d.ts +662 -0
  11. package/dist/api/sharing-policy-api.js +1399 -0
  12. package/dist/api/team-administration-api.d.ts +70 -0
  13. package/dist/api/team-administration-api.js +139 -0
  14. package/dist/api.d.ts +3 -0
  15. package/dist/api.js +3 -0
  16. package/dist/esm/api/metadata-key-controller-api.d.ts +63 -0
  17. package/dist/esm/api/metadata-key-controller-api.js +118 -0
  18. package/dist/esm/api/sharing-policy-api.d.ts +662 -0
  19. package/dist/esm/api/sharing-policy-api.js +1392 -0
  20. package/dist/esm/api/team-administration-api.d.ts +70 -0
  21. package/dist/esm/api/team-administration-api.js +132 -0
  22. package/dist/esm/api.d.ts +3 -0
  23. package/dist/esm/api.js +3 -0
  24. package/dist/esm/models/effective-policy.d.ts +31 -0
  25. package/dist/esm/models/effective-policy.js +24 -0
  26. package/dist/esm/models/enriched-audit-log.d.ts +2 -0
  27. package/dist/esm/models/enriched-audit-log.js +2 -0
  28. package/dist/esm/models/global-policy.d.ts +26 -0
  29. package/dist/esm/models/global-policy.js +19 -0
  30. package/dist/esm/models/index.d.ts +10 -0
  31. package/dist/esm/models/index.js +10 -0
  32. package/dist/esm/models/item.d.ts +1 -7
  33. package/dist/esm/models/metadata-key-suggestion.d.ts +24 -0
  34. package/dist/esm/models/metadata-key-suggestion.js +14 -0
  35. package/dist/esm/models/my-policy.d.ts +30 -0
  36. package/dist/esm/models/my-policy.js +24 -0
  37. package/dist/esm/models/notification-dto.d.ts +1 -0
  38. package/dist/esm/models/notification-dto.js +1 -0
  39. package/dist/esm/models/override-request.d.ts +21 -0
  40. package/dist/esm/models/override-request.js +19 -0
  41. package/dist/esm/models/override-view.d.ts +27 -0
  42. package/dist/esm/models/override-view.js +19 -0
  43. package/dist/esm/models/revoke-request.d.ts +16 -0
  44. package/dist/esm/models/revoke-request.js +14 -0
  45. package/dist/esm/models/revoke-result.d.ts +18 -0
  46. package/dist/esm/models/revoke-result.js +14 -0
  47. package/dist/esm/models/search-by-audit-log-request.d.ts +2 -0
  48. package/dist/esm/models/search-by-audit-log-request.js +2 -0
  49. package/dist/esm/models/search-by-metadata-request.d.ts +1 -1
  50. package/dist/esm/models/share-result-error.d.ts +6 -0
  51. package/dist/esm/models/share-result-error.js +6 -0
  52. package/dist/esm/models/violation.d.ts +41 -0
  53. package/dist/esm/models/violation.js +28 -0
  54. package/dist/esm/models/violations-response.d.ts +17 -0
  55. package/dist/esm/models/violations-response.js +14 -0
  56. package/dist/models/effective-policy.d.ts +31 -0
  57. package/dist/models/effective-policy.js +27 -0
  58. package/dist/models/enriched-audit-log.d.ts +2 -0
  59. package/dist/models/enriched-audit-log.js +2 -0
  60. package/dist/models/global-policy.d.ts +26 -0
  61. package/dist/models/global-policy.js +22 -0
  62. package/dist/models/index.d.ts +10 -0
  63. package/dist/models/index.js +10 -0
  64. package/dist/models/item.d.ts +1 -7
  65. package/dist/models/metadata-key-suggestion.d.ts +24 -0
  66. package/dist/models/metadata-key-suggestion.js +15 -0
  67. package/dist/models/my-policy.d.ts +30 -0
  68. package/dist/models/my-policy.js +27 -0
  69. package/dist/models/notification-dto.d.ts +1 -0
  70. package/dist/models/notification-dto.js +1 -0
  71. package/dist/models/override-request.d.ts +21 -0
  72. package/dist/models/override-request.js +22 -0
  73. package/dist/models/override-view.d.ts +27 -0
  74. package/dist/models/override-view.js +22 -0
  75. package/dist/models/revoke-request.d.ts +16 -0
  76. package/dist/models/revoke-request.js +15 -0
  77. package/dist/models/revoke-result.d.ts +18 -0
  78. package/dist/models/revoke-result.js +15 -0
  79. package/dist/models/search-by-audit-log-request.d.ts +2 -0
  80. package/dist/models/search-by-audit-log-request.js +2 -0
  81. package/dist/models/search-by-metadata-request.d.ts +1 -1
  82. package/dist/models/share-result-error.d.ts +6 -0
  83. package/dist/models/share-result-error.js +6 -0
  84. package/dist/models/violation.d.ts +41 -0
  85. package/dist/models/violation.js +31 -0
  86. package/dist/models/violations-response.d.ts +17 -0
  87. package/dist/models/violations-response.js +15 -0
  88. package/docs/EffectivePolicy.md +28 -0
  89. package/docs/GlobalPolicy.md +30 -0
  90. package/docs/Item.md +2 -14
  91. package/docs/MetadataKeyControllerApi.md +52 -0
  92. package/docs/MetadataKeySuggestion.md +23 -0
  93. package/docs/MyPolicy.md +26 -0
  94. package/docs/OverrideRequest.md +20 -0
  95. package/docs/OverrideView.md +32 -0
  96. package/docs/RevokeRequest.md +22 -0
  97. package/docs/RevokeResult.md +28 -0
  98. package/docs/SearchByMetadataRequest.md +1 -1
  99. package/docs/SharingPolicyApi.md +988 -0
  100. package/docs/TeamAdministrationApi.md +62 -0
  101. package/docs/Violation.md +42 -0
  102. package/docs/ViolationsResponse.md +24 -0
  103. package/graphql/document.graphqls +2 -2
  104. package/graphql/share.graphqls +2 -0
  105. package/models/effective-policy.ts +41 -0
  106. package/models/enriched-audit-log.ts +2 -0
  107. package/models/global-policy.ts +35 -0
  108. package/models/index.ts +10 -0
  109. package/models/item.ts +1 -7
  110. package/models/metadata-key-suggestion.ts +30 -0
  111. package/models/my-policy.ts +40 -0
  112. package/models/notification-dto.ts +1 -0
  113. package/models/override-request.ts +30 -0
  114. package/models/override-view.ts +36 -0
  115. package/models/revoke-request.ts +24 -0
  116. package/models/revoke-result.ts +24 -0
  117. package/models/search-by-audit-log-request.ts +2 -0
  118. package/models/search-by-metadata-request.ts +1 -1
  119. package/models/share-result-error.ts +6 -0
  120. package/models/violation.ts +50 -0
  121. package/models/violations-response.ts +25 -0
  122. package/package.json +1 -1
@@ -38,6 +38,7 @@ api/file-controller-api.ts
38
38
  api/folder-controller-api.ts
39
39
  api/mcp-discovery-controller-api.ts
40
40
  api/mcp-token-admin-controller-api.ts
41
+ api/metadata-key-controller-api.ts
41
42
  api/notifications-api.ts
42
43
  api/organisation-settings-api.ts
43
44
  api/ownership-api.ts
@@ -49,8 +50,10 @@ api/scanner-proxy-api.ts
49
50
  api/search-administration-api.ts
50
51
  api/settings-api.ts
51
52
  api/sharing-api.ts
53
+ api/sharing-policy-api.ts
52
54
  api/smart-filing-api.ts
53
55
  api/storage-encryption-administration-api.ts
56
+ api/team-administration-api.ts
54
57
  api/tus-controller-api.ts
55
58
  api/upload-token-controller-api.ts
56
59
  api/user-privacy-api.ts
@@ -154,6 +157,7 @@ docs/ESignApi.md
154
157
  docs/ESignEnterpriseApi.md
155
158
  docs/ESignPublicApi.md
156
159
  docs/ESignTemplatesApi.md
160
+ docs/EffectivePolicy.md
157
161
  docs/ElementInfo.md
158
162
  docs/EmbedUrlResponse.md
159
163
  docs/EmbeddingBackfillRequest.md
@@ -181,6 +185,7 @@ docs/FolderResponse.md
181
185
  docs/FolderSelectionByKindRequest.md
182
186
  docs/FolderSelectionByKindResponse.md
183
187
  docs/ForeignItem.md
188
+ docs/GlobalPolicy.md
184
189
  docs/IngestionStatusDto.md
185
190
  docs/InsightBackfillRequest.md
186
191
  docs/InsightBackfillStatus.md
@@ -201,10 +206,13 @@ docs/McpDiscoveryControllerApi.md
201
206
  docs/McpTokenAdminControllerApi.md
202
207
  docs/MergeRequest.md
203
208
  docs/MergeSource.md
209
+ docs/MetadataKeyControllerApi.md
210
+ docs/MetadataKeySuggestion.md
204
211
  docs/MintMcpAgentTokenRequest.md
205
212
  docs/MintUploadTokenRequest.md
206
213
  docs/MoveAudit.md
207
214
  docs/MoveRequest.md
215
+ docs/MyPolicy.md
208
216
  docs/MyStorageQuota.md
209
217
  docs/MyTasksCountDTO.md
210
218
  docs/NotificationDTO.md
@@ -212,6 +220,8 @@ docs/NotificationsApi.md
212
220
  docs/OrganisationSettingsApi.md
213
221
  docs/OrganizeRequest.md
214
222
  docs/OutputTarget.md
223
+ docs/OverrideRequest.md
224
+ docs/OverrideView.md
215
225
  docs/OwnedDocument.md
216
226
  docs/OwnedDocumentsFilter.md
217
227
  docs/OwnershipApi.md
@@ -248,6 +258,8 @@ docs/ReplaceAudit.md
248
258
  docs/Response.md
249
259
  docs/RestoreVersionAudit.md
250
260
  docs/RestoreVersionResponse.md
261
+ docs/RevokeRequest.md
262
+ docs/RevokeResult.md
251
263
  docs/RoleBinding.md
252
264
  docs/RotateRequest.md
253
265
  docs/SaveAiPreferencesRequest.md
@@ -272,6 +284,7 @@ docs/ShareResultError.md
272
284
  docs/ShareResultItem.md
273
285
  docs/ShareResultResponse.md
274
286
  docs/SharingApi.md
287
+ docs/SharingPolicyApi.md
275
288
  docs/SignatureArchiveDTO.md
276
289
  docs/SignatureEnvelopeDTO.md
277
290
  docs/SignatureEventDTO.md
@@ -299,6 +312,7 @@ docs/SyncBackfillStatus.md
299
312
  docs/SyncChangesResponse.md
300
313
  docs/SyncItem.md
301
314
  docs/SyncSnapshotResponse.md
315
+ docs/TeamAdministrationApi.md
302
316
  docs/TeamInboxRequest.md
303
317
  docs/TeamInboxView.md
304
318
  docs/TeamMemberInfo.md
@@ -329,6 +343,8 @@ docs/UserPrivacyDTO.md
329
343
  docs/UserQuotaRequest.md
330
344
  docs/UserRegistrationRequest.md
331
345
  docs/VerifyOtpRequest.md
346
+ docs/Violation.md
347
+ docs/ViolationsResponse.md
332
348
  docs/Vote.md
333
349
  docs/WebhookProxyControllerApi.md
334
350
  docs/WorkflowAction.md
@@ -418,6 +434,7 @@ models/document-insight-view.ts
418
434
  models/document-integrity-record.ts
419
435
  models/document-position.ts
420
436
  models/document-version-info.ts
437
+ models/effective-policy.ts
421
438
  models/element-info.ts
422
439
  models/embed-url-response.ts
423
440
  models/embedding-backfill-request.ts
@@ -441,6 +458,7 @@ models/folder-response.ts
441
458
  models/folder-selection-by-kind-request.ts
442
459
  models/folder-selection-by-kind-response.ts
443
460
  models/foreign-item.ts
461
+ models/global-policy.ts
444
462
  models/index.ts
445
463
  models/ingestion-status-dto.ts
446
464
  models/insight-backfill-request.ts
@@ -460,15 +478,19 @@ models/mcp-agent-token-info.ts
460
478
  models/mcp-agent-token-response.ts
461
479
  models/merge-request.ts
462
480
  models/merge-source.ts
481
+ models/metadata-key-suggestion.ts
463
482
  models/mint-mcp-agent-token-request.ts
464
483
  models/mint-upload-token-request.ts
465
484
  models/move-audit.ts
466
485
  models/move-request.ts
486
+ models/my-policy.ts
467
487
  models/my-storage-quota.ts
468
488
  models/my-tasks-count-dto.ts
469
489
  models/notification-dto.ts
470
490
  models/organize-request.ts
471
491
  models/output-target.ts
492
+ models/override-request.ts
493
+ models/override-view.ts
472
494
  models/owned-document.ts
473
495
  models/owned-documents-filter.ts
474
496
  models/ownership-consent-request.ts
@@ -501,6 +523,8 @@ models/replace-audit.ts
501
523
  models/response.ts
502
524
  models/restore-version-audit.ts
503
525
  models/restore-version-response.ts
526
+ models/revoke-request.ts
527
+ models/revoke-result.ts
504
528
  models/role-binding.ts
505
529
  models/rotate-request.ts
506
530
  models/save-ai-preferences-request.ts
@@ -572,6 +596,8 @@ models/user-privacy-dto.ts
572
596
  models/user-quota-request.ts
573
597
  models/user-registration-request.ts
574
598
  models/verify-otp-request.ts
599
+ models/violation.ts
600
+ models/violations-response.ts
575
601
  models/vote.ts
576
602
  models/workflow-action-failure-audit.ts
577
603
  models/workflow-action.ts
@@ -1 +1 @@
1
- ae3c397c412a95f8b9ddbb0f68c8969895766d32fc3970a10b011b92a8300634
1
+ 38a40ba7ea84ede8d33b014326316f70093a04a6fb8ab020eb4f47f10c81b060
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @openfilz-sdk/typescript-ee@1.13.4
1
+ ## @openfilz-sdk/typescript-ee@1.14.1
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @openfilz-sdk/typescript-ee@1.13.4 --save
39
+ npm install @openfilz-sdk/typescript-ee@1.14.1 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -221,6 +221,7 @@ Class | Method | HTTP request | Description
221
221
  *McpTokenAdminControllerApi* | [**list2**](docs/McpTokenAdminControllerApi.md#list2) | **GET** /api/v1/admin/mcp/tokens | List minted MCP agent tokens (never returns the credentials)
222
222
  *McpTokenAdminControllerApi* | [**mint**](docs/McpTokenAdminControllerApi.md#mint) | **POST** /api/v1/admin/mcp/tokens | Mint an MCP agent token for a dedicated user (admin only)
223
223
  *McpTokenAdminControllerApi* | [**revoke1**](docs/McpTokenAdminControllerApi.md#revoke1) | **DELETE** /api/v1/admin/mcp/tokens/{jti} | Revoke an MCP agent token
224
+ *MetadataKeyControllerApi* | [**listMetadataKeys**](docs/MetadataKeyControllerApi.md#listmetadatakeys) | **GET** /api/v1/documents/metadata-keys | List metadata keys
224
225
  *NotificationsApi* | [**getNotifications**](docs/NotificationsApi.md#getnotifications) | **GET** /api/v1/notifications | Get all notifications
225
226
  *NotificationsApi* | [**getUnreadCount**](docs/NotificationsApi.md#getunreadcount) | **GET** /api/v1/notifications/unread/count | Get unread notification count
226
227
  *NotificationsApi* | [**markAllAsRead**](docs/NotificationsApi.md#markallasread) | **PUT** /api/v1/notifications/read-all | Mark all notifications as read
@@ -276,6 +277,25 @@ Class | Method | HTTP request | Description
276
277
  *SettingsApi* | [**saveSettings**](docs/SettingsApi.md#savesettings) | **PUT** /api/v1/settings | Save user preferences
277
278
  *SharingApi* | [**getShareInheritance**](docs/SharingApi.md#getshareinheritance) | **GET** /api/v1/documents/{id}/share-inheritance | Does the document receive the shares of its ancestors?
278
279
  *SharingApi* | [**setShareInheritance**](docs/SharingApi.md#setshareinheritance) | **PUT** /api/v1/users/share/inheritance/{id} | Stop (inherit=false) or resume (inherit=true) inheriting the ancestors\' shares
280
+ *SharingPolicyApi* | [**adminGetEffectiveSharingPolicy**](docs/SharingPolicyApi.md#admingeteffectivesharingpolicy) | **GET** /api/v1/admin/sharing-policy/effective/{userId} | A user\'s effective sharing rule and where it comes from (USER, TEAM or GLOBAL)
281
+ *SharingPolicyApi* | [**adminGetSharingPolicy**](docs/SharingPolicyApi.md#admingetsharingpolicy) | **GET** /api/v1/admin/sharing-policy | The global mode, allowed domains, e-Sign switch, locked keys and number of overrides
282
+ *SharingPolicyApi* | [**adminGetSharingPolicyRevokeJob**](docs/SharingPolicyApi.md#admingetsharingpolicyrevokejob) | **GET** /api/v1/admin/sharing-policy/violations/revoke/{jobId} | Progress of a background revocation
283
+ *SharingPolicyApi* | [**adminListSharingPolicyOverrides**](docs/SharingPolicyApi.md#adminlistsharingpolicyoverrides) | **GET** /api/v1/admin/sharing-policy/overrides | Users and teams with their own sharing rule
284
+ *SharingPolicyApi* | [**adminListSharingPolicyViolations**](docs/SharingPolicyApi.md#adminlistsharingpolicyviolations) | **GET** /api/v1/admin/sharing-policy/violations | Existing shares the current policies refuse
285
+ *SharingPolicyApi* | [**adminRemoveSharingPolicyOverride**](docs/SharingPolicyApi.md#adminremovesharingpolicyoverride) | **DELETE** /api/v1/admin/sharing-policy/overrides/{subjectId} | Remove a user\'s or a team\'s own rule (back to their teams\', else the global mode)
286
+ *SharingPolicyApi* | [**adminRevokeSharingPolicyViolations**](docs/SharingPolicyApi.md#adminrevokesharingpolicyviolations) | **POST** /api/v1/admin/sharing-policy/violations/revoke | Revoke shares that break the policy
287
+ *SharingPolicyApi* | [**adminSetSharingPolicyGlobal**](docs/SharingPolicyApi.md#adminsetsharingpolicyglobal) | **PUT** /api/v1/admin/sharing-policy/global | Change the global mode, allowed domains and e-Sign switch
288
+ *SharingPolicyApi* | [**adminSetSharingPolicyOverride**](docs/SharingPolicyApi.md#adminsetsharingpolicyoverride) | **PUT** /api/v1/admin/sharing-policy/overrides/{subjectId} | Set a user\'s or a team\'s sharing rule
289
+ *SharingPolicyApi* | [**getEffectiveSharingPolicy**](docs/SharingPolicyApi.md#geteffectivesharingpolicy) | **GET** /api/v1/users/sharing-policy/effective/{userId} | A user\'s effective sharing rule and where it comes from (USER, TEAM or GLOBAL)
290
+ *SharingPolicyApi* | [**getMySharingPolicy**](docs/SharingPolicyApi.md#getmysharingpolicy) | **GET** /api/v1/users/me/sharing-policy | The caller\'s own sharing rule (for the share dialog)
291
+ *SharingPolicyApi* | [**getSharingPolicy**](docs/SharingPolicyApi.md#getsharingpolicy) | **GET** /api/v1/users/sharing-policy | The global mode, allowed domains, e-Sign switch, locked keys and number of overrides
292
+ *SharingPolicyApi* | [**getSharingPolicyRevokeJob**](docs/SharingPolicyApi.md#getsharingpolicyrevokejob) | **GET** /api/v1/users/sharing-policy/violations/revoke/{jobId} | Progress of a background revocation
293
+ *SharingPolicyApi* | [**listSharingPolicyOverrides**](docs/SharingPolicyApi.md#listsharingpolicyoverrides) | **GET** /api/v1/users/sharing-policy/overrides | Users and teams with their own sharing rule
294
+ *SharingPolicyApi* | [**listSharingPolicyViolations**](docs/SharingPolicyApi.md#listsharingpolicyviolations) | **GET** /api/v1/users/sharing-policy/violations | Existing shares the current policies refuse
295
+ *SharingPolicyApi* | [**removeSharingPolicyOverride**](docs/SharingPolicyApi.md#removesharingpolicyoverride) | **DELETE** /api/v1/users/sharing-policy/overrides/{subjectId} | Remove a user\'s or a team\'s own rule (back to their teams\', else the global mode)
296
+ *SharingPolicyApi* | [**revokeSharingPolicyViolations**](docs/SharingPolicyApi.md#revokesharingpolicyviolations) | **POST** /api/v1/users/sharing-policy/violations/revoke | Revoke shares that break the policy
297
+ *SharingPolicyApi* | [**setSharingPolicyGlobal**](docs/SharingPolicyApi.md#setsharingpolicyglobal) | **PUT** /api/v1/users/sharing-policy/global | Change the global mode, allowed domains and e-Sign switch
298
+ *SharingPolicyApi* | [**setSharingPolicyOverride**](docs/SharingPolicyApi.md#setsharingpolicyoverride) | **PUT** /api/v1/users/sharing-policy/overrides/{subjectId} | Set a user\'s or a team\'s sharing rule
279
299
  *SmartFilingApi* | [**file**](docs/SmartFilingApi.md#file) | **POST** /api/v1/ai/auto-file | File existing documents on demand
280
300
  *SmartFilingApi* | [**fileInbox**](docs/SmartFilingApi.md#fileinbox) | **POST** /api/v1/ai/auto-file/inbox | File everything lying loose in the caller\'s Inbox
281
301
  *SmartFilingApi* | [**job**](docs/SmartFilingApi.md#job) | **GET** /api/v1/ai/auto-file/{jobId} | Progress and outcome of a filing job
@@ -288,6 +308,7 @@ Class | Method | HTTP request | Description
288
308
  *StorageEncryptionAdministrationApi* | [**rewrap**](docs/StorageEncryptionAdministrationApi.md#rewrap) | **POST** /api/v1/admin/storage/encryption/rewrap | Re-wrap every master key under the provider\'s current KEK
289
309
  *StorageEncryptionAdministrationApi* | [**rotateMasterKey**](docs/StorageEncryptionAdministrationApi.md#rotatemasterkey) | **POST** /api/v1/admin/storage/encryption/rotate-master-key | Create a new active master key
290
310
  *StorageEncryptionAdministrationApi* | [**status1**](docs/StorageEncryptionAdministrationApi.md#status1) | **GET** /api/v1/admin/storage/encryption/status | Configuration, master key ring state and re-encryption pass progress
311
+ *TeamAdministrationApi* | [**adminAddTeamMembers**](docs/TeamAdministrationApi.md#adminaddteammembers) | **POST** /api/v1/admin/teams/{teamId}/members | Add members to a team
291
312
  *TusControllerApi* | [**_options**](docs/TusControllerApi.md#_options) | **OPTIONS** /api/v1/tus | TUS capability discovery
292
313
  *TusControllerApi* | [**cancelUpload**](docs/TusControllerApi.md#cancelupload) | **DELETE** /api/v1/tus/{uploadId} | Cancel upload
293
314
  *TusControllerApi* | [**createUpload**](docs/TusControllerApi.md#createupload) | **POST** /api/v1/tus | Create new TUS upload
@@ -394,6 +415,7 @@ Class | Method | HTTP request | Description
394
415
  - [DocumentIntegrityRecord](docs/DocumentIntegrityRecord.md)
395
416
  - [DocumentPosition](docs/DocumentPosition.md)
396
417
  - [DocumentVersionInfo](docs/DocumentVersionInfo.md)
418
+ - [EffectivePolicy](docs/EffectivePolicy.md)
397
419
  - [ElementInfo](docs/ElementInfo.md)
398
420
  - [EmbedUrlResponse](docs/EmbedUrlResponse.md)
399
421
  - [EmbeddingBackfillRequest](docs/EmbeddingBackfillRequest.md)
@@ -417,6 +439,7 @@ Class | Method | HTTP request | Description
417
439
  - [FolderSelectionByKindRequest](docs/FolderSelectionByKindRequest.md)
418
440
  - [FolderSelectionByKindResponse](docs/FolderSelectionByKindResponse.md)
419
441
  - [ForeignItem](docs/ForeignItem.md)
442
+ - [GlobalPolicy](docs/GlobalPolicy.md)
420
443
  - [IngestionStatusDto](docs/IngestionStatusDto.md)
421
444
  - [InsightBackfillRequest](docs/InsightBackfillRequest.md)
422
445
  - [InsightBackfillStatus](docs/InsightBackfillStatus.md)
@@ -435,15 +458,19 @@ Class | Method | HTTP request | Description
435
458
  - [McpAgentTokenResponse](docs/McpAgentTokenResponse.md)
436
459
  - [MergeRequest](docs/MergeRequest.md)
437
460
  - [MergeSource](docs/MergeSource.md)
461
+ - [MetadataKeySuggestion](docs/MetadataKeySuggestion.md)
438
462
  - [MintMcpAgentTokenRequest](docs/MintMcpAgentTokenRequest.md)
439
463
  - [MintUploadTokenRequest](docs/MintUploadTokenRequest.md)
440
464
  - [MoveAudit](docs/MoveAudit.md)
441
465
  - [MoveRequest](docs/MoveRequest.md)
466
+ - [MyPolicy](docs/MyPolicy.md)
442
467
  - [MyStorageQuota](docs/MyStorageQuota.md)
443
468
  - [MyTasksCountDTO](docs/MyTasksCountDTO.md)
444
469
  - [NotificationDTO](docs/NotificationDTO.md)
445
470
  - [OrganizeRequest](docs/OrganizeRequest.md)
446
471
  - [OutputTarget](docs/OutputTarget.md)
472
+ - [OverrideRequest](docs/OverrideRequest.md)
473
+ - [OverrideView](docs/OverrideView.md)
447
474
  - [OwnedDocument](docs/OwnedDocument.md)
448
475
  - [OwnedDocumentsFilter](docs/OwnedDocumentsFilter.md)
449
476
  - [OwnershipConsent](docs/OwnershipConsent.md)
@@ -476,6 +503,8 @@ Class | Method | HTTP request | Description
476
503
  - [Response](docs/Response.md)
477
504
  - [RestoreVersionAudit](docs/RestoreVersionAudit.md)
478
505
  - [RestoreVersionResponse](docs/RestoreVersionResponse.md)
506
+ - [RevokeRequest](docs/RevokeRequest.md)
507
+ - [RevokeResult](docs/RevokeResult.md)
479
508
  - [RoleBinding](docs/RoleBinding.md)
480
509
  - [RotateRequest](docs/RotateRequest.md)
481
510
  - [SaveAiPreferencesRequest](docs/SaveAiPreferencesRequest.md)
@@ -547,6 +576,8 @@ Class | Method | HTTP request | Description
547
576
  - [UserQuotaRequest](docs/UserQuotaRequest.md)
548
577
  - [UserRegistrationRequest](docs/UserRegistrationRequest.md)
549
578
  - [VerifyOtpRequest](docs/VerifyOtpRequest.md)
579
+ - [Violation](docs/Violation.md)
580
+ - [ViolationsResponse](docs/ViolationsResponse.md)
550
581
  - [Vote](docs/Vote.md)
551
582
  - [WorkflowAction](docs/WorkflowAction.md)
552
583
  - [WorkflowActionFailureAudit](docs/WorkflowActionFailureAudit.md)
@@ -0,0 +1,121 @@
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 { MetadataKeySuggestion } from '../models';
26
+ /**
27
+ * MetadataKeyControllerApi - axios parameter creator
28
+ */
29
+ export const MetadataKeyControllerApiAxiosParamCreator = function (configuration?: Configuration) {
30
+ return {
31
+ /**
32
+ * Metadata keys found on the documents the caller can see, most frequent first, with the number of documents carrying each (at most 200). Meant for autocompletion of the metadata search filter: the list is cached for a short time and is empty when it cannot be computed in time. 404 when key suggestions are disabled.
33
+ * @summary List metadata keys
34
+ * @param {*} [options] Override http request option.
35
+ * @throws {RequiredError}
36
+ */
37
+ listMetadataKeys: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
38
+ const localVarPath = `/api/v1/documents/metadata-keys`;
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
+
68
+ /**
69
+ * MetadataKeyControllerApi - functional programming interface
70
+ */
71
+ export const MetadataKeyControllerApiFp = function(configuration?: Configuration) {
72
+ const localVarAxiosParamCreator = MetadataKeyControllerApiAxiosParamCreator(configuration)
73
+ return {
74
+ /**
75
+ * Metadata keys found on the documents the caller can see, most frequent first, with the number of documents carrying each (at most 200). Meant for autocompletion of the metadata search filter: the list is cached for a short time and is empty when it cannot be computed in time. 404 when key suggestions are disabled.
76
+ * @summary List metadata keys
77
+ * @param {*} [options] Override http request option.
78
+ * @throws {RequiredError}
79
+ */
80
+ async listMetadataKeys(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MetadataKeySuggestion>>> {
81
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listMetadataKeys(options);
82
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
83
+ const localVarOperationServerBasePath = operationServerMap['MetadataKeyControllerApi.listMetadataKeys']?.[localVarOperationServerIndex]?.url;
84
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
85
+ },
86
+ }
87
+ };
88
+
89
+ /**
90
+ * MetadataKeyControllerApi - factory interface
91
+ */
92
+ export const MetadataKeyControllerApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
93
+ const localVarFp = MetadataKeyControllerApiFp(configuration)
94
+ return {
95
+ /**
96
+ * Metadata keys found on the documents the caller can see, most frequent first, with the number of documents carrying each (at most 200). Meant for autocompletion of the metadata search filter: the list is cached for a short time and is empty when it cannot be computed in time. 404 when key suggestions are disabled.
97
+ * @summary List metadata keys
98
+ * @param {*} [options] Override http request option.
99
+ * @throws {RequiredError}
100
+ */
101
+ listMetadataKeys(options?: RawAxiosRequestConfig): AxiosPromise<Array<MetadataKeySuggestion>> {
102
+ return localVarFp.listMetadataKeys(options).then((request) => request(axios, basePath));
103
+ },
104
+ };
105
+ };
106
+
107
+ /**
108
+ * MetadataKeyControllerApi - object-oriented interface
109
+ */
110
+ export class MetadataKeyControllerApi extends BaseAPI {
111
+ /**
112
+ * Metadata keys found on the documents the caller can see, most frequent first, with the number of documents carrying each (at most 200). Meant for autocompletion of the metadata search filter: the list is cached for a short time and is empty when it cannot be computed in time. 404 when key suggestions are disabled.
113
+ * @summary List metadata keys
114
+ * @param {*} [options] Override http request option.
115
+ * @throws {RequiredError}
116
+ */
117
+ public listMetadataKeys(options?: RawAxiosRequestConfig) {
118
+ return MetadataKeyControllerApiFp(this.configuration).listMetadataKeys(options).then((request) => request(this.axios, this.basePath));
119
+ }
120
+ }
121
+