@uploadista/flow-documents-nodes 0.0.18-beta.9 → 0.0.19

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,6 +1,6 @@
1
1
 
2
2
  
3
- > @uploadista/flow-documents-nodes@0.0.18-beta.8 build /Users/denislaboureyras/Documents/uploadista/dev/uploadista-workspace/uploadista-sdk/packages/flow/documents/nodes
3
+ > @uploadista/flow-documents-nodes@0.0.18 build /Users/denislaboureyras/Documents/uploadista/dev/uploadista-workspace/uploadista-sdk/packages/flow/documents/nodes
4
4
  > tsdown
5
5
 
6
6
  ℹ tsdown v0.16.8 powered by rolldown v1.0.0-beta.52
@@ -13,21 +13,21 @@
13
13
  ℹ [CJS] dist/types/index.cjs  0.25 kB │ gzip: 0.15 kB
14
14
  ℹ [CJS] dist/types-Cz0s5Dxw.cjs  1.09 kB │ gzip: 0.36 kB
15
15
  ℹ [CJS] 3 files, total: 12.99 kB
16
- ℹ [CJS] dist/index.d.cts.map  6.99 kB │ gzip: 1.25 kB
17
- ℹ [CJS] dist/index-CN8GG19X.d.cts.map  1.02 kB │ gzip: 0.46 kB
18
- ℹ [CJS] dist/index.d.cts 32.56 kB │ gzip: 1.89 kB
19
- ℹ [CJS] dist/types/index.d.cts  0.63 kB │ gzip: 0.24 kB
20
- ℹ [CJS] dist/index-CN8GG19X.d.cts  2.33 kB │ gzip: 0.64 kB
21
- ℹ [CJS] 5 files, total: 43.54 kB
22
16
  ℹ [ESM] dist/index.mjs 10.28 kB │ gzip: 2.87 kB
23
17
  ℹ [ESM] dist/types/index.mjs  0.25 kB │ gzip: 0.17 kB
24
18
  ℹ [ESM] dist/index.mjs.map 38.24 kB │ gzip: 6.63 kB
25
- ℹ [ESM] dist/index.d.mts.map  6.99 kB │ gzip: 1.25 kB
19
+ ℹ [ESM] dist/index.d.mts.map  6.99 kB │ gzip: 1.30 kB
26
20
  ℹ [ESM] dist/types-wF9yqL-x.mjs.map  2.57 kB │ gzip: 0.77 kB
27
21
  ℹ [ESM] dist/index-DXwYQF9t.d.mts.map  1.02 kB │ gzip: 0.46 kB
28
22
  ℹ [ESM] dist/types-wF9yqL-x.mjs  0.70 kB │ gzip: 0.35 kB
29
- ℹ [ESM] dist/index.d.mts 32.56 kB │ gzip: 1.89 kB
23
+ ℹ [ESM] dist/index.d.mts 36.29 kB │ gzip: 1.98 kB
30
24
  ℹ [ESM] dist/types/index.d.mts  0.63 kB │ gzip: 0.24 kB
31
25
  ℹ [ESM] dist/index-DXwYQF9t.d.mts  2.33 kB │ gzip: 0.64 kB
32
- ℹ [ESM] 10 files, total: 95.58 kB
33
- ✔ Build complete in 7150ms
26
+ ℹ [ESM] 10 files, total: 99.30 kB
27
+ ℹ [CJS] dist/index.d.cts.map  6.99 kB │ gzip: 1.30 kB
28
+ ℹ [CJS] dist/index-CN8GG19X.d.cts.map  1.02 kB │ gzip: 0.46 kB
29
+ ℹ [CJS] dist/index.d.cts 36.29 kB │ gzip: 1.98 kB
30
+ ℹ [CJS] dist/types/index.d.cts  0.63 kB │ gzip: 0.24 kB
31
+ ℹ [CJS] dist/index-CN8GG19X.d.cts  2.33 kB │ gzip: 0.64 kB
32
+ ℹ [CJS] 5 files, total: 47.26 kB
33
+ ✔ Build complete in 8274ms
package/dist/index.d.cts CHANGED
@@ -1,8 +1,8 @@
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_flow0 from "@uploadista/core/flow";
2
+ import * as _uploadista_core_flow2 from "@uploadista/core/flow";
3
3
  import { DocumentAiPlugin, DocumentPlugin, FileNamingConfig, NodeType, OcrResolution, OcrTaskType } from "@uploadista/core/flow";
