@juzi/wechaty 1.0.132 → 1.0.134

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 (113) hide show
  1. package/dist/cjs/src/package-json.js +3 -3
  2. package/dist/cjs/src/sayable/deliver-sayable.d.ts.map +1 -1
  3. package/dist/cjs/src/sayable/deliver-sayable.js +6 -0
  4. package/dist/cjs/src/sayable/deliver-sayable.js.map +1 -1
  5. package/dist/cjs/src/sayable/types.d.ts +2 -2
  6. package/dist/cjs/src/sayable/types.d.ts.map +1 -1
  7. package/dist/cjs/src/sayable/types.js.map +1 -1
  8. package/dist/cjs/src/schemas/wechaty-events.d.ts +9 -0
  9. package/dist/cjs/src/schemas/wechaty-events.d.ts.map +1 -1
  10. package/dist/cjs/src/schemas/wechaty-events.js.map +1 -1
  11. package/dist/cjs/src/user-modules/im-specific.d.ts +1 -0
  12. package/dist/cjs/src/user-modules/im-specific.d.ts.map +1 -1
  13. package/dist/cjs/src/user-modules/im-specific.js +4 -0
  14. package/dist/cjs/src/user-modules/im-specific.js.map +1 -1
  15. package/dist/cjs/src/user-modules/message.d.ts +1 -1
  16. package/dist/cjs/src/user-modules/message.d.ts.map +1 -1
  17. package/dist/cjs/src/user-modules/message.js +1 -2
  18. package/dist/cjs/src/user-modules/message.js.map +1 -1
  19. package/dist/cjs/src/user-modules/mod.d.ts +5 -3
  20. package/dist/cjs/src/user-modules/mod.d.ts.map +1 -1
  21. package/dist/cjs/src/user-modules/mod.js +5 -1
  22. package/dist/cjs/src/user-modules/mod.js.map +1 -1
  23. package/dist/cjs/src/user-modules/wxxd-order.d.ts +91 -0
  24. package/dist/cjs/src/user-modules/wxxd-order.d.ts.map +1 -0
  25. package/dist/cjs/src/user-modules/wxxd-order.js +140 -0
  26. package/dist/cjs/src/user-modules/wxxd-order.js.map +1 -0
  27. package/dist/cjs/src/user-modules/wxxd-product.d.ts +87 -0
  28. package/dist/cjs/src/user-modules/wxxd-product.d.ts.map +1 -0
  29. package/dist/cjs/src/user-modules/wxxd-product.js +134 -0
  30. package/dist/cjs/src/user-modules/wxxd-product.js.map +1 -0
  31. package/dist/cjs/src/wechaty/wechaty-base.d.ts +27 -7
  32. package/dist/cjs/src/wechaty/wechaty-base.d.ts.map +1 -1
  33. package/dist/cjs/src/wechaty/wechaty-impl.spec.js +5 -1
  34. package/dist/cjs/src/wechaty/wechaty-impl.spec.js.map +1 -1
  35. package/dist/cjs/src/wechaty-mixins/gerror-mixin.d.ts +1 -1
  36. package/dist/cjs/src/wechaty-mixins/io-mixin.d.ts +2 -2
  37. package/dist/cjs/src/wechaty-mixins/login-mixin.d.ts +17 -5
  38. package/dist/cjs/src/wechaty-mixins/login-mixin.d.ts.map +1 -1
  39. package/dist/cjs/src/wechaty-mixins/misc-mixin.d.ts +17 -5
  40. package/dist/cjs/src/wechaty-mixins/misc-mixin.d.ts.map +1 -1
  41. package/dist/cjs/src/wechaty-mixins/plugin-mixin.d.ts +22 -6
  42. package/dist/cjs/src/wechaty-mixins/plugin-mixin.d.ts.map +1 -1
  43. package/dist/cjs/src/wechaty-mixins/puppet-mixin.d.ts +14 -10
  44. package/dist/cjs/src/wechaty-mixins/puppet-mixin.d.ts.map +1 -1
  45. package/dist/cjs/src/wechaty-mixins/puppet-mixin.js +18 -0
  46. package/dist/cjs/src/wechaty-mixins/puppet-mixin.js.map +1 -1
  47. package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.d.ts +7 -3
  48. package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.d.ts.map +1 -1
  49. package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.js +6 -0
  50. package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.js.map +1 -1
  51. package/dist/esm/src/package-json.js +3 -3
  52. package/dist/esm/src/sayable/deliver-sayable.d.ts.map +1 -1
  53. package/dist/esm/src/sayable/deliver-sayable.js +7 -1
  54. package/dist/esm/src/sayable/deliver-sayable.js.map +1 -1
  55. package/dist/esm/src/sayable/types.d.ts +2 -2
  56. package/dist/esm/src/sayable/types.d.ts.map +1 -1
  57. package/dist/esm/src/sayable/types.js.map +1 -1
  58. package/dist/esm/src/schemas/wechaty-events.d.ts +9 -0
  59. package/dist/esm/src/schemas/wechaty-events.d.ts.map +1 -1
  60. package/dist/esm/src/schemas/wechaty-events.js.map +1 -1
  61. package/dist/esm/src/user-modules/im-specific.d.ts +1 -0
  62. package/dist/esm/src/user-modules/im-specific.d.ts.map +1 -1
  63. package/dist/esm/src/user-modules/im-specific.js +4 -0
  64. package/dist/esm/src/user-modules/im-specific.js.map +1 -1
  65. package/dist/esm/src/user-modules/message.d.ts +1 -1
  66. package/dist/esm/src/user-modules/message.d.ts.map +1 -1
  67. package/dist/esm/src/user-modules/message.js +1 -2
  68. package/dist/esm/src/user-modules/message.js.map +1 -1
  69. package/dist/esm/src/user-modules/mod.d.ts +5 -3
  70. package/dist/esm/src/user-modules/mod.d.ts.map +1 -1
  71. package/dist/esm/src/user-modules/mod.js +3 -1
  72. package/dist/esm/src/user-modules/mod.js.map +1 -1
  73. package/dist/esm/src/user-modules/wxxd-order.d.ts +91 -0
  74. package/dist/esm/src/user-modules/wxxd-order.d.ts.map +1 -0
  75. package/dist/esm/src/user-modules/wxxd-order.js +114 -0
  76. package/dist/esm/src/user-modules/wxxd-order.js.map +1 -0
  77. package/dist/esm/src/user-modules/wxxd-product.d.ts +87 -0
  78. package/dist/esm/src/user-modules/wxxd-product.d.ts.map +1 -0
  79. package/dist/esm/src/user-modules/wxxd-product.js +108 -0
  80. package/dist/esm/src/user-modules/wxxd-product.js.map +1 -0
  81. package/dist/esm/src/wechaty/wechaty-base.d.ts +27 -7
  82. package/dist/esm/src/wechaty/wechaty-base.d.ts.map +1 -1
  83. package/dist/esm/src/wechaty/wechaty-impl.spec.js +5 -1
  84. package/dist/esm/src/wechaty/wechaty-impl.spec.js.map +1 -1
  85. package/dist/esm/src/wechaty-mixins/gerror-mixin.d.ts +1 -1
  86. package/dist/esm/src/wechaty-mixins/io-mixin.d.ts +2 -2
  87. package/dist/esm/src/wechaty-mixins/login-mixin.d.ts +17 -5
  88. package/dist/esm/src/wechaty-mixins/login-mixin.d.ts.map +1 -1
  89. package/dist/esm/src/wechaty-mixins/misc-mixin.d.ts +17 -5
  90. package/dist/esm/src/wechaty-mixins/misc-mixin.d.ts.map +1 -1
  91. package/dist/esm/src/wechaty-mixins/plugin-mixin.d.ts +22 -6
  92. package/dist/esm/src/wechaty-mixins/plugin-mixin.d.ts.map +1 -1
  93. package/dist/esm/src/wechaty-mixins/puppet-mixin.d.ts +14 -10
  94. package/dist/esm/src/wechaty-mixins/puppet-mixin.d.ts.map +1 -1
  95. package/dist/esm/src/wechaty-mixins/puppet-mixin.js +18 -0
  96. package/dist/esm/src/wechaty-mixins/puppet-mixin.js.map +1 -1
  97. package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.d.ts +7 -3
  98. package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.d.ts.map +1 -1
  99. package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.js +7 -1
  100. package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.js.map +1 -1
  101. package/package.json +2 -2
  102. package/src/package-json.ts +3 -3
  103. package/src/sayable/deliver-sayable.ts +12 -0
  104. package/src/sayable/types.ts +4 -0
  105. package/src/schemas/wechaty-events.ts +6 -0
  106. package/src/user-modules/im-specific.ts +5 -0
  107. package/src/user-modules/message.ts +2 -3
  108. package/src/user-modules/mod.ts +16 -0
  109. package/src/user-modules/wxxd-order.ts +161 -0
  110. package/src/user-modules/wxxd-product.ts +154 -0
  111. package/src/wechaty/wechaty-impl.spec.ts +6 -0
  112. package/src/wechaty-mixins/puppet-mixin.ts +21 -0
  113. package/src/wechaty-mixins/wechatify-user-module-mixin.ts +12 -0
