@allma/core-types 1.1.1 → 1.1.3

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 (53) hide show
  1. package/dist/admin/api-schemas.d.ts +760 -20
  2. package/dist/admin/api-schemas.d.ts.map +1 -1
  3. package/dist/admin/endpoints.d.ts +2 -0
  4. package/dist/admin/endpoints.d.ts.map +1 -1
  5. package/dist/admin/endpoints.js +3 -0
  6. package/dist/admin/endpoints.js.map +1 -1
  7. package/dist/admin/executionMonitoring.d.ts +339 -227
  8. package/dist/admin/executionMonitoring.d.ts.map +1 -1
  9. package/dist/admin/executionMonitoring.js +8 -3
  10. package/dist/admin/executionMonitoring.js.map +1 -1
  11. package/dist/common/enums.d.ts +2 -1
  12. package/dist/common/enums.d.ts.map +1 -1
  13. package/dist/common/enums.js +1 -0
  14. package/dist/common/enums.js.map +1 -1
  15. package/dist/common/shared.d.ts +0 -1
  16. package/dist/common/shared.d.ts.map +1 -1
  17. package/dist/common/shared.js +0 -1
  18. package/dist/common/shared.js.map +1 -1
  19. package/dist/flow/triggers.d.ts +31 -0
  20. package/dist/flow/triggers.d.ts.map +1 -1
  21. package/dist/flow/triggers.js +8 -0
  22. package/dist/flow/triggers.js.map +1 -1
  23. package/dist/logging/events.d.ts +3 -3
  24. package/dist/logging/events.js +1 -1
  25. package/dist/logging/events.js.map +1 -1
  26. package/dist/logging/payloads.d.ts +3 -3
  27. package/dist/logging/records.d.ts +721 -35
  28. package/dist/logging/records.d.ts.map +1 -1
  29. package/dist/runtime/core.d.ts +140 -45
  30. package/dist/runtime/core.d.ts.map +1 -1
  31. package/dist/runtime/core.js +12 -2
  32. package/dist/runtime/core.js.map +1 -1
  33. package/dist/steps/definitions.d.ts +1916 -50
  34. package/dist/steps/definitions.d.ts.map +1 -1
  35. package/dist/steps/definitions.js +2 -0
  36. package/dist/steps/definitions.js.map +1 -1
  37. package/dist/steps/system/email.d.ts +48 -0
  38. package/dist/steps/system/email.d.ts.map +1 -1
  39. package/dist/steps/system/email.js +8 -4
  40. package/dist/steps/system/email.js.map +1 -1
  41. package/dist/steps/system/llm.d.ts +225 -0
  42. package/dist/steps/system/llm.d.ts.map +1 -1
  43. package/dist/steps/system/llm.js +9 -0
  44. package/dist/steps/system/llm.js.map +1 -1
  45. package/dist/steps/system/misc.d.ts +27 -3
  46. package/dist/steps/system/misc.d.ts.map +1 -1
  47. package/dist/steps/system/misc.js +5 -2
  48. package/dist/steps/system/misc.js.map +1 -1
  49. package/dist/steps/system/start-points.d.ts +3 -3
  50. package/dist/steps/system/start-points.d.ts.map +1 -1
  51. package/dist/steps/system/start-points.js +18 -3
  52. package/dist/steps/system/start-points.js.map +1 -1
  53. package/package.json +1 -1
@@ -192,6 +192,62 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
192
192
  moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
193
193
  llmProvider: z.ZodNativeEnum<typeof import("../index.js").LLMProviderType>;
194
194
  modelId: z.ZodString;
195
+ fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
196
+ llmProvider: z.ZodNativeEnum<typeof import("../index.js").LLMProviderType>;
197
+ modelId: z.ZodString;
198
+ inferenceParameters: z.ZodOptional<z.ZodObject<{
199
+ temperature: z.ZodOptional<z.ZodNumber>;
200
+ maxOutputTokens: z.ZodOptional<z.ZodNumber>;
201
+ topP: z.ZodOptional<z.ZodNumber>;
202
+ topK: z.ZodOptional<z.ZodNumber>;
203
+ seed: z.ZodOptional<z.ZodNumber>;
204
+ }, "strip", z.ZodTypeAny, {
205
+ temperature?: number | undefined;
206
+ maxOutputTokens?: number | undefined;
207
+ topP?: number | undefined;
208
+ topK?: number | undefined;
209
+ seed?: number | undefined;
210
+ }, {
211
+ temperature?: number | undefined;
212
+ maxOutputTokens?: number | undefined;
213
+ topP?: number | undefined;
214
+ topK?: number | undefined;
215
+ seed?: number | undefined;
216
+ }>>;
217
+ customConfig: z.ZodOptional<z.ZodObject<{
218
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
219
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
220
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
221
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
222
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
223
+ }, z.ZodTypeAny, "passthrough">>>;
224
+ }, "strip", z.ZodTypeAny, {
225
+ llmProvider: import("../index.js").LLMProviderType;
226
+ modelId: string;
227
+ customConfig?: z.objectOutputType<{
228
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
229
+ }, z.ZodTypeAny, "passthrough"> | undefined;
230
+ inferenceParameters?: {
231
+ temperature?: number | undefined;
232
+ maxOutputTokens?: number | undefined;
233
+ topP?: number | undefined;
234
+ topK?: number | undefined;
235
+ seed?: number | undefined;
236
+ } | undefined;
237
+ }, {
238
+ llmProvider: import("../index.js").LLMProviderType;
239
+ modelId: string;
240
+ customConfig?: z.objectInputType<{
241
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
242
+ }, z.ZodTypeAny, "passthrough"> | undefined;
243
+ inferenceParameters?: {
244
+ temperature?: number | undefined;
245
+ maxOutputTokens?: number | undefined;
246
+ topP?: number | undefined;
247
+ topK?: number | undefined;
248
+ seed?: number | undefined;
249
+ } | undefined;
250
+ }>, "many">>;
195
251
  promptTemplateId: z.ZodOptional<z.ZodString>;
196
252
  templateContextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
197
253
  sourceJsonPath: z.ZodString;
@@ -256,6 +312,62 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
256
312
  moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
257
313
  llmProvider: z.ZodNativeEnum<typeof import("../index.js").LLMProviderType>;
258
314
  modelId: z.ZodString;
315
+ fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
316
+ llmProvider: z.ZodNativeEnum<typeof import("../index.js").LLMProviderType>;
317
+ modelId: z.ZodString;
318
+ inferenceParameters: z.ZodOptional<z.ZodObject<{
319
+ temperature: z.ZodOptional<z.ZodNumber>;
320
+ maxOutputTokens: z.ZodOptional<z.ZodNumber>;
321
+ topP: z.ZodOptional<z.ZodNumber>;
322
+ topK: z.ZodOptional<z.ZodNumber>;
323
+ seed: z.ZodOptional<z.ZodNumber>;
324
+ }, "strip", z.ZodTypeAny, {
325
+ temperature?: number | undefined;
326
+ maxOutputTokens?: number | undefined;
327
+ topP?: number | undefined;
328
+ topK?: number | undefined;
329
+ seed?: number | undefined;
330
+ }, {
331
+ temperature?: number | undefined;
332
+ maxOutputTokens?: number | undefined;
333
+ topP?: number | undefined;
334
+ topK?: number | undefined;
335
+ seed?: number | undefined;
336
+ }>>;
337
+ customConfig: z.ZodOptional<z.ZodObject<{
338
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
339
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
340
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
341
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
342
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
343
+ }, z.ZodTypeAny, "passthrough">>>;
344
+ }, "strip", z.ZodTypeAny, {
345
+ llmProvider: import("../index.js").LLMProviderType;
346
+ modelId: string;
347
+ customConfig?: z.objectOutputType<{
348
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
349
+ }, z.ZodTypeAny, "passthrough"> | undefined;
350
+ inferenceParameters?: {
351
+ temperature?: number | undefined;
352
+ maxOutputTokens?: number | undefined;
353
+ topP?: number | undefined;
354
+ topK?: number | undefined;
355
+ seed?: number | undefined;
356
+ } | undefined;
357
+ }, {
358
+ llmProvider: import("../index.js").LLMProviderType;
359
+ modelId: string;
360
+ customConfig?: z.objectInputType<{
361
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
362
+ }, z.ZodTypeAny, "passthrough"> | undefined;
363
+ inferenceParameters?: {
364
+ temperature?: number | undefined;
365
+ maxOutputTokens?: number | undefined;
366
+ topP?: number | undefined;
367
+ topK?: number | undefined;
368
+ seed?: number | undefined;
369
+ } | undefined;
370
+ }>, "many">>;
259
371
  promptTemplateId: z.ZodOptional<z.ZodString>;
260
372
  templateContextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
261
373
  sourceJsonPath: z.ZodString;
@@ -320,6 +432,62 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
320
432
  moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
321
433
  llmProvider: z.ZodNativeEnum<typeof import("../index.js").LLMProviderType>;
322
434
  modelId: z.ZodString;
435
+ fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
436
+ llmProvider: z.ZodNativeEnum<typeof import("../index.js").LLMProviderType>;
437
+ modelId: z.ZodString;
438
+ inferenceParameters: z.ZodOptional<z.ZodObject<{
439
+ temperature: z.ZodOptional<z.ZodNumber>;
440
+ maxOutputTokens: z.ZodOptional<z.ZodNumber>;
441
+ topP: z.ZodOptional<z.ZodNumber>;
442
+ topK: z.ZodOptional<z.ZodNumber>;
443
+ seed: z.ZodOptional<z.ZodNumber>;
444
+ }, "strip", z.ZodTypeAny, {
445
+ temperature?: number | undefined;
446
+ maxOutputTokens?: number | undefined;
447
+ topP?: number | undefined;
448
+ topK?: number | undefined;
449
+ seed?: number | undefined;
450
+ }, {
451
+ temperature?: number | undefined;
452
+ maxOutputTokens?: number | undefined;
453
+ topP?: number | undefined;
454
+ topK?: number | undefined;
455
+ seed?: number | undefined;
456
+ }>>;
457
+ customConfig: z.ZodOptional<z.ZodObject<{
458
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
459
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
460
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
461
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
462
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
463
+ }, z.ZodTypeAny, "passthrough">>>;
464
+ }, "strip", z.ZodTypeAny, {
465
+ llmProvider: import("../index.js").LLMProviderType;
466
+ modelId: string;
467
+ customConfig?: z.objectOutputType<{
468
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
469
+ }, z.ZodTypeAny, "passthrough"> | undefined;
470
+ inferenceParameters?: {
471
+ temperature?: number | undefined;
472
+ maxOutputTokens?: number | undefined;
473
+ topP?: number | undefined;
474
+ topK?: number | undefined;
475
+ seed?: number | undefined;
476
+ } | undefined;
477
+ }, {
478
+ llmProvider: import("../index.js").LLMProviderType;
479
+ modelId: string;
480
+ customConfig?: z.objectInputType<{
481
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
482
+ }, z.ZodTypeAny, "passthrough"> | undefined;
483
+ inferenceParameters?: {
484
+ temperature?: number | undefined;
485
+ maxOutputTokens?: number | undefined;
486
+ topP?: number | undefined;
487
+ topK?: number | undefined;
488
+ seed?: number | undefined;
489
+ } | undefined;
490
+ }>, "many">>;
323
491
  promptTemplateId: z.ZodOptional<z.ZodString>;
324
492
  templateContextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
325
493
  sourceJsonPath: z.ZodString;
@@ -2062,15 +2230,39 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
2062
2230
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
2063
2231
  stepType: z.ZodLiteral<import("../index.js").StepType.START_FLOW_EXECUTION>;
2064
2232
  moduleIdentifier: z.ZodLiteral<"system/start-flow-execution">;
2065
- customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2233
+ flowDefinitionId: z.ZodString;
2234
+ flowVersion: z.ZodDefault<z.ZodOptional<z.ZodString>>;
2235
+ customConfig: z.ZodOptional<z.ZodObject<{
2236
+ sync: z.ZodOptional<z.ZodBoolean>;
2237
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2238
+ sync: z.ZodOptional<z.ZodBoolean>;
2239
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2240
+ sync: z.ZodOptional<z.ZodBoolean>;
2241
+ }, z.ZodTypeAny, "passthrough">>>;
2066
2242
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2067
2243
  stepType: z.ZodLiteral<import("../index.js").StepType.START_FLOW_EXECUTION>;
2068
2244
  moduleIdentifier: z.ZodLiteral<"system/start-flow-execution">;
2069
- customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2245
+ flowDefinitionId: z.ZodString;
2246
+ flowVersion: z.ZodDefault<z.ZodOptional<z.ZodString>>;
2247
+ customConfig: z.ZodOptional<z.ZodObject<{
2248
+ sync: z.ZodOptional<z.ZodBoolean>;
2249
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2250
+ sync: z.ZodOptional<z.ZodBoolean>;
2251
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2252
+ sync: z.ZodOptional<z.ZodBoolean>;
2253
+ }, z.ZodTypeAny, "passthrough">>>;
2070
2254
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2071
2255
  stepType: z.ZodLiteral<import("../index.js").StepType.START_FLOW_EXECUTION>;
