@finueva/drive 0.5.1 → 0.7.0
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/CHANGELOG.md +12 -0
- package/README.md +15 -12
- package/dist/client.d.ts +2 -2
- package/dist/client.js +180 -20
- package/dist/contract.d.ts +261 -9
- package/dist/index.d.ts +2 -2
- package/dist/index.js +180 -20
- package/dist/server.d.ts +20 -2
- package/dist/server.js +127 -13
- package/dist/types.d.ts +2 -2
- package/package.json +1 -1
package/dist/contract.d.ts
CHANGED
|
@@ -1,5 +1,228 @@
|
|
|
1
1
|
//#region src/generated/openapi.d.ts
|
|
2
2
|
interface operations {
|
|
3
|
+
provisionManagedWorkspace: {
|
|
4
|
+
parameters: {
|
|
5
|
+
query?: never;
|
|
6
|
+
header?: never;
|
|
7
|
+
path?: never;
|
|
8
|
+
cookie?: never;
|
|
9
|
+
};
|
|
10
|
+
requestBody: {
|
|
11
|
+
content: {
|
|
12
|
+
"application/json": {
|
|
13
|
+
entitlement: {
|
|
14
|
+
managedStorageByteLimit: number;
|
|
15
|
+
managedStorageEnabled: boolean;
|
|
16
|
+
version: number;
|
|
17
|
+
} & ({
|
|
18
|
+
/** @constant */
|
|
19
|
+
managedStorageByteLimit?: 0;
|
|
20
|
+
/** @constant */
|
|
21
|
+
managedStorageEnabled?: false;
|
|
22
|
+
} | {
|
|
23
|
+
managedStorageByteLimit?: number;
|
|
24
|
+
/** @constant */
|
|
25
|
+
managedStorageEnabled?: true;
|
|
26
|
+
});
|
|
27
|
+
/** @enum {string} */
|
|
28
|
+
environment: "local" | "development" | "staging" | "production";
|
|
29
|
+
provisioningId: string;
|
|
30
|
+
/** @constant */
|
|
31
|
+
version: 1;
|
|
32
|
+
workspaceReference: {
|
|
33
|
+
/** @enum {string} */
|
|
34
|
+
type: "personal";
|
|
35
|
+
userId: string;
|
|
36
|
+
} | {
|
|
37
|
+
organizationId: string;
|
|
38
|
+
/** @enum {string} */
|
|
39
|
+
type: "organization";
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
responses: {
|
|
45
|
+
/** @description The exact request replayed or was superseded by a later entitlement. */
|
|
46
|
+
200: {
|
|
47
|
+
headers: {
|
|
48
|
+
[name: string]: unknown;
|
|
49
|
+
};
|
|
50
|
+
content: {
|
|
51
|
+
"application/json": {
|
|
52
|
+
/** @enum {string} */
|
|
53
|
+
outcome: "replayed" | "superseded";
|
|
54
|
+
workspace: {
|
|
55
|
+
entitlement: {
|
|
56
|
+
managedStorageByteLimit: number;
|
|
57
|
+
managedStorageEnabled: boolean;
|
|
58
|
+
version: number;
|
|
59
|
+
} & ({
|
|
60
|
+
/** @constant */
|
|
61
|
+
managedStorageByteLimit?: 0;
|
|
62
|
+
/** @constant */
|
|
63
|
+
managedStorageEnabled?: false;
|
|
64
|
+
} | {
|
|
65
|
+
managedStorageByteLimit?: number;
|
|
66
|
+
/** @constant */
|
|
67
|
+
managedStorageEnabled?: true;
|
|
68
|
+
});
|
|
69
|
+
rootItemId: string;
|
|
70
|
+
rootVolumeId: string;
|
|
71
|
+
workspaceId: string;
|
|
72
|
+
workspaceReference: {
|
|
73
|
+
/** @enum {string} */
|
|
74
|
+
type: "personal";
|
|
75
|
+
userId: string;
|
|
76
|
+
} | {
|
|
77
|
+
organizationId: string;
|
|
78
|
+
/** @enum {string} */
|
|
79
|
+
type: "organization";
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
/** @description The provisioning state was committed. */
|
|
86
|
+
201: {
|
|
87
|
+
headers: {
|
|
88
|
+
[name: string]: unknown;
|
|
89
|
+
};
|
|
90
|
+
content: {
|
|
91
|
+
"application/json": {
|
|
92
|
+
/** @enum {string} */
|
|
93
|
+
outcome: "committed";
|
|
94
|
+
workspace: {
|
|
95
|
+
entitlement: {
|
|
96
|
+
managedStorageByteLimit: number;
|
|
97
|
+
managedStorageEnabled: boolean;
|
|
98
|
+
version: number;
|
|
99
|
+
} & ({
|
|
100
|
+
/** @constant */
|
|
101
|
+
managedStorageByteLimit?: 0;
|
|
102
|
+
/** @constant */
|
|
103
|
+
managedStorageEnabled?: false;
|
|
104
|
+
} | {
|
|
105
|
+
managedStorageByteLimit?: number;
|
|
106
|
+
/** @constant */
|
|
107
|
+
managedStorageEnabled?: true;
|
|
108
|
+
});
|
|
109
|
+
rootItemId: string;
|
|
110
|
+
rootVolumeId: string;
|
|
111
|
+
workspaceId: string;
|
|
112
|
+
workspaceReference: {
|
|
113
|
+
/** @enum {string} */
|
|
114
|
+
type: "personal";
|
|
115
|
+
userId: string;
|
|
116
|
+
} | {
|
|
117
|
+
organizationId: string;
|
|
118
|
+
/** @enum {string} */
|
|
119
|
+
type: "organization";
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
/** @description A valid ecosystem provisioning bearer credential is required. */
|
|
126
|
+
401: {
|
|
127
|
+
headers: {
|
|
128
|
+
[name: string]: unknown;
|
|
129
|
+
};
|
|
130
|
+
content: {
|
|
131
|
+
"application/json": {
|
|
132
|
+
error: {
|
|
133
|
+
/** @enum {string} */
|
|
134
|
+
code: "authentication_required";
|
|
135
|
+
details: Record<string, never>;
|
|
136
|
+
/** @enum {string} */
|
|
137
|
+
message: "Authentication is required.";
|
|
138
|
+
requestId: string;
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
/** @description The verified principal lacks the exact provisioning capability. */
|
|
144
|
+
403: {
|
|
145
|
+
headers: {
|
|
146
|
+
[name: string]: unknown;
|
|
147
|
+
};
|
|
148
|
+
content: {
|
|
149
|
+
"application/json": {
|
|
150
|
+
error: {
|
|
151
|
+
/** @enum {string} */
|
|
152
|
+
code: "permission_denied";
|
|
153
|
+
details: Record<string, never>;
|
|
154
|
+
/** @enum {string} */
|
|
155
|
+
message: "The requested action is not permitted.";
|
|
156
|
+
requestId: string;
|
|
157
|
+
};
|
|
158
|
+
};
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
/** @description The provisioning identity conflicts with retained state. */
|
|
162
|
+
409: {
|
|
163
|
+
headers: {
|
|
164
|
+
[name: string]: unknown;
|
|
165
|
+
};
|
|
166
|
+
content: {
|
|
167
|
+
"application/json": {
|
|
168
|
+
error: {
|
|
169
|
+
/** @enum {string} */
|
|
170
|
+
code: "idempotency_conflict";
|
|
171
|
+
details: Record<string, never>;
|
|
172
|
+
/** @enum {string} */
|
|
173
|
+
message: "The idempotency key conflicts with an earlier request.";
|
|
174
|
+
requestId: string;
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
/** @description The strict provisioning request is invalid. */
|
|
180
|
+
422: {
|
|
181
|
+
headers: {
|
|
182
|
+
[name: string]: unknown;
|
|
183
|
+
};
|
|
184
|
+
content: {
|
|
185
|
+
"application/json": {
|
|
186
|
+
error: {
|
|
187
|
+
/** @enum {string} */
|
|
188
|
+
code: "invalid_request";
|
|
189
|
+
details: Record<string, never>;
|
|
190
|
+
/** @enum {string} */
|
|
191
|
+
message: "The request is invalid.";
|
|
192
|
+
requestId: string;
|
|
193
|
+
};
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
/** @description Auth authority, D1, or trusted capacity evidence is unavailable. */
|
|
198
|
+
503: {
|
|
199
|
+
headers: {
|
|
200
|
+
[name: string]: unknown;
|
|
201
|
+
};
|
|
202
|
+
content: {
|
|
203
|
+
"application/json": {
|
|
204
|
+
error: {
|
|
205
|
+
/** @enum {string} */
|
|
206
|
+
code: "identity_authority_unavailable";
|
|
207
|
+
details: Record<string, never>;
|
|
208
|
+
/** @enum {string} */
|
|
209
|
+
message: "Authentication is temporarily unavailable.";
|
|
210
|
+
requestId: string;
|
|
211
|
+
};
|
|
212
|
+
} | {
|
|
213
|
+
error: {
|
|
214
|
+
/** @enum {string} */
|
|
215
|
+
code: "service_unavailable";
|
|
216
|
+
details: Record<string, never>;
|
|
217
|
+
/** @enum {string} */
|
|
218
|
+
message: "The service is temporarily unavailable.";
|
|
219
|
+
requestId: string;
|
|
220
|
+
};
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
};
|
|
224
|
+
};
|
|
225
|
+
};
|
|
3
226
|
getCurrentWorkspace: {
|
|
4
227
|
parameters: {
|
|
5
228
|
query?: never;
|
|
@@ -3536,7 +3759,7 @@ interface operations {
|
|
|
3536
3759
|
expiresAtEpochMilliseconds: number;
|
|
3537
3760
|
itemId: string;
|
|
3538
3761
|
/** @enum {string} */
|
|
3539
|
-
lifecycle: "initiating" | "recovery-required" | "uploading" | "completing" | "provider-completed" | "ready" | "aborting" | "aborted";
|
|
3762
|
+
lifecycle: "initiating" | "recovery-required" | "uploading" | "completing" | "provider-completed" | "verifying" | "failed" | "ready" | "aborting" | "aborted";
|
|
3540
3763
|
/** @enum {string} */
|
|
3541
3764
|
mode: "presigned-multipart" | "server-mediated-zero-byte";
|
|
3542
3765
|
nextAfterPartNumber: number | null;
|
|
@@ -3549,7 +3772,7 @@ interface operations {
|
|
|
3549
3772
|
};
|
|
3550
3773
|
ready: {
|
|
3551
3774
|
byteLength: number;
|
|
3552
|
-
/** @description Caller-declared whole-file SHA-256
|
|
3775
|
+
/** @description Caller-declared whole-file SHA-256. Portable profiles independently verify file bytes before publication; legacy profiles retain provider-checksum semantics. */
|
|
3553
3776
|
callerDeclaredContentDigest: string;
|
|
3554
3777
|
displayFilename: string;
|
|
3555
3778
|
itemId: string;
|
|
@@ -3561,6 +3784,13 @@ interface operations {
|
|
|
3561
3784
|
} | null;
|
|
3562
3785
|
revision: number;
|
|
3563
3786
|
uploadId: string;
|
|
3787
|
+
verification?: {
|
|
3788
|
+
revision: number;
|
|
3789
|
+
/** @enum {string} */
|
|
3790
|
+
state: "pending" | "verified" | "failed";
|
|
3791
|
+
totalByteLength: number;
|
|
3792
|
+
verifiedByteLength: number;
|
|
3793
|
+
};
|
|
3564
3794
|
versionId: string;
|
|
3565
3795
|
};
|
|
3566
3796
|
};
|
|
@@ -3835,7 +4065,7 @@ interface operations {
|
|
|
3835
4065
|
content: {
|
|
3836
4066
|
"application/json": {
|
|
3837
4067
|
byteLength: number;
|
|
3838
|
-
/** @description Caller-declared whole-file SHA-256
|
|
4068
|
+
/** @description Caller-declared whole-file SHA-256. Portable profiles independently verify file bytes before publication; legacy profiles retain provider-checksum semantics. */
|
|
3839
4069
|
callerDeclaredContentDigest: string;
|
|
3840
4070
|
displayFilename: string;
|
|
3841
4071
|
itemId: string;
|
|
@@ -3847,6 +4077,24 @@ interface operations {
|
|
|
3847
4077
|
};
|
|
3848
4078
|
};
|
|
3849
4079
|
};
|
|
4080
|
+
/** @description Archive verification is pending; retry completion with the same key. */
|
|
4081
|
+
202: {
|
|
4082
|
+
headers: {
|
|
4083
|
+
[name: string]: unknown;
|
|
4084
|
+
};
|
|
4085
|
+
content: {
|
|
4086
|
+
"application/json": {
|
|
4087
|
+
itemId: string;
|
|
4088
|
+
/** @enum {string} */
|
|
4089
|
+
state: "verifying";
|
|
4090
|
+
totalByteLength: number;
|
|
4091
|
+
uploadId: string;
|
|
4092
|
+
verificationRevision: number;
|
|
4093
|
+
verifiedByteLength: number;
|
|
4094
|
+
versionId: string;
|
|
4095
|
+
};
|
|
4096
|
+
};
|
|
4097
|
+
};
|
|
3850
4098
|
/** @description Authentication is required. */
|
|
3851
4099
|
401: {
|
|
3852
4100
|
headers: {
|
|
@@ -3998,6 +4246,7 @@ interface operations {
|
|
|
3998
4246
|
content: {
|
|
3999
4247
|
"application/json": {
|
|
4000
4248
|
checksumSha256: string;
|
|
4249
|
+
contentMd5: string;
|
|
4001
4250
|
partNumber: number;
|
|
4002
4251
|
};
|
|
4003
4252
|
};
|
|
@@ -4013,7 +4262,7 @@ interface operations {
|
|
|
4013
4262
|
expectedByteLength: number;
|
|
4014
4263
|
expiresAtEpochMilliseconds: number;
|
|
4015
4264
|
headers: {
|
|
4016
|
-
"
|
|
4265
|
+
"content-md5": string;
|
|
4017
4266
|
};
|
|
4018
4267
|
/** @enum {string} */
|
|
4019
4268
|
method: "PUT";
|
|
@@ -4371,6 +4620,8 @@ type UploadPartDescriptor = Readonly<Omit<JsonResponse<"createUploadPartDescript
|
|
|
4371
4620
|
}>;
|
|
4372
4621
|
type UploadPartResult = Readonly<JsonResponse<"recordUploadPart", 200>>;
|
|
4373
4622
|
type ReadyUpload = Readonly<JsonResponse<"completeUpload", 200>>;
|
|
4623
|
+
type PendingUpload = Readonly<JsonResponse<"completeUpload", 202>>;
|
|
4624
|
+
type UploadCompletion = ReadyUpload | PendingUpload;
|
|
4374
4625
|
type ManagedLifecycleItem = Readonly<JsonResponse<"updateItem", 200>>;
|
|
4375
4626
|
type GeneratedManagedItemMetadata = JsonResponse<"getItem", 200>;
|
|
4376
4627
|
type ManagedItemMetadata = Readonly<Omit<GeneratedManagedItemMetadata, "currentVersion"> & {
|
|
@@ -4397,10 +4648,11 @@ type ManagedDownloadDescriptor = Readonly<Omit<JsonResponse<"createDownload", 20
|
|
|
4397
4648
|
type ManagedDownloadRestorePending = Readonly<JsonResponse<"createDownload", 202>>;
|
|
4398
4649
|
type GeneratedUploadStatus = JsonResponse<"getUploadStatus", 200>;
|
|
4399
4650
|
type UploadConfirmedPart = Readonly<GeneratedUploadStatus["confirmedParts"][number]>;
|
|
4400
|
-
type UploadStatus = Readonly<Omit<GeneratedUploadStatus, "confirmedParts" | "partPolicy" | "ready"> & {
|
|
4651
|
+
type UploadStatus = Readonly<Omit<GeneratedUploadStatus, "confirmedParts" | "partPolicy" | "ready" | "verification"> & {
|
|
4401
4652
|
readonly confirmedParts: readonly UploadConfirmedPart[];
|
|
4402
4653
|
readonly partPolicy: Readonly<GeneratedUploadStatus["partPolicy"]>;
|
|
4403
4654
|
readonly ready: ReadyUpload | null;
|
|
4655
|
+
readonly verification?: Readonly<NonNullable<GeneratedUploadStatus["verification"]>>;
|
|
4404
4656
|
}>;
|
|
4405
4657
|
type ProtectionClassification = CreateUploadBody["protectionClassification"];
|
|
4406
4658
|
type PermissionAction = CreatePermissionBody["actions"][number];
|
|
@@ -4540,7 +4792,7 @@ type CreateDownloadInput = Readonly<CreateDownloadPath> & Readonly<CreateDownloa
|
|
|
4540
4792
|
readonly signal?: AbortSignal;
|
|
4541
4793
|
};
|
|
4542
4794
|
type DownloadItemResult = Response | DriveOperationResult<ManagedDownloadRestorePending, 202> | DriveOperationResult<undefined, 304>;
|
|
4543
|
-
type UploadFilePhase = "preparing" | "uploading" | "completing";
|
|
4795
|
+
type UploadFilePhase = "preparing" | "uploading" | "completing" | "verifying";
|
|
4544
4796
|
interface UploadFileProgress {
|
|
4545
4797
|
readonly phase: UploadFilePhase;
|
|
4546
4798
|
readonly confirmedByteLength: number;
|
|
@@ -4588,12 +4840,12 @@ interface DriveOperations {
|
|
|
4588
4840
|
getUploadStatus(input: GetUploadStatusInput): Promise<DriveOperationResult<UploadStatus, 200>>;
|
|
4589
4841
|
createUploadPartDescriptor(input: CreateUploadPartDescriptorInput): Promise<DriveOperationResult<UploadPartDescriptor, 200>>;
|
|
4590
4842
|
recordUploadPart(input: RecordUploadPartInput): Promise<DriveOperationResult<UploadPartResult, 200>>;
|
|
4591
|
-
completeUpload(input: CompleteUploadInput): Promise<DriveOperationResult<
|
|
4843
|
+
completeUpload(input: CompleteUploadInput): Promise<DriveOperationResult<UploadCompletion, 200 | 202>>;
|
|
4592
4844
|
abortUpload(input: AbortUploadInput): Promise<DriveOperationResult<undefined, 204>>;
|
|
4593
4845
|
}
|
|
4594
4846
|
interface DriveServerClient extends DriveOperations {}
|
|
4595
4847
|
interface DriveClient extends DriveOperations {
|
|
4596
|
-
uploadFile(input: UploadFileInput): Promise<DriveOperationResult<
|
|
4848
|
+
uploadFile(input: UploadFileInput): Promise<DriveOperationResult<UploadCompletion, 200 | 202>>;
|
|
4597
4849
|
}
|
|
4598
4850
|
//#endregion
|
|
4599
|
-
export {
|
|
4851
|
+
export { TrashItemInput as $, ListItemVersionsInput as A, PermissionAction as B, FolderPage as C, GetUploadStatusInput as D, GetItemVersionInput as E, ManagedItemVersionPage as F, ProtectionClassification as G, PermissionGrantee as H, ManagedItemVersionResource as I, RecordUploadPartInput as J, ReadEffectiveItemPermissionsInput as K, ManagedItemVersionRestoreResult as L, ManagedDownloadRestorePending as M, ManagedItemMetadata as N, ListFolderChildrenInput as O, ManagedItemVersion as P, SearchWorkspaceItemsInput as Q, ManagedLifecycleItem as R, FolderItem as S, GetItemInput as T, PermissionMutation as U, PermissionGrant as V, PermissionPage as W, RestoreItemVersionInput as X, RestoreItemInput as Y, RevokeItemPermissionInput as Z, DriveResponseValidators as _, CreateItemPermissionInput as a, UploadFilePhase as at, EffectivePermissionAction as b, CurrentWorkspace as c, UploadPartDescriptor as ct, DriveClient as d, UploadStatus as dt, UpdateItemInput as et, DriveClientConfig as f, WorkspaceItemSearchItem as ft, DriveOperations as g, DriveOperationResult as h, CreateFolderInput as i, UploadFileInput as it, ManagedDownloadDescriptor as j, ListItemPermissionsInput as k, DeleteItemInput as l, UploadPartResult as lt, DriveCredentialProvider as m, operations as mt, CompleteUploadInput as n, UploadCompletion as nt, CreateUploadInput as o, UploadFileProgress as ot, DriveCredentialContext as p, WorkspaceItemSearchPage as pt, ReadyUpload as q, CreateDownloadInput as r, UploadConfirmedPart as rt, CreateUploadPartDescriptorInput as s, UploadFileProgressCallback as st, AbortUploadInput as t, UpdateItemPermissionInput as tt, DownloadItemResult as u, UploadSession as ut, DriveServerClient as v, GetCurrentWorkspaceInput as w, EffectivePermissionResponse as x, DriveServerClientConfig as y, PendingUpload as z };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as TrashItemInput, A as ListItemVersionsInput, B as PermissionAction, C as FolderPage, D as GetUploadStatusInput, E as GetItemVersionInput, F as ManagedItemVersionPage, G as ProtectionClassification, H as PermissionGrantee, I as ManagedItemVersionResource, J as RecordUploadPartInput, K as ReadEffectiveItemPermissionsInput, L as ManagedItemVersionRestoreResult, M as ManagedDownloadRestorePending, N as ManagedItemMetadata, O as ListFolderChildrenInput, P as ManagedItemVersion, Q as SearchWorkspaceItemsInput, R as ManagedLifecycleItem, S as FolderItem, T as GetItemInput, U as PermissionMutation, V as PermissionGrant, X as RestoreItemVersionInput, Y as RestoreItemInput, Z as RevokeItemPermissionInput, _ as DriveResponseValidators, a as CreateItemPermissionInput, at as UploadFilePhase, b as EffectivePermissionAction, c as CurrentWorkspace, ct as UploadPartDescriptor, d as DriveClient, dt as UploadStatus, et as UpdateItemInput, f as DriveClientConfig, ft as WorkspaceItemSearchItem, g as DriveOperations, h as DriveOperationResult, i as CreateFolderInput, it as UploadFileInput, j as ManagedDownloadDescriptor, k as ListItemPermissionsInput, l as DeleteItemInput, lt as UploadPartResult, m as DriveCredentialProvider, n as CompleteUploadInput, nt as UploadCompletion, o as CreateUploadInput, ot as UploadFileProgress, pt as WorkspaceItemSearchPage, q as ReadyUpload, r as CreateDownloadInput, rt as UploadConfirmedPart, s as CreateUploadPartDescriptorInput, st as UploadFileProgressCallback, t as AbortUploadInput, tt as UpdateItemPermissionInput, u as DownloadItemResult, ut as UploadSession, w as GetCurrentWorkspaceInput, z as PendingUpload } from "./contract.js";
|
|
2
2
|
import { createDriveClient } from "./client.js";
|
|
3
3
|
import { DRIVE_API_ERROR_CODES, DRIVE_API_ERROR_MESSAGES, DriveApiErrorCode, DriveError, DriveErrorCode, DriveSdkErrorCode } from "./core.js";
|
|
4
|
-
export { type AbortUploadInput, type CompleteUploadInput, type CreateDownloadInput, type CreateFolderInput, type CreateItemPermissionInput, type CreateUploadInput, type CreateUploadPartDescriptorInput, type CurrentWorkspace, DRIVE_API_ERROR_CODES, DRIVE_API_ERROR_MESSAGES, type DeleteItemInput, type DownloadItemResult, type DriveApiErrorCode, type DriveClient, type DriveClientConfig, type DriveCredentialProvider, DriveError, type DriveErrorCode, type DriveOperationResult, type DriveOperations, type DriveResponseValidators, type DriveSdkErrorCode, type EffectivePermissionAction, type FolderItem, type FolderPage, type GetCurrentWorkspaceInput, type GetItemInput, type GetItemVersionInput, type GetUploadStatusInput, type ListFolderChildrenInput, type ListItemPermissionsInput, type ListItemVersionsInput, type ManagedDownloadDescriptor, type ManagedDownloadRestorePending, type ManagedItemMetadata, type ManagedItemVersion, type ManagedItemVersionPage, type ManagedItemVersionResource, type ManagedItemVersionRestoreResult, type ManagedLifecycleItem, type PermissionAction, type PermissionGrant, type PermissionGrantee, type PermissionMutation, type ProtectionClassification, type ReadEffectiveItemPermissionsInput, type ReadyUpload, type RecordUploadPartInput, type RestoreItemInput, type RestoreItemVersionInput, type RevokeItemPermissionInput, type SearchWorkspaceItemsInput, type TrashItemInput, type UpdateItemInput, type UpdateItemPermissionInput, type UploadConfirmedPart, type UploadFileInput, type UploadFilePhase, type UploadFileProgress, type UploadFileProgressCallback, type UploadPartDescriptor, type UploadPartResult, type UploadSession, type UploadStatus, type WorkspaceItemSearchItem, type WorkspaceItemSearchPage, createDriveClient };
|
|
4
|
+
export { type AbortUploadInput, type CompleteUploadInput, type CreateDownloadInput, type CreateFolderInput, type CreateItemPermissionInput, type CreateUploadInput, type CreateUploadPartDescriptorInput, type CurrentWorkspace, DRIVE_API_ERROR_CODES, DRIVE_API_ERROR_MESSAGES, type DeleteItemInput, type DownloadItemResult, type DriveApiErrorCode, type DriveClient, type DriveClientConfig, type DriveCredentialProvider, DriveError, type DriveErrorCode, type DriveOperationResult, type DriveOperations, type DriveResponseValidators, type DriveSdkErrorCode, type EffectivePermissionAction, type FolderItem, type FolderPage, type GetCurrentWorkspaceInput, type GetItemInput, type GetItemVersionInput, type GetUploadStatusInput, type ListFolderChildrenInput, type ListItemPermissionsInput, type ListItemVersionsInput, type ManagedDownloadDescriptor, type ManagedDownloadRestorePending, type ManagedItemMetadata, type ManagedItemVersion, type ManagedItemVersionPage, type ManagedItemVersionResource, type ManagedItemVersionRestoreResult, type ManagedLifecycleItem, type PendingUpload, type PermissionAction, type PermissionGrant, type PermissionGrantee, type PermissionMutation, type ProtectionClassification, type ReadEffectiveItemPermissionsInput, type ReadyUpload, type RecordUploadPartInput, type RestoreItemInput, type RestoreItemVersionInput, type RevokeItemPermissionInput, type SearchWorkspaceItemsInput, type TrashItemInput, type UpdateItemInput, type UpdateItemPermissionInput, type UploadCompletion, type UploadConfirmedPart, type UploadFileInput, type UploadFilePhase, type UploadFileProgress, type UploadFileProgressCallback, type UploadPartDescriptor, type UploadPartResult, type UploadSession, type UploadStatus, type WorkspaceItemSearchItem, type WorkspaceItemSearchPage, createDriveClient };
|