@blue-labs/document-processor 1.37.0 → 2.0.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (257) hide show
  1. package/dist/api/document-processor.d.ts +38 -0
  2. package/dist/api/document-processor.d.ts.map +1 -0
  3. package/dist/constants/processor-contract-constants.d.ts +24 -0
  4. package/dist/constants/processor-contract-constants.d.ts.map +1 -0
  5. package/dist/constants/processor-pointer-constants.d.ts +21 -0
  6. package/dist/constants/processor-pointer-constants.d.ts.map +1 -0
  7. package/dist/engine/boundary-violation-exception.d.ts +4 -0
  8. package/dist/engine/boundary-violation-exception.d.ts.map +1 -0
  9. package/dist/engine/channel-runner.d.ts +27 -0
  10. package/dist/engine/channel-runner.d.ts.map +1 -0
  11. package/dist/engine/checkpoint-manager.d.ts +23 -0
  12. package/dist/engine/checkpoint-manager.d.ts.map +1 -0
  13. package/dist/engine/contract-bundle.d.ts +70 -0
  14. package/dist/engine/contract-bundle.d.ts.map +1 -0
  15. package/dist/engine/contract-loader.d.ts +17 -0
  16. package/dist/engine/contract-loader.d.ts.map +1 -0
  17. package/dist/engine/handler-registration-service.d.ts +27 -0
  18. package/dist/engine/handler-registration-service.d.ts.map +1 -0
  19. package/dist/engine/illegal-state-exception.d.ts +5 -0
  20. package/dist/engine/illegal-state-exception.d.ts.map +1 -0
  21. package/dist/engine/index.d.ts +11 -0
  22. package/dist/engine/index.d.ts.map +1 -0
  23. package/dist/engine/must-understand-failure.d.ts +4 -0
  24. package/dist/engine/must-understand-failure.d.ts.map +1 -0
  25. package/dist/engine/processor-engine.d.ts +66 -0
  26. package/dist/engine/processor-engine.d.ts.map +1 -0
  27. package/dist/engine/processor-execution-context.d.ts +38 -0
  28. package/dist/engine/processor-execution-context.d.ts.map +1 -0
  29. package/dist/engine/processor-fatal-error.d.ts +6 -0
  30. package/dist/engine/processor-fatal-error.d.ts.map +1 -0
  31. package/dist/engine/run-termination-error.d.ts +5 -0
  32. package/dist/engine/run-termination-error.d.ts.map +1 -0
  33. package/dist/engine/scope-executor.d.ts +60 -0
  34. package/dist/engine/scope-executor.d.ts.map +1 -0
  35. package/dist/engine/termination-service.d.ts +17 -0
  36. package/dist/engine/termination-service.d.ts.map +1 -0
  37. package/dist/index.d.ts +14 -6
  38. package/dist/index.d.ts.map +1 -1
  39. package/dist/index.js +3176 -9
  40. package/dist/merge/index.d.ts +2 -2
  41. package/dist/merge/index.d.ts.map +1 -1
  42. package/dist/merge/processors/index.d.ts +1 -1
  43. package/dist/merge/processors/index.d.ts.map +1 -1
  44. package/dist/model/channels/document-update-channel.d.ts +41 -0
  45. package/dist/model/channels/document-update-channel.d.ts.map +1 -0
  46. package/dist/model/channels/embedded-node-channel.d.ts +43 -0
  47. package/dist/model/channels/embedded-node-channel.d.ts.map +1 -0
  48. package/dist/model/channels/index.d.ts +7 -0
  49. package/dist/model/channels/index.d.ts.map +1 -0
  50. package/dist/model/channels/lifecycle-channel.d.ts +40 -0
  51. package/dist/model/channels/lifecycle-channel.d.ts.map +1 -0
  52. package/dist/model/channels/myos-timeline-channel.d.ts +52 -0
  53. package/dist/model/channels/myos-timeline-channel.d.ts.map +1 -0
  54. package/dist/model/channels/timeline-channel.d.ts +43 -0
  55. package/dist/model/channels/timeline-channel.d.ts.map +1 -0
  56. package/dist/model/channels/triggered-event-channel.d.ts +40 -0
  57. package/dist/model/channels/triggered-event-channel.d.ts.map +1 -0
  58. package/dist/model/events/document-update.d.ts +15 -0
  59. package/dist/model/events/document-update.d.ts.map +1 -0
  60. package/dist/model/handlers/index.d.ts +3 -0
  61. package/dist/model/handlers/index.d.ts.map +1 -0
  62. package/dist/model/handlers/sequential-workflow-operation.d.ts +61 -0
  63. package/dist/model/handlers/sequential-workflow-operation.d.ts.map +1 -0
  64. package/dist/model/handlers/sequential-workflow.d.ts +57 -0
  65. package/dist/model/handlers/sequential-workflow.d.ts.map +1 -0
  66. package/dist/model/index.d.ts +6 -0
  67. package/dist/model/index.d.ts.map +1 -0
  68. package/dist/model/markers/channel-event-checkpoint.d.ts +40 -0
  69. package/dist/model/markers/channel-event-checkpoint.d.ts.map +1 -0
  70. package/dist/model/markers/index.d.ts +6 -0
  71. package/dist/model/markers/index.d.ts.map +1 -0
  72. package/dist/model/markers/initialization-marker.d.ts +36 -0
  73. package/dist/model/markers/initialization-marker.d.ts.map +1 -0
  74. package/dist/model/markers/operation.d.ts +39 -0
  75. package/dist/model/markers/operation.d.ts.map +1 -0
  76. package/dist/model/markers/process-embedded.d.ts +36 -0
  77. package/dist/model/markers/process-embedded.d.ts.map +1 -0
  78. package/dist/model/markers/processing-terminated-marker.d.ts +39 -0
  79. package/dist/model/markers/processing-terminated-marker.d.ts.map +1 -0
  80. package/dist/model/shared/channel-contract-base.d.ts +30 -0
  81. package/dist/model/shared/channel-contract-base.d.ts.map +1 -0
  82. package/dist/model/shared/contract-base.d.ts +16 -0
  83. package/dist/model/shared/contract-base.d.ts.map +1 -0
  84. package/dist/model/shared/handler-contract-base.d.ts +29 -0
  85. package/dist/model/shared/handler-contract-base.d.ts.map +1 -0
  86. package/dist/model/shared/index.d.ts +6 -0
  87. package/dist/model/shared/index.d.ts.map +1 -0
  88. package/dist/model/shared/json-patch.d.ts +24 -0
  89. package/dist/model/shared/json-patch.d.ts.map +1 -0
  90. package/dist/model/shared/marker-contract-base.d.ts +23 -0
  91. package/dist/model/shared/marker-contract-base.d.ts.map +1 -0
  92. package/dist/model/types.d.ts +13 -0
  93. package/dist/model/types.d.ts.map +1 -0
  94. package/dist/registry/contract-processor-registry-builder.d.ts +11 -0
  95. package/dist/registry/contract-processor-registry-builder.d.ts.map +1 -0
  96. package/dist/registry/contract-processor-registry.d.ts +17 -0
  97. package/dist/registry/contract-processor-registry.d.ts.map +1 -0
  98. package/dist/registry/index.d.ts +4 -0
  99. package/dist/registry/index.d.ts.map +1 -0
  100. package/dist/registry/processors/myos-timeline-channel-processor.d.ts +59 -0
  101. package/dist/registry/processors/myos-timeline-channel-processor.d.ts.map +1 -0
  102. package/dist/registry/processors/operation-marker-processor.d.ts +43 -0
  103. package/dist/registry/processors/operation-marker-processor.d.ts.map +1 -0
  104. package/dist/registry/processors/sequential-workflow-operation-processor.d.ts +76 -0
  105. package/dist/registry/processors/sequential-workflow-operation-processor.d.ts.map +1 -0
  106. package/dist/registry/processors/sequential-workflow-processor.d.ts +64 -0
  107. package/dist/registry/processors/sequential-workflow-processor.d.ts.map +1 -0
  108. package/dist/registry/processors/steps/javascript-code-step-executor.d.ts +8 -0
  109. package/dist/registry/processors/steps/javascript-code-step-executor.d.ts.map +1 -0
  110. package/dist/registry/processors/steps/quickjs-step-bindings.d.ts +4 -0
  111. package/dist/registry/processors/steps/quickjs-step-bindings.d.ts.map +1 -0
  112. package/dist/registry/processors/steps/trigger-event-step-executor.d.ts +7 -0
  113. package/dist/registry/processors/steps/trigger-event-step-executor.d.ts.map +1 -0
  114. package/dist/registry/processors/steps/update-document-step-executor.d.ts +11 -0
  115. package/dist/registry/processors/steps/update-document-step-executor.d.ts.map +1 -0
  116. package/dist/registry/processors/timeline-channel-processor.d.ts +50 -0
  117. package/dist/registry/processors/timeline-channel-processor.d.ts.map +1 -0
  118. package/dist/registry/processors/utils/operation-utils.d.ts +6 -0
  119. package/dist/registry/processors/utils/operation-utils.d.ts.map +1 -0
  120. package/dist/registry/processors/workflow/operation-matcher.d.ts +17 -0
  121. package/dist/registry/processors/workflow/operation-matcher.d.ts.map +1 -0
  122. package/dist/registry/processors/workflow/step-runner.d.ts +28 -0
  123. package/dist/registry/processors/workflow/step-runner.d.ts.map +1 -0
  124. package/dist/registry/types.d.ts +71 -0
  125. package/dist/registry/types.d.ts.map +1 -0
  126. package/dist/runtime/document-processing-runtime.d.ts +31 -0
  127. package/dist/runtime/document-processing-runtime.d.ts.map +1 -0
  128. package/dist/runtime/emission-registry.d.ts +14 -0
  129. package/dist/runtime/emission-registry.d.ts.map +1 -0
  130. package/dist/runtime/gas-helpers.d.ts +9 -0
  131. package/dist/runtime/gas-helpers.d.ts.map +1 -0
  132. package/dist/runtime/gas-meter.d.ts +32 -0
  133. package/dist/runtime/gas-meter.d.ts.map +1 -0
  134. package/dist/runtime/index.d.ts +6 -0
  135. package/dist/runtime/index.d.ts.map +1 -0
  136. package/dist/runtime/patch-engine.d.ts +28 -0
  137. package/dist/runtime/patch-engine.d.ts.map +1 -0
  138. package/dist/runtime/scope-runtime-context.d.ts +31 -0
  139. package/dist/runtime/scope-runtime-context.d.ts.map +1 -0
  140. package/dist/test-support/blue.d.ts +27 -0
  141. package/dist/test-support/blue.d.ts.map +1 -0
  142. package/dist/test-support/workflow.d.ts +18 -0
  143. package/dist/test-support/workflow.d.ts.map +1 -0
  144. package/dist/types/document-processing-result.d.ts +13 -0
  145. package/dist/types/document-processing-result.d.ts.map +1 -0
  146. package/dist/types/errors.d.ts +42 -0
  147. package/dist/types/errors.d.ts.map +1 -0
  148. package/dist/types/index.d.ts +4 -0
  149. package/dist/types/index.d.ts.map +1 -0
  150. package/dist/types/result.d.ts +23 -0
  151. package/dist/types/result.d.ts.map +1 -0
  152. package/dist/types/scope-contracts.d.ts +7 -0
  153. package/dist/types/scope-contracts.d.ts.map +1 -0
  154. package/dist/util/expression/exceptions.d.ts +6 -0
  155. package/dist/util/expression/exceptions.d.ts.map +1 -0
  156. package/dist/util/expression/quickjs-evaluator.d.ts +23 -0
  157. package/dist/util/expression/quickjs-evaluator.d.ts.map +1 -0
  158. package/dist/util/expression/quickjs-expression-utils.d.ts +29 -0
  159. package/dist/util/expression/quickjs-expression-utils.d.ts.map +1 -0
  160. package/dist/util/node-canonicalizer.d.ts +4 -0
  161. package/dist/util/node-canonicalizer.d.ts.map +1 -0
  162. package/dist/util/pointer-utils.d.ts +7 -0
  163. package/dist/util/pointer-utils.d.ts.map +1 -0
  164. package/package.json +21 -19
  165. package/dist/BlueDocumentProcessor.d.ts +0 -50
  166. package/dist/BlueDocumentProcessor.d.ts.map +0 -1
  167. package/dist/config.d.ts +0 -3
  168. package/dist/config.d.ts.map +0 -1
  169. package/dist/context.d.ts +0 -21
  170. package/dist/context.d.ts.map +0 -1
  171. package/dist/index.mjs +0 -1657
  172. package/dist/processors/BaseChannelProcessor.d.ts +0 -22
  173. package/dist/processors/BaseChannelProcessor.d.ts.map +0 -1
  174. package/dist/processors/ChannelEventCheckpointProcessor.d.ts +0 -13
  175. package/dist/processors/ChannelEventCheckpointProcessor.d.ts.map +0 -1
  176. package/dist/processors/CompositeTimelineChannelProcessor.d.ts +0 -9
  177. package/dist/processors/CompositeTimelineChannelProcessor.d.ts.map +0 -1
  178. package/dist/processors/DocumentUpdateChannelProcessor.d.ts +0 -9
  179. package/dist/processors/DocumentUpdateChannelProcessor.d.ts.map +0 -1
  180. package/dist/processors/EmbeddedNodeChannelProcessor.d.ts +0 -9
  181. package/dist/processors/EmbeddedNodeChannelProcessor.d.ts.map +0 -1
  182. package/dist/processors/InitializedMarkerProcessor.d.ts +0 -9
  183. package/dist/processors/InitializedMarkerProcessor.d.ts.map +0 -1
  184. package/dist/processors/LifecycleEventChannelProcessor.d.ts +0 -33
  185. package/dist/processors/LifecycleEventChannelProcessor.d.ts.map +0 -1
  186. package/dist/processors/MyOSAgentChannelProcessor.d.ts +0 -60
  187. package/dist/processors/MyOSAgentChannelProcessor.d.ts.map +0 -1
  188. package/dist/processors/MyOSTimelineChannelProcessor.d.ts +0 -9
  189. package/dist/processors/MyOSTimelineChannelProcessor.d.ts.map +0 -1
  190. package/dist/processors/OperationProcessor.d.ts +0 -13
  191. package/dist/processors/OperationProcessor.d.ts.map +0 -1
  192. package/dist/processors/ProcessEmbeddedProcessor.d.ts +0 -9
  193. package/dist/processors/ProcessEmbeddedProcessor.d.ts.map +0 -1
  194. package/dist/processors/SequentialWorkflowOperationProcessor.d.ts +0 -12
  195. package/dist/processors/SequentialWorkflowOperationProcessor.d.ts.map +0 -1
  196. package/dist/processors/SequentialWorkflowProcessor/SequentialWorkflowProcessor.d.ts +0 -19
  197. package/dist/processors/SequentialWorkflowProcessor/SequentialWorkflowProcessor.d.ts.map +0 -1
  198. package/dist/processors/SequentialWorkflowProcessor/index.d.ts +0 -2
  199. package/dist/processors/SequentialWorkflowProcessor/index.d.ts.map +0 -1
  200. package/dist/processors/SequentialWorkflowProcessor/steps/JavaScriptCodeExecutor.d.ts +0 -8
  201. package/dist/processors/SequentialWorkflowProcessor/steps/JavaScriptCodeExecutor.d.ts.map +0 -1
  202. package/dist/processors/SequentialWorkflowProcessor/steps/TriggerEventExecutor.d.ts +0 -8
  203. package/dist/processors/SequentialWorkflowProcessor/steps/TriggerEventExecutor.d.ts.map +0 -1
  204. package/dist/processors/SequentialWorkflowProcessor/steps/UpdateDocumentExecutor.d.ts +0 -14
  205. package/dist/processors/SequentialWorkflowProcessor/steps/UpdateDocumentExecutor.d.ts.map +0 -1
  206. package/dist/processors/SequentialWorkflowProcessor/types.d.ts +0 -7
  207. package/dist/processors/SequentialWorkflowProcessor/types.d.ts.map +0 -1
  208. package/dist/processors/SequentialWorkflowProcessor/utils/BindingsFactory.d.ts +0 -12
  209. package/dist/processors/SequentialWorkflowProcessor/utils/BindingsFactory.d.ts.map +0 -1
  210. package/dist/processors/SequentialWorkflowProcessor/utils/ExpressionEvaluator.d.ts +0 -61
  211. package/dist/processors/SequentialWorkflowProcessor/utils/ExpressionEvaluator.d.ts.map +0 -1
  212. package/dist/processors/SequentialWorkflowProcessor/utils/ExpressionResolver.d.ts +0 -8
  213. package/dist/processors/SequentialWorkflowProcessor/utils/ExpressionResolver.d.ts.map +0 -1
  214. package/dist/processors/TimelineChannelProcessor.d.ts +0 -9
  215. package/dist/processors/TimelineChannelProcessor.d.ts.map +0 -1
  216. package/dist/processors/TriggeredEventChannelProcessor.d.ts +0 -12
  217. package/dist/processors/TriggeredEventChannelProcessor.d.ts.map +0 -1
  218. package/dist/processors/index.d.ts +0 -15
  219. package/dist/processors/index.d.ts.map +0 -1
  220. package/dist/queue/TaskKey.d.ts +0 -22
  221. package/dist/queue/TaskKey.d.ts.map +0 -1
  222. package/dist/queue/TaskQueue.d.ts +0 -31
  223. package/dist/queue/TaskQueue.d.ts.map +0 -1
  224. package/dist/registry/ContractRegistry.d.ts +0 -47
  225. package/dist/registry/ContractRegistry.d.ts.map +0 -1
  226. package/dist/routing/EventRouter.d.ts +0 -51
  227. package/dist/routing/EventRouter.d.ts.map +0 -1
  228. package/dist/routing/buildContractEntries.d.ts +0 -3
  229. package/dist/routing/buildContractEntries.d.ts.map +0 -1
  230. package/dist/testUtils.d.ts +0 -15
  231. package/dist/testUtils.d.ts.map +0 -1
  232. package/dist/types.d.ts +0 -84
  233. package/dist/types.d.ts.map +0 -1
  234. package/dist/utils/CheckpointCache.d.ts +0 -10
  235. package/dist/utils/CheckpointCache.d.ts.map +0 -1
  236. package/dist/utils/EventTraceManager.d.ts +0 -47
  237. package/dist/utils/EventTraceManager.d.ts.map +0 -1
  238. package/dist/utils/TinyQueue.d.ts +0 -12
  239. package/dist/utils/TinyQueue.d.ts.map +0 -1
  240. package/dist/utils/checkpoint.d.ts +0 -4
  241. package/dist/utils/checkpoint.d.ts.map +0 -1
  242. package/dist/utils/document.d.ts +0 -29
  243. package/dist/utils/document.d.ts.map +0 -1
  244. package/dist/utils/eventFactories.d.ts +0 -37
  245. package/dist/utils/eventFactories.d.ts.map +0 -1
  246. package/dist/utils/exceptions.d.ts +0 -28
  247. package/dist/utils/exceptions.d.ts.map +0 -1
  248. package/dist/utils/expressionUtils.d.ts +0 -18
  249. package/dist/utils/expressionUtils.d.ts.map +0 -1
  250. package/dist/utils/initialized.d.ts +0 -5
  251. package/dist/utils/initialized.d.ts.map +0 -1
  252. package/dist/utils/logPatchError.d.ts +0 -3
  253. package/dist/utils/logPatchError.d.ts.map +0 -1
  254. package/dist/utils/path.d.ts +0 -2
  255. package/dist/utils/path.d.ts.map +0 -1
  256. package/dist/utils/typeGuard.d.ts +0 -5
  257. package/dist/utils/typeGuard.d.ts.map +0 -1
