@juzi/wechaty 1.0.115 → 1.0.116
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/src/mods/impls.d.ts +3 -3
- package/dist/cjs/src/mods/impls.d.ts.map +1 -1
- package/dist/cjs/src/mods/impls.js +2 -1
- package/dist/cjs/src/mods/impls.js.map +1 -1
- package/dist/cjs/src/mods/users.d.ts +1 -1
- package/dist/cjs/src/mods/users.d.ts.map +1 -1
- package/dist/cjs/src/package-json.js +3 -3
- package/dist/cjs/src/sayable/deliver-sayable.d.ts.map +1 -1
- package/dist/cjs/src/sayable/deliver-sayable.js +3 -0
- package/dist/cjs/src/sayable/deliver-sayable.js.map +1 -1
- package/dist/cjs/src/sayable/message-to-sayable.d.ts.map +1 -1
- package/dist/cjs/src/sayable/message-to-sayable.js +2 -0
- package/dist/cjs/src/sayable/message-to-sayable.js.map +1 -1
- package/dist/cjs/src/sayable/payload-to-sayable.d.ts.map +1 -1
- package/dist/cjs/src/sayable/payload-to-sayable.js +2 -0
- package/dist/cjs/src/sayable/payload-to-sayable.js.map +1 -1
- package/dist/cjs/src/sayable/sayable-to-payload.d.ts.map +1 -1
- package/dist/cjs/src/sayable/sayable-to-payload.js +3 -0
- package/dist/cjs/src/sayable/sayable-to-payload.js.map +1 -1
- package/dist/cjs/src/sayable/types.d.ts +2 -2
- package/dist/cjs/src/sayable/types.d.ts.map +1 -1
- package/dist/cjs/src/sayable/types.js.map +1 -1
- package/dist/cjs/src/user-modules/consult-card.d.ts +42 -0
- package/dist/cjs/src/user-modules/consult-card.d.ts.map +1 -0
- package/dist/cjs/src/user-modules/consult-card.js +63 -0
- package/dist/cjs/src/user-modules/consult-card.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 +11 -346
- package/dist/cjs/src/wechaty/wechaty-base.d.ts.map +1 -1
- package/dist/cjs/src/wechaty/wechaty-base.js +1 -1
- package/dist/cjs/src/wechaty/wechaty-impl.spec.js +7 -5
- package/dist/cjs/src/wechaty/wechaty-impl.spec.js.map +1 -1
- package/dist/cjs/src/wechaty-mixins/login-mixin.d.ts +6 -0
- 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 +24 -2
- package/dist/cjs/src/wechaty-mixins/puppet-mixin.d.ts.map +1 -1
- package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.d.ts +4 -2
- package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.d.ts.map +1 -1
- package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.js +3 -0
- package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.js.map +1 -1
- package/dist/esm/src/mods/impls.d.ts +3 -3
- package/dist/esm/src/mods/impls.d.ts.map +1 -1
- package/dist/esm/src/mods/impls.js +1 -1
- package/dist/esm/src/mods/impls.js.map +1 -1
- package/dist/esm/src/mods/users.d.ts +1 -1
- package/dist/esm/src/mods/users.d.ts.map +1 -1
- package/dist/esm/src/package-json.js +3 -3
- package/dist/esm/src/sayable/deliver-sayable.d.ts.map +1 -1
- package/dist/esm/src/sayable/deliver-sayable.js +4 -1
- package/dist/esm/src/sayable/deliver-sayable.js.map +1 -1
- package/dist/esm/src/sayable/message-to-sayable.d.ts.map +1 -1
- package/dist/esm/src/sayable/message-to-sayable.js +2 -0
- package/dist/esm/src/sayable/message-to-sayable.js.map +1 -1
- package/dist/esm/src/sayable/payload-to-sayable.d.ts.map +1 -1
- package/dist/esm/src/sayable/payload-to-sayable.js +2 -0
- package/dist/esm/src/sayable/payload-to-sayable.js.map +1 -1
- package/dist/esm/src/sayable/sayable-to-payload.d.ts.map +1 -1
- package/dist/esm/src/sayable/sayable-to-payload.js +4 -1
- package/dist/esm/src/sayable/sayable-to-payload.js.map +1 -1
- package/dist/esm/src/sayable/types.d.ts +2 -2
- package/dist/esm/src/sayable/types.d.ts.map +1 -1
- package/dist/esm/src/sayable/types.js.map +1 -1
- package/dist/esm/src/user-modules/consult-card.d.ts +42 -0
- package/dist/esm/src/user-modules/consult-card.d.ts.map +1 -0
- package/dist/esm/src/user-modules/consult-card.js +60 -0
- package/dist/esm/src/user-modules/consult-card.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 +11 -346
- package/dist/esm/src/wechaty/wechaty-base.d.ts.map +1 -1
- package/dist/esm/src/wechaty/wechaty-base.js +1 -1
- package/dist/esm/src/wechaty/wechaty-impl.spec.js +7 -5
- package/dist/esm/src/wechaty/wechaty-impl.spec.js.map +1 -1
- package/dist/esm/src/wechaty-mixins/login-mixin.d.ts +6 -0
- 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 +24 -2
- 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 +2 -2
- package/src/mods/impls.ts +3 -0
- package/src/mods/users.ts +1 -0
- package/src/package-json.ts +3 -3
- package/src/sayable/deliver-sayable.ts +6 -0
- package/src/sayable/message-to-sayable.ts +3 -0
- package/src/sayable/payload-to-sayable.ts +3 -0
- package/src/sayable/sayable-to-payload.ts +3 -0
- package/src/sayable/types.ts +2 -0
- package/src/user-modules/consult-card.ts +94 -0
- package/src/user-modules/message.ts +18 -0
- package/src/user-modules/mod.ts +8 -0
- package/src/wechaty/wechaty-base.ts +1 -1
- package/src/wechaty/wechaty-impl.spec.ts +3 -0
- package/src/wechaty-mixins/wechatify-user-module-mixin.ts +6 -0
|
@@ -26,6 +26,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
26
26
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
27
27
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
28
28
|
__wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
|
|
29
|
+
__wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | undefined;
|
|
29
30
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
30
31
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
31
32
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
@@ -46,6 +47,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
46
47
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
47
48
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
48
49
|
readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
|
|
50
|
+
readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
|
|
49
51
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
50
52
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
51
53
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
@@ -97,6 +99,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
97
99
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
98
100
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
99
101
|
__wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
|
|
102
|
+
__wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | undefined;
|
|
100
103
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
101
104
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
102
105
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
@@ -117,6 +120,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
117
120
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
118
121
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
119
122
|
readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
|
|
123
|
+
readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
|
|
120
124
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
121
125
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
122
126
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
@@ -291,6 +295,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
291
295
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
292
296
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
293
297
|
__wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
|
|
298
|
+
__wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | undefined;
|
|
294
299
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
295
300
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
296
301
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
@@ -311,6 +316,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
311
316
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
312
317
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
313
318
|
readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
|
|
319
|
+
readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
|
|
314
320
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
315
321
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
316
322
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
@@ -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
|
__wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
|
|
107
|
+
__wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | undefined;
|
|
107
108
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
108
109
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
109
110
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
@@ -124,6 +125,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
124
125
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
125
126
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
126
127
|
readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
|
|
128
|
+
readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
|
|
127
129
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
128
130
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
129
131
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
@@ -162,6 +164,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
162
164
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
163
165
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
164
166
|
__wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
|
|
167
|
+
__wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | undefined;
|
|
165
168
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
166
169
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
167
170
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
@@ -182,6 +185,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
182
185
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
183
186
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
184
187
|
readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
|
|
188
|
+
readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
|
|
185
189
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
186
190
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
187
191
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
@@ -231,6 +235,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
231
235
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
232
236
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
233
237
|
__wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
|
|
238
|
+
__wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | undefined;
|
|
234
239
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
235
240
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
236
241
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
@@ -251,6 +256,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
251
256
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
252
257
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
253
258
|
readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
|
|
259
|
+
readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
|
|
254
260
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
255
261
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
256
262
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
@@ -407,6 +413,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
407
413
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
408
414
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
409
415
|
__wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
|
|
416
|
+
__wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | undefined;
|
|
410
417
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
411
418
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
412
419
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
@@ -427,6 +434,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
427
434
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
428
435
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
429
436
|
readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
|
|
437
|
+
readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
|
|
430
438
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
431
439
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
432
440
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
@@ -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
|
__wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
|
|
28
|
+
__wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | undefined;
|
|
28
29
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
29
30
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
30
31
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
@@ -33,7 +34,16 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
|
|
|
33
34
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
34
35
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
35
36
|
readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
|
|
36
|
-
readonly Image: import("../user-modules/image.js").ImageConstructor;
|
|
37
|
+
readonly Image: import("../user-modules/image.js").ImageConstructor; /**
|
|
38
|
+
* Huan(202111):
|
|
39
|
+
*
|
|
40
|
+
* We should throw the Timeout error when the puppet.start() can not be finished in time.
|
|
41
|
+
* However, we need to compatible with some buggy puppet implementations which will not resolve the promise.
|
|
42
|
+
*
|
|
43
|
+
* TODO: throw the Timeout error when the puppet.start() can not be finished in time.
|
|
44
|
+
*
|
|
45
|
+
* e.g. after resolve @issue https://github.com/padlocal/wechaty-puppet-padlocal/issues/116
|
|
46
|
+
*/
|
|
37
47
|
readonly Location: import("../user-modules/location.js").LocationConstructor;
|
|
38
48
|
readonly Message: import("../user-modules/message.js").MessageConstructor;
|
|
39
49
|
readonly MiniProgram: import("../user-modules/mini-program.js").MiniProgramConstructor;
|
|
@@ -45,6 +55,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
|
|
|
45
55
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
46
56
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
47
57
|
readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
|
|
58
|
+
readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
|
|
48
59
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
49
60
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
50
61
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
@@ -163,6 +174,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
|
|
|
163
174
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
164
175
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
165
176
|
__wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
|
|
177
|
+
__wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | undefined;
|
|
166
178
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
167
179
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
168
180
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
@@ -171,7 +183,16 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
|
|
|
171
183
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
172
184
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
173
185
|
readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
|
|
174
|
-
readonly Image: import("../user-modules/image.js").ImageConstructor;
|
|
186
|
+
readonly Image: import("../user-modules/image.js").ImageConstructor; /**
|
|
187
|
+
* Huan(202111):
|
|
188
|
+
*
|
|
189
|
+
* We should throw the Timeout error when the puppet.start() can not be finished in time.
|
|
190
|
+
* However, we need to compatible with some buggy puppet implementations which will not resolve the promise.
|
|
191
|
+
*
|
|
192
|
+
* TODO: throw the Timeout error when the puppet.start() can not be finished in time.
|
|
193
|
+
*
|
|
194
|
+
* e.g. after resolve @issue https://github.com/padlocal/wechaty-puppet-padlocal/issues/116
|
|
195
|
+
*/
|
|
175
196
|
readonly Location: import("../user-modules/location.js").LocationConstructor;
|
|
176
197
|
readonly Message: import("../user-modules/message.js").MessageConstructor;
|
|
177
198
|
readonly MiniProgram: import("../user-modules/mini-program.js").MiniProgramConstructor;
|
|
@@ -183,6 +204,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
|
|
|
183
204
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
184
205
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
185
206
|
readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
|
|
207
|
+
readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
|
|
186
208
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
187
209
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
188
210
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"puppet-mixin.d.ts","sourceRoot":"","sources":["../../../../src/wechaty-mixins/puppet-mixin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAW,sBAAsB,CAAA;AAQnD,OAAO,EAEL,gBAAgB,EAChB,oBAAoB,EACrB,MAAO,cAAc,CAAA;AAwBtB;;;;;;;GAOG;AACH,QAAA,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"puppet-mixin.d.ts","sourceRoot":"","sources":["../../../../src/wechaty-mixins/puppet-mixin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAW,sBAAsB,CAAA;AAQnD,OAAO,EAEL,gBAAgB,EAChB,oBAAoB,EACrB,MAAO,cAAc,CAAA;AAwBtB;;;;;;;GAOG;AACH,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;yEA6DL;;;;;;;;;OASG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sDAjDW,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;;;;;;;;;;;;;;;;;;;;;;;;;;yEAjGxD;;;;;;;;;OASG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAumBd,CAAA;AAED,aAAK,WAAW,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAA;AAEjD,aAAK,4BAA4B,GAC7B,UAAU,GACV,cAAc,GACd,qBAAqB,GACrB,kBAAkB,CAAA;AAEtB,YAAY,EACV,WAAW,EACX,4BAA4B,GAC7B,CAAA;AACD,OAAO,EACL,WAAW,GACZ,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ContactConstructor, ContactSelfConstructor, DelayConstructor, FriendshipConstructor, ImageConstructor, LocationConstructor, MessageConstructor, MiniProgramConstructor, PostConstructor, RoomConstructor, RoomInvitationConstructor, TagConstructor, TagGroupConstructor, UrlLinkConstructor, ChannelConstructor, ChannelCardConstructor, MomentConstructor, CallRecordConstructor, ChatHistoryConstructor, WecomConstructor } from '../user-modules/mod.js';
|
|
1
|
+
import { ContactConstructor, ContactSelfConstructor, DelayConstructor, FriendshipConstructor, ImageConstructor, LocationConstructor, MessageConstructor, MiniProgramConstructor, PostConstructor, RoomConstructor, RoomInvitationConstructor, TagConstructor, TagGroupConstructor, UrlLinkConstructor, ChannelConstructor, ChannelCardConstructor, ConsultCardConstructor, MomentConstructor, CallRecordConstructor, ChatHistoryConstructor, WecomConstructor } from '../user-modules/mod.js';
|
|
2
2
|
import type { WechatySkeleton } from '../wechaty/mod.js';
|
|
3
3
|
declare const wechatifyUserModuleMixin: <MixinBase extends typeof WechatySkeleton>(mixinBase: MixinBase) => ((abstract new (...args: any[]) => {
|
|
4
4
|
__wechatifiedContact?: ContactConstructor | undefined;
|
|
@@ -17,6 +17,7 @@ declare const wechatifyUserModuleMixin: <MixinBase extends typeof WechatySkeleto
|
|
|
17
17
|
__wechatifiedUrlLink?: UrlLinkConstructor | undefined;
|
|
18
18
|
__wechatifiedChannel?: ChannelConstructor | undefined;
|
|
19
19
|
__wechatifiedChannelCard?: ChannelCardConstructor | undefined;
|
|
20
|
+
__wechatifiedConsultCard?: ConsultCardConstructor | undefined;
|
|
20
21
|
__wechatifiedMoment?: MomentConstructor | undefined;
|
|
21
22
|
__wechatifiedCallRecord?: CallRecordConstructor | undefined;
|
|
22
23
|
__wechatifiedChatHistory?: ChatHistoryConstructor | undefined;
|
|
@@ -37,6 +38,7 @@ declare const wechatifyUserModuleMixin: <MixinBase extends typeof WechatySkeleto
|
|
|
37
38
|
readonly UrlLink: UrlLinkConstructor;
|
|
38
39
|
readonly Channel: ChannelConstructor;
|
|
39
40
|
readonly ChannelCard: ChannelCardConstructor;
|
|
41
|
+
readonly ConsultCard: ConsultCardConstructor;
|
|
40
42
|
readonly Moment: MomentConstructor;
|
|
41
43
|
readonly CallRecord: CallRecordConstructor;
|
|
42
44
|
readonly ChatHistory: ChatHistoryConstructor;
|
|
@@ -69,7 +71,7 @@ declare const wechatifyUserModuleMixin: <MixinBase extends typeof WechatySkeleto
|
|
|
69
71
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
70
72
|
}) & MixinBase;
|
|
71
73
|
declare type WechatifyUserModuleMixin = ReturnType<typeof wechatifyUserModuleMixin>;
|
|
72
|
-
declare type ProtectedPropertyWechatifyUserModuleMixin = '__wechatifiedContact' | '__wechatifiedContactSelf' | '__wechatifiedDelay' | '__wechatifiedFriendship' | '__wechatifiedImage' | '__wechatifiedLocation' | '__wechatifiedMessage' | '__wechatifiedMiniProgram' | '__wechatifiedRoom' | '__wechatifiedRoomInvitation' | '__wechatifiedTag' | '__wechatifiedTagGroup' | '__wechatifiedUrlLink' | '__wechatifiedChannel' | '__wechatifiedChannelCard' | '__wechatifiedMoment' | '__wechatifiedCallRecord' | '__wechatifiedChatHistory' | '__wechatifiedWecom';
|
|
74
|
+
declare type ProtectedPropertyWechatifyUserModuleMixin = '__wechatifiedContact' | '__wechatifiedContactSelf' | '__wechatifiedDelay' | '__wechatifiedFriendship' | '__wechatifiedImage' | '__wechatifiedLocation' | '__wechatifiedMessage' | '__wechatifiedMiniProgram' | '__wechatifiedRoom' | '__wechatifiedRoomInvitation' | '__wechatifiedTag' | '__wechatifiedTagGroup' | '__wechatifiedUrlLink' | '__wechatifiedChannel' | '__wechatifiedChannelCard' | '__wechatifiedConsultCard' | '__wechatifiedMoment' | '__wechatifiedCallRecord' | '__wechatifiedChatHistory' | '__wechatifiedWecom';
|
|
73
75
|
export type { WechatifyUserModuleMixin, ProtectedPropertyWechatifyUserModuleMixin, };
|
|
74
76
|
export { wechatifyUserModuleMixin, };
|
|
75
77
|
//# 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,EAuBL,kBAAkB,EAClB,sBAAsB,EACtB,gBAAgB,EAChB,qBAAqB,EACrB,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,EAClB,sBAAsB,EACtB,eAAe,EACf,eAAe,EACf,yBAAyB,EACzB,cAAc,EACd,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAClB,sBAAsB,EACtB,sBAAsB,EACtB,iBAAiB,EACjB,qBAAqB,EACrB,sBAAsB,EACtB,gBAAgB,EAGjB,MAA4B,wBAAwB,CAAA;AAErD,OAAO,KAAK,EACV,eAAe,EAChB,MAAkC,mBAAmB,CAAA;AAEtD,QAAA,MAAM,wBAAwB,+FAKJ,GAAG,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAiDH,QAAQ,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;cAgDxC,CAAA;AAYD,aAAK,wBAAwB,GAAG,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAE3E,aAAK,yCAAyC,GAC1C,sBAAsB,GACtB,0BAA0B,GAC1B,oBAAoB,GACpB,yBAAyB,GACzB,oBAAoB,GACpB,uBAAuB,GACvB,sBAAsB,GACtB,0BAA0B,GAC1B,mBAAmB,GACnB,6BAA6B,GAC7B,kBAAkB,GAClB,uBAAuB,GACvB,sBAAsB,GACtB,sBAAsB,GACtB,0BAA0B,GAC1B,0BAA0B,GAC1B,qBAAqB,GACrB,yBAAyB,GACzB,0BAA0B,GAC1B,oBAAoB,CAAA;AAExB,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
|
__wechatifiedChannelCard;
|
|
29
|
+
__wechatifiedConsultCard;
|
|
29
30
|
__wechatifiedMoment;
|
|
30
31
|
__wechatifiedCallRecord;
|
|
31
32
|
__wechatifiedChatHistory;
|
|
@@ -46,6 +47,7 @@ const wechatifyUserModuleMixin = (mixinBase) => {
|
|
|
46
47
|
get UrlLink() { return guardWechatify(this.__wechatifiedUrlLink); }
|
|
47
48
|
get Channel() { return guardWechatify(this.__wechatifiedChannel); }
|
|
48
49
|
get ChannelCard() { return guardWechatify(this.__wechatifiedChannelCard); }
|
|
50
|
+
get ConsultCard() { return guardWechatify(this.__wechatifiedConsultCard); }
|
|
49
51
|
get Moment() { return guardWechatify(this.__wechatifiedMoment); }
|
|
50
52
|
get CallRecord() { return guardWechatify(this.__wechatifiedCallRecord); }
|
|
51
53
|
get ChatHistory() { return guardWechatify(this.__wechatifiedChatHistory); }
|
|
@@ -83,6 +85,7 @@ const wechatifyUserModuleMixin = (mixinBase) => {
|
|
|
83
85
|
this.__wechatifiedUrlLink = (0, mod_js_1.wechatifyUserModule)(mod_js_1.UrlLinkImpl)(this);
|
|
84
86
|
this.__wechatifiedChannel = (0, mod_js_1.wechatifyUserModule)(mod_js_1.ChannelImpl)(this);
|
|
85
87
|
this.__wechatifiedChannelCard = (0, mod_js_1.wechatifyUserModule)(mod_js_1.ChannelCardImpl)(this);
|
|
88
|
+
this.__wechatifiedConsultCard = (0, mod_js_1.wechatifyUserModule)(mod_js_1.ConsultCardImpl)(this);
|
|
86
89
|
this.__wechatifiedMoment = (0, mod_js_1.wechatifyUserModule)(mod_js_1.MomentImpl)(this);
|
|
87
90
|
this.__wechatifiedCallRecord = (0, mod_js_1.wechatifyUserModule)(mod_js_1.CallRecordImpl)(this);
|
|
88
91
|
this.__wechatifiedChatHistory = (0, mod_js_1.wechatifyUserModule)(mod_js_1.ChatHistoryImpl)(this);
|
|
@@ -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,mDA8CqD;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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AC,CAAA;YACjF,IAAI,CAAC,oBAAoB,GAAU,IAAA,4BAAmB,EAAC,oBAAW,CAAC,CAAC,IAAW,CAAC,CAAA;YAChF,IAAI,CAAC,oBAAoB,GAAU,IAAA,4BAAmB,EAAC,oBAAW,CAAC,CAAC,IAAW,CAAC,CAAA;YAChF,IAAI,CAAC,wBAAwB,GAAM,IAAA,4BAAmB,EAAC,wBAAe,CAAC,CAAC,IAAW,CAAC,CAAA;YACpF,IAAI,CAAC,wBAAwB,GAAM,IAAA,4BAAmB,EAAC,wBAAe,CAAC,CAAC,IAAW,CAAC,CAAA;YACpF,IAAI,CAAC,mBAAmB,GAAW,IAAA,4BAAmB,EAAC,mBAAU,CAAC,CAAC,IAAW,CAAC,CAAA;YAC/E,IAAI,CAAC,uBAAuB,GAAO,IAAA,4BAAmB,EAAC,uBAAc,CAAC,CAAC,IAAW,CAAC,CAAA;YACnF,IAAI,CAAC,wBAAwB,GAAM,IAAA,4BAAmB,EAAC,wBAAe,CAAC,CAAC,IAAW,CAAC,CAAA;YACpF,IAAI,CAAC,kBAAkB,GAAY,IAAA,4BAAmB,EAAC,kBAAS,CAAC,CAAC,IAAW,CAAC,CAAA;YAE9E,oBAAG,CAAC,OAAO,CAAC,0BAA0B,EAAE,wDAAwD,CAAC,CAAA;QACnG,CAAC;KAEF;IAED,OAAO,wBAAwB,CAAA;AACjC,CAAC,CAAA;AAyCC,4DAAwB;AAvC1B;;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"}
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
*
|
|
29
29
|
* - no postfix: value, the `class`
|
|
30
30
|
*/
|
|
31
|
-
export { ContactImpl, ContactSelfImpl, FavoriteImpl, FriendshipImpl, ImageImpl, LocationImpl, MessageImpl, MiniProgramImpl, MomentImpl, MoneyImpl, PostImpl, RoomImpl, RoomInvitationImpl, DelayImpl, TagImpl, TagGroupImpl, UrlLinkImpl, ChannelImpl, CallRecordImpl, WecomImpl, ChannelCardImpl, } from '../user-modules/mod.js';
|
|
32
|
-
export type { ContactInterface, ContactSelfInterface, DelayInterface, FavoriteInterface, FriendshipInterface, ImageInterface, LocationInterface, MessageInterface, MiniProgramInterface, MomentInterface, MoneyInterface, PostInterface, RoomInterface, RoomInvitationInterface, TagInterface, TagGroupInterface, UrlLinkInterface, ChannelInterface, CallRecordInterface, WecomInterface, ChannelCardInterface, } from '../user-modules/mod.js';
|
|
33
|
-
export type { ContactConstructor, ContactSelfConstructor, DelayConstructor, FavoriteConstructor, FriendshipConstructor, ImageConstructor, LocationConstructor, MessageConstructor, MiniProgramConstructor, MomentConstructor, MoneyConstructor, PostConstructor, RoomConstructor, RoomInvitationConstructor, TagConstructor, TagGroupConstructor, UrlLinkConstructor, ChannelConstructor, WecomConstructor, ChannelCardConstructor, } from '../user-modules/mod.js';
|
|
31
|
+
export { ContactImpl, ContactSelfImpl, FavoriteImpl, FriendshipImpl, ImageImpl, LocationImpl, MessageImpl, MiniProgramImpl, MomentImpl, MoneyImpl, PostImpl, RoomImpl, RoomInvitationImpl, DelayImpl, TagImpl, TagGroupImpl, UrlLinkImpl, ChannelImpl, CallRecordImpl, WecomImpl, ChannelCardImpl, ConsultCardImpl, } from '../user-modules/mod.js';
|
|
32
|
+
export type { ContactInterface, ContactSelfInterface, DelayInterface, FavoriteInterface, FriendshipInterface, ImageInterface, LocationInterface, MessageInterface, MiniProgramInterface, MomentInterface, MoneyInterface, PostInterface, RoomInterface, RoomInvitationInterface, TagInterface, TagGroupInterface, UrlLinkInterface, ChannelInterface, CallRecordInterface, WecomInterface, ChannelCardInterface, ConsultCardInterface, } from '../user-modules/mod.js';
|
|
33
|
+
export type { ContactConstructor, ContactSelfConstructor, DelayConstructor, FavoriteConstructor, FriendshipConstructor, ImageConstructor, LocationConstructor, MessageConstructor, MiniProgramConstructor, MomentConstructor, MoneyConstructor, PostConstructor, RoomConstructor, RoomInvitationConstructor, TagConstructor, TagGroupConstructor, UrlLinkConstructor, ChannelConstructor, WecomConstructor, ChannelCardConstructor, ConsultCardConstructor, } from '../user-modules/mod.js';
|
|
34
34
|
export { WechatyImpl, } from '../wechaty/mod.js';
|
|
35
35
|
export type { WechatyInterface, WechatyConstructor, } from '../wechaty/mod.js';
|
|
36
36
|
//# sourceMappingURL=impls.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"impls.d.ts","sourceRoot":"","sources":["../../../../src/mods/impls.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH;;;;;;;;;;GAUG;AAEH,OAAO,EACL,WAAW,EACX,eAAe,EACf,YAAY,EACZ,cAAc,EACd,SAAS,EACT,YAAY,EACZ,WAAW,EACX,eAAe,EACf,UAAU,EACV,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,kBAAkB,EAClB,SAAS,EACT,OAAO,EACP,YAAY,EACZ,WAAW,EACX,WAAW,EACX,cAAc,EACd,SAAS,EACT,eAAe,GAChB,MAAkC,wBAAwB,CAAA;AAqB3D,YAAY,EACV,gBAAgB,EAChB,oBAAoB,EACpB,cAAc,EACd,iBAAiB,EACjB,mBAAmB,EACnB,cAAc,EACd,iBAAiB,EACjB,gBAAgB,EAChB,oBAAoB,EACpB,eAAe,EACf,cAAc,EACd,aAAa,EACb,aAAa,EACb,uBAAuB,EACvB,YAAY,EACZ,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,cAAc,EACd,oBAAoB,GACrB,MAAoC,wBAAwB,CAAA;AAE7D,YAAY,EACV,kBAAkB,EAClB,sBAAsB,EACtB,gBAAgB,EAChB,mBAAmB,EACnB,qBAAqB,EACrB,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,EAClB,sBAAsB,EACtB,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,yBAAyB,EACzB,cAAc,EACd,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAClB,gBAAgB,EAChB,sBAAsB,GACvB,MAAoC,wBAAwB,CAAA;AAE7D,OAAO,EACL,WAAW,GACZ,MAA8B,mBAAmB,CAAA;AAClD,YAAY,EACV,gBAAgB,EAChB,kBAAkB,GACnB,MAA8B,mBAAmB,CAAA"}
|
|
1
|
+
{"version":3,"file":"impls.d.ts","sourceRoot":"","sources":["../../../../src/mods/impls.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH;;;;;;;;;;GAUG;AAEH,OAAO,EACL,WAAW,EACX,eAAe,EACf,YAAY,EACZ,cAAc,EACd,SAAS,EACT,YAAY,EACZ,WAAW,EACX,eAAe,EACf,UAAU,EACV,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,kBAAkB,EAClB,SAAS,EACT,OAAO,EACP,YAAY,EACZ,WAAW,EACX,WAAW,EACX,cAAc,EACd,SAAS,EACT,eAAe,EACf,eAAe,GAChB,MAAkC,wBAAwB,CAAA;AAqB3D,YAAY,EACV,gBAAgB,EAChB,oBAAoB,EACpB,cAAc,EACd,iBAAiB,EACjB,mBAAmB,EACnB,cAAc,EACd,iBAAiB,EACjB,gBAAgB,EAChB,oBAAoB,EACpB,eAAe,EACf,cAAc,EACd,aAAa,EACb,aAAa,EACb,uBAAuB,EACvB,YAAY,EACZ,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,cAAc,EACd,oBAAoB,EACpB,oBAAoB,GACrB,MAAoC,wBAAwB,CAAA;AAE7D,YAAY,EACV,kBAAkB,EAClB,sBAAsB,EACtB,gBAAgB,EAChB,mBAAmB,EACnB,qBAAqB,EACrB,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,EAClB,sBAAsB,EACtB,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,yBAAyB,EACzB,cAAc,EACd,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAClB,gBAAgB,EAChB,sBAAsB,EACtB,sBAAsB,GACvB,MAAoC,wBAAwB,CAAA;AAE7D,OAAO,EACL,WAAW,GACZ,MAA8B,mBAAmB,CAAA;AAClD,YAAY,EACV,gBAAgB,EAChB,kBAAkB,GACnB,MAA8B,mBAAmB,CAAA"}
|
|
@@ -28,6 +28,6 @@
|
|
|
28
28
|
*
|
|
29
29
|
* - no postfix: value, the `class`
|
|
30
30
|
*/
|
|
31
|
-
export { ContactImpl, ContactSelfImpl, FavoriteImpl, FriendshipImpl, ImageImpl, LocationImpl, MessageImpl, MiniProgramImpl, MomentImpl, MoneyImpl, PostImpl, RoomImpl, RoomInvitationImpl, DelayImpl, TagImpl, TagGroupImpl, UrlLinkImpl, ChannelImpl, CallRecordImpl, WecomImpl, ChannelCardImpl, } from '../user-modules/mod.js';
|
|
31
|
+
export { ContactImpl, ContactSelfImpl, FavoriteImpl, FriendshipImpl, ImageImpl, LocationImpl, MessageImpl, MiniProgramImpl, MomentImpl, MoneyImpl, PostImpl, RoomImpl, RoomInvitationImpl, DelayImpl, TagImpl, TagGroupImpl, UrlLinkImpl, ChannelImpl, CallRecordImpl, WecomImpl, ChannelCardImpl, ConsultCardImpl, } from '../user-modules/mod.js';
|
|
32
32
|
export { WechatyImpl, } from '../wechaty/mod.js';
|
|
33
33
|
//# sourceMappingURL=impls.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"impls.js","sourceRoot":"","sources":["../../../../src/mods/impls.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH;;;;;;;;;;GAUG;AAEH,OAAO,EACL,WAAW,EACX,eAAe,EACf,YAAY,EACZ,cAAc,EACd,SAAS,EACT,YAAY,EACZ,WAAW,EACX,eAAe,EACf,UAAU,EACV,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,kBAAkB,EAClB,SAAS,EACT,OAAO,EACP,YAAY,EACZ,WAAW,EACX,WAAW,EACX,cAAc,EACd,SAAS,EACT,eAAe,GAChB,MAAkC,wBAAwB,CAAA;
|
|
1
|
+
{"version":3,"file":"impls.js","sourceRoot":"","sources":["../../../../src/mods/impls.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH;;;;;;;;;;GAUG;AAEH,OAAO,EACL,WAAW,EACX,eAAe,EACf,YAAY,EACZ,cAAc,EACd,SAAS,EACT,YAAY,EACZ,WAAW,EACX,eAAe,EACf,UAAU,EACV,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,kBAAkB,EAClB,SAAS,EACT,OAAO,EACP,YAAY,EACZ,WAAW,EACX,WAAW,EACX,cAAc,EACd,SAAS,EACT,eAAe,EACf,eAAe,GAChB,MAAkC,wBAAwB,CAAA;AAsE3D,OAAO,EACL,WAAW,GACZ,MAA8B,mBAAmB,CAAA"}
|
|
@@ -22,5 +22,5 @@
|
|
|
22
22
|
*
|
|
23
23
|
* since they are `interface`s, so they are `type`-only.
|
|
24
24
|
*/
|
|
25
|
-
export type { ContactInterface as Contact, ContactSelfInterface as ContactSelf, DelayInterface as Delay, FavoriteInterface as Favorite, FriendshipInterface as Friendship, ImageInterface as Image, LocationInterface as Location, MessageInterface as Message, MiniProgramInterface as MiniProgram, MomentInterface as Moment, MoneyInterface as Money, PostInterface as Post, RoomInterface as Room, RoomInvitationInterface as RoomInvitation, TagInterface as Tag, TagGroupInterface as TagGroup, UrlLinkInterface as UrlLink, ChannelInterface as Channel, CallRecordInterface as CallRecord, WecomInterface as Wecom, ChannelCardInterface as ChannelCard, } from '../user-modules/mod.js';
|
|
25
|
+
export type { ContactInterface as Contact, ContactSelfInterface as ContactSelf, DelayInterface as Delay, FavoriteInterface as Favorite, FriendshipInterface as Friendship, ImageInterface as Image, LocationInterface as Location, MessageInterface as Message, MiniProgramInterface as MiniProgram, MomentInterface as Moment, MoneyInterface as Money, PostInterface as Post, RoomInterface as Room, RoomInvitationInterface as RoomInvitation, TagInterface as Tag, TagGroupInterface as TagGroup, UrlLinkInterface as UrlLink, ChannelInterface as Channel, CallRecordInterface as CallRecord, WecomInterface as Wecom, ChannelCardInterface as ChannelCard, ConsultCardInterface as ConsultCard, } from '../user-modules/mod.js';
|
|
26
26
|
//# sourceMappingURL=users.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../../../src/mods/users.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH;;;;GAIG;AAEH,YAAY,EACV,gBAAgB,IAAW,OAAO,EAClC,oBAAoB,IAAO,WAAW,EACtC,cAAc,IAAa,KAAK,EAChC,iBAAiB,IAAU,QAAQ,EACnC,mBAAmB,IAAQ,UAAU,EACrC,cAAc,IAAa,KAAK,EAChC,iBAAiB,IAAU,QAAQ,EACnC,gBAAgB,IAAW,OAAO,EAClC,oBAAoB,IAAO,WAAW,EACtC,eAAe,IAAY,MAAM,EACjC,cAAc,IAAa,KAAK,EAChC,aAAa,IAAc,IAAI,EAC/B,aAAa,IAAc,IAAI,EAC/B,uBAAuB,IAAI,cAAc,EACzC,YAAY,IAAe,GAAG,EAC9B,iBAAiB,IAAU,QAAQ,EACnC,gBAAgB,IAAW,OAAO,EAClC,gBAAgB,IAAW,OAAO,EAClC,mBAAmB,IAAQ,UAAU,EACrC,cAAc,IAAa,KAAK,EAChC,oBAAoB,IAAO,WAAW,GACvC,MAAoD,wBAAwB,CAAA"}
|
|
1
|
+
{"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../../../src/mods/users.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH;;;;GAIG;AAEH,YAAY,EACV,gBAAgB,IAAW,OAAO,EAClC,oBAAoB,IAAO,WAAW,EACtC,cAAc,IAAa,KAAK,EAChC,iBAAiB,IAAU,QAAQ,EACnC,mBAAmB,IAAQ,UAAU,EACrC,cAAc,IAAa,KAAK,EAChC,iBAAiB,IAAU,QAAQ,EACnC,gBAAgB,IAAW,OAAO,EAClC,oBAAoB,IAAO,WAAW,EACtC,eAAe,IAAY,MAAM,EACjC,cAAc,IAAa,KAAK,EAChC,aAAa,IAAc,IAAI,EAC/B,aAAa,IAAc,IAAI,EAC/B,uBAAuB,IAAI,cAAc,EACzC,YAAY,IAAe,GAAG,EAC9B,iBAAiB,IAAU,QAAQ,EACnC,gBAAgB,IAAW,OAAO,EAClC,gBAAgB,IAAW,OAAO,EAClC,mBAAmB,IAAQ,UAAU,EACrC,cAAc,IAAa,KAAK,EAChC,oBAAoB,IAAO,WAAW,EACtC,oBAAoB,IAAO,WAAW,GACvC,MAAoD,wBAAwB,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export const GIT_COMMIT_HASH = '
|
|
1
|
+
export const GIT_COMMIT_HASH = '1cda49d5f4bef45d943a8ece64926bc9cdf47697';
|
|
2
2
|
export const packageJson = {
|
|
3
3
|
"name": "@juzi/wechaty",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.116",
|
|
5
5
|
"description": "Wechaty is a RPA SDK for Chatbot Makers.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
@@ -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.109",
|
|
137
137
|
"@juzi/wechaty-puppet-mock": "^1.0.1",
|
|
138
138
|
"@swc/core": "1.3.44",
|
|
139
139
|
"@swc/helpers": "^0.3.6",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deliver-sayable.d.ts","sourceRoot":"","sources":["../../../../src/sayable/deliver-sayable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"deliver-sayable.d.ts","sourceRoot":"","sources":["../../../../src/sayable/deliver-sayable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,MAAM,sBAAsB,CAAA;AAgBnD,OAAO,KAAK,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAE3D;;GAEG;AACH,QAAA,MAAM,gCAAgC,WAAY,OAAO,KAAK,CAAC,eAAe,sBAAsB,MAAM,eAAqB,OAAO,YAAY,gBAAgB,2BAuGjK,CAAA;AAED,OAAO,EACL,gCAAgC,GACjC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FileBox } from 'file-box';
|
|
2
|
-
import { ContactImpl, MessageImpl, DelayImpl, UrlLinkImpl, MiniProgramImpl, PostImpl, LocationImpl, ChannelImpl, ChannelCardImpl, } from '../user-modules/mod.js';
|
|
2
|
+
import { ContactImpl, MessageImpl, DelayImpl, UrlLinkImpl, MiniProgramImpl, PostImpl, LocationImpl, ChannelImpl, ChannelCardImpl, ConsultCardImpl, } from '../user-modules/mod.js';
|
|
3
3
|
/**
|
|
4
4
|
* TODO: add unit test to ensure the interface validation code works
|
|
5
5
|
*/
|
|
@@ -72,6 +72,9 @@ const deliverSayableConversationPuppet = (puppet) => (conversationId) => async (
|
|
|
72
72
|
else if (ChannelCardImpl.validInstance(sayable)) {
|
|
73
73
|
msgId = await puppet.messageSendChannelCard(conversationId, sayable.payload);
|
|
74
74
|
}
|
|
75
|
+
else if (ConsultCardImpl.validInstance(sayable)) {
|
|
76
|
+
msgId = await puppet.messageSendConsultCard(conversationId, sayable.payload);
|
|
77
|
+
}
|
|
75
78
|
else {
|
|
76
79
|
throw new Error('unsupported arg: ' + sayable);
|
|
77
80
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deliver-sayable.js","sourceRoot":"","sources":["../../../../src/sayable/deliver-sayable.ts"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CAAA;AAED,OAAO,EACL,gCAAgC,GACjC,CAAA"}
|
|
1
|
+
{"version":3,"file":"deliver-sayable.js","sourceRoot":"","sources":["../../../../src/sayable/deliver-sayable.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAElC,OAAO,EACL,WAAW,EACX,WAAW,EACX,SAAS,EACT,WAAW,EACX,eAAe,EACf,QAAQ,EACR,YAAY,EACZ,WAAW,EACX,eAAe,EACf,eAAe,GAChB,MAA0B,wBAAwB,CAAA;AAInD;;GAEG;AACH,MAAM,gCAAgC,GAAG,CAAC,MAAoC,EAAE,EAAE,CAAC,CAAC,cAAsB,EAAE,EAAE,CAAC,KAAK,EAAE,OAAgB,EAAE,OAA0B,EAAE,EAAE;IACpK,IAAI,KAAoB,CAAA;IAExB,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE;QAC/B,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC,CAAA;KAC1B;IAED,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE;QAC/B,OAAO,MAAM,CAAC,eAAe,CAC3B,cAAc,EACd,OAAO,EACP;YACE,aAAa,EAAE,OAAO,EAAE,WAAW,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;YAC3E,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,EAAE;SACnC,CACF,CAAA;KACF;IAED;;;OAGG;IACH,IAAI,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE;QAC1B;;WAEG;QACH,KAAK,GAAG,MAAM,MAAM,CAAC,eAAe,CAClC,cAAc,EACd,OAAO,CACR,CAAA;KACF;SAAM,IAAI,WAAW,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE;QAC7C;;WAEG;QACH,KAAK,GAAG,MAAM,MAAM,CAAC,cAAc,CACjC,cAAc,EACd,OAAO,C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,OAAO,CAChB,CAAA;KACF;SAAM,IAAI,eAAe,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE;QACjD,KAAK,GAAG,MAAM,MAAM,CAAC,sBAAsB,CACzC,cAAc,EACd,OAAO,CAAC,OAAO,CAChB,CAAA;KACF;SAAM;QACL,MAAM,IAAI,KAAK,CAAC,mBAAmB,GAAG,OAAO,CAAC,CAAA;KAC/C;IAED,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AAED,OAAO,EACL,gCAAgC,GACjC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message-to-sayable.d.ts","sourceRoot":"","sources":["../../../../src/sayable/message-to-sayable.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,gBAAgB,EACjB,MAAwB,wBAAwB,CAAA;AAEjD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEzC,iBAAe,gBAAgB,CAC7B,OAAO,EAAE,gBAAgB,GACxB,OAAO,CAAC,SAAS,GAAG,OAAO,CAAC,
|
|
1
|
+
{"version":3,"file":"message-to-sayable.d.ts","sourceRoot":"","sources":["../../../../src/sayable/message-to-sayable.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,gBAAgB,EACjB,MAAwB,wBAAwB,CAAA;AAEjD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEzC,iBAAe,gBAAgB,CAC7B,OAAO,EAAE,gBAAgB,GACxB,OAAO,CAAC,SAAS,GAAG,OAAO,CAAC,CAkD9B;AAED,OAAO,EACL,gBAAgB,GACjB,CAAA"}
|
|
@@ -26,6 +26,8 @@ async function messageToSayable(message) {
|
|
|
26
26
|
return message.toChannel();
|
|
27
27
|
case PUPPET.types.Message.ChannelCard:
|
|
28
28
|
return message.toChannelCard();
|
|
29
|
+
case PUPPET.types.Message.ConsultCard:
|
|
30
|
+
return message.toConsultCard();
|
|
29
31
|
default:
|
|
30
32
|
log.warn('Wechaty', 'toSayable() can not convert not re-sayable type: %s(%s) for %s\n%s', PUPPET.types.Message[type], type, message, new Error().stack);
|
|
31
33
|
return undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message-to-sayable.js","sourceRoot":"","sources":["../../../../src/sayable/message-to-sayable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,sBAAsB,CAAA;AAC9C,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAQ1C,KAAK,UAAU,gBAAgB,CAC7B,OAAyB;IAEzB,GAAG,CAAC,OAAO,CAAC,SAAS,EAAE,eAAe,EAAE,OAAO,CAAC,CAAA;IAEhD,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,EAAE,CAAA;IAE3B,QAAQ,IAAI,EAAE;QACZ,KAAK,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI;YAC5B,OAAO,OAAO,CAAC,IAAI,EAAE,CAAA;QAEvB,KAAK,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;QAChC,KAAK,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC;QACrC,KAAK,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;QAChC,KAAK,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;QAChC,KAAK,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ;YAChC,OAAO,OAAO,CAAC,SAAS,EAAE,CAAA;QAE5B,KAAK,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO;YAC/B,OAAO,OAAO,CAAC,SAAS,EAAE,CAAA;QAE5B,KAAK,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG;YAC3B,OAAO,OAAO,CAAC,SAAS,EAAE,CAAA;QAE5B,KAAK,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,WAAW;YACnC,OAAO,OAAO,CAAC,aAAa,EAAE,CAAA;QAEhC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ACnB;AACH,CAAC;AAED,OAAO,EACL,gBAAgB,GACjB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload-to-sayable.d.ts","sourceRoot":"","sources":["../../../../src/sayable/payload-to-sayable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,sBAAsB,CAAA;AAG9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAA;AAElE,OAAO,KAAK,EACV,OAAO,EACR,MAAwB,YAAY,CAAA;AAErC,QAAA,MAAM,uBAAuB,EAAE,CAAC,CAAC,EAAE,gBAAgB,KAAK,CAAC,CAAC,EAAE,MAAM,CAAC,QAAQ,CAAC,OAAO,KAAK,OAAO,CAAC,SAAS,GAAG,OAAO,
|
|
1
|
+
{"version":3,"file":"payload-to-sayable.d.ts","sourceRoot":"","sources":["../../../../src/sayable/payload-to-sayable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,sBAAsB,CAAA;AAG9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAA;AAElE,OAAO,KAAK,EACV,OAAO,EACR,MAAwB,YAAY,CAAA;AAErC,QAAA,MAAM,uBAAuB,EAAE,CAAC,CAAC,EAAE,gBAAgB,KAAK,CAAC,CAAC,EAAE,MAAM,CAAC,QAAQ,CAAC,OAAO,KAAK,OAAO,CAAC,SAAS,GAAG,OAAO,CA8ClH,CAAA;AAED,OAAO,EACL,uBAAuB,GACxB,CAAA"}
|
|
@@ -25,6 +25,8 @@ const payloadToSayableWechaty = (wechaty) => async (sayable) => {
|
|
|
25
25
|
return new wechaty.Channel(sayable.payload);
|
|
26
26
|
case PUPPET.types.Sayable.ChannelCard:
|
|
27
27
|
return new wechaty.ChannelCard(sayable.payload);
|
|
28
|
+
case PUPPET.types.Sayable.ConsultCard:
|
|
29
|
+
return new wechaty.ConsultCard(sayable.payload);
|
|
28
30
|
default:
|
|
29
31
|
throw new Error('payloadToSayable() not support payload: ' + JSON.stringify(sayable));
|
|
30
32
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload-to-sayable.js","sourceRoot":"","sources":["../../../../src/sayable/payload-to-sayable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,sBAAsB,CAAA;AAC9C,OAAO,EAAE,GAAG,EAAE,MAAO,sBAAsB,CAAA;AAQ3C,MAAM,uBAAuB,GAA0F,CAAC,OAAyB,EAAE,EAAE,CAAC,KAAK,EACzJ,OAAgC,EAChC,EAAE;IACF,GAAG,CAAC,OAAO,CAAC,SAAS,EAAE,kCAAkC,EACvD,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,EAClC,OAAO,CAAC,IAAI,CACb,CAAA;IAED,QAAQ,OAAO,CAAC,IAAI,EAAE;QACpB,KAAK,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI;YAC5B,OAAO,OAAO,CAAC,OAAO,CAAC,IAAI,CAAA;QAE7B,KAAK,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC;QACnC,KAAK,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;QAChC,KAAK,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;QAChC,KAAK,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;QAChC,KAAK,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU;YAClC,OAAO,OAAO,CAAC,OAAO,CAAC,OAAO,CAAA;QAEhC,KAAK,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO;YAC/B,OAAO,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,OAAO,CAAC,OAAO,CAAC,SAAS,EAAE,CAAC,CAAA;QAEhE,KAAK,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ;YAChC,OAAO,IAAI,OA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C,KAAK,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO;YAC/B,OAAO,IAAI,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,CAAA;QAE7C,KAAK,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,WAAW;YACnC,OAAO,IAAI,OAAO,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,CAAC,CAAA;QAEjD,KAAK,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,WAAW;YACnC,OAAO,IAAI,OAAO,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,CAAC,CAAA;QAEjD;YACE,MAAM,IAAI,KAAK,CAAC,0CAA0C,GAAG,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAA;KACxF;AACH,CAAC,CAAA;AAED,OAAO,EACL,uBAAuB,GACxB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sayable-to-payload.d.ts","sourceRoot":"","sources":["../../../../src/sayable/sayable-to-payload.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"sayable-to-payload.d.ts","sourceRoot":"","sources":["../../../../src/sayable/sayable-to-payload.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,sBAAsB,CAAA;AAiB9C,OAAO,KAAK,EACV,OAAO,EACR,MAAwB,YAAY,CAAA;AAErC,iBAAe,gBAAgB,CAAE,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,SAAS,GAAG,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,CAqC/F;AAED,OAAO,EACL,gBAAgB,GACjB,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as PUPPET from '@juzi/wechaty-puppet';
|
|
2
2
|
import { log } from '@juzi/wechaty-puppet';
|
|
3
3
|
import { FileBox } from 'file-box';
|
|
4
|
-
import { DelayImpl, LocationImpl, MessageImpl, MiniProgramImpl, UrlLinkImpl, ContactImpl, PostImpl, ChannelImpl, ChannelCardImpl, } from '../user-modules/mod.js';
|
|
4
|
+
import { DelayImpl, LocationImpl, MessageImpl, MiniProgramImpl, UrlLinkImpl, ContactImpl, PostImpl, ChannelImpl, ChannelCardImpl, ConsultCardImpl, } from '../user-modules/mod.js';
|
|
5
5
|
async function sayableToPayload(sayable) {
|
|
6
6
|
log.verbose('Wechaty', 'sayableToPayload(%s)', sayable);
|
|
7
7
|
if (typeof sayable === 'string') {
|
|
@@ -44,6 +44,9 @@ async function sayableToPayload(sayable) {
|
|
|
44
44
|
else if (ChannelCardImpl.validInstance(sayable)) {
|
|
45
45
|
return PUPPET.payloads.sayable.channelCard(sayable.payload);
|
|
46
46
|
}
|
|
47
|
+
else if (ConsultCardImpl.validInstance(sayable)) {
|
|
48
|
+
return PUPPET.payloads.sayable.consultCard(sayable.payload);
|
|
49
|
+
}
|
|
47
50
|
else {
|
|
48
51
|
log.error('Wechaty', 'sayableToPayload() unsupported sayable: %s', sayable);
|
|
49
52
|
return undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sayable-to-payload.js","sourceRoot":"","sources":["../../../../src/sayable/sayable-to-payload.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,sBAAsB,CAAA;AAC9C,OAAO,EAAE,GAAG,EAAE,MAAO,sBAAsB,CAAA;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAElC,OAAO,EACL,SAAS,EACT,YAAY,EACZ,WAAW,EACX,eAAe,EACf,WAAW,EACX,WAAW,EACX,QAAQ,EACR,WAAW,EACX,eAAe,GAChB,MAA4B,wBAAwB,CAAA;AAMrD,KAAK,UAAU,gBAAgB,CAAE,OAAgB;IAC/C,GAAG,CAAC,OAAO,CAAC,SAAS,EAAE,sBAAsB,EAAE,OAAO,CAAC,CAAA;IAEvD,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE;QAC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,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAA;KACrD;SAAM,IAAI,WAAW,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE;QAC7C,OAAO,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,CAAA;KACpD;SAAM,IAAI,WAAW,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE;QAC7C,OAAO,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,CAAA;KACxD;SAAM,IAAI,eAAe,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE;QACjD,OAAO,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,CAAC,CAAA;KAC5D;SAAM,IAAI,eAAe,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE;QACjD,OAAO,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,CAAC,CAAA;KAC5D;SAAM;QACL,GAAG,CAAC,KAAK,CAAC,SAAS,EAAE,4CAA4C,EAAE,OAAO,CAAC,CAAA;QAC3E,OAAO,SAAS,CAAA;KACjB;AACH,CAAC;AAED,OAAO,EACL,gBAAgB,GACjB,CAAA"}
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
*
|
|
19
19
|
*/
|
|
20
20
|
import type { FileBoxInterface } from 'file-box';
|
|
21
|
-
import { ContactInterface, DelayInterface, LocationInterface, MessageInterface, MiniProgramInterface, PostInterface, UrlLinkInterface, ChannelInterface, ChannelCardInterface } from '../user-modules/mod.js';
|
|
21
|
+
import { ContactInterface, DelayInterface, LocationInterface, MessageInterface, MiniProgramInterface, PostInterface, UrlLinkInterface, ChannelInterface, ChannelCardInterface, ConsultCardInterface } from '../user-modules/mod.js';
|
|
22
22
|
import type { WechatyInterface } from '../wechaty/mod.js';
|
|
23
|
-
declare type Sayable = ContactInterface | DelayInterface | FileBoxInterface | LocationInterface | MessageInterface | MiniProgramInterface | number | PostInterface | string | UrlLinkInterface | ChannelInterface | ChannelCardInterface;
|
|
23
|
+
declare type Sayable = ContactInterface | DelayInterface | FileBoxInterface | LocationInterface | MessageInterface | MiniProgramInterface | number | PostInterface | string | UrlLinkInterface | ChannelInterface | ChannelCardInterface | ConsultCardInterface;
|
|
24
24
|
interface SayableSayer {
|
|
25
25
|
id: string;
|
|
26
26
|
wechaty: WechatyInterface;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/sayable/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,KAAK,EACV,gBAAgB,EACjB,MAA4B,UAAU,CAAA;AAEvC,OAAO,EACL,gBAAgB,EAChB,cAAc,EACd,iBAAiB,EACjB,gBAAgB,EAChB,oBAAoB,EACpB,aAAa,EACb,gBAAgB,EAChB,gBAAgB,EAGhB,oBAAoB,EACrB,MAAgC,wBAAwB,CAAA;AAEzD,OAAO,KAAK,EACV,gBAAgB,EACjB,MAAgC,mBAAmB,CAAA;AAEpD,aAAK,OAAO,GACR,gBAAgB,GAChB,cAAc,GACd,gBAAgB,GAChB,iBAAiB,GACjB,gBAAgB,GAChB,oBAAoB,GACpB,MAAM,GACN,aAAa,GACb,MAAM,GACN,gBAAgB,GAChB,gBAAgB,GAChB,oBAAoB,CAAA;AAExB,UAAU,YAAY;IACpB,EAAE,EAAQ,MAAM,CAAC;IACjB,OAAO,EAAG,gBAAgB,CAAC;IAC3B,GAAG,CACD,OAAO,EAAI,OAAO,EAClB,OAAO,CAAC,EAAG,UAAU,GACpB,OAAO,CAAC,IAAI,GAAG,gBAAgB,CAAC,CAAA;CACpC;AAED,UAAU,gBAAgB;IACxB,WAAW,CAAC,EAAE,CAAC,gBAAgB,GAAG,MAAM,CAAC,EAAE,CAAC;IAC5C,YAAY,CAAC,EAAE,gBAAgB,CAAC;CACjC;AAOD,eAAO,MAAM,kBAAkB,WAAY,GAAG,QAM7C,CAAA;AAED,aAAK,UAAU,GAAG,CAAC,gBAAgB,GAAG,MAAM,CAAC,GAAG,CAAC,gBAAgB,GAAG,MAAM,CAAC,EAAE,GAAG,gBAAgB,CAAA;AAEhG,YAAY,EACV,YAAY,EACZ,OAAO,EACP,UAAU,EACV,gBAAgB,GACjB,CAAA"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/sayable/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,KAAK,EACV,gBAAgB,EACjB,MAA4B,UAAU,CAAA;AAEvC,OAAO,EACL,gBAAgB,EAChB,cAAc,EACd,iBAAiB,EACjB,gBAAgB,EAChB,oBAAoB,EACpB,aAAa,EACb,gBAAgB,EAChB,gBAAgB,EAGhB,oBAAoB,EACpB,oBAAoB,EACrB,MAAgC,wBAAwB,CAAA;AAEzD,OAAO,KAAK,EACV,gBAAgB,EACjB,MAAgC,mBAAmB,CAAA;AAEpD,aAAK,OAAO,GACR,gBAAgB,GAChB,cAAc,GACd,gBAAgB,GAChB,iBAAiB,GACjB,gBAAgB,GAChB,oBAAoB,GACpB,MAAM,GACN,aAAa,GACb,MAAM,GACN,gBAAgB,GAChB,gBAAgB,GAChB,oBAAoB,GACpB,oBAAoB,CAAA;AAExB,UAAU,YAAY;IACpB,EAAE,EAAQ,MAAM,CAAC;IACjB,OAAO,EAAG,gBAAgB,CAAC;IAC3B,GAAG,CACD,OAAO,EAAI,OAAO,EAClB,OAAO,CAAC,EAAG,UAAU,GACpB,OAAO,CAAC,IAAI,GAAG,gBAAgB,CAAC,CAAA;CACpC;AAED,UAAU,gBAAgB;IACxB,WAAW,CAAC,EAAE,CAAC,gBAAgB,GAAG,MAAM,CAAC,EAAE,CAAC;IAC5C,YAAY,CAAC,EAAE,gBAAgB,CAAC;CACjC;AAOD,eAAO,MAAM,kBAAkB,WAAY,GAAG,QAM7C,CAAA;AAED,aAAK,UAAU,GAAG,CAAC,gBAAgB,GAAG,MAAM,CAAC,GAAG,CAAC,gBAAgB,GAAG,MAAM,CAAC,EAAE,GAAG,gBAAgB,CAAA;AAEhG,YAAY,EACV,YAAY,EACZ,OAAO,EACP,UAAU,EACV,gBAAgB,GACjB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/sayable/types.ts"],"names":[],"mappings":"AAuBA,OAAO,EASL,WAAW,EACX,WAAW,
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/sayable/types.ts"],"names":[],"mappings":"AAuBA,OAAO,EASL,WAAW,EACX,WAAW,GAGZ,MAAgC,wBAAwB,CAAA;AAmCzD,MAAM,aAAa,GAAG;IACpB,aAAa;IACb,cAAc;CACf,CAAA;AAED,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,MAAW,EAAE,EAAE;IAChD,OAAO,CAAC,OAAO,MAAM,KAAK,QAAQ;WAC7B,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;WAC/D,CAAC,OAAO,MAAM,CAAC,WAAW,KAAK,WAAW,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,WAAW,CAAC,IAAI,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,IAAK,CAAY,KAAK,MAAM,CAAC,CAAC,CAAC;WAC5K,CAAC,OAAO,MAAM,CAAC,YAAY,KAAK,WAAW,IAAI,WAAW,CAAC,KAAK,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,CAC1F,CAAA;AACH,CAAC,CAAA"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type * as PUPPET from '@juzi/wechaty-puppet';
|
|
2
|
+
import type { Constructor } from 'clone-class';
|
|
3
|
+
declare const ConsultCardMixin_base: ((abstract new (...args: any[]) => {
|
|
4
|
+
readonly wechaty: import("../wechaty/wechaty-impl.js").WechatyInterface;
|
|
5
|
+
}) & {
|
|
6
|
+
readonly wechaty: import("../wechaty/wechaty-impl.js").WechatyInterface;
|
|
7
|
+
}) & {
|
|
8
|
+
new (): {};
|
|
9
|
+
};
|
|
10
|
+
declare class ConsultCardMixin extends ConsultCardMixin_base {
|
|
11
|
+
readonly payload: PUPPET.payloads.ConsultCard;
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* Create
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
static create(msgType: number, componentType: number, componentId: number): Promise<ConsultCardInterface>;
|
|
18
|
+
constructor(payload: PUPPET.payloads.ConsultCard);
|
|
19
|
+
msgType(): number;
|
|
20
|
+
componentType(): number;
|
|
21
|
+
componentId(): number;
|
|
22
|
+
id(): number | undefined;
|
|
23
|
+
cardType(): number | undefined;
|
|
24
|
+
name(): string | undefined;
|
|
25
|
+
content(): string | undefined;
|
|
26
|
+
status(): number | undefined;
|
|
27
|
+
statusMsg(): number | undefined;
|
|
28
|
+
}
|
|
29
|
+
declare const ConsultCardImpl_base: {
|
|
30
|
+
new (...args: any[]): {};
|
|
31
|
+
valid: (o: any) => o is ConsultCardInterface;
|
|
32
|
+
validInstance: (target: any) => target is ConsultCardMixin;
|
|
33
|
+
validInterface: (target: any) => target is ConsultCardInterface;
|
|
34
|
+
} & typeof ConsultCardMixin;
|
|
35
|
+
declare class ConsultCardImpl extends ConsultCardImpl_base {
|
|
36
|
+
}
|
|
37
|
+
interface ConsultCardInterface extends ConsultCardImpl {
|
|
38
|
+
}
|
|
39
|
+
declare type ConsultCardConstructor = Constructor<ConsultCardInterface, typeof ConsultCardImpl>;
|
|
40
|
+
export type { ConsultCardConstructor, ConsultCardInterface, };
|
|
41
|
+
export { ConsultCardImpl, };
|
|
42
|
+
//# sourceMappingURL=consult-card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"consult-card.d.ts","sourceRoot":"","sources":["../../../../src/user-modules/consult-card.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,MAAM,sBAAsB,CAAA;AAEnD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;;;;;;;;AAS9C,cAAM,gBAAiB,SAAQ,qBAAoB;aAuB/B,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,WAAW;IArBtD;;;;OAIG;WACU,MAAM,CAAE,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,CAAC;gBAgB9F,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,WAAW;IAMtD,OAAO,IAAK,MAAM;IAIlB,aAAa,IAAK,MAAM;IAIxB,WAAW,IAAK,MAAM;IAKtB,EAAE,IAAK,MAAM,GAAG,SAAS;IAIzB,QAAQ,IAAK,MAAM,GAAG,SAAS;IAI/B,IAAI,IAAK,MAAM,GAAG,SAAS;IAI3B,OAAO,IAAK,MAAM,GAAG,SAAS;IAI9B,MAAM,IAAK,MAAM,GAAG,SAAS;IAI7B,SAAS,IAAK,MAAM,GAAG,SAAS;CAIjC;;;;;;;AAED,cAAM,eAAgB,SAAQ,oBAAyD;CAAI;AAC3F,UAAU,oBAAqB,SAAQ,eAAe;CAAI;AAE1D,aAAK,sBAAsB,GAAG,WAAW,CACvC,oBAAoB,EACpB,OAAO,eAAe,CACvB,CAAA;AAED,YAAY,EACV,sBAAsB,EACtB,oBAAoB,GACrB,CAAA;AACD,OAAO,EACL,eAAe,GAChB,CAAA"}
|