@kl1/contracts 1.0.18 → 1.0.19

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
@@ -581,12 +581,13 @@ var ChannelTypeSchema = z15.enum([
581
581
  "viber",
582
582
  "kakao",
583
583
  "shopee",
584
- "lazada"
584
+ "lazada",
585
+ "instagram"
585
586
  ]);
586
587
  var ChannelStatusTypeSchema = z15.union([
587
- z15.literal(1),
588
+ z15.literal(true),
588
589
  // on
589
- z15.literal(0)
590
+ z15.literal(false)
590
591
  // off
591
592
  ]);
592
593
  var ChannelMetadataSchema = z15.object({
@@ -939,9 +940,6 @@ var SearchRoomsSchema = DefaultQueryParamsSchema.extend({
939
940
  var SendMessageToPlatformSchema = z24.object({
940
941
  room: z24.object({
941
942
  id: z24.string().uuid(),
942
- createdAt: z24.date().nullable(),
943
- updatedAt: z24.date().nullable(),
944
- deletedAt: z24.date().nullable(),
945
943
  lastMessage: z24.string().optional(),
946
944
  handleTime: z24.number().optional(),
947
945
  isLatest: z24.boolean(),