@openfilz-sdk/typescript-ee 1.12.16 → 1.12.18
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 +18 -0
- package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
- package/README.md +21 -2
- package/api/ownership-api.ts +1076 -0
- package/api/sharing-api.ts +210 -0
- package/api.ts +2 -0
- package/dist/api/ownership-api.d.ts +505 -0
- package/dist/api/ownership-api.js +1015 -0
- package/dist/api/sharing-api.d.ts +104 -0
- package/dist/api/sharing-api.js +209 -0
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/esm/api/ownership-api.d.ts +505 -0
- package/dist/esm/api/ownership-api.js +1008 -0
- package/dist/esm/api/sharing-api.d.ts +104 -0
- package/dist/esm/api/sharing-api.js +202 -0
- package/dist/esm/api.d.ts +2 -0
- package/dist/esm/api.js +2 -0
- package/dist/esm/models/enriched-audit-log.d.ts +9 -0
- package/dist/esm/models/enriched-audit-log.js +9 -0
- package/dist/esm/models/index.d.ts +7 -0
- package/dist/esm/models/index.js +7 -0
- package/dist/esm/models/notification-dto.d.ts +2 -0
- package/dist/esm/models/notification-dto.js +2 -0
- package/dist/esm/models/owned-document.d.ts +25 -0
- package/dist/esm/models/owned-document.js +17 -0
- package/dist/esm/models/owned-documents-filter.d.ts +45 -0
- package/dist/esm/models/owned-documents-filter.js +17 -0
- package/dist/esm/models/ownership-transfer-report.d.ts +29 -0
- package/dist/esm/models/ownership-transfer-report.js +14 -0
- package/dist/esm/models/ownership-transfer-request.d.ts +53 -0
- package/dist/esm/models/ownership-transfer-request.js +18 -0
- package/dist/esm/models/quota-check.d.ts +17 -0
- package/dist/esm/models/quota-check.js +14 -0
- package/dist/esm/models/search-by-audit-log-request.d.ts +9 -0
- package/dist/esm/models/search-by-audit-log-request.js +9 -0
- package/dist/esm/models/share-inheritance-request.d.ts +14 -0
- package/dist/esm/models/share-inheritance-request.js +14 -0
- package/dist/esm/models/share-inheritance.d.ts +16 -0
- package/dist/esm/models/share-inheritance.js +14 -0
- package/dist/esm/models/user-registration-request.d.ts +1 -0
- package/dist/models/enriched-audit-log.d.ts +9 -0
- package/dist/models/enriched-audit-log.js +9 -0
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +7 -0
- package/dist/models/notification-dto.d.ts +2 -0
- package/dist/models/notification-dto.js +2 -0
- package/dist/models/owned-document.d.ts +25 -0
- package/dist/models/owned-document.js +20 -0
- package/dist/models/owned-documents-filter.d.ts +45 -0
- package/dist/models/owned-documents-filter.js +20 -0
- package/dist/models/ownership-transfer-report.d.ts +29 -0
- package/dist/models/ownership-transfer-report.js +15 -0
- package/dist/models/ownership-transfer-request.d.ts +53 -0
- package/dist/models/ownership-transfer-request.js +21 -0
- package/dist/models/quota-check.d.ts +17 -0
- package/dist/models/quota-check.js +15 -0
- package/dist/models/search-by-audit-log-request.d.ts +9 -0
- package/dist/models/search-by-audit-log-request.js +9 -0
- package/dist/models/share-inheritance-request.d.ts +14 -0
- package/dist/models/share-inheritance-request.js +15 -0
- package/dist/models/share-inheritance.d.ts +16 -0
- package/dist/models/share-inheritance.js +15 -0
- package/dist/models/user-registration-request.d.ts +1 -0
- package/docs/OwnedDocument.md +32 -0
- package/docs/OwnedDocumentsFilter.md +31 -0
- package/docs/OwnershipApi.md +621 -0
- package/docs/OwnershipTransferReport.md +48 -0
- package/docs/OwnershipTransferRequest.md +37 -0
- package/docs/QuotaCheck.md +26 -0
- package/docs/ShareInheritance.md +24 -0
- package/docs/ShareInheritanceRequest.md +20 -0
- package/docs/SharingApi.md +114 -0
- package/docs/UserRegistrationRequest.md +2 -0
- package/models/enriched-audit-log-details.ts +26 -0
- package/models/enriched-audit-log.ts +9 -0
- package/models/index.ts +7 -0
- package/models/notification-dto.ts +2 -0
- package/models/owned-document.ts +34 -0
- package/models/owned-documents-filter.ts +54 -0
- package/models/ownership-transfer-report.ts +37 -0
- package/models/ownership-transfer-request.ts +64 -0
- package/models/quota-check.ts +23 -0
- package/models/search-by-audit-log-request.ts +9 -0
- package/models/share-inheritance-request.ts +20 -0
- package/models/share-inheritance.ts +22 -0
- package/models/user-registration-request.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# OwnershipTransferReport
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**jobId** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**status** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**fromUserId** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**toUserId** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**documents** | **number** | | [optional] [default to undefined]
|
|
13
|
+
**folders** | **number** | | [optional] [default to undefined]
|
|
14
|
+
**files** | **number** | | [optional] [default to undefined]
|
|
15
|
+
**bytes** | **number** | | [optional] [default to undefined]
|
|
16
|
+
**moved** | **number** | | [optional] [default to undefined]
|
|
17
|
+
**processed** | **number** | | [optional] [default to undefined]
|
|
18
|
+
**targetFolderId** | **string** | | [optional] [default to undefined]
|
|
19
|
+
**quota** | [**QuotaCheck**](QuotaCheck.md) | | [optional] [default to undefined]
|
|
20
|
+
**error** | **string** | | [optional] [default to undefined]
|
|
21
|
+
**createdAt** | **string** | | [optional] [default to undefined]
|
|
22
|
+
**updatedAt** | **string** | | [optional] [default to undefined]
|
|
23
|
+
|
|
24
|
+
## Example
|
|
25
|
+
|
|
26
|
+
```typescript
|
|
27
|
+
import { OwnershipTransferReport } from '@openfilz-sdk/typescript-ee';
|
|
28
|
+
|
|
29
|
+
const instance: OwnershipTransferReport = {
|
|
30
|
+
jobId,
|
|
31
|
+
status,
|
|
32
|
+
fromUserId,
|
|
33
|
+
toUserId,
|
|
34
|
+
documents,
|
|
35
|
+
folders,
|
|
36
|
+
files,
|
|
37
|
+
bytes,
|
|
38
|
+
moved,
|
|
39
|
+
processed,
|
|
40
|
+
targetFolderId,
|
|
41
|
+
quota,
|
|
42
|
+
error,
|
|
43
|
+
createdAt,
|
|
44
|
+
updatedAt,
|
|
45
|
+
};
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
[[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,37 @@
|
|
|
1
|
+
# OwnershipTransferRequest
|
|
2
|
+
|
|
3
|
+
Ownership transfer request
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**fromUserId** | **string** | | [default to undefined]
|
|
10
|
+
**toUserId** | **string** | | [default to undefined]
|
|
11
|
+
**all** | **boolean** | Every document the user owns, recycle bin included | [optional] [default to undefined]
|
|
12
|
+
**documentIds** | **Set<string>** | These documents, folders with their subtree (only what the user owns in it) | [optional] [default to undefined]
|
|
13
|
+
**filter** | [**OwnedDocumentsFilter**](OwnedDocumentsFilter.md) | The documents the filter selects, folders with their subtree | [optional] [default to undefined]
|
|
14
|
+
**keepAccess** | **string** | What the former owner keeps: NONE (default), READER or EDITOR | [optional] [default to undefined]
|
|
15
|
+
**targetFolderId** | **string** | Folder owned by the new owner that receives the transferred items whose parent stays behind; absent = the new owner\'s root | [optional] [default to undefined]
|
|
16
|
+
**dryRun** | **boolean** | Report what would happen, change nothing | [optional] [default to undefined]
|
|
17
|
+
**reason** | **string** | Why — required when the transfer bypasses the user\'s consent | [optional] [default to undefined]
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
import { OwnershipTransferRequest } from '@openfilz-sdk/typescript-ee';
|
|
23
|
+
|
|
24
|
+
const instance: OwnershipTransferRequest = {
|
|
25
|
+
fromUserId,
|
|
26
|
+
toUserId,
|
|
27
|
+
all,
|
|
28
|
+
documentIds,
|
|
29
|
+
filter,
|
|
30
|
+
keepAccess,
|
|
31
|
+
targetFolderId,
|
|
32
|
+
dryRun,
|
|
33
|
+
reason,
|
|
34
|
+
};
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
[[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,26 @@
|
|
|
1
|
+
# QuotaCheck
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**usedBytes** | **number** | | [optional] [default to undefined]
|
|
9
|
+
**transferBytes** | **number** | | [optional] [default to undefined]
|
|
10
|
+
**limitBytes** | **number** | | [optional] [default to undefined]
|
|
11
|
+
**exceeded** | **boolean** | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { QuotaCheck } from '@openfilz-sdk/typescript-ee';
|
|
17
|
+
|
|
18
|
+
const instance: QuotaCheck = {
|
|
19
|
+
usedBytes,
|
|
20
|
+
transferBytes,
|
|
21
|
+
limitBytes,
|
|
22
|
+
exceeded,
|
|
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,24 @@
|
|
|
1
|
+
# ShareInheritance
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**documentId** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**inherit** | **boolean** | | [optional] [default to undefined]
|
|
10
|
+
**canChange** | **boolean** | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { ShareInheritance } from '@openfilz-sdk/typescript-ee';
|
|
16
|
+
|
|
17
|
+
const instance: ShareInheritance = {
|
|
18
|
+
documentId,
|
|
19
|
+
inherit,
|
|
20
|
+
canChange,
|
|
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)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# ShareInheritanceRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**inherit** | **boolean** | | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { ShareInheritanceRequest } from '@openfilz-sdk/typescript-ee';
|
|
14
|
+
|
|
15
|
+
const instance: ShareInheritanceRequest = {
|
|
16
|
+
inherit,
|
|
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,114 @@
|
|
|
1
|
+
# SharingApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost:8081*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**getShareInheritance**](#getshareinheritance) | **GET** /api/v1/documents/{id}/share-inheritance | Does the document receive the shares of its ancestors?|
|
|
8
|
+
|[**setShareInheritance**](#setshareinheritance) | **PUT** /api/v1/users/share/inheritance/{id} | Stop (inherit=false) or resume (inherit=true) inheriting the ancestors\' shares|
|
|
9
|
+
|
|
10
|
+
# **getShareInheritance**
|
|
11
|
+
> ShareInheritance getShareInheritance()
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import {
|
|
18
|
+
SharingApi,
|
|
19
|
+
Configuration
|
|
20
|
+
} from '@openfilz-sdk/typescript-ee';
|
|
21
|
+
|
|
22
|
+
const configuration = new Configuration();
|
|
23
|
+
const apiInstance = new SharingApi(configuration);
|
|
24
|
+
|
|
25
|
+
let id: string; // (default to undefined)
|
|
26
|
+
|
|
27
|
+
const { status, data } = await apiInstance.getShareInheritance(
|
|
28
|
+
id
|
|
29
|
+
);
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### Parameters
|
|
33
|
+
|
|
34
|
+
|Name | Type | Description | Notes|
|
|
35
|
+
|------------- | ------------- | ------------- | -------------|
|
|
36
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Return type
|
|
40
|
+
|
|
41
|
+
**ShareInheritance**
|
|
42
|
+
|
|
43
|
+
### Authorization
|
|
44
|
+
|
|
45
|
+
[keycloak_auth](../README.md#keycloak_auth)
|
|
46
|
+
|
|
47
|
+
### HTTP request headers
|
|
48
|
+
|
|
49
|
+
- **Content-Type**: Not defined
|
|
50
|
+
- **Accept**: */*
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
### HTTP response details
|
|
54
|
+
| Status code | Description | Response headers |
|
|
55
|
+
|-------------|-------------|------------------|
|
|
56
|
+
|**200** | OK | - |
|
|
57
|
+
|
|
58
|
+
[[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)
|
|
59
|
+
|
|
60
|
+
# **setShareInheritance**
|
|
61
|
+
> ShareInheritance setShareInheritance(shareInheritanceRequest)
|
|
62
|
+
|
|
63
|
+
inherit=false removes every share the document and its subtree inherited from above; shares placed on the document or inside it remain and keep flowing down. inherit=true copies the parent\'s shares down again. Owner or SHARE_ADMIN. Audited SHARE_INHERITANCE_CHANGED.
|
|
64
|
+
|
|
65
|
+
### Example
|
|
66
|
+
|
|
67
|
+
```typescript
|
|
68
|
+
import {
|
|
69
|
+
SharingApi,
|
|
70
|
+
Configuration,
|
|
71
|
+
ShareInheritanceRequest
|
|
72
|
+
} from '@openfilz-sdk/typescript-ee';
|
|
73
|
+
|
|
74
|
+
const configuration = new Configuration();
|
|
75
|
+
const apiInstance = new SharingApi(configuration);
|
|
76
|
+
|
|
77
|
+
let id: string; // (default to undefined)
|
|
78
|
+
let shareInheritanceRequest: ShareInheritanceRequest; //
|
|
79
|
+
|
|
80
|
+
const { status, data } = await apiInstance.setShareInheritance(
|
|
81
|
+
id,
|
|
82
|
+
shareInheritanceRequest
|
|
83
|
+
);
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
### Parameters
|
|
87
|
+
|
|
88
|
+
|Name | Type | Description | Notes|
|
|
89
|
+
|------------- | ------------- | ------------- | -------------|
|
|
90
|
+
| **shareInheritanceRequest** | **ShareInheritanceRequest**| | |
|
|
91
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
### Return type
|
|
95
|
+
|
|
96
|
+
**ShareInheritance**
|
|
97
|
+
|
|
98
|
+
### Authorization
|
|
99
|
+
|
|
100
|
+
[keycloak_auth](../README.md#keycloak_auth)
|
|
101
|
+
|
|
102
|
+
### HTTP request headers
|
|
103
|
+
|
|
104
|
+
- **Content-Type**: application/json
|
|
105
|
+
- **Accept**: */*
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
### HTTP response details
|
|
109
|
+
| Status code | Description | Response headers |
|
|
110
|
+
|-------------|-------------|------------------|
|
|
111
|
+
|**200** | OK | - |
|
|
112
|
+
|
|
113
|
+
[[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)
|
|
114
|
+
|
|
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**name** | **string** | | [default to undefined]
|
|
9
9
|
**email** | **string** | | [default to undefined]
|
|
10
10
|
**status** | **string** | | [default to undefined]
|
|
11
|
+
**hostManaged** | **boolean** | | [optional] [default to undefined]
|
|
11
12
|
|
|
12
13
|
## Example
|
|
13
14
|
|
|
@@ -18,6 +19,7 @@ const instance: UserRegistrationRequest = {
|
|
|
18
19
|
name,
|
|
19
20
|
email,
|
|
20
21
|
status,
|
|
22
|
+
hostManaged,
|
|
21
23
|
};
|
|
22
24
|
```
|
|
23
25
|
|
|
@@ -22,6 +22,32 @@ import type { CreateFolderAudit } from './create-folder-audit';
|
|
|
22
22
|
// May contain unused imports in some cases
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import type { CreateFolderRequest } from './create-folder-request';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import type { CopyAudit } from './copy-audit';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import type { CreateFolderAudit } from './create-folder-audit';
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import type { DeleteAudit } from './delete-audit';
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
import type { DeleteMetadataAudit } from './delete-metadata-audit';
|
|
33
|
+
// @ts-ignore
|
|
34
|
+
import type { MoveAudit } from './move-audit';
|
|
35
|
+
// @ts-ignore
|
|
36
|
+
import type { PdfTransformAudit } from './pdf-transform-audit';
|
|
37
|
+
// @ts-ignore
|
|
38
|
+
import type { RenameAudit } from './rename-audit';
|
|
39
|
+
// @ts-ignore
|
|
40
|
+
import type { ReplaceAudit } from './replace-audit';
|
|
41
|
+
// @ts-ignore
|
|
42
|
+
import type { RestoreVersionAudit } from './restore-version-audit';
|
|
43
|
+
// @ts-ignore
|
|
44
|
+
import type { UpdateMetadataAudit } from './update-metadata-audit';
|
|
45
|
+
// @ts-ignore
|
|
46
|
+
import type { UploadAudit } from './upload-audit';
|
|
47
|
+
// @ts-ignore
|
|
48
|
+
import type { WorkflowActionFailureAudit } from './workflow-action-failure-audit';
|
|
49
|
+
// @ts-ignore
|
|
50
|
+
import type { WorkflowAudit } from './workflow-audit';
|
|
25
51
|
// May contain unused imports in some cases
|
|
26
52
|
// @ts-ignore
|
|
27
53
|
import type { DeleteAudit } from './delete-audit';
|
|
@@ -77,6 +77,15 @@ export const EnrichedAuditLogActionEnum = {
|
|
|
77
77
|
ShareDocumentCreate: 'SHARE_DOCUMENT_CREATE',
|
|
78
78
|
ShareDocumentUpdate: 'SHARE_DOCUMENT_UPDATE',
|
|
79
79
|
ShareDocumentDelete: 'SHARE_DOCUMENT_DELETE',
|
|
80
|
+
ShareInheritanceChanged: 'SHARE_INHERITANCE_CHANGED',
|
|
81
|
+
TeamCreated: 'TEAM_CREATED',
|
|
82
|
+
TeamUpdated: 'TEAM_UPDATED',
|
|
83
|
+
TeamDeleted: 'TEAM_DELETED',
|
|
84
|
+
TeamMembersAdded: 'TEAM_MEMBERS_ADDED',
|
|
85
|
+
TeamMembersRemoved: 'TEAM_MEMBERS_REMOVED',
|
|
86
|
+
OwnershipTransferred: 'OWNERSHIP_TRANSFERRED',
|
|
87
|
+
OwnershipTransferCompleted: 'OWNERSHIP_TRANSFER_COMPLETED',
|
|
88
|
+
ConsentBypassed: 'CONSENT_BYPASSED',
|
|
80
89
|
DelegatedGrantRequested: 'DELEGATED_GRANT_REQUESTED',
|
|
81
90
|
DelegatedGrantAccepted: 'DELEGATED_GRANT_ACCEPTED',
|
|
82
91
|
DelegatedGrantDeclined: 'DELEGATED_GRANT_DECLINED',
|
package/models/index.ts
CHANGED
|
@@ -114,6 +114,10 @@ export * from './my-tasks-count-dto';
|
|
|
114
114
|
export * from './notification-dto';
|
|
115
115
|
export * from './organize-request';
|
|
116
116
|
export * from './output-target';
|
|
117
|
+
export * from './owned-document';
|
|
118
|
+
export * from './owned-documents-filter';
|
|
119
|
+
export * from './ownership-transfer-report';
|
|
120
|
+
export * from './ownership-transfer-request';
|
|
117
121
|
export * from './page-instruction';
|
|
118
122
|
export * from './pdf-info';
|
|
119
123
|
export * from './pdf-operation-response';
|
|
@@ -123,6 +127,7 @@ export * from './pdf-page-info';
|
|
|
123
127
|
export * from './pdf-transform-audit';
|
|
124
128
|
export * from './per-definition';
|
|
125
129
|
export * from './public-signature-view';
|
|
130
|
+
export * from './quota-check';
|
|
126
131
|
export * from './quota-overview';
|
|
127
132
|
export * from './quota-usage';
|
|
128
133
|
export * from './quota-user-page';
|
|
@@ -151,6 +156,8 @@ export * from './search-by-metadata-request';
|
|
|
151
156
|
export * from './search-metadata-request';
|
|
152
157
|
export * from './setting-dto';
|
|
153
158
|
export * from './settings';
|
|
159
|
+
export * from './share-inheritance';
|
|
160
|
+
export * from './share-inheritance-request';
|
|
154
161
|
export * from './share-request';
|
|
155
162
|
export * from './share-result-error';
|
|
156
163
|
export * from './share-result-item';
|
|
@@ -41,6 +41,8 @@ export const NotificationDTOTypeEnum = {
|
|
|
41
41
|
WorkflowTaskOverdue: 'WORKFLOW_TASK_OVERDUE',
|
|
42
42
|
WorkflowCompleted: 'WORKFLOW_COMPLETED',
|
|
43
43
|
WorkflowCancelled: 'WORKFLOW_CANCELLED',
|
|
44
|
+
OwnershipReceived: 'OWNERSHIP_RECEIVED',
|
|
45
|
+
OwnershipRemoved: 'OWNERSHIP_REMOVED',
|
|
44
46
|
} as const;
|
|
45
47
|
|
|
46
48
|
export type NotificationDTOTypeEnum = typeof NotificationDTOTypeEnum[keyof typeof NotificationDTOTypeEnum];
|
|
@@ -0,0 +1,34 @@
|
|
|
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 OwnedDocument {
|
|
18
|
+
'id'?: string;
|
|
19
|
+
'name'?: string;
|
|
20
|
+
'type'?: OwnedDocumentTypeEnum;
|
|
21
|
+
'parentId'?: string;
|
|
22
|
+
'size'?: number;
|
|
23
|
+
'updatedAt'?: string;
|
|
24
|
+
'active'?: boolean;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export const OwnedDocumentTypeEnum = {
|
|
28
|
+
File: 'FILE',
|
|
29
|
+
Folder: 'FOLDER',
|
|
30
|
+
} as const;
|
|
31
|
+
|
|
32
|
+
export type OwnedDocumentTypeEnum = typeof OwnedDocumentTypeEnum[keyof typeof OwnedDocumentTypeEnum];
|
|
33
|
+
|
|
34
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
/**
|
|
18
|
+
* Filter on the documents owned by a user
|
|
19
|
+
*/
|
|
20
|
+
export interface OwnedDocumentsFilter {
|
|
21
|
+
/**
|
|
22
|
+
* Children of this folder (owned by the user)
|
|
23
|
+
*/
|
|
24
|
+
'parentId'?: string;
|
|
25
|
+
/**
|
|
26
|
+
* With parentId: every descendant; without: every owned document
|
|
27
|
+
*/
|
|
28
|
+
'recursive'?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* FILE or FOLDER
|
|
31
|
+
*/
|
|
32
|
+
'type'?: OwnedDocumentsFilterTypeEnum;
|
|
33
|
+
/**
|
|
34
|
+
* Case-insensitive part of the name
|
|
35
|
+
*/
|
|
36
|
+
'name'?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Last modified at or after
|
|
39
|
+
*/
|
|
40
|
+
'updatedAfter'?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Last modified at or before
|
|
43
|
+
*/
|
|
44
|
+
'updatedBefore'?: string;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export const OwnedDocumentsFilterTypeEnum = {
|
|
48
|
+
File: 'FILE',
|
|
49
|
+
Folder: 'FOLDER',
|
|
50
|
+
} as const;
|
|
51
|
+
|
|
52
|
+
export type OwnedDocumentsFilterTypeEnum = typeof OwnedDocumentsFilterTypeEnum[keyof typeof OwnedDocumentsFilterTypeEnum];
|
|
53
|
+
|
|
54
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
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 { QuotaCheck } from './quota-check';
|
|
19
|
+
|
|
20
|
+
export interface OwnershipTransferReport {
|
|
21
|
+
'jobId'?: string;
|
|
22
|
+
'status'?: string;
|
|
23
|
+
'fromUserId'?: string;
|
|
24
|
+
'toUserId'?: string;
|
|
25
|
+
'documents'?: number;
|
|
26
|
+
'folders'?: number;
|
|
27
|
+
'files'?: number;
|
|
28
|
+
'bytes'?: number;
|
|
29
|
+
'moved'?: number;
|
|
30
|
+
'processed'?: number;
|
|
31
|
+
'targetFolderId'?: string;
|
|
32
|
+
'quota'?: QuotaCheck;
|
|
33
|
+
'error'?: string;
|
|
34
|
+
'createdAt'?: string;
|
|
35
|
+
'updatedAt'?: string;
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -0,0 +1,64 @@
|
|
|
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 { OwnedDocumentsFilter } from './owned-documents-filter';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Ownership transfer request
|
|
22
|
+
*/
|
|
23
|
+
export interface OwnershipTransferRequest {
|
|
24
|
+
'fromUserId': string;
|
|
25
|
+
'toUserId': string;
|
|
26
|
+
/**
|
|
27
|
+
* Every document the user owns, recycle bin included
|
|
28
|
+
*/
|
|
29
|
+
'all'?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* These documents, folders with their subtree (only what the user owns in it)
|
|
32
|
+
*/
|
|
33
|
+
'documentIds'?: Set<string>;
|
|
34
|
+
/**
|
|
35
|
+
* The documents the filter selects, folders with their subtree
|
|
36
|
+
*/
|
|
37
|
+
'filter'?: OwnedDocumentsFilter;
|
|
38
|
+
/**
|
|
39
|
+
* What the former owner keeps: NONE (default), READER or EDITOR
|
|
40
|
+
*/
|
|
41
|
+
'keepAccess'?: OwnershipTransferRequestKeepAccessEnum;
|
|
42
|
+
/**
|
|
43
|
+
* Folder owned by the new owner that receives the transferred items whose parent stays behind; absent = the new owner\'s root
|
|
44
|
+
*/
|
|
45
|
+
'targetFolderId'?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Report what would happen, change nothing
|
|
48
|
+
*/
|
|
49
|
+
'dryRun'?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Why — required when the transfer bypasses the user\'s consent
|
|
52
|
+
*/
|
|
53
|
+
'reason'?: string;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export const OwnershipTransferRequestKeepAccessEnum = {
|
|
57
|
+
None: 'NONE',
|
|
58
|
+
Reader: 'READER',
|
|
59
|
+
Editor: 'EDITOR',
|
|
60
|
+
} as const;
|
|
61
|
+
|
|
62
|
+
export type OwnershipTransferRequestKeepAccessEnum = typeof OwnershipTransferRequestKeepAccessEnum[keyof typeof OwnershipTransferRequestKeepAccessEnum];
|
|
63
|
+
|
|
64
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
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 QuotaCheck {
|
|
18
|
+
'usedBytes'?: number;
|
|
19
|
+
'transferBytes'?: number;
|
|
20
|
+
'limitBytes'?: number;
|
|
21
|
+
'exceeded'?: boolean;
|
|
22
|
+
}
|
|
23
|
+
|
|
@@ -90,6 +90,15 @@ export const SearchByAuditLogRequestActionEnum = {
|
|
|
90
90
|
ShareDocumentCreate: 'SHARE_DOCUMENT_CREATE',
|
|
91
91
|
ShareDocumentUpdate: 'SHARE_DOCUMENT_UPDATE',
|
|
92
92
|
ShareDocumentDelete: 'SHARE_DOCUMENT_DELETE',
|
|
93
|
+
ShareInheritanceChanged: 'SHARE_INHERITANCE_CHANGED',
|
|
94
|
+
TeamCreated: 'TEAM_CREATED',
|
|
95
|
+
TeamUpdated: 'TEAM_UPDATED',
|
|
96
|
+
TeamDeleted: 'TEAM_DELETED',
|
|
97
|
+
TeamMembersAdded: 'TEAM_MEMBERS_ADDED',
|
|
98
|
+
TeamMembersRemoved: 'TEAM_MEMBERS_REMOVED',
|
|
99
|
+
OwnershipTransferred: 'OWNERSHIP_TRANSFERRED',
|
|
100
|
+
OwnershipTransferCompleted: 'OWNERSHIP_TRANSFER_COMPLETED',
|
|
101
|
+
ConsentBypassed: 'CONSENT_BYPASSED',
|
|
93
102
|
DelegatedGrantRequested: 'DELEGATED_GRANT_REQUESTED',
|
|
94
103
|
DelegatedGrantAccepted: 'DELEGATED_GRANT_ACCEPTED',
|
|
95
104
|
DelegatedGrantDeclined: 'DELEGATED_GRANT_DECLINED',
|
|
@@ -0,0 +1,20 @@
|
|
|
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 ShareInheritanceRequest {
|
|
18
|
+
'inherit'?: boolean;
|
|
19
|
+
}
|
|
20
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
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 ShareInheritance {
|
|
18
|
+
'documentId'?: string;
|
|
19
|
+
'inherit'?: boolean;
|
|
20
|
+
'canChange'?: boolean;
|
|
21
|
+
}
|
|
22
|
+
|