@model-match/api 3.8.0 → 3.9.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/dist/{index-C2yk67yZ.d.mts → index-D8xvXyWF.d.mts} +61 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/slim/index.d.mts +6 -2
- package/dist/slim/index.mjs +18 -2
- package/dist/{src-D7ciHm-w.mjs → src-s-lb9hS_.mjs} +16 -0
- package/openapi.json +156 -3
- package/package.json +2 -2
package/openapi.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"openapi": "3.1.0",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "ModelMatch API",
|
|
5
|
-
"version": "3.
|
|
5
|
+
"version": "3.18.0",
|
|
6
6
|
"description": "ModelMatch API — mortgage and real-estate market data"
|
|
7
7
|
},
|
|
8
8
|
"tags": [
|
|
@@ -6271,6 +6271,57 @@
|
|
|
6271
6271
|
"data"
|
|
6272
6272
|
]
|
|
6273
6273
|
},
|
|
6274
|
+
"CrmListMembershipsResult": {
|
|
6275
|
+
"type": "object",
|
|
6276
|
+
"properties": {
|
|
6277
|
+
"data": {
|
|
6278
|
+
"$ref": "#/components/schemas/CrmListMemberships"
|
|
6279
|
+
}
|
|
6280
|
+
},
|
|
6281
|
+
"required": [
|
|
6282
|
+
"data"
|
|
6283
|
+
]
|
|
6284
|
+
},
|
|
6285
|
+
"CrmListMemberships": {
|
|
6286
|
+
"type": "object",
|
|
6287
|
+
"properties": {
|
|
6288
|
+
"memberships": {
|
|
6289
|
+
"type": "object",
|
|
6290
|
+
"additionalProperties": {
|
|
6291
|
+
"type": "array",
|
|
6292
|
+
"items": {
|
|
6293
|
+
"$ref": "#/components/schemas/CrmListMembershipEntry"
|
|
6294
|
+
}
|
|
6295
|
+
}
|
|
6296
|
+
}
|
|
6297
|
+
},
|
|
6298
|
+
"required": [
|
|
6299
|
+
"memberships"
|
|
6300
|
+
]
|
|
6301
|
+
},
|
|
6302
|
+
"CrmListMembershipEntry": {
|
|
6303
|
+
"type": "object",
|
|
6304
|
+
"properties": {
|
|
6305
|
+
"id": {
|
|
6306
|
+
"type": "string"
|
|
6307
|
+
},
|
|
6308
|
+
"name": {
|
|
6309
|
+
"type": "string"
|
|
6310
|
+
},
|
|
6311
|
+
"objectType": {
|
|
6312
|
+
"$ref": "#/components/schemas/CrmObjectType"
|
|
6313
|
+
},
|
|
6314
|
+
"canManage": {
|
|
6315
|
+
"type": "boolean"
|
|
6316
|
+
}
|
|
6317
|
+
},
|
|
6318
|
+
"required": [
|
|
6319
|
+
"id",
|
|
6320
|
+
"name",
|
|
6321
|
+
"objectType",
|
|
6322
|
+
"canManage"
|
|
6323
|
+
]
|
|
6324
|
+
},
|
|
6274
6325
|
"CrmListWithMembers": {
|
|
6275
6326
|
"type": "object",
|
|
6276
6327
|
"properties": {
|
|
@@ -6485,6 +6536,12 @@
|
|
|
6485
6536
|
"type": "string"
|
|
6486
6537
|
}
|
|
6487
6538
|
},
|
|
6539
|
+
"createdEntityIds": {
|
|
6540
|
+
"type": "array",
|
|
6541
|
+
"items": {
|
|
6542
|
+
"type": "string"
|
|
6543
|
+
}
|
|
6544
|
+
},
|
|
6488
6545
|
"enrichJobId": {
|
|
6489
6546
|
"type": "string"
|
|
6490
6547
|
}
|
|
@@ -6492,7 +6549,8 @@
|
|
|
6492
6549
|
"required": [
|
|
6493
6550
|
"added",
|
|
6494
6551
|
"total",
|
|
6495
|
-
"addedEntityIds"
|
|
6552
|
+
"addedEntityIds",
|
|
6553
|
+
"createdEntityIds"
|
|
6496
6554
|
]
|
|
6497
6555
|
}
|
|
6498
6556
|
},
|
|
@@ -21374,6 +21432,96 @@
|
|
|
21374
21432
|
}
|
|
21375
21433
|
}
|
|
21376
21434
|
},
|
|
21435
|
+
"/v1/crm/lists/memberships": {
|
|
21436
|
+
"get": {
|
|
21437
|
+
"operationId": "listCrmListMemberships",
|
|
21438
|
+
"tags": [
|
|
21439
|
+
"CRM"
|
|
21440
|
+
],
|
|
21441
|
+
"summary": "Batched list-membership lookup for many entities",
|
|
21442
|
+
"parameters": [
|
|
21443
|
+
{
|
|
21444
|
+
"schema": {
|
|
21445
|
+
"$ref": "#/components/schemas/CrmObjectType"
|
|
21446
|
+
},
|
|
21447
|
+
"required": false,
|
|
21448
|
+
"name": "objectType",
|
|
21449
|
+
"in": "query"
|
|
21450
|
+
},
|
|
21451
|
+
{
|
|
21452
|
+
"schema": {
|
|
21453
|
+
"type": "string",
|
|
21454
|
+
"minLength": 1
|
|
21455
|
+
},
|
|
21456
|
+
"required": true,
|
|
21457
|
+
"name": "entityIds",
|
|
21458
|
+
"in": "query"
|
|
21459
|
+
}
|
|
21460
|
+
],
|
|
21461
|
+
"responses": {
|
|
21462
|
+
"200": {
|
|
21463
|
+
"description": "Each requested entityId mapped to the visible lists it's on ([] = none).",
|
|
21464
|
+
"content": {
|
|
21465
|
+
"application/json": {
|
|
21466
|
+
"schema": {
|
|
21467
|
+
"$ref": "#/components/schemas/CrmListMembershipsResult"
|
|
21468
|
+
}
|
|
21469
|
+
}
|
|
21470
|
+
}
|
|
21471
|
+
},
|
|
21472
|
+
"400": {
|
|
21473
|
+
"description": "Validation error",
|
|
21474
|
+
"content": {
|
|
21475
|
+
"application/json": {
|
|
21476
|
+
"schema": {
|
|
21477
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
21478
|
+
}
|
|
21479
|
+
}
|
|
21480
|
+
}
|
|
21481
|
+
},
|
|
21482
|
+
"401": {
|
|
21483
|
+
"description": "Unauthorized",
|
|
21484
|
+
"content": {
|
|
21485
|
+
"application/json": {
|
|
21486
|
+
"schema": {
|
|
21487
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
21488
|
+
}
|
|
21489
|
+
}
|
|
21490
|
+
}
|
|
21491
|
+
},
|
|
21492
|
+
"403": {
|
|
21493
|
+
"description": "Forbidden (authenticated, but missing required context — e.g. no active organization)",
|
|
21494
|
+
"content": {
|
|
21495
|
+
"application/json": {
|
|
21496
|
+
"schema": {
|
|
21497
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
21498
|
+
}
|
|
21499
|
+
}
|
|
21500
|
+
}
|
|
21501
|
+
},
|
|
21502
|
+
"404": {
|
|
21503
|
+
"description": "Not found",
|
|
21504
|
+
"content": {
|
|
21505
|
+
"application/json": {
|
|
21506
|
+
"schema": {
|
|
21507
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
21508
|
+
}
|
|
21509
|
+
}
|
|
21510
|
+
}
|
|
21511
|
+
},
|
|
21512
|
+
"413": {
|
|
21513
|
+
"description": "Response payload too large — detail endpoint capped to fit Lambda response limits",
|
|
21514
|
+
"content": {
|
|
21515
|
+
"application/json": {
|
|
21516
|
+
"schema": {
|
|
21517
|
+
"$ref": "#/components/schemas/PayloadTooLarge"
|
|
21518
|
+
}
|
|
21519
|
+
}
|
|
21520
|
+
}
|
|
21521
|
+
}
|
|
21522
|
+
}
|
|
21523
|
+
}
|
|
21524
|
+
},
|
|
21377
21525
|
"/v1/crm/lists/{id}": {
|
|
21378
21526
|
"get": {
|
|
21379
21527
|
"operationId": "getCrmList",
|
|
@@ -21985,12 +22133,17 @@
|
|
|
21985
22133
|
},
|
|
21986
22134
|
"companyType": {
|
|
21987
22135
|
"type": "string"
|
|
22136
|
+
},
|
|
22137
|
+
"contacts": {
|
|
22138
|
+
"type": "array",
|
|
22139
|
+
"items": {
|
|
22140
|
+
"$ref": "#/components/schemas/CrmContactSeed"
|
|
22141
|
+
}
|
|
21988
22142
|
}
|
|
21989
22143
|
},
|
|
21990
22144
|
"required": [
|
|
21991
22145
|
"entityType",
|
|
21992
22146
|
"entityId",
|
|
21993
|
-
"link",
|
|
21994
22147
|
"display"
|
|
21995
22148
|
]
|
|
21996
22149
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@model-match/api",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.9.0",
|
|
4
4
|
"description": "TypeScript client for the ModelMatch API",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@hey-api/openapi-ts": "^0.67.6",
|
|
44
|
-
"@model-match-inc/api": "3.
|
|
44
|
+
"@model-match-inc/api": "3.17.0",
|
|
45
45
|
"tsdown": "^0.21.10",
|
|
46
46
|
"typescript": "6.0.2",
|
|
47
47
|
"vitest": "4.1.2"
|