@maxim_mazurok/gapi.client.chat-v1 0.0.20230608 → 0.0.20230618

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 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: 20230608
12
+ // Revision: 20230618
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -66,6 +66,11 @@ declare namespace gapi.client {
66
66
  userMention?:
67
67
  UserMentionMetadata;
68
68
  }
69
+ interface AttachedGif {
70
+ /** Output only. The URL that hosts the GIF image. */
71
+ uri?:
72
+ string;
73
+ }
69
74
  interface Attachment {
70
75
  /** A reference to the attachment data. This field is used with the media API to download the attachment data. */
71
76
  attachmentDataRef?:
@@ -1137,6 +1142,9 @@ declare namespace gapi.client {
1137
1142
  /** Output only. Plain-text body of the message with all Chat app mentions stripped out. */
1138
1143
  argumentText?:
1139
1144
  string;
1145
+ /** Output only. GIF images that are attached to the message. */
1146
+ attachedGifs?:
1147
+ AttachedGif[];
1140
1148
  /** User-uploaded attachment. */
1141
1149
  attachment?:
1142
1150
  Attachment[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.chat-v1",
3
- "version": "0.0.20230608",
3
+ "version": "0.0.20230618",
4
4
  "description": "TypeScript typings for Google Chat API v1",
5
5
  "license": "MIT",
6
6
  "author": {
package/readme.md CHANGED
@@ -51,6 +51,9 @@ var client_id = '',
51
51
  // Delete conversations and spaces & remove access to associated files in Google Chat
52
52
  'https://www.googleapis.com/auth/chat.delete',
53
53
 
54
+ // Import spaces, messages, and memberships into Google Chat.
55
+ 'https://www.googleapis.com/auth/chat.import',
56
+
54
57
  // View, add, and remove members from conversations in Google Chat
55
58
  'https://www.googleapis.com/auth/chat.memberships',
56
59
 
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: 20230608
6
+ // Revision: 20230618
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -19,6 +19,8 @@ gapi.load('client', async () => {
19
19
  'https://www.googleapis.com/auth/chat.bot',
20
20
  /** Delete conversations and spaces & remove access to associated files in Google Chat */
21
21
  'https://www.googleapis.com/auth/chat.delete',
22
+ /** Import spaces, messages, and memberships into Google Chat. */
23
+ 'https://www.googleapis.com/auth/chat.import',
22
24
  /** View, add, and remove members from conversations in Google Chat */
23
25
  'https://www.googleapis.com/auth/chat.memberships',
24
26
  /** Add and remove itself from conversations in Google Chat */
@@ -1161,6 +1163,11 @@ gapi.load('client', async () => {
1161
1163
  }
1162
1164
  ],
1163
1165
  argumentText: "Test string",
1166
+ attachedGifs: [
1167
+ {
1168
+ uri: "Test string",
1169
+ }
1170
+ ],
1164
1171
  attachment: [
1165
1172
  {
1166
1173
  attachmentDataRef: {
@@ -3178,6 +3185,11 @@ gapi.load('client', async () => {
3178
3185
  }
3179
3186
  ],
3180
3187
  argumentText: "Test string",
3188
+ attachedGifs: [
3189
+ {
3190
+ uri: "Test string",
3191
+ }
3192
+ ],
3181
3193
  attachment: [
3182
3194
  {
3183
3195
  attachmentDataRef: {
@@ -5162,6 +5174,11 @@ gapi.load('client', async () => {
5162
5174
  }
5163
5175
  ],
5164
5176
  argumentText: "Test string",
5177
+ attachedGifs: [
5178
+ {
5179
+ uri: "Test string",
5180
+ }
5181
+ ],
5165
5182
  attachment: [
5166
5183
  {
5167
5184
  attachmentDataRef: {