@juzi/wechaty 1.0.36 → 1.0.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/src/package-json.js +4 -4
- package/dist/cjs/src/schemas/wechaty-events.d.ts +7 -1
- package/dist/cjs/src/schemas/wechaty-events.d.ts.map +1 -1
- package/dist/cjs/src/schemas/wechaty-events.js.map +1 -1
- package/dist/cjs/src/user-modules/post.d.ts.map +1 -1
- package/dist/cjs/src/user-modules/post.js +1 -2
- package/dist/cjs/src/user-modules/post.js.map +1 -1
- package/dist/cjs/src/wechaty/wechaty-base.d.ts +7 -7
- package/dist/cjs/src/wechaty-mixins/gerror-mixin.d.ts +1 -1
- package/dist/cjs/src/wechaty-mixins/io-mixin.d.ts +2 -2
- package/dist/cjs/src/wechaty-mixins/login-mixin.d.ts +5 -5
- package/dist/cjs/src/wechaty-mixins/misc-mixin.d.ts +5 -5
- package/dist/cjs/src/wechaty-mixins/plugin-mixin.d.ts +6 -6
- package/dist/cjs/src/wechaty-mixins/puppet-mixin.d.ts +4 -4
- package/dist/cjs/src/wechaty-mixins/puppet-mixin.d.ts.map +1 -1
- package/dist/cjs/src/wechaty-mixins/puppet-mixin.js +41 -0
- package/dist/cjs/src/wechaty-mixins/puppet-mixin.js.map +1 -1
- package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.d.ts +1 -1
- package/dist/esm/src/package-json.js +4 -4
- package/dist/esm/src/schemas/wechaty-events.d.ts +7 -1
- package/dist/esm/src/schemas/wechaty-events.d.ts.map +1 -1
- package/dist/esm/src/schemas/wechaty-events.js.map +1 -1
- package/dist/esm/src/user-modules/post.d.ts.map +1 -1
- package/dist/esm/src/user-modules/post.js +1 -2
- package/dist/esm/src/user-modules/post.js.map +1 -1
- package/dist/esm/src/wechaty/wechaty-base.d.ts +7 -7
- package/dist/esm/src/wechaty-mixins/gerror-mixin.d.ts +1 -1
- package/dist/esm/src/wechaty-mixins/io-mixin.d.ts +2 -2
- package/dist/esm/src/wechaty-mixins/login-mixin.d.ts +5 -5
- package/dist/esm/src/wechaty-mixins/misc-mixin.d.ts +5 -5
- package/dist/esm/src/wechaty-mixins/plugin-mixin.d.ts +6 -6
- package/dist/esm/src/wechaty-mixins/puppet-mixin.d.ts +4 -4
- package/dist/esm/src/wechaty-mixins/puppet-mixin.d.ts.map +1 -1
- package/dist/esm/src/wechaty-mixins/puppet-mixin.js +41 -0
- package/dist/esm/src/wechaty-mixins/puppet-mixin.js.map +1 -1
- package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.d.ts +1 -1
- package/package.json +3 -3
- package/src/package-json.ts +4 -4
- package/src/schemas/wechaty-events.ts +6 -0
- package/src/user-modules/post.ts +1 -2
- package/src/wechaty-mixins/puppet-mixin.ts +41 -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 = '
|
|
4
|
+
exports.GIT_COMMIT_HASH = '6808c6bde5f6fbaf6790b154af46486b20d20dc1';
|
|
5
5
|
exports.packageJson = {
|
|
6
6
|
"name": "@juzi/wechaty",
|
|
7
|
-
"version": "1.0.
|
|
7
|
+
"version": "1.0.38",
|
|
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.
|
|
116
|
+
"@juzi/wechaty-puppet-service": "^1.0.30",
|
|
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.
|
|
139
|
+
"@juzi/wechaty-puppet": "^1.0.37",
|
|
140
140
|
"@juzi/wechaty-puppet-mock": "^1.0.1",
|
|
141
141
|
"@swc/core": "^1.2.155",
|
|
142
142
|
"@swc/helpers": "^0.3.6",
|
|
@@ -32,6 +32,8 @@ declare const WECHATY_EVENT_DICT: {
|
|
|
32
32
|
readonly scan: string;
|
|
33
33
|
readonly tag: string;
|
|
34
34
|
readonly 'tag-group': string;
|
|
35
|
+
readonly 'post-comment': string;
|
|
36
|
+
readonly 'post-tap': string;
|
|
35
37
|
};
|
|
36
38
|
declare type WechatyEventName = keyof typeof WECHATY_EVENT_DICT;
|
|
37
39
|
/**
|
|
@@ -64,6 +66,8 @@ declare type WechatyEventListenerContactDescription = (contact: ContactInterface
|
|
|
64
66
|
declare type WechatyEventListenerContactCorporation = (contact: ContactInterface, newCorporation: string, oldCorporation: string) => void | Promise<void>;
|
|
65
67
|
declare type WechatyEventListenerTag = (type: PUPPET.types.TagEvent, list: TagInterface[], date?: Date) => void | Promise<void>;
|
|
66
68
|
declare type WechatyEventListenerTagGroup = (type: PUPPET.types.TagGroupEvent, list: TagGroupInterface[], date?: Date) => void | Promise<void>;
|
|
69
|
+
declare type WechatyEventListenerPostComment = (comment: PostInterface, post: PostInterface) => void | Promise<void>;
|
|
70
|
+
declare type WechatyEventListenerPostTap = (post: PostInterface, contact: ContactInterface, type: PUPPET.types.Tap, tap: boolean, date?: Date) => void | Promise<void>;
|
|
67
71
|
/**
|
|
68
72
|
* @desc Wechaty Class Event Type
|
|
69
73
|
* @typedef WechatyEventName
|
|
@@ -245,8 +249,10 @@ interface WechatyEventListeners {
|
|
|
245
249
|
'room-owner': WechatyEventListenerRoomOwner;
|
|
246
250
|
'tag': WechatyEventListenerTag;
|
|
247
251
|
'tag-group': WechatyEventListenerTagGroup;
|
|
252
|
+
'post-comment': WechatyEventListenerPostComment;
|
|
253
|
+
'post-tap': WechatyEventListenerPostTap;
|
|
248
254
|
}
|
|
249
255
|
declare const WechatyEventEmitter: new () => TypedEventEmitter<WechatyEventListeners>;
|
|
250
|
-
export type { WechatyEventName, WechatyEventListeners, WechatyEventListenerDong, WechatyEventListenerError, WechatyEventListenerFriendship, WechatyEventListenerHeartbeat, WechatyEventListenerLogin, WechatyEventListenerLogout, WechatyEventListenerMessage, WechatyEventListenerPost, WechatyEventListenerPuppet, WechatyEventListenerReady, WechatyEventListenerRoomInvite, WechatyEventListenerRoomJoin, WechatyEventListenerRoomLeave, WechatyEventListenerRoomTopic, WechatyEventListenerRoomOwner, WechatyEventListenerScan, WechatyEventListenerStartStop, WechatyEventListenerUpdate, WechatyEventListenerContactTagAdd, WechatyEventListenerContactTagRemove, WechatyEventListenerContactName, WechatyEventListenerContactAlias, WechatyEventListenerContactPhone, WechatyEventListenerContactDescription, WechatyEventListenerContactCorporation, WechatyEventListenerTag, WechatyEventListenerTagGroup, };
|
|
256
|
+
export type { WechatyEventName, WechatyEventListeners, WechatyEventListenerDong, WechatyEventListenerError, WechatyEventListenerFriendship, WechatyEventListenerHeartbeat, WechatyEventListenerLogin, WechatyEventListenerLogout, WechatyEventListenerMessage, WechatyEventListenerPost, WechatyEventListenerPuppet, WechatyEventListenerReady, WechatyEventListenerRoomInvite, WechatyEventListenerRoomJoin, WechatyEventListenerRoomLeave, WechatyEventListenerRoomTopic, WechatyEventListenerRoomOwner, WechatyEventListenerScan, WechatyEventListenerStartStop, WechatyEventListenerUpdate, WechatyEventListenerContactTagAdd, WechatyEventListenerContactTagRemove, WechatyEventListenerContactName, WechatyEventListenerContactAlias, WechatyEventListenerContactPhone, WechatyEventListenerContactDescription, WechatyEventListenerContactCorporation, WechatyEventListenerTag, WechatyEventListenerTagGroup, WechatyEventListenerPostComment, WechatyEventListenerPostTap, };
|
|
251
257
|
export { WechatyEventEmitter, };
|
|
252
258
|
//# 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
|
|
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,I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ACvD,eAAe,EAAQ,gCAAgC,CAAA;IACvD,qBAAqB,EAAE,sCAAsC,CAAA;IAC7D,qBAAqB,EAAE,sCAAsC,CAAA;IAC7D,YAAY,EAAW,6BAA6B,CAAA;IACpD,KAAK,EAAkB,uBAAuB,CAAA;IAC9C,WAAW,EAAY,4BAA4B,CAAA;IACnD,cAAc,EAAS,+BAA+B,CAAA;IACtD,UAAU,EAAa,2BAA2B,CAAA;CACnD;AAED,QAAA,MAAM,mBAAmB,YAAoC,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,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 +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;
|
|
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;AAgOV,MAAM,mBAAmB,GAAG,qBAE3B,CAAA;AAqCC,kDAAmB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post.d.ts","sourceRoot":"","sources":["../../../../src/user-modules/post.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH;;;;;GAKG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D,OAAO,EACL,WAAW,EACX,QAAQ,GACT,CAAA"}
|
|
@@ -53,7 +53,6 @@ const PUPPET = __importStar(require("@juzi/wechaty-puppet"));
|
|
|
53
53
|
const wechaty_puppet_1 = require("@juzi/wechaty-puppet");
|
|
54
54
|
const mod_js_1 = require("../user-mixins/mod.js");
|
|
55
55
|
const mod_js_2 = require("../sayable/mod.js");
|
|
56
|
-
const contact_js_1 = require("./contact.js");
|
|
57
56
|
const rx_queue_1 = require("rx-queue");
|
|
58
57
|
class PostBuilder {
|
|
59
58
|
Impl;
|
|
@@ -186,7 +185,7 @@ class PostMixin extends (0, mod_js_1.wechatifyMixinBase)() {
|
|
|
186
185
|
if (PUPPET.payloads.isPostClient(this.payload)) {
|
|
187
186
|
return this.wechaty.currentUser;
|
|
188
187
|
}
|
|
189
|
-
const author = await
|
|
188
|
+
const author = await this.wechaty.Contact.find({ id: this.payload.contactId });
|
|
190
189
|
if (!author) {
|
|
191
190
|
throw new Error('no author for id: ' + this.payload.contactId);
|
|
192
191
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post.js","sourceRoot":"","sources":["../../../../src/user-modules/post.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH;;;;;GAKG;AACH,6DAAmD;AACnD,yDAAmD;AAMnD,kDAGoD;AAGpD,8CAGgD;AAEhD,6CAA0C;AAE1C,uCAA8C;AAQ9C,MAAM,WAAW;IAcH;IAZZ,OAAO,CAA4B;IAEnC;;OAEG;IACH,WAAW,GAAc,EAAE,CAAA;IAE3B;;OAEG;IACH,MAAM,CAAC,GAAG,CAAE,IAAsB,IAAI,OAAO,IAAI,IAAI,CAAC,IAAI,CAAC,CAAA,CAAC,CAAC;IAC7D,YACY,IAAsB;QAAtB,SAAI,GAAJ,IAAI,CAAkB;QAEhC,IAAI,CAAC,OAAO,GAAG;YACb,WAAW,EAAE,EAAE;YACf,IAAI,EAAE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AE,EAAE,EAAE,SAAS,EAAE,CAAC,CAAA;gBAClE,IAAI,CAAC,OAAO,EAAE;oBACZ,oBAAG,CAAC,IAAI,CAAC,MAAM,EAAE,wCAAwC,EAAE,SAAS,CAAC,CAAA;oBACrE,SAAQ;iBACT;gBAED,MAAM,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAA;gBACnC,MAAM,IAAI,GAAG,SAAS,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI,EAAE,CAAA;gBAEzD,OAAO,CAAC,IAAI,CAAC;oBACX,OAAO;oBACP,IAAI;oBACJ,IAAI,EAAE,MAAM,CAAC,IAAI,CAAqB;iBACvC,CAAC,CAAA;aACH;SACF;QAED,OAAO,CAAC,OAAO,EAAE,aAAa,CAAC,CAAA;IACjC,CAAC;CAEF;AAED,MAAM,QAAS,SAAQ,IAAA,wBAAe,EAAC,SAAS,CAAC,EAAiB;CAAG;AAcnE,4BAAQ"}
|
|
@@ -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" | "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", listener: (...args: any[]) => any): any;
|
|
29
|
+
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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
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;
|
|
@@ -106,7 +106,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
106
106
|
init: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
|
|
107
107
|
start: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
|
|
108
108
|
stop: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
|
|
109
|
-
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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", listener: (...args: any[]) => any): any;
|
|
109
|
+
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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
110
|
addListener<E_11 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_11, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_11]): any;
|
|
111
111
|
once<E_12 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_12, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_12]): any;
|
|
112
112
|
prependListener<E_13 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_13, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_13]): any;
|
|
@@ -183,7 +183,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
183
183
|
__options: WechatyOptions;
|
|
184
184
|
start: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
|
|
185
185
|
stop: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
|
|
186
|
-
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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", listener: (...args: any[]) => any): any;
|
|
186
|
+
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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;
|
|
187
187
|
addListener<E_18 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_18, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_18]): any;
|
|
188
188
|
once<E_19 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_19, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_19]): any;
|
|
189
189
|
prependListener<E_20 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_20, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_20]): any;
|
|
@@ -291,7 +291,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
291
291
|
__memory?: import("memory-card").MemoryCard | undefined;
|
|
292
292
|
readonly memory: import("memory-card").MemoryCard;
|
|
293
293
|
__options: WechatyOptions;
|
|
294
|
-
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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", listener: (...args: any[]) => any): any;
|
|
294
|
+
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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;
|
|
295
295
|
addListener<E_25 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_25, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_25]): any;
|
|
296
296
|
once<E_26 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_26, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_26]): any;
|
|
297
297
|
prependListener<E_27 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_27, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_27]): any;
|
|
@@ -326,7 +326,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
326
326
|
readonly memory: import("memory-card").MemoryCard;
|
|
327
327
|
__options: WechatyOptions;
|
|
328
328
|
init(): Promise<void>;
|
|
329
|
-
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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", listener: (...args: any[]) => any): any;
|
|
329
|
+
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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;
|
|
330
330
|
addListener<E_32 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_32, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_32]): any;
|
|
331
331
|
once<E_33 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_33, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_33]): any;
|
|
332
332
|
prependListener<E_34 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_34, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_34]): any;
|
|
@@ -387,7 +387,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
387
387
|
__options: WechatyOptions;
|
|
388
388
|
start(): Promise<void>;
|
|
389
389
|
stop(): Promise<void>;
|
|
390
|
-
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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", listener: (...args: any[]) => any): any;
|
|
390
|
+
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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;
|
|
391
391
|
addListener<E_39 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_39, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_39]): any;
|
|
392
392
|
once<E_40 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_40, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_40]): any;
|
|
393
393
|
prependListener<E_41 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_41, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_41]): any;
|
|
@@ -417,7 +417,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
417
417
|
init(): Promise<void>;
|
|
418
418
|
start(): Promise<void>;
|
|
419
419
|
stop(): Promise<void>;
|
|
420
|
-
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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", listener: (...args: any[]) => any): any;
|
|
420
|
+
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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;
|
|
421
421
|
addListener<E_46 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_46, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_46]): any;
|
|
422
422
|
once<E_47 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_47, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_47]): any;
|
|
423
423
|
prependListener<E_48 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_48, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_48]): any;
|
|
@@ -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" | "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", listener: (...args: any[]) => any): any;
|
|
30
|
+
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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;
|
|
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" | "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", listener: (...args: any[]) => any): any;
|
|
21
|
+
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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;
|
|
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" | "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", listener: (...args: any[]) => any): any;
|
|
50
|
+
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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
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;
|
|
@@ -47,7 +47,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
47
47
|
__memory?: import("memory-card").MemoryCard | undefined;
|
|
48
48
|
readonly memory: import("memory-card").MemoryCard;
|
|
49
49
|
__options: import("../schemas/wechaty-options.js").WechatyOptions;
|
|
50
|
-
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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", listener: (...args: any[]) => any): any;
|
|
50
|
+
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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
51
|
addListener<E extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E]): any;
|
|
52
52
|
once<E_1 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_1, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_1]): any;
|
|
53
53
|
prependListener<E_2 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_2, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_2]): any;
|
|
@@ -111,7 +111,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
111
111
|
__options: import("../schemas/wechaty-options.js").WechatyOptions;
|
|
112
112
|
start(): Promise<void>;
|
|
113
113
|
stop(): Promise<void>;
|
|
114
|
-
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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", listener: (...args: any[]) => any): any;
|
|
114
|
+
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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
115
|
addListener<E_11 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_11, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_11]): any;
|
|
116
116
|
once<E_12 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_12, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_12]): any;
|
|
117
117
|
prependListener<E_13 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_13, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_13]): any;
|
|
@@ -141,7 +141,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
141
141
|
init(): Promise<void>;
|
|
142
142
|
start(): Promise<void>;
|
|
143
143
|
stop(): Promise<void>;
|
|
144
|
-
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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", listener: (...args: any[]) => any): any;
|
|
144
|
+
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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
145
|
addListener<E_18 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_18, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_18]): any;
|
|
146
146
|
once<E_19 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_19, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_19]): any;
|
|
147
147
|
prependListener<E_20 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_20, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_20]): any;
|
|
@@ -170,7 +170,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
170
170
|
readonly memory: import("memory-card").MemoryCard;
|
|
171
171
|
__options: import("../schemas/wechaty-options.js").WechatyOptions;
|
|
172
172
|
init(): Promise<void>;
|
|
173
|
-
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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", listener: (...args: any[]) => any): any;
|
|
173
|
+
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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
174
|
addListener<E_25 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_25, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_25]): any;
|
|
175
175
|
once<E_26 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_26, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_26]): any;
|
|
176
176
|
prependListener<E_27 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_27, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_27]): any;
|
|
@@ -239,7 +239,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
239
239
|
__options: import("../schemas/wechaty-options.js").WechatyOptions;
|
|
240
240
|
start: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
|
|
241
241
|
stop: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
|
|
242
|
-
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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", listener: (...args: any[]) => any): any;
|
|
242
|
+
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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
243
|
addListener<E_32 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_32, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_32]): any;
|
|
244
244
|
once<E_33 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_33, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_33]): any;
|
|
245
245
|
prependListener<E_34 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_34, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_34]): any;
|
|
@@ -48,7 +48,7 @@ declare const miscMixin: <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" | "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", listener: (...args: any[]) => any): any;
|
|
51
|
+
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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
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;
|
|
@@ -116,7 +116,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
116
116
|
__options: import("../schemas/wechaty-options.js").WechatyOptions;
|
|
117
117
|
start(): Promise<void>;
|
|
118
118
|
stop(): Promise<void>;
|
|
119
|
-
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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", listener: (...args: any[]) => any): any;
|
|
119
|
+
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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
120
|
addListener<E_11 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_11, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_11]): any;
|
|
121
121
|
once<E_12 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_12, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_12]): any;
|
|
122
122
|
prependListener<E_13 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_13, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_13]): any;
|
|
@@ -148,7 +148,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
148
148
|
init(): Promise<void>;
|
|
149
149
|
start(): Promise<void>;
|
|
150
150
|
stop(): Promise<void>;
|
|
151
|
-
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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", listener: (...args: any[]) => any): any;
|
|
151
|
+
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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
152
|
addListener<E_18 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_18, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_18]): any;
|
|
153
153
|
once<E_19 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_19, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_19]): any;
|
|
154
154
|
prependListener<E_20 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_20, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_20]): any;
|
|
@@ -179,7 +179,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
179
179
|
readonly memory: import("memory-card").MemoryCard;
|
|
180
180
|
__options: import("../schemas/wechaty-options.js").WechatyOptions;
|
|
181
181
|
init(): Promise<void>;
|
|
182
|
-
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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", listener: (...args: any[]) => any): any;
|
|
182
|
+
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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
183
|
addListener<E_25 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_25, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_25]): any;
|
|
184
184
|
once<E_26 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_26, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_26]): any;
|
|
185
185
|
prependListener<E_27 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_27, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_27]): any;
|
|
@@ -237,7 +237,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
237
237
|
init: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
|
|
238
238
|
start: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
|
|
239
239
|
stop: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
|
|
240
|
-
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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", listener: (...args: any[]) => any): any;
|
|
240
|
+
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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
241
|
addListener<E_32 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_32, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_32]): any;
|
|
242
242
|
once<E_33 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_33, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_33]): any;
|
|
243
243
|
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" | "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", listener: (...args: any[]) => any): any;
|
|
18
|
+
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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;
|
|
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" | "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", listener: (...args: any[]) => any): any;
|
|
68
|
+
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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;
|
|
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;
|
|
@@ -173,7 +173,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
173
173
|
__memory?: import("memory-card").MemoryCard | undefined;
|
|
174
174
|
readonly memory: import("memory-card").MemoryCard;
|
|
175
175
|
__options: import("../schemas/wechaty-options.js").WechatyOptions;
|
|
176
|
-
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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", listener: (...args: any[]) => any): any;
|
|
176
|
+
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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;
|
|
177
177
|
addListener<E_18 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_18, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_18]): any;
|
|
178
178
|
once<E_19 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_19, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_19]): any;
|
|
179
179
|
prependListener<E_20 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_20, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_20]): any;
|
|
@@ -237,7 +237,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
237
237
|
__options: import("../schemas/wechaty-options.js").WechatyOptions;
|
|
238
238
|
start(): Promise<void>;
|
|
239
239
|
stop(): Promise<void>;
|
|
240
|
-
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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", listener: (...args: any[]) => any): any;
|
|
240
|
+
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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
241
|
addListener<E_25 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_25, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_25]): any;
|
|
242
242
|
once<E_26 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_26, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_26]): any;
|
|
243
243
|
prependListener<E_27 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_27, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_27]): any;
|
|
@@ -267,7 +267,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
267
267
|
readonly memory: import("memory-card").MemoryCard;
|
|
268
268
|
__options: import("../schemas/wechaty-options.js").WechatyOptions;
|
|
269
269
|
init(): Promise<void>;
|
|
270
|
-
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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", listener: (...args: any[]) => any): any;
|
|
270
|
+
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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;
|
|
271
271
|
addListener<E_32 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_32, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_32]): any;
|
|
272
272
|
once<E_33 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_33, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_33]): any;
|
|
273
273
|
prependListener<E_34 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_34, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_34]): any;
|
|
@@ -316,7 +316,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
316
316
|
init: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
|
|
317
317
|
start: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
|
|
318
318
|
stop: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
|
|
319
|
-
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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", listener: (...args: any[]) => any): any;
|
|
319
|
+
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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;
|
|
320
320
|
addListener<E_39 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_39, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_39]): any;
|
|
321
321
|
once<E_40 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_40, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_40]): any;
|
|
322
322
|
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" | "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", listener: (...args: any[]) => any): any;
|
|
52
|
+
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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;
|
|
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;
|
|
@@ -87,7 +87,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
|
|
|
87
87
|
init(): Promise<void>;
|
|
88
88
|
start(): Promise<void>;
|
|
89
89
|
stop(): Promise<void>;
|
|
90
|
-
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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", listener: (...args: any[]) => any): any;
|
|
90
|
+
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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;
|
|
91
91
|
addListener<E_11 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_11, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_11]): any;
|
|
92
92
|
once<E_12 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_12, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_12]): any;
|
|
93
93
|
prependListener<E_13 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_13, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_13]): any;
|
|
@@ -116,7 +116,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
|
|
|
116
116
|
readonly memory: import("memory-card").MemoryCard;
|
|
117
117
|
__options: import("../schemas/wechaty-options.js").WechatyOptions;
|
|
118
118
|
init(): Promise<void>;
|
|
119
|
-
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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", listener: (...args: any[]) => any): any;
|
|
119
|
+
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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
120
|
addListener<E_18 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_18, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_18]): any;
|
|
121
121
|
once<E_19 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_19, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_19]): any;
|
|
122
122
|
prependListener<E_20 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_20, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_20]): any;
|
|
@@ -183,7 +183,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
|
|
|
183
183
|
__memory?: import("memory-card").MemoryCard | undefined;
|
|
184
184
|
readonly memory: import("memory-card").MemoryCard;
|
|
185
185
|
__options: import("../schemas/wechaty-options.js").WechatyOptions;
|
|
186
|
-
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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", listener: (...args: any[]) => any): any;
|
|
186
|
+
on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "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;
|
|
187
187
|
addListener<E_25 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_25, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_25]): any;
|
|
188
188
|
once<E_26 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_26, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_26]): any;
|
|
189
189
|
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;AASnD,OAAO,KAAK,EACV,oBAAoB,EACrB,MAA4B,cAAc,CAAA;AAuB3C;;;;;;;GAOG;AACH,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IARjB;;;;;;;OAOG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sDAoBuB,GAAG,EAAE;;;2BAJH,oBAAoB;;aAWnB,QAAQ,IAAI,CAAC;YA+Cd,QAAQ,IAAI,CAAC;aAuBrB,QAAQ,IAAI,CAAC;YAML,QAAQ,IAAI,CAAC;gCA8CR,OAAO,KAAK,CAAC,eAAe,GAAG,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"puppet-mixin.d.ts","sourceRoot":"","sources":["../../../../src/wechaty-mixins/puppet-mixin.ts"],"names":[],"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