@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
package/.openapi-generator/FILES
CHANGED
|
@@ -21,6 +21,8 @@ api/comments-api.ts
|
|
|
21
21
|
api/dashboard-api.ts
|
|
22
22
|
api/delegated-browse-grants-admin-api.ts
|
|
23
23
|
api/delegated-browse-grants-end-user-api.ts
|
|
24
|
+
api/desktop-sync-administration-api.ts
|
|
25
|
+
api/desktop-sync-api.ts
|
|
24
26
|
api/document-controller-api.ts
|
|
25
27
|
api/document-insights-api.ts
|
|
26
28
|
api/document-suggestion-controller-api.ts
|
|
@@ -128,6 +130,9 @@ docs/DeleteMetadataAudit.md
|
|
|
128
130
|
docs/DeleteMetadataRequest.md
|
|
129
131
|
docs/DeleteRequest.md
|
|
130
132
|
docs/DeleteShareRequest.md
|
|
133
|
+
docs/DesktopSyncAdministrationApi.md
|
|
134
|
+
docs/DesktopSyncApi.md
|
|
135
|
+
docs/DesktopSyncClientInfo.md
|
|
131
136
|
docs/DocumentControllerApi.md
|
|
132
137
|
docs/DocumentInfo.md
|
|
133
138
|
docs/DocumentInsightView.md
|
|
@@ -253,6 +258,10 @@ docs/SplitRequest.md
|
|
|
253
258
|
docs/StartWorkflowRequest.md
|
|
254
259
|
docs/StorageBreakdown.md
|
|
255
260
|
docs/Suggest.md
|
|
261
|
+
docs/SyncBackfillStatus.md
|
|
262
|
+
docs/SyncChangesResponse.md
|
|
263
|
+
docs/SyncItem.md
|
|
264
|
+
docs/SyncSnapshotResponse.md
|
|
256
265
|
docs/TeamInboxRequest.md
|
|
257
266
|
docs/TeamInboxView.md
|
|
258
267
|
docs/TeamMemberInfo.md
|
|
@@ -262,6 +271,9 @@ docs/TusControllerApi.md
|
|
|
262
271
|
docs/TusFinalizeRequest.md
|
|
263
272
|
docs/TusUploadInfo.md
|
|
264
273
|
docs/Untouched.md
|
|
274
|
+
docs/UnzipRequest.md
|
|
275
|
+
docs/UnzipResponse.md
|
|
276
|
+
docs/UnzipSkippedEntry.md
|
|
265
277
|
docs/UpdateCommentRequest.md
|
|
266
278
|
docs/UpdateMetadataAudit.md
|
|
267
279
|
docs/UpdateMetadataRequest.md
|
|
@@ -360,6 +372,7 @@ models/delete-metadata-audit.ts
|
|
|
360
372
|
models/delete-metadata-request.ts
|
|
361
373
|
models/delete-request.ts
|
|
362
374
|
models/delete-share-request.ts
|
|
375
|
+
models/desktop-sync-client-info.ts
|
|
363
376
|
models/document-info.ts
|
|
364
377
|
models/document-insight-view.ts
|
|
365
378
|
models/document-integrity-record.ts
|
|
@@ -465,6 +478,10 @@ models/split-request.ts
|
|
|
465
478
|
models/start-workflow-request.ts
|
|
466
479
|
models/storage-breakdown.ts
|
|
467
480
|
models/suggest.ts
|
|
481
|
+
models/sync-backfill-status.ts
|
|
482
|
+
models/sync-changes-response.ts
|
|
483
|
+
models/sync-item.ts
|
|
484
|
+
models/sync-snapshot-response.ts
|
|
468
485
|
models/team-inbox-request.ts
|
|
469
486
|
models/team-inbox-view.ts
|
|
470
487
|
models/team-member-info.ts
|
|
@@ -473,6 +490,9 @@ models/tus-config-response.ts
|
|
|
473
490
|
models/tus-finalize-request.ts
|
|
474
491
|
models/tus-upload-info.ts
|
|
475
492
|
models/untouched.ts
|
|
493
|
+
models/unzip-request.ts
|
|
494
|
+
models/unzip-response.ts
|
|
495
|
+
models/unzip-skipped-entry.ts
|
|
476
496
|
models/update-comment-request.ts
|
|
477
497
|
models/update-metadata-audit.ts
|
|
478
498
|
models/update-metadata-request.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
c9f45289588f38a21ebda595b05e52475deedab330696fc785210b01d60d67f0
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @openfilz-sdk/typescript-ee@1.10.
|
|
1
|
+
## @openfilz-sdk/typescript-ee@1.10.5
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @openfilz-sdk/typescript-ee@1.10.
|
|
39
|
+
npm install @openfilz-sdk/typescript-ee@1.10.5 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -133,6 +133,15 @@ Class | Method | HTTP request | Description
|
|
|
133
133
|
*DelegatedBrowseGrantsEndUserApi* | [**disableLinkedWebhook**](docs/DelegatedBrowseGrantsEndUserApi.md#disablelinkedwebhook) | **POST** /api/v1/users/me/delegated/grants/{id}/disable-webhook | Disable the webhook created from this grant
|
|
134
134
|
*DelegatedBrowseGrantsEndUserApi* | [**listIncoming**](docs/DelegatedBrowseGrantsEndUserApi.md#listincoming) | **GET** /api/v1/users/me/delegated/grants | List grants addressed to me
|
|
135
135
|
*DelegatedBrowseGrantsEndUserApi* | [**revoke**](docs/DelegatedBrowseGrantsEndUserApi.md#revoke) | **POST** /api/v1/users/me/delegated/grants/{id}/revoke | Revoke an accepted grant
|
|
136
|
+
*DesktopSyncApi* | [**changes**](docs/DesktopSyncApi.md#changes) | **GET** /api/v1/sync/changes | Documents that changed since a cursor, as the caller sees them now
|
|
137
|
+
*DesktopSyncApi* | [**content**](docs/DesktopSyncApi.md#content) | **GET** /api/v1/sync/content/{documentId} | Download a file; its ETag is the SHA-256 of the content
|
|
138
|
+
*DesktopSyncApi* | [**discover**](docs/DesktopSyncApi.md#discover) | **GET** /.well-known/openfilz-desktop | Connection details for the desktop application (public)
|
|
139
|
+
*DesktopSyncApi* | [**forWebApplication**](docs/DesktopSyncApi.md#forwebapplication) | **GET** /api/v1/settings/desktop-sync | Where to get the desktop application, and the address to give it
|
|
140
|
+
*DesktopSyncApi* | [**items**](docs/DesktopSyncApi.md#items) | **GET** /api/v1/sync/items | Current state of the given documents, as the caller sees them
|
|
141
|
+
*DesktopSyncApi* | [**replaceContent**](docs/DesktopSyncApi.md#replacecontent) | **PUT** /api/v1/sync/content/{documentId} | Replace a file\'s content, only if it is still the content the edit was based on
|
|
142
|
+
*DesktopSyncApi* | [**snapshot**](docs/DesktopSyncApi.md#snapshot) | **GET** /api/v1/sync/snapshot | One page of a folder\'s children; without folderId, the caller\'s root
|
|
143
|
+
*DesktopSyncAdministrationApi* | [**start1**](docs/DesktopSyncAdministrationApi.md#start1) | **POST** /api/v1/admin/sync/backfill | Run the backfill again over every file
|
|
144
|
+
*DesktopSyncAdministrationApi* | [**status**](docs/DesktopSyncAdministrationApi.md#status) | **GET** /api/v1/admin/sync/backfill | Progress of the size and hash backfill
|
|
136
145
|
*DocumentControllerApi* | [**createBlankDocument**](docs/DocumentControllerApi.md#createblankdocument) | **POST** /api/v1/documents/create-blank | Create a blank document from template
|
|
137
146
|
*DocumentControllerApi* | [**deleteDocumentMetadata**](docs/DocumentControllerApi.md#deletedocumentmetadata) | **DELETE** /api/v1/documents/{documentId}/metadata | Delete specific metadata keys
|
|
138
147
|
*DocumentControllerApi* | [**downloadDocument**](docs/DocumentControllerApi.md#downloaddocument) | **GET** /api/v1/documents/{documentId}/download | Download a document
|
|
@@ -193,6 +202,7 @@ Class | Method | HTTP request | Description
|
|
|
193
202
|
*FileControllerApi* | [**deleteFiles**](docs/FileControllerApi.md#deletefiles) | **DELETE** /api/v1/files | Delete files
|
|
194
203
|
*FileControllerApi* | [**moveFiles**](docs/FileControllerApi.md#movefiles) | **POST** /api/v1/files/move | Move files
|
|
195
204
|
*FileControllerApi* | [**renameFile**](docs/FileControllerApi.md#renamefile) | **PUT** /api/v1/files/{fileId}/rename | Rename a file
|
|
205
|
+
*FileControllerApi* | [**unzipFile**](docs/FileControllerApi.md#unzipfile) | **POST** /api/v1/files/{fileId}/unzip | Extract a ZIP file
|
|
196
206
|
*FolderControllerApi* | [**copyFolders**](docs/FolderControllerApi.md#copyfolders) | **POST** /api/v1/folders/copy | Copy folders
|
|
197
207
|
*FolderControllerApi* | [**countFolderElements**](docs/FolderControllerApi.md#countfolderelements) | **GET** /api/v1/folders/count | Count files and subfolders contained in a given folder - return 0 if empty or not exists
|
|
198
208
|
*FolderControllerApi* | [**createFolder**](docs/FolderControllerApi.md#createfolder) | **POST** /api/v1/folders | Create a new folder
|
|
@@ -337,6 +347,7 @@ Class | Method | HTTP request | Description
|
|
|
337
347
|
- [DeleteMetadataRequest](docs/DeleteMetadataRequest.md)
|
|
338
348
|
- [DeleteRequest](docs/DeleteRequest.md)
|
|
339
349
|
- [DeleteShareRequest](docs/DeleteShareRequest.md)
|
|
350
|
+
- [DesktopSyncClientInfo](docs/DesktopSyncClientInfo.md)
|
|
340
351
|
- [DocumentInfo](docs/DocumentInfo.md)
|
|
341
352
|
- [DocumentInsightView](docs/DocumentInsightView.md)
|
|
342
353
|
- [DocumentIntegrityRecord](docs/DocumentIntegrityRecord.md)
|
|
@@ -441,6 +452,10 @@ Class | Method | HTTP request | Description
|
|
|
441
452
|
- [StartWorkflowRequest](docs/StartWorkflowRequest.md)
|
|
442
453
|
- [StorageBreakdown](docs/StorageBreakdown.md)
|
|
443
454
|
- [Suggest](docs/Suggest.md)
|
|
455
|
+
- [SyncBackfillStatus](docs/SyncBackfillStatus.md)
|
|
456
|
+
- [SyncChangesResponse](docs/SyncChangesResponse.md)
|
|
457
|
+
- [SyncItem](docs/SyncItem.md)
|
|
458
|
+
- [SyncSnapshotResponse](docs/SyncSnapshotResponse.md)
|
|
444
459
|
- [TeamInboxRequest](docs/TeamInboxRequest.md)
|
|
445
460
|
- [TeamInboxView](docs/TeamInboxView.md)
|
|
446
461
|
- [TeamMemberInfo](docs/TeamMemberInfo.md)
|
|
@@ -449,6 +464,9 @@ Class | Method | HTTP request | Description
|
|
|
449
464
|
- [TusFinalizeRequest](docs/TusFinalizeRequest.md)
|
|
450
465
|
- [TusUploadInfo](docs/TusUploadInfo.md)
|
|
451
466
|
- [Untouched](docs/Untouched.md)
|
|
467
|
+
- [UnzipRequest](docs/UnzipRequest.md)
|
|
468
|
+
- [UnzipResponse](docs/UnzipResponse.md)
|
|
469
|
+
- [UnzipSkippedEntry](docs/UnzipSkippedEntry.md)
|
|
452
470
|
- [UpdateCommentRequest](docs/UpdateCommentRequest.md)
|
|
453
471
|
- [UpdateMetadataAudit](docs/UpdateMetadataAudit.md)
|
|
454
472
|
- [UpdateMetadataRequest](docs/UpdateMetadataRequest.md)
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import type { Configuration } from '../configuration';
|
|
17
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
18
|
+
import globalAxios from 'axios';
|
|
19
|
+
// Some imports not used depending on template conditions
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction, replaceWithSerializableTypeIfNeeded } from '../common';
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
|
+
// @ts-ignore
|
|
25
|
+
import type { SyncBackfillStatus } from '../models';
|
|
26
|
+
/**
|
|
27
|
+
* DesktopSyncAdministrationApi - axios parameter creator
|
|
28
|
+
*/
|
|
29
|
+
export const DesktopSyncAdministrationApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
30
|
+
return {
|
|
31
|
+
/**
|
|
32
|
+
* 202 with the status once started in the background; 409 while a run is in progress.
|
|
33
|
+
* @summary Run the backfill again over every file
|
|
34
|
+
* @param {*} [options] Override http request option.
|
|
35
|
+
* @throws {RequiredError}
|
|
36
|
+
*/
|
|
37
|
+
start1: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38
|
+
const localVarPath = `/api/v1/admin/sync/backfill`;
|
|
39
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
41
|
+
let baseOptions;
|
|
42
|
+
if (configuration) {
|
|
43
|
+
baseOptions = configuration.baseOptions;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
47
|
+
const localVarHeaderParameter = {} as any;
|
|
48
|
+
const localVarQueryParameter = {} as any;
|
|
49
|
+
|
|
50
|
+
// authentication keycloak_auth required
|
|
51
|
+
// http bearer authentication required
|
|
52
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
53
|
+
|
|
54
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
55
|
+
|
|
56
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
57
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
58
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
59
|
+
|
|
60
|
+
return {
|
|
61
|
+
url: toPathString(localVarUrlObj),
|
|
62
|
+
options: localVarRequestOptions,
|
|
63
|
+
};
|
|
64
|
+
},
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @summary Progress of the size and hash backfill
|
|
68
|
+
* @param {*} [options] Override http request option.
|
|
69
|
+
* @throws {RequiredError}
|
|
70
|
+
*/
|
|
71
|
+
status: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
72
|
+
const localVarPath = `/api/v1/admin/sync/backfill`;
|
|
73
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
74
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
75
|
+
let baseOptions;
|
|
76
|
+
if (configuration) {
|
|
77
|
+
baseOptions = configuration.baseOptions;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
81
|
+
const localVarHeaderParameter = {} as any;
|
|
82
|
+
const localVarQueryParameter = {} as any;
|
|
83
|
+
|
|
84
|
+
// authentication keycloak_auth required
|
|
85
|
+
// http bearer authentication required
|
|
86
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
87
|
+
|
|
88
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
89
|
+
|
|
90
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
91
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
92
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
93
|
+
|
|
94
|
+
return {
|
|
95
|
+
url: toPathString(localVarUrlObj),
|
|
96
|
+
options: localVarRequestOptions,
|
|
97
|
+
};
|
|
98
|
+
},
|
|
99
|
+
}
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* DesktopSyncAdministrationApi - functional programming interface
|
|
104
|
+
*/
|
|
105
|
+
export const DesktopSyncAdministrationApiFp = function(configuration?: Configuration) {
|
|
106
|
+
const localVarAxiosParamCreator = DesktopSyncAdministrationApiAxiosParamCreator(configuration)
|
|
107
|
+
return {
|
|
108
|
+
/**
|
|
109
|
+
* 202 with the status once started in the background; 409 while a run is in progress.
|
|
110
|
+
* @summary Run the backfill again over every file
|
|
111
|
+
* @param {*} [options] Override http request option.
|
|
112
|
+
* @throws {RequiredError}
|
|
113
|
+
*/
|
|
114
|
+
async start1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncBackfillStatus>> {
|
|
115
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.start1(options);
|
|
116
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
117
|
+
const localVarOperationServerBasePath = operationServerMap['DesktopSyncAdministrationApi.start1']?.[localVarOperationServerIndex]?.url;
|
|
118
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
119
|
+
},
|
|
120
|
+
/**
|
|
121
|
+
*
|
|
122
|
+
* @summary Progress of the size and hash backfill
|
|
123
|
+
* @param {*} [options] Override http request option.
|
|
124
|
+
* @throws {RequiredError}
|
|
125
|
+
*/
|
|
126
|
+
async status(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncBackfillStatus>> {
|
|
127
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.status(options);
|
|
128
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
129
|
+
const localVarOperationServerBasePath = operationServerMap['DesktopSyncAdministrationApi.status']?.[localVarOperationServerIndex]?.url;
|
|
130
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
131
|
+
},
|
|
132
|
+
}
|
|
133
|
+
};
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* DesktopSyncAdministrationApi - factory interface
|
|
137
|
+
*/
|
|
138
|
+
export const DesktopSyncAdministrationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
139
|
+
const localVarFp = DesktopSyncAdministrationApiFp(configuration)
|
|
140
|
+
return {
|
|
141
|
+
/**
|
|
142
|
+
* 202 with the status once started in the background; 409 while a run is in progress.
|
|
143
|
+
* @summary Run the backfill again over every file
|
|
144
|
+
* @param {*} [options] Override http request option.
|
|
145
|
+
* @throws {RequiredError}
|
|
146
|
+
*/
|
|
147
|
+
start1(options?: RawAxiosRequestConfig): AxiosPromise<SyncBackfillStatus> {
|
|
148
|
+
return localVarFp.start1(options).then((request) => request(axios, basePath));
|
|
149
|
+
},
|
|
150
|
+
/**
|
|
151
|
+
*
|
|
152
|
+
* @summary Progress of the size and hash backfill
|
|
153
|
+
* @param {*} [options] Override http request option.
|
|
154
|
+
* @throws {RequiredError}
|
|
155
|
+
*/
|
|
156
|
+
status(options?: RawAxiosRequestConfig): AxiosPromise<SyncBackfillStatus> {
|
|
157
|
+
return localVarFp.status(options).then((request) => request(axios, basePath));
|
|
158
|
+
},
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* DesktopSyncAdministrationApi - object-oriented interface
|
|
164
|
+
*/
|
|
165
|
+
export class DesktopSyncAdministrationApi extends BaseAPI {
|
|
166
|
+
/**
|
|
167
|
+
* 202 with the status once started in the background; 409 while a run is in progress.
|
|
168
|
+
* @summary Run the backfill again over every file
|
|
169
|
+
* @param {*} [options] Override http request option.
|
|
170
|
+
* @throws {RequiredError}
|
|
171
|
+
*/
|
|
172
|
+
public start1(options?: RawAxiosRequestConfig) {
|
|
173
|
+
return DesktopSyncAdministrationApiFp(this.configuration).start1(options).then((request) => request(this.axios, this.basePath));
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
*
|
|
178
|
+
* @summary Progress of the size and hash backfill
|
|
179
|
+
* @param {*} [options] Override http request option.
|
|
180
|
+
* @throws {RequiredError}
|
|
181
|
+
*/
|
|
182
|
+
public status(options?: RawAxiosRequestConfig) {
|
|
183
|
+
return DesktopSyncAdministrationApiFp(this.configuration).status(options).then((request) => request(this.axios, this.basePath));
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|