@juzi/wechaty 1.0.17 → 1.0.18

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 (88) hide show
  1. package/dist/cjs/src/mods/impls.d.ts +3 -3
  2. package/dist/cjs/src/mods/impls.d.ts.map +1 -1
  3. package/dist/cjs/src/mods/impls.js +2 -1
  4. package/dist/cjs/src/mods/impls.js.map +1 -1
  5. package/dist/cjs/src/mods/users.d.ts +1 -1
  6. package/dist/cjs/src/mods/users.d.ts.map +1 -1
  7. package/dist/cjs/src/package-json.js +3 -3
  8. package/dist/cjs/src/user-modules/contact.d.ts +8 -0
  9. package/dist/cjs/src/user-modules/contact.d.ts.map +1 -1
  10. package/dist/cjs/src/user-modules/contact.js +34 -22
  11. package/dist/cjs/src/user-modules/contact.js.map +1 -1
  12. package/dist/cjs/src/user-modules/mod.d.ts +4 -3
  13. package/dist/cjs/src/user-modules/mod.d.ts.map +1 -1
  14. package/dist/cjs/src/user-modules/mod.js +3 -1
  15. package/dist/cjs/src/user-modules/mod.js.map +1 -1
  16. package/dist/cjs/src/user-modules/tag-group.d.ts +60 -0
  17. package/dist/cjs/src/user-modules/tag-group.d.ts.map +1 -0
  18. package/dist/cjs/src/user-modules/tag-group.js +71 -0
  19. package/dist/cjs/src/user-modules/tag-group.js.map +1 -0
  20. package/dist/cjs/src/user-modules/tag.d.ts +40 -11
  21. package/dist/cjs/src/user-modules/tag.d.ts.map +1 -1
  22. package/dist/cjs/src/user-modules/tag.js +73 -27
  23. package/dist/cjs/src/user-modules/tag.js.map +1 -1
  24. package/dist/cjs/src/wechaty/wechaty-base.d.ts +15 -5
  25. package/dist/cjs/src/wechaty/wechaty-base.d.ts.map +1 -1
  26. package/dist/cjs/src/wechaty/wechaty-impl.spec.js +5 -3
  27. package/dist/cjs/src/wechaty/wechaty-impl.spec.js.map +1 -1
  28. package/dist/cjs/src/wechaty-mixins/login-mixin.d.ts +6 -0
  29. package/dist/cjs/src/wechaty-mixins/login-mixin.d.ts.map +1 -1
  30. package/dist/cjs/src/wechaty-mixins/misc-mixin.d.ts +9 -9
  31. package/dist/cjs/src/wechaty-mixins/misc-mixin.d.ts.map +1 -1
  32. package/dist/cjs/src/wechaty-mixins/plugin-mixin.d.ts +8 -0
  33. package/dist/cjs/src/wechaty-mixins/plugin-mixin.d.ts.map +1 -1
  34. package/dist/cjs/src/wechaty-mixins/puppet-mixin.d.ts +14 -20
  35. package/dist/cjs/src/wechaty-mixins/puppet-mixin.d.ts.map +1 -1
  36. package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.d.ts +4 -2
  37. package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.d.ts.map +1 -1
  38. package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.js +3 -0
  39. package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.js.map +1 -1
  40. package/dist/esm/src/mods/impls.d.ts +3 -3
  41. package/dist/esm/src/mods/impls.d.ts.map +1 -1
  42. package/dist/esm/src/mods/impls.js +1 -1
  43. package/dist/esm/src/mods/impls.js.map +1 -1
  44. package/dist/esm/src/mods/users.d.ts +1 -1
  45. package/dist/esm/src/mods/users.d.ts.map +1 -1
  46. package/dist/esm/src/package-json.js +3 -3
  47. package/dist/esm/src/user-modules/contact.d.ts +8 -0
  48. package/dist/esm/src/user-modules/contact.d.ts.map +1 -1
  49. package/dist/esm/src/user-modules/contact.js +34 -22
  50. package/dist/esm/src/user-modules/contact.js.map +1 -1
  51. package/dist/esm/src/user-modules/mod.d.ts +4 -3
  52. package/dist/esm/src/user-modules/mod.d.ts.map +1 -1
  53. package/dist/esm/src/user-modules/mod.js +2 -1
  54. package/dist/esm/src/user-modules/mod.js.map +1 -1
  55. package/dist/esm/src/user-modules/tag-group.d.ts +60 -0
  56. package/dist/esm/src/user-modules/tag-group.d.ts.map +1 -0
  57. package/dist/esm/src/user-modules/tag-group.js +68 -0
  58. package/dist/esm/src/user-modules/tag-group.js.map +1 -0
  59. package/dist/esm/src/user-modules/tag.d.ts +40 -11
  60. package/dist/esm/src/user-modules/tag.d.ts.map +1 -1
  61. package/dist/esm/src/user-modules/tag.js +73 -27
  62. package/dist/esm/src/user-modules/tag.js.map +1 -1
  63. package/dist/esm/src/wechaty/wechaty-base.d.ts +15 -5
  64. package/dist/esm/src/wechaty/wechaty-base.d.ts.map +1 -1
  65. package/dist/esm/src/wechaty/wechaty-impl.spec.js +5 -3
  66. package/dist/esm/src/wechaty/wechaty-impl.spec.js.map +1 -1
  67. package/dist/esm/src/wechaty-mixins/login-mixin.d.ts +6 -0
  68. package/dist/esm/src/wechaty-mixins/login-mixin.d.ts.map +1 -1
  69. package/dist/esm/src/wechaty-mixins/misc-mixin.d.ts +9 -9
  70. package/dist/esm/src/wechaty-mixins/misc-mixin.d.ts.map +1 -1
  71. package/dist/esm/src/wechaty-mixins/plugin-mixin.d.ts +8 -0
  72. package/dist/esm/src/wechaty-mixins/plugin-mixin.d.ts.map +1 -1
  73. package/dist/esm/src/wechaty-mixins/puppet-mixin.d.ts +14 -20
  74. package/dist/esm/src/wechaty-mixins/puppet-mixin.d.ts.map +1 -1
  75. package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.d.ts +4 -2
  76. package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.d.ts.map +1 -1
  77. package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.js +4 -1
  78. package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.js.map +1 -1
  79. package/package.json +2 -2
  80. package/src/mods/impls.ts +3 -0
  81. package/src/mods/users.ts +1 -0
  82. package/src/package-json.ts +3 -3
  83. package/src/user-modules/contact.ts +40 -22
  84. package/src/user-modules/mod.ts +8 -0
  85. package/src/user-modules/tag-group.ts +115 -0
  86. package/src/user-modules/tag.ts +85 -14
  87. package/src/wechaty/wechaty-impl.spec.ts +3 -0
  88. package/src/wechaty-mixins/wechatify-user-module-mixin.ts +6 -0
