@allma/core-types 1.0.6 → 1.0.7

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 (47) hide show
  1. package/dist/admin/api-schemas.d.ts +322 -60
  2. package/dist/admin/api-schemas.d.ts.map +1 -1
  3. package/dist/admin/executionMonitoring.d.ts +15 -15
  4. package/dist/admin/importExport.d.ts +4281 -1049
  5. package/dist/admin/importExport.d.ts.map +1 -1
  6. package/dist/admin/importExport.js +9 -3
  7. package/dist/admin/importExport.js.map +1 -1
  8. package/dist/flow/core.d.ts +1268 -293
  9. package/dist/flow/core.d.ts.map +1 -1
  10. package/dist/logging/payloads.d.ts +5 -5
  11. package/dist/logging/records.d.ts +305 -76
  12. package/dist/logging/records.d.ts.map +1 -1
  13. package/dist/logging/records.js +2 -2
  14. package/dist/logging/records.js.map +1 -1
  15. package/dist/steps/definitions.d.ts +695 -177
  16. package/dist/steps/definitions.d.ts.map +1 -1
  17. package/dist/steps/definitions.js +3 -3
  18. package/dist/steps/definitions.js.map +1 -1
  19. package/dist/steps/system/api-calls.d.ts +6 -0
  20. package/dist/steps/system/api-calls.d.ts.map +1 -1
  21. package/dist/steps/system/api-calls.js +1 -0
  22. package/dist/steps/system/api-calls.js.map +1 -1
  23. package/dist/steps/system/email.d.ts +24 -0
  24. package/dist/steps/system/email.d.ts.map +1 -1
  25. package/dist/steps/system/email.js +20 -4
  26. package/dist/steps/system/email.js.map +1 -1
  27. package/dist/steps/system/llm.d.ts +3 -0
  28. package/dist/steps/system/llm.d.ts.map +1 -1
  29. package/dist/steps/system/llm.js +1 -0
  30. package/dist/steps/system/llm.js.map +1 -1
  31. package/dist/steps/system/misc.d.ts +24 -15
  32. package/dist/steps/system/misc.d.ts.map +1 -1
  33. package/dist/steps/system/misc.js +9 -5
  34. package/dist/steps/system/misc.js.map +1 -1
  35. package/dist/steps/system/polling.d.ts +12 -0
  36. package/dist/steps/system/polling.d.ts.map +1 -1
  37. package/dist/steps/system/polling.js +1 -0
  38. package/dist/steps/system/polling.js.map +1 -1
  39. package/dist/steps/system/start-sub-flow.d.ts +3 -0
  40. package/dist/steps/system/start-sub-flow.d.ts.map +1 -1
  41. package/dist/steps/system/start-sub-flow.js +1 -0
  42. package/dist/steps/system/start-sub-flow.js.map +1 -1
  43. package/dist/steps/system/wait-for-event.d.ts +3 -0
  44. package/dist/steps/system/wait-for-event.d.ts.map +1 -1
  45. package/dist/steps/system/wait-for-event.js +1 -0
  46. package/dist/steps/system/wait-for-event.js.map +1 -1
  47. package/package.json +1 -1
@@ -186,6 +186,7 @@ export type CreatePromptVersionInput = z.infer<typeof CreatePromptVersionInputSc
186
186
  */
187
187
  export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodIntersection<z.ZodDiscriminatedUnion<"stepType", [z.ZodObject<{
188
188
  stepType: z.ZodLiteral<import("../index.js").StepType.LLM_INVOCATION>;
189
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
189
190
  llmProvider: z.ZodNativeEnum<typeof import("../index.js").LLMProviderType>;
190
191
  modelId: z.ZodString;
191
192
  promptTemplateId: z.ZodOptional<z.ZodString>;
@@ -249,6 +250,7 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
249
250
  }, z.ZodTypeAny, "passthrough">>>;
250
251
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
251
252
  stepType: z.ZodLiteral<import("../index.js").StepType.LLM_INVOCATION>;
253
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
252
254
  llmProvider: z.ZodNativeEnum<typeof import("../index.js").LLMProviderType>;
253
255
  modelId: z.ZodString;
254
256
  promptTemplateId: z.ZodOptional<z.ZodString>;
@@ -312,6 +314,7 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
312
314
  }, z.ZodTypeAny, "passthrough">>>;
313
315
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
314
316
  stepType: z.ZodLiteral<import("../index.js").StepType.LLM_INVOCATION>;
317
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
315
318
  llmProvider: z.ZodNativeEnum<typeof import("../index.js").LLMProviderType>;
316
319
  modelId: z.ZodString;
317
320
  promptTemplateId: z.ZodOptional<z.ZodString>;
@@ -375,27 +378,27 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
375
378
  }, z.ZodTypeAny, "passthrough">>>;
376
379
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
377
380
  stepType: z.ZodLiteral<import("../index.js").StepType.DATA_LOAD>;
378
- moduleIdentifier: z.ZodOptional<z.ZodString>;
381
+ moduleIdentifier: z.ZodString;
379
382
  customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
380
383
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
381
384
  stepType: z.ZodLiteral<import("../index.js").StepType.DATA_LOAD>;
382
- moduleIdentifier: z.ZodOptional<z.ZodString>;
385
+ moduleIdentifier: z.ZodString;
383
386
  customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
384
387
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
385
388
  stepType: z.ZodLiteral<import("../index.js").StepType.DATA_LOAD>;
386
- moduleIdentifier: z.ZodOptional<z.ZodString>;
389
+ moduleIdentifier: z.ZodString;
387
390
  customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
388
391
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
389
392
  stepType: z.ZodLiteral<import("../index.js").StepType.DATA_SAVE>;
390
- moduleIdentifier: z.ZodOptional<z.ZodString>;
393
+ moduleIdentifier: z.ZodString;
391
394
  customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
392
395
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
393
396
  stepType: z.ZodLiteral<import("../index.js").StepType.DATA_SAVE>;
394
- moduleIdentifier: z.ZodOptional<z.ZodString>;
397
+ moduleIdentifier: z.ZodString;
395
398
  customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
396
399
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
397
400
  stepType: z.ZodLiteral<import("../index.js").StepType.DATA_SAVE>;
398
- moduleIdentifier: z.ZodOptional<z.ZodString>;
401
+ moduleIdentifier: z.ZodString;
399
402
  customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
400
403
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
401
404
  stepType: z.ZodLiteral<import("../index.js").StepType.DATA_TRANSFORMATION>;
@@ -438,18 +441,19 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
438
441
  }, z.ZodTypeAny, "passthrough">>>;
