@juzi/wechaty-grpc 1.0.12 → 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.
Files changed (46) hide show
  1. package/dist/cjs/out/wechaty/puppet/event_pb.d.ts +1 -0
  2. package/dist/cjs/out/wechaty/puppet/event_pb.js +2 -1
  3. package/dist/cjs/out/wechaty/puppet/tag_pb.d.ts +119 -35
  4. package/dist/cjs/out/wechaty/puppet/tag_pb.js +790 -144
  5. package/dist/cjs/out/wechaty/puppet.openapi.yaml +75 -14
  6. package/dist/cjs/out/wechaty/puppet.swagger.json +112 -15
  7. package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +34 -0
  8. package/dist/cjs/out/wechaty/puppet_grpc_pb.js +66 -0
  9. package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +38 -0
  10. package/dist/cjs/out/wechaty/puppet_pb_service.js +80 -0
  11. package/dist/cjs/proto/wechaty/puppet/event.proto +1 -0
  12. package/dist/cjs/proto/wechaty/puppet/tag.proto +23 -7
  13. package/dist/cjs/proto/wechaty/puppet.proto +14 -0
  14. package/dist/cjs/src/package-json.js +1 -1
  15. package/dist/cjs/tests/puppet-server-impl.d.ts.map +1 -1
  16. package/dist/cjs/tests/puppet-server-impl.js +10 -0
  17. package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
  18. package/dist/esm/out/wechaty/puppet/event_pb.d.ts +1 -0
  19. package/dist/esm/out/wechaty/puppet/event_pb.js +2 -1
  20. package/dist/esm/out/wechaty/puppet/tag_pb.d.ts +119 -35
  21. package/dist/esm/out/wechaty/puppet/tag_pb.js +790 -144
  22. package/dist/esm/out/wechaty/puppet.openapi.yaml +75 -14
  23. package/dist/esm/out/wechaty/puppet.swagger.json +112 -15
  24. package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +34 -0
  25. package/dist/esm/out/wechaty/puppet_grpc_pb.js +66 -0
  26. package/dist/esm/out/wechaty/puppet_pb_service.d.ts +38 -0
  27. package/dist/esm/out/wechaty/puppet_pb_service.js +80 -0
  28. package/dist/esm/proto/wechaty/puppet/event.proto +1 -0
  29. package/dist/esm/proto/wechaty/puppet/tag.proto +23 -7
  30. package/dist/esm/proto/wechaty/puppet.proto +14 -0
  31. package/dist/esm/src/package-json.js +1 -1
  32. package/dist/esm/tests/puppet-server-impl.d.ts.map +1 -1
  33. package/dist/esm/tests/puppet-server-impl.js +10 -0
  34. package/dist/esm/tests/puppet-server-impl.js.map +1 -1
  35. package/out/wechaty/puppet/event_pb.d.ts +1 -0
  36. package/out/wechaty/puppet/event_pb.js +2 -1
  37. package/out/wechaty/puppet/tag_pb.d.ts +119 -35
  38. package/out/wechaty/puppet/tag_pb.js +790 -144
  39. package/out/wechaty/puppet.openapi.yaml +75 -14
  40. package/out/wechaty/puppet.swagger.json +112 -15
  41. package/out/wechaty/puppet_grpc_pb.d.ts +34 -0
  42. package/out/wechaty/puppet_grpc_pb.js +66 -0
  43. package/out/wechaty/puppet_pb_service.d.ts +38 -0
  44. package/out/wechaty/puppet_pb_service.js +80 -0
  45. package/package.json +1 -1
  46. package/src/package-json.ts +1 -1
@@ -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
12
+ version: 1.0.13
13
13
  contact:
14
14
  name: Wechaty
15
15
  url: 'https://github.com/wechaty/openapi'
@@ -1527,6 +1527,26 @@ paths:
1527
1527
  $ref: '#/definitions/rpcStatus'
1528
1528
  tags:
1529
1529
  - Puppet
1530
+ /tag/payload:
1531
+ post:
1532
+ operationId: Puppet_TagPayload
1533
+ responses:
1534
+ '200':
1535
+ description: A successful response.
1536
+ schema:
1537
+ $ref: '#/definitions/puppetTagPayloadResponse'
1538
+ default:
1539
+ description: An unexpected error response.
1540
+ schema:
1541
+ $ref: '#/definitions/rpcStatus'
1542
+ parameters:
1543
+ - name: body
1544
+ in: body
1545
+ required: true
1546
+ schema:
1547
+ $ref: '#/definitions/puppetTagPayloadRequest'
1548
+ tags:
1549
+ - Puppet
1530
1550
  /tag/removeContactTag:
1531
1551
  post:
1532
1552
  operationId: Puppet_TagContactTagRemove
@@ -1624,6 +1644,26 @@ paths:
1624
1644
  $ref: '#/definitions/rpcStatus'
1625
1645
  tags:
1626
1646
  - Puppet
1647
+ /tagGroup/payload:
1648
+ post:
1649
+ operationId: Puppet_TagGroupPayload
1650
+ responses:
1651
+ '200':
1652
+ description: A successful response.
1653
+ schema:
1654
+ $ref: '#/definitions/puppetTagGroupPayloadResponse'
1655
+ default:
1656
+ description: An unexpected error response.
1657
+ schema:
1658
+ $ref: '#/definitions/rpcStatus'
1659
+ parameters:
1660
+ - name: body
1661
+ in: body
1662
+ required: true
1663
+ schema:
1664
+ $ref: '#/definitions/puppetTagGroupPayloadRequest'
1665
+ tags:
1666
+ - Puppet
1627
1667
  /upload:
