@model-match/api 3.94.0 → 3.96.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/RELEASE_NOTES.md +10 -0
- package/dist/{index-BnltIY9l.d.mts → index-Jg5SKErN.d.mts} +29 -17
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/slim/index.d.mts +2 -2
- package/dist/slim/index.mjs +2 -2
- package/dist/{src-Cm2pouPe.mjs → src-_KoKdtg5.mjs} +1 -1
- package/openapi.json +42 -19
- package/package.json +1 -1
package/openapi.json
CHANGED
|
@@ -33173,7 +33173,7 @@
|
|
|
33173
33173
|
"type": "string"
|
|
33174
33174
|
},
|
|
33175
33175
|
"edit": {
|
|
33176
|
-
"description": "How to change it: the recipe routes with `recipeId
|
|
33176
|
+
"description": "How to change it: the recipe routes with `recipeId`; the Studio job routes with `jobName`; or, for `monitor`, `PATCH /v1/monitors/{id}` with `id` (`jobName` is then the job that holds its table and runs).",
|
|
33177
33177
|
"oneOf": [
|
|
33178
33178
|
{
|
|
33179
33179
|
"properties": {
|
|
@@ -33195,12 +33195,17 @@
|
|
|
33195
33195
|
},
|
|
33196
33196
|
{
|
|
33197
33197
|
"properties": {
|
|
33198
|
+
"id": {
|
|
33199
|
+
"description": "`monitor` only: the monitor's id.",
|
|
33200
|
+
"type": "string"
|
|
33201
|
+
},
|
|
33198
33202
|
"jobName": {
|
|
33199
33203
|
"type": "string"
|
|
33200
33204
|
},
|
|
33201
33205
|
"kind": {
|
|
33202
33206
|
"enum": [
|
|
33203
|
-
"job"
|
|
33207
|
+
"job",
|
|
33208
|
+
"monitor"
|
|
33204
33209
|
],
|
|
33205
33210
|
"type": "string"
|
|
33206
33211
|
}
|
|
@@ -33214,7 +33219,7 @@
|
|
|
33214
33219
|
]
|
|
33215
33220
|
},
|
|
33216
33221
|
"family": {
|
|
33217
|
-
"description": "Recipe monitors only: the kind of alert it sends.",
|
|
33222
|
+
"description": "Recipe and template monitors only: the kind of alert it sends.",
|
|
33218
33223
|
"enum": [
|
|
33219
33224
|
"past-clients",
|
|
33220
33225
|
"agent-partners",
|
|
@@ -33224,14 +33229,15 @@
|
|
|
33224
33229
|
"type": "string"
|
|
33225
33230
|
},
|
|
33226
33231
|
"id": {
|
|
33227
|
-
"description": "`recipe:<recipeId
|
|
33232
|
+
"description": "`recipe:<recipeId>`, `job:<jobName>`, or `mon_…` for a monitor from a ModelMatch template.",
|
|
33228
33233
|
"type": "string"
|
|
33229
33234
|
},
|
|
33230
33235
|
"kind": {
|
|
33231
|
-
"description": "`recipe`: an alert recipe you subscribed to. `job`: a Studio job of yours with alert rules.",
|
|
33236
|
+
"description": "`recipe`: an alert recipe you subscribed to. `job`: a Studio job of yours with alert rules. `template`: a monitor you set up from a ModelMatch template.",
|
|
33232
33237
|
"enum": [
|
|
33233
33238
|
"recipe",
|
|
33234
|
-
"job"
|
|
33239
|
+
"job",
|
|
33240
|
+
"template"
|
|
33235
33241
|
],
|
|
33236
33242
|
"type": "string"
|
|
33237
33243
|
},
|
|
@@ -33308,7 +33314,7 @@
|
|
|
33308
33314
|
"MonitorList": {
|
|
33309
33315
|
"properties": {
|
|
33310
33316
|
"data": {
|
|
33311
|
-
"description": "Recipe monitors first (in the recipe catalog's order, then your own recipes), then job monitors (oldest first).",
|
|
33317
|
+
"description": "Recipe monitors first (in the recipe catalog's order, then your own recipes), then monitors from templates (oldest first), then job monitors (oldest first).",
|
|
33312
33318
|
"items": {
|
|
33313
33319
|
"$ref": "#/components/schemas/Monitor"
|
|
33314
33320
|
},
|
|
@@ -49538,7 +49544,7 @@
|
|
|
49538
49544
|
"type": "string"
|
|
49539
49545
|
},
|
|
49540
49546
|
"subject": {
|
|
49541
|
-
"description": "Who or what the model scores: `home`, `loan_officer`, `agent` or `
|
|
49547
|
+
"description": "Who or what the model scores: `home`, `loan_officer`, `agent`, `agent_lo_pair` or `company` (a `subjects[].id` from getStudioModelOptions).",
|
|
49542
49548
|
"type": "string"
|
|
49543
49549
|
},
|
|
49544
49550
|
"table": {
|
|
@@ -49661,7 +49667,7 @@
|
|
|
49661
49667
|
"type": "string"
|
|
49662
49668
|
},
|
|
49663
49669
|
"features": {
|
|
49664
|
-
"description": "The data points the model may use: the ones the person believes matter. The model is trained on exactly these, and its report card says how much each one mattered and how the picks compare with using everything. Leave it out to use every market data point.",
|
|
49670
|
+
"description": "The data points the model may use: the ones the person believes matter. The model is trained on exactly these, and its report card says how much each one mattered and how the picks compare with using everything. Leave it out to use the outcome's default list (`outcomes[].dataPoints` in getStudioModelOptions; else every market data point).",
|
|
49665
49671
|
"items": {
|
|
49666
49672
|
"$ref": "#/components/schemas/StudioModelDataPoint"
|
|
49667
49673
|
},
|
|
@@ -49785,7 +49791,7 @@
|
|
|
49785
49791
|
"type": "object"
|
|
49786
49792
|
},
|
|
49787
49793
|
"subject": {
|
|
49788
|
-
"description": "Who or what the model scores: `home` (default), `loan_officer`, `agent
|
|
49794
|
+
"description": "Who or what the model scores: `home` (default), `loan_officer`, `agent`, `agent_lo_pair` (an agent and a loan officer together) or `company`, a `subjects[].id` from getStudioModelOptions (which lists only the subjects available). Each subject has its own outcomes, populations, data points and upload keys.",
|
|
49789
49795
|
"example": "loan_officer",
|
|
49790
49796
|
"maxLength": 40,
|
|
49791
49797
|
"minLength": 1,
|
|
@@ -50018,7 +50024,7 @@
|
|
|
50018
50024
|
"type": "array"
|
|
50019
50025
|
},
|
|
50020
50026
|
"kind": {
|
|
50021
|
-
"description": "Homes: `property_address` (`address_key`, ZIP), `property_id` or `loan_id`. Loan officers: `nmls_id` (the NMLS id column). Agents: `agent_id` (the agent id column). Agent and loan officer pairs: `agent_lo_pair` (two columns: the agent id, then the NMLS id). `subjects[].keyKinds` in getStudioModelOptions lists each subject's.",
|
|
50027
|
+
"description": "Homes: `property_address` (`address_key`, ZIP), `property_id` or `loan_id`. Loan officers: `nmls_id` (the NMLS id column). Agents: `agent_id` (the agent id column). Agent and loan officer pairs: `agent_lo_pair` (two columns: the agent id, then the NMLS id). Companies: `company_nmls_id`. `subjects[].keyKinds` in getStudioModelOptions lists each subject's.",
|
|
50022
50028
|
"example": "property_address",
|
|
50023
50029
|
"maxLength": 40,
|
|
50024
50030
|
"minLength": 1,
|
|
@@ -50108,6 +50114,13 @@
|
|
|
50108
50114
|
"outcomes": {
|
|
50109
50115
|
"items": {
|
|
50110
50116
|
"properties": {
|
|
50117
|
+
"dataPoints": {
|
|
50118
|
+
"description": "The data points a model of this outcome uses when `features` is left out (the default list). Absent: every data point of its subject. Any other data point of the subject can still be picked by id.",
|
|
50119
|
+
"items": {
|
|
50120
|
+
"type": "string"
|
|
50121
|
+
},
|
|
50122
|
+
"type": "array"
|
|
50123
|
+
},
|
|
50111
50124
|
"defaultHorizonMonths": {
|
|
50112
50125
|
"type": "number"
|
|
50113
50126
|
},
|
|
@@ -50275,7 +50288,7 @@
|
|
|
50275
50288
|
"type": "object"
|
|
50276
50289
|
},
|
|
50277
50290
|
"subjects": {
|
|
50278
|
-
"description": "What can be scored: `home` (the default; its lists are also the top-level `outcomes`, `populations` and `themes`), `loan_officer`, `agent` and `
|
|
50291
|
+
"description": "What can be scored: `home` (the default; its lists are also the top-level `outcomes`, `populations` and `themes`), `loan_officer`, `agent`, `agent_lo_pair` and `company`. Only subjects available to build are listed. Each subject has its own outcomes, populations, data points, upload keys and scope forms; a model uses one subject's.",
|
|
50279
50292
|
"items": {
|
|
50280
50293
|
"properties": {
|
|
50281
50294
|
"boostColumns": {
|
|
@@ -50321,7 +50334,7 @@
|
|
|
50321
50334
|
"type": "object"
|
|
50322
50335
|
},
|
|
50323
50336
|
"id": {
|
|
50324
|
-
"description": "The `subject` to send: `home`, `loan_officer`, `agent` or `
|
|
50337
|
+
"description": "The `subject` to send: `home`, `loan_officer`, `agent`, `agent_lo_pair` or `company`.",
|
|
50325
50338
|
"type": "string"
|
|
50326
50339
|
},
|
|
50327
50340
|
"keyKinds": {
|
|
@@ -50378,6 +50391,13 @@
|
|
|
50378
50391
|
"outcomes": {
|
|
50379
50392
|
"items": {
|
|
50380
50393
|
"properties": {
|
|
50394
|
+
"dataPoints": {
|
|
50395
|
+
"description": "The data points a model of this outcome uses when `features` is left out (the default list). Absent: every data point of its subject. Any other data point of the subject can still be picked by id.",
|
|
50396
|
+
"items": {
|
|
50397
|
+
"type": "string"
|
|
50398
|
+
},
|
|
50399
|
+
"type": "array"
|
|
50400
|
+
},
|
|
50381
50401
|
"defaultHorizonMonths": {
|
|
50382
50402
|
"type": "number"
|
|
50383
50403
|
},
|
|
@@ -50641,7 +50661,7 @@
|
|
|
50641
50661
|
"type": "string"
|
|
50642
50662
|
},
|
|
50643
50663
|
"bySubject": {
|
|
50644
|
-
"description": "Models of people (loan officers, agents, pairs) take about the same time wherever they look: a range for training and for a refresh, by subject.",
|
|
50664
|
+
"description": "Models of people and companies (loan officers, agents, pairs, companies) take about the same time wherever they look: a range for training and for a refresh, by subject.",
|
|
50645
50665
|
"items": {
|
|
50646
50666
|
"properties": {
|
|
50647
50667
|
"expectedMinutes": {
|
|
@@ -51188,7 +51208,7 @@
|
|
|
51188
51208
|
"$ref": "#/components/schemas/StudioModelKey"
|
|
51189
51209
|
},
|
|
51190
51210
|
"kind": {
|
|
51191
|
-
"description": "Who is scored. Homes: `homes` (recent mortgage, in the scope), `company_book` (`companyNmlsId`) or `uploaded_list` (`table`, `key`). Loan officers: `loan_officers` (active in the scope), `company_loan_officers` (`companyNmlsId`) or `uploaded_list` (key `nmls_id`). Agents: `agents` (active in the scope), `agents_of_company` (agents whose clients took a mortgage from one company's loan officers: `companyNmlsId`) or `uploaded_list` (key `agent_id`). Agent and loan officer pairs: `agent_lo_pairs` (pairs with past deals), `company_agent_lo_pairs` (one company's pairs: `companyNmlsId`), `agent_lo_candidates` / `lo_agent_candidates` (`companyNmlsId`:
|
|
51211
|
+
"description": "Who is scored. Homes: `homes` (recent mortgage, in the scope), `company_book` (`companyNmlsId`) or `uploaded_list` (`table`, `key`). Loan officers: `loan_officers` (active in the scope), `company_loan_officers` (`companyNmlsId`) or `uploaded_list` (key `nmls_id`). Agents: `agents` (active in the scope), `agents_of_company` (agents whose clients took a mortgage from one company's loan officers: `companyNmlsId`) or `uploaded_list` (key `agent_id`). Agent and loan officer pairs: `agent_lo_pairs` (pairs with past deals), `company_agent_lo_pairs` (one company's pairs: `companyNmlsId`), `agent_lo_candidates` / `lo_agent_candidates` (`companyNmlsId`: agents of the loan officer's colleagues who have not dealt with them yet), `agent_lo_county_candidates` / `lo_agent_county_candidates` (`companyNmlsId`: busy agents in the loan officer's counties who never dealt with their company) or `uploaded_list` (key `agent_lo_pair`). Companies: `companies` (with a loan officer active in the scope; scope `national` by default) or `uploaded_list` (key `company_nmls_id`). Some outcomes take only some populations (`outcomes[].populations` in getStudioModelOptions).",
|
|
51192
51212
|
"enum": [
|
|
51193
51213
|
"homes",
|
|
51194
51214
|
"company_book",
|
|
@@ -51200,7 +51220,10 @@
|
|
|
51200
51220
|
"agent_lo_pairs",
|
|
51201
51221
|
"company_agent_lo_pairs",
|
|
51202
51222
|
"agent_lo_candidates",
|
|
51203
|
-
"lo_agent_candidates"
|
|
51223
|
+
"lo_agent_candidates",
|
|
51224
|
+
"companies",
|
|
51225
|
+
"agent_lo_county_candidates",
|
|
51226
|
+
"lo_agent_county_candidates"
|
|
51204
51227
|
],
|
|
51205
51228
|
"type": "string"
|
|
51206
51229
|
},
|
|
@@ -53389,7 +53412,7 @@
|
|
|
53389
53412
|
"info": {
|
|
53390
53413
|
"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.",
|
|
53391
53414
|
"title": "ModelMatch API",
|
|
53392
|
-
"version": "3.
|
|
53415
|
+
"version": "3.189.0"
|
|
53393
53416
|
},
|
|
53394
53417
|
"openapi": "3.1.0",
|
|
53395
53418
|
"paths": {
|
|
@@ -84549,7 +84572,7 @@
|
|
|
84549
84572
|
},
|
|
84550
84573
|
"/v1/monitors": {
|
|
84551
84574
|
"get": {
|
|
84552
|
-
"description": "Everything that alerts you, in one list: the alert recipes you subscribed to and the Studio jobs you saved with alert rules in your active organization. Each monitor says what it watches, how often it checks, when it last sent an alert and how to change it. Free.",
|
|
84575
|
+
"description": "Everything that alerts you, in one list: the alert recipes you subscribed to, the monitors you set up from ModelMatch templates, and the Studio jobs you saved with alert rules in your active organization. Each monitor says what it watches, how often it checks, when it last sent an alert and how to change it. Free.",
|
|
84553
84576
|
"operationId": "listMonitors",
|
|
84554
84577
|
"responses": {
|
|
84555
84578
|
"200": {
|
|
@@ -95401,7 +95424,7 @@
|
|
|
95401
95424
|
"name": "Market"
|
|
95402
95425
|
},
|
|
95403
95426
|
{
|
|
95404
|
-
"description": "
|
|
95427
|
+
"description": "Monitors watch the data and tell you when it changes: ModelMatch templates (past clients, agent partners, farm areas, record watch) and your own Studio jobs with rules",
|
|
95405
95428
|
"name": "Monitors"
|
|
95406
95429
|
},
|
|
95407
95430
|
{
|