@uploadista/flow-documents-nodes 0.0.20 → 0.1.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.
@@ -1,33 +1,32 @@
1
1
 
2
- > @uploadista/flow-documents-nodes@0.0.20-beta.9 build /Users/denislaboureyras/Documents/uploadista/dev/uploadista-workspace/uploadista-sdk/packages/flow/documents/nodes
2
+ > @uploadista/flow-documents-nodes@0.1.0 build /home/runner/work/uploadista-sdk/uploadista-sdk/packages/flow/documents/nodes
3
3
  > tsc --noEmit && tsdown
4
4
 
5
- ℹ tsdown v0.18.0 powered by rolldown v1.0.0-beta.53
6
- ℹ config file: /Users/denislaboureyras/Documents/uploadista/dev/uploadista-workspace/uploadista-sdk/packages/flow/documents/nodes/tsdown.config.ts
5
+ ℹ tsdown v0.19.0 powered by rolldown v1.0.0-beta.59
6
+ ℹ config file: /home/runner/work/uploadista-sdk/uploadista-sdk/packages/flow/documents/nodes/tsdown.config.ts
7
7
  ℹ entry: src/index.ts, src/types/index.ts
8
8
  ℹ tsconfig: tsconfig.json
9
9
  ℹ Build start
10
- ℹ Cleaning 19 files
11
10
  ℹ [CJS] dist/index.cjs 11.65 kB │ gzip: 2.80 kB
12
11
  ℹ [CJS] dist/types/index.cjs  0.25 kB │ gzip: 0.15 kB
13
12
  ℹ [CJS] dist/types-Cz0s5Dxw.cjs  1.09 kB │ gzip: 0.36 kB
14
13
  ℹ [CJS] 3 files, total: 12.99 kB
15
- ℹ [CJS] dist/index.d.cts.map  6.99 kB │ gzip: 1.30 kB
16
- ℹ [CJS] dist/index-CN8GG19X.d.cts.map  1.02 kB │ gzip: 0.46 kB
17
- ℹ [CJS] dist/index.d.cts 36.29 kB │ gzip: 1.98 kB
18
- ℹ [CJS] dist/types/index.d.cts  0.63 kB │ gzip: 0.24 kB
19
- ℹ [CJS] dist/index-CN8GG19X.d.cts  2.33 kB │ gzip: 0.64 kB
20
- ℹ [CJS] 5 files, total: 47.26 kB
21
14
  ℹ [ESM] dist/index.mjs 10.28 kB │ gzip: 2.87 kB
22
15
  ℹ [ESM] dist/types/index.mjs  0.25 kB │ gzip: 0.17 kB
23
- ℹ [ESM] dist/index.mjs.map 38.59 kB │ gzip: 6.66 kB
24
- ℹ [ESM] dist/index.d.mts.map  6.99 kB │ gzip: 1.30 kB
25
- ℹ [ESM] dist/types-wF9yqL-x.mjs.map  2.57 kB │ gzip: 0.77 kB
16
+ ℹ [ESM] dist/index.mjs.map 38.44 kB │ gzip: 6.62 kB
17
+ ℹ [ESM] dist/index.d.mts.map  7.42 kB │ gzip: 1.39 kB
18
+ ℹ [ESM] dist/types-wF9yqL-x.mjs.map  2.55 kB │ gzip: 0.76 kB
26
19
  ℹ [ESM] dist/index-DXwYQF9t.d.mts.map  1.02 kB │ gzip: 0.46 kB
27
20
  ℹ [ESM] dist/types-wF9yqL-x.mjs  0.70 kB │ gzip: 0.35 kB
28
- ℹ [ESM] dist/index.d.mts 36.29 kB │ gzip: 1.98 kB
21
+ ℹ [ESM] dist/index.d.mts 36.62 kB │ gzip: 2.00 kB
29
22
  ℹ [ESM] dist/types/index.d.mts  0.63 kB │ gzip: 0.24 kB
30
23
  ℹ [ESM] dist/index-DXwYQF9t.d.mts  2.33 kB │ gzip: 0.64 kB
