@juzi/wechaty-grpc 1.0.11 → 1.0.14

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 (54) hide show
  1. package/dist/cjs/out/wechaty/puppet/event_pb.d.ts +1 -0
  2. package/dist/cjs/out/wechaty/puppet/event_pb.js +2 -1
  3. package/dist/cjs/out/wechaty/puppet/room_pb.d.ts +6 -0
  4. package/dist/cjs/out/wechaty/puppet/room_pb.js +58 -2
  5. package/dist/cjs/out/wechaty/puppet/tag_pb.d.ts +181 -73
  6. package/dist/cjs/out/wechaty/puppet/tag_pb.js +1472 -594
  7. package/dist/cjs/out/wechaty/puppet.openapi.yaml +216 -112
  8. package/dist/cjs/out/wechaty/puppet.swagger.json +312 -144
  9. package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +34 -0
  10. package/dist/cjs/out/wechaty/puppet_grpc_pb.js +66 -0
  11. package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +38 -0
  12. package/dist/cjs/out/wechaty/puppet_pb_service.js +80 -0
  13. package/dist/cjs/proto/wechaty/puppet/event.proto +1 -0
  14. package/dist/cjs/proto/wechaty/puppet/room.proto +14 -13
  15. package/dist/cjs/proto/wechaty/puppet/tag.proto +39 -21
  16. package/dist/cjs/proto/wechaty/puppet.proto +29 -9
  17. package/dist/cjs/src/package-json.js +1 -1
  18. package/dist/cjs/tests/puppet-server-impl.d.ts.map +1 -1
  19. package/dist/cjs/tests/puppet-server-impl.js +10 -0
  20. package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
  21. package/dist/esm/out/wechaty/puppet/event_pb.d.ts +1 -0
  22. package/dist/esm/out/wechaty/puppet/event_pb.js +2 -1
  23. package/dist/esm/out/wechaty/puppet/room_pb.d.ts +6 -0
  24. package/dist/esm/out/wechaty/puppet/room_pb.js +58 -2
  25. package/dist/esm/out/wechaty/puppet/tag_pb.d.ts +181 -73
  26. package/dist/esm/out/wechaty/puppet/tag_pb.js +1472 -594
  27. package/dist/esm/out/wechaty/puppet.openapi.yaml +216 -112
  28. package/dist/esm/out/wechaty/puppet.swagger.json +312 -144
  29. package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +34 -0
  30. package/dist/esm/out/wechaty/puppet_grpc_pb.js +66 -0
  31. package/dist/esm/out/wechaty/puppet_pb_service.d.ts +38 -0
  32. package/dist/esm/out/wechaty/puppet_pb_service.js +80 -0
  33. package/dist/esm/proto/wechaty/puppet/event.proto +1 -0
  34. package/dist/esm/proto/wechaty/puppet/room.proto +14 -13
  35. package/dist/esm/proto/wechaty/puppet/tag.proto +39 -21
  36. package/dist/esm/proto/wechaty/puppet.proto +29 -9
  37. package/dist/esm/src/package-json.js +1 -1
  38. package/dist/esm/tests/puppet-server-impl.d.ts.map +1 -1
  39. package/dist/esm/tests/puppet-server-impl.js +10 -0
  40. package/dist/esm/tests/puppet-server-impl.js.map +1 -1
  41. package/out/wechaty/puppet/event_pb.d.ts +1 -0
  42. package/out/wechaty/puppet/event_pb.js +2 -1
  43. package/out/wechaty/puppet/room_pb.d.ts +6 -0
  44. package/out/wechaty/puppet/room_pb.js +58 -2
  45. package/out/wechaty/puppet/tag_pb.d.ts +181 -73
  46. package/out/wechaty/puppet/tag_pb.js +1472 -594
  47. package/out/wechaty/puppet.openapi.yaml +216 -112
  48. package/out/wechaty/puppet.swagger.json +312 -144
  49. package/out/wechaty/puppet_grpc_pb.d.ts +34 -0
  50. package/out/wechaty/puppet_grpc_pb.js +66 -0
  51. package/out/wechaty/puppet_pb_service.d.ts +38 -0
  52. package/out/wechaty/puppet_pb_service.js +80 -0
  53. package/package.json +1 -1
  54. 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.11",
