@openfilz-sdk/typescript-ee 1.10.4 → 1.10.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/.openapi-generator/FILES +20 -0
  2. package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
  3. package/README.md +20 -2
  4. package/api/desktop-sync-administration-api.ts +186 -0
  5. package/api/desktop-sync-api.ts +617 -0
  6. package/api/document-controller-api.ts +8 -8
  7. package/api/file-controller-api.ts +82 -0
  8. package/api.ts +2 -0
  9. package/dist/api/desktop-sync-administration-api.d.ts +91 -0
  10. package/dist/api/desktop-sync-administration-api.js +187 -0
  11. package/dist/api/desktop-sync-api.d.ts +282 -0
  12. package/dist/api/desktop-sync-api.js +590 -0
  13. package/dist/api/document-controller-api.d.ts +8 -8
  14. package/dist/api/document-controller-api.js +8 -8
  15. package/dist/api/file-controller-api.d.ts +38 -0
  16. package/dist/api/file-controller-api.js +75 -0
  17. package/dist/api.d.ts +2 -0
  18. package/dist/api.js +2 -0
  19. package/dist/esm/api/desktop-sync-administration-api.d.ts +91 -0
  20. package/dist/esm/api/desktop-sync-administration-api.js +180 -0
  21. package/dist/esm/api/desktop-sync-api.d.ts +282 -0
  22. package/dist/esm/api/desktop-sync-api.js +583 -0
  23. package/dist/esm/api/document-controller-api.d.ts +8 -8
  24. package/dist/esm/api/document-controller-api.js +8 -8
  25. package/dist/esm/api/file-controller-api.d.ts +38 -0
  26. package/dist/esm/api/file-controller-api.js +75 -0
  27. package/dist/esm/api.d.ts +2 -0
  28. package/dist/esm/api.js +2 -0
  29. package/dist/esm/models/copy-request.d.ts +1 -1
  30. package/dist/esm/models/desktop-sync-client-info.d.ts +20 -0
  31. package/dist/esm/models/desktop-sync-client-info.js +14 -0
  32. package/dist/esm/models/enriched-audit-log.d.ts +1 -0
  33. package/dist/esm/models/enriched-audit-log.js +1 -0
  34. package/dist/esm/models/index.d.ts +8 -0
  35. package/dist/esm/models/index.js +8 -0
  36. package/dist/esm/models/move-request.d.ts +1 -1
  37. package/dist/esm/models/search-by-audit-log-request.d.ts +1 -0
  38. package/dist/esm/models/search-by-audit-log-request.js +1 -0
  39. package/dist/esm/models/settings.d.ts +3 -0
  40. package/dist/esm/models/sync-backfill-status.d.ts +21 -0
  41. package/dist/esm/models/sync-backfill-status.js +14 -0
  42. package/dist/esm/models/sync-changes-response.d.ts +17 -0
  43. package/dist/esm/models/sync-changes-response.js +14 -0
  44. package/dist/esm/models/sync-item.d.ts +29 -0
  45. package/dist/esm/models/sync-item.js +17 -0
  46. package/dist/esm/models/sync-snapshot-response.d.ts +17 -0
  47. package/dist/esm/models/sync-snapshot-response.js +14 -0
  48. package/dist/esm/models/unzip-request.d.ts +29 -0
  49. package/dist/esm/models/unzip-request.js +14 -0
  50. package/dist/esm/models/unzip-response.d.ts +34 -0
  51. package/dist/esm/models/unzip-response.js +14 -0
  52. package/dist/esm/models/unzip-skipped-entry.d.ts +34 -0
  53. package/dist/esm/models/unzip-skipped-entry.js +21 -0
  54. package/dist/models/copy-request.d.ts +1 -1
  55. package/dist/models/desktop-sync-client-info.d.ts +20 -0
  56. package/dist/models/desktop-sync-client-info.js +15 -0
  57. package/dist/models/enriched-audit-log.d.ts +1 -0
  58. package/dist/models/enriched-audit-log.js +1 -0
  59. package/dist/models/index.d.ts +8 -0
  60. package/dist/models/index.js +8 -0
  61. package/dist/models/move-request.d.ts +1 -1
  62. package/dist/models/search-by-audit-log-request.d.ts +1 -0
  63. package/dist/models/search-by-audit-log-request.js +1 -0
  64. package/dist/models/settings.d.ts +3 -0
  65. package/dist/models/sync-backfill-status.d.ts +21 -0
  66. package/dist/models/sync-backfill-status.js +15 -0
  67. package/dist/models/sync-changes-response.d.ts +17 -0
  68. package/dist/models/sync-changes-response.js +15 -0
  69. package/dist/models/sync-item.d.ts +29 -0
  70. package/dist/models/sync-item.js +20 -0
  71. package/dist/models/sync-snapshot-response.d.ts +17 -0
  72. package/dist/models/sync-snapshot-response.js +15 -0
  73. package/dist/models/unzip-request.d.ts +29 -0
  74. package/dist/models/unzip-request.js +15 -0
  75. package/dist/models/unzip-response.d.ts +34 -0
  76. package/dist/models/unzip-response.js +15 -0
  77. package/dist/models/unzip-skipped-entry.d.ts +34 -0
  78. package/dist/models/unzip-skipped-entry.js +24 -0
  79. package/docs/CopyRequest.md +1 -1
  80. package/docs/DesktopSyncAdministrationApi.md +96 -0
  81. package/docs/DesktopSyncApi.md +376 -0
  82. package/docs/DesktopSyncClientInfo.md +32 -0
  83. package/docs/DocumentControllerApi.md +4 -4
  84. package/docs/FileControllerApi.md +56 -0
  85. package/docs/MoveRequest.md +1 -1
  86. package/docs/Settings.md +2 -0
  87. package/docs/SyncBackfillStatus.md +34 -0
  88. package/docs/SyncChangesResponse.md +24 -0
  89. package/docs/SyncItem.md +40 -0
  90. package/docs/SyncSnapshotResponse.md +24 -0
  91. package/docs/UnzipRequest.md +26 -0
  92. package/docs/UnzipResponse.md +28 -0
  93. package/docs/UnzipSkippedEntry.md +24 -0
  94. package/graphql/document.graphqls +6 -0
  95. package/models/copy-request.ts +1 -1
  96. package/models/desktop-sync-client-info.ts +26 -0
  97. package/models/enriched-audit-log.ts +1 -0
  98. package/models/index.ts +8 -0
  99. package/models/move-request.ts +1 -1
  100. package/models/search-by-audit-log-request.ts +1 -0
  101. package/models/settings.ts +1 -0
  102. package/models/sync-backfill-status.ts +27 -0
  103. package/models/sync-changes-response.ts +25 -0
  104. package/models/sync-item.ts +38 -0
  105. package/models/sync-snapshot-response.ts +25 -0
  106. package/models/unzip-request.ts +35 -0
  107. package/models/unzip-response.ts +42 -0
  108. package/models/unzip-skipped-entry.ts +43 -0
  109. package/package.json +1 -1
