@model-match/api 3.71.0 → 3.72.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/openapi.json CHANGED
@@ -44079,7 +44079,11 @@
44079
44079
  "city",
44080
44080
  "county",
44081
44081
  "state",
44082
- "zip"
44082
+ "zip",
44083
+ "schoolDistrict",
44084
+ "elementarySchool",
44085
+ "middleSchool",
44086
+ "highSchool"
44083
44087
  ],
44084
44088
  "type": "string"
44085
44089
  },
@@ -44127,6 +44131,9 @@
44127
44131
  "nullable": true,
44128
44132
  "type": "string"
44129
44133
  },
44134
+ "rental": {
44135
+ "$ref": "#/components/schemas/SaleRental"
44136
+ },
44130
44137
  "schools": {
44131
44138
  "$ref": "#/components/schemas/SaleSchools"
44132
44139
  },
@@ -44157,6 +44164,27 @@
44157
44164
  ],
44158
44165
  "type": "object"
44159
44166
  },
44167
+ "SaleElementarySchoolFilterValue": {
44168
+ "anyOf": [
44169
+ {
44170
+ "maxLength": 100,
44171
+ "type": "string"
44172
+ },
44173
+ {
44174
+ "items": {
44175
+ "maxLength": 100,
44176
+ "type": "string"
44177
+ },
44178
+ "maxItems": 25,
44179
+ "minItems": 1,
44180
+ "type": "array"
44181
+ },
44182
+ {
44183
+ "nullable": true
44184
+ }
44185
+ ],
44186
+ "description": "Elementary school name as listed, one or an array (any-of). Matched case-insensitively with the generic words (`School`, `Elementary`, `Middle`, `High`) removed, so `Lago Vista Elementary School` and `Lago Vista Elementary` select the same listings. All remaining words must appear in the stored name. The assigned school is as named on the listing record, not a boundary lookup. List the available values for an area with `POST /v1/sales/analytics/chart` and `slice: \"elementarySchool\"`."
44187
+ },
44160
44188
  "SaleFeatures": {
44161
44189
  "description": "Property facts from the MLS listing. Every field is nullable and filled far more densely on active listings (60-99%) than on sold ones (about half, and HOA fee / tax far less). Feature lists are RESO tokens, not display text.",
44162
44190
  "nullable": true,
@@ -44329,12 +44357,35 @@
44329
44357
  "beds": {
44330
44358
  "$ref": "#/components/schemas/NumericFilterValue"
44331
44359
  },
44360
+ "catsAllowed": {
44361
+ "allOf": [
44362
+ {
44363
+ "$ref": "#/components/schemas/BooleanFilterValue"
44364
+ },
44365
+ {
44366
+ "description": "Lease listings. `true`: a cats-OK token. `false`: No, or dogs-only."
44367
+ }
44368
+ ]
44369
+ },
44332
44370
  "city": {
44333
44371
  "$ref": "#/components/schemas/TextFilterValue"
44334
44372
  },
44335
44373
  "county": {
44336
44374
  "$ref": "#/components/schemas/TextFilterValue"
44337
44375
  },
44376
+ "dogsAllowed": {
44377
+ "allOf": [
44378
+ {
44379
+ "$ref": "#/components/schemas/BooleanFilterValue"
44380
+ },
44381
+ {
44382
+ "description": "Lease listings. `true`: a dogs-OK token. `false`: No, or cats-only."
44383
+ }
44384
+ ]
44385
+ },
44386
+ "elementarySchool": {
44387
+ "$ref": "#/components/schemas/SaleElementarySchoolFilterValue"
44388
+ },
44338
44389
  "fips": {
44339
44390
  "allOf": [
44340
44391
  {
@@ -44345,15 +44396,67 @@
44345
44396
  }
44346
44397
  ]
44347
44398
  },
44399
+ "fireplace": {
44400
+ "allOf": [
44401
+ {
44402
+ "$ref": "#/components/schemas/BooleanFilterValue"
44403
+ },
44404
+ {
44405
+ "description": "`true`: the listing has a fireplace. `false`: it says it does not. Rows with no answer match neither value."
44406
+ }
44407
+ ]
44408
+ },
44409
+ "garageSpaces": {
44410
+ "allOf": [
44411
+ {
44412
+ "$ref": "#/components/schemas/NumericFilterValue"
44413
+ },
44414
+ {
44415
+ "description": "Garage spaces (e.g. `{gte: 2}`). Rows with no garage count are excluded unless `includeNulls: true`."
44416
+ }
44417
+ ]
44418
+ },
44348
44419
  "geoPoint": {
44349
44420
  "$ref": "#/components/schemas/GeoFilterValue"
44350
44421
  },
44422
+ "hasHoa": {
44423
+ "allOf": [
44424
+ {
44425
+ "$ref": "#/components/schemas/BooleanFilterValue"
44426
+ },
44427
+ {
44428
+ "description": "`true`: the listing says it has an association, or carries a positive HOA fee. `false`: positive evidence of none (association flag `N`, or an explicit $0 fee) and no contradicting signal. A row with neither signal matches neither value."
44429
+ }
44430
+ ]
44431
+ },
44432
+ "highSchool": {
44433
+ "$ref": "#/components/schemas/SaleHighSchoolFilterValue"
44434
+ },
44435
+ "hoaFee": {
44436
+ "$ref": "#/components/schemas/SaleHoaFeeFilterValue"
44437
+ },
44438
+ "keyword": {
44439
+ "$ref": "#/components/schemas/SaleKeywordFilterValue"
44440
+ },
44351
44441
  "listPrice": {
44352
44442
  "$ref": "#/components/schemas/NumericFilterValue"
44353
44443
  },
44354
44444
  "listingAgent": {
44355
44445
  "$ref": "#/components/schemas/TextFilterValue"
44356
44446
  },
44447
+ "lotSizeSqft": {
44448
+ "allOf": [
44449
+ {
44450
+ "$ref": "#/components/schemas/NumericFilterValue"
44451
+ },
44452
+ {
44453
+ "description": "Lot size in square feet (1 acre = 43,560). Rows with no lot size are excluded unless `includeNulls: true`."
44454
+ }
44455
+ ]
44456
+ },
44457
+ "middleSchool": {
44458
+ "$ref": "#/components/schemas/SaleMiddleSchoolFilterValue"
44459
+ },
44357
44460
  "mlsStatus": {
44358
44461
  "$ref": "#/components/schemas/SaleMlsStatusFilterValue"
44359
44462
  },
@@ -44364,6 +44467,49 @@
44364
44467
  ],