6
+ "version": "1.0.14",
7
7
  "contact": {
8
8
  "name": "Wechaty",
9
9
  "url": "https://github.com/wechaty/openapi",
@@ -303,88 +303,6 @@
303
303
  ]
304
304
  }
305
305
  },
306
- "/contacts/{contactId}/tag/tags/{tagId}": {
307
- "delete": {
308
- "operationId": "Puppet_TagContactTagRemove",
309
- "responses": {
310
- "200": {
311
- "description": "A successful response.",
312
- "schema": {
313
- "$ref": "#/definitions/puppetTagContactTagRemoveResponse"
314
- }
315
- },
316
- "default": {
317
- "description": "An unexpected error response.",
318
- "schema": {
319
- "$ref": "#/definitions/rpcStatus"
320
- }
321
- }
322
- },
323
- "parameters": [
324
- {
325
- "name": "contactId",
326
- "in": "path",
327
- "required": true,
328
- "type": "string"
329
- },
330
- {
331
- "name": "tagId",
332
- "in": "path",
333
- "required": true,
334
- "type": "string"
335
- },
336
- {
337
- "name": "tagGroupId",
338
- "in": "query",
339
- "required": false,
340
- "type": "string"
341
- }
342
- ],
343
- "tags": [
344
- "Puppet"
345
- ]
346
- },
347
- "put": {
348
- "operationId": "Puppet_TagContactTagAdd",
349
- "responses": {
350
- "200": {
351
- "description": "A successful response.",
352
- "schema": {
353
- "$ref": "#/definitions/puppetTagContactTagAddResponse"
354
- }
355
- },
356
- "default": {
357
- "description": "An unexpected error response.",
358
- "schema": {
359
- "$ref": "#/definitions/rpcStatus"
360
- }
361
- }
362
- },
363
- "parameters": [
364
- {
365
- "name": "contactId",
366
- "in": "path",
367
- "required": true,
368
- "type": "string"
369
- },
370
- {
371
- "name": "tagId",
372
- "in": "path",
373
- "required": true,
374
- "type": "string"
375
- },
376
- {
377
- "name": "tagGroupId",
378
- "in": "query",
379
- "required": false,
380
- "type": "string"
381
- }
382
- ],
383
- "tags": [
384
- "Puppet"
385
- ]
386
- }
387
- },
388
306
  "/contacts/{id}": {
389
307
  "get": {
390
308
  "summary": "Get a contact payload",
@@ -2029,6 +1947,16 @@
2029
1947
  "in": "path",
2030
1948
  "required": true,
2031
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"
2032
1960
  }
2033
1961
  ],
2034
1962
  "tags": [
@@ -2222,14 +2150,46 @@
2222
2150
  ]
2223
2151
  }
2224
2152
  },
2225
- "/tag/groups": {
2226
- "get": {
2227
- "operationId": "Puppet_TagGroupList",
2153
+ "/tag/add": {
2154
+ "post": {
2155
+ "operationId": "Puppet_TagTagAdd",
2228
2156
  "responses": {
2229
2157
  "200": {
2230
2158
  "description": "A successful response.",
2231
2159
  "schema": {
2232
- "$ref": "#/definitions/puppetTagGroupListResponse"
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"
2233
2193
  }
2234
2194
  },
2235
2195
  "default": {
@@ -2239,6 +2199,48 @@
2239
2199
  }
2240
2200
  }
2241
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
+ ],
2242
2244
  "tags": [
2243
2245
  "Puppet"
2244
2246
  ]
@@ -2274,7 +2276,7 @@
2274
2276
  ]
2275
2277
  }
2276
2278
  },
