@superbright/indexeddb-orm 1.0.60 → 1.0.61
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/api/embed-schemas.generated.cjs +1 -1
- package/dist/api/embed-schemas.generated.cjs.map +1 -1
- package/dist/api/embed-schemas.generated.d.ts +48 -48
- package/dist/api/embed-schemas.generated.mjs +30 -30
- package/dist/api/embed-schemas.generated.mjs.map +1 -1
- package/dist/api/schemas.generated.d.ts +12 -12
- package/dist/features/analytics/analytics.d.ts +20 -20
- package/dist/schema.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.cjs"),i=e.object({CFURL:e.string(),name:e.string(),signature:e.string()}),t=e.object({id:e.number().int(),url:e.string(),media_type:e.string(),data:i}),o=e.object({media_id:e.number().int(),property_id:e.number().int(),media:t}),r=e.object({placement:e.string(),code:e.string().optional(),description:e.string().optional(),tag:e.string().nullable().optional()}),s=e.object({type:e.string(),code:e.string().optional(),additional_data:e.object({url:e.string().optional()}).optional(),snippets:e.array(r).optional()}),c=e.object({id:e.number().int(),created_at:e.coerce.date(),updated_at:e.coerce.date(),name:e.string(),slug:e.string(),description:e.string(),contact_name:e.string(),contact_email:e.string(),contact_phone:e.string().nullable(),notification_email:e.string(),address_street:e.string(),address_city:e.string(),address_state:e.string(),address_zip:e.string(),address_country:e.string(),status:e.string(),user_id:e.number().int(),lead_media:t.nullable(),overview_images:e.array(o),external_services:e.array(s).optional(),_count:e.object({units:e.number().int()}),lead_video:t.nullable()}),j=e.object({data:c}),l=e.object({id:e.number().int(),name:e.string(),slug:e.string().optional(),address_street:e.string().optional(),address_city:e.string().optional(),address_state:e.string().optional(),address_zip:e.string().optional(),lead_media:t.nullable().optional(),_count:e.object({units:e.number().int().optional()}).optional()}),v=e.object({data:e.array(l),meta:e.object({page:e.number().optional(),limit:e.number().optional(),total:e.number().optional()}).optional(),owner:e.object({display_name:e.string().optional()}).optional()}),n=e.object({CFURL:e.string(),name:e.string()}),m=e.object({id:e.number().int(),name:e.string(),slug:e.string(),base_price:e.number(),qty_bedrooms:e.number(),qty_bathrooms:e.number(),dim_sq_ft:e.number().optional(),amenities:e.array(e.string()),highlights:e.array(e.string()),date_availability:e.string().optional(),image:n.optional(),additional_images:e.array(n),is_favorite:e.boolean().optional(),seen_on:e.string().nullable().optional()}),R=e.object({data:e.object({total:e.object({value:e.number().int(),relation:e.string()}),max_score:e.number().nullable(),hits:e.array(e.object({_index:e.string().optional(),_id:e.string(),_score:e.number(),_source:m})),imageSignature:e.string().optional()})}),p=e.object({favorite_unit_ids:e.array(e.number().int()),current_filter:e.object({id:e.number().int(),filter:e.record(e.unknown()),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.cjs"),i=e.object({CFURL:e.string(),name:e.string(),signature:e.string()}),t=e.object({id:e.number().int(),url:e.string(),media_type:e.string(),data:i}),o=e.object({media_id:e.number().int(),property_id:e.number().int(),media:t}),r=e.object({placement:e.string(),code:e.string().optional(),description:e.string().optional(),tag:e.string().nullable().optional()}),s=e.object({type:e.string(),code:e.string().optional(),additional_data:e.object({url:e.string().optional()}).optional(),snippets:e.array(r).optional()}),c=e.object({id:e.number().int(),created_at:e.coerce.date(),updated_at:e.coerce.date(),name:e.string(),slug:e.string(),description:e.string(),contact_name:e.string(),contact_email:e.string(),contact_phone:e.string().nullable(),notification_email:e.string(),address_street:e.string(),address_city:e.string(),address_state:e.string(),address_zip:e.string(),address_country:e.string(),status:e.string(),user_id:e.number().int(),lead_media:t.nullable(),overview_images:e.array(o),external_services:e.array(s).optional(),_count:e.object({units:e.number().int()}),lead_video:t.nullable()}),j=e.object({data:c}),l=e.object({id:e.number().int(),name:e.string(),slug:e.string().optional(),address_street:e.string().optional(),address_city:e.string().optional(),address_state:e.string().optional(),address_zip:e.string().optional(),lead_media:t.nullable().optional(),_count:e.object({units:e.number().int().optional()}).optional()}),v=e.object({data:e.array(l),meta:e.object({page:e.number().optional(),limit:e.number().optional(),total:e.number().optional()}).optional(),owner:e.object({display_name:e.string().optional()}).optional()}),n=e.object({CFURL:e.string(),name:e.string()}),m=e.object({id:e.number().int(),name:e.string(),slug:e.string(),base_price:e.number(),qty_bedrooms:e.number(),qty_bathrooms:e.number(),dim_sq_ft:e.number().optional(),amenities:e.array(e.string()),highlights:e.array(e.string()),date_availability:e.string().optional(),image:n.optional(),additional_images:e.array(n),is_favorite:e.boolean().optional(),seen_on:e.string().nullable().optional()}),R=e.object({data:e.object({total:e.object({value:e.number().int(),relation:e.string()}),max_score:e.number().nullable(),hits:e.array(e.object({_index:e.string().optional(),_id:e.string(),_score:e.number(),_source:m})),imageSignature:e.string().optional()})}),p=e.object({favorite_unit_ids:e.array(e.number().int()),current_filter:e.object({id:e.number().int(),filter:e.record(e.unknown()),created_at:e.string()}).nullable(),contacted_property_at:e.string().nullable(),questionnaire:e.record(e.unknown()).nullable().optional()}),P=e.object({data:p}),f=e.object({name:e.string(),email:e.string(),date_time:e.coerce.date(),timezone:e.string().optional(),visitor_uuid:e.string().optional()}),B=e.object({message:e.string().optional(),id:e.string().optional()}),F=e.object({}),k=e.object({data:e.object({action:e.enum(["added","removed"]),unit_id:e.number().int()})}),d=e.object({label:e.string(),value:e.string(),frequency:e.number()}),b=e.object({label:e.string(),value:e.number(),frequency:e.number()}),g=e.object({min:e.number(),max:e.number(),frequency:e.number()}),a=e.object({name:e.string(),component:e.string(),label:e.string(),body_key:e.string(),options:e.array(d)}),u=e.object({name:e.string(),component:e.string(),label:e.string(),body_key:e.string(),options:e.array(b)}),S=e.object({name:e.string(),component:e.string(),label:e.string(),body_key:e.string(),options:e.array(g)}),h=e.object({label:e.string().optional(),value:e.union([e.array(e.string()),e.number(),e.string()]).optional(),frequency:e.number(),min:e.number().optional(),max:e.number().optional(),key:e.string().optional()}),y=e.object({name:e.string(),component:e.string().optional(),label:e.string(),body_key:e.string(),options:e.array(h),helper_text:e.string().optional(),options_variant:e.string().optional(),min:e.number().optional(),max:e.number().optional()}),_=e.object({questionnaire:e.array(y),filters:e.object({date_availability:a,qty_bedrooms:u,base_price:S,highlights:a})}),q=e.object({data:_}),x=e.object({visitor_uuid:e.string(),data:e.object({questions:e.array(e.record(e.unknown()))})}),O=e.object({data:e.object({questionnaire:e.object({id:e.number(),visitor_id:e.string(),property_id:e.number(),data:e.record(e.unknown()),created_at:e.string()})})}),C=e.object({visitor_uuid:e.string(),filter:e.record(e.unknown())}),w=e.object({data:e.object({filter_id:e.number()})});exports.AvailabilityFilterSchema=a;exports.AvailabilityOptionSchema=d;exports.BasePriceFilterSchema=S;exports.BasePriceOptionSchema=g;exports.BedroomsFilterSchema=u;exports.BedroomsOptionSchema=b;exports.BootstrapDataSchema=p;exports.BootstrapResponseSchema=P;exports.ContactBuildingPayloadSchema=f;exports.ContactBuildingResponseSchema=B;exports.EngagementResponseSchema=k;exports.EngagementTypeSchema=F;exports.ExternalServiceConfigSchema=s;exports.ExternalServiceSnippetConfigSchema=r;exports.FiltersResponseDataSchema=_;exports.FiltersResponseSchema=q;exports.ImageSchema=n;exports.LinkedPropertiesResponseSchema=v;exports.LinkedPropertySchema=l;exports.MediaDataSchema=i;exports.MediaSchema=t;exports.OverviewImageSchema=o;exports.PropertyResponseDataSchema=c;exports.PropertyResponseSchema=j;exports.QuestionnaireOptionSchema=h;exports.QuestionnairePayloadSchema=x;exports.QuestionnaireResponseSchema=O;exports.QuestionnaireSchema=y;exports.SaveFiltersPayloadSchema=C;exports.SaveFiltersResponseSchema=w;exports.UnitSourceSchema=m;exports.UnitsByIdsResponseSchema=R;
|
|
2
2
|
//# sourceMappingURL=embed-schemas.generated.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"embed-schemas.generated.cjs","sources":["../../src/api/embed-schemas.generated.ts"],"sourcesContent":["/**\n * This file was auto-generated from src/scripts/embed-schema-overrides.json.\n * Do not edit manually — run `node scripts/gen-schemas.mjs` to regenerate.\n *\n * Strict embed SDK API response schemas — temporary until the OpenAPI spec is\n * updated with full Property/Media shapes and required field markers.\n */\n\nimport { z } from 'zod';\n\nexport const MediaDataSchema = z.object({\n CFURL: z.string(),\n name: z.string(),\n signature: z.string(),\n});\nexport type MediaData = z.infer<typeof MediaDataSchema>;\n\nexport const MediaSchema = z.object({\n id: z.number().int(),\n url: z.string(),\n media_type: z.string(),\n data: MediaDataSchema,\n});\nexport type Media = z.infer<typeof MediaSchema>;\n\nexport const OverviewImageSchema = z.object({\n media_id: z.number().int(),\n property_id: z.number().int(),\n media: MediaSchema,\n});\nexport type OverviewImage = z.infer<typeof OverviewImageSchema>;\n\nexport const ExternalServiceSnippetConfigSchema = z.object({\n placement: z.string(),\n code: z.string().optional(),\n description: z.string().optional(),\n tag: z.string().nullable().optional(),\n});\nexport type ExternalServiceSnippetConfig = z.infer<typeof ExternalServiceSnippetConfigSchema>;\n\nexport const ExternalServiceConfigSchema = z.object({\n type: z.string(),\n code: z.string().optional(),\n additional_data: z.object({\n url: z.string().optional(),\n }).optional(),\n snippets: z.array(ExternalServiceSnippetConfigSchema).optional(),\n});\nexport type ExternalServiceConfig = z.infer<typeof ExternalServiceConfigSchema>;\n\nexport const PropertyResponseDataSchema = z.object({\n id: z.number().int(),\n created_at: z.coerce.date(),\n updated_at: z.coerce.date(),\n name: z.string(),\n slug: z.string(),\n description: z.string(),\n contact_name: z.string(),\n contact_email: z.string(),\n contact_phone: z.string().nullable(),\n notification_email: z.string(),\n address_street: z.string(),\n address_city: z.string(),\n address_state: z.string(),\n address_zip: z.string(),\n address_country: z.string(),\n status: z.string(),\n user_id: z.number().int(),\n lead_media: MediaSchema.nullable(),\n overview_images: z.array(OverviewImageSchema),\n external_services: z.array(ExternalServiceConfigSchema).optional(),\n _count: z.object({\n units: z.number().int(),\n }),\n lead_video: MediaSchema.nullable(),\n});\nexport type PropertyResponseData = z.infer<typeof PropertyResponseDataSchema>;\n\nexport const PropertyResponseSchema = z.object({\n data: PropertyResponseDataSchema,\n});\nexport type PropertyResponse = z.infer<typeof PropertyResponseSchema>;\n\nexport const LinkedPropertySchema = z.object({\n id: z.number().int(),\n name: z.string(),\n slug: z.string().optional(),\n address_street: z.string().optional(),\n address_city: z.string().optional(),\n address_state: z.string().optional(),\n address_zip: z.string().optional(),\n lead_media: MediaSchema.nullable().optional(),\n _count: z.object({\n units: z.number().int().optional(),\n }).optional(),\n});\nexport type LinkedProperty = z.infer<typeof LinkedPropertySchema>;\n\nexport const LinkedPropertiesResponseSchema = z.object({\n data: z.array(LinkedPropertySchema),\n meta: z.object({\n page: z.number().optional(),\n limit: z.number().optional(),\n total: z.number().optional(),\n }).optional(),\n owner: z.object({\n display_name: z.string().optional(),\n }).optional(),\n});\nexport type LinkedPropertiesResponse = z.infer<typeof LinkedPropertiesResponseSchema>;\n\nexport const ImageSchema = z.object({\n CFURL: z.string(),\n name: z.string(),\n});\nexport type Image = z.infer<typeof ImageSchema>;\n\nexport const UnitSourceSchema = z.object({\n id: z.number().int(),\n name: z.string(),\n slug: z.string(),\n base_price: z.number(),\n qty_bedrooms: z.number(),\n qty_bathrooms: z.number(),\n dim_sq_ft: z.number().optional(),\n amenities: z.array(z.string()),\n highlights: z.array(z.string()),\n date_availability: z.string().optional(),\n image: ImageSchema.optional(),\n additional_images: z.array(ImageSchema),\n is_favorite: z.boolean().optional(),\n seen_on: z.string().nullable().optional(),\n});\nexport type UnitSource = z.infer<typeof UnitSourceSchema>;\n\nexport const UnitsByIdsResponseSchema = z.object({\n data: z.object({\n total: z.object({\n value: z.number().int(),\n relation: z.string(),\n }),\n max_score: z.number().nullable(),\n hits: z.array(z.object({\n _index: z.string().optional(),\n _id: z.string(),\n _score: z.number(),\n _source: UnitSourceSchema,\n })),\n imageSignature: z.string().optional(),\n }),\n});\nexport type UnitsByIdsResponse = z.infer<typeof UnitsByIdsResponseSchema>;\n\nexport const BootstrapDataSchema = z.object({\n favorite_unit_ids: z.array(z.number().int()),\n current_filter: z.object({\n id: z.number().int(),\n filter: z.record(z.unknown()),\n createdAt: z.string(),\n }).nullable(),\n contacted_property_at: z.string().nullable(),\n questionnaire: z.record(z.unknown()).nullable().optional(),\n});\nexport type BootstrapData = z.infer<typeof BootstrapDataSchema>;\n\nexport const BootstrapResponseSchema = z.object({\n data: BootstrapDataSchema,\n});\nexport type BootstrapResponse = z.infer<typeof BootstrapResponseSchema>;\n\nexport const ContactBuildingPayloadSchema = z.object({\n name: z.string(),\n email: z.string(),\n date_time: z.coerce.date(),\n timezone: z.string().optional(),\n visitor_uuid: z.string().optional(),\n});\nexport type ContactBuildingPayload = z.infer<typeof ContactBuildingPayloadSchema>;\n\nexport const ContactBuildingResponseSchema = z.object({\n message: z.string().optional(),\n id: z.string().optional(),\n});\nexport type ContactBuildingResponse = z.infer<typeof ContactBuildingResponseSchema>;\n\nexport const EngagementTypeSchema = z.object({});\nexport type EngagementType = z.infer<typeof EngagementTypeSchema>;\n\nexport const EngagementResponseSchema = z.object({\n data: z.object({\n action: z.enum([\"added\", \"removed\"]),\n unit_id: z.number().int(),\n }),\n});\nexport type EngagementResponse = z.infer<typeof EngagementResponseSchema>;\n\nexport const AvailabilityOptionSchema = z.object({\n label: z.string(),\n value: z.string(),\n frequency: z.number(),\n});\nexport type AvailabilityOption = z.infer<typeof AvailabilityOptionSchema>;\n\nexport const BedroomsOptionSchema = z.object({\n label: z.string(),\n value: z.number(),\n frequency: z.number(),\n});\nexport type BedroomsOption = z.infer<typeof BedroomsOptionSchema>;\n\nexport const BasePriceOptionSchema = z.object({\n min: z.number(),\n max: z.number(),\n frequency: z.number(),\n});\nexport type BasePriceOption = z.infer<typeof BasePriceOptionSchema>;\n\nexport const AvailabilityFilterSchema = z.object({\n name: z.string(),\n component: z.string(),\n label: z.string(),\n body_key: z.string(),\n options: z.array(AvailabilityOptionSchema),\n});\nexport type AvailabilityFilter = z.infer<typeof AvailabilityFilterSchema>;\n\nexport const BedroomsFilterSchema = z.object({\n name: z.string(),\n component: z.string(),\n label: z.string(),\n body_key: z.string(),\n options: z.array(BedroomsOptionSchema),\n});\nexport type BedroomsFilter = z.infer<typeof BedroomsFilterSchema>;\n\nexport const BasePriceFilterSchema = z.object({\n name: z.string(),\n component: z.string(),\n label: z.string(),\n body_key: z.string(),\n options: z.array(BasePriceOptionSchema),\n});\nexport type BasePriceFilter = z.infer<typeof BasePriceFilterSchema>;\n\nexport const QuestionnaireOptionSchema = z.object({\n label: z.string().optional(),\n value: z.union([z.array(z.string()), z.number(), z.string()]).optional(),\n frequency: z.number(),\n min: z.number().optional(),\n max: z.number().optional(),\n key: z.string().optional(),\n});\nexport type QuestionnaireOption = z.infer<typeof QuestionnaireOptionSchema>;\n\nexport const QuestionnaireSchema = z.object({\n name: z.string(),\n component: z.string().optional(),\n label: z.string(),\n body_key: z.string(),\n options: z.array(QuestionnaireOptionSchema),\n helpter_text: z.string().optional(),\n options_variant: z.string().optional(),\n min: z.number().optional(),\n max: z.number().optional(),\n});\nexport type Questionnaire = z.infer<typeof QuestionnaireSchema>;\n\nexport const FiltersResponseDataSchema = z.object({\n questionnaire: z.array(QuestionnaireSchema),\n filters: z.object({\n date_availability: AvailabilityFilterSchema,\n qty_bedrooms: BedroomsFilterSchema,\n base_price: BasePriceFilterSchema,\n highlights: AvailabilityFilterSchema,\n }),\n});\nexport type FiltersResponseData = z.infer<typeof FiltersResponseDataSchema>;\n\nexport const FiltersResponseSchema = z.object({\n data: FiltersResponseDataSchema,\n});\nexport type FiltersResponse = z.infer<typeof FiltersResponseSchema>;\n\nexport const QuestionnairePayloadSchema = z.object({\n visitor_uuid: z.string(),\n data: z.object({\n questions: z.array(z.record(z.unknown())),\n }),\n});\nexport type QuestionnairePayload = z.infer<typeof QuestionnairePayloadSchema>;\n\nexport const QuestionnaireResponseSchema = z.object({\n data: z.object({\n questionnaire: z.object({\n id: z.number(),\n visitorId: z.string(),\n propertyId: z.number(),\n data: z.record(z.unknown()),\n createdAt: z.string(),\n }),\n }),\n});\nexport type QuestionnaireResponse = z.infer<typeof QuestionnaireResponseSchema>;\n\nexport const SaveFiltersPayloadSchema = z.object({\n visitor_uuid: z.string(),\n filter: z.record(z.unknown()),\n});\nexport type SaveFiltersPayload = z.infer<typeof SaveFiltersPayloadSchema>;\n\nexport const SaveFiltersResponseSchema = z.object({\n data: z.object({\n filter_id: z.number(),\n }),\n});\nexport type SaveFiltersResponse = z.infer<typeof SaveFiltersResponseSchema>;\n"],"names":["MediaDataSchema","z.object","z.string","MediaSchema","z.number","OverviewImageSchema","ExternalServiceSnippetConfigSchema","ExternalServiceConfigSchema","z.array","PropertyResponseDataSchema","z.coerce","PropertyResponseSchema","LinkedPropertySchema","LinkedPropertiesResponseSchema","ImageSchema","UnitSourceSchema","z.boolean","UnitsByIdsResponseSchema","BootstrapDataSchema","z.record","z.unknown","BootstrapResponseSchema","ContactBuildingPayloadSchema","ContactBuildingResponseSchema","EngagementTypeSchema","EngagementResponseSchema","z.enum","AvailabilityOptionSchema","BedroomsOptionSchema","BasePriceOptionSchema","AvailabilityFilterSchema","BedroomsFilterSchema","BasePriceFilterSchema","QuestionnaireOptionSchema","z.union","QuestionnaireSchema","FiltersResponseDataSchema","FiltersResponseSchema","QuestionnairePayloadSchema","QuestionnaireResponseSchema","SaveFiltersPayloadSchema","SaveFiltersResponseSchema"],"mappings":"mKAUaA,EAAkBC,EAAAA,OAAS,CACtC,MAAOC,EAAAA,OAAE,EACT,KAAMA,EAAAA,OAAE,EACR,UAAWA,EAAAA,OAAE,CACf,CAAC,EAGYC,EAAcF,EAAAA,OAAS,CAClC,GAAIG,EAAAA,OAAE,EAAS,IAAA,EACf,IAAKF,EAAAA,OAAE,EACP,WAAYA,EAAAA,OAAE,EACd,KAAMF,CACR,CAAC,EAGYK,EAAsBJ,EAAAA,OAAS,CAC1C,SAAUG,EAAAA,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E,EACN,UAAWF,EAAAA,OAAE,EACb,WAAYE,EAAAA,OAAE,EACd,KAAMe,EAAAA,OAASC,EAAAA,SAAW,EAC1B,UAAWlB,EAAAA,OAAE,CAAO,CACrB,CAAA,CACF,CACH,CAAC,EAGYsC,EAA2BvC,EAAAA,OAAS,CAC/C,aAAcC,EAAAA,OAAE,EAChB,OAAQiB,EAAAA,OAASC,WAAW,CAC9B,CAAC,EAGYqB,EAA4BxC,EAAAA,OAAS,CAChD,KAAMA,EAAAA,OAAS,CACb,UAAWG,EAAAA,OAAE,CAAO,CACrB,CACH,CAAC"}
|
|
1
|
+
{"version":3,"file":"embed-schemas.generated.cjs","sources":["../../src/api/embed-schemas.generated.ts"],"sourcesContent":["/**\n * This file was auto-generated from src/scripts/embed-schema-overrides.json.\n * Do not edit manually — run `node scripts/gen-schemas.mjs` to regenerate.\n *\n * Strict embed SDK API response schemas — temporary until the OpenAPI spec is\n * updated with full Property/Media shapes and required field markers.\n */\n\nimport { z } from 'zod';\n\nexport const MediaDataSchema = z.object({\n CFURL: z.string(),\n name: z.string(),\n signature: z.string(),\n});\nexport type MediaData = z.infer<typeof MediaDataSchema>;\n\nexport const MediaSchema = z.object({\n id: z.number().int(),\n url: z.string(),\n media_type: z.string(),\n data: MediaDataSchema,\n});\nexport type Media = z.infer<typeof MediaSchema>;\n\nexport const OverviewImageSchema = z.object({\n media_id: z.number().int(),\n property_id: z.number().int(),\n media: MediaSchema,\n});\nexport type OverviewImage = z.infer<typeof OverviewImageSchema>;\n\nexport const ExternalServiceSnippetConfigSchema = z.object({\n placement: z.string(),\n code: z.string().optional(),\n description: z.string().optional(),\n tag: z.string().nullable().optional(),\n});\nexport type ExternalServiceSnippetConfig = z.infer<typeof ExternalServiceSnippetConfigSchema>;\n\nexport const ExternalServiceConfigSchema = z.object({\n type: z.string(),\n code: z.string().optional(),\n additional_data: z.object({\n url: z.string().optional(),\n }).optional(),\n snippets: z.array(ExternalServiceSnippetConfigSchema).optional(),\n});\nexport type ExternalServiceConfig = z.infer<typeof ExternalServiceConfigSchema>;\n\nexport const PropertyResponseDataSchema = z.object({\n id: z.number().int(),\n created_at: z.coerce.date(),\n updated_at: z.coerce.date(),\n name: z.string(),\n slug: z.string(),\n description: z.string(),\n contact_name: z.string(),\n contact_email: z.string(),\n contact_phone: z.string().nullable(),\n notification_email: z.string(),\n address_street: z.string(),\n address_city: z.string(),\n address_state: z.string(),\n address_zip: z.string(),\n address_country: z.string(),\n status: z.string(),\n user_id: z.number().int(),\n lead_media: MediaSchema.nullable(),\n overview_images: z.array(OverviewImageSchema),\n external_services: z.array(ExternalServiceConfigSchema).optional(),\n _count: z.object({\n units: z.number().int(),\n }),\n lead_video: MediaSchema.nullable(),\n});\nexport type PropertyResponseData = z.infer<typeof PropertyResponseDataSchema>;\n\nexport const PropertyResponseSchema = z.object({\n data: PropertyResponseDataSchema,\n});\nexport type PropertyResponse = z.infer<typeof PropertyResponseSchema>;\n\nexport const LinkedPropertySchema = z.object({\n id: z.number().int(),\n name: z.string(),\n slug: z.string().optional(),\n address_street: z.string().optional(),\n address_city: z.string().optional(),\n address_state: z.string().optional(),\n address_zip: z.string().optional(),\n lead_media: MediaSchema.nullable().optional(),\n _count: z.object({\n units: z.number().int().optional(),\n }).optional(),\n});\nexport type LinkedProperty = z.infer<typeof LinkedPropertySchema>;\n\nexport const LinkedPropertiesResponseSchema = z.object({\n data: z.array(LinkedPropertySchema),\n meta: z.object({\n page: z.number().optional(),\n limit: z.number().optional(),\n total: z.number().optional(),\n }).optional(),\n owner: z.object({\n display_name: z.string().optional(),\n }).optional(),\n});\nexport type LinkedPropertiesResponse = z.infer<typeof LinkedPropertiesResponseSchema>;\n\nexport const ImageSchema = z.object({\n CFURL: z.string(),\n name: z.string(),\n});\nexport type Image = z.infer<typeof ImageSchema>;\n\nexport const UnitSourceSchema = z.object({\n id: z.number().int(),\n name: z.string(),\n slug: z.string(),\n base_price: z.number(),\n qty_bedrooms: z.number(),\n qty_bathrooms: z.number(),\n dim_sq_ft: z.number().optional(),\n amenities: z.array(z.string()),\n highlights: z.array(z.string()),\n date_availability: z.string().optional(),\n image: ImageSchema.optional(),\n additional_images: z.array(ImageSchema),\n is_favorite: z.boolean().optional(),\n seen_on: z.string().nullable().optional(),\n});\nexport type UnitSource = z.infer<typeof UnitSourceSchema>;\n\nexport const UnitsByIdsResponseSchema = z.object({\n data: z.object({\n total: z.object({\n value: z.number().int(),\n relation: z.string(),\n }),\n max_score: z.number().nullable(),\n hits: z.array(z.object({\n _index: z.string().optional(),\n _id: z.string(),\n _score: z.number(),\n _source: UnitSourceSchema,\n })),\n imageSignature: z.string().optional(),\n }),\n});\nexport type UnitsByIdsResponse = z.infer<typeof UnitsByIdsResponseSchema>;\n\nexport const BootstrapDataSchema = z.object({\n favorite_unit_ids: z.array(z.number().int()),\n current_filter: z.object({\n id: z.number().int(),\n filter: z.record(z.unknown()),\n created_at: z.string(),\n }).nullable(),\n contacted_property_at: z.string().nullable(),\n questionnaire: z.record(z.unknown()).nullable().optional(),\n});\nexport type BootstrapData = z.infer<typeof BootstrapDataSchema>;\n\nexport const BootstrapResponseSchema = z.object({\n data: BootstrapDataSchema,\n});\nexport type BootstrapResponse = z.infer<typeof BootstrapResponseSchema>;\n\nexport const ContactBuildingPayloadSchema = z.object({\n name: z.string(),\n email: z.string(),\n date_time: z.coerce.date(),\n timezone: z.string().optional(),\n visitor_uuid: z.string().optional(),\n});\nexport type ContactBuildingPayload = z.infer<typeof ContactBuildingPayloadSchema>;\n\nexport const ContactBuildingResponseSchema = z.object({\n message: z.string().optional(),\n id: z.string().optional(),\n});\nexport type ContactBuildingResponse = z.infer<typeof ContactBuildingResponseSchema>;\n\nexport const EngagementTypeSchema = z.object({});\nexport type EngagementType = z.infer<typeof EngagementTypeSchema>;\n\nexport const EngagementResponseSchema = z.object({\n data: z.object({\n action: z.enum([\"added\", \"removed\"]),\n unit_id: z.number().int(),\n }),\n});\nexport type EngagementResponse = z.infer<typeof EngagementResponseSchema>;\n\nexport const AvailabilityOptionSchema = z.object({\n label: z.string(),\n value: z.string(),\n frequency: z.number(),\n});\nexport type AvailabilityOption = z.infer<typeof AvailabilityOptionSchema>;\n\nexport const BedroomsOptionSchema = z.object({\n label: z.string(),\n value: z.number(),\n frequency: z.number(),\n});\nexport type BedroomsOption = z.infer<typeof BedroomsOptionSchema>;\n\nexport const BasePriceOptionSchema = z.object({\n min: z.number(),\n max: z.number(),\n frequency: z.number(),\n});\nexport type BasePriceOption = z.infer<typeof BasePriceOptionSchema>;\n\nexport const AvailabilityFilterSchema = z.object({\n name: z.string(),\n component: z.string(),\n label: z.string(),\n body_key: z.string(),\n options: z.array(AvailabilityOptionSchema),\n});\nexport type AvailabilityFilter = z.infer<typeof AvailabilityFilterSchema>;\n\nexport const BedroomsFilterSchema = z.object({\n name: z.string(),\n component: z.string(),\n label: z.string(),\n body_key: z.string(),\n options: z.array(BedroomsOptionSchema),\n});\nexport type BedroomsFilter = z.infer<typeof BedroomsFilterSchema>;\n\nexport const BasePriceFilterSchema = z.object({\n name: z.string(),\n component: z.string(),\n label: z.string(),\n body_key: z.string(),\n options: z.array(BasePriceOptionSchema),\n});\nexport type BasePriceFilter = z.infer<typeof BasePriceFilterSchema>;\n\nexport const QuestionnaireOptionSchema = z.object({\n label: z.string().optional(),\n value: z.union([z.array(z.string()), z.number(), z.string()]).optional(),\n frequency: z.number(),\n min: z.number().optional(),\n max: z.number().optional(),\n key: z.string().optional(),\n});\nexport type QuestionnaireOption = z.infer<typeof QuestionnaireOptionSchema>;\n\nexport const QuestionnaireSchema = z.object({\n name: z.string(),\n component: z.string().optional(),\n label: z.string(),\n body_key: z.string(),\n options: z.array(QuestionnaireOptionSchema),\n helper_text: z.string().optional(),\n options_variant: z.string().optional(),\n min: z.number().optional(),\n max: z.number().optional(),\n});\nexport type Questionnaire = z.infer<typeof QuestionnaireSchema>;\n\nexport const FiltersResponseDataSchema = z.object({\n questionnaire: z.array(QuestionnaireSchema),\n filters: z.object({\n date_availability: AvailabilityFilterSchema,\n qty_bedrooms: BedroomsFilterSchema,\n base_price: BasePriceFilterSchema,\n highlights: AvailabilityFilterSchema,\n }),\n});\nexport type FiltersResponseData = z.infer<typeof FiltersResponseDataSchema>;\n\nexport const FiltersResponseSchema = z.object({\n data: FiltersResponseDataSchema,\n});\nexport type FiltersResponse = z.infer<typeof FiltersResponseSchema>;\n\nexport const QuestionnairePayloadSchema = z.object({\n visitor_uuid: z.string(),\n data: z.object({\n questions: z.array(z.record(z.unknown())),\n }),\n});\nexport type QuestionnairePayload = z.infer<typeof QuestionnairePayloadSchema>;\n\nexport const QuestionnaireResponseSchema = z.object({\n data: z.object({\n questionnaire: z.object({\n id: z.number(),\n visitor_id: z.string(),\n property_id: z.number(),\n data: z.record(z.unknown()),\n created_at: z.string(),\n }),\n }),\n});\nexport type QuestionnaireResponse = z.infer<typeof QuestionnaireResponseSchema>;\n\nexport const SaveFiltersPayloadSchema = z.object({\n visitor_uuid: z.string(),\n filter: z.record(z.unknown()),\n});\nexport type SaveFiltersPayload = z.infer<typeof SaveFiltersPayloadSchema>;\n\nexport const SaveFiltersResponseSchema = z.object({\n data: z.object({\n filter_id: z.number(),\n }),\n});\nexport type SaveFiltersResponse = z.infer<typeof SaveFiltersResponseSchema>;\n"],"names":["MediaDataSchema","z.object","z.string","MediaSchema","z.number","OverviewImageSchema","ExternalServiceSnippetConfigSchema","ExternalServiceConfigSchema","z.array","PropertyResponseDataSchema","z.coerce","PropertyResponseSchema","LinkedPropertySchema","LinkedPropertiesResponseSchema","ImageSchema","UnitSourceSchema","z.boolean","UnitsByIdsResponseSchema","BootstrapDataSchema","z.record","z.unknown","BootstrapResponseSchema","ContactBuildingPayloadSchema","ContactBuildingResponseSchema","EngagementTypeSchema","EngagementResponseSchema","z.enum","AvailabilityOptionSchema","BedroomsOptionSchema","BasePriceOptionSchema","AvailabilityFilterSchema","BedroomsFilterSchema","BasePriceFilterSchema","QuestionnaireOptionSchema","z.union","QuestionnaireSchema","FiltersResponseDataSchema","FiltersResponseSchema","QuestionnairePayloadSchema","QuestionnaireResponseSchema","SaveFiltersPayloadSchema","SaveFiltersResponseSchema"],"mappings":"mKAUaA,EAAkBC,EAAAA,OAAS,CACtC,MAAOC,EAAAA,OAAE,EACT,KAAMA,EAAAA,OAAE,EACR,UAAWA,EAAAA,OAAE,CACf,CAAC,EAGYC,EAAcF,EAAAA,OAAS,CAClC,GAAIG,EAAAA,OAAE,EAAS,IAAA,EACf,IAAKF,EAAAA,OAAE,EACP,WAAYA,EAAAA,OAAE,EACd,KAAMF,CACR,CAAC,EAGYK,EAAsBJ,EAAAA,OAAS,CAC1C,SAAUG,EAAAA,OAAE,EAAS,IAAA,EACrB,YAAaA,EAAAA,OAAE,EAAS,IAAA,EACxB,MAAOD,CACT,CAAC,EAGYG,EAAqCL,EAAAA,OAAS,CACzD,UAAWC,EAAAA,OAAE,EACb,KAAMA,EAAAA,OAAE,EAAS,SAAA,EACjB,YAAaA,EAAAA,OAAE,EAAS,SAAA,EACxB,IAAKA,EAAAA,OAAE,EAAS,SAAA,EAAW,SAAA,CAC7B,CAAC,EAGYK,EAA8BN,EAAAA,OAAS,CAClD,KAAMC,EAAAA,OAAE,EACR,KAAMA,EAAAA,OAAE,EAAS,SAAA,EACjB,gBAAiBD,EAAAA,OAAS,CACxB,IAAKC,EAAAA,OAAE,EAAS,SAAA,CAAS,CAC1B,EAAE,SAAA,EACH,SAAUM,EAAAA,MAAQF,CAAkC,EAAE,SAAA,CACxD,CAAC,EAGYG,EAA6BR,EAAAA,OAAS,CACjD,GAAIG,EAAAA,OAAE,EAAS,IAAA,EACf,WAAYM,EAAAA,OAAS,KAAA,EACrB,WAAYA,EAAAA,OAAS,KAAA,EACrB,KAAMR,EAAAA,OAAE,EACR,KAAMA,EAAAA,OAAE,EACR,YAAaA,EAAAA,OAAE,EACf,aAAcA,EAAAA,OAAE,EAChB,cAAeA,EAAAA,OAAE,EACjB,cAAeA,EAAAA,OAAE,EAAS,SAAA,EAC1B,mBA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OAAS,CAChB,kBAAmB6B,EACnB,aAAcC,EACd,WAAYC,EACZ,WAAYF,CAAA,CACb,CACH,CAAC,EAGYO,EAAwBpC,EAAAA,OAAS,CAC5C,KAAMmC,CACR,CAAC,EAGYE,EAA6BrC,EAAAA,OAAS,CACjD,aAAcC,EAAAA,OAAE,EAChB,KAAMD,EAAAA,OAAS,CACb,UAAWO,EAAAA,MAAQW,SAASC,EAAAA,SAAW,CAAC,CAAA,CACzC,CACH,CAAC,EAGYmB,EAA8BtC,EAAAA,OAAS,CAClD,KAAMA,EAAAA,OAAS,CACb,cAAeA,EAAAA,OAAS,CACtB,GAAIG,EAAAA,OAAE,EACN,WAAYF,EAAAA,OAAE,EACd,YAAaE,EAAAA,OAAE,EACf,KAAMe,EAAAA,OAASC,EAAAA,SAAW,EAC1B,WAAYlB,EAAAA,OAAE,CAAO,CACtB,CAAA,CACF,CACH,CAAC,EAGYsC,EAA2BvC,EAAAA,OAAS,CAC/C,aAAcC,EAAAA,OAAE,EAChB,OAAQiB,EAAAA,OAASC,WAAW,CAC9B,CAAC,EAGYqB,EAA4BxC,EAAAA,OAAS,CAChD,KAAMA,EAAAA,OAAS,CACb,UAAWG,EAAAA,OAAE,CAAO,CACrB,CACH,CAAC"}
|
|
@@ -1696,15 +1696,15 @@ export declare const BootstrapDataSchema: z.ZodObject<{
|
|
|
1696
1696
|
current_filter: z.ZodNullable<z.ZodObject<{
|
|
1697
1697
|
id: z.ZodNumber;
|
|
1698
1698
|
filter: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1699
|
-
|
|
1699
|
+
created_at: z.ZodString;
|
|
1700
1700
|
}, "strip", z.ZodTypeAny, {
|
|
1701
1701
|
filter: Record<string, unknown>;
|
|
1702
1702
|
id: number;
|
|
1703
|
-
|
|
1703
|
+
created_at: string;
|
|
1704
1704
|
}, {
|
|
1705
1705
|
filter: Record<string, unknown>;
|
|
1706
1706
|
id: number;
|
|
1707
|
-
|
|
1707
|
+
created_at: string;
|
|
1708
1708
|
}>>;
|
|
1709
1709
|
contacted_property_at: z.ZodNullable<z.ZodString>;
|
|
1710
1710
|
questionnaire: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
@@ -1713,7 +1713,7 @@ export declare const BootstrapDataSchema: z.ZodObject<{
|
|
|
1713
1713
|
current_filter: {
|
|
1714
1714
|
filter: Record<string, unknown>;
|
|
1715
1715
|
id: number;
|
|
1716
|
-
|
|
1716
|
+
created_at: string;
|
|
1717
1717
|
} | null;
|
|
1718
1718
|
contacted_property_at: string | null;
|
|
1719
1719
|
questionnaire?: Record<string, unknown> | null | undefined;
|
|
@@ -1722,7 +1722,7 @@ export declare const BootstrapDataSchema: z.ZodObject<{
|
|
|
1722
1722
|
current_filter: {
|
|
1723
1723
|
filter: Record<string, unknown>;
|
|
1724
1724
|
id: number;
|
|
1725
|
-
|
|
1725
|
+
created_at: string;
|
|
1726
1726
|
} | null;
|
|
1727
1727
|
contacted_property_at: string | null;
|
|
1728
1728
|
questionnaire?: Record<string, unknown> | null | undefined;
|
|
@@ -1734,15 +1734,15 @@ export declare const BootstrapResponseSchema: z.ZodObject<{
|
|
|
1734
1734
|
current_filter: z.ZodNullable<z.ZodObject<{
|
|
1735
1735
|
id: z.ZodNumber;
|
|
1736
1736
|
filter: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1737
|
-
|
|
1737
|
+
created_at: z.ZodString;
|
|
1738
1738
|
}, "strip", z.ZodTypeAny, {
|
|
1739
1739
|
filter: Record<string, unknown>;
|
|
1740
1740
|
id: number;
|
|
1741
|
-
|
|
1741
|
+
created_at: string;
|
|
1742
1742
|
}, {
|
|
1743
1743
|
filter: Record<string, unknown>;
|
|
1744
1744
|
id: number;
|
|
1745
|
-
|
|
1745
|
+
created_at: string;
|
|
1746
1746
|
}>>;
|
|
1747
1747
|
contacted_property_at: z.ZodNullable<z.ZodString>;
|
|
1748
1748
|
questionnaire: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
@@ -1751,7 +1751,7 @@ export declare const BootstrapResponseSchema: z.ZodObject<{
|
|
|
1751
1751
|
current_filter: {
|
|
1752
1752
|
filter: Record<string, unknown>;
|
|
1753
1753
|
id: number;
|
|
1754
|
-
|
|
1754
|
+
created_at: string;
|
|
1755
1755
|
} | null;
|
|
1756
1756
|
contacted_property_at: string | null;
|
|
1757
1757
|
questionnaire?: Record<string, unknown> | null | undefined;
|
|
@@ -1760,7 +1760,7 @@ export declare const BootstrapResponseSchema: z.ZodObject<{
|
|
|
1760
1760
|
current_filter: {
|
|
1761
1761
|
filter: Record<string, unknown>;
|
|
1762
1762
|
id: number;
|
|
1763
|
-
|
|
1763
|
+
created_at: string;
|
|
1764
1764
|
} | null;
|
|
1765
1765
|
contacted_property_at: string | null;
|
|
1766
1766
|
questionnaire?: Record<string, unknown> | null | undefined;
|
|
@@ -1771,7 +1771,7 @@ export declare const BootstrapResponseSchema: z.ZodObject<{
|
|
|
1771
1771
|
current_filter: {
|
|
1772
1772
|
filter: Record<string, unknown>;
|
|
1773
1773
|
id: number;
|
|
1774
|
-
|
|
1774
|
+
created_at: string;
|
|
1775
1775
|
} | null;
|
|
1776
1776
|
contacted_property_at: string | null;
|
|
1777
1777
|
questionnaire?: Record<string, unknown> | null | undefined;
|
|
@@ -1782,7 +1782,7 @@ export declare const BootstrapResponseSchema: z.ZodObject<{
|
|
|
1782
1782
|
current_filter: {
|
|
1783
1783
|
filter: Record<string, unknown>;
|
|
1784
1784
|
id: number;
|
|
1785
|
-
|
|
1785
|
+
created_at: string;
|
|
1786
1786
|
} | null;
|
|
1787
1787
|
contacted_property_at: string | null;
|
|
1788
1788
|
questionnaire?: Record<string, unknown> | null | undefined;
|
|
@@ -2057,7 +2057,7 @@ export declare const QuestionnaireSchema: z.ZodObject<{
|
|
|
2057
2057
|
max?: number | undefined;
|
|
2058
2058
|
key?: string | undefined;
|
|
2059
2059
|
}>, "many">;
|
|
2060
|
-
|
|
2060
|
+
helper_text: z.ZodOptional<z.ZodString>;
|
|
2061
2061
|
options_variant: z.ZodOptional<z.ZodString>;
|
|
2062
2062
|
min: z.ZodOptional<z.ZodNumber>;
|
|
2063
2063
|
max: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2076,7 +2076,7 @@ export declare const QuestionnaireSchema: z.ZodObject<{
|
|
|
2076
2076
|
min?: number | undefined;
|
|
2077
2077
|
max?: number | undefined;
|
|
2078
2078
|
component?: string | undefined;
|
|
2079
|
-
|
|
2079
|
+
helper_text?: string | undefined;
|
|
2080
2080
|
options_variant?: string | undefined;
|
|
2081
2081
|
}, {
|
|
2082
2082
|
name: string;
|
|
@@ -2093,7 +2093,7 @@ export declare const QuestionnaireSchema: z.ZodObject<{
|
|
|
2093
2093
|
min?: number | undefined;
|
|
2094
2094
|
max?: number | undefined;
|
|
2095
2095
|
component?: string | undefined;
|
|
2096
|
-
|
|
2096
|
+
helper_text?: string | undefined;
|
|
2097
2097
|
options_variant?: string | undefined;
|
|
2098
2098
|
}>;
|
|
2099
2099
|
export type Questionnaire = z.infer<typeof QuestionnaireSchema>;
|
|
@@ -2125,7 +2125,7 @@ export declare const FiltersResponseDataSchema: z.ZodObject<{
|
|
|
2125
2125
|
max?: number | undefined;
|
|
2126
2126
|
key?: string | undefined;
|
|
2127
2127
|
}>, "many">;
|
|
2128
|
-
|
|
2128
|
+
helper_text: z.ZodOptional<z.ZodString>;
|
|
2129
2129
|
options_variant: z.ZodOptional<z.ZodString>;
|
|
2130
2130
|
min: z.ZodOptional<z.ZodNumber>;
|
|
2131
2131
|
max: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2144,7 +2144,7 @@ export declare const FiltersResponseDataSchema: z.ZodObject<{
|
|
|
2144
2144
|
min?: number | undefined;
|
|
2145
2145
|
max?: number | undefined;
|
|
2146
2146
|
component?: string | undefined;
|
|
2147
|
-
|
|
2147
|
+
helper_text?: string | undefined;
|
|
2148
2148
|
options_variant?: string | undefined;
|
|
2149
2149
|
}, {
|
|
2150
2150
|
name: string;
|
|
@@ -2161,7 +2161,7 @@ export declare const FiltersResponseDataSchema: z.ZodObject<{
|
|
|
2161
2161
|
min?: number | undefined;
|
|
2162
2162
|
max?: number | undefined;
|
|
2163
2163
|
component?: string | undefined;
|
|
2164
|
-
|
|
2164
|
+
helper_text?: string | undefined;
|
|
2165
2165
|
options_variant?: string | undefined;
|
|
2166
2166
|
}>, "many">;
|
|
2167
2167
|
filters: z.ZodObject<{
|
|
@@ -2428,7 +2428,7 @@ export declare const FiltersResponseDataSchema: z.ZodObject<{
|
|
|
2428
2428
|
min?: number | undefined;
|
|
2429
2429
|
max?: number | undefined;
|
|
2430
2430
|
component?: string | undefined;
|
|
2431
|
-
|
|
2431
|
+
helper_text?: string | undefined;
|
|
2432
2432
|
options_variant?: string | undefined;
|
|
2433
2433
|
}[];
|
|
2434
2434
|
filters: {
|
|
@@ -2493,7 +2493,7 @@ export declare const FiltersResponseDataSchema: z.ZodObject<{
|
|
|
2493
2493
|
min?: number | undefined;
|
|
2494
2494
|
max?: number | undefined;
|
|
2495
2495
|
component?: string | undefined;
|
|
2496
|
-
|
|
2496
|
+
helper_text?: string | undefined;
|
|
2497
2497
|
options_variant?: string | undefined;
|
|
2498
2498
|
}[];
|
|
2499
2499
|
filters: {
|
|
@@ -2573,7 +2573,7 @@ export declare const FiltersResponseSchema: z.ZodObject<{
|
|
|
2573
2573
|
max?: number | undefined;
|
|
2574
2574
|
key?: string | undefined;
|
|
2575
2575
|
}>, "many">;
|
|
2576
|
-
|
|
2576
|
+
helper_text: z.ZodOptional<z.ZodString>;
|
|
2577
2577
|
options_variant: z.ZodOptional<z.ZodString>;
|
|
2578
2578
|
min: z.ZodOptional<z.ZodNumber>;
|
|
2579
2579
|
max: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2592,7 +2592,7 @@ export declare const FiltersResponseSchema: z.ZodObject<{
|
|
|
2592
2592
|
min?: number | undefined;
|
|
2593
2593
|
max?: number | undefined;
|
|
2594
2594
|
component?: string | undefined;
|
|
2595
|
-
|
|
2595
|
+
helper_text?: string | undefined;
|
|
2596
2596
|
options_variant?: string | undefined;
|
|
2597
2597
|
}, {
|
|
2598
2598
|
name: string;
|
|
@@ -2609,7 +2609,7 @@ export declare const FiltersResponseSchema: z.ZodObject<{
|
|
|
2609
2609
|
min?: number | undefined;
|
|
2610
2610
|
max?: number | undefined;
|
|
2611
2611
|
component?: string | undefined;
|
|
2612
|
-
|
|
2612
|
+
helper_text?: string | undefined;
|
|
2613
2613
|
options_variant?: string | undefined;
|
|
2614
2614
|
}>, "many">;
|
|
2615
2615
|
filters: z.ZodObject<{
|
|
@@ -2876,7 +2876,7 @@ export declare const FiltersResponseSchema: z.ZodObject<{
|
|
|
2876
2876
|
min?: number | undefined;
|
|
2877
2877
|
max?: number | undefined;
|
|
2878
2878
|
component?: string | undefined;
|
|
2879
|
-
|
|
2879
|
+
helper_text?: string | undefined;
|
|
2880
2880
|
options_variant?: string | undefined;
|
|
2881
2881
|
}[];
|
|
2882
2882
|
filters: {
|
|
@@ -2941,7 +2941,7 @@ export declare const FiltersResponseSchema: z.ZodObject<{
|
|
|
2941
2941
|
min?: number | undefined;
|
|
2942
2942
|
max?: number | undefined;
|
|
2943
2943
|
component?: string | undefined;
|
|
2944
|
-
|
|
2944
|
+
helper_text?: string | undefined;
|
|
2945
2945
|
options_variant?: string | undefined;
|
|
2946
2946
|
}[];
|
|
2947
2947
|
filters: {
|
|
@@ -3008,7 +3008,7 @@ export declare const FiltersResponseSchema: z.ZodObject<{
|
|
|
3008
3008
|
min?: number | undefined;
|
|
3009
3009
|
max?: number | undefined;
|
|
3010
3010
|
component?: string | undefined;
|
|
3011
|
-
|
|
3011
|
+
helper_text?: string | undefined;
|
|
3012
3012
|
options_variant?: string | undefined;
|
|
3013
3013
|
}[];
|
|
3014
3014
|
filters: {
|
|
@@ -3075,7 +3075,7 @@ export declare const FiltersResponseSchema: z.ZodObject<{
|
|
|
3075
3075
|
min?: number | undefined;
|
|
3076
3076
|
max?: number | undefined;
|
|
3077
3077
|
component?: string | undefined;
|
|
3078
|
-
|
|
3078
|
+
helper_text?: string | undefined;
|
|
3079
3079
|
options_variant?: string | undefined;
|
|
3080
3080
|
}[];
|
|
3081
3081
|
filters: {
|
|
@@ -3152,38 +3152,38 @@ export declare const QuestionnaireResponseSchema: z.ZodObject<{
|
|
|
3152
3152
|
data: z.ZodObject<{
|
|
3153
3153
|
questionnaire: z.ZodObject<{
|
|
3154
3154
|
id: z.ZodNumber;
|
|
3155
|
-
|
|
3156
|
-
|
|
3155
|
+
visitor_id: z.ZodString;
|
|
3156
|
+
property_id: z.ZodNumber;
|
|
3157
3157
|
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3158
|
-
|
|
3158
|
+
created_at: z.ZodString;
|
|
3159
3159
|
}, "strip", z.ZodTypeAny, {
|
|
3160
3160
|
id: number;
|
|
3161
3161
|
data: Record<string, unknown>;
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3162
|
+
property_id: number;
|
|
3163
|
+
created_at: string;
|
|
3164
|
+
visitor_id: string;
|
|
3165
3165
|
}, {
|
|
3166
3166
|
id: number;
|
|
3167
3167
|
data: Record<string, unknown>;
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3168
|
+
property_id: number;
|
|
3169
|
+
created_at: string;
|
|
3170
|
+
visitor_id: string;
|
|
3171
3171
|
}>;
|
|
3172
3172
|
}, "strip", z.ZodTypeAny, {
|
|
3173
3173
|
questionnaire: {
|
|
3174
3174
|
id: number;
|
|
3175
3175
|
data: Record<string, unknown>;
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3176
|
+
property_id: number;
|
|
3177
|
+
created_at: string;
|
|
3178
|
+
visitor_id: string;
|
|
3179
3179
|
};
|
|
3180
3180
|
}, {
|
|
3181
3181
|
questionnaire: {
|
|
3182
3182
|
id: number;
|
|
3183
3183
|
data: Record<string, unknown>;
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3184
|
+
property_id: number;
|
|
3185
|
+
created_at: string;
|
|
3186
|
+
visitor_id: string;
|
|
3187
3187
|
};
|
|
3188
3188
|
}>;
|
|
3189
3189
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3191,9 +3191,9 @@ export declare const QuestionnaireResponseSchema: z.ZodObject<{
|
|
|
3191
3191
|
questionnaire: {
|
|
3192
3192
|
id: number;
|
|
3193
3193
|
data: Record<string, unknown>;
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3194
|
+
property_id: number;
|
|
3195
|
+
created_at: string;
|
|
3196
|
+
visitor_id: string;
|
|
3197
3197
|
};
|
|
3198
3198
|
};
|
|
3199
3199
|
}, {
|
|
@@ -3201,9 +3201,9 @@ export declare const QuestionnaireResponseSchema: z.ZodObject<{
|
|
|
3201
3201
|
questionnaire: {
|
|
3202
3202
|
id: number;
|
|
3203
3203
|
data: Record<string, unknown>;
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3204
|
+
property_id: number;
|
|
3205
|
+
created_at: string;
|
|
3206
|
+
visitor_id: string;
|
|
3207
3207
|
};
|
|
3208
3208
|
};
|
|
3209
3209
|
}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { object as a, string as e, number as t, array as o, coerce as l, boolean as p, record as n, unknown as i, enum as d, union as m } from "../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.mjs";
|
|
2
|
-
const
|
|
2
|
+
const _ = a({
|
|
3
3
|
CFURL: e(),
|
|
4
4
|
name: e(),
|
|
5
5
|
signature: e()
|
|
@@ -7,8 +7,8 @@ const u = a({
|
|
|
7
7
|
id: t().int(),
|
|
8
8
|
url: e(),
|
|
9
9
|
media_type: e(),
|
|
10
|
-
data:
|
|
11
|
-
}),
|
|
10
|
+
data: _
|
|
11
|
+
}), u = a({
|
|
12
12
|
media_id: t().int(),
|
|
13
13
|
property_id: t().int(),
|
|
14
14
|
media: s
|
|
@@ -43,7 +43,7 @@ const u = a({
|
|
|
43
43
|
status: e(),
|
|
44
44
|
user_id: t().int(),
|
|
45
45
|
lead_media: s.nullable(),
|
|
46
|
-
overview_images: o(
|
|
46
|
+
overview_images: o(u),
|
|
47
47
|
external_services: o(h).optional(),
|
|
48
48
|
_count: a({
|
|
49
49
|
units: t().int()
|
|
@@ -91,7 +91,7 @@ const u = a({
|
|
|
91
91
|
additional_images: o(c),
|
|
92
92
|
is_favorite: p().optional(),
|
|
93
93
|
seen_on: e().nullable().optional()
|
|
94
|
-
}),
|
|
94
|
+
}), O = a({
|
|
95
95
|
data: a({
|
|
96
96
|
total: a({
|
|
97
97
|
value: t().int(),
|
|
@@ -111,22 +111,22 @@ const u = a({
|
|
|
111
111
|
current_filter: a({
|
|
112
112
|
id: t().int(),
|
|
113
113
|
filter: n(i()),
|
|
114
|
-
|
|
114
|
+
created_at: e()
|
|
115
115
|
}).nullable(),
|
|
116
116
|
contacted_property_at: e().nullable(),
|
|
117
117
|
questionnaire: n(i()).nullable().optional()
|
|
118
|
-
}),
|
|
118
|
+
}), D = a({
|
|
119
119
|
data: v
|
|
120
|
-
}),
|
|
120
|
+
}), E = a({
|
|
121
121
|
name: e(),
|
|
122
122
|
email: e(),
|
|
123
123
|
date_time: l.date(),
|
|
124
124
|
timezone: e().optional(),
|
|
125
125
|
visitor_uuid: e().optional()
|
|
126
|
-
}),
|
|
126
|
+
}), L = a({
|
|
127
127
|
message: e().optional(),
|
|
128
128
|
id: e().optional()
|
|
129
|
-
}),
|
|
129
|
+
}), Q = a({}), U = a({
|
|
130
130
|
data: a({
|
|
131
131
|
action: d(["added", "removed"]),
|
|
132
132
|
unit_id: t().int()
|
|
@@ -174,7 +174,7 @@ const u = a({
|
|
|
174
174
|
label: e(),
|
|
175
175
|
body_key: e(),
|
|
176
176
|
options: o(k),
|
|
177
|
-
|
|
177
|
+
helper_text: e().optional(),
|
|
178
178
|
options_variant: e().optional(),
|
|
179
179
|
min: t().optional(),
|
|
180
180
|
max: t().optional()
|
|
@@ -186,24 +186,24 @@ const u = a({
|
|
|
186
186
|
base_price: T,
|
|
187
187
|
highlights: r
|
|
188
188
|
})
|
|
189
|
-
}),
|
|
189
|
+
}), z = a({
|
|
190
190
|
data: F
|
|
191
|
-
}),
|
|
191
|
+
}), I = a({
|
|
192
192
|
visitor_uuid: e(),
|
|
193
193
|
data: a({
|
|
194
194
|
questions: o(n(i()))
|
|
195
195
|
})
|
|
196
|
-
}),
|
|
196
|
+
}), j = a({
|
|
197
197
|
data: a({
|
|
198
198
|
questionnaire: a({
|
|
199
199
|
id: t(),
|
|
200
|
-
|
|
201
|
-
|
|
200
|
+
visitor_id: e(),
|
|
201
|
+
property_id: t(),
|
|
202
202
|
data: n(i()),
|
|
203
|
-
|
|
203
|
+
created_at: e()
|
|
204
204
|
})
|
|
205
205
|
})
|
|
206
|
-
}),
|
|
206
|
+
}), A = a({
|
|
207
207
|
visitor_uuid: e(),
|
|
208
208
|
filter: n(i())
|
|
209
209
|
}), M = a({
|
|
@@ -219,30 +219,30 @@ export {
|
|
|
219
219
|
x as BedroomsFilterSchema,
|
|
220
220
|
R as BedroomsOptionSchema,
|
|
221
221
|
v as BootstrapDataSchema,
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
222
|
+
D as BootstrapResponseSchema,
|
|
223
|
+
E as ContactBuildingPayloadSchema,
|
|
224
|
+
L as ContactBuildingResponseSchema,
|
|
225
|
+
U as EngagementResponseSchema,
|
|
226
|
+
Q as EngagementTypeSchema,
|
|
227
227
|
h as ExternalServiceConfigSchema,
|
|
228
228
|
y as ExternalServiceSnippetConfigSchema,
|
|
229
229
|
F as FiltersResponseDataSchema,
|
|
230
|
-
|
|
230
|
+
z as FiltersResponseSchema,
|
|
231
231
|
c as ImageSchema,
|
|
232
232
|
w as LinkedPropertiesResponseSchema,
|
|
233
233
|
b as LinkedPropertySchema,
|
|
234
|
-
|
|
234
|
+
_ as MediaDataSchema,
|
|
235
235
|
s as MediaSchema,
|
|
236
|
-
|
|
236
|
+
u as OverviewImageSchema,
|
|
237
237
|
S as PropertyResponseDataSchema,
|
|
238
238
|
C as PropertyResponseSchema,
|
|
239
239
|
k as QuestionnaireOptionSchema,
|
|
240
|
-
|
|
241
|
-
|
|
240
|
+
I as QuestionnairePayloadSchema,
|
|
241
|
+
j as QuestionnaireResponseSchema,
|
|
242
242
|
B as QuestionnaireSchema,
|
|
243
|
-
|
|
243
|
+
A as SaveFiltersPayloadSchema,
|
|
244
244
|
M as SaveFiltersResponseSchema,
|
|
245
245
|
g as UnitSourceSchema,
|
|
246
|
-
|
|
246
|
+
O as UnitsByIdsResponseSchema
|
|
247
247
|
};
|
|
248
248
|
//# sourceMappingURL=embed-schemas.generated.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"embed-schemas.generated.mjs","sources":["../../src/api/embed-schemas.generated.ts"],"sourcesContent":["/**\n * This file was auto-generated from src/scripts/embed-schema-overrides.json.\n * Do not edit manually — run `node scripts/gen-schemas.mjs` to regenerate.\n *\n * Strict embed SDK API response schemas — temporary until the OpenAPI spec is\n * updated with full Property/Media shapes and required field markers.\n */\n\nimport { z } from 'zod';\n\nexport const MediaDataSchema = z.object({\n CFURL: z.string(),\n name: z.string(),\n signature: z.string(),\n});\nexport type MediaData = z.infer<typeof MediaDataSchema>;\n\nexport const MediaSchema = z.object({\n id: z.number().int(),\n url: z.string(),\n media_type: z.string(),\n data: MediaDataSchema,\n});\nexport type Media = z.infer<typeof MediaSchema>;\n\nexport const OverviewImageSchema = z.object({\n media_id: z.number().int(),\n property_id: z.number().int(),\n media: MediaSchema,\n});\nexport type OverviewImage = z.infer<typeof OverviewImageSchema>;\n\nexport const ExternalServiceSnippetConfigSchema = z.object({\n placement: z.string(),\n code: z.string().optional(),\n description: z.string().optional(),\n tag: z.string().nullable().optional(),\n});\nexport type ExternalServiceSnippetConfig = z.infer<typeof ExternalServiceSnippetConfigSchema>;\n\nexport const ExternalServiceConfigSchema = z.object({\n type: z.string(),\n code: z.string().optional(),\n additional_data: z.object({\n url: z.string().optional(),\n }).optional(),\n snippets: z.array(ExternalServiceSnippetConfigSchema).optional(),\n});\nexport type ExternalServiceConfig = z.infer<typeof ExternalServiceConfigSchema>;\n\nexport const PropertyResponseDataSchema = z.object({\n id: z.number().int(),\n created_at: z.coerce.date(),\n updated_at: z.coerce.date(),\n name: z.string(),\n slug: z.string(),\n description: z.string(),\n contact_name: z.string(),\n contact_email: z.string(),\n contact_phone: z.string().nullable(),\n notification_email: z.string(),\n address_street: z.string(),\n address_city: z.string(),\n address_state: z.string(),\n address_zip: z.string(),\n address_country: z.string(),\n status: z.string(),\n user_id: z.number().int(),\n lead_media: MediaSchema.nullable(),\n overview_images: z.array(OverviewImageSchema),\n external_services: z.array(ExternalServiceConfigSchema).optional(),\n _count: z.object({\n units: z.number().int(),\n }),\n lead_video: MediaSchema.nullable(),\n});\nexport type PropertyResponseData = z.infer<typeof PropertyResponseDataSchema>;\n\nexport const PropertyResponseSchema = z.object({\n data: PropertyResponseDataSchema,\n});\nexport type PropertyResponse = z.infer<typeof PropertyResponseSchema>;\n\nexport const LinkedPropertySchema = z.object({\n id: z.number().int(),\n name: z.string(),\n slug: z.string().optional(),\n address_street: z.string().optional(),\n address_city: z.string().optional(),\n address_state: z.string().optional(),\n address_zip: z.string().optional(),\n lead_media: MediaSchema.nullable().optional(),\n _count: z.object({\n units: z.number().int().optional(),\n }).optional(),\n});\nexport type LinkedProperty = z.infer<typeof LinkedPropertySchema>;\n\nexport const LinkedPropertiesResponseSchema = z.object({\n data: z.array(LinkedPropertySchema),\n meta: z.object({\n page: z.number().optional(),\n limit: z.number().optional(),\n total: z.number().optional(),\n }).optional(),\n owner: z.object({\n display_name: z.string().optional(),\n }).optional(),\n});\nexport type LinkedPropertiesResponse = z.infer<typeof LinkedPropertiesResponseSchema>;\n\nexport const ImageSchema = z.object({\n CFURL: z.string(),\n name: z.string(),\n});\nexport type Image = z.infer<typeof ImageSchema>;\n\nexport const UnitSourceSchema = z.object({\n id: z.number().int(),\n name: z.string(),\n slug: z.string(),\n base_price: z.number(),\n qty_bedrooms: z.number(),\n qty_bathrooms: z.number(),\n dim_sq_ft: z.number().optional(),\n amenities: z.array(z.string()),\n highlights: z.array(z.string()),\n date_availability: z.string().optional(),\n image: ImageSchema.optional(),\n additional_images: z.array(ImageSchema),\n is_favorite: z.boolean().optional(),\n seen_on: z.string().nullable().optional(),\n});\nexport type UnitSource = z.infer<typeof UnitSourceSchema>;\n\nexport const UnitsByIdsResponseSchema = z.object({\n data: z.object({\n total: z.object({\n value: z.number().int(),\n relation: z.string(),\n }),\n max_score: z.number().nullable(),\n hits: z.array(z.object({\n _index: z.string().optional(),\n _id: z.string(),\n _score: z.number(),\n _source: UnitSourceSchema,\n })),\n imageSignature: z.string().optional(),\n }),\n});\nexport type UnitsByIdsResponse = z.infer<typeof UnitsByIdsResponseSchema>;\n\nexport const BootstrapDataSchema = z.object({\n favorite_unit_ids: z.array(z.number().int()),\n current_filter: z.object({\n id: z.number().int(),\n filter: z.record(z.unknown()),\n createdAt: z.string(),\n }).nullable(),\n contacted_property_at: z.string().nullable(),\n questionnaire: z.record(z.unknown()).nullable().optional(),\n});\nexport type BootstrapData = z.infer<typeof BootstrapDataSchema>;\n\nexport const BootstrapResponseSchema = z.object({\n data: BootstrapDataSchema,\n});\nexport type BootstrapResponse = z.infer<typeof BootstrapResponseSchema>;\n\nexport const ContactBuildingPayloadSchema = z.object({\n name: z.string(),\n email: z.string(),\n date_time: z.coerce.date(),\n timezone: z.string().optional(),\n visitor_uuid: z.string().optional(),\n});\nexport type ContactBuildingPayload = z.infer<typeof ContactBuildingPayloadSchema>;\n\nexport const ContactBuildingResponseSchema = z.object({\n message: z.string().optional(),\n id: z.string().optional(),\n});\nexport type ContactBuildingResponse = z.infer<typeof ContactBuildingResponseSchema>;\n\nexport const EngagementTypeSchema = z.object({});\nexport type EngagementType = z.infer<typeof EngagementTypeSchema>;\n\nexport const EngagementResponseSchema = z.object({\n data: z.object({\n action: z.enum([\"added\", \"removed\"]),\n unit_id: z.number().int(),\n }),\n});\nexport type EngagementResponse = z.infer<typeof EngagementResponseSchema>;\n\nexport const AvailabilityOptionSchema = z.object({\n label: z.string(),\n value: z.string(),\n frequency: z.number(),\n});\nexport type AvailabilityOption = z.infer<typeof AvailabilityOptionSchema>;\n\nexport const BedroomsOptionSchema = z.object({\n label: z.string(),\n value: z.number(),\n frequency: z.number(),\n});\nexport type BedroomsOption = z.infer<typeof BedroomsOptionSchema>;\n\nexport const BasePriceOptionSchema = z.object({\n min: z.number(),\n max: z.number(),\n frequency: z.number(),\n});\nexport type BasePriceOption = z.infer<typeof BasePriceOptionSchema>;\n\nexport const AvailabilityFilterSchema = z.object({\n name: z.string(),\n component: z.string(),\n label: z.string(),\n body_key: z.string(),\n options: z.array(AvailabilityOptionSchema),\n});\nexport type AvailabilityFilter = z.infer<typeof AvailabilityFilterSchema>;\n\nexport const BedroomsFilterSchema = z.object({\n name: z.string(),\n component: z.string(),\n label: z.string(),\n body_key: z.string(),\n options: z.array(BedroomsOptionSchema),\n});\nexport type BedroomsFilter = z.infer<typeof BedroomsFilterSchema>;\n\nexport const BasePriceFilterSchema = z.object({\n name: z.string(),\n component: z.string(),\n label: z.string(),\n body_key: z.string(),\n options: z.array(BasePriceOptionSchema),\n});\nexport type BasePriceFilter = z.infer<typeof BasePriceFilterSchema>;\n\nexport const QuestionnaireOptionSchema = z.object({\n label: z.string().optional(),\n value: z.union([z.array(z.string()), z.number(), z.string()]).optional(),\n frequency: z.number(),\n min: z.number().optional(),\n max: z.number().optional(),\n key: z.string().optional(),\n});\nexport type QuestionnaireOption = z.infer<typeof QuestionnaireOptionSchema>;\n\nexport const QuestionnaireSchema = z.object({\n name: z.string(),\n component: z.string().optional(),\n label: z.string(),\n body_key: z.string(),\n options: z.array(QuestionnaireOptionSchema),\n helpter_text: z.string().optional(),\n options_variant: z.string().optional(),\n min: z.number().optional(),\n max: z.number().optional(),\n});\nexport type Questionnaire = z.infer<typeof QuestionnaireSchema>;\n\nexport const FiltersResponseDataSchema = z.object({\n questionnaire: z.array(QuestionnaireSchema),\n filters: z.object({\n date_availability: AvailabilityFilterSchema,\n qty_bedrooms: BedroomsFilterSchema,\n base_price: BasePriceFilterSchema,\n highlights: AvailabilityFilterSchema,\n }),\n});\nexport type FiltersResponseData = z.infer<typeof FiltersResponseDataSchema>;\n\nexport const FiltersResponseSchema = z.object({\n data: FiltersResponseDataSchema,\n});\nexport type FiltersResponse = z.infer<typeof FiltersResponseSchema>;\n\nexport const QuestionnairePayloadSchema = z.object({\n visitor_uuid: z.string(),\n data: z.object({\n questions: z.array(z.record(z.unknown())),\n }),\n});\nexport type QuestionnairePayload = z.infer<typeof QuestionnairePayloadSchema>;\n\nexport const QuestionnaireResponseSchema = z.object({\n data: z.object({\n questionnaire: z.object({\n id: z.number(),\n visitorId: z.string(),\n propertyId: z.number(),\n data: z.record(z.unknown()),\n createdAt: z.string(),\n }),\n }),\n});\nexport type QuestionnaireResponse = z.infer<typeof QuestionnaireResponseSchema>;\n\nexport const SaveFiltersPayloadSchema = z.object({\n visitor_uuid: z.string(),\n filter: z.record(z.unknown()),\n});\nexport type SaveFiltersPayload = z.infer<typeof SaveFiltersPayloadSchema>;\n\nexport const SaveFiltersResponseSchema = z.object({\n data: z.object({\n filter_id: z.number(),\n }),\n});\nexport type SaveFiltersResponse = z.infer<typeof SaveFiltersResponseSchema>;\n"],"names":["MediaDataSchema","z.object","z.string","MediaSchema","z.number","OverviewImageSchema","ExternalServiceSnippetConfigSchema","ExternalServiceConfigSchema","z.array","PropertyResponseDataSchema","z.coerce","PropertyResponseSchema","LinkedPropertySchema","LinkedPropertiesResponseSchema","ImageSchema","UnitSourceSchema","z.boolean","UnitsByIdsResponseSchema","BootstrapDataSchema","z.record","z.unknown","BootstrapResponseSchema","ContactBuildingPayloadSchema","ContactBuildingResponseSchema","EngagementTypeSchema","EngagementResponseSchema","z.enum","AvailabilityOptionSchema","BedroomsOptionSchema","BasePriceOptionSchema","AvailabilityFilterSchema","BedroomsFilterSchema","BasePriceFilterSchema","QuestionnaireOptionSchema","z.union","QuestionnaireSchema","FiltersResponseDataSchema","FiltersResponseSchema","QuestionnairePayloadSchema","QuestionnaireResponseSchema","SaveFiltersPayloadSchema","SaveFiltersResponseSchema"],"mappings":";AAUO,MAAMA,IAAkBC,EAAS;AAAA,EACtC,OAAOC,EAAE;AAAA,EACT,MAAMA,EAAE;AAAA,EACR,WAAWA,EAAE;AACf,CAAC,GAGYC,IAAcF,EAAS;AAAA,EAClC,IAAIG,EAAE,EAAS,IAAA;AAAA,EACf,KAAKF,EAAE;AAAA,EACP,YAAYA,EAAE;AAAA,EACd,MAAMF;AACR,CAAC,GAGYK,IAAsBJ,EAAS;AAAA,EAC1C,UAAUG,EAAE,EAAS,IAAA;AAAA,EACrB,aAAaA,EAAE,EAAS,IAAA;AAAA,EACxB,OAAOD;AACT,CAAC,GAGYG,IAAqCL,EAAS;AAAA,EACzD,WAAWC,EAAE;AAAA,EACb,MAAMA,EAAE,EAAS,SAAA;AAAA,EACjB,aAAaA,EAAE,EAAS,SAAA;AAAA,EACxB,KAAKA,EAAE,EAAS,SAAA,EAAW,SAAA;AAC7B,CAAC,GAGYK,IAA8BN,EAAS;AAAA,EAClD,MAAMC,EAAE;AAAA,EACR,MAAMA,EAAE,EAAS,SAAA;AAAA,EACjB,iBAAiBD,EAAS;AAAA,IACxB,KAAKC,EAAE,EAAS,SAAA;AAAA,EAAS,CAC1B,EAAE,SAAA;AAAA,EACH,UAAUM,EAAQF,CAAkC,EAAE,SAAA;AACxD,CAAC,GAGYG,IAA6BR,EAAS;AAAA,EACjD,IAAIG,EAAE,EAAS,IAAA;AAAA,EACf,YAAYM,EAAS,KAAA;AAAA,EACrB,YAAYA,EAAS,KAAA;AAAA,EACrB,MAAMR,EAAE;AAAA,EACR,MAAMA,EAAE;AAAA,EACR,aA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pC,EAAS;AAAA,EAC5C,MAAMmC;AACR,CAAC,GAGYE,IAA6BrC,EAAS;AAAA,EACjD,cAAcC,EAAE;AAAA,EAChB,MAAMD,EAAS;AAAA,IACb,WAAWO,EAAQW,EAASC,GAAW,CAAC;AAAA,EAAA,CACzC;AACH,CAAC,GAGYmB,IAA8BtC,EAAS;AAAA,EAClD,MAAMA,EAAS;AAAA,IACb,eAAeA,EAAS;AAAA,MACtB,IAAIG,EAAE;AAAA,MACN,WAAWF,EAAE;AAAA,MACb,YAAYE,EAAE;AAAA,MACd,MAAMe,EAASC,GAAW;AAAA,MAC1B,WAAWlB,EAAE;AAAA,IAAO,CACrB;AAAA,EAAA,CACF;AACH,CAAC,GAGYsC,IAA2BvC,EAAS;AAAA,EAC/C,cAAcC,EAAE;AAAA,EAChB,QAAQiB,EAASC,GAAW;AAC9B,CAAC,GAGYqB,IAA4BxC,EAAS;AAAA,EAChD,MAAMA,EAAS;AAAA,IACb,WAAWG,EAAE;AAAA,EAAO,CACrB;AACH,CAAC;"}
|
|
1
|
+
{"version":3,"file":"embed-schemas.generated.mjs","sources":["../../src/api/embed-schemas.generated.ts"],"sourcesContent":["/**\n * This file was auto-generated from src/scripts/embed-schema-overrides.json.\n * Do not edit manually — run `node scripts/gen-schemas.mjs` to regenerate.\n *\n * Strict embed SDK API response schemas — temporary until the OpenAPI spec is\n * updated with full Property/Media shapes and required field markers.\n */\n\nimport { z } from 'zod';\n\nexport const MediaDataSchema = z.object({\n CFURL: z.string(),\n name: z.string(),\n signature: z.string(),\n});\nexport type MediaData = z.infer<typeof MediaDataSchema>;\n\nexport const MediaSchema = z.object({\n id: z.number().int(),\n url: z.string(),\n media_type: z.string(),\n data: MediaDataSchema,\n});\nexport type Media = z.infer<typeof MediaSchema>;\n\nexport const OverviewImageSchema = z.object({\n media_id: z.number().int(),\n property_id: z.number().int(),\n media: MediaSchema,\n});\nexport type OverviewImage = z.infer<typeof OverviewImageSchema>;\n\nexport const ExternalServiceSnippetConfigSchema = z.object({\n placement: z.string(),\n code: z.string().optional(),\n description: z.string().optional(),\n tag: z.string().nullable().optional(),\n});\nexport type ExternalServiceSnippetConfig = z.infer<typeof ExternalServiceSnippetConfigSchema>;\n\nexport const ExternalServiceConfigSchema = z.object({\n type: z.string(),\n code: z.string().optional(),\n additional_data: z.object({\n url: z.string().optional(),\n }).optional(),\n snippets: z.array(ExternalServiceSnippetConfigSchema).optional(),\n});\nexport type ExternalServiceConfig = z.infer<typeof ExternalServiceConfigSchema>;\n\nexport const PropertyResponseDataSchema = z.object({\n id: z.number().int(),\n created_at: z.coerce.date(),\n updated_at: z.coerce.date(),\n name: z.string(),\n slug: z.string(),\n description: z.string(),\n contact_name: z.string(),\n contact_email: z.string(),\n contact_phone: z.string().nullable(),\n notification_email: z.string(),\n address_street: z.string(),\n address_city: z.string(),\n address_state: z.string(),\n address_zip: z.string(),\n address_country: z.string(),\n status: z.string(),\n user_id: z.number().int(),\n lead_media: MediaSchema.nullable(),\n overview_images: z.array(OverviewImageSchema),\n external_services: z.array(ExternalServiceConfigSchema).optional(),\n _count: z.object({\n units: z.number().int(),\n }),\n lead_video: MediaSchema.nullable(),\n});\nexport type PropertyResponseData = z.infer<typeof PropertyResponseDataSchema>;\n\nexport const PropertyResponseSchema = z.object({\n data: PropertyResponseDataSchema,\n});\nexport type PropertyResponse = z.infer<typeof PropertyResponseSchema>;\n\nexport const LinkedPropertySchema = z.object({\n id: z.number().int(),\n name: z.string(),\n slug: z.string().optional(),\n address_street: z.string().optional(),\n address_city: z.string().optional(),\n address_state: z.string().optional(),\n address_zip: z.string().optional(),\n lead_media: MediaSchema.nullable().optional(),\n _count: z.object({\n units: z.number().int().optional(),\n }).optional(),\n});\nexport type LinkedProperty = z.infer<typeof LinkedPropertySchema>;\n\nexport const LinkedPropertiesResponseSchema = z.object({\n data: z.array(LinkedPropertySchema),\n meta: z.object({\n page: z.number().optional(),\n limit: z.number().optional(),\n total: z.number().optional(),\n }).optional(),\n owner: z.object({\n display_name: z.string().optional(),\n }).optional(),\n});\nexport type LinkedPropertiesResponse = z.infer<typeof LinkedPropertiesResponseSchema>;\n\nexport const ImageSchema = z.object({\n CFURL: z.string(),\n name: z.string(),\n});\nexport type Image = z.infer<typeof ImageSchema>;\n\nexport const UnitSourceSchema = z.object({\n id: z.number().int(),\n name: z.string(),\n slug: z.string(),\n base_price: z.number(),\n qty_bedrooms: z.number(),\n qty_bathrooms: z.number(),\n dim_sq_ft: z.number().optional(),\n amenities: z.array(z.string()),\n highlights: z.array(z.string()),\n date_availability: z.string().optional(),\n image: ImageSchema.optional(),\n additional_images: z.array(ImageSchema),\n is_favorite: z.boolean().optional(),\n seen_on: z.string().nullable().optional(),\n});\nexport type UnitSource = z.infer<typeof UnitSourceSchema>;\n\nexport const UnitsByIdsResponseSchema = z.object({\n data: z.object({\n total: z.object({\n value: z.number().int(),\n relation: z.string(),\n }),\n max_score: z.number().nullable(),\n hits: z.array(z.object({\n _index: z.string().optional(),\n _id: z.string(),\n _score: z.number(),\n _source: UnitSourceSchema,\n })),\n imageSignature: z.string().optional(),\n }),\n});\nexport type UnitsByIdsResponse = z.infer<typeof UnitsByIdsResponseSchema>;\n\nexport const BootstrapDataSchema = z.object({\n favorite_unit_ids: z.array(z.number().int()),\n current_filter: z.object({\n id: z.number().int(),\n filter: z.record(z.unknown()),\n created_at: z.string(),\n }).nullable(),\n contacted_property_at: z.string().nullable(),\n questionnaire: z.record(z.unknown()).nullable().optional(),\n});\nexport type BootstrapData = z.infer<typeof BootstrapDataSchema>;\n\nexport const BootstrapResponseSchema = z.object({\n data: BootstrapDataSchema,\n});\nexport type BootstrapResponse = z.infer<typeof BootstrapResponseSchema>;\n\nexport const ContactBuildingPayloadSchema = z.object({\n name: z.string(),\n email: z.string(),\n date_time: z.coerce.date(),\n timezone: z.string().optional(),\n visitor_uuid: z.string().optional(),\n});\nexport type ContactBuildingPayload = z.infer<typeof ContactBuildingPayloadSchema>;\n\nexport const ContactBuildingResponseSchema = z.object({\n message: z.string().optional(),\n id: z.string().optional(),\n});\nexport type ContactBuildingResponse = z.infer<typeof ContactBuildingResponseSchema>;\n\nexport const EngagementTypeSchema = z.object({});\nexport type EngagementType = z.infer<typeof EngagementTypeSchema>;\n\nexport const EngagementResponseSchema = z.object({\n data: z.object({\n action: z.enum([\"added\", \"removed\"]),\n unit_id: z.number().int(),\n }),\n});\nexport type EngagementResponse = z.infer<typeof EngagementResponseSchema>;\n\nexport const AvailabilityOptionSchema = z.object({\n label: z.string(),\n value: z.string(),\n frequency: z.number(),\n});\nexport type AvailabilityOption = z.infer<typeof AvailabilityOptionSchema>;\n\nexport const BedroomsOptionSchema = z.object({\n label: z.string(),\n value: z.number(),\n frequency: z.number(),\n});\nexport type BedroomsOption = z.infer<typeof BedroomsOptionSchema>;\n\nexport const BasePriceOptionSchema = z.object({\n min: z.number(),\n max: z.number(),\n frequency: z.number(),\n});\nexport type BasePriceOption = z.infer<typeof BasePriceOptionSchema>;\n\nexport const AvailabilityFilterSchema = z.object({\n name: z.string(),\n component: z.string(),\n label: z.string(),\n body_key: z.string(),\n options: z.array(AvailabilityOptionSchema),\n});\nexport type AvailabilityFilter = z.infer<typeof AvailabilityFilterSchema>;\n\nexport const BedroomsFilterSchema = z.object({\n name: z.string(),\n component: z.string(),\n label: z.string(),\n body_key: z.string(),\n options: z.array(BedroomsOptionSchema),\n});\nexport type BedroomsFilter = z.infer<typeof BedroomsFilterSchema>;\n\nexport const BasePriceFilterSchema = z.object({\n name: z.string(),\n component: z.string(),\n label: z.string(),\n body_key: z.string(),\n options: z.array(BasePriceOptionSchema),\n});\nexport type BasePriceFilter = z.infer<typeof BasePriceFilterSchema>;\n\nexport const QuestionnaireOptionSchema = z.object({\n label: z.string().optional(),\n value: z.union([z.array(z.string()), z.number(), z.string()]).optional(),\n frequency: z.number(),\n min: z.number().optional(),\n max: z.number().optional(),\n key: z.string().optional(),\n});\nexport type QuestionnaireOption = z.infer<typeof QuestionnaireOptionSchema>;\n\nexport const QuestionnaireSchema = z.object({\n name: z.string(),\n component: z.string().optional(),\n label: z.string(),\n body_key: z.string(),\n options: z.array(QuestionnaireOptionSchema),\n helper_text: z.string().optional(),\n options_variant: z.string().optional(),\n min: z.number().optional(),\n max: z.number().optional(),\n});\nexport type Questionnaire = z.infer<typeof QuestionnaireSchema>;\n\nexport const FiltersResponseDataSchema = z.object({\n questionnaire: z.array(QuestionnaireSchema),\n filters: z.object({\n date_availability: AvailabilityFilterSchema,\n qty_bedrooms: BedroomsFilterSchema,\n base_price: BasePriceFilterSchema,\n highlights: AvailabilityFilterSchema,\n }),\n});\nexport type FiltersResponseData = z.infer<typeof FiltersResponseDataSchema>;\n\nexport const FiltersResponseSchema = z.object({\n data: FiltersResponseDataSchema,\n});\nexport type FiltersResponse = z.infer<typeof FiltersResponseSchema>;\n\nexport const QuestionnairePayloadSchema = z.object({\n visitor_uuid: z.string(),\n data: z.object({\n questions: z.array(z.record(z.unknown())),\n }),\n});\nexport type QuestionnairePayload = z.infer<typeof QuestionnairePayloadSchema>;\n\nexport const QuestionnaireResponseSchema = z.object({\n data: z.object({\n questionnaire: z.object({\n id: z.number(),\n visitor_id: z.string(),\n property_id: z.number(),\n data: z.record(z.unknown()),\n created_at: z.string(),\n }),\n }),\n});\nexport type QuestionnaireResponse = z.infer<typeof QuestionnaireResponseSchema>;\n\nexport const SaveFiltersPayloadSchema = z.object({\n visitor_uuid: z.string(),\n filter: z.record(z.unknown()),\n});\nexport type SaveFiltersPayload = z.infer<typeof SaveFiltersPayloadSchema>;\n\nexport const SaveFiltersResponseSchema = z.object({\n data: z.object({\n filter_id: z.number(),\n }),\n});\nexport type SaveFiltersResponse = z.infer<typeof SaveFiltersResponseSchema>;\n"],"names":["MediaDataSchema","z.object","z.string","MediaSchema","z.number","OverviewImageSchema","ExternalServiceSnippetConfigSchema","ExternalServiceConfigSchema","z.array","PropertyResponseDataSchema","z.coerce","PropertyResponseSchema","LinkedPropertySchema","LinkedPropertiesResponseSchema","ImageSchema","UnitSourceSchema","z.boolean","UnitsByIdsResponseSchema","BootstrapDataSchema","z.record","z.unknown","BootstrapResponseSchema","ContactBuildingPayloadSchema","ContactBuildingResponseSchema","EngagementTypeSchema","EngagementResponseSchema","z.enum","AvailabilityOptionSchema","BedroomsOptionSchema","BasePriceOptionSchema","AvailabilityFilterSchema","BedroomsFilterSchema","BasePriceFilterSchema","QuestionnaireOptionSchema","z.union","QuestionnaireSchema","FiltersResponseDataSchema","FiltersResponseSchema","QuestionnairePayloadSchema","QuestionnaireResponseSchema","SaveFiltersPayloadSchema","SaveFiltersResponseSchema"],"mappings":";AAUO,MAAMA,IAAkBC,EAAS;AAAA,EACtC,OAAOC,EAAE;AAAA,EACT,MAAMA,EAAE;AAAA,EACR,WAAWA,EAAE;AACf,CAAC,GAGYC,IAAcF,EAAS;AAAA,EAClC,IAAIG,EAAE,EAAS,IAAA;AAAA,EACf,KAAKF,EAAE;AAAA,EACP,YAAYA,EAAE;AAAA,EACd,MAAMF;AACR,CAAC,GAGYK,IAAsBJ,EAAS;AAAA,EAC1C,UAAUG,EAAE,EAAS,IAAA;AAAA,EACrB,aAAaA,EAAE,EAAS,IAAA;AAAA,EACxB,OAAOD;AACT,CAAC,GAGYG,IAAqCL,EAAS;AAAA,EACzD,WAAWC,EAAE;AAAA,EACb,MAAMA,EAAE,EAAS,SAAA;AAAA,EACjB,aAAaA,EAAE,EAAS,SAAA;AAAA,EACxB,KAAKA,EAAE,EAAS,SAAA,EAAW,SAAA;AAC7B,CAAC,GAGYK,IAA8BN,EAAS;AAAA,EAClD,MAAMC,EAAE;AAAA,EACR,MAAMA,EAAE,EAAS,SAAA;AAAA,EACjB,iBAAiBD,EAAS;AAAA,IACxB,KAAKC,EAAE,EAAS,SAAA;AAAA,EAAS,CAC1B,EAAE,SAAA;AAAA,EACH,UAAUM,EAAQF,CAAkC,EAAE,SAAA;AACxD,CAAC,GAGYG,IAA6BR,EAAS;AAAA,EACjD,IAAIG,EAAE,EAAS,IAAA;AAAA,EACf,Y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ChB,mBAAmB6B;AAAA,IACnB,cAAcC;AAAA,IACd,YAAYC;AAAA,IACZ,YAAYF;AAAA,EAAA,CACb;AACH,CAAC,GAGYO,IAAwBpC,EAAS;AAAA,EAC5C,MAAMmC;AACR,CAAC,GAGYE,IAA6BrC,EAAS;AAAA,EACjD,cAAcC,EAAE;AAAA,EAChB,MAAMD,EAAS;AAAA,IACb,WAAWO,EAAQW,EAASC,GAAW,CAAC;AAAA,EAAA,CACzC;AACH,CAAC,GAGYmB,IAA8BtC,EAAS;AAAA,EAClD,MAAMA,EAAS;AAAA,IACb,eAAeA,EAAS;AAAA,MACtB,IAAIG,EAAE;AAAA,MACN,YAAYF,EAAE;AAAA,MACd,aAAaE,EAAE;AAAA,MACf,MAAMe,EAASC,GAAW;AAAA,MAC1B,YAAYlB,EAAE;AAAA,IAAO,CACtB;AAAA,EAAA,CACF;AACH,CAAC,GAGYsC,IAA2BvC,EAAS;AAAA,EAC/C,cAAcC,EAAE;AAAA,EAChB,QAAQiB,EAASC,GAAW;AAC9B,CAAC,GAGYqB,IAA4BxC,EAAS;AAAA,EAChD,MAAMA,EAAS;AAAA,IACb,WAAWG,EAAE;AAAA,EAAO,CACrB;AACH,CAAC;"}
|
|
@@ -7965,8 +7965,8 @@ export declare const QuestionnaireSchema: z.ZodObject<{
|
|
|
7965
7965
|
min?: number | undefined;
|
|
7966
7966
|
max?: number | undefined;
|
|
7967
7967
|
component?: string | undefined;
|
|
7968
|
-
options_variant?: string | undefined;
|
|
7969
7968
|
helper_text?: string | undefined;
|
|
7969
|
+
options_variant?: string | undefined;
|
|
7970
7970
|
}, {
|
|
7971
7971
|
name: string;
|
|
7972
7972
|
options: {
|
|
@@ -7980,8 +7980,8 @@ export declare const QuestionnaireSchema: z.ZodObject<{
|
|
|
7980
7980
|
min?: number | undefined;
|
|
7981
7981
|
max?: number | undefined;
|
|
7982
7982
|
component?: string | undefined;
|
|
7983
|
-
options_variant?: string | undefined;
|
|
7984
7983
|
helper_text?: string | undefined;
|
|
7984
|
+
options_variant?: string | undefined;
|
|
7985
7985
|
}>;
|
|
7986
7986
|
export type Questionnaire = z.infer<typeof QuestionnaireSchema>;
|
|
7987
7987
|
export declare const FiltersResponseDataSchema: z.ZodObject<{
|
|
@@ -8023,8 +8023,8 @@ export declare const FiltersResponseDataSchema: z.ZodObject<{
|
|
|
8023
8023
|
min?: number | undefined;
|
|
8024
8024
|
max?: number | undefined;
|
|
8025
8025
|
component?: string | undefined;
|
|
8026
|
-
options_variant?: string | undefined;
|
|
8027
8026
|
helper_text?: string | undefined;
|
|
8027
|
+
options_variant?: string | undefined;
|
|
8028
8028
|
}, {
|
|
8029
8029
|
name: string;
|
|
8030
8030
|
options: {
|
|
@@ -8038,8 +8038,8 @@ export declare const FiltersResponseDataSchema: z.ZodObject<{
|
|
|
8038
8038
|
min?: number | undefined;
|
|
8039
8039
|
max?: number | undefined;
|
|
8040
8040
|
component?: string | undefined;
|
|
8041
|
-
options_variant?: string | undefined;
|
|
8042
8041
|
helper_text?: string | undefined;
|
|
8042
|
+
options_variant?: string | undefined;
|
|
8043
8043
|
}>, "many">;
|
|
8044
8044
|
filters: z.ZodObject<{
|
|
8045
8045
|
date_availability: z.ZodObject<{
|
|
@@ -8245,8 +8245,8 @@ export declare const FiltersResponseDataSchema: z.ZodObject<{
|
|
|
8245
8245
|
min?: number | undefined;
|
|
8246
8246
|
max?: number | undefined;
|
|
8247
8247
|
component?: string | undefined;
|
|
8248
|
-
options_variant?: string | undefined;
|
|
8249
8248
|
helper_text?: string | undefined;
|
|
8249
|
+
options_variant?: string | undefined;
|
|
8250
8250
|
}[];
|
|
8251
8251
|
filters: {
|
|
8252
8252
|
base_price: {
|
|
@@ -8298,8 +8298,8 @@ export declare const FiltersResponseDataSchema: z.ZodObject<{
|
|
|
8298
8298
|
min?: number | undefined;
|
|
8299
8299
|
max?: number | undefined;
|
|
8300
8300
|
component?: string | undefined;
|
|
8301
|
-
options_variant?: string | undefined;
|
|
8302
8301
|
helper_text?: string | undefined;
|
|
8302
|
+
options_variant?: string | undefined;
|
|
8303
8303
|
}[];
|
|
8304
8304
|
filters: {
|
|
8305
8305
|
base_price: {
|
|
@@ -8379,8 +8379,8 @@ export declare const FiltersResponseSchema: z.ZodObject<{
|
|
|
8379
8379
|
min?: number | undefined;
|
|
8380
8380
|
max?: number | undefined;
|
|
8381
8381
|
component?: string | undefined;
|
|
8382
|
-
options_variant?: string | undefined;
|
|
8383
8382
|
helper_text?: string | undefined;
|
|
8383
|
+
options_variant?: string | undefined;
|
|
8384
8384
|
}, {
|
|
8385
8385
|
name: string;
|
|
8386
8386
|
options: {
|
|
@@ -8394,8 +8394,8 @@ export declare const FiltersResponseSchema: z.ZodObject<{
|
|
|
8394
8394
|
min?: number | undefined;
|
|
8395
8395
|
max?: number | undefined;
|
|
8396
8396
|
component?: string | undefined;
|
|
8397
|
-
options_variant?: string | undefined;
|
|
8398
8397
|
helper_text?: string | undefined;
|
|
8398
|
+
options_variant?: string | undefined;
|
|
8399
8399
|
}>, "many">;
|
|
8400
8400
|
filters: z.ZodObject<{
|
|
8401
8401
|
date_availability: z.ZodObject<{
|
|
@@ -8601,8 +8601,8 @@ export declare const FiltersResponseSchema: z.ZodObject<{
|
|
|
8601
8601
|
min?: number | undefined;
|
|
8602
8602
|
max?: number | undefined;
|
|
8603
8603
|
component?: string | undefined;
|
|
8604
|
-
options_variant?: string | undefined;
|
|
8605
8604
|
helper_text?: string | undefined;
|
|
8605
|
+
options_variant?: string | undefined;
|
|
8606
8606
|
}[];
|
|
8607
8607
|
filters: {
|
|
8608
8608
|
base_price: {
|
|
@@ -8654,8 +8654,8 @@ export declare const FiltersResponseSchema: z.ZodObject<{
|
|
|
8654
8654
|
min?: number | undefined;
|
|
8655
8655
|
max?: number | undefined;
|
|
8656
8656
|
component?: string | undefined;
|
|
8657
|
-
options_variant?: string | undefined;
|
|
8658
8657
|
helper_text?: string | undefined;
|
|
8658
|
+
options_variant?: string | undefined;
|
|
8659
8659
|
}[];
|
|
8660
8660
|
filters: {
|
|
8661
8661
|
base_price: {
|
|
@@ -8709,8 +8709,8 @@ export declare const FiltersResponseSchema: z.ZodObject<{
|
|
|
8709
8709
|
min?: number | undefined;
|
|
8710
8710
|
max?: number | undefined;
|
|
8711
8711
|
component?: string | undefined;
|
|
8712
|
-
options_variant?: string | undefined;
|
|
8713
8712
|
helper_text?: string | undefined;
|
|
8713
|
+
options_variant?: string | undefined;
|
|
8714
8714
|
}[];
|
|
8715
8715
|
filters: {
|
|
8716
8716
|
base_price: {
|
|
@@ -8764,8 +8764,8 @@ export declare const FiltersResponseSchema: z.ZodObject<{
|
|
|
8764
8764
|
min?: number | undefined;
|
|
8765
8765
|
max?: number | undefined;
|
|
8766
8766
|
component?: string | undefined;
|
|
8767
|
-
options_variant?: string | undefined;
|
|
8768
8767
|
helper_text?: string | undefined;
|
|
8768
|
+
options_variant?: string | undefined;
|
|
8769
8769
|
}[];
|
|
8770
8770
|
filters: {
|
|
8771
8771
|
base_price: {
|
|
@@ -300,8 +300,8 @@ declare const furnitureInteractionSchema: z.ZodObject<{
|
|
|
300
300
|
category: z.ZodString;
|
|
301
301
|
}, "strip", z.ZodTypeAny, {
|
|
302
302
|
type: "click" | "hover_on" | "hover_off";
|
|
303
|
-
propertyId: string;
|
|
304
303
|
category: string;
|
|
304
|
+
propertyId: string;
|
|
305
305
|
propertySlug: string;
|
|
306
306
|
propertyName: string;
|
|
307
307
|
unitId: string;
|
|
@@ -316,8 +316,8 @@ declare const furnitureInteractionSchema: z.ZodObject<{
|
|
|
316
316
|
brandName: string;
|
|
317
317
|
}, {
|
|
318
318
|
type: "click" | "hover_on" | "hover_off";
|
|
319
|
-
propertyId: string;
|
|
320
319
|
category: string;
|
|
320
|
+
propertyId: string;
|
|
321
321
|
propertySlug: string;
|
|
322
322
|
propertyName: string;
|
|
323
323
|
unitId: string;
|
|
@@ -353,8 +353,8 @@ declare const furnitureExternalUrlSchema: z.ZodObject<{
|
|
|
353
353
|
category: z.ZodString;
|
|
354
354
|
}, "strip", z.ZodTypeAny, {
|
|
355
355
|
type: string;
|
|
356
|
-
propertyId: string;
|
|
357
356
|
category: string;
|
|
357
|
+
propertyId: string;
|
|
358
358
|
link: string;
|
|
359
359
|
propertySlug: string;
|
|
360
360
|
propertyName: string;
|
|
@@ -371,8 +371,8 @@ declare const furnitureExternalUrlSchema: z.ZodObject<{
|
|
|
371
371
|
brandName: string;
|
|
372
372
|
}, {
|
|
373
373
|
type: string;
|
|
374
|
-
propertyId: string;
|
|
375
374
|
category: string;
|
|
375
|
+
propertyId: string;
|
|
376
376
|
link: string;
|
|
377
377
|
propertySlug: string;
|
|
378
378
|
propertyName: string;
|
|
@@ -406,8 +406,8 @@ declare const furnitureSavedSchema: z.ZodObject<{
|
|
|
406
406
|
brandName: z.ZodString;
|
|
407
407
|
category: z.ZodString;
|
|
408
408
|
}, "strip", z.ZodTypeAny, {
|
|
409
|
-
propertyId: string;
|
|
410
409
|
category: string;
|
|
410
|
+
propertyId: string;
|
|
411
411
|
propertySlug: string;
|
|
412
412
|
propertyName: string;
|
|
413
413
|
unitId: string;
|
|
@@ -421,8 +421,8 @@ declare const furnitureSavedSchema: z.ZodObject<{
|
|
|
421
421
|
furnitureName: string;
|
|
422
422
|
brandName: string;
|
|
423
423
|
}, {
|
|
424
|
-
propertyId: string;
|
|
425
424
|
category: string;
|
|
425
|
+
propertyId: string;
|
|
426
426
|
propertySlug: string;
|
|
427
427
|
propertyName: string;
|
|
428
428
|
unitId: string;
|
|
@@ -454,8 +454,8 @@ declare const furnitureModalOpenedSchema: z.ZodObject<{
|
|
|
454
454
|
brandName: z.ZodString;
|
|
455
455
|
category: z.ZodString;
|
|
456
456
|
}, "strip", z.ZodTypeAny, {
|
|
457
|
-
propertyId: string;
|
|
458
457
|
category: string;
|
|
458
|
+
propertyId: string;
|
|
459
459
|
propertySlug: string;
|
|
460
460
|
propertyName: string;
|
|
461
461
|
unitId: string;
|
|
@@ -469,8 +469,8 @@ declare const furnitureModalOpenedSchema: z.ZodObject<{
|
|
|
469
469
|
furnitureName: string;
|
|
470
470
|
brandName: string;
|
|
471
471
|
}, {
|
|
472
|
-
propertyId: string;
|
|
473
472
|
category: string;
|
|
473
|
+
propertyId: string;
|
|
474
474
|
propertySlug: string;
|
|
475
475
|
propertyName: string;
|
|
476
476
|
unitId: string;
|
|
@@ -503,8 +503,8 @@ declare const furnitureCarouselSchema: z.ZodObject<{
|
|
|
503
503
|
brandName: z.ZodString;
|
|
504
504
|
category: z.ZodString;
|
|
505
505
|
}, "strip", z.ZodTypeAny, {
|
|
506
|
-
propertyId: string;
|
|
507
506
|
category: string;
|
|
507
|
+
propertyId: string;
|
|
508
508
|
propertySlug: string;
|
|
509
509
|
propertyName: string;
|
|
510
510
|
unitId: string;
|
|
@@ -519,8 +519,8 @@ declare const furnitureCarouselSchema: z.ZodObject<{
|
|
|
519
519
|
brandName: string;
|
|
520
520
|
method: "Prev" | "Next";
|
|
521
521
|
}, {
|
|
522
|
-
propertyId: string;
|
|
523
522
|
category: string;
|
|
523
|
+
propertyId: string;
|
|
524
524
|
propertySlug: string;
|
|
525
525
|
propertyName: string;
|
|
526
526
|
unitId: string;
|
|
@@ -1575,8 +1575,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn, isDev?: bo
|
|
|
1575
1575
|
}) => void;
|
|
1576
1576
|
trackFurnitureViewed: (payload: {
|
|
1577
1577
|
type: "click" | "hover_on" | "hover_off";
|
|
1578
|
-
propertyId: string;
|
|
1579
1578
|
category: string;
|
|
1579
|
+
propertyId: string;
|
|
1580
1580
|
propertySlug: string;
|
|
1581
1581
|
propertyName: string;
|
|
1582
1582
|
unitId: string;
|
|
@@ -1592,8 +1592,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn, isDev?: bo
|
|
|
1592
1592
|
}) => void;
|
|
1593
1593
|
trackFurnitureExternalUrlClicked: (payload: {
|
|
1594
1594
|
type: string;
|
|
1595
|
-
propertyId: string;
|
|
1596
1595
|
category: string;
|
|
1596
|
+
propertyId: string;
|
|
1597
1597
|
link: string;
|
|
1598
1598
|
propertySlug: string;
|
|
1599
1599
|
propertyName: string;
|
|
@@ -1610,8 +1610,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn, isDev?: bo
|
|
|
1610
1610
|
brandName: string;
|
|
1611
1611
|
}) => void;
|
|
1612
1612
|
trackFurnitureSaved: (payload: {
|
|
1613
|
-
propertyId: string;
|
|
1614
1613
|
category: string;
|
|
1614
|
+
propertyId: string;
|
|
1615
1615
|
propertySlug: string;
|
|
1616
1616
|
propertyName: string;
|
|
1617
1617
|
unitId: string;
|
|
@@ -1626,8 +1626,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn, isDev?: bo
|
|
|
1626
1626
|
brandName: string;
|
|
1627
1627
|
}) => void;
|
|
1628
1628
|
trackFurnitureModalOpened: (payload: {
|
|
1629
|
-
propertyId: string;
|
|
1630
1629
|
category: string;
|
|
1630
|
+
propertyId: string;
|
|
1631
1631
|
propertySlug: string;
|
|
1632
1632
|
propertyName: string;
|
|
1633
1633
|
unitId: string;
|
|
@@ -1642,8 +1642,8 @@ export declare function buildTrackingEvents(trackEvent: TrackEventFn, isDev?: bo
|
|
|
1642
1642
|
brandName: string;
|
|
1643
1643
|
}) => void;
|
|
1644
1644
|
trackFurnitureCarouselToggled: (payload: {
|
|
1645
|
-
propertyId: string;
|
|
1646
1645
|
category: string;
|
|
1646
|
+
propertyId: string;
|
|
1647
1647
|
propertySlug: string;
|
|
1648
1648
|
propertyName: string;
|
|
1649
1649
|
unitId: string;
|
|
@@ -2114,8 +2114,8 @@ export declare function useTrackingEvents(): {
|
|
|
2114
2114
|
}) => void;
|
|
2115
2115
|
trackFurnitureViewed: (payload: {
|
|
2116
2116
|
type: "click" | "hover_on" | "hover_off";
|
|
2117
|
-
propertyId: string;
|
|
2118
2117
|
category: string;
|
|
2118
|
+
propertyId: string;
|
|
2119
2119
|
propertySlug: string;
|
|
2120
2120
|
propertyName: string;
|
|
2121
2121
|
unitId: string;
|
|
@@ -2131,8 +2131,8 @@ export declare function useTrackingEvents(): {
|
|
|
2131
2131
|
}) => void;
|
|
2132
2132
|
trackFurnitureExternalUrlClicked: (payload: {
|
|
2133
2133
|
type: string;
|
|
2134
|
-
propertyId: string;
|
|
2135
2134
|
category: string;
|
|
2135
|
+
propertyId: string;
|
|
2136
2136
|
link: string;
|
|
2137
2137
|
propertySlug: string;
|
|
2138
2138
|
propertyName: string;
|
|
@@ -2149,8 +2149,8 @@ export declare function useTrackingEvents(): {
|
|
|
2149
2149
|
brandName: string;
|
|
2150
2150
|
}) => void;
|
|
2151
2151
|
trackFurnitureSaved: (payload: {
|
|
2152
|
-
propertyId: string;
|
|
2153
2152
|
category: string;
|
|
2153
|
+
propertyId: string;
|
|
2154
2154
|
propertySlug: string;
|
|
2155
2155
|
propertyName: string;
|
|
2156
2156
|
unitId: string;
|
|
@@ -2165,8 +2165,8 @@ export declare function useTrackingEvents(): {
|
|
|
2165
2165
|
brandName: string;
|
|
2166
2166
|
}) => void;
|
|
2167
2167
|
trackFurnitureModalOpened: (payload: {
|
|
2168
|
-
propertyId: string;
|
|
2169
2168
|
category: string;
|
|
2169
|
+
propertyId: string;
|
|
2170
2170
|
propertySlug: string;
|
|
2171
2171
|
propertyName: string;
|
|
2172
2172
|
unitId: string;
|
|
@@ -2181,8 +2181,8 @@ export declare function useTrackingEvents(): {
|
|
|
2181
2181
|
brandName: string;
|
|
2182
2182
|
}) => void;
|
|
2183
2183
|
trackFurnitureCarouselToggled: (payload: {
|
|
2184
|
-
propertyId: string;
|
|
2185
2184
|
category: string;
|
|
2185
|
+
propertyId: string;
|
|
2186
2186
|
propertySlug: string;
|
|
2187
2187
|
propertyName: string;
|
|
2188
2188
|
unitId: string;
|
package/dist/schema.d.ts
CHANGED
|
@@ -771,10 +771,10 @@ export declare const ApiUserSchema: z.ZodObject<{
|
|
|
771
771
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
772
772
|
}, "strip", z.ZodTypeAny, {
|
|
773
773
|
id?: string | number | undefined;
|
|
774
|
-
createdAt?: string | undefined;
|
|
775
774
|
email?: string | undefined;
|
|
776
775
|
first_name?: string | undefined;
|
|
777
776
|
last_name?: string | undefined;
|
|
777
|
+
createdAt?: string | undefined;
|
|
778
778
|
updatedAt?: string | undefined;
|
|
779
779
|
floorPlans?: unknown[] | undefined;
|
|
780
780
|
password?: string | undefined;
|
|
@@ -869,10 +869,10 @@ export declare const ApiUserSchema: z.ZodObject<{
|
|
|
869
869
|
}[] | undefined;
|
|
870
870
|
}, {
|
|
871
871
|
id?: string | number | undefined;
|
|
872
|
-
createdAt?: string | undefined;
|
|
873
872
|
email?: string | undefined;
|
|
874
873
|
first_name?: string | undefined;
|
|
875
874
|
last_name?: string | undefined;
|
|
875
|
+
createdAt?: string | undefined;
|
|
876
876
|
updatedAt?: string | undefined;
|
|
877
877
|
floorPlans?: unknown[] | undefined;
|
|
878
878
|
password?: string | undefined;
|