@finueva/drive 0.17.0 → 0.19.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 +42 -0
- package/dist/client.d.ts +2 -2
- package/dist/client.js +1 -1
- package/dist/contract.d.ts +118 -20
- package/dist/contract2.d.ts +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/server.d.ts +2 -2
- package/dist/server.js +1 -1
- package/dist/types.d.ts +2 -2
- package/package.json +1 -1
package/dist/contract.d.ts
CHANGED
|
@@ -335,7 +335,7 @@ interface operations {
|
|
|
335
335
|
};
|
|
336
336
|
content?: never;
|
|
337
337
|
};
|
|
338
|
-
/** @description Invalid request;
|
|
338
|
+
/** @description Invalid request; an editor grant is one file for at most 24 hours. */
|
|
339
339
|
422: {
|
|
340
340
|
headers: {
|
|
341
341
|
[name: string]: unknown;
|
|
@@ -439,7 +439,92 @@ interface operations {
|
|
|
439
439
|
};
|
|
440
440
|
content?: never;
|
|
441
441
|
};
|
|
442
|
-
/** @description Invalid request;
|
|
442
|
+
/** @description Invalid request; an editor grant is one file for at most 24 hours. */
|
|
443
|
+
422: {
|
|
444
|
+
headers: {
|
|
445
|
+
[name: string]: unknown;
|
|
446
|
+
};
|
|
447
|
+
content?: never;
|
|
448
|
+
};
|
|
449
|
+
/** @description Bounded admission exhausted; retry after one minute. */
|
|
450
|
+
429: {
|
|
451
|
+
headers: {
|
|
452
|
+
[name: string]: unknown;
|
|
453
|
+
};
|
|
454
|
+
content?: never;
|
|
455
|
+
};
|
|
456
|
+
/** @description Service unavailable. */
|
|
457
|
+
503: {
|
|
458
|
+
headers: {
|
|
459
|
+
[name: string]: unknown;
|
|
460
|
+
};
|
|
461
|
+
content?: never;
|
|
462
|
+
};
|
|
463
|
+
};
|
|
464
|
+
};
|
|
465
|
+
createVisitorEditingSession: {
|
|
466
|
+
parameters: {
|
|
467
|
+
query?: {
|
|
468
|
+
itemId?: string;
|
|
469
|
+
};
|
|
470
|
+
header: {
|
|
471
|
+
/** @description DriveVisitor followed by a space and the capability. Never place tokens in URLs. */
|
|
472
|
+
Authorization: string;
|
|
473
|
+
};
|
|
474
|
+
path?: never;
|
|
475
|
+
cookie?: never;
|
|
476
|
+
};
|
|
477
|
+
requestBody: {
|
|
478
|
+
content: {
|
|
479
|
+
"application/json": {
|
|
480
|
+
audience: string;
|
|
481
|
+
sourceVersionId?: string;
|
|
482
|
+
writable: boolean;
|
|
483
|
+
};
|
|
484
|
+
};
|
|
485
|
+
};
|
|
486
|
+
responses: {
|
|
487
|
+
/** @description Scoped capability attributed to the visitor grant; the token is returned once. */
|
|
488
|
+
201: {
|
|
489
|
+
headers: {
|
|
490
|
+
[name: string]: unknown;
|
|
491
|
+
};
|
|
492
|
+
content: {
|
|
493
|
+
"application/json": {
|
|
494
|
+
audience: string;
|
|
495
|
+
/** Format: uuid */
|
|
496
|
+
contentGeneration: string;
|
|
497
|
+
expectedVersionId: string;
|
|
498
|
+
expiresAt: number;
|
|
499
|
+
/** Format: uuid */
|
|
500
|
+
grantId: string;
|
|
501
|
+
itemId: string;
|
|
502
|
+
leaseUntil: number;
|
|
503
|
+
revoked: boolean;
|
|
504
|
+
/** Format: uuid */
|
|
505
|
+
sessionId: string;
|
|
506
|
+
sourceVersionId: string;
|
|
507
|
+
token: string;
|
|
508
|
+
workspaceId: string;
|
|
509
|
+
writable: boolean;
|
|
510
|
+
};
|
|
511
|
+
};
|
|
512
|
+
};
|
|
513
|
+
/** @description Capability or resource unavailable. */
|
|
514
|
+
404: {
|
|
515
|
+
headers: {
|
|
516
|
+
[name: string]: unknown;
|
|
517
|
+
};
|
|
518
|
+
content?: never;
|
|
519
|
+
};
|
|
520
|
+
/** @description Conflicting request identity. */
|
|
521
|
+
409: {
|
|
522
|
+
headers: {
|
|
523
|
+
[name: string]: unknown;
|
|
524
|
+
};
|
|
525
|
+
content?: never;
|
|
526
|
+
};
|
|
527
|
+
/** @description Invalid request; an editor grant is one file for at most 24 hours. */
|
|
443
528
|
422: {
|
|
444
529
|
headers: {
|
|
445
530
|
[name: string]: unknown;
|
|
@@ -488,7 +573,7 @@ interface operations {
|
|
|
488
573
|
kind: "file" | "folder";
|
|
489
574
|
name: string | null;
|
|
490
575
|
/** @enum {string} */
|
|
491
|
-
role: "viewer";
|
|
576
|
+
role: "viewer" | "editor";
|
|
492
577
|
rootItemId: string;
|
|
493
578
|
};
|
|
494
579
|
};
|
|
@@ -507,7 +592,7 @@ interface operations {
|
|
|
507
592
|
};
|
|
508
593
|
content?: never;
|
|
509
594
|
};
|
|
510
|
-
/** @description Invalid request;
|
|
595
|
+
/** @description Invalid request; an editor grant is one file for at most 24 hours. */
|
|
511
596
|
422: {
|
|
512
597
|
headers: {
|
|
513
598
|
[name: string]: unknown;
|
|
@@ -558,7 +643,7 @@ interface operations {
|
|
|
558
643
|
expiresAt: number;
|
|
559
644
|
grantId: string;
|
|
560
645
|
/** @enum {string} */
|
|
561
|
-
role: "viewer";
|
|
646
|
+
role: "viewer" | "editor";
|
|
562
647
|
};
|
|
563
648
|
};
|
|
564
649
|
};
|
|
@@ -576,7 +661,7 @@ interface operations {
|
|
|
576
661
|
};
|
|
577
662
|
content?: never;
|
|
578
663
|
};
|
|
579
|
-
/** @description Invalid request;
|
|
664
|
+
/** @description Invalid request; an editor grant is one file for at most 24 hours. */
|
|
580
665
|
422: {
|
|
581
666
|
headers: {
|
|
582
667
|
[name: string]: unknown;
|
|
@@ -5007,7 +5092,7 @@ interface operations {
|
|
|
5007
5092
|
/** @enum {string} */
|
|
5008
5093
|
mode: "anyone" | "email";
|
|
5009
5094
|
/** @enum {string} */
|
|
5010
|
-
role: "viewer";
|
|
5095
|
+
role: "viewer" | "editor";
|
|
5011
5096
|
/** @enum {string} */
|
|
5012
5097
|
source: "direct" | "inherited";
|
|
5013
5098
|
sourceItemId: string;
|
|
@@ -5045,7 +5130,7 @@ interface operations {
|
|
|
5045
5130
|
};
|
|
5046
5131
|
content?: never;
|
|
5047
5132
|
};
|
|
5048
|
-
/** @description Invalid request;
|
|
5133
|
+
/** @description Invalid request; an editor grant is one file for at most 24 hours. */
|
|
5049
5134
|
422: {
|
|
5050
5135
|
headers: {
|
|
5051
5136
|
[name: string]: unknown;
|
|
@@ -5086,15 +5171,15 @@ interface operations {
|
|
|
5086
5171
|
expiresAt: number;
|
|
5087
5172
|
/** @constant */
|
|
5088
5173
|
mode: "anyone";
|
|
5089
|
-
/** @
|
|
5090
|
-
role: "viewer";
|
|
5174
|
+
/** @enum {string} */
|
|
5175
|
+
role: "viewer" | "editor";
|
|
5091
5176
|
} | {
|
|
5092
5177
|
email: string;
|
|
5093
5178
|
expiresAt: number;
|
|
5094
5179
|
/** @constant */
|
|
5095
5180
|
mode: "email";
|
|
5096
|
-
/** @
|
|
5097
|
-
role: "viewer";
|
|
5181
|
+
/** @enum {string} */
|
|
5182
|
+
role: "viewer" | "editor";
|
|
5098
5183
|
};
|
|
5099
5184
|
};
|
|
5100
5185
|
};
|
|
@@ -5115,7 +5200,7 @@ interface operations {
|
|
|
5115
5200
|
/** @enum {string} */
|
|
5116
5201
|
mode: "anyone" | "email";
|
|
5117
5202
|
/** @enum {string} */
|
|
5118
|
-
role: "viewer";
|
|
5203
|
+
role: "viewer" | "editor";
|
|
5119
5204
|
/** @enum {string} */
|
|
5120
5205
|
status: "pending" | "active" | "expired" | "revoked";
|
|
5121
5206
|
};
|
|
@@ -5153,7 +5238,7 @@ interface operations {
|
|
|
5153
5238
|
};
|
|
5154
5239
|
content?: never;
|
|
5155
5240
|
};
|
|
5156
|
-
/** @description Invalid request;
|
|
5241
|
+
/** @description Invalid request; an editor grant is one file for at most 24 hours. */
|
|
5157
5242
|
422: {
|
|
5158
5243
|
headers: {
|
|
5159
5244
|
[name: string]: unknown;
|
|
@@ -5205,7 +5290,7 @@ interface operations {
|
|
|
5205
5290
|
/** @enum {string} */
|
|
5206
5291
|
mode: "anyone" | "email";
|
|
5207
5292
|
/** @enum {string} */
|
|
5208
|
-
role: "viewer";
|
|
5293
|
+
role: "viewer" | "editor";
|
|
5209
5294
|
/** @enum {string} */
|
|
5210
5295
|
status: "pending" | "active" | "expired" | "revoked";
|
|
5211
5296
|
};
|
|
@@ -5243,7 +5328,7 @@ interface operations {
|
|
|
5243
5328
|
};
|
|
5244
5329
|
content?: never;
|
|
5245
5330
|
};
|
|
5246
|
-
/** @description Invalid request;
|
|
5331
|
+
/** @description Invalid request; an editor grant is one file for at most 24 hours. */
|
|
5247
5332
|
422: {
|
|
5248
5333
|
headers: {
|
|
5249
5334
|
[name: string]: unknown;
|
|
@@ -5294,7 +5379,7 @@ interface operations {
|
|
|
5294
5379
|
/** @enum {string} */
|
|
5295
5380
|
mode: "anyone" | "email";
|
|
5296
5381
|
/** @enum {string} */
|
|
5297
|
-
role: "viewer";
|
|
5382
|
+
role: "viewer" | "editor";
|
|
5298
5383
|
/** @enum {string} */
|
|
5299
5384
|
status: "pending" | "active" | "expired" | "revoked";
|
|
5300
5385
|
};
|
|
@@ -5328,7 +5413,7 @@ interface operations {
|
|
|
5328
5413
|
};
|
|
5329
5414
|
content?: never;
|
|
5330
5415
|
};
|
|
5331
|
-
/** @description Invalid request;
|
|
5416
|
+
/** @description Invalid request; an editor grant is one file for at most 24 hours. */
|
|
5332
5417
|
422: {
|
|
5333
5418
|
headers: {
|
|
5334
5419
|
[name: string]: unknown;
|
|
@@ -6106,7 +6191,9 @@ interface operations {
|
|
|
6106
6191
|
};
|
|
6107
6192
|
completeUpload: {
|
|
6108
6193
|
parameters: {
|
|
6109
|
-
query?:
|
|
6194
|
+
query?: {
|
|
6195
|
+
verification?: string;
|
|
6196
|
+
};
|
|
6110
6197
|
header: {
|
|
6111
6198
|
"Idempotency-Key": string;
|
|
6112
6199
|
};
|
|
@@ -7155,8 +7242,14 @@ type RecordUploadPartInput = Readonly<Omit<RecordUploadPartPath, "partNumber">>
|
|
|
7155
7242
|
readonly partNumber: number;
|
|
7156
7243
|
readonly signal?: AbortSignal;
|
|
7157
7244
|
};
|
|
7245
|
+
/**
|
|
7246
|
+
* `deferred` (the default) answers `202` with a `verifying` upload as soon as Drive has the object and can
|
|
7247
|
+
* hash it on its queue; `inline` waits for that hash and publishes inside the same request.
|
|
7248
|
+
*/
|
|
7249
|
+
type UploadVerificationMode = "deferred" | "inline";
|
|
7158
7250
|
type CompleteUploadInput = Readonly<UploadPath> & {
|
|
7159
7251
|
readonly idempotencyKey: CompleteUploadHeaders["Idempotency-Key"];
|
|
7252
|
+
readonly verification?: UploadVerificationMode;
|
|
7160
7253
|
readonly signal?: AbortSignal;
|
|
7161
7254
|
};
|
|
7162
7255
|
type AbortUploadInput = Readonly<AbortUploadPath> & {
|
|
@@ -7214,6 +7307,8 @@ interface UploadFileInput {
|
|
|
7214
7307
|
readonly protectionClassification?: ProtectionClassification;
|
|
7215
7308
|
readonly idempotencyKey: string;
|
|
7216
7309
|
readonly completionIdempotencyKey: string;
|
|
7310
|
+
/** Defaults to `deferred`: `uploadFile` then resolves with a `verifying` completion the caller settles later. */
|
|
7311
|
+
readonly verification?: UploadVerificationMode;
|
|
7217
7312
|
readonly signal?: AbortSignal;
|
|
7218
7313
|
readonly onProgress?: UploadFileProgressCallback;
|
|
7219
7314
|
}
|
|
@@ -7281,6 +7376,8 @@ type VisitorGrantPage = JsonResponse<"listVisitorGrants", 200>;
|
|
|
7281
7376
|
type VisitorItem = JsonResponse<"readVisitorItem", 200>;
|
|
7282
7377
|
type VisitorChildren = JsonResponse<"listVisitorChildren", 200>;
|
|
7283
7378
|
type VisitorSession = JsonResponse<"redeemVisitorInvitation", 200>;
|
|
7379
|
+
type VisitorEditingSession = JsonResponse<"createVisitorEditingSession", 201>;
|
|
7380
|
+
type CreateVisitorEditingSessionInput = VisitorReadInput & JsonRequest<"createVisitorEditingSession">;
|
|
7284
7381
|
type CreateVisitorGrantInput = GetItemInput & {
|
|
7285
7382
|
readonly command: JsonRequest<"createVisitorGrant">;
|
|
7286
7383
|
readonly idempotencyKey: string;
|
|
@@ -7317,6 +7414,7 @@ interface DriveVisitorClient {
|
|
|
7317
7414
|
readonly sessionToken: string;
|
|
7318
7415
|
readonly signal?: AbortSignal;
|
|
7319
7416
|
}): Promise<DriveOperationResult<VisitorSession, 200>>;
|
|
7417
|
+
createEditingSession(input: CreateVisitorEditingSessionInput): Promise<DriveOperationResult<VisitorEditingSession, 201>>;
|
|
7320
7418
|
}
|
|
7321
7419
|
interface DriveServerClient extends DriveOperations {}
|
|
7322
7420
|
interface DriveClient extends DriveOperations {
|
|
@@ -7324,4 +7422,4 @@ interface DriveClient extends DriveOperations {
|
|
|
7324
7422
|
uploadFile(input: UploadFileInput): Promise<DriveOperationResult<UploadCompletion, 200 | 202>>;
|
|
7325
7423
|
}
|
|
7326
7424
|
//#endregion
|
|
7327
|
-
export {
|
|
7425
|
+
export { ListItemSharingPeopleInput as $, WorkspaceDiscoveryPage as $t, DriveVisitorClient as A, UploadCompletion as At, FolderPage as B, UploadStatus as Bt, DriveEditingClientConfig as C, RestoreItemVersionInput as Ct, DriveResponseValidators as D, TrashItemInput as Dt, DriveOperations as E, SearchWorkspaceItemsInput as Et, EditingSessionCreation as F, UploadFileProgressCallback as Ft, GetVisitorGrantInput as G, VisitorEditingSession as Gt, GetItemInput as H, VisitorChildren as Ht, EffectivePermissionAction as I, UploadFileVersionInput as It, IncomingSharePage as J, VisitorGrantPage as Jt, GetWorkspaceUsageInput as K, VisitorGrant as Kt, EffectivePermissionResponse as L, UploadPartDescriptor as Lt, EditingFileMetadata as M, UploadFileInput as Mt, EditingFileVersionInput as N, UploadFilePhase as Nt, DriveServerClient as O, UpdateItemInput as Ot, EditingSession as P, UploadFileProgress as Pt, ListItemPermissionsInput as Q, WorkspaceDiscoveryItem as Qt, FileAccessContext as R, UploadPartResult as Rt, DriveEditingClient as S, RestoreItemInput as St, DriveOperationResult as T, RevokeVisitorGrantInput as Tt, GetItemVersionInput as U, VisitorChildrenInput as Ut, GetCurrentWorkspaceInput as V, UploadVerificationMode as Vt, GetUploadStatusInput as W, VisitorDownloadInput as Wt, ListFolderChildrenInput as X, VisitorReadInput as Xt, ItemSharingPeoplePage as Y, VisitorItem as Yt, ListIncomingSharesInput as Z, VisitorSession as Zt, DownloadItemResult as _, ReadEffectiveItemPermissionsInput as _t, CreateDownloadInput as a, ManagedItemVersion as at, DriveCredentialContext as b, RegisterItemRecipientInput as bt, CreateFolderInput as c, ManagedItemVersionRestoreResult as ct, CreateUploadPartDescriptorInput as d, PermissionAction as dt, WorkspaceItemSearchItem as en, ListItemVersionsInput as et, CreateVisitorEditingSessionInput as f, PermissionGrant as ft, DeleteItemInput as g, ProtectionClassification as gt, CurrentWorkspaceSources as h, PermissionPage as ht, CompleteUploadInput as i, ManagedItemMetadata as it, DriveVisitorClientConfig as j, UploadConfirmedPart as jt, DriveServerClientConfig as k, UpdateItemPermissionInput as kt, CreateItemPermissionInput as l, ManagedLifecycleItem as lt, CurrentWorkspace as m, PermissionMutation as mt, ChangeEditingSessionInput as n, WorkspaceUsage as nn, ManagedDownloadDescriptor as nt, CreateEditingSessionInput as o, ManagedItemVersionPage as ot, CreateVisitorGrantInput as p, PermissionGrantee as pt, IncomingShareContext as q, VisitorGrantCreation as qt, CommitFileVersionInput as r, operations as rn, ManagedDownloadRestorePending as rt, CreateFileVersionUploadInput as s, ManagedItemVersionResource as st, AbortUploadInput as t, WorkspaceItemSearchPage as tn, ListWorkspaceItemsInput as tt, CreateUploadInput as u, PendingUpload as ut, DriveClient as v, ReadyUpload as vt, DriveEditingServerClient as w, RevokeItemPermissionInput as wt, DriveCredentialProvider as x, RegisteredRecipientDisplay as xt, DriveClientConfig as y, RecordUploadPartInput as yt, FolderItem as z, UploadSession as zt };
|
package/dist/contract2.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as
|
|
1
|
+
import { A as DriveVisitorClient, j as DriveVisitorClientConfig } from "./contract.js";
|
|
2
2
|
//#region src/internal/client/visitors.d.ts
|
|
3
3
|
declare function createDriveVisitorClient(config: DriveVisitorClientConfig): DriveVisitorClient;
|
|
4
4
|
declare function createVisitorSessionToken(): string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $
|
|
1
|
+
import { $t as WorkspaceDiscoveryPage, A as DriveVisitorClient, At as UploadCompletion, B as FolderPage, Bt as UploadStatus, C as DriveEditingClientConfig, Ct as RestoreItemVersionInput, D as DriveResponseValidators, Dt as TrashItemInput, E as DriveOperations, Et as SearchWorkspaceItemsInput, F as EditingSessionCreation, Ft as UploadFileProgressCallback, G as GetVisitorGrantInput, H as GetItemInput, Ht as VisitorChildren, I as EffectivePermissionAction, It as UploadFileVersionInput, Jt as VisitorGrantPage, K as GetWorkspaceUsageInput, Kt as VisitorGrant, Lt as UploadPartDescriptor, M as EditingFileMetadata, Mt as UploadFileInput, N as EditingFileVersionInput, Nt as UploadFilePhase, Ot as UpdateItemInput, P as EditingSession, Pt as UploadFileProgress, Q as ListItemPermissionsInput, Qt as WorkspaceDiscoveryItem, R as FileAccessContext, Rt as UploadPartResult, S as DriveEditingClient, St as RestoreItemInput, T as DriveOperationResult, Tt as RevokeVisitorGrantInput, U as GetItemVersionInput, Ut as VisitorChildrenInput, V as GetCurrentWorkspaceInput, Vt as UploadVerificationMode, W as GetUploadStatusInput, Wt as VisitorDownloadInput, X as ListFolderChildrenInput, Xt as VisitorReadInput, Yt as VisitorItem, Zt as VisitorSession, _ as DownloadItemResult, _t as ReadEffectiveItemPermissionsInput, a as CreateDownloadInput, at as ManagedItemVersion, c as CreateFolderInput, ct as ManagedItemVersionRestoreResult, d as CreateUploadPartDescriptorInput, dt as PermissionAction, en as WorkspaceItemSearchItem, et as ListItemVersionsInput, ft as PermissionGrant, g as DeleteItemInput, gt as ProtectionClassification, h as CurrentWorkspaceSources, i as CompleteUploadInput, it as ManagedItemMetadata, j as DriveVisitorClientConfig, jt as UploadConfirmedPart, kt as UpdateItemPermissionInput, l as CreateItemPermissionInput, lt as ManagedLifecycleItem, m as CurrentWorkspace, mt as PermissionMutation, n as ChangeEditingSessionInput, nn as WorkspaceUsage, nt as ManagedDownloadDescriptor, o as CreateEditingSessionInput, ot as ManagedItemVersionPage, p as CreateVisitorGrantInput, pt as PermissionGrantee, qt as VisitorGrantCreation, r as CommitFileVersionInput, rt as ManagedDownloadRestorePending, s as CreateFileVersionUploadInput, st as ManagedItemVersionResource, t as AbortUploadInput, tn as WorkspaceItemSearchPage, tt as ListWorkspaceItemsInput, u as CreateUploadInput, ut as PendingUpload, v as DriveClient, vt as ReadyUpload, wt as RevokeItemPermissionInput, x as DriveCredentialProvider, y as DriveClientConfig, yt as RecordUploadPartInput, z as FolderItem, zt as UploadSession } from "./contract.js";
|
|
2
2
|
import { DRIVE_API_ERROR_CODES, DRIVE_API_ERROR_MESSAGES, DRIVE_API_ERROR_REASONS, DriveApiErrorCode, DriveError, DriveErrorCode, DriveErrorDetails, DriveErrorReason, DriveSdkErrorCode } from "./core.js";
|
|
3
3
|
import { n as createVisitorSessionToken, t as createDriveVisitorClient } from "./contract2.js";
|
|
4
4
|
import { createDriveClient, createDriveEditingClient } from "./client.js";
|
|
5
|
-
export { type AbortUploadInput, type ChangeEditingSessionInput, type CommitFileVersionInput, type CompleteUploadInput, type CreateDownloadInput, type CreateEditingSessionInput, type CreateFileVersionUploadInput, type CreateFolderInput, type CreateItemPermissionInput, type CreateUploadInput, type CreateUploadPartDescriptorInput, type CreateVisitorGrantInput, type CurrentWorkspace, type CurrentWorkspaceSources, DRIVE_API_ERROR_CODES, DRIVE_API_ERROR_MESSAGES, DRIVE_API_ERROR_REASONS, type DeleteItemInput, type DownloadItemResult, type DriveApiErrorCode, type DriveClient, type DriveClientConfig, type DriveCredentialProvider, type DriveEditingClient, type DriveEditingClientConfig, DriveError, type DriveErrorCode, type DriveErrorDetails, type DriveErrorReason, type DriveOperationResult, type DriveOperations, type DriveResponseValidators, type DriveSdkErrorCode, type DriveVisitorClient, type DriveVisitorClientConfig, type EditingFileMetadata, type EditingFileVersionInput, type EditingSession, type EditingSessionCreation, type EffectivePermissionAction, type FileAccessContext, type FolderItem, type FolderPage, type GetCurrentWorkspaceInput, type GetItemInput, type GetItemVersionInput, type GetUploadStatusInput, type GetVisitorGrantInput, type GetWorkspaceUsageInput, type ListFolderChildrenInput, type ListItemPermissionsInput, type ListItemVersionsInput, type ListWorkspaceItemsInput, 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 RevokeVisitorGrantInput, type SearchWorkspaceItemsInput, type TrashItemInput, type UpdateItemInput, type UpdateItemPermissionInput, type UploadCompletion, type UploadConfirmedPart, type UploadFileInput, type UploadFilePhase, type UploadFileProgress, type UploadFileProgressCallback, type UploadFileVersionInput, type UploadPartDescriptor, type UploadPartResult, type UploadSession, type UploadStatus, type VisitorChildren, type VisitorChildrenInput, type VisitorDownloadInput, type VisitorGrant, type VisitorGrantCreation, type VisitorGrantPage, type VisitorItem, type VisitorReadInput, type VisitorSession, type WorkspaceDiscoveryItem, type WorkspaceDiscoveryPage, type WorkspaceItemSearchItem, type WorkspaceItemSearchPage, type WorkspaceUsage, createDriveClient, createDriveEditingClient, createDriveVisitorClient, createVisitorSessionToken };
|
|
5
|
+
export { type AbortUploadInput, type ChangeEditingSessionInput, type CommitFileVersionInput, type CompleteUploadInput, type CreateDownloadInput, type CreateEditingSessionInput, type CreateFileVersionUploadInput, type CreateFolderInput, type CreateItemPermissionInput, type CreateUploadInput, type CreateUploadPartDescriptorInput, type CreateVisitorGrantInput, type CurrentWorkspace, type CurrentWorkspaceSources, DRIVE_API_ERROR_CODES, DRIVE_API_ERROR_MESSAGES, DRIVE_API_ERROR_REASONS, type DeleteItemInput, type DownloadItemResult, type DriveApiErrorCode, type DriveClient, type DriveClientConfig, type DriveCredentialProvider, type DriveEditingClient, type DriveEditingClientConfig, DriveError, type DriveErrorCode, type DriveErrorDetails, type DriveErrorReason, type DriveOperationResult, type DriveOperations, type DriveResponseValidators, type DriveSdkErrorCode, type DriveVisitorClient, type DriveVisitorClientConfig, type EditingFileMetadata, type EditingFileVersionInput, type EditingSession, type EditingSessionCreation, type EffectivePermissionAction, type FileAccessContext, type FolderItem, type FolderPage, type GetCurrentWorkspaceInput, type GetItemInput, type GetItemVersionInput, type GetUploadStatusInput, type GetVisitorGrantInput, type GetWorkspaceUsageInput, type ListFolderChildrenInput, type ListItemPermissionsInput, type ListItemVersionsInput, type ListWorkspaceItemsInput, 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 RevokeVisitorGrantInput, type SearchWorkspaceItemsInput, type TrashItemInput, type UpdateItemInput, type UpdateItemPermissionInput, type UploadCompletion, type UploadConfirmedPart, type UploadFileInput, type UploadFilePhase, type UploadFileProgress, type UploadFileProgressCallback, type UploadFileVersionInput, type UploadPartDescriptor, type UploadPartResult, type UploadSession, type UploadStatus, type UploadVerificationMode, type VisitorChildren, type VisitorChildrenInput, type VisitorDownloadInput, type VisitorGrant, type VisitorGrantCreation, type VisitorGrantPage, type VisitorItem, type VisitorReadInput, type VisitorSession, type WorkspaceDiscoveryItem, type WorkspaceDiscoveryPage, type WorkspaceItemSearchItem, type WorkspaceItemSearchPage, type WorkspaceUsage, createDriveClient, createDriveEditingClient, createDriveVisitorClient, createVisitorSessionToken };
|