31
- ℹ [ESM] 10 files, total: 99.65 kB
32
- ✔ Build complete in 11198ms
33
- ✔ Build complete in 11198ms
24
+ ℹ [ESM] 10 files, total: 100.24 kB
25
+ ✔ Build complete in 37408ms
26
+ ℹ [CJS] dist/index.d.cts.map  7.42 kB │ gzip: 1.39 kB
27
+ ℹ [CJS] dist/index-CN8GG19X.d.cts.map  1.02 kB │ gzip: 0.46 kB
28
+ ℹ [CJS] dist/index.d.cts 36.65 kB │ gzip: 2.02 kB
29
+ ℹ [CJS] dist/types/index.d.cts  0.63 kB │ gzip: 0.24 kB
30
+ ℹ [CJS] dist/index-CN8GG19X.d.cts  2.33 kB │ gzip: 0.64 kB
31
+ ℹ [CJS] 5 files, total: 48.06 kB
32
+ ✔ Build complete in 37423ms
@@ -1 +1 @@
1
- {"version":3,"file":"index-CN8GG19X.d.cts","names":[],"sources":["../src/types/convert-to-markdown-node.ts","../src/types/describe-document-node.ts","../src/types/extract-text-node.ts","../src/types/merge-pdf-node.ts","../src/types/ocr-node.ts","../src/types/split-pdf-node.ts"],"sourcesContent":[],"mappings":";;;cAEa,+BAA6B,CAAA,CAAA;;EAA7B,UAAA,eAAA,UAKX,CAAA;;;;;;EALwC,CAAA,CAAA,CAAA;CAAA,eAAA,CAAA;AAO9B,KAAA,uBAAA,GAA0B,CAAA,CAAE,KAC/B,CAAA,OAAA,6BADoC,CAAA;;;cCPhC,8BAA4B,CAAA,CAAA,cAAA,CAAA,CAAA,IAAA,CAAA;KAE7B,sBAAA,GAAyB,CAAA,CAAE,aAC9B;;;cCHI,yBAAuB,CAAA,CAAA,cAAA,CAAA,CAAA,IAAA,CAAA;KAExB,iBAAA,GAAoB,CAAA,CAAE,aAAa;;;cCFlC,sBAAoB,CAAA,CAAA;;AHAjC,CAAA,eAAa,CAAA;KGID,cAAA,GAAiB,CAAA,CAAE,aAAa;;;cCJ/B,iBAAe,CAAA,CAAA;;IJAf,iBAAA,EAAA,mBAKX;;;;;;IALwC,KAAA,EAAA,OAAA;IAAA,IAAA,EAAA,MAAA;IAO9B,IAAA,EAAA,MAAA;;;;ECPC,YAAA,eAAA,YAA2C,CAAA;EAE5C,aAAA,eAAsB,YACzB,CAAA;;KGWG,SAAA,GAAY,CAAA,CAAE,aAAa;;;cCd1B,sBAAoB,CAAA,CAAA;;ILApB,KAAA,EAAA,OAAA;;;;;;AAA6B,KKM9B,cAAA,GAAiB,CAAA,CAAE,KLNW,CAAA,OKME,oBLNF,CAAA"}
1
+ {"version":3,"file":"index-CN8GG19X.d.cts","names":[],"sources":["../src/types/convert-to-markdown-node.ts","../src/types/describe-document-node.ts","../src/types/extract-text-node.ts","../src/types/merge-pdf-node.ts","../src/types/ocr-node.ts","../src/types/split-pdf-node.ts"],"sourcesContent":[],"mappings":";;;cAEa,+BAA6B,CAAA,CAAA;;EAA7B,UAAA,eAAA,UAGX,CAAA;;;;;;EAHwC,CAAA,CAAA,CAAA;CAAA,eAAA,CAAA;AAK9B,KAAA,uBAAA,GAA0B,CAAA,CAAE,KAC/B,CAAA,OAAA,6BADoC,CAAA;;;cCLhC,8BAA4B,CAAA,CAAA,cAAA,CAAA,CAAA,IAAA,CAAA;KAE7B,sBAAA,GAAyB,CAAA,CAAE,aAC9B;;;cCHI,yBAAuB,CAAA,CAAA,cAAA,CAAA,CAAA,IAAA,CAAA;KAExB,iBAAA,GAAoB,CAAA,CAAE,aAAa;;;cCFlC,sBAAoB,CAAA,CAAA;;AHAjC,CAAA,eAAa,CAAA;KGID,cAAA,GAAiB,CAAA,CAAE,aAAa;;;cCJ/B,iBAAe,CAAA,CAAA;;IJAf,iBAAA,EAAA,mBAGX;;;;;;IAHwC,KAAA,EAAA,OAAA;IAAA,IAAA,EAAA,MAAA;IAK9B,IAAA,EAAA,MAAA;;;;ECLC,YAAA,eAAA,YAA2C,CAAA;EAE5C,aAAA,eAAsB,YACzB,CAAA;;KGSG,SAAA,GAAY,CAAA,CAAE,aAAa;;;cCZ1B,sBAAoB,CAAA,CAAA;;ILApB,KAAA,EAAA,OAAA;;;;;;AAA6B,KKM9B,cAAA,GAAiB,CAAA,CAAE,KLNW,CAAA,OKME,oBLNF,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index-DXwYQF9t.d.mts","names":[],"sources":["../src/types/convert-to-markdown-node.ts","../src/types/describe-document-node.ts","../src/types/extract-text-node.ts","../src/types/merge-pdf-node.ts","../src/types/ocr-node.ts","../src/types/split-pdf-node.ts"],"sourcesContent":[],"mappings":";;;cAEa,+BAA6B,CAAA,CAAA;;EAA7B,UAAA,eAAA,UAKX,CAAA;;;;;;EALwC,CAAA,CAAA,CAAA;CAAA,eAAA,CAAA;AAO9B,KAAA,uBAAA,GAA0B,CAAA,CAAE,KAC/B,CAAA,OAAA,6BADoC,CAAA;;;cCPhC,8BAA4B,CAAA,CAAA,cAAA,CAAA,CAAA,IAAA,CAAA;KAE7B,sBAAA,GAAyB,CAAA,CAAE,aAC9B;;;cCHI,yBAAuB,CAAA,CAAA,cAAA,CAAA,CAAA,IAAA,CAAA;KAExB,iBAAA,GAAoB,CAAA,CAAE,aAAa;;;cCFlC,sBAAoB,CAAA,CAAA;;AHAjC,CAAA,eAAa,CAAA;KGID,cAAA,GAAiB,CAAA,CAAE,aAAa;;;cCJ/B,iBAAe,CAAA,CAAA;;IJAf,iBAAA,EAAA,mBAKX;;;;;;IALwC,KAAA,EAAA,OAAA;IAAA,IAAA,EAAA,MAAA;IAO9B,IAAA,EAAA,MAAA;;;;ECPC,YAAA,eAAA,YAA2C,CAAA;EAE5C,aAAA,eAAsB,YACzB,CAAA;;KGWG,SAAA,GAAY,CAAA,CAAE,aAAa;;;cCd1B,sBAAoB,CAAA,CAAA;;ILApB,KAAA,EAAA,OAAA;;;;;;AAA6B,KKM9B,cAAA,GAAiB,CAAA,CAAE,KLNW,CAAA,OKME,oBLNF,CAAA"}
1
+ {"version":3,"file":"index-DXwYQF9t.d.mts","names":[],"sources":["../src/types/convert-to-markdown-node.ts","../src/types/describe-document-node.ts","../src/types/extract-text-node.ts","../src/types/merge-pdf-node.ts","../src/types/ocr-node.ts","../src/types/split-pdf-node.ts"],"sourcesContent":[],"mappings":";;;cAEa,+BAA6B,CAAA,CAAA;;EAA7B,UAAA,eAAA,UAGX,CAAA;;;;;;EAHwC,CAAA,CAAA,CAAA;CAAA,eAAA,CAAA;AAK9B,KAAA,uBAAA,GAA0B,CAAA,CAAE,KAC/B,CAAA,OAAA,6BADoC,CAAA;;;cCLhC,8BAA4B,CAAA,CAAA,cAAA,CAAA,CAAA,IAAA,CAAA;KAE7B,sBAAA,GAAyB,CAAA,CAAE,aAC9B;;;cCHI,yBAAuB,CAAA,CAAA,cAAA,CAAA,CAAA,IAAA,CAAA;KAExB,iBAAA,GAAoB,CAAA,CAAE,aAAa;;;cCFlC,sBAAoB,CAAA,CAAA;;AHAjC,CAAA,eAAa,CAAA;KGID,cAAA,GAAiB,CAAA,CAAE,aAAa;;;cCJ/B,iBAAe,CAAA,CAAA;;IJAf,iBAAA,EAAA,mBAGX;;;;;;IAHwC,KAAA,EAAA,OAAA;IAAA,IAAA,EAAA,MAAA;IAK9B,IAAA,EAAA,MAAA;;;;ECLC,YAAA,eAAA,YAA2C,CAAA;EAE5C,aAAA,eAAsB,YACzB,CAAA;;KGSG,SAAA,GAAY,CAAA,CAAE,aAAa;;;cCZ1B,sBAAoB,CAAA,CAAA;;ILApB,KAAA,EAAA,OAAA;;;;;;AAA6B,KKM9B,cAAA,GAAiB,CAAA,CAAE,KLNW,CAAA,OKME,oBLNF,CAAA"}
package/dist/index.d.cts CHANGED
@@ -1,8 +1,9 @@
1
1
  import { a as MergePdfParams, c as extractTextParamsSchema, d as ConvertToMarkdownParams, f as convertToMarkdownParamsSchema, i as ocrParamsSchema, l as DescribeDocumentParams, n as splitPdfParamsSchema, o as mergePdfParamsSchema, r as OcrParams, s as ExtractTextParams, t as SplitPdfParams, u as describeDocumentParamsSchema } from "./index-CN8GG19X.cjs";
