@juzi/wechaty 1.0.120 → 1.0.122
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/sayable/deliver-sayable.d.ts.map +1 -1
- package/dist/cjs/src/sayable/deliver-sayable.js +3 -0
- package/dist/cjs/src/sayable/deliver-sayable.js.map +1 -1
- package/dist/cjs/src/sayable/types.d.ts +2 -2
- package/dist/cjs/src/sayable/types.d.ts.map +1 -1
- package/dist/cjs/src/sayable/types.js.map +1 -1
- package/dist/cjs/src/user-modules/douyin-one-click-phone-collection.d.ts +32 -0
- package/dist/cjs/src/user-modules/douyin-one-click-phone-collection.d.ts.map +1 -0
- package/dist/cjs/src/user-modules/douyin-one-click-phone-collection.js +32 -0
- package/dist/cjs/src/user-modules/douyin-one-click-phone-collection.js.map +1 -0
- 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/room.d.ts +1 -1
- package/dist/cjs/src/user-modules/room.d.ts.map +1 -1
- package/dist/cjs/src/user-modules/room.js +8 -1
- package/dist/cjs/src/user-modules/room.js.map +1 -1
- 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 +3 -1
- package/dist/cjs/src/wechaty/wechaty-impl.spec.js.map +1 -1
- package/dist/cjs/src/wechaty-mixins/login-mixin.d.ts +9 -9
- 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 +8 -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 +3 -1
- 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/sayable/deliver-sayable.d.ts.map +1 -1
- package/dist/esm/src/sayable/deliver-sayable.js +4 -1
- package/dist/esm/src/sayable/deliver-sayable.js.map +1 -1
- package/dist/esm/src/sayable/types.d.ts +2 -2
- package/dist/esm/src/sayable/types.d.ts.map +1 -1
- package/dist/esm/src/sayable/types.js.map +1 -1
- package/dist/esm/src/user-modules/douyin-one-click-phone-collection.d.ts +32 -0
- package/dist/esm/src/user-modules/douyin-one-click-phone-collection.d.ts.map +1 -0
- package/dist/esm/src/user-modules/douyin-one-click-phone-collection.js +29 -0
- package/dist/esm/src/user-modules/douyin-one-click-phone-collection.js.map +1 -0
- 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/room.d.ts +1 -1
- package/dist/esm/src/user-modules/room.d.ts.map +1 -1
- package/dist/esm/src/user-modules/room.js +8 -1
- package/dist/esm/src/user-modules/room.js.map +1 -1
- 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 +3 -1
- package/dist/esm/src/wechaty/wechaty-impl.spec.js.map +1 -1
- package/dist/esm/src/wechaty-mixins/login-mixin.d.ts +9 -9
- 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 +8 -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 +3 -1
- 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 +24 -23
- package/src/package-json.ts +4 -4
- package/src/sayable/deliver-sayable.ts +6 -0
- package/src/sayable/types.ts +2 -0
- package/src/user-modules/douyin-one-click-phone-collection.ts +51 -0
- package/src/user-modules/mod.ts +8 -0
- package/src/user-modules/room.ts +8 -2
- package/src/wechaty/wechaty-impl.spec.ts +25 -22
- package/src/wechaty-mixins/wechatify-user-module-mixin.ts +50 -46
|
@@ -69,6 +69,29 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
69
69
|
__wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
|
|
70
70
|
__wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
|
|
71
71
|
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
72
|
+
/**
|
|
73
|
+
* Main bot class.
|
|
74
|
+
*
|
|
75
|
+
* A `Bot` is a WeChat client depends on which puppet you use.
|
|
76
|
+
* It may equals
|
|
77
|
+
* - web-WeChat, when you use: [puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)/[puppet-wechat4u](https://github.com/wechaty/wechaty-puppet-wechat4u)
|
|
78
|
+
* - ipad-WeChat, when you use: [puppet-padchat](https://github.com/wechaty/wechaty-puppet-padchat)
|
|
79
|
+
* - ios-WeChat, when you use: puppet-ioscat
|
|
80
|
+
*
|
|
81
|
+
* See more:
|
|
82
|
+
* - [What is a Puppet in Wechaty](https://github.com/wechaty/getting-started/wiki/FAQ#31-what-is-a-puppet-in-wechaty)
|
|
83
|
+
*
|
|
84
|
+
* > If you want to know how to send message, see [Message](#Message) <br>
|
|
85
|
+
* > If you want to know how to get contact, see [Contact](#Contact)
|
|
86
|
+
*
|
|
87
|
+
* @example <caption>The World's Shortest ChatBot Code: 6 lines of JavaScript</caption>
|
|
88
|
+
* import { WechatyBuilder } from 'wechaty'
|
|
89
|
+
* const bot = WechatyBuilder.build()
|
|
90
|
+
* bot.on('scan', (qrCode, status) => console.log('https://wechaty.js.org/qrcode/' + encodeURIComponent(qrcode)))
|
|
91
|
+
* bot.on('login', user => console.log(`User ${user} logged in`))
|
|
92
|
+
* bot.on('message', message => console.log(`Message: ${message}`))
|
|
93
|
+
* bot.start()
|
|
94
|
+
*/
|
|
72
95
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
73
96
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
74
97
|
__wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
|
|
@@ -78,6 +101,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
78
101
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
79
102
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
80
103
|
__wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
|
|
104
|
+
__wechatifiedDouyinOneClickPhoneCollection?: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor | undefined;
|
|
81
105
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
82
106
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
83
107
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -100,6 +124,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
100
124
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
101
125
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
102
126
|
readonly Wecom: import("../user-modules/wecom.js").WecomConstructor;
|
|
127
|
+
readonly DouyinOneClickPhoneCollection: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor;
|
|
103
128
|
__io?: import("../io.js").Io | undefined;
|
|
104
129
|
readonly io: import("../io.js").Io;
|
|
105
130
|
__ioToken?: string | undefined;
|
|
@@ -155,6 +180,29 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
155
180
|
__wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
|
|
156
181
|
__wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
|
|
157
182
|
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
183
|
+
/**
|
|
184
|
+
* Main bot class.
|
|
185
|
+
*
|
|
186
|
+
* A `Bot` is a WeChat client depends on which puppet you use.
|
|
187
|
+
* It may equals
|
|
188
|
+
* - web-WeChat, when you use: [puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)/[puppet-wechat4u](https://github.com/wechaty/wechaty-puppet-wechat4u)
|
|
189
|
+
* - ipad-WeChat, when you use: [puppet-padchat](https://github.com/wechaty/wechaty-puppet-padchat)
|
|
190
|
+
* - ios-WeChat, when you use: puppet-ioscat
|
|
191
|
+
*
|
|
192
|
+
* See more:
|
|
193
|
+
* - [What is a Puppet in Wechaty](https://github.com/wechaty/getting-started/wiki/FAQ#31-what-is-a-puppet-in-wechaty)
|
|
194
|
+
*
|
|
195
|
+
* > If you want to know how to send message, see [Message](#Message) <br>
|
|
196
|
+
* > If you want to know how to get contact, see [Contact](#Contact)
|
|
197
|
+
*
|
|
198
|
+
* @example <caption>The World's Shortest ChatBot Code: 6 lines of JavaScript</caption>
|
|
199
|
+
* import { WechatyBuilder } from 'wechaty'
|
|
200
|
+
* const bot = WechatyBuilder.build()
|
|
201
|
+
* bot.on('scan', (qrCode, status) => console.log('https://wechaty.js.org/qrcode/' + encodeURIComponent(qrcode)))
|
|
202
|
+
* bot.on('login', user => console.log(`User ${user} logged in`))
|
|
203
|
+
* bot.on('message', message => console.log(`Message: ${message}`))
|
|
204
|
+
* bot.start()
|
|
205
|
+
*/
|
|
158
206
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
159
207
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
160
208
|
__wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
|
|
@@ -164,6 +212,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
164
212
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
165
213
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
166
214
|
__wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
|
|
215
|
+
__wechatifiedDouyinOneClickPhoneCollection?: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor | undefined;
|
|
167
216
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
168
217
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
169
218
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -186,6 +235,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
186
235
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
187
236
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
188
237
|
readonly Wecom: import("../user-modules/wecom.js").WecomConstructor;
|
|
238
|
+
readonly DouyinOneClickPhoneCollection: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor;
|
|
189
239
|
wrapAsync: import("gerror/dist/esm/src/wrap-async-error/wrap-async-error.js").WrapAsync;
|
|
190
240
|
emitError(e: any): void;
|
|
191
241
|
__io?: import("../io.js").Io | undefined;
|
|
@@ -245,6 +295,29 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
245
295
|
__wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
|
|
246
296
|
__wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
|
|
247
297
|
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
298
|
+
/**
|
|
299
|
+
* Main bot class.
|
|
300
|
+
*
|
|
301
|
+
* A `Bot` is a WeChat client depends on which puppet you use.
|
|
302
|
+
* It may equals
|
|
303
|
+
* - web-WeChat, when you use: [puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)/[puppet-wechat4u](https://github.com/wechaty/wechaty-puppet-wechat4u)
|
|
304
|
+
* - ipad-WeChat, when you use: [puppet-padchat](https://github.com/wechaty/wechaty-puppet-padchat)
|
|
305
|
+
* - ios-WeChat, when you use: puppet-ioscat
|
|
306
|
+
*
|
|
307
|
+
* See more:
|
|
308
|
+
* - [What is a Puppet in Wechaty](https://github.com/wechaty/getting-started/wiki/FAQ#31-what-is-a-puppet-in-wechaty)
|
|
309
|
+
*
|
|
310
|
+
* > If you want to know how to send message, see [Message](#Message) <br>
|
|
311
|
+
* > If you want to know how to get contact, see [Contact](#Contact)
|
|
312
|
+
*
|
|
313
|
+
* @example <caption>The World's Shortest ChatBot Code: 6 lines of JavaScript</caption>
|
|
314
|
+
* import { WechatyBuilder } from 'wechaty'
|
|
315
|
+
* const bot = WechatyBuilder.build()
|
|
316
|
+
* bot.on('scan', (qrCode, status) => console.log('https://wechaty.js.org/qrcode/' + encodeURIComponent(qrcode)))
|
|
317
|
+
* bot.on('login', user => console.log(`User ${user} logged in`))
|
|
318
|
+
* bot.on('message', message => console.log(`Message: ${message}`))
|
|
319
|
+
* bot.start()
|
|
320
|
+
*/
|
|
248
321
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
249
322
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
250
323
|
__wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
|
|
@@ -254,6 +327,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
254
327
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
255
328
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
256
329
|
__wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
|
|
330
|
+
__wechatifiedDouyinOneClickPhoneCollection?: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor | undefined;
|
|
257
331
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
258
332
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
259
333
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -276,6 +350,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
276
350
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
277
351
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
278
352
|
readonly Wecom: import("../user-modules/wecom.js").WecomConstructor;
|
|
353
|
+
readonly DouyinOneClickPhoneCollection: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor;
|
|
279
354
|
wrapAsync: import("gerror/dist/esm/src/wrap-async-error/wrap-async-error.js").WrapAsync;
|
|
280
355
|
emitError(e: any): void;
|
|
281
356
|
__io?: import("../io.js").Io | undefined;
|
|
@@ -307,6 +382,29 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
307
382
|
__wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
|
|
308
383
|
__wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
|
|
309
384
|
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
385
|
+
/**
|
|
386
|
+
* Main bot class.
|
|
387
|
+
*
|
|
388
|
+
* A `Bot` is a WeChat client depends on which puppet you use.
|
|
389
|
+
* It may equals
|
|
390
|
+
* - web-WeChat, when you use: [puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)/[puppet-wechat4u](https://github.com/wechaty/wechaty-puppet-wechat4u)
|
|
391
|
+
* - ipad-WeChat, when you use: [puppet-padchat](https://github.com/wechaty/wechaty-puppet-padchat)
|
|
392
|
+
* - ios-WeChat, when you use: puppet-ioscat
|
|
393
|
+
*
|
|
394
|
+
* See more:
|
|
395
|
+
* - [What is a Puppet in Wechaty](https://github.com/wechaty/getting-started/wiki/FAQ#31-what-is-a-puppet-in-wechaty)
|
|
396
|
+
*
|
|
397
|
+
* > If you want to know how to send message, see [Message](#Message) <br>
|
|
398
|
+
* > If you want to know how to get contact, see [Contact](#Contact)
|
|
399
|
+
*
|
|
400
|
+
* @example <caption>The World's Shortest ChatBot Code: 6 lines of JavaScript</caption>
|
|
401
|
+
* import { WechatyBuilder } from 'wechaty'
|
|
402
|
+
* const bot = WechatyBuilder.build()
|
|
403
|
+
* bot.on('scan', (qrCode, status) => console.log('https://wechaty.js.org/qrcode/' + encodeURIComponent(qrcode)))
|
|
404
|
+
* bot.on('login', user => console.log(`User ${user} logged in`))
|
|
405
|
+
* bot.on('message', message => console.log(`Message: ${message}`))
|
|
406
|
+
* bot.start()
|
|
407
|
+
*/
|
|
310
408
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
311
409
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
312
410
|
__wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
|
|
@@ -316,6 +414,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
316
414
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
317
415
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
318
416
|
__wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
|
|
417
|
+
__wechatifiedDouyinOneClickPhoneCollection?: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor | undefined;
|
|
319
418
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
320
419
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
321
420
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -338,6 +437,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
338
437
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
339
438
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
340
439
|
readonly Wecom: import("../user-modules/wecom.js").WecomConstructor;
|
|
440
|
+
readonly DouyinOneClickPhoneCollection: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor;
|
|
341
441
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
342
442
|
readonly id: string;
|
|
343
443
|
__memory?: import("memory-card").MemoryCard | undefined;
|
|
@@ -412,6 +512,29 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
412
512
|
__wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
|
|
413
513
|
__wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
|
|
414
514
|
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
515
|
+
/**
|
|
516
|
+
* Main bot class.
|
|
517
|
+
*
|
|
518
|
+
* A `Bot` is a WeChat client depends on which puppet you use.
|
|
519
|
+
* It may equals
|
|
520
|
+
* - web-WeChat, when you use: [puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)/[puppet-wechat4u](https://github.com/wechaty/wechaty-puppet-wechat4u)
|
|
521
|
+
* - ipad-WeChat, when you use: [puppet-padchat](https://github.com/wechaty/wechaty-puppet-padchat)
|
|
522
|
+
* - ios-WeChat, when you use: puppet-ioscat
|
|
523
|
+
*
|
|
524
|
+
* See more:
|
|
525
|
+
* - [What is a Puppet in Wechaty](https://github.com/wechaty/getting-started/wiki/FAQ#31-what-is-a-puppet-in-wechaty)
|
|
526
|
+
*
|
|
527
|
+
* > If you want to know how to send message, see [Message](#Message) <br>
|
|
528
|
+
* > If you want to know how to get contact, see [Contact](#Contact)
|
|
529
|
+
*
|
|
530
|
+
* @example <caption>The World's Shortest ChatBot Code: 6 lines of JavaScript</caption>
|
|
531
|
+
* import { WechatyBuilder } from 'wechaty'
|
|
532
|
+
* const bot = WechatyBuilder.build()
|
|
533
|
+
* bot.on('scan', (qrCode, status) => console.log('https://wechaty.js.org/qrcode/' + encodeURIComponent(qrcode)))
|
|
534
|
+
* bot.on('login', user => console.log(`User ${user} logged in`))
|
|
535
|
+
* bot.on('message', message => console.log(`Message: ${message}`))
|
|
536
|
+
* bot.start()
|
|
537
|
+
*/
|
|
415
538
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
416
539
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
417
540
|
__wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
|
|
@@ -421,6 +544,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
421
544
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
422
545
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
423
546
|
__wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
|
|
547
|
+
__wechatifiedDouyinOneClickPhoneCollection?: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor | undefined;
|
|
424
548
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
425
549
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
426
550
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -443,6 +567,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
443
567
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
444
568
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
445
569
|
readonly Wecom: import("../user-modules/wecom.js").WecomConstructor;
|
|
570
|
+
readonly DouyinOneClickPhoneCollection: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor;
|
|
446
571
|
init(): Promise<void>;
|
|
447
572
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
448
573
|
readonly id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wechaty-base.d.ts","sourceRoot":"","sources":["../../../../src/wechaty/wechaty-base.ts"],"names":[],"mappings":"AAuBA,OAAO,KAAK,MAAM,MAAM,sBAAsB,CAAA;AAQ9C,OAAO,KAAK,EACV,YAAY,EACZ,OAAO,EACR,MAAkC,mBAAmB,CAAA;AAWtD,OAAO,EACL,eAAe,EAChB,MAAkC,uBAAuB,CAAA;AAC1D,OAAO,KAAK,EACV,gBAAgB,EACjB,MAAkC,mBAAmB,CAAA;AACtD,OAAO,KAAK,EACV,cAAc,EACf,MAAkC,+BAA+B,CAAA;AAClE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AAE5D,QAAA,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"wechaty-base.d.ts","sourceRoot":"","sources":["../../../../src/wechaty/wechaty-base.ts"],"names":[],"mappings":"AAuBA,OAAO,KAAK,MAAM,MAAM,sBAAsB,CAAA;AAQ9C,OAAO,KAAK,EACV,YAAY,EACZ,OAAO,EACR,MAAkC,mBAAmB,CAAA;AAWtD,OAAO,EACL,eAAe,EAChB,MAAkC,uBAAuB,CAAA;AAC1D,OAAO,KAAK,EACV,gBAAgB,EACjB,MAAkC,mBAAmB,CAAA;AACtD,OAAO,KAAK,EACV,cAAc,EACf,MAAkC,+BAA+B,CAAA;AAClE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AAE5D,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAoCf;;;;;;;;;;;;;;;;;;;;;;OAsBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAtBH;;;;;;;;;;;;;;;;;;;;;;OAsBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAtBH;;;;;;;;;;;;;;;;;;;;;;OAsBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAtBH;;;;;;;;;;;;;;;;;;;;;;OAsBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAtBH;;;;;;;;;;;;;;;;;;;;;;OAsBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAzCF,CAAA;AAED;;;;GAIG;AAaH;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,cAAM,WAAY,SAAQ,SAAU,YAAW,YAAY;IAmD9C,SAAS,EAAE,cAAc;IAjDpC,gBAA2B,OAAO,SAAU;IAC5C,QAAQ,CAAC,OAAO,EAAG,gBAAgB,CAAA;IAEnC,QAAQ,CAAC,iBAAiB,EAAE,CAAC,MAAM,IAAI,CAAC,EAAE,CAAK;IAE/C;;;;;;;;;;;;;;;;;;;OAmBG;IAEH;;;;;;;;;;;;;;;OAeG;IAEH;;;;OAIG;gBAEQ,SAAS,GAAE,cAAmB;IAS1B,KAAK,IAAK,OAAO,CAAC,IAAI,CAAC;IAMvB,OAAO,IAAK,OAAO,CAAC,IAAI,CAAC;IAmBzB,MAAM,IAAK,OAAO,CAAC,IAAI,CAAC;IAgBvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAoDG;IAEG,GAAG,CACP,OAAO,EAAE,OAAO,GACf,OAAO,CAAC,IAAI,CAAC;IAKV,OAAO,CACX,IAAI,EAAE,aAAa,GAClB,OAAO,CAAC,IAAI,GAAG,aAAa,CAAC;IAY1B,SAAS,CACb,IAAI,EAAE,aAAa,GAClB,OAAO,CAAC,IAAI,CAAC;IAYV,eAAe,CACnB,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,MAAM,GACX,OAAO,CAAC,IAAI,CAAC;IAMV,gBAAgB,CACpB,EAAE,EAAE,MAAM,GACT,OAAO,CAAC,IAAI,CAAC;IAMV,aAAa,IAChB,OAAO,CAAC,IAAI,CAAC;CAUjB;AAED,aAAK,4BAA4B,GAE7B,oBAAoB,GACpB,gCAAgC,GAChC,SAAS,GACT,SAAS,GACT,QAAQ,CAAA;AAEZ,YAAY,EACV,4BAA4B,GAC7B,CAAA;AACD,OAAO,EACL,WAAW,GACZ,CAAA"}
|
|
@@ -31,6 +31,7 @@ test('Wechaty interface', async (t) => {
|
|
|
31
31
|
CallRecord;
|
|
32
32
|
ChatHistory;
|
|
33
33
|
Wecom;
|
|
34
|
+
DouyinOneClickPhoneCollection;
|
|
34
35
|
constructor() {
|
|
35
36
|
super();
|
|
36
37
|
// this.puppet
|
|
@@ -56,7 +57,8 @@ test('Wechaty interface', async (t) => {
|
|
|
56
57
|
= this.CallRecord
|
|
57
58
|
= this.ChatHistory
|
|
58
59
|
= this.Wecom
|
|
59
|
-
=
|
|
60
|
+
= this.DouyinOneClickPhoneCollection
|
|
61
|
+
= {};
|
|
60
62
|
}
|
|
61
63
|
}
|
|
62
64
|
const WechatyTest = WechatyImplementation;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wechaty-impl.spec.js","sourceRoot":"","sources":["../../../../src/wechaty/wechaty-impl.spec.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,OAAO,UAAU,MAAM,2BAA2B,CAAA;AAElD,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAA;
|
|
1
|
+
{"version":3,"file":"wechaty-impl.spec.js","sourceRoot":"","sources":["../../../../src/wechaty/wechaty-impl.spec.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,OAAO,UAAU,MAAM,2BAA2B,CAAA;AAElD,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAA;AA6BlE,OAAO;AAGL,6BAA6B;AAC7B,WAAW;AACX,sBAAsB;EACvB,MAA4B,mBAAmB,CAAA;AAEhD,IAAI,CAAC,mBAAmB,EAAE,KAAK,EAAC,CAAC,EAAC,EAAE;IAClC,MAAe,qBAAsB,SAAQ,mBAAmB;QAE9D,OAAO,CAA2C;QAClD,WAAW,CAA2C;QACtD,KAAK,CAA2C;QAChD,UAAU,CAA2C;QACrD,KAAK,CAA2C;QAChD,QAAQ,CAA2C;QACnD,OAAO,CAA2C;QAClD,WAAW,CAA2C;QACtD,IAAI,CAA2C;QAC/C,IAAI,CAA2C;QAC/C,cAAc,CAA2C;QACzD,GAAG,CAA2C;QAC9C,QAAQ,CAA2C;QACnD,OAAO,CAA2C;QAClD,OAAO,CAA2C;QAClD,WAAW,CAA2C;QACtD,WAAW,CAA2C;QACtD,4BAA4B,CAA2C;QACvE,MAAM,CAA2C;QACjD,UAAU,CAA2C;QACrD,WAAW,CAA2C;QACtD,KAAK,CAA2C;QAChD,6BAA6B,CAA2C;QAExE;YACE,KAAK,EAAE,CAAA;YACP,cAAc;YACd,IAAI,CAAC,OAAO;kBACR,IAAI,CAAC,WAAW;sBAChB,IAAI,CAAC,KAAK;0BACV,IAAI,CAAC,UAAU;8BACf,IAAI,CAAC,KAAK;kCACV,IAAI,CAAC,QAAQ;sCACb,IAAI,CAAC,OAAO;0CACZ,IAAI,CAAC,WAAW;8CAChB,IAAI,CAAC,IAAI;kDACT,IAAI,CAAC,IAAI;sDACT,IAAI,CAAC,cAAc;0DACnB,IAAI,CAAC,GAAG;8DACR,IAAI,CAAC,QAAQ;kEACb,IAAI,CAAC,OAAO;sEACZ,IAAI,CAAC,OAAO;0EACZ,IAAI,CAAC,WAAW;8EAChB,IAAI,CAAC,WAAW;kFAChB,IAAI,CAAC,4BAA4B;sFACjC,IAAI,CAAC,MAAM;0FACX,IAAI,CAAC,UAAU;8FACf,IAAI,CAAC,WAAW;kGAChB,IAAI,CAAC,KAAK;sGACV,IAAI,CAAC,6BAA6B;0GAClC,EAAS,CAAA;QACf,CAAC;KA6BF;IAED,MAAM,WAAW,GAAG,qBAAsD,CAAA;IAC1E,MAAM,CAAC,GAAqB,IAAI,WAAW,EAAE,CAAA;IAC7C,CAAC,CAAC,EAAE,CAAC,SAAS,EAAE,CAAC,GAAqB,EAAE,EAAE;QACxC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IACpC,CAAC,CAAC,CAAA;IAEF,CAAC,CAAC,EAAE,CAAC,OAAO,qBAAqB,EAAE,wBAAwB,CAAC,CAAA;AAC9D,CAAC,CAAC,CAAA;AAEF,2CAA2C;AAC3C,gCAAgC;AAChC,wCAAwC;AAExC,2FAA2F;AAC3F,qEAAqE;AAErE,uCAAuC;AACvC,kFAAkF;AAClF,KAAK;AAEL,IAAI,CAAC,+BAA+B,EAAE,KAAK,EAAC,CAAC,EAAC,EAAE;IAC9C,MAAM,MAAM,GAAI,IAAI,UAAU,EAAS,CAAA;IACvC,MAAM,OAAO,GAAG,IAAI,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC,CAAA;IAC3C,CAAC,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE,sDAAsD,CAAC,CAAA;IAEtF,MAAM,OAAO,CAAC,IAAI,EAAE,CAAA;IACpB,CAAC,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE,yDAAyD,CAAC,CAAA;IAC/F,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE,4DAA4D,CAAC,CAAA;AACpF,CAAC,CAAC,CAAA"}
|
|
@@ -21,9 +21,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
21
21
|
__wechatifiedMiniProgram?: import("../user-modules/mini-program.js").MiniProgramConstructor | undefined;
|
|
22
22
|
__wechatifiedPost?: import("../user-modules/post.js").PostConstructor | undefined;
|
|
23
23
|
__wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
|
|
24
|
-
__wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
|
|
25
|
-
* @deprecated: use `isLoggedIn` property instead. will be removed after Dec 31, 2022
|
|
26
|
-
*/
|
|
24
|
+
__wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
|
|
27
25
|
__wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
|
|
28
26
|
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
29
27
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
@@ -35,6 +33,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
35
33
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
36
34
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
37
35
|
__wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
|
|
36
|
+
__wechatifiedDouyinOneClickPhoneCollection?: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor | undefined;
|
|
38
37
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
39
38
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
40
39
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -57,6 +56,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
57
56
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
58
57
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
59
58
|
readonly Wecom: import("../user-modules/wecom.js").WecomConstructor;
|
|
59
|
+
readonly DouyinOneClickPhoneCollection: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor;
|
|
60
60
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
61
61
|
readonly id: string;
|
|
62
62
|
__memory?: import("memory-card").MemoryCard | undefined;
|
|
@@ -96,9 +96,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
96
96
|
__wechatifiedMiniProgram?: import("../user-modules/mini-program.js").MiniProgramConstructor | undefined;
|
|
97
97
|
__wechatifiedPost?: import("../user-modules/post.js").PostConstructor | undefined;
|
|
98
98
|
__wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
|
|
99
|
-
__wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
|
|
100
|
-
* @deprecated: use `isLoggedIn` property instead. will be removed after Dec 31, 2022
|
|
101
|
-
*/
|
|
99
|
+
__wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
|
|
102
100
|
__wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
|
|
103
101
|
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
104
102
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
@@ -110,6 +108,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
110
108
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
111
109
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
112
110
|
__wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
|
|
111
|
+
__wechatifiedDouyinOneClickPhoneCollection?: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor | undefined;
|
|
113
112
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
114
113
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
115
114
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -132,6 +131,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
132
131
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
133
132
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
134
133
|
readonly Wecom: import("../user-modules/wecom.js").WecomConstructor;
|
|
134
|
+
readonly DouyinOneClickPhoneCollection: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor;
|
|
135
135
|
init(): Promise<void>;
|
|
136
136
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
137
137
|
readonly id: string;
|
|
@@ -301,9 +301,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
301
301
|
__wechatifiedMiniProgram?: import("../user-modules/mini-program.js").MiniProgramConstructor | undefined;
|
|
302
302
|
__wechatifiedPost?: import("../user-modules/post.js").PostConstructor | undefined;
|
|
303
303
|
__wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
|
|
304
|
-
__wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
|
|
305
|
-
* @deprecated: use `isLoggedIn` property instead. will be removed after Dec 31, 2022
|
|
306
|
-
*/
|
|
304
|
+
__wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
|
|
307
305
|
__wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
|
|
308
306
|
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
309
307
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
@@ -315,6 +313,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
315
313
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
316
314
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
317
315
|
__wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
|
|
316
|
+
__wechatifiedDouyinOneClickPhoneCollection?: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor | undefined;
|
|
318
317
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
319
318
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
320
319
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -337,6 +336,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
337
336
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
338
337
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
339
338
|
readonly Wecom: import("../user-modules/wecom.js").WecomConstructor;
|
|
339
|
+
readonly DouyinOneClickPhoneCollection: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor;
|
|
340
340
|
wrapAsync: import("gerror/dist/esm/src/wrap-async-error/wrap-async-error.js").WrapAsync;
|
|
341
341
|
emitError(e: any): void;
|
|
342
342
|
__io?: import("../io.js").Io | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login-mixin.d.ts","sourceRoot":"","sources":["../../../../src/wechaty-mixins/login-mixin.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAEV,oBAAoB,EACrB,MAAoC,wBAAwB,CAAA;AAC7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAKxD,QAAA,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"login-mixin.d.ts","sourceRoot":"","sources":["../../../../src/wechaty-mixins/login-mixin.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAEV,oBAAoB,EACrB,MAAoC,wBAAwB,CAAA;AAC7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAKxD,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sDAgDU,GAAG,EAAE;;IAvC3B;;;;;;;OAOG;;IAMH;;;;;;;;;;OAUG;;;YAqBqB,QAAQ,IAAI,CAAC;IAUrC;;;;;;OAMG;oBACoB,MAAM,GAAG,QAAQ,IAAI,CAAC;IAK7C;;OAEG;gBACU,OAAO;IAKpB;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAWN,CAAA;AAED,aAAK,UAAU,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,CAAA;AAE/C,aAAK,2BAA2B,GAC5B,UAAU,GACV,UAAU,GACV,oBAAoB,CAAA;AAExB,YAAY,EACV,UAAU,EACV,2BAA2B,GAC5B,CAAA;AACD,OAAO,EACL,UAAU,GACX,CAAA"}
|
|
@@ -32,6 +32,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
32
32
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
33
33
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
34
34
|
__wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
|
|
35
|
+
__wechatifiedDouyinOneClickPhoneCollection?: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor | undefined;
|
|
35
36
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
36
37
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
37
38
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -54,6 +55,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
54
55
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
55
56
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
56
57
|
readonly Wecom: import("../user-modules/wecom.js").WecomConstructor;
|
|
58
|
+
readonly DouyinOneClickPhoneCollection: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor;
|
|
57
59
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
58
60
|
readonly id: string;
|
|
59
61
|
__memory?: import("memory-card").MemoryCard | undefined;
|
|
@@ -107,6 +109,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
107
109
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
108
110
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
109
111
|
__wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
|
|
112
|
+
__wechatifiedDouyinOneClickPhoneCollection?: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor | undefined;
|
|
110
113
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
111
114
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
112
115
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -129,6 +132,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
129
132
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
130
133
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
131
134
|
readonly Wecom: import("../user-modules/wecom.js").WecomConstructor;
|
|
135
|
+
readonly DouyinOneClickPhoneCollection: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor;
|
|
132
136
|
init(): Promise<void>;
|
|
133
137
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
134
138
|
readonly id: string;
|
|
@@ -305,6 +309,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
305
309
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
306
310
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
307
311
|
__wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
|
|
312
|
+
__wechatifiedDouyinOneClickPhoneCollection?: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor | undefined;
|
|
308
313
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
309
314
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
310
315
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -327,6 +332,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
327
332
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
328
333
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
329
334
|
readonly Wecom: import("../user-modules/wecom.js").WecomConstructor;
|
|
335
|
+
readonly DouyinOneClickPhoneCollection: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor;
|
|
330
336
|
wrapAsync: import("gerror/dist/esm/src/wrap-async-error/wrap-async-error.js").WrapAsync;
|
|
331
337
|
emitError(e: any): void;
|
|
332
338
|
__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"}
|
|
@@ -110,6 +110,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
110
110
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
111
111
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
112
112
|
__wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
|
|
113
|
+
__wechatifiedDouyinOneClickPhoneCollection?: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor | undefined;
|
|
113
114
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
114
115
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
115
116
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -132,6 +133,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
132
133
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
133
134
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
134
135
|
readonly Wecom: import("../user-modules/wecom.js").WecomConstructor;
|
|
136
|
+
readonly DouyinOneClickPhoneCollection: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor;
|
|
135
137
|
wrapAsync: import("gerror/dist/esm/src/wrap-async-error/wrap-async-error.js").WrapAsync;
|
|
136
138
|
emitError(e: any): void;
|
|
137
139
|
__io?: import("../io.js").Io | undefined;
|
|
@@ -172,6 +174,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
172
174
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
173
175
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
174
176
|
__wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
|
|
177
|
+
__wechatifiedDouyinOneClickPhoneCollection?: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor | undefined;
|
|
175
178
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
176
179
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
177
180
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -194,6 +197,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
194
197
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
195
198
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
196
199
|
readonly Wecom: import("../user-modules/wecom.js").WecomConstructor;
|
|
200
|
+
readonly DouyinOneClickPhoneCollection: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor;
|
|
197
201
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
198
202
|
readonly id: string;
|
|
199
203
|
__memory?: import("memory-card").MemoryCard | undefined;
|
|
@@ -245,6 +249,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
245
249
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
246
250
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
247
251
|
__wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
|
|
252
|
+
__wechatifiedDouyinOneClickPhoneCollection?: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor | undefined;
|
|
248
253
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
249
254
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
250
255
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -267,6 +272,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
267
272
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
268
273
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
269
274
|
readonly Wecom: import("../user-modules/wecom.js").WecomConstructor;
|
|
275
|
+
readonly DouyinOneClickPhoneCollection: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor;
|
|
270
276
|
init(): Promise<void>;
|
|
271
277
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
272
278
|
readonly id: string;
|
|
@@ -425,6 +431,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
425
431
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
426
432
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
427
433
|
__wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
|
|
434
|
+
__wechatifiedDouyinOneClickPhoneCollection?: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor | undefined;
|
|
428
435
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
429
436
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
430
437
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -447,6 +454,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
447
454
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
448
455
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
449
456
|
readonly Wecom: import("../user-modules/wecom.js").WecomConstructor;
|
|
457
|
+
readonly DouyinOneClickPhoneCollection: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor;
|
|
450
458
|
__io?: import("../io.js").Io | undefined;
|
|
451
459
|
readonly io: import("../io.js").Io;
|
|
452
460
|
__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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sDAtBmB,GAAG,EAAE;IAI3B;;;;;;;;;;;;;;;;;;OAkBG;oBAEW,CACV,aAAa,GAAG,aAAa,EAAE,CAChC,EAAE,GACF,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAvB3B;;;;;;;;;;;;;;;;;;OAkBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkCN,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"}
|
|
@@ -31,6 +31,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
|
|
|
31
31
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
32
32
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
33
33
|
__wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
|
|
34
|
+
__wechatifiedDouyinOneClickPhoneCollection?: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor | undefined;
|
|
34
35
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
35
36
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
36
37
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -53,6 +54,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
|
|
|
53
54
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
54
55
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
55
56
|
readonly Wecom: import("../user-modules/wecom.js").WecomConstructor;
|
|
57
|
+
readonly DouyinOneClickPhoneCollection: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor;
|
|
56
58
|
init(): Promise<void>;
|
|
57
59
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
58
60
|
readonly id: string;
|
|
@@ -173,6 +175,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
|
|
|
173
175
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
174
176
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
175
177
|
__wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
|
|
178
|
+
__wechatifiedDouyinOneClickPhoneCollection?: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor | undefined;
|
|
176
179
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
177
180
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
178
181
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -195,6 +198,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
|
|
|
195
198
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
196
199
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
197
200
|
readonly Wecom: import("../user-modules/wecom.js").WecomConstructor;
|
|
201
|
+
readonly DouyinOneClickPhoneCollection: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor;
|
|
198
202
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
199
203
|
readonly id: string;
|
|
200
204
|
__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;AAwBtB;;;;;;;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;AAwBtB;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+gBnE,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, ChannelCardConstructor, ConsultCardConstructor, PremiumOnlineAppointmentCardConstructor, MomentConstructor, CallRecordConstructor, ChatHistoryConstructor, WecomConstructor } from '../user-modules/mod.js';
|
|
1
|
+
import { ContactConstructor, ContactSelfConstructor, DelayConstructor, FriendshipConstructor, ImageConstructor, LocationConstructor, MessageConstructor, MiniProgramConstructor, PostConstructor, RoomConstructor, RoomInvitationConstructor, TagConstructor, TagGroupConstructor, UrlLinkConstructor, ChannelConstructor, ChannelCardConstructor, ConsultCardConstructor, PremiumOnlineAppointmentCardConstructor, MomentConstructor, CallRecordConstructor, ChatHistoryConstructor, WecomConstructor, DouyinOneClickPhoneCollectionConstructor } 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;
|
|
@@ -23,6 +23,7 @@ declare const wechatifyUserModuleMixin: <MixinBase extends typeof WechatySkeleto
|
|
|
23
23
|
__wechatifiedCallRecord?: CallRecordConstructor | undefined;
|
|
24
24
|
__wechatifiedChatHistory?: ChatHistoryConstructor | undefined;
|
|
25
25
|
__wechatifiedWecom?: WecomConstructor | undefined;
|
|
26
|
+
__wechatifiedDouyinOneClickPhoneCollection?: DouyinOneClickPhoneCollectionConstructor | undefined;
|
|
26
27
|
readonly Contact: ContactConstructor;
|
|
27
28
|
readonly ContactSelf: ContactSelfConstructor;
|
|
28
29
|
readonly Delay: DelayConstructor;
|
|
@@ -45,6 +46,7 @@ declare const wechatifyUserModuleMixin: <MixinBase extends typeof WechatySkeleto
|
|
|
45
46
|
readonly CallRecord: CallRecordConstructor;
|
|
46
47
|
readonly ChatHistory: ChatHistoryConstructor;
|
|
47
48
|
readonly Wecom: WecomConstructor;
|
|
49
|
+
readonly DouyinOneClickPhoneCollection: DouyinOneClickPhoneCollectionConstructor;
|
|
48
50
|
init(): Promise<void>;
|
|
49
51
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
50
52
|
readonly id: string;
|
|
@@ -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,EAyBL,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,sBAAsB,EACtB,sBAAsB,EACtB,uCAAuC,EACvC,iBAAiB,EACjB,qBAAqB,EACrB,sBAAsB,EACtB,gBAAgB,EAChB,wCAAwC,EAEzC,MAA4B,wBAAwB,CAAA;AAErD,OAAO,KAAK,EACV,eAAe,EAChB,MAAkC,mBAAmB,CAAA;AAEtD,QAAA,MAAM,wBAAwB,+FAKJ,GAAG,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAqDH,QAAQ,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;cAkDxC,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,0BAA0B,GAC1B,0BAA0B,GAC1B,2CAA2C,GAC3C,qBAAqB,GACrB,yBAAyB,GACzB,0BAA0B,GAC1B,oBAAoB,CAAA;AAExB,YAAY,EACV,wBAAwB,EACxB,yCAAyC,GAC1C,CAAA;AACD,OAAO,EACL,wBAAwB,GACzB,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { log } from '@juzi/wechaty-puppet';
|
|
2
|
-
import { ContactImpl, ContactSelfImpl, DelayImpl, FriendshipImpl, ImageImpl, LocationImpl, MessageImpl, MiniProgramImpl, PostImpl, RoomImpl, RoomInvitationImpl, TagImpl, TagGroupImpl, UrlLinkImpl, ChannelImpl, ChannelCardImpl, ConsultCardImpl, PremiumOnlineAppointmentCardImpl, MomentImpl, CallRecordImpl, ChatHistoryImpl, WecomImpl, wechatifyUserModule, } from '../user-modules/mod.js';
|
|
2
|
+
import { ContactImpl, ContactSelfImpl, DelayImpl, FriendshipImpl, ImageImpl, LocationImpl, MessageImpl, MiniProgramImpl, PostImpl, RoomImpl, RoomInvitationImpl, TagImpl, TagGroupImpl, UrlLinkImpl, ChannelImpl, ChannelCardImpl, ConsultCardImpl, PremiumOnlineAppointmentCardImpl, MomentImpl, CallRecordImpl, ChatHistoryImpl, WecomImpl, DouyinOneClickPhoneCollectionImpl, wechatifyUserModule, } from '../user-modules/mod.js';
|
|
3
3
|
const wechatifyUserModuleMixin = (mixinBase) => {
|
|
4
4
|
log.verbose('WechatifyUserModuleMixin', 'wechatifyUserModuleMixin(%s)', mixinBase.name);
|
|
5
5
|
class WechatifyUserModuleMixin extends mixinBase {
|
|
@@ -29,6 +29,7 @@ const wechatifyUserModuleMixin = (mixinBase) => {
|
|
|
29
29
|
__wechatifiedCallRecord;
|
|
30
30
|
__wechatifiedChatHistory;
|
|
31
31
|
__wechatifiedWecom;
|
|
32
|
+
__wechatifiedDouyinOneClickPhoneCollection;
|
|
32
33
|
get Contact() { return guardWechatify(this.__wechatifiedContact); }
|
|
33
34
|
get ContactSelf() { return guardWechatify(this.__wechatifiedContactSelf); }
|
|
34
35
|
get Delay() { return guardWechatify(this.__wechatifiedDelay); }
|
|
@@ -51,6 +52,7 @@ const wechatifyUserModuleMixin = (mixinBase) => {
|
|
|
51
52
|
get CallRecord() { return guardWechatify(this.__wechatifiedCallRecord); }
|
|
52
53
|
get ChatHistory() { return guardWechatify(this.__wechatifiedChatHistory); }
|
|
53
54
|
get Wecom() { return guardWechatify(this.__wechatifiedWecom); }
|
|
55
|
+
get DouyinOneClickPhoneCollection() { return guardWechatify(this.__wechatifiedDouyinOneClickPhoneCollection); }
|
|
54
56
|
async init() {
|
|
55
57
|
log.verbose('WechatifyUserModuleMixin', 'init()');
|
|
56
58
|
await super.init();
|
|
@@ -90,6 +92,7 @@ const wechatifyUserModuleMixin = (mixinBase) => {
|
|
|
90
92
|
this.__wechatifiedCallRecord = wechatifyUserModule(CallRecordImpl)(this);
|
|
91
93
|
this.__wechatifiedChatHistory = wechatifyUserModule(ChatHistoryImpl)(this);
|
|
92
94
|
this.__wechatifiedWecom = wechatifyUserModule(WecomImpl)(this);
|
|
95
|
+
this.__wechatifiedDouyinOneClickPhoneCollection = wechatifyUserModule(DouyinOneClickPhoneCollectionImpl)(this);
|
|
93
96
|
log.verbose('WechatifyUserModuleMixin', 'init() initializing Wechaty User Module (WUM) ... done');
|
|
94
97
|
}
|
|
95
98
|
}
|