@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
|
@@ -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.11
|
|
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,24 +202,16 @@ 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
205
|
tags:
|
|
309
206
|
- Puppet
|
|
310
|
-
'/contacts/{contactId}/tags/{
|
|
207
|
+
'/contacts/{contactId}/tag/tags/{tagId}':
|
|
311
208
|
delete:
|
|
312
|
-
operationId:
|
|
209
|
+
operationId: Puppet_TagContactTagRemove
|
|
313
210
|
responses:
|
|
314
211
|
'200':
|
|
315
212
|
description: A successful response.
|
|
316
213
|
schema:
|
|
317
|
-
$ref: '#/definitions/
|
|
214
|
+
$ref: '#/definitions/puppetTagContactTagRemoveResponse'
|
|
318
215
|
default:
|
|
319
216
|
description: An unexpected error response.
|
|
320
217
|
schema:
|
|
@@ -324,21 +221,23 @@ paths:
|
|
|
324
221
|
in: path
|
|
325
222
|
required: true
|
|
326
223
|
type: string
|
|
327
|
-
- name:
|
|
224
|
+
- name: tagId
|
|
328
225
|
in: path
|
|
329
226
|
required: true
|
|
330
227
|
type: string
|
|
228
|
+
- name: tagGroupId
|
|
229
|
+
in: query
|
|
230
|
+
required: false
|
|
231
|
+
type: string
|
|
331
232
|
tags:
|
|
332
233
|
- Puppet
|
|
333
234
|
put:
|
|
334
|
-
|
|
335
|
-
description: Tag
|
|
336
|
-
operationId: Puppet_TagContactAdd
|
|
235
|
+
operationId: Puppet_TagContactTagAdd
|
|
337
236
|
responses:
|
|
338
237
|
'200':
|
|
339
238
|
description: A successful response.
|
|
340
239
|
schema:
|
|
341
|
-
$ref: '#/definitions/
|
|
240
|
+
$ref: '#/definitions/puppetTagContactTagAddResponse'
|
|
342
241
|
default:
|
|
343
242
|
description: An unexpected error response.
|
|
344
243
|
schema:
|
|
@@ -348,10 +247,14 @@ paths:
|
|
|
348
247
|
in: path
|
|
349
248
|
required: true
|
|
350
249
|
type: string
|
|
351
|
-
- name:
|
|
250
|
+
- name: tagId
|
|
352
251
|
in: path
|
|
353
252
|
required: true
|
|
354
253
|
type: string
|
|
254
|
+
- name: tagGroupId
|
|
255
|
+
in: query
|
|
256
|
+
required: false
|
|
257
|
+
type: string
|
|
355
258
|
tags:
|
|
356
259
|
- Puppet
|
|
357
260
|
'/contacts/{id}':
|
|
@@ -670,123 +573,6 @@ paths:
|
|
|
670
573
|
$ref: '#/definitions/puppetUrlLinkPayload'
|
|
671
574
|
tags:
|
|
672
575
|
- 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
576
|
/currentUser:
|
|
791
577
|
get:
|
|
792
578
|
operationId: Puppet_CurrentUser
|
|
@@ -1694,6 +1480,160 @@ paths:
|
|
|
1694
1480
|
$ref: '#/definitions/rpcStatus'
|
|
1695
1481
|
tags:
|
|
1696
1482
|
- Puppet
|
|
1483
|
+
/tag/groups:
|
|
1484
|
+
get:
|
|
1485
|
+
operationId: Puppet_TagGroupList
|
|
1486
|
+
responses:
|
|
1487
|
+
'200':
|
|
1488
|
+
description: A successful response.
|
|
1489
|
+
schema:
|
|
1490
|
+
$ref: '#/definitions/puppetTagGroupListResponse'
|
|
1491
|
+
default:
|
|
1492
|
+
description: An unexpected error response.
|
|
1493
|
+
schema:
|
|
1494
|
+
$ref: '#/definitions/rpcStatus'
|
|
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/tags:
|
|
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/{tagGroupId}/{tagId}/contacts':
|
|
1531
|
+
get:
|
|
1532
|
+
operationId: Puppet_TagTagContactList
|
|
1533
|
+
responses:
|
|
1534
|
+
'200':
|
|
1535
|
+
description: A successful response.
|
|
1536
|
+
schema:
|
|
1537
|
+
$ref: '#/definitions/puppetTagTagContactListResponse'
|
|
1538
|
+
default:
|
|
1539
|
+
description: An unexpected error response.
|
|
1540
|
+
schema:
|
|
1541
|
+
$ref: '#/definitions/rpcStatus'
|
|
1542
|
+
parameters:
|
|
1543
|
+
- name: tagGroupId
|
|
1544
|
+
in: path
|
|
1545
|
+
required: true
|
|
1546
|
+
type: string
|
|
1547
|
+
- name: tagId
|
|
1548
|
+
in: path
|
|
1549
|
+
required: true
|
|
1550
|
+
type: string
|
|
1551
|
+
tags:
|
|
1552
|
+
- Puppet
|
|
1553
|
+
'/tags/groups/{tagGroupId}':
|
|
1554
|
+
delete:
|
|
1555
|
+
operationId: Puppet_TagGroupDelete
|
|
1556
|
+
responses:
|
|
1557
|
+
'200':
|
|
1558
|
+
description: A successful response.
|
|
1559
|
+
schema:
|
|
1560
|
+
$ref: '#/definitions/puppetTagGroupDeleteResponse'
|
|
1561
|
+
default:
|
|
1562
|
+
description: An unexpected error response.
|
|
1563
|
+
schema:
|
|
1564
|
+
$ref: '#/definitions/rpcStatus'
|
|
1565
|
+
parameters:
|
|
1566
|
+
- name: tagGroupId
|
|
1567
|
+
in: path
|
|
1568
|
+
required: true
|
|
1569
|
+
type: string
|
|
1570
|
+
tags:
|
|
1571
|
+
- Puppet
|
|
1572
|
+
'/tags/groups/{tagGroupId}/tags/{tagId}':
|
|
1573
|
+
delete:
|
|
1574
|
+
operationId: Puppet_TagTagDelete
|
|
1575
|
+
responses:
|
|
1576
|
+
'200':
|
|
1577
|
+
description: A successful response.
|
|
1578
|
+
schema:
|
|
1579
|
+
$ref: '#/definitions/puppetTagTagDeleteResponse'
|
|
1580
|
+
default:
|
|
1581
|
+
description: An unexpected error response.
|
|
1582
|
+
schema:
|
|
1583
|
+
$ref: '#/definitions/rpcStatus'
|
|
1584
|
+
parameters:
|
|
1585
|
+
- name: tagGroupId
|
|
1586
|
+
in: path
|
|
1587
|
+
required: true
|
|
1588
|
+
type: string
|
|
1589
|
+
- name: tagId
|
|
1590
|
+
in: path
|
|
1591
|
+
required: true
|
|
1592
|
+
type: string
|
|
1593
|
+
tags:
|
|
1594
|
+
- Puppet
|
|
1595
|
+
'/tags/groups/{tagGroupId}/tags/{tagName}':
|
|
1596
|
+
put:
|
|
1597
|
+
operationId: Puppet_TagTagAdd
|
|
1598
|
+
responses:
|
|
1599
|
+
'200':
|
|
1600
|
+
description: A successful response.
|
|
1601
|
+
schema:
|
|
1602
|
+
$ref: '#/definitions/puppetTagTagAddResponse'
|
|
1603
|
+
default:
|
|
1604
|
+
description: An unexpected error response.
|
|
1605
|
+
schema:
|
|
1606
|
+
$ref: '#/definitions/rpcStatus'
|
|
1607
|
+
parameters:
|
|
1608
|
+
- name: tagGroupId
|
|
1609
|
+
in: path
|
|
1610
|
+
required: true
|
|
1611
|
+
type: string
|
|
1612
|
+
- name: tagName
|
|
1613
|
+
in: path
|
|
1614
|
+
required: true
|
|
1615
|
+
type: string
|
|
1616
|
+
tags:
|
|
1617
|
+
- Puppet
|
|
1618
|
+
'/tags/groups/{tagGroupName}':
|
|
1619
|
+
put:
|
|
1620
|
+
operationId: Puppet_TagGroupAdd
|
|
1621
|
+
responses:
|
|
1622
|
+
'200':
|
|
1623
|
+
description: A successful response.
|
|
1624
|
+
schema:
|
|
1625
|
+
$ref: '#/definitions/puppetTagGroupAddResponse'
|
|
1626
|
+
default:
|
|
1627
|
+
description: An unexpected error response.
|
|
1628
|
+
schema:
|
|
1629
|
+
$ref: '#/definitions/rpcStatus'
|
|
1630
|
+
parameters:
|
|
1631
|
+
- name: tagGroupName
|
|
1632
|
+
in: path
|
|
1633
|
+
required: true
|
|
1634
|
+
type: string
|
|
1635
|
+
tags:
|
|
1636
|
+
- Puppet
|
|
1697
1637
|
/upload:
|
|
1698
1638
|
post:
|
|
1699
1639
|
operationId: Puppet_Upload
|
|
@@ -2045,61 +1985,6 @@ definitions:
|
|
|
2045
1985
|
- CONTACT_TYPE_OFFICIAL
|
|
2046
1986
|
- CONTACT_TYPE_CORPORATION
|
|
2047
1987
|
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
1988
|
puppetCurrentUserResponse:
|
|
2104
1989
|
type: object
|
|
2105
1990
|
properties:
|
|
@@ -2248,6 +2133,8 @@ definitions:
|
|
|
2248
2133
|
- FRIENDSHIP_TYPE_CONFIRM
|
|
2249
2134
|
- FRIENDSHIP_TYPE_RECEIVE
|
|
2250
2135
|
- FRIENDSHIP_TYPE_VERIFY
|
|
2136
|
+
- FRIENDSHIP_TYPE_DELETE
|
|
2137
|
+
- FRIENDSHIP_TYPE_REMOVED
|
|
2251
2138
|
default: FRIENDSHIP_TYPE_UNSPECIFIED
|
|
2252
2139
|
puppetImageType:
|
|
2253
2140
|
type: string
|
|
@@ -2717,19 +2604,83 @@ definitions:
|
|
|
2717
2604
|
type: object
|
|
2718
2605
|
puppetStopResponse:
|
|
2719
2606
|
type: object
|
|
2720
|
-
|
|
2607
|
+
puppetTagContactTagAddResponse:
|
|
2608
|
+
type: object
|
|
2609
|
+
puppetTagContactTagListResponse:
|
|
2610
|
+
type: object
|
|
2611
|
+
properties:
|
|
2612
|
+
payloads:
|
|
2613
|
+
type: array
|
|
2614
|
+
items:
|
|
2615
|
+
$ref: '#/definitions/puppetTagPayload'
|
|
2616
|
+
puppetTagContactTagRemoveResponse:
|
|
2617
|
+
type: object
|
|
2618
|
+
puppetTagGroupAddResponse:
|
|
2721
2619
|
type: object
|
|
2722
|
-
|
|
2620
|
+
properties:
|
|
2621
|
+
payload:
|
|
2622
|
+
$ref: '#/definitions/puppetTagGroupPayload'
|
|
2623
|
+
puppetTagGroupDeleteResponse:
|
|
2723
2624
|
type: object
|
|
2724
|
-
|
|
2625
|
+
puppetTagGroupListResponse:
|
|
2725
2626
|
type: object
|
|
2726
2627
|
properties:
|
|
2727
|
-
|
|
2628
|
+
payloads:
|
|
2629
|
+
type: array
|
|
2630
|
+
items:
|
|
2631
|
+
$ref: '#/definitions/puppetTagGroupPayload'
|
|
2632
|
+
puppetTagGroupPayload:
|
|
2633
|
+
type: object
|
|
2634
|
+
properties:
|
|
2635
|
+
id:
|
|
2636
|
+
type: string
|
|
2637
|
+
name:
|
|
2638
|
+
type: string
|
|
2639
|
+
puppetTagGroupTagListResponse:
|
|
2640
|
+
type: object
|
|
2641
|
+
properties:
|
|
2642
|
+
payloads:
|
|
2643
|
+
type: array
|
|
2644
|
+
items:
|
|
2645
|
+
$ref: '#/definitions/puppetTagPayload'
|
|
2646
|
+
puppetTagPayload:
|
|
2647
|
+
type: object
|
|
2648
|
+
properties:
|
|
2649
|
+
id:
|
|
2650
|
+
type: string
|
|
2651
|
+
name:
|
|
2652
|
+
type: string
|
|
2653
|
+
groupId:
|
|
2654
|
+
type: string
|
|
2655
|
+
type:
|
|
2656
|
+
$ref: '#/definitions/puppetTagType'
|
|
2657
|
+
puppetTagTagAddResponse:
|
|
2658
|
+
type: object
|
|
2659
|
+
properties:
|
|
2660
|
+
payload:
|
|
2661
|
+
$ref: '#/definitions/puppetTagPayload'
|
|
2662
|
+
puppetTagTagContactListResponse:
|
|
2663
|
+
type: object
|
|
2664
|
+
properties:
|
|
2665
|
+
payloads:
|
|
2728
2666
|
type: array
|
|
2729
2667
|
items:
|
|
2730
2668
|
type: string
|
|
2731
|
-
|
|
2669
|
+
puppetTagTagDeleteResponse:
|
|
2670
|
+
type: object
|
|
2671
|
+
puppetTagTagListResponse:
|
|
2732
2672
|
type: object
|
|
2673
|
+
properties:
|
|
2674
|
+
payloads:
|
|
2675
|
+
type: array
|
|
2676
|
+
items:
|
|
2677
|
+
$ref: '#/definitions/puppetTagPayload'
|
|
2678
|
+
puppetTagType:
|
|
2679
|
+
type: string
|
|
2680
|
+
enum:
|
|
2681
|
+
- PERSONAL
|
|
2682
|
+
- CORPORATION
|
|
2683
|
+
default: PERSONAL
|
|
2733
2684
|
puppetUploadRequest:
|
|
2734
2685
|
type: object
|
|
2735
2686
|
properties:
|