@juzi/wechaty 1.0.114 → 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.
Files changed (135) hide show
  1. package/dist/cjs/src/mods/impls.d.ts +3 -3
  2. package/dist/cjs/src/mods/impls.d.ts.map +1 -1
  3. package/dist/cjs/src/mods/impls.js +3 -1
  4. package/dist/cjs/src/mods/impls.js.map +1 -1
  5. package/dist/cjs/src/mods/users.d.ts +1 -1
  6. package/dist/cjs/src/mods/users.d.ts.map +1 -1
  7. package/dist/cjs/src/package-json.js +4 -4
  8. package/dist/cjs/src/sayable/deliver-sayable.d.ts.map +1 -1
  9. package/dist/cjs/src/sayable/deliver-sayable.js +6 -0
  10. package/dist/cjs/src/sayable/deliver-sayable.js.map +1 -1
  11. package/dist/cjs/src/sayable/message-to-sayable.d.ts.map +1 -1
  12. package/dist/cjs/src/sayable/message-to-sayable.js +4 -0
  13. package/dist/cjs/src/sayable/message-to-sayable.js.map +1 -1
  14. package/dist/cjs/src/sayable/payload-to-sayable.d.ts.map +1 -1
  15. package/dist/cjs/src/sayable/payload-to-sayable.js +4 -0
  16. package/dist/cjs/src/sayable/payload-to-sayable.js.map +1 -1
  17. package/dist/cjs/src/sayable/sayable-to-payload.d.ts.map +1 -1
  18. package/dist/cjs/src/sayable/sayable-to-payload.js +6 -0
  19. package/dist/cjs/src/sayable/sayable-to-payload.js.map +1 -1
  20. package/dist/cjs/src/sayable/types.d.ts +2 -2
  21. package/dist/cjs/src/sayable/types.d.ts.map +1 -1
  22. package/dist/cjs/src/sayable/types.js.map +1 -1
  23. package/dist/cjs/src/user-modules/channel-card.d.ts +39 -0
  24. package/dist/cjs/src/user-modules/channel-card.d.ts.map +1 -0
  25. package/dist/cjs/src/user-modules/channel-card.js +57 -0
  26. package/dist/cjs/src/user-modules/channel-card.js.map +1 -0
  27. package/dist/cjs/src/user-modules/channel.d.ts +0 -2
  28. package/dist/cjs/src/user-modules/channel.d.ts.map +1 -1
  29. package/dist/cjs/src/user-modules/channel.js +0 -6
  30. package/dist/cjs/src/user-modules/channel.js.map +1 -1
  31. package/dist/cjs/src/user-modules/consult-card.d.ts +42 -0
  32. package/dist/cjs/src/user-modules/consult-card.d.ts.map +1 -0
  33. package/dist/cjs/src/user-modules/consult-card.js +63 -0
  34. package/dist/cjs/src/user-modules/consult-card.js.map +1 -0
  35. package/dist/cjs/src/user-modules/message.d.ts +4 -0
  36. package/dist/cjs/src/user-modules/message.d.ts.map +1 -1
  37. package/dist/cjs/src/user-modules/message.js +23 -0
  38. package/dist/cjs/src/user-modules/message.js.map +1 -1
  39. package/dist/cjs/src/user-modules/mod.d.ts +5 -3
  40. package/dist/cjs/src/user-modules/mod.d.ts.map +1 -1
  41. package/dist/cjs/src/user-modules/mod.js +5 -1
  42. package/dist/cjs/src/user-modules/mod.js.map +1 -1
  43. package/dist/cjs/src/wechaty/wechaty-base.d.ts +21 -116
  44. package/dist/cjs/src/wechaty/wechaty-base.d.ts.map +1 -1
  45. package/dist/cjs/src/wechaty/wechaty-base.js +1 -1
  46. package/dist/cjs/src/wechaty/wechaty-impl.spec.js +9 -5
  47. package/dist/cjs/src/wechaty/wechaty-impl.spec.js.map +1 -1
  48. package/dist/cjs/src/wechaty-mixins/login-mixin.d.ts +18 -30
  49. package/dist/cjs/src/wechaty-mixins/login-mixin.d.ts.map +1 -1
  50. package/dist/cjs/src/wechaty-mixins/misc-mixin.d.ts +12 -0
  51. package/dist/cjs/src/wechaty-mixins/misc-mixin.d.ts.map +1 -1
  52. package/dist/cjs/src/wechaty-mixins/plugin-mixin.d.ts +16 -12
  53. package/dist/cjs/src/wechaty-mixins/plugin-mixin.d.ts.map +1 -1
  54. package/dist/cjs/src/wechaty-mixins/puppet-mixin.d.ts +28 -2
  55. package/dist/cjs/src/wechaty-mixins/puppet-mixin.d.ts.map +1 -1
  56. package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.d.ts +6 -2
  57. package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.d.ts.map +1 -1
  58. package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.js +6 -0
  59. package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.js.map +1 -1
  60. package/dist/esm/src/mods/impls.d.ts +3 -3
  61. package/dist/esm/src/mods/impls.d.ts.map +1 -1
  62. package/dist/esm/src/mods/impls.js +1 -1
  63. package/dist/esm/src/mods/impls.js.map +1 -1
  64. package/dist/esm/src/mods/users.d.ts +1 -1
  65. package/dist/esm/src/mods/users.d.ts.map +1 -1
  66. package/dist/esm/src/package-json.js +4 -4
  67. package/dist/esm/src/sayable/deliver-sayable.d.ts.map +1 -1
  68. package/dist/esm/src/sayable/deliver-sayable.js +7 -1
  69. package/dist/esm/src/sayable/deliver-sayable.js.map +1 -1
  70. package/dist/esm/src/sayable/message-to-sayable.d.ts.map +1 -1
  71. package/dist/esm/src/sayable/message-to-sayable.js +4 -0
  72. package/dist/esm/src/sayable/message-to-sayable.js.map +1 -1
  73. package/dist/esm/src/sayable/payload-to-sayable.d.ts.map +1 -1
  74. package/dist/esm/src/sayable/payload-to-sayable.js +4 -0
  75. package/dist/esm/src/sayable/payload-to-sayable.js.map +1 -1
  76. package/dist/esm/src/sayable/sayable-to-payload.d.ts.map +1 -1
  77. package/dist/esm/src/sayable/sayable-to-payload.js +7 -1
  78. package/dist/esm/src/sayable/sayable-to-payload.js.map +1 -1
  79. package/dist/esm/src/sayable/types.d.ts +2 -2
  80. package/dist/esm/src/sayable/types.d.ts.map +1 -1
  81. package/dist/esm/src/sayable/types.js.map +1 -1
  82. package/dist/esm/src/user-modules/channel-card.d.ts +39 -0
  83. package/dist/esm/src/user-modules/channel-card.d.ts.map +1 -0
  84. package/dist/esm/src/user-modules/channel-card.js +54 -0
  85. package/dist/esm/src/user-modules/channel-card.js.map +1 -0
  86. package/dist/esm/src/user-modules/channel.d.ts +0 -2
  87. package/dist/esm/src/user-modules/channel.d.ts.map +1 -1
  88. package/dist/esm/src/user-modules/channel.js +0 -6
  89. package/dist/esm/src/user-modules/channel.js.map +1 -1
  90. package/dist/esm/src/user-modules/consult-card.d.ts +42 -0
  91. package/dist/esm/src/user-modules/consult-card.d.ts.map +1 -0
  92. package/dist/esm/src/user-modules/consult-card.js +60 -0
  93. package/dist/esm/src/user-modules/consult-card.js.map +1 -0
  94. package/dist/esm/src/user-modules/message.d.ts +4 -0
  95. package/dist/esm/src/user-modules/message.d.ts.map +1 -1
  96. package/dist/esm/src/user-modules/message.js +23 -0
  97. package/dist/esm/src/user-modules/message.js.map +1 -1
  98. package/dist/esm/src/user-modules/mod.d.ts +5 -3
  99. package/dist/esm/src/user-modules/mod.d.ts.map +1 -1
  100. package/dist/esm/src/user-modules/mod.js +3 -1
  101. package/dist/esm/src/user-modules/mod.js.map +1 -1
  102. package/dist/esm/src/wechaty/wechaty-base.d.ts +21 -116
  103. package/dist/esm/src/wechaty/wechaty-base.d.ts.map +1 -1
  104. package/dist/esm/src/wechaty/wechaty-base.js +1 -1
  105. package/dist/esm/src/wechaty/wechaty-impl.spec.js +9 -5
  106. package/dist/esm/src/wechaty/wechaty-impl.spec.js.map +1 -1
  107. package/dist/esm/src/wechaty-mixins/login-mixin.d.ts +18 -30
  108. package/dist/esm/src/wechaty-mixins/login-mixin.d.ts.map +1 -1
  109. package/dist/esm/src/wechaty-mixins/misc-mixin.d.ts +12 -0
  110. package/dist/esm/src/wechaty-mixins/misc-mixin.d.ts.map +1 -1
  111. package/dist/esm/src/wechaty-mixins/plugin-mixin.d.ts +16 -12
  112. package/dist/esm/src/wechaty-mixins/plugin-mixin.d.ts.map +1 -1
  113. package/dist/esm/src/wechaty-mixins/puppet-mixin.d.ts +28 -2
  114. package/dist/esm/src/wechaty-mixins/puppet-mixin.d.ts.map +1 -1
  115. package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.d.ts +6 -2
  116. package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.d.ts.map +1 -1
  117. package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.js +7 -1
  118. package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.js.map +1 -1
  119. package/package.json +3 -3
  120. package/src/mods/impls.ts +6 -0
  121. package/src/mods/users.ts +2 -0
  122. package/src/package-json.ts +4 -4
  123. package/src/sayable/deliver-sayable.ts +12 -0
  124. package/src/sayable/message-to-sayable.ts +6 -0
  125. package/src/sayable/payload-to-sayable.ts +6 -0
  126. package/src/sayable/sayable-to-payload.ts +6 -0
  127. package/src/sayable/types.ts +4 -0
  128. package/src/user-modules/channel-card.ts +85 -0
  129. package/src/user-modules/channel.ts +0 -8
  130. package/src/user-modules/consult-card.ts +94 -0
  131. package/src/user-modules/message.ts +37 -0
  132. package/src/user-modules/mod.ts +16 -0
  133. package/src/wechaty/wechaty-base.ts +1 -1
  134. package/src/wechaty/wechaty-impl.spec.ts +6 -0
  135. package/src/wechaty-mixins/wechatify-user-module-mixin.ts +12 -0
