@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.
- package/index.d.ts +9 -9
- 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: 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.
|
|
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.
|
|
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 `
|
|
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 `
|
|
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
|
|
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
|
-
/**
|
|
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": [ { "
|
|
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;
|