@@ -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,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 { SyncItem } from './sync-item';
13
+ export interface SyncChangesResponse {
14
+ 'cursor'?: number;
15
+ 'hasMore'?: boolean;
16
+ 'items'?: Array<SyncItem>;
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,29 @@
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 SyncItem {
13
+ 'id'?: string;
14
+ 'gone'?: boolean;
15
+ 'type'?: SyncItemTypeEnum;
16
+ 'parentId'?: string;
17
+ 'name'?: string;
18
+ 'size'?: number;
19
+ 'sha256'?: string;
20
+ 'updatedAt'?: string;
21
+ 'shareRoot'?: boolean;
22
+ 'canWrite'?: boolean;
23
+ 'canDelete'?: boolean;
24
+ }
25
+ export declare const SyncItemTypeEnum: {
26
+ readonly File: "FILE";
27
+ readonly Folder: "FOLDER";
28
+ };
29
+ export type SyncItemTypeEnum = typeof SyncItemTypeEnum[keyof typeof SyncItemTypeEnum];
@@ -0,0 +1,17 @@
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 SyncItemTypeEnum = {
15
+ File: 'FILE',
16
+ Folder: 'FOLDER',
17
+ };
@@ -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 { SyncItem } from './sync-item';
13
+ export interface SyncSnapshotResponse {
14
+ 'cursor'?: number;
15
+ 'after'?: string;
16
+ 'items'?: Array<SyncItem>;
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,29 @@
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 UnzipRequest {
13
+ /**
14
+ * Folder to extract into. Omitted (and targetRoot not set): the folder containing the ZIP.
15
+ */
16
+ 'targetFolderId'?: string;
17
+ /**
18
+ * Extract at the root, whatever targetFolderId says.
19
+ */
20
+ 'targetRoot'?: boolean;
21
+ /**
22
+ * Create a folder of this name in the destination and extract into it.
23
+ */
24
+ 'newFolderName'?: string;
25
+ /**
26
+ * When true, files are extracted even if a document of the same name already exists in their destination folder. When false (default), such entries are skipped and listed in the response. Existing folders are always merged.
27
+ */
28
+ 'allowDuplicateFileNames'?: boolean;
29
+ }
@@ -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,34 @@
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 { UnzipSkippedEntry } from './unzip-skipped-entry';
13
+ export interface UnzipResponse {
14
+ /**
15
+ * Folder the archive was extracted into (null = root).
16
+ */
17
+ 'targetFolderId'?: string;
18
+ /**
19
+ * Id of the folder created from newFolderName, if any.
20
+ */
21
+ 'createdFolderId'?: string;
22
+ /**
23
+ * Number of folders created.
24
+ */
25
+ 'foldersCreated'?: number;
26
+ /**
27
+ * Number of files extracted.
28
+ */
29
+ 'filesExtracted'?: number;
30
+ /**
31
+ * Entries that were not extracted, with the reason.
32
+ */
33
+ 'skipped'?: Array<UnzipSkippedEntry>;
34
+ }
@@ -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,34 @@
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 UnzipSkippedEntry {
13
+ /**
14
+ * Path of the entry inside the archive.
15
+ */
16
+ 'path'?: string;
17
+ /**
18
+ * Why it was skipped.
19
+ */
20
+ 'reason'?: UnzipSkippedEntryReasonEnum;
21
+ /**
22
+ * Details, when available.
23
+ */
24
+ 'message'?: string;
25
+ }
26
+ export declare const UnzipSkippedEntryReasonEnum: {
27
+ readonly DuplicateName: "DUPLICATE_NAME";
28
+ readonly UnsafePath: "UNSAFE_PATH";
29
+ readonly Unsupported: "UNSUPPORTED";
30
+ readonly FileTooLarge: "FILE_TOO_LARGE";
31
+ readonly ParentNotCreated: "PARENT_NOT_CREATED";
32
+ readonly Error: "ERROR";
33
+ };
34
+ export type UnzipSkippedEntryReasonEnum = typeof UnzipSkippedEntryReasonEnum[keyof typeof UnzipSkippedEntryReasonEnum];
@@ -0,0 +1,21 @@
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 UnzipSkippedEntryReasonEnum = {
15
+ DuplicateName: 'DUPLICATE_NAME',
16
+ UnsafePath: 'UNSAFE_PATH',
17
+ Unsupported: 'UNSUPPORTED',
18
+ FileTooLarge: 'FILE_TOO_LARGE',
19
+ ParentNotCreated: 'PARENT_NOT_CREATED',
20
+ Error: 'ERROR',
21
+ };
@@ -19,7 +19,7 @@ export interface CopyRequest {
19
19
  */
20
20
  'targetFolderId'?: string;
21
21
  /**
22
- * when true : if a file with the same name already exists in the target parent folder, a 409 error is raised. When false : the file will be stored (but no existing file with same name will be overwritten)
22
+ * When true, the file is stored even if a document of the same name already exists in the target folder (nothing is overwritten). When false (default), a 409 is returned.
23
23
  */
24
24
  'allowDuplicateFileNames'?: boolean;
25
25
  }
@@ -0,0 +1,20 @@
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 DesktopSyncClientInfo {
13
+ 'server'?: string;
14
+ 'issuer'?: string;
15
+ 'clientId'?: string;
16
+ 'updateUrl'?: string;
17
+ 'downloadUrl'?: string;
18
+ 'webUrl'?: string;
19
+ 'apiVersion'?: number;
20
+ }
@@ -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 });
@@ -43,6 +43,7 @@ export declare const EnrichedAuditLogActionEnum: {
43
43
  readonly ReplaceDocumentMetadata: "REPLACE_DOCUMENT_METADATA";
44
44
  readonly UpdateDocumentMetadata: "UPDATE_DOCUMENT_METADATA";
45
45
  readonly DownloadDocument: "DOWNLOAD_DOCUMENT";
46
+ readonly OpenDocument: "OPEN_DOCUMENT";
46
47
  readonly DeleteDocumentMetadata: "DELETE_DOCUMENT_METADATA";
47
48
  readonly RestoreFile: "RESTORE_FILE";
48
49
  readonly RestoreFolder: "RESTORE_FOLDER";
@@ -32,6 +32,7 @@ exports.EnrichedAuditLogActionEnum = {
32
32
  ReplaceDocumentMetadata: 'REPLACE_DOCUMENT_METADATA',
33
33
  UpdateDocumentMetadata: 'UPDATE_DOCUMENT_METADATA',
34
34
  DownloadDocument: 'DOWNLOAD_DOCUMENT',
35
+ OpenDocument: 'OPEN_DOCUMENT',
35
36
  DeleteDocumentMetadata: 'DELETE_DOCUMENT_METADATA',
36
37
  RestoreFile: 'RESTORE_FILE',
37
38
  RestoreFolder: 'RESTORE_FOLDER',
@@ -58,6 +58,7 @@ export * from './delete-metadata-audit';
58
58
  export * from './delete-metadata-request';
59
59
  export * from './delete-request';
60
60
  export * from './delete-share-request';
61
+ export * from './desktop-sync-client-info';
61
62
  export * from './document-info';
62
63
  export * from './document-insight-view';
63
64
  export * from './document-integrity-record';
@@ -162,6 +163,10 @@ export * from './split-request';
162
163
  export * from './start-workflow-request';
163
164
  export * from './storage-breakdown';
164
165
  export * from './suggest';
166
+ export * from './sync-backfill-status';
167
+ export * from './sync-changes-response';
168
+ export * from './sync-item';
169
+ export * from './sync-snapshot-response';
165
170
  export * from './team-inbox-request';
166
171
  export * from './team-inbox-view';
167
172
  export * from './team-member-info';
@@ -170,6 +175,9 @@ export * from './tus-config-response';
170
175
  export * from './tus-finalize-request';
171
176
  export * from './tus-upload-info';
172
177
  export * from './untouched';
178
+ export * from './unzip-request';
179
+ export * from './unzip-response';
180
+ export * from './unzip-skipped-entry';
173
181
  export * from './update-comment-request';
174
182
  export * from './update-metadata-audit';
175
183
  export * from './update-metadata-request';
@@ -74,6 +74,7 @@ __exportStar(require("./delete-metadata-audit"), exports);
74
74
  __exportStar(require("./delete-metadata-request"), exports);
75
75
  __exportStar(require("./delete-request"), exports);
76
76
  __exportStar(require("./delete-share-request"), exports);
77
+ __exportStar(require("./desktop-sync-client-info"), exports);
77
78
  __exportStar(require("./document-info"), exports);
78
79
  __exportStar(require("./document-insight-view"), exports);
79
80
  __exportStar(require("./document-integrity-record"), exports);
@@ -178,6 +179,10 @@ __exportStar(require("./split-request"), exports);
178
179
  __exportStar(require("./start-workflow-request"), exports);
179
180
  __exportStar(require("./storage-breakdown"), exports);
180
181
  __exportStar(require("./suggest"), exports);
182
+ __exportStar(require("./sync-backfill-status"), exports);
183
+ __exportStar(require("./sync-changes-response"), exports);
184
+ __exportStar(require("./sync-item"), exports);
185
+ __exportStar(require("./sync-snapshot-response"), exports);
181
186
  __exportStar(require("./team-inbox-request"), exports);
182
187
  __exportStar(require("./team-inbox-view"), exports);
183
188
  __exportStar(require("./team-member-info"), exports);
@@ -186,6 +191,9 @@ __exportStar(require("./tus-config-response"), exports);
186
191
  __exportStar(require("./tus-finalize-request"), exports);
187
192
  __exportStar(require("./tus-upload-info"), exports);
188
193
  __exportStar(require("./untouched"), exports);
194
+ __exportStar(require("./unzip-request"), exports);
195
+ __exportStar(require("./unzip-response"), exports);
196
+ __exportStar(require("./unzip-skipped-entry"), exports);
189
197
  __exportStar(require("./update-comment-request"), exports);
190
198
  __exportStar(require("./update-metadata-audit"), exports);
191
199
  __exportStar(require("./update-metadata-request"), exports);
@@ -19,7 +19,7 @@ export interface MoveRequest {
19
19
  */
20
20
  'targetFolderId'?: string;
21
21
  /**
22
- * when true : if a file with the same name already exists in the target parent folder, a 409 error is raised. When false : the file will be stored (but no existing file with same name will be overwritten)
22
+ * When true, the file is stored even if a document of the same name already exists in the target folder (nothing is overwritten). When false (default), a 409 is returned.
23
23
  */
24
24
  'allowDuplicateFileNames'?: boolean;
25
25
  }
@@ -59,6 +59,7 @@ export declare const SearchByAuditLogRequestActionEnum: {
59
59
  readonly ReplaceDocumentMetadata: "REPLACE_DOCUMENT_METADATA";
60
60
  readonly UpdateDocumentMetadata: "UPDATE_DOCUMENT_METADATA";
61
61
  readonly DownloadDocument: "DOWNLOAD_DOCUMENT";
62
+ readonly OpenDocument: "OPEN_DOCUMENT";
62
63
  readonly DeleteDocumentMetadata: "DELETE_DOCUMENT_METADATA";
63
64
  readonly RestoreFile: "RESTORE_FILE";
64
65
  readonly RestoreFolder: "RESTORE_FOLDER";
@@ -36,6 +36,7 @@ exports.SearchByAuditLogRequestActionEnum = {
36
36
  ReplaceDocumentMetadata: 'REPLACE_DOCUMENT_METADATA',
37
37
  UpdateDocumentMetadata: 'UPDATE_DOCUMENT_METADATA',
38
38
  DownloadDocument: 'DOWNLOAD_DOCUMENT',
39
+ OpenDocument: 'OPEN_DOCUMENT',
39
40
  DeleteDocumentMetadata: 'DELETE_DOCUMENT_METADATA',
40
41
  RestoreFile: 'RESTORE_FILE',
41
42
  RestoreFolder: 'RESTORE_FOLDER',
@@ -41,4 +41,7 @@ export interface Settings {
41
41
  'mcpMode'?: string;
42
42
  'mcpAuthorizationServerUrl'?: string;
43
43
  'mcpClientId'?: string;
44
+ 'extensions'?: {
45
+ [key: string]: any;
46
+ };
44
47
  }
@@ -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 SyncBackfillStatus {
13
+ 'status'?: string;
14
+ 'startedAt'?: string;
15
+ 'finishedAt'?: string;
16
+ 'files'?: number;
17
+ 'sizesCorrected'?: number;
18
+ 'hashesAdded'?: number;
19
+ 'failures'?: number;
20
+ 'lastError'?: string;
21
+ }
@@ -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,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 { SyncItem } from './sync-item';
13
+ export interface SyncChangesResponse {
14
+ 'cursor'?: number;
15
+ 'hasMore'?: boolean;
16
+ 'items'?: Array<SyncItem>;
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,29 @@
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 SyncItem {
13
+ 'id'?: string;
14
+ 'gone'?: boolean;
15
+ 'type'?: SyncItemTypeEnum;
16
+ 'parentId'?: string;
17
+ 'name'?: string;
18
+ 'size'?: number;
19
+ 'sha256'?: string;
20
+ 'updatedAt'?: string;
21
+ 'shareRoot'?: boolean;
22
+ 'canWrite'?: boolean;
23
+ 'canDelete'?: boolean;
24
+ }
25
+ export declare const SyncItemTypeEnum: {
26
+ readonly File: "FILE";
27
+ readonly Folder: "FOLDER";
28
+ };
29
+ export type SyncItemTypeEnum = typeof SyncItemTypeEnum[keyof typeof SyncItemTypeEnum];
@@ -0,0 +1,20 @@
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.SyncItemTypeEnum = void 0;
17
+ exports.SyncItemTypeEnum = {
18
+ File: 'FILE',
19
+ Folder: 'FOLDER',
20
+ };
@@ -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 { SyncItem } from './sync-item';
13
+ export interface SyncSnapshotResponse {
14
+ 'cursor'?: number;
15
+ 'after'?: string;
16
+ 'items'?: Array<SyncItem>;
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,29 @@
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 UnzipRequest {
13
+ /**
14
+ * Folder to extract into. Omitted (and targetRoot not set): the folder containing the ZIP.
15
+ */
16
+ 'targetFolderId'?: string;
17
+ /**
18
+ * Extract at the root, whatever targetFolderId says.
19
+ */
20
+ 'targetRoot'?: boolean;
21
+ /**
22
+ * Create a folder of this name in the destination and extract into it.
23
+ */
24
+ 'newFolderName'?: string;
25
+ /**
26
+ * When true, files are extracted even if a document of the same name already exists in their destination folder. When false (default), such entries are skipped and listed in the response. Existing folders are always merged.
27
+ */
28
+ 'allowDuplicateFileNames'?: boolean;
29
+ }
@@ -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 });