2
- import * as _uploadista_core_flow2 from "@uploadista/core/flow";
2
+ import * as _uploadista_core_flow5 from "@uploadista/core/flow";
3
3
  import { DocumentAiPlugin, DocumentPlugin, FileNamingConfig, NodeType, OcrResolution, OcrTaskType } from "@uploadista/core/flow";
4
- import * as zod_v4_core1 from "zod/v4/core";
5
- import * as zod1 from "zod";
4
+ import * as _uploadista_core_types11 from "@uploadista/core/types";
5
+ import * as zod_v4_core3 from "zod/v4/core";
6
+ import * as zod3 from "zod";
6
7
  import { z } from "zod";
7
8
  import { UploadistaError } from "@uploadista/core/errors";
8
9
  import { UploadEngine } from "@uploadista/core/upload";
@@ -14,8 +15,8 @@ type ConvertToMarkdownNodeParams = {
14
15
  resolution?: "tiny" | "small" | "base" | "gundam" | "large";
15
16
  keepOutput?: boolean;
16
17
  };
17
- declare function createConvertToMarkdownNode(id: string, params?: ConvertToMarkdownNodeParams): Effect.Effect<_uploadista_core_flow2.FlowNodeData & {
18
- inputSchema: zod1.ZodType<{
18
+ declare function createConvertToMarkdownNode(id: string, params?: ConvertToMarkdownNodeParams): Effect.Effect<_uploadista_core_flow5.FlowNodeData & {
19
+ inputSchema: zod3.ZodType<{
19
20
  id: string;
20
21
  offset: number;
21
22
  storage: {
@@ -31,7 +32,7 @@ declare function createConvertToMarkdownNode(id: string, params?: ConvertToMarkd
31
32
  }[] | undefined;
32
33
  };
33
34
  size?: number | undefined;
34
- metadata?: Record<string, string | number | boolean> | undefined;
35
+ metadata?: Record<string, _uploadista_core_types11.JsonValue> | undefined;
35
36
  creationDate?: string | undefined;
36
37
  url?: string | undefined;
37
38
  sizeIsDeferred?: boolean | undefined;
@@ -47,7 +48,7 @@ declare function createConvertToMarkdownNode(id: string, params?: ConvertToMarkd
47
48
  spanId: string;
48
49
  traceFlags: number;
49
50
  } | undefined;
50
- }, unknown, zod_v4_core1.$ZodTypeInternals<{
51
+ }, unknown, zod_v4_core3.$ZodTypeInternals<{
51
52
  id: string;
52
53
  offset: number;
53
54
  storage: {
@@ -63,7 +64,7 @@ declare function createConvertToMarkdownNode(id: string, params?: ConvertToMarkd
63
64
  }[] | undefined;
64
65
  };
65
66
  size?: number | undefined;
66
- metadata?: Record<string, string | number | boolean> | undefined;
67
+ metadata?: Record<string, _uploadista_core_types11.JsonValue> | undefined;
67
68
  creationDate?: string | undefined;
68
69
  url?: string | undefined;
69
70
  sizeIsDeferred?: boolean | undefined;
@@ -80,7 +81,7 @@ declare function createConvertToMarkdownNode(id: string, params?: ConvertToMarkd
80
81
  traceFlags: number;
81
82
  } | undefined;
82
83
  }, unknown>>;
83
- outputSchema: zod1.ZodType<{
84
+ outputSchema: zod3.ZodType<{
84
85
  id: string;
85
86
  offset: number;
86
87
  storage: {
@@ -96,7 +97,7 @@ declare function createConvertToMarkdownNode(id: string, params?: ConvertToMarkd
96
97
  }[] | undefined;
97
98
  };
98
99
  size?: number | undefined;
99
- metadata?: Record<string, string | number | boolean> | undefined;
100
+ metadata?: Record<string, _uploadista_core_types11.JsonValue> | undefined;
100
101
  creationDate?: string | undefined;
101
102
  url?: string | undefined;
102
103
  sizeIsDeferred?: boolean | undefined;
@@ -112,7 +113,7 @@ declare function createConvertToMarkdownNode(id: string, params?: ConvertToMarkd
112
113
  spanId: string;
113
114
  traceFlags: number;
114
115
  } | undefined;
115
- }, unknown, zod_v4_core1.$ZodTypeInternals<{
116
+ }, unknown, zod_v4_core3.$ZodTypeInternals<{
116
117
  id: string;
117
118
  offset: number;
118
119
  storage: {
@@ -128,7 +129,7 @@ declare function createConvertToMarkdownNode(id: string, params?: ConvertToMarkd
128
129
  }[] | undefined;
129
130
  };
130
131
  size?: number | undefined;
131
- metadata?: Record<string, string | number | boolean> | undefined;
132
+ metadata?: Record<string, _uploadista_core_types11.JsonValue> | undefined;
132
133
  creationDate?: string | undefined;
133
134
  url?: string | undefined;
134
135
  sizeIsDeferred?: boolean | undefined;
@@ -162,7 +163,7 @@ declare function createConvertToMarkdownNode(id: string, params?: ConvertToMarkd
162
163
  }[] | undefined;
163
164
  };
164
165
  size?: number | undefined;
165
- metadata?: Record<string, string | number | boolean> | undefined;
166
+ metadata?: Record<string, _uploadista_core_types11.JsonValue> | undefined;
166
167
  creationDate?: string | undefined;
167
168
  url?: string | undefined;
168
169
  sizeIsDeferred?: boolean | undefined;
@@ -184,7 +185,7 @@ declare function createConvertToMarkdownNode(id: string, params?: ConvertToMarkd
184
185
  flowId: string;
185
186
  inputs?: Record<string, unknown>;
186
187
  clientId: string | null;
187
- }) => Effect.Effect<_uploadista_core_flow2.NodeExecutionResult<{
188
+ }) => Effect.Effect<_uploadista_core_flow5.NodeExecutionResult<{
188
189
  id: string;
189
190
  offset: number;
190
191
  storage: {
@@ -200,7 +201,7 @@ declare function createConvertToMarkdownNode(id: string, params?: ConvertToMarkd
200
201
  }[] | undefined;
201
202
  };
202
203
  size?: number | undefined;
203
- metadata?: Record<string, string | number | boolean> | undefined;
204
+ metadata?: Record<string, _uploadista_core_types11.JsonValue> | undefined;
204
205
  creationDate?: string | undefined;
205
206
  url?: string | undefined;
206
207
  sizeIsDeferred?: boolean | undefined;
@@ -230,7 +231,7 @@ declare function createConvertToMarkdownNode(id: string, params?: ConvertToMarkd
230
231
  retryDelay?: number;
231
232
  exponentialBackoff?: boolean;
232
233
  };
233
- circuitBreaker?: _uploadista_core_flow2.FlowCircuitBreakerConfig;
234
+ circuitBreaker?: _uploadista_core_flow5.FlowCircuitBreakerConfig;
234
235
  } & {
235
236
  type: NodeType.process;
236
237
  }, UploadistaError, UploadEngine | DocumentPlugin | DocumentAiPlugin>;
@@ -239,8 +240,8 @@ declare function createConvertToMarkdownNode(id: string, params?: ConvertToMarkd
239
240
  type DescribeDocumentNodeParams = {
240
241
  keepOutput?: boolean;
241
242
  };
242
- declare function createDescribeDocumentNode(id: string, params?: DescribeDocumentNodeParams): Effect.Effect<_uploadista_core_flow2.FlowNodeData & {
243
- inputSchema: zod1.ZodType<{
243
+ declare function createDescribeDocumentNode(id: string, params?: DescribeDocumentNodeParams): Effect.Effect<_uploadista_core_flow5.FlowNodeData & {
244
+ inputSchema: zod3.ZodType<{
244
245
  id: string;
245
246
  offset: number;
246
247
  storage: {
@@ -256,7 +257,7 @@ declare function createDescribeDocumentNode(id: string, params?: DescribeDocumen
256
257
  }[] | undefined;
257
258
  };
258
259
  size?: number | undefined;
259
- metadata?: Record<string, string | number | boolean> | undefined;
260
+ metadata?: Record<string, _uploadista_core_types11.JsonValue> | undefined;
260
261
  creationDate?: string | undefined;
261
262
  url?: string | undefined;
262
263
  sizeIsDeferred?: boolean | undefined;
@@ -272,7 +273,7 @@ declare function createDescribeDocumentNode(id: string, params?: DescribeDocumen
272
273
  spanId: string;
273
274
  traceFlags: number;
274
275
  } | undefined;
275
- }, unknown, zod_v4_core1.$ZodTypeInternals<{
276
+ }, unknown, zod_v4_core3.$ZodTypeInternals<{
276
277
  id: string;
277
278
  offset: number;
278
279
  storage: {
@@ -288,7 +289,7 @@ declare function createDescribeDocumentNode(id: string, params?: DescribeDocumen
288
289
  }[] | undefined;
289
290
  };
290
291
  size?: number | undefined;
291
- metadata?: Record<string, string | number | boolean> | undefined;
292
+ metadata?: Record<string, _uploadista_core_types11.JsonValue> | undefined;
292
293
  creationDate?: string | undefined;
293
294
  url?: string | undefined;
294
295
  sizeIsDeferred?: boolean | undefined;
@@ -305,7 +306,7 @@ declare function createDescribeDocumentNode(id: string, params?: DescribeDocumen
305
306
  traceFlags: number;
306
307
  } | undefined;
307
308
  }, unknown>>;
308
- outputSchema: zod1.ZodType<{
309
+ outputSchema: zod3.ZodType<{
309
310
  id: string;
310
311
  offset: number;
311
312
  storage: {
@@ -321,7 +322,7 @@ declare function createDescribeDocumentNode(id: string, params?: DescribeDocumen
321
322
  }[] | undefined;
322
323
  };
323
324
  size?: number | undefined;
324
- metadata?: Record<string, string | number | boolean> | undefined;
325
+ metadata?: Record<string, _uploadista_core_types11.JsonValue> | undefined;
325
326
  creationDate?: string | undefined;
326
327
  url?: string | undefined;
327
328
  sizeIsDeferred?: boolean | undefined;
@@ -337,7 +338,7 @@ declare function createDescribeDocumentNode(id: string, params?: DescribeDocumen
337
338
  spanId: string;
338
339
  traceFlags: number;
339
340
  } | undefined;
340
- }, unknown, zod_v4_core1.$ZodTypeInternals<{
341
+ }, unknown, zod_v4_core3.$ZodTypeInternals<{
341
342
  id: string;
342
343
  offset: number;
343
344
  storage: {
@@ -353,7 +354,7 @@ declare function createDescribeDocumentNode(id: string, params?: DescribeDocumen
353
354
  }[] | undefined;
354
355
  };
355
356
  size?: number | undefined;
356
- metadata?: Record<string, string | number | boolean> | undefined;
357
+ metadata?: Record<string, _uploadista_core_types11.JsonValue> | undefined;
357
358
  creationDate?: string | undefined;
358
359
  url?: string | undefined;
359
360
  sizeIsDeferred?: boolean | undefined;
@@ -387,7 +388,7 @@ declare function createDescribeDocumentNode(id: string, params?: DescribeDocumen
387
388
  }[] | undefined;
388
389
  };
389
390
  size?: number | undefined;
390
- metadata?: Record<string, string | number | boolean> | undefined;
391
+ metadata?: Record<string, _uploadista_core_types11.JsonValue> | undefined;
391
392
  creationDate?: string | undefined;
392
393
  url?: string | undefined;
393
394
  sizeIsDeferred?: boolean | undefined;
@@ -409,7 +410,7 @@ declare function createDescribeDocumentNode(id: string, params?: DescribeDocumen
409
410
  flowId: string;
410
411
  inputs?: Record<string, unknown>;
411
412
  clientId: string | null;
412
- }) => Effect.Effect<_uploadista_core_flow2.NodeExecutionResult<{
413
+ }) => Effect.Effect<_uploadista_core_flow5.NodeExecutionResult<{
413
414
  id: string;
414
415
  offset: number;
415
416
  storage: {
@@ -425,7 +426,7 @@ declare function createDescribeDocumentNode(id: string, params?: DescribeDocumen
425
426
  }[] | undefined;
426
427
  };
427
428
  size?: number | undefined;
428
- metadata?: Record<string, string | number | boolean> | undefined;
429
+ metadata?: Record<string, _uploadista_core_types11.JsonValue> | undefined;
429
430
  creationDate?: string | undefined;
430
431
  url?: string | undefined;
431
432
  sizeIsDeferred?: boolean | undefined;
@@ -455,7 +456,7 @@ declare function createDescribeDocumentNode(id: string, params?: DescribeDocumen
455
456
  retryDelay?: number;
456
457
  exponentialBackoff?: boolean;
457
458
  };
458
- circuitBreaker?: _uploadista_core_flow2.FlowCircuitBreakerConfig;
459
+ circuitBreaker?: _uploadista_core_flow5.FlowCircuitBreakerConfig;
459
460
  } & {
460
461
  type: NodeType.process;
461
462
  }, UploadistaError, UploadEngine | DocumentPlugin>;
@@ -464,8 +465,8 @@ declare function createDescribeDocumentNode(id: string, params?: DescribeDocumen
464
465
  type ExtractTextNodeParams = {
465
466
  keepOutput?: boolean;
466
467
  };
467
- declare function createExtractTextNode(id: string, params?: ExtractTextNodeParams): Effect.Effect<_uploadista_core_flow2.FlowNodeData & {
468
- inputSchema: zod1.ZodType<{
468
+ declare function createExtractTextNode(id: string, params?: ExtractTextNodeParams): Effect.Effect<_uploadista_core_flow5.FlowNodeData & {
469
+ inputSchema: zod3.ZodType<{
469
470
  id: string;
470
471
  offset: number;
471
472
  storage: {
@@ -481,7 +482,7 @@ declare function createExtractTextNode(id: string, params?: ExtractTextNodeParam
481
482
  }[] | undefined;
482
483
  };
483
484
  size?: number | undefined;
484
- metadata?: Record<string, string | number | boolean> | undefined;
485
+ metadata?: Record<string, _uploadista_core_types11.JsonValue> | undefined;
485
486
  creationDate?: string | undefined;
486
487
  url?: string | undefined;
487
488
  sizeIsDeferred?: boolean | undefined;
@@ -497,7 +498,7 @@ declare function createExtractTextNode(id: string, params?: ExtractTextNodeParam
497
498
  spanId: string;
498
499
  traceFlags: number;
499
500
  } | undefined;
500
- }, unknown, zod_v4_core1.$ZodTypeInternals<{
501
+ }, unknown, zod_v4_core3.$ZodTypeInternals<{
501
502
  id: string;
502
503
  offset: number;
503
504
  storage: {
@@ -513,7 +514,7 @@ declare function createExtractTextNode(id: string, params?: ExtractTextNodeParam
513
514
  }[] | undefined;
514
515
  };
515
516
  size?: number | undefined;
516
- metadata?: Record<string, string | number | boolean> | undefined;
517
+ metadata?: Record<string, _uploadista_core_types11.JsonValue> | undefined;
517
518
  creationDate?: string | undefined;
518
519
  url?: string | undefined;
519
520
  sizeIsDeferred?: boolean | undefined;
@@ -530,7 +531,7 @@ declare function createExtractTextNode(id: string, params?: ExtractTextNodeParam
530
531
  traceFlags: number;
531
532
  } | undefined;
532
533
  }, unknown>>;
533
- outputSchema: zod1.ZodType<{
534
+ outputSchema: zod3.ZodType<{
534
535
  id: string;
535
536
  offset: number;
536
537
  storage: {
@@ -546,7 +547,7 @@ declare function createExtractTextNode(id: string, params?: ExtractTextNodeParam
546
547
  }[] | undefined;
547
548
  };
548
549
  size?: number | undefined;
549
- metadata?: Record<string, string | number | boolean> | undefined;
550
+ metadata?: Record<string, _uploadista_core_types11.JsonValue> | undefined;
550
551
  creationDate?: string | undefined;
551
552
  url?: string | undefined;
552
553
  sizeIsDeferred?: boolean | undefined;
@@ -562,7 +563,7 @@ declare function createExtractTextNode(id: string, params?: ExtractTextNodeParam
562
563
  spanId: string;
563
564
  traceFlags: number;
564
565
  } | undefined;
565
- }, unknown, zod_v4_core1.$ZodTypeInternals<{
566
+ }, unknown, zod_v4_core3.$ZodTypeInternals<{
566
567
  id: string;
567
568
  offset: number;
568
569
  storage: {
@@ -578,7 +579,7 @@ declare function createExtractTextNode(id: string, params?: ExtractTextNodeParam
578
579
  }[] | undefined;
579
580
  };
580
581
  size?: number | undefined;
581
- metadata?: Record<string, string | number | boolean> | undefined;
582
+ metadata?: Record<string, _uploadista_core_types11.JsonValue> | undefined;
582
583
  creationDate?: string | undefined;
583
584
  url?: string | undefined;
584
585
  sizeIsDeferred?: boolean | undefined;
@@ -612,7 +613,7 @@ declare function createExtractTextNode(id: string, params?: ExtractTextNodeParam
612
613
  }[] | undefined;
613
614
  };
614
615
  size?: number | undefined;
615
- metadata?: Record<string, string | number | boolean> | undefined;
616
+ metadata?: Record<string, _uploadista_core_types11.JsonValue> | undefined;
616
617
  creationDate?: string | undefined;
617
618
  url?: string | undefined;
618
619
  sizeIsDeferred?: boolean | undefined;
@@ -634,7 +635,7 @@ declare function createExtractTextNode(id: string, params?: ExtractTextNodeParam
634
635
  flowId: string;
635
636
  inputs?: Record<string, unknown>;
636
637
  clientId: string | null;
637
- }) => Effect.Effect<_uploadista_core_flow2.NodeExecutionResult<{
638
+ }) => Effect.Effect<_uploadista_core_flow5.NodeExecutionResult<{
638
639
  id: string;
639
640
  offset: number;
640
641
  storage: {
@@ -650,7 +651,7 @@ declare function createExtractTextNode(id: string, params?: ExtractTextNodeParam
650
651
  }[] | undefined;
651
652
  };
652
653
  size?: number | undefined;
653
- metadata?: Record<string, string | number | boolean> | undefined;
654
+ metadata?: Record<string, _uploadista_core_types11.JsonValue> | undefined;
654
655
  creationDate?: string | undefined;
655
656
  url?: string | undefined;
656
657
  sizeIsDeferred?: boolean | undefined;
@@ -680,7 +681,7 @@ declare function createExtractTextNode(id: string, params?: ExtractTextNodeParam
680
681
  retryDelay?: number;
681
682
  exponentialBackoff?: boolean;
682
683
  };
683
- circuitBreaker?: _uploadista_core_flow2.FlowCircuitBreakerConfig;
684
+ circuitBreaker?: _uploadista_core_flow5.FlowCircuitBreakerConfig;
684
685
  } & {
685
686
  type: NodeType.process;
686
687
  }, UploadistaError, UploadEngine | DocumentPlugin>;
@@ -695,7 +696,7 @@ type MergePdfNodeParams = {
695
696
  */
696
697
  naming?: FileNamingConfig;
697
698
  };
698
- declare function createMergePdfNode(id: string, params?: MergePdfNodeParams): Effect.Effect<_uploadista_core_flow2.FlowNodeData & {
699
+ declare function createMergePdfNode(id: string, params?: MergePdfNodeParams): Effect.Effect<_uploadista_core_flow5.FlowNodeData & {
699
700
  inputSchema: z.ZodType<{
700
701
  id: string;
701
702
  offset: number;
@@ -712,7 +713,7 @@ declare function createMergePdfNode(id: string, params?: MergePdfNodeParams): Ef
712
713
  }[] | undefined;
713
714
  };
714
715
  size?: number | undefined;
715
- metadata?: Record<string, string | number | boolean> | undefined;
716
+ metadata?: Record<string, _uploadista_core_types11.JsonValue> | undefined;
716
717
  creationDate?: string | undefined;
717
718
  url?: string | undefined;
718
719
  sizeIsDeferred?: boolean | undefined;
@@ -744,7 +745,7 @@ declare function createMergePdfNode(id: string, params?: MergePdfNodeParams): Ef
744
745
  }[] | undefined;
745
746
  };
746
747
  size?: number | undefined;
747
- metadata?: Record<string, string | number | boolean> | undefined;
748
+ metadata?: Record<string, _uploadista_core_types11.JsonValue> | undefined;
748
749
  creationDate?: string | undefined;
749
750
  url?: string | undefined;
750
751
  sizeIsDeferred?: boolean | undefined;
@@ -777,7 +778,7 @@ declare function createMergePdfNode(id: string, params?: MergePdfNodeParams): Ef
777
778
  }[] | undefined;
778
779
  };
779
780
  size?: number | undefined;
780
- metadata?: Record<string, string | number | boolean> | undefined;
781
+ metadata?: Record<string, _uploadista_core_types11.JsonValue> | undefined;
781
782
  creationDate?: string | undefined;
782
783
  url?: string | undefined;
783
784
  sizeIsDeferred?: boolean | undefined;
@@ -809,7 +810,7 @@ declare function createMergePdfNode(id: string, params?: MergePdfNodeParams): Ef
809
810
  }[] | undefined;
810
811
  };
811
812
  size?: number | undefined;
812
- metadata?: Record<string, string | number | boolean> | undefined;
813
+ metadata?: Record<string, _uploadista_core_types11.JsonValue> | undefined;
813
814
  creationDate?: string | undefined;
814
815
  url?: string | undefined;
815
816
  sizeIsDeferred?: boolean | undefined;
@@ -843,7 +844,7 @@ declare function createMergePdfNode(id: string, params?: MergePdfNodeParams): Ef
843
844
  }[] | undefined;
844
845
  };
845
846
  size?: number | undefined;
846
- metadata?: Record<string, string | number | boolean> | undefined;
847
+ metadata?: Record<string, _uploadista_core_types11.JsonValue> | undefined;
847
848
  creationDate?: string | undefined;
848
849
  url?: string | undefined;
849
850
  sizeIsDeferred?: boolean | undefined;
@@ -865,7 +866,7 @@ declare function createMergePdfNode(id: string, params?: MergePdfNodeParams): Ef
865
866
  flowId: string;
866
867
  inputs?: Record<string, unknown>;
867
868
  clientId: string | null;
868
- }) => Effect.Effect<_uploadista_core_flow2.NodeExecutionResult<{
869
+ }) => Effect.Effect<_uploadista_core_flow5.NodeExecutionResult<{
869
870
  id: string;
870
871
  offset: number;
871
872
  storage: {
@@ -881,7 +882,7 @@ declare function createMergePdfNode(id: string, params?: MergePdfNodeParams): Ef
881
882
  }[] | undefined;
882
883
  };
883
884
  size?: number | undefined;
884
- metadata?: Record<string, string | number | boolean> | undefined;
885
+ metadata?: Record<string, _uploadista_core_types11.JsonValue> | undefined;
885
886
  creationDate?: string | undefined;
886
887
  url?: string | undefined;
887
888
  sizeIsDeferred?: boolean | undefined;
@@ -911,7 +912,7 @@ declare function createMergePdfNode(id: string, params?: MergePdfNodeParams): Ef
911
912
  retryDelay?: number;
912
913
  exponentialBackoff?: boolean;
913
914
  };
914
- circuitBreaker?: _uploadista_core_flow2.FlowCircuitBreakerConfig;
915
+ circuitBreaker?: _uploadista_core_flow5.FlowCircuitBreakerConfig;
915
916
  } & {
916
917
  type: NodeType.process;
917
918
  }, UploadistaError, UploadEngine | DocumentPlugin>;
@@ -924,8 +925,8 @@ type OcrNodeParams = {
924
925
  referenceText?: string;
925
926
  keepOutput?: boolean;
926
927
  };
927
- declare function createOcrNode(id: string, params: OcrNodeParams): Effect.Effect<_uploadista_core_flow2.FlowNodeData & {
928
- inputSchema: zod1.ZodType<{
928
+ declare function createOcrNode(id: string, params: OcrNodeParams): Effect.Effect<_uploadista_core_flow5.FlowNodeData & {
929
+ inputSchema: zod3.ZodType<{
929
930
  id: string;
930
931
  offset: number;
931
932
  storage: {
@@ -941,7 +942,7 @@ declare function createOcrNode(id: string, params: OcrNodeParams): Effect.Effect
941
942
  }[] | undefined;
942
943
  };
943
944
  size?: number | undefined;
944
- metadata?: Record<string, string | number | boolean> | undefined;
945
+ metadata?: Record<string, _uploadista_core_types11.JsonValue> | undefined;
945
946
  creationDate?: string | undefined;
946
947
  url?: string | undefined;
947
948
  sizeIsDeferred?: boolean | undefined;
@@ -957,7 +958,7 @@ declare function createOcrNode(id: string, params: OcrNodeParams): Effect.Effect
957
958
  spanId: string;
958
959
  traceFlags: number;
959
960
  } | undefined;
960
- }, unknown, zod_v4_core1.$ZodTypeInternals<{
961
+ }, unknown, zod_v4_core3.$ZodTypeInternals<{
961
962
  id: string;
962
963
  offset: number;
963
964
  storage: {
@@ -973,7 +974,7 @@ declare function createOcrNode(id: string, params: OcrNodeParams): Effect.Effect
973
974
  }[] | undefined;
974
975
  };
975
976
  size?: number | undefined;
976
- metadata?: Record<string, string | number | boolean> | undefined;
977
+ metadata?: Record<string, _uploadista_core_types11.JsonValue> | undefined;
977
978
  creationDate?: string | undefined;
978
979
  url?: string | undefined;
979
980
  sizeIsDeferred?: boolean | undefined;
@@ -990,12 +991,12 @@ declare function createOcrNode(id: string, params: OcrNodeParams): Effect.Effect
990
991
  traceFlags: number;
991
992
  } | undefined;
