@maxim_mazurok/gapi.client.chat-v1 0.3.20260628 → 0.3.20260705
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 +5 -5
- 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://chat.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260705
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -3132,7 +3132,7 @@ declare namespace gapi.client {
|
|
|
3132
3132
|
}
|
|
3133
3133
|
interface AvailabilityResource {
|
|
3134
3134
|
/** Returns availability information for a human user in Google Chat. For example, this can be used to check if a user is online or away, or to retrieve their custom status message. This method only retrieves the authenticated user's availability. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following [authorization scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.users.availability.readonly` - `https://www.googleapis.com/auth/chat.users.availability` */
|
|
3135
|
-
|
|
3135
|
+
get(request?: {
|
|
3136
3136
|
/** V1 error format. */
|
|
3137
3137
|
'$.xgafv'?: '1' | '2';
|
|
3138
3138
|
/** OAuth access token. */
|
|
@@ -3274,7 +3274,7 @@ declare namespace gapi.client {
|
|
|
3274
3274
|
},
|
|
3275
3275
|
body: MarkAsAwayRequest,
|
|
3276
3276
|
): Request<Availability>;
|
|
3277
|
-
/** Marks user as`DO_NOT_DISTURB` in Google Chat. Sets a user's availability state to `DO_NOT_DISTURB` until a specified expiration time. When in `DO_NOT_DISTURB`, users typically won't receive notifications. This method only updates the authenticated user's availability. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with [authorization scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.users.availability` */
|
|
3277
|
+
/** Marks user as `DO_NOT_DISTURB` in Google Chat. Sets a user's availability state to `DO_NOT_DISTURB` until a specified expiration time. When in `DO_NOT_DISTURB`, users typically won't receive notifications. This method only updates the authenticated user's availability. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with [authorization scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.users.availability` */
|
|
3278
3278
|
markAsDoNotDisturb(request: {
|
|
3279
3279
|
/** V1 error format. */
|
|
3280
3280
|
'$.xgafv'?: '1' | '2';
|
|
@@ -3333,7 +3333,7 @@ declare namespace gapi.client {
|
|
|
3333
3333
|
body: MarkAsDoNotDisturbRequest,
|
|
3334
3334
|
): Request<Availability>;
|
|
3335
3335
|
/** Updates availability information for a human user. Only the `custom_status` field can be updated through this method. This method only updates the authenticated user's availability. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following [authorization scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.users.availability` */
|
|
3336
|
-
|
|
3336
|
+
patch(request: {
|
|
3337
3337
|
/** V1 error format. */
|
|
3338
3338
|
'$.xgafv'?: '1' | '2';
|
|
3339
3339
|
/** OAuth access token. */
|
|
@@ -3363,7 +3363,7 @@ declare namespace gapi.client {
|
|
|
3363
3363
|
/** Request body */
|
|
3364
3364
|
resource: Availability;
|
|
3365
3365
|
}): Request<Availability>;
|
|
3366
|
-
|
|
3366
|
+
patch(
|
|
3367
3367
|
request: {
|
|
3368
3368
|
/** V1 error format. */
|
|
3369
3369
|
'$.xgafv'?: '1' | '2';
|