@@ -35,6 +35,8 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
35
35
  __wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
36
36
  __wechatifiedDouyinOneClickPhoneCollection?: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor | undefined;
37
37
  __wechatifiedImSpecific?: import("../user-modules/im-specific.js").ImSpecificConstructor | undefined;
38
+ __wechatifiedWxxdProduct?: import("../user-modules/wxxd-product.js").WxxdProductConstructor | undefined;
39
+ __wechatifiedWxxdOrder?: import("../user-modules/wxxd-order.js").WxxdOrderConstructor | undefined;
38
40
  readonly Contact: import("../user-modules/contact.js").ContactConstructor;
39
41
  readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
40
42
  readonly Delay: import("../user-modules/delay.js").DelayConstructor;
@@ -59,12 +61,14 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
59
61
  readonly Wecom: import("../user-modules/wecom.js").WecomConstructor;
60
62
  readonly DouyinOneClickPhoneCollection: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor;
61
63
  readonly ImSpecific: import("../user-modules/im-specific.js").ImSpecificConstructor;
64
+ readonly WxxdProduct: import("../user-modules/wxxd-product.js").WxxdProductConstructor;
65
+ readonly WxxdOrder: import("../user-modules/wxxd-order.js").WxxdOrderConstructor;
62
66
  readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
63
67
  readonly id: string;
64
68
  __memory?: import("memory-card").MemoryCard | undefined;
65
69
  readonly memory: import("memory-card").MemoryCard;
66
70
  __options: import("../schemas/wechaty-options.js").WechatyOptions;
67
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "tag-group" | "post-comment" | "post-tap" | "verify-code" | "dirty" | "login-url" | "intent-comment" | "verify-slide" | "contact-enter-conversation" | "contact-lead-filled", listener: (...args: any[]) => any): any;
71
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "tag-group" | "post-comment" | "post-tap" | "verify-code" | "dirty" | "login-url" | "intent-comment" | "verify-slide" | "contact-enter-conversation" | "contact-lead-filled" | "wxxd-shop" | "wxxd-product" | "wxxd-order", listener: (...args: any[]) => any): any;
68
72
  addListener<E extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E]): any;
69
73
  once<E_1 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_1, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_1]): any;
70
74
  prependListener<E_2 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_2, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_2]): any;
@@ -112,6 +116,8 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
112
116
  __wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
113
117
  __wechatifiedDouyinOneClickPhoneCollection?: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor | undefined;
114
118
  __wechatifiedImSpecific?: import("../user-modules/im-specific.js").ImSpecificConstructor | undefined;
119
+ __wechatifiedWxxdProduct?: import("../user-modules/wxxd-product.js").WxxdProductConstructor | undefined;
120
+ __wechatifiedWxxdOrder?: import("../user-modules/wxxd-order.js").WxxdOrderConstructor | undefined;
115
121
  readonly Contact: import("../user-modules/contact.js").ContactConstructor;