992
993
  }, unknown>>;
993
- outputSchema: zod1.ZodType<{
994
+ outputSchema: zod3.ZodType<{
994
995
  extractedText: string;
995
996
  format: "markdown" | "plain" | "structured";
996
997
  taskType: "convertToMarkdown" | "freeOcr" | "parseFigure" | "locateObject";
997
998
  confidence?: number | undefined;
998
- }, unknown, zod_v4_core1.$ZodTypeInternals<{
999
+ }, unknown, zod_v4_core3.$ZodTypeInternals<{
999
1000
  extractedText: string;
1000
1001
  format: "markdown" | "plain" | "structured";
1001
1002
  taskType: "convertToMarkdown" | "freeOcr" | "parseFigure" | "locateObject";
@@ -1018,7 +1019,7 @@ declare function createOcrNode(id: string, params: OcrNodeParams): Effect.Effect
1018
1019
  }[] | undefined;
1019
1020
  };
1020
1021
  size?: number | undefined;
1021
- metadata?: Record<string, string | number | boolean> | undefined;
1022
+ metadata?: Record<string, _uploadista_core_types11.JsonValue> | undefined;
1022
1023
  creationDate?: string | undefined;
1023
1024
  url?: string | undefined;
1024
1025
  sizeIsDeferred?: boolean | undefined;
