@juzi/wechaty-grpc 1.0.8 → 1.0.11
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/friendship_pb.d.ts +2 -0
- package/dist/cjs/out/wechaty/puppet/friendship_pb.js +3 -1
- package/dist/cjs/out/wechaty/puppet/tag_pb.d.ts +430 -74
- package/dist/cjs/out/wechaty/puppet/tag_pb.js +3051 -318
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +244 -293
- package/dist/cjs/out/wechaty/puppet.swagger.json +529 -596
- package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +154 -189
- package/dist/cjs/out/wechaty/puppet_grpc_pb.js +283 -357
- package/dist/cjs/out/wechaty/puppet_pb.d.ts +0 -1
- package/dist/cjs/out/wechaty/puppet_pb.js +0 -2
- package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +110 -149
- package/dist/cjs/out/wechaty/puppet_pb_service.js +66 -147
- package/dist/cjs/proto/wechaty/puppet/friendship.proto +2 -0
- package/dist/cjs/proto/wechaty/puppet/tag.proto +98 -29
- package/dist/cjs/proto/wechaty/puppet.proto +22 -43
- package/dist/cjs/src/package-json.js +1 -1
- package/dist/cjs/src/package-json.js.map +1 -1
- package/dist/cjs/tests/puppet-server-impl.d.ts.map +1 -1
- package/dist/cjs/tests/puppet-server-impl.js +11 -21
- package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
- package/dist/esm/out/wechaty/puppet/friendship_pb.d.ts +2 -0
- package/dist/esm/out/wechaty/puppet/friendship_pb.js +3 -1
- package/dist/esm/out/wechaty/puppet/tag_pb.d.ts +430 -74
- package/dist/esm/out/wechaty/puppet/tag_pb.js +3051 -318
- package/dist/esm/out/wechaty/puppet.openapi.yaml +244 -293
- package/dist/esm/out/wechaty/puppet.swagger.json +529 -596
- package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +154 -189
- package/dist/esm/out/wechaty/puppet_grpc_pb.js +283 -357
- package/dist/esm/out/wechaty/puppet_pb.d.ts +0 -1
- package/dist/esm/out/wechaty/puppet_pb.js +0 -2
- package/dist/esm/out/wechaty/puppet_pb_service.d.ts +110 -149
- package/dist/esm/out/wechaty/puppet_pb_service.js +66 -147
- package/dist/esm/proto/wechaty/puppet/friendship.proto +2 -0
- package/dist/esm/proto/wechaty/puppet/tag.proto +98 -29
- package/dist/esm/proto/wechaty/puppet.proto +22 -43
- package/dist/esm/src/package-json.js +1 -1
- package/dist/esm/src/package-json.js.map +1 -1
- package/dist/esm/tests/puppet-server-impl.d.ts.map +1 -1
- package/dist/esm/tests/puppet-server-impl.js +11 -21
- package/dist/esm/tests/puppet-server-impl.js.map +1 -1
- package/out/wechaty/puppet/friendship_pb.d.ts +2 -0
- package/out/wechaty/puppet/friendship_pb.js +3 -1
- package/out/wechaty/puppet/tag_pb.d.ts +430 -74
- package/out/wechaty/puppet/tag_pb.js +3051 -318
- package/out/wechaty/puppet.openapi.yaml +244 -293
- package/out/wechaty/puppet.swagger.json +529 -596
- package/out/wechaty/puppet_grpc_pb.d.ts +154 -189
- package/out/wechaty/puppet_grpc_pb.js +283 -357
- package/out/wechaty/puppet_pb.d.ts +0 -1
- package/out/wechaty/puppet_pb.js +0 -2
- package/out/wechaty/puppet_pb_service.d.ts +110 -149
- package/out/wechaty/puppet_pb_service.js +66 -147
- package/package.json +1 -1
- package/src/package-json.ts +1 -1
- package/dist/cjs/out/wechaty/puppet/corp-tag_grpc_pb.js +0 -1
- package/dist/cjs/out/wechaty/puppet/corp-tag_pb.d.ts +0 -431
- package/dist/cjs/out/wechaty/puppet/corp-tag_pb.js +0 -3315
- package/dist/cjs/out/wechaty/puppet/corp-tag_pb_service.d.ts +0 -3
- package/dist/cjs/out/wechaty/puppet/corp-tag_pb_service.js +0 -3
- package/dist/cjs/proto/wechaty/puppet/corp-tag.proto +0 -90
- package/dist/esm/out/wechaty/puppet/corp-tag_grpc_pb.js +0 -1
- package/dist/esm/out/wechaty/puppet/corp-tag_pb.d.ts +0 -431
- package/dist/esm/out/wechaty/puppet/corp-tag_pb.js +0 -3315
- package/dist/esm/out/wechaty/puppet/corp-tag_pb_service.d.ts +0 -3
- package/dist/esm/out/wechaty/puppet/corp-tag_pb_service.js +0 -3
- package/dist/esm/proto/wechaty/puppet/corp-tag.proto +0 -90
- package/out/wechaty/puppet/corp-tag_grpc_pb.js +0 -1
- package/out/wechaty/puppet/corp-tag_pb.d.ts +0 -431
- package/out/wechaty/puppet/corp-tag_pb.js +0 -3315
- package/out/wechaty/puppet/corp-tag_pb_service.d.ts +0 -3
- package/out/wechaty/puppet/corp-tag_pb_service.js +0 -3
|
@@ -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.11",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Wechaty",
|
|
9
9
|
"url": "https://github.com/wechaty/openapi",
|
|
@@ -49,37 +49,6 @@
|
|
|
49
49
|
]
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
|
-
"/contacts/-/tags/{id}": {
|
|
53
|
-
"delete": {
|
|
54
|
-
"summary": "*\nOperate Sub-Collections\n https://cloud.google.com/apis/design/design_patterns#list_sub-collections",
|
|
55
|
-
"operationId": "Puppet_TagContactDelete",
|
|
56
|
-
"responses": {
|
|
57
|
-
"200": {
|
|
58
|
-
"description": "A successful response.",
|
|
59
|
-
"schema": {
|
|
60
|
-
"$ref": "#/definitions/puppetTagContactDeleteResponse"
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
"default": {
|
|
64
|
-
"description": "An unexpected error response.",
|
|
65
|
-
"schema": {
|
|
66
|
-
"$ref": "#/definitions/rpcStatus"
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
"parameters": [
|
|
71
|
-
{
|
|
72
|
-
"name": "id",
|
|
73
|
-
"in": "path",
|
|
74
|
-
"required": true,
|
|
75
|
-
"type": "string"
|
|
76
|
-
}
|
|
77
|
-
],
|
|
78
|
-
"tags": [
|
|
79
|
-
"Puppet"
|
|
80
|
-
]
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
52
|
"/contacts/self/name/{name}": {
|
|
84
53
|
"put": {
|
|
85
54
|
"operationId": "Puppet_ContactSelfName",
|
|
@@ -166,118 +135,6 @@
|
|
|
166
135
|
]
|
|
167
136
|
}
|
|
168
137
|
},
|
|
169
|
-
"/contacts/{contactId}/corp-tag/tags": {
|
|
170
|
-
"get": {
|
|
171
|
-
"operationId": "Puppet_CorpTagContactTagList",
|
|
172
|
-
"responses": {
|
|
173
|
-
"200": {
|
|
174
|
-
"description": "A successful response.",
|
|
175
|
-
"schema": {
|
|
176
|
-
"$ref": "#/definitions/puppetCorpTagContactTagListResponse"
|
|
177
|
-
}
|
|
178
|
-
},
|
|
179
|
-
"default": {
|
|
180
|
-
"description": "An unexpected error response.",
|
|
181
|
-
"schema": {
|
|
182
|
-
"$ref": "#/definitions/rpcStatus"
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
},
|
|
186
|
-
"parameters": [
|
|
187
|
-
{
|
|
188
|
-
"name": "contactId",
|
|
189
|
-
"in": "path",
|
|
190
|
-
"required": true,
|
|
191
|
-
"type": "string"
|
|
192
|
-
}
|
|
193
|
-
],
|
|
194
|
-
"tags": [
|
|
195
|
-
"Puppet"
|
|
196
|
-
]
|
|
197
|
-
}
|
|
198
|
-
},
|
|
199
|
-
"/contacts/{contactId}/corp-tag/tags/{corpTagId}": {
|
|
200
|
-
"delete": {
|
|
201
|
-
"operationId": "Puppet_CorpTagContactTagRemove",
|
|
202
|
-
"responses": {
|
|
203
|
-
"200": {
|
|
204
|
-
"description": "A successful response.",
|
|
205
|
-
"schema": {
|
|
206
|
-
"$ref": "#/definitions/puppetCorpTagContactTagRemoveResponse"
|
|
207
|
-
}
|
|
208
|
-
},
|
|
209
|
-
"default": {
|
|
210
|
-
"description": "An unexpected error response.",
|
|
211
|
-
"schema": {
|
|
212
|
-
"$ref": "#/definitions/rpcStatus"
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
},
|
|
216
|
-
"parameters": [
|
|
217
|
-
{
|
|
218
|
-
"name": "contactId",
|
|
219
|
-
"in": "path",
|
|
220
|
-
"required": true,
|
|
221
|
-
"type": "string"
|
|
222
|
-
},
|
|
223
|
-
{
|
|
224
|
-
"name": "corpTagId",
|
|
225
|
-
"in": "path",
|
|
226
|
-
"required": true,
|
|
227
|
-
"type": "string"
|
|
228
|
-
},
|
|
229
|
-
{
|
|
230
|
-
"name": "corpTagGroupId",
|
|
231
|
-
"in": "query",
|
|
232
|
-
"required": false,
|
|
233
|
-
"type": "string"
|
|
234
|
-
}
|
|
235
|
-
],
|
|
236
|
-
"tags": [
|
|
237
|
-
"Puppet"
|
|
238
|
-
]
|
|
239
|
-
},
|
|
240
|
-
"put": {
|
|
241
|
-
"operationId": "Puppet_CorpTagContactTagAdd",
|
|
242
|
-
"responses": {
|
|
243
|
-
"200": {
|
|
244
|
-
"description": "A successful response.",
|
|
245
|
-
"schema": {
|
|
246
|
-
"$ref": "#/definitions/puppetCorpTagContactTagAddResponse"
|
|
247
|
-
}
|
|
248
|
-
},
|
|
249
|
-
"default": {
|
|
250
|
-
"description": "An unexpected error response.",
|
|
251
|
-
"schema": {
|
|
252
|
-
"$ref": "#/definitions/rpcStatus"
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
},
|
|
256
|
-
"parameters": [
|
|
257
|
-
{
|
|
258
|
-
"name": "contactId",
|
|
259
|
-
"in": "path",
|
|
260
|
-
"required": true,
|
|
261
|
-
"type": "string"
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
"name": "corpTagId",
|
|
265
|
-
"in": "path",
|
|
266
|
-
"required": true,
|
|
267
|
-
"type": "string"
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
"name": "corpTagGroupId",
|
|
271
|
-
"in": "query",
|
|
272
|
-
"required": false,
|
|
273
|
-
"type": "string"
|
|
274
|
-
}
|
|
275
|
-
],
|
|
276
|
-
"tags": [
|
|
277
|
-
"Puppet"
|
|
278
|
-
]
|
|
279
|
-
}
|
|
280
|
-
},
|
|
281
138
|
"/contacts/{contactId}/corporation-remark": {
|
|
282
139
|
"put": {
|
|
283
140
|
"operationId": "Puppet_ContactCorporationRemark",
|
|
@@ -416,14 +273,14 @@
|
|
|
416
273
|
]
|
|
417
274
|
}
|
|
418
275
|
},
|
|
419
|
-
"/contacts/{contactId}/tags": {
|
|
276
|
+
"/contacts/{contactId}/tag/tags": {
|
|
420
277
|
"get": {
|
|
421
|
-
"operationId": "
|
|
278
|
+
"operationId": "Puppet_TagContactTagList",
|
|
422
279
|
"responses": {
|
|
423
280
|
"200": {
|
|
424
281
|
"description": "A successful response.",
|
|
425
282
|
"schema": {
|
|
426
|
-
"$ref": "#/definitions/
|
|
283
|
+
"$ref": "#/definitions/puppetTagContactTagListResponse"
|
|
427
284
|
}
|
|
428
285
|
},
|
|
429
286
|
"default": {
|
|
@@ -439,13 +296,6 @@
|
|
|
439
296
|
"in": "path",
|
|
440
297
|
"required": true,
|
|
441
298
|
"type": "string"
|
|
442
|
-
},
|
|
443
|
-
{
|
|
444
|
-
"name": "contactIdStringValueDeprecated",
|
|
445
|
-
"description": "@deprecated:\n Huan(202109): Wrapper types must not be used going forward.\n https://cloud.google.com/apis/design/design_patterns#optional_primitive_fields",
|
|
446
|
-
"in": "query",
|
|
447
|
-
"required": false,
|
|
448
|
-
"type": "string"
|
|
449
299
|
}
|
|
450
300
|
],
|
|
451
301
|
"tags": [
|
|
@@ -453,14 +303,14 @@
|
|
|
453
303
|
]
|
|
454
304
|
}
|
|
455
305
|
},
|
|
456
|
-
"/contacts/{contactId}/tags/{
|
|
306
|
+
"/contacts/{contactId}/tag/tags/{tagId}": {
|
|
457
307
|
"delete": {
|
|
458
|
-
"operationId": "
|
|
308
|
+
"operationId": "Puppet_TagContactTagRemove",
|
|
459
309
|
"responses": {
|
|
460
310
|
"200": {
|
|
461
311
|
"description": "A successful response.",
|
|
462
312
|
"schema": {
|
|
463
|
-
"$ref": "#/definitions/
|
|
313
|
+
"$ref": "#/definitions/puppetTagContactTagRemoveResponse"
|
|
464
314
|
}
|
|
465
315
|
},
|
|
466
316
|
"default": {
|
|
@@ -478,10 +328,16 @@
|
|
|
478
328
|
"type": "string"
|
|
479
329
|
},
|
|
480
330
|
{
|
|
481
|
-
"name": "
|
|
331
|
+
"name": "tagId",
|
|
482
332
|
"in": "path",
|
|
483
333
|
"required": true,
|
|
484
334
|
"type": "string"
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"name": "tagGroupId",
|
|
338
|
+
"in": "query",
|
|
339
|
+
"required": false,
|
|
340
|
+
"type": "string"
|
|
485
341
|
}
|
|
486
342
|
],
|
|
487
343
|
"tags": [
|
|
@@ -489,14 +345,12 @@
|
|
|
489
345
|
]
|
|
490
346
|
},
|
|
491
347
|
"put": {
|
|
492
|
-
"
|
|
493
|
-
"description": "Tag",
|
|
494
|
-
"operationId": "Puppet_TagContactAdd",
|
|
348
|
+
"operationId": "Puppet_TagContactTagAdd",
|
|
495
349
|
"responses": {
|
|
496
350
|
"200": {
|
|
497
351
|
"description": "A successful response.",
|
|
498
352
|
"schema": {
|
|
499
|
-
"$ref": "#/definitions/
|
|
353
|
+
"$ref": "#/definitions/puppetTagContactTagAddResponse"
|
|
500
354
|
}
|
|
501
355
|
},
|
|
502
356
|
"default": {
|
|
@@ -514,10 +368,16 @@
|
|
|
514
368
|
"type": "string"
|
|
515
369
|
},
|
|
516
370
|
{
|
|
517
|
-
"name": "
|
|
371
|
+
"name": "tagId",
|
|
518
372
|
"in": "path",
|
|
519
373
|
"required": true,
|
|
520
374
|
"type": "string"
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"name": "tagGroupId",
|
|
378
|
+
"in": "query",
|
|
379
|
+
"required": false,
|
|
380
|
+
"type": "string"
|
|
521
381
|
}
|
|
522
382
|
],
|
|
523
383
|
"tags": [
|
|
@@ -1002,14 +862,14 @@
|
|
|
1002
862
|
]
|
|
1003
863
|
}
|
|
1004
864
|
},
|
|
1005
|
-
"/
|
|
865
|
+
"/currentUser": {
|
|
1006
866
|
"get": {
|
|
1007
|
-
"operationId": "
|
|
867
|
+
"operationId": "Puppet_CurrentUser",
|
|
1008
868
|
"responses": {
|
|
1009
869
|
"200": {
|
|
1010
870
|
"description": "A successful response.",
|
|
1011
871
|
"schema": {
|
|
1012
|
-
"$ref": "#/definitions/
|
|
872
|
+
"$ref": "#/definitions/puppetCurrentUserResponse"
|
|
1013
873
|
}
|
|
1014
874
|
},
|
|
1015
875
|
"default": {
|
|
@@ -1024,14 +884,14 @@
|
|
|
1024
884
|
]
|
|
1025
885
|
}
|
|
1026
886
|
},
|
|
1027
|
-
"/
|
|
1028
|
-
"
|
|
1029
|
-
"operationId": "
|
|
887
|
+
"/ding": {
|
|
888
|
+
"post": {
|
|
889
|
+
"operationId": "Puppet_Ding",
|
|
1030
890
|
"responses": {
|
|
1031
891
|
"200": {
|
|
1032
892
|
"description": "A successful response.",
|
|
1033
893
|
"schema": {
|
|
1034
|
-
"$ref": "#/definitions/
|
|
894
|
+
"$ref": "#/definitions/puppetDingResponse"
|
|
1035
895
|
}
|
|
1036
896
|
},
|
|
1037
897
|
"default": {
|
|
@@ -1043,10 +903,12 @@
|
|
|
1043
903
|
},
|
|
1044
904
|
"parameters": [
|
|
1045
905
|
{
|
|
1046
|
-
"name": "
|
|
1047
|
-
"in": "
|
|
906
|
+
"name": "body",
|
|
907
|
+
"in": "body",
|
|
1048
908
|
"required": true,
|
|
1049
|
-
"
|
|
909
|
+
"schema": {
|
|
910
|
+
"$ref": "#/definitions/puppetDingRequest"
|
|
911
|
+
}
|
|
1050
912
|
}
|
|
1051
913
|
],
|
|
1052
914
|
"tags": [
|
|
@@ -1054,14 +916,24 @@
|
|
|
1054
916
|
]
|
|
1055
917
|
}
|
|
1056
918
|
},
|
|
1057
|
-
"/
|
|
1058
|
-
"
|
|
1059
|
-
"
|
|
919
|
+
"/download/{id}": {
|
|
920
|
+
"get": {
|
|
921
|
+
"summary": "*\nFile/Blob download & upload",
|
|
922
|
+
"operationId": "Puppet_Download",
|
|
1060
923
|
"responses": {
|
|
1061
924
|
"200": {
|
|
1062
|
-
"description": "A successful response.",
|
|
925
|
+
"description": "A successful response.(streaming responses)",
|
|
1063
926
|
"schema": {
|
|
1064
|
-
"
|
|
927
|
+
"type": "object",
|
|
928
|
+
"properties": {
|
|
929
|
+
"result": {
|
|
930
|
+
"$ref": "#/definitions/puppetDownloadResponse"
|
|
931
|
+
},
|
|
932
|
+
"error": {
|
|
933
|
+
"$ref": "#/definitions/rpcStatus"
|
|
934
|
+
}
|
|
935
|
+
},
|
|
936
|
+
"title": "Stream result of puppetDownloadResponse"
|
|
1065
937
|
}
|
|
1066
938
|
},
|
|
1067
939
|
"default": {
|
|
@@ -1073,7 +945,7 @@
|
|
|
1073
945
|
},
|
|
1074
946
|
"parameters": [
|
|
1075
947
|
{
|
|
1076
|
-
"name": "
|
|
948
|
+
"name": "id",
|
|
1077
949
|
"in": "path",
|
|
1078
950
|
"required": true,
|
|
1079
951
|
"type": "string"
|
|
@@ -1084,14 +956,25 @@
|
|
|
1084
956
|
]
|
|
1085
957
|
}
|
|
1086
958
|
},
|
|
1087
|
-
"/
|
|
1088
|
-
"
|
|
1089
|
-
"
|
|
959
|
+
"/events": {
|
|
960
|
+
"get": {
|
|
961
|
+
"summary": "*",
|
|
962
|
+
"description": "Event - Server Stream",
|
|
963
|
+
"operationId": "Puppet_Event",
|
|
1090
964
|
"responses": {
|
|
1091
965
|
"200": {
|
|
1092
|
-
"description": "A successful response.",
|
|
966
|
+
"description": "A successful response.(streaming responses)",
|
|
1093
967
|
"schema": {
|
|
1094
|
-
"
|
|
968
|
+
"type": "object",
|
|
969
|
+
"properties": {
|
|
970
|
+
"result": {
|
|
971
|
+
"$ref": "#/definitions/puppetEventResponse"
|
|
972
|
+
},
|
|
973
|
+
"error": {
|
|
974
|
+
"$ref": "#/definitions/rpcStatus"
|
|
975
|
+
}
|
|
976
|
+
},
|
|
977
|
+
"title": "Stream result of puppetEventResponse"
|
|
1095
978
|
}
|
|
1096
979
|
},
|
|
1097
980
|
"default": {
|
|
@@ -1101,33 +984,19 @@
|
|
|
1101
984
|
}
|
|
1102
985
|
}
|
|
1103
986
|
},
|
|
1104
|
-
"parameters": [
|
|
1105
|
-
{
|
|
1106
|
-
"name": "corpTagGroupId",
|
|
1107
|
-
"in": "path",
|
|
1108
|
-
"required": true,
|
|
1109
|
-
"type": "string"
|
|
1110
|
-
},
|
|
1111
|
-
{
|
|
1112
|
-
"name": "corpTagId",
|
|
1113
|
-
"in": "path",
|
|
1114
|
-
"required": true,
|
|
1115
|
-
"type": "string"
|
|
1116
|
-
}
|
|
1117
|
-
],
|
|
1118
987
|
"tags": [
|
|
1119
988
|
"Puppet"
|
|
1120
989
|
]
|
|
1121
990
|
}
|
|
1122
991
|
},
|
|
1123
|
-
"/
|
|
992
|
+
"/friendship/accept/{id}": {
|
|
1124
993
|
"put": {
|
|
1125
|
-
"operationId": "
|
|
994
|
+
"operationId": "Puppet_FriendshipAccept",
|
|
1126
995
|
"responses": {
|
|
1127
996
|
"200": {
|
|
1128
997
|
"description": "A successful response.",
|
|
1129
998
|
"schema": {
|
|
1130
|
-
"$ref": "#/definitions/
|
|
999
|
+
"$ref": "#/definitions/puppetFriendshipAcceptResponse"
|
|
1131
1000
|
}
|
|
1132
1001
|
},
|
|
1133
1002
|
"default": {
|
|
@@ -1139,13 +1008,7 @@
|
|
|
1139
1008
|
},
|
|
1140
1009
|
"parameters": [
|
|
1141
1010
|
{
|
|
1142
|
-
"name": "
|
|
1143
|
-
"in": "path",
|
|
1144
|
-
"required": true,
|
|
1145
|
-
"type": "string"
|
|
1146
|
-
},
|
|
1147
|
-
{
|
|
1148
|
-
"name": "corpTagName",
|
|
1011
|
+
"name": "id",
|
|
1149
1012
|
"in": "path",
|
|
1150
1013
|
"required": true,
|
|
1151
1014
|
"type": "string"
|
|
@@ -1156,14 +1019,14 @@
|
|
|
1156
1019
|
]
|
|
1157
1020
|
}
|
|
1158
1021
|
},
|
|
1159
|
-
"/
|
|
1022
|
+
"/friendship/add/{contactId}": {
|
|
1160
1023
|
"put": {
|
|
1161
|
-
"operationId": "
|
|
1024
|
+
"operationId": "Puppet_FriendshipAdd",
|
|
1162
1025
|
"responses": {
|
|
1163
1026
|
"200": {
|
|
1164
1027
|
"description": "A successful response.",
|
|
1165
1028
|
"schema": {
|
|
1166
|
-
"$ref": "#/definitions/
|
|
1029
|
+
"$ref": "#/definitions/puppetFriendshipAddResponse"
|
|
1167
1030
|
}
|
|
1168
1031
|
},
|
|
1169
1032
|
"default": {
|
|
@@ -1175,10 +1038,32 @@
|
|
|
1175
1038
|
},
|
|
1176
1039
|
"parameters": [
|
|
1177
1040
|
{
|
|
1178
|
-
"name": "
|
|
1041
|
+
"name": "contactId",
|
|
1179
1042
|
"in": "path",
|
|
1180
1043
|
"required": true,
|
|
1181
1044
|
"type": "string"
|
|
1045
|
+
},
|
|
1046
|
+
{
|
|
1047
|
+
"name": "body",
|
|
1048
|
+
"in": "body",
|
|
1049
|
+
"required": true,
|
|
1050
|
+
"schema": {
|
|
1051
|
+
"type": "object",
|
|
1052
|
+
"properties": {
|
|
1053
|
+
"hello": {
|
|
1054
|
+
"type": "string"
|
|
1055
|
+
},
|
|
1056
|
+
"sourceRoomIdStringValueDeprecated": {
|
|
1057
|
+
"type": "string"
|
|
1058
|
+
},
|
|
1059
|
+
"sourceContactIdStringValueDeprecated": {
|
|
1060
|
+
"type": "string"
|
|
1061
|
+
},
|
|
1062
|
+
"referrer": {
|
|
1063
|
+
"$ref": "#/definitions/puppetReferrer"
|
|
1064
|
+
}
|
|
1065
|
+
}
|
|
1066
|
+
}
|
|
1182
1067
|
}
|
|
1183
1068
|
],
|
|
1184
1069
|
"tags": [
|
|
@@ -1186,223 +1071,14 @@
|
|
|
1186
1071
|
]
|
|
1187
1072
|
}
|
|
1188
1073
|
},
|
|
1189
|
-
"/
|
|
1074
|
+
"/friendship/search/handle/{weixin}": {
|
|
1190
1075
|
"get": {
|
|
1191
|
-
"operationId": "
|
|
1076
|
+
"operationId": "Puppet_FriendshipSearchHandle",
|
|
1192
1077
|
"responses": {
|
|
1193
1078
|
"200": {
|
|
1194
1079
|
"description": "A successful response.",
|
|
1195
1080
|
"schema": {
|
|
1196
|
-
"$ref": "#/definitions/
|
|
1197
|
-
}
|
|
1198
|
-
},
|
|
1199
|
-
"default": {
|
|
1200
|
-
"description": "An unexpected error response.",
|
|
1201
|
-
"schema": {
|
|
1202
|
-
"$ref": "#/definitions/rpcStatus"
|
|
1203
|
-
}
|
|
1204
|
-
}
|
|
1205
|
-
},
|
|
1206
|
-
"tags": [
|
|
1207
|
-
"Puppet"
|
|
1208
|
-
]
|
|
1209
|
-
}
|
|
1210
|
-
},
|
|
1211
|
-
"/ding": {
|
|
1212
|
-
"post": {
|
|
1213
|
-
"operationId": "Puppet_Ding",
|
|
1214
|
-
"responses": {
|
|
1215
|
-
"200": {
|
|
1216
|
-
"description": "A successful response.",
|
|
1217
|
-
"schema": {
|
|
1218
|
-
"$ref": "#/definitions/puppetDingResponse"
|
|
1219
|
-
}
|
|
1220
|
-
},
|
|
1221
|
-
"default": {
|
|
1222
|
-
"description": "An unexpected error response.",
|
|
1223
|
-
"schema": {
|
|
1224
|
-
"$ref": "#/definitions/rpcStatus"
|
|
1225
|
-
}
|
|
1226
|
-
}
|
|
1227
|
-
},
|
|
1228
|
-
"parameters": [
|
|
1229
|
-
{
|
|
1230
|
-
"name": "body",
|
|
1231
|
-
"in": "body",
|
|
1232
|
-
"required": true,
|
|
1233
|
-
"schema": {
|
|
1234
|
-
"$ref": "#/definitions/puppetDingRequest"
|
|
1235
|
-
}
|
|
1236
|
-
}
|
|
1237
|
-
],
|
|
1238
|
-
"tags": [
|
|
1239
|
-
"Puppet"
|
|
1240
|
-
]
|
|
1241
|
-
}
|
|
1242
|
-
},
|
|
1243
|
-
"/download/{id}": {
|
|
1244
|
-
"get": {
|
|
1245
|
-
"summary": "*\nFile/Blob download & upload",
|
|
1246
|
-
"operationId": "Puppet_Download",
|
|
1247
|
-
"responses": {
|
|
1248
|
-
"200": {
|
|
1249
|
-
"description": "A successful response.(streaming responses)",
|
|
1250
|
-
"schema": {
|
|
1251
|
-
"type": "object",
|
|
1252
|
-
"properties": {
|
|
1253
|
-
"result": {
|
|
1254
|
-
"$ref": "#/definitions/puppetDownloadResponse"
|
|
1255
|
-
},
|
|
1256
|
-
"error": {
|
|
1257
|
-
"$ref": "#/definitions/rpcStatus"
|
|
1258
|
-
}
|
|
1259
|
-
},
|
|
1260
|
-
"title": "Stream result of puppetDownloadResponse"
|
|
1261
|
-
}
|
|
1262
|
-
},
|
|
1263
|
-
"default": {
|
|
1264
|
-
"description": "An unexpected error response.",
|
|
1265
|
-
"schema": {
|
|
1266
|
-
"$ref": "#/definitions/rpcStatus"
|
|
1267
|
-
}
|
|
1268
|
-
}
|
|
1269
|
-
},
|
|
1270
|
-
"parameters": [
|
|
1271
|
-
{
|
|
1272
|
-
"name": "id",
|
|
1273
|
-
"in": "path",
|
|
1274
|
-
"required": true,
|
|
1275
|
-
"type": "string"
|
|
1276
|
-
}
|
|
1277
|
-
],
|
|
1278
|
-
"tags": [
|
|
1279
|
-
"Puppet"
|
|
1280
|
-
]
|
|
1281
|
-
}
|
|
1282
|
-
},
|
|
1283
|
-
"/events": {
|
|
1284
|
-
"get": {
|
|
1285
|
-
"summary": "*",
|
|
1286
|
-
"description": "Event - Server Stream",
|
|
1287
|
-
"operationId": "Puppet_Event",
|
|
1288
|
-
"responses": {
|
|
1289
|
-
"200": {
|
|
1290
|
-
"description": "A successful response.(streaming responses)",
|
|
1291
|
-
"schema": {
|
|
1292
|
-
"type": "object",
|
|
1293
|
-
"properties": {
|
|
1294
|
-
"result": {
|
|
1295
|
-
"$ref": "#/definitions/puppetEventResponse"
|
|
1296
|
-
},
|
|
1297
|
-
"error": {
|
|
1298
|
-
"$ref": "#/definitions/rpcStatus"
|
|
1299
|
-
}
|
|
1300
|
-
},
|
|
1301
|
-
"title": "Stream result of puppetEventResponse"
|
|
1302
|
-
}
|
|
1303
|
-
},
|
|
1304
|
-
"default": {
|
|
1305
|
-
"description": "An unexpected error response.",
|
|
1306
|
-
"schema": {
|
|
1307
|
-
"$ref": "#/definitions/rpcStatus"
|
|
1308
|
-
}
|
|
1309
|
-
}
|
|
1310
|
-
},
|
|
1311
|
-
"tags": [
|
|
1312
|
-
"Puppet"
|
|
1313
|
-
]
|
|
1314
|
-
}
|
|
1315
|
-
},
|
|
1316
|
-
"/friendship/accept/{id}": {
|
|
1317
|
-
"put": {
|
|
1318
|
-
"operationId": "Puppet_FriendshipAccept",
|
|
1319
|
-
"responses": {
|
|
1320
|
-
"200": {
|
|
1321
|
-
"description": "A successful response.",
|
|
1322
|
-
"schema": {
|
|
1323
|
-
"$ref": "#/definitions/puppetFriendshipAcceptResponse"
|
|
1324
|
-
}
|
|
1325
|
-
},
|
|
1326
|
-
"default": {
|
|
1327
|
-
"description": "An unexpected error response.",
|
|
1328
|
-
"schema": {
|
|
1329
|
-
"$ref": "#/definitions/rpcStatus"
|
|
1330
|
-
}
|
|
1331
|
-
}
|
|
1332
|
-
},
|
|
1333
|
-
"parameters": [
|
|
1334
|
-
{
|
|
1335
|
-
"name": "id",
|
|
1336
|
-
"in": "path",
|
|
1337
|
-
"required": true,
|
|
1338
|
-
"type": "string"
|
|
1339
|
-
}
|
|
1340
|
-
],
|
|
1341
|
-
"tags": [
|
|
1342
|
-
"Puppet"
|
|
1343
|
-
]
|
|
1344
|
-
}
|
|
1345
|
-
},
|
|
1346
|
-
"/friendship/add/{contactId}": {
|
|
1347
|
-
"put": {
|
|
1348
|
-
"operationId": "Puppet_FriendshipAdd",
|
|
1349
|
-
"responses": {
|
|
1350
|
-
"200": {
|
|
1351
|
-
"description": "A successful response.",
|
|
1352
|
-
"schema": {
|
|
1353
|
-
"$ref": "#/definitions/puppetFriendshipAddResponse"
|
|
1354
|
-
}
|
|
1355
|
-
},
|
|
1356
|
-
"default": {
|
|
1357
|
-
"description": "An unexpected error response.",
|
|
1358
|
-
"schema": {
|
|
1359
|
-
"$ref": "#/definitions/rpcStatus"
|
|
1360
|
-
}
|
|
1361
|
-
}
|
|
1362
|
-
},
|
|
1363
|
-
"parameters": [
|
|
1364
|
-
{
|
|
1365
|
-
"name": "contactId",
|
|
1366
|
-
"in": "path",
|
|
1367
|
-
"required": true,
|
|
1368
|
-
"type": "string"
|
|
1369
|
-
},
|
|
1370
|
-
{
|
|
1371
|
-
"name": "body",
|
|
1372
|
-
"in": "body",
|
|
1373
|
-
"required": true,
|
|
1374
|
-
"schema": {
|
|
1375
|
-
"type": "object",
|
|
1376
|
-
"properties": {
|
|
1377
|
-
"hello": {
|
|
1378
|
-
"type": "string"
|
|
1379
|
-
},
|
|
1380
|
-
"sourceRoomIdStringValueDeprecated": {
|
|
1381
|
-
"type": "string"
|
|
1382
|
-
},
|
|
1383
|
-
"sourceContactIdStringValueDeprecated": {
|
|
1384
|
-
"type": "string"
|
|
1385
|
-
},
|
|
1386
|
-
"referrer": {
|
|
1387
|
-
"$ref": "#/definitions/puppetReferrer"
|
|
1388
|
-
}
|
|
1389
|
-
}
|
|
1390
|
-
}
|
|
1391
|
-
}
|
|
1392
|
-
],
|
|
1393
|
-
"tags": [
|
|
1394
|
-
"Puppet"
|
|
1395
|
-
]
|
|
1396
|
-
}
|
|
1397
|
-
},
|
|
1398
|
-
"/friendship/search/handle/{weixin}": {
|
|
1399
|
-
"get": {
|
|
1400
|
-
"operationId": "Puppet_FriendshipSearchHandle",
|
|
1401
|
-
"responses": {
|
|
1402
|
-
"200": {
|
|
1403
|
-
"description": "A successful response.",
|
|
1404
|
-
"schema": {
|
|
1405
|
-
"$ref": "#/definitions/puppetFriendshipSearchHandleResponse"
|
|
1081
|
+
"$ref": "#/definitions/puppetFriendshipSearchHandleResponse"
|
|
1406
1082
|
}
|
|
1407
1083
|
},
|
|
1408
1084
|
"default": {
|
|
@@ -2286,7 +1962,274 @@
|
|
|
2286
1962
|
"200": {
|
|
2287
1963
|
"description": "A successful response.",
|
|
2288
1964
|
"schema": {
|
|
2289
|
-
"$ref": "#/definitions/puppetDirtyPayloadResponse"
|
|
1965
|
+
"$ref": "#/definitions/puppetDirtyPayloadResponse"
|
|
1966
|
+
}
|
|
1967
|
+
},
|
|
1968
|
+
"default": {
|
|
1969
|
+
"description": "An unexpected error response.",
|
|
1970
|
+
"schema": {
|
|
1971
|
+
"$ref": "#/definitions/rpcStatus"
|
|
1972
|
+
}
|
|
1973
|
+
}
|
|
1974
|
+
},
|
|
1975
|
+
"parameters": [
|
|
1976
|
+
{
|
|
1977
|
+
"name": "id",
|
|
1978
|
+
"in": "path",
|
|
1979
|
+
"required": true,
|
|
1980
|
+
"type": "string"
|
|
1981
|
+
},
|
|
1982
|
+
{
|
|
1983
|
+
"name": "type",
|
|
1984
|
+
"in": "path",
|
|
1985
|
+
"required": true,
|
|
1986
|
+
"type": "string",
|
|
1987
|
+
"enum": [
|
|
1988
|
+
"PAYLOAD_TYPE_UNSPECIFIED",
|
|
1989
|
+
"PAYLOAD_TYPE_MESSAGE",
|
|
1990
|
+
"PAYLOAD_TYPE_CONTACT",
|
|
1991
|
+
"PAYLOAD_TYPE_ROOM",
|
|
1992
|
+
"PAYLOAD_TYPE_ROOM_MEMBER",
|
|
1993
|
+
"PAYLOAD_TYPE_FRIENDSHIP"
|
|
1994
|
+
],
|
|
1995
|
+
"pattern": "PAYLOADTYPEROOM"
|
|
1996
|
+
}
|
|
1997
|
+
],
|
|
1998
|
+
"tags": [
|
|
1999
|
+
"Puppet"
|
|
2000
|
+
]
|
|
2001
|
+
}
|
|
2002
|
+
},
|
|
2003
|
+
"/rooms/{id}/member/{contactId}": {
|
|
2004
|
+
"delete": {
|
|
2005
|
+
"operationId": "Puppet_RoomDel",
|
|
2006
|
+
"responses": {
|
|
2007
|
+
"200": {
|
|
2008
|
+
"description": "A successful response.",
|
|
2009
|
+
"schema": {
|
|
2010
|
+
"$ref": "#/definitions/puppetRoomDelResponse"
|
|
2011
|
+
}
|
|
2012
|
+
},
|
|
2013
|
+
"default": {
|
|
2014
|
+
"description": "An unexpected error response.",
|
|
2015
|
+
"schema": {
|
|
2016
|
+
"$ref": "#/definitions/rpcStatus"
|
|
2017
|
+
}
|
|
2018
|
+
}
|
|
2019
|
+
},
|
|
2020
|
+
"parameters": [
|
|
2021
|
+
{
|
|
2022
|
+
"name": "id",
|
|
2023
|
+
"in": "path",
|
|
2024
|
+
"required": true,
|
|
2025
|
+
"type": "string"
|
|
2026
|
+
},
|
|
2027
|
+
{
|
|
2028
|
+
"name": "contactId",
|
|
2029
|
+
"in": "path",
|
|
2030
|
+
"required": true,
|
|
2031
|
+
"type": "string"
|
|
2032
|
+
}
|
|
2033
|
+
],
|
|
2034
|
+
"tags": [
|
|
2035
|
+
"Puppet"
|
|
2036
|
+
]
|
|
2037
|
+
}
|
|
2038
|
+
},
|
|
2039
|
+
"/rooms/{id}/members": {
|
|
2040
|
+
"get": {
|
|
2041
|
+
"operationId": "Puppet_RoomMemberList",
|
|
2042
|
+
"responses": {
|
|
2043
|
+
"200": {
|
|
2044
|
+
"description": "A successful response.",
|
|
2045
|
+
"schema": {
|
|
2046
|
+
"$ref": "#/definitions/puppetRoomMemberListResponse"
|
|
2047
|
+
}
|
|
2048
|
+
},
|
|
2049
|
+
"default": {
|
|
2050
|
+
"description": "An unexpected error response.",
|
|
2051
|
+
"schema": {
|
|
2052
|
+
"$ref": "#/definitions/rpcStatus"
|
|
2053
|
+
}
|
|
2054
|
+
}
|
|
2055
|
+
},
|
|
2056
|
+
"parameters": [
|
|
2057
|
+
{
|
|
2058
|
+
"name": "id",
|
|
2059
|
+
"in": "path",
|
|
2060
|
+
"required": true,
|
|
2061
|
+
"type": "string"
|
|
2062
|
+
}
|
|
2063
|
+
],
|
|
2064
|
+
"tags": [
|
|
2065
|
+
"Puppet"
|
|
2066
|
+
]
|
|
2067
|
+
}
|
|
2068
|
+
},
|
|
2069
|
+
"/rooms/{id}/members/{memberId}": {
|
|
2070
|
+
"get": {
|
|
2071
|
+
"summary": "*",
|
|
2072
|
+
"description": "Room Member",
|
|
2073
|
+
"operationId": "Puppet_RoomMemberPayload",
|
|
2074
|
+
"responses": {
|
|
2075
|
+
"200": {
|
|
2076
|
+
"description": "A successful response.",
|
|
2077
|
+
"schema": {
|
|
2078
|
+
"$ref": "#/definitions/puppetRoomMemberPayloadResponse"
|
|
2079
|
+
}
|
|
2080
|
+
},
|
|
2081
|
+
"default": {
|
|
2082
|
+
"description": "An unexpected error response.",
|
|
2083
|
+
"schema": {
|
|
2084
|
+
"$ref": "#/definitions/rpcStatus"
|
|
2085
|
+
}
|
|
2086
|
+
}
|
|
2087
|
+
},
|
|
2088
|
+
"parameters": [
|
|
2089
|
+
{
|
|
2090
|
+
"name": "id",
|
|
2091
|
+
"in": "path",
|
|
2092
|
+
"required": true,
|
|
2093
|
+
"type": "string"
|
|
2094
|
+
},
|
|
2095
|
+
{
|
|
2096
|
+
"name": "memberId",
|
|
2097
|
+
"in": "path",
|
|
2098
|
+
"required": true,
|
|
2099
|
+
"type": "string"
|
|
2100
|
+
}
|
|
2101
|
+
],
|
|
2102
|
+
"tags": [
|
|
2103
|
+
"Puppet"
|
|
2104
|
+
]
|
|
2105
|
+
}
|
|
2106
|
+
},
|
|
2107
|
+
"/rooms/{id}/qrcode": {
|
|
2108
|
+
"get": {
|
|
2109
|
+
"operationId": "Puppet_RoomQRCode",
|
|
2110
|
+
"responses": {
|
|
2111
|
+
"200": {
|
|
2112
|
+
"description": "A successful response.",
|
|
2113
|
+
"schema": {
|
|
2114
|
+
"$ref": "#/definitions/puppetRoomQRCodeResponse"
|
|
2115
|
+
}
|
|
2116
|
+
},
|
|
2117
|
+
"default": {
|
|
2118
|
+
"description": "An unexpected error response.",
|
|
2119
|
+
"schema": {
|
|
2120
|
+
"$ref": "#/definitions/rpcStatus"
|
|
2121
|
+
}
|
|
2122
|
+
}
|
|
2123
|
+
},
|
|
2124
|
+
"parameters": [
|
|
2125
|
+
{
|
|
2126
|
+
"name": "id",
|
|
2127
|
+
"in": "path",
|
|
2128
|
+
"required": true,
|
|
2129
|
+
"type": "string"
|
|
2130
|
+
}
|
|
2131
|
+
],
|
|
2132
|
+
"tags": [
|
|
2133
|
+
"Puppet"
|
|
2134
|
+
]
|
|
2135
|
+
}
|
|
2136
|
+
},
|
|
2137
|
+
"/rooms/{id}/topic": {
|
|
2138
|
+
"get": {
|
|
2139
|
+
"operationId": "Puppet_RoomTopic",
|
|
2140
|
+
"responses": {
|
|
2141
|
+
"200": {
|
|
2142
|
+
"description": "A successful response.",
|
|
2143
|
+
"schema": {
|
|
2144
|
+
"$ref": "#/definitions/puppetRoomTopicResponse"
|
|
2145
|
+
}
|
|
2146
|
+
},
|
|
2147
|
+
"default": {
|
|
2148
|
+
"description": "An unexpected error response.",
|
|
2149
|
+
"schema": {
|
|
2150
|
+
"$ref": "#/definitions/rpcStatus"
|
|
2151
|
+
}
|
|
2152
|
+
}
|
|
2153
|
+
},
|
|
2154
|
+
"parameters": [
|
|
2155
|
+
{
|
|
2156
|
+
"name": "id",
|
|
2157
|
+
"in": "path",
|
|
2158
|
+
"required": true,
|
|
2159
|
+
"type": "string"
|
|
2160
|
+
},
|
|
2161
|
+
{
|
|
2162
|
+
"name": "topicStringValueDeprecated",
|
|
2163
|
+
"in": "query",
|
|
2164
|
+
"required": false,
|
|
2165
|
+
"type": "string"
|
|
2166
|
+
},
|
|
2167
|
+
{
|
|
2168
|
+
"name": "topic",
|
|
2169
|
+
"in": "query",
|
|
2170
|
+
"required": false,
|
|
2171
|
+
"type": "string"
|
|
2172
|
+
}
|
|
2173
|
+
],
|
|
2174
|
+
"tags": [
|
|
2175
|
+
"Puppet"
|
|
2176
|
+
]
|
|
2177
|
+
}
|
|
2178
|
+
},
|
|
2179
|
+
"/start": {
|
|
2180
|
+
"put": {
|
|
2181
|
+
"summary": "*",
|
|
2182
|
+
"description": "Base",
|
|
2183
|
+
"operationId": "Puppet_Start",
|
|
2184
|
+
"responses": {
|
|
2185
|
+
"200": {
|
|
2186
|
+
"description": "A successful response.",
|
|
2187
|
+
"schema": {
|
|
2188
|
+
"$ref": "#/definitions/puppetStartResponse"
|
|
2189
|
+
}
|
|
2190
|
+
},
|
|
2191
|
+
"default": {
|
|
2192
|
+
"description": "An unexpected error response.",
|
|
2193
|
+
"schema": {
|
|
2194
|
+
"$ref": "#/definitions/rpcStatus"
|
|
2195
|
+
}
|
|
2196
|
+
}
|
|
2197
|
+
},
|
|
2198
|
+
"tags": [
|
|
2199
|
+
"Puppet"
|
|
2200
|
+
]
|
|
2201
|
+
}
|
|
2202
|
+
},
|
|
2203
|
+
"/stop": {
|
|
2204
|
+
"put": {
|
|
2205
|
+
"operationId": "Puppet_Stop",
|
|
2206
|
+
"responses": {
|
|
2207
|
+
"200": {
|
|
2208
|
+
"description": "A successful response.",
|
|
2209
|
+
"schema": {
|
|
2210
|
+
"$ref": "#/definitions/puppetStopResponse"
|
|
2211
|
+
}
|
|
2212
|
+
},
|
|
2213
|
+
"default": {
|
|
2214
|
+
"description": "An unexpected error response.",
|
|
2215
|
+
"schema": {
|
|
2216
|
+
"$ref": "#/definitions/rpcStatus"
|
|
2217
|
+
}
|
|
2218
|
+
}
|
|
2219
|
+
},
|
|
2220
|
+
"tags": [
|
|
2221
|
+
"Puppet"
|
|
2222
|
+
]
|
|
2223
|
+
}
|
|
2224
|
+
},
|
|
2225
|
+
"/tag/groups": {
|
|
2226
|
+
"get": {
|
|
2227
|
+
"operationId": "Puppet_TagGroupList",
|
|
2228
|
+
"responses": {
|
|
2229
|
+
"200": {
|
|
2230
|
+
"description": "A successful response.",
|
|
2231
|
+
"schema": {
|
|
2232
|
+
"$ref": "#/definitions/puppetTagGroupListResponse"
|
|
2290
2233
|
}
|
|
2291
2234
|
},
|
|
2292
2235
|
"default": {
|
|
@@ -2296,42 +2239,19 @@
|
|
|
2296
2239
|
}
|
|
2297
2240
|
}
|
|
2298
2241
|
},
|
|
2299
|
-
"parameters": [
|
|
2300
|
-
{
|
|
2301
|
-
"name": "id",
|
|
2302
|
-
"in": "path",
|
|
2303
|
-
"required": true,
|
|
2304
|
-
"type": "string"
|
|
2305
|
-
},
|
|
2306
|
-
{
|
|
2307
|
-
"name": "type",
|
|
2308
|
-
"in": "path",
|
|
2309
|
-
"required": true,
|
|
2310
|
-
"type": "string",
|
|
2311
|
-
"enum": [
|
|
2312
|
-
"PAYLOAD_TYPE_UNSPECIFIED",
|
|
2313
|
-
"PAYLOAD_TYPE_MESSAGE",
|
|
2314
|
-
"PAYLOAD_TYPE_CONTACT",
|
|
2315
|
-
"PAYLOAD_TYPE_ROOM",
|
|
2316
|
-
"PAYLOAD_TYPE_ROOM_MEMBER",
|
|
2317
|
-
"PAYLOAD_TYPE_FRIENDSHIP"
|
|
2318
|
-
],
|
|
2319
|
-
"pattern": "PAYLOADTYPEROOM"
|
|
2320
|
-
}
|
|
2321
|
-
],
|
|
2322
2242
|
"tags": [
|
|
2323
2243
|
"Puppet"
|
|
2324
2244
|
]
|
|
2325
2245
|
}
|
|
2326
2246
|
},
|
|
2327
|
-
"/
|
|
2328
|
-
"
|
|
2329
|
-
"operationId": "
|
|
2247
|
+
"/tag/groups/{tagGroupId}/tags": {
|
|
2248
|
+
"get": {
|
|
2249
|
+
"operationId": "Puppet_TagGroupTagList",
|
|
2330
2250
|
"responses": {
|
|
2331
2251
|
"200": {
|
|
2332
2252
|
"description": "A successful response.",
|
|
2333
2253
|
"schema": {
|
|
2334
|
-
"$ref": "#/definitions/
|
|
2254
|
+
"$ref": "#/definitions/puppetTagGroupTagListResponse"
|
|
2335
2255
|
}
|
|
2336
2256
|
},
|
|
2337
2257
|
"default": {
|
|
@@ -2343,13 +2263,7 @@
|
|
|
2343
2263
|
},
|
|
2344
2264
|
"parameters": [
|
|
2345
2265
|
{
|
|
2346
|
-
"name": "
|
|
2347
|
-
"in": "path",
|
|
2348
|
-
"required": true,
|
|
2349
|
-
"type": "string"
|
|
2350
|
-
},
|
|
2351
|
-
{
|
|
2352
|
-
"name": "contactId",
|
|
2266
|
+
"name": "tagGroupId",
|
|
2353
2267
|
"in": "path",
|
|
2354
2268
|
"required": true,
|
|
2355
2269
|
"type": "string"
|
|
@@ -2360,14 +2274,14 @@
|
|
|
2360
2274
|
]
|
|
2361
2275
|
}
|
|
2362
2276
|
},
|
|
2363
|
-
"/
|
|
2277
|
+
"/tag/tags": {
|
|
2364
2278
|
"get": {
|
|
2365
|
-
"operationId": "
|
|
2279
|
+
"operationId": "Puppet_TagTagList",
|
|
2366
2280
|
"responses": {
|
|
2367
2281
|
"200": {
|
|
2368
2282
|
"description": "A successful response.",
|
|
2369
2283
|
"schema": {
|
|
2370
|
-
"$ref": "#/definitions/
|
|
2284
|
+
"$ref": "#/definitions/puppetTagTagListResponse"
|
|
2371
2285
|
}
|
|
2372
2286
|
},
|
|
2373
2287
|
"default": {
|
|
@@ -2377,29 +2291,19 @@
|
|
|
2377
2291
|
}
|
|
2378
2292
|
}
|
|
2379
2293
|
},
|
|
2380
|
-
"parameters": [
|
|
2381
|
-
{
|
|
2382
|
-
"name": "id",
|
|
2383
|
-
"in": "path",
|
|
2384
|
-
"required": true,
|
|
2385
|
-
"type": "string"
|
|
2386
|
-
}
|
|
2387
|
-
],
|
|
2388
2294
|
"tags": [
|
|
2389
2295
|
"Puppet"
|
|
2390
2296
|
]
|
|
2391
2297
|
}
|
|
2392
2298
|
},
|
|
2393
|
-
"/
|
|
2299
|
+
"/tag/{tagGroupId}/{tagId}/contacts": {
|
|
2394
2300
|
"get": {
|
|
2395
|
-
"
|
|
2396
|
-
"description": "Room Member",
|
|
2397
|
-
"operationId": "Puppet_RoomMemberPayload",
|
|
2301
|
+
"operationId": "Puppet_TagTagContactList",
|
|
2398
2302
|
"responses": {
|
|
2399
2303
|
"200": {
|
|
2400
2304
|
"description": "A successful response.",
|
|
2401
2305
|
"schema": {
|
|
2402
|
-
"$ref": "#/definitions/
|
|
2306
|
+
"$ref": "#/definitions/puppetTagTagContactListResponse"
|
|
2403
2307
|
}
|
|
2404
2308
|
},
|
|
2405
2309
|
"default": {
|
|
@@ -2411,13 +2315,13 @@
|
|
|
2411
2315
|
},
|
|
2412
2316
|
"parameters": [
|
|
2413
2317
|
{
|
|
2414
|
-
"name": "
|
|
2318
|
+
"name": "tagGroupId",
|
|
2415
2319
|
"in": "path",
|
|
2416
2320
|
"required": true,
|
|
2417
2321
|
"type": "string"
|
|
2418
2322
|
},
|
|
2419
2323
|
{
|
|
2420
|
-
"name": "
|
|
2324
|
+
"name": "tagId",
|
|
2421
2325
|
"in": "path",
|
|
2422
2326
|
"required": true,
|
|
2423
2327
|
"type": "string"
|
|
@@ -2428,14 +2332,14 @@
|
|
|
2428
2332
|
]
|
|
2429
2333
|
}
|
|
2430
2334
|
},
|
|
2431
|
-
"/
|
|
2432
|
-
"
|
|
2433
|
-
"operationId": "
|
|
2335
|
+
"/tags/groups/{tagGroupId}": {
|
|
2336
|
+
"delete": {
|
|
2337
|
+
"operationId": "Puppet_TagGroupDelete",
|
|
2434
2338
|
"responses": {
|
|
2435
2339
|
"200": {
|
|
2436
2340
|
"description": "A successful response.",
|
|
2437
2341
|
"schema": {
|
|
2438
|
-
"$ref": "#/definitions/
|
|
2342
|
+
"$ref": "#/definitions/puppetTagGroupDeleteResponse"
|
|
2439
2343
|
}
|
|
2440
2344
|
},
|
|
2441
2345
|
"default": {
|
|
@@ -2447,7 +2351,7 @@
|
|
|
2447
2351
|
},
|
|
2448
2352
|
"parameters": [
|
|
2449
2353
|
{
|
|
2450
|
-
"name": "
|
|
2354
|
+
"name": "tagGroupId",
|
|
2451
2355
|
"in": "path",
|
|
2452
2356
|
"required": true,
|
|
2453
2357
|
"type": "string"
|
|
@@ -2458,14 +2362,14 @@
|
|
|
2458
2362
|
]
|
|
2459
2363
|
}
|
|
2460
2364
|
},
|
|
2461
|
-
"/
|
|
2462
|
-
"
|
|
2463
|
-
"operationId": "
|
|
2365
|
+
"/tags/groups/{tagGroupId}/tags/{tagId}": {
|
|
2366
|
+
"delete": {
|
|
2367
|
+
"operationId": "Puppet_TagTagDelete",
|
|
2464
2368
|
"responses": {
|
|
2465
2369
|
"200": {
|
|
2466
2370
|
"description": "A successful response.",
|
|
2467
2371
|
"schema": {
|
|
2468
|
-
"$ref": "#/definitions/
|
|
2372
|
+
"$ref": "#/definitions/puppetTagTagDeleteResponse"
|
|
2469
2373
|
}
|
|
2470
2374
|
},
|
|
2471
2375
|
"default": {
|
|
@@ -2477,21 +2381,15 @@
|
|
|
2477
2381
|
},
|
|
2478
2382
|
"parameters": [
|
|
2479
2383
|
{
|
|
2480
|
-
"name": "
|
|
2384
|
+
"name": "tagGroupId",
|
|
2481
2385
|
"in": "path",
|
|
2482
2386
|
"required": true,
|
|
2483
2387
|
"type": "string"
|
|
2484
2388
|
},
|
|
2485
2389
|
{
|
|
2486
|
-
"name": "
|
|
2487
|
-
"in": "
|
|
2488
|
-
"required":
|
|
2489
|
-
"type": "string"
|
|
2490
|
-
},
|
|
2491
|
-
{
|
|
2492
|
-
"name": "topic",
|
|
2493
|
-
"in": "query",
|
|
2494
|
-
"required": false,
|
|
2390
|
+
"name": "tagId",
|
|
2391
|
+
"in": "path",
|
|
2392
|
+
"required": true,
|
|
2495
2393
|
"type": "string"
|
|
2496
2394
|
}
|
|
2497
2395
|
],
|
|
@@ -2500,16 +2398,14 @@
|
|
|
2500
2398
|
]
|
|
2501
2399
|
}
|
|
2502
2400
|
},
|
|
2503
|
-
"/
|
|
2401
|
+
"/tags/groups/{tagGroupId}/tags/{tagName}": {
|
|
2504
2402
|
"put": {
|
|
2505
|
-
"
|
|
2506
|
-
"description": "Base",
|
|
2507
|
-
"operationId": "Puppet_Start",
|
|
2403
|
+
"operationId": "Puppet_TagTagAdd",
|
|
2508
2404
|
"responses": {
|
|
2509
2405
|
"200": {
|
|
2510
2406
|
"description": "A successful response.",
|
|
2511
2407
|
"schema": {
|
|
2512
|
-
"$ref": "#/definitions/
|
|
2408
|
+
"$ref": "#/definitions/puppetTagTagAddResponse"
|
|
2513
2409
|
}
|
|
2514
2410
|
},
|
|
2515
2411
|
"default": {
|
|
@@ -2519,19 +2415,33 @@
|
|
|
2519
2415
|
}
|
|
2520
2416
|
}
|
|
2521
2417
|
},
|
|
2418
|
+
"parameters": [
|
|
2419
|
+
{
|
|
2420
|
+
"name": "tagGroupId",
|
|
2421
|
+
"in": "path",
|
|
2422
|
+
"required": true,
|
|
2423
|
+
"type": "string"
|
|
2424
|
+
},
|
|
2425
|
+
{
|
|
2426
|
+
"name": "tagName",
|
|
2427
|
+
"in": "path",
|
|
2428
|
+
"required": true,
|
|
2429
|
+
"type": "string"
|
|
2430
|
+
}
|
|
2431
|
+
],
|
|
2522
2432
|
"tags": [
|
|
2523
2433
|
"Puppet"
|
|
2524
2434
|
]
|
|
2525
2435
|
}
|
|
2526
2436
|
},
|
|
2527
|
-
"/
|
|
2437
|
+
"/tags/groups/{tagGroupName}": {
|
|
2528
2438
|
"put": {
|
|
2529
|
-
"operationId": "
|
|
2439
|
+
"operationId": "Puppet_TagGroupAdd",
|
|
2530
2440
|
"responses": {
|
|
2531
2441
|
"200": {
|
|
2532
2442
|
"description": "A successful response.",
|
|
2533
2443
|
"schema": {
|
|
2534
|
-
"$ref": "#/definitions/
|
|
2444
|
+
"$ref": "#/definitions/puppetTagGroupAddResponse"
|
|
2535
2445
|
}
|
|
2536
2446
|
},
|
|
2537
2447
|
"default": {
|
|
@@ -2541,6 +2451,14 @@
|
|
|
2541
2451
|
}
|
|
2542
2452
|
}
|
|
2543
2453
|
},
|
|
2454
|
+
"parameters": [
|
|
2455
|
+
{
|
|
2456
|
+
"name": "tagGroupName",
|
|
2457
|
+
"in": "path",
|
|
2458
|
+
"required": true,
|
|
2459
|
+
"type": "string"
|
|
2460
|
+
}
|
|
2461
|
+
],
|
|
2544
2462
|
"tags": [
|
|
2545
2463
|
"Puppet"
|
|
2546
2464
|
]
|
|
@@ -3045,92 +2963,6 @@
|
|
|
3045
2963
|
],
|
|
3046
2964
|
"default": "CONTACT_TYPE_UNSPECIFIED"
|
|
3047
2965
|
},
|
|
3048
|
-
"puppetCorpTagContactTagAddResponse": {
|
|
3049
|
-
"type": "object"
|
|
3050
|
-
},
|
|
3051
|
-
"puppetCorpTagContactTagListResponse": {
|
|
3052
|
-
"type": "object",
|
|
3053
|
-
"properties": {
|
|
3054
|
-
"payloads": {
|
|
3055
|
-
"type": "array",
|
|
3056
|
-
"items": {
|
|
3057
|
-
"$ref": "#/definitions/puppetCorpTagPayload"
|
|
3058
|
-
}
|
|
3059
|
-
}
|
|
3060
|
-
}
|
|
3061
|
-
},
|
|
3062
|
-
"puppetCorpTagContactTagRemoveResponse": {
|
|
3063
|
-
"type": "object"
|
|
3064
|
-
},
|
|
3065
|
-
"puppetCorpTagGroupAddResponse": {
|
|
3066
|
-
"type": "object",
|
|
3067
|
-
"properties": {
|
|
3068
|
-
"payload": {
|
|
3069
|
-
"$ref": "#/definitions/puppetCorpTagGroupPayload"
|
|
3070
|
-
}
|
|
3071
|
-
}
|
|
3072
|
-
},
|
|
3073
|
-
"puppetCorpTagGroupDeleteResponse": {
|
|
3074
|
-
"type": "object"
|
|
3075
|
-
},
|
|
3076
|
-
"puppetCorpTagGroupListResponse": {
|
|
3077
|
-
"type": "object",
|
|
3078
|
-
"properties": {
|
|
3079
|
-
"payloads": {
|
|
3080
|
-
"type": "array",
|
|
3081
|
-
"items": {
|
|
3082
|
-
"$ref": "#/definitions/puppetCorpTagGroupPayload"
|
|
3083
|
-
}
|
|
3084
|
-
}
|
|
3085
|
-
}
|
|
3086
|
-
},
|
|
3087
|
-
"puppetCorpTagGroupPayload": {
|
|
3088
|
-
"type": "object",
|
|
3089
|
-
"properties": {
|
|
3090
|
-
"id": {
|
|
3091
|
-
"type": "string"
|
|
3092
|
-
},
|
|
3093
|
-
"name": {
|
|
3094
|
-
"type": "string"
|
|
3095
|
-
}
|
|
3096
|
-
}
|
|
3097
|
-
},
|
|
3098
|
-
"puppetCorpTagPayload": {
|
|
3099
|
-
"type": "object",
|
|
3100
|
-
"properties": {
|
|
3101
|
-
"id": {
|
|
3102
|
-
"type": "string"
|
|
3103
|
-
},
|
|
3104
|
-
"name": {
|
|
3105
|
-
"type": "string"
|
|
3106
|
-
},
|
|
3107
|
-
"groupId": {
|
|
3108
|
-
"type": "string"
|
|
3109
|
-
}
|
|
3110
|
-
}
|
|
3111
|
-
},
|
|
3112
|
-
"puppetCorpTagTagAddResponse": {
|
|
3113
|
-
"type": "object",
|
|
3114
|
-
"properties": {
|
|
3115
|
-
"payload": {
|
|
3116
|
-
"$ref": "#/definitions/puppetCorpTagPayload"
|
|
3117
|
-
}
|
|
3118
|
-
}
|
|
3119
|
-
},
|
|
3120
|
-
"puppetCorpTagTagDeleteResponse": {
|
|
3121
|
-
"type": "object"
|
|
3122
|
-
},
|
|
3123
|
-
"puppetCorpTagTagListResponse": {
|
|
3124
|
-
"type": "object",
|
|
3125
|
-
"properties": {
|
|
3126
|
-
"payloads": {
|
|
3127
|
-
"type": "array",
|
|
3128
|
-
"items": {
|
|
3129
|
-
"$ref": "#/definitions/puppetCorpTagPayload"
|
|
3130
|
-
}
|
|
3131
|
-
}
|
|
3132
|
-
}
|
|
3133
|
-
},
|
|
3134
2966
|
"puppetCurrentUserResponse": {
|
|
3135
2967
|
"type": "object",
|
|
3136
2968
|
"properties": {
|
|
@@ -3300,7 +3132,9 @@
|
|
|
3300
3132
|
"FRIENDSHIP_TYPE_UNSPECIFIED",
|
|
3301
3133
|
"FRIENDSHIP_TYPE_CONFIRM",
|
|
3302
3134
|
"FRIENDSHIP_TYPE_RECEIVE",
|
|
3303
|
-
"FRIENDSHIP_TYPE_VERIFY"
|
|
3135
|
+
"FRIENDSHIP_TYPE_VERIFY",
|
|
3136
|
+
"FRIENDSHIP_TYPE_DELETE",
|
|
3137
|
+
"FRIENDSHIP_TYPE_REMOVED"
|
|
3304
3138
|
],
|
|
3305
3139
|
"default": "FRIENDSHIP_TYPE_UNSPECIFIED"
|
|
3306
3140
|
},
|
|
@@ -3923,16 +3757,96 @@
|
|
|
3923
3757
|
"puppetStopResponse": {
|
|
3924
3758
|
"type": "object"
|
|
3925
3759
|
},
|
|
3926
|
-
"
|
|
3760
|
+
"puppetTagContactTagAddResponse": {
|
|
3927
3761
|
"type": "object"
|
|
3928
3762
|
},
|
|
3929
|
-
"
|
|
3763
|
+
"puppetTagContactTagListResponse": {
|
|
3764
|
+
"type": "object",
|
|
3765
|
+
"properties": {
|
|
3766
|
+
"payloads": {
|
|
3767
|
+
"type": "array",
|
|
3768
|
+
"items": {
|
|
3769
|
+
"$ref": "#/definitions/puppetTagPayload"
|
|
3770
|
+
}
|
|
3771
|
+
}
|
|
3772
|
+
}
|
|
3773
|
+
},
|
|
3774
|
+
"puppetTagContactTagRemoveResponse": {
|
|
3930
3775
|
"type": "object"
|
|
3931
3776
|
},
|
|
3932
|
-
"
|
|
3777
|
+
"puppetTagGroupAddResponse": {
|
|
3933
3778
|
"type": "object",
|
|
3934
3779
|
"properties": {
|
|
3935
|
-
"
|
|
3780
|
+
"payload": {
|
|
3781
|
+
"$ref": "#/definitions/puppetTagGroupPayload"
|
|
3782
|
+
}
|
|
3783
|
+
}
|
|
3784
|
+
},
|
|
3785
|
+
"puppetTagGroupDeleteResponse": {
|
|
3786
|
+
"type": "object"
|
|
3787
|
+
},
|
|
3788
|
+
"puppetTagGroupListResponse": {
|
|
3789
|
+
"type": "object",
|
|
3790
|
+
"properties": {
|
|
3791
|
+
"payloads": {
|
|
3792
|
+
"type": "array",
|
|
3793
|
+
"items": {
|
|
3794
|
+
"$ref": "#/definitions/puppetTagGroupPayload"
|
|
3795
|
+
}
|
|
3796
|
+
}
|
|
3797
|
+
}
|
|
3798
|
+
},
|
|
3799
|
+
"puppetTagGroupPayload": {
|
|
3800
|
+
"type": "object",
|
|
3801
|
+
"properties": {
|
|
3802
|
+
"id": {
|
|
3803
|
+
"type": "string"
|
|
3804
|
+
},
|
|
3805
|
+
"name": {
|
|
3806
|
+
"type": "string"
|
|
3807
|
+
}
|
|
3808
|
+
}
|
|
3809
|
+
},
|
|
3810
|
+
"puppetTagGroupTagListResponse": {
|
|
3811
|
+
"type": "object",
|
|
3812
|
+
"properties": {
|
|
3813
|
+
"payloads": {
|
|
3814
|
+
"type": "array",
|
|
3815
|
+
"items": {
|
|
3816
|
+
"$ref": "#/definitions/puppetTagPayload"
|
|
3817
|
+
}
|
|
3818
|
+
}
|
|
3819
|
+
}
|
|
3820
|
+
},
|
|
3821
|
+
"puppetTagPayload": {
|
|
3822
|
+
"type": "object",
|
|
3823
|
+
"properties": {
|
|
3824
|
+
"id": {
|
|
3825
|
+
"type": "string"
|
|
3826
|
+
},
|
|
3827
|
+
"name": {
|
|
3828
|
+
"type": "string"
|
|
3829
|
+
},
|
|
3830
|
+
"groupId": {
|
|
3831
|
+
"type": "string"
|
|
3832
|
+
},
|
|
3833
|
+
"type": {
|
|
3834
|
+
"$ref": "#/definitions/puppetTagType"
|
|
3835
|
+
}
|
|
3836
|
+
}
|
|
3837
|
+
},
|
|
3838
|
+
"puppetTagTagAddResponse": {
|
|
3839
|
+
"type": "object",
|
|
3840
|
+
"properties": {
|
|
3841
|
+
"payload": {
|
|
3842
|
+
"$ref": "#/definitions/puppetTagPayload"
|
|
3843
|
+
}
|
|
3844
|
+
}
|
|
3845
|
+
},
|
|
3846
|
+
"puppetTagTagContactListResponse": {
|
|
3847
|
+
"type": "object",
|
|
3848
|
+
"properties": {
|
|
3849
|
+
"payloads": {
|
|
3936
3850
|
"type": "array",
|
|
3937
3851
|
"items": {
|
|
3938
3852
|
"type": "string"
|
|
@@ -3940,9 +3854,28 @@
|
|
|
3940
3854
|
}
|
|
3941
3855
|
}
|
|
3942
3856
|
},
|
|
3943
|
-
"
|
|
3857
|
+
"puppetTagTagDeleteResponse": {
|
|
3944
3858
|
"type": "object"
|
|
3945
3859
|
},
|
|
3860
|
+
"puppetTagTagListResponse": {
|
|
3861
|
+
"type": "object",
|
|
3862
|
+
"properties": {
|
|
3863
|
+
"payloads": {
|
|
3864
|
+
"type": "array",
|
|
3865
|
+
"items": {
|
|
3866
|
+
"$ref": "#/definitions/puppetTagPayload"
|
|
3867
|
+
}
|
|
3868
|
+
}
|
|
3869
|
+
}
|
|
3870
|
+
},
|
|
3871
|
+
"puppetTagType": {
|
|
3872
|
+
"type": "string",
|
|
3873
|
+
"enum": [
|
|
3874
|
+
"PERSONAL",
|
|
3875
|
+
"CORPORATION"
|
|
3876
|
+
],
|
|
3877
|
+
"default": "PERSONAL"
|
|
3878
|
+
},
|
|
3946
3879
|
"puppetUploadRequest": {
|
|
3947
3880
|
"type": "object",
|
|
3948
3881
|
"properties": {
|