116
122
  readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
117
123
  readonly Delay: import("../user-modules/delay.js").DelayConstructor;
@@ -136,6 +142,8 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
136
142
  readonly Wecom: import("../user-modules/wecom.js").WecomConstructor;
137
143
  readonly DouyinOneClickPhoneCollection: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor;
138
144
  readonly ImSpecific: import("../user-modules/im-specific.js").ImSpecificConstructor;
145
+ readonly WxxdProduct: import("../user-modules/wxxd-product.js").WxxdProductConstructor;
146
+ readonly WxxdOrder: import("../user-modules/wxxd-order.js").WxxdOrderConstructor;
139
147
  init(): Promise<void>;
140
148
  readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
141
149
  readonly id: string;
@@ -144,7 +152,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
144
152
  __options: import("../schemas/wechaty-options.js").WechatyOptions;
145
153
  start(): Promise<void>;
146
154
  stop(): Promise<void>;
147
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "tag-group" | "post-comment" | "post-tap" | "verify-code" | "dirty" | "login-url" | "intent-comment" | "verify-slide" | "contact-enter-conversation" | "contact-lead-filled", listener: (...args: any[]) => any): any;
155
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "tag-group" | "post-comment" | "post-tap" | "verify-code" | "dirty" | "login-url" | "intent-comment" | "verify-slide" | "contact-enter-conversation" | "contact-lead-filled" | "wxxd-shop" | "wxxd-product" | "wxxd-order", listener: (...args: any[]) => any): any;
148
156
  addListener<E_11 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_11, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_11]): any;
149
157
  once<E_12 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_12, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_12]): any;
150
158
  prependListener<E_13 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_13, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_13]): any;
@@ -174,7 +182,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
174
182
  init(): Promise<void>;
175
183
  start(): Promise<void>;
176
184
  stop(): Promise<void>;
177
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "tag-group" | "post-comment" | "post-tap" | "verify-code" | "dirty" | "login-url" | "intent-comment" | "verify-slide" | "contact-enter-conversation" | "contact-lead-filled", listener: (...args: any[]) => any): any;
185
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "tag-group" | "post-comment" | "post-tap" | "verify-code" | "dirty" | "login-url" | "intent-comment" | "verify-slide" | "contact-enter-conversation" | "contact-lead-filled" | "wxxd-shop" | "wxxd-product" | "wxxd-order", listener: (...args: any[]) => any): any;
178
186
  addListener<E_18 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_18, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_18]): any;
179
187
  once<E_19 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_19, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_19]): any;
180
188
  prependListener<E_20 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_20, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_20]): any;
@@ -203,7 +211,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
203
211
  readonly memory: import("memory-card").MemoryCard;
204
212
  __options: import("../schemas/wechaty-options.js").WechatyOptions;
205
213
  init(): Promise<void>;
206
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "tag-group" | "post-comment" | "post-tap" | "verify-code" | "dirty" | "login-url" | "intent-comment" | "verify-slide" | "contact-enter-conversation" | "contact-lead-filled", listener: (...args: any[]) => any): any;
214
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "tag-group" | "post-comment" | "post-tap" | "verify-code" | "dirty" | "login-url" | "intent-comment" | "verify-slide" | "contact-enter-conversation" | "contact-lead-filled" | "wxxd-shop" | "wxxd-product" | "wxxd-order", listener: (...args: any[]) => any): any;
207
215
  addListener<E_25 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_25, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_25]): any;
208
216
  once<E_26 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_26, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_26]): any;
209
217
  prependListener<E_27 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_27, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_27]): any;
@@ -272,7 +280,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
272
280
  __options: import("../schemas/wechaty-options.js").WechatyOptions;
273
281
  start: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
274
282
  stop: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
275
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "tag-group" | "post-comment" | "post-tap" | "verify-code" | "dirty" | "login-url" | "intent-comment" | "verify-slide" | "contact-enter-conversation" | "contact-lead-filled", listener: (...args: any[]) => any): any;
283
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "tag-group" | "post-comment" | "post-tap" | "verify-code" | "dirty" | "login-url" | "intent-comment" | "verify-slide" | "contact-enter-conversation" | "contact-lead-filled" | "wxxd-shop" | "wxxd-product" | "wxxd-order", listener: (...args: any[]) => any): any;
276
284
  addListener<E_32 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_32, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_32]): any;
277
285
  once<E_33 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_33, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_33]): any;
278
286
  prependListener<E_34 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_34, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_34]): any;
@@ -319,6 +327,8 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
319
327
  __wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
320
328
  __wechatifiedDouyinOneClickPhoneCollection?: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor | undefined;
321
329
  __wechatifiedImSpecific?: import("../user-modules/im-specific.js").ImSpecificConstructor | undefined;
330
+ __wechatifiedWxxdProduct?: import("../user-modules/wxxd-product.js").WxxdProductConstructor | undefined;
331
+ __wechatifiedWxxdOrder?: import("../user-modules/wxxd-order.js").WxxdOrderConstructor | undefined;
322
332
  readonly Contact: import("../user-modules/contact.js").ContactConstructor;
323
333
  readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
324
334
  readonly Delay: import("../user-modules/delay.js").DelayConstructor;
@@ -343,6 +353,8 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
343
353
  readonly Wecom: import("../user-modules/wecom.js").WecomConstructor;
344
354
  readonly DouyinOneClickPhoneCollection: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor;
345
355
  readonly ImSpecific: import("../user-modules/im-specific.js").ImSpecificConstructor;
356
+ readonly WxxdProduct: import("../user-modules/wxxd-product.js").WxxdProductConstructor;
357
+ readonly WxxdOrder: import("../user-modules/wxxd-order.js").WxxdOrderConstructor;
346
358
  wrapAsync: import("gerror/dist/esm/src/wrap-async-error/wrap-async-error.js").WrapAsync;
