@juzi/wechaty-grpc 1.0.100 → 1.0.101

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 (38) hide show
  1. package/dist/cjs/out/wechaty/puppet/message_pb.d.ts +790 -0
  2. package/dist/cjs/out/wechaty/puppet/message_pb.js +8111 -1783
  3. package/dist/cjs/out/wechaty/puppet.openapi.yaml +441 -5
  4. package/dist/cjs/out/wechaty/puppet.swagger.json +686 -5
  5. package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +153 -0
  6. package/dist/cjs/out/wechaty/puppet_grpc_pb.js +297 -0
  7. package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +171 -0
  8. package/dist/cjs/out/wechaty/puppet_pb_service.js +360 -0
  9. package/dist/cjs/proto/wechaty/puppet/message.proto +127 -0
  10. package/dist/cjs/proto/wechaty/puppet.proto +54 -0
  11. package/dist/cjs/src/package-json.js +1 -1
  12. package/dist/cjs/tests/puppet-server-impl.d.ts.map +1 -1
  13. package/dist/cjs/tests/puppet-server-impl.js +45 -0
  14. package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
  15. package/dist/esm/out/wechaty/puppet/message_pb.d.ts +790 -0
  16. package/dist/esm/out/wechaty/puppet/message_pb.js +8111 -1783
  17. package/dist/esm/out/wechaty/puppet.openapi.yaml +441 -5
  18. package/dist/esm/out/wechaty/puppet.swagger.json +686 -5
  19. package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +153 -0
  20. package/dist/esm/out/wechaty/puppet_grpc_pb.js +297 -0
  21. package/dist/esm/out/wechaty/puppet_pb_service.d.ts +171 -0
  22. package/dist/esm/out/wechaty/puppet_pb_service.js +360 -0
  23. package/dist/esm/proto/wechaty/puppet/message.proto +127 -0
  24. package/dist/esm/proto/wechaty/puppet.proto +54 -0
  25. package/dist/esm/src/package-json.js +1 -1
  26. package/dist/esm/tests/puppet-server-impl.d.ts.map +1 -1
  27. package/dist/esm/tests/puppet-server-impl.js +45 -0
  28. package/dist/esm/tests/puppet-server-impl.js.map +1 -1
  29. package/out/wechaty/puppet/message_pb.d.ts +790 -0
  30. package/out/wechaty/puppet/message_pb.js +8111 -1783
  31. package/out/wechaty/puppet.openapi.yaml +441 -5
  32. package/out/wechaty/puppet.swagger.json +686 -5
  33. package/out/wechaty/puppet_grpc_pb.d.ts +153 -0
  34. package/out/wechaty/puppet_grpc_pb.js +297 -0
  35. package/out/wechaty/puppet_pb_service.d.ts +171 -0
  36. package/out/wechaty/puppet_pb_service.js +360 -0
  37. package/package.json +1 -1
  38. 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.100
12
+ version: 1.0.101
13
13
  contact:
14
14
  name: Wechaty
15
15
  url: https://github.com/wechaty/openapi
@@ -722,6 +722,186 @@ paths:
722
722
  $ref: '#/definitions/PuppetMessageSendUrlBody'
723
723
  tags:
724
724
  - Puppet