4
- import * as zod_v4_core0 from "zod/v4/core";
5
- import * as zod0 from "zod";
4
+ import * as zod_v4_core1 from "zod/v4/core";
5
+ import * as zod1 from "zod";
6
6
  import { z } from "zod";
7
7
  import { UploadistaError } from "@uploadista/core/errors";
8
8
  import { UploadServer } from "@uploadista/core/upload";
@@ -14,8 +14,8 @@ type ConvertToMarkdownNodeParams = {
14
14
  resolution?: "tiny" | "small" | "base" | "gundam" | "large";
15
15
  keepOutput?: boolean;
16
16
  };
17
- declare function createConvertToMarkdownNode(id: string, params?: ConvertToMarkdownNodeParams): Effect.Effect<_uploadista_core_flow0.FlowNodeData & {
18
- inputSchema: zod0.ZodType<{
17
+ declare function createConvertToMarkdownNode(id: string, params?: ConvertToMarkdownNodeParams): Effect.Effect<_uploadista_core_flow2.FlowNodeData & {
18
+ inputSchema: zod1.ZodType<{
19
19
  id: string;
20
20
  offset: number;
21
21
  storage: {
@@ -42,7 +42,12 @@ declare function createConvertToMarkdownNode(id: string, params?: ConvertToMarkd
42
42
  nodeId: string;
43
43
  jobId: string;
44
44
  } | undefined;
45
- }, unknown, zod_v4_core0.$ZodTypeInternals<{
45
+ traceContext?: {
46
+ traceId: string;
47
+ spanId: string;
48
+ traceFlags: number;
49
+ } | undefined;
50
+ }, unknown, zod_v4_core1.$ZodTypeInternals<{
46
51
  id: string;
47
52
  offset: number;
48
53
  storage: {
@@ -69,8 +74,13 @@ declare function createConvertToMarkdownNode(id: string, params?: ConvertToMarkd
69
74
  nodeId: string;
70
75
  jobId: string;
71
76
  } | undefined;
77
+ traceContext?: {
78
+ traceId: string;
79
+ spanId: string;
80
+ traceFlags: number;
81
+ } | undefined;
72
82
  }, unknown>>;
73
- outputSchema: zod0.ZodType<{
83
+ outputSchema: zod1.ZodType<{
74
84
  id: string;
75
85
  offset: number;
76
86
  storage: {
@@ -97,7 +107,12 @@ declare function createConvertToMarkdownNode(id: string, params?: ConvertToMarkd
97
107
  nodeId: string;
98
108
  jobId: string;
99
109
  } | undefined;
100
- }, unknown, zod_v4_core0.$ZodTypeInternals<{
110
+ traceContext?: {
111
+ traceId: string;
112
+ spanId: string;
113
+ traceFlags: number;
114
+ } | undefined;
115
+ }, unknown, zod_v4_core1.$ZodTypeInternals<{
101
116
  id: string;
102
117
  offset: number;
103
118
  storage: {
@@ -124,6 +139,11 @@ declare function createConvertToMarkdownNode(id: string, params?: ConvertToMarkd
124
139
  nodeId: string;
125
140
  jobId: string;
126
141
  } | undefined;
142
+ traceContext?: {
143
+ traceId: string;
144
+ spanId: string;
145
+ traceFlags: number;
146
+ } | undefined;
127
147
  }, unknown>>;
128
148
  run: (args: {
129
149
  data: {
@@ -153,13 +173,18 @@ declare function createConvertToMarkdownNode(id: string, params?: ConvertToMarkd
153
173
  nodeId: string;
154
174
  jobId: string;
155
175
  } | undefined;
176
+ traceContext?: {
177
+ traceId: string;
178
+ spanId: string;
179
+ traceFlags: number;
180
+ } | undefined;
156
181
  };
157
182
  jobId: string;
158
183
  storageId: string;
159
184
  flowId: string;
160
185
  inputs?: Record<string, unknown>;
161
186
  clientId: string | null;
162
- }) => Effect.Effect<_uploadista_core_flow0.NodeExecutionResult<{
187
+ }) => Effect.Effect<_uploadista_core_flow2.NodeExecutionResult<{
163
188
  id: string;
164
189
  offset: number;
165
190
  storage: {
@@ -186,6 +211,11 @@ declare function createConvertToMarkdownNode(id: string, params?: ConvertToMarkd
186
211
  nodeId: string;
187
212
  jobId: string;
188
213
  } | undefined;
214
+ traceContext?: {
215
+ traceId: string;
216
+ spanId: string;
217
+ traceFlags: number;
218
+ } | undefined;
189
219
  }>, UploadistaError, never>;
190
220
  condition?: {
191
221
  field: string;
@@ -200,7 +230,7 @@ declare function createConvertToMarkdownNode(id: string, params?: ConvertToMarkd
200
230
  retryDelay?: number;
201
231
  exponentialBackoff?: boolean;
202
232
  };
203
- circuitBreaker?: _uploadista_core_flow0.FlowCircuitBreakerConfig;
233
+ circuitBreaker?: _uploadista_core_flow2.FlowCircuitBreakerConfig;
204
234
  } & {
205
235
  type: NodeType.process;
206
236
  }, UploadistaError, UploadServer | DocumentPlugin | DocumentAiPlugin>;
@@ -209,8 +239,8 @@ declare function createConvertToMarkdownNode(id: string, params?: ConvertToMarkd
209
239
  type DescribeDocumentNodeParams = {
210
240
  keepOutput?: boolean;
211
241
  };
212
- declare function createDescribeDocumentNode(id: string, params?: DescribeDocumentNodeParams): Effect.Effect<_uploadista_core_flow0.FlowNodeData & {
213
- inputSchema: zod0.ZodType<{
242
+ declare function createDescribeDocumentNode(id: string, params?: DescribeDocumentNodeParams): Effect.Effect<_uploadista_core_flow2.FlowNodeData & {
243
+ inputSchema: zod1.ZodType<{
214
244
  id: string;
215
245
  offset: number;
216
246
  storage: {
@@ -237,7 +267,12 @@ declare function createDescribeDocumentNode(id: string, params?: DescribeDocumen
237
267
  nodeId: string;
238
268
  jobId: string;
239
269
  } | undefined;
240
- }, unknown, zod_v4_core0.$ZodTypeInternals<{
270
+ traceContext?: {
271
+ traceId: string;
272
+ spanId: string;
273
+ traceFlags: number;
274
+ } | undefined;
275
+ }, unknown, zod_v4_core1.$ZodTypeInternals<{
241
276
  id: string;
242
277
  offset: number;
243
278
  storage: {
@@ -264,8 +299,13 @@ declare function createDescribeDocumentNode(id: string, params?: DescribeDocumen
264
299
  nodeId: string;
265
300
  jobId: string;
266
301
  } | undefined;
302
+ traceContext?: {
303
+ traceId: string;
304
+ spanId: string;
305
+ traceFlags: number;
306
+ } | undefined;
267
307
  }, unknown>>;
268
- outputSchema: zod0.ZodType<{
308
+ outputSchema: zod1.ZodType<{
269
309
  id: string;
270
310
  offset: number;
271
311
  storage: {
@@ -292,7 +332,12 @@ declare function createDescribeDocumentNode(id: string, params?: DescribeDocumen
292
332
  nodeId: string;
293
333
  jobId: string;
294
334
  } | undefined;
295
- }, unknown, zod_v4_core0.$ZodTypeInternals<{
335
+ traceContext?: {
336
+ traceId: string;
337
+ spanId: string;
338
+ traceFlags: number;
339
+ } | undefined;
340
+ }, unknown, zod_v4_core1.$ZodTypeInternals<{
296
341
  id: string;
297
342
  offset: number;
298
343
  storage: {
@@ -319,6 +364,11 @@ declare function createDescribeDocumentNode(id: string, params?: DescribeDocumen
319
364
  nodeId: string;
320
365
  jobId: string;
321
366
  } | undefined;
367
+ traceContext?: {
368
+ traceId: string;
369
+ spanId: string;
370
+ traceFlags: number;
371
+ } | undefined;
322
372
  }, unknown>>;
323
373
  run: (args: {
324
374
  data: {
@@ -348,13 +398,18 @@ declare function createDescribeDocumentNode(id: string, params?: DescribeDocumen
348
398
  nodeId: string;
349
399
  jobId: string;
350
400
  } | undefined;
401
+ traceContext?: {
402
+ traceId: string;
403
+ spanId: string;
404
+ traceFlags: number;
405
+ } | undefined;
351
406
  };
352
407
  jobId: string;
353
408
  storageId: string;
354
409
  flowId: string;
355
410
  inputs?: Record<string, unknown>;
356
411
  clientId: string | null;
357
- }) => Effect.Effect<_uploadista_core_flow0.NodeExecutionResult<{
412
+ }) => Effect.Effect<_uploadista_core_flow2.NodeExecutionResult<{
358
413
  id: string;
359
414
  offset: number;
360
415
  storage: {
@@ -381,6 +436,11 @@ declare function createDescribeDocumentNode(id: string, params?: DescribeDocumen
381
436
  nodeId: string;
382
437
  jobId: string;
383
438
  } | undefined;
439
+ traceContext?: {
440
+ traceId: string;
441
+ spanId: string;
442
+ traceFlags: number;
443
+ } | undefined;
384
444
  }>, UploadistaError, never>;
385
445
  condition?: {
386
446
  field: string;
@@ -395,7 +455,7 @@ declare function createDescribeDocumentNode(id: string, params?: DescribeDocumen
395
455
  retryDelay?: number;
396
456
  exponentialBackoff?: boolean;
397
457
  };
398
- circuitBreaker?: _uploadista_core_flow0.FlowCircuitBreakerConfig;
458
+ circuitBreaker?: _uploadista_core_flow2.FlowCircuitBreakerConfig;
399
459
  } & {
400
460
  type: NodeType.process;
401
461
  }, UploadistaError, UploadServer | DocumentPlugin>;
@@ -404,8 +464,8 @@ declare function createDescribeDocumentNode(id: string, params?: DescribeDocumen
404
464
  type ExtractTextNodeParams = {
405
465
  keepOutput?: boolean;
406
466
  };
407
- declare function createExtractTextNode(id: string, params?: ExtractTextNodeParams): Effect.Effect<_uploadista_core_flow0.FlowNodeData & {
408
- inputSchema: zod0.ZodType<{
467
+ declare function createExtractTextNode(id: string, params?: ExtractTextNodeParams): Effect.Effect<_uploadista_core_flow2.FlowNodeData & {
468
+ inputSchema: zod1.ZodType<{
409
469
  id: string;
410
470
  offset: number;
411
471
  storage: {
@@ -432,7 +492,12 @@ declare function createExtractTextNode(id: string, params?: ExtractTextNodeParam
432
492
  nodeId: string;
433
493
  jobId: string;
434
494
  } | undefined;
435
- }, unknown, zod_v4_core0.$ZodTypeInternals<{
495
+ traceContext?: {
496
+ traceId: string;
497
+ spanId: string;
498
+ traceFlags: number;
499
+ } | undefined;
500
+ }, unknown, zod_v4_core1.$ZodTypeInternals<{
436
501
  id: string;
437
502
  offset: number;
438
503
  storage: {
@@ -459,8 +524,13 @@ declare function createExtractTextNode(id: string, params?: ExtractTextNodeParam
459
524
  nodeId: string;
460
525
  jobId: string;
461
526
  } | undefined;
527
+ traceContext?: {
528
+ traceId: string;
529
+ spanId: string;
530
+ traceFlags: number;
531
+ } | undefined;
462
532
  }, unknown>>;
463
- outputSchema: zod0.ZodType<{
533
+ outputSchema: zod1.ZodType<{
464
534
  id: string;
465
535
  offset: number;
466
536
  storage: {
@@ -487,7 +557,12 @@ declare function createExtractTextNode(id: string, params?: ExtractTextNodeParam
487
557
  nodeId: string;
488
558
  jobId: string;
489
559
  } | undefined;
490
- }, unknown, zod_v4_core0.$ZodTypeInternals<{
560
+ traceContext?: {
561
+ traceId: string;
562
+ spanId: string;
563
+ traceFlags: number;
564
+ } | undefined;
565
+ }, unknown, zod_v4_core1.$ZodTypeInternals<{
491
566
  id: string;
492
567
  offset: number;
493
568
  storage: {
@@ -514,6 +589,11 @@ declare function createExtractTextNode(id: string, params?: ExtractTextNodeParam
514
589
  nodeId: string;
515
590
  jobId: string;
516
591
  } | undefined;
592
+ traceContext?: {
593
+ traceId: string;
594
+ spanId: string;
595
+ traceFlags: number;
596
+ } | undefined;
517
597
  }, unknown>>;
518
598
  run: (args: {
519
599
  data: {
@@ -543,13 +623,18 @@ declare function createExtractTextNode(id: string, params?: ExtractTextNodeParam
543
623
  nodeId: string;
544
624
  jobId: string;
545
625
  } | undefined;
626
+ traceContext?: {
627
+ traceId: string;
628
+ spanId: string;
629
+ traceFlags: number;
630
+ } | undefined;
546
631
  };
547
632
  jobId: string;
548
633
  storageId: string;
549
634
  flowId: string;
550
635
  inputs?: Record<string, unknown>;
551
636
  clientId: string | null;
552
- }) => Effect.Effect<_uploadista_core_flow0.NodeExecutionResult<{
637
+ }) => Effect.Effect<_uploadista_core_flow2.NodeExecutionResult<{
553
638
  id: string;
554
639
  offset: number;
555
640
  storage: {
@@ -576,6 +661,11 @@ declare function createExtractTextNode(id: string, params?: ExtractTextNodeParam
576
661
  nodeId: string;
577
662
  jobId: string;
578
663
  } | undefined;
664
+ traceContext?: {
665
+ traceId: string;
666
+ spanId: string;
667
+ traceFlags: number;
668
+ } | undefined;
579
669
  }>, UploadistaError, never>;
580
670
  condition?: {
581
671
  field: string;
@@ -590,7 +680,7 @@ declare function createExtractTextNode(id: string, params?: ExtractTextNodeParam
590
680
  retryDelay?: number;
591
681
  exponentialBackoff?: boolean;
592
682
  };
593
- circuitBreaker?: _uploadista_core_flow0.FlowCircuitBreakerConfig;
683
+ circuitBreaker?: _uploadista_core_flow2.FlowCircuitBreakerConfig;
594
684
  } & {
595
685
  type: NodeType.process;
596
686
  }, UploadistaError, UploadServer | DocumentPlugin>;
@@ -605,7 +695,7 @@ type MergePdfNodeParams = {
605
695
  */
606
696
  naming?: FileNamingConfig;
607
697
  };
608
- declare function createMergePdfNode(id: string, params?: MergePdfNodeParams): Effect.Effect<_uploadista_core_flow0.FlowNodeData & {
698
+ declare function createMergePdfNode(id: string, params?: MergePdfNodeParams): Effect.Effect<_uploadista_core_flow2.FlowNodeData & {
609
699
  inputSchema: z.ZodType<{
610
700
  id: string;
611
701
  offset: number;
@@ -633,6 +723,11 @@ declare function createMergePdfNode(id: string, params?: MergePdfNodeParams): Ef
633
723
  nodeId: string;
634
724
  jobId: string;
635
725
  } | undefined;
726
+ traceContext?: {
727
+ traceId: string;
728
+ spanId: string;
729
+ traceFlags: number;
730
+ } | undefined;
636
731
  }[], unknown, z.core.$ZodTypeInternals<{
637
732
  id: string;
638
733
  offset: number;
@@ -660,6 +755,11 @@ declare function createMergePdfNode(id: string, params?: MergePdfNodeParams): Ef
660
755
  nodeId: string;
661
756
  jobId: string;
662
757
  } | undefined;
758
+ traceContext?: {
759
+ traceId: string;
760
+ spanId: string;
761
+ traceFlags: number;
762
+ } | undefined;
663
763
  }[], unknown>>;
664
764
  outputSchema: z.ZodType<{
665
765
  id: string;
@@ -688,6 +788,11 @@ declare function createMergePdfNode(id: string, params?: MergePdfNodeParams): Ef
688
788
  nodeId: string;
689
789
  jobId: string;
690
790
  } | undefined;
791
+ traceContext?: {
792
+ traceId: string;
793
+ spanId: string;
794
+ traceFlags: number;
795
+ } | undefined;
691
796
  }, unknown, z.core.$ZodTypeInternals<{
692
797
  id: string;
693
798
  offset: number;
@@ -715,6 +820,11 @@ declare function createMergePdfNode(id: string, params?: MergePdfNodeParams): Ef
715
820
  nodeId: string;
716
821
  jobId: string;
717
822
  } | undefined;
823
+ traceContext?: {
824
+ traceId: string;
825
+ spanId: string;
826
+ traceFlags: number;
827
+ } | undefined;
718
828
  }, unknown>>;
719
829
  run: (args: {
720
830
  data: {
@@ -744,13 +854,18 @@ declare function createMergePdfNode(id: string, params?: MergePdfNodeParams): Ef
744
854
  nodeId: string;
745
855
  jobId: string;
746
856
  } | undefined;
857
+ traceContext?: {
858
+ traceId: string;
859
+ spanId: string;
860
+ traceFlags: number;
861
+ } | undefined;
747
862
  }[];
748
863
  jobId: string;
749
864
  storageId: string;
750
865
  flowId: string;
751
866
  inputs?: Record<string, unknown>;
752
867
  clientId: string | null;
753
- }) => Effect.Effect<_uploadista_core_flow0.NodeExecutionResult<{
868
+ }) => Effect.Effect<_uploadista_core_flow2.NodeExecutionResult<{
754
869
  id: string;
755
870
  offset: number;
756
871
  storage: {
@@ -777,6 +892,11 @@ declare function createMergePdfNode(id: string, params?: MergePdfNodeParams): Ef
777
892
  nodeId: string;
778
893
  jobId: string;
779
894
  } | undefined;
895
+ traceContext?: {
896
+ traceId: string;
897
+ spanId: string;
898
+ traceFlags: number;
899
+ } | undefined;
780
900
  }>, UploadistaError, never>;
781
901
  condition?: {
782
902
  field: string;
@@ -791,7 +911,7 @@ declare function createMergePdfNode(id: string, params?: MergePdfNodeParams): Ef
791
911
  retryDelay?: number;
792
912
  exponentialBackoff?: boolean;
793
913
  };
794
- circuitBreaker?: _uploadista_core_flow0.FlowCircuitBreakerConfig;
914
+ circuitBreaker?: _uploadista_core_flow2.FlowCircuitBreakerConfig;
795
915
  } & {
796
916
  type: NodeType.process;
797
917
  }, UploadistaError, UploadServer | DocumentPlugin>;
@@ -804,8 +924,8 @@ type OcrNodeParams = {
804
924
  referenceText?: string;
805
925
  keepOutput?: boolean;
806
926
  };
807
- declare function createOcrNode(id: string, params: OcrNodeParams): Effect.Effect<_uploadista_core_flow0.FlowNodeData & {
808
- inputSchema: zod0.ZodType<{
927
+ declare function createOcrNode(id: string, params: OcrNodeParams): Effect.Effect<_uploadista_core_flow2.FlowNodeData & {
928
+ inputSchema: zod1.ZodType<{
809
929
  id: string;
810
930
  offset: number;
811
931
  storage: {
@@ -832,7 +952,12 @@ declare function createOcrNode(id: string, params: OcrNodeParams): Effect.Effect
832
952
  nodeId: string;
833
953
  jobId: string;
834
954
  } | undefined;
835
- }, unknown, zod_v4_core0.$ZodTypeInternals<{
955
+ traceContext?: {
956
+ traceId: string;
957
+ spanId: string;
958
+ traceFlags: number;
959
+ } | undefined;
960
+ }, unknown, zod_v4_core1.$ZodTypeInternals<{
836
961
  id: string;
837
962
  offset: number;
838
963
  storage: {
@@ -859,13 +984,18 @@ declare function createOcrNode(id: string, params: OcrNodeParams): Effect.Effect
859
984
  nodeId: string;
860
985
  jobId: string;
861
986
  } | undefined;
987
+ traceContext?: {
988
+ traceId: string;
989
+ spanId: string;
990
+ traceFlags: number;
991
+ } | undefined;
862
992
  }, unknown>>;
863
- outputSchema: zod0.ZodType<{
993
+ outputSchema: zod1.ZodType<{
864
994
  extractedText: string;
865
995
  format: "markdown" | "plain" | "structured";
866
996
  taskType: "convertToMarkdown" | "freeOcr" | "parseFigure" | "locateObject";
867
997
  confidence?: number | undefined;
868
- }, unknown, zod_v4_core0.$ZodTypeInternals<{
998
+ }, unknown, zod_v4_core1.$ZodTypeInternals<{
869
999
  extractedText: string;
870
1000
  format: "markdown" | "plain" | "structured";
871
1001
  taskType: "convertToMarkdown" | "freeOcr" | "parseFigure" | "locateObject";
@@ -899,13 +1029,18 @@ declare function createOcrNode(id: string, params: OcrNodeParams): Effect.Effect
899
1029
  nodeId: string;
900
1030
  jobId: string;
901
1031
  } | undefined;
1032
+ traceContext?: {
1033
+ traceId: string;
1034
+ spanId: string;
1035
+ traceFlags: number;
1036
+ } | undefined;
902
1037
  };
903
1038
  jobId: string;
904
1039
  storageId: string;
905
1040
  flowId: string;
906
1041
  inputs?: Record<string, unknown>;
907
1042
  clientId: string | null;
908
- }) => Effect.Effect<_uploadista_core_flow0.NodeExecutionResult<{
1043
+ }) => Effect.Effect<_uploadista_core_flow2.NodeExecutionResult<{
909
1044
  extractedText: string;
910
1045
  format: "markdown" | "plain" | "structured";
911
1046
  taskType: "convertToMarkdown" | "freeOcr" | "parseFigure" | "locateObject";
@@ -924,7 +1059,7 @@ declare function createOcrNode(id: string, params: OcrNodeParams): Effect.Effect
924
1059
  retryDelay?: number;
925
1060
  exponentialBackoff?: boolean;
926
1061
  };
927
- circuitBreaker?: _uploadista_core_flow0.FlowCircuitBreakerConfig;
1062
+ circuitBreaker?: _uploadista_core_flow2.FlowCircuitBreakerConfig;
928
1063
  } & {
929
1064
  type: NodeType.process;
930
1065
  }, UploadistaError, DocumentAiPlugin>;
@@ -941,8 +1076,8 @@ type SplitPdfNodeParams = {
941
1076
  */
942
1077
  naming?: FileNamingConfig;
943
1078
  };
944
- declare function createSplitPdfNode(id: string, params: SplitPdfNodeParams): Effect.Effect<_uploadista_core_flow0.FlowNodeData & {
945
- inputSchema: zod0.ZodType<{
1079
+ declare function createSplitPdfNode(id: string, params: SplitPdfNodeParams): Effect.Effect<_uploadista_core_flow2.FlowNodeData & {
1080
+ inputSchema: zod1.ZodType<{
946
1081
  id: string;
947
1082
  offset: number;
948
1083
  storage: {
@@ -969,7 +1104,12 @@ declare function createSplitPdfNode(id: string, params: SplitPdfNodeParams): Eff
969
1104
  nodeId: string;
970
1105
  jobId: string;
971
1106
  } | undefined;
972
- }, unknown, zod_v4_core0.$ZodTypeInternals<{
1107
+ traceContext?: {
1108
+ traceId: string;
1109
+ spanId: string;
1110
+ traceFlags: number;
1111
+ } | undefined;
1112
+ }, unknown, zod_v4_core1.$ZodTypeInternals<{
973
1113
  id: string;
974
1114
  offset: number;
975
1115
  storage: {
@@ -996,8 +1136,13 @@ declare function createSplitPdfNode(id: string, params: SplitPdfNodeParams): Eff
996
1136
  nodeId: string;
997
1137
  jobId: string;
998
1138
  } | undefined;
1139
+ traceContext?: {
1140
+ traceId: string;
1141
+ spanId: string;
1142
+ traceFlags: number;
1143
+ } | undefined;
999
1144
  }, unknown>>;
1000
- outputSchema: zod0.ZodType<{
1145
+ outputSchema: zod1.ZodType<{
1001
1146
  id: string;
1002
1147
  offset: number;
1003
1148
  storage: {
@@ -1024,7 +1169,12 @@ declare function createSplitPdfNode(id: string, params: SplitPdfNodeParams): Eff
1024
1169
  nodeId: string;
1025
1170
  jobId: string;
1026
1171
  } | undefined;
1027
- }, unknown, zod_v4_core0.$ZodTypeInternals<{
1172
+ traceContext?: {
1173
+ traceId: string;
1174
+ spanId: string;
1175
+ traceFlags: number;
1176
+ } | undefined;
1177
+ }, unknown, zod_v4_core1.$ZodTypeInternals<{
1028
1178
  id: string;
1029
1179
  offset: number;
1030
1180
  storage: {
@@ -1051,6 +1201,11 @@ declare function createSplitPdfNode(id: string, params: SplitPdfNodeParams): Eff
1051
1201
  nodeId: string;
1052
1202
  jobId: string;
1053
1203
  } | undefined;
1204
+ traceContext?: {
1205
+ traceId: string;
1206
+ spanId: string;
1207
+ traceFlags: number;
1208
+ } | undefined;
1054
1209
  }, unknown>>;
1055
1210
  run: (args: {
1056
1211
  data: {
@@ -1080,13 +1235,18 @@ declare function createSplitPdfNode(id: string, params: SplitPdfNodeParams): Eff
1080
1235
  nodeId: string;
1081
1236
  jobId: string;
1082
1237
  } | undefined;
1238
+ traceContext?: {
1239
+ traceId: string;
1240
+ spanId: string;
1241
+ traceFlags: number;
1242
+ } | undefined;
1083
1243
  };
1084
1244
  jobId: string;
1085
1245
  storageId: string;
1086
1246
  flowId: string;
1087
1247
  inputs?: Record<string, unknown>;
1088
1248
  clientId: string | null;
1089
- }) => Effect.Effect<_uploadista_core_flow0.NodeExecutionResult<{
1249
+ }) => Effect.Effect<_uploadista_core_flow2.NodeExecutionResult<{
1090
1250
  id: string;
1091
1251
  offset: number;
1092
1252
  storage: {
@@ -1113,6 +1273,11 @@ declare function createSplitPdfNode(id: string, params: SplitPdfNodeParams): Eff
1113
1273
  nodeId: string;
1114
1274
  jobId: string;
1115
1275
  } | undefined;
1276
+ traceContext?: {
1277
+ traceId: string;
1278
+ spanId: string;
1279
+ traceFlags: number;
1280
+ } | undefined;
1116
1281
  }>, UploadistaError, never>;
1117
1282
  condition?: {
1118
1283
  field: string;
@@ -1127,7 +1292,7 @@ declare function createSplitPdfNode(id: string, params: SplitPdfNodeParams): Eff
1127
1292
  retryDelay?: number;
1128
1293
  exponentialBackoff?: boolean;
1129
1294
  };
1130
- circuitBreaker?: _uploadista_core_flow0.FlowCircuitBreakerConfig;
1295
+ circuitBreaker?: _uploadista_core_flow2.FlowCircuitBreakerConfig;
1131
1296
  } & {
1132
1297
  type: NodeType.process;
1133
1298
  }, UploadistaError, UploadServer | DocumentPlugin>;