347
359
  emitError(e: any): void;
348
360
  __io?: import("../io.js").Io | undefined;
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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"}
@@ -34,6 +34,8 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
34
34
  __wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
35
35
  __wechatifiedDouyinOneClickPhoneCollection?: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor | undefined;
36
36
  __wechatifiedImSpecific?: import("../user-modules/im-specific.js").ImSpecificConstructor | undefined;
37
+ __wechatifiedWxxdProduct?: import("../user-modules/wxxd-product.js").WxxdProductConstructor | undefined;
38
+ __wechatifiedWxxdOrder?: import("../user-modules/wxxd-order.js").WxxdOrderConstructor | undefined;
37
39
  readonly Contact: import("../user-modules/contact.js").ContactConstructor;
38
40
  readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
39
41
  readonly Delay: import("../user-modules/delay.js").DelayConstructor;
@@ -58,12 +60,14 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
58
60
  readonly Wecom: import("../user-modules/wecom.js").WecomConstructor;
59
61
  readonly DouyinOneClickPhoneCollection: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor;
60
62
  readonly ImSpecific: import("../user-modules/im-specific.js").ImSpecificConstructor;
63
+ readonly WxxdProduct: import("../user-modules/wxxd-product.js").WxxdProductConstructor;
64
+ readonly WxxdOrder: import("../user-modules/wxxd-order.js").WxxdOrderConstructor;
61
65
  readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
62
66
  readonly id: string;
63
67
  __memory?: import("memory-card").MemoryCard | undefined;
64
68
  readonly memory: import("memory-card").MemoryCard;
65
69
  __options: import("../schemas/wechaty-options.js").WechatyOptions;
66
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "tag-group" | "post-comment" | "post-tap" | "verify-code" | "dirty" | "login-url" | "intent-comment" | "verify-slide" | "contact-enter-conversation" | "contact-lead-filled", listener: (...args: any[]) => any): any;
70
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "tag-group" | "post-comment" | "post-tap" | "verify-code" | "dirty" | "login-url" | "intent-comment" | "verify-slide" | "contact-enter-conversation" | "contact-lead-filled" | "wxxd-shop" | "wxxd-product" | "wxxd-order", listener: (...args: any[]) => any): any;
67
71
  addListener<E extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E]): any;
68
72
  once<E_1 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_1, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_1]): any;
69
73
  prependListener<E_2 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_2, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_2]): any;
@@ -113,6 +117,8 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
113
117
  __wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
114
118
  __wechatifiedDouyinOneClickPhoneCollection?: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor | undefined;
115
119
  __wechatifiedImSpecific?: import("../user-modules/im-specific.js").ImSpecificConstructor | undefined;
120
+ __wechatifiedWxxdProduct?: import("../user-modules/wxxd-product.js").WxxdProductConstructor | undefined;
121
+ __wechatifiedWxxdOrder?: import("../user-modules/wxxd-order.js").WxxdOrderConstructor | undefined;
116
122
  readonly Contact: import("../user-modules/contact.js").ContactConstructor;
117
123
  readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
118
124
  readonly Delay: import("../user-modules/delay.js").DelayConstructor;
@@ -137,6 +143,8 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
137
143
  readonly Wecom: import("../user-modules/wecom.js").WecomConstructor;
138
144
  readonly DouyinOneClickPhoneCollection: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor;
139
145
  readonly ImSpecific: import("../user-modules/im-specific.js").ImSpecificConstructor;
146
+ readonly WxxdProduct: import("../user-modules/wxxd-product.js").WxxdProductConstructor;
147
+ readonly WxxdOrder: import("../user-modules/wxxd-order.js").WxxdOrderConstructor;
140
148
  init(): Promise<void>;
141
149
  readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
142
150
  readonly id: string;
@@ -145,7 +153,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
145
153
  __options: import("../schemas/wechaty-options.js").WechatyOptions;
146
154
  start(): Promise<void>;
147
155
  stop(): Promise<void>;
148
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "tag-group" | "post-comment" | "post-tap" | "verify-code" | "dirty" | "login-url" | "intent-comment" | "verify-slide" | "contact-enter-conversation" | "contact-lead-filled", listener: (...args: any[]) => any): any;
156
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "tag-group" | "post-comment" | "post-tap" | "verify-code" | "dirty" | "login-url" | "intent-comment" | "verify-slide" | "contact-enter-conversation" | "contact-lead-filled" | "wxxd-shop" | "wxxd-product" | "wxxd-order", listener: (...args: any[]) => any): any;
149
157
  addListener<E_11 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_11, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_11]): any;
150
158
  once<E_12 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_12, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_12]): any;
151
159
  prependListener<E_13 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_13, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_13]): any;
@@ -177,7 +185,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
177
185
  init(): Promise<void>;
178
186
  start(): Promise<void>;
179
187
  stop(): Promise<void>;
180
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "tag-group" | "post-comment" | "post-tap" | "verify-code" | "dirty" | "login-url" | "intent-comment" | "verify-slide" | "contact-enter-conversation" | "contact-lead-filled", listener: (...args: any[]) => any): any;
188
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "tag-group" | "post-comment" | "post-tap" | "verify-code" | "dirty" | "login-url" | "intent-comment" | "verify-slide" | "contact-enter-conversation" | "contact-lead-filled" | "wxxd-shop" | "wxxd-product" | "wxxd-order", listener: (...args: any[]) => any): any;
181
189
  addListener<E_18 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_18, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_18]): any;
182
190
  once<E_19 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_19, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_19]): any;
183
191
  prependListener<E_20 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_20, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_20]): any;
@@ -208,7 +216,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
208
216
  readonly memory: import("memory-card").MemoryCard;
209
217
  __options: import("../schemas/wechaty-options.js").WechatyOptions;
210
218
  init(): Promise<void>;