725
+ /conversations:batchForward:
726
+ post:
727
+ operationId: Puppet_MessageBatchForward
728
+ responses:
729
+ '200':
730
+ description: A successful response.
731
+ schema:
732
+ $ref: '#/definitions/puppetMessageBatchForwardResponse'
733
+ default:
734
+ description: An unexpected error response.
735
+ schema:
736
+ $ref: '#/definitions/rpcStatus'
737
+ parameters:
738
+ - name: body
739
+ in: body
740
+ required: true
741
+ schema:
742
+ $ref: '#/definitions/puppetMessageBatchForwardRequest'
743
+ tags:
744
+ - Puppet
745
+ /conversations:batchSendChannel:
746
+ post:
747
+ operationId: Puppet_MessageBatchSendChannel
748
+ responses:
749
+ '200':
750
+ description: A successful response.
751
+ schema:
752
+ $ref: '#/definitions/puppetMessageBatchSendChannelResponse'
753
+ default:
754
+ description: An unexpected error response.
755
+ schema:
756
+ $ref: '#/definitions/rpcStatus'
757
+ parameters:
758
+ - name: body
759
+ in: body
760
+ required: true
761
+ schema:
762
+ $ref: '#/definitions/puppetMessageBatchSendChannelRequest'
763
+ tags:
764
+ - Puppet
765
+ /conversations:batchSendChannelCard:
766
+ post:
767
+ operationId: Puppet_MessageBatchSendChannelCard
768
+ responses:
769
+ '200':
770
+ description: A successful response.
771
+ schema:
772
+ $ref: '#/definitions/puppetMessageBatchSendChannelCardResponse'
773
+ default:
774
+ description: An unexpected error response.
775
+ schema:
776
+ $ref: '#/definitions/rpcStatus'
777
+ parameters:
778
+ - name: body
779
+ in: body
780
+ required: true
781
+ schema:
782
+ $ref: '#/definitions/puppetMessageBatchSendChannelCardRequest'
783
+ tags:
784
+ - Puppet
785
+ /conversations:batchSendContact:
786
+ post:
787
+ operationId: Puppet_MessageBatchSendContact
788
+ responses:
789
+ '200':
790
+ description: A successful response.
791
+ schema:
792
+ $ref: '#/definitions/puppetMessageBatchSendContactResponse'
793
+ default:
794
+ description: An unexpected error response.
795
+ schema:
796
+ $ref: '#/definitions/rpcStatus'
797
+ parameters:
798
+ - name: body
799
+ in: body
800
+ required: true
801
+ schema:
802
+ $ref: '#/definitions/puppetMessageBatchSendContactRequest'
803
+ tags:
804
+ - Puppet
805
+ /conversations:batchSendFile:
806
+ post:
807
+ operationId: Puppet_MessageBatchSendFile
808
+ responses:
809
+ '200':
810
+ description: A successful response.
811
+ schema:
812
+ $ref: '#/definitions/puppetMessageBatchSendFileResponse'
813
+ default:
814
+ description: An unexpected error response.
815
+ schema:
816
+ $ref: '#/definitions/rpcStatus'
817
+ parameters:
818
+ - name: body
819
+ in: body
820
+ required: true
821
+ schema:
822
+ $ref: '#/definitions/puppetMessageBatchSendFileRequest'
823
+ tags:
824
+ - Puppet
825
+ /conversations:batchSendLocation:
826
+ post:
827
+ operationId: Puppet_MessageBatchSendLocation
828
+ responses:
829
+ '200':
830
+ description: A successful response.
831
+ schema:
832
+ $ref: '#/definitions/puppetMessageBatchSendLocationResponse'
833
+ default:
834
+ description: An unexpected error response.
835
+ schema:
836
+ $ref: '#/definitions/rpcStatus'
837
+ parameters:
838
+ - name: body
839
+ in: body
840
+ required: true
841
+ schema:
842
+ $ref: '#/definitions/puppetMessageBatchSendLocationRequest'
843
+ tags:
844
+ - Puppet
845
+ /conversations:batchSendMiniProgram:
846
+ post:
847
+ operationId: Puppet_MessageBatchSendMiniProgram
848
+ responses:
849
+ '200':
850
+ description: A successful response.
851
+ schema:
852
+ $ref: '#/definitions/puppetMessageBatchSendMiniProgramResponse'
853
+ default:
854
+ description: An unexpected error response.
855
+ schema:
856
+ $ref: '#/definitions/rpcStatus'
857
+ parameters:
858
+ - name: body
859
+ in: body
860
+ required: true
861
+ schema:
862
+ $ref: '#/definitions/puppetMessageBatchSendMiniProgramRequest'
863
+ tags:
864
+ - Puppet
865
+ /conversations:batchSendText:
866
+ post:
867
+ operationId: Puppet_MessageBatchSendText
868
+ responses:
869
+ '200':
870
+ description: A successful response.
871
+ schema:
872
+ $ref: '#/definitions/puppetMessageBatchSendTextResponse'
873
+ default:
874
+ description: An unexpected error response.
875
+ schema:
876
+ $ref: '#/definitions/rpcStatus'
877
+ parameters:
878
+ - name: body
879
+ in: body
880
+ required: true
881
+ schema:
882
+ $ref: '#/definitions/puppetMessageBatchSendTextRequest'
883
+ tags:
884
+ - Puppet
885
+ /conversations:batchSendUrl:
886
+ post:
887
+ operationId: Puppet_MessageBatchSendUrl
888
+ responses:
889
+ '200':
890
+ description: A successful response.
891
+ schema:
892
+ $ref: '#/definitions/puppetMessageBatchSendUrlResponse'
893
+ default:
894
+ description: An unexpected error response.
895
+ schema:
896
+ $ref: '#/definitions/rpcStatus'
897
+ parameters:
898
+ - name: body
899
+ in: body
900
+ required: true
901
+ schema:
902
+ $ref: '#/definitions/puppetMessageBatchSendUrlRequest'
903
+ tags:
904
+ - Puppet
725
905
  /currentUser:
726
906
  get:
727
907
  operationId: Puppet_CurrentUser
@@ -3712,6 +3892,262 @@ definitions:
3712
3892
  title: 地址名,例如xx大厦
3713
3893
  puppetLogoutResponse:
3714
3894
  type: object
3895
+ puppetMessageBatchForwardRequest:
3896
+ type: object
3897
+ properties:
3898
+ conversationIds:
3899
+ type: array
3900
+ items:
3901
+ type: string
3902
+ messageId:
3903
+ type: string
3904
+ messageIds:
3905
+ type: array
3906
+ items:
3907
+ type: string
3908
+ batchTaskId:
3909
+ type: string
3910
+ puppetMessageBatchForwardResponse:
3911
+ type: object
3912
+ properties:
3913
+ results:
3914
+ type: array
3915
+ items:
3916
+ type: object
3917
+ $ref: '#/definitions/puppetMessageBatchForwardResponseResult'
3918
+ puppetMessageBatchForwardResponseResult:
3919
+ type: object
3920
+ properties:
3921
+ conversationId:
3922
+ type: string
3923
+ id:
3924
+ type: string
3925
+ error:
3926
+ type: string
3927
+ puppetMessageBatchSendChannelCardRequest:
3928
+ type: object
3929
+ properties:
3930
+ conversationIds:
3931
+ type: array
3932
+ items:
3933
+ type: string
3934
+ channelCard:
3935
+ $ref: '#/definitions/puppetChannelCardPayload'
3936
+ batchTaskId:
3937
+ type: string
3938
+ puppetMessageBatchSendChannelCardResponse:
3939
+ type: object
3940
+ properties:
3941
+ results:
3942
+ type: array
3943
+ items:
3944
+ type: object
3945
+ $ref: '#/definitions/puppetMessageBatchSendChannelCardResponseResult'
3946
+ puppetMessageBatchSendChannelCardResponseResult:
3947
+ type: object
3948
+ properties:
3949
+ conversationId:
3950
+ type: string
3951
+ id:
3952
+ type: string
3953
+ error:
3954
+ type: string
3955
+ puppetMessageBatchSendChannelRequest:
3956
+ type: object
3957
+ properties:
3958
+ conversationIds:
3959
+ type: array
3960
+ items:
3961
+ type: string
3962
+ channel:
3963
+ $ref: '#/definitions/puppetChannelPayload'
3964
+ batchTaskId:
3965
+ type: string
3966
+ puppetMessageBatchSendChannelResponse:
3967
+ type: object
3968
+ properties:
3969
+ results:
3970
+ type: array
3971
+ items:
3972
+ type: object
3973
+ $ref: '#/definitions/puppetMessageBatchSendChannelResponseResult'
3974
+ puppetMessageBatchSendChannelResponseResult:
3975
+ type: object
3976
+ properties:
3977
+ conversationId:
3978
+ type: string
3979
+ id:
3980
+ type: string
3981
+ error:
3982
+ type: string
3983
+ puppetMessageBatchSendContactRequest:
3984
+ type: object
3985
+ properties:
3986
+ conversationIds:
3987
+ type: array
3988
+ items:
3989
+ type: string
3990
+ contactId:
3991
+ type: string
3992
+ batchTaskId:
3993
+ type: string
3994
+ puppetMessageBatchSendContactResponse:
3995
+ type: object
3996
+ properties:
3997
+ results:
3998
+ type: array
3999
+ items:
4000
+ type: object
4001
+ $ref: '#/definitions/puppetMessageBatchSendContactResponseResult'
4002
+ puppetMessageBatchSendContactResponseResult:
4003
+ type: object
4004
+ properties:
4005
+ conversationId:
4006
+ type: string
4007
+ id:
4008
+ type: string
4009
+ error:
4010
+ type: string
4011
+ puppetMessageBatchSendFileRequest:
4012
+ type: object
4013
+ properties:
4014
+ conversationIds:
4015
+ type: array
4016
+ items:
4017
+ type: string
4018
+ fileBox:
4019
+ type: string
4020
+ batchTaskId:
4021
+ type: string
4022
+ puppetMessageBatchSendFileResponse:
4023
+ type: object
4024
+ properties:
4025
+ results:
4026
+ type: array
4027
+ items:
4028
+ type: object
4029
+ $ref: '#/definitions/puppetMessageBatchSendFileResponseResult'
4030
+ puppetMessageBatchSendFileResponseResult:
4031
+ type: object
4032
+ properties:
4033
+ conversationId:
4034
+ type: string
4035
+ id:
4036
+ type: string
4037
+ error:
4038
+ type: string
4039
+ puppetMessageBatchSendLocationRequest:
4040
+ type: object
4041
+ properties:
4042
+ conversationIds:
4043
+ type: array
4044
+ items:
4045
+ type: string
4046
+ location:
4047
+ $ref: '#/definitions/puppetLocationPayload'
4048
+ batchTaskId:
4049
+ type: string
4050
+ puppetMessageBatchSendLocationResponse:
4051
+ type: object
4052
+ properties:
4053
+ results:
4054
+ type: array
4055
+ items:
4056
+ type: object
4057
+ $ref: '#/definitions/puppetMessageBatchSendLocationResponseResult'
4058
+ puppetMessageBatchSendLocationResponseResult:
4059
+ type: object
4060
+ properties:
4061
+ conversationId:
4062
+ type: string
4063
+ id:
4064
+ type: string
4065
+ error:
4066
+ type: string
4067
+ puppetMessageBatchSendMiniProgramRequest:
4068
+ type: object
4069
+ properties:
4070
+ conversationIds:
4071
+ type: array
4072
+ items:
4073
+ type: string
4074
+ miniProgram:
4075
+ $ref: '#/definitions/puppetMiniProgramPayload'
4076
+ batchTaskId:
4077
+ type: string
4078
+ puppetMessageBatchSendMiniProgramResponse:
4079
+ type: object
4080
+ properties:
4081
+ results:
4082
+ type: array
4083
+ items:
4084
+ type: object
4085
+ $ref: '#/definitions/puppetMessageBatchSendMiniProgramResponseResult'
4086
+ puppetMessageBatchSendMiniProgramResponseResult:
4087
+ type: object
4088
+ properties:
4089
+ conversationId:
4090
+ type: string
4091
+ id:
4092
+ type: string
4093
+ error:
4094
+ type: string
4095
+ puppetMessageBatchSendTextRequest:
4096
+ type: object
4097
+ properties:
4098
+ conversationIds:
4099
+ type: array
4100
+ items:
4101
+ type: string
4102
+ text:
4103
+ type: string
4104
+ batchTaskId:
4105
+ type: string
4106
+ puppetMessageBatchSendTextResponse:
4107
+ type: object
4108
+ properties:
4109
+ results:
4110
+ type: array
4111
+ items:
4112
+ type: object
4113
+ $ref: '#/definitions/puppetMessageBatchSendTextResponseResult'
4114
+ puppetMessageBatchSendTextResponseResult:
4115
+ type: object
4116
+ properties:
4117
+ conversationId:
4118
+ type: string
4119
+ id:
4120
+ type: string
4121
+ error:
4122
+ type: string
4123
+ puppetMessageBatchSendUrlRequest:
4124
+ type: object
4125
+ properties:
4126
+ conversationIds:
4127
+ type: array
4128
+ items:
4129
+ type: string
4130
+ urlLink:
4131
+ $ref: '#/definitions/puppetUrlLinkPayload'
4132
+ batchTaskId:
4133
+ type: string
4134
+ puppetMessageBatchSendUrlResponse:
4135
+ type: object
4136
+ properties:
4137
+ results:
4138
+ type: array
4139
+ items:
4140
+ type: object
4141
+ $ref: '#/definitions/puppetMessageBatchSendUrlResponseResult'
4142
+ puppetMessageBatchSendUrlResponseResult:
4143
+ type: object
4144
+ properties:
4145
+ conversationId:
4146
+ type: string
4147
+ id:
4148
+ type: string
4149
+ error:
4150
+ type: string
3715
4151
  puppetMessageCallRecordResponse:
3716
4152
  type: object
3717
4153
  properties:
@@ -4596,7 +5032,7 @@ definitions:
4596
5032
  type: object
4597
5033
  properties:
4598
5034
  payload:
4599
- $ref: '#/definitions/wechatypuppetTagGroupPayload'
5035
+ $ref: '#/definitions/wechatyPuppetTagGroupPayload'
4600
5036
  puppetTagGroupTagListResponse:
4601
5037
  type: object
4602
5038
  properties:
@@ -4613,7 +5049,7 @@ definitions:
4613
5049
  type: object
4614
5050
  properties:
4615
5051
  payload:
4616
- $ref: '#/definitions/wechatypuppetTagPayload'
5052
+ $ref: '#/definitions/wechatyPuppetTagPayload'
4617
5053
  puppetTagTagAddRequest:
4618
5054
  type: object
4619
5055
  properties:
@@ -4771,7 +5207,7 @@ definitions:
4771
5207
  items:
4772
5208
  type: object
4773
5209
  $ref: '#/definitions/protobufAny'
4774
- wechatypuppetTagGroupPayload:
5210
+ wechatyPuppetTagGroupPayload:
4775
5211
  type: object
4776
5212
  properties:
4777
5213
  id:
@@ -4780,7 +5216,7 @@ definitions:
4780
5216
  type: string
4781
5217
  type:
4782
5218
  $ref: '#/definitions/puppetTagType'
4783
- wechatypuppetTagPayload:
5219
+ wechatyPuppetTagPayload:
4784
5220
  type: object
4785
5221
  properties:
4786
5222
  id: