@juzi/wechaty 1.0.69 → 1.0.71
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 +2 -2
- package/dist/cjs/src/mods/impls.d.ts.map +1 -1
- package/dist/cjs/src/mods/impls.js +2 -1
- package/dist/cjs/src/mods/impls.js.map +1 -1
- package/dist/cjs/src/mods/users.d.ts +1 -1
- package/dist/cjs/src/mods/users.d.ts.map +1 -1
- package/dist/cjs/src/package-json.js +4 -4
- package/dist/cjs/src/user-modules/call.d.ts +34 -0
- package/dist/cjs/src/user-modules/call.d.ts.map +1 -0
- package/dist/cjs/src/user-modules/call.js +79 -0
- package/dist/cjs/src/user-modules/call.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 +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 +18 -0
- package/dist/cjs/src/wechaty-mixins/login-mixin.d.ts.map +1 -1
- package/dist/cjs/src/wechaty-mixins/misc-mixin.d.ts +9 -9
- 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/mods/impls.d.ts +2 -2
- package/dist/esm/src/mods/impls.d.ts.map +1 -1
- package/dist/esm/src/mods/impls.js +1 -1
- package/dist/esm/src/mods/impls.js.map +1 -1
- package/dist/esm/src/mods/users.d.ts +1 -1
- package/dist/esm/src/mods/users.d.ts.map +1 -1
- package/dist/esm/src/package-json.js +4 -4
- package/dist/esm/src/user-modules/call.d.ts +34 -0
- package/dist/esm/src/user-modules/call.d.ts.map +1 -0
- package/dist/esm/src/user-modules/call.js +53 -0
- package/dist/esm/src/user-modules/call.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 +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 +18 -0
- package/dist/esm/src/wechaty-mixins/login-mixin.d.ts.map +1 -1
- package/dist/esm/src/wechaty-mixins/misc-mixin.d.ts +9 -9
- 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/mods/impls.ts +2 -0
- package/src/mods/users.ts +1 -0
- package/src/package-json.ts +4 -4
- package/src/user-modules/call.ts +85 -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 +6 -0
|
@@ -72,8 +72,32 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
72
72
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
73
73
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
74
74
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
75
|
+
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
75
76
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
76
77
|
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
|
+
*/
|
|
77
101
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
78
102
|
readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
|
|
79
103
|
readonly Image: import("../user-modules/image.js").ImageConstructor;
|
|
@@ -88,6 +112,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
88
112
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
89
113
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
90
114
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
115
|
+
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
91
116
|
__io?: import("../io.js").Io | undefined;
|
|
92
117
|
readonly io: import("../io.js").Io;
|
|
93
118
|
__ioToken?: string | undefined;
|
|
@@ -146,8 +171,32 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
146
171
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
147
172
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
148
173
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
174
|
+
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
149
175
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
150
176
|
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
|
+
*/
|
|
151
200
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
152
201
|
readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
|
|
153
202
|
readonly Image: import("../user-modules/image.js").ImageConstructor;
|
|
@@ -162,6 +211,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
162
211
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
163
212
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
164
213
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
214
|
+
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
165
215
|
wrapAsync: import("gerror/dist/esm/src/wrap-async-error/wrap-async-error.js").WrapAsync;
|
|
166
216
|
emitError(e: any): void;
|
|
167
217
|
__io?: import("../io.js").Io | undefined;
|
|
@@ -224,8 +274,32 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
224
274
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
225
275
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
226
276
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
277
|
+
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
227
278
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
228
279
|
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
|
+
*/
|
|
229
303
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
230
304
|
readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
|
|
231
305
|
readonly Image: import("../user-modules/image.js").ImageConstructor;
|
|
@@ -240,6 +314,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
240
314
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
241
315
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
242
316
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
317
|
+
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
243
318
|
wrapAsync: import("gerror/dist/esm/src/wrap-async-error/wrap-async-error.js").WrapAsync;
|
|
244
319
|
emitError(e: any): void;
|
|
245
320
|
__io?: import("../io.js").Io | undefined;
|
|
@@ -274,8 +349,32 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
274
349
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
275
350
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
276
351
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
352
|
+
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
277
353
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
278
354
|
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
|
+
*/
|
|
279
378
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
280
379
|
readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
|
|
281
380
|
readonly Image: import("../user-modules/image.js").ImageConstructor;
|
|
@@ -290,6 +389,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
290
389
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
291
390
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
292
391
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
392
|
+
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
293
393
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
294
394
|
readonly id: string;
|
|
295
395
|
__memory?: import("memory-card").MemoryCard | undefined;
|
|
@@ -367,8 +467,32 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
367
467
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
368
468
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
369
469
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
470
|
+
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
370
471
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
371
472
|
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
|
+
*/
|
|
372
496
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
373
497
|
readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
|
|
374
498
|
readonly Image: import("../user-modules/image.js").ImageConstructor;
|
|
@@ -383,6 +507,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
383
507
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
384
508
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
385
509
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
510
|
+
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
386
511
|
init(): Promise<void>;
|
|
387
512
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
388
513
|
readonly id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wechaty-base.d.ts","sourceRoot":"","sources":["../../../../src/wechaty/wechaty-base.ts"],"names":[],"mappings":"AAuBA,OAAO,KA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,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"}
|
|
@@ -26,6 +26,7 @@ const wechaty_impl_js_1 = require("./wechaty-impl.js");
|
|
|
26
26
|
UrlLink;
|
|
27
27
|
Channel;
|
|
28
28
|
Moment;
|
|
29
|
+
CallRecord;
|
|
29
30
|
constructor() {
|
|
30
31
|
super();
|
|
31
32
|
// this.puppet
|
|
@@ -45,7 +46,8 @@ const wechaty_impl_js_1 = require("./wechaty-impl.js");
|
|
|
45
46
|
= this.UrlLink
|
|
46
47
|
= this.Channel
|
|
47
48
|
= this.Moment
|
|
48
|
-
=
|
|
49
|
+
= this.CallRecord
|
|
50
|
+
= {};
|
|
49
51
|
}
|
|
50
52
|
}
|
|
51
53
|
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;AAuBlE,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,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S,EAAE,8DAA8D,CAAC,CAAA;AACjF,CAAC,CAAC,CAAA;AAEF,IAAA,aAAI,EAAC,+BAA+B,EAAE,KAAK,EAAC,CAAC,EAAC,EAAE;IAC9C,MAAM,MAAM,GAAI,IAAI,6BAAU,EAAS,CAAA;IACvC,MAAM,OAAO,GAAG,IAAI,6BAAW,CAAC,EAAE,MAAM,EAAE,CAAC,CAAA;IAC3C,CAAC,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE,sDAAsD,CAAC,CAAA;IAEtF,MAAM,OAAO,CAAC,IAAI,EAAE,CAAA;IACpB,CAAC,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE,yDAAyD,CAAC,CAAA;IAC/F,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE,4DAA4D,CAAC,CAAA;AACpF,CAAC,CAAC,CAAA"}
|
|
@@ -27,9 +27,14 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
27
27
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
28
28
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
29
29
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
30
|
+
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | 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;
|
|
34
|
+
/**
|
|
35
|
+
* Will be removed after Dec 31, 2022
|
|
36
|
+
* @deprecated use {@link Wechaty#currentUser} instead
|
|
37
|
+
*/
|
|
33
38
|
readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
|
|
34
39
|
readonly Image: import("../user-modules/image.js").ImageConstructor;
|
|
35
40
|
readonly Location: import("../user-modules/location.js").LocationConstructor;
|
|
@@ -43,6 +48,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
43
48
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
44
49
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
45
50
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
51
|
+
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
46
52
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
47
53
|
readonly id: string;
|
|
48
54
|
__memory?: import("memory-card").MemoryCard | undefined;
|
|
@@ -88,9 +94,14 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
88
94
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
89
95
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
90
96
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
97
|
+
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
91
98
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
92
99
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
93
100
|
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
|
+
*/
|
|
94
105
|
readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
|
|
95
106
|
readonly Image: import("../user-modules/image.js").ImageConstructor;
|
|
96
107
|
readonly Location: import("../user-modules/location.js").LocationConstructor;
|
|
@@ -104,6 +115,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
104
115
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
105
116
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
106
117
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
118
|
+
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
107
119
|
init(): Promise<void>;
|
|
108
120
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
109
121
|
readonly id: string;
|
|
@@ -279,9 +291,14 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
279
291
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
280
292
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
281
293
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
294
|
+
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
282
295
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
283
296
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
284
297
|
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
|
+
*/
|
|
285
302
|
readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
|
|
286
303
|
readonly Image: import("../user-modules/image.js").ImageConstructor;
|
|
287
304
|
readonly Location: import("../user-modules/location.js").LocationConstructor;
|
|
@@ -295,6 +312,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
295
312
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
296
313
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
297
314
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
315
|
+
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
298
316
|
wrapAsync: import("gerror/dist/esm/src/wrap-async-error/wrap-async-error.js").WrapAsync;
|
|
299
317
|
emitError(e: any): void;
|
|
300
318
|
__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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAmFZ;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAHH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sDAtCmB,GAAG,EAAE;;IAvC3B;;;;;;;OAOG;;IAMH;;;;;;;;;;OAUG;;;YAqBqB,QAAQ,IAAI,CAAC;IAUrC;;;;;;OAMG;cACc,QAAQ,IAAI,CAAC;IAK9B;;OAEG;gBACU,OAAO;IAKpB;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAHH;;;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"}
|
|
@@ -16,9 +16,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
16
16
|
__wechatifiedFriendship?: import("../user-modules/friendship.js").FriendshipConstructor | undefined;
|
|
17
17
|
__wechatifiedImage?: import("../user-modules/image.js").ImageConstructor | undefined;
|
|
18
18
|
__wechatifiedLocation?: import("../user-modules/location.js").LocationConstructor | undefined;
|
|
19
|
-
__wechatifiedMessage?: import("../user-modules/message.js").MessageConstructor | undefined;
|
|
20
|
-
* @private
|
|
21
|
-
*/
|
|
19
|
+
__wechatifiedMessage?: import("../user-modules/message.js").MessageConstructor | undefined;
|
|
22
20
|
__wechatifiedMiniProgram?: import("../user-modules/mini-program.js").MiniProgramConstructor | undefined;
|
|
23
21
|
__wechatifiedPost?: import("../user-modules/post.js").PostConstructor | undefined;
|
|
24
22
|
__wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
|
|
@@ -28,6 +26,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
28
26
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
29
27
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
30
28
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
29
|
+
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
31
30
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
32
31
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
33
32
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -44,6 +43,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
44
43
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
45
44
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
46
45
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
46
|
+
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
47
47
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
48
48
|
readonly id: string;
|
|
49
49
|
__memory?: import("memory-card").MemoryCard | undefined;
|
|
@@ -81,9 +81,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
81
81
|
__wechatifiedFriendship?: import("../user-modules/friendship.js").FriendshipConstructor | undefined;
|
|
82
82
|
__wechatifiedImage?: import("../user-modules/image.js").ImageConstructor | undefined;
|
|
83
83
|
__wechatifiedLocation?: import("../user-modules/location.js").LocationConstructor | undefined;
|
|
84
|
-
__wechatifiedMessage?: import("../user-modules/message.js").MessageConstructor | undefined;
|
|
85
|
-
* @private
|
|
86
|
-
*/
|
|
84
|
+
__wechatifiedMessage?: import("../user-modules/message.js").MessageConstructor | undefined;
|
|
87
85
|
__wechatifiedMiniProgram?: import("../user-modules/mini-program.js").MiniProgramConstructor | undefined;
|
|
88
86
|
__wechatifiedPost?: import("../user-modules/post.js").PostConstructor | undefined;
|
|
89
87
|
__wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
|
|
@@ -93,6 +91,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
93
91
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
94
92
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
95
93
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
94
|
+
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
96
95
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
97
96
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
98
97
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -109,6 +108,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
109
108
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
110
109
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
111
110
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
111
|
+
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
112
112
|
init(): Promise<void>;
|
|
113
113
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
114
114
|
readonly id: string;
|
|
@@ -269,9 +269,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
269
269
|
__wechatifiedFriendship?: import("../user-modules/friendship.js").FriendshipConstructor | undefined;
|
|
270
270
|
__wechatifiedImage?: import("../user-modules/image.js").ImageConstructor | undefined;
|
|
271
271
|
__wechatifiedLocation?: import("../user-modules/location.js").LocationConstructor | undefined;
|
|
272
|
-
__wechatifiedMessage?: import("../user-modules/message.js").MessageConstructor | undefined;
|
|
273
|
-
* @private
|
|
274
|
-
*/
|
|
272
|
+
__wechatifiedMessage?: import("../user-modules/message.js").MessageConstructor | undefined;
|
|
275
273
|
__wechatifiedMiniProgram?: import("../user-modules/mini-program.js").MiniProgramConstructor | undefined;
|
|
276
274
|
__wechatifiedPost?: import("../user-modules/post.js").PostConstructor | undefined;
|
|
277
275
|
__wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
|
|
@@ -281,6 +279,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
281
279
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
282
280
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
283
281
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
282
|
+
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
284
283
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
285
284
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
286
285
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -297,6 +296,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
297
296
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
298
297
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
299
298
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
299
|
+
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
300
300
|
wrapAsync: import("gerror/dist/esm/src/wrap-async-error/wrap-async-error.js").WrapAsync;
|
|
301
301
|
emitError(e: any): void;
|
|
302
302
|
__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"}
|
|
@@ -104,6 +104,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
104
104
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
105
105
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
106
106
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
107
|
+
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
107
108
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
108
109
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
109
110
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -120,6 +121,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
120
121
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
121
122
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
122
123
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
124
|
+
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
123
125
|
wrapAsync: import("gerror/dist/esm/src/wrap-async-error/wrap-async-error.js").WrapAsync;
|
|
124
126
|
emitError(e: any): void;
|
|
125
127
|
__io?: import("../io.js").Io | undefined;
|
|
@@ -154,6 +156,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
154
156
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
155
157
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
156
158
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
159
|
+
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
157
160
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
158
161
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
159
162
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -170,6 +173,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
170
173
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
171
174
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
172
175
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
176
|
+
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
173
177
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
174
178
|
readonly id: string;
|
|
175
179
|
__memory?: import("memory-card").MemoryCard | undefined;
|
|
@@ -215,6 +219,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
215
219
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
216
220
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
217
221
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
222
|
+
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
218
223
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
219
224
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
220
225
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -231,6 +236,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
231
236
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
232
237
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
233
238
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
239
|
+
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
234
240
|
init(): Promise<void>;
|
|
235
241
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
236
242
|
readonly id: string;
|
|
@@ -383,6 +389,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
383
389
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
384
390
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
385
391
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
392
|
+
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
386
393
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
387
394
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
388
395
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -399,6 +406,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
399
406
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
400
407
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
401
408
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
409
|
+
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
402
410
|
__io?: import("../io.js").Io | undefined;
|
|
403
411
|
readonly io: import("../io.js").Io;
|
|
404
412
|
__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"}
|
|
@@ -25,6 +25,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
|
|
|
25
25
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
26
26
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
27
27
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
28
|
+
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
28
29
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
29
30
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
30
31
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -41,6 +42,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
|
|
|
41
42
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
42
43
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
43
44
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
45
|
+
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
44
46
|
init(): Promise<void>;
|
|
45
47
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
46
48
|
readonly id: string;
|
|
@@ -155,6 +157,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
|
|
|
155
157
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
156
158
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
157
159
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
160
|
+
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
158
161
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
159
162
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
160
163
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -171,6 +174,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
|
|
|
171
174
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
172
175
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
173
176
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
177
|
+
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
174
178
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
175
179
|
readonly id: string;
|
|
176
180
|
__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 } from '../user-modules/mod.js';
|
|
1
|
+
import { ContactConstructor, ContactSelfConstructor, DelayConstructor, FriendshipConstructor, ImageConstructor, LocationConstructor, MessageConstructor, MiniProgramConstructor, PostConstructor, RoomConstructor, RoomInvitationConstructor, TagConstructor, TagGroupConstructor, UrlLinkConstructor, ChannelConstructor, MomentConstructor, CallRecordConstructor } 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;
|
|
@@ -17,6 +17,7 @@ declare const wechatifyUserModuleMixin: <MixinBase extends typeof WechatySkeleto
|
|
|
17
17
|
__wechatifiedUrlLink?: UrlLinkConstructor | undefined;
|
|
18
18
|
__wechatifiedChannel?: ChannelConstructor | undefined;
|
|
19
19
|
__wechatifiedMoment?: MomentConstructor | undefined;
|
|
20
|
+
__wechatifiedCallRecord?: CallRecordConstructor | undefined;
|
|
20
21
|
readonly Contact: ContactConstructor;
|
|
21
22
|
readonly ContactSelf: ContactSelfConstructor;
|
|
22
23
|
readonly Delay: DelayConstructor;
|
|
@@ -33,6 +34,7 @@ declare const wechatifyUserModuleMixin: <MixinBase extends typeof WechatySkeleto
|
|
|
33
34
|
readonly UrlLink: UrlLinkConstructor;
|
|
34
35
|
readonly Channel: ChannelConstructor;
|
|
35
36
|
readonly Moment: MomentConstructor;
|
|
37
|
+
readonly CallRecord: CallRecordConstructor;
|
|
36
38
|
init(): Promise<void>;
|
|
37
39
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
38
40
|
readonly id: string;
|
|
@@ -61,7 +63,7 @@ declare const wechatifyUserModuleMixin: <MixinBase extends typeof WechatySkeleto
|
|
|
61
63
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
62
64
|
}) & MixinBase;
|
|
63
65
|
declare type WechatifyUserModuleMixin = ReturnType<typeof wechatifyUserModuleMixin>;
|
|
64
|
-
declare type ProtectedPropertyWechatifyUserModuleMixin = '__wechatifiedContact' | '__wechatifiedContactSelf' | '__wechatifiedDelay' | '__wechatifiedFriendship' | '__wechatifiedImage' | '__wechatifiedLocation' | '__wechatifiedMessage' | '__wechatifiedMiniProgram' | '__wechatifiedRoom' | '__wechatifiedRoomInvitation' | '__wechatifiedTag' | '__wechatifiedTagGroup' | '__wechatifiedUrlLink' | '__wechatifiedChannel' | '__wechatifiedMoment';
|
|
66
|
+
declare type ProtectedPropertyWechatifyUserModuleMixin = '__wechatifiedContact' | '__wechatifiedContactSelf' | '__wechatifiedDelay' | '__wechatifiedFriendship' | '__wechatifiedImage' | '__wechatifiedLocation' | '__wechatifiedMessage' | '__wechatifiedMiniProgram' | '__wechatifiedRoom' | '__wechatifiedRoomInvitation' | '__wechatifiedTag' | '__wechatifiedTagGroup' | '__wechatifiedUrlLink' | '__wechatifiedChannel' | '__wechatifiedMoment' | '__wechatifiedCallRecord';
|
|
65
67
|
export type { WechatifyUserModuleMixin, ProtectedPropertyWechatifyUserModuleMixin, };
|
|
66
68
|
export { wechatifyUserModuleMixin, };
|
|
67
69
|
//# 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,EAmBL,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,EAGtB,MAA4B,wBAAwB,CAAA;AAErD,OAAO,KAAK,EACV,eAAe,EAChB,MAAkC,mBAAmB,CAAA;AAEtD,QAAA,MAAM,wBAAwB,+FAKJ,GAAG,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAyCH,QAAQ,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;cA4CxC,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,CAAA;AAE7B,YAAY,EACV,wBAAwB,EACxB,yCAAyC,GAC1C,CAAA;AACD,OAAO,EACL,wBAAwB,GACzB,CAAA"}
|
|
@@ -26,6 +26,7 @@ const wechatifyUserModuleMixin = (mixinBase) => {
|
|
|
26
26
|
__wechatifiedUrlLink;
|
|
27
27
|
__wechatifiedChannel;
|
|
28
28
|
__wechatifiedMoment;
|
|
29
|
+
__wechatifiedCallRecord;
|
|
29
30
|
get Contact() { return guardWechatify(this.__wechatifiedContact); }
|
|
30
31
|
get ContactSelf() { return guardWechatify(this.__wechatifiedContactSelf); }
|
|
31
32
|
get Delay() { return guardWechatify(this.__wechatifiedDelay); }
|
|
@@ -42,6 +43,7 @@ const wechatifyUserModuleMixin = (mixinBase) => {
|
|
|
42
43
|
get UrlLink() { return guardWechatify(this.__wechatifiedUrlLink); }
|
|
43
44
|
get Channel() { return guardWechatify(this.__wechatifiedChannel); }
|
|
44
45
|
get Moment() { return guardWechatify(this.__wechatifiedMoment); }
|
|
46
|
+
get CallRecord() { return guardWechatify(this.__wechatifiedCallRecord); }
|
|
45
47
|
async init() {
|
|
46
48
|
wechaty_puppet_1.log.verbose('WechatifyUserModuleMixin', 'init()');
|
|
47
49
|
await super.init();
|
|
@@ -75,6 +77,7 @@ const wechatifyUserModuleMixin = (mixinBase) => {
|
|
|
75
77
|
this.__wechatifiedUrlLink = (0, mod_js_1.wechatifyUserModule)(mod_js_1.UrlLinkImpl)(this);
|
|
76
78
|
this.__wechatifiedChannel = (0, mod_js_1.wechatifyUserModule)(mod_js_1.ChannelImpl)(this);
|
|
77
79
|
this.__wechatifiedMoment = (0, mod_js_1.wechatifyUserModule)(mod_js_1.MomentImpl)(this);
|
|
80
|
+
this.__wechatifiedCallRecord = (0, mod_js_1.wechatifyUserModule)(mod_js_1.CallRecordImpl)(this);
|
|
78
81
|
wechaty_puppet_1.log.verbose('WechatifyUserModuleMixin', 'init() initializing Wechaty User Module (WUM) ... done');
|
|
79
82
|
}
|
|
80
83
|
}
|
|
@@ -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,mDAsCqD;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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