@requence/task 1.0.0-alpha.7 → 1.0.0-alpha.9

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 (56) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/build/{chunk-r3hqv0x2.js → chunk-ajdmm777.js} +3 -5
  3. package/build/{chunk-r3hqv0x2.js.map → chunk-ajdmm777.js.map} +4 -5
  4. package/build/cli.js +1 -1
  5. package/build/cli.js.map +1 -1
  6. package/build/index.js +79 -9
  7. package/build/index.js.map +8 -7
  8. package/build/types/helpers/src/context/context.d.ts +156 -0
  9. package/build/types/helpers/src/context/context.d.ts.map +1 -0
  10. package/build/types/helpers/src/context/index.d.ts +2 -0
  11. package/build/types/helpers/src/context/index.d.ts.map +1 -0
  12. package/build/types/helpers/src/files/RequenceFile.d.ts +40 -0
  13. package/build/types/helpers/src/files/RequenceFile.d.ts.map +1 -0
  14. package/build/types/helpers/src/files/RequenceStream.d.ts +32 -0
  15. package/build/types/helpers/src/files/RequenceStream.d.ts.map +1 -0
  16. package/build/types/helpers/src/files/index.d.ts +48 -0
  17. package/build/types/helpers/src/files/index.d.ts.map +1 -0
  18. package/build/types/helpers/src/files/isValidMimeType.d.ts +5 -0
  19. package/build/types/helpers/src/files/isValidMimeType.d.ts.map +1 -0
  20. package/build/types/helpers/src/files/mapOutput.d.ts +7 -0
  21. package/build/types/helpers/src/files/mapOutput.d.ts.map +1 -0
  22. package/build/types/helpers/src/files/types.d.ts +4 -0
  23. package/build/types/helpers/src/files/types.d.ts.map +1 -0
  24. package/build/types/helpers/src/jsonschema/mapSchema.d.ts +20 -0
  25. package/build/types/helpers/src/jsonschema/mapSchema.d.ts.map +1 -0
  26. package/build/types/helpers/src/jsonschema/types.d.ts +11 -0
  27. package/build/types/helpers/src/jsonschema/types.d.ts.map +1 -0
  28. package/build/types/helpers/src/jsonschema/validate.d.ts +27 -0
  29. package/build/types/helpers/src/jsonschema/validate.d.ts.map +1 -0
  30. package/build/types/helpers/src/jsonschema/zod.d.ts +20 -0
  31. package/build/types/helpers/src/jsonschema/zod.d.ts.map +1 -0
  32. package/build/types/helpers/src/protocol/command.d.ts +1969 -0
  33. package/build/types/helpers/src/protocol/command.d.ts.map +1 -0
  34. package/build/types/helpers/src/protocol/createNodeMaps.d.ts +10 -0
  35. package/build/types/helpers/src/protocol/createNodeMaps.d.ts.map +1 -0
  36. package/build/types/helpers/src/protocol/getCycles.d.ts +3 -0
  37. package/build/types/helpers/src/protocol/getCycles.d.ts.map +1 -0
  38. package/build/types/helpers/src/protocol/getNodeOutputs.d.ts +4 -0
  39. package/build/types/helpers/src/protocol/getNodeOutputs.d.ts.map +1 -0
  40. package/build/types/helpers/src/protocol/getPossiblePaths.d.ts +9 -0
  41. package/build/types/helpers/src/protocol/getPossiblePaths.d.ts.map +1 -0
  42. package/build/types/helpers/src/protocol/identifyNode.d.ts +4 -0
  43. package/build/types/helpers/src/protocol/identifyNode.d.ts.map +1 -0
  44. package/build/types/helpers/src/protocol/index.d.ts +10 -0
  45. package/build/types/helpers/src/protocol/index.d.ts.map +1 -0
  46. package/build/types/helpers/src/protocol/node.d.ts +1014 -0
  47. package/build/types/helpers/src/protocol/node.d.ts.map +1 -0
  48. package/build/types/helpers/src/protocol/nodes.d.ts +801 -0
  49. package/build/types/helpers/src/protocol/nodes.d.ts.map +1 -0
  50. package/build/types/helpers/src/protocol/update.d.ts +3087 -0
  51. package/build/types/helpers/src/protocol/update.d.ts.map +1 -0
  52. package/build/types/task/src/createTask.d.ts.map +1 -1
  53. package/build/types/task/src/index.d.ts +1 -1
  54. package/build/types/task/src/index.d.ts.map +1 -1
  55. package/build/types/task/src/utils/mapOutput.d.ts.map +1 -1
  56. package/package.json +5 -2
