@maxim_mazurok/gapi.client.drive-v3 0.1.20251201 → 0.1.20251218
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 +13 -13
- package/package.json +1 -1
- package/readme.md +5 -5
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: 20251218
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -901,13 +901,13 @@ declare namespace gapi.client {
|
|
|
901
901
|
permissions?: Permission[];
|
|
902
902
|
}
|
|
903
903
|
interface Reply {
|
|
904
|
-
/** The action the reply performed to the parent comment.
|
|
904
|
+
/** The action the reply performed to the parent comment. The supported values are: * `resolve` * `reopen` */
|
|
905
905
|
action?: string;
|
|
906
906
|
/** Output only. The email address of the user assigned to this comment. If no user is assigned, the field is unset. */
|
|
907
907
|
assigneeEmailAddress?: string;
|
|
908
|
-
/** Output only. The author of the reply. The author's email address and permission ID
|
|
908
|
+
/** Output only. The author of the reply. The author's email address and permission ID won't be populated. */
|
|
909
909
|
author?: User;
|
|
910
|
-
/** The plain text content of the reply. This field is used for setting the content, while `htmlContent` should be displayed. This is required
|
|
910
|
+
/** The plain text content of the reply. This field is used for setting the content, while `htmlContent` should be displayed. This field is required by the `create` method if no `action` value is specified. */
|
|
911
911
|
content?: string;
|
|
912
912
|
/** The time at which the reply was created (RFC 3339 date-time). */
|
|
913
913
|
createdTime?: string;
|
|
@@ -929,7 +929,7 @@ declare namespace gapi.client {
|
|
|
929
929
|
kind?: string;
|
|
930
930
|
/** The page token for the next page of replies. This will be absent if the end of the replies list has been reached. If the token is rejected for any reason, it should be discarded, and pagination should be restarted from the first page of results. The page token is typically valid for several hours. However, if new items are added or removed, your expected results might differ. */
|
|
931
931
|
nextPageToken?: string;
|
|
932
|
-
/** The list of replies. If nextPageToken is populated, then this list may be incomplete and an additional page of results should be fetched. */
|
|
932
|
+
/** The list of replies. If `nextPageToken` is populated, then this list may be incomplete and an additional page of results should be fetched. */
|
|
933
933
|
replies?: Reply[];
|
|
934
934
|
}
|
|
935
935
|
interface ResolveAccessProposalRequest {
|
|
@@ -3143,7 +3143,7 @@ declare namespace gapi.client {
|
|
|
3143
3143
|
): Request<Permission>;
|
|
3144
3144
|
}
|
|
3145
3145
|
interface RepliesResource {
|
|
3146
|
-
/** Creates a reply to a comment. */
|
|
3146
|
+
/** Creates a reply to a comment. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments). */
|
|
3147
3147
|
create(request: {
|
|
3148
3148
|
/** V1 error format. */
|
|
3149
3149
|
'$.xgafv'?: string;
|
|
@@ -3205,7 +3205,7 @@ declare namespace gapi.client {
|
|
|
3205
3205
|
},
|
|
3206
3206
|
body: Reply,
|
|
3207
3207
|
): Request<Reply>;
|
|
3208
|
-
/** Deletes a reply. */
|
|
3208
|
+
/** Deletes a reply. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments). */
|
|
3209
3209
|
delete(request?: {
|
|
3210
3210
|
/** V1 error format. */
|
|
3211
3211
|
'$.xgafv'?: string;
|
|
@@ -3236,7 +3236,7 @@ declare namespace gapi.client {
|
|
|
3236
3236
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3237
3237
|
uploadType?: string;
|
|
3238
3238
|
}): Request<void>;
|
|
3239
|
-
/** Gets a reply by ID. */
|
|
3239
|
+
/** Gets a reply by ID. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments). */
|
|
3240
3240
|
get(request?: {
|
|
3241
3241
|
/** V1 error format. */
|
|
3242
3242
|
'$.xgafv'?: string;
|
|
@@ -3252,7 +3252,7 @@ declare namespace gapi.client {
|
|
|
3252
3252
|
fields?: string;
|
|
3253
3253
|
/** The ID of the file. */
|
|
3254
3254
|
fileId: string;
|
|
3255
|
-
/** Whether to return deleted replies. Deleted replies
|
|
3255
|
+
/** Whether to return deleted replies. Deleted replies don't include their original content. */
|
|
3256
3256
|
includeDeleted?: boolean;
|
|
3257
3257
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3258
3258
|
key?: string;
|
|
@@ -3269,7 +3269,7 @@ declare namespace gapi.client {
|
|
|
3269
3269
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3270
3270
|
uploadType?: string;
|
|
3271
3271
|
}): Request<Reply>;
|
|
3272
|
-
/** Lists a comment's replies. */
|
|
3272
|
+
/** Lists a comment's replies. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments). */
|
|
3273
3273
|
list(request?: {
|
|
3274
3274
|
/** V1 error format. */
|
|
3275
3275
|
'$.xgafv'?: string;
|
|
@@ -3285,7 +3285,7 @@ declare namespace gapi.client {
|
|
|
3285
3285
|
fields?: string;
|
|
3286
3286
|
/** The ID of the file. */
|
|
3287
3287
|
fileId: string;
|
|
3288
|
-
/** Whether to include deleted replies. Deleted replies
|
|
3288
|
+
/** Whether to include deleted replies. Deleted replies don't include their original content. */
|
|
3289
3289
|
includeDeleted?: boolean;
|
|
3290
3290
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3291
3291
|
key?: string;
|
|
@@ -3293,7 +3293,7 @@ declare namespace gapi.client {
|
|
|
3293
3293
|
oauth_token?: string;
|
|
3294
3294
|
/** The maximum number of replies to return per page. */
|
|
3295
3295
|
pageSize?: number;
|
|
3296
|
-
/** The token for continuing a previous list request on the next page. This should be set to the value of
|
|
3296
|
+
/** 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. */
|
|
3297
3297
|
pageToken?: string;
|
|
3298
3298
|
/** Returns response with indentations and line breaks. */
|
|
3299
3299
|
prettyPrint?: boolean;
|
|
@@ -3304,7 +3304,7 @@ declare namespace gapi.client {
|
|
|
3304
3304
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3305
3305
|
uploadType?: string;
|
|
3306
3306
|
}): Request<ReplyList>;
|
|
3307
|
-
/** Updates a reply with patch semantics. */
|
|
3307
|
+
/** Updates a reply with patch semantics. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments). */
|
|
3308
3308
|
update(request: {
|
|
3309
3309
|
/** V1 error format. */
|
|
3310
3310
|
'$.xgafv'?: string;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -313,27 +313,27 @@ Updates a permission with patch semantics. For more information, see [Share file
|
|
|
313
313
|
await gapi.client.drive.permissions.update({ fileId: "fileId", permissionId: "permissionId", });
|
|
314
314
|
|
|
315
315
|
/*
|
|
316
|
-
Creates a reply to a comment.
|
|
316
|
+
Creates a reply to a comment. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments).
|
|
317
317
|
*/
|
|
318
318
|
await gapi.client.drive.replies.create({ commentId: "commentId", fileId: "fileId", });
|
|
319
319
|
|
|
320
320
|
/*
|
|
321
|
-
Deletes a reply.
|
|
321
|
+
Deletes a reply. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments).
|
|
322
322
|
*/
|
|
323
323
|
await gapi.client.drive.replies.delete({ commentId: "commentId", fileId: "fileId", replyId: "replyId", });
|
|
324
324
|
|
|
325
325
|
/*
|
|
326
|
-
Gets a reply by ID.
|
|
326
|
+
Gets a reply by ID. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments).
|
|
327
327
|
*/
|
|
328
328
|
await gapi.client.drive.replies.get({ commentId: "commentId", fileId: "fileId", replyId: "replyId", });
|
|
329
329
|
|
|
330
330
|
/*
|
|
331
|
-
Lists a comment's replies.
|
|
331
|
+
Lists a comment's replies. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments).
|
|
332
332
|
*/
|
|
333
333
|
await gapi.client.drive.replies.list({ commentId: "commentId", fileId: "fileId", });
|
|
334
334
|
|
|
335
335
|
/*
|
|
336
|
-
Updates a reply with patch semantics.
|
|
336
|
+
Updates a reply with patch semantics. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments).
|
|
337
337
|
*/
|
|
338
338
|
await gapi.client.drive.replies.update({ commentId: "commentId", fileId: "fileId", replyId: "replyId", });
|
|
339
339
|
|