@kl1/contracts 1.2.85-uat → 1.2.86-uat
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/api-contracts/src/contract.d.ts +1616 -76
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/index.d.ts +813 -39
- package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/schema.d.ts +98 -4
- package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/validation.d.ts +171 -12
- package/dist/api-contracts/src/widget/validation.d.ts.map +1 -1
- package/dist/index.js +36 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +36 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -29609,9 +29609,9 @@ export declare const apiContract: {
|
|
|
29609
29609
|
createWidget: {
|
|
29610
29610
|
body: import("zod").ZodObject<{
|
|
29611
29611
|
name: import("zod").ZodString;
|
|
29612
|
-
description: import("zod").ZodString
|
|
29612
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
29613
29613
|
url: import("zod").ZodString;
|
|
29614
|
-
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">]>;
|
|
29614
|
+
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">, import("zod").ZodLiteral<"contact_profile">, import("zod").ZodLiteral<"inbox_detail">]>;
|
|
29615
29615
|
fields: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
29616
29616
|
data: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
29617
29617
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -29619,22 +29619,89 @@ export declare const apiContract: {
|
|
|
29619
29619
|
}, {
|
|
29620
29620
|
data: string[];
|
|
29621
29621
|
}>>;
|
|
29622
|
+
widgetUploadAttachment: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
29623
|
+
bucketName: import("zod").ZodString;
|
|
29624
|
+
fileKey: import("zod").ZodString;
|
|
29625
|
+
fileName: import("zod").ZodString;
|
|
29626
|
+
fileSize: import("zod").ZodNumber;
|
|
29627
|
+
url: import("zod").ZodNullable<import("zod").ZodString>;
|
|
29628
|
+
fileType: import("zod").ZodString;
|
|
29629
|
+
thumbnailUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
29630
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
29631
|
+
url: string | null;
|
|
29632
|
+
fileName: string;
|
|
29633
|
+
fileType: string;
|
|
29634
|
+
fileKey: string;
|
|
29635
|
+
bucketName: string;
|
|
29636
|
+
fileSize: number;
|
|
29637
|
+
thumbnailUrl?: string | undefined;
|
|
29638
|
+
}, {
|
|
29639
|
+
url: string | null;
|
|
29640
|
+
fileName: string;
|
|
29641
|
+
fileType: string;
|
|
29642
|
+
fileKey: string;
|
|
29643
|
+
bucketName: string;
|
|
29644
|
+
fileSize: number;
|
|
29645
|
+
thumbnailUrl?: string | undefined;
|
|
29646
|
+
}>>;
|
|
29647
|
+
type: import("zod").ZodUnion<[import("zod").ZodLiteral<"iframe">, import("zod").ZodLiteral<"custom">]>;
|
|
29648
|
+
headers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
29649
|
+
key: import("zod").ZodString;
|
|
29650
|
+
value: import("zod").ZodString;
|
|
29651
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
29652
|
+
key: string;
|
|
29653
|
+
value: string;
|
|
29654
|
+
}, {
|
|
29655
|
+
key: string;
|
|
29656
|
+
value: string;
|
|
29657
|
+
}>, "many">>;
|
|
29658
|
+
method: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"get">, import("zod").ZodLiteral<"post">]>>;
|
|
29622
29659
|
}, "strip", import("zod").ZodTypeAny, {
|
|
29623
29660
|
name: string;
|
|
29661
|
+
type: "custom" | "iframe";
|
|
29624
29662
|
url: string;
|
|
29625
|
-
position: "menu" | "ticket_detail" | "contact_detail";
|
|
29626
|
-
description
|
|
29663
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
29664
|
+
description?: string | undefined;
|
|
29627
29665
|
fields?: {
|
|
29628
29666
|
data: string[];
|
|
29629
29667
|
} | undefined;
|
|
29668
|
+
widgetUploadAttachment?: {
|
|
29669
|
+
url: string | null;
|
|
29670
|
+
fileName: string;
|
|
29671
|
+
fileType: string;
|
|
29672
|
+
fileKey: string;
|
|
29673
|
+
bucketName: string;
|
|
29674
|
+
fileSize: number;
|
|
29675
|
+
thumbnailUrl?: string | undefined;
|
|
29676
|
+
} | undefined;
|
|
29677
|
+
headers?: {
|
|
29678
|
+
key: string;
|
|
29679
|
+
value: string;
|
|
29680
|
+
}[] | undefined;
|
|
29681
|
+
method?: "get" | "post" | undefined;
|
|
29630
29682
|
}, {
|
|
29631
29683
|
name: string;
|
|
29684
|
+
type: "custom" | "iframe";
|
|
29632
29685
|
url: string;
|
|
29633
|
-
position: "menu" | "ticket_detail" | "contact_detail";
|
|
29634
|
-
description
|
|
29686
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
29687
|
+
description?: string | undefined;
|
|
29635
29688
|
fields?: {
|
|
29636
29689
|
data: string[];
|
|
29637
29690
|
} | undefined;
|
|
29691
|
+
widgetUploadAttachment?: {
|
|
29692
|
+
url: string | null;
|
|
29693
|
+
fileName: string;
|
|
29694
|
+
fileType: string;
|
|
29695
|
+
fileKey: string;
|
|
29696
|
+
bucketName: string;
|
|
29697
|
+
fileSize: number;
|
|
29698
|
+
thumbnailUrl?: string | undefined;
|
|
29699
|
+
} | undefined;
|
|
29700
|
+
headers?: {
|
|
29701
|
+
key: string;
|
|
29702
|
+
value: string;
|
|
29703
|
+
}[] | undefined;
|
|
29704
|
+
method?: "get" | "post" | undefined;
|
|
29638
29705
|
}>;
|
|
29639
29706
|
summary: "Create a widget.";
|
|
29640
29707
|
method: "POST";
|
|
@@ -29648,7 +29715,7 @@ export declare const apiContract: {
|
|
|
29648
29715
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
29649
29716
|
name: import("zod").ZodString;
|
|
29650
29717
|
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
29651
|
-
position: import("zod").
|
|
29718
|
+
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">, import("zod").ZodLiteral<"contact_profile">, import("zod").ZodLiteral<"inbox_detail">]>;
|
|
29652
29719
|
fields: import("zod").ZodObject<{
|
|
29653
29720
|
data: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
29654
29721
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -29657,27 +29724,109 @@ export declare const apiContract: {
|
|
|
29657
29724
|
data: string[];
|
|
29658
29725
|
}>;
|
|
29659
29726
|
url: import("zod").ZodString;
|
|
29727
|
+
upload: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
29728
|
+
id: import("zod").ZodString;
|
|
29729
|
+
createdAt: import("zod").ZodDate;
|
|
29730
|
+
updatedAt: import("zod").ZodDate;
|
|
29731
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
29732
|
+
bucketName: import("zod").ZodString;
|
|
29733
|
+
fileName: import("zod").ZodString;
|
|
29734
|
+
fileSize: import("zod").ZodNumber;
|
|
29735
|
+
fileKey: import("zod").ZodString;
|
|
29736
|
+
fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
|
29737
|
+
status: import("zod").ZodNullable<import("zod").ZodString>;
|
|
29738
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
29739
|
+
id: string;
|
|
29740
|
+
status: string | null;
|
|
29741
|
+
createdAt: Date;
|
|
29742
|
+
updatedAt: Date;
|
|
29743
|
+
deletedAt: Date | null;
|
|
29744
|
+
fileName: string;
|
|
29745
|
+
fileKey: string;
|
|
29746
|
+
bucketName: string;
|
|
29747
|
+
fileSize: number;
|
|
29748
|
+
fileUrl: string | null;
|
|
29749
|
+
}, {
|
|
29750
|
+
id: string;
|
|
29751
|
+
status: string | null;
|
|
29752
|
+
createdAt: Date;
|
|
29753
|
+
updatedAt: Date;
|
|
29754
|
+
deletedAt: Date | null;
|
|
29755
|
+
fileName: string;
|
|
29756
|
+
fileKey: string;
|
|
29757
|
+
bucketName: string;
|
|
29758
|
+
fileSize: number;
|
|
29759
|
+
fileUrl: string | null;
|
|
29760
|
+
}>>;
|
|
29761
|
+
type: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"iframe">, import("zod").ZodLiteral<"custom">]>>;
|
|
29762
|
+
headers: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
|
|
29763
|
+
key: import("zod").ZodString;
|
|
29764
|
+
value: import("zod").ZodString;
|
|
29765
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
29766
|
+
key: string;
|
|
29767
|
+
value: string;
|
|
29768
|
+
}, {
|
|
29769
|
+
key: string;
|
|
29770
|
+
value: string;
|
|
29771
|
+
}>, "many">>;
|
|
29772
|
+
method: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"get">, import("zod").ZodLiteral<"post">]>>;
|
|
29660
29773
|
}, "strip", import("zod").ZodTypeAny, {
|
|
29661
29774
|
name: string;
|
|
29775
|
+
type: "custom" | "iframe" | null;
|
|
29662
29776
|
id: string;
|
|
29663
29777
|
url: string;
|
|
29664
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
|
29778
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
29779
|
+
method: "get" | "post" | null;
|
|
29665
29780
|
description: string | null;
|
|
29666
29781
|
createdAt: Date;
|
|
29667
29782
|
updatedAt: Date;
|
|
29668
29783
|
deletedAt: Date | null;
|
|
29784
|
+
headers: {
|
|
29785
|
+
key: string;
|
|
29786
|
+
value: string;
|
|
29787
|
+
}[] | null;
|
|
29788
|
+
upload: {
|
|
29789
|
+
id: string;
|
|
29790
|
+
status: string | null;
|
|
29791
|
+
createdAt: Date;
|
|
29792
|
+
updatedAt: Date;
|
|
29793
|
+
deletedAt: Date | null;
|
|
29794
|
+
fileName: string;
|
|
29795
|
+
fileKey: string;
|
|
29796
|
+
bucketName: string;
|
|
29797
|
+
fileSize: number;
|
|
29798
|
+
fileUrl: string | null;
|
|
29799
|
+
} | null;
|
|
29669
29800
|
fields: {
|
|
29670
29801
|
data: string[];
|
|
29671
29802
|
};
|
|
29672
29803
|
}, {
|
|
29673
29804
|
name: string;
|
|
29805
|
+
type: "custom" | "iframe" | null;
|
|
29674
29806
|
id: string;
|
|
29675
29807
|
url: string;
|
|
29676
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
|
29808
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
29809
|
+
method: "get" | "post" | null;
|
|
29677
29810
|
description: string | null;
|
|
29678
29811
|
createdAt: Date;
|
|
29679
29812
|
updatedAt: Date;
|
|
29680
29813
|
deletedAt: Date | null;
|
|
29814
|
+
headers: {
|
|
29815
|
+
key: string;
|
|
29816
|
+
value: string;
|
|
29817
|
+
}[] | null;
|
|
29818
|
+
upload: {
|
|
29819
|
+
id: string;
|
|
29820
|
+
status: string | null;
|
|
29821
|
+
createdAt: Date;
|
|
29822
|
+
updatedAt: Date;
|
|
29823
|
+
deletedAt: Date | null;
|
|
29824
|
+
fileName: string;
|
|
29825
|
+
fileKey: string;
|
|
29826
|
+
bucketName: string;
|
|
29827
|
+
fileSize: number;
|
|
29828
|
+
fileUrl: string | null;
|
|
29829
|
+
} | null;
|
|
29681
29830
|
fields: {
|
|
29682
29831
|
data: string[];
|
|
29683
29832
|
};
|
|
@@ -29686,13 +29835,31 @@ export declare const apiContract: {
|
|
|
29686
29835
|
requestId: string;
|
|
29687
29836
|
widget: {
|
|
29688
29837
|
name: string;
|
|
29838
|
+
type: "custom" | "iframe" | null;
|
|
29689
29839
|
id: string;
|
|
29690
29840
|
url: string;
|
|
29691
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
|
29841
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
29842
|
+
method: "get" | "post" | null;
|
|
29692
29843
|
description: string | null;
|
|
29693
29844
|
createdAt: Date;
|
|
29694
29845
|
updatedAt: Date;
|
|
29695
29846
|
deletedAt: Date | null;
|
|
29847
|
+
headers: {
|
|
29848
|
+
key: string;
|
|
29849
|
+
value: string;
|
|
29850
|
+
}[] | null;
|
|
29851
|
+
upload: {
|
|
29852
|
+
id: string;
|
|
29853
|
+
status: string | null;
|
|
29854
|
+
createdAt: Date;
|
|
29855
|
+
updatedAt: Date;
|
|
29856
|
+
deletedAt: Date | null;
|
|
29857
|
+
fileName: string;
|
|
29858
|
+
fileKey: string;
|
|
29859
|
+
bucketName: string;
|
|
29860
|
+
fileSize: number;
|
|
29861
|
+
fileUrl: string | null;
|
|
29862
|
+
} | null;
|
|
29696
29863
|
fields: {
|
|
29697
29864
|
data: string[];
|
|
29698
29865
|
};
|
|
@@ -29701,13 +29868,31 @@ export declare const apiContract: {
|
|
|
29701
29868
|
requestId: string;
|
|
29702
29869
|
widget: {
|
|
29703
29870
|
name: string;
|
|
29871
|
+
type: "custom" | "iframe" | null;
|
|
29704
29872
|
id: string;
|
|
29705
29873
|
url: string;
|
|
29706
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
|
29874
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
29875
|
+
method: "get" | "post" | null;
|
|
29707
29876
|
description: string | null;
|
|
29708
29877
|
createdAt: Date;
|
|
29709
29878
|
updatedAt: Date;
|
|
29710
29879
|
deletedAt: Date | null;
|
|
29880
|
+
headers: {
|
|
29881
|
+
key: string;
|
|
29882
|
+
value: string;
|
|
29883
|
+
}[] | null;
|
|
29884
|
+
upload: {
|
|
29885
|
+
id: string;
|
|
29886
|
+
status: string | null;
|
|
29887
|
+
createdAt: Date;
|
|
29888
|
+
updatedAt: Date;
|
|
29889
|
+
deletedAt: Date | null;
|
|
29890
|
+
fileName: string;
|
|
29891
|
+
fileKey: string;
|
|
29892
|
+
bucketName: string;
|
|
29893
|
+
fileSize: number;
|
|
29894
|
+
fileUrl: string | null;
|
|
29895
|
+
} | null;
|
|
29711
29896
|
fields: {
|
|
29712
29897
|
data: string[];
|
|
29713
29898
|
};
|
|
@@ -29783,25 +29968,61 @@ export declare const apiContract: {
|
|
|
29783
29968
|
lastPage: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
29784
29969
|
data: import("zod").ZodArray<import("zod").ZodType<{
|
|
29785
29970
|
name: string;
|
|
29971
|
+
type: "custom" | "iframe" | null;
|
|
29786
29972
|
id: string;
|
|
29787
29973
|
url: string;
|
|
29788
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
|
29974
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
29975
|
+
method: "get" | "post" | null;
|
|
29789
29976
|
description: string | null;
|
|
29790
29977
|
createdAt: Date;
|
|
29791
29978
|
updatedAt: Date;
|
|
29792
29979
|
deletedAt: Date | null;
|
|
29980
|
+
headers: {
|
|
29981
|
+
key: string;
|
|
29982
|
+
value: string;
|
|
29983
|
+
}[] | null;
|
|
29984
|
+
upload: {
|
|
29985
|
+
id: string;
|
|
29986
|
+
status: string | null;
|
|
29987
|
+
createdAt: Date;
|
|
29988
|
+
updatedAt: Date;
|
|
29989
|
+
deletedAt: Date | null;
|
|
29990
|
+
fileName: string;
|
|
29991
|
+
fileKey: string;
|
|
29992
|
+
bucketName: string;
|
|
29993
|
+
fileSize: number;
|
|
29994
|
+
fileUrl: string | null;
|
|
29995
|
+
} | null;
|
|
29793
29996
|
fields: {
|
|
29794
29997
|
data: string[];
|
|
29795
29998
|
};
|
|
29796
29999
|
}, import("zod").ZodTypeDef, {
|
|
29797
30000
|
name: string;
|
|
30001
|
+
type: "custom" | "iframe" | null;
|
|
29798
30002
|
id: string;
|
|
29799
30003
|
url: string;
|
|
29800
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
|
30004
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
30005
|
+
method: "get" | "post" | null;
|
|
29801
30006
|
description: string | null;
|
|
29802
30007
|
createdAt: Date;
|
|
29803
30008
|
updatedAt: Date;
|
|
29804
30009
|
deletedAt: Date | null;
|
|
30010
|
+
headers: {
|
|
30011
|
+
key: string;
|
|
30012
|
+
value: string;
|
|
30013
|
+
}[] | null;
|
|
30014
|
+
upload: {
|
|
30015
|
+
id: string;
|
|
30016
|
+
status: string | null;
|
|
30017
|
+
createdAt: Date;
|
|
30018
|
+
updatedAt: Date;
|
|
30019
|
+
deletedAt: Date | null;
|
|
30020
|
+
fileName: string;
|
|
30021
|
+
fileKey: string;
|
|
30022
|
+
bucketName: string;
|
|
30023
|
+
fileSize: number;
|
|
30024
|
+
fileUrl: string | null;
|
|
30025
|
+
} | null;
|
|
29805
30026
|
fields: {
|
|
29806
30027
|
data: string[];
|
|
29807
30028
|
};
|
|
@@ -29809,13 +30030,31 @@ export declare const apiContract: {
|
|
|
29809
30030
|
}, "strip", import("zod").ZodTypeAny, {
|
|
29810
30031
|
data: {
|
|
29811
30032
|
name: string;
|
|
30033
|
+
type: "custom" | "iframe" | null;
|
|
29812
30034
|
id: string;
|
|
29813
30035
|
url: string;
|
|
29814
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
|
30036
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
30037
|
+
method: "get" | "post" | null;
|
|
29815
30038
|
description: string | null;
|
|
29816
30039
|
createdAt: Date;
|
|
29817
30040
|
updatedAt: Date;
|
|
29818
30041
|
deletedAt: Date | null;
|
|
30042
|
+
headers: {
|
|
30043
|
+
key: string;
|
|
30044
|
+
value: string;
|
|
30045
|
+
}[] | null;
|
|
30046
|
+
upload: {
|
|
30047
|
+
id: string;
|
|
30048
|
+
status: string | null;
|
|
30049
|
+
createdAt: Date;
|
|
30050
|
+
updatedAt: Date;
|
|
30051
|
+
deletedAt: Date | null;
|
|
30052
|
+
fileName: string;
|
|
30053
|
+
fileKey: string;
|
|
30054
|
+
bucketName: string;
|
|
30055
|
+
fileSize: number;
|
|
30056
|
+
fileUrl: string | null;
|
|
30057
|
+
} | null;
|
|
29819
30058
|
fields: {
|
|
29820
30059
|
data: string[];
|
|
29821
30060
|
};
|
|
@@ -29827,13 +30066,31 @@ export declare const apiContract: {
|
|
|
29827
30066
|
}, {
|
|
29828
30067
|
data: {
|
|
29829
30068
|
name: string;
|
|
30069
|
+
type: "custom" | "iframe" | null;
|
|
29830
30070
|
id: string;
|
|
29831
30071
|
url: string;
|
|
29832
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
|
30072
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
30073
|
+
method: "get" | "post" | null;
|
|
29833
30074
|
description: string | null;
|
|
29834
30075
|
createdAt: Date;
|
|
29835
30076
|
updatedAt: Date;
|
|
29836
30077
|
deletedAt: Date | null;
|
|
30078
|
+
headers: {
|
|
30079
|
+
key: string;
|
|
30080
|
+
value: string;
|
|
30081
|
+
}[] | null;
|
|
30082
|
+
upload: {
|
|
30083
|
+
id: string;
|
|
30084
|
+
status: string | null;
|
|
30085
|
+
createdAt: Date;
|
|
30086
|
+
updatedAt: Date;
|
|
30087
|
+
deletedAt: Date | null;
|
|
30088
|
+
fileName: string;
|
|
30089
|
+
fileKey: string;
|
|
30090
|
+
bucketName: string;
|
|
30091
|
+
fileSize: number;
|
|
30092
|
+
fileUrl: string | null;
|
|
30093
|
+
} | null;
|
|
29837
30094
|
fields: {
|
|
29838
30095
|
data: string[];
|
|
29839
30096
|
};
|
|
@@ -29900,7 +30157,7 @@ export declare const apiContract: {
|
|
|
29900
30157
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
29901
30158
|
name: import("zod").ZodString;
|
|
29902
30159
|
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
29903
|
-
position: import("zod").
|
|
30160
|
+
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">, import("zod").ZodLiteral<"contact_profile">, import("zod").ZodLiteral<"inbox_detail">]>;
|
|
29904
30161
|
fields: import("zod").ZodObject<{
|
|
29905
30162
|
data: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
29906
30163
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -29909,27 +30166,109 @@ export declare const apiContract: {
|
|
|
29909
30166
|
data: string[];
|
|
29910
30167
|
}>;
|
|
29911
30168
|
url: import("zod").ZodString;
|
|
30169
|
+
upload: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
30170
|
+
id: import("zod").ZodString;
|
|
30171
|
+
createdAt: import("zod").ZodDate;
|
|
30172
|
+
updatedAt: import("zod").ZodDate;
|
|
30173
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
30174
|
+
bucketName: import("zod").ZodString;
|
|
30175
|
+
fileName: import("zod").ZodString;
|
|
30176
|
+
fileSize: import("zod").ZodNumber;
|
|
30177
|
+
fileKey: import("zod").ZodString;
|
|
30178
|
+
fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
|
30179
|
+
status: import("zod").ZodNullable<import("zod").ZodString>;
|
|
30180
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
30181
|
+
id: string;
|
|
30182
|
+
status: string | null;
|
|
30183
|
+
createdAt: Date;
|
|
30184
|
+
updatedAt: Date;
|
|
30185
|
+
deletedAt: Date | null;
|
|
30186
|
+
fileName: string;
|
|
30187
|
+
fileKey: string;
|
|
30188
|
+
bucketName: string;
|
|
30189
|
+
fileSize: number;
|
|
30190
|
+
fileUrl: string | null;
|
|
30191
|
+
}, {
|
|
30192
|
+
id: string;
|
|
30193
|
+
status: string | null;
|
|
30194
|
+
createdAt: Date;
|
|
30195
|
+
updatedAt: Date;
|
|
30196
|
+
deletedAt: Date | null;
|
|
30197
|
+
fileName: string;
|
|
30198
|
+
fileKey: string;
|
|
30199
|
+
bucketName: string;
|
|
30200
|
+
fileSize: number;
|
|
30201
|
+
fileUrl: string | null;
|
|
30202
|
+
}>>;
|
|
30203
|
+
type: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"iframe">, import("zod").ZodLiteral<"custom">]>>;
|
|
30204
|
+
headers: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
|
|
30205
|
+
key: import("zod").ZodString;
|
|
30206
|
+
value: import("zod").ZodString;
|
|
30207
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
30208
|
+
key: string;
|
|
30209
|
+
value: string;
|
|
30210
|
+
}, {
|
|
30211
|
+
key: string;
|
|
30212
|
+
value: string;
|
|
30213
|
+
}>, "many">>;
|
|
30214
|
+
method: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"get">, import("zod").ZodLiteral<"post">]>>;
|
|
29912
30215
|
}, "strip", import("zod").ZodTypeAny, {
|
|
29913
30216
|
name: string;
|
|
30217
|
+
type: "custom" | "iframe" | null;
|
|
29914
30218
|
id: string;
|
|
29915
30219
|
url: string;
|
|
29916
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
|
30220
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
30221
|
+
method: "get" | "post" | null;
|
|
29917
30222
|
description: string | null;
|
|
29918
30223
|
createdAt: Date;
|
|
29919
30224
|
updatedAt: Date;
|
|
29920
30225
|
deletedAt: Date | null;
|
|
30226
|
+
headers: {
|
|
30227
|
+
key: string;
|
|
30228
|
+
value: string;
|
|
30229
|
+
}[] | null;
|
|
30230
|
+
upload: {
|
|
30231
|
+
id: string;
|
|
30232
|
+
status: string | null;
|
|
30233
|
+
createdAt: Date;
|
|
30234
|
+
updatedAt: Date;
|
|
30235
|
+
deletedAt: Date | null;
|
|
30236
|
+
fileName: string;
|
|
30237
|
+
fileKey: string;
|
|
30238
|
+
bucketName: string;
|
|
30239
|
+
fileSize: number;
|
|
30240
|
+
fileUrl: string | null;
|
|
30241
|
+
} | null;
|
|
29921
30242
|
fields: {
|
|
29922
30243
|
data: string[];
|
|
29923
30244
|
};
|
|
29924
30245
|
}, {
|
|
29925
30246
|
name: string;
|
|
30247
|
+
type: "custom" | "iframe" | null;
|
|
29926
30248
|
id: string;
|
|
29927
30249
|
url: string;
|
|
29928
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
|
30250
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
30251
|
+
method: "get" | "post" | null;
|
|
29929
30252
|
description: string | null;
|
|
29930
30253
|
createdAt: Date;
|
|
29931
30254
|
updatedAt: Date;
|
|
29932
30255
|
deletedAt: Date | null;
|
|
30256
|
+
headers: {
|
|
30257
|
+
key: string;
|
|
30258
|
+
value: string;
|
|
30259
|
+
}[] | null;
|
|
30260
|
+
upload: {
|
|
30261
|
+
id: string;
|
|
30262
|
+
status: string | null;
|
|
30263
|
+
createdAt: Date;
|
|
30264
|
+
updatedAt: Date;
|
|
30265
|
+
deletedAt: Date | null;
|
|
30266
|
+
fileName: string;
|
|
30267
|
+
fileKey: string;
|
|
30268
|
+
bucketName: string;
|
|
30269
|
+
fileSize: number;
|
|
30270
|
+
fileUrl: string | null;
|
|
30271
|
+
} | null;
|
|
29933
30272
|
fields: {
|
|
29934
30273
|
data: string[];
|
|
29935
30274
|
};
|
|
@@ -29991,7 +30330,7 @@ export declare const apiContract: {
|
|
|
29991
30330
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
29992
30331
|
name: import("zod").ZodString;
|
|
29993
30332
|
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
29994
|
-
position: import("zod").
|
|
30333
|
+
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">, import("zod").ZodLiteral<"contact_profile">, import("zod").ZodLiteral<"inbox_detail">]>;
|
|
29995
30334
|
fields: import("zod").ZodObject<{
|
|
29996
30335
|
data: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
29997
30336
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -30000,27 +30339,109 @@ export declare const apiContract: {
|
|
|
30000
30339
|
data: string[];
|
|
30001
30340
|
}>;
|
|
30002
30341
|
url: import("zod").ZodString;
|
|
30342
|
+
upload: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
30343
|
+
id: import("zod").ZodString;
|
|
30344
|
+
createdAt: import("zod").ZodDate;
|
|
30345
|
+
updatedAt: import("zod").ZodDate;
|
|
30346
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
30347
|
+
bucketName: import("zod").ZodString;
|
|
30348
|
+
fileName: import("zod").ZodString;
|
|
30349
|
+
fileSize: import("zod").ZodNumber;
|
|
30350
|
+
fileKey: import("zod").ZodString;
|
|
30351
|
+
fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
|
30352
|
+
status: import("zod").ZodNullable<import("zod").ZodString>;
|
|
30353
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
30354
|
+
id: string;
|
|
30355
|
+
status: string | null;
|
|
30356
|
+
createdAt: Date;
|
|
30357
|
+
updatedAt: Date;
|
|
30358
|
+
deletedAt: Date | null;
|
|
30359
|
+
fileName: string;
|
|
30360
|
+
fileKey: string;
|
|
30361
|
+
bucketName: string;
|
|
30362
|
+
fileSize: number;
|
|
30363
|
+
fileUrl: string | null;
|
|
30364
|
+
}, {
|
|
30365
|
+
id: string;
|
|
30366
|
+
status: string | null;
|
|
30367
|
+
createdAt: Date;
|
|
30368
|
+
updatedAt: Date;
|
|
30369
|
+
deletedAt: Date | null;
|
|
30370
|
+
fileName: string;
|
|
30371
|
+
fileKey: string;
|
|
30372
|
+
bucketName: string;
|
|
30373
|
+
fileSize: number;
|
|
30374
|
+
fileUrl: string | null;
|
|
30375
|
+
}>>;
|
|
30376
|
+
type: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"iframe">, import("zod").ZodLiteral<"custom">]>>;
|
|
30377
|
+
headers: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
|
|
30378
|
+
key: import("zod").ZodString;
|
|
30379
|
+
value: import("zod").ZodString;
|
|
30380
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
30381
|
+
key: string;
|
|
30382
|
+
value: string;
|
|
30383
|
+
}, {
|
|
30384
|
+
key: string;
|
|
30385
|
+
value: string;
|
|
30386
|
+
}>, "many">>;
|
|
30387
|
+
method: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"get">, import("zod").ZodLiteral<"post">]>>;
|
|
30003
30388
|
}, "strip", import("zod").ZodTypeAny, {
|
|
30004
30389
|
name: string;
|
|
30390
|
+
type: "custom" | "iframe" | null;
|
|
30005
30391
|
id: string;
|
|
30006
30392
|
url: string;
|
|
30007
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
|
30393
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
30394
|
+
method: "get" | "post" | null;
|
|
30008
30395
|
description: string | null;
|
|
30009
30396
|
createdAt: Date;
|
|
30010
30397
|
updatedAt: Date;
|
|
30011
30398
|
deletedAt: Date | null;
|
|
30399
|
+
headers: {
|
|
30400
|
+
key: string;
|
|
30401
|
+
value: string;
|
|
30402
|
+
}[] | null;
|
|
30403
|
+
upload: {
|
|
30404
|
+
id: string;
|
|
30405
|
+
status: string | null;
|
|
30406
|
+
createdAt: Date;
|
|
30407
|
+
updatedAt: Date;
|
|
30408
|
+
deletedAt: Date | null;
|
|
30409
|
+
fileName: string;
|
|
30410
|
+
fileKey: string;
|
|
30411
|
+
bucketName: string;
|
|
30412
|
+
fileSize: number;
|
|
30413
|
+
fileUrl: string | null;
|
|
30414
|
+
} | null;
|
|
30012
30415
|
fields: {
|
|
30013
30416
|
data: string[];
|
|
30014
30417
|
};
|
|
30015
30418
|
}, {
|
|
30016
30419
|
name: string;
|
|
30420
|
+
type: "custom" | "iframe" | null;
|
|
30017
30421
|
id: string;
|
|
30018
30422
|
url: string;
|
|
30019
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
|
30423
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
30424
|
+
method: "get" | "post" | null;
|
|
30020
30425
|
description: string | null;
|
|
30021
30426
|
createdAt: Date;
|
|
30022
30427
|
updatedAt: Date;
|
|
30023
30428
|
deletedAt: Date | null;
|
|
30429
|
+
headers: {
|
|
30430
|
+
key: string;
|
|
30431
|
+
value: string;
|
|
30432
|
+
}[] | null;
|
|
30433
|
+
upload: {
|
|
30434
|
+
id: string;
|
|
30435
|
+
status: string | null;
|
|
30436
|
+
createdAt: Date;
|
|
30437
|
+
updatedAt: Date;
|
|
30438
|
+
deletedAt: Date | null;
|
|
30439
|
+
fileName: string;
|
|
30440
|
+
fileKey: string;
|
|
30441
|
+
bucketName: string;
|
|
30442
|
+
fileSize: number;
|
|
30443
|
+
fileUrl: string | null;
|
|
30444
|
+
} | null;
|
|
30024
30445
|
fields: {
|
|
30025
30446
|
data: string[];
|
|
30026
30447
|
};
|
|
@@ -30082,7 +30503,7 @@ export declare const apiContract: {
|
|
|
30082
30503
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
30083
30504
|
name: import("zod").ZodString;
|
|
30084
30505
|
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
30085
|
-
position: import("zod").
|
|
30506
|
+
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">, import("zod").ZodLiteral<"contact_profile">, import("zod").ZodLiteral<"inbox_detail">]>;
|
|
30086
30507
|
fields: import("zod").ZodObject<{
|
|
30087
30508
|
data: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
30088
30509
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -30091,27 +30512,109 @@ export declare const apiContract: {
|
|
|
30091
30512
|
data: string[];
|
|
30092
30513
|
}>;
|
|
30093
30514
|
url: import("zod").ZodString;
|
|
30515
|
+
upload: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
30516
|
+
id: import("zod").ZodString;
|
|
30517
|
+
createdAt: import("zod").ZodDate;
|
|
30518
|
+
updatedAt: import("zod").ZodDate;
|
|
30519
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
30520
|
+
bucketName: import("zod").ZodString;
|
|
30521
|
+
fileName: import("zod").ZodString;
|
|
30522
|
+
fileSize: import("zod").ZodNumber;
|
|
30523
|
+
fileKey: import("zod").ZodString;
|
|
30524
|
+
fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
|
30525
|
+
status: import("zod").ZodNullable<import("zod").ZodString>;
|
|
30526
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
30527
|
+
id: string;
|
|
30528
|
+
status: string | null;
|
|
30529
|
+
createdAt: Date;
|
|
30530
|
+
updatedAt: Date;
|
|
30531
|
+
deletedAt: Date | null;
|
|
30532
|
+
fileName: string;
|
|
30533
|
+
fileKey: string;
|
|
30534
|
+
bucketName: string;
|
|
30535
|
+
fileSize: number;
|
|
30536
|
+
fileUrl: string | null;
|
|
30537
|
+
}, {
|
|
30538
|
+
id: string;
|
|
30539
|
+
status: string | null;
|
|
30540
|
+
createdAt: Date;
|
|
30541
|
+
updatedAt: Date;
|
|
30542
|
+
deletedAt: Date | null;
|
|
30543
|
+
fileName: string;
|
|
30544
|
+
fileKey: string;
|
|
30545
|
+
bucketName: string;
|
|
30546
|
+
fileSize: number;
|
|
30547
|
+
fileUrl: string | null;
|
|
30548
|
+
}>>;
|
|
30549
|
+
type: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"iframe">, import("zod").ZodLiteral<"custom">]>>;
|
|
30550
|
+
headers: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
|
|
30551
|
+
key: import("zod").ZodString;
|
|
30552
|
+
value: import("zod").ZodString;
|
|
30553
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
30554
|
+
key: string;
|
|
30555
|
+
value: string;
|
|
30556
|
+
}, {
|
|
30557
|
+
key: string;
|
|
30558
|
+
value: string;
|
|
30559
|
+
}>, "many">>;
|
|
30560
|
+
method: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"get">, import("zod").ZodLiteral<"post">]>>;
|
|
30094
30561
|
}, "strip", import("zod").ZodTypeAny, {
|
|
30095
30562
|
name: string;
|
|
30563
|
+
type: "custom" | "iframe" | null;
|
|
30096
30564
|
id: string;
|
|
30097
30565
|
url: string;
|
|
30098
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
|
30566
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
30567
|
+
method: "get" | "post" | null;
|
|
30099
30568
|
description: string | null;
|
|
30100
30569
|
createdAt: Date;
|
|
30101
30570
|
updatedAt: Date;
|
|
30102
30571
|
deletedAt: Date | null;
|
|
30572
|
+
headers: {
|
|
30573
|
+
key: string;
|
|
30574
|
+
value: string;
|
|
30575
|
+
}[] | null;
|
|
30576
|
+
upload: {
|
|
30577
|
+
id: string;
|
|
30578
|
+
status: string | null;
|
|
30579
|
+
createdAt: Date;
|
|
30580
|
+
updatedAt: Date;
|
|
30581
|
+
deletedAt: Date | null;
|
|
30582
|
+
fileName: string;
|
|
30583
|
+
fileKey: string;
|
|
30584
|
+
bucketName: string;
|
|
30585
|
+
fileSize: number;
|
|
30586
|
+
fileUrl: string | null;
|
|
30587
|
+
} | null;
|
|
30103
30588
|
fields: {
|
|
30104
30589
|
data: string[];
|
|
30105
30590
|
};
|
|
30106
30591
|
}, {
|
|
30107
30592
|
name: string;
|
|
30593
|
+
type: "custom" | "iframe" | null;
|
|
30108
30594
|
id: string;
|
|
30109
30595
|
url: string;
|
|
30110
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
|
30596
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
30597
|
+
method: "get" | "post" | null;
|
|
30111
30598
|
description: string | null;
|
|
30112
30599
|
createdAt: Date;
|
|
30113
30600
|
updatedAt: Date;
|
|
30114
30601
|
deletedAt: Date | null;
|
|
30602
|
+
headers: {
|
|
30603
|
+
key: string;
|
|
30604
|
+
value: string;
|
|
30605
|
+
}[] | null;
|
|
30606
|
+
upload: {
|
|
30607
|
+
id: string;
|
|
30608
|
+
status: string | null;
|
|
30609
|
+
createdAt: Date;
|
|
30610
|
+
updatedAt: Date;
|
|
30611
|
+
deletedAt: Date | null;
|
|
30612
|
+
fileName: string;
|
|
30613
|
+
fileKey: string;
|
|
30614
|
+
bucketName: string;
|
|
30615
|
+
fileSize: number;
|
|
30616
|
+
fileUrl: string | null;
|
|
30617
|
+
} | null;
|
|
30115
30618
|
fields: {
|
|
30116
30619
|
data: string[];
|
|
30117
30620
|
};
|
|
@@ -30180,7 +30683,7 @@ export declare const apiContract: {
|
|
|
30180
30683
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
30181
30684
|
name: import("zod").ZodString;
|
|
30182
30685
|
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
30183
|
-
position: import("zod").
|
|
30686
|
+
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">, import("zod").ZodLiteral<"contact_profile">, import("zod").ZodLiteral<"inbox_detail">]>;
|
|
30184
30687
|
fields: import("zod").ZodObject<{
|
|
30185
30688
|
data: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
30186
30689
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -30189,27 +30692,109 @@ export declare const apiContract: {
|
|
|
30189
30692
|
data: string[];
|
|
30190
30693
|
}>;
|
|
30191
30694
|
url: import("zod").ZodString;
|
|
30695
|
+
upload: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
30696
|
+
id: import("zod").ZodString;
|
|
30697
|
+
createdAt: import("zod").ZodDate;
|
|
30698
|
+
updatedAt: import("zod").ZodDate;
|
|
30699
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
30700
|
+
bucketName: import("zod").ZodString;
|
|
30701
|
+
fileName: import("zod").ZodString;
|
|
30702
|
+
fileSize: import("zod").ZodNumber;
|
|
30703
|
+
fileKey: import("zod").ZodString;
|
|
30704
|
+
fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
|
30705
|
+
status: import("zod").ZodNullable<import("zod").ZodString>;
|
|
30706
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
30707
|
+
id: string;
|
|
30708
|
+
status: string | null;
|
|
30709
|
+
createdAt: Date;
|
|
30710
|
+
updatedAt: Date;
|
|
30711
|
+
deletedAt: Date | null;
|
|
30712
|
+
fileName: string;
|
|
30713
|
+
fileKey: string;
|
|
30714
|
+
bucketName: string;
|
|
30715
|
+
fileSize: number;
|
|
30716
|
+
fileUrl: string | null;
|
|
30717
|
+
}, {
|
|
30718
|
+
id: string;
|
|
30719
|
+
status: string | null;
|
|
30720
|
+
createdAt: Date;
|
|
30721
|
+
updatedAt: Date;
|
|
30722
|
+
deletedAt: Date | null;
|
|
30723
|
+
fileName: string;
|
|
30724
|
+
fileKey: string;
|
|
30725
|
+
bucketName: string;
|
|
30726
|
+
fileSize: number;
|
|
30727
|
+
fileUrl: string | null;
|
|
30728
|
+
}>>;
|
|
30729
|
+
type: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"iframe">, import("zod").ZodLiteral<"custom">]>>;
|
|
30730
|
+
headers: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
|
|
30731
|
+
key: import("zod").ZodString;
|
|
30732
|
+
value: import("zod").ZodString;
|
|
30733
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
30734
|
+
key: string;
|
|
30735
|
+
value: string;
|
|
30736
|
+
}, {
|
|
30737
|
+
key: string;
|
|
30738
|
+
value: string;
|
|
30739
|
+
}>, "many">>;
|
|
30740
|
+
method: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"get">, import("zod").ZodLiteral<"post">]>>;
|
|
30192
30741
|
}, "strip", import("zod").ZodTypeAny, {
|
|
30193
30742
|
name: string;
|
|
30743
|
+
type: "custom" | "iframe" | null;
|
|
30194
30744
|
id: string;
|
|
30195
30745
|
url: string;
|
|
30196
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
|
30746
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
30747
|
+
method: "get" | "post" | null;
|
|
30197
30748
|
description: string | null;
|
|
30198
30749
|
createdAt: Date;
|
|
30199
30750
|
updatedAt: Date;
|
|
30200
30751
|
deletedAt: Date | null;
|
|
30752
|
+
headers: {
|
|
30753
|
+
key: string;
|
|
30754
|
+
value: string;
|
|
30755
|
+
}[] | null;
|
|
30756
|
+
upload: {
|
|
30757
|
+
id: string;
|
|
30758
|
+
status: string | null;
|
|
30759
|
+
createdAt: Date;
|
|
30760
|
+
updatedAt: Date;
|
|
30761
|
+
deletedAt: Date | null;
|
|
30762
|
+
fileName: string;
|
|
30763
|
+
fileKey: string;
|
|
30764
|
+
bucketName: string;
|
|
30765
|
+
fileSize: number;
|
|
30766
|
+
fileUrl: string | null;
|
|
30767
|
+
} | null;
|
|
30201
30768
|
fields: {
|
|
30202
30769
|
data: string[];
|
|
30203
30770
|
};
|
|
30204
30771
|
}, {
|
|
30205
30772
|
name: string;
|
|
30773
|
+
type: "custom" | "iframe" | null;
|
|
30206
30774
|
id: string;
|
|
30207
30775
|
url: string;
|
|
30208
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
|
30776
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
30777
|
+
method: "get" | "post" | null;
|
|
30209
30778
|
description: string | null;
|
|
30210
30779
|
createdAt: Date;
|
|
30211
30780
|
updatedAt: Date;
|
|
30212
30781
|
deletedAt: Date | null;
|
|
30782
|
+
headers: {
|
|
30783
|
+
key: string;
|
|
30784
|
+
value: string;
|
|
30785
|
+
}[] | null;
|
|
30786
|
+
upload: {
|
|
30787
|
+
id: string;
|
|
30788
|
+
status: string | null;
|
|
30789
|
+
createdAt: Date;
|
|
30790
|
+
updatedAt: Date;
|
|
30791
|
+
deletedAt: Date | null;
|
|
30792
|
+
fileName: string;
|
|
30793
|
+
fileKey: string;
|
|
30794
|
+
bucketName: string;
|
|
30795
|
+
fileSize: number;
|
|
30796
|
+
fileUrl: string | null;
|
|
30797
|
+
} | null;
|
|
30213
30798
|
fields: {
|
|
30214
30799
|
data: string[];
|
|
30215
30800
|
};
|
|
@@ -30323,9 +30908,9 @@ export declare const apiContract: {
|
|
|
30323
30908
|
updateWidget: {
|
|
30324
30909
|
body: import("zod").ZodObject<{
|
|
30325
30910
|
name: import("zod").ZodString;
|
|
30326
|
-
description: import("zod").ZodString
|
|
30911
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
30327
30912
|
url: import("zod").ZodString;
|
|
30328
|
-
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">]>;
|
|
30913
|
+
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">, import("zod").ZodLiteral<"contact_profile">, import("zod").ZodLiteral<"inbox_detail">]>;
|
|
30329
30914
|
fields: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
30330
30915
|
data: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
30331
30916
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -30333,22 +30918,89 @@ export declare const apiContract: {
|
|
|
30333
30918
|
}, {
|
|
30334
30919
|
data: string[];
|
|
30335
30920
|
}>>;
|
|
30921
|
+
widgetUploadAttachment: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
30922
|
+
bucketName: import("zod").ZodString;
|
|
30923
|
+
fileKey: import("zod").ZodString;
|
|
30924
|
+
fileName: import("zod").ZodString;
|
|
30925
|
+
fileSize: import("zod").ZodNumber;
|
|
30926
|
+
url: import("zod").ZodNullable<import("zod").ZodString>;
|
|
30927
|
+
fileType: import("zod").ZodString;
|
|
30928
|
+
thumbnailUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
30929
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
30930
|
+
url: string | null;
|
|
30931
|
+
fileName: string;
|
|
30932
|
+
fileType: string;
|
|
30933
|
+
fileKey: string;
|
|
30934
|
+
bucketName: string;
|
|
30935
|
+
fileSize: number;
|
|
30936
|
+
thumbnailUrl?: string | undefined;
|
|
30937
|
+
}, {
|
|
30938
|
+
url: string | null;
|
|
30939
|
+
fileName: string;
|
|
30940
|
+
fileType: string;
|
|
30941
|
+
fileKey: string;
|
|
30942
|
+
bucketName: string;
|
|
30943
|
+
fileSize: number;
|
|
30944
|
+
thumbnailUrl?: string | undefined;
|
|
30945
|
+
}>>;
|
|
30946
|
+
type: import("zod").ZodUnion<[import("zod").ZodLiteral<"iframe">, import("zod").ZodLiteral<"custom">]>;
|
|
30947
|
+
headers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
30948
|
+
key: import("zod").ZodString;
|
|
30949
|
+
value: import("zod").ZodString;
|
|
30950
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
30951
|
+
key: string;
|
|
30952
|
+
value: string;
|
|
30953
|
+
}, {
|
|
30954
|
+
key: string;
|
|
30955
|
+
value: string;
|
|
30956
|
+
}>, "many">>;
|
|
30957
|
+
method: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"get">, import("zod").ZodLiteral<"post">]>>;
|
|
30336
30958
|
}, "strip", import("zod").ZodTypeAny, {
|
|
30337
30959
|
name: string;
|
|
30960
|
+
type: "custom" | "iframe";
|
|
30338
30961
|
url: string;
|
|
30339
|
-
position: "menu" | "ticket_detail" | "contact_detail";
|
|
30340
|
-
description
|
|
30962
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
30963
|
+
description?: string | undefined;
|
|
30341
30964
|
fields?: {
|
|
30342
30965
|
data: string[];
|
|
30343
30966
|
} | undefined;
|
|
30967
|
+
widgetUploadAttachment?: {
|
|
30968
|
+
url: string | null;
|
|
30969
|
+
fileName: string;
|
|
30970
|
+
fileType: string;
|
|
30971
|
+
fileKey: string;
|
|
30972
|
+
bucketName: string;
|
|
30973
|
+
fileSize: number;
|
|
30974
|
+
thumbnailUrl?: string | undefined;
|
|
30975
|
+
} | undefined;
|
|
30976
|
+
headers?: {
|
|
30977
|
+
key: string;
|
|
30978
|
+
value: string;
|
|
30979
|
+
}[] | undefined;
|
|
30980
|
+
method?: "get" | "post" | undefined;
|
|
30344
30981
|
}, {
|
|
30345
30982
|
name: string;
|
|
30983
|
+
type: "custom" | "iframe";
|
|
30346
30984
|
url: string;
|
|
30347
|
-
position: "menu" | "ticket_detail" | "contact_detail";
|
|
30348
|
-
description
|
|
30985
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
30986
|
+
description?: string | undefined;
|
|
30349
30987
|
fields?: {
|
|
30350
30988
|
data: string[];
|
|
30351
30989
|
} | undefined;
|
|
30990
|
+
widgetUploadAttachment?: {
|
|
30991
|
+
url: string | null;
|
|
30992
|
+
fileName: string;
|
|
30993
|
+
fileType: string;
|
|
30994
|
+
fileKey: string;
|
|
30995
|
+
bucketName: string;
|
|
30996
|
+
fileSize: number;
|
|
30997
|
+
thumbnailUrl?: string | undefined;
|
|
30998
|
+
} | undefined;
|
|
30999
|
+
headers?: {
|
|
31000
|
+
key: string;
|
|
31001
|
+
value: string;
|
|
31002
|
+
}[] | undefined;
|
|
31003
|
+
method?: "get" | "post" | undefined;
|
|
30352
31004
|
}>;
|
|
30353
31005
|
summary: "Update a widget.";
|
|
30354
31006
|
method: "PATCH";
|
|
@@ -30369,7 +31021,7 @@ export declare const apiContract: {
|
|
|
30369
31021
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
30370
31022
|
name: import("zod").ZodString;
|
|
30371
31023
|
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
30372
|
-
position: import("zod").
|
|
31024
|
+
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">, import("zod").ZodLiteral<"contact_profile">, import("zod").ZodLiteral<"inbox_detail">]>;
|
|
30373
31025
|
fields: import("zod").ZodObject<{
|
|
30374
31026
|
data: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
30375
31027
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -30378,27 +31030,109 @@ export declare const apiContract: {
|
|
|
30378
31030
|
data: string[];
|
|
30379
31031
|
}>;
|
|
30380
31032
|
url: import("zod").ZodString;
|
|
31033
|
+
upload: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
31034
|
+
id: import("zod").ZodString;
|
|
31035
|
+
createdAt: import("zod").ZodDate;
|
|
31036
|
+
updatedAt: import("zod").ZodDate;
|
|
31037
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
31038
|
+
bucketName: import("zod").ZodString;
|
|
31039
|
+
fileName: import("zod").ZodString;
|
|
31040
|
+
fileSize: import("zod").ZodNumber;
|
|
31041
|
+
fileKey: import("zod").ZodString;
|
|
31042
|
+
fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
|
31043
|
+
status: import("zod").ZodNullable<import("zod").ZodString>;
|
|
31044
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
31045
|
+
id: string;
|
|
31046
|
+
status: string | null;
|
|
31047
|
+
createdAt: Date;
|
|
31048
|
+
updatedAt: Date;
|
|
31049
|
+
deletedAt: Date | null;
|
|
31050
|
+
fileName: string;
|
|
31051
|
+
fileKey: string;
|
|
31052
|
+
bucketName: string;
|
|
31053
|
+
fileSize: number;
|
|
31054
|
+
fileUrl: string | null;
|
|
31055
|
+
}, {
|
|
31056
|
+
id: string;
|
|
31057
|
+
status: string | null;
|
|
31058
|
+
createdAt: Date;
|
|
31059
|
+
updatedAt: Date;
|
|
31060
|
+
deletedAt: Date | null;
|
|
31061
|
+
fileName: string;
|
|
31062
|
+
fileKey: string;
|
|
31063
|
+
bucketName: string;
|
|
31064
|
+
fileSize: number;
|
|
31065
|
+
fileUrl: string | null;
|
|
31066
|
+
}>>;
|
|
31067
|
+
type: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"iframe">, import("zod").ZodLiteral<"custom">]>>;
|
|
31068
|
+
headers: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
|
|
31069
|
+
key: import("zod").ZodString;
|
|
31070
|
+
value: import("zod").ZodString;
|
|
31071
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
31072
|
+
key: string;
|
|
31073
|
+
value: string;
|
|
31074
|
+
}, {
|
|
31075
|
+
key: string;
|
|
31076
|
+
value: string;
|
|
31077
|
+
}>, "many">>;
|
|
31078
|
+
method: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"get">, import("zod").ZodLiteral<"post">]>>;
|
|
30381
31079
|
}, "strip", import("zod").ZodTypeAny, {
|
|
30382
31080
|
name: string;
|
|
31081
|
+
type: "custom" | "iframe" | null;
|
|
30383
31082
|
id: string;
|
|
30384
31083
|
url: string;
|
|
30385
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
|
31084
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
31085
|
+
method: "get" | "post" | null;
|
|
30386
31086
|
description: string | null;
|
|
30387
31087
|
createdAt: Date;
|
|
30388
31088
|
updatedAt: Date;
|
|
30389
31089
|
deletedAt: Date | null;
|
|
31090
|
+
headers: {
|
|
31091
|
+
key: string;
|
|
31092
|
+
value: string;
|
|
31093
|
+
}[] | null;
|
|
31094
|
+
upload: {
|
|
31095
|
+
id: string;
|
|
31096
|
+
status: string | null;
|
|
31097
|
+
createdAt: Date;
|
|
31098
|
+
updatedAt: Date;
|
|
31099
|
+
deletedAt: Date | null;
|
|
31100
|
+
fileName: string;
|
|
31101
|
+
fileKey: string;
|
|
31102
|
+
bucketName: string;
|
|
31103
|
+
fileSize: number;
|
|
31104
|
+
fileUrl: string | null;
|
|
31105
|
+
} | null;
|
|
30390
31106
|
fields: {
|
|
30391
31107
|
data: string[];
|
|
30392
31108
|
};
|
|
30393
31109
|
}, {
|
|
30394
31110
|
name: string;
|
|
31111
|
+
type: "custom" | "iframe" | null;
|
|
30395
31112
|
id: string;
|
|
30396
31113
|
url: string;
|
|
30397
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
|
31114
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
31115
|
+
method: "get" | "post" | null;
|
|
30398
31116
|
description: string | null;
|
|
30399
31117
|
createdAt: Date;
|
|
30400
31118
|
updatedAt: Date;
|
|
30401
31119
|
deletedAt: Date | null;
|
|
31120
|
+
headers: {
|
|
31121
|
+
key: string;
|
|
31122
|
+
value: string;
|
|
31123
|
+
}[] | null;
|
|
31124
|
+
upload: {
|
|
31125
|
+
id: string;
|
|
31126
|
+
status: string | null;
|
|
31127
|
+
createdAt: Date;
|
|
31128
|
+
updatedAt: Date;
|
|
31129
|
+
deletedAt: Date | null;
|
|
31130
|
+
fileName: string;
|
|
31131
|
+
fileKey: string;
|
|
31132
|
+
bucketName: string;
|
|
31133
|
+
fileSize: number;
|
|
31134
|
+
fileUrl: string | null;
|
|
31135
|
+
} | null;
|
|
30402
31136
|
fields: {
|
|
30403
31137
|
data: string[];
|
|
30404
31138
|
};
|
|
@@ -30407,13 +31141,31 @@ export declare const apiContract: {
|
|
|
30407
31141
|
requestId: string;
|
|
30408
31142
|
widget: {
|
|
30409
31143
|
name: string;
|
|
31144
|
+
type: "custom" | "iframe" | null;
|
|
30410
31145
|
id: string;
|
|
30411
31146
|
url: string;
|
|
30412
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
|
31147
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
31148
|
+
method: "get" | "post" | null;
|
|
30413
31149
|
description: string | null;
|
|
30414
31150
|
createdAt: Date;
|
|
30415
31151
|
updatedAt: Date;
|
|
30416
31152
|
deletedAt: Date | null;
|
|
31153
|
+
headers: {
|
|
31154
|
+
key: string;
|
|
31155
|
+
value: string;
|
|
31156
|
+
}[] | null;
|
|
31157
|
+
upload: {
|
|
31158
|
+
id: string;
|
|
31159
|
+
status: string | null;
|
|
31160
|
+
createdAt: Date;
|
|
31161
|
+
updatedAt: Date;
|
|
31162
|
+
deletedAt: Date | null;
|
|
31163
|
+
fileName: string;
|
|
31164
|
+
fileKey: string;
|
|
31165
|
+
bucketName: string;
|
|
31166
|
+
fileSize: number;
|
|
31167
|
+
fileUrl: string | null;
|
|
31168
|
+
} | null;
|
|
30417
31169
|
fields: {
|
|
30418
31170
|
data: string[];
|
|
30419
31171
|
};
|
|
@@ -30422,13 +31174,31 @@ export declare const apiContract: {
|
|
|
30422
31174
|
requestId: string;
|
|
30423
31175
|
widget: {
|
|
30424
31176
|
name: string;
|
|
31177
|
+
type: "custom" | "iframe" | null;
|
|
30425
31178
|
id: string;
|
|
30426
31179
|
url: string;
|
|
30427
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
|
31180
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
31181
|
+
method: "get" | "post" | null;
|
|
30428
31182
|
description: string | null;
|
|
30429
31183
|
createdAt: Date;
|
|
30430
31184
|
updatedAt: Date;
|
|
30431
31185
|
deletedAt: Date | null;
|
|
31186
|
+
headers: {
|
|
31187
|
+
key: string;
|
|
31188
|
+
value: string;
|
|
31189
|
+
}[] | null;
|
|
31190
|
+
upload: {
|
|
31191
|
+
id: string;
|
|
31192
|
+
status: string | null;
|
|
31193
|
+
createdAt: Date;
|
|
31194
|
+
updatedAt: Date;
|
|
31195
|
+
deletedAt: Date | null;
|
|
31196
|
+
fileName: string;
|
|
31197
|
+
fileKey: string;
|
|
31198
|
+
bucketName: string;
|
|
31199
|
+
fileSize: number;
|
|
31200
|
+
fileUrl: string | null;
|
|
31201
|
+
} | null;
|
|
30432
31202
|
fields: {
|
|
30433
31203
|
data: string[];
|
|
30434
31204
|
};
|
|
@@ -323613,9 +324383,9 @@ export declare const widgetSettingContract: {
|
|
|
323613
324383
|
createWidget: {
|
|
323614
324384
|
body: import("zod").ZodObject<{
|
|
323615
324385
|
name: import("zod").ZodString;
|
|
323616
|
-
description: import("zod").ZodString
|
|
324386
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
323617
324387
|
url: import("zod").ZodString;
|
|
323618
|
-
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">]>;
|
|
324388
|
+
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">, import("zod").ZodLiteral<"contact_profile">, import("zod").ZodLiteral<"inbox_detail">]>;
|
|
323619
324389
|
fields: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
323620
324390
|
data: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
323621
324391
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -323623,22 +324393,89 @@ export declare const widgetSettingContract: {
|
|
|
323623
324393
|
}, {
|
|
323624
324394
|
data: string[];
|
|
323625
324395
|
}>>;
|
|
324396
|
+
widgetUploadAttachment: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
324397
|
+
bucketName: import("zod").ZodString;
|
|
324398
|
+
fileKey: import("zod").ZodString;
|
|
324399
|
+
fileName: import("zod").ZodString;
|
|
324400
|
+
fileSize: import("zod").ZodNumber;
|
|
324401
|
+
url: import("zod").ZodNullable<import("zod").ZodString>;
|
|
324402
|
+
fileType: import("zod").ZodString;
|
|
324403
|
+
thumbnailUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
324404
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
324405
|
+
url: string | null;
|
|
324406
|
+
fileName: string;
|
|
324407
|
+
fileType: string;
|
|
324408
|
+
fileKey: string;
|
|
324409
|
+
bucketName: string;
|
|
324410
|
+
fileSize: number;
|
|
324411
|
+
thumbnailUrl?: string | undefined;
|
|
324412
|
+
}, {
|
|
324413
|
+
url: string | null;
|
|
324414
|
+
fileName: string;
|
|
324415
|
+
fileType: string;
|
|
324416
|
+
fileKey: string;
|
|
324417
|
+
bucketName: string;
|
|
324418
|
+
fileSize: number;
|
|
324419
|
+
thumbnailUrl?: string | undefined;
|
|
324420
|
+
}>>;
|
|
324421
|
+
type: import("zod").ZodUnion<[import("zod").ZodLiteral<"iframe">, import("zod").ZodLiteral<"custom">]>;
|
|
324422
|
+
headers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
324423
|
+
key: import("zod").ZodString;
|
|
324424
|
+
value: import("zod").ZodString;
|
|
324425
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
324426
|
+
key: string;
|
|
324427
|
+
value: string;
|
|
324428
|
+
}, {
|
|
324429
|
+
key: string;
|
|
324430
|
+
value: string;
|
|
324431
|
+
}>, "many">>;
|
|
324432
|
+
method: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"get">, import("zod").ZodLiteral<"post">]>>;
|
|
323626
324433
|
}, "strip", import("zod").ZodTypeAny, {
|
|
323627
324434
|
name: string;
|
|
324435
|
+
type: "custom" | "iframe";
|
|
323628
324436
|
url: string;
|
|
323629
|
-
position: "menu" | "ticket_detail" | "contact_detail";
|
|
323630
|
-
description
|
|
324437
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
324438
|
+
description?: string | undefined;
|
|
323631
324439
|
fields?: {
|
|
323632
324440
|
data: string[];
|
|
323633
324441
|
} | undefined;
|
|
324442
|
+
widgetUploadAttachment?: {
|
|
324443
|
+
url: string | null;
|
|
324444
|
+
fileName: string;
|
|
324445
|
+
fileType: string;
|
|
324446
|
+
fileKey: string;
|
|
324447
|
+
bucketName: string;
|
|
324448
|
+
fileSize: number;
|
|
324449
|
+
thumbnailUrl?: string | undefined;
|
|
324450
|
+
} | undefined;
|
|
324451
|
+
headers?: {
|
|
324452
|
+
key: string;
|
|
324453
|
+
value: string;
|
|
324454
|
+
}[] | undefined;
|
|
324455
|
+
method?: "get" | "post" | undefined;
|
|
323634
324456
|
}, {
|
|
323635
324457
|
name: string;
|
|
324458
|
+
type: "custom" | "iframe";
|
|
323636
324459
|
url: string;
|
|
323637
|
-
position: "menu" | "ticket_detail" | "contact_detail";
|
|
323638
|
-
description
|
|
324460
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
324461
|
+
description?: string | undefined;
|
|
323639
324462
|
fields?: {
|
|
323640
324463
|
data: string[];
|
|
323641
324464
|
} | undefined;
|
|
324465
|
+
widgetUploadAttachment?: {
|
|
324466
|
+
url: string | null;
|
|
324467
|
+
fileName: string;
|
|
324468
|
+
fileType: string;
|
|
324469
|
+
fileKey: string;
|
|
324470
|
+
bucketName: string;
|
|
324471
|
+
fileSize: number;
|
|
324472
|
+
thumbnailUrl?: string | undefined;
|
|
324473
|
+
} | undefined;
|
|
324474
|
+
headers?: {
|
|
324475
|
+
key: string;
|
|
324476
|
+
value: string;
|
|
324477
|
+
}[] | undefined;
|
|
324478
|
+
method?: "get" | "post" | undefined;
|
|
323642
324479
|
}>;
|
|
323643
324480
|
summary: "Create a widget.";
|
|
323644
324481
|
method: "POST";
|
|
@@ -323652,7 +324489,7 @@ export declare const widgetSettingContract: {
|
|
|
323652
324489
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
323653
324490
|
name: import("zod").ZodString;
|
|
323654
324491
|
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
323655
|
-
position: import("zod").
|
|
324492
|
+
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">, import("zod").ZodLiteral<"contact_profile">, import("zod").ZodLiteral<"inbox_detail">]>;
|
|
323656
324493
|
fields: import("zod").ZodObject<{
|
|
323657
324494
|
data: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
323658
324495
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -323661,27 +324498,109 @@ export declare const widgetSettingContract: {
|
|
|
323661
324498
|
data: string[];
|
|
323662
324499
|
}>;
|
|
323663
324500
|
url: import("zod").ZodString;
|
|
324501
|
+
upload: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
324502
|
+
id: import("zod").ZodString;
|
|
324503
|
+
createdAt: import("zod").ZodDate;
|
|
324504
|
+
updatedAt: import("zod").ZodDate;
|
|
324505
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
324506
|
+
bucketName: import("zod").ZodString;
|
|
324507
|
+
fileName: import("zod").ZodString;
|
|
324508
|
+
fileSize: import("zod").ZodNumber;
|
|
324509
|
+
fileKey: import("zod").ZodString;
|
|
324510
|
+
fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
|
324511
|
+
status: import("zod").ZodNullable<import("zod").ZodString>;
|
|
324512
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
324513
|
+
id: string;
|
|
324514
|
+
status: string | null;
|
|
324515
|
+
createdAt: Date;
|
|
324516
|
+
updatedAt: Date;
|
|
324517
|
+
deletedAt: Date | null;
|
|
324518
|
+
fileName: string;
|
|
324519
|
+
fileKey: string;
|
|
324520
|
+
bucketName: string;
|
|
324521
|
+
fileSize: number;
|
|
324522
|
+
fileUrl: string | null;
|
|
324523
|
+
}, {
|
|
324524
|
+
id: string;
|
|
324525
|
+
status: string | null;
|
|
324526
|
+
createdAt: Date;
|
|
324527
|
+
updatedAt: Date;
|
|
324528
|
+
deletedAt: Date | null;
|
|
324529
|
+
fileName: string;
|
|
324530
|
+
fileKey: string;
|
|
324531
|
+
bucketName: string;
|
|
324532
|
+
fileSize: number;
|
|
324533
|
+
fileUrl: string | null;
|
|
324534
|
+
}>>;
|
|
324535
|
+
type: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"iframe">, import("zod").ZodLiteral<"custom">]>>;
|
|
324536
|
+
headers: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
|
|
324537
|
+
key: import("zod").ZodString;
|
|
324538
|
+
value: import("zod").ZodString;
|
|
324539
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
324540
|
+
key: string;
|
|
324541
|
+
value: string;
|
|
324542
|
+
}, {
|
|
324543
|
+
key: string;
|
|
324544
|
+
value: string;
|
|
324545
|
+
}>, "many">>;
|
|
324546
|
+
method: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"get">, import("zod").ZodLiteral<"post">]>>;
|
|
323664
324547
|
}, "strip", import("zod").ZodTypeAny, {
|
|
323665
324548
|
name: string;
|
|
324549
|
+
type: "custom" | "iframe" | null;
|
|
323666
324550
|
id: string;
|
|
323667
324551
|
url: string;
|
|
323668
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
|
324552
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
324553
|
+
method: "get" | "post" | null;
|
|
323669
324554
|
description: string | null;
|
|
323670
324555
|
createdAt: Date;
|
|
323671
324556
|
updatedAt: Date;
|
|
323672
324557
|
deletedAt: Date | null;
|
|
324558
|
+
headers: {
|
|
324559
|
+
key: string;
|
|
324560
|
+
value: string;
|
|
324561
|
+
}[] | null;
|
|
324562
|
+
upload: {
|
|
324563
|
+
id: string;
|
|
324564
|
+
status: string | null;
|
|
324565
|
+
createdAt: Date;
|
|
324566
|
+
updatedAt: Date;
|
|
324567
|
+
deletedAt: Date | null;
|
|
324568
|
+
fileName: string;
|
|
324569
|
+
fileKey: string;
|
|
324570
|
+
bucketName: string;
|
|
324571
|
+
fileSize: number;
|
|
324572
|
+
fileUrl: string | null;
|
|
324573
|
+
} | null;
|
|
323673
324574
|
fields: {
|
|
323674
324575
|
data: string[];
|
|
323675
324576
|
};
|
|
323676
324577
|
}, {
|
|
323677
324578
|
name: string;
|
|
324579
|
+
type: "custom" | "iframe" | null;
|
|
323678
324580
|
id: string;
|
|
323679
324581
|
url: string;
|
|
323680
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
|
324582
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
324583
|
+
method: "get" | "post" | null;
|
|
323681
324584
|
description: string | null;
|
|
323682
324585
|
createdAt: Date;
|
|
323683
324586
|
updatedAt: Date;
|
|
323684
324587
|
deletedAt: Date | null;
|
|
324588
|
+
headers: {
|
|
324589
|
+
key: string;
|
|
324590
|
+
value: string;
|
|
324591
|
+
}[] | null;
|
|
324592
|
+
upload: {
|
|
324593
|
+
id: string;
|
|
324594
|
+
status: string | null;
|
|
324595
|
+
createdAt: Date;
|
|
324596
|
+
updatedAt: Date;
|
|
324597
|
+
deletedAt: Date | null;
|
|
324598
|
+
fileName: string;
|
|
324599
|
+
fileKey: string;
|
|
324600
|
+
bucketName: string;
|
|
324601
|
+
fileSize: number;
|
|
324602
|
+
fileUrl: string | null;
|
|
324603
|
+
} | null;
|
|
323685
324604
|
fields: {
|
|
323686
324605
|
data: string[];
|
|
323687
324606
|
};
|
|
@@ -323690,13 +324609,31 @@ export declare const widgetSettingContract: {
|
|
|
323690
324609
|
requestId: string;
|
|
323691
324610
|
widget: {
|
|
323692
324611
|
name: string;
|
|
324612
|
+
type: "custom" | "iframe" | null;
|
|
323693
324613
|
id: string;
|
|
323694
324614
|
url: string;
|
|
323695
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
|
324615
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
324616
|
+
method: "get" | "post" | null;
|
|
323696
324617
|
description: string | null;
|
|
323697
324618
|
createdAt: Date;
|
|
323698
324619
|
updatedAt: Date;
|
|
323699
324620
|
deletedAt: Date | null;
|
|
324621
|
+
headers: {
|
|
324622
|
+
key: string;
|
|
324623
|
+
value: string;
|
|
324624
|
+
}[] | null;
|
|
324625
|
+
upload: {
|
|
324626
|
+
id: string;
|
|
324627
|
+
status: string | null;
|
|
324628
|
+
createdAt: Date;
|
|
324629
|
+
updatedAt: Date;
|
|
324630
|
+
deletedAt: Date | null;
|
|
324631
|
+
fileName: string;
|
|
324632
|
+
fileKey: string;
|
|
324633
|
+
bucketName: string;
|
|
324634
|
+
fileSize: number;
|
|
324635
|
+
fileUrl: string | null;
|
|
324636
|
+
} | null;
|
|
323700
324637
|
fields: {
|
|
323701
324638
|
data: string[];
|
|
323702
324639
|
};
|
|
@@ -323705,13 +324642,31 @@ export declare const widgetSettingContract: {
|
|
|
323705
324642
|
requestId: string;
|
|
323706
324643
|
widget: {
|
|
323707
324644
|
name: string;
|
|
324645
|
+
type: "custom" | "iframe" | null;
|
|
323708
324646
|
id: string;
|
|
323709
324647
|
url: string;
|
|
323710
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
|
324648
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
324649
|
+
method: "get" | "post" | null;
|
|
323711
324650
|
description: string | null;
|
|
323712
324651
|
createdAt: Date;
|
|
323713
324652
|
updatedAt: Date;
|
|
323714
324653
|
deletedAt: Date | null;
|
|
324654
|
+
headers: {
|
|
324655
|
+
key: string;
|
|
324656
|
+
value: string;
|
|
324657
|
+
}[] | null;
|
|
324658
|
+
upload: {
|
|
324659
|
+
id: string;
|
|
324660
|
+
status: string | null;
|
|
324661
|
+
createdAt: Date;
|
|
324662
|
+
updatedAt: Date;
|
|
324663
|
+
deletedAt: Date | null;
|
|
324664
|
+
fileName: string;
|
|
324665
|
+
fileKey: string;
|
|
324666
|
+
bucketName: string;
|
|
324667
|
+
fileSize: number;
|
|
324668
|
+
fileUrl: string | null;
|
|
324669
|
+
} | null;
|
|
323715
324670
|
fields: {
|
|
323716
324671
|
data: string[];
|
|
323717
324672
|
};
|
|
@@ -323787,25 +324742,61 @@ export declare const widgetSettingContract: {
|
|
|
323787
324742
|
lastPage: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
323788
324743
|
data: import("zod").ZodArray<import("zod").ZodType<{
|
|
323789
324744
|
name: string;
|
|
324745
|
+
type: "custom" | "iframe" | null;
|
|
323790
324746
|
id: string;
|
|
323791
324747
|
url: string;
|
|
323792
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
|
324748
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
324749
|
+
method: "get" | "post" | null;
|
|
323793
324750
|
description: string | null;
|
|
323794
324751
|
createdAt: Date;
|
|
323795
324752
|
updatedAt: Date;
|
|
323796
324753
|
deletedAt: Date | null;
|
|
324754
|
+
headers: {
|
|
324755
|
+
key: string;
|
|
324756
|
+
value: string;
|
|
324757
|
+
}[] | null;
|
|
324758
|
+
upload: {
|
|
324759
|
+
id: string;
|
|
324760
|
+
status: string | null;
|
|
324761
|
+
createdAt: Date;
|
|
324762
|
+
updatedAt: Date;
|
|
324763
|
+
deletedAt: Date | null;
|
|
324764
|
+
fileName: string;
|
|
324765
|
+
fileKey: string;
|
|
324766
|
+
bucketName: string;
|
|
324767
|
+
fileSize: number;
|
|
324768
|
+
fileUrl: string | null;
|
|
324769
|
+
} | null;
|
|
323797
324770
|
fields: {
|
|
323798
324771
|
data: string[];
|
|
323799
324772
|
};
|
|
323800
324773
|
}, import("zod").ZodTypeDef, {
|
|
323801
324774
|
name: string;
|
|
324775
|
+
type: "custom" | "iframe" | null;
|
|
323802
324776
|
id: string;
|
|
323803
324777
|
url: string;
|
|
323804
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
|
324778
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
324779
|
+
method: "get" | "post" | null;
|
|
323805
324780
|
description: string | null;
|
|
323806
324781
|
createdAt: Date;
|
|
323807
324782
|
updatedAt: Date;
|
|
323808
324783
|
deletedAt: Date | null;
|
|
324784
|
+
headers: {
|
|
324785
|
+
key: string;
|
|
324786
|
+
value: string;
|
|
324787
|
+
}[] | null;
|
|
324788
|
+
upload: {
|
|
324789
|
+
id: string;
|
|
324790
|
+
status: string | null;
|
|
324791
|
+
createdAt: Date;
|
|
324792
|
+
updatedAt: Date;
|
|
324793
|
+
deletedAt: Date | null;
|
|
324794
|
+
fileName: string;
|
|
324795
|
+
fileKey: string;
|
|
324796
|
+
bucketName: string;
|
|
324797
|
+
fileSize: number;
|
|
324798
|
+
fileUrl: string | null;
|
|
324799
|
+
} | null;
|
|
323809
324800
|
fields: {
|
|
323810
324801
|
data: string[];
|
|
323811
324802
|
};
|
|
@@ -323813,13 +324804,31 @@ export declare const widgetSettingContract: {
|
|
|
323813
324804
|
}, "strip", import("zod").ZodTypeAny, {
|
|
323814
324805
|
data: {
|
|
323815
324806
|
name: string;
|
|
324807
|
+
type: "custom" | "iframe" | null;
|
|
323816
324808
|
id: string;
|
|
323817
324809
|
url: string;
|
|
323818
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
|
324810
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
324811
|
+
method: "get" | "post" | null;
|
|
323819
324812
|
description: string | null;
|
|
323820
324813
|
createdAt: Date;
|
|
323821
324814
|
updatedAt: Date;
|
|
323822
324815
|
deletedAt: Date | null;
|
|
324816
|
+
headers: {
|
|
324817
|
+
key: string;
|
|
324818
|
+
value: string;
|
|
324819
|
+
}[] | null;
|
|
324820
|
+
upload: {
|
|
324821
|
+
id: string;
|
|
324822
|
+
status: string | null;
|
|
324823
|
+
createdAt: Date;
|
|
324824
|
+
updatedAt: Date;
|
|
324825
|
+
deletedAt: Date | null;
|
|
324826
|
+
fileName: string;
|
|
324827
|
+
fileKey: string;
|
|
324828
|
+
bucketName: string;
|
|
324829
|
+
fileSize: number;
|
|
324830
|
+
fileUrl: string | null;
|
|
324831
|
+
} | null;
|
|
323823
324832
|
fields: {
|
|
323824
324833
|
data: string[];
|
|
323825
324834
|
};
|
|
@@ -323831,13 +324840,31 @@ export declare const widgetSettingContract: {
|
|
|
323831
324840
|
}, {
|
|
323832
324841
|
data: {
|
|
323833
324842
|
name: string;
|
|
324843
|
+
type: "custom" | "iframe" | null;
|
|
323834
324844
|
id: string;
|
|
323835
324845
|
url: string;
|
|
323836
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
|
324846
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
324847
|
+
method: "get" | "post" | null;
|
|
323837
324848
|
description: string | null;
|
|
323838
324849
|
createdAt: Date;
|
|
323839
324850
|
updatedAt: Date;
|
|
323840
324851
|
deletedAt: Date | null;
|
|
324852
|
+
headers: {
|
|
324853
|
+
key: string;
|
|
324854
|
+
value: string;
|
|
324855
|
+
}[] | null;
|
|
324856
|
+
upload: {
|
|
324857
|
+
id: string;
|
|
324858
|
+
status: string | null;
|
|
324859
|
+
createdAt: Date;
|
|
324860
|
+
updatedAt: Date;
|
|
324861
|
+
deletedAt: Date | null;
|
|
324862
|
+
fileName: string;
|
|
324863
|
+
fileKey: string;
|
|
324864
|
+
bucketName: string;
|
|
324865
|
+
fileSize: number;
|
|
324866
|
+
fileUrl: string | null;
|
|
324867
|
+
} | null;
|
|
323841
324868
|
fields: {
|
|
323842
324869
|
data: string[];
|
|
323843
324870
|
};
|
|
@@ -323904,7 +324931,7 @@ export declare const widgetSettingContract: {
|
|
|
323904
324931
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
323905
324932
|
name: import("zod").ZodString;
|
|
323906
324933
|
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
323907
|
-
position: import("zod").
|
|
324934
|
+
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">, import("zod").ZodLiteral<"contact_profile">, import("zod").ZodLiteral<"inbox_detail">]>;
|
|
323908
324935
|
fields: import("zod").ZodObject<{
|
|
323909
324936
|
data: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
323910
324937
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -323913,27 +324940,109 @@ export declare const widgetSettingContract: {
|
|
|
323913
324940
|
data: string[];
|
|
323914
324941
|
}>;
|
|
323915
324942
|
url: import("zod").ZodString;
|
|
324943
|
+
upload: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
324944
|
+
id: import("zod").ZodString;
|
|
324945
|
+
createdAt: import("zod").ZodDate;
|
|
324946
|
+
updatedAt: import("zod").ZodDate;
|
|
324947
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
324948
|
+
bucketName: import("zod").ZodString;
|
|
324949
|
+
fileName: import("zod").ZodString;
|
|
324950
|
+
fileSize: import("zod").ZodNumber;
|
|
324951
|
+
fileKey: import("zod").ZodString;
|
|
324952
|
+
fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
|
324953
|
+
status: import("zod").ZodNullable<import("zod").ZodString>;
|
|
324954
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
324955
|
+
id: string;
|
|
324956
|
+
status: string | null;
|
|
324957
|
+
createdAt: Date;
|
|
324958
|
+
updatedAt: Date;
|
|
324959
|
+
deletedAt: Date | null;
|
|
324960
|
+
fileName: string;
|
|
324961
|
+
fileKey: string;
|
|
324962
|
+
bucketName: string;
|
|
324963
|
+
fileSize: number;
|
|
324964
|
+
fileUrl: string | null;
|
|
324965
|
+
}, {
|
|
324966
|
+
id: string;
|
|
324967
|
+
status: string | null;
|
|
324968
|
+
createdAt: Date;
|
|
324969
|
+
updatedAt: Date;
|
|
324970
|
+
deletedAt: Date | null;
|
|
324971
|
+
fileName: string;
|
|
324972
|
+
fileKey: string;
|
|
324973
|
+
bucketName: string;
|
|
324974
|
+
fileSize: number;
|
|
324975
|
+
fileUrl: string | null;
|
|
324976
|
+
}>>;
|
|
324977
|
+
type: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"iframe">, import("zod").ZodLiteral<"custom">]>>;
|
|
324978
|
+
headers: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
|
|
324979
|
+
key: import("zod").ZodString;
|
|
324980
|
+
value: import("zod").ZodString;
|
|
324981
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
324982
|
+
key: string;
|
|
324983
|
+
value: string;
|
|
324984
|
+
}, {
|
|
324985
|
+
key: string;
|
|
324986
|
+
value: string;
|
|
324987
|
+
}>, "many">>;
|
|
324988
|
+
method: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"get">, import("zod").ZodLiteral<"post">]>>;
|
|
323916
324989
|
}, "strip", import("zod").ZodTypeAny, {
|
|
323917
324990
|
name: string;
|
|
324991
|
+
type: "custom" | "iframe" | null;
|
|
323918
324992
|
id: string;
|
|
323919
324993
|
url: string;
|
|
323920
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
|
324994
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
324995
|
+
method: "get" | "post" | null;
|
|
323921
324996
|
description: string | null;
|
|
323922
324997
|
createdAt: Date;
|
|
323923
324998
|
updatedAt: Date;
|
|
323924
324999
|
deletedAt: Date | null;
|
|
325000
|
+
headers: {
|
|
325001
|
+
key: string;
|
|
325002
|
+
value: string;
|
|
325003
|
+
}[] | null;
|
|
325004
|
+
upload: {
|
|
325005
|
+
id: string;
|
|
325006
|
+
status: string | null;
|
|
325007
|
+
createdAt: Date;
|
|
325008
|
+
updatedAt: Date;
|
|
325009
|
+
deletedAt: Date | null;
|
|
325010
|
+
fileName: string;
|
|
325011
|
+
fileKey: string;
|
|
325012
|
+
bucketName: string;
|
|
325013
|
+
fileSize: number;
|
|
325014
|
+
fileUrl: string | null;
|
|
325015
|
+
} | null;
|
|
323925
325016
|
fields: {
|
|
323926
325017
|
data: string[];
|
|
323927
325018
|
};
|
|
323928
325019
|
}, {
|
|
323929
325020
|
name: string;
|
|
325021
|
+
type: "custom" | "iframe" | null;
|
|
323930
325022
|
id: string;
|
|
323931
325023
|
url: string;
|
|
323932
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
|
325024
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
325025
|
+
method: "get" | "post" | null;
|
|
323933
325026
|
description: string | null;
|
|
323934
325027
|
createdAt: Date;
|
|
323935
325028
|
updatedAt: Date;
|
|
323936
325029
|
deletedAt: Date | null;
|
|
325030
|
+
headers: {
|
|
325031
|
+
key: string;
|
|
325032
|
+
value: string;
|
|
325033
|
+
}[] | null;
|
|
325034
|
+
upload: {
|
|
325035
|
+
id: string;
|
|
325036
|
+
status: string | null;
|
|
325037
|
+
createdAt: Date;
|
|
325038
|
+
updatedAt: Date;
|
|
325039
|
+
deletedAt: Date | null;
|
|
325040
|
+
fileName: string;
|
|
325041
|
+
fileKey: string;
|
|
325042
|
+
bucketName: string;
|
|
325043
|
+
fileSize: number;
|
|
325044
|
+
fileUrl: string | null;
|
|
325045
|
+
} | null;
|
|
323937
325046
|
fields: {
|
|
323938
325047
|
data: string[];
|
|
323939
325048
|
};
|
|
@@ -323995,7 +325104,7 @@ export declare const widgetSettingContract: {
|
|
|
323995
325104
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
323996
325105
|
name: import("zod").ZodString;
|
|
323997
325106
|
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
323998
|
-
position: import("zod").
|
|
325107
|
+
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">, import("zod").ZodLiteral<"contact_profile">, import("zod").ZodLiteral<"inbox_detail">]>;
|
|
323999
325108
|
fields: import("zod").ZodObject<{
|
|
324000
325109
|
data: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
324001
325110
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -324004,27 +325113,109 @@ export declare const widgetSettingContract: {
|
|
|
324004
325113
|
data: string[];
|
|
324005
325114
|
}>;
|
|
324006
325115
|
url: import("zod").ZodString;
|
|
325116
|
+
upload: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
325117
|
+
id: import("zod").ZodString;
|
|
325118
|
+
createdAt: import("zod").ZodDate;
|
|
325119
|
+
updatedAt: import("zod").ZodDate;
|
|
325120
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
325121
|
+
bucketName: import("zod").ZodString;
|
|
325122
|
+
fileName: import("zod").ZodString;
|
|
325123
|
+
fileSize: import("zod").ZodNumber;
|
|
325124
|
+
fileKey: import("zod").ZodString;
|
|
325125
|
+
fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
|
325126
|
+
status: import("zod").ZodNullable<import("zod").ZodString>;
|
|
325127
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
325128
|
+
id: string;
|
|
325129
|
+
status: string | null;
|
|
325130
|
+
createdAt: Date;
|
|
325131
|
+
updatedAt: Date;
|
|
325132
|
+
deletedAt: Date | null;
|
|
325133
|
+
fileName: string;
|
|
325134
|
+
fileKey: string;
|
|
325135
|
+
bucketName: string;
|
|
325136
|
+
fileSize: number;
|
|
325137
|
+
fileUrl: string | null;
|
|
325138
|
+
}, {
|
|
325139
|
+
id: string;
|
|
325140
|
+
status: string | null;
|
|
325141
|
+
createdAt: Date;
|
|
325142
|
+
updatedAt: Date;
|
|
325143
|
+
deletedAt: Date | null;
|
|
325144
|
+
fileName: string;
|
|
325145
|
+
fileKey: string;
|
|
325146
|
+
bucketName: string;
|
|
325147
|
+
fileSize: number;
|
|
325148
|
+
fileUrl: string | null;
|
|
325149
|
+
}>>;
|
|
325150
|
+
type: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"iframe">, import("zod").ZodLiteral<"custom">]>>;
|
|
325151
|
+
headers: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
|
|
325152
|
+
key: import("zod").ZodString;
|
|
325153
|
+
value: import("zod").ZodString;
|
|
325154
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
325155
|
+
key: string;
|
|
325156
|
+
value: string;
|
|
325157
|
+
}, {
|
|
325158
|
+
key: string;
|
|
325159
|
+
value: string;
|
|
325160
|
+
}>, "many">>;
|
|
325161
|
+
method: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"get">, import("zod").ZodLiteral<"post">]>>;
|
|
324007
325162
|
}, "strip", import("zod").ZodTypeAny, {
|
|
324008
325163
|
name: string;
|
|
325164
|
+
type: "custom" | "iframe" | null;
|
|
324009
325165
|
id: string;
|
|
324010
325166
|
url: string;
|
|
324011
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
|
325167
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
325168
|
+
method: "get" | "post" | null;
|
|
324012
325169
|
description: string | null;
|
|
324013
325170
|
createdAt: Date;
|
|
324014
325171
|
updatedAt: Date;
|
|
324015
325172
|
deletedAt: Date | null;
|
|
325173
|
+
headers: {
|
|
325174
|
+
key: string;
|
|
325175
|
+
value: string;
|
|
325176
|
+
}[] | null;
|
|
325177
|
+
upload: {
|
|
325178
|
+
id: string;
|
|
325179
|
+
status: string | null;
|
|
325180
|
+
createdAt: Date;
|
|
325181
|
+
updatedAt: Date;
|
|
325182
|
+
deletedAt: Date | null;
|
|
325183
|
+
fileName: string;
|
|
325184
|
+
fileKey: string;
|
|
325185
|
+
bucketName: string;
|
|
325186
|
+
fileSize: number;
|
|
325187
|
+
fileUrl: string | null;
|
|
325188
|
+
} | null;
|
|
324016
325189
|
fields: {
|
|
324017
325190
|
data: string[];
|
|
324018
325191
|
};
|
|
324019
325192
|
}, {
|
|
324020
325193
|
name: string;
|
|
325194
|
+
type: "custom" | "iframe" | null;
|
|
324021
325195
|
id: string;
|
|
324022
325196
|
url: string;
|
|
324023
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
|
325197
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
325198
|
+
method: "get" | "post" | null;
|
|
324024
325199
|
description: string | null;
|
|
324025
325200
|
createdAt: Date;
|
|
324026
325201
|
updatedAt: Date;
|
|
324027
325202
|
deletedAt: Date | null;
|
|
325203
|
+
headers: {
|
|
325204
|
+
key: string;
|
|
325205
|
+
value: string;
|
|
325206
|
+
}[] | null;
|
|
325207
|
+
upload: {
|
|
325208
|
+
id: string;
|
|
325209
|
+
status: string | null;
|
|
325210
|
+
createdAt: Date;
|
|
325211
|
+
updatedAt: Date;
|
|
325212
|
+
deletedAt: Date | null;
|
|
325213
|
+
fileName: string;
|
|
325214
|
+
fileKey: string;
|
|
325215
|
+
bucketName: string;
|
|
325216
|
+
fileSize: number;
|
|
325217
|
+
fileUrl: string | null;
|
|
325218
|
+
} | null;
|
|
324028
325219
|
fields: {
|
|
324029
325220
|
data: string[];
|
|
324030
325221
|
};
|
|
@@ -324086,7 +325277,7 @@ export declare const widgetSettingContract: {
|
|
|
324086
325277
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
324087
325278
|
name: import("zod").ZodString;
|
|
324088
325279
|
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
324089
|
-
position: import("zod").
|
|
325280
|
+
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">, import("zod").ZodLiteral<"contact_profile">, import("zod").ZodLiteral<"inbox_detail">]>;
|
|
324090
325281
|
fields: import("zod").ZodObject<{
|
|
324091
325282
|
data: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
324092
325283
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -324095,27 +325286,109 @@ export declare const widgetSettingContract: {
|
|
|
324095
325286
|
data: string[];
|
|
324096
325287
|
}>;
|
|
324097
325288
|
url: import("zod").ZodString;
|
|
325289
|
+
upload: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
325290
|
+
id: import("zod").ZodString;
|
|
325291
|
+
createdAt: import("zod").ZodDate;
|
|
325292
|
+
updatedAt: import("zod").ZodDate;
|
|
325293
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
325294
|
+
bucketName: import("zod").ZodString;
|
|
325295
|
+
fileName: import("zod").ZodString;
|
|
325296
|
+
fileSize: import("zod").ZodNumber;
|
|
325297
|
+
fileKey: import("zod").ZodString;
|
|
325298
|
+
fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
|
325299
|
+
status: import("zod").ZodNullable<import("zod").ZodString>;
|
|
325300
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
325301
|
+
id: string;
|
|
325302
|
+
status: string | null;
|
|
325303
|
+
createdAt: Date;
|
|
325304
|
+
updatedAt: Date;
|
|
325305
|
+
deletedAt: Date | null;
|
|
325306
|
+
fileName: string;
|
|
325307
|
+
fileKey: string;
|
|
325308
|
+
bucketName: string;
|
|
325309
|
+
fileSize: number;
|
|
325310
|
+
fileUrl: string | null;
|
|
325311
|
+
}, {
|
|
325312
|
+
id: string;
|
|
325313
|
+
status: string | null;
|
|
325314
|
+
createdAt: Date;
|
|
325315
|
+
updatedAt: Date;
|
|
325316
|
+
deletedAt: Date | null;
|
|
325317
|
+
fileName: string;
|
|
325318
|
+
fileKey: string;
|
|
325319
|
+
bucketName: string;
|
|
325320
|
+
fileSize: number;
|
|
325321
|
+
fileUrl: string | null;
|
|
325322
|
+
}>>;
|
|
325323
|
+
type: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"iframe">, import("zod").ZodLiteral<"custom">]>>;
|
|
325324
|
+
headers: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
|
|
325325
|
+
key: import("zod").ZodString;
|
|
325326
|
+
value: import("zod").ZodString;
|
|
325327
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
325328
|
+
key: string;
|
|
325329
|
+
value: string;
|
|
325330
|
+
}, {
|
|
325331
|
+
key: string;
|
|
325332
|
+
value: string;
|
|
325333
|
+
}>, "many">>;
|
|
325334
|
+
method: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"get">, import("zod").ZodLiteral<"post">]>>;
|
|
324098
325335
|
}, "strip", import("zod").ZodTypeAny, {
|
|
324099
325336
|
name: string;
|
|
325337
|
+
type: "custom" | "iframe" | null;
|
|
324100
325338
|
id: string;
|
|
324101
325339
|
url: string;
|
|
324102
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
|
325340
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
325341
|
+
method: "get" | "post" | null;
|
|
324103
325342
|
description: string | null;
|
|
324104
325343
|
createdAt: Date;
|
|
324105
325344
|
updatedAt: Date;
|
|
324106
325345
|
deletedAt: Date | null;
|
|
325346
|
+
headers: {
|
|
325347
|
+
key: string;
|
|
325348
|
+
value: string;
|
|
325349
|
+
}[] | null;
|
|
325350
|
+
upload: {
|
|
325351
|
+
id: string;
|
|
325352
|
+
status: string | null;
|
|
325353
|
+
createdAt: Date;
|
|
325354
|
+
updatedAt: Date;
|
|
325355
|
+
deletedAt: Date | null;
|
|
325356
|
+
fileName: string;
|
|
325357
|
+
fileKey: string;
|
|
325358
|
+
bucketName: string;
|
|
325359
|
+
fileSize: number;
|
|
325360
|
+
fileUrl: string | null;
|
|
325361
|
+
} | null;
|
|
324107
325362
|
fields: {
|
|
324108
325363
|
data: string[];
|
|
324109
325364
|
};
|
|
324110
325365
|
}, {
|
|
324111
325366
|
name: string;
|
|
325367
|
+
type: "custom" | "iframe" | null;
|
|
324112
325368
|
id: string;
|
|
324113
325369
|
url: string;
|
|
324114
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
|
325370
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
325371
|
+
method: "get" | "post" | null;
|
|
324115
325372
|
description: string | null;
|
|
324116
325373
|
createdAt: Date;
|
|
324117
325374
|
updatedAt: Date;
|
|
324118
325375
|
deletedAt: Date | null;
|
|
325376
|
+
headers: {
|
|
325377
|
+
key: string;
|
|
325378
|
+
value: string;
|
|
325379
|
+
}[] | null;
|
|
325380
|
+
upload: {
|
|
325381
|
+
id: string;
|
|
325382
|
+
status: string | null;
|
|
325383
|
+
createdAt: Date;
|
|
325384
|
+
updatedAt: Date;
|
|
325385
|
+
deletedAt: Date | null;
|
|
325386
|
+
fileName: string;
|
|
325387
|
+
fileKey: string;
|
|
325388
|
+
bucketName: string;
|
|
325389
|
+
fileSize: number;
|
|
325390
|
+
fileUrl: string | null;
|
|
325391
|
+
} | null;
|
|
324119
325392
|
fields: {
|
|
324120
325393
|
data: string[];
|
|
324121
325394
|
};
|
|
@@ -324184,7 +325457,7 @@ export declare const widgetSettingContract: {
|
|
|
324184
325457
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
324185
325458
|
name: import("zod").ZodString;
|
|
324186
325459
|
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
324187
|
-
position: import("zod").
|
|
325460
|
+
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">, import("zod").ZodLiteral<"contact_profile">, import("zod").ZodLiteral<"inbox_detail">]>;
|
|
324188
325461
|
fields: import("zod").ZodObject<{
|
|
324189
325462
|
data: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
324190
325463
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -324193,27 +325466,109 @@ export declare const widgetSettingContract: {
|
|
|
324193
325466
|
data: string[];
|
|
324194
325467
|
}>;
|
|
324195
325468
|
url: import("zod").ZodString;
|
|
325469
|
+
upload: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
325470
|
+
id: import("zod").ZodString;
|
|
325471
|
+
createdAt: import("zod").ZodDate;
|
|
325472
|
+
updatedAt: import("zod").ZodDate;
|
|
325473
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
325474
|
+
bucketName: import("zod").ZodString;
|
|
325475
|
+
fileName: import("zod").ZodString;
|
|
325476
|
+
fileSize: import("zod").ZodNumber;
|
|
325477
|
+
fileKey: import("zod").ZodString;
|
|
325478
|
+
fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
|
325479
|
+
status: import("zod").ZodNullable<import("zod").ZodString>;
|
|
325480
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
325481
|
+
id: string;
|
|
325482
|
+
status: string | null;
|
|
325483
|
+
createdAt: Date;
|
|
325484
|
+
updatedAt: Date;
|
|
325485
|
+
deletedAt: Date | null;
|
|
325486
|
+
fileName: string;
|
|
325487
|
+
fileKey: string;
|
|
325488
|
+
bucketName: string;
|
|
325489
|
+
fileSize: number;
|
|
325490
|
+
fileUrl: string | null;
|
|
325491
|
+
}, {
|
|
325492
|
+
id: string;
|
|
325493
|
+
status: string | null;
|
|
325494
|
+
createdAt: Date;
|
|
325495
|
+
updatedAt: Date;
|
|
325496
|
+
deletedAt: Date | null;
|
|
325497
|
+
fileName: string;
|
|
325498
|
+
fileKey: string;
|
|
325499
|
+
bucketName: string;
|
|
325500
|
+
fileSize: number;
|
|
325501
|
+
fileUrl: string | null;
|
|
325502
|
+
}>>;
|
|
325503
|
+
type: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"iframe">, import("zod").ZodLiteral<"custom">]>>;
|
|
325504
|
+
headers: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
|
|
325505
|
+
key: import("zod").ZodString;
|
|
325506
|
+
value: import("zod").ZodString;
|
|
325507
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
325508
|
+
key: string;
|
|
325509
|
+
value: string;
|
|
325510
|
+
}, {
|
|
325511
|
+
key: string;
|
|
325512
|
+
value: string;
|
|
325513
|
+
}>, "many">>;
|
|
325514
|
+
method: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"get">, import("zod").ZodLiteral<"post">]>>;
|
|
324196
325515
|
}, "strip", import("zod").ZodTypeAny, {
|
|
324197
325516
|
name: string;
|
|
325517
|
+
type: "custom" | "iframe" | null;
|
|
324198
325518
|
id: string;
|
|
324199
325519
|
url: string;
|
|
324200
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
|
325520
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
325521
|
+
method: "get" | "post" | null;
|
|
324201
325522
|
description: string | null;
|
|
324202
325523
|
createdAt: Date;
|
|
324203
325524
|
updatedAt: Date;
|
|
324204
325525
|
deletedAt: Date | null;
|
|
325526
|
+
headers: {
|
|
325527
|
+
key: string;
|
|
325528
|
+
value: string;
|
|
325529
|
+
}[] | null;
|
|
325530
|
+
upload: {
|
|
325531
|
+
id: string;
|
|
325532
|
+
status: string | null;
|
|
325533
|
+
createdAt: Date;
|
|
325534
|
+
updatedAt: Date;
|
|
325535
|
+
deletedAt: Date | null;
|
|
325536
|
+
fileName: string;
|
|
325537
|
+
fileKey: string;
|
|
325538
|
+
bucketName: string;
|
|
325539
|
+
fileSize: number;
|
|
325540
|
+
fileUrl: string | null;
|
|
325541
|
+
} | null;
|
|
324205
325542
|
fields: {
|
|
324206
325543
|
data: string[];
|
|
324207
325544
|
};
|
|
324208
325545
|
}, {
|
|
324209
325546
|
name: string;
|
|
325547
|
+
type: "custom" | "iframe" | null;
|
|
324210
325548
|
id: string;
|
|
324211
325549
|
url: string;
|
|
324212
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
|
325550
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
325551
|
+
method: "get" | "post" | null;
|
|
324213
325552
|
description: string | null;
|
|
324214
325553
|
createdAt: Date;
|
|
324215
325554
|
updatedAt: Date;
|
|
324216
325555
|
deletedAt: Date | null;
|
|
325556
|
+
headers: {
|
|
325557
|
+
key: string;
|
|
325558
|
+
value: string;
|
|
325559
|
+
}[] | null;
|
|
325560
|
+
upload: {
|
|
325561
|
+
id: string;
|
|
325562
|
+
status: string | null;
|
|
325563
|
+
createdAt: Date;
|
|
325564
|
+
updatedAt: Date;
|
|
325565
|
+
deletedAt: Date | null;
|
|
325566
|
+
fileName: string;
|
|
325567
|
+
fileKey: string;
|
|
325568
|
+
bucketName: string;
|
|
325569
|
+
fileSize: number;
|
|
325570
|
+
fileUrl: string | null;
|
|
325571
|
+
} | null;
|
|
324217
325572
|
fields: {
|
|
324218
325573
|
data: string[];
|
|
324219
325574
|
};
|
|
@@ -324327,9 +325682,9 @@ export declare const widgetSettingContract: {
|
|
|
324327
325682
|
updateWidget: {
|
|
324328
325683
|
body: import("zod").ZodObject<{
|
|
324329
325684
|
name: import("zod").ZodString;
|
|
324330
|
-
description: import("zod").ZodString
|
|
325685
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
324331
325686
|
url: import("zod").ZodString;
|
|
324332
|
-
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">]>;
|
|
325687
|
+
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">, import("zod").ZodLiteral<"contact_profile">, import("zod").ZodLiteral<"inbox_detail">]>;
|
|
324333
325688
|
fields: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
324334
325689
|
data: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
324335
325690
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -324337,22 +325692,89 @@ export declare const widgetSettingContract: {
|
|
|
324337
325692
|
}, {
|
|
324338
325693
|
data: string[];
|
|
324339
325694
|
}>>;
|
|
325695
|
+
widgetUploadAttachment: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
325696
|
+
bucketName: import("zod").ZodString;
|
|
325697
|
+
fileKey: import("zod").ZodString;
|
|
325698
|
+
fileName: import("zod").ZodString;
|
|
325699
|
+
fileSize: import("zod").ZodNumber;
|
|
325700
|
+
url: import("zod").ZodNullable<import("zod").ZodString>;
|
|
325701
|
+
fileType: import("zod").ZodString;
|
|
325702
|
+
thumbnailUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
325703
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
325704
|
+
url: string | null;
|
|
325705
|
+
fileName: string;
|
|
325706
|
+
fileType: string;
|
|
325707
|
+
fileKey: string;
|
|
325708
|
+
bucketName: string;
|
|
325709
|
+
fileSize: number;
|
|
325710
|
+
thumbnailUrl?: string | undefined;
|
|
325711
|
+
}, {
|
|
325712
|
+
url: string | null;
|
|
325713
|
+
fileName: string;
|
|
325714
|
+
fileType: string;
|
|
325715
|
+
fileKey: string;
|
|
325716
|
+
bucketName: string;
|
|
325717
|
+
fileSize: number;
|
|
325718
|
+
thumbnailUrl?: string | undefined;
|
|
325719
|
+
}>>;
|
|
325720
|
+
type: import("zod").ZodUnion<[import("zod").ZodLiteral<"iframe">, import("zod").ZodLiteral<"custom">]>;
|
|
325721
|
+
headers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
325722
|
+
key: import("zod").ZodString;
|
|
325723
|
+
value: import("zod").ZodString;
|
|
325724
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
325725
|
+
key: string;
|
|
325726
|
+
value: string;
|
|
325727
|
+
}, {
|
|
325728
|
+
key: string;
|
|
325729
|
+
value: string;
|
|
325730
|
+
}>, "many">>;
|
|
325731
|
+
method: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"get">, import("zod").ZodLiteral<"post">]>>;
|
|
324340
325732
|
}, "strip", import("zod").ZodTypeAny, {
|
|
324341
325733
|
name: string;
|
|
325734
|
+
type: "custom" | "iframe";
|
|
324342
325735
|
url: string;
|
|
324343
|
-
position: "menu" | "ticket_detail" | "contact_detail";
|
|
324344
|
-
description
|
|
325736
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
325737
|
+
description?: string | undefined;
|
|
324345
325738
|
fields?: {
|
|
324346
325739
|
data: string[];
|
|
324347
325740
|
} | undefined;
|
|
325741
|
+
widgetUploadAttachment?: {
|
|
325742
|
+
url: string | null;
|
|
325743
|
+
fileName: string;
|
|
325744
|
+
fileType: string;
|
|
325745
|
+
fileKey: string;
|
|
325746
|
+
bucketName: string;
|
|
325747
|
+
fileSize: number;
|
|
325748
|
+
thumbnailUrl?: string | undefined;
|
|
325749
|
+
} | undefined;
|
|
325750
|
+
headers?: {
|
|
325751
|
+
key: string;
|
|
325752
|
+
value: string;
|
|
325753
|
+
}[] | undefined;
|
|
325754
|
+
method?: "get" | "post" | undefined;
|
|
324348
325755
|
}, {
|
|
324349
325756
|
name: string;
|
|
325757
|
+
type: "custom" | "iframe";
|
|
324350
325758
|
url: string;
|
|
324351
|
-
position: "menu" | "ticket_detail" | "contact_detail";
|
|
324352
|
-
description
|
|
325759
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
325760
|
+
description?: string | undefined;
|
|
324353
325761
|
fields?: {
|
|
324354
325762
|
data: string[];
|
|
324355
325763
|
} | undefined;
|
|
325764
|
+
widgetUploadAttachment?: {
|
|
325765
|
+
url: string | null;
|
|
325766
|
+
fileName: string;
|
|
325767
|
+
fileType: string;
|
|
325768
|
+
fileKey: string;
|
|
325769
|
+
bucketName: string;
|
|
325770
|
+
fileSize: number;
|
|
325771
|
+
thumbnailUrl?: string | undefined;
|
|
325772
|
+
} | undefined;
|
|
325773
|
+
headers?: {
|
|
325774
|
+
key: string;
|
|
325775
|
+
value: string;
|
|
325776
|
+
}[] | undefined;
|
|
325777
|
+
method?: "get" | "post" | undefined;
|
|
324356
325778
|
}>;
|
|
324357
325779
|
summary: "Update a widget.";
|
|
324358
325780
|
method: "PATCH";
|
|
@@ -324373,7 +325795,7 @@ export declare const widgetSettingContract: {
|
|
|
324373
325795
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
324374
325796
|
name: import("zod").ZodString;
|
|
324375
325797
|
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
324376
|
-
position: import("zod").
|
|
325798
|
+
position: import("zod").ZodUnion<[import("zod").ZodLiteral<"menu">, import("zod").ZodLiteral<"ticket_detail">, import("zod").ZodLiteral<"contact_detail">, import("zod").ZodLiteral<"contact_profile">, import("zod").ZodLiteral<"inbox_detail">]>;
|
|
324377
325799
|
fields: import("zod").ZodObject<{
|
|
324378
325800
|
data: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
324379
325801
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -324382,27 +325804,109 @@ export declare const widgetSettingContract: {
|
|
|
324382
325804
|
data: string[];
|
|
324383
325805
|
}>;
|
|
324384
325806
|
url: import("zod").ZodString;
|
|
325807
|
+
upload: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
325808
|
+
id: import("zod").ZodString;
|
|
325809
|
+
createdAt: import("zod").ZodDate;
|
|
325810
|
+
updatedAt: import("zod").ZodDate;
|
|
325811
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
325812
|
+
bucketName: import("zod").ZodString;
|
|
325813
|
+
fileName: import("zod").ZodString;
|
|
325814
|
+
fileSize: import("zod").ZodNumber;
|
|
325815
|
+
fileKey: import("zod").ZodString;
|
|
325816
|
+
fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
|
325817
|
+
status: import("zod").ZodNullable<import("zod").ZodString>;
|
|
325818
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
325819
|
+
id: string;
|
|
325820
|
+
status: string | null;
|
|
325821
|
+
createdAt: Date;
|
|
325822
|
+
updatedAt: Date;
|
|
325823
|
+
deletedAt: Date | null;
|
|
325824
|
+
fileName: string;
|
|
325825
|
+
fileKey: string;
|
|
325826
|
+
bucketName: string;
|
|
325827
|
+
fileSize: number;
|
|
325828
|
+
fileUrl: string | null;
|
|
325829
|
+
}, {
|
|
325830
|
+
id: string;
|
|
325831
|
+
status: string | null;
|
|
325832
|
+
createdAt: Date;
|
|
325833
|
+
updatedAt: Date;
|
|
325834
|
+
deletedAt: Date | null;
|
|
325835
|
+
fileName: string;
|
|
325836
|
+
fileKey: string;
|
|
325837
|
+
bucketName: string;
|
|
325838
|
+
fileSize: number;
|
|
325839
|
+
fileUrl: string | null;
|
|
325840
|
+
}>>;
|
|
325841
|
+
type: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"iframe">, import("zod").ZodLiteral<"custom">]>>;
|
|
325842
|
+
headers: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
|
|
325843
|
+
key: import("zod").ZodString;
|
|
325844
|
+
value: import("zod").ZodString;
|
|
325845
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
325846
|
+
key: string;
|
|
325847
|
+
value: string;
|
|
325848
|
+
}, {
|
|
325849
|
+
key: string;
|
|
325850
|
+
value: string;
|
|
325851
|
+
}>, "many">>;
|
|
325852
|
+
method: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodLiteral<"get">, import("zod").ZodLiteral<"post">]>>;
|
|
324385
325853
|
}, "strip", import("zod").ZodTypeAny, {
|
|
324386
325854
|
name: string;
|
|
325855
|
+
type: "custom" | "iframe" | null;
|
|
324387
325856
|
id: string;
|
|
324388
325857
|
url: string;
|
|
324389
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
|
325858
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
325859
|
+
method: "get" | "post" | null;
|
|
324390
325860
|
description: string | null;
|
|
324391
325861
|
createdAt: Date;
|
|
324392
325862
|
updatedAt: Date;
|
|
324393
325863
|
deletedAt: Date | null;
|
|
325864
|
+
headers: {
|
|
325865
|
+
key: string;
|
|
325866
|
+
value: string;
|
|
325867
|
+
}[] | null;
|
|
325868
|
+
upload: {
|
|
325869
|
+
id: string;
|
|
325870
|
+
status: string | null;
|
|
325871
|
+
createdAt: Date;
|
|
325872
|
+
updatedAt: Date;
|
|
325873
|
+
deletedAt: Date | null;
|
|
325874
|
+
fileName: string;
|
|
325875
|
+
fileKey: string;
|
|
325876
|
+
bucketName: string;
|
|
325877
|
+
fileSize: number;
|
|
325878
|
+
fileUrl: string | null;
|
|
325879
|
+
} | null;
|
|
324394
325880
|
fields: {
|
|
324395
325881
|
data: string[];
|
|
324396
325882
|
};
|
|
324397
325883
|
}, {
|
|
324398
325884
|
name: string;
|
|
325885
|
+
type: "custom" | "iframe" | null;
|
|
324399
325886
|
id: string;
|
|
324400
325887
|
url: string;
|
|
324401
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
|
325888
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
325889
|
+
method: "get" | "post" | null;
|
|
324402
325890
|
description: string | null;
|
|
324403
325891
|
createdAt: Date;
|
|
324404
325892
|
updatedAt: Date;
|
|
324405
325893
|
deletedAt: Date | null;
|
|
325894
|
+
headers: {
|
|
325895
|
+
key: string;
|
|
325896
|
+
value: string;
|
|
325897
|
+
}[] | null;
|
|
325898
|
+
upload: {
|
|
325899
|
+
id: string;
|
|
325900
|
+
status: string | null;
|
|
325901
|
+
createdAt: Date;
|
|
325902
|
+
updatedAt: Date;
|
|
325903
|
+
deletedAt: Date | null;
|
|
325904
|
+
fileName: string;
|
|
325905
|
+
fileKey: string;
|
|
325906
|
+
bucketName: string;
|
|
325907
|
+
fileSize: number;
|
|
325908
|
+
fileUrl: string | null;
|
|
325909
|
+
} | null;
|
|
324406
325910
|
fields: {
|
|
324407
325911
|
data: string[];
|
|
324408
325912
|
};
|
|
@@ -324411,13 +325915,31 @@ export declare const widgetSettingContract: {
|
|
|
324411
325915
|
requestId: string;
|
|
324412
325916
|
widget: {
|
|
324413
325917
|
name: string;
|
|
325918
|
+
type: "custom" | "iframe" | null;
|
|
324414
325919
|
id: string;
|
|
324415
325920
|
url: string;
|
|
324416
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
|
325921
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
325922
|
+
method: "get" | "post" | null;
|
|
324417
325923
|
description: string | null;
|
|
324418
325924
|
createdAt: Date;
|
|
324419
325925
|
updatedAt: Date;
|
|
324420
325926
|
deletedAt: Date | null;
|
|
325927
|
+
headers: {
|
|
325928
|
+
key: string;
|
|
325929
|
+
value: string;
|
|
325930
|
+
}[] | null;
|
|
325931
|
+
upload: {
|
|
325932
|
+
id: string;
|
|
325933
|
+
status: string | null;
|
|
325934
|
+
createdAt: Date;
|
|
325935
|
+
updatedAt: Date;
|
|
325936
|
+
deletedAt: Date | null;
|
|
325937
|
+
fileName: string;
|
|
325938
|
+
fileKey: string;
|
|
325939
|
+
bucketName: string;
|
|
325940
|
+
fileSize: number;
|
|
325941
|
+
fileUrl: string | null;
|
|
325942
|
+
} | null;
|
|
324421
325943
|
fields: {
|
|
324422
325944
|
data: string[];
|
|
324423
325945
|
};
|
|
@@ -324426,13 +325948,31 @@ export declare const widgetSettingContract: {
|
|
|
324426
325948
|
requestId: string;
|
|
324427
325949
|
widget: {
|
|
324428
325950
|
name: string;
|
|
325951
|
+
type: "custom" | "iframe" | null;
|
|
324429
325952
|
id: string;
|
|
324430
325953
|
url: string;
|
|
324431
|
-
position: "menu" | "ticket_detail" | "contact_detail" |
|
|
325954
|
+
position: "menu" | "ticket_detail" | "contact_detail" | "contact_profile" | "inbox_detail";
|
|
325955
|
+
method: "get" | "post" | null;
|
|
324432
325956
|
description: string | null;
|
|
324433
325957
|
createdAt: Date;
|
|
324434
325958
|
updatedAt: Date;
|
|
324435
325959
|
deletedAt: Date | null;
|
|
325960
|
+
headers: {
|
|
325961
|
+
key: string;
|
|
325962
|
+
value: string;
|
|
325963
|
+
}[] | null;
|
|
325964
|
+
upload: {
|
|
325965
|
+
id: string;
|
|
325966
|
+
status: string | null;
|
|
325967
|
+
createdAt: Date;
|
|
325968
|
+
updatedAt: Date;
|
|
325969
|
+
deletedAt: Date | null;
|
|
325970
|
+
fileName: string;
|
|
325971
|
+
fileKey: string;
|
|
325972
|
+
bucketName: string;
|
|
325973
|
+
fileSize: number;
|
|
325974
|
+
fileUrl: string | null;
|
|
325975
|
+
} | null;
|
|
324436
325976
|
fields: {
|
|
324437
325977
|
data: string[];
|
|
324438
325978
|
};
|