@juzi/wechaty-grpc 1.0.58 → 1.0.60

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.
Files changed (69) hide show
  1. package/dist/cjs/out/wechaty/puppet/contact_pb.d.ts +40 -0
  2. package/dist/cjs/out/wechaty/puppet/contact_pb.js +305 -0
  3. package/dist/cjs/out/wechaty/puppet/event_pb.d.ts +1 -0
  4. package/dist/cjs/out/wechaty/puppet/event_pb.js +2 -1
  5. package/dist/cjs/out/wechaty/puppet/verify-code_grpc_pb.js +1 -0
  6. package/dist/cjs/out/wechaty/puppet/verify-code_pb.d.ts +45 -0
  7. package/dist/cjs/out/wechaty/puppet/verify-code_pb.js +323 -0
  8. package/dist/cjs/out/wechaty/puppet/verify-code_pb_service.d.ts +3 -0
  9. package/dist/cjs/out/wechaty/puppet/verify-code_pb_service.js +3 -0
  10. package/dist/cjs/out/wechaty/puppet.openapi.yaml +52 -1
  11. package/dist/cjs/out/wechaty/puppet.swagger.json +81 -2
  12. package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +35 -0
  13. package/dist/cjs/out/wechaty/puppet_grpc_pb.js +67 -0
  14. package/dist/cjs/out/wechaty/puppet_pb.d.ts +1 -0
  15. package/dist/cjs/out/wechaty/puppet_pb.js +2 -0
  16. package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +39 -0
  17. package/dist/cjs/out/wechaty/puppet_pb_service.js +81 -0
  18. package/dist/cjs/proto/wechaty/puppet/contact.proto +7 -0
  19. package/dist/cjs/proto/wechaty/puppet/event.proto +1 -0
  20. package/dist/cjs/proto/wechaty/puppet/verify-code.proto +14 -0
  21. package/dist/cjs/proto/wechaty/puppet.proto +11 -1
  22. package/dist/cjs/src/package-json.js +1 -1
  23. package/dist/cjs/tests/puppet-server-impl.d.ts.map +1 -1
  24. package/dist/cjs/tests/puppet-server-impl.js +10 -0
  25. package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
  26. package/dist/esm/out/wechaty/puppet/contact_pb.d.ts +40 -0
  27. package/dist/esm/out/wechaty/puppet/contact_pb.js +305 -0
  28. package/dist/esm/out/wechaty/puppet/event_pb.d.ts +1 -0
  29. package/dist/esm/out/wechaty/puppet/event_pb.js +2 -1
  30. package/dist/esm/out/wechaty/puppet/verify-code_grpc_pb.js +1 -0
  31. package/dist/esm/out/wechaty/puppet/verify-code_pb.d.ts +45 -0
  32. package/dist/esm/out/wechaty/puppet/verify-code_pb.js +323 -0
  33. package/dist/esm/out/wechaty/puppet/verify-code_pb_service.d.ts +3 -0
  34. package/dist/esm/out/wechaty/puppet/verify-code_pb_service.js +3 -0
  35. package/dist/esm/out/wechaty/puppet.openapi.yaml +52 -1
  36. package/dist/esm/out/wechaty/puppet.swagger.json +81 -2
  37. package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +35 -0
  38. package/dist/esm/out/wechaty/puppet_grpc_pb.js +67 -0
  39. package/dist/esm/out/wechaty/puppet_pb.d.ts +1 -0
  40. package/dist/esm/out/wechaty/puppet_pb.js +2 -0
  41. package/dist/esm/out/wechaty/puppet_pb_service.d.ts +39 -0
  42. package/dist/esm/out/wechaty/puppet_pb_service.js +81 -0
  43. package/dist/esm/proto/wechaty/puppet/contact.proto +7 -0
  44. package/dist/esm/proto/wechaty/puppet/event.proto +1 -0
  45. package/dist/esm/proto/wechaty/puppet/verify-code.proto +14 -0
  46. package/dist/esm/proto/wechaty/puppet.proto +11 -1
  47. package/dist/esm/src/package-json.js +1 -1
  48. package/dist/esm/tests/puppet-server-impl.d.ts.map +1 -1
  49. package/dist/esm/tests/puppet-server-impl.js +10 -0
  50. package/dist/esm/tests/puppet-server-impl.js.map +1 -1
  51. package/out/wechaty/puppet/contact_pb.d.ts +40 -0
  52. package/out/wechaty/puppet/contact_pb.js +305 -0
  53. package/out/wechaty/puppet/event_pb.d.ts +1 -0
  54. package/out/wechaty/puppet/event_pb.js +2 -1
  55. package/out/wechaty/puppet/verify-code_grpc_pb.js +1 -0
  56. package/out/wechaty/puppet/verify-code_pb.d.ts +45 -0
  57. package/out/wechaty/puppet/verify-code_pb.js +323 -0
  58. package/out/wechaty/puppet/verify-code_pb_service.d.ts +3 -0
  59. package/out/wechaty/puppet/verify-code_pb_service.js +3 -0
  60. package/out/wechaty/puppet.openapi.yaml +52 -1
  61. package/out/wechaty/puppet.swagger.json +81 -2
  62. package/out/wechaty/puppet_grpc_pb.d.ts +35 -0
  63. package/out/wechaty/puppet_grpc_pb.js +67 -0
  64. package/out/wechaty/puppet_pb.d.ts +1 -0
  65. package/out/wechaty/puppet_pb.js +2 -0
  66. package/out/wechaty/puppet_pb_service.d.ts +39 -0
  67. package/out/wechaty/puppet_pb_service.js +81 -0
  68. package/package.json +1 -1
  69. package/src/package-json.ts +1 -1
