@juzi/wechaty-grpc 1.0.75 → 1.0.76

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.
@@ -9,7 +9,7 @@ info:
9
9
 
10
10
  Wechaty Puppet Service is the RESTful API for Wechaty API, which is build on
11
11
  top of the Wechaty Puppet Abstraction and the gRPC proto definition.
12
- version: 1.0.75
12
+ version: 1.0.76
13
13
  contact:
14
14
  name: Wechaty
15
15
  url: https://github.com/wechaty/openapi
@@ -3428,6 +3428,11 @@ definitions:
3428
3428
  title: 被引用的消息id
3429
3429
  additionalInfo:
3430
3430
  type: string
3431
+ textContents:
3432
+ type: array
3433
+ items:
3434
+ type: object
3435
+ $ref: '#/definitions/puppetTextContent'
3431
3436
  puppetMessagePreviewResponse:
3432
3437
  type: object
3433
3438
  properties:
@@ -4175,6 +4180,26 @@ definitions:
4175
4180
  - TAP_TYPE_UNSPECIFIED
4176
4181
  - TAP_TYPE_LIKE
4177
4182
  default: TAP_TYPE_UNSPECIFIED
4183
+ puppetTextContent:
4184
+ type: object
4185
+ properties:
4186
+ type:
4187
+ $ref: '#/definitions/puppetTextContentType'
4188
+ text:
4189
+ type: string
4190
+ data:
4191
+ $ref: '#/definitions/puppetTextContentData'
4192
+ puppetTextContentData:
4193
+ type: object
4194
+ properties:
4195
+ contactId:
4196
+ type: string
4197
+ puppetTextContentType:
4198
+ type: string
4199
+ enum:
4200
+ - TEXT_CONTENT_TYPE_REGULAR
4201
+ - TEXT_CONTENT_TYPE_AT
4202
+ default: TEXT_CONTENT_TYPE_REGULAR
4178
4203
  puppetUploadRequest:
4179
4204
  type: object
4180
4205
  properties:
@@ -3,7 +3,7 @@
3
3
  "info": {
4
4
  "title": "Wechaty Puppet Service OpenAPI Specification",
5
5
  "description": "Wechaty is a Conversational RPA SDK for chatbot makers. With only 6 lines of code, you can create a bot on the most popular IMs like WeChat, Whatsapp, WeCom, Gitter, etc.\n\nWechaty Puppet Service is the RESTful API for Wechaty API, which is build on top of the Wechaty Puppet Abstraction and the gRPC proto definition.",
6
- "version": "1.0.75",
6
+ "version": "1.0.76",
7
7
  "contact": {
8
8
  "name": "Wechaty",
9
9
  "url": "https://github.com/wechaty/openapi",
@@ -4958,6 +4958,13 @@
4958
4958
  },
4959
4959
  "additionalInfo": {
4960
4960
  "type": "string"
4961
+ },
4962
+ "textContents": {
4963
+ "type": "array",
4964
+ "items": {
4965
+ "type": "object",
4966
+ "$ref": "#/definitions/puppetTextContent"
4967
+ }
4961
4968
  }
4962
4969
  }
4963
4970
  },
@@ -5948,6 +5955,36 @@
5948
5955
  ],
5949
5956
  "default": "TAP_TYPE_UNSPECIFIED"
5950
5957
  },
5958
+ "puppetTextContent": {
5959
+ "type": "object",
5960
+ "properties": {
5961
+ "type": {
5962
+ "$ref": "#/definitions/puppetTextContentType"
5963
+ },
5964
+ "text": {
5965
+ "type": "string"
5966
+ },
5967
+ "data": {
5968
+ "$ref": "#/definitions/puppetTextContentData"
5969
+ }
5970
+ }
5971
+ },
5972
+ "puppetTextContentData": {
5973
+ "type": "object",
5974
+ "properties": {
5975
+ "contactId": {
5976
+ "type": "string"
5977
+ }
5978
+ }
5979
+ },
5980
+ "puppetTextContentType": {
5981
+ "type": "string",
5982
+ "enum": [
5983
+ "TEXT_CONTENT_TYPE_REGULAR",
5984
+ "TEXT_CONTENT_TYPE_AT"
5985
+ ],
5986
+ "default": "TEXT_CONTENT_TYPE_REGULAR"
5987
+ },
5951
5988
  "puppetUploadRequest": {
5952
5989
  "type": "object",
5953
5990
  "properties": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juzi/wechaty-grpc",
3
- "version": "1.0.75",
3
+ "version": "1.0.76",
4
4
  "description": "gRPC for Wechaty",
5
5
  "type": "module",
6
6
  "exports": {
@@ -4,7 +4,7 @@
4
4
  import type { PackageJson } from 'type-fest'
5
5
  export const packageJson: PackageJson = {
6
6
  "name": "@juzi/wechaty-grpc",
7
- "version": "1.0.75",
7
+ "version": "1.0.76",
8
8
  "description": "gRPC for Wechaty",
9
9
  "type": "module",
10
10
  "exports": {