@juzi/wechaty-grpc 1.0.105 → 1.0.106
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/call_pb.d.ts +4 -0
- package/dist/cjs/out/wechaty/puppet/call_pb.js +31 -1
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +4 -1
- package/dist/cjs/out/wechaty/puppet.swagger.json +5 -1
- package/dist/cjs/proto/wechaty/puppet/call.proto +1 -0
- package/dist/cjs/src/package-json.js +1 -1
- package/dist/esm/out/wechaty/puppet/call_pb.d.ts +4 -0
- package/dist/esm/out/wechaty/puppet/call_pb.js +31 -1
- package/dist/esm/out/wechaty/puppet.openapi.yaml +4 -1
- package/dist/esm/out/wechaty/puppet.swagger.json +5 -1
- package/dist/esm/proto/wechaty/puppet/call.proto +1 -0
- package/dist/esm/src/package-json.js +1 -1
- package/out/wechaty/puppet/call_pb.d.ts +4 -0
- package/out/wechaty/puppet/call_pb.js +31 -1
- package/out/wechaty/puppet.openapi.yaml +4 -1
- package/out/wechaty/puppet.swagger.json +5 -1
- package/package.json +1 -1
- package/src/package-json.ts +1 -1
|
@@ -22,6 +22,9 @@ export class CallRecordPayload extends jspb.Message {
|
|
|
22
22
|
getStatus(): CallStatusMap[keyof CallStatusMap];
|
|
23
23
|
setStatus(value: CallStatusMap[keyof CallStatusMap]): void;
|
|
24
24
|
|
|
25
|
+
getCallId(): string;
|
|
26
|
+
setCallId(value: string): void;
|
|
27
|
+
|
|
25
28
|
serializeBinary(): Uint8Array;
|
|
26
29
|
toObject(includeInstance?: boolean): CallRecordPayload.AsObject;
|
|
27
30
|
static toObject(includeInstance: boolean, msg: CallRecordPayload): CallRecordPayload.AsObject;
|
|
@@ -39,6 +42,7 @@ export namespace CallRecordPayload {
|
|
|
39
42
|
length: number,
|
|
40
43
|
type: CallTypeMap[keyof CallTypeMap],
|
|
41
44
|
status: CallStatusMap[keyof CallStatusMap],
|
|
45
|
+
callId: string,
|
|
42
46
|
}
|
|
43
47
|
}
|
|
44
48
|
|
|
@@ -436,7 +436,8 @@ proto.wechaty.puppet.CallRecordPayload.toObject = function(includeInstance, msg)
|
|
|
436
436
|
participantIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
437
437
|
length: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
438
438
|
type: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
439
|
-
status: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
439
|
+
status: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
440
|
+
callId: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
440
441
|
};
|
|
441
442
|
|
|
442
443
|
if (includeInstance) {
|
|
@@ -493,6 +494,10 @@ proto.wechaty.puppet.CallRecordPayload.deserializeBinaryFromReader = function(ms
|
|
|
493
494
|
var value = /** @type {!proto.wechaty.puppet.CallStatus} */ (reader.readEnum());
|
|
494
495
|
msg.setStatus(value);
|
|
495
496
|
break;
|
|
497
|
+
case 6:
|
|
498
|
+
var value = /** @type {string} */ (reader.readString());
|
|
499
|
+
msg.setCallId(value);
|
|
500
|
+
break;
|
|
496
501
|
default:
|
|
497
502
|
reader.skipField();
|
|
498
503
|
break;
|
|
@@ -557,6 +562,13 @@ proto.wechaty.puppet.CallRecordPayload.serializeBinaryToWriter = function(messag
|
|
|
557
562
|
f
|
|
558
563
|
);
|
|
559
564
|
}
|
|
565
|
+
f = message.getCallId();
|
|
566
|
+
if (f.length > 0) {
|
|
567
|
+
writer.writeString(
|
|
568
|
+
6,
|
|
569
|
+
f
|
|
570
|
+
);
|
|
571
|
+
}
|
|
560
572
|
};
|
|
561
573
|
|
|
562
574
|
|
|
@@ -669,6 +681,24 @@ proto.wechaty.puppet.CallRecordPayload.prototype.setStatus = function(value) {
|
|
|
669
681
|
};
|
|
670
682
|
|
|
671
683
|
|
|
684
|
+
/**
|
|
685
|
+
* optional string call_id = 6;
|
|
686
|
+
* @return {string}
|
|
687
|
+
*/
|
|
688
|
+
proto.wechaty.puppet.CallRecordPayload.prototype.getCallId = function() {
|
|
689
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
690
|
+
};
|
|
691
|
+
|
|
692
|
+
|
|
693
|
+
/**
|
|
694
|
+
* @param {string} value
|
|
695
|
+
* @return {!proto.wechaty.puppet.CallRecordPayload} returns this
|
|
696
|
+
*/
|
|
697
|
+
proto.wechaty.puppet.CallRecordPayload.prototype.setCallId = function(value) {
|
|
698
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
699
|
+
};
|
|
700
|
+
|
|
701
|
+
|
|
672
702
|
|
|
673
703
|
/**
|
|
674
704
|
* List of repeated fields within this message type.
|
|
@@ -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.106
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
15
|
url: https://github.com/wechaty/openapi
|
|
@@ -3645,6 +3645,9 @@ definitions:
|
|
|
3645
3645
|
$ref: '#/definitions/puppetCallType'
|
|
3646
3646
|
status:
|
|
3647
3647
|
$ref: '#/definitions/puppetCallStatus'
|
|
3648
|
+
callId:
|
|
3649
|
+
type: string
|
|
3650
|
+
title: 关联控制面 call_id,可空字符串表示历史/未知
|
|
3648
3651
|
puppetCallRejectResponse:
|
|
3649
3652
|
type: object
|
|
3650
3653
|
puppetCallStatus:
|
|
@@ -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.106",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Wechaty",
|
|
9
9
|
"url": "https://github.com/wechaty/openapi",
|
|
@@ -5454,6 +5454,10 @@
|
|
|
5454
5454
|
},
|
|
5455
5455
|
"status": {
|
|
5456
5456
|
"$ref": "#/definitions/puppetCallStatus"
|
|
5457
|
+
},
|
|
5458
|
+
"callId": {
|
|
5459
|
+
"type": "string",
|
|
5460
|
+
"title": "关联控制面 call_id,可空字符串表示历史/未知"
|
|
5457
5461
|
}
|
|
5458
5462
|
}
|
|
5459
5463
|
},
|
|
@@ -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.106",
|
|
7
7
|
"description": "gRPC for Wechaty",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"exports": {
|
|
@@ -22,6 +22,9 @@ export class CallRecordPayload extends jspb.Message {
|
|
|
22
22
|
getStatus(): CallStatusMap[keyof CallStatusMap];
|
|
23
23
|
setStatus(value: CallStatusMap[keyof CallStatusMap]): void;
|
|
24
24
|
|
|
25
|
+
getCallId(): string;
|
|
26
|
+
setCallId(value: string): void;
|
|
27
|
+
|
|
25
28
|
serializeBinary(): Uint8Array;
|
|
26
29
|
toObject(includeInstance?: boolean): CallRecordPayload.AsObject;
|
|
27
30
|
static toObject(includeInstance: boolean, msg: CallRecordPayload): CallRecordPayload.AsObject;
|
|
@@ -39,6 +42,7 @@ export namespace CallRecordPayload {
|
|
|
39
42
|
length: number,
|
|
40
43
|
type: CallTypeMap[keyof CallTypeMap],
|
|
41
44
|
status: CallStatusMap[keyof CallStatusMap],
|
|
45
|
+
callId: string,
|
|
42
46
|
}
|
|
43
47
|
}
|
|
44
48
|
|
|
@@ -436,7 +436,8 @@ proto.wechaty.puppet.CallRecordPayload.toObject = function(includeInstance, msg)
|
|
|
436
436
|
participantIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
437
437
|
length: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
438
438
|
type: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
439
|
-
status: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
439
|
+
status: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
440
|
+
callId: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
440
441
|
};
|
|
441
442
|
|
|
442
443
|
if (includeInstance) {
|
|
@@ -493,6 +494,10 @@ proto.wechaty.puppet.CallRecordPayload.deserializeBinaryFromReader = function(ms
|
|
|
493
494
|
var value = /** @type {!proto.wechaty.puppet.CallStatus} */ (reader.readEnum());
|
|
494
495
|
msg.setStatus(value);
|
|
495
496
|
break;
|
|
497
|
+
case 6:
|
|
498
|
+
var value = /** @type {string} */ (reader.readString());
|
|
499
|
+
msg.setCallId(value);
|
|
500
|
+
break;
|
|
496
501
|
default:
|
|
497
502
|
reader.skipField();
|
|
498
503
|
break;
|
|
@@ -557,6 +562,13 @@ proto.wechaty.puppet.CallRecordPayload.serializeBinaryToWriter = function(messag
|
|
|
557
562
|
f
|
|
558
563
|
);
|
|
559
564
|
}
|
|
565
|
+
f = message.getCallId();
|
|
566
|
+
if (f.length > 0) {
|
|
567
|
+
writer.writeString(
|
|
568
|
+
6,
|
|
569
|
+
f
|
|
570
|
+
);
|
|
571
|
+
}
|
|
560
572
|
};
|
|
561
573
|
|
|
562
574
|
|
|
@@ -669,6 +681,24 @@ proto.wechaty.puppet.CallRecordPayload.prototype.setStatus = function(value) {
|
|
|
669
681
|
};
|
|
670
682
|
|
|
671
683
|
|
|
684
|
+
/**
|
|
685
|
+
* optional string call_id = 6;
|
|
686
|
+
* @return {string}
|
|
687
|
+
*/
|
|
688
|
+
proto.wechaty.puppet.CallRecordPayload.prototype.getCallId = function() {
|
|
689
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
690
|
+
};
|
|
691
|
+
|
|
692
|
+
|
|
693
|
+
/**
|
|
694
|
+
* @param {string} value
|
|
695
|
+
* @return {!proto.wechaty.puppet.CallRecordPayload} returns this
|
|
696
|
+
*/
|
|
697
|
+
proto.wechaty.puppet.CallRecordPayload.prototype.setCallId = function(value) {
|
|
698
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
699
|
+
};
|
|
700
|
+
|
|
701
|
+
|
|
672
702
|
|
|
673
703
|
/**
|
|
674
704
|
* List of repeated fields within this message type.
|
|
@@ -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.106
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
15
|
url: https://github.com/wechaty/openapi
|
|
@@ -3645,6 +3645,9 @@ definitions:
|
|
|
3645
3645
|
$ref: '#/definitions/puppetCallType'
|
|
3646
3646
|
status:
|
|
3647
3647
|
$ref: '#/definitions/puppetCallStatus'
|
|
3648
|
+
callId:
|
|
3649
|
+
type: string
|
|
3650
|
+
title: 关联控制面 call_id,可空字符串表示历史/未知
|
|
3648
3651
|
puppetCallRejectResponse:
|
|
3649
3652
|
type: object
|
|
3650
3653
|
puppetCallStatus:
|
|
@@ -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.106",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Wechaty",
|
|
9
9
|
"url": "https://github.com/wechaty/openapi",
|
|
@@ -5454,6 +5454,10 @@
|
|
|
5454
5454
|
},
|
|
5455
5455
|
"status": {
|
|
5456
5456
|
"$ref": "#/definitions/puppetCallStatus"
|
|
5457
|
+
},
|
|
5458
|
+
"callId": {
|
|
5459
|
+
"type": "string",
|
|
5460
|
+
"title": "关联控制面 call_id,可空字符串表示历史/未知"
|
|
5457
5461
|
}
|
|
5458
5462
|
}
|
|
5459
5463
|
},
|
|
@@ -22,6 +22,9 @@ export class CallRecordPayload extends jspb.Message {
|
|
|
22
22
|
getStatus(): CallStatusMap[keyof CallStatusMap];
|
|
23
23
|
setStatus(value: CallStatusMap[keyof CallStatusMap]): void;
|
|
24
24
|
|
|
25
|
+
getCallId(): string;
|
|
26
|
+
setCallId(value: string): void;
|
|
27
|
+
|
|
25
28
|
serializeBinary(): Uint8Array;
|
|
26
29
|
toObject(includeInstance?: boolean): CallRecordPayload.AsObject;
|
|
27
30
|
static toObject(includeInstance: boolean, msg: CallRecordPayload): CallRecordPayload.AsObject;
|
|
@@ -39,6 +42,7 @@ export namespace CallRecordPayload {
|
|
|
39
42
|
length: number,
|
|
40
43
|
type: CallTypeMap[keyof CallTypeMap],
|
|
41
44
|
status: CallStatusMap[keyof CallStatusMap],
|
|
45
|
+
callId: string,
|
|
42
46
|
}
|
|
43
47
|
}
|
|
44
48
|
|
|
@@ -436,7 +436,8 @@ proto.wechaty.puppet.CallRecordPayload.toObject = function(includeInstance, msg)
|
|
|
436
436
|
participantIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
437
437
|
length: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
438
438
|
type: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
439
|
-
status: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
439
|
+
status: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
440
|
+
callId: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
440
441
|
};
|
|
441
442
|
|
|
442
443
|
if (includeInstance) {
|
|
@@ -493,6 +494,10 @@ proto.wechaty.puppet.CallRecordPayload.deserializeBinaryFromReader = function(ms
|
|
|
493
494
|
var value = /** @type {!proto.wechaty.puppet.CallStatus} */ (reader.readEnum());
|
|
494
495
|
msg.setStatus(value);
|
|
495
496
|
break;
|
|
497
|
+
case 6:
|
|
498
|
+
var value = /** @type {string} */ (reader.readString());
|
|
499
|
+
msg.setCallId(value);
|
|
500
|
+
break;
|
|
496
501
|
default:
|
|
497
502
|
reader.skipField();
|
|
498
503
|
break;
|
|
@@ -557,6 +562,13 @@ proto.wechaty.puppet.CallRecordPayload.serializeBinaryToWriter = function(messag
|
|
|
557
562
|
f
|
|
558
563
|
);
|
|
559
564
|
}
|
|
565
|
+
f = message.getCallId();
|
|
566
|
+
if (f.length > 0) {
|
|
567
|
+
writer.writeString(
|
|
568
|
+
6,
|
|
569
|
+
f
|
|
570
|
+
);
|
|
571
|
+
}
|
|
560
572
|
};
|
|
561
573
|
|
|
562
574
|
|
|
@@ -669,6 +681,24 @@ proto.wechaty.puppet.CallRecordPayload.prototype.setStatus = function(value) {
|
|
|
669
681
|
};
|
|
670
682
|
|
|
671
683
|
|
|
684
|
+
/**
|
|
685
|
+
* optional string call_id = 6;
|
|
686
|
+
* @return {string}
|
|
687
|
+
*/
|
|
688
|
+
proto.wechaty.puppet.CallRecordPayload.prototype.getCallId = function() {
|
|
689
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
690
|
+
};
|
|
691
|
+
|
|
692
|
+
|
|
693
|
+
/**
|
|
694
|
+
* @param {string} value
|
|
695
|
+
* @return {!proto.wechaty.puppet.CallRecordPayload} returns this
|
|
696
|
+
*/
|
|
697
|
+
proto.wechaty.puppet.CallRecordPayload.prototype.setCallId = function(value) {
|
|
698
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
699
|
+
};
|
|
700
|
+
|
|
701
|
+
|
|
672
702
|
|
|
673
703
|
/**
|
|
674
704
|
* List of repeated fields within this message type.
|
|
@@ -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.106
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
15
|
url: https://github.com/wechaty/openapi
|
|
@@ -3645,6 +3645,9 @@ definitions:
|
|
|
3645
3645
|
$ref: '#/definitions/puppetCallType'
|
|
3646
3646
|
status:
|
|
3647
3647
|
$ref: '#/definitions/puppetCallStatus'
|
|
3648
|
+
callId:
|
|
3649
|
+
type: string
|
|
3650
|
+
title: 关联控制面 call_id,可空字符串表示历史/未知
|
|
3648
3651
|
puppetCallRejectResponse:
|
|
3649
3652
|
type: object
|
|
3650
3653
|
puppetCallStatus:
|
|
@@ -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.106",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Wechaty",
|
|
9
9
|
"url": "https://github.com/wechaty/openapi",
|
|
@@ -5454,6 +5454,10 @@
|
|
|
5454
5454
|
},
|
|
5455
5455
|
"status": {
|
|
5456
5456
|
"$ref": "#/definitions/puppetCallStatus"
|
|
5457
|
+
},
|
|
5458
|
+
"callId": {
|
|
5459
|
+
"type": "string",
|
|
5460
|
+
"title": "关联控制面 call_id,可空字符串表示历史/未知"
|
|
5457
5461
|
}
|
|
5458
5462
|
}
|
|
5459
5463
|
},
|
package/package.json
CHANGED
package/src/package-json.ts
CHANGED