@maxim_mazurok/gapi.client.chat-v1 0.0.20230718 → 0.0.20230723
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 +5 -3
- package/package.json +1 -1
- package/tests.ts +8 -3
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: 20230723
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1399,6 +1399,9 @@ declare namespace gapi.client {
|
|
|
1399
1399
|
*/
|
|
1400
1400
|
displayName?:
|
|
1401
1401
|
string;
|
|
1402
|
+
/** Immutable. Whether this space permits any Google Chat user as a member. Input when creating a space. For existing spaces, this field is output only. */
|
|
1403
|
+
externalUserAllowed?:
|
|
1404
|
+
boolean;
|
|
1402
1405
|
/** Resource name of the space. Format: `spaces/{space}` */
|
|
1403
1406
|
name?:
|
|
1404
1407
|
string;
|
|
@@ -2413,8 +2416,7 @@ declare namespace gapi.client {
|
|
|
2413
2416
|
}): Request<Message>;
|
|
2414
2417
|
/**
|
|
2415
2418
|
* Lists messages in a space that the caller is a member of, including messages from blocked members and spaces. For an example, see [List messages](/chat/api/guides/v1/messages/list).
|
|
2416
|
-
* Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users) and the `chat.messages` or `chat.messages.readonly` authorization scope.
|
|
2417
|
-
* supported in spaces that don't allow users from outside the Workspace organization to join.
|
|
2419
|
+
* Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users) and the `chat.messages` or `chat.messages.readonly` authorization scope.
|
|
2418
2420
|
*/
|
|
2419
2421
|
list(request?: {
|
|
2420
2422
|
/** V1 error format. */
|
package/package.json
CHANGED
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: 20230723
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -82,6 +82,7 @@ gapi.load('client', async () => {
|
|
|
82
82
|
}, {
|
|
83
83
|
adminInstalled: true,
|
|
84
84
|
displayName: "Test string",
|
|
85
|
+
externalUserAllowed: true,
|
|
85
86
|
name: "Test string",
|
|
86
87
|
singleUserBotDm: true,
|
|
87
88
|
spaceDetails: {
|
|
@@ -142,6 +143,7 @@ gapi.load('client', async () => {
|
|
|
142
143
|
}, {
|
|
143
144
|
adminInstalled: true,
|
|
144
145
|
displayName: "Test string",
|
|
146
|
+
externalUserAllowed: true,
|
|
145
147
|
name: "Test string",
|
|
146
148
|
singleUserBotDm: true,
|
|
147
149
|
spaceDetails: {
|
|
@@ -188,6 +190,7 @@ gapi.load('client', async () => {
|
|
|
188
190
|
space: {
|
|
189
191
|
adminInstalled: true,
|
|
190
192
|
displayName: "Test string",
|
|
193
|
+
externalUserAllowed: true,
|
|
191
194
|
name: "Test string",
|
|
192
195
|
singleUserBotDm: true,
|
|
193
196
|
spaceDetails: {
|
|
@@ -2342,6 +2345,7 @@ gapi.load('client', async () => {
|
|
|
2342
2345
|
space: {
|
|
2343
2346
|
adminInstalled: true,
|
|
2344
2347
|
displayName: "Test string",
|
|
2348
|
+
externalUserAllowed: true,
|
|
2345
2349
|
name: "Test string",
|
|
2346
2350
|
singleUserBotDm: true,
|
|
2347
2351
|
spaceDetails: {
|
|
@@ -2383,8 +2387,7 @@ gapi.load('client', async () => {
|
|
|
2383
2387
|
});
|
|
2384
2388
|
/**
|
|
2385
2389
|
* Lists messages in a space that the caller is a member of, including messages from blocked members and spaces. For an example, see [List messages](/chat/api/guides/v1/messages/list).
|
|
2386
|
-
* Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users) and the `chat.messages` or `chat.messages.readonly` authorization scope.
|
|
2387
|
-
* supported in spaces that don't allow users from outside the Workspace organization to join.
|
|
2390
|
+
* Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users) and the `chat.messages` or `chat.messages.readonly` authorization scope.
|
|
2388
2391
|
*/
|
|
2389
2392
|
await gapi.client.chat.spaces.messages.list({
|
|
2390
2393
|
filter: "Test string",
|
|
@@ -4474,6 +4477,7 @@ gapi.load('client', async () => {
|
|
|
4474
4477
|
space: {
|
|
4475
4478
|
adminInstalled: true,
|
|
4476
4479
|
displayName: "Test string",
|
|
4480
|
+
externalUserAllowed: true,
|
|
4477
4481
|
name: "Test string",
|
|
4478
4482
|
singleUserBotDm: true,
|
|
4479
4483
|
spaceDetails: {
|
|
@@ -6573,6 +6577,7 @@ gapi.load('client', async () => {
|
|
|
6573
6577
|
space: {
|
|
6574
6578
|
adminInstalled: true,
|
|
6575
6579
|
displayName: "Test string",
|
|
6580
|
+
externalUserAllowed: true,
|
|
6576
6581
|
name: "Test string",
|
|
6577
6582
|
singleUserBotDm: true,
|
|
6578
6583
|
spaceDetails: {
|