@juzi/wechaty-grpc 1.0.100 → 1.0.102
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/base_pb.d.ts +3 -0
- package/dist/cjs/out/wechaty/puppet/base_pb.js +4 -1
- package/dist/cjs/out/wechaty/puppet/call_pb.d.ts +361 -0
- package/dist/cjs/out/wechaty/puppet/call_pb.js +2869 -79
- 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/message_pb.d.ts +790 -0
- package/dist/cjs/out/wechaty/puppet/message_pb.js +8111 -1783
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +783 -25
- package/dist/cjs/out/wechaty/puppet.swagger.json +1158 -18
- package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +290 -0
- package/dist/cjs/out/wechaty/puppet_grpc_pb.js +563 -0
- package/dist/cjs/out/wechaty/puppet_pb.d.ts +1 -0
- package/dist/cjs/out/wechaty/puppet_pb.js +2 -0
- package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +324 -0
- package/dist/cjs/out/wechaty/puppet_pb_service.js +693 -12
- package/dist/cjs/proto/wechaty/puppet/base.proto +4 -0
- package/dist/cjs/proto/wechaty/puppet/call.proto +101 -1
- package/dist/cjs/proto/wechaty/puppet/event.proto +1 -0
- package/dist/cjs/proto/wechaty/puppet/message.proto +127 -0
- package/dist/cjs/proto/wechaty/puppet.proto +103 -0
- package/dist/cjs/src/package-json.js +1 -1
- package/dist/cjs/tests/puppet-server-impl.d.ts.map +1 -1
- package/dist/cjs/tests/puppet-server-impl.js +85 -0
- package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
- package/dist/esm/out/wechaty/puppet/base_pb.d.ts +3 -0
- package/dist/esm/out/wechaty/puppet/base_pb.js +4 -1
- package/dist/esm/out/wechaty/puppet/call_pb.d.ts +361 -0
- package/dist/esm/out/wechaty/puppet/call_pb.js +2869 -79
- 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/message_pb.d.ts +790 -0
- package/dist/esm/out/wechaty/puppet/message_pb.js +8111 -1783
- package/dist/esm/out/wechaty/puppet.openapi.yaml +783 -25
- package/dist/esm/out/wechaty/puppet.swagger.json +1158 -18
- package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +290 -0
- package/dist/esm/out/wechaty/puppet_grpc_pb.js +563 -0
- package/dist/esm/out/wechaty/puppet_pb.d.ts +1 -0
- package/dist/esm/out/wechaty/puppet_pb.js +2 -0
- package/dist/esm/out/wechaty/puppet_pb_service.d.ts +324 -0
- package/dist/esm/out/wechaty/puppet_pb_service.js +693 -12
- package/dist/esm/proto/wechaty/puppet/base.proto +4 -0
- package/dist/esm/proto/wechaty/puppet/call.proto +101 -1
- package/dist/esm/proto/wechaty/puppet/event.proto +1 -0
- package/dist/esm/proto/wechaty/puppet/message.proto +127 -0
- package/dist/esm/proto/wechaty/puppet.proto +103 -0
- package/dist/esm/src/package-json.js +1 -1
- package/dist/esm/tests/puppet-server-impl.d.ts.map +1 -1
- package/dist/esm/tests/puppet-server-impl.js +85 -0
- package/dist/esm/tests/puppet-server-impl.js.map +1 -1
- package/out/wechaty/puppet/base_pb.d.ts +3 -0
- package/out/wechaty/puppet/base_pb.js +4 -1
- package/out/wechaty/puppet/call_pb.d.ts +361 -0
- package/out/wechaty/puppet/call_pb.js +2869 -79
- package/out/wechaty/puppet/event_pb.d.ts +1 -0
- package/out/wechaty/puppet/event_pb.js +2 -1
- package/out/wechaty/puppet/message_pb.d.ts +790 -0
- package/out/wechaty/puppet/message_pb.js +8111 -1783
- package/out/wechaty/puppet.openapi.yaml +783 -25
- package/out/wechaty/puppet.swagger.json +1158 -18
- package/out/wechaty/puppet_grpc_pb.d.ts +290 -0
- package/out/wechaty/puppet_grpc_pb.js +563 -0
- package/out/wechaty/puppet_pb.d.ts +1 -0
- package/out/wechaty/puppet_pb.js +2 -0
- package/out/wechaty/puppet_pb_service.d.ts +324 -0
- package/out/wechaty/puppet_pb_service.js +693 -12
- package/package.json +1 -1
- 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
|
+
version: 1.0.102
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
15
|
url: https://github.com/wechaty/openapi
|
|
@@ -24,6 +24,197 @@ consumes:
|
|
|
24
24
|
produces:
|
|
25
25
|
- application/json
|
|
26
26
|
paths:
|
|
27
|
+
/call/invite:
|
|
28
|
+
post:
|
|
29
|
+
operationId: Puppet_CallInvite
|
|
30
|
+
responses:
|
|
31
|
+
'200':
|
|
32
|
+
description: A successful response.
|
|
33
|
+
schema:
|
|
34
|
+
$ref: '#/definitions/puppetCallInviteResponse'
|
|
35
|
+
default:
|
|
36
|
+
description: An unexpected error response.
|
|
37
|
+
schema:
|
|
38
|
+
$ref: '#/definitions/rpcStatus'
|
|
39
|
+
parameters:
|
|
40
|
+
- name: body
|
|
41
|
+
in: body
|
|
42
|
+
required: true
|
|
43
|
+
schema:
|
|
44
|
+
$ref: '#/definitions/puppetCallInviteRequest'
|
|
45
|
+
tags:
|
|
46
|
+
- Puppet
|
|
47
|
+
/call/{callId}/accept:
|
|
48
|
+
post:
|
|
49
|
+
operationId: Puppet_CallAccept
|
|
50
|
+
responses:
|
|
51
|
+
'200':
|
|
52
|
+
description: A successful response.
|
|
53
|
+
schema:
|
|
54
|
+
$ref: '#/definitions/puppetCallAcceptResponse'
|
|
55
|
+
default:
|
|
56
|
+
description: An unexpected error response.
|
|
57
|
+
schema:
|
|
58
|
+
$ref: '#/definitions/rpcStatus'
|
|
59
|
+
parameters:
|
|
60
|
+
- name: callId
|
|
61
|
+
description: 由 CallInvite 响应获得;协议端持有会话状态,凭此即可定位会话(无需 peer/media)
|
|
62
|
+
in: path
|
|
63
|
+
required: true
|
|
64
|
+
type: string
|
|
65
|
+
- name: body
|
|
66
|
+
in: body
|
|
67
|
+
required: true
|
|
68
|
+
schema:
|
|
69
|
+
$ref: '#/definitions/PuppetCallAcceptBody'
|
|
70
|
+
tags:
|
|
71
|
+
- Puppet
|
|
72
|
+
/call/{callId}/add:
|
|
73
|
+
post:
|
|
74
|
+
operationId: Puppet_CallAdd
|
|
75
|
+
responses:
|
|
76
|
+
'200':
|
|
77
|
+
description: A successful response.
|
|
78
|
+
schema:
|
|
79
|
+
$ref: '#/definitions/puppetCallAddResponse'
|
|
80
|
+
default:
|
|
81
|
+
description: An unexpected error response.
|
|
82
|
+
schema:
|
|
83
|
+
$ref: '#/definitions/rpcStatus'
|
|
84
|
+
parameters:
|
|
85
|
+
- name: callId
|
|
86
|
+
description: 由 CallInvite 响应获得
|
|
87
|
+
in: path
|
|
88
|
+
required: true
|
|
89
|
+
type: string
|
|
90
|
+
- name: body
|
|
91
|
+
in: body
|
|
92
|
+
required: true
|
|
93
|
+
schema:
|
|
94
|
+
$ref: '#/definitions/PuppetCallAddBody'
|
|
95
|
+
tags:
|
|
96
|
+
- Puppet
|
|
97
|
+
/call/{callId}/cancel:
|
|
98
|
+
post:
|
|
99
|
+
operationId: Puppet_CallCancel
|
|
100
|
+
responses:
|
|
101
|
+
'200':
|
|
102
|
+
description: A successful response.
|
|
103
|
+
schema:
|
|
104
|
+
$ref: '#/definitions/puppetCallCancelResponse'
|
|
105
|
+
default:
|
|
106
|
+
description: An unexpected error response.
|
|
107
|
+
schema:
|
|
108
|
+
$ref: '#/definitions/rpcStatus'
|
|
109
|
+
parameters:
|
|
110
|
+
- name: callId
|
|
111
|
+
description: 由 CallInvite 响应获得;协议端持有会话状态,凭此即可定位会话(无需 peer/media)
|
|
112
|
+
in: path
|
|
113
|
+
required: true
|
|
114
|
+
type: string
|
|
115
|
+
- name: body
|
|
116
|
+
in: body
|
|
117
|
+
required: true
|
|
118
|
+
schema:
|
|
119
|
+
$ref: '#/definitions/PuppetCallCancelBody'
|
|
120
|
+
tags:
|
|
121
|
+
- Puppet
|
|
122
|
+
/call/{callId}/hangup:
|
|
123
|
+
post:
|
|
124
|
+
operationId: Puppet_CallHangup
|
|
125
|
+
responses:
|
|
126
|
+
'200':
|
|
127
|
+
description: A successful response.
|
|
128
|
+
schema:
|
|
129
|
+
$ref: '#/definitions/puppetCallHangupResponse'
|
|
130
|
+
default:
|
|
131
|
+
description: An unexpected error response.
|
|
132
|
+
schema:
|
|
133
|
+
$ref: '#/definitions/rpcStatus'
|
|
134
|
+
parameters:
|
|
135
|
+
- name: callId
|
|
136
|
+
description: 由 CallInvite 响应获得;协议端持有会话状态,凭此即可定位会话(无需 peer/media)
|
|
137
|
+
in: path
|
|
138
|
+
required: true
|
|
139
|
+
type: string
|
|
140
|
+
- name: body
|
|
141
|
+
in: body
|
|
142
|
+
required: true
|
|
143
|
+
schema:
|
|
144
|
+
$ref: '#/definitions/PuppetCallHangupBody'
|
|
145
|
+
tags:
|
|
146
|
+
- Puppet
|
|
147
|
+
/call/{callId}/media-endpoint:
|
|
148
|
+
post:
|
|
149
|
+
summary: POST:签发可能在网关侧预分配媒体会话(有副作用),非幂等读取。
|
|
150
|
+
operationId: Puppet_CallMediaEndpoint
|
|
151
|
+
responses:
|
|
152
|
+
'200':
|
|
153
|
+
description: A successful response.
|
|
154
|
+
schema:
|
|
155
|
+
$ref: '#/definitions/puppetCallMediaEndpointResponse'
|
|
156
|
+
default:
|
|
157
|
+
description: An unexpected error response.
|
|
158
|
+
schema:
|
|
159
|
+
$ref: '#/definitions/rpcStatus'
|
|
160
|
+
parameters:
|
|
161
|
+
- name: callId
|
|
162
|
+
description: 由 CallInvite 响应获得
|
|
163
|
+
in: path
|
|
164
|
+
required: true
|
|
165
|
+
type: string
|
|
166
|
+
- name: body
|
|
167
|
+
in: body
|
|
168
|
+
required: true
|
|
169
|
+
schema:
|
|
170
|
+
$ref: '#/definitions/PuppetCallMediaEndpointBody'
|
|
171
|
+
tags:
|
|
172
|
+
- Puppet
|
|
173
|
+
/call/{callId}/reject:
|
|
174
|
+
post:
|
|
175
|
+
operationId: Puppet_CallReject
|
|
176
|
+
responses:
|
|
177
|
+
'200':
|
|
178
|
+
description: A successful response.
|
|
179
|
+
schema:
|
|
180
|
+
$ref: '#/definitions/puppetCallRejectResponse'
|
|
181
|
+
default:
|
|
182
|
+
description: An unexpected error response.
|
|
183
|
+
schema:
|
|
184
|
+
$ref: '#/definitions/rpcStatus'
|
|
185
|
+
parameters:
|
|
186
|
+
- name: callId
|
|
187
|
+
description: 由 CallInvite 响应获得;协议端持有会话状态,凭此即可定位会话(无需 peer/media)
|
|
188
|
+
in: path
|
|
189
|
+
required: true
|
|
190
|
+
type: string
|
|
191
|
+
- name: body
|
|
192
|
+
in: body
|
|
193
|
+
required: true
|
|
194
|
+
schema:
|
|
195
|
+
$ref: '#/definitions/PuppetCallRejectBody'
|
|
196
|
+
tags:
|
|
197
|
+
- Puppet
|
|
198
|
+
/call/{id}:
|
|
199
|
+
get:
|
|
200
|
+
operationId: Puppet_CallPayload
|
|
201
|
+
responses:
|
|
202
|
+
'200':
|
|
203
|
+
description: A successful response.
|
|
204
|
+
schema:
|
|
205
|
+
$ref: '#/definitions/puppetCallPayloadResponse'
|
|
206
|
+
default:
|
|
207
|
+
description: An unexpected error response.
|
|
208
|
+
schema:
|
|
209
|
+
$ref: '#/definitions/rpcStatus'
|
|
210
|
+
parameters:
|
|
211
|
+
- name: id
|
|
212
|
+
description: call_id
|
|
213
|
+
in: path
|
|
214
|
+
required: true
|
|
215
|
+
type: string
|
|
216
|
+
tags:
|
|
217
|
+
- Puppet
|
|
27
218
|
/cancel_verify_code:
|
|
28
219
|
post:
|
|
29
220
|
operationId: Puppet_CancelVerifyCode
|
|
@@ -437,6 +628,9 @@ paths:
|
|
|
437
628
|
- PAYLOAD_TYPE_POST
|
|
438
629
|
- PAYLOAD_TYPE_TAG
|
|
439
630
|
- PAYLOAD_TYPE_TAG_GROUP
|
|
631
|
+
- PAYLOAD_TYPE_WXXD_PRODUCT
|
|
632
|
+
- PAYLOAD_TYPE_WXXD_ORDER
|
|
633
|
+
- PAYLOAD_TYPE_CALL
|
|
440
634
|
pattern: PAYLOAD_TYPE_CONTACT
|
|
441
635
|
tags:
|
|
442
636
|
- Puppet
|
|
@@ -669,57 +863,237 @@ paths:
|
|
|
669
863
|
in: body
|
|
670
864
|
required: true
|
|
671
865
|
schema:
|
|
672
|
-
$ref: '#/definitions/PuppetMessageSendPostBody'
|
|
866
|
+
$ref: '#/definitions/PuppetMessageSendPostBody'
|
|
867
|
+
tags:
|
|
868
|
+
- Puppet
|
|
869
|
+
/conversations/{conversationId}/text:
|
|
870
|
+
post:
|
|
871
|
+
operationId: Puppet_MessageSendText
|
|
872
|
+
responses:
|
|
873
|
+
'200':
|
|
874
|
+
description: A successful response.
|
|
875
|
+
schema:
|
|
876
|
+
$ref: '#/definitions/puppetMessageSendTextResponse'
|
|
877
|
+
default:
|
|
878
|
+
description: An unexpected error response.
|
|
879
|
+
schema:
|
|
880
|
+
$ref: '#/definitions/rpcStatus'
|
|
881
|
+
parameters:
|
|
882
|
+
- name: conversationId
|
|
883
|
+
description: 对话id
|
|
884
|
+
in: path
|
|
885
|
+
required: true
|
|
886
|
+
type: string
|
|
887
|
+
- name: body
|
|
888
|
+
in: body
|
|
889
|
+
required: true
|
|
890
|
+
schema:
|
|
891
|
+
$ref: '#/definitions/PuppetMessageSendTextBody'
|
|
892
|
+
tags:
|
|
893
|
+
- Puppet
|
|
894
|
+
/conversations/{conversationId}/url-link:
|
|
895
|
+
post:
|
|
896
|
+
operationId: Puppet_MessageSendUrl
|
|
897
|
+
responses:
|
|
898
|
+
'200':
|
|
899
|
+
description: A successful response.
|
|
900
|
+
schema:
|
|
901
|
+
$ref: '#/definitions/puppetMessageSendUrlResponse'
|
|
902
|
+
default:
|
|
903
|
+
description: An unexpected error response.
|
|
904
|
+
schema:
|
|
905
|
+
$ref: '#/definitions/rpcStatus'
|
|
906
|
+
parameters:
|
|
907
|
+
- name: conversationId
|
|
908
|
+
description: 对话id
|
|
909
|
+
in: path
|
|
910
|
+
required: true
|
|
911
|
+
type: string
|
|
912
|
+
- name: body
|
|
913
|
+
in: body
|
|
914
|
+
required: true
|
|
915
|
+
schema:
|
|
916
|
+
$ref: '#/definitions/PuppetMessageSendUrlBody'
|
|
917
|
+
tags:
|
|
918
|
+
- Puppet
|
|
919
|
+
/conversations:batchForward:
|
|
920
|
+
post:
|
|
921
|
+
operationId: Puppet_MessageBatchForward
|
|
922
|
+
responses:
|
|
923
|
+
'200':
|
|
924
|
+
description: A successful response.
|
|
925
|
+
schema:
|
|
926
|
+
$ref: '#/definitions/puppetMessageBatchForwardResponse'
|
|
927
|
+
default:
|
|
928
|
+
description: An unexpected error response.
|
|
929
|
+
schema:
|
|
930
|
+
$ref: '#/definitions/rpcStatus'
|
|
931
|
+
parameters:
|
|
932
|
+
- name: body
|
|
933
|
+
in: body
|
|
934
|
+
required: true
|
|
935
|
+
schema:
|
|
936
|
+
$ref: '#/definitions/puppetMessageBatchForwardRequest'
|
|
937
|
+
tags:
|
|
938
|
+
- Puppet
|
|
939
|
+
/conversations:batchSendChannel:
|
|
940
|
+
post:
|
|
941
|
+
operationId: Puppet_MessageBatchSendChannel
|
|
942
|
+
responses:
|
|
943
|
+
'200':
|
|
944
|
+
description: A successful response.
|
|
945
|
+
schema:
|
|
946
|
+
$ref: '#/definitions/puppetMessageBatchSendChannelResponse'
|
|
947
|
+
default:
|
|
948
|
+
description: An unexpected error response.
|
|
949
|
+
schema:
|
|
950
|
+
$ref: '#/definitions/rpcStatus'
|
|
951
|
+
parameters:
|
|
952
|
+
- name: body
|
|
953
|
+
in: body
|
|
954
|
+
required: true
|
|
955
|
+
schema:
|
|
956
|
+
$ref: '#/definitions/puppetMessageBatchSendChannelRequest'
|
|
957
|
+
tags:
|
|
958
|
+
- Puppet
|
|
959
|
+
/conversations:batchSendChannelCard:
|
|
960
|
+
post:
|
|
961
|
+
operationId: Puppet_MessageBatchSendChannelCard
|
|
962
|
+
responses:
|
|
963
|
+
'200':
|
|
964
|
+
description: A successful response.
|
|
965
|
+
schema:
|
|
966
|
+
$ref: '#/definitions/puppetMessageBatchSendChannelCardResponse'
|
|
967
|
+
default:
|
|
968
|
+
description: An unexpected error response.
|
|
969
|
+
schema:
|
|
970
|
+
$ref: '#/definitions/rpcStatus'
|
|
971
|
+
parameters:
|
|
972
|
+
- name: body
|
|
973
|
+
in: body
|
|
974
|
+
required: true
|
|
975
|
+
schema:
|
|
976
|
+
$ref: '#/definitions/puppetMessageBatchSendChannelCardRequest'
|
|
977
|
+
tags:
|
|
978
|
+
- Puppet
|
|
979
|
+
/conversations:batchSendContact:
|
|
980
|
+
post:
|
|
981
|
+
operationId: Puppet_MessageBatchSendContact
|
|
982
|
+
responses:
|
|
983
|
+
'200':
|
|
984
|
+
description: A successful response.
|
|
985
|
+
schema:
|
|
986
|
+
$ref: '#/definitions/puppetMessageBatchSendContactResponse'
|
|
987
|
+
default:
|
|
988
|
+
description: An unexpected error response.
|
|
989
|
+
schema:
|
|
990
|
+
$ref: '#/definitions/rpcStatus'
|
|
991
|
+
parameters:
|
|
992
|
+
- name: body
|
|
993
|
+
in: body
|
|
994
|
+
required: true
|
|
995
|
+
schema:
|
|
996
|
+
$ref: '#/definitions/puppetMessageBatchSendContactRequest'
|
|
997
|
+
tags:
|
|
998
|
+
- Puppet
|
|
999
|
+
/conversations:batchSendFile:
|
|
1000
|
+
post:
|
|
1001
|
+
operationId: Puppet_MessageBatchSendFile
|
|
1002
|
+
responses:
|
|
1003
|
+
'200':
|
|
1004
|
+
description: A successful response.
|
|
1005
|
+
schema:
|
|
1006
|
+
$ref: '#/definitions/puppetMessageBatchSendFileResponse'
|
|
1007
|
+
default:
|
|
1008
|
+
description: An unexpected error response.
|
|
1009
|
+
schema:
|
|
1010
|
+
$ref: '#/definitions/rpcStatus'
|
|
1011
|
+
parameters:
|
|
1012
|
+
- name: body
|
|
1013
|
+
in: body
|
|
1014
|
+
required: true
|
|
1015
|
+
schema:
|
|
1016
|
+
$ref: '#/definitions/puppetMessageBatchSendFileRequest'
|
|
1017
|
+
tags:
|
|
1018
|
+
- Puppet
|
|
1019
|
+
/conversations:batchSendLocation:
|
|
1020
|
+
post:
|
|
1021
|
+
operationId: Puppet_MessageBatchSendLocation
|
|
1022
|
+
responses:
|
|
1023
|
+
'200':
|
|
1024
|
+
description: A successful response.
|
|
1025
|
+
schema:
|
|
1026
|
+
$ref: '#/definitions/puppetMessageBatchSendLocationResponse'
|
|
1027
|
+
default:
|
|
1028
|
+
description: An unexpected error response.
|
|
1029
|
+
schema:
|
|
1030
|
+
$ref: '#/definitions/rpcStatus'
|
|
1031
|
+
parameters:
|
|
1032
|
+
- name: body
|
|
1033
|
+
in: body
|
|
1034
|
+
required: true
|
|
1035
|
+
schema:
|
|
1036
|
+
$ref: '#/definitions/puppetMessageBatchSendLocationRequest'
|
|
1037
|
+
tags:
|
|
1038
|
+
- Puppet
|
|
1039
|
+
/conversations:batchSendMiniProgram:
|
|
1040
|
+
post:
|
|
1041
|
+
operationId: Puppet_MessageBatchSendMiniProgram
|
|
1042
|
+
responses:
|
|
1043
|
+
'200':
|
|
1044
|
+
description: A successful response.
|
|
1045
|
+
schema:
|
|
1046
|
+
$ref: '#/definitions/puppetMessageBatchSendMiniProgramResponse'
|
|
1047
|
+
default:
|
|
1048
|
+
description: An unexpected error response.
|
|
1049
|
+
schema:
|
|
1050
|
+
$ref: '#/definitions/rpcStatus'
|
|
1051
|
+
parameters:
|
|
1052
|
+
- name: body
|
|
1053
|
+
in: body
|
|
1054
|
+
required: true
|
|
1055
|
+
schema:
|
|
1056
|
+
$ref: '#/definitions/puppetMessageBatchSendMiniProgramRequest'
|
|
673
1057
|
tags:
|
|
674
1058
|
- Puppet
|
|
675
|
-
/conversations
|
|
1059
|
+
/conversations:batchSendText:
|
|
676
1060
|
post:
|
|
677
|
-
operationId:
|
|
1061
|
+
operationId: Puppet_MessageBatchSendText
|
|
678
1062
|
responses:
|
|
679
1063
|
'200':
|
|
680
1064
|
description: A successful response.
|
|
681
1065
|
schema:
|
|
682
|
-
$ref: '#/definitions/
|
|
1066
|
+
$ref: '#/definitions/puppetMessageBatchSendTextResponse'
|
|
683
1067
|
default:
|
|
684
1068
|
description: An unexpected error response.
|
|
685
1069
|
schema:
|
|
686
1070
|
$ref: '#/definitions/rpcStatus'
|
|
687
1071
|
parameters:
|
|
688
|
-
- name: conversationId
|
|
689
|
-
description: 对话id
|
|
690
|
-
in: path
|
|
691
|
-
required: true
|
|
692
|
-
type: string
|
|
693
1072
|
- name: body
|
|
694
1073
|
in: body
|
|
695
1074
|
required: true
|
|
696
1075
|
schema:
|
|
697
|
-
$ref: '#/definitions/
|
|
1076
|
+
$ref: '#/definitions/puppetMessageBatchSendTextRequest'
|
|
698
1077
|
tags:
|
|
699
1078
|
- Puppet
|
|
700
|
-
/conversations
|
|
1079
|
+
/conversations:batchSendUrl:
|
|
701
1080
|
post:
|
|
702
|
-
operationId:
|
|
1081
|
+
operationId: Puppet_MessageBatchSendUrl
|
|
703
1082
|
responses:
|
|
704
1083
|
'200':
|
|
705
1084
|
description: A successful response.
|
|
706
1085
|
schema:
|
|
707
|
-
$ref: '#/definitions/
|
|
1086
|
+
$ref: '#/definitions/puppetMessageBatchSendUrlResponse'
|
|
708
1087
|
default:
|
|
709
1088
|
description: An unexpected error response.
|
|
710
1089
|
schema:
|
|
711
1090
|
$ref: '#/definitions/rpcStatus'
|
|
712
1091
|
parameters:
|
|
713
|
-
- name: conversationId
|
|
714
|
-
description: 对话id
|
|
715
|
-
in: path
|
|
716
|
-
required: true
|
|
717
|
-
type: string
|
|
718
1092
|
- name: body
|
|
719
1093
|
in: body
|
|
720
1094
|
required: true
|
|
721
1095
|
schema:
|
|
722
|
-
$ref: '#/definitions/
|
|
1096
|
+
$ref: '#/definitions/puppetMessageBatchSendUrlRequest'
|
|
723
1097
|
tags:
|
|
724
1098
|
- Puppet
|
|
725
1099
|
/currentUser:
|
|
@@ -1036,6 +1410,9 @@ paths:
|
|
|
1036
1410
|
- PAYLOAD_TYPE_POST
|
|
1037
1411
|
- PAYLOAD_TYPE_TAG
|
|
1038
1412
|
- PAYLOAD_TYPE_TAG_GROUP
|
|
1413
|
+
- PAYLOAD_TYPE_WXXD_PRODUCT
|
|
1414
|
+
- PAYLOAD_TYPE_WXXD_ORDER
|
|
1415
|
+
- PAYLOAD_TYPE_CALL
|
|
1039
1416
|
pattern: PAYLOAD_TYPE_FRIENDSHIP
|
|
1040
1417
|
tags:
|
|
1041
1418
|
- Puppet
|
|
@@ -1251,6 +1628,9 @@ paths:
|
|
|
1251
1628
|
- PAYLOAD_TYPE_POST
|
|
1252
1629
|
- PAYLOAD_TYPE_TAG
|
|
1253
1630
|
- PAYLOAD_TYPE_TAG_GROUP
|
|
1631
|
+
- PAYLOAD_TYPE_WXXD_PRODUCT
|
|
1632
|
+
- PAYLOAD_TYPE_WXXD_ORDER
|
|
1633
|
+
- PAYLOAD_TYPE_CALL
|
|
1254
1634
|
pattern: PAYLOAD_TYPE_MESSAGE
|
|
1255
1635
|
tags:
|
|
1256
1636
|
- Puppet
|
|
@@ -1984,6 +2364,9 @@ paths:
|
|
|
1984
2364
|
- PAYLOAD_TYPE_POST
|
|
1985
2365
|
- PAYLOAD_TYPE_TAG
|
|
1986
2366
|
- PAYLOAD_TYPE_TAG_GROUP
|
|
2367
|
+
- PAYLOAD_TYPE_WXXD_PRODUCT
|
|
2368
|
+
- PAYLOAD_TYPE_WXXD_ORDER
|
|
2369
|
+
- PAYLOAD_TYPE_CALL
|
|
1987
2370
|
pattern: PAYLOAD_TYPE_ROOM_MEMBER
|
|
1988
2371
|
tags:
|
|
1989
2372
|
- Puppet
|
|
@@ -2018,6 +2401,9 @@ paths:
|
|
|
2018
2401
|
- PAYLOAD_TYPE_POST
|
|
2019
2402
|
- PAYLOAD_TYPE_TAG
|
|
2020
2403
|
- PAYLOAD_TYPE_TAG_GROUP
|
|
2404
|
+
- PAYLOAD_TYPE_WXXD_PRODUCT
|
|
2405
|
+
- PAYLOAD_TYPE_WXXD_ORDER
|
|
2406
|
+
- PAYLOAD_TYPE_CALL
|
|
2021
2407
|
pattern: PAYLOAD_TYPE_ROOM
|
|
2022
2408
|
tags:
|
|
2023
2409
|
- Puppet
|
|
@@ -2788,6 +3174,43 @@ definitions:
|
|
|
2788
3174
|
type: array
|
|
2789
3175
|
items:
|
|
2790
3176
|
type: string
|
|
3177
|
+
PuppetCallAcceptBody:
|
|
3178
|
+
type: object
|
|
3179
|
+
title: 被叫接听来电。
|
|
3180
|
+
PuppetCallAddBody:
|
|
3181
|
+
type: object
|
|
3182
|
+
properties:
|
|
3183
|
+
contactIds:
|
|
3184
|
+
type: array
|
|
3185
|
+
items:
|
|
3186
|
+
type: string
|
|
3187
|
+
title: 新增受邀方 contactId 列表(不含已在通话中的参与者)
|
|
3188
|
+
title: |-
|
|
3189
|
+
通话中途拉人(errors-only 契约):
|
|
3190
|
+
- 新参与者的应答回执(响铃/接听/拒接)一律经 EVENT_TYPE_CALL 事件上行,本响应恒为空;
|
|
3191
|
+
- 拉人特有的失败(通话不存在/已结束、人数上限等)经 gRPC status error 返回。
|
|
3192
|
+
PuppetCallCancelBody:
|
|
3193
|
+
type: object
|
|
3194
|
+
title: 接通前主叫取消呼叫。
|
|
3195
|
+
PuppetCallHangupBody:
|
|
3196
|
+
type: object
|
|
3197
|
+
properties:
|
|
3198
|
+
reason:
|
|
3199
|
+
type: string
|
|
3200
|
+
title: 可空,空串表示无
|
|
3201
|
+
title: 接通后任一方挂断。
|
|
3202
|
+
PuppetCallMediaEndpointBody:
|
|
3203
|
+
type: object
|
|
3204
|
+
title: |-
|
|
3205
|
+
媒体入场券:按 call_id 向协议端换取媒体网关协商入口。
|
|
3206
|
+
签发可能在网关侧预分配媒体会话(有副作用),故服务端不得缓存响应、客户端按需拉取。
|
|
3207
|
+
PuppetCallRejectBody:
|
|
3208
|
+
type: object
|
|
3209
|
+
properties:
|
|
3210
|
+
reason:
|
|
3211
|
+
type: string
|
|
3212
|
+
title: 可空,空串表示无
|
|
3213
|
+
title: 被叫拒接来电。
|
|
2791
3214
|
PuppetContactAliasBody:
|
|
2792
3215
|
type: object
|
|
2793
3216
|
properties:
|
|
@@ -3059,6 +3482,78 @@ definitions:
|
|
|
3059
3482
|
- BROADCAST_TARGET_STATUS_NOT_FRIEND
|
|
3060
3483
|
- BROADCAST_TARGET_STATUS_OCCUPIED
|
|
3061
3484
|
default: BROADCAST_TARGET_STATUS_UNSENT
|
|
3485
|
+
puppetCallAcceptResponse:
|
|
3486
|
+
type: object
|
|
3487
|
+
puppetCallAddResponse:
|
|
3488
|
+
type: object
|
|
3489
|
+
puppetCallCancelResponse:
|
|
3490
|
+
type: object
|
|
3491
|
+
puppetCallHangupResponse:
|
|
3492
|
+
type: object
|
|
3493
|
+
puppetCallInviteRequest:
|
|
3494
|
+
type: object
|
|
3495
|
+
properties:
|
|
3496
|
+
contactIds:
|
|
3497
|
+
type: array
|
|
3498
|
+
items:
|
|
3499
|
+
type: string
|
|
3500
|
+
title: |-
|
|
3501
|
+
受邀方 contactId 列表(不含发起方):单元素 = 1v1 通话,多元素 = 群通话;
|
|
3502
|
+
无论几人,一通通话只铸造一个 call_id。
|
|
3503
|
+
media:
|
|
3504
|
+
$ref: '#/definitions/puppetCallType'
|
|
3505
|
+
title: 必填:媒体类型(VOICE/VIDEO),复用既有 CallType;零值 CALL_TYPE_UNKNOWN 会被 server 拒绝
|
|
3506
|
+
title: 发起呼叫请求:callId 不由主叫携带,而是由 puppet 实现侧生成并经 CallInviteResponse 返回。
|
|
3507
|
+
puppetCallInviteResponse:
|
|
3508
|
+
type: object
|
|
3509
|
+
properties:
|
|
3510
|
+
callId:
|
|
3511
|
+
type: string
|
|
3512
|
+
title: |-
|
|
3513
|
+
CallInvite 响应:
|
|
3514
|
+
- call_id 由 puppet 实现侧(协议端)生成并经本响应返回,全链路以此关联控制面与媒体旁路;
|
|
3515
|
+
- 上行 EVENT_TYPE_CALL 事件可能先于本响应到达,客户端须容忍乱序;
|
|
3516
|
+
- 后续控制 RPC(CallAccept/CallReject/CallCancel/CallHangup)凭此 call_id 引用本通通话。
|
|
3517
|
+
puppetCallMediaEndpointResponse:
|
|
3518
|
+
type: object
|
|
3519
|
+
properties:
|
|
3520
|
+
url:
|
|
3521
|
+
type: string
|
|
3522
|
+
title: 媒体网关协商入口(非媒体流地址本身)
|
|
3523
|
+
token:
|
|
3524
|
+
type: string
|
|
3525
|
+
title: 短时效凭证,绑定 call_id + 本端身份
|
|
3526
|
+
expiresAt:
|
|
3527
|
+
type: string
|
|
3528
|
+
format: date-time
|
|
3529
|
+
title: 凭证过期时刻;不设置 = 不过期;过期后重新拉取本 RPC
|
|
3530
|
+
protocol:
|
|
3531
|
+
type: string
|
|
3532
|
+
title: 入口方言(如 whip / livekit / 自定义),由媒体 SDK 消费
|
|
3533
|
+
puppetCallPayloadResponse:
|
|
3534
|
+
type: object
|
|
3535
|
+
properties:
|
|
3536
|
+
id:
|
|
3537
|
+
type: string
|
|
3538
|
+
starter:
|
|
3539
|
+
type: string
|
|
3540
|
+
title: 发起方 contactId;空串 = 协议端不可知(如中途被拉入者视角)
|
|
3541
|
+
participants:
|
|
3542
|
+
type: array
|
|
3543
|
+
items:
|
|
3544
|
+
type: string
|
|
3545
|
+
title: 当前全量参与者名册
|
|
3546
|
+
media:
|
|
3547
|
+
$ref: '#/definitions/puppetCallType'
|
|
3548
|
+
title: 当前媒体类型(语音↔视频切换经 dirty 反映)
|
|
3549
|
+
startTime:
|
|
3550
|
+
type: string
|
|
3551
|
+
format: date-time
|
|
3552
|
+
title: 通话发起时刻;接通时刻不在此(等于上行 Accept 事件的 timestamp)
|
|
3553
|
+
endTime:
|
|
3554
|
+
type: string
|
|
3555
|
+
format: date-time
|
|
3556
|
+
title: 通话结束时刻;未设置 = 通话进行中
|
|
3062
3557
|
puppetCallRecordPayload:
|
|
3063
3558
|
type: object
|
|
3064
3559
|
properties:
|
|
@@ -3075,6 +3570,8 @@ definitions:
|
|
|
3075
3570
|
$ref: '#/definitions/puppetCallType'
|
|
3076
3571
|
status:
|
|
3077
3572
|
$ref: '#/definitions/puppetCallStatus'
|
|
3573
|
+
puppetCallRejectResponse:
|
|
3574
|
+
type: object
|
|
3078
3575
|
puppetCallStatus:
|
|
3079
3576
|
type: string
|
|
3080
3577
|
enum:
|
|
@@ -3089,7 +3586,7 @@ definitions:
|
|
|
3089
3586
|
- CALL_STATUS_UNKNOWN: 不明确
|
|
3090
3587
|
- CALL_STATUS_CANCELED: 自己取消
|
|
3091
3588
|
- CALL_STATUS_REJECTED: 对方拒接
|
|
3092
|
-
- CALL_STATUS_MISSED:
|
|
3589
|
+
- CALL_STATUS_MISSED: 未接
|
|
3093
3590
|
- CALL_STATUS_ONGOING: 正在通话
|
|
3094
3591
|
- CALL_STATUS_ENDED: 已结束
|
|
3095
3592
|
title: 类型枚举
|
|
@@ -3507,6 +4004,7 @@ definitions:
|
|
|
3507
4004
|
- EVENT_TYPE_ROOM_ANNOUNCE
|
|
3508
4005
|
- EVENT_TYPE_VERIFY_CODE
|
|
3509
4006
|
- EVENT_TYPE_VERIFY_SLIDE
|
|
4007
|
+
- EVENT_TYPE_CALL
|
|
3510
4008
|
default: EVENT_TYPE_UNSPECIFIED
|
|
3511
4009
|
puppetFriendshipAcceptResponse:
|
|
3512
4010
|
type: object
|
|
@@ -3712,6 +4210,262 @@ definitions:
|
|
|
3712
4210
|
title: 地址名,例如xx大厦
|
|
3713
4211
|
puppetLogoutResponse:
|
|
3714
4212
|
type: object
|
|
4213
|
+
puppetMessageBatchForwardRequest:
|
|
4214
|
+
type: object
|
|
4215
|
+
properties:
|
|
4216
|
+
conversationIds:
|
|
4217
|
+
type: array
|
|
4218
|
+
items:
|
|
4219
|
+
type: string
|
|
4220
|
+
messageId:
|
|
4221
|
+
type: string
|
|
4222
|
+
messageIds:
|
|
4223
|
+
type: array
|
|
4224
|
+
items:
|
|
4225
|
+
type: string
|
|
4226
|
+
batchTaskId:
|
|
4227
|
+
type: string
|
|
4228
|
+
puppetMessageBatchForwardResponse:
|
|
4229
|
+
type: object
|
|
4230
|
+
properties:
|
|
4231
|
+
results:
|
|
4232
|
+
type: array
|
|
4233
|
+
items:
|
|
4234
|
+
type: object
|
|
4235
|
+
$ref: '#/definitions/puppetMessageBatchForwardResponseResult'
|
|
4236
|
+
puppetMessageBatchForwardResponseResult:
|
|
4237
|
+
type: object
|
|
4238
|
+
properties:
|
|
4239
|
+
conversationId:
|
|
4240
|
+
type: string
|
|
4241
|
+
id:
|
|
4242
|
+
type: string
|
|
4243
|
+
error:
|
|
4244
|
+
type: string
|
|
4245
|
+
puppetMessageBatchSendChannelCardRequest:
|
|
4246
|
+
type: object
|
|
4247
|
+
properties:
|
|
4248
|
+
conversationIds:
|
|
4249
|
+
type: array
|
|
4250
|
+
items:
|
|
4251
|
+
type: string
|
|
4252
|
+
channelCard:
|
|
4253
|
+
$ref: '#/definitions/puppetChannelCardPayload'
|
|
4254
|
+
batchTaskId:
|
|
4255
|
+
type: string
|
|
4256
|
+
puppetMessageBatchSendChannelCardResponse:
|
|
4257
|
+
type: object
|
|
4258
|
+
properties:
|
|
4259
|
+
results:
|
|
4260
|
+
type: array
|
|
4261
|
+
items:
|
|
4262
|
+
type: object
|
|
4263
|
+
$ref: '#/definitions/puppetMessageBatchSendChannelCardResponseResult'
|
|
4264
|
+
puppetMessageBatchSendChannelCardResponseResult:
|
|
4265
|
+
type: object
|
|
4266
|
+
properties:
|
|
4267
|
+
conversationId:
|
|
4268
|
+
type: string
|
|
4269
|
+
id:
|
|
4270
|
+
type: string
|
|
4271
|
+
error:
|
|
4272
|
+
type: string
|
|
4273
|
+
puppetMessageBatchSendChannelRequest:
|
|
4274
|
+
type: object
|
|
4275
|
+
properties:
|
|
4276
|
+
conversationIds:
|
|
4277
|
+
type: array
|
|
4278
|
+
items:
|
|
4279
|
+
type: string
|
|
4280
|
+
channel:
|
|
4281
|
+
$ref: '#/definitions/puppetChannelPayload'
|
|
4282
|
+
batchTaskId:
|
|
4283
|
+
type: string
|
|
4284
|
+
puppetMessageBatchSendChannelResponse:
|
|
4285
|
+
type: object
|
|
4286
|
+
properties:
|
|
4287
|
+
results:
|
|
4288
|
+
type: array
|
|
4289
|
+
items:
|
|
4290
|
+
type: object
|
|
4291
|
+
$ref: '#/definitions/puppetMessageBatchSendChannelResponseResult'
|
|
4292
|
+
puppetMessageBatchSendChannelResponseResult:
|
|
4293
|
+
type: object
|
|
4294
|
+
properties:
|
|
4295
|
+
conversationId:
|
|
4296
|
+
type: string
|
|
4297
|
+
id:
|
|
4298
|
+
type: string
|
|
4299
|
+
error:
|
|
4300
|
+
type: string
|
|
4301
|
+
puppetMessageBatchSendContactRequest:
|
|
4302
|
+
type: object
|
|
4303
|
+
properties:
|
|
4304
|
+
conversationIds:
|
|
4305
|
+
type: array
|
|
4306
|
+
items:
|
|
4307
|
+
type: string
|
|
4308
|
+
contactId:
|
|
4309
|
+
type: string
|
|
4310
|
+
batchTaskId:
|
|
4311
|
+
type: string
|
|
4312
|
+
puppetMessageBatchSendContactResponse:
|
|
4313
|
+
type: object
|
|
4314
|
+
properties:
|
|
4315
|
+
results:
|
|
4316
|
+
type: array
|
|
4317
|
+
items:
|
|
4318
|
+
type: object
|
|
4319
|
+
$ref: '#/definitions/puppetMessageBatchSendContactResponseResult'
|
|
4320
|
+
puppetMessageBatchSendContactResponseResult:
|
|
4321
|
+
type: object
|
|
4322
|
+
properties:
|
|
4323
|
+
conversationId:
|
|
4324
|
+
type: string
|
|
4325
|
+
id:
|
|
4326
|
+
type: string
|
|
4327
|
+
error:
|
|
4328
|
+
type: string
|
|
4329
|
+
puppetMessageBatchSendFileRequest:
|
|
4330
|
+
type: object
|
|
4331
|
+
properties:
|
|
4332
|
+
conversationIds:
|
|
4333
|
+
type: array
|
|
4334
|
+
items:
|
|
4335
|
+
type: string
|
|
4336
|
+
fileBox:
|
|
4337
|
+
type: string
|
|
4338
|
+
batchTaskId:
|
|
4339
|
+
type: string
|
|
4340
|
+
puppetMessageBatchSendFileResponse:
|
|
4341
|
+
type: object
|
|
4342
|
+
properties:
|
|
4343
|
+
results:
|
|
4344
|
+
type: array
|
|
4345
|
+
items:
|
|
4346
|
+
type: object
|
|
4347
|
+
$ref: '#/definitions/puppetMessageBatchSendFileResponseResult'
|
|
4348
|
+
puppetMessageBatchSendFileResponseResult:
|
|
4349
|
+
type: object
|
|
4350
|
+
properties:
|
|
4351
|
+
conversationId:
|
|
4352
|
+
type: string
|
|
4353
|
+
id:
|
|
4354
|
+
type: string
|
|
4355
|
+
error:
|
|
4356
|
+
type: string
|
|
4357
|
+
puppetMessageBatchSendLocationRequest:
|
|
4358
|
+
type: object
|
|
4359
|
+
properties:
|
|
4360
|
+
conversationIds:
|
|
4361
|
+
type: array
|
|
4362
|
+
items:
|
|
4363
|
+
type: string
|
|
4364
|
+
location:
|
|
4365
|
+
$ref: '#/definitions/puppetLocationPayload'
|
|
4366
|
+
batchTaskId:
|
|
4367
|
+
type: string
|
|
4368
|
+
puppetMessageBatchSendLocationResponse:
|
|
4369
|
+
type: object
|
|
4370
|
+
properties:
|
|
4371
|
+
results:
|
|
4372
|
+
type: array
|
|
4373
|
+
items:
|
|
4374
|
+
type: object
|
|
4375
|
+
$ref: '#/definitions/puppetMessageBatchSendLocationResponseResult'
|
|
4376
|
+
puppetMessageBatchSendLocationResponseResult:
|
|
4377
|
+
type: object
|
|
4378
|
+
properties:
|
|
4379
|
+
conversationId:
|
|
4380
|
+
type: string
|
|
4381
|
+
id:
|
|
4382
|
+
type: string
|
|
4383
|
+
error:
|
|
4384
|
+
type: string
|
|
4385
|
+
puppetMessageBatchSendMiniProgramRequest:
|
|
4386
|
+
type: object
|
|
4387
|
+
properties:
|
|
4388
|
+
conversationIds:
|
|
4389
|
+
type: array
|
|
4390
|
+
items:
|
|
4391
|
+
type: string
|
|
4392
|
+
miniProgram:
|
|
4393
|
+
$ref: '#/definitions/puppetMiniProgramPayload'
|
|
4394
|
+
batchTaskId:
|
|
4395
|
+
type: string
|
|
4396
|
+
puppetMessageBatchSendMiniProgramResponse:
|
|
4397
|
+
type: object
|
|
4398
|
+
properties:
|
|
4399
|
+
results:
|
|
4400
|
+
type: array
|
|
4401
|
+
items:
|
|
4402
|
+
type: object
|
|
4403
|
+
$ref: '#/definitions/puppetMessageBatchSendMiniProgramResponseResult'
|
|
4404
|
+
puppetMessageBatchSendMiniProgramResponseResult:
|
|
4405
|
+
type: object
|
|
4406
|
+
properties:
|
|
4407
|
+
conversationId:
|
|
4408
|
+
type: string
|
|
4409
|
+
id:
|
|
4410
|
+
type: string
|
|
4411
|
+
error:
|
|
4412
|
+
type: string
|
|
4413
|
+
puppetMessageBatchSendTextRequest:
|
|
4414
|
+
type: object
|
|
4415
|
+
properties:
|
|
4416
|
+
conversationIds:
|
|
4417
|
+
type: array
|
|
4418
|
+
items:
|
|
4419
|
+
type: string
|
|
4420
|
+
text:
|
|
4421
|
+
type: string
|
|
4422
|
+
batchTaskId:
|
|
4423
|
+
type: string
|
|
4424
|
+
puppetMessageBatchSendTextResponse:
|
|
4425
|
+
type: object
|
|
4426
|
+
properties:
|
|
4427
|
+
results:
|
|
4428
|
+
type: array
|
|
4429
|
+
items:
|
|
4430
|
+
type: object
|
|
4431
|
+
$ref: '#/definitions/puppetMessageBatchSendTextResponseResult'
|
|
4432
|
+
puppetMessageBatchSendTextResponseResult:
|
|
4433
|
+
type: object
|
|
4434
|
+
properties:
|
|
4435
|
+
conversationId:
|
|
4436
|
+
type: string
|
|
4437
|
+
id:
|
|
4438
|
+
type: string
|
|
4439
|
+
error:
|
|
4440
|
+
type: string
|
|
4441
|
+
puppetMessageBatchSendUrlRequest:
|
|
4442
|
+
type: object
|
|
4443
|
+
properties:
|
|
4444
|
+
conversationIds:
|
|
4445
|
+
type: array
|
|
4446
|
+
items:
|
|
4447
|
+
type: string
|
|
4448
|
+
urlLink:
|
|
4449
|
+
$ref: '#/definitions/puppetUrlLinkPayload'
|
|
4450
|
+
batchTaskId:
|
|
4451
|
+
type: string
|
|
4452
|
+
puppetMessageBatchSendUrlResponse:
|
|
4453
|
+
type: object
|
|
4454
|
+
properties:
|
|
4455
|
+
results:
|
|
4456
|
+
type: array
|
|
4457
|
+
items:
|
|
4458
|
+
type: object
|
|
4459
|
+
$ref: '#/definitions/puppetMessageBatchSendUrlResponseResult'
|
|
4460
|
+
puppetMessageBatchSendUrlResponseResult:
|
|
4461
|
+
type: object
|
|
4462
|
+
properties:
|
|
4463
|
+
conversationId:
|
|
4464
|
+
type: string
|
|
4465
|
+
id:
|
|
4466
|
+
type: string
|
|
4467
|
+
error:
|
|
4468
|
+
type: string
|
|
3715
4469
|
puppetMessageCallRecordResponse:
|
|
3716
4470
|
type: object
|
|
3717
4471
|
properties:
|
|
@@ -4107,7 +4861,11 @@ definitions:
|
|
|
4107
4861
|
- PAYLOAD_TYPE_POST
|
|
4108
4862
|
- PAYLOAD_TYPE_TAG
|
|
4109
4863
|
- PAYLOAD_TYPE_TAG_GROUP
|
|
4864
|
+
- PAYLOAD_TYPE_WXXD_PRODUCT
|
|
4865
|
+
- PAYLOAD_TYPE_WXXD_ORDER
|
|
4866
|
+
- PAYLOAD_TYPE_CALL
|
|
4110
4867
|
default: PAYLOAD_TYPE_UNSPECIFIED
|
|
4868
|
+
title: 数值必须与 @juzi/wechaty-puppet 的 DirtyType 严格一致。
|
|
4111
4869
|
puppetPostPayloadClient:
|
|
4112
4870
|
type: object
|
|
4113
4871
|
properties:
|
|
@@ -4596,7 +5354,7 @@ definitions:
|
|
|
4596
5354
|
type: object
|
|
4597
5355
|
properties:
|
|
4598
5356
|
payload:
|
|
4599
|
-
$ref: '#/definitions/
|
|
5357
|
+
$ref: '#/definitions/wechatyPuppetTagGroupPayload'
|
|
4600
5358
|
puppetTagGroupTagListResponse:
|
|
4601
5359
|
type: object
|
|
4602
5360
|
properties:
|
|
@@ -4613,7 +5371,7 @@ definitions:
|
|
|
4613
5371
|
type: object
|
|
4614
5372
|
properties:
|
|
4615
5373
|
payload:
|
|
4616
|
-
$ref: '#/definitions/
|
|
5374
|
+
$ref: '#/definitions/wechatyPuppetTagPayload'
|
|
4617
5375
|
puppetTagTagAddRequest:
|
|
4618
5376
|
type: object
|
|
4619
5377
|
properties:
|
|
@@ -4771,7 +5529,7 @@ definitions:
|
|
|
4771
5529
|
items:
|
|
4772
5530
|
type: object
|
|
4773
5531
|
$ref: '#/definitions/protobufAny'
|
|
4774
|
-
|
|
5532
|
+
wechatyPuppetTagGroupPayload:
|
|
4775
5533
|
type: object
|
|
4776
5534
|
properties:
|
|
4777
5535
|
id:
|
|
@@ -4780,7 +5538,7 @@ definitions:
|
|
|
4780
5538
|
type: string
|
|
4781
5539
|
type:
|
|
4782
5540
|
$ref: '#/definitions/puppetTagType'
|
|
4783
|
-
|
|
5541
|
+
wechatyPuppetTagPayload:
|
|
4784
5542
|
type: object
|
|
4785
5543
|
properties:
|
|
4786
5544
|
id:
|