@uploadista/core 1.0.0-beta.3 → 1.0.0-beta.4

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.
Files changed (114) hide show
  1. package/dist/{checksum-BRjFmTRk.mjs → checksum-BjBRZIT-.mjs} +2 -2
  2. package/dist/{checksum-BRjFmTRk.mjs.map → checksum-BjBRZIT-.mjs.map} +1 -1
  3. package/dist/checksum-MAHKDZRq.cjs +1 -0
  4. package/dist/errors/index.cjs +1 -1
  5. package/dist/errors/index.d.cts +1 -1
  6. package/dist/errors/index.d.mts +1 -1
  7. package/dist/errors/index.mjs +1 -1
  8. package/dist/flow/index.cjs +1 -1
  9. package/dist/flow/index.d.cts +3 -3
  10. package/dist/flow/index.d.mts +3 -8
  11. package/dist/flow/index.mjs +1 -1
  12. package/dist/flow-Ag6JbNS6.mjs +2 -0
  13. package/dist/flow-Ag6JbNS6.mjs.map +1 -0
  14. package/dist/flow-DA_u2lYT.cjs +1 -0
  15. package/dist/{generate-id-DuZwLm4m.d.mts → generate-id-ByeNC8nU.d.cts} +1 -1
  16. package/dist/generate-id-ByeNC8nU.d.cts.map +1 -0
  17. package/dist/{generate-id-BAMRQzMr.d.cts → generate-id-ByeNC8nU.d.mts} +1 -1
  18. package/dist/generate-id-ByeNC8nU.d.mts.map +1 -0
  19. package/dist/{throttle-3FRcr7MU.d.mts → index-BPvb7plJ.d.cts} +2 -2
  20. package/dist/index-BPvb7plJ.d.cts.map +1 -0
  21. package/dist/index-BVVgDSdq.d.cts +1 -0
  22. package/dist/index-BVVgDSdq.d.mts +1 -0
  23. package/dist/{resolve-upload-metadata-CYl2PHIs.d.mts → index-CTpuhufX.d.mts} +307 -309
  24. package/dist/index-CTpuhufX.d.mts.map +1 -0
  25. package/dist/{middleware-BghazxzH.d.cts → index-Ce8IxXxR.d.mts} +297 -297
  26. package/dist/index-Ce8IxXxR.d.mts.map +1 -0
  27. package/dist/{resolve-upload-metadata-D0qFuyWc.d.cts → index-Cwin1ALJ.d.cts} +307 -309
  28. package/dist/index-Cwin1ALJ.d.cts.map +1 -0
  29. package/dist/{throttle-BlH27EGu.d.cts → index-DIbUBwpn.d.mts} +2 -2
  30. package/dist/index-DIbUBwpn.d.mts.map +1 -0
  31. package/dist/{stream-limiter-7wkBVLWT.d.mts → index-DL2Q2cli.d.cts} +2 -2
  32. package/dist/index-DL2Q2cli.d.cts.map +1 -0
  33. package/dist/{stream-limiter-D1KC-6pK.d.cts → index-DUcqG0NR.d.mts} +2 -2
  34. package/dist/index-DUcqG0NR.d.mts.map +1 -0
  35. package/dist/{upload-strategy-negotiator-CEnlfVgJ.d.mts → index-DiZp8FJs.d.mts} +4 -4
  36. package/dist/index-DiZp8FJs.d.mts.map +1 -0
  37. package/dist/{middleware-CYizzAhP.d.mts → index-_Q4OxX9Y.d.cts} +297 -297
  38. package/dist/index-_Q4OxX9Y.d.cts.map +1 -0
  39. package/dist/{upload-strategy-negotiator-0-dpNIce.d.cts → index-zjG37VoL.d.cts} +4 -4
  40. package/dist/index-zjG37VoL.d.cts.map +1 -0
  41. package/dist/index.cjs +1 -1
  42. package/dist/index.d.cts +7 -7
  43. package/dist/index.d.mts +7 -13
  44. package/dist/index.mjs +1 -1
  45. package/dist/stream-limiter-BIS16qEm.cjs +1 -0
  46. package/dist/{stream-limiter-CvDuNIyd.mjs → stream-limiter-CnjPsRPU.mjs} +2 -2
  47. package/dist/{stream-limiter-CvDuNIyd.mjs.map → stream-limiter-CnjPsRPU.mjs.map} +1 -1
  48. package/dist/streams/index.cjs +1 -1
  49. package/dist/streams/index.d.cts +1 -1
  50. package/dist/streams/index.d.mts +1 -2
  51. package/dist/streams/index.mjs +1 -1
  52. package/dist/testing/index.cjs +3 -3
  53. package/dist/testing/index.d.cts +2 -2
  54. package/dist/testing/index.d.cts.map +1 -1
  55. package/dist/testing/index.d.mts +2 -9
  56. package/dist/testing/index.d.mts.map +1 -1
  57. package/dist/testing/index.mjs +1 -1
  58. package/dist/testing/index.mjs.map +1 -1
  59. package/dist/types/index.cjs +1 -1
  60. package/dist/types/index.d.cts +1 -1
  61. package/dist/types/index.d.mts +1 -2
  62. package/dist/types/index.mjs +2 -1
  63. package/dist/types/index.mjs.map +1 -0
  64. package/dist/upload/index.cjs +1 -1
  65. package/dist/upload/index.d.cts +1 -1
  66. package/dist/upload/index.d.mts +1 -4
  67. package/dist/upload/index.mjs +1 -1
  68. package/dist/upload-DiHATxK7.cjs +1 -0
  69. package/dist/upload-pYFcRQoJ.mjs +2 -0
  70. package/dist/upload-pYFcRQoJ.mjs.map +1 -0
  71. package/dist/{uploadista-error-DQ7V1FlX.mjs → uploadista-error-C2T7YDIc.mjs} +1 -1
  72. package/dist/{uploadista-error-DQ7V1FlX.mjs.map → uploadista-error-C2T7YDIc.mjs.map} +1 -1
  73. package/dist/{uploadista-error-CZx1JU_L.cjs → uploadista-error-C6mqvnK_.cjs} +2 -2
  74. package/dist/{uploadista-error-LtiZn-R_.d.mts → uploadista-error-CT_B4E7l.d.cts} +2 -4
  75. package/dist/uploadista-error-CT_B4E7l.d.cts.map +1 -0
  76. package/dist/{uploadista-error-eZtG4iyf.d.cts → uploadista-error-CT_B4E7l.d.mts} +2 -4
  77. package/dist/uploadista-error-CT_B4E7l.d.mts.map +1 -0
  78. package/dist/utils/index.cjs +1 -1
  79. package/dist/utils/index.d.cts +2 -2
  80. package/dist/utils/index.d.mts +2 -3
  81. package/dist/utils/index.mjs +1 -1
  82. package/dist/utils-BnznIfIx.mjs +2 -0
  83. package/dist/utils-BnznIfIx.mjs.map +1 -0
  84. package/dist/utils-DJcyg79C.cjs +1 -0
  85. package/package.json +6 -6
  86. package/tsconfig.json +0 -1
  87. package/dist/checksum-BrjQ8GJL.cjs +0 -1
  88. package/dist/generate-id-BAMRQzMr.d.cts.map +0 -1
  89. package/dist/generate-id-DuZwLm4m.d.mts.map +0 -1
  90. package/dist/middleware-BghazxzH.d.cts.map +0 -1
  91. package/dist/middleware-CYizzAhP.d.mts.map +0 -1
  92. package/dist/resolve-upload-metadata-CYl2PHIs.d.mts.map +0 -1
  93. package/dist/resolve-upload-metadata-D0qFuyWc.d.cts.map +0 -1
  94. package/dist/run-args-CM14Vtzu.cjs +0 -1
  95. package/dist/run-args-DSKHoSWs.mjs +0 -2
  96. package/dist/run-args-DSKHoSWs.mjs.map +0 -1
  97. package/dist/stream-limiter-7wkBVLWT.d.mts.map +0 -1
  98. package/dist/stream-limiter-B-Y0DTgA.cjs +0 -1
  99. package/dist/stream-limiter-D1KC-6pK.d.cts.map +0 -1
  100. package/dist/throttle-3FRcr7MU.d.mts.map +0 -1
  101. package/dist/throttle-BlH27EGu.d.cts.map +0 -1
  102. package/dist/throttle-Dp59f37i.cjs +0 -1
  103. package/dist/throttle-TFY-V41R.mjs +0 -2
  104. package/dist/throttle-TFY-V41R.mjs.map +0 -1
  105. package/dist/upload-strategy-negotiator-0-dpNIce.d.cts.map +0 -1
  106. package/dist/upload-strategy-negotiator-BR_o1Ez8.cjs +0 -1
  107. package/dist/upload-strategy-negotiator-C9MeoOnW.mjs +0 -2
  108. package/dist/upload-strategy-negotiator-C9MeoOnW.mjs.map +0 -1
  109. package/dist/upload-strategy-negotiator-CEnlfVgJ.d.mts.map +0 -1
  110. package/dist/uploadista-error-LtiZn-R_.d.mts.map +0 -1
  111. package/dist/uploadista-error-eZtG4iyf.d.cts.map +0 -1
  112. package/dist/websocket-Br0ijEZA.cjs +0 -1
  113. package/dist/websocket-DftnHFfN.mjs +0 -2
  114. package/dist/websocket-DftnHFfN.mjs.map +0 -1
