@propertysimple/client 0.1.0 → 0.2.0
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/API.md +27 -73
- package/README.md +200 -57
- package/client/src/index.d.ts +257 -2422
- package/client/src/index.js +6 -69
- package/contracts/src/index.d.ts +0 -7
- package/contracts/src/index.js +0 -7
- package/contracts/src/openapi.js +1 -1
- package/contracts/src/operations.d.ts +950 -4678
- package/contracts/src/operations.js +6 -36
- package/contracts/src/opportunity-events.d.ts +2 -1
- package/contracts/src/opportunity-events.js +6 -1
- package/contracts/src/property-features.d.ts +2 -2
- package/contracts/src/property-features.js +62 -19
- package/contracts/src/routes.d.ts +28 -305
- package/contracts/src/routes.js +82 -354
- package/contracts/src/schemas.d.ts +1114 -1355
- package/contracts/src/schemas.js +45 -223
- package/contracts/src/search.d.ts +1366 -253
- package/contracts/src/search.js +117 -2
- package/openapi.json +19288 -38596
- package/package.json +1 -9
- package/client/src/directory-sync.d.ts +0 -123
- package/client/src/directory-sync.js +0 -404
- package/client/src/managed-sync.d.ts +0 -129
- package/client/src/managed-sync.js +0 -410
- package/contracts/src/directory-execution.d.ts +0 -320
- package/contracts/src/directory-execution.js +0 -122
- package/contracts/src/directory-identity.d.ts +0 -1255
- package/contracts/src/directory-identity.js +0 -129
- package/contracts/src/directory-sales.d.ts +0 -333
- package/contracts/src/directory-sales.js +0 -102
- package/contracts/src/directory.d.ts +0 -1088
- package/contracts/src/directory.js +0 -179
- package/contracts/src/intelligence.d.ts +0 -366
- package/contracts/src/intelligence.js +0 -157
- package/contracts/src/professional-intelligence.d.ts +0 -256
- package/contracts/src/professional-intelligence.js +0 -90
- package/contracts/src/publication.d.ts +0 -44
- package/contracts/src/publication.js +0 -42
- package/contracts/src/smart-feed.d.ts +0 -3731
- package/contracts/src/smart-feed.js +0 -109
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export * from './catalog-fields.js';
|
|
3
|
-
export * from './intelligence.js';
|
|
4
3
|
/** Wire types are intentionally independent of database rows and provider payloads. */
|
|
5
4
|
export declare const Id: z.ZodString;
|
|
6
5
|
export declare const Timestamp: z.ZodISODateTime;
|
|
@@ -1275,15 +1274,12 @@ export declare const ListingQuery: z.ZodObject<{
|
|
|
1275
1274
|
withdrawn: "withdrawn";
|
|
1276
1275
|
}>>;
|
|
1277
1276
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
1278
|
-
party_id: z.ZodOptional<z.ZodString>;
|
|
1279
|
-
inventory_basis: z.ZodOptional<z.ZodLiteral<"listing_representation">>;
|
|
1280
1277
|
mls_number: z.ZodOptional<z.ZodString>;
|
|
1281
1278
|
modified_since: z.ZodOptional<z.ZodISODateTime>;
|
|
1282
1279
|
source_modified_since: z.ZodOptional<z.ZodISODateTime>;
|
|
1283
1280
|
min_price: z.ZodOptional<z.ZodString>;
|
|
1284
1281
|
max_price: z.ZodOptional<z.ZodString>;
|
|
1285
1282
|
min_bedrooms: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1286
|
-
features: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1287
1283
|
bbox: z.ZodOptional<z.ZodString>;
|
|
1288
1284
|
}, z.core.$strict>;
|
|
1289
1285
|
export declare const IdentityQuery: z.ZodObject<{
|
|
@@ -1296,95 +1292,39 @@ export declare const IdentitySchema: z.ZodObject<{
|
|
|
1296
1292
|
listing_id: z.ZodString;
|
|
1297
1293
|
episode_id: z.ZodString;
|
|
1298
1294
|
}, z.core.$strict>;
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
last_completed_enumeration_at: z.ZodNullable<z.ZodISODateTime>;
|
|
1314
|
-
last_full_enumeration_at: z.ZodNullable<z.ZodISODateTime>;
|
|
1315
|
-
state: z.ZodEnum<{
|
|
1316
|
-
stale: "stale";
|
|
1317
|
-
fresh: "fresh";
|
|
1318
|
-
never_completed: "never_completed";
|
|
1319
|
-
}>;
|
|
1320
|
-
freshness_window_seconds: z.ZodNumber;
|
|
1321
|
-
full_enumeration_window_seconds: z.ZodOptional<z.ZodNumber>;
|
|
1322
|
-
last_contact_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
1323
|
-
last_contact_status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1324
|
-
refresh: z.ZodOptional<z.ZodObject<{
|
|
1325
|
-
state: z.ZodEnum<{
|
|
1326
|
-
on_schedule: "on_schedule";
|
|
1327
|
-
delayed: "delayed";
|
|
1328
|
-
blocked: "blocked";
|
|
1329
|
-
}>;
|
|
1330
|
-
cadence_seconds: z.ZodNumber;
|
|
1331
|
-
next_due_at: z.ZodISODateTime;
|
|
1332
|
-
phase: z.ZodNullable<z.ZodString>;
|
|
1333
|
-
last_attempt_at: z.ZodNullable<z.ZodISODateTime>;
|
|
1334
|
-
last_progress_at: z.ZodNullable<z.ZodISODateTime>;
|
|
1335
|
-
last_error_at: z.ZodNullable<z.ZodISODateTime>;
|
|
1336
|
-
error_code: z.ZodNullable<z.ZodString>;
|
|
1337
|
-
consecutive_failures: z.ZodNumber;
|
|
1338
|
-
}, z.core.$strict>>;
|
|
1339
|
-
}, z.core.$strict>;
|
|
1340
|
-
export declare const CatalogHealthQuery: z.ZodObject<{
|
|
1341
|
-
dataset_id: z.ZodString;
|
|
1295
|
+
/** /v1/listing-changes. Without a cursor, `start` picks where the stream begins:
|
|
1296
|
+
* `now` (from this moment) or `all` (every listing first, then changes). */
|
|
1297
|
+
export declare const ListingChangeQuery: z.ZodObject<{
|
|
1298
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
1299
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
1300
|
+
dataset_id: z.ZodOptional<z.ZodString>;
|
|
1301
|
+
start: z.ZodDefault<z.ZodEnum<{
|
|
1302
|
+
now: "now";
|
|
1303
|
+
all: "all";
|
|
1304
|
+
}>>;
|
|
1305
|
+
include_contacts: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
|
|
1306
|
+
true: "true";
|
|
1307
|
+
false: "false";
|
|
1308
|
+
}>]>>;
|
|
1342
1309
|
}, z.core.$strict>;
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1310
|
+
/** One listing's current state. `visible` carries the listing as /v1/listings
|
|
1311
|
+
* renders it; `hidden` (present but not displayable) and `removed` (absent from a
|
|
1312
|
+
* complete enumeration) carry only the identity. Contacts follow the
|
|
1313
|
+
* /contacts rule and appear only when requested with contacts:read. */
|
|
1314
|
+
export declare const ListingChangeSchema: z.ZodObject<{
|
|
1315
|
+
listing_id: z.ZodString;
|
|
1316
|
+
episode_id: z.ZodString;
|
|
1317
|
+
revision: z.ZodString;
|
|
1318
|
+
source_identities: z.ZodArray<z.ZodObject<{
|
|
1346
1319
|
source: z.ZodString;
|
|
1347
|
-
|
|
1348
|
-
last_full_enumeration_at: z.ZodNullable<z.ZodISODateTime>;
|
|
1349
|
-
state: z.ZodEnum<{
|
|
1350
|
-
stale: "stale";
|
|
1351
|
-
fresh: "fresh";
|
|
1352
|
-
never_completed: "never_completed";
|
|
1353
|
-
}>;
|
|
1354
|
-
freshness_window_seconds: z.ZodNumber;
|
|
1355
|
-
full_enumeration_window_seconds: z.ZodOptional<z.ZodNumber>;
|
|
1356
|
-
last_contact_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
1357
|
-
last_contact_status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1358
|
-
refresh: z.ZodOptional<z.ZodObject<{
|
|
1359
|
-
state: z.ZodEnum<{
|
|
1360
|
-
on_schedule: "on_schedule";
|
|
1361
|
-
delayed: "delayed";
|
|
1362
|
-
blocked: "blocked";
|
|
1363
|
-
}>;
|
|
1364
|
-
cadence_seconds: z.ZodNumber;
|
|
1365
|
-
next_due_at: z.ZodISODateTime;
|
|
1366
|
-
phase: z.ZodNullable<z.ZodString>;
|
|
1367
|
-
last_attempt_at: z.ZodNullable<z.ZodISODateTime>;
|
|
1368
|
-
last_progress_at: z.ZodNullable<z.ZodISODateTime>;
|
|
1369
|
-
last_error_at: z.ZodNullable<z.ZodISODateTime>;
|
|
1370
|
-
error_code: z.ZodNullable<z.ZodString>;
|
|
1371
|
-
consecutive_failures: z.ZodNumber;
|
|
1372
|
-
}, z.core.$strict>>;
|
|
1373
|
-
}, z.core.$strict>>;
|
|
1374
|
-
inventory: z.ZodOptional<z.ZodObject<{
|
|
1375
|
-
state: z.ZodEnum<{
|
|
1376
|
-
partial: "partial";
|
|
1377
|
-
complete: "complete";
|
|
1378
|
-
}>;
|
|
1379
|
-
source_observed_at: z.ZodNullable<z.ZodISODateTime>;
|
|
1380
|
-
expected_source_records: z.ZodNullable<z.ZodNumber>;
|
|
1381
|
-
processed_source_records: z.ZodNullable<z.ZodNumber>;
|
|
1382
|
-
valid_until: z.ZodISODateTime;
|
|
1320
|
+
key: z.ZodString;
|
|
1383
1321
|
}, z.core.$strict>>;
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1322
|
+
status: z.ZodEnum<{
|
|
1323
|
+
visible: "visible";
|
|
1324
|
+
hidden: "hidden";
|
|
1325
|
+
removed: "removed";
|
|
1326
|
+
}>;
|
|
1327
|
+
listing: z.ZodNullable<z.ZodObject<{
|
|
1388
1328
|
id: z.ZodString;
|
|
1389
1329
|
episode_id: z.ZodString;
|
|
1390
1330
|
revision: z.ZodString;
|
|
@@ -1841,596 +1781,664 @@ export declare const ListingPage: z.ZodObject<{
|
|
|
1841
1781
|
consumer_comment: z.ZodNullable<z.ZodBoolean>;
|
|
1842
1782
|
}, z.core.$strict>>;
|
|
1843
1783
|
}, z.core.$strict>>;
|
|
1784
|
+
contacts: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1785
|
+
professionals: z.ZodOptional<z.ZodObject<{
|
|
1786
|
+
agent: z.ZodObject<{
|
|
1787
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
1788
|
+
preferred_phone: z.ZodNullable<z.ZodString>;
|
|
1789
|
+
direct_phone: z.ZodNullable<z.ZodString>;
|
|
1790
|
+
office_phone: z.ZodNullable<z.ZodString>;
|
|
1791
|
+
fax: z.ZodNullable<z.ZodString>;
|
|
1792
|
+
website_url: z.ZodNullable<z.ZodURL>;
|
|
1793
|
+
}, z.core.$strict>;
|
|
1794
|
+
office: z.ZodObject<{
|
|
1795
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
1796
|
+
phone: z.ZodNullable<z.ZodString>;
|
|
1797
|
+
}, z.core.$strict>;
|
|
1798
|
+
brokerage: z.ZodObject<{
|
|
1799
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
1800
|
+
phone: z.ZodNullable<z.ZodString>;
|
|
1801
|
+
}, z.core.$strict>;
|
|
1802
|
+
builder: z.ZodObject<{
|
|
1803
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
1804
|
+
phone: z.ZodNullable<z.ZodString>;
|
|
1805
|
+
fax: z.ZodNullable<z.ZodString>;
|
|
1806
|
+
}, z.core.$strict>;
|
|
1807
|
+
}, z.core.$strict>>;
|
|
1808
|
+
source_fields: z.ZodOptional<z.ZodObject<{
|
|
1809
|
+
listhub: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
1810
|
+
}, z.core.$strict>>;
|
|
1811
|
+
listing_id: z.ZodString;
|
|
1812
|
+
agent_name: z.ZodNullable<z.ZodString>;
|
|
1813
|
+
agent_email: z.ZodNullable<z.ZodEmail>;
|
|
1814
|
+
agent_phone: z.ZodNullable<z.ZodString>;
|
|
1815
|
+
agent_license: z.ZodNullable<z.ZodString>;
|
|
1816
|
+
agent_website: z.ZodNullable<z.ZodURL>;
|
|
1817
|
+
lead_routing_email: z.ZodNullable<z.ZodEmail>;
|
|
1818
|
+
preferred_email: z.ZodNullable<z.ZodEmail>;
|
|
1819
|
+
}, z.core.$strict>>>;
|
|
1820
|
+
}, z.core.$strict>;
|
|
1821
|
+
export declare const AgentIdentitySchema: z.ZodObject<{
|
|
1822
|
+
source: z.ZodString;
|
|
1823
|
+
key: z.ZodString;
|
|
1824
|
+
agent_id: z.ZodString;
|
|
1825
|
+
}, z.core.$strict>;
|
|
1826
|
+
/** Suppression evidence only; never consent, identity matching or contact freshness. */
|
|
1827
|
+
export declare const AgentEmailSharingSchema: z.ZodObject<{
|
|
1828
|
+
source: z.ZodString;
|
|
1829
|
+
key: z.ZodString;
|
|
1830
|
+
agent_id: z.ZodString;
|
|
1831
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
1832
|
+
sharing_count: z.ZodNullable<z.ZodNumber>;
|
|
1833
|
+
observed_at: z.ZodISODateTime;
|
|
1834
|
+
basis: z.ZodLiteral<"stored_source_agent_email">;
|
|
1835
|
+
coverage: z.ZodLiteral<"known_source_agents">;
|
|
1836
|
+
matching: z.ZodLiteral<"exact_stored_email">;
|
|
1837
|
+
}, z.core.$strict>;
|
|
1838
|
+
export declare function page<T extends z.ZodType>(item: T): z.ZodObject<{
|
|
1839
|
+
data: z.ZodArray<T>;
|
|
1844
1840
|
next_cursor: z.ZodNullable<z.ZodString>;
|
|
1845
1841
|
has_more: z.ZodBoolean;
|
|
1846
1842
|
meta: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
1847
1843
|
}, z.core.$strict>;
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
sqft: "sqft";
|
|
1870
|
-
sqm: "sqm";
|
|
1871
|
-
}>>;
|
|
1872
|
-
mls_number: z.ZodOptional<z.ZodString>;
|
|
1873
|
-
inventory_basis: z.ZodOptional<z.ZodLiteral<"listing_representation">>;
|
|
1874
|
-
dataset_id: z.ZodOptional<z.ZodString>;
|
|
1875
|
-
q: z.ZodOptional<z.ZodString>;
|
|
1876
|
-
party_id: z.ZodOptional<z.ZodString>;
|
|
1877
|
-
price_period: z.ZodOptional<z.ZodString>;
|
|
1878
|
-
profile: z.ZodOptional<z.ZodEnum<{
|
|
1879
|
-
catalog: "catalog";
|
|
1880
|
-
portal_active: "portal_active";
|
|
1881
|
-
}>>;
|
|
1882
|
-
max_bedrooms: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1883
|
-
min_bathrooms: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1884
|
-
max_bathrooms: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1885
|
-
min_living_area: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1886
|
-
max_living_area: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1887
|
-
address_q: z.ZodOptional<z.ZodString>;
|
|
1888
|
-
agent_id: z.ZodOptional<z.ZodString>;
|
|
1889
|
-
modified_since: z.ZodOptional<z.ZodISODateTime>;
|
|
1890
|
-
source_modified_since: z.ZodOptional<z.ZodISODateTime>;
|
|
1891
|
-
min_price: z.ZodOptional<z.ZodString>;
|
|
1892
|
-
max_price: z.ZodOptional<z.ZodString>;
|
|
1893
|
-
min_bedrooms: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1894
|
-
bbox: z.ZodString;
|
|
1895
|
-
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
1896
|
-
}, z.core.$strict>;
|
|
1897
|
-
export declare const ListingMapSchema: z.ZodObject<{
|
|
1898
|
-
data: z.ZodArray<z.ZodObject<{
|
|
1899
|
-
id: z.ZodString;
|
|
1900
|
-
latitude: z.ZodNumber;
|
|
1901
|
-
longitude: z.ZodNumber;
|
|
1902
|
-
price: z.ZodNullable<z.ZodObject<{
|
|
1903
|
-
amount: z.ZodString;
|
|
1904
|
-
currency: z.ZodString;
|
|
1905
|
-
period: z.ZodNullable<z.ZodString>;
|
|
1906
|
-
}, z.core.$strict>>;
|
|
1907
|
-
property_type: z.ZodNullable<z.ZodString>;
|
|
1908
|
-
market_status: z.ZodEnum<{
|
|
1909
|
-
pending: "pending";
|
|
1910
|
-
unknown: "unknown";
|
|
1911
|
-
expired: "expired";
|
|
1912
|
-
active: "active";
|
|
1913
|
-
active_under_contract: "active_under_contract";
|
|
1914
|
-
sold: "sold";
|
|
1915
|
-
withdrawn: "withdrawn";
|
|
1844
|
+
/** Operational source health is live metadata; immutable listing snapshots keep their original observation times.
|
|
1845
|
+
* Each time is the capture start of a completed, non-dry import run. */
|
|
1846
|
+
export declare const CatalogSourceFreshnessSchema: z.ZodObject<{
|
|
1847
|
+
source: z.ZodString;
|
|
1848
|
+
last_completed_enumeration_at: z.ZodNullable<z.ZodISODateTime>;
|
|
1849
|
+
last_full_enumeration_at: z.ZodNullable<z.ZodISODateTime>;
|
|
1850
|
+
last_full_refresh_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
1851
|
+
state: z.ZodEnum<{
|
|
1852
|
+
stale: "stale";
|
|
1853
|
+
fresh: "fresh";
|
|
1854
|
+
never_completed: "never_completed";
|
|
1855
|
+
}>;
|
|
1856
|
+
freshness_window_seconds: z.ZodNumber;
|
|
1857
|
+
full_enumeration_window_seconds: z.ZodOptional<z.ZodNumber>;
|
|
1858
|
+
last_contact_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
1859
|
+
last_contact_status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1860
|
+
refresh: z.ZodOptional<z.ZodObject<{
|
|
1861
|
+
state: z.ZodEnum<{
|
|
1862
|
+
on_schedule: "on_schedule";
|
|
1863
|
+
delayed: "delayed";
|
|
1864
|
+
blocked: "blocked";
|
|
1916
1865
|
}>;
|
|
1866
|
+
cadence_seconds: z.ZodNumber;
|
|
1867
|
+
next_due_at: z.ZodISODateTime;
|
|
1868
|
+
phase: z.ZodNullable<z.ZodString>;
|
|
1869
|
+
last_attempt_at: z.ZodNullable<z.ZodISODateTime>;
|
|
1870
|
+
last_progress_at: z.ZodNullable<z.ZodISODateTime>;
|
|
1871
|
+
last_error_at: z.ZodNullable<z.ZodISODateTime>;
|
|
1872
|
+
error_code: z.ZodNullable<z.ZodString>;
|
|
1873
|
+
consecutive_failures: z.ZodNumber;
|
|
1917
1874
|
}, z.core.$strict>>;
|
|
1918
|
-
total: z.ZodNumber;
|
|
1919
|
-
truncated: z.ZodBoolean;
|
|
1920
|
-
meta: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
1921
1875
|
}, z.core.$strict>;
|
|
1922
|
-
export declare const
|
|
1923
|
-
|
|
1924
|
-
dataset_id: z.ZodOptional<z.ZodString>;
|
|
1925
|
-
profile: z.ZodOptional<z.ZodEnum<{
|
|
1926
|
-
catalog: "catalog";
|
|
1927
|
-
portal_active: "portal_active";
|
|
1928
|
-
}>>;
|
|
1929
|
-
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
1876
|
+
export declare const CatalogHealthQuery: z.ZodObject<{
|
|
1877
|
+
dataset_id: z.ZodString;
|
|
1930
1878
|
}, z.core.$strict>;
|
|
1931
|
-
export declare const
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
present: "present";
|
|
1953
|
-
removed_unknown: "removed_unknown";
|
|
1879
|
+
export declare const CatalogHealthSchema: z.ZodObject<{
|
|
1880
|
+
dataset_id: z.ZodString;
|
|
1881
|
+
source_freshness: z.ZodArray<z.ZodObject<{
|
|
1882
|
+
source: z.ZodString;
|
|
1883
|
+
last_completed_enumeration_at: z.ZodNullable<z.ZodISODateTime>;
|
|
1884
|
+
last_full_enumeration_at: z.ZodNullable<z.ZodISODateTime>;
|
|
1885
|
+
last_full_refresh_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
1886
|
+
state: z.ZodEnum<{
|
|
1887
|
+
stale: "stale";
|
|
1888
|
+
fresh: "fresh";
|
|
1889
|
+
never_completed: "never_completed";
|
|
1890
|
+
}>;
|
|
1891
|
+
freshness_window_seconds: z.ZodNumber;
|
|
1892
|
+
full_enumeration_window_seconds: z.ZodOptional<z.ZodNumber>;
|
|
1893
|
+
last_contact_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
1894
|
+
last_contact_status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1895
|
+
refresh: z.ZodOptional<z.ZodObject<{
|
|
1896
|
+
state: z.ZodEnum<{
|
|
1897
|
+
on_schedule: "on_schedule";
|
|
1898
|
+
delayed: "delayed";
|
|
1899
|
+
blocked: "blocked";
|
|
1954
1900
|
}>;
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1901
|
+
cadence_seconds: z.ZodNumber;
|
|
1902
|
+
next_due_at: z.ZodISODateTime;
|
|
1903
|
+
phase: z.ZodNullable<z.ZodString>;
|
|
1904
|
+
last_attempt_at: z.ZodNullable<z.ZodISODateTime>;
|
|
1905
|
+
last_progress_at: z.ZodNullable<z.ZodISODateTime>;
|
|
1906
|
+
last_error_at: z.ZodNullable<z.ZodISODateTime>;
|
|
1907
|
+
error_code: z.ZodNullable<z.ZodString>;
|
|
1908
|
+
consecutive_failures: z.ZodNumber;
|
|
1909
|
+
}, z.core.$strict>>;
|
|
1910
|
+
}, z.core.$strict>>;
|
|
1911
|
+
inventory: z.ZodOptional<z.ZodObject<{
|
|
1912
|
+
state: z.ZodEnum<{
|
|
1913
|
+
partial: "partial";
|
|
1914
|
+
complete: "complete";
|
|
1915
|
+
}>;
|
|
1916
|
+
source_observed_at: z.ZodNullable<z.ZodISODateTime>;
|
|
1917
|
+
expected_source_records: z.ZodNullable<z.ZodNumber>;
|
|
1918
|
+
processed_source_records: z.ZodNullable<z.ZodNumber>;
|
|
1919
|
+
valid_until: z.ZodISODateTime;
|
|
1920
|
+
}, z.core.$strict>>;
|
|
1921
|
+
checked_at: z.ZodISODateTime;
|
|
1922
|
+
}, z.core.$strict>;
|
|
1923
|
+
export declare const ListingPage: z.ZodObject<{
|
|
1924
|
+
data: z.ZodArray<z.ZodObject<{
|
|
1925
|
+
id: z.ZodString;
|
|
1926
|
+
episode_id: z.ZodString;
|
|
1927
|
+
revision: z.ZodString;
|
|
1928
|
+
property_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1929
|
+
source_identities: z.ZodArray<z.ZodObject<{
|
|
1930
|
+
source: z.ZodString;
|
|
1931
|
+
key: z.ZodString;
|
|
1932
|
+
}, z.core.$strict>>;
|
|
1933
|
+
market_status: z.ZodEnum<{
|
|
1934
|
+
pending: "pending";
|
|
1935
|
+
unknown: "unknown";
|
|
1936
|
+
expired: "expired";
|
|
1937
|
+
active: "active";
|
|
1938
|
+
active_under_contract: "active_under_contract";
|
|
1939
|
+
sold: "sold";
|
|
1940
|
+
withdrawn: "withdrawn";
|
|
1941
|
+
}>;
|
|
1942
|
+
source_availability: z.ZodEnum<{
|
|
1943
|
+
present: "present";
|
|
1944
|
+
removed_unknown: "removed_unknown";
|
|
1945
|
+
}>;
|
|
1946
|
+
display_eligibility: z.ZodBoolean;
|
|
1947
|
+
price: z.ZodNullable<z.ZodObject<{
|
|
1948
|
+
amount: z.ZodString;
|
|
1949
|
+
currency: z.ZodString;
|
|
1950
|
+
period: z.ZodNullable<z.ZodString>;
|
|
1951
|
+
}, z.core.$strict>>;
|
|
1952
|
+
transaction_type: z.ZodOptional<z.ZodEnum<{
|
|
1953
|
+
unknown: "unknown";
|
|
1954
|
+
conflicting: "conflicting";
|
|
1955
|
+
for_sale: "for_sale";
|
|
1956
|
+
for_rent: "for_rent";
|
|
1957
|
+
}>>;
|
|
1958
|
+
price_period_state: z.ZodOptional<z.ZodEnum<{
|
|
1959
|
+
unknown: "unknown";
|
|
1960
|
+
supported: "supported";
|
|
1961
|
+
not_stated: "not_stated";
|
|
1962
|
+
conflicting: "conflicting";
|
|
1963
|
+
}>>;
|
|
1964
|
+
address: z.ZodObject<{
|
|
1965
|
+
street: z.ZodNullable<z.ZodString>;
|
|
1966
|
+
unit: z.ZodNullable<z.ZodString>;
|
|
1967
|
+
city: z.ZodNullable<z.ZodString>;
|
|
1968
|
+
region: z.ZodNullable<z.ZodString>;
|
|
1969
|
+
postal_code: z.ZodNullable<z.ZodString>;
|
|
1970
|
+
country: z.ZodNullable<z.ZodString>;
|
|
1971
|
+
}, z.core.$strict>;
|
|
1972
|
+
listing_agent_ids: z.ZodArray<z.ZodString>;
|
|
1973
|
+
description: z.ZodNullable<z.ZodString>;
|
|
1974
|
+
photos: z.ZodArray<z.ZodString>;
|
|
1975
|
+
photo_count: z.ZodOptional<z.ZodNumber>;
|
|
1976
|
+
media: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1977
|
+
url: z.ZodURL;
|
|
1978
|
+
order: z.ZodNumber;
|
|
1979
|
+
caption: z.ZodNullable<z.ZodString>;
|
|
1980
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
1981
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
1982
|
+
modified_at: z.ZodNullable<z.ZodISODateTime>;
|
|
1983
|
+
delivery: z.ZodEnum<{
|
|
1984
|
+
source_url: "source_url";
|
|
1985
|
+
hosted: "hosted";
|
|
1986
|
+
}>;
|
|
1987
|
+
renditions: z.ZodOptional<z.ZodObject<{
|
|
1988
|
+
thumbnail: z.ZodObject<{
|
|
1989
|
+
url: z.ZodURL;
|
|
1990
|
+
max_width: z.ZodNumber;
|
|
1991
|
+
max_height: z.ZodNumber;
|
|
1992
|
+
}, z.core.$strict>;
|
|
1993
|
+
map: z.ZodObject<{
|
|
1994
|
+
url: z.ZodURL;
|
|
1995
|
+
max_width: z.ZodNumber;
|
|
1996
|
+
max_height: z.ZodNumber;
|
|
1997
|
+
}, z.core.$strict>;
|
|
1998
|
+
card: z.ZodObject<{
|
|
1999
|
+
url: z.ZodURL;
|
|
2000
|
+
max_width: z.ZodNumber;
|
|
2001
|
+
max_height: z.ZodNumber;
|
|
2002
|
+
}, z.core.$strict>;
|
|
2003
|
+
gallery: z.ZodObject<{
|
|
2004
|
+
url: z.ZodURL;
|
|
2005
|
+
max_width: z.ZodNumber;
|
|
2006
|
+
max_height: z.ZodNumber;
|
|
2007
|
+
}, z.core.$strict>;
|
|
1960
2008
|
}, z.core.$strict>>;
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
2009
|
+
}, z.core.$strict>>>;
|
|
2010
|
+
attribution: z.ZodOptional<z.ZodObject<{
|
|
2011
|
+
agent_name: z.ZodNullable<z.ZodString>;
|
|
2012
|
+
agent_license: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2013
|
+
office_name: z.ZodNullable<z.ZodString>;
|
|
2014
|
+
office_key: z.ZodNullable<z.ZodString>;
|
|
2015
|
+
office_phone: z.ZodNullable<z.ZodString>;
|
|
2016
|
+
office_website: z.ZodNullable<z.ZodURL>;
|
|
2017
|
+
broker_name: z.ZodNullable<z.ZodString>;
|
|
2018
|
+
broker_phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2019
|
+
originating_system: z.ZodNullable<z.ZodString>;
|
|
2020
|
+
}, z.core.$strict>>;
|
|
2021
|
+
property_details: z.ZodOptional<z.ZodObject<{
|
|
2022
|
+
category: z.ZodNullable<z.ZodString>;
|
|
2023
|
+
sub_type: z.ZodNullable<z.ZodString>;
|
|
2024
|
+
bathrooms_full: z.ZodNullable<z.ZodNumber>;
|
|
2025
|
+
bathrooms_half: z.ZodNullable<z.ZodNumber>;
|
|
2026
|
+
bathrooms_one_quarter: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2027
|
+
bathrooms_three_quarter: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2028
|
+
stories: z.ZodNullable<z.ZodNumber>;
|
|
2029
|
+
garage_spaces: z.ZodNullable<z.ZodNumber>;
|
|
2030
|
+
parking_total: z.ZodNullable<z.ZodNumber>;
|
|
2031
|
+
county: z.ZodNullable<z.ZodString>;
|
|
2032
|
+
subdivision: z.ZodNullable<z.ZodString>;
|
|
2033
|
+
features: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
|
|
2034
|
+
source_flags: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
2035
|
+
AssociationYN: "AssociationYN";
|
|
2036
|
+
AttachedGarageYN: "AttachedGarageYN";
|
|
2037
|
+
BasementYN: "BasementYN";
|
|
2038
|
+
CarportYN: "CarportYN";
|
|
2039
|
+
CoolingYN: "CoolingYN";
|
|
2040
|
+
ElectricOnPropertyYN: "ElectricOnPropertyYN";
|
|
2041
|
+
FireplaceYN: "FireplaceYN";
|
|
2042
|
+
GarageYN: "GarageYN";
|
|
2043
|
+
HeatingYN: "HeatingYN";
|
|
2044
|
+
NewConstructionYN: "NewConstructionYN";
|
|
2045
|
+
PoolPrivateYN: "PoolPrivateYN";
|
|
2046
|
+
SpaYN: "SpaYN";
|
|
2047
|
+
WaterfrontYN: "WaterfrontYN";
|
|
2048
|
+
AccessibleElevatorInstalled: "AccessibleElevatorInstalled";
|
|
2049
|
+
Dock: "Dock";
|
|
2050
|
+
}> & z.core.$partial, z.ZodBoolean>>;
|
|
2051
|
+
association_fees: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2052
|
+
kind: z.ZodEnum<{
|
|
2053
|
+
association: "association";
|
|
2054
|
+
association_secondary: "association_secondary";
|
|
1995
2055
|
}>;
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
}, z.core.$strict>;
|
|
2002
|
-
map: z.ZodObject<{
|
|
2003
|
-
url: z.ZodURL;
|
|
2004
|
-
max_width: z.ZodNumber;
|
|
2005
|
-
max_height: z.ZodNumber;
|
|
2006
|
-
}, z.core.$strict>;
|
|
2007
|
-
card: z.ZodObject<{
|
|
2008
|
-
url: z.ZodURL;
|
|
2009
|
-
max_width: z.ZodNumber;
|
|
2010
|
-
max_height: z.ZodNumber;
|
|
2011
|
-
}, z.core.$strict>;
|
|
2012
|
-
gallery: z.ZodObject<{
|
|
2013
|
-
url: z.ZodURL;
|
|
2014
|
-
max_width: z.ZodNumber;
|
|
2015
|
-
max_height: z.ZodNumber;
|
|
2016
|
-
}, z.core.$strict>;
|
|
2017
|
-
}, z.core.$strict>>;
|
|
2018
|
-
}, z.core.$strict>>>;
|
|
2019
|
-
attribution: z.ZodOptional<z.ZodObject<{
|
|
2020
|
-
agent_name: z.ZodNullable<z.ZodString>;
|
|
2021
|
-
agent_license: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2022
|
-
office_name: z.ZodNullable<z.ZodString>;
|
|
2023
|
-
office_key: z.ZodNullable<z.ZodString>;
|
|
2024
|
-
office_phone: z.ZodNullable<z.ZodString>;
|
|
2025
|
-
office_website: z.ZodNullable<z.ZodURL>;
|
|
2026
|
-
broker_name: z.ZodNullable<z.ZodString>;
|
|
2027
|
-
broker_phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2028
|
-
originating_system: z.ZodNullable<z.ZodString>;
|
|
2029
|
-
}, z.core.$strict>>;
|
|
2030
|
-
property_details: z.ZodOptional<z.ZodObject<{
|
|
2031
|
-
category: z.ZodNullable<z.ZodString>;
|
|
2032
|
-
sub_type: z.ZodNullable<z.ZodString>;
|
|
2033
|
-
bathrooms_full: z.ZodNullable<z.ZodNumber>;
|
|
2034
|
-
bathrooms_half: z.ZodNullable<z.ZodNumber>;
|
|
2035
|
-
bathrooms_one_quarter: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2036
|
-
bathrooms_three_quarter: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2037
|
-
stories: z.ZodNullable<z.ZodNumber>;
|
|
2038
|
-
garage_spaces: z.ZodNullable<z.ZodNumber>;
|
|
2039
|
-
parking_total: z.ZodNullable<z.ZodNumber>;
|
|
2040
|
-
county: z.ZodNullable<z.ZodString>;
|
|
2041
|
-
subdivision: z.ZodNullable<z.ZodString>;
|
|
2042
|
-
features: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
|
|
2043
|
-
source_flags: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
2044
|
-
AssociationYN: "AssociationYN";
|
|
2045
|
-
AttachedGarageYN: "AttachedGarageYN";
|
|
2046
|
-
BasementYN: "BasementYN";
|
|
2047
|
-
CarportYN: "CarportYN";
|
|
2048
|
-
CoolingYN: "CoolingYN";
|
|
2049
|
-
ElectricOnPropertyYN: "ElectricOnPropertyYN";
|
|
2050
|
-
FireplaceYN: "FireplaceYN";
|
|
2051
|
-
GarageYN: "GarageYN";
|
|
2052
|
-
HeatingYN: "HeatingYN";
|
|
2053
|
-
NewConstructionYN: "NewConstructionYN";
|
|
2054
|
-
PoolPrivateYN: "PoolPrivateYN";
|
|
2055
|
-
SpaYN: "SpaYN";
|
|
2056
|
-
WaterfrontYN: "WaterfrontYN";
|
|
2057
|
-
AccessibleElevatorInstalled: "AccessibleElevatorInstalled";
|
|
2058
|
-
Dock: "Dock";
|
|
2059
|
-
}> & z.core.$partial, z.ZodBoolean>>;
|
|
2060
|
-
association_fees: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2061
|
-
kind: z.ZodEnum<{
|
|
2062
|
-
association: "association";
|
|
2063
|
-
association_secondary: "association_secondary";
|
|
2064
|
-
}>;
|
|
2065
|
-
amount: z.ZodNullable<z.ZodString>;
|
|
2066
|
-
amount_state: z.ZodEnum<{
|
|
2067
|
-
unknown: "unknown";
|
|
2068
|
-
supported: "supported";
|
|
2069
|
-
not_stated: "not_stated";
|
|
2070
|
-
}>;
|
|
2071
|
-
currency: z.ZodNullable<z.ZodString>;
|
|
2072
|
-
currency_source: z.ZodNullable<z.ZodEnum<{
|
|
2073
|
-
field: "field";
|
|
2074
|
-
source_default: "source_default";
|
|
2075
|
-
}>>;
|
|
2076
|
-
currency_state: z.ZodEnum<{
|
|
2077
|
-
unknown: "unknown";
|
|
2078
|
-
supported: "supported";
|
|
2079
|
-
not_stated: "not_stated";
|
|
2080
|
-
}>;
|
|
2081
|
-
period: z.ZodNullable<z.ZodEnum<{
|
|
2082
|
-
year: "year";
|
|
2083
|
-
day: "day";
|
|
2084
|
-
week: "week";
|
|
2085
|
-
month: "month";
|
|
2086
|
-
quarter: "quarter";
|
|
2087
|
-
half_year: "half_year";
|
|
2088
|
-
one_time: "one_time";
|
|
2089
|
-
}>>;
|
|
2090
|
-
period_state: z.ZodEnum<{
|
|
2091
|
-
unknown: "unknown";
|
|
2092
|
-
supported: "supported";
|
|
2093
|
-
not_stated: "not_stated";
|
|
2094
|
-
}>;
|
|
2095
|
-
source_paths: z.ZodArray<z.ZodString>;
|
|
2096
|
-
}, z.core.$strict>>>;
|
|
2097
|
-
rooms: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2098
|
-
type: z.ZodNullable<z.ZodString>;
|
|
2099
|
-
level: z.ZodNullable<z.ZodString>;
|
|
2100
|
-
features: z.ZodArray<z.ZodString>;
|
|
2101
|
-
dimensions: z.ZodNullable<z.ZodString>;
|
|
2102
|
-
length: z.ZodNullable<z.ZodNumber>;
|
|
2103
|
-
width: z.ZodNullable<z.ZodNumber>;
|
|
2104
|
-
unit: z.ZodNullable<z.ZodString>;
|
|
2105
|
-
source_paths: z.ZodArray<z.ZodString>;
|
|
2106
|
-
}, z.core.$strict>>>;
|
|
2107
|
-
year_built_effective: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2108
|
-
units_total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2109
|
-
entry_level: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2110
|
-
}, z.core.$strict>>;
|
|
2111
|
-
raw_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2112
|
-
property_type: z.ZodNullable<z.ZodString>;
|
|
2113
|
-
bedrooms: z.ZodNullable<z.ZodNumber>;
|
|
2114
|
-
bathrooms: z.ZodNullable<z.ZodNumber>;
|
|
2115
|
-
living_area: z.ZodNullable<z.ZodNumber>;
|
|
2116
|
-
living_area_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2117
|
-
lot_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2118
|
-
lot_size_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2119
|
-
year_built: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2120
|
-
latitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2121
|
-
longitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2122
|
-
location: z.ZodOptional<z.ZodObject<{
|
|
2123
|
-
state: z.ZodEnum<{
|
|
2124
|
-
source: "source";
|
|
2125
|
-
pending: "pending";
|
|
2126
|
-
resolved: "resolved";
|
|
2127
|
-
coarse: "coarse";
|
|
2128
|
-
unavailable: "unavailable";
|
|
2129
|
-
stale: "stale";
|
|
2130
|
-
suppressed: "suppressed";
|
|
2056
|
+
amount: z.ZodNullable<z.ZodString>;
|
|
2057
|
+
amount_state: z.ZodEnum<{
|
|
2058
|
+
unknown: "unknown";
|
|
2059
|
+
supported: "supported";
|
|
2060
|
+
not_stated: "not_stated";
|
|
2131
2061
|
}>;
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2062
|
+
currency: z.ZodNullable<z.ZodString>;
|
|
2063
|
+
currency_source: z.ZodNullable<z.ZodEnum<{
|
|
2064
|
+
field: "field";
|
|
2065
|
+
source_default: "source_default";
|
|
2066
|
+
}>>;
|
|
2067
|
+
currency_state: z.ZodEnum<{
|
|
2068
|
+
unknown: "unknown";
|
|
2069
|
+
supported: "supported";
|
|
2070
|
+
not_stated: "not_stated";
|
|
2071
|
+
}>;
|
|
2072
|
+
period: z.ZodNullable<z.ZodEnum<{
|
|
2073
|
+
year: "year";
|
|
2074
|
+
day: "day";
|
|
2075
|
+
week: "week";
|
|
2076
|
+
month: "month";
|
|
2077
|
+
quarter: "quarter";
|
|
2078
|
+
half_year: "half_year";
|
|
2079
|
+
one_time: "one_time";
|
|
2080
|
+
}>>;
|
|
2081
|
+
period_state: z.ZodEnum<{
|
|
2082
|
+
unknown: "unknown";
|
|
2083
|
+
supported: "supported";
|
|
2084
|
+
not_stated: "not_stated";
|
|
2085
|
+
}>;
|
|
2086
|
+
source_paths: z.ZodArray<z.ZodString>;
|
|
2087
|
+
}, z.core.$strict>>>;
|
|
2088
|
+
rooms: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2089
|
+
type: z.ZodNullable<z.ZodString>;
|
|
2090
|
+
level: z.ZodNullable<z.ZodString>;
|
|
2091
|
+
features: z.ZodArray<z.ZodString>;
|
|
2092
|
+
dimensions: z.ZodNullable<z.ZodString>;
|
|
2093
|
+
length: z.ZodNullable<z.ZodNumber>;
|
|
2094
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
2095
|
+
unit: z.ZodNullable<z.ZodString>;
|
|
2096
|
+
source_paths: z.ZodArray<z.ZodString>;
|
|
2097
|
+
}, z.core.$strict>>>;
|
|
2098
|
+
year_built_effective: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2099
|
+
units_total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2100
|
+
entry_level: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2101
|
+
}, z.core.$strict>>;
|
|
2102
|
+
raw_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2103
|
+
property_type: z.ZodNullable<z.ZodString>;
|
|
2104
|
+
bedrooms: z.ZodNullable<z.ZodNumber>;
|
|
2105
|
+
bathrooms: z.ZodNullable<z.ZodNumber>;
|
|
2106
|
+
living_area: z.ZodNullable<z.ZodNumber>;
|
|
2107
|
+
living_area_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2108
|
+
lot_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2109
|
+
lot_size_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2110
|
+
year_built: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2111
|
+
latitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2112
|
+
longitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2113
|
+
location: z.ZodOptional<z.ZodObject<{
|
|
2114
|
+
state: z.ZodEnum<{
|
|
2115
|
+
source: "source";
|
|
2116
|
+
pending: "pending";
|
|
2117
|
+
resolved: "resolved";
|
|
2118
|
+
coarse: "coarse";
|
|
2119
|
+
unavailable: "unavailable";
|
|
2120
|
+
stale: "stale";
|
|
2121
|
+
suppressed: "suppressed";
|
|
2122
|
+
}>;
|
|
2123
|
+
origin: z.ZodNullable<z.ZodEnum<{
|
|
2124
|
+
source: "source";
|
|
2125
|
+
geocoded: "geocoded";
|
|
2126
|
+
}>>;
|
|
2127
|
+
precision: z.ZodEnum<{
|
|
2128
|
+
source_unknown: "source_unknown";
|
|
2129
|
+
parcel: "parcel";
|
|
2130
|
+
street: "street";
|
|
2131
|
+
area: "area";
|
|
2132
|
+
unknown: "unknown";
|
|
2133
|
+
}>;
|
|
2134
|
+
map_eligible: z.ZodBoolean;
|
|
2135
|
+
coordinates: z.ZodNullable<z.ZodObject<{
|
|
2136
|
+
latitude: z.ZodNumber;
|
|
2137
|
+
longitude: z.ZodNumber;
|
|
2138
|
+
}, z.core.$strip>>;
|
|
2139
|
+
accuracy_score: z.ZodNullable<z.ZodNumber>;
|
|
2140
|
+
accuracy_type: z.ZodNullable<z.ZodString>;
|
|
2141
|
+
match_type: z.ZodNullable<z.ZodString>;
|
|
2142
|
+
provider: z.ZodNullable<z.ZodString>;
|
|
2143
|
+
provider_version: z.ZodNullable<z.ZodString>;
|
|
2144
|
+
policy_version: z.ZodString;
|
|
2145
|
+
source: z.ZodNullable<z.ZodString>;
|
|
2146
|
+
resolved_at: z.ZodNullable<z.ZodISODateTime>;
|
|
2147
|
+
valid_until: z.ZodNullable<z.ZodISODateTime>;
|
|
2148
|
+
country_code: z.ZodNullable<z.ZodString>;
|
|
2149
|
+
region_code: z.ZodNullable<z.ZodString>;
|
|
2150
|
+
timezone: z.ZodNullable<z.ZodString>;
|
|
2151
|
+
enrichment: z.ZodNullable<z.ZodObject<{
|
|
2152
|
+
provider: z.ZodString;
|
|
2153
|
+
provider_version: z.ZodString;
|
|
2154
|
+
resolved_at: z.ZodISODateTime;
|
|
2155
|
+
valid_until: z.ZodISODateTime;
|
|
2156
|
+
fields: z.ZodArray<z.ZodEnum<{
|
|
2157
|
+
timezone: "timezone";
|
|
2158
|
+
census2025: "census2025";
|
|
2135
2159
|
}>>;
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
latitude: z.ZodNumber;
|
|
2146
|
-
longitude: z.ZodNumber;
|
|
2147
|
-
}, z.core.$strip>>;
|
|
2148
|
-
accuracy_score: z.ZodNullable<z.ZodNumber>;
|
|
2149
|
-
accuracy_type: z.ZodNullable<z.ZodString>;
|
|
2150
|
-
match_type: z.ZodNullable<z.ZodString>;
|
|
2151
|
-
provider: z.ZodNullable<z.ZodString>;
|
|
2152
|
-
provider_version: z.ZodNullable<z.ZodString>;
|
|
2153
|
-
policy_version: z.ZodString;
|
|
2160
|
+
}, z.core.$strip>>;
|
|
2161
|
+
geography: z.ZodNullable<z.ZodObject<{
|
|
2162
|
+
census_year: z.ZodNumber;
|
|
2163
|
+
state_fips: z.ZodNullable<z.ZodString>;
|
|
2164
|
+
county_fips: z.ZodNullable<z.ZodString>;
|
|
2165
|
+
tract_geoid: z.ZodNullable<z.ZodString>;
|
|
2166
|
+
block_geoid: z.ZodNullable<z.ZodString>;
|
|
2167
|
+
place_fips: z.ZodNullable<z.ZodString>;
|
|
2168
|
+
cbsa_code: z.ZodNullable<z.ZodString>;
|
|
2154
2169
|
source: z.ZodNullable<z.ZodString>;
|
|
2155
|
-
resolved_at: z.ZodNullable<z.ZodISODateTime>;
|
|
2156
|
-
valid_until: z.ZodNullable<z.ZodISODateTime>;
|
|
2157
|
-
country_code: z.ZodNullable<z.ZodString>;
|
|
2158
|
-
region_code: z.ZodNullable<z.ZodString>;
|
|
2159
|
-
timezone: z.ZodNullable<z.ZodString>;
|
|
2160
|
-
enrichment: z.ZodNullable<z.ZodObject<{
|
|
2161
|
-
provider: z.ZodString;
|
|
2162
|
-
provider_version: z.ZodString;
|
|
2163
|
-
resolved_at: z.ZodISODateTime;
|
|
2164
|
-
valid_until: z.ZodISODateTime;
|
|
2165
|
-
fields: z.ZodArray<z.ZodEnum<{
|
|
2166
|
-
timezone: "timezone";
|
|
2167
|
-
census2025: "census2025";
|
|
2168
|
-
}>>;
|
|
2169
|
-
}, z.core.$strip>>;
|
|
2170
|
-
geography: z.ZodNullable<z.ZodObject<{
|
|
2171
|
-
census_year: z.ZodNumber;
|
|
2172
|
-
state_fips: z.ZodNullable<z.ZodString>;
|
|
2173
|
-
county_fips: z.ZodNullable<z.ZodString>;
|
|
2174
|
-
tract_geoid: z.ZodNullable<z.ZodString>;
|
|
2175
|
-
block_geoid: z.ZodNullable<z.ZodString>;
|
|
2176
|
-
place_fips: z.ZodNullable<z.ZodString>;
|
|
2177
|
-
cbsa_code: z.ZodNullable<z.ZodString>;
|
|
2178
|
-
source: z.ZodNullable<z.ZodString>;
|
|
2179
|
-
}, z.core.$strip>>;
|
|
2180
|
-
issue: z.ZodNullable<z.ZodEnum<{
|
|
2181
|
-
pending: "pending";
|
|
2182
|
-
invalid_source_point: "invalid_source_point";
|
|
2183
|
-
insufficient_address: "insufficient_address";
|
|
2184
|
-
unsupported_country: "unsupported_country";
|
|
2185
|
-
no_match: "no_match";
|
|
2186
|
-
low_quality: "low_quality";
|
|
2187
|
-
provider_failure: "provider_failure";
|
|
2188
|
-
expired: "expired";
|
|
2189
|
-
display_restricted: "display_restricted";
|
|
2190
|
-
}>>;
|
|
2191
2170
|
}, z.core.$strip>>;
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2171
|
+
issue: z.ZodNullable<z.ZodEnum<{
|
|
2172
|
+
pending: "pending";
|
|
2173
|
+
invalid_source_point: "invalid_source_point";
|
|
2174
|
+
insufficient_address: "insufficient_address";
|
|
2175
|
+
unsupported_country: "unsupported_country";
|
|
2176
|
+
no_match: "no_match";
|
|
2177
|
+
low_quality: "low_quality";
|
|
2178
|
+
provider_failure: "provider_failure";
|
|
2179
|
+
expired: "expired";
|
|
2180
|
+
display_restricted: "display_restricted";
|
|
2181
|
+
}>>;
|
|
2182
|
+
}, z.core.$strip>>;
|
|
2183
|
+
mls_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2184
|
+
source_url: z.ZodNullable<z.ZodString>;
|
|
2185
|
+
listed_date: z.ZodNullable<z.ZodString>;
|
|
2186
|
+
listed_precision: z.ZodEnum<{
|
|
2187
|
+
unknown: "unknown";
|
|
2188
|
+
date: "date";
|
|
2189
|
+
instant: "instant";
|
|
2190
|
+
}>;
|
|
2191
|
+
open_houses: z.ZodArray<z.ZodObject<{
|
|
2192
|
+
id: z.ZodString;
|
|
2193
|
+
start_at: z.ZodString;
|
|
2194
|
+
end_at: z.ZodNullable<z.ZodString>;
|
|
2195
|
+
timezone: z.ZodNullable<z.ZodString>;
|
|
2196
|
+
status: z.ZodEnum<{
|
|
2197
|
+
scheduled: "scheduled";
|
|
2198
|
+
cancelled: "cancelled";
|
|
2199
2199
|
}>;
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
}
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2200
|
+
}, z.core.$strict>>;
|
|
2201
|
+
classifications: z.ZodArray<z.ZodObject<{
|
|
2202
|
+
attribute: z.ZodString;
|
|
2203
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodNull]>;
|
|
2204
|
+
evidence_state: z.ZodEnum<{
|
|
2205
|
+
supported: "supported";
|
|
2206
|
+
not_stated: "not_stated";
|
|
2207
|
+
conflicting: "conflicting";
|
|
2208
|
+
explicitly_absent: "explicitly_absent";
|
|
2209
|
+
}>;
|
|
2210
|
+
origin: z.ZodEnum<{
|
|
2211
|
+
source_structured: "source_structured";
|
|
2212
|
+
source_text_interpreted: "source_text_interpreted";
|
|
2213
|
+
}>;
|
|
2214
|
+
evidence_refs: z.ZodArray<z.ZodString>;
|
|
2215
|
+
input_fingerprint: z.ZodString;
|
|
2216
|
+
taxonomy_version: z.ZodString;
|
|
2217
|
+
evaluation_id: z.ZodString;
|
|
2218
|
+
freshness: z.ZodEnum<{
|
|
2219
|
+
pending: "pending";
|
|
2220
|
+
current: "current";
|
|
2221
|
+
invalidated: "invalidated";
|
|
2222
|
+
failed: "failed";
|
|
2223
|
+
}>;
|
|
2224
|
+
}, z.core.$strict>>;
|
|
2225
|
+
display: z.ZodObject<{
|
|
2226
|
+
address_allowed: z.ZodBoolean;
|
|
2227
|
+
disclaimer: z.ZodNullable<z.ZodString>;
|
|
2228
|
+
}, z.core.$strict>;
|
|
2229
|
+
freshness: z.ZodObject<{
|
|
2230
|
+
last_seen_at: z.ZodISODateTime;
|
|
2231
|
+
published_at: z.ZodISODateTime;
|
|
2232
|
+
source_modified_at: z.ZodNullable<z.ZodISODateTime>;
|
|
2233
|
+
}, z.core.$strict>;
|
|
2234
|
+
source_amenities: z.ZodOptional<z.ZodObject<{
|
|
2235
|
+
version: z.ZodLiteral<"source-amenities-v1">;
|
|
2236
|
+
values: z.ZodRecord<z.ZodEnum<{
|
|
2237
|
+
hardwood: "hardwood";
|
|
2238
|
+
solar: "solar";
|
|
2239
|
+
ev_charger: "ev_charger";
|
|
2240
|
+
rv_parking: "rv_parking";
|
|
2241
|
+
view: "view";
|
|
2242
|
+
}>, z.ZodObject<{
|
|
2243
|
+
value: z.ZodNullable<z.ZodBoolean>;
|
|
2244
|
+
state: z.ZodEnum<{
|
|
2214
2245
|
supported: "supported";
|
|
2215
2246
|
not_stated: "not_stated";
|
|
2216
2247
|
conflicting: "conflicting";
|
|
2217
|
-
explicitly_absent: "explicitly_absent";
|
|
2218
2248
|
}>;
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2249
|
+
source_paths: z.ZodArray<z.ZodString>;
|
|
2250
|
+
}, z.core.$strict>>;
|
|
2251
|
+
}, z.core.$strict>>;
|
|
2252
|
+
search_document: z.ZodOptional<z.ZodObject<{
|
|
2253
|
+
version: z.ZodLiteral<"catalog-search-text-v1">;
|
|
2254
|
+
text: z.ZodString;
|
|
2255
|
+
}, z.core.$strict>>;
|
|
2256
|
+
content_hash: z.ZodOptional<z.ZodString>;
|
|
2257
|
+
source_fields: z.ZodOptional<z.ZodObject<{
|
|
2258
|
+
listhub: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
2259
|
+
}, z.core.$strict>>;
|
|
2260
|
+
source_metadata: z.ZodOptional<z.ZodObject<{
|
|
2261
|
+
contract_version: z.ZodLiteral<"catalog-fields-v2">;
|
|
2262
|
+
parser_version: z.ZodString;
|
|
2263
|
+
exposure_version: z.ZodString;
|
|
2264
|
+
source_system_id: z.ZodNullable<z.ZodString>;
|
|
2265
|
+
source_system_name: z.ZodNullable<z.ZodString>;
|
|
2266
|
+
originating_system_name: z.ZodNullable<z.ZodString>;
|
|
2267
|
+
source_photo_count: z.ZodNullable<z.ZodNumber>;
|
|
2268
|
+
supplied_paths: z.ZodArray<z.ZodString>;
|
|
2269
|
+
}, z.core.$strict>>;
|
|
2270
|
+
market_dates: z.ZodOptional<z.ZodObject<{
|
|
2271
|
+
listing_contract: z.ZodObject<{
|
|
2272
|
+
value: z.ZodNullable<z.ZodString>;
|
|
2273
|
+
precision: z.ZodEnum<{
|
|
2274
|
+
unknown: "unknown";
|
|
2275
|
+
date: "date";
|
|
2276
|
+
instant: "instant";
|
|
2222
2277
|
}>;
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
invalidated: "invalidated";
|
|
2231
|
-
failed: "failed";
|
|
2278
|
+
}, z.core.$strict>;
|
|
2279
|
+
on_market: z.ZodObject<{
|
|
2280
|
+
value: z.ZodNullable<z.ZodString>;
|
|
2281
|
+
precision: z.ZodEnum<{
|
|
2282
|
+
unknown: "unknown";
|
|
2283
|
+
date: "date";
|
|
2284
|
+
instant: "instant";
|
|
2232
2285
|
}>;
|
|
2233
|
-
}, z.core.$strict>>;
|
|
2234
|
-
display: z.ZodObject<{
|
|
2235
|
-
address_allowed: z.ZodBoolean;
|
|
2236
|
-
disclaimer: z.ZodNullable<z.ZodString>;
|
|
2237
|
-
}, z.core.$strict>;
|
|
2238
|
-
freshness: z.ZodObject<{
|
|
2239
|
-
last_seen_at: z.ZodISODateTime;
|
|
2240
|
-
published_at: z.ZodISODateTime;
|
|
2241
|
-
source_modified_at: z.ZodNullable<z.ZodISODateTime>;
|
|
2242
2286
|
}, z.core.$strict>;
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
source_system_name: z.ZodNullable<z.ZodString>;
|
|
2275
|
-
originating_system_name: z.ZodNullable<z.ZodString>;
|
|
2276
|
-
source_photo_count: z.ZodNullable<z.ZodNumber>;
|
|
2277
|
-
supplied_paths: z.ZodArray<z.ZodString>;
|
|
2278
|
-
}, z.core.$strict>>;
|
|
2279
|
-
market_dates: z.ZodOptional<z.ZodObject<{
|
|
2280
|
-
listing_contract: z.ZodObject<{
|
|
2281
|
-
value: z.ZodNullable<z.ZodString>;
|
|
2282
|
-
precision: z.ZodEnum<{
|
|
2283
|
-
unknown: "unknown";
|
|
2284
|
-
date: "date";
|
|
2285
|
-
instant: "instant";
|
|
2286
|
-
}>;
|
|
2287
|
-
}, z.core.$strict>;
|
|
2288
|
-
on_market: z.ZodObject<{
|
|
2289
|
-
value: z.ZodNullable<z.ZodString>;
|
|
2290
|
-
precision: z.ZodEnum<{
|
|
2291
|
-
unknown: "unknown";
|
|
2292
|
-
date: "date";
|
|
2293
|
-
instant: "instant";
|
|
2294
|
-
}>;
|
|
2295
|
-
}, z.core.$strict>;
|
|
2296
|
-
source_days_on_market: z.ZodNullable<z.ZodNumber>;
|
|
2297
|
-
source_cumulative_days_on_market: z.ZodNullable<z.ZodNumber>;
|
|
2298
|
-
}, z.core.$strict>>;
|
|
2299
|
-
taxes: z.ZodOptional<z.ZodObject<{
|
|
2300
|
-
annual_amount: z.ZodNullable<z.ZodString>;
|
|
2301
|
-
currency: z.ZodNullable<z.ZodString>;
|
|
2302
|
-
year: z.ZodNullable<z.ZodNumber>;
|
|
2303
|
-
}, z.core.$strict>>;
|
|
2304
|
-
schools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2305
|
-
level: z.ZodEnum<{
|
|
2306
|
-
elementary: "elementary";
|
|
2307
|
-
middle: "middle";
|
|
2308
|
-
high: "high";
|
|
2287
|
+
source_days_on_market: z.ZodNullable<z.ZodNumber>;
|
|
2288
|
+
source_cumulative_days_on_market: z.ZodNullable<z.ZodNumber>;
|
|
2289
|
+
}, z.core.$strict>>;
|
|
2290
|
+
taxes: z.ZodOptional<z.ZodObject<{
|
|
2291
|
+
annual_amount: z.ZodNullable<z.ZodString>;
|
|
2292
|
+
currency: z.ZodNullable<z.ZodString>;
|
|
2293
|
+
year: z.ZodNullable<z.ZodNumber>;
|
|
2294
|
+
}, z.core.$strict>>;
|
|
2295
|
+
schools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2296
|
+
level: z.ZodEnum<{
|
|
2297
|
+
elementary: "elementary";
|
|
2298
|
+
middle: "middle";
|
|
2299
|
+
high: "high";
|
|
2300
|
+
}>;
|
|
2301
|
+
name: z.ZodNullable<z.ZodString>;
|
|
2302
|
+
district: z.ZodNullable<z.ZodString>;
|
|
2303
|
+
}, z.core.$strict>>>;
|
|
2304
|
+
price_history: z.ZodOptional<z.ZodObject<{
|
|
2305
|
+
original_amount: z.ZodNullable<z.ZodString>;
|
|
2306
|
+
previous_amount: z.ZodNullable<z.ZodString>;
|
|
2307
|
+
low_amount: z.ZodNullable<z.ZodString>;
|
|
2308
|
+
currency: z.ZodNullable<z.ZodString>;
|
|
2309
|
+
original_currency: z.ZodNullable<z.ZodString>;
|
|
2310
|
+
previous_currency: z.ZodNullable<z.ZodString>;
|
|
2311
|
+
low_currency: z.ZodNullable<z.ZodString>;
|
|
2312
|
+
changed_at: z.ZodObject<{
|
|
2313
|
+
value: z.ZodNullable<z.ZodString>;
|
|
2314
|
+
precision: z.ZodEnum<{
|
|
2315
|
+
unknown: "unknown";
|
|
2316
|
+
date: "date";
|
|
2317
|
+
instant: "instant";
|
|
2309
2318
|
}>;
|
|
2319
|
+
}, z.core.$strict>;
|
|
2320
|
+
}, z.core.$strict>>;
|
|
2321
|
+
virtual_tours: z.ZodOptional<z.ZodObject<{
|
|
2322
|
+
branded_url: z.ZodNullable<z.ZodURL>;
|
|
2323
|
+
unbranded_url: z.ZodNullable<z.ZodURL>;
|
|
2324
|
+
}, z.core.$strict>>;
|
|
2325
|
+
additional_media: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2326
|
+
url: z.ZodURL;
|
|
2327
|
+
categories: z.ZodArray<z.ZodString>;
|
|
2328
|
+
order: z.ZodNumber;
|
|
2329
|
+
caption: z.ZodNullable<z.ZodString>;
|
|
2330
|
+
}, z.core.$strict>>>;
|
|
2331
|
+
professionals: z.ZodOptional<z.ZodObject<{
|
|
2332
|
+
agent: z.ZodObject<{
|
|
2333
|
+
full_name: z.ZodNullable<z.ZodString>;
|
|
2334
|
+
first_name: z.ZodNullable<z.ZodString>;
|
|
2335
|
+
last_name: z.ZodNullable<z.ZodString>;
|
|
2336
|
+
license: z.ZodNullable<z.ZodString>;
|
|
2337
|
+
}, z.core.$strict>;
|
|
2338
|
+
office: z.ZodObject<{
|
|
2339
|
+
key: z.ZodNullable<z.ZodString>;
|
|
2340
|
+
mls_id: z.ZodNullable<z.ZodString>;
|
|
2310
2341
|
name: z.ZodNullable<z.ZodString>;
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
value: z.ZodNullable<z.ZodString>;
|
|
2323
|
-
precision: z.ZodEnum<{
|
|
2324
|
-
unknown: "unknown";
|
|
2325
|
-
date: "date";
|
|
2326
|
-
instant: "instant";
|
|
2327
|
-
}>;
|
|
2328
|
-
}, z.core.$strict>;
|
|
2329
|
-
}, z.core.$strict>>;
|
|
2330
|
-
virtual_tours: z.ZodOptional<z.ZodObject<{
|
|
2331
|
-
branded_url: z.ZodNullable<z.ZodURL>;
|
|
2332
|
-
unbranded_url: z.ZodNullable<z.ZodURL>;
|
|
2333
|
-
}, z.core.$strict>>;
|
|
2334
|
-
additional_media: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2335
|
-
url: z.ZodURL;
|
|
2336
|
-
categories: z.ZodArray<z.ZodString>;
|
|
2337
|
-
order: z.ZodNumber;
|
|
2338
|
-
caption: z.ZodNullable<z.ZodString>;
|
|
2339
|
-
}, z.core.$strict>>>;
|
|
2340
|
-
professionals: z.ZodOptional<z.ZodObject<{
|
|
2341
|
-
agent: z.ZodObject<{
|
|
2342
|
-
full_name: z.ZodNullable<z.ZodString>;
|
|
2343
|
-
first_name: z.ZodNullable<z.ZodString>;
|
|
2344
|
-
last_name: z.ZodNullable<z.ZodString>;
|
|
2345
|
-
license: z.ZodNullable<z.ZodString>;
|
|
2346
|
-
}, z.core.$strict>;
|
|
2347
|
-
office: z.ZodObject<{
|
|
2348
|
-
key: z.ZodNullable<z.ZodString>;
|
|
2349
|
-
mls_id: z.ZodNullable<z.ZodString>;
|
|
2350
|
-
name: z.ZodNullable<z.ZodString>;
|
|
2351
|
-
broker_mls_id: z.ZodNullable<z.ZodString>;
|
|
2352
|
-
corporate_id: z.ZodNullable<z.ZodString>;
|
|
2353
|
-
main_office_id: z.ZodNullable<z.ZodString>;
|
|
2354
|
-
website_url: z.ZodNullable<z.ZodURL>;
|
|
2355
|
-
address: z.ZodObject<{
|
|
2356
|
-
street: z.ZodNullable<z.ZodString>;
|
|
2357
|
-
unit: z.ZodNullable<z.ZodString>;
|
|
2358
|
-
city: z.ZodNullable<z.ZodString>;
|
|
2359
|
-
region: z.ZodNullable<z.ZodString>;
|
|
2360
|
-
postal_code: z.ZodNullable<z.ZodString>;
|
|
2361
|
-
country: z.ZodNullable<z.ZodString>;
|
|
2362
|
-
}, z.core.$strict>;
|
|
2363
|
-
}, z.core.$strict>;
|
|
2364
|
-
brokerage: z.ZodObject<{
|
|
2365
|
-
name: z.ZodNullable<z.ZodString>;
|
|
2366
|
-
website_url: z.ZodNullable<z.ZodURL>;
|
|
2367
|
-
logo_url: z.ZodNullable<z.ZodURL>;
|
|
2368
|
-
address: z.ZodObject<{
|
|
2369
|
-
street: z.ZodNullable<z.ZodString>;
|
|
2370
|
-
unit: z.ZodNullable<z.ZodString>;
|
|
2371
|
-
city: z.ZodNullable<z.ZodString>;
|
|
2372
|
-
region: z.ZodNullable<z.ZodString>;
|
|
2373
|
-
postal_code: z.ZodNullable<z.ZodString>;
|
|
2374
|
-
country: z.ZodNullable<z.ZodString>;
|
|
2375
|
-
}, z.core.$strict>;
|
|
2342
|
+
broker_mls_id: z.ZodNullable<z.ZodString>;
|
|
2343
|
+
corporate_id: z.ZodNullable<z.ZodString>;
|
|
2344
|
+
main_office_id: z.ZodNullable<z.ZodString>;
|
|
2345
|
+
website_url: z.ZodNullable<z.ZodURL>;
|
|
2346
|
+
address: z.ZodObject<{
|
|
2347
|
+
street: z.ZodNullable<z.ZodString>;
|
|
2348
|
+
unit: z.ZodNullable<z.ZodString>;
|
|
2349
|
+
city: z.ZodNullable<z.ZodString>;
|
|
2350
|
+
region: z.ZodNullable<z.ZodString>;
|
|
2351
|
+
postal_code: z.ZodNullable<z.ZodString>;
|
|
2352
|
+
country: z.ZodNullable<z.ZodString>;
|
|
2376
2353
|
}, z.core.$strict>;
|
|
2377
|
-
|
|
2378
|
-
|
|
2354
|
+
}, z.core.$strict>;
|
|
2355
|
+
brokerage: z.ZodObject<{
|
|
2356
|
+
name: z.ZodNullable<z.ZodString>;
|
|
2357
|
+
website_url: z.ZodNullable<z.ZodURL>;
|
|
2358
|
+
logo_url: z.ZodNullable<z.ZodURL>;
|
|
2359
|
+
address: z.ZodObject<{
|
|
2360
|
+
street: z.ZodNullable<z.ZodString>;
|
|
2361
|
+
unit: z.ZodNullable<z.ZodString>;
|
|
2362
|
+
city: z.ZodNullable<z.ZodString>;
|
|
2363
|
+
region: z.ZodNullable<z.ZodString>;
|
|
2364
|
+
postal_code: z.ZodNullable<z.ZodString>;
|
|
2365
|
+
country: z.ZodNullable<z.ZodString>;
|
|
2379
2366
|
}, z.core.$strict>;
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2367
|
+
}, z.core.$strict>;
|
|
2368
|
+
builder: z.ZodObject<{
|
|
2369
|
+
name: z.ZodNullable<z.ZodString>;
|
|
2370
|
+
}, z.core.$strict>;
|
|
2371
|
+
franchise: z.ZodNullable<z.ZodString>;
|
|
2372
|
+
}, z.core.$strict>>;
|
|
2373
|
+
permissions: z.ZodOptional<z.ZodObject<{
|
|
2374
|
+
internet_display: z.ZodNullable<z.ZodBoolean>;
|
|
2375
|
+
entire_listing_display: z.ZodNullable<z.ZodBoolean>;
|
|
2376
|
+
address_display: z.ZodNullable<z.ZodBoolean>;
|
|
2377
|
+
automated_valuation_display: z.ZodNullable<z.ZodBoolean>;
|
|
2378
|
+
consumer_comment: z.ZodNullable<z.ZodBoolean>;
|
|
2379
|
+
}, z.core.$strict>>;
|
|
2392
2380
|
}, z.core.$strict>>;
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
}, z.core.$strict>;
|
|
2397
|
-
export declare const SnapshotRequest: z.ZodObject<{
|
|
2398
|
-
dataset_id: z.ZodString;
|
|
2381
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
2382
|
+
has_more: z.ZodBoolean;
|
|
2383
|
+
meta: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
2399
2384
|
}, z.core.$strict>;
|
|
2400
|
-
export declare const
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2385
|
+
export declare const ListingMapQuery: z.ZodObject<{
|
|
2386
|
+
city: z.ZodOptional<z.ZodString>;
|
|
2387
|
+
region: z.ZodOptional<z.ZodString>;
|
|
2388
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
2389
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
2390
|
+
market_status: z.ZodOptional<z.ZodEnum<{
|
|
2391
|
+
pending: "pending";
|
|
2392
|
+
unknown: "unknown";
|
|
2404
2393
|
expired: "expired";
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2394
|
+
active: "active";
|
|
2395
|
+
active_under_contract: "active_under_contract";
|
|
2396
|
+
sold: "sold";
|
|
2397
|
+
withdrawn: "withdrawn";
|
|
2398
|
+
}>>;
|
|
2399
|
+
transaction_type: z.ZodOptional<z.ZodEnum<{
|
|
2400
|
+
for_sale: "for_sale";
|
|
2401
|
+
for_rent: "for_rent";
|
|
2402
|
+
}>>;
|
|
2403
|
+
property_type: z.ZodOptional<z.ZodString>;
|
|
2404
|
+
living_area_unit: z.ZodOptional<z.ZodEnum<{
|
|
2405
|
+
sqft: "sqft";
|
|
2406
|
+
sqm: "sqm";
|
|
2407
|
+
}>>;
|
|
2408
|
+
mls_number: z.ZodOptional<z.ZodString>;
|
|
2409
|
+
price_period: z.ZodOptional<z.ZodString>;
|
|
2410
|
+
dataset_id: z.ZodOptional<z.ZodString>;
|
|
2411
|
+
q: z.ZodOptional<z.ZodString>;
|
|
2412
|
+
profile: z.ZodOptional<z.ZodEnum<{
|
|
2413
|
+
catalog: "catalog";
|
|
2414
|
+
portal_active: "portal_active";
|
|
2415
|
+
}>>;
|
|
2416
|
+
max_bedrooms: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2417
|
+
min_bathrooms: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2418
|
+
max_bathrooms: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2419
|
+
min_living_area: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2420
|
+
max_living_area: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2421
|
+
address_q: z.ZodOptional<z.ZodString>;
|
|
2422
|
+
agent_id: z.ZodOptional<z.ZodString>;
|
|
2423
|
+
modified_since: z.ZodOptional<z.ZodISODateTime>;
|
|
2424
|
+
source_modified_since: z.ZodOptional<z.ZodISODateTime>;
|
|
2425
|
+
min_price: z.ZodOptional<z.ZodString>;
|
|
2426
|
+
max_price: z.ZodOptional<z.ZodString>;
|
|
2427
|
+
min_bedrooms: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2428
|
+
bbox: z.ZodString;
|
|
2429
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
2415
2430
|
}, z.core.$strict>;
|
|
2416
|
-
export declare const
|
|
2417
|
-
|
|
2418
|
-
sequence: z.ZodString;
|
|
2419
|
-
listing_id: z.ZodString;
|
|
2420
|
-
revision: z.ZodString;
|
|
2421
|
-
operation: z.ZodEnum<{
|
|
2422
|
-
upsert: "upsert";
|
|
2423
|
-
remove: "remove";
|
|
2424
|
-
}>;
|
|
2425
|
-
listing: z.ZodNullable<z.ZodObject<{
|
|
2431
|
+
export declare const ListingMapSchema: z.ZodObject<{
|
|
2432
|
+
data: z.ZodArray<z.ZodObject<{
|
|
2426
2433
|
id: z.ZodString;
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2434
|
+
latitude: z.ZodNumber;
|
|
2435
|
+
longitude: z.ZodNumber;
|
|
2436
|
+
price: z.ZodNullable<z.ZodObject<{
|
|
2437
|
+
amount: z.ZodString;
|
|
2438
|
+
currency: z.ZodString;
|
|
2439
|
+
period: z.ZodNullable<z.ZodString>;
|
|
2433
2440
|
}, z.core.$strict>>;
|
|
2441
|
+
property_type: z.ZodNullable<z.ZodString>;
|
|
2434
2442
|
market_status: z.ZodEnum<{
|
|
2435
2443
|
pending: "pending";
|
|
2436
2444
|
unknown: "unknown";
|
|
@@ -2440,446 +2448,485 @@ export declare const CatalogChangeSchema: z.ZodObject<{
|
|
|
2440
2448
|
sold: "sold";
|
|
2441
2449
|
withdrawn: "withdrawn";
|
|
2442
2450
|
}>;
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
region: z.ZodNullable<z.ZodString>;
|
|
2470
|
-
postal_code: z.ZodNullable<z.ZodString>;
|
|
2471
|
-
country: z.ZodNullable<z.ZodString>;
|
|
2472
|
-
}, z.core.$strict>;
|
|
2473
|
-
listing_agent_ids: z.ZodArray<z.ZodString>;
|
|
2474
|
-
description: z.ZodNullable<z.ZodString>;
|
|
2475
|
-
photos: z.ZodArray<z.ZodString>;
|
|
2476
|
-
photo_count: z.ZodOptional<z.ZodNumber>;
|
|
2477
|
-
media: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2478
|
-
url: z.ZodURL;
|
|
2479
|
-
order: z.ZodNumber;
|
|
2480
|
-
caption: z.ZodNullable<z.ZodString>;
|
|
2481
|
-
width: z.ZodNullable<z.ZodNumber>;
|
|
2482
|
-
height: z.ZodNullable<z.ZodNumber>;
|
|
2483
|
-
modified_at: z.ZodNullable<z.ZodISODateTime>;
|
|
2484
|
-
delivery: z.ZodEnum<{
|
|
2485
|
-
source_url: "source_url";
|
|
2486
|
-
hosted: "hosted";
|
|
2487
|
-
}>;
|
|
2488
|
-
renditions: z.ZodOptional<z.ZodObject<{
|
|
2489
|
-
thumbnail: z.ZodObject<{
|
|
2490
|
-
url: z.ZodURL;
|
|
2491
|
-
max_width: z.ZodNumber;
|
|
2492
|
-
max_height: z.ZodNumber;
|
|
2493
|
-
}, z.core.$strict>;
|
|
2494
|
-
map: z.ZodObject<{
|
|
2495
|
-
url: z.ZodURL;
|
|
2496
|
-
max_width: z.ZodNumber;
|
|
2497
|
-
max_height: z.ZodNumber;
|
|
2498
|
-
}, z.core.$strict>;
|
|
2499
|
-
card: z.ZodObject<{
|
|
2500
|
-
url: z.ZodURL;
|
|
2501
|
-
max_width: z.ZodNumber;
|
|
2502
|
-
max_height: z.ZodNumber;
|
|
2503
|
-
}, z.core.$strict>;
|
|
2504
|
-
gallery: z.ZodObject<{
|
|
2505
|
-
url: z.ZodURL;
|
|
2506
|
-
max_width: z.ZodNumber;
|
|
2507
|
-
max_height: z.ZodNumber;
|
|
2508
|
-
}, z.core.$strict>;
|
|
2509
|
-
}, z.core.$strict>>;
|
|
2510
|
-
}, z.core.$strict>>>;
|
|
2511
|
-
attribution: z.ZodOptional<z.ZodObject<{
|
|
2512
|
-
agent_name: z.ZodNullable<z.ZodString>;
|
|
2513
|
-
agent_license: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2514
|
-
office_name: z.ZodNullable<z.ZodString>;
|
|
2515
|
-
office_key: z.ZodNullable<z.ZodString>;
|
|
2516
|
-
office_phone: z.ZodNullable<z.ZodString>;
|
|
2517
|
-
office_website: z.ZodNullable<z.ZodURL>;
|
|
2518
|
-
broker_name: z.ZodNullable<z.ZodString>;
|
|
2519
|
-
broker_phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2520
|
-
originating_system: z.ZodNullable<z.ZodString>;
|
|
2521
|
-
}, z.core.$strict>>;
|
|
2522
|
-
property_details: z.ZodOptional<z.ZodObject<{
|
|
2523
|
-
category: z.ZodNullable<z.ZodString>;
|
|
2524
|
-
sub_type: z.ZodNullable<z.ZodString>;
|
|
2525
|
-
bathrooms_full: z.ZodNullable<z.ZodNumber>;
|
|
2526
|
-
bathrooms_half: z.ZodNullable<z.ZodNumber>;
|
|
2527
|
-
bathrooms_one_quarter: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2528
|
-
bathrooms_three_quarter: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2529
|
-
stories: z.ZodNullable<z.ZodNumber>;
|
|
2530
|
-
garage_spaces: z.ZodNullable<z.ZodNumber>;
|
|
2531
|
-
parking_total: z.ZodNullable<z.ZodNumber>;
|
|
2532
|
-
county: z.ZodNullable<z.ZodString>;
|
|
2533
|
-
subdivision: z.ZodNullable<z.ZodString>;
|
|
2534
|
-
features: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
|
|
2535
|
-
source_flags: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
2536
|
-
AssociationYN: "AssociationYN";
|
|
2537
|
-
AttachedGarageYN: "AttachedGarageYN";
|
|
2538
|
-
BasementYN: "BasementYN";
|
|
2539
|
-
CarportYN: "CarportYN";
|
|
2540
|
-
CoolingYN: "CoolingYN";
|
|
2541
|
-
ElectricOnPropertyYN: "ElectricOnPropertyYN";
|
|
2542
|
-
FireplaceYN: "FireplaceYN";
|
|
2543
|
-
GarageYN: "GarageYN";
|
|
2544
|
-
HeatingYN: "HeatingYN";
|
|
2545
|
-
NewConstructionYN: "NewConstructionYN";
|
|
2546
|
-
PoolPrivateYN: "PoolPrivateYN";
|
|
2547
|
-
SpaYN: "SpaYN";
|
|
2548
|
-
WaterfrontYN: "WaterfrontYN";
|
|
2549
|
-
AccessibleElevatorInstalled: "AccessibleElevatorInstalled";
|
|
2550
|
-
Dock: "Dock";
|
|
2551
|
-
}> & z.core.$partial, z.ZodBoolean>>;
|
|
2552
|
-
association_fees: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2553
|
-
kind: z.ZodEnum<{
|
|
2554
|
-
association: "association";
|
|
2555
|
-
association_secondary: "association_secondary";
|
|
2556
|
-
}>;
|
|
2557
|
-
amount: z.ZodNullable<z.ZodString>;
|
|
2558
|
-
amount_state: z.ZodEnum<{
|
|
2559
|
-
unknown: "unknown";
|
|
2560
|
-
supported: "supported";
|
|
2561
|
-
not_stated: "not_stated";
|
|
2562
|
-
}>;
|
|
2563
|
-
currency: z.ZodNullable<z.ZodString>;
|
|
2564
|
-
currency_source: z.ZodNullable<z.ZodEnum<{
|
|
2565
|
-
field: "field";
|
|
2566
|
-
source_default: "source_default";
|
|
2567
|
-
}>>;
|
|
2568
|
-
currency_state: z.ZodEnum<{
|
|
2569
|
-
unknown: "unknown";
|
|
2570
|
-
supported: "supported";
|
|
2571
|
-
not_stated: "not_stated";
|
|
2572
|
-
}>;
|
|
2573
|
-
period: z.ZodNullable<z.ZodEnum<{
|
|
2574
|
-
year: "year";
|
|
2575
|
-
day: "day";
|
|
2576
|
-
week: "week";
|
|
2577
|
-
month: "month";
|
|
2578
|
-
quarter: "quarter";
|
|
2579
|
-
half_year: "half_year";
|
|
2580
|
-
one_time: "one_time";
|
|
2581
|
-
}>>;
|
|
2582
|
-
period_state: z.ZodEnum<{
|
|
2583
|
-
unknown: "unknown";
|
|
2584
|
-
supported: "supported";
|
|
2585
|
-
not_stated: "not_stated";
|
|
2586
|
-
}>;
|
|
2587
|
-
source_paths: z.ZodArray<z.ZodString>;
|
|
2588
|
-
}, z.core.$strict>>>;
|
|
2589
|
-
rooms: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2590
|
-
type: z.ZodNullable<z.ZodString>;
|
|
2591
|
-
level: z.ZodNullable<z.ZodString>;
|
|
2592
|
-
features: z.ZodArray<z.ZodString>;
|
|
2593
|
-
dimensions: z.ZodNullable<z.ZodString>;
|
|
2594
|
-
length: z.ZodNullable<z.ZodNumber>;
|
|
2595
|
-
width: z.ZodNullable<z.ZodNumber>;
|
|
2596
|
-
unit: z.ZodNullable<z.ZodString>;
|
|
2597
|
-
source_paths: z.ZodArray<z.ZodString>;
|
|
2598
|
-
}, z.core.$strict>>>;
|
|
2599
|
-
year_built_effective: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2600
|
-
units_total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2601
|
-
entry_level: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2602
|
-
}, z.core.$strict>>;
|
|
2603
|
-
raw_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2604
|
-
property_type: z.ZodNullable<z.ZodString>;
|
|
2605
|
-
bedrooms: z.ZodNullable<z.ZodNumber>;
|
|
2606
|
-
bathrooms: z.ZodNullable<z.ZodNumber>;
|
|
2607
|
-
living_area: z.ZodNullable<z.ZodNumber>;
|
|
2608
|
-
living_area_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2609
|
-
lot_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2610
|
-
lot_size_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2611
|
-
year_built: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2612
|
-
latitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2613
|
-
longitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2614
|
-
location: z.ZodOptional<z.ZodObject<{
|
|
2615
|
-
state: z.ZodEnum<{
|
|
2616
|
-
source: "source";
|
|
2451
|
+
}, z.core.$strict>>;
|
|
2452
|
+
total: z.ZodNumber;
|
|
2453
|
+
truncated: z.ZodBoolean;
|
|
2454
|
+
meta: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
2455
|
+
}, z.core.$strict>;
|
|
2456
|
+
export declare const SimilarListingQuery: z.ZodObject<{
|
|
2457
|
+
id: z.ZodString;
|
|
2458
|
+
dataset_id: z.ZodOptional<z.ZodString>;
|
|
2459
|
+
profile: z.ZodOptional<z.ZodEnum<{
|
|
2460
|
+
catalog: "catalog";
|
|
2461
|
+
portal_active: "portal_active";
|
|
2462
|
+
}>>;
|
|
2463
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
2464
|
+
}, z.core.$strict>;
|
|
2465
|
+
export declare const SimilarListingsSchema: z.ZodObject<{
|
|
2466
|
+
data: z.ZodArray<z.ZodObject<{
|
|
2467
|
+
listing: z.ZodObject<{
|
|
2468
|
+
id: z.ZodString;
|
|
2469
|
+
episode_id: z.ZodString;
|
|
2470
|
+
revision: z.ZodString;
|
|
2471
|
+
property_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2472
|
+
source_identities: z.ZodArray<z.ZodObject<{
|
|
2473
|
+
source: z.ZodString;
|
|
2474
|
+
key: z.ZodString;
|
|
2475
|
+
}, z.core.$strict>>;
|
|
2476
|
+
market_status: z.ZodEnum<{
|
|
2617
2477
|
pending: "pending";
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2478
|
+
unknown: "unknown";
|
|
2479
|
+
expired: "expired";
|
|
2480
|
+
active: "active";
|
|
2481
|
+
active_under_contract: "active_under_contract";
|
|
2482
|
+
sold: "sold";
|
|
2483
|
+
withdrawn: "withdrawn";
|
|
2623
2484
|
}>;
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2485
|
+
source_availability: z.ZodEnum<{
|
|
2486
|
+
present: "present";
|
|
2487
|
+
removed_unknown: "removed_unknown";
|
|
2488
|
+
}>;
|
|
2489
|
+
display_eligibility: z.ZodBoolean;
|
|
2490
|
+
price: z.ZodNullable<z.ZodObject<{
|
|
2491
|
+
amount: z.ZodString;
|
|
2492
|
+
currency: z.ZodString;
|
|
2493
|
+
period: z.ZodNullable<z.ZodString>;
|
|
2494
|
+
}, z.core.$strict>>;
|
|
2495
|
+
transaction_type: z.ZodOptional<z.ZodEnum<{
|
|
2496
|
+
unknown: "unknown";
|
|
2497
|
+
conflicting: "conflicting";
|
|
2498
|
+
for_sale: "for_sale";
|
|
2499
|
+
for_rent: "for_rent";
|
|
2627
2500
|
}>>;
|
|
2628
|
-
|
|
2629
|
-
source_unknown: "source_unknown";
|
|
2630
|
-
parcel: "parcel";
|
|
2631
|
-
street: "street";
|
|
2632
|
-
area: "area";
|
|
2501
|
+
price_period_state: z.ZodOptional<z.ZodEnum<{
|
|
2633
2502
|
unknown: "unknown";
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2503
|
+
supported: "supported";
|
|
2504
|
+
not_stated: "not_stated";
|
|
2505
|
+
conflicting: "conflicting";
|
|
2506
|
+
}>>;
|
|
2507
|
+
address: z.ZodObject<{
|
|
2508
|
+
street: z.ZodNullable<z.ZodString>;
|
|
2509
|
+
unit: z.ZodNullable<z.ZodString>;
|
|
2510
|
+
city: z.ZodNullable<z.ZodString>;
|
|
2511
|
+
region: z.ZodNullable<z.ZodString>;
|
|
2512
|
+
postal_code: z.ZodNullable<z.ZodString>;
|
|
2513
|
+
country: z.ZodNullable<z.ZodString>;
|
|
2514
|
+
}, z.core.$strict>;
|
|
2515
|
+
listing_agent_ids: z.ZodArray<z.ZodString>;
|
|
2516
|
+
description: z.ZodNullable<z.ZodString>;
|
|
2517
|
+
photos: z.ZodArray<z.ZodString>;
|
|
2518
|
+
photo_count: z.ZodOptional<z.ZodNumber>;
|
|
2519
|
+
media: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2520
|
+
url: z.ZodURL;
|
|
2521
|
+
order: z.ZodNumber;
|
|
2522
|
+
caption: z.ZodNullable<z.ZodString>;
|
|
2523
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
2524
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
2525
|
+
modified_at: z.ZodNullable<z.ZodISODateTime>;
|
|
2526
|
+
delivery: z.ZodEnum<{
|
|
2527
|
+
source_url: "source_url";
|
|
2528
|
+
hosted: "hosted";
|
|
2529
|
+
}>;
|
|
2530
|
+
renditions: z.ZodOptional<z.ZodObject<{
|
|
2531
|
+
thumbnail: z.ZodObject<{
|
|
2532
|
+
url: z.ZodURL;
|
|
2533
|
+
max_width: z.ZodNumber;
|
|
2534
|
+
max_height: z.ZodNumber;
|
|
2535
|
+
}, z.core.$strict>;
|
|
2536
|
+
map: z.ZodObject<{
|
|
2537
|
+
url: z.ZodURL;
|
|
2538
|
+
max_width: z.ZodNumber;
|
|
2539
|
+
max_height: z.ZodNumber;
|
|
2540
|
+
}, z.core.$strict>;
|
|
2541
|
+
card: z.ZodObject<{
|
|
2542
|
+
url: z.ZodURL;
|
|
2543
|
+
max_width: z.ZodNumber;
|
|
2544
|
+
max_height: z.ZodNumber;
|
|
2545
|
+
}, z.core.$strict>;
|
|
2546
|
+
gallery: z.ZodObject<{
|
|
2547
|
+
url: z.ZodURL;
|
|
2548
|
+
max_width: z.ZodNumber;
|
|
2549
|
+
max_height: z.ZodNumber;
|
|
2550
|
+
}, z.core.$strict>;
|
|
2551
|
+
}, z.core.$strict>>;
|
|
2552
|
+
}, z.core.$strict>>>;
|
|
2553
|
+
attribution: z.ZodOptional<z.ZodObject<{
|
|
2554
|
+
agent_name: z.ZodNullable<z.ZodString>;
|
|
2555
|
+
agent_license: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2556
|
+
office_name: z.ZodNullable<z.ZodString>;
|
|
2557
|
+
office_key: z.ZodNullable<z.ZodString>;
|
|
2558
|
+
office_phone: z.ZodNullable<z.ZodString>;
|
|
2559
|
+
office_website: z.ZodNullable<z.ZodURL>;
|
|
2560
|
+
broker_name: z.ZodNullable<z.ZodString>;
|
|
2561
|
+
broker_phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2562
|
+
originating_system: z.ZodNullable<z.ZodString>;
|
|
2563
|
+
}, z.core.$strict>>;
|
|
2564
|
+
property_details: z.ZodOptional<z.ZodObject<{
|
|
2565
|
+
category: z.ZodNullable<z.ZodString>;
|
|
2566
|
+
sub_type: z.ZodNullable<z.ZodString>;
|
|
2567
|
+
bathrooms_full: z.ZodNullable<z.ZodNumber>;
|
|
2568
|
+
bathrooms_half: z.ZodNullable<z.ZodNumber>;
|
|
2569
|
+
bathrooms_one_quarter: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2570
|
+
bathrooms_three_quarter: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2571
|
+
stories: z.ZodNullable<z.ZodNumber>;
|
|
2572
|
+
garage_spaces: z.ZodNullable<z.ZodNumber>;
|
|
2573
|
+
parking_total: z.ZodNullable<z.ZodNumber>;
|
|
2574
|
+
county: z.ZodNullable<z.ZodString>;
|
|
2575
|
+
subdivision: z.ZodNullable<z.ZodString>;
|
|
2576
|
+
features: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
|
|
2577
|
+
source_flags: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
2578
|
+
AssociationYN: "AssociationYN";
|
|
2579
|
+
AttachedGarageYN: "AttachedGarageYN";
|
|
2580
|
+
BasementYN: "BasementYN";
|
|
2581
|
+
CarportYN: "CarportYN";
|
|
2582
|
+
CoolingYN: "CoolingYN";
|
|
2583
|
+
ElectricOnPropertyYN: "ElectricOnPropertyYN";
|
|
2584
|
+
FireplaceYN: "FireplaceYN";
|
|
2585
|
+
GarageYN: "GarageYN";
|
|
2586
|
+
HeatingYN: "HeatingYN";
|
|
2587
|
+
NewConstructionYN: "NewConstructionYN";
|
|
2588
|
+
PoolPrivateYN: "PoolPrivateYN";
|
|
2589
|
+
SpaYN: "SpaYN";
|
|
2590
|
+
WaterfrontYN: "WaterfrontYN";
|
|
2591
|
+
AccessibleElevatorInstalled: "AccessibleElevatorInstalled";
|
|
2592
|
+
Dock: "Dock";
|
|
2593
|
+
}> & z.core.$partial, z.ZodBoolean>>;
|
|
2594
|
+
association_fees: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2595
|
+
kind: z.ZodEnum<{
|
|
2596
|
+
association: "association";
|
|
2597
|
+
association_secondary: "association_secondary";
|
|
2598
|
+
}>;
|
|
2599
|
+
amount: z.ZodNullable<z.ZodString>;
|
|
2600
|
+
amount_state: z.ZodEnum<{
|
|
2601
|
+
unknown: "unknown";
|
|
2602
|
+
supported: "supported";
|
|
2603
|
+
not_stated: "not_stated";
|
|
2604
|
+
}>;
|
|
2605
|
+
currency: z.ZodNullable<z.ZodString>;
|
|
2606
|
+
currency_source: z.ZodNullable<z.ZodEnum<{
|
|
2607
|
+
field: "field";
|
|
2608
|
+
source_default: "source_default";
|
|
2609
|
+
}>>;
|
|
2610
|
+
currency_state: z.ZodEnum<{
|
|
2611
|
+
unknown: "unknown";
|
|
2612
|
+
supported: "supported";
|
|
2613
|
+
not_stated: "not_stated";
|
|
2614
|
+
}>;
|
|
2615
|
+
period: z.ZodNullable<z.ZodEnum<{
|
|
2616
|
+
year: "year";
|
|
2617
|
+
day: "day";
|
|
2618
|
+
week: "week";
|
|
2619
|
+
month: "month";
|
|
2620
|
+
quarter: "quarter";
|
|
2621
|
+
half_year: "half_year";
|
|
2622
|
+
one_time: "one_time";
|
|
2623
|
+
}>>;
|
|
2624
|
+
period_state: z.ZodEnum<{
|
|
2625
|
+
unknown: "unknown";
|
|
2626
|
+
supported: "supported";
|
|
2627
|
+
not_stated: "not_stated";
|
|
2628
|
+
}>;
|
|
2629
|
+
source_paths: z.ZodArray<z.ZodString>;
|
|
2630
|
+
}, z.core.$strict>>>;
|
|
2631
|
+
rooms: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2632
|
+
type: z.ZodNullable<z.ZodString>;
|
|
2633
|
+
level: z.ZodNullable<z.ZodString>;
|
|
2634
|
+
features: z.ZodArray<z.ZodString>;
|
|
2635
|
+
dimensions: z.ZodNullable<z.ZodString>;
|
|
2636
|
+
length: z.ZodNullable<z.ZodNumber>;
|
|
2637
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
2638
|
+
unit: z.ZodNullable<z.ZodString>;
|
|
2639
|
+
source_paths: z.ZodArray<z.ZodString>;
|
|
2640
|
+
}, z.core.$strict>>>;
|
|
2641
|
+
year_built_effective: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2642
|
+
units_total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2643
|
+
entry_level: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2644
|
+
}, z.core.$strict>>;
|
|
2645
|
+
raw_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2646
|
+
property_type: z.ZodNullable<z.ZodString>;
|
|
2647
|
+
bedrooms: z.ZodNullable<z.ZodNumber>;
|
|
2648
|
+
bathrooms: z.ZodNullable<z.ZodNumber>;
|
|
2649
|
+
living_area: z.ZodNullable<z.ZodNumber>;
|
|
2650
|
+
living_area_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2651
|
+
lot_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2652
|
+
lot_size_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2653
|
+
year_built: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2654
|
+
latitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2655
|
+
longitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2656
|
+
location: z.ZodOptional<z.ZodObject<{
|
|
2657
|
+
state: z.ZodEnum<{
|
|
2658
|
+
source: "source";
|
|
2659
|
+
pending: "pending";
|
|
2660
|
+
resolved: "resolved";
|
|
2661
|
+
coarse: "coarse";
|
|
2662
|
+
unavailable: "unavailable";
|
|
2663
|
+
stale: "stale";
|
|
2664
|
+
suppressed: "suppressed";
|
|
2665
|
+
}>;
|
|
2666
|
+
origin: z.ZodNullable<z.ZodEnum<{
|
|
2667
|
+
source: "source";
|
|
2668
|
+
geocoded: "geocoded";
|
|
2660
2669
|
}>>;
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
+
precision: z.ZodEnum<{
|
|
2671
|
+
source_unknown: "source_unknown";
|
|
2672
|
+
parcel: "parcel";
|
|
2673
|
+
street: "street";
|
|
2674
|
+
area: "area";
|
|
2675
|
+
unknown: "unknown";
|
|
2676
|
+
}>;
|
|
2677
|
+
map_eligible: z.ZodBoolean;
|
|
2678
|
+
coordinates: z.ZodNullable<z.ZodObject<{
|
|
2679
|
+
latitude: z.ZodNumber;
|
|
2680
|
+
longitude: z.ZodNumber;
|
|
2681
|
+
}, z.core.$strip>>;
|
|
2682
|
+
accuracy_score: z.ZodNullable<z.ZodNumber>;
|
|
2683
|
+
accuracy_type: z.ZodNullable<z.ZodString>;
|
|
2684
|
+
match_type: z.ZodNullable<z.ZodString>;
|
|
2685
|
+
provider: z.ZodNullable<z.ZodString>;
|
|
2686
|
+
provider_version: z.ZodNullable<z.ZodString>;
|
|
2687
|
+
policy_version: z.ZodString;
|
|
2670
2688
|
source: z.ZodNullable<z.ZodString>;
|
|
2689
|
+
resolved_at: z.ZodNullable<z.ZodISODateTime>;
|
|
2690
|
+
valid_until: z.ZodNullable<z.ZodISODateTime>;
|
|
2691
|
+
country_code: z.ZodNullable<z.ZodString>;
|
|
2692
|
+
region_code: z.ZodNullable<z.ZodString>;
|
|
2693
|
+
timezone: z.ZodNullable<z.ZodString>;
|
|
2694
|
+
enrichment: z.ZodNullable<z.ZodObject<{
|
|
2695
|
+
provider: z.ZodString;
|
|
2696
|
+
provider_version: z.ZodString;
|
|
2697
|
+
resolved_at: z.ZodISODateTime;
|
|
2698
|
+
valid_until: z.ZodISODateTime;
|
|
2699
|
+
fields: z.ZodArray<z.ZodEnum<{
|
|
2700
|
+
timezone: "timezone";
|
|
2701
|
+
census2025: "census2025";
|
|
2702
|
+
}>>;
|
|
2703
|
+
}, z.core.$strip>>;
|
|
2704
|
+
geography: z.ZodNullable<z.ZodObject<{
|
|
2705
|
+
census_year: z.ZodNumber;
|
|
2706
|
+
state_fips: z.ZodNullable<z.ZodString>;
|
|
2707
|
+
county_fips: z.ZodNullable<z.ZodString>;
|
|
2708
|
+
tract_geoid: z.ZodNullable<z.ZodString>;
|
|
2709
|
+
block_geoid: z.ZodNullable<z.ZodString>;
|
|
2710
|
+
place_fips: z.ZodNullable<z.ZodString>;
|
|
2711
|
+
cbsa_code: z.ZodNullable<z.ZodString>;
|
|
2712
|
+
source: z.ZodNullable<z.ZodString>;
|
|
2713
|
+
}, z.core.$strip>>;
|
|
2714
|
+
issue: z.ZodNullable<z.ZodEnum<{
|
|
2715
|
+
pending: "pending";
|
|
2716
|
+
invalid_source_point: "invalid_source_point";
|
|
2717
|
+
insufficient_address: "insufficient_address";
|
|
2718
|
+
unsupported_country: "unsupported_country";
|
|
2719
|
+
no_match: "no_match";
|
|
2720
|
+
low_quality: "low_quality";
|
|
2721
|
+
provider_failure: "provider_failure";
|
|
2722
|
+
expired: "expired";
|
|
2723
|
+
display_restricted: "display_restricted";
|
|
2724
|
+
}>>;
|
|
2671
2725
|
}, z.core.$strip>>;
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
provider_failure: "provider_failure";
|
|
2680
|
-
expired: "expired";
|
|
2681
|
-
display_restricted: "display_restricted";
|
|
2682
|
-
}>>;
|
|
2683
|
-
}, z.core.$strip>>;
|
|
2684
|
-
mls_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2685
|
-
source_url: z.ZodNullable<z.ZodString>;
|
|
2686
|
-
listed_date: z.ZodNullable<z.ZodString>;
|
|
2687
|
-
listed_precision: z.ZodEnum<{
|
|
2688
|
-
unknown: "unknown";
|
|
2689
|
-
date: "date";
|
|
2690
|
-
instant: "instant";
|
|
2691
|
-
}>;
|
|
2692
|
-
open_houses: z.ZodArray<z.ZodObject<{
|
|
2693
|
-
id: z.ZodString;
|
|
2694
|
-
start_at: z.ZodString;
|
|
2695
|
-
end_at: z.ZodNullable<z.ZodString>;
|
|
2696
|
-
timezone: z.ZodNullable<z.ZodString>;
|
|
2697
|
-
status: z.ZodEnum<{
|
|
2698
|
-
scheduled: "scheduled";
|
|
2699
|
-
cancelled: "cancelled";
|
|
2700
|
-
}>;
|
|
2701
|
-
}, z.core.$strict>>;
|
|
2702
|
-
classifications: z.ZodArray<z.ZodObject<{
|
|
2703
|
-
attribute: z.ZodString;
|
|
2704
|
-
value: z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodNull]>;
|
|
2705
|
-
evidence_state: z.ZodEnum<{
|
|
2706
|
-
supported: "supported";
|
|
2707
|
-
not_stated: "not_stated";
|
|
2708
|
-
conflicting: "conflicting";
|
|
2709
|
-
explicitly_absent: "explicitly_absent";
|
|
2710
|
-
}>;
|
|
2711
|
-
origin: z.ZodEnum<{
|
|
2712
|
-
source_structured: "source_structured";
|
|
2713
|
-
source_text_interpreted: "source_text_interpreted";
|
|
2714
|
-
}>;
|
|
2715
|
-
evidence_refs: z.ZodArray<z.ZodString>;
|
|
2716
|
-
input_fingerprint: z.ZodString;
|
|
2717
|
-
taxonomy_version: z.ZodString;
|
|
2718
|
-
evaluation_id: z.ZodString;
|
|
2719
|
-
freshness: z.ZodEnum<{
|
|
2720
|
-
pending: "pending";
|
|
2721
|
-
current: "current";
|
|
2722
|
-
invalidated: "invalidated";
|
|
2723
|
-
failed: "failed";
|
|
2726
|
+
mls_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2727
|
+
source_url: z.ZodNullable<z.ZodString>;
|
|
2728
|
+
listed_date: z.ZodNullable<z.ZodString>;
|
|
2729
|
+
listed_precision: z.ZodEnum<{
|
|
2730
|
+
unknown: "unknown";
|
|
2731
|
+
date: "date";
|
|
2732
|
+
instant: "instant";
|
|
2724
2733
|
}>;
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
solar: "solar";
|
|
2740
|
-
ev_charger: "ev_charger";
|
|
2741
|
-
rv_parking: "rv_parking";
|
|
2742
|
-
view: "view";
|
|
2743
|
-
}>, z.ZodObject<{
|
|
2744
|
-
value: z.ZodNullable<z.ZodBoolean>;
|
|
2745
|
-
state: z.ZodEnum<{
|
|
2734
|
+
open_houses: z.ZodArray<z.ZodObject<{
|
|
2735
|
+
id: z.ZodString;
|
|
2736
|
+
start_at: z.ZodString;
|
|
2737
|
+
end_at: z.ZodNullable<z.ZodString>;
|
|
2738
|
+
timezone: z.ZodNullable<z.ZodString>;
|
|
2739
|
+
status: z.ZodEnum<{
|
|
2740
|
+
scheduled: "scheduled";
|
|
2741
|
+
cancelled: "cancelled";
|
|
2742
|
+
}>;
|
|
2743
|
+
}, z.core.$strict>>;
|
|
2744
|
+
classifications: z.ZodArray<z.ZodObject<{
|
|
2745
|
+
attribute: z.ZodString;
|
|
2746
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodNull]>;
|
|
2747
|
+
evidence_state: z.ZodEnum<{
|
|
2746
2748
|
supported: "supported";
|
|
2747
2749
|
not_stated: "not_stated";
|
|
2748
2750
|
conflicting: "conflicting";
|
|
2751
|
+
explicitly_absent: "explicitly_absent";
|
|
2749
2752
|
}>;
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
search_document: z.ZodOptional<z.ZodObject<{
|
|
2754
|
-
version: z.ZodLiteral<"catalog-search-text-v1">;
|
|
2755
|
-
text: z.ZodString;
|
|
2756
|
-
}, z.core.$strict>>;
|
|
2757
|
-
content_hash: z.ZodOptional<z.ZodString>;
|
|
2758
|
-
source_fields: z.ZodOptional<z.ZodObject<{
|
|
2759
|
-
listhub: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
2760
|
-
}, z.core.$strict>>;
|
|
2761
|
-
source_metadata: z.ZodOptional<z.ZodObject<{
|
|
2762
|
-
contract_version: z.ZodLiteral<"catalog-fields-v2">;
|
|
2763
|
-
parser_version: z.ZodString;
|
|
2764
|
-
exposure_version: z.ZodString;
|
|
2765
|
-
source_system_id: z.ZodNullable<z.ZodString>;
|
|
2766
|
-
source_system_name: z.ZodNullable<z.ZodString>;
|
|
2767
|
-
originating_system_name: z.ZodNullable<z.ZodString>;
|
|
2768
|
-
source_photo_count: z.ZodNullable<z.ZodNumber>;
|
|
2769
|
-
supplied_paths: z.ZodArray<z.ZodString>;
|
|
2770
|
-
}, z.core.$strict>>;
|
|
2771
|
-
market_dates: z.ZodOptional<z.ZodObject<{
|
|
2772
|
-
listing_contract: z.ZodObject<{
|
|
2773
|
-
value: z.ZodNullable<z.ZodString>;
|
|
2774
|
-
precision: z.ZodEnum<{
|
|
2775
|
-
unknown: "unknown";
|
|
2776
|
-
date: "date";
|
|
2777
|
-
instant: "instant";
|
|
2753
|
+
origin: z.ZodEnum<{
|
|
2754
|
+
source_structured: "source_structured";
|
|
2755
|
+
source_text_interpreted: "source_text_interpreted";
|
|
2778
2756
|
}>;
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2757
|
+
evidence_refs: z.ZodArray<z.ZodString>;
|
|
2758
|
+
input_fingerprint: z.ZodString;
|
|
2759
|
+
taxonomy_version: z.ZodString;
|
|
2760
|
+
evaluation_id: z.ZodString;
|
|
2761
|
+
freshness: z.ZodEnum<{
|
|
2762
|
+
pending: "pending";
|
|
2763
|
+
current: "current";
|
|
2764
|
+
invalidated: "invalidated";
|
|
2765
|
+
failed: "failed";
|
|
2786
2766
|
}>;
|
|
2767
|
+
}, z.core.$strict>>;
|
|
2768
|
+
display: z.ZodObject<{
|
|
2769
|
+
address_allowed: z.ZodBoolean;
|
|
2770
|
+
disclaimer: z.ZodNullable<z.ZodString>;
|
|
2787
2771
|
}, z.core.$strict>;
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2772
|
+
freshness: z.ZodObject<{
|
|
2773
|
+
last_seen_at: z.ZodISODateTime;
|
|
2774
|
+
published_at: z.ZodISODateTime;
|
|
2775
|
+
source_modified_at: z.ZodNullable<z.ZodISODateTime>;
|
|
2776
|
+
}, z.core.$strict>;
|
|
2777
|
+
source_amenities: z.ZodOptional<z.ZodObject<{
|
|
2778
|
+
version: z.ZodLiteral<"source-amenities-v1">;
|
|
2779
|
+
values: z.ZodRecord<z.ZodEnum<{
|
|
2780
|
+
hardwood: "hardwood";
|
|
2781
|
+
solar: "solar";
|
|
2782
|
+
ev_charger: "ev_charger";
|
|
2783
|
+
rv_parking: "rv_parking";
|
|
2784
|
+
view: "view";
|
|
2785
|
+
}>, z.ZodObject<{
|
|
2786
|
+
value: z.ZodNullable<z.ZodBoolean>;
|
|
2787
|
+
state: z.ZodEnum<{
|
|
2788
|
+
supported: "supported";
|
|
2789
|
+
not_stated: "not_stated";
|
|
2790
|
+
conflicting: "conflicting";
|
|
2791
|
+
}>;
|
|
2792
|
+
source_paths: z.ZodArray<z.ZodString>;
|
|
2793
|
+
}, z.core.$strict>>;
|
|
2794
|
+
}, z.core.$strict>>;
|
|
2795
|
+
search_document: z.ZodOptional<z.ZodObject<{
|
|
2796
|
+
version: z.ZodLiteral<"catalog-search-text-v1">;
|
|
2797
|
+
text: z.ZodString;
|
|
2798
|
+
}, z.core.$strict>>;
|
|
2799
|
+
content_hash: z.ZodOptional<z.ZodString>;
|
|
2800
|
+
source_fields: z.ZodOptional<z.ZodObject<{
|
|
2801
|
+
listhub: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
2802
|
+
}, z.core.$strict>>;
|
|
2803
|
+
source_metadata: z.ZodOptional<z.ZodObject<{
|
|
2804
|
+
contract_version: z.ZodLiteral<"catalog-fields-v2">;
|
|
2805
|
+
parser_version: z.ZodString;
|
|
2806
|
+
exposure_version: z.ZodString;
|
|
2807
|
+
source_system_id: z.ZodNullable<z.ZodString>;
|
|
2808
|
+
source_system_name: z.ZodNullable<z.ZodString>;
|
|
2809
|
+
originating_system_name: z.ZodNullable<z.ZodString>;
|
|
2810
|
+
source_photo_count: z.ZodNullable<z.ZodNumber>;
|
|
2811
|
+
supplied_paths: z.ZodArray<z.ZodString>;
|
|
2812
|
+
}, z.core.$strict>>;
|
|
2813
|
+
market_dates: z.ZodOptional<z.ZodObject<{
|
|
2814
|
+
listing_contract: z.ZodObject<{
|
|
2815
|
+
value: z.ZodNullable<z.ZodString>;
|
|
2816
|
+
precision: z.ZodEnum<{
|
|
2817
|
+
unknown: "unknown";
|
|
2818
|
+
date: "date";
|
|
2819
|
+
instant: "instant";
|
|
2820
|
+
}>;
|
|
2821
|
+
}, z.core.$strict>;
|
|
2822
|
+
on_market: z.ZodObject<{
|
|
2823
|
+
value: z.ZodNullable<z.ZodString>;
|
|
2824
|
+
precision: z.ZodEnum<{
|
|
2825
|
+
unknown: "unknown";
|
|
2826
|
+
date: "date";
|
|
2827
|
+
instant: "instant";
|
|
2828
|
+
}>;
|
|
2829
|
+
}, z.core.$strict>;
|
|
2830
|
+
source_days_on_market: z.ZodNullable<z.ZodNumber>;
|
|
2831
|
+
source_cumulative_days_on_market: z.ZodNullable<z.ZodNumber>;
|
|
2832
|
+
}, z.core.$strict>>;
|
|
2833
|
+
taxes: z.ZodOptional<z.ZodObject<{
|
|
2834
|
+
annual_amount: z.ZodNullable<z.ZodString>;
|
|
2835
|
+
currency: z.ZodNullable<z.ZodString>;
|
|
2836
|
+
year: z.ZodNullable<z.ZodNumber>;
|
|
2837
|
+
}, z.core.$strict>>;
|
|
2838
|
+
schools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2839
|
+
level: z.ZodEnum<{
|
|
2840
|
+
elementary: "elementary";
|
|
2841
|
+
middle: "middle";
|
|
2842
|
+
high: "high";
|
|
2819
2843
|
}>;
|
|
2820
|
-
}, z.core.$strict>;
|
|
2821
|
-
}, z.core.$strict>>;
|
|
2822
|
-
virtual_tours: z.ZodOptional<z.ZodObject<{
|
|
2823
|
-
branded_url: z.ZodNullable<z.ZodURL>;
|
|
2824
|
-
unbranded_url: z.ZodNullable<z.ZodURL>;
|
|
2825
|
-
}, z.core.$strict>>;
|
|
2826
|
-
additional_media: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2827
|
-
url: z.ZodURL;
|
|
2828
|
-
categories: z.ZodArray<z.ZodString>;
|
|
2829
|
-
order: z.ZodNumber;
|
|
2830
|
-
caption: z.ZodNullable<z.ZodString>;
|
|
2831
|
-
}, z.core.$strict>>>;
|
|
2832
|
-
professionals: z.ZodOptional<z.ZodObject<{
|
|
2833
|
-
agent: z.ZodObject<{
|
|
2834
|
-
full_name: z.ZodNullable<z.ZodString>;
|
|
2835
|
-
first_name: z.ZodNullable<z.ZodString>;
|
|
2836
|
-
last_name: z.ZodNullable<z.ZodString>;
|
|
2837
|
-
license: z.ZodNullable<z.ZodString>;
|
|
2838
|
-
}, z.core.$strict>;
|
|
2839
|
-
office: z.ZodObject<{
|
|
2840
|
-
key: z.ZodNullable<z.ZodString>;
|
|
2841
|
-
mls_id: z.ZodNullable<z.ZodString>;
|
|
2842
2844
|
name: z.ZodNullable<z.ZodString>;
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2845
|
+
district: z.ZodNullable<z.ZodString>;
|
|
2846
|
+
}, z.core.$strict>>>;
|
|
2847
|
+
price_history: z.ZodOptional<z.ZodObject<{
|
|
2848
|
+
original_amount: z.ZodNullable<z.ZodString>;
|
|
2849
|
+
previous_amount: z.ZodNullable<z.ZodString>;
|
|
2850
|
+
low_amount: z.ZodNullable<z.ZodString>;
|
|
2851
|
+
currency: z.ZodNullable<z.ZodString>;
|
|
2852
|
+
original_currency: z.ZodNullable<z.ZodString>;
|
|
2853
|
+
previous_currency: z.ZodNullable<z.ZodString>;
|
|
2854
|
+
low_currency: z.ZodNullable<z.ZodString>;
|
|
2855
|
+
changed_at: z.ZodObject<{
|
|
2856
|
+
value: z.ZodNullable<z.ZodString>;
|
|
2857
|
+
precision: z.ZodEnum<{
|
|
2858
|
+
unknown: "unknown";
|
|
2859
|
+
date: "date";
|
|
2860
|
+
instant: "instant";
|
|
2861
|
+
}>;
|
|
2854
2862
|
}, z.core.$strict>;
|
|
2855
|
-
}, z.core.$strict
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
|
|
2866
|
-
|
|
2863
|
+
}, z.core.$strict>>;
|
|
2864
|
+
virtual_tours: z.ZodOptional<z.ZodObject<{
|
|
2865
|
+
branded_url: z.ZodNullable<z.ZodURL>;
|
|
2866
|
+
unbranded_url: z.ZodNullable<z.ZodURL>;
|
|
2867
|
+
}, z.core.$strict>>;
|
|
2868
|
+
additional_media: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2869
|
+
url: z.ZodURL;
|
|
2870
|
+
categories: z.ZodArray<z.ZodString>;
|
|
2871
|
+
order: z.ZodNumber;
|
|
2872
|
+
caption: z.ZodNullable<z.ZodString>;
|
|
2873
|
+
}, z.core.$strict>>>;
|
|
2874
|
+
professionals: z.ZodOptional<z.ZodObject<{
|
|
2875
|
+
agent: z.ZodObject<{
|
|
2876
|
+
full_name: z.ZodNullable<z.ZodString>;
|
|
2877
|
+
first_name: z.ZodNullable<z.ZodString>;
|
|
2878
|
+
last_name: z.ZodNullable<z.ZodString>;
|
|
2879
|
+
license: z.ZodNullable<z.ZodString>;
|
|
2867
2880
|
}, z.core.$strict>;
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
+
office: z.ZodObject<{
|
|
2882
|
+
key: z.ZodNullable<z.ZodString>;
|
|
2883
|
+
mls_id: z.ZodNullable<z.ZodString>;
|
|
2884
|
+
name: z.ZodNullable<z.ZodString>;
|
|
2885
|
+
broker_mls_id: z.ZodNullable<z.ZodString>;
|
|
2886
|
+
corporate_id: z.ZodNullable<z.ZodString>;
|
|
2887
|
+
main_office_id: z.ZodNullable<z.ZodString>;
|
|
2888
|
+
website_url: z.ZodNullable<z.ZodURL>;
|
|
2889
|
+
address: z.ZodObject<{
|
|
2890
|
+
street: z.ZodNullable<z.ZodString>;
|
|
2891
|
+
unit: z.ZodNullable<z.ZodString>;
|
|
2892
|
+
city: z.ZodNullable<z.ZodString>;
|
|
2893
|
+
region: z.ZodNullable<z.ZodString>;
|
|
2894
|
+
postal_code: z.ZodNullable<z.ZodString>;
|
|
2895
|
+
country: z.ZodNullable<z.ZodString>;
|
|
2896
|
+
}, z.core.$strict>;
|
|
2897
|
+
}, z.core.$strict>;
|
|
2898
|
+
brokerage: z.ZodObject<{
|
|
2899
|
+
name: z.ZodNullable<z.ZodString>;
|
|
2900
|
+
website_url: z.ZodNullable<z.ZodURL>;
|
|
2901
|
+
logo_url: z.ZodNullable<z.ZodURL>;
|
|
2902
|
+
address: z.ZodObject<{
|
|
2903
|
+
street: z.ZodNullable<z.ZodString>;
|
|
2904
|
+
unit: z.ZodNullable<z.ZodString>;
|
|
2905
|
+
city: z.ZodNullable<z.ZodString>;
|
|
2906
|
+
region: z.ZodNullable<z.ZodString>;
|
|
2907
|
+
postal_code: z.ZodNullable<z.ZodString>;
|
|
2908
|
+
country: z.ZodNullable<z.ZodString>;
|
|
2909
|
+
}, z.core.$strict>;
|
|
2910
|
+
}, z.core.$strict>;
|
|
2911
|
+
builder: z.ZodObject<{
|
|
2912
|
+
name: z.ZodNullable<z.ZodString>;
|
|
2913
|
+
}, z.core.$strict>;
|
|
2914
|
+
franchise: z.ZodNullable<z.ZodString>;
|
|
2915
|
+
}, z.core.$strict>>;
|
|
2916
|
+
permissions: z.ZodOptional<z.ZodObject<{
|
|
2917
|
+
internet_display: z.ZodNullable<z.ZodBoolean>;
|
|
2918
|
+
entire_listing_display: z.ZodNullable<z.ZodBoolean>;
|
|
2919
|
+
address_display: z.ZodNullable<z.ZodBoolean>;
|
|
2920
|
+
automated_valuation_display: z.ZodNullable<z.ZodBoolean>;
|
|
2921
|
+
consumer_comment: z.ZodNullable<z.ZodBoolean>;
|
|
2922
|
+
}, z.core.$strict>>;
|
|
2923
|
+
}, z.core.$strict>;
|
|
2924
|
+
score: z.ZodNumber;
|
|
2925
|
+
reasons: z.ZodArray<z.ZodString>;
|
|
2881
2926
|
}, z.core.$strict>>;
|
|
2882
|
-
|
|
2927
|
+
method: z.ZodLiteral<"facts_similarity_v1">;
|
|
2928
|
+
candidate_count: z.ZodNumber;
|
|
2929
|
+
candidates_truncated: z.ZodBoolean;
|
|
2883
2930
|
}, z.core.$strict>;
|
|
2884
2931
|
export declare const DomainEventSchema: z.ZodObject<{
|
|
2885
2932
|
id: z.ZodString;
|
|
@@ -2891,294 +2938,6 @@ export declare const DomainEventSchema: z.ZodObject<{
|
|
|
2891
2938
|
observed_at: z.ZodISODateTime;
|
|
2892
2939
|
evidence: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
2893
2940
|
}, z.core.$strict>;
|
|
2894
|
-
export declare const ClassificationDefinitionSchema: z.ZodObject<{
|
|
2895
|
-
taxonomy_version: z.ZodString;
|
|
2896
|
-
attributes: z.ZodArray<z.ZodObject<{
|
|
2897
|
-
id: z.ZodString;
|
|
2898
|
-
description: z.ZodString;
|
|
2899
|
-
type: z.ZodEnum<{
|
|
2900
|
-
string: "string";
|
|
2901
|
-
number: "number";
|
|
2902
|
-
boolean: "boolean";
|
|
2903
|
-
}>;
|
|
2904
|
-
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2905
|
-
}, z.core.$strict>>;
|
|
2906
|
-
}, z.core.$strict>;
|
|
2907
|
-
export declare const ActionProfileSchema: z.ZodObject<{
|
|
2908
|
-
id: z.ZodString;
|
|
2909
|
-
family: z.ZodString;
|
|
2910
|
-
purpose: z.ZodString;
|
|
2911
|
-
owner_product: z.ZodString;
|
|
2912
|
-
channel: z.ZodEnum<{
|
|
2913
|
-
email: "email";
|
|
2914
|
-
social: "social";
|
|
2915
|
-
ads: "ads";
|
|
2916
|
-
}>;
|
|
2917
|
-
target_unit: z.ZodEnum<{
|
|
2918
|
-
contact_actions: "contact_actions";
|
|
2919
|
-
content_actions: "content_actions";
|
|
2920
|
-
ad_candidates: "ad_candidates";
|
|
2921
|
-
}>;
|
|
2922
|
-
timezone: z.ZodString;
|
|
2923
|
-
policy_revision: z.ZodString;
|
|
2924
|
-
required_context: z.ZodArray<z.ZodString>;
|
|
2925
|
-
enabled: z.ZodBoolean;
|
|
2926
|
-
}, z.core.$strict>;
|
|
2927
|
-
export declare const OpportunityQuery: z.ZodObject<{
|
|
2928
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
2929
|
-
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
2930
|
-
profile_id: z.ZodString;
|
|
2931
|
-
account_id: z.ZodOptional<z.ZodString>;
|
|
2932
|
-
agent_id: z.ZodOptional<z.ZodString>;
|
|
2933
|
-
}, z.core.$strict>;
|
|
2934
|
-
export declare const OpportunitySchema: z.ZodObject<{
|
|
2935
|
-
id: z.ZodString;
|
|
2936
|
-
profile_id: z.ZodString;
|
|
2937
|
-
listing_id: z.ZodString;
|
|
2938
|
-
episode_id: z.ZodString;
|
|
2939
|
-
recipient_id: z.ZodString;
|
|
2940
|
-
intent_id: z.ZodString;
|
|
2941
|
-
primary_angle: z.ZodString;
|
|
2942
|
-
trigger_event_ids: z.ZodArray<z.ZodString>;
|
|
2943
|
-
supporting_evidence_refs: z.ZodArray<z.ZodString>;
|
|
2944
|
-
reason_codes: z.ZodArray<z.ZodString>;
|
|
2945
|
-
priority_index: z.ZodNumber;
|
|
2946
|
-
valid_until: z.ZodISODateTime;
|
|
2947
|
-
decision_revision: z.ZodString;
|
|
2948
|
-
}, z.core.$strict>;
|
|
2949
|
-
export declare const PlanRequest: z.ZodObject<{
|
|
2950
|
-
profile_id: z.ZodString;
|
|
2951
|
-
business_date: z.ZodISODate;
|
|
2952
|
-
audience_id: z.ZodString;
|
|
2953
|
-
target: z.ZodObject<{
|
|
2954
|
-
count: z.ZodNumber;
|
|
2955
|
-
unit: z.ZodEnum<{
|
|
2956
|
-
contact_actions: "contact_actions";
|
|
2957
|
-
content_actions: "content_actions";
|
|
2958
|
-
ad_candidates: "ad_candidates";
|
|
2959
|
-
}>;
|
|
2960
|
-
}, z.core.$strict>;
|
|
2961
|
-
run_slot: z.ZodString;
|
|
2962
|
-
}, z.core.$strict>;
|
|
2963
|
-
export declare const PlanSchema: z.ZodObject<{
|
|
2964
|
-
id: z.ZodString;
|
|
2965
|
-
profile_id: z.ZodString;
|
|
2966
|
-
business_date: z.ZodISODate;
|
|
2967
|
-
timezone: z.ZodString;
|
|
2968
|
-
status: z.ZodEnum<{
|
|
2969
|
-
expired: "expired";
|
|
2970
|
-
cancelled: "cancelled";
|
|
2971
|
-
failed: "failed";
|
|
2972
|
-
ready: "ready";
|
|
2973
|
-
queued: "queued";
|
|
2974
|
-
building: "building";
|
|
2975
|
-
}>;
|
|
2976
|
-
requested_count: z.ZodNumber;
|
|
2977
|
-
selected_count: z.ZodNumber;
|
|
2978
|
-
unique_recipients: z.ZodNumber;
|
|
2979
|
-
reserve_count: z.ZodNumber;
|
|
2980
|
-
shortfall: z.ZodNumber;
|
|
2981
|
-
completeness: z.ZodEnum<{
|
|
2982
|
-
partial: "partial";
|
|
2983
|
-
complete: "complete";
|
|
2984
|
-
pending: "pending";
|
|
2985
|
-
}>;
|
|
2986
|
-
decision_mode: z.ZodEnum<{
|
|
2987
|
-
fixture: "fixture";
|
|
2988
|
-
jev: "jev";
|
|
2989
|
-
cached_jev: "cached_jev";
|
|
2990
|
-
}>;
|
|
2991
|
-
created_at: z.ZodISODateTime;
|
|
2992
|
-
expires_at: z.ZodISODateTime;
|
|
2993
|
-
policy_revision: z.ZodString;
|
|
2994
|
-
exclusions: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
2995
|
-
cutoffs: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
2996
|
-
execution_counts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
2997
|
-
}, z.core.$strict>;
|
|
2998
|
-
export declare const ActionState: z.ZodEnum<{
|
|
2999
|
-
unknown: "unknown";
|
|
3000
|
-
invalidated: "invalidated";
|
|
3001
|
-
reserved: "reserved";
|
|
3002
|
-
dispatching: "dispatching";
|
|
3003
|
-
accepted: "accepted";
|
|
3004
|
-
delivered: "delivered";
|
|
3005
|
-
rejected: "rejected";
|
|
3006
|
-
unclaimed: "unclaimed";
|
|
3007
|
-
}>;
|
|
3008
|
-
export declare const PlanItemReplacementSchema: z.ZodObject<{
|
|
3009
|
-
item_id: z.ZodString;
|
|
3010
|
-
opportunity_id: z.ZodString;
|
|
3011
|
-
listing_id: z.ZodString;
|
|
3012
|
-
recipient_id: z.ZodString;
|
|
3013
|
-
reason: z.ZodString;
|
|
3014
|
-
replaced_at: z.ZodISODateTime;
|
|
3015
|
-
}, z.core.$strict>;
|
|
3016
|
-
export declare const PlanItemSchema: z.ZodObject<{
|
|
3017
|
-
id: z.ZodString;
|
|
3018
|
-
slot: z.ZodNumber;
|
|
3019
|
-
rank: z.ZodNumber;
|
|
3020
|
-
opportunity_id: z.ZodString;
|
|
3021
|
-
listing_id: z.ZodString;
|
|
3022
|
-
episode_id: z.ZodString;
|
|
3023
|
-
recipient_id: z.ZodString;
|
|
3024
|
-
primary_angle: z.ZodString;
|
|
3025
|
-
trigger_event_ids: z.ZodArray<z.ZodString>;
|
|
3026
|
-
supporting_evidence_refs: z.ZodArray<z.ZodString>;
|
|
3027
|
-
reason_codes: z.ZodArray<z.ZodString>;
|
|
3028
|
-
valid_until: z.ZodISODateTime;
|
|
3029
|
-
execution_state: z.ZodEnum<{
|
|
3030
|
-
unknown: "unknown";
|
|
3031
|
-
invalidated: "invalidated";
|
|
3032
|
-
reserved: "reserved";
|
|
3033
|
-
dispatching: "dispatching";
|
|
3034
|
-
accepted: "accepted";
|
|
3035
|
-
delivered: "delivered";
|
|
3036
|
-
rejected: "rejected";
|
|
3037
|
-
unclaimed: "unclaimed";
|
|
3038
|
-
}>;
|
|
3039
|
-
action_id: z.ZodNullable<z.ZodString>;
|
|
3040
|
-
replacement: z.ZodOptional<z.ZodObject<{
|
|
3041
|
-
item_id: z.ZodString;
|
|
3042
|
-
opportunity_id: z.ZodString;
|
|
3043
|
-
listing_id: z.ZodString;
|
|
3044
|
-
recipient_id: z.ZodString;
|
|
3045
|
-
reason: z.ZodString;
|
|
3046
|
-
replaced_at: z.ZodISODateTime;
|
|
3047
|
-
}, z.core.$strict>>;
|
|
3048
|
-
}, z.core.$strict>;
|
|
3049
|
-
export declare const DispatchRequest: z.ZodObject<{
|
|
3050
|
-
plan_id: z.ZodString;
|
|
3051
|
-
limit: z.ZodNumber;
|
|
3052
|
-
worker_id: z.ZodString;
|
|
3053
|
-
}, z.core.$strict>;
|
|
3054
|
-
export declare const DispatchActionSchema: z.ZodObject<{
|
|
3055
|
-
id: z.ZodString;
|
|
3056
|
-
plan_item_id: z.ZodString;
|
|
3057
|
-
listing_id: z.ZodString;
|
|
3058
|
-
recipient_id: z.ZodString;
|
|
3059
|
-
action_kind: z.ZodString;
|
|
3060
|
-
lease_token: z.ZodString;
|
|
3061
|
-
lease_expires_at: z.ZodISODateTime;
|
|
3062
|
-
endpoint: z.ZodString;
|
|
3063
|
-
payload: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
3064
|
-
}, z.core.$strict>;
|
|
3065
|
-
export declare const DispatchBatchSchema: z.ZodObject<{
|
|
3066
|
-
id: z.ZodString;
|
|
3067
|
-
plan_id: z.ZodString;
|
|
3068
|
-
actions: z.ZodArray<z.ZodObject<{
|
|
3069
|
-
id: z.ZodString;
|
|
3070
|
-
plan_item_id: z.ZodString;
|
|
3071
|
-
listing_id: z.ZodString;
|
|
3072
|
-
recipient_id: z.ZodString;
|
|
3073
|
-
action_kind: z.ZodString;
|
|
3074
|
-
lease_token: z.ZodString;
|
|
3075
|
-
lease_expires_at: z.ZodISODateTime;
|
|
3076
|
-
endpoint: z.ZodString;
|
|
3077
|
-
payload: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
3078
|
-
}, z.core.$strict>>;
|
|
3079
|
-
exhausted: z.ZodBoolean;
|
|
3080
|
-
}, z.core.$strict>;
|
|
3081
|
-
export declare const AttemptRequest: z.ZodObject<{
|
|
3082
|
-
id: z.ZodString;
|
|
3083
|
-
lease_token: z.ZodString;
|
|
3084
|
-
}, z.core.$strict>;
|
|
3085
|
-
export declare const AttemptSchema: z.ZodObject<{
|
|
3086
|
-
id: z.ZodString;
|
|
3087
|
-
action_id: z.ZodString;
|
|
3088
|
-
provider_idempotency_key: z.ZodString;
|
|
3089
|
-
state: z.ZodLiteral<"dispatching">;
|
|
3090
|
-
started_at: z.ZodISODateTime;
|
|
3091
|
-
replayed: z.ZodBoolean;
|
|
3092
|
-
}, z.core.$strict>;
|
|
3093
|
-
export declare const ActionOutcomeSchema: z.ZodObject<{
|
|
3094
|
-
event_id: z.ZodString;
|
|
3095
|
-
action_id: z.ZodString;
|
|
3096
|
-
attempt_id: z.ZodString;
|
|
3097
|
-
provider: z.ZodString;
|
|
3098
|
-
provider_event_id: z.ZodString;
|
|
3099
|
-
outcome: z.ZodEnum<{
|
|
3100
|
-
unknown: "unknown";
|
|
3101
|
-
accepted: "accepted";
|
|
3102
|
-
delivered: "delivered";
|
|
3103
|
-
rejected: "rejected";
|
|
3104
|
-
bounced: "bounced";
|
|
3105
|
-
complained: "complained";
|
|
3106
|
-
}>;
|
|
3107
|
-
occurred_at: z.ZodISODateTime;
|
|
3108
|
-
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
3109
|
-
}, z.core.$strict>;
|
|
3110
|
-
export declare const OutcomesRequest: z.ZodObject<{
|
|
3111
|
-
outcomes: z.ZodArray<z.ZodObject<{
|
|
3112
|
-
event_id: z.ZodString;
|
|
3113
|
-
action_id: z.ZodString;
|
|
3114
|
-
attempt_id: z.ZodString;
|
|
3115
|
-
provider: z.ZodString;
|
|
3116
|
-
provider_event_id: z.ZodString;
|
|
3117
|
-
outcome: z.ZodEnum<{
|
|
3118
|
-
unknown: "unknown";
|
|
3119
|
-
accepted: "accepted";
|
|
3120
|
-
delivered: "delivered";
|
|
3121
|
-
rejected: "rejected";
|
|
3122
|
-
bounced: "bounced";
|
|
3123
|
-
complained: "complained";
|
|
3124
|
-
}>;
|
|
3125
|
-
occurred_at: z.ZodISODateTime;
|
|
3126
|
-
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
3127
|
-
}, z.core.$strict>>;
|
|
3128
|
-
}, z.core.$strict>;
|
|
3129
|
-
export declare const ProductContextEventSchema: z.ZodObject<{
|
|
3130
|
-
event_id: z.ZodString;
|
|
3131
|
-
producer_id: z.ZodString;
|
|
3132
|
-
stream_epoch: z.ZodString;
|
|
3133
|
-
coverage_id: z.ZodString;
|
|
3134
|
-
subject_id: z.ZodString;
|
|
3135
|
-
subject_type: z.ZodString;
|
|
3136
|
-
subject_version: z.ZodNumber;
|
|
3137
|
-
stream_sequence: z.ZodNumber;
|
|
3138
|
-
type: z.ZodString;
|
|
3139
|
-
occurred_at: z.ZodISODateTime;
|
|
3140
|
-
payload: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
3141
|
-
}, z.core.$strict>;
|
|
3142
|
-
export declare const ContextEventsRequest: z.ZodObject<{
|
|
3143
|
-
events: z.ZodArray<z.ZodObject<{
|
|
3144
|
-
event_id: z.ZodString;
|
|
3145
|
-
producer_id: z.ZodString;
|
|
3146
|
-
stream_epoch: z.ZodString;
|
|
3147
|
-
coverage_id: z.ZodString;
|
|
3148
|
-
subject_id: z.ZodString;
|
|
3149
|
-
subject_type: z.ZodString;
|
|
3150
|
-
subject_version: z.ZodNumber;
|
|
3151
|
-
stream_sequence: z.ZodNumber;
|
|
3152
|
-
type: z.ZodString;
|
|
3153
|
-
occurred_at: z.ZodISODateTime;
|
|
3154
|
-
payload: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
3155
|
-
}, z.core.$strict>>;
|
|
3156
|
-
}, z.core.$strict>;
|
|
3157
|
-
export declare const BatchResultSchema: z.ZodObject<{
|
|
3158
|
-
results: z.ZodArray<z.ZodObject<{
|
|
3159
|
-
event_id: z.ZodString;
|
|
3160
|
-
status: z.ZodEnum<{
|
|
3161
|
-
accepted: "accepted";
|
|
3162
|
-
rejected: "rejected";
|
|
3163
|
-
duplicate: "duplicate";
|
|
3164
|
-
}>;
|
|
3165
|
-
code: z.ZodNullable<z.ZodString>;
|
|
3166
|
-
}, z.core.$strict>>;
|
|
3167
|
-
}, z.core.$strict>;
|
|
3168
|
-
export declare const WebhookRequest: z.ZodObject<{
|
|
3169
|
-
url: z.ZodURL;
|
|
3170
|
-
dataset_id: z.ZodString;
|
|
3171
|
-
event_types: z.ZodArray<z.ZodString>;
|
|
3172
|
-
}, z.core.$strict>;
|
|
3173
|
-
export declare const WebhookSchema: z.ZodObject<{
|
|
3174
|
-
id: z.ZodString;
|
|
3175
|
-
url: z.ZodString;
|
|
3176
|
-
status: z.ZodEnum<{
|
|
3177
|
-
active: "active";
|
|
3178
|
-
disabled: "disabled";
|
|
3179
|
-
pending_verification: "pending_verification";
|
|
3180
|
-
}>;
|
|
3181
|
-
}, z.core.$strict>;
|
|
3182
2941
|
export declare const CapabilitiesSchema: z.ZodObject<{
|
|
3183
2942
|
api_version: z.ZodLiteral<"v1">;
|
|
3184
2943
|
dataset_ids: z.ZodArray<z.ZodString>;
|