44365
44468
  "type": "string"
44366
44469
  },
44470
+ "newConstruction": {
44471
+ "allOf": [
44472
+ {
44473
+ "$ref": "#/components/schemas/BooleanFilterValue"
44474
+ },
44475
+ {
44476
+ "description": "`true`: the listing is flagged new construction, or its condition says new / under construction / to be built / pre-construction. `false`: flagged not-new and no such condition. A row with neither signal matches neither value."
44477
+ }
44478
+ ]
44479
+ },
44480
+ "petsAllowed": {
44481
+ "allOf": [
44482
+ {
44483
+ "$ref": "#/components/schemas/BooleanFilterValue"
44484
+ },
44485
+ {
44486
+ "description": "Lease listings (combine with `propertyType: \"Residential Lease\"`). `true`: cats OK, dogs OK or a plain Yes. `false`: No, with nothing permitting. `Negotiable` and detail-only values (size limit, deposit) with no OK token match neither value."
44487
+ }
44488
+ ]
44489
+ },
44490
+ "poolPrivate": {
44491
+ "allOf": [
44492
+ {
44493
+ "$ref": "#/components/schemas/BooleanFilterValue"
44494
+ },
44495
+ {
44496
+ "description": "`true`: the listing has a private pool. `false`: it says it does not. Community pools are not distinguished (feeds record them inconsistently). Rows with no answer match neither value."
44497
+ }
44498
+ ]
44499
+ },
44500
+ "priceReduced": {
44501
+ "allOf": [
44502
+ {
44503
+ "$ref": "#/components/schemas/BooleanFilterValue"
44504
+ },
44505
+ {
44506
+ "description": "`true`: the current list price is below the ORIGINAL list price. `false`: at or above it. Rows missing either price match neither value. (Not based on `previousListPrice`, which is unreliable.)"
44507
+ }
44508
+ ]
44509
+ },
44510
+ "priceReductionPercent": {
44511
+ "$ref": "#/components/schemas/SalePriceReductionPercentFilterValue"
44512
+ },
44367
44513
  "propertyId": {
44368
44514
  "allOf": [
44369
44515
  {
@@ -44383,6 +44529,9 @@
44383
44529
  "salePrice": {
44384
44530
  "$ref": "#/components/schemas/NumericFilterValue"
44385
44531
  },
44532
+ "schoolDistrict": {
44533
+ "$ref": "#/components/schemas/SaleSchoolDistrictFilterValue"
44534
+ },
44386
44535
  "soldAgent": {
44387
44536
  "$ref": "#/components/schemas/TextFilterValue"
44388
44537
  },
@@ -44395,6 +44544,26 @@
44395
44544
  "state": {
44396
44545
  "$ref": "#/components/schemas/TextFilterValue"
44397
44546
  },
44547
+ "stories": {
44548
+ "allOf": [
44549
+ {
44550
+ "$ref": "#/components/schemas/NumericFilterValue"
44551
+ },
44552
+ {
44553
+ "description": "Number of stories: `3`, `[1, 2]` or `{lte: 1}` for single level. Where the listing has no `stories` value the building's story count is used instead, which for a condo is the whole building. Rows with neither are excluded unless `includeNulls: true`."
44554
+ }
44555
+ ]
44556
+ },
44557
+ "waterfront": {
44558
+ "allOf": [
44559
+ {
44560
+ "$ref": "#/components/schemas/BooleanFilterValue"
44561
+ },
44562
+ {
44563
+ "description": "`true`: waterfront property. `false`: it says it is not. Rows with no answer match neither value."
44564
+ }
44565
+ ]
44566
+ },
44398
44567
  "yearBuilt": {
44399
44568
  "$ref": "#/components/schemas/NumericFilterValue"
44400
44569
  },
@@ -44414,6 +44583,60 @@
44414
44583
  },
44415
44584
  "type": "object"
44416
44585
  },
44586
+ "SaleHighSchoolFilterValue": {
44587
+ "anyOf": [
44588
+ {
44589
+ "maxLength": 100,
44590
+ "type": "string"
44591
+ },
44592
+ {
44593
+ "items": {
44594
+ "maxLength": 100,
44595
+ "type": "string"
44596
+ },
44597
+ "maxItems": 25,
44598
+ "minItems": 1,
44599
+ "type": "array"
44600
+ },
44601
+ {
44602
+ "nullable": true
44603
+ }
44604
+ ],
44605
+ "description": "High school name as listed, one or an array (any-of). Matched case-insensitively with the generic words (`School`, `Elementary`, `Middle`, `High`) removed, so `Lago Vista Elementary School` and `Lago Vista Elementary` select the same listings. All remaining words must appear in the stored name. The assigned school is as named on the listing record, not a boundary lookup. List the available values for an area with `POST /v1/sales/analytics/chart` and `slice: \"highSchool\"`."
44606
+ },
44607
+ "SaleHoaFeeFilterValue": {
44608
+ "additionalProperties": false,
44609
+ "description": "Monthly-equivalent HOA fee in dollars: a quarterly fee is divided by 3, an annual fee by 12, and so on, so `{lte: 300}` means \"at most $300 a month\" whatever the listing's payment frequency. Only rows with a recognized recurring frequency (monthly, quarterly, semi-annual, annual, semi-monthly, weekly) are comparable; one-time, unknown and missing frequencies are excluded. Rows with no fee are excluded unless `includeNulls: true` (use that to also keep homes with no HOA fee on record, or `hasHoa: false`). Reads the primary association only.",
44610
+ "nullable": true,
44611
+ "properties": {
44612
+ "gt": {
44613
+ "minimum": 0,
44614
+ "type": "number"
44615
+ },
44616
+ "gte": {
44617
+ "minimum": 0,
44618
+ "type": "number"
44619
+ },
44620
+ "includeNulls": {
44621
+ "description": "Also keep rows where the field is missing (a range drops them by default). Requires a bound.",
44622
+ "type": "boolean"
44623
+ },
44624
+ "lt": {
44625
+ "minimum": 0,
44626
+ "type": "number"
44627
+ },
44628
+ "lte": {
44629
+ "minimum": 0,
44630
+ "type": "number"
44631
+ }
44632
+ },
44633
+ "type": "object"
44634
+ },
44635
+ "SaleKeywordFilterValue": {
44636
+ "description": "Words that must ALL appear in the listing description (public remarks), in any order, case-insensitive. Plain text: operators and punctuation (`* ? \" ( ) AND OR - :`) are not interpreted. At most 200 characters and 12 words; empty or punctuation-only is a 400. Stemmed (`granite` matches `granites`), not fuzzy. Listing text is MLS-supplied; see the display rules that apply to it.",
44637
+ "nullable": true,
44638
+ "type": "string"
44639
+ },
44417
44640
  "SaleListRequest": {
44418
44641
  "additionalProperties": false,
44419
44642
  "properties": {
@@ -44507,6 +44730,27 @@
44507
44730
  },
44508
44731
  "type": "object"
44509
44732
  },
44733
+ "SaleMiddleSchoolFilterValue": {
44734
+ "anyOf": [
44735
+ {
44736
+ "maxLength": 100,
44737
+ "type": "string"
44738
+ },
44739
+ {
44740
+ "items": {
44741
+ "maxLength": 100,
44742
+ "type": "string"
44743
+ },
44744
+ "maxItems": 25,
44745
+ "minItems": 1,
44746
+ "type": "array"
44747
+ },
44748
+ {
44749
+ "nullable": true
44750
+ }
44751
+ ],
44752
+ "description": "Middle school name as listed, one or an array (any-of). Matched case-insensitively with the generic words (`School`, `Elementary`, `Middle`, `High`) removed, so `Lago Vista Elementary School` and `Lago Vista Elementary` select the same listings. All remaining words must appear in the stored name. The assigned school is as named on the listing record, not a boundary lookup. List the available values for an area with `POST /v1/sales/analytics/chart` and `slice: \"middleSchool\"`."
44753
+ },
44510
44754
  "SaleMlsStatusFilterValue": {
44511
44755
  "anyOf": [
44512
44756
  {
@@ -44536,6 +44780,104 @@
44536
44780
  }
44537
44781
  ]
44538
44782
  },
44783
+ "SalePriceReductionPercentFilterValue": {
44784
+ "additionalProperties": false,
44785
+ "description": "How far the current list price is below the ORIGINAL list price, in percent of the original: `{gte: 5}` = cut by at least 5%. Negative means the price was raised. Rows missing either price are excluded unless `includeNulls: true`. Pair with `priceReduced: true` to exclude unchanged listings from a `lte` range.",
44786
+ "nullable": true,
44787
+ "properties": {
44788
+ "gt": {
44789
+ "maximum": 100,
44790
+ "minimum": 0,
44791
+ "type": "number"
44792
+ },
44793
+ "gte": {
44794
+ "maximum": 100,
44795
+ "minimum": 0,
44796
+ "type": "number"
44797
+ },
44798
+ "includeNulls": {
44799
+ "description": "Also keep rows where the field is missing (a range drops them by default). Requires a bound.",
44800
+ "type": "boolean"
44801
+ },
44802
+ "lt": {
44803
+ "maximum": 100,
44804
+ "minimum": 0,
44805
+ "type": "number"
44806
+ },
44807
+ "lte": {
44808
+ "maximum": 100,
44809
+ "minimum": 0,
44810
+ "type": "number"
44811
+ }
44812
+ },
44813
+ "type": "object"
44814
+ },
44815
+ "SaleRental": {
44816
+ "description": "Lease-listing terms as supplied with the listing; `null` unless the listing carries any. There is no furnished, availability-date or security-deposit field in the index.",
44817
+ "nullable": true,
44818
+ "properties": {
44819
+ "laundry": {
44820
+ "items": {
44821
+ "type": "string"
44822
+ },
44823
+ "nullable": true,
44824
+ "type": "array"
44825
+ },
44826
+ "leaseIncludes": {
44827
+ "description": "What the rent includes. Rarely filled (under 1% of active leases in the counties checked).",
44828
+ "items": {
44829
+ "type": "string"
44830
+ },
44831
+ "nullable": true,
44832
+ "type": "array"
44833
+ },
44834
+ "leaseTerm": {
44835
+ "description": "Lease term tokens, e.g. `TwelveMonths`, `Negotiable`.",
44836
+ "items": {
44837
+ "type": "string"
44838
+ },
44839
+ "nullable": true,
44840
+ "type": "array"
44841
+ },
44842
+ "pets": {
44843
+ "description": "Pet policy as RESO tokens, e.g. `CatsOk`, `DogsOk`, `SizeLimit`, `BreedRestrictions`, `PetDeposit`, `Yes`, `No`, `Negotiable` (spelling varies by feed: `Cats OK`). Filter with `petsAllowed` / `catsAllowed` / `dogsAllowed`.",
44844
+ "items": {
44845
+ "type": "string"
44846
+ },
44847
+ "nullable": true,
44848
+ "type": "array"
44849
+ },
44850
+ "utilities": {
44851
+ "items": {
44852
+ "type": "string"
44853
+ },
44854
+ "nullable": true,
44855
+ "type": "array"
44856
+ }
44857
+ },
44858
+ "type": "object"
44859
+ },
44860
+ "SaleSchoolDistrictFilterValue": {
44861
+ "anyOf": [
44862
+ {
44863
+ "maxLength": 100,
44864
+ "type": "string"
44865
+ },
44866
+ {
44867
+ "items": {
44868
+ "maxLength": 100,
44869
+ "type": "string"
44870
+ },
44871
+ "maxItems": 25,
44872
+ "minItems": 1,
44873
+ "type": "array"
44874
+ },
44875
+ {
44876
+ "nullable": true
44877
+ }
44878
+ ],
44879
+ "description": "School district name, one or an array (any-of). Matched case-insensitively with the generic words removed, so `Austin Independent School District`, `Austin ISD` and `AUSTIN` select the same listings. Matches the district assigned at any level (elementary, middle or high). It is a name match, not a boundary lookup: `Austin` would also match a district named `Austin Achieve`, so pair it with a location filter. List the available values for an area with `POST /v1/sales/analytics/chart` and `slice: \"schoolDistrict\"`."
44880
+ },
44539
44881
  "SaleSchools": {
44540
44882
  "description": "Schools assigned to the listing, as named on the listing record. These are not ratings and not a boundary lookup; label them as listed.",
44541
44883
  "nullable": true,
@@ -46766,7 +47108,7 @@
46766
47108
  "info": {
46767
47109
  "description": "ModelMatch API — mortgage and real-estate market data.\n\n## Bulk delivery limits\n\nThe `POST /{entity}/bulk-delivery` endpoints export a full result set to\nS3 as NDJSON, JSON, CSV, or Parquet.\n\n- **Up to 5,000 rows per delivery: no entitlement required.** Available to\n every authenticated caller.\n- **Above 5,000 rows: requires the entity's `bulk-delivery.{entity}`\n entitlement** (e.g. `bulk-delivery.loans`). The grant's scope sets your\n row ceiling and may also restrict which rows and fields you receive.\n\nA delivery that would exceed the limit available to you is rejected with\n`403 entitlement_missing`, reporting the matched row count and the ceiling\nthat applied. To stay under the limit, pass `limit` — the job then delivers\n(and bills for) only the first `limit` rows of a broader query.\n\n**Need a higher limit?** Email support@modelmatch.com to request the\nentitlement. Limits are raised per organization and per entity.\n\nBulk delivery is billed at 1 credit per delivered row whether or not\nan entitlement is held.\n\nInstead of a download, a delivery can be sent to a push target configured\non your workspace: pass `destination: { type: \"push-target\", targetId }`.\nThe same limits and billing apply.",
46768
47110
  "title": "ModelMatch API",
46769
- "version": "3.149.0"
47111
+ "version": "3.150.0"
46770
47112
  },
46771
47113
  "openapi": "3.1.0",
46772
47114
  "paths": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@model-match/api",
3
- "version": "3.71.0",
3
+ "version": "3.72.0",
4
4
  "description": "TypeScript client for the ModelMatch API",
5
5
  "license": "MIT",
6
6
  "files": [