@juzi/wechaty-grpc 1.0.78 → 1.0.79
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/tag_pb.d.ts +74 -20
- package/dist/cjs/out/wechaty/puppet/tag_pb.js +522 -48
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +38 -8
- package/dist/cjs/out/wechaty/puppet.swagger.json +52 -8
- package/dist/cjs/proto/wechaty/puppet/tag.proto +18 -8
- package/dist/cjs/src/package-json.js +1 -1
- package/dist/esm/out/wechaty/puppet/tag_pb.d.ts +74 -20
- package/dist/esm/out/wechaty/puppet/tag_pb.js +522 -48
- package/dist/esm/out/wechaty/puppet.openapi.yaml +38 -8
- package/dist/esm/out/wechaty/puppet.swagger.json +52 -8
- package/dist/esm/proto/wechaty/puppet/tag.proto +18 -8
- package/dist/esm/src/package-json.js +1 -1
- package/out/wechaty/puppet/tag_pb.d.ts +74 -20
- package/out/wechaty/puppet/tag_pb.js +522 -48
- package/out/wechaty/puppet.openapi.yaml +38 -8
- package/out/wechaty/puppet.swagger.json +52 -8
- package/package.json +1 -1
- package/src/package-json.ts +1 -1
|
@@ -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.79
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
15
|
url: https://github.com/wechaty/openapi
|
|
@@ -4154,15 +4154,24 @@ definitions:
|
|
|
4154
4154
|
puppetTagTagAddRequest:
|
|
4155
4155
|
type: object
|
|
4156
4156
|
properties:
|
|
4157
|
-
|
|
4157
|
+
deprecatedTagName:
|
|
4158
4158
|
type: string
|
|
4159
4159
|
tagGroupId:
|
|
4160
4160
|
type: string
|
|
4161
|
+
tagName:
|
|
4162
|
+
type: array
|
|
4163
|
+
items:
|
|
4164
|
+
type: string
|
|
4161
4165
|
puppetTagTagAddResponse:
|
|
4162
4166
|
type: object
|
|
4163
4167
|
properties:
|
|
4164
|
-
|
|
4168
|
+
deprecatedTagId:
|
|
4165
4169
|
type: string
|
|
4170
|
+
tagInfo:
|
|
4171
|
+
type: array
|
|
4172
|
+
items:
|
|
4173
|
+
type: object
|
|
4174
|
+
$ref: '#/definitions/puppetTagTagInfo'
|
|
4166
4175
|
puppetTagTagContactListResponse:
|
|
4167
4176
|
type: object
|
|
4168
4177
|
properties:
|
|
@@ -4173,10 +4182,21 @@ definitions:
|
|
|
4173
4182
|
puppetTagTagDeleteRequest:
|
|
4174
4183
|
type: object
|
|
4175
4184
|
properties:
|
|
4176
|
-
|
|
4185
|
+
deprecatedTagId:
|
|
4177
4186
|
type: string
|
|
4187
|
+
tagId:
|
|
4188
|
+
type: array
|
|
4189
|
+
items:
|
|
4190
|
+
type: string
|
|
4178
4191
|
puppetTagTagDeleteResponse:
|
|
4179
4192
|
type: object
|
|
4193
|
+
puppetTagTagInfo:
|
|
4194
|
+
type: object
|
|
4195
|
+
properties:
|
|
4196
|
+
tagId:
|
|
4197
|
+
type: string
|
|
4198
|
+
tagName:
|
|
4199
|
+
type: string
|
|
4180
4200
|
puppetTagTagListResponse:
|
|
4181
4201
|
type: object
|
|
4182
4202
|
properties:
|
|
@@ -4187,17 +4207,27 @@ definitions:
|
|
|
4187
4207
|
puppetTagTagModifyRequest:
|
|
4188
4208
|
type: object
|
|
4189
4209
|
properties:
|
|
4190
|
-
|
|
4210
|
+
deprecatedTagId:
|
|
4191
4211
|
type: string
|
|
4192
|
-
|
|
4212
|
+
deprecatedTagNewName:
|
|
4193
4213
|
type: string
|
|
4214
|
+
tagNewInfo:
|
|
4215
|
+
type: array
|
|
4216
|
+
items:
|
|
4217
|
+
type: object
|
|
4218
|
+
$ref: '#/definitions/puppetTagTagInfo'
|
|
4194
4219
|
puppetTagTagModifyResponse:
|
|
4195
4220
|
type: object
|
|
4196
4221
|
properties:
|
|
4197
|
-
|
|
4222
|
+
deprecatedTagId:
|
|
4198
4223
|
type: string
|
|
4199
|
-
|
|
4224
|
+
deprecatedTagName:
|
|
4200
4225
|
type: string
|
|
4226
|
+
tagInfo:
|
|
4227
|
+
type: array
|
|
4228
|
+
items:
|
|
4229
|
+
type: object
|
|
4230
|
+
$ref: '#/definitions/puppetTagTagInfo'
|
|
4201
4231
|
puppetTagType:
|
|
4202
4232
|
type: string
|
|
4203
4233
|
enum:
|
|
@@ -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.
|
|
6
|
+
"version": "1.0.79",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Wechaty",
|
|
9
9
|
"url": "https://github.com/wechaty/openapi",
|
|
@@ -5920,19 +5920,32 @@
|
|
|
5920
5920
|
"puppetTagTagAddRequest": {
|
|
5921
5921
|
"type": "object",
|
|
5922
5922
|
"properties": {
|
|
5923
|
-
"
|
|
5923
|
+
"deprecatedTagName": {
|
|
5924
5924
|
"type": "string"
|
|
5925
5925
|
},
|
|
5926
5926
|
"tagGroupId": {
|
|
5927
5927
|
"type": "string"
|
|
5928
|
+
},
|
|
5929
|
+
"tagName": {
|
|
5930
|
+
"type": "array",
|
|
5931
|
+
"items": {
|
|
5932
|
+
"type": "string"
|
|
5933
|
+
}
|
|
5928
5934
|
}
|
|
5929
5935
|
}
|
|
5930
5936
|
},
|
|
5931
5937
|
"puppetTagTagAddResponse": {
|
|
5932
5938
|
"type": "object",
|
|
5933
5939
|
"properties": {
|
|
5934
|
-
"
|
|
5940
|
+
"deprecatedTagId": {
|
|
5935
5941
|
"type": "string"
|
|
5942
|
+
},
|
|
5943
|
+
"tagInfo": {
|
|
5944
|
+
"type": "array",
|
|
5945
|
+
"items": {
|
|
5946
|
+
"type": "object",
|
|
5947
|
+
"$ref": "#/definitions/puppetTagTagInfo"
|
|
5948
|
+
}
|
|
5936
5949
|
}
|
|
5937
5950
|
}
|
|
5938
5951
|
},
|
|
@@ -5950,14 +5963,31 @@
|
|
|
5950
5963
|
"puppetTagTagDeleteRequest": {
|
|
5951
5964
|
"type": "object",
|
|
5952
5965
|
"properties": {
|
|
5953
|
-
"
|
|
5966
|
+
"deprecatedTagId": {
|
|
5954
5967
|
"type": "string"
|
|
5968
|
+
},
|
|
5969
|
+
"tagId": {
|
|
5970
|
+
"type": "array",
|
|
5971
|
+
"items": {
|
|
5972
|
+
"type": "string"
|
|
5973
|
+
}
|
|
5955
5974
|
}
|
|
5956
5975
|
}
|
|
5957
5976
|
},
|
|
5958
5977
|
"puppetTagTagDeleteResponse": {
|
|
5959
5978
|
"type": "object"
|
|
5960
5979
|
},
|
|
5980
|
+
"puppetTagTagInfo": {
|
|
5981
|
+
"type": "object",
|
|
5982
|
+
"properties": {
|
|
5983
|
+
"tagId": {
|
|
5984
|
+
"type": "string"
|
|
5985
|
+
},
|
|
5986
|
+
"tagName": {
|
|
5987
|
+
"type": "string"
|
|
5988
|
+
}
|
|
5989
|
+
}
|
|
5990
|
+
},
|
|
5961
5991
|
"puppetTagTagListResponse": {
|
|
5962
5992
|
"type": "object",
|
|
5963
5993
|
"properties": {
|
|
@@ -5972,22 +6002,36 @@
|
|
|
5972
6002
|
"puppetTagTagModifyRequest": {
|
|
5973
6003
|
"type": "object",
|
|
5974
6004
|
"properties": {
|
|
5975
|
-
"
|
|
6005
|
+
"deprecatedTagId": {
|
|
5976
6006
|
"type": "string"
|
|
5977
6007
|
},
|
|
5978
|
-
"
|
|
6008
|
+
"deprecatedTagNewName": {
|
|
5979
6009
|
"type": "string"
|
|
6010
|
+
},
|
|
6011
|
+
"tagNewInfo": {
|
|
6012
|
+
"type": "array",
|
|
6013
|
+
"items": {
|
|
6014
|
+
"type": "object",
|
|
6015
|
+
"$ref": "#/definitions/puppetTagTagInfo"
|
|
6016
|
+
}
|
|
5980
6017
|
}
|
|
5981
6018
|
}
|
|
5982
6019
|
},
|
|
5983
6020
|
"puppetTagTagModifyResponse": {
|
|
5984
6021
|
"type": "object",
|
|
5985
6022
|
"properties": {
|
|
5986
|
-
"
|
|
6023
|
+
"deprecatedTagId": {
|
|
5987
6024
|
"type": "string"
|
|
5988
6025
|
},
|
|
5989
|
-
"
|
|
6026
|
+
"deprecatedTagName": {
|
|
5990
6027
|
"type": "string"
|
|
6028
|
+
},
|
|
6029
|
+
"tagInfo": {
|
|
6030
|
+
"type": "array",
|
|
6031
|
+
"items": {
|
|
6032
|
+
"type": "object",
|
|
6033
|
+
"$ref": "#/definitions/puppetTagTagInfo"
|
|
6034
|
+
}
|
|
5991
6035
|
}
|
|
5992
6036
|
}
|
|
5993
6037
|
},
|
|
@@ -55,30 +55,40 @@ message TagGroupDeleteRequest {
|
|
|
55
55
|
message TagGroupDeleteResponse {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
+
message TagTagInfo {
|
|
59
|
+
string tag_id = 1;
|
|
60
|
+
string tag_name = 2;
|
|
61
|
+
}
|
|
62
|
+
|
|
58
63
|
message TagTagAddRequest {
|
|
59
|
-
string
|
|
60
|
-
string
|
|
64
|
+
string deprecated_tag_name = 1 [deprecated = true];
|
|
65
|
+
string tag_group_id = 2;
|
|
66
|
+
repeated string tag_name = 3;
|
|
61
67
|
}
|
|
62
68
|
|
|
63
69
|
message TagTagAddResponse {
|
|
64
|
-
string
|
|
70
|
+
string deprecated_tag_id = 1 [deprecated = true];
|
|
71
|
+
repeated TagTagInfo tag_info = 2;
|
|
65
72
|
}
|
|
66
73
|
|
|
67
74
|
message TagTagDeleteRequest {
|
|
68
|
-
string
|
|
75
|
+
string deprecated_tag_id = 1 [deprecated = true];
|
|
76
|
+
repeated string tag_id = 2;
|
|
69
77
|
}
|
|
70
78
|
|
|
71
79
|
message TagTagDeleteResponse {
|
|
72
80
|
}
|
|
73
81
|
|
|
74
82
|
message TagTagModifyRequest {
|
|
75
|
-
string
|
|
76
|
-
string
|
|
83
|
+
string deprecated_tag_id = 1 [deprecated = true];
|
|
84
|
+
string deprecated_tag_new_name = 2 [deprecated = true];
|
|
85
|
+
repeated TagTagInfo tag_new_info = 3;
|
|
77
86
|
}
|
|
78
87
|
|
|
79
88
|
message TagTagModifyResponse {
|
|
80
|
-
string
|
|
81
|
-
string
|
|
89
|
+
string deprecated_tag_id = 1 [deprecated = true];
|
|
90
|
+
string deprecated_tag_name = 2 [deprecated = true];
|
|
91
|
+
repeated TagTagInfo tag_info = 3;
|
|
82
92
|
}
|
|
83
93
|
|
|
84
94
|
message TagGroupListRequest {
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.packageJson = void 0;
|
|
4
4
|
exports.packageJson = {
|
|
5
5
|
"name": "@juzi/wechaty-grpc",
|
|
6
|
-
"version": "1.0.
|
|
6
|
+
"version": "1.0.79",
|
|
7
7
|
"description": "gRPC for Wechaty",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"exports": {
|
|
@@ -227,13 +227,42 @@ export namespace TagGroupDeleteResponse {
|
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
229
|
|
|
230
|
-
export class
|
|
230
|
+
export class TagTagInfo extends jspb.Message {
|
|
231
|
+
getTagId(): string;
|
|
232
|
+
setTagId(value: string): void;
|
|
233
|
+
|
|
231
234
|
getTagName(): string;
|
|
232
235
|
setTagName(value: string): void;
|
|
233
236
|
|
|
237
|
+
serializeBinary(): Uint8Array;
|
|
238
|
+
toObject(includeInstance?: boolean): TagTagInfo.AsObject;
|
|
239
|
+
static toObject(includeInstance: boolean, msg: TagTagInfo): TagTagInfo.AsObject;
|
|
240
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
241
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
242
|
+
static serializeBinaryToWriter(message: TagTagInfo, writer: jspb.BinaryWriter): void;
|
|
243
|
+
static deserializeBinary(bytes: Uint8Array): TagTagInfo;
|
|
244
|
+
static deserializeBinaryFromReader(message: TagTagInfo, reader: jspb.BinaryReader): TagTagInfo;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
export namespace TagTagInfo {
|
|
248
|
+
export type AsObject = {
|
|
249
|
+
tagId: string,
|
|
250
|
+
tagName: string,
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
export class TagTagAddRequest extends jspb.Message {
|
|
255
|
+
getDeprecatedTagName(): string;
|
|
256
|
+
setDeprecatedTagName(value: string): void;
|
|
257
|
+
|
|
234
258
|
getTagGroupId(): string;
|
|
235
259
|
setTagGroupId(value: string): void;
|
|
236
260
|
|
|
261
|
+
clearTagNameList(): void;
|
|
262
|
+
getTagNameList(): Array<string>;
|
|
263
|
+
setTagNameList(value: Array<string>): void;
|
|
264
|
+
addTagName(value: string, index?: number): string;
|
|
265
|
+
|
|
237
266
|
serializeBinary(): Uint8Array;
|
|
238
267
|
toObject(includeInstance?: boolean): TagTagAddRequest.AsObject;
|
|
239
268
|
static toObject(includeInstance: boolean, msg: TagTagAddRequest): TagTagAddRequest.AsObject;
|
|
@@ -246,14 +275,20 @@ export class TagTagAddRequest extends jspb.Message {
|
|
|
246
275
|
|
|
247
276
|
export namespace TagTagAddRequest {
|
|
248
277
|
export type AsObject = {
|
|
249
|
-
|
|
278
|
+
deprecatedTagName: string,
|
|
250
279
|
tagGroupId: string,
|
|
280
|
+
tagNameList: Array<string>,
|
|
251
281
|
}
|
|
252
282
|
}
|
|
253
283
|
|
|
254
284
|
export class TagTagAddResponse extends jspb.Message {
|
|
255
|
-
|
|
256
|
-
|
|
285
|
+
getDeprecatedTagId(): string;
|
|
286
|
+
setDeprecatedTagId(value: string): void;
|
|
287
|
+
|
|
288
|
+
clearTagInfoList(): void;
|
|
289
|
+
getTagInfoList(): Array<TagTagInfo>;
|
|
290
|
+
setTagInfoList(value: Array<TagTagInfo>): void;
|
|
291
|
+
addTagInfo(value?: TagTagInfo, index?: number): TagTagInfo;
|
|
257
292
|
|
|
258
293
|
serializeBinary(): Uint8Array;
|
|
259
294
|
toObject(includeInstance?: boolean): TagTagAddResponse.AsObject;
|
|
@@ -267,13 +302,19 @@ export class TagTagAddResponse extends jspb.Message {
|
|
|
267
302
|
|
|
268
303
|
export namespace TagTagAddResponse {
|
|
269
304
|
export type AsObject = {
|
|
270
|
-
|
|
305
|
+
deprecatedTagId: string,
|
|
306
|
+
tagInfoList: Array<TagTagInfo.AsObject>,
|
|
271
307
|
}
|
|
272
308
|
}
|
|
273
309
|
|
|
274
310
|
export class TagTagDeleteRequest extends jspb.Message {
|
|
275
|
-
|
|
276
|
-
|
|
311
|
+
getDeprecatedTagId(): string;
|
|
312
|
+
setDeprecatedTagId(value: string): void;
|
|
313
|
+
|
|
314
|
+
clearTagIdList(): void;
|
|
315
|
+
getTagIdList(): Array<string>;
|
|
316
|
+
setTagIdList(value: Array<string>): void;
|
|
317
|
+
addTagId(value: string, index?: number): string;
|
|
277
318
|
|
|
278
319
|
serializeBinary(): Uint8Array;
|
|
279
320
|
toObject(includeInstance?: boolean): TagTagDeleteRequest.AsObject;
|
|
@@ -287,7 +328,8 @@ export class TagTagDeleteRequest extends jspb.Message {
|
|
|
287
328
|
|
|
288
329
|
export namespace TagTagDeleteRequest {
|
|
289
330
|
export type AsObject = {
|
|
290
|
-
|
|
331
|
+
deprecatedTagId: string,
|
|
332
|
+
tagIdList: Array<string>,
|
|
291
333
|
}
|
|
292
334
|
}
|
|
293
335
|
|
|
@@ -308,11 +350,16 @@ export namespace TagTagDeleteResponse {
|
|
|
308
350
|
}
|
|
309
351
|
|
|
310
352
|
export class TagTagModifyRequest extends jspb.Message {
|
|
311
|
-
|
|
312
|
-
|
|
353
|
+
getDeprecatedTagId(): string;
|
|
354
|
+
setDeprecatedTagId(value: string): void;
|
|
313
355
|
|
|
314
|
-
|
|
315
|
-
|
|
356
|
+
getDeprecatedTagNewName(): string;
|
|
357
|
+
setDeprecatedTagNewName(value: string): void;
|
|
358
|
+
|
|
359
|
+
clearTagNewInfoList(): void;
|
|
360
|
+
getTagNewInfoList(): Array<TagTagInfo>;
|
|
361
|
+
setTagNewInfoList(value: Array<TagTagInfo>): void;
|
|
362
|
+
addTagNewInfo(value?: TagTagInfo, index?: number): TagTagInfo;
|
|
316
363
|
|
|
317
364
|
serializeBinary(): Uint8Array;
|
|
318
365
|
toObject(includeInstance?: boolean): TagTagModifyRequest.AsObject;
|
|
@@ -326,17 +373,23 @@ export class TagTagModifyRequest extends jspb.Message {
|
|
|
326
373
|
|
|
327
374
|
export namespace TagTagModifyRequest {
|
|
328
375
|
export type AsObject = {
|
|
329
|
-
|
|
330
|
-
|
|
376
|
+
deprecatedTagId: string,
|
|
377
|
+
deprecatedTagNewName: string,
|
|
378
|
+
tagNewInfoList: Array<TagTagInfo.AsObject>,
|
|
331
379
|
}
|
|
332
380
|
}
|
|
333
381
|
|
|
334
382
|
export class TagTagModifyResponse extends jspb.Message {
|
|
335
|
-
|
|
336
|
-
|
|
383
|
+
getDeprecatedTagId(): string;
|
|
384
|
+
setDeprecatedTagId(value: string): void;
|
|
337
385
|
|
|
338
|
-
|
|
339
|
-
|
|
386
|
+
getDeprecatedTagName(): string;
|
|
387
|
+
setDeprecatedTagName(value: string): void;
|
|
388
|
+
|
|
389
|
+
clearTagInfoList(): void;
|
|
390
|
+
getTagInfoList(): Array<TagTagInfo>;
|
|
391
|
+
setTagInfoList(value: Array<TagTagInfo>): void;
|
|
392
|
+
addTagInfo(value?: TagTagInfo, index?: number): TagTagInfo;
|
|
340
393
|
|
|
341
394
|
serializeBinary(): Uint8Array;
|
|
342
395
|
toObject(includeInstance?: boolean): TagTagModifyResponse.AsObject;
|
|
@@ -350,8 +403,9 @@ export class TagTagModifyResponse extends jspb.Message {
|
|
|
350
403
|
|
|
351
404
|
export namespace TagTagModifyResponse {
|
|
352
405
|
export type AsObject = {
|
|
353
|
-
|
|
354
|
-
|
|
406
|
+
deprecatedTagId: string,
|
|
407
|
+
deprecatedTagName: string,
|
|
408
|
+
tagInfoList: Array<TagTagInfo.AsObject>,
|
|
355
409
|
}
|
|
356
410
|
}
|
|
357
411
|
|