@@ -22,20 +22,14 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
22
22
  __wechatifiedPost?: import("../user-modules/post.js").PostConstructor | undefined;
23
23
  __wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
24
24
  __wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
25
- __wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined; /**
26
- * Logout the bot
27
- *
28
- * @returns {Promise<void>}
29
- * @example
30
- * await bot.logout()
31
- */
25
+ __wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
32
26
  __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
33
27
  __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
34
28
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
29
+ __wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
30
+ __wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | undefined;
35
31
  __wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
36
- __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined; /**
37
- * @deprecated: use `isLoggedIn` property instead. will be removed after Dec 31, 2022
38
- */
32
+ __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
39
33
  __wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
40
34
  __wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
41
35
  readonly Contact: import("../user-modules/contact.js").ContactConstructor;
@@ -53,6 +47,8 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
53
47
  readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
54
48
  readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
55
49
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
50
+ readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
51
+ readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
56
52
  readonly Moment: import("../user-modules/moment.js").MomentConstructor;
57
53
  readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
58
54
  readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
@@ -97,20 +93,14 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
97
93
  __wechatifiedPost?: import("../user-modules/post.js").PostConstructor | undefined;
98
94
  __wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
99
95
  __wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
100
- __wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined; /**
101
- * Logout the bot
102
- *
103
- * @returns {Promise<void>}
104
- * @example
105
- * await bot.logout()
106
- */
96
+ __wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
107
97
  __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