1628
1668
  post:
1629
1669
  operationId: Puppet_Upload
@@ -2023,6 +2063,7 @@ definitions:
2023
2063
  - EVENT_TYPE_LOGIN
2024
2064
  - EVENT_TYPE_LOGOUT
2025
2065
  - EVENT_TYPE_DIRTY
2066
+ - EVENT_TYPE_TAG
2026
2067
  default: EVENT_TYPE_UNSPECIFIED
2027
2068
  puppetFileBoxChunk:
2028
2069
  type: object
@@ -2610,10 +2651,10 @@ definitions:
2610
2651
  puppetTagContactTagListResponse:
2611
2652
  type: object
2612
2653
  properties:
2613
- payloads:
2654
+ tags:
2614
2655
  type: array
2615
2656
  items:
2616
- $ref: '#/definitions/puppetTagPayload'
2657
+ $ref: '#/definitions/puppetTagIdentifier'
2617
2658
  puppetTagContactTagRemoveRequest:
2618
2659
  type: object
2619
2660
  properties:
@@ -2635,8 +2676,8 @@ definitions:
2635
2676
  puppetTagGroupAddResponse:
2636
2677
  type: object
2637
2678
  properties:
2638
- payload:
2639
- $ref: '#/definitions/puppetTagGroupPayload'
2679
+ tagGroupId:
2680
+ type: string
2640
2681
  puppetTagGroupDeleteRequest:
2641
2682
  type: object
2642
2683
  properties:
@@ -2647,10 +2688,10 @@ definitions:
2647
2688
  puppetTagGroupListResponse:
2648
2689
  type: object
2649
2690
  properties:
2650
- payloads:
2691
+ tagGroupIds:
2651
2692
  type: array
2652
2693
  items:
2653
- $ref: '#/definitions/puppetTagGroupPayload'
2694
+ type: string
2654
2695
  puppetTagGroupPayload:
2655
2696
  type: object
2656
2697
  properties:
@@ -2658,13 +2699,23 @@ definitions:
2658
2699
  type: string
2659
2700
  name:
2660
2701
  type: string
2702
+ puppetTagGroupPayloadRequest:
2703
+ type: object
2704
+ properties:
2705
+ groupId:
2706
+ type: string
2707
+ puppetTagGroupPayloadResponse:
2708
+ type: object
2709
+ properties:
2710
+ payload:
2711
+ $ref: '#/definitions/puppetTagGroupPayload'
2661
2712
  puppetTagGroupTagListResponse:
2662
2713
  type: object
2663
2714
  properties:
2664
- payloads:
2715
+ tags:
2665
2716
  type: array
2666
2717
  items:
2667
- $ref: '#/definitions/puppetTagPayload'
2718
+ $ref: '#/definitions/puppetTagIdentifier'
2668
2719
  puppetTagIdentifier:
2669
2720
  type: object
2670
2721
  properties:
@@ -2683,6 +2734,16 @@ definitions:
2683
2734
  type: string
2684
2735
  type:
2685
2736
  $ref: '#/definitions/puppetTagType'
2737
+ puppetTagPayloadRequest:
2738
+ type: object
2739
+ properties:
2740
+ tag:
2741
+ $ref: '#/definitions/puppetTagIdentifier'
2742
+ puppetTagPayloadResponse:
2743
+ type: object
2744
+ properties:
2745
+ payload:
2746
+ $ref: '#/definitions/puppetTagPayload'
2686
2747
  puppetTagTagAddRequest:
2687
2748
  type: object
2688
2749
  properties:
@@ -2693,12 +2754,12 @@ definitions:
2693
2754
  puppetTagTagAddResponse:
2694
2755
  type: object
2695
2756
  properties:
2696
- payload:
2697
- $ref: '#/definitions/puppetTagPayload'
2757
+ tag:
2758
+ $ref: '#/definitions/puppetTagIdentifier'
2698
2759
  puppetTagTagContactListResponse:
2699
2760
  type: object
2700
2761
  properties:
2701
- payloads:
2762
+ contactIds:
2702
2763
  type: array
2703
2764
  items:
2704
2765
  type: string
@@ -2712,10 +2773,10 @@ definitions:
2712
2773
  puppetTagTagListResponse:
2713
2774
  type: object
2714
2775
  properties:
2715
- payloads:
2776
+ tags:
2716
2777
  type: array
2717
2778
  items:
2718
- $ref: '#/definitions/puppetTagPayload'
2779
+ $ref: '#/definitions/puppetTagIdentifier'
2719
2780
  puppetTagType:
2720
2781
  type: string
2721
2782
  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.12",
6
+ "version": "1.0.13",
7
7
  "contact": {
8
8
  "name": "Wechaty",
9
9
  "url": "https://github.com/wechaty/openapi",
@@ -2298,6 +2298,38 @@
2298
2298
  ]
2299
2299
  }
2300
2300
  },