211
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "tag-group" | "post-comment" | "post-tap" | "verify-code" | "dirty" | "login-url" | "intent-comment" | "verify-slide" | "contact-enter-conversation" | "contact-lead-filled", listener: (...args: any[]) => any): any;
219
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "tag-group" | "post-comment" | "post-tap" | "verify-code" | "dirty" | "login-url" | "intent-comment" | "verify-slide" | "contact-enter-conversation" | "contact-lead-filled" | "wxxd-shop" | "wxxd-product" | "wxxd-order", listener: (...args: any[]) => any): any;
212
220
  addListener<E_25 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_25, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_25]): any;
213
221
  once<E_26 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_26, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_26]): any;
214
222
  prependListener<E_27 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_27, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_27]): any;
@@ -266,7 +274,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
266
274
  init: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
267
275
  start: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
268
276
  stop: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
269
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "tag-group" | "post-comment" | "post-tap" | "verify-code" | "dirty" | "login-url" | "intent-comment" | "verify-slide" | "contact-enter-conversation" | "contact-lead-filled", listener: (...args: any[]) => any): any;
277
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "tag-group" | "post-comment" | "post-tap" | "verify-code" | "dirty" | "login-url" | "intent-comment" | "verify-slide" | "contact-enter-conversation" | "contact-lead-filled" | "wxxd-shop" | "wxxd-product" | "wxxd-order", listener: (...args: any[]) => any): any;
270
278
  addListener<E_32 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_32, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_32]): any;
271
279
  once<E_33 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_33, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_33]): any;
272
280
  prependListener<E_34 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_34, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_34]): any;
@@ -315,6 +323,8 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
315
323
  __wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
316
324
  __wechatifiedDouyinOneClickPhoneCollection?: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor | undefined;
317
325
  __wechatifiedImSpecific?: import("../user-modules/im-specific.js").ImSpecificConstructor | undefined;
326
+ __wechatifiedWxxdProduct?: import("../user-modules/wxxd-product.js").WxxdProductConstructor | undefined;
327
+ __wechatifiedWxxdOrder?: import("../user-modules/wxxd-order.js").WxxdOrderConstructor | undefined;
318
328
  readonly Contact: import("../user-modules/contact.js").ContactConstructor;
319
329
  readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
320
330
  readonly Delay: import("../user-modules/delay.js").DelayConstructor;
@@ -339,6 +349,8 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
339
349
  readonly Wecom: import("../user-modules/wecom.js").WecomConstructor;
340
350
  readonly DouyinOneClickPhoneCollection: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor;
341
351
  readonly ImSpecific: import("../user-modules/im-specific.js").ImSpecificConstructor;
352
+ readonly WxxdProduct: import("../user-modules/wxxd-product.js").WxxdProductConstructor;
353
+ readonly WxxdOrder: import("../user-modules/wxxd-order.js").WxxdOrderConstructor;
342
354
  wrapAsync: import("gerror/dist/esm/src/wrap-async-error/wrap-async-error.js").WrapAsync;
343
355
  emitError(e: any): void;
344
356
  __io?: import("../io.js").Io | undefined;
@@ -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"}
@@ -15,7 +15,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
15
15
  init(): Promise<void>;
16
16
  start(): Promise<void>;
17
17
  stop(): Promise<void>;
18
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "tag-group" | "post-comment" | "post-tap" | "verify-code" | "dirty" | "login-url" | "intent-comment" | "verify-slide" | "contact-enter-conversation" | "contact-lead-filled", listener: (...args: any[]) => any): any;
18
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "tag-group" | "post-comment" | "post-tap" | "verify-code" | "dirty" | "login-url" | "intent-comment" | "verify-slide" | "contact-enter-conversation" | "contact-lead-filled" | "wxxd-shop" | "wxxd-product" | "wxxd-order", listener: (...args: any[]) => any): any;
19
19
  addListener<E extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E]): any;
20
20
  once<E_1 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_1, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_1]): any;
21
21
  prependListener<E_2 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_2, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_2]): any;
@@ -65,7 +65,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
65
65
  init: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
66
66
  start: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
67
67
  stop: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
68
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "tag-group" | "post-comment" | "post-tap" | "verify-code" | "dirty" | "login-url" | "intent-comment" | "verify-slide" | "contact-enter-conversation" | "contact-lead-filled", listener: (...args: any[]) => any): any;
68
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "tag-group" | "post-comment" | "post-tap" | "verify-code" | "dirty" | "login-url" | "intent-comment" | "verify-slide" | "contact-enter-conversation" | "contact-lead-filled" | "wxxd-shop" | "wxxd-product" | "wxxd-order", listener: (...args: any[]) => any): any;
69
69
  addListener<E_10 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_10, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_10]): any;
70
70
  once<E_11 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_11, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_11]): any;
71
71
  prependListener<E_12 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_12, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_12]): any;
@@ -112,6 +112,8 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
112
112
  __wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
113
113
  __wechatifiedDouyinOneClickPhoneCollection?: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor | undefined;
114
114
  __wechatifiedImSpecific?: import("../user-modules/im-specific.js").ImSpecificConstructor | undefined;
115
+ __wechatifiedWxxdProduct?: import("../user-modules/wxxd-product.js").WxxdProductConstructor | undefined;
116
+ __wechatifiedWxxdOrder?: import("../user-modules/wxxd-order.js").WxxdOrderConstructor | undefined;
115
117
  readonly Contact: import("../user-modules/contact.js").ContactConstructor;
116
118
  readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
117
119
  readonly Delay: import("../user-modules/delay.js").DelayConstructor;
@@ -136,6 +138,8 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
136
138
  readonly Wecom: import("../user-modules/wecom.js").WecomConstructor;
137
139
  readonly DouyinOneClickPhoneCollection: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor;
138
140
  readonly ImSpecific: import("../user-modules/im-specific.js").ImSpecificConstructor;
141
+ readonly WxxdProduct: import("../user-modules/wxxd-product.js").WxxdProductConstructor;
142
+ readonly WxxdOrder: import("../user-modules/wxxd-order.js").WxxdOrderConstructor;
139
143
  wrapAsync: import("gerror/dist/esm/src/wrap-async-error/wrap-async-error.js").WrapAsync;
