@juzi/wechaty-grpc 1.0.7 → 1.0.8
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/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.openapi.yaml +257 -1
- package/dist/cjs/out/wechaty/puppet.swagger.json +384 -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/corp-tag.proto +90 -0
- 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/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.openapi.yaml +257 -1
- package/dist/esm/out/wechaty/puppet.swagger.json +384 -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/corp-tag.proto +90 -0
- 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/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.openapi.yaml +257 -1
- package/out/wechaty/puppet.swagger.json +384 -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
|
@@ -28,6 +28,7 @@ var wechaty_puppet_room$member_pb = require('../wechaty/puppet/room-member_pb.js
|
|
|
28
28
|
var wechaty_puppet_room_pb = require('../wechaty/puppet/room_pb.js');
|
|
29
29
|
var wechaty_puppet_tag_pb = require('../wechaty/puppet/tag_pb.js');
|
|
30
30
|
var wechaty_puppet_channel_pb = require('../wechaty/puppet/channel_pb.js');
|
|
31
|
+
var wechaty_puppet_corp$tag_pb = require('../wechaty/puppet/corp-tag_pb.js');
|
|
31
32
|
|
|
32
33
|
function serialize_wechaty_puppet_ContactAliasRequest(arg) {
|
|
33
34
|
if (!(arg instanceof wechaty_puppet_contact_pb.ContactAliasRequest)) {
|
|
@@ -249,6 +250,204 @@ function deserialize_wechaty_puppet_ContactSelfSignatureResponse(buffer_arg) {
|
|
|
249
250
|
return wechaty_puppet_contact_pb.ContactSelfSignatureResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
250
251
|
}
|
|
251
252
|
|
|
253
|
+
function serialize_wechaty_puppet_CorpTagContactTagAddRequest(arg) {
|
|
254
|
+
if (!(arg instanceof wechaty_puppet_corp$tag_pb.CorpTagContactTagAddRequest)) {
|
|
255
|
+
throw new Error('Expected argument of type wechaty.puppet.CorpTagContactTagAddRequest');
|
|
256
|
+
}
|
|
257
|
+
return Buffer.from(arg.serializeBinary());
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
function deserialize_wechaty_puppet_CorpTagContactTagAddRequest(buffer_arg) {
|
|
261
|
+
return wechaty_puppet_corp$tag_pb.CorpTagContactTagAddRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
function serialize_wechaty_puppet_CorpTagContactTagAddResponse(arg) {
|
|
265
|
+
if (!(arg instanceof wechaty_puppet_corp$tag_pb.CorpTagContactTagAddResponse)) {
|
|
266
|
+
throw new Error('Expected argument of type wechaty.puppet.CorpTagContactTagAddResponse');
|
|
267
|
+
}
|
|
268
|
+
return Buffer.from(arg.serializeBinary());
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
function deserialize_wechaty_puppet_CorpTagContactTagAddResponse(buffer_arg) {
|
|
272
|
+
return wechaty_puppet_corp$tag_pb.CorpTagContactTagAddResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
function serialize_wechaty_puppet_CorpTagContactTagListRequest(arg) {
|
|
276
|
+
if (!(arg instanceof wechaty_puppet_corp$tag_pb.CorpTagContactTagListRequest)) {
|
|
277
|
+
throw new Error('Expected argument of type wechaty.puppet.CorpTagContactTagListRequest');
|
|
278
|
+
}
|
|
279
|
+
return Buffer.from(arg.serializeBinary());
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
function deserialize_wechaty_puppet_CorpTagContactTagListRequest(buffer_arg) {
|
|
283
|
+
return wechaty_puppet_corp$tag_pb.CorpTagContactTagListRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
function serialize_wechaty_puppet_CorpTagContactTagListResponse(arg) {
|
|
287
|
+
if (!(arg instanceof wechaty_puppet_corp$tag_pb.CorpTagContactTagListResponse)) {
|
|
288
|
+
throw new Error('Expected argument of type wechaty.puppet.CorpTagContactTagListResponse');
|
|
289
|
+
}
|
|
290
|
+
return Buffer.from(arg.serializeBinary());
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
function deserialize_wechaty_puppet_CorpTagContactTagListResponse(buffer_arg) {
|
|
294
|
+
return wechaty_puppet_corp$tag_pb.CorpTagContactTagListResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
function serialize_wechaty_puppet_CorpTagContactTagRemoveRequest(arg) {
|
|
298
|
+
if (!(arg instanceof wechaty_puppet_corp$tag_pb.CorpTagContactTagRemoveRequest)) {
|
|
299
|
+
throw new Error('Expected argument of type wechaty.puppet.CorpTagContactTagRemoveRequest');
|
|
300
|
+
}
|
|
301
|
+
return Buffer.from(arg.serializeBinary());
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
function deserialize_wechaty_puppet_CorpTagContactTagRemoveRequest(buffer_arg) {
|
|
305
|
+
return wechaty_puppet_corp$tag_pb.CorpTagContactTagRemoveRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
function serialize_wechaty_puppet_CorpTagContactTagRemoveResponse(arg) {
|
|
309
|
+
if (!(arg instanceof wechaty_puppet_corp$tag_pb.CorpTagContactTagRemoveResponse)) {
|
|
310
|
+
throw new Error('Expected argument of type wechaty.puppet.CorpTagContactTagRemoveResponse');
|
|
311
|
+
}
|
|
312
|
+
return Buffer.from(arg.serializeBinary());
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
function deserialize_wechaty_puppet_CorpTagContactTagRemoveResponse(buffer_arg) {
|
|
316
|
+
return wechaty_puppet_corp$tag_pb.CorpTagContactTagRemoveResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
function serialize_wechaty_puppet_CorpTagGroupAddRequest(arg) {
|
|
320
|
+
if (!(arg instanceof wechaty_puppet_corp$tag_pb.CorpTagGroupAddRequest)) {
|
|
321
|
+
throw new Error('Expected argument of type wechaty.puppet.CorpTagGroupAddRequest');
|
|
322
|
+
}
|
|
323
|
+
return Buffer.from(arg.serializeBinary());
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
function deserialize_wechaty_puppet_CorpTagGroupAddRequest(buffer_arg) {
|
|
327
|
+
return wechaty_puppet_corp$tag_pb.CorpTagGroupAddRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
function serialize_wechaty_puppet_CorpTagGroupAddResponse(arg) {
|
|
331
|
+
if (!(arg instanceof wechaty_puppet_corp$tag_pb.CorpTagGroupAddResponse)) {
|
|
332
|
+
throw new Error('Expected argument of type wechaty.puppet.CorpTagGroupAddResponse');
|
|
333
|
+
}
|
|
334
|
+
return Buffer.from(arg.serializeBinary());
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
function deserialize_wechaty_puppet_CorpTagGroupAddResponse(buffer_arg) {
|
|
338
|
+
return wechaty_puppet_corp$tag_pb.CorpTagGroupAddResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
function serialize_wechaty_puppet_CorpTagGroupDeleteRequest(arg) {
|
|
342
|
+
if (!(arg instanceof wechaty_puppet_corp$tag_pb.CorpTagGroupDeleteRequest)) {
|
|
343
|
+
throw new Error('Expected argument of type wechaty.puppet.CorpTagGroupDeleteRequest');
|
|
344
|
+
}
|
|
345
|
+
return Buffer.from(arg.serializeBinary());
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
function deserialize_wechaty_puppet_CorpTagGroupDeleteRequest(buffer_arg) {
|
|
349
|
+
return wechaty_puppet_corp$tag_pb.CorpTagGroupDeleteRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
function serialize_wechaty_puppet_CorpTagGroupDeleteResponse(arg) {
|
|
353
|
+
if (!(arg instanceof wechaty_puppet_corp$tag_pb.CorpTagGroupDeleteResponse)) {
|
|
354
|
+
throw new Error('Expected argument of type wechaty.puppet.CorpTagGroupDeleteResponse');
|
|
355
|
+
}
|
|
356
|
+
return Buffer.from(arg.serializeBinary());
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
function deserialize_wechaty_puppet_CorpTagGroupDeleteResponse(buffer_arg) {
|
|
360
|
+
return wechaty_puppet_corp$tag_pb.CorpTagGroupDeleteResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
function serialize_wechaty_puppet_CorpTagGroupListRequest(arg) {
|
|
364
|
+
if (!(arg instanceof wechaty_puppet_corp$tag_pb.CorpTagGroupListRequest)) {
|
|
365
|
+
throw new Error('Expected argument of type wechaty.puppet.CorpTagGroupListRequest');
|
|
366
|
+
}
|
|
367
|
+
return Buffer.from(arg.serializeBinary());
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
function deserialize_wechaty_puppet_CorpTagGroupListRequest(buffer_arg) {
|
|
371
|
+
return wechaty_puppet_corp$tag_pb.CorpTagGroupListRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
function serialize_wechaty_puppet_CorpTagGroupListResponse(arg) {
|
|
375
|
+
if (!(arg instanceof wechaty_puppet_corp$tag_pb.CorpTagGroupListResponse)) {
|
|
376
|
+
throw new Error('Expected argument of type wechaty.puppet.CorpTagGroupListResponse');
|
|
377
|
+
}
|
|
378
|
+
return Buffer.from(arg.serializeBinary());
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
function deserialize_wechaty_puppet_CorpTagGroupListResponse(buffer_arg) {
|
|
382
|
+
return wechaty_puppet_corp$tag_pb.CorpTagGroupListResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
function serialize_wechaty_puppet_CorpTagTagAddRequest(arg) {
|
|
386
|
+
if (!(arg instanceof wechaty_puppet_corp$tag_pb.CorpTagTagAddRequest)) {
|
|
387
|
+
throw new Error('Expected argument of type wechaty.puppet.CorpTagTagAddRequest');
|
|
388
|
+
}
|
|
389
|
+
return Buffer.from(arg.serializeBinary());
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
function deserialize_wechaty_puppet_CorpTagTagAddRequest(buffer_arg) {
|
|
393
|
+
return wechaty_puppet_corp$tag_pb.CorpTagTagAddRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
function serialize_wechaty_puppet_CorpTagTagAddResponse(arg) {
|
|
397
|
+
if (!(arg instanceof wechaty_puppet_corp$tag_pb.CorpTagTagAddResponse)) {
|
|
398
|
+
throw new Error('Expected argument of type wechaty.puppet.CorpTagTagAddResponse');
|
|
399
|
+
}
|
|
400
|
+
return Buffer.from(arg.serializeBinary());
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
function deserialize_wechaty_puppet_CorpTagTagAddResponse(buffer_arg) {
|
|
404
|
+
return wechaty_puppet_corp$tag_pb.CorpTagTagAddResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
function serialize_wechaty_puppet_CorpTagTagDeleteRequest(arg) {
|
|
408
|
+
if (!(arg instanceof wechaty_puppet_corp$tag_pb.CorpTagTagDeleteRequest)) {
|
|
409
|
+
throw new Error('Expected argument of type wechaty.puppet.CorpTagTagDeleteRequest');
|
|
410
|
+
}
|
|
411
|
+
return Buffer.from(arg.serializeBinary());
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
function deserialize_wechaty_puppet_CorpTagTagDeleteRequest(buffer_arg) {
|
|
415
|
+
return wechaty_puppet_corp$tag_pb.CorpTagTagDeleteRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
function serialize_wechaty_puppet_CorpTagTagDeleteResponse(arg) {
|
|
419
|
+
if (!(arg instanceof wechaty_puppet_corp$tag_pb.CorpTagTagDeleteResponse)) {
|
|
420
|
+
throw new Error('Expected argument of type wechaty.puppet.CorpTagTagDeleteResponse');
|
|
421
|
+
}
|
|
422
|
+
return Buffer.from(arg.serializeBinary());
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
function deserialize_wechaty_puppet_CorpTagTagDeleteResponse(buffer_arg) {
|
|
426
|
+
return wechaty_puppet_corp$tag_pb.CorpTagTagDeleteResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
function serialize_wechaty_puppet_CorpTagTagListRequest(arg) {
|
|
430
|
+
if (!(arg instanceof wechaty_puppet_corp$tag_pb.CorpTagTagListRequest)) {
|
|
431
|
+
throw new Error('Expected argument of type wechaty.puppet.CorpTagTagListRequest');
|
|
432
|
+
}
|
|
433
|
+
return Buffer.from(arg.serializeBinary());
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
function deserialize_wechaty_puppet_CorpTagTagListRequest(buffer_arg) {
|
|
437
|
+
return wechaty_puppet_corp$tag_pb.CorpTagTagListRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
function serialize_wechaty_puppet_CorpTagTagListResponse(arg) {
|
|
441
|
+
if (!(arg instanceof wechaty_puppet_corp$tag_pb.CorpTagTagListResponse)) {
|
|
442
|
+
throw new Error('Expected argument of type wechaty.puppet.CorpTagTagListResponse');
|
|
443
|
+
}
|
|
444
|
+
return Buffer.from(arg.serializeBinary());
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
function deserialize_wechaty_puppet_CorpTagTagListResponse(buffer_arg) {
|
|
448
|
+
return wechaty_puppet_corp$tag_pb.CorpTagTagListResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
449
|
+
}
|
|
450
|
+
|
|
252
451
|
function serialize_wechaty_puppet_CurrentUserRequest(arg) {
|
|
253
452
|
if (!(arg instanceof wechaty_puppet_base_pb.CurrentUserRequest)) {
|
|
254
453
|
throw new Error('Expected argument of type wechaty.puppet.CurrentUserRequest');
|
|
@@ -2184,6 +2383,110 @@ tagContactDelete: {
|
|
|
2184
2383
|
responseDeserialize: deserialize_wechaty_puppet_TagContactListResponse,
|
|
2185
2384
|
},
|
|
2186
2385
|
// *
|
|
2386
|
+
//
|
|
2387
|
+
// Corp-Tag
|
|
2388
|
+
//
|
|
2389
|
+
//
|
|
2390
|
+
corpTagContactTagAdd: {
|
|
2391
|
+
path: '/wechaty.Puppet/CorpTagContactTagAdd',
|
|
2392
|
+
requestStream: false,
|
|
2393
|
+
responseStream: false,
|
|
2394
|
+
requestType: wechaty_puppet_corp$tag_pb.CorpTagContactTagAddRequest,
|
|
2395
|
+
responseType: wechaty_puppet_corp$tag_pb.CorpTagContactTagAddResponse,
|
|
2396
|
+
requestSerialize: serialize_wechaty_puppet_CorpTagContactTagAddRequest,
|
|
2397
|
+
requestDeserialize: deserialize_wechaty_puppet_CorpTagContactTagAddRequest,
|
|
2398
|
+
responseSerialize: serialize_wechaty_puppet_CorpTagContactTagAddResponse,
|
|
2399
|
+
responseDeserialize: deserialize_wechaty_puppet_CorpTagContactTagAddResponse,
|
|
2400
|
+
},
|
|
2401
|
+
corpTagContactTagRemove: {
|
|
2402
|
+
path: '/wechaty.Puppet/CorpTagContactTagRemove',
|
|
2403
|
+
requestStream: false,
|
|
2404
|
+
responseStream: false,
|
|
2405
|
+
requestType: wechaty_puppet_corp$tag_pb.CorpTagContactTagRemoveRequest,
|
|
2406
|
+
responseType: wechaty_puppet_corp$tag_pb.CorpTagContactTagRemoveResponse,
|
|
2407
|
+
requestSerialize: serialize_wechaty_puppet_CorpTagContactTagRemoveRequest,
|
|
2408
|
+
requestDeserialize: deserialize_wechaty_puppet_CorpTagContactTagRemoveRequest,
|
|
2409
|
+
responseSerialize: serialize_wechaty_puppet_CorpTagContactTagRemoveResponse,
|
|
2410
|
+
responseDeserialize: deserialize_wechaty_puppet_CorpTagContactTagRemoveResponse,
|
|
2411
|
+
},
|
|
2412
|
+
corpTagGroupAdd: {
|
|
2413
|
+
path: '/wechaty.Puppet/CorpTagGroupAdd',
|
|
2414
|
+
requestStream: false,
|
|
2415
|
+
responseStream: false,
|
|
2416
|
+
requestType: wechaty_puppet_corp$tag_pb.CorpTagGroupAddRequest,
|
|
2417
|
+
responseType: wechaty_puppet_corp$tag_pb.CorpTagGroupAddResponse,
|
|
2418
|
+
requestSerialize: serialize_wechaty_puppet_CorpTagGroupAddRequest,
|
|
2419
|
+
requestDeserialize: deserialize_wechaty_puppet_CorpTagGroupAddRequest,
|
|
2420
|
+
responseSerialize: serialize_wechaty_puppet_CorpTagGroupAddResponse,
|
|
2421
|
+
responseDeserialize: deserialize_wechaty_puppet_CorpTagGroupAddResponse,
|
|
2422
|
+
},
|
|
2423
|
+
corpTagGroupDelete: {
|
|
2424
|
+
path: '/wechaty.Puppet/CorpTagGroupDelete',
|
|
2425
|
+
requestStream: false,
|
|
2426
|
+
responseStream: false,
|
|
2427
|
+
requestType: wechaty_puppet_corp$tag_pb.CorpTagGroupDeleteRequest,
|
|
2428
|
+
responseType: wechaty_puppet_corp$tag_pb.CorpTagGroupDeleteResponse,
|
|
2429
|
+
requestSerialize: serialize_wechaty_puppet_CorpTagGroupDeleteRequest,
|
|
2430
|
+
requestDeserialize: deserialize_wechaty_puppet_CorpTagGroupDeleteRequest,
|
|
2431
|
+
responseSerialize: serialize_wechaty_puppet_CorpTagGroupDeleteResponse,
|
|
2432
|
+
responseDeserialize: deserialize_wechaty_puppet_CorpTagGroupDeleteResponse,
|
|
2433
|
+
},
|
|
2434
|
+
corpTagTagAdd: {
|
|
2435
|
+
path: '/wechaty.Puppet/CorpTagTagAdd',
|
|
2436
|
+
requestStream: false,
|
|
2437
|
+
responseStream: false,
|
|
2438
|
+
requestType: wechaty_puppet_corp$tag_pb.CorpTagTagAddRequest,
|
|
2439
|
+
responseType: wechaty_puppet_corp$tag_pb.CorpTagTagAddResponse,
|
|
2440
|
+
requestSerialize: serialize_wechaty_puppet_CorpTagTagAddRequest,
|
|
2441
|
+
requestDeserialize: deserialize_wechaty_puppet_CorpTagTagAddRequest,
|
|
2442
|
+
responseSerialize: serialize_wechaty_puppet_CorpTagTagAddResponse,
|
|
2443
|
+
responseDeserialize: deserialize_wechaty_puppet_CorpTagTagAddResponse,
|
|
2444
|
+
},
|
|
2445
|
+
corpTagTagDelete: {
|
|
2446
|
+
path: '/wechaty.Puppet/CorpTagTagDelete',
|
|
2447
|
+
requestStream: false,
|
|
2448
|
+
responseStream: false,
|
|
2449
|
+
requestType: wechaty_puppet_corp$tag_pb.CorpTagTagDeleteRequest,
|
|
2450
|
+
responseType: wechaty_puppet_corp$tag_pb.CorpTagTagDeleteResponse,
|
|
2451
|
+
requestSerialize: serialize_wechaty_puppet_CorpTagTagDeleteRequest,
|
|
2452
|
+
requestDeserialize: deserialize_wechaty_puppet_CorpTagTagDeleteRequest,
|
|
2453
|
+
responseSerialize: serialize_wechaty_puppet_CorpTagTagDeleteResponse,
|
|
2454
|
+
responseDeserialize: deserialize_wechaty_puppet_CorpTagTagDeleteResponse,
|
|
2455
|
+
},
|
|
2456
|
+
corpTagGroupList: {
|
|
2457
|
+
path: '/wechaty.Puppet/CorpTagGroupList',
|
|
2458
|
+
requestStream: false,
|
|
2459
|
+
responseStream: false,
|
|
2460
|
+
requestType: wechaty_puppet_corp$tag_pb.CorpTagGroupListRequest,
|
|
2461
|
+
responseType: wechaty_puppet_corp$tag_pb.CorpTagGroupListResponse,
|
|
2462
|
+
requestSerialize: serialize_wechaty_puppet_CorpTagGroupListRequest,
|
|
2463
|
+
requestDeserialize: deserialize_wechaty_puppet_CorpTagGroupListRequest,
|
|
2464
|
+
responseSerialize: serialize_wechaty_puppet_CorpTagGroupListResponse,
|
|
2465
|
+
responseDeserialize: deserialize_wechaty_puppet_CorpTagGroupListResponse,
|
|
2466
|
+
},
|
|
2467
|
+
corpTagTagList: {
|
|
2468
|
+
path: '/wechaty.Puppet/CorpTagTagList',
|
|
2469
|
+
requestStream: false,
|
|
2470
|
+
responseStream: false,
|
|
2471
|
+
requestType: wechaty_puppet_corp$tag_pb.CorpTagTagListRequest,
|
|
2472
|
+
responseType: wechaty_puppet_corp$tag_pb.CorpTagTagListResponse,
|
|
2473
|
+
requestSerialize: serialize_wechaty_puppet_CorpTagTagListRequest,
|
|
2474
|
+
requestDeserialize: deserialize_wechaty_puppet_CorpTagTagListRequest,
|
|
2475
|
+
responseSerialize: serialize_wechaty_puppet_CorpTagTagListResponse,
|
|
2476
|
+
responseDeserialize: deserialize_wechaty_puppet_CorpTagTagListResponse,
|
|
2477
|
+
},
|
|
2478
|
+
corpTagContactTagList: {
|
|
2479
|
+
path: '/wechaty.Puppet/CorpTagContactTagList',
|
|
2480
|
+
requestStream: false,
|
|
2481
|
+
responseStream: false,
|
|
2482
|
+
requestType: wechaty_puppet_corp$tag_pb.CorpTagContactTagListRequest,
|
|
2483
|
+
responseType: wechaty_puppet_corp$tag_pb.CorpTagContactTagListResponse,
|
|
2484
|
+
requestSerialize: serialize_wechaty_puppet_CorpTagContactTagListRequest,
|
|
2485
|
+
requestDeserialize: deserialize_wechaty_puppet_CorpTagContactTagListRequest,
|
|
2486
|
+
responseSerialize: serialize_wechaty_puppet_CorpTagContactTagListResponse,
|
|
2487
|
+
responseDeserialize: deserialize_wechaty_puppet_CorpTagContactTagListResponse,
|
|
2488
|
+
},
|
|
2489
|
+
// *
|
|
2187
2490
|
// File/Blob download & upload
|
|
2188
2491
|
download: {
|
|
2189
2492
|
path: '/wechaty.Puppet/Download',
|
|
@@ -16,4 +16,5 @@ import * as wechaty_puppet_room_member_pb from "../wechaty/puppet/room-member_pb
|
|
|
16
16
|
import * as wechaty_puppet_room_pb from "../wechaty/puppet/room_pb";
|
|
17
17
|
import * as wechaty_puppet_tag_pb from "../wechaty/puppet/tag_pb";
|
|
18
18
|
import * as wechaty_puppet_channel_pb from "../wechaty/puppet/channel_pb";
|
|
19
|
+
import * as wechaty_puppet_corp_tag_pb from "../wechaty/puppet/corp-tag_pb";
|
|
19
20
|
|
|
@@ -43,3 +43,5 @@ var wechaty_puppet_tag_pb = require('../wechaty/puppet/tag_pb.js');
|
|
|
43
43
|
goog.object.extend(proto, wechaty_puppet_tag_pb);
|
|
44
44
|
var wechaty_puppet_channel_pb = require('../wechaty/puppet/channel_pb.js');
|
|
45
45
|
goog.object.extend(proto, wechaty_puppet_channel_pb);
|
|
46
|
+
var wechaty_puppet_corp$tag_pb = require('../wechaty/puppet/corp-tag_pb.js');
|
|
47
|
+
goog.object.extend(proto, wechaty_puppet_corp$tag_pb);
|
|
@@ -13,6 +13,7 @@ import * as wechaty_puppet_room_invitation_pb from "../wechaty/puppet/room-invit
|
|
|
13
13
|
import * as wechaty_puppet_room_member_pb from "../wechaty/puppet/room-member_pb";
|
|
14
14
|
import * as wechaty_puppet_room_pb from "../wechaty/puppet/room_pb";
|
|
15
15
|
import * as wechaty_puppet_tag_pb from "../wechaty/puppet/tag_pb";
|
|
16
|
+
import * as wechaty_puppet_corp_tag_pb from "../wechaty/puppet/corp-tag_pb";
|
|
16
17
|
import {grpc} from "@improbable-eng/grpc-web";
|
|
17
18
|
|
|
18
19
|
type PuppetMessageFileStream = {
|
|
@@ -582,6 +583,87 @@ type PuppetTagContactList = {
|
|
|
582
583
|
readonly responseType: typeof wechaty_puppet_tag_pb.TagContactListResponse;
|
|
583
584
|
};
|
|
584
585
|
|
|
586
|
+
type PuppetCorpTagContactTagAdd = {
|
|
587
|
+
readonly methodName: string;
|
|
588
|
+
readonly service: typeof Puppet;
|
|
589
|
+
readonly requestStream: false;
|
|
590
|
+
readonly responseStream: false;
|
|
591
|
+
readonly requestType: typeof wechaty_puppet_corp_tag_pb.CorpTagContactTagAddRequest;
|
|
592
|
+
readonly responseType: typeof wechaty_puppet_corp_tag_pb.CorpTagContactTagAddResponse;
|
|
593
|
+
};
|
|
594
|
+
|
|
595
|
+
type PuppetCorpTagContactTagRemove = {
|
|
596
|
+
readonly methodName: string;
|
|
597
|
+
readonly service: typeof Puppet;
|
|
598
|
+
readonly requestStream: false;
|
|
599
|
+
readonly responseStream: false;
|
|
600
|
+
readonly requestType: typeof wechaty_puppet_corp_tag_pb.CorpTagContactTagRemoveRequest;
|
|
601
|
+
readonly responseType: typeof wechaty_puppet_corp_tag_pb.CorpTagContactTagRemoveResponse;
|
|
602
|
+
};
|
|
603
|
+
|
|
604
|
+
type PuppetCorpTagGroupAdd = {
|
|
605
|
+
readonly methodName: string;
|
|
606
|
+
readonly service: typeof Puppet;
|
|
607
|
+
readonly requestStream: false;
|
|
608
|
+
readonly responseStream: false;
|
|
609
|
+
readonly requestType: typeof wechaty_puppet_corp_tag_pb.CorpTagGroupAddRequest;
|
|
610
|
+
readonly responseType: typeof wechaty_puppet_corp_tag_pb.CorpTagGroupAddResponse;
|
|
611
|
+
};
|
|
612
|
+
|
|
613
|
+
type PuppetCorpTagGroupDelete = {
|
|
614
|
+
readonly methodName: string;
|
|
615
|
+
readonly service: typeof Puppet;
|
|
616
|
+
readonly requestStream: false;
|
|
617
|
+
readonly responseStream: false;
|
|
618
|
+
readonly requestType: typeof wechaty_puppet_corp_tag_pb.CorpTagGroupDeleteRequest;
|
|
619
|
+
readonly responseType: typeof wechaty_puppet_corp_tag_pb.CorpTagGroupDeleteResponse;
|
|
620
|
+
};
|
|
621
|
+
|
|
622
|
+
type PuppetCorpTagTagAdd = {
|
|
623
|
+
readonly methodName: string;
|
|
624
|
+
readonly service: typeof Puppet;
|
|
625
|
+
readonly requestStream: false;
|
|
626
|
+
readonly responseStream: false;
|
|
627
|
+
readonly requestType: typeof wechaty_puppet_corp_tag_pb.CorpTagTagAddRequest;
|
|
628
|
+
readonly responseType: typeof wechaty_puppet_corp_tag_pb.CorpTagTagAddResponse;
|
|
629
|
+
};
|
|
630
|
+
|
|
631
|
+
type PuppetCorpTagTagDelete = {
|
|
632
|
+
readonly methodName: string;
|
|
633
|
+
readonly service: typeof Puppet;
|
|
634
|
+
readonly requestStream: false;
|
|
635
|
+
readonly responseStream: false;
|
|
636
|
+
readonly requestType: typeof wechaty_puppet_corp_tag_pb.CorpTagTagDeleteRequest;
|
|
637
|
+
readonly responseType: typeof wechaty_puppet_corp_tag_pb.CorpTagTagDeleteResponse;
|
|
638
|
+
};
|
|
639
|
+
|
|
640
|
+
type PuppetCorpTagGroupList = {
|
|
641
|
+
readonly methodName: string;
|
|
642
|
+
readonly service: typeof Puppet;
|
|
643
|
+
readonly requestStream: false;
|
|
644
|
+
readonly responseStream: false;
|
|
645
|
+
readonly requestType: typeof wechaty_puppet_corp_tag_pb.CorpTagGroupListRequest;
|
|
646
|
+
readonly responseType: typeof wechaty_puppet_corp_tag_pb.CorpTagGroupListResponse;
|
|
647
|
+
};
|
|
648
|
+
|
|
649
|
+
type PuppetCorpTagTagList = {
|
|
650
|
+
readonly methodName: string;
|
|
651
|
+
readonly service: typeof Puppet;
|
|
652
|
+
readonly requestStream: false;
|
|
653
|
+
readonly responseStream: false;
|
|
654
|
+
readonly requestType: typeof wechaty_puppet_corp_tag_pb.CorpTagTagListRequest;
|
|
655
|
+
readonly responseType: typeof wechaty_puppet_corp_tag_pb.CorpTagTagListResponse;
|
|
656
|
+
};
|
|
657
|
+
|
|
658
|
+
type PuppetCorpTagContactTagList = {
|
|
659
|
+
readonly methodName: string;
|
|
660
|
+
readonly service: typeof Puppet;
|
|
661
|
+
readonly requestStream: false;
|
|
662
|
+
readonly responseStream: false;
|
|
663
|
+
readonly requestType: typeof wechaty_puppet_corp_tag_pb.CorpTagContactTagListRequest;
|
|
664
|
+
readonly responseType: typeof wechaty_puppet_corp_tag_pb.CorpTagContactTagListResponse;
|
|
665
|
+
};
|
|
666
|
+
|
|
585
667
|
type PuppetDownload = {
|
|
586
668
|
readonly methodName: string;
|
|
587
669
|
readonly service: typeof Puppet;
|
|
@@ -665,6 +747,15 @@ export class Puppet {
|
|
|
665
747
|
static readonly TagContactRemove: PuppetTagContactRemove;
|
|
666
748
|
static readonly TagContactDelete: PuppetTagContactDelete;
|
|
667
749
|
static readonly TagContactList: PuppetTagContactList;
|
|
750
|
+
static readonly CorpTagContactTagAdd: PuppetCorpTagContactTagAdd;
|
|
751
|
+
static readonly CorpTagContactTagRemove: PuppetCorpTagContactTagRemove;
|
|
752
|
+
static readonly CorpTagGroupAdd: PuppetCorpTagGroupAdd;
|
|
753
|
+
static readonly CorpTagGroupDelete: PuppetCorpTagGroupDelete;
|
|
754
|
+
static readonly CorpTagTagAdd: PuppetCorpTagTagAdd;
|
|
755
|
+
static readonly CorpTagTagDelete: PuppetCorpTagTagDelete;
|
|
756
|
+
static readonly CorpTagGroupList: PuppetCorpTagGroupList;
|
|
757
|
+
static readonly CorpTagTagList: PuppetCorpTagTagList;
|
|
758
|
+
static readonly CorpTagContactTagList: PuppetCorpTagContactTagList;
|
|
668
759
|
static readonly Download: PuppetDownload;
|
|
669
760
|
static readonly Upload: PuppetUpload;
|
|
670
761
|
}
|
|
@@ -1236,6 +1327,87 @@ export class PuppetClient {
|
|
|
1236
1327
|
requestMessage: wechaty_puppet_tag_pb.TagContactListRequest,
|
|
1237
1328
|
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_tag_pb.TagContactListResponse|null) => void
|
|
1238
1329
|
): UnaryResponse;
|
|
1330
|
+
corpTagContactTagAdd(
|
|
1331
|
+
requestMessage: wechaty_puppet_corp_tag_pb.CorpTagContactTagAddRequest,
|
|
1332
|
+
metadata: grpc.Metadata,
|
|
1333
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_corp_tag_pb.CorpTagContactTagAddResponse|null) => void
|
|
1334
|
+
): UnaryResponse;
|
|
1335
|
+
corpTagContactTagAdd(
|
|
1336
|
+
requestMessage: wechaty_puppet_corp_tag_pb.CorpTagContactTagAddRequest,
|
|
1337
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_corp_tag_pb.CorpTagContactTagAddResponse|null) => void
|
|
1338
|
+
): UnaryResponse;
|
|
1339
|
+
corpTagContactTagRemove(
|
|
1340
|
+
requestMessage: wechaty_puppet_corp_tag_pb.CorpTagContactTagRemoveRequest,
|
|
1341
|
+
metadata: grpc.Metadata,
|
|
1342
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_corp_tag_pb.CorpTagContactTagRemoveResponse|null) => void
|
|
1343
|
+
): UnaryResponse;
|
|
1344
|
+
corpTagContactTagRemove(
|
|
1345
|
+
requestMessage: wechaty_puppet_corp_tag_pb.CorpTagContactTagRemoveRequest,
|
|
1346
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_corp_tag_pb.CorpTagContactTagRemoveResponse|null) => void
|
|
1347
|
+
): UnaryResponse;
|
|
1348
|
+
corpTagGroupAdd(
|
|
1349
|
+
requestMessage: wechaty_puppet_corp_tag_pb.CorpTagGroupAddRequest,
|
|
1350
|
+
metadata: grpc.Metadata,
|
|
1351
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_corp_tag_pb.CorpTagGroupAddResponse|null) => void
|
|
1352
|
+
): UnaryResponse;
|
|
1353
|
+
corpTagGroupAdd(
|
|
1354
|
+
requestMessage: wechaty_puppet_corp_tag_pb.CorpTagGroupAddRequest,
|
|
1355
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_corp_tag_pb.CorpTagGroupAddResponse|null) => void
|
|
1356
|
+
): UnaryResponse;
|
|
1357
|
+
corpTagGroupDelete(
|
|
1358
|
+
requestMessage: wechaty_puppet_corp_tag_pb.CorpTagGroupDeleteRequest,
|
|
1359
|
+
metadata: grpc.Metadata,
|
|
1360
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_corp_tag_pb.CorpTagGroupDeleteResponse|null) => void
|
|
1361
|
+
): UnaryResponse;
|
|
1362
|
+
corpTagGroupDelete(
|
|
1363
|
+
requestMessage: wechaty_puppet_corp_tag_pb.CorpTagGroupDeleteRequest,
|
|
1364
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_corp_tag_pb.CorpTagGroupDeleteResponse|null) => void
|
|
1365
|
+
): UnaryResponse;
|
|
1366
|
+
corpTagTagAdd(
|
|
1367
|
+
requestMessage: wechaty_puppet_corp_tag_pb.CorpTagTagAddRequest,
|
|
1368
|
+
metadata: grpc.Metadata,
|
|
1369
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_corp_tag_pb.CorpTagTagAddResponse|null) => void
|
|
1370
|
+
): UnaryResponse;
|
|
1371
|
+
corpTagTagAdd(
|
|
1372
|
+
requestMessage: wechaty_puppet_corp_tag_pb.CorpTagTagAddRequest,
|
|
1373
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_corp_tag_pb.CorpTagTagAddResponse|null) => void
|
|
1374
|
+
): UnaryResponse;
|
|
1375
|
+
corpTagTagDelete(
|
|
1376
|
+
requestMessage: wechaty_puppet_corp_tag_pb.CorpTagTagDeleteRequest,
|
|
1377
|
+
metadata: grpc.Metadata,
|
|
1378
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_corp_tag_pb.CorpTagTagDeleteResponse|null) => void
|
|
1379
|
+
): UnaryResponse;
|
|
1380
|
+
corpTagTagDelete(
|
|
1381
|
+
requestMessage: wechaty_puppet_corp_tag_pb.CorpTagTagDeleteRequest,
|
|
1382
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_corp_tag_pb.CorpTagTagDeleteResponse|null) => void
|
|
1383
|
+
): UnaryResponse;
|
|
1384
|
+
corpTagGroupList(
|
|
1385
|
+
requestMessage: wechaty_puppet_corp_tag_pb.CorpTagGroupListRequest,
|
|
1386
|
+
metadata: grpc.Metadata,
|
|
1387
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_corp_tag_pb.CorpTagGroupListResponse|null) => void
|
|
1388
|
+
): UnaryResponse;
|
|
1389
|
+
corpTagGroupList(
|
|
1390
|
+
requestMessage: wechaty_puppet_corp_tag_pb.CorpTagGroupListRequest,
|
|
1391
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_corp_tag_pb.CorpTagGroupListResponse|null) => void
|
|
1392
|
+
): UnaryResponse;
|
|
1393
|
+
corpTagTagList(
|
|
1394
|
+
requestMessage: wechaty_puppet_corp_tag_pb.CorpTagTagListRequest,
|
|
1395
|
+
metadata: grpc.Metadata,
|
|
1396
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_corp_tag_pb.CorpTagTagListResponse|null) => void
|
|
1397
|
+
): UnaryResponse;
|
|
1398
|
+
corpTagTagList(
|
|
1399
|
+
requestMessage: wechaty_puppet_corp_tag_pb.CorpTagTagListRequest,
|
|
1400
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_corp_tag_pb.CorpTagTagListResponse|null) => void
|
|
1401
|
+
): UnaryResponse;
|
|
1402
|
+
corpTagContactTagList(
|
|
1403
|
+
requestMessage: wechaty_puppet_corp_tag_pb.CorpTagContactTagListRequest,
|
|
1404
|
+
metadata: grpc.Metadata,
|
|
1405
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_corp_tag_pb.CorpTagContactTagListResponse|null) => void
|
|
1406
|
+
): UnaryResponse;
|
|
1407
|
+
corpTagContactTagList(
|
|
1408
|
+
requestMessage: wechaty_puppet_corp_tag_pb.CorpTagContactTagListRequest,
|
|
1409
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_corp_tag_pb.CorpTagContactTagListResponse|null) => void
|
|
1410
|
+
): UnaryResponse;
|
|
1239
1411
|
download(requestMessage: wechaty_puppet_download_upload_pb.DownloadRequest, metadata?: grpc.Metadata): ResponseStream<wechaty_puppet_download_upload_pb.DownloadResponse>;
|
|
1240
1412
|
upload(metadata?: grpc.Metadata): RequestStream<wechaty_puppet_download_upload_pb.UploadRequest>;
|
|
1241
1413
|
}
|