2301
+ "/tag/payload": {
2302
+ "post": {
2303
+ "operationId": "Puppet_TagPayload",
2304
+ "responses": {
2305
+ "200": {
2306
+ "description": "A successful response.",
2307
+ "schema": {
2308
+ "$ref": "#/definitions/puppetTagPayloadResponse"
2309
+ }
2310
+ },
2311
+ "default": {
2312
+ "description": "An unexpected error response.",
2313
+ "schema": {
2314
+ "$ref": "#/definitions/rpcStatus"
2315
+ }
2316
+ }
2317
+ },
2318
+ "parameters": [
2319
+ {
2320
+ "name": "body",
2321
+ "in": "body",
2322
+ "required": true,
2323
+ "schema": {
2324
+ "$ref": "#/definitions/puppetTagPayloadRequest"
2325
+ }
2326
+ }
2327
+ ],
2328
+ "tags": [
2329
+ "Puppet"
2330
+ ]
2331
+ }
2332
+ },
2301
2333
  "/tag/removeContactTag": {
2302
2334
  "post": {
2303
2335
  "operationId": "Puppet_TagContactTagRemove",
@@ -2452,6 +2484,38 @@
2452
2484
  ]
2453
2485
  }
2454
2486
  },
2487
+ "/tagGroup/payload": {
2488
+ "post": {
2489
+ "operationId": "Puppet_TagGroupPayload",
2490
+ "responses": {
2491
+ "200": {
2492
+ "description": "A successful response.",
2493
+ "schema": {
2494
+ "$ref": "#/definitions/puppetTagGroupPayloadResponse"
2495
+ }
2496
+ },
2497
+ "default": {
2498
+ "description": "An unexpected error response.",
2499
+ "schema": {
2500
+ "$ref": "#/definitions/rpcStatus"
2501
+ }
2502
+ }
2503
+ },
2504
+ "parameters": [
2505
+ {
2506
+ "name": "body",
2507
+ "in": "body",
2508
+ "required": true,
2509
+ "schema": {
2510
+ "$ref": "#/definitions/puppetTagGroupPayloadRequest"
2511
+ }
2512
+ }
2513
+ ],
2514
+ "tags": [
2515
+ "Puppet"
2516
+ ]
2517
+ }
2518
+ },
2455
2519
  "/upload": {
2456
2520
  "post": {
2457
2521
  "operationId": "Puppet_Upload",
@@ -3013,7 +3077,8 @@
3013
3077
  "EVENT_TYPE_RESET",
3014
3078
  "EVENT_TYPE_LOGIN",
3015
3079
  "EVENT_TYPE_LOGOUT",
3016
- "EVENT_TYPE_DIRTY"
3080
+ "EVENT_TYPE_DIRTY",
3081
+ "EVENT_TYPE_TAG"
3017
3082
  ],
3018
3083
  "default": "EVENT_TYPE_UNSPECIFIED"
3019
3084
  },
