@kl1/contracts 1.3.49 → 1.3.51
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 +76 -30
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +76 -30
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/validation.d.ts +26 -3
- package/dist/api-contracts/src/cx-log/validation.d.ts.map +1 -1
- package/dist/index.js +60 -62
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +60 -62
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -14037,7 +14037,20 @@ export declare const apiContract: {
|
|
14037
14037
|
notes: import("zod").ZodOptional<import("zod").ZodString>;
|
14038
14038
|
address: import("zod").ZodOptional<import("zod").ZodString>;
|
14039
14039
|
company: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
14040
|
-
|
14040
|
+
contactCustomFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
14041
|
+
attributeId: import("zod").ZodString;
|
14042
|
+
value: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
|
14043
|
+
type: import("zod").ZodOptional<import("zod").ZodString>;
|
14044
|
+
}, "strip", import("zod").ZodTypeAny, {
|
14045
|
+
value: (string | string[]) & (string | string[] | undefined);
|
14046
|
+
attributeId: string;
|
14047
|
+
type?: string | undefined;
|
14048
|
+
}, {
|
14049
|
+
value: (string | string[]) & (string | string[] | undefined);
|
14050
|
+
attributeId: string;
|
14051
|
+
type?: string | undefined;
|
14052
|
+
}>, "many">>;
|
14053
|
+
wrapUpFormCustomFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
14041
14054
|
attributeId: import("zod").ZodString;
|
14042
14055
|
value: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
|
14043
14056
|
type: import("zod").ZodOptional<import("zod").ZodString>;
|
@@ -14075,7 +14088,12 @@ export declare const apiContract: {
|
|
14075
14088
|
notes?: string | undefined;
|
14076
14089
|
address?: string | undefined;
|
14077
14090
|
company?: string[] | undefined;
|
14078
|
-
|
14091
|
+
contactCustomFields?: {
|
14092
|
+
value: (string | string[]) & (string | string[] | undefined);
|
14093
|
+
attributeId: string;
|
14094
|
+
type?: string | undefined;
|
14095
|
+
}[] | undefined;
|
14096
|
+
wrapUpFormCustomFields?: {
|
14079
14097
|
value: (string | string[]) & (string | string[] | undefined);
|
14080
14098
|
attributeId: string;
|
14081
14099
|
type?: string | undefined;
|
@@ -14105,7 +14123,12 @@ export declare const apiContract: {
|
|
14105
14123
|
notes?: string | undefined;
|
14106
14124
|
address?: string | undefined;
|
14107
14125
|
company?: string[] | undefined;
|
14108
|
-
|
14126
|
+
contactCustomFields?: {
|
14127
|
+
value: (string | string[]) & (string | string[] | undefined);
|
14128
|
+
attributeId: string;
|
14129
|
+
type?: string | undefined;
|
14130
|
+
}[] | undefined;
|
14131
|
+
wrapUpFormCustomFields?: {
|
14109
14132
|
value: (string | string[]) & (string | string[] | undefined);
|
14110
14133
|
attributeId: string;
|
14111
14134
|
type?: string | undefined;
|
@@ -24597,7 +24620,7 @@ export declare const apiContract: {
|
|
24597
24620
|
error?: any;
|
24598
24621
|
}>;
|
24599
24622
|
};
|
24600
|
-
path: "
|
24623
|
+
path: "/cxs/cx-logs";
|
24601
24624
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
24602
24625
|
'x-tenant': import("zod").ZodString;
|
24603
24626
|
'x-service-token': import("zod").ZodString;
|
@@ -24628,19 +24651,6 @@ export declare const apiContract: {
|
|
24628
24651
|
email: import("zod").ZodOptional<import("zod").ZodString>;
|
24629
24652
|
pageSize: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
|
24630
24653
|
phone: import("zod").ZodOptional<import("zod").ZodString>;
|
24631
|
-
customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
24632
|
-
attributeId: import("zod").ZodString;
|
24633
|
-
value: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
|
24634
|
-
type: import("zod").ZodOptional<import("zod").ZodString>;
|
24635
|
-
}, "strip", import("zod").ZodTypeAny, {
|
24636
|
-
value: (string | string[]) & (string | string[] | undefined);
|
24637
|
-
attributeId: string;
|
24638
|
-
type?: string | undefined;
|
24639
|
-
}, {
|
24640
|
-
value: (string | string[]) & (string | string[] | undefined);
|
24641
|
-
attributeId: string;
|
24642
|
-
type?: string | undefined;
|
24643
|
-
}>, "many">>;
|
24644
24654
|
company: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
24645
24655
|
notes: import("zod").ZodOptional<import("zod").ZodString>;
|
24646
24656
|
tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
@@ -24656,6 +24666,32 @@ export declare const apiContract: {
|
|
24656
24666
|
agentIds: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodArray<import("zod").ZodString, "many">, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>]>, string[], string[] | Record<string, string>>>;
|
24657
24667
|
sla: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"meet">, import("zod").ZodLiteral<"unmeet">]>>;
|
24658
24668
|
contactLabels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
24669
|
+
contactCustomFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
24670
|
+
attributeId: import("zod").ZodString;
|
24671
|
+
value: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
|
24672
|
+
type: import("zod").ZodOptional<import("zod").ZodString>;
|
24673
|
+
}, "strip", import("zod").ZodTypeAny, {
|
24674
|
+
value: (string | string[]) & (string | string[] | undefined);
|
24675
|
+
attributeId: string;
|
24676
|
+
type?: string | undefined;
|
24677
|
+
}, {
|
24678
|
+
value: (string | string[]) & (string | string[] | undefined);
|
24679
|
+
attributeId: string;
|
24680
|
+
type?: string | undefined;
|
24681
|
+
}>, "many">>;
|
24682
|
+
wrapUpFormCustomFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
24683
|
+
attributeId: import("zod").ZodString;
|
24684
|
+
value: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
|
24685
|
+
type: import("zod").ZodOptional<import("zod").ZodString>;
|
24686
|
+
}, "strip", import("zod").ZodTypeAny, {
|
24687
|
+
value: (string | string[]) & (string | string[] | undefined);
|
24688
|
+
attributeId: string;
|
24689
|
+
type?: string | undefined;
|
24690
|
+
}, {
|
24691
|
+
value: (string | string[]) & (string | string[] | undefined);
|
24692
|
+
attributeId: string;
|
24693
|
+
type?: string | undefined;
|
24694
|
+
}>, "many">>;
|
24659
24695
|
fileExtension: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodLiteral<"csv">, import("zod").ZodLiteral<"xlsx">]>>>;
|
24660
24696
|
}, "strip", import("zod").ZodTypeAny, {
|
24661
24697
|
name?: string | undefined;
|
@@ -24667,11 +24703,6 @@ export declare const apiContract: {
|
|
24667
24703
|
email?: string | undefined;
|
24668
24704
|
pageSize?: number | undefined;
|
24669
24705
|
phone?: string | undefined;
|
24670
|
-
customFields?: {
|
24671
|
-
value: (string | string[]) & (string | string[] | undefined);
|
24672
|
-
attributeId: string;
|
24673
|
-
type?: string | undefined;
|
24674
|
-
}[] | undefined;
|
24675
24706
|
company?: string[] | undefined;
|
24676
24707
|
notes?: string | undefined;
|
24677
24708
|
tags?: string[] | undefined;
|
@@ -24687,6 +24718,16 @@ export declare const apiContract: {
|
|
24687
24718
|
agentIds?: string[] | undefined;
|
24688
24719
|
sla?: "meet" | "unmeet" | undefined;
|
24689
24720
|
contactLabels?: string[] | undefined;
|
24721
|
+
contactCustomFields?: {
|
24722
|
+
value: (string | string[]) & (string | string[] | undefined);
|
24723
|
+
attributeId: string;
|
24724
|
+
type?: string | undefined;
|
24725
|
+
}[] | undefined;
|
24726
|
+
wrapUpFormCustomFields?: {
|
24727
|
+
value: (string | string[]) & (string | string[] | undefined);
|
24728
|
+
attributeId: string;
|
24729
|
+
type?: string | undefined;
|
24730
|
+
}[] | undefined;
|
24690
24731
|
fileExtension?: "csv" | "xlsx" | undefined;
|
24691
24732
|
}, {
|
24692
24733
|
name?: string | undefined;
|
@@ -24698,11 +24739,6 @@ export declare const apiContract: {
|
|
24698
24739
|
email?: string | undefined;
|
24699
24740
|
pageSize?: number | undefined;
|
24700
24741
|
phone?: string | undefined;
|
24701
|
-
customFields?: {
|
24702
|
-
value: (string | string[]) & (string | string[] | undefined);
|
24703
|
-
attributeId: string;
|
24704
|
-
type?: string | undefined;
|
24705
|
-
}[] | undefined;
|
24706
24742
|
company?: string[] | undefined;
|
24707
24743
|
notes?: string | undefined;
|
24708
24744
|
tags?: string[] | undefined;
|
@@ -24718,6 +24754,16 @@ export declare const apiContract: {
|
|
24718
24754
|
agentIds?: string[] | Record<string, string> | undefined;
|
24719
24755
|
sla?: "meet" | "unmeet" | undefined;
|
24720
24756
|
contactLabels?: string[] | undefined;
|
24757
|
+
contactCustomFields?: {
|
24758
|
+
value: (string | string[]) & (string | string[] | undefined);
|
24759
|
+
attributeId: string;
|
24760
|
+
type?: string | undefined;
|
24761
|
+
}[] | undefined;
|
24762
|
+
wrapUpFormCustomFields?: {
|
24763
|
+
value: (string | string[]) & (string | string[] | undefined);
|
24764
|
+
attributeId: string;
|
24765
|
+
type?: string | undefined;
|
24766
|
+
}[] | undefined;
|
24721
24767
|
fileExtension?: "csv" | "xlsx" | undefined;
|
24722
24768
|
}>;
|
24723
24769
|
responses: {
|
@@ -24733,7 +24779,7 @@ export declare const apiContract: {
|
|
24733
24779
|
error?: any;
|
24734
24780
|
}>;
|
24735
24781
|
};
|
24736
|
-
path: "ms/cx-logs/export";
|
24782
|
+
path: "/ms/cx-logs/export";
|
24737
24783
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
24738
24784
|
'x-tenant': import("zod").ZodString;
|
24739
24785
|
'x-service-token': import("zod").ZodString;
|
@@ -24778,7 +24824,7 @@ export declare const apiContract: {
|
|
24778
24824
|
error?: any;
|
24779
24825
|
}>;
|
24780
24826
|
};
|
24781
|
-
path: "ms/cx-logs/sync-sla";
|
24827
|
+
path: "/ms/cx-logs/sync-sla";
|
24782
24828
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
24783
24829
|
'x-tenant': import("zod").ZodString;
|
24784
24830
|
'x-service-token': import("zod").ZodString;
|
@@ -24841,7 +24887,7 @@ export declare const apiContract: {
|
|
24841
24887
|
error?: any;
|
24842
24888
|
}>;
|
24843
24889
|
};
|
24844
|
-
path: "ms/cx-logs";
|
24890
|
+
path: "/ms/cx-logs";
|
24845
24891
|
headers: import("zod").ZodObject<{
|
24846
24892
|
'x-tenant': import("zod").ZodString;
|
24847
24893
|
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|