@kl1/contracts 1.0.88 → 1.0.89

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
@@ -1579,7 +1579,7 @@ var ReceiveMessageSchema = z29.object({
1579
1579
  handleTime: z29.number(),
1580
1580
  closeAt: z29.date(),
1581
1581
  unreadCount: z29.number(),
1582
- firstResponseAt: z29.date().nullable(),
1582
+ firstResponseAt: z29.string().nullable(),
1583
1583
  firstResponseTime: z29.number().nullable(),
1584
1584
  isLatest: z29.boolean(),
1585
1585
  direction: MessageDirectionTypeSchema,
@@ -2688,7 +2688,14 @@ var ContactContractValidationSchema = {
2688
2688
  request: z40.object({
2689
2689
  page: z40.coerce.number().default(1),
2690
2690
  pageSize: z40.coerce.number().default(10),
2691
- keyword: z40.string()
2691
+ keyword: z40.string(),
2692
+ relations: z40.array(
2693
+ z40.union([
2694
+ z40.literal("company"),
2695
+ z40.literal("contactEmails"),
2696
+ z40.literal("contactPhones")
2697
+ ])
2698
+ ).optional()
2692
2699
  }).partial(),
2693
2700
  response: {
2694
2701
  page: z40.number(),