@homespot-sdk/core 0.0.320 → 0.0.321

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.
@@ -790,6 +790,8 @@ export const zAwaitingConversation = z.object({
790
790
  .max(BigInt('9223372036854775807'), {
791
791
  error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
792
792
  }),
793
+ firstName: z.optional(z.string()),
794
+ lastName: z.optional(z.string()),
793
795
  channelType: z.enum(['FACEBOOK', 'INSTAGRAM', 'WHATSAPP']),
794
796
  lastMessagePreview: z.string(),
795
797
  lastInboundAt: z.iso.datetime(),
@@ -860,6 +862,10 @@ export const zStatsEnvelopeInboxStats = z.object({
860
862
  computedAt: z.iso.datetime(),
861
863
  data: zInboxStats,
862
864
  });
865
+ export const zDealTypeBudget = z.object({
866
+ listingType: z.optional(z.enum(['SALE', 'RENT', 'DAILY_RENT', 'PLEDGE'])),
867
+ buckets: z.optional(z.array(zSlice)),
868
+ });
863
869
  export const zDistrictDemand = z.object({
864
870
  districtId: z.optional(z.coerce
865
871
  .bigint()
@@ -890,7 +896,7 @@ export const zDemandStats = z.object({
890
896
  })),
891
897
  byListingType: z.optional(z.array(zSlice)),
892
898
  byPropertyType: z.optional(z.array(zSlice)),
893
- budgetBuckets: z.optional(z.array(zSlice)),
899
+ budgetByDealType: z.optional(z.array(zDealTypeBudget)),
894
900
  topDistricts: z.optional(z.array(zDistrictDemand)),
895
901
  });
896
902
  export const zStatsEnvelopeDemandStats = z.object({