@juzi/wechaty 1.0.120 → 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.
- 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/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/douyin-one-click-phone-collection.d.ts +32 -0
- package/dist/cjs/src/user-modules/douyin-one-click-phone-collection.d.ts.map +1 -0
- package/dist/cjs/src/user-modules/douyin-one-click-phone-collection.js +32 -0
- package/dist/cjs/src/user-modules/douyin-one-click-phone-collection.js.map +1 -0
- 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 +125 -0
- package/dist/cjs/src/wechaty/wechaty-base.d.ts.map +1 -1
- package/dist/cjs/src/wechaty/wechaty-impl.spec.js +3 -1
- package/dist/cjs/src/wechaty/wechaty-impl.spec.js.map +1 -1
- package/dist/cjs/src/wechaty-mixins/login-mixin.d.ts +9 -9
- 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 +4 -0
- 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 +3 -1
- 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/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/douyin-one-click-phone-collection.d.ts +32 -0
- package/dist/esm/src/user-modules/douyin-one-click-phone-collection.d.ts.map +1 -0
- package/dist/esm/src/user-modules/douyin-one-click-phone-collection.js +29 -0
- package/dist/esm/src/user-modules/douyin-one-click-phone-collection.js.map +1 -0
- 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 +125 -0
- package/dist/esm/src/wechaty/wechaty-base.d.ts.map +1 -1
- package/dist/esm/src/wechaty/wechaty-impl.spec.js +3 -1
- package/dist/esm/src/wechaty/wechaty-impl.spec.js.map +1 -1
- package/dist/esm/src/wechaty-mixins/login-mixin.d.ts +9 -9
- 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 +4 -0
- 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 +3 -1
- 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 +24 -23
- package/src/package-json.ts +3 -3
- package/src/sayable/deliver-sayable.ts +6 -0
- package/src/sayable/types.ts +2 -0
- package/src/user-modules/douyin-one-click-phone-collection.ts +51 -0
- package/src/user-modules/mod.ts +8 -0
- package/src/wechaty/wechaty-impl.spec.ts +25 -22
- package/src/wechaty-mixins/wechatify-user-module-mixin.ts +50 -46
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ContactConstructor, ContactSelfConstructor, DelayConstructor, FriendshipConstructor, ImageConstructor, LocationConstructor, MessageConstructor, MiniProgramConstructor, PostConstructor, RoomConstructor, RoomInvitationConstructor, TagConstructor, TagGroupConstructor, UrlLinkConstructor, ChannelConstructor, ChannelCardConstructor, ConsultCardConstructor, PremiumOnlineAppointmentCardConstructor, MomentConstructor, CallRecordConstructor, ChatHistoryConstructor, WecomConstructor } from '../user-modules/mod.js';
|
|
1
|
+
import { ContactConstructor, ContactSelfConstructor, DelayConstructor, FriendshipConstructor, ImageConstructor, LocationConstructor, MessageConstructor, MiniProgramConstructor, PostConstructor, RoomConstructor, RoomInvitationConstructor, TagConstructor, TagGroupConstructor, UrlLinkConstructor, ChannelConstructor, ChannelCardConstructor, ConsultCardConstructor, PremiumOnlineAppointmentCardConstructor, MomentConstructor, CallRecordConstructor, ChatHistoryConstructor, WecomConstructor, DouyinOneClickPhoneCollectionConstructor } from '../user-modules/mod.js';
|
|
2
2
|
import type { WechatySkeleton } from '../wechaty/mod.js';
|
|
3
3
|
declare const wechatifyUserModuleMixin: <MixinBase extends typeof WechatySkeleton>(mixinBase: MixinBase) => ((abstract new (...args: any[]) => {
|
|
4
4
|
__wechatifiedContact?: ContactConstructor | undefined;
|
|
@@ -23,6 +23,7 @@ declare const wechatifyUserModuleMixin: <MixinBase extends typeof WechatySkeleto
|
|
|
23
23
|
__wechatifiedCallRecord?: CallRecordConstructor | undefined;
|
|
24
24
|
__wechatifiedChatHistory?: ChatHistoryConstructor | undefined;
|
|
25
25
|
__wechatifiedWecom?: WecomConstructor | undefined;
|
|
26
|
+
__wechatifiedDouyinOneClickPhoneCollection?: DouyinOneClickPhoneCollectionConstructor | undefined;
|
|
26
27
|
readonly Contact: ContactConstructor;
|
|
27
28
|
readonly ContactSelf: ContactSelfConstructor;
|
|
28
29
|
readonly Delay: DelayConstructor;
|
|
@@ -45,6 +46,7 @@ declare const wechatifyUserModuleMixin: <MixinBase extends typeof WechatySkeleto
|
|
|
45
46
|
readonly CallRecord: CallRecordConstructor;
|
|
46
47
|
readonly ChatHistory: ChatHistoryConstructor;
|
|
47
48
|
readonly Wecom: WecomConstructor;
|
|
49
|
+
readonly DouyinOneClickPhoneCollection: DouyinOneClickPhoneCollectionConstructor;
|
|
48
50
|
init(): Promise<void>;
|
|
49
51
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
50
52
|
readonly id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wechatify-user-module-mixin.d.ts","sourceRoot":"","sources":["../../../../src/wechaty-mixins/wechatify-user-module-mixin.ts"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"wechatify-user-module-mixin.d.ts","sourceRoot":"","sources":["../../../../src/wechaty-mixins/wechatify-user-module-mixin.ts"],"names":[],"mappings":"AAEA,OAAO,EAyBL,kBAAkB,EAClB,sBAAsB,EACtB,gBAAgB,EAChB,qBAAqB,EACrB,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,EAClB,sBAAsB,EACtB,eAAe,EACf,eAAe,EACf,yBAAyB,EACzB,cAAc,EACd,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAClB,sBAAsB,EACtB,sBAAsB,EACtB,uCAAuC,EACvC,iBAAiB,EACjB,qBAAqB,EACrB,sBAAsB,EACtB,gBAAgB,EAChB,wCAAwC,EAEzC,MAA4B,wBAAwB,CAAA;AAErD,OAAO,KAAK,EACV,eAAe,EAChB,MAAkC,mBAAmB,CAAA;AAEtD,QAAA,MAAM,wBAAwB,+FAKJ,GAAG,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAqDH,QAAQ,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;cAkDxC,CAAA;AAYD,aAAK,wBAAwB,GAAG,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAE3E,aAAK,yCAAyC,GAC1C,sBAAsB,GACtB,0BAA0B,GAC1B,oBAAoB,GACpB,yBAAyB,GACzB,oBAAoB,GACpB,uBAAuB,GACvB,sBAAsB,GACtB,0BAA0B,GAC1B,mBAAmB,GACnB,6BAA6B,GAC7B,kBAAkB,GAClB,uBAAuB,GACvB,sBAAsB,GACtB,sBAAsB,GACtB,0BAA0B,GAC1B,0BAA0B,GAC1B,2CAA2C,GAC3C,qBAAqB,GACrB,yBAAyB,GACzB,0BAA0B,GAC1B,oBAAoB,CAAA;AAExB,YAAY,EACV,wBAAwB,EACxB,yCAAyC,GAC1C,CAAA;AACD,OAAO,EACL,wBAAwB,GACzB,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { log } from '@juzi/wechaty-puppet';
|
|
2
|
-
import { ContactImpl, ContactSelfImpl, DelayImpl, FriendshipImpl, ImageImpl, LocationImpl, MessageImpl, MiniProgramImpl, PostImpl, RoomImpl, RoomInvitationImpl, TagImpl, TagGroupImpl, UrlLinkImpl, ChannelImpl, ChannelCardImpl, ConsultCardImpl, PremiumOnlineAppointmentCardImpl, MomentImpl, CallRecordImpl, ChatHistoryImpl, WecomImpl, wechatifyUserModule, } from '../user-modules/mod.js';
|
|
2
|
+
import { ContactImpl, ContactSelfImpl, DelayImpl, FriendshipImpl, ImageImpl, LocationImpl, MessageImpl, MiniProgramImpl, PostImpl, RoomImpl, RoomInvitationImpl, TagImpl, TagGroupImpl, UrlLinkImpl, ChannelImpl, ChannelCardImpl, ConsultCardImpl, PremiumOnlineAppointmentCardImpl, MomentImpl, CallRecordImpl, ChatHistoryImpl, WecomImpl, DouyinOneClickPhoneCollectionImpl, wechatifyUserModule, } from '../user-modules/mod.js';
|
|
3
3
|
const wechatifyUserModuleMixin = (mixinBase) => {
|
|
4
4
|
log.verbose('WechatifyUserModuleMixin', 'wechatifyUserModuleMixin(%s)', mixinBase.name);
|
|
5
5
|
class WechatifyUserModuleMixin extends mixinBase {
|
|
@@ -29,6 +29,7 @@ const wechatifyUserModuleMixin = (mixinBase) => {
|
|
|
29
29
|
__wechatifiedCallRecord;
|
|
30
30
|
__wechatifiedChatHistory;
|
|
31
31
|
__wechatifiedWecom;
|
|
32
|
+
__wechatifiedDouyinOneClickPhoneCollection;
|
|
32
33
|
get Contact() { return guardWechatify(this.__wechatifiedContact); }
|
|
33
34
|
get ContactSelf() { return guardWechatify(this.__wechatifiedContactSelf); }
|
|
34
35
|
get Delay() { return guardWechatify(this.__wechatifiedDelay); }
|
|
@@ -51,6 +52,7 @@ const wechatifyUserModuleMixin = (mixinBase) => {
|
|
|
51
52
|
get CallRecord() { return guardWechatify(this.__wechatifiedCallRecord); }
|
|
52
53
|
get ChatHistory() { return guardWechatify(this.__wechatifiedChatHistory); }
|
|
53
54
|
get Wecom() { return guardWechatify(this.__wechatifiedWecom); }
|
|
55
|
+
get DouyinOneClickPhoneCollection() { return guardWechatify(this.__wechatifiedDouyinOneClickPhoneCollection); }
|
|
54
56
|
async init() {
|
|
55
57
|
log.verbose('WechatifyUserModuleMixin', 'init()');
|
|
56
58
|
await super.init();
|
|
@@ -90,6 +92,7 @@ const wechatifyUserModuleMixin = (mixinBase) => {
|
|
|
90
92
|
this.__wechatifiedCallRecord = wechatifyUserModule(CallRecordImpl)(this);
|
|
91
93
|
this.__wechatifiedChatHistory = wechatifyUserModule(ChatHistoryImpl)(this);
|
|
92
94
|
this.__wechatifiedWecom = wechatifyUserModule(WecomImpl)(this);
|
|
95
|
+
this.__wechatifiedDouyinOneClickPhoneCollection = wechatifyUserModule(DouyinOneClickPhoneCollectionImpl)(this);
|
|
93
96
|
log.verbose('WechatifyUserModuleMixin', 'init() initializing Wechaty User Module (WUM) ... done');
|
|
94
97
|
}
|
|
95
98
|
}
|
|
@@ -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,
|
|
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,EACT,iCAAiC,EAyBjC,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,CAA4C;QAChE,wBAAwB,CAA4C;QACpE,kBAAkB,CAA4C;QAC9D,uBAAuB,CAA4C;QACnE,kBAAkB,CAA4C;QAC9D,qBAAqB,CAA4C;QACjE,oBAAoB,CAA4C;QAChE,wBAAwB,CAA4C;QACpE,iBAAiB,CAA4C;QAC7D,iBAAiB,CAA4C;QAC7D,2BAA2B,CAA4C;QACvE,gBAAgB,CAA4C;QAC5D,qBAAqB,CAA4C;QACjE,oBAAoB,CAA4C;QAChE,oBAAoB,CAA4C;QAChE,wBAAwB,CAA4C;QACpE,wBAAwB,CAA4C;QACpE,yCAAyC,CAA4C;QACrF,mB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
|
|
4
4
|
"description": "Wechaty is a RPA SDK for Chatbot Makers.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
"@chatie/eslint-config": "^1.0.4",
|
|
133
133
|
"@chatie/semver": "^0.4.7",
|
|
134
134
|
"@chatie/tsconfig": "^4.6.3",
|
|
135
|
-
"@juzi/wechaty-puppet": "^1.0.
|
|
135
|
+
"@juzi/wechaty-puppet": "^1.0.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
|
|
29
|
-
ContactSelfInterface
|
|
30
|
-
DelayInterface
|
|
31
|
-
FavoriteInterface
|
|
32
|
-
FriendshipInterface
|
|
33
|
-
ImageInterface
|
|
34
|
-
LocationInterface
|
|
35
|
-
MessageInterface
|
|
36
|
-
MiniProgramInterface
|
|
37
|
-
MomentInterface
|
|
38
|
-
MoneyInterface
|
|
39
|
-
PostInterface
|
|
40
|
-
RoomInterface
|
|
41
|
-
RoomInvitationInterface
|
|
42
|
-
TagInterface
|
|
43
|
-
TagGroupInterface
|
|
44
|
-
UrlLinkInterface
|
|
45
|
-
ChannelInterface
|
|
46
|
-
CallRecordInterface
|
|
47
|
-
WecomInterface
|
|
48
|
-
ChannelCardInterface
|
|
49
|
-
ConsultCardInterface
|
|
50
|
-
PremiumOnlineAppointmentCardInterface
|
|
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'
|
package/src/package-json.ts
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import type { PackageJsonWechaty } from './config'
|
|
6
6
|
|
|
7
|
-
export const GIT_COMMIT_HASH: string = '
|
|
7
|
+
export const GIT_COMMIT_HASH: string = '0c77d177c3f957cbbde90cc35190f506dfea184f'
|
|
8
8
|
export const packageJson: PackageJsonWechaty = {
|
|
9
9
|
"name": "@juzi/wechaty",
|
|
10
|
-
"version": "1.0.
|
|
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.
|
|
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",
|
|
@@ -13,6 +13,7 @@ import {
|
|
|
13
13
|
ChannelCardImpl,
|
|
14
14
|
PremiumOnlineAppointmentCardImpl,
|
|
15
15
|
ConsultCardImpl,
|
|
16
|
+
DouyinOneClickPhoneCollectionImpl,
|
|
16
17
|
} from '../user-modules/mod.js'
|
|
17
18
|
|
|
18
19
|
import type { Sayable, SayOptionsObject } from './types.js'
|
|
@@ -127,6 +128,11 @@ const deliverSayableConversationPuppet = (puppet: PUPPET.impls.PuppetInterface)
|
|
|
127
128
|
componentId: sayable.componentId(),
|
|
128
129
|
},
|
|
129
130
|
)
|
|
131
|
+
} else if (DouyinOneClickPhoneCollectionImpl.validInstance(sayable)) {
|
|
132
|
+
msgId = await puppet.messageSendDouyinOneClickPhoneCollection(
|
|
133
|
+
conversationId,
|
|
134
|
+
{},
|
|
135
|
+
)
|
|
130
136
|
} else {
|
|
131
137
|
throw new Error('unsupported arg: ' + sayable)
|
|
132
138
|
}
|
package/src/sayable/types.ts
CHANGED
|
@@ -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,
|
|
@@ -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
|
+
}
|
package/src/user-modules/mod.ts
CHANGED
|
@@ -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
|
}
|
|
@@ -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
|
|
45
|
-
ContactSelf
|
|
46
|
-
Delay
|
|
47
|
-
Friendship
|
|
48
|
-
Image
|
|
49
|
-
Location
|
|
50
|
-
Message
|
|
51
|
-
MiniProgram
|
|
52
|
-
Post
|
|
53
|
-
Room
|
|
54
|
-
RoomInvitation
|
|
55
|
-
Tag
|
|
56
|
-
TagGroup
|
|
57
|
-
UrlLink
|
|
58
|
-
Channel
|
|
59
|
-
ChannelCard
|
|
60
|
-
ConsultCard
|
|
61
|
-
PremiumOnlineAppointmentCard
|
|
62
|
-
Moment
|
|
63
|
-
CallRecord
|
|
64
|
-
ChatHistory
|
|
65
|
-
Wecom
|
|
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?
|
|
68
|
-
__wechatifiedContactSelf?
|
|
69
|
-
__wechatifiedDelay?
|
|
70
|
-
__wechatifiedFriendship?
|
|
71
|
-
__wechatifiedImage?
|
|
72
|
-
__wechatifiedLocation?
|
|
73
|
-
__wechatifiedMessage?
|
|
74
|
-
__wechatifiedMiniProgram?
|
|
75
|
-
__wechatifiedPost?
|
|
76
|
-
__wechatifiedRoom?
|
|
77
|
-
__wechatifiedRoomInvitation?
|
|
78
|
-
__wechatifiedTag?
|
|
79
|
-
__wechatifiedTagGroup?
|
|
80
|
-
__wechatifiedUrlLink?
|
|
81
|
-
__wechatifiedChannel?
|
|
82
|
-
__wechatifiedChannelCard?
|
|
83
|
-
__wechatifiedConsultCard?
|
|
84
|
-
__wechatifiedPremiumOnlineAppointmentCard?
|
|
85
|
-
__wechatifiedMoment?
|
|
86
|
-
__wechatifiedCallRecord?
|
|
87
|
-
__wechatifiedChatHistory?
|
|
88
|
-
__wechatifiedWecom?
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
get
|
|
92
|
-
get
|
|
93
|
-
get
|
|
94
|
-
get
|
|
95
|
-
get
|
|
96
|
-
get
|
|
97
|
-
get
|
|
98
|
-
get
|
|
99
|
-
get
|
|
100
|
-
get
|
|
101
|
-
get
|
|
102
|
-
get
|
|
103
|
-
get
|
|
104
|
-
get
|
|
105
|
-
get
|
|
106
|
-
get
|
|
107
|
-
get
|
|
108
|
-
get
|
|
109
|
-
get
|
|
110
|
-
get
|
|
111
|
-
get
|
|
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
|
}
|