439
442
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
440
443
  stepType: z.ZodLiteral<import("../index.js").StepType.CUSTOM_LOGIC>;
441
- moduleIdentifier: z.ZodOptional<z.ZodString>;
444
+ moduleIdentifier: z.ZodString;
442
445
  customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
443
446
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
444
447
  stepType: z.ZodLiteral<import("../index.js").StepType.CUSTOM_LOGIC>;
445
- moduleIdentifier: z.ZodOptional<z.ZodString>;
448
+ moduleIdentifier: z.ZodString;
446
449
  customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
447
450
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
448
451
  stepType: z.ZodLiteral<import("../index.js").StepType.CUSTOM_LOGIC>;
449
- moduleIdentifier: z.ZodOptional<z.ZodString>;
452
+ moduleIdentifier: z.ZodString;
450
453
  customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
451
454
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
452
455
  stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
456
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
453
457
  apiUrlTemplate: z.ZodObject<{
454
458
  template: z.ZodString;
455
459
  contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
@@ -551,6 +555,7 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
551
555
  }, z.ZodTypeAny, "passthrough">>>;
552
556
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
553
557
  stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
558
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
554
559
  apiUrlTemplate: z.ZodObject<{
555
560
  template: z.ZodString;
556
561
  contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
@@ -652,6 +657,7 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
652
657
  }, z.ZodTypeAny, "passthrough">>>;
653
658
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
654
659
  stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
660
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
655
661
  apiUrlTemplate: z.ZodObject<{
656
662
  template: z.ZodString;
657
663
  contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
@@ -753,56 +759,70 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
753
759
  }, z.ZodTypeAny, "passthrough">>>;
754
760
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
755
761
  stepType: z.ZodLiteral<import("../index.js").StepType.START_SUB_FLOW>;
762
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
756
763
  subFlowDefinitionId: z.ZodString;
757
764
  subFlowVersion: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"LATEST_PUBLISHED">]>>>;
758
765
  subFlowExecutionMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["SYNC", "ASYNC"]>>>;
759
766
  inputMappingsToSubFlow: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
760
767
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
761
768
  stepType: z.ZodLiteral<import("../index.js").StepType.START_SUB_FLOW>;
769
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
762
770
  subFlowDefinitionId: z.ZodString;
763
771
  subFlowVersion: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"LATEST_PUBLISHED">]>>>;
764
772
  subFlowExecutionMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["SYNC", "ASYNC"]>>>;
765
773
  inputMappingsToSubFlow: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
766
774
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
767
775
  stepType: z.ZodLiteral<import("../index.js").StepType.START_SUB_FLOW>;
776
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
768
777
  subFlowDefinitionId: z.ZodString;
769
778
  subFlowVersion: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"LATEST_PUBLISHED">]>>>;
770
779
  subFlowExecutionMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["SYNC", "ASYNC"]>>>;
771
780
  inputMappingsToSubFlow: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
772
781
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
773
782
  stepType: z.ZodLiteral<import("../index.js").StepType.NO_OP>;
783
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
774
784
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
775
785
  stepType: z.ZodLiteral<import("../index.js").StepType.NO_OP>;
786
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
776
787
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
777
788
  stepType: z.ZodLiteral<import("../index.js").StepType.NO_OP>;
789
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
778
790
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
779
791
  stepType: z.ZodLiteral<import("../index.js").StepType.END_FLOW>;
792
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
780
793
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
781
794
  stepType: z.ZodLiteral<import("../index.js").StepType.END_FLOW>;
795
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
782
796
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
783
797
  stepType: z.ZodLiteral<import("../index.js").StepType.END_FLOW>;
798
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
784
799
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
785
800
  stepType: z.ZodLiteral<import("../index.js").StepType.WAIT_FOR_EXTERNAL_EVENT>;
801
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
786
802
  correlationKeyTemplate: z.ZodString;
787
803
  promptUserMessageTemplate: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodString]>>;
788
804
  messageSenderModuleIdentifier: z.ZodOptional<z.ZodString>;
789
805
  maxWaitTimeSeconds: z.ZodOptional<z.ZodNumber>;
790
806
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
791
807
  stepType: z.ZodLiteral<import("../index.js").StepType.WAIT_FOR_EXTERNAL_EVENT>;
808
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
792
809
  correlationKeyTemplate: z.ZodString;
793
810
  promptUserMessageTemplate: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodString]>>;
794
811
  messageSenderModuleIdentifier: z.ZodOptional<z.ZodString>;
795
812
  maxWaitTimeSeconds: z.ZodOptional<z.ZodNumber>;
796
813
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
797
814
  stepType: z.ZodLiteral<import("../index.js").StepType.WAIT_FOR_EXTERNAL_EVENT>;
815
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
798
816
  correlationKeyTemplate: z.ZodString;
799
817
  promptUserMessageTemplate: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodString]>>;
800
818
  messageSenderModuleIdentifier: z.ZodOptional<z.ZodString>;
801
819
  maxWaitTimeSeconds: z.ZodOptional<z.ZodNumber>;
802
820
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
803
821
  stepType: z.ZodLiteral<import("../index.js").StepType.POLL_EXTERNAL_API>;
