@model-match/api 3.100.0 → 3.102.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 CHANGED
@@ -2,6 +2,18 @@
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.102.0
6
+
7
+ - **CRM documents.** `createFile` (`links`) and `linkFile` accept `crm_record:<id>` for a CRM record you can see. Anyone who can see the record can view the standard files linked to it. Protected files stay shared person by person.
8
+ - **A record's documents.** `listFiles` with `linkedTo=crm_record:<id>` returns the record's documents and a new `hiddenProtectedCount`, the number of protected files linked to the record that you cannot open. You get `404` for a record you cannot see.
9
+
10
+ ## 3.101.0
11
+
12
+ - **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.
13
+ - **Retention.** `updateFile` accepts `retainUntil` and `legalHold`. A file cannot be deleted while either applies.
14
+ - **`derivedFrom` on `createFile`.** A file made from a protected file is protected too.
15
+ - **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`.
16
+
5
17
  ## 3.100.0
6
18
 
7
19
  - **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.