@maxim_mazurok/gapi.client.drive-v3 0.0.20221127 → 0.0.20221219

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 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: 20221127
12
+ // Revision: 20221219
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -1169,7 +1169,7 @@ declare namespace gapi.client {
1169
1169
  * been added to My Drive.
1170
1170
  */
1171
1171
  restrictToMyDrive?: boolean;
1172
- /** A comma-separated list of spaces to query within the user corpus. Supported values are 'drive', 'appDataFolder' and 'photos'. */
1172
+ /** A comma-separated list of spaces to query within the corpora. Supported values are 'drive' and 'appDataFolder'. */
1173
1173
  spaces?: string;
1174
1174
  /** Whether the requesting application supports both My Drives and shared drives. */
1175
1175
  supportsAllDrives?: boolean;
@@ -1223,7 +1223,7 @@ declare namespace gapi.client {
1223
1223
  * been added to My Drive.
1224
1224
  */
1225
1225
  restrictToMyDrive?: boolean;
1226
- /** A comma-separated list of spaces to query within the user corpus. Supported values are 'drive', 'appDataFolder' and 'photos'. */
1226
+ /** A comma-separated list of spaces to query within the corpora. Supported values are 'drive' and 'appDataFolder'. */
1227
1227
  spaces?: string;
1228
1228
  /** Whether the requesting application supports both My Drives and shared drives. */
1229
1229
  supportsAllDrives?: boolean;
@@ -1278,7 +1278,7 @@ declare namespace gapi.client {
1278
1278
  * been added to My Drive.
1279
1279
  */
1280
1280
  restrictToMyDrive?: boolean;
1281
- /** A comma-separated list of spaces to query within the user corpus. Supported values are 'drive', 'appDataFolder' and 'photos'. */
1281
+ /** A comma-separated list of spaces to query within the corpora. Supported values are 'drive' and 'appDataFolder'. */
1282
1282
  spaces?: string;
1283
1283
  /** Whether the requesting application supports both My Drives and shared drives. */
1284
1284
  supportsAllDrives?: boolean;
@@ -1330,7 +1330,7 @@ declare namespace gapi.client {
1330
1330
  body: Channel): Request<void>;
1331
1331
  }
1332
1332
  interface CommentsResource {
1333
- /** Creates a new comment on a file. */
1333
+ /** Creates a comment on a file. */
1334
1334
  create(request: {
1335
1335
  /** Data format for the response. */
1336
1336
  alt?: string;
@@ -1487,7 +1487,7 @@ declare namespace gapi.client {
1487
1487
  body: Comment): Request<Comment>;
1488
1488
  }
1489
1489
  interface DrivesResource {
1490
- /** Creates a new shared drive. */
1490
+ /** Creates a shared drive. */
1491
1491
  create(request: {
1492
1492
  /** Data format for the response. */
1493
1493
  alt?: string;
@@ -1782,7 +1782,7 @@ declare namespace gapi.client {
1782
1782
  userIp?: string;
1783
1783
  },
1784
1784
  body: File): Request<File>;
1785
- /** Creates a new file. */
1785
+ /** Creates a file. */
1786
1786
  create(request: {
1787
1787
  /** Data format for the response. */
1788
1788
  alt?: string;
@@ -2031,7 +2031,7 @@ declare namespace gapi.client {
2031
2031
  q?: string;
2032
2032
  /** An opaque string that represents a user for quota purposes. Must not exceed 40 characters. */
2033
2033
  quotaUser?: string;
2034
- /** A comma-separated list of spaces to query within the corpus. Supported values are 'drive' and 'appDataFolder'. */
2034
+ /** A comma-separated list of spaces to query within the corpora. Supported values are 'drive' and 'appDataFolder'. */
2035
2035
  spaces?: string;
2036
2036
  /** Whether the requesting application supports both My Drives and shared drives. */
2037
2037
  supportsAllDrives?: boolean;
@@ -2535,7 +2535,7 @@ declare namespace gapi.client {
2535
2535
  body: Permission): Request<Permission>;
2536
2536
  }
2537
2537
  interface RepliesResource {
2538
- /** Creates a new reply to a comment. */
2538
+ /** Creates a reply to a comment. */
2539
2539
  create(request: {
2540
2540
  /** Data format for the response. */
2541
2541
  alt?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.drive-v3",
3
- "version": "0.0.20221127",
3
+ "version": "0.0.20221219",
4
4
  "description": "TypeScript typings for Drive API v3",
5
5
  "license": "MIT",
6
6
  "author": {
package/readme.md CHANGED
@@ -113,7 +113,7 @@ Stop watching resources through this channel
113
113
  await gapi.client.drive.channels.stop({ });
114
114
 
115
115
  /*
116
- Creates a new comment on a file.
116
+ Creates a comment on a file.
117
117
  */
118
118
  await gapi.client.drive.comments.create({ fileId: "fileId", });
119
119
 
@@ -138,7 +138,7 @@ Updates a comment with patch semantics.
138
138
  await gapi.client.drive.comments.update({ commentId: "commentId", fileId: "fileId", });
139
139
 
140
140
  /*
141
- Creates a new shared drive.
141
+ Creates a shared drive.
142
142
  */
143
143
  await gapi.client.drive.drives.create({ requestId: "requestId", });
144
144
 
@@ -178,7 +178,7 @@ Creates a copy of a file and applies any requested updates with patch semantics.
178
178
  await gapi.client.drive.files.copy({ fileId: "fileId", });
179
179
 
180
180
  /*
181
- Creates a new file.
181
+ Creates a file.
182
182
  */
183
183
  await gapi.client.drive.files.create({ });
184
184
 
@@ -258,7 +258,7 @@ Updates a permission with patch semantics.
258
258
  await gapi.client.drive.permissions.update({ fileId: "fileId", permissionId: "permissionId", });
259
259
 
260
260
  /*
261
- Creates a new reply to a comment.
261
+ Creates a reply to a comment.
262
262
  */
263
263
  await gapi.client.drive.replies.create({ commentId: "commentId", fileId: "fileId", });
264
264
 
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: 20221127
6
+ // Revision: 20221219
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -114,7 +114,7 @@ gapi.load('client', async () => {
114
114
  token: "Test string",
115
115
  type: "Test string",
116
116
  });
117
- /** Creates a new comment on a file. */
117
+ /** Creates a comment on a file. */
118
118
  await gapi.client.drive.comments.create({
119
119
  fileId: "Test string",
120
120
  }, {
@@ -226,7 +226,7 @@ gapi.load('client', async () => {
226
226
  ],
227
227
  resolved: true,
228
228
  });
229
- /** Creates a new shared drive. */
229
+ /** Creates a shared drive. */
230
230
  await gapi.client.drive.drives.create({
231
231
  requestId: "Test string",
232
232
  }, {
@@ -630,7 +630,7 @@ gapi.load('client', async () => {
630
630
  webViewLink: "Test string",
631
631
  writersCanShare: true,
632
632
  });
633
- /** Creates a new file. */
633
+ /** Creates a file. */
634
634
  await gapi.client.drive.files.create({
635
635
  enforceSingleParent: true,
636
636
  ignoreDefaultVisibility: true,
@@ -1424,7 +1424,7 @@ gapi.load('client', async () => {
1424
1424
  type: "Test string",
1425
1425
  view: "Test string",
1426
1426
  });
1427
- /** Creates a new reply to a comment. */
1427
+ /** Creates a reply to a comment. */
1428
1428
  await gapi.client.drive.replies.create({
1429
1429
  commentId: "Test string",
1430
1430
  fileId: "Test string",