@juzi/wechaty 1.0.118 → 1.0.121

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 (94) hide show
  1. package/dist/cjs/src/mods/impls.d.ts +3 -3
  2. package/dist/cjs/src/mods/impls.d.ts.map +1 -1
  3. package/dist/cjs/src/mods/impls.js +2 -1
  4. package/dist/cjs/src/mods/impls.js.map +1 -1
  5. package/dist/cjs/src/mods/users.d.ts +1 -1
  6. package/dist/cjs/src/mods/users.d.ts.map +1 -1
  7. package/dist/cjs/src/package-json.js +3 -3
  8. package/dist/cjs/src/sayable/deliver-sayable.d.ts.map +1 -1
  9. package/dist/cjs/src/sayable/deliver-sayable.js +6 -0
  10. package/dist/cjs/src/sayable/deliver-sayable.js.map +1 -1
  11. package/dist/cjs/src/sayable/types.d.ts +2 -2
  12. package/dist/cjs/src/sayable/types.d.ts.map +1 -1
  13. package/dist/cjs/src/sayable/types.js.map +1 -1
  14. package/dist/cjs/src/user-modules/consult-card.d.ts +8 -7
  15. package/dist/cjs/src/user-modules/consult-card.d.ts.map +1 -1
  16. package/dist/cjs/src/user-modules/consult-card.js.map +1 -1
  17. package/dist/cjs/src/user-modules/douyin-one-click-phone-collection.d.ts +32 -0
  18. package/dist/cjs/src/user-modules/douyin-one-click-phone-collection.d.ts.map +1 -0
  19. package/dist/cjs/src/user-modules/douyin-one-click-phone-collection.js +32 -0
  20. package/dist/cjs/src/user-modules/douyin-one-click-phone-collection.js.map +1 -0
  21. package/dist/cjs/src/user-modules/mod.d.ts +4 -3
  22. package/dist/cjs/src/user-modules/mod.d.ts.map +1 -1
  23. package/dist/cjs/src/user-modules/mod.js +3 -1
  24. package/dist/cjs/src/user-modules/mod.js.map +1 -1
  25. package/dist/cjs/src/user-modules/premium-online-appointment-card.d.ts +2 -2
  26. package/dist/cjs/src/wechaty/wechaty-base.d.ts +125 -0
  27. package/dist/cjs/src/wechaty/wechaty-base.d.ts.map +1 -1
  28. package/dist/cjs/src/wechaty/wechaty-impl.spec.js +3 -1
  29. package/dist/cjs/src/wechaty/wechaty-impl.spec.js.map +1 -1
  30. package/dist/cjs/src/wechaty-mixins/login-mixin.d.ts +9 -9
  31. package/dist/cjs/src/wechaty-mixins/login-mixin.d.ts.map +1 -1
  32. package/dist/cjs/src/wechaty-mixins/misc-mixin.d.ts +6 -0
  33. package/dist/cjs/src/wechaty-mixins/misc-mixin.d.ts.map +1 -1
  34. package/dist/cjs/src/wechaty-mixins/plugin-mixin.d.ts +8 -0
  35. package/dist/cjs/src/wechaty-mixins/plugin-mixin.d.ts.map +1 -1
  36. package/dist/cjs/src/wechaty-mixins/puppet-mixin.d.ts +4 -0
  37. package/dist/cjs/src/wechaty-mixins/puppet-mixin.d.ts.map +1 -1
  38. package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.d.ts +3 -1
  39. package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.d.ts.map +1 -1
  40. package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.js +3 -0
  41. package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.js.map +1 -1
  42. package/dist/esm/src/mods/impls.d.ts +3 -3
  43. package/dist/esm/src/mods/impls.d.ts.map +1 -1
  44. package/dist/esm/src/mods/impls.js +1 -1
  45. package/dist/esm/src/mods/impls.js.map +1 -1
  46. package/dist/esm/src/mods/users.d.ts +1 -1
  47. package/dist/esm/src/mods/users.d.ts.map +1 -1
  48. package/dist/esm/src/package-json.js +3 -3
  49. package/dist/esm/src/sayable/deliver-sayable.d.ts.map +1 -1
  50. package/dist/esm/src/sayable/deliver-sayable.js +7 -1
  51. package/dist/esm/src/sayable/deliver-sayable.js.map +1 -1
  52. package/dist/esm/src/sayable/types.d.ts +2 -2
  53. package/dist/esm/src/sayable/types.d.ts.map +1 -1
  54. package/dist/esm/src/sayable/types.js.map +1 -1
  55. package/dist/esm/src/user-modules/consult-card.d.ts +8 -7
  56. package/dist/esm/src/user-modules/consult-card.d.ts.map +1 -1
  57. package/dist/esm/src/user-modules/consult-card.js.map +1 -1
  58. package/dist/esm/src/user-modules/douyin-one-click-phone-collection.d.ts +32 -0
  59. package/dist/esm/src/user-modules/douyin-one-click-phone-collection.d.ts.map +1 -0
  60. package/dist/esm/src/user-modules/douyin-one-click-phone-collection.js +29 -0
  61. package/dist/esm/src/user-modules/douyin-one-click-phone-collection.js.map +1 -0
  62. package/dist/esm/src/user-modules/mod.d.ts +4 -3
  63. package/dist/esm/src/user-modules/mod.d.ts.map +1 -1
  64. package/dist/esm/src/user-modules/mod.js +2 -1
  65. package/dist/esm/src/user-modules/mod.js.map +1 -1
  66. package/dist/esm/src/user-modules/premium-online-appointment-card.d.ts +2 -2
  67. package/dist/esm/src/wechaty/wechaty-base.d.ts +125 -0
  68. package/dist/esm/src/wechaty/wechaty-base.d.ts.map +1 -1
  69. package/dist/esm/src/wechaty/wechaty-impl.spec.js +3 -1
  70. package/dist/esm/src/wechaty/wechaty-impl.spec.js.map +1 -1
  71. package/dist/esm/src/wechaty-mixins/login-mixin.d.ts +9 -9
  72. package/dist/esm/src/wechaty-mixins/login-mixin.d.ts.map +1 -1
  73. package/dist/esm/src/wechaty-mixins/misc-mixin.d.ts +6 -0
  74. package/dist/esm/src/wechaty-mixins/misc-mixin.d.ts.map +1 -1
  75. package/dist/esm/src/wechaty-mixins/plugin-mixin.d.ts +8 -0
  76. package/dist/esm/src/wechaty-mixins/plugin-mixin.d.ts.map +1 -1
  77. package/dist/esm/src/wechaty-mixins/puppet-mixin.d.ts +4 -0
  78. package/dist/esm/src/wechaty-mixins/puppet-mixin.d.ts.map +1 -1
  79. package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.d.ts +3 -1
  80. package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.d.ts.map +1 -1
  81. package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.js +4 -1
  82. package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.js.map +1 -1
  83. package/package.json +2 -2
  84. package/src/mods/impls.ts +3 -0
  85. package/src/mods/users.ts +24 -23
  86. package/src/package-json.ts +3 -3
  87. package/src/sayable/deliver-sayable.ts +12 -0
  88. package/src/sayable/types.ts +2 -0
  89. package/src/user-modules/consult-card.ts +8 -7
  90. package/src/user-modules/douyin-one-click-phone-collection.ts +51 -0
  91. package/src/user-modules/mod.ts +8 -0
  92. package/src/user-modules/premium-online-appointment-card.ts +2 -2
  93. package/src/wechaty/wechaty-impl.spec.ts +25 -22
  94. package/src/wechaty-mixins/wechatify-user-module-mixin.ts +50 -46
