@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,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 OverrideView {
13
+ 'subjectId'?: string;
14
+ 'type'?: string;
15
+ 'email'?: string;
16
+ 'name'?: string;
17
+ 'mode'?: OverrideViewModeEnum;
18
+ 'updatedBy'?: string;
19
+ 'updatedAt'?: string;
20
+ }
21
+ export declare const OverrideViewModeEnum: {
22
+ readonly Allow: "ALLOW";
23
+ readonly LicensedOnly: "LICENSED_ONLY";
24
+ readonly DomainsOnly: "DOMAINS_ONLY";
25
+ readonly LicensedAndDomains: "LICENSED_AND_DOMAINS";
26
+ };
27
+ export type OverrideViewModeEnum = typeof OverrideViewModeEnum[keyof typeof OverrideViewModeEnum];
@@ -0,0 +1,19 @@
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 OverrideViewModeEnum = {
15
+ Allow: 'ALLOW',
16
+ LicensedOnly: 'LICENSED_ONLY',
17
+ DomainsOnly: 'DOMAINS_ONLY',
18
+ LicensedAndDomains: 'LICENSED_AND_DOMAINS',
19
+ };
@@ -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
+ import type { Item } from './item';
13
+ export interface RevokeRequest {
14
+ 'items'?: Array<Item>;
15
+ 'all'?: boolean;
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 {};
@@ -0,0 +1,18 @@
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 RevokeResult {
13
+ 'status'?: string;
14
+ 'jobId'?: string;
15
+ 'revoked'?: number;
16
+ 'skipped'?: number;
17
+ 'total'?: number;
18
+ }
@@ -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 {};
@@ -120,5 +120,7 @@ export declare const SearchByAuditLogRequestActionEnum: {
120
120
  readonly McpAgentTokenRevoked: "MCP_AGENT_TOKEN_REVOKED";
121
121
  readonly AdminSettingChanged: "ADMIN_SETTING_CHANGED";
122
122
  readonly OrganisationAiMaintenanceStarted: "ORGANISATION_AI_MAINTENANCE_STARTED";
123
+ readonly SharingPolicyChanged: "SHARING_POLICY_CHANGED";
124
+ readonly ShareBlockedByPolicy: "SHARE_BLOCKED_BY_POLICY";
123
125
  };
124
126
  export type SearchByAuditLogRequestActionEnum = typeof SearchByAuditLogRequestActionEnum[keyof typeof SearchByAuditLogRequestActionEnum];
@@ -94,4 +94,6 @@ export const SearchByAuditLogRequestActionEnum = {
94
94
  McpAgentTokenRevoked: 'MCP_AGENT_TOKEN_REVOKED',
95
95
  AdminSettingChanged: 'ADMIN_SETTING_CHANGED',
96
96
  OrganisationAiMaintenanceStarted: 'ORGANISATION_AI_MAINTENANCE_STARTED',
97
+ SharingPolicyChanged: 'SHARING_POLICY_CHANGED',
98
+ ShareBlockedByPolicy: 'SHARE_BLOCKED_BY_POLICY',
97
99
  };
@@ -30,7 +30,7 @@ export interface SearchByMetadataRequest {
30
30
  */
31
31
  'rootOnly'?: boolean;
32
32
  /**
33
- * Metadata key-value pairs to search for
33
+ * 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.
34
34
  */
35
35
  'metadataCriteria'?: {
36
36
  [key: string]: any;
@@ -22,5 +22,11 @@ export declare const ShareResultErrorCodeEnum: {
22
22
  readonly ShareErrNotAlreadyShared: "SHARE_ERR_NOT_ALREADY_SHARED";
23
23
  readonly ShareErrOwner: "SHARE_ERR_OWNER";
24
24
  readonly ShareErrNotScanned: "SHARE_ERR_NOT_SCANNED";
25
+ readonly ShareErrRecipientNotLicensedPolicy: "SHARE_ERR_RECIPIENT_NOT_LICENSED_POLICY";
26
+ readonly ShareErrRecipientDomainPolicy: "SHARE_ERR_RECIPIENT_DOMAIN_POLICY";
27
+ readonly ShareErrTeamHasExternalMember: "SHARE_ERR_TEAM_HAS_EXTERNAL_MEMBER";
28
+ readonly ShareErrRecipientOtherOrg: "SHARE_ERR_RECIPIENT_OTHER_ORG";
29
+ readonly ShareErrPolicyUnavailable: "SHARE_ERR_POLICY_UNAVAILABLE";
30
+ readonly ShareErrDestinationHasExternal: "SHARE_ERR_DESTINATION_HAS_EXTERNAL";
25
31
  };
26
32
  export type ShareResultErrorCodeEnum = typeof ShareResultErrorCodeEnum[keyof typeof ShareResultErrorCodeEnum];
@@ -19,4 +19,10 @@ export const ShareResultErrorCodeEnum = {
19
19
  ShareErrNotAlreadyShared: 'SHARE_ERR_NOT_ALREADY_SHARED',
20
20
  ShareErrOwner: 'SHARE_ERR_OWNER',
21
21
  ShareErrNotScanned: 'SHARE_ERR_NOT_SCANNED',
22
+ ShareErrRecipientNotLicensedPolicy: 'SHARE_ERR_RECIPIENT_NOT_LICENSED_POLICY',
23
+ ShareErrRecipientDomainPolicy: 'SHARE_ERR_RECIPIENT_DOMAIN_POLICY',
24
+ ShareErrTeamHasExternalMember: 'SHARE_ERR_TEAM_HAS_EXTERNAL_MEMBER',
25
+ ShareErrRecipientOtherOrg: 'SHARE_ERR_RECIPIENT_OTHER_ORG',
26
+ ShareErrPolicyUnavailable: 'SHARE_ERR_POLICY_UNAVAILABLE',
27
+ ShareErrDestinationHasExternal: 'SHARE_ERR_DESTINATION_HAS_EXTERNAL',
22
28
  };
@@ -0,0 +1,41 @@
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 Violation {
13
+ 'documentId'?: string;
14
+ 'documentName'?: string;
15
+ 'documentType'?: string;
16
+ 'masked'?: boolean;
17
+ 'ownerId'?: string;
18
+ 'ownerEmail'?: string;
19
+ 'recipientId'?: string;
20
+ 'recipientType'?: string;
21
+ 'recipientEmail'?: string;
22
+ 'inherited'?: boolean;
23
+ 'externalMembers'?: number;
24
+ 'reason'?: ViolationReasonEnum;
25
+ }
26
+ export declare const ViolationReasonEnum: {
27
+ readonly ShareErrUserDeactivated: "SHARE_ERR_USER_DEACTIVATED";
28
+ readonly ShareErrUserNotLicensed: "SHARE_ERR_USER_NOT_LICENSED";
29
+ readonly ShareErrParentAndChild: "SHARE_ERR_PARENT_AND_CHILD";
30
+ readonly ShareErrAlreadyExists: "SHARE_ERR_ALREADY_EXISTS";
31
+ readonly ShareErrNotAlreadyShared: "SHARE_ERR_NOT_ALREADY_SHARED";
32
+ readonly ShareErrOwner: "SHARE_ERR_OWNER";
33
+ readonly ShareErrNotScanned: "SHARE_ERR_NOT_SCANNED";
34
+ readonly ShareErrRecipientNotLicensedPolicy: "SHARE_ERR_RECIPIENT_NOT_LICENSED_POLICY";
35
+ readonly ShareErrRecipientDomainPolicy: "SHARE_ERR_RECIPIENT_DOMAIN_POLICY";
36
+ readonly ShareErrTeamHasExternalMember: "SHARE_ERR_TEAM_HAS_EXTERNAL_MEMBER";
37
+ readonly ShareErrRecipientOtherOrg: "SHARE_ERR_RECIPIENT_OTHER_ORG";
38
+ readonly ShareErrPolicyUnavailable: "SHARE_ERR_POLICY_UNAVAILABLE";
39
+ readonly ShareErrDestinationHasExternal: "SHARE_ERR_DESTINATION_HAS_EXTERNAL";
40
+ };
41
+ export type ViolationReasonEnum = typeof ViolationReasonEnum[keyof typeof ViolationReasonEnum];
@@ -0,0 +1,28 @@
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 ViolationReasonEnum = {
15
+ ShareErrUserDeactivated: 'SHARE_ERR_USER_DEACTIVATED',
16
+ ShareErrUserNotLicensed: 'SHARE_ERR_USER_NOT_LICENSED',
17
+ ShareErrParentAndChild: 'SHARE_ERR_PARENT_AND_CHILD',
18
+ ShareErrAlreadyExists: 'SHARE_ERR_ALREADY_EXISTS',
19
+ ShareErrNotAlreadyShared: 'SHARE_ERR_NOT_ALREADY_SHARED',
20
+ ShareErrOwner: 'SHARE_ERR_OWNER',
21
+ ShareErrNotScanned: 'SHARE_ERR_NOT_SCANNED',
22
+ ShareErrRecipientNotLicensedPolicy: 'SHARE_ERR_RECIPIENT_NOT_LICENSED_POLICY',
23
+ ShareErrRecipientDomainPolicy: 'SHARE_ERR_RECIPIENT_DOMAIN_POLICY',
24
+ ShareErrTeamHasExternalMember: 'SHARE_ERR_TEAM_HAS_EXTERNAL_MEMBER',
25
+ ShareErrRecipientOtherOrg: 'SHARE_ERR_RECIPIENT_OTHER_ORG',
26
+ ShareErrPolicyUnavailable: 'SHARE_ERR_POLICY_UNAVAILABLE',
27
+ ShareErrDestinationHasExternal: 'SHARE_ERR_DESTINATION_HAS_EXTERNAL',
28
+ };
@@ -0,0 +1,17 @@
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 { Violation } from './violation';
13
+ export interface ViolationsResponse {
14
+ 'items'?: Array<Violation>;
15
+ 'nextCursor'?: string;
16
+ 'count'?: number;
17
+ }
@@ -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,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 EffectivePolicy {
13
+ 'userId'?: string;
14
+ 'mode'?: EffectivePolicyModeEnum;
15
+ 'allowedDomains'?: Array<string>;
16
+ 'source'?: EffectivePolicySourceEnum;
17
+ 'sourceIds'?: Array<string>;
18
+ }
19
+ export declare const EffectivePolicyModeEnum: {
20
+ readonly Allow: "ALLOW";
21
+ readonly LicensedOnly: "LICENSED_ONLY";
22
+ readonly DomainsOnly: "DOMAINS_ONLY";
23
+ readonly LicensedAndDomains: "LICENSED_AND_DOMAINS";
24
+ };
25
+ export type EffectivePolicyModeEnum = typeof EffectivePolicyModeEnum[keyof typeof EffectivePolicyModeEnum];
26
+ export declare const EffectivePolicySourceEnum: {
27
+ readonly User: "USER";
28
+ readonly Team: "TEAM";
29
+ readonly Global: "GLOBAL";
30
+ };
31
+ export type EffectivePolicySourceEnum = typeof EffectivePolicySourceEnum[keyof typeof EffectivePolicySourceEnum];
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * openfilz-api
6
+ * API for Document Management System
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.EffectivePolicySourceEnum = exports.EffectivePolicyModeEnum = void 0;
17
+ exports.EffectivePolicyModeEnum = {
18
+ Allow: 'ALLOW',
19
+ LicensedOnly: 'LICENSED_ONLY',
20
+ DomainsOnly: 'DOMAINS_ONLY',
21
+ LicensedAndDomains: 'LICENSED_AND_DOMAINS',
22
+ };
23
+ exports.EffectivePolicySourceEnum = {
24
+ User: 'USER',
25
+ Team: 'TEAM',
26
+ Global: 'GLOBAL',
27
+ };
@@ -104,6 +104,8 @@ export declare const EnrichedAuditLogActionEnum: {
104
104
  readonly McpAgentTokenRevoked: "MCP_AGENT_TOKEN_REVOKED";
105
105
  readonly AdminSettingChanged: "ADMIN_SETTING_CHANGED";
106
106
  readonly OrganisationAiMaintenanceStarted: "ORGANISATION_AI_MAINTENANCE_STARTED";
107
+ readonly SharingPolicyChanged: "SHARING_POLICY_CHANGED";
108
+ readonly ShareBlockedByPolicy: "SHARE_BLOCKED_BY_POLICY";
107
109
  };
108
110
  export type EnrichedAuditLogActionEnum = typeof EnrichedAuditLogActionEnum[keyof typeof EnrichedAuditLogActionEnum];
109
111
  export declare const EnrichedAuditLogResourceTypeEnum: {
@@ -93,6 +93,8 @@ exports.EnrichedAuditLogActionEnum = {
93
93
  McpAgentTokenRevoked: 'MCP_AGENT_TOKEN_REVOKED',
94
94
  AdminSettingChanged: 'ADMIN_SETTING_CHANGED',
95
95
  OrganisationAiMaintenanceStarted: 'ORGANISATION_AI_MAINTENANCE_STARTED',
96
+ SharingPolicyChanged: 'SHARING_POLICY_CHANGED',
97
+ ShareBlockedByPolicy: 'SHARE_BLOCKED_BY_POLICY',
96
98
  };
97
99
  exports.EnrichedAuditLogResourceTypeEnum = {
98
100
  File: 'FILE',
@@ -0,0 +1,26 @@
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 GlobalPolicy {
13
+ 'mode'?: GlobalPolicyModeEnum;
14
+ 'allowedDomains'?: Array<string>;
15
+ 'applyToSignatures'?: boolean;
16
+ 'lockedKeys'?: Set<string>;
17
+ 'overrides'?: number;
18
+ 'violations'?: number;
19
+ }
20
+ export declare const GlobalPolicyModeEnum: {
21
+ readonly Allow: "ALLOW";
22
+ readonly LicensedOnly: "LICENSED_ONLY";
23
+ readonly DomainsOnly: "DOMAINS_ONLY";
24
+ readonly LicensedAndDomains: "LICENSED_AND_DOMAINS";
25
+ };
26
+ export type GlobalPolicyModeEnum = typeof GlobalPolicyModeEnum[keyof typeof GlobalPolicyModeEnum];
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * openfilz-api
6
+ * API for Document Management System
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.GlobalPolicyModeEnum = void 0;
17
+ exports.GlobalPolicyModeEnum = {
18
+ Allow: 'ALLOW',
19
+ LicensedOnly: 'LICENSED_ONLY',
20
+ DomainsOnly: 'DOMAINS_ONLY',
21
+ LicensedAndDomains: 'LICENSED_AND_DOMAINS',
22
+ };
@@ -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';
@@ -80,6 +80,7 @@ __exportStar(require("./document-insight-view"), exports);
80
80
  __exportStar(require("./document-integrity-record"), exports);
81
81
  __exportStar(require("./document-position"), exports);
82
82
  __exportStar(require("./document-version-info"), exports);
83
+ __exportStar(require("./effective-policy"), exports);
83
84
  __exportStar(require("./element-info"), exports);
84
85
  __exportStar(require("./embed-url-response"), exports);
85
86
  __exportStar(require("./embedding-backfill-request"), exports);
@@ -103,6 +104,7 @@ __exportStar(require("./folder-response"), exports);
103
104
  __exportStar(require("./folder-selection-by-kind-request"), exports);
104
105
  __exportStar(require("./folder-selection-by-kind-response"), exports);
105
106
  __exportStar(require("./foreign-item"), exports);
107
+ __exportStar(require("./global-policy"), exports);
106
108
  __exportStar(require("./ingestion-status-dto"), exports);
107
109
  __exportStar(require("./insight-backfill-request"), exports);
108
110
  __exportStar(require("./insight-backfill-status"), exports);
@@ -121,15 +123,19 @@ __exportStar(require("./mcp-agent-token-info"), exports);
121
123
  __exportStar(require("./mcp-agent-token-response"), exports);
122
124
  __exportStar(require("./merge-request"), exports);
123
125
  __exportStar(require("./merge-source"), exports);
126
+ __exportStar(require("./metadata-key-suggestion"), exports);
124
127
  __exportStar(require("./mint-mcp-agent-token-request"), exports);
125
128
  __exportStar(require("./mint-upload-token-request"), exports);
126
129
  __exportStar(require("./move-audit"), exports);
127
130
  __exportStar(require("./move-request"), exports);
131
+ __exportStar(require("./my-policy"), exports);
128
132
  __exportStar(require("./my-storage-quota"), exports);
129
133
  __exportStar(require("./my-tasks-count-dto"), exports);
130
134
  __exportStar(require("./notification-dto"), exports);
131
135
  __exportStar(require("./organize-request"), exports);
132
136
  __exportStar(require("./output-target"), exports);
137
+ __exportStar(require("./override-request"), exports);
138
+ __exportStar(require("./override-view"), exports);
133
139
  __exportStar(require("./owned-document"), exports);
134
140
  __exportStar(require("./owned-documents-filter"), exports);
135
141
  __exportStar(require("./ownership-consent"), exports);
@@ -162,6 +168,8 @@ __exportStar(require("./replace-audit"), exports);
162
168
  __exportStar(require("./response"), exports);
163
169
  __exportStar(require("./restore-version-audit"), exports);
164
170
  __exportStar(require("./restore-version-response"), exports);
171
+ __exportStar(require("./revoke-request"), exports);
172
+ __exportStar(require("./revoke-result"), exports);
165
173
  __exportStar(require("./role-binding"), exports);
166
174
  __exportStar(require("./rotate-request"), exports);
167
175
  __exportStar(require("./save-ai-preferences-request"), exports);
@@ -233,6 +241,8 @@ __exportStar(require("./user-privacy-dto"), exports);
233
241
  __exportStar(require("./user-quota-request"), exports);
234
242
  __exportStar(require("./user-registration-request"), exports);
235
243
  __exportStar(require("./verify-otp-request"), exports);
244
+ __exportStar(require("./violation"), exports);
245
+ __exportStar(require("./violations-response"), exports);
236
246
  __exportStar(require("./vote"), exports);
237
247
  __exportStar(require("./workflow-action"), exports);
238
248
  __exportStar(require("./workflow-action-failure-audit"), exports);
@@ -11,11 +11,5 @@
11
11
  */
12
12
  export interface Item {
13
13
  'documentId'?: string;
14
- 'name'?: string;
15
- 'type'?: string;
16
- 'currentPath'?: string;
17
- 'targetPath'?: string;
18
- 'targetExists'?: boolean;
19
- 'applicable'?: boolean;
20
- 'issue'?: string;
14
+ 'recipientId'?: string;
21
15
  }
@@ -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
+ /**
13
+ * A metadata key found on the documents visible to the caller
14
+ */
15
+ export interface MetadataKeySuggestion {
16
+ /**
17
+ * The metadata key
18
+ */
19
+ 'key'?: string;
20
+ /**
21
+ * Number of visible documents carrying the key
22
+ */
23
+ 'count'?: number;
24
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * openfilz-api
6
+ * API for Document Management System
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,30 @@
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 MyPolicy {
13
+ 'mode'?: MyPolicyModeEnum;
14
+ 'allowedDomains'?: Array<string>;
15
+ 'source'?: MyPolicySourceEnum;
16
+ 'applyToSignatures'?: boolean;
17
+ }
18
+ export declare const MyPolicyModeEnum: {
19
+ readonly Allow: "ALLOW";
20
+ readonly LicensedOnly: "LICENSED_ONLY";
21
+ readonly DomainsOnly: "DOMAINS_ONLY";
22
+ readonly LicensedAndDomains: "LICENSED_AND_DOMAINS";
23
+ };
24
+ export type MyPolicyModeEnum = typeof MyPolicyModeEnum[keyof typeof MyPolicyModeEnum];
25
+ export declare const MyPolicySourceEnum: {
26
+ readonly User: "USER";
27
+ readonly Team: "TEAM";
28
+ readonly Global: "GLOBAL";
29
+ };
30
+ export type MyPolicySourceEnum = typeof MyPolicySourceEnum[keyof typeof MyPolicySourceEnum];
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * openfilz-api
6
+ * API for Document Management System
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.MyPolicySourceEnum = exports.MyPolicyModeEnum = void 0;
17
+ exports.MyPolicyModeEnum = {
18
+ Allow: 'ALLOW',
19
+ LicensedOnly: 'LICENSED_ONLY',
20
+ DomainsOnly: 'DOMAINS_ONLY',
21
+ LicensedAndDomains: 'LICENSED_AND_DOMAINS',
22
+ };
23
+ exports.MyPolicySourceEnum = {
24
+ User: 'USER',
25
+ Team: 'TEAM',
26
+ Global: 'GLOBAL',
27
+ };
@@ -39,5 +39,6 @@ export declare const NotificationDTOTypeEnum: {
39
39
  readonly OwnershipRemoved: "OWNERSHIP_REMOVED";
40
40
  readonly OwnershipConsentAccepted: "OWNERSHIP_CONSENT_ACCEPTED";
41
41
  readonly OwnershipConsentDeclined: "OWNERSHIP_CONSENT_DECLINED";
42
+ readonly ShareRevokedByPolicy: "SHARE_REVOKED_BY_POLICY";
42
43
  };
43
44
  export type NotificationDTOTypeEnum = typeof NotificationDTOTypeEnum[keyof typeof NotificationDTOTypeEnum];
@@ -33,4 +33,5 @@ exports.NotificationDTOTypeEnum = {
33
33
  OwnershipRemoved: 'OWNERSHIP_REMOVED',
34
34
  OwnershipConsentAccepted: 'OWNERSHIP_CONSENT_ACCEPTED',
35
35
  OwnershipConsentDeclined: 'OWNERSHIP_CONSENT_DECLINED',
36
+ ShareRevokedByPolicy: 'SHARE_REVOKED_BY_POLICY',
36
37
  };