@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,62 @@
|
|
|
1
|
+
# TeamAdministrationApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost:8081*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**adminAddTeamMembers**](#adminaddteammembers) | **POST** /api/v1/admin/teams/{teamId}/members | Add members to a team|
|
|
8
|
+
|
|
9
|
+
# **adminAddTeamMembers**
|
|
10
|
+
> adminAddTeamMembers(requestBody)
|
|
11
|
+
|
|
12
|
+
Idempotent for existing members. 409 TEAM_MEMBER_EXTERNAL (counts of members, owners and documents) when documents shared with the team may not be shared with a new member under the sharing policy.
|
|
13
|
+
|
|
14
|
+
### Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import {
|
|
18
|
+
TeamAdministrationApi,
|
|
19
|
+
Configuration
|
|
20
|
+
} from '@openfilz-sdk/typescript-ee';
|
|
21
|
+
|
|
22
|
+
const configuration = new Configuration();
|
|
23
|
+
const apiInstance = new TeamAdministrationApi(configuration);
|
|
24
|
+
|
|
25
|
+
let teamId: string; // (default to undefined)
|
|
26
|
+
let requestBody: Array<string>; //
|
|
27
|
+
|
|
28
|
+
const { status, data } = await apiInstance.adminAddTeamMembers(
|
|
29
|
+
teamId,
|
|
30
|
+
requestBody
|
|
31
|
+
);
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### Parameters
|
|
35
|
+
|
|
36
|
+
|Name | Type | Description | Notes|
|
|
37
|
+
|------------- | ------------- | ------------- | -------------|
|
|
38
|
+
| **requestBody** | **Array<string>**| | |
|
|
39
|
+
| **teamId** | [**string**] | | defaults to undefined|
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
### Return type
|
|
43
|
+
|
|
44
|
+
void (empty response body)
|
|
45
|
+
|
|
46
|
+
### Authorization
|
|
47
|
+
|
|
48
|
+
[keycloak_auth](../README.md#keycloak_auth)
|
|
49
|
+
|
|
50
|
+
### HTTP request headers
|
|
51
|
+
|
|
52
|
+
- **Content-Type**: application/json
|
|
53
|
+
- **Accept**: Not defined
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
### HTTP response details
|
|
57
|
+
| Status code | Description | Response headers |
|
|
58
|
+
|-------------|-------------|------------------|
|
|
59
|
+
|**200** | OK | - |
|
|
60
|
+
|
|
61
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
62
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Violation
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**documentId** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**documentName** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**documentType** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**masked** | **boolean** | | [optional] [default to undefined]
|
|
12
|
+
**ownerId** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**ownerEmail** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**recipientId** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**recipientType** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**recipientEmail** | **string** | | [optional] [default to undefined]
|
|
17
|
+
**inherited** | **boolean** | | [optional] [default to undefined]
|
|
18
|
+
**externalMembers** | **number** | | [optional] [default to undefined]
|
|
19
|
+
**reason** | **string** | | [optional] [default to undefined]
|
|
20
|
+
|
|
21
|
+
## Example
|
|
22
|
+
|
|
23
|
+
```typescript
|
|
24
|
+
import { Violation } from '@openfilz-sdk/typescript-ee';
|
|
25
|
+
|
|
26
|
+
const instance: Violation = {
|
|
27
|
+
documentId,
|
|
28
|
+
documentName,
|
|
29
|
+
documentType,
|
|
30
|
+
masked,
|
|
31
|
+
ownerId,
|
|
32
|
+
ownerEmail,
|
|
33
|
+
recipientId,
|
|
34
|
+
recipientType,
|
|
35
|
+
recipientEmail,
|
|
36
|
+
inherited,
|
|
37
|
+
externalMembers,
|
|
38
|
+
reason,
|
|
39
|
+
};
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# ViolationsResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**items** | [**Array<Violation>**](Violation.md) | | [optional] [default to undefined]
|
|
9
|
+
**nextCursor** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**count** | **number** | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { ViolationsResponse } from '@openfilz-sdk/typescript-ee';
|
|
16
|
+
|
|
17
|
+
const instance: ViolationsResponse = {
|
|
18
|
+
items,
|
|
19
|
+
nextCursor,
|
|
20
|
+
count,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/graphql/share.graphqls
CHANGED
|
@@ -102,6 +102,8 @@ type OrganizationUserInfo {
|
|
|
102
102
|
status: UserStatusEnum!
|
|
103
103
|
"Whether the email can be changed (false if user has verified email or logged in)"
|
|
104
104
|
emailEditable: Boolean
|
|
105
|
+
"Why the caller's sharing policy refuses this recipient (a SHARE_ERR_* code), null when allowed"
|
|
106
|
+
sharePolicyBlock: String
|
|
105
107
|
}
|
|
106
108
|
|
|
107
109
|
"""
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
export interface EffectivePolicy {
|
|
18
|
+
'userId'?: string;
|
|
19
|
+
'mode'?: EffectivePolicyModeEnum;
|
|
20
|
+
'allowedDomains'?: Array<string>;
|
|
21
|
+
'source'?: EffectivePolicySourceEnum;
|
|
22
|
+
'sourceIds'?: Array<string>;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export const EffectivePolicyModeEnum = {
|
|
26
|
+
Allow: 'ALLOW',
|
|
27
|
+
LicensedOnly: 'LICENSED_ONLY',
|
|
28
|
+
DomainsOnly: 'DOMAINS_ONLY',
|
|
29
|
+
LicensedAndDomains: 'LICENSED_AND_DOMAINS',
|
|
30
|
+
} as const;
|
|
31
|
+
|
|
32
|
+
export type EffectivePolicyModeEnum = typeof EffectivePolicyModeEnum[keyof typeof EffectivePolicyModeEnum];
|
|
33
|
+
export const EffectivePolicySourceEnum = {
|
|
34
|
+
User: 'USER',
|
|
35
|
+
Team: 'TEAM',
|
|
36
|
+
Global: 'GLOBAL',
|
|
37
|
+
} as const;
|
|
38
|
+
|
|
39
|
+
export type EffectivePolicySourceEnum = typeof EffectivePolicySourceEnum[keyof typeof EffectivePolicySourceEnum];
|
|
40
|
+
|
|
41
|
+
|
|
@@ -112,6 +112,8 @@ export const EnrichedAuditLogActionEnum = {
|
|
|
112
112
|
McpAgentTokenRevoked: 'MCP_AGENT_TOKEN_REVOKED',
|
|
113
113
|
AdminSettingChanged: 'ADMIN_SETTING_CHANGED',
|
|
114
114
|
OrganisationAiMaintenanceStarted: 'ORGANISATION_AI_MAINTENANCE_STARTED',
|
|
115
|
+
SharingPolicyChanged: 'SHARING_POLICY_CHANGED',
|
|
116
|
+
ShareBlockedByPolicy: 'SHARE_BLOCKED_BY_POLICY',
|
|
115
117
|
} as const;
|
|
116
118
|
|
|
117
119
|
export type EnrichedAuditLogActionEnum = typeof EnrichedAuditLogActionEnum[keyof typeof EnrichedAuditLogActionEnum];
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
export interface GlobalPolicy {
|
|
18
|
+
'mode'?: GlobalPolicyModeEnum;
|
|
19
|
+
'allowedDomains'?: Array<string>;
|
|
20
|
+
'applyToSignatures'?: boolean;
|
|
21
|
+
'lockedKeys'?: Set<string>;
|
|
22
|
+
'overrides'?: number;
|
|
23
|
+
'violations'?: number;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export const GlobalPolicyModeEnum = {
|
|
27
|
+
Allow: 'ALLOW',
|
|
28
|
+
LicensedOnly: 'LICENSED_ONLY',
|
|
29
|
+
DomainsOnly: 'DOMAINS_ONLY',
|
|
30
|
+
LicensedAndDomains: 'LICENSED_AND_DOMAINS',
|
|
31
|
+
} as const;
|
|
32
|
+
|
|
33
|
+
export type GlobalPolicyModeEnum = typeof GlobalPolicyModeEnum[keyof typeof GlobalPolicyModeEnum];
|
|
34
|
+
|
|
35
|
+
|
package/models/index.ts
CHANGED
|
@@ -64,6 +64,7 @@ export * from './document-insight-view';
|
|
|
64
64
|
export * from './document-integrity-record';
|
|
65
65
|
export * from './document-position';
|
|
66
66
|
export * from './document-version-info';
|
|
67
|
+
export * from './effective-policy';
|
|
67
68
|
export * from './element-info';
|
|
68
69
|
export * from './embed-url-response';
|
|
69
70
|
export * from './embedding-backfill-request';
|
|
@@ -87,6 +88,7 @@ export * from './folder-response';
|
|
|
87
88
|
export * from './folder-selection-by-kind-request';
|
|
88
89
|
export * from './folder-selection-by-kind-response';
|
|
89
90
|
export * from './foreign-item';
|
|
91
|
+
export * from './global-policy';
|
|
90
92
|
export * from './ingestion-status-dto';
|
|
91
93
|
export * from './insight-backfill-request';
|
|
92
94
|
export * from './insight-backfill-status';
|
|
@@ -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/models/item.ts
CHANGED
|
@@ -16,12 +16,6 @@
|
|
|
16
16
|
|
|
17
17
|
export interface Item {
|
|
18
18
|
'documentId'?: string;
|
|
19
|
-
'
|
|
20
|
-
'type'?: string;
|
|
21
|
-
'currentPath'?: string;
|
|
22
|
-
'targetPath'?: string;
|
|
23
|
-
'targetExists'?: boolean;
|
|
24
|
-
'applicable'?: boolean;
|
|
25
|
-
'issue'?: string;
|
|
19
|
+
'recipientId'?: string;
|
|
26
20
|
}
|
|
27
21
|
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
export interface MyPolicy {
|
|
18
|
+
'mode'?: MyPolicyModeEnum;
|
|
19
|
+
'allowedDomains'?: Array<string>;
|
|
20
|
+
'source'?: MyPolicySourceEnum;
|
|
21
|
+
'applyToSignatures'?: boolean;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export const MyPolicyModeEnum = {
|
|
25
|
+
Allow: 'ALLOW',
|
|
26
|
+
LicensedOnly: 'LICENSED_ONLY',
|
|
27
|
+
DomainsOnly: 'DOMAINS_ONLY',
|
|
28
|
+
LicensedAndDomains: 'LICENSED_AND_DOMAINS',
|
|
29
|
+
} as const;
|
|
30
|
+
|
|
31
|
+
export type MyPolicyModeEnum = typeof MyPolicyModeEnum[keyof typeof MyPolicyModeEnum];
|
|
32
|
+
export const MyPolicySourceEnum = {
|
|
33
|
+
User: 'USER',
|
|
34
|
+
Team: 'TEAM',
|
|
35
|
+
Global: 'GLOBAL',
|
|
36
|
+
} as const;
|
|
37
|
+
|
|
38
|
+
export type MyPolicySourceEnum = typeof MyPolicySourceEnum[keyof typeof MyPolicySourceEnum];
|
|
39
|
+
|
|
40
|
+
|
|
@@ -45,6 +45,7 @@ export const NotificationDTOTypeEnum = {
|
|
|
45
45
|
OwnershipRemoved: 'OWNERSHIP_REMOVED',
|
|
46
46
|
OwnershipConsentAccepted: 'OWNERSHIP_CONSENT_ACCEPTED',
|
|
47
47
|
OwnershipConsentDeclined: 'OWNERSHIP_CONSENT_DECLINED',
|
|
48
|
+
ShareRevokedByPolicy: 'SHARE_REVOKED_BY_POLICY',
|
|
48
49
|
} as const;
|
|
49
50
|
|
|
50
51
|
export type NotificationDTOTypeEnum = typeof NotificationDTOTypeEnum[keyof typeof NotificationDTOTypeEnum];
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
export interface OverrideRequest {
|
|
18
|
+
'mode'?: OverrideRequestModeEnum;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export const OverrideRequestModeEnum = {
|
|
22
|
+
Allow: 'ALLOW',
|
|
23
|
+
LicensedOnly: 'LICENSED_ONLY',
|
|
24
|
+
DomainsOnly: 'DOMAINS_ONLY',
|
|
25
|
+
LicensedAndDomains: 'LICENSED_AND_DOMAINS',
|
|
26
|
+
} as const;
|
|
27
|
+
|
|
28
|
+
export type OverrideRequestModeEnum = typeof OverrideRequestModeEnum[keyof typeof OverrideRequestModeEnum];
|
|
29
|
+
|
|
30
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
export interface OverrideView {
|
|
18
|
+
'subjectId'?: string;
|
|
19
|
+
'type'?: string;
|
|
20
|
+
'email'?: string;
|
|
21
|
+
'name'?: string;
|
|
22
|
+
'mode'?: OverrideViewModeEnum;
|
|
23
|
+
'updatedBy'?: string;
|
|
24
|
+
'updatedAt'?: string;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export const OverrideViewModeEnum = {
|
|
28
|
+
Allow: 'ALLOW',
|
|
29
|
+
LicensedOnly: 'LICENSED_ONLY',
|
|
30
|
+
DomainsOnly: 'DOMAINS_ONLY',
|
|
31
|
+
LicensedAndDomains: 'LICENSED_AND_DOMAINS',
|
|
32
|
+
} as const;
|
|
33
|
+
|
|
34
|
+
export type OverrideViewModeEnum = typeof OverrideViewModeEnum[keyof typeof OverrideViewModeEnum];
|
|
35
|
+
|
|
36
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { Item } from './item';
|
|
19
|
+
|
|
20
|
+
export interface RevokeRequest {
|
|
21
|
+
'items'?: Array<Item>;
|
|
22
|
+
'all'?: boolean;
|
|
23
|
+
}
|
|
24
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
export interface RevokeResult {
|
|
18
|
+
'status'?: string;
|
|
19
|
+
'jobId'?: string;
|
|
20
|
+
'revoked'?: number;
|
|
21
|
+
'skipped'?: number;
|
|
22
|
+
'total'?: number;
|
|
23
|
+
}
|
|
24
|
+
|
|
@@ -125,6 +125,8 @@ export const SearchByAuditLogRequestActionEnum = {
|
|
|
125
125
|
McpAgentTokenRevoked: 'MCP_AGENT_TOKEN_REVOKED',
|
|
126
126
|
AdminSettingChanged: 'ADMIN_SETTING_CHANGED',
|
|
127
127
|
OrganisationAiMaintenanceStarted: 'ORGANISATION_AI_MAINTENANCE_STARTED',
|
|
128
|
+
SharingPolicyChanged: 'SHARING_POLICY_CHANGED',
|
|
129
|
+
ShareBlockedByPolicy: 'SHARE_BLOCKED_BY_POLICY',
|
|
128
130
|
} as const;
|
|
129
131
|
|
|
130
132
|
export type SearchByAuditLogRequestActionEnum = typeof SearchByAuditLogRequestActionEnum[keyof typeof SearchByAuditLogRequestActionEnum];
|
|
@@ -28,6 +28,12 @@ export const ShareResultErrorCodeEnum = {
|
|
|
28
28
|
ShareErrNotAlreadyShared: 'SHARE_ERR_NOT_ALREADY_SHARED',
|
|
29
29
|
ShareErrOwner: 'SHARE_ERR_OWNER',
|
|
30
30
|
ShareErrNotScanned: 'SHARE_ERR_NOT_SCANNED',
|
|
31
|
+
ShareErrRecipientNotLicensedPolicy: 'SHARE_ERR_RECIPIENT_NOT_LICENSED_POLICY',
|
|
32
|
+
ShareErrRecipientDomainPolicy: 'SHARE_ERR_RECIPIENT_DOMAIN_POLICY',
|
|
33
|
+
ShareErrTeamHasExternalMember: 'SHARE_ERR_TEAM_HAS_EXTERNAL_MEMBER',
|
|
34
|
+
ShareErrRecipientOtherOrg: 'SHARE_ERR_RECIPIENT_OTHER_ORG',
|
|
35
|
+
ShareErrPolicyUnavailable: 'SHARE_ERR_POLICY_UNAVAILABLE',
|
|
36
|
+
ShareErrDestinationHasExternal: 'SHARE_ERR_DESTINATION_HAS_EXTERNAL',
|
|
31
37
|
} as const;
|
|
32
38
|
|
|
33
39
|
export type ShareResultErrorCodeEnum = typeof ShareResultErrorCodeEnum[keyof typeof ShareResultErrorCodeEnum];
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
export interface Violation {
|
|
18
|
+
'documentId'?: string;
|
|
19
|
+
'documentName'?: string;
|
|
20
|
+
'documentType'?: string;
|
|
21
|
+
'masked'?: boolean;
|
|
22
|
+
'ownerId'?: string;
|
|
23
|
+
'ownerEmail'?: string;
|
|
24
|
+
'recipientId'?: string;
|
|
25
|
+
'recipientType'?: string;
|
|
26
|
+
'recipientEmail'?: string;
|
|
27
|
+
'inherited'?: boolean;
|
|
28
|
+
'externalMembers'?: number;
|
|
29
|
+
'reason'?: ViolationReasonEnum;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export const ViolationReasonEnum = {
|
|
33
|
+
ShareErrUserDeactivated: 'SHARE_ERR_USER_DEACTIVATED',
|
|
34
|
+
ShareErrUserNotLicensed: 'SHARE_ERR_USER_NOT_LICENSED',
|
|
35
|
+
ShareErrParentAndChild: 'SHARE_ERR_PARENT_AND_CHILD',
|
|
36
|
+
ShareErrAlreadyExists: 'SHARE_ERR_ALREADY_EXISTS',
|
|
37
|
+
ShareErrNotAlreadyShared: 'SHARE_ERR_NOT_ALREADY_SHARED',
|
|
38
|
+
ShareErrOwner: 'SHARE_ERR_OWNER',
|
|
39
|
+
ShareErrNotScanned: 'SHARE_ERR_NOT_SCANNED',
|
|
40
|
+
ShareErrRecipientNotLicensedPolicy: 'SHARE_ERR_RECIPIENT_NOT_LICENSED_POLICY',
|
|
41
|
+
ShareErrRecipientDomainPolicy: 'SHARE_ERR_RECIPIENT_DOMAIN_POLICY',
|
|
42
|
+
ShareErrTeamHasExternalMember: 'SHARE_ERR_TEAM_HAS_EXTERNAL_MEMBER',
|
|
43
|
+
ShareErrRecipientOtherOrg: 'SHARE_ERR_RECIPIENT_OTHER_ORG',
|
|
44
|
+
ShareErrPolicyUnavailable: 'SHARE_ERR_POLICY_UNAVAILABLE',
|
|
45
|
+
ShareErrDestinationHasExternal: 'SHARE_ERR_DESTINATION_HAS_EXTERNAL',
|
|
46
|
+
} as const;
|
|
47
|
+
|
|
48
|
+
export type ViolationReasonEnum = typeof ViolationReasonEnum[keyof typeof ViolationReasonEnum];
|
|
49
|
+
|
|
50
|
+
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { Violation } from './violation';
|
|
19
|
+
|
|
20
|
+
export interface ViolationsResponse {
|
|
21
|
+
'items'?: Array<Violation>;
|
|
22
|
+
'nextCursor'?: string;
|
|
23
|
+
'count'?: number;
|
|
24
|
+
}
|
|
25
|
+
|