@kl1/contracts 1.0.74 → 1.0.75
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/index.js +28 -13
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +28 -13
- package/dist/index.mjs.map +1 -1
- package/dist/src/channel/index.d.ts +1771 -1228
- package/dist/src/channel/index.d.ts.map +1 -1
- package/dist/src/channel/schema.d.ts +50 -50
- package/dist/src/channel/schema.d.ts.map +1 -1
- package/dist/src/chat/index.d.ts +2573 -2573
- package/dist/src/chat/schema.d.ts +400 -400
- package/dist/src/chat/validation.d.ts +395 -395
- package/dist/src/contract.d.ts +7034 -6491
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +395 -395
- package/dist/src/cx-log/schema.d.ts +265 -265
- package/dist/src/instagram/index.d.ts +399 -399
- package/dist/src/line/index.d.ts +399 -399
- package/dist/src/messenger/index.d.ts +399 -399
- package/dist/src/viber/index.d.ts +610 -610
- package/package.json +1 -1
@@ -2775,14 +2775,14 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2775
2775
|
telephonySignature: string | null;
|
2776
2776
|
};
|
2777
2777
|
}>;
|
2778
|
-
channel: z.
|
2779
|
-
id: z.
|
2780
|
-
createdAt: z.
|
2781
|
-
updatedAt: z.
|
2782
|
-
deletedAt: z.
|
2783
|
-
name: z.
|
2784
|
-
type: z.
|
2785
|
-
metadata: z.
|
2778
|
+
channel: z.ZodObject<{
|
2779
|
+
id: z.ZodString;
|
2780
|
+
createdAt: z.ZodDate;
|
2781
|
+
updatedAt: z.ZodDate;
|
2782
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
2783
|
+
name: z.ZodString;
|
2784
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
|
2785
|
+
metadata: z.ZodObject<{
|
2786
2786
|
id: z.ZodString;
|
2787
2787
|
name: z.ZodString;
|
2788
2788
|
accessToken: z.ZodString;
|
@@ -2800,14 +2800,14 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2800
2800
|
accessToken: string;
|
2801
2801
|
channelSecret?: string | undefined;
|
2802
2802
|
additionalCredentials?: any;
|
2803
|
-
}
|
2804
|
-
brandName: z.
|
2805
|
-
platformId: z.
|
2806
|
-
status: z.
|
2807
|
-
isReloginRequired: z.
|
2808
|
-
connectedUserName: z.
|
2809
|
-
connectedUserId: z.
|
2810
|
-
actor: z.
|
2803
|
+
}>;
|
2804
|
+
brandName: z.ZodString;
|
2805
|
+
platformId: z.ZodString;
|
2806
|
+
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
2807
|
+
isReloginRequired: z.ZodBoolean;
|
2808
|
+
connectedUserName: z.ZodString;
|
2809
|
+
connectedUserId: z.ZodString;
|
2810
|
+
actor: z.ZodObject<{
|
2811
2811
|
id: z.ZodString;
|
2812
2812
|
createdAt: z.ZodDate;
|
2813
2813
|
updatedAt: z.ZodDate;
|
@@ -3010,28 +3010,23 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3010
3010
|
extensionName: string;
|
3011
3011
|
telephonySignature: string | null;
|
3012
3012
|
};
|
3013
|
-
}
|
3013
|
+
}>;
|
3014
3014
|
}, "strip", z.ZodTypeAny, {
|
3015
|
-
|
3016
|
-
|
3017
|
-
|
3018
|
-
|
3019
|
-
name?: string | undefined;
|
3020
|
-
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
3021
|
-
metadata?: {
|
3015
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
3016
|
+
id: string;
|
3017
|
+
name: string;
|
3018
|
+
metadata: {
|
3022
3019
|
id: string;
|
3023
3020
|
name: string;
|
3024
3021
|
accessToken: string;
|
3025
3022
|
channelSecret?: string | undefined;
|
3026
3023
|
additionalCredentials?: any;
|
3027
|
-
}
|
3028
|
-
|
3029
|
-
|
3030
|
-
|
3031
|
-
|
3032
|
-
|
3033
|
-
connectedUserId?: string | undefined;
|
3034
|
-
actor?: {
|
3024
|
+
};
|
3025
|
+
status: boolean;
|
3026
|
+
createdAt: Date;
|
3027
|
+
updatedAt: Date;
|
3028
|
+
deletedAt: Date | null;
|
3029
|
+
actor: {
|
3035
3030
|
id: string;
|
3036
3031
|
address: string | null;
|
3037
3032
|
name: string;
|
@@ -3074,28 +3069,28 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3074
3069
|
extensionName: string;
|
3075
3070
|
telephonySignature: string | null;
|
3076
3071
|
};
|
3077
|
-
}
|
3072
|
+
};
|
3073
|
+
brandName: string;
|
3074
|
+
platformId: string;
|
3075
|
+
isReloginRequired: boolean;
|
3076
|
+
connectedUserName: string;
|
3077
|
+
connectedUserId: string;
|
3078
3078
|
}, {
|
3079
|
-
|
3080
|
-
|
3081
|
-
|
3082
|
-
|
3083
|
-
name?: string | undefined;
|
3084
|
-
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
3085
|
-
metadata?: {
|
3079
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
3080
|
+
id: string;
|
3081
|
+
name: string;
|
3082
|
+
metadata: {
|
3086
3083
|
id: string;
|
3087
3084
|
name: string;
|
3088
3085
|
accessToken: string;
|
3089
3086
|
channelSecret?: string | undefined;
|
3090
3087
|
additionalCredentials?: any;
|
3091
|
-
}
|
3092
|
-
|
3093
|
-
|
3094
|
-
|
3095
|
-
|
3096
|
-
|
3097
|
-
connectedUserId?: string | undefined;
|
3098
|
-
actor?: {
|
3088
|
+
};
|
3089
|
+
status: boolean;
|
3090
|
+
createdAt: Date;
|
3091
|
+
updatedAt: Date;
|
3092
|
+
deletedAt: Date | null;
|
3093
|
+
actor: {
|
3099
3094
|
id: string;
|
3100
3095
|
address: string | null;
|
3101
3096
|
name: string;
|
@@ -3138,8 +3133,13 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3138
3133
|
extensionName: string;
|
3139
3134
|
telephonySignature: string | null;
|
3140
3135
|
};
|
3141
|
-
}
|
3142
|
-
|
3136
|
+
};
|
3137
|
+
brandName: string;
|
3138
|
+
platformId: string;
|
3139
|
+
isReloginRequired: boolean;
|
3140
|
+
connectedUserName: string;
|
3141
|
+
connectedUserId: string;
|
3142
|
+
}>;
|
3143
3143
|
cxlog: z.ZodObject<{
|
3144
3144
|
id: z.ZodString;
|
3145
3145
|
createdAt: z.ZodDate;
|
@@ -3286,6 +3286,71 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3286
3286
|
}>;
|
3287
3287
|
}, "strip", z.ZodTypeAny, {
|
3288
3288
|
id: string;
|
3289
|
+
channel: {
|
3290
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
3291
|
+
id: string;
|
3292
|
+
name: string;
|
3293
|
+
metadata: {
|
3294
|
+
id: string;
|
3295
|
+
name: string;
|
3296
|
+
accessToken: string;
|
3297
|
+
channelSecret?: string | undefined;
|
3298
|
+
additionalCredentials?: any;
|
3299
|
+
};
|
3300
|
+
status: boolean;
|
3301
|
+
createdAt: Date;
|
3302
|
+
updatedAt: Date;
|
3303
|
+
deletedAt: Date | null;
|
3304
|
+
actor: {
|
3305
|
+
id: string;
|
3306
|
+
address: string | null;
|
3307
|
+
name: string;
|
3308
|
+
email: string;
|
3309
|
+
createdAt: Date;
|
3310
|
+
updatedAt: Date;
|
3311
|
+
deletedAt: Date | null;
|
3312
|
+
emailVerifiedAt: Date | null;
|
3313
|
+
password: string;
|
3314
|
+
phone: string | null;
|
3315
|
+
notificationCount: number | null;
|
3316
|
+
roles: {
|
3317
|
+
id: string;
|
3318
|
+
description: string | null;
|
3319
|
+
createdAt: Date;
|
3320
|
+
updatedAt: Date;
|
3321
|
+
deletedAt: Date | null;
|
3322
|
+
systemName: string;
|
3323
|
+
displayName: string;
|
3324
|
+
permissions: {
|
3325
|
+
id: string;
|
3326
|
+
description: string | null;
|
3327
|
+
createdAt: Date;
|
3328
|
+
updatedAt: Date;
|
3329
|
+
deletedAt: Date | null;
|
3330
|
+
systemName: string;
|
3331
|
+
displayName: string;
|
3332
|
+
}[];
|
3333
|
+
}[];
|
3334
|
+
extension: {
|
3335
|
+
id: string;
|
3336
|
+
createdAt: Date;
|
3337
|
+
updatedAt: Date;
|
3338
|
+
deletedAt: Date | null;
|
3339
|
+
userId: string | null;
|
3340
|
+
sipServerUrl: string;
|
3341
|
+
sipUserName: string;
|
3342
|
+
webphoneLoginUser: string;
|
3343
|
+
extensionId: string | null;
|
3344
|
+
extensionName: string;
|
3345
|
+
telephonySignature: string | null;
|
3346
|
+
};
|
3347
|
+
};
|
3348
|
+
brandName: string;
|
3349
|
+
platformId: string;
|
3350
|
+
isReloginRequired: boolean;
|
3351
|
+
connectedUserName: string;
|
3352
|
+
connectedUserId: string;
|
3353
|
+
};
|
3289
3354
|
direction: "incoming" | "outgoing" | "system";
|
3290
3355
|
createdAt: Date;
|
3291
3356
|
updatedAt: Date;
|
@@ -3531,27 +3596,24 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3531
3596
|
callTo: string | null;
|
3532
3597
|
} | null;
|
3533
3598
|
};
|
3534
|
-
|
3535
|
-
|
3536
|
-
|
3537
|
-
|
3538
|
-
|
3539
|
-
name
|
3540
|
-
|
3541
|
-
metadata?: {
|
3599
|
+
}, {
|
3600
|
+
id: string;
|
3601
|
+
channel: {
|
3602
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
3603
|
+
id: string;
|
3604
|
+
name: string;
|
3605
|
+
metadata: {
|
3542
3606
|
id: string;
|
3543
3607
|
name: string;
|
3544
3608
|
accessToken: string;
|
3545
3609
|
channelSecret?: string | undefined;
|
3546
3610
|
additionalCredentials?: any;
|
3547
|
-
}
|
3548
|
-
|
3549
|
-
|
3550
|
-
|
3551
|
-
|
3552
|
-
|
3553
|
-
connectedUserId?: string | undefined;
|
3554
|
-
actor?: {
|
3611
|
+
};
|
3612
|
+
status: boolean;
|
3613
|
+
createdAt: Date;
|
3614
|
+
updatedAt: Date;
|
3615
|
+
deletedAt: Date | null;
|
3616
|
+
actor: {
|
3555
3617
|
id: string;
|
3556
3618
|
address: string | null;
|
3557
3619
|
name: string;
|
@@ -3594,10 +3656,13 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3594
3656
|
extensionName: string;
|
3595
3657
|
telephonySignature: string | null;
|
3596
3658
|
};
|
3597
|
-
}
|
3598
|
-
|
3599
|
-
|
3600
|
-
|
3659
|
+
};
|
3660
|
+
brandName: string;
|
3661
|
+
platformId: string;
|
3662
|
+
isReloginRequired: boolean;
|
3663
|
+
connectedUserName: string;
|
3664
|
+
connectedUserId: string;
|
3665
|
+
};
|
3601
3666
|
direction: "incoming" | "outgoing" | "system";
|
3602
3667
|
createdAt: Date;
|
3603
3668
|
updatedAt: Date;
|
@@ -3843,71 +3908,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3843
3908
|
callTo: string | null;
|
3844
3909
|
} | null;
|
3845
3910
|
};
|
3846
|
-
channel?: {
|
3847
|
-
id?: string | undefined;
|
3848
|
-
createdAt?: Date | undefined;
|
3849
|
-
updatedAt?: Date | undefined;
|
3850
|
-
deletedAt?: Date | null | undefined;
|
3851
|
-
name?: string | undefined;
|
3852
|
-
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
3853
|
-
metadata?: {
|
3854
|
-
id: string;
|
3855
|
-
name: string;
|
3856
|
-
accessToken: string;
|
3857
|
-
channelSecret?: string | undefined;
|
3858
|
-
additionalCredentials?: any;
|
3859
|
-
} | undefined;
|
3860
|
-
brandName?: string | undefined;
|
3861
|
-
platformId?: string | undefined;
|
3862
|
-
status?: boolean | undefined;
|
3863
|
-
isReloginRequired?: boolean | undefined;
|
3864
|
-
connectedUserName?: string | undefined;
|
3865
|
-
connectedUserId?: string | undefined;
|
3866
|
-
actor?: {
|
3867
|
-
id: string;
|
3868
|
-
address: string | null;
|
3869
|
-
name: string;
|
3870
|
-
email: string;
|
3871
|
-
createdAt: Date;
|
3872
|
-
updatedAt: Date;
|
3873
|
-
deletedAt: Date | null;
|
3874
|
-
emailVerifiedAt: Date | null;
|
3875
|
-
password: string;
|
3876
|
-
phone: string | null;
|
3877
|
-
notificationCount: number | null;
|
3878
|
-
roles: {
|
3879
|
-
id: string;
|
3880
|
-
description: string | null;
|
3881
|
-
createdAt: Date;
|
3882
|
-
updatedAt: Date;
|
3883
|
-
deletedAt: Date | null;
|
3884
|
-
systemName: string;
|
3885
|
-
displayName: string;
|
3886
|
-
permissions: {
|
3887
|
-
id: string;
|
3888
|
-
description: string | null;
|
3889
|
-
createdAt: Date;
|
3890
|
-
updatedAt: Date;
|
3891
|
-
deletedAt: Date | null;
|
3892
|
-
systemName: string;
|
3893
|
-
displayName: string;
|
3894
|
-
}[];
|
3895
|
-
}[];
|
3896
|
-
extension: {
|
3897
|
-
id: string;
|
3898
|
-
createdAt: Date;
|
3899
|
-
updatedAt: Date;
|
3900
|
-
deletedAt: Date | null;
|
3901
|
-
userId: string | null;
|
3902
|
-
sipServerUrl: string;
|
3903
|
-
sipUserName: string;
|
3904
|
-
webphoneLoginUser: string;
|
3905
|
-
extensionId: string | null;
|
3906
|
-
extensionName: string;
|
3907
|
-
telephonySignature: string | null;
|
3908
|
-
};
|
3909
|
-
} | undefined;
|
3910
|
-
} | undefined;
|
3911
3911
|
}>;
|
3912
3912
|
upload: z.ZodObject<{
|
3913
3913
|
id: z.ZodString;
|
@@ -4661,6 +4661,71 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4661
4661
|
imageSetId: string;
|
4662
4662
|
room: {
|
4663
4663
|
id: string;
|
4664
|
+
channel: {
|
4665
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
4666
|
+
id: string;
|
4667
|
+
name: string;
|
4668
|
+
metadata: {
|
4669
|
+
id: string;
|
4670
|
+
name: string;
|
4671
|
+
accessToken: string;
|
4672
|
+
channelSecret?: string | undefined;
|
4673
|
+
additionalCredentials?: any;
|
4674
|
+
};
|
4675
|
+
status: boolean;
|
4676
|
+
createdAt: Date;
|
4677
|
+
updatedAt: Date;
|
4678
|
+
deletedAt: Date | null;
|
4679
|
+
actor: {
|
4680
|
+
id: string;
|
4681
|
+
address: string | null;
|
4682
|
+
name: string;
|
4683
|
+
email: string;
|
4684
|
+
createdAt: Date;
|
4685
|
+
updatedAt: Date;
|
4686
|
+
deletedAt: Date | null;
|
4687
|
+
emailVerifiedAt: Date | null;
|
4688
|
+
password: string;
|
4689
|
+
phone: string | null;
|
4690
|
+
notificationCount: number | null;
|
4691
|
+
roles: {
|
4692
|
+
id: string;
|
4693
|
+
description: string | null;
|
4694
|
+
createdAt: Date;
|
4695
|
+
updatedAt: Date;
|
4696
|
+
deletedAt: Date | null;
|
4697
|
+
systemName: string;
|
4698
|
+
displayName: string;
|
4699
|
+
permissions: {
|
4700
|
+
id: string;
|
4701
|
+
description: string | null;
|
4702
|
+
createdAt: Date;
|
4703
|
+
updatedAt: Date;
|
4704
|
+
deletedAt: Date | null;
|
4705
|
+
systemName: string;
|
4706
|
+
displayName: string;
|
4707
|
+
}[];
|
4708
|
+
}[];
|
4709
|
+
extension: {
|
4710
|
+
id: string;
|
4711
|
+
createdAt: Date;
|
4712
|
+
updatedAt: Date;
|
4713
|
+
deletedAt: Date | null;
|
4714
|
+
userId: string | null;
|
4715
|
+
sipServerUrl: string;
|
4716
|
+
sipUserName: string;
|
4717
|
+
webphoneLoginUser: string;
|
4718
|
+
extensionId: string | null;
|
4719
|
+
extensionName: string;
|
4720
|
+
telephonySignature: string | null;
|
4721
|
+
};
|
4722
|
+
};
|
4723
|
+
brandName: string;
|
4724
|
+
platformId: string;
|
4725
|
+
isReloginRequired: boolean;
|
4726
|
+
connectedUserName: string;
|
4727
|
+
connectedUserId: string;
|
4728
|
+
};
|
4664
4729
|
direction: "incoming" | "outgoing" | "system";
|
4665
4730
|
createdAt: Date;
|
4666
4731
|
updatedAt: Date;
|
@@ -4906,71 +4971,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4906
4971
|
callTo: string | null;
|
4907
4972
|
} | null;
|
4908
4973
|
};
|
4909
|
-
channel?: {
|
4910
|
-
id?: string | undefined;
|
4911
|
-
createdAt?: Date | undefined;
|
4912
|
-
updatedAt?: Date | undefined;
|
4913
|
-
deletedAt?: Date | null | undefined;
|
4914
|
-
name?: string | undefined;
|
4915
|
-
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
4916
|
-
metadata?: {
|
4917
|
-
id: string;
|
4918
|
-
name: string;
|
4919
|
-
accessToken: string;
|
4920
|
-
channelSecret?: string | undefined;
|
4921
|
-
additionalCredentials?: any;
|
4922
|
-
} | undefined;
|
4923
|
-
brandName?: string | undefined;
|
4924
|
-
platformId?: string | undefined;
|
4925
|
-
status?: boolean | undefined;
|
4926
|
-
isReloginRequired?: boolean | undefined;
|
4927
|
-
connectedUserName?: string | undefined;
|
4928
|
-
connectedUserId?: string | undefined;
|
4929
|
-
actor?: {
|
4930
|
-
id: string;
|
4931
|
-
address: string | null;
|
4932
|
-
name: string;
|
4933
|
-
email: string;
|
4934
|
-
createdAt: Date;
|
4935
|
-
updatedAt: Date;
|
4936
|
-
deletedAt: Date | null;
|
4937
|
-
emailVerifiedAt: Date | null;
|
4938
|
-
password: string;
|
4939
|
-
phone: string | null;
|
4940
|
-
notificationCount: number | null;
|
4941
|
-
roles: {
|
4942
|
-
id: string;
|
4943
|
-
description: string | null;
|
4944
|
-
createdAt: Date;
|
4945
|
-
updatedAt: Date;
|
4946
|
-
deletedAt: Date | null;
|
4947
|
-
systemName: string;
|
4948
|
-
displayName: string;
|
4949
|
-
permissions: {
|
4950
|
-
id: string;
|
4951
|
-
description: string | null;
|
4952
|
-
createdAt: Date;
|
4953
|
-
updatedAt: Date;
|
4954
|
-
deletedAt: Date | null;
|
4955
|
-
systemName: string;
|
4956
|
-
displayName: string;
|
4957
|
-
}[];
|
4958
|
-
}[];
|
4959
|
-
extension: {
|
4960
|
-
id: string;
|
4961
|
-
createdAt: Date;
|
4962
|
-
updatedAt: Date;
|
4963
|
-
deletedAt: Date | null;
|
4964
|
-
userId: string | null;
|
4965
|
-
sipServerUrl: string;
|
4966
|
-
sipUserName: string;
|
4967
|
-
webphoneLoginUser: string;
|
4968
|
-
extensionId: string | null;
|
4969
|
-
extensionName: string;
|
4970
|
-
telephonySignature: string | null;
|
4971
|
-
};
|
4972
|
-
} | undefined;
|
4973
|
-
} | undefined;
|
4974
4974
|
};
|
4975
4975
|
upload: {
|
4976
4976
|
id: string;
|
@@ -5136,6 +5136,71 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5136
5136
|
imageSetId: string;
|
5137
5137
|
room: {
|
5138
5138
|
id: string;
|
5139
|
+
channel: {
|
5140
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
5141
|
+
id: string;
|
5142
|
+
name: string;
|
5143
|
+
metadata: {
|
5144
|
+
id: string;
|
5145
|
+
name: string;
|
5146
|
+
accessToken: string;
|
5147
|
+
channelSecret?: string | undefined;
|
5148
|
+
additionalCredentials?: any;
|
5149
|
+
};
|
5150
|
+
status: boolean;
|
5151
|
+
createdAt: Date;
|
5152
|
+
updatedAt: Date;
|
5153
|
+
deletedAt: Date | null;
|
5154
|
+
actor: {
|
5155
|
+
id: string;
|
5156
|
+
address: string | null;
|
5157
|
+
name: string;
|
5158
|
+
email: string;
|
5159
|
+
createdAt: Date;
|
5160
|
+
updatedAt: Date;
|
5161
|
+
deletedAt: Date | null;
|
5162
|
+
emailVerifiedAt: Date | null;
|
5163
|
+
password: string;
|
5164
|
+
phone: string | null;
|
5165
|
+
notificationCount: number | null;
|
5166
|
+
roles: {
|
5167
|
+
id: string;
|
5168
|
+
description: string | null;
|
5169
|
+
createdAt: Date;
|
5170
|
+
updatedAt: Date;
|
5171
|
+
deletedAt: Date | null;
|
5172
|
+
systemName: string;
|
5173
|
+
displayName: string;
|
5174
|
+
permissions: {
|
5175
|
+
id: string;
|
5176
|
+
description: string | null;
|
5177
|
+
createdAt: Date;
|
5178
|
+
updatedAt: Date;
|
5179
|
+
deletedAt: Date | null;
|
5180
|
+
systemName: string;
|
5181
|
+
displayName: string;
|
5182
|
+
}[];
|
5183
|
+
}[];
|
5184
|
+
extension: {
|
5185
|
+
id: string;
|
5186
|
+
createdAt: Date;
|
5187
|
+
updatedAt: Date;
|
5188
|
+
deletedAt: Date | null;
|
5189
|
+
userId: string | null;
|
5190
|
+
sipServerUrl: string;
|
5191
|
+
sipUserName: string;
|
5192
|
+
webphoneLoginUser: string;
|
5193
|
+
extensionId: string | null;
|
5194
|
+
extensionName: string;
|
5195
|
+
telephonySignature: string | null;
|
5196
|
+
};
|
5197
|
+
};
|
5198
|
+
brandName: string;
|
5199
|
+
platformId: string;
|
5200
|
+
isReloginRequired: boolean;
|
5201
|
+
connectedUserName: string;
|
5202
|
+
connectedUserId: string;
|
5203
|
+
};
|
5139
5204
|
direction: "incoming" | "outgoing" | "system";
|
5140
5205
|
createdAt: Date;
|
5141
5206
|
updatedAt: Date;
|
@@ -5381,71 +5446,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5381
5446
|
callTo: string | null;
|
5382
5447
|
} | null;
|
5383
5448
|
};
|
5384
|
-
channel?: {
|
5385
|
-
id?: string | undefined;
|
5386
|
-
createdAt?: Date | undefined;
|
5387
|
-
updatedAt?: Date | undefined;
|
5388
|
-
deletedAt?: Date | null | undefined;
|
5389
|
-
name?: string | undefined;
|
5390
|
-
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
5391
|
-
metadata?: {
|
5392
|
-
id: string;
|
5393
|
-
name: string;
|
5394
|
-
accessToken: string;
|
5395
|
-
channelSecret?: string | undefined;
|
5396
|
-
additionalCredentials?: any;
|
5397
|
-
} | undefined;
|
5398
|
-
brandName?: string | undefined;
|
5399
|
-
platformId?: string | undefined;
|
5400
|
-
status?: boolean | undefined;
|
5401
|
-
isReloginRequired?: boolean | undefined;
|
5402
|
-
connectedUserName?: string | undefined;
|
5403
|
-
connectedUserId?: string | undefined;
|
5404
|
-
actor?: {
|
5405
|
-
id: string;
|
5406
|
-
address: string | null;
|
5407
|
-
name: string;
|
5408
|
-
email: string;
|
5409
|
-
createdAt: Date;
|
5410
|
-
updatedAt: Date;
|
5411
|
-
deletedAt: Date | null;
|
5412
|
-
emailVerifiedAt: Date | null;
|
5413
|
-
password: string;
|
5414
|
-
phone: string | null;
|
5415
|
-
notificationCount: number | null;
|
5416
|
-
roles: {
|
5417
|
-
id: string;
|
5418
|
-
description: string | null;
|
5419
|
-
createdAt: Date;
|
5420
|
-
updatedAt: Date;
|
5421
|
-
deletedAt: Date | null;
|
5422
|
-
systemName: string;
|
5423
|
-
displayName: string;
|
5424
|
-
permissions: {
|
5425
|
-
id: string;
|
5426
|
-
description: string | null;
|
5427
|
-
createdAt: Date;
|
5428
|
-
updatedAt: Date;
|
5429
|
-
deletedAt: Date | null;
|
5430
|
-
systemName: string;
|
5431
|
-
displayName: string;
|
5432
|
-
}[];
|
5433
|
-
}[];
|
5434
|
-
extension: {
|
5435
|
-
id: string;
|
5436
|
-
createdAt: Date;
|
5437
|
-
updatedAt: Date;
|
5438
|
-
deletedAt: Date | null;
|
5439
|
-
userId: string | null;
|
5440
|
-
sipServerUrl: string;
|
5441
|
-
sipUserName: string;
|
5442
|
-
webphoneLoginUser: string;
|
5443
|
-
extensionId: string | null;
|
5444
|
-
extensionName: string;
|
5445
|
-
telephonySignature: string | null;
|
5446
|
-
};
|
5447
|
-
} | undefined;
|
5448
|
-
} | undefined;
|
5449
5449
|
};
|
5450
5450
|
upload: {
|
5451
5451
|
id: string;
|
@@ -5613,6 +5613,71 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5613
5613
|
imageSetId: string;
|
5614
5614
|
room: {
|
5615
5615
|
id: string;
|
5616
|
+
channel: {
|
5617
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
5618
|
+
id: string;
|
5619
|
+
name: string;
|
5620
|
+
metadata: {
|
5621
|
+
id: string;
|
5622
|
+
name: string;
|
5623
|
+
accessToken: string;
|
5624
|
+
channelSecret?: string | undefined;
|
5625
|
+
additionalCredentials?: any;
|
5626
|
+
};
|
5627
|
+
status: boolean;
|
5628
|
+
createdAt: Date;
|
5629
|
+
updatedAt: Date;
|
5630
|
+
deletedAt: Date | null;
|
5631
|
+
actor: {
|
5632
|
+
id: string;
|
5633
|
+
address: string | null;
|
5634
|
+
name: string;
|
5635
|
+
email: string;
|
5636
|
+
createdAt: Date;
|
5637
|
+
updatedAt: Date;
|
5638
|
+
deletedAt: Date | null;
|
5639
|
+
emailVerifiedAt: Date | null;
|
5640
|
+
password: string;
|
5641
|
+
phone: string | null;
|
5642
|
+
notificationCount: number | null;
|
5643
|
+
roles: {
|
5644
|
+
id: string;
|
5645
|
+
description: string | null;
|
5646
|
+
createdAt: Date;
|
5647
|
+
updatedAt: Date;
|
5648
|
+
deletedAt: Date | null;
|
5649
|
+
systemName: string;
|
5650
|
+
displayName: string;
|
5651
|
+
permissions: {
|
5652
|
+
id: string;
|
5653
|
+
description: string | null;
|
5654
|
+
createdAt: Date;
|
5655
|
+
updatedAt: Date;
|
5656
|
+
deletedAt: Date | null;
|
5657
|
+
systemName: string;
|
5658
|
+
displayName: string;
|
5659
|
+
}[];
|
5660
|
+
}[];
|
5661
|
+
extension: {
|
5662
|
+
id: string;
|
5663
|
+
createdAt: Date;
|
5664
|
+
updatedAt: Date;
|
5665
|
+
deletedAt: Date | null;
|
5666
|
+
userId: string | null;
|
5667
|
+
sipServerUrl: string;
|
5668
|
+
sipUserName: string;
|
5669
|
+
webphoneLoginUser: string;
|
5670
|
+
extensionId: string | null;
|
5671
|
+
extensionName: string;
|
5672
|
+
telephonySignature: string | null;
|
5673
|
+
};
|
5674
|
+
};
|
5675
|
+
brandName: string;
|
5676
|
+
platformId: string;
|
5677
|
+
isReloginRequired: boolean;
|
5678
|
+
connectedUserName: string;
|
5679
|
+
connectedUserId: string;
|
5680
|
+
};
|
5616
5681
|
direction: "incoming" | "outgoing" | "system";
|
5617
5682
|
createdAt: Date;
|
5618
5683
|
updatedAt: Date;
|
@@ -5858,71 +5923,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5858
5923
|
callTo: string | null;
|
5859
5924
|
} | null;
|
5860
5925
|
};
|
5861
|
-
channel?: {
|
5862
|
-
id?: string | undefined;
|
5863
|
-
createdAt?: Date | undefined;
|
5864
|
-
updatedAt?: Date | undefined;
|
5865
|
-
deletedAt?: Date | null | undefined;
|
5866
|
-
name?: string | undefined;
|
5867
|
-
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
5868
|
-
metadata?: {
|
5869
|
-
id: string;
|
5870
|
-
name: string;
|
5871
|
-
accessToken: string;
|
5872
|
-
channelSecret?: string | undefined;
|
5873
|
-
additionalCredentials?: any;
|
5874
|
-
} | undefined;
|
5875
|
-
brandName?: string | undefined;
|
5876
|
-
platformId?: string | undefined;
|
5877
|
-
status?: boolean | undefined;
|
5878
|
-
isReloginRequired?: boolean | undefined;
|
5879
|
-
connectedUserName?: string | undefined;
|
5880
|
-
connectedUserId?: string | undefined;
|
5881
|
-
actor?: {
|
5882
|
-
id: string;
|
5883
|
-
address: string | null;
|
5884
|
-
name: string;
|
5885
|
-
email: string;
|
5886
|
-
createdAt: Date;
|
5887
|
-
updatedAt: Date;
|
5888
|
-
deletedAt: Date | null;
|
5889
|
-
emailVerifiedAt: Date | null;
|
5890
|
-
password: string;
|
5891
|
-
phone: string | null;
|
5892
|
-
notificationCount: number | null;
|
5893
|
-
roles: {
|
5894
|
-
id: string;
|
5895
|
-
description: string | null;
|
5896
|
-
createdAt: Date;
|
5897
|
-
updatedAt: Date;
|
5898
|
-
deletedAt: Date | null;
|
5899
|
-
systemName: string;
|
5900
|
-
displayName: string;
|
5901
|
-
permissions: {
|
5902
|
-
id: string;
|
5903
|
-
description: string | null;
|
5904
|
-
createdAt: Date;
|
5905
|
-
updatedAt: Date;
|
5906
|
-
deletedAt: Date | null;
|
5907
|
-
systemName: string;
|
5908
|
-
displayName: string;
|
5909
|
-
}[];
|
5910
|
-
}[];
|
5911
|
-
extension: {
|
5912
|
-
id: string;
|
5913
|
-
createdAt: Date;
|
5914
|
-
updatedAt: Date;
|
5915
|
-
deletedAt: Date | null;
|
5916
|
-
userId: string | null;
|
5917
|
-
sipServerUrl: string;
|
5918
|
-
sipUserName: string;
|
5919
|
-
webphoneLoginUser: string;
|
5920
|
-
extensionId: string | null;
|
5921
|
-
extensionName: string;
|
5922
|
-
telephonySignature: string | null;
|
5923
|
-
};
|
5924
|
-
} | undefined;
|
5925
|
-
} | undefined;
|
5926
5926
|
};
|
5927
5927
|
upload: {
|
5928
5928
|
id: string;
|
@@ -6091,6 +6091,71 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6091
6091
|
imageSetId: string;
|
6092
6092
|
room: {
|
6093
6093
|
id: string;
|
6094
|
+
channel: {
|
6095
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
6096
|
+
id: string;
|
6097
|
+
name: string;
|
6098
|
+
metadata: {
|
6099
|
+
id: string;
|
6100
|
+
name: string;
|
6101
|
+
accessToken: string;
|
6102
|
+
channelSecret?: string | undefined;
|
6103
|
+
additionalCredentials?: any;
|
6104
|
+
};
|
6105
|
+
status: boolean;
|
6106
|
+
createdAt: Date;
|
6107
|
+
updatedAt: Date;
|
6108
|
+
deletedAt: Date | null;
|
6109
|
+
actor: {
|
6110
|
+
id: string;
|
6111
|
+
address: string | null;
|
6112
|
+
name: string;
|
6113
|
+
email: string;
|
6114
|
+
createdAt: Date;
|
6115
|
+
updatedAt: Date;
|
6116
|
+
deletedAt: Date | null;
|
6117
|
+
emailVerifiedAt: Date | null;
|
6118
|
+
password: string;
|
6119
|
+
phone: string | null;
|
6120
|
+
notificationCount: number | null;
|
6121
|
+
roles: {
|
6122
|
+
id: string;
|
6123
|
+
description: string | null;
|
6124
|
+
createdAt: Date;
|
6125
|
+
updatedAt: Date;
|
6126
|
+
deletedAt: Date | null;
|
6127
|
+
systemName: string;
|
6128
|
+
displayName: string;
|
6129
|
+
permissions: {
|
6130
|
+
id: string;
|
6131
|
+
description: string | null;
|
6132
|
+
createdAt: Date;
|
6133
|
+
updatedAt: Date;
|
6134
|
+
deletedAt: Date | null;
|
6135
|
+
systemName: string;
|
6136
|
+
displayName: string;
|
6137
|
+
}[];
|
6138
|
+
}[];
|
6139
|
+
extension: {
|
6140
|
+
id: string;
|
6141
|
+
createdAt: Date;
|
6142
|
+
updatedAt: Date;
|
6143
|
+
deletedAt: Date | null;
|
6144
|
+
userId: string | null;
|
6145
|
+
sipServerUrl: string;
|
6146
|
+
sipUserName: string;
|
6147
|
+
webphoneLoginUser: string;
|
6148
|
+
extensionId: string | null;
|
6149
|
+
extensionName: string;
|
6150
|
+
telephonySignature: string | null;
|
6151
|
+
};
|
6152
|
+
};
|
6153
|
+
brandName: string;
|
6154
|
+
platformId: string;
|
6155
|
+
isReloginRequired: boolean;
|
6156
|
+
connectedUserName: string;
|
6157
|
+
connectedUserId: string;
|
6158
|
+
};
|
6094
6159
|
direction: "incoming" | "outgoing" | "system";
|
6095
6160
|
createdAt: Date;
|
6096
6161
|
updatedAt: Date;
|
@@ -6336,71 +6401,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6336
6401
|
callTo: string | null;
|
6337
6402
|
} | null;
|
6338
6403
|
};
|
6339
|
-
channel?: {
|
6340
|
-
id?: string | undefined;
|
6341
|
-
createdAt?: Date | undefined;
|
6342
|
-
updatedAt?: Date | undefined;
|
6343
|
-
deletedAt?: Date | null | undefined;
|
6344
|
-
name?: string | undefined;
|
6345
|
-
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
6346
|
-
metadata?: {
|
6347
|
-
id: string;
|
6348
|
-
name: string;
|
6349
|
-
accessToken: string;
|
6350
|
-
channelSecret?: string | undefined;
|
6351
|
-
additionalCredentials?: any;
|
6352
|
-
} | undefined;
|
6353
|
-
brandName?: string | undefined;
|
6354
|
-
platformId?: string | undefined;
|
6355
|
-
status?: boolean | undefined;
|
6356
|
-
isReloginRequired?: boolean | undefined;
|
6357
|
-
connectedUserName?: string | undefined;
|
6358
|
-
connectedUserId?: string | undefined;
|
6359
|
-
actor?: {
|
6360
|
-
id: string;
|
6361
|
-
address: string | null;
|
6362
|
-
name: string;
|
6363
|
-
email: string;
|
6364
|
-
createdAt: Date;
|
6365
|
-
updatedAt: Date;
|
6366
|
-
deletedAt: Date | null;
|
6367
|
-
emailVerifiedAt: Date | null;
|
6368
|
-
password: string;
|
6369
|
-
phone: string | null;
|
6370
|
-
notificationCount: number | null;
|
6371
|
-
roles: {
|
6372
|
-
id: string;
|
6373
|
-
description: string | null;
|
6374
|
-
createdAt: Date;
|
6375
|
-
updatedAt: Date;
|
6376
|
-
deletedAt: Date | null;
|
6377
|
-
systemName: string;
|
6378
|
-
displayName: string;
|
6379
|
-
permissions: {
|
6380
|
-
id: string;
|
6381
|
-
description: string | null;
|
6382
|
-
createdAt: Date;
|
6383
|
-
updatedAt: Date;
|
6384
|
-
deletedAt: Date | null;
|
6385
|
-
systemName: string;
|
6386
|
-
displayName: string;
|
6387
|
-
}[];
|
6388
|
-
}[];
|
6389
|
-
extension: {
|
6390
|
-
id: string;
|
6391
|
-
createdAt: Date;
|
6392
|
-
updatedAt: Date;
|
6393
|
-
deletedAt: Date | null;
|
6394
|
-
userId: string | null;
|
6395
|
-
sipServerUrl: string;
|
6396
|
-
sipUserName: string;
|
6397
|
-
webphoneLoginUser: string;
|
6398
|
-
extensionId: string | null;
|
6399
|
-
extensionName: string;
|
6400
|
-
telephonySignature: string | null;
|
6401
|
-
};
|
6402
|
-
} | undefined;
|
6403
|
-
} | undefined;
|
6404
6404
|
};
|
6405
6405
|
upload: {
|
6406
6406
|
id: string;
|