@model-match/api 3.97.0 → 3.99.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 +9 -0
- package/dist/{index-BC-Ge-9w.d.mts → index-Bb5VRpvP.d.mts} +1211 -60
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +2 -2
- package/dist/slim/index.d.mts +81 -3
- package/dist/slim/index.mjs +231 -3
- package/dist/{src-CW1du8h5.mjs → src-lZgFLTz5.mjs} +259 -2
- package/openapi.json +16499 -13604
- package/package.json +1 -1
package/RELEASE_NOTES.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
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.99.0
|
|
6
|
+
|
|
7
|
+
- **`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`.
|
|
8
|
+
|
|
9
|
+
## 3.98.0
|
|
10
|
+
|
|
11
|
+
- **`client.files` is your file library.** New methods start an upload (`create`, then PUT the bytes to the returned URL, then `complete`), browse your files with filters and facet counts (`list`), search them by name (`search`), read one with its shares and links (`get`), open one (`getContent`, a fresh short-lived link each time), rename it or edit its metadata (`update`), delete it (`delete`), share it with a person, a team or your whole organization (`share`, `unshare`) and attach it to a chat, project, Studio table or export (`link`, `unlink`). A new file is visible only to you until you share it. All of it is free.
|
|
12
|
+
- The file library is opening to workspaces in stages. Until it is enabled for your workspace, these methods answer `404`.
|
|
13
|
+
|
|
5
14
|
## 3.97.0
|
|
6
15
|
|
|
7
16
|
- **`client.monitors` can create and manage monitors.** New methods create, read, update, delete, check and preview template monitors (past clients, agent partners, farm areas, watched records), and list the templates, each monitor's updates, and the email template tokens and preview. Creating a template monitor checks it at once; after that it runs weekly, and each weekly run costs 10 credits. Checks and previews are free.
|