2277
- "/tag/tags": {
2279
+ "/tag/list": {
2278
2280
  "get": {
2279
2281
  "operationId": "Puppet_TagTagList",
2280
2282
  "responses": {
@@ -2296,14 +2298,14 @@
2296
2298
  ]
2297
2299
  }
2298
2300
  },
2299
- "/tag/{tagGroupId}/{tagId}/contacts": {
2300
- "get": {
2301
- "operationId": "Puppet_TagTagContactList",
2301
+ "/tag/payload": {
2302
+ "post": {
2303
+ "operationId": "Puppet_TagPayload",
2302
2304
  "responses": {
2303
2305
  "200": {
2304
2306
  "description": "A successful response.",
2305
2307
  "schema": {
2306
- "$ref": "#/definitions/puppetTagTagContactListResponse"
2308
+ "$ref": "#/definitions/puppetTagPayloadResponse"
2307
2309
  }
2308
2310
  },
2309
2311
  "default": {
@@ -2315,16 +2317,12 @@
2315
2317
  },
2316
2318
  "parameters": [
2317
2319
  {
2318
- "name": "tagGroupId",
2319
- "in": "path",
2320
- "required": true,
2321
- "type": "string"
2322
- },
2323
- {
2324
- "name": "tagId",
2325
- "in": "path",
2320
+ "name": "body",
2321
+ "in": "body",
2326
2322
  "required": true,
2327
- "type": "string"
2323
+ "schema": {
2324
+ "$ref": "#/definitions/puppetTagPayloadRequest"
2325
+ }
2328
2326
  }
2329
2327
  ],
2330
2328
  "tags": [
@@ -2332,14 +2330,14 @@
2332
2330
  ]
2333
2331
  }
2334
2332
  },
2335
- "/tags/groups/{tagGroupId}": {
2336
- "delete": {
2337
- "operationId": "Puppet_TagGroupDelete",
2333
+ "/tag/removeContactTag": {
2334
+ "post": {
2335
+ "operationId": "Puppet_TagContactTagRemove",
2338
2336
  "responses": {
2339
2337
  "200": {
2340
2338
  "description": "A successful response.",
2341
2339
  "schema": {
2342
- "$ref": "#/definitions/puppetTagGroupDeleteResponse"
2340
+ "$ref": "#/definitions/puppetTagContactTagRemoveResponse"
2343
2341
  }
2344
2342
  },
2345
2343
  "default": {
@@ -2351,10 +2349,12 @@
2351
2349
  },
2352
2350
  "parameters": [
2353
2351
  {
2354
- "name": "tagGroupId",
2355
- "in": "path",
2352
+ "name": "body",
2353
+ "in": "body",
2356
2354
  "required": true,
2357
- "type": "string"
2355
+ "schema": {
2356
+ "$ref": "#/definitions/puppetTagContactTagRemoveRequest"
2357
+ }
2358
2358
  }
2359
2359
  ],
2360
2360
  "tags": [
@@ -2362,14 +2362,14 @@
2362
2362
  ]
2363
2363
  }
2364
2364
  },
2365
- "/tags/groups/{tagGroupId}/tags/{tagId}": {
2366
- "delete": {
2367
- "operationId": "Puppet_TagTagDelete",
2365
+ "/tag/{tag.groupId}/{tag.id}/contacts": {
2366
+ "get": {
2367
+ "operationId": "Puppet_TagTagContactList",
2368
2368
  "responses": {
2369
2369
  "200": {
2370
2370
  "description": "A successful response.",
2371
2371
  "schema": {
2372
- "$ref": "#/definitions/puppetTagTagDeleteResponse"
2372
+ "$ref": "#/definitions/puppetTagTagContactListResponse"
2373
2373
  }
2374
2374
  },
2375
2375
  "default": {
@@ -2381,13 +2381,13 @@
2381
2381
  },
2382
2382
  "parameters": [
2383
2383
  {
2384
- "name": "tagGroupId",
2384
+ "name": "tag.groupId",
2385
2385
  "in": "path",
2386
2386
  "required": true,
2387
2387
  "type": "string"
2388
2388
  },
2389
2389
  {
2390
- "name": "tagId",
2390
+ "name": "tag.id",
2391
2391
  "in": "path",
2392
2392
  "required": true,
2393
2393
  "type": "string"
@@ -2398,14 +2398,14 @@
2398
2398
  ]
2399
2399
  }
2400
2400
  },
2401
- "/tags/groups/{tagGroupId}/tags/{tagName}": {
2402
- "put": {
2403
- "operationId": "Puppet_TagTagAdd",
2401
+ "/tagGroup/add": {
2402
+ "post": {
2403
+ "operationId": "Puppet_TagGroupAdd",
2404
2404
  "responses": {
2405
2405
  "200": {
2406
2406
  "description": "A successful response.",
2407
2407
  "schema": {
2408
- "$ref": "#/definitions/puppetTagTagAddResponse"
2408
+ "$ref": "#/definitions/puppetTagGroupAddResponse"
2409
2409
  }
2410
2410
  },
2411
2411
  "default": {
@@ -2417,16 +2417,44 @@
2417
2417
  },
2418
2418
  "parameters": [
2419
2419
  {
2420
- "name": "tagGroupId",
2421
- "in": "path",
2420
+ "name": "body",
2421
+ "in": "body",
2422
2422
  "required": true,
2423
- "type": "string"
2423
+ "schema": {
2424
+ "$ref": "#/definitions/puppetTagGroupAddRequest"
2425
+ }
2426
+ }
2427
+ ],
2428
+ "tags": [
2429
+ "Puppet"
2430
+ ]
2431
+ }
2432
+ },
2433
+ "/tagGroup/delete": {
2434
+ "post": {
2435
+ "operationId": "Puppet_TagGroupDelete",
2436
+ "responses": {
2437
+ "200": {
2438
+ "description": "A successful response.",
2439
+ "schema": {
2440
+ "$ref": "#/definitions/puppetTagGroupDeleteResponse"
2441
+ }
2424
2442
  },
2443
+ "default": {
2444
+ "description": "An unexpected error response.",
2445
+ "schema": {
2446
+ "$ref": "#/definitions/rpcStatus"
2447
+ }
2448
+ }
2449
+ },
2450
+ "parameters": [
2425
2451
  {
2426
- "name": "tagName",
2427
- "in": "path",
2452
+ "name": "body",
2453
+ "in": "body",
2428
2454
  "required": true,
2429
- "type": "string"
2455
+ "schema": {
2456
+ "$ref": "#/definitions/puppetTagGroupDeleteRequest"
2457
+ }
2430
2458
  }
2431
2459
  ],
2432
2460
  "tags": [
@@ -2434,14 +2462,36 @@
2434
2462
  ]
2435
2463
  }
2436
2464
  },
2437
- "/tags/groups/{tagGroupName}": {
2438
- "put": {
2439
- "operationId": "Puppet_TagGroupAdd",
2465
+ "/tagGroup/list": {
2466
+ "get": {
2467
+ "operationId": "Puppet_TagGroupList",
2440
2468
  "responses": {
2441
2469
  "200": {
2442
2470
  "description": "A successful response.",
2443
2471
  "schema": {
2444
- "$ref": "#/definitions/puppetTagGroupAddResponse"
2472
+ "$ref": "#/definitions/puppetTagGroupListResponse"
2473
+ }
2474
+ },
2475
+ "default": {
2476
+ "description": "An unexpected error response.",
2477
+ "schema": {
2478
+ "$ref": "#/definitions/rpcStatus"
2479
+ }
2480
+ }
2481
+ },
2482
+ "tags": [
2483
+ "Puppet"
2484
+ ]
2485
+ }
2486
+ },
2487
+ "/tagGroup/payload": {
2488
+ "post": {
2489
+ "operationId": "Puppet_TagGroupPayload",
2490
+ "responses": {
2491
+ "200": {
2492
+ "description": "A successful response.",
2493
+ "schema": {
2494
+ "$ref": "#/definitions/puppetTagGroupPayloadResponse"
2445
2495
  }
2446
2496
  },
2447
2497
  "default": {
@@ -2453,10 +2503,12 @@
2453
2503
  },
2454
2504
  "parameters": [
2455
2505
  {
2456
- "name": "tagGroupName",
2457
- "in": "path",
2506
+ "name": "body",
2507
+ "in": "body",
2458
2508
  "required": true,
2459
- "type": "string"
2509
+ "schema": {
2510
+ "$ref": "#/definitions/puppetTagGroupPayloadRequest"
2511
+ }
2460
2512
  }
2461
2513
  ],
2462
2514
  "tags": [
@@ -3025,7 +3077,8 @@
3025
3077
  "EVENT_TYPE_RESET",
3026
3078
  "EVENT_TYPE_LOGIN",
3027
3079
  "EVENT_TYPE_LOGOUT",
3028
- "EVENT_TYPE_DIRTY"
3080
+ "EVENT_TYPE_DIRTY",
3081
+ "EVENT_TYPE_TAG"
3029
3082
  ],
3030
3083
  "default": "EVENT_TYPE_UNSPECIFIED"
3031
3084
  },
@@ -3757,16 +3810,50 @@
3757
3810
  "puppetStopResponse": {
3758
3811
  "type": "object"
3759
3812
  },
3813
+ "puppetTagContactTagAddRequest": {
3814
+ "type": "object",
3815
+ "properties": {
3816
+ "tags": {
3817
+ "type": "array",
3818
+ "items": {
3819
+ "$ref": "#/definitions/puppetTagIdentifier"
3820
+ }
3821
+ },
3822
+ "contactIds": {
3823
+ "type": "array",
3824
+ "items": {
3825
+ "type": "string"
3826
+ }
3827
+ }
3828
+ }
3829
+ },
3760
3830
  "puppetTagContactTagAddResponse": {
3761
3831
  "type": "object"
3762
3832
  },
3763
3833
  "puppetTagContactTagListResponse": {
3764
3834
  "type": "object",
3765
3835
  "properties": {
3766
- "payloads": {
3836
+ "tags": {
3767
3837
  "type": "array",
3768
3838
  "items": {
3769
- "$ref": "#/definitions/puppetTagPayload"
3839
+ "$ref": "#/definitions/puppetTagIdentifier"
3840
+ }
3841
+ }
3842
+ }
3843
+ },
3844
+ "puppetTagContactTagRemoveRequest": {
3845
+ "type": "object",
3846
+ "properties": {
3847
+ "tags": {
3848
+ "type": "array",
3849
+ "items": {
3850
+ "$ref": "#/definitions/puppetTagIdentifier"
3851
+ }
3852
+ },
3853
+ "contactIds": {
3854
+ "type": "array",
3855
+ "items": {
3856
+ "type": "string"
3770
3857
  }
3771
3858
  }
3772
3859
  }
@@ -3774,11 +3861,27 @@
3774
3861
  "puppetTagContactTagRemoveResponse": {
3775
3862
  "type": "object"
3776
3863
  },
3864
+ "puppetTagGroupAddRequest": {
3865
+ "type": "object",
3866
+ "properties": {
3867
+ "tagGroupName": {
3868
+ "type": "string"
3869
+ }
3870
+ }
3871
+ },
3777
3872
  "puppetTagGroupAddResponse": {
3778
3873
  "type": "object",
3779
3874
  "properties": {
3780
- "payload": {
3781
- "$ref": "#/definitions/puppetTagGroupPayload"
3875
+ "tagGroupId": {
3876
+ "type": "string"
3877
+ }
3878
+ }
3879
+ },
3880
+ "puppetTagGroupDeleteRequest": {
3881
+ "type": "object",
3882
+ "properties": {
3883
+ "tagGroupId": {
3884
+ "type": "string"
3782
3885
  }
3783
3886
  }
3784
3887
  },
@@ -3788,10 +3891,10 @@
3788
3891
  "puppetTagGroupListResponse": {
3789
3892
  "type": "object",
3790
3893
  "properties": {
3791
- "payloads": {
3894
+ "tagGroupIds": {
3792
3895
  "type": "array",
3793
3896
  "items": {
3794
- "$ref": "#/definitions/puppetTagGroupPayload"
3897
+ "type": "string"
3795
3898
  }
3796
3899
  }
3797
3900
  }
@@ -3804,20 +3907,50 @@
3804
3907
  },
3805
3908
  "name": {
3806
3909
  "type": "string"
3910
+ },
3911
+ "type": {
3912
+ "$ref": "#/definitions/puppetTagType"
3913
+ }
3914
+ }
3915
+ },
3916
+ "puppetTagGroupPayloadRequest": {
3917
+ "type": "object",
3918
+ "properties": {
3919
+ "groupId": {
3920
+ "type": "string"
3921
+ }
3922
+ }
3923
+ },
3924
+ "puppetTagGroupPayloadResponse": {
3925
+ "type": "object",
3926
+ "properties": {
3927
+ "payload": {
3928
+ "$ref": "#/definitions/puppetTagGroupPayload"
3807
3929
  }
3808
3930
  }
3809
3931
  },
3810
3932
  "puppetTagGroupTagListResponse": {
3811
3933
  "type": "object",
3812
3934
  "properties": {
3813
- "payloads": {
3935
+ "tags": {
3814
3936
  "type": "array",
3815
3937
  "items": {
3816
- "$ref": "#/definitions/puppetTagPayload"
3938
+ "$ref": "#/definitions/puppetTagIdentifier"
3817
3939
  }
3818
3940
  }
3819
3941
  }
3820
3942
  },
3943
+ "puppetTagIdentifier": {
3944
+ "type": "object",
3945
+ "properties": {
3946
+ "id": {
3947
+ "type": "string"
3948
+ },
3949
+ "groupId": {
3950
+ "type": "string"
3951
+ }
3952
+ }
3953
+ },
3821
3954
  "puppetTagPayload": {
3822
3955
  "type": "object",
3823
3956
  "properties": {
@@ -3835,7 +3968,15 @@
3835
3968
  }
3836
3969
  }
3837
3970
  },
3838
- "puppetTagTagAddResponse": {
3971
+ "puppetTagPayloadRequest": {
3972
+ "type": "object",
3973
+ "properties": {
3974
+ "tag": {
3975
+ "$ref": "#/definitions/puppetTagIdentifier"
3976
+ }
3977
+ }
3978
+ },
3979
+ "puppetTagPayloadResponse": {
3839
3980
  "type": "object",
3840
3981
  "properties": {
3841
3982
  "payload": {
@@ -3843,10 +3984,29 @@
3843
3984
  }
3844
3985
  }
3845
3986
  },
3987
+ "puppetTagTagAddRequest": {
3988
+ "type": "object",
3989
+ "properties": {
3990
+ "tagName": {
3991
+ "type": "string"
3992
+ },
3993
+ "tagGroupId": {
3994
+ "type": "string"
3995
+ }
3996
+ }
3997
+ },
3998
+ "puppetTagTagAddResponse": {
3999
+ "type": "object",
4000
+ "properties": {
4001
+ "tag": {
4002
+ "$ref": "#/definitions/puppetTagIdentifier"
4003
+ }
4004
+ }
4005
+ },
3846
4006
  "puppetTagTagContactListResponse": {
3847
4007
  "type": "object",
3848
4008
  "properties": {
3849
- "payloads": {
4009
+ "contactIds": {
3850
4010
  "type": "array",
3851
4011
  "items": {
3852
4012
  "type": "string"
@@ -3854,16 +4014,24 @@
3854
4014
  }
3855
4015
  }
3856
4016
  },
4017
+ "puppetTagTagDeleteRequest": {
4018
+ "type": "object",
4019
+ "properties": {
4020
+ "tag": {
4021
+ "$ref": "#/definitions/puppetTagIdentifier"
4022
+ }
4023
+ }
4024
+ },
3857
4025
  "puppetTagTagDeleteResponse": {
3858
4026
  "type": "object"
3859
4027
  },
3860
4028
  "puppetTagTagListResponse": {
3861
4029
  "type": "object",
3862
4030
  "properties": {
3863
- "payloads": {
4031
+ "tags": {
3864
4032
  "type": "array",
3865
4033
  "items": {
3866
- "$ref": "#/definitions/puppetTagPayload"
4034
+ "$ref": "#/definitions/puppetTagIdentifier"
3867
4035
  }
3868
4036
  }
3869
4037
  }