2072
2256
  moduleIdentifier: z.ZodLiteral<"system/start-flow-execution">;
2073
- customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2257
+ flowDefinitionId: z.ZodString;
2258
+ flowVersion: z.ZodDefault<z.ZodOptional<z.ZodString>>;
2259
+ customConfig: z.ZodOptional<z.ZodObject<{
2260
+ sync: z.ZodOptional<z.ZodBoolean>;
2261
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2262
+ sync: z.ZodOptional<z.ZodBoolean>;
2263
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2264
+ sync: z.ZodOptional<z.ZodBoolean>;
2265
+ }, z.ZodTypeAny, "passthrough">>>;
2074
2266
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
2075
2267
  stepType: z.ZodLiteral<import("../index.js").StepType.MCP_CALL>;
2076
2268
  mcpConnectionId: z.ZodString;
@@ -2130,17 +2322,17 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
2130
2322
  messageAttributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2131
2323
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
2132
2324
  stepType: z.ZodLiteral<import("../index.js").StepType.EMAIL_START_POINT>;
2133
- emailAddress: z.ZodString;
2325
+ emailAddress: z.ZodEffects<z.ZodString, string, string>;
2134
2326
  triggerMessagePattern: z.ZodOptional<z.ZodString>;
2135
2327
  keyword: z.ZodOptional<z.ZodString>;
2136
2328
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2137
2329
  stepType: z.ZodLiteral<import("../index.js").StepType.EMAIL_START_POINT>;
2138
- emailAddress: z.ZodString;
2330
+ emailAddress: z.ZodEffects<z.ZodString, string, string>;
2139
2331
  triggerMessagePattern: z.ZodOptional<z.ZodString>;
2140
2332
  keyword: z.ZodOptional<z.ZodString>;
2141
2333
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2142
2334
  stepType: z.ZodLiteral<import("../index.js").StepType.EMAIL_START_POINT>;
2143
- emailAddress: z.ZodString;
2335
+ emailAddress: z.ZodEffects<z.ZodString, string, string>;
2144
2336
  triggerMessagePattern: z.ZodOptional<z.ZodString>;
2145
2337
  keyword: z.ZodOptional<z.ZodString>;
2146
2338
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
@@ -2172,6 +2364,16 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
2172
2364
  replyTo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2173
2365
  subject: z.ZodString;
2174
2366
  body: z.ZodString;
2367
+ customHeaders: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
2368
+ name: z.ZodString;
2369
+ value: z.ZodString;
2370
+ }, "strip", z.ZodTypeAny, {
2371
+ value: string;
2372
+ name: string;
2373
+ }, {
2374
+ value: string;
2375
+ name: string;
2376
+ }>, "many">, z.ZodString]>>;
2175
2377
  attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
2176
2378
  filename: z.ZodString;
2177
2379
  s3Pointer: z.ZodObject<{
@@ -2219,6 +2421,16 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
2219
2421
  replyTo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2220
2422
  subject: z.ZodString;
2221
2423
  body: z.ZodString;
2424
+ customHeaders: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
2425
+ name: z.ZodString;
2426
+ value: z.ZodString;
2427
+ }, "strip", z.ZodTypeAny, {
2428
+ value: string;
2429
+ name: string;
2430
+ }, {
2431
+ value: string;
2432
+ name: string;
2433
+ }>, "many">, z.ZodString]>>;
2222
2434
  attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
2223
2435
  filename: z.ZodString;
2224
2436
  s3Pointer: z.ZodObject<{
@@ -2266,6 +2478,16 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
2266
2478
  replyTo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2267
2479
  subject: z.ZodString;
2268
2480
  body: z.ZodString;
2481
+ customHeaders: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
2482
+ name: z.ZodString;
2483
+ value: z.ZodString;
2484
+ }, "strip", z.ZodTypeAny, {
2485
+ value: string;
2486
+ name: string;
2487
+ }, {
2488
+ value: string;
2489
+ name: string;
2490
+ }>, "many">, z.ZodString]>>;
2269
2491
  attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
2270
2492
  filename: z.ZodString;
2271
2493
  s3Pointer: z.ZodObject<{
@@ -2664,6 +2886,62 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
2664
2886
  moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
2665
2887
  llmProvider: z.ZodNativeEnum<typeof import("../index.js").LLMProviderType>;
2666
2888
  modelId: z.ZodString;
2889
+ fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
2890
+ llmProvider: z.ZodNativeEnum<typeof import("../index.js").LLMProviderType>;
2891
+ modelId: z.ZodString;
2892
+ inferenceParameters: z.ZodOptional<z.ZodObject<{
2893
+ temperature: z.ZodOptional<z.ZodNumber>;
2894
+ maxOutputTokens: z.ZodOptional<z.ZodNumber>;
2895
+ topP: z.ZodOptional<z.ZodNumber>;
2896
+ topK: z.ZodOptional<z.ZodNumber>;
2897
+ seed: z.ZodOptional<z.ZodNumber>;
2898
+ }, "strip", z.ZodTypeAny, {
2899
+ temperature?: number | undefined;
2900
+ maxOutputTokens?: number | undefined;
2901
+ topP?: number | undefined;
2902
+ topK?: number | undefined;
2903
+ seed?: number | undefined;
2904
+ }, {
2905
+ temperature?: number | undefined;
2906
+ maxOutputTokens?: number | undefined;
2907
+ topP?: number | undefined;
2908
+ topK?: number | undefined;
2909
+ seed?: number | undefined;
2910
+ }>>;
2911
+ customConfig: z.ZodOptional<z.ZodObject<{
2912
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
2913
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2914
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
2915
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2916
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
2917
+ }, z.ZodTypeAny, "passthrough">>>;
2918
+ }, "strip", z.ZodTypeAny, {
2919
+ llmProvider: import("../index.js").LLMProviderType;
2920
+ modelId: string;
2921
+ customConfig?: z.objectOutputType<{
2922
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
2923
+ }, z.ZodTypeAny, "passthrough"> | undefined;
2924
+ inferenceParameters?: {
2925
+ temperature?: number | undefined;
2926
+ maxOutputTokens?: number | undefined;
2927
+ topP?: number | undefined;
2928
+ topK?: number | undefined;
2929
+ seed?: number | undefined;
2930
+ } | undefined;
2931
+ }, {
2932
+ llmProvider: import("../index.js").LLMProviderType;
2933
+ modelId: string;
2934
+ customConfig?: z.objectInputType<{
2935
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
2936
+ }, z.ZodTypeAny, "passthrough"> | undefined;
2937
+ inferenceParameters?: {
2938
+ temperature?: number | undefined;
2939
+ maxOutputTokens?: number | undefined;
2940
+ topP?: number | undefined;
2941
+ topK?: number | undefined;
2942
+ seed?: number | undefined;
2943
+ } | undefined;
2944
+ }>, "many">>;
2667
2945
  promptTemplateId: z.ZodOptional<z.ZodString>;