@@ -270,6 +270,46 @@ export namespace ContactSelfSignatureResponse {
270
270
  }
271
271
  }
272
272
 
273
+ export class ContactSelfRoomAliasRequest extends jspb.Message {
274
+ getRoomId(): string;
275
+ setRoomId(value: string): void;
276
+
277
+ getAlias(): string;
278
+ setAlias(value: string): void;
279
+
280
+ serializeBinary(): Uint8Array;
281
+ toObject(includeInstance?: boolean): ContactSelfRoomAliasRequest.AsObject;
282
+ static toObject(includeInstance: boolean, msg: ContactSelfRoomAliasRequest): ContactSelfRoomAliasRequest.AsObject;
283
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
284
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
285
+ static serializeBinaryToWriter(message: ContactSelfRoomAliasRequest, writer: jspb.BinaryWriter): void;
286
+ static deserializeBinary(bytes: Uint8Array): ContactSelfRoomAliasRequest;
287
+ static deserializeBinaryFromReader(message: ContactSelfRoomAliasRequest, reader: jspb.BinaryReader): ContactSelfRoomAliasRequest;
288
+ }
289
+
290
+ export namespace ContactSelfRoomAliasRequest {
291
+ export type AsObject = {
292
+ roomId: string,
293
+ alias: string,
294
+ }
295
+ }
296
+
297
+ export class ContactSelfRoomAliasResponse extends jspb.Message {
298
+ serializeBinary(): Uint8Array;
299
+ toObject(includeInstance?: boolean): ContactSelfRoomAliasResponse.AsObject;
300
+ static toObject(includeInstance: boolean, msg: ContactSelfRoomAliasResponse): ContactSelfRoomAliasResponse.AsObject;
301
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
302
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
303
+ static serializeBinaryToWriter(message: ContactSelfRoomAliasResponse, writer: jspb.BinaryWriter): void;
304
+ static deserializeBinary(bytes: Uint8Array): ContactSelfRoomAliasResponse;
305
+ static deserializeBinaryFromReader(message: ContactSelfRoomAliasResponse, reader: jspb.BinaryReader): ContactSelfRoomAliasResponse;
306
+ }
307
+
308
+ export namespace ContactSelfRoomAliasResponse {
309
+ export type AsObject = {
310
+ }
311
+ }
312
+
273
313
  export class ContactAliasRequest extends jspb.Message {
274
314
  getId(): string;
275
315
  setId(value: string): void;
@@ -40,6 +40,8 @@ goog.exportSymbol('proto.wechaty.puppet.ContactSelfNameRequest', null, global);
40
40
  goog.exportSymbol('proto.wechaty.puppet.ContactSelfNameResponse', null, global);
41
41
  goog.exportSymbol('proto.wechaty.puppet.ContactSelfQRCodeRequest', null, global);
42
42
  goog.exportSymbol('proto.wechaty.puppet.ContactSelfQRCodeResponse', null, global);
43
+ goog.exportSymbol('proto.wechaty.puppet.ContactSelfRoomAliasRequest', null, global);
44
+ goog.exportSymbol('proto.wechaty.puppet.ContactSelfRoomAliasResponse', null, global);
43
45
  goog.exportSymbol('proto.wechaty.puppet.ContactSelfSignatureRequest', null, global);
44
46
  goog.exportSymbol('proto.wechaty.puppet.ContactSelfSignatureResponse', null, global);
45
47
  goog.exportSymbol('proto.wechaty.puppet.ContactType', null, global);
@@ -253,6 +255,48 @@ if (goog.DEBUG && !COMPILED) {
253
255
  */
254
256
  proto.wechaty.puppet.ContactSelfSignatureResponse.displayName = 'proto.wechaty.puppet.ContactSelfSignatureResponse';
255
257
  }
258
+ /**
259
+ * Generated by JsPbCodeGenerator.
260
+ * @param {Array=} opt_data Optional initial data array, typically from a
261
+ * server response, or constructed directly in Javascript. The array is used
262
+ * in place and becomes part of the constructed object. It is not cloned.
263
+ * If no data is provided, the constructed object will be empty, but still
264
+ * valid.
265
+ * @extends {jspb.Message}
266
+ * @constructor
267
+ */
268
+ proto.wechaty.puppet.ContactSelfRoomAliasRequest = function(opt_data) {
269
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
270
+ };
271
+ goog.inherits(proto.wechaty.puppet.ContactSelfRoomAliasRequest, jspb.Message);
272
+ if (goog.DEBUG && !COMPILED) {
273
+ /**
274
+ * @public
275
+ * @override
276
+ */
277
+ proto.wechaty.puppet.ContactSelfRoomAliasRequest.displayName = 'proto.wechaty.puppet.ContactSelfRoomAliasRequest';
278
+ }
279
+ /**
280
+ * Generated by JsPbCodeGenerator.
281
+ * @param {Array=} opt_data Optional initial data array, typically from a
282
+ * server response, or constructed directly in Javascript. The array is used
283
+ * in place and becomes part of the constructed object. It is not cloned.
284
+ * If no data is provided, the constructed object will be empty, but still
285
+ * valid.
286
+ * @extends {jspb.Message}
287
+ * @constructor
288
+ */
289
+ proto.wechaty.puppet.ContactSelfRoomAliasResponse = function(opt_data) {
290
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
291
+ };
292
+ goog.inherits(proto.wechaty.puppet.ContactSelfRoomAliasResponse, jspb.Message);
293
+ if (goog.DEBUG && !COMPILED) {
294
+ /**
295
+ * @public
296
+ * @override
297
+ */
298
+ proto.wechaty.puppet.ContactSelfRoomAliasResponse.displayName = 'proto.wechaty.puppet.ContactSelfRoomAliasResponse';
299
+ }
256
300
  /**
257
301
  * Generated by JsPbCodeGenerator.
258
302
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -2375,6 +2419,267 @@ proto.wechaty.puppet.ContactSelfSignatureResponse.serializeBinaryToWriter = func
2375
2419
 
2376
2420
 
2377
2421
 
2422
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2423
+ /**
2424
+ * Creates an object representation of this proto.
2425
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2426
+ * Optional fields that are not set will be set to undefined.
2427
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2428
+ * For the list of reserved names please see:
2429
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2430
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2431
+ * JSPB instance for transitional soy proto support:
2432
+ * http://goto/soy-param-migration
2433
+ * @return {!Object}
2434
+ */
2435
+ proto.wechaty.puppet.ContactSelfRoomAliasRequest.prototype.toObject = function(opt_includeInstance) {
2436
+ return proto.wechaty.puppet.ContactSelfRoomAliasRequest.toObject(opt_includeInstance, this);
2437
+ };
2438
+
2439
+
2440
+ /**
2441
+ * Static version of the {@see toObject} method.
2442
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2443
+ * the JSPB instance for transitional soy proto support:
2444
+ * http://goto/soy-param-migration
2445
+ * @param {!proto.wechaty.puppet.ContactSelfRoomAliasRequest} msg The msg instance to transform.
2446
+ * @return {!Object}
2447
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2448
+ */
2449
+ proto.wechaty.puppet.ContactSelfRoomAliasRequest.toObject = function(includeInstance, msg) {
2450
+ var f, obj = {
2451
+ roomId: jspb.Message.getFieldWithDefault(msg, 1, ""),
2452
+ alias: jspb.Message.getFieldWithDefault(msg, 2, "")
2453
+ };
2454
+
2455
+ if (includeInstance) {
2456
+ obj.$jspbMessageInstance = msg;
2457
+ }
2458
+ return obj;
2459
+ };
2460
+ }
2461
+
2462
+
2463
+ /**
2464
+ * Deserializes binary data (in protobuf wire format).
2465
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2466
+ * @return {!proto.wechaty.puppet.ContactSelfRoomAliasRequest}
2467
+ */
2468
+ proto.wechaty.puppet.ContactSelfRoomAliasRequest.deserializeBinary = function(bytes) {
2469
+ var reader = new jspb.BinaryReader(bytes);
2470
+ var msg = new proto.wechaty.puppet.ContactSelfRoomAliasRequest;
2471
+ return proto.wechaty.puppet.ContactSelfRoomAliasRequest.deserializeBinaryFromReader(msg, reader);
2472
+ };
2473
+
2474
+
2475
+ /**
2476
+ * Deserializes binary data (in protobuf wire format) from the
2477
+ * given reader into the given message object.
2478
+ * @param {!proto.wechaty.puppet.ContactSelfRoomAliasRequest} msg The message object to deserialize into.
2479
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2480
+ * @return {!proto.wechaty.puppet.ContactSelfRoomAliasRequest}
2481
+ */
2482
+ proto.wechaty.puppet.ContactSelfRoomAliasRequest.deserializeBinaryFromReader = function(msg, reader) {
2483
+ while (reader.nextField()) {
2484
+ if (reader.isEndGroup()) {
2485
+ break;
2486
+ }
2487
+ var field = reader.getFieldNumber();
2488
+ switch (field) {
2489
+ case 1:
2490
+ var value = /** @type {string} */ (reader.readString());
2491
+ msg.setRoomId(value);
2492
+ break;
2493
+ case 2:
2494
+ var value = /** @type {string} */ (reader.readString());
2495
+ msg.setAlias(value);
2496
+ break;
2497
+ default:
2498
+ reader.skipField();
2499
+ break;
2500
+ }
2501
+ }
2502
+ return msg;
2503
+ };
2504
+
2505
+
2506
+ /**
2507
+ * Serializes the message to binary data (in protobuf wire format).
2508
+ * @return {!Uint8Array}
2509
+ */
2510
+ proto.wechaty.puppet.ContactSelfRoomAliasRequest.prototype.serializeBinary = function() {
2511
+ var writer = new jspb.BinaryWriter();
2512
+ proto.wechaty.puppet.ContactSelfRoomAliasRequest.serializeBinaryToWriter(this, writer);
2513
+ return writer.getResultBuffer();
2514
+ };
2515
+
2516
+
2517
+ /**
2518
+ * Serializes the given message to binary data (in protobuf wire
2519
+ * format), writing to the given BinaryWriter.
2520
+ * @param {!proto.wechaty.puppet.ContactSelfRoomAliasRequest} message
2521
+ * @param {!jspb.BinaryWriter} writer
2522
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2523
+ */
2524
+ proto.wechaty.puppet.ContactSelfRoomAliasRequest.serializeBinaryToWriter = function(message, writer) {
2525
+ var f = undefined;
2526
+ f = message.getRoomId();
2527
+ if (f.length > 0) {
2528
+ writer.writeString(
2529
+ 1,
2530
+ f
2531
+ );
2532
+ }
2533
+ f = message.getAlias();
2534
+ if (f.length > 0) {
2535
+ writer.writeString(
2536
+ 2,
2537
+ f
2538
+ );
2539
+ }
2540
+ };
2541
+
2542
+
2543
+ /**
2544
+ * optional string room_id = 1;
2545
+ * @return {string}
2546
+ */
2547
+ proto.wechaty.puppet.ContactSelfRoomAliasRequest.prototype.getRoomId = function() {
2548
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2549
+ };
2550
+
2551
+
2552
+ /**
2553
+ * @param {string} value
2554
+ * @return {!proto.wechaty.puppet.ContactSelfRoomAliasRequest} returns this
2555
+ */
2556
+ proto.wechaty.puppet.ContactSelfRoomAliasRequest.prototype.setRoomId = function(value) {
2557
+ return jspb.Message.setProto3StringField(this, 1, value);
2558
+ };
2559
+
2560
+
2561
+ /**
2562
+ * optional string alias = 2;
2563
+ * @return {string}
2564
+ */
2565
+ proto.wechaty.puppet.ContactSelfRoomAliasRequest.prototype.getAlias = function() {
2566
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2567
+ };
2568
+
2569
+
2570
+ /**
2571
+ * @param {string} value
2572
+ * @return {!proto.wechaty.puppet.ContactSelfRoomAliasRequest} returns this
2573
+ */
2574
+ proto.wechaty.puppet.ContactSelfRoomAliasRequest.prototype.setAlias = function(value) {
2575
+ return jspb.Message.setProto3StringField(this, 2, value);
2576
+ };
2577
+
2578
+
2579
+
2580
+
2581
+
2582
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2583
+ /**
2584
+ * Creates an object representation of this proto.
2585
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2586
+ * Optional fields that are not set will be set to undefined.
2587
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2588
+ * For the list of reserved names please see:
2589
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2590
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2591
+ * JSPB instance for transitional soy proto support:
2592
+ * http://goto/soy-param-migration
2593
+ * @return {!Object}
2594
+ */
2595
+ proto.wechaty.puppet.ContactSelfRoomAliasResponse.prototype.toObject = function(opt_includeInstance) {
2596
+ return proto.wechaty.puppet.ContactSelfRoomAliasResponse.toObject(opt_includeInstance, this);
2597
+ };
2598
+
2599
+
2600
+ /**
2601
+ * Static version of the {@see toObject} method.
2602
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2603
+ * the JSPB instance for transitional soy proto support:
2604
+ * http://goto/soy-param-migration
2605
+ * @param {!proto.wechaty.puppet.ContactSelfRoomAliasResponse} msg The msg instance to transform.
2606
+ * @return {!Object}
2607
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2608
+ */
2609
+ proto.wechaty.puppet.ContactSelfRoomAliasResponse.toObject = function(includeInstance, msg) {
2610
+ var f, obj = {
2611
+
2612
+ };
2613
+
2614
+ if (includeInstance) {
2615
+ obj.$jspbMessageInstance = msg;
2616
+ }
2617
+ return obj;
2618
+ };
2619
+ }
2620
+
2621
+
2622
+ /**
2623
+ * Deserializes binary data (in protobuf wire format).
2624
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2625
+ * @return {!proto.wechaty.puppet.ContactSelfRoomAliasResponse}
2626
+ */
2627
+ proto.wechaty.puppet.ContactSelfRoomAliasResponse.deserializeBinary = function(bytes) {
2628
+ var reader = new jspb.BinaryReader(bytes);
2629
+ var msg = new proto.wechaty.puppet.ContactSelfRoomAliasResponse;
2630
+ return proto.wechaty.puppet.ContactSelfRoomAliasResponse.deserializeBinaryFromReader(msg, reader);
2631
+ };
2632
+
2633
+
2634
+ /**
2635
+ * Deserializes binary data (in protobuf wire format) from the
2636
+ * given reader into the given message object.
2637
+ * @param {!proto.wechaty.puppet.ContactSelfRoomAliasResponse} msg The message object to deserialize into.
2638
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2639
+ * @return {!proto.wechaty.puppet.ContactSelfRoomAliasResponse}
2640
+ */
2641
+ proto.wechaty.puppet.ContactSelfRoomAliasResponse.deserializeBinaryFromReader = function(msg, reader) {
2642
+ while (reader.nextField()) {
2643
+ if (reader.isEndGroup()) {
2644
+ break;
2645
+ }
2646
+ var field = reader.getFieldNumber();
2647
+ switch (field) {
2648
+ default:
2649
+ reader.skipField();
2650
+ break;
2651
+ }
2652
+ }
2653
+ return msg;
2654
+ };
2655
+
2656
+
2657
+ /**
2658
+ * Serializes the message to binary data (in protobuf wire format).
2659
+ * @return {!Uint8Array}
2660
+ */
2661
+ proto.wechaty.puppet.ContactSelfRoomAliasResponse.prototype.serializeBinary = function() {
2662
+ var writer = new jspb.BinaryWriter();
2663
+ proto.wechaty.puppet.ContactSelfRoomAliasResponse.serializeBinaryToWriter(this, writer);
2664
+ return writer.getResultBuffer();
2665
+ };
2666
+
2667
+
2668
+ /**
2669
+ * Serializes the given message to binary data (in protobuf wire
2670
+ * format), writing to the given BinaryWriter.
2671
+ * @param {!proto.wechaty.puppet.ContactSelfRoomAliasResponse} message
2672
+ * @param {!jspb.BinaryWriter} writer
2673
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2674
+ */
2675
+ proto.wechaty.puppet.ContactSelfRoomAliasResponse.serializeBinaryToWriter = function(message, writer) {
2676
+ var f = undefined;
2677
+ };
2678
+
2679
+
2680
+
2681
+
2682
+
2378
2683
  if (jspb.Message.GENERATE_TO_OBJECT) {
2379
2684
  /**
2380
2685
  * Creates an object representation of this proto.
@@ -78,6 +78,7 @@ export interface EventTypeMap {
78
78
  EVENT_TYPE_POST_COMMENT: 30;
79
79
  EVENT_TYPE_POST_TAP: 31;
80
80
  EVENT_TYPE_ROOM_ANNOUNCE: 32;
81
+ EVENT_TYPE_VERIFY_CODE: 33;
81
82
  }
82
83
 
83
84
  export const EventType: EventTypeMap;
@@ -435,7 +435,8 @@ proto.wechaty.puppet.EventType = {
435
435
  EVENT_TYPE_TAG_GROUP: 29,
436
436
  EVENT_TYPE_POST_COMMENT: 30,
437
437
  EVENT_TYPE_POST_TAP: 31,
438
- EVENT_TYPE_ROOM_ANNOUNCE: 32
438
+ EVENT_TYPE_ROOM_ANNOUNCE: 32,
439
+ EVENT_TYPE_VERIFY_CODE: 33
439
440
  };
440
441
 
441
442
  goog.object.extend(exports, proto.wechaty.puppet);
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -0,0 +1,45 @@
1
+ // package: wechaty.puppet
2
+ // file: wechaty/puppet/verify-code.proto
3
+
4
+ import * as jspb from "google-protobuf";
5
+
6
+ export class EnterVerifyCodeRequest extends jspb.Message {
7
+ getId(): string;
8
+ setId(value: string): void;
9
+
10
+ getCode(): string;
11
+ setCode(value: string): void;
12
+
13
+ serializeBinary(): Uint8Array;
14
+ toObject(includeInstance?: boolean): EnterVerifyCodeRequest.AsObject;
15
+ static toObject(includeInstance: boolean, msg: EnterVerifyCodeRequest): EnterVerifyCodeRequest.AsObject;
16
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
17
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
18
+ static serializeBinaryToWriter(message: EnterVerifyCodeRequest, writer: jspb.BinaryWriter): void;
19
+ static deserializeBinary(bytes: Uint8Array): EnterVerifyCodeRequest;
20
+ static deserializeBinaryFromReader(message: EnterVerifyCodeRequest, reader: jspb.BinaryReader): EnterVerifyCodeRequest;
21
+ }
22
+
23
+ export namespace EnterVerifyCodeRequest {
24
+ export type AsObject = {
25
+ id: string,
26
+ code: string,
27
+ }
28
+ }
29
+
30
+ export class EnterVerifyCodeResponse extends jspb.Message {
31
+ serializeBinary(): Uint8Array;
32
+ toObject(includeInstance?: boolean): EnterVerifyCodeResponse.AsObject;
33
+ static toObject(includeInstance: boolean, msg: EnterVerifyCodeResponse): EnterVerifyCodeResponse.AsObject;
34
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
35
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
36
+ static serializeBinaryToWriter(message: EnterVerifyCodeResponse, writer: jspb.BinaryWriter): void;
37
+ static deserializeBinary(bytes: Uint8Array): EnterVerifyCodeResponse;
38
+ static deserializeBinaryFromReader(message: EnterVerifyCodeResponse, reader: jspb.BinaryReader): EnterVerifyCodeResponse;
39
+ }
40
+
41
+ export namespace EnterVerifyCodeResponse {
42
+ export type AsObject = {
43
+ }
44
+ }
45
+