@allma/core-types 1.0.1

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 (197) hide show
  1. package/dist/admin/api-schemas.d.ts +4330 -0
  2. package/dist/admin/api-schemas.d.ts.map +1 -0
  3. package/dist/admin/api-schemas.js +82 -0
  4. package/dist/admin/api-schemas.js.map +1 -0
  5. package/dist/admin/auth.d.ts +46 -0
  6. package/dist/admin/auth.d.ts.map +1 -0
  7. package/dist/admin/auth.js +83 -0
  8. package/dist/admin/auth.js.map +1 -0
  9. package/dist/admin/dashboard.d.ts +266 -0
  10. package/dist/admin/dashboard.d.ts.map +1 -0
  11. package/dist/admin/dashboard.js +38 -0
  12. package/dist/admin/dashboard.js.map +1 -0
  13. package/dist/admin/endpoints.d.ts +48 -0
  14. package/dist/admin/endpoints.d.ts.map +1 -0
  15. package/dist/admin/endpoints.js +62 -0
  16. package/dist/admin/endpoints.js.map +1 -0
  17. package/dist/admin/executionMonitoring.d.ts +1045 -0
  18. package/dist/admin/executionMonitoring.d.ts.map +1 -0
  19. package/dist/admin/executionMonitoring.js +43 -0
  20. package/dist/admin/executionMonitoring.js.map +1 -0
  21. package/dist/admin/importExport.d.ts +43662 -0
  22. package/dist/admin/importExport.d.ts.map +1 -0
  23. package/dist/admin/importExport.js +51 -0
  24. package/dist/admin/importExport.js.map +1 -0
  25. package/dist/admin/index.d.ts +31 -0
  26. package/dist/admin/index.d.ts.map +1 -0
  27. package/dist/admin/index.js +11 -0
  28. package/dist/admin/index.js.map +1 -0
  29. package/dist/admin/permissions.d.ts +12 -0
  30. package/dist/admin/permissions.d.ts.map +1 -0
  31. package/dist/admin/permissions.js +18 -0
  32. package/dist/admin/permissions.js.map +1 -0
  33. package/dist/admin/utils.d.ts +21 -0
  34. package/dist/admin/utils.d.ts.map +1 -0
  35. package/dist/admin/utils.js +51 -0
  36. package/dist/admin/utils.js.map +1 -0
  37. package/dist/common/core.d.ts +188 -0
  38. package/dist/common/core.d.ts.map +1 -0
  39. package/dist/common/core.js +72 -0
  40. package/dist/common/core.js.map +1 -0
  41. package/dist/common/enums.d.ts +62 -0
  42. package/dist/common/enums.d.ts.map +1 -0
  43. package/dist/common/enums.js +72 -0
  44. package/dist/common/enums.js.map +1 -0
  45. package/dist/common/index.d.ts +4 -0
  46. package/dist/common/index.d.ts.map +1 -0
  47. package/dist/common/index.js +4 -0
  48. package/dist/common/index.js.map +1 -0
  49. package/dist/common/shared.d.ts +34 -0
  50. package/dist/common/shared.d.ts.map +1 -0
  51. package/dist/common/shared.js +42 -0
  52. package/dist/common/shared.js.map +1 -0
  53. package/dist/errors.d.ts +49 -0
  54. package/dist/errors.d.ts.map +1 -0
  55. package/dist/errors.js +70 -0
  56. package/dist/errors.js.map +1 -0
  57. package/dist/flow/actions.d.ts +139 -0
  58. package/dist/flow/actions.d.ts.map +1 -0
  59. package/dist/flow/actions.js +49 -0
  60. package/dist/flow/actions.js.map +1 -0
  61. package/dist/flow/branching.d.ts +227 -0
  62. package/dist/flow/branching.d.ts.map +1 -0
  63. package/dist/flow/branching.js +62 -0
  64. package/dist/flow/branching.js.map +1 -0
  65. package/dist/flow/core.d.ts +12157 -0
  66. package/dist/flow/core.d.ts.map +1 -0
  67. package/dist/flow/core.js +86 -0
  68. package/dist/flow/core.js.map +1 -0
  69. package/dist/flow/index.d.ts +4 -0
  70. package/dist/flow/index.d.ts.map +1 -0
  71. package/dist/flow/index.js +4 -0
  72. package/dist/flow/index.js.map +1 -0
  73. package/dist/index.d.ts +11 -0
  74. package/dist/index.d.ts.map +1 -0
  75. package/dist/index.js +12 -0
  76. package/dist/index.js.map +1 -0
  77. package/dist/llm/index.d.ts +76 -0
  78. package/dist/llm/index.d.ts.map +1 -0
  79. package/dist/llm/index.js +24 -0
  80. package/dist/llm/index.js.map +1 -0
  81. package/dist/logging/console.d.ts +5 -0
  82. package/dist/logging/console.d.ts.map +1 -0
  83. package/dist/logging/console.js +13 -0
  84. package/dist/logging/console.js.map +1 -0
  85. package/dist/logging/events.d.ts +102 -0
  86. package/dist/logging/events.d.ts.map +1 -0
  87. package/dist/logging/events.js +46 -0
  88. package/dist/logging/events.js.map +1 -0
  89. package/dist/logging/index.d.ts +5 -0
  90. package/dist/logging/index.d.ts.map +1 -0
  91. package/dist/logging/index.js +5 -0
  92. package/dist/logging/index.js.map +1 -0
  93. package/dist/logging/payloads.d.ts +457 -0
  94. package/dist/logging/payloads.d.ts.map +1 -0
  95. package/dist/logging/payloads.js +37 -0
  96. package/dist/logging/payloads.js.map +1 -0
  97. package/dist/logging/records.d.ts +4458 -0
  98. package/dist/logging/records.d.ts.map +1 -0
  99. package/dist/logging/records.js +96 -0
  100. package/dist/logging/records.js.map +1 -0
  101. package/dist/prompt/index.d.ts +40 -0
  102. package/dist/prompt/index.d.ts.map +1 -0
  103. package/dist/prompt/index.js +17 -0
  104. package/dist/prompt/index.js.map +1 -0
  105. package/dist/runtime/core.d.ts +725 -0
  106. package/dist/runtime/core.d.ts.map +1 -0
  107. package/dist/runtime/core.js +95 -0
  108. package/dist/runtime/core.js.map +1 -0
  109. package/dist/runtime/index.d.ts +2 -0
  110. package/dist/runtime/index.d.ts.map +1 -0
  111. package/dist/runtime/index.js +2 -0
  112. package/dist/runtime/index.js.map +1 -0
  113. package/dist/steps/common.d.ts +86 -0
  114. package/dist/steps/common.d.ts.map +1 -0
  115. package/dist/steps/common.js +38 -0
  116. package/dist/steps/common.js.map +1 -0
  117. package/dist/steps/definitions.d.ts +9677 -0
  118. package/dist/steps/definitions.d.ts.map +1 -0
  119. package/dist/steps/definitions.js +144 -0
  120. package/dist/steps/definitions.js.map +1 -0
  121. package/dist/steps/handlers.d.ts +14 -0
  122. package/dist/steps/handlers.d.ts.map +1 -0
  123. package/dist/steps/handlers.js +2 -0
  124. package/dist/steps/handlers.js.map +1 -0
  125. package/dist/steps/index.d.ts +8 -0
  126. package/dist/steps/index.d.ts.map +1 -0
  127. package/dist/steps/index.js +8 -0
  128. package/dist/steps/index.js.map +1 -0
  129. package/dist/steps/system/api-calls.d.ts +614 -0
  130. package/dist/steps/system/api-calls.d.ts.map +1 -0
  131. package/dist/steps/system/api-calls.js +33 -0
  132. package/dist/steps/system/api-calls.js.map +1 -0
  133. package/dist/steps/system/crawler.d.ts +188 -0
  134. package/dist/steps/system/crawler.d.ts.map +1 -0
  135. package/dist/steps/system/crawler.js +39 -0
  136. package/dist/steps/system/crawler.js.map +1 -0
  137. package/dist/steps/system/dynamodb-loader.d.ts +79 -0
  138. package/dist/steps/system/dynamodb-loader.d.ts.map +1 -0
  139. package/dist/steps/system/dynamodb-loader.js +38 -0
  140. package/dist/steps/system/dynamodb-loader.js.map +1 -0
  141. package/dist/steps/system/email.d.ts +28 -0
  142. package/dist/steps/system/email.d.ts.map +1 -0
  143. package/dist/steps/system/email.js +16 -0
  144. package/dist/steps/system/email.js.map +1 -0
  145. package/dist/steps/system/index.d.ts +14 -0
  146. package/dist/steps/system/index.d.ts.map +1 -0
  147. package/dist/steps/system/index.js +14 -0
  148. package/dist/steps/system/index.js.map +1 -0
  149. package/dist/steps/system/llm.d.ts +192 -0
  150. package/dist/steps/system/llm.d.ts.map +1 -0
  151. package/dist/steps/system/llm.js +17 -0
  152. package/dist/steps/system/llm.js.map +1 -0
  153. package/dist/steps/system/messaging.d.ts +49 -0
  154. package/dist/steps/system/messaging.d.ts.map +1 -0
  155. package/dist/steps/system/messaging.js +25 -0
  156. package/dist/steps/system/messaging.js.map +1 -0
  157. package/dist/steps/system/misc.d.ts +411 -0
  158. package/dist/steps/system/misc.d.ts.map +1 -0
  159. package/dist/steps/system/misc.js +83 -0
  160. package/dist/steps/system/misc.js.map +1 -0
  161. package/dist/steps/system/polling.d.ts +984 -0
  162. package/dist/steps/system/polling.d.ts.map +1 -0
  163. package/dist/steps/system/polling.js +25 -0
  164. package/dist/steps/system/polling.js.map +1 -0
  165. package/dist/steps/system/s3-loader.d.ts +36 -0
  166. package/dist/steps/system/s3-loader.d.ts.map +1 -0
  167. package/dist/steps/system/s3-loader.js +25 -0
  168. package/dist/steps/system/s3-loader.js.map +1 -0
  169. package/dist/steps/system/s3-saver.d.ts +19 -0
  170. package/dist/steps/system/s3-saver.d.ts.map +1 -0
  171. package/dist/steps/system/s3-saver.js +10 -0
  172. package/dist/steps/system/s3-saver.js.map +1 -0
  173. package/dist/steps/system/start-points.d.ts +18 -0
  174. package/dist/steps/system/start-points.d.ts.map +1 -0
  175. package/dist/steps/system/start-points.js +9 -0
  176. package/dist/steps/system/start-points.js.map +1 -0
  177. package/dist/steps/system/start-sub-flow.d.ts +24 -0
  178. package/dist/steps/system/start-sub-flow.d.ts.map +1 -0
  179. package/dist/steps/system/start-sub-flow.js +14 -0
  180. package/dist/steps/system/start-sub-flow.js.map +1 -0
  181. package/dist/steps/system/wait-for-event.d.ts +24 -0
  182. package/dist/steps/system/wait-for-event.d.ts.map +1 -0
  183. package/dist/steps/system/wait-for-event.js +13 -0
  184. package/dist/steps/system/wait-for-event.js.map +1 -0
  185. package/dist/steps/system-module-identifiers.d.ts +29 -0
  186. package/dist/steps/system-module-identifiers.d.ts.map +1 -0
  187. package/dist/steps/system-module-identifiers.js +29 -0
  188. package/dist/steps/system-module-identifiers.js.map +1 -0
  189. package/dist/steps/templating.d.ts +37 -0
  190. package/dist/steps/templating.d.ts.map +1 -0
  191. package/dist/steps/templating.js +16 -0
  192. package/dist/steps/templating.js.map +1 -0
  193. package/dist/storage/index.d.ts +154 -0
  194. package/dist/storage/index.d.ts.map +1 -0
  195. package/dist/storage/index.js +49 -0
  196. package/dist/storage/index.js.map +1 -0
  197. package/package.json +42 -0
