@corsair-dev/googledrive 0.1.1 → 0.1.3

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.
@@ -15,10 +15,10 @@ export declare const FilesEndpoints: {
15
15
  }) => Promise<import("..").FileList>;
16
16
  get: (ctx: import("..").GoogleDriveContext, args: {
17
17
  fileId: string;
18
- includePermissionsForView?: string | undefined;
18
+ acknowledgeAbuse?: boolean | undefined;
19
19
  supportsAllDrives?: boolean | undefined;
20
20
  supportsTeamDrives?: boolean | undefined;
21
- acknowledgeAbuse?: boolean | undefined;
21
+ includePermissionsForView?: string | undefined;
22
22
  }) => Promise<import("..").File>;
23
23
  createFromText: (ctx: import("..").GoogleDriveContext, args: {
24
24
  name: string;
@@ -35,17 +35,17 @@ export declare const FilesEndpoints: {
35
35
  }) => Promise<import("..").File>;
36
36
  update: (ctx: import("..").GoogleDriveContext, args: {
37
37
  fileId: string;
38
- supportsAllDrives?: boolean | undefined;
39
- supportsTeamDrives?: boolean | undefined;
40
38
  name?: string | undefined;
41
- parents?: string[] | undefined;
42
39
  description?: string | undefined;
43
40
  starred?: boolean | undefined;
44
41
  trashed?: boolean | undefined;
42
+ parents?: string[] | undefined;
45
43
  addParents?: string | undefined;
46
44
  removeParents?: string | undefined;
47
45
  properties?: Record<string, string> | undefined;
48
46
  appProperties?: Record<string, string> | undefined;
47
+ supportsAllDrives?: boolean | undefined;
48
+ supportsTeamDrives?: boolean | undefined;
49
49
  }) => Promise<import("..").File>;
50
50
  delete: (ctx: import("..").GoogleDriveContext, args: {
51
51
  fileId: string;
@@ -54,17 +54,17 @@ export declare const FilesEndpoints: {
54
54
  }) => Promise<void>;
55
55
  copy: (ctx: import("..").GoogleDriveContext, args: {
56
56
  fileId: string;
57
- supportsAllDrives?: boolean | undefined;
58
- supportsTeamDrives?: boolean | undefined;
59
57
  name?: string | undefined;
60
58
  parents?: string[] | undefined;
59
+ supportsAllDrives?: boolean | undefined;
60
+ supportsTeamDrives?: boolean | undefined;
61
61
  }) => Promise<import("..").File>;
62
62
  move: (ctx: import("..").GoogleDriveContext, args: {
63
63
  fileId: string;
64
- supportsAllDrives?: boolean | undefined;
65
- supportsTeamDrives?: boolean | undefined;
66
64
  addParents?: string | undefined;
67
65
  removeParents?: string | undefined;
66
+ supportsAllDrives?: boolean | undefined;
67
+ supportsTeamDrives?: boolean | undefined;
68
68
  }) => Promise<import("..").File>;
69
69
  download: (ctx: import("..").GoogleDriveContext, args: {
70
70
  fileId: string;
@@ -72,16 +72,16 @@ export declare const FilesEndpoints: {
72
72
  }) => Promise<any>;
73
73
  share: (ctx: import("..").GoogleDriveContext, args: {
74
74
  fileId: string;
75
- domain?: string | undefined;
76
- supportsAllDrives?: boolean | undefined;
77
- supportsTeamDrives?: boolean | undefined;
78
75
  type?: "user" | "group" | "domain" | "anyone" | undefined;
79
76
  role?: "owner" | "organizer" | "fileOrganizer" | "writer" | "commenter" | "reader" | undefined;
80
77
  emailAddress?: string | undefined;
78
+ domain?: string | undefined;
81
79
  allowFileDiscovery?: boolean | undefined;
82
80
  expirationTime?: string | undefined;
83
81
  sendNotificationEmail?: boolean | undefined;
84
82
  emailMessage?: string | undefined;
83
+ supportsAllDrives?: boolean | undefined;
84
+ supportsTeamDrives?: boolean | undefined;
85
85
  moveToNewOwnersRoot?: boolean | undefined;
86
86
  transferOwnership?: boolean | undefined;
87
87
  }) => Promise<import("..").Permission>;
@@ -94,9 +94,9 @@ export declare const FoldersEndpoints: {
94
94
  }) => Promise<import("..").File>;
95
95
  get: (ctx: import("..").GoogleDriveContext, args: {
96
96
  folderId: string;
97
- includePermissionsForView?: string | undefined;
98
97
  supportsAllDrives?: boolean | undefined;
99
98
  supportsTeamDrives?: boolean | undefined;
99
+ includePermissionsForView?: string | undefined;
100
100
  }) => Promise<import("..").File>;
101
101
  list: (ctx: import("..").GoogleDriveContext, args: {
102
102
  q?: string | undefined;
@@ -119,16 +119,16 @@ export declare const FoldersEndpoints: {
119
119
  }) => Promise<void>;
120
120
  share: (ctx: import("..").GoogleDriveContext, args: {
121
121
  folderId: string;
122
- domain?: string | undefined;
123
- supportsAllDrives?: boolean | undefined;
124
- supportsTeamDrives?: boolean | undefined;
125
122
  type?: "user" | "group" | "domain" | "anyone" | undefined;
126
123
  role?: "owner" | "organizer" | "fileOrganizer" | "writer" | "commenter" | "reader" | undefined;
127
124
  emailAddress?: string | undefined;
125
+ domain?: string | undefined;
128
126
  allowFileDiscovery?: boolean | undefined;
129
127
  expirationTime?: string | undefined;
130
128
  sendNotificationEmail?: boolean | undefined;
131
129
  emailMessage?: string | undefined;
130
+ supportsAllDrives?: boolean | undefined;
131
+ supportsTeamDrives?: boolean | undefined;
132
132
  moveToNewOwnersRoot?: boolean | undefined;
133
133
  transferOwnership?: boolean | undefined;
134
134
  }) => Promise<import("..").Permission>;
@@ -151,9 +151,9 @@ export declare const SharedDrivesEndpoints: {
151
151
  useDomainAdminAccess?: boolean | undefined;
152
152
  }) => Promise<import("..").SharedDrive>;
153
153
  list: (ctx: import("..").GoogleDriveContext, args: {
154
- q?: string | undefined;
155
154
  pageSize?: number | undefined;
156
155
  pageToken?: string | undefined;
156
+ q?: string | undefined;
157
157
  useDomainAdminAccess?: boolean | undefined;
158
158
  }) => Promise<import("..").SharedDriveList>;
159
159
  update: (ctx: import("..").GoogleDriveContext, args: {