@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
@@ -35,11 +35,13 @@ import { TagGroupImpl, TagGroupInterface, TagGroupConstructor } from './tag-grou
35
35
  import { UrlLinkImpl, UrlLinkInterface, UrlLinkConstructor } from './url-link.js';
36
36
  import { DelayImpl, DelayInterface, DelayConstructor } from './delay.js';
37
37
  import { ChannelImpl, ChannelInterface, ChannelConstructor } from './channel.js';
38
+ import { ChannelCardImpl, ChannelCardInterface, ChannelCardConstructor } from './channel-card.js';
39
+ import { ConsultCardImpl, ConsultCardInterface, ConsultCardConstructor } from './consult-card.js';
38
40
  import { CallRecordImpl, CallRecordInterface, CallRecordConstructor } from './call.js';
39
41
  import { ChatHistoryImpl, ChatHistoryInterface, ChatHistoryConstructor } from './chat-history.js';
40
42
  import { WecomImpl, WecomInterface, WecomConstructor } from './wecom.js';
41
43
  import { wechatifyUserModule } from '../user-mixins/wechatify.js';
42
- export type { ContactInterface, ContactSelfInterface, FavoriteInterface, FriendshipInterface, ImageInterface, LocationInterface, MessageInterface, MiniProgramInterface, MomentInterface, MoneyInterface, PostInterface, RoomInterface, RoomInvitationInterface, TagInterface, TagGroupInterface, DelayInterface, UrlLinkInterface, ChannelInterface, CallRecordInterface, ChatHistoryInterface, WecomInterface, };
43
- export type { ContactConstructor, ContactSelfConstructor, FavoriteConstructor, FriendshipConstructor, ImageConstructor, LocationConstructor, MessageConstructor, MiniProgramConstructor, MomentConstructor, MoneyConstructor, PostConstructor, RoomConstructor, RoomInvitationConstructor, DelayConstructor, TagConstructor, TagGroupConstructor, UrlLinkConstructor, ChannelConstructor, CallRecordConstructor, ChatHistoryConstructor, WecomConstructor, };
44
- export { wechatifyUserModule, ContactImpl, ContactSelfImpl, FavoriteImpl, FriendshipImpl, ImageImpl, LocationImpl, MessageImpl, MiniProgramImpl, MomentImpl, MoneyImpl, PostImpl, RoomImpl, RoomInvitationImpl, DelayImpl, TagImpl, TagGroupImpl, UrlLinkImpl, ChannelImpl, CallRecordImpl, ChatHistoryImpl, WecomImpl, };
44
+ export type { ContactInterface, ContactSelfInterface, FavoriteInterface, FriendshipInterface, ImageInterface, LocationInterface, MessageInterface, MiniProgramInterface, MomentInterface, MoneyInterface, PostInterface, RoomInterface, RoomInvitationInterface, TagInterface, TagGroupInterface, DelayInterface, UrlLinkInterface, ChannelInterface, ChannelCardInterface, ConsultCardInterface, CallRecordInterface, ChatHistoryInterface, WecomInterface, };
45
+ export type { ContactConstructor, ContactSelfConstructor, FavoriteConstructor, FriendshipConstructor, ImageConstructor, LocationConstructor, MessageConstructor, MiniProgramConstructor, MomentConstructor, MoneyConstructor, PostConstructor, RoomConstructor, RoomInvitationConstructor, DelayConstructor, TagConstructor, TagGroupConstructor, UrlLinkConstructor, ChannelConstructor, ChannelCardConstructor, ConsultCardConstructor, CallRecordConstructor, ChatHistoryConstructor, WecomConstructor, };
46
+ export { wechatifyUserModule, ContactImpl, ContactSelfImpl, FavoriteImpl, FriendshipImpl, ImageImpl, LocationImpl, MessageImpl, MiniProgramImpl, MomentImpl, MoneyImpl, PostImpl, RoomImpl, RoomInvitationImpl, DelayImpl, TagImpl, TagGroupImpl, UrlLinkImpl, ChannelImpl, ChannelCardImpl, ConsultCardImpl, CallRecordImpl, ChatHistoryImpl, WecomImpl, };
45
47
  //# sourceMappingURL=mod.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../../../src/user-modules/mod.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,kBAAkB,EACnB,MAAgC,cAAc,CAAA;AAC/C,OAAO,EACL,eAAe,EACf,oBAAoB,EACpB,sBAAsB,EACvB,MAAgC,mBAAmB,CAAA;AACpD,OAAO,EACL,YAAY,EACZ,iBAAiB,EACjB,mBAAmB,EACpB,MAAgC,eAAe,CAAA;AAChD,OAAO,EACL,cAAc,EACd,mBAAmB,EACnB,qBAAqB,EACtB,MAAgC,iBAAiB,CAAA;AAClD,OAAO,EACL,SAAS,EACT,cAAc,EACd,gBAAgB,EACjB,MAAgC,YAAY,CAAA;AAC7C,OAAO,EACL,YAAY,EACZ,iBAAiB,EACjB,mBAAmB,EACpB,MAAgC,eAAe,CAAA;AAChD,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,kBAAkB,EACnB,MAAgC,cAAc,CAAA;AAC/C,OAAO,EACL,eAAe,EACf,oBAAoB,EACpB,sBAAsB,EACvB,MAAgC,mBAAmB,CAAA;AACpD,OAAO,EACL,UAAU,EACV,eAAe,EACf,iBAAiB,EAClB,MAAgC,aAAa,CAAA;AAC9C,OAAO,EACL,SAAS,EACT,cAAc,EACd,gBAAgB,EACjB,MAAgC,YAAY,CAAA;AAC7C,OAAO,EACL,QAAQ,EACR,aAAa,EACb,eAAe,EAChB,MAAgC,WAAW,CAAA;AAC5C,OAAO,EACL,QAAQ,EACR,aAAa,EACb,eAAe,EAChB,MAAgC,WAAW,CAAA;AAC5C,OAAO,EACL,kBAAkB,EAClB,uBAAuB,EACvB,yBAAyB,EAC1B,MAAgC,sB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B,qBAAqB,EACrB,sBAAsB,EACtB,gBAAgB,GACjB,CAAA;AAED,OAAO,EACL,mBAAmB,EAEnB,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,eAAe,EACf,SAAS,GACV,CAAA"}
