@maxim_mazurok/gapi.client.chat-v1 0.0.20230404 → 0.0.20230412

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 +5 -3
  2. package/package.json +1 -1
  3. package/tests.ts +5 -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: 20230404
12
+ // Revision: 20230412
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -1295,7 +1295,8 @@ declare namespace gapi.client {
1295
1295
  uploadType?: string;
1296
1296
  }): Request<Message>;
1297
1297
  /**
1298
- * Updates a message. For example usage, see [Update a message](https://developers.google.com/chat/api/guides/crudl/messages#update_a_message). Requires
1298
+ * Updates a message. There's a difference between `patch` and `update` methods. The `patch` method uses a `patch` request while the `update` method uses a `put` request. We recommend
1299
+ * using the `patch` method. For example usage, see [Update a message](https://developers.google.com/chat/api/guides/crudl/messages#update_a_message). Requires
1299
1300
  * [authentication](https://developers.google.com/chat/api/guides/auth/). Fully supports [service account
1300
1301
  * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts). Supports [user authentication](https://developers.google.com/chat/api/guides/auth/users) as
1301
1302
  * part of the [Google Workspace Developer Preview Program](https://developers.google.com/workspace/preview), which grants early access to certain features. [User
@@ -1377,7 +1378,8 @@ declare namespace gapi.client {
1377
1378
  },
1378
1379
  body: Message): Request<Message>;
1379
1380
  /**
1380
- * Updates a message. For example usage, see [Update a message](https://developers.google.com/chat/api/guides/crudl/messages#update_a_message). Requires
1381
+ * Updates a message. There's a difference between `patch` and `update` methods. The `patch` method uses a `patch` request while the `update` method uses a `put` request. We recommend
1382
+ * using the `patch` method. For example usage, see [Update a message](https://developers.google.com/chat/api/guides/crudl/messages#update_a_message). Requires
1381
1383
  * [authentication](https://developers.google.com/chat/api/guides/auth/). Fully supports [service account
1382
1384
  * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts). Supports [user authentication](https://developers.google.com/chat/api/guides/auth/users) as
1383
1385
  * part of the [Google Workspace Developer Preview Program](https://developers.google.com/workspace/preview), which grants early access to certain features. [User
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.chat-v1",
3
- "version": "0.0.20230404",
3
+ "version": "0.0.20230412",
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: 20230404
6
+ // Revision: 20230412
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -1459,7 +1459,8 @@ gapi.load('client', async () => {
1459
1459
  name: "Test string",
1460
1460
  });
1461
1461
  /**
1462
- * Updates a message. For example usage, see [Update a message](https://developers.google.com/chat/api/guides/crudl/messages#update_a_message). Requires
1462
+ * Updates a message. There's a difference between `patch` and `update` methods. The `patch` method uses a `patch` request while the `update` method uses a `put` request. We recommend
1463
+ * using the `patch` method. For example usage, see [Update a message](https://developers.google.com/chat/api/guides/crudl/messages#update_a_message). Requires
1463
1464
  * [authentication](https://developers.google.com/chat/api/guides/auth/). Fully supports [service account
1464
1465
  * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts). Supports [user authentication](https://developers.google.com/chat/api/guides/auth/users) as part of
1465
1466
  * the [Google Workspace Developer Preview Program](https://developers.google.com/workspace/preview), which grants early access to certain features. [User
@@ -2805,7 +2806,8 @@ gapi.load('client', async () => {
2805
2806
  threadReply: true,
2806
2807
  });
2807
2808
  /**
2808
- * Updates a message. For example usage, see [Update a message](https://developers.google.com/chat/api/guides/crudl/messages#update_a_message). Requires
2809
+ * Updates a message. There's a difference between `patch` and `update` methods. The `patch` method uses a `patch` request while the `update` method uses a `put` request. We recommend
2810
+ * using the `patch` method. For example usage, see [Update a message](https://developers.google.com/chat/api/guides/crudl/messages#update_a_message). Requires
2809
2811
  * [authentication](https://developers.google.com/chat/api/guides/auth/). Fully supports [service account
2810
2812
  * authentication](https://developers.google.com/chat/api/guides/auth/service-accounts). Supports [user authentication](https://developers.google.com/chat/api/guides/auth/users) as part of
2811
2813
  * the [Google Workspace Developer Preview Program](https://developers.google.com/workspace/preview), which grants early access to certain features. [User