@maxim_mazurok/gapi.client.chat-v1 0.0.20240813 → 0.0.20240815
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 +4 -4
- 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: 20240815
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -492,7 +492,7 @@ declare namespace gapi.client {
|
|
|
492
492
|
interface GoogleAppsCardV1PlatformDataSource {
|
|
493
493
|
/** A data source shared by all Google Workspace applications, such as users in a Google Workspace organization. */
|
|
494
494
|
commonDataSource?: string;
|
|
495
|
-
/** A data source that's unique to a Google Workspace host application, such spaces in Google Chat. */
|
|
495
|
+
/** A data source that's unique to a Google Workspace host application, such spaces in Google Chat. This field supports the Google API Client Libraries but isn't available in the Cloud Client Libraries. To learn more, see [Install the client libraries](https://developers.google.com/workspace/chat/libraries). */
|
|
496
496
|
hostAppDataSource?: HostAppDataSourceMarkup;
|
|
497
497
|
}
|
|
498
498
|
interface GoogleAppsCardV1Section {
|
|
@@ -1188,7 +1188,7 @@ declare namespace gapi.client {
|
|
|
1188
1188
|
): Request<UploadAttachmentResponse>;
|
|
1189
1189
|
}
|
|
1190
1190
|
interface MembersResource {
|
|
1191
|
-
/** Creates a
|
|
1191
|
+
/** Creates a membership for the calling Chat app, a user, or a Google Group. Creating memberships for other Chat apps isn't supported. When creating a membership, if the specified member has their auto-accept policy turned off, then they're invited, and must accept the space invitation before joining. Otherwise, creating a membership adds the member directly to the specified space. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). For example usage, see: - [Invite or add a user to a space](https://developers.google.com/workspace/chat/create-members#create-user-membership). - [Invite or add a Google Group to a space](https://developers.google.com/workspace/chat/create-members#create-group-membership). - [Add the Chat app to a space](https://developers.google.com/workspace/chat/create-members#create-membership-calling-api). */
|
|
1192
1192
|
create(request: {
|
|
1193
1193
|
/** V1 error format. */
|
|
1194
1194
|
'$.xgafv'?: string;
|
|
@@ -1680,7 +1680,7 @@ declare namespace gapi.client {
|
|
|
1680
1680
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1681
1681
|
uploadType?: string;
|
|
1682
1682
|
}): Request<Message>;
|
|
1683
|
-
/** Lists messages in a space that the caller is a member of, including messages from blocked members and spaces. For an example, see [List messages](/chat/api/guides/v1/messages/list). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). */
|
|
1683
|
+
/** Lists messages in a space that the caller is a member of, including messages from blocked members and spaces. If you list messages from a space with no messages, the response is an empty object. When using a REST/HTTP interface, the response contains an empty JSON object, `{}`. For an example, see [List messages](https://developers.google.com/workspace/chat/api/guides/v1/messages/list). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). */
|
|
1684
1684
|
list(request?: {
|
|
1685
1685
|
/** V1 error format. */
|
|
1686
1686
|
'$.xgafv'?: string;
|