@@ -1,3 +1,3 @@
1
- export * as MergingProcessors from './processors';
2
- export * from './utils/default';
1
+ export * as MergingProcessors from './processors/index.js';
2
+ export * from './utils/default.js';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/merge/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,iBAAiB,MAAM,cAAc,CAAC;AAClD,cAAc,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/merge/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,iBAAiB,MAAM,uBAAuB,CAAC;AAC3D,cAAc,oBAAoB,CAAC"}
@@ -1,2 +1,2 @@
1
- export * from './ExpressionPreserver';
1
+ export * from './ExpressionPreserver.js';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/merge/processors/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/merge/processors/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC"}
@@ -0,0 +1,41 @@
1
+ import { z } from 'zod';
2
+ export declare const documentUpdateChannelSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3
+ description: z.ZodOptional<z.ZodString>;
4
+ name: z.ZodOptional<z.ZodString>;
5
+ order: z.ZodOptional<z.ZodNumber>;
6
+ }, {
7
+ description: z.ZodOptional<z.ZodString>;
8
+ name: z.ZodOptional<z.ZodString>;
9
+ }>, {
10
+ description: z.ZodOptional<z.ZodString>;
11
+ name: z.ZodOptional<z.ZodString>;
12
+ path: z.ZodOptional<z.ZodString>;
13
+ }>, z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
14
+ description: z.ZodOptional<z.ZodString>;
15
+ name: z.ZodOptional<z.ZodString>;
16
+ order: z.ZodOptional<z.ZodNumber>;
17
+ }, {
18
+ description: z.ZodOptional<z.ZodString>;
19
+ name: z.ZodOptional<z.ZodString>;
20
+ }>, {
21
+ description: z.ZodOptional<z.ZodString>;
22
+ name: z.ZodOptional<z.ZodString>;
23
+ order: z.ZodOptional<z.ZodNumber>;
24
+ }>, {
25
+ path: z.ZodOptional<z.ZodString>;
26
+ definition: z.ZodOptional<z.ZodType<import('@blue-labs/language').BlueNode, z.ZodTypeDef, import('@blue-labs/language').BlueNode>>;
27
+ }>>, "strip", z.ZodTypeAny, {
28
+ path?: string | undefined;
29
+ description?: string | undefined;
30
+ name?: string | undefined;
31
+ order?: number | undefined;
32
+ definition?: import('@blue-labs/language').BlueNode | undefined;
33
+ }, {
34
+ path?: string | undefined;
35
+ description?: string | undefined;
36
+ name?: string | undefined;
37
+ order?: number | undefined;
38
+ definition?: import('@blue-labs/language').BlueNode | undefined;
39
+ }>;
40
+ export type DocumentUpdateChannel = z.infer<typeof documentUpdateChannelSchema>;
41
+ //# sourceMappingURL=document-update-channel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"document-update-channel.d.ts","sourceRoot":"","sources":["../../../src/model/channels/document-update-channel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEvC,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC"}
@@ -0,0 +1,43 @@
1
+ import { z } from 'zod';
2
+ export declare const embeddedNodeChannelSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3
+ description: z.ZodOptional<z.ZodString>;
4
+ name: z.ZodOptional<z.ZodString>;
5
+ order: z.ZodOptional<z.ZodNumber>;
6
+ }, {
7
+ description: z.ZodOptional<z.ZodString>;
8
+ name: z.ZodOptional<z.ZodString>;
9
+ }>, {
10
+ childPath: z.ZodOptional<z.ZodString>;
11
+ description: z.ZodOptional<z.ZodString>;
12
+ name: z.ZodOptional<z.ZodString>;
13
+ }>, z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
14
+ description: z.ZodOptional<z.ZodString>;
15
+ name: z.ZodOptional<z.ZodString>;
16
+ order: z.ZodOptional<z.ZodNumber>;
17
+ }, {
18
+ description: z.ZodOptional<z.ZodString>;
19
+ name: z.ZodOptional<z.ZodString>;
20
+ }>, {
21
+ description: z.ZodOptional<z.ZodString>;
22
+ name: z.ZodOptional<z.ZodString>;
23
+ order: z.ZodOptional<z.ZodNumber>;
24
+ }>, {
25
+ path: z.ZodOptional<z.ZodString>;
26
+ definition: z.ZodOptional<z.ZodType<import('@blue-labs/language').BlueNode, z.ZodTypeDef, import('@blue-labs/language').BlueNode>>;
27
+ }>>, "strip", z.ZodTypeAny, {
28
+ path?: string | undefined;
29
+ description?: string | undefined;
30
+ name?: string | undefined;
31
+ order?: number | undefined;
32
+ definition?: import('@blue-labs/language').BlueNode | undefined;
33
+ childPath?: string | undefined;
34
+ }, {
35
+ path?: string | undefined;
36
+ description?: string | undefined;
37
+ name?: string | undefined;
38
+ order?: number | undefined;
39
+ definition?: import('@blue-labs/language').BlueNode | undefined;
40
+ childPath?: string | undefined;
41
+ }>;
42
+ export type EmbeddedNodeChannel = z.infer<typeof embeddedNodeChannelSchema>;
43
+ //# sourceMappingURL=embedded-node-channel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"embedded-node-channel.d.ts","sourceRoot":"","sources":["../../../src/model/channels/embedded-node-channel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAErC,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
@@ -0,0 +1,7 @@
1
+ export * from './document-update-channel.js';
2
+ export * from './embedded-node-channel.js';
3
+ export * from './lifecycle-channel.js';
4
+ export * from './triggered-event-channel.js';
5
+ export * from './timeline-channel.js';
6
+ export * from './myos-timeline-channel.js';
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/model/channels/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC"}
@@ -0,0 +1,40 @@
1
+ import { z } from 'zod';
2
+ export declare const lifecycleChannelSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3
+ description: z.ZodOptional<z.ZodString>;
4
+ name: z.ZodOptional<z.ZodString>;
5
+ order: z.ZodOptional<z.ZodNumber>;
6
+ }, {
7
+ description: z.ZodOptional<z.ZodString>;
8
+ name: z.ZodOptional<z.ZodString>;
9
+ }>, {
10
+ description: z.ZodOptional<z.ZodString>;
11
+ name: z.ZodOptional<z.ZodString>;
12
+ }>, z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
13
+ description: z.ZodOptional<z.ZodString>;
14
+ name: z.ZodOptional<z.ZodString>;
15
+ order: z.ZodOptional<z.ZodNumber>;
16
+ }, {
17
+ description: z.ZodOptional<z.ZodString>;
18
+ name: z.ZodOptional<z.ZodString>;
19
+ }>, {
20
+ description: z.ZodOptional<z.ZodString>;
21
+ name: z.ZodOptional<z.ZodString>;
22
+ order: z.ZodOptional<z.ZodNumber>;
23
+ }>, {
24
+ path: z.ZodOptional<z.ZodString>;
25
+ definition: z.ZodOptional<z.ZodType<import('@blue-labs/language').BlueNode, z.ZodTypeDef, import('@blue-labs/language').BlueNode>>;
26
+ }>>, "strip", z.ZodTypeAny, {
27
+ path?: string | undefined;
28
+ description?: string | undefined;
29
+ name?: string | undefined;
30
+ order?: number | undefined;
31
+ definition?: import('@blue-labs/language').BlueNode | undefined;
32
+ }, {
33
+ path?: string | undefined;
34
+ description?: string | undefined;
35
+ name?: string | undefined;
36
+ order?: number | undefined;
37
+ definition?: import('@blue-labs/language').BlueNode | undefined;
38
+ }>;
39
+ export type LifecycleChannel = z.infer<typeof lifecycleChannelSchema>;
40
+ //# sourceMappingURL=lifecycle-channel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lifecycle-channel.d.ts","sourceRoot":"","sources":["../../../src/model/channels/lifecycle-channel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAElC,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
@@ -0,0 +1,52 @@
1
+ import { z } from 'zod';
2
+ export declare const myosTimelineChannelSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3
+ description: z.ZodOptional<z.ZodString>;
4
+ name: z.ZodOptional<z.ZodString>;
5
+ order: z.ZodOptional<z.ZodNumber>;
6
+ }, {
7
+ description: z.ZodOptional<z.ZodString>;
8
+ name: z.ZodOptional<z.ZodString>;
9
+ }>, {
10
+ description: z.ZodOptional<z.ZodString>;
11
+ name: z.ZodOptional<z.ZodString>;
12
+ timelineId: z.ZodOptional<z.ZodString>;
13
+ }>, {
14
+ accountId: z.ZodOptional<z.ZodString>;
15
+ description: z.ZodOptional<z.ZodString>;
16
+ email: z.ZodOptional<z.ZodString>;
17
+ name: z.ZodOptional<z.ZodString>;
18
+ }>, z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
19
+ description: z.ZodOptional<z.ZodString>;
20
+ name: z.ZodOptional<z.ZodString>;
21
+ order: z.ZodOptional<z.ZodNumber>;
22
+ }, {
23
+ description: z.ZodOptional<z.ZodString>;
24
+ name: z.ZodOptional<z.ZodString>;
25
+ }>, {
26
+ description: z.ZodOptional<z.ZodString>;
27
+ name: z.ZodOptional<z.ZodString>;
28
+ order: z.ZodOptional<z.ZodNumber>;
29
+ }>, {
30
+ path: z.ZodOptional<z.ZodString>;
31
+ definition: z.ZodOptional<z.ZodType<import('@blue-labs/language').BlueNode, z.ZodTypeDef, import('@blue-labs/language').BlueNode>>;
32
+ }>>, "strip", z.ZodTypeAny, {
33
+ path?: string | undefined;
34
+ description?: string | undefined;
35
+ name?: string | undefined;
36
+ order?: number | undefined;
37
+ definition?: import('@blue-labs/language').BlueNode | undefined;
38
+ timelineId?: string | undefined;
39
+ accountId?: string | undefined;
40
+ email?: string | undefined;
41
+ }, {
42
+ path?: string | undefined;
43
+ description?: string | undefined;
44
+ name?: string | undefined;
45
+ order?: number | undefined;
46
+ definition?: import('@blue-labs/language').BlueNode | undefined;
47
+ timelineId?: string | undefined;
48
+ accountId?: string | undefined;
49
+ email?: string | undefined;
50
+ }>;
51
+ export type MyOSTimelineChannel = z.infer<typeof myosTimelineChannelSchema>;
52
+ //# sourceMappingURL=myos-timeline-channel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"myos-timeline-channel.d.ts","sourceRoot":"","sources":["../../../src/model/channels/myos-timeline-channel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EACgC,CAAC;AAEvE,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
@@ -0,0 +1,43 @@
1
+ import { z } from 'zod';
2
+ export declare const timelineChannelSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3
+ description: z.ZodOptional<z.ZodString>;
4
+ name: z.ZodOptional<z.ZodString>;
5
+ order: z.ZodOptional<z.ZodNumber>;
6
+ }, {
7
+ description: z.ZodOptional<z.ZodString>;
8
+ name: z.ZodOptional<z.ZodString>;
9
+ }>, {
10
+ description: z.ZodOptional<z.ZodString>;
11
+ name: z.ZodOptional<z.ZodString>;
12
+ timelineId: z.ZodOptional<z.ZodString>;
13
+ }>, z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
14
+ description: z.ZodOptional<z.ZodString>;
15
+ name: z.ZodOptional<z.ZodString>;
16
+ order: z.ZodOptional<z.ZodNumber>;
17
+ }, {
18
+ description: z.ZodOptional<z.ZodString>;
19
+ name: z.ZodOptional<z.ZodString>;
20
+ }>, {
21
+ description: z.ZodOptional<z.ZodString>;
22
+ name: z.ZodOptional<z.ZodString>;
23
+ order: z.ZodOptional<z.ZodNumber>;
24
+ }>, {
25
+ path: z.ZodOptional<z.ZodString>;
26
+ definition: z.ZodOptional<z.ZodType<import('@blue-labs/language').BlueNode, z.ZodTypeDef, import('@blue-labs/language').BlueNode>>;
27
+ }>>, "strip", z.ZodTypeAny, {
28
+ path?: string | undefined;
29
+ description?: string | undefined;
30
+ name?: string | undefined;
31
+ order?: number | undefined;
32
+ definition?: import('@blue-labs/language').BlueNode | undefined;
33
+ timelineId?: string | undefined;
34
+ }, {
35
+ path?: string | undefined;
36
+ description?: string | undefined;
37
+ name?: string | undefined;
38
+ order?: number | undefined;
39
+ definition?: import('@blue-labs/language').BlueNode | undefined;
40
+ timelineId?: string | undefined;
41
+ }>;
42
+ export type TimelineChannel = z.infer<typeof timelineChannelSchema>;
43
+ //# sourceMappingURL=timeline-channel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"timeline-channel.d.ts","sourceRoot":"","sources":["../../../src/model/channels/timeline-channel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEjC,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
@@ -0,0 +1,40 @@
1
+ import { z } from 'zod';
2
+ export declare const triggeredEventChannelSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3
+ description: z.ZodOptional<z.ZodString>;
4
+ name: z.ZodOptional<z.ZodString>;
5
+ order: z.ZodOptional<z.ZodNumber>;
6
+ }, {
7
+ description: z.ZodOptional<z.ZodString>;
8
+ name: z.ZodOptional<z.ZodString>;
9
+ }>, {
10
+ description: z.ZodOptional<z.ZodString>;
11
+ name: z.ZodOptional<z.ZodString>;
12
+ }>, z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
13
+ description: z.ZodOptional<z.ZodString>;
14
+ name: z.ZodOptional<z.ZodString>;
15
+ order: z.ZodOptional<z.ZodNumber>;
16
+ }, {
17
+ description: z.ZodOptional<z.ZodString>;
18
+ name: z.ZodOptional<z.ZodString>;
19
+ }>, {
20
+ description: z.ZodOptional<z.ZodString>;
21
+ name: z.ZodOptional<z.ZodString>;
22
+ order: z.ZodOptional<z.ZodNumber>;
23
+ }>, {
24
+ path: z.ZodOptional<z.ZodString>;
25
+ definition: z.ZodOptional<z.ZodType<import('@blue-labs/language').BlueNode, z.ZodTypeDef, import('@blue-labs/language').BlueNode>>;
26
+ }>>, "strip", z.ZodTypeAny, {
27
+ path?: string | undefined;
28
+ description?: string | undefined;
29
+ name?: string | undefined;
30
+ order?: number | undefined;
31
+ definition?: import('@blue-labs/language').BlueNode | undefined;
32
+ }, {
33
+ path?: string | undefined;
34
+ description?: string | undefined;
35
+ name?: string | undefined;
36
+ order?: number | undefined;
37
+ definition?: import('@blue-labs/language').BlueNode | undefined;
38
+ }>;
39
+ export type TriggeredEventChannel = z.infer<typeof triggeredEventChannelSchema>;
40
+ //# sourceMappingURL=triggered-event-channel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"triggered-event-channel.d.ts","sourceRoot":"","sources":["../../../src/model/channels/triggered-event-channel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAC0B,CAAC;AAEnE,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { BlueNode } from '@blue-labs/language';
2
+ export type DocumentUpdateOp = 'add' | 'replace' | 'remove';
3
+ export interface DocumentUpdate {
4
+ readonly op: DocumentUpdateOp;
5
+ readonly path: string;
6
+ /**
7
+ * Snapshot of the document value before the update, already cloned for event delivery.
8
+ */
9
+ readonly before: BlueNode | null;
10
+ /**
11
+ * Snapshot of the document value after the update, already cloned for event delivery.
12
+ */
13
+ readonly after: BlueNode | null;
14
+ }
15
+ //# sourceMappingURL=document-update.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"document-update.d.ts","sourceRoot":"","sources":["../../../src/model/events/document-update.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAE/C,MAAM,MAAM,gBAAgB,GAAG,KAAK,GAAG,SAAS,GAAG,QAAQ,CAAC;AAE5D,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,EAAE,EAAE,gBAAgB,CAAC;IAC9B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,QAAQ,GAAG,IAAI,CAAC;IACjC;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,QAAQ,GAAG,IAAI,CAAC;CACjC"}
@@ -0,0 +1,3 @@
1
+ export * from './sequential-workflow.js';
2
+ export * from './sequential-workflow-operation.js';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/model/handlers/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,oCAAoC,CAAC"}
@@ -0,0 +1,61 @@
1
+ import { z } from 'zod';
2
+ export declare const sequentialWorkflowOperationSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3
+ description: z.ZodOptional<z.ZodString>;
4
+ name: z.ZodOptional<z.ZodString>;
5
+ order: z.ZodOptional<z.ZodNumber>;
6
+ }, {
7
+ channel: z.ZodOptional<z.ZodString>;
8
+ description: z.ZodOptional<z.ZodString>;
9
+ event: z.ZodOptional<z.ZodType<import('@blue-labs/language').BlueNode, z.ZodTypeDef, import('@blue-labs/language').BlueNode>>;
10
+ name: z.ZodOptional<z.ZodString>;
11
+ }>, {
12
+ description: z.ZodOptional<z.ZodString>;
13
+ name: z.ZodOptional<z.ZodString>;
14
+ steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
15
+ description: z.ZodOptional<z.ZodString>;
16
+ name: z.ZodOptional<z.ZodString>;
17
+ }, "strip", z.ZodTypeAny, {
18
+ description?: string | undefined;
19
+ name?: string | undefined;
20
+ }, {
21
+ description?: string | undefined;
22
+ name?: string | undefined;
23
+ }>, "many">>;
24
+ }>, {
25
+ description: z.ZodOptional<z.ZodString>;
26
+ name: z.ZodOptional<z.ZodString>;
27
+ operation: z.ZodOptional<z.ZodString>;
28
+ }>, z.objectUtil.extendShape<z.objectUtil.extendShape<{
29
+ description: z.ZodOptional<z.ZodString>;
30
+ name: z.ZodOptional<z.ZodString>;
31
+ order: z.ZodOptional<z.ZodNumber>;
32
+ }, {
33
+ channel: z.ZodOptional<z.ZodString>;
34
+ description: z.ZodOptional<z.ZodString>;
35
+ event: z.ZodOptional<z.ZodType<import('@blue-labs/language').BlueNode, z.ZodTypeDef, import('@blue-labs/language').BlueNode>>;
36
+ name: z.ZodOptional<z.ZodString>;
37
+ }>, {
38
+ description: z.ZodOptional<z.ZodString>;
39
+ name: z.ZodOptional<z.ZodString>;
40
+ order: z.ZodOptional<z.ZodNumber>;
41
+ }>>, {
42
+ steps: z.ZodOptional<z.ZodArray<z.ZodType<import('@blue-labs/language').BlueNode, z.ZodTypeDef, import('@blue-labs/language').BlueNode>, "many">>;
43
+ }>, "strip", z.ZodTypeAny, {
44
+ description?: string | undefined;
45
+ name?: string | undefined;
46
+ order?: number | undefined;
47
+ channel?: string | undefined;
48
+ event?: import('@blue-labs/language').BlueNode | undefined;
49
+ steps?: import('@blue-labs/language').BlueNode[] | undefined;
50
+ operation?: string | undefined;
51
+ }, {
52
+ description?: string | undefined;
53
+ name?: string | undefined;
54
+ order?: number | undefined;
55
+ channel?: string | undefined;
56
+ event?: import('@blue-labs/language').BlueNode | undefined;
57
+ steps?: import('@blue-labs/language').BlueNode[] | undefined;
58
+ operation?: string | undefined;
59
+ }>;
60
+ export type SequentialWorkflowOperation = z.infer<typeof sequentialWorkflowOperationSchema>;
61
+ //# sourceMappingURL=sequential-workflow-operation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sequential-workflow-operation.d.ts","sourceRoot":"","sources":["../../../src/model/handlers/sequential-workflow-operation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;mBAUoN,CAAC;YAAkC,CAAC;;mBAAkD,CAAC;YAAkC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EALxX,CAAC;AAEL,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,iCAAiC,CACzC,CAAC"}
@@ -0,0 +1,57 @@
1
+ import { z } from 'zod';
2
+ export declare const sequentialWorkflowStepSchema: z.ZodType<import('@blue-labs/language').BlueNode, z.ZodTypeDef, import('@blue-labs/language').BlueNode>;
3
+ export type SequentialWorkflowStep = z.infer<typeof sequentialWorkflowStepSchema>;
4
+ export declare const sequentialWorkflowSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
5
+ description: z.ZodOptional<z.ZodString>;
6
+ name: z.ZodOptional<z.ZodString>;
7
+ order: z.ZodOptional<z.ZodNumber>;
8
+ }, {
9
+ channel: z.ZodOptional<z.ZodString>;
10
+ description: z.ZodOptional<z.ZodString>;
11
+ event: z.ZodOptional<z.ZodType<import('@blue-labs/language').BlueNode, z.ZodTypeDef, import('@blue-labs/language').BlueNode>>;
12
+ name: z.ZodOptional<z.ZodString>;
13
+ }>, {
14
+ description: z.ZodOptional<z.ZodString>;
15
+ name: z.ZodOptional<z.ZodString>;
16
+ steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
17
+ description: z.ZodOptional<z.ZodString>;
18
+ name: z.ZodOptional<z.ZodString>;
19
+ }, "strip", z.ZodTypeAny, {
20
+ description?: string | undefined;
21
+ name?: string | undefined;
22
+ }, {
23
+ description?: string | undefined;
24
+ name?: string | undefined;
25
+ }>, "many">>;
26
+ }>, z.objectUtil.extendShape<z.objectUtil.extendShape<{
27
+ description: z.ZodOptional<z.ZodString>;
28
+ name: z.ZodOptional<z.ZodString>;
29
+ order: z.ZodOptional<z.ZodNumber>;
30
+ }, {
31
+ channel: z.ZodOptional<z.ZodString>;
32
+ description: z.ZodOptional<z.ZodString>;
33
+ event: z.ZodOptional<z.ZodType<import('@blue-labs/language').BlueNode, z.ZodTypeDef, import('@blue-labs/language').BlueNode>>;
34
+ name: z.ZodOptional<z.ZodString>;
35
+ }>, {
36
+ description: z.ZodOptional<z.ZodString>;
37
+ name: z.ZodOptional<z.ZodString>;
38
+ order: z.ZodOptional<z.ZodNumber>;
39
+ }>>, {
40
+ steps: z.ZodOptional<z.ZodArray<z.ZodType<import('@blue-labs/language').BlueNode, z.ZodTypeDef, import('@blue-labs/language').BlueNode>, "many">>;
41
+ }>, "strip", z.ZodTypeAny, {
42
+ description?: string | undefined;
43
+ name?: string | undefined;
44
+ order?: number | undefined;
45
+ channel?: string | undefined;
46
+ event?: import('@blue-labs/language').BlueNode | undefined;
47
+ steps?: import('@blue-labs/language').BlueNode[] | undefined;
48
+ }, {
49
+ description?: string | undefined;
50
+ name?: string | undefined;
51
+ order?: number | undefined;
52
+ channel?: string | undefined;
53
+ event?: import('@blue-labs/language').BlueNode | undefined;
54
+ steps?: import('@blue-labs/language').BlueNode[] | undefined;
55
+ }>;
56
+ export type SequentialWorkflow = z.infer<typeof sequentialWorkflowSchema>;
57
+ //# sourceMappingURL=sequential-workflow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sequential-workflow.d.ts","sourceRoot":"","sources":["../../../src/model/handlers/sequential-workflow.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,4BAA4B,yGAAkB,CAAC;AAE5D,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAC1C,OAAO,4BAA4B,CACpC,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;mBAMwG,CAAC;YAAkC,CAAC;;mBAAkD,CAAC;YAAkC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAHnQ,CAAC;AAEL,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
@@ -0,0 +1,6 @@
1
+ export * from './shared/index.js';
2
+ export * from './channels/index.js';
3
+ export * from './markers/index.js';
4
+ export * from './handlers/index.js';
5
+ export * from './types.js';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/model/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,YAAY,CAAC"}
@@ -0,0 +1,40 @@
1
+ import { z } from 'zod';
2
+ export declare const channelEventCheckpointSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3
+ description: z.ZodOptional<z.ZodString>;
4
+ name: z.ZodOptional<z.ZodString>;
5
+ order: z.ZodOptional<z.ZodNumber>;
6
+ }, {
7
+ description: z.ZodOptional<z.ZodString>;
8
+ name: z.ZodOptional<z.ZodString>;
9
+ }>, {
10
+ description: z.ZodOptional<z.ZodString>;
11
+ lastEvents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('@blue-labs/language').BlueNode, z.ZodTypeDef, import('@blue-labs/language').BlueNode>>>;
12
+ name: z.ZodOptional<z.ZodString>;
13
+ }>, z.objectUtil.extendShape<z.objectUtil.extendShape<{
14
+ description: z.ZodOptional<z.ZodString>;
15
+ name: z.ZodOptional<z.ZodString>;
16
+ order: z.ZodOptional<z.ZodNumber>;
17
+ }, {
18
+ description: z.ZodOptional<z.ZodString>;
19
+ name: z.ZodOptional<z.ZodString>;
20
+ }>, {
21
+ description: z.ZodOptional<z.ZodString>;
22
+ name: z.ZodOptional<z.ZodString>;
23
+ order: z.ZodOptional<z.ZodNumber>;
24
+ }>>, {
25
+ lastSignatures: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
26
+ }>, "strip", z.ZodTypeAny, {
27
+ description?: string | undefined;
28
+ name?: string | undefined;
29
+ order?: number | undefined;
30
+ lastEvents?: Record<string, import('@blue-labs/language').BlueNode> | undefined;
31
+ lastSignatures?: Record<string, string> | undefined;
32
+ }, {
33
+ description?: string | undefined;
34
+ name?: string | undefined;
35
+ order?: number | undefined;
36
+ lastEvents?: Record<string, import('@blue-labs/language').BlueNode> | undefined;
37
+ lastSignatures?: Record<string, string> | undefined;
38
+ }>;
39
+ export type ChannelEventCheckpoint = z.infer<typeof channelEventCheckpointSchema>;
40
+ //# sourceMappingURL=channel-event-checkpoint.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"channel-event-checkpoint.d.ts","sourceRoot":"","sources":["../../../src/model/markers/channel-event-checkpoint.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGrC,CAAC;AAEL,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAC1C,OAAO,4BAA4B,CACpC,CAAC"}
@@ -0,0 +1,6 @@
1
+ export * from './channel-event-checkpoint.js';
2
+ export * from './initialization-marker.js';
3
+ export * from './process-embedded.js';
4
+ export * from './processing-terminated-marker.js';
5
+ export * from './operation.js';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/model/markers/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC;AACtC,cAAc,mCAAmC,CAAC;AAClD,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,36 @@
1
+ import { z } from 'zod';
2
+ export declare const initializationMarkerSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3
+ description: z.ZodOptional<z.ZodString>;
4
+ name: z.ZodOptional<z.ZodString>;
5
+ order: z.ZodOptional<z.ZodNumber>;
6
+ }, {
7
+ description: z.ZodOptional<z.ZodString>;
8
+ name: z.ZodOptional<z.ZodString>;
9
+ }>, {
10
+ description: z.ZodOptional<z.ZodString>;
11
+ documentId: z.ZodOptional<z.ZodString>;
12
+ name: z.ZodOptional<z.ZodString>;
13
+ }>, z.objectUtil.extendShape<z.objectUtil.extendShape<{
14
+ description: z.ZodOptional<z.ZodString>;
15
+ name: z.ZodOptional<z.ZodString>;
16
+ order: z.ZodOptional<z.ZodNumber>;
17
+ }, {
18
+ description: z.ZodOptional<z.ZodString>;
19
+ name: z.ZodOptional<z.ZodString>;
20
+ }>, {
21
+ description: z.ZodOptional<z.ZodString>;
22
+ name: z.ZodOptional<z.ZodString>;
23
+ order: z.ZodOptional<z.ZodNumber>;
24
+ }>>, "strip", z.ZodTypeAny, {
25
+ description?: string | undefined;
26
+ name?: string | undefined;
27
+ order?: number | undefined;
28
+ documentId?: string | undefined;
29
+ }, {
30
+ description?: string | undefined;
31
+ name?: string | undefined;
32
+ order?: number | undefined;
33
+ documentId?: string | undefined;
34
+ }>;
35
+ export type InitializationMarker = z.infer<typeof initializationMarkerSchema>;
36
+ //# sourceMappingURL=initialization-marker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"initialization-marker.d.ts","sourceRoot":"","sources":["../../../src/model/markers/initialization-marker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EACgC,CAAC;AAExE,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
@@ -0,0 +1,39 @@
1
+ import { z } from 'zod';
2
+ export declare const operationMarkerSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3
+ description: z.ZodOptional<z.ZodString>;
4
+ name: z.ZodOptional<z.ZodString>;
5
+ order: z.ZodOptional<z.ZodNumber>;
6
+ }, {
7
+ description: z.ZodOptional<z.ZodString>;
8
+ name: z.ZodOptional<z.ZodString>;
9
+ }>, {
10
+ channel: z.ZodOptional<z.ZodString>;
11
+ description: z.ZodOptional<z.ZodString>;
12
+ name: z.ZodOptional<z.ZodString>;
13
+ request: z.ZodOptional<z.ZodType<import('@blue-labs/language').BlueNode, z.ZodTypeDef, import('@blue-labs/language').BlueNode>>;
14
+ }>, z.objectUtil.extendShape<z.objectUtil.extendShape<{
15
+ description: z.ZodOptional<z.ZodString>;
16
+ name: z.ZodOptional<z.ZodString>;
17
+ order: z.ZodOptional<z.ZodNumber>;
18
+ }, {
19
+ description: z.ZodOptional<z.ZodString>;
20
+ name: z.ZodOptional<z.ZodString>;
21
+ }>, {
22
+ description: z.ZodOptional<z.ZodString>;
23
+ name: z.ZodOptional<z.ZodString>;
24
+ order: z.ZodOptional<z.ZodNumber>;
25
+ }>>, "strip", z.ZodTypeAny, {
26
+ description?: string | undefined;
27
+ name?: string | undefined;
28
+ order?: number | undefined;
29
+ channel?: string | undefined;
30
+ request?: import('@blue-labs/language').BlueNode | undefined;
31
+ }, {
32
+ description?: string | undefined;
33
+ name?: string | undefined;
34
+ order?: number | undefined;
35
+ channel?: string | undefined;
36
+ request?: import('@blue-labs/language').BlueNode | undefined;
37
+ }>;
38
+ export type OperationMarker = z.infer<typeof operationMarkerSchema>;
39
+ //# sourceMappingURL=operation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operation.d.ts","sourceRoot":"","sources":["../../../src/model/markers/operation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEjC,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}