@maxim_mazurok/gapi.client.drive-v3 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/v3/rest
|
12
|
-
// Revision:
|
12
|
+
// Revision: 20230423
|
13
13
|
|
14
14
|
/// <reference types="gapi.client" />
|
15
15
|
|
@@ -1903,7 +1903,7 @@ declare namespace gapi.client {
|
|
1903
1903
|
/** Deprecated. Please use quotaUser instead. */
|
1904
1904
|
userIp?: string;
|
1905
1905
|
}): Request<void>;
|
1906
|
-
/** Permanently deletes all of
|
1906
|
+
/** Permanently deletes all trashed files of a user or shared drive. */
|
1907
1907
|
emptyTrash(request?: {
|
1908
1908
|
/** Data format for the response. */
|
1909
1909
|
alt?: string;
|
@@ -2205,7 +2205,7 @@ declare namespace gapi.client {
|
|
2205
2205
|
userIp?: string;
|
2206
2206
|
},
|
2207
2207
|
body: File): Request<File>;
|
2208
|
-
/**
|
2208
|
+
/** Subscribe to changes on a file. */
|
2209
2209
|
watch(request: {
|
2210
2210
|
/** Whether the user is acknowledging the risk of downloading known malware or other abusive files. This is only applicable when alt=media. */
|
2211
2211
|
acknowledgeAbuse?: boolean;
|
package/package.json
CHANGED
package/readme.md
CHANGED
@@ -188,7 +188,7 @@ Permanently deletes a file owned by the user without moving it to the trash. If
|
|
188
188
|
await gapi.client.drive.files.delete({ fileId: "fileId", });
|
189
189
|
|
190
190
|
/*
|
191
|
-
Permanently deletes all of
|
191
|
+
Permanently deletes all trashed files of a user or shared drive.
|
192
192
|
*/
|
193
193
|
await gapi.client.drive.files.emptyTrash({ });
|
194
194
|
|
@@ -228,7 +228,7 @@ Updates a file's metadata and/or content. When calling this method, only populat
|
|
228
228
|
await gapi.client.drive.files.update({ fileId: "fileId", });
|
229
229
|
|
230
230
|
/*
|
231
|
-
|
231
|
+
Subscribe to changes on a file.
|
232
232
|
*/
|
233
233
|
await gapi.client.drive.files.watch({ fileId: "fileId", });
|
234
234
|
|
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 */
|
@@ -927,7 +927,7 @@ gapi.load('client', async () => {
|
|
927
927
|
supportsAllDrives: true,
|
928
928
|
supportsTeamDrives: true,
|
929
929
|
});
|
930
|
-
/** Permanently deletes all of
|
930
|
+
/** Permanently deletes all trashed files of a user or shared drive. */
|
931
931
|
await gapi.client.drive.files.emptyTrash({
|
932
932
|
driveId: "Test string",
|
933
933
|
enforceSingleParent: true,
|
@@ -1299,7 +1299,7 @@ gapi.load('client', async () => {
|
|
1299
1299
|
webViewLink: "Test string",
|
1300
1300
|
writersCanShare: true,
|
1301
1301
|
});
|
1302
|
-
/**
|
1302
|
+
/** Subscribe to changes on a file. */
|
1303
1303
|
await gapi.client.drive.files.watch({
|
1304
1304
|
acknowledgeAbuse: true,
|
1305
1305
|
fileId: "Test string",
|