@@ -1,10 +1,8 @@
1
- import { n as UploadistaError } from "./uploadista-error-eZtG4iyf.cjs";
2
- import { $ as BaseKvStoreService, Bt as TypedOutput, Dn as NodeType, Dt as FlowCircuitBreakerConfig, G as StreamingConfig, In as DeadLetterCleanupOptions, Ln as DeadLetterCleanupResult, Lt as NodeExecutionResult, Mt as FlowNode, Nt as FlowNodeData, O as WebSocketConnection, Pt as NamingContext, Q as BaseKvStore, Qt as RetryPolicy, S as FlowEventEmitter, Tt as FileNamingConfig, Un as DeadLetterQueueStats, Vn as DeadLetterListOptions, Xn as CircuitBreakerStoreService, Yn as CircuitBreakerStore, et as DeadLetterQueueKVStore, ft as FlowQueueConfig, gt as FlowJob, ht as FlowQueueStats, in as FlowEvent, jn as UploadFile, jt as FlowEdge$1, kt as FlowConfig, mt as FlowQueueItemStatus, nt as FlowQueueKVStore, pt as FlowQueueItem, q as UploadFileDataStores, qn as CircuitBreakerStateValue, rt as KvStore, tt as FlowJobKVStore, zn as DeadLetterItem, zt as TypeCompatibilityChecker } from "./middleware-BghazxzH.cjs";
3
- import { i as UploadEngine } from "./upload-strategy-negotiator-0-dpNIce.cjs";
1
+ import { n as UploadistaError } from "./uploadista-error-CT_B4E7l.cjs";
2
+ import { $ as BaseKvStoreService, Bt as TypedOutput, Dn as NodeType, Dt as FlowCircuitBreakerConfig, G as StreamingConfig, In as DeadLetterCleanupOptions, Ln as DeadLetterCleanupResult, Lt as NodeExecutionResult, Mt as FlowNode, Nt as FlowNodeData, O as WebSocketConnection, Pt as NamingContext, Q as BaseKvStore, Qt as RetryPolicy, S as FlowEventEmitter, Tt as FileNamingConfig, Un as DeadLetterQueueStats, Vn as DeadLetterListOptions, Xn as CircuitBreakerStoreService, Yn as CircuitBreakerStore, et as DeadLetterQueueKVStore, ft as FlowQueueConfig, gt as FlowJob, ht as FlowQueueStats, in as FlowEvent, jn as UploadFile, jt as FlowEdge$1, kt as FlowConfig, mt as FlowQueueItemStatus, nt as FlowQueueKVStore, pt as FlowQueueItem, q as UploadFileDataStores, qn as CircuitBreakerStateValue, rt as KvStore, tt as FlowJobKVStore, zn as DeadLetterItem, zt as TypeCompatibilityChecker } from "./index-_Q4OxX9Y.cjs";
3
+ import { i as UploadEngine } from "./index-zjG37VoL.cjs";
4
4
  import { Context, Effect, Layer, Option, Stream } from "effect";
5
- import * as zod from "zod";
6
- import { z } from "zod";
7
- import * as zod_v4_core0 from "zod/v4/core";
5
+ import { z as z$1 } from "zod";
8
6
 
9
7
  //#region src/flow/circuit-breaker.d.ts
10
8
  /**
@@ -477,7 +475,7 @@ type FlowExecutionResult<TOutput> = {
477
475
  * });
478
476
  * ```
479
477
  */