2668
2946
  templateContextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
2669
2947
  sourceJsonPath: z.ZodString;
@@ -2734,6 +3012,16 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
2734
3012
  replyTo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2735
3013
  subject: z.ZodString;
2736
3014
  body: z.ZodString;
3015
+ customHeaders: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
3016
+ name: z.ZodString;
3017
+ value: z.ZodString;
3018
+ }, "strip", z.ZodTypeAny, {
3019
+ value: string;
3020
+ name: string;
3021
+ }, {
3022
+ value: string;
3023
+ name: string;
3024
+ }>, "many">, z.ZodString]>>;
2737
3025
  attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
2738
3026
  filename: z.ZodString;
2739
3027
  s3Pointer: z.ZodObject<{
@@ -3240,14 +3528,22 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
3240
3528
  }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
3241
3529
  stepType: z.ZodLiteral<import("../index.js").StepType.START_FLOW_EXECUTION>;
3242
3530
  moduleIdentifier: z.ZodLiteral<"system/start-flow-execution">;
3243
- customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3531
+ flowDefinitionId: z.ZodString;
3532
+ flowVersion: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3533
+ customConfig: z.ZodOptional<z.ZodObject<{
3534
+ sync: z.ZodOptional<z.ZodBoolean>;
3535
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3536
+ sync: z.ZodOptional<z.ZodBoolean>;
3537
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3538
+ sync: z.ZodOptional<z.ZodBoolean>;
3539
+ }, z.ZodTypeAny, "passthrough">>>;
3244
3540
  }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
3245
3541
  stepType: z.ZodLiteral<import("../index.js").StepType.DATA_TRANSFORMATION>;
3246
3542
  moduleIdentifier: z.ZodString;
3247
3543
  customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3248
3544
  }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
3249
3545
  stepType: z.ZodLiteral<import("../index.js").StepType.EMAIL_START_POINT>;
3250
- emailAddress: z.ZodString;
3546
+ emailAddress: z.ZodEffects<z.ZodString, string, string>;
3251
3547
  triggerMessagePattern: z.ZodOptional<z.ZodString>;
3252
3548
  keyword: z.ZodOptional<z.ZodString>;
3253
3549
  }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
@@ -3410,6 +3706,62 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
3410
3706
  moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
3411
3707
  llmProvider: z.ZodNativeEnum<typeof import("../index.js").LLMProviderType>;
3412
3708
  modelId: z.ZodString;
3709
+ fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
3710
+ llmProvider: z.ZodNativeEnum<typeof import("../index.js").LLMProviderType>;
3711
+ modelId: z.ZodString;
3712
+ inferenceParameters: z.ZodOptional<z.ZodObject<{
3713
+ temperature: z.ZodOptional<z.ZodNumber>;
3714
+ maxOutputTokens: z.ZodOptional<z.ZodNumber>;
3715
+ topP: z.ZodOptional<z.ZodNumber>;
3716
+ topK: z.ZodOptional<z.ZodNumber>;
3717
+ seed: z.ZodOptional<z.ZodNumber>;
3718
+ }, "strip", z.ZodTypeAny, {
3719
+ temperature?: number | undefined;
3720
+ maxOutputTokens?: number | undefined;
3721
+ topP?: number | undefined;
3722
+ topK?: number | undefined;
3723
+ seed?: number | undefined;
3724
+ }, {
3725
+ temperature?: number | undefined;
3726
+ maxOutputTokens?: number | undefined;
3727
+ topP?: number | undefined;
3728
+ topK?: number | undefined;
3729
+ seed?: number | undefined;
3730
+ }>>;
3731
+ customConfig: z.ZodOptional<z.ZodObject<{
3732
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
3733
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3734
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
3735
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3736
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
3737
+ }, z.ZodTypeAny, "passthrough">>>;
3738
+ }, "strip", z.ZodTypeAny, {
3739
+ llmProvider: import("../index.js").LLMProviderType;
3740
+ modelId: string;
3741
+ customConfig?: z.objectOutputType<{
3742
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
3743
+ }, z.ZodTypeAny, "passthrough"> | undefined;
3744
+ inferenceParameters?: {
3745
+ temperature?: number | undefined;
3746
+ maxOutputTokens?: number | undefined;
3747
+ topP?: number | undefined;
3748
+ topK?: number | undefined;
3749
+ seed?: number | undefined;
3750
+ } | undefined;
3751
+ }, {
3752
+ llmProvider: import("../index.js").LLMProviderType;
3753
+ modelId: string;
3754
+ customConfig?: z.objectInputType<{
3755
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
3756
+ }, z.ZodTypeAny, "passthrough"> | undefined;
3757
+ inferenceParameters?: {
3758
+ temperature?: number | undefined;
3759
+ maxOutputTokens?: number | undefined;
3760
+ topP?: number | undefined;
3761
+ topK?: number | undefined;
3762
+ seed?: number | undefined;
3763
+ } | undefined;
3764
+ }>, "many">>;
3413
3765
  promptTemplateId: z.ZodOptional<z.ZodString>;
3414
3766
  templateContextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
3415
3767
  sourceJsonPath: z.ZodString;
@@ -3480,6 +3832,16 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
3480
3832
  replyTo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
3481
3833
  subject: z.ZodString;
3482
3834
  body: z.ZodString;
3835
+ customHeaders: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
3836
+ name: z.ZodString;
3837
+ value: z.ZodString;
3838
+ }, "strip", z.ZodTypeAny, {
3839
+ value: string;
3840
+ name: string;
3841
+ }, {
3842
+ value: string;
3843
+ name: string;
3844
+ }>, "many">, z.ZodString]>>;
3483
3845
  attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
3484
3846
  filename: z.ZodString;
3485
3847
  s3Pointer: z.ZodObject<{
@@ -3986,14 +4348,22 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
3986
4348
  }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
3987
4349
  stepType: z.ZodLiteral<import("../index.js").StepType.START_FLOW_EXECUTION>;