@@ -3768,10 +3833,10 @@
3768
3833
  "puppetTagContactTagListResponse": {
3769
3834
  "type": "object",
3770
3835
  "properties": {
3771
- "payloads": {
3836
+ "tags": {
3772
3837
  "type": "array",
3773
3838
  "items": {
3774
- "$ref": "#/definitions/puppetTagPayload"
3839
+ "$ref": "#/definitions/puppetTagIdentifier"
3775
3840
  }
3776
3841
  }
3777
3842
  }
@@ -3807,8 +3872,8 @@
3807
3872
  "puppetTagGroupAddResponse": {
3808
3873
  "type": "object",
3809
3874
  "properties": {
3810
- "payload": {
3811
- "$ref": "#/definitions/puppetTagGroupPayload"
3875
+ "tagGroupId": {
3876
+ "type": "string"
3812
3877
  }
3813
3878
  }
3814
3879
  },
@@ -3826,10 +3891,10 @@
3826
3891
  "puppetTagGroupListResponse": {
3827
3892
  "type": "object",
3828
3893
  "properties": {
3829
- "payloads": {
3894
+ "tagGroupIds": {
3830
3895
  "type": "array",
3831
3896
  "items": {
3832
- "$ref": "#/definitions/puppetTagGroupPayload"
3897
+ "type": "string"
3833
3898
  }
3834
3899
  }
3835
3900
  }
@@ -3845,13 +3910,29 @@
3845
3910
  }
3846
3911
  }
3847
3912
  },
3913
+ "puppetTagGroupPayloadRequest": {
3914
+ "type": "object",
3915
+ "properties": {
3916
+ "groupId": {
3917
+ "type": "string"
3918
+ }
3919
+ }
3920
+ },
3921
+ "puppetTagGroupPayloadResponse": {
3922
+ "type": "object",
3923
+ "properties": {
3924
+ "payload": {
3925
+ "$ref": "#/definitions/puppetTagGroupPayload"
3926
+ }
3927
+ }
3928
+ },
3848
3929
  "puppetTagGroupTagListResponse": {
3849
3930
  "type": "object",
3850
3931
  "properties": {
3851
- "payloads": {
3932
+ "tags": {
3852
3933
  "type": "array",
3853
3934
  "items": {
3854
- "$ref": "#/definitions/puppetTagPayload"
3935
+ "$ref": "#/definitions/puppetTagIdentifier"
3855
3936
  }
3856
3937
  }
3857
3938
  }
@@ -3884,6 +3965,22 @@
3884
3965
  }
3885
3966
  }
3886
3967
  },
3968
+ "puppetTagPayloadRequest": {
3969
+ "type": "object",
3970
+ "properties": {
3971
+ "tag": {
3972
+ "$ref": "#/definitions/puppetTagIdentifier"
3973
+ }
3974
+ }
3975
+ },
3976
+ "puppetTagPayloadResponse": {
3977
+ "type": "object",
3978
+ "properties": {
3979
+ "payload": {
3980
+ "$ref": "#/definitions/puppetTagPayload"
3981
+ }
3982
+ }
3983
+ },
3887
3984
  "puppetTagTagAddRequest": {
3888
3985
  "type": "object",
3889
3986
  "properties": {
@@ -3898,15 +3995,15 @@
3898
3995
  "puppetTagTagAddResponse": {
3899
3996
  "type": "object",
3900
3997
  "properties": {
3901
- "payload": {
3902
- "$ref": "#/definitions/puppetTagPayload"
3998
+ "tag": {
3999
+ "$ref": "#/definitions/puppetTagIdentifier"
3903
4000
  }
3904
4001
  }
3905
4002
  },
3906
4003
  "puppetTagTagContactListResponse": {
3907
4004
  "type": "object",
3908
4005
  "properties": {
3909
- "payloads": {
4006
+ "contactIds": {
3910
4007
  "type": "array",
3911
4008
  "items": {
3912
4009
  "type": "string"
@@ -3928,10 +4025,10 @@
3928
4025
  "puppetTagTagListResponse": {
3929
4026
  "type": "object",
3930
4027
  "properties": {
3931
- "payloads": {
4028
+ "tags": {
3932
4029
  "type": "array",
3933
4030
  "items": {
3934
- "$ref": "#/definitions/puppetTagPayload"
4031
+ "$ref": "#/definitions/puppetTagIdentifier"
3935
4032
  }
3936
4033
  }
3937
4034
  }
@@ -84,8 +84,10 @@ interface IPuppetService extends grpc.ServiceDefinition<grpc.UntypedServiceImple
84
84
  tagContactTagRemove: IPuppetService_ITagContactTagRemove;
85
85
  tagGroupAdd: IPuppetService_ITagGroupAdd;
86
86
  tagGroupDelete: IPuppetService_ITagGroupDelete;
87
+ tagGroupPayload: IPuppetService_ITagGroupPayload;
87
88
  tagTagAdd: IPuppetService_ITagTagAdd;
88
89
  tagTagDelete: IPuppetService_ITagTagDelete;
90
+ tagPayload: IPuppetService_ITagPayload;
89
91
  tagGroupList: IPuppetService_ITagGroupList;
90
92
  tagGroupTagList: IPuppetService_ITagGroupTagList;
91
93
  tagTagList: IPuppetService_ITagTagList;
@@ -662,6 +664,15 @@ interface IPuppetService_ITagGroupDelete extends grpc.MethodDefinition<wechaty_p
662
664
  responseSerialize: grpc.serialize<wechaty_puppet_tag_pb.TagGroupDeleteResponse>;
663
665
  responseDeserialize: grpc.deserialize<wechaty_puppet_tag_pb.TagGroupDeleteResponse>;
664
666
  }
667
+ interface IPuppetService_ITagGroupPayload extends grpc.MethodDefinition<wechaty_puppet_tag_pb.TagGroupPayloadRequest, wechaty_puppet_tag_pb.TagGroupPayloadResponse> {
668
+ path: "/wechaty.Puppet/TagGroupPayload";
669
+ requestStream: false;
670
+ responseStream: false;
671
+ requestSerialize: grpc.serialize<wechaty_puppet_tag_pb.TagGroupPayloadRequest>;
672
+ requestDeserialize: grpc.deserialize<wechaty_puppet_tag_pb.TagGroupPayloadRequest>;
673
+ responseSerialize: grpc.serialize<wechaty_puppet_tag_pb.TagGroupPayloadResponse>;
674
+ responseDeserialize: grpc.deserialize<wechaty_puppet_tag_pb.TagGroupPayloadResponse>;
675
+ }
665
676
  interface IPuppetService_ITagTagAdd extends grpc.MethodDefinition<wechaty_puppet_tag_pb.TagTagAddRequest, wechaty_puppet_tag_pb.TagTagAddResponse> {
666
677
  path: "/wechaty.Puppet/TagTagAdd";
667
678
  requestStream: false;
@@ -680,6 +691,15 @@ interface IPuppetService_ITagTagDelete extends grpc.MethodDefinition<wechaty_pup
680
691
  responseSerialize: grpc.serialize<wechaty_puppet_tag_pb.TagTagDeleteResponse>;
681
692
  responseDeserialize: grpc.deserialize<wechaty_puppet_tag_pb.TagTagDeleteResponse>;
682
693
  }
694
+ interface IPuppetService_ITagPayload extends grpc.MethodDefinition<wechaty_puppet_tag_pb.TagPayloadRequest, wechaty_puppet_tag_pb.TagPayloadResponse> {
695
+ path: "/wechaty.Puppet/TagPayload";
696
+ requestStream: false;
697
+ responseStream: false;
698
+ requestSerialize: grpc.serialize<wechaty_puppet_tag_pb.TagPayloadRequest>;
699
+ requestDeserialize: grpc.deserialize<wechaty_puppet_tag_pb.TagPayloadRequest>;
700
+ responseSerialize: grpc.serialize<wechaty_puppet_tag_pb.TagPayloadResponse>;
701
+ responseDeserialize: grpc.deserialize<wechaty_puppet_tag_pb.TagPayloadResponse>;
702
+ }
683
703
  interface IPuppetService_ITagGroupList extends grpc.MethodDefinition<wechaty_puppet_tag_pb.TagGroupListRequest, wechaty_puppet_tag_pb.TagGroupListResponse> {
684
704
  path: "/wechaty.Puppet/TagGroupList";
685
705
  requestStream: false;
@@ -810,8 +830,10 @@ export interface IPuppetServer extends grpc.UntypedServiceImplementation {
810
830
  tagContactTagRemove: grpc.handleUnaryCall<wechaty_puppet_tag_pb.TagContactTagRemoveRequest, wechaty_puppet_tag_pb.TagContactTagRemoveResponse>;
811
831
  tagGroupAdd: grpc.handleUnaryCall<wechaty_puppet_tag_pb.TagGroupAddRequest, wechaty_puppet_tag_pb.TagGroupAddResponse>;
812
832
  tagGroupDelete: grpc.handleUnaryCall<wechaty_puppet_tag_pb.TagGroupDeleteRequest, wechaty_puppet_tag_pb.TagGroupDeleteResponse>;
833
+ tagGroupPayload: grpc.handleUnaryCall<wechaty_puppet_tag_pb.TagGroupPayloadRequest, wechaty_puppet_tag_pb.TagGroupPayloadResponse>;
813
834
  tagTagAdd: grpc.handleUnaryCall<wechaty_puppet_tag_pb.TagTagAddRequest, wechaty_puppet_tag_pb.TagTagAddResponse>;
814
835
  tagTagDelete: grpc.handleUnaryCall<wechaty_puppet_tag_pb.TagTagDeleteRequest, wechaty_puppet_tag_pb.TagTagDeleteResponse>;
836
+ tagPayload: grpc.handleUnaryCall<wechaty_puppet_tag_pb.TagPayloadRequest, wechaty_puppet_tag_pb.TagPayloadResponse>;
815
837
  tagGroupList: grpc.handleUnaryCall<wechaty_puppet_tag_pb.TagGroupListRequest, wechaty_puppet_tag_pb.TagGroupListResponse>;
816
838
  tagGroupTagList: grpc.handleUnaryCall<wechaty_puppet_tag_pb.TagGroupTagListRequest, wechaty_puppet_tag_pb.TagGroupTagListResponse>;
817
839
  tagTagList: grpc.handleUnaryCall<wechaty_puppet_tag_pb.TagTagListRequest, wechaty_puppet_tag_pb.TagTagListResponse>;
@@ -1009,12 +1031,18 @@ export interface IPuppetClient {
1009
1031
  tagGroupDelete(request: wechaty_puppet_tag_pb.TagGroupDeleteRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_tag_pb.TagGroupDeleteResponse) => void): grpc.ClientUnaryCall;
1010
1032
  tagGroupDelete(request: wechaty_puppet_tag_pb.TagGroupDeleteRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_tag_pb.TagGroupDeleteResponse) => void): grpc.ClientUnaryCall;
1011
1033
  tagGroupDelete(request: wechaty_puppet_tag_pb.TagGroupDeleteRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_tag_pb.TagGroupDeleteResponse) => void): grpc.ClientUnaryCall;
1034
+ tagGroupPayload(request: wechaty_puppet_tag_pb.TagGroupPayloadRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_tag_pb.TagGroupPayloadResponse) => void): grpc.ClientUnaryCall;
1035
+ tagGroupPayload(request: wechaty_puppet_tag_pb.TagGroupPayloadRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_tag_pb.TagGroupPayloadResponse) => void): grpc.ClientUnaryCall;
1036
+ tagGroupPayload(request: wechaty_puppet_tag_pb.TagGroupPayloadRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_tag_pb.TagGroupPayloadResponse) => void): grpc.ClientUnaryCall;
1012
1037
  tagTagAdd(request: wechaty_puppet_tag_pb.TagTagAddRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_tag_pb.TagTagAddResponse) => void): grpc.ClientUnaryCall;
1013
1038
  tagTagAdd(request: wechaty_puppet_tag_pb.TagTagAddRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_tag_pb.TagTagAddResponse) => void): grpc.ClientUnaryCall;
1014
1039
  tagTagAdd(request: wechaty_puppet_tag_pb.TagTagAddRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_tag_pb.TagTagAddResponse) => void): grpc.ClientUnaryCall;
1015
1040
  tagTagDelete(request: wechaty_puppet_tag_pb.TagTagDeleteRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_tag_pb.TagTagDeleteResponse) => void): grpc.ClientUnaryCall;
1016
1041
  tagTagDelete(request: wechaty_puppet_tag_pb.TagTagDeleteRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_tag_pb.TagTagDeleteResponse) => void): grpc.ClientUnaryCall;
1017
1042
  tagTagDelete(request: wechaty_puppet_tag_pb.TagTagDeleteRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_tag_pb.TagTagDeleteResponse) => void): grpc.ClientUnaryCall;
1043
+ tagPayload(request: wechaty_puppet_tag_pb.TagPayloadRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_tag_pb.TagPayloadResponse) => void): grpc.ClientUnaryCall;
1044
+ tagPayload(request: wechaty_puppet_tag_pb.TagPayloadRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_tag_pb.TagPayloadResponse) => void): grpc.ClientUnaryCall;
1045
+ tagPayload(request: wechaty_puppet_tag_pb.TagPayloadRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_tag_pb.TagPayloadResponse) => void): grpc.ClientUnaryCall;
1018
1046
  tagGroupList(request: wechaty_puppet_tag_pb.TagGroupListRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_tag_pb.TagGroupListResponse) => void): grpc.ClientUnaryCall;
