@juzi/wechaty 1.0.117 → 1.0.118

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 (128) 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 +2 -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 +3 -3
  8. package/dist/cjs/src/sayable/deliver-sayable.d.ts +1 -1
  9. package/dist/cjs/src/sayable/deliver-sayable.d.ts.map +1 -1
  10. package/dist/cjs/src/sayable/deliver-sayable.js +30 -2
  11. package/dist/cjs/src/sayable/deliver-sayable.js.map +1 -1
  12. package/dist/cjs/src/sayable/message-to-sayable.d.ts.map +1 -1
  13. package/dist/cjs/src/sayable/message-to-sayable.js +2 -0
  14. package/dist/cjs/src/sayable/message-to-sayable.js.map +1 -1
  15. package/dist/cjs/src/sayable/payload-to-sayable.d.ts.map +1 -1
  16. package/dist/cjs/src/sayable/payload-to-sayable.js +2 -0
  17. package/dist/cjs/src/sayable/payload-to-sayable.js.map +1 -1
  18. package/dist/cjs/src/sayable/sayable-to-payload.d.ts.map +1 -1
  19. package/dist/cjs/src/sayable/sayable-to-payload.js +3 -0
  20. package/dist/cjs/src/sayable/sayable-to-payload.js.map +1 -1
  21. package/dist/cjs/src/sayable/types.d.ts +2 -2
  22. package/dist/cjs/src/sayable/types.d.ts.map +1 -1
  23. package/dist/cjs/src/sayable/types.js.map +1 -1
  24. package/dist/cjs/src/user-modules/consult-card.d.ts +11 -9
  25. package/dist/cjs/src/user-modules/consult-card.d.ts.map +1 -1
  26. package/dist/cjs/src/user-modules/consult-card.js +26 -25
  27. package/dist/cjs/src/user-modules/consult-card.js.map +1 -1
  28. package/dist/cjs/src/user-modules/message.d.ts +2 -0
  29. package/dist/cjs/src/user-modules/message.d.ts.map +1 -1
  30. package/dist/cjs/src/user-modules/message.js +11 -0
  31. package/dist/cjs/src/user-modules/message.js.map +1 -1
  32. package/dist/cjs/src/user-modules/mod.d.ts +4 -3
  33. package/dist/cjs/src/user-modules/mod.d.ts.map +1 -1
  34. package/dist/cjs/src/user-modules/mod.js +3 -1
  35. package/dist/cjs/src/user-modules/mod.js.map +1 -1
  36. package/dist/cjs/src/user-modules/premium-online-appointment-card.d.ts +40 -0
  37. package/dist/cjs/src/user-modules/premium-online-appointment-card.d.ts.map +1 -0
  38. package/dist/cjs/src/user-modules/premium-online-appointment-card.js +60 -0
  39. package/dist/cjs/src/user-modules/premium-online-appointment-card.js.map +1 -0
  40. package/dist/cjs/src/wechaty/wechaty-base.d.ts +11 -1
  41. package/dist/cjs/src/wechaty/wechaty-base.d.ts.map +1 -1
  42. package/dist/cjs/src/wechaty/wechaty-base.js +1 -1
  43. package/dist/cjs/src/wechaty/wechaty-impl.spec.js +7 -5
  44. package/dist/cjs/src/wechaty/wechaty-impl.spec.js.map +1 -1
  45. package/dist/cjs/src/wechaty-mixins/login-mixin.d.ts +15 -3
  46. package/dist/cjs/src/wechaty-mixins/login-mixin.d.ts.map +1 -1
  47. package/dist/cjs/src/wechaty-mixins/misc-mixin.d.ts +6 -0
  48. package/dist/cjs/src/wechaty-mixins/misc-mixin.d.ts.map +1 -1
  49. package/dist/cjs/src/wechaty-mixins/plugin-mixin.d.ts +8 -0
  50. package/dist/cjs/src/wechaty-mixins/plugin-mixin.d.ts.map +1 -1
  51. package/dist/cjs/src/wechaty-mixins/puppet-mixin.d.ts +6 -20
  52. package/dist/cjs/src/wechaty-mixins/puppet-mixin.d.ts.map +1 -1
  53. package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.d.ts +4 -2
  54. package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.d.ts.map +1 -1
  55. package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.js +3 -0
  56. package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.js.map +1 -1
  57. package/dist/esm/src/mods/impls.d.ts +3 -3
  58. package/dist/esm/src/mods/impls.d.ts.map +1 -1
  59. package/dist/esm/src/mods/impls.js +1 -1
  60. package/dist/esm/src/mods/impls.js.map +1 -1
  61. package/dist/esm/src/mods/users.d.ts +1 -1
  62. package/dist/esm/src/mods/users.d.ts.map +1 -1
  63. package/dist/esm/src/package-json.js +3 -3
  64. package/dist/esm/src/sayable/deliver-sayable.d.ts +1 -1
  65. package/dist/esm/src/sayable/deliver-sayable.d.ts.map +1 -1
  66. package/dist/esm/src/sayable/deliver-sayable.js +8 -3
  67. package/dist/esm/src/sayable/deliver-sayable.js.map +1 -1
  68. package/dist/esm/src/sayable/message-to-sayable.d.ts.map +1 -1
  69. package/dist/esm/src/sayable/message-to-sayable.js +2 -0
  70. package/dist/esm/src/sayable/message-to-sayable.js.map +1 -1
  71. package/dist/esm/src/sayable/payload-to-sayable.d.ts.map +1 -1
  72. package/dist/esm/src/sayable/payload-to-sayable.js +2 -0
  73. package/dist/esm/src/sayable/payload-to-sayable.js.map +1 -1
  74. package/dist/esm/src/sayable/sayable-to-payload.d.ts.map +1 -1
  75. package/dist/esm/src/sayable/sayable-to-payload.js +4 -1
  76. package/dist/esm/src/sayable/sayable-to-payload.js.map +1 -1
  77. package/dist/esm/src/sayable/types.d.ts +2 -2
  78. package/dist/esm/src/sayable/types.d.ts.map +1 -1
  79. package/dist/esm/src/sayable/types.js.map +1 -1
  80. package/dist/esm/src/user-modules/consult-card.d.ts +11 -9
  81. package/dist/esm/src/user-modules/consult-card.d.ts.map +1 -1
  82. package/dist/esm/src/user-modules/consult-card.js +26 -25
  83. package/dist/esm/src/user-modules/consult-card.js.map +1 -1
  84. package/dist/esm/src/user-modules/message.d.ts +2 -0
  85. package/dist/esm/src/user-modules/message.d.ts.map +1 -1
  86. package/dist/esm/src/user-modules/message.js +11 -0
  87. package/dist/esm/src/user-modules/message.js.map +1 -1
  88. package/dist/esm/src/user-modules/mod.d.ts +4 -3
  89. package/dist/esm/src/user-modules/mod.d.ts.map +1 -1
  90. package/dist/esm/src/user-modules/mod.js +2 -1
  91. package/dist/esm/src/user-modules/mod.js.map +1 -1
  92. package/dist/esm/src/user-modules/premium-online-appointment-card.d.ts +40 -0
  93. package/dist/esm/src/user-modules/premium-online-appointment-card.d.ts.map +1 -0
  94. package/dist/esm/src/user-modules/premium-online-appointment-card.js +57 -0
  95. package/dist/esm/src/user-modules/premium-online-appointment-card.js.map +1 -0
  96. package/dist/esm/src/wechaty/wechaty-base.d.ts +11 -1
  97. package/dist/esm/src/wechaty/wechaty-base.d.ts.map +1 -1
  98. package/dist/esm/src/wechaty/wechaty-base.js +1 -1
  99. package/dist/esm/src/wechaty/wechaty-impl.spec.js +7 -5
  100. package/dist/esm/src/wechaty/wechaty-impl.spec.js.map +1 -1
  101. package/dist/esm/src/wechaty-mixins/login-mixin.d.ts +15 -3
  102. package/dist/esm/src/wechaty-mixins/login-mixin.d.ts.map +1 -1
  103. package/dist/esm/src/wechaty-mixins/misc-mixin.d.ts +6 -0
  104. package/dist/esm/src/wechaty-mixins/misc-mixin.d.ts.map +1 -1
  105. package/dist/esm/src/wechaty-mixins/plugin-mixin.d.ts +8 -0
  106. package/dist/esm/src/wechaty-mixins/plugin-mixin.d.ts.map +1 -1
  107. package/dist/esm/src/wechaty-mixins/puppet-mixin.d.ts +6 -20
  108. package/dist/esm/src/wechaty-mixins/puppet-mixin.d.ts.map +1 -1
  109. package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.d.ts +4 -2
  110. package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.d.ts.map +1 -1
  111. package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.js +4 -1
  112. package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.js.map +1 -1
  113. package/package.json +2 -2
  114. package/src/mods/impls.ts +3 -0
  115. package/src/mods/users.ts +23 -22
  116. package/src/package-json.ts +3 -3
  117. package/src/sayable/deliver-sayable.ts +9 -5
  118. package/src/sayable/message-to-sayable.ts +3 -0
  119. package/src/sayable/payload-to-sayable.ts +3 -0
  120. package/src/sayable/sayable-to-payload.ts +3 -0
  121. package/src/sayable/types.ts +2 -0
  122. package/src/user-modules/consult-card.ts +42 -28
  123. package/src/user-modules/message.ts +18 -0
  124. package/src/user-modules/mod.ts +8 -0
  125. package/src/user-modules/premium-online-appointment-card.ts +100 -0
  126. package/src/wechaty/wechaty-base.ts +1 -1
  127. package/src/wechaty/wechaty-impl.spec.ts +24 -21
  128. package/src/wechaty-mixins/wechatify-user-module-mixin.ts +70 -64
@@ -26,6 +26,7 @@ test('Wechaty interface', async (t) => {
26
26
  Channel;
27
27
  ChannelCard;
28
28
  ConsultCard;
29
+ PremiumOnlineAppointmentCard;
29
30
  Moment;
30
31
  CallRecord;
31
32
  ChatHistory;
@@ -50,11 +51,12 @@ test('Wechaty interface', async (t) => {
50
51
  = this.Channel
51
52
  = this.ChannelCard
52
53
  = this.ConsultCard
53
- = this.Moment
54
- = this.CallRecord
55
- = this.ChatHistory
56
- = this.Wecom
57
- = {};
54
+ = this.PremiumOnlineAppointmentCard
55
+ = this.Moment
56
+ = this.CallRecord
57
+ = this.ChatHistory
58
+ = this.Wecom
59
+ = {};
58
60
  }
59
61
  }
60
62
  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;AA2BlE,OAAO;AAGL,6BAA6B;AAC7B,WAAW;AACX,sBAAsB;EACvB,MAA4B,mBAAmB,CAAA;AAEhD,IAAI,CAAC,mBAAmB,EAAE,KAAK,EAA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GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IACpC,CAAC,CAAC,CAAA;IAEF,CAAC,CAAC,EAAE,CAAC,OAAO,qBAAqB,EAAE,wBAAwB,CAAC,CAAA;AAC9D,CAAC,CAAC,CAAA;AAEF,2CAA2C;AAC3C,gCAAgC;AAChC,wCAAwC;AAExC,2FAA2F;AAC3F,qEAAqE;AAErE,uCAAuC;AACvC,kFAAkF;AAClF,KAAK;AAEL,IAAI,CAAC,+BAA+B,EAAE,KAAK,EAAC,CAAC,EAAC,EAAE;IAC9C,MAAM,MAAM,GAAI,IAAI,UAAU,EAAS,CAAA;IACvC,MAAM,OAAO,GAAG,IAAI,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC,CAAA;IAC3C,CAAC,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE,sDAAsD,CAAC,CAAA;IAEtF,MAAM,OAAO,CAAC,IAAI,EAAE,CAAA;IACpB,CAAC,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE,yDAAyD,CAAC,CAAA;IAC/F,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE,4DAA4D,CAAC,CAAA;AACpF,CAAC,CAAC,CAAA"}
@@ -21,13 +21,16 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
21
21
  __wechatifiedMiniProgram?: import("../user-modules/mini-program.js").MiniProgramConstructor | undefined;
22
22
  __wechatifiedPost?: import("../user-modules/post.js").PostConstructor | undefined;
23
23
  __wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
24
- __wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
24
+ __wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined; /**
25
+ * @deprecated: use `isLoggedIn` property instead. will be removed after Dec 31, 2022
26
+ */
25
27
  __wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
26
28
  __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
27
29
  __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
28
30
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
29
31
  __wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
30
32
  __wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | undefined;
33
+ __wechatifiedPremiumOnlineAppointmentCard?: import("../user-modules/premium-online-appointment-card.js").PremiumOnlineAppointmentCardConstructor | undefined;
31
34
  __wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
32
35
  __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
33
36
  __wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
@@ -49,6 +52,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
49
52
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
50
53
  readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
51
54
  readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
55
+ readonly PremiumOnlineAppointmentCard: import("../user-modules/premium-online-appointment-card.js").PremiumOnlineAppointmentCardConstructor;
52
56
  readonly Moment: import("../user-modules/moment.js").MomentConstructor;
53
57
  readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
54
58
  readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
@@ -92,13 +96,16 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
92
96
  __wechatifiedMiniProgram?: import("../user-modules/mini-program.js").MiniProgramConstructor | undefined;
93
97
  __wechatifiedPost?: import("../user-modules/post.js").PostConstructor | undefined;
94
98
  __wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
95
- __wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
99
+ __wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined; /**
100
+ * @deprecated: use `isLoggedIn` property instead. will be removed after Dec 31, 2022
101
+ */
96
102
  __wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
97
103
  __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
98
104
  __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
99
105
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
100
106
  __wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
101
107
  __wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | undefined;
108
+ __wechatifiedPremiumOnlineAppointmentCard?: import("../user-modules/premium-online-appointment-card.js").PremiumOnlineAppointmentCardConstructor | undefined;
102
109
  __wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
103
110
  __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
104
111
  __wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
@@ -120,6 +127,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
120
127
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
121
128
  readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
122
129
  readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
130
+ readonly PremiumOnlineAppointmentCard: import("../user-modules/premium-online-appointment-card.js").PremiumOnlineAppointmentCardConstructor;
123
131
  readonly Moment: import("../user-modules/moment.js").MomentConstructor;
124
132
  readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
125
133
  readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
@@ -293,13 +301,16 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
293
301
  __wechatifiedMiniProgram?: import("../user-modules/mini-program.js").MiniProgramConstructor | undefined;
294
302
  __wechatifiedPost?: import("../user-modules/post.js").PostConstructor | undefined;
295
303
  __wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
296
- __wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
304
+ __wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined; /**
305
+ * @deprecated: use `isLoggedIn` property instead. will be removed after Dec 31, 2022
306
+ */
297
307
  __wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
298
308
  __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
299
309
  __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
300
310
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
301
311
  __wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
302
312
  __wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | undefined;
313
+ __wechatifiedPremiumOnlineAppointmentCard?: import("../user-modules/premium-online-appointment-card.js").PremiumOnlineAppointmentCardConstructor | undefined;
303
314
  __wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
304
315
  __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
305
316
  __wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
@@ -321,6 +332,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
321
332
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
322
333
  readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
323
334
  readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
335
+ readonly PremiumOnlineAppointmentCard: import("../user-modules/premium-online-appointment-card.js").PremiumOnlineAppointmentCardConstructor;
324
336
  readonly Moment: import("../user-modules/moment.js").MomentConstructor;
325
337
  readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
326
338
  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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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"}
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;;;;;;;;;;;;;;;;;;;;;sHA2EZ;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sHAFH;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sHAXH;;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"}
@@ -27,6 +27,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
27
27
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
28
28
  __wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
29
29
  __wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | undefined;
30
+ __wechatifiedPremiumOnlineAppointmentCard?: import("../user-modules/premium-online-appointment-card.js").PremiumOnlineAppointmentCardConstructor | undefined;
30
31
  __wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
31
32
  __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
32
33
  __wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
@@ -48,6 +49,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
48
49
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
49
50
  readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
50
51
  readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
52
+ readonly PremiumOnlineAppointmentCard: import("../user-modules/premium-online-appointment-card.js").PremiumOnlineAppointmentCardConstructor;
51
53
  readonly Moment: import("../user-modules/moment.js").MomentConstructor;
52
54
  readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
53
55
  readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
@@ -100,6 +102,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
100
102
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
101
103
  __wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
102
104
  __wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | undefined;
105
+ __wechatifiedPremiumOnlineAppointmentCard?: import("../user-modules/premium-online-appointment-card.js").PremiumOnlineAppointmentCardConstructor | undefined;
103
106
  __wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
104
107
  __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
105
108
  __wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
@@ -121,6 +124,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
121
124
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
122
125
  readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
123
126
  readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
127
+ readonly PremiumOnlineAppointmentCard: import("../user-modules/premium-online-appointment-card.js").PremiumOnlineAppointmentCardConstructor;
124
128
  readonly Moment: import("../user-modules/moment.js").MomentConstructor;
125
129
  readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
126
130
  readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
@@ -296,6 +300,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
296
300
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
297
301
  __wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
298
302
  __wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | undefined;
303
+ __wechatifiedPremiumOnlineAppointmentCard?: import("../user-modules/premium-online-appointment-card.js").PremiumOnlineAppointmentCardConstructor | undefined;
299
304
  __wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
300
305
  __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
301
306
  __wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
@@ -317,6 +322,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
317
322
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
318
323
  readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
319
324
  readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
325
+ readonly PremiumOnlineAppointmentCard: import("../user-modules/premium-online-appointment-card.js").PremiumOnlineAppointmentCardConstructor;
320
326
  readonly Moment: import("../user-modules/moment.js").MomentConstructor;
321
327
  readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
322
328
  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"}
@@ -105,6 +105,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
105
105
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
106
106
  __wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
107
107
  __wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | undefined;
108
+ __wechatifiedPremiumOnlineAppointmentCard?: import("../user-modules/premium-online-appointment-card.js").PremiumOnlineAppointmentCardConstructor | undefined;
108
109
  __wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
109
110
  __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
110
111
  __wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
@@ -126,6 +127,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
126
127
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
127
128
  readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
128
129
  readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
130
+ readonly PremiumOnlineAppointmentCard: import("../user-modules/premium-online-appointment-card.js").PremiumOnlineAppointmentCardConstructor;
129
131
  readonly Moment: import("../user-modules/moment.js").MomentConstructor;
130
132
  readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
131
133
  readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
@@ -165,6 +167,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
165
167
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
166
168
  __wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
167
169
  __wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | undefined;
170
+ __wechatifiedPremiumOnlineAppointmentCard?: import("../user-modules/premium-online-appointment-card.js").PremiumOnlineAppointmentCardConstructor | undefined;
168
171
  __wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
169
172
  __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
170
173
  __wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
@@ -186,6 +189,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
186
189
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
187
190
  readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
188
191
  readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
192
+ readonly PremiumOnlineAppointmentCard: import("../user-modules/premium-online-appointment-card.js").PremiumOnlineAppointmentCardConstructor;
189
193
  readonly Moment: import("../user-modules/moment.js").MomentConstructor;
190
194
  readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
191
195
  readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
@@ -236,6 +240,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
236
240
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
237
241
  __wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
238
242
  __wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | undefined;
243
+ __wechatifiedPremiumOnlineAppointmentCard?: import("../user-modules/premium-online-appointment-card.js").PremiumOnlineAppointmentCardConstructor | undefined;
239
244
  __wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
240
245
  __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
241
246
  __wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
@@ -257,6 +262,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
257
262
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
258
263
  readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
259
264
  readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
265
+ readonly PremiumOnlineAppointmentCard: import("../user-modules/premium-online-appointment-card.js").PremiumOnlineAppointmentCardConstructor;
260
266
  readonly Moment: import("../user-modules/moment.js").MomentConstructor;
261
267
  readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
262
268
  readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
@@ -414,6 +420,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
414
420
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
415
421
  __wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
416
422
  __wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | undefined;
423
+ __wechatifiedPremiumOnlineAppointmentCard?: import("../user-modules/premium-online-appointment-card.js").PremiumOnlineAppointmentCardConstructor | undefined;
417
424
  __wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
418
425
  __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
419
426
  __wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
@@ -435,6 +442,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
435
442
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
436
443
  readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
437
444
  readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
445
+ readonly PremiumOnlineAppointmentCard: import("../user-modules/premium-online-appointment-card.js").PremiumOnlineAppointmentCardConstructor;
438
446
  readonly Moment: import("../user-modules/moment.js").MomentConstructor;
439
447
  readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
440
448
  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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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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"}
@@ -26,6 +26,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
26
26
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
27
27
  __wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
28
28
  __wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | undefined;
29
+ __wechatifiedPremiumOnlineAppointmentCard?: import("../user-modules/premium-online-appointment-card.js").PremiumOnlineAppointmentCardConstructor | undefined;
29
30
  __wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
30
31
  __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
31
32
  __wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
@@ -34,16 +35,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
34
35
  readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
35
36
  readonly Delay: import("../user-modules/delay.js").DelayConstructor;
36
37
  readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
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
- */
38
+ readonly Image: import("../user-modules/image.js").ImageConstructor;
47
39
  readonly Location: import("../user-modules/location.js").LocationConstructor;
48
40
  readonly Message: import("../user-modules/message.js").MessageConstructor;
49
41
  readonly MiniProgram: import("../user-modules/mini-program.js").MiniProgramConstructor;
@@ -56,6 +48,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
56
48
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
57
49
  readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
58
50
  readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
51
+ readonly PremiumOnlineAppointmentCard: import("../user-modules/premium-online-appointment-card.js").PremiumOnlineAppointmentCardConstructor;
59
52
  readonly Moment: import("../user-modules/moment.js").MomentConstructor;
60
53
  readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
61
54
  readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
@@ -175,6 +168,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
175
168
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
176
169
  __wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
177
170
  __wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | undefined;
171
+ __wechatifiedPremiumOnlineAppointmentCard?: import("../user-modules/premium-online-appointment-card.js").PremiumOnlineAppointmentCardConstructor | undefined;
178
172
  __wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
179
173
  __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
180
174
  __wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
@@ -183,16 +177,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
183
177
  readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
184
178
  readonly Delay: import("../user-modules/delay.js").DelayConstructor;
185
179
  readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
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
- */
180
+ readonly Image: import("../user-modules/image.js").ImageConstructor;
196
181
  readonly Location: import("../user-modules/location.js").LocationConstructor;
197
182
  readonly Message: import("../user-modules/message.js").MessageConstructor;
198
183
  readonly MiniProgram: import("../user-modules/mini-program.js").MiniProgramConstructor;
@@ -205,6 +190,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
205
190
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
206
191
  readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
207
192
  readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
193
+ readonly PremiumOnlineAppointmentCard: import("../user-modules/premium-online-appointment-card.js").PremiumOnlineAppointmentCardConstructor;
208
194
  readonly Moment: import("../user-modules/moment.js").MomentConstructor;
209
195
  readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
210
196
  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;;;;;;;;;;;;;;;;;;;;;;;;;;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
+ {"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,4 +1,4 @@
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';
1
+ import { ContactConstructor, ContactSelfConstructor, DelayConstructor, FriendshipConstructor, ImageConstructor, LocationConstructor, MessageConstructor, MiniProgramConstructor, PostConstructor, RoomConstructor, RoomInvitationConstructor, TagConstructor, TagGroupConstructor, UrlLinkConstructor, ChannelConstructor, ChannelCardConstructor, ConsultCardConstructor, PremiumOnlineAppointmentCardConstructor, 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;
@@ -18,6 +18,7 @@ declare const wechatifyUserModuleMixin: <MixinBase extends typeof WechatySkeleto
18
18
  __wechatifiedChannel?: ChannelConstructor | undefined;
19
19
  __wechatifiedChannelCard?: ChannelCardConstructor | undefined;
20
20
  __wechatifiedConsultCard?: ConsultCardConstructor | undefined;
21
+ __wechatifiedPremiumOnlineAppointmentCard?: PremiumOnlineAppointmentCardConstructor | undefined;
21
22
  __wechatifiedMoment?: MomentConstructor | undefined;
22
23
  __wechatifiedCallRecord?: CallRecordConstructor | undefined;
23
24
  __wechatifiedChatHistory?: ChatHistoryConstructor | undefined;
@@ -39,6 +40,7 @@ declare const wechatifyUserModuleMixin: <MixinBase extends typeof WechatySkeleto
39
40
  readonly Channel: ChannelConstructor;
40
41
  readonly ChannelCard: ChannelCardConstructor;
41
42
  readonly ConsultCard: ConsultCardConstructor;
43
+ readonly PremiumOnlineAppointmentCard: PremiumOnlineAppointmentCardConstructor;
42
44
  readonly Moment: MomentConstructor;
43
45
  readonly CallRecord: CallRecordConstructor;
44
46
  readonly ChatHistory: ChatHistoryConstructor;
@@ -71,7 +73,7 @@ declare const wechatifyUserModuleMixin: <MixinBase extends typeof WechatySkeleto
71
73
  readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
72
74
  }) & MixinBase;
73
75
  declare type WechatifyUserModuleMixin = ReturnType<typeof wechatifyUserModuleMixin>;
74
- declare type ProtectedPropertyWechatifyUserModuleMixin = '__wechatifiedContact' | '__wechatifiedContactSelf' | '__wechatifiedDelay' | '__wechatifiedFriendship' | '__wechatifiedImage' | '__wechatifiedLocation' | '__wechatifiedMessage' | '__wechatifiedMiniProgram' | '__wechatifiedRoom' | '__wechatifiedRoomInvitation' | '__wechatifiedTag' | '__wechatifiedTagGroup' | '__wechatifiedUrlLink' | '__wechatifiedChannel' | '__wechatifiedChannelCard' | '__wechatifiedConsultCard' | '__wechatifiedMoment' | '__wechatifiedCallRecord' | '__wechatifiedChatHistory' | '__wechatifiedWecom';
76
+ declare type ProtectedPropertyWechatifyUserModuleMixin = '__wechatifiedContact' | '__wechatifiedContactSelf' | '__wechatifiedDelay' | '__wechatifiedFriendship' | '__wechatifiedImage' | '__wechatifiedLocation' | '__wechatifiedMessage' | '__wechatifiedMiniProgram' | '__wechatifiedRoom' | '__wechatifiedRoomInvitation' | '__wechatifiedTag' | '__wechatifiedTagGroup' | '__wechatifiedUrlLink' | '__wechatifiedChannel' | '__wechatifiedChannelCard' | '__wechatifiedConsultCard' | '__wechatifiedPremiumOnlineAppointmentCard' | '__wechatifiedMoment' | '__wechatifiedCallRecord' | '__wechatifiedChatHistory' | '__wechatifiedWecom';
75
77
  export type { WechatifyUserModuleMixin, ProtectedPropertyWechatifyUserModuleMixin, };
76
78
  export { wechatifyUserModuleMixin, };
77
79
  //# 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,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"}
1
+ {"version":3,"file":"wechatify-user-module-mixin.d.ts","sourceRoot":"","sources":["../../../../src/wechaty-mixins/wechatify-user-module-mixin.ts"],"names":[],"mappings":"AAEA,OAAO,EAwBL,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,uCAAuC,EACvC,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAmDH,QAAQ,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;cAiDxC,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,2CAA2C,GAC3C,qBAAqB,GACrB,yBAAyB,GACzB,0BAA0B,GAC1B,oBAAoB,CAAA;AAExB,YAAY,EACV,wBAAwB,EACxB,yCAAyC,GAC1C,CAAA;AACD,OAAO,EACL,wBAAwB,GACzB,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { log } from '@juzi/wechaty-puppet';
2
- import { ContactImpl, ContactSelfImpl, DelayImpl, FriendshipImpl, ImageImpl, LocationImpl, MessageImpl, MiniProgramImpl, PostImpl, RoomImpl, RoomInvitationImpl, TagImpl, TagGroupImpl, UrlLinkImpl, ChannelImpl, ChannelCardImpl, ConsultCardImpl, MomentImpl, CallRecordImpl, ChatHistoryImpl, WecomImpl, wechatifyUserModule, } from '../user-modules/mod.js';
2
+ import { ContactImpl, ContactSelfImpl, DelayImpl, FriendshipImpl, ImageImpl, LocationImpl, MessageImpl, MiniProgramImpl, PostImpl, RoomImpl, RoomInvitationImpl, TagImpl, TagGroupImpl, UrlLinkImpl, ChannelImpl, ChannelCardImpl, ConsultCardImpl, PremiumOnlineAppointmentCardImpl, MomentImpl, CallRecordImpl, ChatHistoryImpl, WecomImpl, wechatifyUserModule, } from '../user-modules/mod.js';
3
3
  const wechatifyUserModuleMixin = (mixinBase) => {
4
4
  log.verbose('WechatifyUserModuleMixin', 'wechatifyUserModuleMixin(%s)', mixinBase.name);
5
5
  class WechatifyUserModuleMixin extends mixinBase {
@@ -24,6 +24,7 @@ const wechatifyUserModuleMixin = (mixinBase) => {
24
24
  __wechatifiedChannel;
25
25
  __wechatifiedChannelCard;
26
26
  __wechatifiedConsultCard;
27
+ __wechatifiedPremiumOnlineAppointmentCard;
27
28
  __wechatifiedMoment;
28
29
  __wechatifiedCallRecord;
29
30
  __wechatifiedChatHistory;
@@ -45,6 +46,7 @@ const wechatifyUserModuleMixin = (mixinBase) => {
45
46
  get Channel() { return guardWechatify(this.__wechatifiedChannel); }
46
47
  get ChannelCard() { return guardWechatify(this.__wechatifiedChannelCard); }
47
48
  get ConsultCard() { return guardWechatify(this.__wechatifiedConsultCard); }
49
+ get PremiumOnlineAppointmentCard() { return guardWechatify(this.__wechatifiedPremiumOnlineAppointmentCard); }
48
50
  get Moment() { return guardWechatify(this.__wechatifiedMoment); }
49
51
  get CallRecord() { return guardWechatify(this.__wechatifiedCallRecord); }
50
52
  get ChatHistory() { return guardWechatify(this.__wechatifiedChatHistory); }
@@ -83,6 +85,7 @@ const wechatifyUserModuleMixin = (mixinBase) => {
83
85
  this.__wechatifiedChannel = wechatifyUserModule(ChannelImpl)(this);
84
86
  this.__wechatifiedChannelCard = wechatifyUserModule(ChannelCardImpl)(this);
85
87
  this.__wechatifiedConsultCard = wechatifyUserModule(ConsultCardImpl)(this);
88
+ this.__wechatifiedPremiumOnlineAppointmentCard = wechatifyUserModule(PremiumOnlineAppointmentCardImpl)(this);
86
89
  this.__wechatifiedMoment = wechatifyUserModule(MomentImpl)(this);
87
90
  this.__wechatifiedCallRecord = wechatifyUserModule(CallRecordImpl)(this);
88
91
  this.__wechatifiedChatHistory = wechatifyUserModule(ChatHistoryImpl)(this);
@@ -1 +1 @@
1
- {"version":3,"file":"wechatify-user-module-mixin.js","sourceRoot":"","sources":["../../../../src/wecha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mBAAmB,CAAC,cAAc,CAAC,CAAC,IAAW,CAAC,CAAA;YACnF,IAAI,CAAC,wBAAwB,GAAM,mBAAmB,CAAC,eAAe,CAAC,CAAC,IAAW,CAAC,CAAA;YACpF,IAAI,CAAC,kBAAkB,GAAY,mBAAmB,CAAC,SAAS,CAAC,CAAC,IAAW,CAAC,CAAA;YAE9E,GAAG,CAAC,OAAO,CAAC,0BAA0B,EAAE,wDAAwD,CAAC,CAAA;QACnG,CAAC;KAEF;IAED,OAAO,wBAAwB,CAAA;AACjC,CAAC,CAAA;AAED;;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;AA8BD,OAAO,EACL,wBAAwB,GACzB,CAAA"}
1
+ {"version":3,"file":"wechatify-user-module-mixin.js","sourceRoot":"","sources":["../../../../src/wechaty-mixins/wechatify-user-module-mixin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAe,sBAAsB,CAAA;AAEnD,OAAO,EACL,WAAW,EACX,eAAe,EACf,SAAS,EACT,cAAc,EACd,SAAS,EACT,YAAY,EACZ,WAAW,EACX,eAAe,EACf,QAAQ,EACR,QAAQ,EACR,kBAAkB,EAClB,OAAO,EACP,YAAY,EACZ,WAAW,EACX,WAAW,EACX,eAAe,EACf,eAAe,EACf,gCAAgC,EAChC,UAAU,EACV,cAAc,EACd,eAAe,EACf,SAAS,EAyBT,mBAAmB,GACpB,MAA4B,wBAAwB,CAAA;AAMrD,MAAM,wBAAwB,GAAG,CAA4C,SAAoB,EAAE,EAAE;IACnG,GAAG,CAAC,OAAO,CAAC,0BAA0B,EAAE,8BAA8B,EAAE,SAAS,CAAC,IAAI,CAAC,CAAA;IAEvF,MAAe,wBAAyB,SAAQ,SAAS;QAEvD,YAAa,GAAG,IAAW;YACzB,GAAG,CAAC,OAAO,CAA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U,EAAE;QACd,OAAO,UAAU,CAAA;KAClB;IACD,MAAM,IAAI,KAAK,CAAC,8FAA8F,CAAC,CAAA;AACjH,CAAC;AA+BD,OAAO,EACL,wBAAwB,GACzB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juzi/wechaty",
3
- "version": "1.0.117",
3
+ "version": "1.0.118",
4
4
  "description": "Wechaty is a RPA SDK for Chatbot Makers.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -132,7 +132,7 @@
132
132
  "@chatie/eslint-config": "^1.0.4",
133
133
  "@chatie/semver": "^0.4.7",
134
134
  "@chatie/tsconfig": "^4.6.3",
135
- "@juzi/wechaty-puppet": "^1.0.110",
135
+ "@juzi/wechaty-puppet": "^1.0.112",
136
136
  "@juzi/wechaty-puppet-mock": "^1.0.1",
137
137
  "@swc/core": "1.3.44",
138
138
  "@swc/helpers": "^0.3.6",
package/src/mods/impls.ts CHANGED
@@ -53,6 +53,7 @@ export {
53
53
  WecomImpl,
54
54
  ChannelCardImpl,
55
55
  ConsultCardImpl,
56
+ PremiumOnlineAppointmentCardImpl,
56
57
  } from '../user-modules/mod.js'
57
58
 
58
59
  // export {
@@ -97,6 +98,7 @@ export type {
97
98
  WecomInterface,
98
99
  ChannelCardInterface,
99
100
  ConsultCardInterface,
101
+ PremiumOnlineAppointmentCardInterface,
100
102
  } from '../user-modules/mod.js'
101
103
 
102
104
  export type {
@@ -121,6 +123,7 @@ export type {
121
123
  WecomConstructor,
122
124
  ChannelCardConstructor,
123
125
  ConsultCardConstructor,
126
+ PremiumOnlineAppointmentCardConstructor,
124
127
  } from '../user-modules/mod.js'
125
128
 
126
129
  export {
package/src/mods/users.ts CHANGED
@@ -25,26 +25,27 @@
25
25
  */
26
26
 
27
27
  export type {
28
- ContactInterface as Contact,
29
- ContactSelfInterface as ContactSelf,
30
- DelayInterface as Delay,
31
- FavoriteInterface as Favorite,
32
- FriendshipInterface as Friendship,
33
- ImageInterface as Image,
34
- LocationInterface as Location,
35
- MessageInterface as Message,
36
- MiniProgramInterface as MiniProgram,
37
- MomentInterface as Moment,
38
- MoneyInterface as Money,
39
- PostInterface as Post,
40
- RoomInterface as Room,
41
- RoomInvitationInterface as RoomInvitation,
42
- TagInterface as Tag,
43
- TagGroupInterface as TagGroup,
44
- UrlLinkInterface as UrlLink,
45
- ChannelInterface as Channel,
46
- CallRecordInterface as CallRecord,
47
- WecomInterface as Wecom,
48
- ChannelCardInterface as ChannelCard,
49
- ConsultCardInterface as ConsultCard,
28
+ ContactInterface as Contact,
29
+ ContactSelfInterface as ContactSelf,
30
+ DelayInterface as Delay,
31
+ FavoriteInterface as Favorite,
32
+ FriendshipInterface as Friendship,
33
+ ImageInterface as Image,
34
+ LocationInterface as Location,
35
+ MessageInterface as Message,
36
+ MiniProgramInterface as MiniProgram,
37
+ MomentInterface as Moment,
38
+ MoneyInterface as Money,
39
+ PostInterface as Post,
40
+ RoomInterface as Room,
41
+ RoomInvitationInterface as RoomInvitation,
42
+ TagInterface as Tag,
43
+ TagGroupInterface as TagGroup,
44
+ UrlLinkInterface as UrlLink,
45
+ ChannelInterface as Channel,
46
+ CallRecordInterface as CallRecord,
47
+ WecomInterface as Wecom,
48
+ ChannelCardInterface as ChannelCard,
49
+ ConsultCardInterface as ConsultCard,
50
+ PremiumOnlineAppointmentCardInterface as PremiumOnlineAppointmentCard,
50
51
  } from '../user-modules/mod.js'
@@ -4,10 +4,10 @@
4
4
  */
5
5
  import type { PackageJsonWechaty } from './config'
6
6
 
7
- export const GIT_COMMIT_HASH: string = 'ec89bc2630cbcfc068f94d38f54558f5a4a21791'
7
+ export const GIT_COMMIT_HASH: string = 'af553e1d425dd3ffe2801df98e2165c71e4bc8a3'
8
8
  export const packageJson: PackageJsonWechaty = {
9
9
  "name": "@juzi/wechaty",
10
- "version": "1.0.117",
10
+ "version": "1.0.118",
11
11
  "description": "Wechaty is a RPA SDK for Chatbot Makers.",
12
12
  "type": "module",
13
13
  "exports": {
@@ -139,7 +139,7 @@ export const packageJson: PackageJsonWechaty = {
139
139
  "@chatie/eslint-config": "^1.0.4",
140
140
  "@chatie/semver": "^0.4.7",
141
141
  "@chatie/tsconfig": "^4.6.3",
142
- "@juzi/wechaty-puppet": "^1.0.110",
142
+ "@juzi/wechaty-puppet": "^1.0.112",
143
143
  "@juzi/wechaty-puppet-mock": "^1.0.1",
144
144
  "@swc/core": "1.3.44",
145
145
  "@swc/helpers": "^0.3.6",
@@ -1,4 +1,4 @@
1
- import type * as PUPPET from '@juzi/wechaty-puppet'
1
+ import * as PUPPET from '@juzi/wechaty-puppet'
2
2
  import { FileBox } from 'file-box'
3
3
 
4
4
  import {
@@ -11,7 +11,7 @@ import {
11
11
  LocationImpl,
12
12
  ChannelImpl,
13
13
  ChannelCardImpl,
14
- ConsultCardImpl,
14
+ PremiumOnlineAppointmentCardImpl,
15
15
  } from '../user-modules/mod.js'
16
16
 
17
17
  import type { Sayable, SayOptionsObject } from './types.js'
@@ -112,10 +112,14 @@ const deliverSayableConversationPuppet = (puppet: PUPPET.impls.PuppetInterface)
112
112
  conversationId,
113
113
  sayable.payload,
114
114
  )
115
- } else if (ConsultCardImpl.validInstance(sayable)) {
116
- msgId = await puppet.messageSendConsultCard(
115
+ } else if (PremiumOnlineAppointmentCardImpl.validInstance(sayable)) {
116
+ msgId = await puppet.messageSendPremiumOnlineAppointmentCard(
117
117
  conversationId,
118
- sayable.payload,
118
+ {
119
+ msgType: PUPPET.types.ConsultCardMsgType.PremiumOnlineAppointmentCard,
120
+ componentType: PUPPET.types.ConsultCardComponentType.PremiumOnlineAppointmentCard,
121
+ componentId: sayable.componentId(),
122
+ },
119
123
  )
120
124
  } else {
121
125
  throw new Error('unsupported arg: ' + sayable)
@@ -49,6 +49,9 @@ async function messageToSayable (
49
49
  case PUPPET.types.Message.ConsultCard:
50
50
  return message.toConsultCard()
51
51
 
52
+ case PUPPET.types.Message.PremiumOnlineAppointmentCard:
53
+ return message.toPremiumOnlineAppointmentCard()
54
+
52
55
  default:
53
56
  log.warn('Wechaty',
54
57
  'toSayable() can not convert not re-sayable type: %s(%s) for %s\n%s',