108
98
  __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
109
99
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
100
+ __wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
101
+ __wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | undefined;
110
102
  __wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
111
- __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined; /**
112
- * @deprecated: use `isLoggedIn` property instead. will be removed after Dec 31, 2022
113
- */
103
+ __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
114
104
  __wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
115
105
  __wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
116
106
  readonly Contact: import("../user-modules/contact.js").ContactConstructor;
@@ -128,6 +118,8 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
128
118
  readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
129
119
  readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
130
120
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
121
+ readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
122
+ readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
131
123
  readonly Moment: import("../user-modules/moment.js").MomentConstructor;
132
124
  readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
133
125
  readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
@@ -302,20 +294,14 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
302
294
  __wechatifiedPost?: import("../user-modules/post.js").PostConstructor | undefined;
303
295
  __wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
304
296
  __wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
305
- __wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined; /**
306
- * Logout the bot
307
- *
308
- * @returns {Promise<void>}
309
- * @example
310
- * await bot.logout()
311
- */
297
+ __wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
312
298
  __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
313
299
  __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
314
300
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
301
+ __wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
302
+ __wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | undefined;
315
303
  __wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
316
- __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined; /**
317
- * @deprecated: use `isLoggedIn` property instead. will be removed after Dec 31, 2022
318
- */
304
+ __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
319
305
  __wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
320
306
  __wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
321
307
  readonly Contact: import("../user-modules/contact.js").ContactConstructor;
@@ -333,6 +319,8 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
333
319
  readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
334
320
  readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
335
321
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
322
+ readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
323
+ readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
336
324
  readonly Moment: import("../user-modules/moment.js").MomentConstructor;
