@maxim_mazurok/gapi.client.chat-v1 0.0.20230221 → 0.0.20230302
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 +15 -9
- package/package.json +1 -1
- package/tests.ts +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: 20230302
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -803,9 +803,9 @@ declare namespace gapi.client {
|
|
|
803
803
|
/**
|
|
804
804
|
* Richly formatted and interactive cards that display UI elements and editable widgets, such as: - Formatted text - Buttons - Clickable images - Checkboxes - Radio buttons - Input
|
|
805
805
|
* widgets. Cards are usually displayed below the text body of a Chat message, but can situationally appear other places, such as
|
|
806
|
-
* [dialogs](https://developers.google.com/chat/how-tos/dialogs).
|
|
807
|
-
*
|
|
808
|
-
* `
|
|
806
|
+
* [dialogs](https://developers.google.com/chat/how-tos/dialogs). Each card can have a maximum size of 32 KB. The `cardId` is a unique identifier among cards in the same message and
|
|
807
|
+
* for identifying user input values. Currently supported widgets include: - `TextParagraph` - `DecoratedText` - `Image` - `ButtonList` - `Divider` - `TextInput` - `SelectionInput` -
|
|
808
|
+
* `Grid`
|
|
809
809
|
*/
|
|
810
810
|
cardsV2?: CardWithId[];
|
|
811
811
|
/**
|
|
@@ -827,11 +827,17 @@ declare namespace gapi.client {
|
|
|
827
827
|
matchedUrl?: MatchedUrl;
|
|
828
828
|
/** Resource name in the form `spaces/*/messages/*`. Example: `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB` */
|
|
829
829
|
name?: string;
|
|
830
|
-
/**
|
|
830
|
+
/**
|
|
831
|
+
* Output only. The user who created the message. If your Chat app [authenticates as a user](https://developers.google.com/chat/api/guides/auth/users), the output populates the
|
|
832
|
+
* [user](https://developers.google.com/chat/api/reference/rest/v1/User) `name` and `type`.
|
|
833
|
+
*/
|
|
831
834
|
sender?: User;
|
|
832
835
|
/** Output only. Slash command information, if applicable. */
|
|
833
836
|
slashCommand?: SlashCommand;
|
|
834
|
-
/**
|
|
837
|
+
/**
|
|
838
|
+
* If your Chat app [authenticates as a user](https://developers.google.com/chat/api/guides/auth/users), the output populates the
|
|
839
|
+
* [space](https://developers.google.com/chat/api/reference/rest/v1/spaces) `name`.
|
|
840
|
+
*/
|
|
835
841
|
space?: Space;
|
|
836
842
|
/** Plain-text body of the message. The first link to an image, video, web page, or other preview-able item generates a preview chip. */
|
|
837
843
|
text?: string;
|
|
@@ -1075,8 +1081,8 @@ declare namespace gapi.client {
|
|
|
1075
1081
|
*/
|
|
1076
1082
|
pageSize?: number;
|
|
1077
1083
|
/**
|
|
1078
|
-
* A page token, received from a previous list memberships
|
|
1079
|
-
* that provided the page token. Passing different values to the other parameters may lead to unexpected results.
|
|
1084
|
+
* A page token, received from a previous call to list memberships. Provide this to retrieve the subsequent page. When paginating, all other parameters provided should match the
|
|
1085
|
+
* call that provided the page token. Passing different values to the other parameters may lead to unexpected results.
|
|
1080
1086
|
*/
|
|
1081
1087
|
pageToken?: string;
|
|
1082
1088
|
/** Required. The resource name of the space for which to fetch a membership list. Format: spaces/{space} */
|
|
@@ -1512,7 +1518,7 @@ declare namespace gapi.client {
|
|
|
1512
1518
|
oauth_token?: string;
|
|
1513
1519
|
/**
|
|
1514
1520
|
* Optional. The maximum number of spaces to return. The service may return fewer than this value. If unspecified, at most 100 spaces are returned. The maximum value is 1000;
|
|
1515
|
-
* values above 1000 are coerced to 1000. Negative values return an INVALID_ARGUMENT error.
|
|
1521
|
+
* values above 1000 are coerced to 1000. Negative values return an `INVALID_ARGUMENT` error.
|
|
1516
1522
|
*/
|
|
1517
1523
|
pageSize?: number;
|
|
1518
1524
|
/**
|
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20230302
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|