@@ -1 +1 @@
1
- {"version":3,"file":"wechatify-user-module-mixin.js","sourceRoot":"","sources":["../../../../src/wechaty-mixins/wechatify-user-module-mixin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAe,sBAAsB,CAAA;AAEnD,OAAO,EACL,WAAW,EACX,eAAe,EACf,SAAS,EACT,cAAc,EACd,SAAS,EACT,YAAY,EACZ,WAAW,EACX,eAAe,EACf,QAAQ,EACR,QAAQ,EACR,kBAAkB,EAClB,OAAO,EACP,YAAY,EACZ,WAAW,EACX,WAAW,EACX,eAAe,EACf,eAAe,EACf,gCAAgC,EAChC,UAAU,EACV,cAAc,EACd,eAAe,EACf,SAAS,EAyBT,mBAAmB,GACpB,MAA4B,wBAAwB,CAAA;AAMrD,MAAM,wBAAwB,GAAG,CAA4C,SAAoB,EAAE,EAAE;IACnG,GAAG,CAAC,OAAO,CAAC,0BAA0B,EAAE,8BAA8B,EAAE,SAAS,CAAC,IAAI,CAAC,CAAA;IAEvF,MAAe,wBAAyB,SAAQ,SAAS;QAEvD,YAAa,GAAG,IAAW;YACzB,GAAG,CAAC,OAAO,CAAC,0BAA0B,EAAE,eAAe,CAAC,CAAA;YACxD,KAAK,CAAC,GAAG,IAAI,CAAC,CAAA;QAChB,CAAC;QAED,oBAAoB,CAA2C;QAC/D,wBAAwB,CAA2C;QACnE,kBAAkB,CAA2C;QAC7D,uBAAuB,CA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AAC,CAAC,IAAW,CAAC,CAAA;YAC9F,IAAI,CAAC,wBAAwB,GAAoB,mBAAmB,CAAC,eAAe,CAAC,CAAC,IAAW,CAAC,CAAA;YAClG,IAAI,CAAC,wBAAwB,GAAoB,mBAAmB,CAAC,eAAe,CAAC,CAAC,IAAW,CAAC,CAAA;YAClG,IAAI,CAAC,yCAAyC,GAAG,mBAAmB,CAAC,gCAAgC,CAAC,CAAC,IAAW,CAAC,CAAA;YACnH,IAAI,CAAC,mBAAmB,GAAyB,mBAAmB,CAAC,UAAU,CAAC,CAAC,IAAW,CAAC,CAAA;YAC7F,IAAI,CAAC,uBAAuB,GAAqB,mBAAmB,CAAC,cAAc,CAAC,CAAC,IAAW,CAAC,CAAA;YACjG,IAAI,CAAC,wBAAwB,GAAoB,mBAAmB,CAAC,eAAe,CAAC,CAAC,IAAW,CAAC,CAAA;YAClG,IAAI,CAAC,kBAAkB,GAA0B,mBAAmB,CAAC,SAAS,CAAC,CAAC,IAAW,CAAC,CAAA;YAC5F,IAAI,CAAC,0CAA0C,GAAG,mBAAmB,CAAC,iCAAiC,CAAC,CAAC,IAAW,CAAC,CAAA;YAErH,GAAG,CAAC,OAAO,CAAC,0BAA0B,EAAE,wDAAwD,CAAC,CAAA;QACnG,CAAC;KAEF;IAED,OAAO,wBAAwB,CAAA;AACjC,CAAC,CAAA;AAED;;GAEG;AACH,SAAS,cAAc,CAAsB,UAAc;IACzD,IAAI,UAAU,EAAE;QACd,OAAO,UAAU,CAAA;KAClB;IACD,MAAM,IAAI,KAAK,CAAC,8FAA8F,CAAC,CAAA;AACjH,CAAC;AA+BD,OAAO,EACL,wBAAwB,GACzB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juzi/wechaty",
3
- "version": "1.0.118",
3
+ "version": "1.0.121",
4
4
  "description": "Wechaty is a RPA SDK for Chatbot Makers.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -132,7 +132,7 @@
132
132
  "@chatie/eslint-config": "^1.0.4",
133
133
  "@chatie/semver": "^0.4.7",
134
134
  "@chatie/tsconfig": "^4.6.3",
135
- "@juzi/wechaty-puppet": "^1.0.112",
135
+ "@juzi/wechaty-puppet": "^1.0.116",
136
136
  "@juzi/wechaty-puppet-mock": "^1.0.1",
137
137
  "@swc/core": "1.3.44",
138
138
  "@swc/helpers": "^0.3.6",
package/src/mods/impls.ts CHANGED
@@ -54,6 +54,7 @@ export {
54
54
  ChannelCardImpl,
55
55
  ConsultCardImpl,
56
56
  PremiumOnlineAppointmentCardImpl,
57
+ DouyinOneClickPhoneCollectionImpl,
57
58
  } from '../user-modules/mod.js'
58
59
 
59
60
  // export {
@@ -99,6 +100,7 @@ export type {
99
100
  ChannelCardInterface,
100
101
  ConsultCardInterface,
101
102
  PremiumOnlineAppointmentCardInterface,
103
+ DouyinOneClickPhoneCollectionInterface,
102
104
  } from '../user-modules/mod.js'
103
105
 
104
106
  export type {
@@ -124,6 +126,7 @@ export type {
124
126
  ChannelCardConstructor,
125
127
  ConsultCardConstructor,
126
128
  PremiumOnlineAppointmentCardConstructor,
129
+ DouyinOneClickPhoneCollectionConstructor,
127
130
  } from '../user-modules/mod.js'
128
131
 
129
132
  export {
package/src/mods/users.ts CHANGED
@@ -25,27 +25,28 @@
25
25
  */
26
26
 
27
27
  export type {
28
- ContactInterface as Contact,
29
- ContactSelfInterface as ContactSelf,
30
- DelayInterface as Delay,
31
- FavoriteInterface as Favorite,
32
- FriendshipInterface as Friendship,
33
- ImageInterface as Image,
34
- LocationInterface as Location,
35
- MessageInterface as Message,
36
- MiniProgramInterface as MiniProgram,
37
- MomentInterface as Moment,
38
- MoneyInterface as Money,
39
- PostInterface as Post,
40
- RoomInterface as Room,
41
- RoomInvitationInterface as RoomInvitation,
42
- TagInterface as Tag,
43
- TagGroupInterface as TagGroup,
44
- UrlLinkInterface as UrlLink,
45
- ChannelInterface as Channel,
46
- CallRecordInterface as CallRecord,
47
- WecomInterface as Wecom,
48
- ChannelCardInterface as ChannelCard,
49
- ConsultCardInterface as ConsultCard,
50
- PremiumOnlineAppointmentCardInterface as PremiumOnlineAppointmentCard,
28
+ ContactInterface as Contact,
29
+ ContactSelfInterface as ContactSelf,
30
+ DelayInterface as Delay,
31
+ FavoriteInterface as Favorite,
32
+ FriendshipInterface as Friendship,
33
+ ImageInterface as Image,
34
+ LocationInterface as Location,
35
+ MessageInterface as Message,
36
+ MiniProgramInterface as MiniProgram,
37
+ MomentInterface as Moment,
38
+ MoneyInterface as Money,
39
+ PostInterface as Post,
40
+ RoomInterface as Room,
41
+ RoomInvitationInterface as RoomInvitation,
42
+ TagInterface as Tag,
43
+ TagGroupInterface as TagGroup,
44
+ UrlLinkInterface as UrlLink,
45
+ ChannelInterface as Channel,
46
+ CallRecordInterface as CallRecord,
47
+ WecomInterface as Wecom,
48
+ ChannelCardInterface as ChannelCard,
49
+ ConsultCardInterface as ConsultCard,
50
+ PremiumOnlineAppointmentCardInterface as PremiumOnlineAppointmentCard,
51
+ DouyinOneClickPhoneCollectionInterface as DouyinOneClickPhoneCollection,
51
52
  } from '../user-modules/mod.js'
@@ -4,10 +4,10 @@
4
4
  */
5
5
  import type { PackageJsonWechaty } from './config'
6
6
 
7
- export const GIT_COMMIT_HASH: string = 'af553e1d425dd3ffe2801df98e2165c71e4bc8a3'
7
+ export const GIT_COMMIT_HASH: string = '0c77d177c3f957cbbde90cc35190f506dfea184f'
8
8
  export const packageJson: PackageJsonWechaty = {
9
9
  "name": "@juzi/wechaty",
10
- "version": "1.0.118",
10
+ "version": "1.0.121",
11
11
  "description": "Wechaty is a RPA SDK for Chatbot Makers.",
12
12
  "type": "module",
13
13
  "exports": {
@@ -139,7 +139,7 @@ export const packageJson: PackageJsonWechaty = {
139
139
  "@chatie/eslint-config": "^1.0.4",
140
140
  "@chatie/semver": "^0.4.7",
141
141
  "@chatie/tsconfig": "^4.6.3",
142
- "@juzi/wechaty-puppet": "^1.0.112",
142
+ "@juzi/wechaty-puppet": "^1.0.116",
143
143
  "@juzi/wechaty-puppet-mock": "^1.0.1",
144
144
  "@swc/core": "1.3.44",
145
145
  "@swc/helpers": "^0.3.6",
@@ -12,6 +12,8 @@ import {
12
12
  ChannelImpl,
13
13
  ChannelCardImpl,
14
14
  PremiumOnlineAppointmentCardImpl,
15
+ ConsultCardImpl,
16
+ DouyinOneClickPhoneCollectionImpl,
15
17
  } from '../user-modules/mod.js'
16
18
 
17
19
  import type { Sayable, SayOptionsObject } from './types.js'
@@ -112,6 +114,11 @@ const deliverSayableConversationPuppet = (puppet: PUPPET.impls.PuppetInterface)
112
114
  conversationId,
113
115
  sayable.payload,
114
116
  )
117
+ } else if (ConsultCardImpl.validInstance(sayable)) {
118
+ msgId = await puppet.messageSendConsultCard(
119
+ conversationId,
120
+ sayable.payload,
121
+ )
115
122
  } else if (PremiumOnlineAppointmentCardImpl.validInstance(sayable)) {
116
123
  msgId = await puppet.messageSendPremiumOnlineAppointmentCard(
117
124
  conversationId,
@@ -121,6 +128,11 @@ const deliverSayableConversationPuppet = (puppet: PUPPET.impls.PuppetInterface)
121
128
  componentId: sayable.componentId(),
122
129
  },
123
130
  )
131
+ } else if (DouyinOneClickPhoneCollectionImpl.validInstance(sayable)) {
132
+ msgId = await puppet.messageSendDouyinOneClickPhoneCollection(
133
+ conversationId,
134
+ {},
135
+ )
124
136
  } else {
125
137
  throw new Error('unsupported arg: ' + sayable)
126
138
  }
@@ -35,6 +35,7 @@ import {
35
35
  ChannelCardInterface,
36
36
  ConsultCardInterface,
37
37
  PremiumOnlineAppointmentCardInterface,
38
+ DouyinOneClickPhoneCollectionInterface,
38
39
  } from '../user-modules/mod.js'
39
40
 
40
41
  import type {
@@ -56,6 +57,7 @@ type Sayable =
56
57
  | ChannelCardInterface
57
58
  | ConsultCardInterface
58
59
  | PremiumOnlineAppointmentCardInterface
60
+ | DouyinOneClickPhoneCollectionInterface
59
61
 
60
62
  interface SayableSayer {
61
63
  id : string,
@@ -9,6 +9,7 @@ import { validationMixin } from '../user-mixins/validation.js'
9
9
  import {
10
10
  wechatifyMixinBase,
11
11
  } from '../user-mixins/wechatify.js'
12
+ import type { ConsultCardStatus, ConsultCardType } from '@juzi/wechaty-puppet/types'
12
13
 
13
14
  class ConsultCardMixin extends wechatifyMixinBase() {
14
15
 
@@ -21,8 +22,8 @@ class ConsultCardMixin extends wechatifyMixinBase() {
21
22
 
22
23
  static async findAll (query: {
23
24
  cardType: number,
24
- status?: number,
25
- ids?: number[],
25
+ status?: ConsultCardStatus,
26
+ ids?: string[],
26
27
  page?: number,
27
28
  pageSize?: number
28
29
  }): Promise<ConsultCardInterface[]> {
@@ -51,7 +52,7 @@ class ConsultCardMixin extends wechatifyMixinBase() {
51
52
 
52
53
  static async find (query: {
53
54
  cardType: number,
54
- id: number
55
+ id: string
55
56
  }): Promise<ConsultCardInterface | undefined> {
56
57
  log.verbose('ConsultCard', 'find(%s)', JSON.stringify(query))
57
58
 
@@ -65,11 +66,11 @@ class ConsultCardMixin extends wechatifyMixinBase() {
65
66
  return consultCardList.length > 0 ? consultCardList[0] : undefined
66
67
  }
67
68
 
68
- id (): number | undefined {
69
+ id (): string | undefined {
69
70
  return this.payload.id
70
71
  }
71
72
 
72
- cardType (): number | undefined {
73
+ cardType (): ConsultCardType | undefined {
73
74
  return this.payload.cardType
74
75
  }
75
76
 
@@ -81,11 +82,11 @@ class ConsultCardMixin extends wechatifyMixinBase() {
81
82
  return this.payload.content
82
83
  }
83
84
 
84
- status (): number | undefined {
85
+ status (): ConsultCardStatus | undefined {
85
86
  return this.payload.status
86
87
  }
87
88
 
88
- statusMsg (): number | undefined {
89
+ statusMsg (): string | undefined {
89
90
  return this.payload.statusMsg
90
91
  }
91
92
 
@@ -0,0 +1,51 @@
1
+ import type { Constructor } from 'clone-class'
2
+ import { log } from '../config.js'
3
+
4
+ import { validationMixin } from '../user-mixins/validation.js'
5
+
6
+ import {
7
+ wechatifyMixinBase,
8
+ } from '../user-mixins/wechatify.js'
9
+
10
+ class DouyinOneClickPhoneCollectionMixin extends wechatifyMixinBase() {
11
+
12
+ /**
13
+ *
14
+ * Create
15
+ *
16
+ */
17
+ static async create (): Promise<DouyinOneClickPhoneCollectionInterface> {
18
+ log.verbose('DouyinOneClickPhoneCollection', 'create()')
19
+
20
+ return new this({})
21
+ }
22
+
23
+ /*
24
+ * @hideconstructor
25
+ */
26
+ constructor (
27
+ public readonly payload: {},
28
+ ) {
29
+ super()
30
+ log.verbose('DouyinOneClickPhoneCollection', 'constructor()')
31
+ // Huan(202110): it is ok to create a raw one without wechaty instance
32
+ // guardWechatifyClass.call(this, DouyinOneClickPhoneCollection)
33
+ }
34
+
35
+ }
36
+
37
+ class DouyinOneClickPhoneCollectionImpl extends validationMixin(DouyinOneClickPhoneCollectionMixin)<DouyinOneClickPhoneCollectionInterface>() {}
38
+ interface DouyinOneClickPhoneCollectionInterface extends DouyinOneClickPhoneCollectionImpl {}
39
+
40
+ type DouyinOneClickPhoneCollectionConstructor = Constructor<
41
+ DouyinOneClickPhoneCollectionInterface,
42
+ typeof DouyinOneClickPhoneCollectionImpl
43
+ >
44
+
45
+ export type {
46
+ DouyinOneClickPhoneCollectionConstructor,
47
+ DouyinOneClickPhoneCollectionInterface,
48
+ }
49
+ export {
50
+ DouyinOneClickPhoneCollectionImpl,
51
+ }
@@ -137,6 +137,11 @@ import {
137
137
  WecomInterface,
138
138
  WecomConstructor,
139
139
  } from './wecom.js'
140
+ import {
141
+ DouyinOneClickPhoneCollectionImpl,
142
+ DouyinOneClickPhoneCollectionInterface,
143
+ DouyinOneClickPhoneCollectionConstructor,
144
+ } from './douyin-one-click-phone-collection.js'
140
145
 
141
146
  import { wechatifyUserModule } from '../user-mixins/wechatify.js'
142
147
 
@@ -165,6 +170,7 @@ export type {
165
170
  CallRecordInterface,
166
171
  ChatHistoryInterface,
167
172
  WecomInterface,
173
+ DouyinOneClickPhoneCollectionInterface,
168
174
  }
169
175
 
170
176
  export type {
@@ -192,6 +198,7 @@ export type {
192
198
  CallRecordConstructor,
193
199
  ChatHistoryConstructor,
194
200
  WecomConstructor,
201
+ DouyinOneClickPhoneCollectionConstructor,
195
202
  }
196
203
 
197
204
  export {
@@ -221,4 +228,5 @@ export {
221
228
  CallRecordImpl,
222
229
  ChatHistoryImpl,
223
230
  WecomImpl,
231
+ DouyinOneClickPhoneCollectionImpl,
224
232
  }
@@ -47,7 +47,7 @@ class PremiumOnlineAppointmentCardMixin extends wechatifyMixinBase() {
47
47
  }
48
48
 
49
49
  static async find (query: {
50
- componentId: number
50
+ componentId: string
51
51
  }): Promise<PremiumOnlineAppointmentCardInterface | undefined> {
52
52
  log.verbose('PremiumOnlineAppointmentCard', 'find(%s)', JSON.stringify(query))
53
53
 
@@ -61,7 +61,7 @@ class PremiumOnlineAppointmentCardMixin extends wechatifyMixinBase() {
61
61
  return cardList.find(card => card.componentId() === query.componentId)
62
62
  }
63
63
 
64
- componentId (): number {
64
+ componentId (): string {
65
65
  return this.payload.componentId
66
66
  }
67
67
 
@@ -28,6 +28,7 @@ import type {
28
28
  CallRecordConstructor,
29
29
  ChatHistoryConstructor,
30
30
  WecomConstructor,
31
+ DouyinOneClickPhoneCollectionConstructor,
31
32
  } from '../user-modules/mod.js'
32
33
 
33
34
  import {
@@ -41,28 +42,29 @@ import {
41
42
  test('Wechaty interface', async t => {
42
43
  abstract class WechatyImplementation extends WechatyEventEmitter implements WechatyInterface {
43
44
 
44
- Contact : ContactConstructor
45
- ContactSelf : ContactSelfConstructor
46
- Delay : DelayConstructor
47
- Friendship : FriendshipConstructor
48
- Image : ImageConstructor
49
- Location : LocationConstructor
50
- Message : MessageConstructor
51
- MiniProgram : MiniProgramConstructor
52
- Post : PostConstructor
53
- Room : RoomConstructor
54
- RoomInvitation : RoomInvitationConstructor
55
- Tag : TagConstructor
56
- TagGroup : TagGroupConstructor
57
- UrlLink : UrlLinkConstructor
58
- Channel : ChannelConstructor
59
- ChannelCard : ChannelCardConstructor
60
- ConsultCard : ConsultCardConstructor
61
- PremiumOnlineAppointmentCard : PremiumOnlineAppointmentCardConstructor
62
- Moment : MomentConstructor
63
- CallRecord : CallRecordConstructor
64
- ChatHistory : ChatHistoryConstructor
65
- Wecom : WecomConstructor
45
+ Contact : ContactConstructor
46
+ ContactSelf : ContactSelfConstructor
47
+ Delay : DelayConstructor
48
+ Friendship : FriendshipConstructor
49
+ Image : ImageConstructor
50
+ Location : LocationConstructor
51
+ Message : MessageConstructor
52
+ MiniProgram : MiniProgramConstructor
53
+ Post : PostConstructor
54
+ Room : RoomConstructor
55
+ RoomInvitation : RoomInvitationConstructor
56
+ Tag : TagConstructor
57
+ TagGroup : TagGroupConstructor
58
+ UrlLink : UrlLinkConstructor
59
+ Channel : ChannelConstructor
60
+ ChannelCard : ChannelCardConstructor
61
+ ConsultCard : ConsultCardConstructor
62
+ PremiumOnlineAppointmentCard : PremiumOnlineAppointmentCardConstructor
63
+ Moment : MomentConstructor
64
+ CallRecord : CallRecordConstructor
65
+ ChatHistory : ChatHistoryConstructor
66
+ Wecom : WecomConstructor
67
+ DouyinOneClickPhoneCollection : DouyinOneClickPhoneCollectionConstructor
66
68
 
67
69
  constructor () {
68
70
  super()
@@ -89,6 +91,7 @@ test('Wechaty interface', async t => {
89
91
  = this.CallRecord
90
92
  = this.ChatHistory
91
93
  = this.Wecom
94
+ = this.DouyinOneClickPhoneCollection
92
95
  = {} as any
93
96
  }
94
97
 
@@ -23,6 +23,7 @@ import {
23
23
  CallRecordImpl,
24
24
  ChatHistoryImpl,
25
25
  WecomImpl,
26
+ DouyinOneClickPhoneCollectionImpl,
26
27
 
27
28
  ContactConstructor,
28
29
  ContactSelfConstructor,
@@ -46,7 +47,7 @@ import {
46
47
  CallRecordConstructor,
47
48
  ChatHistoryConstructor,
48
49
  WecomConstructor,
49
-
50
+ DouyinOneClickPhoneCollectionConstructor,
50
51
  wechatifyUserModule,
51
52
  } from '../user-modules/mod.js'
52
53
 
@@ -64,51 +65,53 @@ const wechatifyUserModuleMixin = <MixinBase extends typeof WechatySkeleton> (mix
64
65
  super(...args)
65
66
  }
66
67
 
67
- __wechatifiedContact? : ContactConstructor
68
- __wechatifiedContactSelf? : ContactSelfConstructor
69
- __wechatifiedDelay? : DelayConstructor
70
- __wechatifiedFriendship? : FriendshipConstructor
71
- __wechatifiedImage? : ImageConstructor
72
- __wechatifiedLocation? : LocationConstructor
73
- __wechatifiedMessage? : MessageConstructor
74
- __wechatifiedMiniProgram? : MiniProgramConstructor
75
- __wechatifiedPost? : PostConstructor
76
- __wechatifiedRoom? : RoomConstructor
77
- __wechatifiedRoomInvitation? : RoomInvitationConstructor
78
- __wechatifiedTag? : TagConstructor
79
- __wechatifiedTagGroup? : TagGroupConstructor
80
- __wechatifiedUrlLink? : UrlLinkConstructor
81
- __wechatifiedChannel? : ChannelConstructor
82
- __wechatifiedChannelCard? : ChannelCardConstructor
83
- __wechatifiedConsultCard? : ConsultCardConstructor
84
- __wechatifiedPremiumOnlineAppointmentCard? : PremiumOnlineAppointmentCardConstructor
85
- __wechatifiedMoment? : MomentConstructor
86
- __wechatifiedCallRecord? : CallRecordConstructor
87
- __wechatifiedChatHistory? : ChatHistoryConstructor
88
- __wechatifiedWecom? : WecomConstructor
89
-
90
- get Contact () : ContactConstructor { return guardWechatify(this.__wechatifiedContact) }
91
- get ContactSelf () : ContactSelfConstructor { return guardWechatify(this.__wechatifiedContactSelf) }
92
- get Delay () : DelayConstructor { return guardWechatify(this.__wechatifiedDelay) }
93
- get Friendship () : FriendshipConstructor { return guardWechatify(this.__wechatifiedFriendship) }
94
- get Image () : ImageConstructor { return guardWechatify(this.__wechatifiedImage) }
95
- get Location () : LocationConstructor { return guardWechatify(this.__wechatifiedLocation) }
96
- get Message () : MessageConstructor { return guardWechatify(this.__wechatifiedMessage) }
97
- get MiniProgram () : MiniProgramConstructor { return guardWechatify(this.__wechatifiedMiniProgram) }
98
- get Post () : PostConstructor { return guardWechatify(this.__wechatifiedPost) }
99
- get Room () : RoomConstructor { return guardWechatify(this.__wechatifiedRoom) }
100
- get RoomInvitation () : RoomInvitationConstructor { return guardWechatify(this.__wechatifiedRoomInvitation) }
101
- get Tag () : TagConstructor { return guardWechatify(this.__wechatifiedTag) }
102
- get TagGroup () : TagGroupConstructor { return guardWechatify(this.__wechatifiedTagGroup) }
103
- get UrlLink () : UrlLinkConstructor { return guardWechatify(this.__wechatifiedUrlLink) }
104
- get Channel () : ChannelConstructor { return guardWechatify(this.__wechatifiedChannel) }
105
- get ChannelCard () : ChannelCardConstructor { return guardWechatify(this.__wechatifiedChannelCard) }
106
- get ConsultCard () : ConsultCardConstructor { return guardWechatify(this.__wechatifiedConsultCard) }
107
- get PremiumOnlineAppointmentCard () : PremiumOnlineAppointmentCardConstructor { return guardWechatify(this.__wechatifiedPremiumOnlineAppointmentCard) }
108
- get Moment () : MomentConstructor { return guardWechatify(this.__wechatifiedMoment) }
109
- get CallRecord () : CallRecordConstructor { return guardWechatify(this.__wechatifiedCallRecord) }
110
- get ChatHistory () : ChatHistoryConstructor { return guardWechatify(this.__wechatifiedChatHistory) }
111
- get Wecom () : WecomConstructor { return guardWechatify(this.__wechatifiedWecom) }
68
+ __wechatifiedContact? : ContactConstructor
69
+ __wechatifiedContactSelf? : ContactSelfConstructor
70
+ __wechatifiedDelay? : DelayConstructor
71
+ __wechatifiedFriendship? : FriendshipConstructor
72
+ __wechatifiedImage? : ImageConstructor
73
+ __wechatifiedLocation? : LocationConstructor
74
+ __wechatifiedMessage? : MessageConstructor
75
+ __wechatifiedMiniProgram? : MiniProgramConstructor
76
+ __wechatifiedPost? : PostConstructor
77
+ __wechatifiedRoom? : RoomConstructor
78
+ __wechatifiedRoomInvitation? : RoomInvitationConstructor
79
+ __wechatifiedTag? : TagConstructor
80
+ __wechatifiedTagGroup? : TagGroupConstructor
81
+ __wechatifiedUrlLink? : UrlLinkConstructor
82
+ __wechatifiedChannel? : ChannelConstructor
83
+ __wechatifiedChannelCard? : ChannelCardConstructor
84
+ __wechatifiedConsultCard? : ConsultCardConstructor
85
+ __wechatifiedPremiumOnlineAppointmentCard? : PremiumOnlineAppointmentCardConstructor
86
+ __wechatifiedMoment? : MomentConstructor
87
+ __wechatifiedCallRecord? : CallRecordConstructor
88
+ __wechatifiedChatHistory? : ChatHistoryConstructor
89
+ __wechatifiedWecom? : WecomConstructor
90
+ __wechatifiedDouyinOneClickPhoneCollection? : DouyinOneClickPhoneCollectionConstructor
91
+
92
+ get Contact () : ContactConstructor { return guardWechatify(this.__wechatifiedContact) }
93
+ get ContactSelf () : ContactSelfConstructor { return guardWechatify(this.__wechatifiedContactSelf) }
94
+ get Delay () : DelayConstructor { return guardWechatify(this.__wechatifiedDelay) }
95
+ get Friendship () : FriendshipConstructor { return guardWechatify(this.__wechatifiedFriendship) }
96
+ get Image () : ImageConstructor { return guardWechatify(this.__wechatifiedImage) }
97
+ get Location () : LocationConstructor { return guardWechatify(this.__wechatifiedLocation) }
98
+ get Message () : MessageConstructor { return guardWechatify(this.__wechatifiedMessage) }
99
+ get MiniProgram () : MiniProgramConstructor { return guardWechatify(this.__wechatifiedMiniProgram) }
100
+ get Post () : PostConstructor { return guardWechatify(this.__wechatifiedPost) }
101
+ get Room () : RoomConstructor { return guardWechatify(this.__wechatifiedRoom) }
102
+ get RoomInvitation () : RoomInvitationConstructor { return guardWechatify(this.__wechatifiedRoomInvitation) }
103
+ get Tag () : TagConstructor { return guardWechatify(this.__wechatifiedTag) }
104
+ get TagGroup () : TagGroupConstructor { return guardWechatify(this.__wechatifiedTagGroup) }
105
+ get UrlLink () : UrlLinkConstructor { return guardWechatify(this.__wechatifiedUrlLink) }
106
+ get Channel () : ChannelConstructor { return guardWechatify(this.__wechatifiedChannel) }
107
+ get ChannelCard () : ChannelCardConstructor { return guardWechatify(this.__wechatifiedChannelCard) }
108
+ get ConsultCard () : ConsultCardConstructor { return guardWechatify(this.__wechatifiedConsultCard) }
109
+ get PremiumOnlineAppointmentCard () : PremiumOnlineAppointmentCardConstructor { return guardWechatify(this.__wechatifiedPremiumOnlineAppointmentCard) }
110
+ get Moment () : MomentConstructor { return guardWechatify(this.__wechatifiedMoment) }
111
+ get CallRecord () : CallRecordConstructor { return guardWechatify(this.__wechatifiedCallRecord) }
112
+ get ChatHistory () : ChatHistoryConstructor { return guardWechatify(this.__wechatifiedChatHistory) }
113
+ get Wecom () : WecomConstructor { return guardWechatify(this.__wechatifiedWecom) }
114
+ get DouyinOneClickPhoneCollection () : DouyinOneClickPhoneCollectionConstructor { return guardWechatify(this.__wechatifiedDouyinOneClickPhoneCollection) }
112
115
 
113
116
  override async init (): Promise<void> {
114
117
  log.verbose('WechatifyUserModuleMixin', 'init()')
@@ -152,6 +155,7 @@ const wechatifyUserModuleMixin = <MixinBase extends typeof WechatySkeleton> (mix
152
155
  this.__wechatifiedCallRecord = wechatifyUserModule(CallRecordImpl)(this as any)
153
156
  this.__wechatifiedChatHistory = wechatifyUserModule(ChatHistoryImpl)(this as any)
154
157
  this.__wechatifiedWecom = wechatifyUserModule(WecomImpl)(this as any)
158
+ this.__wechatifiedDouyinOneClickPhoneCollection = wechatifyUserModule(DouyinOneClickPhoneCollectionImpl)(this as any)
155
159
 
156
160
  log.verbose('WechatifyUserModuleMixin', 'init() initializing Wechaty User Module (WUM) ... done')
157
161
  }