@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,70 @@
1
+ /**
2
+ * openfilz-api
3
+ * API for Document Management System
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from '../configuration';
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import { type RequestArgs, BaseAPI } from '../base';
15
+ /**
16
+ * TeamAdministrationApi - axios parameter creator
17
+ */
18
+ export declare const TeamAdministrationApiAxiosParamCreator: (configuration?: Configuration) => {
19
+ /**
20
+ * 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.
21
+ * @summary Add members to a team
22
+ * @param {string} teamId
23
+ * @param {Array<string>} requestBody
24
+ * @param {*} [options] Override http request option.
25
+ * @throws {RequiredError}
26
+ */
27
+ adminAddTeamMembers: (teamId: string, requestBody: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
28
+ };
29
+ /**
30
+ * TeamAdministrationApi - functional programming interface
31
+ */
32
+ export declare const TeamAdministrationApiFp: (configuration?: Configuration) => {
33
+ /**
34
+ * 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.
35
+ * @summary Add members to a team
36
+ * @param {string} teamId
37
+ * @param {Array<string>} requestBody
38
+ * @param {*} [options] Override http request option.
39
+ * @throws {RequiredError}
40
+ */
41
+ adminAddTeamMembers(teamId: string, requestBody: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
42
+ };
43
+ /**
44
+ * TeamAdministrationApi - factory interface
45
+ */
46
+ export declare const TeamAdministrationApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
47
+ /**
48
+ * 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.
49
+ * @summary Add members to a team
50
+ * @param {string} teamId
51
+ * @param {Array<string>} requestBody
52
+ * @param {*} [options] Override http request option.
53
+ * @throws {RequiredError}
54
+ */
55
+ adminAddTeamMembers(teamId: string, requestBody: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<void>;
56
+ };
57
+ /**
58
+ * TeamAdministrationApi - object-oriented interface
59
+ */
60
+ export declare class TeamAdministrationApi extends BaseAPI {
61
+ /**
62
+ * 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.
63
+ * @summary Add members to a team
64
+ * @param {string} teamId
65
+ * @param {Array<string>} requestBody
66
+ * @param {*} [options] Override http request option.
67
+ * @throws {RequiredError}
68
+ */
69
+ adminAddTeamMembers(teamId: string, requestBody: Array<string>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
70
+ }
@@ -0,0 +1,132 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * openfilz-api
5
+ * API for Document Management System
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
15
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
16
+ return new (P || (P = Promise))(function (resolve, reject) {
17
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
18
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
19
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
20
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
21
+ });
22
+ };
23
+ import globalAxios from 'axios';
24
+ // Some imports not used depending on template conditions
25
+ // @ts-ignore
26
+ import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
27
+ // @ts-ignore
28
+ import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
29
+ /**
30
+ * TeamAdministrationApi - axios parameter creator
31
+ */
32
+ export const TeamAdministrationApiAxiosParamCreator = function (configuration) {
33
+ return {
34
+ /**
35
+ * 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.
36
+ * @summary Add members to a team
37
+ * @param {string} teamId
38
+ * @param {Array<string>} requestBody
39
+ * @param {*} [options] Override http request option.
40
+ * @throws {RequiredError}
41
+ */
42
+ adminAddTeamMembers: (teamId_1, requestBody_1, ...args_1) => __awaiter(this, [teamId_1, requestBody_1, ...args_1], void 0, function* (teamId, requestBody, options = {}) {
43
+ // verify required parameter 'teamId' is not null or undefined
44
+ assertParamExists('adminAddTeamMembers', 'teamId', teamId);
45
+ // verify required parameter 'requestBody' is not null or undefined
46
+ assertParamExists('adminAddTeamMembers', 'requestBody', requestBody);
47
+ const localVarPath = `/api/v1/admin/teams/{teamId}/members`
48
+ .replace('{teamId}', encodeURIComponent(String(teamId)));
49
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
50
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
51
+ let baseOptions;
52
+ if (configuration) {
53
+ baseOptions = configuration.baseOptions;
54
+ }
55
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
56
+ const localVarHeaderParameter = {};
57
+ const localVarQueryParameter = {};
58
+ // authentication keycloak_auth required
59
+ // http bearer authentication required
60
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
61
+ localVarHeaderParameter['Content-Type'] = 'application/json';
62
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
63
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
64
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
65
+ localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration);
66
+ return {
67
+ url: toPathString(localVarUrlObj),
68
+ options: localVarRequestOptions,
69
+ };
70
+ }),
71
+ };
72
+ };
73
+ /**
74
+ * TeamAdministrationApi - functional programming interface
75
+ */
76
+ export const TeamAdministrationApiFp = function (configuration) {
77
+ const localVarAxiosParamCreator = TeamAdministrationApiAxiosParamCreator(configuration);
78
+ return {
79
+ /**
80
+ * 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.
81
+ * @summary Add members to a team
82
+ * @param {string} teamId
83
+ * @param {Array<string>} requestBody
84
+ * @param {*} [options] Override http request option.
85
+ * @throws {RequiredError}
86
+ */
87
+ adminAddTeamMembers(teamId, requestBody, options) {
88
+ return __awaiter(this, void 0, void 0, function* () {
89
+ var _a, _b, _c;
90
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAddTeamMembers(teamId, requestBody, options);
91
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
92
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamAdministrationApi.adminAddTeamMembers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
93
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
94
+ });
95
+ },
96
+ };
97
+ };
98
+ /**
99
+ * TeamAdministrationApi - factory interface
100
+ */
101
+ export const TeamAdministrationApiFactory = function (configuration, basePath, axios) {
102
+ const localVarFp = TeamAdministrationApiFp(configuration);
103
+ return {
104
+ /**
105
+ * 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.
106
+ * @summary Add members to a team
107
+ * @param {string} teamId
108
+ * @param {Array<string>} requestBody
109
+ * @param {*} [options] Override http request option.
110
+ * @throws {RequiredError}
111
+ */
112
+ adminAddTeamMembers(teamId, requestBody, options) {
113
+ return localVarFp.adminAddTeamMembers(teamId, requestBody, options).then((request) => request(axios, basePath));
114
+ },
115
+ };
116
+ };
117
+ /**
118
+ * TeamAdministrationApi - object-oriented interface
119
+ */
120
+ export class TeamAdministrationApi extends BaseAPI {
121
+ /**
122
+ * 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.
123
+ * @summary Add members to a team
124
+ * @param {string} teamId
125
+ * @param {Array<string>} requestBody
126
+ * @param {*} [options] Override http request option.
127
+ * @throws {RequiredError}
128
+ */
129
+ adminAddTeamMembers(teamId, requestBody, options) {
130
+ return TeamAdministrationApiFp(this.configuration).adminAddTeamMembers(teamId, requestBody, options).then((request) => request(this.axios, this.basePath));
131
+ }
132
+ }
package/dist/esm/api.d.ts CHANGED
@@ -44,6 +44,7 @@ export * from './api/file-controller-api';
44
44
  export * from './api/folder-controller-api';
45
45
  export * from './api/mcp-discovery-controller-api';
46
46
  export * from './api/mcp-token-admin-controller-api';
47
+ export * from './api/metadata-key-controller-api';
47
48
  export * from './api/notifications-api';
48
49
  export * from './api/organisation-settings-api';
49
50
  export * from './api/ownership-api';
@@ -55,8 +56,10 @@ export * from './api/scanner-proxy-api';
55
56
  export * from './api/search-administration-api';
56
57
  export * from './api/settings-api';
57
58
  export * from './api/sharing-api';
59
+ export * from './api/sharing-policy-api';
58
60
  export * from './api/smart-filing-api';
59
61
  export * from './api/storage-encryption-administration-api';
62
+ export * from './api/team-administration-api';
60
63
  export * from './api/tus-controller-api';
61
64
  export * from './api/upload-token-controller-api';
62
65
  export * from './api/user-privacy-api';
package/dist/esm/api.js CHANGED
@@ -46,6 +46,7 @@ export * from './api/file-controller-api';
46
46
  export * from './api/folder-controller-api';
47
47
  export * from './api/mcp-discovery-controller-api';
48
48
  export * from './api/mcp-token-admin-controller-api';
49
+ export * from './api/metadata-key-controller-api';
49
50
  export * from './api/notifications-api';
50
51
  export * from './api/organisation-settings-api';
51
52
  export * from './api/ownership-api';
@@ -57,8 +58,10 @@ export * from './api/scanner-proxy-api';
57
58
  export * from './api/search-administration-api';
58
59
  export * from './api/settings-api';
59
60
  export * from './api/sharing-api';
61
+ export * from './api/sharing-policy-api';
60
62
  export * from './api/smart-filing-api';
61
63
  export * from './api/storage-encryption-administration-api';
64
+ export * from './api/team-administration-api';
62
65
  export * from './api/tus-controller-api';
63
66
  export * from './api/upload-token-controller-api';
64
67
  export * from './api/user-privacy-api';
@@ -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,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
+ export const EffectivePolicyModeEnum = {
15
+ Allow: 'ALLOW',
16
+ LicensedOnly: 'LICENSED_ONLY',
17
+ DomainsOnly: 'DOMAINS_ONLY',
18
+ LicensedAndDomains: 'LICENSED_AND_DOMAINS',
19
+ };
20
+ export const EffectivePolicySourceEnum = {
21
+ User: 'USER',
22
+ Team: 'TEAM',
23
+ Global: 'GLOBAL',
24
+ };
@@ -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: {
@@ -90,6 +90,8 @@ export const EnrichedAuditLogActionEnum = {
90
90
  McpAgentTokenRevoked: 'MCP_AGENT_TOKEN_REVOKED',
91
91
  AdminSettingChanged: 'ADMIN_SETTING_CHANGED',
92
92
  OrganisationAiMaintenanceStarted: 'ORGANISATION_AI_MAINTENANCE_STARTED',
93
+ SharingPolicyChanged: 'SHARING_POLICY_CHANGED',
94
+ ShareBlockedByPolicy: 'SHARE_BLOCKED_BY_POLICY',
93
95
  };
94
96
  export const EnrichedAuditLogResourceTypeEnum = {
95
97
  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,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 GlobalPolicyModeEnum = {
15
+ Allow: 'ALLOW',
16
+ LicensedOnly: 'LICENSED_ONLY',
17
+ DomainsOnly: 'DOMAINS_ONLY',
18
+ LicensedAndDomains: 'LICENSED_AND_DOMAINS',
19
+ };
@@ -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';
@@ -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';
@@ -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,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,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,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
+ export const MyPolicyModeEnum = {
15
+ Allow: 'ALLOW',
16
+ LicensedOnly: 'LICENSED_ONLY',
17
+ DomainsOnly: 'DOMAINS_ONLY',
18
+ LicensedAndDomains: 'LICENSED_AND_DOMAINS',
19
+ };
20
+ export const MyPolicySourceEnum = {
21
+ User: 'USER',
22
+ Team: 'TEAM',
23
+ Global: 'GLOBAL',
24
+ };
@@ -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];
@@ -30,4 +30,5 @@ export const NotificationDTOTypeEnum = {
30
30
  OwnershipRemoved: 'OWNERSHIP_REMOVED',
31
31
  OwnershipConsentAccepted: 'OWNERSHIP_CONSENT_ACCEPTED',
32
32
  OwnershipConsentDeclined: 'OWNERSHIP_CONSENT_DECLINED',
33
+ ShareRevokedByPolicy: 'SHARE_REVOKED_BY_POLICY',
33
34
  };
@@ -0,0 +1,21 @@
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 OverrideRequest {
13
+ 'mode'?: OverrideRequestModeEnum;
14
+ }
15
+ export declare const OverrideRequestModeEnum: {
16
+ readonly Allow: "ALLOW";
17
+ readonly LicensedOnly: "LICENSED_ONLY";
18
+ readonly DomainsOnly: "DOMAINS_ONLY";
19
+ readonly LicensedAndDomains: "LICENSED_AND_DOMAINS";
20
+ };
21
+ export type OverrideRequestModeEnum = typeof OverrideRequestModeEnum[keyof typeof OverrideRequestModeEnum];
@@ -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 OverrideRequestModeEnum = {
15
+ Allow: 'ALLOW',
16
+ LicensedOnly: 'LICENSED_ONLY',
17
+ DomainsOnly: 'DOMAINS_ONLY',
18
+ LicensedAndDomains: 'LICENSED_AND_DOMAINS',
19
+ };