822
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
804
823
  apiCallDefinition: z.ZodObject<Pick<{
805
824
  stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
825
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
806
826
  apiUrlTemplate: z.ZodObject<{
807
827
  template: z.ZodString;
808
828
  contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
@@ -904,6 +924,7 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
904
924
  }, z.ZodTypeAny, "passthrough">>>;
905
925
  }, "apiHttpMethod" | "apiUrlTemplate" | "apiHeadersTemplate" | "apiStaticHeaders">, "passthrough", z.ZodTypeAny, z.objectOutputType<Pick<{
906
926
  stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
927
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
907
928
  apiUrlTemplate: z.ZodObject<{
908
929
  template: z.ZodString;
909
930
  contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
@@ -1005,6 +1026,7 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
1005
1026
  }, z.ZodTypeAny, "passthrough">>>;
1006
1027
  }, "apiHttpMethod" | "apiUrlTemplate" | "apiHeadersTemplate" | "apiStaticHeaders">, z.ZodTypeAny, "passthrough">, z.objectInputType<Pick<{
1007
1028
  stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
1029
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
1008
1030
  apiUrlTemplate: z.ZodObject<{
1009
1031
  template: z.ZodString;
1010
1032
  contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
@@ -1127,8 +1149,10 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
1127
1149
  }>;
1128
1150
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1129
1151
  stepType: z.ZodLiteral<import("../index.js").StepType.POLL_EXTERNAL_API>;
1152
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
1130
1153
  apiCallDefinition: z.ZodObject<Pick<{
1131
1154
  stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
1155
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
1132
1156
  apiUrlTemplate: z.ZodObject<{
1133
1157
  template: z.ZodString;
1134
1158
  contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
@@ -1230,6 +1254,7 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
1230
1254
  }, z.ZodTypeAny, "passthrough">>>;
1231
1255
  }, "apiHttpMethod" | "apiUrlTemplate" | "apiHeadersTemplate" | "apiStaticHeaders">, "passthrough", z.ZodTypeAny, z.objectOutputType<Pick<{
1232
1256
  stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
1257
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
1233
1258
  apiUrlTemplate: z.ZodObject<{
1234
1259
  template: z.ZodString;
1235
1260
  contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
@@ -1331,6 +1356,7 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
1331
1356
  }, z.ZodTypeAny, "passthrough">>>;
1332
1357
  }, "apiHttpMethod" | "apiUrlTemplate" | "apiHeadersTemplate" | "apiStaticHeaders">, z.ZodTypeAny, "passthrough">, z.objectInputType<Pick<{
1333
1358
  stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
1359
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
1334
1360
  apiUrlTemplate: z.ZodObject<{
1335
1361
  template: z.ZodString;
1336
1362
  contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
@@ -1453,8 +1479,10 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
1453
1479
  }>;
1454
1480
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1455
1481
  stepType: z.ZodLiteral<import("../index.js").StepType.POLL_EXTERNAL_API>;
1482
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
1456
1483
  apiCallDefinition: z.ZodObject<Pick<{
1457
1484
  stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
1485
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
1458
1486
  apiUrlTemplate: z.ZodObject<{
1459
1487
  template: z.ZodString;
1460
1488
  contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
@@ -1556,6 +1584,7 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
1556
1584
  }, z.ZodTypeAny, "passthrough">>>;
1557
1585
  }, "apiHttpMethod" | "apiUrlTemplate" | "apiHeadersTemplate" | "apiStaticHeaders">, "passthrough", z.ZodTypeAny, z.objectOutputType<Pick<{
1558
1586
  stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
1587
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
1559
1588
  apiUrlTemplate: z.ZodObject<{
1560
1589
  template: z.ZodString;
1561
1590
  contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
@@ -1657,6 +1686,7 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
1657
1686
  }, z.ZodTypeAny, "passthrough">>>;
1658
1687
  }, "apiHttpMethod" | "apiUrlTemplate" | "apiHeadersTemplate" | "apiStaticHeaders">, z.ZodTypeAny, "passthrough">, z.objectInputType<Pick<{
1659
1688
  stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
1689
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
1660
1690
  apiUrlTemplate: z.ZodObject<{
1661
1691
  template: z.ZodString;
1662
1692
  contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
@@ -1779,7 +1809,7 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
1779
1809
  }>;
1780
1810
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
1781
1811
  stepType: z.ZodLiteral<import("../index.js").StepType.CUSTOM_LAMBDA_INVOKE>;
1782
- moduleIdentifier: z.ZodOptional<z.ZodString>;
1812
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
1783
1813
  lambdaFunctionArnTemplate: z.ZodString;
1784
1814
  payloadTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1785
1815
  customConfig: z.ZodOptional<z.ZodObject<{
@@ -1791,7 +1821,7 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
1791
1821
  }, z.ZodTypeAny, "passthrough">>>;
1792
1822
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1793
1823
  stepType: z.ZodLiteral<import("../index.js").StepType.CUSTOM_LAMBDA_INVOKE>;
1794
- moduleIdentifier: z.ZodOptional<z.ZodString>;
1824
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
1795
1825
  lambdaFunctionArnTemplate: z.ZodString;
1796
1826
  payloadTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1797
1827
  customConfig: z.ZodOptional<z.ZodObject<{
@@ -1803,7 +1833,7 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
1803
1833
  }, z.ZodTypeAny, "passthrough">>>;
1804
1834
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1805
1835
  stepType: z.ZodLiteral<import("../index.js").StepType.CUSTOM_LAMBDA_INVOKE>;
1806
- moduleIdentifier: z.ZodOptional<z.ZodString>;
1836
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
1807
1837
  lambdaFunctionArnTemplate: z.ZodString;
1808
1838
  payloadTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1809
1839
  customConfig: z.ZodOptional<z.ZodObject<{
@@ -1815,6 +1845,7 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
1815
1845
  }, z.ZodTypeAny, "passthrough">>>;
1816
1846
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
1817
1847
  stepType: z.ZodLiteral<import("../index.js").StepType.PARALLEL_FORK_MANAGER>;
1848
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
1818
1849
  itemsPath: z.ZodOptional<z.ZodString>;
1819
1850
  parallelBranches: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
1820
1851
  branchId: z.ZodString;
@@ -1894,6 +1925,7 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
1894
1925
  }>>;
1895
1926
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1896
1927
  stepType: z.ZodLiteral<import("../index.js").StepType.PARALLEL_FORK_MANAGER>;
1928
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
1897
1929
  itemsPath: z.ZodOptional<z.ZodString>;
1898
1930
  parallelBranches: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
1899
1931
  branchId: z.ZodString;
@@ -1973,6 +2005,7 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
1973
2005
  }>>;
1974
2006
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1975
2007
  stepType: z.ZodLiteral<import("../index.js").StepType.PARALLEL_FORK_MANAGER>;
2008
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
1976
2009
  itemsPath: z.ZodOptional<z.ZodString>;
1977
2010
  parallelBranches: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
1978
2011
  branchId: z.ZodString;
@@ -2052,15 +2085,15 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
2052
2085
  }>>;
2053
2086
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
2054
2087
  stepType: z.ZodLiteral<import("../index.js").StepType.START_FLOW_EXECUTION>;
2055
- moduleIdentifier: z.ZodOptional<z.ZodString>;
2088
+ moduleIdentifier: z.ZodLiteral<"system/start-flow-execution">;
2056
2089
  customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2057
2090
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2058
2091
  stepType: z.ZodLiteral<import("../index.js").StepType.START_FLOW_EXECUTION>;
2059
- moduleIdentifier: z.ZodOptional<z.ZodString>;
2092
+ moduleIdentifier: z.ZodLiteral<"system/start-flow-execution">;
2060
2093
  customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2061
2094
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2062
2095
  stepType: z.ZodLiteral<import("../index.js").StepType.START_FLOW_EXECUTION>;
2063
- moduleIdentifier: z.ZodOptional<z.ZodString>;
2096
+ moduleIdentifier: z.ZodLiteral<"system/start-flow-execution">;
2064
2097
  customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2065