1019
1047
  tagGroupList(request: wechaty_puppet_tag_pb.TagGroupListRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_tag_pb.TagGroupListResponse) => void): grpc.ClientUnaryCall;
1020
1048
  tagGroupList(request: wechaty_puppet_tag_pb.TagGroupListRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_tag_pb.TagGroupListResponse) => void): grpc.ClientUnaryCall;
@@ -1227,12 +1255,18 @@ export class PuppetClient extends grpc.Client implements IPuppetClient {
1227
1255
  public tagGroupDelete(request: wechaty_puppet_tag_pb.TagGroupDeleteRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_tag_pb.TagGroupDeleteResponse) => void): grpc.ClientUnaryCall;
1228
1256
  public tagGroupDelete(request: wechaty_puppet_tag_pb.TagGroupDeleteRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_tag_pb.TagGroupDeleteResponse) => void): grpc.ClientUnaryCall;
1229
1257
  public tagGroupDelete(request: wechaty_puppet_tag_pb.TagGroupDeleteRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_tag_pb.TagGroupDeleteResponse) => void): grpc.ClientUnaryCall;
1258
+ public tagGroupPayload(request: wechaty_puppet_tag_pb.TagGroupPayloadRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_tag_pb.TagGroupPayloadResponse) => void): grpc.ClientUnaryCall;
1259
+ public tagGroupPayload(request: wechaty_puppet_tag_pb.TagGroupPayloadRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_tag_pb.TagGroupPayloadResponse) => void): grpc.ClientUnaryCall;
1260
+ public tagGroupPayload(request: wechaty_puppet_tag_pb.TagGroupPayloadRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_tag_pb.TagGroupPayloadResponse) => void): grpc.ClientUnaryCall;
1230
1261
  public tagTagAdd(request: wechaty_puppet_tag_pb.TagTagAddRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_tag_pb.TagTagAddResponse) => void): grpc.ClientUnaryCall;
