@juzi/wechaty 1.0.70 → 1.0.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/src/package-json.js +4 -4
- package/dist/cjs/src/user-modules/call.d.ts +2 -2
- package/dist/cjs/src/user-modules/call.d.ts.map +1 -1
- package/dist/cjs/src/user-modules/call.js +6 -4
- package/dist/cjs/src/user-modules/call.js.map +1 -1
- package/dist/cjs/src/user-modules/chat-history.d.ts +39 -0
- package/dist/cjs/src/user-modules/chat-history.d.ts.map +1 -0
- package/dist/cjs/src/user-modules/chat-history.js +91 -0
- package/dist/cjs/src/user-modules/chat-history.js.map +1 -0
- package/dist/cjs/src/user-modules/message.d.ts +2 -0
- package/dist/cjs/src/user-modules/message.d.ts.map +1 -1
- package/dist/cjs/src/user-modules/message.js +11 -0
- package/dist/cjs/src/user-modules/message.js.map +1 -1
- 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/wechaty/wechaty-base.d.ts +10 -115
- 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 +6 -12
- 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 +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/package-json.js +4 -4
- package/dist/esm/src/user-modules/call.d.ts +2 -2
- package/dist/esm/src/user-modules/call.d.ts.map +1 -1
- package/dist/esm/src/user-modules/call.js +6 -4
- package/dist/esm/src/user-modules/call.js.map +1 -1
- package/dist/esm/src/user-modules/chat-history.d.ts +39 -0
- package/dist/esm/src/user-modules/chat-history.d.ts.map +1 -0
- package/dist/esm/src/user-modules/chat-history.js +65 -0
- package/dist/esm/src/user-modules/chat-history.js.map +1 -0
- package/dist/esm/src/user-modules/message.d.ts +2 -0
- package/dist/esm/src/user-modules/message.d.ts.map +1 -1
- package/dist/esm/src/user-modules/message.js +11 -0
- package/dist/esm/src/user-modules/message.js.map +1 -1
- 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/wechaty/wechaty-base.d.ts +10 -115
- 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 +6 -12
- 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 +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/package-json.ts +4 -4
- package/src/user-modules/call.ts +7 -4
- package/src/user-modules/chat-history.ts +99 -0
- package/src/user-modules/message.ts +16 -0
- package/src/user-modules/mod.ts +8 -0
- package/src/wechaty/wechaty-impl.spec.ts +3 -0
- package/src/wechaty-mixins/wechatify-user-module-mixin.ts +7 -1
|
@@ -73,31 +73,9 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
73
73
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
74
74
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
75
75
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
76
|
+
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
76
77
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
77
78
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
78
|
-
/**
|
|
79
|
-
* Main bot class.
|
|
80
|
-
*
|
|
81
|
-
* A `Bot` is a WeChat client depends on which puppet you use.
|
|
82
|
-
* It may equals
|
|
83
|
-
* - web-WeChat, when you use: [puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)/[puppet-wechat4u](https://github.com/wechaty/wechaty-puppet-wechat4u)
|
|
84
|
-
* - ipad-WeChat, when you use: [puppet-padchat](https://github.com/wechaty/wechaty-puppet-padchat)
|
|
85
|
-
* - ios-WeChat, when you use: puppet-ioscat
|
|
86
|
-
*
|
|
87
|
-
* See more:
|
|
88
|
-
* - [What is a Puppet in Wechaty](https://github.com/wechaty/getting-started/wiki/FAQ#31-what-is-a-puppet-in-wechaty)
|
|
89
|
-
*
|
|
90
|
-
* > If you want to know how to send message, see [Message](#Message) <br>
|
|
91
|
-
* > If you want to know how to get contact, see [Contact](#Contact)
|
|
92
|
-
*
|
|
93
|
-
* @example <caption>The World's Shortest ChatBot Code: 6 lines of JavaScript</caption>
|
|
94
|
-
* import { WechatyBuilder } from 'wechaty'
|
|
95
|
-
* const bot = WechatyBuilder.build()
|
|
96
|
-
* bot.on('scan', (qrCode, status) => console.log('https://wechaty.js.org/qrcode/' + encodeURIComponent(qrcode)))
|
|
97
|
-
* bot.on('login', user => console.log(`User ${user} logged in`))
|
|
98
|
-
* bot.on('message', message => console.log(`Message: ${message}`))
|
|
99
|
-
* bot.start()
|
|
100
|
-
*/
|
|
101
79
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
102
80
|
readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
|
|
103
81
|
readonly Image: import("../user-modules/image.js").ImageConstructor;
|
|
@@ -113,6 +91,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
113
91
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
114
92
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
115
93
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
94
|
+
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
116
95
|
__io?: import("../io.js").Io | undefined;
|
|
117
96
|
readonly io: import("../io.js").Io;
|
|
118
97
|
__ioToken?: string | undefined;
|
|
@@ -172,31 +151,9 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
172
151
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
173
152
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
174
153
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
154
|
+
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
175
155
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
176
156
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
177
|
-
/**
|
|
178
|
-
* Main bot class.
|
|
179
|
-
*
|
|
180
|
-
* A `Bot` is a WeChat client depends on which puppet you use.
|
|
181
|
-
* It may equals
|
|
182
|
-
* - web-WeChat, when you use: [puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)/[puppet-wechat4u](https://github.com/wechaty/wechaty-puppet-wechat4u)
|
|
183
|
-
* - ipad-WeChat, when you use: [puppet-padchat](https://github.com/wechaty/wechaty-puppet-padchat)
|
|
184
|
-
* - ios-WeChat, when you use: puppet-ioscat
|
|
185
|
-
*
|
|
186
|
-
* See more:
|
|
187
|
-
* - [What is a Puppet in Wechaty](https://github.com/wechaty/getting-started/wiki/FAQ#31-what-is-a-puppet-in-wechaty)
|
|
188
|
-
*
|
|
189
|
-
* > If you want to know how to send message, see [Message](#Message) <br>
|
|
190
|
-
* > If you want to know how to get contact, see [Contact](#Contact)
|
|
191
|
-
*
|
|
192
|
-
* @example <caption>The World's Shortest ChatBot Code: 6 lines of JavaScript</caption>
|
|
193
|
-
* import { WechatyBuilder } from 'wechaty'
|
|
194
|
-
* const bot = WechatyBuilder.build()
|
|
195
|
-
* bot.on('scan', (qrCode, status) => console.log('https://wechaty.js.org/qrcode/' + encodeURIComponent(qrcode)))
|
|
196
|
-
* bot.on('login', user => console.log(`User ${user} logged in`))
|
|
197
|
-
* bot.on('message', message => console.log(`Message: ${message}`))
|
|
198
|
-
* bot.start()
|
|
199
|
-
*/
|
|
200
157
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
201
158
|
readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
|
|
202
159
|
readonly Image: import("../user-modules/image.js").ImageConstructor;
|
|
@@ -212,6 +169,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
212
169
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
213
170
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
214
171
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
172
|
+
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
215
173
|
wrapAsync: import("gerror/dist/esm/src/wrap-async-error/wrap-async-error.js").WrapAsync;
|
|
216
174
|
emitError(e: any): void;
|
|
217
175
|
__io?: import("../io.js").Io | undefined;
|
|
@@ -275,31 +233,9 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
275
233
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
276
234
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
277
235
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
236
|
+
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
278
237
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
279
238
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
280
|
-
/**
|
|
281
|
-
* Main bot class.
|
|
282
|
-
*
|
|
283
|
-
* A `Bot` is a WeChat client depends on which puppet you use.
|
|
284
|
-
* It may equals
|
|
285
|
-
* - web-WeChat, when you use: [puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)/[puppet-wechat4u](https://github.com/wechaty/wechaty-puppet-wechat4u)
|
|
286
|
-
* - ipad-WeChat, when you use: [puppet-padchat](https://github.com/wechaty/wechaty-puppet-padchat)
|
|
287
|
-
* - ios-WeChat, when you use: puppet-ioscat
|
|
288
|
-
*
|
|
289
|
-
* See more:
|
|
290
|
-
* - [What is a Puppet in Wechaty](https://github.com/wechaty/getting-started/wiki/FAQ#31-what-is-a-puppet-in-wechaty)
|
|
291
|
-
*
|
|
292
|
-
* > If you want to know how to send message, see [Message](#Message) <br>
|
|
293
|
-
* > If you want to know how to get contact, see [Contact](#Contact)
|
|
294
|
-
*
|
|
295
|
-
* @example <caption>The World's Shortest ChatBot Code: 6 lines of JavaScript</caption>
|
|
296
|
-
* import { WechatyBuilder } from 'wechaty'
|
|
297
|
-
* const bot = WechatyBuilder.build()
|
|
298
|
-
* bot.on('scan', (qrCode, status) => console.log('https://wechaty.js.org/qrcode/' + encodeURIComponent(qrcode)))
|
|
299
|
-
* bot.on('login', user => console.log(`User ${user} logged in`))
|
|
300
|
-
* bot.on('message', message => console.log(`Message: ${message}`))
|
|
301
|
-
* bot.start()
|
|
302
|
-
*/
|
|
303
239
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
304
240
|
readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
|
|
305
241
|
readonly Image: import("../user-modules/image.js").ImageConstructor;
|
|
@@ -315,6 +251,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
315
251
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
316
252
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
317
253
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
254
|
+
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
318
255
|
wrapAsync: import("gerror/dist/esm/src/wrap-async-error/wrap-async-error.js").WrapAsync;
|
|
319
256
|
emitError(e: any): void;
|
|
320
257
|
__io?: import("../io.js").Io | undefined;
|
|
@@ -350,31 +287,9 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
350
287
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
351
288
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
352
289
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
290
|
+
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
353
291
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
354
292
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
355
|
-
/**
|
|
356
|
-
* Main bot class.
|
|
357
|
-
*
|
|
358
|
-
* A `Bot` is a WeChat client depends on which puppet you use.
|
|
359
|
-
* It may equals
|
|
360
|
-
* - web-WeChat, when you use: [puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)/[puppet-wechat4u](https://github.com/wechaty/wechaty-puppet-wechat4u)
|
|
361
|
-
* - ipad-WeChat, when you use: [puppet-padchat](https://github.com/wechaty/wechaty-puppet-padchat)
|
|
362
|
-
* - ios-WeChat, when you use: puppet-ioscat
|
|
363
|
-
*
|
|
364
|
-
* See more:
|
|
365
|
-
* - [What is a Puppet in Wechaty](https://github.com/wechaty/getting-started/wiki/FAQ#31-what-is-a-puppet-in-wechaty)
|
|
366
|
-
*
|
|
367
|
-
* > If you want to know how to send message, see [Message](#Message) <br>
|
|
368
|
-
* > If you want to know how to get contact, see [Contact](#Contact)
|
|
369
|
-
*
|
|
370
|
-
* @example <caption>The World's Shortest ChatBot Code: 6 lines of JavaScript</caption>
|
|
371
|
-
* import { WechatyBuilder } from 'wechaty'
|
|
372
|
-
* const bot = WechatyBuilder.build()
|
|
373
|
-
* bot.on('scan', (qrCode, status) => console.log('https://wechaty.js.org/qrcode/' + encodeURIComponent(qrcode)))
|
|
374
|
-
* bot.on('login', user => console.log(`User ${user} logged in`))
|
|
375
|
-
* bot.on('message', message => console.log(`Message: ${message}`))
|
|
376
|
-
* bot.start()
|
|
377
|
-
*/
|
|
378
293
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
379
294
|
readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
|
|
380
295
|
readonly Image: import("../user-modules/image.js").ImageConstructor;
|
|
@@ -390,6 +305,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
390
305
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
391
306
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
392
307
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
308
|
+
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
393
309
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
394
310
|
readonly id: string;
|
|
395
311
|
__memory?: import("memory-card").MemoryCard | undefined;
|
|
@@ -468,31 +384,9 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
468
384
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
469
385
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
470
386
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
387
|
+
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
471
388
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
472
389
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
473
|
-
/**
|
|
474
|
-
* Main bot class.
|
|
475
|
-
*
|
|
476
|
-
* A `Bot` is a WeChat client depends on which puppet you use.
|
|
477
|
-
* It may equals
|
|
478
|
-
* - web-WeChat, when you use: [puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)/[puppet-wechat4u](https://github.com/wechaty/wechaty-puppet-wechat4u)
|
|
479
|
-
* - ipad-WeChat, when you use: [puppet-padchat](https://github.com/wechaty/wechaty-puppet-padchat)
|
|
480
|
-
* - ios-WeChat, when you use: puppet-ioscat
|
|
481
|
-
*
|
|
482
|
-
* See more:
|
|
483
|
-
* - [What is a Puppet in Wechaty](https://github.com/wechaty/getting-started/wiki/FAQ#31-what-is-a-puppet-in-wechaty)
|
|
484
|
-
*
|
|
485
|
-
* > If you want to know how to send message, see [Message](#Message) <br>
|
|
486
|
-
* > If you want to know how to get contact, see [Contact](#Contact)
|
|
487
|
-
*
|
|
488
|
-
* @example <caption>The World's Shortest ChatBot Code: 6 lines of JavaScript</caption>
|
|
489
|
-
* import { WechatyBuilder } from 'wechaty'
|
|
490
|
-
* const bot = WechatyBuilder.build()
|
|
491
|
-
* bot.on('scan', (qrCode, status) => console.log('https://wechaty.js.org/qrcode/' + encodeURIComponent(qrcode)))
|
|
492
|
-
* bot.on('login', user => console.log(`User ${user} logged in`))
|
|
493
|
-
* bot.on('message', message => console.log(`Message: ${message}`))
|
|
494
|
-
* bot.start()
|
|
495
|
-
*/
|
|
496
390
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
497
391
|
readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
|
|
498
392
|
readonly Image: import("../user-modules/image.js").ImageConstructor;
|
|
@@ -508,6 +402,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
508
402
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
509
403
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
510
404
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
405
|
+
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
511
406
|
init(): Promise<void>;
|
|
512
407
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
513
408
|
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,MA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27,7 @@ const wechaty_impl_js_1 = require("./wechaty-impl.js");
|
|
|
27
27
|
Channel;
|
|
28
28
|
Moment;
|
|
29
29
|
CallRecord;
|
|
30
|
+
ChatHistory;
|
|
30
31
|
constructor() {
|
|
31
32
|
super();
|
|
32
33
|
// this.puppet
|
|
@@ -47,7 +48,8 @@ const wechaty_impl_js_1 = require("./wechaty-impl.js");
|
|
|
47
48
|
= this.Channel
|
|
48
49
|
= this.Moment
|
|
49
50
|
= this.CallRecord
|
|
50
|
-
=
|
|
51
|
+
= this.ChatHistory
|
|
52
|
+
= {};
|
|
51
53
|
}
|
|
52
54
|
}
|
|
53
55
|
const WechatyTest = WechatyImplementation;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wechaty-impl.spec.js","sourceRoot":"","sources":["../../../../src/wechaty/wechaty-impl.spec.ts"],"names":[],"mappings":";;;;;;AACA,mCAA6B;AAC7B,oFAAkD;AAElD,oEAAkE;
|
|
1
|
+
{"version":3,"file":"wechaty-impl.spec.js","sourceRoot":"","sources":["../../../../src/wechaty/wechaty-impl.spec.ts"],"names":[],"mappings":";;;;;;AACA,mCAA6B;AAC7B,oFAAkD;AAElD,oEAAkE;AAwBlE,uDAMgD;AAEhD,IAAA,aAAI,EAAC,mBAAmB,EAAE,KAAK,EAAC,CAAC,EAAC,EAAE;IAClC,MAAe,qBAAsB,SAAQ,uCAAmB;QAE9D,OAAO,CAA4B;QACnC,WAAW,CAA4B;QACvC,KAAK,CAA4B;QACjC,UAAU,CAA4B;QACtC,KAAK,CAA4B;QACjC,QAAQ,CAA4B;QACpC,OAAO,CAA4B;QACnC,WAAW,CAA4B;QACvC,IAAI,CAA4B;QAChC,IAAI,CAA4B;QAChC,cAAc,CAA4B;QAC1C,GAAG,CAA4B;QAC/B,QAAQ,CAA4B;QACpC,OAAO,CAA4B;QACnC,OAAO,CAA4B;QACnC,MAAM,CAA4B;QAClC,UAAU,CAA4B;QACtC,WAAW,CAA4B;QAEvC;YACE,KAA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,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"}
|
|
@@ -28,13 +28,10 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
28
28
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
29
29
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
30
30
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
31
|
+
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | 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;
|
|
34
|
-
/**
|
|
35
|
-
* Will be removed after Dec 31, 2022
|
|
36
|
-
* @deprecated use {@link Wechaty#currentUser} instead
|
|
37
|
-
*/
|
|
38
35
|
readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
|
|
39
36
|
readonly Image: import("../user-modules/image.js").ImageConstructor;
|
|
40
37
|
readonly Location: import("../user-modules/location.js").LocationConstructor;
|
|
@@ -49,6 +46,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
49
46
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
50
47
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
51
48
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
49
|
+
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
52
50
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
53
51
|
readonly id: string;
|
|
54
52
|
__memory?: import("memory-card").MemoryCard | undefined;
|
|
@@ -95,13 +93,10 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
95
93
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
96
94
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
97
95
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
96
|
+
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
98
97
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
99
98
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
100
99
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
101
|
-
/**
|
|
102
|
-
* Will be removed after Dec 31, 2022
|
|
103
|
-
* @deprecated use {@link Wechaty#currentUser} instead
|
|
104
|
-
*/
|
|
105
100
|
readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
|
|
106
101
|
readonly Image: import("../user-modules/image.js").ImageConstructor;
|
|
107
102
|
readonly Location: import("../user-modules/location.js").LocationConstructor;
|
|
@@ -116,6 +111,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
116
111
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
117
112
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
118
113
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
114
|
+
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
119
115
|
init(): Promise<void>;
|
|
120
116
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
121
117
|
readonly id: string;
|
|
@@ -292,13 +288,10 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
292
288
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
293
289
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
294
290
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
291
|
+
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
295
292
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
296
293
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
297
294
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
298
|
-
/**
|
|
299
|
-
* Will be removed after Dec 31, 2022
|
|
300
|
-
* @deprecated use {@link Wechaty#currentUser} instead
|
|
301
|
-
*/
|
|
302
295
|
readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
|
|
303
296
|
readonly Image: import("../user-modules/image.js").ImageConstructor;
|
|
304
297
|
readonly Location: import("../user-modules/location.js").LocationConstructor;
|
|
@@ -313,6 +306,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
313
306
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
314
307
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
315
308
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
309
|
+
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
316
310
|
wrapAsync: import("gerror/dist/esm/src/wrap-async-error/wrap-async-error.js").WrapAsync;
|
|
317
311
|
emitError(e: any): void;
|
|
318
312
|
__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;cACc,QAAQ,IAAI,CAAC;IAK9B;;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"}
|
|
@@ -27,6 +27,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
27
27
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
28
28
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
29
29
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
30
|
+
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | 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;
|
|
@@ -44,6 +45,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
44
45
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
45
46
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
46
47
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
48
|
+
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
47
49
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
48
50
|
readonly id: string;
|
|
49
51
|
__memory?: import("memory-card").MemoryCard | undefined;
|
|
@@ -92,6 +94,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
92
94
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
93
95
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
94
96
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
97
|
+
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
95
98
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
96
99
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
97
100
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -109,6 +112,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
109
112
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
110
113
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
111
114
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
115
|
+
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
112
116
|
init(): Promise<void>;
|
|
113
117
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
114
118
|
readonly id: string;
|
|
@@ -280,6 +284,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
280
284
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
281
285
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
282
286
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
287
|
+
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
283
288
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
284
289
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
285
290
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -297,6 +302,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
297
302
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
298
303
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
299
304
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
305
|
+
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
300
306
|
wrapAsync: import("gerror/dist/esm/src/wrap-async-error/wrap-async-error.js").WrapAsync;
|
|
301
307
|
emitError(e: any): void;
|
|
302
308
|
__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"}
|
|
@@ -105,6 +105,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
105
105
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
106
106
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
107
107
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
108
|
+
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
108
109
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
109
110
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
110
111
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -122,6 +123,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
122
123
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
123
124
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
124
125
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
126
|
+
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
125
127
|
wrapAsync: import("gerror/dist/esm/src/wrap-async-error/wrap-async-error.js").WrapAsync;
|
|
126
128
|
emitError(e: any): void;
|
|
127
129
|
__io?: import("../io.js").Io | undefined;
|
|
@@ -157,6 +159,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
157
159
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
158
160
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
159
161
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
162
|
+
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
160
163
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
161
164
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
162
165
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -174,6 +177,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
174
177
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
175
178
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
176
179
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
180
|
+
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
177
181
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
178
182
|
readonly id: string;
|
|
179
183
|
__memory?: import("memory-card").MemoryCard | undefined;
|
|
@@ -220,6 +224,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
220
224
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
221
225
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
222
226
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
227
|
+
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
223
228
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
224
229
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
225
230
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -237,6 +242,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
237
242
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
238
243
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
239
244
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
245
|
+
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
240
246
|
init(): Promise<void>;
|
|
241
247
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
242
248
|
readonly id: string;
|
|
@@ -390,6 +396,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
390
396
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
391
397
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
392
398
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
399
|
+
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
393
400
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
394
401
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
395
402
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -407,6 +414,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
407
414
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
408
415
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
409
416
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
417
|
+
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
410
418
|
__io?: import("../io.js").Io | undefined;
|
|
411
419
|
readonly io: import("../io.js").Io;
|
|
412
420
|
__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;C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KAAK,WAAW,EAChB,KAAK,4BAA4B,EACjC,WAAW,GACZ,CAAA"}
|
|
@@ -26,6 +26,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
|
|
|
26
26
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
27
27
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
28
28
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
29
|
+
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
29
30
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
30
31
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
31
32
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -43,6 +44,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
|
|
|
43
44
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
44
45
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
45
46
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
47
|
+
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
46
48
|
init(): Promise<void>;
|
|
47
49
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
48
50
|
readonly id: string;
|
|
@@ -158,6 +160,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
|
|
|
158
160
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
159
161
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
160
162
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
163
|
+
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
161
164
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
162
165
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
163
166
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -175,6 +178,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
|
|
|
175
178
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
176
179
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
177
180
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
181
|
+
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
178
182
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
179
183
|
readonly id: string;
|
|
180
184
|
__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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwlBnE,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 } 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 } 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;
|
|
@@ -18,6 +18,7 @@ declare const wechatifyUserModuleMixin: <MixinBase extends typeof WechatySkeleto
|
|
|
18
18
|
__wechatifiedChannel?: ChannelConstructor | undefined;
|
|
19
19
|
__wechatifiedMoment?: MomentConstructor | undefined;
|
|
20
20
|
__wechatifiedCallRecord?: CallRecordConstructor | undefined;
|
|
21
|
+
__wechatifiedChatHistory?: ChatHistoryConstructor | undefined;
|
|
21
22
|
readonly Contact: ContactConstructor;
|
|
22
23
|
readonly ContactSelf: ContactSelfConstructor;
|
|
23
24
|
readonly Delay: DelayConstructor;
|
|
@@ -35,6 +36,7 @@ declare const wechatifyUserModuleMixin: <MixinBase extends typeof WechatySkeleto
|
|
|
35
36
|
readonly Channel: ChannelConstructor;
|
|
36
37
|
readonly Moment: MomentConstructor;
|
|
37
38
|
readonly CallRecord: CallRecordConstructor;
|
|
39
|
+
readonly ChatHistory: ChatHistoryConstructor;
|
|
38
40
|
init(): Promise<void>;
|
|
39
41
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
40
42
|
readonly id: string;
|
|
@@ -63,7 +65,7 @@ declare const wechatifyUserModuleMixin: <MixinBase extends typeof WechatySkeleto
|
|
|
63
65
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
64
66
|
}) & MixinBase;
|
|
65
67
|
declare type WechatifyUserModuleMixin = ReturnType<typeof wechatifyUserModuleMixin>;
|
|
66
|
-
declare type ProtectedPropertyWechatifyUserModuleMixin = '__wechatifiedContact' | '__wechatifiedContactSelf' | '__wechatifiedDelay' | '__wechatifiedFriendship' | '__wechatifiedImage' | '__wechatifiedLocation' | '__wechatifiedMessage' | '__wechatifiedMiniProgram' | '__wechatifiedRoom' | '__wechatifiedRoomInvitation' | '__wechatifiedTag' | '__wechatifiedTagGroup' | '__wechatifiedUrlLink' | '__wechatifiedChannel' | '__wechatifiedMoment' | '__wechatifiedCallRecord';
|
|
68
|
+
declare type ProtectedPropertyWechatifyUserModuleMixin = '__wechatifiedContact' | '__wechatifiedContactSelf' | '__wechatifiedDelay' | '__wechatifiedFriendship' | '__wechatifiedImage' | '__wechatifiedLocation' | '__wechatifiedMessage' | '__wechatifiedMiniProgram' | '__wechatifiedRoom' | '__wechatifiedRoomInvitation' | '__wechatifiedTag' | '__wechatifiedTagGroup' | '__wechatifiedUrlLink' | '__wechatifiedChannel' | '__wechatifiedMoment' | '__wechatifiedCallRecord' | '__wechatifiedChatHistory';
|
|
67
69
|
export type { WechatifyUserModuleMixin, ProtectedPropertyWechatifyUserModuleMixin, };
|
|
68
70
|
export { wechatifyUserModuleMixin, };
|
|
69
71
|
//# 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,EAoBL,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,EAGvB,MAA4B,wBAAwB,CAAA;AAErD,OAAO,KAAK,EACV,eAAe,EAChB,MAAkC,mBAAmB,CAAA;AAEtD,QAAA,MAAM,wBAAwB,+FAKJ,GAAG,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA2CH,QAAQ,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;cA6CxC,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,CAAA;AAE9B,YAAY,EACV,wBAAwB,EACxB,yCAAyC,GAC1C,CAAA;AACD,OAAO,EACL,wBAAwB,GACzB,CAAA"}
|
|
@@ -27,6 +27,7 @@ const wechatifyUserModuleMixin = (mixinBase) => {
|
|
|
27
27
|
__wechatifiedChannel;
|
|
28
28
|
__wechatifiedMoment;
|
|
29
29
|
__wechatifiedCallRecord;
|
|
30
|
+
__wechatifiedChatHistory;
|
|
30
31
|
get Contact() { return guardWechatify(this.__wechatifiedContact); }
|
|
31
32
|
get ContactSelf() { return guardWechatify(this.__wechatifiedContactSelf); }
|
|
32
33
|
get Delay() { return guardWechatify(this.__wechatifiedDelay); }
|
|
@@ -44,6 +45,7 @@ const wechatifyUserModuleMixin = (mixinBase) => {
|
|
|
44
45
|
get Channel() { return guardWechatify(this.__wechatifiedChannel); }
|
|
45
46
|
get Moment() { return guardWechatify(this.__wechatifiedMoment); }
|
|
46
47
|
get CallRecord() { return guardWechatify(this.__wechatifiedCallRecord); }
|
|
48
|
+
get ChatHistory() { return guardWechatify(this.__wechatifiedChatHistory); }
|
|
47
49
|
async init() {
|
|
48
50
|
wechaty_puppet_1.log.verbose('WechatifyUserModuleMixin', 'init()');
|
|
49
51
|
await super.init();
|
|
@@ -78,6 +80,7 @@ const wechatifyUserModuleMixin = (mixinBase) => {
|
|
|
78
80
|
this.__wechatifiedChannel = (0, mod_js_1.wechatifyUserModule)(mod_js_1.ChannelImpl)(this);
|
|
79
81
|
this.__wechatifiedMoment = (0, mod_js_1.wechatifyUserModule)(mod_js_1.MomentImpl)(this);
|
|
80
82
|
this.__wechatifiedCallRecord = (0, mod_js_1.wechatifyUserModule)(mod_js_1.CallRecordImpl)(this);
|
|
83
|
+
this.__wechatifiedChatHistory = (0, mod_js_1.wechatifyUserModule)(mod_js_1.ChatHistoryImpl)(this);
|
|
81
84
|
wechaty_puppet_1.log.verbose('WechatifyUserModuleMixin', 'init() initializing Wechaty User Module (WUM) ... done');
|
|
82
85
|
}
|
|
83
86
|
}
|
|
@@ -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-mixin.js","sourceRoot":"","sources":["../../../../src/wechaty-mixins/wechatify-user-module-mixin.ts"],"names":[],"mappings":";;;AAAA,yDAAmD;AAEnD,mDAwCqD;AAMrD,MAAM,wBAAwB,GAAG,CAA4C,SAAoB,EAAE,EAAE;IACnG,oBAAG,CAAC,OAAO,CAAC,0BAA0B,EAAE,8BAA8B,EAAE,SAAS,CAAC,IAAI,CAAC,CAAA;IAEvF,MAAe,wBAAyB,SAAQ,SAAS;QAEvD,YAAa,GAAG,IAAW;YACzB,oBAAG,CAAC,OAAO,CAAC,0BAA0B,EAAE,eAAe,CAAC,CAAA;YACxD,KAAK,CAAC,GAAG,IAAI,CAAC,CAAA;QAChB,CAAC;QAED,oBAAoB,CAA6B;QACjD,wBAAwB,CAA6B;QACrD,kBAAkB,CAA6B;QAC/C,uBAAuB,CAA6B;QACpD,kBAAkB,CAA6B;QAC/C,qBAAqB,CAA6B;QAClD,oBAAoB,CAA6B;QACjD,wBAAwB,CAA6B;QACrD,iBAAiB,CAA6B;QAC9C,iBAAiB,CAA6B;QAC9C,2BAA2B,CAA6B;QACxD,gBAAgB,CAA6B;QAC7C,qBAAqB,CAA6B;QAClD,oBAAoB,CAA6B;QACjD,oBAAoB,CAA6B;QACjD,mBAAmB,CAA6B;QAChD,uBAAuB,CAA6B;QACpD,wBAAwB,CAA6B;QAErD,IAAI,OAAO,KA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C,CAAA;AAsCC,4DAAwB;AApC1B;;GAEG;AACH,SAAS,cAAc,CAAsB,UAAc;IACzD,IAAI,UAAU,EAAE;QACd,OAAO,UAAU,CAAA;KAClB;IACD,MAAM,IAAI,KAAK,CAAC,8FAA8F,CAAC,CAAA;AACjH,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export const GIT_COMMIT_HASH = '
|
|
1
|
+
export const GIT_COMMIT_HASH = 'c382d2ef5ae8ffc20be4254bdfd2914e2696773a';
|
|
2
2
|
export const packageJson = {
|
|
3
3
|
"name": "@juzi/wechaty",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.72",
|
|
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.75",
|
|
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.66",
|
|
137
137
|
"@juzi/wechaty-puppet-mock": "^1.0.1",
|
|
138
138
|
"@swc/core": "1.3.44",
|
|
139
139
|
"@swc/helpers": "^0.3.6",
|