2098
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
2066
2099
  stepType: z.ZodLiteral<import("../index.js").StepType.MCP_CALL>;
@@ -2154,6 +2187,7 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
2154
2187
  payloadTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2155
2188
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
2156
2189
  stepType: z.ZodLiteral<import("../index.js").StepType.EMAIL>;
2190
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
2157
2191
  from: z.ZodString;
2158
2192
  to: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
2159
2193
  replyTo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
@@ -2161,6 +2195,7 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
2161
2195
  body: z.ZodString;
2162
2196
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2163
2197
  stepType: z.ZodLiteral<import("../index.js").StepType.EMAIL>;
2198
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
2164
2199
  from: z.ZodString;
2165
2200
  to: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
2166
2201
  replyTo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
@@ -2168,6 +2203,7 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
2168
2203
  body: z.ZodString;
2169
2204
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2170
2205
  stepType: z.ZodLiteral<import("../index.js").StepType.EMAIL>;
2206
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
2171
2207
  from: z.ZodString;
2172
2208
  to: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
2173
2209
  replyTo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
@@ -2239,12 +2275,44 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
2239
2275
  continueOnFailure?: boolean | undefined;
2240
2276
  }>>;
2241
2277
  literals: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2242
- }, "strip", z.ZodTypeAny, {
2243
- customConfig?: Record<string, any> | undefined;
2244
- inputMappings?: Record<string, string> | undefined;
2245
- literals?: Record<string, any> | undefined;
2246
- outputMappings?: Record<string, string> | undefined;
2247
- onError?: {
2278
+ moduleIdentifier: z.ZodOptional<z.ZodString>;
2279
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2280
+ customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2281
+ inputMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2282
+ outputMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2283
+ onError: z.ZodOptional<z.ZodObject<{
2284
+ retries: z.ZodOptional<z.ZodObject<{
2285
+ count: z.ZodDefault<z.ZodNumber>;
2286
+ intervalSeconds: z.ZodDefault<z.ZodNumber>;
2287
+ backoffRate: z.ZodDefault<z.ZodNumber>;
2288
+ errorEquals: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2289
+ }, "strip", z.ZodTypeAny, {
2290
+ count: number;
2291
+ intervalSeconds: number;
2292
+ backoffRate: number;
2293
+ errorEquals?: string[] | undefined;
2294
+ }, {
2295
+ count?: number | undefined;
2296
+ intervalSeconds?: number | undefined;
2297
+ backoffRate?: number | undefined;
2298
+ errorEquals?: string[] | undefined;
2299
+ }>>;
2300
+ retryOnContentError: z.ZodOptional<z.ZodObject<{
2301
+ count: z.ZodDefault<z.ZodNumber>;
2302
+ intervalSeconds: z.ZodDefault<z.ZodNumber>;
2303
+ backoffRate: z.ZodDefault<z.ZodNumber>;
2304
+ }, "strip", z.ZodTypeAny, {
2305
+ count: number;
2306
+ intervalSeconds: number;
2307
+ backoffRate: number;
2308
+ }, {
2309
+ count?: number | undefined;
2310
+ intervalSeconds?: number | undefined;
2311
+ backoffRate?: number | undefined;
2312
+ }>>;
2313
+ fallbackStepInstanceId: z.ZodOptional<z.ZodString>;
2314
+ continueOnFailure: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2315
+ }, "strip", z.ZodTypeAny, {
2248
2316
  continueOnFailure: boolean;
2249
2317
  retries?: {
2250
2318
  count: number;
@@ -2258,13 +2326,7 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
2258
2326
  backoffRate: number;
2259
2327
  } | undefined;
2260
2328
  fallbackStepInstanceId?: string | undefined;
2261
- } | undefined;
2262
- }, {
2263
- customConfig?: Record<string, any> | undefined;
2264
- inputMappings?: Record<string, string> | undefined;
2265
- literals?: Record<string, any> | undefined;
2266
- outputMappings?: Record<string, string> | undefined;
2267
- onError?: {
2329
+ }, {
2268
2330
  retries?: {
2269
2331
  count?: number | undefined;
2270
2332
  intervalSeconds?: number | undefined;
@@ -2278,8 +2340,77 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
2278
2340
  } | undefined;
2279
2341
  fallbackStepInstanceId?: string | undefined;
2280
2342
  continueOnFailure?: boolean | undefined;
2281
- } | undefined;
2282
- }>>, z.ZodObject<{
2343
+ }>>;
2344
+ literals: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2345
+ moduleIdentifier: z.ZodOptional<z.ZodString>;
2346
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2347
+ customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2348
+ inputMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2349
+ outputMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2350
+ onError: z.ZodOptional<z.ZodObject<{
2351
+ retries: z.ZodOptional<z.ZodObject<{
2352
+ count: z.ZodDefault<z.ZodNumber>;
2353
+ intervalSeconds: z.ZodDefault<z.ZodNumber>;
2354
+ backoffRate: z.ZodDefault<z.ZodNumber>;
2355
+ errorEquals: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2356
+ }, "strip", z.ZodTypeAny, {
2357
+ count: number;
2358
+ intervalSeconds: number;
2359
+ backoffRate: number;
2360
+ errorEquals?: string[] | undefined;
2361
+ }, {
2362
+ count?: number | undefined;
2363
+ intervalSeconds?: number | undefined;
2364
+ backoffRate?: number | undefined;
2365
+ errorEquals?: string[] | undefined;
2366
+ }>>;
2367
+ retryOnContentError: z.ZodOptional<z.ZodObject<{
2368
+ count: z.ZodDefault<z.ZodNumber>;
2369
+ intervalSeconds: z.ZodDefault<z.ZodNumber>;
2370
+ backoffRate: z.ZodDefault<z.ZodNumber>;
2371
+ }, "strip", z.ZodTypeAny, {
2372
+ count: number;
2373
+ intervalSeconds: number;
2374
+ backoffRate: number;
2375
+ }, {
2376
+ count?: number | undefined;
2377
+ intervalSeconds?: number | undefined;
2378
+ backoffRate?: number | undefined;
2379
+ }>>;
2380
+ fallbackStepInstanceId: z.ZodOptional<z.ZodString>;
2381
+ continueOnFailure: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2382
+ }, "strip", z.ZodTypeAny, {
2383
+ continueOnFailure: boolean;
2384
+ retries?: {
2385
+ count: number;
2386
+ intervalSeconds: number;
2387
+ backoffRate: number;
2388
+ errorEquals?: string[] | undefined;
2389
+ } | undefined;
2390
+ retryOnContentError?: {
2391
+ count: number;
2392
+ intervalSeconds: number;
2393
+ backoffRate: number;
2394
+ } | undefined;
2395
+ fallbackStepInstanceId?: string | undefined;
2396
+ }, {
2397
+ retries?: {
2398
+ count?: number | undefined;
2399
+ intervalSeconds?: number | undefined;
2400
+ backoffRate?: number | undefined;
2401
+ errorEquals?: string[] | undefined;
2402
+ } | undefined;
2403
+ retryOnContentError?: {
2404
+ count?: number | undefined;
2405
+ intervalSeconds?: number | undefined;
2406
+ backoffRate?: number | undefined;
2407
+ } | undefined;
2408
+ fallbackStepInstanceId?: string | undefined;
2409
+ continueOnFailure?: boolean | undefined;
2410
+ }>>;
2411
+ literals: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2412
+ moduleIdentifier: z.ZodOptional<z.ZodString>;
2413
+ }, z.ZodTypeAny, "passthrough">>>, z.ZodObject<{
2283
2414
  name: z.ZodString;
2284
2415
  description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2285
2416
  }, "strip", z.ZodTypeAny, {
@@ -2295,6 +2426,7 @@ export type CreateStepDefinitionInput = z.infer<typeof CreateStepDefinitionInput
2295
2426
  */
2296
2427
  export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodIntersection<z.ZodDiscriminatedUnion<"stepType", [z.ZodObject<{
2297
2428
  stepType: z.ZodLiteral<import("../index.js").StepType.LLM_INVOCATION>;
2429
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
2298
2430
  llmProvider: z.ZodNativeEnum<typeof import("../index.js").LLMProviderType>;
2299
2431
  modelId: z.ZodString;
2300
2432
  promptTemplateId: z.ZodOptional<z.ZodString>;
@@ -2358,6 +2490,7 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
2358
2490
  }, z.ZodTypeAny, "passthrough">>>;
2359
2491
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2360
2492
  stepType: z.ZodLiteral<import("../index.js").StepType.LLM_INVOCATION>;
2493
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
2361
2494
  llmProvider: z.ZodNativeEnum<typeof import("../index.js").LLMProviderType>;
2362
2495
  modelId: z.ZodString;
2363
2496
  promptTemplateId: z.ZodOptional<z.ZodString>;
@@ -2421,6 +2554,7 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
2421
2554
  }, z.ZodTypeAny, "passthrough">>>;
2422
2555
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2423
2556
  stepType: z.ZodLiteral<import("../index.js").StepType.LLM_INVOCATION>;
2557
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
2424
2558
  llmProvider: z.ZodNativeEnum<typeof import("../index.js").LLMProviderType>;
2425
2559
  modelId: z.ZodString;
2426
2560
  promptTemplateId: z.ZodOptional<z.ZodString>;
@@ -2484,27 +2618,27 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
2484
2618
  }, z.ZodTypeAny, "passthrough">>>;