337
325
  readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
338
326
  readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
@@ -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;;;;;;;;;;;;;;;;;;;;;;oFA+DZ;;;;;;OAMG;;;;;mGAMH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oFAdH;;;;;;OAMG;;;;;mGAMH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sDA7BmB,GAAG,EAAE;;IAvC3B;;;;;;;OAOG;;IAMH;;;;;;;;;;OAUG;;;YAqBqB,QAAQ,IAAI,CAAC;IAUrC;;;;;;OAMG;oBACoB,MAAM,GAAG,QAAQ,IAAI,CAAC;IAK7C;;OAEG;gBACU,OAAO;IAKpB;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oFAvBH;;;;;;OAMG;;;;;mGAMH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoBN,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"}
1
+ {"version":3,"file":"login-mixin.d.ts","sourceRoot":"","sources":["../../../../src/wechaty-mixins/login-mixin.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAEV,oBAAoB,EACrB,MAAoC,wBAAwB,CAAA;AAC7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAKxD,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sDAgDU,GAAG,EAAE;;IAvC3B;;;;;;;OAOG;;IAMH;;;;;;;;;;OAUG;;;YAqBqB,QAAQ,IAAI,CAAC;IAUrC;;;;;;OAMG;oBACoB,MAAM,GAAG,QAAQ,IAAI,CAAC;IAK7C;;OAEG;gBACU,OAAO;IAKpB;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAWN,CAAA;AAED,aAAK,UAAU,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,CAAA;AAE/C,aAAK,2BAA2B,GAC5B,UAAU,GACV,UAAU,GACV,oBAAoB,CAAA;AAExB,YAAY,EACV,UAAU,EACV,2BAA2B,GAC5B,CAAA;AACD,OAAO,EACL,UAAU,GACX,CAAA"}
@@ -25,6 +25,8 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
25
25
  __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
26
26
  __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
27
27
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
28
+ __wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
29
+ __wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | undefined;
28
30
  __wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
29
31
  __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
30
32
  __wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
@@ -44,6 +46,8 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
44
46
  readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
45
47
  readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
46
48
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
49
+ readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
50
+ readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
47
51
  readonly Moment: import("../user-modules/moment.js").MomentConstructor;
48
52
  readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
49
53
  readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
@@ -94,6 +98,8 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
94
98
  __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
95
99
  __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
96
100
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
101
+ __wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
102
+ __wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | undefined;
97
103
  __wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
98
104
  __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
99
105
  __wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
@@ -113,6 +119,8 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
113
119
  readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
114
120
  readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
115
121
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
122
+ readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
123
+ readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
116
124
  readonly Moment: import("../user-modules/moment.js").MomentConstructor;
117
125
  readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
118
126
  readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
@@ -286,6 +294,8 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
286
294
  __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
287
295
  __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
288
296
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
297
+ __wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
298
+ __wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | undefined;
289
299
  __wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
290
300
  __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
291
301
  __wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
@@ -305,6 +315,8 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
305
315
  readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
306
316
  readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
307
317
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
318
+ readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
319
+ readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
308
320
  readonly Moment: import("../user-modules/moment.js").MomentConstructor;
309
321
  readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
310
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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"}
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"}
@@ -103,13 +103,12 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
103
103
  __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
104
104
  __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
105
105
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
106
+ __wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
107
+ __wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | undefined;
106
108
  __wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
107
109
  __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
108
110
  __wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
109
111
  __wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
110
- /**
111
- * Return the function to uninstall all plugins
112
- */
113
112
  readonly Contact: import("../user-modules/contact.js").ContactConstructor;
114
113
  readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
115
114
  readonly Delay: import("../user-modules/delay.js").DelayConstructor;
@@ -125,6 +124,8 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
125
124
  readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
126
125
  readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
127
126
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
127
+ readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
128
+ readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
128
129
  readonly Moment: import("../user-modules/moment.js").MomentConstructor;
129
130
  readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
130
131
  readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
@@ -162,13 +163,12 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
162
163
  __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
163
164
  __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
164
165
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
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;
168
171
  __wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
169
- /**
170
- * Return the function to uninstall all plugins
171
- */
172
172
  readonly Contact: import("../user-modules/contact.js").ContactConstructor;
173
173
  readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
174
174
  readonly Delay: import("../user-modules/delay.js").DelayConstructor;
@@ -184,6 +184,8 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
184
184
  readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
185
185
  readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
186
186
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
187
+ readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
188
+ readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
187
189
  readonly Moment: import("../user-modules/moment.js").MomentConstructor;
188
190
  readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
189
191
  readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
@@ -232,13 +234,12 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
232
234
  __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
233
235
  __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
234
236
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
237
+ __wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
238
+ __wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | undefined;
235
239
  __wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
236
240
  __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
237
241
  __wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
238
242
  __wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
239
- /**
240
- * Return the function to uninstall all plugins
241
- */
242
243
  readonly Contact: import("../user-modules/contact.js").ContactConstructor;
243
244
  readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
244
245
  readonly Delay: import("../user-modules/delay.js").DelayConstructor;
@@ -254,6 +255,8 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
254
255
  readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
255
256
  readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
256
257
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
258
+ readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
259
+ readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
257
260
  readonly Moment: import("../user-modules/moment.js").MomentConstructor;
258
261
  readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
259
262
  readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
@@ -409,13 +412,12 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
409
412
  __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
410
413
  __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
411
414
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
415
+ __wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
416
+ __wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | undefined;
412
417
  __wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
413
418
  __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
414
419
  __wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
415
420
  __wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
416
- /**
417
- * Return the function to uninstall all plugins
418
- */
419
421
  readonly Contact: import("../user-modules/contact.js").ContactConstructor;
420
422
  readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
421
423
  readonly Delay: import("../user-modules/delay.js").DelayConstructor;
@@ -431,6 +433,8 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
431
433
  readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
432
434
  readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
433
435
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
436
+ readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
437
+ readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
434
438
  readonly Moment: import("../user-modules/moment.js").MomentConstructor;
435
439
  readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
436
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAqBD;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAFH;;OAEG;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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"}
@@ -24,6 +24,8 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
24
24
  __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
25
25
  __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
26
26
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
27
+ __wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
28
+ __wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | undefined;
27
29
  __wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
28
30
  __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
29
31
  __wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
@@ -32,7 +34,16 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
32
34
  readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
33
35
  readonly Delay: import("../user-modules/delay.js").DelayConstructor;
34
36
  readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
35
- 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
+ */
36
47
  readonly Location: import("../user-modules/location.js").LocationConstructor;
37
48
  readonly Message: import("../user-modules/message.js").MessageConstructor;
38
49
  readonly MiniProgram: import("../user-modules/mini-program.js").MiniProgramConstructor;
@@ -43,6 +54,8 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
43
54
  readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
44
55
  readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
45
56
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
57
+ readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
58
+ readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
46
59
  readonly Moment: import("../user-modules/moment.js").MomentConstructor;
47
60
  readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
48
61
  readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
@@ -160,6 +173,8 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
160
173
  __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
161
174
  __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
162
175
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
176
+ __wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
177
+ __wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | undefined;
163
178
  __wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
164
179
  __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
165
180
  __wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
@@ -168,7 +183,16 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
168
183
  readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
169
184
  readonly Delay: import("../user-modules/delay.js").DelayConstructor;
170
185
  readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
171
- 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
+ */
172
196
  readonly Location: import("../user-modules/location.js").LocationConstructor;
173
197
  readonly Message: import("../user-modules/message.js").MessageConstructor;
174
198
  readonly MiniProgram: import("../user-modules/mini-program.js").MiniProgramConstructor;
@@ -179,6 +203,8 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
179
203
  readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
180
204
  readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
181
205
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
206
+ readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
207
+ readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
182
208
  readonly Moment: import("../user-modules/moment.js").MomentConstructor;
183
209
  readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
184
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sDAqBS,GAAG,EAAE;;;2BANH,oBAAoB;sBAE1B,gBAAgB;;aAmBT,QAAQ,IAAI,CAAC;YA+Cd,QAAQ,IAAI,CAAC;aAuBrB,QAAQ,IAAI,CAAC;YAML,QAAQ,IAAI,CAAC;gCA8CR,OAAO,KAAK,CAAC,eAAe,GAAG,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+gBnE,CAAA;AAED,aAAK,WAAW,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAA;AAEjD,aAAK,4BAA4B,GAC7B,UAAU,GACV,cAAc,GACd,qBAAqB,GACrB,kBAAkB,CAAA;AAEtB,YAAY,EACV,WAAW,EACX,4BAA4B,GAC7B,CAAA;AACD,OAAO,EACL,WAAW,GACZ,CAAA"}
1
+ {"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, 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;
@@ -16,6 +16,8 @@ declare const wechatifyUserModuleMixin: <MixinBase extends typeof WechatySkeleto
16
16
  __wechatifiedTagGroup?: TagGroupConstructor | undefined;
17
17
  __wechatifiedUrlLink?: UrlLinkConstructor | undefined;
18
18
  __wechatifiedChannel?: ChannelConstructor | undefined;
19
+ __wechatifiedChannelCard?: ChannelCardConstructor | undefined;
20
+ __wechatifiedConsultCard?: ConsultCardConstructor | undefined;
19
21
  __wechatifiedMoment?: MomentConstructor | undefined;
20
22
  __wechatifiedCallRecord?: CallRecordConstructor | undefined;
21
23
  __wechatifiedChatHistory?: ChatHistoryConstructor | undefined;
@@ -35,6 +37,8 @@ declare const wechatifyUserModuleMixin: <MixinBase extends typeof WechatySkeleto
35
37
  readonly TagGroup: TagGroupConstructor;
36
38
  readonly UrlLink: UrlLinkConstructor;
37
39
  readonly Channel: ChannelConstructor;
40
+ readonly ChannelCard: ChannelCardConstructor;
41
+ readonly ConsultCard: ConsultCardConstructor;
38
42
  readonly Moment: MomentConstructor;
39
43
  readonly CallRecord: CallRecordConstructor;
40
44
  readonly ChatHistory: ChatHistoryConstructor;
@@ -67,7 +71,7 @@ declare const wechatifyUserModuleMixin: <MixinBase extends typeof WechatySkeleto
67
71
  readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
68
72
  }) & MixinBase;
