@kl1/contracts 1.0.67 → 1.0.68

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
@@ -3063,11 +3063,8 @@ var MessagePlatformDataSchema = z44.object({
3063
3063
  instagramCount: z44.object({ count: z44.number() }).nullable()
3064
3064
  });
3065
3065
  var MessageDispositionSchema = z44.object({
3066
- resolvedDispositionCount: z44.number().nullable(),
3067
- prankDispositionCount: z44.number().nullable(),
3068
- followUpDispositionCount: z44.number().nullable(),
3069
- blankDispositionCount: z44.number().nullable(),
3070
- escalatedDispositionCount: z44.number().nullable()
3066
+ name: z44.string().optional().nullable(),
3067
+ count: z44.number().optional().nullable()
3071
3068
  });
3072
3069
  var MessageIncomingDataSchema = z44.array(
3073
3070
  z44.object({
@@ -3297,7 +3294,7 @@ var dashboardContract = initContract12().router(
3297
3294
  headers: DefaultHeaderSchema,
3298
3295
  responses: {
3299
3296
  200: DefaultSuccessResponseSchema.extend({
3300
- messageRoomStatusDispositionData: MessageDispositionSchema
3297
+ messageRoomStatusDispositionData: z45.array(MessageDispositionSchema).optional()
3301
3298
  }),
3302
3299
  401: DefaultUnauthorizedSchema
3303
3300
  }
@@ -4716,7 +4713,7 @@ var GetYeastarCallReportSchema = DefaultQueryParamsSchema.extend({
4716
4713
  message: "selectedDate is required."
4717
4714
  });
4718
4715
  }
4719
- if (input.reportType === "extcallstatistics" && NullEmptyStringUndefined.includes(input.communicationType)) {
4716
+ if (input.reportType === "extcallstatistics" && !NullEmptyStringUndefined.includes(input.communicationType)) {
4720
4717
  ctx.addIssue({
4721
4718
  code: z71.ZodIssueCode.custom,
4722
4719
  path: ["communicationType"],