@maxim_mazurok/gapi.client.chat-v1 0.0.20230627 → 0.0.20230704

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 -1
  2. package/package.json +1 -1
  3. package/tests.ts +13 -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: 20230627
12
+ // Revision: 20230704
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -1203,6 +1203,9 @@ declare namespace gapi.client {
1203
1203
  /** Resource name in the form `spaces/*‍/messages/*`. Example: `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB` */
1204
1204
  name?:
1205
1205
  string;
1206
+ /** Output only. Information about a message that's quoted by a Google Chat user in a space. Google Chat users can quote a message to reply to it. */
1207
+ quotedMessageMetadata?:
1208
+ QuotedMessageMetadata;
1206
1209
  /**
1207
1210
  * 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
1208
1211
  * [user](https://developers.google.com/chat/api/reference/rest/v1/User) `name` and `type`.
@@ -1247,6 +1250,14 @@ declare namespace gapi.client {
1247
1250
  url?:
1248
1251
  string;
1249
1252
  }
1253
+ interface QuotedMessageMetadata {
1254
+ /** Output only. The timestamp when the quoted message was created or when the quoted message was last updated. */
1255
+ lastUpdateTime?:
1256
+ string;
1257
+ /** Output only. Resource name of the quoted message. Format: `spaces/{space}/messages/{message}` */
1258
+ name?:
1259
+ string;
1260
+ }
1250
1261
  interface Reaction {
1251
1262
  /** The emoji used in the reaction. */
1252
1263
  emoji?:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.chat-v1",
3
- "version": "0.0.20230627",
3
+ "version": "0.0.20230704",
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: 20230627
6
+ // Revision: 20230704
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -2219,6 +2219,10 @@ gapi.load('client', async () => {
2219
2219
  url: "Test string",
2220
2220
  },
2221
2221
  name: "Test string",
2222
+ quotedMessageMetadata: {
2223
+ lastUpdateTime: "Test string",
2224
+ name: "Test string",
2225
+ },
2222
2226
  sender: {
2223
2227
  displayName: "Test string",
2224
2228
  domainId: "Test string",
@@ -4241,6 +4245,10 @@ gapi.load('client', async () => {
4241
4245
  url: "Test string",
4242
4246
  },
4243
4247
  name: "Test string",
4248
+ quotedMessageMetadata: {
4249
+ lastUpdateTime: "Test string",
4250
+ name: "Test string",
4251
+ },
4244
4252
  sender: {
4245
4253
  displayName: "Test string",
4246
4254
  domainId: "Test string",
@@ -6230,6 +6238,10 @@ gapi.load('client', async () => {
6230
6238
  url: "Test string",
6231
6239
  },
6232
6240
  name: "Test string",
6241
+ quotedMessageMetadata: {
6242
+ lastUpdateTime: "Test string",
6243
+ name: "Test string",
6244
+ },
6233
6245
  sender: {
6234
6246
  displayName: "Test string",
6235
6247
  domainId: "Test string",