2485
2619
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
2486
2620
  stepType: z.ZodLiteral<import("../index.js").StepType.DATA_LOAD>;
2487
- moduleIdentifier: z.ZodOptional<z.ZodString>;
2621
+ moduleIdentifier: z.ZodString;
2488
2622
  customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2489
2623
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2490
2624
  stepType: z.ZodLiteral<import("../index.js").StepType.DATA_LOAD>;
2491
- moduleIdentifier: z.ZodOptional<z.ZodString>;
2625
+ moduleIdentifier: z.ZodString;
2492
2626
  customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2493
2627
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2494
2628
  stepType: z.ZodLiteral<import("../index.js").StepType.DATA_LOAD>;
2495
- moduleIdentifier: z.ZodOptional<z.ZodString>;
2629
+ moduleIdentifier: z.ZodString;
2496
2630
  customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2497
2631
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
2498
2632
  stepType: z.ZodLiteral<import("../index.js").StepType.DATA_SAVE>;
2499
- moduleIdentifier: z.ZodOptional<z.ZodString>;
2633
+ moduleIdentifier: z.ZodString;
2500
2634
  customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2501
2635
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2502
2636
  stepType: z.ZodLiteral<import("../index.js").StepType.DATA_SAVE>;
2503
- moduleIdentifier: z.ZodOptional<z.ZodString>;
2637
+ moduleIdentifier: z.ZodString;
2504
2638
  customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2505
2639
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2506
2640
  stepType: z.ZodLiteral<import("../index.js").StepType.DATA_SAVE>;
2507
- moduleIdentifier: z.ZodOptional<z.ZodString>;
2641
+ moduleIdentifier: z.ZodString;
2508
2642
  customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2509
2643
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
2510
2644
  stepType: z.ZodLiteral<import("../index.js").StepType.DATA_TRANSFORMATION>;
@@ -2547,18 +2681,19 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
2547
2681
  }, z.ZodTypeAny, "passthrough">>>;
2548
2682
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
2549
2683
  stepType: z.ZodLiteral<import("../index.js").StepType.CUSTOM_LOGIC>;
2550
- moduleIdentifier: z.ZodOptional<z.ZodString>;
2684
+ moduleIdentifier: z.ZodString;
2551
2685
  customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2552
2686
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2553
2687
  stepType: z.ZodLiteral<import("../index.js").StepType.CUSTOM_LOGIC>;
2554
- moduleIdentifier: z.ZodOptional<z.ZodString>;
2688
+ moduleIdentifier: z.ZodString;
2555
2689
  customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2556
2690
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2557
2691
  stepType: z.ZodLiteral<import("../index.js").StepType.CUSTOM_LOGIC>;
2558
- moduleIdentifier: z.ZodOptional<z.ZodString>;
2692
+ moduleIdentifier: z.ZodString;
2559
2693
  customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2560
2694
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
2561
2695
  stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
2696
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
2562
2697
  apiUrlTemplate: z.ZodObject<{
2563
2698
  template: z.ZodString;
2564
2699
  contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
@@ -2660,6 +2795,7 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
2660
2795
  }, z.ZodTypeAny, "passthrough">>>;
2661
2796
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2662
2797
  stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
2798
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
2663
2799
  apiUrlTemplate: z.ZodObject<{
2664
2800
  template: z.ZodString;
2665
2801
  contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
@@ -2761,6 +2897,7 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
2761
2897
  }, z.ZodTypeAny, "passthrough">>>;
2762
2898
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2763
2899
  stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
2900
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
2764
2901
  apiUrlTemplate: z.ZodObject<{
2765
2902
  template: z.ZodString;
2766
2903
  contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
@@ -2862,56 +2999,70 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
2862
2999
  }, z.ZodTypeAny, "passthrough">>>;
