wiil-core-js 0.0.82
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/LICENSE +21 -0
- package/README.md +174 -0
- package/dist/core/account/index.d.ts +7 -0
- package/dist/core/account/index.js +23 -0
- package/dist/core/account/organization.schema.d.ts +118 -0
- package/dist/core/account/organization.schema.js +91 -0
- package/dist/core/account/project.schema.d.ts +121 -0
- package/dist/core/account/project.schema.js +102 -0
- package/dist/core/account/supported-business-verticals.d.ts +8 -0
- package/dist/core/account/supported-business-verticals.js +23 -0
- package/dist/core/assistant-setups/assistant-setup-result.schema.d.ts +115 -0
- package/dist/core/assistant-setups/assistant-setup-result.schema.js +17 -0
- package/dist/core/assistant-setups/base-assistant-setup.schema.d.ts +61 -0
- package/dist/core/assistant-setups/base-assistant-setup.schema.js +29 -0
- package/dist/core/assistant-setups/index.d.ts +4 -0
- package/dist/core/assistant-setups/index.js +21 -0
- package/dist/core/assistant-setups/phone-assistant-setup.schema.d.ts +63 -0
- package/dist/core/assistant-setups/phone-assistant-setup.schema.js +14 -0
- package/dist/core/assistant-setups/web-assitant-setup.schema.d.ts +56 -0
- package/dist/core/assistant-setups/web-assitant-setup.schema.js +17 -0
- package/dist/core/base.schema.d.ts +34 -0
- package/dist/core/base.schema.js +36 -0
- package/dist/core/business-mgt/appointment-additional-info.schema.d.ts +63 -0
- package/dist/core/business-mgt/appointment-additional-info.schema.js +53 -0
- package/dist/core/business-mgt/appointment-field-config.schema.d.ts +251 -0
- package/dist/core/business-mgt/appointment-field-config.schema.js +49 -0
- package/dist/core/business-mgt/bookings.shared.schema.d.ts +47 -0
- package/dist/core/business-mgt/bookings.shared.schema.js +60 -0
- package/dist/core/business-mgt/business-location.schema.d.ts +327 -0
- package/dist/core/business-mgt/business-location.schema.js +176 -0
- package/dist/core/business-mgt/customer-management/customer-group.schema.d.ts +87 -0
- package/dist/core/business-mgt/customer-management/customer-group.schema.js +53 -0
- package/dist/core/business-mgt/customer-management/customer.schema.d.ts +156 -0
- package/dist/core/business-mgt/customer-management/customer.schema.js +93 -0
- package/dist/core/business-mgt/customer-management/index.d.ts +7 -0
- package/dist/core/business-mgt/customer-management/index.js +23 -0
- package/dist/core/business-mgt/customer-management/shipping-address.schema.d.ts +112 -0
- package/dist/core/business-mgt/customer-management/shipping-address.schema.js +79 -0
- package/dist/core/business-mgt/customer.schema.d.ts +111 -0
- package/dist/core/business-mgt/customer.schema.js +73 -0
- package/dist/core/business-mgt/discount-rule.schema.d.ts +183 -0
- package/dist/core/business-mgt/discount-rule.schema.js +108 -0
- package/dist/core/business-mgt/index.d.ts +16 -0
- package/dist/core/business-mgt/index.js +38 -0
- package/dist/core/business-mgt/menu-config.schema.d.ts +165 -0
- package/dist/core/business-mgt/menu-config.schema.js +86 -0
- package/dist/core/business-mgt/menu-management/index.d.ts +11 -0
- package/dist/core/business-mgt/menu-management/index.js +27 -0
- package/dist/core/business-mgt/menu-management/menu-catalog.schema.d.ts +386 -0
- package/dist/core/business-mgt/menu-management/menu-catalog.schema.js +58 -0
- package/dist/core/business-mgt/menu-management/menu-config.schema.d.ts +301 -0
- package/dist/core/business-mgt/menu-management/menu-config.schema.js +169 -0
- package/dist/core/business-mgt/menu-management/menu-item-variant.schema.d.ts +143 -0
- package/dist/core/business-mgt/menu-management/menu-item-variant.schema.js +86 -0
- package/dist/core/business-mgt/menu-management/menu-pricing-rule.schema.d.ts +239 -0
- package/dist/core/business-mgt/menu-management/menu-pricing-rule.schema.js +117 -0
- package/dist/core/business-mgt/menu-management/menu-set.schema.d.ts +420 -0
- package/dist/core/business-mgt/menu-management/menu-set.schema.js +283 -0
- package/dist/core/business-mgt/menu-management/menu.order.schema.d.ts +654 -0
- package/dist/core/business-mgt/menu-management/menu.order.schema.js +204 -0
- package/dist/core/business-mgt/menu-management/modifier.schema.d.ts +585 -0
- package/dist/core/business-mgt/menu-management/modifier.schema.js +341 -0
- package/dist/core/business-mgt/menu.order.schema.d.ts +335 -0
- package/dist/core/business-mgt/menu.order.schema.js +149 -0
- package/dist/core/business-mgt/order.schema.d.ts +222 -0
- package/dist/core/business-mgt/order.schema.js +205 -0
- package/dist/core/business-mgt/pricing-rule.shared.schema.d.ts +56 -0
- package/dist/core/business-mgt/pricing-rule.shared.schema.js +68 -0
- package/dist/core/business-mgt/product-config.schema.d.ts +177 -0
- package/dist/core/business-mgt/product-config.schema.js +106 -0
- package/dist/core/business-mgt/product-management/index.d.ts +12 -0
- package/dist/core/business-mgt/product-management/index.js +28 -0
- package/dist/core/business-mgt/product-management/product-axis-binding.schema.d.ts +54 -0
- package/dist/core/business-mgt/product-management/product-axis-binding.schema.js +54 -0
- package/dist/core/business-mgt/product-management/product-config.schema.d.ts +1042 -0
- package/dist/core/business-mgt/product-management/product-config.schema.js +392 -0
- package/dist/core/business-mgt/product-management/product-display.schema.d.ts +548 -0
- package/dist/core/business-mgt/product-management/product-display.schema.js +80 -0
- package/dist/core/business-mgt/product-management/product-order.schema.d.ts +493 -0
- package/dist/core/business-mgt/product-management/product-order.schema.js +158 -0
- package/dist/core/business-mgt/product-management/product-pricing-rule.schema.d.ts +167 -0
- package/dist/core/business-mgt/product-management/product-pricing-rule.schema.js +68 -0
- package/dist/core/business-mgt/product-management/product-set.schema.d.ts +488 -0
- package/dist/core/business-mgt/product-management/product-set.schema.js +273 -0
- package/dist/core/business-mgt/product-management/product-variant-axis.schema.d.ts +156 -0
- package/dist/core/business-mgt/product-management/product-variant-axis.schema.js +98 -0
- package/dist/core/business-mgt/product-management/product-variant.schema.d.ts +219 -0
- package/dist/core/business-mgt/product-management/product-variant.schema.js +130 -0
- package/dist/core/business-mgt/product-order.schema.d.ts +326 -0
- package/dist/core/business-mgt/product-order.schema.js +153 -0
- package/dist/core/business-mgt/property-config.schema.d.ts +621 -0
- package/dist/core/business-mgt/property-config.schema.js +224 -0
- package/dist/core/business-mgt/property-inquiry.schema.d.ts +222 -0
- package/dist/core/business-mgt/property-inquiry.schema.js +112 -0
- package/dist/core/business-mgt/property-management/index.d.ts +6 -0
- package/dist/core/business-mgt/property-management/index.js +22 -0
- package/dist/core/business-mgt/property-management/property-config.schema.d.ts +1306 -0
- package/dist/core/business-mgt/property-management/property-config.schema.js +367 -0
- package/dist/core/business-mgt/property-management/property-inquiry.schema.d.ts +254 -0
- package/dist/core/business-mgt/property-management/property-inquiry.schema.js +131 -0
- package/dist/core/business-mgt/reservation-mgt/assignment/index.d.ts +3 -0
- package/dist/core/business-mgt/reservation-mgt/assignment/index.js +19 -0
- package/dist/core/business-mgt/reservation-mgt/assignment/reservation-rental-assignment.schema.d.ts +139 -0
- package/dist/core/business-mgt/reservation-mgt/assignment/reservation-rental-assignment.schema.js +90 -0
- package/dist/core/business-mgt/reservation-mgt/assignment/reservation-room-assignment.schema.d.ts +104 -0
- package/dist/core/business-mgt/reservation-mgt/assignment/reservation-room-assignment.schema.js +70 -0
- package/dist/core/business-mgt/reservation-mgt/assignment/reservation-table-assignment.schema.d.ts +104 -0
- package/dist/core/business-mgt/reservation-mgt/assignment/reservation-table-assignment.schema.js +72 -0
- package/dist/core/business-mgt/reservation-mgt/index.d.ts +14 -0
- package/dist/core/business-mgt/reservation-mgt/index.js +31 -0
- package/dist/core/business-mgt/reservation-mgt/reservation-floor-plan-definition.schema.d.ts +180 -0
- package/dist/core/business-mgt/reservation-mgt/reservation-floor-plan-definition.schema.js +75 -0
- package/dist/core/business-mgt/reservation-mgt/reservation-maintenance-block.schema.d.ts +91 -0
- package/dist/core/business-mgt/reservation-mgt/reservation-maintenance-block.schema.js +57 -0
- package/dist/core/business-mgt/reservation-mgt/reservation-rental.schema.d.ts +334 -0
- package/dist/core/business-mgt/reservation-mgt/reservation-rental.schema.js +179 -0
- package/dist/core/business-mgt/reservation-mgt/reservation-room.schema.d.ts +195 -0
- package/dist/core/business-mgt/reservation-mgt/reservation-room.schema.js +106 -0
- package/dist/core/business-mgt/reservation-mgt/reservation-section.schema.d.ts +402 -0
- package/dist/core/business-mgt/reservation-mgt/reservation-section.schema.js +198 -0
- package/dist/core/business-mgt/reservation-mgt/reservation-settings.schema.d.ts +229 -0
- package/dist/core/business-mgt/reservation-mgt/reservation-settings.schema.js +127 -0
- package/dist/core/business-mgt/reservation-mgt/reservation-slot-query.schema.d.ts +382 -0
- package/dist/core/business-mgt/reservation-mgt/reservation-slot-query.schema.js +322 -0
- package/dist/core/business-mgt/reservation-mgt/reservation-table-layout.schema.d.ts +123 -0
- package/dist/core/business-mgt/reservation-mgt/reservation-table-layout.schema.js +83 -0
- package/dist/core/business-mgt/reservation-mgt/reservation-table.schema.d.ts +167 -0
- package/dist/core/business-mgt/reservation-mgt/reservation-table.schema.js +84 -0
- package/dist/core/business-mgt/reservation-mgt/reservation.schema.d.ts +0 -0
- package/dist/core/business-mgt/reservation-mgt/reservation.schema.js +153 -0
- package/dist/core/business-mgt/reservation-mgt/resource/index.d.ts +4 -0
- package/dist/core/business-mgt/reservation-mgt/resource/index.js +20 -0
- package/dist/core/business-mgt/reservation-mgt/resource/reservation-resource-category.schema.d.ts +157 -0
- package/dist/core/business-mgt/reservation-mgt/resource/reservation-resource-category.schema.js +76 -0
- package/dist/core/business-mgt/reservation-mgt/resource/reservation-resource-instance.schema.d.ts +137 -0
- package/dist/core/business-mgt/reservation-mgt/resource/reservation-resource-instance.schema.js +94 -0
- package/dist/core/business-mgt/reservation-mgt/resource/reservation-resource.schema.d.ts +713 -0
- package/dist/core/business-mgt/reservation-mgt/resource/reservation-resource.schema.js +363 -0
- package/dist/core/business-mgt/reservation-mgt/resource/resource-versioning.schema.d.ts +151 -0
- package/dist/core/business-mgt/reservation-mgt/resource/resource-versioning.schema.js +147 -0
- package/dist/core/business-mgt/reservation-resource.schema.d.ts +154 -0
- package/dist/core/business-mgt/reservation-resource.schema.js +100 -0
- package/dist/core/business-mgt/reservation.schema.d.ts +119 -0
- package/dist/core/business-mgt/reservation.schema.js +89 -0
- package/dist/core/business-mgt/service-appointment.schema.d.ts +105 -0
- package/dist/core/business-mgt/service-appointment.schema.js +69 -0
- package/dist/core/business-mgt/service-config.schema.d.ts +453 -0
- package/dist/core/business-mgt/service-config.schema.js +102 -0
- package/dist/core/business-mgt/service-management/appointment-additional-info.schema.d.ts +110 -0
- package/dist/core/business-mgt/service-management/appointment-additional-info.schema.js +78 -0
- package/dist/core/business-mgt/service-management/appointment-field-config.schema.d.ts +304 -0
- package/dist/core/business-mgt/service-management/appointment-field-config.schema.js +75 -0
- package/dist/core/business-mgt/service-management/business-service-config.schema.d.ts +1226 -0
- package/dist/core/business-mgt/service-management/business-service-config.schema.js +317 -0
- package/dist/core/business-mgt/service-management/index.d.ts +13 -0
- package/dist/core/business-mgt/service-management/index.js +29 -0
- package/dist/core/business-mgt/service-management/service-appointment.schema.d.ts +531 -0
- package/dist/core/business-mgt/service-management/service-appointment.schema.js +116 -0
- package/dist/core/business-mgt/service-management/service-person.schema.d.ts +122 -0
- package/dist/core/business-mgt/service-management/service-person.schema.js +66 -0
- package/dist/core/business-mgt/service-management/service-pricing-rule.schema.d.ts +221 -0
- package/dist/core/business-mgt/service-management/service-pricing-rule.schema.js +118 -0
- package/dist/core/business-mgt/service-management/service-provider.schema.d.ts +90 -0
- package/dist/core/business-mgt/service-management/service-provider.schema.js +54 -0
- package/dist/core/business-mgt/service-management/service-slot-query.schema.d.ts +90 -0
- package/dist/core/business-mgt/service-management/service-slot-query.schema.js +113 -0
- package/dist/core/business-mgt/service-management/service-time-off.schema.d.ts +121 -0
- package/dist/core/business-mgt/service-management/service-time-off.schema.js +95 -0
- package/dist/core/business-mgt/service-person.schema.d.ts +43 -0
- package/dist/core/business-mgt/service-person.schema.js +38 -0
- package/dist/core/business-mgt/tax-rule.schema.d.ts +161 -0
- package/dist/core/business-mgt/tax-rule.schema.js +90 -0
- package/dist/core/conversation/conversation-config.schema.d.ts +644 -0
- package/dist/core/conversation/conversation-config.schema.js +351 -0
- package/dist/core/conversation/conversation-message.schema.d.ts +307 -0
- package/dist/core/conversation/conversation-message.schema.js +275 -0
- package/dist/core/conversation/index.d.ts +12 -0
- package/dist/core/conversation/index.js +28 -0
- package/dist/core/conversation/outbound-call.schema.d.ts +209 -0
- package/dist/core/conversation/outbound-call.schema.js +116 -0
- package/dist/core/conversation/outbound-email.schema.d.ts +338 -0
- package/dist/core/conversation/outbound-email.schema.js +150 -0
- package/dist/core/conversation/outbound-sms.schema.d.ts +163 -0
- package/dist/core/conversation/outbound-sms.schema.js +85 -0
- package/dist/core/conversation/outbound-template.schema.d.ts +375 -0
- package/dist/core/conversation/outbound-template.schema.js +160 -0
- package/dist/core/conversation/translation-config.schema.d.ts +92 -0
- package/dist/core/conversation/translation-config.schema.js +88 -0
- package/dist/core/conversation/translation-conversation.schema.d.ts +469 -0
- package/dist/core/conversation/translation-conversation.schema.js +175 -0
- package/dist/core/index.d.ts +12 -0
- package/dist/core/index.js +30 -0
- package/dist/core/service-configuration/agent-config.schema.d.ts +236 -0
- package/dist/core/service-configuration/agent-config.schema.js +152 -0
- package/dist/core/service-configuration/base-agent-setup.d.ts +147 -0
- package/dist/core/service-configuration/base-agent-setup.js +123 -0
- package/dist/core/service-configuration/call-transfer-config.schema.d.ts +60 -0
- package/dist/core/service-configuration/call-transfer-config.schema.js +53 -0
- package/dist/core/service-configuration/deployment-config.schema.d.ts +522 -0
- package/dist/core/service-configuration/deployment-config.schema.js +271 -0
- package/dist/core/service-configuration/dynamic_setup/base-agent-setup.d.ts +130 -0
- package/dist/core/service-configuration/dynamic_setup/base-agent-setup.js +110 -0
- package/dist/core/service-configuration/dynamic_setup/index.d.ts +10 -0
- package/dist/core/service-configuration/dynamic_setup/index.js +26 -0
- package/dist/core/service-configuration/dynamic_setup/phone-agent-setup.d.ts +111 -0
- package/dist/core/service-configuration/dynamic_setup/phone-agent-setup.js +56 -0
- package/dist/core/service-configuration/dynamic_setup/web-agent-setup.d.ts +113 -0
- package/dist/core/service-configuration/dynamic_setup/web-agent-setup.js +55 -0
- package/dist/core/service-configuration/index.d.ts +17 -0
- package/dist/core/service-configuration/index.js +33 -0
- package/dist/core/service-configuration/instruction-config.schema.d.ts +183 -0
- package/dist/core/service-configuration/instruction-config.schema.js +139 -0
- package/dist/core/service-configuration/interaction-channels.schema.d.ts +469 -0
- package/dist/core/service-configuration/interaction-channels.schema.js +390 -0
- package/dist/core/service-configuration/knowledge.schema.d.ts +107 -0
- package/dist/core/service-configuration/knowledge.schema.js +106 -0
- package/dist/core/service-configuration/phone-config.schema.d.ts +206 -0
- package/dist/core/service-configuration/phone-config.schema.js +121 -0
- package/dist/core/service-configuration/phone-number.schema.d.ts +236 -0
- package/dist/core/service-configuration/phone-number.schema.js +211 -0
- package/dist/core/service-configuration/provisioning-config.d.ts +429 -0
- package/dist/core/service-configuration/provisioning-config.js +307 -0
- package/dist/core/service-configuration/support-llm.d.ts +95 -0
- package/dist/core/service-configuration/support-llm.js +76 -0
- package/dist/core/service-configuration/voice-language.schema.d.ts +200 -0
- package/dist/core/service-configuration/voice-language.schema.js +166 -0
- package/dist/core/type-definitions/account-definitions.d.ts +82 -0
- package/dist/core/type-definitions/account-definitions.js +88 -0
- package/dist/core/type-definitions/business-definitions.d.ts +394 -0
- package/dist/core/type-definitions/business-definitions.js +447 -0
- package/dist/core/type-definitions/conversation.type.definition.d.ts +223 -0
- package/dist/core/type-definitions/conversation.type.definition.js +236 -0
- package/dist/core/type-definitions/display-order.d.ts +154 -0
- package/dist/core/type-definitions/display-order.js +154 -0
- package/dist/core/type-definitions/dynamic-fields/field-definition.schema.d.ts +165 -0
- package/dist/core/type-definitions/dynamic-fields/field-definition.schema.js +97 -0
- package/dist/core/type-definitions/dynamic-fields/field-types.d.ts +49 -0
- package/dist/core/type-definitions/dynamic-fields/field-types.js +104 -0
- package/dist/core/type-definitions/dynamic-fields/index.d.ts +9 -0
- package/dist/core/type-definitions/dynamic-fields/index.js +25 -0
- package/dist/core/type-definitions/index.d.ts +10 -0
- package/dist/core/type-definitions/index.js +26 -0
- package/dist/core/type-definitions/knowledge-definitions.d.ts +30 -0
- package/dist/core/type-definitions/knowledge-definitions.js +37 -0
- package/dist/core/type-definitions/service-config.definitions.d.ts +112 -0
- package/dist/core/type-definitions/service-config.definitions.js +135 -0
- package/dist/core/validators/channel-validation.d.ts +19 -0
- package/dist/core/validators/channel-validation.js +40 -0
- package/dist/core/validators/index.d.ts +5 -0
- package/dist/core/validators/index.js +21 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +24 -0
- package/dist/request/index.d.ts +5 -0
- package/dist/request/index.js +21 -0
- package/dist/request/models/index.d.ts +6 -0
- package/dist/request/models/index.js +22 -0
- package/dist/request/models/paginated-quest.schema.d.ts +33 -0
- package/dist/request/models/paginated-quest.schema.js +35 -0
- package/dist/request/models/paginated-result.schema.d.ts +124 -0
- package/dist/request/models/paginated-result.schema.js +94 -0
- package/package.json +43 -0
|
@@ -0,0 +1,1306 @@
|
|
|
1
|
+
import z from "zod";
|
|
2
|
+
import { PropertyType, PropertySubType, ListingType, ListingStatus, PropertyCondition, RentalPeriod } from "../../type-definitions";
|
|
3
|
+
/**
|
|
4
|
+
* @fileoverview Property configuration schema definitions for property management.
|
|
5
|
+
* @module business-mgt/property-management
|
|
6
|
+
*
|
|
7
|
+
* Property management schemas for real estate listings including residential,
|
|
8
|
+
* commercial, and land properties with categories, addresses, and type-specific details.
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Property category schema.
|
|
12
|
+
* Organizes properties into logical groups (e.g., Luxury Homes, Commercial Offices).
|
|
13
|
+
*
|
|
14
|
+
* @typedef {Object} PropertyCategory
|
|
15
|
+
* @property {string} name - Category name
|
|
16
|
+
* @property {string} [description] - Category description
|
|
17
|
+
* @property {PropertyType} propertyType - Type of property
|
|
18
|
+
* @property {number} [displayOrder] - Display order in listing
|
|
19
|
+
* @property {boolean} isDefault - Whether this is the default category
|
|
20
|
+
*/
|
|
21
|
+
export declare const PropertyCategorySchema: z.ZodObject<{
|
|
22
|
+
id: z.ZodString;
|
|
23
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
24
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
25
|
+
name: z.ZodString;
|
|
26
|
+
description: z.ZodOptional<z.ZodString>;
|
|
27
|
+
propertyType: z.ZodEnum<typeof PropertyType>;
|
|
28
|
+
displayOrder: z.ZodOptional<z.ZodNumber>;
|
|
29
|
+
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
30
|
+
}, z.core.$strip>;
|
|
31
|
+
/**
|
|
32
|
+
* Property address schema.
|
|
33
|
+
* Standalone address entity for property locations with verification support.
|
|
34
|
+
*
|
|
35
|
+
* @typedef {Object} PropertyAddress
|
|
36
|
+
* @property {string} street - Street address
|
|
37
|
+
* @property {string} [unit] - Unit or apartment number
|
|
38
|
+
* @property {string} city - City name
|
|
39
|
+
* @property {string} state - State or province
|
|
40
|
+
* @property {string} [postalCode] - Postal or ZIP code
|
|
41
|
+
* @property {string} country - Country
|
|
42
|
+
* @property {Object} [coordinates] - Geographic coordinates
|
|
43
|
+
* @property {string} [neighborhood] - Neighborhood name
|
|
44
|
+
* @property {string} [district] - Administrative district
|
|
45
|
+
* @property {boolean} isVerified - Whether address is verified
|
|
46
|
+
* @property {number} [verifiedAt] - Verification timestamp
|
|
47
|
+
* @property {string} [primaryUserAccountId] - User account managing property
|
|
48
|
+
*/
|
|
49
|
+
export declare const PropertyAddressSchema: z.ZodObject<{
|
|
50
|
+
id: z.ZodString;
|
|
51
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
52
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
53
|
+
street: z.ZodString;
|
|
54
|
+
unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
|
+
city: z.ZodString;
|
|
56
|
+
state: z.ZodString;
|
|
57
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
|
+
country: z.ZodString;
|
|
59
|
+
coordinates: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
60
|
+
latitude: z.ZodNumber;
|
|
61
|
+
longitude: z.ZodNumber;
|
|
62
|
+
}, z.core.$strip>>>;
|
|
63
|
+
neighborhood: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
64
|
+
district: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
|
+
isVerified: z.ZodDefault<z.ZodBoolean>;
|
|
66
|
+
verifiedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
67
|
+
primaryUserAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
68
|
+
}, z.core.$strip>;
|
|
69
|
+
/**
|
|
70
|
+
* Property features schema.
|
|
71
|
+
* Shared features across all property types.
|
|
72
|
+
*
|
|
73
|
+
* @typedef {Object} PropertyFeatures
|
|
74
|
+
* @property {number} [parkingSpaces] - Number of parking spaces
|
|
75
|
+
* @property {string[]} amenities - List of amenities
|
|
76
|
+
* @property {string[]} utilities - Available utilities
|
|
77
|
+
*/
|
|
78
|
+
export declare const PropertyFeaturesSchema: z.ZodObject<{
|
|
79
|
+
parkingSpaces: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
80
|
+
amenities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
81
|
+
utilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
82
|
+
}, z.core.$strip>;
|
|
83
|
+
/**
|
|
84
|
+
* Residential details schema.
|
|
85
|
+
* Details for houses, apartments, condos, townhouses, villas.
|
|
86
|
+
*
|
|
87
|
+
* @typedef {Object} ResidentialDetails
|
|
88
|
+
* @property {number} bedrooms - Number of bedrooms
|
|
89
|
+
* @property {number} bathrooms - Number of bathrooms
|
|
90
|
+
* @property {number} [halfBaths] - Number of half bathrooms
|
|
91
|
+
* @property {number} squareFootage - Total square footage
|
|
92
|
+
* @property {number} [lotSize] - Lot size
|
|
93
|
+
* @property {string} lotSizeUnit - Unit for lot size
|
|
94
|
+
* @property {number} [yearBuilt] - Year built
|
|
95
|
+
* @property {number} [floors] - Number of floors
|
|
96
|
+
* @property {string} [basementType] - Basement type
|
|
97
|
+
* @property {boolean} [atticFinished] - Whether attic is finished
|
|
98
|
+
* @property {string} [heatingType] - Heating system type
|
|
99
|
+
* @property {string} [coolingType] - Cooling system type
|
|
100
|
+
* @property {string} [roofType] - Roof material
|
|
101
|
+
* @property {string} [exteriorMaterial] - Exterior material
|
|
102
|
+
* @property {number} [garageSpaces] - Number of garage spaces
|
|
103
|
+
* @property {boolean} hasPool - Whether has pool
|
|
104
|
+
* @property {boolean} hasFireplace - Whether has fireplace
|
|
105
|
+
*/
|
|
106
|
+
export declare const ResidentialDetailsSchema: z.ZodObject<{
|
|
107
|
+
bedrooms: z.ZodNumber;
|
|
108
|
+
bathrooms: z.ZodNumber;
|
|
109
|
+
halfBaths: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
110
|
+
squareFootage: z.ZodNumber;
|
|
111
|
+
lotSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
112
|
+
lotSizeUnit: z.ZodDefault<z.ZodEnum<{
|
|
113
|
+
sqft: "sqft";
|
|
114
|
+
acres: "acres";
|
|
115
|
+
sqm: "sqm";
|
|
116
|
+
hectares: "hectares";
|
|
117
|
+
}>>;
|
|
118
|
+
yearBuilt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
119
|
+
floors: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
120
|
+
basementType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
121
|
+
none: "none";
|
|
122
|
+
partial: "partial";
|
|
123
|
+
unfinished: "unfinished";
|
|
124
|
+
finished: "finished";
|
|
125
|
+
}>>>;
|
|
126
|
+
atticFinished: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
127
|
+
heatingType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
128
|
+
coolingType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
129
|
+
roofType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
130
|
+
exteriorMaterial: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
131
|
+
garageSpaces: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
132
|
+
hasPool: z.ZodDefault<z.ZodBoolean>;
|
|
133
|
+
hasFireplace: z.ZodDefault<z.ZodBoolean>;
|
|
134
|
+
}, z.core.$strip>;
|
|
135
|
+
/**
|
|
136
|
+
* Commercial details schema.
|
|
137
|
+
* Details for office, retail, warehouse, industrial properties.
|
|
138
|
+
*
|
|
139
|
+
* @typedef {Object} CommercialDetails
|
|
140
|
+
* @property {number} squareFootage - Total square footage
|
|
141
|
+
* @property {number} [usableSquareFootage] - Usable square footage
|
|
142
|
+
* @property {number} [floors] - Number of floors
|
|
143
|
+
* @property {number} [ceilingHeight] - Ceiling height in feet
|
|
144
|
+
* @property {number} [loadingDocks] - Number of loading docks
|
|
145
|
+
* @property {number} [driveInDoors] - Number of drive-in doors
|
|
146
|
+
* @property {boolean} freightElevator - Has freight elevator
|
|
147
|
+
* @property {boolean} passengerElevator - Has passenger elevator
|
|
148
|
+
* @property {string} zoningType - Zoning classification
|
|
149
|
+
* @property {number} [yearBuilt] - Year built
|
|
150
|
+
* @property {string} [previousUse] - Previous use
|
|
151
|
+
* @property {string} [buildOutStatus] - Build-out status
|
|
152
|
+
* @property {string} [hvacType] - HVAC system type
|
|
153
|
+
* @property {string} [powerCapacity] - Electrical power capacity
|
|
154
|
+
* @property {boolean} sprinklerSystem - Has sprinkler system
|
|
155
|
+
*/
|
|
156
|
+
export declare const CommercialDetailsSchema: z.ZodObject<{
|
|
157
|
+
squareFootage: z.ZodNumber;
|
|
158
|
+
usableSquareFootage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
159
|
+
floors: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
160
|
+
ceilingHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
161
|
+
loadingDocks: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
162
|
+
driveInDoors: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
163
|
+
freightElevator: z.ZodDefault<z.ZodBoolean>;
|
|
164
|
+
passengerElevator: z.ZodDefault<z.ZodBoolean>;
|
|
165
|
+
zoningType: z.ZodString;
|
|
166
|
+
yearBuilt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
167
|
+
previousUse: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
168
|
+
buildOutStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
169
|
+
partial: "partial";
|
|
170
|
+
shell: "shell";
|
|
171
|
+
turnkey: "turnkey";
|
|
172
|
+
}>>>;
|
|
173
|
+
hvacType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
174
|
+
powerCapacity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
175
|
+
sprinklerSystem: z.ZodDefault<z.ZodBoolean>;
|
|
176
|
+
}, z.core.$strip>;
|
|
177
|
+
/**
|
|
178
|
+
* Land details schema.
|
|
179
|
+
* Details for lots, farms, and acreage properties.
|
|
180
|
+
*
|
|
181
|
+
* @typedef {Object} LandDetails
|
|
182
|
+
* @property {number} lotSize - Lot size
|
|
183
|
+
* @property {string} lotSizeUnit - Unit for lot size
|
|
184
|
+
* @property {string} zoning - Zoning classification
|
|
185
|
+
* @property {string} [topography] - Land topography
|
|
186
|
+
* @property {number} [roadFrontage] - Road frontage in feet
|
|
187
|
+
* @property {string} [roadAccess] - Road access type
|
|
188
|
+
* @property {string[]} utilitiesAvailable - Available utilities
|
|
189
|
+
* @property {string} [waterSource] - Water source
|
|
190
|
+
* @property {string} [sewerType] - Sewer type
|
|
191
|
+
* @property {string} [soilType] - Soil type
|
|
192
|
+
* @property {boolean} floodZone - Whether in flood zone
|
|
193
|
+
* @property {string} [floodZoneDesignation] - FEMA flood zone
|
|
194
|
+
* @property {string} [easements] - Easements description
|
|
195
|
+
* @property {boolean} surveyAvailable - Whether survey available
|
|
196
|
+
* @property {string} [mineralRights] - Mineral rights status
|
|
197
|
+
* @property {number} [timberValue] - Estimated timber value
|
|
198
|
+
*/
|
|
199
|
+
export declare const LandDetailsSchema: z.ZodObject<{
|
|
200
|
+
lotSize: z.ZodNumber;
|
|
201
|
+
lotSizeUnit: z.ZodDefault<z.ZodEnum<{
|
|
202
|
+
sqft: "sqft";
|
|
203
|
+
acres: "acres";
|
|
204
|
+
sqm: "sqm";
|
|
205
|
+
hectares: "hectares";
|
|
206
|
+
}>>;
|
|
207
|
+
zoning: z.ZodString;
|
|
208
|
+
topography: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
209
|
+
flat: "flat";
|
|
210
|
+
sloped: "sloped";
|
|
211
|
+
hilly: "hilly";
|
|
212
|
+
mixed: "mixed";
|
|
213
|
+
}>>>;
|
|
214
|
+
roadFrontage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
215
|
+
roadAccess: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
216
|
+
none: "none";
|
|
217
|
+
paved: "paved";
|
|
218
|
+
gravel: "gravel";
|
|
219
|
+
dirt: "dirt";
|
|
220
|
+
}>>>;
|
|
221
|
+
utilitiesAvailable: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
222
|
+
waterSource: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
223
|
+
none: "none";
|
|
224
|
+
unknown: "unknown";
|
|
225
|
+
municipal: "municipal";
|
|
226
|
+
well: "well";
|
|
227
|
+
}>>>;
|
|
228
|
+
sewerType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
229
|
+
none: "none";
|
|
230
|
+
unknown: "unknown";
|
|
231
|
+
municipal: "municipal";
|
|
232
|
+
septic: "septic";
|
|
233
|
+
}>>>;
|
|
234
|
+
soilType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
235
|
+
floodZone: z.ZodDefault<z.ZodBoolean>;
|
|
236
|
+
floodZoneDesignation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
237
|
+
easements: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
238
|
+
surveyAvailable: z.ZodDefault<z.ZodBoolean>;
|
|
239
|
+
mineralRights: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
240
|
+
partial: "partial";
|
|
241
|
+
unknown: "unknown";
|
|
242
|
+
included: "included";
|
|
243
|
+
excluded: "excluded";
|
|
244
|
+
}>>>;
|
|
245
|
+
timberValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
246
|
+
}, z.core.$strip>;
|
|
247
|
+
/**
|
|
248
|
+
* Property schema.
|
|
249
|
+
* Main property listing with pricing, details, and type-specific information.
|
|
250
|
+
*
|
|
251
|
+
* @typedef {Object} Property
|
|
252
|
+
* @property {string} categoryId - Category ID
|
|
253
|
+
* @property {PropertyCategory} [category] - Property category
|
|
254
|
+
* @property {string} title - Property listing title
|
|
255
|
+
* @property {string} [description] - Detailed description
|
|
256
|
+
* @property {PropertyType} propertyType - Type of property
|
|
257
|
+
* @property {PropertySubType} propertySubType - Subtype of property
|
|
258
|
+
* @property {string} addressId - Address ID
|
|
259
|
+
* @property {PropertyAddress} [address] - Property address
|
|
260
|
+
* @property {ListingType} listingType - Type of listing
|
|
261
|
+
* @property {ListingStatus} listingStatus - Current listing status
|
|
262
|
+
* @property {number} [salePrice] - Sale price
|
|
263
|
+
* @property {string} salePriceCurrency - Currency for sale price
|
|
264
|
+
* @property {number} [rentalPrice] - Rental price
|
|
265
|
+
* @property {RentalPeriod} [rentalPeriod] - Rental period
|
|
266
|
+
* @property {string} rentalPriceCurrency - Currency for rental price
|
|
267
|
+
* @property {boolean} priceNegotiable - Whether price is negotiable
|
|
268
|
+
* @property {PropertyFeatures} [features] - Property features
|
|
269
|
+
* @property {PropertyCondition} [condition] - Property condition
|
|
270
|
+
* @property {boolean} furnished - Whether furnished
|
|
271
|
+
* @property {string[]} images - Image URLs
|
|
272
|
+
* @property {string} [virtualTourUrl] - Virtual tour URL
|
|
273
|
+
* @property {string} [videoUrl] - Video tour URL
|
|
274
|
+
* @property {number} [availableFrom] - Available from timestamp
|
|
275
|
+
* @property {number} [availableTo] - Available until timestamp
|
|
276
|
+
* @property {boolean} isActive - Whether active
|
|
277
|
+
* @property {boolean} isFeatured - Whether featured
|
|
278
|
+
* @property {boolean} isVerified - Whether verified
|
|
279
|
+
* @property {string} [externalId] - External system ID
|
|
280
|
+
* @property {string} [mlsNumber] - MLS listing number
|
|
281
|
+
* @property {ResidentialDetails} [residentialDetails] - Residential details
|
|
282
|
+
* @property {CommercialDetails} [commercialDetails] - Commercial details
|
|
283
|
+
* @property {LandDetails} [landDetails] - Land details
|
|
284
|
+
*/
|
|
285
|
+
export declare const PropertySchema: z.ZodObject<{
|
|
286
|
+
id: z.ZodString;
|
|
287
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
288
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
289
|
+
categoryId: z.ZodString;
|
|
290
|
+
category: z.ZodOptional<z.ZodObject<{
|
|
291
|
+
id: z.ZodString;
|
|
292
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
293
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
294
|
+
name: z.ZodString;
|
|
295
|
+
description: z.ZodOptional<z.ZodString>;
|
|
296
|
+
propertyType: z.ZodEnum<typeof PropertyType>;
|
|
297
|
+
displayOrder: z.ZodOptional<z.ZodNumber>;
|
|
298
|
+
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
299
|
+
}, z.core.$strip>>;
|
|
300
|
+
title: z.ZodString;
|
|
301
|
+
description: z.ZodOptional<z.ZodString>;
|
|
302
|
+
propertyType: z.ZodEnum<typeof PropertyType>;
|
|
303
|
+
propertySubType: z.ZodEnum<typeof PropertySubType>;
|
|
304
|
+
addressId: z.ZodString;
|
|
305
|
+
address: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
306
|
+
id: z.ZodString;
|
|
307
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
308
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
309
|
+
street: z.ZodString;
|
|
310
|
+
unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
311
|
+
city: z.ZodString;
|
|
312
|
+
state: z.ZodString;
|
|
313
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
314
|
+
country: z.ZodString;
|
|
315
|
+
coordinates: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
316
|
+
latitude: z.ZodNumber;
|
|
317
|
+
longitude: z.ZodNumber;
|
|
318
|
+
}, z.core.$strip>>>;
|
|
319
|
+
neighborhood: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
320
|
+
district: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
321
|
+
isVerified: z.ZodDefault<z.ZodBoolean>;
|
|
322
|
+
verifiedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
323
|
+
primaryUserAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
324
|
+
}, z.core.$strip>>>;
|
|
325
|
+
listingType: z.ZodEnum<typeof ListingType>;
|
|
326
|
+
listingStatus: z.ZodDefault<z.ZodEnum<typeof ListingStatus>>;
|
|
327
|
+
salePrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
328
|
+
salePriceCurrency: z.ZodDefault<z.ZodString>;
|
|
329
|
+
rentalPrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
330
|
+
rentalPeriod: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof RentalPeriod>>>;
|
|
331
|
+
rentalPriceCurrency: z.ZodDefault<z.ZodString>;
|
|
332
|
+
priceNegotiable: z.ZodDefault<z.ZodBoolean>;
|
|
333
|
+
features: z.ZodOptional<z.ZodObject<{
|
|
334
|
+
parkingSpaces: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
335
|
+
amenities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
336
|
+
utilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
337
|
+
}, z.core.$strip>>;
|
|
338
|
+
condition: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof PropertyCondition>>>;
|
|
339
|
+
furnished: z.ZodDefault<z.ZodBoolean>;
|
|
340
|
+
images: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
341
|
+
virtualTourUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
342
|
+
videoUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
343
|
+
availableFrom: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
344
|
+
availableTo: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
345
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
346
|
+
isFeatured: z.ZodDefault<z.ZodBoolean>;
|
|
347
|
+
isVerified: z.ZodDefault<z.ZodBoolean>;
|
|
348
|
+
externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
349
|
+
mlsNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
350
|
+
residentialDetails: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
351
|
+
bedrooms: z.ZodNumber;
|
|
352
|
+
bathrooms: z.ZodNumber;
|
|
353
|
+
halfBaths: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
354
|
+
squareFootage: z.ZodNumber;
|
|
355
|
+
lotSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
356
|
+
lotSizeUnit: z.ZodDefault<z.ZodEnum<{
|
|
357
|
+
sqft: "sqft";
|
|
358
|
+
acres: "acres";
|
|
359
|
+
sqm: "sqm";
|
|
360
|
+
hectares: "hectares";
|
|
361
|
+
}>>;
|
|
362
|
+
yearBuilt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
363
|
+
floors: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
364
|
+
basementType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
365
|
+
none: "none";
|
|
366
|
+
partial: "partial";
|
|
367
|
+
unfinished: "unfinished";
|
|
368
|
+
finished: "finished";
|
|
369
|
+
}>>>;
|
|
370
|
+
atticFinished: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
371
|
+
heatingType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
372
|
+
coolingType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
373
|
+
roofType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
374
|
+
exteriorMaterial: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
375
|
+
garageSpaces: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
376
|
+
hasPool: z.ZodDefault<z.ZodBoolean>;
|
|
377
|
+
hasFireplace: z.ZodDefault<z.ZodBoolean>;
|
|
378
|
+
}, z.core.$strip>>>;
|
|
379
|
+
commercialDetails: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
380
|
+
squareFootage: z.ZodNumber;
|
|
381
|
+
usableSquareFootage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
382
|
+
floors: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
383
|
+
ceilingHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
384
|
+
loadingDocks: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
385
|
+
driveInDoors: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
386
|
+
freightElevator: z.ZodDefault<z.ZodBoolean>;
|
|
387
|
+
passengerElevator: z.ZodDefault<z.ZodBoolean>;
|
|
388
|
+
zoningType: z.ZodString;
|
|
389
|
+
yearBuilt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
390
|
+
previousUse: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
391
|
+
buildOutStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
392
|
+
partial: "partial";
|
|
393
|
+
shell: "shell";
|
|
394
|
+
turnkey: "turnkey";
|
|
395
|
+
}>>>;
|
|
396
|
+
hvacType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
397
|
+
powerCapacity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
398
|
+
sprinklerSystem: z.ZodDefault<z.ZodBoolean>;
|
|
399
|
+
}, z.core.$strip>>>;
|
|
400
|
+
landDetails: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
401
|
+
lotSize: z.ZodNumber;
|
|
402
|
+
lotSizeUnit: z.ZodDefault<z.ZodEnum<{
|
|
403
|
+
sqft: "sqft";
|
|
404
|
+
acres: "acres";
|
|
405
|
+
sqm: "sqm";
|
|
406
|
+
hectares: "hectares";
|
|
407
|
+
}>>;
|
|
408
|
+
zoning: z.ZodString;
|
|
409
|
+
topography: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
410
|
+
flat: "flat";
|
|
411
|
+
sloped: "sloped";
|
|
412
|
+
hilly: "hilly";
|
|
413
|
+
mixed: "mixed";
|
|
414
|
+
}>>>;
|
|
415
|
+
roadFrontage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
416
|
+
roadAccess: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
417
|
+
none: "none";
|
|
418
|
+
paved: "paved";
|
|
419
|
+
gravel: "gravel";
|
|
420
|
+
dirt: "dirt";
|
|
421
|
+
}>>>;
|
|
422
|
+
utilitiesAvailable: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
423
|
+
waterSource: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
424
|
+
none: "none";
|
|
425
|
+
unknown: "unknown";
|
|
426
|
+
municipal: "municipal";
|
|
427
|
+
well: "well";
|
|
428
|
+
}>>>;
|
|
429
|
+
sewerType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
430
|
+
none: "none";
|
|
431
|
+
unknown: "unknown";
|
|
432
|
+
municipal: "municipal";
|
|
433
|
+
septic: "septic";
|
|
434
|
+
}>>>;
|
|
435
|
+
soilType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
436
|
+
floodZone: z.ZodDefault<z.ZodBoolean>;
|
|
437
|
+
floodZoneDesignation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
438
|
+
easements: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
439
|
+
surveyAvailable: z.ZodDefault<z.ZodBoolean>;
|
|
440
|
+
mineralRights: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
441
|
+
partial: "partial";
|
|
442
|
+
unknown: "unknown";
|
|
443
|
+
included: "included";
|
|
444
|
+
excluded: "excluded";
|
|
445
|
+
}>>>;
|
|
446
|
+
timberValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
447
|
+
}, z.core.$strip>>>;
|
|
448
|
+
}, z.core.$strip>;
|
|
449
|
+
/**
|
|
450
|
+
* Schema for creating a new property category.
|
|
451
|
+
*/
|
|
452
|
+
export declare const CreatePropertyCategorySchema: z.ZodObject<{
|
|
453
|
+
displayOrder: z.ZodOptional<z.ZodNumber>;
|
|
454
|
+
name: z.ZodString;
|
|
455
|
+
description: z.ZodOptional<z.ZodString>;
|
|
456
|
+
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
457
|
+
propertyType: z.ZodEnum<typeof PropertyType>;
|
|
458
|
+
placement: z.ZodOptional<z.ZodObject<{
|
|
459
|
+
placementIntent: z.ZodObject<{
|
|
460
|
+
mode: z.ZodEnum<{
|
|
461
|
+
BEGINNING: "BEGINNING";
|
|
462
|
+
END: "END";
|
|
463
|
+
KEEP_CURRENT: "KEEP_CURRENT";
|
|
464
|
+
BEFORE_ITEM: "BEFORE_ITEM";
|
|
465
|
+
AFTER_ITEM: "AFTER_ITEM";
|
|
466
|
+
ABSOLUTE_INDEX: "ABSOLUTE_INDEX";
|
|
467
|
+
}>;
|
|
468
|
+
}, z.core.$strip>;
|
|
469
|
+
anchorItemId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
470
|
+
absoluteIndex: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
471
|
+
}, z.core.$strip>>;
|
|
472
|
+
}, z.core.$strip>;
|
|
473
|
+
/**
|
|
474
|
+
* Schema for updating an existing property category.
|
|
475
|
+
*/
|
|
476
|
+
export declare const UpdatePropertyCategorySchema: z.ZodObject<{
|
|
477
|
+
displayOrder: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
478
|
+
name: z.ZodOptional<z.ZodString>;
|
|
479
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
480
|
+
isDefault: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
481
|
+
propertyType: z.ZodOptional<z.ZodEnum<typeof PropertyType>>;
|
|
482
|
+
placement: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
483
|
+
placementIntent: z.ZodObject<{
|
|
484
|
+
mode: z.ZodEnum<{
|
|
485
|
+
BEGINNING: "BEGINNING";
|
|
486
|
+
END: "END";
|
|
487
|
+
KEEP_CURRENT: "KEEP_CURRENT";
|
|
488
|
+
BEFORE_ITEM: "BEFORE_ITEM";
|
|
489
|
+
AFTER_ITEM: "AFTER_ITEM";
|
|
490
|
+
ABSOLUTE_INDEX: "ABSOLUTE_INDEX";
|
|
491
|
+
}>;
|
|
492
|
+
}, z.core.$strip>;
|
|
493
|
+
anchorItemId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
494
|
+
absoluteIndex: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
495
|
+
}, z.core.$strip>>>;
|
|
496
|
+
id: z.ZodString;
|
|
497
|
+
}, z.core.$strip>;
|
|
498
|
+
/**
|
|
499
|
+
* Schema for creating a new property address.
|
|
500
|
+
*/
|
|
501
|
+
export declare const CreatePropertyAddressSchema: z.ZodObject<{
|
|
502
|
+
street: z.ZodString;
|
|
503
|
+
city: z.ZodString;
|
|
504
|
+
state: z.ZodString;
|
|
505
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
506
|
+
country: z.ZodString;
|
|
507
|
+
coordinates: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
508
|
+
latitude: z.ZodNumber;
|
|
509
|
+
longitude: z.ZodNumber;
|
|
510
|
+
}, z.core.$strip>>>;
|
|
511
|
+
unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
512
|
+
neighborhood: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
513
|
+
district: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
514
|
+
isVerified: z.ZodDefault<z.ZodBoolean>;
|
|
515
|
+
primaryUserAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
516
|
+
}, z.core.$strip>;
|
|
517
|
+
/**
|
|
518
|
+
* Schema for updating an existing property address.
|
|
519
|
+
*/
|
|
520
|
+
export declare const UpdatePropertyAddressSchema: z.ZodObject<{
|
|
521
|
+
street: z.ZodOptional<z.ZodString>;
|
|
522
|
+
city: z.ZodOptional<z.ZodString>;
|
|
523
|
+
state: z.ZodOptional<z.ZodString>;
|
|
524
|
+
postalCode: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
525
|
+
country: z.ZodOptional<z.ZodString>;
|
|
526
|
+
coordinates: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
527
|
+
latitude: z.ZodNumber;
|
|
528
|
+
longitude: z.ZodNumber;
|
|
529
|
+
}, z.core.$strip>>>>;
|
|
530
|
+
unit: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
531
|
+
neighborhood: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
532
|
+
district: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
533
|
+
isVerified: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
534
|
+
primaryUserAccountId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
535
|
+
id: z.ZodString;
|
|
536
|
+
}, z.core.$strip>;
|
|
537
|
+
/**
|
|
538
|
+
* Schema for creating a new property.
|
|
539
|
+
*/
|
|
540
|
+
export declare const CreatePropertySchema: z.ZodObject<{
|
|
541
|
+
externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
542
|
+
categoryId: z.ZodString;
|
|
543
|
+
description: z.ZodOptional<z.ZodString>;
|
|
544
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
545
|
+
title: z.ZodString;
|
|
546
|
+
condition: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof PropertyCondition>>>;
|
|
547
|
+
propertyType: z.ZodEnum<typeof PropertyType>;
|
|
548
|
+
isVerified: z.ZodDefault<z.ZodBoolean>;
|
|
549
|
+
propertySubType: z.ZodEnum<typeof PropertySubType>;
|
|
550
|
+
addressId: z.ZodString;
|
|
551
|
+
listingType: z.ZodEnum<typeof ListingType>;
|
|
552
|
+
listingStatus: z.ZodDefault<z.ZodEnum<typeof ListingStatus>>;
|
|
553
|
+
salePrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
554
|
+
salePriceCurrency: z.ZodDefault<z.ZodString>;
|
|
555
|
+
rentalPrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
556
|
+
rentalPeriod: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof RentalPeriod>>>;
|
|
557
|
+
rentalPriceCurrency: z.ZodDefault<z.ZodString>;
|
|
558
|
+
priceNegotiable: z.ZodDefault<z.ZodBoolean>;
|
|
559
|
+
features: z.ZodOptional<z.ZodObject<{
|
|
560
|
+
parkingSpaces: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
561
|
+
amenities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
562
|
+
utilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
563
|
+
}, z.core.$strip>>;
|
|
564
|
+
furnished: z.ZodDefault<z.ZodBoolean>;
|
|
565
|
+
images: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
566
|
+
virtualTourUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
567
|
+
videoUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
568
|
+
availableFrom: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
569
|
+
availableTo: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
570
|
+
isFeatured: z.ZodDefault<z.ZodBoolean>;
|
|
571
|
+
mlsNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
572
|
+
residentialDetails: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
573
|
+
bedrooms: z.ZodNumber;
|
|
574
|
+
bathrooms: z.ZodNumber;
|
|
575
|
+
halfBaths: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
576
|
+
squareFootage: z.ZodNumber;
|
|
577
|
+
lotSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
578
|
+
lotSizeUnit: z.ZodDefault<z.ZodEnum<{
|
|
579
|
+
sqft: "sqft";
|
|
580
|
+
acres: "acres";
|
|
581
|
+
sqm: "sqm";
|
|
582
|
+
hectares: "hectares";
|
|
583
|
+
}>>;
|
|
584
|
+
yearBuilt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
585
|
+
floors: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
586
|
+
basementType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
587
|
+
none: "none";
|
|
588
|
+
partial: "partial";
|
|
589
|
+
unfinished: "unfinished";
|
|
590
|
+
finished: "finished";
|
|
591
|
+
}>>>;
|
|
592
|
+
atticFinished: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
593
|
+
heatingType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
594
|
+
coolingType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
595
|
+
roofType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
596
|
+
exteriorMaterial: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
597
|
+
garageSpaces: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
598
|
+
hasPool: z.ZodDefault<z.ZodBoolean>;
|
|
599
|
+
hasFireplace: z.ZodDefault<z.ZodBoolean>;
|
|
600
|
+
}, z.core.$strip>>>;
|
|
601
|
+
commercialDetails: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
602
|
+
squareFootage: z.ZodNumber;
|
|
603
|
+
usableSquareFootage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
604
|
+
floors: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
605
|
+
ceilingHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
606
|
+
loadingDocks: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
607
|
+
driveInDoors: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
608
|
+
freightElevator: z.ZodDefault<z.ZodBoolean>;
|
|
609
|
+
passengerElevator: z.ZodDefault<z.ZodBoolean>;
|
|
610
|
+
zoningType: z.ZodString;
|
|
611
|
+
yearBuilt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
612
|
+
previousUse: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
613
|
+
buildOutStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
614
|
+
partial: "partial";
|
|
615
|
+
shell: "shell";
|
|
616
|
+
turnkey: "turnkey";
|
|
617
|
+
}>>>;
|
|
618
|
+
hvacType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
619
|
+
powerCapacity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
620
|
+
sprinklerSystem: z.ZodDefault<z.ZodBoolean>;
|
|
621
|
+
}, z.core.$strip>>>;
|
|
622
|
+
landDetails: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
623
|
+
lotSize: z.ZodNumber;
|
|
624
|
+
lotSizeUnit: z.ZodDefault<z.ZodEnum<{
|
|
625
|
+
sqft: "sqft";
|
|
626
|
+
acres: "acres";
|
|
627
|
+
sqm: "sqm";
|
|
628
|
+
hectares: "hectares";
|
|
629
|
+
}>>;
|
|
630
|
+
zoning: z.ZodString;
|
|
631
|
+
topography: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
632
|
+
flat: "flat";
|
|
633
|
+
sloped: "sloped";
|
|
634
|
+
hilly: "hilly";
|
|
635
|
+
mixed: "mixed";
|
|
636
|
+
}>>>;
|
|
637
|
+
roadFrontage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
638
|
+
roadAccess: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
639
|
+
none: "none";
|
|
640
|
+
paved: "paved";
|
|
641
|
+
gravel: "gravel";
|
|
642
|
+
dirt: "dirt";
|
|
643
|
+
}>>>;
|
|
644
|
+
utilitiesAvailable: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
645
|
+
waterSource: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
646
|
+
none: "none";
|
|
647
|
+
unknown: "unknown";
|
|
648
|
+
municipal: "municipal";
|
|
649
|
+
well: "well";
|
|
650
|
+
}>>>;
|
|
651
|
+
sewerType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
652
|
+
none: "none";
|
|
653
|
+
unknown: "unknown";
|
|
654
|
+
municipal: "municipal";
|
|
655
|
+
septic: "septic";
|
|
656
|
+
}>>>;
|
|
657
|
+
soilType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
658
|
+
floodZone: z.ZodDefault<z.ZodBoolean>;
|
|
659
|
+
floodZoneDesignation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
660
|
+
easements: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
661
|
+
surveyAvailable: z.ZodDefault<z.ZodBoolean>;
|
|
662
|
+
mineralRights: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
663
|
+
partial: "partial";
|
|
664
|
+
unknown: "unknown";
|
|
665
|
+
included: "included";
|
|
666
|
+
excluded: "excluded";
|
|
667
|
+
}>>>;
|
|
668
|
+
timberValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
669
|
+
}, z.core.$strip>>>;
|
|
670
|
+
}, z.core.$strip>;
|
|
671
|
+
/**
|
|
672
|
+
* Schema for updating an existing property.
|
|
673
|
+
*/
|
|
674
|
+
export declare const UpdatePropertySchema: z.ZodObject<{
|
|
675
|
+
externalId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
676
|
+
categoryId: z.ZodOptional<z.ZodString>;
|
|
677
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
678
|
+
isActive: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
679
|
+
title: z.ZodOptional<z.ZodString>;
|
|
680
|
+
condition: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof PropertyCondition>>>>;
|
|
681
|
+
propertyType: z.ZodOptional<z.ZodEnum<typeof PropertyType>>;
|
|
682
|
+
isVerified: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
683
|
+
propertySubType: z.ZodOptional<z.ZodEnum<typeof PropertySubType>>;
|
|
684
|
+
addressId: z.ZodOptional<z.ZodString>;
|
|
685
|
+
listingType: z.ZodOptional<z.ZodEnum<typeof ListingType>>;
|
|
686
|
+
listingStatus: z.ZodOptional<z.ZodDefault<z.ZodEnum<typeof ListingStatus>>>;
|
|
687
|
+
salePrice: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
688
|
+
salePriceCurrency: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
689
|
+
rentalPrice: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
690
|
+
rentalPeriod: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof RentalPeriod>>>>;
|
|
691
|
+
rentalPriceCurrency: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
692
|
+
priceNegotiable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
693
|
+
features: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
694
|
+
parkingSpaces: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
695
|
+
amenities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
696
|
+
utilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
697
|
+
}, z.core.$strip>>>;
|
|
698
|
+
furnished: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
699
|
+
images: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
700
|
+
virtualTourUrl: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodURL>>>;
|
|
701
|
+
videoUrl: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodURL>>>;
|
|
702
|
+
availableFrom: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
703
|
+
availableTo: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
704
|
+
isFeatured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
705
|
+
mlsNumber: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
706
|
+
residentialDetails: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
707
|
+
bedrooms: z.ZodNumber;
|
|
708
|
+
bathrooms: z.ZodNumber;
|
|
709
|
+
halfBaths: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
710
|
+
squareFootage: z.ZodNumber;
|
|
711
|
+
lotSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
712
|
+
lotSizeUnit: z.ZodDefault<z.ZodEnum<{
|
|
713
|
+
sqft: "sqft";
|
|
714
|
+
acres: "acres";
|
|
715
|
+
sqm: "sqm";
|
|
716
|
+
hectares: "hectares";
|
|
717
|
+
}>>;
|
|
718
|
+
yearBuilt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
719
|
+
floors: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
720
|
+
basementType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
721
|
+
none: "none";
|
|
722
|
+
partial: "partial";
|
|
723
|
+
unfinished: "unfinished";
|
|
724
|
+
finished: "finished";
|
|
725
|
+
}>>>;
|
|
726
|
+
atticFinished: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
727
|
+
heatingType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
728
|
+
coolingType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
729
|
+
roofType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
730
|
+
exteriorMaterial: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
731
|
+
garageSpaces: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
732
|
+
hasPool: z.ZodDefault<z.ZodBoolean>;
|
|
733
|
+
hasFireplace: z.ZodDefault<z.ZodBoolean>;
|
|
734
|
+
}, z.core.$strip>>>>;
|
|
735
|
+
commercialDetails: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
736
|
+
squareFootage: z.ZodNumber;
|
|
737
|
+
usableSquareFootage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
738
|
+
floors: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
739
|
+
ceilingHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
740
|
+
loadingDocks: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
741
|
+
driveInDoors: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
742
|
+
freightElevator: z.ZodDefault<z.ZodBoolean>;
|
|
743
|
+
passengerElevator: z.ZodDefault<z.ZodBoolean>;
|
|
744
|
+
zoningType: z.ZodString;
|
|
745
|
+
yearBuilt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
746
|
+
previousUse: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
747
|
+
buildOutStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
748
|
+
partial: "partial";
|
|
749
|
+
shell: "shell";
|
|
750
|
+
turnkey: "turnkey";
|
|
751
|
+
}>>>;
|
|
752
|
+
hvacType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
753
|
+
powerCapacity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
754
|
+
sprinklerSystem: z.ZodDefault<z.ZodBoolean>;
|
|
755
|
+
}, z.core.$strip>>>>;
|
|
756
|
+
landDetails: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
757
|
+
lotSize: z.ZodNumber;
|
|
758
|
+
lotSizeUnit: z.ZodDefault<z.ZodEnum<{
|
|
759
|
+
sqft: "sqft";
|
|
760
|
+
acres: "acres";
|
|
761
|
+
sqm: "sqm";
|
|
762
|
+
hectares: "hectares";
|
|
763
|
+
}>>;
|
|
764
|
+
zoning: z.ZodString;
|
|
765
|
+
topography: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
766
|
+
flat: "flat";
|
|
767
|
+
sloped: "sloped";
|
|
768
|
+
hilly: "hilly";
|
|
769
|
+
mixed: "mixed";
|
|
770
|
+
}>>>;
|
|
771
|
+
roadFrontage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
772
|
+
roadAccess: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
773
|
+
none: "none";
|
|
774
|
+
paved: "paved";
|
|
775
|
+
gravel: "gravel";
|
|
776
|
+
dirt: "dirt";
|
|
777
|
+
}>>>;
|
|
778
|
+
utilitiesAvailable: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
779
|
+
waterSource: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
780
|
+
none: "none";
|
|
781
|
+
unknown: "unknown";
|
|
782
|
+
municipal: "municipal";
|
|
783
|
+
well: "well";
|
|
784
|
+
}>>>;
|
|
785
|
+
sewerType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
786
|
+
none: "none";
|
|
787
|
+
unknown: "unknown";
|
|
788
|
+
municipal: "municipal";
|
|
789
|
+
septic: "septic";
|
|
790
|
+
}>>>;
|
|
791
|
+
soilType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
792
|
+
floodZone: z.ZodDefault<z.ZodBoolean>;
|
|
793
|
+
floodZoneDesignation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
794
|
+
easements: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
795
|
+
surveyAvailable: z.ZodDefault<z.ZodBoolean>;
|
|
796
|
+
mineralRights: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
797
|
+
partial: "partial";
|
|
798
|
+
unknown: "unknown";
|
|
799
|
+
included: "included";
|
|
800
|
+
excluded: "excluded";
|
|
801
|
+
}>>>;
|
|
802
|
+
timberValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
803
|
+
}, z.core.$strip>>>>;
|
|
804
|
+
id: z.ZodString;
|
|
805
|
+
}, z.core.$strip>;
|
|
806
|
+
export type PropertyCategory = z.infer<typeof PropertyCategorySchema>;
|
|
807
|
+
export type CreatePropertyCategory = z.infer<typeof CreatePropertyCategorySchema>;
|
|
808
|
+
export type UpdatePropertyCategory = z.infer<typeof UpdatePropertyCategorySchema>;
|
|
809
|
+
export type PropertyAddress = z.infer<typeof PropertyAddressSchema>;
|
|
810
|
+
export type CreatePropertyAddress = z.infer<typeof CreatePropertyAddressSchema>;
|
|
811
|
+
export type UpdatePropertyAddress = z.infer<typeof UpdatePropertyAddressSchema>;
|
|
812
|
+
export type PropertyFeatures = z.infer<typeof PropertyFeaturesSchema>;
|
|
813
|
+
export type ResidentialDetails = z.infer<typeof ResidentialDetailsSchema>;
|
|
814
|
+
export type CommercialDetails = z.infer<typeof CommercialDetailsSchema>;
|
|
815
|
+
export type LandDetails = z.infer<typeof LandDetailsSchema>;
|
|
816
|
+
export type Property = z.infer<typeof PropertySchema>;
|
|
817
|
+
export type CreateProperty = z.infer<typeof CreatePropertySchema>;
|
|
818
|
+
export type UpdateProperty = z.infer<typeof UpdatePropertySchema>;
|
|
819
|
+
/**
|
|
820
|
+
* Property Catalog schema.
|
|
821
|
+
* Category with its property listings.
|
|
822
|
+
*/
|
|
823
|
+
export declare const PropertyCatalogSchema: z.ZodObject<{
|
|
824
|
+
propertyCategory: z.ZodObject<{
|
|
825
|
+
id: z.ZodString;
|
|
826
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
827
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
828
|
+
name: z.ZodString;
|
|
829
|
+
description: z.ZodOptional<z.ZodString>;
|
|
830
|
+
propertyType: z.ZodEnum<typeof PropertyType>;
|
|
831
|
+
displayOrder: z.ZodOptional<z.ZodNumber>;
|
|
832
|
+
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
833
|
+
}, z.core.$strip>;
|
|
834
|
+
items: z.ZodArray<z.ZodObject<{
|
|
835
|
+
id: z.ZodString;
|
|
836
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
837
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
838
|
+
categoryId: z.ZodString;
|
|
839
|
+
category: z.ZodOptional<z.ZodObject<{
|
|
840
|
+
id: z.ZodString;
|
|
841
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
842
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
843
|
+
name: z.ZodString;
|
|
844
|
+
description: z.ZodOptional<z.ZodString>;
|
|
845
|
+
propertyType: z.ZodEnum<typeof PropertyType>;
|
|
846
|
+
displayOrder: z.ZodOptional<z.ZodNumber>;
|
|
847
|
+
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
848
|
+
}, z.core.$strip>>;
|
|
849
|
+
title: z.ZodString;
|
|
850
|
+
description: z.ZodOptional<z.ZodString>;
|
|
851
|
+
propertyType: z.ZodEnum<typeof PropertyType>;
|
|
852
|
+
propertySubType: z.ZodEnum<typeof PropertySubType>;
|
|
853
|
+
addressId: z.ZodString;
|
|
854
|
+
address: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
855
|
+
id: z.ZodString;
|
|
856
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
857
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
858
|
+
street: z.ZodString;
|
|
859
|
+
unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
860
|
+
city: z.ZodString;
|
|
861
|
+
state: z.ZodString;
|
|
862
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
863
|
+
country: z.ZodString;
|
|
864
|
+
coordinates: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
865
|
+
latitude: z.ZodNumber;
|
|
866
|
+
longitude: z.ZodNumber;
|
|
867
|
+
}, z.core.$strip>>>;
|
|
868
|
+
neighborhood: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
869
|
+
district: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
870
|
+
isVerified: z.ZodDefault<z.ZodBoolean>;
|
|
871
|
+
verifiedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
872
|
+
primaryUserAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
873
|
+
}, z.core.$strip>>>;
|
|
874
|
+
listingType: z.ZodEnum<typeof ListingType>;
|
|
875
|
+
listingStatus: z.ZodDefault<z.ZodEnum<typeof ListingStatus>>;
|
|
876
|
+
salePrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
877
|
+
salePriceCurrency: z.ZodDefault<z.ZodString>;
|
|
878
|
+
rentalPrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
879
|
+
rentalPeriod: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof RentalPeriod>>>;
|
|
880
|
+
rentalPriceCurrency: z.ZodDefault<z.ZodString>;
|
|
881
|
+
priceNegotiable: z.ZodDefault<z.ZodBoolean>;
|
|
882
|
+
features: z.ZodOptional<z.ZodObject<{
|
|
883
|
+
parkingSpaces: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
884
|
+
amenities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
885
|
+
utilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
886
|
+
}, z.core.$strip>>;
|
|
887
|
+
condition: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof PropertyCondition>>>;
|
|
888
|
+
furnished: z.ZodDefault<z.ZodBoolean>;
|
|
889
|
+
images: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
890
|
+
virtualTourUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
891
|
+
videoUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
892
|
+
availableFrom: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
893
|
+
availableTo: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
894
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
895
|
+
isFeatured: z.ZodDefault<z.ZodBoolean>;
|
|
896
|
+
isVerified: z.ZodDefault<z.ZodBoolean>;
|
|
897
|
+
externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
898
|
+
mlsNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
899
|
+
residentialDetails: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
900
|
+
bedrooms: z.ZodNumber;
|
|
901
|
+
bathrooms: z.ZodNumber;
|
|
902
|
+
halfBaths: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
903
|
+
squareFootage: z.ZodNumber;
|
|
904
|
+
lotSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
905
|
+
lotSizeUnit: z.ZodDefault<z.ZodEnum<{
|
|
906
|
+
sqft: "sqft";
|
|
907
|
+
acres: "acres";
|
|
908
|
+
sqm: "sqm";
|
|
909
|
+
hectares: "hectares";
|
|
910
|
+
}>>;
|
|
911
|
+
yearBuilt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
912
|
+
floors: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
913
|
+
basementType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
914
|
+
none: "none";
|
|
915
|
+
partial: "partial";
|
|
916
|
+
unfinished: "unfinished";
|
|
917
|
+
finished: "finished";
|
|
918
|
+
}>>>;
|
|
919
|
+
atticFinished: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
920
|
+
heatingType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
921
|
+
coolingType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
922
|
+
roofType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
923
|
+
exteriorMaterial: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
924
|
+
garageSpaces: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
925
|
+
hasPool: z.ZodDefault<z.ZodBoolean>;
|
|
926
|
+
hasFireplace: z.ZodDefault<z.ZodBoolean>;
|
|
927
|
+
}, z.core.$strip>>>;
|
|
928
|
+
commercialDetails: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
929
|
+
squareFootage: z.ZodNumber;
|
|
930
|
+
usableSquareFootage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
931
|
+
floors: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
932
|
+
ceilingHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
933
|
+
loadingDocks: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
934
|
+
driveInDoors: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
935
|
+
freightElevator: z.ZodDefault<z.ZodBoolean>;
|
|
936
|
+
passengerElevator: z.ZodDefault<z.ZodBoolean>;
|
|
937
|
+
zoningType: z.ZodString;
|
|
938
|
+
yearBuilt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
939
|
+
previousUse: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
940
|
+
buildOutStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
941
|
+
partial: "partial";
|
|
942
|
+
shell: "shell";
|
|
943
|
+
turnkey: "turnkey";
|
|
944
|
+
}>>>;
|
|
945
|
+
hvacType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
946
|
+
powerCapacity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
947
|
+
sprinklerSystem: z.ZodDefault<z.ZodBoolean>;
|
|
948
|
+
}, z.core.$strip>>>;
|
|
949
|
+
landDetails: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
950
|
+
lotSize: z.ZodNumber;
|
|
951
|
+
lotSizeUnit: z.ZodDefault<z.ZodEnum<{
|
|
952
|
+
sqft: "sqft";
|
|
953
|
+
acres: "acres";
|
|
954
|
+
sqm: "sqm";
|
|
955
|
+
hectares: "hectares";
|
|
956
|
+
}>>;
|
|
957
|
+
zoning: z.ZodString;
|
|
958
|
+
topography: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
959
|
+
flat: "flat";
|
|
960
|
+
sloped: "sloped";
|
|
961
|
+
hilly: "hilly";
|
|
962
|
+
mixed: "mixed";
|
|
963
|
+
}>>>;
|
|
964
|
+
roadFrontage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
965
|
+
roadAccess: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
966
|
+
none: "none";
|
|
967
|
+
paved: "paved";
|
|
968
|
+
gravel: "gravel";
|
|
969
|
+
dirt: "dirt";
|
|
970
|
+
}>>>;
|
|
971
|
+
utilitiesAvailable: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
972
|
+
waterSource: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
973
|
+
none: "none";
|
|
974
|
+
unknown: "unknown";
|
|
975
|
+
municipal: "municipal";
|
|
976
|
+
well: "well";
|
|
977
|
+
}>>>;
|
|
978
|
+
sewerType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
979
|
+
none: "none";
|
|
980
|
+
unknown: "unknown";
|
|
981
|
+
municipal: "municipal";
|
|
982
|
+
septic: "septic";
|
|
983
|
+
}>>>;
|
|
984
|
+
soilType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
985
|
+
floodZone: z.ZodDefault<z.ZodBoolean>;
|
|
986
|
+
floodZoneDesignation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
987
|
+
easements: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
988
|
+
surveyAvailable: z.ZodDefault<z.ZodBoolean>;
|
|
989
|
+
mineralRights: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
990
|
+
partial: "partial";
|
|
991
|
+
unknown: "unknown";
|
|
992
|
+
included: "included";
|
|
993
|
+
excluded: "excluded";
|
|
994
|
+
}>>>;
|
|
995
|
+
timberValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
996
|
+
}, z.core.$strip>>>;
|
|
997
|
+
}, z.core.$strip>>;
|
|
998
|
+
}, z.core.$strip>;
|
|
999
|
+
/**
|
|
1000
|
+
* Business Property Catalog schema.
|
|
1001
|
+
* Full property catalog array.
|
|
1002
|
+
*/
|
|
1003
|
+
export declare const BusinessPropertyCatalogSchema: z.ZodArray<z.ZodObject<{
|
|
1004
|
+
propertyCategory: z.ZodObject<{
|
|
1005
|
+
id: z.ZodString;
|
|
1006
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
1007
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
1008
|
+
name: z.ZodString;
|
|
1009
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1010
|
+
propertyType: z.ZodEnum<typeof PropertyType>;
|
|
1011
|
+
displayOrder: z.ZodOptional<z.ZodNumber>;
|
|
1012
|
+
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
1013
|
+
}, z.core.$strip>;
|
|
1014
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1015
|
+
id: z.ZodString;
|
|
1016
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
1017
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
1018
|
+
categoryId: z.ZodString;
|
|
1019
|
+
category: z.ZodOptional<z.ZodObject<{
|
|
1020
|
+
id: z.ZodString;
|
|
1021
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
1022
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
1023
|
+
name: z.ZodString;
|
|
1024
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1025
|
+
propertyType: z.ZodEnum<typeof PropertyType>;
|
|
1026
|
+
displayOrder: z.ZodOptional<z.ZodNumber>;
|
|
1027
|
+
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
1028
|
+
}, z.core.$strip>>;
|
|
1029
|
+
title: z.ZodString;
|
|
1030
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1031
|
+
propertyType: z.ZodEnum<typeof PropertyType>;
|
|
1032
|
+
propertySubType: z.ZodEnum<typeof PropertySubType>;
|
|
1033
|
+
addressId: z.ZodString;
|
|
1034
|
+
address: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1035
|
+
id: z.ZodString;
|
|
1036
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
1037
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
1038
|
+
street: z.ZodString;
|
|
1039
|
+
unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1040
|
+
city: z.ZodString;
|
|
1041
|
+
state: z.ZodString;
|
|
1042
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1043
|
+
country: z.ZodString;
|
|
1044
|
+
coordinates: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1045
|
+
latitude: z.ZodNumber;
|
|
1046
|
+
longitude: z.ZodNumber;
|
|
1047
|
+
}, z.core.$strip>>>;
|
|
1048
|
+
neighborhood: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1049
|
+
district: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1050
|
+
isVerified: z.ZodDefault<z.ZodBoolean>;
|
|
1051
|
+
verifiedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1052
|
+
primaryUserAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1053
|
+
}, z.core.$strip>>>;
|
|
1054
|
+
listingType: z.ZodEnum<typeof ListingType>;
|
|
1055
|
+
listingStatus: z.ZodDefault<z.ZodEnum<typeof ListingStatus>>;
|
|
1056
|
+
salePrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1057
|
+
salePriceCurrency: z.ZodDefault<z.ZodString>;
|
|
1058
|
+
rentalPrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1059
|
+
rentalPeriod: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof RentalPeriod>>>;
|
|
1060
|
+
rentalPriceCurrency: z.ZodDefault<z.ZodString>;
|
|
1061
|
+
priceNegotiable: z.ZodDefault<z.ZodBoolean>;
|
|
1062
|
+
features: z.ZodOptional<z.ZodObject<{
|
|
1063
|
+
parkingSpaces: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1064
|
+
amenities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1065
|
+
utilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1066
|
+
}, z.core.$strip>>;
|
|
1067
|
+
condition: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof PropertyCondition>>>;
|
|
1068
|
+
furnished: z.ZodDefault<z.ZodBoolean>;
|
|
1069
|
+
images: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1070
|
+
virtualTourUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
1071
|
+
videoUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
1072
|
+
availableFrom: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1073
|
+
availableTo: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1074
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
1075
|
+
isFeatured: z.ZodDefault<z.ZodBoolean>;
|
|
1076
|
+
isVerified: z.ZodDefault<z.ZodBoolean>;
|
|
1077
|
+
externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1078
|
+
mlsNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1079
|
+
residentialDetails: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1080
|
+
bedrooms: z.ZodNumber;
|
|
1081
|
+
bathrooms: z.ZodNumber;
|
|
1082
|
+
halfBaths: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1083
|
+
squareFootage: z.ZodNumber;
|
|
1084
|
+
lotSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1085
|
+
lotSizeUnit: z.ZodDefault<z.ZodEnum<{
|
|
1086
|
+
sqft: "sqft";
|
|
1087
|
+
acres: "acres";
|
|
1088
|
+
sqm: "sqm";
|
|
1089
|
+
hectares: "hectares";
|
|
1090
|
+
}>>;
|
|
1091
|
+
yearBuilt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1092
|
+
floors: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1093
|
+
basementType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1094
|
+
none: "none";
|
|
1095
|
+
partial: "partial";
|
|
1096
|
+
unfinished: "unfinished";
|
|
1097
|
+
finished: "finished";
|
|
1098
|
+
}>>>;
|
|
1099
|
+
atticFinished: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1100
|
+
heatingType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1101
|
+
coolingType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1102
|
+
roofType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1103
|
+
exteriorMaterial: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1104
|
+
garageSpaces: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1105
|
+
hasPool: z.ZodDefault<z.ZodBoolean>;
|
|
1106
|
+
hasFireplace: z.ZodDefault<z.ZodBoolean>;
|
|
1107
|
+
}, z.core.$strip>>>;
|
|
1108
|
+
commercialDetails: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1109
|
+
squareFootage: z.ZodNumber;
|
|
1110
|
+
usableSquareFootage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1111
|
+
floors: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1112
|
+
ceilingHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1113
|
+
loadingDocks: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1114
|
+
driveInDoors: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1115
|
+
freightElevator: z.ZodDefault<z.ZodBoolean>;
|
|
1116
|
+
passengerElevator: z.ZodDefault<z.ZodBoolean>;
|
|
1117
|
+
zoningType: z.ZodString;
|
|
1118
|
+
yearBuilt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1119
|
+
previousUse: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1120
|
+
buildOutStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1121
|
+
partial: "partial";
|
|
1122
|
+
shell: "shell";
|
|
1123
|
+
turnkey: "turnkey";
|
|
1124
|
+
}>>>;
|
|
1125
|
+
hvacType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1126
|
+
powerCapacity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1127
|
+
sprinklerSystem: z.ZodDefault<z.ZodBoolean>;
|
|
1128
|
+
}, z.core.$strip>>>;
|
|
1129
|
+
landDetails: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1130
|
+
lotSize: z.ZodNumber;
|
|
1131
|
+
lotSizeUnit: z.ZodDefault<z.ZodEnum<{
|
|
1132
|
+
sqft: "sqft";
|
|
1133
|
+
acres: "acres";
|
|
1134
|
+
sqm: "sqm";
|
|
1135
|
+
hectares: "hectares";
|
|
1136
|
+
}>>;
|
|
1137
|
+
zoning: z.ZodString;
|
|
1138
|
+
topography: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1139
|
+
flat: "flat";
|
|
1140
|
+
sloped: "sloped";
|
|
1141
|
+
hilly: "hilly";
|
|
1142
|
+
mixed: "mixed";
|
|
1143
|
+
}>>>;
|
|
1144
|
+
roadFrontage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1145
|
+
roadAccess: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1146
|
+
none: "none";
|
|
1147
|
+
paved: "paved";
|
|
1148
|
+
gravel: "gravel";
|
|
1149
|
+
dirt: "dirt";
|
|
1150
|
+
}>>>;
|
|
1151
|
+
utilitiesAvailable: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1152
|
+
waterSource: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1153
|
+
none: "none";
|
|
1154
|
+
unknown: "unknown";
|
|
1155
|
+
municipal: "municipal";
|
|
1156
|
+
well: "well";
|
|
1157
|
+
}>>>;
|
|
1158
|
+
sewerType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1159
|
+
none: "none";
|
|
1160
|
+
unknown: "unknown";
|
|
1161
|
+
municipal: "municipal";
|
|
1162
|
+
septic: "septic";
|
|
1163
|
+
}>>>;
|
|
1164
|
+
soilType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1165
|
+
floodZone: z.ZodDefault<z.ZodBoolean>;
|
|
1166
|
+
floodZoneDesignation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1167
|
+
easements: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1168
|
+
surveyAvailable: z.ZodDefault<z.ZodBoolean>;
|
|
1169
|
+
mineralRights: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1170
|
+
partial: "partial";
|
|
1171
|
+
unknown: "unknown";
|
|
1172
|
+
included: "included";
|
|
1173
|
+
excluded: "excluded";
|
|
1174
|
+
}>>>;
|
|
1175
|
+
timberValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1176
|
+
}, z.core.$strip>>>;
|
|
1177
|
+
}, z.core.$strip>>;
|
|
1178
|
+
}, z.core.$strip>>;
|
|
1179
|
+
export type PropertyCatalog = z.infer<typeof PropertyCatalogSchema>;
|
|
1180
|
+
export type BusinessPropertyCatalog = z.infer<typeof BusinessPropertyCatalogSchema>;
|
|
1181
|
+
/**
|
|
1182
|
+
* Property filter options.
|
|
1183
|
+
* @interface PropertyFilters
|
|
1184
|
+
*/
|
|
1185
|
+
export interface PropertyFilters {
|
|
1186
|
+
/** Text search across title/description */
|
|
1187
|
+
search?: string;
|
|
1188
|
+
/** Filter by category ID */
|
|
1189
|
+
categoryId?: string;
|
|
1190
|
+
/** Filter by address IDs */
|
|
1191
|
+
addressIds?: string[];
|
|
1192
|
+
/** Filter by address properties */
|
|
1193
|
+
address?: PropertyAddressFilters;
|
|
1194
|
+
/** Filter by property type */
|
|
1195
|
+
propertyType?: PropertyType;
|
|
1196
|
+
/** Filter by property sub-type */
|
|
1197
|
+
propertySubType?: PropertySubType;
|
|
1198
|
+
/** Filter by listing type */
|
|
1199
|
+
listingType?: ListingType;
|
|
1200
|
+
/** Filter by listing status(es) */
|
|
1201
|
+
listingStatus?: ListingStatus[];
|
|
1202
|
+
/** Filter by active status */
|
|
1203
|
+
isActive?: boolean;
|
|
1204
|
+
/** Filter by featured status */
|
|
1205
|
+
isFeatured?: boolean;
|
|
1206
|
+
/** Filter by verified status */
|
|
1207
|
+
isVerified?: boolean;
|
|
1208
|
+
/** Filter by property condition */
|
|
1209
|
+
condition?: PropertyCondition;
|
|
1210
|
+
/** Filter by furnished status */
|
|
1211
|
+
furnished?: boolean;
|
|
1212
|
+
/** Filter by price range */
|
|
1213
|
+
priceRange?: {
|
|
1214
|
+
min?: number;
|
|
1215
|
+
max?: number;
|
|
1216
|
+
};
|
|
1217
|
+
/** Filter by bedrooms range */
|
|
1218
|
+
bedroomsRange?: {
|
|
1219
|
+
min?: number;
|
|
1220
|
+
max?: number;
|
|
1221
|
+
};
|
|
1222
|
+
/** Filter by bathrooms range */
|
|
1223
|
+
bathroomsRange?: {
|
|
1224
|
+
min?: number;
|
|
1225
|
+
max?: number;
|
|
1226
|
+
};
|
|
1227
|
+
/** Filter by square footage range */
|
|
1228
|
+
squareFootageRange?: {
|
|
1229
|
+
min?: number;
|
|
1230
|
+
max?: number;
|
|
1231
|
+
};
|
|
1232
|
+
}
|
|
1233
|
+
/**
|
|
1234
|
+
* Property sorting options.
|
|
1235
|
+
* @interface PropertySorting
|
|
1236
|
+
*/
|
|
1237
|
+
export interface PropertySorting {
|
|
1238
|
+
/** Field to sort by */
|
|
1239
|
+
field: 'title' | 'salePrice' | 'rentalPrice' | 'createdAt' | 'displayOrder' | 'squareFootage';
|
|
1240
|
+
/** Sort direction */
|
|
1241
|
+
direction: 'asc' | 'desc';
|
|
1242
|
+
}
|
|
1243
|
+
/**
|
|
1244
|
+
* Property query options.
|
|
1245
|
+
* @interface PropertyQueryOptions
|
|
1246
|
+
*/
|
|
1247
|
+
export interface PropertyQueryOptions {
|
|
1248
|
+
/** Page number (1-indexed) */
|
|
1249
|
+
page: number;
|
|
1250
|
+
/** Items per page */
|
|
1251
|
+
pageSize: number;
|
|
1252
|
+
/** Optional filters */
|
|
1253
|
+
filters?: PropertyFilters;
|
|
1254
|
+
/** Optional sorting */
|
|
1255
|
+
sorting?: PropertySorting;
|
|
1256
|
+
}
|
|
1257
|
+
/**
|
|
1258
|
+
* Property address filter options.
|
|
1259
|
+
* @interface PropertyAddressFilters
|
|
1260
|
+
*/
|
|
1261
|
+
export interface PropertyAddressFilters {
|
|
1262
|
+
/** Text search across street/city/state */
|
|
1263
|
+
search?: string;
|
|
1264
|
+
/** Filter by city */
|
|
1265
|
+
city?: string;
|
|
1266
|
+
/** Filter by state */
|
|
1267
|
+
state?: string;
|
|
1268
|
+
/** Filter by country */
|
|
1269
|
+
country?: string;
|
|
1270
|
+
/** Filter by neighborhood */
|
|
1271
|
+
neighborhood?: string;
|
|
1272
|
+
/** Filter by district */
|
|
1273
|
+
district?: string;
|
|
1274
|
+
/** Filter by geolocation radius */
|
|
1275
|
+
geolocation?: {
|
|
1276
|
+
latitude: number;
|
|
1277
|
+
longitude: number;
|
|
1278
|
+
radiusKm: number;
|
|
1279
|
+
};
|
|
1280
|
+
/** Filter by verified status */
|
|
1281
|
+
isVerified?: boolean;
|
|
1282
|
+
}
|
|
1283
|
+
/**
|
|
1284
|
+
* Property address sorting options.
|
|
1285
|
+
* @interface PropertyAddressSorting
|
|
1286
|
+
*/
|
|
1287
|
+
export interface PropertyAddressSorting {
|
|
1288
|
+
/** Field to sort by */
|
|
1289
|
+
field: 'street' | 'city' | 'state' | 'country' | 'createdAt';
|
|
1290
|
+
/** Sort direction */
|
|
1291
|
+
direction: 'asc' | 'desc';
|
|
1292
|
+
}
|
|
1293
|
+
/**
|
|
1294
|
+
* Property address query options.
|
|
1295
|
+
* @interface PropertyAddressQueryOptions
|
|
1296
|
+
*/
|
|
1297
|
+
export interface PropertyAddressQueryOptions {
|
|
1298
|
+
/** Page number (1-indexed) */
|
|
1299
|
+
page: number;
|
|
1300
|
+
/** Items per page */
|
|
1301
|
+
pageSize: number;
|
|
1302
|
+
/** Optional filters */
|
|
1303
|
+
filters?: PropertyAddressFilters;
|
|
1304
|
+
/** Optional sorting */
|
|
1305
|
+
sorting?: PropertyAddressSorting;
|
|
1306
|
+
}
|