@@ -0,0 +1,1969 @@
1
+ import { z } from 'zod';
2
+ export declare const abortSchema: z.ZodObject<{
3
+ type: z.ZodLiteral<"ABORT">;
4
+ reason: z.ZodOptional<z.ZodString>;
5
+ }, "strip", z.ZodTypeAny, {
6
+ type: "ABORT";
7
+ reason?: string | undefined;
8
+ }, {
9
+ type: "ABORT";
10
+ reason?: string | undefined;
11
+ }>;
12
+ export type Abort = z.infer<typeof abortSchema>;
13
+ export declare const nodeOptionsSchema: z.ZodObject<{
14
+ maxExecutions: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
15
+ uploadUrl: z.ZodOptional<z.ZodString>;
16
+ streamUrl: z.ZodOptional<z.ZodString>;
17
+ }, "strip", z.ZodTypeAny, {
18
+ maxExecutions: number;
19
+ uploadUrl?: string | undefined;
20
+ streamUrl?: string | undefined;
21
+ }, {
22
+ maxExecutions?: number | undefined;
23
+ uploadUrl?: string | undefined;
24
+ streamUrl?: string | undefined;
25
+ }>;
26
+ export type NodeOptions = z.infer<typeof nodeOptionsSchema>;
27
+ export type NodeOptionsInput = z.input<typeof nodeOptionsSchema>;
28
+ export declare const createNodesSchema: z.ZodObject<{
29
+ type: z.ZodLiteral<"CREATE_NODES">;
30
+ nodes: z.ZodEffects<z.ZodEffects<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
31
+ type: z.ZodLiteral<"entry">;
32
+ id: z.ZodDefault<z.ZodLiteral<"__entry__">>;
33
+ output: z.ZodEffects<z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodObject<{
34
+ default: z.ZodDefault<z.ZodLiteral<true>>;
35
+ exit: z.ZodLiteral<true>;
36
+ }, "strip", z.ZodTypeAny, {
37
+ default: true;
38
+ exit: true;
39
+ }, {
40
+ exit: true;
41
+ default?: true | undefined;
42
+ }>, z.ZodObject<{
43
+ default: z.ZodDefault<z.ZodLiteral<true>>;
44
+ exit: z.ZodDefault<z.ZodLiteral<false>>;
45
+ target: z.ZodString;
46
+ }, "strip", z.ZodTypeAny, {
47
+ default: true;
48
+ exit: false;
49
+ target: string;
50
+ }, {
51
+ target: string;
52
+ default?: true | undefined;
53
+ exit?: false | undefined;
54
+ }>]>, import("./node.ts").Output, string | {
55
+ exit: true;
56
+ default?: true | undefined;
57
+ } | {
58
+ target: string;
59
+ default?: true | undefined;
60
+ exit?: false | undefined;
61
+ }>, "many">>, import("./node.ts").Output[], (string | {
62
+ exit: true;
63
+ default?: true | undefined;
64
+ } | {
65
+ target: string;
66
+ default?: true | undefined;
67
+ exit?: false | undefined;
68
+ })[] | undefined>;
69
+ inputSchema: z.ZodDefault<z.ZodType<import("json-schema").JSONSchema7, z.ZodTypeDef, import("json-schema").JSONSchema7>>;
70
+ metaSchema: z.ZodDefault<z.ZodType<import("json-schema").JSONSchema7, z.ZodTypeDef, import("json-schema").JSONSchema7>>;
71
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
72
+ }, "strip", z.ZodTypeAny, {
73
+ type: "entry";
74
+ id: "__entry__";
75
+ output: import("./node.ts").Output[];
76
+ inputSchema: import("json-schema").JSONSchema7;
77
+ metaSchema: import("json-schema").JSONSchema7;
78
+ meta?: Record<string, any> | undefined;
79
+ }, {
80
+ type: "entry";
81
+ id?: "__entry__" | undefined;
82
+ output?: (string | {
83
+ exit: true;
84
+ default?: true | undefined;
85
+ } | {
86
+ target: string;
87
+ default?: true | undefined;
88
+ exit?: false | undefined;
89
+ })[] | undefined;
90
+ inputSchema?: import("json-schema").JSONSchema7 | undefined;
91
+ metaSchema?: import("json-schema").JSONSchema7 | undefined;
92
+ meta?: Record<string, any> | undefined;
93
+ }>, z.ZodObject<{
94
+ type: z.ZodLiteral<"service">;
95
+ output: z.ZodEffects<z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
96
+ schema: z.ZodOptional<z.ZodNullable<z.ZodType<import("json-schema").JSONSchema7, z.ZodTypeDef, import("json-schema").JSONSchema7>>>;
97
+ }, "strip", z.ZodTypeAny, {
98
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
99
+ }, {
100
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
101
+ }>, z.ZodUnion<[z.ZodObject<{
102
+ default: z.ZodDefault<z.ZodLiteral<false>>;
103
+ name: z.ZodString;
104
+ }, "strip", z.ZodTypeAny, {
105
+ default: false;
106
+ name: string;
107
+ }, {
108
+ name: string;
109
+ default?: false | undefined;
110
+ }>, z.ZodObject<{
111
+ default: z.ZodDefault<z.ZodLiteral<true>>;
112
+ }, "strip", z.ZodTypeAny, {
113
+ default: true;
114
+ }, {
115
+ default?: true | undefined;
116
+ }>]>>, z.ZodUnion<[z.ZodObject<{
117
+ exit: z.ZodDefault<z.ZodLiteral<false>>;
118
+ target: z.ZodString;
119
+ }, "strip", z.ZodTypeAny, {
120
+ exit: false;
121
+ target: string;
122
+ }, {
123
+ target: string;
124
+ exit?: false | undefined;
125
+ }>, z.ZodObject<{
126
+ exit: z.ZodLiteral<true>;
127
+ }, "strip", z.ZodTypeAny, {
128
+ exit: true;
129
+ }, {
130
+ exit: true;
131
+ }>]>>]>, import("./node.ts").Output, string | (({
132
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
133
+ } & ({
134
+ name: string;
135
+ default?: false | undefined;
136
+ } | {
137
+ default?: true | undefined;
138
+ })) & ({
139
+ target: string;
140
+ exit?: false | undefined;
141
+ } | {
142
+ exit: true;
143
+ }))>, "many">>, import("./node.ts").Output[], (string | (({
144
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
145
+ } & ({
146
+ name: string;
147
+ default?: false | undefined;
148
+ } | {
149
+ default?: true | undefined;
150
+ })) & ({
151
+ target: string;
152
+ exit?: false | undefined;
153
+ } | {
154
+ exit: true;
155
+ })))[] | undefined>;
156
+ inputSchema: z.ZodDefault<z.ZodUnion<[z.ZodIntersection<z.ZodObject<{
157
+ type: z.ZodLiteral<"object">;
158
+ }, "strip", z.ZodTypeAny, {
159
+ type: "object";
160
+ }, {
161
+ type: "object";
162
+ }>, z.ZodType<import("json-schema").JSONSchema7, z.ZodTypeDef, import("json-schema").JSONSchema7>>, z.ZodObject<{
163
+ type: z.ZodLiteral<"null">;
164
+ }, "strip", z.ZodTypeAny, {
165
+ type: "null";
166
+ }, {
167
+ type: "null";
168
+ }>]>>;
169
+ id: z.ZodDefault<z.ZodString>;
170
+ name: z.ZodString;
171
+ version: z.ZodString;
172
+ configuration: z.ZodOptional<z.ZodAny>;
173
+ configurationSchema: z.ZodDefault<z.ZodType<import("json-schema").JSONSchema7, z.ZodTypeDef, import("json-schema").JSONSchema7>>;
174
+ alias: z.ZodOptional<z.ZodString>;
175
+ ttl: z.ZodOptional<z.ZodNumber>;
176
+ retry: z.ZodOptional<z.ZodNumber>;
177
+ retryDelay: z.ZodOptional<z.ZodNumber>;
178
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
179
+ }, "strip", z.ZodTypeAny, {
180
+ type: "service";
181
+ id: string;
182
+ name: string;
183
+ output: import("./node.ts").Output[];
184
+ inputSchema: ({
185
+ type: "object";
186
+ } & import("json-schema").JSONSchema7) | {
187
+ type: "null";
188
+ };
189
+ version: string;
190
+ configurationSchema: import("json-schema").JSONSchema7;
191
+ meta?: Record<string, any> | undefined;
192
+ configuration?: any;
193
+ alias?: string | undefined;
194
+ ttl?: number | undefined;
195
+ retry?: number | undefined;
196
+ retryDelay?: number | undefined;
197
+ }, {
198
+ type: "service";
199
+ name: string;
200
+ version: string;
201
+ id?: string | undefined;
202
+ output?: (string | (({
203
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
204
+ } & ({
205
+ name: string;
206
+ default?: false | undefined;
207
+ } | {
208
+ default?: true | undefined;
209
+ })) & ({
210
+ target: string;
211
+ exit?: false | undefined;
212
+ } | {
213
+ exit: true;
214
+ })))[] | undefined;
215
+ inputSchema?: ({
216
+ type: "object";
217
+ } & import("json-schema").JSONSchema7) | {
218
+ type: "null";
219
+ } | undefined;
220
+ meta?: Record<string, any> | undefined;
221
+ configuration?: any;
222
+ configurationSchema?: import("json-schema").JSONSchema7 | undefined;
223
+ alias?: string | undefined;
224
+ ttl?: number | undefined;
225
+ retry?: number | undefined;
226
+ retryDelay?: number | undefined;
227
+ }>, z.ZodObject<{
228
+ type: z.ZodLiteral<"catch">;
229
+ output: z.ZodEffects<z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
230
+ schema: z.ZodOptional<z.ZodNullable<z.ZodType<import("json-schema").JSONSchema7, z.ZodTypeDef, import("json-schema").JSONSchema7>>>;
231
+ }, "strip", z.ZodTypeAny, {
232
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
233
+ }, {
234
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
235
+ }>, z.ZodUnion<[z.ZodObject<{
236
+ default: z.ZodDefault<z.ZodLiteral<false>>;
237
+ name: z.ZodString;
238
+ }, "strip", z.ZodTypeAny, {
239
+ default: false;
240
+ name: string;
241
+ }, {
242
+ name: string;
243
+ default?: false | undefined;
244
+ }>, z.ZodObject<{
245
+ default: z.ZodDefault<z.ZodLiteral<true>>;
246
+ }, "strip", z.ZodTypeAny, {
247
+ default: true;
248
+ }, {
249
+ default?: true | undefined;
250
+ }>]>>, z.ZodUnion<[z.ZodObject<{
251
+ exit: z.ZodDefault<z.ZodLiteral<false>>;
252
+ target: z.ZodString;
253
+ }, "strip", z.ZodTypeAny, {
254
+ exit: false;
255
+ target: string;
256
+ }, {
257
+ target: string;
258
+ exit?: false | undefined;
259
+ }>, z.ZodObject<{
260
+ exit: z.ZodLiteral<true>;
261
+ }, "strip", z.ZodTypeAny, {
262
+ exit: true;
263
+ }, {
264
+ exit: true;
265
+ }>]>>]>, import("./node.ts").Output, string | (({
266
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
267
+ } & ({
268
+ name: string;
269
+ default?: false | undefined;
270
+ } | {
271
+ default?: true | undefined;
272
+ })) & ({
273
+ target: string;
274
+ exit?: false | undefined;
275
+ } | {
276
+ exit: true;
277
+ }))>, "many">>, import("./node.ts").Output[], (string | (({
278
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
279
+ } & ({
280
+ name: string;
281
+ default?: false | undefined;
282
+ } | {
283
+ default?: true | undefined;
284
+ })) & ({
285
+ target: string;
286
+ exit?: false | undefined;
287
+ } | {
288
+ exit: true;
289
+ })))[] | undefined>;
290
+ id: z.ZodDefault<z.ZodString>;
291
+ subject: z.ZodString;
292
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
293
+ }, "strip", z.ZodTypeAny, {
294
+ type: "catch";
295
+ id: string;
296
+ output: import("./node.ts").Output[];
297
+ subject: string;
298
+ meta?: Record<string, any> | undefined;
299
+ }, {
300
+ type: "catch";
301
+ subject: string;
302
+ id?: string | undefined;
303
+ output?: (string | (({
304
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
305
+ } & ({
306
+ name: string;
307
+ default?: false | undefined;
308
+ } | {
309
+ default?: true | undefined;
310
+ })) & ({
311
+ target: string;
312
+ exit?: false | undefined;
313
+ } | {
314
+ exit: true;
315
+ })))[] | undefined;
316
+ meta?: Record<string, any> | undefined;
317
+ }>, z.ZodObject<{
318
+ type: z.ZodLiteral<"logic">;
319
+ alias: z.ZodOptional<z.ZodString>;
320
+ output: z.ZodEffects<z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
321
+ schema: z.ZodOptional<z.ZodNullable<z.ZodType<import("json-schema").JSONSchema7, z.ZodTypeDef, import("json-schema").JSONSchema7>>>;
322
+ }, "strip", z.ZodTypeAny, {
323
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
324
+ }, {
325
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
326
+ }>, z.ZodUnion<[z.ZodObject<{
327
+ default: z.ZodDefault<z.ZodLiteral<false>>;
328
+ name: z.ZodString;
329
+ }, "strip", z.ZodTypeAny, {
330
+ default: false;
331
+ name: string;
332
+ }, {
333
+ name: string;
334
+ default?: false | undefined;
335
+ }>, z.ZodObject<{
336
+ default: z.ZodDefault<z.ZodLiteral<true>>;
337
+ }, "strip", z.ZodTypeAny, {
338
+ default: true;
339
+ }, {
340
+ default?: true | undefined;
341
+ }>]>>, z.ZodUnion<[z.ZodObject<{
342
+ exit: z.ZodDefault<z.ZodLiteral<false>>;
343
+ target: z.ZodString;
344
+ }, "strip", z.ZodTypeAny, {
345
+ exit: false;
346
+ target: string;
347
+ }, {
348
+ target: string;
349
+ exit?: false | undefined;
350
+ }>, z.ZodObject<{
351
+ exit: z.ZodLiteral<true>;
352
+ }, "strip", z.ZodTypeAny, {
353
+ exit: true;
354
+ }, {
355
+ exit: true;
356
+ }>]>>]>, import("./node.ts").Output, string | (({
357
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
358
+ } & ({
359
+ name: string;
360
+ default?: false | undefined;
361
+ } | {
362
+ default?: true | undefined;
363
+ })) & ({
364
+ target: string;
365
+ exit?: false | undefined;
366
+ } | {
367
+ exit: true;
368
+ }))>, "many">>, import("./node.ts").Output[], (string | (({
369
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
370
+ } & ({
371
+ name: string;
372
+ default?: false | undefined;
373
+ } | {
374
+ default?: true | undefined;
375
+ })) & ({
376
+ target: string;
377
+ exit?: false | undefined;
378
+ } | {
379
+ exit: true;
380
+ })))[] | undefined>;
381
+ id: z.ZodDefault<z.ZodString>;
382
+ script: z.ZodString;
383
+ concurrency: z.ZodDefault<z.ZodBoolean>;
384
+ language: z.ZodDefault<z.ZodEnum<["javascript", "python", "typescript"]>>;
385
+ maxExecutionTime: z.ZodDefault<z.ZodNumber>;
386
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
387
+ }, "strip", z.ZodTypeAny, {
388
+ type: "logic";
389
+ id: string;
390
+ output: import("./node.ts").Output[];
391
+ script: string;
392
+ concurrency: boolean;
393
+ language: "javascript" | "python" | "typescript";
394
+ maxExecutionTime: number;
395
+ meta?: Record<string, any> | undefined;
396
+ alias?: string | undefined;
397
+ }, {
398
+ type: "logic";
399
+ script: string;
400
+ id?: string | undefined;
401
+ output?: (string | (({
402
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
403
+ } & ({
404
+ name: string;
405
+ default?: false | undefined;
406
+ } | {
407
+ default?: true | undefined;
408
+ })) & ({
409
+ target: string;
410
+ exit?: false | undefined;
411
+ } | {
412
+ exit: true;
413
+ })))[] | undefined;
414
+ meta?: Record<string, any> | undefined;
415
+ alias?: string | undefined;
416
+ concurrency?: boolean | undefined;
417
+ language?: "javascript" | "python" | "typescript" | undefined;
418
+ maxExecutionTime?: number | undefined;
419
+ }>, z.ZodObject<{
420
+ id: z.ZodDefault<z.ZodString>;
421
+ type: z.ZodLiteral<"or">;
422
+ alias: z.ZodOptional<z.ZodString>;
423
+ output: z.ZodEffects<z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
424
+ schema: z.ZodOptional<z.ZodNullable<z.ZodType<import("json-schema").JSONSchema7, z.ZodTypeDef, import("json-schema").JSONSchema7>>>;
425
+ }, "strip", z.ZodTypeAny, {
426
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
427
+ }, {
428
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
429
+ }>, z.ZodUnion<[z.ZodObject<{
430
+ default: z.ZodDefault<z.ZodLiteral<false>>;
431
+ name: z.ZodString;
432
+ }, "strip", z.ZodTypeAny, {
433
+ default: false;
434
+ name: string;
435
+ }, {
436
+ name: string;
437
+ default?: false | undefined;
438
+ }>, z.ZodObject<{
439
+ default: z.ZodDefault<z.ZodLiteral<true>>;
440
+ }, "strip", z.ZodTypeAny, {
441
+ default: true;
442
+ }, {
443
+ default?: true | undefined;
444
+ }>]>>, z.ZodUnion<[z.ZodObject<{
445
+ exit: z.ZodDefault<z.ZodLiteral<false>>;
446
+ target: z.ZodString;
447
+ }, "strip", z.ZodTypeAny, {
448
+ exit: false;
449
+ target: string;
450
+ }, {
451
+ target: string;
452
+ exit?: false | undefined;
453
+ }>, z.ZodObject<{
454
+ exit: z.ZodLiteral<true>;
455
+ }, "strip", z.ZodTypeAny, {
456
+ exit: true;
457
+ }, {
458
+ exit: true;
459
+ }>]>>]>, import("./node.ts").Output, string | (({
460
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
461
+ } & ({
462
+ name: string;
463
+ default?: false | undefined;
464
+ } | {
465
+ default?: true | undefined;
466
+ })) & ({
467
+ target: string;
468
+ exit?: false | undefined;
469
+ } | {
470
+ exit: true;
471
+ }))>, "many">>, import("./node.ts").Output[], (string | (({
472
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
473
+ } & ({
474
+ name: string;
475
+ default?: false | undefined;
476
+ } | {
477
+ default?: true | undefined;
478
+ })) & ({
479
+ target: string;
480
+ exit?: false | undefined;
481
+ } | {
482
+ exit: true;
483
+ })))[] | undefined>;
484
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
485
+ }, "strip", z.ZodTypeAny, {
486
+ type: "or";
487
+ id: string;
488
+ output: import("./node.ts").Output[];
489
+ meta?: Record<string, any> | undefined;
490
+ alias?: string | undefined;
491
+ }, {
492
+ type: "or";
493
+ id?: string | undefined;
494
+ output?: (string | (({
495
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
496
+ } & ({
497
+ name: string;
498
+ default?: false | undefined;
499
+ } | {
500
+ default?: true | undefined;
501
+ })) & ({
502
+ target: string;
503
+ exit?: false | undefined;
504
+ } | {
505
+ exit: true;
506
+ })))[] | undefined;
507
+ meta?: Record<string, any> | undefined;
508
+ alias?: string | undefined;
509
+ }>]>, "many">, ({
510
+ type: "entry";
511
+ id: "__entry__";
512
+ output: import("./node.ts").Output[];
513
+ inputSchema: import("json-schema").JSONSchema7;
514
+ metaSchema: import("json-schema").JSONSchema7;
515
+ meta?: Record<string, any> | undefined;
516
+ } | {
517
+ type: "service";
518
+ id: string;
519
+ name: string;
520
+ output: import("./node.ts").Output[];
521
+ inputSchema: ({
522
+ type: "object";
523
+ } & import("json-schema").JSONSchema7) | {
524
+ type: "null";
525
+ };
526
+ version: string;
527
+ configurationSchema: import("json-schema").JSONSchema7;
528
+ meta?: Record<string, any> | undefined;
529
+ configuration?: any;
530
+ alias?: string | undefined;
531
+ ttl?: number | undefined;
532
+ retry?: number | undefined;
533
+ retryDelay?: number | undefined;
534
+ } | {
535
+ type: "catch";
536
+ id: string;
537
+ output: import("./node.ts").Output[];
538
+ subject: string;
539
+ meta?: Record<string, any> | undefined;
540
+ } | {
541
+ type: "logic";
542
+ id: string;
543
+ output: import("./node.ts").Output[];
544
+ script: string;
545
+ concurrency: boolean;
546
+ language: "javascript" | "python" | "typescript";
547
+ maxExecutionTime: number;
548
+ meta?: Record<string, any> | undefined;
549
+ alias?: string | undefined;
550
+ } | {
551
+ type: "or";
552
+ id: string;
553
+ output: import("./node.ts").Output[];
554
+ meta?: Record<string, any> | undefined;
555
+ alias?: string | undefined;
556
+ })[], ({
557
+ type: "entry";
558
+ id?: "__entry__" | undefined;
559
+ output?: (string | {
560
+ exit: true;
561
+ default?: true | undefined;
562
+ } | {
563
+ target: string;
564
+ default?: true | undefined;
565
+ exit?: false | undefined;
566
+ })[] | undefined;
567
+ inputSchema?: import("json-schema").JSONSchema7 | undefined;
568
+ metaSchema?: import("json-schema").JSONSchema7 | undefined;
569
+ meta?: Record<string, any> | undefined;
570
+ } | {
571
+ type: "service";
572
+ name: string;
573
+ version: string;
574
+ id?: string | undefined;
575
+ output?: (string | (({
576
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
577
+ } & ({
578
+ name: string;
579
+ default?: false | undefined;
580
+ } | {
581
+ default?: true | undefined;
582
+ })) & ({
583
+ target: string;
584
+ exit?: false | undefined;
585
+ } | {
586
+ exit: true;
587
+ })))[] | undefined;
588
+ inputSchema?: ({
589
+ type: "object";
590
+ } & import("json-schema").JSONSchema7) | {
591
+ type: "null";
592
+ } | undefined;
593
+ meta?: Record<string, any> | undefined;
594
+ configuration?: any;
595
+ configurationSchema?: import("json-schema").JSONSchema7 | undefined;
596
+ alias?: string | undefined;
597
+ ttl?: number | undefined;
598
+ retry?: number | undefined;
599
+ retryDelay?: number | undefined;
600
+ } | {
601
+ type: "catch";
602
+ subject: string;
603
+ id?: string | undefined;
604
+ output?: (string | (({
605
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
606
+ } & ({
607
+ name: string;
608
+ default?: false | undefined;
609
+ } | {
610
+ default?: true | undefined;
611
+ })) & ({
612
+ target: string;
613
+ exit?: false | undefined;
614
+ } | {
615
+ exit: true;
616
+ })))[] | undefined;
617
+ meta?: Record<string, any> | undefined;
618
+ } | {
619
+ type: "logic";
620
+ script: string;
621
+ id?: string | undefined;
622
+ output?: (string | (({
623
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
624
+ } & ({
625
+ name: string;
626
+ default?: false | undefined;
627
+ } | {
628
+ default?: true | undefined;
629
+ })) & ({
630
+ target: string;
631
+ exit?: false | undefined;
632
+ } | {
633
+ exit: true;
634
+ })))[] | undefined;
635
+ meta?: Record<string, any> | undefined;
636
+ alias?: string | undefined;
637
+ concurrency?: boolean | undefined;
638
+ language?: "javascript" | "python" | "typescript" | undefined;
639
+ maxExecutionTime?: number | undefined;
640
+ } | {
641
+ type: "or";
642
+ id?: string | undefined;
643
+ output?: (string | (({
644
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
645
+ } & ({
646
+ name: string;
647
+ default?: false | undefined;
648
+ } | {
649
+ default?: true | undefined;
650
+ })) & ({
651
+ target: string;
652
+ exit?: false | undefined;
653
+ } | {
654
+ exit: true;
655
+ })))[] | undefined;
656
+ meta?: Record<string, any> | undefined;
657
+ alias?: string | undefined;
658
+ })[]>, ({
659
+ type: "entry";
660
+ id: "__entry__";
661
+ output: import("./node.ts").Output[];
662
+ inputSchema: import("json-schema").JSONSchema7;
663
+ metaSchema: import("json-schema").JSONSchema7;
664
+ meta?: Record<string, any> | undefined;
665
+ } | {
666
+ type: "service";
667
+ id: string;
668
+ name: string;
669
+ output: import("./node.ts").Output[];
670
+ inputSchema: ({
671
+ type: "object";
672
+ } & import("json-schema").JSONSchema7) | {
673
+ type: "null";
674
+ };
675
+ version: string;
676
+ configurationSchema: import("json-schema").JSONSchema7;
677
+ meta?: Record<string, any> | undefined;
678
+ configuration?: any;
679
+ alias?: string | undefined;
680
+ ttl?: number | undefined;
681
+ retry?: number | undefined;
682
+ retryDelay?: number | undefined;
683
+ } | {
684
+ type: "catch";
685
+ id: string;
686
+ output: import("./node.ts").Output[];
687
+ subject: string;
688
+ meta?: Record<string, any> | undefined;
689
+ } | {
690
+ type: "logic";
691
+ id: string;
692
+ output: import("./node.ts").Output[];
693
+ script: string;
694
+ concurrency: boolean;
695
+ language: "javascript" | "python" | "typescript";
696
+ maxExecutionTime: number;
697
+ meta?: Record<string, any> | undefined;
698
+ alias?: string | undefined;
699
+ } | {
700
+ type: "or";
701
+ id: string;
702
+ output: import("./node.ts").Output[];
703
+ meta?: Record<string, any> | undefined;
704
+ alias?: string | undefined;
705
+ })[], ({
706
+ type: "entry";
707
+ id?: "__entry__" | undefined;
708
+ output?: (string | {
709
+ exit: true;
710
+ default?: true | undefined;
711
+ } | {
712
+ target: string;
713
+ default?: true | undefined;
714
+ exit?: false | undefined;
715
+ })[] | undefined;
716
+ inputSchema?: import("json-schema").JSONSchema7 | undefined;
717
+ metaSchema?: import("json-schema").JSONSchema7 | undefined;
718
+ meta?: Record<string, any> | undefined;
719
+ } | {
720
+ type: "service";
721
+ name: string;
722
+ version: string;
723
+ id?: string | undefined;
724
+ output?: (string | (({
725
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
726
+ } & ({
727
+ name: string;
728
+ default?: false | undefined;
729
+ } | {
730
+ default?: true | undefined;
731
+ })) & ({
732
+ target: string;
733
+ exit?: false | undefined;
734
+ } | {
735
+ exit: true;
736
+ })))[] | undefined;
737
+ inputSchema?: ({
738
+ type: "object";
739
+ } & import("json-schema").JSONSchema7) | {
740
+ type: "null";
741
+ } | undefined;
742
+ meta?: Record<string, any> | undefined;
743
+ configuration?: any;
744
+ configurationSchema?: import("json-schema").JSONSchema7 | undefined;
745
+ alias?: string | undefined;
746
+ ttl?: number | undefined;
747
+ retry?: number | undefined;
748
+ retryDelay?: number | undefined;
749
+ } | {
750
+ type: "catch";
751
+ subject: string;
752
+ id?: string | undefined;
753
+ output?: (string | (({
754
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
755
+ } & ({
756
+ name: string;
757
+ default?: false | undefined;
758
+ } | {
759
+ default?: true | undefined;
760
+ })) & ({
761
+ target: string;
762
+ exit?: false | undefined;
763
+ } | {
764
+ exit: true;
765
+ })))[] | undefined;
766
+ meta?: Record<string, any> | undefined;
767
+ } | {
768
+ type: "logic";
769
+ script: string;
770
+ id?: string | undefined;
771
+ output?: (string | (({
772
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
773
+ } & ({
774
+ name: string;
775
+ default?: false | undefined;
776
+ } | {
777
+ default?: true | undefined;
778
+ })) & ({
779
+ target: string;
780
+ exit?: false | undefined;
781
+ } | {
782
+ exit: true;
783
+ })))[] | undefined;
784
+ meta?: Record<string, any> | undefined;
785
+ alias?: string | undefined;
786
+ concurrency?: boolean | undefined;
787
+ language?: "javascript" | "python" | "typescript" | undefined;
788
+ maxExecutionTime?: number | undefined;
789
+ } | {
790
+ type: "or";
791
+ id?: string | undefined;
792
+ output?: (string | (({
793
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
794
+ } & ({
795
+ name: string;
796
+ default?: false | undefined;
797
+ } | {
798
+ default?: true | undefined;
799
+ })) & ({
800
+ target: string;
801
+ exit?: false | undefined;
802
+ } | {
803
+ exit: true;
804
+ })))[] | undefined;
805
+ meta?: Record<string, any> | undefined;
806
+ alias?: string | undefined;
807
+ })[]>;
808
+ input: z.ZodAny;
809
+ meta: z.ZodAny;
810
+ options: z.ZodObject<{
811
+ maxExecutions: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
812
+ uploadUrl: z.ZodOptional<z.ZodString>;
813
+ streamUrl: z.ZodOptional<z.ZodString>;
814
+ }, "strip", z.ZodTypeAny, {
815
+ maxExecutions: number;
816
+ uploadUrl?: string | undefined;
817
+ streamUrl?: string | undefined;
818
+ }, {
819
+ maxExecutions?: number | undefined;
820
+ uploadUrl?: string | undefined;
821
+ streamUrl?: string | undefined;
822
+ }>;
823
+ }, "strip", z.ZodTypeAny, {
824
+ options: {
825
+ maxExecutions: number;
826
+ uploadUrl?: string | undefined;
827
+ streamUrl?: string | undefined;
828
+ };
829
+ type: "CREATE_NODES";
830
+ nodes: ({
831
+ type: "entry";
832
+ id: "__entry__";
833
+ output: import("./node.ts").Output[];
834
+ inputSchema: import("json-schema").JSONSchema7;
835
+ metaSchema: import("json-schema").JSONSchema7;
836
+ meta?: Record<string, any> | undefined;
837
+ } | {
838
+ type: "service";
839
+ id: string;
840
+ name: string;
841
+ output: import("./node.ts").Output[];
842
+ inputSchema: ({
843
+ type: "object";
844
+ } & import("json-schema").JSONSchema7) | {
845
+ type: "null";
846
+ };
847
+ version: string;
848
+ configurationSchema: import("json-schema").JSONSchema7;
849
+ meta?: Record<string, any> | undefined;
850
+ configuration?: any;
851
+ alias?: string | undefined;
852
+ ttl?: number | undefined;
853
+ retry?: number | undefined;
854
+ retryDelay?: number | undefined;
855
+ } | {
856
+ type: "catch";
857
+ id: string;
858
+ output: import("./node.ts").Output[];
859
+ subject: string;
860
+ meta?: Record<string, any> | undefined;
861
+ } | {
862
+ type: "logic";
863
+ id: string;
864
+ output: import("./node.ts").Output[];
865
+ script: string;
866
+ concurrency: boolean;
867
+ language: "javascript" | "python" | "typescript";
868
+ maxExecutionTime: number;
869
+ meta?: Record<string, any> | undefined;
870
+ alias?: string | undefined;
871
+ } | {
872
+ type: "or";
873
+ id: string;
874
+ output: import("./node.ts").Output[];
875
+ meta?: Record<string, any> | undefined;
876
+ alias?: string | undefined;
877
+ })[];
878
+ meta?: any;
879
+ input?: any;
880
+ }, {
881
+ options: {
882
+ maxExecutions?: number | undefined;
883
+ uploadUrl?: string | undefined;
884
+ streamUrl?: string | undefined;
885
+ };
886
+ type: "CREATE_NODES";
887
+ nodes: ({
888
+ type: "entry";
889
+ id?: "__entry__" | undefined;
890
+ output?: (string | {
891
+ exit: true;
892
+ default?: true | undefined;
893
+ } | {
894
+ target: string;
895
+ default?: true | undefined;
896
+ exit?: false | undefined;
897
+ })[] | undefined;
898
+ inputSchema?: import("json-schema").JSONSchema7 | undefined;
899
+ metaSchema?: import("json-schema").JSONSchema7 | undefined;
900
+ meta?: Record<string, any> | undefined;
901
+ } | {
902
+ type: "service";
903
+ name: string;
904
+ version: string;
905
+ id?: string | undefined;
906
+ output?: (string | (({
907
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
908
+ } & ({
909
+ name: string;
910
+ default?: false | undefined;
911
+ } | {
912
+ default?: true | undefined;
913
+ })) & ({
914
+ target: string;
915
+ exit?: false | undefined;
916
+ } | {
917
+ exit: true;
918
+ })))[] | undefined;
919
+ inputSchema?: ({
920
+ type: "object";
921
+ } & import("json-schema").JSONSchema7) | {
922
+ type: "null";
923
+ } | undefined;
924
+ meta?: Record<string, any> | undefined;
925
+ configuration?: any;
926
+ configurationSchema?: import("json-schema").JSONSchema7 | undefined;
927
+ alias?: string | undefined;
928
+ ttl?: number | undefined;
929
+ retry?: number | undefined;
930
+ retryDelay?: number | undefined;
931
+ } | {
932
+ type: "catch";
933
+ subject: string;
934
+ id?: string | undefined;
935
+ output?: (string | (({
936
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
937
+ } & ({
938
+ name: string;
939
+ default?: false | undefined;
940
+ } | {
941
+ default?: true | undefined;
942
+ })) & ({
943
+ target: string;
944
+ exit?: false | undefined;
945
+ } | {
946
+ exit: true;
947
+ })))[] | undefined;
948
+ meta?: Record<string, any> | undefined;
949
+ } | {
950
+ type: "logic";
951
+ script: string;
952
+ id?: string | undefined;
953
+ output?: (string | (({
954
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
955
+ } & ({
956
+ name: string;
957
+ default?: false | undefined;
958
+ } | {
959
+ default?: true | undefined;
960
+ })) & ({
961
+ target: string;
962
+ exit?: false | undefined;
963
+ } | {
964
+ exit: true;
965
+ })))[] | undefined;
966
+ meta?: Record<string, any> | undefined;
967
+ alias?: string | undefined;
968
+ concurrency?: boolean | undefined;
969
+ language?: "javascript" | "python" | "typescript" | undefined;
970
+ maxExecutionTime?: number | undefined;
971
+ } | {
972
+ type: "or";
973
+ id?: string | undefined;
974
+ output?: (string | (({
975
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
976
+ } & ({
977
+ name: string;
978
+ default?: false | undefined;
979
+ } | {
980
+ default?: true | undefined;
981
+ })) & ({
982
+ target: string;
983
+ exit?: false | undefined;
984
+ } | {
985
+ exit: true;
986
+ })))[] | undefined;
987
+ meta?: Record<string, any> | undefined;
988
+ alias?: string | undefined;
989
+ })[];
990
+ meta?: any;
991
+ input?: any;
992
+ }>;
993
+ export declare const commandSchema: z.ZodUnion<[z.ZodObject<{
994
+ type: z.ZodLiteral<"ABORT">;
995
+ reason: z.ZodOptional<z.ZodString>;
996
+ }, "strip", z.ZodTypeAny, {
997
+ type: "ABORT";
998
+ reason?: string | undefined;
999
+ }, {
1000
+ type: "ABORT";
1001
+ reason?: string | undefined;
1002
+ }>, z.ZodObject<{
1003
+ type: z.ZodLiteral<"CREATE_NODES">;
1004
+ nodes: z.ZodEffects<z.ZodEffects<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1005
+ type: z.ZodLiteral<"entry">;
1006
+ id: z.ZodDefault<z.ZodLiteral<"__entry__">>;
1007
+ output: z.ZodEffects<z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodObject<{
1008
+ default: z.ZodDefault<z.ZodLiteral<true>>;
1009
+ exit: z.ZodLiteral<true>;
1010
+ }, "strip", z.ZodTypeAny, {
1011
+ default: true;
1012
+ exit: true;
1013
+ }, {
1014
+ exit: true;
1015
+ default?: true | undefined;
1016
+ }>, z.ZodObject<{
1017
+ default: z.ZodDefault<z.ZodLiteral<true>>;
1018
+ exit: z.ZodDefault<z.ZodLiteral<false>>;
1019
+ target: z.ZodString;
1020
+ }, "strip", z.ZodTypeAny, {
1021
+ default: true;
1022
+ exit: false;
1023
+ target: string;
1024
+ }, {
1025
+ target: string;
1026
+ default?: true | undefined;
1027
+ exit?: false | undefined;
1028
+ }>]>, import("./node.ts").Output, string | {
1029
+ exit: true;
1030
+ default?: true | undefined;
1031
+ } | {
1032
+ target: string;
1033
+ default?: true | undefined;
1034
+ exit?: false | undefined;
1035
+ }>, "many">>, import("./node.ts").Output[], (string | {
1036
+ exit: true;
1037
+ default?: true | undefined;
1038
+ } | {
1039
+ target: string;
1040
+ default?: true | undefined;
1041
+ exit?: false | undefined;
1042
+ })[] | undefined>;
1043
+ inputSchema: z.ZodDefault<z.ZodType<import("json-schema").JSONSchema7, z.ZodTypeDef, import("json-schema").JSONSchema7>>;
1044
+ metaSchema: z.ZodDefault<z.ZodType<import("json-schema").JSONSchema7, z.ZodTypeDef, import("json-schema").JSONSchema7>>;
1045
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1046
+ }, "strip", z.ZodTypeAny, {
1047
+ type: "entry";
1048
+ id: "__entry__";
1049
+ output: import("./node.ts").Output[];
1050
+ inputSchema: import("json-schema").JSONSchema7;
1051
+ metaSchema: import("json-schema").JSONSchema7;
1052
+ meta?: Record<string, any> | undefined;
1053
+ }, {
1054
+ type: "entry";
1055
+ id?: "__entry__" | undefined;
1056
+ output?: (string | {
1057
+ exit: true;
1058
+ default?: true | undefined;
1059
+ } | {
1060
+ target: string;
1061
+ default?: true | undefined;
1062
+ exit?: false | undefined;
1063
+ })[] | undefined;
1064
+ inputSchema?: import("json-schema").JSONSchema7 | undefined;
1065
+ metaSchema?: import("json-schema").JSONSchema7 | undefined;
1066
+ meta?: Record<string, any> | undefined;
1067
+ }>, z.ZodObject<{
1068
+ type: z.ZodLiteral<"service">;
1069
+ output: z.ZodEffects<z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
1070
+ schema: z.ZodOptional<z.ZodNullable<z.ZodType<import("json-schema").JSONSchema7, z.ZodTypeDef, import("json-schema").JSONSchema7>>>;
1071
+ }, "strip", z.ZodTypeAny, {
1072
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
1073
+ }, {
1074
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
1075
+ }>, z.ZodUnion<[z.ZodObject<{
1076
+ default: z.ZodDefault<z.ZodLiteral<false>>;
1077
+ name: z.ZodString;
1078
+ }, "strip", z.ZodTypeAny, {
1079
+ default: false;
1080
+ name: string;
1081
+ }, {
1082
+ name: string;
1083
+ default?: false | undefined;
1084
+ }>, z.ZodObject<{
1085
+ default: z.ZodDefault<z.ZodLiteral<true>>;
1086
+ }, "strip", z.ZodTypeAny, {
1087
+ default: true;
1088
+ }, {
1089
+ default?: true | undefined;
1090
+ }>]>>, z.ZodUnion<[z.ZodObject<{
1091
+ exit: z.ZodDefault<z.ZodLiteral<false>>;
1092
+ target: z.ZodString;
1093
+ }, "strip", z.ZodTypeAny, {
1094
+ exit: false;
1095
+ target: string;
1096
+ }, {
1097
+ target: string;
1098
+ exit?: false | undefined;
1099
+ }>, z.ZodObject<{
1100
+ exit: z.ZodLiteral<true>;
1101
+ }, "strip", z.ZodTypeAny, {
1102
+ exit: true;
1103
+ }, {
1104
+ exit: true;
1105
+ }>]>>]>, import("./node.ts").Output, string | (({
1106
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
1107
+ } & ({
1108
+ name: string;
1109
+ default?: false | undefined;
1110
+ } | {
1111
+ default?: true | undefined;
1112
+ })) & ({
1113
+ target: string;
1114
+ exit?: false | undefined;
1115
+ } | {
1116
+ exit: true;
1117
+ }))>, "many">>, import("./node.ts").Output[], (string | (({
1118
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
1119
+ } & ({
1120
+ name: string;
1121
+ default?: false | undefined;
1122
+ } | {
1123
+ default?: true | undefined;
1124
+ })) & ({
1125
+ target: string;
1126
+ exit?: false | undefined;
1127
+ } | {
1128
+ exit: true;
1129
+ })))[] | undefined>;
1130
+ inputSchema: z.ZodDefault<z.ZodUnion<[z.ZodIntersection<z.ZodObject<{
1131
+ type: z.ZodLiteral<"object">;
1132
+ }, "strip", z.ZodTypeAny, {
1133
+ type: "object";
1134
+ }, {
1135
+ type: "object";
1136
+ }>, z.ZodType<import("json-schema").JSONSchema7, z.ZodTypeDef, import("json-schema").JSONSchema7>>, z.ZodObject<{
1137
+ type: z.ZodLiteral<"null">;
1138
+ }, "strip", z.ZodTypeAny, {
1139
+ type: "null";
1140
+ }, {
1141
+ type: "null";
1142
+ }>]>>;
1143
+ id: z.ZodDefault<z.ZodString>;
1144
+ name: z.ZodString;
1145
+ version: z.ZodString;
1146
+ configuration: z.ZodOptional<z.ZodAny>;
1147
+ configurationSchema: z.ZodDefault<z.ZodType<import("json-schema").JSONSchema7, z.ZodTypeDef, import("json-schema").JSONSchema7>>;
1148
+ alias: z.ZodOptional<z.ZodString>;
1149
+ ttl: z.ZodOptional<z.ZodNumber>;
1150
+ retry: z.ZodOptional<z.ZodNumber>;
1151
+ retryDelay: z.ZodOptional<z.ZodNumber>;
1152
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1153
+ }, "strip", z.ZodTypeAny, {
1154
+ type: "service";
1155
+ id: string;
1156
+ name: string;
1157
+ output: import("./node.ts").Output[];
1158
+ inputSchema: ({
1159
+ type: "object";
1160
+ } & import("json-schema").JSONSchema7) | {
1161
+ type: "null";
1162
+ };
1163
+ version: string;
1164
+ configurationSchema: import("json-schema").JSONSchema7;
1165
+ meta?: Record<string, any> | undefined;
1166
+ configuration?: any;
1167
+ alias?: string | undefined;
1168
+ ttl?: number | undefined;
1169
+ retry?: number | undefined;
1170
+ retryDelay?: number | undefined;
1171
+ }, {
1172
+ type: "service";
1173
+ name: string;
1174
+ version: string;
1175
+ id?: string | undefined;
1176
+ output?: (string | (({
1177
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
1178
+ } & ({
1179
+ name: string;
1180
+ default?: false | undefined;
1181
+ } | {
1182
+ default?: true | undefined;
1183
+ })) & ({
1184
+ target: string;
1185
+ exit?: false | undefined;
1186
+ } | {
1187
+ exit: true;
1188
+ })))[] | undefined;
1189
+ inputSchema?: ({
1190
+ type: "object";
1191
+ } & import("json-schema").JSONSchema7) | {
1192
+ type: "null";
1193
+ } | undefined;
1194
+ meta?: Record<string, any> | undefined;
1195
+ configuration?: any;
1196
+ configurationSchema?: import("json-schema").JSONSchema7 | undefined;
1197
+ alias?: string | undefined;
1198
+ ttl?: number | undefined;
1199
+ retry?: number | undefined;
1200
+ retryDelay?: number | undefined;
1201
+ }>, z.ZodObject<{
1202
+ type: z.ZodLiteral<"catch">;
1203
+ output: z.ZodEffects<z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
1204
+ schema: z.ZodOptional<z.ZodNullable<z.ZodType<import("json-schema").JSONSchema7, z.ZodTypeDef, import("json-schema").JSONSchema7>>>;
1205
+ }, "strip", z.ZodTypeAny, {
1206
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
1207
+ }, {
1208
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
1209
+ }>, z.ZodUnion<[z.ZodObject<{
1210
+ default: z.ZodDefault<z.ZodLiteral<false>>;
1211
+ name: z.ZodString;
1212
+ }, "strip", z.ZodTypeAny, {
1213
+ default: false;
1214
+ name: string;
1215
+ }, {
1216
+ name: string;
1217
+ default?: false | undefined;
1218
+ }>, z.ZodObject<{
1219
+ default: z.ZodDefault<z.ZodLiteral<true>>;
1220
+ }, "strip", z.ZodTypeAny, {
1221
+ default: true;
1222
+ }, {
1223
+ default?: true | undefined;
1224
+ }>]>>, z.ZodUnion<[z.ZodObject<{
1225
+ exit: z.ZodDefault<z.ZodLiteral<false>>;
1226
+ target: z.ZodString;
1227
+ }, "strip", z.ZodTypeAny, {
1228
+ exit: false;
1229
+ target: string;
1230
+ }, {
1231
+ target: string;
1232
+ exit?: false | undefined;
1233
+ }>, z.ZodObject<{
1234
+ exit: z.ZodLiteral<true>;
1235
+ }, "strip", z.ZodTypeAny, {
1236
+ exit: true;
1237
+ }, {
1238
+ exit: true;
1239
+ }>]>>]>, import("./node.ts").Output, string | (({
1240
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
1241
+ } & ({
1242
+ name: string;
1243
+ default?: false | undefined;
1244
+ } | {
1245
+ default?: true | undefined;
1246
+ })) & ({
1247
+ target: string;
1248
+ exit?: false | undefined;
1249
+ } | {
1250
+ exit: true;
1251
+ }))>, "many">>, import("./node.ts").Output[], (string | (({
1252
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
1253
+ } & ({
1254
+ name: string;
1255
+ default?: false | undefined;
1256
+ } | {
1257
+ default?: true | undefined;
1258
+ })) & ({
1259
+ target: string;
1260
+ exit?: false | undefined;
1261
+ } | {
1262
+ exit: true;
1263
+ })))[] | undefined>;
1264
+ id: z.ZodDefault<z.ZodString>;
1265
+ subject: z.ZodString;
1266
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1267
+ }, "strip", z.ZodTypeAny, {
1268
+ type: "catch";
1269
+ id: string;
1270
+ output: import("./node.ts").Output[];
1271
+ subject: string;
1272
+ meta?: Record<string, any> | undefined;
1273
+ }, {
1274
+ type: "catch";
1275
+ subject: string;
1276
+ id?: string | undefined;
1277
+ output?: (string | (({
1278
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
1279
+ } & ({
1280
+ name: string;
1281
+ default?: false | undefined;
1282
+ } | {
1283
+ default?: true | undefined;
1284
+ })) & ({
1285
+ target: string;
1286
+ exit?: false | undefined;
1287
+ } | {
1288
+ exit: true;
1289
+ })))[] | undefined;
1290
+ meta?: Record<string, any> | undefined;
1291
+ }>, z.ZodObject<{
1292
+ type: z.ZodLiteral<"logic">;
1293
+ alias: z.ZodOptional<z.ZodString>;
1294
+ output: z.ZodEffects<z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
1295
+ schema: z.ZodOptional<z.ZodNullable<z.ZodType<import("json-schema").JSONSchema7, z.ZodTypeDef, import("json-schema").JSONSchema7>>>;
1296
+ }, "strip", z.ZodTypeAny, {
1297
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
1298
+ }, {
1299
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
1300
+ }>, z.ZodUnion<[z.ZodObject<{
1301
+ default: z.ZodDefault<z.ZodLiteral<false>>;
1302
+ name: z.ZodString;
1303
+ }, "strip", z.ZodTypeAny, {
1304
+ default: false;
1305
+ name: string;
1306
+ }, {
1307
+ name: string;
1308
+ default?: false | undefined;
1309
+ }>, z.ZodObject<{
1310
+ default: z.ZodDefault<z.ZodLiteral<true>>;
1311
+ }, "strip", z.ZodTypeAny, {
1312
+ default: true;
1313
+ }, {
1314
+ default?: true | undefined;
1315
+ }>]>>, z.ZodUnion<[z.ZodObject<{
1316
+ exit: z.ZodDefault<z.ZodLiteral<false>>;
1317
+ target: z.ZodString;
1318
+ }, "strip", z.ZodTypeAny, {
1319
+ exit: false;
1320
+ target: string;
1321
+ }, {
1322
+ target: string;
1323
+ exit?: false | undefined;
1324
+ }>, z.ZodObject<{
1325
+ exit: z.ZodLiteral<true>;
1326
+ }, "strip", z.ZodTypeAny, {
1327
+ exit: true;
1328
+ }, {
1329
+ exit: true;
1330
+ }>]>>]>, import("./node.ts").Output, string | (({
1331
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
1332
+ } & ({
1333
+ name: string;
1334
+ default?: false | undefined;
1335
+ } | {
1336
+ default?: true | undefined;
1337
+ })) & ({
1338
+ target: string;
1339
+ exit?: false | undefined;
1340
+ } | {
1341
+ exit: true;
1342
+ }))>, "many">>, import("./node.ts").Output[], (string | (({
1343
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
1344
+ } & ({
1345
+ name: string;
1346
+ default?: false | undefined;
1347
+ } | {
1348
+ default?: true | undefined;
1349
+ })) & ({
1350
+ target: string;
1351
+ exit?: false | undefined;
1352
+ } | {
1353
+ exit: true;
1354
+ })))[] | undefined>;
1355
+ id: z.ZodDefault<z.ZodString>;
1356
+ script: z.ZodString;
1357
+ concurrency: z.ZodDefault<z.ZodBoolean>;
1358
+ language: z.ZodDefault<z.ZodEnum<["javascript", "python", "typescript"]>>;
1359
+ maxExecutionTime: z.ZodDefault<z.ZodNumber>;
1360
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1361
+ }, "strip", z.ZodTypeAny, {
1362
+ type: "logic";
1363
+ id: string;
1364
+ output: import("./node.ts").Output[];
1365
+ script: string;
1366
+ concurrency: boolean;
1367
+ language: "javascript" | "python" | "typescript";
1368
+ maxExecutionTime: number;
1369
+ meta?: Record<string, any> | undefined;
1370
+ alias?: string | undefined;
1371
+ }, {
1372
+ type: "logic";
1373
+ script: string;
1374
+ id?: string | undefined;
1375
+ output?: (string | (({
1376
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
1377
+ } & ({
1378
+ name: string;
1379
+ default?: false | undefined;
1380
+ } | {
1381
+ default?: true | undefined;
1382
+ })) & ({
1383
+ target: string;
1384
+ exit?: false | undefined;
1385
+ } | {
1386
+ exit: true;
1387
+ })))[] | undefined;
1388
+ meta?: Record<string, any> | undefined;
1389
+ alias?: string | undefined;
1390
+ concurrency?: boolean | undefined;
1391
+ language?: "javascript" | "python" | "typescript" | undefined;
1392
+ maxExecutionTime?: number | undefined;
1393
+ }>, z.ZodObject<{
1394
+ id: z.ZodDefault<z.ZodString>;
1395
+ type: z.ZodLiteral<"or">;
1396
+ alias: z.ZodOptional<z.ZodString>;
1397
+ output: z.ZodEffects<z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
1398
+ schema: z.ZodOptional<z.ZodNullable<z.ZodType<import("json-schema").JSONSchema7, z.ZodTypeDef, import("json-schema").JSONSchema7>>>;
1399
+ }, "strip", z.ZodTypeAny, {
1400
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
1401
+ }, {
1402
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
1403
+ }>, z.ZodUnion<[z.ZodObject<{
1404
+ default: z.ZodDefault<z.ZodLiteral<false>>;
1405
+ name: z.ZodString;
1406
+ }, "strip", z.ZodTypeAny, {
1407
+ default: false;
1408
+ name: string;
1409
+ }, {
1410
+ name: string;
1411
+ default?: false | undefined;
1412
+ }>, z.ZodObject<{
1413
+ default: z.ZodDefault<z.ZodLiteral<true>>;
1414
+ }, "strip", z.ZodTypeAny, {
1415
+ default: true;
1416
+ }, {
1417
+ default?: true | undefined;
1418
+ }>]>>, z.ZodUnion<[z.ZodObject<{
1419
+ exit: z.ZodDefault<z.ZodLiteral<false>>;
1420
+ target: z.ZodString;
1421
+ }, "strip", z.ZodTypeAny, {
1422
+ exit: false;
1423
+ target: string;
1424
+ }, {
1425
+ target: string;
1426
+ exit?: false | undefined;
1427
+ }>, z.ZodObject<{
1428
+ exit: z.ZodLiteral<true>;
1429
+ }, "strip", z.ZodTypeAny, {
1430
+ exit: true;
1431
+ }, {
1432
+ exit: true;
1433
+ }>]>>]>, import("./node.ts").Output, string | (({
1434
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
1435
+ } & ({
1436
+ name: string;
1437
+ default?: false | undefined;
1438
+ } | {
1439
+ default?: true | undefined;
1440
+ })) & ({
1441
+ target: string;
1442
+ exit?: false | undefined;
1443
+ } | {
1444
+ exit: true;
1445
+ }))>, "many">>, import("./node.ts").Output[], (string | (({
1446
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
1447
+ } & ({
1448
+ name: string;
1449
+ default?: false | undefined;
1450
+ } | {
1451
+ default?: true | undefined;
1452
+ })) & ({
1453
+ target: string;
1454
+ exit?: false | undefined;
1455
+ } | {
1456
+ exit: true;
1457
+ })))[] | undefined>;
1458
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1459
+ }, "strip", z.ZodTypeAny, {
1460
+ type: "or";
1461
+ id: string;
1462
+ output: import("./node.ts").Output[];
1463
+ meta?: Record<string, any> | undefined;
1464
+ alias?: string | undefined;
1465
+ }, {
1466
+ type: "or";
1467
+ id?: string | undefined;
1468
+ output?: (string | (({
1469
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
1470
+ } & ({
1471
+ name: string;
1472
+ default?: false | undefined;
1473
+ } | {
1474
+ default?: true | undefined;
1475
+ })) & ({
1476
+ target: string;
1477
+ exit?: false | undefined;
1478
+ } | {
1479
+ exit: true;
1480
+ })))[] | undefined;
1481
+ meta?: Record<string, any> | undefined;
1482
+ alias?: string | undefined;
1483
+ }>]>, "many">, ({
1484
+ type: "entry";
1485
+ id: "__entry__";
1486
+ output: import("./node.ts").Output[];
1487
+ inputSchema: import("json-schema").JSONSchema7;
1488
+ metaSchema: import("json-schema").JSONSchema7;
1489
+ meta?: Record<string, any> | undefined;
1490
+ } | {
1491
+ type: "service";
1492
+ id: string;
1493
+ name: string;
1494
+ output: import("./node.ts").Output[];
1495
+ inputSchema: ({
1496
+ type: "object";
1497
+ } & import("json-schema").JSONSchema7) | {
1498
+ type: "null";
1499
+ };
1500
+ version: string;
1501
+ configurationSchema: import("json-schema").JSONSchema7;
1502
+ meta?: Record<string, any> | undefined;
1503
+ configuration?: any;
1504
+ alias?: string | undefined;
1505
+ ttl?: number | undefined;
1506
+ retry?: number | undefined;
1507
+ retryDelay?: number | undefined;
1508
+ } | {
1509
+ type: "catch";
1510
+ id: string;
1511
+ output: import("./node.ts").Output[];
1512
+ subject: string;
1513
+ meta?: Record<string, any> | undefined;
1514
+ } | {
1515
+ type: "logic";
1516
+ id: string;
1517
+ output: import("./node.ts").Output[];
1518
+ script: string;
1519
+ concurrency: boolean;
1520
+ language: "javascript" | "python" | "typescript";
1521
+ maxExecutionTime: number;
1522
+ meta?: Record<string, any> | undefined;
1523
+ alias?: string | undefined;
1524
+ } | {
1525
+ type: "or";
1526
+ id: string;
1527
+ output: import("./node.ts").Output[];
1528
+ meta?: Record<string, any> | undefined;
1529
+ alias?: string | undefined;
1530
+ })[], ({
1531
+ type: "entry";
1532
+ id?: "__entry__" | undefined;
1533
+ output?: (string | {
1534
+ exit: true;
1535
+ default?: true | undefined;
1536
+ } | {
1537
+ target: string;
1538
+ default?: true | undefined;
1539
+ exit?: false | undefined;
1540
+ })[] | undefined;
1541
+ inputSchema?: import("json-schema").JSONSchema7 | undefined;
1542
+ metaSchema?: import("json-schema").JSONSchema7 | undefined;
1543
+ meta?: Record<string, any> | undefined;
1544
+ } | {
1545
+ type: "service";
1546
+ name: string;
1547
+ version: string;
1548
+ id?: string | undefined;
1549
+ output?: (string | (({
1550
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
1551
+ } & ({
1552
+ name: string;
1553
+ default?: false | undefined;
1554
+ } | {
1555
+ default?: true | undefined;
1556
+ })) & ({
1557
+ target: string;
1558
+ exit?: false | undefined;
1559
+ } | {
1560
+ exit: true;
1561
+ })))[] | undefined;
1562
+ inputSchema?: ({
1563
+ type: "object";
1564
+ } & import("json-schema").JSONSchema7) | {
1565
+ type: "null";
1566
+ } | undefined;
1567
+ meta?: Record<string, any> | undefined;
1568
+ configuration?: any;
1569
+ configurationSchema?: import("json-schema").JSONSchema7 | undefined;
1570
+ alias?: string | undefined;
1571
+ ttl?: number | undefined;
1572
+ retry?: number | undefined;
1573
+ retryDelay?: number | undefined;
1574
+ } | {
1575
+ type: "catch";
1576
+ subject: string;
1577
+ id?: string | undefined;
1578
+ output?: (string | (({
1579
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
1580
+ } & ({
1581
+ name: string;
1582
+ default?: false | undefined;
1583
+ } | {
1584
+ default?: true | undefined;
1585
+ })) & ({
1586
+ target: string;
1587
+ exit?: false | undefined;
1588
+ } | {
1589
+ exit: true;
1590
+ })))[] | undefined;
1591
+ meta?: Record<string, any> | undefined;
1592
+ } | {
1593
+ type: "logic";
1594
+ script: string;
1595
+ id?: string | undefined;
1596
+ output?: (string | (({
1597
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
1598
+ } & ({
1599
+ name: string;
1600
+ default?: false | undefined;
1601
+ } | {
1602
+ default?: true | undefined;
1603
+ })) & ({
1604
+ target: string;
1605
+ exit?: false | undefined;
1606
+ } | {
1607
+ exit: true;
1608
+ })))[] | undefined;
1609
+ meta?: Record<string, any> | undefined;
1610
+ alias?: string | undefined;
1611
+ concurrency?: boolean | undefined;
1612
+ language?: "javascript" | "python" | "typescript" | undefined;
1613
+ maxExecutionTime?: number | undefined;
1614
+ } | {
1615
+ type: "or";
1616
+ id?: string | undefined;
1617
+ output?: (string | (({
1618
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
1619
+ } & ({
1620
+ name: string;
1621
+ default?: false | undefined;
1622
+ } | {
1623
+ default?: true | undefined;
1624
+ })) & ({
1625
+ target: string;
1626
+ exit?: false | undefined;
1627
+ } | {
1628
+ exit: true;
1629
+ })))[] | undefined;
1630
+ meta?: Record<string, any> | undefined;
1631
+ alias?: string | undefined;
1632
+ })[]>, ({
1633
+ type: "entry";
1634
+ id: "__entry__";
1635
+ output: import("./node.ts").Output[];
1636
+ inputSchema: import("json-schema").JSONSchema7;
1637
+ metaSchema: import("json-schema").JSONSchema7;
1638
+ meta?: Record<string, any> | undefined;
1639
+ } | {
1640
+ type: "service";
1641
+ id: string;
1642
+ name: string;
1643
+ output: import("./node.ts").Output[];
1644
+ inputSchema: ({
1645
+ type: "object";
1646
+ } & import("json-schema").JSONSchema7) | {
1647
+ type: "null";
1648
+ };
1649
+ version: string;
1650
+ configurationSchema: import("json-schema").JSONSchema7;
1651
+ meta?: Record<string, any> | undefined;
1652
+ configuration?: any;
1653
+ alias?: string | undefined;
1654
+ ttl?: number | undefined;
1655
+ retry?: number | undefined;
1656
+ retryDelay?: number | undefined;
1657
+ } | {
1658
+ type: "catch";
1659
+ id: string;
1660
+ output: import("./node.ts").Output[];
1661
+ subject: string;
1662
+ meta?: Record<string, any> | undefined;
1663
+ } | {
1664
+ type: "logic";
1665
+ id: string;
1666
+ output: import("./node.ts").Output[];
1667
+ script: string;
1668
+ concurrency: boolean;
1669
+ language: "javascript" | "python" | "typescript";
1670
+ maxExecutionTime: number;
1671
+ meta?: Record<string, any> | undefined;
1672
+ alias?: string | undefined;
1673
+ } | {
1674
+ type: "or";
1675
+ id: string;
1676
+ output: import("./node.ts").Output[];
1677
+ meta?: Record<string, any> | undefined;
1678
+ alias?: string | undefined;
1679
+ })[], ({
1680
+ type: "entry";
1681
+ id?: "__entry__" | undefined;
1682
+ output?: (string | {
1683
+ exit: true;
1684
+ default?: true | undefined;
1685
+ } | {
1686
+ target: string;
1687
+ default?: true | undefined;
1688
+ exit?: false | undefined;
1689
+ })[] | undefined;
1690
+ inputSchema?: import("json-schema").JSONSchema7 | undefined;
1691
+ metaSchema?: import("json-schema").JSONSchema7 | undefined;
1692
+ meta?: Record<string, any> | undefined;
1693
+ } | {
1694
+ type: "service";
1695
+ name: string;
1696
+ version: string;
1697
+ id?: string | undefined;
1698
+ output?: (string | (({
1699
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
1700
+ } & ({
1701
+ name: string;
1702
+ default?: false | undefined;
1703
+ } | {
1704
+ default?: true | undefined;
1705
+ })) & ({
1706
+ target: string;
1707
+ exit?: false | undefined;
1708
+ } | {
1709
+ exit: true;
1710
+ })))[] | undefined;
1711
+ inputSchema?: ({
1712
+ type: "object";
1713
+ } & import("json-schema").JSONSchema7) | {
1714
+ type: "null";
1715
+ } | undefined;
1716
+ meta?: Record<string, any> | undefined;
1717
+ configuration?: any;
1718
+ configurationSchema?: import("json-schema").JSONSchema7 | undefined;
1719
+ alias?: string | undefined;
1720
+ ttl?: number | undefined;
1721
+ retry?: number | undefined;
1722
+ retryDelay?: number | undefined;
1723
+ } | {
1724
+ type: "catch";
1725
+ subject: string;
1726
+ id?: string | undefined;
1727
+ output?: (string | (({
1728
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
1729
+ } & ({
1730
+ name: string;
1731
+ default?: false | undefined;
1732
+ } | {
1733
+ default?: true | undefined;
1734
+ })) & ({
1735
+ target: string;
1736
+ exit?: false | undefined;
1737
+ } | {
1738
+ exit: true;
1739
+ })))[] | undefined;
1740
+ meta?: Record<string, any> | undefined;
1741
+ } | {
1742
+ type: "logic";
1743
+ script: string;
1744
+ id?: string | undefined;
1745
+ output?: (string | (({
1746
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
1747
+ } & ({
1748
+ name: string;
1749
+ default?: false | undefined;
1750
+ } | {
1751
+ default?: true | undefined;
1752
+ })) & ({
1753
+ target: string;
1754
+ exit?: false | undefined;
1755
+ } | {
1756
+ exit: true;
1757
+ })))[] | undefined;
1758
+ meta?: Record<string, any> | undefined;
1759
+ alias?: string | undefined;
1760
+ concurrency?: boolean | undefined;
1761
+ language?: "javascript" | "python" | "typescript" | undefined;
1762
+ maxExecutionTime?: number | undefined;
1763
+ } | {
1764
+ type: "or";
1765
+ id?: string | undefined;
1766
+ output?: (string | (({
1767
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
1768
+ } & ({
1769
+ name: string;
1770
+ default?: false | undefined;
1771
+ } | {
1772
+ default?: true | undefined;
1773
+ })) & ({
1774
+ target: string;
1775
+ exit?: false | undefined;
1776
+ } | {
1777
+ exit: true;
1778
+ })))[] | undefined;
1779
+ meta?: Record<string, any> | undefined;
1780
+ alias?: string | undefined;
1781
+ })[]>;
1782
+ input: z.ZodAny;
1783
+ meta: z.ZodAny;
1784
+ options: z.ZodObject<{
1785
+ maxExecutions: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1786
+ uploadUrl: z.ZodOptional<z.ZodString>;
1787
+ streamUrl: z.ZodOptional<z.ZodString>;
1788
+ }, "strip", z.ZodTypeAny, {
1789
+ maxExecutions: number;
1790
+ uploadUrl?: string | undefined;
1791
+ streamUrl?: string | undefined;
1792
+ }, {
1793
+ maxExecutions?: number | undefined;
1794
+ uploadUrl?: string | undefined;
1795
+ streamUrl?: string | undefined;
1796
+ }>;
1797
+ }, "strip", z.ZodTypeAny, {
1798
+ options: {
1799
+ maxExecutions: number;
1800
+ uploadUrl?: string | undefined;
1801
+ streamUrl?: string | undefined;
1802
+ };
1803
+ type: "CREATE_NODES";
1804
+ nodes: ({
1805
+ type: "entry";
1806
+ id: "__entry__";
1807
+ output: import("./node.ts").Output[];
1808
+ inputSchema: import("json-schema").JSONSchema7;
1809
+ metaSchema: import("json-schema").JSONSchema7;
1810
+ meta?: Record<string, any> | undefined;
1811
+ } | {
1812
+ type: "service";
1813
+ id: string;
1814
+ name: string;
1815
+ output: import("./node.ts").Output[];
1816
+ inputSchema: ({
1817
+ type: "object";
1818
+ } & import("json-schema").JSONSchema7) | {
1819
+ type: "null";
1820
+ };
1821
+ version: string;
1822
+ configurationSchema: import("json-schema").JSONSchema7;
1823
+ meta?: Record<string, any> | undefined;
1824
+ configuration?: any;
1825
+ alias?: string | undefined;
1826
+ ttl?: number | undefined;
1827
+ retry?: number | undefined;
1828
+ retryDelay?: number | undefined;
1829
+ } | {
1830
+ type: "catch";
1831
+ id: string;
1832
+ output: import("./node.ts").Output[];
1833
+ subject: string;
1834
+ meta?: Record<string, any> | undefined;
1835
+ } | {
1836
+ type: "logic";
1837
+ id: string;
1838
+ output: import("./node.ts").Output[];
1839
+ script: string;
1840
+ concurrency: boolean;
1841
+ language: "javascript" | "python" | "typescript";
1842
+ maxExecutionTime: number;
1843
+ meta?: Record<string, any> | undefined;
1844
+ alias?: string | undefined;
1845
+ } | {
1846
+ type: "or";
1847
+ id: string;
1848
+ output: import("./node.ts").Output[];
1849
+ meta?: Record<string, any> | undefined;
1850
+ alias?: string | undefined;
1851
+ })[];
1852
+ meta?: any;
1853
+ input?: any;
1854
+ }, {
1855
+ options: {
1856
+ maxExecutions?: number | undefined;
1857
+ uploadUrl?: string | undefined;
1858
+ streamUrl?: string | undefined;
1859
+ };
1860
+ type: "CREATE_NODES";
1861
+ nodes: ({
1862
+ type: "entry";
1863
+ id?: "__entry__" | undefined;
1864
+ output?: (string | {
1865
+ exit: true;
1866
+ default?: true | undefined;
1867
+ } | {
1868
+ target: string;
1869
+ default?: true | undefined;
1870
+ exit?: false | undefined;
1871
+ })[] | undefined;
1872
+ inputSchema?: import("json-schema").JSONSchema7 | undefined;
1873
+ metaSchema?: import("json-schema").JSONSchema7 | undefined;
1874
+ meta?: Record<string, any> | undefined;
1875
+ } | {
1876
+ type: "service";
1877
+ name: string;
1878
+ version: string;
1879
+ id?: string | undefined;
1880
+ output?: (string | (({
1881
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
1882
+ } & ({
1883
+ name: string;
1884
+ default?: false | undefined;
1885
+ } | {
1886
+ default?: true | undefined;
1887
+ })) & ({
1888
+ target: string;
1889
+ exit?: false | undefined;
1890
+ } | {
1891
+ exit: true;
1892
+ })))[] | undefined;
1893
+ inputSchema?: ({
1894
+ type: "object";
1895
+ } & import("json-schema").JSONSchema7) | {
1896
+ type: "null";
1897
+ } | undefined;
1898
+ meta?: Record<string, any> | undefined;
1899
+ configuration?: any;
1900
+ configurationSchema?: import("json-schema").JSONSchema7 | undefined;
1901
+ alias?: string | undefined;
1902
+ ttl?: number | undefined;
1903
+ retry?: number | undefined;
1904
+ retryDelay?: number | undefined;
1905
+ } | {
1906
+ type: "catch";
1907
+ subject: string;
1908
+ id?: string | undefined;
1909
+ output?: (string | (({
1910
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
1911
+ } & ({
1912
+ name: string;
1913
+ default?: false | undefined;
1914
+ } | {
1915
+ default?: true | undefined;
1916
+ })) & ({
1917
+ target: string;
1918
+ exit?: false | undefined;
1919
+ } | {
1920
+ exit: true;
1921
+ })))[] | undefined;
1922
+ meta?: Record<string, any> | undefined;
1923
+ } | {
1924
+ type: "logic";
1925
+ script: string;
1926
+ id?: string | undefined;
1927
+ output?: (string | (({
1928
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
1929
+ } & ({
1930
+ name: string;
1931
+ default?: false | undefined;
1932
+ } | {
1933
+ default?: true | undefined;
1934
+ })) & ({
1935
+ target: string;
1936
+ exit?: false | undefined;
1937
+ } | {
1938
+ exit: true;
1939
+ })))[] | undefined;
1940
+ meta?: Record<string, any> | undefined;
1941
+ alias?: string | undefined;
1942
+ concurrency?: boolean | undefined;
1943
+ language?: "javascript" | "python" | "typescript" | undefined;
1944
+ maxExecutionTime?: number | undefined;
1945
+ } | {
1946
+ type: "or";
1947
+ id?: string | undefined;
1948
+ output?: (string | (({
1949
+ schema?: import("json-schema").JSONSchema7 | null | undefined;
1950
+ } & ({
1951
+ name: string;
1952
+ default?: false | undefined;
1953
+ } | {
1954
+ default?: true | undefined;
1955
+ })) & ({
1956
+ target: string;
1957
+ exit?: false | undefined;
1958
+ } | {
1959
+ exit: true;
1960
+ })))[] | undefined;
1961
+ meta?: Record<string, any> | undefined;
1962
+ alias?: string | undefined;
1963
+ })[];
1964
+ meta?: any;
1965
+ input?: any;
1966
+ }>]>;
1967
+ export type Command = z.infer<typeof commandSchema>;
1968
+ export type CommandInput = z.input<typeof commandSchema>;
1969
+ //# sourceMappingURL=command.d.ts.map