@juzi/wechaty-grpc 1.0.6 → 1.0.9
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 +1 -0
- package/dist/cjs/out/wechaty/puppet/contact_pb.d.ts +4 -0
- package/dist/cjs/out/wechaty/puppet/contact_pb.js +31 -1
- package/dist/cjs/out/wechaty/puppet/corp-tag_grpc_pb.js +1 -0
- package/dist/cjs/out/wechaty/puppet/corp-tag_pb.d.ts +431 -0
- package/dist/cjs/out/wechaty/puppet/corp-tag_pb.js +3315 -0
- package/dist/cjs/out/wechaty/puppet/corp-tag_pb_service.d.ts +3 -0
- package/dist/cjs/out/wechaty/puppet/corp-tag_pb_service.js +3 -0
- package/dist/cjs/out/wechaty/puppet/room-member_pb.d.ts +4 -0
- package/dist/cjs/out/wechaty/puppet/room-member_pb.js +31 -1
- package/dist/cjs/out/wechaty/puppet/room_pb.d.ts +4 -0
- package/dist/cjs/out/wechaty/puppet/room_pb.js +31 -1
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +263 -1
- package/dist/cjs/out/wechaty/puppet.swagger.json +393 -1
- package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +154 -0
- package/dist/cjs/out/wechaty/puppet_grpc_pb.js +303 -0
- package/dist/cjs/out/wechaty/puppet_pb.d.ts +1 -0
- package/dist/cjs/out/wechaty/puppet_pb.js +2 -0
- package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +172 -0
- package/dist/cjs/out/wechaty/puppet_pb_service.js +361 -0
- package/dist/cjs/proto/wechaty/puppet/contact.proto +19 -18
- package/dist/cjs/proto/wechaty/puppet/corp-tag.proto +90 -0
- package/dist/cjs/proto/wechaty/puppet/room-member.proto +6 -5
- package/dist/cjs/proto/wechaty/puppet/room.proto +6 -5
- package/dist/cjs/proto/wechaty/puppet.proto +60 -0
- package/dist/cjs/src/package-json.js +1 -1
- package/dist/cjs/tests/puppet-server-impl.d.ts.map +1 -1
- package/dist/cjs/tests/puppet-server-impl.js +45 -0
- package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
- package/dist/esm/commonjs/generated/puppet.cjs.d.ts +1 -0
- package/dist/esm/out/wechaty/puppet/contact_pb.d.ts +4 -0
- package/dist/esm/out/wechaty/puppet/contact_pb.js +31 -1
- package/dist/esm/out/wechaty/puppet/corp-tag_grpc_pb.js +1 -0
- package/dist/esm/out/wechaty/puppet/corp-tag_pb.d.ts +431 -0
- package/dist/esm/out/wechaty/puppet/corp-tag_pb.js +3315 -0
- package/dist/esm/out/wechaty/puppet/corp-tag_pb_service.d.ts +3 -0
- package/dist/esm/out/wechaty/puppet/corp-tag_pb_service.js +3 -0
- package/dist/esm/out/wechaty/puppet/room-member_pb.d.ts +4 -0
- package/dist/esm/out/wechaty/puppet/room-member_pb.js +31 -1
- package/dist/esm/out/wechaty/puppet/room_pb.d.ts +4 -0
- package/dist/esm/out/wechaty/puppet/room_pb.js +31 -1
- package/dist/esm/out/wechaty/puppet.openapi.yaml +263 -1
- package/dist/esm/out/wechaty/puppet.swagger.json +393 -1
- package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +154 -0
- package/dist/esm/out/wechaty/puppet_grpc_pb.js +303 -0
- package/dist/esm/out/wechaty/puppet_pb.d.ts +1 -0
- package/dist/esm/out/wechaty/puppet_pb.js +2 -0
- package/dist/esm/out/wechaty/puppet_pb_service.d.ts +172 -0
- package/dist/esm/out/wechaty/puppet_pb_service.js +361 -0
- package/dist/esm/proto/wechaty/puppet/contact.proto +19 -18
- package/dist/esm/proto/wechaty/puppet/corp-tag.proto +90 -0
- package/dist/esm/proto/wechaty/puppet/room-member.proto +6 -5
- package/dist/esm/proto/wechaty/puppet/room.proto +6 -5
- package/dist/esm/proto/wechaty/puppet.proto +60 -0
- package/dist/esm/src/package-json.js +1 -1
- package/dist/esm/tests/puppet-server-impl.d.ts.map +1 -1
- package/dist/esm/tests/puppet-server-impl.js +45 -0
- package/dist/esm/tests/puppet-server-impl.js.map +1 -1
- package/out/wechaty/puppet/contact_pb.d.ts +4 -0
- package/out/wechaty/puppet/contact_pb.js +31 -1
- package/out/wechaty/puppet/corp-tag_grpc_pb.js +1 -0
- package/out/wechaty/puppet/corp-tag_pb.d.ts +431 -0
- package/out/wechaty/puppet/corp-tag_pb.js +3315 -0
- package/out/wechaty/puppet/corp-tag_pb_service.d.ts +3 -0
- package/out/wechaty/puppet/corp-tag_pb_service.js +3 -0
- package/out/wechaty/puppet/room-member_pb.d.ts +4 -0
- package/out/wechaty/puppet/room-member_pb.js +31 -1
- package/out/wechaty/puppet/room_pb.d.ts +4 -0
- package/out/wechaty/puppet/room_pb.js +31 -1
- package/out/wechaty/puppet.openapi.yaml +263 -1
- package/out/wechaty/puppet.swagger.json +393 -1
- package/out/wechaty/puppet_grpc_pb.d.ts +154 -0
- package/out/wechaty/puppet_grpc_pb.js +303 -0
- package/out/wechaty/puppet_pb.d.ts +1 -0
- package/out/wechaty/puppet_pb.js +2 -0
- package/out/wechaty/puppet_pb_service.d.ts +172 -0
- package/out/wechaty/puppet_pb_service.js +361 -0
- package/package.json +1 -1
- package/src/package-json.ts +1 -1
|
@@ -43,6 +43,9 @@ export class RoomMemberPayloadResponse extends jspb.Message {
|
|
|
43
43
|
getName(): string;
|
|
44
44
|
setName(value: string): void;
|
|
45
45
|
|
|
46
|
+
getAdditionalInfo(): string;
|
|
47
|
+
setAdditionalInfo(value: string): void;
|
|
48
|
+
|
|
46
49
|
serializeBinary(): Uint8Array;
|
|
47
50
|
toObject(includeInstance?: boolean): RoomMemberPayloadResponse.AsObject;
|
|
48
51
|
static toObject(includeInstance: boolean, msg: RoomMemberPayloadResponse): RoomMemberPayloadResponse.AsObject;
|
|
@@ -60,6 +63,7 @@ export namespace RoomMemberPayloadResponse {
|
|
|
60
63
|
inviterId: string,
|
|
61
64
|
avatar: string,
|
|
62
65
|
name: string,
|
|
66
|
+
additionalInfo: string,
|
|
63
67
|
}
|
|
64
68
|
}
|
|
65
69
|
|
|
@@ -299,7 +299,8 @@ proto.wechaty.puppet.RoomMemberPayloadResponse.toObject = function(includeInstan
|
|
|
299
299
|
roomAlias: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
300
300
|
inviterId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
301
301
|
avatar: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
302
|
-
name: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
302
|
+
name: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
303
|
+
additionalInfo: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
303
304
|
};
|
|
304
305
|
|
|
305
306
|
if (includeInstance) {
|
|
@@ -356,6 +357,10 @@ proto.wechaty.puppet.RoomMemberPayloadResponse.deserializeBinaryFromReader = fun
|
|
|
356
357
|
var value = /** @type {string} */ (reader.readString());
|
|
357
358
|
msg.setName(value);
|
|
358
359
|
break;
|
|
360
|
+
case 6:
|
|
361
|
+
var value = /** @type {string} */ (reader.readString());
|
|
362
|
+
msg.setAdditionalInfo(value);
|
|
363
|
+
break;
|
|
359
364
|
default:
|
|
360
365
|
reader.skipField();
|
|
361
366
|
break;
|
|
@@ -420,6 +425,13 @@ proto.wechaty.puppet.RoomMemberPayloadResponse.serializeBinaryToWriter = functio
|
|
|
420
425
|
f
|
|
421
426
|
);
|
|
422
427
|
}
|
|
428
|
+
f = message.getAdditionalInfo();
|
|
429
|
+
if (f.length > 0) {
|
|
430
|
+
writer.writeString(
|
|
431
|
+
6,
|
|
432
|
+
f
|
|
433
|
+
);
|
|
434
|
+
}
|
|
423
435
|
};
|
|
424
436
|
|
|
425
437
|
|
|
@@ -513,6 +525,24 @@ proto.wechaty.puppet.RoomMemberPayloadResponse.prototype.setName = function(valu
|
|
|
513
525
|
};
|
|
514
526
|
|
|
515
527
|
|
|
528
|
+
/**
|
|
529
|
+
* optional string additional_info = 6;
|
|
530
|
+
* @return {string}
|
|
531
|
+
*/
|
|
532
|
+
proto.wechaty.puppet.RoomMemberPayloadResponse.prototype.getAdditionalInfo = function() {
|
|
533
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
534
|
+
};
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
/**
|
|
538
|
+
* @param {string} value
|
|
539
|
+
* @return {!proto.wechaty.puppet.RoomMemberPayloadResponse} returns this
|
|
540
|
+
*/
|
|
541
|
+
proto.wechaty.puppet.RoomMemberPayloadResponse.prototype.setAdditionalInfo = function(value) {
|
|
542
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
543
|
+
};
|
|
544
|
+
|
|
545
|
+
|
|
516
546
|
|
|
517
547
|
|
|
518
548
|
|
|
@@ -88,6 +88,9 @@ export class RoomPayloadResponse extends jspb.Message {
|
|
|
88
88
|
getHandle(): string;
|
|
89
89
|
setHandle(value: string): void;
|
|
90
90
|
|
|
91
|
+
getAdditionalInfo(): string;
|
|
92
|
+
setAdditionalInfo(value: string): void;
|
|
93
|
+
|
|
91
94
|
serializeBinary(): Uint8Array;
|
|
92
95
|
toObject(includeInstance?: boolean): RoomPayloadResponse.AsObject;
|
|
93
96
|
static toObject(includeInstance: boolean, msg: RoomPayloadResponse): RoomPayloadResponse.AsObject;
|
|
@@ -107,6 +110,7 @@ export namespace RoomPayloadResponse {
|
|
|
107
110
|
adminIdsList: Array<string>,
|
|
108
111
|
memberIdsList: Array<string>,
|
|
109
112
|
handle: string,
|
|
113
|
+
additionalInfo: string,
|
|
110
114
|
}
|
|
111
115
|
}
|
|
112
116
|
|
|
@@ -889,7 +889,8 @@ proto.wechaty.puppet.RoomPayloadResponse.toObject = function(includeInstance, ms
|
|
|
889
889
|
ownerId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
890
890
|
adminIdsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
891
891
|
memberIdsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
|
|
892
|
-
handle: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
892
|
+
handle: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
893
|
+
additionalInfo: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
893
894
|
};
|
|
894
895
|
|
|
895
896
|
if (includeInstance) {
|
|
@@ -954,6 +955,10 @@ proto.wechaty.puppet.RoomPayloadResponse.deserializeBinaryFromReader = function(
|
|
|
954
955
|
var value = /** @type {string} */ (reader.readString());
|
|
955
956
|
msg.setHandle(value);
|
|
956
957
|
break;
|
|
958
|
+
case 8:
|
|
959
|
+
var value = /** @type {string} */ (reader.readString());
|
|
960
|
+
msg.setAdditionalInfo(value);
|
|
961
|
+
break;
|
|
957
962
|
default:
|
|
958
963
|
reader.skipField();
|
|
959
964
|
break;
|
|
@@ -1032,6 +1037,13 @@ proto.wechaty.puppet.RoomPayloadResponse.serializeBinaryToWriter = function(mess
|
|
|
1032
1037
|
f
|
|
1033
1038
|
);
|
|
1034
1039
|
}
|
|
1040
|
+
f = message.getAdditionalInfo();
|
|
1041
|
+
if (f.length > 0) {
|
|
1042
|
+
writer.writeString(
|
|
1043
|
+
8,
|
|
1044
|
+
f
|
|
1045
|
+
);
|
|
1046
|
+
}
|
|
1035
1047
|
};
|
|
1036
1048
|
|
|
1037
1049
|
|
|
@@ -1199,6 +1211,24 @@ proto.wechaty.puppet.RoomPayloadResponse.prototype.setHandle = function(value) {
|
|
|
1199
1211
|
};
|
|
1200
1212
|
|
|
1201
1213
|
|
|
1214
|
+
/**
|
|
1215
|
+
* optional string additional_info = 8;
|
|
1216
|
+
* @return {string}
|
|
1217
|
+
*/
|
|
1218
|
+
proto.wechaty.puppet.RoomPayloadResponse.prototype.getAdditionalInfo = function() {
|
|
1219
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
1220
|
+
};
|
|
1221
|
+
|
|
1222
|
+
|
|
1223
|
+
/**
|
|
1224
|
+
* @param {string} value
|
|
1225
|
+
* @return {!proto.wechaty.puppet.RoomPayloadResponse} returns this
|
|
1226
|
+
*/
|
|
1227
|
+
proto.wechaty.puppet.RoomPayloadResponse.prototype.setAdditionalInfo = function(value) {
|
|
1228
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
1229
|
+
};
|
|
1230
|
+
|
|
1231
|
+
|
|
1202
1232
|
|
|
1203
1233
|
|
|
1204
1234
|
|
|
@@ -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.9
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
15
|
url: 'https://github.com/wechaty/openapi'
|
|
@@ -121,6 +121,78 @@ paths:
|
|
|
121
121
|
$ref: '#/definitions/puppetContactSelfSignatureRequest'
|
|
122
122
|
tags:
|
|
123
123
|
- 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
|
|
124
196
|
'/contacts/{contactId}/corporation-remark':
|
|
125
197
|
put:
|
|
126
198
|
operationId: Puppet_ContactCorporationRemark
|
|
@@ -598,6 +670,123 @@ paths:
|
|
|
598
670
|
$ref: '#/definitions/puppetUrlLinkPayload'
|
|
599
671
|
tags:
|
|
600
672
|
- 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
|
|
601
790
|
/currentUser:
|
|
602
791
|
get:
|
|
603
792
|
operationId: Puppet_CurrentUser
|
|
@@ -1558,6 +1747,18 @@ paths:
|
|
|
1558
1747
|
$ref: '#/definitions/rpcStatus'
|
|
1559
1748
|
parameters:
|
|
1560
1749
|
- name: body
|
|
1750
|
+
description: >-
|
|
1751
|
+
*
|
|
1752
|
+
|
|
1753
|
+
Huan(202003): we just rename the payload message because gRPC only
|
|
1754
|
+
care about the message structure
|
|
1755
|
+
(and as long as we keep consistent with the old structure).
|
|
1756
|
+
|
|
1757
|
+
@link https://github.com/wechaty/grpc/pull/173
|
|
1758
|
+
|
|
1759
|
+
Rename:
|
|
1760
|
+
1. `FriendshipSearchWeixinRequest` -> `FriendshipSearchHandleRequest`
|
|
1761
|
+
2. `FriendshipSearchWeixinReqsponse` -> `FriendshipSearchHandleResponse`
|
|
1561
1762
|
in: body
|
|
1562
1763
|
required: true
|
|
1563
1764
|
schema:
|
|
@@ -1813,6 +2014,8 @@ definitions:
|
|
|
1813
2014
|
type: array
|
|
1814
2015
|
items:
|
|
1815
2016
|
type: string
|
|
2017
|
+
additionalInfo:
|
|
2018
|
+
type: string
|
|
1816
2019
|
puppetContactPhoneResponse:
|
|
1817
2020
|
type: object
|
|
1818
2021
|
properties:
|
|
@@ -1842,6 +2045,61 @@ definitions:
|
|
|
1842
2045
|
- CONTACT_TYPE_OFFICIAL
|
|
1843
2046
|
- CONTACT_TYPE_CORPORATION
|
|
1844
2047
|
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'
|
|
1845
2103
|
puppetCurrentUserResponse:
|
|
1846
2104
|
type: object
|
|
1847
2105
|
properties:
|
|
@@ -2416,6 +2674,8 @@ definitions:
|
|
|
2416
2674
|
type: string
|
|
2417
2675
|
name:
|
|
2418
2676
|
type: string
|
|
2677
|
+
additionalInfo:
|
|
2678
|
+
type: string
|
|
2419
2679
|
puppetRoomPayloadResponse:
|
|
2420
2680
|
type: object
|
|
2421
2681
|
properties:
|
|
@@ -2437,6 +2697,8 @@ definitions:
|
|
|
2437
2697
|
type: string
|
|
2438
2698
|
handle:
|
|
2439
2699
|
type: string
|
|
2700
|
+
additionalInfo:
|
|
2701
|
+
type: string
|
|
2440
2702
|
puppetRoomQRCodeResponse:
|
|
2441
2703
|
type: object
|
|
2442
2704
|
properties:
|