@anyformat/sdk 1.6.0 → 1.7.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/README.md +1 -3
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -3
- package/dist/index.d.ts +2 -3
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -1981,8 +1981,7 @@ type ResultsResponseV3 = {
|
|
|
1981
1981
|
* Flat single-run read: lifecycle status plus results inline.
|
|
1982
1982
|
*
|
|
1983
1983
|
* `results` is `null` until the run reaches `processed`, then carries the
|
|
1984
|
-
*
|
|
1985
|
-
* returns — no separate results endpoint, no 412 while in flight.
|
|
1984
|
+
* results envelope — no separate results endpoint, no 412 while in flight.
|
|
1986
1985
|
*/
|
|
1987
1986
|
type RunDetailV3 = {
|
|
1988
1987
|
/**
|
|
@@ -2004,7 +2003,7 @@ type RunDetailV3 = {
|
|
|
2004
2003
|
*/
|
|
2005
2004
|
id: string;
|
|
2006
2005
|
/**
|
|
2007
|
-
* Extraction results envelope; `null` until `status` is `processed`.
|
|
2006
|
+
* Extraction results envelope; `null` until `status` is `processed`.
|
|
2008
2007
|
*/
|
|
2009
2008
|
results?: ResultsResponseV3 | null;
|
|
2010
2009
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1981,8 +1981,7 @@ type ResultsResponseV3 = {
|
|
|
1981
1981
|
* Flat single-run read: lifecycle status plus results inline.
|
|
1982
1982
|
*
|
|
1983
1983
|
* `results` is `null` until the run reaches `processed`, then carries the
|
|
1984
|
-
*
|
|
1985
|
-
* returns — no separate results endpoint, no 412 while in flight.
|
|
1984
|
+
* results envelope — no separate results endpoint, no 412 while in flight.
|
|
1986
1985
|
*/
|
|
1987
1986
|
type RunDetailV3 = {
|
|
1988
1987
|
/**
|
|
@@ -2004,7 +2003,7 @@ type RunDetailV3 = {
|
|
|
2004
2003
|
*/
|
|
2005
2004
|
id: string;
|
|
2006
2005
|
/**
|
|
2007
|
-
* Extraction results envelope; `null` until `status` is `processed`.
|
|
2006
|
+
* Extraction results envelope; `null` until `status` is `processed`.
|
|
2008
2007
|
*/
|
|
2009
2008
|
results?: ResultsResponseV3 | null;
|
|
2010
2009
|
/**
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// package.json
|
|
2
2
|
var package_default = {
|
|
3
3
|
name: "@anyformat/sdk",
|
|
4
|
-
version: "1.
|
|
4
|
+
version: "1.7.0",
|
|
5
5
|
description: "TypeScript SDK for the AnyFormat API",
|
|
6
6
|
license: "MIT",
|
|
7
7
|
author: "Anyformat <info@anyformat.ai>",
|
|
@@ -23,7 +23,7 @@ var package_default = {
|
|
|
23
23
|
node: ">=18"
|
|
24
24
|
},
|
|
25
25
|
scripts: {
|
|
26
|
-
"gen:spec": 'ROOT=$(unset GIT_DIR && git rev-parse --show-toplevel) && cd "$ROOT/anyformat/services/api" && uv run python "$ROOT/anyformat/libs/public/sdk-js/scripts/dump_openapi.py" "$ROOT/anyformat/libs/public/sdk-js/openapi/
|
|
26
|
+
"gen:spec": 'ROOT=$(unset GIT_DIR && git rev-parse --show-toplevel) && cd "$ROOT/anyformat/services/api" && uv run python "$ROOT/anyformat/libs/public/sdk-js/scripts/dump_openapi.py" "$ROOT/anyformat/libs/public/sdk-js/openapi/v3.json"',
|
|
27
27
|
"gen:client": "openapi-ts",
|
|
28
28
|
gen: "bun run gen:spec && bun run gen:client",
|
|
29
29
|
"gen:check": "bun run gen && git diff --exit-code -- openapi src/sdk",
|