@model-match/api 3.102.0 → 3.103.1
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 +11 -0
- package/dist/{index-DsoUV3tA.d.mts → index-CHjiTYlP.d.mts} +21 -14
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/slim/index.d.mts +4 -4
- package/dist/slim/index.mjs +4 -4
- package/dist/{src-D8eq-tCM.mjs → src-Bv7R5w1N.mjs} +3 -3
- package/openapi.json +24 -19
- package/package.json +1 -1
package/openapi.json
CHANGED
|
@@ -27702,7 +27702,7 @@
|
|
|
27702
27702
|
"File": {
|
|
27703
27703
|
"properties": {
|
|
27704
27704
|
"class": {
|
|
27705
|
-
"description": "`standard` (the default) or `protected`. A protected file is shared with named people only, opens through a one-time link, records every access in its access log, and an agent can open it only after the person approves it in that conversation.
|
|
27705
|
+
"description": "`standard` (the default) or `protected`. A protected file is shared with named people only, opens through a one-time link, records every access in its access log, and an agent can open it only after the person approves it in that conversation.",
|
|
27706
27706
|
"enum": [
|
|
27707
27707
|
"standard",
|
|
27708
27708
|
"protected"
|
|
@@ -27787,13 +27787,19 @@
|
|
|
27787
27787
|
"type": "string"
|
|
27788
27788
|
},
|
|
27789
27789
|
"sha256": {
|
|
27790
|
+
"description": "Hex SHA-256 of the bytes. Empty while an upload that declared none is in progress; set when it completes.",
|
|
27790
27791
|
"type": "string"
|
|
27791
27792
|
},
|
|
27792
27793
|
"sizeBytes": {
|
|
27793
27794
|
"type": "integer"
|
|
27794
27795
|
},
|
|
27795
27796
|
"status": {
|
|
27796
|
-
"description": "`uploading
|
|
27797
|
+
"description": "`uploading` (waiting for the bytes), `scanning` (being checked for malware), `ready`, `rejected` (see `statusReason`; the bytes were removed), or `reencrypting` (just made protected and being encrypted again; it lists, but cannot be opened, replaced, shared, linked or deleted until it is `ready`, usually within a minute).",
|
|
27798
|
+
"type": "string"
|
|
27799
|
+
},
|
|
27800
|
+
"statusReason": {
|
|
27801
|
+
"description": "Why the file is in its status, or `null`. For `rejected`: `malware` (it did not pass the malware check); `unscannable` (it could not be checked for malware, for example because it is password-protected or encrypted; upload a version that can be checked); `size_mismatch` or `checksum_mismatch` (the bytes were not what was declared; start a new upload). For `reencrypting`: `reencrypt_failed` (encrypting it did not finish; it stays closed, and making it protected again retries).",
|
|
27802
|
+
"nullable": true,
|
|
27797
27803
|
"type": "string"
|
|
27798
27804
|
},
|
|
27799
27805
|
"updatedAt": {
|
|
@@ -27811,6 +27817,7 @@
|
|
|
27811
27817
|
"kind",
|
|
27812
27818
|
"class",
|
|
27813
27819
|
"status",
|
|
27820
|
+
"statusReason",
|
|
27814
27821
|
"ownerId",
|
|
27815
27822
|
"organizationId",
|
|
27816
27823
|
"provenance",
|
|
@@ -27910,7 +27917,7 @@
|
|
|
27910
27917
|
"additionalProperties": false,
|
|
27911
27918
|
"properties": {
|
|
27912
27919
|
"class": {
|
|
27913
|
-
"description": "`standard` (the default) or `protected`. A protected file is shared with named people only, opens through a one-time link, records every access in its access log, and an agent can open it only after the person approves it in that conversation.
|
|
27920
|
+
"description": "`standard` (the default) or `protected`. A protected file is shared with named people only, opens through a one-time link, records every access in its access log, and an agent can open it only after the person approves it in that conversation.",
|
|
27914
27921
|
"enum": [
|
|
27915
27922
|
"standard",
|
|
27916
27923
|
"protected"
|
|
@@ -27974,7 +27981,7 @@
|
|
|
27974
27981
|
"type": "object"
|
|
27975
27982
|
},
|
|
27976
27983
|
"sha256": {
|
|
27977
|
-
"description": "Hex SHA-256 of the bytes
|
|
27984
|
+
"description": "Hex SHA-256 of the bytes, if you have it: the upload is then refused when the bytes differ. Leave it out and it is computed when the upload completes.",
|
|
27978
27985
|
"pattern": "^[0-9a-fA-F]{64}$",
|
|
27979
27986
|
"type": "string"
|
|
27980
27987
|
},
|
|
@@ -27988,15 +27995,14 @@
|
|
|
27988
27995
|
"required": [
|
|
27989
27996
|
"name",
|
|
27990
27997
|
"mediaType",
|
|
27991
|
-
"sizeBytes"
|
|
27992
|
-
"sha256"
|
|
27998
|
+
"sizeBytes"
|
|
27993
27999
|
],
|
|
27994
28000
|
"type": "object"
|
|
27995
28001
|
},
|
|
27996
28002
|
"FileError": {
|
|
27997
28003
|
"properties": {
|
|
27998
28004
|
"code": {
|
|
27999
|
-
"description": "Stable code: `not_found`, `forbidden`, `no_organization`, `unauthenticated`, `invalid_request`, `invalid_cursor`, `invalid_principal`, `principal_not_in_organization`, `invalid_link_target`, `link_target_not_supported`, `link_not_found`, `share_not_found`, `upload_missing`, `upload_rejected`, `size_mismatch`, `checksum_mismatch`, `not_ready`, `legal_hold`, `retention`, `
|
|
28005
|
+
"description": "Stable code: `not_found`, `forbidden`, `no_organization`, `unauthenticated`, `invalid_request`, `invalid_cursor`, `invalid_principal`, `principal_not_in_organization`, `invalid_link_target`, `link_target_not_supported`, `link_not_found`, `share_not_found`, `upload_missing`, `upload_rejected`, `size_mismatch`, `checksum_mismatch`, `not_ready`, `legal_hold`, `retention`, `protected_share_scope`, `agent_not_approved`, `human_required`, `not_protected`, `invalid_derived_from`, `malware`, `unscannable`, `file_busy`, `access_log_unavailable`, `scan_pending`, `revision_pending`, `storage_unavailable`, `membership_unavailable`.",
|
|
28000
28006
|
"type": "string"
|
|
28001
28007
|
},
|
|
28002
28008
|
"error": {
|
|
@@ -28030,7 +28036,7 @@
|
|
|
28030
28036
|
"additionalProperties": false,
|
|
28031
28037
|
"properties": {
|
|
28032
28038
|
"class": {
|
|
28033
|
-
"description": "Raise the class to protected (the owner only). It can never be lowered. Team and organization shares are removed.",
|
|
28039
|
+
"description": "Raise the class to protected (the owner only, a ready file). It can never be lowered. Team and organization shares are removed, and the file is `reencrypting` until it is encrypted again (usually within a minute). Sending it again for a file still `reencrypting` retries.",
|
|
28034
28040
|
"enum": [
|
|
28035
28041
|
"protected"
|
|
28036
28042
|
],
|
|
@@ -28070,7 +28076,7 @@
|
|
|
28070
28076
|
"type": "string"
|
|
28071
28077
|
},
|
|
28072
28078
|
"sha256": {
|
|
28073
|
-
"description": "Hex SHA-256 of the new bytes.",
|
|
28079
|
+
"description": "Hex SHA-256 of the new bytes, if you have it. Leave it out and it is computed on complete.",
|
|
28074
28080
|
"pattern": "^[0-9a-fA-F]{64}$",
|
|
28075
28081
|
"type": "string"
|
|
28076
28082
|
},
|
|
@@ -28082,8 +28088,7 @@
|
|
|
28082
28088
|
}
|
|
28083
28089
|
},
|
|
28084
28090
|
"required": [
|
|
28085
|
-
"sizeBytes"
|
|
28086
|
-
"sha256"
|
|
28091
|
+
"sizeBytes"
|
|
28087
28092
|
],
|
|
28088
28093
|
"type": "object"
|
|
28089
28094
|
},
|
|
@@ -57639,7 +57644,7 @@
|
|
|
57639
57644
|
"info": {
|
|
57640
57645
|
"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.",
|
|
57641
57646
|
"title": "ModelMatch API",
|
|
57642
|
-
"version": "3.
|
|
57647
|
+
"version": "3.200.0"
|
|
57643
57648
|
},
|
|
57644
57649
|
"openapi": "3.1.0",
|
|
57645
57650
|
"paths": {
|
|
@@ -84079,12 +84084,12 @@
|
|
|
84079
84084
|
}
|
|
84080
84085
|
},
|
|
84081
84086
|
{
|
|
84082
|
-
"description": "`standard` (the default) or `protected`. A protected file is shared with named people only, opens through a one-time link, records every access in its access log, and an agent can open it only after the person approves it in that conversation.
|
|
84087
|
+
"description": "`standard` (the default) or `protected`. A protected file is shared with named people only, opens through a one-time link, records every access in its access log, and an agent can open it only after the person approves it in that conversation.",
|
|
84083
84088
|
"in": "query",
|
|
84084
84089
|
"name": "class",
|
|
84085
84090
|
"required": false,
|
|
84086
84091
|
"schema": {
|
|
84087
|
-
"description": "`standard` (the default) or `protected`. A protected file is shared with named people only, opens through a one-time link, records every access in its access log, and an agent can open it only after the person approves it in that conversation.
|
|
84092
|
+
"description": "`standard` (the default) or `protected`. A protected file is shared with named people only, opens through a one-time link, records every access in its access log, and an agent can open it only after the person approves it in that conversation.",
|
|
84088
84093
|
"enum": [
|
|
84089
84094
|
"standard",
|
|
84090
84095
|
"protected"
|
|
@@ -84093,12 +84098,12 @@
|
|
|
84093
84098
|
}
|
|
84094
84099
|
},
|
|
84095
84100
|
{
|
|
84096
|
-
"description": "Comma-separated statuses (default `ready`).",
|
|
84101
|
+
"description": "Comma-separated statuses (default `ready` and `reencrypting`).",
|
|
84097
84102
|
"in": "query",
|
|
84098
84103
|
"name": "status",
|
|
84099
84104
|
"required": false,
|
|
84100
84105
|
"schema": {
|
|
84101
|
-
"description": "Comma-separated statuses (default `ready`).",
|
|
84106
|
+
"description": "Comma-separated statuses (default `ready` and `reencrypting`).",
|
|
84102
84107
|
"maxLength": 512,
|
|
84103
84108
|
"type": "string"
|
|
84104
84109
|
}
|
|
@@ -84323,7 +84328,7 @@
|
|
|
84323
84328
|
]
|
|
84324
84329
|
},
|
|
84325
84330
|
"post": {
|
|
84326
|
-
"description": "Step one of two: declare the file (name, type, exact size and SHA-256) and get `upload`, a URL to PUT the bytes to with the headers given. Step two: call complete. A new file is visible only to you until you share it. Free.",
|
|
84331
|
+
"description": "Step one of two: declare the file (name, type, exact size and, optionally, its SHA-256) and get `upload`, a URL to PUT the bytes to with the headers given. Step two: call complete. A new file is visible only to you until you share it. Free.",
|
|
84327
84332
|
"operationId": "createFile",
|
|
84328
84333
|
"requestBody": {
|
|
84329
84334
|
"content": {
|
|
@@ -85618,7 +85623,7 @@
|
|
|
85618
85623
|
},
|
|
85619
85624
|
"/v1/files/{id}/complete": {
|
|
85620
85625
|
"post": {
|
|
85621
|
-
"description": "Call after the bytes were PUT to the upload URL. The size and SHA-256 are checked; a match makes the file ready (`200`), or `scanning` while it is checked for malware (`202`, call again shortly). A mismatch answers `422` and the upload must be started again. Calling it again is safe. Free.",
|
|
85626
|
+
"description": "Call after the bytes were PUT to the upload URL. The size and SHA-256 are checked (when no SHA-256 was declared it is computed now); a match makes the file ready (`200`), or `scanning` while it is checked for malware (`202`, call again shortly). A mismatch answers `422` and the upload must be started again. Calling it again is safe. Free.",
|
|
85622
85627
|
"operationId": "completeFile",
|
|
85623
85628
|
"parameters": [
|
|
85624
85629
|
{
|
|
@@ -86215,7 +86220,7 @@
|
|
|
86215
86220
|
},
|
|
86216
86221
|
"/v1/files/{id}/revisions": {
|
|
86217
86222
|
"post": {
|
|
86218
|
-
"description": "The owner or an editor replaces a ready file's bytes and keeps its id, shares and links. Declare the new size and SHA-256, PUT the bytes to `upload` with the headers given, then call complete. Until complete succeeds the file keeps its current contents; a mismatch leaves it unchanged. Free.",
|
|
86223
|
+
"description": "The owner or an editor replaces a ready file's bytes and keeps its id, shares and links. Declare the new size (and, optionally, SHA-256), PUT the bytes to `upload` with the headers given, then call complete. Until complete succeeds the file keeps its current contents; a mismatch leaves it unchanged. Free.",
|
|
86219
86224
|
"operationId": "createFileRevision",
|
|
86220
86225
|
"parameters": [
|
|
86221
86226
|
{
|