@@ -1,39 +1,85 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TagImpl = void 0;
4
- /**
5
- * Wechaty Chatbot SDK - https://github.com/wechaty/wechaty
6
- *
7
- * @copyright 2016 Huan LI (李卓桓) <https://github.com/huan>, and
8
- * Wechaty Contributors <https://github.com/wechaty>.
9
- *
10
- * Licensed under the Apache License, Version 2.0 (the "License");
11
- * you may not use this file except in compliance with the License.
12
- * You may obtain a copy of the License at
13
- *
14
- * http://www.apache.org/licenses/LICENSE-2.0
15
- *
16
- * Unless required by applicable law or agreed to in writing, software
17
- * distributed under the License is distributed on an "AS IS" BASIS,
18
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
- * See the License for the specific language governing permissions and
20
- * limitations under the License.
21
- *
22
- */
23
- const wechaty_puppet_1 = require("@juzi/wechaty-puppet");
24
- const poolify_js_1 = require("../user-mixins/poolify.js");
4
+ const config_js_1 = require("../config.js");
25
5
  const validation_js_1 = require("../user-mixins/validation.js");
26
6
  const wechatify_js_1 = require("../user-mixins/wechatify.js");
27
- const MixinBase = (0, poolify_js_1.poolifyMixin)((0, wechatify_js_1.wechatifyMixinBase)())();
28
- class TagMixin extends MixinBase {
29
- id;
7
+ class TagMixin extends (0, wechatify_js_1.wechatifyMixinBase)() {
8
+ payload;
9
+ /**
10
+ *
11
+ * Create
12
+ *
13
+ */
14
+ static create(payload) {
15
+ config_js_1.log.verbose('Tag', 'create()');
16
+ return new this(payload);
17
+ }
30
18
  /**
31
19
  * @hideconstructor
32
20
  */
33
- constructor(id) {
21
+ constructor(payload) {
34
22
  super();
35
- this.id = id;
36
- wechaty_puppet_1.log.silly('Tag', `constructor(${id})`);
23
+ this.payload = payload;
24
+ config_js_1.log.silly('Tag', 'constructor()');
25
+ }
26
+ id() {
27
+ return this.payload.id;
28
+ }
29
+ type() {
30
+ return this.payload.type;
31
+ }
32
+ groupId() {
33
+ return this.payload.groupId || '';
34
+ }
35
+ name() {
36
+ return this.payload.name;
37
+ }
38
+ static async list() {
39
+ config_js_1.log.verbose('Tag', 'list()');
40
+ try {
41
+ const payloads = await this.wechaty.puppet.tagTagList();
42
+ return payloads.map(payload => new this(payload));
43
+ }
44
+ catch (e) {
45
+ this.wechaty.emitError(e);
46
+ config_js_1.log.error('Tag', 'list() exception: %s', e.message);
47
+ return [];
48
+ }
49
+ }
50
+ async contactList() {
51
+ config_js_1.log.verbose('Tag', 'contactList() for tag id: %s', this.id());
52
+ const contactIds = await this.wechaty.puppet.tagTagContactList(this.groupId(), this.id());
53
+ const contactPromises = contactIds.map(id => this.wechaty.Contact.find({ id }));
54
+ return Promise.all(contactPromises);
55
+ }
56
+ async tag(contact) {
57
+ config_js_1.log.verbose('Tag', 'tag(%s) for tag id: %s', contact, this.id());
58
+ const contactId = contact.id;
59
+ await this.wechaty.puppet.tagContactTagAdd(this.groupId(), this.id(), contactId);
60
+ }
61
+ static async createTag(tagGroupId, name) {
62
+ config_js_1.log.verbose('Tag', 'createTag(%s, %s)', tagGroupId, name);
63
+ try {
64
+ const payload = await this.wechaty.puppet.tagTagAdd(tagGroupId, name);
65
+ if (payload) {
66
+ return new this(payload);
67
+ }
68
+ }
69
+ catch (e) {
70
+ this.wechaty.emitError(e);
71
+ config_js_1.log.error('Contact', 'createTag() exception: %s', e.message);
72
+ }
73
+ }
74
+ static async deleteTag(tag) {
75
+ config_js_1.log.verbose('Tag', 'deleteTag(%s, %s)', tag);
76
+ try {
77
+ await this.wechaty.puppet.tagTagDelete(tag.groupId(), tag.id());
78
+ }
79
+ catch (e) {
80
+ this.wechaty.emitError(e);
81
+ config_js_1.log.error('Contact', 'deleteTag() exception: %s', e.message);
82
+ }
37
83
  }
38
84
  }
39
85
  class TagImpl extends (0, validation_js_1.validationMixin)(TagMixin)() {
@@ -1 +1 @@
1
- {"version":3,"file":"tag.js","sourceRoot":"","sources":["../../../../src/user-modules/tag.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,yDA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mixinBase: (abstract new (...args: any[]) => {
67
67
  __wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
68
68
  __wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
69
69
  __wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
70
+ __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
70
71
  __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
71
72
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
72
73
  readonly Contact: import("../user-modules/contact.js").ContactConstructor;
73
74
  readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
74
75
  readonly Delay: import("../user-modules/delay.js").DelayConstructor;
75
- readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
76
76
  /**
77
77
  * Main bot class.
78
78
  *
@@ -96,6 +96,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
96
96
  * bot.on('message', message => console.log(`Message: ${message}`))
97
97
  * bot.start()
98
98
  */
99
+ readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
99
100
  readonly Image: import("../user-modules/image.js").ImageConstructor;
100
101
  readonly Location: import("../user-modules/location.js").LocationConstructor;
101
102
  readonly Message: import("../user-modules/message.js").MessageConstructor;
@@ -104,6 +105,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
104
105
  readonly Room: import("../user-modules/room.js").RoomConstructor;
105
106
  readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
106
107
  readonly Tag: import("../user-modules/tag.js").TagConstructor;
108
+ readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
107
109
  readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
108
110
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
109
111
  __io?: import("../io.js").Io | undefined;
@@ -159,12 +161,12 @@ declare const mixinBase: (abstract new (...args: any[]) => {
159
161
  __wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
160
162
  __wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
161
163
  __wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
164
+ __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
162
165
  __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
163
166
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
164
167
  readonly Contact: import("../user-modules/contact.js").ContactConstructor;
165
168
  readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
166
169
  readonly Delay: import("../user-modules/delay.js").DelayConstructor;
167
- readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
168
170
  /**
169
171
  * Main bot class.
170
172
  *
@@ -188,6 +190,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
188
190
  * bot.on('message', message => console.log(`Message: ${message}`))
189
191
  * bot.start()
190
192
  */
193
+ readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
191
194
  readonly Image: import("../user-modules/image.js").ImageConstructor;
192
195
  readonly Location: import("../user-modules/location.js").LocationConstructor;
193
196
  readonly Message: import("../user-modules/message.js").MessageConstructor;
@@ -196,6 +199,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
196
199
  readonly Room: import("../user-modules/room.js").RoomConstructor;
197
200
  readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
198
201
  readonly Tag: import("../user-modules/tag.js").TagConstructor;
202
+ readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
199
203
  readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
200
204
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
201
205
  wrapAsync: import("gerror/dist/esm/src/wrap-async-error/wrap-async-error.js").WrapAsync;
@@ -255,12 +259,12 @@ declare const mixinBase: (abstract new (...args: any[]) => {
255
259
  __wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
256
260
  __wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
257
261
  __wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
262
+ __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
258
263
  __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
259
264
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
260
265
  readonly Contact: import("../user-modules/contact.js").ContactConstructor;
261
266
  readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
262
267
  readonly Delay: import("../user-modules/delay.js").DelayConstructor;
263
- readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
264
268
  /**
265
269
  * Main bot class.
266
270
  *
@@ -284,6 +288,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
284
288
  * bot.on('message', message => console.log(`Message: ${message}`))
285
289
  * bot.start()
286
290
  */
291
+ readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
287
292
  readonly Image: import("../user-modules/image.js").ImageConstructor;
288
293
  readonly Location: import("../user-modules/location.js").LocationConstructor;
289
294
  readonly Message: import("../user-modules/message.js").MessageConstructor;
@@ -292,6 +297,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
292
297
  readonly Room: import("../user-modules/room.js").RoomConstructor;
293
298
  readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
294
299
  readonly Tag: import("../user-modules/tag.js").TagConstructor;
300
+ readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
295
301
  readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
296
302
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
297
303
  wrapAsync: import("gerror/dist/esm/src/wrap-async-error/wrap-async-error.js").WrapAsync;
@@ -323,12 +329,12 @@ declare const mixinBase: (abstract new (...args: any[]) => {
323
329
  __wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
324
330
  __wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
325
331
  __wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
332
+ __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
326
333
  __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
327
334
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
328
335
  readonly Contact: import("../user-modules/contact.js").ContactConstructor;
329
336
  readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
330
337
  readonly Delay: import("../user-modules/delay.js").DelayConstructor;
331
- readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
332
338
  /**
333
339
  * Main bot class.
334
340
  *
@@ -352,6 +358,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
352
358
  * bot.on('message', message => console.log(`Message: ${message}`))
353
359
  * bot.start()
354
360
  */
361
+ readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
355
362
  readonly Image: import("../user-modules/image.js").ImageConstructor;
356
363
  readonly Location: import("../user-modules/location.js").LocationConstructor;
357
364
  readonly Message: import("../user-modules/message.js").MessageConstructor;
@@ -360,6 +367,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
360
367
  readonly Room: import("../user-modules/room.js").RoomConstructor;
361
368
  readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
362
369
  readonly Tag: import("../user-modules/tag.js").TagConstructor;
370
+ readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
363
371
  readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
364
372
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
365
373
  readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
@@ -435,12 +443,12 @@ declare const mixinBase: (abstract new (...args: any[]) => {
435
443
  __wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
436
444
  __wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
437
445
  __wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
446
+ __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
438
447
  __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
439
448
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
440
449
  readonly Contact: import("../user-modules/contact.js").ContactConstructor;
441
450
  readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
442
451
  readonly Delay: import("../user-modules/delay.js").DelayConstructor;
443
- readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
444
452
  /**
445
453
  * Main bot class.
446
454
  *
@@ -464,6 +472,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
464
472
  * bot.on('message', message => console.log(`Message: ${message}`))
465
473
  * bot.start()
466
474
  */
475
+ readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
467
476
  readonly Image: import("../user-modules/image.js").ImageConstructor;
468
477
  readonly Location: import("../user-modules/location.js").LocationConstructor;
469
478
  readonly Message: import("../user-modules/message.js").MessageConstructor;
@@ -472,6 +481,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
472
481
  readonly Room: import("../user-modules/room.js").RoomConstructor;
473
482
  readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
474
483
  readonly Tag: import("../user-modules/tag.js").TagConstructor;
484
+ readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
475
485
  readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
476
486
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
477
487
  init(): Promise<void>;
@@ -1 +1 @@
1
- {"version":3,"file":"wechaty-base.d.ts","sourceRoot":"","sources":["../../../../src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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;CAYjC;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"}
@@ -22,6 +22,7 @@ const wechaty_impl_js_1 = require("./wechaty-impl.js");
22
22
  Room;
23
23
  RoomInvitation;
24
24
  Tag;
25
+ TagGroup;
25
26
  UrlLink;
26
27
  Channel;
27
28
  constructor() {
@@ -39,9 +40,10 @@ const wechaty_impl_js_1 = require("./wechaty-impl.js");
39
40
  = this.Room
40
41
  = this.RoomInvitation
41
42
  = this.Tag
42
- = this.UrlLink
43
- = this.Channel
44
- = {};
43
+ = this.TagGroup
44
+ = this.UrlLink
45
+ = this.Channel
46
+ = {};
45
47
  }
46
48
  }
47
49
  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;AAoBlE,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,CAA4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@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
22
22
  __wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
23
23
  __wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
24
24
  __wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
25
+ __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
25
26
  __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
26
27
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
27
28
  readonly Contact: import("../user-modules/contact.js").ContactConstructor;
@@ -36,6 +37,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
36
37
  readonly Room: import("../user-modules/room.js").RoomConstructor;
37
38
  readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
38
39
  readonly Tag: import("../user-modules/tag.js").TagConstructor;
40
+ readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
39
41
  readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
40
42
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
41
43
  readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
@@ -79,6 +81,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
79
81
  __wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
80
82
  __wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
81
83
  __wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
84
+ __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
82
85
  __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
83
86
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
84
87
  readonly Contact: import("../user-modules/contact.js").ContactConstructor;
@@ -93,6 +96,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
93
96
  readonly Room: import("../user-modules/room.js").RoomConstructor;
94
97
  readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
95
98
  readonly Tag: import("../user-modules/tag.js").TagConstructor;
99
+ readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
96
100
  readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
97
101
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
98
102
  init(): Promise<void>;
@@ -265,6 +269,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
265
269
  __wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
266
270
  __wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
267
271
  __wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
272
+ __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
268
273
  __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
269
274
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
270
275
  readonly Contact: import("../user-modules/contact.js").ContactConstructor;
@@ -279,6 +284,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
279
284
  readonly Room: import("../user-modules/room.js").RoomConstructor;
280
285
  readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
281
286
  readonly Tag: import("../user-modules/tag.js").TagConstructor;
287
+ readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
282
288
  readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
283
289
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
284
290
  wrapAsync: import("gerror/dist/esm/src/wrap-async-error/wrap-async-error.js").WrapAsync;
@@ -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;cACc,QAAQ,IAAI,CAAC;IAK9B;;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;cACc,QAAQ,IAAI,CAAC;IAK9B;;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"}
@@ -13,9 +13,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
13
13
  __wechatifiedContactSelf?: import("../user-modules/contact-self.js").ContactSelfConstructor | undefined;
14
14
  __wechatifiedDelay?: import("../user-modules/delay.js").DelayConstructor | undefined;
15
15
  __wechatifiedFriendship?: import("../user-modules/friendship.js").FriendshipConstructor | undefined;
16
- __wechatifiedImage?: import("../user-modules/image.js").ImageConstructor | undefined; /**
17
- * @ignore
18
- */
16
+ __wechatifiedImage?: import("../user-modules/image.js").ImageConstructor | undefined;
19
17
  __wechatifiedLocation?: import("../user-modules/location.js").LocationConstructor | undefined;
20
18
  __wechatifiedMessage?: import("../user-modules/message.js").MessageConstructor | undefined;
21
19
  __wechatifiedMiniProgram?: import("../user-modules/mini-program.js").MiniProgramConstructor | undefined;
@@ -23,6 +21,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
23
21
  __wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
24
22
  __wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
25
23
  __wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
24
+ __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
26
25
  __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
27
26
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
28
27
  readonly Contact: import("../user-modules/contact.js").ContactConstructor;
@@ -37,6 +36,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
37
36
  readonly Room: import("../user-modules/room.js").RoomConstructor;
38
37
  readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
39
38
  readonly Tag: import("../user-modules/tag.js").TagConstructor;
39
+ readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
40
40
  readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
41
41
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
42
42
  readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
@@ -74,9 +74,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
74
74
  __wechatifiedContactSelf?: import("../user-modules/contact-self.js").ContactSelfConstructor | undefined;
75
75
  __wechatifiedDelay?: import("../user-modules/delay.js").DelayConstructor | undefined;
76
76
  __wechatifiedFriendship?: import("../user-modules/friendship.js").FriendshipConstructor | undefined;
77
- __wechatifiedImage?: import("../user-modules/image.js").ImageConstructor | undefined; /**
78
- * @ignore
79
- */
77
+ __wechatifiedImage?: import("../user-modules/image.js").ImageConstructor | undefined;
80
78
  __wechatifiedLocation?: import("../user-modules/location.js").LocationConstructor | undefined;
81
79
  __wechatifiedMessage?: import("../user-modules/message.js").MessageConstructor | undefined;
82
80
  __wechatifiedMiniProgram?: import("../user-modules/mini-program.js").MiniProgramConstructor | undefined;
@@ -84,6 +82,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
84
82
  __wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
85
83
  __wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
86
84
  __wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
85
+ __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
87
86
  __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
88
87
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
89
88
  readonly Contact: import("../user-modules/contact.js").ContactConstructor;
@@ -98,6 +97,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
98
97
  readonly Room: import("../user-modules/room.js").RoomConstructor;
99
98
  readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
100
99
  readonly Tag: import("../user-modules/tag.js").TagConstructor;
100
+ readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
101
101
  readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
102
102
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
103
103
  init(): Promise<void>;
@@ -257,9 +257,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
257
257
  __wechatifiedContactSelf?: import("../user-modules/contact-self.js").ContactSelfConstructor | undefined;
258
258
  __wechatifiedDelay?: import("../user-modules/delay.js").DelayConstructor | undefined;
259
259
  __wechatifiedFriendship?: import("../user-modules/friendship.js").FriendshipConstructor | undefined;
260
- __wechatifiedImage?: import("../user-modules/image.js").ImageConstructor | undefined; /**
261
- * @ignore
262
- */
260
+ __wechatifiedImage?: import("../user-modules/image.js").ImageConstructor | undefined;
263
261
  __wechatifiedLocation?: import("../user-modules/location.js").LocationConstructor | undefined;
264
262
  __wechatifiedMessage?: import("../user-modules/message.js").MessageConstructor | undefined;
265
263
  __wechatifiedMiniProgram?: import("../user-modules/mini-program.js").MiniProgramConstructor | undefined;
@@ -267,6 +265,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
267
265
  __wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
268
266
  __wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
269
267
  __wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
268
+ __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
270
269
  __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
271
270
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
272
271
  readonly Contact: import("../user-modules/contact.js").ContactConstructor;
@@ -281,6 +280,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
281
280
  readonly Room: import("../user-modules/room.js").RoomConstructor;
282
281
  readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
283
282
  readonly Tag: import("../user-modules/tag.js").TagConstructor;
283
+ readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
284
284
  readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
285
285
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
286
286
  wrapAsync: import("gerror/dist/esm/src/wrap-async-error/wrap-async-error.js").WrapAsync;
@@ -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;;;;;;;;;;;;;;0FA8CX;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAOH;;OAEG;;;;;;;;;;;;;;0FAXH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAOH;;OAEG;;;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DAH1B;;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"}
@@ -99,6 +99,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
99
99
  __wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
100
100
  __wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
101
101
  __wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
102
+ __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
102
103
  __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
103
104
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
104
105
  readonly Contact: import("../user-modules/contact.js").ContactConstructor;
@@ -113,6 +114,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
113
114
  readonly Room: import("../user-modules/room.js").RoomConstructor;
114
115
  readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
115
116
  readonly Tag: import("../user-modules/tag.js").TagConstructor;
117
+ readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
116
118
  readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
117
119
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
118
120
  wrapAsync: import("gerror/dist/esm/src/wrap-async-error/wrap-async-error.js").WrapAsync;
@@ -144,6 +146,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
144
146
  __wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
145
147
  __wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
146
148
  __wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
149
+ __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
147
150
  __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
148
151
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
149
152
  readonly Contact: import("../user-modules/contact.js").ContactConstructor;
@@ -158,6 +161,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
158
161
  readonly Room: import("../user-modules/room.js").RoomConstructor;
159
162
  readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
160
163
  readonly Tag: import("../user-modules/tag.js").TagConstructor;
164
+ readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
161
165
  readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
162
166
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
163
167
  readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
@@ -201,6 +205,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
201
205
  __wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
202
206
  __wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
203
207
  __wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
208
+ __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
204
209
  __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
205
210
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
206
211
  readonly Contact: import("../user-modules/contact.js").ContactConstructor;
@@ -215,6 +220,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
215
220
  readonly Room: import("../user-modules/room.js").RoomConstructor;
216
221
  readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
217
222
  readonly Tag: import("../user-modules/tag.js").TagConstructor;
223
+ readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
218
224
  readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
219
225
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
220
226
  init(): Promise<void>;
@@ -364,6 +370,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
364
370
  __wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
365
371
  __wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
366
372
  __wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
373
+ __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
367
374
  __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
368
375
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
369
376
  readonly Contact: import("../user-modules/contact.js").ContactConstructor;
@@ -378,6 +385,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
378
385
  readonly Room: import("../user-modules/room.js").RoomConstructor;
379
386
  readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
380
387
  readonly Tag: import("../user-modules/tag.js").TagConstructor;
388
+ readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
381
389
  readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
382
390
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
383
391
  __io?: import("../io.js").Io | 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,KA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AO,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"}
@@ -21,29 +21,26 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
21
21
  __wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
22
22
  __wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
23
23
  __wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
24
+ __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
24
25
  __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
25
26
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
26
27
  readonly Contact: import("../user-modules/contact.js").ContactConstructor;
28
+ /**
29
+ * reset the `wechaty.ready()` state
30
+ * if it was previous set to `active`
31
+ */
27
32
  readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
28
33
  readonly Delay: import("../user-modules/delay.js").DelayConstructor;
29
34
  readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
30
35
  readonly Image: import("../user-modules/image.js").ImageConstructor;
31
36
  readonly Location: import("../user-modules/location.js").LocationConstructor;
32
- readonly Message: import("../user-modules/message.js").MessageConstructor; /**
33
- * Huan(202111):
34
- *
35
- * We should throw the Timeout error when the puppet.start() can not be finished in time.
36
- * However, we need to compatible with some buggy puppet implementations which will not resolve the promise.
37
- *
38
- * TODO: throw the Timeout error when the puppet.start() can not be finished in time.
39
- *
40
- * e.g. after resolve @issue https://github.com/padlocal/wechaty-puppet-padlocal/issues/116
41
- */
37
+ readonly Message: import("../user-modules/message.js").MessageConstructor;
42
38
  readonly MiniProgram: import("../user-modules/mini-program.js").MiniProgramConstructor;
43
39
  readonly Post: import("../user-modules/post.js").PostConstructor;
44
40
  readonly Room: import("../user-modules/room.js").RoomConstructor;
45
41
  readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
46
42
  readonly Tag: import("../user-modules/tag.js").TagConstructor;
43
+ readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
47
44
  readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
48
45
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
49
46
  init(): Promise<void>;
@@ -155,29 +152,26 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
155
152
  __wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
156
153
  __wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
157
154
  __wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
155
+ __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
158
156
  __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
159
157
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
160
158
  readonly Contact: import("../user-modules/contact.js").ContactConstructor;
159
+ /**
160
+ * reset the `wechaty.ready()` state
161
+ * if it was previous set to `active`
162
+ */
161
163
  readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
162
164
  readonly Delay: import("../user-modules/delay.js").DelayConstructor;
163
165
  readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
164
166
  readonly Image: import("../user-modules/image.js").ImageConstructor;
165
167
  readonly Location: import("../user-modules/location.js").LocationConstructor;
166
- readonly Message: import("../user-modules/message.js").MessageConstructor; /**
167
- * Huan(202111):
168
- *
169
- * We should throw the Timeout error when the puppet.start() can not be finished in time.
170
- * However, we need to compatible with some buggy puppet implementations which will not resolve the promise.
171
- *
172
- * TODO: throw the Timeout error when the puppet.start() can not be finished in time.
173
- *
174
- * e.g. after resolve @issue https://github.com/padlocal/wechaty-puppet-padlocal/issues/116
175
- */
168
+ readonly Message: import("../user-modules/message.js").MessageConstructor;
176
169
  readonly MiniProgram: import("../user-modules/mini-program.js").MiniProgramConstructor;
177
170
  readonly Post: import("../user-modules/post.js").PostConstructor;
178
171
  readonly Room: import("../user-modules/room.js").RoomConstructor;
179
172
  readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
180
173
  readonly Tag: import("../user-modules/tag.js").TagConstructor;
174
+ readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
181
175
  readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
182
176
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
183
177
  readonly log: import("brolog/dist/esm/src/logger.js").Loggable;