@juzi/wechaty-grpc 1.0.10 → 1.0.13
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.d.ts +0 -1
- package/dist/cjs/out/wechaty/puppet/event_pb.d.ts +1 -0
- package/dist/cjs/out/wechaty/puppet/event_pb.js +2 -1
- package/dist/cjs/out/wechaty/puppet/room_pb.d.ts +6 -0
- package/dist/cjs/out/wechaty/puppet/room_pb.js +58 -2
- package/dist/cjs/out/wechaty/puppet/tag_pb.d.ts +536 -76
- package/dist/cjs/out/wechaty/puppet/tag_pb.js +3909 -328
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +413 -362
- package/dist/cjs/out/wechaty/puppet.swagger.json +652 -556
- package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +182 -183
- package/dist/cjs/out/wechaty/puppet_grpc_pb.js +343 -351
- package/dist/cjs/out/wechaty/puppet_pb.d.ts +0 -1
- package/dist/cjs/out/wechaty/puppet_pb.js +0 -2
- package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +130 -131
- package/dist/cjs/out/wechaty/puppet_pb_service.js +78 -79
- package/dist/cjs/proto/wechaty/puppet/event.proto +1 -0
- package/dist/cjs/proto/wechaty/puppet/room.proto +14 -13
- package/dist/cjs/proto/wechaty/puppet/tag.proto +115 -29
- package/dist/cjs/proto/wechaty/puppet.proto +36 -37
- package/dist/cjs/src/package-json.js +1 -1
- package/dist/cjs/tests/puppet-server-impl.js +13 -13
- package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
- package/dist/esm/commonjs/generated/puppet.cjs.d.ts +0 -1
- package/dist/esm/out/wechaty/puppet/event_pb.d.ts +1 -0
- package/dist/esm/out/wechaty/puppet/event_pb.js +2 -1
- package/dist/esm/out/wechaty/puppet/room_pb.d.ts +6 -0
- package/dist/esm/out/wechaty/puppet/room_pb.js +58 -2
- package/dist/esm/out/wechaty/puppet/tag_pb.d.ts +536 -76
- package/dist/esm/out/wechaty/puppet/tag_pb.js +3909 -328
- package/dist/esm/out/wechaty/puppet.openapi.yaml +413 -362
- package/dist/esm/out/wechaty/puppet.swagger.json +652 -556
- package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +182 -183
- package/dist/esm/out/wechaty/puppet_grpc_pb.js +343 -351
- package/dist/esm/out/wechaty/puppet_pb.d.ts +0 -1
- package/dist/esm/out/wechaty/puppet_pb.js +0 -2
- package/dist/esm/out/wechaty/puppet_pb_service.d.ts +130 -131
- package/dist/esm/out/wechaty/puppet_pb_service.js +78 -79
- package/dist/esm/proto/wechaty/puppet/event.proto +1 -0
- package/dist/esm/proto/wechaty/puppet/room.proto +14 -13
- package/dist/esm/proto/wechaty/puppet/tag.proto +115 -29
- package/dist/esm/proto/wechaty/puppet.proto +36 -37
- package/dist/esm/src/package-json.js +1 -1
- package/dist/esm/tests/puppet-server-impl.js +13 -13
- package/dist/esm/tests/puppet-server-impl.js.map +1 -1
- package/out/wechaty/puppet/event_pb.d.ts +1 -0
- package/out/wechaty/puppet/event_pb.js +2 -1
- package/out/wechaty/puppet/room_pb.d.ts +6 -0
- package/out/wechaty/puppet/room_pb.js +58 -2
- package/out/wechaty/puppet/tag_pb.d.ts +536 -76
- package/out/wechaty/puppet/tag_pb.js +3909 -328
- package/out/wechaty/puppet.openapi.yaml +413 -362
- package/out/wechaty/puppet.swagger.json +652 -556
- package/out/wechaty/puppet_grpc_pb.d.ts +182 -183
- package/out/wechaty/puppet_grpc_pb.js +343 -351
- package/out/wechaty/puppet_pb.d.ts +0 -1
- package/out/wechaty/puppet_pb.js +0 -2
- package/out/wechaty/puppet_pb_service.d.ts +130 -131
- package/out/wechaty/puppet_pb_service.js +78 -79
- package/package.json +1 -1
- package/src/package-json.ts +1 -1
- package/dist/cjs/out/wechaty/puppet/corp-tag_grpc_pb.js +0 -1
- package/dist/cjs/out/wechaty/puppet/corp-tag_pb.d.ts +0 -431
- package/dist/cjs/out/wechaty/puppet/corp-tag_pb.js +0 -3315
- package/dist/cjs/out/wechaty/puppet/corp-tag_pb_service.d.ts +0 -3
- package/dist/cjs/out/wechaty/puppet/corp-tag_pb_service.js +0 -3
- package/dist/cjs/proto/wechaty/puppet/corp-tag.proto +0 -90
- package/dist/esm/out/wechaty/puppet/corp-tag_grpc_pb.js +0 -1
- package/dist/esm/out/wechaty/puppet/corp-tag_pb.d.ts +0 -431
- package/dist/esm/out/wechaty/puppet/corp-tag_pb.js +0 -3315
- package/dist/esm/out/wechaty/puppet/corp-tag_pb_service.d.ts +0 -3
- package/dist/esm/out/wechaty/puppet/corp-tag_pb_service.js +0 -3
- package/dist/esm/proto/wechaty/puppet/corp-tag.proto +0 -90
- package/out/wechaty/puppet/corp-tag_grpc_pb.js +0 -1
- package/out/wechaty/puppet/corp-tag_pb.d.ts +0 -431
- package/out/wechaty/puppet/corp-tag_pb.js +0 -3315
- package/out/wechaty/puppet/corp-tag_pb_service.d.ts +0 -3
- package/out/wechaty/puppet/corp-tag_pb_service.js +0 -3
|
@@ -13,7 +13,6 @@ var wechaty_puppet_room_invitation_pb = require("../wechaty/puppet/room-invitati
|
|
|
13
13
|
var wechaty_puppet_room_member_pb = require("../wechaty/puppet/room-member_pb");
|
|
14
14
|
var wechaty_puppet_room_pb = require("../wechaty/puppet/room_pb");
|
|
15
15
|
var wechaty_puppet_tag_pb = require("../wechaty/puppet/tag_pb");
|
|
16
|
-
var wechaty_puppet_corp_tag_pb = require("../wechaty/puppet/corp-tag_pb");
|
|
17
16
|
var grpc = require("@improbable-eng/grpc-web").grpc;
|
|
18
17
|
|
|
19
18
|
var Puppet = (function () {
|
|
@@ -553,121 +552,121 @@ Puppet.RoomInvitationAccept = {
|
|
|
553
552
|
responseType: wechaty_puppet_room_invitation_pb.RoomInvitationAcceptResponse
|
|
554
553
|
};
|
|
555
554
|
|
|
556
|
-
Puppet.
|
|
557
|
-
methodName: "
|
|
555
|
+
Puppet.TagContactTagAdd = {
|
|
556
|
+
methodName: "TagContactTagAdd",
|
|
558
557
|
service: Puppet,
|
|
559
558
|
requestStream: false,
|
|
560
559
|
responseStream: false,
|
|
561
|
-
requestType: wechaty_puppet_tag_pb.
|
|
562
|
-
responseType: wechaty_puppet_tag_pb.
|
|
560
|
+
requestType: wechaty_puppet_tag_pb.TagContactTagAddRequest,
|
|
561
|
+
responseType: wechaty_puppet_tag_pb.TagContactTagAddResponse
|
|
563
562
|
};
|
|
564
563
|
|
|
565
|
-
Puppet.
|
|
566
|
-
methodName: "
|
|
564
|
+
Puppet.TagContactTagRemove = {
|
|
565
|
+
methodName: "TagContactTagRemove",
|
|
567
566
|
service: Puppet,
|
|
568
567
|
requestStream: false,
|
|
569
568
|
responseStream: false,
|
|
570
|
-
requestType: wechaty_puppet_tag_pb.
|
|
571
|
-
responseType: wechaty_puppet_tag_pb.
|
|
569
|
+
requestType: wechaty_puppet_tag_pb.TagContactTagRemoveRequest,
|
|
570
|
+
responseType: wechaty_puppet_tag_pb.TagContactTagRemoveResponse
|
|
572
571
|
};
|
|
573
572
|
|
|
574
|
-
Puppet.
|
|
575
|
-
methodName: "
|
|
573
|
+
Puppet.TagGroupAdd = {
|
|
574
|
+
methodName: "TagGroupAdd",
|
|
576
575
|
service: Puppet,
|
|
577
576
|
requestStream: false,
|
|
578
577
|
responseStream: false,
|
|
579
|
-
requestType: wechaty_puppet_tag_pb.
|
|
580
|
-
responseType: wechaty_puppet_tag_pb.
|
|
578
|
+
requestType: wechaty_puppet_tag_pb.TagGroupAddRequest,
|
|
579
|
+
responseType: wechaty_puppet_tag_pb.TagGroupAddResponse
|
|
581
580
|
};
|
|
582
581
|
|
|
583
|
-
Puppet.
|
|
584
|
-
methodName: "
|
|
582
|
+
Puppet.TagGroupDelete = {
|
|
583
|
+
methodName: "TagGroupDelete",
|
|
585
584
|
service: Puppet,
|
|
586
585
|
requestStream: false,
|
|
587
586
|
responseStream: false,
|
|
588
|
-
requestType: wechaty_puppet_tag_pb.
|
|
589
|
-
responseType: wechaty_puppet_tag_pb.
|
|
587
|
+
requestType: wechaty_puppet_tag_pb.TagGroupDeleteRequest,
|
|
588
|
+
responseType: wechaty_puppet_tag_pb.TagGroupDeleteResponse
|
|
590
589
|
};
|
|
591
590
|
|
|
592
|
-
Puppet.
|
|
593
|
-
methodName: "
|
|
591
|
+
Puppet.TagGroupPayload = {
|
|
592
|
+
methodName: "TagGroupPayload",
|
|
594
593
|
service: Puppet,
|
|
595
594
|
requestStream: false,
|
|
596
595
|
responseStream: false,
|
|
597
|
-
requestType:
|
|
598
|
-
responseType:
|
|
596
|
+
requestType: wechaty_puppet_tag_pb.TagGroupPayloadRequest,
|
|
597
|
+
responseType: wechaty_puppet_tag_pb.TagGroupPayloadResponse
|
|
599
598
|
};
|
|
600
599
|
|
|
601
|
-
Puppet.
|
|
602
|
-
methodName: "
|
|
600
|
+
Puppet.TagTagAdd = {
|
|
601
|
+
methodName: "TagTagAdd",
|
|
603
602
|
service: Puppet,
|
|
604
603
|
requestStream: false,
|
|
605
604
|
responseStream: false,
|
|
606
|
-
requestType:
|
|
607
|
-
responseType:
|
|
605
|
+
requestType: wechaty_puppet_tag_pb.TagTagAddRequest,
|
|
606
|
+
responseType: wechaty_puppet_tag_pb.TagTagAddResponse
|
|
608
607
|
};
|
|
609
608
|
|
|
610
|
-
Puppet.
|
|
611
|
-
methodName: "
|
|
609
|
+
Puppet.TagTagDelete = {
|
|
610
|
+
methodName: "TagTagDelete",
|
|
612
611
|
service: Puppet,
|
|
613
612
|
requestStream: false,
|
|
614
613
|
responseStream: false,
|
|
615
|
-
requestType:
|
|
616
|
-
responseType:
|
|
614
|
+
requestType: wechaty_puppet_tag_pb.TagTagDeleteRequest,
|
|
615
|
+
responseType: wechaty_puppet_tag_pb.TagTagDeleteResponse
|
|
617
616
|
};
|
|
618
617
|
|
|
619
|
-
Puppet.
|
|
620
|
-
methodName: "
|
|
618
|
+
Puppet.TagPayload = {
|
|
619
|
+
methodName: "TagPayload",
|
|
621
620
|
service: Puppet,
|
|
622
621
|
requestStream: false,
|
|
623
622
|
responseStream: false,
|
|
624
|
-
requestType:
|
|
625
|
-
responseType:
|
|
623
|
+
requestType: wechaty_puppet_tag_pb.TagPayloadRequest,
|
|
624
|
+
responseType: wechaty_puppet_tag_pb.TagPayloadResponse
|
|
626
625
|
};
|
|
627
626
|
|
|
628
|
-
Puppet.
|
|
629
|
-
methodName: "
|
|
627
|
+
Puppet.TagGroupList = {
|
|
628
|
+
methodName: "TagGroupList",
|
|
630
629
|
service: Puppet,
|
|
631
630
|
requestStream: false,
|
|
632
631
|
responseStream: false,
|
|
633
|
-
requestType:
|
|
634
|
-
responseType:
|
|
632
|
+
requestType: wechaty_puppet_tag_pb.TagGroupListRequest,
|
|
633
|
+
responseType: wechaty_puppet_tag_pb.TagGroupListResponse
|
|
635
634
|
};
|
|
636
635
|
|
|
637
|
-
Puppet.
|
|
638
|
-
methodName: "
|
|
636
|
+
Puppet.TagGroupTagList = {
|
|
637
|
+
methodName: "TagGroupTagList",
|
|
639
638
|
service: Puppet,
|
|
640
639
|
requestStream: false,
|
|
641
640
|
responseStream: false,
|
|
642
|
-
requestType:
|
|
643
|
-
responseType:
|
|
641
|
+
requestType: wechaty_puppet_tag_pb.TagGroupTagListRequest,
|
|
642
|
+
responseType: wechaty_puppet_tag_pb.TagGroupTagListResponse
|
|
644
643
|
};
|
|
645
644
|
|
|
646
|
-
Puppet.
|
|
647
|
-
methodName: "
|
|
645
|
+
Puppet.TagTagList = {
|
|
646
|
+
methodName: "TagTagList",
|
|
648
647
|
service: Puppet,
|
|
649
648
|
requestStream: false,
|
|
650
649
|
responseStream: false,
|
|
651
|
-
requestType:
|
|
652
|
-
responseType:
|
|
650
|
+
requestType: wechaty_puppet_tag_pb.TagTagListRequest,
|
|
651
|
+
responseType: wechaty_puppet_tag_pb.TagTagListResponse
|
|
653
652
|
};
|
|
654
653
|
|
|
655
|
-
Puppet.
|
|
656
|
-
methodName: "
|
|
654
|
+
Puppet.TagContactTagList = {
|
|
655
|
+
methodName: "TagContactTagList",
|
|
657
656
|
service: Puppet,
|
|
658
657
|
requestStream: false,
|
|
659
658
|
responseStream: false,
|
|
660
|
-
requestType:
|
|
661
|
-
responseType:
|
|
659
|
+
requestType: wechaty_puppet_tag_pb.TagContactTagListRequest,
|
|
660
|
+
responseType: wechaty_puppet_tag_pb.TagContactTagListResponse
|
|
662
661
|
};
|
|
663
662
|
|
|
664
|
-
Puppet.
|
|
665
|
-
methodName: "
|
|
663
|
+
Puppet.TagTagContactList = {
|
|
664
|
+
methodName: "TagTagContactList",
|
|
666
665
|
service: Puppet,
|
|
667
666
|
requestStream: false,
|
|
668
667
|
responseStream: false,
|
|
669
|
-
requestType:
|
|
670
|
-
responseType:
|
|
668
|
+
requestType: wechaty_puppet_tag_pb.TagTagContactListRequest,
|
|
669
|
+
responseType: wechaty_puppet_tag_pb.TagTagContactListResponse
|
|
671
670
|
};
|
|
672
671
|
|
|
673
672
|
Puppet.Download = {
|
|
@@ -2558,11 +2557,11 @@ PuppetClient.prototype.roomInvitationAccept = function roomInvitationAccept(requ
|
|
|
2558
2557
|
};
|
|
2559
2558
|
};
|
|
2560
2559
|
|
|
2561
|
-
PuppetClient.prototype.
|
|
2560
|
+
PuppetClient.prototype.tagContactTagAdd = function tagContactTagAdd(requestMessage, metadata, callback) {
|
|
2562
2561
|
if (arguments.length === 2) {
|
|
2563
2562
|
callback = arguments[1];
|
|
2564
2563
|
}
|
|
2565
|
-
var client = grpc.unary(Puppet.
|
|
2564
|
+
var client = grpc.unary(Puppet.TagContactTagAdd, {
|
|
2566
2565
|
request: requestMessage,
|
|
2567
2566
|
host: this.serviceHost,
|
|
2568
2567
|
metadata: metadata,
|
|
@@ -2589,11 +2588,11 @@ PuppetClient.prototype.tagContactAdd = function tagContactAdd(requestMessage, me
|
|
|
2589
2588
|
};
|
|
2590
2589
|
};
|
|
2591
2590
|
|
|
2592
|
-
PuppetClient.prototype.
|
|
2591
|
+
PuppetClient.prototype.tagContactTagRemove = function tagContactTagRemove(requestMessage, metadata, callback) {
|
|
2593
2592
|
if (arguments.length === 2) {
|
|
2594
2593
|
callback = arguments[1];
|
|
2595
2594
|
}
|
|
2596
|
-
var client = grpc.unary(Puppet.
|
|
2595
|
+
var client = grpc.unary(Puppet.TagContactTagRemove, {
|
|
2597
2596
|
request: requestMessage,
|
|
2598
2597
|
host: this.serviceHost,
|
|
2599
2598
|
metadata: metadata,
|
|
@@ -2620,11 +2619,11 @@ PuppetClient.prototype.tagContactRemove = function tagContactRemove(requestMessa
|
|
|
2620
2619
|
};
|
|
2621
2620
|
};
|
|
2622
2621
|
|
|
2623
|
-
PuppetClient.prototype.
|
|
2622
|
+
PuppetClient.prototype.tagGroupAdd = function tagGroupAdd(requestMessage, metadata, callback) {
|
|
2624
2623
|
if (arguments.length === 2) {
|
|
2625
2624
|
callback = arguments[1];
|
|
2626
2625
|
}
|
|
2627
|
-
var client = grpc.unary(Puppet.
|
|
2626
|
+
var client = grpc.unary(Puppet.TagGroupAdd, {
|
|
2628
2627
|
request: requestMessage,
|
|
2629
2628
|
host: this.serviceHost,
|
|
2630
2629
|
metadata: metadata,
|
|
@@ -2651,11 +2650,11 @@ PuppetClient.prototype.tagContactDelete = function tagContactDelete(requestMessa
|
|
|
2651
2650
|
};
|
|
2652
2651
|
};
|
|
2653
2652
|
|
|
2654
|
-
PuppetClient.prototype.
|
|
2653
|
+
PuppetClient.prototype.tagGroupDelete = function tagGroupDelete(requestMessage, metadata, callback) {
|
|
2655
2654
|
if (arguments.length === 2) {
|
|
2656
2655
|
callback = arguments[1];
|
|
2657
2656
|
}
|
|
2658
|
-
var client = grpc.unary(Puppet.
|
|
2657
|
+
var client = grpc.unary(Puppet.TagGroupDelete, {
|
|
2659
2658
|
request: requestMessage,
|
|
2660
2659
|
host: this.serviceHost,
|
|
2661
2660
|
metadata: metadata,
|
|
@@ -2682,11 +2681,11 @@ PuppetClient.prototype.tagContactList = function tagContactList(requestMessage,
|
|
|
2682
2681
|
};
|
|
2683
2682
|
};
|
|
2684
2683
|
|
|
2685
|
-
PuppetClient.prototype.
|
|
2684
|
+
PuppetClient.prototype.tagGroupPayload = function tagGroupPayload(requestMessage, metadata, callback) {
|
|
2686
2685
|
if (arguments.length === 2) {
|
|
2687
2686
|
callback = arguments[1];
|
|
2688
2687
|
}
|
|
2689
|
-
var client = grpc.unary(Puppet.
|
|
2688
|
+
var client = grpc.unary(Puppet.TagGroupPayload, {
|
|
2690
2689
|
request: requestMessage,
|
|
2691
2690
|
host: this.serviceHost,
|
|
2692
2691
|
metadata: metadata,
|
|
@@ -2713,11 +2712,11 @@ PuppetClient.prototype.corpTagContactTagAdd = function corpTagContactTagAdd(requ
|
|
|
2713
2712
|
};
|
|
2714
2713
|
};
|
|
2715
2714
|
|
|
2716
|
-
PuppetClient.prototype.
|
|
2715
|
+
PuppetClient.prototype.tagTagAdd = function tagTagAdd(requestMessage, metadata, callback) {
|
|
2717
2716
|
if (arguments.length === 2) {
|
|
2718
2717
|
callback = arguments[1];
|
|
2719
2718
|
}
|
|
2720
|
-
var client = grpc.unary(Puppet.
|
|
2719
|
+
var client = grpc.unary(Puppet.TagTagAdd, {
|
|
2721
2720
|
request: requestMessage,
|
|
2722
2721
|
host: this.serviceHost,
|
|
2723
2722
|
metadata: metadata,
|
|
@@ -2744,11 +2743,11 @@ PuppetClient.prototype.corpTagContactTagRemove = function corpTagContactTagRemov
|
|
|
2744
2743
|
};
|
|
2745
2744
|
};
|
|
2746
2745
|
|
|
2747
|
-
PuppetClient.prototype.
|
|
2746
|
+
PuppetClient.prototype.tagTagDelete = function tagTagDelete(requestMessage, metadata, callback) {
|
|
2748
2747
|
if (arguments.length === 2) {
|
|
2749
2748
|
callback = arguments[1];
|
|
2750
2749
|
}
|
|
2751
|
-
var client = grpc.unary(Puppet.
|
|
2750
|
+
var client = grpc.unary(Puppet.TagTagDelete, {
|
|
2752
2751
|
request: requestMessage,
|
|
2753
2752
|
host: this.serviceHost,
|
|
2754
2753
|
metadata: metadata,
|
|
@@ -2775,11 +2774,11 @@ PuppetClient.prototype.corpTagGroupAdd = function corpTagGroupAdd(requestMessage
|
|
|
2775
2774
|
};
|
|
2776
2775
|
};
|
|
2777
2776
|
|
|
2778
|
-
PuppetClient.prototype.
|
|
2777
|
+
PuppetClient.prototype.tagPayload = function tagPayload(requestMessage, metadata, callback) {
|
|
2779
2778
|
if (arguments.length === 2) {
|
|
2780
2779
|
callback = arguments[1];
|
|
2781
2780
|
}
|
|
2782
|
-
var client = grpc.unary(Puppet.
|
|
2781
|
+
var client = grpc.unary(Puppet.TagPayload, {
|
|
2783
2782
|
request: requestMessage,
|
|
2784
2783
|
host: this.serviceHost,
|
|
2785
2784
|
metadata: metadata,
|
|
@@ -2806,11 +2805,11 @@ PuppetClient.prototype.corpTagGroupDelete = function corpTagGroupDelete(requestM
|
|
|
2806
2805
|
};
|
|
2807
2806
|
};
|
|
2808
2807
|
|
|
2809
|
-
PuppetClient.prototype.
|
|
2808
|
+
PuppetClient.prototype.tagGroupList = function tagGroupList(requestMessage, metadata, callback) {
|
|
2810
2809
|
if (arguments.length === 2) {
|
|
2811
2810
|
callback = arguments[1];
|
|
2812
2811
|
}
|
|
2813
|
-
var client = grpc.unary(Puppet.
|
|
2812
|
+
var client = grpc.unary(Puppet.TagGroupList, {
|
|
2814
2813
|
request: requestMessage,
|
|
2815
2814
|
host: this.serviceHost,
|
|
2816
2815
|
metadata: metadata,
|
|
@@ -2837,11 +2836,11 @@ PuppetClient.prototype.corpTagTagAdd = function corpTagTagAdd(requestMessage, me
|
|
|
2837
2836
|
};
|
|
2838
2837
|
};
|
|
2839
2838
|
|
|
2840
|
-
PuppetClient.prototype.
|
|
2839
|
+
PuppetClient.prototype.tagGroupTagList = function tagGroupTagList(requestMessage, metadata, callback) {
|
|
2841
2840
|
if (arguments.length === 2) {
|
|
2842
2841
|
callback = arguments[1];
|
|
2843
2842
|
}
|
|
2844
|
-
var client = grpc.unary(Puppet.
|
|
2843
|
+
var client = grpc.unary(Puppet.TagGroupTagList, {
|
|
2845
2844
|
request: requestMessage,
|
|
2846
2845
|
host: this.serviceHost,
|
|
2847
2846
|
metadata: metadata,
|
|
@@ -2868,11 +2867,11 @@ PuppetClient.prototype.corpTagTagDelete = function corpTagTagDelete(requestMessa
|
|
|
2868
2867
|
};
|
|
2869
2868
|
};
|
|
2870
2869
|
|
|
2871
|
-
PuppetClient.prototype.
|
|
2870
|
+
PuppetClient.prototype.tagTagList = function tagTagList(requestMessage, metadata, callback) {
|
|
2872
2871
|
if (arguments.length === 2) {
|
|
2873
2872
|
callback = arguments[1];
|
|
2874
2873
|
}
|
|
2875
|
-
var client = grpc.unary(Puppet.
|
|
2874
|
+
var client = grpc.unary(Puppet.TagTagList, {
|
|
2876
2875
|
request: requestMessage,
|
|
2877
2876
|
host: this.serviceHost,
|
|
2878
2877
|
metadata: metadata,
|
|
@@ -2899,11 +2898,11 @@ PuppetClient.prototype.corpTagGroupList = function corpTagGroupList(requestMessa
|
|
|
2899
2898
|
};
|
|
2900
2899
|
};
|
|
2901
2900
|
|
|
2902
|
-
PuppetClient.prototype.
|
|
2901
|
+
PuppetClient.prototype.tagContactTagList = function tagContactTagList(requestMessage, metadata, callback) {
|
|
2903
2902
|
if (arguments.length === 2) {
|
|
2904
2903
|
callback = arguments[1];
|
|
2905
2904
|
}
|
|
2906
|
-
var client = grpc.unary(Puppet.
|
|
2905
|
+
var client = grpc.unary(Puppet.TagContactTagList, {
|
|
2907
2906
|
request: requestMessage,
|
|
2908
2907
|
host: this.serviceHost,
|
|
2909
2908
|
metadata: metadata,
|
|
@@ -2930,11 +2929,11 @@ PuppetClient.prototype.corpTagTagList = function corpTagTagList(requestMessage,
|
|
|
2930
2929
|
};
|
|
2931
2930
|
};
|
|
2932
2931
|
|
|
2933
|
-
PuppetClient.prototype.
|
|
2932
|
+
PuppetClient.prototype.tagTagContactList = function tagTagContactList(requestMessage, metadata, callback) {
|
|
2934
2933
|
if (arguments.length === 2) {
|
|
2935
2934
|
callback = arguments[1];
|
|
2936
2935
|
}
|
|
2937
|
-
var client = grpc.unary(Puppet.
|
|
2936
|
+
var client = grpc.unary(Puppet.TagTagContactList, {
|
|
2938
2937
|
request: requestMessage,
|
|
2939
2938
|
host: this.serviceHost,
|
|
2940
2939
|
metadata: metadata,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
syntax = "proto3";
|
|
2
2
|
package wechaty.puppet;
|
|
3
3
|
|
|
4
|
-
option go_package="github.com/wechaty/go-grpc/wechaty/puppet";
|
|
5
|
-
option java_package="io.github.wechaty.grpc.puppet";
|
|
4
|
+
option go_package = "github.com/wechaty/go-grpc/wechaty/puppet";
|
|
5
|
+
option java_package = "io.github.wechaty.grpc.puppet";
|
|
6
6
|
option csharp_namespace = "github.wechaty.grpc.puppet";
|
|
7
7
|
|
|
8
8
|
import "google/protobuf/wrappers.proto";
|
|
@@ -27,8 +27,8 @@ message RoomPayloadResponse {
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
message RoomAddRequest {
|
|
30
|
-
string id
|
|
31
|
-
string contact_id
|
|
30
|
+
string id = 1;
|
|
31
|
+
string contact_id = 2;
|
|
32
32
|
bool invite_only = 3;
|
|
33
33
|
}
|
|
34
34
|
message RoomAddResponse {}
|
|
@@ -42,15 +42,16 @@ message RoomAvatarResponse {
|
|
|
42
42
|
|
|
43
43
|
message RoomCreateRequest {
|
|
44
44
|
repeated string contact_ids = 1;
|
|
45
|
-
string
|
|
45
|
+
string topic = 2;
|
|
46
46
|
}
|
|
47
47
|
message RoomCreateResponse {
|
|
48
48
|
string id = 1;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
message RoomDelRequest {
|
|
52
|
-
string
|
|
53
|
-
string
|
|
52
|
+
string id = 1;
|
|
53
|
+
string contact_id = 2 [deprecated = true]; // Deprecated, will be removed after bot updated
|
|
54
|
+
repeated string contact_ids = 3;
|
|
54
55
|
}
|
|
55
56
|
message RoomDelResponse {}
|
|
56
57
|
|
|
@@ -60,13 +61,13 @@ message RoomQuitRequest {
|
|
|
60
61
|
message RoomQuitResponse {}
|
|
61
62
|
|
|
62
63
|
message RoomTopicRequest {
|
|
63
|
-
string
|
|
64
|
+
string id = 1;
|
|
64
65
|
google.protobuf.StringValue topic_string_value_deprecated = 2 [deprecated = true]; // DEPRECATED, will be removed after Dec 31, 2022
|
|
65
|
-
optional
|
|
66
|
+
optional string topic = 3;
|
|
66
67
|
}
|
|
67
68
|
message RoomTopicResponse {
|
|
68
69
|
google.protobuf.StringValue topic_string_value_deprecated = 1 [deprecated = true]; // DEPRECATED, will be removed after Dec 31, 2022
|
|
69
|
-
string
|
|
70
|
+
string topic = 2;
|
|
70
71
|
}
|
|
71
72
|
|
|
72
73
|
message RoomQRCodeRequest {
|
|
@@ -77,12 +78,12 @@ message RoomQRCodeResponse {
|
|
|
77
78
|
}
|
|
78
79
|
|
|
79
80
|
message RoomAnnounceRequest {
|
|
80
|
-
string
|
|
81
|
+
string id = 1;
|
|
81
82
|
google.protobuf.StringValue text_string_value_deprecated = 2 [deprecated = true]; // DEPRECATED, will be removed after Dec 31, 2022
|
|
82
|
-
optional
|
|
83
|
+
optional string text = 3;
|
|
83
84
|
}
|
|
84
85
|
message RoomAnnounceResponse {
|
|
85
86
|
google.protobuf.StringValue text_string_value_deprecated = 1 [deprecated = true]; // DEPRECATED, will be removed after Dec 31, 2022
|
|
86
|
-
string
|
|
87
|
+
string text = 2;
|
|
87
88
|
}
|
|
88
89
|
|
|
@@ -1,43 +1,129 @@
|
|
|
1
1
|
syntax = "proto3";
|
|
2
2
|
package wechaty.puppet;
|
|
3
3
|
|
|
4
|
-
option go_package="github.com/wechaty/go-grpc/wechaty/puppet";
|
|
5
|
-
option java_package="io.github.wechaty.grpc.puppet";
|
|
4
|
+
option go_package = "github.com/wechaty/go-grpc/wechaty/puppet";
|
|
5
|
+
option java_package = "io.github.wechaty.grpc.puppet";
|
|
6
6
|
option csharp_namespace = "github.wechaty.grpc.puppet";
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
enum TagType {
|
|
9
|
+
PERSONAL = 0;
|
|
10
|
+
CORPORATION = 1;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
message TagPayload {
|
|
14
|
+
string id = 1;
|
|
15
|
+
string name = 2;
|
|
16
|
+
string group_id = 3;
|
|
17
|
+
TagType type = 4;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
message TagIdentifier {
|
|
21
|
+
string id = 1;
|
|
22
|
+
string group_id = 2;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
message TagGroupPayload {
|
|
26
|
+
string id = 1;
|
|
27
|
+
string name = 2;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
message TagContactTagAddRequest {
|
|
31
|
+
repeated TagIdentifier tags = 1;
|
|
32
|
+
repeated string contact_ids = 2;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
message TagContactTagAddResponse {
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
message TagContactTagRemoveRequest {
|
|
39
|
+
repeated TagIdentifier tags = 1;
|
|
40
|
+
repeated string contact_ids = 2;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
message TagContactTagRemoveResponse {
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
message TagGroupAddRequest {
|
|
47
|
+
string tag_group_name = 1;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
message TagGroupAddResponse {
|
|
51
|
+
string tag_group_id = 1;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
message TagGroupDeleteRequest {
|
|
55
|
+
string tag_group_id = 1;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
message TagGroupDeleteResponse {
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
message TagTagAddRequest {
|
|
62
|
+
string tag_name = 1;
|
|
63
|
+
string tag_group_id = 2;
|
|
64
|
+
}
|
|
14
65
|
|
|
15
|
-
message
|
|
16
|
-
|
|
17
|
-
string contact_id = 2;
|
|
66
|
+
message TagTagAddResponse {
|
|
67
|
+
TagIdentifier tag = 1;
|
|
18
68
|
}
|
|
19
|
-
message TagContactAddResponse {}
|
|
20
69
|
|
|
21
|
-
message
|
|
22
|
-
|
|
23
|
-
string contact_id = 2;
|
|
70
|
+
message TagTagDeleteRequest {
|
|
71
|
+
TagIdentifier tag = 1;
|
|
24
72
|
}
|
|
25
|
-
message TagContactRemoveResponse {}
|
|
26
73
|
|
|
27
|
-
message
|
|
28
|
-
string id = 1;
|
|
74
|
+
message TagTagDeleteResponse {
|
|
29
75
|
}
|
|
30
|
-
message TagContactDeleteResponse {}
|
|
31
76
|
|
|
32
|
-
message
|
|
33
|
-
/*
|
|
34
|
-
* @deprecated:
|
|
35
|
-
* Huan(202109): Wrapper types must not be used going forward.
|
|
36
|
-
* https://cloud.google.com/apis/design/design_patterns#optional_primitive_fields
|
|
37
|
-
*/
|
|
38
|
-
google.protobuf.StringValue contact_id_string_value_deprecated = 1 [deprecated = true]; // Deprecated: will be removed after Dec 31, 2022
|
|
39
|
-
string contact_id = 2;
|
|
77
|
+
message TagGroupListRequest {
|
|
40
78
|
}
|
|
41
|
-
|
|
42
|
-
|
|
79
|
+
|
|
80
|
+
message TagGroupListResponse {
|
|
81
|
+
repeated string tag_group_ids = 1;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
message TagGroupTagListRequest {
|
|
85
|
+
string tag_group_id = 1;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
message TagGroupTagListResponse {
|
|
89
|
+
repeated TagIdentifier tags = 1;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
message TagTagListRequest {
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
message TagTagListResponse {
|
|
96
|
+
repeated TagIdentifier tags = 1;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
message TagContactTagListRequest {
|
|
100
|
+
string contact_id = 1;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
message TagContactTagListResponse {
|
|
104
|
+
repeated TagIdentifier tags = 1;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
message TagTagContactListRequest {
|
|
108
|
+
TagIdentifier tag = 1;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
message TagTagContactListResponse {
|
|
112
|
+
repeated string contact_ids = 1;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
message TagGroupPayloadRequest {
|
|
116
|
+
string group_id = 1;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
message TagGroupPayloadResponse {
|
|
120
|
+
TagGroupPayload payload = 1;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
message TagPayloadRequest {
|
|
124
|
+
TagIdentifier tag = 1;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
message TagPayloadResponse {
|
|
128
|
+
TagPayload payload = 1;
|
|
43
129
|
}
|