@maxim_mazurok/gapi.client.chat-v1 0.0.20230729 → 0.0.20230801

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: 20230729
12
+ // Revision: 20230801
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -1404,7 +1404,10 @@ declare namespace gapi.client {
1404
1404
  */
1405
1405
  displayName?:
1406
1406
  string;
1407
- /** 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. */
1407
+ /**
1408
+ * Immutable. Whether this space permits any Google Chat user as a member. Input when creating a space in a Google Workspace organization. For Google Chat users that use a Google
1409
+ * Account, omit this field when creating a space (By default, the space permits any Google Chat user). For existing spaces, this field is output only.
1410
+ */
1408
1411
  externalUserAllowed?:
1409
1412
  boolean;
1410
1413
  /** Resource name of the space. Format: `spaces/{space}` */
@@ -2728,9 +2731,8 @@ declare namespace gapi.client {
2728
2731
  }
2729
2732
  interface SpacesResource {
2730
2733
  /**
2731
- * Creates a named space. Spaces grouped by topics or that have guest access aren't supported. For an example, see [Create a
2732
- * space](https://developers.google.com/chat/api/guides/v1/spaces/create). Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users) and the
2733
- * `chat.spaces.create` or `chat.spaces` scope.
2734
+ * Creates a named space. Spaces grouped by topics aren't supported. For an example, see [Create a space](https://developers.google.com/chat/api/guides/v1/spaces/create). Requires
2735
+ * [user authentication](https://developers.google.com/chat/api/guides/auth/users) and the `chat.spaces.create` or `chat.spaces` scope.
2734
2736
  */
2735
2737
  create(request: {
2736
2738
  /** V1 error format. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.chat-v1",
3
- "version": "0.0.20230729",
3
+ "version": "0.0.20230801",
4
4
  "description": "TypeScript typings for Google Chat API v1",
5
5
  "license": "MIT",
6
6
  "author": {
package/readme.md CHANGED
@@ -119,7 +119,7 @@ Uploads an attachment. For an example, see [Upload media as a file attachment](h
119
119
  await gapi.client.chat.media.upload({ parent: "parent", });
120
120
 
121
121
  /*
122
- Creates a named space. Spaces grouped by topics or that have guest access aren't supported. For an example, see [Create a space](https://developers.google.com/chat/api/guides/v1/spaces/create). Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users) and the `chat.spaces.create` or `chat.spaces` scope.
122
+ Creates a named space. Spaces grouped by topics aren't supported. For an example, see [Create a space](https://developers.google.com/chat/api/guides/v1/spaces/create). Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users) and the `chat.spaces.create` or `chat.spaces` scope.
123
123
  */
124
124
  await gapi.client.chat.spaces.create({ });
125
125
 
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: 20230729
6
+ // Revision: 20230801
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -73,9 +73,8 @@ gapi.load('client', async () => {
73
73
  filename: "Test string",
74
74
  });
75
75
  /**
76
- * Creates a named space. Spaces grouped by topics or that have guest access aren't supported. For an example, see [Create a
77
- * space](https://developers.google.com/chat/api/guides/v1/spaces/create). Requires [user authentication](https://developers.google.com/chat/api/guides/auth/users) and the
78
- * `chat.spaces.create` or `chat.spaces` scope.
76
+ * Creates a named space. Spaces grouped by topics aren't supported. For an example, see [Create a space](https://developers.google.com/chat/api/guides/v1/spaces/create). Requires [user
77
+ * authentication](https://developers.google.com/chat/api/guides/auth/users) and the `chat.spaces.create` or `chat.spaces` scope.
79
78
  */
80
79
  await gapi.client.chat.spaces.create({
81
80
  requestId: "Test string",