140
144
  emitError(e: any): void;
141
145
  __io?: import("../io.js").Io | undefined;
@@ -178,6 +182,8 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
178
182
  __wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
179
183
  __wechatifiedDouyinOneClickPhoneCollection?: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor | undefined;
180
184
  __wechatifiedImSpecific?: import("../user-modules/im-specific.js").ImSpecificConstructor | undefined;
185
+ __wechatifiedWxxdProduct?: import("../user-modules/wxxd-product.js").WxxdProductConstructor | undefined;
186
+ __wechatifiedWxxdOrder?: import("../user-modules/wxxd-order.js").WxxdOrderConstructor | undefined;
181
187
  readonly Contact: import("../user-modules/contact.js").ContactConstructor;
182
188
  readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
183
189
  readonly Delay: import("../user-modules/delay.js").DelayConstructor;
@@ -202,12 +208,14 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
202
208
  readonly Wecom: import("../user-modules/wecom.js").WecomConstructor;
203
209
  readonly DouyinOneClickPhoneCollection: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor;
204
210
  readonly ImSpecific: import("../user-modules/im-specific.js").ImSpecificConstructor;
211
+ readonly WxxdProduct: import("../user-modules/wxxd-product.js").WxxdProductConstructor;
212
+ readonly WxxdOrder: import("../user-modules/wxxd-order.js").WxxdOrderConstructor;
205
213
  readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
206
214
  readonly id: string;
207
215
  __memory?: import("memory-card").MemoryCard | undefined;
208
216
  readonly memory: import("memory-card").MemoryCard;
209
217
  __options: import("../schemas/wechaty-options.js").WechatyOptions;
210
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "tag-group" | "post-comment" | "post-tap" | "verify-code" | "dirty" | "login-url" | "intent-comment" | "verify-slide" | "contact-enter-conversation" | "contact-lead-filled", listener: (...args: any[]) => any): any;
218
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "tag-group" | "post-comment" | "post-tap" | "verify-code" | "dirty" | "login-url" | "intent-comment" | "verify-slide" | "contact-enter-conversation" | "contact-lead-filled" | "wxxd-shop" | "wxxd-product" | "wxxd-order", listener: (...args: any[]) => any): any;
211
219
  addListener<E_18 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_18, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_18]): any;
212
220
  once<E_19 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_19, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_19]): any;
213
221
  prependListener<E_20 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_20, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_20]): any;
@@ -255,6 +263,8 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
255
263
  __wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
256
264
  __wechatifiedDouyinOneClickPhoneCollection?: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor | undefined;
257
265
  __wechatifiedImSpecific?: import("../user-modules/im-specific.js").ImSpecificConstructor | undefined;
266
+ __wechatifiedWxxdProduct?: import("../user-modules/wxxd-product.js").WxxdProductConstructor | undefined;
267
+ __wechatifiedWxxdOrder?: import("../user-modules/wxxd-order.js").WxxdOrderConstructor | undefined;
258
268
  readonly Contact: import("../user-modules/contact.js").ContactConstructor;
259
269
  readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
260
270
  readonly Delay: import("../user-modules/delay.js").DelayConstructor;
@@ -279,6 +289,8 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
279
289
  readonly Wecom: import("../user-modules/wecom.js").WecomConstructor;
280
290
  readonly DouyinOneClickPhoneCollection: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor;
281
291
  readonly ImSpecific: import("../user-modules/im-specific.js").ImSpecificConstructor;
292
+ readonly WxxdProduct: import("../user-modules/wxxd-product.js").WxxdProductConstructor;
293
+ readonly WxxdOrder: import("../user-modules/wxxd-order.js").WxxdOrderConstructor;
282
294
  init(): Promise<void>;
283
295
  readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
284
296
  readonly id: string;
@@ -287,7 +299,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
287
299
  __options: import("../schemas/wechaty-options.js").WechatyOptions;
288
300
  start(): Promise<void>;
289
301
  stop(): Promise<void>;
290
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "tag-group" | "post-comment" | "post-tap" | "verify-code" | "dirty" | "login-url" | "intent-comment" | "verify-slide" | "contact-enter-conversation" | "contact-lead-filled", listener: (...args: any[]) => any): any;
302
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "tag-group" | "post-comment" | "post-tap" | "verify-code" | "dirty" | "login-url" | "intent-comment" | "verify-slide" | "contact-enter-conversation" | "contact-lead-filled" | "wxxd-shop" | "wxxd-product" | "wxxd-order", listener: (...args: any[]) => any): any;
291
303
  addListener<E_25 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_25, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_25]): any;
292
304
  once<E_26 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_26, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_26]): any;
293
305
  prependListener<E_27 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_27, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_27]): any;
@@ -317,7 +329,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
317
329
  readonly memory: import("memory-card").MemoryCard;
318
330
  __options: import("../schemas/wechaty-options.js").WechatyOptions;
319
331
  init(): Promise<void>;
320
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "tag-group" | "post-comment" | "post-tap" | "verify-code" | "dirty" | "login-url" | "intent-comment" | "verify-slide" | "contact-enter-conversation" | "contact-lead-filled", listener: (...args: any[]) => any): any;
332
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "tag-group" | "post-comment" | "post-tap" | "verify-code" | "dirty" | "login-url" | "intent-comment" | "verify-slide" | "contact-enter-conversation" | "contact-lead-filled" | "wxxd-shop" | "wxxd-product" | "wxxd-order", listener: (...args: any[]) => any): any;
321
333
  addListener<E_32 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_32, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_32]): any;
322
334
  once<E_33 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_33, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_33]): any;
323
335
  prependListener<E_34 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_34, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_34]): any;
@@ -366,7 +378,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
366
378
  init: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
367
379
  start: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
368
380
  stop: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
