@juzi/wechaty-grpc 1.0.93 → 1.0.94
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/dist/cjs/out/wechaty/puppet/channel_pb.d.ts +8 -0
- package/dist/cjs/out/wechaty/puppet/channel_pb.js +61 -1
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +8 -1
- package/dist/cjs/out/wechaty/puppet.swagger.json +10 -1
- package/dist/cjs/proto/wechaty/puppet/channel.proto +4 -0
- package/dist/cjs/src/package-json.js +1 -1
- package/dist/esm/out/wechaty/puppet/channel_pb.d.ts +8 -0
- package/dist/esm/out/wechaty/puppet/channel_pb.js +61 -1
- package/dist/esm/out/wechaty/puppet.openapi.yaml +8 -1
- package/dist/esm/out/wechaty/puppet.swagger.json +10 -1
- package/dist/esm/proto/wechaty/puppet/channel.proto +4 -0
- package/dist/esm/src/package-json.js +1 -1
- package/out/wechaty/puppet/channel_pb.d.ts +8 -0
- package/out/wechaty/puppet/channel_pb.js +61 -1
- package/out/wechaty/puppet.openapi.yaml +8 -1
- package/out/wechaty/puppet.swagger.json +10 -1
- package/package.json +1 -1
- package/src/package-json.ts +1 -1
|
@@ -34,6 +34,12 @@ export class ChannelPayload extends jspb.Message {
|
|
|
34
34
|
getObjectNonceId(): string;
|
|
35
35
|
setObjectNonceId(value: string): void;
|
|
36
36
|
|
|
37
|
+
getAuthIconUrl(): string;
|
|
38
|
+
setAuthIconUrl(value: string): void;
|
|
39
|
+
|
|
40
|
+
getAuthJob(): string;
|
|
41
|
+
setAuthJob(value: string): void;
|
|
42
|
+
|
|
37
43
|
serializeBinary(): Uint8Array;
|
|
38
44
|
toObject(includeInstance?: boolean): ChannelPayload.AsObject;
|
|
39
45
|
static toObject(includeInstance: boolean, msg: ChannelPayload): ChannelPayload.AsObject;
|
|
@@ -56,6 +62,8 @@ export namespace ChannelPayload {
|
|
|
56
62
|
url: string,
|
|
57
63
|
objectId: string,
|
|
58
64
|
objectNonceId: string,
|
|
65
|
+
authIconUrl: string,
|
|
66
|
+
authJob: string,
|
|
59
67
|
}
|
|
60
68
|
}
|
|
61
69
|
|
|
@@ -79,7 +79,9 @@ proto.wechaty.puppet.ChannelPayload.toObject = function(includeInstance, msg) {
|
|
|
79
79
|
thumbUrl: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
80
80
|
url: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
81
81
|
objectId: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
82
|
-
objectNonceId: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
82
|
+
objectNonceId: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
83
|
+
authIconUrl: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
84
|
+
authJob: jspb.Message.getFieldWithDefault(msg, 12, "")
|
|
83
85
|
};
|
|
84
86
|
|
|
85
87
|
if (includeInstance) {
|
|
@@ -156,6 +158,14 @@ proto.wechaty.puppet.ChannelPayload.deserializeBinaryFromReader = function(msg,
|
|
|
156
158
|
var value = /** @type {string} */ (reader.readString());
|
|
157
159
|
msg.setObjectNonceId(value);
|
|
158
160
|
break;
|
|
161
|
+
case 11:
|
|
162
|
+
var value = /** @type {string} */ (reader.readString());
|
|
163
|
+
msg.setAuthIconUrl(value);
|
|
164
|
+
break;
|
|
165
|
+
case 12:
|
|
166
|
+
var value = /** @type {string} */ (reader.readString());
|
|
167
|
+
msg.setAuthJob(value);
|
|
168
|
+
break;
|
|
159
169
|
default:
|
|
160
170
|
reader.skipField();
|
|
161
171
|
break;
|
|
@@ -255,6 +265,20 @@ proto.wechaty.puppet.ChannelPayload.serializeBinaryToWriter = function(message,
|
|
|
255
265
|
f
|
|
256
266
|
);
|
|
257
267
|
}
|
|
268
|
+
f = message.getAuthIconUrl();
|
|
269
|
+
if (f.length > 0) {
|
|
270
|
+
writer.writeString(
|
|
271
|
+
11,
|
|
272
|
+
f
|
|
273
|
+
);
|
|
274
|
+
}
|
|
275
|
+
f = message.getAuthJob();
|
|
276
|
+
if (f.length > 0) {
|
|
277
|
+
writer.writeString(
|
|
278
|
+
12,
|
|
279
|
+
f
|
|
280
|
+
);
|
|
281
|
+
}
|
|
258
282
|
};
|
|
259
283
|
|
|
260
284
|
|
|
@@ -438,6 +462,42 @@ proto.wechaty.puppet.ChannelPayload.prototype.setObjectNonceId = function(value)
|
|
|
438
462
|
};
|
|
439
463
|
|
|
440
464
|
|
|
465
|
+
/**
|
|
466
|
+
* optional string auth_icon_url = 11;
|
|
467
|
+
* @return {string}
|
|
468
|
+
*/
|
|
469
|
+
proto.wechaty.puppet.ChannelPayload.prototype.getAuthIconUrl = function() {
|
|
470
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
471
|
+
};
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
* @param {string} value
|
|
476
|
+
* @return {!proto.wechaty.puppet.ChannelPayload} returns this
|
|
477
|
+
*/
|
|
478
|
+
proto.wechaty.puppet.ChannelPayload.prototype.setAuthIconUrl = function(value) {
|
|
479
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
480
|
+
};
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* optional string auth_job = 12;
|
|
485
|
+
* @return {string}
|
|
486
|
+
*/
|
|
487
|
+
proto.wechaty.puppet.ChannelPayload.prototype.getAuthJob = function() {
|
|
488
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
489
|
+
};
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
/**
|
|
493
|
+
* @param {string} value
|
|
494
|
+
* @return {!proto.wechaty.puppet.ChannelPayload} returns this
|
|
495
|
+
*/
|
|
496
|
+
proto.wechaty.puppet.ChannelPayload.prototype.setAuthJob = function(value) {
|
|
497
|
+
return jspb.Message.setProto3StringField(this, 12, value);
|
|
498
|
+
};
|
|
499
|
+
|
|
500
|
+
|
|
441
501
|
/**
|
|
442
502
|
* @enum {number}
|
|
443
503
|
*/
|
|
@@ -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.
|
|
12
|
+
version: 1.0.94
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
15
|
url: https://github.com/wechaty/openapi
|
|
@@ -3027,6 +3027,13 @@ definitions:
|
|
|
3027
3027
|
title: 视频号直播专属
|
|
3028
3028
|
objectNonceId:
|
|
3029
3029
|
type: string
|
|
3030
|
+
authIconUrl:
|
|
3031
|
+
type: string
|
|
3032
|
+
description: 认证图标URL
|
|
3033
|
+
title: 视频号名片 SphProfileNew 消息类型专属字段
|
|
3034
|
+
authJob:
|
|
3035
|
+
type: string
|
|
3036
|
+
title: 认证职业
|
|
3030
3037
|
puppetChatHistoryContent:
|
|
3031
3038
|
type: object
|
|
3032
3039
|
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.
|
|
6
|
+
"version": "1.0.94",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Wechaty",
|
|
9
9
|
"url": "https://github.com/wechaty/openapi",
|
|
@@ -4494,6 +4494,15 @@
|
|
|
4494
4494
|
},
|
|
4495
4495
|
"objectNonceId": {
|
|
4496
4496
|
"type": "string"
|
|
4497
|
+
},
|
|
4498
|
+
"authIconUrl": {
|
|
4499
|
+
"type": "string",
|
|
4500
|
+
"description": "认证图标URL",
|
|
4501
|
+
"title": "视频号名片 SphProfileNew 消息类型专属字段"
|
|
4502
|
+
},
|
|
4503
|
+
"authJob": {
|
|
4504
|
+
"type": "string",
|
|
4505
|
+
"title": "认证职业"
|
|
4497
4506
|
}
|
|
4498
4507
|
}
|
|
4499
4508
|
},
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.packageJson = void 0;
|
|
4
4
|
exports.packageJson = {
|
|
5
5
|
"name": "@juzi/wechaty-grpc",
|
|
6
|
-
"version": "1.0.
|
|
6
|
+
"version": "1.0.94",
|
|
7
7
|
"description": "gRPC for Wechaty",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"exports": {
|
|
@@ -34,6 +34,12 @@ export class ChannelPayload extends jspb.Message {
|
|
|
34
34
|
getObjectNonceId(): string;
|
|
35
35
|
setObjectNonceId(value: string): void;
|
|
36
36
|
|
|
37
|
+
getAuthIconUrl(): string;
|
|
38
|
+
setAuthIconUrl(value: string): void;
|
|
39
|
+
|
|
40
|
+
getAuthJob(): string;
|
|
41
|
+
setAuthJob(value: string): void;
|
|
42
|
+
|
|
37
43
|
serializeBinary(): Uint8Array;
|
|
38
44
|
toObject(includeInstance?: boolean): ChannelPayload.AsObject;
|
|
39
45
|
static toObject(includeInstance: boolean, msg: ChannelPayload): ChannelPayload.AsObject;
|
|
@@ -56,6 +62,8 @@ export namespace ChannelPayload {
|
|
|
56
62
|
url: string,
|
|
57
63
|
objectId: string,
|
|
58
64
|
objectNonceId: string,
|
|
65
|
+
authIconUrl: string,
|
|
66
|
+
authJob: string,
|
|
59
67
|
}
|
|
60
68
|
}
|
|
61
69
|
|
|
@@ -79,7 +79,9 @@ proto.wechaty.puppet.ChannelPayload.toObject = function(includeInstance, msg) {
|
|
|
79
79
|
thumbUrl: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
80
80
|
url: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
81
81
|
objectId: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
82
|
-
objectNonceId: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
82
|
+
objectNonceId: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
83
|
+
authIconUrl: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
84
|
+
authJob: jspb.Message.getFieldWithDefault(msg, 12, "")
|
|
83
85
|
};
|
|
84
86
|
|
|
85
87
|
if (includeInstance) {
|
|
@@ -156,6 +158,14 @@ proto.wechaty.puppet.ChannelPayload.deserializeBinaryFromReader = function(msg,
|
|
|
156
158
|
var value = /** @type {string} */ (reader.readString());
|
|
157
159
|
msg.setObjectNonceId(value);
|
|
158
160
|
break;
|
|
161
|
+
case 11:
|
|
162
|
+
var value = /** @type {string} */ (reader.readString());
|
|
163
|
+
msg.setAuthIconUrl(value);
|
|
164
|
+
break;
|
|
165
|
+
case 12:
|
|
166
|
+
var value = /** @type {string} */ (reader.readString());
|
|
167
|
+
msg.setAuthJob(value);
|
|
168
|
+
break;
|
|
159
169
|
default:
|
|
160
170
|
reader.skipField();
|
|
161
171
|
break;
|
|
@@ -255,6 +265,20 @@ proto.wechaty.puppet.ChannelPayload.serializeBinaryToWriter = function(message,
|
|
|
255
265
|
f
|
|
256
266
|
);
|
|
257
267
|
}
|
|
268
|
+
f = message.getAuthIconUrl();
|
|
269
|
+
if (f.length > 0) {
|
|
270
|
+
writer.writeString(
|
|
271
|
+
11,
|
|
272
|
+
f
|
|
273
|
+
);
|
|
274
|
+
}
|
|
275
|
+
f = message.getAuthJob();
|
|
276
|
+
if (f.length > 0) {
|
|
277
|
+
writer.writeString(
|
|
278
|
+
12,
|
|
279
|
+
f
|
|
280
|
+
);
|
|
281
|
+
}
|
|
258
282
|
};
|
|
259
283
|
|
|
260
284
|
|
|
@@ -438,6 +462,42 @@ proto.wechaty.puppet.ChannelPayload.prototype.setObjectNonceId = function(value)
|
|
|
438
462
|
};
|
|
439
463
|
|
|
440
464
|
|
|
465
|
+
/**
|
|
466
|
+
* optional string auth_icon_url = 11;
|
|
467
|
+
* @return {string}
|
|
468
|
+
*/
|
|
469
|
+
proto.wechaty.puppet.ChannelPayload.prototype.getAuthIconUrl = function() {
|
|
470
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
471
|
+
};
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
* @param {string} value
|
|
476
|
+
* @return {!proto.wechaty.puppet.ChannelPayload} returns this
|
|
477
|
+
*/
|
|
478
|
+
proto.wechaty.puppet.ChannelPayload.prototype.setAuthIconUrl = function(value) {
|
|
479
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
480
|
+
};
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* optional string auth_job = 12;
|
|
485
|
+
* @return {string}
|
|
486
|
+
*/
|
|
487
|
+
proto.wechaty.puppet.ChannelPayload.prototype.getAuthJob = function() {
|
|
488
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
489
|
+
};
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
/**
|
|
493
|
+
* @param {string} value
|
|
494
|
+
* @return {!proto.wechaty.puppet.ChannelPayload} returns this
|
|
495
|
+
*/
|
|
496
|
+
proto.wechaty.puppet.ChannelPayload.prototype.setAuthJob = function(value) {
|
|
497
|
+
return jspb.Message.setProto3StringField(this, 12, value);
|
|
498
|
+
};
|
|
499
|
+
|
|
500
|
+
|
|
441
501
|
/**
|
|
442
502
|
* @enum {number}
|
|
443
503
|
*/
|
|
@@ -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.
|
|
12
|
+
version: 1.0.94
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
15
|
url: https://github.com/wechaty/openapi
|
|
@@ -3027,6 +3027,13 @@ definitions:
|
|
|
3027
3027
|
title: 视频号直播专属
|
|
3028
3028
|
objectNonceId:
|
|
3029
3029
|
type: string
|
|
3030
|
+
authIconUrl:
|
|
3031
|
+
type: string
|
|
3032
|
+
description: 认证图标URL
|
|
3033
|
+
title: 视频号名片 SphProfileNew 消息类型专属字段
|
|
3034
|
+
authJob:
|
|
3035
|
+
type: string
|
|
3036
|
+
title: 认证职业
|
|
3030
3037
|
puppetChatHistoryContent:
|
|
3031
3038
|
type: object
|
|
3032
3039
|
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.
|
|
6
|
+
"version": "1.0.94",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Wechaty",
|
|
9
9
|
"url": "https://github.com/wechaty/openapi",
|
|
@@ -4494,6 +4494,15 @@
|
|
|
4494
4494
|
},
|
|
4495
4495
|
"objectNonceId": {
|
|
4496
4496
|
"type": "string"
|
|
4497
|
+
},
|
|
4498
|
+
"authIconUrl": {
|
|
4499
|
+
"type": "string",
|
|
4500
|
+
"description": "认证图标URL",
|
|
4501
|
+
"title": "视频号名片 SphProfileNew 消息类型专属字段"
|
|
4502
|
+
},
|
|
4503
|
+
"authJob": {
|
|
4504
|
+
"type": "string",
|
|
4505
|
+
"title": "认证职业"
|
|
4497
4506
|
}
|
|
4498
4507
|
}
|
|
4499
4508
|
},
|
|
@@ -34,6 +34,12 @@ export class ChannelPayload extends jspb.Message {
|
|
|
34
34
|
getObjectNonceId(): string;
|
|
35
35
|
setObjectNonceId(value: string): void;
|
|
36
36
|
|
|
37
|
+
getAuthIconUrl(): string;
|
|
38
|
+
setAuthIconUrl(value: string): void;
|
|
39
|
+
|
|
40
|
+
getAuthJob(): string;
|
|
41
|
+
setAuthJob(value: string): void;
|
|
42
|
+
|
|
37
43
|
serializeBinary(): Uint8Array;
|
|
38
44
|
toObject(includeInstance?: boolean): ChannelPayload.AsObject;
|
|
39
45
|
static toObject(includeInstance: boolean, msg: ChannelPayload): ChannelPayload.AsObject;
|
|
@@ -56,6 +62,8 @@ export namespace ChannelPayload {
|
|
|
56
62
|
url: string,
|
|
57
63
|
objectId: string,
|
|
58
64
|
objectNonceId: string,
|
|
65
|
+
authIconUrl: string,
|
|
66
|
+
authJob: string,
|
|
59
67
|
}
|
|
60
68
|
}
|
|
61
69
|
|
|
@@ -79,7 +79,9 @@ proto.wechaty.puppet.ChannelPayload.toObject = function(includeInstance, msg) {
|
|
|
79
79
|
thumbUrl: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
80
80
|
url: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
81
81
|
objectId: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
82
|
-
objectNonceId: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
82
|
+
objectNonceId: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
83
|
+
authIconUrl: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
84
|
+
authJob: jspb.Message.getFieldWithDefault(msg, 12, "")
|
|
83
85
|
};
|
|
84
86
|
|
|
85
87
|
if (includeInstance) {
|
|
@@ -156,6 +158,14 @@ proto.wechaty.puppet.ChannelPayload.deserializeBinaryFromReader = function(msg,
|
|
|
156
158
|
var value = /** @type {string} */ (reader.readString());
|
|
157
159
|
msg.setObjectNonceId(value);
|
|
158
160
|
break;
|
|
161
|
+
case 11:
|
|
162
|
+
var value = /** @type {string} */ (reader.readString());
|
|
163
|
+
msg.setAuthIconUrl(value);
|
|
164
|
+
break;
|
|
165
|
+
case 12:
|
|
166
|
+
var value = /** @type {string} */ (reader.readString());
|
|
167
|
+
msg.setAuthJob(value);
|
|
168
|
+
break;
|
|
159
169
|
default:
|
|
160
170
|
reader.skipField();
|
|
161
171
|
break;
|
|
@@ -255,6 +265,20 @@ proto.wechaty.puppet.ChannelPayload.serializeBinaryToWriter = function(message,
|
|
|
255
265
|
f
|
|
256
266
|
);
|
|
257
267
|
}
|
|
268
|
+
f = message.getAuthIconUrl();
|
|
269
|
+
if (f.length > 0) {
|
|
270
|
+
writer.writeString(
|
|
271
|
+
11,
|
|
272
|
+
f
|
|
273
|
+
);
|
|
274
|
+
}
|
|
275
|
+
f = message.getAuthJob();
|
|
276
|
+
if (f.length > 0) {
|
|
277
|
+
writer.writeString(
|
|
278
|
+
12,
|
|
279
|
+
f
|
|
280
|
+
);
|
|
281
|
+
}
|
|
258
282
|
};
|
|
259
283
|
|
|
260
284
|
|
|
@@ -438,6 +462,42 @@ proto.wechaty.puppet.ChannelPayload.prototype.setObjectNonceId = function(value)
|
|
|
438
462
|
};
|
|
439
463
|
|
|
440
464
|
|
|
465
|
+
/**
|
|
466
|
+
* optional string auth_icon_url = 11;
|
|
467
|
+
* @return {string}
|
|
468
|
+
*/
|
|
469
|
+
proto.wechaty.puppet.ChannelPayload.prototype.getAuthIconUrl = function() {
|
|
470
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
471
|
+
};
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
* @param {string} value
|
|
476
|
+
* @return {!proto.wechaty.puppet.ChannelPayload} returns this
|
|
477
|
+
*/
|
|
478
|
+
proto.wechaty.puppet.ChannelPayload.prototype.setAuthIconUrl = function(value) {
|
|
479
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
480
|
+
};
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* optional string auth_job = 12;
|
|
485
|
+
* @return {string}
|
|
486
|
+
*/
|
|
487
|
+
proto.wechaty.puppet.ChannelPayload.prototype.getAuthJob = function() {
|
|
488
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
489
|
+
};
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
/**
|
|
493
|
+
* @param {string} value
|
|
494
|
+
* @return {!proto.wechaty.puppet.ChannelPayload} returns this
|
|
495
|
+
*/
|
|
496
|
+
proto.wechaty.puppet.ChannelPayload.prototype.setAuthJob = function(value) {
|
|
497
|
+
return jspb.Message.setProto3StringField(this, 12, value);
|
|
498
|
+
};
|
|
499
|
+
|
|
500
|
+
|
|
441
501
|
/**
|
|
442
502
|
* @enum {number}
|
|
443
503
|
*/
|
|
@@ -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.
|
|
12
|
+
version: 1.0.94
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
15
|
url: https://github.com/wechaty/openapi
|
|
@@ -3027,6 +3027,13 @@ definitions:
|
|
|
3027
3027
|
title: 视频号直播专属
|
|
3028
3028
|
objectNonceId:
|
|
3029
3029
|
type: string
|
|
3030
|
+
authIconUrl:
|
|
3031
|
+
type: string
|
|
3032
|
+
description: 认证图标URL
|
|
3033
|
+
title: 视频号名片 SphProfileNew 消息类型专属字段
|
|
3034
|
+
authJob:
|
|
3035
|
+
type: string
|
|
3036
|
+
title: 认证职业
|
|
3030
3037
|
puppetChatHistoryContent:
|
|
3031
3038
|
type: object
|
|
3032
3039
|
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.
|
|
6
|
+
"version": "1.0.94",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Wechaty",
|
|
9
9
|
"url": "https://github.com/wechaty/openapi",
|
|
@@ -4494,6 +4494,15 @@
|
|
|
4494
4494
|
},
|
|
4495
4495
|
"objectNonceId": {
|
|
4496
4496
|
"type": "string"
|
|
4497
|
+
},
|
|
4498
|
+
"authIconUrl": {
|
|
4499
|
+
"type": "string",
|
|
4500
|
+
"description": "认证图标URL",
|
|
4501
|
+
"title": "视频号名片 SphProfileNew 消息类型专属字段"
|
|
4502
|
+
},
|
|
4503
|
+
"authJob": {
|
|
4504
|
+
"type": "string",
|
|
4505
|
+
"title": "认证职业"
|
|
4497
4506
|
}
|
|
4498
4507
|
}
|
|
4499
4508
|
},
|
package/package.json
CHANGED
package/src/package-json.ts
CHANGED