@kl1/contracts 1.0.85 → 1.0.87

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.mjs CHANGED
@@ -1532,6 +1532,7 @@ var SendMessageToPlatformSchema = z29.object({
1532
1532
  fileKey: z29.string()
1533
1533
  }).optional(),
1534
1534
  sender: z29.object({
1535
+ id: z29.string().uuid(),
1535
1536
  name: z29.string(),
1536
1537
  email: z29.string().email(),
1537
1538
  address: z29.string().nullable(),
@@ -1708,6 +1709,9 @@ var ConnectViberChannelSchema = z30.object({
1708
1709
  name: z30.string(),
1709
1710
  accessToken: z30.string()
1710
1711
  });
1712
+ var GetChannelSchema = z30.object({
1713
+ withDeleted: z30.coerce.boolean().default(false)
1714
+ });
1711
1715
 
1712
1716
  // src/instagram/validation.ts
1713
1717
  import z31 from "zod";
@@ -1850,6 +1854,7 @@ var channelContract = initContract6().router(
1850
1854
  data: ChannelSchema.array()
1851
1855
  })
1852
1856
  },
1857
+ query: GetChannelSchema,
1853
1858
  summary: "Get Channels"
1854
1859
  },
1855
1860
  disconnect: {
@@ -3034,7 +3039,7 @@ var GetAllCxLogQueryParamsSchema = DefaultQueryParamsSchema.extend({
3034
3039
  direction: z42.array(z42.union([z42.literal("inbound"), z42.literal("outbound")])),
3035
3040
  disposition: z42.array(z42.string()),
3036
3041
  sentimentScore: z42.array(sentimentScoreSchema),
3037
- csatScore: z42.string(),
3042
+ csatScore: z42.array(z42.string()),
3038
3043
  sla: z42.array(z42.union([z42.literal("meet"), z42.literal("unmeet")])),
3039
3044
  tags: z42.array(z42.string()),
3040
3045
  // General tags