@maxim_mazurok/gapi.client.drive-v3 0.0.20250127 → 0.0.20250210

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.
Files changed (3) hide show
  1. package/index.d.ts +2 -6
  2. package/package.json +1 -1
  3. package/readme.md +2 -2
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: 20250127
12
+ // Revision: 20250210
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -2686,7 +2686,7 @@ declare namespace gapi.client {
2686
2686
  body: Channel,
2687
2687
  ): Request<Channel>;
2688
2688
  }
2689
- interface OperationResource {
2689
+ interface OperationsResource {
2690
2690
  /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */
2691
2691
  cancel(request?: {
2692
2692
  /** V1 error format. */
@@ -2741,8 +2741,6 @@ declare namespace gapi.client {
2741
2741
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2742
2742
  uploadType?: string;
2743
2743
  }): Request<void>;
2744
- }
2745
- interface OperationsResource {
2746
2744
  /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
2747
2745
  get(request?: {
2748
2746
  /** V1 error format. */
@@ -3699,8 +3697,6 @@ declare namespace gapi.client {
3699
3697
 
3700
3698
  const files: FilesResource;
3701
3699
 
3702
- const operation: OperationResource;
3703
-
3704
3700
  const operations: OperationsResource;
3705
3701
 
3706
3702
  const permissions: PermissionsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.drive-v3",
3
- "version": "0.0.20250127",
3
+ "version": "0.0.20250210",
4
4
  "description": "TypeScript typings for Google Drive API v3",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -275,12 +275,12 @@ await gapi.client.drive.files.watch({ fileId: "fileId", });
275
275
  /*
276
276
  Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
277
277
  */
278
- await gapi.client.drive.operation.cancel({ name: "name", });
278
+ await gapi.client.drive.operations.cancel({ name: "name", });
279
279
 
280
280
  /*
281
281
  Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
282
282
  */
283
- await gapi.client.drive.operation.delete({ name: "name", });
283
+ await gapi.client.drive.operations.delete({ name: "name", });
284
284
 
285
285
  /*
286
286
  Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.