369
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "tag-group" | "post-comment" | "post-tap" | "verify-code" | "dirty" | "login-url" | "intent-comment" | "verify-slide" | "contact-enter-conversation" | "contact-lead-filled", listener: (...args: any[]) => any): any;
381
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "tag-group" | "post-comment" | "post-tap" | "verify-code" | "dirty" | "login-url" | "intent-comment" | "verify-slide" | "contact-enter-conversation" | "contact-lead-filled" | "wxxd-shop" | "wxxd-product" | "wxxd-order", listener: (...args: any[]) => any): any;
370
382
  addListener<E_39 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_39, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_39]): any;
371
383
  once<E_40 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_40, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_40]): any;
372
384
  prependListener<E_41 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_41, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_41]): any;
@@ -439,6 +451,8 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
439
451
  __wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
440
452
  __wechatifiedDouyinOneClickPhoneCollection?: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor | undefined;
441
453
  __wechatifiedImSpecific?: import("../user-modules/im-specific.js").ImSpecificConstructor | undefined;
454
+ __wechatifiedWxxdProduct?: import("../user-modules/wxxd-product.js").WxxdProductConstructor | undefined;
455
+ __wechatifiedWxxdOrder?: import("../user-modules/wxxd-order.js").WxxdOrderConstructor | undefined;
442
456
  readonly Contact: import("../user-modules/contact.js").ContactConstructor;
443
457
  readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
444
458
  readonly Delay: import("../user-modules/delay.js").DelayConstructor;
@@ -463,6 +477,8 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
463
477
  readonly Wecom: import("../user-modules/wecom.js").WecomConstructor;
464
478
  readonly DouyinOneClickPhoneCollection: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor;
465
479
  readonly ImSpecific: import("../user-modules/im-specific.js").ImSpecificConstructor;
480
+ readonly WxxdProduct: import("../user-modules/wxxd-product.js").WxxdProductConstructor;
481
+ readonly WxxdOrder: import("../user-modules/wxxd-order.js").WxxdOrderConstructor;
466
482
  __io?: import("../io.js").Io | undefined;
467
483
  readonly io: import("../io.js").Io;
468
484
  __ioToken?: string | undefined;
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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"}
1
+ {"version":3,"file":"plugin-mixin.d.ts","sourceRoot":"","sources":["../../../../src/wechaty-mixins/plugin-mixin.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,aAAa,EACb,wBAAwB,EACzB,MAAkC,cAAc,CAAA;AAKjD,OAAO,KAAK,EACV,eAAe,EAChB,MAA4B,mBAAmB,CAAA;AAKhD,UAAU,QAAQ;IAChB,GAAG,CACD,GAAG,OAAO,EAAE,CACR,aAAa,GACb,aAAa,EAAE,CAClB,EAAE,GACF,wBAAwB,CAAA;CAC5B;AAED,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASb;;;;;;;;;;;;;;;;;;OAkBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sDAtBmB,GAAG,EAAE;IAI3B;;;;;;;;;;;;;;;;;;OAkBG;oBAEW,CACV,aAAa,GAAG,aAAa,EAAE,CAChC,EAAE,GACF,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAvB3B;;;;;;;;;;;;;;;;;;OAkBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkCN,CAAA;AAED,aAAK,WAAW,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAA;AAEjD,aAAK,4BAA4B,GAAG,KAAK,CAAA;AAEzC,OAAO,EACL,KAAK,QAAQ,EACb,KAAK,WAAW,EAChB,KAAK,4BAA4B,EACjC,WAAW,GACZ,CAAA"}
@@ -33,6 +33,8 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
33
33
  __wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
34
34
  __wechatifiedDouyinOneClickPhoneCollection?: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor | undefined;
35
35
  __wechatifiedImSpecific?: import("../user-modules/im-specific.js").ImSpecificConstructor | undefined;
36
+ __wechatifiedWxxdProduct?: import("../user-modules/wxxd-product.js").WxxdProductConstructor | undefined;
37
+ __wechatifiedWxxdOrder?: import("../user-modules/wxxd-order.js").WxxdOrderConstructor | undefined;
36
38
  readonly Contact: import("../user-modules/contact.js").ContactConstructor;
37
39
  readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
38
40
  readonly Delay: import("../user-modules/delay.js").DelayConstructor;
@@ -51,14 +53,14 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
51
53
  readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
52
54
  readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
53
55
  readonly PremiumOnlineAppointmentCard: import("../user-modules/premium-online-appointment-card.js").PremiumOnlineAppointmentCardConstructor;
54
- readonly Moment: import("../user-modules/moment.js").MomentConstructor; /**
55
- * Propagate Puppet Events to Wechaty
56
- */
56
+ readonly Moment: import("../user-modules/moment.js").MomentConstructor;
57
57
  readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
58
58
  readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
59
59
  readonly Wecom: import("../user-modules/wecom.js").WecomConstructor;
60
60
  readonly DouyinOneClickPhoneCollection: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor;
61
61
  readonly ImSpecific: import("../user-modules/im-specific.js").ImSpecificConstructor;
62
+ readonly WxxdProduct: import("../user-modules/wxxd-product.js").WxxdProductConstructor;
63
+ readonly WxxdOrder: import("../user-modules/wxxd-order.js").WxxdOrderConstructor;
62
64
  init(): Promise<void>;
63
65
  readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
64
66
  readonly id: string;
@@ -67,7 +69,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
67
69
  __options: import("../schemas/wechaty-options.js").WechatyOptions;
68
70
  start(): Promise<void>;
69
71
  stop(): Promise<void>;
70
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "tag-group" | "post-comment" | "post-tap" | "verify-code" | "dirty" | "login-url" | "intent-comment" | "verify-slide" | "contact-enter-conversation" | "contact-lead-filled", listener: (...args: any[]) => any): any;
72
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "tag-group" | "post-comment" | "post-tap" | "verify-code" | "dirty" | "login-url" | "intent-comment" | "verify-slide" | "contact-enter-conversation" | "contact-lead-filled" | "wxxd-shop" | "wxxd-product" | "wxxd-order", listener: (...args: any[]) => any): any;
71
73
  addListener<E extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E]): any;
72
74
  once<E_1 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_1, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_1]): any;