3988
4350
  moduleIdentifier: z.ZodLiteral<"system/start-flow-execution">;
3989
- customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4351
+ flowDefinitionId: z.ZodString;
4352
+ flowVersion: z.ZodDefault<z.ZodOptional<z.ZodString>>;
4353
+ customConfig: z.ZodOptional<z.ZodObject<{
4354
+ sync: z.ZodOptional<z.ZodBoolean>;
4355
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4356
+ sync: z.ZodOptional<z.ZodBoolean>;
4357
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4358
+ sync: z.ZodOptional<z.ZodBoolean>;
4359
+ }, z.ZodTypeAny, "passthrough">>>;
3990
4360
  }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
3991
4361
  stepType: z.ZodLiteral<import("../index.js").StepType.DATA_TRANSFORMATION>;
3992
4362
  moduleIdentifier: z.ZodString;
3993
4363
  customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3994
4364
  }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
3995
4365
  stepType: z.ZodLiteral<import("../index.js").StepType.EMAIL_START_POINT>;
3996
- emailAddress: z.ZodString;
4366
+ emailAddress: z.ZodEffects<z.ZodString, string, string>;
3997
4367
  triggerMessagePattern: z.ZodOptional<z.ZodString>;
3998
4368
  keyword: z.ZodOptional<z.ZodString>;
3999
4369
  }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
@@ -4068,6 +4438,62 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
4068
4438
  moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
4069
4439
  llmProvider: z.ZodNativeEnum<typeof import("../index.js").LLMProviderType>;
4070
4440
  modelId: z.ZodString;
4441
+ fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
4442
+ llmProvider: z.ZodNativeEnum<typeof import("../index.js").LLMProviderType>;
4443
+ modelId: z.ZodString;
4444
+ inferenceParameters: z.ZodOptional<z.ZodObject<{
4445
+ temperature: z.ZodOptional<z.ZodNumber>;
4446
+ maxOutputTokens: z.ZodOptional<z.ZodNumber>;
4447
+ topP: z.ZodOptional<z.ZodNumber>;
4448
+ topK: z.ZodOptional<z.ZodNumber>;
4449
+ seed: z.ZodOptional<z.ZodNumber>;
4450
+ }, "strip", z.ZodTypeAny, {
4451
+ temperature?: number | undefined;
4452
+ maxOutputTokens?: number | undefined;
4453
+ topP?: number | undefined;
4454
+ topK?: number | undefined;
4455
+ seed?: number | undefined;
4456
+ }, {
4457
+ temperature?: number | undefined;
4458
+ maxOutputTokens?: number | undefined;
4459
+ topP?: number | undefined;
4460
+ topK?: number | undefined;
4461
+ seed?: number | undefined;
4462
+ }>>;
4463
+ customConfig: z.ZodOptional<z.ZodObject<{
4464
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
4465
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4466
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
4467
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4468
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
4469
+ }, z.ZodTypeAny, "passthrough">>>;
4470
+ }, "strip", z.ZodTypeAny, {
4471
+ llmProvider: import("../index.js").LLMProviderType;
4472
+ modelId: string;
4473
+ customConfig?: z.objectOutputType<{
4474
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
4475
+ }, z.ZodTypeAny, "passthrough"> | undefined;
4476
+ inferenceParameters?: {
4477
+ temperature?: number | undefined;
4478
+ maxOutputTokens?: number | undefined;
4479
+ topP?: number | undefined;
4480
+ topK?: number | undefined;
4481
+ seed?: number | undefined;
4482
+ } | undefined;
4483
+ }, {
4484
+ llmProvider: import("../index.js").LLMProviderType;
4485
+ modelId: string;
4486
+ customConfig?: z.objectInputType<{
4487
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
4488
+ }, z.ZodTypeAny, "passthrough"> | undefined;
4489
+ inferenceParameters?: {
4490
+ temperature?: number | undefined;
4491
+ maxOutputTokens?: number | undefined;
4492
+ topP?: number | undefined;
4493
+ topK?: number | undefined;
4494
+ seed?: number | undefined;
4495
+ } | undefined;
4496
+ }>, "many">>;
4071
4497
  promptTemplateId: z.ZodOptional<z.ZodString>;
4072
4498
  templateContextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
4073
4499
  sourceJsonPath: z.ZodString;
@@ -4132,6 +4558,62 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
4132
4558
  moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
4133
4559
  llmProvider: z.ZodNativeEnum<typeof import("../index.js").LLMProviderType>;
4134
4560
  modelId: z.ZodString;
4561
+ fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
4562
+ llmProvider: z.ZodNativeEnum<typeof import("../index.js").LLMProviderType>;
4563
+ modelId: z.ZodString;
4564
+ inferenceParameters: z.ZodOptional<z.ZodObject<{
4565
+ temperature: z.ZodOptional<z.ZodNumber>;
4566
+ maxOutputTokens: z.ZodOptional<z.ZodNumber>;
4567
+ topP: z.ZodOptional<z.ZodNumber>;
4568
+ topK: z.ZodOptional<z.ZodNumber>;
4569
+ seed: z.ZodOptional<z.ZodNumber>;
4570
+ }, "strip", z.ZodTypeAny, {
4571
+ temperature?: number | undefined;
4572
+ maxOutputTokens?: number | undefined;
4573
+ topP?: number | undefined;
4574
+ topK?: number | undefined;
4575
+ seed?: number | undefined;
4576
+ }, {
4577
+ temperature?: number | undefined;
4578
+ maxOutputTokens?: number | undefined;
4579
+ topP?: number | undefined;
4580
+ topK?: number | undefined;
4581
+ seed?: number | undefined;
4582
+ }>>;
4583
+ customConfig: z.ZodOptional<z.ZodObject<{
4584
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
4585
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4586
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
4587
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4588
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
4589
+ }, z.ZodTypeAny, "passthrough">>>;
4590
+ }, "strip", z.ZodTypeAny, {
4591
+ llmProvider: import("../index.js").LLMProviderType;
4592
+ modelId: string;
4593
+ customConfig?: z.objectOutputType<{
4594
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
4595
+ }, z.ZodTypeAny, "passthrough"> | undefined;
4596
+ inferenceParameters?: {
4597
+ temperature?: number | undefined;
4598
+ maxOutputTokens?: number | undefined;
4599
+ topP?: number | undefined;
4600
+ topK?: number | undefined;
4601
+ seed?: number | undefined;
4602
+ } | undefined;
4603
+ }, {
4604
+ llmProvider: import("../index.js").LLMProviderType;
4605
+ modelId: string;
4606
+ customConfig?: z.objectInputType<{
4607
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
4608
+ }, z.ZodTypeAny, "passthrough"> | undefined;
4609
+ inferenceParameters?: {
4610
+ temperature?: number | undefined;
4611
+ maxOutputTokens?: number | undefined;
4612
+ topP?: number | undefined;
4613
+ topK?: number | undefined;
4614
+ seed?: number | undefined;
4615
+ } | undefined;
4616
+ }>, "many">>;
4135
4617
  promptTemplateId: z.ZodOptional<z.ZodString>;
