@maxim_mazurok/gapi.client.chat-v1 0.0.20221025 → 0.0.20221027

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 +10 -2
  2. package/package.json +1 -1
  3. package/tests.ts +380 -2
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: 20221025
12
+ // Revision: 20221027
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -244,6 +244,14 @@ declare namespace gapi.client {
244
244
  interface GoogleAppsCardV1Action {
245
245
  /** Apps Script function to invoke when the containing element is clicked/activated. */
246
246
  function?: string;
247
+ /**
248
+ * Optional. Required when opening a [dialog](https://developers.google.com/chat/how-tos/dialogs). What to do in response to an interaction with a user, such as a user clicking button
249
+ * on a card message. If unspecified, the app responds by executing an `action` - like opening a link or running a function - as normal. By specifying an `interaction`, the app can
250
+ * respond in special interactive ways. For example, by setting `interaction` to `OPEN_DIALOG`, the app can open a [dialog](https://developers.google.com/chat/how-tos/dialogs). When
251
+ * specified, a loading indicator is not shown. Supported by Chat apps, but not Google Workspace Add-ons. If specified for an add-on, the entire card is stripped and nothing is shown
252
+ * in the client.
253
+ */
254
+ interaction?: string;
247
255
  /** Specifies the loading indicator that the action displays while making the call to the action. */
248
256
  loadIndicator?: string;
249
257
  /** List of action parameters. */
@@ -1448,7 +1456,7 @@ declare namespace gapi.client {
1448
1456
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1449
1457
  uploadType?: string;
1450
1458
  }): Request<Membership>;
1451
- /** Lists human memberships in a space for joined members. Requires [service account authentication](https://developers.google.com/chat/api/guides/auth/service-accounts). */
1459
+ /** Lists memberships in a space. Requires [service account authentication](https://developers.google.com/chat/api/guides/auth/service-accounts). */
1452
1460
  list(request?: {
1453
1461
  /** V1 error format. */
1454
1462
  "$.xgafv"?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.chat-v1",
3
- "version": "0.0.20221025",
3
+ "version": "0.0.20221027",
4
4
  "description": "TypeScript typings for Google Chat API v1",
5
5
  "license": "MIT",
6
6
  "author": {