@model-match/api 3.68.0 → 3.69.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
@@ -534,6 +534,23 @@
534
534
  ],
535
535
  "type": "object"
536
536
  },
537
+ "AgentEmailFilterValue": {
538
+ "anyOf": [
539
+ {
540
+ "type": "string"
541
+ },
542
+ {
543
+ "items": {
544
+ "type": "string"
545
+ },
546
+ "type": "array"
547
+ },
548
+ {
549
+ "nullable": true
550
+ }
551
+ ],
552
+ "description": "Email address, matched EXACTLY (case and surrounding whitespace normalized). Matches the agent's current email OR any email in their contact history, so an agent is found by an address they used on past transactions. An array matches any."
553
+ },
537
554
  "AgentField": {
538
555
  "enum": [
539
556
  "office",
@@ -808,7 +825,7 @@
808
825
  "$ref": "#/components/schemas/NumericFilterValue"
809
826
  },
810
827
  "email": {
811
- "$ref": "#/components/schemas/TextFilterValue"
828
+ "$ref": "#/components/schemas/AgentEmailFilterValue"
812
829
  },
813
830
  "excludeCurrentOffice": {
814
831
  "allOf": [
@@ -1084,6 +1101,9 @@
1084
1101
  ],
1085
1102
  "description": "Share of the agent's sale volume that was financed with a mortgage, as a 0–100 percent. `{gte:80}` = 'almost everything they sell is financed' (211,079 agents over the last 12 months); `{lte:20}` finds cash-heavy books. Values are clamped at 100 — a small number of records carry a computed percent above 100, and they are treated as fully financed rather than silently kept or dropped. Bounds outside 0–100 are rejected."
1086
1103
  },
1104
+ "phone": {
1105
+ "$ref": "#/components/schemas/AgentPhoneFilterValue"
1106
+ },
1087
1107
  "producersOnly": {
1088
1108
  "$ref": "#/components/schemas/BooleanFilterValue"
1089
1109
  },
@@ -3057,6 +3077,24 @@
3057
3077
  ],
3058
3078
  "type": "object"
3059
3079
  },
3080
+ "AgentPhoneFilterValue": {
3081
+ "anyOf": [
3082
+ {
3083
+ "type": "string"
3084
+ },
3085
+ {
3086
+ "items": {
3087
+ "type": "string"
3088
+ },
3089
+ "minItems": 1,
3090
+ "type": "array"
3091
+ },
3092
+ {
3093
+ "nullable": true
3094
+ }
3095
+ ],
3096
+ "description": "US phone number, any formatting (`(512) 555-0100`, `512.555.0100`, `+1 5125550100`) — reduced to its 10 digits. Matches the agent's current direct phone OR any phone in their contact history; office/brokerage lines are not searched. Anything that is not a 10-digit US number is a 400. An array matches any."
3097
+ },
3060
3098
  "AgentProductMixEntry": {
3061
3099
  "additionalProperties": false,
3062
3100
  "properties": {
@@ -25501,12 +25539,12 @@
25501
25539
  "DateFilterValue": {
25502
25540
  "anyOf": [
25503
25541
  {
25504
- "description": "Exact date",
25542
+ "description": "Exact date, or a whole period: `YYYY-MM-DD` (that day), `YYYY-MM` (the whole month — `\"2025-06\"` = 2025-06-01 through 2025-06-30) or `YYYY` (the whole year). `YYYYMMDD`, `MM/DD/YYYY`, an ISO-8601 datetime and epoch milliseconds are also accepted. An unparseable value is a 400.",
25505
25543
  "example": "2024-01-01",
25506
25544
  "type": "string"
25507
25545
  },
25508
25546
  {
25509
- "description": "Date range. Excludes null/missing-field docs by default; add `includeNulls: true` to keep them. Bounds accept `YYYY`, `YYYY-MM`, `YYYY-MM-DD` or a full ISO datetime. A partial bound denotes the whole period and expands to the edge that preserves the operator: `gte`/`lt` take the period START, `gt`/`lte` take the period END — so `{gte: \"2024\"}` means on/after 2024-01-01 and `{lte: \"2024\"}` means through 2024-12-31.",
25547
+ "description": "Date range. Excludes null/missing-field docs by default; add `includeNulls: true` to keep them. Bounds accept `YYYY`, `YYYY-MM`, `YYYY-MM-DD`, `YYYYMMDD`, `MM/DD/YYYY`, a full ISO datetime or epoch milliseconds; an unparseable bound is a 400. A partial bound denotes the whole period and expands to the edge that preserves the operator: `gte`/`lt` take the period START, `gt`/`lte` take the period END — so `{gte: \"2024\"}` means on/after 2024-01-01 and `{lte: \"2024\"}` means through 2024-12-31.",
25510
25548
  "example": {
25511
25549
  "gte": "2024-01-01",
25512
25550
  "lte": "2024-12-31"
@@ -46230,7 +46268,7 @@
46230
46268
  "info": {
46231
46269
  "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.",
46232
46270
  "title": "ModelMatch API",
46233
- "version": "3.136.0"
46271
+ "version": "3.144.0"
46234
46272
  },
46235
46273
  "openapi": "3.1.0",
46236
46274
  "paths": {
@@ -69536,6 +69574,7 @@
69536
69574
  "schema": {
69537
69575
  "properties": {
69538
69576
  "company": {
69577
+ "description": "Ignored.",
69539
69578
  "type": "string"
69540
69579
  },
69541
69580
  "entityId": {
@@ -69545,12 +69584,15 @@
69545
69584
  "$ref": "#/components/schemas/CrmEntityType"
69546
69585
  },
69547
69586
  "location": {
69587
+ "description": "Ignored.",
69548
69588
  "type": "string"
69549
69589
  },
69550
69590
  "name": {
69591
+ "description": "Ignored. Who is researched comes from the market-data record, not the request.",
69551
69592
  "type": "string"
69552
69593
  },
69553
69594
  "title": {
69595
+ "description": "Ignored.",
69554
69596
  "type": "string"
69555
69597
  }
69556
69598
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@model-match/api",
3
- "version": "3.68.0",
3
+ "version": "3.69.0",
4
4
  "description": "TypeScript client for the ModelMatch API",
5
5
  "license": "MIT",
6
6
  "files": [