unstructured-transform-client 0.18.24 → 0.18.26

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/README.md CHANGED
@@ -67,10 +67,10 @@ const outcome = await client.parse.run({
67
67
  });
68
68
  ```
69
69
 
70
- The engine requires `required` to list every key in `properties` and
71
- `additionalProperties` to be `false`. That constraint cannot be expressed in
72
- OpenAPI, so the types do not enforce it — a schema without it is rejected at
73
- request time rather than by the compiler.
70
+ The engine's own bookkeeping is `required` listing every key in `properties`
71
+ and `additionalProperties` set to `false`. Omit either and the API fills it in
72
+ for you rather than rejecting the request, so this is a convenience, not a
73
+ requirement to hand-author.
74
74
 
75
75
  **Extract against a parse you already have.**
76
76
 
@@ -20,7 +20,7 @@ export interface ExtractRequest {
20
20
  */
21
21
  parseId: string;
22
22
  /**
23
- * A JSON Schema. Subject to the same engine constraints as `schema` on the parse call, so `required` must list every key in `properties`, `additionalProperties` must be false, and the serialized schema is limited to 1,048,576 bytes.
23
+ * A JSON Schema. Subject to the same engine constraints as `schema` on the parse call: it must be a valid JSON Schema (drafts 6, 7, 2019-09 or 2020-12), `required` and `additionalProperties` are filled in automatically when omitted so they are not the caller's burden, and the serialized schema is limited to 1,048,576 bytes.
24
24
  */
25
25
  schema: {
26
26
  [key: string]: any;
package/dist/version.d.ts CHANGED
@@ -7,4 +7,4 @@
7
7
  * runtime, because importing JSON differs across module systems and bundlers
8
8
  * and would make this module's behaviour depend on how it was built.
9
9
  */
10
- export declare const VERSION = "0.18.24";
10
+ export declare const VERSION = "0.18.26";
package/dist/version.js CHANGED
@@ -7,4 +7,4 @@
7
7
  * runtime, because importing JSON differs across module systems and bundlers
8
8
  * and would make this module's behaviour depend on how it was built.
9
9
  */
10
- export const VERSION = "0.18.24";
10
+ export const VERSION = "0.18.26";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unstructured-transform-client",
3
- "version": "0.18.24",
3
+ "version": "0.18.26",
4
4
  "description": "TypeScript client for the Unstructured Transform v2 API — one document in, structured output back.",
5
5
  "license": "MIT",
6
6
  "author": "Unstructured",