@maxim_mazurok/gapi.client.chat-v1 0.3.20261022 → 0.3.20261025

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 (2) hide show
  1. package/index.d.ts +9 -9
  2. 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: 20261022
12
+ // Revision: 20261025
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -390,7 +390,7 @@ declare namespace gapi.client {
390
390
  user?: User;
391
391
  }
392
392
  interface Dialog {
393
- /** Input only. Body of the dialog, which is rendered in a modal. Google Chat apps don't support the following card entities: `DateTimePicker`, `OnChangeAction`. */
393
+ /** Input only. Body of the dialog, which is rendered in a modal. */
394
394
  body?: GoogleAppsCardV1Card;
395
395
  }
396
396
  interface DialogAction {
@@ -573,9 +573,9 @@ declare namespace gapi.client {
573
573
  altText?: string;
574
574
  /** Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. */
575
575
  disabled?: boolean;
576
- /** Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. */
576
+ /** Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. */
577
577
  enabled?: boolean;
578
- /** The icon image. If both `icon` and `text` are set, then the icon appears before the text. */
578
+ /** The icon image. If both `icon` and `label` are set, then the icon appears before the label. */
579
579
  icon?: GoogleAppsCardV1Icon;
580
580
  /** The text displayed inside the chip. */
581
581
  label?: string;
@@ -643,7 +643,7 @@ declare namespace gapi.client {
643
643
  name?: string;
644
644
  /** Triggered when the user clicks **Save** or **Clear** from the `DateTimePicker` interface. */
645
645
  onChangeAction?: GoogleAppsCardV1Action;
646
- /** The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. */
646
+ /** The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). */
647
647
  timezoneOffsetDate?: number;
648
648
  /** Whether the widget supports inputting a date, a time, or the date and time. */
649
649
  type?: 'DATE_AND_TIME' | 'DATE_ONLY' | 'TIME_ONLY';
@@ -663,7 +663,7 @@ declare namespace gapi.client {
663
663
  endIcon?: GoogleAppsCardV1Icon;
664
664
  /** Deprecated in favor of `startIcon`. */
665
665
  icon?: GoogleAppsCardV1Icon;
666
- /** This action is triggered when users click `topLabel` or `bottomLabel`. */
666
+ /** This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). */
667
667
  onClick?: GoogleAppsCardV1OnClick;
668
668
  /** The icon displayed in front of the text. */
669
669
  startIcon?: GoogleAppsCardV1Icon;
@@ -714,7 +714,7 @@ declare namespace gapi.client {
714
714
  columnCount?: number;
715
715
  /** The items to display in the grid. */
716
716
  items?: GoogleAppsCardV1GridItem[];
717
- /** This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. */
717
+ /** This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). */
718
718
  onClick?: GoogleAppsCardV1OnClick;
719
719
  /** The text that displays in the grid header. */
720
720
  title?: string;
@@ -955,9 +955,9 @@ declare namespace gapi.client {
955
955
  interface GoogleAppsCardV1Widget {
956
956
  /** A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` */
957
957
  buttonList?: GoogleAppsCardV1ButtonList;
958
- /** A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` */
958
+ /** Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` */
959
959
  carousel?: GoogleAppsCardV1Carousel;
960
- /** A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` */
960
+ /** A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` */
961
961
  chipList?: GoogleAppsCardV1ChipList;
962
962
  /** Displays up to 2 columns. To include more than 2 columns, or to use rows, use the `Grid` widget. For example, the following JSON creates 2 columns that each contain text paragraphs: ``` "columns": { "columnItems": [ { "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", "horizontalAlignment": "CENTER", "verticalAlignment": "CENTER", "widgets": [ { "textParagraph": { "text": "First column text paragraph" } } ] }, { "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", "horizontalAlignment": "CENTER", "verticalAlignment": "CENTER", "widgets": [ { "textParagraph": { "text": "Second column text paragraph" } } ] } ] } ``` */
963
963
  columns?: GoogleAppsCardV1Columns;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.chat-v1",
3
- "version": "0.3.20261022",
3
+ "version": "0.3.20261025",
4
4
  "description": "TypeScript typings for Google Chat API v1",
5
5
  "repository": {
6
6
  "type": "git",