@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
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "Wechaty Puppet Service OpenAPI Specification",
|
|
5
5
|
"description": "Wechaty is a Conversational RPA SDK for chatbot makers. With only 6 lines of code, you can create a bot on the most popular IMs like WeChat, Whatsapp, WeCom, Gitter, etc.\n\nWechaty Puppet Service is the RESTful API for Wechaty API, which is build on top of the Wechaty Puppet Abstraction and the gRPC proto definition.",
|
|
6
|
-
"version": "1.0.
|
|
6
|
+
"version": "1.0.102",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Wechaty",
|
|
9
9
|
"url": "https://github.com/wechaty/openapi",
|
|
@@ -26,6 +26,304 @@
|
|
|
26
26
|
"application/json"
|
|
27
27
|
],
|
|
28
28
|
"paths": {
|
|
29
|
+
"/call/invite": {
|
|
30
|
+
"post": {
|
|
31
|
+
"operationId": "Puppet_CallInvite",
|
|
32
|
+
"responses": {
|
|
33
|
+
"200": {
|
|
34
|
+
"description": "A successful response.",
|
|
35
|
+
"schema": {
|
|
36
|
+
"$ref": "#/definitions/puppetCallInviteResponse"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"default": {
|
|
40
|
+
"description": "An unexpected error response.",
|
|
41
|
+
"schema": {
|
|
42
|
+
"$ref": "#/definitions/rpcStatus"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"parameters": [
|
|
47
|
+
{
|
|
48
|
+
"name": "body",
|
|
49
|
+
"in": "body",
|
|
50
|
+
"required": true,
|
|
51
|
+
"schema": {
|
|
52
|
+
"$ref": "#/definitions/puppetCallInviteRequest"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"tags": [
|
|
57
|
+
"Puppet"
|
|
58
|
+
]
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"/call/{callId}/accept": {
|
|
62
|
+
"post": {
|
|
63
|
+
"operationId": "Puppet_CallAccept",
|
|
64
|
+
"responses": {
|
|
65
|
+
"200": {
|
|
66
|
+
"description": "A successful response.",
|
|
67
|
+
"schema": {
|
|
68
|
+
"$ref": "#/definitions/puppetCallAcceptResponse"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"default": {
|
|
72
|
+
"description": "An unexpected error response.",
|
|
73
|
+
"schema": {
|
|
74
|
+
"$ref": "#/definitions/rpcStatus"
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"parameters": [
|
|
79
|
+
{
|
|
80
|
+
"name": "callId",
|
|
81
|
+
"description": "由 CallInvite 响应获得;协议端持有会话状态,凭此即可定位会话(无需 peer/media)",
|
|
82
|
+
"in": "path",
|
|
83
|
+
"required": true,
|
|
84
|
+
"type": "string"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "body",
|
|
88
|
+
"in": "body",
|
|
89
|
+
"required": true,
|
|
90
|
+
"schema": {
|
|
91
|
+
"$ref": "#/definitions/PuppetCallAcceptBody"
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
],
|
|
95
|
+
"tags": [
|
|
96
|
+
"Puppet"
|
|
97
|
+
]
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"/call/{callId}/add": {
|
|
101
|
+
"post": {
|
|
102
|
+
"operationId": "Puppet_CallAdd",
|
|
103
|
+
"responses": {
|
|
104
|
+
"200": {
|
|
105
|
+
"description": "A successful response.",
|
|
106
|
+
"schema": {
|
|
107
|
+
"$ref": "#/definitions/puppetCallAddResponse"
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"default": {
|
|
111
|
+
"description": "An unexpected error response.",
|
|
112
|
+
"schema": {
|
|
113
|
+
"$ref": "#/definitions/rpcStatus"
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
"parameters": [
|
|
118
|
+
{
|
|
119
|
+
"name": "callId",
|
|
120
|
+
"description": "由 CallInvite 响应获得",
|
|
121
|
+
"in": "path",
|
|
122
|
+
"required": true,
|
|
123
|
+
"type": "string"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"name": "body",
|
|
127
|
+
"in": "body",
|
|
128
|
+
"required": true,
|
|
129
|
+
"schema": {
|
|
130
|
+
"$ref": "#/definitions/PuppetCallAddBody"
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
],
|
|
134
|
+
"tags": [
|
|
135
|
+
"Puppet"
|
|
136
|
+
]
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"/call/{callId}/cancel": {
|
|
140
|
+
"post": {
|
|
141
|
+
"operationId": "Puppet_CallCancel",
|
|
142
|
+
"responses": {
|
|
143
|
+
"200": {
|
|
144
|
+
"description": "A successful response.",
|
|
145
|
+
"schema": {
|
|
146
|
+
"$ref": "#/definitions/puppetCallCancelResponse"
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
"default": {
|
|
150
|
+
"description": "An unexpected error response.",
|
|
151
|
+
"schema": {
|
|
152
|
+
"$ref": "#/definitions/rpcStatus"
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
"parameters": [
|
|
157
|
+
{
|
|
158
|
+
"name": "callId",
|
|
159
|
+
"description": "由 CallInvite 响应获得;协议端持有会话状态,凭此即可定位会话(无需 peer/media)",
|
|
160
|
+
"in": "path",
|
|
161
|
+
"required": true,
|
|
162
|
+
"type": "string"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"name": "body",
|
|
166
|
+
"in": "body",
|
|
167
|
+
"required": true,
|
|
168
|
+
"schema": {
|
|
169
|
+
"$ref": "#/definitions/PuppetCallCancelBody"
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
],
|
|
173
|
+
"tags": [
|
|
174
|
+
"Puppet"
|
|
175
|
+
]
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"/call/{callId}/hangup": {
|
|
179
|
+
"post": {
|
|
180
|
+
"operationId": "Puppet_CallHangup",
|
|
181
|
+
"responses": {
|
|
182
|
+
"200": {
|
|
183
|
+
"description": "A successful response.",
|
|
184
|
+
"schema": {
|
|
185
|
+
"$ref": "#/definitions/puppetCallHangupResponse"
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
"default": {
|
|
189
|
+
"description": "An unexpected error response.",
|
|
190
|
+
"schema": {
|
|
191
|
+
"$ref": "#/definitions/rpcStatus"
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
"parameters": [
|
|
196
|
+
{
|
|
197
|
+
"name": "callId",
|
|
198
|
+
"description": "由 CallInvite 响应获得;协议端持有会话状态,凭此即可定位会话(无需 peer/media)",
|
|
199
|
+
"in": "path",
|
|
200
|
+
"required": true,
|
|
201
|
+
"type": "string"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"name": "body",
|
|
205
|
+
"in": "body",
|
|
206
|
+
"required": true,
|
|
207
|
+
"schema": {
|
|
208
|
+
"$ref": "#/definitions/PuppetCallHangupBody"
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
],
|
|
212
|
+
"tags": [
|
|
213
|
+
"Puppet"
|
|
214
|
+
]
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
"/call/{callId}/media-endpoint": {
|
|
218
|
+
"post": {
|
|
219
|
+
"summary": "POST:签发可能在网关侧预分配媒体会话(有副作用),非幂等读取。",
|
|
220
|
+
"operationId": "Puppet_CallMediaEndpoint",
|
|
221
|
+
"responses": {
|
|
222
|
+
"200": {
|
|
223
|
+
"description": "A successful response.",
|
|
224
|
+
"schema": {
|
|
225
|
+
"$ref": "#/definitions/puppetCallMediaEndpointResponse"
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
"default": {
|
|
229
|
+
"description": "An unexpected error response.",
|
|
230
|
+
"schema": {
|
|
231
|
+
"$ref": "#/definitions/rpcStatus"
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
"parameters": [
|
|
236
|
+
{
|
|
237
|
+
"name": "callId",
|
|
238
|
+
"description": "由 CallInvite 响应获得",
|
|
239
|
+
"in": "path",
|
|
240
|
+
"required": true,
|
|
241
|
+
"type": "string"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"name": "body",
|
|
245
|
+
"in": "body",
|
|
246
|
+
"required": true,
|
|
247
|
+
"schema": {
|
|
248
|
+
"$ref": "#/definitions/PuppetCallMediaEndpointBody"
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
],
|
|
252
|
+
"tags": [
|
|
253
|
+
"Puppet"
|
|
254
|
+
]
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
"/call/{callId}/reject": {
|
|
258
|
+
"post": {
|
|
259
|
+
"operationId": "Puppet_CallReject",
|
|
260
|
+
"responses": {
|
|
261
|
+
"200": {
|
|
262
|
+
"description": "A successful response.",
|
|
263
|
+
"schema": {
|
|
264
|
+
"$ref": "#/definitions/puppetCallRejectResponse"
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
"default": {
|
|
268
|
+
"description": "An unexpected error response.",
|
|
269
|
+
"schema": {
|
|
270
|
+
"$ref": "#/definitions/rpcStatus"
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
"parameters": [
|
|
275
|
+
{
|
|
276
|
+
"name": "callId",
|
|
277
|
+
"description": "由 CallInvite 响应获得;协议端持有会话状态,凭此即可定位会话(无需 peer/media)",
|
|
278
|
+
"in": "path",
|
|
279
|
+
"required": true,
|
|
280
|
+
"type": "string"
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"name": "body",
|
|
284
|
+
"in": "body",
|
|
285
|
+
"required": true,
|
|
286
|
+
"schema": {
|
|
287
|
+
"$ref": "#/definitions/PuppetCallRejectBody"
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
],
|
|
291
|
+
"tags": [
|
|
292
|
+
"Puppet"
|
|
293
|
+
]
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
"/call/{id}": {
|
|
297
|
+
"get": {
|
|
298
|
+
"operationId": "Puppet_CallPayload",
|
|
299
|
+
"responses": {
|
|
300
|
+
"200": {
|
|
301
|
+
"description": "A successful response.",
|
|
302
|
+
"schema": {
|
|
303
|
+
"$ref": "#/definitions/puppetCallPayloadResponse"
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
"default": {
|
|
307
|
+
"description": "An unexpected error response.",
|
|
308
|
+
"schema": {
|
|
309
|
+
"$ref": "#/definitions/rpcStatus"
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
"parameters": [
|
|
314
|
+
{
|
|
315
|
+
"name": "id",
|
|
316
|
+
"description": "call_id",
|
|
317
|
+
"in": "path",
|
|
318
|
+
"required": true,
|
|
319
|
+
"type": "string"
|
|
320
|
+
}
|
|
321
|
+
],
|
|
322
|
+
"tags": [
|
|
323
|
+
"Puppet"
|
|
324
|
+
]
|
|
325
|
+
}
|
|
326
|
+
},
|
|
29
327
|
"/cancel_verify_code": {
|
|
30
328
|
"post": {
|
|
31
329
|
"operationId": "Puppet_CancelVerifyCode",
|
|
@@ -658,7 +956,10 @@
|
|
|
658
956
|
"PAYLOAD_TYPE_FRIENDSHIP",
|
|
659
957
|
"PAYLOAD_TYPE_POST",
|
|
660
958
|
"PAYLOAD_TYPE_TAG",
|
|
661
|
-
"PAYLOAD_TYPE_TAG_GROUP"
|
|
959
|
+
"PAYLOAD_TYPE_TAG_GROUP",
|
|
960
|
+
"PAYLOAD_TYPE_WXXD_PRODUCT",
|
|
961
|
+
"PAYLOAD_TYPE_WXXD_ORDER",
|
|
962
|
+
"PAYLOAD_TYPE_CALL"
|
|
662
963
|
],
|
|
663
964
|
"pattern": "PAYLOAD_TYPE_CONTACT"
|
|
664
965
|
}
|
|
@@ -1103,9 +1404,297 @@
|
|
|
1103
1404
|
]
|
|
1104
1405
|
}
|
|
1105
1406
|
},
|
|
1106
|
-
"/
|
|
1107
|
-
"
|
|
1108
|
-
"operationId": "
|
|
1407
|
+
"/conversations:batchForward": {
|
|
1408
|
+
"post": {
|
|
1409
|
+
"operationId": "Puppet_MessageBatchForward",
|
|
1410
|
+
"responses": {
|
|
1411
|
+
"200": {
|
|
1412
|
+
"description": "A successful response.",
|
|
1413
|
+
"schema": {
|
|
1414
|
+
"$ref": "#/definitions/puppetMessageBatchForwardResponse"
|
|
1415
|
+
}
|
|
1416
|
+
},
|
|
1417
|
+
"default": {
|
|
1418
|
+
"description": "An unexpected error response.",
|
|
1419
|
+
"schema": {
|
|
1420
|
+
"$ref": "#/definitions/rpcStatus"
|
|
1421
|
+
}
|
|
1422
|
+
}
|
|
1423
|
+
},
|
|
1424
|
+
"parameters": [
|
|
1425
|
+
{
|
|
1426
|
+
"name": "body",
|
|
1427
|
+
"in": "body",
|
|
1428
|
+
"required": true,
|
|
1429
|
+
"schema": {
|
|
1430
|
+
"$ref": "#/definitions/puppetMessageBatchForwardRequest"
|
|
1431
|
+
}
|
|
1432
|
+
}
|
|
1433
|
+
],
|
|
1434
|
+
"tags": [
|
|
1435
|
+
"Puppet"
|
|
1436
|
+
]
|
|
1437
|
+
}
|
|
1438
|
+
},
|
|
1439
|
+
"/conversations:batchSendChannel": {
|
|
1440
|
+
"post": {
|
|
1441
|
+
"operationId": "Puppet_MessageBatchSendChannel",
|
|
1442
|
+
"responses": {
|
|
1443
|
+
"200": {
|
|
1444
|
+
"description": "A successful response.",
|
|
1445
|
+
"schema": {
|
|
1446
|
+
"$ref": "#/definitions/puppetMessageBatchSendChannelResponse"
|
|
1447
|
+
}
|
|
1448
|
+
},
|
|
1449
|
+
"default": {
|
|
1450
|
+
"description": "An unexpected error response.",
|
|
1451
|
+
"schema": {
|
|
1452
|
+
"$ref": "#/definitions/rpcStatus"
|
|
1453
|
+
}
|
|
1454
|
+
}
|
|
1455
|
+
},
|
|
1456
|
+
"parameters": [
|
|
1457
|
+
{
|
|
1458
|
+
"name": "body",
|
|
1459
|
+
"in": "body",
|
|
1460
|
+
"required": true,
|
|
1461
|
+
"schema": {
|
|
1462
|
+
"$ref": "#/definitions/puppetMessageBatchSendChannelRequest"
|
|
1463
|
+
}
|
|
1464
|
+
}
|
|
1465
|
+
],
|
|
1466
|
+
"tags": [
|
|
1467
|
+
"Puppet"
|
|
1468
|
+
]
|
|
1469
|
+
}
|
|
1470
|
+
},
|
|
1471
|
+
"/conversations:batchSendChannelCard": {
|
|
1472
|
+
"post": {
|
|
1473
|
+
"operationId": "Puppet_MessageBatchSendChannelCard",
|
|
1474
|
+
"responses": {
|
|
1475
|
+
"200": {
|
|
1476
|
+
"description": "A successful response.",
|
|
1477
|
+
"schema": {
|
|
1478
|
+
"$ref": "#/definitions/puppetMessageBatchSendChannelCardResponse"
|
|
1479
|
+
}
|
|
1480
|
+
},
|
|
1481
|
+
"default": {
|
|
1482
|
+
"description": "An unexpected error response.",
|
|
1483
|
+
"schema": {
|
|
1484
|
+
"$ref": "#/definitions/rpcStatus"
|
|
1485
|
+
}
|
|
1486
|
+
}
|
|
1487
|
+
},
|
|
1488
|
+
"parameters": [
|
|
1489
|
+
{
|
|
1490
|
+
"name": "body",
|
|
1491
|
+
"in": "body",
|
|
1492
|
+
"required": true,
|
|
1493
|
+
"schema": {
|
|
1494
|
+
"$ref": "#/definitions/puppetMessageBatchSendChannelCardRequest"
|
|
1495
|
+
}
|
|
1496
|
+
}
|
|
1497
|
+
],
|
|
1498
|
+
"tags": [
|
|
1499
|
+
"Puppet"
|
|
1500
|
+
]
|
|
1501
|
+
}
|
|
1502
|
+
},
|
|
1503
|
+
"/conversations:batchSendContact": {
|
|
1504
|
+
"post": {
|
|
1505
|
+
"operationId": "Puppet_MessageBatchSendContact",
|
|
1506
|
+
"responses": {
|
|
1507
|
+
"200": {
|
|
1508
|
+
"description": "A successful response.",
|
|
1509
|
+
"schema": {
|
|
1510
|
+
"$ref": "#/definitions/puppetMessageBatchSendContactResponse"
|
|
1511
|
+
}
|
|
1512
|
+
},
|
|
1513
|
+
"default": {
|
|
1514
|
+
"description": "An unexpected error response.",
|
|
1515
|
+
"schema": {
|
|
1516
|
+
"$ref": "#/definitions/rpcStatus"
|
|
1517
|
+
}
|
|
1518
|
+
}
|
|
1519
|
+
},
|
|
1520
|
+
"parameters": [
|
|
1521
|
+
{
|
|
1522
|
+
"name": "body",
|
|
1523
|
+
"in": "body",
|
|
1524
|
+
"required": true,
|
|
1525
|
+
"schema": {
|
|
1526
|
+
"$ref": "#/definitions/puppetMessageBatchSendContactRequest"
|
|
1527
|
+
}
|
|
1528
|
+
}
|
|
1529
|
+
],
|
|
1530
|
+
"tags": [
|
|
1531
|
+
"Puppet"
|
|
1532
|
+
]
|
|
1533
|
+
}
|
|
1534
|
+
},
|
|
1535
|
+
"/conversations:batchSendFile": {
|
|
1536
|
+
"post": {
|
|
1537
|
+
"operationId": "Puppet_MessageBatchSendFile",
|
|
1538
|
+
"responses": {
|
|
1539
|
+
"200": {
|
|
1540
|
+
"description": "A successful response.",
|
|
1541
|
+
"schema": {
|
|
1542
|
+
"$ref": "#/definitions/puppetMessageBatchSendFileResponse"
|
|
1543
|
+
}
|
|
1544
|
+
},
|
|
1545
|
+
"default": {
|
|
1546
|
+
"description": "An unexpected error response.",
|
|
1547
|
+
"schema": {
|
|
1548
|
+
"$ref": "#/definitions/rpcStatus"
|
|
1549
|
+
}
|
|
1550
|
+
}
|
|
1551
|
+
},
|
|
1552
|
+
"parameters": [
|
|
1553
|
+
{
|
|
1554
|
+
"name": "body",
|
|
1555
|
+
"in": "body",
|
|
1556
|
+
"required": true,
|
|
1557
|
+
"schema": {
|
|
1558
|
+
"$ref": "#/definitions/puppetMessageBatchSendFileRequest"
|
|
1559
|
+
}
|
|
1560
|
+
}
|
|
1561
|
+
],
|
|
1562
|
+
"tags": [
|
|
1563
|
+
"Puppet"
|
|
1564
|
+
]
|
|
1565
|
+
}
|
|
1566
|
+
},
|
|
1567
|
+
"/conversations:batchSendLocation": {
|
|
1568
|
+
"post": {
|
|
1569
|
+
"operationId": "Puppet_MessageBatchSendLocation",
|
|
1570
|
+
"responses": {
|
|
1571
|
+
"200": {
|
|
1572
|
+
"description": "A successful response.",
|
|
1573
|
+
"schema": {
|
|
1574
|
+
"$ref": "#/definitions/puppetMessageBatchSendLocationResponse"
|
|
1575
|
+
}
|
|
1576
|
+
},
|
|
1577
|
+
"default": {
|
|
1578
|
+
"description": "An unexpected error response.",
|
|
1579
|
+
"schema": {
|
|
1580
|
+
"$ref": "#/definitions/rpcStatus"
|
|
1581
|
+
}
|
|
1582
|
+
}
|
|
1583
|
+
},
|
|
1584
|
+
"parameters": [
|
|
1585
|
+
{
|
|
1586
|
+
"name": "body",
|
|
1587
|
+
"in": "body",
|
|
1588
|
+
"required": true,
|
|
1589
|
+
"schema": {
|
|
1590
|
+
"$ref": "#/definitions/puppetMessageBatchSendLocationRequest"
|
|
1591
|
+
}
|
|
1592
|
+
}
|
|
1593
|
+
],
|
|
1594
|
+
"tags": [
|
|
1595
|
+
"Puppet"
|
|
1596
|
+
]
|
|
1597
|
+
}
|
|
1598
|
+
},
|
|
1599
|
+
"/conversations:batchSendMiniProgram": {
|
|
1600
|
+
"post": {
|
|
1601
|
+
"operationId": "Puppet_MessageBatchSendMiniProgram",
|
|
1602
|
+
"responses": {
|
|
1603
|
+
"200": {
|
|
1604
|
+
"description": "A successful response.",
|
|
1605
|
+
"schema": {
|
|
1606
|
+
"$ref": "#/definitions/puppetMessageBatchSendMiniProgramResponse"
|
|
1607
|
+
}
|
|
1608
|
+
},
|
|
1609
|
+
"default": {
|
|
1610
|
+
"description": "An unexpected error response.",
|
|
1611
|
+
"schema": {
|
|
1612
|
+
"$ref": "#/definitions/rpcStatus"
|
|
1613
|
+
}
|
|
1614
|
+
}
|
|
1615
|
+
},
|
|
1616
|
+
"parameters": [
|
|
1617
|
+
{
|
|
1618
|
+
"name": "body",
|
|
1619
|
+
"in": "body",
|
|
1620
|
+
"required": true,
|
|
1621
|
+
"schema": {
|
|
1622
|
+
"$ref": "#/definitions/puppetMessageBatchSendMiniProgramRequest"
|
|
1623
|
+
}
|
|
1624
|
+
}
|
|
1625
|
+
],
|
|
1626
|
+
"tags": [
|
|
1627
|
+
"Puppet"
|
|
1628
|
+
]
|
|
1629
|
+
}
|
|
1630
|
+
},
|
|
1631
|
+
"/conversations:batchSendText": {
|
|
1632
|
+
"post": {
|
|
1633
|
+
"operationId": "Puppet_MessageBatchSendText",
|
|
1634
|
+
"responses": {
|
|
1635
|
+
"200": {
|
|
1636
|
+
"description": "A successful response.",
|
|
1637
|
+
"schema": {
|
|
1638
|
+
"$ref": "#/definitions/puppetMessageBatchSendTextResponse"
|
|
1639
|
+
}
|
|
1640
|
+
},
|
|
1641
|
+
"default": {
|
|
1642
|
+
"description": "An unexpected error response.",
|
|
1643
|
+
"schema": {
|
|
1644
|
+
"$ref": "#/definitions/rpcStatus"
|
|
1645
|
+
}
|
|
1646
|
+
}
|
|
1647
|
+
},
|
|
1648
|
+
"parameters": [
|
|
1649
|
+
{
|
|
1650
|
+
"name": "body",
|
|
1651
|
+
"in": "body",
|
|
1652
|
+
"required": true,
|
|
1653
|
+
"schema": {
|
|
1654
|
+
"$ref": "#/definitions/puppetMessageBatchSendTextRequest"
|
|
1655
|
+
}
|
|
1656
|
+
}
|
|
1657
|
+
],
|
|
1658
|
+
"tags": [
|
|
1659
|
+
"Puppet"
|
|
1660
|
+
]
|
|
1661
|
+
}
|
|
1662
|
+
},
|
|
1663
|
+
"/conversations:batchSendUrl": {
|
|
1664
|
+
"post": {
|
|
1665
|
+
"operationId": "Puppet_MessageBatchSendUrl",
|
|
1666
|
+
"responses": {
|
|
1667
|
+
"200": {
|
|
1668
|
+
"description": "A successful response.",
|
|
1669
|
+
"schema": {
|
|
1670
|
+
"$ref": "#/definitions/puppetMessageBatchSendUrlResponse"
|
|
1671
|
+
}
|
|
1672
|
+
},
|
|
1673
|
+
"default": {
|
|
1674
|
+
"description": "An unexpected error response.",
|
|
1675
|
+
"schema": {
|
|
1676
|
+
"$ref": "#/definitions/rpcStatus"
|
|
1677
|
+
}
|
|
1678
|
+
}
|
|
1679
|
+
},
|
|
1680
|
+
"parameters": [
|
|
1681
|
+
{
|
|
1682
|
+
"name": "body",
|
|
1683
|
+
"in": "body",
|
|
1684
|
+
"required": true,
|
|
1685
|
+
"schema": {
|
|
1686
|
+
"$ref": "#/definitions/puppetMessageBatchSendUrlRequest"
|
|
1687
|
+
}
|
|
1688
|
+
}
|
|
1689
|
+
],
|
|
1690
|
+
"tags": [
|
|
1691
|
+
"Puppet"
|
|
1692
|
+
]
|
|
1693
|
+
}
|
|
1694
|
+
},
|
|
1695
|
+
"/currentUser": {
|
|
1696
|
+
"get": {
|
|
1697
|
+
"operationId": "Puppet_CurrentUser",
|
|
1109
1698
|
"responses": {
|
|
1110
1699
|
"200": {
|
|
1111
1700
|
"description": "A successful response.",
|
|
@@ -1525,7 +2114,10 @@
|
|
|
1525
2114
|
"PAYLOAD_TYPE_FRIENDSHIP",
|
|
1526
2115
|
"PAYLOAD_TYPE_POST",
|
|
1527
2116
|
"PAYLOAD_TYPE_TAG",
|
|
1528
|
-
"PAYLOAD_TYPE_TAG_GROUP"
|
|
2117
|
+
"PAYLOAD_TYPE_TAG_GROUP",
|
|
2118
|
+
"PAYLOAD_TYPE_WXXD_PRODUCT",
|
|
2119
|
+
"PAYLOAD_TYPE_WXXD_ORDER",
|
|
2120
|
+
"PAYLOAD_TYPE_CALL"
|
|
1529
2121
|
],
|
|
1530
2122
|
"pattern": "PAYLOAD_TYPE_FRIENDSHIP"
|
|
1531
2123
|
}
|
|
@@ -1859,7 +2451,10 @@
|
|
|
1859
2451
|
"PAYLOAD_TYPE_FRIENDSHIP",
|
|
1860
2452
|
"PAYLOAD_TYPE_POST",
|
|
1861
2453
|
"PAYLOAD_TYPE_TAG",
|
|
1862
|
-
"PAYLOAD_TYPE_TAG_GROUP"
|
|
2454
|
+
"PAYLOAD_TYPE_TAG_GROUP",
|
|
2455
|
+
"PAYLOAD_TYPE_WXXD_PRODUCT",
|
|
2456
|
+
"PAYLOAD_TYPE_WXXD_ORDER",
|
|
2457
|
+
"PAYLOAD_TYPE_CALL"
|
|
1863
2458
|
],
|
|
1864
2459
|
"pattern": "PAYLOAD_TYPE_MESSAGE"
|
|
1865
2460
|
}
|
|
@@ -2972,7 +3567,10 @@
|
|
|
2972
3567
|
"PAYLOAD_TYPE_FRIENDSHIP",
|
|
2973
3568
|
"PAYLOAD_TYPE_POST",
|
|
2974
3569
|
"PAYLOAD_TYPE_TAG",
|
|
2975
|
-
"PAYLOAD_TYPE_TAG_GROUP"
|
|
3570
|
+
"PAYLOAD_TYPE_TAG_GROUP",
|
|
3571
|
+
"PAYLOAD_TYPE_WXXD_PRODUCT",
|
|
3572
|
+
"PAYLOAD_TYPE_WXXD_ORDER",
|
|
3573
|
+
"PAYLOAD_TYPE_CALL"
|
|
2976
3574
|
],
|
|
2977
3575
|
"pattern": "PAYLOAD_TYPE_ROOM_MEMBER"
|
|
2978
3576
|
}
|
|
@@ -3020,7 +3618,10 @@
|
|
|
3020
3618
|
"PAYLOAD_TYPE_FRIENDSHIP",
|
|
3021
3619
|
"PAYLOAD_TYPE_POST",
|
|
3022
3620
|
"PAYLOAD_TYPE_TAG",
|
|
3023
|
-
"PAYLOAD_TYPE_TAG_GROUP"
|
|
3621
|
+
"PAYLOAD_TYPE_TAG_GROUP",
|
|
3622
|
+
"PAYLOAD_TYPE_WXXD_PRODUCT",
|
|
3623
|
+
"PAYLOAD_TYPE_WXXD_ORDER",
|
|
3624
|
+
"PAYLOAD_TYPE_CALL"
|
|
3024
3625
|
],
|
|
3025
3626
|
"pattern": "PAYLOAD_TYPE_ROOM"
|
|
3026
3627
|
}
|
|
@@ -4203,7 +4804,52 @@
|
|
|
4203
4804
|
}
|
|
4204
4805
|
}
|
|
4205
4806
|
},
|
|
4206
|
-
"
|
|
4807
|
+
"PuppetCallAcceptBody": {
|
|
4808
|
+
"type": "object",
|
|
4809
|
+
"title": "被叫接听来电。"
|
|
4810
|
+
},
|
|
4811
|
+
"PuppetCallAddBody": {
|
|
4812
|
+
"type": "object",
|
|
4813
|
+
"properties": {
|
|
4814
|
+
"contactIds": {
|
|
4815
|
+
"type": "array",
|
|
4816
|
+
"items": {
|
|
4817
|
+
"type": "string"
|
|
4818
|
+
},
|
|
4819
|
+
"title": "新增受邀方 contactId 列表(不含已在通话中的参与者)"
|
|
4820
|
+
}
|
|
4821
|
+
},
|
|
4822
|
+
"title": "通话中途拉人(errors-only 契约):\n- 新参与者的应答回执(响铃/接听/拒接)一律经 EVENT_TYPE_CALL 事件上行,本响应恒为空;\n- 拉人特有的失败(通话不存在/已结束、人数上限等)经 gRPC status error 返回。"
|
|
4823
|
+
},
|
|
4824
|
+
"PuppetCallCancelBody": {
|
|
4825
|
+
"type": "object",
|
|
4826
|
+
"title": "接通前主叫取消呼叫。"
|
|
4827
|
+
},
|
|
4828
|
+
"PuppetCallHangupBody": {
|
|
4829
|
+
"type": "object",
|
|
4830
|
+
"properties": {
|
|
4831
|
+
"reason": {
|
|
4832
|
+
"type": "string",
|
|
4833
|
+
"title": "可空,空串表示无"
|
|
4834
|
+
}
|
|
4835
|
+
},
|
|
4836
|
+
"title": "接通后任一方挂断。"
|
|
4837
|
+
},
|
|
4838
|
+
"PuppetCallMediaEndpointBody": {
|
|
4839
|
+
"type": "object",
|
|
4840
|
+
"title": "媒体入场券:按 call_id 向协议端换取媒体网关协商入口。\n签发可能在网关侧预分配媒体会话(有副作用),故服务端不得缓存响应、客户端按需拉取。"
|
|
4841
|
+
},
|
|
4842
|
+
"PuppetCallRejectBody": {
|
|
4843
|
+
"type": "object",
|
|
4844
|
+
"properties": {
|
|
4845
|
+
"reason": {
|
|
4846
|
+
"type": "string",
|
|
4847
|
+
"title": "可空,空串表示无"
|
|
4848
|
+
}
|
|
4849
|
+
},
|
|
4850
|
+
"title": "被叫拒接来电。"
|
|
4851
|
+
},
|
|
4852
|
+
"PuppetContactAliasBody": {
|
|
4207
4853
|
"type": "object",
|
|
4208
4854
|
"properties": {
|
|
4209
4855
|
"aliasStringValueDeprecated": {
|
|
@@ -4575,6 +5221,99 @@
|
|
|
4575
5221
|
],
|
|
4576
5222
|
"default": "BROADCAST_TARGET_STATUS_UNSENT"
|
|
4577
5223
|
},
|
|
5224
|
+
"puppetCallAcceptResponse": {
|
|
5225
|
+
"type": "object"
|
|
5226
|
+
},
|
|
5227
|
+
"puppetCallAddResponse": {
|
|
5228
|
+
"type": "object"
|
|
5229
|
+
},
|
|
5230
|
+
"puppetCallCancelResponse": {
|
|
5231
|
+
"type": "object"
|
|
5232
|
+
},
|
|
5233
|
+
"puppetCallHangupResponse": {
|
|
5234
|
+
"type": "object"
|
|
5235
|
+
},
|
|
5236
|
+
"puppetCallInviteRequest": {
|
|
5237
|
+
"type": "object",
|
|
5238
|
+
"properties": {
|
|
5239
|
+
"contactIds": {
|
|
5240
|
+
"type": "array",
|
|
5241
|
+
"items": {
|
|
5242
|
+
"type": "string"
|
|
5243
|
+
},
|
|
5244
|
+
"title": "受邀方 contactId 列表(不含发起方):单元素 = 1v1 通话,多元素 = 群通话;\n无论几人,一通通话只铸造一个 call_id。"
|
|
5245
|
+
},
|
|
5246
|
+
"media": {
|
|
5247
|
+
"$ref": "#/definitions/puppetCallType",
|
|
5248
|
+
"title": "必填:媒体类型(VOICE/VIDEO),复用既有 CallType;零值 CALL_TYPE_UNKNOWN 会被 server 拒绝"
|
|
5249
|
+
}
|
|
5250
|
+
},
|
|
5251
|
+
"title": "发起呼叫请求:callId 不由主叫携带,而是由 puppet 实现侧生成并经 CallInviteResponse 返回。"
|
|
5252
|
+
},
|
|
5253
|
+
"puppetCallInviteResponse": {
|
|
5254
|
+
"type": "object",
|
|
5255
|
+
"properties": {
|
|
5256
|
+
"callId": {
|
|
5257
|
+
"type": "string"
|
|
5258
|
+
}
|
|
5259
|
+
},
|
|
5260
|
+
"title": "CallInvite 响应:\n- call_id 由 puppet 实现侧(协议端)生成并经本响应返回,全链路以此关联控制面与媒体旁路;\n- 上行 EVENT_TYPE_CALL 事件可能先于本响应到达,客户端须容忍乱序;\n- 后续控制 RPC(CallAccept/CallReject/CallCancel/CallHangup)凭此 call_id 引用本通通话。"
|
|
5261
|
+
},
|
|
5262
|
+
"puppetCallMediaEndpointResponse": {
|
|
5263
|
+
"type": "object",
|
|
5264
|
+
"properties": {
|
|
5265
|
+
"url": {
|
|
5266
|
+
"type": "string",
|
|
5267
|
+
"title": "媒体网关协商入口(非媒体流地址本身)"
|
|
5268
|
+
},
|
|
5269
|
+
"token": {
|
|
5270
|
+
"type": "string",
|
|
5271
|
+
"title": "短时效凭证,绑定 call_id + 本端身份"
|
|
5272
|
+
},
|
|
5273
|
+
"expiresAt": {
|
|
5274
|
+
"type": "string",
|
|
5275
|
+
"format": "date-time",
|
|
5276
|
+
"title": "凭证过期时刻;不设置 = 不过期;过期后重新拉取本 RPC"
|
|
5277
|
+
},
|
|
5278
|
+
"protocol": {
|
|
5279
|
+
"type": "string",
|
|
5280
|
+
"title": "入口方言(如 whip / livekit / 自定义),由媒体 SDK 消费"
|
|
5281
|
+
}
|
|
5282
|
+
}
|
|
5283
|
+
},
|
|
5284
|
+
"puppetCallPayloadResponse": {
|
|
5285
|
+
"type": "object",
|
|
5286
|
+
"properties": {
|
|
5287
|
+
"id": {
|
|
5288
|
+
"type": "string"
|
|
5289
|
+
},
|
|
5290
|
+
"starter": {
|
|
5291
|
+
"type": "string",
|
|
5292
|
+
"title": "发起方 contactId;空串 = 协议端不可知(如中途被拉入者视角)"
|
|
5293
|
+
},
|
|
5294
|
+
"participants": {
|
|
5295
|
+
"type": "array",
|
|
5296
|
+
"items": {
|
|
5297
|
+
"type": "string"
|
|
5298
|
+
},
|
|
5299
|
+
"title": "当前全量参与者名册"
|
|
5300
|
+
},
|
|
5301
|
+
"media": {
|
|
5302
|
+
"$ref": "#/definitions/puppetCallType",
|
|
5303
|
+
"title": "当前媒体类型(语音↔视频切换经 dirty 反映)"
|
|
5304
|
+
},
|
|
5305
|
+
"startTime": {
|
|
5306
|
+
"type": "string",
|
|
5307
|
+
"format": "date-time",
|
|
5308
|
+
"title": "通话发起时刻;接通时刻不在此(等于上行 Accept 事件的 timestamp)"
|
|
5309
|
+
},
|
|
5310
|
+
"endTime": {
|
|
5311
|
+
"type": "string",
|
|
5312
|
+
"format": "date-time",
|
|
5313
|
+
"title": "通话结束时刻;未设置 = 通话进行中"
|
|
5314
|
+
}
|
|
5315
|
+
}
|
|
5316
|
+
},
|
|
4578
5317
|
"puppetCallRecordPayload": {
|
|
4579
5318
|
"type": "object",
|
|
4580
5319
|
"properties": {
|
|
@@ -4599,6 +5338,9 @@
|
|
|
4599
5338
|
}
|
|
4600
5339
|
}
|
|
4601
5340
|
},
|
|
5341
|
+
"puppetCallRejectResponse": {
|
|
5342
|
+
"type": "object"
|
|
5343
|
+
},
|
|
4602
5344
|
"puppetCallStatus": {
|
|
4603
5345
|
"type": "string",
|
|
4604
5346
|
"enum": [
|
|
@@ -4610,7 +5352,7 @@
|
|
|
4610
5352
|
"CALL_STATUS_ENDED"
|
|
4611
5353
|
],
|
|
4612
5354
|
"default": "CALL_STATUS_UNKNOWN",
|
|
4613
|
-
"description": "- CALL_STATUS_UNKNOWN: 不明确\n - CALL_STATUS_CANCELED: 自己取消\n - CALL_STATUS_REJECTED: 对方拒接\n - CALL_STATUS_MISSED:
|
|
5355
|
+
"description": "- CALL_STATUS_UNKNOWN: 不明确\n - CALL_STATUS_CANCELED: 自己取消\n - CALL_STATUS_REJECTED: 对方拒接\n - CALL_STATUS_MISSED: 未接\n - CALL_STATUS_ONGOING: 正在通话\n - CALL_STATUS_ENDED: 已结束",
|
|
4614
5356
|
"title": "类型枚举"
|
|
4615
5357
|
},
|
|
4616
5358
|
"puppetCallType": {
|
|
@@ -5149,7 +5891,8 @@
|
|
|
5149
5891
|
"EVENT_TYPE_POST_TAP",
|
|
5150
5892
|
"EVENT_TYPE_ROOM_ANNOUNCE",
|
|
5151
5893
|
"EVENT_TYPE_VERIFY_CODE",
|
|
5152
|
-
"EVENT_TYPE_VERIFY_SLIDE"
|
|
5894
|
+
"EVENT_TYPE_VERIFY_SLIDE",
|
|
5895
|
+
"EVENT_TYPE_CALL"
|
|
5153
5896
|
],
|
|
5154
5897
|
"default": "EVENT_TYPE_UNSPECIFIED"
|
|
5155
5898
|
},
|
|
@@ -5397,6 +6140,399 @@
|
|
|
5397
6140
|
"puppetLogoutResponse": {
|
|
5398
6141
|
"type": "object"
|
|
5399
6142
|
},
|
|
6143
|
+
"puppetMessageBatchForwardRequest": {
|
|
6144
|
+
"type": "object",
|
|
6145
|
+
"properties": {
|
|
6146
|
+
"conversationIds": {
|
|
6147
|
+
"type": "array",
|
|
6148
|
+
"items": {
|
|
6149
|
+
"type": "string"
|
|
6150
|
+
}
|
|
6151
|
+
},
|
|
6152
|
+
"messageId": {
|
|
6153
|
+
"type": "string"
|
|
6154
|
+
},
|
|
6155
|
+
"messageIds": {
|
|
6156
|
+
"type": "array",
|
|
6157
|
+
"items": {
|
|
6158
|
+
"type": "string"
|
|
6159
|
+
}
|
|
6160
|
+
},
|
|
6161
|
+
"batchTaskId": {
|
|
6162
|
+
"type": "string"
|
|
6163
|
+
}
|
|
6164
|
+
}
|
|
6165
|
+
},
|
|
6166
|
+
"puppetMessageBatchForwardResponse": {
|
|
6167
|
+
"type": "object",
|
|
6168
|
+
"properties": {
|
|
6169
|
+
"results": {
|
|
6170
|
+
"type": "array",
|
|
6171
|
+
"items": {
|
|
6172
|
+
"type": "object",
|
|
6173
|
+
"$ref": "#/definitions/puppetMessageBatchForwardResponseResult"
|
|
6174
|
+
}
|
|
6175
|
+
}
|
|
6176
|
+
}
|
|
6177
|
+
},
|
|
6178
|
+
"puppetMessageBatchForwardResponseResult": {
|
|
6179
|
+
"type": "object",
|
|
6180
|
+
"properties": {
|
|
6181
|
+
"conversationId": {
|
|
6182
|
+
"type": "string"
|
|
6183
|
+
},
|
|
6184
|
+
"id": {
|
|
6185
|
+
"type": "string"
|
|
6186
|
+
},
|
|
6187
|
+
"error": {
|
|
6188
|
+
"type": "string"
|
|
6189
|
+
}
|
|
6190
|
+
}
|
|
6191
|
+
},
|
|
6192
|
+
"puppetMessageBatchSendChannelCardRequest": {
|
|
6193
|
+
"type": "object",
|
|
6194
|
+
"properties": {
|
|
6195
|
+
"conversationIds": {
|
|
6196
|
+
"type": "array",
|
|
6197
|
+
"items": {
|
|
6198
|
+
"type": "string"
|
|
6199
|
+
}
|
|
6200
|
+
},
|
|
6201
|
+
"channelCard": {
|
|
6202
|
+
"$ref": "#/definitions/puppetChannelCardPayload"
|
|
6203
|
+
},
|
|
6204
|
+
"batchTaskId": {
|
|
6205
|
+
"type": "string"
|
|
6206
|
+
}
|
|
6207
|
+
}
|
|
6208
|
+
},
|
|
6209
|
+
"puppetMessageBatchSendChannelCardResponse": {
|
|
6210
|
+
"type": "object",
|
|
6211
|
+
"properties": {
|
|
6212
|
+
"results": {
|
|
6213
|
+
"type": "array",
|
|
6214
|
+
"items": {
|
|
6215
|
+
"type": "object",
|
|
6216
|
+
"$ref": "#/definitions/puppetMessageBatchSendChannelCardResponseResult"
|
|
6217
|
+
}
|
|
6218
|
+
}
|
|
6219
|
+
}
|
|
6220
|
+
},
|
|
6221
|
+
"puppetMessageBatchSendChannelCardResponseResult": {
|
|
6222
|
+
"type": "object",
|
|
6223
|
+
"properties": {
|
|
6224
|
+
"conversationId": {
|
|
6225
|
+
"type": "string"
|
|
6226
|
+
},
|
|
6227
|
+
"id": {
|
|
6228
|
+
"type": "string"
|
|
6229
|
+
},
|
|
6230
|
+
"error": {
|
|
6231
|
+
"type": "string"
|
|
6232
|
+
}
|
|
6233
|
+
}
|
|
6234
|
+
},
|
|
6235
|
+
"puppetMessageBatchSendChannelRequest": {
|
|
6236
|
+
"type": "object",
|
|
6237
|
+
"properties": {
|
|
6238
|
+
"conversationIds": {
|
|
6239
|
+
"type": "array",
|
|
6240
|
+
"items": {
|
|
6241
|
+
"type": "string"
|
|
6242
|
+
}
|
|
6243
|
+
},
|
|
6244
|
+
"channel": {
|
|
6245
|
+
"$ref": "#/definitions/puppetChannelPayload"
|
|
6246
|
+
},
|
|
6247
|
+
"batchTaskId": {
|
|
6248
|
+
"type": "string"
|
|
6249
|
+
}
|
|
6250
|
+
}
|
|
6251
|
+
},
|
|
6252
|
+
"puppetMessageBatchSendChannelResponse": {
|
|
6253
|
+
"type": "object",
|
|
6254
|
+
"properties": {
|
|
6255
|
+
"results": {
|
|
6256
|
+
"type": "array",
|
|
6257
|
+
"items": {
|
|
6258
|
+
"type": "object",
|
|
6259
|
+
"$ref": "#/definitions/puppetMessageBatchSendChannelResponseResult"
|
|
6260
|
+
}
|
|
6261
|
+
}
|
|
6262
|
+
}
|
|
6263
|
+
},
|
|
6264
|
+
"puppetMessageBatchSendChannelResponseResult": {
|
|
6265
|
+
"type": "object",
|
|
6266
|
+
"properties": {
|
|
6267
|
+
"conversationId": {
|
|
6268
|
+
"type": "string"
|
|
6269
|
+
},
|
|
6270
|
+
"id": {
|
|
6271
|
+
"type": "string"
|
|
6272
|
+
},
|
|
6273
|
+
"error": {
|
|
6274
|
+
"type": "string"
|
|
6275
|
+
}
|
|
6276
|
+
}
|
|
6277
|
+
},
|
|
6278
|
+
"puppetMessageBatchSendContactRequest": {
|
|
6279
|
+
"type": "object",
|
|
6280
|
+
"properties": {
|
|
6281
|
+
"conversationIds": {
|
|
6282
|
+
"type": "array",
|
|
6283
|
+
"items": {
|
|
6284
|
+
"type": "string"
|
|
6285
|
+
}
|
|
6286
|
+
},
|
|
6287
|
+
"contactId": {
|
|
6288
|
+
"type": "string"
|
|
6289
|
+
},
|
|
6290
|
+
"batchTaskId": {
|
|
6291
|
+
"type": "string"
|
|
6292
|
+
}
|
|
6293
|
+
}
|
|
6294
|
+
},
|
|
6295
|
+
"puppetMessageBatchSendContactResponse": {
|
|
6296
|
+
"type": "object",
|
|
6297
|
+
"properties": {
|
|
6298
|
+
"results": {
|
|
6299
|
+
"type": "array",
|
|
6300
|
+
"items": {
|
|
6301
|
+
"type": "object",
|
|
6302
|
+
"$ref": "#/definitions/puppetMessageBatchSendContactResponseResult"
|
|
6303
|
+
}
|
|
6304
|
+
}
|
|
6305
|
+
}
|
|
6306
|
+
},
|
|
6307
|
+
"puppetMessageBatchSendContactResponseResult": {
|
|
6308
|
+
"type": "object",
|
|
6309
|
+
"properties": {
|
|
6310
|
+
"conversationId": {
|
|
6311
|
+
"type": "string"
|
|
6312
|
+
},
|
|
6313
|
+
"id": {
|
|
6314
|
+
"type": "string"
|
|
6315
|
+
},
|
|
6316
|
+
"error": {
|
|
6317
|
+
"type": "string"
|
|
6318
|
+
}
|
|
6319
|
+
}
|
|
6320
|
+
},
|
|
6321
|
+
"puppetMessageBatchSendFileRequest": {
|
|
6322
|
+
"type": "object",
|
|
6323
|
+
"properties": {
|
|
6324
|
+
"conversationIds": {
|
|
6325
|
+
"type": "array",
|
|
6326
|
+
"items": {
|
|
6327
|
+
"type": "string"
|
|
6328
|
+
}
|
|
6329
|
+
},
|
|
6330
|
+
"fileBox": {
|
|
6331
|
+
"type": "string"
|
|
6332
|
+
},
|
|
6333
|
+
"batchTaskId": {
|
|
6334
|
+
"type": "string"
|
|
6335
|
+
}
|
|
6336
|
+
}
|
|
6337
|
+
},
|
|
6338
|
+
"puppetMessageBatchSendFileResponse": {
|
|
6339
|
+
"type": "object",
|
|
6340
|
+
"properties": {
|
|
6341
|
+
"results": {
|
|
6342
|
+
"type": "array",
|
|
6343
|
+
"items": {
|
|
6344
|
+
"type": "object",
|
|
6345
|
+
"$ref": "#/definitions/puppetMessageBatchSendFileResponseResult"
|
|
6346
|
+
}
|
|
6347
|
+
}
|
|
6348
|
+
}
|
|
6349
|
+
},
|
|
6350
|
+
"puppetMessageBatchSendFileResponseResult": {
|
|
6351
|
+
"type": "object",
|
|
6352
|
+
"properties": {
|
|
6353
|
+
"conversationId": {
|
|
6354
|
+
"type": "string"
|
|
6355
|
+
},
|
|
6356
|
+
"id": {
|
|
6357
|
+
"type": "string"
|
|
6358
|
+
},
|
|
6359
|
+
"error": {
|
|
6360
|
+
"type": "string"
|
|
6361
|
+
}
|
|
6362
|
+
}
|
|
6363
|
+
},
|
|
6364
|
+
"puppetMessageBatchSendLocationRequest": {
|
|
6365
|
+
"type": "object",
|
|
6366
|
+
"properties": {
|
|
6367
|
+
"conversationIds": {
|
|
6368
|
+
"type": "array",
|
|
6369
|
+
"items": {
|
|
6370
|
+
"type": "string"
|
|
6371
|
+
}
|
|
6372
|
+
},
|
|
6373
|
+
"location": {
|
|
6374
|
+
"$ref": "#/definitions/puppetLocationPayload"
|
|
6375
|
+
},
|
|
6376
|
+
"batchTaskId": {
|
|
6377
|
+
"type": "string"
|
|
6378
|
+
}
|
|
6379
|
+
}
|
|
6380
|
+
},
|
|
6381
|
+
"puppetMessageBatchSendLocationResponse": {
|
|
6382
|
+
"type": "object",
|
|
6383
|
+
"properties": {
|
|
6384
|
+
"results": {
|
|
6385
|
+
"type": "array",
|
|
6386
|
+
"items": {
|
|
6387
|
+
"type": "object",
|
|
6388
|
+
"$ref": "#/definitions/puppetMessageBatchSendLocationResponseResult"
|
|
6389
|
+
}
|
|
6390
|
+
}
|
|
6391
|
+
}
|
|
6392
|
+
},
|
|
6393
|
+
"puppetMessageBatchSendLocationResponseResult": {
|
|
6394
|
+
"type": "object",
|
|
6395
|
+
"properties": {
|
|
6396
|
+
"conversationId": {
|
|
6397
|
+
"type": "string"
|
|
6398
|
+
},
|
|
6399
|
+
"id": {
|
|
6400
|
+
"type": "string"
|
|
6401
|
+
},
|
|
6402
|
+
"error": {
|
|
6403
|
+
"type": "string"
|
|
6404
|
+
}
|
|
6405
|
+
}
|
|
6406
|
+
},
|
|
6407
|
+
"puppetMessageBatchSendMiniProgramRequest": {
|
|
6408
|
+
"type": "object",
|
|
6409
|
+
"properties": {
|
|
6410
|
+
"conversationIds": {
|
|
6411
|
+
"type": "array",
|
|
6412
|
+
"items": {
|
|
6413
|
+
"type": "string"
|
|
6414
|
+
}
|
|
6415
|
+
},
|
|
6416
|
+
"miniProgram": {
|
|
6417
|
+
"$ref": "#/definitions/puppetMiniProgramPayload"
|
|
6418
|
+
},
|
|
6419
|
+
"batchTaskId": {
|
|
6420
|
+
"type": "string"
|
|
6421
|
+
}
|
|
6422
|
+
}
|
|
6423
|
+
},
|
|
6424
|
+
"puppetMessageBatchSendMiniProgramResponse": {
|
|
6425
|
+
"type": "object",
|
|
6426
|
+
"properties": {
|
|
6427
|
+
"results": {
|
|
6428
|
+
"type": "array",
|
|
6429
|
+
"items": {
|
|
6430
|
+
"type": "object",
|
|
6431
|
+
"$ref": "#/definitions/puppetMessageBatchSendMiniProgramResponseResult"
|
|
6432
|
+
}
|
|
6433
|
+
}
|
|
6434
|
+
}
|
|
6435
|
+
},
|
|
6436
|
+
"puppetMessageBatchSendMiniProgramResponseResult": {
|
|
6437
|
+
"type": "object",
|
|
6438
|
+
"properties": {
|
|
6439
|
+
"conversationId": {
|
|
6440
|
+
"type": "string"
|
|
6441
|
+
},
|
|
6442
|
+
"id": {
|
|
6443
|
+
"type": "string"
|
|
6444
|
+
},
|
|
6445
|
+
"error": {
|
|
6446
|
+
"type": "string"
|
|
6447
|
+
}
|
|
6448
|
+
}
|
|
6449
|
+
},
|
|
6450
|
+
"puppetMessageBatchSendTextRequest": {
|
|
6451
|
+
"type": "object",
|
|
6452
|
+
"properties": {
|
|
6453
|
+
"conversationIds": {
|
|
6454
|
+
"type": "array",
|
|
6455
|
+
"items": {
|
|
6456
|
+
"type": "string"
|
|
6457
|
+
}
|
|
6458
|
+
},
|
|
6459
|
+
"text": {
|
|
6460
|
+
"type": "string"
|
|
6461
|
+
},
|
|
6462
|
+
"batchTaskId": {
|
|
6463
|
+
"type": "string"
|
|
6464
|
+
}
|
|
6465
|
+
}
|
|
6466
|
+
},
|
|
6467
|
+
"puppetMessageBatchSendTextResponse": {
|
|
6468
|
+
"type": "object",
|
|
6469
|
+
"properties": {
|
|
6470
|
+
"results": {
|
|
6471
|
+
"type": "array",
|
|
6472
|
+
"items": {
|
|
6473
|
+
"type": "object",
|
|
6474
|
+
"$ref": "#/definitions/puppetMessageBatchSendTextResponseResult"
|
|
6475
|
+
}
|
|
6476
|
+
}
|
|
6477
|
+
}
|
|
6478
|
+
},
|
|
6479
|
+
"puppetMessageBatchSendTextResponseResult": {
|
|
6480
|
+
"type": "object",
|
|
6481
|
+
"properties": {
|
|
6482
|
+
"conversationId": {
|
|
6483
|
+
"type": "string"
|
|
6484
|
+
},
|
|
6485
|
+
"id": {
|
|
6486
|
+
"type": "string"
|
|
6487
|
+
},
|
|
6488
|
+
"error": {
|
|
6489
|
+
"type": "string"
|
|
6490
|
+
}
|
|
6491
|
+
}
|
|
6492
|
+
},
|
|
6493
|
+
"puppetMessageBatchSendUrlRequest": {
|
|
6494
|
+
"type": "object",
|
|
6495
|
+
"properties": {
|
|
6496
|
+
"conversationIds": {
|
|
6497
|
+
"type": "array",
|
|
6498
|
+
"items": {
|
|
6499
|
+
"type": "string"
|
|
6500
|
+
}
|
|
6501
|
+
},
|
|
6502
|
+
"urlLink": {
|
|
6503
|
+
"$ref": "#/definitions/puppetUrlLinkPayload"
|
|
6504
|
+
},
|
|
6505
|
+
"batchTaskId": {
|
|
6506
|
+
"type": "string"
|
|
6507
|
+
}
|
|
6508
|
+
}
|
|
6509
|
+
},
|
|
6510
|
+
"puppetMessageBatchSendUrlResponse": {
|
|
6511
|
+
"type": "object",
|
|
6512
|
+
"properties": {
|
|
6513
|
+
"results": {
|
|
6514
|
+
"type": "array",
|
|
6515
|
+
"items": {
|
|
6516
|
+
"type": "object",
|
|
6517
|
+
"$ref": "#/definitions/puppetMessageBatchSendUrlResponseResult"
|
|
6518
|
+
}
|
|
6519
|
+
}
|
|
6520
|
+
}
|
|
6521
|
+
},
|
|
6522
|
+
"puppetMessageBatchSendUrlResponseResult": {
|
|
6523
|
+
"type": "object",
|
|
6524
|
+
"properties": {
|
|
6525
|
+
"conversationId": {
|
|
6526
|
+
"type": "string"
|
|
6527
|
+
},
|
|
6528
|
+
"id": {
|
|
6529
|
+
"type": "string"
|
|
6530
|
+
},
|
|
6531
|
+
"error": {
|
|
6532
|
+
"type": "string"
|
|
6533
|
+
}
|
|
6534
|
+
}
|
|
6535
|
+
},
|
|
5400
6536
|
"puppetMessageCallRecordResponse": {
|
|
5401
6537
|
"type": "object",
|
|
5402
6538
|
"properties": {
|
|
@@ -5867,9 +7003,13 @@
|
|
|
5867
7003
|
"PAYLOAD_TYPE_FRIENDSHIP",
|
|
5868
7004
|
"PAYLOAD_TYPE_POST",
|
|
5869
7005
|
"PAYLOAD_TYPE_TAG",
|
|
5870
|
-
"PAYLOAD_TYPE_TAG_GROUP"
|
|
7006
|
+
"PAYLOAD_TYPE_TAG_GROUP",
|
|
7007
|
+
"PAYLOAD_TYPE_WXXD_PRODUCT",
|
|
7008
|
+
"PAYLOAD_TYPE_WXXD_ORDER",
|
|
7009
|
+
"PAYLOAD_TYPE_CALL"
|
|
5871
7010
|
],
|
|
5872
|
-
"default": "PAYLOAD_TYPE_UNSPECIFIED"
|
|
7011
|
+
"default": "PAYLOAD_TYPE_UNSPECIFIED",
|
|
7012
|
+
"title": "数值必须与 @juzi/wechaty-puppet 的 DirtyType 严格一致。"
|
|
5873
7013
|
},
|
|
5874
7014
|
"puppetPostPayloadClient": {
|
|
5875
7015
|
"type": "object",
|
|
@@ -6563,7 +7703,7 @@
|
|
|
6563
7703
|
"type": "object",
|
|
6564
7704
|
"properties": {
|
|
6565
7705
|
"payload": {
|
|
6566
|
-
"$ref": "#/definitions/
|
|
7706
|
+
"$ref": "#/definitions/wechatyPuppetTagGroupPayload"
|
|
6567
7707
|
}
|
|
6568
7708
|
}
|
|
6569
7709
|
},
|
|
@@ -6590,7 +7730,7 @@
|
|
|
6590
7730
|
"type": "object",
|
|
6591
7731
|
"properties": {
|
|
6592
7732
|
"payload": {
|
|
6593
|
-
"$ref": "#/definitions/
|
|
7733
|
+
"$ref": "#/definitions/wechatyPuppetTagPayload"
|
|
6594
7734
|
}
|
|
6595
7735
|
}
|
|
6596
7736
|
},
|
|
@@ -6825,7 +7965,7 @@
|
|
|
6825
7965
|
}
|
|
6826
7966
|
}
|
|
6827
7967
|
},
|
|
6828
|
-
"
|
|
7968
|
+
"wechatyPuppetTagGroupPayload": {
|
|
6829
7969
|
"type": "object",
|
|
6830
7970
|
"properties": {
|
|
6831
7971
|
"id": {
|
|
@@ -6839,7 +7979,7 @@
|
|
|
6839
7979
|
}
|
|
6840
7980
|
}
|
|
6841
7981
|
},
|
|
6842
|
-
"
|
|
7982
|
+
"wechatyPuppetTagPayload": {
|
|
6843
7983
|
"type": "object",
|
|
6844
7984
|
"properties": {
|
|
6845
7985
|
"id": {
|