4136
4618
  templateContextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
4137
4619
  sourceJsonPath: z.ZodString;
@@ -4196,6 +4678,62 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
4196
4678
  moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
4197
4679
  llmProvider: z.ZodNativeEnum<typeof import("../index.js").LLMProviderType>;
4198
4680
  modelId: z.ZodString;
4681
+ fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
4682
+ llmProvider: z.ZodNativeEnum<typeof import("../index.js").LLMProviderType>;
4683
+ modelId: z.ZodString;
4684
+ inferenceParameters: z.ZodOptional<z.ZodObject<{
4685
+ temperature: z.ZodOptional<z.ZodNumber>;
4686
+ maxOutputTokens: z.ZodOptional<z.ZodNumber>;
4687
+ topP: z.ZodOptional<z.ZodNumber>;
4688
+ topK: z.ZodOptional<z.ZodNumber>;
4689
+ seed: z.ZodOptional<z.ZodNumber>;
4690
+ }, "strip", z.ZodTypeAny, {
4691
+ temperature?: number | undefined;
4692
+ maxOutputTokens?: number | undefined;
4693
+ topP?: number | undefined;
4694
+ topK?: number | undefined;
4695
+ seed?: number | undefined;
4696
+ }, {
4697
+ temperature?: number | undefined;
4698
+ maxOutputTokens?: number | undefined;
4699
+ topP?: number | undefined;
4700
+ topK?: number | undefined;
4701
+ seed?: number | undefined;
4702
+ }>>;
4703
+ customConfig: z.ZodOptional<z.ZodObject<{
4704
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
4705
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4706
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
4707
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4708
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
4709
+ }, z.ZodTypeAny, "passthrough">>>;
4710
+ }, "strip", z.ZodTypeAny, {
4711
+ llmProvider: import("../index.js").LLMProviderType;
4712
+ modelId: string;
4713
+ customConfig?: z.objectOutputType<{
4714
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
4715
+ }, z.ZodTypeAny, "passthrough"> | undefined;
4716
+ inferenceParameters?: {
4717
+ temperature?: number | undefined;
4718
+ maxOutputTokens?: number | undefined;
4719
+ topP?: number | undefined;
4720
+ topK?: number | undefined;
4721
+ seed?: number | undefined;
4722
+ } | undefined;
4723
+ }, {
4724
+ llmProvider: import("../index.js").LLMProviderType;
4725
+ modelId: string;
4726
+ customConfig?: z.objectInputType<{
4727
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
4728
+ }, z.ZodTypeAny, "passthrough"> | undefined;
4729
+ inferenceParameters?: {
4730
+ temperature?: number | undefined;
4731
+ maxOutputTokens?: number | undefined;
4732
+ topP?: number | undefined;
4733
+ topK?: number | undefined;
4734
+ seed?: number | undefined;
4735
+ } | undefined;
4736
+ }>, "many">>;
4199
4737
  promptTemplateId: z.ZodOptional<z.ZodString>;
4200
4738
  templateContextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
4201
4739
  sourceJsonPath: z.ZodString;
@@ -5938,15 +6476,39 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
5938
6476
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
5939
6477
  stepType: z.ZodLiteral<import("../index.js").StepType.START_FLOW_EXECUTION>;
5940
6478
  moduleIdentifier: z.ZodLiteral<"system/start-flow-execution">;
5941
- customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
6479
+ flowDefinitionId: z.ZodString;
6480
+ flowVersion: z.ZodDefault<z.ZodOptional<z.ZodString>>;
6481
+ customConfig: z.ZodOptional<z.ZodObject<{
6482
+ sync: z.ZodOptional<z.ZodBoolean>;
6483
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6484
+ sync: z.ZodOptional<z.ZodBoolean>;
6485
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6486
+ sync: z.ZodOptional<z.ZodBoolean>;
6487
+ }, z.ZodTypeAny, "passthrough">>>;
5942
6488
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5943
6489
  stepType: z.ZodLiteral<import("../index.js").StepType.START_FLOW_EXECUTION>;
5944
6490
  moduleIdentifier: z.ZodLiteral<"system/start-flow-execution">;
5945
- customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
6491
+ flowDefinitionId: z.ZodString;
6492
+ flowVersion: z.ZodDefault<z.ZodOptional<z.ZodString>>;
6493
+ customConfig: z.ZodOptional<z.ZodObject<{
6494
+ sync: z.ZodOptional<z.ZodBoolean>;
6495
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6496
+ sync: z.ZodOptional<z.ZodBoolean>;
6497
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6498
+ sync: z.ZodOptional<z.ZodBoolean>;
6499
+ }, z.ZodTypeAny, "passthrough">>>;
5946
6500
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5947
6501
  stepType: z.ZodLiteral<import("../index.js").StepType.START_FLOW_EXECUTION>;
5948
6502
  moduleIdentifier: z.ZodLiteral<"system/start-flow-execution">;
5949
- customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
6503
+ flowDefinitionId: z.ZodString;
6504
+ flowVersion: z.ZodDefault<z.ZodOptional<z.ZodString>>;
6505
+ customConfig: z.ZodOptional<z.ZodObject<{
6506
+ sync: z.ZodOptional<z.ZodBoolean>;
6507
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6508
+ sync: z.ZodOptional<z.ZodBoolean>;
6509
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6510
+ sync: z.ZodOptional<z.ZodBoolean>;
6511
+ }, z.ZodTypeAny, "passthrough">>>;
5950
6512
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
5951
6513
  stepType: z.ZodLiteral<import("../index.js").StepType.MCP_CALL>;
5952
6514
  mcpConnectionId: z.ZodString;
@@ -6006,17 +6568,17 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
6006
6568
  messageAttributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
6007
6569
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
6008
6570
  stepType: z.ZodLiteral<import("../index.js").StepType.EMAIL_START_POINT>;
6009
- emailAddress: z.ZodString;
6571
+ emailAddress: z.ZodEffects<z.ZodString, string, string>;
6010
6572
  triggerMessagePattern: z.ZodOptional<z.ZodString>;
