@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
@@ -155,7 +155,7 @@ export declare const DocumentControllerApiAxiosParamCreator: (configuration?: Co
155
155
  * Uploads multiple files, optionally with metadata and a parent folder ID. Returns HTTP 200 if all uploads succeed, HTTP 207 (Multi-Status) if some succeed and some fail, or an appropriate error status (404, 409, 403, 500) if all uploads fail.
156
156
  * @summary Upload multiple documents
157
157
  * @param {Array<File>} file
158
- * @param {boolean} [allowDuplicateFileNames] 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)
158
+ * @param {boolean} [allowDuplicateFileNames] 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.
159
159
  * @param {boolean} [autoFile] Smart filing: true asks OpenFilz to choose the destination folder of the uploaded file(s) after the upload (a job id comes back in autoFile.jobId); false leaves them where they are; absent &#x3D; the user\&#39;s own switch. Needs openfilz.ai.auto-file.active.
160
160
  * @param {string} [parametersByFilename] Paste the JSON array here&lt;br&gt;This array provides optional metadata and attributes for the uploaded files&lt;br&gt;&lt;section&gt; &lt;h3&gt;Each object in the array must contain:&lt;/h3&gt; &lt;table&gt; &lt;thead&gt; &lt;tr&gt; &lt;th&gt;Field&lt;/th&gt; &lt;th&gt;Type&lt;/th&gt; &lt;th&gt;Description&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;filename&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;String&lt;/code&gt;&lt;/td&gt; &lt;td&gt;Must match the filename of one of the uploaded files. Filenames must be unique in the upload request.&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;fileAttributes&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;JSON Object&lt;/code&gt;&lt;/td&gt; &lt;td&gt;Container for metadata and other file-specific attributes.&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;h4&gt;Inside &lt;code&gt;fileAttributes&lt;/code&gt;:&lt;/h4&gt; &lt;table&gt; &lt;thead&gt; &lt;tr&gt; &lt;th&gt;Field&lt;/th&gt; &lt;th&gt;Type&lt;/th&gt; &lt;th&gt;Description&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;parentFolderId&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;UUID&lt;/code&gt;&lt;/td&gt; &lt;td&gt;UUID of the target folder to upload the file (if not provided : the file will be uploaded at the root level)&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;metadata&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;Map&amp;lt;String, JSON Object&amp;gt;&lt;/code&gt;&lt;/td&gt; &lt;td&gt;Arbitrary metadata to associate with the file (key/value pairs).&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;h4&gt;Example of &lt;code&gt;parametersByFilename&lt;/code&gt; JSON array :&lt;/h4&gt; &lt;pre&gt;&lt;code&gt;[ { \\\&quot;filename\\\&quot;: \\\&quot;file1.txt\\\&quot;, \\\&quot;fileAttributes\\\&quot;: { \\\&quot;parentFolderId\\\&quot;: \\\&quot;f8c3de3d-1fea-4d7c-a8b0-29f63c4c3454\\\&quot;, \\\&quot;metadata\\\&quot;: { \\\&quot;country\\\&quot;: \\\&quot;UK\\\&quot;, \\\&quot;owner\\\&quot;: { \\\&quot;name\\\&quot;: \\\&quot;Joe\\\&quot;, \\\&quot;owner_id\\\&quot;: 1234568 } } } }, { \\\&quot;filename\\\&quot;: \\\&quot;file2.md\\\&quot;, \\\&quot;fileAttributes\\\&quot;: { \\\&quot;metadata\\\&quot;: { \\\&quot;key1\\\&quot;: \\\&quot;value1\\\&quot;, \\\&quot;key2\\\&quot;: \\\&quot;value2\\\&quot;, \\\&quot;key3\\\&quot;: \\\&quot;value3\\\&quot; } } } ]&lt;/code&gt;&lt;/pre&gt; &lt;/section&gt;
161
161
  * @param {*} [options] Override http request option.
@@ -166,7 +166,7 @@ export declare const DocumentControllerApiAxiosParamCreator: (configuration?: Co
166
166
  * Uploads a single file, optionally with metadata and a parent folder ID.
167
167
  * @summary Upload a single document
168
168
  * @param {File} file
169
- * @param {boolean} [allowDuplicateFileNames] 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)
169
+ * @param {boolean} [allowDuplicateFileNames] 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.
170
170
  * @param {boolean} [autoFile] Smart filing: true asks OpenFilz to choose the destination folder of the uploaded file(s) after the upload (a job id comes back in autoFile.jobId); false leaves them where they are; absent &#x3D; the user\&#39;s own switch. Needs openfilz.ai.auto-file.active.
171
171
  * @param {string} [parentFolderId] Target parent folder ID to store the file; if not sent or null, the file is stored at the root level
172
172
  * @param {string} [metadata]
@@ -309,7 +309,7 @@ export declare const DocumentControllerApiFp: (configuration?: Configuration) =>
309
309
  * Uploads multiple files, optionally with metadata and a parent folder ID. Returns HTTP 200 if all uploads succeed, HTTP 207 (Multi-Status) if some succeed and some fail, or an appropriate error status (404, 409, 403, 500) if all uploads fail.
310
310
  * @summary Upload multiple documents
311
311
  * @param {Array<File>} file
312
- * @param {boolean} [allowDuplicateFileNames] 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)
312
+ * @param {boolean} [allowDuplicateFileNames] 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.
313
313
  * @param {boolean} [autoFile] Smart filing: true asks OpenFilz to choose the destination folder of the uploaded file(s) after the upload (a job id comes back in autoFile.jobId); false leaves them where they are; absent &#x3D; the user\&#39;s own switch. Needs openfilz.ai.auto-file.active.
314
314
  * @param {string} [parametersByFilename] Paste the JSON array here&lt;br&gt;This array provides optional metadata and attributes for the uploaded files&lt;br&gt;&lt;section&gt; &lt;h3&gt;Each object in the array must contain:&lt;/h3&gt; &lt;table&gt; &lt;thead&gt; &lt;tr&gt; &lt;th&gt;Field&lt;/th&gt; &lt;th&gt;Type&lt;/th&gt; &lt;th&gt;Description&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;filename&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;String&lt;/code&gt;&lt;/td&gt; &lt;td&gt;Must match the filename of one of the uploaded files. Filenames must be unique in the upload request.&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;fileAttributes&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;JSON Object&lt;/code&gt;&lt;/td&gt; &lt;td&gt;Container for metadata and other file-specific attributes.&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;h4&gt;Inside &lt;code&gt;fileAttributes&lt;/code&gt;:&lt;/h4&gt; &lt;table&gt; &lt;thead&gt; &lt;tr&gt; &lt;th&gt;Field&lt;/th&gt; &lt;th&gt;Type&lt;/th&gt; &lt;th&gt;Description&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;parentFolderId&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;UUID&lt;/code&gt;&lt;/td&gt; &lt;td&gt;UUID of the target folder to upload the file (if not provided : the file will be uploaded at the root level)&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;metadata&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;Map&amp;lt;String, JSON Object&amp;gt;&lt;/code&gt;&lt;/td&gt; &lt;td&gt;Arbitrary metadata to associate with the file (key/value pairs).&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;h4&gt;Example of &lt;code&gt;parametersByFilename&lt;/code&gt; JSON array :&lt;/h4&gt; &lt;pre&gt;&lt;code&gt;[ { \\\&quot;filename\\\&quot;: \\\&quot;file1.txt\\\&quot;, \\\&quot;fileAttributes\\\&quot;: { \\\&quot;parentFolderId\\\&quot;: \\\&quot;f8c3de3d-1fea-4d7c-a8b0-29f63c4c3454\\\&quot;, \\\&quot;metadata\\\&quot;: { \\\&quot;country\\\&quot;: \\\&quot;UK\\\&quot;, \\\&quot;owner\\\&quot;: { \\\&quot;name\\\&quot;: \\\&quot;Joe\\\&quot;, \\\&quot;owner_id\\\&quot;: 1234568 } } } }, { \\\&quot;filename\\\&quot;: \\\&quot;file2.md\\\&quot;, \\\&quot;fileAttributes\\\&quot;: { \\\&quot;metadata\\\&quot;: { \\\&quot;key1\\\&quot;: \\\&quot;value1\\\&quot;, \\\&quot;key2\\\&quot;: \\\&quot;value2\\\&quot;, \\\&quot;key3\\\&quot;: \\\&quot;value3\\\&quot; } } } ]&lt;/code&gt;&lt;/pre&gt; &lt;/section&gt;
315
315
  * @param {*} [options] Override http request option.
@@ -320,7 +320,7 @@ export declare const DocumentControllerApiFp: (configuration?: Configuration) =>
320
320
  * Uploads a single file, optionally with metadata and a parent folder ID.
321
321
  * @summary Upload a single document
322
322
  * @param {File} file
323
- * @param {boolean} [allowDuplicateFileNames] 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)
323
+ * @param {boolean} [allowDuplicateFileNames] 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.
324
324
  * @param {boolean} [autoFile] Smart filing: true asks OpenFilz to choose the destination folder of the uploaded file(s) after the upload (a job id comes back in autoFile.jobId); false leaves them where they are; absent &#x3D; the user\&#39;s own switch. Needs openfilz.ai.auto-file.active.
325
325
  * @param {string} [parentFolderId] Target parent folder ID to store the file; if not sent or null, the file is stored at the root level
326
326
  * @param {string} [metadata]
@@ -463,7 +463,7 @@ export declare const DocumentControllerApiFactory: (configuration?: Configuratio
463
463
  * Uploads multiple files, optionally with metadata and a parent folder ID. Returns HTTP 200 if all uploads succeed, HTTP 207 (Multi-Status) if some succeed and some fail, or an appropriate error status (404, 409, 403, 500) if all uploads fail.
464
464
  * @summary Upload multiple documents
465
465
  * @param {Array<File>} file
466
- * @param {boolean} [allowDuplicateFileNames] 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)
466
+ * @param {boolean} [allowDuplicateFileNames] 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.
467
467
  * @param {boolean} [autoFile] Smart filing: true asks OpenFilz to choose the destination folder of the uploaded file(s) after the upload (a job id comes back in autoFile.jobId); false leaves them where they are; absent &#x3D; the user\&#39;s own switch. Needs openfilz.ai.auto-file.active.
468
468
  * @param {string} [parametersByFilename] Paste the JSON array here&lt;br&gt;This array provides optional metadata and attributes for the uploaded files&lt;br&gt;&lt;section&gt; &lt;h3&gt;Each object in the array must contain:&lt;/h3&gt; &lt;table&gt; &lt;thead&gt; &lt;tr&gt; &lt;th&gt;Field&lt;/th&gt; &lt;th&gt;Type&lt;/th&gt; &lt;th&gt;Description&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;filename&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;String&lt;/code&gt;&lt;/td&gt; &lt;td&gt;Must match the filename of one of the uploaded files. Filenames must be unique in the upload request.&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;fileAttributes&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;JSON Object&lt;/code&gt;&lt;/td&gt; &lt;td&gt;Container for metadata and other file-specific attributes.&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;h4&gt;Inside &lt;code&gt;fileAttributes&lt;/code&gt;:&lt;/h4&gt; &lt;table&gt; &lt;thead&gt; &lt;tr&gt; &lt;th&gt;Field&lt;/th&gt; &lt;th&gt;Type&lt;/th&gt; &lt;th&gt;Description&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;parentFolderId&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;UUID&lt;/code&gt;&lt;/td&gt; &lt;td&gt;UUID of the target folder to upload the file (if not provided : the file will be uploaded at the root level)&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;metadata&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;Map&amp;lt;String, JSON Object&amp;gt;&lt;/code&gt;&lt;/td&gt; &lt;td&gt;Arbitrary metadata to associate with the file (key/value pairs).&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;h4&gt;Example of &lt;code&gt;parametersByFilename&lt;/code&gt; JSON array :&lt;/h4&gt; &lt;pre&gt;&lt;code&gt;[ { \\\&quot;filename\\\&quot;: \\\&quot;file1.txt\\\&quot;, \\\&quot;fileAttributes\\\&quot;: { \\\&quot;parentFolderId\\\&quot;: \\\&quot;f8c3de3d-1fea-4d7c-a8b0-29f63c4c3454\\\&quot;, \\\&quot;metadata\\\&quot;: { \\\&quot;country\\\&quot;: \\\&quot;UK\\\&quot;, \\\&quot;owner\\\&quot;: { \\\&quot;name\\\&quot;: \\\&quot;Joe\\\&quot;, \\\&quot;owner_id\\\&quot;: 1234568 } } } }, { \\\&quot;filename\\\&quot;: \\\&quot;file2.md\\\&quot;, \\\&quot;fileAttributes\\\&quot;: { \\\&quot;metadata\\\&quot;: { \\\&quot;key1\\\&quot;: \\\&quot;value1\\\&quot;, \\\&quot;key2\\\&quot;: \\\&quot;value2\\\&quot;, \\\&quot;key3\\\&quot;: \\\&quot;value3\\\&quot; } } } ]&lt;/code&gt;&lt;/pre&gt; &lt;/section&gt;
469
469
  * @param {*} [options] Override http request option.
@@ -474,7 +474,7 @@ export declare const DocumentControllerApiFactory: (configuration?: Configuratio
474
474
  * Uploads a single file, optionally with metadata and a parent folder ID.
475
475
  * @summary Upload a single document
476
476
  * @param {File} file
477
- * @param {boolean} [allowDuplicateFileNames] 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)
477
+ * @param {boolean} [allowDuplicateFileNames] 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.
478
478
  * @param {boolean} [autoFile] Smart filing: true asks OpenFilz to choose the destination folder of the uploaded file(s) after the upload (a job id comes back in autoFile.jobId); false leaves them where they are; absent &#x3D; the user\&#39;s own switch. Needs openfilz.ai.auto-file.active.
479
479
  * @param {string} [parentFolderId] Target parent folder ID to store the file; if not sent or null, the file is stored at the root level
480
480
  * @param {string} [metadata]
@@ -617,7 +617,7 @@ export declare class DocumentControllerApi extends BaseAPI {
617
617
  * Uploads multiple files, optionally with metadata and a parent folder ID. Returns HTTP 200 if all uploads succeed, HTTP 207 (Multi-Status) if some succeed and some fail, or an appropriate error status (404, 409, 403, 500) if all uploads fail.
618
618
  * @summary Upload multiple documents
619
619
  * @param {Array<File>} file
620
- * @param {boolean} [allowDuplicateFileNames] 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)
620
+ * @param {boolean} [allowDuplicateFileNames] 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.
621
621
  * @param {boolean} [autoFile] Smart filing: true asks OpenFilz to choose the destination folder of the uploaded file(s) after the upload (a job id comes back in autoFile.jobId); false leaves them where they are; absent &#x3D; the user\&#39;s own switch. Needs openfilz.ai.auto-file.active.
622
622
  * @param {string} [parametersByFilename] Paste the JSON array here&lt;br&gt;This array provides optional metadata and attributes for the uploaded files&lt;br&gt;&lt;section&gt; &lt;h3&gt;Each object in the array must contain:&lt;/h3&gt; &lt;table&gt; &lt;thead&gt; &lt;tr&gt; &lt;th&gt;Field&lt;/th&gt; &lt;th&gt;Type&lt;/th&gt; &lt;th&gt;Description&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;filename&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;String&lt;/code&gt;&lt;/td&gt; &lt;td&gt;Must match the filename of one of the uploaded files. Filenames must be unique in the upload request.&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;fileAttributes&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;JSON Object&lt;/code&gt;&lt;/td&gt; &lt;td&gt;Container for metadata and other file-specific attributes.&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;h4&gt;Inside &lt;code&gt;fileAttributes&lt;/code&gt;:&lt;/h4&gt; &lt;table&gt; &lt;thead&gt; &lt;tr&gt; &lt;th&gt;Field&lt;/th&gt; &lt;th&gt;Type&lt;/th&gt; &lt;th&gt;Description&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;parentFolderId&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;UUID&lt;/code&gt;&lt;/td&gt; &lt;td&gt;UUID of the target folder to upload the file (if not provided : the file will be uploaded at the root level)&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;metadata&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;Map&amp;lt;String, JSON Object&amp;gt;&lt;/code&gt;&lt;/td&gt; &lt;td&gt;Arbitrary metadata to associate with the file (key/value pairs).&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;h4&gt;Example of &lt;code&gt;parametersByFilename&lt;/code&gt; JSON array :&lt;/h4&gt; &lt;pre&gt;&lt;code&gt;[ { \\\&quot;filename\\\&quot;: \\\&quot;file1.txt\\\&quot;, \\\&quot;fileAttributes\\\&quot;: { \\\&quot;parentFolderId\\\&quot;: \\\&quot;f8c3de3d-1fea-4d7c-a8b0-29f63c4c3454\\\&quot;, \\\&quot;metadata\\\&quot;: { \\\&quot;country\\\&quot;: \\\&quot;UK\\\&quot;, \\\&quot;owner\\\&quot;: { \\\&quot;name\\\&quot;: \\\&quot;Joe\\\&quot;, \\\&quot;owner_id\\\&quot;: 1234568 } } } }, { \\\&quot;filename\\\&quot;: \\\&quot;file2.md\\\&quot;, \\\&quot;fileAttributes\\\&quot;: { \\\&quot;metadata\\\&quot;: { \\\&quot;key1\\\&quot;: \\\&quot;value1\\\&quot;, \\\&quot;key2\\\&quot;: \\\&quot;value2\\\&quot;, \\\&quot;key3\\\&quot;: \\\&quot;value3\\\&quot; } } } ]&lt;/code&gt;&lt;/pre&gt; &lt;/section&gt;
623
623
  * @param {*} [options] Override http request option.
@@ -628,7 +628,7 @@ export declare class DocumentControllerApi extends BaseAPI {
628
628
  * Uploads a single file, optionally with metadata and a parent folder ID.
629
629
  * @summary Upload a single document
630
630
  * @param {File} file
631
- * @param {boolean} [allowDuplicateFileNames] 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)
631
+ * @param {boolean} [allowDuplicateFileNames] 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.
632
632
  * @param {boolean} [autoFile] Smart filing: true asks OpenFilz to choose the destination folder of the uploaded file(s) after the upload (a job id comes back in autoFile.jobId); false leaves them where they are; absent &#x3D; the user\&#39;s own switch. Needs openfilz.ai.auto-file.active.
633
633
  * @param {string} [parentFolderId] Target parent folder ID to store the file; if not sent or null, the file is stored at the root level
634
634
  * @param {string} [metadata]
@@ -548,7 +548,7 @@ export const DocumentControllerApiAxiosParamCreator = function (configuration) {
548
548
  * Uploads multiple files, optionally with metadata and a parent folder ID. Returns HTTP 200 if all uploads succeed, HTTP 207 (Multi-Status) if some succeed and some fail, or an appropriate error status (404, 409, 403, 500) if all uploads fail.
549
549
  * @summary Upload multiple documents
550
550
  * @param {Array<File>} file
551
- * @param {boolean} [allowDuplicateFileNames] 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)
551
+ * @param {boolean} [allowDuplicateFileNames] 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.
552
552
  * @param {boolean} [autoFile] Smart filing: true asks OpenFilz to choose the destination folder of the uploaded file(s) after the upload (a job id comes back in autoFile.jobId); false leaves them where they are; absent &#x3D; the user\&#39;s own switch. Needs openfilz.ai.auto-file.active.
553
553
  * @param {string} [parametersByFilename] Paste the JSON array here&lt;br&gt;This array provides optional metadata and attributes for the uploaded files&lt;br&gt;&lt;section&gt; &lt;h3&gt;Each object in the array must contain:&lt;/h3&gt; &lt;table&gt; &lt;thead&gt; &lt;tr&gt; &lt;th&gt;Field&lt;/th&gt; &lt;th&gt;Type&lt;/th&gt; &lt;th&gt;Description&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;filename&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;String&lt;/code&gt;&lt;/td&gt; &lt;td&gt;Must match the filename of one of the uploaded files. Filenames must be unique in the upload request.&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;fileAttributes&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;JSON Object&lt;/code&gt;&lt;/td&gt; &lt;td&gt;Container for metadata and other file-specific attributes.&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;h4&gt;Inside &lt;code&gt;fileAttributes&lt;/code&gt;:&lt;/h4&gt; &lt;table&gt; &lt;thead&gt; &lt;tr&gt; &lt;th&gt;Field&lt;/th&gt; &lt;th&gt;Type&lt;/th&gt; &lt;th&gt;Description&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;parentFolderId&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;UUID&lt;/code&gt;&lt;/td&gt; &lt;td&gt;UUID of the target folder to upload the file (if not provided : the file will be uploaded at the root level)&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;metadata&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;Map&amp;lt;String, JSON Object&amp;gt;&lt;/code&gt;&lt;/td&gt; &lt;td&gt;Arbitrary metadata to associate with the file (key/value pairs).&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;h4&gt;Example of &lt;code&gt;parametersByFilename&lt;/code&gt; JSON array :&lt;/h4&gt; &lt;pre&gt;&lt;code&gt;[ { \\\&quot;filename\\\&quot;: \\\&quot;file1.txt\\\&quot;, \\\&quot;fileAttributes\\\&quot;: { \\\&quot;parentFolderId\\\&quot;: \\\&quot;f8c3de3d-1fea-4d7c-a8b0-29f63c4c3454\\\&quot;, \\\&quot;metadata\\\&quot;: { \\\&quot;country\\\&quot;: \\\&quot;UK\\\&quot;, \\\&quot;owner\\\&quot;: { \\\&quot;name\\\&quot;: \\\&quot;Joe\\\&quot;, \\\&quot;owner_id\\\&quot;: 1234568 } } } }, { \\\&quot;filename\\\&quot;: \\\&quot;file2.md\\\&quot;, \\\&quot;fileAttributes\\\&quot;: { \\\&quot;metadata\\\&quot;: { \\\&quot;key1\\\&quot;: \\\&quot;value1\\\&quot;, \\\&quot;key2\\\&quot;: \\\&quot;value2\\\&quot;, \\\&quot;key3\\\&quot;: \\\&quot;value3\\\&quot; } } } ]&lt;/code&gt;&lt;/pre&gt; &lt;/section&gt;
554
554
  * @param {*} [options] Override http request option.
@@ -600,7 +600,7 @@ export const DocumentControllerApiAxiosParamCreator = function (configuration) {
600
600
  * Uploads a single file, optionally with metadata and a parent folder ID.
601
601
  * @summary Upload a single document
602
602
  * @param {File} file
603
- * @param {boolean} [allowDuplicateFileNames] 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)
603
+ * @param {boolean} [allowDuplicateFileNames] 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.
604
604
  * @param {boolean} [autoFile] Smart filing: true asks OpenFilz to choose the destination folder of the uploaded file(s) after the upload (a job id comes back in autoFile.jobId); false leaves them where they are; absent &#x3D; the user\&#39;s own switch. Needs openfilz.ai.auto-file.active.
605
605
  * @param {string} [parentFolderId] Target parent folder ID to store the file; if not sent or null, the file is stored at the root level
606
606
  * @param {string} [metadata]
@@ -896,7 +896,7 @@ export const DocumentControllerApiFp = function (configuration) {
896
896
  * Uploads multiple files, optionally with metadata and a parent folder ID. Returns HTTP 200 if all uploads succeed, HTTP 207 (Multi-Status) if some succeed and some fail, or an appropriate error status (404, 409, 403, 500) if all uploads fail.
897
897
  * @summary Upload multiple documents
898
898
  * @param {Array<File>} file
899
- * @param {boolean} [allowDuplicateFileNames] 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)
899
+ * @param {boolean} [allowDuplicateFileNames] 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.
900
900
  * @param {boolean} [autoFile] Smart filing: true asks OpenFilz to choose the destination folder of the uploaded file(s) after the upload (a job id comes back in autoFile.jobId); false leaves them where they are; absent &#x3D; the user\&#39;s own switch. Needs openfilz.ai.auto-file.active.
901
901
  * @param {string} [parametersByFilename] Paste the JSON array here&lt;br&gt;This array provides optional metadata and attributes for the uploaded files&lt;br&gt;&lt;section&gt; &lt;h3&gt;Each object in the array must contain:&lt;/h3&gt; &lt;table&gt; &lt;thead&gt; &lt;tr&gt; &lt;th&gt;Field&lt;/th&gt; &lt;th&gt;Type&lt;/th&gt; &lt;th&gt;Description&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;filename&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;String&lt;/code&gt;&lt;/td&gt; &lt;td&gt;Must match the filename of one of the uploaded files. Filenames must be unique in the upload request.&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;fileAttributes&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;JSON Object&lt;/code&gt;&lt;/td&gt; &lt;td&gt;Container for metadata and other file-specific attributes.&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;h4&gt;Inside &lt;code&gt;fileAttributes&lt;/code&gt;:&lt;/h4&gt; &lt;table&gt; &lt;thead&gt; &lt;tr&gt; &lt;th&gt;Field&lt;/th&gt; &lt;th&gt;Type&lt;/th&gt; &lt;th&gt;Description&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;parentFolderId&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;UUID&lt;/code&gt;&lt;/td&gt; &lt;td&gt;UUID of the target folder to upload the file (if not provided : the file will be uploaded at the root level)&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;metadata&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;Map&amp;lt;String, JSON Object&amp;gt;&lt;/code&gt;&lt;/td&gt; &lt;td&gt;Arbitrary metadata to associate with the file (key/value pairs).&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;h4&gt;Example of &lt;code&gt;parametersByFilename&lt;/code&gt; JSON array :&lt;/h4&gt; &lt;pre&gt;&lt;code&gt;[ { \\\&quot;filename\\\&quot;: \\\&quot;file1.txt\\\&quot;, \\\&quot;fileAttributes\\\&quot;: { \\\&quot;parentFolderId\\\&quot;: \\\&quot;f8c3de3d-1fea-4d7c-a8b0-29f63c4c3454\\\&quot;, \\\&quot;metadata\\\&quot;: { \\\&quot;country\\\&quot;: \\\&quot;UK\\\&quot;, \\\&quot;owner\\\&quot;: { \\\&quot;name\\\&quot;: \\\&quot;Joe\\\&quot;, \\\&quot;owner_id\\\&quot;: 1234568 } } } }, { \\\&quot;filename\\\&quot;: \\\&quot;file2.md\\\&quot;, \\\&quot;fileAttributes\\\&quot;: { \\\&quot;metadata\\\&quot;: { \\\&quot;key1\\\&quot;: \\\&quot;value1\\\&quot;, \\\&quot;key2\\\&quot;: \\\&quot;value2\\\&quot;, \\\&quot;key3\\\&quot;: \\\&quot;value3\\\&quot; } } } ]&lt;/code&gt;&lt;/pre&gt; &lt;/section&gt;
902
902
  * @param {*} [options] Override http request option.
@@ -915,7 +915,7 @@ export const DocumentControllerApiFp = function (configuration) {
915
915
  * Uploads a single file, optionally with metadata and a parent folder ID.
916
916
  * @summary Upload a single document
917
917
  * @param {File} file
918
- * @param {boolean} [allowDuplicateFileNames] 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)
918
+ * @param {boolean} [allowDuplicateFileNames] 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.
919
919
  * @param {boolean} [autoFile] Smart filing: true asks OpenFilz to choose the destination folder of the uploaded file(s) after the upload (a job id comes back in autoFile.jobId); false leaves them where they are; absent &#x3D; the user\&#39;s own switch. Needs openfilz.ai.auto-file.active.
920
920
  * @param {string} [parentFolderId] Target parent folder ID to store the file; if not sent or null, the file is stored at the root level
921
921
  * @param {string} [metadata]
@@ -1093,7 +1093,7 @@ export const DocumentControllerApiFactory = function (configuration, basePath, a
1093
1093
  * Uploads multiple files, optionally with metadata and a parent folder ID. Returns HTTP 200 if all uploads succeed, HTTP 207 (Multi-Status) if some succeed and some fail, or an appropriate error status (404, 409, 403, 500) if all uploads fail.
1094
1094
  * @summary Upload multiple documents
1095
1095
  * @param {Array<File>} file
1096
- * @param {boolean} [allowDuplicateFileNames] 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)
1096
+ * @param {boolean} [allowDuplicateFileNames] 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.
1097
1097
  * @param {boolean} [autoFile] Smart filing: true asks OpenFilz to choose the destination folder of the uploaded file(s) after the upload (a job id comes back in autoFile.jobId); false leaves them where they are; absent &#x3D; the user\&#39;s own switch. Needs openfilz.ai.auto-file.active.
1098
1098
  * @param {string} [parametersByFilename] Paste the JSON array here&lt;br&gt;This array provides optional metadata and attributes for the uploaded files&lt;br&gt;&lt;section&gt; &lt;h3&gt;Each object in the array must contain:&lt;/h3&gt; &lt;table&gt; &lt;thead&gt; &lt;tr&gt; &lt;th&gt;Field&lt;/th&gt; &lt;th&gt;Type&lt;/th&gt; &lt;th&gt;Description&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;filename&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;String&lt;/code&gt;&lt;/td&gt; &lt;td&gt;Must match the filename of one of the uploaded files. Filenames must be unique in the upload request.&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;fileAttributes&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;JSON Object&lt;/code&gt;&lt;/td&gt; &lt;td&gt;Container for metadata and other file-specific attributes.&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;h4&gt;Inside &lt;code&gt;fileAttributes&lt;/code&gt;:&lt;/h4&gt; &lt;table&gt; &lt;thead&gt; &lt;tr&gt; &lt;th&gt;Field&lt;/th&gt; &lt;th&gt;Type&lt;/th&gt; &lt;th&gt;Description&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;parentFolderId&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;UUID&lt;/code&gt;&lt;/td&gt; &lt;td&gt;UUID of the target folder to upload the file (if not provided : the file will be uploaded at the root level)&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;metadata&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;Map&amp;lt;String, JSON Object&amp;gt;&lt;/code&gt;&lt;/td&gt; &lt;td&gt;Arbitrary metadata to associate with the file (key/value pairs).&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;h4&gt;Example of &lt;code&gt;parametersByFilename&lt;/code&gt; JSON array :&lt;/h4&gt; &lt;pre&gt;&lt;code&gt;[ { \\\&quot;filename\\\&quot;: \\\&quot;file1.txt\\\&quot;, \\\&quot;fileAttributes\\\&quot;: { \\\&quot;parentFolderId\\\&quot;: \\\&quot;f8c3de3d-1fea-4d7c-a8b0-29f63c4c3454\\\&quot;, \\\&quot;metadata\\\&quot;: { \\\&quot;country\\\&quot;: \\\&quot;UK\\\&quot;, \\\&quot;owner\\\&quot;: { \\\&quot;name\\\&quot;: \\\&quot;Joe\\\&quot;, \\\&quot;owner_id\\\&quot;: 1234568 } } } }, { \\\&quot;filename\\\&quot;: \\\&quot;file2.md\\\&quot;, \\\&quot;fileAttributes\\\&quot;: { \\\&quot;metadata\\\&quot;: { \\\&quot;key1\\\&quot;: \\\&quot;value1\\\&quot;, \\\&quot;key2\\\&quot;: \\\&quot;value2\\\&quot;, \\\&quot;key3\\\&quot;: \\\&quot;value3\\\&quot; } } } ]&lt;/code&gt;&lt;/pre&gt; &lt;/section&gt;
1099
1099
  * @param {*} [options] Override http request option.
@@ -1106,7 +1106,7 @@ export const DocumentControllerApiFactory = function (configuration, basePath, a
1106
1106
  * Uploads a single file, optionally with metadata and a parent folder ID.
1107
1107
  * @summary Upload a single document
1108
1108
  * @param {File} file
1109
- * @param {boolean} [allowDuplicateFileNames] 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)
1109
+ * @param {boolean} [allowDuplicateFileNames] 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.
1110
1110
  * @param {boolean} [autoFile] Smart filing: true asks OpenFilz to choose the destination folder of the uploaded file(s) after the upload (a job id comes back in autoFile.jobId); false leaves them where they are; absent &#x3D; the user\&#39;s own switch. Needs openfilz.ai.auto-file.active.
1111
1111
  * @param {string} [parentFolderId] Target parent folder ID to store the file; if not sent or null, the file is stored at the root level
1112
1112
  * @param {string} [metadata]
@@ -1276,7 +1276,7 @@ export class DocumentControllerApi extends BaseAPI {
1276
1276
  * Uploads multiple files, optionally with metadata and a parent folder ID. Returns HTTP 200 if all uploads succeed, HTTP 207 (Multi-Status) if some succeed and some fail, or an appropriate error status (404, 409, 403, 500) if all uploads fail.
1277
1277
  * @summary Upload multiple documents
1278
1278
  * @param {Array<File>} file
1279
- * @param {boolean} [allowDuplicateFileNames] 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)
1279
+ * @param {boolean} [allowDuplicateFileNames] 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.
1280
1280
  * @param {boolean} [autoFile] Smart filing: true asks OpenFilz to choose the destination folder of the uploaded file(s) after the upload (a job id comes back in autoFile.jobId); false leaves them where they are; absent &#x3D; the user\&#39;s own switch. Needs openfilz.ai.auto-file.active.
1281
1281
  * @param {string} [parametersByFilename] Paste the JSON array here&lt;br&gt;This array provides optional metadata and attributes for the uploaded files&lt;br&gt;&lt;section&gt; &lt;h3&gt;Each object in the array must contain:&lt;/h3&gt; &lt;table&gt; &lt;thead&gt; &lt;tr&gt; &lt;th&gt;Field&lt;/th&gt; &lt;th&gt;Type&lt;/th&gt; &lt;th&gt;Description&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;filename&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;String&lt;/code&gt;&lt;/td&gt; &lt;td&gt;Must match the filename of one of the uploaded files. Filenames must be unique in the upload request.&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;fileAttributes&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;JSON Object&lt;/code&gt;&lt;/td&gt; &lt;td&gt;Container for metadata and other file-specific attributes.&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;h4&gt;Inside &lt;code&gt;fileAttributes&lt;/code&gt;:&lt;/h4&gt; &lt;table&gt; &lt;thead&gt; &lt;tr&gt; &lt;th&gt;Field&lt;/th&gt; &lt;th&gt;Type&lt;/th&gt; &lt;th&gt;Description&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;parentFolderId&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;UUID&lt;/code&gt;&lt;/td&gt; &lt;td&gt;UUID of the target folder to upload the file (if not provided : the file will be uploaded at the root level)&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;metadata&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;Map&amp;lt;String, JSON Object&amp;gt;&lt;/code&gt;&lt;/td&gt; &lt;td&gt;Arbitrary metadata to associate with the file (key/value pairs).&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;h4&gt;Example of &lt;code&gt;parametersByFilename&lt;/code&gt; JSON array :&lt;/h4&gt; &lt;pre&gt;&lt;code&gt;[ { \\\&quot;filename\\\&quot;: \\\&quot;file1.txt\\\&quot;, \\\&quot;fileAttributes\\\&quot;: { \\\&quot;parentFolderId\\\&quot;: \\\&quot;f8c3de3d-1fea-4d7c-a8b0-29f63c4c3454\\\&quot;, \\\&quot;metadata\\\&quot;: { \\\&quot;country\\\&quot;: \\\&quot;UK\\\&quot;, \\\&quot;owner\\\&quot;: { \\\&quot;name\\\&quot;: \\\&quot;Joe\\\&quot;, \\\&quot;owner_id\\\&quot;: 1234568 } } } }, { \\\&quot;filename\\\&quot;: \\\&quot;file2.md\\\&quot;, \\\&quot;fileAttributes\\\&quot;: { \\\&quot;metadata\\\&quot;: { \\\&quot;key1\\\&quot;: \\\&quot;value1\\\&quot;, \\\&quot;key2\\\&quot;: \\\&quot;value2\\\&quot;, \\\&quot;key3\\\&quot;: \\\&quot;value3\\\&quot; } } } ]&lt;/code&gt;&lt;/pre&gt; &lt;/section&gt;
1282
1282
  * @param {*} [options] Override http request option.
@@ -1289,7 +1289,7 @@ export class DocumentControllerApi extends BaseAPI {
1289
1289
  * Uploads a single file, optionally with metadata and a parent folder ID.
1290
1290
  * @summary Upload a single document
1291
1291
  * @param {File} file
1292
- * @param {boolean} [allowDuplicateFileNames] 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)
1292
+ * @param {boolean} [allowDuplicateFileNames] 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.
1293
1293
  * @param {boolean} [autoFile] Smart filing: true asks OpenFilz to choose the destination folder of the uploaded file(s) after the upload (a job id comes back in autoFile.jobId); false leaves them where they are; absent &#x3D; the user\&#39;s own switch. Needs openfilz.ai.auto-file.active.
1294
1294
  * @param {string} [parentFolderId] Target parent folder ID to store the file; if not sent or null, the file is stored at the root level
1295
1295
  * @param {string} [metadata]
@@ -18,6 +18,8 @@ import type { DeleteRequest } from '../models';
18
18
  import type { ElementInfo } from '../models';
19
19
  import type { MoveRequest } from '../models';
20
20
  import type { RenameRequest } from '../models';
21
+ import type { UnzipRequest } from '../models';
22
+ import type { UnzipResponse } from '../models';
21
23
  /**
22
24
  * FileControllerApi - axios parameter creator
23
25
  */
@@ -55,6 +57,15 @@ export declare const FileControllerApiAxiosParamCreator: (configuration?: Config
55
57
  * @throws {RequiredError}
56
58
  */
57
59
  renameFile: (fileId: string, renameRequest: RenameRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
60
+ /**
61
+ * Extracts a ZIP document server-side, recreating its folder tree. Destination: the root when targetRoot is true, else targetFolderId, else the folder containing the ZIP; with newFolderName, a new folder of that name is created there first. Folders that already exist are merged; files whose name already exists are skipped (unless allowDuplicateFileNames) and listed in the response, like any entry that could not be extracted. Archive-wide limits answer 413 (ZIP_TOO_MANY_ENTRIES, ZIP_TOO_LARGE, ZIP_BOMB); a document that is not a readable ZIP answers 422 (NOT_A_ZIP, ZIP_INVALID).
62
+ * @summary Extract a ZIP file
63
+ * @param {string} fileId Id of the ZIP document
64
+ * @param {UnzipRequest} [unzipRequest]
65
+ * @param {*} [options] Override http request option.
66
+ * @throws {RequiredError}
67
+ */
68
+ unzipFile: (fileId: string, unzipRequest?: UnzipRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
58
69
  };
59
70
  /**
60
71
  * FileControllerApi - functional programming interface
@@ -93,6 +104,15 @@ export declare const FileControllerApiFp: (configuration?: Configuration) => {
93
104
  * @throws {RequiredError}
94
105
  */
95
106
  renameFile(fileId: string, renameRequest: RenameRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ElementInfo>>;
107
+ /**
108
+ * Extracts a ZIP document server-side, recreating its folder tree. Destination: the root when targetRoot is true, else targetFolderId, else the folder containing the ZIP; with newFolderName, a new folder of that name is created there first. Folders that already exist are merged; files whose name already exists are skipped (unless allowDuplicateFileNames) and listed in the response, like any entry that could not be extracted. Archive-wide limits answer 413 (ZIP_TOO_MANY_ENTRIES, ZIP_TOO_LARGE, ZIP_BOMB); a document that is not a readable ZIP answers 422 (NOT_A_ZIP, ZIP_INVALID).
109
+ * @summary Extract a ZIP file
110
+ * @param {string} fileId Id of the ZIP document
111
+ * @param {UnzipRequest} [unzipRequest]
112
+ * @param {*} [options] Override http request option.
113
+ * @throws {RequiredError}
114
+ */
115
+ unzipFile(fileId: string, unzipRequest?: UnzipRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UnzipResponse>>;
96
116
  };
97
117
  /**
98
118
  * FileControllerApi - factory interface
@@ -131,6 +151,15 @@ export declare const FileControllerApiFactory: (configuration?: Configuration, b
131
151
  * @throws {RequiredError}
132
152
  */
133
153
  renameFile(fileId: string, renameRequest: RenameRequest, options?: RawAxiosRequestConfig): AxiosPromise<ElementInfo>;
154
+ /**
155
+ * Extracts a ZIP document server-side, recreating its folder tree. Destination: the root when targetRoot is true, else targetFolderId, else the folder containing the ZIP; with newFolderName, a new folder of that name is created there first. Folders that already exist are merged; files whose name already exists are skipped (unless allowDuplicateFileNames) and listed in the response, like any entry that could not be extracted. Archive-wide limits answer 413 (ZIP_TOO_MANY_ENTRIES, ZIP_TOO_LARGE, ZIP_BOMB); a document that is not a readable ZIP answers 422 (NOT_A_ZIP, ZIP_INVALID).
156
+ * @summary Extract a ZIP file
157
+ * @param {string} fileId Id of the ZIP document
158
+ * @param {UnzipRequest} [unzipRequest]
159
+ * @param {*} [options] Override http request option.
160
+ * @throws {RequiredError}
161
+ */
162
+ unzipFile(fileId: string, unzipRequest?: UnzipRequest, options?: RawAxiosRequestConfig): AxiosPromise<UnzipResponse>;
134
163
  };
135
164
  /**
136
165
  * FileControllerApi - object-oriented interface
@@ -169,4 +198,13 @@ export declare class FileControllerApi extends BaseAPI {
169
198
  * @throws {RequiredError}
170
199
  */
171
200
  renameFile(fileId: string, renameRequest: RenameRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ElementInfo, any, {}, any>>;
201
+ /**
202
+ * Extracts a ZIP document server-side, recreating its folder tree. Destination: the root when targetRoot is true, else targetFolderId, else the folder containing the ZIP; with newFolderName, a new folder of that name is created there first. Folders that already exist are merged; files whose name already exists are skipped (unless allowDuplicateFileNames) and listed in the response, like any entry that could not be extracted. Archive-wide limits answer 413 (ZIP_TOO_MANY_ENTRIES, ZIP_TOO_LARGE, ZIP_BOMB); a document that is not a readable ZIP answers 422 (NOT_A_ZIP, ZIP_INVALID).
203
+ * @summary Extract a ZIP file
204
+ * @param {string} fileId Id of the ZIP document
205
+ * @param {UnzipRequest} [unzipRequest]
206
+ * @param {*} [options] Override http request option.
207
+ * @throws {RequiredError}
208
+ */
209
+ unzipFile(fileId: string, unzipRequest?: UnzipRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UnzipResponse, any, {}, any>>;
172
210
  }
@@ -169,6 +169,42 @@ export const FileControllerApiAxiosParamCreator = function (configuration) {
169
169
  options: localVarRequestOptions,
170
170
  };
171
171
  }),
172
+ /**
173
+ * Extracts a ZIP document server-side, recreating its folder tree. Destination: the root when targetRoot is true, else targetFolderId, else the folder containing the ZIP; with newFolderName, a new folder of that name is created there first. Folders that already exist are merged; files whose name already exists are skipped (unless allowDuplicateFileNames) and listed in the response, like any entry that could not be extracted. Archive-wide limits answer 413 (ZIP_TOO_MANY_ENTRIES, ZIP_TOO_LARGE, ZIP_BOMB); a document that is not a readable ZIP answers 422 (NOT_A_ZIP, ZIP_INVALID).
174
+ * @summary Extract a ZIP file
175
+ * @param {string} fileId Id of the ZIP document
176
+ * @param {UnzipRequest} [unzipRequest]
177
+ * @param {*} [options] Override http request option.
178
+ * @throws {RequiredError}
179
+ */
180
+ unzipFile: (fileId_1, unzipRequest_1, ...args_1) => __awaiter(this, [fileId_1, unzipRequest_1, ...args_1], void 0, function* (fileId, unzipRequest, options = {}) {
181
+ // verify required parameter 'fileId' is not null or undefined
182
+ assertParamExists('unzipFile', 'fileId', fileId);
183
+ const localVarPath = `/api/v1/files/{fileId}/unzip`
184
+ .replace('{fileId}', encodeURIComponent(String(fileId)));
185
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
186
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
187
+ let baseOptions;
188
+ if (configuration) {
189
+ baseOptions = configuration.baseOptions;
190
+ }
191
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
192
+ const localVarHeaderParameter = {};
193
+ const localVarQueryParameter = {};
194
+ // authentication keycloak_auth required
195
+ // http bearer authentication required
196
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
197
+ localVarHeaderParameter['Content-Type'] = 'application/json';
198
+ localVarHeaderParameter['Accept'] = '*/*';
199
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
200
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
201
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
202
+ localVarRequestOptions.data = serializeDataIfNeeded(unzipRequest, localVarRequestOptions, configuration);
203
+ return {
204
+ url: toPathString(localVarUrlObj),
205
+ options: localVarRequestOptions,
206
+ };
207
+ }),
172
208
  };
173
209
  };
174
210
  /**
@@ -242,6 +278,23 @@ export const FileControllerApiFp = function (configuration) {
242
278
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
243
279
  });
244
280
  },
281
+ /**
282
+ * Extracts a ZIP document server-side, recreating its folder tree. Destination: the root when targetRoot is true, else targetFolderId, else the folder containing the ZIP; with newFolderName, a new folder of that name is created there first. Folders that already exist are merged; files whose name already exists are skipped (unless allowDuplicateFileNames) and listed in the response, like any entry that could not be extracted. Archive-wide limits answer 413 (ZIP_TOO_MANY_ENTRIES, ZIP_TOO_LARGE, ZIP_BOMB); a document that is not a readable ZIP answers 422 (NOT_A_ZIP, ZIP_INVALID).
283
+ * @summary Extract a ZIP file
284
+ * @param {string} fileId Id of the ZIP document
285
+ * @param {UnzipRequest} [unzipRequest]
286
+ * @param {*} [options] Override http request option.
287
+ * @throws {RequiredError}
288
+ */
289
+ unzipFile(fileId, unzipRequest, options) {
290
+ return __awaiter(this, void 0, void 0, function* () {
291
+ var _a, _b, _c;
292
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.unzipFile(fileId, unzipRequest, options);
293
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
294
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FileControllerApi.unzipFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
295
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
296
+ });
297
+ },
245
298
  };
246
299
  };
247
300
  /**
@@ -291,6 +344,17 @@ export const FileControllerApiFactory = function (configuration, basePath, axios
291
344
  renameFile(fileId, renameRequest, options) {
292
345
  return localVarFp.renameFile(fileId, renameRequest, options).then((request) => request(axios, basePath));
293
346
  },
347
+ /**
348
+ * Extracts a ZIP document server-side, recreating its folder tree. Destination: the root when targetRoot is true, else targetFolderId, else the folder containing the ZIP; with newFolderName, a new folder of that name is created there first. Folders that already exist are merged; files whose name already exists are skipped (unless allowDuplicateFileNames) and listed in the response, like any entry that could not be extracted. Archive-wide limits answer 413 (ZIP_TOO_MANY_ENTRIES, ZIP_TOO_LARGE, ZIP_BOMB); a document that is not a readable ZIP answers 422 (NOT_A_ZIP, ZIP_INVALID).
349
+ * @summary Extract a ZIP file
350
+ * @param {string} fileId Id of the ZIP document
351
+ * @param {UnzipRequest} [unzipRequest]
352
+ * @param {*} [options] Override http request option.
353
+ * @throws {RequiredError}
354
+ */
355
+ unzipFile(fileId, unzipRequest, options) {
356
+ return localVarFp.unzipFile(fileId, unzipRequest, options).then((request) => request(axios, basePath));
357
+ },
294
358
  };
295
359
  };
296
360
  /**
@@ -338,4 +402,15 @@ export class FileControllerApi extends BaseAPI {
338
402
  renameFile(fileId, renameRequest, options) {
339
403
  return FileControllerApiFp(this.configuration).renameFile(fileId, renameRequest, options).then((request) => request(this.axios, this.basePath));
340
404
  }
405
+ /**
406
+ * Extracts a ZIP document server-side, recreating its folder tree. Destination: the root when targetRoot is true, else targetFolderId, else the folder containing the ZIP; with newFolderName, a new folder of that name is created there first. Folders that already exist are merged; files whose name already exists are skipped (unless allowDuplicateFileNames) and listed in the response, like any entry that could not be extracted. Archive-wide limits answer 413 (ZIP_TOO_MANY_ENTRIES, ZIP_TOO_LARGE, ZIP_BOMB); a document that is not a readable ZIP answers 422 (NOT_A_ZIP, ZIP_INVALID).
407
+ * @summary Extract a ZIP file
408
+ * @param {string} fileId Id of the ZIP document
409
+ * @param {UnzipRequest} [unzipRequest]
410
+ * @param {*} [options] Override http request option.
411
+ * @throws {RequiredError}
412
+ */
413
+ unzipFile(fileId, unzipRequest, options) {
414
+ return FileControllerApiFp(this.configuration).unzipFile(fileId, unzipRequest, options).then((request) => request(this.axios, this.basePath));
415
+ }
341
416
  }
package/dist/esm/api.d.ts CHANGED
@@ -27,6 +27,8 @@ export * from './api/comments-api';
27
27
  export * from './api/dashboard-api';
28
28
  export * from './api/delegated-browse-grants-admin-api';
29
29
  export * from './api/delegated-browse-grants-end-user-api';
30
+ export * from './api/desktop-sync-api';
31
+ export * from './api/desktop-sync-administration-api';
30
32
  export * from './api/document-controller-api';
31
33
  export * from './api/document-insights-api';
32
34
  export * from './api/document-suggestion-controller-api';
package/dist/esm/api.js CHANGED
@@ -29,6 +29,8 @@ export * from './api/comments-api';
29
29
  export * from './api/dashboard-api';
30
30
  export * from './api/delegated-browse-grants-admin-api';
31
31
  export * from './api/delegated-browse-grants-end-user-api';
32
+ export * from './api/desktop-sync-api';
33
+ export * from './api/desktop-sync-administration-api';
32
34
  export * from './api/document-controller-api';
33
35
  export * from './api/document-insights-api';
34
36
  export * from './api/document-suggestion-controller-api';
@@ -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,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 {};
@@ -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";
@@ -29,6 +29,7 @@ export const EnrichedAuditLogActionEnum = {
29
29
  ReplaceDocumentMetadata: 'REPLACE_DOCUMENT_METADATA',
30
30
  UpdateDocumentMetadata: 'UPDATE_DOCUMENT_METADATA',
31
31
  DownloadDocument: 'DOWNLOAD_DOCUMENT',
32
+ OpenDocument: 'OPEN_DOCUMENT',
32
33
  DeleteDocumentMetadata: 'DELETE_DOCUMENT_METADATA',
33
34
  RestoreFile: 'RESTORE_FILE',
34
35
  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';
@@ -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';
@@ -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";
@@ -33,6 +33,7 @@ export const SearchByAuditLogRequestActionEnum = {
33
33
  ReplaceDocumentMetadata: 'REPLACE_DOCUMENT_METADATA',
34
34
  UpdateDocumentMetadata: 'UPDATE_DOCUMENT_METADATA',
35
35
  DownloadDocument: 'DOWNLOAD_DOCUMENT',
36
+ OpenDocument: 'OPEN_DOCUMENT',
36
37
  DeleteDocumentMetadata: 'DELETE_DOCUMENT_METADATA',
37
38
  RestoreFile: 'RESTORE_FILE',
38
39
  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
+ }