@@ -0,0 +1,4330 @@
1
+ import { z } from 'zod';
2
+ export interface PaginatedResponse<T> {
3
+ items: T[];
4
+ nextToken?: string;
5
+ totalCount?: number;
6
+ }
7
+ export declare const RedriveFlowApiInputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
8
+ export type RedriveFlowApiInput = z.infer<typeof RedriveFlowApiInputSchema>;
9
+ export declare const RedriveFlowApiOutputSchema: z.ZodObject<{
10
+ message: z.ZodString;
11
+ originalFlowExecutionId: z.ZodString;
12
+ newFlowExecutionId: z.ZodString;
13
+ }, "strip", z.ZodTypeAny, {
14
+ message: string;
15
+ originalFlowExecutionId: string;
16
+ newFlowExecutionId: string;
17
+ }, {
18
+ message: string;
19
+ originalFlowExecutionId: string;
20
+ newFlowExecutionId: string;
21
+ }>;
22
+ export type RedriveFlowApiOutput = z.infer<typeof RedriveFlowApiOutputSchema>;
23
+ export declare const StatefulRedriveInputSchema: z.ZodObject<{
24
+ startFromStepInstanceId: z.ZodString;
25
+ modifiedContextData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
26
+ }, "strip", z.ZodTypeAny, {
27
+ startFromStepInstanceId: string;
28
+ modifiedContextData?: Record<string, any> | undefined;
29
+ }, {
30
+ startFromStepInstanceId: string;
31
+ modifiedContextData?: Record<string, any> | undefined;
32
+ }>;
33
+ export type StatefulRedriveInput = z.infer<typeof StatefulRedriveInputSchema>;
34
+ export declare const SandboxStepInputSchema: z.ZodObject<{
35
+ flowDefinitionId: z.ZodString;
36
+ flowDefinitionVersion: z.ZodNumber;
37
+ stepInstanceId: z.ZodString;
38
+ contextData: z.ZodRecord<z.ZodString, z.ZodAny>;
39
+ }, "strip", z.ZodTypeAny, {
40
+ stepInstanceId: string;
41
+ flowDefinitionId: string;
42
+ flowDefinitionVersion: number;
43
+ contextData: Record<string, any>;
44
+ }, {
45
+ stepInstanceId: string;
46
+ flowDefinitionId: string;
47
+ flowDefinitionVersion: number;
48
+ contextData: Record<string, any>;
49
+ }>;
50
+ export type SandboxStepInput = z.infer<typeof SandboxStepInputSchema>;
51
+ export declare const TriggerFlowApiInputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
52
+ export type TriggerFlowApiInput = z.infer<typeof TriggerFlowApiInputSchema>;
53
+ export declare const TriggerFlowApiOutputSchema: z.ZodObject<{
54
+ message: z.ZodString;
55
+ flowExecutionId: z.ZodString;
56
+ }, "strip", z.ZodTypeAny, {
57
+ message: string;
58
+ flowExecutionId: string;
59
+ }, {
60
+ message: string;
61
+ flowExecutionId: string;
62
+ }>;
63
+ export type TriggerFlowApiOutput = z.infer<typeof TriggerFlowApiOutputSchema>;
64
+ export declare const ExecuteFlowApiInputSchema: z.ZodObject<{
65
+ initialContextData: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
66
+ }, "strip", z.ZodTypeAny, {
67
+ initialContextData: Record<string, any>;
68
+ }, {
69
+ initialContextData?: Record<string, any> | undefined;
70
+ }>;
71
+ export type ExecuteFlowApiInput = z.infer<typeof ExecuteFlowApiInputSchema>;
72
+ export declare const ExecuteFlowApiOutputSchema: z.ZodObject<{
73
+ newFlowExecutionId: z.ZodString;
74
+ }, "strip", z.ZodTypeAny, {
75
+ newFlowExecutionId: string;
76
+ }, {
77
+ newFlowExecutionId: string;
78
+ }>;
79
+ export type ExecuteFlowApiOutput = z.infer<typeof ExecuteFlowApiOutputSchema>;
80
+ export declare const CreateFlowInputSchema: z.ZodObject<{
81
+ name: z.ZodString;
82
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
83
+ }, "strip", z.ZodTypeAny, {
84
+ name: string;
85
+ description?: string | null | undefined;
86
+ }, {
87
+ name: string;
88
+ description?: string | null | undefined;
89
+ }>;
90
+ export type CreateFlowInput = z.infer<typeof CreateFlowInputSchema>;
91
+ export declare const UpdateFlowConfigInputSchema: z.ZodObject<{
92
+ name: z.ZodString;
93
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
94
+ tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
95
+ }, "strip", z.ZodTypeAny, {
96
+ name: string;
97
+ tags: string[];
98
+ description?: string | null | undefined;
99
+ }, {
100
+ name: string;
101
+ description?: string | null | undefined;
102
+ tags?: string[] | undefined;
103
+ }>;
104
+ export type UpdateFlowConfigInput = z.infer<typeof UpdateFlowConfigInputSchema>;
105
+ export declare const CloneFlowInputSchema: z.ZodObject<{
106
+ name: z.ZodString;
107
+ }, "strip", z.ZodTypeAny, {
108
+ name: string;
109
+ }, {
110
+ name: string;
111
+ }>;
112
+ export type CloneFlowInput = z.infer<typeof CloneFlowInputSchema>;
113
+ export declare const CreateFlowVersionInputSchema: z.ZodObject<{
114
+ sourceVersion: z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"latest">]>;
115
+ }, "strip", z.ZodTypeAny, {
116
+ sourceVersion: number | "latest";
117
+ }, {
118
+ sourceVersion: number | "latest";
119
+ }>;
120
+ export type CreateFlowVersionInput = z.infer<typeof CreateFlowVersionInputSchema>;
121
+ export declare const CreatePromptTemplateInputSchema: z.ZodObject<{
122
+ name: z.ZodString;
123
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
124
+ }, "strip", z.ZodTypeAny, {
125
+ name: string;
126
+ description?: string | null | undefined;
127
+ }, {
128
+ name: string;
129
+ description?: string | null | undefined;
130
+ }>;
131
+ export type CreatePromptTemplateInput = z.infer<typeof CreatePromptTemplateInputSchema>;
132
+ export declare const UpdatePromptTemplateInputSchema: z.ZodObject<Omit<{
133
+ id: z.ZodString;
134
+ name: z.ZodString;
135
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
136
+ content: z.ZodString;
137
+ version: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
138
+ isPublished: z.ZodDefault<z.ZodBoolean>;
139
+ tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
140
+ createdAt: z.ZodString;
141
+ updatedAt: z.ZodString;
142
+ publishedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
143
+ }, "id" | "version" | "createdAt" | "updatedAt" | "isPublished" | "publishedAt">, "passthrough", z.ZodTypeAny, z.objectOutputType<Omit<{
144
+ id: z.ZodString;
145
+ name: z.ZodString;
146
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
147
+ content: z.ZodString;
148
+ version: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
149
+ isPublished: z.ZodDefault<z.ZodBoolean>;
150
+ tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
151
+ createdAt: z.ZodString;
152
+ updatedAt: z.ZodString;
153
+ publishedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
154
+ }, "id" | "version" | "createdAt" | "updatedAt" | "isPublished" | "publishedAt">, z.ZodTypeAny, "passthrough">, z.objectInputType<Omit<{
155
+ id: z.ZodString;
156
+ name: z.ZodString;
157
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
158
+ content: z.ZodString;
159
+ version: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
160
+ isPublished: z.ZodDefault<z.ZodBoolean>;
161
+ tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
162
+ createdAt: z.ZodString;
163
+ updatedAt: z.ZodString;
164
+ publishedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
165
+ }, "id" | "version" | "createdAt" | "updatedAt" | "isPublished" | "publishedAt">, z.ZodTypeAny, "passthrough">>;
166
+ export type UpdatePromptTemplateInput = z.infer<typeof UpdatePromptTemplateInputSchema>;
167
+ export declare const ClonePromptInputSchema: z.ZodObject<{
168
+ name: z.ZodString;
169
+ }, "strip", z.ZodTypeAny, {
170
+ name: string;
171
+ }, {
172
+ name: string;
173
+ }>;
174
+ export type ClonePromptInput = z.infer<typeof ClonePromptInputSchema>;
175
+ export declare const CreatePromptVersionInputSchema: z.ZodObject<{
176
+ sourceVersion: z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"latest">]>;
177
+ }, "strip", z.ZodTypeAny, {
178
+ sourceVersion: number | "latest";
179
+ }, {
180
+ sourceVersion: number | "latest";
181
+ }>;
182
+ export type CreatePromptVersionInput = z.infer<typeof CreatePromptVersionInputSchema>;
183
+ /**
184
+ * Schema for creating a new Step Definition. This is based on the core step logic
185
+ * plus user-provided metadata.
186
+ */
187
+ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodIntersection<z.ZodDiscriminatedUnion<"stepType", [z.ZodObject<{
188
+ stepType: z.ZodLiteral<import("../index.js").StepType.LLM_INVOCATION>;
189
+ llmProvider: z.ZodNativeEnum<typeof import("../index.js").LLMProviderType>;
190
+ modelId: z.ZodString;
191
+ promptTemplateId: z.ZodOptional<z.ZodString>;
192
+ templateContextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
193
+ sourceJsonPath: z.ZodString;
194
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
195
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
196
+ itemTemplate: z.ZodOptional<z.ZodString>;
197
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
198
+ }, "strip", z.ZodTypeAny, {
199
+ sourceJsonPath: string;
200
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
201
+ joinSeparator: string;
202
+ selectFields?: string[] | undefined;
203
+ itemTemplate?: string | undefined;
204
+ }, {
205
+ sourceJsonPath: string;
206
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
207
+ selectFields?: string[] | undefined;
208
+ itemTemplate?: string | undefined;
209
+ joinSeparator?: string | undefined;
210
+ }>, {
211
+ sourceJsonPath: string;
212
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
213
+ joinSeparator: string;
214
+ selectFields?: string[] | undefined;
215
+ itemTemplate?: string | undefined;
216
+ }, {
217
+ sourceJsonPath: string;
218
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
219
+ selectFields?: string[] | undefined;
220
+ itemTemplate?: string | undefined;
221
+ joinSeparator?: string | undefined;
222
+ }>>>;
223
+ directPrompt: z.ZodOptional<z.ZodString>;
224
+ inferenceParameters: z.ZodOptional<z.ZodObject<{
225
+ temperature: z.ZodOptional<z.ZodNumber>;
226
+ maxOutputTokens: z.ZodOptional<z.ZodNumber>;
227
+ topP: z.ZodOptional<z.ZodNumber>;
228
+ topK: z.ZodOptional<z.ZodNumber>;
229
+ seed: z.ZodOptional<z.ZodNumber>;
230
+ }, "strip", z.ZodTypeAny, {
231
+ temperature?: number | undefined;
232
+ maxOutputTokens?: number | undefined;
233
+ topP?: number | undefined;
234
+ topK?: number | undefined;
235
+ seed?: number | undefined;
236
+ }, {
237
+ temperature?: number | undefined;
238
+ maxOutputTokens?: number | undefined;
239
+ topP?: number | undefined;
240
+ topK?: number | undefined;
241
+ seed?: number | undefined;
242
+ }>>;
243
+ customConfig: z.ZodOptional<z.ZodObject<{
244
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
245
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
246
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
247
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
248
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
249
+ }, z.ZodTypeAny, "passthrough">>>;
250
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
251
+ stepType: z.ZodLiteral<import("../index.js").StepType.LLM_INVOCATION>;
252
+ llmProvider: z.ZodNativeEnum<typeof import("../index.js").LLMProviderType>;
253
+ modelId: z.ZodString;
254
+ promptTemplateId: z.ZodOptional<z.ZodString>;
255
+ templateContextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
256
+ sourceJsonPath: z.ZodString;
257
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
258
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
259
+ itemTemplate: z.ZodOptional<z.ZodString>;
260
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
261
+ }, "strip", z.ZodTypeAny, {
262
+ sourceJsonPath: string;
263
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
264
+ joinSeparator: string;
265
+ selectFields?: string[] | undefined;
266
+ itemTemplate?: string | undefined;
267
+ }, {
268
+ sourceJsonPath: string;
269
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
270
+ selectFields?: string[] | undefined;
271
+ itemTemplate?: string | undefined;
272
+ joinSeparator?: string | undefined;
273
+ }>, {
274
+ sourceJsonPath: string;
275
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
276
+ joinSeparator: string;
277
+ selectFields?: string[] | undefined;
278
+ itemTemplate?: string | undefined;
279
+ }, {
280
+ sourceJsonPath: string;
281
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
282
+ selectFields?: string[] | undefined;
283
+ itemTemplate?: string | undefined;
284
+ joinSeparator?: string | undefined;
285
+ }>>>;
286
+ directPrompt: z.ZodOptional<z.ZodString>;
287
+ inferenceParameters: z.ZodOptional<z.ZodObject<{
288
+ temperature: z.ZodOptional<z.ZodNumber>;
289
+ maxOutputTokens: z.ZodOptional<z.ZodNumber>;
290
+ topP: z.ZodOptional<z.ZodNumber>;
291
+ topK: z.ZodOptional<z.ZodNumber>;
292
+ seed: z.ZodOptional<z.ZodNumber>;
293
+ }, "strip", z.ZodTypeAny, {
294
+ temperature?: number | undefined;
295
+ maxOutputTokens?: number | undefined;
296
+ topP?: number | undefined;
297
+ topK?: number | undefined;
298
+ seed?: number | undefined;
299
+ }, {
300
+ temperature?: number | undefined;
301
+ maxOutputTokens?: number | undefined;
302
+ topP?: number | undefined;
303
+ topK?: number | undefined;
304
+ seed?: number | undefined;
305
+ }>>;
306
+ customConfig: z.ZodOptional<z.ZodObject<{
307
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
308
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
309
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
310
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
311
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
312
+ }, z.ZodTypeAny, "passthrough">>>;
313
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
314
+ stepType: z.ZodLiteral<import("../index.js").StepType.LLM_INVOCATION>;
315
+ llmProvider: z.ZodNativeEnum<typeof import("../index.js").LLMProviderType>;
316
+ modelId: z.ZodString;
317
+ promptTemplateId: z.ZodOptional<z.ZodString>;
318
+ templateContextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
319
+ sourceJsonPath: z.ZodString;
320
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
321
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
322
+ itemTemplate: z.ZodOptional<z.ZodString>;
323
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
324
+ }, "strip", z.ZodTypeAny, {
325
+ sourceJsonPath: string;
326
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
327
+ joinSeparator: string;
328
+ selectFields?: string[] | undefined;
329
+ itemTemplate?: string | undefined;
330
+ }, {
331
+ sourceJsonPath: string;
332
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
333
+ selectFields?: string[] | undefined;
334
+ itemTemplate?: string | undefined;
335
+ joinSeparator?: string | undefined;
336
+ }>, {
337
+ sourceJsonPath: string;
338
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
339
+ joinSeparator: string;
340
+ selectFields?: string[] | undefined;
341
+ itemTemplate?: string | undefined;
342
+ }, {
343
+ sourceJsonPath: string;
344
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
345
+ selectFields?: string[] | undefined;
346
+ itemTemplate?: string | undefined;
347
+ joinSeparator?: string | undefined;
348
+ }>>>;
349
+ directPrompt: z.ZodOptional<z.ZodString>;
350
+ inferenceParameters: z.ZodOptional<z.ZodObject<{
351
+ temperature: z.ZodOptional<z.ZodNumber>;
352
+ maxOutputTokens: z.ZodOptional<z.ZodNumber>;
353
+ topP: z.ZodOptional<z.ZodNumber>;
354
+ topK: z.ZodOptional<z.ZodNumber>;
355
+ seed: z.ZodOptional<z.ZodNumber>;
356
+ }, "strip", z.ZodTypeAny, {
357
+ temperature?: number | undefined;
358
+ maxOutputTokens?: number | undefined;
359
+ topP?: number | undefined;
360
+ topK?: number | undefined;
361
+ seed?: number | undefined;
362
+ }, {
363
+ temperature?: number | undefined;
364
+ maxOutputTokens?: number | undefined;
365
+ topP?: number | undefined;
366
+ topK?: number | undefined;
367
+ seed?: number | undefined;
368
+ }>>;
369
+ customConfig: z.ZodOptional<z.ZodObject<{
370
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
371
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
372
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
373
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
374
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
375
+ }, z.ZodTypeAny, "passthrough">>>;
376
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
377
+ stepType: z.ZodLiteral<import("../index.js").StepType.DATA_LOAD>;
378
+ moduleIdentifier: z.ZodOptional<z.ZodString>;
379
+ customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
380
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
381
+ stepType: z.ZodLiteral<import("../index.js").StepType.DATA_LOAD>;
382
+ moduleIdentifier: z.ZodOptional<z.ZodString>;
383
+ customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
384
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
385
+ stepType: z.ZodLiteral<import("../index.js").StepType.DATA_LOAD>;
386
+ moduleIdentifier: z.ZodOptional<z.ZodString>;
387
+ customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
388
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
389
+ stepType: z.ZodLiteral<import("../index.js").StepType.DATA_SAVE>;
390
+ moduleIdentifier: z.ZodOptional<z.ZodString>;
391
+ customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
392
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
393
+ stepType: z.ZodLiteral<import("../index.js").StepType.DATA_SAVE>;
394
+ moduleIdentifier: z.ZodOptional<z.ZodString>;
395
+ customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
396
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
397
+ stepType: z.ZodLiteral<import("../index.js").StepType.DATA_SAVE>;
398
+ moduleIdentifier: z.ZodOptional<z.ZodString>;
399
+ customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
400
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
401
+ stepType: z.ZodLiteral<import("../index.js").StepType.DATA_TRANSFORMATION>;
402
+ moduleIdentifier: z.ZodOptional<z.ZodString>;
403
+ customConfig: z.ZodOptional<z.ZodObject<{
404
+ language: z.ZodOptional<z.ZodEnum<["javascript", "jsonata", "python_inline"]>>;
405
+ script: z.ZodOptional<z.ZodString>;
406
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
407
+ language: z.ZodOptional<z.ZodEnum<["javascript", "jsonata", "python_inline"]>>;
408
+ script: z.ZodOptional<z.ZodString>;
409
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
410
+ language: z.ZodOptional<z.ZodEnum<["javascript", "jsonata", "python_inline"]>>;
411
+ script: z.ZodOptional<z.ZodString>;
412
+ }, z.ZodTypeAny, "passthrough">>>;
413
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
414
+ stepType: z.ZodLiteral<import("../index.js").StepType.DATA_TRANSFORMATION>;
415
+ moduleIdentifier: z.ZodOptional<z.ZodString>;
416
+ customConfig: z.ZodOptional<z.ZodObject<{
417
+ language: z.ZodOptional<z.ZodEnum<["javascript", "jsonata", "python_inline"]>>;
418
+ script: z.ZodOptional<z.ZodString>;
419
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
420
+ language: z.ZodOptional<z.ZodEnum<["javascript", "jsonata", "python_inline"]>>;
421
+ script: z.ZodOptional<z.ZodString>;
422
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
423
+ language: z.ZodOptional<z.ZodEnum<["javascript", "jsonata", "python_inline"]>>;
424
+ script: z.ZodOptional<z.ZodString>;
425
+ }, z.ZodTypeAny, "passthrough">>>;
426
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
427
+ stepType: z.ZodLiteral<import("../index.js").StepType.DATA_TRANSFORMATION>;
428
+ moduleIdentifier: z.ZodOptional<z.ZodString>;
429
+ customConfig: z.ZodOptional<z.ZodObject<{
430
+ language: z.ZodOptional<z.ZodEnum<["javascript", "jsonata", "python_inline"]>>;
431
+ script: z.ZodOptional<z.ZodString>;
432
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
433
+ language: z.ZodOptional<z.ZodEnum<["javascript", "jsonata", "python_inline"]>>;
434
+ script: z.ZodOptional<z.ZodString>;
435
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
436
+ language: z.ZodOptional<z.ZodEnum<["javascript", "jsonata", "python_inline"]>>;
437
+ script: z.ZodOptional<z.ZodString>;
438
+ }, z.ZodTypeAny, "passthrough">>>;
439
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
440
+ stepType: z.ZodLiteral<import("../index.js").StepType.CUSTOM_LOGIC>;
441
+ moduleIdentifier: z.ZodOptional<z.ZodString>;
442
+ customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
443
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
444
+ stepType: z.ZodLiteral<import("../index.js").StepType.CUSTOM_LOGIC>;
445
+ moduleIdentifier: z.ZodOptional<z.ZodString>;
446
+ customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
447
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
448
+ stepType: z.ZodLiteral<import("../index.js").StepType.CUSTOM_LOGIC>;
449
+ moduleIdentifier: z.ZodOptional<z.ZodString>;
450
+ customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
451
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
452
+ stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
453
+ apiUrlTemplate: z.ZodObject<{
454
+ template: z.ZodString;
455
+ contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
456
+ sourceJsonPath: z.ZodString;
457
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
458
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
459
+ itemTemplate: z.ZodOptional<z.ZodString>;
460
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
461
+ }, "strip", z.ZodTypeAny, {
462
+ sourceJsonPath: string;
463
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
464
+ joinSeparator: string;
465
+ selectFields?: string[] | undefined;
466
+ itemTemplate?: string | undefined;
467
+ }, {
468
+ sourceJsonPath: string;
469
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
470
+ selectFields?: string[] | undefined;
471
+ itemTemplate?: string | undefined;
472
+ joinSeparator?: string | undefined;
473
+ }>, {
474
+ sourceJsonPath: string;
475
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
476
+ joinSeparator: string;
477
+ selectFields?: string[] | undefined;
478
+ itemTemplate?: string | undefined;
479
+ }, {
480
+ sourceJsonPath: string;
481
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
482
+ selectFields?: string[] | undefined;
483
+ itemTemplate?: string | undefined;
484
+ joinSeparator?: string | undefined;
485
+ }>>>;
486
+ }, "strip", z.ZodTypeAny, {
487
+ template: string;
488
+ contextMappings?: Record<string, {
489
+ sourceJsonPath: string;
490
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
491
+ joinSeparator: string;
492
+ selectFields?: string[] | undefined;
493
+ itemTemplate?: string | undefined;
494
+ }> | undefined;
495
+ }, {
496
+ template: string;
497
+ contextMappings?: Record<string, {
498
+ sourceJsonPath: string;
499
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
500
+ selectFields?: string[] | undefined;
501
+ itemTemplate?: string | undefined;
502
+ joinSeparator?: string | undefined;
503
+ }> | undefined;
504
+ }>;
505
+ apiHttpMethod: z.ZodNativeEnum<typeof import("../index.js").HttpMethod>;
506
+ apiHeadersTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
507
+ apiStaticHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
508
+ requestBodyTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
509
+ sourceJsonPath: z.ZodString;
510
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
511
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
512
+ itemTemplate: z.ZodOptional<z.ZodString>;
513
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
514
+ }, "strip", z.ZodTypeAny, {
515
+ sourceJsonPath: string;
516
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
517
+ joinSeparator: string;
518
+ selectFields?: string[] | undefined;
519
+ itemTemplate?: string | undefined;
520
+ }, {
521
+ sourceJsonPath: string;
522
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
523
+ selectFields?: string[] | undefined;
524
+ itemTemplate?: string | undefined;
525
+ joinSeparator?: string | undefined;
526
+ }>, {
527
+ sourceJsonPath: string;
528
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
529
+ joinSeparator: string;
530
+ selectFields?: string[] | undefined;
531
+ itemTemplate?: string | undefined;
532
+ }, {
533
+ sourceJsonPath: string;
534
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
535
+ selectFields?: string[] | undefined;
536
+ itemTemplate?: string | undefined;
537
+ joinSeparator?: string | undefined;
538
+ }>>>;
539
+ customConfig: z.ZodOptional<z.ZodObject<{
540
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
541
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
542
+ requestBodyPath: z.ZodOptional<z.ZodString>;
543
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
544
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
545
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
546
+ requestBodyPath: z.ZodOptional<z.ZodString>;
547
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
548
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
549
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
550
+ requestBodyPath: z.ZodOptional<z.ZodString>;
551
+ }, z.ZodTypeAny, "passthrough">>>;
552
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
553
+ stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
554
+ apiUrlTemplate: z.ZodObject<{
555
+ template: z.ZodString;
556
+ contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
557
+ sourceJsonPath: z.ZodString;
558
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
559
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
560
+ itemTemplate: z.ZodOptional<z.ZodString>;
561
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
562
+ }, "strip", z.ZodTypeAny, {
563
+ sourceJsonPath: string;
564
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
565
+ joinSeparator: string;
566
+ selectFields?: string[] | undefined;
567
+ itemTemplate?: string | undefined;
568
+ }, {
569
+ sourceJsonPath: string;
570
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
571
+ selectFields?: string[] | undefined;
572
+ itemTemplate?: string | undefined;
573
+ joinSeparator?: string | undefined;
574
+ }>, {
575
+ sourceJsonPath: string;
576
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
577
+ joinSeparator: string;
578
+ selectFields?: string[] | undefined;
579
+ itemTemplate?: string | undefined;
580
+ }, {
581
+ sourceJsonPath: string;
582
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
583
+ selectFields?: string[] | undefined;
584
+ itemTemplate?: string | undefined;
585
+ joinSeparator?: string | undefined;
586
+ }>>>;
587
+ }, "strip", z.ZodTypeAny, {
588
+ template: string;
589
+ contextMappings?: Record<string, {
590
+ sourceJsonPath: string;
591
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
592
+ joinSeparator: string;
593
+ selectFields?: string[] | undefined;
594
+ itemTemplate?: string | undefined;
595
+ }> | undefined;
596
+ }, {
597
+ template: string;
598
+ contextMappings?: Record<string, {
599
+ sourceJsonPath: string;
600
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
601
+ selectFields?: string[] | undefined;
602
+ itemTemplate?: string | undefined;
603
+ joinSeparator?: string | undefined;
604
+ }> | undefined;
605
+ }>;
606
+ apiHttpMethod: z.ZodNativeEnum<typeof import("../index.js").HttpMethod>;
607
+ apiHeadersTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
608
+ apiStaticHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
609
+ requestBodyTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
610
+ sourceJsonPath: z.ZodString;
611
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
612
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
613
+ itemTemplate: z.ZodOptional<z.ZodString>;
614
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
615
+ }, "strip", z.ZodTypeAny, {
616
+ sourceJsonPath: string;
617
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
618
+ joinSeparator: string;
619
+ selectFields?: string[] | undefined;
620
+ itemTemplate?: string | undefined;
621
+ }, {
622
+ sourceJsonPath: string;
623
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
624
+ selectFields?: string[] | undefined;
625
+ itemTemplate?: string | undefined;
626
+ joinSeparator?: string | undefined;
627
+ }>, {
628
+ sourceJsonPath: string;
629
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
630
+ joinSeparator: string;
631
+ selectFields?: string[] | undefined;
632
+ itemTemplate?: string | undefined;
633
+ }, {
634
+ sourceJsonPath: string;
635
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
636
+ selectFields?: string[] | undefined;
637
+ itemTemplate?: string | undefined;
638
+ joinSeparator?: string | undefined;
639
+ }>>>;
640
+ customConfig: z.ZodOptional<z.ZodObject<{
641
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
642
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
643
+ requestBodyPath: z.ZodOptional<z.ZodString>;
644
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
645
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
646
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
647
+ requestBodyPath: z.ZodOptional<z.ZodString>;
648
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
649
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
650
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
651
+ requestBodyPath: z.ZodOptional<z.ZodString>;
652
+ }, z.ZodTypeAny, "passthrough">>>;
653
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
654
+ stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
655
+ apiUrlTemplate: z.ZodObject<{
656
+ template: z.ZodString;
657
+ contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
658
+ sourceJsonPath: z.ZodString;
659
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
660
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
661
+ itemTemplate: z.ZodOptional<z.ZodString>;
662
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
663
+ }, "strip", z.ZodTypeAny, {
664
+ sourceJsonPath: string;
665
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
666
+ joinSeparator: string;
667
+ selectFields?: string[] | undefined;
668
+ itemTemplate?: string | undefined;
669
+ }, {
670
+ sourceJsonPath: string;
671
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
672
+ selectFields?: string[] | undefined;
673
+ itemTemplate?: string | undefined;
674
+ joinSeparator?: string | undefined;
675
+ }>, {
676
+ sourceJsonPath: string;
677
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
678
+ joinSeparator: string;
679
+ selectFields?: string[] | undefined;
680
+ itemTemplate?: string | undefined;
681
+ }, {
682
+ sourceJsonPath: string;
683
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
684
+ selectFields?: string[] | undefined;
685
+ itemTemplate?: string | undefined;
686
+ joinSeparator?: string | undefined;
687
+ }>>>;
688
+ }, "strip", z.ZodTypeAny, {
689
+ template: string;
690
+ contextMappings?: Record<string, {
691
+ sourceJsonPath: string;
692
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
693
+ joinSeparator: string;
694
+ selectFields?: string[] | undefined;
695
+ itemTemplate?: string | undefined;
696
+ }> | undefined;
697
+ }, {
698
+ template: string;
699
+ contextMappings?: Record<string, {
700
+ sourceJsonPath: string;
701
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
702
+ selectFields?: string[] | undefined;
703
+ itemTemplate?: string | undefined;
704
+ joinSeparator?: string | undefined;
705
+ }> | undefined;
706
+ }>;
707
+ apiHttpMethod: z.ZodNativeEnum<typeof import("../index.js").HttpMethod>;
708
+ apiHeadersTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
709
+ apiStaticHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
710
+ requestBodyTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
711
+ sourceJsonPath: z.ZodString;
712
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
713
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
714
+ itemTemplate: z.ZodOptional<z.ZodString>;
715
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
716
+ }, "strip", z.ZodTypeAny, {
717
+ sourceJsonPath: string;
718
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
719
+ joinSeparator: string;
720
+ selectFields?: string[] | undefined;
721
+ itemTemplate?: string | undefined;
722
+ }, {
723
+ sourceJsonPath: string;
724
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
725
+ selectFields?: string[] | undefined;
726
+ itemTemplate?: string | undefined;
727
+ joinSeparator?: string | undefined;
728
+ }>, {
729
+ sourceJsonPath: string;
730
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
731
+ joinSeparator: string;
732
+ selectFields?: string[] | undefined;
733
+ itemTemplate?: string | undefined;
734
+ }, {
735
+ sourceJsonPath: string;
736
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
737
+ selectFields?: string[] | undefined;
738
+ itemTemplate?: string | undefined;
739
+ joinSeparator?: string | undefined;
740
+ }>>>;
741
+ customConfig: z.ZodOptional<z.ZodObject<{
742
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
743
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
744
+ requestBodyPath: z.ZodOptional<z.ZodString>;
745
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
746
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
747
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
748
+ requestBodyPath: z.ZodOptional<z.ZodString>;
749
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
750
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
751
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
752
+ requestBodyPath: z.ZodOptional<z.ZodString>;
753
+ }, z.ZodTypeAny, "passthrough">>>;
754
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
755
+ stepType: z.ZodLiteral<import("../index.js").StepType.START_SUB_FLOW>;
756
+ subFlowDefinitionId: z.ZodString;
757
+ subFlowVersion: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"LATEST_PUBLISHED">]>>>;
758
+ subFlowExecutionMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["SYNC", "ASYNC"]>>>;
759
+ inputMappingsToSubFlow: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
760
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
761
+ stepType: z.ZodLiteral<import("../index.js").StepType.START_SUB_FLOW>;
762
+ subFlowDefinitionId: z.ZodString;
763
+ subFlowVersion: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"LATEST_PUBLISHED">]>>>;
764
+ subFlowExecutionMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["SYNC", "ASYNC"]>>>;
765
+ inputMappingsToSubFlow: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
766
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
767
+ stepType: z.ZodLiteral<import("../index.js").StepType.START_SUB_FLOW>;
768
+ subFlowDefinitionId: z.ZodString;
769
+ subFlowVersion: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"LATEST_PUBLISHED">]>>>;
770
+ subFlowExecutionMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["SYNC", "ASYNC"]>>>;
771
+ inputMappingsToSubFlow: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
772
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
773
+ stepType: z.ZodLiteral<import("../index.js").StepType.NO_OP>;
774
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
775
+ stepType: z.ZodLiteral<import("../index.js").StepType.NO_OP>;
776
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
777
+ stepType: z.ZodLiteral<import("../index.js").StepType.NO_OP>;
778
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
779
+ stepType: z.ZodLiteral<import("../index.js").StepType.END_FLOW>;
780
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
781
+ stepType: z.ZodLiteral<import("../index.js").StepType.END_FLOW>;
782
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
783
+ stepType: z.ZodLiteral<import("../index.js").StepType.END_FLOW>;
784
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
785
+ stepType: z.ZodLiteral<import("../index.js").StepType.WAIT_FOR_EXTERNAL_EVENT>;
786
+ correlationKeyTemplate: z.ZodString;
787
+ promptUserMessageTemplate: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodString]>>;
788
+ messageSenderModuleIdentifier: z.ZodOptional<z.ZodString>;
789
+ maxWaitTimeSeconds: z.ZodOptional<z.ZodNumber>;
790
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
791
+ stepType: z.ZodLiteral<import("../index.js").StepType.WAIT_FOR_EXTERNAL_EVENT>;
792
+ correlationKeyTemplate: z.ZodString;
793
+ promptUserMessageTemplate: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodString]>>;
794
+ messageSenderModuleIdentifier: z.ZodOptional<z.ZodString>;
795
+ maxWaitTimeSeconds: z.ZodOptional<z.ZodNumber>;
796
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
797
+ stepType: z.ZodLiteral<import("../index.js").StepType.WAIT_FOR_EXTERNAL_EVENT>;
798
+ correlationKeyTemplate: z.ZodString;
799
+ promptUserMessageTemplate: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodString]>>;
800
+ messageSenderModuleIdentifier: z.ZodOptional<z.ZodString>;
801
+ maxWaitTimeSeconds: z.ZodOptional<z.ZodNumber>;
802
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
803
+ stepType: z.ZodLiteral<import("../index.js").StepType.POLL_EXTERNAL_API>;
804
+ apiCallDefinition: z.ZodObject<Pick<{
805
+ stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
806
+ apiUrlTemplate: z.ZodObject<{
807
+ template: z.ZodString;
808
+ contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
809
+ sourceJsonPath: z.ZodString;
810
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
811
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
812
+ itemTemplate: z.ZodOptional<z.ZodString>;
813
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
814
+ }, "strip", z.ZodTypeAny, {
815
+ sourceJsonPath: string;
816
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
817
+ joinSeparator: string;
818
+ selectFields?: string[] | undefined;
819
+ itemTemplate?: string | undefined;
820
+ }, {
821
+ sourceJsonPath: string;
822
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
823
+ selectFields?: string[] | undefined;
824
+ itemTemplate?: string | undefined;
825
+ joinSeparator?: string | undefined;
826
+ }>, {
827
+ sourceJsonPath: string;
828
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
829
+ joinSeparator: string;
830
+ selectFields?: string[] | undefined;
831
+ itemTemplate?: string | undefined;
832
+ }, {
833
+ sourceJsonPath: string;
834
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
835
+ selectFields?: string[] | undefined;
836
+ itemTemplate?: string | undefined;
837
+ joinSeparator?: string | undefined;
838
+ }>>>;
839
+ }, "strip", z.ZodTypeAny, {
840
+ template: string;
841
+ contextMappings?: Record<string, {
842
+ sourceJsonPath: string;
843
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
844
+ joinSeparator: string;
845
+ selectFields?: string[] | undefined;
846
+ itemTemplate?: string | undefined;
847
+ }> | undefined;
848
+ }, {
849
+ template: string;
850
+ contextMappings?: Record<string, {
851
+ sourceJsonPath: string;
852
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
853
+ selectFields?: string[] | undefined;
854
+ itemTemplate?: string | undefined;
855
+ joinSeparator?: string | undefined;
856
+ }> | undefined;
857
+ }>;
858
+ apiHttpMethod: z.ZodNativeEnum<typeof import("../index.js").HttpMethod>;
859
+ apiHeadersTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
860
+ apiStaticHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
861
+ requestBodyTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
862
+ sourceJsonPath: z.ZodString;
863
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
864
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
865
+ itemTemplate: z.ZodOptional<z.ZodString>;
866
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
867
+ }, "strip", z.ZodTypeAny, {
868
+ sourceJsonPath: string;
869
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
870
+ joinSeparator: string;
871
+ selectFields?: string[] | undefined;
872
+ itemTemplate?: string | undefined;
873
+ }, {
874
+ sourceJsonPath: string;
875
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
876
+ selectFields?: string[] | undefined;
877
+ itemTemplate?: string | undefined;
878
+ joinSeparator?: string | undefined;
879
+ }>, {
880
+ sourceJsonPath: string;
881
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
882
+ joinSeparator: string;
883
+ selectFields?: string[] | undefined;
884
+ itemTemplate?: string | undefined;
885
+ }, {
886
+ sourceJsonPath: string;
887
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
888
+ selectFields?: string[] | undefined;
889
+ itemTemplate?: string | undefined;
890
+ joinSeparator?: string | undefined;
891
+ }>>>;
892
+ customConfig: z.ZodOptional<z.ZodObject<{
893
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
894
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
895
+ requestBodyPath: z.ZodOptional<z.ZodString>;
896
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
897
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
898
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
899
+ requestBodyPath: z.ZodOptional<z.ZodString>;
900
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
901
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
902
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
903
+ requestBodyPath: z.ZodOptional<z.ZodString>;
904
+ }, z.ZodTypeAny, "passthrough">>>;
905
+ }, "apiHttpMethod" | "apiUrlTemplate" | "apiHeadersTemplate" | "apiStaticHeaders">, "passthrough", z.ZodTypeAny, z.objectOutputType<Pick<{
906
+ stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
907
+ apiUrlTemplate: z.ZodObject<{
908
+ template: z.ZodString;
909
+ contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
910
+ sourceJsonPath: z.ZodString;
911
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
912
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
913
+ itemTemplate: z.ZodOptional<z.ZodString>;
914
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
915
+ }, "strip", z.ZodTypeAny, {
916
+ sourceJsonPath: string;
917
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
918
+ joinSeparator: string;
919
+ selectFields?: string[] | undefined;
920
+ itemTemplate?: string | undefined;
921
+ }, {
922
+ sourceJsonPath: string;
923
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
924
+ selectFields?: string[] | undefined;
925
+ itemTemplate?: string | undefined;
926
+ joinSeparator?: string | undefined;
927
+ }>, {
928
+ sourceJsonPath: string;
929
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
930
+ joinSeparator: string;
931
+ selectFields?: string[] | undefined;
932
+ itemTemplate?: string | undefined;
933
+ }, {
934
+ sourceJsonPath: string;
935
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
936
+ selectFields?: string[] | undefined;
937
+ itemTemplate?: string | undefined;
938
+ joinSeparator?: string | undefined;
939
+ }>>>;
940
+ }, "strip", z.ZodTypeAny, {
941
+ template: string;
942
+ contextMappings?: Record<string, {
943
+ sourceJsonPath: string;
944
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
945
+ joinSeparator: string;
946
+ selectFields?: string[] | undefined;
947
+ itemTemplate?: string | undefined;
948
+ }> | undefined;
949
+ }, {
950
+ template: string;
951
+ contextMappings?: Record<string, {
952
+ sourceJsonPath: string;
953
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
954
+ selectFields?: string[] | undefined;
955
+ itemTemplate?: string | undefined;
956
+ joinSeparator?: string | undefined;
957
+ }> | undefined;
958
+ }>;
959
+ apiHttpMethod: z.ZodNativeEnum<typeof import("../index.js").HttpMethod>;
960
+ apiHeadersTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
961
+ apiStaticHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
962
+ requestBodyTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
963
+ sourceJsonPath: z.ZodString;
964
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
965
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
966
+ itemTemplate: z.ZodOptional<z.ZodString>;
967
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
968
+ }, "strip", z.ZodTypeAny, {
969
+ sourceJsonPath: string;
970
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
971
+ joinSeparator: string;
972
+ selectFields?: string[] | undefined;
973
+ itemTemplate?: string | undefined;
974
+ }, {
975
+ sourceJsonPath: string;
976
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
977
+ selectFields?: string[] | undefined;
978
+ itemTemplate?: string | undefined;
979
+ joinSeparator?: string | undefined;
980
+ }>, {
981
+ sourceJsonPath: string;
982
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
983
+ joinSeparator: string;
984
+ selectFields?: string[] | undefined;
985
+ itemTemplate?: string | undefined;
986
+ }, {
987
+ sourceJsonPath: string;
988
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
989
+ selectFields?: string[] | undefined;
990
+ itemTemplate?: string | undefined;
991
+ joinSeparator?: string | undefined;
992
+ }>>>;
993
+ customConfig: z.ZodOptional<z.ZodObject<{
994
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
995
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
996
+ requestBodyPath: z.ZodOptional<z.ZodString>;
997
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
998
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
999
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
1000
+ requestBodyPath: z.ZodOptional<z.ZodString>;
1001
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1002
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
1003
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
1004
+ requestBodyPath: z.ZodOptional<z.ZodString>;
1005
+ }, z.ZodTypeAny, "passthrough">>>;
1006
+ }, "apiHttpMethod" | "apiUrlTemplate" | "apiHeadersTemplate" | "apiStaticHeaders">, z.ZodTypeAny, "passthrough">, z.objectInputType<Pick<{
1007
+ stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
1008
+ apiUrlTemplate: z.ZodObject<{
1009
+ template: z.ZodString;
1010
+ contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
1011
+ sourceJsonPath: z.ZodString;
1012
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
1013
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1014
+ itemTemplate: z.ZodOptional<z.ZodString>;
1015
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1016
+ }, "strip", z.ZodTypeAny, {
1017
+ sourceJsonPath: string;
1018
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
1019
+ joinSeparator: string;
1020
+ selectFields?: string[] | undefined;
1021
+ itemTemplate?: string | undefined;
1022
+ }, {
1023
+ sourceJsonPath: string;
1024
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
1025
+ selectFields?: string[] | undefined;
1026
+ itemTemplate?: string | undefined;
1027
+ joinSeparator?: string | undefined;
1028
+ }>, {
1029
+ sourceJsonPath: string;
1030
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
1031
+ joinSeparator: string;
1032
+ selectFields?: string[] | undefined;
1033
+ itemTemplate?: string | undefined;
1034
+ }, {
1035
+ sourceJsonPath: string;
1036
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
1037
+ selectFields?: string[] | undefined;
1038
+ itemTemplate?: string | undefined;
1039
+ joinSeparator?: string | undefined;
1040
+ }>>>;
1041
+ }, "strip", z.ZodTypeAny, {
1042
+ template: string;
1043
+ contextMappings?: Record<string, {
1044
+ sourceJsonPath: string;
1045
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
1046
+ joinSeparator: string;
1047
+ selectFields?: string[] | undefined;
1048
+ itemTemplate?: string | undefined;
1049
+ }> | undefined;
1050
+ }, {
1051
+ template: string;
1052
+ contextMappings?: Record<string, {
1053
+ sourceJsonPath: string;
1054
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
1055
+ selectFields?: string[] | undefined;
1056
+ itemTemplate?: string | undefined;
1057
+ joinSeparator?: string | undefined;
1058
+ }> | undefined;
1059
+ }>;
1060
+ apiHttpMethod: z.ZodNativeEnum<typeof import("../index.js").HttpMethod>;
1061
+ apiHeadersTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1062
+ apiStaticHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1063
+ requestBodyTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
1064
+ sourceJsonPath: z.ZodString;
1065
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
1066
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1067
+ itemTemplate: z.ZodOptional<z.ZodString>;
1068
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1069
+ }, "strip", z.ZodTypeAny, {
1070
+ sourceJsonPath: string;
1071
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
1072
+ joinSeparator: string;
1073
+ selectFields?: string[] | undefined;
1074
+ itemTemplate?: string | undefined;
1075
+ }, {
1076
+ sourceJsonPath: string;
1077
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
1078
+ selectFields?: string[] | undefined;
1079
+ itemTemplate?: string | undefined;
1080
+ joinSeparator?: string | undefined;
1081
+ }>, {
1082
+ sourceJsonPath: string;
1083
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
1084
+ joinSeparator: string;
1085
+ selectFields?: string[] | undefined;
1086
+ itemTemplate?: string | undefined;
1087
+ }, {
1088
+ sourceJsonPath: string;
1089
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
1090
+ selectFields?: string[] | undefined;
1091
+ itemTemplate?: string | undefined;
1092
+ joinSeparator?: string | undefined;
1093
+ }>>>;
1094
+ customConfig: z.ZodOptional<z.ZodObject<{
1095
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
1096
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
1097
+ requestBodyPath: z.ZodOptional<z.ZodString>;
1098
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1099
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
1100
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
1101
+ requestBodyPath: z.ZodOptional<z.ZodString>;
1102
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1103
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
1104
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
1105
+ requestBodyPath: z.ZodOptional<z.ZodString>;
1106
+ }, z.ZodTypeAny, "passthrough">>>;
1107
+ }, "apiHttpMethod" | "apiUrlTemplate" | "apiHeadersTemplate" | "apiStaticHeaders">, z.ZodTypeAny, "passthrough">>;
1108
+ pollingConfig: z.ZodObject<{
1109
+ intervalSeconds: z.ZodNumber;
1110
+ maxAttempts: z.ZodNumber;
1111
+ }, "strip", z.ZodTypeAny, {
1112
+ intervalSeconds: number;
1113
+ maxAttempts: number;
1114
+ }, {
1115
+ intervalSeconds: number;
1116
+ maxAttempts: number;
1117
+ }>;
1118
+ exitConditions: z.ZodObject<{
1119
+ successCondition: z.ZodString;
1120
+ failureCondition: z.ZodString;
1121
+ }, "strip", z.ZodTypeAny, {
1122
+ successCondition: string;
1123
+ failureCondition: string;
1124
+ }, {
1125
+ successCondition: string;
1126
+ failureCondition: string;
1127
+ }>;
1128
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1129
+ stepType: z.ZodLiteral<import("../index.js").StepType.POLL_EXTERNAL_API>;
1130
+ apiCallDefinition: z.ZodObject<Pick<{
1131
+ stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
1132
+ apiUrlTemplate: z.ZodObject<{
1133
+ template: z.ZodString;
1134
+ contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
1135
+ sourceJsonPath: z.ZodString;
1136
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
1137
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1138
+ itemTemplate: z.ZodOptional<z.ZodString>;
1139
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1140
+ }, "strip", z.ZodTypeAny, {
1141
+ sourceJsonPath: string;
1142
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
1143
+ joinSeparator: string;
1144
+ selectFields?: string[] | undefined;
1145
+ itemTemplate?: string | undefined;
1146
+ }, {
1147
+ sourceJsonPath: string;
1148
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
1149
+ selectFields?: string[] | undefined;
1150
+ itemTemplate?: string | undefined;
1151
+ joinSeparator?: string | undefined;
1152
+ }>, {
1153
+ sourceJsonPath: string;
1154
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
1155
+ joinSeparator: string;
1156
+ selectFields?: string[] | undefined;
1157
+ itemTemplate?: string | undefined;
1158
+ }, {
1159
+ sourceJsonPath: string;
1160
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
1161
+ selectFields?: string[] | undefined;
1162
+ itemTemplate?: string | undefined;
1163
+ joinSeparator?: string | undefined;
1164
+ }>>>;
1165
+ }, "strip", z.ZodTypeAny, {
1166
+ template: string;
1167
+ contextMappings?: Record<string, {
1168
+ sourceJsonPath: string;
1169
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
1170
+ joinSeparator: string;
1171
+ selectFields?: string[] | undefined;
1172
+ itemTemplate?: string | undefined;
1173
+ }> | undefined;
1174
+ }, {
1175
+ template: string;
1176
+ contextMappings?: Record<string, {
1177
+ sourceJsonPath: string;
1178
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
1179
+ selectFields?: string[] | undefined;
1180
+ itemTemplate?: string | undefined;
1181
+ joinSeparator?: string | undefined;
1182
+ }> | undefined;
1183
+ }>;
1184
+ apiHttpMethod: z.ZodNativeEnum<typeof import("../index.js").HttpMethod>;
1185
+ apiHeadersTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1186
+ apiStaticHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1187
+ requestBodyTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
1188
+ sourceJsonPath: z.ZodString;
1189
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
1190
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1191
+ itemTemplate: z.ZodOptional<z.ZodString>;
1192
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1193
+ }, "strip", z.ZodTypeAny, {
1194
+ sourceJsonPath: string;
1195
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
1196
+ joinSeparator: string;
1197
+ selectFields?: string[] | undefined;
1198
+ itemTemplate?: string | undefined;
1199
+ }, {
1200
+ sourceJsonPath: string;
1201
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
1202
+ selectFields?: string[] | undefined;
1203
+ itemTemplate?: string | undefined;
1204
+ joinSeparator?: string | undefined;
1205
+ }>, {
1206
+ sourceJsonPath: string;
1207
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
1208
+ joinSeparator: string;
1209
+ selectFields?: string[] | undefined;
1210
+ itemTemplate?: string | undefined;
1211
+ }, {
1212
+ sourceJsonPath: string;
1213
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
1214
+ selectFields?: string[] | undefined;
1215
+ itemTemplate?: string | undefined;
1216
+ joinSeparator?: string | undefined;
1217
+ }>>>;
1218
+ customConfig: z.ZodOptional<z.ZodObject<{
1219
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
1220
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
1221
+ requestBodyPath: z.ZodOptional<z.ZodString>;
1222
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1223
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
1224
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
1225
+ requestBodyPath: z.ZodOptional<z.ZodString>;
1226
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1227
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
1228
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
1229
+ requestBodyPath: z.ZodOptional<z.ZodString>;
1230
+ }, z.ZodTypeAny, "passthrough">>>;
1231
+ }, "apiHttpMethod" | "apiUrlTemplate" | "apiHeadersTemplate" | "apiStaticHeaders">, "passthrough", z.ZodTypeAny, z.objectOutputType<Pick<{
1232
+ stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
1233
+ apiUrlTemplate: z.ZodObject<{
1234
+ template: z.ZodString;
1235
+ contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
1236
+ sourceJsonPath: z.ZodString;
1237
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
1238
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1239
+ itemTemplate: z.ZodOptional<z.ZodString>;
1240
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1241
+ }, "strip", z.ZodTypeAny, {
1242
+ sourceJsonPath: string;
1243
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
1244
+ joinSeparator: string;
1245
+ selectFields?: string[] | undefined;
1246
+ itemTemplate?: string | undefined;
1247
+ }, {
1248
+ sourceJsonPath: string;
1249
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
1250
+ selectFields?: string[] | undefined;
1251
+ itemTemplate?: string | undefined;
1252
+ joinSeparator?: string | undefined;
1253
+ }>, {
1254
+ sourceJsonPath: string;
1255
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
1256
+ joinSeparator: string;
1257
+ selectFields?: string[] | undefined;
1258
+ itemTemplate?: string | undefined;
1259
+ }, {
1260
+ sourceJsonPath: string;
1261
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
1262
+ selectFields?: string[] | undefined;
1263
+ itemTemplate?: string | undefined;
1264
+ joinSeparator?: string | undefined;
1265
+ }>>>;
1266
+ }, "strip", z.ZodTypeAny, {
1267
+ template: string;
1268
+ contextMappings?: Record<string, {
1269
+ sourceJsonPath: string;
1270
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
1271
+ joinSeparator: string;
1272
+ selectFields?: string[] | undefined;
1273
+ itemTemplate?: string | undefined;
1274
+ }> | undefined;
1275
+ }, {
1276
+ template: string;
1277
+ contextMappings?: Record<string, {
1278
+ sourceJsonPath: string;
1279
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
1280
+ selectFields?: string[] | undefined;
1281
+ itemTemplate?: string | undefined;
1282
+ joinSeparator?: string | undefined;
1283
+ }> | undefined;
1284
+ }>;
1285
+ apiHttpMethod: z.ZodNativeEnum<typeof import("../index.js").HttpMethod>;
1286
+ apiHeadersTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1287
+ apiStaticHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1288
+ requestBodyTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
1289
+ sourceJsonPath: z.ZodString;
1290
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
1291
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1292
+ itemTemplate: z.ZodOptional<z.ZodString>;
1293
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1294
+ }, "strip", z.ZodTypeAny, {
1295
+ sourceJsonPath: string;
1296
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
1297
+ joinSeparator: string;
1298
+ selectFields?: string[] | undefined;
1299
+ itemTemplate?: string | undefined;
1300
+ }, {
1301
+ sourceJsonPath: string;
1302
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
1303
+ selectFields?: string[] | undefined;
1304
+ itemTemplate?: string | undefined;
1305
+ joinSeparator?: string | undefined;
1306
+ }>, {
1307
+ sourceJsonPath: string;
1308
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
1309
+ joinSeparator: string;
1310
+ selectFields?: string[] | undefined;
1311
+ itemTemplate?: string | undefined;
1312
+ }, {
1313
+ sourceJsonPath: string;
1314
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
1315
+ selectFields?: string[] | undefined;
1316
+ itemTemplate?: string | undefined;
1317
+ joinSeparator?: string | undefined;
1318
+ }>>>;
1319
+ customConfig: z.ZodOptional<z.ZodObject<{
1320
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
1321
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
1322
+ requestBodyPath: z.ZodOptional<z.ZodString>;
1323
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1324
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
1325
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
1326
+ requestBodyPath: z.ZodOptional<z.ZodString>;
1327
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1328
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
1329
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
1330
+ requestBodyPath: z.ZodOptional<z.ZodString>;
1331
+ }, z.ZodTypeAny, "passthrough">>>;
1332
+ }, "apiHttpMethod" | "apiUrlTemplate" | "apiHeadersTemplate" | "apiStaticHeaders">, z.ZodTypeAny, "passthrough">, z.objectInputType<Pick<{
1333
+ stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
1334
+ apiUrlTemplate: z.ZodObject<{
1335
+ template: z.ZodString;
1336
+ contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
1337
+ sourceJsonPath: z.ZodString;
1338
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
1339
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1340
+ itemTemplate: z.ZodOptional<z.ZodString>;
1341
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1342
+ }, "strip", z.ZodTypeAny, {
1343
+ sourceJsonPath: string;
1344
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
1345
+ joinSeparator: string;
1346
+ selectFields?: string[] | undefined;
1347
+ itemTemplate?: string | undefined;
1348
+ }, {
1349
+ sourceJsonPath: string;
1350
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
1351
+ selectFields?: string[] | undefined;
1352
+ itemTemplate?: string | undefined;
1353
+ joinSeparator?: string | undefined;
1354
+ }>, {
1355
+ sourceJsonPath: string;
1356
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
1357
+ joinSeparator: string;
1358
+ selectFields?: string[] | undefined;
1359
+ itemTemplate?: string | undefined;
1360
+ }, {
1361
+ sourceJsonPath: string;
1362
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
1363
+ selectFields?: string[] | undefined;
1364
+ itemTemplate?: string | undefined;
1365
+ joinSeparator?: string | undefined;
1366
+ }>>>;
1367
+ }, "strip", z.ZodTypeAny, {
1368
+ template: string;
1369
+ contextMappings?: Record<string, {
1370
+ sourceJsonPath: string;
1371
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
1372
+ joinSeparator: string;
1373
+ selectFields?: string[] | undefined;
1374
+ itemTemplate?: string | undefined;
1375
+ }> | undefined;
1376
+ }, {
1377
+ template: string;
1378
+ contextMappings?: Record<string, {
1379
+ sourceJsonPath: string;
1380
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
1381
+ selectFields?: string[] | undefined;
1382
+ itemTemplate?: string | undefined;
1383
+ joinSeparator?: string | undefined;
1384
+ }> | undefined;
1385
+ }>;
1386
+ apiHttpMethod: z.ZodNativeEnum<typeof import("../index.js").HttpMethod>;
1387
+ apiHeadersTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1388
+ apiStaticHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1389
+ requestBodyTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
1390
+ sourceJsonPath: z.ZodString;
1391
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
1392
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1393
+ itemTemplate: z.ZodOptional<z.ZodString>;
1394
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1395
+ }, "strip", z.ZodTypeAny, {
1396
+ sourceJsonPath: string;
1397
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
1398
+ joinSeparator: string;
1399
+ selectFields?: string[] | undefined;
1400
+ itemTemplate?: string | undefined;
1401
+ }, {
1402
+ sourceJsonPath: string;
1403
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
1404
+ selectFields?: string[] | undefined;
1405
+ itemTemplate?: string | undefined;
1406
+ joinSeparator?: string | undefined;
1407
+ }>, {
1408
+ sourceJsonPath: string;
1409
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
1410
+ joinSeparator: string;
1411
+ selectFields?: string[] | undefined;
1412
+ itemTemplate?: string | undefined;
1413
+ }, {
1414
+ sourceJsonPath: string;
1415
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
1416
+ selectFields?: string[] | undefined;
1417
+ itemTemplate?: string | undefined;
1418
+ joinSeparator?: string | undefined;
1419
+ }>>>;
1420
+ customConfig: z.ZodOptional<z.ZodObject<{
1421
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
1422
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
1423
+ requestBodyPath: z.ZodOptional<z.ZodString>;
1424
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1425
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
1426
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
1427
+ requestBodyPath: z.ZodOptional<z.ZodString>;
1428
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1429
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
1430
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
1431
+ requestBodyPath: z.ZodOptional<z.ZodString>;
1432
+ }, z.ZodTypeAny, "passthrough">>>;
1433
+ }, "apiHttpMethod" | "apiUrlTemplate" | "apiHeadersTemplate" | "apiStaticHeaders">, z.ZodTypeAny, "passthrough">>;
1434
+ pollingConfig: z.ZodObject<{
1435
+ intervalSeconds: z.ZodNumber;
1436
+ maxAttempts: z.ZodNumber;
1437
+ }, "strip", z.ZodTypeAny, {
1438
+ intervalSeconds: number;
1439
+ maxAttempts: number;
1440
+ }, {
1441
+ intervalSeconds: number;
1442
+ maxAttempts: number;
1443
+ }>;
1444
+ exitConditions: z.ZodObject<{
1445
+ successCondition: z.ZodString;
1446
+ failureCondition: z.ZodString;
1447
+ }, "strip", z.ZodTypeAny, {
1448
+ successCondition: string;
1449
+ failureCondition: string;
1450
+ }, {
1451
+ successCondition: string;
1452
+ failureCondition: string;
1453
+ }>;
1454
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1455
+ stepType: z.ZodLiteral<import("../index.js").StepType.POLL_EXTERNAL_API>;
1456
+ apiCallDefinition: z.ZodObject<Pick<{
1457
+ stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
1458
+ apiUrlTemplate: z.ZodObject<{
1459
+ template: z.ZodString;
1460
+ contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
1461
+ sourceJsonPath: z.ZodString;
1462
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
1463
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1464
+ itemTemplate: z.ZodOptional<z.ZodString>;
1465
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1466
+ }, "strip", z.ZodTypeAny, {
1467
+ sourceJsonPath: string;
1468
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
1469
+ joinSeparator: string;
1470
+ selectFields?: string[] | undefined;
1471
+ itemTemplate?: string | undefined;
1472
+ }, {
1473
+ sourceJsonPath: string;
1474
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
1475
+ selectFields?: string[] | undefined;
1476
+ itemTemplate?: string | undefined;
1477
+ joinSeparator?: string | undefined;
1478
+ }>, {
1479
+ sourceJsonPath: string;
1480
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
1481
+ joinSeparator: string;
1482
+ selectFields?: string[] | undefined;
1483
+ itemTemplate?: string | undefined;
1484
+ }, {
1485
+ sourceJsonPath: string;
1486
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
1487
+ selectFields?: string[] | undefined;
1488
+ itemTemplate?: string | undefined;
1489
+ joinSeparator?: string | undefined;
1490
+ }>>>;
1491
+ }, "strip", z.ZodTypeAny, {
1492
+ template: string;
1493
+ contextMappings?: Record<string, {
1494
+ sourceJsonPath: string;
1495
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
1496
+ joinSeparator: string;
1497
+ selectFields?: string[] | undefined;
1498
+ itemTemplate?: string | undefined;
1499
+ }> | undefined;
1500
+ }, {
1501
+ template: string;
1502
+ contextMappings?: Record<string, {
1503
+ sourceJsonPath: string;
1504
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
1505
+ selectFields?: string[] | undefined;
1506
+ itemTemplate?: string | undefined;
1507
+ joinSeparator?: string | undefined;
1508
+ }> | undefined;
1509
+ }>;
1510
+ apiHttpMethod: z.ZodNativeEnum<typeof import("../index.js").HttpMethod>;
1511
+ apiHeadersTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1512
+ apiStaticHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1513
+ requestBodyTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
1514
+ sourceJsonPath: z.ZodString;
1515
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
1516
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1517
+ itemTemplate: z.ZodOptional<z.ZodString>;
1518
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1519
+ }, "strip", z.ZodTypeAny, {
1520
+ sourceJsonPath: string;
1521
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
1522
+ joinSeparator: string;
1523
+ selectFields?: string[] | undefined;
1524
+ itemTemplate?: string | undefined;
1525
+ }, {
1526
+ sourceJsonPath: string;
1527
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
1528
+ selectFields?: string[] | undefined;
1529
+ itemTemplate?: string | undefined;
1530
+ joinSeparator?: string | undefined;
1531
+ }>, {
1532
+ sourceJsonPath: string;
1533
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
1534
+ joinSeparator: string;
1535
+ selectFields?: string[] | undefined;
1536
+ itemTemplate?: string | undefined;
1537
+ }, {
1538
+ sourceJsonPath: string;
1539
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
1540
+ selectFields?: string[] | undefined;
1541
+ itemTemplate?: string | undefined;
1542
+ joinSeparator?: string | undefined;
1543
+ }>>>;
1544
+ customConfig: z.ZodOptional<z.ZodObject<{
1545
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
1546
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
1547
+ requestBodyPath: z.ZodOptional<z.ZodString>;
1548
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1549
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
1550
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
1551
+ requestBodyPath: z.ZodOptional<z.ZodString>;
1552
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1553
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
1554
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
1555
+ requestBodyPath: z.ZodOptional<z.ZodString>;
1556
+ }, z.ZodTypeAny, "passthrough">>>;
1557
+ }, "apiHttpMethod" | "apiUrlTemplate" | "apiHeadersTemplate" | "apiStaticHeaders">, "passthrough", z.ZodTypeAny, z.objectOutputType<Pick<{
1558
+ stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
1559
+ apiUrlTemplate: z.ZodObject<{
1560
+ template: z.ZodString;
1561
+ contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
1562
+ sourceJsonPath: z.ZodString;
1563
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
1564
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1565
+ itemTemplate: z.ZodOptional<z.ZodString>;
1566
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1567
+ }, "strip", z.ZodTypeAny, {
1568
+ sourceJsonPath: string;
1569
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
1570
+ joinSeparator: string;
1571
+ selectFields?: string[] | undefined;
1572
+ itemTemplate?: string | undefined;
1573
+ }, {
1574
+ sourceJsonPath: string;
1575
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
1576
+ selectFields?: string[] | undefined;
1577
+ itemTemplate?: string | undefined;
1578
+ joinSeparator?: string | undefined;
1579
+ }>, {
1580
+ sourceJsonPath: string;
1581
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
1582
+ joinSeparator: string;
1583
+ selectFields?: string[] | undefined;
1584
+ itemTemplate?: string | undefined;
1585
+ }, {
1586
+ sourceJsonPath: string;
1587
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
1588
+ selectFields?: string[] | undefined;
1589
+ itemTemplate?: string | undefined;
1590
+ joinSeparator?: string | undefined;
1591
+ }>>>;
1592
+ }, "strip", z.ZodTypeAny, {
1593
+ template: string;
1594
+ contextMappings?: Record<string, {
1595
+ sourceJsonPath: string;
1596
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
1597
+ joinSeparator: string;
1598
+ selectFields?: string[] | undefined;
1599
+ itemTemplate?: string | undefined;
1600
+ }> | undefined;
1601
+ }, {
1602
+ template: string;
1603
+ contextMappings?: Record<string, {
1604
+ sourceJsonPath: string;
1605
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
1606
+ selectFields?: string[] | undefined;
1607
+ itemTemplate?: string | undefined;
1608
+ joinSeparator?: string | undefined;
1609
+ }> | undefined;
1610
+ }>;
1611
+ apiHttpMethod: z.ZodNativeEnum<typeof import("../index.js").HttpMethod>;
1612
+ apiHeadersTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1613
+ apiStaticHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1614
+ requestBodyTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
1615
+ sourceJsonPath: z.ZodString;
1616
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
1617
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1618
+ itemTemplate: z.ZodOptional<z.ZodString>;
1619
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1620
+ }, "strip", z.ZodTypeAny, {
1621
+ sourceJsonPath: string;
1622
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
1623
+ joinSeparator: string;
1624
+ selectFields?: string[] | undefined;
1625
+ itemTemplate?: string | undefined;
1626
+ }, {
1627
+ sourceJsonPath: string;
1628
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
1629
+ selectFields?: string[] | undefined;
1630
+ itemTemplate?: string | undefined;
1631
+ joinSeparator?: string | undefined;
1632
+ }>, {
1633
+ sourceJsonPath: string;
1634
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
1635
+ joinSeparator: string;
1636
+ selectFields?: string[] | undefined;
1637
+ itemTemplate?: string | undefined;
1638
+ }, {
1639
+ sourceJsonPath: string;
1640
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
1641
+ selectFields?: string[] | undefined;
1642
+ itemTemplate?: string | undefined;
1643
+ joinSeparator?: string | undefined;
1644
+ }>>>;
1645
+ customConfig: z.ZodOptional<z.ZodObject<{
1646
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
1647
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
1648
+ requestBodyPath: z.ZodOptional<z.ZodString>;
1649
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1650
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
1651
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
1652
+ requestBodyPath: z.ZodOptional<z.ZodString>;
1653
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1654
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
1655
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
1656
+ requestBodyPath: z.ZodOptional<z.ZodString>;
1657
+ }, z.ZodTypeAny, "passthrough">>>;
1658
+ }, "apiHttpMethod" | "apiUrlTemplate" | "apiHeadersTemplate" | "apiStaticHeaders">, z.ZodTypeAny, "passthrough">, z.objectInputType<Pick<{
1659
+ stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
1660
+ apiUrlTemplate: z.ZodObject<{
1661
+ template: z.ZodString;
1662
+ contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
1663
+ sourceJsonPath: z.ZodString;
1664
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
1665
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1666
+ itemTemplate: z.ZodOptional<z.ZodString>;
1667
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1668
+ }, "strip", z.ZodTypeAny, {
1669
+ sourceJsonPath: string;
1670
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
1671
+ joinSeparator: string;
1672
+ selectFields?: string[] | undefined;
1673
+ itemTemplate?: string | undefined;
1674
+ }, {
1675
+ sourceJsonPath: string;
1676
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
1677
+ selectFields?: string[] | undefined;
1678
+ itemTemplate?: string | undefined;
1679
+ joinSeparator?: string | undefined;
1680
+ }>, {
1681
+ sourceJsonPath: string;
1682
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
1683
+ joinSeparator: string;
1684
+ selectFields?: string[] | undefined;
1685
+ itemTemplate?: string | undefined;
1686
+ }, {
1687
+ sourceJsonPath: string;
1688
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
1689
+ selectFields?: string[] | undefined;
1690
+ itemTemplate?: string | undefined;
1691
+ joinSeparator?: string | undefined;
1692
+ }>>>;
1693
+ }, "strip", z.ZodTypeAny, {
1694
+ template: string;
1695
+ contextMappings?: Record<string, {
1696
+ sourceJsonPath: string;
1697
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
1698
+ joinSeparator: string;
1699
+ selectFields?: string[] | undefined;
1700
+ itemTemplate?: string | undefined;
1701
+ }> | undefined;
1702
+ }, {
1703
+ template: string;
1704
+ contextMappings?: Record<string, {
1705
+ sourceJsonPath: string;
1706
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
1707
+ selectFields?: string[] | undefined;
1708
+ itemTemplate?: string | undefined;
1709
+ joinSeparator?: string | undefined;
1710
+ }> | undefined;
1711
+ }>;
1712
+ apiHttpMethod: z.ZodNativeEnum<typeof import("../index.js").HttpMethod>;
1713
+ apiHeadersTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1714
+ apiStaticHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1715
+ requestBodyTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
1716
+ sourceJsonPath: z.ZodString;
1717
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
1718
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1719
+ itemTemplate: z.ZodOptional<z.ZodString>;
1720
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1721
+ }, "strip", z.ZodTypeAny, {
1722
+ sourceJsonPath: string;
1723
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
1724
+ joinSeparator: string;
1725
+ selectFields?: string[] | undefined;
1726
+ itemTemplate?: string | undefined;
1727
+ }, {
1728
+ sourceJsonPath: string;
1729
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
1730
+ selectFields?: string[] | undefined;
1731
+ itemTemplate?: string | undefined;
1732
+ joinSeparator?: string | undefined;
1733
+ }>, {
1734
+ sourceJsonPath: string;
1735
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
1736
+ joinSeparator: string;
1737
+ selectFields?: string[] | undefined;
1738
+ itemTemplate?: string | undefined;
1739
+ }, {
1740
+ sourceJsonPath: string;
1741
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
1742
+ selectFields?: string[] | undefined;
1743
+ itemTemplate?: string | undefined;
1744
+ joinSeparator?: string | undefined;
1745
+ }>>>;
1746
+ customConfig: z.ZodOptional<z.ZodObject<{
1747
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
1748
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
1749
+ requestBodyPath: z.ZodOptional<z.ZodString>;
1750
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1751
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
1752
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
1753
+ requestBodyPath: z.ZodOptional<z.ZodString>;
1754
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1755
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
1756
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
1757
+ requestBodyPath: z.ZodOptional<z.ZodString>;
1758
+ }, z.ZodTypeAny, "passthrough">>>;
1759
+ }, "apiHttpMethod" | "apiUrlTemplate" | "apiHeadersTemplate" | "apiStaticHeaders">, z.ZodTypeAny, "passthrough">>;
1760
+ pollingConfig: z.ZodObject<{
1761
+ intervalSeconds: z.ZodNumber;
1762
+ maxAttempts: z.ZodNumber;
1763
+ }, "strip", z.ZodTypeAny, {
1764
+ intervalSeconds: number;
1765
+ maxAttempts: number;
1766
+ }, {
1767
+ intervalSeconds: number;
1768
+ maxAttempts: number;
1769
+ }>;
1770
+ exitConditions: z.ZodObject<{
1771
+ successCondition: z.ZodString;
1772
+ failureCondition: z.ZodString;
1773
+ }, "strip", z.ZodTypeAny, {
1774
+ successCondition: string;
1775
+ failureCondition: string;
1776
+ }, {
1777
+ successCondition: string;
1778
+ failureCondition: string;
1779
+ }>;
1780
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
1781
+ stepType: z.ZodLiteral<import("../index.js").StepType.CUSTOM_LAMBDA_INVOKE>;
1782
+ moduleIdentifier: z.ZodOptional<z.ZodString>;
1783
+ lambdaFunctionArnTemplate: z.ZodString;
1784
+ payloadTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1785
+ customConfig: z.ZodOptional<z.ZodObject<{
1786
+ hydrateInputFromS3: z.ZodOptional<z.ZodBoolean>;
1787
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1788
+ hydrateInputFromS3: z.ZodOptional<z.ZodBoolean>;
1789
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1790
+ hydrateInputFromS3: z.ZodOptional<z.ZodBoolean>;
1791
+ }, z.ZodTypeAny, "passthrough">>>;
1792
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1793
+ stepType: z.ZodLiteral<import("../index.js").StepType.CUSTOM_LAMBDA_INVOKE>;
1794
+ moduleIdentifier: z.ZodOptional<z.ZodString>;
1795
+ lambdaFunctionArnTemplate: z.ZodString;
1796
+ payloadTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1797
+ customConfig: z.ZodOptional<z.ZodObject<{
1798
+ hydrateInputFromS3: z.ZodOptional<z.ZodBoolean>;
1799
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1800
+ hydrateInputFromS3: z.ZodOptional<z.ZodBoolean>;
1801
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1802
+ hydrateInputFromS3: z.ZodOptional<z.ZodBoolean>;
1803
+ }, z.ZodTypeAny, "passthrough">>>;
1804
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1805
+ stepType: z.ZodLiteral<import("../index.js").StepType.CUSTOM_LAMBDA_INVOKE>;
1806
+ moduleIdentifier: z.ZodOptional<z.ZodString>;
1807
+ lambdaFunctionArnTemplate: z.ZodString;
1808
+ payloadTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1809
+ customConfig: z.ZodOptional<z.ZodObject<{
1810
+ hydrateInputFromS3: z.ZodOptional<z.ZodBoolean>;
1811
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1812
+ hydrateInputFromS3: z.ZodOptional<z.ZodBoolean>;
1813
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1814
+ hydrateInputFromS3: z.ZodOptional<z.ZodBoolean>;
1815
+ }, z.ZodTypeAny, "passthrough">>>;
1816
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
1817
+ stepType: z.ZodLiteral<import("../index.js").StepType.PARALLEL_FORK_MANAGER>;
1818
+ itemsPath: z.ZodOptional<z.ZodString>;
1819
+ parallelBranches: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
1820
+ branchId: z.ZodString;
1821
+ condition: z.ZodOptional<z.ZodString>;
1822
+ icon: z.ZodOptional<z.ZodString>;
1823
+ }, "strip", z.ZodTypeAny, {
1824
+ branchId: string;
1825
+ condition?: string | undefined;
1826
+ icon?: string | undefined;
1827
+ }, {
1828
+ branchId: string;
1829
+ condition?: string | undefined;
1830
+ icon?: string | undefined;
1831
+ }>, z.ZodUnion<[z.ZodObject<{
1832
+ stepInstanceId: z.ZodString;
1833
+ inputMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1834
+ literals: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1835
+ }, "strip", z.ZodTypeAny, {
1836
+ stepInstanceId: string;
1837
+ inputMappings?: Record<string, string> | undefined;
1838
+ literals?: Record<string, any> | undefined;
1839
+ }, {
1840
+ stepInstanceId: string;
1841
+ inputMappings?: Record<string, string> | undefined;
1842
+ literals?: Record<string, any> | undefined;
1843
+ }>, z.ZodObject<{
1844
+ stepType: z.ZodLiteral<import("../index.js").StepType.START_SUB_FLOW>;
1845
+ subFlowDefinitionId: z.ZodString;
1846
+ inputMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1847
+ literals: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1848
+ }, "strip", z.ZodTypeAny, {
1849
+ stepType: import("../index.js").StepType.START_SUB_FLOW;
1850
+ subFlowDefinitionId: string;
1851
+ inputMappings?: Record<string, string> | undefined;
1852
+ literals?: Record<string, any> | undefined;
1853
+ }, {
1854
+ stepType: import("../index.js").StepType.START_SUB_FLOW;
1855
+ subFlowDefinitionId: string;
1856
+ inputMappings?: Record<string, string> | undefined;
1857
+ literals?: Record<string, any> | undefined;
1858
+ }>]>>, "many">>;
1859
+ aggregationConfig: z.ZodOptional<z.ZodEffects<z.ZodObject<{
1860
+ strategy: z.ZodDefault<z.ZodNativeEnum<typeof import("../index.js").AggregationStrategy>>;
1861
+ dataPath: z.ZodOptional<z.ZodString>;
1862
+ customModuleIdentifier: z.ZodOptional<z.ZodString>;
1863
+ failOnBranchError: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1864
+ maxConcurrency: z.ZodOptional<z.ZodNumber>;
1865
+ toleratedFailurePercentage: z.ZodOptional<z.ZodNumber>;
1866
+ }, "strip", z.ZodTypeAny, {
1867
+ strategy: import("../index.js").AggregationStrategy;
1868
+ failOnBranchError: boolean;
1869
+ dataPath?: string | undefined;
1870
+ customModuleIdentifier?: string | undefined;
1871
+ maxConcurrency?: number | undefined;
1872
+ toleratedFailurePercentage?: number | undefined;
1873
+ }, {
1874
+ strategy?: import("../index.js").AggregationStrategy | undefined;
1875
+ dataPath?: string | undefined;
1876
+ customModuleIdentifier?: string | undefined;
1877
+ failOnBranchError?: boolean | undefined;
1878
+ maxConcurrency?: number | undefined;
1879
+ toleratedFailurePercentage?: number | undefined;
1880
+ }>, {
1881
+ strategy: import("../index.js").AggregationStrategy;
1882
+ failOnBranchError: boolean;
1883
+ dataPath?: string | undefined;
1884
+ customModuleIdentifier?: string | undefined;
1885
+ maxConcurrency?: number | undefined;
1886
+ toleratedFailurePercentage?: number | undefined;
1887
+ }, {
1888
+ strategy?: import("../index.js").AggregationStrategy | undefined;
1889
+ dataPath?: string | undefined;
1890
+ customModuleIdentifier?: string | undefined;
1891
+ failOnBranchError?: boolean | undefined;
1892
+ maxConcurrency?: number | undefined;
1893
+ toleratedFailurePercentage?: number | undefined;
1894
+ }>>;
1895
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1896
+ stepType: z.ZodLiteral<import("../index.js").StepType.PARALLEL_FORK_MANAGER>;
1897
+ itemsPath: z.ZodOptional<z.ZodString>;
1898
+ parallelBranches: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
1899
+ branchId: z.ZodString;
1900
+ condition: z.ZodOptional<z.ZodString>;
1901
+ icon: z.ZodOptional<z.ZodString>;
1902
+ }, "strip", z.ZodTypeAny, {
1903
+ branchId: string;
1904
+ condition?: string | undefined;
1905
+ icon?: string | undefined;
1906
+ }, {
1907
+ branchId: string;
1908
+ condition?: string | undefined;
1909
+ icon?: string | undefined;
1910
+ }>, z.ZodUnion<[z.ZodObject<{
1911
+ stepInstanceId: z.ZodString;
1912
+ inputMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1913
+ literals: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1914
+ }, "strip", z.ZodTypeAny, {
1915
+ stepInstanceId: string;
1916
+ inputMappings?: Record<string, string> | undefined;
1917
+ literals?: Record<string, any> | undefined;
1918
+ }, {
1919
+ stepInstanceId: string;
1920
+ inputMappings?: Record<string, string> | undefined;
1921
+ literals?: Record<string, any> | undefined;
1922
+ }>, z.ZodObject<{
1923
+ stepType: z.ZodLiteral<import("../index.js").StepType.START_SUB_FLOW>;
1924
+ subFlowDefinitionId: z.ZodString;
1925
+ inputMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1926
+ literals: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1927
+ }, "strip", z.ZodTypeAny, {
1928
+ stepType: import("../index.js").StepType.START_SUB_FLOW;
1929
+ subFlowDefinitionId: string;
1930
+ inputMappings?: Record<string, string> | undefined;
1931
+ literals?: Record<string, any> | undefined;
1932
+ }, {
1933
+ stepType: import("../index.js").StepType.START_SUB_FLOW;
1934
+ subFlowDefinitionId: string;
1935
+ inputMappings?: Record<string, string> | undefined;
1936
+ literals?: Record<string, any> | undefined;
1937
+ }>]>>, "many">>;
1938
+ aggregationConfig: z.ZodOptional<z.ZodEffects<z.ZodObject<{
1939
+ strategy: z.ZodDefault<z.ZodNativeEnum<typeof import("../index.js").AggregationStrategy>>;
1940
+ dataPath: z.ZodOptional<z.ZodString>;
1941
+ customModuleIdentifier: z.ZodOptional<z.ZodString>;
1942
+ failOnBranchError: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1943
+ maxConcurrency: z.ZodOptional<z.ZodNumber>;
1944
+ toleratedFailurePercentage: z.ZodOptional<z.ZodNumber>;
1945
+ }, "strip", z.ZodTypeAny, {
1946
+ strategy: import("../index.js").AggregationStrategy;
1947
+ failOnBranchError: boolean;
1948
+ dataPath?: string | undefined;
1949
+ customModuleIdentifier?: string | undefined;
1950
+ maxConcurrency?: number | undefined;
1951
+ toleratedFailurePercentage?: number | undefined;
1952
+ }, {
1953
+ strategy?: import("../index.js").AggregationStrategy | undefined;
1954
+ dataPath?: string | undefined;
1955
+ customModuleIdentifier?: string | undefined;
1956
+ failOnBranchError?: boolean | undefined;
1957
+ maxConcurrency?: number | undefined;
1958
+ toleratedFailurePercentage?: number | undefined;
1959
+ }>, {
1960
+ strategy: import("../index.js").AggregationStrategy;
1961
+ failOnBranchError: boolean;
1962
+ dataPath?: string | undefined;
1963
+ customModuleIdentifier?: string | undefined;
1964
+ maxConcurrency?: number | undefined;
1965
+ toleratedFailurePercentage?: number | undefined;
1966
+ }, {
1967
+ strategy?: import("../index.js").AggregationStrategy | undefined;
1968
+ dataPath?: string | undefined;
1969
+ customModuleIdentifier?: string | undefined;
1970
+ failOnBranchError?: boolean | undefined;
1971
+ maxConcurrency?: number | undefined;
1972
+ toleratedFailurePercentage?: number | undefined;
1973
+ }>>;
1974
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1975
+ stepType: z.ZodLiteral<import("../index.js").StepType.PARALLEL_FORK_MANAGER>;
1976
+ itemsPath: z.ZodOptional<z.ZodString>;
1977
+ parallelBranches: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
1978
+ branchId: z.ZodString;
1979
+ condition: z.ZodOptional<z.ZodString>;
1980
+ icon: z.ZodOptional<z.ZodString>;
1981
+ }, "strip", z.ZodTypeAny, {
1982
+ branchId: string;
1983
+ condition?: string | undefined;
1984
+ icon?: string | undefined;
1985
+ }, {
1986
+ branchId: string;
1987
+ condition?: string | undefined;
1988
+ icon?: string | undefined;
1989
+ }>, z.ZodUnion<[z.ZodObject<{
1990
+ stepInstanceId: z.ZodString;
1991
+ inputMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1992
+ literals: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1993
+ }, "strip", z.ZodTypeAny, {
1994
+ stepInstanceId: string;
1995
+ inputMappings?: Record<string, string> | undefined;
1996
+ literals?: Record<string, any> | undefined;
1997
+ }, {
1998
+ stepInstanceId: string;
1999
+ inputMappings?: Record<string, string> | undefined;
2000
+ literals?: Record<string, any> | undefined;
2001
+ }>, z.ZodObject<{
2002
+ stepType: z.ZodLiteral<import("../index.js").StepType.START_SUB_FLOW>;
2003
+ subFlowDefinitionId: z.ZodString;
2004
+ inputMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2005
+ literals: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2006
+ }, "strip", z.ZodTypeAny, {
2007
+ stepType: import("../index.js").StepType.START_SUB_FLOW;
2008
+ subFlowDefinitionId: string;
2009
+ inputMappings?: Record<string, string> | undefined;
2010
+ literals?: Record<string, any> | undefined;
2011
+ }, {
2012
+ stepType: import("../index.js").StepType.START_SUB_FLOW;
2013
+ subFlowDefinitionId: string;
2014
+ inputMappings?: Record<string, string> | undefined;
2015
+ literals?: Record<string, any> | undefined;
2016
+ }>]>>, "many">>;
2017
+ aggregationConfig: z.ZodOptional<z.ZodEffects<z.ZodObject<{
2018
+ strategy: z.ZodDefault<z.ZodNativeEnum<typeof import("../index.js").AggregationStrategy>>;
2019
+ dataPath: z.ZodOptional<z.ZodString>;
2020
+ customModuleIdentifier: z.ZodOptional<z.ZodString>;
2021
+ failOnBranchError: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2022
+ maxConcurrency: z.ZodOptional<z.ZodNumber>;
2023
+ toleratedFailurePercentage: z.ZodOptional<z.ZodNumber>;
2024
+ }, "strip", z.ZodTypeAny, {
2025
+ strategy: import("../index.js").AggregationStrategy;
2026
+ failOnBranchError: boolean;
2027
+ dataPath?: string | undefined;
2028
+ customModuleIdentifier?: string | undefined;
2029
+ maxConcurrency?: number | undefined;
2030
+ toleratedFailurePercentage?: number | undefined;
2031
+ }, {
2032
+ strategy?: import("../index.js").AggregationStrategy | undefined;
2033
+ dataPath?: string | undefined;
2034
+ customModuleIdentifier?: string | undefined;
2035
+ failOnBranchError?: boolean | undefined;
2036
+ maxConcurrency?: number | undefined;
2037
+ toleratedFailurePercentage?: number | undefined;
2038
+ }>, {
2039
+ strategy: import("../index.js").AggregationStrategy;
2040
+ failOnBranchError: boolean;
2041
+ dataPath?: string | undefined;
2042
+ customModuleIdentifier?: string | undefined;
2043
+ maxConcurrency?: number | undefined;
2044
+ toleratedFailurePercentage?: number | undefined;
2045
+ }, {
2046
+ strategy?: import("../index.js").AggregationStrategy | undefined;
2047
+ dataPath?: string | undefined;
2048
+ customModuleIdentifier?: string | undefined;
2049
+ failOnBranchError?: boolean | undefined;
2050
+ maxConcurrency?: number | undefined;
2051
+ toleratedFailurePercentage?: number | undefined;
2052
+ }>>;
2053
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
2054
+ stepType: z.ZodLiteral<import("../index.js").StepType.START_FLOW_EXECUTION>;
2055
+ moduleIdentifier: z.ZodOptional<z.ZodString>;
2056
+ customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2057
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2058
+ stepType: z.ZodLiteral<import("../index.js").StepType.START_FLOW_EXECUTION>;
2059
+ moduleIdentifier: z.ZodOptional<z.ZodString>;
2060
+ customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2061
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2062
+ stepType: z.ZodLiteral<import("../index.js").StepType.START_FLOW_EXECUTION>;
2063
+ moduleIdentifier: z.ZodOptional<z.ZodString>;
2064
+ customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2065
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
2066
+ stepType: z.ZodLiteral<import("../index.js").StepType.SQS_SEND>;
2067
+ moduleIdentifier: z.ZodLiteral<"system/sqs-send">;
2068
+ queueUrl: z.ZodString;
2069
+ payload: z.ZodRecord<z.ZodString, z.ZodAny>;
2070
+ messageGroupId: z.ZodOptional<z.ZodString>;
2071
+ messageDeduplicationId: z.ZodOptional<z.ZodString>;
2072
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2073
+ stepType: z.ZodLiteral<import("../index.js").StepType.SQS_SEND>;
2074
+ moduleIdentifier: z.ZodLiteral<"system/sqs-send">;
2075
+ queueUrl: z.ZodString;
2076
+ payload: z.ZodRecord<z.ZodString, z.ZodAny>;
2077
+ messageGroupId: z.ZodOptional<z.ZodString>;
2078
+ messageDeduplicationId: z.ZodOptional<z.ZodString>;
2079
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2080
+ stepType: z.ZodLiteral<import("../index.js").StepType.SQS_SEND>;
2081
+ moduleIdentifier: z.ZodLiteral<"system/sqs-send">;
2082
+ queueUrl: z.ZodString;
2083
+ payload: z.ZodRecord<z.ZodString, z.ZodAny>;
2084
+ messageGroupId: z.ZodOptional<z.ZodString>;
2085
+ messageDeduplicationId: z.ZodOptional<z.ZodString>;
2086
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
2087
+ stepType: z.ZodLiteral<import("../index.js").StepType.SNS_PUBLISH>;
2088
+ moduleIdentifier: z.ZodLiteral<"system/sns-publish">;
2089
+ topicArn: z.ZodString;
2090
+ payload: z.ZodRecord<z.ZodString, z.ZodAny>;
2091
+ messageAttributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2092
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2093
+ stepType: z.ZodLiteral<import("../index.js").StepType.SNS_PUBLISH>;
2094
+ moduleIdentifier: z.ZodLiteral<"system/sns-publish">;
2095
+ topicArn: z.ZodString;
2096
+ payload: z.ZodRecord<z.ZodString, z.ZodAny>;
2097
+ messageAttributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2098
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2099
+ stepType: z.ZodLiteral<import("../index.js").StepType.SNS_PUBLISH>;
2100
+ moduleIdentifier: z.ZodLiteral<"system/sns-publish">;
2101
+ topicArn: z.ZodString;
2102
+ payload: z.ZodRecord<z.ZodString, z.ZodAny>;
2103
+ messageAttributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2104
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
2105
+ stepType: z.ZodLiteral<import("../index.js").StepType.EMAIL_START_POINT>;
2106
+ emailAddress: z.ZodString;
2107
+ triggerMessagePattern: z.ZodOptional<z.ZodString>;
2108
+ keyword: z.ZodOptional<z.ZodString>;
2109
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2110
+ stepType: z.ZodLiteral<import("../index.js").StepType.EMAIL_START_POINT>;
2111
+ emailAddress: z.ZodString;
2112
+ triggerMessagePattern: z.ZodOptional<z.ZodString>;
2113
+ keyword: z.ZodOptional<z.ZodString>;
2114
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2115
+ stepType: z.ZodLiteral<import("../index.js").StepType.EMAIL_START_POINT>;
2116
+ emailAddress: z.ZodString;
2117
+ triggerMessagePattern: z.ZodOptional<z.ZodString>;
2118
+ keyword: z.ZodOptional<z.ZodString>;
2119
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
2120
+ stepType: z.ZodLiteral<import("../index.js").StepType.EMAIL>;
2121
+ from: z.ZodString;
2122
+ to: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
2123
+ replyTo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2124
+ subject: z.ZodString;
2125
+ body: z.ZodString;
2126
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2127
+ stepType: z.ZodLiteral<import("../index.js").StepType.EMAIL>;
2128
+ from: z.ZodString;
2129
+ to: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
2130
+ replyTo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2131
+ subject: z.ZodString;
2132
+ body: z.ZodString;
2133
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2134
+ stepType: z.ZodLiteral<import("../index.js").StepType.EMAIL>;
2135
+ from: z.ZodString;
2136
+ to: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
2137
+ replyTo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2138
+ subject: z.ZodString;
2139
+ body: z.ZodString;
2140
+ }, z.ZodTypeAny, "passthrough">>]>, z.ZodObject<{
2141
+ customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2142
+ inputMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2143
+ outputMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2144
+ onError: z.ZodOptional<z.ZodObject<{
2145
+ retries: z.ZodOptional<z.ZodObject<{
2146
+ count: z.ZodDefault<z.ZodNumber>;
2147
+ intervalSeconds: z.ZodDefault<z.ZodNumber>;
2148
+ backoffRate: z.ZodDefault<z.ZodNumber>;
2149
+ errorEquals: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2150
+ }, "strip", z.ZodTypeAny, {
2151
+ count: number;
2152
+ intervalSeconds: number;
2153
+ backoffRate: number;
2154
+ errorEquals?: string[] | undefined;
2155
+ }, {
2156
+ count?: number | undefined;
2157
+ intervalSeconds?: number | undefined;
2158
+ backoffRate?: number | undefined;
2159
+ errorEquals?: string[] | undefined;
2160
+ }>>;
2161
+ retryOnContentError: z.ZodOptional<z.ZodObject<{
2162
+ count: z.ZodDefault<z.ZodNumber>;
2163
+ intervalSeconds: z.ZodDefault<z.ZodNumber>;
2164
+ backoffRate: z.ZodDefault<z.ZodNumber>;
2165
+ }, "strip", z.ZodTypeAny, {
2166
+ count: number;
2167
+ intervalSeconds: number;
2168
+ backoffRate: number;
2169
+ }, {
2170
+ count?: number | undefined;
2171
+ intervalSeconds?: number | undefined;
2172
+ backoffRate?: number | undefined;
2173
+ }>>;
2174
+ fallbackStepInstanceId: z.ZodOptional<z.ZodString>;
2175
+ continueOnFailure: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2176
+ }, "strip", z.ZodTypeAny, {
2177
+ continueOnFailure: boolean;
2178
+ retries?: {
2179
+ count: number;
2180
+ intervalSeconds: number;
2181
+ backoffRate: number;
2182
+ errorEquals?: string[] | undefined;
2183
+ } | undefined;
2184
+ retryOnContentError?: {
2185
+ count: number;
2186
+ intervalSeconds: number;
2187
+ backoffRate: number;
2188
+ } | undefined;
2189
+ fallbackStepInstanceId?: string | undefined;
2190
+ }, {
2191
+ retries?: {
2192
+ count?: number | undefined;
2193
+ intervalSeconds?: number | undefined;
2194
+ backoffRate?: number | undefined;
2195
+ errorEquals?: string[] | undefined;
2196
+ } | undefined;
2197
+ retryOnContentError?: {
2198
+ count?: number | undefined;
2199
+ intervalSeconds?: number | undefined;
2200
+ backoffRate?: number | undefined;
2201
+ } | undefined;
2202
+ fallbackStepInstanceId?: string | undefined;
2203
+ continueOnFailure?: boolean | undefined;
2204
+ }>>;
2205
+ literals: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2206
+ }, "strip", z.ZodTypeAny, {
2207
+ customConfig?: Record<string, any> | undefined;
2208
+ inputMappings?: Record<string, string> | undefined;
2209
+ literals?: Record<string, any> | undefined;
2210
+ outputMappings?: Record<string, string> | undefined;
2211
+ onError?: {
2212
+ continueOnFailure: boolean;
2213
+ retries?: {
2214
+ count: number;
2215
+ intervalSeconds: number;
2216
+ backoffRate: number;
2217
+ errorEquals?: string[] | undefined;
2218
+ } | undefined;
2219
+ retryOnContentError?: {
2220
+ count: number;
2221
+ intervalSeconds: number;
2222
+ backoffRate: number;
2223
+ } | undefined;
2224
+ fallbackStepInstanceId?: string | undefined;
2225
+ } | undefined;
2226
+ }, {
2227
+ customConfig?: Record<string, any> | undefined;
2228
+ inputMappings?: Record<string, string> | undefined;
2229
+ literals?: Record<string, any> | undefined;
2230
+ outputMappings?: Record<string, string> | undefined;
2231
+ onError?: {
2232
+ retries?: {
2233
+ count?: number | undefined;
2234
+ intervalSeconds?: number | undefined;
2235
+ backoffRate?: number | undefined;
2236
+ errorEquals?: string[] | undefined;
2237
+ } | undefined;
2238
+ retryOnContentError?: {
2239
+ count?: number | undefined;
2240
+ intervalSeconds?: number | undefined;
2241
+ backoffRate?: number | undefined;
2242
+ } | undefined;
2243
+ fallbackStepInstanceId?: string | undefined;
2244
+ continueOnFailure?: boolean | undefined;
2245
+ } | undefined;
2246
+ }>>, z.ZodObject<{
2247
+ name: z.ZodString;
2248
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2249
+ }, "strip", z.ZodTypeAny, {
2250
+ name: string;
2251
+ description?: string | null | undefined;
2252
+ }, {
2253
+ name: string;
2254
+ description?: string | null | undefined;
2255
+ }>>;
2256
+ export type CreateStepDefinitionInput = z.infer<typeof CreateStepDefinitionInputSchema>;
2257
+ /**
2258
+ * Schema for updating an existing Step Definition. For PUT, this is the same as create.
2259
+ */
2260
+ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodIntersection<z.ZodDiscriminatedUnion<"stepType", [z.ZodObject<{
2261
+ stepType: z.ZodLiteral<import("../index.js").StepType.LLM_INVOCATION>;
2262
+ llmProvider: z.ZodNativeEnum<typeof import("../index.js").LLMProviderType>;
2263
+ modelId: z.ZodString;
2264
+ promptTemplateId: z.ZodOptional<z.ZodString>;
2265
+ templateContextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
2266
+ sourceJsonPath: z.ZodString;
2267
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
2268
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2269
+ itemTemplate: z.ZodOptional<z.ZodString>;
2270
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
2271
+ }, "strip", z.ZodTypeAny, {
2272
+ sourceJsonPath: string;
2273
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
2274
+ joinSeparator: string;
2275
+ selectFields?: string[] | undefined;
2276
+ itemTemplate?: string | undefined;
2277
+ }, {
2278
+ sourceJsonPath: string;
2279
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
2280
+ selectFields?: string[] | undefined;
2281
+ itemTemplate?: string | undefined;
2282
+ joinSeparator?: string | undefined;
2283
+ }>, {
2284
+ sourceJsonPath: string;
2285
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
2286
+ joinSeparator: string;
2287
+ selectFields?: string[] | undefined;
2288
+ itemTemplate?: string | undefined;
2289
+ }, {
2290
+ sourceJsonPath: string;
2291
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
2292
+ selectFields?: string[] | undefined;
2293
+ itemTemplate?: string | undefined;
2294
+ joinSeparator?: string | undefined;
2295
+ }>>>;
2296
+ directPrompt: z.ZodOptional<z.ZodString>;
2297
+ inferenceParameters: z.ZodOptional<z.ZodObject<{
2298
+ temperature: z.ZodOptional<z.ZodNumber>;
2299
+ maxOutputTokens: z.ZodOptional<z.ZodNumber>;
2300
+ topP: z.ZodOptional<z.ZodNumber>;
2301
+ topK: z.ZodOptional<z.ZodNumber>;
2302
+ seed: z.ZodOptional<z.ZodNumber>;
2303
+ }, "strip", z.ZodTypeAny, {
2304
+ temperature?: number | undefined;
2305
+ maxOutputTokens?: number | undefined;
2306
+ topP?: number | undefined;
2307
+ topK?: number | undefined;
2308
+ seed?: number | undefined;
2309
+ }, {
2310
+ temperature?: number | undefined;
2311
+ maxOutputTokens?: number | undefined;
2312
+ topP?: number | undefined;
2313
+ topK?: number | undefined;
2314
+ seed?: number | undefined;
2315
+ }>>;
2316
+ customConfig: z.ZodOptional<z.ZodObject<{
2317
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
2318
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2319
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
2320
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2321
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
2322
+ }, z.ZodTypeAny, "passthrough">>>;
2323
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2324
+ stepType: z.ZodLiteral<import("../index.js").StepType.LLM_INVOCATION>;
2325
+ llmProvider: z.ZodNativeEnum<typeof import("../index.js").LLMProviderType>;
2326
+ modelId: z.ZodString;
2327
+ promptTemplateId: z.ZodOptional<z.ZodString>;
2328
+ templateContextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
2329
+ sourceJsonPath: z.ZodString;
2330
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
2331
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2332
+ itemTemplate: z.ZodOptional<z.ZodString>;
2333
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
2334
+ }, "strip", z.ZodTypeAny, {
2335
+ sourceJsonPath: string;
2336
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
2337
+ joinSeparator: string;
2338
+ selectFields?: string[] | undefined;
2339
+ itemTemplate?: string | undefined;
2340
+ }, {
2341
+ sourceJsonPath: string;
2342
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
2343
+ selectFields?: string[] | undefined;
2344
+ itemTemplate?: string | undefined;
2345
+ joinSeparator?: string | undefined;
2346
+ }>, {
2347
+ sourceJsonPath: string;
2348
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
2349
+ joinSeparator: string;
2350
+ selectFields?: string[] | undefined;
2351
+ itemTemplate?: string | undefined;
2352
+ }, {
2353
+ sourceJsonPath: string;
2354
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
2355
+ selectFields?: string[] | undefined;
2356
+ itemTemplate?: string | undefined;
2357
+ joinSeparator?: string | undefined;
2358
+ }>>>;
2359
+ directPrompt: z.ZodOptional<z.ZodString>;
2360
+ inferenceParameters: z.ZodOptional<z.ZodObject<{
2361
+ temperature: z.ZodOptional<z.ZodNumber>;
2362
+ maxOutputTokens: z.ZodOptional<z.ZodNumber>;
2363
+ topP: z.ZodOptional<z.ZodNumber>;
2364
+ topK: z.ZodOptional<z.ZodNumber>;
2365
+ seed: z.ZodOptional<z.ZodNumber>;
2366
+ }, "strip", z.ZodTypeAny, {
2367
+ temperature?: number | undefined;
2368
+ maxOutputTokens?: number | undefined;
2369
+ topP?: number | undefined;
2370
+ topK?: number | undefined;
2371
+ seed?: number | undefined;
2372
+ }, {
2373
+ temperature?: number | undefined;
2374
+ maxOutputTokens?: number | undefined;
2375
+ topP?: number | undefined;
2376
+ topK?: number | undefined;
2377
+ seed?: number | undefined;
2378
+ }>>;
2379
+ customConfig: z.ZodOptional<z.ZodObject<{
2380
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
2381
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2382
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
2383
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2384
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
2385
+ }, z.ZodTypeAny, "passthrough">>>;
2386
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2387
+ stepType: z.ZodLiteral<import("../index.js").StepType.LLM_INVOCATION>;
2388
+ llmProvider: z.ZodNativeEnum<typeof import("../index.js").LLMProviderType>;
2389
+ modelId: z.ZodString;
2390
+ promptTemplateId: z.ZodOptional<z.ZodString>;
2391
+ templateContextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
2392
+ sourceJsonPath: z.ZodString;
2393
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
2394
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2395
+ itemTemplate: z.ZodOptional<z.ZodString>;
2396
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
2397
+ }, "strip", z.ZodTypeAny, {
2398
+ sourceJsonPath: string;
2399
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
2400
+ joinSeparator: string;
2401
+ selectFields?: string[] | undefined;
2402
+ itemTemplate?: string | undefined;
2403
+ }, {
2404
+ sourceJsonPath: string;
2405
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
2406
+ selectFields?: string[] | undefined;
2407
+ itemTemplate?: string | undefined;
2408
+ joinSeparator?: string | undefined;
2409
+ }>, {
2410
+ sourceJsonPath: string;
2411
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
2412
+ joinSeparator: string;
2413
+ selectFields?: string[] | undefined;
2414
+ itemTemplate?: string | undefined;
2415
+ }, {
2416
+ sourceJsonPath: string;
2417
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
2418
+ selectFields?: string[] | undefined;
2419
+ itemTemplate?: string | undefined;
2420
+ joinSeparator?: string | undefined;
2421
+ }>>>;
2422
+ directPrompt: z.ZodOptional<z.ZodString>;
2423
+ inferenceParameters: z.ZodOptional<z.ZodObject<{
2424
+ temperature: z.ZodOptional<z.ZodNumber>;
2425
+ maxOutputTokens: z.ZodOptional<z.ZodNumber>;
2426
+ topP: z.ZodOptional<z.ZodNumber>;
2427
+ topK: z.ZodOptional<z.ZodNumber>;
2428
+ seed: z.ZodOptional<z.ZodNumber>;
2429
+ }, "strip", z.ZodTypeAny, {
2430
+ temperature?: number | undefined;
2431
+ maxOutputTokens?: number | undefined;
2432
+ topP?: number | undefined;
2433
+ topK?: number | undefined;
2434
+ seed?: number | undefined;
2435
+ }, {
2436
+ temperature?: number | undefined;
2437
+ maxOutputTokens?: number | undefined;
2438
+ topP?: number | undefined;
2439
+ topK?: number | undefined;
2440
+ seed?: number | undefined;
2441
+ }>>;
2442
+ customConfig: z.ZodOptional<z.ZodObject<{
2443
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
2444
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2445
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
2446
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2447
+ jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
2448
+ }, z.ZodTypeAny, "passthrough">>>;
2449
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
2450
+ stepType: z.ZodLiteral<import("../index.js").StepType.DATA_LOAD>;
2451
+ moduleIdentifier: z.ZodOptional<z.ZodString>;
2452
+ customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2453
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2454
+ stepType: z.ZodLiteral<import("../index.js").StepType.DATA_LOAD>;
2455
+ moduleIdentifier: z.ZodOptional<z.ZodString>;
2456
+ customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2457
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2458
+ stepType: z.ZodLiteral<import("../index.js").StepType.DATA_LOAD>;
2459
+ moduleIdentifier: z.ZodOptional<z.ZodString>;
2460
+ customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2461
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
2462
+ stepType: z.ZodLiteral<import("../index.js").StepType.DATA_SAVE>;
2463
+ moduleIdentifier: z.ZodOptional<z.ZodString>;
2464
+ customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2465
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2466
+ stepType: z.ZodLiteral<import("../index.js").StepType.DATA_SAVE>;
2467
+ moduleIdentifier: z.ZodOptional<z.ZodString>;
2468
+ customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2469
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2470
+ stepType: z.ZodLiteral<import("../index.js").StepType.DATA_SAVE>;
2471
+ moduleIdentifier: z.ZodOptional<z.ZodString>;
2472
+ customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2473
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
2474
+ stepType: z.ZodLiteral<import("../index.js").StepType.DATA_TRANSFORMATION>;
2475
+ moduleIdentifier: z.ZodOptional<z.ZodString>;
2476
+ customConfig: z.ZodOptional<z.ZodObject<{
2477
+ language: z.ZodOptional<z.ZodEnum<["javascript", "jsonata", "python_inline"]>>;
2478
+ script: z.ZodOptional<z.ZodString>;
2479
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2480
+ language: z.ZodOptional<z.ZodEnum<["javascript", "jsonata", "python_inline"]>>;
2481
+ script: z.ZodOptional<z.ZodString>;
2482
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2483
+ language: z.ZodOptional<z.ZodEnum<["javascript", "jsonata", "python_inline"]>>;
2484
+ script: z.ZodOptional<z.ZodString>;
2485
+ }, z.ZodTypeAny, "passthrough">>>;
2486
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2487
+ stepType: z.ZodLiteral<import("../index.js").StepType.DATA_TRANSFORMATION>;
2488
+ moduleIdentifier: z.ZodOptional<z.ZodString>;
2489
+ customConfig: z.ZodOptional<z.ZodObject<{
2490
+ language: z.ZodOptional<z.ZodEnum<["javascript", "jsonata", "python_inline"]>>;
2491
+ script: z.ZodOptional<z.ZodString>;
2492
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2493
+ language: z.ZodOptional<z.ZodEnum<["javascript", "jsonata", "python_inline"]>>;
2494
+ script: z.ZodOptional<z.ZodString>;
2495
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2496
+ language: z.ZodOptional<z.ZodEnum<["javascript", "jsonata", "python_inline"]>>;
2497
+ script: z.ZodOptional<z.ZodString>;
2498
+ }, z.ZodTypeAny, "passthrough">>>;
2499
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2500
+ stepType: z.ZodLiteral<import("../index.js").StepType.DATA_TRANSFORMATION>;
2501
+ moduleIdentifier: z.ZodOptional<z.ZodString>;
2502
+ customConfig: z.ZodOptional<z.ZodObject<{
2503
+ language: z.ZodOptional<z.ZodEnum<["javascript", "jsonata", "python_inline"]>>;
2504
+ script: z.ZodOptional<z.ZodString>;
2505
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2506
+ language: z.ZodOptional<z.ZodEnum<["javascript", "jsonata", "python_inline"]>>;
2507
+ script: z.ZodOptional<z.ZodString>;
2508
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2509
+ language: z.ZodOptional<z.ZodEnum<["javascript", "jsonata", "python_inline"]>>;
2510
+ script: z.ZodOptional<z.ZodString>;
2511
+ }, z.ZodTypeAny, "passthrough">>>;
2512
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
2513
+ stepType: z.ZodLiteral<import("../index.js").StepType.CUSTOM_LOGIC>;
2514
+ moduleIdentifier: z.ZodOptional<z.ZodString>;
2515
+ customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2516
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2517
+ stepType: z.ZodLiteral<import("../index.js").StepType.CUSTOM_LOGIC>;
2518
+ moduleIdentifier: z.ZodOptional<z.ZodString>;
2519
+ customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2520
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2521
+ stepType: z.ZodLiteral<import("../index.js").StepType.CUSTOM_LOGIC>;
2522
+ moduleIdentifier: z.ZodOptional<z.ZodString>;
2523
+ customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2524
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
2525
+ stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
2526
+ apiUrlTemplate: z.ZodObject<{
2527
+ template: z.ZodString;
2528
+ contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
2529
+ sourceJsonPath: z.ZodString;
2530
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
2531
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2532
+ itemTemplate: z.ZodOptional<z.ZodString>;
2533
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
2534
+ }, "strip", z.ZodTypeAny, {
2535
+ sourceJsonPath: string;
2536
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
2537
+ joinSeparator: string;
2538
+ selectFields?: string[] | undefined;
2539
+ itemTemplate?: string | undefined;
2540
+ }, {
2541
+ sourceJsonPath: string;
2542
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
2543
+ selectFields?: string[] | undefined;
2544
+ itemTemplate?: string | undefined;
2545
+ joinSeparator?: string | undefined;
2546
+ }>, {
2547
+ sourceJsonPath: string;
2548
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
2549
+ joinSeparator: string;
2550
+ selectFields?: string[] | undefined;
2551
+ itemTemplate?: string | undefined;
2552
+ }, {
2553
+ sourceJsonPath: string;
2554
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
2555
+ selectFields?: string[] | undefined;
2556
+ itemTemplate?: string | undefined;
2557
+ joinSeparator?: string | undefined;
2558
+ }>>>;
2559
+ }, "strip", z.ZodTypeAny, {
2560
+ template: string;
2561
+ contextMappings?: Record<string, {
2562
+ sourceJsonPath: string;
2563
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
2564
+ joinSeparator: string;
2565
+ selectFields?: string[] | undefined;
2566
+ itemTemplate?: string | undefined;
2567
+ }> | undefined;
2568
+ }, {
2569
+ template: string;
2570
+ contextMappings?: Record<string, {
2571
+ sourceJsonPath: string;
2572
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
2573
+ selectFields?: string[] | undefined;
2574
+ itemTemplate?: string | undefined;
2575
+ joinSeparator?: string | undefined;
2576
+ }> | undefined;
2577
+ }>;
2578
+ apiHttpMethod: z.ZodNativeEnum<typeof import("../index.js").HttpMethod>;
2579
+ apiHeadersTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2580
+ apiStaticHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2581
+ requestBodyTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
2582
+ sourceJsonPath: z.ZodString;
2583
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
2584
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2585
+ itemTemplate: z.ZodOptional<z.ZodString>;
2586
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
2587
+ }, "strip", z.ZodTypeAny, {
2588
+ sourceJsonPath: string;
2589
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
2590
+ joinSeparator: string;
2591
+ selectFields?: string[] | undefined;
2592
+ itemTemplate?: string | undefined;
2593
+ }, {
2594
+ sourceJsonPath: string;
2595
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
2596
+ selectFields?: string[] | undefined;
2597
+ itemTemplate?: string | undefined;
2598
+ joinSeparator?: string | undefined;
2599
+ }>, {
2600
+ sourceJsonPath: string;
2601
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
2602
+ joinSeparator: string;
2603
+ selectFields?: string[] | undefined;
2604
+ itemTemplate?: string | undefined;
2605
+ }, {
2606
+ sourceJsonPath: string;
2607
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
2608
+ selectFields?: string[] | undefined;
2609
+ itemTemplate?: string | undefined;
2610
+ joinSeparator?: string | undefined;
2611
+ }>>>;
2612
+ customConfig: z.ZodOptional<z.ZodObject<{
2613
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
2614
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
2615
+ requestBodyPath: z.ZodOptional<z.ZodString>;
2616
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2617
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
2618
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
2619
+ requestBodyPath: z.ZodOptional<z.ZodString>;
2620
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2621
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
2622
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
2623
+ requestBodyPath: z.ZodOptional<z.ZodString>;
2624
+ }, z.ZodTypeAny, "passthrough">>>;
2625
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2626
+ stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
2627
+ apiUrlTemplate: z.ZodObject<{
2628
+ template: z.ZodString;
2629
+ contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
2630
+ sourceJsonPath: z.ZodString;
2631
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
2632
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2633
+ itemTemplate: z.ZodOptional<z.ZodString>;
2634
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
2635
+ }, "strip", z.ZodTypeAny, {
2636
+ sourceJsonPath: string;
2637
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
2638
+ joinSeparator: string;
2639
+ selectFields?: string[] | undefined;
2640
+ itemTemplate?: string | undefined;
2641
+ }, {
2642
+ sourceJsonPath: string;
2643
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
2644
+ selectFields?: string[] | undefined;
2645
+ itemTemplate?: string | undefined;
2646
+ joinSeparator?: string | undefined;
2647
+ }>, {
2648
+ sourceJsonPath: string;
2649
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
2650
+ joinSeparator: string;
2651
+ selectFields?: string[] | undefined;
2652
+ itemTemplate?: string | undefined;
2653
+ }, {
2654
+ sourceJsonPath: string;
2655
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
2656
+ selectFields?: string[] | undefined;
2657
+ itemTemplate?: string | undefined;
2658
+ joinSeparator?: string | undefined;
2659
+ }>>>;
2660
+ }, "strip", z.ZodTypeAny, {
2661
+ template: string;
2662
+ contextMappings?: Record<string, {
2663
+ sourceJsonPath: string;
2664
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
2665
+ joinSeparator: string;
2666
+ selectFields?: string[] | undefined;
2667
+ itemTemplate?: string | undefined;
2668
+ }> | undefined;
2669
+ }, {
2670
+ template: string;
2671
+ contextMappings?: Record<string, {
2672
+ sourceJsonPath: string;
2673
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
2674
+ selectFields?: string[] | undefined;
2675
+ itemTemplate?: string | undefined;
2676
+ joinSeparator?: string | undefined;
2677
+ }> | undefined;
2678
+ }>;
2679
+ apiHttpMethod: z.ZodNativeEnum<typeof import("../index.js").HttpMethod>;
2680
+ apiHeadersTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2681
+ apiStaticHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2682
+ requestBodyTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
2683
+ sourceJsonPath: z.ZodString;
2684
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
2685
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2686
+ itemTemplate: z.ZodOptional<z.ZodString>;
2687
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
2688
+ }, "strip", z.ZodTypeAny, {
2689
+ sourceJsonPath: string;
2690
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
2691
+ joinSeparator: string;
2692
+ selectFields?: string[] | undefined;
2693
+ itemTemplate?: string | undefined;
2694
+ }, {
2695
+ sourceJsonPath: string;
2696
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
2697
+ selectFields?: string[] | undefined;
2698
+ itemTemplate?: string | undefined;
2699
+ joinSeparator?: string | undefined;
2700
+ }>, {
2701
+ sourceJsonPath: string;
2702
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
2703
+ joinSeparator: string;
2704
+ selectFields?: string[] | undefined;
2705
+ itemTemplate?: string | undefined;
2706
+ }, {
2707
+ sourceJsonPath: string;
2708
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
2709
+ selectFields?: string[] | undefined;
2710
+ itemTemplate?: string | undefined;
2711
+ joinSeparator?: string | undefined;
2712
+ }>>>;
2713
+ customConfig: z.ZodOptional<z.ZodObject<{
2714
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
2715
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
2716
+ requestBodyPath: z.ZodOptional<z.ZodString>;
2717
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2718
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
2719
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
2720
+ requestBodyPath: z.ZodOptional<z.ZodString>;
2721
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2722
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
2723
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
2724
+ requestBodyPath: z.ZodOptional<z.ZodString>;
2725
+ }, z.ZodTypeAny, "passthrough">>>;
2726
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2727
+ stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
2728
+ apiUrlTemplate: z.ZodObject<{
2729
+ template: z.ZodString;
2730
+ contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
2731
+ sourceJsonPath: z.ZodString;
2732
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
2733
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2734
+ itemTemplate: z.ZodOptional<z.ZodString>;
2735
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
2736
+ }, "strip", z.ZodTypeAny, {
2737
+ sourceJsonPath: string;
2738
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
2739
+ joinSeparator: string;
2740
+ selectFields?: string[] | undefined;
2741
+ itemTemplate?: string | undefined;
2742
+ }, {
2743
+ sourceJsonPath: string;
2744
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
2745
+ selectFields?: string[] | undefined;
2746
+ itemTemplate?: string | undefined;
2747
+ joinSeparator?: string | undefined;
2748
+ }>, {
2749
+ sourceJsonPath: string;
2750
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
2751
+ joinSeparator: string;
2752
+ selectFields?: string[] | undefined;
2753
+ itemTemplate?: string | undefined;
2754
+ }, {
2755
+ sourceJsonPath: string;
2756
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
2757
+ selectFields?: string[] | undefined;
2758
+ itemTemplate?: string | undefined;
2759
+ joinSeparator?: string | undefined;
2760
+ }>>>;
2761
+ }, "strip", z.ZodTypeAny, {
2762
+ template: string;
2763
+ contextMappings?: Record<string, {
2764
+ sourceJsonPath: string;
2765
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
2766
+ joinSeparator: string;
2767
+ selectFields?: string[] | undefined;
2768
+ itemTemplate?: string | undefined;
2769
+ }> | undefined;
2770
+ }, {
2771
+ template: string;
2772
+ contextMappings?: Record<string, {
2773
+ sourceJsonPath: string;
2774
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
2775
+ selectFields?: string[] | undefined;
2776
+ itemTemplate?: string | undefined;
2777
+ joinSeparator?: string | undefined;
2778
+ }> | undefined;
2779
+ }>;
2780
+ apiHttpMethod: z.ZodNativeEnum<typeof import("../index.js").HttpMethod>;
2781
+ apiHeadersTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2782
+ apiStaticHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2783
+ requestBodyTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
2784
+ sourceJsonPath: z.ZodString;
2785
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
2786
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2787
+ itemTemplate: z.ZodOptional<z.ZodString>;
2788
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
2789
+ }, "strip", z.ZodTypeAny, {
2790
+ sourceJsonPath: string;
2791
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
2792
+ joinSeparator: string;
2793
+ selectFields?: string[] | undefined;
2794
+ itemTemplate?: string | undefined;
2795
+ }, {
2796
+ sourceJsonPath: string;
2797
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
2798
+ selectFields?: string[] | undefined;
2799
+ itemTemplate?: string | undefined;
2800
+ joinSeparator?: string | undefined;
2801
+ }>, {
2802
+ sourceJsonPath: string;
2803
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
2804
+ joinSeparator: string;
2805
+ selectFields?: string[] | undefined;
2806
+ itemTemplate?: string | undefined;
2807
+ }, {
2808
+ sourceJsonPath: string;
2809
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
2810
+ selectFields?: string[] | undefined;
2811
+ itemTemplate?: string | undefined;
2812
+ joinSeparator?: string | undefined;
2813
+ }>>>;
2814
+ customConfig: z.ZodOptional<z.ZodObject<{
2815
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
2816
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
2817
+ requestBodyPath: z.ZodOptional<z.ZodString>;
2818
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2819
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
2820
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
2821
+ requestBodyPath: z.ZodOptional<z.ZodString>;
2822
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2823
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
2824
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
2825
+ requestBodyPath: z.ZodOptional<z.ZodString>;
2826
+ }, z.ZodTypeAny, "passthrough">>>;
2827
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
2828
+ stepType: z.ZodLiteral<import("../index.js").StepType.START_SUB_FLOW>;
2829
+ subFlowDefinitionId: z.ZodString;
2830
+ subFlowVersion: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"LATEST_PUBLISHED">]>>>;
2831
+ subFlowExecutionMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["SYNC", "ASYNC"]>>>;
2832
+ inputMappingsToSubFlow: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2833
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2834
+ stepType: z.ZodLiteral<import("../index.js").StepType.START_SUB_FLOW>;
2835
+ subFlowDefinitionId: z.ZodString;
2836
+ subFlowVersion: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"LATEST_PUBLISHED">]>>>;
2837
+ subFlowExecutionMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["SYNC", "ASYNC"]>>>;
2838
+ inputMappingsToSubFlow: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2839
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2840
+ stepType: z.ZodLiteral<import("../index.js").StepType.START_SUB_FLOW>;
2841
+ subFlowDefinitionId: z.ZodString;
2842
+ subFlowVersion: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"LATEST_PUBLISHED">]>>>;
2843
+ subFlowExecutionMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["SYNC", "ASYNC"]>>>;
2844
+ inputMappingsToSubFlow: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2845
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
2846
+ stepType: z.ZodLiteral<import("../index.js").StepType.NO_OP>;
2847
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2848
+ stepType: z.ZodLiteral<import("../index.js").StepType.NO_OP>;
2849
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2850
+ stepType: z.ZodLiteral<import("../index.js").StepType.NO_OP>;
2851
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
2852
+ stepType: z.ZodLiteral<import("../index.js").StepType.END_FLOW>;
2853
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2854
+ stepType: z.ZodLiteral<import("../index.js").StepType.END_FLOW>;
2855
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2856
+ stepType: z.ZodLiteral<import("../index.js").StepType.END_FLOW>;
2857
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
2858
+ stepType: z.ZodLiteral<import("../index.js").StepType.WAIT_FOR_EXTERNAL_EVENT>;
2859
+ correlationKeyTemplate: z.ZodString;
2860
+ promptUserMessageTemplate: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodString]>>;
2861
+ messageSenderModuleIdentifier: z.ZodOptional<z.ZodString>;
2862
+ maxWaitTimeSeconds: z.ZodOptional<z.ZodNumber>;
2863
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2864
+ stepType: z.ZodLiteral<import("../index.js").StepType.WAIT_FOR_EXTERNAL_EVENT>;
2865
+ correlationKeyTemplate: z.ZodString;
2866
+ promptUserMessageTemplate: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodString]>>;
2867
+ messageSenderModuleIdentifier: z.ZodOptional<z.ZodString>;
2868
+ maxWaitTimeSeconds: z.ZodOptional<z.ZodNumber>;
2869
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2870
+ stepType: z.ZodLiteral<import("../index.js").StepType.WAIT_FOR_EXTERNAL_EVENT>;
2871
+ correlationKeyTemplate: z.ZodString;
2872
+ promptUserMessageTemplate: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodString]>>;
2873
+ messageSenderModuleIdentifier: z.ZodOptional<z.ZodString>;
2874
+ maxWaitTimeSeconds: z.ZodOptional<z.ZodNumber>;
2875
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
2876
+ stepType: z.ZodLiteral<import("../index.js").StepType.POLL_EXTERNAL_API>;
2877
+ apiCallDefinition: z.ZodObject<Pick<{
2878
+ stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
2879
+ apiUrlTemplate: z.ZodObject<{
2880
+ template: z.ZodString;
2881
+ contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
2882
+ sourceJsonPath: z.ZodString;
2883
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
2884
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2885
+ itemTemplate: z.ZodOptional<z.ZodString>;
2886
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
2887
+ }, "strip", z.ZodTypeAny, {
2888
+ sourceJsonPath: string;
2889
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
2890
+ joinSeparator: string;
2891
+ selectFields?: string[] | undefined;
2892
+ itemTemplate?: string | undefined;
2893
+ }, {
2894
+ sourceJsonPath: string;
2895
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
2896
+ selectFields?: string[] | undefined;
2897
+ itemTemplate?: string | undefined;
2898
+ joinSeparator?: string | undefined;
2899
+ }>, {
2900
+ sourceJsonPath: string;
2901
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
2902
+ joinSeparator: string;
2903
+ selectFields?: string[] | undefined;
2904
+ itemTemplate?: string | undefined;
2905
+ }, {
2906
+ sourceJsonPath: string;
2907
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
2908
+ selectFields?: string[] | undefined;
2909
+ itemTemplate?: string | undefined;
2910
+ joinSeparator?: string | undefined;
2911
+ }>>>;
2912
+ }, "strip", z.ZodTypeAny, {
2913
+ template: string;
2914
+ contextMappings?: Record<string, {
2915
+ sourceJsonPath: string;
2916
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
2917
+ joinSeparator: string;
2918
+ selectFields?: string[] | undefined;
2919
+ itemTemplate?: string | undefined;
2920
+ }> | undefined;
2921
+ }, {
2922
+ template: string;
2923
+ contextMappings?: Record<string, {
2924
+ sourceJsonPath: string;
2925
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
2926
+ selectFields?: string[] | undefined;
2927
+ itemTemplate?: string | undefined;
2928
+ joinSeparator?: string | undefined;
2929
+ }> | undefined;
2930
+ }>;
2931
+ apiHttpMethod: z.ZodNativeEnum<typeof import("../index.js").HttpMethod>;
2932
+ apiHeadersTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2933
+ apiStaticHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2934
+ requestBodyTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
2935
+ sourceJsonPath: z.ZodString;
2936
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
2937
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2938
+ itemTemplate: z.ZodOptional<z.ZodString>;
2939
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
2940
+ }, "strip", z.ZodTypeAny, {
2941
+ sourceJsonPath: string;
2942
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
2943
+ joinSeparator: string;
2944
+ selectFields?: string[] | undefined;
2945
+ itemTemplate?: string | undefined;
2946
+ }, {
2947
+ sourceJsonPath: string;
2948
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
2949
+ selectFields?: string[] | undefined;
2950
+ itemTemplate?: string | undefined;
2951
+ joinSeparator?: string | undefined;
2952
+ }>, {
2953
+ sourceJsonPath: string;
2954
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
2955
+ joinSeparator: string;
2956
+ selectFields?: string[] | undefined;
2957
+ itemTemplate?: string | undefined;
2958
+ }, {
2959
+ sourceJsonPath: string;
2960
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
2961
+ selectFields?: string[] | undefined;
2962
+ itemTemplate?: string | undefined;
2963
+ joinSeparator?: string | undefined;
2964
+ }>>>;
2965
+ customConfig: z.ZodOptional<z.ZodObject<{
2966
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
2967
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
2968
+ requestBodyPath: z.ZodOptional<z.ZodString>;
2969
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2970
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
2971
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
2972
+ requestBodyPath: z.ZodOptional<z.ZodString>;
2973
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2974
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
2975
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
2976
+ requestBodyPath: z.ZodOptional<z.ZodString>;
2977
+ }, z.ZodTypeAny, "passthrough">>>;
2978
+ }, "apiHttpMethod" | "apiUrlTemplate" | "apiHeadersTemplate" | "apiStaticHeaders">, "passthrough", z.ZodTypeAny, z.objectOutputType<Pick<{
2979
+ stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
2980
+ apiUrlTemplate: z.ZodObject<{
2981
+ template: z.ZodString;
2982
+ contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
2983
+ sourceJsonPath: z.ZodString;
2984
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
2985
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2986
+ itemTemplate: z.ZodOptional<z.ZodString>;
2987
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
2988
+ }, "strip", z.ZodTypeAny, {
2989
+ sourceJsonPath: string;
2990
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
2991
+ joinSeparator: string;
2992
+ selectFields?: string[] | undefined;
2993
+ itemTemplate?: string | undefined;
2994
+ }, {
2995
+ sourceJsonPath: string;
2996
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
2997
+ selectFields?: string[] | undefined;
2998
+ itemTemplate?: string | undefined;
2999
+ joinSeparator?: string | undefined;
3000
+ }>, {
3001
+ sourceJsonPath: string;
3002
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
3003
+ joinSeparator: string;
3004
+ selectFields?: string[] | undefined;
3005
+ itemTemplate?: string | undefined;
3006
+ }, {
3007
+ sourceJsonPath: string;
3008
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
3009
+ selectFields?: string[] | undefined;
3010
+ itemTemplate?: string | undefined;
3011
+ joinSeparator?: string | undefined;
3012
+ }>>>;
3013
+ }, "strip", z.ZodTypeAny, {
3014
+ template: string;
3015
+ contextMappings?: Record<string, {
3016
+ sourceJsonPath: string;
3017
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
3018
+ joinSeparator: string;
3019
+ selectFields?: string[] | undefined;
3020
+ itemTemplate?: string | undefined;
3021
+ }> | undefined;
3022
+ }, {
3023
+ template: string;
3024
+ contextMappings?: Record<string, {
3025
+ sourceJsonPath: string;
3026
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
3027
+ selectFields?: string[] | undefined;
3028
+ itemTemplate?: string | undefined;
3029
+ joinSeparator?: string | undefined;
3030
+ }> | undefined;
3031
+ }>;
3032
+ apiHttpMethod: z.ZodNativeEnum<typeof import("../index.js").HttpMethod>;
3033
+ apiHeadersTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3034
+ apiStaticHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3035
+ requestBodyTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
3036
+ sourceJsonPath: z.ZodString;
3037
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
3038
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3039
+ itemTemplate: z.ZodOptional<z.ZodString>;
3040
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3041
+ }, "strip", z.ZodTypeAny, {
3042
+ sourceJsonPath: string;
3043
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
3044
+ joinSeparator: string;
3045
+ selectFields?: string[] | undefined;
3046
+ itemTemplate?: string | undefined;
3047
+ }, {
3048
+ sourceJsonPath: string;
3049
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
3050
+ selectFields?: string[] | undefined;
3051
+ itemTemplate?: string | undefined;
3052
+ joinSeparator?: string | undefined;
3053
+ }>, {
3054
+ sourceJsonPath: string;
3055
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
3056
+ joinSeparator: string;
3057
+ selectFields?: string[] | undefined;
3058
+ itemTemplate?: string | undefined;
3059
+ }, {
3060
+ sourceJsonPath: string;
3061
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
3062
+ selectFields?: string[] | undefined;
3063
+ itemTemplate?: string | undefined;
3064
+ joinSeparator?: string | undefined;
3065
+ }>>>;
3066
+ customConfig: z.ZodOptional<z.ZodObject<{
3067
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
3068
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
3069
+ requestBodyPath: z.ZodOptional<z.ZodString>;
3070
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3071
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
3072
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
3073
+ requestBodyPath: z.ZodOptional<z.ZodString>;
3074
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3075
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
3076
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
3077
+ requestBodyPath: z.ZodOptional<z.ZodString>;
3078
+ }, z.ZodTypeAny, "passthrough">>>;
3079
+ }, "apiHttpMethod" | "apiUrlTemplate" | "apiHeadersTemplate" | "apiStaticHeaders">, z.ZodTypeAny, "passthrough">, z.objectInputType<Pick<{
3080
+ stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
3081
+ apiUrlTemplate: z.ZodObject<{
3082
+ template: z.ZodString;
3083
+ contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
3084
+ sourceJsonPath: z.ZodString;
3085
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
3086
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3087
+ itemTemplate: z.ZodOptional<z.ZodString>;
3088
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3089
+ }, "strip", z.ZodTypeAny, {
3090
+ sourceJsonPath: string;
3091
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
3092
+ joinSeparator: string;
3093
+ selectFields?: string[] | undefined;
3094
+ itemTemplate?: string | undefined;
3095
+ }, {
3096
+ sourceJsonPath: string;
3097
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
3098
+ selectFields?: string[] | undefined;
3099
+ itemTemplate?: string | undefined;
3100
+ joinSeparator?: string | undefined;
3101
+ }>, {
3102
+ sourceJsonPath: string;
3103
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
3104
+ joinSeparator: string;
3105
+ selectFields?: string[] | undefined;
3106
+ itemTemplate?: string | undefined;
3107
+ }, {
3108
+ sourceJsonPath: string;
3109
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
3110
+ selectFields?: string[] | undefined;
3111
+ itemTemplate?: string | undefined;
3112
+ joinSeparator?: string | undefined;
3113
+ }>>>;
3114
+ }, "strip", z.ZodTypeAny, {
3115
+ template: string;
3116
+ contextMappings?: Record<string, {
3117
+ sourceJsonPath: string;
3118
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
3119
+ joinSeparator: string;
3120
+ selectFields?: string[] | undefined;
3121
+ itemTemplate?: string | undefined;
3122
+ }> | undefined;
3123
+ }, {
3124
+ template: string;
3125
+ contextMappings?: Record<string, {
3126
+ sourceJsonPath: string;
3127
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
3128
+ selectFields?: string[] | undefined;
3129
+ itemTemplate?: string | undefined;
3130
+ joinSeparator?: string | undefined;
3131
+ }> | undefined;
3132
+ }>;
3133
+ apiHttpMethod: z.ZodNativeEnum<typeof import("../index.js").HttpMethod>;
3134
+ apiHeadersTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3135
+ apiStaticHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3136
+ requestBodyTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
3137
+ sourceJsonPath: z.ZodString;
3138
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
3139
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3140
+ itemTemplate: z.ZodOptional<z.ZodString>;
3141
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3142
+ }, "strip", z.ZodTypeAny, {
3143
+ sourceJsonPath: string;
3144
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
3145
+ joinSeparator: string;
3146
+ selectFields?: string[] | undefined;
3147
+ itemTemplate?: string | undefined;
3148
+ }, {
3149
+ sourceJsonPath: string;
3150
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
3151
+ selectFields?: string[] | undefined;
3152
+ itemTemplate?: string | undefined;
3153
+ joinSeparator?: string | undefined;
3154
+ }>, {
3155
+ sourceJsonPath: string;
3156
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
3157
+ joinSeparator: string;
3158
+ selectFields?: string[] | undefined;
3159
+ itemTemplate?: string | undefined;
3160
+ }, {
3161
+ sourceJsonPath: string;
3162
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
3163
+ selectFields?: string[] | undefined;
3164
+ itemTemplate?: string | undefined;
3165
+ joinSeparator?: string | undefined;
3166
+ }>>>;
3167
+ customConfig: z.ZodOptional<z.ZodObject<{
3168
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
3169
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
3170
+ requestBodyPath: z.ZodOptional<z.ZodString>;
3171
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3172
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
3173
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
3174
+ requestBodyPath: z.ZodOptional<z.ZodString>;
3175
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3176
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
3177
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
3178
+ requestBodyPath: z.ZodOptional<z.ZodString>;
3179
+ }, z.ZodTypeAny, "passthrough">>>;
3180
+ }, "apiHttpMethod" | "apiUrlTemplate" | "apiHeadersTemplate" | "apiStaticHeaders">, z.ZodTypeAny, "passthrough">>;
3181
+ pollingConfig: z.ZodObject<{
3182
+ intervalSeconds: z.ZodNumber;
3183
+ maxAttempts: z.ZodNumber;
3184
+ }, "strip", z.ZodTypeAny, {
3185
+ intervalSeconds: number;
3186
+ maxAttempts: number;
3187
+ }, {
3188
+ intervalSeconds: number;
3189
+ maxAttempts: number;
3190
+ }>;
3191
+ exitConditions: z.ZodObject<{
3192
+ successCondition: z.ZodString;
3193
+ failureCondition: z.ZodString;
3194
+ }, "strip", z.ZodTypeAny, {
3195
+ successCondition: string;
3196
+ failureCondition: string;
3197
+ }, {
3198
+ successCondition: string;
3199
+ failureCondition: string;
3200
+ }>;
3201
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3202
+ stepType: z.ZodLiteral<import("../index.js").StepType.POLL_EXTERNAL_API>;
3203
+ apiCallDefinition: z.ZodObject<Pick<{
3204
+ stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
3205
+ apiUrlTemplate: z.ZodObject<{
3206
+ template: z.ZodString;
3207
+ contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
3208
+ sourceJsonPath: z.ZodString;
3209
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
3210
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3211
+ itemTemplate: z.ZodOptional<z.ZodString>;
3212
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3213
+ }, "strip", z.ZodTypeAny, {
3214
+ sourceJsonPath: string;
3215
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
3216
+ joinSeparator: string;
3217
+ selectFields?: string[] | undefined;
3218
+ itemTemplate?: string | undefined;
3219
+ }, {
3220
+ sourceJsonPath: string;
3221
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
3222
+ selectFields?: string[] | undefined;
3223
+ itemTemplate?: string | undefined;
3224
+ joinSeparator?: string | undefined;
3225
+ }>, {
3226
+ sourceJsonPath: string;
3227
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
3228
+ joinSeparator: string;
3229
+ selectFields?: string[] | undefined;
3230
+ itemTemplate?: string | undefined;
3231
+ }, {
3232
+ sourceJsonPath: string;
3233
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
3234
+ selectFields?: string[] | undefined;
3235
+ itemTemplate?: string | undefined;
3236
+ joinSeparator?: string | undefined;
3237
+ }>>>;
3238
+ }, "strip", z.ZodTypeAny, {
3239
+ template: string;
3240
+ contextMappings?: Record<string, {
3241
+ sourceJsonPath: string;
3242
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
3243
+ joinSeparator: string;
3244
+ selectFields?: string[] | undefined;
3245
+ itemTemplate?: string | undefined;
3246
+ }> | undefined;
3247
+ }, {
3248
+ template: string;
3249
+ contextMappings?: Record<string, {
3250
+ sourceJsonPath: string;
3251
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
3252
+ selectFields?: string[] | undefined;
3253
+ itemTemplate?: string | undefined;
3254
+ joinSeparator?: string | undefined;
3255
+ }> | undefined;
3256
+ }>;
3257
+ apiHttpMethod: z.ZodNativeEnum<typeof import("../index.js").HttpMethod>;
3258
+ apiHeadersTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3259
+ apiStaticHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3260
+ requestBodyTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
3261
+ sourceJsonPath: z.ZodString;
3262
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
3263
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3264
+ itemTemplate: z.ZodOptional<z.ZodString>;
3265
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3266
+ }, "strip", z.ZodTypeAny, {
3267
+ sourceJsonPath: string;
3268
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
3269
+ joinSeparator: string;
3270
+ selectFields?: string[] | undefined;
3271
+ itemTemplate?: string | undefined;
3272
+ }, {
3273
+ sourceJsonPath: string;
3274
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
3275
+ selectFields?: string[] | undefined;
3276
+ itemTemplate?: string | undefined;
3277
+ joinSeparator?: string | undefined;
3278
+ }>, {
3279
+ sourceJsonPath: string;
3280
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
3281
+ joinSeparator: string;
3282
+ selectFields?: string[] | undefined;
3283
+ itemTemplate?: string | undefined;
3284
+ }, {
3285
+ sourceJsonPath: string;
3286
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
3287
+ selectFields?: string[] | undefined;
3288
+ itemTemplate?: string | undefined;
3289
+ joinSeparator?: string | undefined;
3290
+ }>>>;
3291
+ customConfig: z.ZodOptional<z.ZodObject<{
3292
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
3293
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
3294
+ requestBodyPath: z.ZodOptional<z.ZodString>;
3295
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3296
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
3297
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
3298
+ requestBodyPath: z.ZodOptional<z.ZodString>;
3299
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3300
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
3301
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
3302
+ requestBodyPath: z.ZodOptional<z.ZodString>;
3303
+ }, z.ZodTypeAny, "passthrough">>>;
3304
+ }, "apiHttpMethod" | "apiUrlTemplate" | "apiHeadersTemplate" | "apiStaticHeaders">, "passthrough", z.ZodTypeAny, z.objectOutputType<Pick<{
3305
+ stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
3306
+ apiUrlTemplate: z.ZodObject<{
3307
+ template: z.ZodString;
3308
+ contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
3309
+ sourceJsonPath: z.ZodString;
3310
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
3311
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3312
+ itemTemplate: z.ZodOptional<z.ZodString>;
3313
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3314
+ }, "strip", z.ZodTypeAny, {
3315
+ sourceJsonPath: string;
3316
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
3317
+ joinSeparator: string;
3318
+ selectFields?: string[] | undefined;
3319
+ itemTemplate?: string | undefined;
3320
+ }, {
3321
+ sourceJsonPath: string;
3322
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
3323
+ selectFields?: string[] | undefined;
3324
+ itemTemplate?: string | undefined;
3325
+ joinSeparator?: string | undefined;
3326
+ }>, {
3327
+ sourceJsonPath: string;
3328
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
3329
+ joinSeparator: string;
3330
+ selectFields?: string[] | undefined;
3331
+ itemTemplate?: string | undefined;
3332
+ }, {
3333
+ sourceJsonPath: string;
3334
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
3335
+ selectFields?: string[] | undefined;
3336
+ itemTemplate?: string | undefined;
3337
+ joinSeparator?: string | undefined;
3338
+ }>>>;
3339
+ }, "strip", z.ZodTypeAny, {
3340
+ template: string;
3341
+ contextMappings?: Record<string, {
3342
+ sourceJsonPath: string;
3343
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
3344
+ joinSeparator: string;
3345
+ selectFields?: string[] | undefined;
3346
+ itemTemplate?: string | undefined;
3347
+ }> | undefined;
3348
+ }, {
3349
+ template: string;
3350
+ contextMappings?: Record<string, {
3351
+ sourceJsonPath: string;
3352
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
3353
+ selectFields?: string[] | undefined;
3354
+ itemTemplate?: string | undefined;
3355
+ joinSeparator?: string | undefined;
3356
+ }> | undefined;
3357
+ }>;
3358
+ apiHttpMethod: z.ZodNativeEnum<typeof import("../index.js").HttpMethod>;
3359
+ apiHeadersTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3360
+ apiStaticHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3361
+ requestBodyTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
3362
+ sourceJsonPath: z.ZodString;
3363
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
3364
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3365
+ itemTemplate: z.ZodOptional<z.ZodString>;
3366
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3367
+ }, "strip", z.ZodTypeAny, {
3368
+ sourceJsonPath: string;
3369
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
3370
+ joinSeparator: string;
3371
+ selectFields?: string[] | undefined;
3372
+ itemTemplate?: string | undefined;
3373
+ }, {
3374
+ sourceJsonPath: string;
3375
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
3376
+ selectFields?: string[] | undefined;
3377
+ itemTemplate?: string | undefined;
3378
+ joinSeparator?: string | undefined;
3379
+ }>, {
3380
+ sourceJsonPath: string;
3381
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
3382
+ joinSeparator: string;
3383
+ selectFields?: string[] | undefined;
3384
+ itemTemplate?: string | undefined;
3385
+ }, {
3386
+ sourceJsonPath: string;
3387
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
3388
+ selectFields?: string[] | undefined;
3389
+ itemTemplate?: string | undefined;
3390
+ joinSeparator?: string | undefined;
3391
+ }>>>;
3392
+ customConfig: z.ZodOptional<z.ZodObject<{
3393
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
3394
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
3395
+ requestBodyPath: z.ZodOptional<z.ZodString>;
3396
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3397
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
3398
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
3399
+ requestBodyPath: z.ZodOptional<z.ZodString>;
3400
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3401
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
3402
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
3403
+ requestBodyPath: z.ZodOptional<z.ZodString>;
3404
+ }, z.ZodTypeAny, "passthrough">>>;
3405
+ }, "apiHttpMethod" | "apiUrlTemplate" | "apiHeadersTemplate" | "apiStaticHeaders">, z.ZodTypeAny, "passthrough">, z.objectInputType<Pick<{
3406
+ stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
3407
+ apiUrlTemplate: z.ZodObject<{
3408
+ template: z.ZodString;
3409
+ contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
3410
+ sourceJsonPath: z.ZodString;
3411
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
3412
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3413
+ itemTemplate: z.ZodOptional<z.ZodString>;
3414
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3415
+ }, "strip", z.ZodTypeAny, {
3416
+ sourceJsonPath: string;
3417
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
3418
+ joinSeparator: string;
3419
+ selectFields?: string[] | undefined;
3420
+ itemTemplate?: string | undefined;
3421
+ }, {
3422
+ sourceJsonPath: string;
3423
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
3424
+ selectFields?: string[] | undefined;
3425
+ itemTemplate?: string | undefined;
3426
+ joinSeparator?: string | undefined;
3427
+ }>, {
3428
+ sourceJsonPath: string;
3429
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
3430
+ joinSeparator: string;
3431
+ selectFields?: string[] | undefined;
3432
+ itemTemplate?: string | undefined;
3433
+ }, {
3434
+ sourceJsonPath: string;
3435
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
3436
+ selectFields?: string[] | undefined;
3437
+ itemTemplate?: string | undefined;
3438
+ joinSeparator?: string | undefined;
3439
+ }>>>;
3440
+ }, "strip", z.ZodTypeAny, {
3441
+ template: string;
3442
+ contextMappings?: Record<string, {
3443
+ sourceJsonPath: string;
3444
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
3445
+ joinSeparator: string;
3446
+ selectFields?: string[] | undefined;
3447
+ itemTemplate?: string | undefined;
3448
+ }> | undefined;
3449
+ }, {
3450
+ template: string;
3451
+ contextMappings?: Record<string, {
3452
+ sourceJsonPath: string;
3453
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
3454
+ selectFields?: string[] | undefined;
3455
+ itemTemplate?: string | undefined;
3456
+ joinSeparator?: string | undefined;
3457
+ }> | undefined;
3458
+ }>;
3459
+ apiHttpMethod: z.ZodNativeEnum<typeof import("../index.js").HttpMethod>;
3460
+ apiHeadersTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3461
+ apiStaticHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3462
+ requestBodyTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
3463
+ sourceJsonPath: z.ZodString;
3464
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
3465
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3466
+ itemTemplate: z.ZodOptional<z.ZodString>;
3467
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3468
+ }, "strip", z.ZodTypeAny, {
3469
+ sourceJsonPath: string;
3470
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
3471
+ joinSeparator: string;
3472
+ selectFields?: string[] | undefined;
3473
+ itemTemplate?: string | undefined;
3474
+ }, {
3475
+ sourceJsonPath: string;
3476
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
3477
+ selectFields?: string[] | undefined;
3478
+ itemTemplate?: string | undefined;
3479
+ joinSeparator?: string | undefined;
3480
+ }>, {
3481
+ sourceJsonPath: string;
3482
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
3483
+ joinSeparator: string;
3484
+ selectFields?: string[] | undefined;
3485
+ itemTemplate?: string | undefined;
3486
+ }, {
3487
+ sourceJsonPath: string;
3488
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
3489
+ selectFields?: string[] | undefined;
3490
+ itemTemplate?: string | undefined;
3491
+ joinSeparator?: string | undefined;
3492
+ }>>>;
3493
+ customConfig: z.ZodOptional<z.ZodObject<{
3494
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
3495
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
3496
+ requestBodyPath: z.ZodOptional<z.ZodString>;
3497
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3498
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
3499
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
3500
+ requestBodyPath: z.ZodOptional<z.ZodString>;
3501
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3502
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
3503
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
3504
+ requestBodyPath: z.ZodOptional<z.ZodString>;
3505
+ }, z.ZodTypeAny, "passthrough">>>;
3506
+ }, "apiHttpMethod" | "apiUrlTemplate" | "apiHeadersTemplate" | "apiStaticHeaders">, z.ZodTypeAny, "passthrough">>;
3507
+ pollingConfig: z.ZodObject<{
3508
+ intervalSeconds: z.ZodNumber;
3509
+ maxAttempts: z.ZodNumber;
3510
+ }, "strip", z.ZodTypeAny, {
3511
+ intervalSeconds: number;
3512
+ maxAttempts: number;
3513
+ }, {
3514
+ intervalSeconds: number;
3515
+ maxAttempts: number;
3516
+ }>;
3517
+ exitConditions: z.ZodObject<{
3518
+ successCondition: z.ZodString;
3519
+ failureCondition: z.ZodString;
3520
+ }, "strip", z.ZodTypeAny, {
3521
+ successCondition: string;
3522
+ failureCondition: string;
3523
+ }, {
3524
+ successCondition: string;
3525
+ failureCondition: string;
3526
+ }>;
3527
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3528
+ stepType: z.ZodLiteral<import("../index.js").StepType.POLL_EXTERNAL_API>;
3529
+ apiCallDefinition: z.ZodObject<Pick<{
3530
+ stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
3531
+ apiUrlTemplate: z.ZodObject<{
3532
+ template: z.ZodString;
3533
+ contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
3534
+ sourceJsonPath: z.ZodString;
3535
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
3536
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3537
+ itemTemplate: z.ZodOptional<z.ZodString>;
3538
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3539
+ }, "strip", z.ZodTypeAny, {
3540
+ sourceJsonPath: string;
3541
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
3542
+ joinSeparator: string;
3543
+ selectFields?: string[] | undefined;
3544
+ itemTemplate?: string | undefined;
3545
+ }, {
3546
+ sourceJsonPath: string;
3547
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
3548
+ selectFields?: string[] | undefined;
3549
+ itemTemplate?: string | undefined;
3550
+ joinSeparator?: string | undefined;
3551
+ }>, {
3552
+ sourceJsonPath: string;
3553
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
3554
+ joinSeparator: string;
3555
+ selectFields?: string[] | undefined;
3556
+ itemTemplate?: string | undefined;
3557
+ }, {
3558
+ sourceJsonPath: string;
3559
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
3560
+ selectFields?: string[] | undefined;
3561
+ itemTemplate?: string | undefined;
3562
+ joinSeparator?: string | undefined;
3563
+ }>>>;
3564
+ }, "strip", z.ZodTypeAny, {
3565
+ template: string;
3566
+ contextMappings?: Record<string, {
3567
+ sourceJsonPath: string;
3568
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
3569
+ joinSeparator: string;
3570
+ selectFields?: string[] | undefined;
3571
+ itemTemplate?: string | undefined;
3572
+ }> | undefined;
3573
+ }, {
3574
+ template: string;
3575
+ contextMappings?: Record<string, {
3576
+ sourceJsonPath: string;
3577
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
3578
+ selectFields?: string[] | undefined;
3579
+ itemTemplate?: string | undefined;
3580
+ joinSeparator?: string | undefined;
3581
+ }> | undefined;
3582
+ }>;
3583
+ apiHttpMethod: z.ZodNativeEnum<typeof import("../index.js").HttpMethod>;
3584
+ apiHeadersTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3585
+ apiStaticHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3586
+ requestBodyTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
3587
+ sourceJsonPath: z.ZodString;
3588
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
3589
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3590
+ itemTemplate: z.ZodOptional<z.ZodString>;
3591
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3592
+ }, "strip", z.ZodTypeAny, {
3593
+ sourceJsonPath: string;
3594
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
3595
+ joinSeparator: string;
3596
+ selectFields?: string[] | undefined;
3597
+ itemTemplate?: string | undefined;
3598
+ }, {
3599
+ sourceJsonPath: string;
3600
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
3601
+ selectFields?: string[] | undefined;
3602
+ itemTemplate?: string | undefined;
3603
+ joinSeparator?: string | undefined;
3604
+ }>, {
3605
+ sourceJsonPath: string;
3606
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
3607
+ joinSeparator: string;
3608
+ selectFields?: string[] | undefined;
3609
+ itemTemplate?: string | undefined;
3610
+ }, {
3611
+ sourceJsonPath: string;
3612
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
3613
+ selectFields?: string[] | undefined;
3614
+ itemTemplate?: string | undefined;
3615
+ joinSeparator?: string | undefined;
3616
+ }>>>;
3617
+ customConfig: z.ZodOptional<z.ZodObject<{
3618
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
3619
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
3620
+ requestBodyPath: z.ZodOptional<z.ZodString>;
3621
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3622
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
3623
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
3624
+ requestBodyPath: z.ZodOptional<z.ZodString>;
3625
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3626
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
3627
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
3628
+ requestBodyPath: z.ZodOptional<z.ZodString>;
3629
+ }, z.ZodTypeAny, "passthrough">>>;
3630
+ }, "apiHttpMethod" | "apiUrlTemplate" | "apiHeadersTemplate" | "apiStaticHeaders">, "passthrough", z.ZodTypeAny, z.objectOutputType<Pick<{
3631
+ stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
3632
+ apiUrlTemplate: z.ZodObject<{
3633
+ template: z.ZodString;
3634
+ contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
3635
+ sourceJsonPath: z.ZodString;
3636
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
3637
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3638
+ itemTemplate: z.ZodOptional<z.ZodString>;
3639
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3640
+ }, "strip", z.ZodTypeAny, {
3641
+ sourceJsonPath: string;
3642
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
3643
+ joinSeparator: string;
3644
+ selectFields?: string[] | undefined;
3645
+ itemTemplate?: string | undefined;
3646
+ }, {
3647
+ sourceJsonPath: string;
3648
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
3649
+ selectFields?: string[] | undefined;
3650
+ itemTemplate?: string | undefined;
3651
+ joinSeparator?: string | undefined;
3652
+ }>, {
3653
+ sourceJsonPath: string;
3654
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
3655
+ joinSeparator: string;
3656
+ selectFields?: string[] | undefined;
3657
+ itemTemplate?: string | undefined;
3658
+ }, {
3659
+ sourceJsonPath: string;
3660
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
3661
+ selectFields?: string[] | undefined;
3662
+ itemTemplate?: string | undefined;
3663
+ joinSeparator?: string | undefined;
3664
+ }>>>;
3665
+ }, "strip", z.ZodTypeAny, {
3666
+ template: string;
3667
+ contextMappings?: Record<string, {
3668
+ sourceJsonPath: string;
3669
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
3670
+ joinSeparator: string;
3671
+ selectFields?: string[] | undefined;
3672
+ itemTemplate?: string | undefined;
3673
+ }> | undefined;
3674
+ }, {
3675
+ template: string;
3676
+ contextMappings?: Record<string, {
3677
+ sourceJsonPath: string;
3678
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
3679
+ selectFields?: string[] | undefined;
3680
+ itemTemplate?: string | undefined;
3681
+ joinSeparator?: string | undefined;
3682
+ }> | undefined;
3683
+ }>;
3684
+ apiHttpMethod: z.ZodNativeEnum<typeof import("../index.js").HttpMethod>;
3685
+ apiHeadersTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3686
+ apiStaticHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3687
+ requestBodyTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
3688
+ sourceJsonPath: z.ZodString;
3689
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
3690
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3691
+ itemTemplate: z.ZodOptional<z.ZodString>;
3692
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3693
+ }, "strip", z.ZodTypeAny, {
3694
+ sourceJsonPath: string;
3695
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
3696
+ joinSeparator: string;
3697
+ selectFields?: string[] | undefined;
3698
+ itemTemplate?: string | undefined;
3699
+ }, {
3700
+ sourceJsonPath: string;
3701
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
3702
+ selectFields?: string[] | undefined;
3703
+ itemTemplate?: string | undefined;
3704
+ joinSeparator?: string | undefined;
3705
+ }>, {
3706
+ sourceJsonPath: string;
3707
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
3708
+ joinSeparator: string;
3709
+ selectFields?: string[] | undefined;
3710
+ itemTemplate?: string | undefined;
3711
+ }, {
3712
+ sourceJsonPath: string;
3713
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
3714
+ selectFields?: string[] | undefined;
3715
+ itemTemplate?: string | undefined;
3716
+ joinSeparator?: string | undefined;
3717
+ }>>>;
3718
+ customConfig: z.ZodOptional<z.ZodObject<{
3719
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
3720
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
3721
+ requestBodyPath: z.ZodOptional<z.ZodString>;
3722
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3723
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
3724
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
3725
+ requestBodyPath: z.ZodOptional<z.ZodString>;
3726
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3727
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
3728
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
3729
+ requestBodyPath: z.ZodOptional<z.ZodString>;
3730
+ }, z.ZodTypeAny, "passthrough">>>;
3731
+ }, "apiHttpMethod" | "apiUrlTemplate" | "apiHeadersTemplate" | "apiStaticHeaders">, z.ZodTypeAny, "passthrough">, z.objectInputType<Pick<{
3732
+ stepType: z.ZodLiteral<import("../index.js").StepType.API_CALL>;
3733
+ apiUrlTemplate: z.ZodObject<{
3734
+ template: z.ZodString;
3735
+ contextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
3736
+ sourceJsonPath: z.ZodString;
3737
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
3738
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3739
+ itemTemplate: z.ZodOptional<z.ZodString>;
3740
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3741
+ }, "strip", z.ZodTypeAny, {
3742
+ sourceJsonPath: string;
3743
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
3744
+ joinSeparator: string;
3745
+ selectFields?: string[] | undefined;
3746
+ itemTemplate?: string | undefined;
3747
+ }, {
3748
+ sourceJsonPath: string;
3749
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
3750
+ selectFields?: string[] | undefined;
3751
+ itemTemplate?: string | undefined;
3752
+ joinSeparator?: string | undefined;
3753
+ }>, {
3754
+ sourceJsonPath: string;
3755
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
3756
+ joinSeparator: string;
3757
+ selectFields?: string[] | undefined;
3758
+ itemTemplate?: string | undefined;
3759
+ }, {
3760
+ sourceJsonPath: string;
3761
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
3762
+ selectFields?: string[] | undefined;
3763
+ itemTemplate?: string | undefined;
3764
+ joinSeparator?: string | undefined;
3765
+ }>>>;
3766
+ }, "strip", z.ZodTypeAny, {
3767
+ template: string;
3768
+ contextMappings?: Record<string, {
3769
+ sourceJsonPath: string;
3770
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
3771
+ joinSeparator: string;
3772
+ selectFields?: string[] | undefined;
3773
+ itemTemplate?: string | undefined;
3774
+ }> | undefined;
3775
+ }, {
3776
+ template: string;
3777
+ contextMappings?: Record<string, {
3778
+ sourceJsonPath: string;
3779
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
3780
+ selectFields?: string[] | undefined;
3781
+ itemTemplate?: string | undefined;
3782
+ joinSeparator?: string | undefined;
3783
+ }> | undefined;
3784
+ }>;
3785
+ apiHttpMethod: z.ZodNativeEnum<typeof import("../index.js").HttpMethod>;
3786
+ apiHeadersTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3787
+ apiStaticHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3788
+ requestBodyTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
3789
+ sourceJsonPath: z.ZodString;
3790
+ formatAs: z.ZodDefault<z.ZodOptional<z.ZodEnum<["RAW", "JSON", "CUSTOM_STRING"]>>>;
3791
+ selectFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3792
+ itemTemplate: z.ZodOptional<z.ZodString>;
3793
+ joinSeparator: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3794
+ }, "strip", z.ZodTypeAny, {
3795
+ sourceJsonPath: string;
3796
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
3797
+ joinSeparator: string;
3798
+ selectFields?: string[] | undefined;
3799
+ itemTemplate?: string | undefined;
3800
+ }, {
3801
+ sourceJsonPath: string;
3802
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
3803
+ selectFields?: string[] | undefined;
3804
+ itemTemplate?: string | undefined;
3805
+ joinSeparator?: string | undefined;
3806
+ }>, {
3807
+ sourceJsonPath: string;
3808
+ formatAs: "RAW" | "JSON" | "CUSTOM_STRING";
3809
+ joinSeparator: string;
3810
+ selectFields?: string[] | undefined;
3811
+ itemTemplate?: string | undefined;
3812
+ }, {
3813
+ sourceJsonPath: string;
3814
+ formatAs?: "RAW" | "JSON" | "CUSTOM_STRING" | undefined;
3815
+ selectFields?: string[] | undefined;
3816
+ itemTemplate?: string | undefined;
3817
+ joinSeparator?: string | undefined;
3818
+ }>>>;
3819
+ customConfig: z.ZodOptional<z.ZodObject<{
3820
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
3821
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
3822
+ requestBodyPath: z.ZodOptional<z.ZodString>;
3823
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3824
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
3825
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
3826
+ requestBodyPath: z.ZodOptional<z.ZodString>;
3827
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3828
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
3829
+ retryAttempts: z.ZodOptional<z.ZodNumber>;
3830
+ requestBodyPath: z.ZodOptional<z.ZodString>;
3831
+ }, z.ZodTypeAny, "passthrough">>>;
3832
+ }, "apiHttpMethod" | "apiUrlTemplate" | "apiHeadersTemplate" | "apiStaticHeaders">, z.ZodTypeAny, "passthrough">>;
3833
+ pollingConfig: z.ZodObject<{
3834
+ intervalSeconds: z.ZodNumber;
3835
+ maxAttempts: z.ZodNumber;
3836
+ }, "strip", z.ZodTypeAny, {
3837
+ intervalSeconds: number;
3838
+ maxAttempts: number;
3839
+ }, {
3840
+ intervalSeconds: number;
3841
+ maxAttempts: number;
3842
+ }>;
3843
+ exitConditions: z.ZodObject<{
3844
+ successCondition: z.ZodString;
3845
+ failureCondition: z.ZodString;
3846
+ }, "strip", z.ZodTypeAny, {
3847
+ successCondition: string;
3848
+ failureCondition: string;
3849
+ }, {
3850
+ successCondition: string;
3851
+ failureCondition: string;
3852
+ }>;
3853
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
3854
+ stepType: z.ZodLiteral<import("../index.js").StepType.CUSTOM_LAMBDA_INVOKE>;
3855
+ moduleIdentifier: z.ZodOptional<z.ZodString>;
3856
+ lambdaFunctionArnTemplate: z.ZodString;
3857
+ payloadTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3858
+ customConfig: z.ZodOptional<z.ZodObject<{
3859
+ hydrateInputFromS3: z.ZodOptional<z.ZodBoolean>;
3860
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3861
+ hydrateInputFromS3: z.ZodOptional<z.ZodBoolean>;
3862
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3863
+ hydrateInputFromS3: z.ZodOptional<z.ZodBoolean>;
3864
+ }, z.ZodTypeAny, "passthrough">>>;
3865
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3866
+ stepType: z.ZodLiteral<import("../index.js").StepType.CUSTOM_LAMBDA_INVOKE>;
3867
+ moduleIdentifier: z.ZodOptional<z.ZodString>;
3868
+ lambdaFunctionArnTemplate: z.ZodString;
3869
+ payloadTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3870
+ customConfig: z.ZodOptional<z.ZodObject<{
3871
+ hydrateInputFromS3: z.ZodOptional<z.ZodBoolean>;
3872
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3873
+ hydrateInputFromS3: z.ZodOptional<z.ZodBoolean>;
3874
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3875
+ hydrateInputFromS3: z.ZodOptional<z.ZodBoolean>;
3876
+ }, z.ZodTypeAny, "passthrough">>>;
3877
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3878
+ stepType: z.ZodLiteral<import("../index.js").StepType.CUSTOM_LAMBDA_INVOKE>;
3879
+ moduleIdentifier: z.ZodOptional<z.ZodString>;
3880
+ lambdaFunctionArnTemplate: z.ZodString;
3881
+ payloadTemplate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3882
+ customConfig: z.ZodOptional<z.ZodObject<{
3883
+ hydrateInputFromS3: z.ZodOptional<z.ZodBoolean>;
3884
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3885
+ hydrateInputFromS3: z.ZodOptional<z.ZodBoolean>;
3886
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3887
+ hydrateInputFromS3: z.ZodOptional<z.ZodBoolean>;
3888
+ }, z.ZodTypeAny, "passthrough">>>;
3889
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
3890
+ stepType: z.ZodLiteral<import("../index.js").StepType.PARALLEL_FORK_MANAGER>;
3891
+ itemsPath: z.ZodOptional<z.ZodString>;
3892
+ parallelBranches: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
3893
+ branchId: z.ZodString;
3894
+ condition: z.ZodOptional<z.ZodString>;
3895
+ icon: z.ZodOptional<z.ZodString>;
3896
+ }, "strip", z.ZodTypeAny, {
3897
+ branchId: string;
3898
+ condition?: string | undefined;
3899
+ icon?: string | undefined;
3900
+ }, {
3901
+ branchId: string;
3902
+ condition?: string | undefined;
3903
+ icon?: string | undefined;
3904
+ }>, z.ZodUnion<[z.ZodObject<{
3905
+ stepInstanceId: z.ZodString;
3906
+ inputMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3907
+ literals: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3908
+ }, "strip", z.ZodTypeAny, {
3909
+ stepInstanceId: string;
3910
+ inputMappings?: Record<string, string> | undefined;
3911
+ literals?: Record<string, any> | undefined;
3912
+ }, {
3913
+ stepInstanceId: string;
3914
+ inputMappings?: Record<string, string> | undefined;
3915
+ literals?: Record<string, any> | undefined;
3916
+ }>, z.ZodObject<{
3917
+ stepType: z.ZodLiteral<import("../index.js").StepType.START_SUB_FLOW>;
3918
+ subFlowDefinitionId: z.ZodString;
3919
+ inputMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3920
+ literals: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3921
+ }, "strip", z.ZodTypeAny, {
3922
+ stepType: import("../index.js").StepType.START_SUB_FLOW;
3923
+ subFlowDefinitionId: string;
3924
+ inputMappings?: Record<string, string> | undefined;
3925
+ literals?: Record<string, any> | undefined;
3926
+ }, {
3927
+ stepType: import("../index.js").StepType.START_SUB_FLOW;
3928
+ subFlowDefinitionId: string;
3929
+ inputMappings?: Record<string, string> | undefined;
3930
+ literals?: Record<string, any> | undefined;
3931
+ }>]>>, "many">>;
3932
+ aggregationConfig: z.ZodOptional<z.ZodEffects<z.ZodObject<{
3933
+ strategy: z.ZodDefault<z.ZodNativeEnum<typeof import("../index.js").AggregationStrategy>>;
3934
+ dataPath: z.ZodOptional<z.ZodString>;
3935
+ customModuleIdentifier: z.ZodOptional<z.ZodString>;
3936
+ failOnBranchError: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3937
+ maxConcurrency: z.ZodOptional<z.ZodNumber>;
3938
+ toleratedFailurePercentage: z.ZodOptional<z.ZodNumber>;
3939
+ }, "strip", z.ZodTypeAny, {
3940
+ strategy: import("../index.js").AggregationStrategy;
3941
+ failOnBranchError: boolean;
3942
+ dataPath?: string | undefined;
3943
+ customModuleIdentifier?: string | undefined;
3944
+ maxConcurrency?: number | undefined;
3945
+ toleratedFailurePercentage?: number | undefined;
3946
+ }, {
3947
+ strategy?: import("../index.js").AggregationStrategy | undefined;
3948
+ dataPath?: string | undefined;
3949
+ customModuleIdentifier?: string | undefined;
3950
+ failOnBranchError?: boolean | undefined;
3951
+ maxConcurrency?: number | undefined;
3952
+ toleratedFailurePercentage?: number | undefined;
3953
+ }>, {
3954
+ strategy: import("../index.js").AggregationStrategy;
3955
+ failOnBranchError: boolean;
3956
+ dataPath?: string | undefined;
3957
+ customModuleIdentifier?: string | undefined;
3958
+ maxConcurrency?: number | undefined;
3959
+ toleratedFailurePercentage?: number | undefined;
3960
+ }, {
3961
+ strategy?: import("../index.js").AggregationStrategy | undefined;
3962
+ dataPath?: string | undefined;
3963
+ customModuleIdentifier?: string | undefined;
3964
+ failOnBranchError?: boolean | undefined;
3965
+ maxConcurrency?: number | undefined;
3966
+ toleratedFailurePercentage?: number | undefined;
3967
+ }>>;
3968
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3969
+ stepType: z.ZodLiteral<import("../index.js").StepType.PARALLEL_FORK_MANAGER>;
3970
+ itemsPath: z.ZodOptional<z.ZodString>;
3971
+ parallelBranches: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
3972
+ branchId: z.ZodString;
3973
+ condition: z.ZodOptional<z.ZodString>;
3974
+ icon: z.ZodOptional<z.ZodString>;
3975
+ }, "strip", z.ZodTypeAny, {
3976
+ branchId: string;
3977
+ condition?: string | undefined;
3978
+ icon?: string | undefined;
3979
+ }, {
3980
+ branchId: string;
3981
+ condition?: string | undefined;
3982
+ icon?: string | undefined;
3983
+ }>, z.ZodUnion<[z.ZodObject<{
3984
+ stepInstanceId: z.ZodString;
3985
+ inputMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3986
+ literals: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3987
+ }, "strip", z.ZodTypeAny, {
3988
+ stepInstanceId: string;
3989
+ inputMappings?: Record<string, string> | undefined;
3990
+ literals?: Record<string, any> | undefined;
3991
+ }, {
3992
+ stepInstanceId: string;
3993
+ inputMappings?: Record<string, string> | undefined;
3994
+ literals?: Record<string, any> | undefined;
3995
+ }>, z.ZodObject<{
3996
+ stepType: z.ZodLiteral<import("../index.js").StepType.START_SUB_FLOW>;
3997
+ subFlowDefinitionId: z.ZodString;
3998
+ inputMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3999
+ literals: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4000
+ }, "strip", z.ZodTypeAny, {
4001
+ stepType: import("../index.js").StepType.START_SUB_FLOW;
4002
+ subFlowDefinitionId: string;
4003
+ inputMappings?: Record<string, string> | undefined;
4004
+ literals?: Record<string, any> | undefined;
4005
+ }, {
4006
+ stepType: import("../index.js").StepType.START_SUB_FLOW;
4007
+ subFlowDefinitionId: string;
4008
+ inputMappings?: Record<string, string> | undefined;
4009
+ literals?: Record<string, any> | undefined;
4010
+ }>]>>, "many">>;
4011
+ aggregationConfig: z.ZodOptional<z.ZodEffects<z.ZodObject<{
4012
+ strategy: z.ZodDefault<z.ZodNativeEnum<typeof import("../index.js").AggregationStrategy>>;
4013
+ dataPath: z.ZodOptional<z.ZodString>;
4014
+ customModuleIdentifier: z.ZodOptional<z.ZodString>;
4015
+ failOnBranchError: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
4016
+ maxConcurrency: z.ZodOptional<z.ZodNumber>;
4017
+ toleratedFailurePercentage: z.ZodOptional<z.ZodNumber>;
4018
+ }, "strip", z.ZodTypeAny, {
4019
+ strategy: import("../index.js").AggregationStrategy;
4020
+ failOnBranchError: boolean;
4021
+ dataPath?: string | undefined;
4022
+ customModuleIdentifier?: string | undefined;
4023
+ maxConcurrency?: number | undefined;
4024
+ toleratedFailurePercentage?: number | undefined;
4025
+ }, {
4026
+ strategy?: import("../index.js").AggregationStrategy | undefined;
4027
+ dataPath?: string | undefined;
4028
+ customModuleIdentifier?: string | undefined;
4029
+ failOnBranchError?: boolean | undefined;
4030
+ maxConcurrency?: number | undefined;
4031
+ toleratedFailurePercentage?: number | undefined;
4032
+ }>, {
4033
+ strategy: import("../index.js").AggregationStrategy;
4034
+ failOnBranchError: boolean;
4035
+ dataPath?: string | undefined;
4036
+ customModuleIdentifier?: string | undefined;
4037
+ maxConcurrency?: number | undefined;
4038
+ toleratedFailurePercentage?: number | undefined;
4039
+ }, {
4040
+ strategy?: import("../index.js").AggregationStrategy | undefined;
4041
+ dataPath?: string | undefined;
4042
+ customModuleIdentifier?: string | undefined;
4043
+ failOnBranchError?: boolean | undefined;
4044
+ maxConcurrency?: number | undefined;
4045
+ toleratedFailurePercentage?: number | undefined;
4046
+ }>>;
4047
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4048
+ stepType: z.ZodLiteral<import("../index.js").StepType.PARALLEL_FORK_MANAGER>;
4049
+ itemsPath: z.ZodOptional<z.ZodString>;
4050
+ parallelBranches: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
4051
+ branchId: z.ZodString;
4052
+ condition: z.ZodOptional<z.ZodString>;
4053
+ icon: z.ZodOptional<z.ZodString>;
4054
+ }, "strip", z.ZodTypeAny, {
4055
+ branchId: string;
4056
+ condition?: string | undefined;
4057
+ icon?: string | undefined;
4058
+ }, {
4059
+ branchId: string;
4060
+ condition?: string | undefined;
4061
+ icon?: string | undefined;
4062
+ }>, z.ZodUnion<[z.ZodObject<{
4063
+ stepInstanceId: z.ZodString;
4064
+ inputMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4065
+ literals: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4066
+ }, "strip", z.ZodTypeAny, {
4067
+ stepInstanceId: string;
4068
+ inputMappings?: Record<string, string> | undefined;
4069
+ literals?: Record<string, any> | undefined;
4070
+ }, {
4071
+ stepInstanceId: string;
4072
+ inputMappings?: Record<string, string> | undefined;
4073
+ literals?: Record<string, any> | undefined;
4074
+ }>, z.ZodObject<{
4075
+ stepType: z.ZodLiteral<import("../index.js").StepType.START_SUB_FLOW>;
4076
+ subFlowDefinitionId: z.ZodString;
4077
+ inputMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4078
+ literals: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4079
+ }, "strip", z.ZodTypeAny, {
4080
+ stepType: import("../index.js").StepType.START_SUB_FLOW;
4081
+ subFlowDefinitionId: string;
4082
+ inputMappings?: Record<string, string> | undefined;
4083
+ literals?: Record<string, any> | undefined;
4084
+ }, {
4085
+ stepType: import("../index.js").StepType.START_SUB_FLOW;
4086
+ subFlowDefinitionId: string;
4087
+ inputMappings?: Record<string, string> | undefined;
4088
+ literals?: Record<string, any> | undefined;
4089
+ }>]>>, "many">>;
4090
+ aggregationConfig: z.ZodOptional<z.ZodEffects<z.ZodObject<{
4091
+ strategy: z.ZodDefault<z.ZodNativeEnum<typeof import("../index.js").AggregationStrategy>>;
4092
+ dataPath: z.ZodOptional<z.ZodString>;
4093
+ customModuleIdentifier: z.ZodOptional<z.ZodString>;
4094
+ failOnBranchError: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
4095
+ maxConcurrency: z.ZodOptional<z.ZodNumber>;
4096
+ toleratedFailurePercentage: z.ZodOptional<z.ZodNumber>;
4097
+ }, "strip", z.ZodTypeAny, {
4098
+ strategy: import("../index.js").AggregationStrategy;
4099
+ failOnBranchError: boolean;
4100
+ dataPath?: string | undefined;
4101
+ customModuleIdentifier?: string | undefined;
4102
+ maxConcurrency?: number | undefined;
4103
+ toleratedFailurePercentage?: number | undefined;
4104
+ }, {
4105
+ strategy?: import("../index.js").AggregationStrategy | undefined;
4106
+ dataPath?: string | undefined;
4107
+ customModuleIdentifier?: string | undefined;
4108
+ failOnBranchError?: boolean | undefined;
4109
+ maxConcurrency?: number | undefined;
4110
+ toleratedFailurePercentage?: number | undefined;
4111
+ }>, {
4112
+ strategy: import("../index.js").AggregationStrategy;
4113
+ failOnBranchError: boolean;
4114
+ dataPath?: string | undefined;
4115
+ customModuleIdentifier?: string | undefined;
4116
+ maxConcurrency?: number | undefined;
4117
+ toleratedFailurePercentage?: number | undefined;
4118
+ }, {
4119
+ strategy?: import("../index.js").AggregationStrategy | undefined;
4120
+ dataPath?: string | undefined;
4121
+ customModuleIdentifier?: string | undefined;
4122
+ failOnBranchError?: boolean | undefined;
4123
+ maxConcurrency?: number | undefined;
4124
+ toleratedFailurePercentage?: number | undefined;
4125
+ }>>;
4126
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
4127
+ stepType: z.ZodLiteral<import("../index.js").StepType.START_FLOW_EXECUTION>;
4128
+ moduleIdentifier: z.ZodOptional<z.ZodString>;
4129
+ customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4130
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4131
+ stepType: z.ZodLiteral<import("../index.js").StepType.START_FLOW_EXECUTION>;
4132
+ moduleIdentifier: z.ZodOptional<z.ZodString>;
4133
+ customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4134
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4135
+ stepType: z.ZodLiteral<import("../index.js").StepType.START_FLOW_EXECUTION>;
4136
+ moduleIdentifier: z.ZodOptional<z.ZodString>;
4137
+ customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4138
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
4139
+ stepType: z.ZodLiteral<import("../index.js").StepType.SQS_SEND>;
4140
+ moduleIdentifier: z.ZodLiteral<"system/sqs-send">;
4141
+ queueUrl: z.ZodString;
4142
+ payload: z.ZodRecord<z.ZodString, z.ZodAny>;
4143
+ messageGroupId: z.ZodOptional<z.ZodString>;
4144
+ messageDeduplicationId: z.ZodOptional<z.ZodString>;
4145
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4146
+ stepType: z.ZodLiteral<import("../index.js").StepType.SQS_SEND>;
4147
+ moduleIdentifier: z.ZodLiteral<"system/sqs-send">;
4148
+ queueUrl: z.ZodString;
4149
+ payload: z.ZodRecord<z.ZodString, z.ZodAny>;
4150
+ messageGroupId: z.ZodOptional<z.ZodString>;
4151
+ messageDeduplicationId: z.ZodOptional<z.ZodString>;
4152
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4153
+ stepType: z.ZodLiteral<import("../index.js").StepType.SQS_SEND>;
4154
+ moduleIdentifier: z.ZodLiteral<"system/sqs-send">;
4155
+ queueUrl: z.ZodString;
4156
+ payload: z.ZodRecord<z.ZodString, z.ZodAny>;
4157
+ messageGroupId: z.ZodOptional<z.ZodString>;
4158
+ messageDeduplicationId: z.ZodOptional<z.ZodString>;
4159
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
4160
+ stepType: z.ZodLiteral<import("../index.js").StepType.SNS_PUBLISH>;
4161
+ moduleIdentifier: z.ZodLiteral<"system/sns-publish">;
4162
+ topicArn: z.ZodString;
4163
+ payload: z.ZodRecord<z.ZodString, z.ZodAny>;
4164
+ messageAttributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4165
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4166
+ stepType: z.ZodLiteral<import("../index.js").StepType.SNS_PUBLISH>;
4167
+ moduleIdentifier: z.ZodLiteral<"system/sns-publish">;
4168
+ topicArn: z.ZodString;
4169
+ payload: z.ZodRecord<z.ZodString, z.ZodAny>;
4170
+ messageAttributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4171
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4172
+ stepType: z.ZodLiteral<import("../index.js").StepType.SNS_PUBLISH>;
4173
+ moduleIdentifier: z.ZodLiteral<"system/sns-publish">;
4174
+ topicArn: z.ZodString;
4175
+ payload: z.ZodRecord<z.ZodString, z.ZodAny>;
4176
+ messageAttributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4177
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
4178
+ stepType: z.ZodLiteral<import("../index.js").StepType.EMAIL_START_POINT>;
4179
+ emailAddress: z.ZodString;
4180
+ triggerMessagePattern: z.ZodOptional<z.ZodString>;
4181
+ keyword: z.ZodOptional<z.ZodString>;
4182
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4183
+ stepType: z.ZodLiteral<import("../index.js").StepType.EMAIL_START_POINT>;
4184
+ emailAddress: z.ZodString;
4185
+ triggerMessagePattern: z.ZodOptional<z.ZodString>;
4186
+ keyword: z.ZodOptional<z.ZodString>;
4187
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4188
+ stepType: z.ZodLiteral<import("../index.js").StepType.EMAIL_START_POINT>;
4189
+ emailAddress: z.ZodString;
4190
+ triggerMessagePattern: z.ZodOptional<z.ZodString>;
4191
+ keyword: z.ZodOptional<z.ZodString>;
4192
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
4193
+ stepType: z.ZodLiteral<import("../index.js").StepType.EMAIL>;
4194
+ from: z.ZodString;
4195
+ to: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
4196
+ replyTo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
4197
+ subject: z.ZodString;
4198
+ body: z.ZodString;
4199
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4200
+ stepType: z.ZodLiteral<import("../index.js").StepType.EMAIL>;
4201
+ from: z.ZodString;
4202
+ to: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
4203
+ replyTo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
4204
+ subject: z.ZodString;
4205
+ body: z.ZodString;
4206
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4207
+ stepType: z.ZodLiteral<import("../index.js").StepType.EMAIL>;
4208
+ from: z.ZodString;
4209
+ to: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
4210
+ replyTo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
4211
+ subject: z.ZodString;
4212
+ body: z.ZodString;
4213
+ }, z.ZodTypeAny, "passthrough">>]>, z.ZodObject<{
4214
+ customConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4215
+ inputMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4216
+ outputMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4217
+ onError: z.ZodOptional<z.ZodObject<{
4218
+ retries: z.ZodOptional<z.ZodObject<{
4219
+ count: z.ZodDefault<z.ZodNumber>;
4220
+ intervalSeconds: z.ZodDefault<z.ZodNumber>;
4221
+ backoffRate: z.ZodDefault<z.ZodNumber>;
4222
+ errorEquals: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4223
+ }, "strip", z.ZodTypeAny, {
4224
+ count: number;
4225
+ intervalSeconds: number;
4226
+ backoffRate: number;
4227
+ errorEquals?: string[] | undefined;
4228
+ }, {
4229
+ count?: number | undefined;
4230
+ intervalSeconds?: number | undefined;
4231
+ backoffRate?: number | undefined;
4232
+ errorEquals?: string[] | undefined;
4233
+ }>>;
4234
+ retryOnContentError: z.ZodOptional<z.ZodObject<{
4235
+ count: z.ZodDefault<z.ZodNumber>;
4236
+ intervalSeconds: z.ZodDefault<z.ZodNumber>;
4237
+ backoffRate: z.ZodDefault<z.ZodNumber>;
4238
+ }, "strip", z.ZodTypeAny, {
4239
+ count: number;
4240
+ intervalSeconds: number;
4241
+ backoffRate: number;
4242
+ }, {
4243
+ count?: number | undefined;
4244
+ intervalSeconds?: number | undefined;
4245
+ backoffRate?: number | undefined;
4246
+ }>>;
4247
+ fallbackStepInstanceId: z.ZodOptional<z.ZodString>;
4248
+ continueOnFailure: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
4249
+ }, "strip", z.ZodTypeAny, {
4250
+ continueOnFailure: boolean;
4251
+ retries?: {
4252
+ count: number;
4253
+ intervalSeconds: number;
4254
+ backoffRate: number;
4255
+ errorEquals?: string[] | undefined;
4256
+ } | undefined;
4257
+ retryOnContentError?: {
4258
+ count: number;
4259
+ intervalSeconds: number;
4260
+ backoffRate: number;
4261
+ } | undefined;
4262
+ fallbackStepInstanceId?: string | undefined;
4263
+ }, {
4264
+ retries?: {
4265
+ count?: number | undefined;
4266
+ intervalSeconds?: number | undefined;
4267
+ backoffRate?: number | undefined;
4268
+ errorEquals?: string[] | undefined;
4269
+ } | undefined;
4270
+ retryOnContentError?: {
4271
+ count?: number | undefined;
4272
+ intervalSeconds?: number | undefined;
4273
+ backoffRate?: number | undefined;
4274
+ } | undefined;
4275
+ fallbackStepInstanceId?: string | undefined;
4276
+ continueOnFailure?: boolean | undefined;
4277
+ }>>;
4278
+ literals: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4279
+ }, "strip", z.ZodTypeAny, {
4280
+ customConfig?: Record<string, any> | undefined;
4281
+ inputMappings?: Record<string, string> | undefined;
4282
+ literals?: Record<string, any> | undefined;
4283
+ outputMappings?: Record<string, string> | undefined;
4284
+ onError?: {
4285
+ continueOnFailure: boolean;
4286
+ retries?: {
4287
+ count: number;
4288
+ intervalSeconds: number;
4289
+ backoffRate: number;
4290
+ errorEquals?: string[] | undefined;
4291
+ } | undefined;
4292
+ retryOnContentError?: {
4293
+ count: number;
4294
+ intervalSeconds: number;
4295
+ backoffRate: number;
4296
+ } | undefined;
4297
+ fallbackStepInstanceId?: string | undefined;
4298
+ } | undefined;
4299
+ }, {
4300
+ customConfig?: Record<string, any> | undefined;
4301
+ inputMappings?: Record<string, string> | undefined;
4302
+ literals?: Record<string, any> | undefined;
4303
+ outputMappings?: Record<string, string> | undefined;
4304
+ onError?: {
4305
+ retries?: {
4306
+ count?: number | undefined;
4307
+ intervalSeconds?: number | undefined;
4308
+ backoffRate?: number | undefined;
4309
+ errorEquals?: string[] | undefined;
4310
+ } | undefined;
4311
+ retryOnContentError?: {
4312
+ count?: number | undefined;
4313
+ intervalSeconds?: number | undefined;
4314
+ backoffRate?: number | undefined;
4315
+ } | undefined;
4316
+ fallbackStepInstanceId?: string | undefined;
4317
+ continueOnFailure?: boolean | undefined;
4318
+ } | undefined;
4319
+ }>>, z.ZodObject<{
4320
+ name: z.ZodString;
4321
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4322
+ }, "strip", z.ZodTypeAny, {
4323
+ name: string;
4324
+ description?: string | null | undefined;
4325
+ }, {
4326
+ name: string;
4327
+ description?: string | null | undefined;
4328
+ }>>;
4329
+ export type UpdateStepDefinitionInput = z.infer<typeof UpdateStepDefinitionInputSchema>;
4330
+ //# sourceMappingURL=api-schemas.d.ts.map