1
+ {"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../../../src/user-modules/mod.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,kBAAkB,EACnB,MAAgC,cAAc,CAAA;AAC/C,OAAO,EACL,eAAe,EACf,oBAAoB,EACpB,sBAAsB,EACvB,MAAgC,mBAAmB,CAAA;AACpD,OAAO,EACL,YAAY,EACZ,iBAAiB,EACjB,mBAAmB,EACpB,MAAgC,eAAe,CAAA;AAChD,OAAO,EACL,cAAc,EACd,mBAAmB,EACnB,qBAAqB,EACtB,MAAgC,iBAAiB,CAAA;AAClD,OAAO,EACL,SAAS,EACT,cAAc,EACd,gBAAgB,EACjB,MAAgC,YAAY,CAAA;AAC7C,OAAO,EACL,YAAY,EACZ,iBAAiB,EACjB,mBAAmB,EACpB,MAAgC,eAAe,CAAA;AAChD,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,kBAAkB,EACnB,MAAgC,cAAc,CAAA;AAC/C,OAAO,EACL,eAAe,EACf,oBAAoB,EACpB,sBAAsB,EACvB,MAAgC,mBAAmB,CAAA;AACpD,OAAO,EACL,UAAU,EACV,eAAe,EACf,iBAAiB,EAClB,MAAgC,aAAa,CAAA;AAC9C,OAAO,EACL,SAAS,EACT,cAAc,EACd,gBAAgB,EACjB,MAAgC,YAAY,CAAA;AAC7C,OAAO,EACL,QAAQ,EACR,aA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ACd,gBAAgB,EAChB,gBAAgB,EAChB,oBAAoB,EACpB,oBAAoB,EACpB,mBAAmB,EACnB,oBAAoB,EACpB,cAAc,GACf,CAAA;AAED,YAAY,EACV,kBAAkB,EAClB,sBAAsB,EACtB,mBAAmB,EACnB,qBAAqB,EACrB,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,EAClB,sBAAsB,EACtB,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,yBAAyB,EACzB,gBAAgB,EAChB,cAAc,EACd,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAClB,sBAAsB,EACtB,sBAAsB,EACtB,qBAAqB,EACrB,sBAAsB,EACtB,gBAAgB,GACjB,CAAA;AAED,OAAO,EACL,mBAAmB,EAEnB,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,eAAe,EACf,eAAe,EACf,cAAc,EACd,eAAe,EACf,SAAS,GACV,CAAA"}
@@ -35,9 +35,11 @@ import { TagGroupImpl, } from './tag-group.js';
35
35
  import { UrlLinkImpl, } from './url-link.js';
36
36
  import { DelayImpl, } from './delay.js';
37
37
  import { ChannelImpl, } from './channel.js';
38
+ import { ChannelCardImpl, } from './channel-card.js';
39
+ import { ConsultCardImpl, } from './consult-card.js';
38
40
  import { CallRecordImpl, } from './call.js';
39
41
  import { ChatHistoryImpl, } from './chat-history.js';
40
42
  import { WecomImpl, } from './wecom.js';
41
43
  import { wechatifyUserModule } from '../user-mixins/wechatify.js';
42
- export { wechatifyUserModule, ContactImpl, ContactSelfImpl, FavoriteImpl, FriendshipImpl, ImageImpl, LocationImpl, MessageImpl, MiniProgramImpl, MomentImpl, MoneyImpl, PostImpl, RoomImpl, RoomInvitationImpl, DelayImpl, TagImpl, TagGroupImpl, UrlLinkImpl, ChannelImpl, CallRecordImpl, ChatHistoryImpl, WecomImpl, };
44
+ export { wechatifyUserModule, ContactImpl, ContactSelfImpl, FavoriteImpl, FriendshipImpl, ImageImpl, LocationImpl, MessageImpl, MiniProgramImpl, MomentImpl, MoneyImpl, PostImpl, RoomImpl, RoomInvitationImpl, DelayImpl, TagImpl, TagGroupImpl, UrlLinkImpl, ChannelImpl, ChannelCardImpl, ConsultCardImpl, CallRecordImpl, ChatHistoryImpl, WecomImpl, };
43
45
  //# sourceMappingURL=mod.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"mod.js","sourceRoot":"","sources":["../../../../src/user-modules/mod.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,EACL,WAAW,GAGZ,MAAgC,cAAc,CAAA;AAC/C,OAAO,EACL,eAAe,GAGhB,MAAgC,mBAAmB,CAAA;AACpD,OAAO,EACL,YAAY,GAGb,MAAgC,eAAe,CAAA;AAChD,OAAO,EACL,cAAc,GAGf,MAAgC,iBAAiB,CAAA;AAClD,OAAO,EACL,SAAS,GAGV,MAAgC,YAAY,CAAA;AAC7C,OAAO,EACL,YAAY,GAGb,MAAgC,eAAe,CAAA;AAChD,OAAO,EACL,WAAW,GAGZ,MAAgC,cAAc,CAAA;AAC/C,OAAO,EACL,eAAe,GAGhB,MAAgC,mBAAmB,CAAA;AACpD,OAAO,EACL,UAAU,GAGX,MAAgC,aAAa,CAAA;AAC9C,OAAO,EACL,SAAS,GAGV,MAAgC,YAAY,CAAA;AAC7C,OAAO,EACL,QAAQ,GAGT,MAAgC,WAAW,CAAA;AAC5C,OAAO,EACL,QAAQ,GAGT,MAAgC,WAAW,CAAA;AAC5C,OAAO,EACL,kBAAkB,GAGnB,MAAgC,sBAAsB,CAAA;AACvD,OAAO,EACL,OAAO,GAGR,MAAgC,UAAU,CAAA;AAC3C,OAAO,EACL,YAAY,GAGb,MAAgC,gBAAgB,CAAA;A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AA;AAC7C,OAAO,EACL,QAAQ,GAGT,MAAgC,WAAW,CAAA;AAC5C,OAAO,EACL,QAAQ,GAGT,MAAgC,WAAW,CAAA;AAC5C,OAAO,EACL,kBAAkB,GAGnB,MAAgC,sBAAsB,CAAA;AACvD,OAAO,EACL,OAAO,GAGR,MAAgC,UAAU,CAAA;AAC3C,OAAO,EACL,YAAY,GAGb,MAAgC,gBAAgB,CAAA;AACjD,OAAO,EACL,WAAW,GAGZ,MAAgC,eAAe,CAAA;AAChD,OAAO,EACL,SAAS,GAGV,MAAgC,YAAY,CAAA;AAC7C,OAAO,EACL,WAAW,GAGZ,MAAgC,cAAc,CAAA;AAC/C,OAAO,EACL,eAAe,GAGhB,MAAgC,mBAAmB,CAAA;AACpD,OAAO,EACL,eAAe,GAGhB,MAAgC,mBAAmB,CAAA;AACpD,OAAO,EACL,cAAc,GAGf,MAAgC,WAAW,CAAA;AAC5C,OAAO,EACL,eAAe,GAGhB,MAAgC,mBAAmB,CAAA;AACpD,OAAO,EACL,SAAS,GAGV,MAAgC,YAAY,CAAA;AAE7C,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAA;AAsDjE,OAAO,EACL,mBAAmB,EAEnB,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,eAAe,EACf,eAAe,EACf,cAAc,EACd,eAAe,EACf,SAAS,GACV,CAAA"}
@@ -71,34 +71,13 @@ declare const mixinBase: (abstract new (...args: any[]) => {
71
71
  __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
72
72
  __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
73
73
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
74
+ __wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
75
+ __wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | undefined;
74
76
  __wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
75
77
  __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
76
78
  __wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
77
79
  __wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
78
80
  readonly Contact: import("../user-modules/contact.js").ContactConstructor;
79
- /**
80
- * Main bot class.
81
- *
82
- * A `Bot` is a WeChat client depends on which puppet you use.
83
- * It may equals
84
- * - web-WeChat, when you use: [puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)/[puppet-wechat4u](https://github.com/wechaty/wechaty-puppet-wechat4u)
85
- * - ipad-WeChat, when you use: [puppet-padchat](https://github.com/wechaty/wechaty-puppet-padchat)
86
- * - ios-WeChat, when you use: puppet-ioscat
87
- *
88
- * See more:
89
- * - [What is a Puppet in Wechaty](https://github.com/wechaty/getting-started/wiki/FAQ#31-what-is-a-puppet-in-wechaty)
90
- *
91
- * > If you want to know how to send message, see [Message](#Message) <br>
92
- * > If you want to know how to get contact, see [Contact](#Contact)
93
- *
94
- * @example <caption>The World's Shortest ChatBot Code: 6 lines of JavaScript</caption>
95
- * import { WechatyBuilder } from 'wechaty'
96
- * const bot = WechatyBuilder.build()
97
- * bot.on('scan', (qrCode, status) => console.log('https://wechaty.js.org/qrcode/' + encodeURIComponent(qrcode)))
98
- * bot.on('login', user => console.log(`User ${user} logged in`))
99
- * bot.on('message', message => console.log(`Message: ${message}`))
100
- * bot.start()
101
- */
102
81
  readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
103
82
  readonly Delay: import("../user-modules/delay.js").DelayConstructor;
104
83
  readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
@@ -113,6 +92,8 @@ declare const mixinBase: (abstract new (...args: any[]) => {
113
92
  readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
114
93
  readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
115
94
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
95
+ readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
96
+ readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
116
97
  readonly Moment: import("../user-modules/moment.js").MomentConstructor;
117
98
  readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
118
99
  readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
@@ -174,34 +155,13 @@ declare const mixinBase: (abstract new (...args: any[]) => {
174
155
  __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
175
156
  __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
176
157
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
158
+ __wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
159
+ __wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | undefined;
177
160
  __wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
178
161
  __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
179
162
  __wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
180
163
  __wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
181
164
  readonly Contact: import("../user-modules/contact.js").ContactConstructor;
182
- /**
183
- * Main bot class.
184
- *
185
- * A `Bot` is a WeChat client depends on which puppet you use.
186
- * It may equals
187
- * - web-WeChat, when you use: [puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)/[puppet-wechat4u](https://github.com/wechaty/wechaty-puppet-wechat4u)
188
- * - ipad-WeChat, when you use: [puppet-padchat](https://github.com/wechaty/wechaty-puppet-padchat)
189
- * - ios-WeChat, when you use: puppet-ioscat
190
- *
191
- * See more:
192
- * - [What is a Puppet in Wechaty](https://github.com/wechaty/getting-started/wiki/FAQ#31-what-is-a-puppet-in-wechaty)
193
- *
194
- * > If you want to know how to send message, see [Message](#Message) <br>
195
- * > If you want to know how to get contact, see [Contact](#Contact)
196
- *
197
- * @example <caption>The World's Shortest ChatBot Code: 6 lines of JavaScript</caption>
198
- * import { WechatyBuilder } from 'wechaty'
199
- * const bot = WechatyBuilder.build()
200
- * bot.on('scan', (qrCode, status) => console.log('https://wechaty.js.org/qrcode/' + encodeURIComponent(qrcode)))
201
- * bot.on('login', user => console.log(`User ${user} logged in`))
202
- * bot.on('message', message => console.log(`Message: ${message}`))
203
- * bot.start()
204
- */
205
165
  readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
206
166
  readonly Delay: import("../user-modules/delay.js").DelayConstructor;
207
167
  readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
@@ -216,6 +176,8 @@ declare const mixinBase: (abstract new (...args: any[]) => {
216
176
  readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
217
177
  readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
218
178
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
179
+ readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
180
+ readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
219
181
  readonly Moment: import("../user-modules/moment.js").MomentConstructor;
220
182
  readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
221
183
  readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
@@ -281,34 +243,13 @@ declare const mixinBase: (abstract new (...args: any[]) => {
281
243
  __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
282
244
  __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
283
245
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
246
+ __wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
247
+ __wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | undefined;
284
248
  __wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
285
249
  __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
286
250
  __wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
287
251
  __wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
288
252
  readonly Contact: import("../user-modules/contact.js").ContactConstructor;
289
- /**
290
- * Main bot class.
291
- *
292
- * A `Bot` is a WeChat client depends on which puppet you use.
293
- * It may equals
294
- * - web-WeChat, when you use: [puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)/[puppet-wechat4u](https://github.com/wechaty/wechaty-puppet-wechat4u)
295
- * - ipad-WeChat, when you use: [puppet-padchat](https://github.com/wechaty/wechaty-puppet-padchat)
296
- * - ios-WeChat, when you use: puppet-ioscat
297
- *
298
- * See more:
299
- * - [What is a Puppet in Wechaty](https://github.com/wechaty/getting-started/wiki/FAQ#31-what-is-a-puppet-in-wechaty)
300
- *
301
- * > If you want to know how to send message, see [Message](#Message) <br>
302
- * > If you want to know how to get contact, see [Contact](#Contact)
303
- *
304
- * @example <caption>The World's Shortest ChatBot Code: 6 lines of JavaScript</caption>
305
- * import { WechatyBuilder } from 'wechaty'
306
- * const bot = WechatyBuilder.build()
307
- * bot.on('scan', (qrCode, status) => console.log('https://wechaty.js.org/qrcode/' + encodeURIComponent(qrcode)))
308
- * bot.on('login', user => console.log(`User ${user} logged in`))
309
- * bot.on('message', message => console.log(`Message: ${message}`))
310
- * bot.start()
311
- */
312
253
  readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
313
254
  readonly Delay: import("../user-modules/delay.js").DelayConstructor;
314
255
  readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
@@ -323,6 +264,8 @@ declare const mixinBase: (abstract new (...args: any[]) => {
323
264
  readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
324
265
  readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
325
266
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
267
+ readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
268
+ readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
326
269
  readonly Moment: import("../user-modules/moment.js").MomentConstructor;
327
270
  readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
328
271
  readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
@@ -360,34 +303,13 @@ declare const mixinBase: (abstract new (...args: any[]) => {
360
303
  __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
361
304
  __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
362
305
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
306
+ __wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
307
+ __wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | undefined;
363
308
  __wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
364
309
  __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
365
310
  __wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
366
311
  __wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
367
312
  readonly Contact: import("../user-modules/contact.js").ContactConstructor;
368
- /**
369
- * Main bot class.
370
- *
371
- * A `Bot` is a WeChat client depends on which puppet you use.
372
- * It may equals
373
- * - web-WeChat, when you use: [puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)/[puppet-wechat4u](https://github.com/wechaty/wechaty-puppet-wechat4u)
374
- * - ipad-WeChat, when you use: [puppet-padchat](https://github.com/wechaty/wechaty-puppet-padchat)
375
- * - ios-WeChat, when you use: puppet-ioscat
376
- *
377
- * See more:
378
- * - [What is a Puppet in Wechaty](https://github.com/wechaty/getting-started/wiki/FAQ#31-what-is-a-puppet-in-wechaty)
379
- *
380
- * > If you want to know how to send message, see [Message](#Message) <br>
381
- * > If you want to know how to get contact, see [Contact](#Contact)
382
- *
383
- * @example <caption>The World's Shortest ChatBot Code: 6 lines of JavaScript</caption>
384
- * import { WechatyBuilder } from 'wechaty'
385
- * const bot = WechatyBuilder.build()
386
- * bot.on('scan', (qrCode, status) => console.log('https://wechaty.js.org/qrcode/' + encodeURIComponent(qrcode)))
387
- * bot.on('login', user => console.log(`User ${user} logged in`))
388
- * bot.on('message', message => console.log(`Message: ${message}`))
389
- * bot.start()
390
- */
391
313
  readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
392
314
  readonly Delay: import("../user-modules/delay.js").DelayConstructor;
393
315
  readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
@@ -402,6 +324,8 @@ declare const mixinBase: (abstract new (...args: any[]) => {
402
324
  readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
403
325
  readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
404
326
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
327
+ readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
328
+ readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
405
329
  readonly Moment: import("../user-modules/moment.js").MomentConstructor;
406
330
  readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
407
331
  readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
@@ -482,34 +406,13 @@ declare const mixinBase: (abstract new (...args: any[]) => {
482
406
  __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
483
407
  __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
484
408
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
409
+ __wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
410
+ __wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | undefined;
485
411
  __wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
486
412
  __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
487
413
  __wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
488
414
  __wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
489
415
  readonly Contact: import("../user-modules/contact.js").ContactConstructor;
490
- /**
491
- * Main bot class.
492
- *
493
- * A `Bot` is a WeChat client depends on which puppet you use.
494
- * It may equals
495
- * - web-WeChat, when you use: [puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)/[puppet-wechat4u](https://github.com/wechaty/wechaty-puppet-wechat4u)
496
- * - ipad-WeChat, when you use: [puppet-padchat](https://github.com/wechaty/wechaty-puppet-padchat)
497
- * - ios-WeChat, when you use: puppet-ioscat
498
- *
499
- * See more:
500
- * - [What is a Puppet in Wechaty](https://github.com/wechaty/getting-started/wiki/FAQ#31-what-is-a-puppet-in-wechaty)
501
- *
502
- * > If you want to know how to send message, see [Message](#Message) <br>
503
- * > If you want to know how to get contact, see [Contact](#Contact)
504
- *
505
- * @example <caption>The World's Shortest ChatBot Code: 6 lines of JavaScript</caption>
506
- * import { WechatyBuilder } from 'wechaty'
507
- * const bot = WechatyBuilder.build()
508
- * bot.on('scan', (qrCode, status) => console.log('https://wechaty.js.org/qrcode/' + encodeURIComponent(qrcode)))
509
- * bot.on('login', user => console.log(`User ${user} logged in`))
510
- * bot.on('message', message => console.log(`Message: ${message}`))
511
- * bot.start()
512
- */
513
416
  readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
514
417
  readonly Delay: import("../user-modules/delay.js").DelayConstructor;
515
418
  readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
@@ -524,6 +427,8 @@ declare const mixinBase: (abstract new (...args: any[]) => {
524
427
  readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
525
428
  readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
526
429
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
430
+ readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
431
+ readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
527
432
  readonly Moment: import("../user-modules/moment.js").MomentConstructor;
528
433
  readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
529
434
  readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
@@ -667,7 +572,7 @@ declare class WechatyBase extends mixinBase implements SayableSayer {
667
572
  * > Tips:
668
573
  * This function is depending on the Puppet Implementation, see [puppet-compatible-table](https://github.com/wechaty/wechaty/wiki/Puppet#3-puppet-compatible-table)
669
574
  *
670
- * @param {(string | Contact | FileBox | UrlLink | MiniProgram | Location | Channel)} sayable
575
+ * @param {(string | Contact | FileBox | UrlLink | MiniProgram | Location | Channel | ChannelCard | ConsultCard)} sayable
671
576
  * send text, Contact, or file to bot. </br>
672
577
  * You can use {@link https://www.npmjs.com/package/file-box|FileBox} to send file
673
578
  *
@@ -1 +1 @@
1
- {"version":3,"file":"wechaty-base.d.ts","sourceRoot":"","sources":["../../../../src/wechaty/wechaty-base.ts"],"names":[],"mappings":"AAuBA,OAAO,KAAK,MAAM,MAAM,sBAAsB,CAAA;AAQ9C,OAAO,KAAK,EACV,YAAY,EACZ,OAAO,EACR,MAAkC,mBAAmB,CAAA;AAWtD,OAAO,EACL,eAAe,EAChB,MAAkC,uBAAuB,CAAA;AAC1D,OAAO,KAAK,EACV,gBAAgB,EACjB,MAAkC,mBAAmB,CAAA;AACtD,OAAO,KAAK,EACV,cAAc,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AAE,OAAO,GACf,OAAO,CAAC,IAAI,CAAC;IAKV,OAAO,CACX,IAAI,EAAE,aAAa,GAClB,OAAO,CAAC,IAAI,GAAG,aAAa,CAAC;IAY1B,SAAS,CACb,IAAI,EAAE,aAAa,GAClB,OAAO,CAAC,IAAI,CAAC;IAYV,eAAe,CACnB,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,MAAM,GACX,OAAO,CAAC,IAAI,CAAC;IAMV,gBAAgB,CACpB,EAAE,EAAE,MAAM,GACT,OAAO,CAAC,IAAI,CAAC;IAMV,aAAa,IAChB,OAAO,CAAC,IAAI,CAAC;CAUjB;AAED,aAAK,4BAA4B,GAE7B,oBAAoB,GACpB,gCAAgC,GAChC,SAAS,GACT,SAAS,GACT,QAAQ,CAAA;AAEZ,YAAY,EACV,4BAA4B,GAC7B,CAAA;AACD,OAAO,EACL,WAAW,GACZ,CAAA"}
@@ -154,7 +154,7 @@ class WechatyBase extends mixinBase {
154
154
  * > Tips:
155
155
  * This function is depending on the Puppet Implementation, see [puppet-compatible-table](https://github.com/wechaty/wechaty/wiki/Puppet#3-puppet-compatible-table)
156
156
  *
157
- * @param {(string | Contact | FileBox | UrlLink | MiniProgram | Location | Channel)} sayable
157
+ * @param {(string | Contact | FileBox | UrlLink | MiniProgram | Location | Channel | ChannelCard | ConsultCard)} sayable
158
158
  * send text, Contact, or file to bot. </br>
159
159
  * You can use {@link https://www.npmjs.com/package/file-box|FileBox} to send file
160
160
  *
@@ -24,6 +24,8 @@ test('Wechaty interface', async (t) => {
24
24
  TagGroup;
25
25
  UrlLink;
26
26
  Channel;
27
+ ChannelCard;
28
+ ConsultCard;
27
29
  Moment;
28
30
  CallRecord;
29
31
  ChatHistory;
@@ -46,11 +48,13 @@ test('Wechaty interface', async (t) => {
46
48
  = this.TagGroup
47
49
  = this.UrlLink
48
50
  = this.Channel
49
- = this.Moment
50
- = this.CallRecord
51
- = this.ChatHistory
52
- = this.Wecom
53
- = {};
51
+ = this.ChannelCard
52
+ = this.ConsultCard
53
+ = this.Moment
54
+ = this.CallRecord
55
+ = this.ChatHistory
56
+ = this.Wecom
57
+ = {};
54
58
  }
55
59
  }
56
60
  const WechatyTest = WechatyImplementation;
@@ -1 +1 @@
1
- {"version":3,"file":"wechaty-impl.spec.js","sourceRoot":"","sources":["../../../../src/wechaty/wechaty-impl.spec.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,OAAO,UAAU,MAAM,2BAA2B,CAAA;AAElD,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAA;AAyBlE,OAAO;AAGL,6BAA6B;AAC7B,WAAW;AACX,sBAAsB;EACvB,MAA4B,mBAAmB,CAAA;AAEhD,IAAI,CAAC,mBAAmB,EAAE,KAAK,EAAC,CAAC,EAAC,EAAE;IAClC,MAAe,qBAAsB,SAAQ,mBAAmB;QAE9D,OAAO,CAA4B;QACnC,WAAW,CAA4B;QACvC,KAAK,CAA4B;QACjC,UAAU,CAA4B;QACtC,KAAK,CAA4B;QACjC,QAAQ,CAA4B;QACpC,OAAO,CAA4B;QACnC,WAAW,CAA4B;QACvC,IAAI,CAA4B;QAChC,IAAI,CAA4B;QAChC,cAAc,CAA4B;QAC1C,GAAG,CAA4B;QAC/B,QAAQ,CAA4B;QACpC,OAAO,CAA4B;QACnC,OAAO,CAA4B;QACnC,MAAM,CAA4B;QAClC,UAAU,CAA4B;QACtC,WAAW,CAA4B;QACvC,KAAK,CAA4B;QAEjC;YACE,KAAK,EAAE,CAAA;YACP,cAAc;YACd,IAAI,CAAC,OAAO;kBACR,IAAI,CAAC,WAAW;sBAChB,IAAI,CAAC,KAAK;0BACV,IAAI,CAAC,UAAU;8BACf,IAAI,CAAC,KAAK;kCACV,IAAI,CAAC,QAAQ;sCACb,IAAI,CAAC,OAAO;0CACZ,IAAI,CAAC,WAAW;8CAChB,IAAI,CAAC,IAAI;kDACT,IAAI,CAAC,IAAI;sDACT,IAAI,CAAC,c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ends 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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EG;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;;;;;;s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