@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.
- 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/graphql/document.graphqls +6 -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
|
@@ -0,0 +1,282 @@
|
|
|
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 { DesktopSyncClientInfo } from '../models';
|
|
16
|
+
import type { SyncChangesResponse } from '../models';
|
|
17
|
+
import type { SyncItem } from '../models';
|
|
18
|
+
import type { SyncSnapshotResponse } from '../models';
|
|
19
|
+
/**
|
|
20
|
+
* DesktopSyncApi - axios parameter creator
|
|
21
|
+
*/
|
|
22
|
+
export declare const DesktopSyncApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
23
|
+
/**
|
|
24
|
+
* Without a cursor: no items, only the cursor of the present moment. An item is either the document\'s current state or {gone: true}. Call again while hasMore is true.
|
|
25
|
+
* @summary Documents that changed since a cursor, as the caller sees them now
|
|
26
|
+
* @param {number} [cursor]
|
|
27
|
+
* @param {number} [limit]
|
|
28
|
+
* @param {*} [options] Override http request option.
|
|
29
|
+
* @throws {RequiredError}
|
|
30
|
+
*/
|
|
31
|
+
changes: (cursor?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
32
|
+
/**
|
|
33
|
+
* If-None-Match with the hash the client already holds answers 304 without a body.
|
|
34
|
+
* @summary Download a file; its ETag is the SHA-256 of the content
|
|
35
|
+
* @param {string} documentId
|
|
36
|
+
* @param {string} [ifNoneMatch]
|
|
37
|
+
* @param {*} [options] Override http request option.
|
|
38
|
+
* @throws {RequiredError}
|
|
39
|
+
*/
|
|
40
|
+
content: (documentId: string, ifNoneMatch?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @summary Connection details for the desktop application (public)
|
|
44
|
+
* @param {*} [options] Override http request option.
|
|
45
|
+
* @throws {RequiredError}
|
|
46
|
+
*/
|
|
47
|
+
discover: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @summary Where to get the desktop application, and the address to give it
|
|
51
|
+
* @param {*} [options] Override http request option.
|
|
52
|
+
* @throws {RequiredError}
|
|
53
|
+
*/
|
|
54
|
+
forWebApplication: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
55
|
+
/**
|
|
56
|
+
* What /changes would answer for these ids: a client asks after its own upload, or to settle a conflict. Ids the caller cannot see come back as {gone: true}. At most 200 ids.
|
|
57
|
+
* @summary Current state of the given documents, as the caller sees them
|
|
58
|
+
* @param {Array<string>} ids
|
|
59
|
+
* @param {*} [options] Override http request option.
|
|
60
|
+
* @throws {RequiredError}
|
|
61
|
+
*/
|
|
62
|
+
items: (ids: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
63
|
+
/**
|
|
64
|
+
* If-Match carries the SHA-256 the client last saw. 412 = the content changed on the server in the meantime: keep both. 428 = no If-Match. Answers the document\'s new state.
|
|
65
|
+
* @summary Replace a file\'s content, only if it is still the content the edit was based on
|
|
66
|
+
* @param {string} documentId
|
|
67
|
+
* @param {File} file
|
|
68
|
+
* @param {string} [ifMatch]
|
|
69
|
+
* @param {number} [contentLength]
|
|
70
|
+
* @param {*} [options] Override http request option.
|
|
71
|
+
* @throws {RequiredError}
|
|
72
|
+
*/
|
|
73
|
+
replaceContent: (documentId: string, file: File, ifMatch?: string, contentLength?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
74
|
+
/**
|
|
75
|
+
* The root holds the caller\'s own top-level items and the entry point of everything shared with them. Keep the cursor of the first page and start /changes from it.
|
|
76
|
+
* @summary One page of a folder\'s children; without folderId, the caller\'s root
|
|
77
|
+
* @param {string} [folderId]
|
|
78
|
+
* @param {string} [after]
|
|
79
|
+
* @param {number} [limit]
|
|
80
|
+
* @param {*} [options] Override http request option.
|
|
81
|
+
* @throws {RequiredError}
|
|
82
|
+
*/
|
|
83
|
+
snapshot: (folderId?: string, after?: string, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* DesktopSyncApi - functional programming interface
|
|
87
|
+
*/
|
|
88
|
+
export declare const DesktopSyncApiFp: (configuration?: Configuration) => {
|
|
89
|
+
/**
|
|
90
|
+
* Without a cursor: no items, only the cursor of the present moment. An item is either the document\'s current state or {gone: true}. Call again while hasMore is true.
|
|
91
|
+
* @summary Documents that changed since a cursor, as the caller sees them now
|
|
92
|
+
* @param {number} [cursor]
|
|
93
|
+
* @param {number} [limit]
|
|
94
|
+
* @param {*} [options] Override http request option.
|
|
95
|
+
* @throws {RequiredError}
|
|
96
|
+
*/
|
|
97
|
+
changes(cursor?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncChangesResponse>>;
|
|
98
|
+
/**
|
|
99
|
+
* If-None-Match with the hash the client already holds answers 304 without a body.
|
|
100
|
+
* @summary Download a file; its ETag is the SHA-256 of the content
|
|
101
|
+
* @param {string} documentId
|
|
102
|
+
* @param {string} [ifNoneMatch]
|
|
103
|
+
* @param {*} [options] Override http request option.
|
|
104
|
+
* @throws {RequiredError}
|
|
105
|
+
*/
|
|
106
|
+
content(documentId: string, ifNoneMatch?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @summary Connection details for the desktop application (public)
|
|
110
|
+
* @param {*} [options] Override http request option.
|
|
111
|
+
* @throws {RequiredError}
|
|
112
|
+
*/
|
|
113
|
+
discover(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DesktopSyncClientInfo>>;
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @summary Where to get the desktop application, and the address to give it
|
|
117
|
+
* @param {*} [options] Override http request option.
|
|
118
|
+
* @throws {RequiredError}
|
|
119
|
+
*/
|
|
120
|
+
forWebApplication(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DesktopSyncClientInfo>>;
|
|
121
|
+
/**
|
|
122
|
+
* What /changes would answer for these ids: a client asks after its own upload, or to settle a conflict. Ids the caller cannot see come back as {gone: true}. At most 200 ids.
|
|
123
|
+
* @summary Current state of the given documents, as the caller sees them
|
|
124
|
+
* @param {Array<string>} ids
|
|
125
|
+
* @param {*} [options] Override http request option.
|
|
126
|
+
* @throws {RequiredError}
|
|
127
|
+
*/
|
|
128
|
+
items(ids: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SyncItem>>>;
|
|
129
|
+
/**
|
|
130
|
+
* If-Match carries the SHA-256 the client last saw. 412 = the content changed on the server in the meantime: keep both. 428 = no If-Match. Answers the document\'s new state.
|
|
131
|
+
* @summary Replace a file\'s content, only if it is still the content the edit was based on
|
|
132
|
+
* @param {string} documentId
|
|
133
|
+
* @param {File} file
|
|
134
|
+
* @param {string} [ifMatch]
|
|
135
|
+
* @param {number} [contentLength]
|
|
136
|
+
* @param {*} [options] Override http request option.
|
|
137
|
+
* @throws {RequiredError}
|
|
138
|
+
*/
|
|
139
|
+
replaceContent(documentId: string, file: File, ifMatch?: string, contentLength?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncItem>>;
|
|
140
|
+
/**
|
|
141
|
+
* The root holds the caller\'s own top-level items and the entry point of everything shared with them. Keep the cursor of the first page and start /changes from it.
|
|
142
|
+
* @summary One page of a folder\'s children; without folderId, the caller\'s root
|
|
143
|
+
* @param {string} [folderId]
|
|
144
|
+
* @param {string} [after]
|
|
145
|
+
* @param {number} [limit]
|
|
146
|
+
* @param {*} [options] Override http request option.
|
|
147
|
+
* @throws {RequiredError}
|
|
148
|
+
*/
|
|
149
|
+
snapshot(folderId?: string, after?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncSnapshotResponse>>;
|
|
150
|
+
};
|
|
151
|
+
/**
|
|
152
|
+
* DesktopSyncApi - factory interface
|
|
153
|
+
*/
|
|
154
|
+
export declare const DesktopSyncApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
155
|
+
/**
|
|
156
|
+
* Without a cursor: no items, only the cursor of the present moment. An item is either the document\'s current state or {gone: true}. Call again while hasMore is true.
|
|
157
|
+
* @summary Documents that changed since a cursor, as the caller sees them now
|
|
158
|
+
* @param {number} [cursor]
|
|
159
|
+
* @param {number} [limit]
|
|
160
|
+
* @param {*} [options] Override http request option.
|
|
161
|
+
* @throws {RequiredError}
|
|
162
|
+
*/
|
|
163
|
+
changes(cursor?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<SyncChangesResponse>;
|
|
164
|
+
/**
|
|
165
|
+
* If-None-Match with the hash the client already holds answers 304 without a body.
|
|
166
|
+
* @summary Download a file; its ETag is the SHA-256 of the content
|
|
167
|
+
* @param {string} documentId
|
|
168
|
+
* @param {string} [ifNoneMatch]
|
|
169
|
+
* @param {*} [options] Override http request option.
|
|
170
|
+
* @throws {RequiredError}
|
|
171
|
+
*/
|
|
172
|
+
content(documentId: string, ifNoneMatch?: string, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
173
|
+
/**
|
|
174
|
+
*
|
|
175
|
+
* @summary Connection details for the desktop application (public)
|
|
176
|
+
* @param {*} [options] Override http request option.
|
|
177
|
+
* @throws {RequiredError}
|
|
178
|
+
*/
|
|
179
|
+
discover(options?: RawAxiosRequestConfig): AxiosPromise<DesktopSyncClientInfo>;
|
|
180
|
+
/**
|
|
181
|
+
*
|
|
182
|
+
* @summary Where to get the desktop application, and the address to give it
|
|
183
|
+
* @param {*} [options] Override http request option.
|
|
184
|
+
* @throws {RequiredError}
|
|
185
|
+
*/
|
|
186
|
+
forWebApplication(options?: RawAxiosRequestConfig): AxiosPromise<DesktopSyncClientInfo>;
|
|
187
|
+
/**
|
|
188
|
+
* What /changes would answer for these ids: a client asks after its own upload, or to settle a conflict. Ids the caller cannot see come back as {gone: true}. At most 200 ids.
|
|
189
|
+
* @summary Current state of the given documents, as the caller sees them
|
|
190
|
+
* @param {Array<string>} ids
|
|
191
|
+
* @param {*} [options] Override http request option.
|
|
192
|
+
* @throws {RequiredError}
|
|
193
|
+
*/
|
|
194
|
+
items(ids: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<Array<SyncItem>>;
|
|
195
|
+
/**
|
|
196
|
+
* If-Match carries the SHA-256 the client last saw. 412 = the content changed on the server in the meantime: keep both. 428 = no If-Match. Answers the document\'s new state.
|
|
197
|
+
* @summary Replace a file\'s content, only if it is still the content the edit was based on
|
|
198
|
+
* @param {string} documentId
|
|
199
|
+
* @param {File} file
|
|
200
|
+
* @param {string} [ifMatch]
|
|
201
|
+
* @param {number} [contentLength]
|
|
202
|
+
* @param {*} [options] Override http request option.
|
|
203
|
+
* @throws {RequiredError}
|
|
204
|
+
*/
|
|
205
|
+
replaceContent(documentId: string, file: File, ifMatch?: string, contentLength?: number, options?: RawAxiosRequestConfig): AxiosPromise<SyncItem>;
|
|
206
|
+
/**
|
|
207
|
+
* The root holds the caller\'s own top-level items and the entry point of everything shared with them. Keep the cursor of the first page and start /changes from it.
|
|
208
|
+
* @summary One page of a folder\'s children; without folderId, the caller\'s root
|
|
209
|
+
* @param {string} [folderId]
|
|
210
|
+
* @param {string} [after]
|
|
211
|
+
* @param {number} [limit]
|
|
212
|
+
* @param {*} [options] Override http request option.
|
|
213
|
+
* @throws {RequiredError}
|
|
214
|
+
*/
|
|
215
|
+
snapshot(folderId?: string, after?: string, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<SyncSnapshotResponse>;
|
|
216
|
+
};
|
|
217
|
+
/**
|
|
218
|
+
* DesktopSyncApi - object-oriented interface
|
|
219
|
+
*/
|
|
220
|
+
export declare class DesktopSyncApi extends BaseAPI {
|
|
221
|
+
/**
|
|
222
|
+
* Without a cursor: no items, only the cursor of the present moment. An item is either the document\'s current state or {gone: true}. Call again while hasMore is true.
|
|
223
|
+
* @summary Documents that changed since a cursor, as the caller sees them now
|
|
224
|
+
* @param {number} [cursor]
|
|
225
|
+
* @param {number} [limit]
|
|
226
|
+
* @param {*} [options] Override http request option.
|
|
227
|
+
* @throws {RequiredError}
|
|
228
|
+
*/
|
|
229
|
+
changes(cursor?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SyncChangesResponse, any, {}, any>>;
|
|
230
|
+
/**
|
|
231
|
+
* If-None-Match with the hash the client already holds answers 304 without a body.
|
|
232
|
+
* @summary Download a file; its ETag is the SHA-256 of the content
|
|
233
|
+
* @param {string} documentId
|
|
234
|
+
* @param {string} [ifNoneMatch]
|
|
235
|
+
* @param {*} [options] Override http request option.
|
|
236
|
+
* @throws {RequiredError}
|
|
237
|
+
*/
|
|
238
|
+
content(documentId: string, ifNoneMatch?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}, any>>;
|
|
239
|
+
/**
|
|
240
|
+
*
|
|
241
|
+
* @summary Connection details for the desktop application (public)
|
|
242
|
+
* @param {*} [options] Override http request option.
|
|
243
|
+
* @throws {RequiredError}
|
|
244
|
+
*/
|
|
245
|
+
discover(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DesktopSyncClientInfo, any, {}, any>>;
|
|
246
|
+
/**
|
|
247
|
+
*
|
|
248
|
+
* @summary Where to get the desktop application, and the address to give it
|
|
249
|
+
* @param {*} [options] Override http request option.
|
|
250
|
+
* @throws {RequiredError}
|
|
251
|
+
*/
|
|
252
|
+
forWebApplication(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DesktopSyncClientInfo, any, {}, any>>;
|
|
253
|
+
/**
|
|
254
|
+
* What /changes would answer for these ids: a client asks after its own upload, or to settle a conflict. Ids the caller cannot see come back as {gone: true}. At most 200 ids.
|
|
255
|
+
* @summary Current state of the given documents, as the caller sees them
|
|
256
|
+
* @param {Array<string>} ids
|
|
257
|
+
* @param {*} [options] Override http request option.
|
|
258
|
+
* @throws {RequiredError}
|
|
259
|
+
*/
|
|
260
|
+
items(ids: Array<string>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SyncItem[], any, {}, any>>;
|
|
261
|
+
/**
|
|
262
|
+
* If-Match carries the SHA-256 the client last saw. 412 = the content changed on the server in the meantime: keep both. 428 = no If-Match. Answers the document\'s new state.
|
|
263
|
+
* @summary Replace a file\'s content, only if it is still the content the edit was based on
|
|
264
|
+
* @param {string} documentId
|
|
265
|
+
* @param {File} file
|
|
266
|
+
* @param {string} [ifMatch]
|
|
267
|
+
* @param {number} [contentLength]
|
|
268
|
+
* @param {*} [options] Override http request option.
|
|
269
|
+
* @throws {RequiredError}
|
|
270
|
+
*/
|
|
271
|
+
replaceContent(documentId: string, file: File, ifMatch?: string, contentLength?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SyncItem, any, {}, any>>;
|
|
272
|
+
/**
|
|
273
|
+
* The root holds the caller\'s own top-level items and the entry point of everything shared with them. Keep the cursor of the first page and start /changes from it.
|
|
274
|
+
* @summary One page of a folder\'s children; without folderId, the caller\'s root
|
|
275
|
+
* @param {string} [folderId]
|
|
276
|
+
* @param {string} [after]
|
|
277
|
+
* @param {number} [limit]
|
|
278
|
+
* @param {*} [options] Override http request option.
|
|
279
|
+
* @throws {RequiredError}
|
|
280
|
+
*/
|
|
281
|
+
snapshot(folderId?: string, after?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SyncSnapshotResponse, any, {}, any>>;
|
|
282
|
+
}
|