@juzi/wechaty-grpc 1.0.9 → 1.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/dist/cjs/commonjs/generated/puppet.cjs.d.ts +0 -1
  2. package/dist/cjs/out/wechaty/puppet/friendship_pb.d.ts +2 -0
  3. package/dist/cjs/out/wechaty/puppet/friendship_pb.js +3 -1
  4. package/dist/cjs/out/wechaty/puppet/room_pb.d.ts +6 -0
  5. package/dist/cjs/out/wechaty/puppet/room_pb.js +58 -2
  6. package/dist/cjs/out/wechaty/puppet/tag_pb.d.ts +452 -76
  7. package/dist/cjs/out/wechaty/puppet/tag_pb.js +3287 -352
  8. package/dist/cjs/out/wechaty/puppet.openapi.yaml +323 -331
  9. package/dist/cjs/out/wechaty/puppet.swagger.json +573 -572
  10. package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +154 -189
  11. package/dist/cjs/out/wechaty/puppet_grpc_pb.js +283 -357
  12. package/dist/cjs/out/wechaty/puppet_pb.d.ts +0 -1
  13. package/dist/cjs/out/wechaty/puppet_pb.js +0 -2
  14. package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +110 -149
  15. package/dist/cjs/out/wechaty/puppet_pb_service.js +66 -147
  16. package/dist/cjs/proto/wechaty/puppet/friendship.proto +2 -0
  17. package/dist/cjs/proto/wechaty/puppet/room.proto +14 -13
  18. package/dist/cjs/proto/wechaty/puppet/tag.proto +99 -29
  19. package/dist/cjs/proto/wechaty/puppet.proto +28 -43
  20. package/dist/cjs/src/package-json.js +1 -1
  21. package/dist/cjs/src/package-json.js.map +1 -1
  22. package/dist/cjs/tests/puppet-server-impl.d.ts.map +1 -1
  23. package/dist/cjs/tests/puppet-server-impl.js +11 -21
  24. package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
  25. package/dist/esm/commonjs/generated/puppet.cjs.d.ts +0 -1
  26. package/dist/esm/out/wechaty/puppet/friendship_pb.d.ts +2 -0
  27. package/dist/esm/out/wechaty/puppet/friendship_pb.js +3 -1
  28. package/dist/esm/out/wechaty/puppet/room_pb.d.ts +6 -0
  29. package/dist/esm/out/wechaty/puppet/room_pb.js +58 -2
  30. package/dist/esm/out/wechaty/puppet/tag_pb.d.ts +452 -76
  31. package/dist/esm/out/wechaty/puppet/tag_pb.js +3287 -352
  32. package/dist/esm/out/wechaty/puppet.openapi.yaml +323 -331
  33. package/dist/esm/out/wechaty/puppet.swagger.json +573 -572
  34. package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +154 -189
  35. package/dist/esm/out/wechaty/puppet_grpc_pb.js +283 -357
  36. package/dist/esm/out/wechaty/puppet_pb.d.ts +0 -1
  37. package/dist/esm/out/wechaty/puppet_pb.js +0 -2
  38. package/dist/esm/out/wechaty/puppet_pb_service.d.ts +110 -149
  39. package/dist/esm/out/wechaty/puppet_pb_service.js +66 -147
  40. package/dist/esm/proto/wechaty/puppet/friendship.proto +2 -0
  41. package/dist/esm/proto/wechaty/puppet/room.proto +14 -13
  42. package/dist/esm/proto/wechaty/puppet/tag.proto +99 -29
  43. package/dist/esm/proto/wechaty/puppet.proto +28 -43
  44. package/dist/esm/src/package-json.js +1 -1
  45. package/dist/esm/src/package-json.js.map +1 -1
  46. package/dist/esm/tests/puppet-server-impl.d.ts.map +1 -1
  47. package/dist/esm/tests/puppet-server-impl.js +11 -21
  48. package/dist/esm/tests/puppet-server-impl.js.map +1 -1
  49. package/out/wechaty/puppet/friendship_pb.d.ts +2 -0
  50. package/out/wechaty/puppet/friendship_pb.js +3 -1
  51. package/out/wechaty/puppet/room_pb.d.ts +6 -0
  52. package/out/wechaty/puppet/room_pb.js +58 -2
  53. package/out/wechaty/puppet/tag_pb.d.ts +452 -76
  54. package/out/wechaty/puppet/tag_pb.js +3287 -352
  55. package/out/wechaty/puppet.openapi.yaml +323 -331
  56. package/out/wechaty/puppet.swagger.json +573 -572
  57. package/out/wechaty/puppet_grpc_pb.d.ts +154 -189
  58. package/out/wechaty/puppet_grpc_pb.js +283 -357
  59. package/out/wechaty/puppet_pb.d.ts +0 -1
  60. package/out/wechaty/puppet_pb.js +0 -2
  61. package/out/wechaty/puppet_pb_service.d.ts +110 -149
  62. package/out/wechaty/puppet_pb_service.js +66 -147
  63. package/package.json +1 -1
  64. package/src/package-json.ts +1 -1
  65. package/dist/cjs/out/wechaty/puppet/corp-tag_grpc_pb.js +0 -1
  66. package/dist/cjs/out/wechaty/puppet/corp-tag_pb.d.ts +0 -431
  67. package/dist/cjs/out/wechaty/puppet/corp-tag_pb.js +0 -3315
  68. package/dist/cjs/out/wechaty/puppet/corp-tag_pb_service.d.ts +0 -3
  69. package/dist/cjs/out/wechaty/puppet/corp-tag_pb_service.js +0 -3
  70. package/dist/cjs/proto/wechaty/puppet/corp-tag.proto +0 -90
  71. package/dist/esm/out/wechaty/puppet/corp-tag_grpc_pb.js +0 -1
  72. package/dist/esm/out/wechaty/puppet/corp-tag_pb.d.ts +0 -431
  73. package/dist/esm/out/wechaty/puppet/corp-tag_pb.js +0 -3315
  74. package/dist/esm/out/wechaty/puppet/corp-tag_pb_service.d.ts +0 -3
  75. package/dist/esm/out/wechaty/puppet/corp-tag_pb_service.js +0 -3
  76. package/dist/esm/proto/wechaty/puppet/corp-tag.proto +0 -90
  77. package/out/wechaty/puppet/corp-tag_grpc_pb.js +0 -1
  78. package/out/wechaty/puppet/corp-tag_pb.d.ts +0 -431
  79. package/out/wechaty/puppet/corp-tag_pb.js +0 -3315
  80. package/out/wechaty/puppet/corp-tag_pb_service.d.ts +0 -3
  81. 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.9",
