@juzi/wechaty 1.0.64 → 1.0.65

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 (44) hide show
  1. package/dist/cjs/src/package-json.js +4 -4
  2. package/dist/cjs/src/schemas/wechaty-events.d.ts +4 -1
  3. package/dist/cjs/src/schemas/wechaty-events.d.ts.map +1 -1
  4. package/dist/cjs/src/schemas/wechaty-events.js.map +1 -1
  5. package/dist/cjs/src/wechaty/wechaty-base.d.ts +10 -7
  6. package/dist/cjs/src/wechaty/wechaty-base.d.ts.map +1 -1
  7. package/dist/cjs/src/wechaty/wechaty-base.js +15 -0
  8. package/dist/cjs/src/wechaty/wechaty-base.js.map +1 -1
  9. package/dist/cjs/src/wechaty/wechaty-impl.spec.js.map +1 -1
  10. package/dist/cjs/src/wechaty-mixins/gerror-mixin.d.ts +1 -1
  11. package/dist/cjs/src/wechaty-mixins/io-mixin.d.ts +2 -2
  12. package/dist/cjs/src/wechaty-mixins/login-mixin.d.ts +5 -5
  13. package/dist/cjs/src/wechaty-mixins/misc-mixin.d.ts +5 -5
  14. package/dist/cjs/src/wechaty-mixins/plugin-mixin.d.ts +6 -6
  15. package/dist/cjs/src/wechaty-mixins/puppet-mixin.d.ts +4 -4
  16. package/dist/cjs/src/wechaty-mixins/puppet-mixin.d.ts.map +1 -1
  17. package/dist/cjs/src/wechaty-mixins/puppet-mixin.js +5 -0
  18. package/dist/cjs/src/wechaty-mixins/puppet-mixin.js.map +1 -1
  19. package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.d.ts +1 -1
  20. package/dist/esm/src/package-json.js +4 -4
  21. package/dist/esm/src/schemas/wechaty-events.d.ts +4 -1
  22. package/dist/esm/src/schemas/wechaty-events.d.ts.map +1 -1
  23. package/dist/esm/src/schemas/wechaty-events.js.map +1 -1
  24. package/dist/esm/src/wechaty/wechaty-base.d.ts +10 -7
  25. package/dist/esm/src/wechaty/wechaty-base.d.ts.map +1 -1
  26. package/dist/esm/src/wechaty/wechaty-base.js +15 -0
  27. package/dist/esm/src/wechaty/wechaty-base.js.map +1 -1
  28. package/dist/esm/src/wechaty/wechaty-impl.spec.js.map +1 -1
  29. package/dist/esm/src/wechaty-mixins/gerror-mixin.d.ts +1 -1
  30. package/dist/esm/src/wechaty-mixins/io-mixin.d.ts +2 -2
  31. package/dist/esm/src/wechaty-mixins/login-mixin.d.ts +5 -5
  32. package/dist/esm/src/wechaty-mixins/misc-mixin.d.ts +5 -5
  33. package/dist/esm/src/wechaty-mixins/plugin-mixin.d.ts +6 -6
  34. package/dist/esm/src/wechaty-mixins/puppet-mixin.d.ts +4 -4
  35. package/dist/esm/src/wechaty-mixins/puppet-mixin.d.ts.map +1 -1
  36. package/dist/esm/src/wechaty-mixins/puppet-mixin.js +5 -0
  37. package/dist/esm/src/wechaty-mixins/puppet-mixin.js.map +1 -1
  38. package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.d.ts +1 -1
  39. package/package.json +3 -3
  40. package/src/package-json.ts +4 -4
  41. package/src/schemas/wechaty-events.ts +3 -0
  42. package/src/wechaty/wechaty-base.ts +28 -0
  43. package/src/wechaty/wechaty-impl.spec.ts +26 -23
  44. package/src/wechaty-mixins/puppet-mixin.ts +6 -0
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.packageJson = exports.GIT_COMMIT_HASH = void 0;
4
- exports.GIT_COMMIT_HASH = 'fa944c49754ac63bce11f6810c32e06f94681b0b';
4
+ exports.GIT_COMMIT_HASH = '3cdbcbc1d5ad9b416d4b8851b4db9ea0636e758e';
5
5
  exports.packageJson = {
6
6
  "name": "@juzi/wechaty",
7
- "version": "1.0.64",
7
+ "version": "1.0.65",
8
8
  "description": "Wechaty is a RPA SDK for Chatbot Makers.",
9
9
  "type": "module",
10
10
  "exports": {
@@ -113,7 +113,7 @@ exports.packageJson = {
113
113
  },
114
114
  "homepage": "https://github.com/wechaty/",
115
115
  "dependencies": {
116
- "@juzi/wechaty-puppet-service": "^1.0.64",
116
+ "@juzi/wechaty-puppet-service": "^1.0.69",
117
117
  "clone-class": "^1.1.1",
118
118
  "cmd-ts": "^0.10.0",
119
119
  "cockatiel": "^2.0.2",
@@ -136,7 +136,7 @@ exports.packageJson = {
136
136
  "@chatie/eslint-config": "^1.0.4",
137
137
  "@chatie/semver": "^0.4.7",
138
138
  "@chatie/tsconfig": "^4.6.3",
139
- "@juzi/wechaty-puppet": "^1.0.59",
139
+ "@juzi/wechaty-puppet": "^1.0.61",
140
140
  "@juzi/wechaty-puppet-mock": "^1.0.1",
141
141
  "@swc/core": "1.3.44",
142
142
  "@swc/helpers": "^0.3.6",
@@ -35,6 +35,7 @@ declare const WECHATY_EVENT_DICT: {
35
35
  readonly 'tag-group': string;
36
36
  readonly 'post-comment': string;
37
37
  readonly 'post-tap': string;
38
+ readonly 'verify-code': string;
38
39
  };
39
40
  declare type WechatyEventName = keyof typeof WECHATY_EVENT_DICT;
40
41
  /**
@@ -70,6 +71,7 @@ declare type WechatyEventListenerTag = (type: PUPPET.types.TagEvent, list: TagIn
70
71
  declare type WechatyEventListenerTagGroup = (type: PUPPET.types.TagGroupEvent, list: TagGroupInterface[], date?: Date) => void | Promise<void>;
71
72
  declare type WechatyEventListenerPostComment = (comment: PostInterface, post: PostInterface) => void | Promise<void>;
72
73
  declare type WechatyEventListenerPostTap = (post: PostInterface, contact: ContactInterface, type: PUPPET.types.Tap, tap: boolean, date?: Date) => void | Promise<void>;
74
+ declare type WechatyEventListenerVerifyCode = (id: string, message: string, scene: PUPPET.types.VerifyCodeScene, status: PUPPET.types.VerifyCodeStatus) => void | Promise<void>;
73
75
  /**
74
76
  * @desc Wechaty Class Event Type
75
77
  * @typedef WechatyEventName
@@ -254,8 +256,9 @@ interface WechatyEventListeners {
254
256
  'tag-group': WechatyEventListenerTagGroup;
255
257
  'post-comment': WechatyEventListenerPostComment;
256
258
  'post-tap': WechatyEventListenerPostTap;
259
+ 'verify-code': WechatyEventListenerVerifyCode;
257
260
  }
258
261
  declare const WechatyEventEmitter: new () => TypedEventEmitter<WechatyEventListeners>;
259
- export type { WechatyEventName, WechatyEventListeners, WechatyEventListenerDong, WechatyEventListenerError, WechatyEventListenerFriendship, WechatyEventListenerHeartbeat, WechatyEventListenerLogin, WechatyEventListenerLogout, WechatyEventListenerMessage, WechatyEventListenerPost, WechatyEventListenerPuppet, WechatyEventListenerReady, WechatyEventListenerRoomInvite, WechatyEventListenerRoomJoin, WechatyEventListenerRoomLeave, WechatyEventListenerRoomTopic, WechatyEventListenerRoomOwner, WechatyEventListenerRoomAnnounce, WechatyEventListenerScan, WechatyEventListenerStartStop, WechatyEventListenerUpdate, WechatyEventListenerContactTagAdd, WechatyEventListenerContactTagRemove, WechatyEventListenerContactName, WechatyEventListenerContactAlias, WechatyEventListenerContactPhone, WechatyEventListenerContactDescription, WechatyEventListenerContactCorporation, WechatyEventListenerTag, WechatyEventListenerTagGroup, WechatyEventListenerPostComment, WechatyEventListenerPostTap, };
262
+ export type { WechatyEventName, WechatyEventListeners, WechatyEventListenerDong, WechatyEventListenerError, WechatyEventListenerFriendship, WechatyEventListenerHeartbeat, WechatyEventListenerLogin, WechatyEventListenerLogout, WechatyEventListenerMessage, WechatyEventListenerPost, WechatyEventListenerPuppet, WechatyEventListenerReady, WechatyEventListenerRoomInvite, WechatyEventListenerRoomJoin, WechatyEventListenerRoomLeave, WechatyEventListenerRoomTopic, WechatyEventListenerRoomOwner, WechatyEventListenerRoomAnnounce, WechatyEventListenerScan, WechatyEventListenerStartStop, WechatyEventListenerUpdate, WechatyEventListenerContactTagAdd, WechatyEventListenerContactTagRemove, WechatyEventListenerContactName, WechatyEventListenerContactAlias, WechatyEventListenerContactPhone, WechatyEventListenerContactDescription, WechatyEventListenerContactCorporation, WechatyEventListenerTag, WechatyEventListenerTagGroup, WechatyEventListenerPostComment, WechatyEventListenerPostTap, WechatyEventListenerVerifyCode, };
260
263
  export { WechatyEventEmitter, };
261
264
  //# sourceMappingURL=wechaty-events.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"wechaty-events.d.ts","sourceRoot":"","sources":["../../../../src/schemas/wechaty-events.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,iBAAiB,MAAQ,eAAe,CAAA;AAEpD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAO,QAAQ,CAAA;AACrC,OAAO,KAAK,MAAM,MAAW,sBAAsB,CAAA;AAEnD,OAAO,KAAK,EACV,mBAAmB,EACnB,oBAAoB,EACpB,aAAa,EACb,uBAAuB,EACvB,gBAAgB,EAChB,gBAAgB,EAChB,aAAa,EACb,YAAY,EACZ,iBAAiB,EAClB,MAA4B,wBAAwB,CAAA;AACrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAA;AAEtD,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkBd,CAAA;AAEV,aAAK,gBAAgB,GAAI,MAAM,OAAO,kBAAkB,CAAA;AAExD;;GAEG;AACH,aAAK,wBAAwB,GAAiB,CAAC,IAAI,CAAC,EAAE,MAAM,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;AACrF,aAAK,yBAAyB,GAAgB,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;AACrF,aAAK,8BAA8B,GAAW,CAAC,UAAU,EAAE,mBAAmB,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;AACvG,aAAK,6BAA6B,GAAY,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;AACjF,aAAK,yBAAyB,GAAgB,CAAC,IAAI,EAAE,oBAAoB,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;AAClG,aAAK,0BAA0B,GAAe,CAAC,IAAI,EAAE,oBAAoB,EAAE,MAAM,CAAC,EA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AAoC,kBAC3D,qBAAqB,CACtB,CAAA;AAED,YAAY,EACV,gBAAgB,EAChB,qBAAqB,EAErB,wBAAwB,EACxB,yBAAyB,EACzB,8BAA8B,EAC9B,6BAA6B,EAC7B,yBAAyB,EACzB,0BAA0B,EAC1B,2BAA2B,EAC3B,wBAAwB,EACxB,0BAA0B,EAC1B,yBAAyB,EACzB,8BAA8B,EAC9B,4BAA4B,EAC5B,6BAA6B,EAC7B,6BAA6B,EAC7B,6BAA6B,EAC7B,gCAAgC,EAChC,wBAAwB,EACxB,6BAA6B,EAC7B,0BAA0B,EAC1B,iCAAiC,EACjC,oCAAoC,EACpC,+BAA+B,EAC/B,gCAAgC,EAChC,gCAAgC,EAChC,sCAAsC,EACtC,sCAAsC,EACtC,uBAAuB,EACvB,4BAA4B,EAC5B,+BAA+B,EAC/B,2BAA2B,GAC5B,CAAA;AACD,OAAO,EACL,mBAAmB,GACpB,CAAA"}
1
+ {"version":3,"file":"wechaty-events.d.ts","sourceRoot":"","sources":["../../../../src/schemas/wechaty-events.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,iBAAiB,MAAQ,eAAe,CAAA;AAEpD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAO,QAAQ,CAAA;AACrC,OAAO,KAAK,MAAM,MAAW,sBAAsB,CAAA;AAEnD,OAAO,KAAK,EACV,mBAAmB,EACnB,oBAAoB,EACpB,aAAa,EACb,uBAAuB,EACvB,gBAAgB,EAChB,gBAAgB,EAChB,aAAa,EACb,YAAY,EACZ,iBAAiB,EAClB,MAA4B,wBAAwB,CAAA;AACrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAA;AAEtD,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkBd,CAAA;AAEV,aAAK,gBAAgB,GAAI,MAAM,OAAO,kBAAkB,CAAA;AAExD;;GAEG;AACH,aAAK,wBAAwB,GAAiB,CAAC,IAAI,CAAC,EAAE,MAAM,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,sCAAsC,EACtC,uBAAuB,EACvB,4BAA4B,EAC5B,+BAA+B,EAC/B,2BAA2B,EAC3B,8BAA8B,GAC/B,CAAA;AACD,OAAO,EACL,mBAAmB,GACpB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"wechaty-events.js","sourceRoot":"","sources":["../../../../src/schemas/wechaty-events.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mCAA6C;AAI7C,6DAAmD;AAenD,MAAM,kBAAkB,GAAG;IACzB,GAAG,MAAM,CAAC,KAAK,CAAC,eAAe;IAC/B,IAAI,EAAmB,kDAAkD;IACzE,KAAK,EAAkB,iDAAiD;IACxE,SAAS,EAAc,kGAAkG;IACzH,MAAM,EAAiB,+CAA+C;IACtE,KAAK,EAAkB,+CAA+C;IACtE,KAAK,EAAkB,qDAAqD;IAC5E,IAAI,EAAmB,qDAAqD;IAC5E,MAAM,EAAiB,kDAAkD;IACzE,iBAAiB,EAAM,4CAA4C;IACnE,oBAAoB,EAAG,qDAAqD;IAC5E,cAAc,EAAS,qDAAqD;IAC5E,eAAe,EAAQ,sDAAsD;IAC7E,eAAe,EAAQ,sDAAsD;IAC7E,qBAAqB,EAAE,4DAA4D;IACnF,qBAAqB,EAAE,4DAA4D;IACnF,YAAY,EAAW,mDAAmD;CAClE,CAAA;AAkOV,MAAM,mBAAmB,GAAG,qBAE3B,CAAA;AAsCC,kDAAmB"}
1
+ {"version":3,"file":"wechaty-events.js","sourceRoot":"","sources":["../../../../src/schemas/wechaty-events.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mCAA6C;AAI7C,6DAAmD;AAenD,MAAM,kBAAkB,GAAG;IACzB,GAAG,MAAM,CAAC,KAAK,CAAC,eAAe;IAC/B,IAAI,EAAmB,kDAAkD;IACzE,KAAK,EAAkB,iDAAiD;IACxE,SAAS,EAAc,kGAAkG;IACzH,MAAM,EAAiB,+CAA+C;IACtE,KAAK,EAAkB,+CAA+C;IACtE,KAAK,EAAkB,qDAAqD;IAC5E,IAAI,EAAmB,qDAAqD;IAC5E,MAAM,EAAiB,kDAAkD;IACzE,iBAAiB,EAAM,4CAA4C;IACnE,oBAAoB,EAAG,qDAAqD;IAC5E,cAAc,EAAS,qDAAqD;IAC5E,eAAe,EAAQ,sDAAsD;IAC7E,eAAe,EAAQ,sDAAsD;IAC7E,qBAAqB,EAAE,4DAA4D;IACnF,qBAAqB,EAAE,4DAA4D;IACnF,YAAY,EAAW,mDAAmD;CAClE,CAAA;AAoOV,MAAM,mBAAmB,GAAG,qBAE3B,CAAA;AAuCC,kDAAmB"}
@@ -26,7 +26,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
26
26
  init: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
27
27
  start: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
28
28
  stop: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
29
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap", listener: (...args: any[]) => any): any;
29
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap" | "verify-code", listener: (...args: any[]) => any): any;
30
30
  addListener<E extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E]): any;
31
31
  once<E_1 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_1, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_1]): any;
32
32
  prependListener<E_2 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_2, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_2]): any;
@@ -107,7 +107,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
107
107
  init: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
108
108
  start: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
109
109
  stop: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
110
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap", listener: (...args: any[]) => any): any;
110
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap" | "verify-code", listener: (...args: any[]) => any): any;
111
111
  addListener<E_11 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_11, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_11]): any;
112
112
  once<E_12 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_12, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_12]): any;
113
113
  prependListener<E_13 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_13, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_13]): any;
@@ -185,7 +185,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
185
185
  __options: WechatyOptions;
186
186
  start: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
187
187
  stop: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
188
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap", listener: (...args: any[]) => any): any;
188
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap" | "verify-code", listener: (...args: any[]) => any): any;
189
189
  addListener<E_18 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_18, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_18]): any;
190
190
  once<E_19 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_19, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_19]): any;
191
191
  prependListener<E_20 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_20, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_20]): any;
@@ -295,7 +295,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
295
295
  __memory?: import("memory-card").MemoryCard | undefined;
296
296
  readonly memory: import("memory-card").MemoryCard;
297
297
  __options: WechatyOptions;
298
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap", listener: (...args: any[]) => any): any;
298
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap" | "verify-code", listener: (...args: any[]) => any): any;
299
299
  addListener<E_25 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_25, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_25]): any;
300
300
  once<E_26 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_26, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_26]): any;
301
301
  prependListener<E_27 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_27, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_27]): any;
@@ -330,7 +330,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
330
330
  readonly memory: import("memory-card").MemoryCard;
331
331
  __options: WechatyOptions;
332
332
  init(): Promise<void>;
333
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap", listener: (...args: any[]) => any): any;
333
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap" | "verify-code", listener: (...args: any[]) => any): any;
334
334
  addListener<E_32 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_32, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_32]): any;
335
335
  once<E_33 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_33, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_33]): any;
336
336
  prependListener<E_34 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_34, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_34]): any;
@@ -391,7 +391,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
391
391
  __options: WechatyOptions;
392
392
  start(): Promise<void>;
393
393
  stop(): Promise<void>;
394
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap", listener: (...args: any[]) => any): any;
394
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap" | "verify-code", listener: (...args: any[]) => any): any;
395
395
  addListener<E_39 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_39, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_39]): any;
396
396
  once<E_40 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_40, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_40]): any;
397
397
  prependListener<E_41 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_41, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_41]): any;
@@ -421,7 +421,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
421
421
  init(): Promise<void>;
422
422
  start(): Promise<void>;
423
423
  stop(): Promise<void>;
424
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap", listener: (...args: any[]) => any): any;
424
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap" | "verify-code", listener: (...args: any[]) => any): any;
425
425
  addListener<E_46 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_46, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_46]): any;
426
426
  once<E_47 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_47, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_47]): any;
427
427
  prependListener<E_48 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_48, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_48]): any;
@@ -573,6 +573,9 @@ declare class WechatyBase extends mixinBase implements SayableSayer {
573
573
  say(sayable: Sayable): Promise<void>;
574
574
  publish(post: PostInterface): Promise<void | PostInterface>;
575
575
  unpublish(post: PostInterface): Promise<void>;
576
+ enterVerifyCode(id: string, code: string): Promise<void>;
577
+ cancelVerifyCode(id: string): Promise<void>;
578
+ refreshQrCode(): Promise<void>;
576
579
  }
577
580
  declare type WechatyBaseProtectedProperty = '__serviceCtlLogger' | '__serviceCtlResettingIndicator' | 'wechaty' | 'onStart' | 'onStop';
578
581
  export type { WechatyBaseProtectedProperty, };
@@ -1 +1 @@
1
- {"version":3,"file":"wechaty-base.d.ts","sourceRoot":"","sources":["../../../../src/wechaty/wechaty-base.ts"],"names":[],"mappings":"AAuBA,OAAO,KAAK,MAAM,MAAM,sBAAsB,CAAA;AAQ9C,OAAO,KAAK,EACV,YAAY,EACZ,OAAO,EACR,MAAkC,mBAAmB,CAAA;AAWtD,OAAO,EACL,eAAe,EAChB,MAAkC,uBAAuB,CAAA;AAC1D,OAAO,KAAK,EACV,gBAAgB,EACjB,MAAkC,mBAAmB,CAAA;AACtD,OAAO,KAAK,EACV,cAAc,EACf,MAAkC,+BAA+B,CAAA;AAClE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AAE5D,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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K,IAAK,OAAO,CAAC,IAAI,CAAC;IAMvB,OAAO,IAAK,OAAO,CAAC,IAAI,CAAC;IAmBzB,MAAM,IAAK,OAAO,CAAC,IAAI,CAAC;IAgBvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAoDG;IAEG,GAAG,CACP,OAAO,EAAE,OAAO,GACf,OAAO,CAAC,IAAI,CAAC;IAKV,OAAO,CACX,IAAI,EAAE,aAAa,GAClB,OAAO,CAAC,IAAI,GAAG,aAAa,CAAC;IAY1B,SAAS,CACb,IAAI,EAAE,aAAa,GAClB,OAAO,CAAC,IAAI,CAAC;IAYV,eAAe,CACnB,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,MAAM,GACX,OAAO,CAAC,IAAI,CAAC;IAMV,gBAAgB,CACpB,EAAE,EAAE,MAAM,GACT,OAAO,CAAC,IAAI,CAAC;IAMV,aAAa,IAChB,OAAO,CAAC,IAAI,CAAC;CAUjB;AAED,aAAK,4BAA4B,GAE7B,oBAAoB,GACpB,gCAAgC,GAChC,SAAS,GACT,SAAS,GACT,QAAQ,CAAA;AAEZ,YAAY,EACV,4BAA4B,GAC7B,CAAA;AACD,OAAO,EACL,WAAW,GACZ,CAAA"}
@@ -250,6 +250,21 @@ class WechatyBase extends mixinBase {
250
250
  }
251
251
  await this.puppet.postUnpublish(post.id);
252
252
  }
253
+ async enterVerifyCode(id, code) {
254
+ config_js_1.log.verbose('Wechaty', 'enterVerifyCode(%s, %s)', id, code);
255
+ return this.puppet.enterVerifyCode(id, code);
256
+ }
257
+ async cancelVerifyCode(id) {
258
+ config_js_1.log.verbose('Wechaty', 'cancelVerifyCode(%s)', id);
259
+ return this.puppet.cancelVerifyCode(id);
260
+ }
261
+ async refreshQrCode() {
262
+ config_js_1.log.verbose('Wechaty', 'refreshQrCode(%s)');
263
+ if (this.isLoggedIn) {
264
+ throw new Error('cannot refresh qr because bot is logged in');
265
+ }
266
+ return this.puppet.refreshQRCode();
267
+ }
253
268
  }
254
269
  exports.WechatyBase = WechatyBase;
255
270
  //# sourceMappingURL=wechaty-base.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"wechaty-base.js","sourceRoot":"","sources":["../../../../src/wechaty/wechaty-base.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,+CAE2C;AAC3C,iCAAsC;AACtC,6DAA8C;AAE9C,4CAI2C;AAM3C,qDAQ6D;AAE7D,+DAE0D;AAS1D,MAAM,SAAS,GAAG,gBAAE,CAAC,IAAI,CACvB,qCAAe,EACf,oBAAW,EACX,iCAAwB,EACxB,gBAAO,EACP,oBAAW,EACX,mBAAU,EACV,kBAAS,EACT,oBAAW;AACX;;;;;;GAMG;AACH,IAAA,8BAAe,EAAC,SAAS,EAAE,EAAE,GAAG,EAAH,eAAG,EAAE,CAAC,CACpC,CAAA;AAED;;;;GAIG;AACH,yDAAyD;AACzD,iBAAiB;AACjB,mBAAmB;AACnB,kCAAkC;AAClC,uBAAuB;AACvB,6BAA6B;AAC7B,aAAa;AACb,WAAW;AACX,SAAS;AACT,OAAO;AACP,IAAI;AAEJ;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,WAAY,SAAQ,SAAS;IAmDtB;IAjDX,MAAM,CAAqB,OAAO,GAAG,mBAAO,CAAA;IACnC,OAAO,CAAmB;IAE1B,iBAAiB,GAAmB,EAAE,CAAA;IAE/C;;;;;;;;;;;;;;;;;;;OAmBG;IAEH;;;;;;;;;;;;;;;OAeG;IAEH;;;;OAIG;IACH,YACW,YAA4B,EAAE;QAEvC,KAAK,CAAC,SAAS,CAAC,CAAA;QAFP,cAAS,GAAT,SAAS,CAAqB;QAGvC,eAAG,CAAC,OAAO,CAAC,SAAS,EAAE,eAAe,CAAC,CAAA;QAEvC,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,CAAA;QACrC,IAAI,CAAC,OAAO,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AO,GAAG,IAAI,6BAAW,CAAC,EAAE,MAAM,EAAE,CAAC,CAAA;IAC3C,CAAC,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE,sDAAsD,CAAC,CAAA;IAEtF,MAAM,OAAO,CAAC,IAAI,EAAE,CAAA;IACpB,CAAC,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE,yDAAyD,CAAC,CAAA;IAC/F,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE,4DAA4D,CAAC,CAAA;AACpF,CAAC,CAAC,CAAA"}
@@ -27,7 +27,7 @@ declare const gErrorMixin: <MixinBase extends typeof WechatySkeleton>(mixinBase:
27
27
  init(): Promise<void>;
28
28
  start(): Promise<void>;
29
29
  stop(): Promise<void>;
30
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap", listener: (...args: any[]) => any): any;
30
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap" | "verify-code", listener: (...args: any[]) => any): any;
31
31
  addListener<E extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E]): any;
32
32
  once<E_1 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_1, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_1]): any;
33
33
  prependListener<E_2 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_2, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_2]): any;
@@ -18,7 +18,7 @@ declare const ioMixin: <MixinBase extends typeof WechatySkeleton & ((abstract ne
18
18
  init(): Promise<void>;
19
19
  start(): Promise<void>;
20
20
  stop(): Promise<void>;
21
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap", listener: (...args: any[]) => any): any;
21
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap" | "verify-code", listener: (...args: any[]) => any): any;
22
22
  addListener<E extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E]): any;
23
23
  once<E_1 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_1, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_1]): any;
24
24
  prependListener<E_2 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_2, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_2]): any;
@@ -47,7 +47,7 @@ declare const ioMixin: <MixinBase extends typeof WechatySkeleton & ((abstract ne
47
47
  readonly memory: import("memory-card").MemoryCard;
48
48
  __options: WechatyOptions;
49
49
  init(): Promise<void>;
50
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap", listener: (...args: any[]) => any): any;
50
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap" | "verify-code", listener: (...args: any[]) => any): any;
51
51
  addListener<E_10 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_10, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_10]): any;
52
52
  once<E_11 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_11, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_11]): any;
53
53
  prependListener<E_12 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_12, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_12]): any;
@@ -48,7 +48,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
48
48
  __memory?: import("memory-card").MemoryCard | undefined;
49
49
  readonly memory: import("memory-card").MemoryCard;
50
50
  __options: import("../schemas/wechaty-options.js").WechatyOptions;
51
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap", listener: (...args: any[]) => any): any;
51
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap" | "verify-code", listener: (...args: any[]) => any): any;
52
52
  addListener<E extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E]): any;
53
53
  once<E_1 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_1, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_1]): any;
54
54
  prependListener<E_2 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_2, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_2]): any;
@@ -112,7 +112,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
112
112
  __options: import("../schemas/wechaty-options.js").WechatyOptions;
113
113
  start(): Promise<void>;
114
114
  stop(): Promise<void>;
115
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap", listener: (...args: any[]) => any): any;
115
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap" | "verify-code", listener: (...args: any[]) => any): any;
116
116
  addListener<E_11 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_11, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_11]): any;
117
117
  once<E_12 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_12, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_12]): any;
118
118
  prependListener<E_13 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_13, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_13]): any;
@@ -142,7 +142,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
142
142
  init(): Promise<void>;
143
143
  start(): Promise<void>;
144
144
  stop(): Promise<void>;
145
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap", listener: (...args: any[]) => any): any;
145
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap" | "verify-code", listener: (...args: any[]) => any): any;
146
146
  addListener<E_18 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_18, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_18]): any;
147
147
  once<E_19 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_19, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_19]): any;
148
148
  prependListener<E_20 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_20, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_20]): any;
@@ -171,7 +171,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
171
171
  readonly memory: import("memory-card").MemoryCard;
172
172
  __options: import("../schemas/wechaty-options.js").WechatyOptions;
173
173
  init(): Promise<void>;
174
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap", listener: (...args: any[]) => any): any;
174
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap" | "verify-code", listener: (...args: any[]) => any): any;
175
175
  addListener<E_25 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_25, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_25]): any;
176
176
  once<E_26 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_26, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_26]): any;
177
177
  prependListener<E_27 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_27, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_27]): any;
@@ -240,7 +240,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
240
240
  __options: import("../schemas/wechaty-options.js").WechatyOptions;
241
241
  start: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
242
242
  stop: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
243
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap", listener: (...args: any[]) => any): any;
243
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap" | "verify-code", listener: (...args: any[]) => any): any;
244
244
  addListener<E_32 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_32, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_32]): any;
245
245
  once<E_33 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_33, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_33]): any;
246
246
  prependListener<E_34 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_34, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_34]): any;
@@ -49,7 +49,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
49
49
  __memory?: import("memory-card").MemoryCard | undefined;
50
50
  readonly memory: import("memory-card").MemoryCard;
51
51
  __options: import("../schemas/wechaty-options.js").WechatyOptions;
52
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap", listener: (...args: any[]) => any): any;
52
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap" | "verify-code", listener: (...args: any[]) => any): any;
53
53
  addListener<E extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E]): any;
54
54
  once<E_1 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_1, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_1]): any;
55
55
  prependListener<E_2 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_2, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_2]): any;
@@ -117,7 +117,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
117
117
  __options: import("../schemas/wechaty-options.js").WechatyOptions;
118
118
  start(): Promise<void>;
119
119
  stop(): Promise<void>;
120
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap", listener: (...args: any[]) => any): any;
120
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap" | "verify-code", listener: (...args: any[]) => any): any;
121
121
  addListener<E_11 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_11, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_11]): any;
122
122
  once<E_12 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_12, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_12]): any;
123
123
  prependListener<E_13 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_13, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_13]): any;
@@ -149,7 +149,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
149
149
  init(): Promise<void>;
150
150
  start(): Promise<void>;
151
151
  stop(): Promise<void>;
152
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap", listener: (...args: any[]) => any): any;
152
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap" | "verify-code", listener: (...args: any[]) => any): any;
153
153
  addListener<E_18 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_18, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_18]): any;
154
154
  once<E_19 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_19, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_19]): any;
155
155
  prependListener<E_20 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_20, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_20]): any;
@@ -180,7 +180,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
180
180
  readonly memory: import("memory-card").MemoryCard;
181
181
  __options: import("../schemas/wechaty-options.js").WechatyOptions;
182
182
  init(): Promise<void>;
183
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap", listener: (...args: any[]) => any): any;
183
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap" | "verify-code", listener: (...args: any[]) => any): any;
184
184
  addListener<E_25 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_25, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_25]): any;
185
185
  once<E_26 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_26, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_26]): any;
186
186
  prependListener<E_27 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_27, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_27]): any;
@@ -238,7 +238,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
238
238
  init: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
239
239
  start: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
240
240
  stop: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
241
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap", listener: (...args: any[]) => any): any;
241
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap" | "verify-code", listener: (...args: any[]) => any): any;
242
242
  addListener<E_32 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_32, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_32]): any;
243
243
  once<E_33 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_33, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_33]): any;
244
244
  prependListener<E_34 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_34, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_34]): any;
@@ -15,7 +15,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
15
15
  init(): Promise<void>;
16
16
  start(): Promise<void>;
17
17
  stop(): Promise<void>;
18
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap", listener: (...args: any[]) => any): any;
18
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap" | "verify-code", listener: (...args: any[]) => any): any;
19
19
  addListener<E extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E]): any;
20
20
  once<E_1 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_1, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_1]): any;
21
21
  prependListener<E_2 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_2, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_2]): any;
@@ -65,7 +65,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
65
65
  init: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
66
66
  start: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
67
67
  stop: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
68
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap", listener: (...args: any[]) => any): any;
68
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap" | "verify-code", listener: (...args: any[]) => any): any;
69
69
  addListener<E_10 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_10, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_10]): any;
70
70
  once<E_11 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_11, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_11]): any;
71
71
  prependListener<E_12 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_12, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_12]): any;
@@ -175,7 +175,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
175
175
  __memory?: import("memory-card").MemoryCard | undefined;
176
176
  readonly memory: import("memory-card").MemoryCard;
177
177
  __options: import("../schemas/wechaty-options.js").WechatyOptions;
178
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap", listener: (...args: any[]) => any): any;
178
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap" | "verify-code", listener: (...args: any[]) => any): any;
179
179
  addListener<E_18 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_18, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_18]): any;
180
180
  once<E_19 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_19, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_19]): any;
181
181
  prependListener<E_20 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_20, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_20]): any;
@@ -239,7 +239,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
239
239
  __options: import("../schemas/wechaty-options.js").WechatyOptions;
240
240
  start(): Promise<void>;
241
241
  stop(): Promise<void>;
242
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap", listener: (...args: any[]) => any): any;
242
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap" | "verify-code", listener: (...args: any[]) => any): any;
243
243
  addListener<E_25 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_25, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_25]): any;
244
244
  once<E_26 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_26, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_26]): any;
245
245
  prependListener<E_27 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_27, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_27]): any;
@@ -269,7 +269,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
269
269
  readonly memory: import("memory-card").MemoryCard;
270
270
  __options: import("../schemas/wechaty-options.js").WechatyOptions;
271
271
  init(): Promise<void>;
272
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap", listener: (...args: any[]) => any): any;
272
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap" | "verify-code", listener: (...args: any[]) => any): any;
273
273
  addListener<E_32 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_32, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_32]): any;
274
274
  once<E_33 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_33, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_33]): any;
275
275
  prependListener<E_34 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_34, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_34]): any;
@@ -318,7 +318,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
318
318
  init: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
319
319
  start: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
320
320
  stop: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
321
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap", listener: (...args: any[]) => any): any;
321
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap" | "verify-code", listener: (...args: any[]) => any): any;
322
322
  addListener<E_39 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_39, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_39]): any;
323
323
  once<E_40 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_40, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_40]): any;
324
324
  prependListener<E_41 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_41, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_41]): any;
@@ -49,7 +49,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
49
49
  __options: import("../schemas/wechaty-options.js").WechatyOptions;
50
50
  start(): Promise<void>;
51
51
  stop(): Promise<void>;
52
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap", listener: (...args: any[]) => any): any;
52
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap" | "verify-code", listener: (...args: any[]) => any): any;
53
53
  addListener<E extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E]): any;
54
54
  once<E_1 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_1, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_1]): any;
55
55
  prependListener<E_2 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_2, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_2]): any;
@@ -79,7 +79,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
79
79
  init(): Promise<void>;
80
80
  start(): Promise<void>;
81
81
  stop(): Promise<void>;
82
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap", listener: (...args: any[]) => any): any;
82
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap" | "verify-code", listener: (...args: any[]) => any): any;
83
83
  addListener<E_11 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_11, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_11]): any;
84
84
  once<E_12 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_12, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_12]): any;
85
85
  prependListener<E_13 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_13, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_13]): any;
@@ -108,7 +108,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
108
108
  readonly memory: import("memory-card").MemoryCard;
109
109
  __options: import("../schemas/wechaty-options.js").WechatyOptions;
110
110
  init(): Promise<void>;
111
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap", listener: (...args: any[]) => any): any;
111
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap" | "verify-code", listener: (...args: any[]) => any): any;
112
112
  addListener<E_18 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_18, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_18]): any;
113
113
  once<E_19 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_19, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_19]): any;
114
114
  prependListener<E_20 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_20, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_20]): any;
@@ -176,7 +176,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
176
176
  __memory?: import("memory-card").MemoryCard | undefined;
177
177
  readonly memory: import("memory-card").MemoryCard;
178
178
  __options: import("../schemas/wechaty-options.js").WechatyOptions;
179
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap", listener: (...args: any[]) => any): any;
179
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update" | "contact-tag-add" | "contact-tag-remove" | "contact-name" | "contact-alias" | "contact-phone" | "contact-description" | "contact-corporation" | "room-owner" | "tag-group" | "post-comment" | "post-tap" | "verify-code", listener: (...args: any[]) => any): any;
180
180
  addListener<E_25 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_25, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_25]): any;
181
181
  once<E_26 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_26, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_26]): any;
182
182
  prependListener<E_27 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_27, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_27]): any;
@@ -1 +1 @@
1
- {"version":3,"file":"puppet-mixin.d.ts","sourceRoot":"","sources":["../../../../src/wechaty-mixins/puppet-mixin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAW,sBAAsB,CAAA;AAQnD,OAAO,EAEL,gBAAgB,EAChB,oBAAoB,EACrB,MAAO,cAAc,CAAA;AAuBtB;;;;;;;GAOG;AACH,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sDAqBS,GAAG,EAAE;;;2BANH,oBAAoB;sBAE1B,gBAAgB;;aAmBT,QAAQ,IAAI,CAAC;YA+Cd,QAAQ,IAAI,CAAC;aAuBrB,QAAQ,IAAI,CAAC;YAML,QAAQ,IAAI,CAAC;gCA8CR,OAAO,KAAK,CAAC,eAAe,GAAG,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAukBnE,CAAA;AAED,aAAK,WAAW,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAA;AAEjD,aAAK,4BAA4B,GAC7B,UAAU,GACV,cAAc,GACd,qBAAqB,GACrB,kBAAkB,CAAA;AAEtB,YAAY,EACV,WAAW,EACX,4BAA4B,GAC7B,CAAA;AACD,OAAO,EACL,WAAW,GACZ,CAAA"}
1
+ {"version":3,"file":"puppet-mixin.d.ts","sourceRoot":"","sources":["../../../../src/wechaty-mixins/puppet-mixin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAW,sBAAsB,CAAA;AAQnD,OAAO,EAEL,gBAAgB,EAChB,oBAAoB,EACrB,MAAO,cAAc,CAAA;AAuBtB;;;;;;;GAOG;AACH,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sDAqBS,GAAG,EAAE;;;2BANH,oBAAoB;sBAE1B,gBAAgB;;aAmBT,QAAQ,IAAI,CAAC;YA+Cd,QAAQ,IAAI,CAAC;aAuBrB,QAAQ,IAAI,CAAC;YAML,QAAQ,IAAI,CAAC;gCA8CR,OAAO,KAAK,CAAC,eAAe,GAAG,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA6kBnE,CAAA;AAED,aAAK,WAAW,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAA;AAEjD,aAAK,4BAA4B,GAC7B,UAAU,GACV,cAAc,GACd,qBAAqB,GACrB,kBAAkB,CAAA;AAEtB,YAAY,EACV,WAAW,EACX,4BAA4B,GAC7B,CAAA;AACD,OAAO,EACL,WAAW,GACZ,CAAA"}
@@ -552,6 +552,11 @@ const puppetMixin = (mixinBase) => {
552
552
  }
553
553
  });
554
554
  break;
555
+ case 'verify-code':
556
+ puppet.on('verify-code', (payload) => {
557
+ this.emit('verify-code', payload.id, payload.message || '', payload.scene || PUPPET.types.VerifyCodeScene.UNKNOWN, payload.status || PUPPET.types.VerifyCodeStatus.UNKNOWN);
558
+ });
559
+ break;
555
560
  case 'reset':
556
561
  // Do not propagation `reset` event from puppet
557
562
  break;