6011
6573
  keyword: z.ZodOptional<z.ZodString>;
6012
6574
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6013
6575
  stepType: z.ZodLiteral<import("../index.js").StepType.EMAIL_START_POINT>;
6014
- emailAddress: z.ZodString;
6576
+ emailAddress: z.ZodEffects<z.ZodString, string, string>;
6015
6577
  triggerMessagePattern: z.ZodOptional<z.ZodString>;
6016
6578
  keyword: z.ZodOptional<z.ZodString>;
6017
6579
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6018
6580
  stepType: z.ZodLiteral<import("../index.js").StepType.EMAIL_START_POINT>;
6019
- emailAddress: z.ZodString;
6581
+ emailAddress: z.ZodEffects<z.ZodString, string, string>;
6020
6582
  triggerMessagePattern: z.ZodOptional<z.ZodString>;
6021
6583
  keyword: z.ZodOptional<z.ZodString>;
6022
6584
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
@@ -6048,6 +6610,16 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
6048
6610
  replyTo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
6049
6611
  subject: z.ZodString;
6050
6612
  body: z.ZodString;
6613
+ customHeaders: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
6614
+ name: z.ZodString;
6615
+ value: z.ZodString;
6616
+ }, "strip", z.ZodTypeAny, {
6617
+ value: string;
6618
+ name: string;
6619
+ }, {
6620
+ value: string;
6621
+ name: string;
6622
+ }>, "many">, z.ZodString]>>;
6051
6623
  attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
6052
6624
  filename: z.ZodString;
6053
6625
  s3Pointer: z.ZodObject<{
@@ -6095,6 +6667,16 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
6095
6667
  replyTo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
6096
6668
  subject: z.ZodString;
6097
6669
  body: z.ZodString;
6670
+ customHeaders: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
6671
+ name: z.ZodString;
6672
+ value: z.ZodString;
6673
+ }, "strip", z.ZodTypeAny, {
6674
+ value: string;
6675
+ name: string;
6676
+ }, {
6677
+ value: string;
6678
+ name: string;
6679
+ }>, "many">, z.ZodString]>>;
6098
6680
  attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
6099
6681
  filename: z.ZodString;
6100
6682
  s3Pointer: z.ZodObject<{
@@ -6142,6 +6724,16 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
6142
6724
  replyTo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
6143
6725
  subject: z.ZodString;
6144
6726
  body: z.ZodString;
6727
+ customHeaders: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
6728
+ name: z.ZodString;
6729
+ value: z.ZodString;
6730
+ }, "strip", z.ZodTypeAny, {
6731
+ value: string;
6732
+ name: string;
6733
+ }, {
6734
+ value: string;
6735
+ name: string;
6736
+ }>, "many">, z.ZodString]>>;
6145
6737
  attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
6146
6738
  filename: z.ZodString;
6147
6739
  s3Pointer: z.ZodObject<{
@@ -6540,6 +7132,62 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
6540
7132
  moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
6541
7133
  llmProvider: z.ZodNativeEnum<typeof import("../index.js").LLMProviderType>;
6542
7134
  modelId: z.ZodString;
7135
+ fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
7136
+ llmProvider: z.ZodNativeEnum<typeof import("../index.js").LLMProviderType>;
7137
+ modelId: z.ZodString;
7138
+ inferenceParameters: z.ZodOptional<z.ZodObject<{
7139
+ temperature: z.ZodOptional<z.ZodNumber>;
7140
+ maxOutputTokens: z.ZodOptional<z.ZodNumber>;
7141
+ topP: z.ZodOptional<z.ZodNumber>;
7142
+ topK: z.ZodOptional<z.ZodNumber>;
7143
+ seed: z.ZodOptional<z.ZodNumber>;
7144
+ }, "strip", z.ZodTypeAny, {
7145
+ temperature?: number | undefined;
7146
+ maxOutputTokens?: number | undefined;
7147
+ topP?: number | undefined;
7148
+ topK?: number | undefined;
7149
+ seed?: number | undefined;
7150
+ }, {
7151
+ temperature?: number | undefined;
7152
+ maxOutputTokens?: number | undefined;
7153
+ topP?: number | undefined;
7154
+ topK?: number | undefined;
7155
+ seed?: number | undefined;
7156
+ }>>;
7157
+ customConfig: z.ZodOptional<z.ZodObject<{
7158
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
7159
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7160
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
7161
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7162
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
7163
+ }, z.ZodTypeAny, "passthrough">>>;
7164
+ }, "strip", z.ZodTypeAny, {
7165
+ llmProvider: import("../index.js").LLMProviderType;
7166
+ modelId: string;
7167
+ customConfig?: z.objectOutputType<{
7168
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
7169
+ }, z.ZodTypeAny, "passthrough"> | undefined;
7170
+ inferenceParameters?: {
7171
+ temperature?: number | undefined;
7172
+ maxOutputTokens?: number | undefined;
7173
+ topP?: number | undefined;
7174
+ topK?: number | undefined;
7175
+ seed?: number | undefined;
7176
+ } | undefined;
7177
+ }, {
7178
+ llmProvider: import("../index.js").LLMProviderType;
7179
+ modelId: string;
7180
+ customConfig?: z.objectInputType<{
7181
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
7182
+ }, z.ZodTypeAny, "passthrough"> | undefined;
7183
+ inferenceParameters?: {
7184
+ temperature?: number | undefined;
7185
+ maxOutputTokens?: number | undefined;
7186
+ topP?: number | undefined;
7187
+ topK?: number | undefined;
7188
+ seed?: number | undefined;
7189
+ } | undefined;
7190
+ }>, "many">>;
6543
7191
  promptTemplateId: z.ZodOptional<z.ZodString>;
6544
7192
  templateContextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
6545
7193
  sourceJsonPath: z.ZodString;
@@ -6610,6 +7258,16 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
6610
7258
  replyTo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
6611
7259
  subject: z.ZodString;
6612
7260
  body: z.ZodString;
7261
+ customHeaders: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
7262
+ name: z.ZodString;
7263
+ value: z.ZodString;
7264
+ }, "strip", z.ZodTypeAny, {
7265
+ value: string;
7266
+ name: string;
7267
+ }, {
7268
+ value: string;
7269
+ name: string;
7270
+ }>, "many">, z.ZodString]>>;
6613
7271
  attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
6614
7272
  filename: z.ZodString;
6615
7273
  s3Pointer: z.ZodObject<{
@@ -7116,14 +7774,22 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
7116
7774
  }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
