@juzi/wechaty 1.0.115 → 1.0.116
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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.map +1 -1
- package/dist/cjs/src/sayable/deliver-sayable.js +3 -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 +42 -0
- package/dist/cjs/src/user-modules/consult-card.d.ts.map +1 -0
- package/dist/cjs/src/user-modules/consult-card.js +63 -0
- package/dist/cjs/src/user-modules/consult-card.js.map +1 -0
- 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/wechaty/wechaty-base.d.ts +11 -346
- 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 +6 -0
- 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 +24 -2
- 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.map +1 -1
- package/dist/esm/src/sayable/deliver-sayable.js +4 -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 +42 -0
- package/dist/esm/src/user-modules/consult-card.d.ts.map +1 -0
- package/dist/esm/src/user-modules/consult-card.js +60 -0
- package/dist/esm/src/user-modules/consult-card.js.map +1 -0
- 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/wechaty/wechaty-base.d.ts +11 -346
- 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 +6 -0
- 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 +24 -2
- 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 +1 -0
- package/src/package-json.ts +3 -3
- package/src/sayable/deliver-sayable.ts +6 -0
- 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 +94 -0
- package/src/user-modules/message.ts +18 -0
- package/src/user-modules/mod.ts +8 -0
- package/src/wechaty/wechaty-base.ts +1 -1
- package/src/wechaty/wechaty-impl.spec.ts +3 -0
- package/src/wechaty-mixins/wechatify-user-module-mixin.ts +6 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WecomImpl = exports.ChatHistoryImpl = exports.CallRecordImpl = exports.ChannelCardImpl = exports.ChannelImpl = exports.UrlLinkImpl = exports.TagGroupImpl = exports.TagImpl = exports.DelayImpl = exports.RoomInvitationImpl = exports.RoomImpl = exports.PostImpl = exports.MoneyImpl = exports.MomentImpl = exports.MiniProgramImpl = exports.MessageImpl = exports.LocationImpl = exports.ImageImpl = exports.FriendshipImpl = exports.FavoriteImpl = exports.ContactSelfImpl = exports.ContactImpl = exports.wechatifyUserModule = void 0;
|
|
3
|
+
exports.WecomImpl = exports.ChatHistoryImpl = exports.CallRecordImpl = exports.ConsultCardImpl = exports.ChannelCardImpl = exports.ChannelImpl = exports.UrlLinkImpl = exports.TagGroupImpl = exports.TagImpl = exports.DelayImpl = exports.RoomInvitationImpl = exports.RoomImpl = exports.PostImpl = exports.MoneyImpl = exports.MomentImpl = exports.MiniProgramImpl = exports.MessageImpl = exports.LocationImpl = exports.ImageImpl = exports.FriendshipImpl = exports.FavoriteImpl = exports.ContactSelfImpl = exports.ContactImpl = exports.wechatifyUserModule = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* Wechaty Chatbot SDK - https://github.com/wechaty/wechaty
|
|
6
6
|
*
|
|
@@ -58,6 +58,8 @@ const channel_js_1 = require("./channel.js");
|
|
|
58
58
|
Object.defineProperty(exports, "ChannelImpl", { enumerable: true, get: function () { return channel_js_1.ChannelImpl; } });
|
|
59
59
|
const channel_card_js_1 = require("./channel-card.js");
|
|
60
60
|
Object.defineProperty(exports, "ChannelCardImpl", { enumerable: true, get: function () { return channel_card_js_1.ChannelCardImpl; } });
|
|
61
|
+
const consult_card_js_1 = require("./consult-card.js");
|
|
62
|
+
Object.defineProperty(exports, "ConsultCardImpl", { enumerable: true, get: function () { return consult_card_js_1.ConsultCardImpl; } });
|
|
61
63
|
const call_js_1 = require("./call.js");
|
|
62
64
|
Object.defineProperty(exports, "CallRecordImpl", { enumerable: true, get: function () { return call_js_1.CallRecordImpl; } });
|
|
63
65
|
const chat_history_js_1 = require("./chat-history.js");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mod.js","sourceRoot":"","sources":["../../../../src/user-modules/mod.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,6CAI+C;
|
|
1
|
+
{"version":3,"file":"mod.js","sourceRoot":"","sources":["../../../../src/user-modules/mod.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,6CAI+C;AAyK7C,4FA5KA,wBAAW,OA4KA;AAxKb,uDAIoD;AAqKlD,gGAxKA,iCAAe,OAwKA;AApKjB,+CAIgD;AAiK9C,6FApKA,0BAAY,OAoKA;AAhKd,mDAIkD;AA6JhD,+FAhKA,8BAAc,OAgKA;AA5JhB,yCAI6C;AAyJ3C,0FA5JA,oBAAS,OA4JA;AAxJX,+CAIgD;AAqJ9C,6FAxJA,0BAAY,OAwJA;AApJd,6CAI+C;AAiJ7C,4FApJA,wBAAW,OAoJA;AAhJb,uDAIoD;AA6IlD,gGAhJA,iCAAe,OAgJA;AA5IjB,2CAI8C;AAyI5C,2FA5IA,sBAAU,OA4IA;AAxIZ,yCAI6C;AAqI3C,0FAxIA,oBAAS,OAwIA;AApIX,uCAI4C;AAiI1C,yFApIA,kBAAQ,OAoIA;AAhIV,uCAI4C;AA6H1C,yFAhIA,kBAAQ,OAgIA;AA5HV,6DAIuD;AAyHrD,mGA5HA,uCAAkB,OA4HA;AAxHpB,qCAI2C;AAsHzC,wFAzHA,gBAAO,OAyHA;AArHT,iDAIiD;AAkH/C,6FArHA,2BAAY,OAqHA;AAjHd,+CAIgD;AA8G9C,4FAjHA,yBAAW,OAiHA;AA7Gb,yCAI6C;AAsG3C,0FAzGA,oBAAS,OAyGA;AArGX,6CAI+C;AAqG7C,4FAxGA,wBAAW,OAwGA;AApGb,uDAIoD;AAiGlD,gGApGA,iCAAe,OAoGA;AAhGjB,uDAIoD;AA6FlD,gGAhGA,iCAAe,OAgGA;AA5FjB,uCAI4C;AAyF1C,+FA5FA,wBAAc,OA4FA;AAxFhB,uDAIoD;AAqFlD,gGAxFA,iCAAe,OAwFA;AApFjB,yCAI6C;AAiF3C,0FApFA,oBAAS,OAoFA;AA/EX,8DAAiE;AAuD/D,oGAvDO,kCAAmB,OAuDP"}
|
|
@@ -69,37 +69,10 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
69
69
|
__wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
|
|
70
70
|
__wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
|
|
71
71
|
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
72
|
-
/**
|
|
73
|
-
* Huan(2021211): Keep the below call back hell
|
|
74
|
-
* because it's easy for testing
|
|
75
|
-
* especially when there's some typing mismatch and we need to figure it out.
|
|
76
|
-
*/
|
|
77
|
-
/**
|
|
78
|
-
* Main bot class.
|
|
79
|
-
*
|
|
80
|
-
* A `Bot` is a WeChat client depends on which puppet you use.
|
|
81
|
-
* It may equals
|
|
82
|
-
* - web-WeChat, when you use: [puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)/[puppet-wechat4u](https://github.com/wechaty/wechaty-puppet-wechat4u)
|
|
83
|
-
* - ipad-WeChat, when you use: [puppet-padchat](https://github.com/wechaty/wechaty-puppet-padchat)
|
|
84
|
-
* - ios-WeChat, when you use: puppet-ioscat
|
|
85
|
-
*
|
|
86
|
-
* See more:
|
|
87
|
-
* - [What is a Puppet in Wechaty](https://github.com/wechaty/getting-started/wiki/FAQ#31-what-is-a-puppet-in-wechaty)
|
|
88
|
-
*
|
|
89
|
-
* > If you want to know how to send message, see [Message](#Message) <br>
|
|
90
|
-
* > If you want to know how to get contact, see [Contact](#Contact)
|
|
91
|
-
*
|
|
92
|
-
* @example <caption>The World's Shortest ChatBot Code: 6 lines of JavaScript</caption>
|
|
93
|
-
* import { WechatyBuilder } from 'wechaty'
|
|
94
|
-
* const bot = WechatyBuilder.build()
|
|
95
|
-
* bot.on('scan', (qrCode, status) => console.log('https://wechaty.js.org/qrcode/' + encodeURIComponent(qrcode)))
|
|
96
|
-
* bot.on('login', user => console.log(`User ${user} logged in`))
|
|
97
|
-
* bot.on('message', message => console.log(`Message: ${message}`))
|
|
98
|
-
* bot.start()
|
|
99
|
-
*/
|
|
100
72
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
101
73
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
102
74
|
__wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
|
|
75
|
+
__wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | undefined;
|
|
103
76
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
104
77
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
105
78
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
@@ -116,51 +89,11 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
116
89
|
readonly Room: import("../user-modules/room.js").RoomConstructor;
|
|
117
90
|
readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
|
|
118
91
|
readonly Tag: import("../user-modules/tag.js").TagConstructor;
|
|
119
|
-
/**
|
|
120
|
-
* The term [Puppet](https://wechaty.js.org/docs/specs/puppet) in Wechaty is an Abstract Class for implementing protocol plugins.
|
|
121
|
-
* The plugins are the component that helps Wechaty to control the WeChat(that's the reason we call it puppet).
|
|
122
|
-
* The plugins are named XXXPuppet, for example:
|
|
123
|
-
* - [PuppetWeChat](https://github.com/wechaty/puppet-wechat):
|
|
124
|
-
* - [PuppetWeChat](https://github.com/wechaty/puppet-service):
|
|
125
|
-
* - [PuppetXP](https://github.com/wechaty/puppet-xp)
|
|
126
|
-
*
|
|
127
|
-
* @typedef PuppetModuleName
|
|
128
|
-
* @property {string} PUPPET_DEFAULT
|
|
129
|
-
* The default puppet.
|
|
130
|
-
* @property {string} wechaty-puppet-wechat4u
|
|
131
|
-
* The default puppet, using the [wechat4u](https://github.com/nodeWechat/wechat4u) to control the [WeChat Web API](https://wx.qq.com/) via a chrome browser.
|
|
132
|
-
* @property {string} wechaty-puppet-service
|
|
133
|
-
* - Using the gRPC protocol to connect with a Protocol Server for controlling the any protocol of any IM program.
|
|
134
|
-
* @property {string} wechaty-puppet-wechat
|
|
135
|
-
* - Using the [google puppeteer](https://github.com/GoogleChrome/puppeteer) to control the [WeChat Web API](https://wx.qq.com/) via a chrome browser.
|
|
136
|
-
* @property {string} wechaty-puppet-mock
|
|
137
|
-
* - Using the mock data to mock wechat operation, just for test.
|
|
138
|
-
*/
|
|
139
|
-
/**
|
|
140
|
-
* The option parameter to create a wechaty instance
|
|
141
|
-
*
|
|
142
|
-
* @typedef WechatyOptions
|
|
143
|
-
* @property {string} name -Wechaty Name. </br>
|
|
144
|
-
* When you set this: </br>
|
|
145
|
-
* `new Wechaty({name: 'wechaty-name'}) ` </br>
|
|
146
|
-
* it will generate a file called `wechaty-name.memory-card.json`. </br>
|
|
147
|
-
* This file stores the login information for bot. </br>
|
|
148
|
-
* If the file is valid, the bot can auto login so you don't need to scan the qrCode to login again. </br>
|
|
149
|
-
* Also, you can set the environment variable for `WECHATY_NAME` to set this value when you start. </br>
|
|
150
|
-
* eg: `WECHATY_NAME="your-cute-bot-name" node bot.js`
|
|
151
|
-
* @property {PuppetModuleName | Puppet} puppet -Puppet name or instance
|
|
152
|
-
* @property {Partial<PuppetOptions>} puppetOptions -Puppet TOKEN
|
|
153
|
-
* @property {string} ioToken -Io TOKEN
|
|
154
|
-
*/
|
|
155
|
-
/**
|
|
156
|
-
* Creates an instance of Wechaty.
|
|
157
|
-
* @param {WechatyOptions} [options={}]
|
|
158
|
-
*
|
|
159
|
-
*/
|
|
160
92
|
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
161
93
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
162
94
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
163
95
|
readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
|
|
96
|
+
readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
|
|
164
97
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
165
98
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
166
99
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
@@ -220,37 +153,10 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
220
153
|
__wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
|
|
221
154
|
__wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
|
|
222
155
|
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
223
|
-
/**
|
|
224
|
-
* Huan(2021211): Keep the below call back hell
|
|
225
|
-
* because it's easy for testing
|
|
226
|
-
* especially when there's some typing mismatch and we need to figure it out.
|
|
227
|
-
*/
|
|
228
|
-
/**
|
|
229
|
-
* Main bot class.
|
|
230
|
-
*
|
|
231
|
-
* A `Bot` is a WeChat client depends on which puppet you use.
|
|
232
|
-
* It may equals
|
|
233
|
-
* - web-WeChat, when you use: [puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)/[puppet-wechat4u](https://github.com/wechaty/wechaty-puppet-wechat4u)
|
|
234
|
-
* - ipad-WeChat, when you use: [puppet-padchat](https://github.com/wechaty/wechaty-puppet-padchat)
|
|
235
|
-
* - ios-WeChat, when you use: puppet-ioscat
|
|
236
|
-
*
|
|
237
|
-
* See more:
|
|
238
|
-
* - [What is a Puppet in Wechaty](https://github.com/wechaty/getting-started/wiki/FAQ#31-what-is-a-puppet-in-wechaty)
|
|
239
|
-
*
|
|
240
|
-
* > If you want to know how to send message, see [Message](#Message) <br>
|
|
241
|
-
* > If you want to know how to get contact, see [Contact](#Contact)
|
|
242
|
-
*
|
|
243
|
-
* @example <caption>The World's Shortest ChatBot Code: 6 lines of JavaScript</caption>
|
|
244
|
-
* import { WechatyBuilder } from 'wechaty'
|
|
245
|
-
* const bot = WechatyBuilder.build()
|
|
246
|
-
* bot.on('scan', (qrCode, status) => console.log('https://wechaty.js.org/qrcode/' + encodeURIComponent(qrcode)))
|
|
247
|
-
* bot.on('login', user => console.log(`User ${user} logged in`))
|
|
248
|
-
* bot.on('message', message => console.log(`Message: ${message}`))
|
|
249
|
-
* bot.start()
|
|
250
|
-
*/
|
|
251
156
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
252
157
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
253
158
|
__wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
|
|
159
|
+
__wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | undefined;
|
|
254
160
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
255
161
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
256
162
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
@@ -267,51 +173,11 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
267
173
|
readonly Room: import("../user-modules/room.js").RoomConstructor;
|
|
268
174
|
readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
|
|
269
175
|
readonly Tag: import("../user-modules/tag.js").TagConstructor;
|
|
270
|
-
/**
|
|
271
|
-
* The term [Puppet](https://wechaty.js.org/docs/specs/puppet) in Wechaty is an Abstract Class for implementing protocol plugins.
|
|
272
|
-
* The plugins are the component that helps Wechaty to control the WeChat(that's the reason we call it puppet).
|
|
273
|
-
* The plugins are named XXXPuppet, for example:
|
|
274
|
-
* - [PuppetWeChat](https://github.com/wechaty/puppet-wechat):
|
|
275
|
-
* - [PuppetWeChat](https://github.com/wechaty/puppet-service):
|
|
276
|
-
* - [PuppetXP](https://github.com/wechaty/puppet-xp)
|
|
277
|
-
*
|
|
278
|
-
* @typedef PuppetModuleName
|
|
279
|
-
* @property {string} PUPPET_DEFAULT
|
|
280
|
-
* The default puppet.
|
|
281
|
-
* @property {string} wechaty-puppet-wechat4u
|
|
282
|
-
* The default puppet, using the [wechat4u](https://github.com/nodeWechat/wechat4u) to control the [WeChat Web API](https://wx.qq.com/) via a chrome browser.
|
|
283
|
-
* @property {string} wechaty-puppet-service
|
|
284
|
-
* - Using the gRPC protocol to connect with a Protocol Server for controlling the any protocol of any IM program.
|
|
285
|
-
* @property {string} wechaty-puppet-wechat
|
|
286
|
-
* - Using the [google puppeteer](https://github.com/GoogleChrome/puppeteer) to control the [WeChat Web API](https://wx.qq.com/) via a chrome browser.
|
|
287
|
-
* @property {string} wechaty-puppet-mock
|
|
288
|
-
* - Using the mock data to mock wechat operation, just for test.
|
|
289
|
-
*/
|
|
290
|
-
/**
|
|
291
|
-
* The option parameter to create a wechaty instance
|
|
292
|
-
*
|
|
293
|
-
* @typedef WechatyOptions
|
|
294
|
-
* @property {string} name -Wechaty Name. </br>
|
|
295
|
-
* When you set this: </br>
|
|
296
|
-
* `new Wechaty({name: 'wechaty-name'}) ` </br>
|
|
297
|
-
* it will generate a file called `wechaty-name.memory-card.json`. </br>
|
|
298
|
-
* This file stores the login information for bot. </br>
|
|
299
|
-
* If the file is valid, the bot can auto login so you don't need to scan the qrCode to login again. </br>
|
|
300
|
-
* Also, you can set the environment variable for `WECHATY_NAME` to set this value when you start. </br>
|
|
301
|
-
* eg: `WECHATY_NAME="your-cute-bot-name" node bot.js`
|
|
302
|
-
* @property {PuppetModuleName | Puppet} puppet -Puppet name or instance
|
|
303
|
-
* @property {Partial<PuppetOptions>} puppetOptions -Puppet TOKEN
|
|
304
|
-
* @property {string} ioToken -Io TOKEN
|
|
305
|
-
*/
|
|
306
|
-
/**
|
|
307
|
-
* Creates an instance of Wechaty.
|
|
308
|
-
* @param {WechatyOptions} [options={}]
|
|
309
|
-
*
|
|
310
|
-
*/
|
|
311
176
|
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
312
177
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
313
178
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
314
179
|
readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
|
|
180
|
+
readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
|
|
315
181
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
316
182
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
317
183
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
@@ -375,37 +241,10 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
375
241
|
__wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
|
|
376
242
|
__wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
|
|
377
243
|
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
378
|
-
/**
|
|
379
|
-
* Huan(2021211): Keep the below call back hell
|
|
380
|
-
* because it's easy for testing
|
|
381
|
-
* especially when there's some typing mismatch and we need to figure it out.
|
|
382
|
-
*/
|
|
383
|
-
/**
|
|
384
|
-
* Main bot class.
|
|
385
|
-
*
|
|
386
|
-
* A `Bot` is a WeChat client depends on which puppet you use.
|
|
387
|
-
* It may equals
|
|
388
|
-
* - web-WeChat, when you use: [puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)/[puppet-wechat4u](https://github.com/wechaty/wechaty-puppet-wechat4u)
|
|
389
|
-
* - ipad-WeChat, when you use: [puppet-padchat](https://github.com/wechaty/wechaty-puppet-padchat)
|
|
390
|
-
* - ios-WeChat, when you use: puppet-ioscat
|
|
391
|
-
*
|
|
392
|
-
* See more:
|
|
393
|
-
* - [What is a Puppet in Wechaty](https://github.com/wechaty/getting-started/wiki/FAQ#31-what-is-a-puppet-in-wechaty)
|
|
394
|
-
*
|
|
395
|
-
* > If you want to know how to send message, see [Message](#Message) <br>
|
|
396
|
-
* > If you want to know how to get contact, see [Contact](#Contact)
|
|
397
|
-
*
|
|
398
|
-
* @example <caption>The World's Shortest ChatBot Code: 6 lines of JavaScript</caption>
|
|
399
|
-
* import { WechatyBuilder } from 'wechaty'
|
|
400
|
-
* const bot = WechatyBuilder.build()
|
|
401
|
-
* bot.on('scan', (qrCode, status) => console.log('https://wechaty.js.org/qrcode/' + encodeURIComponent(qrcode)))
|
|
402
|
-
* bot.on('login', user => console.log(`User ${user} logged in`))
|
|
403
|
-
* bot.on('message', message => console.log(`Message: ${message}`))
|
|
404
|
-
* bot.start()
|
|
405
|
-
*/
|
|
406
244
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
407
245
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
408
246
|
__wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
|
|
247
|
+
__wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | undefined;
|
|
409
248
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
410
249
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
411
250
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
@@ -422,51 +261,11 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
422
261
|
readonly Room: import("../user-modules/room.js").RoomConstructor;
|
|
423
262
|
readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
|
|
424
263
|
readonly Tag: import("../user-modules/tag.js").TagConstructor;
|
|
425
|
-
/**
|
|
426
|
-
* The term [Puppet](https://wechaty.js.org/docs/specs/puppet) in Wechaty is an Abstract Class for implementing protocol plugins.
|
|
427
|
-
* The plugins are the component that helps Wechaty to control the WeChat(that's the reason we call it puppet).
|
|
428
|
-
* The plugins are named XXXPuppet, for example:
|
|
429
|
-
* - [PuppetWeChat](https://github.com/wechaty/puppet-wechat):
|
|
430
|
-
* - [PuppetWeChat](https://github.com/wechaty/puppet-service):
|
|
431
|
-
* - [PuppetXP](https://github.com/wechaty/puppet-xp)
|
|
432
|
-
*
|
|
433
|
-
* @typedef PuppetModuleName
|
|
434
|
-
* @property {string} PUPPET_DEFAULT
|
|
435
|
-
* The default puppet.
|
|
436
|
-
* @property {string} wechaty-puppet-wechat4u
|
|
437
|
-
* The default puppet, using the [wechat4u](https://github.com/nodeWechat/wechat4u) to control the [WeChat Web API](https://wx.qq.com/) via a chrome browser.
|
|
438
|
-
* @property {string} wechaty-puppet-service
|
|
439
|
-
* - Using the gRPC protocol to connect with a Protocol Server for controlling the any protocol of any IM program.
|
|
440
|
-
* @property {string} wechaty-puppet-wechat
|
|
441
|
-
* - Using the [google puppeteer](https://github.com/GoogleChrome/puppeteer) to control the [WeChat Web API](https://wx.qq.com/) via a chrome browser.
|
|
442
|
-
* @property {string} wechaty-puppet-mock
|
|
443
|
-
* - Using the mock data to mock wechat operation, just for test.
|
|
444
|
-
*/
|
|
445
|
-
/**
|
|
446
|
-
* The option parameter to create a wechaty instance
|
|
447
|
-
*
|
|
448
|
-
* @typedef WechatyOptions
|
|
449
|
-
* @property {string} name -Wechaty Name. </br>
|
|
450
|
-
* When you set this: </br>
|
|
451
|
-
* `new Wechaty({name: 'wechaty-name'}) ` </br>
|
|
452
|
-
* it will generate a file called `wechaty-name.memory-card.json`. </br>
|
|
453
|
-
* This file stores the login information for bot. </br>
|
|
454
|
-
* If the file is valid, the bot can auto login so you don't need to scan the qrCode to login again. </br>
|
|
455
|
-
* Also, you can set the environment variable for `WECHATY_NAME` to set this value when you start. </br>
|
|
456
|
-
* eg: `WECHATY_NAME="your-cute-bot-name" node bot.js`
|
|
457
|
-
* @property {PuppetModuleName | Puppet} puppet -Puppet name or instance
|
|
458
|
-
* @property {Partial<PuppetOptions>} puppetOptions -Puppet TOKEN
|
|
459
|
-
* @property {string} ioToken -Io TOKEN
|
|
460
|
-
*/
|
|
461
|
-
/**
|
|
462
|
-
* Creates an instance of Wechaty.
|
|
463
|
-
* @param {WechatyOptions} [options={}]
|
|
464
|
-
*
|
|
465
|
-
*/
|
|
466
264
|
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
467
265
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
468
266
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
469
267
|
readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
|
|
268
|
+
readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
|
|
470
269
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
471
270
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
472
271
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
@@ -502,37 +301,10 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
502
301
|
__wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
|
|
503
302
|
__wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
|
|
504
303
|
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
505
|
-
/**
|
|
506
|
-
* Huan(2021211): Keep the below call back hell
|
|
507
|
-
* because it's easy for testing
|
|
508
|
-
* especially when there's some typing mismatch and we need to figure it out.
|
|
509
|
-
*/
|
|
510
|
-
/**
|
|
511
|
-
* Main bot class.
|
|
512
|
-
*
|
|
513
|
-
* A `Bot` is a WeChat client depends on which puppet you use.
|
|
514
|
-
* It may equals
|
|
515
|
-
* - web-WeChat, when you use: [puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)/[puppet-wechat4u](https://github.com/wechaty/wechaty-puppet-wechat4u)
|
|
516
|
-
* - ipad-WeChat, when you use: [puppet-padchat](https://github.com/wechaty/wechaty-puppet-padchat)
|
|
517
|
-
* - ios-WeChat, when you use: puppet-ioscat
|
|
518
|
-
*
|
|
519
|
-
* See more:
|
|
520
|
-
* - [What is a Puppet in Wechaty](https://github.com/wechaty/getting-started/wiki/FAQ#31-what-is-a-puppet-in-wechaty)
|
|
521
|
-
*
|
|
522
|
-
* > If you want to know how to send message, see [Message](#Message) <br>
|
|
523
|
-
* > If you want to know how to get contact, see [Contact](#Contact)
|
|
524
|
-
*
|
|
525
|
-
* @example <caption>The World's Shortest ChatBot Code: 6 lines of JavaScript</caption>
|
|
526
|
-
* import { WechatyBuilder } from 'wechaty'
|
|
527
|
-
* const bot = WechatyBuilder.build()
|
|
528
|
-
* bot.on('scan', (qrCode, status) => console.log('https://wechaty.js.org/qrcode/' + encodeURIComponent(qrcode)))
|
|
529
|
-
* bot.on('login', user => console.log(`User ${user} logged in`))
|
|
530
|
-
* bot.on('message', message => console.log(`Message: ${message}`))
|
|
531
|
-
* bot.start()
|
|
532
|
-
*/
|
|
533
304
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
534
305
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
535
306
|
__wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
|
|
307
|
+
__wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | undefined;
|
|
536
308
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
537
309
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
538
310
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
@@ -549,51 +321,11 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
549
321
|
readonly Room: import("../user-modules/room.js").RoomConstructor;
|
|
550
322
|
readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
|
|
551
323
|
readonly Tag: import("../user-modules/tag.js").TagConstructor;
|
|
552
|
-
/**
|
|
553
|
-
* The term [Puppet](https://wechaty.js.org/docs/specs/puppet) in Wechaty is an Abstract Class for implementing protocol plugins.
|
|
554
|
-
* The plugins are the component that helps Wechaty to control the WeChat(that's the reason we call it puppet).
|
|
555
|
-
* The plugins are named XXXPuppet, for example:
|
|
556
|
-
* - [PuppetWeChat](https://github.com/wechaty/puppet-wechat):
|
|
557
|
-
* - [PuppetWeChat](https://github.com/wechaty/puppet-service):
|
|
558
|
-
* - [PuppetXP](https://github.com/wechaty/puppet-xp)
|
|
559
|
-
*
|
|
560
|
-
* @typedef PuppetModuleName
|
|
561
|
-
* @property {string} PUPPET_DEFAULT
|
|
562
|
-
* The default puppet.
|
|
563
|
-
* @property {string} wechaty-puppet-wechat4u
|
|
564
|
-
* The default puppet, using the [wechat4u](https://github.com/nodeWechat/wechat4u) to control the [WeChat Web API](https://wx.qq.com/) via a chrome browser.
|
|
565
|
-
* @property {string} wechaty-puppet-service
|
|
566
|
-
* - Using the gRPC protocol to connect with a Protocol Server for controlling the any protocol of any IM program.
|
|
567
|
-
* @property {string} wechaty-puppet-wechat
|
|
568
|
-
* - Using the [google puppeteer](https://github.com/GoogleChrome/puppeteer) to control the [WeChat Web API](https://wx.qq.com/) via a chrome browser.
|
|
569
|
-
* @property {string} wechaty-puppet-mock
|
|
570
|
-
* - Using the mock data to mock wechat operation, just for test.
|
|
571
|
-
*/
|
|
572
|
-
/**
|
|
573
|
-
* The option parameter to create a wechaty instance
|
|
574
|
-
*
|
|
575
|
-
* @typedef WechatyOptions
|
|
576
|
-
* @property {string} name -Wechaty Name. </br>
|
|
577
|
-
* When you set this: </br>
|
|
578
|
-
* `new Wechaty({name: 'wechaty-name'}) ` </br>
|
|
579
|
-
* it will generate a file called `wechaty-name.memory-card.json`. </br>
|
|
580
|
-
* This file stores the login information for bot. </br>
|
|
581
|
-
* If the file is valid, the bot can auto login so you don't need to scan the qrCode to login again. </br>
|
|
582
|
-
* Also, you can set the environment variable for `WECHATY_NAME` to set this value when you start. </br>
|
|
583
|
-
* eg: `WECHATY_NAME="your-cute-bot-name" node bot.js`
|
|
584
|
-
* @property {PuppetModuleName | Puppet} puppet -Puppet name or instance
|
|
585
|
-
* @property {Partial<PuppetOptions>} puppetOptions -Puppet TOKEN
|
|
586
|
-
* @property {string} ioToken -Io TOKEN
|
|
587
|
-
*/
|
|
588
|
-
/**
|
|
589
|
-
* Creates an instance of Wechaty.
|
|
590
|
-
* @param {WechatyOptions} [options={}]
|
|
591
|
-
*
|
|
592
|
-
*/
|
|
593
324
|
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
594
325
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
595
326
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
596
327
|
readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
|
|
328
|
+
readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
|
|
597
329
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
598
330
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
599
331
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
@@ -672,37 +404,10 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
672
404
|
__wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
|
|
673
405
|
__wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
|
|
674
406
|
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
675
|
-
/**
|
|
676
|
-
* Huan(2021211): Keep the below call back hell
|
|
677
|
-
* because it's easy for testing
|
|
678
|
-
* especially when there's some typing mismatch and we need to figure it out.
|
|
679
|
-
*/
|
|
680
|
-
/**
|
|
681
|
-
* Main bot class.
|
|
682
|
-
*
|
|
683
|
-
* A `Bot` is a WeChat client depends on which puppet you use.
|
|
684
|
-
* It may equals
|
|
685
|
-
* - web-WeChat, when you use: [puppet-puppeteer](https://github.com/wechaty/wechaty-puppet-puppeteer)/[puppet-wechat4u](https://github.com/wechaty/wechaty-puppet-wechat4u)
|
|
686
|
-
* - ipad-WeChat, when you use: [puppet-padchat](https://github.com/wechaty/wechaty-puppet-padchat)
|
|
687
|
-
* - ios-WeChat, when you use: puppet-ioscat
|
|
688
|
-
*
|
|
689
|
-
* See more:
|
|
690
|
-
* - [What is a Puppet in Wechaty](https://github.com/wechaty/getting-started/wiki/FAQ#31-what-is-a-puppet-in-wechaty)
|
|
691
|
-
*
|
|
692
|
-
* > If you want to know how to send message, see [Message](#Message) <br>
|
|
693
|
-
* > If you want to know how to get contact, see [Contact](#Contact)
|
|
694
|
-
*
|
|
695
|
-
* @example <caption>The World's Shortest ChatBot Code: 6 lines of JavaScript</caption>
|
|
696
|
-
* import { WechatyBuilder } from 'wechaty'
|
|
697
|
-
* const bot = WechatyBuilder.build()
|
|
698
|
-
* bot.on('scan', (qrCode, status) => console.log('https://wechaty.js.org/qrcode/' + encodeURIComponent(qrcode)))
|
|
699
|
-
* bot.on('login', user => console.log(`User ${user} logged in`))
|
|
700
|
-
* bot.on('message', message => console.log(`Message: ${message}`))
|
|
701
|
-
* bot.start()
|
|
702
|
-
*/
|
|
703
407
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
704
408
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
705
409
|
__wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
|
|
410
|
+
__wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | undefined;
|
|
706
411
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
707
412
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
708
413
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
@@ -719,51 +424,11 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
719
424
|
readonly Room: import("../user-modules/room.js").RoomConstructor;
|
|
720
425
|
readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
|
|
721
426
|
readonly Tag: import("../user-modules/tag.js").TagConstructor;
|
|
722
|
-
/**
|
|
723
|
-
* The term [Puppet](https://wechaty.js.org/docs/specs/puppet) in Wechaty is an Abstract Class for implementing protocol plugins.
|
|
724
|
-
* The plugins are the component that helps Wechaty to control the WeChat(that's the reason we call it puppet).
|
|
725
|
-
* The plugins are named XXXPuppet, for example:
|
|
726
|
-
* - [PuppetWeChat](https://github.com/wechaty/puppet-wechat):
|
|
727
|
-
* - [PuppetWeChat](https://github.com/wechaty/puppet-service):
|
|
728
|
-
* - [PuppetXP](https://github.com/wechaty/puppet-xp)
|
|
729
|
-
*
|
|
730
|
-
* @typedef PuppetModuleName
|
|
731
|
-
* @property {string} PUPPET_DEFAULT
|
|
732
|
-
* The default puppet.
|
|
733
|
-
* @property {string} wechaty-puppet-wechat4u
|
|
734
|
-
* The default puppet, using the [wechat4u](https://github.com/nodeWechat/wechat4u) to control the [WeChat Web API](https://wx.qq.com/) via a chrome browser.
|
|
735
|
-
* @property {string} wechaty-puppet-service
|
|
736
|
-
* - Using the gRPC protocol to connect with a Protocol Server for controlling the any protocol of any IM program.
|
|
737
|
-
* @property {string} wechaty-puppet-wechat
|
|
738
|
-
* - Using the [google puppeteer](https://github.com/GoogleChrome/puppeteer) to control the [WeChat Web API](https://wx.qq.com/) via a chrome browser.
|
|
739
|
-
* @property {string} wechaty-puppet-mock
|
|
740
|
-
* - Using the mock data to mock wechat operation, just for test.
|
|
741
|
-
*/
|
|
742
|
-
/**
|
|
743
|
-
* The option parameter to create a wechaty instance
|
|
744
|
-
*
|
|
745
|
-
* @typedef WechatyOptions
|
|
746
|
-
* @property {string} name -Wechaty Name. </br>
|
|
747
|
-
* When you set this: </br>
|
|
748
|
-
* `new Wechaty({name: 'wechaty-name'}) ` </br>
|
|
749
|
-
* it will generate a file called `wechaty-name.memory-card.json`. </br>
|
|
750
|
-
* This file stores the login information for bot. </br>
|
|
751
|
-
* If the file is valid, the bot can auto login so you don't need to scan the qrCode to login again. </br>
|
|
752
|
-
* Also, you can set the environment variable for `WECHATY_NAME` to set this value when you start. </br>
|
|
753
|
-
* eg: `WECHATY_NAME="your-cute-bot-name" node bot.js`
|
|
754
|
-
* @property {PuppetModuleName | Puppet} puppet -Puppet name or instance
|
|
755
|
-
* @property {Partial<PuppetOptions>} puppetOptions -Puppet TOKEN
|
|
756
|
-
* @property {string} ioToken -Io TOKEN
|
|
757
|
-
*/
|
|
758
|
-
/**
|
|
759
|
-
* Creates an instance of Wechaty.
|
|
760
|
-
* @param {WechatyOptions} [options={}]
|
|
761
|
-
*
|
|
762
|
-
*/
|
|
763
427
|
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
764
428
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
765
429
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
766
430
|
readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
|
|
431
|
+
readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
|
|
767
432
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
768
433
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
769
434
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
@@ -907,7 +572,7 @@ declare class WechatyBase extends mixinBase implements SayableSayer {
|
|
|
907
572
|
* > Tips:
|
|
908
573
|
* This function is depending on the Puppet Implementation, see [puppet-compatible-table](https://github.com/wechaty/wechaty/wiki/Puppet#3-puppet-compatible-table)
|
|
909
574
|
*
|
|
910
|
-
* @param {(string | Contact | FileBox | UrlLink | MiniProgram | Location | Channel | ChannelCard)} sayable
|
|
575
|
+
* @param {(string | Contact | FileBox | UrlLink | MiniProgram | Location | Channel | ChannelCard | ConsultCard)} sayable
|
|
911
576
|
* send text, Contact, or file to bot. </br>
|
|
912
577
|
* You can use {@link https://www.npmjs.com/package/file-box|FileBox} to send file
|
|
913
578
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wechaty-base.d.ts","sourceRoot":"","sources":["../../../../src/wechaty/wechaty-base.ts"],"names":[],"mappings":"AAuBA,OAAO,KAAK,MAAM,MAAM,sBAAsB,CAAA;AAQ9C,OAAO,KAAK,EACV,YAAY,EACZ,OAAO,EACR,MAAkC,mBAAmB,CAAA;AAWtD,OAAO,EACL,eAAe,EAChB,MAAkC,uBAAuB,CAAA;AAC1D,OAAO,KAAK,EACV,gBAAgB,EACjB,MAAkC,mBAAmB,CAAA;AACtD,OAAO,KAAK,EACV,cAAc,EACf,MAAkC,+BAA+B,CAAA;AAClE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AAE5D,QAAA,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"wechaty-base.d.ts","sourceRoot":"","sources":["../../../../src/wechaty/wechaty-base.ts"],"names":[],"mappings":"AAuBA,OAAO,KAAK,MAAM,MAAM,sBAAsB,CAAA;AAQ9C,OAAO,KAAK,EACV,YAAY,EACZ,OAAO,EACR,MAAkC,mBAAmB,CAAA;AAWtD,OAAO,EACL,eAAe,EAChB,MAAkC,uBAAuB,CAAA;AAC1D,OAAO,KAAK,EACV,gBAAgB,EACjB,MAAkC,mBAAmB,CAAA;AACtD,OAAO,KAAK,EACV,cAAc,EACf,MAAkC,+BAA+B,CAAA;AAClE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AAE5D,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAiBd,CAAA;AAED;;;;GAIG;AAaH;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,cAAM,WAAY,SAAQ,SAAU,YAAW,YAAY;IAmD9C,SAAS,EAAE,cAAc;IAjDpC,gBAA2B,OAAO,SAAU;IAC5C,QAAQ,CAAC,OAAO,EAAG,gBAAgB,CAAA;IAEnC,QAAQ,CAAC,iBAAiB,EAAE,CAAC,MAAM,IAAI,CAAC,EAAE,CAAK;IAE/C;;;;;;;;;;;;;;;;;;;OAmBG;IAEH;;;;;;;;;;;;;;;OAeG;IAEH;;;;OAIG;gBAEQ,SAAS,GAAE,cAAmB;IAS1B,KAAK,IAAK,OAAO,CAAC,IAAI,CAAC;IAMvB,OAAO,IAAK,OAAO,CAAC,IAAI,CAAC;IAmBzB,MAAM,IAAK,OAAO,CAAC,IAAI,CAAC;IAgBvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAoDG;IAEG,GAAG,CACP,OAAO,EAAE,OAAO,GACf,OAAO,CAAC,IAAI,CAAC;IAKV,OAAO,CACX,IAAI,EAAE,aAAa,GAClB,OAAO,CAAC,IAAI,GAAG,aAAa,CAAC;IAY1B,SAAS,CACb,IAAI,EAAE,aAAa,GAClB,OAAO,CAAC,IAAI,CAAC;IAYV,eAAe,CACnB,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,MAAM,GACX,OAAO,CAAC,IAAI,CAAC;IAMV,gBAAgB,CACpB,EAAE,EAAE,MAAM,GACT,OAAO,CAAC,IAAI,CAAC;IAMV,aAAa,IAChB,OAAO,CAAC,IAAI,CAAC;CAUjB;AAED,aAAK,4BAA4B,GAE7B,oBAAoB,GACpB,gCAAgC,GAChC,SAAS,GACT,SAAS,GACT,QAAQ,CAAA;AAEZ,YAAY,EACV,4BAA4B,GAC7B,CAAA;AACD,OAAO,EACL,WAAW,GACZ,CAAA"}
|
|
@@ -180,7 +180,7 @@ class WechatyBase extends mixinBase {
|
|
|
180
180
|
* > Tips:
|
|
181
181
|
* This function is depending on the Puppet Implementation, see [puppet-compatible-table](https://github.com/wechaty/wechaty/wiki/Puppet#3-puppet-compatible-table)
|
|
182
182
|
*
|
|
183
|
-
* @param {(string | Contact | FileBox | UrlLink | MiniProgram | Location | Channel | ChannelCard)} sayable
|
|
183
|
+
* @param {(string | Contact | FileBox | UrlLink | MiniProgram | Location | Channel | ChannelCard | ConsultCard)} sayable
|
|
184
184
|
* send text, Contact, or file to bot. </br>
|
|
185
185
|
* You can use {@link https://www.npmjs.com/package/file-box|FileBox} to send file
|
|
186
186
|
*
|
|
@@ -26,6 +26,7 @@ const wechaty_impl_js_1 = require("./wechaty-impl.js");
|
|
|
26
26
|
UrlLink;
|
|
27
27
|
Channel;
|
|
28
28
|
ChannelCard;
|
|
29
|
+
ConsultCard;
|
|
29
30
|
Moment;
|
|
30
31
|
CallRecord;
|
|
31
32
|
ChatHistory;
|
|
@@ -49,11 +50,12 @@ const wechaty_impl_js_1 = require("./wechaty-impl.js");
|
|
|
49
50
|
= this.UrlLink
|
|
50
51
|
= this.Channel
|
|
51
52
|
= this.ChannelCard
|
|
52
|
-
= this.
|
|
53
|
-
= this.
|
|
54
|
-
= this.
|
|
55
|
-
= this.
|
|
56
|
-
=
|
|
53
|
+
= this.ConsultCard
|
|
54
|
+
= this.Moment
|
|
55
|
+
= this.CallRecord
|
|
56
|
+
= this.ChatHistory
|
|
57
|
+
= this.Wecom
|
|
58
|
+
= {};
|
|
57
59
|
}
|
|
58
60
|
}
|
|
59
61
|
const WechatyTest = WechatyImplementation;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wechaty-impl.spec.js","sourceRoot":"","sources":["../../../../src/wechaty/wechaty-impl.spec.ts"],"names":[],"mappings":";;;;;;AACA,mCAA6B;AAC7B,oFAAkD;AAElD,oEAAkE;
|
|
1
|
+
{"version":3,"file":"wechaty-impl.spec.js","sourceRoot":"","sources":["../../../../src/wechaty/wechaty-impl.spec.ts"],"names":[],"mappings":";;;;;;AACA,mCAA6B;AAC7B,oFAAkD;AAElD,oEAAkE;AA2BlE,uDAMgD;AAEhD,IAAA,aAAI,EAAC,mBAAmB,EAAE,KAAK,EAAC,CAAC,EAAC,EAAE;IAClC,MAAe,qBAAsB,SAAQ,uCAAmB;QAE9D,OAAO,CAA4B;QACnC,WAAW,CAA4B;QACvC,KAAK,CAA4B;QACjC,UAAU,CAA4B;QACtC,KAAK,CAA4B;QACjC,QAAQ,CAA4B;QACpC,OAAO,CAA4B;QACnC,WAAW,CAA4B;QACvC,IAAI,CAA4B;QAChC,IAAI,CAA4B;QAChC,cAAc,CAA4B;QAC1C,GAAG,CAA4B;QAC/B,QAAQ,CAA4B;QACpC,OAAO,CAA4B;QACnC,OAAO,CAA4B;QACnC,WAAW,CAA4B;QACvC,WAAW,CAA4B;QACvC,MAAM,CAA4B;QAClC,UAAU,CAA4B;QACtC,WAAW,CAA4B;QACvC,KAAK,CAA4B;QAEjC;YACE,KAAK,EAAE,CAAA;YACP,cAAc;YACd,IAAI,CAAC,OAAO;kBACR,IAAI,CAAC,WAAW;sBAChB,IAAI,CAAC,KAAK;0BACV,IAAI,CAAC,UAAU;8BACf,IAAI,CAAC,KAAK;kCACV,IAAI,CAAC,QAAQ;sCACb,IAAI,CAAC,OAAO;0CACZ,IAAI,CAAC,WAAW;8CAChB,IAAI,CAAC,IAAI;kDACT,IAAI,CAAC,IAAI;sDACT,IAAI,CAAC,cAAc;0DACnB,IAAI,CAAC,GAAG;8DACR,IAAI,CAAC,QAAQ;kEACb,IAAI,CAAC,OAAO;sEACZ,IAAI,CAAC,OAAO;0EACZ,IAAI,CAAC,WAAW;8EAChB,IAAI,CAAC,WAAW;kFAChB,IAAI,CAAC,MAAM;sFACX,IAAI,CAAC,UAAU;0FACf,IAAI,CAAC,WAAW;8FAChB,IAAI,CAAC,KAAK;kGACV,EAAS,CAAA;QACf,CAAC;KA6BF;IAED,MAAM,WAAW,GAAG,qBAAsD,CAAA;IAC1E,MAAM,CAAC,GAAqB,IAAI,WAAW,EAAE,CAAA;IAC7C,CAAC,CAAC,EAAE,CAAC,SAAS,EAAE,CAAC,GAAqB,EAAE,EAAE;QACxC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IACpC,CAAC,CAAC,CAAA;IAEF,CAAC,CAAC,EAAE,CAAC,OAAO,qBAAqB,EAAE,wBAAwB,CAAC,CAAA;AAC9D,CAAC,CAAC,CAAA;AAEF,2CAA2C;AAC3C,gCAAgC;AAChC,wCAAwC;AAExC,2FAA2F;AAC3F,qEAAqE;AAErE,uCAAuC;AACvC,kFAAkF;AAClF,KAAK;AAEL,IAAA,aAAI,EAAC,+BAA+B,EAAE,KAAK,EAAC,CAAC,EAAC,EAAE;IAC9C,MAAM,MAAM,GAAI,IAAI,6BAAU,EAAS,CAAA;IACvC,MAAM,OAAO,GAAG,IAAI,6BAAW,CAAC,EAAE,MAAM,EAAE,CAAC,CAAA;IAC3C,CAAC,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE,sDAAsD,CAAC,CAAA;IAEtF,MAAM,OAAO,CAAC,IAAI,EAAE,CAAA;IACpB,CAAC,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE,yDAAyD,CAAC,CAAA;IAC/F,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE,4DAA4D,CAAC,CAAA;AACpF,CAAC,CAAC,CAAA"}
|
|
@@ -27,6 +27,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
27
27
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
28
28
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
29
29
|
__wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
|
|
30
|
+
__wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | 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;
|
|
@@ -47,6 +48,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
47
48
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
48
49
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
49
50
|
readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
|
|
51
|
+
readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
|
|
50
52
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
51
53
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
52
54
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
@@ -96,6 +98,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
96
98
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
97
99
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
98
100
|
__wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
|
|
101
|
+
__wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | undefined;
|
|
99
102
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
100
103
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
101
104
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
@@ -116,6 +119,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
116
119
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
117
120
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
118
121
|
readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
|
|
122
|
+
readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
|
|
119
123
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
120
124
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
121
125
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
@@ -295,6 +299,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
295
299
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
296
300
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
297
301
|
__wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
|
|
302
|
+
__wechatifiedConsultCard?: import("../user-modules/consult-card.js").ConsultCardConstructor | undefined;
|
|
298
303
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
299
304
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
300
305
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
@@ -315,6 +320,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
315
320
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
316
321
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
317
322
|
readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
|
|
323
|
+
readonly ConsultCard: import("../user-modules/consult-card.js").ConsultCardConstructor;
|
|
318
324
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
319
325
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
320
326
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login-mixin.d.ts","sourceRoot":"","sources":["../../../../src/wechaty-mixins/login-mixin.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAEV,oBAAoB,EACrB,MAAoC,wBAAwB,CAAA;AAC7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAKxD,QAAA,MAAM,UAAU
|
|
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"}
|