@model-match/api 3.99.0 → 3.101.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 +13 -0
- package/dist/{index-Bb5VRpvP.d.mts → index-Beyx3IUL.d.mts} +578 -23
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/slim/index.d.mts +54 -6
- package/dist/slim/index.mjs +142 -6
- package/dist/{src-lZgFLTz5.mjs → src-BHtp1hnU.mjs} +156 -4
- package/openapi.json +1443 -211
- package/package.json +1 -1
package/RELEASE_NOTES.md
CHANGED
|
@@ -2,6 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
Changes to `@model-match/api` that affect how you use it. Each version is generated from the ModelMatch API's OpenAPI spec, so new endpoints and fields appear in the [API reference](https://docs.modelmatch.com/developers) as they ship.
|
|
4
4
|
|
|
5
|
+
## 3.101.0
|
|
6
|
+
|
|
7
|
+
- **Protected files.** Create a file with `class: "protected"`, or have its owner raise an existing file with `updateFile`. A protected file can be shared with named people only. Every access is recorded, and the file opens through a link that works once and lasts 5 minutes (`getFileContent` returns `oneTime: true`). An agent needs the person's approval in that conversation (`approveFileForAgent`). Owners and organization admins can read `getFileAccessLog`, and admins can read `getFilesAccessReport`, as JSON or CSV. This is available to selected organizations first.
|
|
8
|
+
- **Retention.** `updateFile` accepts `retainUntil` and `legalHold`. A file cannot be deleted while either applies.
|
|
9
|
+
- **`derivedFrom` on `createFile`.** A file made from a protected file is protected too.
|
|
10
|
+
- **Malware checks on every upload.** A new file, or a new revision, waits in `scanning` until it is cleared. If it does not pass, it is rejected with `malware` or `scan_failed`.
|
|
11
|
+
|
|
12
|
+
## 3.100.0
|
|
13
|
+
|
|
14
|
+
- **Load a file from your files library into a Studio table.** New methods load a ready file into a table only your organization can query (`createStudioTable`, with the file's id and a table name), list your tables (`listStudioTables`), read one while it is still being read (`getStudioTable`) and delete one (`deleteStudioTable`). All free.
|
|
15
|
+
- Every table answer says which file it came from (`sourceFileId`) and whether that file has since been deleted (`sourceFileDeleted`). Deleting a file never deletes its tables, and deleting a table leaves the file.
|
|
16
|
+
- **The upload methods are deprecated.** `createStudioUpload`, `completeStudioUpload`, `listStudioUploads` and `deleteStudioUpload` keep working until 2026-12-23. Move to the table methods: put the file in your files library, then load it.
|
|
17
|
+
|
|
5
18
|
## 3.99.0
|
|
6
19
|
|
|
7
20
|
- **`client.files.createRevision` replaces a file's contents and keeps its id.** Declare the new size and SHA-256, PUT the bytes to the returned URL, then call `complete`. Shares and links stay, `sha256` and `sizeBytes` update, and `revision` goes up by one. The file keeps its current contents until the new ones check out. Files now carry `revision`.
|