73
75
  prependListener<E_2 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_2, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_2]): any;
@@ -97,7 +99,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
97
99
  init(): Promise<void>;
98
100
  start(): Promise<void>;
99
101
  stop(): Promise<void>;
100
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "tag-group" | "post-comment" | "post-tap" | "verify-code" | "dirty" | "login-url" | "intent-comment" | "verify-slide" | "contact-enter-conversation" | "contact-lead-filled", listener: (...args: any[]) => any): any;
102
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "tag-group" | "post-comment" | "post-tap" | "verify-code" | "dirty" | "login-url" | "intent-comment" | "verify-slide" | "contact-enter-conversation" | "contact-lead-filled" | "wxxd-shop" | "wxxd-product" | "wxxd-order", listener: (...args: any[]) => any): any;
101
103
  addListener<E_11 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_11, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_11]): any;
102
104
  once<E_12 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_12, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_12]): any;
103
105
  prependListener<E_13 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_13, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_13]): any;
@@ -126,7 +128,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
126
128
  readonly memory: import("memory-card").MemoryCard;
127
129
  __options: import("../schemas/wechaty-options.js").WechatyOptions;
128
130
  init(): Promise<void>;
129
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "tag-group" | "post-comment" | "post-tap" | "verify-code" | "dirty" | "login-url" | "intent-comment" | "verify-slide" | "contact-enter-conversation" | "contact-lead-filled", listener: (...args: any[]) => any): any;
131
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "tag-group" | "post-comment" | "post-tap" | "verify-code" | "dirty" | "login-url" | "intent-comment" | "verify-slide" | "contact-enter-conversation" | "contact-lead-filled" | "wxxd-shop" | "wxxd-product" | "wxxd-order", listener: (...args: any[]) => any): any;
130
132
  addListener<E_18 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_18, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_18]): any;
131
133
  once<E_19 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_19, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_19]): any;
132
134
  prependListener<E_20 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_20, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_20]): any;
@@ -181,6 +183,8 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
181
183
  __wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
182
184
  __wechatifiedDouyinOneClickPhoneCollection?: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor | undefined;
183
185
  __wechatifiedImSpecific?: import("../user-modules/im-specific.js").ImSpecificConstructor | undefined;
186
+ __wechatifiedWxxdProduct?: import("../user-modules/wxxd-product.js").WxxdProductConstructor | undefined;
187
+ __wechatifiedWxxdOrder?: import("../user-modules/wxxd-order.js").WxxdOrderConstructor | undefined;
184
188
  readonly Contact: import("../user-modules/contact.js").ContactConstructor;
185
189
  readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
186
190
  readonly Delay: import("../user-modules/delay.js").DelayConstructor;
@@ -199,20 +203,20 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
199
203
  readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
200
204
  readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
201
205
  readonly PremiumOnlineAppointmentCard: import("../user-modules/premium-online-appointment-card.js").PremiumOnlineAppointmentCardConstructor;
202
- readonly Moment: import("../user-modules/moment.js").MomentConstructor; /**
203
- * Propagate Puppet Events to Wechaty
204
- */
206
+ readonly Moment: import("../user-modules/moment.js").MomentConstructor;
205
207
  readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
206
208
  readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
207
209
  readonly Wecom: import("../user-modules/wecom.js").WecomConstructor;
208
210
  readonly DouyinOneClickPhoneCollection: import("../user-modules/douyin-one-click-phone-collection.js").DouyinOneClickPhoneCollectionConstructor;
209
211
  readonly ImSpecific: import("../user-modules/im-specific.js").ImSpecificConstructor;
212
+ readonly WxxdProduct: import("../user-modules/wxxd-product.js").WxxdProductConstructor;
213
+ readonly WxxdOrder: import("../user-modules/wxxd-order.js").WxxdOrderConstructor;
210
214
  readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
211
215
  readonly id: string;
212
216
  __memory?: import("memory-card").MemoryCard | undefined;
213
217
  readonly memory: import("memory-card").MemoryCard;
214
218
  __options: import("../schemas/wechaty-options.js").WechatyOptions;
215
- on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "tag-group" | "post-comment" | "post-tap" | "verify-code" | "dirty" | "login-url" | "intent-comment" | "verify-slide" | "contact-enter-conversation" | "contact-lead-filled", listener: (...args: any[]) => any): any;
219
+ on(event: "error" | "ready" | "tag" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "room-announce" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "tag-group" | "post-comment" | "post-tap" | "verify-code" | "dirty" | "login-url" | "intent-comment" | "verify-slide" | "contact-enter-conversation" | "contact-lead-filled" | "wxxd-shop" | "wxxd-product" | "wxxd-order", listener: (...args: any[]) => any): any;
216
220
  addListener<E_25 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_25, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_25]): any;
217
221
  once<E_26 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_26, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_26]): any;
218
222
  prependListener<E_27 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_27, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_27]): any;
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EA2IX;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sDAxHiB,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAnB9D;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA8kBR,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAklBnE,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"}
@@ -674,6 +674,24 @@ const puppetMixin = (mixinBase) => {
674
674
  this.emit('intent-comment', payload);
675
675
  });
676
676
  break;
677
+ case 'wxxd-shop':
678
+ puppet.on('wxxd-shop', async () => {
679
+ const payload = await this.ImSpecific.getWxxdShop();
680
+ this.emit('wxxd-shop', payload);
681
+ });
682
+ break;
683
+ case 'wxxd-product':
684
+ puppet.on('wxxd-product', async ({ productId: id }) => {
685
+ const payload = await this.WxxdProduct.find({ id });
686
+ this.emit('wxxd-product', payload);
687
+ });
688
+ break;
689
+ case 'wxxd-order':
690
+ puppet.on('wxxd-order', async ({ orderId: id }) => {
691
+ const payload = await this.WxxdOrder.find({ id });
692
+ this.emit('wxxd-order', payload);
693
+ });
694
+ break;
677
695
  default:
678
696
  /**
679
697
  * Check: The eventName here should have the type `never`