@finueva/drive 0.27.0 → 0.28.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 +8 -0
- package/dist/client.d.ts +2 -2
- package/dist/client.js +1 -1
- package/dist/contract.d.ts +199 -11
- 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
|
@@ -2915,6 +2915,8 @@ interface operations {
|
|
|
2915
2915
|
query?: {
|
|
2916
2916
|
limit?: number;
|
|
2917
2917
|
cursor?: string;
|
|
2918
|
+
/** @description Opt in to current version size and type, creation and modification time, creator, and effective owner on every item. Absent keeps the minimal item shape. */
|
|
2919
|
+
include?: "metadata";
|
|
2918
2920
|
};
|
|
2919
2921
|
header?: never;
|
|
2920
2922
|
path: {
|
|
@@ -2933,14 +2935,27 @@ interface operations {
|
|
|
2933
2935
|
content: {
|
|
2934
2936
|
"application/json": {
|
|
2935
2937
|
items: {
|
|
2938
|
+
createdAtEpochMilliseconds?: number | null;
|
|
2939
|
+
creatorUserId?: string | null;
|
|
2940
|
+
currentVersion?: {
|
|
2941
|
+
byteLength: number;
|
|
2942
|
+
mediaType: string;
|
|
2943
|
+
/** @enum {string} */
|
|
2944
|
+
protectionClassification: "ordinary" | "opaque-encrypted";
|
|
2945
|
+
/** @enum {string} */
|
|
2946
|
+
state: "current";
|
|
2947
|
+
versionId: string;
|
|
2948
|
+
} | null;
|
|
2936
2949
|
itemId: string;
|
|
2937
2950
|
/** @enum {string} */
|
|
2938
2951
|
kind: "file" | "folder";
|
|
2952
|
+
modifiedAtEpochMilliseconds?: number | null;
|
|
2939
2953
|
/**
|
|
2940
2954
|
* Format: finueva-safe-filename
|
|
2941
2955
|
* @description NFC-normalized filename of at most 255 Unicode code points and 255 UTF-8 bytes. Slash, backslash, control characters, U+2028/U+2029, trailing dot/space, dot entries, and Windows reserved base names are forbidden.
|
|
2942
2956
|
*/
|
|
2943
2957
|
name: string;
|
|
2958
|
+
ownerUserId?: string | null;
|
|
2944
2959
|
parentItemId: string;
|
|
2945
2960
|
revision: number;
|
|
2946
2961
|
/** @enum {string} */
|
|
@@ -5415,12 +5430,14 @@ interface operations {
|
|
|
5415
5430
|
content: {
|
|
5416
5431
|
"application/json": {
|
|
5417
5432
|
/** @description Normalized email, at most 320 UTF-8 bytes. */
|
|
5418
|
-
email
|
|
5433
|
+
email?: string;
|
|
5419
5434
|
/** @description Require the freshly resolved Auth user ID to match before creating a grant. A mismatch returns registration_conflict without mutation. */
|
|
5420
5435
|
expectedRecipientUserId?: string;
|
|
5421
5436
|
/** @enum {string} */
|
|
5422
5437
|
role: "viewer" | "editor";
|
|
5423
|
-
|
|
5438
|
+
/** @description Exact canonical Auth User ID; Auth verifies current recipient eligibility. */
|
|
5439
|
+
userId?: string;
|
|
5440
|
+
} & (unknown | unknown);
|
|
5424
5441
|
};
|
|
5425
5442
|
};
|
|
5426
5443
|
responses: {
|
|
@@ -7510,6 +7527,154 @@ interface operations {
|
|
|
7510
7527
|
};
|
|
7511
7528
|
};
|
|
7512
7529
|
};
|
|
7530
|
+
getOrganizationMemberStorageUsage: {
|
|
7531
|
+
parameters: {
|
|
7532
|
+
query?: never;
|
|
7533
|
+
header?: {
|
|
7534
|
+
/** @description Current opaque Auth bearer session. Required unless the actor cookie header is present; bearer takes precedence. */
|
|
7535
|
+
"x-finueva-actor-authorization"?: string;
|
|
7536
|
+
/** @description Current Auth session cookie, forwarded only to the configured Auth origin. */
|
|
7537
|
+
"x-finueva-actor-cookie"?: string;
|
|
7538
|
+
};
|
|
7539
|
+
path: {
|
|
7540
|
+
workspaceId: string;
|
|
7541
|
+
};
|
|
7542
|
+
cookie?: never;
|
|
7543
|
+
};
|
|
7544
|
+
requestBody: {
|
|
7545
|
+
content: {
|
|
7546
|
+
"application/json": {
|
|
7547
|
+
applicationCredential: string;
|
|
7548
|
+
applicationId: string;
|
|
7549
|
+
/** Format: uri */
|
|
7550
|
+
applicationOrigin: string;
|
|
7551
|
+
userIds: string[];
|
|
7552
|
+
};
|
|
7553
|
+
};
|
|
7554
|
+
};
|
|
7555
|
+
responses: {
|
|
7556
|
+
/** @description Fresh manual-administrator authority; no file names, content or grants. */
|
|
7557
|
+
200: {
|
|
7558
|
+
headers: {
|
|
7559
|
+
[name: string]: unknown;
|
|
7560
|
+
};
|
|
7561
|
+
content: {
|
|
7562
|
+
"application/json": {
|
|
7563
|
+
/** @enum {string} */
|
|
7564
|
+
accounting: "owned-current-versions";
|
|
7565
|
+
members: {
|
|
7566
|
+
fileCount: number;
|
|
7567
|
+
usedBytes: string;
|
|
7568
|
+
userId: string;
|
|
7569
|
+
}[];
|
|
7570
|
+
workspaceId: string;
|
|
7571
|
+
};
|
|
7572
|
+
};
|
|
7573
|
+
};
|
|
7574
|
+
/** @description Authentication required. */
|
|
7575
|
+
401: {
|
|
7576
|
+
headers: {
|
|
7577
|
+
[name: string]: unknown;
|
|
7578
|
+
};
|
|
7579
|
+
content: {
|
|
7580
|
+
"application/json": {
|
|
7581
|
+
error: {
|
|
7582
|
+
/** @enum {string} */
|
|
7583
|
+
code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "invalid_pagination_cursor" | "precondition_failed" | "service_unavailable";
|
|
7584
|
+
details: Record<string, never>;
|
|
7585
|
+
message: string;
|
|
7586
|
+
requestId: string;
|
|
7587
|
+
};
|
|
7588
|
+
};
|
|
7589
|
+
};
|
|
7590
|
+
};
|
|
7591
|
+
/** @description The action is not permitted. */
|
|
7592
|
+
403: {
|
|
7593
|
+
headers: {
|
|
7594
|
+
[name: string]: unknown;
|
|
7595
|
+
};
|
|
7596
|
+
content: {
|
|
7597
|
+
"application/json": {
|
|
7598
|
+
error: {
|
|
7599
|
+
/** @enum {string} */
|
|
7600
|
+
code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "invalid_pagination_cursor" | "precondition_failed" | "service_unavailable";
|
|
7601
|
+
details: Record<string, never>;
|
|
7602
|
+
message: string;
|
|
7603
|
+
requestId: string;
|
|
7604
|
+
};
|
|
7605
|
+
};
|
|
7606
|
+
};
|
|
7607
|
+
};
|
|
7608
|
+
/** @description Workspace not found. */
|
|
7609
|
+
404: {
|
|
7610
|
+
headers: {
|
|
7611
|
+
[name: string]: unknown;
|
|
7612
|
+
};
|
|
7613
|
+
content: {
|
|
7614
|
+
"application/json": {
|
|
7615
|
+
error: {
|
|
7616
|
+
/** @enum {string} */
|
|
7617
|
+
code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "invalid_pagination_cursor" | "precondition_failed" | "service_unavailable";
|
|
7618
|
+
details: Record<string, never>;
|
|
7619
|
+
message: string;
|
|
7620
|
+
requestId: string;
|
|
7621
|
+
};
|
|
7622
|
+
};
|
|
7623
|
+
};
|
|
7624
|
+
};
|
|
7625
|
+
/** @description The selected authority or page changed; restart the query. */
|
|
7626
|
+
409: {
|
|
7627
|
+
headers: {
|
|
7628
|
+
[name: string]: unknown;
|
|
7629
|
+
};
|
|
7630
|
+
content: {
|
|
7631
|
+
"application/json": {
|
|
7632
|
+
error: {
|
|
7633
|
+
/** @enum {string} */
|
|
7634
|
+
code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "invalid_pagination_cursor" | "precondition_failed" | "service_unavailable";
|
|
7635
|
+
details: Record<string, never>;
|
|
7636
|
+
message: string;
|
|
7637
|
+
requestId: string;
|
|
7638
|
+
};
|
|
7639
|
+
};
|
|
7640
|
+
};
|
|
7641
|
+
};
|
|
7642
|
+
/** @description Invalid request or cursor. */
|
|
7643
|
+
422: {
|
|
7644
|
+
headers: {
|
|
7645
|
+
[name: string]: unknown;
|
|
7646
|
+
};
|
|
7647
|
+
content: {
|
|
7648
|
+
"application/json": {
|
|
7649
|
+
error: {
|
|
7650
|
+
/** @enum {string} */
|
|
7651
|
+
code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "invalid_pagination_cursor" | "precondition_failed" | "service_unavailable";
|
|
7652
|
+
details: Record<string, never>;
|
|
7653
|
+
message: string;
|
|
7654
|
+
requestId: string;
|
|
7655
|
+
};
|
|
7656
|
+
};
|
|
7657
|
+
};
|
|
7658
|
+
};
|
|
7659
|
+
/** @description Authoritative state is unavailable. */
|
|
7660
|
+
503: {
|
|
7661
|
+
headers: {
|
|
7662
|
+
[name: string]: unknown;
|
|
7663
|
+
};
|
|
7664
|
+
content: {
|
|
7665
|
+
"application/json": {
|
|
7666
|
+
error: {
|
|
7667
|
+
/** @enum {string} */
|
|
7668
|
+
code: "authentication_required" | "identity_authority_unavailable" | "permission_denied" | "resource_not_found" | "invalid_request" | "invalid_pagination_cursor" | "precondition_failed" | "service_unavailable";
|
|
7669
|
+
details: Record<string, never>;
|
|
7670
|
+
message: string;
|
|
7671
|
+
requestId: string;
|
|
7672
|
+
};
|
|
7673
|
+
};
|
|
7674
|
+
};
|
|
7675
|
+
};
|
|
7676
|
+
};
|
|
7677
|
+
};
|
|
7513
7678
|
}
|
|
7514
7679
|
//#endregion
|
|
7515
7680
|
//#region src/types.d.ts
|
|
@@ -7577,7 +7742,8 @@ type DriveEditingClient = DriveEditingServerClient & {
|
|
|
7577
7742
|
uploadVerifiedFile(input: UploadVerifiedFileInput): Promise<DriveOperationResult<PublishedVerifiedTransfer, 200>>;
|
|
7578
7743
|
};
|
|
7579
7744
|
type ResourcePath = operations["listFolderChildren"]["parameters"]["path"];
|
|
7580
|
-
type
|
|
7745
|
+
type FolderChildrenQuery = NonNullable<operations["listFolderChildren"]["parameters"]["query"]>;
|
|
7746
|
+
type PageQuery = Pick<FolderChildrenQuery, "limit" | "cursor">;
|
|
7581
7747
|
type SearchWorkspaceItemsPath = operations["searchWorkspaceItems"]["parameters"]["path"];
|
|
7582
7748
|
type SearchWorkspaceItemsQuery = NonNullable<operations["searchWorkspaceItems"]["parameters"]["query"]>;
|
|
7583
7749
|
type CreateFolderBody = JsonRequest<"createFolder">;
|
|
@@ -7605,17 +7771,22 @@ type ItemSharingPeoplePage = Readonly<Omit<JsonResponse<"listItemSharingPeople",
|
|
|
7605
7771
|
readonly recipient: RegisteredRecipientDisplay | null;
|
|
7606
7772
|
})[];
|
|
7607
7773
|
}>;
|
|
7608
|
-
|
|
7774
|
+
type RegisterItemRecipientInput = {
|
|
7609
7775
|
readonly workspaceId: string;
|
|
7610
7776
|
readonly itemId: string;
|
|
7611
|
-
readonly email: string;
|
|
7612
7777
|
/** Assert the freshly resolved Auth identity before any grant is created. */
|
|
7613
7778
|
readonly expectedRecipientUserId?: string;
|
|
7614
7779
|
readonly role: "viewer" | "editor";
|
|
7615
7780
|
readonly ifMatch: string;
|
|
7616
7781
|
readonly idempotencyKey: string;
|
|
7617
7782
|
readonly signal?: AbortSignal;
|
|
7618
|
-
}
|
|
7783
|
+
} & ({
|
|
7784
|
+
readonly email: string;
|
|
7785
|
+
readonly userId?: never;
|
|
7786
|
+
} | {
|
|
7787
|
+
readonly userId: string;
|
|
7788
|
+
readonly email?: never;
|
|
7789
|
+
});
|
|
7619
7790
|
type ListItemSharingPeopleInput = ListItemPermissionsInput;
|
|
7620
7791
|
type GeneratedIncomingItemPage = JsonResponse<"listIncomingItems", 200>;
|
|
7621
7792
|
type IncomingItemMetadata = Readonly<GeneratedIncomingItemPage["items"][number]>;
|
|
@@ -7645,6 +7816,14 @@ type WorkspaceDiscoveryPage = Readonly<{
|
|
|
7645
7816
|
nextCursor: string | null;
|
|
7646
7817
|
}>;
|
|
7647
7818
|
type CurrentUserWorkspaceUsage = Readonly<JsonResponse<"getCurrentUserWorkspaceUsage", 200>>;
|
|
7819
|
+
type OrganizationMemberStorageUsage = Readonly<JsonResponse<"getOrganizationMemberStorageUsage", 200>>;
|
|
7820
|
+
type OrganizationMemberStorageUsageInput = Readonly<Omit<JsonRequest<"getOrganizationMemberStorageUsage">, "userIds"> & {
|
|
7821
|
+
workspaceId: string;
|
|
7822
|
+
userIds: readonly string[];
|
|
7823
|
+
actorAuthorization?: string;
|
|
7824
|
+
actorCookie?: string;
|
|
7825
|
+
signal?: AbortSignal;
|
|
7826
|
+
}>;
|
|
7648
7827
|
type GeneratedWorkspaceUsage = JsonResponse<"getWorkspaceUsage", 200>;
|
|
7649
7828
|
type WorkspaceUsage = Readonly<Omit<GeneratedWorkspaceUsage, "warnings"> & {
|
|
7650
7829
|
readonly warnings: readonly GeneratedWorkspaceUsage["warnings"][number][];
|
|
@@ -7728,6 +7907,11 @@ type CurrentWorkspace = Readonly<Omit<GeneratedCurrentWorkspace, "workspaceRefer
|
|
|
7728
7907
|
readonly workspaceReference: Readonly<GeneratedCurrentWorkspace["workspaceReference"]>;
|
|
7729
7908
|
}>;
|
|
7730
7909
|
type FolderItem = Readonly<JsonResponse<"createFolder", 201>>;
|
|
7910
|
+
type GeneratedFolderPage = JsonResponse<"listFolderChildren", 200>;
|
|
7911
|
+
/** `metadata` adds current version size and type, timestamps, creator and effective owner to every listed item. */
|
|
7912
|
+
type FolderListInclude = NonNullable<FolderChildrenQuery["include"]>;
|
|
7913
|
+
/** A listed child. Detail fields are present exactly when the listing requested `include: "metadata"`. */
|
|
7914
|
+
type FolderListedItem = Readonly<GeneratedFolderPage["items"][number]>;
|
|
7731
7915
|
type ManagedLifecycleItem = Readonly<JsonResponse<"updateItem", 200>>;
|
|
7732
7916
|
type GeneratedManagedItemMetadata = JsonResponse<"getItem", 200>;
|
|
7733
7917
|
type ManagedItemMetadata = Readonly<Omit<GeneratedManagedItemMetadata, "currentVersion"> & {
|
|
@@ -7769,8 +7953,8 @@ type PermissionMutation = Readonly<Omit<GeneratedPermissionMutation, "grant"> &
|
|
|
7769
7953
|
}>;
|
|
7770
7954
|
type GeneratedEffectivePermissionResponse = JsonResponse<"readEffectiveItemPermissions", 200>;
|
|
7771
7955
|
type EffectivePermissionAction = Readonly<GeneratedEffectivePermissionResponse["actions"][number]>;
|
|
7772
|
-
type FolderPage = Readonly<Omit<
|
|
7773
|
-
readonly items: readonly
|
|
7956
|
+
type FolderPage = Readonly<Omit<GeneratedFolderPage, "items"> & {
|
|
7957
|
+
readonly items: readonly FolderListedItem[];
|
|
7774
7958
|
}>;
|
|
7775
7959
|
type PermissionPage = Readonly<Omit<JsonResponse<"listItemPermissions", 200>, "items"> & {
|
|
7776
7960
|
readonly items: readonly PermissionGrant[];
|
|
@@ -7809,7 +7993,9 @@ type ResourceInput = Readonly<ResourcePath> & {
|
|
|
7809
7993
|
readonly signal?: AbortSignal;
|
|
7810
7994
|
};
|
|
7811
7995
|
type PageInput = ResourceInput & Readonly<PageQuery>;
|
|
7812
|
-
type ListFolderChildrenInput = PageInput
|
|
7996
|
+
type ListFolderChildrenInput = PageInput & {
|
|
7997
|
+
readonly include?: FolderListInclude;
|
|
7998
|
+
};
|
|
7813
7999
|
type GetItemInput = ResourceInput;
|
|
7814
8000
|
type SearchWorkspaceItemsInput = Readonly<SearchWorkspaceItemsPath> & Readonly<SearchWorkspaceItemsQuery> & {
|
|
7815
8001
|
readonly signal?: AbortSignal;
|
|
@@ -7974,9 +8160,11 @@ interface DriveVisitorClient {
|
|
|
7974
8160
|
}): Promise<DriveOperationResult<VisitorSession, 200>>;
|
|
7975
8161
|
createEditingSession(input: CreateVisitorEditingSessionInput): Promise<DriveOperationResult<VisitorEditingSession, 201>>;
|
|
7976
8162
|
}
|
|
7977
|
-
interface DriveServerClient extends DriveOperations, VerifiedTransferOperations {
|
|
8163
|
+
interface DriveServerClient extends DriveOperations, VerifiedTransferOperations {
|
|
8164
|
+
getOrganizationMemberStorageUsage(input: OrganizationMemberStorageUsageInput): Promise<DriveOperationResult<OrganizationMemberStorageUsage, 200>>;
|
|
8165
|
+
}
|
|
7978
8166
|
interface DriveClient extends DriveOperations, VerifiedTransferOperations {
|
|
7979
8167
|
uploadVerifiedFile(input: UploadVerifiedFileInput): Promise<DriveOperationResult<PublishedVerifiedTransfer, 200>>;
|
|
7980
8168
|
}
|
|
7981
8169
|
//#endregion
|
|
7982
|
-
export {
|
|
8170
|
+
export { ListIncomingItemsInput as $, VisitorGrantCreation as $t, DriveVisitorClient as A, RegisterItemRecipientInput as At, FolderPage as B, UpdateItemPermissionInput as Bt, DriveEditingClientConfig as C, PrepareVerifiedTransferInput as Ct, DriveResponseValidators as D, PublishedVerifiedTransfer as Dt, DriveOperations as E, PublishVerifiedTransferInput as Et, EffectivePermissionResponse as F, RevokeVisitorGrantInput as Ft, GetWorkspaceUsageInput as G, UploadSmallVerifiedFileInput as Gt, GetItemInput as H, UploadFilePhase as Ht, FileAccessContext as I, SearchWorkspaceItemsInput as It, IncomingShareContext as J, VisitorChildren as Jt, IncomingItemMetadata as K, UploadVerifiedFileInput as Kt, FolderItem as L, TransferItemOwnershipInput as Lt, EditingSession as M, RestoreItemInput as Mt, EditingSessionCreation as N, RestoreItemVersionInput as Nt, DriveServerClient as O, ReadEffectiveItemPermissionsInput as Ot, EffectivePermissionAction as P, RevokeItemPermissionInput as Pt, ListFolderChildrenInput as Q, VisitorGrant as Qt, FolderListInclude as R, TrashItemInput as Rt, DriveEditingClient as S, PermissionPage as St, DriveOperationResult as T, ProtectionClassification as Tt, GetItemVersionInput as U, UploadFileProgress as Ut, GetCurrentWorkspaceInput as V, UpdateWorkspaceSharingPolicyInput as Vt, GetVisitorGrantInput as W, UploadFileProgressCallback as Wt, ItemOwnershipTransfer as X, VisitorDownloadInput as Xt, IncomingSharePage as Y, VisitorChildrenInput as Yt, ItemSharingPeoplePage as Z, VisitorEditingSession as Zt, DownloadItemResult as _, OwnedItemPage as _t, CollectOwnedItemsInput as a, WorkspaceDiscoveryPage as an, ListWorkspaceItemsInput as at, DriveCredentialContext as b, PermissionGrantee as bt, CreateEditingSessionInput as c, WorkspaceSharingPolicy as cn, ManagedItemMetadata as ct, CreateVisitorEditingSessionInput as d, ManagedItemVersionResource as dt, VisitorGrantPage as en, ListIncomingSharesInput as et, CreateVisitorGrantInput as f, ManagedItemVersionRestoreResult as ft, DeleteItemInput as g, OwnedItem as gt, CurrentWorkspaceSources as h, OrganizationMemberStorageUsageInput as ht, ChangeEditingSessionInput as i, WorkspaceDiscoveryItem as in, ListOwnedItemsInput as it, DriveVisitorClientConfig as j, RegisteredRecipientDisplay as jt, DriveServerClientConfig as k, RecoverVerifiedTransferInput as kt, CreateFolderInput as l, WorkspaceUsage as ln, ManagedItemVersion as lt, CurrentWorkspace as m, OrganizationMemberStorageUsage as mt, ArchiveItemInput as n, VisitorReadInput as nn, ListItemSharingPeopleInput as nt, CollectedOwnedItems as o, WorkspaceItemSearchItem as on, ManagedDownloadDescriptor as ot, CurrentUserWorkspaceUsage as p, ManagedLifecycleItem as pt, IncomingItemPage as q, VerifiedTransferOperations as qt, ArchivedItem as r, VisitorSession as rn, ListItemVersionsInput as rt, CreateDownloadInput as s, WorkspaceItemSearchPage as sn, ManagedDownloadRestorePending as st, AdmittedVerifiedTransfer as t, VisitorItem as tn, ListItemPermissionsInput as tt, CreateItemPermissionInput as u, operations as un, ManagedItemVersionPage as ut, DriveClient as v, PermissionAction as vt, DriveEditingServerClient as w, PreparedVerifiedTransfer as wt, DriveCredentialProvider as x, PermissionMutation as xt, DriveClientConfig as y, PermissionGrant as yt, FolderListedItem as z, UpdateItemInput as zt };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as ListIncomingItemsInput, $t as VisitorGrantCreation, A as DriveVisitorClient, B as FolderPage, Bt as UpdateItemPermissionInput, C as DriveEditingClientConfig, Ct as PrepareVerifiedTransferInput, D as DriveResponseValidators, Dt as PublishedVerifiedTransfer, E as DriveOperations, Et as PublishVerifiedTransferInput, Ft as RevokeVisitorGrantInput, G as GetWorkspaceUsageInput, H as GetItemInput, Ht as UploadFilePhase, I as FileAccessContext, It as SearchWorkspaceItemsInput, Jt as VisitorChildren, K as IncomingItemMetadata, Kt as UploadVerifiedFileInput, L as FolderItem, Lt as TransferItemOwnershipInput, M as EditingSession, Mt as RestoreItemInput, N as EditingSessionCreation, Nt as RestoreItemVersionInput, Ot as ReadEffectiveItemPermissionsInput, P as EffectivePermissionAction, Pt as RevokeItemPermissionInput, Q as ListFolderChildrenInput, Qt as VisitorGrant, R as FolderListInclude, Rt as TrashItemInput, S as DriveEditingClient, T as DriveOperationResult, Tt as ProtectionClassification, U as GetItemVersionInput, Ut as UploadFileProgress, V as GetCurrentWorkspaceInput, Vt as UpdateWorkspaceSharingPolicyInput, W as GetVisitorGrantInput, Wt as UploadFileProgressCallback, X as ItemOwnershipTransfer, Xt as VisitorDownloadInput, Yt as VisitorChildrenInput, _ as DownloadItemResult, _t as OwnedItemPage, a as CollectOwnedItemsInput, an as WorkspaceDiscoveryPage, at as ListWorkspaceItemsInput, bt as PermissionGrantee, c as CreateEditingSessionInput, cn as WorkspaceSharingPolicy, ct as ManagedItemMetadata, dt as ManagedItemVersionResource, en as VisitorGrantPage, f as CreateVisitorGrantInput, ft as ManagedItemVersionRestoreResult, g as DeleteItemInput, gt as OwnedItem, h as CurrentWorkspaceSources, i as ChangeEditingSessionInput, in as WorkspaceDiscoveryItem, it as ListOwnedItemsInput, j as DriveVisitorClientConfig, kt as RecoverVerifiedTransferInput, l as CreateFolderInput, ln as WorkspaceUsage, lt as ManagedItemVersion, m as CurrentWorkspace, n as ArchiveItemInput, nn as VisitorReadInput, o as CollectedOwnedItems, on as WorkspaceItemSearchItem, ot as ManagedDownloadDescriptor, p as CurrentUserWorkspaceUsage, pt as ManagedLifecycleItem, q as IncomingItemPage, qt as VerifiedTransferOperations, r as ArchivedItem, rn as VisitorSession, rt as ListItemVersionsInput, s as CreateDownloadInput, sn as WorkspaceItemSearchPage, st as ManagedDownloadRestorePending, t as AdmittedVerifiedTransfer, tn as VisitorItem, tt as ListItemPermissionsInput, u as CreateItemPermissionInput, ut as ManagedItemVersionPage, v as DriveClient, vt as PermissionAction, wt as PreparedVerifiedTransfer, x as DriveCredentialProvider, xt as PermissionMutation, y as DriveClientConfig, yt as PermissionGrant, z as FolderListedItem, zt as UpdateItemInput } 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 createDriveVisitorClient, r as createVisitorSessionToken, t as collectOwnedItems } from "./contract2.js";
|
|
4
4
|
import { createDriveClient, createDriveEditingClient } from "./client.js";
|
|
@@ -6,4 +6,4 @@ import { createDriveClient, createDriveEditingClient } from "./client.js";
|
|
|
6
6
|
/** Generate once per logical operation and retain the exact key across ambiguous retries. */
|
|
7
7
|
declare function createVerifiedOperationKey(issuedAtEpochMilliseconds?: number): string;
|
|
8
8
|
//#endregion
|
|
9
|
-
export { type AdmittedVerifiedTransfer, type ArchiveItemInput, type ArchivedItem, type ChangeEditingSessionInput, type CollectOwnedItemsInput, type CollectedOwnedItems, type CreateDownloadInput, type CreateEditingSessionInput, type CreateFolderInput, type CreateItemPermissionInput, type CreateVisitorGrantInput, type CurrentUserWorkspaceUsage, 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 EditingSession, type EditingSessionCreation, type EffectivePermissionAction, type FileAccessContext, type FolderItem, type FolderPage, type GetCurrentWorkspaceInput, type GetItemInput, type GetItemVersionInput, type GetVisitorGrantInput, type GetWorkspaceUsageInput, type IncomingItemMetadata, type IncomingItemPage, type ItemOwnershipTransfer, type ListFolderChildrenInput, type ListIncomingItemsInput, type ListItemPermissionsInput, type ListItemVersionsInput, type ListOwnedItemsInput, type ListWorkspaceItemsInput, type ManagedDownloadDescriptor, type ManagedDownloadRestorePending, type ManagedItemMetadata, type ManagedItemVersion, type ManagedItemVersionPage, type ManagedItemVersionResource, type ManagedItemVersionRestoreResult, type ManagedLifecycleItem, type OwnedItem, type OwnedItemPage, type PermissionAction, type PermissionGrant, type PermissionGrantee, type PermissionMutation, type PrepareVerifiedTransferInput, type PreparedVerifiedTransfer, type ProtectionClassification, type PublishVerifiedTransferInput, type PublishedVerifiedTransfer, type ReadEffectiveItemPermissionsInput, type RecoverVerifiedTransferInput, type RestoreItemInput, type RestoreItemVersionInput, type RevokeItemPermissionInput, type RevokeVisitorGrantInput, type SearchWorkspaceItemsInput, type TransferItemOwnershipInput, type TrashItemInput, type UpdateItemInput, type UpdateItemPermissionInput, type UpdateWorkspaceSharingPolicyInput, type UploadFilePhase, type UploadFileProgress, type UploadFileProgressCallback, type UploadVerifiedFileInput, type VerifiedTransferOperations, 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 WorkspaceSharingPolicy, type WorkspaceUsage, collectOwnedItems, createDriveClient, createDriveEditingClient, createDriveVisitorClient, createVerifiedOperationKey, createVisitorSessionToken };
|
|
9
|
+
export { type AdmittedVerifiedTransfer, type ArchiveItemInput, type ArchivedItem, type ChangeEditingSessionInput, type CollectOwnedItemsInput, type CollectedOwnedItems, type CreateDownloadInput, type CreateEditingSessionInput, type CreateFolderInput, type CreateItemPermissionInput, type CreateVisitorGrantInput, type CurrentUserWorkspaceUsage, 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 EditingSession, type EditingSessionCreation, type EffectivePermissionAction, type FileAccessContext, type FolderItem, type FolderListInclude, type FolderListedItem, type FolderPage, type GetCurrentWorkspaceInput, type GetItemInput, type GetItemVersionInput, type GetVisitorGrantInput, type GetWorkspaceUsageInput, type IncomingItemMetadata, type IncomingItemPage, type ItemOwnershipTransfer, type ListFolderChildrenInput, type ListIncomingItemsInput, type ListItemPermissionsInput, type ListItemVersionsInput, type ListOwnedItemsInput, type ListWorkspaceItemsInput, type ManagedDownloadDescriptor, type ManagedDownloadRestorePending, type ManagedItemMetadata, type ManagedItemVersion, type ManagedItemVersionPage, type ManagedItemVersionResource, type ManagedItemVersionRestoreResult, type ManagedLifecycleItem, type OwnedItem, type OwnedItemPage, type PermissionAction, type PermissionGrant, type PermissionGrantee, type PermissionMutation, type PrepareVerifiedTransferInput, type PreparedVerifiedTransfer, type ProtectionClassification, type PublishVerifiedTransferInput, type PublishedVerifiedTransfer, type ReadEffectiveItemPermissionsInput, type RecoverVerifiedTransferInput, type RestoreItemInput, type RestoreItemVersionInput, type RevokeItemPermissionInput, type RevokeVisitorGrantInput, type SearchWorkspaceItemsInput, type TransferItemOwnershipInput, type TrashItemInput, type UpdateItemInput, type UpdateItemPermissionInput, type UpdateWorkspaceSharingPolicyInput, type UploadFilePhase, type UploadFileProgress, type UploadFileProgressCallback, type UploadVerifiedFileInput, type VerifiedTransferOperations, 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 WorkspaceSharingPolicy, type WorkspaceUsage, collectOwnedItems, createDriveClient, createDriveEditingClient, createDriveVisitorClient, createVerifiedOperationKey, createVisitorSessionToken };
|