2863
3000
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
2864
3001
  stepType: z.ZodLiteral<import("../index.js").StepType.START_SUB_FLOW>;
3002
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
2865
3003
  subFlowDefinitionId: z.ZodString;
2866
3004
  subFlowVersion: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"LATEST_PUBLISHED">]>>>;
2867
3005
  subFlowExecutionMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["SYNC", "ASYNC"]>>>;
2868
3006
  inputMappingsToSubFlow: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2869
3007
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2870
3008
  stepType: z.ZodLiteral<import("../index.js").StepType.START_SUB_FLOW>;
3009
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
2871
3010
  subFlowDefinitionId: z.ZodString;
2872
3011
  subFlowVersion: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"LATEST_PUBLISHED">]>>>;
2873
3012
  subFlowExecutionMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["SYNC", "ASYNC"]>>>;
2874
3013
  inputMappingsToSubFlow: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2875
3014
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2876
3015
  stepType: z.ZodLiteral<import("../index.js").StepType.START_SUB_FLOW>;
3016
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
2877
3017
  subFlowDefinitionId: z.ZodString;
2878
3018
  subFlowVersion: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"LATEST_PUBLISHED">]>>>;
2879
3019
  subFlowExecutionMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["SYNC", "ASYNC"]>>>;
2880
3020
  inputMappingsToSubFlow: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2881
3021
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
2882
3022
  stepType: z.ZodLiteral<import("../index.js").StepType.NO_OP>;
3023
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
2883
3024
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2884
3025
  stepType: z.ZodLiteral<import("../index.js").StepType.NO_OP>;
3026
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
2885
3027
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2886
3028
  stepType: z.ZodLiteral<import("../index.js").StepType.NO_OP>;
3029
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
2887
3030
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
2888
3031
  stepType: z.ZodLiteral<import("../index.js").StepType.END_FLOW>;
3032
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
2889
3033
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2890
3034
  stepType: z.ZodLiteral<import("../index.js").StepType.END_FLOW>;
3035
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
2891
3036
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2892
3037
  stepType: z.ZodLiteral<import("../index.js").StepType.END_FLOW>;
3038
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
2893
3039
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
2894
3040
  stepType: z.ZodLiteral<import("../index.js").StepType.WAIT_FOR_EXTERNAL_EVENT>;
3041
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
2895
3042
  correlationKeyTemplate: z.ZodString;
2896
3043
  promptUserMessageTemplate: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodString]>>;
2897
3044
  messageSenderModuleIdentifier: z.ZodOptional<z.ZodString>;
2898
3045
  maxWaitTimeSeconds: z.ZodOptional<z.ZodNumber>;
2899
3046
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2900
3047
  stepType: z.ZodLiteral<import("../index.js").StepType.WAIT_FOR_EXTERNAL_EVENT>;
3048
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
2901
3049
  correlationKeyTemplate: z.ZodString;
2902
3050
  promptUserMessageTemplate: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodString]>>;
2903
3051
  messageSenderModuleIdentifier: z.ZodOptional<z.ZodString>;
2904
3052
  maxWaitTimeSeconds: z.ZodOptional<z.ZodNumber>;
2905
3053
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2906
3054
  stepType: z.ZodLiteral<import("../index.js").StepType.WAIT_FOR_EXTERNAL_EVENT>;
3055
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
2907
3056
  correlationKeyTemplate: z.ZodString;
2908
3057
  promptUserMessageTemplate: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodString]>>;
2909
3058
  messageSenderModuleIdentifier: z.ZodOptional<z.ZodString>;
2910
3059
  maxWaitTimeSeconds: z.ZodOptional<z.ZodNumber>;
2911
3060
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
2912
3061
  stepType: z.ZodLiteral<import("../index.js").StepType.POLL_EXTERNAL_API>;