480
- type Flow<TFlowInputSchema extends z.ZodSchema<any>, TFlowOutputSchema extends z.ZodSchema<any>, TRequirements> = {
478
+ type Flow<TFlowInputSchema extends z$1.ZodSchema<any>, TFlowOutputSchema extends z$1.ZodSchema<any>, TRequirements> = {
481
479
  id: string;
482
480
  name: string;
483
481
  nodes: FlowNode<any, any, UploadistaError>[];
@@ -488,11 +486,11 @@ type Flow<TFlowInputSchema extends z.ZodSchema<any>, TFlowOutputSchema extends z
488
486
  checkJobStatus?: FlowConfig<TFlowInputSchema, TFlowOutputSchema, TRequirements>["checkJobStatus"];
489
487
  hooks?: FlowConfig<TFlowInputSchema, TFlowOutputSchema, TRequirements>["hooks"];
490
488
  run: (args: {
491
- inputs?: Record<string, z.infer<TFlowInputSchema>>;
489
+ inputs?: Record<string, z$1.infer<TFlowInputSchema>>;
492
490
  storageId: string;
493
491
  jobId: string;
494
492
  clientId: string | null;
495
- }) => Effect.Effect<FlowExecutionResult<Record<string, z.infer<TFlowOutputSchema>>>, UploadistaError, TRequirements | UploadFileDataStores>;
493
+ }) => Effect.Effect<FlowExecutionResult<Record<string, z$1.infer<TFlowOutputSchema>>>, UploadistaError, TRequirements | UploadFileDataStores>;
496
494
  resume: (args: {
497
495
  jobId: string;
498
496
  storageId: string;
@@ -500,10 +498,10 @@ type Flow<TFlowInputSchema extends z.ZodSchema<any>, TFlowOutputSchema extends z
500
498
  executionState: {
501
499
  executionOrder: string[];
502
500
  currentIndex: number;
503
- inputs: Record<string, z.infer<TFlowInputSchema>>;
501
+ inputs: Record<string, z$1.infer<TFlowInputSchema>>;
504
502
  };
505
503
  clientId: string | null;
506
- }) => Effect.Effect<FlowExecutionResult<Record<string, z.infer<TFlowOutputSchema>>>, UploadistaError, TRequirements | UploadFileDataStores>;
504
+ }) => Effect.Effect<FlowExecutionResult<Record<string, z$1.infer<TFlowOutputSchema>>>, UploadistaError, TRequirements | UploadFileDataStores>;
507
505
  validateTypes: () => {
508
506
  isValid: boolean;
509
507
  errors: string[];
@@ -585,7 +583,7 @@ type Flow<TFlowInputSchema extends z.ZodSchema<any>, TFlowOutputSchema extends z
585
583
  * @see {@link Flow} for the returned flow type
586
584
  * @see {@link FlowConfig} for configuration options
587
585
  */
588
- declare function createFlowWithSchema<TFlowInputSchema extends z.ZodSchema<any>, TFlowOutputSchema extends z.ZodSchema<any>, TRequirements = never, TNodeError = never, TNodeRequirements = never>(config: FlowConfig<TFlowInputSchema, TFlowOutputSchema, TNodeError, TNodeRequirements>): Effect.Effect<Flow<TFlowInputSchema, TFlowOutputSchema, TRequirements>, TNodeError, TNodeRequirements>;
586
+ declare function createFlowWithSchema<TFlowInputSchema extends z$1.ZodSchema<any>, TFlowOutputSchema extends z$1.ZodSchema<any>, TRequirements = never, TNodeError = never, TNodeRequirements = never>(config: FlowConfig<TFlowInputSchema, TFlowOutputSchema, TNodeError, TNodeRequirements>): Effect.Effect<Flow<TFlowInputSchema, TFlowOutputSchema, TRequirements>, TNodeError, TNodeRequirements>;
589
587
  //#endregion
590
588
  //#region src/flow/input-type-registry.d.ts
591
589
  /**
@@ -604,7 +602,7 @@ declare function createFlowWithSchema<TFlowInputSchema extends z.ZodSchema<any>,
604
602
  */
605
603
  interface InputTypeDefinition<TSchema = unknown> {
606
604
  id: string;
607
- schema: z.ZodSchema<TSchema>;
605
+ schema: z$1.ZodSchema<TSchema>;
608
606
  version: string;
609
607
  description: string;
610
608
  }
@@ -743,7 +741,7 @@ declare function validateFlowInput<T = unknown>(typeId: string, data: unknown):
743
741
  */
744
742
  interface OutputTypeDefinition<TSchema = unknown> {
745
743
  id: string;
746
- schema: z.ZodSchema<TSchema>;
744
+ schema: z$1.ZodSchema<TSchema>;
747
745
  version: string;
748
746
  description: string;
749
747
  }
@@ -897,22 +895,22 @@ declare const STREAMING_INPUT_TYPE_ID = "streaming-input-v1";
897
895
  * @property taskType - Type of OCR task performed
898
896
  * @property confidence - Optional confidence score (0-1)
899
897
  */
900
- declare const ocrOutputSchema: z.ZodObject<{
901
- extractedText: z.ZodString;
902
- format: z.ZodEnum<{
898
+ declare const ocrOutputSchema: z$1.ZodObject<{
899
+ extractedText: z$1.ZodString;
900
+ format: z$1.ZodEnum<{
903
901
  markdown: "markdown";
904
902
  plain: "plain";
905
903
  structured: "structured";
906
904
  }>;
907
- taskType: z.ZodEnum<{
905
+ taskType: z$1.ZodEnum<{
908
906
  convertToMarkdown: "convertToMarkdown";
909
907
  freeOcr: "freeOcr";
910
908
  parseFigure: "parseFigure";
911
909
  locateObject: "locateObject";
912
910
  }>;
913
- confidence: z.ZodOptional<z.ZodNumber>;
914
- }, z.core.$strip>;
915
- type OcrOutput = z.infer<typeof ocrOutputSchema>;
911
+ confidence: z$1.ZodOptional<z$1.ZodNumber>;
912
+ }, z$1.core.$strip>;
913
+ type OcrOutput = z$1.infer<typeof ocrOutputSchema>;
916
914
  /**
917
915
  * Image description output schema - AI-generated image analysis result.
918
916
  *
@@ -920,12 +918,12 @@ type OcrOutput = z.infer<typeof ocrOutputSchema>;
920
918
  * @property confidence - Confidence score for the description (0-1)
921
919
  * @property metadata - Additional metadata about the description
922
920
  */
923
- declare const imageDescriptionOutputSchema: z.ZodObject<{
924
- description: z.ZodString;
925
- confidence: z.ZodOptional<z.ZodNumber>;
926
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
927
- }, z.core.$strip>;
928
- type ImageDescriptionOutput = z.infer<typeof imageDescriptionOutputSchema>;
921
+ declare const imageDescriptionOutputSchema: z$1.ZodObject<{
922
+ description: z$1.ZodString;
923
+ confidence: z$1.ZodOptional<z$1.ZodNumber>;
924
+ metadata: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
925
+ }, z$1.core.$strip>;
926
+ type ImageDescriptionOutput = z$1.infer<typeof imageDescriptionOutputSchema>;
929
927
  //#endregion
930
928
  //#region src/flow/dead-letter-queue.d.ts
931
929
  /**
@@ -1471,8 +1469,8 @@ declare function createFlowEngine(): Effect.Effect<{
1471
1469
  cancelFlow: (jobId: string, clientId: string | null) => Effect.Effect<FlowJob, UploadistaError, never>;
1472
1470
  subscribeToFlowEvents: (jobId: string, connection: WebSocketConnection) => Effect.Effect<void, UploadistaError, never>;
1473
1471
  unsubscribeFromFlowEvents: (jobId: string) => Effect.Effect<void, UploadistaError, never>;
1474
- }, never, FlowEventEmitter | FlowJobKVStore | FlowProvider | UploadEngine>;
1475
- declare const flowEngine: Layer.Layer<FlowEngine, never, FlowEventEmitter | FlowJobKVStore | FlowProvider | UploadEngine>;
1472
+ }, never, UploadEngine | FlowJobKVStore | FlowEventEmitter | FlowProvider>;
1473
+ declare const flowEngine: Layer.Layer<FlowEngine, never, UploadEngine | FlowJobKVStore | FlowEventEmitter | FlowProvider>;
1476
1474
  type FlowEngineLayer = typeof flowEngine;
1477
1475
  //#endregion
1478
1476
  //#region src/flow/flow-queue.d.ts
@@ -1616,38 +1614,38 @@ declare class FlowQueueService extends FlowQueueService_base {
1616
1614
  * Union schema for all input operations.
1617
1615
  * Defines the possible input data structures for the input node.
1618
1616
  */
1619
- declare const inputDataSchema: z.ZodUnion<readonly [z.ZodObject<{
1620
- operation: z.ZodLiteral<"init">;
1621
- storageId: z.ZodString;
1622
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1623
- }, z.core.$strip>, z.ZodObject<{
1624
- operation: z.ZodLiteral<"finalize">;
1625
- uploadId: z.ZodString;
1626
- }, z.core.$strip>, z.ZodObject<{
1627
- operation: z.ZodLiteral<"url">;
1628
- url: z.ZodString;
1629
- storageId: z.ZodOptional<z.ZodString>;
1630
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1631
- }, z.core.$strip>]>;
1617
+ declare const inputDataSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
1618
+ operation: z$1.ZodLiteral<"init">;
1619
+ storageId: z$1.ZodString;
1620
+ metadata: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
1621
+ }, z$1.core.$strip>, z$1.ZodObject<{
1622
+ operation: z$1.ZodLiteral<"finalize">;
1623
+ uploadId: z$1.ZodString;
1624
+ }, z$1.core.$strip>, z$1.ZodObject<{
1625
+ operation: z$1.ZodLiteral<"url">;
1626
+ url: z$1.ZodString;
1627
+ storageId: z$1.ZodOptional<z$1.ZodString>;
1628
+ metadata: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
1629
+ }, z$1.core.$strip>]>;
1632
1630
  /**
1633
1631
  * Type representing the input data for the input node.
1634
1632
  * Can be one of three operation types: init, finalize, or url.
1635
1633
  */
1636
- type InputData = z.infer<typeof inputDataSchema>;
1634
+ type InputData = z$1.infer<typeof inputDataSchema>;
1637
1635
  /**
1638
1636
  * Schema for input node filtering parameters.
1639
1637
  * Defines validation rules for incoming files.
1640
1638
  */
1641
- declare const inputNodeParamsSchema: z.ZodObject<{
1642
- allowedMimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
1643
- minSize: z.ZodOptional<z.ZodNumber>;
1644
- maxSize: z.ZodOptional<z.ZodNumber>;
1645
- }, z.core.$strip>;
1639
+ declare const inputNodeParamsSchema: z$1.ZodObject<{
1640
+ allowedMimeTypes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
1641
+ minSize: z$1.ZodOptional<z$1.ZodNumber>;
1642
+ maxSize: z$1.ZodOptional<z$1.ZodNumber>;
1643
+ }, z$1.core.$strip>;
1646
1644
  /**
1647
1645
  * Parameters for configuring input node validation.
1648
1646
  * Controls which files are accepted based on type and size constraints.
1649
1647
  */
1650
- type InputNodeParams = z.infer<typeof inputNodeParamsSchema>;
1648
+ type InputNodeParams = z$1.infer<typeof inputNodeParamsSchema>;
1651
1649
  /**
1652
1650
  * Creates an input node for handling file input through multiple methods.
1653
1651
  *
@@ -1675,7 +1673,7 @@ type InputNodeParams = z.infer<typeof inputNodeParamsSchema>;
1675
1673
  declare function createInputNode(id: string, params?: InputNodeParams, options?: {
1676
1674
  keepOutput?: boolean;
1677
1675
  }): Effect.Effect<FlowNodeData & {
1678
- inputSchema: z.ZodType<{
1676
+ inputSchema: z$1.ZodType<{
1679
1677
  operation: "init";
1680
1678
  storageId: string;
1681
1679
  metadata?: Record<string, any> | undefined;
@@ -1687,7 +1685,7 @@ declare function createInputNode(id: string, params?: InputNodeParams, options?:
1687
1685
  url: string;
1688
1686
  storageId?: string | undefined;
1689
1687
  metadata?: Record<string, any> | undefined;
1690
- }, unknown, z.core.$ZodTypeInternals<{
1688
+ }, unknown, z$1.core.$ZodTypeInternals<{
1691
1689
  operation: "init";
1692
1690
  storageId: string;
1693
1691
  metadata?: Record<string, any> | undefined;
@@ -1700,7 +1698,7 @@ declare function createInputNode(id: string, params?: InputNodeParams, options?:
1700
1698
  storageId?: string | undefined;
1701
1699
  metadata?: Record<string, any> | undefined;
1702
1700
  }, unknown>>;
1703
- outputSchema: z.ZodType<UploadFile, unknown, z.core.$ZodTypeInternals<UploadFile, unknown>>;
1701
+ outputSchema: z$1.ZodType<UploadFile, unknown, z$1.core.$ZodTypeInternals<UploadFile, unknown>>;
1704
1702
  run: (args: {
1705
1703
  data: {
1706
1704
  operation: "init";
@@ -2103,8 +2101,8 @@ declare function createTransformNode({
2103
2101
  transform,
2104
2102
  streamingTransform
2105
2103
  }: TransformNodeConfig): Effect.Effect<FlowNodeData & {
2106
- inputSchema: zod.ZodType<UploadFile, unknown, zod_v4_core0.$ZodTypeInternals<UploadFile, unknown>>;
2107
- outputSchema: zod.ZodType<UploadFile, unknown, zod_v4_core0.$ZodTypeInternals<UploadFile, unknown>>;
2104
+ inputSchema: import("zod").ZodType<UploadFile, unknown, import("zod/v4/core").$ZodTypeInternals<UploadFile, unknown>>;
2105
+ outputSchema: import("zod").ZodType<UploadFile, unknown, import("zod/v4/core").$ZodTypeInternals<UploadFile, unknown>>;
2108
2106
  run: (args: {
2109
2107
  data: UploadFile;
2110
2108
  jobId: string;
@@ -2633,20 +2631,20 @@ type ImageAiPluginLayer = Layer.Layer<ImageAiPlugin, never, never>;
2633
2631
  * Zod schema for validating image optimization parameters.
2634
2632
  * Defines the structure and validation rules for image optimization requests.
2635
2633
  */
2636
- declare const optimizeParamsSchema: z.ZodObject<{
2637
- quality: z.ZodNumber;
2638
- format: z.ZodEnum<{
2639
- webp: "webp";
2634
+ declare const optimizeParamsSchema: z$1.ZodObject<{
2635
+ quality: z$1.ZodNumber;
2636
+ format: z$1.ZodEnum<{
2640
2637
  jpeg: "jpeg";
2638
+ webp: "webp";
2641
2639
  png: "png";
2642
2640
  avif: "avif";
2643
2641
  }>;
2644
- }, z.core.$strip>;
2642
+ }, z$1.core.$strip>;
2645
2643
  /**
2646
2644
  * Parameters for the image optimization node.
2647
2645
  * Controls quality and format settings for image optimization.
2648
2646
  */
2649
- type OptimizeParams = z.infer<typeof optimizeParamsSchema>;
2647
+ type OptimizeParams = z$1.infer<typeof optimizeParamsSchema>;
2650
2648
  //#endregion
2651
2649
  //#region src/flow/plugins/types/resize-node.d.ts
2652
2650
  /**
@@ -2654,20 +2652,20 @@ type OptimizeParams = z.infer<typeof optimizeParamsSchema>;
2654
2652
  * Defines the structure and validation rules for image resizing requests.
2655
2653
  * Requires at least one dimension (width or height) to be specified.
2656
2654
  */
2657
- declare const resizeParamsSchema: z.ZodObject<{
2658
- width: z.ZodOptional<z.ZodNumber>;
2659
- height: z.ZodOptional<z.ZodNumber>;
2660
- fit: z.ZodEnum<{
2655
+ declare const resizeParamsSchema: z$1.ZodObject<{
2656
+ width: z$1.ZodOptional<z$1.ZodNumber>;
2657
+ height: z$1.ZodOptional<z$1.ZodNumber>;
2658
+ fit: z$1.ZodEnum<{
2661
2659
  fill: "fill";
2662
2660
  contain: "contain";
2663
2661
  cover: "cover";
2664
2662
  }>;
2665
- }, z.core.$strip>;
2663
+ }, z$1.core.$strip>;
2666
2664
  /**
2667
2665
  * Parameters for the image resize node.
2668
2666
  * Controls the target dimensions and fitting behavior for image resizing.
2669
2667
  */
2670
- type ResizeParams = z.infer<typeof resizeParamsSchema>;
2668
+ type ResizeParams = z$1.infer<typeof resizeParamsSchema>;
2671
2669
  //#endregion
2672
2670
  //#region src/flow/plugins/types/transform-image-node.d.ts
2673
2671
  /**
@@ -2678,91 +2676,91 @@ type TransformationType = "resize" | "blur" | "rotate" | "flip" | "grayscale" |
2678
2676
  * Resize transformation parameters.
2679
2677
  * Resizes the image to the specified dimensions with the given fit mode.
2680
2678
  */
2681
- declare const resizeTransformSchema: z.ZodObject<{
2682
- type: z.ZodLiteral<"resize">;
2683
- width: z.ZodOptional<z.ZodNumber>;
2684
- height: z.ZodOptional<z.ZodNumber>;
2685
- fit: z.ZodEnum<{
2679
+ declare const resizeTransformSchema: z$1.ZodObject<{
2680
+ type: z$1.ZodLiteral<"resize">;
2681
+ width: z$1.ZodOptional<z$1.ZodNumber>;
2682
+ height: z$1.ZodOptional<z$1.ZodNumber>;
2683
+ fit: z$1.ZodEnum<{
2686
2684
  fill: "fill";
2687
2685
  contain: "contain";
2688
2686
  cover: "cover";
2689
2687
  }>;
2690
- }, z.core.$strip>;
2691
- type ResizeTransform = z.infer<typeof resizeTransformSchema>;
2688
+ }, z$1.core.$strip>;
2689
+ type ResizeTransform = z$1.infer<typeof resizeTransformSchema>;
2692
2690
  /**
2693
2691
  * Blur transformation parameters.
2694
2692
  * Applies Gaussian blur to the image.
2695
2693
  */
2696
- declare const blurTransformSchema: z.ZodObject<{
2697
- type: z.ZodLiteral<"blur">;
2698
- sigma: z.ZodNumber;
2699
- }, z.core.$strip>;
2700
- type BlurTransform = z.infer<typeof blurTransformSchema>;
2694
+ declare const blurTransformSchema: z$1.ZodObject<{
2695
+ type: z$1.ZodLiteral<"blur">;
2696
+ sigma: z$1.ZodNumber;
2697
+ }, z$1.core.$strip>;
2698
+ type BlurTransform = z$1.infer<typeof blurTransformSchema>;
2701
2699
  /**
2702
2700
  * Rotate transformation parameters.
2703
2701
  * Rotates the image by the specified angle.
2704
2702
  */
2705
- declare const rotateTransformSchema: z.ZodObject<{
2706
- type: z.ZodLiteral<"rotate">;
2707
- angle: z.ZodNumber;
2708
- background: z.ZodOptional<z.ZodString>;
2709
- }, z.core.$strip>;
2710
- type RotateTransform = z.infer<typeof rotateTransformSchema>;
2703
+ declare const rotateTransformSchema: z$1.ZodObject<{
2704
+ type: z$1.ZodLiteral<"rotate">;
2705
+ angle: z$1.ZodNumber;
2706
+ background: z$1.ZodOptional<z$1.ZodString>;
2707
+ }, z$1.core.$strip>;
2708
+ type RotateTransform = z$1.infer<typeof rotateTransformSchema>;
2711
2709
  /**
2712
2710
  * Flip transformation parameters.
2713
2711
  * Flips the image horizontally or vertically.
2714
2712
  */
2715
- declare const flipTransformSchema: z.ZodObject<{
2716
- type: z.ZodLiteral<"flip">;
2717
- direction: z.ZodEnum<{
2713
+ declare const flipTransformSchema: z$1.ZodObject<{
2714
+ type: z$1.ZodLiteral<"flip">;
2715
+ direction: z$1.ZodEnum<{
2718
2716
  horizontal: "horizontal";
2719
2717
  vertical: "vertical";
2720
2718
  }>;
2721
- }, z.core.$strip>;
2722
- type FlipTransform = z.infer<typeof flipTransformSchema>;
2719
+ }, z$1.core.$strip>;
2720
+ type FlipTransform = z$1.infer<typeof flipTransformSchema>;
2723
2721
  /**
2724
2722
  * Grayscale transformation parameters.
2725
2723
  * Converts the image to grayscale.
2726
2724
  */
2727
- declare const grayscaleTransformSchema: z.ZodObject<{
2728
- type: z.ZodLiteral<"grayscale">;
2729
- }, z.core.$strip>;
2730
- type GrayscaleTransform = z.infer<typeof grayscaleTransformSchema>;
2725
+ declare const grayscaleTransformSchema: z$1.ZodObject<{
2726
+ type: z$1.ZodLiteral<"grayscale">;
2727
+ }, z$1.core.$strip>;
2728
+ type GrayscaleTransform = z$1.infer<typeof grayscaleTransformSchema>;
2731
2729
  /**
2732
2730
  * Sepia transformation parameters.
2733
2731
  * Applies a sepia tone effect to the image.
2734
2732
  */
2735
- declare const sepiaTransformSchema: z.ZodObject<{
2736
- type: z.ZodLiteral<"sepia">;
2737
- }, z.core.$strip>;
2738
- type SepiaTransform = z.infer<typeof sepiaTransformSchema>;
2733
+ declare const sepiaTransformSchema: z$1.ZodObject<{
2734
+ type: z$1.ZodLiteral<"sepia">;
2735
+ }, z$1.core.$strip>;
2736
+ type SepiaTransform = z$1.infer<typeof sepiaTransformSchema>;
2739
2737
  /**
2740
2738
  * Brightness transformation parameters.
2741
2739
  * Adjusts the brightness of the image.
2742
2740
  */
2743
- declare const brightnessTransformSchema: z.ZodObject<{
2744
- type: z.ZodLiteral<"brightness">;
2745
- value: z.ZodNumber;
2746
- }, z.core.$strip>;
2747
- type BrightnessTransform = z.infer<typeof brightnessTransformSchema>;
2741
+ declare const brightnessTransformSchema: z$1.ZodObject<{
2742
+ type: z$1.ZodLiteral<"brightness">;
2743
+ value: z$1.ZodNumber;
2744
+ }, z$1.core.$strip>;
2745
+ type BrightnessTransform = z$1.infer<typeof brightnessTransformSchema>;
2748
2746
  /**
2749
2747
  * Contrast transformation parameters.
2750
2748
  * Adjusts the contrast of the image.
2751
2749
  */
2752
- declare const contrastTransformSchema: z.ZodObject<{
2753
- type: z.ZodLiteral<"contrast">;
2754
- value: z.ZodNumber;
2755
- }, z.core.$strip>;
2756
- type ContrastTransform = z.infer<typeof contrastTransformSchema>;
2750
+ declare const contrastTransformSchema: z$1.ZodObject<{
2751
+ type: z$1.ZodLiteral<"contrast">;
2752
+ value: z$1.ZodNumber;
2753
+ }, z$1.core.$strip>;
2754
+ type ContrastTransform = z$1.infer<typeof contrastTransformSchema>;
2757
2755
  /**
2758
2756
  * Sharpen transformation parameters.
2759
2757
  * Applies sharpening to the image.
2760
2758
  */
2761
- declare const sharpenTransformSchema: z.ZodObject<{
2762
- type: z.ZodLiteral<"sharpen">;
2763
- sigma: z.ZodOptional<z.ZodNumber>;
2764
- }, z.core.$strip>;
2765
- type SharpenTransform = z.infer<typeof sharpenTransformSchema>;
2759
+ declare const sharpenTransformSchema: z$1.ZodObject<{
2760
+ type: z$1.ZodLiteral<"sharpen">;
2761
+ sigma: z$1.ZodOptional<z$1.ZodNumber>;
2762
+ }, z$1.core.$strip>;
2763
+ type SharpenTransform = z$1.infer<typeof sharpenTransformSchema>;
2766
2764
  /**
2767
2765
  * Position for overlays (watermarks, logos, text).
2768
2766
  */
@@ -2771,234 +2769,234 @@ type OverlayPosition = "top-left" | "top-right" | "bottom-left" | "bottom-right"
2771
2769
  * Watermark transformation parameters.
2772
2770
  * Overlays a watermark image on the main image.
2773
2771
  */
2774
- declare const watermarkTransformSchema: z.ZodObject<{
2775
- type: z.ZodLiteral<"watermark">;
2776
- imagePath: z.ZodString;
2777
- position: z.ZodEnum<{
2772
+ declare const watermarkTransformSchema: z$1.ZodObject<{
2773
+ type: z$1.ZodLiteral<"watermark">;
2774
+ imagePath: z$1.ZodString;
2775
+ position: z$1.ZodEnum<{
2778
2776
  "top-left": "top-left";
2779
2777
  "top-right": "top-right";
2780
2778
  "bottom-left": "bottom-left";
2781
2779
  "bottom-right": "bottom-right";
2782
2780
  center: "center";
2783
2781
  }>;
2784
- opacity: z.ZodNumber;
2785
- offsetX: z.ZodOptional<z.ZodNumber>;
2786
- offsetY: z.ZodOptional<z.ZodNumber>;
2787
- }, z.core.$strip>;
2788
- type WatermarkTransform = z.infer<typeof watermarkTransformSchema>;
2782
+ opacity: z$1.ZodNumber;
2783
+ offsetX: z$1.ZodOptional<z$1.ZodNumber>;
2784
+ offsetY: z$1.ZodOptional<z$1.ZodNumber>;
2785
+ }, z$1.core.$strip>;
2786
+ type WatermarkTransform = z$1.infer<typeof watermarkTransformSchema>;
2789
2787
  /**
2790
2788
  * Logo transformation parameters.
2791
2789
  * Overlays a logo image on the main image with scaling.
2792
2790
  */
2793
- declare const logoTransformSchema: z.ZodObject<{
2794
- type: z.ZodLiteral<"logo">;
2795
- imagePath: z.ZodString;
2796
- position: z.ZodEnum<{
2791
+ declare const logoTransformSchema: z$1.ZodObject<{
2792
+ type: z$1.ZodLiteral<"logo">;
2793
+ imagePath: z$1.ZodString;
2794
+ position: z$1.ZodEnum<{
2797
2795
  "top-left": "top-left";
2798
2796
  "top-right": "top-right";
2799
2797
  "bottom-left": "bottom-left";
2800
2798
  "bottom-right": "bottom-right";
2801
2799
  center: "center";
2802
2800
  }>;
2803
- scale: z.ZodNumber;
2804
- offsetX: z.ZodOptional<z.ZodNumber>;
2805
- offsetY: z.ZodOptional<z.ZodNumber>;
2806
- }, z.core.$strip>;
2807
- type LogoTransform = z.infer<typeof logoTransformSchema>;
2801
+ scale: z$1.ZodNumber;
2802
+ offsetX: z$1.ZodOptional<z$1.ZodNumber>;
2803
+ offsetY: z$1.ZodOptional<z$1.ZodNumber>;
2804
+ }, z$1.core.$strip>;
2805
+ type LogoTransform = z$1.infer<typeof logoTransformSchema>;
2808
2806
  /**
2809
2807
  * Text transformation parameters.
2810
2808
  * Overlays text on the image.
2811
2809
  */
2812
- declare const textTransformSchema: z.ZodObject<{
2813
- type: z.ZodLiteral<"text">;
2814
- text: z.ZodString;
2815
- position: z.ZodEnum<{
2810
+ declare const textTransformSchema: z$1.ZodObject<{
2811
+ type: z$1.ZodLiteral<"text">;
2812
+ text: z$1.ZodString;
2813
+ position: z$1.ZodEnum<{
2816
2814
  "top-left": "top-left";
2817
2815
  "top-right": "top-right";
2818
2816
  "bottom-left": "bottom-left";
2819
2817
  "bottom-right": "bottom-right";
2820
2818
  center: "center";
2821
2819
  }>;
2822
- fontSize: z.ZodNumber;
2823
- color: z.ZodString;
2824
- fontFamily: z.ZodOptional<z.ZodString>;
2825
- offsetX: z.ZodOptional<z.ZodNumber>;
2826
- offsetY: z.ZodOptional<z.ZodNumber>;
2827
- }, z.core.$strip>;
2828
- type TextTransform = z.infer<typeof textTransformSchema>;
2820
+ fontSize: z$1.ZodNumber;
2821
+ color: z$1.ZodString;
2822
+ fontFamily: z$1.ZodOptional<z$1.ZodString>;
2823
+ offsetX: z$1.ZodOptional<z$1.ZodNumber>;
2824
+ offsetY: z$1.ZodOptional<z$1.ZodNumber>;
2825
+ }, z$1.core.$strip>;
2826
+ type TextTransform = z$1.infer<typeof textTransformSchema>;
2829
2827
  /**
2830
2828
  * Schema for validating any transformation type.
2831
2829
  * This is a discriminated union of all transformation schemas.
2832
2830
  */
2833
- declare const transformationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2834
- type: z.ZodLiteral<"resize">;
2835
- width: z.ZodOptional<z.ZodNumber>;
2836
- height: z.ZodOptional<z.ZodNumber>;
2837
- fit: z.ZodEnum<{
2831
+ declare const transformationSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
2832
+ type: z$1.ZodLiteral<"resize">;
2833
+ width: z$1.ZodOptional<z$1.ZodNumber>;
2834
+ height: z$1.ZodOptional<z$1.ZodNumber>;
2835
+ fit: z$1.ZodEnum<{
2838
2836
  fill: "fill";
2839
2837
  contain: "contain";
2840
2838
  cover: "cover";
2841
2839
  }>;
2842
- }, z.core.$strip>, z.ZodObject<{
2843
- type: z.ZodLiteral<"blur">;
2844
- sigma: z.ZodNumber;
2845
- }, z.core.$strip>, z.ZodObject<{
2846
- type: z.ZodLiteral<"rotate">;
2847
- angle: z.ZodNumber;
2848
- background: z.ZodOptional<z.ZodString>;
2849
- }, z.core.$strip>, z.ZodObject<{
2850
- type: z.ZodLiteral<"flip">;
2851
- direction: z.ZodEnum<{
2840
+ }, z$1.core.$strip>, z$1.ZodObject<{
2841
+ type: z$1.ZodLiteral<"blur">;
2842
+ sigma: z$1.ZodNumber;
2843
+ }, z$1.core.$strip>, z$1.ZodObject<{
2844
+ type: z$1.ZodLiteral<"rotate">;
2845
+ angle: z$1.ZodNumber;
2846
+ background: z$1.ZodOptional<z$1.ZodString>;
2847
+ }, z$1.core.$strip>, z$1.ZodObject<{
2848
+ type: z$1.ZodLiteral<"flip">;
2849
+ direction: z$1.ZodEnum<{
2852
2850
  horizontal: "horizontal";
2853
2851
  vertical: "vertical";
2854
2852
  }>;
2855
- }, z.core.$strip>, z.ZodObject<{
2856
- type: z.ZodLiteral<"grayscale">;
2857
- }, z.core.$strip>, z.ZodObject<{
2858
- type: z.ZodLiteral<"sepia">;
2859
- }, z.core.$strip>, z.ZodObject<{
2860
- type: z.ZodLiteral<"brightness">;
2861
- value: z.ZodNumber;
2862
- }, z.core.$strip>, z.ZodObject<{
2863
- type: z.ZodLiteral<"contrast">;
2864
- value: z.ZodNumber;
2865
- }, z.core.$strip>, z.ZodObject<{
2866
- type: z.ZodLiteral<"sharpen">;
2867
- sigma: z.ZodOptional<z.ZodNumber>;
2868
- }, z.core.$strip>, z.ZodObject<{
2869
- type: z.ZodLiteral<"watermark">;
2870
- imagePath: z.ZodString;
2871
- position: z.ZodEnum<{
2853
+ }, z$1.core.$strip>, z$1.ZodObject<{
2854
+ type: z$1.ZodLiteral<"grayscale">;
2855
+ }, z$1.core.$strip>, z$1.ZodObject<{
2856
+ type: z$1.ZodLiteral<"sepia">;
2857
+ }, z$1.core.$strip>, z$1.ZodObject<{
2858
+ type: z$1.ZodLiteral<"brightness">;
2859
+ value: z$1.ZodNumber;
2860
+ }, z$1.core.$strip>, z$1.ZodObject<{
2861
+ type: z$1.ZodLiteral<"contrast">;
2862
+ value: z$1.ZodNumber;
2863
+ }, z$1.core.$strip>, z$1.ZodObject<{
2864
+ type: z$1.ZodLiteral<"sharpen">;
2865
+ sigma: z$1.ZodOptional<z$1.ZodNumber>;
2866
+ }, z$1.core.$strip>, z$1.ZodObject<{
2867
+ type: z$1.ZodLiteral<"watermark">;
2868
+ imagePath: z$1.ZodString;
2869
+ position: z$1.ZodEnum<{
2872
2870
  "top-left": "top-left";
2873
2871
  "top-right": "top-right";
2874
2872
  "bottom-left": "bottom-left";
2875
2873
  "bottom-right": "bottom-right";
2876
2874
  center: "center";
2877
2875
  }>;
2878
- opacity: z.ZodNumber;
2879
- offsetX: z.ZodOptional<z.ZodNumber>;
2880
- offsetY: z.ZodOptional<z.ZodNumber>;
2881
- }, z.core.$strip>, z.ZodObject<{
2882
- type: z.ZodLiteral<"logo">;
2883
- imagePath: z.ZodString;
2884
- position: z.ZodEnum<{
2876
+ opacity: z$1.ZodNumber;
2877
+ offsetX: z$1.ZodOptional<z$1.ZodNumber>;
2878
+ offsetY: z$1.ZodOptional<z$1.ZodNumber>;
2879
+ }, z$1.core.$strip>, z$1.ZodObject<{
2880
+ type: z$1.ZodLiteral<"logo">;
2881
+ imagePath: z$1.ZodString;
2882
+ position: z$1.ZodEnum<{
2885
2883
  "top-left": "top-left";
2886
2884
  "top-right": "top-right";
2887
2885
  "bottom-left": "bottom-left";
2888
2886
  "bottom-right": "bottom-right";
2889
2887
  center: "center";
2890
2888
  }>;
2891
- scale: z.ZodNumber;
2892
- offsetX: z.ZodOptional<z.ZodNumber>;
2893
- offsetY: z.ZodOptional<z.ZodNumber>;
2894
- }, z.core.$strip>, z.ZodObject<{
2895
- type: z.ZodLiteral<"text">;
2896
- text: z.ZodString;
2897
- position: z.ZodEnum<{
2889
+ scale: z$1.ZodNumber;
2890
+ offsetX: z$1.ZodOptional<z$1.ZodNumber>;
2891
+ offsetY: z$1.ZodOptional<z$1.ZodNumber>;
2892
+ }, z$1.core.$strip>, z$1.ZodObject<{
2893
+ type: z$1.ZodLiteral<"text">;
2894
+ text: z$1.ZodString;
2895
+ position: z$1.ZodEnum<{
2898
2896
  "top-left": "top-left";
2899
2897
  "top-right": "top-right";
2900
2898
  "bottom-left": "bottom-left";
2901
2899
  "bottom-right": "bottom-right";
2902
2900
  center: "center";
2903
2901
  }>;
2904
- fontSize: z.ZodNumber;
2905
- color: z.ZodString;
2906
- fontFamily: z.ZodOptional<z.ZodString>;
2907
- offsetX: z.ZodOptional<z.ZodNumber>;
2908
- offsetY: z.ZodOptional<z.ZodNumber>;
2909
- }, z.core.$strip>], "type">;
2902
+ fontSize: z$1.ZodNumber;
2903
+ color: z$1.ZodString;
2904
+ fontFamily: z$1.ZodOptional<z$1.ZodString>;
2905
+ offsetX: z$1.ZodOptional<z$1.ZodNumber>;
2906
+ offsetY: z$1.ZodOptional<z$1.ZodNumber>;
2907
+ }, z$1.core.$strip>], "type">;
2910
2908
  /**
2911
2909
  * A single image transformation operation.
2912
2910
  * This is a discriminated union type that can represent any transformation.
2913
2911
  */
2914
- type Transformation = z.infer<typeof transformationSchema>;
2912
+ type Transformation = z$1.infer<typeof transformationSchema>;
2915
2913
  /**
2916
2914
  * Parameters for the transform image node.
2917
2915
  * Contains an ordered array of transformations to apply sequentially.
2918
2916
  */
2919
- declare const transformImageParamsSchema: z.ZodObject<{
2920
- transformations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2921
- type: z.ZodLiteral<"resize">;
2922
- width: z.ZodOptional<z.ZodNumber>;
2923
- height: z.ZodOptional<z.ZodNumber>;
2924
- fit: z.ZodEnum<{
2917
+ declare const transformImageParamsSchema: z$1.ZodObject<{
2918
+ transformations: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
2919
+ type: z$1.ZodLiteral<"resize">;
2920
+ width: z$1.ZodOptional<z$1.ZodNumber>;
2921
+ height: z$1.ZodOptional<z$1.ZodNumber>;
2922
+ fit: z$1.ZodEnum<{
2925
2923
  fill: "fill";
2926
2924
  contain: "contain";
2927
2925
  cover: "cover";
2928
2926
  }>;
2929
- }, z.core.$strip>, z.ZodObject<{
2930
- type: z.ZodLiteral<"blur">;
2931
- sigma: z.ZodNumber;
2932
- }, z.core.$strip>, z.ZodObject<{
2933
- type: z.ZodLiteral<"rotate">;
2934
- angle: z.ZodNumber;
2935
- background: z.ZodOptional<z.ZodString>;
2936
- }, z.core.$strip>, z.ZodObject<{
2937
- type: z.ZodLiteral<"flip">;
2938
- direction: z.ZodEnum<{
2927
+ }, z$1.core.$strip>, z$1.ZodObject<{
2928
+ type: z$1.ZodLiteral<"blur">;
2929
+ sigma: z$1.ZodNumber;
2930
+ }, z$1.core.$strip>, z$1.ZodObject<{
2931
+ type: z$1.ZodLiteral<"rotate">;
2932
+ angle: z$1.ZodNumber;
2933
+ background: z$1.ZodOptional<z$1.ZodString>;
2934
+ }, z$1.core.$strip>, z$1.ZodObject<{
2935
+ type: z$1.ZodLiteral<"flip">;
2936
+ direction: z$1.ZodEnum<{
2939
2937
  horizontal: "horizontal";
2940
2938
  vertical: "vertical";
2941
2939
  }>;
2942
- }, z.core.$strip>, z.ZodObject<{
2943
- type: z.ZodLiteral<"grayscale">;
2944
- }, z.core.$strip>, z.ZodObject<{
2945
- type: z.ZodLiteral<"sepia">;
2946
- }, z.core.$strip>, z.ZodObject<{
2947
- type: z.ZodLiteral<"brightness">;
2948
- value: z.ZodNumber;
2949
- }, z.core.$strip>, z.ZodObject<{
2950
- type: z.ZodLiteral<"contrast">;
2951
- value: z.ZodNumber;
2952
- }, z.core.$strip>, z.ZodObject<{
2953
- type: z.ZodLiteral<"sharpen">;
2954
- sigma: z.ZodOptional<z.ZodNumber>;
2955
- }, z.core.$strip>, z.ZodObject<{
2956
- type: z.ZodLiteral<"watermark">;
2957
- imagePath: z.ZodString;
2958
- position: z.ZodEnum<{
2940
+ }, z$1.core.$strip>, z$1.ZodObject<{
2941
+ type: z$1.ZodLiteral<"grayscale">;
2942
+ }, z$1.core.$strip>, z$1.ZodObject<{
2943
+ type: z$1.ZodLiteral<"sepia">;
2944
+ }, z$1.core.$strip>, z$1.ZodObject<{
2945
+ type: z$1.ZodLiteral<"brightness">;
2946
+ value: z$1.ZodNumber;
2947
+ }, z$1.core.$strip>, z$1.ZodObject<{
2948
+ type: z$1.ZodLiteral<"contrast">;
2949
+ value: z$1.ZodNumber;
2950
+ }, z$1.core.$strip>, z$1.ZodObject<{
2951
+ type: z$1.ZodLiteral<"sharpen">;
2952
+ sigma: z$1.ZodOptional<z$1.ZodNumber>;
2953
+ }, z$1.core.$strip>, z$1.ZodObject<{
2954
+ type: z$1.ZodLiteral<"watermark">;
2955
+ imagePath: z$1.ZodString;
2956
+ position: z$1.ZodEnum<{
2959
2957
  "top-left": "top-left";
2960
2958
  "top-right": "top-right";
2961
2959
  "bottom-left": "bottom-left";
2962
2960
  "bottom-right": "bottom-right";
2963
2961
  center: "center";
2964
2962
  }>;
2965
- opacity: z.ZodNumber;
2966
- offsetX: z.ZodOptional<z.ZodNumber>;
2967
- offsetY: z.ZodOptional<z.ZodNumber>;
2968
- }, z.core.$strip>, z.ZodObject<{
2969
- type: z.ZodLiteral<"logo">;
2970
- imagePath: z.ZodString;
2971
- position: z.ZodEnum<{
2963
+ opacity: z$1.ZodNumber;
2964
+ offsetX: z$1.ZodOptional<z$1.ZodNumber>;
2965
+ offsetY: z$1.ZodOptional<z$1.ZodNumber>;
2966
+ }, z$1.core.$strip>, z$1.ZodObject<{
2967
+ type: z$1.ZodLiteral<"logo">;
2968
+ imagePath: z$1.ZodString;
2969
+ position: z$1.ZodEnum<{
2972
2970
  "top-left": "top-left";
2973
2971
  "top-right": "top-right";
2974
2972
  "bottom-left": "bottom-left";
2975
2973
  "bottom-right": "bottom-right";
2976
2974
  center: "center";
2977
2975
  }>;
2978
- scale: z.ZodNumber;
2979
- offsetX: z.ZodOptional<z.ZodNumber>;
2980
- offsetY: z.ZodOptional<z.ZodNumber>;
2981
- }, z.core.$strip>, z.ZodObject<{
2982
- type: z.ZodLiteral<"text">;
2983
- text: z.ZodString;
2984
- position: z.ZodEnum<{
2976
+ scale: z$1.ZodNumber;
2977
+ offsetX: z$1.ZodOptional<z$1.ZodNumber>;
2978
+ offsetY: z$1.ZodOptional<z$1.ZodNumber>;
2979
+ }, z$1.core.$strip>, z$1.ZodObject<{
2980
+ type: z$1.ZodLiteral<"text">;
2981
+ text: z$1.ZodString;
2982
+ position: z$1.ZodEnum<{
2985
2983
  "top-left": "top-left";
2986
2984
  "top-right": "top-right";
2987
2985
  "bottom-left": "bottom-left";
2988
2986
  "bottom-right": "bottom-right";
2989
2987
  center: "center";
2990
2988
  }>;
2991
- fontSize: z.ZodNumber;
2992
- color: z.ZodString;
2993
- fontFamily: z.ZodOptional<z.ZodString>;
2994
- offsetX: z.ZodOptional<z.ZodNumber>;
2995
- offsetY: z.ZodOptional<z.ZodNumber>;
2996
- }, z.core.$strip>], "type">>;
2997
- }, z.core.$strip>;
2989
+ fontSize: z$1.ZodNumber;
2990
+ color: z$1.ZodString;
2991
+ fontFamily: z$1.ZodOptional<z$1.ZodString>;
2992
+ offsetX: z$1.ZodOptional<z$1.ZodNumber>;
2993
+ offsetY: z$1.ZodOptional<z$1.ZodNumber>;
2994
+ }, z$1.core.$strip>], "type">>;
2995
+ }, z$1.core.$strip>;
2998
2996
  /**
2999
2997
  * Parameters for the transform image node.
3000
2998
  */
3001
- type TransformImageParams = z.infer<typeof transformImageParamsSchema>;
2999
+ type TransformImageParams = z$1.infer<typeof transformImageParamsSchema>;
3002
3000
  //#endregion
3003
3001
  //#region src/flow/plugins/image-plugin.d.ts
3004
3002
  /**
@@ -3175,44 +3173,44 @@ type ImagePluginLayer = Layer.Layer<ImagePlugin, never, never>;
3175
3173
  * Zod schema for video metadata extracted by the describe operation.
3176
3174
  * Defines the structure and validation rules for video metadata.
3177
3175
  */
3178
- declare const describeVideoMetadataSchema: z.ZodObject<{
3179
- duration: z.ZodNumber;
3180
- width: z.ZodNumber;
3181
- height: z.ZodNumber;
3182
- codec: z.ZodString;
3183
- format: z.ZodString;
3184
- bitrate: z.ZodNumber;
3185
- frameRate: z.ZodNumber;
3186
- aspectRatio: z.ZodString;
3187
- hasAudio: z.ZodBoolean;
3188
- audioCodec: z.ZodOptional<z.ZodString>;
3189
- audioBitrate: z.ZodOptional<z.ZodNumber>;
3190
- size: z.ZodNumber;
3191
- }, z.core.$strip>;
3176
+ declare const describeVideoMetadataSchema: z$1.ZodObject<{
3177
+ duration: z$1.ZodNumber;
3178
+ width: z$1.ZodNumber;
3179
+ height: z$1.ZodNumber;
3180
+ codec: z$1.ZodString;
3181
+ format: z$1.ZodString;
3182
+ bitrate: z$1.ZodNumber;
3183
+ frameRate: z$1.ZodNumber;
3184
+ aspectRatio: z$1.ZodString;
3185
+ hasAudio: z$1.ZodBoolean;
3186
+ audioCodec: z$1.ZodOptional<z$1.ZodString>;
3187
+ audioBitrate: z$1.ZodOptional<z$1.ZodNumber>;
3188
+ size: z$1.ZodNumber;
3189
+ }, z$1.core.$strip>;
3192
3190
  /**
3193
3191
  * Video metadata extracted by the describe operation.
3194
3192
  * Contains comprehensive information about video properties, codecs, and audio.
3195
3193
  */
3196
- type DescribeVideoMetadata = z.infer<typeof describeVideoMetadataSchema>;
3194
+ type DescribeVideoMetadata = z$1.infer<typeof describeVideoMetadataSchema>;
3197
3195
  //#endregion
3198
3196
  //#region src/flow/plugins/types/extract-frame-video-node.d.ts
3199
3197
  /**
3200
3198
  * Zod schema for validating video frame extraction parameters.
3201
3199
  * Defines the structure and validation rules for extracting a single frame from video.
3202
3200
  */
3203
- declare const extractFrameVideoParamsSchema: z.ZodObject<{
3204
- timestamp: z.ZodNumber;
3205
- format: z.ZodOptional<z.ZodEnum<{
3201
+ declare const extractFrameVideoParamsSchema: z$1.ZodObject<{
3202
+ timestamp: z$1.ZodNumber;
3203
+ format: z$1.ZodOptional<z$1.ZodEnum<{
3206
3204
  jpeg: "jpeg";
3207
3205
  png: "png";
3208
3206
  }>>;
3209
- quality: z.ZodOptional<z.ZodNumber>;
3210
- }, z.core.$strip>;
3207
+ quality: z$1.ZodOptional<z$1.ZodNumber>;
3208
+ }, z$1.core.$strip>;
3211
3209
  /**
3212
3210
  * Parameters for the video frame extraction node.
3213
3211
  * Controls the timestamp and output format for extracting a single frame from video.
3214
3212
  */
3215
- type ExtractFrameVideoParams = z.infer<typeof extractFrameVideoParamsSchema>;
3213
+ type ExtractFrameVideoParams = z$1.infer<typeof extractFrameVideoParamsSchema>;
3216
3214
  //#endregion
3217
3215
  //#region src/flow/plugins/types/resize-video-node.d.ts
3218
3216
  /**
@@ -3220,73 +3218,73 @@ type ExtractFrameVideoParams = z.infer<typeof extractFrameVideoParamsSchema>;
3220
3218
  * Defines the structure and validation rules for video resolution changes.
3221
3219
  * Requires at least one dimension (width or height) to be specified.
3222
3220
  */
3223
- declare const resizeVideoParamsSchema: z.ZodObject<{
3224
- width: z.ZodOptional<z.ZodNumber>;
3225
- height: z.ZodOptional<z.ZodNumber>;
3226
- aspectRatio: z.ZodOptional<z.ZodEnum<{
3221
+ declare const resizeVideoParamsSchema: z$1.ZodObject<{
3222
+ width: z$1.ZodOptional<z$1.ZodNumber>;
3223
+ height: z$1.ZodOptional<z$1.ZodNumber>;
3224
+ aspectRatio: z$1.ZodOptional<z$1.ZodEnum<{
3227
3225
  keep: "keep";
3228
3226
  ignore: "ignore";
3229
3227
  }>>;
3230
- scaling: z.ZodOptional<z.ZodEnum<{
3228
+ scaling: z$1.ZodOptional<z$1.ZodEnum<{
3231
3229
  bicubic: "bicubic";
3232
3230
  bilinear: "bilinear";
3233
3231
  lanczos: "lanczos";
3234
3232
  }>>;
3235
- }, z.core.$strip>;
3233
+ }, z$1.core.$strip>;
3236
3234
  /**
3237
3235
  * Parameters for the video resize node.
3238
3236
  * Controls the target dimensions and aspect ratio handling for video resizing.
3239
3237
  */
3240
- type ResizeVideoParams = z.infer<typeof resizeVideoParamsSchema>;
3238
+ type ResizeVideoParams = z$1.infer<typeof resizeVideoParamsSchema>;
3241
3239
  //#endregion
3242
3240
  //#region src/flow/plugins/types/transcode-video-node.d.ts
3243
3241
  /**
3244
3242
  * Zod schema for validating video transcode parameters.
3245
3243
  * Defines the structure and validation rules for video format and codec conversion.
3246
3244
  */
3247
- declare const transcodeVideoParamsSchema: z.ZodObject<{
3248
- format: z.ZodEnum<{
3245
+ declare const transcodeVideoParamsSchema: z$1.ZodObject<{
3246
+ format: z$1.ZodEnum<{
3249
3247
  mp4: "mp4";
3250
3248
  webm: "webm";
3251
3249
  mov: "mov";
3252
3250
  avi: "avi";
3253
3251
  }>;
3254
- codec: z.ZodOptional<z.ZodEnum<{
3252
+ codec: z$1.ZodOptional<z$1.ZodEnum<{
3255
3253
  h264: "h264";
3256
3254
  h265: "h265";
3257
3255
  vp9: "vp9";
3258
3256
  av1: "av1";
3259
3257
  }>>;
3260
- videoBitrate: z.ZodOptional<z.ZodString>;
3261
- audioBitrate: z.ZodOptional<z.ZodString>;
3262
- audioCodec: z.ZodOptional<z.ZodEnum<{
3258
+ videoBitrate: z$1.ZodOptional<z$1.ZodString>;
3259
+ audioBitrate: z$1.ZodOptional<z$1.ZodString>;
3260
+ audioCodec: z$1.ZodOptional<z$1.ZodEnum<{
3263
3261
  aac: "aac";
3264
3262
  mp3: "mp3";
3265
3263
  opus: "opus";
3266
3264
  vorbis: "vorbis";
3267
3265
  }>>;
3268
- }, z.core.$strip>;
3266
+ }, z$1.core.$strip>;
3269
3267
  /**
3270
3268
  * Parameters for the video transcode node.
3271
3269
  * Controls output format, codecs, and quality settings for video transcoding.
3272
3270
  */
3273
- type TranscodeVideoParams = z.infer<typeof transcodeVideoParamsSchema>;
3271
+ type TranscodeVideoParams = z$1.infer<typeof transcodeVideoParamsSchema>;
3274
3272
  //#endregion
3275
3273
  //#region src/flow/plugins/types/trim-video-node.d.ts
3276
3274
  /**
3277
3275
  * Zod schema for validating video trim parameters.
3278
3276
  * Defines the structure and validation rules for extracting video segments.
3279
3277
  */
3280
- declare const trimVideoParamsSchema: z.ZodObject<{
3281
- startTime: z.ZodNumber;
3282
- endTime: z.ZodOptional<z.ZodNumber>;
3283
- duration: z.ZodOptional<z.ZodNumber>;
3284
- }, z.core.$strip>;
3278
+ declare const trimVideoParamsSchema: z$1.ZodObject<{
3279
+ startTime: z$1.ZodNumber;
3280
+ endTime: z$1.ZodOptional<z$1.ZodNumber>;
3281
+ duration: z$1.ZodOptional<z$1.ZodNumber>;
3282
+ }, z$1.core.$strip>;
3285
3283
  /**
3286
3284
  * Parameters for the video trim node.
3287
3285
  * Controls the time range for extracting video segments.
3288
3286
  */
3289
- type TrimVideoParams = z.infer<typeof trimVideoParamsSchema>;
3287
+ type TrimVideoParams = z$1.infer<typeof trimVideoParamsSchema>;
3290
3288
  //#endregion
3291
3289
  //#region src/flow/plugins/video-plugin.d.ts
3292
3290
  /**
@@ -3643,32 +3641,32 @@ type PluginLayer = ImagePluginLayer | ImageAiPluginLayer | VideoPluginLayer | Do
3643
3641
  * Zod schema for validating describe image node parameters.
3644
3642
  * Defines the structure and validation rules for image description requests.
3645
3643
  */
3646
- declare const describeImageParamsSchema: z.ZodObject<{
3647
- serviceType: z.ZodOptional<z.ZodEnum<{
3644
+ declare const describeImageParamsSchema: z$1.ZodObject<{
3645
+ serviceType: z$1.ZodOptional<z$1.ZodEnum<{
3648
3646
  replicate: "replicate";
3649
3647
  }>>;
3650
- }, z.core.$strip>;
3648
+ }, z$1.core.$strip>;
3651
3649
  /**
3652
3650
  * Parameters for the describe image node.
3653
3651
  * Controls which AI service to use for generating image descriptions.
3654
3652
  */
3655
- type DescribeImageParams = z.infer<typeof describeImageParamsSchema>;
3653
+ type DescribeImageParams = z$1.infer<typeof describeImageParamsSchema>;
3656
3654
  //#endregion
3657
3655
  //#region src/flow/plugins/types/remove-background-node.d.ts
3658
3656
  /**
3659
3657
  * Zod schema for validating remove background node parameters.
3660
3658
  * Defines the structure and validation rules for background removal requests.
3661
3659
  */
3662
- declare const removeBackgroundParamsSchema: z.ZodObject<{
3663
- serviceType: z.ZodOptional<z.ZodEnum<{
3660
+ declare const removeBackgroundParamsSchema: z$1.ZodObject<{
3661
+ serviceType: z$1.ZodOptional<z$1.ZodEnum<{
3664
3662
  replicate: "replicate";
3665
3663
  }>>;
3666
- }, z.core.$strip>;
3664
+ }, z$1.core.$strip>;
3667
3665
  /**
3668
3666
  * Parameters for the remove background node.
3669
3667
  * Controls which AI service to use for background removal processing.
3670
3668
  */
3671
- type RemoveBackgroundParams = z.infer<typeof removeBackgroundParamsSchema>;
3669
+ type RemoveBackgroundParams = z$1.infer<typeof removeBackgroundParamsSchema>;
3672
3670
  //#endregion
3673
3671
  //#region src/flow/type-guards.d.ts
3674
3672
  /**
@@ -4158,7 +4156,7 @@ type FlowPluginRequirements<TNodes extends NodeDefinitionsRecord> = Exclude<Flow
4158
4156
  */
4159
4157
  type InferNode<T> = T extends FlowNode<any, any, UploadistaError> ? T : ResolveEffect<T> extends FlowNode<any, any, UploadistaError> ? ResolveEffect<T> : never;
4160
4158
  type ExtractKeysByNodeType<TNodes extends NodeDefinitionsRecord, TType extends NodeType> = { [K in keyof TNodes]: InferNode<TNodes[K]>["type"] extends TType ? K : never }[keyof TNodes];
4161
- type SchemaInfer<T> = T extends z.ZodTypeAny ? z.infer<T> : never;
4159
+ type SchemaInfer<T> = T extends z$1.ZodTypeAny ? z$1.infer<T> : never;
4162
4160
  type FlowInputMap<TNodes extends NodeDefinitionsRecord> = { [K in Extract<ExtractKeysByNodeType<TNodes, NodeType.input>, string>]: SchemaInfer<InferNode<TNodes[K]>["inputSchema"]> };
4163
4161
  type FlowOutputMap<TNodes extends NodeDefinitionsRecord> = { [K in Extract<keyof TNodes, string>]: SchemaInfer<InferNode<TNodes[K]>["outputSchema"]> };
4164
4162
  type FlowInputUnion<TNodes extends NodeDefinitionsRecord> = { [K in Extract<ExtractKeysByNodeType<TNodes, NodeType.input>, string>]: SchemaInfer<InferNode<TNodes[K]>["inputSchema"]> }[Extract<ExtractKeysByNodeType<TNodes, NodeType.input>, string>];
@@ -4183,8 +4181,8 @@ type TypedFlowConfig<TNodes extends NodeDefinitionsRecord> = {
4183
4181
  enabled?: boolean;
4184
4182
  maxConcurrency?: number;
4185
4183
  };
4186
- inputSchema?: z.ZodTypeAny;
4187
- outputSchema?: z.ZodTypeAny;
4184
+ inputSchema?: z$1.ZodTypeAny;
4185
+ outputSchema?: z$1.ZodTypeAny;
4188
4186
  hooks?: {
4189
4187
  /**
4190
4188
  * Called when a sink node (terminal node with no outgoing edges) produces an output.
@@ -4279,7 +4277,7 @@ declare const typedFlowPluginsSymbol: unique symbol;
4279
4277
  * // - Requirements: ImagePlugin (from resize node)
4280
4278
  * ```
4281
4279
  */
4282
- type TypedFlow<TNodes extends NodeDefinitionsRecord, TInputSchema extends z.ZodTypeAny, TOutputSchema extends z.ZodTypeAny> = Flow<TInputSchema, TOutputSchema, FlowRequirements<TNodes>> & {
4280
+ type TypedFlow<TNodes extends NodeDefinitionsRecord, TInputSchema extends z$1.ZodTypeAny, TOutputSchema extends z$1.ZodTypeAny> = Flow<TInputSchema, TOutputSchema, FlowRequirements<TNodes>> & {
4283
4281
  run: (args: {
4284
4282
  inputs?: Partial<FlowInputMap<TNodes>>;
4285
4283
  storageId: string;
@@ -4299,7 +4297,7 @@ type TypedFlow<TNodes extends NodeDefinitionsRecord, TInputSchema extends z.ZodT
4299
4297
  readonly [typedFlowOutputsSymbol]?: FlowOutputMap<TNodes>;
4300
4298
  readonly [typedFlowPluginsSymbol]?: FlowPluginRequirements<TNodes>;
4301
4299
  };
4302
- declare function createFlow<TNodes extends NodeDefinitionsRecord>(config: TypedFlowConfig<TNodes>): Effect.Effect<TypedFlow<TNodes, z.ZodType<FlowInputUnion<TNodes>>, z.ZodType<FlowOutputUnion<TNodes>>>, NodesErrorUnion<TNodes> | UploadistaError, FlowRequirements<TNodes>>;
4300
+ declare function createFlow<TNodes extends NodeDefinitionsRecord>(config: TypedFlowConfig<TNodes>): Effect.Effect<TypedFlow<TNodes, z$1.ZodType<FlowInputUnion<TNodes>>, z$1.ZodType<FlowOutputUnion<TNodes>>>, NodesErrorUnion<TNodes> | UploadistaError, FlowRequirements<TNodes>>;
4303
4301
  //#endregion
4304
4302
  //#region src/flow/types/run-args.d.ts
4305
4303
  /**
@@ -4320,16 +4318,16 @@ declare function createFlow<TNodes extends NodeDefinitionsRecord>(config: TypedF
4320
4318
  * const validated = runArgsSchema.parse(args);
4321
4319
  * ```
4322
4320
  */
4323
- declare const runArgsSchema: z.ZodObject<{
4324
- inputs: z.ZodRecord<z.ZodString, z.ZodAny>;
4325
- }, z.core.$strip>;
4321
+ declare const runArgsSchema: z$1.ZodObject<{
4322
+ inputs: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
4323
+ }, z$1.core.$strip>;
4326
4324
  /**
4327
4325
  * Type representing validated flow run arguments.
4328
4326
  *
4329
4327
  * This type is inferred from the runArgsSchema and ensures type safety
4330
4328
  * when passing inputs to flow execution.
4331
4329
  */
4332
- type RunArgs = z.infer<typeof runArgsSchema>;
4330
+ type RunArgs = z$1.infer<typeof runArgsSchema>;
4333
4331
  //#endregion
4334
4332
  //#region src/flow/utils/file-naming.d.ts
4335
4333
  /**
@@ -4539,4 +4537,4 @@ type ResolvedUploadMetadata = {
4539
4537
  declare function resolveUploadMetadata(metadata: FileMetadata): ResolvedUploadMetadata;
4540
4538
  //#endregion
4541
4539
  export { VideoPlugin as $, MemoryFlowQueueStore as $n, ImageAiPluginLayer as $t, isImageDescriptionOutput as A, ExtractLayerServices as An, DistributedCircuitBreaker as Ar, Transformation as At, describeImageParamsSchema as B, FlowQueueServiceShape as Bn, CircuitBreakerState as Br, rotateTransformSchema as Bt, createTypeGuard as C, StreamingTransformResult as Cn, FlowData as Cr, OverlayPosition as Ct, getSingleOutputByType as D, ExtractEffectError as Dn, FlowEdge as Dr, SharpenTransform as Dt, getOutputByNodeId as E, createTransformNode as En, getFlowData as Er, SepiaTransform as Et, isUploadOperation as F, createInputNode as Fn, memoryCircuitBreakerStoreLayer as Fr, contrastTransformSchema as Ft, ZipPlugin as G, FlowLifecycleHook as Gn, transformationSchema as Gt, PluginLayer as H, FlowEngineLayer as Hn, sharpenTransformSchema as Ht, isUrlOperation as I, inputDataSchema as In, CircuitBreakerConfig as Ir, flipTransformSchema as It, ScanMetadata as J, FlowWaitUntil as Jn, resizeParamsSchema as Jt, ZipPluginLayer as K, FlowProvider as Kn, watermarkTransformSchema as Kt, RemoveBackgroundParams as L, inputNodeParamsSchema as Ln, CircuitBreakerEvent as Lr, grayscaleTransformSchema as Lt, isOcrOutput as M, FlowCondition as Mn, kvCircuitBreakerStoreLayer as Mr, WatermarkTransform as Mt, isStorageOutput as N, InputData as Nn, makeKvCircuitBreakerStore as Nr, blurTransformSchema as Nt, hasOutputOfType as O, ExtractEffectRequirements as On, createFlowEdge as Or, TextTransform as Ot, isUploadFile as P, InputNodeParams as Pn, makeMemoryCircuitBreakerStore as Pr, brightnessTransformSchema as Pt, VirusScanPluginShape as Q, FlowQueueStore as Qn, ImageAiPlugin as Qt, removeBackgroundParamsSchema as R, FlowQueueDispatchMarker as Rn, CircuitBreakerEventHandler as Rr, logoTransformSchema as Rt, NarrowedTypedOutput as S, StreamingTransformFn as Sn, Flow as Sr, LogoTransform as St, getFirstOutputByType as T, TransformNodeConfig as Tn, createFlowWithSchema as Tr, RotateTransform as Tt, ZipInput as U, FlowEngineOptions as Un, textTransformSchema as Ut, Plugin as V, FlowEngine as Vn, DEFAULT_CIRCUIT_BREAKER_CONFIG as Vr, sepiaTransformSchema as Vt, ZipParams as W, FlowEngineShape as Wn, transformImageParamsSchema as Wt, VirusScanPlugin as X, createFlowEngine as Xn, optimizeParamsSchema as Xt, ScanResult as Y, WaitUntilCallback as Yn, OptimizeParams as Yt, VirusScanPluginLayer as Z, flowEngine as Zn, ImageAiContext as Zt, NodeDefinitionsRecord as _, CredentialProviderLayer as _n, InputTypeDefinition as _r, BlurTransform as _t, buildNamingContext as a, MergePdfParams as an, ImageDescriptionOutput as ar, trimVideoParamsSchema as at, TypedFlowEdge as b, ParallelScheduler as bn, inputTypeRegistry as br, FlipTransform as bt, interpolateFileName as c, DocumentAiContext as cn, STORAGE_OUTPUT_TYPE_ID as cr, ResizeVideoParams as ct, runArgsSchema as d, DocumentAiPluginShape as dn, ocrOutputSchema as dr, extractFrameVideoParamsSchema as dt, ImageAiPluginShape as en, DeadLetterQueueService as er, VideoPluginLayer as et, FlowInputMap as f, OcrParams as fn, OutputTypeDefinition as fr, DescribeVideoMetadata as ft, NodeDefinition as g, CredentialProvider as gn, validateFlowOutput as gr, ImagePluginShape as gt, FlowRequirements as h, OcrTaskType as hn, outputTypeRegistry as hr, ImagePluginLayer as ht, applyFileNaming as i, DocumentPluginShape as in, IMAGE_DESCRIPTION_OUTPUT_TYPE_ID as ir, TrimVideoParams as it, isInitOperation as j, ResolveEffect as jn, DistributedCircuitBreakerRegistry as jr, TransformationType as jt, isFinalizeOperation as k, ExtractLayerService as kn, AllowRequestResult as kr, TransformImageParams as kt, validatePattern as l, DocumentAiPlugin as ln, STREAMING_INPUT_TYPE_ID as lr, resizeVideoParamsSchema as lt, FlowPluginRequirements as m, OcrResult as mn, OutputValidationResult as mr, ImagePlugin as mt, resolveUploadMetadata as n, DocumentPlugin as nn, createDeadLetterQueueService as nr, VideoStreamInput as nt, getBaseName as o, SplitPdfParams as on, OCR_OUTPUT_TYPE_ID as or, TranscodeVideoParams as ot, FlowOutputMap as p, OcrResolution as pn, OutputTypeRegistry as pr, describeVideoMetadataSchema as pt, ZipPluginShape as q, FlowProviderShape as qn, ResizeParams as qt, AVAILABLE_TEMPLATE_VARIABLES as r, DocumentPluginLayer as rn, deadLetterQueueService as rr, VideoStreamOptions as rt, getExtension as s, SplitPdfResult as sn, OcrOutput as sr, transcodeVideoParamsSchema as st, ResolvedUploadMetadata as t, DocumentMetadata as tn, DeadLetterQueueServiceShape as tr, VideoPluginShape as tt, RunArgs as u, DocumentAiPluginLayer as un, imageDescriptionOutputSchema as ur, ExtractFrameVideoParams as ut, TypedFlow as v, CredentialProviderShape as vn, InputTypeRegistry as vr, BrightnessTransform as vt, filterOutputsByType as w, TransformMode as wn, FlowExecutionResult as wr, ResizeTransform as wt, createFlow as x, ParallelSchedulerConfig as xn, validateFlowInput as xr, GrayscaleTransform as xt, TypedFlowConfig as y, ExecutionLevel as yn, InputValidationResult as yr, ContrastTransform as yt, DescribeImageParams as z, FlowQueueService as zn, CircuitBreakerFallback as zr, resizeTransformSchema as zt };
4542
- //# sourceMappingURL=resolve-upload-metadata-D0qFuyWc.d.cts.map
4540
+ //# sourceMappingURL=index-Cwin1ALJ.d.cts.map