@maxim_mazurok/gapi.client.chat-v1 0.0.20221126 → 0.0.20221206
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 +1 -1
- package/package.json +1 -1
- package/readme.md +7 -1
- package/tests.ts +6 -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:
|
|
12
|
+
// Revision: 20221206
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -54,8 +54,14 @@ var client_id = '',
|
|
|
54
54
|
// Compose and send messages in Google Chat
|
|
55
55
|
'https://www.googleapis.com/auth/chat.messages.create',
|
|
56
56
|
|
|
57
|
-
//
|
|
57
|
+
// View messages and reactions in Google Chat
|
|
58
58
|
'https://www.googleapis.com/auth/chat.messages.readonly',
|
|
59
|
+
|
|
60
|
+
// Create conversations and spaces and view or update metadata (including history settings) in Google Chat
|
|
61
|
+
'https://www.googleapis.com/auth/chat.spaces',
|
|
62
|
+
|
|
63
|
+
// View chat and spaces in Google Chat
|
|
64
|
+
'https://www.googleapis.com/auth/chat.spaces.readonly',
|
|
59
65
|
],
|
|
60
66
|
immediate = true;
|
|
61
67
|
// ...
|
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:
|
|
6
|
+
// Revision: 20221206
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -21,8 +21,12 @@ gapi.load('client', async () => {
|
|
|
21
21
|
'https://www.googleapis.com/auth/chat.messages',
|
|
22
22
|
/** Compose and send messages in Google Chat */
|
|
23
23
|
'https://www.googleapis.com/auth/chat.messages.create',
|
|
24
|
-
/**
|
|
24
|
+
/** View messages and reactions in Google Chat */
|
|
25
25
|
'https://www.googleapis.com/auth/chat.messages.readonly',
|
|
26
|
+
/** Create conversations and spaces and view or update metadata (including history settings) in Google Chat */
|
|
27
|
+
'https://www.googleapis.com/auth/chat.spaces',
|
|
28
|
+
/** View chat and spaces in Google Chat */
|
|
29
|
+
'https://www.googleapis.com/auth/chat.spaces.readonly',
|
|
26
30
|
];
|
|
27
31
|
const immediate = false;
|
|
28
32
|
gapi.auth.authorize({ client_id, scope, immediate }, authResult => {
|