@maxim_mazurok/gapi.client.chat-v1 0.0.20221011 → 0.0.20221013

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.
Files changed (3) hide show
  1. package/index.d.ts +19 -7
  2. package/package.json +1 -1
  3. package/tests.ts +1 -1
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: 20221011
12
+ // Revision: 20221013
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -649,11 +649,11 @@ declare namespace gapi.client {
649
649
  interface ListMembershipsResponse {
650
650
  /** List of memberships in the requested (or first) page. */
651
651
  memberships?: Membership[];
652
- /** Continuation token to retrieve the next page of results. It will be empty for the last page of results. */
652
+ /** A token that can be sent as `pageToken` to retrieve the next page of results. If empty, there are no subsequent pages. */
653
653
  nextPageToken?: string;
654
654
  }
655
655
  interface ListSpacesResponse {
656
- /** Continuation token to retrieve the next page of results. It will be empty for the last page of results. Tokens expire in an hour. An error is thrown if an expired token is passed. */
656
+ /** A token that can be sent as `pageToken` to retrieve the next page of results. If empty, there are no subsequent pages. */
657
657
  nextPageToken?: string;
658
658
  /** List of spaces in the requested (or first) page. */
659
659
  spaces?: Space[];
@@ -1428,9 +1428,15 @@ declare namespace gapi.client {
1428
1428
  key?: string;
1429
1429
  /** OAuth 2.0 token for the current user. */
1430
1430
  oauth_token?: string;
1431
- /** Requested page size. The value is capped at 1000. Server may return fewer results than requested. If unspecified, server will default to 100. */
1431
+ /**
1432
+ * The maximum number of memberships to return. The service may return fewer than this value. If unspecified, at most 100 memberships are returned. The maximum value is 1000;
1433
+ * values above 1000 are coerced to 1000. Negative values return an INVALID_ARGUMENT error.
1434
+ */
1432
1435
  pageSize?: number;
1433
- /** A token identifying a page of results the server should return. */
1436
+ /**
1437
+ * A page token, received from a previous list memberships call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided must match the call
1438
+ * that provided the page token.
1439
+ */
1434
1440
  pageToken?: string;
1435
1441
  /** Required. The resource name of the space for which to fetch a membership list. Format: spaces/{space} */
1436
1442
  parent: string;
@@ -1739,9 +1745,15 @@ declare namespace gapi.client {
1739
1745
  key?: string;
1740
1746
  /** OAuth 2.0 token for the current user. */
1741
1747
  oauth_token?: string;
1742
- /** Optional. Requested page size. The value is capped at 1000. Server may return fewer results than requested. If unspecified, server will default to 100. */
1748
+ /**
1749
+ * Optional. The maximum number of spaces to return. The service may return fewer than this value. If unspecified, at most 100 spaces are returned. The maximum value is 1000;
1750
+ * values above 1000 are coerced to 1000. Negative values return an INVALID_ARGUMENT error.
1751
+ */
1743
1752
  pageSize?: number;
1744
- /** Optional. A token identifying a page of results the server should return. */
1753
+ /**
1754
+ * Optional. A page token, received from a previous list spaces call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided must match the
1755
+ * call that provided the page token.
1756
+ */
1745
1757
  pageToken?: string;
1746
1758
  /** Returns response with indentations and line breaks. */
1747
1759
  prettyPrint?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.chat-v1",
3
- "version": "0.0.20221011",
3
+ "version": "0.0.20221013",
4
4
  "description": "TypeScript typings for Google Chat API v1",
5
5
  "license": "MIT",
6
6
  "author": {
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: 20221011
6
+ // Revision: 20221013
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */