@juzi/wechaty 1.0.117 → 1.0.120
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/src/mods/impls.d.ts +3 -3
- package/dist/cjs/src/mods/impls.d.ts.map +1 -1
- package/dist/cjs/src/mods/impls.js +2 -1
- package/dist/cjs/src/mods/impls.js.map +1 -1
- package/dist/cjs/src/mods/users.d.ts +1 -1
- package/dist/cjs/src/mods/users.d.ts.map +1 -1
- package/dist/cjs/src/package-json.js +3 -3
- package/dist/cjs/src/sayable/deliver-sayable.d.ts +1 -1
- package/dist/cjs/src/sayable/deliver-sayable.d.ts.map +1 -1
- package/dist/cjs/src/sayable/deliver-sayable.js +31 -0
- package/dist/cjs/src/sayable/deliver-sayable.js.map +1 -1
- package/dist/cjs/src/sayable/message-to-sayable.d.ts.map +1 -1
- package/dist/cjs/src/sayable/message-to-sayable.js +2 -0
- package/dist/cjs/src/sayable/message-to-sayable.js.map +1 -1
- package/dist/cjs/src/sayable/payload-to-sayable.d.ts.map +1 -1
- package/dist/cjs/src/sayable/payload-to-sayable.js +2 -0
- package/dist/cjs/src/sayable/payload-to-sayable.js.map +1 -1
- package/dist/cjs/src/sayable/sayable-to-payload.d.ts.map +1 -1
- package/dist/cjs/src/sayable/sayable-to-payload.js +3 -0
- package/dist/cjs/src/sayable/sayable-to-payload.js.map +1 -1
- package/dist/cjs/src/sayable/types.d.ts +2 -2
- package/dist/cjs/src/sayable/types.d.ts.map +1 -1
- package/dist/cjs/src/sayable/types.js.map +1 -1
- package/dist/cjs/src/user-modules/consult-card.d.ts +16 -13
- package/dist/cjs/src/user-modules/consult-card.d.ts.map +1 -1
- package/dist/cjs/src/user-modules/consult-card.js +26 -25
- package/dist/cjs/src/user-modules/consult-card.js.map +1 -1
- package/dist/cjs/src/user-modules/message.d.ts +2 -0
- package/dist/cjs/src/user-modules/message.d.ts.map +1 -1
- package/dist/cjs/src/user-modules/message.js +11 -0
- package/dist/cjs/src/user-modules/message.js.map +1 -1
- package/dist/cjs/src/user-modules/mod.d.ts +4 -3
- package/dist/cjs/src/user-modules/mod.d.ts.map +1 -1
- package/dist/cjs/src/user-modules/mod.js +3 -1
- package/dist/cjs/src/user-modules/mod.js.map +1 -1
- package/dist/cjs/src/user-modules/premium-online-appointment-card.d.ts +40 -0
- package/dist/cjs/src/user-modules/premium-online-appointment-card.d.ts.map +1 -0
- package/dist/cjs/src/user-modules/premium-online-appointment-card.js +60 -0
- package/dist/cjs/src/user-modules/premium-online-appointment-card.js.map +1 -0
- package/dist/cjs/src/wechaty/wechaty-base.d.ts +11 -1
- package/dist/cjs/src/wechaty/wechaty-base.d.ts.map +1 -1
- package/dist/cjs/src/wechaty/wechaty-base.js +1 -1
- package/dist/cjs/src/wechaty/wechaty-impl.spec.js +7 -5
- package/dist/cjs/src/wechaty/wechaty-impl.spec.js.map +1 -1
- package/dist/cjs/src/wechaty-mixins/login-mixin.d.ts +15 -3
- package/dist/cjs/src/wechaty-mixins/login-mixin.d.ts.map +1 -1
- package/dist/cjs/src/wechaty-mixins/misc-mixin.d.ts +6 -0
- package/dist/cjs/src/wechaty-mixins/misc-mixin.d.ts.map +1 -1
- package/dist/cjs/src/wechaty-mixins/plugin-mixin.d.ts +8 -0
- package/dist/cjs/src/wechaty-mixins/plugin-mixin.d.ts.map +1 -1
- package/dist/cjs/src/wechaty-mixins/puppet-mixin.d.ts +6 -20
- package/dist/cjs/src/wechaty-mixins/puppet-mixin.d.ts.map +1 -1
- package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.d.ts +4 -2
- package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.d.ts.map +1 -1
- package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.js +3 -0
- package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.js.map +1 -1
- package/dist/esm/src/mods/impls.d.ts +3 -3
- package/dist/esm/src/mods/impls.d.ts.map +1 -1
- package/dist/esm/src/mods/impls.js +1 -1
- package/dist/esm/src/mods/impls.js.map +1 -1
- package/dist/esm/src/mods/users.d.ts +1 -1
- package/dist/esm/src/mods/users.d.ts.map +1 -1
- package/dist/esm/src/package-json.js +3 -3
- package/dist/esm/src/sayable/deliver-sayable.d.ts +1 -1
- package/dist/esm/src/sayable/deliver-sayable.d.ts.map +1 -1
- package/dist/esm/src/sayable/deliver-sayable.js +9 -1
- package/dist/esm/src/sayable/deliver-sayable.js.map +1 -1
- package/dist/esm/src/sayable/message-to-sayable.d.ts.map +1 -1
- package/dist/esm/src/sayable/message-to-sayable.js +2 -0
- package/dist/esm/src/sayable/message-to-sayable.js.map +1 -1
- package/dist/esm/src/sayable/payload-to-sayable.d.ts.map +1 -1
- package/dist/esm/src/sayable/payload-to-sayable.js +2 -0
- package/dist/esm/src/sayable/payload-to-sayable.js.map +1 -1
- package/dist/esm/src/sayable/sayable-to-payload.d.ts.map +1 -1
- package/dist/esm/src/sayable/sayable-to-payload.js +4 -1
- package/dist/esm/src/sayable/sayable-to-payload.js.map +1 -1
- package/dist/esm/src/sayable/types.d.ts +2 -2
- package/dist/esm/src/sayable/types.d.ts.map +1 -1
- package/dist/esm/src/sayable/types.js.map +1 -1
- package/dist/esm/src/user-modules/consult-card.d.ts +16 -13
- package/dist/esm/src/user-modules/consult-card.d.ts.map +1 -1
- package/dist/esm/src/user-modules/consult-card.js +26 -25
- package/dist/esm/src/user-modules/consult-card.js.map +1 -1
- package/dist/esm/src/user-modules/message.d.ts +2 -0
- package/dist/esm/src/user-modules/message.d.ts.map +1 -1
- package/dist/esm/src/user-modules/message.js +11 -0
- package/dist/esm/src/user-modules/message.js.map +1 -1
- package/dist/esm/src/user-modules/mod.d.ts +4 -3
- package/dist/esm/src/user-modules/mod.d.ts.map +1 -1
- package/dist/esm/src/user-modules/mod.js +2 -1
- package/dist/esm/src/user-modules/mod.js.map +1 -1
- package/dist/esm/src/user-modules/premium-online-appointment-card.d.ts +40 -0
- package/dist/esm/src/user-modules/premium-online-appointment-card.d.ts.map +1 -0
- package/dist/esm/src/user-modules/premium-online-appointment-card.js +57 -0
- package/dist/esm/src/user-modules/premium-online-appointment-card.js.map +1 -0
- package/dist/esm/src/wechaty/wechaty-base.d.ts +11 -1
- package/dist/esm/src/wechaty/wechaty-base.d.ts.map +1 -1
- package/dist/esm/src/wechaty/wechaty-base.js +1 -1
- package/dist/esm/src/wechaty/wechaty-impl.spec.js +7 -5
- package/dist/esm/src/wechaty/wechaty-impl.spec.js.map +1 -1
- package/dist/esm/src/wechaty-mixins/login-mixin.d.ts +15 -3
- package/dist/esm/src/wechaty-mixins/login-mixin.d.ts.map +1 -1
- package/dist/esm/src/wechaty-mixins/misc-mixin.d.ts +6 -0
- package/dist/esm/src/wechaty-mixins/misc-mixin.d.ts.map +1 -1
- package/dist/esm/src/wechaty-mixins/plugin-mixin.d.ts +8 -0
- package/dist/esm/src/wechaty-mixins/plugin-mixin.d.ts.map +1 -1
- package/dist/esm/src/wechaty-mixins/puppet-mixin.d.ts +6 -20
- package/dist/esm/src/wechaty-mixins/puppet-mixin.d.ts.map +1 -1
- package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.d.ts +4 -2
- package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.d.ts.map +1 -1
- package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.js +4 -1
- package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.js.map +1 -1
- package/package.json +2 -2
- package/src/mods/impls.ts +3 -0
- package/src/mods/users.ts +23 -22
- package/src/package-json.ts +3 -3
- package/src/sayable/deliver-sayable.ts +11 -1
- package/src/sayable/message-to-sayable.ts +3 -0
- package/src/sayable/payload-to-sayable.ts +3 -0
- package/src/sayable/sayable-to-payload.ts +3 -0
- package/src/sayable/types.ts +2 -0
- package/src/user-modules/consult-card.ts +47 -32
- package/src/user-modules/message.ts +18 -0
- package/src/user-modules/mod.ts +8 -0
- package/src/user-modules/premium-online-appointment-card.ts +100 -0
- package/src/wechaty/wechaty-base.ts +1 -1
- package/src/wechaty/wechaty-impl.spec.ts +24 -21
- package/src/wechaty-mixins/wechatify-user-module-mixin.ts +70 -64
|
@@ -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 | ChannelCard | ConsultCard)} sayable
|
|
157
|
+
* @param {(string | Contact | FileBox | UrlLink | MiniProgram | Location | Channel | ChannelCard | ConsultCard | PremiumOnlineAppointmentCard)} 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
|
*
|
|
@@ -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.
|
|
54
|
-
= this.
|
|
55
|
-
= this.
|
|
56
|
-
= this.
|
|
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;
|
|
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;AA4BlE,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,CAA0C;QACjD,WAAW,CAA0C;QACrD,KAAK,CAA0C;QAC/C,UAAU,CAA0C;QACpD,KAAK,CAA0C;QAC/C,QAAQ,CAA0C;QAClD,OAAO,CAA0C;QACjD,WAAW,CAA0C;QACrD,IAAI,CAA0C;QAC9C,IAAI,CAA0C;QAC9C,cAAc,CAA0C;QACxD,GAAG,CAA0C;QAC7C,QAAQ,CAA0C;QAClD,OAAO,CAA0C;QACjD,OAAO,CAA0C;QACjD,WAAW,CAA0C;QACrD,WAAW,CAA0C;QACrD,4BAA4B,CAA0C;QACtE,MAAM,CAA0C;QAChD,UAAU,CAA0C;QACpD,WAAW,CAA0C;QACrD,KAAK,CAA0C;QAE/C;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,CAA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AC,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
|
|
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
|
|
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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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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
|
|
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,
|
|
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/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,UAAU,EACV,cAAc,EACd,eAAe,EACf,SAAS,
|
|
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,CAAC,0BAA0B,EAAE,eAAe,CAAC,CAAA;YACxD,KAAK,CAAC,GAAG,IAAI,CAAC,CAAA;QAChB,CAAC;QAED,oBAAoB,CAA2C;QAC/D,wBAAwB,CAA2C;QACnE,kBAAkB,CAA2C;QAC7D,uBAAuB,CAA2C;QAClE,kBAAkB,CAA2C;QAC7D,qBAAqB,CAA2C;QAChE,oBAAoB,CAA2C;QAC/D,wBAAwB,CA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version": "1.0.120",
|
|
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.
|
|
135
|
+
"@juzi/wechaty-puppet": "^1.0.115",
|
|
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
|
|
29
|
-
ContactSelfInterface
|
|
30
|
-
DelayInterface
|
|
31
|
-
FavoriteInterface
|
|
32
|
-
FriendshipInterface
|
|
33
|
-
ImageInterface
|
|
34
|
-
LocationInterface
|
|
35
|
-
MessageInterface
|
|
36
|
-
MiniProgramInterface
|
|
37
|
-
MomentInterface
|
|
38
|
-
MoneyInterface
|
|
39
|
-
PostInterface
|
|
40
|
-
RoomInterface
|
|
41
|
-
RoomInvitationInterface
|
|
42
|
-
TagInterface
|
|
43
|
-
TagGroupInterface
|
|
44
|
-
UrlLinkInterface
|
|
45
|
-
ChannelInterface
|
|
46
|
-
CallRecordInterface
|
|
47
|
-
WecomInterface
|
|
48
|
-
ChannelCardInterface
|
|
49
|
-
ConsultCardInterface
|
|
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'
|
package/src/package-json.ts
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import type { PackageJsonWechaty } from './config'
|
|
6
6
|
|
|
7
|
-
export const GIT_COMMIT_HASH: string = '
|
|
7
|
+
export const GIT_COMMIT_HASH: string = '1f01c6aa3b3e6e50e94fb1488a8baa4e96f201ac'
|
|
8
8
|
export const packageJson: PackageJsonWechaty = {
|
|
9
9
|
"name": "@juzi/wechaty",
|
|
10
|
-
"version": "1.0.
|
|
10
|
+
"version": "1.0.120",
|
|
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.
|
|
142
|
+
"@juzi/wechaty-puppet": "^1.0.115",
|
|
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
|
|
1
|
+
import * as PUPPET from '@juzi/wechaty-puppet'
|
|
2
2
|
import { FileBox } from 'file-box'
|
|
3
3
|
|
|
4
4
|
import {
|
|
@@ -11,6 +11,7 @@ import {
|
|
|
11
11
|
LocationImpl,
|
|
12
12
|
ChannelImpl,
|
|
13
13
|
ChannelCardImpl,
|
|
14
|
+
PremiumOnlineAppointmentCardImpl,
|
|
14
15
|
ConsultCardImpl,
|
|
15
16
|
} from '../user-modules/mod.js'
|
|
16
17
|
|
|
@@ -117,6 +118,15 @@ const deliverSayableConversationPuppet = (puppet: PUPPET.impls.PuppetInterface)
|
|
|
117
118
|
conversationId,
|
|
118
119
|
sayable.payload,
|
|
119
120
|
)
|
|
121
|
+
} else if (PremiumOnlineAppointmentCardImpl.validInstance(sayable)) {
|
|
122
|
+
msgId = await puppet.messageSendPremiumOnlineAppointmentCard(
|
|
123
|
+
conversationId,
|
|
124
|
+
{
|
|
125
|
+
msgType: PUPPET.types.ConsultCardMsgType.PremiumOnlineAppointmentCard,
|
|
126
|
+
componentType: PUPPET.types.ConsultCardComponentType.PremiumOnlineAppointmentCard,
|
|
127
|
+
componentId: sayable.componentId(),
|
|
128
|
+
},
|
|
129
|
+
)
|
|
120
130
|
} else {
|
|
121
131
|
throw new Error('unsupported arg: ' + sayable)
|
|
122
132
|
}
|