@juzi/wechaty-grpc 1.0.102 → 1.0.103

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.
@@ -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.102",
6
+ "version": "1.0.103",
7
7
  "contact": {
8
8
  "name": "Wechaty",
9
9
  "url": "https://github.com/wechaty/openapi",
@@ -5407,6 +5407,48 @@
5407
5407
  ],
5408
5408
  "default": "CHANNEL_FEED_TYPE_UNKNOWN"
5409
5409
  },
5410
+ "puppetChannelMedia": {
5411
+ "type": "object",
5412
+ "properties": {
5413
+ "mediaType": {
5414
+ "type": "integer",
5415
+ "format": "int32",
5416
+ "title": "资源类型 2:图片 4:视频"
5417
+ },
5418
+ "url": {
5419
+ "type": "string",
5420
+ "title": "原始媒体流地址"
5421
+ },
5422
+ "thumbUrl": {
5423
+ "type": "string",
5424
+ "title": "视频第一帧缩略图地址"
5425
+ },
5426
+ "fullCoverUrl": {
5427
+ "type": "string",
5428
+ "title": "封面缩略图地址"
5429
+ },
5430
+ "coverUrl": {
5431
+ "type": "string",
5432
+ "title": "封面地址"
5433
+ },
5434
+ "width": {
5435
+ "type": "integer",
5436
+ "format": "int32",
5437
+ "title": "缩略图宽度,默认 1080"
5438
+ },
5439
+ "height": {
5440
+ "type": "integer",
5441
+ "format": "int32",
5442
+ "title": "缩略图高度,默认 1920"
5443
+ },
5444
+ "videoPlayDuration": {
5445
+ "type": "integer",
5446
+ "format": "int32",
5447
+ "title": "视频播放时长(秒)"
5448
+ }
5449
+ },
5450
+ "title": "视频号媒体资源,对应接收视频号 finderFeed.mediaList.media"
5451
+ },
5410
5452
  "puppetChannelPayload": {
5411
5453
  "type": "object",
5412
5454
  "properties": {
@@ -5448,6 +5490,32 @@
5448
5490
  },
5449
5491
  "objectNonceId": {
5450
5492
  "type": "string"
5493
+ },
5494
+ "username": {
5495
+ "type": "string",
5496
+ "description": "视频号 finder userName",
5497
+ "title": "个微(phoenix)转发视频号所需补充字段,来自接收视频号的 appmsg.finderFeed"
5498
+ },
5499
+ "authIconType": {
5500
+ "type": "integer",
5501
+ "format": "int32",
5502
+ "title": "认证类型"
5503
+ },
5504
+ "authIconUrl": {
5505
+ "type": "string",
5506
+ "title": "授权图标地址"
5507
+ },
5508
+ "fromUserName": {
5509
+ "type": "string",
5510
+ "title": "视频号转发自好友 userName"
5511
+ },
5512
+ "mediaList": {
5513
+ "type": "array",
5514
+ "items": {
5515
+ "type": "object",
5516
+ "$ref": "#/definitions/puppetChannelMedia"
5517
+ },
5518
+ "title": "媒体资源列表(图片类视频号可多条)"
5451
5519
  }
5452
5520
  }
5453
5521
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juzi/wechaty-grpc",
3
- "version": "1.0.102",
3
+ "version": "1.0.103",
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.102",
7
+ "version": "1.0.103",
8
8
  "description": "gRPC for Wechaty",
9
9
  "type": "module",
10
10
  "exports": {