1231
1262
  public tagTagAdd(request: wechaty_puppet_tag_pb.TagTagAddRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_tag_pb.TagTagAddResponse) => void): grpc.ClientUnaryCall;
1232
1263
  public tagTagAdd(request: wechaty_puppet_tag_pb.TagTagAddRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_tag_pb.TagTagAddResponse) => void): grpc.ClientUnaryCall;
1233
1264
  public tagTagDelete(request: wechaty_puppet_tag_pb.TagTagDeleteRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_tag_pb.TagTagDeleteResponse) => void): grpc.ClientUnaryCall;
1234
1265
  public tagTagDelete(request: wechaty_puppet_tag_pb.TagTagDeleteRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_tag_pb.TagTagDeleteResponse) => void): grpc.ClientUnaryCall;
1235
1266
  public tagTagDelete(request: wechaty_puppet_tag_pb.TagTagDeleteRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_tag_pb.TagTagDeleteResponse) => void): grpc.ClientUnaryCall;
1267
+ public tagPayload(request: wechaty_puppet_tag_pb.TagPayloadRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_tag_pb.TagPayloadResponse) => void): grpc.ClientUnaryCall;
1268
+ public tagPayload(request: wechaty_puppet_tag_pb.TagPayloadRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_tag_pb.TagPayloadResponse) => void): grpc.ClientUnaryCall;
1269
+ public tagPayload(request: wechaty_puppet_tag_pb.TagPayloadRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_tag_pb.TagPayloadResponse) => void): grpc.ClientUnaryCall;
1236
1270
  public tagGroupList(request: wechaty_puppet_tag_pb.TagGroupListRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_tag_pb.TagGroupListResponse) => void): grpc.ClientUnaryCall;
1237
1271
  public tagGroupList(request: wechaty_puppet_tag_pb.TagGroupListRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_tag_pb.TagGroupListResponse) => void): grpc.ClientUnaryCall;
1238
1272
  public tagGroupList(request: wechaty_puppet_tag_pb.TagGroupListRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_tag_pb.TagGroupListResponse) => void): grpc.ClientUnaryCall;
@@ -1437,6 +1437,28 @@ function deserialize_wechaty_puppet_TagGroupListResponse(buffer_arg) {
1437
1437
  return wechaty_puppet_tag_pb.TagGroupListResponse.deserializeBinary(new Uint8Array(buffer_arg));
1438
1438
  }
1439
1439
 
1440
+ function serialize_wechaty_puppet_TagGroupPayloadRequest(arg) {
1441
+ if (!(arg instanceof wechaty_puppet_tag_pb.TagGroupPayloadRequest)) {
1442
+ throw new Error('Expected argument of type wechaty.puppet.TagGroupPayloadRequest');
1443
+ }
1444
+ return Buffer.from(arg.serializeBinary());
1445
+ }
1446
+
1447
+ function deserialize_wechaty_puppet_TagGroupPayloadRequest(buffer_arg) {
1448
+ return wechaty_puppet_tag_pb.TagGroupPayloadRequest.deserializeBinary(new Uint8Array(buffer_arg));
1449
+ }
1450
+
1451
+ function serialize_wechaty_puppet_TagGroupPayloadResponse(arg) {
1452
+ if (!(arg instanceof wechaty_puppet_tag_pb.TagGroupPayloadResponse)) {
1453
+ throw new Error('Expected argument of type wechaty.puppet.TagGroupPayloadResponse');
1454
+ }
1455
+ return Buffer.from(arg.serializeBinary());
1456
+ }
1457
+
1458
+ function deserialize_wechaty_puppet_TagGroupPayloadResponse(buffer_arg) {
1459
+ return wechaty_puppet_tag_pb.TagGroupPayloadResponse.deserializeBinary(new Uint8Array(buffer_arg));
1460
+ }
1461
+
1440
1462
  function serialize_wechaty_puppet_TagGroupTagListRequest(arg) {
1441
1463
  if (!(arg instanceof wechaty_puppet_tag_pb.TagGroupTagListRequest)) {
1442
1464
  throw new Error('Expected argument of type wechaty.puppet.TagGroupTagListRequest');
@@ -1459,6 +1481,28 @@ function deserialize_wechaty_puppet_TagGroupTagListResponse(buffer_arg) {
1459
1481
  return wechaty_puppet_tag_pb.TagGroupTagListResponse.deserializeBinary(new Uint8Array(buffer_arg));
1460
1482
  }
1461
1483
 
1484
+ function serialize_wechaty_puppet_TagPayloadRequest(arg) {
1485
+ if (!(arg instanceof wechaty_puppet_tag_pb.TagPayloadRequest)) {
1486
+ throw new Error('Expected argument of type wechaty.puppet.TagPayloadRequest');
1487
+ }
1488
+ return Buffer.from(arg.serializeBinary());
1489
+ }
1490
+
1491
+ function deserialize_wechaty_puppet_TagPayloadRequest(buffer_arg) {
1492
+ return wechaty_puppet_tag_pb.TagPayloadRequest.deserializeBinary(new Uint8Array(buffer_arg));
1493
+ }
1494
+
1495
+ function serialize_wechaty_puppet_TagPayloadResponse(arg) {
1496
+ if (!(arg instanceof wechaty_puppet_tag_pb.TagPayloadResponse)) {
1497
+ throw new Error('Expected argument of type wechaty.puppet.TagPayloadResponse');
1498
+ }
1499
+ return Buffer.from(arg.serializeBinary());
1500
+ }
1501
+
1502
+ function deserialize_wechaty_puppet_TagPayloadResponse(buffer_arg) {
1503
+ return wechaty_puppet_tag_pb.TagPayloadResponse.deserializeBinary(new Uint8Array(buffer_arg));
1504
+ }
1505
+
1462
1506
  function serialize_wechaty_puppet_TagTagAddRequest(arg) {
1463
1507
  if (!(arg instanceof wechaty_puppet_tag_pb.TagTagAddRequest)) {
1464
1508
  throw new Error('Expected argument of type wechaty.puppet.TagTagAddRequest');
@@ -2335,6 +2379,17 @@ tagContactTagAdd: {
2335
2379
  responseSerialize: serialize_wechaty_puppet_TagGroupDeleteResponse,
2336
2380
  responseDeserialize: deserialize_wechaty_puppet_TagGroupDeleteResponse,
2337
2381
  },
2382
+ tagGroupPayload: {
2383
+ path: '/wechaty.Puppet/TagGroupPayload',
2384
+ requestStream: false,
2385
+ responseStream: false,
2386
+ requestType: wechaty_puppet_tag_pb.TagGroupPayloadRequest,
2387
+ responseType: wechaty_puppet_tag_pb.TagGroupPayloadResponse,
2388
+ requestSerialize: serialize_wechaty_puppet_TagGroupPayloadRequest,
2389
+ requestDeserialize: deserialize_wechaty_puppet_TagGroupPayloadRequest,
2390
+ responseSerialize: serialize_wechaty_puppet_TagGroupPayloadResponse,
2391
+ responseDeserialize: deserialize_wechaty_puppet_TagGroupPayloadResponse,
2392
+ },
2338
2393
  tagTagAdd: {
2339
2394
  path: '/wechaty.Puppet/TagTagAdd',
2340
2395
  requestStream: false,
@@ -2357,6 +2412,17 @@ tagContactTagAdd: {
2357
2412
  responseSerialize: serialize_wechaty_puppet_TagTagDeleteResponse,
2358
2413
  responseDeserialize: deserialize_wechaty_puppet_TagTagDeleteResponse,
2359
2414
  },
2415
+ tagPayload: {
2416
+ path: '/wechaty.Puppet/TagPayload',
2417
+ requestStream: false,
2418
+ responseStream: false,
2419
+ requestType: wechaty_puppet_tag_pb.TagPayloadRequest,
2420
+ responseType: wechaty_puppet_tag_pb.TagPayloadResponse,
2421
+ requestSerialize: serialize_wechaty_puppet_TagPayloadRequest,
2422
+ requestDeserialize: deserialize_wechaty_puppet_TagPayloadRequest,
2423
+ responseSerialize: serialize_wechaty_puppet_TagPayloadResponse,
2424
+ responseDeserialize: deserialize_wechaty_puppet_TagPayloadResponse,
2425
+ },
2360
2426
  tagGroupList: {
2361
2427
  path: '/wechaty.Puppet/TagGroupList',
2362
2428
  requestStream: false,
@@ -582,6 +582,15 @@ type PuppetTagGroupDelete = {
582
582
  readonly responseType: typeof wechaty_puppet_tag_pb.TagGroupDeleteResponse;
583
583
  };
584
584
 
585
+ type PuppetTagGroupPayload = {
586
+ readonly methodName: string;
587
+ readonly service: typeof Puppet;
588
+ readonly requestStream: false;
589
+ readonly responseStream: false;
590
+ readonly requestType: typeof wechaty_puppet_tag_pb.TagGroupPayloadRequest;
591
+ readonly responseType: typeof wechaty_puppet_tag_pb.TagGroupPayloadResponse;
592
+ };
593
+
585
594
  type PuppetTagTagAdd = {
586
595
  readonly methodName: string;
587
596
  readonly service: typeof Puppet;
@@ -600,6 +609,15 @@ type PuppetTagTagDelete = {
600
609
  readonly responseType: typeof wechaty_puppet_tag_pb.TagTagDeleteResponse;
601
610
  };
602
611
 
612
+ type PuppetTagPayload = {
613
+ readonly methodName: string;
614
+ readonly service: typeof Puppet;
615
+ readonly requestStream: false;
616
+ readonly responseStream: false;
617
+ readonly requestType: typeof wechaty_puppet_tag_pb.TagPayloadRequest;
618
+ readonly responseType: typeof wechaty_puppet_tag_pb.TagPayloadResponse;
619
+ };
620
+
603
621
  type PuppetTagGroupList = {
604
622
  readonly methodName: string;
605
623
  readonly service: typeof Puppet;
@@ -728,8 +746,10 @@ export class Puppet {
728
746
  static readonly TagContactTagRemove: PuppetTagContactTagRemove;
729
747
  static readonly TagGroupAdd: PuppetTagGroupAdd;
730
748
  static readonly TagGroupDelete: PuppetTagGroupDelete;
749
+ static readonly TagGroupPayload: PuppetTagGroupPayload;
731
750
  static readonly TagTagAdd: PuppetTagTagAdd;
732
751
  static readonly TagTagDelete: PuppetTagTagDelete;
752
+ static readonly TagPayload: PuppetTagPayload;
733
753
  static readonly TagGroupList: PuppetTagGroupList;
734
754
  static readonly TagGroupTagList: PuppetTagGroupTagList;
735
755
  static readonly TagTagList: PuppetTagTagList;
@@ -1306,6 +1326,15 @@ export class PuppetClient {
1306
1326
  requestMessage: wechaty_puppet_tag_pb.TagGroupDeleteRequest,
1307
1327
  callback: (error: ServiceError|null, responseMessage: wechaty_puppet_tag_pb.TagGroupDeleteResponse|null) => void
1308
1328
  ): UnaryResponse;
1329
+ tagGroupPayload(
1330
+ requestMessage: wechaty_puppet_tag_pb.TagGroupPayloadRequest,
1331
+ metadata: grpc.Metadata,
1332
+ callback: (error: ServiceError|null, responseMessage: wechaty_puppet_tag_pb.TagGroupPayloadResponse|null) => void
1333
+ ): UnaryResponse;
1334
+ tagGroupPayload(
1335
+ requestMessage: wechaty_puppet_tag_pb.TagGroupPayloadRequest,
1336
+ callback: (error: ServiceError|null, responseMessage: wechaty_puppet_tag_pb.TagGroupPayloadResponse|null) => void
1337
+ ): UnaryResponse;
1309
1338
  tagTagAdd(
1310
1339
  requestMessage: wechaty_puppet_tag_pb.TagTagAddRequest,
1311
1340
  metadata: grpc.Metadata,
@@ -1324,6 +1353,15 @@ export class PuppetClient {
1324
1353
  requestMessage: wechaty_puppet_tag_pb.TagTagDeleteRequest,
1325
1354
  callback: (error: ServiceError|null, responseMessage: wechaty_puppet_tag_pb.TagTagDeleteResponse|null) => void
1326
1355
  ): UnaryResponse;
1356
+ tagPayload(
1357
+ requestMessage: wechaty_puppet_tag_pb.TagPayloadRequest,
1358
+ metadata: grpc.Metadata,
1359
+ callback: (error: ServiceError|null, responseMessage: wechaty_puppet_tag_pb.TagPayloadResponse|null) => void
1360
+ ): UnaryResponse;
1361
+ tagPayload(
1362
+ requestMessage: wechaty_puppet_tag_pb.TagPayloadRequest,
1363
+ callback: (error: ServiceError|null, responseMessage: wechaty_puppet_tag_pb.TagPayloadResponse|null) => void
1364
+ ): UnaryResponse;
1327
1365
  tagGroupList(
1328
1366
  requestMessage: wechaty_puppet_tag_pb.TagGroupListRequest,
1329
1367
  metadata: grpc.Metadata,