@maxim_mazurok/gapi.client.chat-v1 0.0.20230921 → 0.0.20230928

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 (3) hide show
  1. package/index.d.ts +12 -12
  2. package/package.json +1 -1
  3. 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: 20230921
12
+ // Revision: 20230928
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -383,7 +383,7 @@ declare namespace gapi.client {
383
383
  /**
384
384
  * Indicates whether form values persist after the action. The default value is `false`. If `true`, form values remain after the action is triggered. To let the user make changes while
385
385
  * the action is being processed, set [`LoadIndicator`](https://developers.google.com/workspace/add-ons/reference/rpc/google.apps.card.v1#loadindicator) to `NONE`. For [card
386
- * messages](https://developers.google.com/chat/api/guides/message-formats/cards) in Chat apps, you must also set the action's
386
+ * messages](https://developers.google.com/chat/api/guides/v1/messages/create#create) in Chat apps, you must also set the action's
387
387
  * [`ResponseType`](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages#responsetype) to `UPDATE_MESSAGE` and use the same
388
388
  * [`card_id`](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages#CardWithId) from the card that contained the action. If `false`, the form values are cleared
389
389
  * when the action is triggered. To prevent the user from making changes while the action is being processed, set
@@ -461,7 +461,7 @@ declare namespace gapi.client {
461
461
  /**
462
462
  * The fixed footer shown at the bottom of this card. Setting `fixedFooter` without specifying a `primaryButton` or a `secondaryButton` causes an error. Supported by Google Workspace
463
463
  * Add-ons and Chat apps. For Chat apps, you can use fixed footers in [dialogs](https://developers.google.com/chat/how-tos/dialogs), but not [card
464
- * messages](https://developers.google.com/chat/api/guides/message-formats/cards).
464
+ * messages](https://developers.google.com/chat/api/guides/v1/messages/create#create).
465
465
  */
466
466
  fixedFooter?:
467
467
  GoogleAppsCardV1CardFixedFooter;
@@ -603,7 +603,7 @@ declare namespace gapi.client {
603
603
  GoogleAppsCardV1SwitchControl;
604
604
  /**
605
605
  * Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat
606
- * apps](https://developers.google.com/chat/api/guides/message-formats/cards#card-formatting) and [Formatting text in Google Workspace
606
+ * apps](https://developers.google.com/chat/format-messages#card-formatting) and [Formatting text in Google Workspace
607
607
  * Add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).
608
608
  */
609
609
  text?:
@@ -767,7 +767,7 @@ declare namespace gapi.client {
767
767
  boolean;
768
768
  /**
769
769
  * Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat
770
- * apps](https://developers.google.com/chat/api/guides/message-formats/cards#card-formatting) and [Formatting text in Google Workspace
770
+ * apps](https://developers.google.com/chat/format-messages#card-formatting) and [Formatting text in Google Workspace
771
771
  * Add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).
772
772
  */
773
773
  header?:
@@ -1019,7 +1019,7 @@ declare namespace gapi.client {
1019
1019
  GoogleAppsCardV1TextInput;
1020
1020
  /**
1021
1021
  * Displays a text paragraph. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat
1022
- * apps](https://developers.google.com/chat/api/guides/message-formats/cards#card-formatting) and [Formatting text in Google Workspace
1022
+ * apps](https://developers.google.com/chat/format-messages#card-formatting) and [Formatting text in Google Workspace
1023
1023
  * Add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). For example, the following JSON creates a bolded text: ``` "textParagraph": { "text": "
1024
1024
  * *bold text*" } ```
1025
1025
  */
@@ -1099,7 +1099,7 @@ declare namespace gapi.client {
1099
1099
  interface KeyValue {
1100
1100
  /**
1101
1101
  * The text of the bottom label. Formatted text supported. For more information about formatting text, see [Formatting text in Google Chat
1102
- * apps](https://developers.google.com/chat/api/guides/message-formats/cards#card_text_formatting) and [Formatting text in Google Workspace
1102
+ * apps](https://developers.google.com/chat/format-messages#card-formatting) and [Formatting text in Google Workspace
1103
1103
  * Add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).
1104
1104
  */
1105
1105
  bottomLabel?:
@@ -1109,7 +1109,7 @@ declare namespace gapi.client {
1109
1109
  Button;
1110
1110
  /**
1111
1111
  * The text of the content. Formatted text supported and always required. For more information about formatting text, see [Formatting text in Google Chat
1112
- * apps](https://developers.google.com/chat/api/guides/message-formats/cards#card_text_formatting) and [Formatting text in Google Workspace
1112
+ * apps](https://developers.google.com/chat/format-messages#card-formatting) and [Formatting text in Google Workspace
1113
1113
  * Add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).
1114
1114
  */
1115
1115
  content?:
@@ -1128,7 +1128,7 @@ declare namespace gapi.client {
1128
1128
  OnClick;
1129
1129
  /**
1130
1130
  * The text of the top label. Formatted text supported. For more information about formatting text, see [Formatting text in Google Chat
1131
- * apps](https://developers.google.com/chat/api/guides/message-formats/cards#card_text_formatting) and [Formatting text in Google Workspace
1131
+ * apps](https://developers.google.com/chat/format-messages#card-formatting) and [Formatting text in Google Workspace
1132
1132
  * Add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).
1133
1133
  */
1134
1134
  topLabel?:
@@ -1298,8 +1298,8 @@ declare namespace gapi.client {
1298
1298
  Space;
1299
1299
  /**
1300
1300
  * Plain-text body of the message. The first link to an image, video, or web page generates a [preview chip](https://developers.google.com/chat/how-tos/preview-links). You can also
1301
- * [@mention a Google Chat user](https://developers.google.com/chat/format-messages#messages-@mention), or everyone in the space. To learn about creating text messages, see [Create a
1302
- * text message](https://developers.google.com/chat/api/guides/message-formats/text).
1301
+ * [@mention a Google Chat user](https://developers.google.com/chat/format-messages#messages-@mention), or everyone in the space. To learn about creating text messages, see [Send a
1302
+ * text message](https://developers.google.com/chat/api/guides/v1/messages/create#create-text-messages).
1303
1303
  */
1304
1304
  text?:
1305
1305
  string;
@@ -1351,7 +1351,7 @@ declare namespace gapi.client {
1351
1351
  interface Section {
1352
1352
  /**
1353
1353
  * The header of the section. Formatted text is supported. For more information about formatting text, see [Formatting text in Google Chat
1354
- * apps](https://developers.google.com/chat/api/guides/message-formats/cards#card_text_formatting) and [Formatting text in Google Workspace
1354
+ * apps](https://developers.google.com/chat/format-messages#card-formatting) and [Formatting text in Google Workspace
1355
1355
  * Add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).
1356
1356
  */
1357
1357
  header?:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.chat-v1",
3
- "version": "0.0.20230921",
3
+ "version": "0.0.20230928",
4
4
  "description": "TypeScript typings for Google Chat API v1",
5
5
  "license": "MIT",
6
6
  "author": {
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: 20230921
6
+ // Revision: 20230928
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */