@corsair-dev/googledrive 0.1.0 → 0.1.2
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/dist/api.test.d.ts +2 -0
- package/dist/api.test.d.ts.map +1 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/endpoints/files.d.ts +1 -1
- package/dist/endpoints/files.d.ts.map +1 -1
- package/dist/endpoints/folders.d.ts +1 -1
- package/dist/endpoints/folders.d.ts.map +1 -1
- package/dist/endpoints/index.d.ts +20 -20
- package/dist/endpoints/search.d.ts +1 -1
- package/dist/endpoints/search.d.ts.map +1 -1
- package/dist/endpoints/sharedDrives.d.ts +1 -1
- package/dist/endpoints/sharedDrives.d.ts.map +1 -1
- package/dist/endpoints/types.d.ts +146 -1754
- package/dist/endpoints/types.d.ts.map +1 -1
- package/dist/index.d.ts +152 -1761
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/integration.test.d.ts +2 -0
- package/dist/integration.test.d.ts.map +1 -0
- package/dist/schema/database.d.ts +14 -412
- package/dist/schema/database.d.ts.map +1 -1
- package/dist/schema/index.d.ts +14 -412
- package/dist/schema/index.d.ts.map +1 -1
- package/dist/webhooks/changes.d.ts +1 -1
- package/dist/webhooks/changes.d.ts.map +1 -1
- package/dist/webhooks/index.d.ts +10 -10
- package/dist/webhooks/types.d.ts +47 -142
- package/dist/webhooks/types.d.ts.map +1 -1
- package/package.json +16 -6
package/dist/schema/index.d.ts
CHANGED
|
@@ -9,10 +9,10 @@ export declare const GoogleDriveSchema: {
|
|
|
9
9
|
starred: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
10
10
|
trashed: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
11
11
|
explicitlyTrashed: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
12
|
-
parents: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString
|
|
12
|
+
parents: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
13
13
|
properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
14
14
|
appProperties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
15
|
-
spaces: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString
|
|
15
|
+
spaces: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
16
16
|
version: import("zod").ZodOptional<import("zod").ZodString>;
|
|
17
17
|
webViewLink: import("zod").ZodOptional<import("zod").ZodString>;
|
|
18
18
|
webContentLink: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -55,65 +55,11 @@ export declare const GoogleDriveSchema: {
|
|
|
55
55
|
canTrash: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
56
56
|
canTrashChildren: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
57
57
|
canUntrash: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
58
|
-
},
|
|
59
|
-
canAddChildren?: boolean | undefined;
|
|
60
|
-
canChangeCopyRequiresWriterPermission?: boolean | undefined;
|
|
61
|
-
canChangeViewersCanCopyContent?: boolean | undefined;
|
|
62
|
-
canComment?: boolean | undefined;
|
|
63
|
-
canCopy?: boolean | undefined;
|
|
64
|
-
canDelete?: boolean | undefined;
|
|
65
|
-
canDeleteChildren?: boolean | undefined;
|
|
66
|
-
canDownload?: boolean | undefined;
|
|
67
|
-
canEdit?: boolean | undefined;
|
|
68
|
-
canListChildren?: boolean | undefined;
|
|
69
|
-
canModifyContent?: boolean | undefined;
|
|
70
|
-
canModifyContentRestriction?: boolean | undefined;
|
|
71
|
-
canMoveChildrenOutOfDrive?: boolean | undefined;
|
|
72
|
-
canMoveChildrenOutOfTeamDrive?: boolean | undefined;
|
|
73
|
-
canMoveChildrenWithinDrive?: boolean | undefined;
|
|
74
|
-
canMoveItemIntoTeamDrive?: boolean | undefined;
|
|
75
|
-
canMoveItemOutOfDrive?: boolean | undefined;
|
|
76
|
-
canMoveItemWithinDrive?: boolean | undefined;
|
|
77
|
-
canReadRevisions?: boolean | undefined;
|
|
78
|
-
canReadTeamDrive?: boolean | undefined;
|
|
79
|
-
canRemoveChildren?: boolean | undefined;
|
|
80
|
-
canRename?: boolean | undefined;
|
|
81
|
-
canShare?: boolean | undefined;
|
|
82
|
-
canTrash?: boolean | undefined;
|
|
83
|
-
canTrashChildren?: boolean | undefined;
|
|
84
|
-
canUntrash?: boolean | undefined;
|
|
85
|
-
}, {
|
|
86
|
-
canAddChildren?: boolean | undefined;
|
|
87
|
-
canChangeCopyRequiresWriterPermission?: boolean | undefined;
|
|
88
|
-
canChangeViewersCanCopyContent?: boolean | undefined;
|
|
89
|
-
canComment?: boolean | undefined;
|
|
90
|
-
canCopy?: boolean | undefined;
|
|
91
|
-
canDelete?: boolean | undefined;
|
|
92
|
-
canDeleteChildren?: boolean | undefined;
|
|
93
|
-
canDownload?: boolean | undefined;
|
|
94
|
-
canEdit?: boolean | undefined;
|
|
95
|
-
canListChildren?: boolean | undefined;
|
|
96
|
-
canModifyContent?: boolean | undefined;
|
|
97
|
-
canModifyContentRestriction?: boolean | undefined;
|
|
98
|
-
canMoveChildrenOutOfDrive?: boolean | undefined;
|
|
99
|
-
canMoveChildrenOutOfTeamDrive?: boolean | undefined;
|
|
100
|
-
canMoveChildrenWithinDrive?: boolean | undefined;
|
|
101
|
-
canMoveItemIntoTeamDrive?: boolean | undefined;
|
|
102
|
-
canMoveItemOutOfDrive?: boolean | undefined;
|
|
103
|
-
canMoveItemWithinDrive?: boolean | undefined;
|
|
104
|
-
canReadRevisions?: boolean | undefined;
|
|
105
|
-
canReadTeamDrive?: boolean | undefined;
|
|
106
|
-
canRemoveChildren?: boolean | undefined;
|
|
107
|
-
canRename?: boolean | undefined;
|
|
108
|
-
canShare?: boolean | undefined;
|
|
109
|
-
canTrash?: boolean | undefined;
|
|
110
|
-
canTrashChildren?: boolean | undefined;
|
|
111
|
-
canUntrash?: boolean | undefined;
|
|
112
|
-
}>>;
|
|
58
|
+
}, import("zod/v4/core").$strip>>;
|
|
113
59
|
viewersCanCopyContent: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
114
60
|
copyRequiresWriterPermission: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
115
61
|
writersCanShare: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
116
|
-
permissionIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString
|
|
62
|
+
permissionIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
117
63
|
hasAugmentedPermissions: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
118
64
|
folderColorRgb: import("zod").ZodOptional<import("zod").ZodString>;
|
|
119
65
|
originalFilename: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -128,156 +74,8 @@ export declare const GoogleDriveSchema: {
|
|
|
128
74
|
sha1Checksum: import("zod").ZodOptional<import("zod").ZodString>;
|
|
129
75
|
sha256Checksum: import("zod").ZodOptional<import("zod").ZodString>;
|
|
130
76
|
filePath: import("zod").ZodOptional<import("zod").ZodString>;
|
|
131
|
-
createdAt: import("zod").ZodOptional<import("zod").
|
|
132
|
-
},
|
|
133
|
-
id: string;
|
|
134
|
-
name?: string | undefined;
|
|
135
|
-
version?: string | undefined;
|
|
136
|
-
description?: string | undefined;
|
|
137
|
-
properties?: Record<string, string> | undefined;
|
|
138
|
-
spaces?: string[] | undefined;
|
|
139
|
-
mimeType?: string | undefined;
|
|
140
|
-
parents?: string[] | undefined;
|
|
141
|
-
starred?: boolean | undefined;
|
|
142
|
-
trashed?: boolean | undefined;
|
|
143
|
-
appProperties?: Record<string, string> | undefined;
|
|
144
|
-
copyRequiresWriterPermission?: boolean | undefined;
|
|
145
|
-
explicitlyTrashed?: boolean | undefined;
|
|
146
|
-
webViewLink?: string | undefined;
|
|
147
|
-
webContentLink?: string | undefined;
|
|
148
|
-
iconLink?: string | undefined;
|
|
149
|
-
hasThumbnail?: boolean | undefined;
|
|
150
|
-
thumbnailLink?: string | undefined;
|
|
151
|
-
thumbnailVersion?: string | undefined;
|
|
152
|
-
viewedByMe?: boolean | undefined;
|
|
153
|
-
viewedByMeTime?: string | undefined;
|
|
154
|
-
createdTime?: string | undefined;
|
|
155
|
-
modifiedTime?: string | undefined;
|
|
156
|
-
modifiedByMeTime?: string | undefined;
|
|
157
|
-
modifiedByMe?: boolean | undefined;
|
|
158
|
-
shared?: boolean | undefined;
|
|
159
|
-
ownedByMe?: boolean | undefined;
|
|
160
|
-
permissionIds?: string[] | undefined;
|
|
161
|
-
hasAugmentedPermissions?: boolean | undefined;
|
|
162
|
-
folderColorRgb?: string | undefined;
|
|
163
|
-
originalFilename?: string | undefined;
|
|
164
|
-
fullFileExtension?: string | undefined;
|
|
165
|
-
fileExtension?: string | undefined;
|
|
166
|
-
md5Checksum?: string | undefined;
|
|
167
|
-
size?: string | undefined;
|
|
168
|
-
quotaBytesUsed?: string | undefined;
|
|
169
|
-
headRevisionId?: string | undefined;
|
|
170
|
-
isAppAuthorized?: boolean | undefined;
|
|
171
|
-
resourceKey?: string | undefined;
|
|
172
|
-
sha1Checksum?: string | undefined;
|
|
173
|
-
sha256Checksum?: string | undefined;
|
|
174
|
-
capabilities?: {
|
|
175
|
-
canAddChildren?: boolean | undefined;
|
|
176
|
-
canChangeCopyRequiresWriterPermission?: boolean | undefined;
|
|
177
|
-
canChangeViewersCanCopyContent?: boolean | undefined;
|
|
178
|
-
canComment?: boolean | undefined;
|
|
179
|
-
canCopy?: boolean | undefined;
|
|
180
|
-
canDelete?: boolean | undefined;
|
|
181
|
-
canDeleteChildren?: boolean | undefined;
|
|
182
|
-
canDownload?: boolean | undefined;
|
|
183
|
-
canEdit?: boolean | undefined;
|
|
184
|
-
canListChildren?: boolean | undefined;
|
|
185
|
-
canModifyContent?: boolean | undefined;
|
|
186
|
-
canModifyContentRestriction?: boolean | undefined;
|
|
187
|
-
canMoveChildrenOutOfDrive?: boolean | undefined;
|
|
188
|
-
canMoveChildrenOutOfTeamDrive?: boolean | undefined;
|
|
189
|
-
canMoveChildrenWithinDrive?: boolean | undefined;
|
|
190
|
-
canMoveItemIntoTeamDrive?: boolean | undefined;
|
|
191
|
-
canMoveItemOutOfDrive?: boolean | undefined;
|
|
192
|
-
canMoveItemWithinDrive?: boolean | undefined;
|
|
193
|
-
canReadRevisions?: boolean | undefined;
|
|
194
|
-
canReadTeamDrive?: boolean | undefined;
|
|
195
|
-
canRemoveChildren?: boolean | undefined;
|
|
196
|
-
canRename?: boolean | undefined;
|
|
197
|
-
canShare?: boolean | undefined;
|
|
198
|
-
canTrash?: boolean | undefined;
|
|
199
|
-
canTrashChildren?: boolean | undefined;
|
|
200
|
-
canUntrash?: boolean | undefined;
|
|
201
|
-
} | undefined;
|
|
202
|
-
viewersCanCopyContent?: boolean | undefined;
|
|
203
|
-
writersCanShare?: boolean | undefined;
|
|
204
|
-
filePath?: string | undefined;
|
|
205
|
-
createdAt?: Date | undefined;
|
|
206
|
-
}, {
|
|
207
|
-
id: string;
|
|
208
|
-
name?: string | undefined;
|
|
209
|
-
version?: string | undefined;
|
|
210
|
-
description?: string | undefined;
|
|
211
|
-
properties?: Record<string, string> | undefined;
|
|
212
|
-
spaces?: string[] | undefined;
|
|
213
|
-
mimeType?: string | undefined;
|
|
214
|
-
parents?: string[] | undefined;
|
|
215
|
-
starred?: boolean | undefined;
|
|
216
|
-
trashed?: boolean | undefined;
|
|
217
|
-
appProperties?: Record<string, string> | undefined;
|
|
218
|
-
copyRequiresWriterPermission?: boolean | undefined;
|
|
219
|
-
explicitlyTrashed?: boolean | undefined;
|
|
220
|
-
webViewLink?: string | undefined;
|
|
221
|
-
webContentLink?: string | undefined;
|
|
222
|
-
iconLink?: string | undefined;
|
|
223
|
-
hasThumbnail?: boolean | undefined;
|
|
224
|
-
thumbnailLink?: string | undefined;
|
|
225
|
-
thumbnailVersion?: string | undefined;
|
|
226
|
-
viewedByMe?: boolean | undefined;
|
|
227
|
-
viewedByMeTime?: string | undefined;
|
|
228
|
-
createdTime?: string | undefined;
|
|
229
|
-
modifiedTime?: string | undefined;
|
|
230
|
-
modifiedByMeTime?: string | undefined;
|
|
231
|
-
modifiedByMe?: boolean | undefined;
|
|
232
|
-
shared?: boolean | undefined;
|
|
233
|
-
ownedByMe?: boolean | undefined;
|
|
234
|
-
permissionIds?: string[] | undefined;
|
|
235
|
-
hasAugmentedPermissions?: boolean | undefined;
|
|
236
|
-
folderColorRgb?: string | undefined;
|
|
237
|
-
originalFilename?: string | undefined;
|
|
238
|
-
fullFileExtension?: string | undefined;
|
|
239
|
-
fileExtension?: string | undefined;
|
|
240
|
-
md5Checksum?: string | undefined;
|
|
241
|
-
size?: string | undefined;
|
|
242
|
-
quotaBytesUsed?: string | undefined;
|
|
243
|
-
headRevisionId?: string | undefined;
|
|
244
|
-
isAppAuthorized?: boolean | undefined;
|
|
245
|
-
resourceKey?: string | undefined;
|
|
246
|
-
sha1Checksum?: string | undefined;
|
|
247
|
-
sha256Checksum?: string | undefined;
|
|
248
|
-
capabilities?: {
|
|
249
|
-
canAddChildren?: boolean | undefined;
|
|
250
|
-
canChangeCopyRequiresWriterPermission?: boolean | undefined;
|
|
251
|
-
canChangeViewersCanCopyContent?: boolean | undefined;
|
|
252
|
-
canComment?: boolean | undefined;
|
|
253
|
-
canCopy?: boolean | undefined;
|
|
254
|
-
canDelete?: boolean | undefined;
|
|
255
|
-
canDeleteChildren?: boolean | undefined;
|
|
256
|
-
canDownload?: boolean | undefined;
|
|
257
|
-
canEdit?: boolean | undefined;
|
|
258
|
-
canListChildren?: boolean | undefined;
|
|
259
|
-
canModifyContent?: boolean | undefined;
|
|
260
|
-
canModifyContentRestriction?: boolean | undefined;
|
|
261
|
-
canMoveChildrenOutOfDrive?: boolean | undefined;
|
|
262
|
-
canMoveChildrenOutOfTeamDrive?: boolean | undefined;
|
|
263
|
-
canMoveChildrenWithinDrive?: boolean | undefined;
|
|
264
|
-
canMoveItemIntoTeamDrive?: boolean | undefined;
|
|
265
|
-
canMoveItemOutOfDrive?: boolean | undefined;
|
|
266
|
-
canMoveItemWithinDrive?: boolean | undefined;
|
|
267
|
-
canReadRevisions?: boolean | undefined;
|
|
268
|
-
canReadTeamDrive?: boolean | undefined;
|
|
269
|
-
canRemoveChildren?: boolean | undefined;
|
|
270
|
-
canRename?: boolean | undefined;
|
|
271
|
-
canShare?: boolean | undefined;
|
|
272
|
-
canTrash?: boolean | undefined;
|
|
273
|
-
canTrashChildren?: boolean | undefined;
|
|
274
|
-
canUntrash?: boolean | undefined;
|
|
275
|
-
} | undefined;
|
|
276
|
-
viewersCanCopyContent?: boolean | undefined;
|
|
277
|
-
writersCanShare?: boolean | undefined;
|
|
278
|
-
filePath?: string | undefined;
|
|
279
|
-
createdAt?: Date | undefined;
|
|
280
|
-
}>;
|
|
77
|
+
createdAt: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
|
|
78
|
+
}, import("zod/v4/core").$strip>;
|
|
281
79
|
readonly folders: import("zod").ZodObject<{
|
|
282
80
|
id: import("zod").ZodString;
|
|
283
81
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -286,10 +84,10 @@ export declare const GoogleDriveSchema: {
|
|
|
286
84
|
starred: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
287
85
|
trashed: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
288
86
|
explicitlyTrashed: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
289
|
-
parents: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString
|
|
87
|
+
parents: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
290
88
|
properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
291
89
|
appProperties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
292
|
-
spaces: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString
|
|
90
|
+
spaces: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
293
91
|
version: import("zod").ZodOptional<import("zod").ZodString>;
|
|
294
92
|
webViewLink: import("zod").ZodOptional<import("zod").ZodString>;
|
|
295
93
|
webContentLink: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -332,196 +130,16 @@ export declare const GoogleDriveSchema: {
|
|
|
332
130
|
canTrash: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
333
131
|
canTrashChildren: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
334
132
|
canUntrash: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
335
|
-
},
|
|
336
|
-
canAddChildren?: boolean | undefined;
|
|
337
|
-
canChangeCopyRequiresWriterPermission?: boolean | undefined;
|
|
338
|
-
canChangeViewersCanCopyContent?: boolean | undefined;
|
|
339
|
-
canComment?: boolean | undefined;
|
|
340
|
-
canCopy?: boolean | undefined;
|
|
341
|
-
canDelete?: boolean | undefined;
|
|
342
|
-
canDeleteChildren?: boolean | undefined;
|
|
343
|
-
canDownload?: boolean | undefined;
|
|
344
|
-
canEdit?: boolean | undefined;
|
|
345
|
-
canListChildren?: boolean | undefined;
|
|
346
|
-
canModifyContent?: boolean | undefined;
|
|
347
|
-
canModifyContentRestriction?: boolean | undefined;
|
|
348
|
-
canMoveChildrenOutOfDrive?: boolean | undefined;
|
|
349
|
-
canMoveChildrenOutOfTeamDrive?: boolean | undefined;
|
|
350
|
-
canMoveChildrenWithinDrive?: boolean | undefined;
|
|
351
|
-
canMoveItemIntoTeamDrive?: boolean | undefined;
|
|
352
|
-
canMoveItemOutOfDrive?: boolean | undefined;
|
|
353
|
-
canMoveItemWithinDrive?: boolean | undefined;
|
|
354
|
-
canReadRevisions?: boolean | undefined;
|
|
355
|
-
canReadTeamDrive?: boolean | undefined;
|
|
356
|
-
canRemoveChildren?: boolean | undefined;
|
|
357
|
-
canRename?: boolean | undefined;
|
|
358
|
-
canShare?: boolean | undefined;
|
|
359
|
-
canTrash?: boolean | undefined;
|
|
360
|
-
canTrashChildren?: boolean | undefined;
|
|
361
|
-
canUntrash?: boolean | undefined;
|
|
362
|
-
}, {
|
|
363
|
-
canAddChildren?: boolean | undefined;
|
|
364
|
-
canChangeCopyRequiresWriterPermission?: boolean | undefined;
|
|
365
|
-
canChangeViewersCanCopyContent?: boolean | undefined;
|
|
366
|
-
canComment?: boolean | undefined;
|
|
367
|
-
canCopy?: boolean | undefined;
|
|
368
|
-
canDelete?: boolean | undefined;
|
|
369
|
-
canDeleteChildren?: boolean | undefined;
|
|
370
|
-
canDownload?: boolean | undefined;
|
|
371
|
-
canEdit?: boolean | undefined;
|
|
372
|
-
canListChildren?: boolean | undefined;
|
|
373
|
-
canModifyContent?: boolean | undefined;
|
|
374
|
-
canModifyContentRestriction?: boolean | undefined;
|
|
375
|
-
canMoveChildrenOutOfDrive?: boolean | undefined;
|
|
376
|
-
canMoveChildrenOutOfTeamDrive?: boolean | undefined;
|
|
377
|
-
canMoveChildrenWithinDrive?: boolean | undefined;
|
|
378
|
-
canMoveItemIntoTeamDrive?: boolean | undefined;
|
|
379
|
-
canMoveItemOutOfDrive?: boolean | undefined;
|
|
380
|
-
canMoveItemWithinDrive?: boolean | undefined;
|
|
381
|
-
canReadRevisions?: boolean | undefined;
|
|
382
|
-
canReadTeamDrive?: boolean | undefined;
|
|
383
|
-
canRemoveChildren?: boolean | undefined;
|
|
384
|
-
canRename?: boolean | undefined;
|
|
385
|
-
canShare?: boolean | undefined;
|
|
386
|
-
canTrash?: boolean | undefined;
|
|
387
|
-
canTrashChildren?: boolean | undefined;
|
|
388
|
-
canUntrash?: boolean | undefined;
|
|
389
|
-
}>>;
|
|
133
|
+
}, import("zod/v4/core").$strip>>;
|
|
390
134
|
viewersCanCopyContent: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
391
135
|
copyRequiresWriterPermission: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
392
136
|
writersCanShare: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
393
|
-
permissionIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString
|
|
137
|
+
permissionIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
394
138
|
hasAugmentedPermissions: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
395
139
|
folderColorRgb: import("zod").ZodOptional<import("zod").ZodString>;
|
|
396
140
|
filePath: import("zod").ZodOptional<import("zod").ZodString>;
|
|
397
|
-
createdAt: import("zod").ZodOptional<import("zod").
|
|
398
|
-
},
|
|
399
|
-
id: string;
|
|
400
|
-
name?: string | undefined;
|
|
401
|
-
version?: string | undefined;
|
|
402
|
-
description?: string | undefined;
|
|
403
|
-
properties?: Record<string, string> | undefined;
|
|
404
|
-
spaces?: string[] | undefined;
|
|
405
|
-
mimeType?: string | undefined;
|
|
406
|
-
parents?: string[] | undefined;
|
|
407
|
-
starred?: boolean | undefined;
|
|
408
|
-
trashed?: boolean | undefined;
|
|
409
|
-
appProperties?: Record<string, string> | undefined;
|
|
410
|
-
copyRequiresWriterPermission?: boolean | undefined;
|
|
411
|
-
explicitlyTrashed?: boolean | undefined;
|
|
412
|
-
webViewLink?: string | undefined;
|
|
413
|
-
webContentLink?: string | undefined;
|
|
414
|
-
iconLink?: string | undefined;
|
|
415
|
-
hasThumbnail?: boolean | undefined;
|
|
416
|
-
thumbnailLink?: string | undefined;
|
|
417
|
-
thumbnailVersion?: string | undefined;
|
|
418
|
-
viewedByMe?: boolean | undefined;
|
|
419
|
-
viewedByMeTime?: string | undefined;
|
|
420
|
-
createdTime?: string | undefined;
|
|
421
|
-
modifiedTime?: string | undefined;
|
|
422
|
-
modifiedByMeTime?: string | undefined;
|
|
423
|
-
modifiedByMe?: boolean | undefined;
|
|
424
|
-
shared?: boolean | undefined;
|
|
425
|
-
ownedByMe?: boolean | undefined;
|
|
426
|
-
permissionIds?: string[] | undefined;
|
|
427
|
-
hasAugmentedPermissions?: boolean | undefined;
|
|
428
|
-
folderColorRgb?: string | undefined;
|
|
429
|
-
capabilities?: {
|
|
430
|
-
canAddChildren?: boolean | undefined;
|
|
431
|
-
canChangeCopyRequiresWriterPermission?: boolean | undefined;
|
|
432
|
-
canChangeViewersCanCopyContent?: boolean | undefined;
|
|
433
|
-
canComment?: boolean | undefined;
|
|
434
|
-
canCopy?: boolean | undefined;
|
|
435
|
-
canDelete?: boolean | undefined;
|
|
436
|
-
canDeleteChildren?: boolean | undefined;
|
|
437
|
-
canDownload?: boolean | undefined;
|
|
438
|
-
canEdit?: boolean | undefined;
|
|
439
|
-
canListChildren?: boolean | undefined;
|
|
440
|
-
canModifyContent?: boolean | undefined;
|
|
441
|
-
canModifyContentRestriction?: boolean | undefined;
|
|
442
|
-
canMoveChildrenOutOfDrive?: boolean | undefined;
|
|
443
|
-
canMoveChildrenOutOfTeamDrive?: boolean | undefined;
|
|
444
|
-
canMoveChildrenWithinDrive?: boolean | undefined;
|
|
445
|
-
canMoveItemIntoTeamDrive?: boolean | undefined;
|
|
446
|
-
canMoveItemOutOfDrive?: boolean | undefined;
|
|
447
|
-
canMoveItemWithinDrive?: boolean | undefined;
|
|
448
|
-
canReadRevisions?: boolean | undefined;
|
|
449
|
-
canReadTeamDrive?: boolean | undefined;
|
|
450
|
-
canRemoveChildren?: boolean | undefined;
|
|
451
|
-
canRename?: boolean | undefined;
|
|
452
|
-
canShare?: boolean | undefined;
|
|
453
|
-
canTrash?: boolean | undefined;
|
|
454
|
-
canTrashChildren?: boolean | undefined;
|
|
455
|
-
canUntrash?: boolean | undefined;
|
|
456
|
-
} | undefined;
|
|
457
|
-
viewersCanCopyContent?: boolean | undefined;
|
|
458
|
-
writersCanShare?: boolean | undefined;
|
|
459
|
-
filePath?: string | undefined;
|
|
460
|
-
createdAt?: Date | undefined;
|
|
461
|
-
}, {
|
|
462
|
-
id: string;
|
|
463
|
-
name?: string | undefined;
|
|
464
|
-
version?: string | undefined;
|
|
465
|
-
description?: string | undefined;
|
|
466
|
-
properties?: Record<string, string> | undefined;
|
|
467
|
-
spaces?: string[] | undefined;
|
|
468
|
-
mimeType?: string | undefined;
|
|
469
|
-
parents?: string[] | undefined;
|
|
470
|
-
starred?: boolean | undefined;
|
|
471
|
-
trashed?: boolean | undefined;
|
|
472
|
-
appProperties?: Record<string, string> | undefined;
|
|
473
|
-
copyRequiresWriterPermission?: boolean | undefined;
|
|
474
|
-
explicitlyTrashed?: boolean | undefined;
|
|
475
|
-
webViewLink?: string | undefined;
|
|
476
|
-
webContentLink?: string | undefined;
|
|
477
|
-
iconLink?: string | undefined;
|
|
478
|
-
hasThumbnail?: boolean | undefined;
|
|
479
|
-
thumbnailLink?: string | undefined;
|
|
480
|
-
thumbnailVersion?: string | undefined;
|
|
481
|
-
viewedByMe?: boolean | undefined;
|
|
482
|
-
viewedByMeTime?: string | undefined;
|
|
483
|
-
createdTime?: string | undefined;
|
|
484
|
-
modifiedTime?: string | undefined;
|
|
485
|
-
modifiedByMeTime?: string | undefined;
|
|
486
|
-
modifiedByMe?: boolean | undefined;
|
|
487
|
-
shared?: boolean | undefined;
|
|
488
|
-
ownedByMe?: boolean | undefined;
|
|
489
|
-
permissionIds?: string[] | undefined;
|
|
490
|
-
hasAugmentedPermissions?: boolean | undefined;
|
|
491
|
-
folderColorRgb?: string | undefined;
|
|
492
|
-
capabilities?: {
|
|
493
|
-
canAddChildren?: boolean | undefined;
|
|
494
|
-
canChangeCopyRequiresWriterPermission?: boolean | undefined;
|
|
495
|
-
canChangeViewersCanCopyContent?: boolean | undefined;
|
|
496
|
-
canComment?: boolean | undefined;
|
|
497
|
-
canCopy?: boolean | undefined;
|
|
498
|
-
canDelete?: boolean | undefined;
|
|
499
|
-
canDeleteChildren?: boolean | undefined;
|
|
500
|
-
canDownload?: boolean | undefined;
|
|
501
|
-
canEdit?: boolean | undefined;
|
|
502
|
-
canListChildren?: boolean | undefined;
|
|
503
|
-
canModifyContent?: boolean | undefined;
|
|
504
|
-
canModifyContentRestriction?: boolean | undefined;
|
|
505
|
-
canMoveChildrenOutOfDrive?: boolean | undefined;
|
|
506
|
-
canMoveChildrenOutOfTeamDrive?: boolean | undefined;
|
|
507
|
-
canMoveChildrenWithinDrive?: boolean | undefined;
|
|
508
|
-
canMoveItemIntoTeamDrive?: boolean | undefined;
|
|
509
|
-
canMoveItemOutOfDrive?: boolean | undefined;
|
|
510
|
-
canMoveItemWithinDrive?: boolean | undefined;
|
|
511
|
-
canReadRevisions?: boolean | undefined;
|
|
512
|
-
canReadTeamDrive?: boolean | undefined;
|
|
513
|
-
canRemoveChildren?: boolean | undefined;
|
|
514
|
-
canRename?: boolean | undefined;
|
|
515
|
-
canShare?: boolean | undefined;
|
|
516
|
-
canTrash?: boolean | undefined;
|
|
517
|
-
canTrashChildren?: boolean | undefined;
|
|
518
|
-
canUntrash?: boolean | undefined;
|
|
519
|
-
} | undefined;
|
|
520
|
-
viewersCanCopyContent?: boolean | undefined;
|
|
521
|
-
writersCanShare?: boolean | undefined;
|
|
522
|
-
filePath?: string | undefined;
|
|
523
|
-
createdAt?: Date | undefined;
|
|
524
|
-
}>;
|
|
141
|
+
createdAt: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
|
|
142
|
+
}, import("zod/v4/core").$strip>;
|
|
525
143
|
readonly sharedDrives: import("zod").ZodObject<{
|
|
526
144
|
id: import("zod").ZodString;
|
|
527
145
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -529,24 +147,8 @@ export declare const GoogleDriveSchema: {
|
|
|
529
147
|
colorRgb: import("zod").ZodOptional<import("zod").ZodString>;
|
|
530
148
|
createdTime: import("zod").ZodOptional<import("zod").ZodString>;
|
|
531
149
|
hidden: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
532
|
-
createdAt: import("zod").ZodOptional<import("zod").
|
|
533
|
-
},
|
|
534
|
-
id: string;
|
|
535
|
-
name?: string | undefined;
|
|
536
|
-
themeId?: string | undefined;
|
|
537
|
-
colorRgb?: string | undefined;
|
|
538
|
-
createdTime?: string | undefined;
|
|
539
|
-
hidden?: boolean | undefined;
|
|
540
|
-
createdAt?: Date | undefined;
|
|
541
|
-
}, {
|
|
542
|
-
id: string;
|
|
543
|
-
name?: string | undefined;
|
|
544
|
-
themeId?: string | undefined;
|
|
545
|
-
colorRgb?: string | undefined;
|
|
546
|
-
createdTime?: string | undefined;
|
|
547
|
-
hidden?: boolean | undefined;
|
|
548
|
-
createdAt?: Date | undefined;
|
|
549
|
-
}>;
|
|
150
|
+
createdAt: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
|
|
151
|
+
}, import("zod/v4/core").$strip>;
|
|
550
152
|
};
|
|
551
153
|
};
|
|
552
154
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../schema/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../schema/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"changes.d.ts","sourceRoot":"","sources":["../../webhooks/changes.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"changes.d.ts","sourceRoot":"","sources":["../../webhooks/changes.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAwIpD,eAAO,MAAM,YAAY,EAAE,mBAAmB,CAAC,cAAc,CAqM5D,CAAC"}
|
package/dist/webhooks/index.d.ts
CHANGED
|
@@ -7,21 +7,21 @@ export declare const ChangeWebhooks: {
|
|
|
7
7
|
allFiles: {
|
|
8
8
|
file: import("..").File;
|
|
9
9
|
filePath: string;
|
|
10
|
-
changeType: "trashed" | "deleted" | "created" | "updated" | "untrashed";
|
|
11
10
|
change: import("..").Change;
|
|
11
|
+
changeType: "trashed" | "deleted" | "created" | "updated" | "untrashed";
|
|
12
12
|
binaryData?: string | null | undefined;
|
|
13
13
|
}[];
|
|
14
14
|
allFolders: {
|
|
15
|
-
filePath: string;
|
|
16
|
-
changeType: "trashed" | "deleted" | "created" | "updated" | "untrashed";
|
|
17
15
|
folder: import("..").File;
|
|
16
|
+
filePath: string;
|
|
18
17
|
change: import("..").Change;
|
|
18
|
+
changeType: "trashed" | "deleted" | "created" | "updated" | "untrashed";
|
|
19
19
|
}[];
|
|
20
|
-
file?: import("..").File | undefined;
|
|
21
20
|
fileId?: string | undefined;
|
|
22
21
|
folderId?: string | undefined;
|
|
23
|
-
|
|
22
|
+
file?: import("..").File | undefined;
|
|
24
23
|
folder?: import("..").File | undefined;
|
|
24
|
+
filePath?: string | undefined;
|
|
25
25
|
change?: import("..").Change | undefined;
|
|
26
26
|
binaryData?: string | null | undefined;
|
|
27
27
|
}>, {
|
|
@@ -30,21 +30,21 @@ export declare const ChangeWebhooks: {
|
|
|
30
30
|
allFiles: {
|
|
31
31
|
file: import("..").File;
|
|
32
32
|
filePath: string;
|
|
33
|
-
changeType: "trashed" | "deleted" | "created" | "updated" | "untrashed";
|
|
34
33
|
change: import("..").Change;
|
|
34
|
+
changeType: "trashed" | "deleted" | "created" | "updated" | "untrashed";
|
|
35
35
|
binaryData?: string | null | undefined;
|
|
36
36
|
}[];
|
|
37
37
|
allFolders: {
|
|
38
|
-
filePath: string;
|
|
39
|
-
changeType: "trashed" | "deleted" | "created" | "updated" | "untrashed";
|
|
40
38
|
folder: import("..").File;
|
|
39
|
+
filePath: string;
|
|
41
40
|
change: import("..").Change;
|
|
41
|
+
changeType: "trashed" | "deleted" | "created" | "updated" | "untrashed";
|
|
42
42
|
}[];
|
|
43
|
-
file?: import("..").File | undefined;
|
|
44
43
|
fileId?: string | undefined;
|
|
45
44
|
folderId?: string | undefined;
|
|
46
|
-
|
|
45
|
+
file?: import("..").File | undefined;
|
|
47
46
|
folder?: import("..").File | undefined;
|
|
47
|
+
filePath?: string | undefined;
|
|
48
48
|
change?: import("..").Change | undefined;
|
|
49
49
|
binaryData?: string | null | undefined;
|
|
50
50
|
}>;
|