@openfilz-sdk/typescript-ee 1.13.3 → 1.14.0
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 +22 -0
- package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
- package/README.md +31 -2
- package/api/sharing-policy-api.ts +1471 -0
- package/api/team-administration-api.ts +133 -0
- package/api.ts +2 -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 +2 -0
- package/dist/api.js +2 -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 +2 -0
- package/dist/esm/api.js +2 -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 +9 -0
- package/dist/esm/models/index.js +9 -0
- package/dist/esm/models/item.d.ts +1 -7
- 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/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 +9 -0
- package/dist/models/index.js +9 -0
- package/dist/models/item.d.ts +1 -7
- 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/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/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/SharingPolicyApi.md +988 -0
- package/docs/TeamAdministrationApi.md +62 -0
- package/docs/Violation.md +42 -0
- package/docs/ViolationsResponse.md +24 -0
- 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 +9 -0
- package/models/item.ts +1 -7
- 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/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,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
|
};
|
|
@@ -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
|
+
};
|
package/dist/models/index.d.ts
CHANGED
|
@@ -64,6 +64,7 @@ export * from './document-insight-view';
|
|
|
64
64
|
export * from './document-integrity-record';
|
|
65
65
|
export * from './document-position';
|
|
66
66
|
export * from './document-version-info';
|
|
67
|
+
export * from './effective-policy';
|
|
67
68
|
export * from './element-info';
|
|
68
69
|
export * from './embed-url-response';
|
|
69
70
|
export * from './embedding-backfill-request';
|
|
@@ -87,6 +88,7 @@ export * from './folder-response';
|
|
|
87
88
|
export * from './folder-selection-by-kind-request';
|
|
88
89
|
export * from './folder-selection-by-kind-response';
|
|
89
90
|
export * from './foreign-item';
|
|
91
|
+
export * from './global-policy';
|
|
90
92
|
export * from './ingestion-status-dto';
|
|
91
93
|
export * from './insight-backfill-request';
|
|
92
94
|
export * from './insight-backfill-status';
|
|
@@ -109,11 +111,14 @@ export * from './mint-mcp-agent-token-request';
|
|
|
109
111
|
export * from './mint-upload-token-request';
|
|
110
112
|
export * from './move-audit';
|
|
111
113
|
export * from './move-request';
|
|
114
|
+
export * from './my-policy';
|
|
112
115
|
export * from './my-storage-quota';
|
|
113
116
|
export * from './my-tasks-count-dto';
|
|
114
117
|
export * from './notification-dto';
|
|
115
118
|
export * from './organize-request';
|
|
116
119
|
export * from './output-target';
|
|
120
|
+
export * from './override-request';
|
|
121
|
+
export * from './override-view';
|
|
117
122
|
export * from './owned-document';
|
|
118
123
|
export * from './owned-documents-filter';
|
|
119
124
|
export * from './ownership-consent';
|
|
@@ -146,6 +151,8 @@ export * from './replace-audit';
|
|
|
146
151
|
export * from './response';
|
|
147
152
|
export * from './restore-version-audit';
|
|
148
153
|
export * from './restore-version-response';
|
|
154
|
+
export * from './revoke-request';
|
|
155
|
+
export * from './revoke-result';
|
|
149
156
|
export * from './role-binding';
|
|
150
157
|
export * from './rotate-request';
|
|
151
158
|
export * from './save-ai-preferences-request';
|
|
@@ -217,6 +224,8 @@ export * from './user-privacy-dto';
|
|
|
217
224
|
export * from './user-quota-request';
|
|
218
225
|
export * from './user-registration-request';
|
|
219
226
|
export * from './verify-otp-request';
|
|
227
|
+
export * from './violation';
|
|
228
|
+
export * from './violations-response';
|
|
220
229
|
export * from './vote';
|
|
221
230
|
export * from './workflow-action';
|
|
222
231
|
export * from './workflow-action-failure-audit';
|
package/dist/models/index.js
CHANGED
|
@@ -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);
|
|
@@ -125,11 +127,14 @@ __exportStar(require("./mint-mcp-agent-token-request"), exports);
|
|
|
125
127
|
__exportStar(require("./mint-upload-token-request"), exports);
|
|
126
128
|
__exportStar(require("./move-audit"), exports);
|
|
127
129
|
__exportStar(require("./move-request"), exports);
|
|
130
|
+
__exportStar(require("./my-policy"), exports);
|
|
128
131
|
__exportStar(require("./my-storage-quota"), exports);
|
|
129
132
|
__exportStar(require("./my-tasks-count-dto"), exports);
|
|
130
133
|
__exportStar(require("./notification-dto"), exports);
|
|
131
134
|
__exportStar(require("./organize-request"), exports);
|
|
132
135
|
__exportStar(require("./output-target"), exports);
|
|
136
|
+
__exportStar(require("./override-request"), exports);
|
|
137
|
+
__exportStar(require("./override-view"), exports);
|
|
133
138
|
__exportStar(require("./owned-document"), exports);
|
|
134
139
|
__exportStar(require("./owned-documents-filter"), exports);
|
|
135
140
|
__exportStar(require("./ownership-consent"), exports);
|
|
@@ -162,6 +167,8 @@ __exportStar(require("./replace-audit"), exports);
|
|
|
162
167
|
__exportStar(require("./response"), exports);
|
|
163
168
|
__exportStar(require("./restore-version-audit"), exports);
|
|
164
169
|
__exportStar(require("./restore-version-response"), exports);
|
|
170
|
+
__exportStar(require("./revoke-request"), exports);
|
|
171
|
+
__exportStar(require("./revoke-result"), exports);
|
|
165
172
|
__exportStar(require("./role-binding"), exports);
|
|
166
173
|
__exportStar(require("./rotate-request"), exports);
|
|
167
174
|
__exportStar(require("./save-ai-preferences-request"), exports);
|
|
@@ -233,6 +240,8 @@ __exportStar(require("./user-privacy-dto"), exports);
|
|
|
233
240
|
__exportStar(require("./user-quota-request"), exports);
|
|
234
241
|
__exportStar(require("./user-registration-request"), exports);
|
|
235
242
|
__exportStar(require("./verify-otp-request"), exports);
|
|
243
|
+
__exportStar(require("./violation"), exports);
|
|
244
|
+
__exportStar(require("./violations-response"), exports);
|
|
236
245
|
__exportStar(require("./vote"), exports);
|
|
237
246
|
__exportStar(require("./workflow-action"), exports);
|
|
238
247
|
__exportStar(require("./workflow-action-failure-audit"), exports);
|
package/dist/models/item.d.ts
CHANGED
|
@@ -11,11 +11,5 @@
|
|
|
11
11
|
*/
|
|
12
12
|
export interface Item {
|
|
13
13
|
'documentId'?: string;
|
|
14
|
-
'
|
|
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,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];
|
|
@@ -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
|
+
}
|