@kl1/contracts 1.1.92-uat → 1.1.93-uat
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api-contracts/src/contact/index.d.ts +1996 -1
- package/dist/api-contracts/src/contact/index.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +1996 -1
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -40620,11 +40620,2006 @@ export declare const contactContract: {
|
|
40620
40620
|
summary: "Create a new contact and platform contact for sms ";
|
40621
40621
|
method: "POST";
|
40622
40622
|
responses: {
|
40623
|
-
|
40623
|
+
200: import("zod").ZodObject<{
|
40624
40624
|
requestId: import("zod").ZodString;
|
40625
|
+
data: import("zod").ZodObject<{
|
40626
|
+
id: import("zod").ZodString;
|
40627
|
+
createdAt: import("zod").ZodDate;
|
40628
|
+
updatedAt: import("zod").ZodDate;
|
40629
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
40630
|
+
name: import("zod").ZodString;
|
40631
|
+
address: import("zod").ZodNullable<import("zod").ZodString>;
|
40632
|
+
channel: import("zod").ZodNullable<import("zod").ZodString>;
|
40633
|
+
notes: import("zod").ZodNullable<import("zod").ZodString>;
|
40634
|
+
contactProfile: import("zod").ZodNullable<import("zod").ZodString>;
|
40635
|
+
socialProfileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
40636
|
+
tags: import("zod").ZodArray<import("zod").ZodObject<{
|
40637
|
+
id: import("zod").ZodString;
|
40638
|
+
createdAt: import("zod").ZodDate;
|
40639
|
+
updatedAt: import("zod").ZodDate;
|
40640
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
40641
|
+
name: import("zod").ZodString;
|
40642
|
+
}, "strip", import("zod").ZodTypeAny, {
|
40643
|
+
id: string;
|
40644
|
+
name: string;
|
40645
|
+
createdAt: Date;
|
40646
|
+
updatedAt: Date;
|
40647
|
+
deletedAt: Date | null;
|
40648
|
+
}, {
|
40649
|
+
id: string;
|
40650
|
+
name: string;
|
40651
|
+
createdAt: Date;
|
40652
|
+
updatedAt: Date;
|
40653
|
+
deletedAt: Date | null;
|
40654
|
+
}>, "many">;
|
40655
|
+
company: import("zod").ZodNullable<import("zod").ZodObject<Omit<{
|
40656
|
+
id: import("zod").ZodString;
|
40657
|
+
createdAt: import("zod").ZodDate;
|
40658
|
+
updatedAt: import("zod").ZodDate;
|
40659
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
40660
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
40661
|
+
phone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
40662
|
+
address: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
40663
|
+
industry: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
40664
|
+
customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
40665
|
+
id: import("zod").ZodString;
|
40666
|
+
createdAt: import("zod").ZodDate;
|
40667
|
+
updatedAt: import("zod").ZodDate;
|
40668
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
40669
|
+
textValue: import("zod").ZodNullable<import("zod").ZodString>;
|
40670
|
+
booleanValue: import("zod").ZodNullable<import("zod").ZodBoolean>;
|
40671
|
+
numberValue: import("zod").ZodNullable<import("zod").ZodNumber>;
|
40672
|
+
dateValue: import("zod").ZodNullable<import("zod").ZodDate>;
|
40673
|
+
attribute: import("zod").ZodObject<Omit<{
|
40674
|
+
id: import("zod").ZodString;
|
40675
|
+
createdAt: import("zod").ZodDate;
|
40676
|
+
updatedAt: import("zod").ZodDate;
|
40677
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
40678
|
+
systemName: import("zod").ZodString;
|
40679
|
+
displayName: import("zod").ZodString;
|
40680
|
+
type: import("zod").ZodUnion<[import("zod").ZodLiteral<"text">, import("zod").ZodLiteral<"textarea">, import("zod").ZodLiteral<"date">, import("zod").ZodLiteral<"select">, import("zod").ZodLiteral<"link">, import("zod").ZodLiteral<"attachment">]>;
|
40681
|
+
position: import("zod").ZodNumber;
|
40682
|
+
isDefault: import("zod").ZodBoolean;
|
40683
|
+
isArchived: import("zod").ZodBoolean;
|
40684
|
+
isRequired: import("zod").ZodBoolean;
|
40685
|
+
isUnique: import("zod").ZodBoolean;
|
40686
|
+
options: import("zod").ZodArray<import("zod").ZodObject<{
|
40687
|
+
position: import("zod").ZodNumber;
|
40688
|
+
value: import("zod").ZodString;
|
40689
|
+
label: import("zod").ZodString;
|
40690
|
+
isDefault: import("zod").ZodBoolean;
|
40691
|
+
id: import("zod").ZodString;
|
40692
|
+
}, "strip", import("zod").ZodTypeAny, {
|
40693
|
+
id: string;
|
40694
|
+
position: number;
|
40695
|
+
value: string;
|
40696
|
+
label: string;
|
40697
|
+
isDefault: boolean;
|
40698
|
+
}, {
|
40699
|
+
id: string;
|
40700
|
+
position: number;
|
40701
|
+
value: string;
|
40702
|
+
label: string;
|
40703
|
+
isDefault: boolean;
|
40704
|
+
}>, "many">;
|
40705
|
+
group: import("zod").ZodObject<{
|
40706
|
+
id: import("zod").ZodString;
|
40707
|
+
createdAt: import("zod").ZodDate;
|
40708
|
+
updatedAt: import("zod").ZodDate;
|
40709
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
40710
|
+
systemName: import("zod").ZodString;
|
40711
|
+
displayName: import("zod").ZodString;
|
40712
|
+
}, "strip", import("zod").ZodTypeAny, {
|
40713
|
+
id: string;
|
40714
|
+
createdAt: Date;
|
40715
|
+
updatedAt: Date;
|
40716
|
+
deletedAt: Date | null;
|
40717
|
+
systemName: string;
|
40718
|
+
displayName: string;
|
40719
|
+
}, {
|
40720
|
+
id: string;
|
40721
|
+
createdAt: Date;
|
40722
|
+
updatedAt: Date;
|
40723
|
+
deletedAt: Date | null;
|
40724
|
+
systemName: string;
|
40725
|
+
displayName: string;
|
40726
|
+
}>;
|
40727
|
+
}, "options" | "group">, "strip", import("zod").ZodTypeAny, {
|
40728
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
40729
|
+
id: string;
|
40730
|
+
position: number;
|
40731
|
+
createdAt: Date;
|
40732
|
+
updatedAt: Date;
|
40733
|
+
deletedAt: Date | null;
|
40734
|
+
systemName: string;
|
40735
|
+
displayName: string;
|
40736
|
+
isDefault: boolean;
|
40737
|
+
isArchived: boolean;
|
40738
|
+
isRequired: boolean;
|
40739
|
+
isUnique: boolean;
|
40740
|
+
}, {
|
40741
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
40742
|
+
id: string;
|
40743
|
+
position: number;
|
40744
|
+
createdAt: Date;
|
40745
|
+
updatedAt: Date;
|
40746
|
+
deletedAt: Date | null;
|
40747
|
+
systemName: string;
|
40748
|
+
displayName: string;
|
40749
|
+
isDefault: boolean;
|
40750
|
+
isArchived: boolean;
|
40751
|
+
isRequired: boolean;
|
40752
|
+
isUnique: boolean;
|
40753
|
+
}>;
|
40754
|
+
}, "strip", import("zod").ZodTypeAny, {
|
40755
|
+
id: string;
|
40756
|
+
createdAt: Date;
|
40757
|
+
updatedAt: Date;
|
40758
|
+
deletedAt: Date | null;
|
40759
|
+
attribute: {
|
40760
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
40761
|
+
id: string;
|
40762
|
+
position: number;
|
40763
|
+
createdAt: Date;
|
40764
|
+
updatedAt: Date;
|
40765
|
+
deletedAt: Date | null;
|
40766
|
+
systemName: string;
|
40767
|
+
displayName: string;
|
40768
|
+
isDefault: boolean;
|
40769
|
+
isArchived: boolean;
|
40770
|
+
isRequired: boolean;
|
40771
|
+
isUnique: boolean;
|
40772
|
+
};
|
40773
|
+
textValue: string | null;
|
40774
|
+
booleanValue: boolean | null;
|
40775
|
+
numberValue: number | null;
|
40776
|
+
dateValue: Date | null;
|
40777
|
+
}, {
|
40778
|
+
id: string;
|
40779
|
+
createdAt: Date;
|
40780
|
+
updatedAt: Date;
|
40781
|
+
deletedAt: Date | null;
|
40782
|
+
attribute: {
|
40783
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
40784
|
+
id: string;
|
40785
|
+
position: number;
|
40786
|
+
createdAt: Date;
|
40787
|
+
updatedAt: Date;
|
40788
|
+
deletedAt: Date | null;
|
40789
|
+
systemName: string;
|
40790
|
+
displayName: string;
|
40791
|
+
isDefault: boolean;
|
40792
|
+
isArchived: boolean;
|
40793
|
+
isRequired: boolean;
|
40794
|
+
isUnique: boolean;
|
40795
|
+
};
|
40796
|
+
textValue: string | null;
|
40797
|
+
booleanValue: boolean | null;
|
40798
|
+
numberValue: number | null;
|
40799
|
+
dateValue: Date | null;
|
40800
|
+
}>, "many">>;
|
40801
|
+
}, "customFields">, "strip", import("zod").ZodTypeAny, {
|
40802
|
+
id: string;
|
40803
|
+
createdAt: Date;
|
40804
|
+
updatedAt: Date;
|
40805
|
+
deletedAt: Date | null;
|
40806
|
+
address?: string | null | undefined;
|
40807
|
+
name?: string | undefined;
|
40808
|
+
phone?: string | null | undefined;
|
40809
|
+
industry?: string | null | undefined;
|
40810
|
+
}, {
|
40811
|
+
id: string;
|
40812
|
+
createdAt: Date;
|
40813
|
+
updatedAt: Date;
|
40814
|
+
deletedAt: Date | null;
|
40815
|
+
address?: string | null | undefined;
|
40816
|
+
name?: string | undefined;
|
40817
|
+
phone?: string | null | undefined;
|
40818
|
+
industry?: string | null | undefined;
|
40819
|
+
}>>;
|
40820
|
+
platformContacts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
40821
|
+
id: import("zod").ZodString;
|
40822
|
+
createdAt: import("zod").ZodDate;
|
40823
|
+
updatedAt: import("zod").ZodDate;
|
40824
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
40825
|
+
channelId: import("zod").ZodString;
|
40826
|
+
socialPlatformId: import("zod").ZodString;
|
40827
|
+
type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
|
40828
|
+
metadata: import("zod").ZodObject<{
|
40829
|
+
id: import("zod").ZodString;
|
40830
|
+
name: import("zod").ZodString;
|
40831
|
+
picture: import("zod").ZodOptional<import("zod").ZodString>;
|
40832
|
+
additionalCredentials: import("zod").ZodAny;
|
40833
|
+
}, "strip", import("zod").ZodTypeAny, {
|
40834
|
+
id: string;
|
40835
|
+
name: string;
|
40836
|
+
picture?: string | undefined;
|
40837
|
+
additionalCredentials?: any;
|
40838
|
+
}, {
|
40839
|
+
id: string;
|
40840
|
+
name: string;
|
40841
|
+
picture?: string | undefined;
|
40842
|
+
additionalCredentials?: any;
|
40843
|
+
}>;
|
40844
|
+
}, "strip", import("zod").ZodTypeAny, {
|
40845
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
40846
|
+
id: string;
|
40847
|
+
metadata: {
|
40848
|
+
id: string;
|
40849
|
+
name: string;
|
40850
|
+
picture?: string | undefined;
|
40851
|
+
additionalCredentials?: any;
|
40852
|
+
};
|
40853
|
+
createdAt: Date;
|
40854
|
+
updatedAt: Date;
|
40855
|
+
deletedAt: Date | null;
|
40856
|
+
channelId: string;
|
40857
|
+
socialPlatformId: string;
|
40858
|
+
}, {
|
40859
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
40860
|
+
id: string;
|
40861
|
+
metadata: {
|
40862
|
+
id: string;
|
40863
|
+
name: string;
|
40864
|
+
picture?: string | undefined;
|
40865
|
+
additionalCredentials?: any;
|
40866
|
+
};
|
40867
|
+
createdAt: Date;
|
40868
|
+
updatedAt: Date;
|
40869
|
+
deletedAt: Date | null;
|
40870
|
+
channelId: string;
|
40871
|
+
socialPlatformId: string;
|
40872
|
+
}>, "many">>;
|
40873
|
+
customFields: import("zod").ZodArray<import("zod").ZodObject<{
|
40874
|
+
id: import("zod").ZodString;
|
40875
|
+
createdAt: import("zod").ZodDate;
|
40876
|
+
updatedAt: import("zod").ZodDate;
|
40877
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
40878
|
+
textValue: import("zod").ZodNullable<import("zod").ZodString>;
|
40879
|
+
booleanValue: import("zod").ZodNullable<import("zod").ZodBoolean>;
|
40880
|
+
numberValue: import("zod").ZodNullable<import("zod").ZodNumber>;
|
40881
|
+
dateValue: import("zod").ZodNullable<import("zod").ZodDate>;
|
40882
|
+
attribute: import("zod").ZodObject<Omit<{
|
40883
|
+
id: import("zod").ZodString;
|
40884
|
+
createdAt: import("zod").ZodDate;
|
40885
|
+
updatedAt: import("zod").ZodDate;
|
40886
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
40887
|
+
systemName: import("zod").ZodString;
|
40888
|
+
displayName: import("zod").ZodString;
|
40889
|
+
type: import("zod").ZodUnion<[import("zod").ZodLiteral<"text">, import("zod").ZodLiteral<"textarea">, import("zod").ZodLiteral<"date">, import("zod").ZodLiteral<"select">, import("zod").ZodLiteral<"link">, import("zod").ZodLiteral<"attachment">]>;
|
40890
|
+
position: import("zod").ZodNumber;
|
40891
|
+
isDefault: import("zod").ZodBoolean;
|
40892
|
+
isArchived: import("zod").ZodBoolean;
|
40893
|
+
isRequired: import("zod").ZodBoolean;
|
40894
|
+
isUnique: import("zod").ZodBoolean;
|
40895
|
+
options: import("zod").ZodArray<import("zod").ZodObject<{
|
40896
|
+
position: import("zod").ZodNumber;
|
40897
|
+
value: import("zod").ZodString;
|
40898
|
+
label: import("zod").ZodString;
|
40899
|
+
isDefault: import("zod").ZodBoolean;
|
40900
|
+
id: import("zod").ZodString;
|
40901
|
+
}, "strip", import("zod").ZodTypeAny, {
|
40902
|
+
id: string;
|
40903
|
+
position: number;
|
40904
|
+
value: string;
|
40905
|
+
label: string;
|
40906
|
+
isDefault: boolean;
|
40907
|
+
}, {
|
40908
|
+
id: string;
|
40909
|
+
position: number;
|
40910
|
+
value: string;
|
40911
|
+
label: string;
|
40912
|
+
isDefault: boolean;
|
40913
|
+
}>, "many">;
|
40914
|
+
group: import("zod").ZodObject<{
|
40915
|
+
id: import("zod").ZodString;
|
40916
|
+
createdAt: import("zod").ZodDate;
|
40917
|
+
updatedAt: import("zod").ZodDate;
|
40918
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
40919
|
+
systemName: import("zod").ZodString;
|
40920
|
+
displayName: import("zod").ZodString;
|
40921
|
+
}, "strip", import("zod").ZodTypeAny, {
|
40922
|
+
id: string;
|
40923
|
+
createdAt: Date;
|
40924
|
+
updatedAt: Date;
|
40925
|
+
deletedAt: Date | null;
|
40926
|
+
systemName: string;
|
40927
|
+
displayName: string;
|
40928
|
+
}, {
|
40929
|
+
id: string;
|
40930
|
+
createdAt: Date;
|
40931
|
+
updatedAt: Date;
|
40932
|
+
deletedAt: Date | null;
|
40933
|
+
systemName: string;
|
40934
|
+
displayName: string;
|
40935
|
+
}>;
|
40936
|
+
}, "options" | "group">, "strip", import("zod").ZodTypeAny, {
|
40937
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
40938
|
+
id: string;
|
40939
|
+
position: number;
|
40940
|
+
createdAt: Date;
|
40941
|
+
updatedAt: Date;
|
40942
|
+
deletedAt: Date | null;
|
40943
|
+
systemName: string;
|
40944
|
+
displayName: string;
|
40945
|
+
isDefault: boolean;
|
40946
|
+
isArchived: boolean;
|
40947
|
+
isRequired: boolean;
|
40948
|
+
isUnique: boolean;
|
40949
|
+
}, {
|
40950
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
40951
|
+
id: string;
|
40952
|
+
position: number;
|
40953
|
+
createdAt: Date;
|
40954
|
+
updatedAt: Date;
|
40955
|
+
deletedAt: Date | null;
|
40956
|
+
systemName: string;
|
40957
|
+
displayName: string;
|
40958
|
+
isDefault: boolean;
|
40959
|
+
isArchived: boolean;
|
40960
|
+
isRequired: boolean;
|
40961
|
+
isUnique: boolean;
|
40962
|
+
}>;
|
40963
|
+
uploads: import("zod").ZodArray<import("zod").ZodObject<{
|
40964
|
+
id: import("zod").ZodString;
|
40965
|
+
createdAt: import("zod").ZodDate;
|
40966
|
+
updatedAt: import("zod").ZodDate;
|
40967
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
40968
|
+
bucketName: import("zod").ZodString;
|
40969
|
+
fileName: import("zod").ZodString;
|
40970
|
+
fileSize: import("zod").ZodNumber;
|
40971
|
+
fileKey: import("zod").ZodString;
|
40972
|
+
fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
40973
|
+
status: import("zod").ZodNullable<import("zod").ZodString>;
|
40974
|
+
}, "strip", import("zod").ZodTypeAny, {
|
40975
|
+
id: string;
|
40976
|
+
status: string | null;
|
40977
|
+
createdAt: Date;
|
40978
|
+
updatedAt: Date;
|
40979
|
+
deletedAt: Date | null;
|
40980
|
+
fileName: string;
|
40981
|
+
fileKey: string;
|
40982
|
+
bucketName: string;
|
40983
|
+
fileSize: number;
|
40984
|
+
fileUrl: string | null;
|
40985
|
+
}, {
|
40986
|
+
id: string;
|
40987
|
+
status: string | null;
|
40988
|
+
createdAt: Date;
|
40989
|
+
updatedAt: Date;
|
40990
|
+
deletedAt: Date | null;
|
40991
|
+
fileName: string;
|
40992
|
+
fileKey: string;
|
40993
|
+
bucketName: string;
|
40994
|
+
fileSize: number;
|
40995
|
+
fileUrl: string | null;
|
40996
|
+
}>, "many">;
|
40997
|
+
}, "strip", import("zod").ZodTypeAny, {
|
40998
|
+
id: string;
|
40999
|
+
createdAt: Date;
|
41000
|
+
updatedAt: Date;
|
41001
|
+
deletedAt: Date | null;
|
41002
|
+
attribute: {
|
41003
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
41004
|
+
id: string;
|
41005
|
+
position: number;
|
41006
|
+
createdAt: Date;
|
41007
|
+
updatedAt: Date;
|
41008
|
+
deletedAt: Date | null;
|
41009
|
+
systemName: string;
|
41010
|
+
displayName: string;
|
41011
|
+
isDefault: boolean;
|
41012
|
+
isArchived: boolean;
|
41013
|
+
isRequired: boolean;
|
41014
|
+
isUnique: boolean;
|
41015
|
+
};
|
41016
|
+
textValue: string | null;
|
41017
|
+
booleanValue: boolean | null;
|
41018
|
+
numberValue: number | null;
|
41019
|
+
dateValue: Date | null;
|
41020
|
+
uploads: {
|
41021
|
+
id: string;
|
41022
|
+
status: string | null;
|
41023
|
+
createdAt: Date;
|
41024
|
+
updatedAt: Date;
|
41025
|
+
deletedAt: Date | null;
|
41026
|
+
fileName: string;
|
41027
|
+
fileKey: string;
|
41028
|
+
bucketName: string;
|
41029
|
+
fileSize: number;
|
41030
|
+
fileUrl: string | null;
|
41031
|
+
}[];
|
41032
|
+
}, {
|
41033
|
+
id: string;
|
41034
|
+
createdAt: Date;
|
41035
|
+
updatedAt: Date;
|
41036
|
+
deletedAt: Date | null;
|
41037
|
+
attribute: {
|
41038
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
41039
|
+
id: string;
|
41040
|
+
position: number;
|
41041
|
+
createdAt: Date;
|
41042
|
+
updatedAt: Date;
|
41043
|
+
deletedAt: Date | null;
|
41044
|
+
systemName: string;
|
41045
|
+
displayName: string;
|
41046
|
+
isDefault: boolean;
|
41047
|
+
isArchived: boolean;
|
41048
|
+
isRequired: boolean;
|
41049
|
+
isUnique: boolean;
|
41050
|
+
};
|
41051
|
+
textValue: string | null;
|
41052
|
+
booleanValue: boolean | null;
|
41053
|
+
numberValue: number | null;
|
41054
|
+
dateValue: Date | null;
|
41055
|
+
uploads: {
|
41056
|
+
id: string;
|
41057
|
+
status: string | null;
|
41058
|
+
createdAt: Date;
|
41059
|
+
updatedAt: Date;
|
41060
|
+
deletedAt: Date | null;
|
41061
|
+
fileName: string;
|
41062
|
+
fileKey: string;
|
41063
|
+
bucketName: string;
|
41064
|
+
fileSize: number;
|
41065
|
+
fileUrl: string | null;
|
41066
|
+
}[];
|
41067
|
+
}>, "many">;
|
41068
|
+
contactEmails: import("zod").ZodArray<import("zod").ZodObject<{
|
41069
|
+
id: import("zod").ZodString;
|
41070
|
+
createdAt: import("zod").ZodDate;
|
41071
|
+
updatedAt: import("zod").ZodDate;
|
41072
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
41073
|
+
email: import("zod").ZodString;
|
41074
|
+
isPrimary: import("zod").ZodBoolean;
|
41075
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41076
|
+
id: string;
|
41077
|
+
isPrimary: boolean;
|
41078
|
+
email: string;
|
41079
|
+
createdAt: Date;
|
41080
|
+
updatedAt: Date;
|
41081
|
+
deletedAt: Date | null;
|
41082
|
+
}, {
|
41083
|
+
id: string;
|
41084
|
+
isPrimary: boolean;
|
41085
|
+
email: string;
|
41086
|
+
createdAt: Date;
|
41087
|
+
updatedAt: Date;
|
41088
|
+
deletedAt: Date | null;
|
41089
|
+
}>, "many">;
|
41090
|
+
contactPhones: import("zod").ZodArray<import("zod").ZodObject<{
|
41091
|
+
id: import("zod").ZodString;
|
41092
|
+
createdAt: import("zod").ZodDate;
|
41093
|
+
updatedAt: import("zod").ZodDate;
|
41094
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
41095
|
+
phone: import("zod").ZodString;
|
41096
|
+
isPrimary: import("zod").ZodBoolean;
|
41097
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41098
|
+
id: string;
|
41099
|
+
isPrimary: boolean;
|
41100
|
+
createdAt: Date;
|
41101
|
+
updatedAt: Date;
|
41102
|
+
deletedAt: Date | null;
|
41103
|
+
phone: string;
|
41104
|
+
}, {
|
41105
|
+
id: string;
|
41106
|
+
isPrimary: boolean;
|
41107
|
+
createdAt: Date;
|
41108
|
+
updatedAt: Date;
|
41109
|
+
deletedAt: Date | null;
|
41110
|
+
phone: string;
|
41111
|
+
}>, "many">;
|
41112
|
+
activityLogs: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
41113
|
+
id: import("zod").ZodString;
|
41114
|
+
createdAt: import("zod").ZodDate;
|
41115
|
+
updatedAt: import("zod").ZodDate;
|
41116
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
41117
|
+
entityId: import("zod").ZodString;
|
41118
|
+
description: import("zod").ZodString;
|
41119
|
+
entityType: import("zod").ZodObject<{
|
41120
|
+
id: import("zod").ZodString;
|
41121
|
+
createdAt: import("zod").ZodDate;
|
41122
|
+
updatedAt: import("zod").ZodDate;
|
41123
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
41124
|
+
entity: import("zod").ZodString;
|
41125
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
41126
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41127
|
+
id: string;
|
41128
|
+
description: string | null;
|
41129
|
+
createdAt: Date;
|
41130
|
+
updatedAt: Date;
|
41131
|
+
deletedAt: Date | null;
|
41132
|
+
entity: string;
|
41133
|
+
}, {
|
41134
|
+
id: string;
|
41135
|
+
description: string | null;
|
41136
|
+
createdAt: Date;
|
41137
|
+
updatedAt: Date;
|
41138
|
+
deletedAt: Date | null;
|
41139
|
+
entity: string;
|
41140
|
+
}>;
|
41141
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41142
|
+
id: string;
|
41143
|
+
description: string;
|
41144
|
+
createdAt: Date;
|
41145
|
+
updatedAt: Date;
|
41146
|
+
deletedAt: Date | null;
|
41147
|
+
entityId: string;
|
41148
|
+
entityType: {
|
41149
|
+
id: string;
|
41150
|
+
description: string | null;
|
41151
|
+
createdAt: Date;
|
41152
|
+
updatedAt: Date;
|
41153
|
+
deletedAt: Date | null;
|
41154
|
+
entity: string;
|
41155
|
+
};
|
41156
|
+
}, {
|
41157
|
+
id: string;
|
41158
|
+
description: string;
|
41159
|
+
createdAt: Date;
|
41160
|
+
updatedAt: Date;
|
41161
|
+
deletedAt: Date | null;
|
41162
|
+
entityId: string;
|
41163
|
+
entityType: {
|
41164
|
+
id: string;
|
41165
|
+
description: string | null;
|
41166
|
+
createdAt: Date;
|
41167
|
+
updatedAt: Date;
|
41168
|
+
deletedAt: Date | null;
|
41169
|
+
entity: string;
|
41170
|
+
};
|
41171
|
+
}>, "many">>;
|
41172
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41173
|
+
id: string;
|
41174
|
+
channel: string | null;
|
41175
|
+
address: string | null;
|
41176
|
+
name: string;
|
41177
|
+
createdAt: Date;
|
41178
|
+
updatedAt: Date;
|
41179
|
+
deletedAt: Date | null;
|
41180
|
+
customFields: {
|
41181
|
+
id: string;
|
41182
|
+
createdAt: Date;
|
41183
|
+
updatedAt: Date;
|
41184
|
+
deletedAt: Date | null;
|
41185
|
+
attribute: {
|
41186
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
41187
|
+
id: string;
|
41188
|
+
position: number;
|
41189
|
+
createdAt: Date;
|
41190
|
+
updatedAt: Date;
|
41191
|
+
deletedAt: Date | null;
|
41192
|
+
systemName: string;
|
41193
|
+
displayName: string;
|
41194
|
+
isDefault: boolean;
|
41195
|
+
isArchived: boolean;
|
41196
|
+
isRequired: boolean;
|
41197
|
+
isUnique: boolean;
|
41198
|
+
};
|
41199
|
+
textValue: string | null;
|
41200
|
+
booleanValue: boolean | null;
|
41201
|
+
numberValue: number | null;
|
41202
|
+
dateValue: Date | null;
|
41203
|
+
uploads: {
|
41204
|
+
id: string;
|
41205
|
+
status: string | null;
|
41206
|
+
createdAt: Date;
|
41207
|
+
updatedAt: Date;
|
41208
|
+
deletedAt: Date | null;
|
41209
|
+
fileName: string;
|
41210
|
+
fileKey: string;
|
41211
|
+
bucketName: string;
|
41212
|
+
fileSize: number;
|
41213
|
+
fileUrl: string | null;
|
41214
|
+
}[];
|
41215
|
+
}[];
|
41216
|
+
company: {
|
41217
|
+
id: string;
|
41218
|
+
createdAt: Date;
|
41219
|
+
updatedAt: Date;
|
41220
|
+
deletedAt: Date | null;
|
41221
|
+
address?: string | null | undefined;
|
41222
|
+
name?: string | undefined;
|
41223
|
+
phone?: string | null | undefined;
|
41224
|
+
industry?: string | null | undefined;
|
41225
|
+
} | null;
|
41226
|
+
notes: string | null;
|
41227
|
+
contactProfile: string | null;
|
41228
|
+
socialProfileUrl: string | null;
|
41229
|
+
tags: {
|
41230
|
+
id: string;
|
41231
|
+
name: string;
|
41232
|
+
createdAt: Date;
|
41233
|
+
updatedAt: Date;
|
41234
|
+
deletedAt: Date | null;
|
41235
|
+
}[];
|
41236
|
+
contactEmails: {
|
41237
|
+
id: string;
|
41238
|
+
isPrimary: boolean;
|
41239
|
+
email: string;
|
41240
|
+
createdAt: Date;
|
41241
|
+
updatedAt: Date;
|
41242
|
+
deletedAt: Date | null;
|
41243
|
+
}[];
|
41244
|
+
contactPhones: {
|
41245
|
+
id: string;
|
41246
|
+
isPrimary: boolean;
|
41247
|
+
createdAt: Date;
|
41248
|
+
updatedAt: Date;
|
41249
|
+
deletedAt: Date | null;
|
41250
|
+
phone: string;
|
41251
|
+
}[];
|
41252
|
+
platformContacts?: {
|
41253
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
41254
|
+
id: string;
|
41255
|
+
metadata: {
|
41256
|
+
id: string;
|
41257
|
+
name: string;
|
41258
|
+
picture?: string | undefined;
|
41259
|
+
additionalCredentials?: any;
|
41260
|
+
};
|
41261
|
+
createdAt: Date;
|
41262
|
+
updatedAt: Date;
|
41263
|
+
deletedAt: Date | null;
|
41264
|
+
channelId: string;
|
41265
|
+
socialPlatformId: string;
|
41266
|
+
}[] | undefined;
|
41267
|
+
activityLogs?: {
|
41268
|
+
id: string;
|
41269
|
+
description: string;
|
41270
|
+
createdAt: Date;
|
41271
|
+
updatedAt: Date;
|
41272
|
+
deletedAt: Date | null;
|
41273
|
+
entityId: string;
|
41274
|
+
entityType: {
|
41275
|
+
id: string;
|
41276
|
+
description: string | null;
|
41277
|
+
createdAt: Date;
|
41278
|
+
updatedAt: Date;
|
41279
|
+
deletedAt: Date | null;
|
41280
|
+
entity: string;
|
41281
|
+
};
|
41282
|
+
}[] | undefined;
|
41283
|
+
}, {
|
41284
|
+
id: string;
|
41285
|
+
channel: string | null;
|
41286
|
+
address: string | null;
|
41287
|
+
name: string;
|
41288
|
+
createdAt: Date;
|
41289
|
+
updatedAt: Date;
|
41290
|
+
deletedAt: Date | null;
|
41291
|
+
customFields: {
|
41292
|
+
id: string;
|
41293
|
+
createdAt: Date;
|
41294
|
+
updatedAt: Date;
|
41295
|
+
deletedAt: Date | null;
|
41296
|
+
attribute: {
|
41297
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
41298
|
+
id: string;
|
41299
|
+
position: number;
|
41300
|
+
createdAt: Date;
|
41301
|
+
updatedAt: Date;
|
41302
|
+
deletedAt: Date | null;
|
41303
|
+
systemName: string;
|
41304
|
+
displayName: string;
|
41305
|
+
isDefault: boolean;
|
41306
|
+
isArchived: boolean;
|
41307
|
+
isRequired: boolean;
|
41308
|
+
isUnique: boolean;
|
41309
|
+
};
|
41310
|
+
textValue: string | null;
|
41311
|
+
booleanValue: boolean | null;
|
41312
|
+
numberValue: number | null;
|
41313
|
+
dateValue: Date | null;
|
41314
|
+
uploads: {
|
41315
|
+
id: string;
|
41316
|
+
status: string | null;
|
41317
|
+
createdAt: Date;
|
41318
|
+
updatedAt: Date;
|
41319
|
+
deletedAt: Date | null;
|
41320
|
+
fileName: string;
|
41321
|
+
fileKey: string;
|
41322
|
+
bucketName: string;
|
41323
|
+
fileSize: number;
|
41324
|
+
fileUrl: string | null;
|
41325
|
+
}[];
|
41326
|
+
}[];
|
41327
|
+
company: {
|
41328
|
+
id: string;
|
41329
|
+
createdAt: Date;
|
41330
|
+
updatedAt: Date;
|
41331
|
+
deletedAt: Date | null;
|
41332
|
+
address?: string | null | undefined;
|
41333
|
+
name?: string | undefined;
|
41334
|
+
phone?: string | null | undefined;
|
41335
|
+
industry?: string | null | undefined;
|
41336
|
+
} | null;
|
41337
|
+
notes: string | null;
|
41338
|
+
contactProfile: string | null;
|
41339
|
+
socialProfileUrl: string | null;
|
41340
|
+
tags: {
|
41341
|
+
id: string;
|
41342
|
+
name: string;
|
41343
|
+
createdAt: Date;
|
41344
|
+
updatedAt: Date;
|
41345
|
+
deletedAt: Date | null;
|
41346
|
+
}[];
|
41347
|
+
contactEmails: {
|
41348
|
+
id: string;
|
41349
|
+
isPrimary: boolean;
|
41350
|
+
email: string;
|
41351
|
+
createdAt: Date;
|
41352
|
+
updatedAt: Date;
|
41353
|
+
deletedAt: Date | null;
|
41354
|
+
}[];
|
41355
|
+
contactPhones: {
|
41356
|
+
id: string;
|
41357
|
+
isPrimary: boolean;
|
41358
|
+
createdAt: Date;
|
41359
|
+
updatedAt: Date;
|
41360
|
+
deletedAt: Date | null;
|
41361
|
+
phone: string;
|
41362
|
+
}[];
|
41363
|
+
platformContacts?: {
|
41364
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
41365
|
+
id: string;
|
41366
|
+
metadata: {
|
41367
|
+
id: string;
|
41368
|
+
name: string;
|
41369
|
+
picture?: string | undefined;
|
41370
|
+
additionalCredentials?: any;
|
41371
|
+
};
|
41372
|
+
createdAt: Date;
|
41373
|
+
updatedAt: Date;
|
41374
|
+
deletedAt: Date | null;
|
41375
|
+
channelId: string;
|
41376
|
+
socialPlatformId: string;
|
41377
|
+
}[] | undefined;
|
41378
|
+
activityLogs?: {
|
41379
|
+
id: string;
|
41380
|
+
description: string;
|
41381
|
+
createdAt: Date;
|
41382
|
+
updatedAt: Date;
|
41383
|
+
deletedAt: Date | null;
|
41384
|
+
entityId: string;
|
41385
|
+
entityType: {
|
41386
|
+
id: string;
|
41387
|
+
description: string | null;
|
41388
|
+
createdAt: Date;
|
41389
|
+
updatedAt: Date;
|
41390
|
+
deletedAt: Date | null;
|
41391
|
+
entity: string;
|
41392
|
+
};
|
41393
|
+
}[] | undefined;
|
41394
|
+
}>;
|
41395
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41396
|
+
data: {
|
41397
|
+
id: string;
|
41398
|
+
channel: string | null;
|
41399
|
+
address: string | null;
|
41400
|
+
name: string;
|
41401
|
+
createdAt: Date;
|
41402
|
+
updatedAt: Date;
|
41403
|
+
deletedAt: Date | null;
|
41404
|
+
customFields: {
|
41405
|
+
id: string;
|
41406
|
+
createdAt: Date;
|
41407
|
+
updatedAt: Date;
|
41408
|
+
deletedAt: Date | null;
|
41409
|
+
attribute: {
|
41410
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
41411
|
+
id: string;
|
41412
|
+
position: number;
|
41413
|
+
createdAt: Date;
|
41414
|
+
updatedAt: Date;
|
41415
|
+
deletedAt: Date | null;
|
41416
|
+
systemName: string;
|
41417
|
+
displayName: string;
|
41418
|
+
isDefault: boolean;
|
41419
|
+
isArchived: boolean;
|
41420
|
+
isRequired: boolean;
|
41421
|
+
isUnique: boolean;
|
41422
|
+
};
|
41423
|
+
textValue: string | null;
|
41424
|
+
booleanValue: boolean | null;
|
41425
|
+
numberValue: number | null;
|
41426
|
+
dateValue: Date | null;
|
41427
|
+
uploads: {
|
41428
|
+
id: string;
|
41429
|
+
status: string | null;
|
41430
|
+
createdAt: Date;
|
41431
|
+
updatedAt: Date;
|
41432
|
+
deletedAt: Date | null;
|
41433
|
+
fileName: string;
|
41434
|
+
fileKey: string;
|
41435
|
+
bucketName: string;
|
41436
|
+
fileSize: number;
|
41437
|
+
fileUrl: string | null;
|
41438
|
+
}[];
|
41439
|
+
}[];
|
41440
|
+
company: {
|
41441
|
+
id: string;
|
41442
|
+
createdAt: Date;
|
41443
|
+
updatedAt: Date;
|
41444
|
+
deletedAt: Date | null;
|
41445
|
+
address?: string | null | undefined;
|
41446
|
+
name?: string | undefined;
|
41447
|
+
phone?: string | null | undefined;
|
41448
|
+
industry?: string | null | undefined;
|
41449
|
+
} | null;
|
41450
|
+
notes: string | null;
|
41451
|
+
contactProfile: string | null;
|
41452
|
+
socialProfileUrl: string | null;
|
41453
|
+
tags: {
|
41454
|
+
id: string;
|
41455
|
+
name: string;
|
41456
|
+
createdAt: Date;
|
41457
|
+
updatedAt: Date;
|
41458
|
+
deletedAt: Date | null;
|
41459
|
+
}[];
|
41460
|
+
contactEmails: {
|
41461
|
+
id: string;
|
41462
|
+
isPrimary: boolean;
|
41463
|
+
email: string;
|
41464
|
+
createdAt: Date;
|
41465
|
+
updatedAt: Date;
|
41466
|
+
deletedAt: Date | null;
|
41467
|
+
}[];
|
41468
|
+
contactPhones: {
|
41469
|
+
id: string;
|
41470
|
+
isPrimary: boolean;
|
41471
|
+
createdAt: Date;
|
41472
|
+
updatedAt: Date;
|
41473
|
+
deletedAt: Date | null;
|
41474
|
+
phone: string;
|
41475
|
+
}[];
|
41476
|
+
platformContacts?: {
|
41477
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
41478
|
+
id: string;
|
41479
|
+
metadata: {
|
41480
|
+
id: string;
|
41481
|
+
name: string;
|
41482
|
+
picture?: string | undefined;
|
41483
|
+
additionalCredentials?: any;
|
41484
|
+
};
|
41485
|
+
createdAt: Date;
|
41486
|
+
updatedAt: Date;
|
41487
|
+
deletedAt: Date | null;
|
41488
|
+
channelId: string;
|
41489
|
+
socialPlatformId: string;
|
41490
|
+
}[] | undefined;
|
41491
|
+
activityLogs?: {
|
41492
|
+
id: string;
|
41493
|
+
description: string;
|
41494
|
+
createdAt: Date;
|
41495
|
+
updatedAt: Date;
|
41496
|
+
deletedAt: Date | null;
|
41497
|
+
entityId: string;
|
41498
|
+
entityType: {
|
41499
|
+
id: string;
|
41500
|
+
description: string | null;
|
41501
|
+
createdAt: Date;
|
41502
|
+
updatedAt: Date;
|
41503
|
+
deletedAt: Date | null;
|
41504
|
+
entity: string;
|
41505
|
+
};
|
41506
|
+
}[] | undefined;
|
41507
|
+
};
|
41508
|
+
requestId: string;
|
41509
|
+
}, {
|
41510
|
+
data: {
|
41511
|
+
id: string;
|
41512
|
+
channel: string | null;
|
41513
|
+
address: string | null;
|
41514
|
+
name: string;
|
41515
|
+
createdAt: Date;
|
41516
|
+
updatedAt: Date;
|
41517
|
+
deletedAt: Date | null;
|
41518
|
+
customFields: {
|
41519
|
+
id: string;
|
41520
|
+
createdAt: Date;
|
41521
|
+
updatedAt: Date;
|
41522
|
+
deletedAt: Date | null;
|
41523
|
+
attribute: {
|
41524
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
41525
|
+
id: string;
|
41526
|
+
position: number;
|
41527
|
+
createdAt: Date;
|
41528
|
+
updatedAt: Date;
|
41529
|
+
deletedAt: Date | null;
|
41530
|
+
systemName: string;
|
41531
|
+
displayName: string;
|
41532
|
+
isDefault: boolean;
|
41533
|
+
isArchived: boolean;
|
41534
|
+
isRequired: boolean;
|
41535
|
+
isUnique: boolean;
|
41536
|
+
};
|
41537
|
+
textValue: string | null;
|
41538
|
+
booleanValue: boolean | null;
|
41539
|
+
numberValue: number | null;
|
41540
|
+
dateValue: Date | null;
|
41541
|
+
uploads: {
|
41542
|
+
id: string;
|
41543
|
+
status: string | null;
|
41544
|
+
createdAt: Date;
|
41545
|
+
updatedAt: Date;
|
41546
|
+
deletedAt: Date | null;
|
41547
|
+
fileName: string;
|
41548
|
+
fileKey: string;
|
41549
|
+
bucketName: string;
|
41550
|
+
fileSize: number;
|
41551
|
+
fileUrl: string | null;
|
41552
|
+
}[];
|
41553
|
+
}[];
|
41554
|
+
company: {
|
41555
|
+
id: string;
|
41556
|
+
createdAt: Date;
|
41557
|
+
updatedAt: Date;
|
41558
|
+
deletedAt: Date | null;
|
41559
|
+
address?: string | null | undefined;
|
41560
|
+
name?: string | undefined;
|
41561
|
+
phone?: string | null | undefined;
|
41562
|
+
industry?: string | null | undefined;
|
41563
|
+
} | null;
|
41564
|
+
notes: string | null;
|
41565
|
+
contactProfile: string | null;
|
41566
|
+
socialProfileUrl: string | null;
|
41567
|
+
tags: {
|
41568
|
+
id: string;
|
41569
|
+
name: string;
|
41570
|
+
createdAt: Date;
|
41571
|
+
updatedAt: Date;
|
41572
|
+
deletedAt: Date | null;
|
41573
|
+
}[];
|
41574
|
+
contactEmails: {
|
41575
|
+
id: string;
|
41576
|
+
isPrimary: boolean;
|
41577
|
+
email: string;
|
41578
|
+
createdAt: Date;
|
41579
|
+
updatedAt: Date;
|
41580
|
+
deletedAt: Date | null;
|
41581
|
+
}[];
|
41582
|
+
contactPhones: {
|
41583
|
+
id: string;
|
41584
|
+
isPrimary: boolean;
|
41585
|
+
createdAt: Date;
|
41586
|
+
updatedAt: Date;
|
41587
|
+
deletedAt: Date | null;
|
41588
|
+
phone: string;
|
41589
|
+
}[];
|
41590
|
+
platformContacts?: {
|
41591
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
41592
|
+
id: string;
|
41593
|
+
metadata: {
|
41594
|
+
id: string;
|
41595
|
+
name: string;
|
41596
|
+
picture?: string | undefined;
|
41597
|
+
additionalCredentials?: any;
|
41598
|
+
};
|
41599
|
+
createdAt: Date;
|
41600
|
+
updatedAt: Date;
|
41601
|
+
deletedAt: Date | null;
|
41602
|
+
channelId: string;
|
41603
|
+
socialPlatformId: string;
|
41604
|
+
}[] | undefined;
|
41605
|
+
activityLogs?: {
|
41606
|
+
id: string;
|
41607
|
+
description: string;
|
41608
|
+
createdAt: Date;
|
41609
|
+
updatedAt: Date;
|
41610
|
+
deletedAt: Date | null;
|
41611
|
+
entityId: string;
|
41612
|
+
entityType: {
|
41613
|
+
id: string;
|
41614
|
+
description: string | null;
|
41615
|
+
createdAt: Date;
|
41616
|
+
updatedAt: Date;
|
41617
|
+
deletedAt: Date | null;
|
41618
|
+
entity: string;
|
41619
|
+
};
|
41620
|
+
}[] | undefined;
|
41621
|
+
};
|
41622
|
+
requestId: string;
|
41623
|
+
}>;
|
41624
|
+
201: import("zod").ZodObject<{
|
41625
|
+
requestId: import("zod").ZodString;
|
41626
|
+
data: import("zod").ZodObject<{
|
41627
|
+
id: import("zod").ZodString;
|
41628
|
+
createdAt: import("zod").ZodDate;
|
41629
|
+
updatedAt: import("zod").ZodDate;
|
41630
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
41631
|
+
name: import("zod").ZodString;
|
41632
|
+
address: import("zod").ZodNullable<import("zod").ZodString>;
|
41633
|
+
channel: import("zod").ZodNullable<import("zod").ZodString>;
|
41634
|
+
notes: import("zod").ZodNullable<import("zod").ZodString>;
|
41635
|
+
contactProfile: import("zod").ZodNullable<import("zod").ZodString>;
|
41636
|
+
socialProfileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
41637
|
+
tags: import("zod").ZodArray<import("zod").ZodObject<{
|
41638
|
+
id: import("zod").ZodString;
|
41639
|
+
createdAt: import("zod").ZodDate;
|
41640
|
+
updatedAt: import("zod").ZodDate;
|
41641
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
41642
|
+
name: import("zod").ZodString;
|
41643
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41644
|
+
id: string;
|
41645
|
+
name: string;
|
41646
|
+
createdAt: Date;
|
41647
|
+
updatedAt: Date;
|
41648
|
+
deletedAt: Date | null;
|
41649
|
+
}, {
|
41650
|
+
id: string;
|
41651
|
+
name: string;
|
41652
|
+
createdAt: Date;
|
41653
|
+
updatedAt: Date;
|
41654
|
+
deletedAt: Date | null;
|
41655
|
+
}>, "many">;
|
41656
|
+
company: import("zod").ZodNullable<import("zod").ZodObject<Omit<{
|
41657
|
+
id: import("zod").ZodString;
|
41658
|
+
createdAt: import("zod").ZodDate;
|
41659
|
+
updatedAt: import("zod").ZodDate;
|
41660
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
41661
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
41662
|
+
phone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
41663
|
+
address: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
41664
|
+
industry: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
41665
|
+
customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
41666
|
+
id: import("zod").ZodString;
|
41667
|
+
createdAt: import("zod").ZodDate;
|
41668
|
+
updatedAt: import("zod").ZodDate;
|
41669
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
41670
|
+
textValue: import("zod").ZodNullable<import("zod").ZodString>;
|
41671
|
+
booleanValue: import("zod").ZodNullable<import("zod").ZodBoolean>;
|
41672
|
+
numberValue: import("zod").ZodNullable<import("zod").ZodNumber>;
|
41673
|
+
dateValue: import("zod").ZodNullable<import("zod").ZodDate>;
|
41674
|
+
attribute: import("zod").ZodObject<Omit<{
|
41675
|
+
id: import("zod").ZodString;
|
41676
|
+
createdAt: import("zod").ZodDate;
|
41677
|
+
updatedAt: import("zod").ZodDate;
|
41678
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
41679
|
+
systemName: import("zod").ZodString;
|
41680
|
+
displayName: import("zod").ZodString;
|
41681
|
+
type: import("zod").ZodUnion<[import("zod").ZodLiteral<"text">, import("zod").ZodLiteral<"textarea">, import("zod").ZodLiteral<"date">, import("zod").ZodLiteral<"select">, import("zod").ZodLiteral<"link">, import("zod").ZodLiteral<"attachment">]>;
|
41682
|
+
position: import("zod").ZodNumber;
|
41683
|
+
isDefault: import("zod").ZodBoolean;
|
41684
|
+
isArchived: import("zod").ZodBoolean;
|
41685
|
+
isRequired: import("zod").ZodBoolean;
|
41686
|
+
isUnique: import("zod").ZodBoolean;
|
41687
|
+
options: import("zod").ZodArray<import("zod").ZodObject<{
|
41688
|
+
position: import("zod").ZodNumber;
|
41689
|
+
value: import("zod").ZodString;
|
41690
|
+
label: import("zod").ZodString;
|
41691
|
+
isDefault: import("zod").ZodBoolean;
|
41692
|
+
id: import("zod").ZodString;
|
41693
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41694
|
+
id: string;
|
41695
|
+
position: number;
|
41696
|
+
value: string;
|
41697
|
+
label: string;
|
41698
|
+
isDefault: boolean;
|
41699
|
+
}, {
|
41700
|
+
id: string;
|
41701
|
+
position: number;
|
41702
|
+
value: string;
|
41703
|
+
label: string;
|
41704
|
+
isDefault: boolean;
|
41705
|
+
}>, "many">;
|
41706
|
+
group: import("zod").ZodObject<{
|
41707
|
+
id: import("zod").ZodString;
|
41708
|
+
createdAt: import("zod").ZodDate;
|
41709
|
+
updatedAt: import("zod").ZodDate;
|
41710
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
41711
|
+
systemName: import("zod").ZodString;
|
41712
|
+
displayName: import("zod").ZodString;
|
41713
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41714
|
+
id: string;
|
41715
|
+
createdAt: Date;
|
41716
|
+
updatedAt: Date;
|
41717
|
+
deletedAt: Date | null;
|
41718
|
+
systemName: string;
|
41719
|
+
displayName: string;
|
41720
|
+
}, {
|
41721
|
+
id: string;
|
41722
|
+
createdAt: Date;
|
41723
|
+
updatedAt: Date;
|
41724
|
+
deletedAt: Date | null;
|
41725
|
+
systemName: string;
|
41726
|
+
displayName: string;
|
41727
|
+
}>;
|
41728
|
+
}, "options" | "group">, "strip", import("zod").ZodTypeAny, {
|
41729
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
41730
|
+
id: string;
|
41731
|
+
position: number;
|
41732
|
+
createdAt: Date;
|
41733
|
+
updatedAt: Date;
|
41734
|
+
deletedAt: Date | null;
|
41735
|
+
systemName: string;
|
41736
|
+
displayName: string;
|
41737
|
+
isDefault: boolean;
|
41738
|
+
isArchived: boolean;
|
41739
|
+
isRequired: boolean;
|
41740
|
+
isUnique: boolean;
|
41741
|
+
}, {
|
41742
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
41743
|
+
id: string;
|
41744
|
+
position: number;
|
41745
|
+
createdAt: Date;
|
41746
|
+
updatedAt: Date;
|
41747
|
+
deletedAt: Date | null;
|
41748
|
+
systemName: string;
|
41749
|
+
displayName: string;
|
41750
|
+
isDefault: boolean;
|
41751
|
+
isArchived: boolean;
|
41752
|
+
isRequired: boolean;
|
41753
|
+
isUnique: boolean;
|
41754
|
+
}>;
|
41755
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41756
|
+
id: string;
|
41757
|
+
createdAt: Date;
|
41758
|
+
updatedAt: Date;
|
41759
|
+
deletedAt: Date | null;
|
41760
|
+
attribute: {
|
41761
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
41762
|
+
id: string;
|
41763
|
+
position: number;
|
41764
|
+
createdAt: Date;
|
41765
|
+
updatedAt: Date;
|
41766
|
+
deletedAt: Date | null;
|
41767
|
+
systemName: string;
|
41768
|
+
displayName: string;
|
41769
|
+
isDefault: boolean;
|
41770
|
+
isArchived: boolean;
|
41771
|
+
isRequired: boolean;
|
41772
|
+
isUnique: boolean;
|
41773
|
+
};
|
41774
|
+
textValue: string | null;
|
41775
|
+
booleanValue: boolean | null;
|
41776
|
+
numberValue: number | null;
|
41777
|
+
dateValue: Date | null;
|
41778
|
+
}, {
|
41779
|
+
id: string;
|
41780
|
+
createdAt: Date;
|
41781
|
+
updatedAt: Date;
|
41782
|
+
deletedAt: Date | null;
|
41783
|
+
attribute: {
|
41784
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
41785
|
+
id: string;
|
41786
|
+
position: number;
|
41787
|
+
createdAt: Date;
|
41788
|
+
updatedAt: Date;
|
41789
|
+
deletedAt: Date | null;
|
41790
|
+
systemName: string;
|
41791
|
+
displayName: string;
|
41792
|
+
isDefault: boolean;
|
41793
|
+
isArchived: boolean;
|
41794
|
+
isRequired: boolean;
|
41795
|
+
isUnique: boolean;
|
41796
|
+
};
|
41797
|
+
textValue: string | null;
|
41798
|
+
booleanValue: boolean | null;
|
41799
|
+
numberValue: number | null;
|
41800
|
+
dateValue: Date | null;
|
41801
|
+
}>, "many">>;
|
41802
|
+
}, "customFields">, "strip", import("zod").ZodTypeAny, {
|
41803
|
+
id: string;
|
41804
|
+
createdAt: Date;
|
41805
|
+
updatedAt: Date;
|
41806
|
+
deletedAt: Date | null;
|
41807
|
+
address?: string | null | undefined;
|
41808
|
+
name?: string | undefined;
|
41809
|
+
phone?: string | null | undefined;
|
41810
|
+
industry?: string | null | undefined;
|
41811
|
+
}, {
|
41812
|
+
id: string;
|
41813
|
+
createdAt: Date;
|
41814
|
+
updatedAt: Date;
|
41815
|
+
deletedAt: Date | null;
|
41816
|
+
address?: string | null | undefined;
|
41817
|
+
name?: string | undefined;
|
41818
|
+
phone?: string | null | undefined;
|
41819
|
+
industry?: string | null | undefined;
|
41820
|
+
}>>;
|
41821
|
+
platformContacts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
41822
|
+
id: import("zod").ZodString;
|
41823
|
+
createdAt: import("zod").ZodDate;
|
41824
|
+
updatedAt: import("zod").ZodDate;
|
41825
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
41826
|
+
channelId: import("zod").ZodString;
|
41827
|
+
socialPlatformId: import("zod").ZodString;
|
41828
|
+
type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
|
41829
|
+
metadata: import("zod").ZodObject<{
|
41830
|
+
id: import("zod").ZodString;
|
41831
|
+
name: import("zod").ZodString;
|
41832
|
+
picture: import("zod").ZodOptional<import("zod").ZodString>;
|
41833
|
+
additionalCredentials: import("zod").ZodAny;
|
41834
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41835
|
+
id: string;
|
41836
|
+
name: string;
|
41837
|
+
picture?: string | undefined;
|
41838
|
+
additionalCredentials?: any;
|
41839
|
+
}, {
|
41840
|
+
id: string;
|
41841
|
+
name: string;
|
41842
|
+
picture?: string | undefined;
|
41843
|
+
additionalCredentials?: any;
|
41844
|
+
}>;
|
41845
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41846
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
41847
|
+
id: string;
|
41848
|
+
metadata: {
|
41849
|
+
id: string;
|
41850
|
+
name: string;
|
41851
|
+
picture?: string | undefined;
|
41852
|
+
additionalCredentials?: any;
|
41853
|
+
};
|
41854
|
+
createdAt: Date;
|
41855
|
+
updatedAt: Date;
|
41856
|
+
deletedAt: Date | null;
|
41857
|
+
channelId: string;
|
41858
|
+
socialPlatformId: string;
|
41859
|
+
}, {
|
41860
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
41861
|
+
id: string;
|
41862
|
+
metadata: {
|
41863
|
+
id: string;
|
41864
|
+
name: string;
|
41865
|
+
picture?: string | undefined;
|
41866
|
+
additionalCredentials?: any;
|
41867
|
+
};
|
41868
|
+
createdAt: Date;
|
41869
|
+
updatedAt: Date;
|
41870
|
+
deletedAt: Date | null;
|
41871
|
+
channelId: string;
|
41872
|
+
socialPlatformId: string;
|
41873
|
+
}>, "many">>;
|
41874
|
+
customFields: import("zod").ZodArray<import("zod").ZodObject<{
|
41875
|
+
id: import("zod").ZodString;
|
41876
|
+
createdAt: import("zod").ZodDate;
|
41877
|
+
updatedAt: import("zod").ZodDate;
|
41878
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
41879
|
+
textValue: import("zod").ZodNullable<import("zod").ZodString>;
|
41880
|
+
booleanValue: import("zod").ZodNullable<import("zod").ZodBoolean>;
|
41881
|
+
numberValue: import("zod").ZodNullable<import("zod").ZodNumber>;
|
41882
|
+
dateValue: import("zod").ZodNullable<import("zod").ZodDate>;
|
41883
|
+
attribute: import("zod").ZodObject<Omit<{
|
41884
|
+
id: import("zod").ZodString;
|
41885
|
+
createdAt: import("zod").ZodDate;
|
41886
|
+
updatedAt: import("zod").ZodDate;
|
41887
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
41888
|
+
systemName: import("zod").ZodString;
|
41889
|
+
displayName: import("zod").ZodString;
|
41890
|
+
type: import("zod").ZodUnion<[import("zod").ZodLiteral<"text">, import("zod").ZodLiteral<"textarea">, import("zod").ZodLiteral<"date">, import("zod").ZodLiteral<"select">, import("zod").ZodLiteral<"link">, import("zod").ZodLiteral<"attachment">]>;
|
41891
|
+
position: import("zod").ZodNumber;
|
41892
|
+
isDefault: import("zod").ZodBoolean;
|
41893
|
+
isArchived: import("zod").ZodBoolean;
|
41894
|
+
isRequired: import("zod").ZodBoolean;
|
41895
|
+
isUnique: import("zod").ZodBoolean;
|
41896
|
+
options: import("zod").ZodArray<import("zod").ZodObject<{
|
41897
|
+
position: import("zod").ZodNumber;
|
41898
|
+
value: import("zod").ZodString;
|
41899
|
+
label: import("zod").ZodString;
|
41900
|
+
isDefault: import("zod").ZodBoolean;
|
41901
|
+
id: import("zod").ZodString;
|
41902
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41903
|
+
id: string;
|
41904
|
+
position: number;
|
41905
|
+
value: string;
|
41906
|
+
label: string;
|
41907
|
+
isDefault: boolean;
|
41908
|
+
}, {
|
41909
|
+
id: string;
|
41910
|
+
position: number;
|
41911
|
+
value: string;
|
41912
|
+
label: string;
|
41913
|
+
isDefault: boolean;
|
41914
|
+
}>, "many">;
|
41915
|
+
group: import("zod").ZodObject<{
|
41916
|
+
id: import("zod").ZodString;
|
41917
|
+
createdAt: import("zod").ZodDate;
|
41918
|
+
updatedAt: import("zod").ZodDate;
|
41919
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
41920
|
+
systemName: import("zod").ZodString;
|
41921
|
+
displayName: import("zod").ZodString;
|
41922
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41923
|
+
id: string;
|
41924
|
+
createdAt: Date;
|
41925
|
+
updatedAt: Date;
|
41926
|
+
deletedAt: Date | null;
|
41927
|
+
systemName: string;
|
41928
|
+
displayName: string;
|
41929
|
+
}, {
|
41930
|
+
id: string;
|
41931
|
+
createdAt: Date;
|
41932
|
+
updatedAt: Date;
|
41933
|
+
deletedAt: Date | null;
|
41934
|
+
systemName: string;
|
41935
|
+
displayName: string;
|
41936
|
+
}>;
|
41937
|
+
}, "options" | "group">, "strip", import("zod").ZodTypeAny, {
|
41938
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
41939
|
+
id: string;
|
41940
|
+
position: number;
|
41941
|
+
createdAt: Date;
|
41942
|
+
updatedAt: Date;
|
41943
|
+
deletedAt: Date | null;
|
41944
|
+
systemName: string;
|
41945
|
+
displayName: string;
|
41946
|
+
isDefault: boolean;
|
41947
|
+
isArchived: boolean;
|
41948
|
+
isRequired: boolean;
|
41949
|
+
isUnique: boolean;
|
41950
|
+
}, {
|
41951
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
41952
|
+
id: string;
|
41953
|
+
position: number;
|
41954
|
+
createdAt: Date;
|
41955
|
+
updatedAt: Date;
|
41956
|
+
deletedAt: Date | null;
|
41957
|
+
systemName: string;
|
41958
|
+
displayName: string;
|
41959
|
+
isDefault: boolean;
|
41960
|
+
isArchived: boolean;
|
41961
|
+
isRequired: boolean;
|
41962
|
+
isUnique: boolean;
|
41963
|
+
}>;
|
41964
|
+
uploads: import("zod").ZodArray<import("zod").ZodObject<{
|
41965
|
+
id: import("zod").ZodString;
|
41966
|
+
createdAt: import("zod").ZodDate;
|
41967
|
+
updatedAt: import("zod").ZodDate;
|
41968
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
41969
|
+
bucketName: import("zod").ZodString;
|
41970
|
+
fileName: import("zod").ZodString;
|
41971
|
+
fileSize: import("zod").ZodNumber;
|
41972
|
+
fileKey: import("zod").ZodString;
|
41973
|
+
fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
41974
|
+
status: import("zod").ZodNullable<import("zod").ZodString>;
|
41975
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41976
|
+
id: string;
|
41977
|
+
status: string | null;
|
41978
|
+
createdAt: Date;
|
41979
|
+
updatedAt: Date;
|
41980
|
+
deletedAt: Date | null;
|
41981
|
+
fileName: string;
|
41982
|
+
fileKey: string;
|
41983
|
+
bucketName: string;
|
41984
|
+
fileSize: number;
|
41985
|
+
fileUrl: string | null;
|
41986
|
+
}, {
|
41987
|
+
id: string;
|
41988
|
+
status: string | null;
|
41989
|
+
createdAt: Date;
|
41990
|
+
updatedAt: Date;
|
41991
|
+
deletedAt: Date | null;
|
41992
|
+
fileName: string;
|
41993
|
+
fileKey: string;
|
41994
|
+
bucketName: string;
|
41995
|
+
fileSize: number;
|
41996
|
+
fileUrl: string | null;
|
41997
|
+
}>, "many">;
|
41998
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41999
|
+
id: string;
|
42000
|
+
createdAt: Date;
|
42001
|
+
updatedAt: Date;
|
42002
|
+
deletedAt: Date | null;
|
42003
|
+
attribute: {
|
42004
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
42005
|
+
id: string;
|
42006
|
+
position: number;
|
42007
|
+
createdAt: Date;
|
42008
|
+
updatedAt: Date;
|
42009
|
+
deletedAt: Date | null;
|
42010
|
+
systemName: string;
|
42011
|
+
displayName: string;
|
42012
|
+
isDefault: boolean;
|
42013
|
+
isArchived: boolean;
|
42014
|
+
isRequired: boolean;
|
42015
|
+
isUnique: boolean;
|
42016
|
+
};
|
42017
|
+
textValue: string | null;
|
42018
|
+
booleanValue: boolean | null;
|
42019
|
+
numberValue: number | null;
|
42020
|
+
dateValue: Date | null;
|
42021
|
+
uploads: {
|
42022
|
+
id: string;
|
42023
|
+
status: string | null;
|
42024
|
+
createdAt: Date;
|
42025
|
+
updatedAt: Date;
|
42026
|
+
deletedAt: Date | null;
|
42027
|
+
fileName: string;
|
42028
|
+
fileKey: string;
|
42029
|
+
bucketName: string;
|
42030
|
+
fileSize: number;
|
42031
|
+
fileUrl: string | null;
|
42032
|
+
}[];
|
42033
|
+
}, {
|
42034
|
+
id: string;
|
42035
|
+
createdAt: Date;
|
42036
|
+
updatedAt: Date;
|
42037
|
+
deletedAt: Date | null;
|
42038
|
+
attribute: {
|
42039
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
42040
|
+
id: string;
|
42041
|
+
position: number;
|
42042
|
+
createdAt: Date;
|
42043
|
+
updatedAt: Date;
|
42044
|
+
deletedAt: Date | null;
|
42045
|
+
systemName: string;
|
42046
|
+
displayName: string;
|
42047
|
+
isDefault: boolean;
|
42048
|
+
isArchived: boolean;
|
42049
|
+
isRequired: boolean;
|
42050
|
+
isUnique: boolean;
|
42051
|
+
};
|
42052
|
+
textValue: string | null;
|
42053
|
+
booleanValue: boolean | null;
|
42054
|
+
numberValue: number | null;
|
42055
|
+
dateValue: Date | null;
|
42056
|
+
uploads: {
|
42057
|
+
id: string;
|
42058
|
+
status: string | null;
|
42059
|
+
createdAt: Date;
|
42060
|
+
updatedAt: Date;
|
42061
|
+
deletedAt: Date | null;
|
42062
|
+
fileName: string;
|
42063
|
+
fileKey: string;
|
42064
|
+
bucketName: string;
|
42065
|
+
fileSize: number;
|
42066
|
+
fileUrl: string | null;
|
42067
|
+
}[];
|
42068
|
+
}>, "many">;
|
42069
|
+
contactEmails: import("zod").ZodArray<import("zod").ZodObject<{
|
42070
|
+
id: import("zod").ZodString;
|
42071
|
+
createdAt: import("zod").ZodDate;
|
42072
|
+
updatedAt: import("zod").ZodDate;
|
42073
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
42074
|
+
email: import("zod").ZodString;
|
42075
|
+
isPrimary: import("zod").ZodBoolean;
|
42076
|
+
}, "strip", import("zod").ZodTypeAny, {
|
42077
|
+
id: string;
|
42078
|
+
isPrimary: boolean;
|
42079
|
+
email: string;
|
42080
|
+
createdAt: Date;
|
42081
|
+
updatedAt: Date;
|
42082
|
+
deletedAt: Date | null;
|
42083
|
+
}, {
|
42084
|
+
id: string;
|
42085
|
+
isPrimary: boolean;
|
42086
|
+
email: string;
|
42087
|
+
createdAt: Date;
|
42088
|
+
updatedAt: Date;
|
42089
|
+
deletedAt: Date | null;
|
42090
|
+
}>, "many">;
|
42091
|
+
contactPhones: import("zod").ZodArray<import("zod").ZodObject<{
|
42092
|
+
id: import("zod").ZodString;
|
42093
|
+
createdAt: import("zod").ZodDate;
|
42094
|
+
updatedAt: import("zod").ZodDate;
|
42095
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
42096
|
+
phone: import("zod").ZodString;
|
42097
|
+
isPrimary: import("zod").ZodBoolean;
|
42098
|
+
}, "strip", import("zod").ZodTypeAny, {
|
42099
|
+
id: string;
|
42100
|
+
isPrimary: boolean;
|
42101
|
+
createdAt: Date;
|
42102
|
+
updatedAt: Date;
|
42103
|
+
deletedAt: Date | null;
|
42104
|
+
phone: string;
|
42105
|
+
}, {
|
42106
|
+
id: string;
|
42107
|
+
isPrimary: boolean;
|
42108
|
+
createdAt: Date;
|
42109
|
+
updatedAt: Date;
|
42110
|
+
deletedAt: Date | null;
|
42111
|
+
phone: string;
|
42112
|
+
}>, "many">;
|
42113
|
+
activityLogs: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
42114
|
+
id: import("zod").ZodString;
|
42115
|
+
createdAt: import("zod").ZodDate;
|
42116
|
+
updatedAt: import("zod").ZodDate;
|
42117
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
42118
|
+
entityId: import("zod").ZodString;
|
42119
|
+
description: import("zod").ZodString;
|
42120
|
+
entityType: import("zod").ZodObject<{
|
42121
|
+
id: import("zod").ZodString;
|
42122
|
+
createdAt: import("zod").ZodDate;
|
42123
|
+
updatedAt: import("zod").ZodDate;
|
42124
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
42125
|
+
entity: import("zod").ZodString;
|
42126
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
42127
|
+
}, "strip", import("zod").ZodTypeAny, {
|
42128
|
+
id: string;
|
42129
|
+
description: string | null;
|
42130
|
+
createdAt: Date;
|
42131
|
+
updatedAt: Date;
|
42132
|
+
deletedAt: Date | null;
|
42133
|
+
entity: string;
|
42134
|
+
}, {
|
42135
|
+
id: string;
|
42136
|
+
description: string | null;
|
42137
|
+
createdAt: Date;
|
42138
|
+
updatedAt: Date;
|
42139
|
+
deletedAt: Date | null;
|
42140
|
+
entity: string;
|
42141
|
+
}>;
|
42142
|
+
}, "strip", import("zod").ZodTypeAny, {
|
42143
|
+
id: string;
|
42144
|
+
description: string;
|
42145
|
+
createdAt: Date;
|
42146
|
+
updatedAt: Date;
|
42147
|
+
deletedAt: Date | null;
|
42148
|
+
entityId: string;
|
42149
|
+
entityType: {
|
42150
|
+
id: string;
|
42151
|
+
description: string | null;
|
42152
|
+
createdAt: Date;
|
42153
|
+
updatedAt: Date;
|
42154
|
+
deletedAt: Date | null;
|
42155
|
+
entity: string;
|
42156
|
+
};
|
42157
|
+
}, {
|
42158
|
+
id: string;
|
42159
|
+
description: string;
|
42160
|
+
createdAt: Date;
|
42161
|
+
updatedAt: Date;
|
42162
|
+
deletedAt: Date | null;
|
42163
|
+
entityId: string;
|
42164
|
+
entityType: {
|
42165
|
+
id: string;
|
42166
|
+
description: string | null;
|
42167
|
+
createdAt: Date;
|
42168
|
+
updatedAt: Date;
|
42169
|
+
deletedAt: Date | null;
|
42170
|
+
entity: string;
|
42171
|
+
};
|
42172
|
+
}>, "many">>;
|
42173
|
+
}, "strip", import("zod").ZodTypeAny, {
|
42174
|
+
id: string;
|
42175
|
+
channel: string | null;
|
42176
|
+
address: string | null;
|
42177
|
+
name: string;
|
42178
|
+
createdAt: Date;
|
42179
|
+
updatedAt: Date;
|
42180
|
+
deletedAt: Date | null;
|
42181
|
+
customFields: {
|
42182
|
+
id: string;
|
42183
|
+
createdAt: Date;
|
42184
|
+
updatedAt: Date;
|
42185
|
+
deletedAt: Date | null;
|
42186
|
+
attribute: {
|
42187
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
42188
|
+
id: string;
|
42189
|
+
position: number;
|
42190
|
+
createdAt: Date;
|
42191
|
+
updatedAt: Date;
|
42192
|
+
deletedAt: Date | null;
|
42193
|
+
systemName: string;
|
42194
|
+
displayName: string;
|
42195
|
+
isDefault: boolean;
|
42196
|
+
isArchived: boolean;
|
42197
|
+
isRequired: boolean;
|
42198
|
+
isUnique: boolean;
|
42199
|
+
};
|
42200
|
+
textValue: string | null;
|
42201
|
+
booleanValue: boolean | null;
|
42202
|
+
numberValue: number | null;
|
42203
|
+
dateValue: Date | null;
|
42204
|
+
uploads: {
|
42205
|
+
id: string;
|
42206
|
+
status: string | null;
|
42207
|
+
createdAt: Date;
|
42208
|
+
updatedAt: Date;
|
42209
|
+
deletedAt: Date | null;
|
42210
|
+
fileName: string;
|
42211
|
+
fileKey: string;
|
42212
|
+
bucketName: string;
|
42213
|
+
fileSize: number;
|
42214
|
+
fileUrl: string | null;
|
42215
|
+
}[];
|
42216
|
+
}[];
|
42217
|
+
company: {
|
42218
|
+
id: string;
|
42219
|
+
createdAt: Date;
|
42220
|
+
updatedAt: Date;
|
42221
|
+
deletedAt: Date | null;
|
42222
|
+
address?: string | null | undefined;
|
42223
|
+
name?: string | undefined;
|
42224
|
+
phone?: string | null | undefined;
|
42225
|
+
industry?: string | null | undefined;
|
42226
|
+
} | null;
|
42227
|
+
notes: string | null;
|
42228
|
+
contactProfile: string | null;
|
42229
|
+
socialProfileUrl: string | null;
|
42230
|
+
tags: {
|
42231
|
+
id: string;
|
42232
|
+
name: string;
|
42233
|
+
createdAt: Date;
|
42234
|
+
updatedAt: Date;
|
42235
|
+
deletedAt: Date | null;
|
42236
|
+
}[];
|
42237
|
+
contactEmails: {
|
42238
|
+
id: string;
|
42239
|
+
isPrimary: boolean;
|
42240
|
+
email: string;
|
42241
|
+
createdAt: Date;
|
42242
|
+
updatedAt: Date;
|
42243
|
+
deletedAt: Date | null;
|
42244
|
+
}[];
|
42245
|
+
contactPhones: {
|
42246
|
+
id: string;
|
42247
|
+
isPrimary: boolean;
|
42248
|
+
createdAt: Date;
|
42249
|
+
updatedAt: Date;
|
42250
|
+
deletedAt: Date | null;
|
42251
|
+
phone: string;
|
42252
|
+
}[];
|
42253
|
+
platformContacts?: {
|
42254
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
42255
|
+
id: string;
|
42256
|
+
metadata: {
|
42257
|
+
id: string;
|
42258
|
+
name: string;
|
42259
|
+
picture?: string | undefined;
|
42260
|
+
additionalCredentials?: any;
|
42261
|
+
};
|
42262
|
+
createdAt: Date;
|
42263
|
+
updatedAt: Date;
|
42264
|
+
deletedAt: Date | null;
|
42265
|
+
channelId: string;
|
42266
|
+
socialPlatformId: string;
|
42267
|
+
}[] | undefined;
|
42268
|
+
activityLogs?: {
|
42269
|
+
id: string;
|
42270
|
+
description: string;
|
42271
|
+
createdAt: Date;
|
42272
|
+
updatedAt: Date;
|
42273
|
+
deletedAt: Date | null;
|
42274
|
+
entityId: string;
|
42275
|
+
entityType: {
|
42276
|
+
id: string;
|
42277
|
+
description: string | null;
|
42278
|
+
createdAt: Date;
|
42279
|
+
updatedAt: Date;
|
42280
|
+
deletedAt: Date | null;
|
42281
|
+
entity: string;
|
42282
|
+
};
|
42283
|
+
}[] | undefined;
|
42284
|
+
}, {
|
42285
|
+
id: string;
|
42286
|
+
channel: string | null;
|
42287
|
+
address: string | null;
|
42288
|
+
name: string;
|
42289
|
+
createdAt: Date;
|
42290
|
+
updatedAt: Date;
|
42291
|
+
deletedAt: Date | null;
|
42292
|
+
customFields: {
|
42293
|
+
id: string;
|
42294
|
+
createdAt: Date;
|
42295
|
+
updatedAt: Date;
|
42296
|
+
deletedAt: Date | null;
|
42297
|
+
attribute: {
|
42298
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
42299
|
+
id: string;
|
42300
|
+
position: number;
|
42301
|
+
createdAt: Date;
|
42302
|
+
updatedAt: Date;
|
42303
|
+
deletedAt: Date | null;
|
42304
|
+
systemName: string;
|
42305
|
+
displayName: string;
|
42306
|
+
isDefault: boolean;
|
42307
|
+
isArchived: boolean;
|
42308
|
+
isRequired: boolean;
|
42309
|
+
isUnique: boolean;
|
42310
|
+
};
|
42311
|
+
textValue: string | null;
|
42312
|
+
booleanValue: boolean | null;
|
42313
|
+
numberValue: number | null;
|
42314
|
+
dateValue: Date | null;
|
42315
|
+
uploads: {
|
42316
|
+
id: string;
|
42317
|
+
status: string | null;
|
42318
|
+
createdAt: Date;
|
42319
|
+
updatedAt: Date;
|
42320
|
+
deletedAt: Date | null;
|
42321
|
+
fileName: string;
|
42322
|
+
fileKey: string;
|
42323
|
+
bucketName: string;
|
42324
|
+
fileSize: number;
|
42325
|
+
fileUrl: string | null;
|
42326
|
+
}[];
|
42327
|
+
}[];
|
42328
|
+
company: {
|
42329
|
+
id: string;
|
42330
|
+
createdAt: Date;
|
42331
|
+
updatedAt: Date;
|
42332
|
+
deletedAt: Date | null;
|
42333
|
+
address?: string | null | undefined;
|
42334
|
+
name?: string | undefined;
|
42335
|
+
phone?: string | null | undefined;
|
42336
|
+
industry?: string | null | undefined;
|
42337
|
+
} | null;
|
42338
|
+
notes: string | null;
|
42339
|
+
contactProfile: string | null;
|
42340
|
+
socialProfileUrl: string | null;
|
42341
|
+
tags: {
|
42342
|
+
id: string;
|
42343
|
+
name: string;
|
42344
|
+
createdAt: Date;
|
42345
|
+
updatedAt: Date;
|
42346
|
+
deletedAt: Date | null;
|
42347
|
+
}[];
|
42348
|
+
contactEmails: {
|
42349
|
+
id: string;
|
42350
|
+
isPrimary: boolean;
|
42351
|
+
email: string;
|
42352
|
+
createdAt: Date;
|
42353
|
+
updatedAt: Date;
|
42354
|
+
deletedAt: Date | null;
|
42355
|
+
}[];
|
42356
|
+
contactPhones: {
|
42357
|
+
id: string;
|
42358
|
+
isPrimary: boolean;
|
42359
|
+
createdAt: Date;
|
42360
|
+
updatedAt: Date;
|
42361
|
+
deletedAt: Date | null;
|
42362
|
+
phone: string;
|
42363
|
+
}[];
|
42364
|
+
platformContacts?: {
|
42365
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
42366
|
+
id: string;
|
42367
|
+
metadata: {
|
42368
|
+
id: string;
|
42369
|
+
name: string;
|
42370
|
+
picture?: string | undefined;
|
42371
|
+
additionalCredentials?: any;
|
42372
|
+
};
|
42373
|
+
createdAt: Date;
|
42374
|
+
updatedAt: Date;
|
42375
|
+
deletedAt: Date | null;
|
42376
|
+
channelId: string;
|
42377
|
+
socialPlatformId: string;
|
42378
|
+
}[] | undefined;
|
42379
|
+
activityLogs?: {
|
42380
|
+
id: string;
|
42381
|
+
description: string;
|
42382
|
+
createdAt: Date;
|
42383
|
+
updatedAt: Date;
|
42384
|
+
deletedAt: Date | null;
|
42385
|
+
entityId: string;
|
42386
|
+
entityType: {
|
42387
|
+
id: string;
|
42388
|
+
description: string | null;
|
42389
|
+
createdAt: Date;
|
42390
|
+
updatedAt: Date;
|
42391
|
+
deletedAt: Date | null;
|
42392
|
+
entity: string;
|
42393
|
+
};
|
42394
|
+
}[] | undefined;
|
42395
|
+
}>;
|
40625
42396
|
}, "strip", import("zod").ZodTypeAny, {
|
42397
|
+
data: {
|
42398
|
+
id: string;
|
42399
|
+
channel: string | null;
|
42400
|
+
address: string | null;
|
42401
|
+
name: string;
|
42402
|
+
createdAt: Date;
|
42403
|
+
updatedAt: Date;
|
42404
|
+
deletedAt: Date | null;
|
42405
|
+
customFields: {
|
42406
|
+
id: string;
|
42407
|
+
createdAt: Date;
|
42408
|
+
updatedAt: Date;
|
42409
|
+
deletedAt: Date | null;
|
42410
|
+
attribute: {
|
42411
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
42412
|
+
id: string;
|
42413
|
+
position: number;
|
42414
|
+
createdAt: Date;
|
42415
|
+
updatedAt: Date;
|
42416
|
+
deletedAt: Date | null;
|
42417
|
+
systemName: string;
|
42418
|
+
displayName: string;
|
42419
|
+
isDefault: boolean;
|
42420
|
+
isArchived: boolean;
|
42421
|
+
isRequired: boolean;
|
42422
|
+
isUnique: boolean;
|
42423
|
+
};
|
42424
|
+
textValue: string | null;
|
42425
|
+
booleanValue: boolean | null;
|
42426
|
+
numberValue: number | null;
|
42427
|
+
dateValue: Date | null;
|
42428
|
+
uploads: {
|
42429
|
+
id: string;
|
42430
|
+
status: string | null;
|
42431
|
+
createdAt: Date;
|
42432
|
+
updatedAt: Date;
|
42433
|
+
deletedAt: Date | null;
|
42434
|
+
fileName: string;
|
42435
|
+
fileKey: string;
|
42436
|
+
bucketName: string;
|
42437
|
+
fileSize: number;
|
42438
|
+
fileUrl: string | null;
|
42439
|
+
}[];
|
42440
|
+
}[];
|
42441
|
+
company: {
|
42442
|
+
id: string;
|
42443
|
+
createdAt: Date;
|
42444
|
+
updatedAt: Date;
|
42445
|
+
deletedAt: Date | null;
|
42446
|
+
address?: string | null | undefined;
|
42447
|
+
name?: string | undefined;
|
42448
|
+
phone?: string | null | undefined;
|
42449
|
+
industry?: string | null | undefined;
|
42450
|
+
} | null;
|
42451
|
+
notes: string | null;
|
42452
|
+
contactProfile: string | null;
|
42453
|
+
socialProfileUrl: string | null;
|
42454
|
+
tags: {
|
42455
|
+
id: string;
|
42456
|
+
name: string;
|
42457
|
+
createdAt: Date;
|
42458
|
+
updatedAt: Date;
|
42459
|
+
deletedAt: Date | null;
|
42460
|
+
}[];
|
42461
|
+
contactEmails: {
|
42462
|
+
id: string;
|
42463
|
+
isPrimary: boolean;
|
42464
|
+
email: string;
|
42465
|
+
createdAt: Date;
|
42466
|
+
updatedAt: Date;
|
42467
|
+
deletedAt: Date | null;
|
42468
|
+
}[];
|
42469
|
+
contactPhones: {
|
42470
|
+
id: string;
|
42471
|
+
isPrimary: boolean;
|
42472
|
+
createdAt: Date;
|
42473
|
+
updatedAt: Date;
|
42474
|
+
deletedAt: Date | null;
|
42475
|
+
phone: string;
|
42476
|
+
}[];
|
42477
|
+
platformContacts?: {
|
42478
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
42479
|
+
id: string;
|
42480
|
+
metadata: {
|
42481
|
+
id: string;
|
42482
|
+
name: string;
|
42483
|
+
picture?: string | undefined;
|
42484
|
+
additionalCredentials?: any;
|
42485
|
+
};
|
42486
|
+
createdAt: Date;
|
42487
|
+
updatedAt: Date;
|
42488
|
+
deletedAt: Date | null;
|
42489
|
+
channelId: string;
|
42490
|
+
socialPlatformId: string;
|
42491
|
+
}[] | undefined;
|
42492
|
+
activityLogs?: {
|
42493
|
+
id: string;
|
42494
|
+
description: string;
|
42495
|
+
createdAt: Date;
|
42496
|
+
updatedAt: Date;
|
42497
|
+
deletedAt: Date | null;
|
42498
|
+
entityId: string;
|
42499
|
+
entityType: {
|
42500
|
+
id: string;
|
42501
|
+
description: string | null;
|
42502
|
+
createdAt: Date;
|
42503
|
+
updatedAt: Date;
|
42504
|
+
deletedAt: Date | null;
|
42505
|
+
entity: string;
|
42506
|
+
};
|
42507
|
+
}[] | undefined;
|
42508
|
+
};
|
40626
42509
|
requestId: string;
|
40627
42510
|
}, {
|
42511
|
+
data: {
|
42512
|
+
id: string;
|
42513
|
+
channel: string | null;
|
42514
|
+
address: string | null;
|
42515
|
+
name: string;
|
42516
|
+
createdAt: Date;
|
42517
|
+
updatedAt: Date;
|
42518
|
+
deletedAt: Date | null;
|
42519
|
+
customFields: {
|
42520
|
+
id: string;
|
42521
|
+
createdAt: Date;
|
42522
|
+
updatedAt: Date;
|
42523
|
+
deletedAt: Date | null;
|
42524
|
+
attribute: {
|
42525
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
42526
|
+
id: string;
|
42527
|
+
position: number;
|
42528
|
+
createdAt: Date;
|
42529
|
+
updatedAt: Date;
|
42530
|
+
deletedAt: Date | null;
|
42531
|
+
systemName: string;
|
42532
|
+
displayName: string;
|
42533
|
+
isDefault: boolean;
|
42534
|
+
isArchived: boolean;
|
42535
|
+
isRequired: boolean;
|
42536
|
+
isUnique: boolean;
|
42537
|
+
};
|
42538
|
+
textValue: string | null;
|
42539
|
+
booleanValue: boolean | null;
|
42540
|
+
numberValue: number | null;
|
42541
|
+
dateValue: Date | null;
|
42542
|
+
uploads: {
|
42543
|
+
id: string;
|
42544
|
+
status: string | null;
|
42545
|
+
createdAt: Date;
|
42546
|
+
updatedAt: Date;
|
42547
|
+
deletedAt: Date | null;
|
42548
|
+
fileName: string;
|
42549
|
+
fileKey: string;
|
42550
|
+
bucketName: string;
|
42551
|
+
fileSize: number;
|
42552
|
+
fileUrl: string | null;
|
42553
|
+
}[];
|
42554
|
+
}[];
|
42555
|
+
company: {
|
42556
|
+
id: string;
|
42557
|
+
createdAt: Date;
|
42558
|
+
updatedAt: Date;
|
42559
|
+
deletedAt: Date | null;
|
42560
|
+
address?: string | null | undefined;
|
42561
|
+
name?: string | undefined;
|
42562
|
+
phone?: string | null | undefined;
|
42563
|
+
industry?: string | null | undefined;
|
42564
|
+
} | null;
|
42565
|
+
notes: string | null;
|
42566
|
+
contactProfile: string | null;
|
42567
|
+
socialProfileUrl: string | null;
|
42568
|
+
tags: {
|
42569
|
+
id: string;
|
42570
|
+
name: string;
|
42571
|
+
createdAt: Date;
|
42572
|
+
updatedAt: Date;
|
42573
|
+
deletedAt: Date | null;
|
42574
|
+
}[];
|
42575
|
+
contactEmails: {
|
42576
|
+
id: string;
|
42577
|
+
isPrimary: boolean;
|
42578
|
+
email: string;
|
42579
|
+
createdAt: Date;
|
42580
|
+
updatedAt: Date;
|
42581
|
+
deletedAt: Date | null;
|
42582
|
+
}[];
|
42583
|
+
contactPhones: {
|
42584
|
+
id: string;
|
42585
|
+
isPrimary: boolean;
|
42586
|
+
createdAt: Date;
|
42587
|
+
updatedAt: Date;
|
42588
|
+
deletedAt: Date | null;
|
42589
|
+
phone: string;
|
42590
|
+
}[];
|
42591
|
+
platformContacts?: {
|
42592
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
42593
|
+
id: string;
|
42594
|
+
metadata: {
|
42595
|
+
id: string;
|
42596
|
+
name: string;
|
42597
|
+
picture?: string | undefined;
|
42598
|
+
additionalCredentials?: any;
|
42599
|
+
};
|
42600
|
+
createdAt: Date;
|
42601
|
+
updatedAt: Date;
|
42602
|
+
deletedAt: Date | null;
|
42603
|
+
channelId: string;
|
42604
|
+
socialPlatformId: string;
|
42605
|
+
}[] | undefined;
|
42606
|
+
activityLogs?: {
|
42607
|
+
id: string;
|
42608
|
+
description: string;
|
42609
|
+
createdAt: Date;
|
42610
|
+
updatedAt: Date;
|
42611
|
+
deletedAt: Date | null;
|
42612
|
+
entityId: string;
|
42613
|
+
entityType: {
|
42614
|
+
id: string;
|
42615
|
+
description: string | null;
|
42616
|
+
createdAt: Date;
|
42617
|
+
updatedAt: Date;
|
42618
|
+
deletedAt: Date | null;
|
42619
|
+
entity: string;
|
42620
|
+
};
|
42621
|
+
}[] | undefined;
|
42622
|
+
};
|
40628
42623
|
requestId: string;
|
40629
42624
|
}>;
|
40630
42625
|
400: import("zod").ZodObject<{
|