@uploadista/core 0.1.4-beta.1 → 1.0.0-beta.2

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 (121) hide show
  1. package/dist/{checksum-_-9dR9Qp.mjs → checksum-BRjFmTRk.mjs} +2 -2
  2. package/dist/{checksum-_-9dR9Qp.mjs.map → checksum-BRjFmTRk.mjs.map} +1 -1
  3. package/dist/checksum-BrjQ8GJL.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 -2
  7. package/dist/errors/index.mjs +1 -1
  8. package/dist/flow/index.cjs +1 -1
  9. package/dist/flow/index.d.cts +3 -2
  10. package/dist/flow/index.d.mts +8 -6
  11. package/dist/flow/index.mjs +1 -1
  12. package/dist/generate-id-BAMRQzMr.d.cts +34 -0
  13. package/dist/generate-id-BAMRQzMr.d.cts.map +1 -0
  14. package/dist/generate-id-DuZwLm4m.d.mts +34 -0
  15. package/dist/generate-id-DuZwLm4m.d.mts.map +1 -0
  16. package/dist/index.cjs +1 -1
  17. package/dist/index.d.cts +8 -5
  18. package/dist/index.d.mts +14 -6
  19. package/dist/index.mjs +1 -1
  20. package/dist/middleware-BlrOGKrp.d.cts +4129 -0
  21. package/dist/middleware-BlrOGKrp.d.cts.map +1 -0
  22. package/dist/middleware-BmRmwme_.d.mts +4129 -0
  23. package/dist/middleware-BmRmwme_.d.mts.map +1 -0
  24. package/dist/resolve-upload-metadata-B2C5e1y1.d.cts +4533 -0
  25. package/dist/resolve-upload-metadata-B2C5e1y1.d.cts.map +1 -0
  26. package/dist/resolve-upload-metadata-DbkBzxm8.d.mts +4533 -0
  27. package/dist/resolve-upload-metadata-DbkBzxm8.d.mts.map +1 -0
  28. package/dist/run-args-C4no7Ny4.cjs +1 -0
  29. package/dist/run-args-CIqI4Zc7.mjs +2 -0
  30. package/dist/run-args-CIqI4Zc7.mjs.map +1 -0
  31. package/dist/{index-CvOB2TdS.d.cts → stream-limiter-7wkBVLWT.d.mts} +2 -2
  32. package/dist/stream-limiter-7wkBVLWT.d.mts.map +1 -0
  33. package/dist/stream-limiter-B-Y0DTgA.cjs +1 -0
  34. package/dist/{stream-limiter-B6AseoKZ.mjs → stream-limiter-CvDuNIyd.mjs} +2 -2
  35. package/dist/{stream-limiter-B6AseoKZ.mjs.map → stream-limiter-CvDuNIyd.mjs.map} +1 -1
  36. package/dist/{index-DI82_KcP.d.mts → stream-limiter-D1KC-6pK.d.cts} +2 -2
  37. package/dist/stream-limiter-D1KC-6pK.d.cts.map +1 -0
  38. package/dist/streams/index.cjs +1 -1
  39. package/dist/streams/index.d.cts +1 -1
  40. package/dist/streams/index.d.mts +2 -2
  41. package/dist/streams/index.mjs +1 -1
  42. package/dist/testing/index.cjs +1 -1
  43. package/dist/testing/index.d.cts +2 -1
  44. package/dist/testing/index.d.cts.map +1 -1
  45. package/dist/testing/index.d.mts +9 -5
  46. package/dist/testing/index.d.mts.map +1 -1
  47. package/dist/testing/index.mjs +1 -1
  48. package/dist/testing/index.mjs.map +1 -1
  49. package/dist/{index-Bg1UKKmY.d.cts → throttle-3FRcr7MU.d.mts} +4 -34
  50. package/dist/throttle-3FRcr7MU.d.mts.map +1 -0
  51. package/dist/{index-rhZqO0Ve.d.mts → throttle-BlH27EGu.d.cts} +4 -34
  52. package/dist/throttle-BlH27EGu.d.cts.map +1 -0
  53. package/dist/throttle-Dp59f37i.cjs +1 -0
  54. package/dist/{utils-Zq5USthu.mjs → throttle-TFY-V41R.mjs} +2 -2
  55. package/dist/throttle-TFY-V41R.mjs.map +1 -0
  56. package/dist/types/index.cjs +1 -1
  57. package/dist/types/index.d.cts +2 -2
  58. package/dist/types/index.d.mts +3 -6
  59. package/dist/types/index.mjs +1 -1
  60. package/dist/upload/index.cjs +1 -1
  61. package/dist/upload/index.d.cts +1 -1
  62. package/dist/upload/index.d.mts +4 -5
  63. package/dist/upload/index.mjs +1 -1
  64. package/dist/upload-strategy-negotiator-5da9ZySO.cjs +1 -0
  65. package/dist/upload-strategy-negotiator-ChKvppnA.mjs +2 -0
  66. package/dist/upload-strategy-negotiator-ChKvppnA.mjs.map +1 -0
  67. package/dist/upload-strategy-negotiator-EmOrc2bn.d.cts +455 -0
  68. package/dist/upload-strategy-negotiator-EmOrc2bn.d.cts.map +1 -0
  69. package/dist/upload-strategy-negotiator-a2O28qPf.d.mts +455 -0
  70. package/dist/upload-strategy-negotiator-a2O28qPf.d.mts.map +1 -0
  71. package/dist/{uploadista-error-BXq-EvVE.cjs → uploadista-error-CZx1JU_L.cjs} +3 -1
  72. package/dist/{uploadista-error-Fsfvr2Bb.mjs → uploadista-error-DQ7V1FlX.mjs} +3 -1
  73. package/dist/uploadista-error-DQ7V1FlX.mjs.map +1 -0
  74. package/dist/{uploadista-error-0FLv15ML.d.mts → uploadista-error-LtiZn-R_.d.mts} +2 -2
  75. package/dist/{uploadista-error-0FLv15ML.d.mts.map → uploadista-error-LtiZn-R_.d.mts.map} +1 -1
  76. package/dist/{uploadista-error-Cj_pAFck.d.cts → uploadista-error-eZtG4iyf.d.cts} +2 -2
  77. package/dist/{uploadista-error-Cj_pAFck.d.cts.map → uploadista-error-eZtG4iyf.d.cts.map} +1 -1
  78. package/dist/utils/index.cjs +1 -1
  79. package/dist/utils/index.d.cts +2 -1
  80. package/dist/utils/index.d.mts +3 -2
  81. package/dist/utils/index.mjs +1 -1
  82. package/dist/websocket-Br0ijEZA.cjs +1 -0
  83. package/dist/websocket-DftnHFfN.mjs +2 -0
  84. package/dist/websocket-DftnHFfN.mjs.map +1 -0
  85. package/package.json +4 -4
  86. package/src/errors/uploadista-error.ts +11 -1
  87. package/src/flow/README.md +115 -0
  88. package/src/flow/flow-engine.ts +34 -2
  89. package/src/flow/flow-queue-store.ts +155 -0
  90. package/src/flow/flow-queue.ts +640 -0
  91. package/src/flow/index.ts +4 -0
  92. package/src/flow/types/flow-queue-item.ts +154 -0
  93. package/src/types/kv-store.ts +31 -1
  94. package/tests/flow-queue-store.test.ts +150 -0
  95. package/tests/flow-queue.test.ts +308 -0
  96. package/dist/checksum-Dsr8Y9VO.cjs +0 -1
  97. package/dist/errors-CRm1FHHT.cjs +0 -0
  98. package/dist/errors-DuxBpAc7.mjs +0 -1
  99. package/dist/flow-BuaQ1Xy_.cjs +0 -1
  100. package/dist/flow-Cl4SIiu3.mjs +0 -2
  101. package/dist/flow-Cl4SIiu3.mjs.map +0 -1
  102. package/dist/index-9iG2qHLe.d.mts +0 -1
  103. package/dist/index-Bg1UKKmY.d.cts.map +0 -1
  104. package/dist/index-CRG_aaqZ.d.cts +0 -8723
  105. package/dist/index-CRG_aaqZ.d.cts.map +0 -1
  106. package/dist/index-CvOB2TdS.d.cts.map +0 -1
  107. package/dist/index-DDRpa5CJ.d.cts +0 -1
  108. package/dist/index-DI82_KcP.d.mts.map +0 -1
  109. package/dist/index-Mz45yFDU.d.mts +0 -8723
  110. package/dist/index-Mz45yFDU.d.mts.map +0 -1
  111. package/dist/index-rhZqO0Ve.d.mts.map +0 -1
  112. package/dist/stream-limiter-DETw0BvJ.cjs +0 -1
  113. package/dist/types-D7yTrueF.cjs +0 -1
  114. package/dist/types-DkF1tvde.mjs +0 -2
  115. package/dist/types-DkF1tvde.mjs.map +0 -1
  116. package/dist/upload--crv1pjP.cjs +0 -1
  117. package/dist/upload-1FHGCe87.mjs +0 -2
  118. package/dist/upload-1FHGCe87.mjs.map +0 -1
  119. package/dist/uploadista-error-Fsfvr2Bb.mjs.map +0 -1
  120. package/dist/utils-D0MpvdVc.cjs +0 -1
  121. package/dist/utils-Zq5USthu.mjs.map +0 -1
package/dist/index.d.mts CHANGED
@@ -1,6 +1,14 @@
1
- import { a as isUploadistaError, i as httpFailure, n as UploadistaError, r as UploadistaErrorCode, t as ERROR_CATALOG } from "./uploadista-error-0FLv15ML.mjs";
2
- import "./index-9iG2qHLe.mjs";
3
- import { $ as VideoPlugin, $a as getNodeData, $i as FlowCircuitBreakerFallback, $n as UploadEngineOptions, $r as DeadLetterItemStatus, $t as ImageAiPluginLayer, A as isImageDescriptionOutput, Aa as FlowEventDlqItemExhausted, Ai as DEFAULT_STREAMING_CONFIG, An as ExtractLayerServices, Ao as CircuitBreakerConfig, Ar as flowEventEmitter, At as Transformation, B as describeImageParamsSchema, Ba as FlowEventJobEnd, Bi as UploadFileDataStoresShape, Bn as FlowEngineOptions, Br as DeadLetterQueueService, Bt as rotateTransformSchema, C as createTypeGuard, Ca as calculateBackoffDelay, Ci as Flow, Cn as StreamingTransformResult, Co as uploadFileSchema, Cr as BaseEventEmitter, Ct as OverlayPosition, D as getSingleOutputByType, Da as EventType, Di as getFlowData, Dn as ExtractEffectError, Do as CircuitBreakerStore, Dr as TypedEventEmitter, Dt as SharpenTransform, E as getOutputByNodeId, Ea as DlqEvent, Ei as createFlowWithSchema, En as createTransformNode, Eo as CircuitBreakerStats, Er as FlowEventEmitter, Et as SepiaTransform, F as isUploadOperation, Fa as FlowEventFlowCancel, Fi as StreamWriteOptions, Fn as createInputNode, Fo as DEFAULT_CIRCUIT_BREAKER_CONFIG, Fr as UploadEvent, Ft as contrastTransformSchema, G as ZipPlugin, Ga as FlowEventNodeResponse, Gi as createFlowEdge, Gn as FlowWaitUntil, Gr as FlowJobStatus, Gt as transformationSchema, H as PluginLayer, Ha as FlowEventNodeEnd, Hi as createDataStoreLayer, Hn as FlowLifecycleHook, Hr as createDeadLetterQueueService, Ht as sharpenTransformSchema, I as isUrlOperation, Ia as FlowEventFlowEnd, Ii as StreamWriteResult, In as inputDataSchema, Ir as UploadEventType, It as flipTransformSchema, J as ScanMetadata, Ja as ConditionField, Ji as BuiltInTypedOutput, Jn as flowEngine, Jr as FlowJobTraceContext, Jt as resizeParamsSchema, K as ZipPluginLayer, Ka as FlowEventNodeResume, Ki as AutoNamingSuffixGenerator, Kn as WaitUntilCallback, Kr as FlowJobTask, Kt as watermarkTransformSchema, L as RemoveBackgroundParams, La as FlowEventFlowError, Li as StreamingConfig, Ln as inputNodeParamsSchema, Lr as uploadEventSchema, Lt as grayscaleTransformSchema, M as isOcrOutput, Ma as FlowEventDlqRetryFailed, Mi as DataStoreCapabilities, Mn as FlowCondition, Mo as CircuitBreakerEventHandler, Mr as WebSocketConnection, Mt as WatermarkTransform, N as isStorageOutput, Na as FlowEventDlqRetryStart, Ni as DataStoreConfig, Nn as InputData, No as CircuitBreakerFallback, Nr as WebSocketMessage, Nt as blurTransformSchema, O as hasOutputOfType, Oa as FlowEvent, Oi as BufferedUploadFileDataStore, On as ExtractEffectRequirements, Oo as CircuitBreakerStoreService, Or as UploadEventEmitter, Ot as TextTransform, P as isUploadFile, Pa as FlowEventDlqRetrySuccess, Pi as DataStoreWriteOptions, Pn as InputNodeParams, Po as CircuitBreakerState, Pr as webSocketMessageSchema, Pt as brightnessTransformSchema, Q as VirusScanPluginShape, Qa as createFlowNode, Qi as FlowCircuitBreakerConfig, Qn as UploadEngine, Qr as DeadLetterItem, Qt as ImageAiPlugin, R as removeBackgroundParamsSchema, Ra as FlowEventFlowPause, Ri as UploadFileDataStore, Rn as FlowEngine, Rr as EventBroadcaster, Rt as logoTransformSchema, S as NarrowedTypedOutput, Sa as RetryPolicy, Si as validateFlowInput, Sn as StreamingTransformFn, So as traceContextSchema, Sr as getHealthResponseFormat, St as LogoTransform, T as getFirstOutputByType, Ta as isErrorRetryable, Ti as FlowExecutionResult, Tn as TransformNodeConfig, To as CircuitBreakerStateValue, Tr as EventEmitter, Tt as RotateTransform, U as ZipInput, Ua as FlowEventNodeError, Ui as isDataStore, Un as FlowProvider, Ur as deadLetterQueueService, Ut as textTransformSchema, V as Plugin, Va as FlowEventJobStart, Vi as UploadStrategy, Vn as FlowEngineShape, Vr as DeadLetterQueueServiceShape, Vt as sepiaTransformSchema, W as ZipParams, Wa as FlowEventNodePause, Wi as FlowEdge, Wn as FlowProviderShape, Wr as FlowJob, Wt as transformImageParamsSchema, X as VirusScanPlugin, Xa as ConditionValue, Xi as FileNamingConfig, Xn as UploadStrategyNegotiator, Xr as DeadLetterCleanupResult, Xt as optimizeParamsSchema, Y as ScanResult, Ya as ConditionOperator, Yi as CustomTypedOutput, Yn as NegotiatedStrategy, Yr as DeadLetterCleanupOptions, Yt as OptimizeParams, Z as VirusScanPluginLayer, Za as NodeType, Zi as FileNamingFunction, Zn as UploadStrategyOptions, Zr as DeadLetterError, Zt as ImageAiContext, _ as NodeDefinitionsRecord, _a as BackoffStrategy, _i as validateFlowOutput, _n as CredentialProviderLayer, _o as uploadFileKvStore, _r as HealthComponents, _t as BlurTransform, a as buildNamingContext, aa as NarrowTypedOutput, ai as IMAGE_DESCRIPTION_OUTPUT_TYPE_ID, an as MergePdfParams, ao as makeMemoryCircuitBreakerStore, ar as Middleware, at as trimVideoParamsSchema, b as TypedFlowEdge, ba as FixedBackoff, bi as InputValidationResult, bn as ParallelScheduler, bo as UploadFileTraceContext, br as HealthStatus, bt as FlipTransform, c as interpolateFileName, ca as NodeTypeMap, ci as OcrOutput, cn as DocumentAiContext, co as BaseKvStoreService, cr as MiddlewareService, ct as ResizeVideoParams, d as runArgsSchema, da as TypedOutputGuard, di as imageDescriptionOutputSchema, dn as DocumentAiPluginShape, do as KvStore, dr as inputFileSchema, dt as extractFrameVideoParamsSchema, ea as FlowConfig, ei as DeadLetterListOptions, en as ImageAiPluginShape, eo as AllowRequestResult, er as UploadEngineShape, et as VideoPluginLayer, f as FlowInputMap, fa as completeNodeExecution, fi as ocrOutputSchema, fn as OcrParams, fo as TypedKvStore, fr as CircuitBreakerHealthSummary, ft as DescribeVideoMetadata, g as NodeDefinition, ga as waitingNodeExecution, gi as outputTypeRegistry, gn as CredentialProvider, go as jsonSerializer, gr as HealthCheckConfig, gt as ImagePluginShape, h as FlowRequirements, ha as isStreamingInputV1, hi as OutputValidationResult, hn as OcrTaskType, ho as flowJobKvStore, hr as DlqHealthSummary, ht as ImagePluginLayer, i as applyFileNaming, ia as NamingContext, ii as DeadLetterRetryAttempt, in as DocumentPluginShape, io as makeKvCircuitBreakerStore, ir as detectMimeType, it as TrimVideoParams, j as isInitOperation, ja as FlowEventDlqItemResolved, ji as DataStore, jn as ResolveEffect, jo as CircuitBreakerEvent, jr as uploadEventEmitter, jt as TransformationType, k as isFinalizeOperation, ka as FlowEventDlqItemAdded, ki as DEFAULT_MULTIPART_PART_SIZE, kn as ExtractLayerService, ko as createInitialCircuitBreakerState, kr as eventToMessageSerializer, kt as TransformImageParams, l as validatePattern, la as TypeCompatibilityChecker, li as STORAGE_OUTPUT_TYPE_ID, ln as DocumentAiPlugin, lo as DeadLetterQueueKVStore, lr as MiddlewareServiceLive, lt as resizeVideoParamsSchema, m as FlowPluginRequirements, ma as isStorageOutputV1, mi as OutputTypeRegistry, mn as OcrResult, mo as deadLetterQueueKvStore, mr as DEFAULT_HEALTH_CHECK_CONFIG, mt as ImagePlugin, n as resolveUploadMetadata, na as FlowNode, ni as DeadLetterQueueStats, nn as DocumentPlugin, no as DistributedCircuitBreakerRegistry, nr as uploadEngine, nt as VideoStreamInput, o as getBaseName, oa as NodeConnectionValidator, oi as ImageDescriptionOutput, on as SplitPdfParams, oo as memoryCircuitBreakerStoreLayer, or as MiddlewareContext, ot as TranscodeVideoParams, p as FlowOutputMap, pa as createOutputGuard, pi as OutputTypeDefinition, pn as OcrResolution, po as UploadFileKVStore, pr as ComponentHealth, pt as describeVideoMetadataSchema, q as ZipPluginShape, qa as FlowEventNodeStart, qi as BuiltInNodeType, qn as createFlowEngine, qr as FlowJobTaskStatus, qt as ResizeParams, r as AVAILABLE_TEMPLATE_VARIABLES, ra as FlowNodeData, ri as DeadLetterRetryAllResult, rn as DocumentPluginLayer, ro as kvCircuitBreakerStoreLayer, rr as compareMimeTypes, rt as VideoStreamOptions, s as getExtension, sa as NodeExecutionResult, si as OCR_OUTPUT_TYPE_ID, sn as SplitPdfResult, so as BaseKvStore, sr as MiddlewareNext, st as transcodeVideoParamsSchema, t as ResolvedUploadMetadata, ta as FlowDeadLetterQueueConfig, ti as DeadLetterProcessResult, tn as DocumentMetadata, to as DistributedCircuitBreaker, tr as createUploadEngine, tt as VideoPluginShape, u as RunArgs, ua as TypedOutput, ui as STREAMING_INPUT_TYPE_ID, un as DocumentAiPluginLayer, uo as FlowJobKVStore, ur as InputFile, ut as ExtractFrameVideoParams, v as TypedFlow, va as DEFAULT_RETRY_POLICY, vi as InputTypeDefinition, vn as CredentialProviderShape, vo as JsonValue, vr as HealthResponse, vt as BrightnessTransform, w as filterOutputsByType, wa as calculateExpirationDate, wi as FlowData, wn as TransformMode, wo as CircuitBreakerStateData, wr as BaseEventEmitterService, wt as ResizeTransform, x as createFlow, xa as ImmediateBackoff, xi as inputTypeRegistry, xn as ParallelSchedulerConfig, xo as jsonValueSchema, xr as formatHealthAsText, xt as GrayscaleTransform, y as TypedFlowConfig, ya as ExponentialBackoff, yi as InputTypeRegistry, yn as ExecutionLevel, yo as UploadFile, yr as HealthResponseFormat, yt as ContrastTransform, z as DescribeImageParams, za as FlowEventFlowStart, zi as UploadFileDataStores, zn as FlowEngineLayer, zr as EventBroadcasterService, zt as resizeTransformSchema } from "./index-Mz45yFDU.mjs";
4
- import { a as Md5, c as isSupportedAlgorithm, d as GenerateIdRandom, f as GenerateIdService, i as once, l as GenerateId, m as GenerateIdTimestamp, n as throttle, o as ChecksumAlgorithm, p as GenerateIdShape, r as OnceEffect, s as computeChecksum, t as ThrottleEffect, u as GenerateIdLive } from "./index-rhZqO0Ve.mjs";
5
- import { n as streamLimiter, t as StreamLimiterEffect } from "./index-DI82_KcP.mjs";
6
- export { AVAILABLE_TEMPLATE_VARIABLES, AllowRequestResult, AutoNamingSuffixGenerator, BackoffStrategy, BaseEventEmitter, BaseEventEmitterService, BaseKvStore, BaseKvStoreService, BlurTransform, BrightnessTransform, BufferedUploadFileDataStore, BuiltInNodeType, BuiltInTypedOutput, ChecksumAlgorithm, CircuitBreakerConfig, CircuitBreakerEvent, CircuitBreakerEventHandler, CircuitBreakerFallback, CircuitBreakerHealthSummary, CircuitBreakerState, CircuitBreakerStateData, CircuitBreakerStateValue, CircuitBreakerStats, CircuitBreakerStore, CircuitBreakerStoreService, ComponentHealth, ConditionField, ConditionOperator, ConditionValue, ContrastTransform, CredentialProvider, CredentialProviderLayer, CredentialProviderShape, CustomTypedOutput, DEFAULT_CIRCUIT_BREAKER_CONFIG, DEFAULT_HEALTH_CHECK_CONFIG, DEFAULT_MULTIPART_PART_SIZE, DEFAULT_RETRY_POLICY, DEFAULT_STREAMING_CONFIG, DataStore, DataStoreCapabilities, DataStoreConfig, DataStoreWriteOptions, DeadLetterCleanupOptions, DeadLetterCleanupResult, DeadLetterError, DeadLetterItem, DeadLetterItemStatus, DeadLetterListOptions, DeadLetterProcessResult, DeadLetterQueueKVStore, DeadLetterQueueService, DeadLetterQueueServiceShape, DeadLetterQueueStats, DeadLetterRetryAllResult, DeadLetterRetryAttempt, DescribeImageParams, DescribeVideoMetadata, DistributedCircuitBreaker, DistributedCircuitBreakerRegistry, DlqEvent, DlqHealthSummary, DocumentAiContext, DocumentAiPlugin, DocumentAiPluginLayer, DocumentAiPluginShape, DocumentMetadata, DocumentPlugin, DocumentPluginLayer, DocumentPluginShape, ERROR_CATALOG as ERRORS, ERROR_CATALOG, EventBroadcaster, EventBroadcasterService, EventEmitter, EventType, ExecutionLevel, ExponentialBackoff, ExtractEffectError, ExtractEffectRequirements, ExtractFrameVideoParams, ExtractLayerService, ExtractLayerServices, FileNamingConfig, FileNamingFunction, FixedBackoff, FlipTransform, Flow, FlowCircuitBreakerConfig, FlowCircuitBreakerFallback, FlowCondition, FlowConfig, FlowData, FlowDeadLetterQueueConfig, FlowEdge, FlowEngine, FlowEngineLayer, FlowEngineOptions, FlowEngineShape, FlowEvent, FlowEventDlqItemAdded, FlowEventDlqItemExhausted, FlowEventDlqItemResolved, FlowEventDlqRetryFailed, FlowEventDlqRetryStart, FlowEventDlqRetrySuccess, FlowEventEmitter, FlowEventFlowCancel, FlowEventFlowEnd, FlowEventFlowError, FlowEventFlowPause, FlowEventFlowStart, FlowEventJobEnd, FlowEventJobStart, FlowEventNodeEnd, FlowEventNodeError, FlowEventNodePause, FlowEventNodeResponse, FlowEventNodeResume, FlowEventNodeStart, FlowExecutionResult, FlowInputMap, FlowJob, FlowJobKVStore, FlowJobStatus, FlowJobTask, FlowJobTaskStatus, FlowJobTraceContext, FlowLifecycleHook, FlowNode, FlowNodeData, FlowOutputMap, FlowPluginRequirements, FlowProvider, FlowProviderShape, FlowRequirements, FlowWaitUntil, GenerateId, GenerateIdLive, GenerateIdRandom, GenerateIdService, GenerateIdShape, GenerateIdTimestamp, GrayscaleTransform, HealthCheckConfig, HealthComponents, HealthResponse, HealthResponseFormat, HealthStatus, IMAGE_DESCRIPTION_OUTPUT_TYPE_ID, ImageAiContext, ImageAiPlugin, ImageAiPluginLayer, ImageAiPluginShape, ImageDescriptionOutput, ImagePlugin, ImagePluginLayer, ImagePluginShape, ImmediateBackoff, InputData, InputFile, InputNodeParams, InputTypeDefinition, InputTypeRegistry, InputValidationResult, JsonValue, KvStore, LogoTransform, Md5, MergePdfParams, Middleware, MiddlewareContext, MiddlewareNext, MiddlewareService, MiddlewareServiceLive, NamingContext, NarrowTypedOutput, NarrowedTypedOutput, NegotiatedStrategy, NodeConnectionValidator, NodeDefinition, NodeDefinitionsRecord, NodeExecutionResult, NodeType, NodeTypeMap, OCR_OUTPUT_TYPE_ID, OcrOutput, OcrParams, OcrResolution, OcrResult, OcrTaskType, OnceEffect, OptimizeParams, OutputTypeDefinition, OutputTypeRegistry, OutputValidationResult, OverlayPosition, ParallelScheduler, ParallelSchedulerConfig, Plugin, PluginLayer, RemoveBackgroundParams, ResizeParams, ResizeTransform, ResizeVideoParams, ResolveEffect, ResolvedUploadMetadata, RetryPolicy, RotateTransform, RunArgs, STORAGE_OUTPUT_TYPE_ID, STREAMING_INPUT_TYPE_ID, ScanMetadata, ScanResult, SepiaTransform, SharpenTransform, SplitPdfParams, SplitPdfResult, StreamLimiterEffect, StreamWriteOptions, StreamWriteResult, StreamingConfig, StreamingTransformFn, StreamingTransformResult, TextTransform, ThrottleEffect, TranscodeVideoParams, TransformImageParams, TransformMode, TransformNodeConfig, Transformation, TransformationType, TrimVideoParams, TypeCompatibilityChecker, TypedEventEmitter, TypedFlow, TypedFlowConfig, TypedFlowEdge, TypedKvStore, TypedOutput, TypedOutputGuard, UploadEngine, UploadEngineOptions, UploadEngineShape, UploadEvent, UploadEventEmitter, UploadEventType, UploadFile, UploadFileDataStore, UploadFileDataStores, UploadFileDataStoresShape, UploadFileKVStore, UploadFileTraceContext, UploadStrategy, UploadStrategyNegotiator, UploadStrategyOptions, UploadistaError, UploadistaErrorCode, VideoPlugin, VideoPluginLayer, VideoPluginShape, VideoStreamInput, VideoStreamOptions, VirusScanPlugin, VirusScanPluginLayer, VirusScanPluginShape, WaitUntilCallback, WatermarkTransform, WebSocketConnection, WebSocketMessage, ZipInput, ZipParams, ZipPlugin, ZipPluginLayer, ZipPluginShape, applyFileNaming, blurTransformSchema, brightnessTransformSchema, buildNamingContext, calculateBackoffDelay, calculateExpirationDate, compareMimeTypes, completeNodeExecution, computeChecksum, contrastTransformSchema, createDataStoreLayer, createDeadLetterQueueService, createFlow, createFlowEdge, createFlowEngine, createFlowNode, createFlowWithSchema, createInitialCircuitBreakerState, createInputNode, createOutputGuard, createTransformNode, createTypeGuard, createUploadEngine, deadLetterQueueKvStore, deadLetterQueueService, describeImageParamsSchema, describeVideoMetadataSchema, detectMimeType, eventToMessageSerializer, extractFrameVideoParamsSchema, filterOutputsByType, flipTransformSchema, flowEngine, flowEventEmitter, flowJobKvStore, formatHealthAsText, getBaseName, getExtension, getFirstOutputByType, getFlowData, getHealthResponseFormat, getNodeData, getOutputByNodeId, getSingleOutputByType, grayscaleTransformSchema, hasOutputOfType, httpFailure, imageDescriptionOutputSchema, inputDataSchema, inputFileSchema, inputNodeParamsSchema, inputTypeRegistry, interpolateFileName, isDataStore, isErrorRetryable, isFinalizeOperation, isImageDescriptionOutput, isInitOperation, isOcrOutput, isStorageOutput, isStorageOutputV1, isStreamingInputV1, isSupportedAlgorithm, isUploadFile, isUploadOperation, isUploadistaError, isUrlOperation, jsonSerializer, jsonValueSchema, kvCircuitBreakerStoreLayer, logoTransformSchema, makeKvCircuitBreakerStore, makeMemoryCircuitBreakerStore, memoryCircuitBreakerStoreLayer, ocrOutputSchema, once, optimizeParamsSchema, outputTypeRegistry, removeBackgroundParamsSchema, resizeParamsSchema, resizeTransformSchema, resizeVideoParamsSchema, resolveUploadMetadata, rotateTransformSchema, runArgsSchema, sepiaTransformSchema, sharpenTransformSchema, streamLimiter, textTransformSchema, throttle, traceContextSchema, transcodeVideoParamsSchema, transformImageParamsSchema, transformationSchema, trimVideoParamsSchema, uploadEngine, uploadEventEmitter, uploadEventSchema, uploadFileKvStore, uploadFileSchema, validateFlowInput, validateFlowOutput, validatePattern, waitingNodeExecution, watermarkTransformSchema, webSocketMessageSchema };
1
+ import { a as isUploadistaError, i as httpFailure, n as UploadistaError, r as UploadistaErrorCode, t as ERROR_CATALOG } from "./uploadista-error-LtiZn-R_.mjs";
2
+ import "./errors/index.mjs";
3
+ import { $ as VideoPlugin, $n as MemoryFlowQueueStore, $t as ImageAiPluginLayer, A as isImageDescriptionOutput, An as ExtractLayerServices, Ar as DistributedCircuitBreaker, At as Transformation, B as describeImageParamsSchema, Bn as FlowQueueServiceShape, Br as CircuitBreakerState, Bt as rotateTransformSchema, C as createTypeGuard, Cn as StreamingTransformResult, Cr as FlowData, Ct as OverlayPosition, D as getSingleOutputByType, Dn as ExtractEffectError, Dr as FlowEdge, Dt as SharpenTransform, E as getOutputByNodeId, En as createTransformNode, Er as getFlowData, Et as SepiaTransform, F as isUploadOperation, Fn as createInputNode, Fr as memoryCircuitBreakerStoreLayer, Ft as contrastTransformSchema, G as ZipPlugin, Gn as FlowLifecycleHook, Gt as transformationSchema, H as PluginLayer, Hn as FlowEngineLayer, Ht as sharpenTransformSchema, I as isUrlOperation, In as inputDataSchema, Ir as CircuitBreakerConfig, It as flipTransformSchema, J as ScanMetadata, Jn as FlowWaitUntil, Jt as resizeParamsSchema, K as ZipPluginLayer, Kn as FlowProvider, Kt as watermarkTransformSchema, L as RemoveBackgroundParams, Ln as inputNodeParamsSchema, Lr as CircuitBreakerEvent, Lt as grayscaleTransformSchema, M as isOcrOutput, Mn as FlowCondition, Mr as kvCircuitBreakerStoreLayer, Mt as WatermarkTransform, N as isStorageOutput, Nn as InputData, Nr as makeKvCircuitBreakerStore, Nt as blurTransformSchema, O as hasOutputOfType, On as ExtractEffectRequirements, Or as createFlowEdge, Ot as TextTransform, P as isUploadFile, Pn as InputNodeParams, Pr as makeMemoryCircuitBreakerStore, Pt as brightnessTransformSchema, Q as VirusScanPluginShape, Qn as FlowQueueStore, Qt as ImageAiPlugin, R as removeBackgroundParamsSchema, Rn as FlowQueueDispatchMarker, Rr as CircuitBreakerEventHandler, Rt as logoTransformSchema, S as NarrowedTypedOutput, Sn as StreamingTransformFn, Sr as Flow, St as LogoTransform, T as getFirstOutputByType, Tn as TransformNodeConfig, Tr as createFlowWithSchema, Tt as RotateTransform, U as ZipInput, Un as FlowEngineOptions, Ut as textTransformSchema, V as Plugin, Vn as FlowEngine, Vr as DEFAULT_CIRCUIT_BREAKER_CONFIG, Vt as sepiaTransformSchema, W as ZipParams, Wn as FlowEngineShape, Wt as transformImageParamsSchema, X as VirusScanPlugin, Xn as createFlowEngine, Xt as optimizeParamsSchema, Y as ScanResult, Yn as WaitUntilCallback, Yt as OptimizeParams, Z as VirusScanPluginLayer, Zn as flowEngine, Zt as ImageAiContext, _ as NodeDefinitionsRecord, _n as CredentialProviderLayer, _r as InputTypeDefinition, _t as BlurTransform, a as buildNamingContext, an as MergePdfParams, ar as ImageDescriptionOutput, at as trimVideoParamsSchema, b as TypedFlowEdge, bn as ParallelScheduler, br as inputTypeRegistry, bt as FlipTransform, c as interpolateFileName, cn as DocumentAiContext, cr as STORAGE_OUTPUT_TYPE_ID, ct as ResizeVideoParams, d as runArgsSchema, dn as DocumentAiPluginShape, dr as ocrOutputSchema, dt as extractFrameVideoParamsSchema, en as ImageAiPluginShape, er as DeadLetterQueueService, et as VideoPluginLayer, f as FlowInputMap, fn as OcrParams, fr as OutputTypeDefinition, ft as DescribeVideoMetadata, g as NodeDefinition, gn as CredentialProvider, gr as validateFlowOutput, gt as ImagePluginShape, h as FlowRequirements, hn as OcrTaskType, hr as outputTypeRegistry, ht as ImagePluginLayer, i as applyFileNaming, in as DocumentPluginShape, ir as IMAGE_DESCRIPTION_OUTPUT_TYPE_ID, it as TrimVideoParams, j as isInitOperation, jn as ResolveEffect, jr as DistributedCircuitBreakerRegistry, jt as TransformationType, k as isFinalizeOperation, kn as ExtractLayerService, kr as AllowRequestResult, kt as TransformImageParams, l as validatePattern, ln as DocumentAiPlugin, lr as STREAMING_INPUT_TYPE_ID, lt as resizeVideoParamsSchema, m as FlowPluginRequirements, mn as OcrResult, mr as OutputValidationResult, mt as ImagePlugin, n as resolveUploadMetadata, nn as DocumentPlugin, nr as createDeadLetterQueueService, nt as VideoStreamInput, o as getBaseName, on as SplitPdfParams, or as OCR_OUTPUT_TYPE_ID, ot as TranscodeVideoParams, p as FlowOutputMap, pn as OcrResolution, pr as OutputTypeRegistry, pt as describeVideoMetadataSchema, q as ZipPluginShape, qn as FlowProviderShape, qt as ResizeParams, r as AVAILABLE_TEMPLATE_VARIABLES, rn as DocumentPluginLayer, rr as deadLetterQueueService, rt as VideoStreamOptions, s as getExtension, sn as SplitPdfResult, sr as OcrOutput, st as transcodeVideoParamsSchema, t as ResolvedUploadMetadata, tn as DocumentMetadata, tr as DeadLetterQueueServiceShape, tt as VideoPluginShape, u as RunArgs, un as DocumentAiPluginLayer, ur as imageDescriptionOutputSchema, ut as ExtractFrameVideoParams, v as TypedFlow, vn as CredentialProviderShape, vr as InputTypeRegistry, vt as BrightnessTransform, w as filterOutputsByType, wn as TransformMode, wr as FlowExecutionResult, wt as ResizeTransform, x as createFlow, xn as ParallelSchedulerConfig, xr as validateFlowInput, xt as GrayscaleTransform, y as TypedFlowConfig, yn as ExecutionLevel, yr as InputValidationResult, yt as ContrastTransform, z as DescribeImageParams, zn as FlowQueueService, zr as CircuitBreakerFallback, zt as resizeTransformSchema } from "./resolve-upload-metadata-DbkBzxm8.mjs";
4
+ import { $ as BaseKvStoreService, $t as calculateBackoffDelay, A as webSocketMessageSchema, An as JsonValue, At as FlowDeadLetterQueueConfig, B as DataStoreCapabilities, Bn as DeadLetterItemStatus, Bt as TypedOutput, C as TypedEventEmitter, Cn as FlowEventNodeStart, Ct as BuiltInTypedOutput, D as uploadEventEmitter, Dn as NodeType, Dt as FlowCircuitBreakerConfig, E as flowEventEmitter, En as ConditionValue, Et as FileNamingFunction, F as EventBroadcasterService, Fn as uploadFileSchema, Ft as NarrowTypedOutput, G as StreamingConfig, Gn as DeadLetterRetryAttempt, Gt as isStreamingInputV1, H as DataStoreWriteOptions, Hn as DeadLetterProcessResult, Ht as completeNodeExecution, I as BufferedUploadFileDataStore, In as DeadLetterCleanupOptions, It as NodeConnectionValidator, J as UploadFileDataStoresShape, Jn as CircuitBreakerStats, Jt as DEFAULT_RETRY_POLICY, K as UploadFileDataStore, Kn as CircuitBreakerStateData, Kt as waitingNodeExecution, L as DEFAULT_MULTIPART_PART_SIZE, Ln as DeadLetterCleanupResult, Lt as NodeExecutionResult, M as UploadEventType, Mn as UploadFileTraceContext, Mt as FlowNode, N as uploadEventSchema, Nn as jsonValueSchema, Nt as FlowNodeData, O as WebSocketConnection, On as createFlowNode, Ot as FlowCircuitBreakerFallback, P as EventBroadcaster, Pn as traceContextSchema, Pt as NamingContext, Q as BaseKvStore, Qt as RetryPolicy, R as DEFAULT_STREAMING_CONFIG, Rn as DeadLetterError, Rt as NodeTypeMap, S as FlowEventEmitter, Sn as FlowEventNodeResume, St as BuiltInNodeType, T as eventToMessageSerializer, Tn as ConditionOperator, Tt as FileNamingConfig, U as StreamWriteOptions, Un as DeadLetterQueueStats, Ut as createOutputGuard, V as DataStoreConfig, Vn as DeadLetterListOptions, Vt as TypedOutputGuard, W as StreamWriteResult, Wn as DeadLetterRetryAllResult, Wt as isStorageOutputV1, X as createDataStoreLayer, Xn as CircuitBreakerStoreService, Xt as FixedBackoff, Y as UploadStrategy, Yn as CircuitBreakerStore, Yt as ExponentialBackoff, Z as isDataStore, Zn as createInitialCircuitBreakerState, Zt as ImmediateBackoff, _ as formatHealthAsText, _n as FlowEventJobStart, _t as FlowJobStatus, a as MiddlewareServiceLive, an as FlowEventDlqItemAdded, at as UploadFileKVStore, b as BaseEventEmitterService, bn as FlowEventNodePause, bt as FlowJobTraceContext, c as CircuitBreakerHealthSummary, cn as FlowEventDlqRetryFailed, ct as flowQueueKvStore, d as DlqHealthSummary, dn as FlowEventFlowCancel, dt as DEFAULT_QUEUE_CONFIG, en as calculateExpirationDate, et as DeadLetterQueueKVStore, f as HealthCheckConfig, fn as FlowEventFlowEnd, ft as FlowQueueConfig, g as HealthStatus, gn as FlowEventJobEnd, gt as FlowJob, h as HealthResponseFormat, hn as FlowEventFlowStart, ht as FlowQueueStats, i as MiddlewareService, in as FlowEvent, it as TypedKvStore, j as UploadEvent, jn as UploadFile, k as WebSocketMessage, kn as getNodeData, kt as FlowConfig, l as ComponentHealth, ln as FlowEventDlqRetryStart, lt as jsonSerializer, m as HealthResponse, mn as FlowEventFlowPause, mt as FlowQueueItemStatus, n as MiddlewareContext, nn as DlqEvent, nt as FlowQueueKVStore, o as InputFile, on as FlowEventDlqItemExhausted, ot as deadLetterQueueKvStore, p as HealthComponents, pn as FlowEventFlowError, pt as FlowQueueItem, q as UploadFileDataStores, qn as CircuitBreakerStateValue, qt as BackoffStrategy, r as MiddlewareNext, rn as EventType, rt as KvStore, s as inputFileSchema, sn as FlowEventDlqItemResolved, st as flowJobKvStore, t as Middleware, tn as isErrorRetryable, tt as FlowJobKVStore, u as DEFAULT_HEALTH_CHECK_CONFIG, un as FlowEventDlqRetrySuccess, ut as uploadFileKvStore, v as getHealthResponseFormat, vn as FlowEventNodeEnd, vt as FlowJobTask, w as UploadEventEmitter, wn as ConditionField, wt as CustomTypedOutput, x as EventEmitter, xn as FlowEventNodeResponse, xt as AutoNamingSuffixGenerator, y as BaseEventEmitter, yn as FlowEventNodeError, yt as FlowJobTaskStatus, z as DataStore, zn as DeadLetterItem, zt as TypeCompatibilityChecker } from "./middleware-BmRmwme_.mjs";
5
+ import "./types/index.mjs";
6
+ import { a as UploadEngineOptions, c as uploadEngine, i as UploadEngine, l as compareMimeTypes, n as UploadStrategyNegotiator, o as UploadEngineShape, r as UploadStrategyOptions, s as createUploadEngine, t as NegotiatedStrategy, u as detectMimeType } from "./upload-strategy-negotiator-a2O28qPf.mjs";
7
+ import { a as GenerateIdShape, i as GenerateIdService, n as GenerateIdLive, o as GenerateIdTimestamp, r as GenerateIdRandom, t as GenerateId } from "./generate-id-DuZwLm4m.mjs";
8
+ import "./upload/index.mjs";
9
+ import { n as streamLimiter, t as StreamLimiterEffect } from "./stream-limiter-7wkBVLWT.mjs";
10
+ import "./streams/index.mjs";
11
+ import { a as Md5, c as isSupportedAlgorithm, i as once, n as throttle, o as ChecksumAlgorithm, r as OnceEffect, s as computeChecksum, t as ThrottleEffect } from "./throttle-3FRcr7MU.mjs";
12
+ import "./utils/index.mjs";
13
+ import "./flow/index.mjs";
14
+ export { AVAILABLE_TEMPLATE_VARIABLES, AllowRequestResult, AutoNamingSuffixGenerator, BackoffStrategy, BaseEventEmitter, BaseEventEmitterService, BaseKvStore, BaseKvStoreService, BlurTransform, BrightnessTransform, BufferedUploadFileDataStore, BuiltInNodeType, BuiltInTypedOutput, ChecksumAlgorithm, CircuitBreakerConfig, CircuitBreakerEvent, CircuitBreakerEventHandler, CircuitBreakerFallback, CircuitBreakerHealthSummary, CircuitBreakerState, CircuitBreakerStateData, CircuitBreakerStateValue, CircuitBreakerStats, CircuitBreakerStore, CircuitBreakerStoreService, ComponentHealth, ConditionField, ConditionOperator, ConditionValue, ContrastTransform, CredentialProvider, CredentialProviderLayer, CredentialProviderShape, CustomTypedOutput, DEFAULT_CIRCUIT_BREAKER_CONFIG, DEFAULT_HEALTH_CHECK_CONFIG, DEFAULT_MULTIPART_PART_SIZE, DEFAULT_QUEUE_CONFIG, DEFAULT_RETRY_POLICY, DEFAULT_STREAMING_CONFIG, DataStore, DataStoreCapabilities, DataStoreConfig, DataStoreWriteOptions, DeadLetterCleanupOptions, DeadLetterCleanupResult, DeadLetterError, DeadLetterItem, DeadLetterItemStatus, DeadLetterListOptions, DeadLetterProcessResult, DeadLetterQueueKVStore, DeadLetterQueueService, DeadLetterQueueServiceShape, DeadLetterQueueStats, DeadLetterRetryAllResult, DeadLetterRetryAttempt, DescribeImageParams, DescribeVideoMetadata, DistributedCircuitBreaker, DistributedCircuitBreakerRegistry, DlqEvent, DlqHealthSummary, DocumentAiContext, DocumentAiPlugin, DocumentAiPluginLayer, DocumentAiPluginShape, DocumentMetadata, DocumentPlugin, DocumentPluginLayer, DocumentPluginShape, ERROR_CATALOG as ERRORS, ERROR_CATALOG, EventBroadcaster, EventBroadcasterService, EventEmitter, EventType, ExecutionLevel, ExponentialBackoff, ExtractEffectError, ExtractEffectRequirements, ExtractFrameVideoParams, ExtractLayerService, ExtractLayerServices, FileNamingConfig, FileNamingFunction, FixedBackoff, FlipTransform, Flow, FlowCircuitBreakerConfig, FlowCircuitBreakerFallback, FlowCondition, FlowConfig, FlowData, FlowDeadLetterQueueConfig, FlowEdge, FlowEngine, FlowEngineLayer, FlowEngineOptions, FlowEngineShape, FlowEvent, FlowEventDlqItemAdded, FlowEventDlqItemExhausted, FlowEventDlqItemResolved, FlowEventDlqRetryFailed, FlowEventDlqRetryStart, FlowEventDlqRetrySuccess, FlowEventEmitter, FlowEventFlowCancel, FlowEventFlowEnd, FlowEventFlowError, FlowEventFlowPause, FlowEventFlowStart, FlowEventJobEnd, FlowEventJobStart, FlowEventNodeEnd, FlowEventNodeError, FlowEventNodePause, FlowEventNodeResponse, FlowEventNodeResume, FlowEventNodeStart, FlowExecutionResult, FlowInputMap, FlowJob, FlowJobKVStore, FlowJobStatus, FlowJobTask, FlowJobTaskStatus, FlowJobTraceContext, FlowLifecycleHook, FlowNode, FlowNodeData, FlowOutputMap, FlowPluginRequirements, FlowProvider, FlowProviderShape, FlowQueueConfig, FlowQueueDispatchMarker, FlowQueueItem, FlowQueueItemStatus, FlowQueueKVStore, FlowQueueService, FlowQueueServiceShape, FlowQueueStats, FlowQueueStore, FlowRequirements, FlowWaitUntil, GenerateId, GenerateIdLive, GenerateIdRandom, GenerateIdService, GenerateIdShape, GenerateIdTimestamp, GrayscaleTransform, HealthCheckConfig, HealthComponents, HealthResponse, HealthResponseFormat, HealthStatus, IMAGE_DESCRIPTION_OUTPUT_TYPE_ID, ImageAiContext, ImageAiPlugin, ImageAiPluginLayer, ImageAiPluginShape, ImageDescriptionOutput, ImagePlugin, ImagePluginLayer, ImagePluginShape, ImmediateBackoff, InputData, InputFile, InputNodeParams, InputTypeDefinition, InputTypeRegistry, InputValidationResult, JsonValue, KvStore, LogoTransform, Md5, MemoryFlowQueueStore, MergePdfParams, Middleware, MiddlewareContext, MiddlewareNext, MiddlewareService, MiddlewareServiceLive, NamingContext, NarrowTypedOutput, NarrowedTypedOutput, NegotiatedStrategy, NodeConnectionValidator, NodeDefinition, NodeDefinitionsRecord, NodeExecutionResult, NodeType, NodeTypeMap, OCR_OUTPUT_TYPE_ID, OcrOutput, OcrParams, OcrResolution, OcrResult, OcrTaskType, OnceEffect, OptimizeParams, OutputTypeDefinition, OutputTypeRegistry, OutputValidationResult, OverlayPosition, ParallelScheduler, ParallelSchedulerConfig, Plugin, PluginLayer, RemoveBackgroundParams, ResizeParams, ResizeTransform, ResizeVideoParams, ResolveEffect, ResolvedUploadMetadata, RetryPolicy, RotateTransform, RunArgs, STORAGE_OUTPUT_TYPE_ID, STREAMING_INPUT_TYPE_ID, ScanMetadata, ScanResult, SepiaTransform, SharpenTransform, SplitPdfParams, SplitPdfResult, StreamLimiterEffect, StreamWriteOptions, StreamWriteResult, StreamingConfig, StreamingTransformFn, StreamingTransformResult, TextTransform, ThrottleEffect, TranscodeVideoParams, TransformImageParams, TransformMode, TransformNodeConfig, Transformation, TransformationType, TrimVideoParams, TypeCompatibilityChecker, TypedEventEmitter, TypedFlow, TypedFlowConfig, TypedFlowEdge, TypedKvStore, TypedOutput, TypedOutputGuard, UploadEngine, UploadEngineOptions, UploadEngineShape, UploadEvent, UploadEventEmitter, UploadEventType, UploadFile, UploadFileDataStore, UploadFileDataStores, UploadFileDataStoresShape, UploadFileKVStore, UploadFileTraceContext, UploadStrategy, UploadStrategyNegotiator, UploadStrategyOptions, UploadistaError, UploadistaErrorCode, VideoPlugin, VideoPluginLayer, VideoPluginShape, VideoStreamInput, VideoStreamOptions, VirusScanPlugin, VirusScanPluginLayer, VirusScanPluginShape, WaitUntilCallback, WatermarkTransform, WebSocketConnection, WebSocketMessage, ZipInput, ZipParams, ZipPlugin, ZipPluginLayer, ZipPluginShape, applyFileNaming, blurTransformSchema, brightnessTransformSchema, buildNamingContext, calculateBackoffDelay, calculateExpirationDate, compareMimeTypes, completeNodeExecution, computeChecksum, contrastTransformSchema, createDataStoreLayer, createDeadLetterQueueService, createFlow, createFlowEdge, createFlowEngine, createFlowNode, createFlowWithSchema, createInitialCircuitBreakerState, createInputNode, createOutputGuard, createTransformNode, createTypeGuard, createUploadEngine, deadLetterQueueKvStore, deadLetterQueueService, describeImageParamsSchema, describeVideoMetadataSchema, detectMimeType, eventToMessageSerializer, extractFrameVideoParamsSchema, filterOutputsByType, flipTransformSchema, flowEngine, flowEventEmitter, flowJobKvStore, flowQueueKvStore, formatHealthAsText, getBaseName, getExtension, getFirstOutputByType, getFlowData, getHealthResponseFormat, getNodeData, getOutputByNodeId, getSingleOutputByType, grayscaleTransformSchema, hasOutputOfType, httpFailure, imageDescriptionOutputSchema, inputDataSchema, inputFileSchema, inputNodeParamsSchema, inputTypeRegistry, interpolateFileName, isDataStore, isErrorRetryable, isFinalizeOperation, isImageDescriptionOutput, isInitOperation, isOcrOutput, isStorageOutput, isStorageOutputV1, isStreamingInputV1, isSupportedAlgorithm, isUploadFile, isUploadOperation, isUploadistaError, isUrlOperation, jsonSerializer, jsonValueSchema, kvCircuitBreakerStoreLayer, logoTransformSchema, makeKvCircuitBreakerStore, makeMemoryCircuitBreakerStore, memoryCircuitBreakerStoreLayer, ocrOutputSchema, once, optimizeParamsSchema, outputTypeRegistry, removeBackgroundParamsSchema, resizeParamsSchema, resizeTransformSchema, resizeVideoParamsSchema, resolveUploadMetadata, rotateTransformSchema, runArgsSchema, sepiaTransformSchema, sharpenTransformSchema, streamLimiter, textTransformSchema, throttle, traceContextSchema, transcodeVideoParamsSchema, transformImageParamsSchema, transformationSchema, trimVideoParamsSchema, uploadEngine, uploadEventEmitter, uploadEventSchema, uploadFileKvStore, uploadFileSchema, validateFlowInput, validateFlowOutput, validatePattern, waitingNodeExecution, watermarkTransformSchema, webSocketMessageSchema };
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- import{i as ee,n as te,r as e,t}from"./uploadista-error-Fsfvr2Bb.mjs";import"./errors-DuxBpAc7.mjs";import{$ as n,A as r,At as i,B as a,Bt as o,C as s,Ct as c,D as l,Dt as u,E as d,Et as f,F as p,Ft as m,G as h,Gt as g,H as _,Ht as v,I as y,It as b,J as x,Jt as S,K as C,Kt as w,L as T,Lt as E,M as D,Mt as O,N as k,Nt as A,O as j,Ot as M,P as N,Pt as P,Q as F,R as I,Rt as L,S as R,St as z,T as B,Tt as V,U as H,Ut as U,V as W,Vt as G,W as K,Wt as q,X as J,Xt as Y,Y as X,Yt as Z,Z as Q,_ as ne,_t as re,a as ie,at as ae,b as oe,bt as se,c as ce,ct as le,d as ue,dt as de,et as fe,f as pe,ft as me,g as he,gt as ge,h as _e,ht as ve,i as ye,it as be,j as xe,jt as Se,k as Ce,kt as we,l as Te,lt as Ee,m as De,mt as Oe,n as ke,nt as Ae,o as je,ot as Me,p as Ne,pt as Pe,q as $,qt as Fe,r as Ie,rt as Le,s as Re,st as ze,t as Be,tt as Ve,u as He,ut as Ue,v as We,vt as Ge,w as Ke,wt as qe,x as Je,xt as Ye,y as Xe,yt as Ze,z as Qe,zt as $e}from"./flow-Cl4SIiu3.mjs";import{A as et,C as tt,D as nt,E as rt,F as it,I as at,L as ot,M as st,N as ct,O as lt,P as ut,R as dt,S as ft,T as pt,_ as mt,a as ht,b as gt,c as _t,d as vt,f as yt,g as bt,h as xt,i as St,j as Ct,k as wt,l as Tt,m as Et,n as Dt,o as Ot,p as kt,r as At,s as jt,t as Mt,u as Nt,v as Pt,w as Ft,x as It,y as Lt}from"./types-DkF1tvde.mjs";import{c as Rt,i as zt,n as Bt,r as Vt,s as Ht,t as Ut}from"./upload-1FHGCe87.mjs";import{a as Wt,i as Gt,n as Kt,o as qt,r as Jt,s as Yt,t as Xt}from"./checksum-_-9dR9Qp.mjs";import{n as Zt,t as Qt}from"./stream-limiter-B6AseoKZ.mjs";import"./streams/index.mjs";import{a as $t,i as en,n as tn,r as nn,t as rn}from"./utils-Zq5USthu.mjs";export{p as AVAILABLE_TEMPLATE_VARIABLES,Nt as BaseEventEmitterService,lt as BaseKvStoreService,Pt as BufferedUploadFileDataStore,ot as CircuitBreakerStoreService,k as CredentialProvider,Y as DEFAULT_CIRCUIT_BREAKER_CONFIG,jt as DEFAULT_HEALTH_CHECK_CONFIG,Lt as DEFAULT_MULTIPART_PART_SIZE,Oe as DEFAULT_RETRY_POLICY,gt as DEFAULT_STREAMING_CONFIG,wt as DeadLetterQueueKVStore,de as DeadLetterQueueService,q as DistributedCircuitBreaker,g as DistributedCircuitBreakerRegistry,D as DocumentAiPlugin,xe as DocumentPlugin,t as ERRORS,t as ERROR_CATALOG,mt as EventBroadcasterService,v as EventType,_ as FlowEngine,vt as FlowEventEmitter,et as FlowJobKVStore,H as FlowLifecycleHook,K as FlowProvider,h as FlowWaitUntil,Jt as GenerateId,Gt as GenerateIdLive,Wt as GenerateIdRandom,qt as GenerateIdService,Yt as GenerateIdTimestamp,Ge as IMAGE_DESCRIPTION_OUTPUT_TYPE_ID,r as ImageAiPlugin,Ce as ImagePlugin,$e as InputTypeRegistry,$t as Md5,St as MiddlewareService,ht as MiddlewareServiceLive,A as NodeType,Ze as OCR_OUTPUT_TYPE_ID,nn as OnceEffect,b as OutputTypeRegistry,Ue as ParallelScheduler,se as STORAGE_OUTPUT_TYPE_ID,Ye as STREAMING_INPUT_TYPE_ID,Qt as StreamLimiterEffect,rn as ThrottleEffect,yt as TypedEventEmitter,Ct as TypedKvStore,Bt as UploadEngine,kt as UploadEventEmitter,Dt as UploadEventType,It as UploadFileDataStore,ft as UploadFileDataStores,st as UploadFileKVStore,Ut as UploadStrategyNegotiator,te as UploadistaError,ie as VideoPlugin,ye as VirusScanPlugin,Ie as ZipPlugin,y as applyFileNaming,Re as blurTransformSchema,ce as brightnessTransformSchema,T as buildNamingContext,ve as calculateBackoffDelay,ge as calculateExpirationDate,Ht as compareMimeTypes,M as completeNodeExecution,Xt as computeChecksum,Te as contrastTransformSchema,tt as createDataStoreLayer,me as createDeadLetterQueueService,ke as createFlow,U as createFlowEdge,C as createFlowEngine,P as createFlowNode,x as createFlowWithSchema,dt as createInitialCircuitBreakerState,qe as createInputNode,we as createOutputGuard,N as createTransformNode,J as createTypeGuard,Vt as createUploadEngine,ct as deadLetterQueueKvStore,Pe as deadLetterQueueService,j as describeImageParamsSchema,l as describeVideoMetadataSchema,Rt as detectMimeType,Et as eventToMessageSerializer,d as extractFrameVideoParamsSchema,Q as filterOutputsByType,He as flipTransformSchema,$ as flowEngine,xt as flowEventEmitter,ut as flowJobKvStore,_t as formatHealthAsText,I as getBaseName,Qe as getExtension,F as getFirstOutputByType,X as getFlowData,Tt as getHealthResponseFormat,m as getNodeData,n as getOutputByNodeId,fe as getSingleOutputByType,ue as grayscaleTransformSchema,Ve as hasOutputOfType,e as httpFailure,z as imageDescriptionOutputSchema,V as inputDataSchema,Ot as inputFileSchema,f as inputNodeParamsSchema,o as inputTypeRegistry,a as interpolateFileName,Ft as isDataStore,re as isErrorRetryable,Ae as isFinalizeOperation,Le as isImageDescriptionOutput,be as isInitOperation,ae as isOcrOutput,Me as isStorageOutput,i as isStorageOutputV1,Se as isStreamingInputV1,Kt as isSupportedAlgorithm,ze as isUploadFile,le as isUploadOperation,ee as isUploadistaError,Ee as isUrlOperation,it as jsonSerializer,pt as jsonValueSchema,w as kvCircuitBreakerStoreLayer,pe as logoTransformSchema,Fe as makeKvCircuitBreakerStore,S as makeMemoryCircuitBreakerStore,Z as memoryCircuitBreakerStoreLayer,c as ocrOutputSchema,en as once,B as optimizeParamsSchema,E as outputTypeRegistry,Ke as removeBackgroundParamsSchema,s as resizeParamsSchema,Ne as resizeTransformSchema,R as resizeVideoParamsSchema,u as resolveUploadMetadata,De as rotateTransformSchema,Be as runArgsSchema,_e as sepiaTransformSchema,he as sharpenTransformSchema,Zt as streamLimiter,ne as textTransformSchema,tn as throttle,rt as traceContextSchema,Je as transcodeVideoParamsSchema,We as transformImageParamsSchema,Xe as transformationSchema,je as trimVideoParamsSchema,zt as uploadEngine,bt as uploadEventEmitter,At as uploadEventSchema,at as uploadFileKvStore,nt as uploadFileSchema,G as validateFlowInput,L as validateFlowOutput,W as validatePattern,O as waitingNodeExecution,oe as watermarkTransformSchema,Mt as webSocketMessageSchema};
1
+ import{i as ee,n as te,r as e,t}from"./uploadista-error-DQ7V1FlX.mjs";import"./errors/index.mjs";import{$ as n,$t as r,A as i,At as a,B as o,Bt as s,C as c,Ct as l,D as u,Dt as d,E as f,Et as p,F as m,Ft as h,G as g,Gt as _,H as v,Ht as y,I as b,It as x,J as S,Jt as C,K as w,Kt as T,L as E,Lt as D,M as O,Mt as k,N as A,Nt as j,O as M,Ot as N,P,Pt as F,Q as I,Qt as L,R,Rt as z,S as B,St as V,T as H,Tt as U,U as W,Ut as G,V as K,Vt as q,W as J,Wt as Y,X,Xt as Z,Y as Q,Yt as ne,Z as re,Zt as ie,_ as ae,_t as oe,a as se,at as ce,b as le,bt as ue,c as de,ct as fe,d as pe,dt as me,en as he,et as ge,f as _e,ft as ve,g as ye,gt as be,h as xe,ht as Se,i as Ce,it as we,j as Te,jt as Ee,k as De,kt as Oe,l as ke,lt as Ae,m as je,mt as Me,n as Ne,nt as Pe,o as Fe,ot as Ie,p as Le,pt as Re,q as $,qt as ze,r as Be,rt as Ve,s as He,st as Ue,t as We,tt as Ge,u as Ke,ut as qe,v as Je,vt as Ye,w as Xe,wt as Ze,x as Qe,xt as $e,y as et,yt as tt,z as nt,zt as rt}from"./run-args-CIqI4Zc7.mjs";import{A as it,B as at,C as ot,D as st,E as ct,F as lt,I as ut,L as dt,M as ft,N as pt,O as mt,P as ht,R as gt,S as _t,T as vt,_ as yt,a as bt,b as xt,c as St,d as Ct,f as wt,g as Tt,h as Et,i as Dt,j as Ot,k as kt,l as At,m as jt,n as Mt,o as Nt,p as Pt,r as Ft,s as It,t as Lt,u as Rt,v as zt,w as Bt,x as Vt,y as Ht,z as Ut}from"./websocket-DftnHFfN.mjs";import"./types/index.mjs";import{c as Wt,i as Gt,n as Kt,r as qt,s as Jt,t as Yt}from"./upload-strategy-negotiator-ChKvppnA.mjs";import{a as Xt,i as Zt,n as Qt,o as $t,r as en,s as tn,t as nn}from"./checksum-BRjFmTRk.mjs";import{n as rn,t as an}from"./stream-limiter-CvDuNIyd.mjs";import"./upload/index.mjs";import"./flow/index.mjs";import"./streams/index.mjs";import{a as on,i as sn,n as cn,r as ln,t as un}from"./throttle-TFY-V41R.mjs";import"./utils/index.mjs";export{m as AVAILABLE_TEMPLATE_VARIABLES,Rt as BaseEventEmitterService,mt as BaseKvStoreService,zt as BufferedUploadFileDataStore,Ut as CircuitBreakerStoreService,A as CredentialProvider,he as DEFAULT_CIRCUIT_BREAKER_CONFIG,It as DEFAULT_HEALTH_CHECK_CONFIG,Ht as DEFAULT_MULTIPART_PART_SIZE,X as DEFAULT_QUEUE_CONFIG,Ye as DEFAULT_RETRY_POLICY,xt as DEFAULT_STREAMING_CONFIG,kt as DeadLetterQueueKVStore,Se as DeadLetterQueueService,C as DistributedCircuitBreaker,ne as DistributedCircuitBreakerRegistry,O as DocumentAiPlugin,Te as DocumentPlugin,t as ERRORS,t as ERROR_CATALOG,yt as EventBroadcasterService,T as EventType,J as FlowEngine,Ct as FlowEventEmitter,it as FlowJobKVStore,g as FlowLifecycleHook,w as FlowProvider,v as FlowQueueDispatchMarker,Ot as FlowQueueKVStore,W as FlowQueueService,$ as FlowWaitUntil,en as GenerateId,Zt as GenerateIdLive,Xt as GenerateIdRandom,$t as GenerateIdService,tn as GenerateIdTimestamp,V as IMAGE_DESCRIPTION_OUTPUT_TYPE_ID,i as ImageAiPlugin,De as ImagePlugin,G as InputTypeRegistry,on as Md5,re as MemoryFlowQueueStore,Dt as MiddlewareService,bt as MiddlewareServiceLive,D as NodeType,l as OCR_OUTPUT_TYPE_ID,ln as OnceEffect,s as OutputTypeRegistry,Me as ParallelScheduler,Ze as STORAGE_OUTPUT_TYPE_ID,U as STREAMING_INPUT_TYPE_ID,an as StreamLimiterEffect,un as ThrottleEffect,wt as TypedEventEmitter,ft as TypedKvStore,Kt as UploadEngine,Pt as UploadEventEmitter,Mt as UploadEventType,Vt as UploadFileDataStore,_t as UploadFileDataStores,pt as UploadFileKVStore,Yt as UploadStrategyNegotiator,te as UploadistaError,se as VideoPlugin,Ce as VirusScanPlugin,Be as ZipPlugin,b as applyFileNaming,He as blurTransformSchema,de as brightnessTransformSchema,E as buildNamingContext,tt as calculateBackoffDelay,ue as calculateExpirationDate,Jt as compareMimeTypes,k as completeNodeExecution,nn as computeChecksum,ke as contrastTransformSchema,ot as createDataStoreLayer,be as createDeadLetterQueueService,Ne as createFlow,ze as createFlowEdge,S as createFlowEngine,z as createFlowNode,I as createFlowWithSchema,at as createInitialCircuitBreakerState,N as createInputNode,j as createOutputGuard,P as createTransformNode,ge as createTypeGuard,qt as createUploadEngine,ht as deadLetterQueueKvStore,oe as deadLetterQueueService,M as describeImageParamsSchema,u as describeVideoMetadataSchema,Wt as detectMimeType,jt as eventToMessageSerializer,f as extractFrameVideoParamsSchema,Ge as filterOutputsByType,Ke as flipTransformSchema,Q as flowEngine,Et as flowEventEmitter,lt as flowJobKvStore,ut as flowQueueKvStore,St as formatHealthAsText,R as getBaseName,nt as getExtension,Pe as getFirstOutputByType,n as getFlowData,At as getHealthResponseFormat,rt as getNodeData,Ve as getOutputByNodeId,we as getSingleOutputByType,pe as grayscaleTransformSchema,ce as hasOutputOfType,e as httpFailure,p as imageDescriptionOutputSchema,Oe as inputDataSchema,Nt as inputFileSchema,a as inputNodeParamsSchema,Y as inputTypeRegistry,o as interpolateFileName,Bt as isDataStore,$e as isErrorRetryable,Ie as isFinalizeOperation,Ue as isImageDescriptionOutput,fe as isInitOperation,Ae as isOcrOutput,qe as isStorageOutput,F as isStorageOutputV1,h as isStreamingInputV1,Qt as isSupportedAlgorithm,me as isUploadFile,ve as isUploadOperation,ee as isUploadistaError,Re as isUrlOperation,dt as jsonSerializer,vt as jsonValueSchema,Z as kvCircuitBreakerStoreLayer,_e as logoTransformSchema,ie as makeKvCircuitBreakerStore,L as makeMemoryCircuitBreakerStore,r as memoryCircuitBreakerStoreLayer,d as ocrOutputSchema,sn as once,H as optimizeParamsSchema,q as outputTypeRegistry,Xe as removeBackgroundParamsSchema,c as resizeParamsSchema,Le as resizeTransformSchema,B as resizeVideoParamsSchema,Ee as resolveUploadMetadata,je as rotateTransformSchema,We as runArgsSchema,xe as sepiaTransformSchema,ye as sharpenTransformSchema,rn as streamLimiter,ae as textTransformSchema,cn as throttle,ct as traceContextSchema,Qe as transcodeVideoParamsSchema,Je as transformImageParamsSchema,et as transformationSchema,Fe as trimVideoParamsSchema,Gt as uploadEngine,Tt as uploadEventEmitter,Ft as uploadEventSchema,gt as uploadFileKvStore,st as uploadFileSchema,_ as validateFlowInput,y as validateFlowOutput,K as validatePattern,x as waitingNodeExecution,le as watermarkTransformSchema,Lt as webSocketMessageSchema};