6
+ "version": "1.0.12",
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,87 +273,14 @@
416
273
  ]
417
274
  }
418
275
  },
419
- "/contacts/{contactId}/tags": {
276
+ "/contacts/{contactId}/tag/tags": {
420
277
  "get": {
421
- "operationId": "Puppet_TagContactList",
422
- "responses": {
423
- "200": {
424
- "description": "A successful response.",
425
- "schema": {
426
- "$ref": "#/definitions/puppetTagContactListResponse"
427
- }
428
- },
429
- "default": {
430
- "description": "An unexpected error response.",
431
- "schema": {
432
- "$ref": "#/definitions/rpcStatus"
433
- }
434
- }
435
- },
436
- "parameters": [
437
- {
438
- "name": "contactId",
439
- "in": "path",
440
- "required": true,
441
- "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
- }
450
- ],
451
- "tags": [
452
- "Puppet"
453
- ]
454
- }
455
- },
456
- "/contacts/{contactId}/tags/{id}": {
457
- "delete": {
458
- "operationId": "Puppet_TagContactRemove",
459
- "responses": {
460
- "200": {
461
- "description": "A successful response.",
462
- "schema": {
463
- "$ref": "#/definitions/puppetTagContactRemoveResponse"
464
- }
465
- },
466
- "default": {
467
- "description": "An unexpected error response.",
468
- "schema": {
469
- "$ref": "#/definitions/rpcStatus"
470
- }
471
- }
472
- },
473
- "parameters": [
474
- {
475
- "name": "contactId",
476
- "in": "path",
477
- "required": true,
478
- "type": "string"
479
- },
480
- {
481
- "name": "id",
482
- "in": "path",
483
- "required": true,
484
- "type": "string"
485
- }
486
- ],
487
- "tags": [
488
- "Puppet"
489
- ]
490
- },
491
- "put": {
492
- "summary": "*",
493
- "description": "Tag",
494
- "operationId": "Puppet_TagContactAdd",
278
+ "operationId": "Puppet_TagContactTagList",
495
279
  "responses": {
496
280
  "200": {
497
281
  "description": "A successful response.",
498
282
  "schema": {
499
- "$ref": "#/definitions/puppetTagContactAddResponse"
283
+ "$ref": "#/definitions/puppetTagContactTagListResponse"
500
284
  }
501
285
  },
502
286
  "default": {
@@ -512,12 +296,6 @@
512
296
  "in": "path",
513
297
  "required": true,
514
298
  "type": "string"
515
- },
516
- {
517
- "name": "id",
518
- "in": "path",
519
- "required": true,
520
- "type": "string"
521
299
  }
522
300
  ],
523
301
  "tags": [
@@ -1002,14 +780,14 @@
1002
780
  ]
1003
781
  }
1004
782
  },
1005
- "/corp-tag/groups": {
783
+ "/currentUser": {
1006
784
  "get": {
1007
- "operationId": "Puppet_CorpTagGroupList",
785
+ "operationId": "Puppet_CurrentUser",
1008
786
  "responses": {
1009
787
  "200": {
1010
788
  "description": "A successful response.",
1011
789
  "schema": {
1012
- "$ref": "#/definitions/puppetCorpTagGroupListResponse"
790
+ "$ref": "#/definitions/puppetCurrentUserResponse"
1013
791
  }
1014
792
  },
1015
793
  "default": {
@@ -1024,14 +802,14 @@
1024
802
  ]
1025
803
  }
1026
804
  },
1027
- "/corp-tag/groups/{corpTagGroupId}": {
1028
- "get": {
1029
- "operationId": "Puppet_CorpTagTagList",
805
+ "/ding": {
806
+ "post": {
807
+ "operationId": "Puppet_Ding",
1030
808
  "responses": {
1031
809
  "200": {
1032
810
  "description": "A successful response.",
1033
811
  "schema": {
1034
- "$ref": "#/definitions/puppetCorpTagTagListResponse"
812
+ "$ref": "#/definitions/puppetDingResponse"
1035
813
  }
1036
814
  },
1037
815
  "default": {
@@ -1043,10 +821,12 @@
1043
821
  },
1044
822
  "parameters": [
1045
823
  {
1046
- "name": "corpTagGroupId",
1047
- "in": "path",
824
+ "name": "body",
825
+ "in": "body",
1048
826
  "required": true,
1049
- "type": "string"
827
+ "schema": {
828
+ "$ref": "#/definitions/puppetDingRequest"
829
+ }
1050
830
  }
1051
831
  ],
1052
832
  "tags": [
@@ -1054,14 +834,24 @@
1054
834
  ]
1055
835
  }
1056
836
  },
1057
- "/corp-tags/groups/{corpTagGroupId}": {
1058
- "delete": {
1059
- "operationId": "Puppet_CorpTagGroupDelete",
837
+ "/download/{id}": {
838
+ "get": {
839
+ "summary": "*\nFile/Blob download & upload",
840
+ "operationId": "Puppet_Download",
1060
841
  "responses": {
1061
842
  "200": {
1062
- "description": "A successful response.",
843
+ "description": "A successful response.(streaming responses)",
1063
844
  "schema": {
1064
- "$ref": "#/definitions/puppetCorpTagGroupDeleteResponse"
845
+ "type": "object",
846
+ "properties": {
847
+ "result": {
848
+ "$ref": "#/definitions/puppetDownloadResponse"
849
+ },
850
+ "error": {
851
+ "$ref": "#/definitions/rpcStatus"
852
+ }
853
+ },
854
+ "title": "Stream result of puppetDownloadResponse"
1065
855
  }
1066
856
  },
1067
857
  "default": {
@@ -1073,7 +863,7 @@
1073
863
  },
1074
864
  "parameters": [
1075
865
  {
1076
- "name": "corpTagGroupId",
866
+ "name": "id",
1077
867
  "in": "path",
1078
868
  "required": true,
1079
869
  "type": "string"
@@ -1084,221 +874,25 @@
1084
874
  ]
1085
875
  }
1086
876
  },
1087
- "/corp-tags/groups/{corpTagGroupId}/tags/{corpTagId}": {
1088
- "delete": {
1089
- "operationId": "Puppet_CorpTagTagDelete",
877
+ "/events": {
878
+ "get": {
879
+ "summary": "*",
880
+ "description": "Event - Server Stream",
881
+ "operationId": "Puppet_Event",
1090
882
  "responses": {
1091
883
  "200": {
1092
- "description": "A successful response.",
884
+ "description": "A successful response.(streaming responses)",
1093
885
  "schema": {
1094
- "$ref": "#/definitions/puppetCorpTagTagDeleteResponse"
1095
- }
1096
- },
1097
- "default": {
1098
- "description": "An unexpected error response.",
1099
- "schema": {
1100
- "$ref": "#/definitions/rpcStatus"
1101
- }
1102
- }
1103
- },
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
- "tags": [
1119
- "Puppet"
1120
- ]
1121
- }
1122
- },
1123
- "/corp-tags/groups/{corpTagGroupId}/tags/{corpTagName}": {
1124
- "put": {
1125
- "operationId": "Puppet_CorpTagTagAdd",
1126
- "responses": {
1127
- "200": {
1128
- "description": "A successful response.",
1129
- "schema": {
1130
- "$ref": "#/definitions/puppetCorpTagTagAddResponse"
1131
- }
1132
- },
1133
- "default": {
1134
- "description": "An unexpected error response.",
1135
- "schema": {
1136
- "$ref": "#/definitions/rpcStatus"
1137
- }
1138
- }
1139
- },
1140
- "parameters": [
1141
- {
1142
- "name": "corpTagGroupId",
1143
- "in": "path",
1144
- "required": true,
1145
- "type": "string"
1146
- },
1147
- {
1148
- "name": "corpTagName",
1149
- "in": "path",
1150
- "required": true,
1151
- "type": "string"
1152
- }
1153
- ],
1154
- "tags": [
1155
- "Puppet"
1156
- ]
1157
- }
1158
- },
1159
- "/corp-tags/groups/{corpTagGroupName}": {
1160
- "put": {
1161
- "operationId": "Puppet_CorpTagGroupAdd",
1162
- "responses": {
1163
- "200": {
1164
- "description": "A successful response.",
1165
- "schema": {
1166
- "$ref": "#/definitions/puppetCorpTagGroupAddResponse"
1167
- }
1168
- },
1169
- "default": {
1170
- "description": "An unexpected error response.",
1171
- "schema": {
1172
- "$ref": "#/definitions/rpcStatus"
1173
- }
1174
- }
1175
- },
1176
- "parameters": [
1177
- {
1178
- "name": "corpTagGroupName",
1179
- "in": "path",
1180
- "required": true,
1181
- "type": "string"
1182
- }
1183
- ],
1184
- "tags": [
1185
- "Puppet"
1186
- ]
1187
- }
1188
- },
1189
- "/currentUser": {
1190
- "get": {
1191
- "operationId": "Puppet_CurrentUser",
1192
- "responses": {
1193
- "200": {
1194
- "description": "A successful response.",
1195
- "schema": {
1196
- "$ref": "#/definitions/puppetCurrentUserResponse"
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"
886
+ "type": "object",
887
+ "properties": {
888
+ "result": {
889
+ "$ref": "#/definitions/puppetEventResponse"
890
+ },
891
+ "error": {
892
+ "$ref": "#/definitions/rpcStatus"
893
+ }
894
+ },
895
+ "title": "Stream result of puppetEventResponse"
1302
896
  }
1303
897
  },
1304
898
  "default": {
@@ -2353,6 +1947,16 @@
2353
1947
  "in": "path",
2354
1948
  "required": true,
2355
1949
  "type": "string"
1950
+ },
1951
+ {
1952
+ "name": "contactIds",
1953
+ "in": "query",
1954
+ "required": false,
1955
+ "type": "array",
1956
+ "items": {
1957
+ "type": "string"
1958
+ },
1959
+ "collectionFormat": "multi"
2356
1960
  }
2357
1961
  ],
2358
1962
  "tags": [
@@ -2465,7 +2069,311 @@
2465
2069
  "200": {
2466
2070
  "description": "A successful response.",
2467
2071
  "schema": {
2468
- "$ref": "#/definitions/puppetRoomTopicResponse"
2072
+ "$ref": "#/definitions/puppetRoomTopicResponse"
2073
+ }
2074
+ },
2075
+ "default": {
2076
+ "description": "An unexpected error response.",
2077
+ "schema": {
2078
+ "$ref": "#/definitions/rpcStatus"
2079
+ }
2080
+ }
2081
+ },
2082
+ "parameters": [
2083
+ {
2084
+ "name": "id",
2085
+ "in": "path",
2086
+ "required": true,
2087
+ "type": "string"
2088
+ },
2089
+ {
2090
+ "name": "topicStringValueDeprecated",
2091
+ "in": "query",
2092
+ "required": false,
2093
+ "type": "string"
2094
+ },
2095
+ {
2096
+ "name": "topic",
2097
+ "in": "query",
2098
+ "required": false,
2099
+ "type": "string"
2100
+ }
2101
+ ],
2102
+ "tags": [
2103
+ "Puppet"
2104
+ ]
2105
+ }
2106
+ },
2107
+ "/start": {
2108
+ "put": {
2109
+ "summary": "*",
2110
+ "description": "Base",
2111
+ "operationId": "Puppet_Start",
2112
+ "responses": {
2113
+ "200": {
2114
+ "description": "A successful response.",
2115
+ "schema": {
2116
+ "$ref": "#/definitions/puppetStartResponse"
2117
+ }
2118
+ },
2119
+ "default": {
2120
+ "description": "An unexpected error response.",
2121
+ "schema": {
2122
+ "$ref": "#/definitions/rpcStatus"
2123
+ }
2124
+ }
2125
+ },
2126
+ "tags": [
2127
+ "Puppet"
2128
+ ]
2129
+ }
2130
+ },
2131
+ "/stop": {
2132
+ "put": {
2133
+ "operationId": "Puppet_Stop",
2134
+ "responses": {
2135
+ "200": {
2136
+ "description": "A successful response.",
2137
+ "schema": {
2138
+ "$ref": "#/definitions/puppetStopResponse"
2139
+ }
2140
+ },
2141
+ "default": {
2142
+ "description": "An unexpected error response.",
2143
+ "schema": {
2144
+ "$ref": "#/definitions/rpcStatus"
2145
+ }
2146
+ }
2147
+ },
2148
+ "tags": [
2149
+ "Puppet"
2150
+ ]
2151
+ }
2152
+ },
2153
+ "/tag/add": {
2154
+ "post": {
2155
+ "operationId": "Puppet_TagTagAdd",
2156
+ "responses": {
2157
+ "200": {
2158
+ "description": "A successful response.",
2159
+ "schema": {
2160
+ "$ref": "#/definitions/puppetTagTagAddResponse"
2161
+ }
2162
+ },
2163
+ "default": {
2164
+ "description": "An unexpected error response.",
2165
+ "schema": {
2166
+ "$ref": "#/definitions/rpcStatus"
2167
+ }
2168
+ }
2169
+ },
2170
+ "parameters": [
2171
+ {
2172
+ "name": "body",
2173
+ "in": "body",
2174
+ "required": true,
2175
+ "schema": {
2176
+ "$ref": "#/definitions/puppetTagTagAddRequest"
2177
+ }
2178
+ }
2179
+ ],
2180
+ "tags": [
2181
+ "Puppet"
2182
+ ]
2183
+ }
2184
+ },
2185
+ "/tag/addContactTag": {
2186
+ "post": {
2187
+ "operationId": "Puppet_TagContactTagAdd",
2188
+ "responses": {
2189
+ "200": {
2190
+ "description": "A successful response.",
2191
+ "schema": {
2192
+ "$ref": "#/definitions/puppetTagContactTagAddResponse"
2193
+ }
2194
+ },
2195
+ "default": {
2196
+ "description": "An unexpected error response.",
2197
+ "schema": {
2198
+ "$ref": "#/definitions/rpcStatus"
2199
+ }
2200
+ }
2201
+ },
2202
+ "parameters": [
2203
+ {
2204
+ "name": "body",
2205
+ "in": "body",
2206
+ "required": true,
2207
+ "schema": {
2208
+ "$ref": "#/definitions/puppetTagContactTagAddRequest"
2209
+ }
2210
+ }
2211
+ ],
2212
+ "tags": [
2213
+ "Puppet"
2214
+ ]
2215
+ }
2216
+ },
2217
+ "/tag/delete": {
2218
+ "post": {
2219
+ "operationId": "Puppet_TagTagDelete",
2220
+ "responses": {
2221
+ "200": {
2222
+ "description": "A successful response.",
2223
+ "schema": {
2224
+ "$ref": "#/definitions/puppetTagTagDeleteResponse"
2225
+ }
2226
+ },
2227
+ "default": {
2228
+ "description": "An unexpected error response.",
2229
+ "schema": {
2230
+ "$ref": "#/definitions/rpcStatus"
2231
+ }
2232
+ }
2233
+ },
2234
+ "parameters": [
2235
+ {
2236
+ "name": "body",
2237
+ "in": "body",
2238
+ "required": true,
2239
+ "schema": {
2240
+ "$ref": "#/definitions/puppetTagTagDeleteRequest"
2241
+ }
2242
+ }
2243
+ ],
2244
+ "tags": [
2245
+ "Puppet"
2246
+ ]
2247
+ }
2248
+ },
2249
+ "/tag/groups/{tagGroupId}/tags": {
2250
+ "get": {
2251
+ "operationId": "Puppet_TagGroupTagList",
2252
+ "responses": {
2253
+ "200": {
2254
+ "description": "A successful response.",
2255
+ "schema": {
2256
+ "$ref": "#/definitions/puppetTagGroupTagListResponse"
2257
+ }
2258
+ },
2259
+ "default": {
2260
+ "description": "An unexpected error response.",
2261
+ "schema": {
2262
+ "$ref": "#/definitions/rpcStatus"
2263
+ }
2264
+ }
2265
+ },
2266
+ "parameters": [
2267
+ {
2268
+ "name": "tagGroupId",
2269
+ "in": "path",
2270
+ "required": true,
2271
+ "type": "string"
2272
+ }
2273
+ ],
2274
+ "tags": [
2275
+ "Puppet"
2276
+ ]
2277
+ }
2278
+ },
2279
+ "/tag/list": {
2280
+ "get": {
2281
+ "operationId": "Puppet_TagTagList",
2282
+ "responses": {
2283
+ "200": {
2284
+ "description": "A successful response.",
2285
+ "schema": {
2286
+ "$ref": "#/definitions/puppetTagTagListResponse"
2287
+ }
2288
+ },
2289
+ "default": {
2290
+ "description": "An unexpected error response.",
2291
+ "schema": {
2292
+ "$ref": "#/definitions/rpcStatus"
2293
+ }
2294
+ }
2295
+ },
2296
+ "tags": [
2297
+ "Puppet"
2298
+ ]
2299
+ }
2300
+ },
2301
+ "/tag/removeContactTag": {
2302
+ "post": {
2303
+ "operationId": "Puppet_TagContactTagRemove",
2304
+ "responses": {
2305
+ "200": {
2306
+ "description": "A successful response.",
2307
+ "schema": {
2308
+ "$ref": "#/definitions/puppetTagContactTagRemoveResponse"
2309
+ }
2310
+ },
2311
+ "default": {
2312
+ "description": "An unexpected error response.",
2313
+ "schema": {
2314
+ "$ref": "#/definitions/rpcStatus"
2315
+ }
2316
+ }
2317
+ },
2318
+ "parameters": [
2319
+ {
2320
+ "name": "body",
2321
+ "in": "body",
2322
+ "required": true,
2323
+ "schema": {
2324
+ "$ref": "#/definitions/puppetTagContactTagRemoveRequest"
2325
+ }
2326
+ }
2327
+ ],
2328
+ "tags": [
2329
+ "Puppet"
2330
+ ]
2331
+ }
2332
+ },
2333
+ "/tag/{tag.groupId}/{tag.id}/contacts": {
2334
+ "get": {
2335
+ "operationId": "Puppet_TagTagContactList",
2336
+ "responses": {
2337
+ "200": {
2338
+ "description": "A successful response.",
2339
+ "schema": {
2340
+ "$ref": "#/definitions/puppetTagTagContactListResponse"
2341
+ }
2342
+ },
2343
+ "default": {
2344
+ "description": "An unexpected error response.",
2345
+ "schema": {
2346
+ "$ref": "#/definitions/rpcStatus"
2347
+ }
2348
+ }
2349
+ },
2350
+ "parameters": [
2351
+ {
2352
+ "name": "tag.groupId",
2353
+ "in": "path",
2354
+ "required": true,
2355
+ "type": "string"
2356
+ },
2357
+ {
2358
+ "name": "tag.id",
2359
+ "in": "path",
2360
+ "required": true,
2361
+ "type": "string"
2362
+ }
2363
+ ],
2364
+ "tags": [
2365
+ "Puppet"
2366
+ ]
2367
+ }
2368
+ },
2369
+ "/tagGroup/add": {
2370
+ "post": {
2371
+ "operationId": "Puppet_TagGroupAdd",
2372
+ "responses": {
2373
+ "200": {
2374
+ "description": "A successful response.",
2375
+ "schema": {
2376
+ "$ref": "#/definitions/puppetTagGroupAddResponse"
2469
2377
  }
2470
2378
  },
2471
2379
  "default": {
@@ -2477,22 +2385,12 @@
2477
2385
  },
2478
2386
  "parameters": [
2479
2387
  {
2480
- "name": "id",
2481
- "in": "path",
2388
+ "name": "body",
2389
+ "in": "body",
2482
2390
  "required": true,
2483
- "type": "string"
2484
- },
2485
- {
2486
- "name": "topicStringValueDeprecated",
2487
- "in": "query",
2488
- "required": false,
2489
- "type": "string"
2490
- },
2491
- {
2492
- "name": "topic",
2493
- "in": "query",
2494
- "required": false,
2495
- "type": "string"
2391
+ "schema": {
2392
+ "$ref": "#/definitions/puppetTagGroupAddRequest"
2393
+ }
2496
2394
  }
2497
2395
  ],
2498
2396
  "tags": [
@@ -2500,16 +2398,14 @@
2500
2398
  ]
2501
2399
  }
2502
2400
  },
2503
- "/start": {
2504
- "put": {
2505
- "summary": "*",
2506
- "description": "Base",
2507
- "operationId": "Puppet_Start",
2401
+ "/tagGroup/delete": {
2402
+ "post": {
2403
+ "operationId": "Puppet_TagGroupDelete",
2508
2404
  "responses": {
2509
2405
  "200": {
2510
2406
  "description": "A successful response.",
2511
2407
  "schema": {
2512
- "$ref": "#/definitions/puppetStartResponse"
2408
+ "$ref": "#/definitions/puppetTagGroupDeleteResponse"
2513
2409
  }
2514
2410
  },
2515
2411
  "default": {
@@ -2519,19 +2415,29 @@
2519
2415
  }
2520
2416
  }
2521
2417
  },
2418
+ "parameters": [
2419
+ {
2420
+ "name": "body",
2421
+ "in": "body",
2422
+ "required": true,
2423
+ "schema": {
2424
+ "$ref": "#/definitions/puppetTagGroupDeleteRequest"
2425
+ }
2426
+ }
2427
+ ],
2522
2428
  "tags": [
2523
2429
  "Puppet"
2524
2430
  ]
2525
2431
  }
2526
2432
  },
2527
- "/stop": {
2528
- "put": {
2529
- "operationId": "Puppet_Stop",
2433
+ "/tagGroup/list": {
2434
+ "get": {
2435
+ "operationId": "Puppet_TagGroupList",
2530
2436
  "responses": {
2531
2437
  "200": {
2532
2438
  "description": "A successful response.",
2533
2439
  "schema": {
2534
- "$ref": "#/definitions/puppetStopResponse"
2440
+ "$ref": "#/definitions/puppetTagGroupListResponse"
2535
2441
  }
2536
2442
  },
2537
2443
  "default": {
@@ -3045,92 +2951,6 @@
3045
2951
  ],
3046
2952
  "default": "CONTACT_TYPE_UNSPECIFIED"
3047
2953
  },
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
2954
  "puppetCurrentUserResponse": {
3135
2955
  "type": "object",
3136
2956
  "properties": {
@@ -3300,7 +3120,9 @@
3300
3120
  "FRIENDSHIP_TYPE_UNSPECIFIED",
3301
3121
  "FRIENDSHIP_TYPE_CONFIRM",
3302
3122
  "FRIENDSHIP_TYPE_RECEIVE",
3303
- "FRIENDSHIP_TYPE_VERIFY"
3123
+ "FRIENDSHIP_TYPE_VERIFY",
3124
+ "FRIENDSHIP_TYPE_DELETE",
3125
+ "FRIENDSHIP_TYPE_REMOVED"
3304
3126
  ],
3305
3127
  "default": "FRIENDSHIP_TYPE_UNSPECIFIED"
3306
3128
  },
@@ -3923,16 +3745,168 @@
3923
3745
  "puppetStopResponse": {
3924
3746
  "type": "object"
3925
3747
  },
3926
- "puppetTagContactAddResponse": {
3748
+ "puppetTagContactTagAddRequest": {
3749
+ "type": "object",
3750
+ "properties": {
3751
+ "tags": {
3752
+ "type": "array",
3753
+ "items": {
3754
+ "$ref": "#/definitions/puppetTagIdentifier"
3755
+ }
3756
+ },
3757
+ "contactIds": {
3758
+ "type": "array",
3759
+ "items": {
3760
+ "type": "string"
3761
+ }
3762
+ }
3763
+ }
3764
+ },
3765
+ "puppetTagContactTagAddResponse": {
3766
+ "type": "object"
3767
+ },
3768
+ "puppetTagContactTagListResponse": {
3769
+ "type": "object",
3770
+ "properties": {
3771
+ "payloads": {
3772
+ "type": "array",
3773
+ "items": {
3774
+ "$ref": "#/definitions/puppetTagPayload"
3775
+ }
3776
+ }
3777
+ }
3778
+ },
3779
+ "puppetTagContactTagRemoveRequest": {
3780
+ "type": "object",
3781
+ "properties": {
3782
+ "tags": {
3783
+ "type": "array",
3784
+ "items": {
3785
+ "$ref": "#/definitions/puppetTagIdentifier"
3786
+ }
3787
+ },
3788
+ "contactIds": {
3789
+ "type": "array",
3790
+ "items": {
3791
+ "type": "string"
3792
+ }
3793
+ }
3794
+ }
3795
+ },
3796
+ "puppetTagContactTagRemoveResponse": {
3927
3797
  "type": "object"
3928
3798
  },
3929
- "puppetTagContactDeleteResponse": {
3799
+ "puppetTagGroupAddRequest": {
3800
+ "type": "object",
3801
+ "properties": {
3802
+ "tagGroupName": {
3803
+ "type": "string"
3804
+ }
3805
+ }
3806
+ },
3807
+ "puppetTagGroupAddResponse": {
3808
+ "type": "object",
3809
+ "properties": {
3810
+ "payload": {
3811
+ "$ref": "#/definitions/puppetTagGroupPayload"
3812
+ }
3813
+ }
3814
+ },
3815
+ "puppetTagGroupDeleteRequest": {
3816
+ "type": "object",
3817
+ "properties": {
3818
+ "tagGroupId": {
3819
+ "type": "string"
3820
+ }
3821
+ }
3822
+ },
3823
+ "puppetTagGroupDeleteResponse": {
3930
3824
  "type": "object"
3931
3825
  },
3932
- "puppetTagContactListResponse": {
3826
+ "puppetTagGroupListResponse": {
3933
3827
  "type": "object",
3934
3828
  "properties": {
3935
- "ids": {
3829
+ "payloads": {
3830
+ "type": "array",
3831
+ "items": {
3832
+ "$ref": "#/definitions/puppetTagGroupPayload"
3833
+ }
3834
+ }
3835
+ }
3836
+ },
3837
+ "puppetTagGroupPayload": {
3838
+ "type": "object",
3839
+ "properties": {
3840
+ "id": {
3841
+ "type": "string"
3842
+ },
3843
+ "name": {
3844
+ "type": "string"
3845
+ }
3846
+ }
3847
+ },
3848
+ "puppetTagGroupTagListResponse": {
3849
+ "type": "object",
3850
+ "properties": {
3851
+ "payloads": {
3852
+ "type": "array",
3853
+ "items": {
3854
+ "$ref": "#/definitions/puppetTagPayload"
3855
+ }
3856
+ }
3857
+ }
3858
+ },
3859
+ "puppetTagIdentifier": {
3860
+ "type": "object",
3861
+ "properties": {
3862
+ "id": {
3863
+ "type": "string"
3864
+ },
3865
+ "groupId": {
3866
+ "type": "string"
3867
+ }
3868
+ }
3869
+ },
3870
+ "puppetTagPayload": {
3871
+ "type": "object",
3872
+ "properties": {
3873
+ "id": {
3874
+ "type": "string"
3875
+ },
3876
+ "name": {
3877
+ "type": "string"
3878
+ },
3879
+ "groupId": {
3880
+ "type": "string"
3881
+ },
3882
+ "type": {
3883
+ "$ref": "#/definitions/puppetTagType"
3884
+ }
3885
+ }
3886
+ },
3887
+ "puppetTagTagAddRequest": {
3888
+ "type": "object",
3889
+ "properties": {
3890
+ "tagName": {
3891
+ "type": "string"
3892
+ },
3893
+ "tagGroupId": {
3894
+ "type": "string"
3895
+ }
3896
+ }
3897
+ },
3898
+ "puppetTagTagAddResponse": {
3899
+ "type": "object",
3900
+ "properties": {
3901
+ "payload": {
3902
+ "$ref": "#/definitions/puppetTagPayload"
3903
+ }
3904
+ }
3905
+ },
3906
+ "puppetTagTagContactListResponse": {
3907
+ "type": "object",
3908
+ "properties": {
3909
+ "payloads": {
3936
3910
  "type": "array",
3937
3911
  "items": {
3938
3912
  "type": "string"
@@ -3940,9 +3914,36 @@
3940
3914
  }
3941
3915
  }
3942
3916
  },
3943
- "puppetTagContactRemoveResponse": {
3917
+ "puppetTagTagDeleteRequest": {
3918
+ "type": "object",
3919
+ "properties": {
3920
+ "tag": {
3921
+ "$ref": "#/definitions/puppetTagIdentifier"
3922
+ }
3923
+ }
3924
+ },
3925
+ "puppetTagTagDeleteResponse": {
3944
3926
  "type": "object"
3945
3927
  },
3928
+ "puppetTagTagListResponse": {
3929
+ "type": "object",
3930
+ "properties": {
3931
+ "payloads": {
3932
+ "type": "array",
3933
+ "items": {
3934
+ "$ref": "#/definitions/puppetTagPayload"
3935
+ }
3936
+ }
3937
+ }
3938
+ },
3939
+ "puppetTagType": {
3940
+ "type": "string",
3941
+ "enum": [
3942
+ "PERSONAL",
3943
+ "CORPORATION"
3944
+ ],
3945
+ "default": "PERSONAL"
3946
+ },
3946
3947
  "puppetUploadRequest": {
3947
3948
  "type": "object",
3948
3949
  "properties": {