@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.
- package/dist/cjs/commonjs/generated/puppet.cjs.d.ts +0 -1
- 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/room_pb.d.ts +6 -0
- package/dist/cjs/out/wechaty/puppet/room_pb.js +58 -2
- package/dist/cjs/out/wechaty/puppet/tag_pb.d.ts +452 -76
- package/dist/cjs/out/wechaty/puppet/tag_pb.js +3287 -352
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +323 -331
- package/dist/cjs/out/wechaty/puppet.swagger.json +573 -572
- 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/room.proto +14 -13
- package/dist/cjs/proto/wechaty/puppet/tag.proto +99 -29
- package/dist/cjs/proto/wechaty/puppet.proto +28 -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/commonjs/generated/puppet.cjs.d.ts +0 -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/room_pb.d.ts +6 -0
- package/dist/esm/out/wechaty/puppet/room_pb.js +58 -2
- package/dist/esm/out/wechaty/puppet/tag_pb.d.ts +452 -76
- package/dist/esm/out/wechaty/puppet/tag_pb.js +3287 -352
- package/dist/esm/out/wechaty/puppet.openapi.yaml +323 -331
- package/dist/esm/out/wechaty/puppet.swagger.json +573 -572
- 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/room.proto +14 -13
- package/dist/esm/proto/wechaty/puppet/tag.proto +99 -29
- package/dist/esm/proto/wechaty/puppet.proto +28 -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/room_pb.d.ts +6 -0
- package/out/wechaty/puppet/room_pb.js +58 -2
- package/out/wechaty/puppet/tag_pb.d.ts +452 -76
- package/out/wechaty/puppet/tag_pb.js +3287 -352
- package/out/wechaty/puppet.openapi.yaml +323 -331
- package/out/wechaty/puppet.swagger.json +573 -572
- 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
|
@@ -9,7 +9,7 @@ info:
|
|
|
9
9
|
|
|
10
10
|
Wechaty Puppet Service is the RESTful API for Wechaty API, which is build on
|
|
11
11
|
top of the Wechaty Puppet Abstraction and the gRPC proto definition.
|
|
12
|
-
version: 1.0.
|
|
12
|
+
version: 1.0.12
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
15
|
url: 'https://github.com/wechaty/openapi'
|
|
@@ -43,29 +43,6 @@ paths:
|
|
|
43
43
|
$ref: '#/definitions/rpcStatus'
|
|
44
44
|
tags:
|
|
45
45
|
- Puppet
|
|
46
|
-
'/contacts/-/tags/{id}':
|
|
47
|
-
delete:
|
|
48
|
-
summary: |-
|
|
49
|
-
*
|
|
50
|
-
Operate Sub-Collections
|
|
51
|
-
https://cloud.google.com/apis/design/design_patterns#list_sub-collections
|
|
52
|
-
operationId: Puppet_TagContactDelete
|
|
53
|
-
responses:
|
|
54
|
-
'200':
|
|
55
|
-
description: A successful response.
|
|
56
|
-
schema:
|
|
57
|
-
$ref: '#/definitions/puppetTagContactDeleteResponse'
|
|
58
|
-
default:
|
|
59
|
-
description: An unexpected error response.
|
|
60
|
-
schema:
|
|
61
|
-
$ref: '#/definitions/rpcStatus'
|
|
62
|
-
parameters:
|
|
63
|
-
- name: id
|
|
64
|
-
in: path
|
|
65
|
-
required: true
|
|
66
|
-
type: string
|
|
67
|
-
tags:
|
|
68
|
-
- Puppet
|
|
69
46
|
'/contacts/self/name/{name}':
|
|
70
47
|
put:
|
|
71
48
|
operationId: Puppet_ContactSelfName
|
|
@@ -121,78 +98,6 @@ paths:
|
|
|
121
98
|
$ref: '#/definitions/puppetContactSelfSignatureRequest'
|
|
122
99
|
tags:
|
|
123
100
|
- Puppet
|
|
124
|
-
'/contacts/{contactId}/corp-tag/tags':
|
|
125
|
-
get:
|
|
126
|
-
operationId: Puppet_CorpTagContactTagList
|
|
127
|
-
responses:
|
|
128
|
-
'200':
|
|
129
|
-
description: A successful response.
|
|
130
|
-
schema:
|
|
131
|
-
$ref: '#/definitions/puppetCorpTagContactTagListResponse'
|
|
132
|
-
default:
|
|
133
|
-
description: An unexpected error response.
|
|
134
|
-
schema:
|
|
135
|
-
$ref: '#/definitions/rpcStatus'
|
|
136
|
-
parameters:
|
|
137
|
-
- name: contactId
|
|
138
|
-
in: path
|
|
139
|
-
required: true
|
|
140
|
-
type: string
|
|
141
|
-
tags:
|
|
142
|
-
- Puppet
|
|
143
|
-
'/contacts/{contactId}/corp-tag/tags/{corpTagId}':
|
|
144
|
-
delete:
|
|
145
|
-
operationId: Puppet_CorpTagContactTagRemove
|
|
146
|
-
responses:
|
|
147
|
-
'200':
|
|
148
|
-
description: A successful response.
|
|
149
|
-
schema:
|
|
150
|
-
$ref: '#/definitions/puppetCorpTagContactTagRemoveResponse'
|
|
151
|
-
default:
|
|
152
|
-
description: An unexpected error response.
|
|
153
|
-
schema:
|
|
154
|
-
$ref: '#/definitions/rpcStatus'
|
|
155
|
-
parameters:
|
|
156
|
-
- name: contactId
|
|
157
|
-
in: path
|
|
158
|
-
required: true
|
|
159
|
-
type: string
|
|
160
|
-
- name: corpTagId
|
|
161
|
-
in: path
|
|
162
|
-
required: true
|
|
163
|
-
type: string
|
|
164
|
-
- name: corpTagGroupId
|
|
165
|
-
in: query
|
|
166
|
-
required: false
|
|
167
|
-
type: string
|
|
168
|
-
tags:
|
|
169
|
-
- Puppet
|
|
170
|
-
put:
|
|
171
|
-
operationId: Puppet_CorpTagContactTagAdd
|
|
172
|
-
responses:
|
|
173
|
-
'200':
|
|
174
|
-
description: A successful response.
|
|
175
|
-
schema:
|
|
176
|
-
$ref: '#/definitions/puppetCorpTagContactTagAddResponse'
|
|
177
|
-
default:
|
|
178
|
-
description: An unexpected error response.
|
|
179
|
-
schema:
|
|
180
|
-
$ref: '#/definitions/rpcStatus'
|
|
181
|
-
parameters:
|
|
182
|
-
- name: contactId
|
|
183
|
-
in: path
|
|
184
|
-
required: true
|
|
185
|
-
type: string
|
|
186
|
-
- name: corpTagId
|
|
187
|
-
in: path
|
|
188
|
-
required: true
|
|
189
|
-
type: string
|
|
190
|
-
- name: corpTagGroupId
|
|
191
|
-
in: query
|
|
192
|
-
required: false
|
|
193
|
-
type: string
|
|
194
|
-
tags:
|
|
195
|
-
- Puppet
|
|
196
101
|
'/contacts/{contactId}/corporation-remark':
|
|
197
102
|
put:
|
|
198
103
|
operationId: Puppet_ContactCorporationRemark
|
|
@@ -280,14 +185,14 @@ paths:
|
|
|
280
185
|
type: string
|
|
281
186
|
tags:
|
|
282
187
|
- Puppet
|
|
283
|
-
'/contacts/{contactId}/tags':
|
|
188
|
+
'/contacts/{contactId}/tag/tags':
|
|
284
189
|
get:
|
|
285
|
-
operationId:
|
|
190
|
+
operationId: Puppet_TagContactTagList
|
|
286
191
|
responses:
|
|
287
192
|
'200':
|
|
288
193
|
description: A successful response.
|
|
289
194
|
schema:
|
|
290
|
-
$ref: '#/definitions/
|
|
195
|
+
$ref: '#/definitions/puppetTagContactTagListResponse'
|
|
291
196
|
default:
|
|
292
197
|
description: An unexpected error response.
|
|
293
198
|
schema:
|
|
@@ -297,61 +202,6 @@ paths:
|
|
|
297
202
|
in: path
|
|
298
203
|
required: true
|
|
299
204
|
type: string
|
|
300
|
-
- name: contactIdStringValueDeprecated
|
|
301
|
-
description: |-
|
|
302
|
-
@deprecated:
|
|
303
|
-
Huan(202109): Wrapper types must not be used going forward.
|
|
304
|
-
https://cloud.google.com/apis/design/design_patterns#optional_primitive_fields
|
|
305
|
-
in: query
|
|
306
|
-
required: false
|
|
307
|
-
type: string
|
|
308
|
-
tags:
|
|
309
|
-
- Puppet
|
|
310
|
-
'/contacts/{contactId}/tags/{id}':
|
|
311
|
-
delete:
|
|
312
|
-
operationId: Puppet_TagContactRemove
|
|
313
|
-
responses:
|
|
314
|
-
'200':
|
|
315
|
-
description: A successful response.
|
|
316
|
-
schema:
|
|
317
|
-
$ref: '#/definitions/puppetTagContactRemoveResponse'
|
|
318
|
-
default:
|
|
319
|
-
description: An unexpected error response.
|
|
320
|
-
schema:
|
|
321
|
-
$ref: '#/definitions/rpcStatus'
|
|
322
|
-
parameters:
|
|
323
|
-
- name: contactId
|
|
324
|
-
in: path
|
|
325
|
-
required: true
|
|
326
|
-
type: string
|
|
327
|
-
- name: id
|
|
328
|
-
in: path
|
|
329
|
-
required: true
|
|
330
|
-
type: string
|
|
331
|
-
tags:
|
|
332
|
-
- Puppet
|
|
333
|
-
put:
|
|
334
|
-
summary: '*'
|
|
335
|
-
description: Tag
|
|
336
|
-
operationId: Puppet_TagContactAdd
|
|
337
|
-
responses:
|
|
338
|
-
'200':
|
|
339
|
-
description: A successful response.
|
|
340
|
-
schema:
|
|
341
|
-
$ref: '#/definitions/puppetTagContactAddResponse'
|
|
342
|
-
default:
|
|
343
|
-
description: An unexpected error response.
|
|
344
|
-
schema:
|
|
345
|
-
$ref: '#/definitions/rpcStatus'
|
|
346
|
-
parameters:
|
|
347
|
-
- name: contactId
|
|
348
|
-
in: path
|
|
349
|
-
required: true
|
|
350
|
-
type: string
|
|
351
|
-
- name: id
|
|
352
|
-
in: path
|
|
353
|
-
required: true
|
|
354
|
-
type: string
|
|
355
205
|
tags:
|
|
356
206
|
- Puppet
|
|
357
207
|
'/contacts/{id}':
|
|
@@ -670,123 +520,6 @@ paths:
|
|
|
670
520
|
$ref: '#/definitions/puppetUrlLinkPayload'
|
|
671
521
|
tags:
|
|
672
522
|
- Puppet
|
|
673
|
-
/corp-tag/groups:
|
|
674
|
-
get:
|
|
675
|
-
operationId: Puppet_CorpTagGroupList
|
|
676
|
-
responses:
|
|
677
|
-
'200':
|
|
678
|
-
description: A successful response.
|
|
679
|
-
schema:
|
|
680
|
-
$ref: '#/definitions/puppetCorpTagGroupListResponse'
|
|
681
|
-
default:
|
|
682
|
-
description: An unexpected error response.
|
|
683
|
-
schema:
|
|
684
|
-
$ref: '#/definitions/rpcStatus'
|
|
685
|
-
tags:
|
|
686
|
-
- Puppet
|
|
687
|
-
'/corp-tag/groups/{corpTagGroupId}':
|
|
688
|
-
get:
|
|
689
|
-
operationId: Puppet_CorpTagTagList
|
|
690
|
-
responses:
|
|
691
|
-
'200':
|
|
692
|
-
description: A successful response.
|
|
693
|
-
schema:
|
|
694
|
-
$ref: '#/definitions/puppetCorpTagTagListResponse'
|
|
695
|
-
default:
|
|
696
|
-
description: An unexpected error response.
|
|
697
|
-
schema:
|
|
698
|
-
$ref: '#/definitions/rpcStatus'
|
|
699
|
-
parameters:
|
|
700
|
-
- name: corpTagGroupId
|
|
701
|
-
in: path
|
|
702
|
-
required: true
|
|
703
|
-
type: string
|
|
704
|
-
tags:
|
|
705
|
-
- Puppet
|
|
706
|
-
'/corp-tags/groups/{corpTagGroupId}':
|
|
707
|
-
delete:
|
|
708
|
-
operationId: Puppet_CorpTagGroupDelete
|
|
709
|
-
responses:
|
|
710
|
-
'200':
|
|
711
|
-
description: A successful response.
|
|
712
|
-
schema:
|
|
713
|
-
$ref: '#/definitions/puppetCorpTagGroupDeleteResponse'
|
|
714
|
-
default:
|
|
715
|
-
description: An unexpected error response.
|
|
716
|
-
schema:
|
|
717
|
-
$ref: '#/definitions/rpcStatus'
|
|
718
|
-
parameters:
|
|
719
|
-
- name: corpTagGroupId
|
|
720
|
-
in: path
|
|
721
|
-
required: true
|
|
722
|
-
type: string
|
|
723
|
-
tags:
|
|
724
|
-
- Puppet
|
|
725
|
-
'/corp-tags/groups/{corpTagGroupId}/tags/{corpTagId}':
|
|
726
|
-
delete:
|
|
727
|
-
operationId: Puppet_CorpTagTagDelete
|
|
728
|
-
responses:
|
|
729
|
-
'200':
|
|
730
|
-
description: A successful response.
|
|
731
|
-
schema:
|
|
732
|
-
$ref: '#/definitions/puppetCorpTagTagDeleteResponse'
|
|
733
|
-
default:
|
|
734
|
-
description: An unexpected error response.
|
|
735
|
-
schema:
|
|
736
|
-
$ref: '#/definitions/rpcStatus'
|
|
737
|
-
parameters:
|
|
738
|
-
- name: corpTagGroupId
|
|
739
|
-
in: path
|
|
740
|
-
required: true
|
|
741
|
-
type: string
|
|
742
|
-
- name: corpTagId
|
|
743
|
-
in: path
|
|
744
|
-
required: true
|
|
745
|
-
type: string
|
|
746
|
-
tags:
|
|
747
|
-
- Puppet
|
|
748
|
-
'/corp-tags/groups/{corpTagGroupId}/tags/{corpTagName}':
|
|
749
|
-
put:
|
|
750
|
-
operationId: Puppet_CorpTagTagAdd
|
|
751
|
-
responses:
|
|
752
|
-
'200':
|
|
753
|
-
description: A successful response.
|
|
754
|
-
schema:
|
|
755
|
-
$ref: '#/definitions/puppetCorpTagTagAddResponse'
|
|
756
|
-
default:
|
|
757
|
-
description: An unexpected error response.
|
|
758
|
-
schema:
|
|
759
|
-
$ref: '#/definitions/rpcStatus'
|
|
760
|
-
parameters:
|
|
761
|
-
- name: corpTagGroupId
|
|
762
|
-
in: path
|
|
763
|
-
required: true
|
|
764
|
-
type: string
|
|
765
|
-
- name: corpTagName
|
|
766
|
-
in: path
|
|
767
|
-
required: true
|
|
768
|
-
type: string
|
|
769
|
-
tags:
|
|
770
|
-
- Puppet
|
|
771
|
-
'/corp-tags/groups/{corpTagGroupName}':
|
|
772
|
-
put:
|
|
773
|
-
operationId: Puppet_CorpTagGroupAdd
|
|
774
|
-
responses:
|
|
775
|
-
'200':
|
|
776
|
-
description: A successful response.
|
|
777
|
-
schema:
|
|
778
|
-
$ref: '#/definitions/puppetCorpTagGroupAddResponse'
|
|
779
|
-
default:
|
|
780
|
-
description: An unexpected error response.
|
|
781
|
-
schema:
|
|
782
|
-
$ref: '#/definitions/rpcStatus'
|
|
783
|
-
parameters:
|
|
784
|
-
- name: corpTagGroupName
|
|
785
|
-
in: path
|
|
786
|
-
required: true
|
|
787
|
-
type: string
|
|
788
|
-
tags:
|
|
789
|
-
- Puppet
|
|
790
523
|
/currentUser:
|
|
791
524
|
get:
|
|
792
525
|
operationId: Puppet_CurrentUser
|
|
@@ -1572,6 +1305,13 @@ paths:
|
|
|
1572
1305
|
in: path
|
|
1573
1306
|
required: true
|
|
1574
1307
|
type: string
|
|
1308
|
+
- name: contactIds
|
|
1309
|
+
in: query
|
|
1310
|
+
required: false
|
|
1311
|
+
type: array
|
|
1312
|
+
items:
|
|
1313
|
+
type: string
|
|
1314
|
+
collectionFormat: multi
|
|
1575
1315
|
tags:
|
|
1576
1316
|
- Puppet
|
|
1577
1317
|
'/rooms/{id}/members':
|
|
@@ -1694,6 +1434,196 @@ paths:
|
|
|
1694
1434
|
$ref: '#/definitions/rpcStatus'
|
|
1695
1435
|
tags:
|
|
1696
1436
|
- Puppet
|
|
1437
|
+
/tag/add:
|
|
1438
|
+
post:
|
|
1439
|
+
operationId: Puppet_TagTagAdd
|
|
1440
|
+
responses:
|
|
1441
|
+
'200':
|
|
1442
|
+
description: A successful response.
|
|
1443
|
+
schema:
|
|
1444
|
+
$ref: '#/definitions/puppetTagTagAddResponse'
|
|
1445
|
+
default:
|
|
1446
|
+
description: An unexpected error response.
|
|
1447
|
+
schema:
|
|
1448
|
+
$ref: '#/definitions/rpcStatus'
|
|
1449
|
+
parameters:
|
|
1450
|
+
- name: body
|
|
1451
|
+
in: body
|
|
1452
|
+
required: true
|
|
1453
|
+
schema:
|
|
1454
|
+
$ref: '#/definitions/puppetTagTagAddRequest'
|
|
1455
|
+
tags:
|
|
1456
|
+
- Puppet
|
|
1457
|
+
/tag/addContactTag:
|
|
1458
|
+
post:
|
|
1459
|
+
operationId: Puppet_TagContactTagAdd
|
|
1460
|
+
responses:
|
|
1461
|
+
'200':
|
|
1462
|
+
description: A successful response.
|
|
1463
|
+
schema:
|
|
1464
|
+
$ref: '#/definitions/puppetTagContactTagAddResponse'
|
|
1465
|
+
default:
|
|
1466
|
+
description: An unexpected error response.
|
|
1467
|
+
schema:
|
|
1468
|
+
$ref: '#/definitions/rpcStatus'
|
|
1469
|
+
parameters:
|
|
1470
|
+
- name: body
|
|
1471
|
+
in: body
|
|
1472
|
+
required: true
|
|
1473
|
+
schema:
|
|
1474
|
+
$ref: '#/definitions/puppetTagContactTagAddRequest'
|
|
1475
|
+
tags:
|
|
1476
|
+
- Puppet
|
|
1477
|
+
/tag/delete:
|
|
1478
|
+
post:
|
|
1479
|
+
operationId: Puppet_TagTagDelete
|
|
1480
|
+
responses:
|
|
1481
|
+
'200':
|
|
1482
|
+
description: A successful response.
|
|
1483
|
+
schema:
|
|
1484
|
+
$ref: '#/definitions/puppetTagTagDeleteResponse'
|
|
1485
|
+
default:
|
|
1486
|
+
description: An unexpected error response.
|
|
1487
|
+
schema:
|
|
1488
|
+
$ref: '#/definitions/rpcStatus'
|
|
1489
|
+
parameters:
|
|
1490
|
+
- name: body
|
|
1491
|
+
in: body
|
|
1492
|
+
required: true
|
|
1493
|
+
schema:
|
|
1494
|
+
$ref: '#/definitions/puppetTagTagDeleteRequest'
|
|
1495
|
+
tags:
|
|
1496
|
+
- Puppet
|
|
1497
|
+
'/tag/groups/{tagGroupId}/tags':
|
|
1498
|
+
get:
|
|
1499
|
+
operationId: Puppet_TagGroupTagList
|
|
1500
|
+
responses:
|
|
1501
|
+
'200':
|
|
1502
|
+
description: A successful response.
|
|
1503
|
+
schema:
|
|
1504
|
+
$ref: '#/definitions/puppetTagGroupTagListResponse'
|
|
1505
|
+
default:
|
|
1506
|
+
description: An unexpected error response.
|
|
1507
|
+
schema:
|
|
1508
|
+
$ref: '#/definitions/rpcStatus'
|
|
1509
|
+
parameters:
|
|
1510
|
+
- name: tagGroupId
|
|
1511
|
+
in: path
|
|
1512
|
+
required: true
|
|
1513
|
+
type: string
|
|
1514
|
+
tags:
|
|
1515
|
+
- Puppet
|
|
1516
|
+
/tag/list:
|
|
1517
|
+
get:
|
|
1518
|
+
operationId: Puppet_TagTagList
|
|
1519
|
+
responses:
|
|
1520
|
+
'200':
|
|
1521
|
+
description: A successful response.
|
|
1522
|
+
schema:
|
|
1523
|
+
$ref: '#/definitions/puppetTagTagListResponse'
|
|
1524
|
+
default:
|
|
1525
|
+
description: An unexpected error response.
|
|
1526
|
+
schema:
|
|
1527
|
+
$ref: '#/definitions/rpcStatus'
|
|
1528
|
+
tags:
|
|
1529
|
+
- Puppet
|
|
1530
|
+
/tag/removeContactTag:
|
|
1531
|
+
post:
|
|
1532
|
+
operationId: Puppet_TagContactTagRemove
|
|
1533
|
+
responses:
|
|
1534
|
+
'200':
|
|
1535
|
+
description: A successful response.
|
|
1536
|
+
schema:
|
|
1537
|
+
$ref: '#/definitions/puppetTagContactTagRemoveResponse'
|
|
1538
|
+
default:
|
|
1539
|
+
description: An unexpected error response.
|
|
1540
|
+
schema:
|
|
1541
|
+
$ref: '#/definitions/rpcStatus'
|
|
1542
|
+
parameters:
|
|
1543
|
+
- name: body
|
|
1544
|
+
in: body
|
|
1545
|
+
required: true
|
|
1546
|
+
schema:
|
|
1547
|
+
$ref: '#/definitions/puppetTagContactTagRemoveRequest'
|
|
1548
|
+
tags:
|
|
1549
|
+
- Puppet
|
|
1550
|
+
'/tag/{tag.groupId}/{tag.id}/contacts':
|
|
1551
|
+
get:
|
|
1552
|
+
operationId: Puppet_TagTagContactList
|
|
1553
|
+
responses:
|
|
1554
|
+
'200':
|
|
1555
|
+
description: A successful response.
|
|
1556
|
+
schema:
|
|
1557
|
+
$ref: '#/definitions/puppetTagTagContactListResponse'
|
|
1558
|
+
default:
|
|
1559
|
+
description: An unexpected error response.
|
|
1560
|
+
schema:
|
|
1561
|
+
$ref: '#/definitions/rpcStatus'
|
|
1562
|
+
parameters:
|
|
1563
|
+
- name: tag.groupId
|
|
1564
|
+
in: path
|
|
1565
|
+
required: true
|
|
1566
|
+
type: string
|
|
1567
|
+
- name: tag.id
|
|
1568
|
+
in: path
|
|
1569
|
+
required: true
|
|
1570
|
+
type: string
|
|
1571
|
+
tags:
|
|
1572
|
+
- Puppet
|
|
1573
|
+
/tagGroup/add:
|
|
1574
|
+
post:
|
|
1575
|
+
operationId: Puppet_TagGroupAdd
|
|
1576
|
+
responses:
|
|
1577
|
+
'200':
|
|
1578
|
+
description: A successful response.
|
|
1579
|
+
schema:
|
|
1580
|
+
$ref: '#/definitions/puppetTagGroupAddResponse'
|
|
1581
|
+
default:
|
|
1582
|
+
description: An unexpected error response.
|
|
1583
|
+
schema:
|
|
1584
|
+
$ref: '#/definitions/rpcStatus'
|
|
1585
|
+
parameters:
|
|
1586
|
+
- name: body
|
|
1587
|
+
in: body
|
|
1588
|
+
required: true
|
|
1589
|
+
schema:
|
|
1590
|
+
$ref: '#/definitions/puppetTagGroupAddRequest'
|
|
1591
|
+
tags:
|
|
1592
|
+
- Puppet
|
|
1593
|
+
/tagGroup/delete:
|
|
1594
|
+
post:
|
|
1595
|
+
operationId: Puppet_TagGroupDelete
|
|
1596
|
+
responses:
|
|
1597
|
+
'200':
|
|
1598
|
+
description: A successful response.
|
|
1599
|
+
schema:
|
|
1600
|
+
$ref: '#/definitions/puppetTagGroupDeleteResponse'
|
|
1601
|
+
default:
|
|
1602
|
+
description: An unexpected error response.
|
|
1603
|
+
schema:
|
|
1604
|
+
$ref: '#/definitions/rpcStatus'
|
|
1605
|
+
parameters:
|
|
1606
|
+
- name: body
|
|
1607
|
+
in: body
|
|
1608
|
+
required: true
|
|
1609
|
+
schema:
|
|
1610
|
+
$ref: '#/definitions/puppetTagGroupDeleteRequest'
|
|
1611
|
+
tags:
|
|
1612
|
+
- Puppet
|
|
1613
|
+
/tagGroup/list:
|
|
1614
|
+
get:
|
|
1615
|
+
operationId: Puppet_TagGroupList
|
|
1616
|
+
responses:
|
|
1617
|
+
'200':
|
|
1618
|
+
description: A successful response.
|
|
1619
|
+
schema:
|
|
1620
|
+
$ref: '#/definitions/puppetTagGroupListResponse'
|
|
1621
|
+
default:
|
|
1622
|
+
description: An unexpected error response.
|
|
1623
|
+
schema:
|
|
1624
|
+
$ref: '#/definitions/rpcStatus'
|
|
1625
|
+
tags:
|
|
1626
|
+
- Puppet
|
|
1697
1627
|
/upload:
|
|
1698
1628
|
post:
|
|
1699
1629
|
operationId: Puppet_Upload
|
|
@@ -2045,61 +1975,6 @@ definitions:
|
|
|
2045
1975
|
- CONTACT_TYPE_OFFICIAL
|
|
2046
1976
|
- CONTACT_TYPE_CORPORATION
|
|
2047
1977
|
default: CONTACT_TYPE_UNSPECIFIED
|
|
2048
|
-
puppetCorpTagContactTagAddResponse:
|
|
2049
|
-
type: object
|
|
2050
|
-
puppetCorpTagContactTagListResponse:
|
|
2051
|
-
type: object
|
|
2052
|
-
properties:
|
|
2053
|
-
payloads:
|
|
2054
|
-
type: array
|
|
2055
|
-
items:
|
|
2056
|
-
$ref: '#/definitions/puppetCorpTagPayload'
|
|
2057
|
-
puppetCorpTagContactTagRemoveResponse:
|
|
2058
|
-
type: object
|
|
2059
|
-
puppetCorpTagGroupAddResponse:
|
|
2060
|
-
type: object
|
|
2061
|
-
properties:
|
|
2062
|
-
payload:
|
|
2063
|
-
$ref: '#/definitions/puppetCorpTagGroupPayload'
|
|
2064
|
-
puppetCorpTagGroupDeleteResponse:
|
|
2065
|
-
type: object
|
|
2066
|
-
puppetCorpTagGroupListResponse:
|
|
2067
|
-
type: object
|
|
2068
|
-
properties:
|
|
2069
|
-
payloads:
|
|
2070
|
-
type: array
|
|
2071
|
-
items:
|
|
2072
|
-
$ref: '#/definitions/puppetCorpTagGroupPayload'
|
|
2073
|
-
puppetCorpTagGroupPayload:
|
|
2074
|
-
type: object
|
|
2075
|
-
properties:
|
|
2076
|
-
id:
|
|
2077
|
-
type: string
|
|
2078
|
-
name:
|
|
2079
|
-
type: string
|
|
2080
|
-
puppetCorpTagPayload:
|
|
2081
|
-
type: object
|
|
2082
|
-
properties:
|
|
2083
|
-
id:
|
|
2084
|
-
type: string
|
|
2085
|
-
name:
|
|
2086
|
-
type: string
|
|
2087
|
-
groupId:
|
|
2088
|
-
type: string
|
|
2089
|
-
puppetCorpTagTagAddResponse:
|
|
2090
|
-
type: object
|
|
2091
|
-
properties:
|
|
2092
|
-
payload:
|
|
2093
|
-
$ref: '#/definitions/puppetCorpTagPayload'
|
|
2094
|
-
puppetCorpTagTagDeleteResponse:
|
|
2095
|
-
type: object
|
|
2096
|
-
puppetCorpTagTagListResponse:
|
|
2097
|
-
type: object
|
|
2098
|
-
properties:
|
|
2099
|
-
payloads:
|
|
2100
|
-
type: array
|
|
2101
|
-
items:
|
|
2102
|
-
$ref: '#/definitions/puppetCorpTagPayload'
|
|
2103
1978
|
puppetCurrentUserResponse:
|
|
2104
1979
|
type: object
|
|
2105
1980
|
properties:
|
|
@@ -2248,6 +2123,8 @@ definitions:
|
|
|
2248
2123
|
- FRIENDSHIP_TYPE_CONFIRM
|
|
2249
2124
|
- FRIENDSHIP_TYPE_RECEIVE
|
|
2250
2125
|
- FRIENDSHIP_TYPE_VERIFY
|
|
2126
|
+
- FRIENDSHIP_TYPE_DELETE
|
|
2127
|
+
- FRIENDSHIP_TYPE_REMOVED
|
|
2251
2128
|
default: FRIENDSHIP_TYPE_UNSPECIFIED
|
|
2252
2129
|
puppetImageType:
|
|
2253
2130
|
type: string
|
|
@@ -2717,19 +2594,134 @@ definitions:
|
|
|
2717
2594
|
type: object
|
|
2718
2595
|
puppetStopResponse:
|
|
2719
2596
|
type: object
|
|
2720
|
-
|
|
2597
|
+
puppetTagContactTagAddRequest:
|
|
2598
|
+
type: object
|
|
2599
|
+
properties:
|
|
2600
|
+
tags:
|
|
2601
|
+
type: array
|
|
2602
|
+
items:
|
|
2603
|
+
$ref: '#/definitions/puppetTagIdentifier'
|
|
2604
|
+
contactIds:
|
|
2605
|
+
type: array
|
|
2606
|
+
items:
|
|
2607
|
+
type: string
|
|
2608
|
+
puppetTagContactTagAddResponse:
|
|
2721
2609
|
type: object
|
|
2722
|
-
|
|
2610
|
+
puppetTagContactTagListResponse:
|
|
2723
2611
|
type: object
|
|
2724
|
-
|
|
2612
|
+
properties:
|
|
2613
|
+
payloads:
|
|
2614
|
+
type: array
|
|
2615
|
+
items:
|
|
2616
|
+
$ref: '#/definitions/puppetTagPayload'
|
|
2617
|
+
puppetTagContactTagRemoveRequest:
|
|
2725
2618
|
type: object
|
|
2726
2619
|
properties:
|
|
2727
|
-
|
|
2620
|
+
tags:
|
|
2621
|
+
type: array
|
|
2622
|
+
items:
|
|
2623
|
+
$ref: '#/definitions/puppetTagIdentifier'
|
|
2624
|
+
contactIds:
|
|
2625
|
+
type: array
|
|
2626
|
+
items:
|
|
2627
|
+
type: string
|
|
2628
|
+
puppetTagContactTagRemoveResponse:
|
|
2629
|
+
type: object
|
|
2630
|
+
puppetTagGroupAddRequest:
|
|
2631
|
+
type: object
|
|
2632
|
+
properties:
|
|
2633
|
+
tagGroupName:
|
|
2634
|
+
type: string
|
|
2635
|
+
puppetTagGroupAddResponse:
|
|
2636
|
+
type: object
|
|
2637
|
+
properties:
|
|
2638
|
+
payload:
|
|
2639
|
+
$ref: '#/definitions/puppetTagGroupPayload'
|
|
2640
|
+
puppetTagGroupDeleteRequest:
|
|
2641
|
+
type: object
|
|
2642
|
+
properties:
|
|
2643
|
+
tagGroupId:
|
|
2644
|
+
type: string
|
|
2645
|
+
puppetTagGroupDeleteResponse:
|
|
2646
|
+
type: object
|
|
2647
|
+
puppetTagGroupListResponse:
|
|
2648
|
+
type: object
|
|
2649
|
+
properties:
|
|
2650
|
+
payloads:
|
|
2651
|
+
type: array
|
|
2652
|
+
items:
|
|
2653
|
+
$ref: '#/definitions/puppetTagGroupPayload'
|
|
2654
|
+
puppetTagGroupPayload:
|
|
2655
|
+
type: object
|
|
2656
|
+
properties:
|
|
2657
|
+
id:
|
|
2658
|
+
type: string
|
|
2659
|
+
name:
|
|
2660
|
+
type: string
|
|
2661
|
+
puppetTagGroupTagListResponse:
|
|
2662
|
+
type: object
|
|
2663
|
+
properties:
|
|
2664
|
+
payloads:
|
|
2665
|
+
type: array
|
|
2666
|
+
items:
|
|
2667
|
+
$ref: '#/definitions/puppetTagPayload'
|
|
2668
|
+
puppetTagIdentifier:
|
|
2669
|
+
type: object
|
|
2670
|
+
properties:
|
|
2671
|
+
id:
|
|
2672
|
+
type: string
|
|
2673
|
+
groupId:
|
|
2674
|
+
type: string
|
|
2675
|
+
puppetTagPayload:
|
|
2676
|
+
type: object
|
|
2677
|
+
properties:
|
|
2678
|
+
id:
|
|
2679
|
+
type: string
|
|
2680
|
+
name:
|
|
2681
|
+
type: string
|
|
2682
|
+
groupId:
|
|
2683
|
+
type: string
|
|
2684
|
+
type:
|
|
2685
|
+
$ref: '#/definitions/puppetTagType'
|
|
2686
|
+
puppetTagTagAddRequest:
|
|
2687
|
+
type: object
|
|
2688
|
+
properties:
|
|
2689
|
+
tagName:
|
|
2690
|
+
type: string
|
|
2691
|
+
tagGroupId:
|
|
2692
|
+
type: string
|
|
2693
|
+
puppetTagTagAddResponse:
|
|
2694
|
+
type: object
|
|
2695
|
+
properties:
|
|
2696
|
+
payload:
|
|
2697
|
+
$ref: '#/definitions/puppetTagPayload'
|
|
2698
|
+
puppetTagTagContactListResponse:
|
|
2699
|
+
type: object
|
|
2700
|
+
properties:
|
|
2701
|
+
payloads:
|
|
2728
2702
|
type: array
|
|
2729
2703
|
items:
|
|
2730
2704
|
type: string
|
|
2731
|
-
|
|
2705
|
+
puppetTagTagDeleteRequest:
|
|
2706
|
+
type: object
|
|
2707
|
+
properties:
|
|
2708
|
+
tag:
|
|
2709
|
+
$ref: '#/definitions/puppetTagIdentifier'
|
|
2710
|
+
puppetTagTagDeleteResponse:
|
|
2732
2711
|
type: object
|
|
2712
|
+
puppetTagTagListResponse:
|
|
2713
|
+
type: object
|
|
2714
|
+
properties:
|
|
2715
|
+
payloads:
|
|
2716
|
+
type: array
|
|
2717
|
+
items:
|
|
2718
|
+
$ref: '#/definitions/puppetTagPayload'
|
|
2719
|
+
puppetTagType:
|
|
2720
|
+
type: string
|
|
2721
|
+
enum:
|
|
2722
|
+
- PERSONAL
|
|
2723
|
+
- CORPORATION
|
|
2724
|
+
default: PERSONAL
|
|
2733
2725
|
puppetUploadRequest:
|
|
2734
2726
|
type: object
|
|
2735
2727
|
properties:
|