@@ -1040,7 +1041,7 @@ declare function createOcrNode(id: string, params: OcrNodeParams): Effect.Effect
1040
1041
  flowId: string;
1041
1042
  inputs?: Record<string, unknown>;
1042
1043
  clientId: string | null;
1043
- }) => Effect.Effect<_uploadista_core_flow2.NodeExecutionResult<{
1044
+ }) => Effect.Effect<_uploadista_core_flow5.NodeExecutionResult<{
1044
1045
  extractedText: string;
1045
1046
  format: "markdown" | "plain" | "structured";
1046
1047
  taskType: "convertToMarkdown" | "freeOcr" | "parseFigure" | "locateObject";
@@ -1059,7 +1060,7 @@ declare function createOcrNode(id: string, params: OcrNodeParams): Effect.Effect
1059
1060
  retryDelay?: number;
1060
1061
  exponentialBackoff?: boolean;
1061
1062
  };
1062
- circuitBreaker?: _uploadista_core_flow2.FlowCircuitBreakerConfig;
1063
+ circuitBreaker?: _uploadista_core_flow5.FlowCircuitBreakerConfig;
1063
1064
  } & {
1064
1065
  type: NodeType.process;
1065
1066
  }, UploadistaError, DocumentAiPlugin>;
@@ -1076,8 +1077,8 @@ type SplitPdfNodeParams = {
1076
1077
  */
1077
1078
  naming?: FileNamingConfig;
1078
1079
  };
