@juzi/wechaty-grpc 1.0.56 → 1.0.57
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/commonjs/generated/puppet.cjs +1 -0
- package/dist/cjs/commonjs/generated/puppet.cjs.d.ts +1 -0
- package/dist/cjs/out/wechaty/puppet/room_pb.d.ts +9 -9
- package/dist/cjs/out/wechaty/puppet/room_pb.js +15 -15
- package/dist/cjs/out/wechaty/puppet/util_pb.d.ts +2 -2
- package/dist/cjs/out/wechaty/puppet/util_pb.js +2 -2
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +8 -8
- package/dist/cjs/out/wechaty/puppet.swagger.json +10 -10
- package/dist/cjs/proto/wechaty/puppet/room.proto +3 -3
- package/dist/cjs/proto/wechaty/puppet/util.proto +1 -1
- package/dist/cjs/src/package-json.js +1 -1
- package/dist/esm/commonjs/generated/puppet.cjs +1 -0
- package/dist/esm/commonjs/generated/puppet.cjs.d.ts +1 -0
- package/dist/esm/out/wechaty/puppet/room_pb.d.ts +9 -9
- package/dist/esm/out/wechaty/puppet/room_pb.js +15 -15
- package/dist/esm/out/wechaty/puppet/util_pb.d.ts +2 -2
- package/dist/esm/out/wechaty/puppet/util_pb.js +2 -2
- package/dist/esm/out/wechaty/puppet.openapi.yaml +8 -8
- package/dist/esm/out/wechaty/puppet.swagger.json +10 -10
- package/dist/esm/proto/wechaty/puppet/room.proto +3 -3
- package/dist/esm/proto/wechaty/puppet/util.proto +1 -1
- package/dist/esm/src/package-json.js +1 -1
- package/out/wechaty/puppet/room_pb.d.ts +9 -9
- package/out/wechaty/puppet/room_pb.js +15 -15
- package/out/wechaty/puppet/util_pb.d.ts +2 -2
- package/out/wechaty/puppet/util_pb.js +2 -2
- package/out/wechaty/puppet.openapi.yaml +8 -8
- package/out/wechaty/puppet.swagger.json +10 -10
- package/package.json +1 -1
- package/src/package-json.ts +1 -1
|
@@ -17,6 +17,7 @@ const puppetFileList = [
|
|
|
17
17
|
'../../out/wechaty/puppet/moment_pb.js',
|
|
18
18
|
'../../out/wechaty/puppet/post_pb.js',
|
|
19
19
|
'../../out/wechaty/puppet/conversation_pb.js',
|
|
20
|
+
'../../out/wechaty/puppet/util_pb.js',
|
|
20
21
|
|
|
21
22
|
'../../out/wechaty/puppet_grpc_pb.js',
|
|
22
23
|
'../../out/wechaty/puppet_pb.js',
|
|
@@ -39,6 +39,7 @@ export * from '../../out/wechaty/puppet/channel_pb.js'
|
|
|
39
39
|
export * from '../../out/wechaty/puppet/moment_pb.js'
|
|
40
40
|
export * from '../../out/wechaty/puppet/post_pb.js'
|
|
41
41
|
export * from '../../out/wechaty/puppet/conversation_pb.js'
|
|
42
|
+
export * from '../../out/wechaty/puppet/util_pb.js'
|
|
42
43
|
|
|
43
44
|
export * from '../../out/wechaty/puppet_grpc_pb.js'
|
|
44
45
|
export * from '../../out/wechaty/puppet_pb.js'
|
|
@@ -571,14 +571,14 @@ export class RoomPermissionRequest extends jspb.Message {
|
|
|
571
571
|
getId(): string;
|
|
572
572
|
setId(value: string): void;
|
|
573
573
|
|
|
574
|
-
getSendMessage(): wechaty_puppet_util_pb.
|
|
575
|
-
setSendMessage(value: wechaty_puppet_util_pb.
|
|
574
|
+
getSendMessage(): wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap];
|
|
575
|
+
setSendMessage(value: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap]): void;
|
|
576
576
|
|
|
577
|
-
getInvitationCheck(): wechaty_puppet_util_pb.
|
|
578
|
-
setInvitationCheck(value: wechaty_puppet_util_pb.
|
|
577
|
+
getInvitationCheck(): wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap];
|
|
578
|
+
setInvitationCheck(value: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap]): void;
|
|
579
579
|
|
|
580
|
-
getRoomTopicEdit(): wechaty_puppet_util_pb.
|
|
581
|
-
setRoomTopicEdit(value: wechaty_puppet_util_pb.
|
|
580
|
+
getRoomTopicEdit(): wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap];
|
|
581
|
+
setRoomTopicEdit(value: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap]): void;
|
|
582
582
|
|
|
583
583
|
serializeBinary(): Uint8Array;
|
|
584
584
|
toObject(includeInstance?: boolean): RoomPermissionRequest.AsObject;
|
|
@@ -593,9 +593,9 @@ export class RoomPermissionRequest extends jspb.Message {
|
|
|
593
593
|
export namespace RoomPermissionRequest {
|
|
594
594
|
export type AsObject = {
|
|
595
595
|
id: string,
|
|
596
|
-
sendMessage: wechaty_puppet_util_pb.
|
|
597
|
-
invitationCheck: wechaty_puppet_util_pb.
|
|
598
|
-
roomTopicEdit: wechaty_puppet_util_pb.
|
|
596
|
+
sendMessage: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
|
|
597
|
+
invitationCheck: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
|
|
598
|
+
roomTopicEdit: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
|
|
599
599
|
}
|
|
600
600
|
}
|
|
601
601
|
|
|
@@ -4487,15 +4487,15 @@ proto.wechaty.puppet.RoomPermissionRequest.deserializeBinaryFromReader = functio
|
|
|
4487
4487
|
msg.setId(value);
|
|
4488
4488
|
break;
|
|
4489
4489
|
case 2:
|
|
4490
|
-
var value = /** @type {!proto.wechaty.puppet.
|
|
4490
|
+
var value = /** @type {!proto.wechaty.puppet.OptionalBoolean} */ (reader.readEnum());
|
|
4491
4491
|
msg.setSendMessage(value);
|
|
4492
4492
|
break;
|
|
4493
4493
|
case 3:
|
|
4494
|
-
var value = /** @type {!proto.wechaty.puppet.
|
|
4494
|
+
var value = /** @type {!proto.wechaty.puppet.OptionalBoolean} */ (reader.readEnum());
|
|
4495
4495
|
msg.setInvitationCheck(value);
|
|
4496
4496
|
break;
|
|
4497
4497
|
case 4:
|
|
4498
|
-
var value = /** @type {!proto.wechaty.puppet.
|
|
4498
|
+
var value = /** @type {!proto.wechaty.puppet.OptionalBoolean} */ (reader.readEnum());
|
|
4499
4499
|
msg.setRoomTopicEdit(value);
|
|
4500
4500
|
break;
|
|
4501
4501
|
default:
|
|
@@ -4577,16 +4577,16 @@ proto.wechaty.puppet.RoomPermissionRequest.prototype.setId = function(value) {
|
|
|
4577
4577
|
|
|
4578
4578
|
|
|
4579
4579
|
/**
|
|
4580
|
-
* optional
|
|
4581
|
-
* @return {!proto.wechaty.puppet.
|
|
4580
|
+
* optional OptionalBoolean send_message = 2;
|
|
4581
|
+
* @return {!proto.wechaty.puppet.OptionalBoolean}
|
|
4582
4582
|
*/
|
|
4583
4583
|
proto.wechaty.puppet.RoomPermissionRequest.prototype.getSendMessage = function() {
|
|
4584
|
-
return /** @type {!proto.wechaty.puppet.
|
|
4584
|
+
return /** @type {!proto.wechaty.puppet.OptionalBoolean} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
4585
4585
|
};
|
|
4586
4586
|
|
|
4587
4587
|
|
|
4588
4588
|
/**
|
|
4589
|
-
* @param {!proto.wechaty.puppet.
|
|
4589
|
+
* @param {!proto.wechaty.puppet.OptionalBoolean} value
|
|
4590
4590
|
* @return {!proto.wechaty.puppet.RoomPermissionRequest} returns this
|
|
4591
4591
|
*/
|
|
4592
4592
|
proto.wechaty.puppet.RoomPermissionRequest.prototype.setSendMessage = function(value) {
|
|
@@ -4595,16 +4595,16 @@ proto.wechaty.puppet.RoomPermissionRequest.prototype.setSendMessage = function(v
|
|
|
4595
4595
|
|
|
4596
4596
|
|
|
4597
4597
|
/**
|
|
4598
|
-
* optional
|
|
4599
|
-
* @return {!proto.wechaty.puppet.
|
|
4598
|
+
* optional OptionalBoolean invitation_check = 3;
|
|
4599
|
+
* @return {!proto.wechaty.puppet.OptionalBoolean}
|
|
4600
4600
|
*/
|
|
4601
4601
|
proto.wechaty.puppet.RoomPermissionRequest.prototype.getInvitationCheck = function() {
|
|
4602
|
-
return /** @type {!proto.wechaty.puppet.
|
|
4602
|
+
return /** @type {!proto.wechaty.puppet.OptionalBoolean} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
4603
4603
|
};
|
|
4604
4604
|
|
|
4605
4605
|
|
|
4606
4606
|
/**
|
|
4607
|
-
* @param {!proto.wechaty.puppet.
|
|
4607
|
+
* @param {!proto.wechaty.puppet.OptionalBoolean} value
|
|
4608
4608
|
* @return {!proto.wechaty.puppet.RoomPermissionRequest} returns this
|
|
4609
4609
|
*/
|
|
4610
4610
|
proto.wechaty.puppet.RoomPermissionRequest.prototype.setInvitationCheck = function(value) {
|
|
@@ -4613,16 +4613,16 @@ proto.wechaty.puppet.RoomPermissionRequest.prototype.setInvitationCheck = functi
|
|
|
4613
4613
|
|
|
4614
4614
|
|
|
4615
4615
|
/**
|
|
4616
|
-
* optional
|
|
4617
|
-
* @return {!proto.wechaty.puppet.
|
|
4616
|
+
* optional OptionalBoolean room_topic_edit = 4;
|
|
4617
|
+
* @return {!proto.wechaty.puppet.OptionalBoolean}
|
|
4618
4618
|
*/
|
|
4619
4619
|
proto.wechaty.puppet.RoomPermissionRequest.prototype.getRoomTopicEdit = function() {
|
|
4620
|
-
return /** @type {!proto.wechaty.puppet.
|
|
4620
|
+
return /** @type {!proto.wechaty.puppet.OptionalBoolean} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
4621
4621
|
};
|
|
4622
4622
|
|
|
4623
4623
|
|
|
4624
4624
|
/**
|
|
4625
|
-
* @param {!proto.wechaty.puppet.
|
|
4625
|
+
* @param {!proto.wechaty.puppet.OptionalBoolean} value
|
|
4626
4626
|
* @return {!proto.wechaty.puppet.RoomPermissionRequest} returns this
|
|
4627
4627
|
*/
|
|
4628
4628
|
proto.wechaty.puppet.RoomPermissionRequest.prototype.setRoomTopicEdit = function(value) {
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
|
|
4
4
|
import * as jspb from "google-protobuf";
|
|
5
5
|
|
|
6
|
-
export interface
|
|
6
|
+
export interface OptionalBooleanMap {
|
|
7
7
|
BOOL_UNSET: 0;
|
|
8
8
|
BOOL_FALSE: 1;
|
|
9
9
|
BOOL_TRUE: 2;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
export const
|
|
12
|
+
export const OptionalBoolean: OptionalBooleanMap;
|
|
13
13
|
|
|
@@ -15,11 +15,11 @@ var jspb = require('google-protobuf');
|
|
|
15
15
|
var goog = jspb;
|
|
16
16
|
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
|
|
17
17
|
|
|
18
|
-
goog.exportSymbol('proto.wechaty.puppet.
|
|
18
|
+
goog.exportSymbol('proto.wechaty.puppet.OptionalBoolean', null, global);
|
|
19
19
|
/**
|
|
20
20
|
* @enum {number}
|
|
21
21
|
*/
|
|
22
|
-
proto.wechaty.puppet.
|
|
22
|
+
proto.wechaty.puppet.OptionalBoolean = {
|
|
23
23
|
BOOL_UNSET: 0,
|
|
24
24
|
BOOL_FALSE: 1,
|
|
25
25
|
BOOL_TRUE: 2
|
|
@@ -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.57
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
15
|
url: 'https://github.com/wechaty/openapi'
|
|
@@ -2307,13 +2307,6 @@ definitions:
|
|
|
2307
2307
|
'@type':
|
|
2308
2308
|
type: string
|
|
2309
2309
|
additionalProperties: {}
|
|
2310
|
-
puppetBool_Optional:
|
|
2311
|
-
type: string
|
|
2312
|
-
enum:
|
|
2313
|
-
- BOOL_UNSET
|
|
2314
|
-
- BOOL_FALSE
|
|
2315
|
-
- BOOL_TRUE
|
|
2316
|
-
default: BOOL_UNSET
|
|
2317
2310
|
puppetBroadcastStatus:
|
|
2318
2311
|
type: string
|
|
2319
2312
|
enum:
|
|
@@ -3112,6 +3105,13 @@ definitions:
|
|
|
3112
3105
|
type: array
|
|
3113
3106
|
items:
|
|
3114
3107
|
type: string
|
|
3108
|
+
puppetOptionalBoolean:
|
|
3109
|
+
type: string
|
|
3110
|
+
enum:
|
|
3111
|
+
- BOOL_UNSET
|
|
3112
|
+
- BOOL_FALSE
|
|
3113
|
+
- BOOL_TRUE
|
|
3114
|
+
default: BOOL_UNSET
|
|
3115
3115
|
puppetPayloadType:
|
|
3116
3116
|
type: string
|
|
3117
3117
|
enum:
|
|
@@ -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.57",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Wechaty",
|
|
9
9
|
"url": "https://github.com/wechaty/openapi",
|
|
@@ -3444,15 +3444,6 @@
|
|
|
3444
3444
|
},
|
|
3445
3445
|
"additionalProperties": {}
|
|
3446
3446
|
},
|
|
3447
|
-
"puppetBool_Optional": {
|
|
3448
|
-
"type": "string",
|
|
3449
|
-
"enum": [
|
|
3450
|
-
"BOOL_UNSET",
|
|
3451
|
-
"BOOL_FALSE",
|
|
3452
|
-
"BOOL_TRUE"
|
|
3453
|
-
],
|
|
3454
|
-
"default": "BOOL_UNSET"
|
|
3455
|
-
},
|
|
3456
3447
|
"puppetBroadcastStatus": {
|
|
3457
3448
|
"type": "string",
|
|
3458
3449
|
"enum": [
|
|
@@ -4408,6 +4399,15 @@
|
|
|
4408
4399
|
}
|
|
4409
4400
|
}
|
|
4410
4401
|
},
|
|
4402
|
+
"puppetOptionalBoolean": {
|
|
4403
|
+
"type": "string",
|
|
4404
|
+
"enum": [
|
|
4405
|
+
"BOOL_UNSET",
|
|
4406
|
+
"BOOL_FALSE",
|
|
4407
|
+
"BOOL_TRUE"
|
|
4408
|
+
],
|
|
4409
|
+
"default": "BOOL_UNSET"
|
|
4410
|
+
},
|
|
4411
4411
|
"puppetPayloadType": {
|
|
4412
4412
|
"type": "string",
|
|
4413
4413
|
"enum": [
|
|
@@ -106,9 +106,9 @@ message RoomOwnerTransferResponse {}
|
|
|
106
106
|
|
|
107
107
|
message RoomPermissionRequest {
|
|
108
108
|
string id = 1;
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
109
|
+
OptionalBoolean send_message = 2;
|
|
110
|
+
OptionalBoolean invitation_check = 3;
|
|
111
|
+
OptionalBoolean room_topic_edit = 4;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
message RoomPermissionResponse {
|
|
@@ -5,7 +5,7 @@ option go_package = "github.com/wechaty/go-grpc/wechaty/puppet";
|
|
|
5
5
|
option java_package = "io.github.wechaty.grpc.puppet";
|
|
6
6
|
option csharp_namespace = "github.wechaty.grpc.puppet";
|
|
7
7
|
|
|
8
|
-
enum
|
|
8
|
+
enum OptionalBoolean {
|
|
9
9
|
BOOL_UNSET = 0;
|
|
10
10
|
BOOL_FALSE = 1;
|
|
11
11
|
BOOL_TRUE = 2;
|
|
@@ -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.57",
|
|
7
7
|
"description": "gRPC for Wechaty",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"exports": {
|
|
@@ -17,6 +17,7 @@ const puppetFileList = [
|
|
|
17
17
|
'../../out/wechaty/puppet/moment_pb.js',
|
|
18
18
|
'../../out/wechaty/puppet/post_pb.js',
|
|
19
19
|
'../../out/wechaty/puppet/conversation_pb.js',
|
|
20
|
+
'../../out/wechaty/puppet/util_pb.js',
|
|
20
21
|
|
|
21
22
|
'../../out/wechaty/puppet_grpc_pb.js',
|
|
22
23
|
'../../out/wechaty/puppet_pb.js',
|
|
@@ -39,6 +39,7 @@ export * from '../../out/wechaty/puppet/channel_pb.js'
|
|
|
39
39
|
export * from '../../out/wechaty/puppet/moment_pb.js'
|
|
40
40
|
export * from '../../out/wechaty/puppet/post_pb.js'
|
|
41
41
|
export * from '../../out/wechaty/puppet/conversation_pb.js'
|
|
42
|
+
export * from '../../out/wechaty/puppet/util_pb.js'
|
|
42
43
|
|
|
43
44
|
export * from '../../out/wechaty/puppet_grpc_pb.js'
|
|
44
45
|
export * from '../../out/wechaty/puppet_pb.js'
|
|
@@ -571,14 +571,14 @@ export class RoomPermissionRequest extends jspb.Message {
|
|
|
571
571
|
getId(): string;
|
|
572
572
|
setId(value: string): void;
|
|
573
573
|
|
|
574
|
-
getSendMessage(): wechaty_puppet_util_pb.
|
|
575
|
-
setSendMessage(value: wechaty_puppet_util_pb.
|
|
574
|
+
getSendMessage(): wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap];
|
|
575
|
+
setSendMessage(value: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap]): void;
|
|
576
576
|
|
|
577
|
-
getInvitationCheck(): wechaty_puppet_util_pb.
|
|
578
|
-
setInvitationCheck(value: wechaty_puppet_util_pb.
|
|
577
|
+
getInvitationCheck(): wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap];
|
|
578
|
+
setInvitationCheck(value: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap]): void;
|
|
579
579
|
|
|
580
|
-
getRoomTopicEdit(): wechaty_puppet_util_pb.
|
|
581
|
-
setRoomTopicEdit(value: wechaty_puppet_util_pb.
|
|
580
|
+
getRoomTopicEdit(): wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap];
|
|
581
|
+
setRoomTopicEdit(value: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap]): void;
|
|
582
582
|
|
|
583
583
|
serializeBinary(): Uint8Array;
|
|
584
584
|
toObject(includeInstance?: boolean): RoomPermissionRequest.AsObject;
|
|
@@ -593,9 +593,9 @@ export class RoomPermissionRequest extends jspb.Message {
|
|
|
593
593
|
export namespace RoomPermissionRequest {
|
|
594
594
|
export type AsObject = {
|
|
595
595
|
id: string,
|
|
596
|
-
sendMessage: wechaty_puppet_util_pb.
|
|
597
|
-
invitationCheck: wechaty_puppet_util_pb.
|
|
598
|
-
roomTopicEdit: wechaty_puppet_util_pb.
|
|
596
|
+
sendMessage: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
|
|
597
|
+
invitationCheck: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
|
|
598
|
+
roomTopicEdit: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
|
|
599
599
|
}
|
|
600
600
|
}
|
|
601
601
|
|
|
@@ -4487,15 +4487,15 @@ proto.wechaty.puppet.RoomPermissionRequest.deserializeBinaryFromReader = functio
|
|
|
4487
4487
|
msg.setId(value);
|
|
4488
4488
|
break;
|
|
4489
4489
|
case 2:
|
|
4490
|
-
var value = /** @type {!proto.wechaty.puppet.
|
|
4490
|
+
var value = /** @type {!proto.wechaty.puppet.OptionalBoolean} */ (reader.readEnum());
|
|
4491
4491
|
msg.setSendMessage(value);
|
|
4492
4492
|
break;
|
|
4493
4493
|
case 3:
|
|
4494
|
-
var value = /** @type {!proto.wechaty.puppet.
|
|
4494
|
+
var value = /** @type {!proto.wechaty.puppet.OptionalBoolean} */ (reader.readEnum());
|
|
4495
4495
|
msg.setInvitationCheck(value);
|
|
4496
4496
|
break;
|
|
4497
4497
|
case 4:
|
|
4498
|
-
var value = /** @type {!proto.wechaty.puppet.
|
|
4498
|
+
var value = /** @type {!proto.wechaty.puppet.OptionalBoolean} */ (reader.readEnum());
|
|
4499
4499
|
msg.setRoomTopicEdit(value);
|
|
4500
4500
|
break;
|
|
4501
4501
|
default:
|
|
@@ -4577,16 +4577,16 @@ proto.wechaty.puppet.RoomPermissionRequest.prototype.setId = function(value) {
|
|
|
4577
4577
|
|
|
4578
4578
|
|
|
4579
4579
|
/**
|
|
4580
|
-
* optional
|
|
4581
|
-
* @return {!proto.wechaty.puppet.
|
|
4580
|
+
* optional OptionalBoolean send_message = 2;
|
|
4581
|
+
* @return {!proto.wechaty.puppet.OptionalBoolean}
|
|
4582
4582
|
*/
|
|
4583
4583
|
proto.wechaty.puppet.RoomPermissionRequest.prototype.getSendMessage = function() {
|
|
4584
|
-
return /** @type {!proto.wechaty.puppet.
|
|
4584
|
+
return /** @type {!proto.wechaty.puppet.OptionalBoolean} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
4585
4585
|
};
|
|
4586
4586
|
|
|
4587
4587
|
|
|
4588
4588
|
/**
|
|
4589
|
-
* @param {!proto.wechaty.puppet.
|
|
4589
|
+
* @param {!proto.wechaty.puppet.OptionalBoolean} value
|
|
4590
4590
|
* @return {!proto.wechaty.puppet.RoomPermissionRequest} returns this
|
|
4591
4591
|
*/
|
|
4592
4592
|
proto.wechaty.puppet.RoomPermissionRequest.prototype.setSendMessage = function(value) {
|
|
@@ -4595,16 +4595,16 @@ proto.wechaty.puppet.RoomPermissionRequest.prototype.setSendMessage = function(v
|
|
|
4595
4595
|
|
|
4596
4596
|
|
|
4597
4597
|
/**
|
|
4598
|
-
* optional
|
|
4599
|
-
* @return {!proto.wechaty.puppet.
|
|
4598
|
+
* optional OptionalBoolean invitation_check = 3;
|
|
4599
|
+
* @return {!proto.wechaty.puppet.OptionalBoolean}
|
|
4600
4600
|
*/
|
|
4601
4601
|
proto.wechaty.puppet.RoomPermissionRequest.prototype.getInvitationCheck = function() {
|
|
4602
|
-
return /** @type {!proto.wechaty.puppet.
|
|
4602
|
+
return /** @type {!proto.wechaty.puppet.OptionalBoolean} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
4603
4603
|
};
|
|
4604
4604
|
|
|
4605
4605
|
|
|
4606
4606
|
/**
|
|
4607
|
-
* @param {!proto.wechaty.puppet.
|
|
4607
|
+
* @param {!proto.wechaty.puppet.OptionalBoolean} value
|
|
4608
4608
|
* @return {!proto.wechaty.puppet.RoomPermissionRequest} returns this
|
|
4609
4609
|
*/
|
|
4610
4610
|
proto.wechaty.puppet.RoomPermissionRequest.prototype.setInvitationCheck = function(value) {
|
|
@@ -4613,16 +4613,16 @@ proto.wechaty.puppet.RoomPermissionRequest.prototype.setInvitationCheck = functi
|
|
|
4613
4613
|
|
|
4614
4614
|
|
|
4615
4615
|
/**
|
|
4616
|
-
* optional
|
|
4617
|
-
* @return {!proto.wechaty.puppet.
|
|
4616
|
+
* optional OptionalBoolean room_topic_edit = 4;
|
|
4617
|
+
* @return {!proto.wechaty.puppet.OptionalBoolean}
|
|
4618
4618
|
*/
|
|
4619
4619
|
proto.wechaty.puppet.RoomPermissionRequest.prototype.getRoomTopicEdit = function() {
|
|
4620
|
-
return /** @type {!proto.wechaty.puppet.
|
|
4620
|
+
return /** @type {!proto.wechaty.puppet.OptionalBoolean} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
4621
4621
|
};
|
|
4622
4622
|
|
|
4623
4623
|
|
|
4624
4624
|
/**
|
|
4625
|
-
* @param {!proto.wechaty.puppet.
|
|
4625
|
+
* @param {!proto.wechaty.puppet.OptionalBoolean} value
|
|
4626
4626
|
* @return {!proto.wechaty.puppet.RoomPermissionRequest} returns this
|
|
4627
4627
|
*/
|
|
4628
4628
|
proto.wechaty.puppet.RoomPermissionRequest.prototype.setRoomTopicEdit = function(value) {
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
|
|
4
4
|
import * as jspb from "google-protobuf";
|
|
5
5
|
|
|
6
|
-
export interface
|
|
6
|
+
export interface OptionalBooleanMap {
|
|
7
7
|
BOOL_UNSET: 0;
|
|
8
8
|
BOOL_FALSE: 1;
|
|
9
9
|
BOOL_TRUE: 2;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
export const
|
|
12
|
+
export const OptionalBoolean: OptionalBooleanMap;
|
|
13
13
|
|
|
@@ -15,11 +15,11 @@ var jspb = require('google-protobuf');
|
|
|
15
15
|
var goog = jspb;
|
|
16
16
|
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
|
|
17
17
|
|
|
18
|
-
goog.exportSymbol('proto.wechaty.puppet.
|
|
18
|
+
goog.exportSymbol('proto.wechaty.puppet.OptionalBoolean', null, global);
|
|
19
19
|
/**
|
|
20
20
|
* @enum {number}
|
|
21
21
|
*/
|
|
22
|
-
proto.wechaty.puppet.
|
|
22
|
+
proto.wechaty.puppet.OptionalBoolean = {
|
|
23
23
|
BOOL_UNSET: 0,
|
|
24
24
|
BOOL_FALSE: 1,
|
|
25
25
|
BOOL_TRUE: 2
|
|
@@ -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.57
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
15
|
url: 'https://github.com/wechaty/openapi'
|
|
@@ -2307,13 +2307,6 @@ definitions:
|
|
|
2307
2307
|
'@type':
|
|
2308
2308
|
type: string
|
|
2309
2309
|
additionalProperties: {}
|
|
2310
|
-
puppetBool_Optional:
|
|
2311
|
-
type: string
|
|
2312
|
-
enum:
|
|
2313
|
-
- BOOL_UNSET
|
|
2314
|
-
- BOOL_FALSE
|
|
2315
|
-
- BOOL_TRUE
|
|
2316
|
-
default: BOOL_UNSET
|
|
2317
2310
|
puppetBroadcastStatus:
|
|
2318
2311
|
type: string
|
|
2319
2312
|
enum:
|
|
@@ -3112,6 +3105,13 @@ definitions:
|
|
|
3112
3105
|
type: array
|
|
3113
3106
|
items:
|
|
3114
3107
|
type: string
|
|
3108
|
+
puppetOptionalBoolean:
|
|
3109
|
+
type: string
|
|
3110
|
+
enum:
|
|
3111
|
+
- BOOL_UNSET
|
|
3112
|
+
- BOOL_FALSE
|
|
3113
|
+
- BOOL_TRUE
|
|
3114
|
+
default: BOOL_UNSET
|
|
3115
3115
|
puppetPayloadType:
|
|
3116
3116
|
type: string
|
|
3117
3117
|
enum:
|
|
@@ -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.57",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Wechaty",
|
|
9
9
|
"url": "https://github.com/wechaty/openapi",
|
|
@@ -3444,15 +3444,6 @@
|
|
|
3444
3444
|
},
|
|
3445
3445
|
"additionalProperties": {}
|
|
3446
3446
|
},
|
|
3447
|
-
"puppetBool_Optional": {
|
|
3448
|
-
"type": "string",
|
|
3449
|
-
"enum": [
|
|
3450
|
-
"BOOL_UNSET",
|
|
3451
|
-
"BOOL_FALSE",
|
|
3452
|
-
"BOOL_TRUE"
|
|
3453
|
-
],
|
|
3454
|
-
"default": "BOOL_UNSET"
|
|
3455
|
-
},
|
|
3456
3447
|
"puppetBroadcastStatus": {
|
|
3457
3448
|
"type": "string",
|
|
3458
3449
|
"enum": [
|
|
@@ -4408,6 +4399,15 @@
|
|
|
4408
4399
|
}
|
|
4409
4400
|
}
|
|
4410
4401
|
},
|
|
4402
|
+
"puppetOptionalBoolean": {
|
|
4403
|
+
"type": "string",
|
|
4404
|
+
"enum": [
|
|
4405
|
+
"BOOL_UNSET",
|
|
4406
|
+
"BOOL_FALSE",
|
|
4407
|
+
"BOOL_TRUE"
|
|
4408
|
+
],
|
|
4409
|
+
"default": "BOOL_UNSET"
|
|
4410
|
+
},
|
|
4411
4411
|
"puppetPayloadType": {
|
|
4412
4412
|
"type": "string",
|
|
4413
4413
|
"enum": [
|
|
@@ -106,9 +106,9 @@ message RoomOwnerTransferResponse {}
|
|
|
106
106
|
|
|
107
107
|
message RoomPermissionRequest {
|
|
108
108
|
string id = 1;
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
109
|
+
OptionalBoolean send_message = 2;
|
|
110
|
+
OptionalBoolean invitation_check = 3;
|
|
111
|
+
OptionalBoolean room_topic_edit = 4;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
message RoomPermissionResponse {
|
|
@@ -5,7 +5,7 @@ option go_package = "github.com/wechaty/go-grpc/wechaty/puppet";
|
|
|
5
5
|
option java_package = "io.github.wechaty.grpc.puppet";
|
|
6
6
|
option csharp_namespace = "github.wechaty.grpc.puppet";
|
|
7
7
|
|
|
8
|
-
enum
|
|
8
|
+
enum OptionalBoolean {
|
|
9
9
|
BOOL_UNSET = 0;
|
|
10
10
|
BOOL_FALSE = 1;
|
|
11
11
|
BOOL_TRUE = 2;
|
|
@@ -571,14 +571,14 @@ export class RoomPermissionRequest extends jspb.Message {
|
|
|
571
571
|
getId(): string;
|
|
572
572
|
setId(value: string): void;
|
|
573
573
|
|
|
574
|
-
getSendMessage(): wechaty_puppet_util_pb.
|
|
575
|
-
setSendMessage(value: wechaty_puppet_util_pb.
|
|
574
|
+
getSendMessage(): wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap];
|
|
575
|
+
setSendMessage(value: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap]): void;
|
|
576
576
|
|
|
577
|
-
getInvitationCheck(): wechaty_puppet_util_pb.
|
|
578
|
-
setInvitationCheck(value: wechaty_puppet_util_pb.
|
|
577
|
+
getInvitationCheck(): wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap];
|
|
578
|
+
setInvitationCheck(value: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap]): void;
|
|
579
579
|
|
|
580
|
-
getRoomTopicEdit(): wechaty_puppet_util_pb.
|
|
581
|
-
setRoomTopicEdit(value: wechaty_puppet_util_pb.
|
|
580
|
+
getRoomTopicEdit(): wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap];
|
|
581
|
+
setRoomTopicEdit(value: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap]): void;
|
|
582
582
|
|
|
583
583
|
serializeBinary(): Uint8Array;
|
|
584
584
|
toObject(includeInstance?: boolean): RoomPermissionRequest.AsObject;
|
|
@@ -593,9 +593,9 @@ export class RoomPermissionRequest extends jspb.Message {
|
|
|
593
593
|
export namespace RoomPermissionRequest {
|
|
594
594
|
export type AsObject = {
|
|
595
595
|
id: string,
|
|
596
|
-
sendMessage: wechaty_puppet_util_pb.
|
|
597
|
-
invitationCheck: wechaty_puppet_util_pb.
|
|
598
|
-
roomTopicEdit: wechaty_puppet_util_pb.
|
|
596
|
+
sendMessage: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
|
|
597
|
+
invitationCheck: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
|
|
598
|
+
roomTopicEdit: wechaty_puppet_util_pb.OptionalBooleanMap[keyof wechaty_puppet_util_pb.OptionalBooleanMap],
|
|
599
599
|
}
|
|
600
600
|
}
|
|
601
601
|
|
|
@@ -4487,15 +4487,15 @@ proto.wechaty.puppet.RoomPermissionRequest.deserializeBinaryFromReader = functio
|
|
|
4487
4487
|
msg.setId(value);
|
|
4488
4488
|
break;
|
|
4489
4489
|
case 2:
|
|
4490
|
-
var value = /** @type {!proto.wechaty.puppet.
|
|
4490
|
+
var value = /** @type {!proto.wechaty.puppet.OptionalBoolean} */ (reader.readEnum());
|
|
4491
4491
|
msg.setSendMessage(value);
|
|
4492
4492
|
break;
|
|
4493
4493
|
case 3:
|
|
4494
|
-
var value = /** @type {!proto.wechaty.puppet.
|
|
4494
|
+
var value = /** @type {!proto.wechaty.puppet.OptionalBoolean} */ (reader.readEnum());
|
|
4495
4495
|
msg.setInvitationCheck(value);
|
|
4496
4496
|
break;
|
|
4497
4497
|
case 4:
|
|
4498
|
-
var value = /** @type {!proto.wechaty.puppet.
|
|
4498
|
+
var value = /** @type {!proto.wechaty.puppet.OptionalBoolean} */ (reader.readEnum());
|
|
4499
4499
|
msg.setRoomTopicEdit(value);
|
|
4500
4500
|
break;
|
|
4501
4501
|
default:
|
|
@@ -4577,16 +4577,16 @@ proto.wechaty.puppet.RoomPermissionRequest.prototype.setId = function(value) {
|
|
|
4577
4577
|
|
|
4578
4578
|
|
|
4579
4579
|
/**
|
|
4580
|
-
* optional
|
|
4581
|
-
* @return {!proto.wechaty.puppet.
|
|
4580
|
+
* optional OptionalBoolean send_message = 2;
|
|
4581
|
+
* @return {!proto.wechaty.puppet.OptionalBoolean}
|
|
4582
4582
|
*/
|
|
4583
4583
|
proto.wechaty.puppet.RoomPermissionRequest.prototype.getSendMessage = function() {
|
|
4584
|
-
return /** @type {!proto.wechaty.puppet.
|
|
4584
|
+
return /** @type {!proto.wechaty.puppet.OptionalBoolean} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
4585
4585
|
};
|
|
4586
4586
|
|
|
4587
4587
|
|
|
4588
4588
|
/**
|
|
4589
|
-
* @param {!proto.wechaty.puppet.
|
|
4589
|
+
* @param {!proto.wechaty.puppet.OptionalBoolean} value
|
|
4590
4590
|
* @return {!proto.wechaty.puppet.RoomPermissionRequest} returns this
|
|
4591
4591
|
*/
|
|
4592
4592
|
proto.wechaty.puppet.RoomPermissionRequest.prototype.setSendMessage = function(value) {
|
|
@@ -4595,16 +4595,16 @@ proto.wechaty.puppet.RoomPermissionRequest.prototype.setSendMessage = function(v
|
|
|
4595
4595
|
|
|
4596
4596
|
|
|
4597
4597
|
/**
|
|
4598
|
-
* optional
|
|
4599
|
-
* @return {!proto.wechaty.puppet.
|
|
4598
|
+
* optional OptionalBoolean invitation_check = 3;
|
|
4599
|
+
* @return {!proto.wechaty.puppet.OptionalBoolean}
|
|
4600
4600
|
*/
|
|
4601
4601
|
proto.wechaty.puppet.RoomPermissionRequest.prototype.getInvitationCheck = function() {
|
|
4602
|
-
return /** @type {!proto.wechaty.puppet.
|
|
4602
|
+
return /** @type {!proto.wechaty.puppet.OptionalBoolean} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
4603
4603
|
};
|
|
4604
4604
|
|
|
4605
4605
|
|
|
4606
4606
|
/**
|
|
4607
|
-
* @param {!proto.wechaty.puppet.
|
|
4607
|
+
* @param {!proto.wechaty.puppet.OptionalBoolean} value
|
|
4608
4608
|
* @return {!proto.wechaty.puppet.RoomPermissionRequest} returns this
|
|
4609
4609
|
*/
|
|
4610
4610
|
proto.wechaty.puppet.RoomPermissionRequest.prototype.setInvitationCheck = function(value) {
|
|
@@ -4613,16 +4613,16 @@ proto.wechaty.puppet.RoomPermissionRequest.prototype.setInvitationCheck = functi
|
|
|
4613
4613
|
|
|
4614
4614
|
|
|
4615
4615
|
/**
|
|
4616
|
-
* optional
|
|
4617
|
-
* @return {!proto.wechaty.puppet.
|
|
4616
|
+
* optional OptionalBoolean room_topic_edit = 4;
|
|
4617
|
+
* @return {!proto.wechaty.puppet.OptionalBoolean}
|
|
4618
4618
|
*/
|
|
4619
4619
|
proto.wechaty.puppet.RoomPermissionRequest.prototype.getRoomTopicEdit = function() {
|
|
4620
|
-
return /** @type {!proto.wechaty.puppet.
|
|
4620
|
+
return /** @type {!proto.wechaty.puppet.OptionalBoolean} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
4621
4621
|
};
|
|
4622
4622
|
|
|
4623
4623
|
|
|
4624
4624
|
/**
|
|
4625
|
-
* @param {!proto.wechaty.puppet.
|
|
4625
|
+
* @param {!proto.wechaty.puppet.OptionalBoolean} value
|
|
4626
4626
|
* @return {!proto.wechaty.puppet.RoomPermissionRequest} returns this
|
|
4627
4627
|
*/
|
|
4628
4628
|
proto.wechaty.puppet.RoomPermissionRequest.prototype.setRoomTopicEdit = function(value) {
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
|
|
4
4
|
import * as jspb from "google-protobuf";
|
|
5
5
|
|
|
6
|
-
export interface
|
|
6
|
+
export interface OptionalBooleanMap {
|
|
7
7
|
BOOL_UNSET: 0;
|
|
8
8
|
BOOL_FALSE: 1;
|
|
9
9
|
BOOL_TRUE: 2;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
export const
|
|
12
|
+
export const OptionalBoolean: OptionalBooleanMap;
|
|
13
13
|
|
|
@@ -15,11 +15,11 @@ var jspb = require('google-protobuf');
|
|
|
15
15
|
var goog = jspb;
|
|
16
16
|
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
|
|
17
17
|
|
|
18
|
-
goog.exportSymbol('proto.wechaty.puppet.
|
|
18
|
+
goog.exportSymbol('proto.wechaty.puppet.OptionalBoolean', null, global);
|
|
19
19
|
/**
|
|
20
20
|
* @enum {number}
|
|
21
21
|
*/
|
|
22
|
-
proto.wechaty.puppet.
|
|
22
|
+
proto.wechaty.puppet.OptionalBoolean = {
|
|
23
23
|
BOOL_UNSET: 0,
|
|
24
24
|
BOOL_FALSE: 1,
|
|
25
25
|
BOOL_TRUE: 2
|
|
@@ -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.57
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
15
|
url: 'https://github.com/wechaty/openapi'
|
|
@@ -2307,13 +2307,6 @@ definitions:
|
|
|
2307
2307
|
'@type':
|
|
2308
2308
|
type: string
|
|
2309
2309
|
additionalProperties: {}
|
|
2310
|
-
puppetBool_Optional:
|
|
2311
|
-
type: string
|
|
2312
|
-
enum:
|
|
2313
|
-
- BOOL_UNSET
|
|
2314
|
-
- BOOL_FALSE
|
|
2315
|
-
- BOOL_TRUE
|
|
2316
|
-
default: BOOL_UNSET
|
|
2317
2310
|
puppetBroadcastStatus:
|
|
2318
2311
|
type: string
|
|
2319
2312
|
enum:
|
|
@@ -3112,6 +3105,13 @@ definitions:
|
|
|
3112
3105
|
type: array
|
|
3113
3106
|
items:
|
|
3114
3107
|
type: string
|
|
3108
|
+
puppetOptionalBoolean:
|
|
3109
|
+
type: string
|
|
3110
|
+
enum:
|
|
3111
|
+
- BOOL_UNSET
|
|
3112
|
+
- BOOL_FALSE
|
|
3113
|
+
- BOOL_TRUE
|
|
3114
|
+
default: BOOL_UNSET
|
|
3115
3115
|
puppetPayloadType:
|
|
3116
3116
|
type: string
|
|
3117
3117
|
enum:
|
|
@@ -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.57",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Wechaty",
|
|
9
9
|
"url": "https://github.com/wechaty/openapi",
|
|
@@ -3444,15 +3444,6 @@
|
|
|
3444
3444
|
},
|
|
3445
3445
|
"additionalProperties": {}
|
|
3446
3446
|
},
|
|
3447
|
-
"puppetBool_Optional": {
|
|
3448
|
-
"type": "string",
|
|
3449
|
-
"enum": [
|
|
3450
|
-
"BOOL_UNSET",
|
|
3451
|
-
"BOOL_FALSE",
|
|
3452
|
-
"BOOL_TRUE"
|
|
3453
|
-
],
|
|
3454
|
-
"default": "BOOL_UNSET"
|
|
3455
|
-
},
|
|
3456
3447
|
"puppetBroadcastStatus": {
|
|
3457
3448
|
"type": "string",
|
|
3458
3449
|
"enum": [
|
|
@@ -4408,6 +4399,15 @@
|
|
|
4408
4399
|
}
|
|
4409
4400
|
}
|
|
4410
4401
|
},
|
|
4402
|
+
"puppetOptionalBoolean": {
|
|
4403
|
+
"type": "string",
|
|
4404
|
+
"enum": [
|
|
4405
|
+
"BOOL_UNSET",
|
|
4406
|
+
"BOOL_FALSE",
|
|
4407
|
+
"BOOL_TRUE"
|
|
4408
|
+
],
|
|
4409
|
+
"default": "BOOL_UNSET"
|
|
4410
|
+
},
|
|
4411
4411
|
"puppetPayloadType": {
|
|
4412
4412
|
"type": "string",
|
|
4413
4413
|
"enum": [
|
package/package.json
CHANGED
package/src/package-json.ts
CHANGED