3062
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
2913
3063
  apiCallDefinition: z.ZodObject<Pick<{
2914
3064
  stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
3065
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
2915
3066
  apiUrlTemplate: z.ZodObject<{
2916
3067
  template: z.ZodString;
2917
3068
  contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
@@ -3013,6 +3164,7 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
3013
3164
  }, z.ZodTypeAny, "passthrough">>>;
3014
3165
  }, "apiHttpMethod" | "apiUrlTemplate" | "apiHeadersTemplate" | "apiStaticHeaders">, "passthrough", z.ZodTypeAny, z.objectOutputType<Pick<{
3015
3166
  stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
3167
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
3016
3168
  apiUrlTemplate: z.ZodObject<{
3017
3169
  template: z.ZodString;
3018
3170
  contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
@@ -3114,6 +3266,7 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
3114
3266
  }, z.ZodTypeAny, "passthrough">>>;
3115
3267
  }, "apiHttpMethod" | "apiUrlTemplate" | "apiHeadersTemplate" | "apiStaticHeaders">, z.ZodTypeAny, "passthrough">, z.objectInputType<Pick<{
3116
3268
  stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
3269
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
3117
3270
  apiUrlTemplate: z.ZodObject<{
3118
3271
  template: z.ZodString;
3119
3272
  contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
@@ -3236,8 +3389,10 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
3236
3389
  }>;
3237
3390
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3238
3391
  stepType: z.ZodLiteral<import("../index.js").StepType.POLL_EXTERNAL_API>;
3392
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
3239
3393
  apiCallDefinition: z.ZodObject<Pick<{
3240
3394
  stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
3395
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
3241
3396
  apiUrlTemplate: z.ZodObject<{
3242
3397
  template: z.ZodString;
3243
3398
  contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
@@ -3339,6 +3494,7 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
3339
3494
  }, z.ZodTypeAny, "passthrough">>>;
3340
3495
  }, "apiHttpMethod" | "apiUrlTemplate" | "apiHeadersTemplate" | "apiStaticHeaders">, "passthrough", z.ZodTypeAny, z.objectOutputType<Pick<{
3341
3496
  stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
3497
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
3342
3498
  apiUrlTemplate: z.ZodObject<{
3343
3499
  template: z.ZodString;
3344
3500
  contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
@@ -3440,6 +3596,7 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
3440
3596
  }, z.ZodTypeAny, "passthrough">>>;
3441
3597
  }, "apiHttpMethod" | "apiUrlTemplate" | "apiHeadersTemplate" | "apiStaticHeaders">, z.ZodTypeAny, "passthrough">, z.objectInputType<Pick<{
3442
3598
  stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
3599
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
3443
3600
  apiUrlTemplate: z.ZodObject<{
3444
3601
  template: z.ZodString;
3445
3602
  contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
@@ -3562,8 +3719,10 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
3562
3719
  }>;
3563
3720
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3564
3721
  stepType: z.ZodLiteral<import("../index.js").StepType.POLL_EXTERNAL_API>;
3722
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
3565
3723
  apiCallDefinition: z.ZodObject<Pick<{
3566
3724
  stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
3725
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
3567
3726
  apiUrlTemplate: z.ZodObject<{
3568
3727
  template: z.ZodString;
3569
3728
  contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
@@ -3665,6 +3824,7 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
3665
3824
  }, z.ZodTypeAny, "passthrough">>>;
3666
3825
  }, "apiHttpMethod" | "apiUrlTemplate" | "apiHeadersTemplate" | "apiStaticHeaders">, "passthrough", z.ZodTypeAny, z.objectOutputType<Pick<{
3667
3826
  stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
3827
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
3668
3828
  apiUrlTemplate: z.ZodObject<{
3669
3829
  template: z.ZodString;
3670
3830
  contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
@@ -3766,6 +3926,7 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
3766
3926
  }, z.ZodTypeAny, "passthrough">>>;
3767
3927
  }, "apiHttpMethod" | "apiUrlTemplate" | "apiHeadersTemplate" | "apiStaticHeaders">, z.ZodTypeAny, "passthrough">, z.objectInputType<Pick<{
3768
3928
  stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
3929
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
3769
3930
  apiUrlTemplate: z.ZodObject<{
3770
3931
  template: z.ZodString;
3771
3932
  contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
@@ -3888,7 +4049,7 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
3888
4049
  }>;
3889
4050
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
3890
4051
  stepType: z.ZodLiteral<import("../index.js").StepType.CUSTOM_LAMBDA_INVOKE>;
3891
- moduleIdentifier: z.ZodOptional<z.ZodString>;
4052
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
3892
4053
  lambdaFunctionArnTemplate: z.ZodString;
3893
4054
  payloadTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3894
4055
  customConfig: z.ZodOptional<z.ZodObject<{
@@ -3900,7 +4061,7 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
3900
4061
  }, z.ZodTypeAny, "passthrough">>>;
3901
4062
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3902
4063
  stepType: z.ZodLiteral<import("../index.js").StepType.CUSTOM_LAMBDA_INVOKE>;
3903
- moduleIdentifier: z.ZodOptional<z.ZodString>;
4064
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
3904
4065
  lambdaFunctionArnTemplate: z.ZodString;
3905
4066
  payloadTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3906
4067
  customConfig: z.ZodOptional<z.ZodObject<{
@@ -3912,7 +4073,7 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
3912
4073
  }, z.ZodTypeAny, "passthrough">>>;
3913
4074
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3914
4075
  stepType: z.ZodLiteral<import("../index.js").StepType.CUSTOM_LAMBDA_INVOKE>;
3915
- moduleIdentifier: z.ZodOptional<z.ZodString>;
4076
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
3916
4077
  lambdaFunctionArnTemplate: z.ZodString;
3917
4078
  payloadTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3918
4079
  customConfig: z.ZodOptional<z.ZodObject<{
@@ -3924,6 +4085,7 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
3924
4085
  }, z.ZodTypeAny, "passthrough">>>;
3925
4086
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
3926
4087
  stepType: z.ZodLiteral<import("../index.js").StepType.PARALLEL_FORK_MANAGER>;
4088
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
3927
4089
  itemsPath: z.ZodOptional<z.ZodString>;
3928
4090
  parallelBranches: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
3929
4091
  branchId: z.ZodString;
@@ -4003,6 +4165,7 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
4003
4165
  }>>;
4004
4166
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4005
4167
  stepType: z.ZodLiteral<import("../index.js").StepType.PARALLEL_FORK_MANAGER>;
4168
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
4006
4169
  itemsPath: z.ZodOptional<z.ZodString>;
4007
4170
  parallelBranches: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
4008
4171
  branchId: z.ZodString;
@@ -4082,6 +4245,7 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
4082
4245
  }>>;
4083
4246
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4084
4247
  stepType: z.ZodLiteral<import("../index.js").StepType.PARALLEL_FORK_MANAGER>;
4248
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
4085
4249
  itemsPath: z.ZodOptional<z.ZodString>;
4086
4250
  parallelBranches: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
4087
4251
  branchId: z.ZodString;
@@ -4161,15 +4325,15 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
4161
4325
  }>>;
4162
4326
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
4163
4327
  stepType: z.ZodLiteral<import("../index.js").StepType.START_FLOW_EXECUTION>;
4164
- moduleIdentifier: z.ZodOptional<z.ZodString>;
4328
+ moduleIdentifier: z.ZodLiteral<"system/start-flow-execution">;
4165
4329
  customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4166
4330
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4167
4331
  stepType: z.ZodLiteral<import("../index.js").StepType.START_FLOW_EXECUTION>;
4168
- moduleIdentifier: z.ZodOptional<z.ZodString>;
4332
+ moduleIdentifier: z.ZodLiteral<"system/start-flow-execution">;
4169
4333
  customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4170
4334
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4171
4335
  stepType: z.ZodLiteral<import("../index.js").StepType.START_FLOW_EXECUTION>;
4172
- moduleIdentifier: z.ZodOptional<z.ZodString>;
4336
+ moduleIdentifier: z.ZodLiteral<"system/start-flow-execution">;
4173
4337
  customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4174
4338
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
4175
4339
  stepType: z.ZodLiteral<import("../index.js").StepType.MCP_CALL>;
@@ -4263,6 +4427,7 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
4263
4427
  payloadTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4264
4428
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
4265
4429
  stepType: z.ZodLiteral<import("../index.js").StepType.EMAIL>;
4430
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
4266
4431
  from: z.ZodString;
4267
4432
  to: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
4268
4433
  replyTo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
@@ -4270,6 +4435,7 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
4270
4435
  body: z.ZodString;
4271
4436
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4272
4437
  stepType: z.ZodLiteral<import("../index.js").StepType.EMAIL>;
4438
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
4273
4439
  from: z.ZodString;
4274
4440
  to: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
4275
4441
  replyTo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
@@ -4277,6 +4443,7 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
4277
4443
  body: z.ZodString;
4278
4444
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4279
4445
  stepType: z.ZodLiteral<import("../index.js").StepType.EMAIL>;
4446
+ moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
4280
4447
  from: z.ZodString;
4281
4448
  to: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
4282
4449
  replyTo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
@@ -4348,12 +4515,44 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
4348
4515
  continueOnFailure?: boolean | undefined;