1079
- declare function createSplitPdfNode(id: string, params: SplitPdfNodeParams): Effect.Effect<_uploadista_core_flow2.FlowNodeData & {
1080
- inputSchema: zod1.ZodType<{
1080
+ declare function createSplitPdfNode(id: string, params: SplitPdfNodeParams): Effect.Effect<_uploadista_core_flow5.FlowNodeData & {
1081
+ inputSchema: zod3.ZodType<{
1081
1082
  id: string;
1082
1083
  offset: number;
1083
1084
  storage: {
@@ -1093,7 +1094,7 @@ declare function createSplitPdfNode(id: string, params: SplitPdfNodeParams): Eff
1093
1094
  }[] | undefined;
1094
1095
  };
1095
1096
  size?: number | undefined;
1096
- metadata?: Record<string, string | number | boolean> | undefined;
1097
+ metadata?: Record<string, _uploadista_core_types11.JsonValue> | undefined;
1097
1098
  creationDate?: string | undefined;
1098
1099
  url?: string | undefined;
1099
1100
  sizeIsDeferred?: boolean | undefined;
@@ -1109,7 +1110,7 @@ declare function createSplitPdfNode(id: string, params: SplitPdfNodeParams): Eff
1109
1110
  spanId: string;
1110
1111
  traceFlags: number;
1111
1112
  } | undefined;
1112
- }, unknown, zod_v4_core1.$ZodTypeInternals<{
1113
+ }, unknown, zod_v4_core3.$ZodTypeInternals<{
1113
1114
  id: string;
1114
1115
  offset: number;
1115
1116
  storage: {
@@ -1125,7 +1126,7 @@ declare function createSplitPdfNode(id: string, params: SplitPdfNodeParams): Eff
1125
1126
  }[] | undefined;
1126
1127
  };
1127
1128
  size?: number | undefined;
1128
- metadata?: Record<string, string | number | boolean> | undefined;
1129
+ metadata?: Record<string, _uploadista_core_types11.JsonValue> | undefined;
1129
1130
  creationDate?: string | undefined;
1130
1131
  url?: string | undefined;
1131
1132
  sizeIsDeferred?: boolean | undefined;
@@ -1142,7 +1143,7 @@ declare function createSplitPdfNode(id: string, params: SplitPdfNodeParams): Eff
1142
1143
  traceFlags: number;
1143
1144
  } | undefined;
