@juzi/wechaty 1.0.81 → 1.0.82
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/mods/impls.d.ts +3 -3
- package/dist/cjs/src/mods/impls.d.ts.map +1 -1
- package/dist/cjs/src/mods/impls.js +2 -1
- package/dist/cjs/src/mods/impls.js.map +1 -1
- package/dist/cjs/src/mods/users.d.ts +1 -1
- package/dist/cjs/src/mods/users.d.ts.map +1 -1
- package/dist/cjs/src/package-json.js +4 -4
- package/dist/cjs/src/user-modules/mod.d.ts +4 -3
- package/dist/cjs/src/user-modules/mod.d.ts.map +1 -1
- package/dist/cjs/src/user-modules/mod.js +3 -1
- package/dist/cjs/src/user-modules/mod.js.map +1 -1
- package/dist/cjs/src/user-modules/wecom.d.ts +27 -0
- package/dist/cjs/src/user-modules/wecom.d.ts.map +1 -0
- package/dist/cjs/src/user-modules/wecom.js +22 -0
- package/dist/cjs/src/user-modules/wecom.js.map +1 -0
- package/dist/cjs/src/wechaty/wechaty-base.d.ts +125 -0
- package/dist/cjs/src/wechaty/wechaty-base.d.ts.map +1 -1
- package/dist/cjs/src/wechaty/wechaty-impl.spec.js +11 -5
- package/dist/cjs/src/wechaty/wechaty-impl.spec.js.map +1 -1
- package/dist/cjs/src/wechaty-mixins/login-mixin.d.ts +27 -3
- package/dist/cjs/src/wechaty-mixins/login-mixin.d.ts.map +1 -1
- package/dist/cjs/src/wechaty-mixins/misc-mixin.d.ts +6 -0
- package/dist/cjs/src/wechaty-mixins/misc-mixin.d.ts.map +1 -1
- package/dist/cjs/src/wechaty-mixins/plugin-mixin.d.ts +20 -0
- package/dist/cjs/src/wechaty-mixins/plugin-mixin.d.ts.map +1 -1
- package/dist/cjs/src/wechaty-mixins/puppet-mixin.d.ts +4 -0
- package/dist/cjs/src/wechaty-mixins/puppet-mixin.d.ts.map +1 -1
- package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.d.ts +4 -2
- package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.d.ts.map +1 -1
- package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.js +3 -0
- package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.js.map +1 -1
- package/dist/esm/src/mods/impls.d.ts +3 -3
- package/dist/esm/src/mods/impls.d.ts.map +1 -1
- package/dist/esm/src/mods/impls.js +1 -1
- package/dist/esm/src/mods/impls.js.map +1 -1
- package/dist/esm/src/mods/users.d.ts +1 -1
- package/dist/esm/src/mods/users.d.ts.map +1 -1
- package/dist/esm/src/package-json.js +4 -4
- package/dist/esm/src/user-modules/mod.d.ts +4 -3
- package/dist/esm/src/user-modules/mod.d.ts.map +1 -1
- package/dist/esm/src/user-modules/mod.js +2 -1
- package/dist/esm/src/user-modules/mod.js.map +1 -1
- package/dist/esm/src/user-modules/wecom.d.ts +27 -0
- package/dist/esm/src/user-modules/wecom.d.ts.map +1 -0
- package/dist/esm/src/user-modules/wecom.js +19 -0
- package/dist/esm/src/user-modules/wecom.js.map +1 -0
- package/dist/esm/src/wechaty/wechaty-base.d.ts +125 -0
- package/dist/esm/src/wechaty/wechaty-base.d.ts.map +1 -1
- package/dist/esm/src/wechaty/wechaty-impl.spec.js +14 -6
- package/dist/esm/src/wechaty/wechaty-impl.spec.js.map +1 -1
- package/dist/esm/src/wechaty-mixins/login-mixin.d.ts +27 -3
- package/dist/esm/src/wechaty-mixins/login-mixin.d.ts.map +1 -1
- package/dist/esm/src/wechaty-mixins/misc-mixin.d.ts +6 -0
- package/dist/esm/src/wechaty-mixins/misc-mixin.d.ts.map +1 -1
- package/dist/esm/src/wechaty-mixins/plugin-mixin.d.ts +20 -0
- package/dist/esm/src/wechaty-mixins/plugin-mixin.d.ts.map +1 -1
- package/dist/esm/src/wechaty-mixins/puppet-mixin.d.ts +4 -0
- package/dist/esm/src/wechaty-mixins/puppet-mixin.d.ts.map +1 -1
- package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.d.ts +4 -2
- package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.d.ts.map +1 -1
- package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.js +4 -1
- package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.js.map +1 -1
- package/package.json +3 -3
- package/src/mods/impls.ts +3 -0
- package/src/mods/users.ts +1 -0
- package/src/package-json.ts +4 -4
- package/src/user-modules/mod.ts +8 -0
- package/src/user-modules/wecom.ts +44 -0
- package/src/wechaty/wechaty-impl.spec.ts +13 -7
- package/src/wechaty-mixins/wechatify-user-module-mixin.ts +6 -0
|
@@ -28,6 +28,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
28
28
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
29
29
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
30
30
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
31
|
+
__wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
|
|
31
32
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
32
33
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
33
34
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -46,6 +47,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
46
47
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
47
48
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
48
49
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
50
|
+
readonly Wecom: import("../user-modules/wecom.js").WecomConstructor;
|
|
49
51
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
50
52
|
readonly id: string;
|
|
51
53
|
__memory?: import("memory-card").MemoryCard | undefined;
|
|
@@ -95,6 +97,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
95
97
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
96
98
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
97
99
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
100
|
+
__wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
|
|
98
101
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
99
102
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
100
103
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -113,6 +116,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
113
116
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
114
117
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
115
118
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
119
|
+
readonly Wecom: import("../user-modules/wecom.js").WecomConstructor;
|
|
116
120
|
init(): Promise<void>;
|
|
117
121
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
118
122
|
readonly id: string;
|
|
@@ -285,6 +289,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
285
289
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
286
290
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
287
291
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
292
|
+
__wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
|
|
288
293
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
289
294
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
290
295
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -303,6 +308,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
303
308
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
304
309
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
305
310
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
311
|
+
readonly Wecom: import("../user-modules/wecom.js").WecomConstructor;
|
|
306
312
|
wrapAsync: import("gerror/dist/esm/src/wrap-async-error/wrap-async-error.js").WrapAsync;
|
|
307
313
|
emitError(e: any): void;
|
|
308
314
|
__io?: import("../io.js").Io | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"misc-mixin.d.ts","sourceRoot":"","sources":["../../../../src/wechaty-mixins/misc-mixin.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAQ,mBAAmB,CAAA;AAK1D,QAAA,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"misc-mixin.d.ts","sourceRoot":"","sources":["../../../../src/wechaty-mixins/misc-mixin.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAQ,mBAAmB,CAAA;AAK1D,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAuDX;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAFH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAFH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAFH;;OAEG;;;;;;sDApDmB,GAAG,EAAE;IAI3B;;OAEG;;IAcH;;;OAGG;;IAKH;;;;;;;;OAQG;eACS,MAAM;IAIlB;;OAEG;wBACwB,MAAM,GAAG,QAAQ,IAAI,CAAC;IAMjD;;OAEG;gBACU,MAAM,GAAG,IAAI;;;;;;;;;;;;;;;;;;;;;;;gDAH1B;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAcN,CAAA;AAED,aAAK,SAAS,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAA;AAE7C,aAAK,0BAA0B,GAAG,KAAK,CAAA;AAEvC,YAAY,EACV,SAAS,EACT,0BAA0B,GAC3B,CAAA;AACD,OAAO,EACL,SAAS,GACV,CAAA"}
|
|
@@ -106,6 +106,10 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
106
106
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
107
107
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
108
108
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
109
|
+
__wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
|
|
110
|
+
/**
|
|
111
|
+
* Return the function to uninstall all plugins
|
|
112
|
+
*/
|
|
109
113
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
110
114
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
111
115
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -124,6 +128,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
124
128
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
125
129
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
126
130
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
131
|
+
readonly Wecom: import("../user-modules/wecom.js").WecomConstructor;
|
|
127
132
|
wrapAsync: import("gerror/dist/esm/src/wrap-async-error/wrap-async-error.js").WrapAsync;
|
|
128
133
|
emitError(e: any): void;
|
|
129
134
|
__io?: import("../io.js").Io | undefined;
|
|
@@ -160,6 +165,10 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
160
165
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
161
166
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
162
167
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
168
|
+
__wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
|
|
169
|
+
/**
|
|
170
|
+
* Return the function to uninstall all plugins
|
|
171
|
+
*/
|
|
163
172
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
164
173
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
165
174
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -178,6 +187,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
178
187
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
179
188
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
180
189
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
190
|
+
readonly Wecom: import("../user-modules/wecom.js").WecomConstructor;
|
|
181
191
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
182
192
|
readonly id: string;
|
|
183
193
|
__memory?: import("memory-card").MemoryCard | undefined;
|
|
@@ -225,6 +235,10 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
225
235
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
226
236
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
227
237
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
238
|
+
__wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
|
|
239
|
+
/**
|
|
240
|
+
* Return the function to uninstall all plugins
|
|
241
|
+
*/
|
|
228
242
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
229
243
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
230
244
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -243,6 +257,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
243
257
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
244
258
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
245
259
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
260
|
+
readonly Wecom: import("../user-modules/wecom.js").WecomConstructor;
|
|
246
261
|
init(): Promise<void>;
|
|
247
262
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
248
263
|
readonly id: string;
|
|
@@ -397,6 +412,10 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
397
412
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
398
413
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
399
414
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
415
|
+
__wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
|
|
416
|
+
/**
|
|
417
|
+
* Return the function to uninstall all plugins
|
|
418
|
+
*/
|
|
400
419
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
401
420
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
402
421
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -415,6 +434,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
415
434
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
416
435
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
417
436
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
437
|
+
readonly Wecom: import("../user-modules/wecom.js").WecomConstructor;
|
|
418
438
|
__io?: import("../io.js").Io | undefined;
|
|
419
439
|
readonly io: import("../io.js").Io;
|
|
420
440
|
__ioToken?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-mixin.d.ts","sourceRoot":"","sources":["../../../../src/wechaty-mixins/plugin-mixin.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,aAAa,EACb,wBAAwB,EACzB,MAAkC,cAAc,CAAA;AAKjD,OAAO,KAAK,EACV,eAAe,EAChB,MAA4B,mBAAmB,CAAA;AAKhD,UAAU,QAAQ;IAChB,GAAG,CACD,GAAG,OAAO,EAAE,CACR,aAAa,GACb,aAAa,EAAE,CAClB,EAAE,GACF,wBAAwB,CAAA;CAC5B;AAED,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASb;;;;;;;;;;;;;;;;;;OAkBG
|
|
1
|
+
{"version":3,"file":"plugin-mixin.d.ts","sourceRoot":"","sources":["../../../../src/wechaty-mixins/plugin-mixin.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,aAAa,EACb,wBAAwB,EACzB,MAAkC,cAAc,CAAA;AAKjD,OAAO,KAAK,EACV,eAAe,EAChB,MAA4B,mBAAmB,CAAA;AAKhD,UAAU,QAAQ;IAChB,GAAG,CACD,GAAG,OAAO,EAAE,CACR,aAAa,GACb,aAAa,EAAE,CAClB,EAAE,GACF,wBAAwB,CAAA;CAC5B;AAED,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASb;;;;;;;;;;;;;;;;;;OAkBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAqBD;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAFH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAFH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sDA7CiB,GAAG,EAAE;IAI3B;;;;;;;;;;;;;;;;;;OAkBG;oBAEW,CACV,aAAa,GAAG,aAAa,EAAE,CAChC,EAAE,GACF,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAvB3B;;;;;;;;;;;;;;;;;;OAkBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAqBD;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;cAWR,CAAA;AAED,aAAK,WAAW,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAA;AAEjD,aAAK,4BAA4B,GAAG,KAAK,CAAA;AAEzC,OAAO,EACL,KAAK,QAAQ,EACb,KAAK,WAAW,EAChB,KAAK,4BAA4B,EACjC,WAAW,GACZ,CAAA"}
|
|
@@ -27,6 +27,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
|
|
|
27
27
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
28
28
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
29
29
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
30
|
+
__wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
|
|
30
31
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
31
32
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
32
33
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -45,6 +46,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
|
|
|
45
46
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
46
47
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
47
48
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
49
|
+
readonly Wecom: import("../user-modules/wecom.js").WecomConstructor;
|
|
48
50
|
init(): Promise<void>;
|
|
49
51
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
50
52
|
readonly id: string;
|
|
@@ -161,6 +163,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
|
|
|
161
163
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
162
164
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
163
165
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
166
|
+
__wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
|
|
164
167
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
165
168
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
166
169
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -179,6 +182,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
|
|
|
179
182
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
180
183
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
181
184
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
185
|
+
readonly Wecom: import("../user-modules/wecom.js").WecomConstructor;
|
|
182
186
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
183
187
|
readonly id: string;
|
|
184
188
|
__memory?: import("memory-card").MemoryCard | undefined;
|
|
@@ -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
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAylBnE,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,4 +1,4 @@
|
|
|
1
|
-
import { ContactConstructor, ContactSelfConstructor, DelayConstructor, FriendshipConstructor, ImageConstructor, LocationConstructor, MessageConstructor, MiniProgramConstructor, PostConstructor, RoomConstructor, RoomInvitationConstructor, TagConstructor, TagGroupConstructor, UrlLinkConstructor, ChannelConstructor, MomentConstructor, CallRecordConstructor, ChatHistoryConstructor } from '../user-modules/mod.js';
|
|
1
|
+
import { ContactConstructor, ContactSelfConstructor, DelayConstructor, FriendshipConstructor, ImageConstructor, LocationConstructor, MessageConstructor, MiniProgramConstructor, PostConstructor, RoomConstructor, RoomInvitationConstructor, TagConstructor, TagGroupConstructor, UrlLinkConstructor, ChannelConstructor, MomentConstructor, CallRecordConstructor, ChatHistoryConstructor, WecomConstructor } from '../user-modules/mod.js';
|
|
2
2
|
import type { WechatySkeleton } from '../wechaty/mod.js';
|
|
3
3
|
declare const wechatifyUserModuleMixin: <MixinBase extends typeof WechatySkeleton>(mixinBase: MixinBase) => ((abstract new (...args: any[]) => {
|
|
4
4
|
__wechatifiedContact?: ContactConstructor | undefined;
|
|
@@ -19,6 +19,7 @@ declare const wechatifyUserModuleMixin: <MixinBase extends typeof WechatySkeleto
|
|
|
19
19
|
__wechatifiedMoment?: MomentConstructor | undefined;
|
|
20
20
|
__wechatifiedCallRecord?: CallRecordConstructor | undefined;
|
|
21
21
|
__wechatifiedChatHistory?: ChatHistoryConstructor | undefined;
|
|
22
|
+
__wechatifiedWecom?: WecomConstructor | undefined;
|
|
22
23
|
readonly Contact: ContactConstructor;
|
|
23
24
|
readonly ContactSelf: ContactSelfConstructor;
|
|
24
25
|
readonly Delay: DelayConstructor;
|
|
@@ -37,6 +38,7 @@ declare const wechatifyUserModuleMixin: <MixinBase extends typeof WechatySkeleto
|
|
|
37
38
|
readonly Moment: MomentConstructor;
|
|
38
39
|
readonly CallRecord: CallRecordConstructor;
|
|
39
40
|
readonly ChatHistory: ChatHistoryConstructor;
|
|
41
|
+
readonly Wecom: WecomConstructor;
|
|
40
42
|
init(): Promise<void>;
|
|
41
43
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
42
44
|
readonly id: string;
|
|
@@ -65,7 +67,7 @@ declare const wechatifyUserModuleMixin: <MixinBase extends typeof WechatySkeleto
|
|
|
65
67
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
66
68
|
}) & MixinBase;
|
|
67
69
|
declare type WechatifyUserModuleMixin = ReturnType<typeof wechatifyUserModuleMixin>;
|
|
68
|
-
declare type ProtectedPropertyWechatifyUserModuleMixin = '__wechatifiedContact' | '__wechatifiedContactSelf' | '__wechatifiedDelay' | '__wechatifiedFriendship' | '__wechatifiedImage' | '__wechatifiedLocation' | '__wechatifiedMessage' | '__wechatifiedMiniProgram' | '__wechatifiedRoom' | '__wechatifiedRoomInvitation' | '__wechatifiedTag' | '__wechatifiedTagGroup' | '__wechatifiedUrlLink' | '__wechatifiedChannel' | '__wechatifiedMoment' | '__wechatifiedCallRecord' | '__wechatifiedChatHistory';
|
|
70
|
+
declare type ProtectedPropertyWechatifyUserModuleMixin = '__wechatifiedContact' | '__wechatifiedContactSelf' | '__wechatifiedDelay' | '__wechatifiedFriendship' | '__wechatifiedImage' | '__wechatifiedLocation' | '__wechatifiedMessage' | '__wechatifiedMiniProgram' | '__wechatifiedRoom' | '__wechatifiedRoomInvitation' | '__wechatifiedTag' | '__wechatifiedTagGroup' | '__wechatifiedUrlLink' | '__wechatifiedChannel' | '__wechatifiedMoment' | '__wechatifiedCallRecord' | '__wechatifiedChatHistory' | '__wechatifiedWecom';
|
|
69
71
|
export type { WechatifyUserModuleMixin, ProtectedPropertyWechatifyUserModuleMixin, };
|
|
70
72
|
export { wechatifyUserModuleMixin, };
|
|
71
73
|
//# sourceMappingURL=wechatify-user-module-mixin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wechatify-user-module-mixin.d.ts","sourceRoot":"","sources":["../../../../src/wechaty-mixins/wechatify-user-module-mixin.ts"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"wechatify-user-module-mixin.d.ts","sourceRoot":"","sources":["../../../../src/wechaty-mixins/wechatify-user-module-mixin.ts"],"names":[],"mappings":"AAEA,OAAO,EAqBL,kBAAkB,EAClB,sBAAsB,EACtB,gBAAgB,EAChB,qBAAqB,EACrB,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,EAClB,sBAAsB,EACtB,eAAe,EACf,eAAe,EACf,yBAAyB,EACzB,cAAc,EACd,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,qBAAqB,EACrB,sBAAsB,EACtB,gBAAgB,EAGjB,MAA4B,wBAAwB,CAAA;AAErD,OAAO,KAAK,EACV,eAAe,EAChB,MAAkC,mBAAmB,CAAA;AAEtD,QAAA,MAAM,wBAAwB,+FAKJ,GAAG,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA6CH,QAAQ,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;cA8CxC,CAAA;AAYD,aAAK,wBAAwB,GAAG,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAE3E,aAAK,yCAAyC,GAC1C,sBAAsB,GACtB,0BAA0B,GAC1B,oBAAoB,GACpB,yBAAyB,GACzB,oBAAoB,GACpB,uBAAuB,GACvB,sBAAsB,GACtB,0BAA0B,GAC1B,mBAAmB,GACnB,6BAA6B,GAC7B,kBAAkB,GAClB,uBAAuB,GACvB,sBAAsB,GACtB,sBAAsB,GACtB,qBAAqB,GACrB,yBAAyB,GACzB,0BAA0B,GAC1B,oBAAoB,CAAA;AAExB,YAAY,EACV,wBAAwB,EACxB,yCAAyC,GAC1C,CAAA;AACD,OAAO,EACL,wBAAwB,GACzB,CAAA"}
|
|
@@ -28,6 +28,7 @@ const wechatifyUserModuleMixin = (mixinBase) => {
|
|
|
28
28
|
__wechatifiedMoment;
|
|
29
29
|
__wechatifiedCallRecord;
|
|
30
30
|
__wechatifiedChatHistory;
|
|
31
|
+
__wechatifiedWecom;
|
|
31
32
|
get Contact() { return guardWechatify(this.__wechatifiedContact); }
|
|
32
33
|
get ContactSelf() { return guardWechatify(this.__wechatifiedContactSelf); }
|
|
33
34
|
get Delay() { return guardWechatify(this.__wechatifiedDelay); }
|
|
@@ -46,6 +47,7 @@ const wechatifyUserModuleMixin = (mixinBase) => {
|
|
|
46
47
|
get Moment() { return guardWechatify(this.__wechatifiedMoment); }
|
|
47
48
|
get CallRecord() { return guardWechatify(this.__wechatifiedCallRecord); }
|
|
48
49
|
get ChatHistory() { return guardWechatify(this.__wechatifiedChatHistory); }
|
|
50
|
+
get Wecom() { return guardWechatify(this.__wechatifiedWecom); }
|
|
49
51
|
async init() {
|
|
50
52
|
wechaty_puppet_1.log.verbose('WechatifyUserModuleMixin', 'init()');
|
|
51
53
|
await super.init();
|
|
@@ -81,6 +83,7 @@ const wechatifyUserModuleMixin = (mixinBase) => {
|
|
|
81
83
|
this.__wechatifiedMoment = (0, mod_js_1.wechatifyUserModule)(mod_js_1.MomentImpl)(this);
|
|
82
84
|
this.__wechatifiedCallRecord = (0, mod_js_1.wechatifyUserModule)(mod_js_1.CallRecordImpl)(this);
|
|
83
85
|
this.__wechatifiedChatHistory = (0, mod_js_1.wechatifyUserModule)(mod_js_1.ChatHistoryImpl)(this);
|
|
86
|
+
this.__wechatifiedWecom = (0, mod_js_1.wechatifyUserModule)(mod_js_1.WecomImpl)(this);
|
|
84
87
|
wechaty_puppet_1.log.verbose('WechatifyUserModuleMixin', 'init() initializing Wechaty User Module (WUM) ... done');
|
|
85
88
|
}
|
|
86
89
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wechatify-user-module-mixin.js","sourceRoot":"","sources":["../../../../src/wechaty-mixins/wechatify-user-module-mixin.ts"],"names":[],"mappings":";;;AAAA,yDAAmD;AAEnD,
|
|
1
|
+
{"version":3,"file":"wechatify-user-module-mix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
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
*
|
|
29
29
|
* - no postfix: value, the `class`
|
|
30
30
|
*/
|
|
31
|
-
export { ContactImpl, ContactSelfImpl, FavoriteImpl, FriendshipImpl, ImageImpl, LocationImpl, MessageImpl, MiniProgramImpl, MomentImpl, MoneyImpl, PostImpl, RoomImpl, RoomInvitationImpl, DelayImpl, TagImpl, TagGroupImpl, UrlLinkImpl, ChannelImpl, CallRecordImpl, } from '../user-modules/mod.js';
|
|
32
|
-
export type { ContactInterface, ContactSelfInterface, DelayInterface, FavoriteInterface, FriendshipInterface, ImageInterface, LocationInterface, MessageInterface, MiniProgramInterface, MomentInterface, MoneyInterface, PostInterface, RoomInterface, RoomInvitationInterface, TagInterface, TagGroupInterface, UrlLinkInterface, ChannelInterface, CallRecordInterface, } from '../user-modules/mod.js';
|
|
33
|
-
export type { ContactConstructor, ContactSelfConstructor, DelayConstructor, FavoriteConstructor, FriendshipConstructor, ImageConstructor, LocationConstructor, MessageConstructor, MiniProgramConstructor, MomentConstructor, MoneyConstructor, PostConstructor, RoomConstructor, RoomInvitationConstructor, TagConstructor, TagGroupConstructor, UrlLinkConstructor, ChannelConstructor, } from '../user-modules/mod.js';
|
|
31
|
+
export { ContactImpl, ContactSelfImpl, FavoriteImpl, FriendshipImpl, ImageImpl, LocationImpl, MessageImpl, MiniProgramImpl, MomentImpl, MoneyImpl, PostImpl, RoomImpl, RoomInvitationImpl, DelayImpl, TagImpl, TagGroupImpl, UrlLinkImpl, ChannelImpl, CallRecordImpl, WecomImpl, } from '../user-modules/mod.js';
|
|
32
|
+
export type { ContactInterface, ContactSelfInterface, DelayInterface, FavoriteInterface, FriendshipInterface, ImageInterface, LocationInterface, MessageInterface, MiniProgramInterface, MomentInterface, MoneyInterface, PostInterface, RoomInterface, RoomInvitationInterface, TagInterface, TagGroupInterface, UrlLinkInterface, ChannelInterface, CallRecordInterface, WecomInterface, } from '../user-modules/mod.js';
|
|
33
|
+
export type { ContactConstructor, ContactSelfConstructor, DelayConstructor, FavoriteConstructor, FriendshipConstructor, ImageConstructor, LocationConstructor, MessageConstructor, MiniProgramConstructor, MomentConstructor, MoneyConstructor, PostConstructor, RoomConstructor, RoomInvitationConstructor, TagConstructor, TagGroupConstructor, UrlLinkConstructor, ChannelConstructor, WecomConstructor, } from '../user-modules/mod.js';
|
|
34
34
|
export { WechatyImpl, } from '../wechaty/mod.js';
|
|
35
35
|
export type { WechatyInterface, WechatyConstructor, } from '../wechaty/mod.js';
|
|
36
36
|
//# sourceMappingURL=impls.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"impls.d.ts","sourceRoot":"","sources":["../../../../src/mods/impls.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH;;;;;;;;;;GAUG;AAEH,OAAO,EACL,WAAW,EACX,eAAe,EACf,YAAY,EACZ,cAAc,EACd,SAAS,EACT,YAAY,EACZ,WAAW,EACX,eAAe,EACf,UAAU,EACV,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,kBAAkB,EAClB,SAAS,EACT,OAAO,EACP,YAAY,EACZ,WAAW,EACX,WAAW,EACX,cAAc,
|
|
1
|
+
{"version":3,"file":"impls.d.ts","sourceRoot":"","sources":["../../../../src/mods/impls.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH;;;;;;;;;;GAUG;AAEH,OAAO,EACL,WAAW,EACX,eAAe,EACf,YAAY,EACZ,cAAc,EACd,SAAS,EACT,YAAY,EACZ,WAAW,EACX,eAAe,EACf,UAAU,EACV,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,kBAAkB,EAClB,SAAS,EACT,OAAO,EACP,YAAY,EACZ,WAAW,EACX,WAAW,EACX,cAAc,EACd,SAAS,GACV,MAAkC,wBAAwB,CAAA;AAqB3D,YAAY,EACV,gBAAgB,EAChB,oBAAoB,EACpB,cAAc,EACd,iBAAiB,EACjB,mBAAmB,EACnB,cAAc,EACd,iBAAiB,EACjB,gBAAgB,EAChB,oBAAoB,EACpB,eAAe,EACf,cAAc,EACd,aAAa,EACb,aAAa,EACb,uBAAuB,EACvB,YAAY,EACZ,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,cAAc,GACf,MAAoC,wBAAwB,CAAA;AAE7D,YAAY,EACV,kBAAkB,EAClB,sBAAsB,EACtB,gBAAgB,EAChB,mBAAmB,EACnB,qBAAqB,EACrB,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,EAClB,sBAAsB,EACtB,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,yBAAyB,EACzB,cAAc,EACd,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAClB,gBAAgB,GACjB,MAAoC,wBAAwB,CAAA;AAE7D,OAAO,EACL,WAAW,GACZ,MAA8B,mBAAmB,CAAA;AAClD,YAAY,EACV,gBAAgB,EAChB,kBAAkB,GACnB,MAA8B,mBAAmB,CAAA"}
|
|
@@ -28,6 +28,6 @@
|
|
|
28
28
|
*
|
|
29
29
|
* - no postfix: value, the `class`
|
|
30
30
|
*/
|
|
31
|
-
export { ContactImpl, ContactSelfImpl, FavoriteImpl, FriendshipImpl, ImageImpl, LocationImpl, MessageImpl, MiniProgramImpl, MomentImpl, MoneyImpl, PostImpl, RoomImpl, RoomInvitationImpl, DelayImpl, TagImpl, TagGroupImpl, UrlLinkImpl, ChannelImpl, CallRecordImpl, } from '../user-modules/mod.js';
|
|
31
|
+
export { ContactImpl, ContactSelfImpl, FavoriteImpl, FriendshipImpl, ImageImpl, LocationImpl, MessageImpl, MiniProgramImpl, MomentImpl, MoneyImpl, PostImpl, RoomImpl, RoomInvitationImpl, DelayImpl, TagImpl, TagGroupImpl, UrlLinkImpl, ChannelImpl, CallRecordImpl, WecomImpl, } from '../user-modules/mod.js';
|
|
32
32
|
export { WechatyImpl, } from '../wechaty/mod.js';
|
|
33
33
|
//# sourceMappingURL=impls.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"impls.js","sourceRoot":"","sources":["../../../../src/mods/impls.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH;;;;;;;;;;GAUG;AAEH,OAAO,EACL,WAAW,EACX,eAAe,EACf,YAAY,EACZ,cAAc,EACd,SAAS,EACT,YAAY,EACZ,WAAW,EACX,eAAe,EACf,UAAU,EACV,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,kBAAkB,EAClB,SAAS,EACT,OAAO,EACP,YAAY,EACZ,WAAW,EACX,WAAW,EACX,cAAc,
|
|
1
|
+
{"version":3,"file":"impls.js","sourceRoot":"","sources":["../../../../src/mods/impls.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH;;;;;;;;;;GAUG;AAEH,OAAO,EACL,WAAW,EACX,eAAe,EACf,YAAY,EACZ,cAAc,EACd,SAAS,EACT,YAAY,EACZ,WAAW,EACX,eAAe,EACf,UAAU,EACV,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,kBAAkB,EAClB,SAAS,EACT,OAAO,EACP,YAAY,EACZ,WAAW,EACX,WAAW,EACX,cAAc,EACd,SAAS,GACV,MAAkC,wBAAwB,CAAA;AAkE3D,OAAO,EACL,WAAW,GACZ,MAA8B,mBAAmB,CAAA"}
|
|
@@ -22,5 +22,5 @@
|
|
|
22
22
|
*
|
|
23
23
|
* since they are `interface`s, so they are `type`-only.
|
|
24
24
|
*/
|
|
25
|
-
export type { ContactInterface as Contact, ContactSelfInterface as ContactSelf, DelayInterface as Delay, FavoriteInterface as Favorite, FriendshipInterface as Friendship, ImageInterface as Image, LocationInterface as Location, MessageInterface as Message, MiniProgramInterface as MiniProgram, MomentInterface as Moment, MoneyInterface as Money, PostInterface as Post, RoomInterface as Room, RoomInvitationInterface as RoomInvitation, TagInterface as Tag, TagGroupInterface as TagGroup, UrlLinkInterface as UrlLink, ChannelInterface as Channel, CallRecordInterface as CallRecord, } from '../user-modules/mod.js';
|
|
25
|
+
export type { ContactInterface as Contact, ContactSelfInterface as ContactSelf, DelayInterface as Delay, FavoriteInterface as Favorite, FriendshipInterface as Friendship, ImageInterface as Image, LocationInterface as Location, MessageInterface as Message, MiniProgramInterface as MiniProgram, MomentInterface as Moment, MoneyInterface as Money, PostInterface as Post, RoomInterface as Room, RoomInvitationInterface as RoomInvitation, TagInterface as Tag, TagGroupInterface as TagGroup, UrlLinkInterface as UrlLink, ChannelInterface as Channel, CallRecordInterface as CallRecord, WecomInterface as Wecom, } from '../user-modules/mod.js';
|
|
26
26
|
//# sourceMappingURL=users.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../../../src/mods/users.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH;;;;GAIG;AAEH,YAAY,EACV,gBAAgB,IAAW,OAAO,EAClC,oBAAoB,IAAO,WAAW,EACtC,cAAc,IAAa,KAAK,EAChC,iBAAiB,IAAU,QAAQ,EACnC,mBAAmB,IAAQ,UAAU,EACrC,cAAc,IAAa,KAAK,EAChC,iBAAiB,IAAU,QAAQ,EACnC,gBAAgB,IAAW,OAAO,EAClC,oBAAoB,IAAO,WAAW,EACtC,eAAe,IAAY,MAAM,EACjC,cAAc,IAAa,KAAK,EAChC,aAAa,IAAc,IAAI,EAC/B,aAAa,IAAc,IAAI,EAC/B,uBAAuB,IAAI,cAAc,EACzC,YAAY,IAAe,GAAG,EAC9B,iBAAiB,IAAU,QAAQ,EACnC,gBAAgB,IAAW,OAAO,EAClC,gBAAgB,IAAW,OAAO,EAClC,mBAAmB,IAAQ,UAAU,
|
|
1
|
+
{"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../../../src/mods/users.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH;;;;GAIG;AAEH,YAAY,EACV,gBAAgB,IAAW,OAAO,EAClC,oBAAoB,IAAO,WAAW,EACtC,cAAc,IAAa,KAAK,EAChC,iBAAiB,IAAU,QAAQ,EACnC,mBAAmB,IAAQ,UAAU,EACrC,cAAc,IAAa,KAAK,EAChC,iBAAiB,IAAU,QAAQ,EACnC,gBAAgB,IAAW,OAAO,EAClC,oBAAoB,IAAO,WAAW,EACtC,eAAe,IAAY,MAAM,EACjC,cAAc,IAAa,KAAK,EAChC,aAAa,IAAc,IAAI,EAC/B,aAAa,IAAc,IAAI,EAC/B,uBAAuB,IAAI,cAAc,EACzC,YAAY,IAAe,GAAG,EAC9B,iBAAiB,IAAU,QAAQ,EACnC,gBAAgB,IAAW,OAAO,EAClC,gBAAgB,IAAW,OAAO,EAClC,mBAAmB,IAAQ,UAAU,EACrC,cAAc,IAAa,KAAK,GACjC,MAAoD,wBAAwB,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export const GIT_COMMIT_HASH = '
|
|
1
|
+
export const GIT_COMMIT_HASH = '0685875ee5cad297e366666079a71808dac8fec7';
|
|
2
2
|
export const packageJson = {
|
|
3
3
|
"name": "@juzi/wechaty",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.82",
|
|
5
5
|
"description": "Wechaty is a RPA SDK for Chatbot Makers.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
@@ -110,7 +110,7 @@ export const packageJson = {
|
|
|
110
110
|
},
|
|
111
111
|
"homepage": "https://github.com/wechaty/",
|
|
112
112
|
"dependencies": {
|
|
113
|
-
"@juzi/wechaty-puppet-service": "^1.0.
|
|
113
|
+
"@juzi/wechaty-puppet-service": "^1.0.85",
|
|
114
114
|
"clone-class": "^1.1.1",
|
|
115
115
|
"cmd-ts": "^0.10.0",
|
|
116
116
|
"cockatiel": "^2.0.2",
|
|
@@ -133,7 +133,7 @@ export const packageJson = {
|
|
|
133
133
|
"@chatie/eslint-config": "^1.0.4",
|
|
134
134
|
"@chatie/semver": "^0.4.7",
|
|
135
135
|
"@chatie/tsconfig": "^4.6.3",
|
|
136
|
-
"@juzi/wechaty-puppet": "^1.0.
|
|
136
|
+
"@juzi/wechaty-puppet": "^1.0.74",
|
|
137
137
|
"@juzi/wechaty-puppet-mock": "^1.0.1",
|
|
138
138
|
"@swc/core": "1.3.44",
|
|
139
139
|
"@swc/helpers": "^0.3.6",
|
|
@@ -37,8 +37,9 @@ import { DelayImpl, DelayInterface, DelayConstructor } from './delay.js';
|
|
|
37
37
|
import { ChannelImpl, ChannelInterface, ChannelConstructor } from './channel.js';
|
|
38
38
|
import { CallRecordImpl, CallRecordInterface, CallRecordConstructor } from './call.js';
|
|
39
39
|
import { ChatHistoryImpl, ChatHistoryInterface, ChatHistoryConstructor } from './chat-history.js';
|
|
40
|
+
import { WecomImpl, WecomInterface, WecomConstructor } from './wecom.js';
|
|
40
41
|
import { wechatifyUserModule } from '../user-mixins/wechatify.js';
|
|
41
|
-
export type { ContactInterface, ContactSelfInterface, FavoriteInterface, FriendshipInterface, ImageInterface, LocationInterface, MessageInterface, MiniProgramInterface, MomentInterface, MoneyInterface, PostInterface, RoomInterface, RoomInvitationInterface, TagInterface, TagGroupInterface, DelayInterface, UrlLinkInterface, ChannelInterface, CallRecordInterface, ChatHistoryInterface, };
|
|
42
|
-
export type { ContactConstructor, ContactSelfConstructor, FavoriteConstructor, FriendshipConstructor, ImageConstructor, LocationConstructor, MessageConstructor, MiniProgramConstructor, MomentConstructor, MoneyConstructor, PostConstructor, RoomConstructor, RoomInvitationConstructor, DelayConstructor, TagConstructor, TagGroupConstructor, UrlLinkConstructor, ChannelConstructor, CallRecordConstructor, ChatHistoryConstructor, };
|
|
43
|
-
export { wechatifyUserModule, ContactImpl, ContactSelfImpl, FavoriteImpl, FriendshipImpl, ImageImpl, LocationImpl, MessageImpl, MiniProgramImpl, MomentImpl, MoneyImpl, PostImpl, RoomImpl, RoomInvitationImpl, DelayImpl, TagImpl, TagGroupImpl, UrlLinkImpl, ChannelImpl, CallRecordImpl, ChatHistoryImpl, };
|
|
42
|
+
export type { ContactInterface, ContactSelfInterface, FavoriteInterface, FriendshipInterface, ImageInterface, LocationInterface, MessageInterface, MiniProgramInterface, MomentInterface, MoneyInterface, PostInterface, RoomInterface, RoomInvitationInterface, TagInterface, TagGroupInterface, DelayInterface, UrlLinkInterface, ChannelInterface, CallRecordInterface, ChatHistoryInterface, WecomInterface, };
|
|
43
|
+
export type { ContactConstructor, ContactSelfConstructor, FavoriteConstructor, FriendshipConstructor, ImageConstructor, LocationConstructor, MessageConstructor, MiniProgramConstructor, MomentConstructor, MoneyConstructor, PostConstructor, RoomConstructor, RoomInvitationConstructor, DelayConstructor, TagConstructor, TagGroupConstructor, UrlLinkConstructor, ChannelConstructor, CallRecordConstructor, ChatHistoryConstructor, WecomConstructor, };
|
|
44
|
+
export { wechatifyUserModule, ContactImpl, ContactSelfImpl, FavoriteImpl, FriendshipImpl, ImageImpl, LocationImpl, MessageImpl, MiniProgramImpl, MomentImpl, MoneyImpl, PostImpl, RoomImpl, RoomInvitationImpl, DelayImpl, TagImpl, TagGroupImpl, UrlLinkImpl, ChannelImpl, CallRecordImpl, ChatHistoryImpl, WecomImpl, };
|
|
44
45
|
//# sourceMappingURL=mod.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../../../src/user-modules/mod.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,kBAAkB,EACnB,MAAgC,cAAc,CAAA;AAC/C,OAAO,EACL,eAAe,EACf,oBAAoB,EACpB,sBAAsB,EACvB,MAAgC,mBAAmB,CAAA;AACpD,OAAO,EACL,YAAY,EACZ,iBAAiB,EACjB,mBAAmB,EACpB,MAAgC,eAAe,CAAA;AAChD,OAAO,EACL,cAAc,EACd,mBAAmB,EACnB,qBAAqB,EACtB,MAAgC,iBAAiB,CAAA;AAClD,OAAO,EACL,SAAS,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"","sources":["../../../../src/user-modules/mod.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,kBAAkB,EACnB,MAAgC,cAAc,CAAA;AAC/C,OAAO,EACL,eAAe,EACf,oBAAoB,EACpB,sBAAsB,EACvB,MAAgC,mBAAmB,CAAA;AACpD,OAAO,EACL,YAAY,EACZ,iBAAiB,EACjB,mBAAmB,EACpB,MAAgC,eAAe,CAAA;AAChD,OAAO,EACL,cAAc,EACd,mBAAmB,EACnB,qBAAqB,EACtB,MAAgC,iBAAiB,CAAA;AAClD,OAAO,EACL,SAAS,EACT,cAAc,EACd,gBAAgB,EACjB,MAAgC,YAAY,CAAA;AAC7C,OAAO,EACL,YAAY,EACZ,iBAAiB,EACjB,mBAAmB,EACpB,MAAgC,eAAe,CAAA;AAChD,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,kBAAkB,EACnB,MAAgC,cAAc,CAAA;AAC/C,OAAO,EACL,eAAe,EACf,oBAAoB,EACpB,sBAAsB,EACvB,MAAgC,mBAAmB,CAAA;AACpD,OAAO,EACL,UAAU,EACV,eAAe,EACf,iBAAiB,EAClB,MAAgC,aAAa,CAAA;AAC9C,OAAO,EACL,SAAS,EACT,cAAc,EACd,gBAAgB,EACjB,MAAgC,YAAY,CAAA;AAC7C,OAAO,EACL,QAAQ,EACR,aAAa,EACb,eAAe,EAChB,MAAgC,WAAW,CAAA;AAC5C,OAAO,EACL,QAAQ,EACR,aAAa,EACb,eAAe,EAChB,MAAgC,WAAW,CAAA;AAC5C,OAAO,EACL,kBAAkB,EAClB,uBAAuB,EACvB,yBAAyB,EAC1B,MAAgC,sBAAsB,CAAA;AACvD,OAAO,EACL,OAAO,EACP,YAAY,EACZ,cAAc,EACf,MAAgC,UAAU,CAAA;AAC3C,OAAO,EACL,YAAY,EACZ,iBAAiB,EACjB,mBAAmB,EACpB,MAAgC,gBAAgB,CAAA;AACjD,OAAO,EACL,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ACV,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,kBAAkB,EAClB,SAAS,EACT,OAAO,EACP,YAAY,EACZ,WAAW,EACX,WAAW,EACX,cAAc,EACd,eAAe,EACf,SAAS,GACV,CAAA"}
|
|
@@ -37,6 +37,7 @@ import { DelayImpl, } from './delay.js';
|
|
|
37
37
|
import { ChannelImpl, } from './channel.js';
|
|
38
38
|
import { CallRecordImpl, } from './call.js';
|
|
39
39
|
import { ChatHistoryImpl, } from './chat-history.js';
|
|
40
|
+
import { WecomImpl, } from './wecom.js';
|
|
40
41
|
import { wechatifyUserModule } from '../user-mixins/wechatify.js';
|
|
41
|
-
export { wechatifyUserModule, ContactImpl, ContactSelfImpl, FavoriteImpl, FriendshipImpl, ImageImpl, LocationImpl, MessageImpl, MiniProgramImpl, MomentImpl, MoneyImpl, PostImpl, RoomImpl, RoomInvitationImpl, DelayImpl, TagImpl, TagGroupImpl, UrlLinkImpl, ChannelImpl, CallRecordImpl, ChatHistoryImpl, };
|
|
42
|
+
export { wechatifyUserModule, ContactImpl, ContactSelfImpl, FavoriteImpl, FriendshipImpl, ImageImpl, LocationImpl, MessageImpl, MiniProgramImpl, MomentImpl, MoneyImpl, PostImpl, RoomImpl, RoomInvitationImpl, DelayImpl, TagImpl, TagGroupImpl, UrlLinkImpl, ChannelImpl, CallRecordImpl, ChatHistoryImpl, WecomImpl, };
|
|
42
43
|
//# sourceMappingURL=mod.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mod.js","sourceRoot":"","sources":["../../../../src/user-modules/mod.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,EACL,WAAW,GAGZ,MAAgC,cAAc,CAAA;AAC/C,OAAO,EACL,eAAe,GAGhB,MAAgC,mBAAmB,CAAA;AACpD,OAAO,EACL,YAAY,GAGb,MAAgC,eAAe,CAAA;AAChD,OAAO,EACL,cAAc,GAGf,MAAgC,iBAAiB,CAAA;AAClD,OAA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GZ,MAAgC,cAAc,CAAA;AAC/C,OAAO,EACL,eAAe,GAGhB,MAAgC,mBAAmB,CAAA;AACpD,OAAO,EACL,UAAU,GAGX,MAAgC,aAAa,CAAA;AAC9C,OAAO,EACL,SAAS,GAGV,MAAgC,YAAY,CAAA;AAC7C,OAAO,EACL,QAAQ,GAGT,MAAgC,WAAW,CAAA;AAC5C,OAAO,EACL,QAAQ,GAGT,MAAgC,WAAW,CAAA;AAC5C,OAAO,EACL,kBAAkB,GAGnB,MAAgC,sBAAsB,CAAA;AACvD,OAAO,EACL,OAAO,GAGR,MAAgC,UAAU,CAAA;AAC3C,OAAO,EACL,YAAY,GAGb,MAAgC,gBAAgB,CAAA;AACjD,OAAO,EACL,WAAW,GAGZ,MAAgC,eAAe,CAAA;AAChD,OAAO,EACL,SAAS,GAGV,MAAgC,YAAY,CAAA;AAC7C,OAAO,EACL,WAAW,GAGZ,MAAgC,cAAc,CAAA;AAC/C,OAAO,EACL,cAAc,GAGf,MAAgC,WAAW,CAAA;AAC5C,OAAO,EACL,eAAe,GAGhB,MAAgC,mBAAmB,CAAA;AACpD,OAAO,EACL,SAAS,GAGV,MAAgC,YAAY,CAAA;AAE7C,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAA;AAkDjE,OAAO,EACL,mBAAmB,EAEnB,WAAW,EACX,eAAe,EACf,YAAY,EACZ,cAAc,EACd,SAAS,EACT,YAAY,EACZ,WAAW,EACX,eAAe,EACf,UAAU,EACV,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,kBAAkB,EAClB,SAAS,EACT,OAAO,EACP,YAAY,EACZ,WAAW,EACX,WAAW,EACX,cAAc,EACd,eAAe,EACf,SAAS,GACV,CAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { types } from '@juzi/wechaty-puppet';
|
|
2
|
+
import type { Constructor } from 'clone-class';
|
|
3
|
+
declare const WecomMixin_base: ((abstract new (...args: any[]) => {
|
|
4
|
+
readonly wechaty: import("../wechaty/wechaty-impl.js").WechatyInterface;
|
|
5
|
+
}) & {
|
|
6
|
+
readonly wechaty: import("../wechaty/wechaty-impl.js").WechatyInterface;
|
|
7
|
+
}) & {
|
|
8
|
+
new (): {};
|
|
9
|
+
};
|
|
10
|
+
declare class WecomMixin extends WecomMixin_base {
|
|
11
|
+
static getExternalUserId(contactIds: string[], serviceProviderId?: string): Promise<types.ContactIdExternalUserIdPair[]>;
|
|
12
|
+
constructor();
|
|
13
|
+
}
|
|
14
|
+
declare const WecomImpl_base: {
|
|
15
|
+
new (...args: any[]): {};
|
|
16
|
+
valid: (o: any) => o is WecomInterface;
|
|
17
|
+
validInstance: (target: any) => target is WecomMixin;
|
|
18
|
+
validInterface: (target: any) => target is WecomInterface;
|
|
19
|
+
} & typeof WecomMixin;
|
|
20
|
+
declare class WecomImpl extends WecomImpl_base {
|
|
21
|
+
}
|
|
22
|
+
interface WecomInterface extends WecomImpl {
|
|
23
|
+
}
|
|
24
|
+
declare type WecomConstructor = Constructor<WecomInterface, typeof WecomImpl>;
|
|
25
|
+
export type { WecomConstructor, WecomInterface, };
|
|
26
|
+
export { WecomImpl, };
|
|
27
|
+
//# sourceMappingURL=wecom.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wecom.d.ts","sourceRoot":"","sources":["../../../../src/user-modules/wecom.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;;;;;;;;AAO9C,cAAM,UAAW,SAAQ,eAAoB;WAE9B,iBAAiB,CAC5B,UAAU,EAAE,MAAM,EAAE,EACpB,iBAAiB,CAAC,EAAE,MAAM,GACzB,OAAO,CAAC,KAAK,CAAC,2BAA2B,EAAE,CAAC;;CAehD;;;;;;;AAED,cAAM,SAAU,SAAQ,cAA6C;CAAG;AACxE,UAAU,cAAe,SAAQ,SAAS;CAAG;AAC7C,aAAK,gBAAgB,GAAG,WAAW,CACjC,cAAc,EACd,OAAO,SAAS,CACjB,CAAA;AAED,YAAY,EACV,gBAAgB,EAChB,cAAc,GACf,CAAA;AACD,OAAO,EACL,SAAS,GACV,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { log } from '@juzi/wechaty-puppet';
|
|
2
|
+
import { validationMixin } from '../user-mixins/validation.js';
|
|
3
|
+
import { wechatifyMixinBase, } from '../user-mixins/wechatify.js';
|
|
4
|
+
class WecomMixin extends wechatifyMixinBase() {
|
|
5
|
+
static async getExternalUserId(contactIds, serviceProviderId) {
|
|
6
|
+
return this.wechaty.puppet.getContactExternalUserId(contactIds, serviceProviderId);
|
|
7
|
+
}
|
|
8
|
+
/*
|
|
9
|
+
* @hideconstructor
|
|
10
|
+
*/
|
|
11
|
+
constructor() {
|
|
12
|
+
super();
|
|
13
|
+
log.verbose('Wecom', 'constructor()');
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
class WecomImpl extends validationMixin(WecomMixin)() {
|
|
17
|
+
}
|
|
18
|
+
export { WecomImpl, };
|
|
19
|
+
//# sourceMappingURL=wecom.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wecom.js","sourceRoot":"","sources":["../../../../src/user-modules/wecom.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAS,MAAM,sBAAsB,CAAA;AAGjD,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAA;AAC9D,OAAO,EACL,kBAAkB,GACnB,MAA4B,6BAA6B,CAAA;AAE1D,MAAM,UAAW,SAAQ,kBAAkB,EAAE;IAE3C,MAAM,CAAC,KAAK,CAAC,iBAAiB,CAC5B,UAAoB,EACpB,iBAA0B;QAE1B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,wBAAwB,CACjD,UAAU,EACV,iBAAiB,CAClB,CAAA;IACH,CAAC;IAED;;OAEG;IACH;QACE,KAAK,EAAE,CAAA;QACP,GAAG,CAAC,OAAO,CAAC,OAAO,EAAE,eAAe,CAAC,CAAA;IACvC,CAAC;CAEF;AAED,MAAM,SAAU,SAAQ,eAAe,CAAC,UAAU,CAAC,EAAkB;CAAG;AAWxE,OAAO,EACL,SAAS,GACV,CAAA"}
|