@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.
- package/.openapi-generator/FILES +26 -0
- package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
- package/README.md +33 -2
- package/api/metadata-key-controller-api.ts +121 -0
- package/api/sharing-policy-api.ts +1471 -0
- package/api/team-administration-api.ts +133 -0
- package/api.ts +3 -0
- package/dist/api/metadata-key-controller-api.d.ts +63 -0
- package/dist/api/metadata-key-controller-api.js +125 -0
- package/dist/api/sharing-policy-api.d.ts +662 -0
- package/dist/api/sharing-policy-api.js +1399 -0
- package/dist/api/team-administration-api.d.ts +70 -0
- package/dist/api/team-administration-api.js +139 -0
- package/dist/api.d.ts +3 -0
- package/dist/api.js +3 -0
- package/dist/esm/api/metadata-key-controller-api.d.ts +63 -0
- package/dist/esm/api/metadata-key-controller-api.js +118 -0
- package/dist/esm/api/sharing-policy-api.d.ts +662 -0
- package/dist/esm/api/sharing-policy-api.js +1392 -0
- package/dist/esm/api/team-administration-api.d.ts +70 -0
- package/dist/esm/api/team-administration-api.js +132 -0
- package/dist/esm/api.d.ts +3 -0
- package/dist/esm/api.js +3 -0
- package/dist/esm/models/effective-policy.d.ts +31 -0
- package/dist/esm/models/effective-policy.js +24 -0
- package/dist/esm/models/enriched-audit-log.d.ts +2 -0
- package/dist/esm/models/enriched-audit-log.js +2 -0
- package/dist/esm/models/global-policy.d.ts +26 -0
- package/dist/esm/models/global-policy.js +19 -0
- package/dist/esm/models/index.d.ts +10 -0
- package/dist/esm/models/index.js +10 -0
- package/dist/esm/models/item.d.ts +1 -7
- package/dist/esm/models/metadata-key-suggestion.d.ts +24 -0
- package/dist/esm/models/metadata-key-suggestion.js +14 -0
- package/dist/esm/models/my-policy.d.ts +30 -0
- package/dist/esm/models/my-policy.js +24 -0
- package/dist/esm/models/notification-dto.d.ts +1 -0
- package/dist/esm/models/notification-dto.js +1 -0
- package/dist/esm/models/override-request.d.ts +21 -0
- package/dist/esm/models/override-request.js +19 -0
- package/dist/esm/models/override-view.d.ts +27 -0
- package/dist/esm/models/override-view.js +19 -0
- package/dist/esm/models/revoke-request.d.ts +16 -0
- package/dist/esm/models/revoke-request.js +14 -0
- package/dist/esm/models/revoke-result.d.ts +18 -0
- package/dist/esm/models/revoke-result.js +14 -0
- package/dist/esm/models/search-by-audit-log-request.d.ts +2 -0
- package/dist/esm/models/search-by-audit-log-request.js +2 -0
- package/dist/esm/models/search-by-metadata-request.d.ts +1 -1
- package/dist/esm/models/share-result-error.d.ts +6 -0
- package/dist/esm/models/share-result-error.js +6 -0
- package/dist/esm/models/violation.d.ts +41 -0
- package/dist/esm/models/violation.js +28 -0
- package/dist/esm/models/violations-response.d.ts +17 -0
- package/dist/esm/models/violations-response.js +14 -0
- package/dist/models/effective-policy.d.ts +31 -0
- package/dist/models/effective-policy.js +27 -0
- package/dist/models/enriched-audit-log.d.ts +2 -0
- package/dist/models/enriched-audit-log.js +2 -0
- package/dist/models/global-policy.d.ts +26 -0
- package/dist/models/global-policy.js +22 -0
- package/dist/models/index.d.ts +10 -0
- package/dist/models/index.js +10 -0
- package/dist/models/item.d.ts +1 -7
- package/dist/models/metadata-key-suggestion.d.ts +24 -0
- package/dist/models/metadata-key-suggestion.js +15 -0
- package/dist/models/my-policy.d.ts +30 -0
- package/dist/models/my-policy.js +27 -0
- package/dist/models/notification-dto.d.ts +1 -0
- package/dist/models/notification-dto.js +1 -0
- package/dist/models/override-request.d.ts +21 -0
- package/dist/models/override-request.js +22 -0
- package/dist/models/override-view.d.ts +27 -0
- package/dist/models/override-view.js +22 -0
- package/dist/models/revoke-request.d.ts +16 -0
- package/dist/models/revoke-request.js +15 -0
- package/dist/models/revoke-result.d.ts +18 -0
- package/dist/models/revoke-result.js +15 -0
- package/dist/models/search-by-audit-log-request.d.ts +2 -0
- package/dist/models/search-by-audit-log-request.js +2 -0
- package/dist/models/search-by-metadata-request.d.ts +1 -1
- package/dist/models/share-result-error.d.ts +6 -0
- package/dist/models/share-result-error.js +6 -0
- package/dist/models/violation.d.ts +41 -0
- package/dist/models/violation.js +31 -0
- package/dist/models/violations-response.d.ts +17 -0
- package/dist/models/violations-response.js +15 -0
- package/docs/EffectivePolicy.md +28 -0
- package/docs/GlobalPolicy.md +30 -0
- package/docs/Item.md +2 -14
- package/docs/MetadataKeyControllerApi.md +52 -0
- package/docs/MetadataKeySuggestion.md +23 -0
- package/docs/MyPolicy.md +26 -0
- package/docs/OverrideRequest.md +20 -0
- package/docs/OverrideView.md +32 -0
- package/docs/RevokeRequest.md +22 -0
- package/docs/RevokeResult.md +28 -0
- package/docs/SearchByMetadataRequest.md +1 -1
- package/docs/SharingPolicyApi.md +988 -0
- package/docs/TeamAdministrationApi.md +62 -0
- package/docs/Violation.md +42 -0
- package/docs/ViolationsResponse.md +24 -0
- package/graphql/document.graphqls +2 -2
- package/graphql/share.graphqls +2 -0
- package/models/effective-policy.ts +41 -0
- package/models/enriched-audit-log.ts +2 -0
- package/models/global-policy.ts +35 -0
- package/models/index.ts +10 -0
- package/models/item.ts +1 -7
- package/models/metadata-key-suggestion.ts +30 -0
- package/models/my-policy.ts +40 -0
- package/models/notification-dto.ts +1 -0
- package/models/override-request.ts +30 -0
- package/models/override-view.ts +36 -0
- package/models/revoke-request.ts +24 -0
- package/models/revoke-result.ts +24 -0
- package/models/search-by-audit-log-request.ts +2 -0
- package/models/search-by-metadata-request.ts +1 -1
- package/models/share-result-error.ts +6 -0
- package/models/violation.ts +50 -0
- package/models/violations-response.ts +25 -0
- package/package.json +1 -1
|
@@ -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,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.OverrideRequestModeEnum = void 0;
|
|
17
|
+
exports.OverrideRequestModeEnum = {
|
|
18
|
+
Allow: 'ALLOW',
|
|
19
|
+
LicensedOnly: 'LICENSED_ONLY',
|
|
20
|
+
DomainsOnly: 'DOMAINS_ONLY',
|
|
21
|
+
LicensedAndDomains: 'LICENSED_AND_DOMAINS',
|
|
22
|
+
};
|
|
@@ -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,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.OverrideViewModeEnum = void 0;
|
|
17
|
+
exports.OverrideViewModeEnum = {
|
|
18
|
+
Allow: 'ALLOW',
|
|
19
|
+
LicensedOnly: 'LICENSED_ONLY',
|
|
20
|
+
DomainsOnly: 'DOMAINS_ONLY',
|
|
21
|
+
LicensedAndDomains: 'LICENSED_AND_DOMAINS',
|
|
22
|
+
};
|
|
@@ -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,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,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,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 });
|
|
@@ -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];
|
|
@@ -97,4 +97,6 @@ exports.SearchByAuditLogRequestActionEnum = {
|
|
|
97
97
|
McpAgentTokenRevoked: 'MCP_AGENT_TOKEN_REVOKED',
|
|
98
98
|
AdminSettingChanged: 'ADMIN_SETTING_CHANGED',
|
|
99
99
|
OrganisationAiMaintenanceStarted: 'ORGANISATION_AI_MAINTENANCE_STARTED',
|
|
100
|
+
SharingPolicyChanged: 'SHARING_POLICY_CHANGED',
|
|
101
|
+
ShareBlockedByPolicy: 'SHARE_BLOCKED_BY_POLICY',
|
|
100
102
|
};
|
|
@@ -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];
|
|
@@ -22,4 +22,10 @@ exports.ShareResultErrorCodeEnum = {
|
|
|
22
22
|
ShareErrNotAlreadyShared: 'SHARE_ERR_NOT_ALREADY_SHARED',
|
|
23
23
|
ShareErrOwner: 'SHARE_ERR_OWNER',
|
|
24
24
|
ShareErrNotScanned: 'SHARE_ERR_NOT_SCANNED',
|
|
25
|
+
ShareErrRecipientNotLicensedPolicy: 'SHARE_ERR_RECIPIENT_NOT_LICENSED_POLICY',
|
|
26
|
+
ShareErrRecipientDomainPolicy: 'SHARE_ERR_RECIPIENT_DOMAIN_POLICY',
|
|
27
|
+
ShareErrTeamHasExternalMember: 'SHARE_ERR_TEAM_HAS_EXTERNAL_MEMBER',
|
|
28
|
+
ShareErrRecipientOtherOrg: 'SHARE_ERR_RECIPIENT_OTHER_ORG',
|
|
29
|
+
ShareErrPolicyUnavailable: 'SHARE_ERR_POLICY_UNAVAILABLE',
|
|
30
|
+
ShareErrDestinationHasExternal: 'SHARE_ERR_DESTINATION_HAS_EXTERNAL',
|
|
25
31
|
};
|
|
@@ -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,31 @@
|
|
|
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.ViolationReasonEnum = void 0;
|
|
17
|
+
exports.ViolationReasonEnum = {
|
|
18
|
+
ShareErrUserDeactivated: 'SHARE_ERR_USER_DEACTIVATED',
|
|
19
|
+
ShareErrUserNotLicensed: 'SHARE_ERR_USER_NOT_LICENSED',
|
|
20
|
+
ShareErrParentAndChild: 'SHARE_ERR_PARENT_AND_CHILD',
|
|
21
|
+
ShareErrAlreadyExists: 'SHARE_ERR_ALREADY_EXISTS',
|
|
22
|
+
ShareErrNotAlreadyShared: 'SHARE_ERR_NOT_ALREADY_SHARED',
|
|
23
|
+
ShareErrOwner: 'SHARE_ERR_OWNER',
|
|
24
|
+
ShareErrNotScanned: 'SHARE_ERR_NOT_SCANNED',
|
|
25
|
+
ShareErrRecipientNotLicensedPolicy: 'SHARE_ERR_RECIPIENT_NOT_LICENSED_POLICY',
|
|
26
|
+
ShareErrRecipientDomainPolicy: 'SHARE_ERR_RECIPIENT_DOMAIN_POLICY',
|
|
27
|
+
ShareErrTeamHasExternalMember: 'SHARE_ERR_TEAM_HAS_EXTERNAL_MEMBER',
|
|
28
|
+
ShareErrRecipientOtherOrg: 'SHARE_ERR_RECIPIENT_OTHER_ORG',
|
|
29
|
+
ShareErrPolicyUnavailable: 'SHARE_ERR_POLICY_UNAVAILABLE',
|
|
30
|
+
ShareErrDestinationHasExternal: 'SHARE_ERR_DESTINATION_HAS_EXTERNAL',
|
|
31
|
+
};
|
|
@@ -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,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,28 @@
|
|
|
1
|
+
# EffectivePolicy
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**userId** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**mode** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**allowedDomains** | **Array<string>** | | [optional] [default to undefined]
|
|
11
|
+
**source** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**sourceIds** | **Array<string>** | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { EffectivePolicy } from '@openfilz-sdk/typescript-ee';
|
|
18
|
+
|
|
19
|
+
const instance: EffectivePolicy = {
|
|
20
|
+
userId,
|
|
21
|
+
mode,
|
|
22
|
+
allowedDomains,
|
|
23
|
+
source,
|
|
24
|
+
sourceIds,
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# GlobalPolicy
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**mode** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**allowedDomains** | **Array<string>** | | [optional] [default to undefined]
|
|
10
|
+
**applyToSignatures** | **boolean** | | [optional] [default to undefined]
|
|
11
|
+
**lockedKeys** | **Set<string>** | | [optional] [default to undefined]
|
|
12
|
+
**overrides** | **number** | | [optional] [default to undefined]
|
|
13
|
+
**violations** | **number** | | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { GlobalPolicy } from '@openfilz-sdk/typescript-ee';
|
|
19
|
+
|
|
20
|
+
const instance: GlobalPolicy = {
|
|
21
|
+
mode,
|
|
22
|
+
allowedDomains,
|
|
23
|
+
applyToSignatures,
|
|
24
|
+
lockedKeys,
|
|
25
|
+
overrides,
|
|
26
|
+
violations,
|
|
27
|
+
};
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/Item.md
CHANGED
|
@@ -6,13 +6,7 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**documentId** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**
|
|
10
|
-
**type** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**currentPath** | **string** | | [optional] [default to undefined]
|
|
12
|
-
**targetPath** | **string** | | [optional] [default to undefined]
|
|
13
|
-
**targetExists** | **boolean** | | [optional] [default to undefined]
|
|
14
|
-
**applicable** | **boolean** | | [optional] [default to undefined]
|
|
15
|
-
**issue** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**recipientId** | **string** | | [optional] [default to undefined]
|
|
16
10
|
|
|
17
11
|
## Example
|
|
18
12
|
|
|
@@ -21,13 +15,7 @@ import { Item } from '@openfilz-sdk/typescript-ee';
|
|
|
21
15
|
|
|
22
16
|
const instance: Item = {
|
|
23
17
|
documentId,
|
|
24
|
-
|
|
25
|
-
type,
|
|
26
|
-
currentPath,
|
|
27
|
-
targetPath,
|
|
28
|
-
targetExists,
|
|
29
|
-
applicable,
|
|
30
|
-
issue,
|
|
18
|
+
recipientId,
|
|
31
19
|
};
|
|
32
20
|
```
|
|
33
21
|
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# MetadataKeyControllerApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost:8081*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**listMetadataKeys**](#listmetadatakeys) | **GET** /api/v1/documents/metadata-keys | List metadata keys|
|
|
8
|
+
|
|
9
|
+
# **listMetadataKeys**
|
|
10
|
+
> Array<MetadataKeySuggestion> listMetadataKeys()
|
|
11
|
+
|
|
12
|
+
Metadata keys found on the documents the caller can see, most frequent first, with the number of documents carrying each (at most 200). Meant for autocompletion of the metadata search filter: the list is cached for a short time and is empty when it cannot be computed in time. 404 when key suggestions are disabled.
|
|
13
|
+
|
|
14
|
+
### Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import {
|
|
18
|
+
MetadataKeyControllerApi,
|
|
19
|
+
Configuration
|
|
20
|
+
} from '@openfilz-sdk/typescript-ee';
|
|
21
|
+
|
|
22
|
+
const configuration = new Configuration();
|
|
23
|
+
const apiInstance = new MetadataKeyControllerApi(configuration);
|
|
24
|
+
|
|
25
|
+
const { status, data } = await apiInstance.listMetadataKeys();
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
### Parameters
|
|
29
|
+
This endpoint does not have any parameters.
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Return type
|
|
33
|
+
|
|
34
|
+
**Array<MetadataKeySuggestion>**
|
|
35
|
+
|
|
36
|
+
### Authorization
|
|
37
|
+
|
|
38
|
+
[keycloak_auth](../README.md#keycloak_auth)
|
|
39
|
+
|
|
40
|
+
### HTTP request headers
|
|
41
|
+
|
|
42
|
+
- **Content-Type**: Not defined
|
|
43
|
+
- **Accept**: */*
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
### HTTP response details
|
|
47
|
+
| Status code | Description | Response headers |
|
|
48
|
+
|-------------|-------------|------------------|
|
|
49
|
+
|**200** | OK | - |
|
|
50
|
+
|
|
51
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
52
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# MetadataKeySuggestion
|
|
2
|
+
|
|
3
|
+
A metadata key found on the documents visible to the caller
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**key** | **string** | The metadata key | [optional] [default to undefined]
|
|
10
|
+
**count** | **number** | Number of visible documents carrying the key | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { MetadataKeySuggestion } from '@openfilz-sdk/typescript-ee';
|
|
16
|
+
|
|
17
|
+
const instance: MetadataKeySuggestion = {
|
|
18
|
+
key,
|
|
19
|
+
count,
|
|
20
|
+
};
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/MyPolicy.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# MyPolicy
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**mode** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**allowedDomains** | **Array<string>** | | [optional] [default to undefined]
|
|
10
|
+
**source** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**applyToSignatures** | **boolean** | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { MyPolicy } from '@openfilz-sdk/typescript-ee';
|
|
17
|
+
|
|
18
|
+
const instance: MyPolicy = {
|
|
19
|
+
mode,
|
|
20
|
+
allowedDomains,
|
|
21
|
+
source,
|
|
22
|
+
applyToSignatures,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# OverrideRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**mode** | **string** | | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { OverrideRequest } from '@openfilz-sdk/typescript-ee';
|
|
14
|
+
|
|
15
|
+
const instance: OverrideRequest = {
|
|
16
|
+
mode,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# OverrideView
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**subjectId** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**type** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**email** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**mode** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**updatedBy** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**updatedAt** | **string** | | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { OverrideView } from '@openfilz-sdk/typescript-ee';
|
|
20
|
+
|
|
21
|
+
const instance: OverrideView = {
|
|
22
|
+
subjectId,
|
|
23
|
+
type,
|
|
24
|
+
email,
|
|
25
|
+
name,
|
|
26
|
+
mode,
|
|
27
|
+
updatedBy,
|
|
28
|
+
updatedAt,
|
|
29
|
+
};
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[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,22 @@
|
|
|
1
|
+
# RevokeRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**items** | [**Array<Item>**](Item.md) | | [optional] [default to undefined]
|
|
9
|
+
**all** | **boolean** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { RevokeRequest } from '@openfilz-sdk/typescript-ee';
|
|
15
|
+
|
|
16
|
+
const instance: RevokeRequest = {
|
|
17
|
+
items,
|
|
18
|
+
all,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[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,28 @@
|
|
|
1
|
+
# RevokeResult
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**status** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**jobId** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**revoked** | **number** | | [optional] [default to undefined]
|
|
11
|
+
**skipped** | **number** | | [optional] [default to undefined]
|
|
12
|
+
**total** | **number** | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { RevokeResult } from '@openfilz-sdk/typescript-ee';
|
|
18
|
+
|
|
19
|
+
const instance: RevokeResult = {
|
|
20
|
+
status,
|
|
21
|
+
jobId,
|
|
22
|
+
revoked,
|
|
23
|
+
skipped,
|
|
24
|
+
total,
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**type** | **string** | Optional : Type of the document to search - if not provided or null : search all types | [optional] [default to undefined]
|
|
11
11
|
**parentFolderId** | **string** | Optional : UUID of the parent folder to search - if not provided or null : search in all folders | [optional] [default to undefined]
|
|
12
12
|
**rootOnly** | **boolean** | Optional : if true : search only at the root level - if not provided or null : search in all folders | [optional] [default to undefined]
|
|
13
|
-
**metadataCriteria** | **{ [key: string]: any; }** | Metadata key-value pairs to search for | [optional] [default to undefined]
|
|
13
|
+
**metadataCriteria** | **{ [key: string]: any; }** | 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. | [optional] [default to undefined]
|
|
14
14
|
|
|
15
15
|
## Example
|
|
16
16
|
|