7117
7775
  stepType: z.ZodLiteral<import("../index.js").StepType.START_FLOW_EXECUTION>;
7118
7776
  moduleIdentifier: z.ZodLiteral<"system/start-flow-execution">;
7119
- customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
7777
+ flowDefinitionId: z.ZodString;
7778
+ flowVersion: z.ZodDefault<z.ZodOptional<z.ZodString>>;
7779
+ customConfig: z.ZodOptional<z.ZodObject<{
7780
+ sync: z.ZodOptional<z.ZodBoolean>;
7781
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7782
+ sync: z.ZodOptional<z.ZodBoolean>;
7783
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7784
+ sync: z.ZodOptional<z.ZodBoolean>;
7785
+ }, z.ZodTypeAny, "passthrough">>>;
7120
7786
  }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
7121
7787
  stepType: z.ZodLiteral<import("../index.js").StepType.DATA_TRANSFORMATION>;
7122
7788
  moduleIdentifier: z.ZodString;
7123
7789
  customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
7124
7790
  }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
7125
7791
  stepType: z.ZodLiteral<import("../index.js").StepType.EMAIL_START_POINT>;
7126
- emailAddress: z.ZodString;
7792
+ emailAddress: z.ZodEffects<z.ZodString, string, string>;
7127
7793
  triggerMessagePattern: z.ZodOptional<z.ZodString>;
7128
7794
  keyword: z.ZodOptional<z.ZodString>;
7129
7795
  }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
@@ -7286,6 +7952,62 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
7286
7952
  moduleIdentifier: z.ZodOptional<z.ZodUndefined>;
7287
7953
  llmProvider: z.ZodNativeEnum<typeof import("../index.js").LLMProviderType>;
7288
7954
  modelId: z.ZodString;
7955
+ fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
7956
+ llmProvider: z.ZodNativeEnum<typeof import("../index.js").LLMProviderType>;
7957
+ modelId: z.ZodString;
7958
+ inferenceParameters: z.ZodOptional<z.ZodObject<{
7959
+ temperature: z.ZodOptional<z.ZodNumber>;
7960
+ maxOutputTokens: z.ZodOptional<z.ZodNumber>;
7961
+ topP: z.ZodOptional<z.ZodNumber>;
7962
+ topK: z.ZodOptional<z.ZodNumber>;
7963
+ seed: z.ZodOptional<z.ZodNumber>;
7964
+ }, "strip", z.ZodTypeAny, {
7965
+ temperature?: number | undefined;
7966
+ maxOutputTokens?: number | undefined;
7967
+ topP?: number | undefined;
7968
+ topK?: number | undefined;
7969
+ seed?: number | undefined;
7970
+ }, {
7971
+ temperature?: number | undefined;
7972
+ maxOutputTokens?: number | undefined;
7973
+ topP?: number | undefined;
7974
+ topK?: number | undefined;
7975
+ seed?: number | undefined;
7976
+ }>>;
7977
+ customConfig: z.ZodOptional<z.ZodObject<{
7978
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
7979
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7980
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
7981
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7982
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
7983
+ }, z.ZodTypeAny, "passthrough">>>;
7984
+ }, "strip", z.ZodTypeAny, {
7985
+ llmProvider: import("../index.js").LLMProviderType;
7986
+ modelId: string;
7987
+ customConfig?: z.objectOutputType<{
7988
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
7989
+ }, z.ZodTypeAny, "passthrough"> | undefined;
7990
+ inferenceParameters?: {
7991
+ temperature?: number | undefined;
7992
+ maxOutputTokens?: number | undefined;
7993
+ topP?: number | undefined;
7994
+ topK?: number | undefined;
7995
+ seed?: number | undefined;
7996
+ } | undefined;
7997
+ }, {
7998
+ llmProvider: import("../index.js").LLMProviderType;
7999
+ modelId: string;
8000
+ customConfig?: z.objectInputType<{
8001
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
8002
+ }, z.ZodTypeAny, "passthrough"> | undefined;
8003
+ inferenceParameters?: {
8004
+ temperature?: number | undefined;
8005
+ maxOutputTokens?: number | undefined;
8006
+ topP?: number | undefined;
8007
+ topK?: number | undefined;
8008
+ seed?: number | undefined;
8009
+ } | undefined;
8010
+ }>, "many">>;
7289
8011
  promptTemplateId: z.ZodOptional<z.ZodString>;
7290
8012
  templateContextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
7291
8013
  sourceJsonPath: z.ZodString;
@@ -7356,6 +8078,16 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
7356
8078
  replyTo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
7357
8079
  subject: z.ZodString;
7358
8080
  body: z.ZodString;
8081
+ customHeaders: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
8082
+ name: z.ZodString;
8083
+ value: z.ZodString;
8084
+ }, "strip", z.ZodTypeAny, {
8085
+ value: string;
8086
+ name: string;
8087
+ }, {
8088
+ value: string;
8089
+ name: string;
8090
+ }>, "many">, z.ZodString]>>;
7359
8091
  attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
7360
8092
  filename: z.ZodString;
7361
8093
  s3Pointer: z.ZodObject<{
@@ -7862,14 +8594,22 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
7862
8594
  }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
7863
8595
  stepType: z.ZodLiteral<import("../index.js").StepType.START_FLOW_EXECUTION>;
7864
8596
  moduleIdentifier: z.ZodLiteral<"system/start-flow-execution">;
7865
- customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
8597
+ flowDefinitionId: z.ZodString;
8598
+ flowVersion: z.ZodDefault<z.ZodOptional<z.ZodString>>;
8599
+ customConfig: z.ZodOptional<z.ZodObject<{
8600
+ sync: z.ZodOptional<z.ZodBoolean>;
8601
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8602
+ sync: z.ZodOptional<z.ZodBoolean>;
8603
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8604
+ sync: z.ZodOptional<z.ZodBoolean>;
8605
+ }, z.ZodTypeAny, "passthrough">>>;
7866
8606
  }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
7867
8607
  stepType: z.ZodLiteral<import("../index.js").StepType.DATA_TRANSFORMATION>;
7868
8608
  moduleIdentifier: z.ZodString;
7869
8609
  customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
7870
8610
  }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
7871
8611
  stepType: z.ZodLiteral<import("../index.js").StepType.EMAIL_START_POINT>;
7872
- emailAddress: z.ZodString;
8612
+ emailAddress: z.ZodEffects<z.ZodString, string, string>;
7873
8613
  triggerMessagePattern: z.ZodOptional<z.ZodString>;
7874
8614
  keyword: z.ZodOptional<z.ZodString>;
7875
8615
  }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{