@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
@@ -0,0 +1,62 @@
1
+ # TeamAdministrationApi
2
+
3
+ All URIs are relative to *http://localhost:8081*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**adminAddTeamMembers**](#adminaddteammembers) | **POST** /api/v1/admin/teams/{teamId}/members | Add members to a team|
8
+
9
+ # **adminAddTeamMembers**
10
+ > adminAddTeamMembers(requestBody)
11
+
12
+ Idempotent for existing members. 409 TEAM_MEMBER_EXTERNAL (counts of members, owners and documents) when documents shared with the team may not be shared with a new member under the sharing policy.
13
+
14
+ ### Example
15
+
16
+ ```typescript
17
+ import {
18
+ TeamAdministrationApi,
19
+ Configuration
20
+ } from '@openfilz-sdk/typescript-ee';
21
+
22
+ const configuration = new Configuration();
23
+ const apiInstance = new TeamAdministrationApi(configuration);
24
+
25
+ let teamId: string; // (default to undefined)
26
+ let requestBody: Array<string>; //
27
+
28
+ const { status, data } = await apiInstance.adminAddTeamMembers(
29
+ teamId,
30
+ requestBody
31
+ );
32
+ ```
33
+
34
+ ### Parameters
35
+
36
+ |Name | Type | Description | Notes|
37
+ |------------- | ------------- | ------------- | -------------|
38
+ | **requestBody** | **Array<string>**| | |
39
+ | **teamId** | [**string**] | | defaults to undefined|
40
+
41
+
42
+ ### Return type
43
+
44
+ void (empty response body)
45
+
46
+ ### Authorization
47
+
48
+ [keycloak_auth](../README.md#keycloak_auth)
49
+
50
+ ### HTTP request headers
51
+
52
+ - **Content-Type**: application/json
53
+ - **Accept**: Not defined
54
+
55
+
56
+ ### HTTP response details
57
+ | Status code | Description | Response headers |
58
+ |-------------|-------------|------------------|
59
+ |**200** | OK | - |
60
+
61
+ [[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)
62
+
@@ -0,0 +1,42 @@
1
+ # Violation
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **documentId** | **string** | | [optional] [default to undefined]
9
+ **documentName** | **string** | | [optional] [default to undefined]
10
+ **documentType** | **string** | | [optional] [default to undefined]
11
+ **masked** | **boolean** | | [optional] [default to undefined]
12
+ **ownerId** | **string** | | [optional] [default to undefined]
13
+ **ownerEmail** | **string** | | [optional] [default to undefined]
14
+ **recipientId** | **string** | | [optional] [default to undefined]
15
+ **recipientType** | **string** | | [optional] [default to undefined]
16
+ **recipientEmail** | **string** | | [optional] [default to undefined]
17
+ **inherited** | **boolean** | | [optional] [default to undefined]
18
+ **externalMembers** | **number** | | [optional] [default to undefined]
19
+ **reason** | **string** | | [optional] [default to undefined]
20
+
21
+ ## Example
22
+
23
+ ```typescript
24
+ import { Violation } from '@openfilz-sdk/typescript-ee';
25
+
26
+ const instance: Violation = {
27
+ documentId,
28
+ documentName,
29
+ documentType,
30
+ masked,
31
+ ownerId,
32
+ ownerEmail,
33
+ recipientId,
34
+ recipientType,
35
+ recipientEmail,
36
+ inherited,
37
+ externalMembers,
38
+ reason,
39
+ };
40
+ ```
41
+
42
+ [[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,24 @@
1
+ # ViolationsResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **items** | [**Array&lt;Violation&gt;**](Violation.md) | | [optional] [default to undefined]
9
+ **nextCursor** | **string** | | [optional] [default to undefined]
10
+ **count** | **number** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { ViolationsResponse } from '@openfilz-sdk/typescript-ee';
16
+
17
+ const instance: ViolationsResponse = {
18
+ items,
19
+ nextCursor,
20
+ count,
21
+ };
22
+ ```
23
+
24
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -69,7 +69,7 @@ input ListFolderRequest {
69
69
  name : String
70
70
  "name of the elements to filter (like clause)"
71
71
  nameLike : String
72
- "metadata of the elements to filter (contains clause)"
72
+ "metadata of the elements to filter: exact values (contains clause), or case-insensitive patterns for string values containing % or * (any characters), ? = one character, _ and backslash are literal; a bare % means the key exists. At most 10 criteria."
73
73
  metadata : JSON
74
74
  size : Long
75
75
  createdAtAfter : DateTime
@@ -100,7 +100,7 @@ input FavoriteRequest {
100
100
  name : String
101
101
  "name of the elements to filter (like clause)"
102
102
  nameLike : String
103
- "metadata of the elements to filter (contains clause)"
103
+ "metadata of the elements to filter: exact values (contains clause), or case-insensitive patterns for string values containing % or * (any characters), ? = one character, _ and backslash are literal; a bare % means the key exists. At most 10 criteria."
104
104
  metadata : JSON
105
105
  size : Long
106
106
  createdAtAfter : DateTime
@@ -102,6 +102,8 @@ type OrganizationUserInfo {
102
102
  status: UserStatusEnum!
103
103
  "Whether the email can be changed (false if user has verified email or logged in)"
104
104
  emailEditable: Boolean
105
+ "Why the caller's sharing policy refuses this recipient (a SHARE_ERR_* code), null when allowed"
106
+ sharePolicyBlock: String
105
107
  }
106
108
 
107
109
  """
@@ -0,0 +1,41 @@
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 EffectivePolicy {
18
+ 'userId'?: string;
19
+ 'mode'?: EffectivePolicyModeEnum;
20
+ 'allowedDomains'?: Array<string>;
21
+ 'source'?: EffectivePolicySourceEnum;
22
+ 'sourceIds'?: Array<string>;
23
+ }
24
+
25
+ export const EffectivePolicyModeEnum = {
26
+ Allow: 'ALLOW',
27
+ LicensedOnly: 'LICENSED_ONLY',
28
+ DomainsOnly: 'DOMAINS_ONLY',
29
+ LicensedAndDomains: 'LICENSED_AND_DOMAINS',
30
+ } as const;
31
+
32
+ export type EffectivePolicyModeEnum = typeof EffectivePolicyModeEnum[keyof typeof EffectivePolicyModeEnum];
33
+ export const EffectivePolicySourceEnum = {
34
+ User: 'USER',
35
+ Team: 'TEAM',
36
+ Global: 'GLOBAL',
37
+ } as const;
38
+
39
+ export type EffectivePolicySourceEnum = typeof EffectivePolicySourceEnum[keyof typeof EffectivePolicySourceEnum];
40
+
41
+
@@ -112,6 +112,8 @@ export const EnrichedAuditLogActionEnum = {
112
112
  McpAgentTokenRevoked: 'MCP_AGENT_TOKEN_REVOKED',
113
113
  AdminSettingChanged: 'ADMIN_SETTING_CHANGED',
114
114
  OrganisationAiMaintenanceStarted: 'ORGANISATION_AI_MAINTENANCE_STARTED',
115
+ SharingPolicyChanged: 'SHARING_POLICY_CHANGED',
116
+ ShareBlockedByPolicy: 'SHARE_BLOCKED_BY_POLICY',
115
117
  } as const;
116
118
 
117
119
  export type EnrichedAuditLogActionEnum = typeof EnrichedAuditLogActionEnum[keyof typeof EnrichedAuditLogActionEnum];
@@ -0,0 +1,35 @@
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 GlobalPolicy {
18
+ 'mode'?: GlobalPolicyModeEnum;
19
+ 'allowedDomains'?: Array<string>;
20
+ 'applyToSignatures'?: boolean;
21
+ 'lockedKeys'?: Set<string>;
22
+ 'overrides'?: number;
23
+ 'violations'?: number;
24
+ }
25
+
26
+ export const GlobalPolicyModeEnum = {
27
+ Allow: 'ALLOW',
28
+ LicensedOnly: 'LICENSED_ONLY',
29
+ DomainsOnly: 'DOMAINS_ONLY',
30
+ LicensedAndDomains: 'LICENSED_AND_DOMAINS',
31
+ } as const;
32
+
33
+ export type GlobalPolicyModeEnum = typeof GlobalPolicyModeEnum[keyof typeof GlobalPolicyModeEnum];
34
+
35
+
package/models/index.ts CHANGED
@@ -64,6 +64,7 @@ export * from './document-insight-view';
64
64
  export * from './document-integrity-record';
65
65
  export * from './document-position';
66
66
  export * from './document-version-info';
67
+ export * from './effective-policy';
67
68
  export * from './element-info';
68
69
  export * from './embed-url-response';
69
70
  export * from './embedding-backfill-request';
@@ -87,6 +88,7 @@ export * from './folder-response';
87
88
  export * from './folder-selection-by-kind-request';
88
89
  export * from './folder-selection-by-kind-response';
89
90
  export * from './foreign-item';
91
+ export * from './global-policy';
90
92
  export * from './ingestion-status-dto';
91
93
  export * from './insight-backfill-request';
92
94
  export * from './insight-backfill-status';
@@ -105,15 +107,19 @@ export * from './mcp-agent-token-info';
105
107
  export * from './mcp-agent-token-response';
106
108
  export * from './merge-request';
107
109
  export * from './merge-source';
110
+ export * from './metadata-key-suggestion';
108
111
  export * from './mint-mcp-agent-token-request';
109
112
  export * from './mint-upload-token-request';
110
113
  export * from './move-audit';
111
114
  export * from './move-request';
115
+ export * from './my-policy';
112
116
  export * from './my-storage-quota';
113
117
  export * from './my-tasks-count-dto';
114
118
  export * from './notification-dto';
115
119
  export * from './organize-request';
116
120
  export * from './output-target';
121
+ export * from './override-request';
122
+ export * from './override-view';
117
123
  export * from './owned-document';
118
124
  export * from './owned-documents-filter';
119
125
  export * from './ownership-consent';
@@ -146,6 +152,8 @@ export * from './replace-audit';
146
152
  export * from './response';
147
153
  export * from './restore-version-audit';
148
154
  export * from './restore-version-response';
155
+ export * from './revoke-request';
156
+ export * from './revoke-result';
149
157
  export * from './role-binding';
150
158
  export * from './rotate-request';
151
159
  export * from './save-ai-preferences-request';
@@ -217,6 +225,8 @@ export * from './user-privacy-dto';
217
225
  export * from './user-quota-request';
218
226
  export * from './user-registration-request';
219
227
  export * from './verify-otp-request';
228
+ export * from './violation';
229
+ export * from './violations-response';
220
230
  export * from './vote';
221
231
  export * from './workflow-action';
222
232
  export * from './workflow-action-failure-audit';
package/models/item.ts CHANGED
@@ -16,12 +16,6 @@
16
16
 
17
17
  export interface Item {
18
18
  'documentId'?: string;
19
- 'name'?: string;
20
- 'type'?: string;
21
- 'currentPath'?: string;
22
- 'targetPath'?: string;
23
- 'targetExists'?: boolean;
24
- 'applicable'?: boolean;
25
- 'issue'?: string;
19
+ 'recipientId'?: string;
26
20
  }
27
21
 
@@ -0,0 +1,30 @@
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
+ /**
18
+ * A metadata key found on the documents visible to the caller
19
+ */
20
+ export interface MetadataKeySuggestion {
21
+ /**
22
+ * The metadata key
23
+ */
24
+ 'key'?: string;
25
+ /**
26
+ * Number of visible documents carrying the key
27
+ */
28
+ 'count'?: number;
29
+ }
30
+
@@ -0,0 +1,40 @@
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 MyPolicy {
18
+ 'mode'?: MyPolicyModeEnum;
19
+ 'allowedDomains'?: Array<string>;
20
+ 'source'?: MyPolicySourceEnum;
21
+ 'applyToSignatures'?: boolean;
22
+ }
23
+
24
+ export const MyPolicyModeEnum = {
25
+ Allow: 'ALLOW',
26
+ LicensedOnly: 'LICENSED_ONLY',
27
+ DomainsOnly: 'DOMAINS_ONLY',
28
+ LicensedAndDomains: 'LICENSED_AND_DOMAINS',
29
+ } as const;
30
+
31
+ export type MyPolicyModeEnum = typeof MyPolicyModeEnum[keyof typeof MyPolicyModeEnum];
32
+ export const MyPolicySourceEnum = {
33
+ User: 'USER',
34
+ Team: 'TEAM',
35
+ Global: 'GLOBAL',
36
+ } as const;
37
+
38
+ export type MyPolicySourceEnum = typeof MyPolicySourceEnum[keyof typeof MyPolicySourceEnum];
39
+
40
+
@@ -45,6 +45,7 @@ export const NotificationDTOTypeEnum = {
45
45
  OwnershipRemoved: 'OWNERSHIP_REMOVED',
46
46
  OwnershipConsentAccepted: 'OWNERSHIP_CONSENT_ACCEPTED',
47
47
  OwnershipConsentDeclined: 'OWNERSHIP_CONSENT_DECLINED',
48
+ ShareRevokedByPolicy: 'SHARE_REVOKED_BY_POLICY',
48
49
  } as const;
49
50
 
50
51
  export type NotificationDTOTypeEnum = typeof NotificationDTOTypeEnum[keyof typeof NotificationDTOTypeEnum];
@@ -0,0 +1,30 @@
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 OverrideRequest {
18
+ 'mode'?: OverrideRequestModeEnum;
19
+ }
20
+
21
+ export const OverrideRequestModeEnum = {
22
+ Allow: 'ALLOW',
23
+ LicensedOnly: 'LICENSED_ONLY',
24
+ DomainsOnly: 'DOMAINS_ONLY',
25
+ LicensedAndDomains: 'LICENSED_AND_DOMAINS',
26
+ } as const;
27
+
28
+ export type OverrideRequestModeEnum = typeof OverrideRequestModeEnum[keyof typeof OverrideRequestModeEnum];
29
+
30
+
@@ -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 OverrideView {
18
+ 'subjectId'?: string;
19
+ 'type'?: string;
20
+ 'email'?: string;
21
+ 'name'?: string;
22
+ 'mode'?: OverrideViewModeEnum;
23
+ 'updatedBy'?: string;
24
+ 'updatedAt'?: string;
25
+ }
26
+
27
+ export const OverrideViewModeEnum = {
28
+ Allow: 'ALLOW',
29
+ LicensedOnly: 'LICENSED_ONLY',
30
+ DomainsOnly: 'DOMAINS_ONLY',
31
+ LicensedAndDomains: 'LICENSED_AND_DOMAINS',
32
+ } as const;
33
+
34
+ export type OverrideViewModeEnum = typeof OverrideViewModeEnum[keyof typeof OverrideViewModeEnum];
35
+
36
+
@@ -0,0 +1,24 @@
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 { Item } from './item';
19
+
20
+ export interface RevokeRequest {
21
+ 'items'?: Array<Item>;
22
+ 'all'?: boolean;
23
+ }
24
+
@@ -0,0 +1,24 @@
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 RevokeResult {
18
+ 'status'?: string;
19
+ 'jobId'?: string;
20
+ 'revoked'?: number;
21
+ 'skipped'?: number;
22
+ 'total'?: number;
23
+ }
24
+
@@ -125,6 +125,8 @@ export const SearchByAuditLogRequestActionEnum = {
125
125
  McpAgentTokenRevoked: 'MCP_AGENT_TOKEN_REVOKED',
126
126
  AdminSettingChanged: 'ADMIN_SETTING_CHANGED',
127
127
  OrganisationAiMaintenanceStarted: 'ORGANISATION_AI_MAINTENANCE_STARTED',
128
+ SharingPolicyChanged: 'SHARING_POLICY_CHANGED',
129
+ ShareBlockedByPolicy: 'SHARE_BLOCKED_BY_POLICY',
128
130
  } as const;
129
131
 
130
132
  export type SearchByAuditLogRequestActionEnum = typeof SearchByAuditLogRequestActionEnum[keyof typeof SearchByAuditLogRequestActionEnum];
@@ -35,7 +35,7 @@ export interface SearchByMetadataRequest {
35
35
  */
36
36
  'rootOnly'?: boolean;
37
37
  /**
38
- * Metadata key-value pairs to search for
38
+ * Metadata key-value pairs to search for. A string value containing % or * is a case-insensitive pattern: % or * = any characters, ? = exactly one character, _ and \\ are literal, a bare % = the key is set whatever its value (e.g. {\"project\": \"beta%\"}). Any other value is matched exactly (case-sensitive). At most 10 criteria, keys up to 100 characters, patterns up to 200.
39
39
  */
40
40
  'metadataCriteria'?: { [key: string]: any; };
41
41
  }
@@ -28,6 +28,12 @@ export const ShareResultErrorCodeEnum = {
28
28
  ShareErrNotAlreadyShared: 'SHARE_ERR_NOT_ALREADY_SHARED',
29
29
  ShareErrOwner: 'SHARE_ERR_OWNER',
30
30
  ShareErrNotScanned: 'SHARE_ERR_NOT_SCANNED',
31
+ ShareErrRecipientNotLicensedPolicy: 'SHARE_ERR_RECIPIENT_NOT_LICENSED_POLICY',
32
+ ShareErrRecipientDomainPolicy: 'SHARE_ERR_RECIPIENT_DOMAIN_POLICY',
33
+ ShareErrTeamHasExternalMember: 'SHARE_ERR_TEAM_HAS_EXTERNAL_MEMBER',
34
+ ShareErrRecipientOtherOrg: 'SHARE_ERR_RECIPIENT_OTHER_ORG',
35
+ ShareErrPolicyUnavailable: 'SHARE_ERR_POLICY_UNAVAILABLE',
36
+ ShareErrDestinationHasExternal: 'SHARE_ERR_DESTINATION_HAS_EXTERNAL',
31
37
  } as const;
32
38
 
33
39
  export type ShareResultErrorCodeEnum = typeof ShareResultErrorCodeEnum[keyof typeof ShareResultErrorCodeEnum];
@@ -0,0 +1,50 @@
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 Violation {
18
+ 'documentId'?: string;
19
+ 'documentName'?: string;
20
+ 'documentType'?: string;
21
+ 'masked'?: boolean;
22
+ 'ownerId'?: string;
23
+ 'ownerEmail'?: string;
24
+ 'recipientId'?: string;
25
+ 'recipientType'?: string;
26
+ 'recipientEmail'?: string;
27
+ 'inherited'?: boolean;
28
+ 'externalMembers'?: number;
29
+ 'reason'?: ViolationReasonEnum;
30
+ }
31
+
32
+ export const ViolationReasonEnum = {
33
+ ShareErrUserDeactivated: 'SHARE_ERR_USER_DEACTIVATED',
34
+ ShareErrUserNotLicensed: 'SHARE_ERR_USER_NOT_LICENSED',
35
+ ShareErrParentAndChild: 'SHARE_ERR_PARENT_AND_CHILD',
36
+ ShareErrAlreadyExists: 'SHARE_ERR_ALREADY_EXISTS',
37
+ ShareErrNotAlreadyShared: 'SHARE_ERR_NOT_ALREADY_SHARED',
38
+ ShareErrOwner: 'SHARE_ERR_OWNER',
39
+ ShareErrNotScanned: 'SHARE_ERR_NOT_SCANNED',
40
+ ShareErrRecipientNotLicensedPolicy: 'SHARE_ERR_RECIPIENT_NOT_LICENSED_POLICY',
41
+ ShareErrRecipientDomainPolicy: 'SHARE_ERR_RECIPIENT_DOMAIN_POLICY',
42
+ ShareErrTeamHasExternalMember: 'SHARE_ERR_TEAM_HAS_EXTERNAL_MEMBER',
43
+ ShareErrRecipientOtherOrg: 'SHARE_ERR_RECIPIENT_OTHER_ORG',
44
+ ShareErrPolicyUnavailable: 'SHARE_ERR_POLICY_UNAVAILABLE',
45
+ ShareErrDestinationHasExternal: 'SHARE_ERR_DESTINATION_HAS_EXTERNAL',
46
+ } as const;
47
+
48
+ export type ViolationReasonEnum = typeof ViolationReasonEnum[keyof typeof ViolationReasonEnum];
49
+
50
+
@@ -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
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { Violation } from './violation';
19
+
20
+ export interface ViolationsResponse {
21
+ 'items'?: Array<Violation>;
22
+ 'nextCursor'?: string;
23
+ 'count'?: number;
24
+ }
25
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfilz-sdk/typescript-ee",
3
- "version": "1.13.4",
3
+ "version": "1.14.1",
4
4
  "description": "OpenAPI client for @openfilz-sdk/typescript-ee",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {