@openfilz-sdk/typescript-ee 1.10.4 → 1.10.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +20 -0
- package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
- package/README.md +20 -2
- package/api/desktop-sync-administration-api.ts +186 -0
- package/api/desktop-sync-api.ts +617 -0
- package/api/document-controller-api.ts +8 -8
- package/api/file-controller-api.ts +82 -0
- package/api.ts +2 -0
- package/dist/api/desktop-sync-administration-api.d.ts +91 -0
- package/dist/api/desktop-sync-administration-api.js +187 -0
- package/dist/api/desktop-sync-api.d.ts +282 -0
- package/dist/api/desktop-sync-api.js +590 -0
- package/dist/api/document-controller-api.d.ts +8 -8
- package/dist/api/document-controller-api.js +8 -8
- package/dist/api/file-controller-api.d.ts +38 -0
- package/dist/api/file-controller-api.js +75 -0
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/esm/api/desktop-sync-administration-api.d.ts +91 -0
- package/dist/esm/api/desktop-sync-administration-api.js +180 -0
- package/dist/esm/api/desktop-sync-api.d.ts +282 -0
- package/dist/esm/api/desktop-sync-api.js +583 -0
- package/dist/esm/api/document-controller-api.d.ts +8 -8
- package/dist/esm/api/document-controller-api.js +8 -8
- package/dist/esm/api/file-controller-api.d.ts +38 -0
- package/dist/esm/api/file-controller-api.js +75 -0
- package/dist/esm/api.d.ts +2 -0
- package/dist/esm/api.js +2 -0
- package/dist/esm/models/copy-request.d.ts +1 -1
- package/dist/esm/models/desktop-sync-client-info.d.ts +20 -0
- package/dist/esm/models/desktop-sync-client-info.js +14 -0
- package/dist/esm/models/enriched-audit-log.d.ts +1 -0
- package/dist/esm/models/enriched-audit-log.js +1 -0
- package/dist/esm/models/index.d.ts +8 -0
- package/dist/esm/models/index.js +8 -0
- package/dist/esm/models/move-request.d.ts +1 -1
- package/dist/esm/models/search-by-audit-log-request.d.ts +1 -0
- package/dist/esm/models/search-by-audit-log-request.js +1 -0
- package/dist/esm/models/settings.d.ts +3 -0
- package/dist/esm/models/sync-backfill-status.d.ts +21 -0
- package/dist/esm/models/sync-backfill-status.js +14 -0
- package/dist/esm/models/sync-changes-response.d.ts +17 -0
- package/dist/esm/models/sync-changes-response.js +14 -0
- package/dist/esm/models/sync-item.d.ts +29 -0
- package/dist/esm/models/sync-item.js +17 -0
- package/dist/esm/models/sync-snapshot-response.d.ts +17 -0
- package/dist/esm/models/sync-snapshot-response.js +14 -0
- package/dist/esm/models/unzip-request.d.ts +29 -0
- package/dist/esm/models/unzip-request.js +14 -0
- package/dist/esm/models/unzip-response.d.ts +34 -0
- package/dist/esm/models/unzip-response.js +14 -0
- package/dist/esm/models/unzip-skipped-entry.d.ts +34 -0
- package/dist/esm/models/unzip-skipped-entry.js +21 -0
- package/dist/models/copy-request.d.ts +1 -1
- package/dist/models/desktop-sync-client-info.d.ts +20 -0
- package/dist/models/desktop-sync-client-info.js +15 -0
- package/dist/models/enriched-audit-log.d.ts +1 -0
- package/dist/models/enriched-audit-log.js +1 -0
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/dist/models/move-request.d.ts +1 -1
- package/dist/models/search-by-audit-log-request.d.ts +1 -0
- package/dist/models/search-by-audit-log-request.js +1 -0
- package/dist/models/settings.d.ts +3 -0
- package/dist/models/sync-backfill-status.d.ts +21 -0
- package/dist/models/sync-backfill-status.js +15 -0
- package/dist/models/sync-changes-response.d.ts +17 -0
- package/dist/models/sync-changes-response.js +15 -0
- package/dist/models/sync-item.d.ts +29 -0
- package/dist/models/sync-item.js +20 -0
- package/dist/models/sync-snapshot-response.d.ts +17 -0
- package/dist/models/sync-snapshot-response.js +15 -0
- package/dist/models/unzip-request.d.ts +29 -0
- package/dist/models/unzip-request.js +15 -0
- package/dist/models/unzip-response.d.ts +34 -0
- package/dist/models/unzip-response.js +15 -0
- package/dist/models/unzip-skipped-entry.d.ts +34 -0
- package/dist/models/unzip-skipped-entry.js +24 -0
- package/docs/CopyRequest.md +1 -1
- package/docs/DesktopSyncAdministrationApi.md +96 -0
- package/docs/DesktopSyncApi.md +376 -0
- package/docs/DesktopSyncClientInfo.md +32 -0
- package/docs/DocumentControllerApi.md +4 -4
- package/docs/FileControllerApi.md +56 -0
- package/docs/MoveRequest.md +1 -1
- package/docs/Settings.md +2 -0
- package/docs/SyncBackfillStatus.md +34 -0
- package/docs/SyncChangesResponse.md +24 -0
- package/docs/SyncItem.md +40 -0
- package/docs/SyncSnapshotResponse.md +24 -0
- package/docs/UnzipRequest.md +26 -0
- package/docs/UnzipResponse.md +28 -0
- package/docs/UnzipSkippedEntry.md +24 -0
- package/models/copy-request.ts +1 -1
- package/models/desktop-sync-client-info.ts +26 -0
- package/models/enriched-audit-log.ts +1 -0
- package/models/index.ts +8 -0
- package/models/move-request.ts +1 -1
- package/models/search-by-audit-log-request.ts +1 -0
- package/models/settings.ts +1 -0
- package/models/sync-backfill-status.ts +27 -0
- package/models/sync-changes-response.ts +25 -0
- package/models/sync-item.ts +38 -0
- package/models/sync-snapshot-response.ts +25 -0
- package/models/unzip-request.ts +35 -0
- package/models/unzip-response.ts +42 -0
- package/models/unzip-skipped-entry.ts +43 -0
- package/package.json +1 -1
|
@@ -641,7 +641,7 @@ export const DocumentControllerApiAxiosParamCreator = function (configuration?:
|
|
|
641
641
|
* 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.
|
|
642
642
|
* @summary Upload multiple documents
|
|
643
643
|
* @param {Array<File>} file
|
|
644
|
-
* @param {boolean} [allowDuplicateFileNames]
|
|
644
|
+
* @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.
|
|
645
645
|
* @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 = the user\'s own switch. Needs openfilz.ai.auto-file.active.
|
|
646
646
|
* @param {string} [parametersByFilename] Paste the JSON array here<br>This array provides optional metadata and attributes for the uploaded files<br><section> <h3>Each object in the array must contain:</h3> <table> <thead> <tr> <th>Field</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code>filename</code></td> <td><code>String</code></td> <td>Must match the filename of one of the uploaded files. Filenames must be unique in the upload request.</td> </tr> <tr> <td><code>fileAttributes</code></td> <td><code>JSON Object</code></td> <td>Container for metadata and other file-specific attributes.</td> </tr> </tbody> </table> <h4>Inside <code>fileAttributes</code>:</h4> <table> <thead> <tr> <th>Field</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code>parentFolderId</code></td> <td><code>UUID</code></td> <td>UUID of the target folder to upload the file (if not provided : the file will be uploaded at the root level)</td> </tr> <tr> <td><code>metadata</code></td> <td><code>Map&lt;String, JSON Object&gt;</code></td> <td>Arbitrary metadata to associate with the file (key/value pairs).</td> </tr> </tbody> </table> <h4>Example of <code>parametersByFilename</code> JSON array :</h4> <pre><code>[ { \\\"filename\\\": \\\"file1.txt\\\", \\\"fileAttributes\\\": { \\\"parentFolderId\\\": \\\"f8c3de3d-1fea-4d7c-a8b0-29f63c4c3454\\\", \\\"metadata\\\": { \\\"country\\\": \\\"UK\\\", \\\"owner\\\": { \\\"name\\\": \\\"Joe\\\", \\\"owner_id\\\": 1234568 } } } }, { \\\"filename\\\": \\\"file2.md\\\", \\\"fileAttributes\\\": { \\\"metadata\\\": { \\\"key1\\\": \\\"value1\\\", \\\"key2\\\": \\\"value2\\\", \\\"key3\\\": \\\"value3\\\" } } } ]</code></pre> </section>
|
|
647
647
|
* @param {*} [options] Override http request option.
|
|
@@ -702,7 +702,7 @@ export const DocumentControllerApiAxiosParamCreator = function (configuration?:
|
|
|
702
702
|
* Uploads a single file, optionally with metadata and a parent folder ID.
|
|
703
703
|
* @summary Upload a single document
|
|
704
704
|
* @param {File} file
|
|
705
|
-
* @param {boolean} [allowDuplicateFileNames]
|
|
705
|
+
* @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.
|
|
706
706
|
* @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 = the user\'s own switch. Needs openfilz.ai.auto-file.active.
|
|
707
707
|
* @param {string} [parentFolderId] Target parent folder ID to store the file; if not sent or null, the file is stored at the root level
|
|
708
708
|
* @param {string} [metadata]
|
|
@@ -967,7 +967,7 @@ export const DocumentControllerApiFp = function(configuration?: Configuration) {
|
|
|
967
967
|
* 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.
|
|
968
968
|
* @summary Upload multiple documents
|
|
969
969
|
* @param {Array<File>} file
|
|
970
|
-
* @param {boolean} [allowDuplicateFileNames]
|
|
970
|
+
* @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.
|
|
971
971
|
* @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 = the user\'s own switch. Needs openfilz.ai.auto-file.active.
|
|
972
972
|
* @param {string} [parametersByFilename] Paste the JSON array here<br>This array provides optional metadata and attributes for the uploaded files<br><section> <h3>Each object in the array must contain:</h3> <table> <thead> <tr> <th>Field</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code>filename</code></td> <td><code>String</code></td> <td>Must match the filename of one of the uploaded files. Filenames must be unique in the upload request.</td> </tr> <tr> <td><code>fileAttributes</code></td> <td><code>JSON Object</code></td> <td>Container for metadata and other file-specific attributes.</td> </tr> </tbody> </table> <h4>Inside <code>fileAttributes</code>:</h4> <table> <thead> <tr> <th>Field</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code>parentFolderId</code></td> <td><code>UUID</code></td> <td>UUID of the target folder to upload the file (if not provided : the file will be uploaded at the root level)</td> </tr> <tr> <td><code>metadata</code></td> <td><code>Map&lt;String, JSON Object&gt;</code></td> <td>Arbitrary metadata to associate with the file (key/value pairs).</td> </tr> </tbody> </table> <h4>Example of <code>parametersByFilename</code> JSON array :</h4> <pre><code>[ { \\\"filename\\\": \\\"file1.txt\\\", \\\"fileAttributes\\\": { \\\"parentFolderId\\\": \\\"f8c3de3d-1fea-4d7c-a8b0-29f63c4c3454\\\", \\\"metadata\\\": { \\\"country\\\": \\\"UK\\\", \\\"owner\\\": { \\\"name\\\": \\\"Joe\\\", \\\"owner_id\\\": 1234568 } } } }, { \\\"filename\\\": \\\"file2.md\\\", \\\"fileAttributes\\\": { \\\"metadata\\\": { \\\"key1\\\": \\\"value1\\\", \\\"key2\\\": \\\"value2\\\", \\\"key3\\\": \\\"value3\\\" } } } ]</code></pre> </section>
|
|
973
973
|
* @param {*} [options] Override http request option.
|
|
@@ -983,7 +983,7 @@ export const DocumentControllerApiFp = function(configuration?: Configuration) {
|
|
|
983
983
|
* Uploads a single file, optionally with metadata and a parent folder ID.
|
|
984
984
|
* @summary Upload a single document
|
|
985
985
|
* @param {File} file
|
|
986
|
-
* @param {boolean} [allowDuplicateFileNames]
|
|
986
|
+
* @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.
|
|
987
987
|
* @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 = the user\'s own switch. Needs openfilz.ai.auto-file.active.
|
|
988
988
|
* @param {string} [parentFolderId] Target parent folder ID to store the file; if not sent or null, the file is stored at the root level
|
|
989
989
|
* @param {string} [metadata]
|
|
@@ -1159,7 +1159,7 @@ export const DocumentControllerApiFactory = function (configuration?: Configurat
|
|
|
1159
1159
|
* 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.
|
|
1160
1160
|
* @summary Upload multiple documents
|
|
1161
1161
|
* @param {Array<File>} file
|
|
1162
|
-
* @param {boolean} [allowDuplicateFileNames]
|
|
1162
|
+
* @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.
|
|
1163
1163
|
* @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 = the user\'s own switch. Needs openfilz.ai.auto-file.active.
|
|
1164
1164
|
* @param {string} [parametersByFilename] Paste the JSON array here<br>This array provides optional metadata and attributes for the uploaded files<br><section> <h3>Each object in the array must contain:</h3> <table> <thead> <tr> <th>Field</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code>filename</code></td> <td><code>String</code></td> <td>Must match the filename of one of the uploaded files. Filenames must be unique in the upload request.</td> </tr> <tr> <td><code>fileAttributes</code></td> <td><code>JSON Object</code></td> <td>Container for metadata and other file-specific attributes.</td> </tr> </tbody> </table> <h4>Inside <code>fileAttributes</code>:</h4> <table> <thead> <tr> <th>Field</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code>parentFolderId</code></td> <td><code>UUID</code></td> <td>UUID of the target folder to upload the file (if not provided : the file will be uploaded at the root level)</td> </tr> <tr> <td><code>metadata</code></td> <td><code>Map&lt;String, JSON Object&gt;</code></td> <td>Arbitrary metadata to associate with the file (key/value pairs).</td> </tr> </tbody> </table> <h4>Example of <code>parametersByFilename</code> JSON array :</h4> <pre><code>[ { \\\"filename\\\": \\\"file1.txt\\\", \\\"fileAttributes\\\": { \\\"parentFolderId\\\": \\\"f8c3de3d-1fea-4d7c-a8b0-29f63c4c3454\\\", \\\"metadata\\\": { \\\"country\\\": \\\"UK\\\", \\\"owner\\\": { \\\"name\\\": \\\"Joe\\\", \\\"owner_id\\\": 1234568 } } } }, { \\\"filename\\\": \\\"file2.md\\\", \\\"fileAttributes\\\": { \\\"metadata\\\": { \\\"key1\\\": \\\"value1\\\", \\\"key2\\\": \\\"value2\\\", \\\"key3\\\": \\\"value3\\\" } } } ]</code></pre> </section>
|
|
1165
1165
|
* @param {*} [options] Override http request option.
|
|
@@ -1172,7 +1172,7 @@ export const DocumentControllerApiFactory = function (configuration?: Configurat
|
|
|
1172
1172
|
* Uploads a single file, optionally with metadata and a parent folder ID.
|
|
1173
1173
|
* @summary Upload a single document
|
|
1174
1174
|
* @param {File} file
|
|
1175
|
-
* @param {boolean} [allowDuplicateFileNames]
|
|
1175
|
+
* @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.
|
|
1176
1176
|
* @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 = the user\'s own switch. Needs openfilz.ai.auto-file.active.
|
|
1177
1177
|
* @param {string} [parentFolderId] Target parent folder ID to store the file; if not sent or null, the file is stored at the root level
|
|
1178
1178
|
* @param {string} [metadata]
|
|
@@ -1357,7 +1357,7 @@ export class DocumentControllerApi extends BaseAPI {
|
|
|
1357
1357
|
* 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.
|
|
1358
1358
|
* @summary Upload multiple documents
|
|
1359
1359
|
* @param {Array<File>} file
|
|
1360
|
-
* @param {boolean} [allowDuplicateFileNames]
|
|
1360
|
+
* @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.
|
|
1361
1361
|
* @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 = the user\'s own switch. Needs openfilz.ai.auto-file.active.
|
|
1362
1362
|
* @param {string} [parametersByFilename] Paste the JSON array here<br>This array provides optional metadata and attributes for the uploaded files<br><section> <h3>Each object in the array must contain:</h3> <table> <thead> <tr> <th>Field</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code>filename</code></td> <td><code>String</code></td> <td>Must match the filename of one of the uploaded files. Filenames must be unique in the upload request.</td> </tr> <tr> <td><code>fileAttributes</code></td> <td><code>JSON Object</code></td> <td>Container for metadata and other file-specific attributes.</td> </tr> </tbody> </table> <h4>Inside <code>fileAttributes</code>:</h4> <table> <thead> <tr> <th>Field</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code>parentFolderId</code></td> <td><code>UUID</code></td> <td>UUID of the target folder to upload the file (if not provided : the file will be uploaded at the root level)</td> </tr> <tr> <td><code>metadata</code></td> <td><code>Map&lt;String, JSON Object&gt;</code></td> <td>Arbitrary metadata to associate with the file (key/value pairs).</td> </tr> </tbody> </table> <h4>Example of <code>parametersByFilename</code> JSON array :</h4> <pre><code>[ { \\\"filename\\\": \\\"file1.txt\\\", \\\"fileAttributes\\\": { \\\"parentFolderId\\\": \\\"f8c3de3d-1fea-4d7c-a8b0-29f63c4c3454\\\", \\\"metadata\\\": { \\\"country\\\": \\\"UK\\\", \\\"owner\\\": { \\\"name\\\": \\\"Joe\\\", \\\"owner_id\\\": 1234568 } } } }, { \\\"filename\\\": \\\"file2.md\\\", \\\"fileAttributes\\\": { \\\"metadata\\\": { \\\"key1\\\": \\\"value1\\\", \\\"key2\\\": \\\"value2\\\", \\\"key3\\\": \\\"value3\\\" } } } ]</code></pre> </section>
|
|
1363
1363
|
* @param {*} [options] Override http request option.
|
|
@@ -1371,7 +1371,7 @@ export class DocumentControllerApi extends BaseAPI {
|
|
|
1371
1371
|
* Uploads a single file, optionally with metadata and a parent folder ID.
|
|
1372
1372
|
* @summary Upload a single document
|
|
1373
1373
|
* @param {File} file
|
|
1374
|
-
* @param {boolean} [allowDuplicateFileNames]
|
|
1374
|
+
* @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.
|
|
1375
1375
|
* @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 = the user\'s own switch. Needs openfilz.ai.auto-file.active.
|
|
1376
1376
|
* @param {string} [parentFolderId] Target parent folder ID to store the file; if not sent or null, the file is stored at the root level
|
|
1377
1377
|
* @param {string} [metadata]
|
|
@@ -33,6 +33,10 @@ import type { ElementInfo } from '../models';
|
|
|
33
33
|
import type { MoveRequest } from '../models';
|
|
34
34
|
// @ts-ignore
|
|
35
35
|
import type { RenameRequest } from '../models';
|
|
36
|
+
// @ts-ignore
|
|
37
|
+
import type { UnzipRequest } from '../models';
|
|
38
|
+
// @ts-ignore
|
|
39
|
+
import type { UnzipResponse } from '../models';
|
|
36
40
|
/**
|
|
37
41
|
* FileControllerApi - axios parameter creator
|
|
38
42
|
*/
|
|
@@ -191,6 +195,47 @@ export const FileControllerApiAxiosParamCreator = function (configuration?: Conf
|
|
|
191
195
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
192
196
|
localVarRequestOptions.data = serializeDataIfNeeded(renameRequest, localVarRequestOptions, configuration)
|
|
193
197
|
|
|
198
|
+
return {
|
|
199
|
+
url: toPathString(localVarUrlObj),
|
|
200
|
+
options: localVarRequestOptions,
|
|
201
|
+
};
|
|
202
|
+
},
|
|
203
|
+
/**
|
|
204
|
+
* 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).
|
|
205
|
+
* @summary Extract a ZIP file
|
|
206
|
+
* @param {string} fileId Id of the ZIP document
|
|
207
|
+
* @param {UnzipRequest} [unzipRequest]
|
|
208
|
+
* @param {*} [options] Override http request option.
|
|
209
|
+
* @throws {RequiredError}
|
|
210
|
+
*/
|
|
211
|
+
unzipFile: async (fileId: string, unzipRequest?: UnzipRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
212
|
+
// verify required parameter 'fileId' is not null or undefined
|
|
213
|
+
assertParamExists('unzipFile', 'fileId', fileId)
|
|
214
|
+
const localVarPath = `/api/v1/files/{fileId}/unzip`
|
|
215
|
+
.replace('{fileId}', encodeURIComponent(String(fileId)));
|
|
216
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
217
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
218
|
+
let baseOptions;
|
|
219
|
+
if (configuration) {
|
|
220
|
+
baseOptions = configuration.baseOptions;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
224
|
+
const localVarHeaderParameter = {} as any;
|
|
225
|
+
const localVarQueryParameter = {} as any;
|
|
226
|
+
|
|
227
|
+
// authentication keycloak_auth required
|
|
228
|
+
// http bearer authentication required
|
|
229
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
230
|
+
|
|
231
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
232
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
233
|
+
|
|
234
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
235
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
236
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
237
|
+
localVarRequestOptions.data = serializeDataIfNeeded(unzipRequest, localVarRequestOptions, configuration)
|
|
238
|
+
|
|
194
239
|
return {
|
|
195
240
|
url: toPathString(localVarUrlObj),
|
|
196
241
|
options: localVarRequestOptions,
|
|
@@ -258,6 +303,20 @@ export const FileControllerApiFp = function(configuration?: Configuration) {
|
|
|
258
303
|
const localVarOperationServerBasePath = operationServerMap['FileControllerApi.renameFile']?.[localVarOperationServerIndex]?.url;
|
|
259
304
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
260
305
|
},
|
|
306
|
+
/**
|
|
307
|
+
* 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).
|
|
308
|
+
* @summary Extract a ZIP file
|
|
309
|
+
* @param {string} fileId Id of the ZIP document
|
|
310
|
+
* @param {UnzipRequest} [unzipRequest]
|
|
311
|
+
* @param {*} [options] Override http request option.
|
|
312
|
+
* @throws {RequiredError}
|
|
313
|
+
*/
|
|
314
|
+
async unzipFile(fileId: string, unzipRequest?: UnzipRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UnzipResponse>> {
|
|
315
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.unzipFile(fileId, unzipRequest, options);
|
|
316
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
317
|
+
const localVarOperationServerBasePath = operationServerMap['FileControllerApi.unzipFile']?.[localVarOperationServerIndex]?.url;
|
|
318
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
319
|
+
},
|
|
261
320
|
}
|
|
262
321
|
};
|
|
263
322
|
|
|
@@ -308,6 +367,17 @@ export const FileControllerApiFactory = function (configuration?: Configuration,
|
|
|
308
367
|
renameFile(fileId: string, renameRequest: RenameRequest, options?: RawAxiosRequestConfig): AxiosPromise<ElementInfo> {
|
|
309
368
|
return localVarFp.renameFile(fileId, renameRequest, options).then((request) => request(axios, basePath));
|
|
310
369
|
},
|
|
370
|
+
/**
|
|
371
|
+
* 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).
|
|
372
|
+
* @summary Extract a ZIP file
|
|
373
|
+
* @param {string} fileId Id of the ZIP document
|
|
374
|
+
* @param {UnzipRequest} [unzipRequest]
|
|
375
|
+
* @param {*} [options] Override http request option.
|
|
376
|
+
* @throws {RequiredError}
|
|
377
|
+
*/
|
|
378
|
+
unzipFile(fileId: string, unzipRequest?: UnzipRequest, options?: RawAxiosRequestConfig): AxiosPromise<UnzipResponse> {
|
|
379
|
+
return localVarFp.unzipFile(fileId, unzipRequest, options).then((request) => request(axios, basePath));
|
|
380
|
+
},
|
|
311
381
|
};
|
|
312
382
|
};
|
|
313
383
|
|
|
@@ -359,5 +429,17 @@ export class FileControllerApi extends BaseAPI {
|
|
|
359
429
|
public renameFile(fileId: string, renameRequest: RenameRequest, options?: RawAxiosRequestConfig) {
|
|
360
430
|
return FileControllerApiFp(this.configuration).renameFile(fileId, renameRequest, options).then((request) => request(this.axios, this.basePath));
|
|
361
431
|
}
|
|
432
|
+
|
|
433
|
+
/**
|
|
434
|
+
* 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).
|
|
435
|
+
* @summary Extract a ZIP file
|
|
436
|
+
* @param {string} fileId Id of the ZIP document
|
|
437
|
+
* @param {UnzipRequest} [unzipRequest]
|
|
438
|
+
* @param {*} [options] Override http request option.
|
|
439
|
+
* @throws {RequiredError}
|
|
440
|
+
*/
|
|
441
|
+
public unzipFile(fileId: string, unzipRequest?: UnzipRequest, options?: RawAxiosRequestConfig) {
|
|
442
|
+
return FileControllerApiFp(this.configuration).unzipFile(fileId, unzipRequest, options).then((request) => request(this.axios, this.basePath));
|
|
443
|
+
}
|
|
362
444
|
}
|
|
363
445
|
|
package/api.ts
CHANGED
|
@@ -32,6 +32,8 @@ export * from './api/comments-api';
|
|
|
32
32
|
export * from './api/dashboard-api';
|
|
33
33
|
export * from './api/delegated-browse-grants-admin-api';
|
|
34
34
|
export * from './api/delegated-browse-grants-end-user-api';
|
|
35
|
+
export * from './api/desktop-sync-api';
|
|
36
|
+
export * from './api/desktop-sync-administration-api';
|
|
35
37
|
export * from './api/document-controller-api';
|
|
36
38
|
export * from './api/document-insights-api';
|
|
37
39
|
export * from './api/document-suggestion-controller-api';
|
|
@@ -0,0 +1,91 @@
|
|
|
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 { Configuration } from '../configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import type { SyncBackfillStatus } from '../models';
|
|
16
|
+
/**
|
|
17
|
+
* DesktopSyncAdministrationApi - axios parameter creator
|
|
18
|
+
*/
|
|
19
|
+
export declare const DesktopSyncAdministrationApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
20
|
+
/**
|
|
21
|
+
* 202 with the status once started in the background; 409 while a run is in progress.
|
|
22
|
+
* @summary Run the backfill again over every file
|
|
23
|
+
* @param {*} [options] Override http request option.
|
|
24
|
+
* @throws {RequiredError}
|
|
25
|
+
*/
|
|
26
|
+
start1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @summary Progress of the size and hash backfill
|
|
30
|
+
* @param {*} [options] Override http request option.
|
|
31
|
+
* @throws {RequiredError}
|
|
32
|
+
*/
|
|
33
|
+
status: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* DesktopSyncAdministrationApi - functional programming interface
|
|
37
|
+
*/
|
|
38
|
+
export declare const DesktopSyncAdministrationApiFp: (configuration?: Configuration) => {
|
|
39
|
+
/**
|
|
40
|
+
* 202 with the status once started in the background; 409 while a run is in progress.
|
|
41
|
+
* @summary Run the backfill again over every file
|
|
42
|
+
* @param {*} [options] Override http request option.
|
|
43
|
+
* @throws {RequiredError}
|
|
44
|
+
*/
|
|
45
|
+
start1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncBackfillStatus>>;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @summary Progress of the size and hash backfill
|
|
49
|
+
* @param {*} [options] Override http request option.
|
|
50
|
+
* @throws {RequiredError}
|
|
51
|
+
*/
|
|
52
|
+
status(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncBackfillStatus>>;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* DesktopSyncAdministrationApi - factory interface
|
|
56
|
+
*/
|
|
57
|
+
export declare const DesktopSyncAdministrationApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
58
|
+
/**
|
|
59
|
+
* 202 with the status once started in the background; 409 while a run is in progress.
|
|
60
|
+
* @summary Run the backfill again over every file
|
|
61
|
+
* @param {*} [options] Override http request option.
|
|
62
|
+
* @throws {RequiredError}
|
|
63
|
+
*/
|
|
64
|
+
start1(options?: RawAxiosRequestConfig): AxiosPromise<SyncBackfillStatus>;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @summary Progress of the size and hash backfill
|
|
68
|
+
* @param {*} [options] Override http request option.
|
|
69
|
+
* @throws {RequiredError}
|
|
70
|
+
*/
|
|
71
|
+
status(options?: RawAxiosRequestConfig): AxiosPromise<SyncBackfillStatus>;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* DesktopSyncAdministrationApi - object-oriented interface
|
|
75
|
+
*/
|
|
76
|
+
export declare class DesktopSyncAdministrationApi extends BaseAPI {
|
|
77
|
+
/**
|
|
78
|
+
* 202 with the status once started in the background; 409 while a run is in progress.
|
|
79
|
+
* @summary Run the backfill again over every file
|
|
80
|
+
* @param {*} [options] Override http request option.
|
|
81
|
+
* @throws {RequiredError}
|
|
82
|
+
*/
|
|
83
|
+
start1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SyncBackfillStatus, any, {}, any>>;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @summary Progress of the size and hash backfill
|
|
87
|
+
* @param {*} [options] Override http request option.
|
|
88
|
+
* @throws {RequiredError}
|
|
89
|
+
*/
|
|
90
|
+
status(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SyncBackfillStatus, any, {}, any>>;
|
|
91
|
+
}
|
|
@@ -0,0 +1,187 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.DesktopSyncAdministrationApi = exports.DesktopSyncAdministrationApiFactory = exports.DesktopSyncAdministrationApiFp = exports.DesktopSyncAdministrationApiAxiosParamCreator = void 0;
|
|
26
|
+
const axios_1 = require("axios");
|
|
27
|
+
// Some imports not used depending on template conditions
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
const common_1 = require("../common");
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
const base_1 = require("../base");
|
|
32
|
+
/**
|
|
33
|
+
* DesktopSyncAdministrationApi - axios parameter creator
|
|
34
|
+
*/
|
|
35
|
+
const DesktopSyncAdministrationApiAxiosParamCreator = function (configuration) {
|
|
36
|
+
return {
|
|
37
|
+
/**
|
|
38
|
+
* 202 with the status once started in the background; 409 while a run is in progress.
|
|
39
|
+
* @summary Run the backfill again over every file
|
|
40
|
+
* @param {*} [options] Override http request option.
|
|
41
|
+
* @throws {RequiredError}
|
|
42
|
+
*/
|
|
43
|
+
start1: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
44
|
+
const localVarPath = `/api/v1/admin/sync/backfill`;
|
|
45
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
46
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
47
|
+
let baseOptions;
|
|
48
|
+
if (configuration) {
|
|
49
|
+
baseOptions = configuration.baseOptions;
|
|
50
|
+
}
|
|
51
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
52
|
+
const localVarHeaderParameter = {};
|
|
53
|
+
const localVarQueryParameter = {};
|
|
54
|
+
// authentication keycloak_auth required
|
|
55
|
+
// http bearer authentication required
|
|
56
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
57
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
58
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
59
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
60
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
61
|
+
return {
|
|
62
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
63
|
+
options: localVarRequestOptions,
|
|
64
|
+
};
|
|
65
|
+
}),
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @summary Progress of the size and hash backfill
|
|
69
|
+
* @param {*} [options] Override http request option.
|
|
70
|
+
* @throws {RequiredError}
|
|
71
|
+
*/
|
|
72
|
+
status: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
73
|
+
const localVarPath = `/api/v1/admin/sync/backfill`;
|
|
74
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
75
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
76
|
+
let baseOptions;
|
|
77
|
+
if (configuration) {
|
|
78
|
+
baseOptions = configuration.baseOptions;
|
|
79
|
+
}
|
|
80
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
81
|
+
const localVarHeaderParameter = {};
|
|
82
|
+
const localVarQueryParameter = {};
|
|
83
|
+
// authentication keycloak_auth required
|
|
84
|
+
// http bearer authentication required
|
|
85
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
86
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
87
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
88
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
89
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
90
|
+
return {
|
|
91
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
92
|
+
options: localVarRequestOptions,
|
|
93
|
+
};
|
|
94
|
+
}),
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
exports.DesktopSyncAdministrationApiAxiosParamCreator = DesktopSyncAdministrationApiAxiosParamCreator;
|
|
98
|
+
/**
|
|
99
|
+
* DesktopSyncAdministrationApi - functional programming interface
|
|
100
|
+
*/
|
|
101
|
+
const DesktopSyncAdministrationApiFp = function (configuration) {
|
|
102
|
+
const localVarAxiosParamCreator = (0, exports.DesktopSyncAdministrationApiAxiosParamCreator)(configuration);
|
|
103
|
+
return {
|
|
104
|
+
/**
|
|
105
|
+
* 202 with the status once started in the background; 409 while a run is in progress.
|
|
106
|
+
* @summary Run the backfill again over every file
|
|
107
|
+
* @param {*} [options] Override http request option.
|
|
108
|
+
* @throws {RequiredError}
|
|
109
|
+
*/
|
|
110
|
+
start1(options) {
|
|
111
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
112
|
+
var _a, _b, _c;
|
|
113
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.start1(options);
|
|
114
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
115
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DesktopSyncAdministrationApi.start1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
116
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
117
|
+
});
|
|
118
|
+
},
|
|
119
|
+
/**
|
|
120
|
+
*
|
|
121
|
+
* @summary Progress of the size and hash backfill
|
|
122
|
+
* @param {*} [options] Override http request option.
|
|
123
|
+
* @throws {RequiredError}
|
|
124
|
+
*/
|
|
125
|
+
status(options) {
|
|
126
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
127
|
+
var _a, _b, _c;
|
|
128
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.status(options);
|
|
129
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
130
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DesktopSyncAdministrationApi.status']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
131
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
132
|
+
});
|
|
133
|
+
},
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
exports.DesktopSyncAdministrationApiFp = DesktopSyncAdministrationApiFp;
|
|
137
|
+
/**
|
|
138
|
+
* DesktopSyncAdministrationApi - factory interface
|
|
139
|
+
*/
|
|
140
|
+
const DesktopSyncAdministrationApiFactory = function (configuration, basePath, axios) {
|
|
141
|
+
const localVarFp = (0, exports.DesktopSyncAdministrationApiFp)(configuration);
|
|
142
|
+
return {
|
|
143
|
+
/**
|
|
144
|
+
* 202 with the status once started in the background; 409 while a run is in progress.
|
|
145
|
+
* @summary Run the backfill again over every file
|
|
146
|
+
* @param {*} [options] Override http request option.
|
|
147
|
+
* @throws {RequiredError}
|
|
148
|
+
*/
|
|
149
|
+
start1(options) {
|
|
150
|
+
return localVarFp.start1(options).then((request) => request(axios, basePath));
|
|
151
|
+
},
|
|
152
|
+
/**
|
|
153
|
+
*
|
|
154
|
+
* @summary Progress of the size and hash backfill
|
|
155
|
+
* @param {*} [options] Override http request option.
|
|
156
|
+
* @throws {RequiredError}
|
|
157
|
+
*/
|
|
158
|
+
status(options) {
|
|
159
|
+
return localVarFp.status(options).then((request) => request(axios, basePath));
|
|
160
|
+
},
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
exports.DesktopSyncAdministrationApiFactory = DesktopSyncAdministrationApiFactory;
|
|
164
|
+
/**
|
|
165
|
+
* DesktopSyncAdministrationApi - object-oriented interface
|
|
166
|
+
*/
|
|
167
|
+
class DesktopSyncAdministrationApi extends base_1.BaseAPI {
|
|
168
|
+
/**
|
|
169
|
+
* 202 with the status once started in the background; 409 while a run is in progress.
|
|
170
|
+
* @summary Run the backfill again over every file
|
|
171
|
+
* @param {*} [options] Override http request option.
|
|
172
|
+
* @throws {RequiredError}
|
|
173
|
+
*/
|
|
174
|
+
start1(options) {
|
|
175
|
+
return (0, exports.DesktopSyncAdministrationApiFp)(this.configuration).start1(options).then((request) => request(this.axios, this.basePath));
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
*
|
|
179
|
+
* @summary Progress of the size and hash backfill
|
|
180
|
+
* @param {*} [options] Override http request option.
|
|
181
|
+
* @throws {RequiredError}
|
|
182
|
+
*/
|
|
183
|
+
status(options) {
|
|
184
|
+
return (0, exports.DesktopSyncAdministrationApiFp)(this.configuration).status(options).then((request) => request(this.axios, this.basePath));
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
exports.DesktopSyncAdministrationApi = DesktopSyncAdministrationApi;
|