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

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: 20221027
12
+ // Revision: 20221029
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.chat-v1",
3
- "version": "0.0.20221027",
3
+ "version": "0.0.20221029",
4
4
  "description": "TypeScript typings for Google Chat API v1",
5
5
  "license": "MIT",
6
6
  "author": {
package/readme.md CHANGED
@@ -47,6 +47,15 @@ var client_id = '',
47
47
  scope = [
48
48
  // View, add, and remove members from conversations in Google Chat
49
49
  'https://www.googleapis.com/auth/chat.memberships',
50
+
51
+ // View, compose, send, update, and delete messages, and add, view, and delete reactions to messages.
52
+ 'https://www.googleapis.com/auth/chat.messages',
53
+
54
+ // Compose and send messages in Google Chat
55
+ 'https://www.googleapis.com/auth/chat.messages.create',
56
+
57
+ // view messages and reactions in Google Chat
58
+ 'https://www.googleapis.com/auth/chat.messages.readonly',
50
59
  ],
51
60
  immediate = true;
52
61
  // ...
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: 20221027
6
+ // Revision: 20221029
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -17,6 +17,12 @@ gapi.load('client', async () => {
17
17
  const scope = [
18
18
  /** View, add, and remove members from conversations in Google Chat */
19
19
  'https://www.googleapis.com/auth/chat.memberships',
20
+ /** View, compose, send, update, and delete messages, and add, view, and delete reactions to messages. */
21
+ 'https://www.googleapis.com/auth/chat.messages',
22
+ /** Compose and send messages in Google Chat */
23
+ 'https://www.googleapis.com/auth/chat.messages.create',
24
+ /** view messages and reactions in Google Chat */
25
+ 'https://www.googleapis.com/auth/chat.messages.readonly',
20
26
  ];
21
27
  const immediate = false;
22
28
  gapi.auth.authorize({ client_id, scope, immediate }, authResult => {