@maxim_mazurok/gapi.client.drive-v3 0.3.20260707 → 0.3.20260712

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 (2) hide show
  1. package/index.d.ts +20 -10
  2. package/package.json +1 -1
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: 20260707
12
+ // Revision: 20260712
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -178,6 +178,11 @@ declare namespace gapi.client {
178
178
  createTime?: string;
179
179
  /** The time that the approval is due. */
180
180
  dueTime?: string;
181
+ /** Output only. The behavior of the approval when the file content changes. */
182
+ fileContentChangeBehavior?:
183
+ | 'FILE_CONTENT_CHANGE_BEHAVIOR_UNSPECIFIED'
184
+ | 'RESET_APPROVAL'
185
+ | 'NO_APPROVAL_ACTION';
181
186
  /** The user that requested the approval. */
182
187
  initiator?: User;
183
188
  /** This is always drive#approval. */
@@ -1071,6 +1076,11 @@ declare namespace gapi.client {
1071
1076
  interface StartApprovalRequest {
1072
1077
  /** Optional. The time that the approval is due. */
1073
1078
  dueTime?: string;
1079
+ /** Optional. The behavior of the approval when the file content changes. */
1080
+ fileContentChangeBehavior?:
1081
+ | 'FILE_CONTENT_CHANGE_BEHAVIOR_UNSPECIFIED'
1082
+ | 'RESET_APPROVAL'
1083
+ | 'NO_APPROVAL_ACTION';
1074
1084
  /** Optional. Whether to lock the file when starting the approval. */
1075
1085
  lockFile?: boolean;
1076
1086
  /** Optional. A message to send to reviewers when notifying them of the approval request. */
@@ -1910,7 +1920,7 @@ declare namespace gapi.client {
1910
1920
  key?: string;
1911
1921
  /** OAuth 2.0 token for the current user. */
1912
1922
  oauth_token?: string;
1913
- /** The maximum number of changes to return per page. */
1923
+ /** The maximum number of changes to return. The service may return fewer than this value. If unspecified, at most 100 changes will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */
1914
1924
  pageSize?: number;
1915
1925
  /** The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response or to the response from the getStartPageToken method. */
1916
1926
  pageToken: string;
@@ -1963,7 +1973,7 @@ declare namespace gapi.client {
1963
1973
  key?: string;
1964
1974
  /** OAuth 2.0 token for the current user. */
1965
1975
  oauth_token?: string;
1966
- /** The maximum number of changes to return per page. */
1976
+ /** The maximum number of changes to return. The service may return fewer than this value. If unspecified, at most 100 changes will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */
1967
1977
  pageSize?: number;
1968
1978
  /** The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response or to the response from the getStartPageToken method. */
1969
1979
  pageToken: string;
@@ -2018,7 +2028,7 @@ declare namespace gapi.client {
2018
2028
  key?: string;
2019
2029
  /** OAuth 2.0 token for the current user. */
2020
2030
  oauth_token?: string;
2021
- /** The maximum number of changes to return per page. */
2031
+ /** The maximum number of changes to return. The service may return fewer than this value. If unspecified, at most 100 changes will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */
2022
2032
  pageSize?: number;
2023
2033
  /** The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response or to the response from the getStartPageToken method. */
2024
2034
  pageToken: string;
@@ -2239,7 +2249,7 @@ declare namespace gapi.client {
2239
2249
  key?: string;
2240
2250
  /** OAuth 2.0 token for the current user. */
2241
2251
  oauth_token?: string;
2242
- /** The maximum number of comments to return per page. */
2252
+ /** The maximum number of comments to return. The service may return fewer than this value. If unspecified, at most 20 comments will be returned. The maximum value is 100; values above 100 will be coerced to 100. */
2243
2253
  pageSize?: number;
2244
2254
  /** The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response. */
2245
2255
  pageToken?: string;
@@ -2479,7 +2489,7 @@ declare namespace gapi.client {
2479
2489
  key?: string;
2480
2490
  /** OAuth 2.0 token for the current user. */
2481
2491
  oauth_token?: string;
2482
- /** Maximum number of shared drives to return per page. */
2492
+ /** The maximum number of shared drives to return. The service may return fewer than this value. If unspecified, at most 10 shared drives will be returned. The maximum value is 100; values above 100 will be coerced to 100. */
2483
2493
  pageSize?: number;
2484
2494
  /** Page token for shared drives. */
2485
2495
  pageToken?: string;
@@ -3018,7 +3028,7 @@ declare namespace gapi.client {
3018
3028
  oauth_token?: string;
3019
3029
  /** A comma-separated list of sort keys. Valid keys are: * `createdTime`: When the file was created. Avoid using this key for queries on large item collections as it might result in timeouts or other issues. For time-related sorting on large item collections, use `modifiedTime desc` instead. * `folder`: The folder ID. This field is sorted using alphabetical ordering. * `modifiedByMeTime`: The last time the file was modified by the user. * `modifiedTime`: The last time the file was modified by anyone. * `name`: The name of the file. This field is sorted using alphabetical ordering, so 1, 12, 2, 22. * `name_natural`: The name of the file. This field is sorted using natural sort ordering, so 1, 2, 12, 22. * `quotaBytesUsed`: The number of storage quota bytes used by the file. * `recency`: The most recent timestamp from the file's date-time fields. * `sharedWithMeTime`: When the file was shared with the user, if applicable. * `starred`: Whether the user has starred the file. * `viewedByMeTime`: The last time the file was viewed by the user. Each key sorts ascending by default, but can be reversed with the `desc` modifier. Example usage: `?orderBy=folder,modifiedTime desc,name`. */
3020
3030
  orderBy?: string;
3021
- /** The maximum number of files to return per page. Pages may be partial or empty even before reaching the end of the file list. If unspecified, at most 100 files are returned for shared drives, and the entire list of files for non-shared drives. The maximum value is 100; values above 100 are changed to 100. */
3031
+ /** The maximum number of files to return. The service may return fewer than this value. If unspecified, at most 100 files will be returned for shared drives, and the entire list of files for non-shared drives. The maximum value is 1000; values above 1000 will be coerced to 1000. */
3022
3032
  pageSize?: number;
3023
3033
  /** The token for continuing a previous list request on the next page. This should be set to the value of `nextPageToken` from the previous response. */
3024
3034
  pageToken?: string;
@@ -3523,7 +3533,7 @@ declare namespace gapi.client {
3523
3533
  key?: string;
3524
3534
  /** OAuth 2.0 token for the current user. */
3525
3535
  oauth_token?: string;
3526
- /** The maximum number of permissions to return per page. When not set for files in a shared drive, at most 100 results will be returned. When not set for files that are not in a shared drive, the entire list will be returned. */
3536
+ /** The maximum number of permissions to return. The service may return fewer than this value. If unspecified, at most 100 permissions will be returned for shared drives, and the entire list of permissions for non-shared drives. The maximum value is 100; values above 100 will be coerced to 100. */
3527
3537
  pageSize?: number;
3528
3538
  /** The token for continuing a previous list request on the next page. This should be set to the value of `nextPageToken` from the previous response. */
3529
3539
  pageToken?: string;
@@ -3778,7 +3788,7 @@ declare namespace gapi.client {
3778
3788
  key?: string;
3779
3789
  /** OAuth 2.0 token for the current user. */
3780
3790
  oauth_token?: string;
3781
- /** The maximum number of replies to return per page. */
3791
+ /** The maximum number of replies to return. The service may return fewer than this value. If unspecified, at most 20 replies will be returned. The maximum value is 100; values above 100 will be coerced to 100. */
3782
3792
  pageSize?: number;
3783
3793
  /** The token for continuing a previous list request on the next page. This should be set to the value of `nextPageToken` from the previous response. */
3784
3794
  pageToken?: string;
@@ -3937,7 +3947,7 @@ declare namespace gapi.client {
3937
3947
  key?: string;
3938
3948
  /** OAuth 2.0 token for the current user. */
3939
3949
  oauth_token?: string;
3940
- /** The maximum number of revisions to return per page. */
3950
+ /** The maximum number of revisions to return. The service may return fewer than this value. If unspecified, at most 200 revisions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */
3941
3951
  pageSize?: number;
3942
3952
  /** The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response. */
3943
3953
  pageToken?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.drive-v3",
3
- "version": "0.3.20260707",
3
+ "version": "0.3.20260712",
4
4
  "description": "TypeScript typings for Google Drive API v3",
5
5
  "repository": {
6
6
  "type": "git",