4349
4516
  }>>;
4350
4517
  literals: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4351
- }, "strip", z.ZodTypeAny, {
4352
- customConfig?: Record<string, any> | undefined;
4353
- inputMappings?: Record<string, string> | undefined;
4354
- literals?: Record<string, any> | undefined;
4355
- outputMappings?: Record<string, string> | undefined;
4356
- onError?: {
4518
+ moduleIdentifier: z.ZodOptional<z.ZodString>;
4519
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4520
+ customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4521
+ inputMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4522
+ outputMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4523
+ onError: z.ZodOptional<z.ZodObject<{
4524
+ retries: z.ZodOptional<z.ZodObject<{
4525
+ count: z.ZodDefault<z.ZodNumber>;
4526
+ intervalSeconds: z.ZodDefault<z.ZodNumber>;
4527
+ backoffRate: z.ZodDefault<z.ZodNumber>;
4528
+ errorEquals: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4529
+ }, "strip", z.ZodTypeAny, {
4530
+ count: number;
4531
+ intervalSeconds: number;
4532
+ backoffRate: number;
4533
+ errorEquals?: string[] | undefined;
4534
+ }, {
4535
+ count?: number | undefined;
4536
+ intervalSeconds?: number | undefined;
4537
+ backoffRate?: number | undefined;
4538
+ errorEquals?: string[] | undefined;
4539
+ }>>;
4540
+ retryOnContentError: z.ZodOptional<z.ZodObject<{
4541
+ count: z.ZodDefault<z.ZodNumber>;
4542
+ intervalSeconds: z.ZodDefault<z.ZodNumber>;
4543
+ backoffRate: z.ZodDefault<z.ZodNumber>;
4544
+ }, "strip", z.ZodTypeAny, {
4545
+ count: number;
4546
+ intervalSeconds: number;
4547
+ backoffRate: number;
4548
+ }, {
4549
+ count?: number | undefined;
4550
+ intervalSeconds?: number | undefined;
4551
+ backoffRate?: number | undefined;
4552
+ }>>;
4553
+ fallbackStepInstanceId: z.ZodOptional<z.ZodString>;
4554
+ continueOnFailure: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
4555
+ }, "strip", z.ZodTypeAny, {
4357
4556
  continueOnFailure: boolean;
4358
4557
  retries?: {
4359
4558
  count: number;
@@ -4367,13 +4566,7 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
4367
4566
  backoffRate: number;
4368
4567
  } | undefined;
4369
4568
  fallbackStepInstanceId?: string | undefined;
4370
- } | undefined;
4371
- }, {
4372
- customConfig?: Record<string, any> | undefined;
4373
- inputMappings?: Record<string, string> | undefined;
4374
- literals?: Record<string, any> | undefined;
4375
- outputMappings?: Record<string, string> | undefined;
4376
- onError?: {
4569
+ }, {
4377
4570
  retries?: {
4378
4571
  count?: number | undefined;
4379
4572
  intervalSeconds?: number | undefined;
@@ -4387,8 +4580,77 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodInt
4387
4580
  } | undefined;
4388
4581
  fallbackStepInstanceId?: string | undefined;
4389
4582
  continueOnFailure?: boolean | undefined;
4390
- } | undefined;
4391
- }>>, z.ZodObject<{
4583
+ }>>;
4584
+ literals: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4585
+ moduleIdentifier: z.ZodOptional<z.ZodString>;
4586
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4587
+ customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4588
+ inputMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4589
+ outputMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4590
+ onError: z.ZodOptional<z.ZodObject<{
4591
+ retries: z.ZodOptional<z.ZodObject<{
4592
+ count: z.ZodDefault<z.ZodNumber>;
4593
+ intervalSeconds: z.ZodDefault<z.ZodNumber>;
4594
+ backoffRate: z.ZodDefault<z.ZodNumber>;
4595
+ errorEquals: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4596
+ }, "strip", z.ZodTypeAny, {
4597
+ count: number;
4598
+ intervalSeconds: number;
4599
+ backoffRate: number;
4600
+ errorEquals?: string[] | undefined;
4601
+ }, {
4602
+ count?: number | undefined;
4603
+ intervalSeconds?: number | undefined;
4604
+ backoffRate?: number | undefined;
4605
+ errorEquals?: string[] | undefined;
4606
+ }>>;
4607
+ retryOnContentError: z.ZodOptional<z.ZodObject<{
4608
+ count: z.ZodDefault<z.ZodNumber>;
4609
+ intervalSeconds: z.ZodDefault<z.ZodNumber>;
4610
+ backoffRate: z.ZodDefault<z.ZodNumber>;
4611
+ }, "strip", z.ZodTypeAny, {
4612
+ count: number;
4613
+ intervalSeconds: number;
4614
+ backoffRate: number;
4615
+ }, {
4616
+ count?: number | undefined;
4617
+ intervalSeconds?: number | undefined;
4618
+ backoffRate?: number | undefined;
4619
+ }>>;
4620
+ fallbackStepInstanceId: z.ZodOptional<z.ZodString>;
4621
+ continueOnFailure: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
4622
+ }, "strip", z.ZodTypeAny, {
4623
+ continueOnFailure: boolean;
4624
+ retries?: {
4625
+ count: number;
4626
+ intervalSeconds: number;
4627
+ backoffRate: number;
4628
+ errorEquals?: string[] | undefined;
4629
+ } | undefined;
4630
+ retryOnContentError?: {
4631
+ count: number;
4632
+ intervalSeconds: number;
4633
+ backoffRate: number;
4634
+ } | undefined;
4635
+ fallbackStepInstanceId?: string | undefined;
4636
+ }, {
4637
+ retries?: {
4638
+ count?: number | undefined;
4639
+ intervalSeconds?: number | undefined;
4640
+ backoffRate?: number | undefined;
4641
+ errorEquals?: string[] | undefined;
4642
+ } | undefined;
4643
+ retryOnContentError?: {
4644
+ count?: number | undefined;
4645
+ intervalSeconds?: number | undefined;
4646
+ backoffRate?: number | undefined;
4647
+ } | undefined;
4648
+ fallbackStepInstanceId?: string | undefined;
4649
+ continueOnFailure?: boolean | undefined;
4650
+ }>>;
4651
+ literals: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4652
+ moduleIdentifier: z.ZodOptional<z.ZodString>;
4653
+ }, z.ZodTypeAny, "passthrough">>>, z.ZodObject<{
4392
4654
  name: z.ZodString;
4393
4655
  description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4394
4656
  }, "strip", z.ZodTypeAny, {