@maxim_mazurok/gapi.client.chat-v1 0.0.20221115 → 0.0.20221122
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 +17 -5
- package/package.json +1 -1
- package/tests.ts +15 -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: 20221122
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1528,7 +1528,13 @@ declare namespace gapi.client {
|
|
|
1528
1528
|
conversations: ConversationsResource;
|
|
1529
1529
|
}
|
|
1530
1530
|
interface MembersResource {
|
|
1531
|
-
/**
|
|
1531
|
+
/**
|
|
1532
|
+
* [Developer Preview](https://developers.google.com/workspace/preview): Returns a membership. Requires [authentication](https://developers.google.com/chat/api/guides/auth/). Fully
|
|
1533
|
+
* supports [service account authentication](https://developers.google.com/chat/api/guides/auth/service-accounts). Supports [user
|
|
1534
|
+
* authentication](https://developers.google.com/chat/api/guides/auth/users) as part of the [Google Workspace Developer Preview
|
|
1535
|
+
* Program](https://developers.google.com/workspace/preview), which grants early access to certain features. [User
|
|
1536
|
+
* authentication](https://developers.google.com/chat/api/guides/auth/users) requires the `chat.memberships` or `chat.memberships.readonly` authorization scope.
|
|
1537
|
+
*/
|
|
1532
1538
|
get(request?: {
|
|
1533
1539
|
/** V1 error format. */
|
|
1534
1540
|
"$.xgafv"?: string;
|
|
@@ -1555,7 +1561,13 @@ declare namespace gapi.client {
|
|
|
1555
1561
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1556
1562
|
uploadType?: string;
|
|
1557
1563
|
}): Request<Membership>;
|
|
1558
|
-
/**
|
|
1564
|
+
/**
|
|
1565
|
+
* [Developer Preview](https://developers.google.com/workspace/preview): Lists memberships in a space. Requires [authentication](https://developers.google.com/chat/api/guides/auth/).
|
|
1566
|
+
* Fully supports [service account authentication](https://developers.google.com/chat/api/guides/auth/service-accounts). Supports [user
|
|
1567
|
+
* authentication](https://developers.google.com/chat/api/guides/auth/users) as part of the [Google Workspace Developer Preview
|
|
1568
|
+
* Program](https://developers.google.com/workspace/preview), which grants early access to certain features. [User
|
|
1569
|
+
* authentication](https://developers.google.com/chat/api/guides/auth/users) requires the `chat.memberships` or `chat.memberships.readonly` authorization scope.
|
|
1570
|
+
*/
|
|
1559
1571
|
list(request?: {
|
|
1560
1572
|
/** V1 error format. */
|
|
1561
1573
|
"$.xgafv"?: string;
|
|
@@ -1577,8 +1589,8 @@ declare namespace gapi.client {
|
|
|
1577
1589
|
*/
|
|
1578
1590
|
pageSize?: number;
|
|
1579
1591
|
/**
|
|
1580
|
-
* A page token, received from a previous list memberships call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided
|
|
1581
|
-
* that provided the page token.
|
|
1592
|
+
* A page token, received from a previous list memberships call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided should match the call
|
|
1593
|
+
* that provided the page token. Passing different values to the other parameters may lead to unexpected results.
|
|
1582
1594
|
*/
|
|
1583
1595
|
pageToken?: string;
|
|
1584
1596
|
/** Required. The resource name of the space for which to fetch a membership list. Format: spaces/{space} */
|
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: 20221122
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -9446,11 +9446,23 @@ gapi.load('client', async () => {
|
|
|
9446
9446
|
},
|
|
9447
9447
|
threadReply: true,
|
|
9448
9448
|
});
|
|
9449
|
-
/**
|
|
9449
|
+
/**
|
|
9450
|
+
* [Developer Preview](https://developers.google.com/workspace/preview): Returns a membership. Requires [authentication](https://developers.google.com/chat/api/guides/auth/). Fully
|
|
9451
|
+
* supports [service account authentication](https://developers.google.com/chat/api/guides/auth/service-accounts). Supports [user
|
|
9452
|
+
* authentication](https://developers.google.com/chat/api/guides/auth/users) as part of the [Google Workspace Developer Preview Program](https://developers.google.com/workspace/preview),
|
|
9453
|
+
* which grants early access to certain features. [User authentication](https://developers.google.com/chat/api/guides/auth/users) requires the `chat.memberships` or
|
|
9454
|
+
* `chat.memberships.readonly` authorization scope.
|
|
9455
|
+
*/
|
|
9450
9456
|
await gapi.client.chat.spaces.members.get({
|
|
9451
9457
|
name: "Test string",
|
|
9452
9458
|
});
|
|
9453
|
-
/**
|
|
9459
|
+
/**
|
|
9460
|
+
* [Developer Preview](https://developers.google.com/workspace/preview): Lists memberships in a space. Requires [authentication](https://developers.google.com/chat/api/guides/auth/). Fully
|
|
9461
|
+
* supports [service account authentication](https://developers.google.com/chat/api/guides/auth/service-accounts). Supports [user
|
|
9462
|
+
* authentication](https://developers.google.com/chat/api/guides/auth/users) as part of the [Google Workspace Developer Preview Program](https://developers.google.com/workspace/preview),
|
|
9463
|
+
* which grants early access to certain features. [User authentication](https://developers.google.com/chat/api/guides/auth/users) requires the `chat.memberships` or
|
|
9464
|
+
* `chat.memberships.readonly` authorization scope.
|
|
9465
|
+
*/
|
|
9454
9466
|
await gapi.client.chat.spaces.members.list({
|
|
9455
9467
|
pageSize: 42,
|
|
9456
9468
|
pageToken: "Test string",
|