69
73
  declare type WechatifyUserModuleMixin = ReturnType<typeof wechatifyUserModuleMixin>;
70
- declare type ProtectedPropertyWechatifyUserModuleMixin = '__wechatifiedContact' | '__wechatifiedContactSelf' | '__wechatifiedDelay' | '__wechatifiedFriendship' | '__wechatifiedImage' | '__wechatifiedLocation' | '__wechatifiedMessage' | '__wechatifiedMiniProgram' | '__wechatifiedRoom' | '__wechatifiedRoomInvitation' | '__wechatifiedTag' | '__wechatifiedTagGroup' | '__wechatifiedUrlLink' | '__wechatifiedChannel' | '__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';
71
75
  export type { WechatifyUserModuleMixin, ProtectedPropertyWechatifyUserModuleMixin, };
72
76
  export { wechatifyUserModuleMixin, };
73
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,EAqBL,kBAAkB,EAClB,sBAAsB,EACtB,gBAAgB,EAChB,qBAAqB,EACrB,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,EAClB,sBAAsB,EACtB,eAAe,EACf,eAAe,EACf,yBAAyB,EACzB,cAAc,EACd,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,qBAAqB,EACrB,sBAAsB,EACtB,gBAAgB,EAGjB,MAA4B,wBAAwB,CAAA;AAErD,OAAO,KAAK,EACV,eAAe,EAChB,MAAkC,mBAAmB,CAAA;AAEtD,QAAA,MAAM,wBAAwB,+FAKJ,GAAG,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA6CH,QAAQ,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;cA8CxC,CAAA;AAYD,aAAK,wBAAwB,GAAG,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAE3E,aAAK,yCAAyC,GAC1C,sBAAsB,GACtB,0BAA0B,GAC1B,oBAAoB,GACpB,yBAAyB,GACzB,oBAAoB,GACpB,uBAAuB,GACvB,sBAAsB,GACtB,0BAA0B,GAC1B,mBAAmB,GACnB,6BAA6B,GAC7B,kBAAkB,GAClB,uBAAuB,GACvB,sBAAsB,GACtB,sBAAsB,GACtB,qBAAqB,GACrB,yBAAyB,GACzB,0BAA0B,GAC1B,oBAAoB,CAAA;AAExB,YAAY,EACV,wBAAwB,EACxB,yCAAyC,GAC1C,CAAA;AACD,OAAO,EACL,wBAAwB,GACzB,CAAA"}
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"}
@@ -25,6 +25,8 @@ const wechatifyUserModuleMixin = (mixinBase) => {
25
25
  __wechatifiedTagGroup;
26
26
  __wechatifiedUrlLink;
27
27
  __wechatifiedChannel;
28
+ __wechatifiedChannelCard;
29
+ __wechatifiedConsultCard;
28
30
  __wechatifiedMoment;
29
31
  __wechatifiedCallRecord;
30
32
  __wechatifiedChatHistory;
@@ -44,6 +46,8 @@ const wechatifyUserModuleMixin = (mixinBase) => {
44
46
  get TagGroup() { return guardWechatify(this.__wechatifiedTagGroup); }
45
47
  get UrlLink() { return guardWechatify(this.__wechatifiedUrlLink); }
46
48
  get Channel() { return guardWechatify(this.__wechatifiedChannel); }
49
+ get ChannelCard() { return guardWechatify(this.__wechatifiedChannelCard); }
50
+ get ConsultCard() { return guardWechatify(this.__wechatifiedConsultCard); }
47
51
  get Moment() { return guardWechatify(this.__wechatifiedMoment); }
48
52
  get CallRecord() { return guardWechatify(this.__wechatifiedCallRecord); }
49
53
  get ChatHistory() { return guardWechatify(this.__wechatifiedChatHistory); }
@@ -80,6 +84,8 @@ const wechatifyUserModuleMixin = (mixinBase) => {
80
84
  this.__wechatifiedTagGroup = (0, mod_js_1.wechatifyUserModule)(mod_js_1.TagGroupImpl)(this);
81
85
  this.__wechatifiedUrlLink = (0, mod_js_1.wechatifyUserModule)(mod_js_1.UrlLinkImpl)(this);
82
86
  this.__wechatifiedChannel = (0, mod_js_1.wechatifyUserModule)(mod_js_1.ChannelImpl)(this);
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);
83
89
  this.__wechatifiedMoment = (0, mod_js_1.wechatifyUserModule)(mod_js_1.MomentImpl)(this);
84
90
  this.__wechatifiedCallRecord = (0, mod_js_1.wechatifyUserModule)(mod_js_1.CallRecordImpl)(this);
85
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,mDA0CqD;AAMrD,MAAM,wBAAwB,GAAG,CAA4C,SAAoB,EAAE,EAAE;IACnG,oBAAG,CAAC,OAAO,CAAC,0BAA0B,EAAE,8BAA8B,EAAE,SAAS,CAAC,IAAI,CAAC,CAAA;IAEvF,MAAe,wBAAyB,SAAQ,SAAS;QAEvD,YAAa,GAAG,IAAW;YACzB,oBAAG,CAAC,OAAO,CAAC,0BAA0B,EAAE,eAAe,CAAC,CAAA;YACxD,KAAK,CAAC,GAAG,IAAI,CAAC,CAAA;QAChB,CAAC;QAED,oBAAoB,CAA6B;QACjD,wBAAwB,CAA6B;QACrD,kBAAkB,CAA6B;QAC/C,uBAAuB,CAA6B;QACpD,kBAAkB,CAA6B;QAC/C,qBAAqB,CAA6B;QAClD,oBAAoB,CAA6B;QACjD,wBAAwB,CAA6B;QACrD,iBAAiB,CAA6B;QAC9C,iBAAiB,CAA6B;QAC9C,2BAA2B,CAA6B;QACxD,gBAAgB,CAA6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AA,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;AAuCC,4DAAwB;AArC1B;;GAEG;AACH,SAAS,cAAc,CAAsB,UAAc;IACzD,IAAI,UAAU,EAAE;QACd,OAAO,UAAU,CAAA;KAClB;IACD,MAAM,IAAI,KAAK,CAAC,8FAA8F,CAAC,CAAA;AACjH,CAAC"}
1
+ {"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,CAA6B;QACrD,iBAAiB,CAA6B;QAC9C,iBAAiB,CAA6B;QAC9C,2BAA2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AW,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, } from '../user-modules/mod.js';
32
- export type { ContactInterface, ContactSelfInterface, DelayInterface, FavoriteInterface, FriendshipInterface, ImageInterface, LocationInterface, MessageInterface, MiniProgramInterface, MomentInterface, MoneyInterface, PostInterface, RoomInterface, RoomInvitationInterface, TagInterface, TagGroupInterface, UrlLinkInterface, ChannelInterface, CallRecordInterface, WecomInterface, } from '../user-modules/mod.js';
33
- export type { ContactConstructor, ContactSelfConstructor, DelayConstructor, FavoriteConstructor, FriendshipConstructor, ImageConstructor, LocationConstructor, MessageConstructor, MiniProgramConstructor, MomentConstructor, MoneyConstructor, PostConstructor, RoomConstructor, RoomInvitationConstructor, TagConstructor, TagGroupConstructor, UrlLinkConstructor, ChannelConstructor, WecomConstructor, } from '../user-modules/mod.js';
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,GACV,MAAkC,wBAAwB,CAAA;AAqB3D,YAAY,EACV,gBAAgB,EAChB,oBAAoB,EACpB,cAAc,EACd,iBAAiB,EACjB,mBAAmB,EACnB,cAAc,EACd,iBAAiB,EACjB,gBAAgB,EAChB,oBAAoB,EACpB,eAAe,EACf,cAAc,EACd,aAAa,EACb,aAAa,EACb,uBAAuB,EACvB,YAAY,EACZ,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,cAAc,GACf,MAAoC,wBAAwB,CAAA;AAE7D,YAAY,EACV,kBAAkB,EAClB,sBAAsB,EACtB,gBAAgB,EAChB,mBAAmB,EACnB,qBAAqB,EACrB,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,EAClB,sBAAsB,EACtB,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,yBAAyB,EACzB,cAAc,EACd,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAClB,gBAAgB,GACjB,MAAoC,wBAAwB,CAAA;AAE7D,OAAO,EACL,WAAW,GACZ,MAA8B,mBAAmB,CAAA;AAClD,YAAY,EACV,gBAAgB,EAChB,kBAAkB,GACnB,MAA8B,mBAAmB,CAAA"}
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, } 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,GACV,MAAkC,wBAAwB,CAAA;AAkE3D,OAAO,EACL,WAAW,GACZ,MAA8B,mBAAmB,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, } 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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AoD,wBAAwB,CAAA"}
@@ -1,7 +1,7 @@
1
- export const GIT_COMMIT_HASH = '20acf2f69d1a4f2a16e6b8530b236cbbafcf6d1c';
1
+ export const GIT_COMMIT_HASH = '1cda49d5f4bef45d943a8ece64926bc9cdf47697';
2
2
  export const packageJson = {
3
3
  "name": "@juzi/wechaty",
4
- "version": "1.0.114",
4
+ "version": "1.0.116",
5
5
  "description": "Wechaty is a RPA SDK for Chatbot Makers.",
6
6
  "type": "module",
7
7
  "exports": {
@@ -110,7 +110,7 @@ export const packageJson = {
110
110
  },
111
111
  "homepage": "https://github.com/wechaty/",
112
112
  "dependencies": {
113
- "@juzi/wechaty-puppet-service": "^1.0.108",
113
+ "@juzi/wechaty-puppet-service": "^1.0.110",
114
114
  "clone-class": "^1.1.1",
115
115
  "cmd-ts": "^0.10.0",
116
116
  "cockatiel": "^2.0.2",
@@ -133,7 +133,7 @@ export const packageJson = {
133
133
  "@chatie/eslint-config": "^1.0.4",
134
134
  "@chatie/semver": "^0.4.7",
135
135
  "@chatie/tsconfig": "^4.6.3",
136
- "@juzi/wechaty-puppet": "^1.0.106",
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;AAcnD,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,2BA6FjK,CAAA;AAED,OAAO,EACL,gCAAgC,GACjC,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, } 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
  */
@@ -69,6 +69,12 @@ const deliverSayableConversationPuppet = (puppet) => (conversationId) => async (
69
69
  else if (ChannelImpl.validInstance(sayable)) {
70
70
  msgId = await puppet.messageSendChannel(conversationId, sayable.payload);
71
71
  }
72
+ else if (ChannelCardImpl.validInstance(sayable)) {
73
+ msgId = await puppet.messageSendChannelCard(conversationId, sayable.payload);
74
+ }
75
+ else if (ConsultCardImpl.validInstance(sayable)) {
76
+ msgId = await puppet.messageSendConsultCard(conversationId, sayable.payload);
77
+ }
72
78
  else {
73
79
  throw new Error('unsupported arg: ' + sayable);
74
80
  }
@@ -1 +1 @@
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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AAG,MAAM,MAAM,CAAC,cAAc,CACjC,cAAc,EACd,OAAO,CAAC,OAAO,CAChB,CAAA;KACF;SAAM,IAAI,eAAe,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE;QACjD;;WAEG;QACH,KAAK,GAAG,MAAM,MAAM,CAAC,sBAAsB,CACzC,cAAc,EACd,OAAO,CAAC,OAAO,CAChB,CAAA;KACF;SAAM,IAAI,YAAY,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE;QAC9C;;WAEG;QACH,KAAK,GAAG,MAAM,MAAM,CAAC,mBAAmB,CACtC,cAAc,EACd,OAAO,CAAC,OAAO,CAChB,CAAA;KACF;SAAM,IAAI,SAAS,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE;QAC3C;;WAEG;QACH,MAAM,OAAO,CAAC,IAAI,EAAE,CAAA;KACrB;SAAM,IAAI,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE;QAC1C;;WAEG;QACH,KAAK,GAAG,MAAM,MAAM,CAAC,eAAe,CAClC,cAAc,EACd,OAAO,CAAC,OAAO,CAChB,CAAA;KACF;SAAM,IAAI,WAAW,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE;QAC7C,KAAK,GAAG,MAAM,MAAM,CAAC,kBAAkB,CACrC,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
+ {"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,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AAO,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,CA4C9B;AAED,OAAO,EACL,gBAAgB,GACjB,CAAA"}
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"}