@maxim_mazurok/gapi.client.drive-v2 0.0.20230413 → 0.0.20230423
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/index.d.ts +3 -3
- package/package.json +1 -1
- package/readme.md +2 -2
- package/tests.ts +3 -3
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://www.googleapis.com/discovery/v1/apis/drive/v2/rest
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230423
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -2406,7 +2406,7 @@ declare namespace gapi.client {
|
|
|
2406
2406
|
/** Deprecated. Please use quotaUser instead. */
|
|
2407
2407
|
userIp?: string;
|
|
2408
2408
|
}): Request<void>;
|
|
2409
|
-
/** Permanently deletes all of
|
|
2409
|
+
/** Permanently deletes all trashed files of a user or shared drive. */
|
|
2410
2410
|
emptyTrash(request?: {
|
|
2411
2411
|
/** Data format for the response. */
|
|
2412
2412
|
alt?: string;
|
|
@@ -3061,7 +3061,7 @@ declare namespace gapi.client {
|
|
|
3061
3061
|
userIp?: string;
|
|
3062
3062
|
},
|
|
3063
3063
|
body: File): Request<File>;
|
|
3064
|
-
/**
|
|
3064
|
+
/** Subscribe to changes on a file. */
|
|
3065
3065
|
watch(request: {
|
|
3066
3066
|
/** Whether the user is acknowledging the risk of downloading known malware or other abusive files. */
|
|
3067
3067
|
acknowledgeAbuse?: boolean;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -226,7 +226,7 @@ Permanently deletes a file by ID. Skips the trash. The currently authenticated u
|
|
|
226
226
|
await gapi.client.drive.files.delete({ fileId: "fileId", });
|
|
227
227
|
|
|
228
228
|
/*
|
|
229
|
-
Permanently deletes all of
|
|
229
|
+
Permanently deletes all trashed files of a user or shared drive.
|
|
230
230
|
*/
|
|
231
231
|
await gapi.client.drive.files.emptyTrash({ });
|
|
232
232
|
|
|
@@ -291,7 +291,7 @@ Updates a file's metadata and/or content. When calling this method, only populat
|
|
|
291
291
|
await gapi.client.drive.files.update({ fileId: "fileId", });
|
|
292
292
|
|
|
293
293
|
/*
|
|
294
|
-
|
|
294
|
+
Subscribe to changes on a file.
|
|
295
295
|
*/
|
|
296
296
|
await gapi.client.drive.files.watch({ fileId: "fileId", });
|
|
297
297
|
|
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20230423
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -872,7 +872,7 @@ gapi.load('client', async () => {
|
|
|
872
872
|
supportsAllDrives: true,
|
|
873
873
|
supportsTeamDrives: true,
|
|
874
874
|
});
|
|
875
|
-
/** Permanently deletes all of
|
|
875
|
+
/** Permanently deletes all trashed files of a user or shared drive. */
|
|
876
876
|
await gapi.client.drive.files.emptyTrash({
|
|
877
877
|
driveId: "Test string",
|
|
878
878
|
enforceSingleParent: true,
|
|
@@ -2176,7 +2176,7 @@ gapi.load('client', async () => {
|
|
|
2176
2176
|
webViewLink: "Test string",
|
|
2177
2177
|
writersCanShare: true,
|
|
2178
2178
|
});
|
|
2179
|
-
/**
|
|
2179
|
+
/** Subscribe to changes on a file. */
|
|
2180
2180
|
await gapi.client.drive.files.watch({
|
|
2181
2181
|
acknowledgeAbuse: true,
|
|
2182
2182
|
fileId: "Test string",
|