1144
1145
  }, unknown>>;
1145
- outputSchema: zod1.ZodType<{
1146
+ outputSchema: zod3.ZodType<{
1146
1147
  id: string;
1147
1148
  offset: number;
1148
1149
  storage: {
@@ -1158,7 +1159,7 @@ declare function createSplitPdfNode(id: string, params: SplitPdfNodeParams): Eff
1158
1159
  }[] | undefined;
1159
1160
  };
1160
1161
  size?: number | undefined;
1161
- metadata?: Record<string, string | number | boolean> | undefined;
1162
+ metadata?: Record<string, _uploadista_core_types11.JsonValue> | undefined;
1162
1163
  creationDate?: string | undefined;
1163
1164
  url?: string | undefined;
1164
1165
  sizeIsDeferred?: boolean | undefined;
@@ -1174,7 +1175,7 @@ declare function createSplitPdfNode(id: string, params: SplitPdfNodeParams): Eff
1174
1175
  spanId: string;
1175
1176
  traceFlags: number;
1176
1177
  } | undefined;
1177
- }, unknown, zod_v4_core1.$ZodTypeInternals<{
1178
+ }, unknown, zod_v4_core3.$ZodTypeInternals<{
1178
1179
  id: string;
1179
1180
  offset: number;
1180
1181
  storage: {
@@ -1190,7 +1191,7 @@ declare function createSplitPdfNode(id: string, params: SplitPdfNodeParams): Eff
1190
1191
  }[] | undefined;
1191
1192
  };
1192
1193
  size?: number | undefined;
1193
- metadata?: Record<string, string | number | boolean> | undefined;
1194
+ metadata?: Record<string, _uploadista_core_types11.JsonValue> | undefined;
1194
1195
  creationDate?: string | undefined;
1195
1196
  url?: string | undefined;
1196
1197
  sizeIsDeferred?: boolean | undefined;
@@ -1224,7 +1225,7 @@ declare function createSplitPdfNode(id: string, params: SplitPdfNodeParams): Eff
1224
1225
  }[] | undefined;
1225
1226
  };
1226
1227
  size?: number | undefined;
1227
- metadata?: Record<string, string | number | boolean> | undefined;
1228
+ metadata?: Record<string, _uploadista_core_types11.JsonValue> | undefined;
1228
1229
  creationDate?: string | undefined;
1229
1230
  url?: string | undefined;
1230
1231
  sizeIsDeferred?: boolean | undefined;
@@ -1246,7 +1247,7 @@ declare function createSplitPdfNode(id: string, params: SplitPdfNodeParams): Eff
1246
1247
  flowId: string;
1247
1248
  inputs?: Record<string, unknown>;
1248
1249
  clientId: string | null;
1249
- }) => Effect.Effect<_uploadista_core_flow2.NodeExecutionResult<{
1250
+ }) => Effect.Effect<_uploadista_core_flow5.NodeExecutionResult<{
1250
1251
  id: string;
1251
1252
  offset: number;
1252
1253
  storage: {
@@ -1262,7 +1263,7 @@ declare function createSplitPdfNode(id: string, params: SplitPdfNodeParams): Eff
1262
1263
  }[] | undefined;
1263
1264
  };
1264
1265
  size?: number | undefined;
1265
- metadata?: Record<string, string | number | boolean> | undefined;
1266
+ metadata?: Record<string, _uploadista_core_types11.JsonValue> | undefined;
1266
1267
  creationDate?: string | undefined;
1267
1268
  url?: string | undefined;
1268
1269
  sizeIsDeferred?: boolean | undefined;
@@ -1292,7 +1293,7 @@ declare function createSplitPdfNode(id: string, params: SplitPdfNodeParams): Eff
1292
1293
  retryDelay?: number;
1293
1294
  exponentialBackoff?: boolean;
1294
1295
  };
1295
- circuitBreaker?: _uploadista_core_flow2.FlowCircuitBreakerConfig;
1296
+ circuitBreaker?: _uploadista_core_flow5.FlowCircuitBreakerConfig;
1296
1297
  } & {
1297
1298
  type: NodeType.process;
1298
1299
  }, UploadistaError, UploadEngine | DocumentPlugin>;