@kl1/contracts 1.0.93 → 1.0.94
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -8
- package/dist/index.mjs.map +1 -1
- package/dist/src/app/index.d.ts +17 -0
- package/dist/src/app/index.d.ts.map +1 -0
- package/dist/src/chatwoot/index.d.ts +7527 -0
- package/dist/src/chatwoot/index.d.ts.map +1 -0
- package/dist/src/chatwoot/schema.d.ts +79 -0
- package/dist/src/chatwoot/schema.d.ts.map +1 -0
- package/dist/src/chatwoot/validation.d.ts +53 -0
- package/dist/src/chatwoot/validation.d.ts.map +1 -0
- package/dist/src/contract.d.ts +6 -6
- package/dist/src/cx-log/index.d.ts +6 -6
- package/dist/src/cx-log/validation.d.ts +3 -3
- package/dist/src/mail/mail-server.d.ts +216 -0
- package/dist/src/mail/mail-server.d.ts.map +1 -0
- package/dist/src/platform-contact/schema.d.ts +30 -0
- package/dist/src/platform-contact/schema.d.ts.map +1 -0
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -3055,7 +3055,7 @@ var GetAllCxLogQueryParamsSchema = DefaultQueryParamsSchema.extend({
|
|
3055
3055
|
disposition: z42.array(z42.string()),
|
3056
3056
|
sentimentScore: z42.array(sentimentScoreSchema),
|
3057
3057
|
csatScore: z42.array(z42.string()),
|
3058
|
-
sla: z42.
|
3058
|
+
sla: z42.union([z42.literal("meet"), z42.literal("unmeet")]),
|
3059
3059
|
tags: z42.array(z42.string()),
|
3060
3060
|
// General tags
|
3061
3061
|
// Default contact attributes
|
@@ -5067,13 +5067,6 @@ var GetYeastarCallReportSchema = DefaultQueryParamsSchema.extend({
|
|
5067
5067
|
message: "selectedDate is required."
|
5068
5068
|
});
|
5069
5069
|
}
|
5070
|
-
if (input.reportType === "extcallstatistics" && !NullEmptyStringUndefined.includes(input.communicationType)) {
|
5071
|
-
ctx.addIssue({
|
5072
|
-
code: z74.ZodIssueCode.custom,
|
5073
|
-
path: ["communicationType"],
|
5074
|
-
message: "communicationType is required."
|
5075
|
-
});
|
5076
|
-
}
|
5077
5070
|
if ((input.reportType === "extcallactivity" || input.reportType === "queueavgwaittalktime" || input.reportType === "trunkactivity") && NullEmptyStringUndefined.includes(input.time)) {
|
5078
5071
|
ctx.addIssue({
|
5079
5072
|
code: z74.ZodIssueCode.custom,
|