@requence/service 0.7.1 → 0.8.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 (87) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/README.md +15 -0
  3. package/build/{chunk-6w7td62p.js → chunk-8r349zge.js} +46 -3
  4. package/build/chunk-8r349zge.js.map +11 -0
  5. package/build/cli.js +17 -7
  6. package/build/cli.js.map +3 -3
  7. package/build/index.js +1261 -446
  8. package/build/index.js.map +28 -14
  9. package/build/types/helpers/src/index.d.ts +8 -2
  10. package/build/types/helpers/src/index.d.ts.map +1 -1
  11. package/build/types/helpers/src/jsonschema/validate.d.ts +1 -5
  12. package/build/types/helpers/src/jsonschema/validate.d.ts.map +1 -1
  13. package/build/types/helpers/src/jsonschema/zod.d.ts +11 -1
  14. package/build/types/helpers/src/jsonschema/zod.d.ts.map +1 -1
  15. package/build/types/helpers/src/protocol/NodeTree.d.ts +450 -144
  16. package/build/types/helpers/src/protocol/NodeTree.d.ts.map +1 -1
  17. package/build/types/helpers/src/protocol/command.d.ts +364 -142
  18. package/build/types/helpers/src/protocol/command.d.ts.map +1 -1
  19. package/build/types/helpers/src/protocol/configurationScript.d.ts +10 -0
  20. package/build/types/helpers/src/protocol/configurationScript.d.ts.map +1 -0
  21. package/build/types/helpers/src/protocol/helpers.d.ts.map +1 -1
  22. package/build/types/helpers/src/protocol/index.d.ts +4 -0
  23. package/build/types/helpers/src/protocol/index.d.ts.map +1 -1
  24. package/build/types/helpers/src/protocol/logicLanguages.d.ts +19 -0
  25. package/build/types/helpers/src/protocol/logicLanguages.d.ts.map +1 -0
  26. package/build/types/helpers/src/protocol/loopDetection.d.ts +23 -0
  27. package/build/types/helpers/src/protocol/loopDetection.d.ts.map +1 -0
  28. package/build/types/helpers/src/protocol/nodeType.d.ts +73 -27
  29. package/build/types/helpers/src/protocol/nodeType.d.ts.map +1 -1
  30. package/build/types/helpers/src/protocol/taskOptions.d.ts +4 -1
  31. package/build/types/helpers/src/protocol/taskOptions.d.ts.map +1 -1
  32. package/build/types/helpers/src/protocol/templateNodeTypes.d.ts +36 -20
  33. package/build/types/helpers/src/protocol/templateNodeTypes.d.ts.map +1 -1
  34. package/build/types/helpers/src/protocol/treeNodes.d.ts +476 -164
  35. package/build/types/helpers/src/protocol/treeNodes.d.ts.map +1 -1
  36. package/build/types/helpers/src/protocol/update.d.ts +22 -22
  37. package/build/types/helpers/src/protocol/validateTreeStructure.d.ts +22 -0
  38. package/build/types/helpers/src/protocol/validateTreeStructure.d.ts.map +1 -0
  39. package/build/types/helpers/src/utils/amqpHeartbeat.d.ts +3 -0
  40. package/build/types/helpers/src/utils/amqpHeartbeat.d.ts.map +1 -0
  41. package/build/types/helpers/src/utils/amqpPublishRetry.d.ts +5 -0
  42. package/build/types/helpers/src/utils/amqpPublishRetry.d.ts.map +1 -0
  43. package/build/types/helpers/src/utils/claimCheckObject.d.ts +40 -0
  44. package/build/types/helpers/src/utils/claimCheckObject.d.ts.map +1 -0
  45. package/build/types/helpers/src/utils/debounce.d.ts.map +1 -1
  46. package/build/types/helpers/src/{files → utils}/fileObject.d.ts.map +1 -1
  47. package/build/types/helpers/src/{files → utils}/isValidMimeType.d.ts.map +1 -1
  48. package/build/types/helpers/src/utils/mapData.d.ts +1 -1
  49. package/build/types/helpers/src/utils/mapData.d.ts.map +1 -1
  50. package/build/types/helpers/src/{files → utils}/streamObject.d.ts.map +1 -1
  51. package/build/types/helpers/src/utils/variableRef.d.ts +19 -0
  52. package/build/types/helpers/src/utils/variableRef.d.ts.map +1 -0
  53. package/build/types/helpers/src/utils/variableScriptPatterns.d.ts +125 -0
  54. package/build/types/helpers/src/utils/variableScriptPatterns.d.ts.map +1 -0
  55. package/build/types/service/src/boundary.d.ts +75 -0
  56. package/build/types/service/src/boundary.d.ts.map +1 -0
  57. package/build/types/service/src/createAmqpConnection.d.ts +21 -4
  58. package/build/types/service/src/createAmqpConnection.d.ts.map +1 -1
  59. package/build/types/service/src/errors.d.ts +31 -0
  60. package/build/types/service/src/errors.d.ts.map +1 -1
  61. package/build/types/service/src/helpers.d.ts +59 -56
  62. package/build/types/service/src/helpers.d.ts.map +1 -1
  63. package/build/types/service/src/index.d.ts +7 -1
  64. package/build/types/service/src/index.d.ts.map +1 -1
  65. package/build/types/service/src/transformer.d.ts +16 -0
  66. package/build/types/service/src/transformer.d.ts.map +1 -0
  67. package/package.json +6 -3
  68. package/build/chunk-6w7td62p.js.map +0 -10
  69. package/build/types/helpers/src/files/RequenceFile.d.ts +0 -40
  70. package/build/types/helpers/src/files/RequenceFile.d.ts.map +0 -1
  71. package/build/types/helpers/src/files/RequenceStream.d.ts +0 -32
  72. package/build/types/helpers/src/files/RequenceStream.d.ts.map +0 -1
  73. package/build/types/helpers/src/files/index.d.ts +0 -7
  74. package/build/types/helpers/src/files/index.d.ts.map +0 -1
  75. package/build/types/helpers/src/files/mapOutput.d.ts +0 -10
  76. package/build/types/helpers/src/files/mapOutput.d.ts.map +0 -1
  77. package/build/types/helpers/src/files/types.d.ts +0 -4
  78. package/build/types/helpers/src/files/types.d.ts.map +0 -1
  79. package/build/types/helpers/src/utils/createObjectProxy.d.ts +0 -2
  80. package/build/types/helpers/src/utils/createObjectProxy.d.ts.map +0 -1
  81. package/build/types/helpers/src/utils/resolveRequenceTypes.d.ts +0 -8
  82. package/build/types/helpers/src/utils/resolveRequenceTypes.d.ts.map +0 -1
  83. package/build/types/service/src/mapInput.d.ts +0 -2
  84. package/build/types/service/src/mapInput.d.ts.map +0 -1
  85. /package/build/types/helpers/src/{files → utils}/fileObject.d.ts +0 -0
  86. /package/build/types/helpers/src/{files → utils}/isValidMimeType.d.ts +0 -0
  87. /package/build/types/helpers/src/{files → utils}/streamObject.d.ts +0 -0
@@ -6,6 +6,10 @@ export declare const treeSchema: z.ZodObject<{
6
6
  alias: z.ZodOptional<z.ZodString>;
7
7
  inputSchema: z.ZodDefault<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
8
8
  }, z.core.$strict>, z.ZodObject<{
9
+ outputs: z.ZodArray<z.ZodObject<{
10
+ name: z.ZodNullable<z.ZodString>;
11
+ schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
12
+ }, z.core.$strip>>;
9
13
  id: z.ZodDefault<z.ZodUUID>;
10
14
  type: z.ZodLiteral<"service">;
11
15
  alias: z.ZodOptional<z.ZodString>;
@@ -15,23 +19,33 @@ export declare const treeSchema: z.ZodObject<{
15
19
  type: z.ZodLiteral<"null">;
16
20
  }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
17
21
  $ref: z.ZodString;
22
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodIntersection<z.ZodObject<{
23
+ oneOf: z.ZodArray<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
24
+ type: z.ZodLiteral<"object">;
25
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
26
+ type: z.ZodLiteral<"null">;
27
+ }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
28
+ $ref: z.ZodString;
29
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>]>>;
18
30
  }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>]>>;
19
31
  name: z.ZodString;
20
32
  version: z.ZodString;
21
33
  configuration: z.ZodOptional<z.ZodAny>;
22
34
  configurationSchema: z.ZodDefault<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
23
35
  ttl: z.ZodOptional<z.ZodNumber>;
24
- retry: z.ZodOptional<z.ZodNumber>;
36
+ retry: z.ZodDefault<z.ZodNumber>;
25
37
  retryDelay: z.ZodOptional<z.ZodNumber>;
26
38
  mode: z.ZodDefault<z.ZodEnum<{
27
- LINEAR: "LINEAR";
28
39
  CONTINUOUS: "CONTINUOUS";
40
+ LINEAR: "LINEAR";
29
41
  }>>;
42
+ privileged: z.ZodDefault<z.ZodBoolean>;
43
+ configurationServices: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
44
+ }, z.core.$strict>, z.ZodObject<{
30
45
  outputs: z.ZodArray<z.ZodObject<{
31
46
  name: z.ZodNullable<z.ZodString>;
32
47
  schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
33
48
  }, z.core.$strip>>;
34
- }, z.core.$strict>, z.ZodObject<{
35
49
  id: z.ZodDefault<z.ZodUUID>;
36
50
  type: z.ZodLiteral<"logic">;
37
51
  alias: z.ZodOptional<z.ZodString>;
@@ -43,15 +57,15 @@ export declare const treeSchema: z.ZodObject<{
43
57
  typescript: "typescript";
44
58
  }>>;
45
59
  maxExecutionTime: z.ZodDefault<z.ZodNumber>;
46
- outputs: z.ZodArray<z.ZodObject<{
47
- name: z.ZodNullable<z.ZodString>;
48
- schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
49
- }, z.core.$strip>>;
50
60
  }, z.core.$strict>, z.ZodObject<{
51
61
  id: z.ZodDefault<z.ZodUUID>;
52
62
  type: z.ZodLiteral<"or">;
53
63
  alias: z.ZodOptional<z.ZodString>;
54
64
  }, z.core.$strict>, z.ZodObject<{
65
+ outputs: z.ZodArray<z.ZodObject<{
66
+ name: z.ZodNullable<z.ZodString>;
67
+ schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
68
+ }, z.core.$strip>>;
55
69
  id: z.ZodDefault<z.ZodUUID>;
56
70
  type: z.ZodLiteral<"reference">;
57
71
  alias: z.ZodOptional<z.ZodString>;
@@ -63,11 +77,15 @@ export declare const treeSchema: z.ZodObject<{
63
77
  type: z.ZodLiteral<"null">;
64
78
  }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
65
79
  $ref: z.ZodString;
80
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodIntersection<z.ZodObject<{
81
+ oneOf: z.ZodArray<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
82
+ type: z.ZodLiteral<"object">;
83
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
84
+ type: z.ZodLiteral<"null">;
85
+ }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
86
+ $ref: z.ZodString;
87
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>]>>;
66
88
  }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>]>>;
67
- outputs: z.ZodArray<z.ZodObject<{
68
- name: z.ZodNullable<z.ZodString>;
69
- schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
70
- }, z.core.$strip>>;
71
89
  }, z.core.$strict>, z.ZodObject<{
72
90
  id: z.ZodDefault<z.ZodUUID>;
73
91
  type: z.ZodLiteral<"exit">;
@@ -94,6 +112,10 @@ declare const extendedTreeSchema: z.ZodObject<{
94
112
  alias: z.ZodOptional<z.ZodString>;
95
113
  inputSchema: z.ZodDefault<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
96
114
  }, z.core.$strict>, z.ZodObject<{
115
+ outputs: z.ZodArray<z.ZodObject<{
116
+ name: z.ZodNullable<z.ZodString>;
117
+ schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
118
+ }, z.core.$strip>>;
97
119
  id: z.ZodDefault<z.ZodUUID>;
98
120
  type: z.ZodLiteral<"service">;
99
121
  alias: z.ZodOptional<z.ZodString>;
@@ -103,23 +125,33 @@ declare const extendedTreeSchema: z.ZodObject<{
103
125
  type: z.ZodLiteral<"null">;
104
126
  }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
105
127
  $ref: z.ZodString;
128
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodIntersection<z.ZodObject<{
129
+ oneOf: z.ZodArray<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
130
+ type: z.ZodLiteral<"object">;
131
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
132
+ type: z.ZodLiteral<"null">;
133
+ }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
134
+ $ref: z.ZodString;
135
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>]>>;
106
136
  }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>]>>;
107
137
  name: z.ZodString;
108
138
  version: z.ZodString;
109
139
  configuration: z.ZodOptional<z.ZodAny>;
110
140
  configurationSchema: z.ZodDefault<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
111
141
  ttl: z.ZodOptional<z.ZodNumber>;
112
- retry: z.ZodOptional<z.ZodNumber>;
142
+ retry: z.ZodDefault<z.ZodNumber>;
113
143
  retryDelay: z.ZodOptional<z.ZodNumber>;
114
144
  mode: z.ZodDefault<z.ZodEnum<{
115
- LINEAR: "LINEAR";
116
145
  CONTINUOUS: "CONTINUOUS";
146
+ LINEAR: "LINEAR";
117
147
  }>>;
148
+ privileged: z.ZodDefault<z.ZodBoolean>;
149
+ configurationServices: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
150
+ }, z.core.$strict>, z.ZodObject<{
118
151
  outputs: z.ZodArray<z.ZodObject<{
119
152
  name: z.ZodNullable<z.ZodString>;
120
153
  schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
121
154
  }, z.core.$strip>>;
122
- }, z.core.$strict>, z.ZodObject<{
123
155
  id: z.ZodDefault<z.ZodUUID>;
124
156
  type: z.ZodLiteral<"logic">;
125
157
  alias: z.ZodOptional<z.ZodString>;
@@ -131,15 +163,15 @@ declare const extendedTreeSchema: z.ZodObject<{
131
163
  typescript: "typescript";
132
164
  }>>;
133
165
  maxExecutionTime: z.ZodDefault<z.ZodNumber>;
134
- outputs: z.ZodArray<z.ZodObject<{
135
- name: z.ZodNullable<z.ZodString>;
136
- schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
137
- }, z.core.$strip>>;
138
166
  }, z.core.$strict>, z.ZodObject<{
139
167
  id: z.ZodDefault<z.ZodUUID>;
140
168
  type: z.ZodLiteral<"or">;
141
169
  alias: z.ZodOptional<z.ZodString>;
142
170
  }, z.core.$strict>, z.ZodObject<{
171
+ outputs: z.ZodArray<z.ZodObject<{
172
+ name: z.ZodNullable<z.ZodString>;
173
+ schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
174
+ }, z.core.$strip>>;
143
175
  id: z.ZodDefault<z.ZodUUID>;
144
176
  type: z.ZodLiteral<"reference">;
145
177
  alias: z.ZodOptional<z.ZodString>;
@@ -151,11 +183,15 @@ declare const extendedTreeSchema: z.ZodObject<{
151
183
  type: z.ZodLiteral<"null">;
152
184
  }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
153
185
  $ref: z.ZodString;
186
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodIntersection<z.ZodObject<{
187
+ oneOf: z.ZodArray<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
188
+ type: z.ZodLiteral<"object">;
189
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
190
+ type: z.ZodLiteral<"null">;
191
+ }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
192
+ $ref: z.ZodString;
193
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>]>>;
154
194
  }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>]>>;
155
- outputs: z.ZodArray<z.ZodObject<{
156
- name: z.ZodNullable<z.ZodString>;
157
- schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
158
- }, z.core.$strip>>;
159
195
  }, z.core.$strict>, z.ZodObject<{
160
196
  id: z.ZodDefault<z.ZodUUID>;
161
197
  type: z.ZodLiteral<"exit">;
@@ -183,6 +219,10 @@ export declare const validatedTreeSchema: z.ZodPipe<z.ZodObject<{
183
219
  alias: z.ZodOptional<z.ZodString>;
184
220
  inputSchema: z.ZodDefault<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
185
221
  }, z.core.$strict>, z.ZodObject<{
222
+ outputs: z.ZodArray<z.ZodObject<{
223
+ name: z.ZodNullable<z.ZodString>;
224
+ schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
225
+ }, z.core.$strip>>;
186
226
  id: z.ZodDefault<z.ZodUUID>;
187
227
  type: z.ZodLiteral<"service">;
188
228
  alias: z.ZodOptional<z.ZodString>;
@@ -192,23 +232,33 @@ export declare const validatedTreeSchema: z.ZodPipe<z.ZodObject<{
192
232
  type: z.ZodLiteral<"null">;
193
233
  }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
194
234
  $ref: z.ZodString;
235
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodIntersection<z.ZodObject<{
236
+ oneOf: z.ZodArray<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
237
+ type: z.ZodLiteral<"object">;
238
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
239
+ type: z.ZodLiteral<"null">;
240
+ }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
241
+ $ref: z.ZodString;
242
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>]>>;
195
243
  }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>]>>;
196
244
  name: z.ZodString;
197
245
  version: z.ZodString;
198
246
  configuration: z.ZodOptional<z.ZodAny>;
199
247
  configurationSchema: z.ZodDefault<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
200
248
  ttl: z.ZodOptional<z.ZodNumber>;
201
- retry: z.ZodOptional<z.ZodNumber>;
249
+ retry: z.ZodDefault<z.ZodNumber>;
202
250
  retryDelay: z.ZodOptional<z.ZodNumber>;
203
251
  mode: z.ZodDefault<z.ZodEnum<{
204
- LINEAR: "LINEAR";
205
252
  CONTINUOUS: "CONTINUOUS";
253
+ LINEAR: "LINEAR";
206
254
  }>>;
255
+ privileged: z.ZodDefault<z.ZodBoolean>;
256
+ configurationServices: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
257
+ }, z.core.$strict>, z.ZodObject<{
207
258
  outputs: z.ZodArray<z.ZodObject<{
208
259
  name: z.ZodNullable<z.ZodString>;
209
260
  schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
210
261
  }, z.core.$strip>>;
211
- }, z.core.$strict>, z.ZodObject<{
212
262
  id: z.ZodDefault<z.ZodUUID>;
213
263
  type: z.ZodLiteral<"logic">;
214
264
  alias: z.ZodOptional<z.ZodString>;
@@ -220,15 +270,15 @@ export declare const validatedTreeSchema: z.ZodPipe<z.ZodObject<{
220
270
  typescript: "typescript";
221
271
  }>>;
222
272
  maxExecutionTime: z.ZodDefault<z.ZodNumber>;
223
- outputs: z.ZodArray<z.ZodObject<{
224
- name: z.ZodNullable<z.ZodString>;
225
- schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
226
- }, z.core.$strip>>;
227
273
  }, z.core.$strict>, z.ZodObject<{
228
274
  id: z.ZodDefault<z.ZodUUID>;
229
275
  type: z.ZodLiteral<"or">;
230
276
  alias: z.ZodOptional<z.ZodString>;
231
277
  }, z.core.$strict>, z.ZodObject<{
278
+ outputs: z.ZodArray<z.ZodObject<{
279
+ name: z.ZodNullable<z.ZodString>;
280
+ schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
281
+ }, z.core.$strip>>;
232
282
  id: z.ZodDefault<z.ZodUUID>;
233
283
  type: z.ZodLiteral<"reference">;
234
284
  alias: z.ZodOptional<z.ZodString>;
@@ -240,11 +290,15 @@ export declare const validatedTreeSchema: z.ZodPipe<z.ZodObject<{
240
290
  type: z.ZodLiteral<"null">;
241
291
  }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
242
292
  $ref: z.ZodString;
293
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodIntersection<z.ZodObject<{
294
+ oneOf: z.ZodArray<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
295
+ type: z.ZodLiteral<"object">;
296
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
297
+ type: z.ZodLiteral<"null">;
298
+ }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
299
+ $ref: z.ZodString;
300
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>]>>;
243
301
  }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>]>>;
244
- outputs: z.ZodArray<z.ZodObject<{
245
- name: z.ZodNullable<z.ZodString>;
246
- schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
247
- }, z.core.$strip>>;
248
302
  }, z.core.$strict>, z.ZodObject<{
249
303
  id: z.ZodDefault<z.ZodUUID>;
250
304
  type: z.ZodLiteral<"exit">;
@@ -267,64 +321,115 @@ export declare const validatedTreeSchema: z.ZodPipe<z.ZodObject<{
267
321
  nodes: ({
268
322
  id: string;
269
323
  type: "entry";
270
- inputSchema: import("json-schema").JSONSchema7;
271
324
  alias?: string | undefined;
325
+ inputSchema: import("json-schema").JSONSchema7;
272
326
  } | {
327
+ outputs: {
328
+ name: string | null;
329
+ schema: import("json-schema").JSONSchema7 | null;
330
+ }[];
273
331
  id: string;
274
332
  type: "service";
275
- inputSchema: ({
276
- type: "object";
277
- } & import("json-schema").JSONSchema7) | {
333
+ alias?: string | undefined;
334
+ inputSchema: {
278
335
  type: "null";
279
336
  } | ({
337
+ type: "object";
338
+ } & import("json-schema").JSONSchema7) | ({
280
339
  $ref: string;
340
+ } & import("json-schema").JSONSchema7) | ({
341
+ oneOf: ({
342
+ type: "null";
343
+ } | ({
344
+ type: "object";
345
+ } & import("json-schema").JSONSchema7) | ({
346
+ $ref: string;
347
+ } & import("json-schema").JSONSchema7))[];
281
348
  } & import("json-schema").JSONSchema7);
282
349
  name: string;
283
350
  version: string;
351
+ configuration?: any;
284
352
  configurationSchema: import("json-schema").JSONSchema7;
285
- mode: "LINEAR" | "CONTINUOUS";
353
+ ttl?: number | undefined;
354
+ retry: number;
355
+ retryDelay?: number | undefined;
356
+ mode: "CONTINUOUS" | "LINEAR";
357
+ privileged: boolean;
358
+ configurationServices?: {
359
+ outputs: {
360
+ name: string | null;
361
+ schema: import("json-schema").JSONSchema7 | null;
362
+ }[];
363
+ id: string;
364
+ type: "service";
365
+ alias?: string | undefined;
366
+ inputSchema: {
367
+ type: "null";
368
+ } | ({
369
+ type: "object";
370
+ } & import("json-schema").JSONSchema7) | ({
371
+ $ref: string;
372
+ } & import("json-schema").JSONSchema7) | ({
373
+ oneOf: ({
374
+ type: "null";
375
+ } | ({
376
+ type: "object";
377
+ } & import("json-schema").JSONSchema7) | ({
378
+ $ref: string;
379
+ } & import("json-schema").JSONSchema7))[];
380
+ } & import("json-schema").JSONSchema7);
381
+ name: string;
382
+ version: string;
383
+ configuration?: any;
384
+ configurationSchema: import("json-schema").JSONSchema7;
385
+ ttl?: number | undefined;
386
+ retry: number;
387
+ retryDelay?: number | undefined;
388
+ mode: "CONTINUOUS" | "LINEAR";
389
+ privileged: boolean;
390
+ configurationServices?: /*elided*/ any[] | undefined;
391
+ }[] | undefined;
392
+ } | {
286
393
  outputs: {
287
394
  name: string | null;
288
395
  schema: import("json-schema").JSONSchema7 | null;
289
396
  }[];
290
- alias?: string | undefined;
291
- configuration?: any;
292
- ttl?: number | undefined;
293
- retry?: number | undefined;
294
- retryDelay?: number | undefined;
295
- } | {
296
397
  id: string;
297
398
  type: "logic";
399
+ alias?: string | undefined;
298
400
  script: string;
299
401
  concurrency: boolean;
300
402
  language: "javascript" | "python" | "typescript";
301
403
  maxExecutionTime: number;
302
- outputs: {
303
- name: string | null;
304
- schema: import("json-schema").JSONSchema7 | null;
305
- }[];
306
- alias?: string | undefined;
307
404
  } | {
308
405
  id: string;
309
406
  type: "or";
310
407
  alias?: string | undefined;
311
408
  } | {
409
+ outputs: {
410
+ name: string | null;
411
+ schema: import("json-schema").JSONSchema7 | null;
412
+ }[];
312
413
  id: string;
313
414
  type: "reference";
415
+ alias?: string | undefined;
314
416
  reference: string;
315
417
  enabled: boolean;
316
- inputSchema: ({
317
- type: "object";
318
- } & import("json-schema").JSONSchema7) | {
418
+ inputSchema: {
319
419
  type: "null";
320
420
  } | ({
421
+ type: "object";
422
+ } & import("json-schema").JSONSchema7) | ({
321
423
  $ref: string;
424
+ } & import("json-schema").JSONSchema7) | ({
425
+ oneOf: ({
426
+ type: "null";
427
+ } | ({
428
+ type: "object";
429
+ } & import("json-schema").JSONSchema7) | ({
430
+ $ref: string;
431
+ } & import("json-schema").JSONSchema7))[];
322
432
  } & import("json-schema").JSONSchema7);
323
- outputs: {
324
- name: string | null;
325
- schema: import("json-schema").JSONSchema7 | null;
326
- }[];
327
- alias?: string | undefined;
328
433
  } | {
329
434
  id: string;
330
435
  type: "exit";
@@ -346,64 +451,115 @@ export declare const validatedTreeSchema: z.ZodPipe<z.ZodObject<{
346
451
  nodes: ({
347
452
  id: string;
348
453
  type: "entry";
349
- inputSchema: import("json-schema").JSONSchema7;
350
454
  alias?: string | undefined;
455
+ inputSchema: import("json-schema").JSONSchema7;
351
456
  } | {
457
+ outputs: {
458
+ name: string | null;
459
+ schema: import("json-schema").JSONSchema7 | null;
460
+ }[];
352
461
  id: string;
353
462
  type: "service";
354
- inputSchema: ({
355
- type: "object";
356
- } & import("json-schema").JSONSchema7) | {
463
+ alias?: string | undefined;
464
+ inputSchema: {
357
465
  type: "null";
358
466
  } | ({
467
+ type: "object";
468
+ } & import("json-schema").JSONSchema7) | ({
359
469
  $ref: string;
470
+ } & import("json-schema").JSONSchema7) | ({
471
+ oneOf: ({
472
+ type: "null";
473
+ } | ({
474
+ type: "object";
475
+ } & import("json-schema").JSONSchema7) | ({
476
+ $ref: string;
477
+ } & import("json-schema").JSONSchema7))[];
360
478
  } & import("json-schema").JSONSchema7);
361
479
  name: string;
362
480
  version: string;
481
+ configuration?: any;
363
482
  configurationSchema: import("json-schema").JSONSchema7;
364
- mode: "LINEAR" | "CONTINUOUS";
483
+ ttl?: number | undefined;
484
+ retry: number;
485
+ retryDelay?: number | undefined;
486
+ mode: "CONTINUOUS" | "LINEAR";
487
+ privileged: boolean;
488
+ configurationServices?: {
489
+ outputs: {
490
+ name: string | null;
491
+ schema: import("json-schema").JSONSchema7 | null;
492
+ }[];
493
+ id: string;
494
+ type: "service";
495
+ alias?: string | undefined;
496
+ inputSchema: {
497
+ type: "null";
498
+ } | ({
499
+ type: "object";
500
+ } & import("json-schema").JSONSchema7) | ({
501
+ $ref: string;
502
+ } & import("json-schema").JSONSchema7) | ({
503
+ oneOf: ({
504
+ type: "null";
505
+ } | ({
506
+ type: "object";
507
+ } & import("json-schema").JSONSchema7) | ({
508
+ $ref: string;
509
+ } & import("json-schema").JSONSchema7))[];
510
+ } & import("json-schema").JSONSchema7);
511
+ name: string;
512
+ version: string;
513
+ configuration?: any;
514
+ configurationSchema: import("json-schema").JSONSchema7;
515
+ ttl?: number | undefined;
516
+ retry: number;
517
+ retryDelay?: number | undefined;
518
+ mode: "CONTINUOUS" | "LINEAR";
519
+ privileged: boolean;
520
+ configurationServices?: any[] | undefined;
521
+ }[] | undefined;
522
+ } | {
365
523
  outputs: {
366
524
  name: string | null;
367
525
  schema: import("json-schema").JSONSchema7 | null;
368
526
  }[];
369
- alias?: string | undefined;
370
- configuration?: any;
371
- ttl?: number | undefined;
372
- retry?: number | undefined;
373
- retryDelay?: number | undefined;
374
- } | {
375
527
  id: string;
376
528
  type: "logic";
529
+ alias?: string | undefined;
377
530
  script: string;
378
531
  concurrency: boolean;
379
532
  language: "javascript" | "python" | "typescript";
380
533
  maxExecutionTime: number;
381
- outputs: {
382
- name: string | null;
383
- schema: import("json-schema").JSONSchema7 | null;
384
- }[];
385
- alias?: string | undefined;
386
534
  } | {
387
535
  id: string;
388
536
  type: "or";
389
537
  alias?: string | undefined;
390
538
  } | {
539
+ outputs: {
540
+ name: string | null;
541
+ schema: import("json-schema").JSONSchema7 | null;
542
+ }[];
391
543
  id: string;
392
544
  type: "reference";
545
+ alias?: string | undefined;
393
546
  reference: string;
394
547
  enabled: boolean;
395
- inputSchema: ({
396
- type: "object";
397
- } & import("json-schema").JSONSchema7) | {
548
+ inputSchema: {
398
549
  type: "null";
399
550
  } | ({
551
+ type: "object";
552
+ } & import("json-schema").JSONSchema7) | ({
400
553
  $ref: string;
554
+ } & import("json-schema").JSONSchema7) | ({
555
+ oneOf: ({
556
+ type: "null";
557
+ } | ({
558
+ type: "object";
559
+ } & import("json-schema").JSONSchema7) | ({
560
+ $ref: string;
561
+ } & import("json-schema").JSONSchema7))[];
401
562
  } & import("json-schema").JSONSchema7);
402
- outputs: {
403
- name: string | null;
404
- schema: import("json-schema").JSONSchema7 | null;
405
- }[];
406
- alias?: string | undefined;
407
563
  } | {
408
564
  id: string;
409
565
  type: "exit";
@@ -428,8 +584,8 @@ export declare const treeReferenceSchema: z.ZodObject<{
428
584
  options: z.ZodObject<{
429
585
  maxExecutions: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
430
586
  mode: z.ZodDefault<z.ZodEnum<{
431
- LINEAR: "LINEAR";
432
587
  CONTINUOUS: "CONTINUOUS";
588
+ LINEAR: "LINEAR";
433
589
  }>>;
434
590
  }, z.core.$strip>;
435
591
  tree: z.ZodObject<{
@@ -439,6 +595,10 @@ export declare const treeReferenceSchema: z.ZodObject<{
439
595
  alias: z.ZodOptional<z.ZodString>;
440
596
  inputSchema: z.ZodDefault<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
441
597
  }, z.core.$strict>, z.ZodObject<{
598
+ outputs: z.ZodArray<z.ZodObject<{
599
+ name: z.ZodNullable<z.ZodString>;
600
+ schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
601
+ }, z.core.$strip>>;
442
602
  id: z.ZodDefault<z.ZodUUID>;
443
603
  type: z.ZodLiteral<"service">;
444
604
  alias: z.ZodOptional<z.ZodString>;
@@ -448,23 +608,33 @@ export declare const treeReferenceSchema: z.ZodObject<{
448
608
  type: z.ZodLiteral<"null">;
449
609
  }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
450
610
  $ref: z.ZodString;
611
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodIntersection<z.ZodObject<{
612
+ oneOf: z.ZodArray<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
613
+ type: z.ZodLiteral<"object">;
614
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
615
+ type: z.ZodLiteral<"null">;
616
+ }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
617
+ $ref: z.ZodString;
618
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>]>>;
451
619
  }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>]>>;
452
620
  name: z.ZodString;
453
621
  version: z.ZodString;
454
622
  configuration: z.ZodOptional<z.ZodAny>;
455
623
  configurationSchema: z.ZodDefault<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
456
624
  ttl: z.ZodOptional<z.ZodNumber>;
457
- retry: z.ZodOptional<z.ZodNumber>;
625
+ retry: z.ZodDefault<z.ZodNumber>;
458
626
  retryDelay: z.ZodOptional<z.ZodNumber>;
459
627
  mode: z.ZodDefault<z.ZodEnum<{
460
- LINEAR: "LINEAR";
461
628
  CONTINUOUS: "CONTINUOUS";
629
+ LINEAR: "LINEAR";
462
630
  }>>;
631
+ privileged: z.ZodDefault<z.ZodBoolean>;
632
+ configurationServices: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
633
+ }, z.core.$strict>, z.ZodObject<{
463
634
  outputs: z.ZodArray<z.ZodObject<{
464
635
  name: z.ZodNullable<z.ZodString>;
465
636
  schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
466
637
  }, z.core.$strip>>;
467
- }, z.core.$strict>, z.ZodObject<{
468
638
  id: z.ZodDefault<z.ZodUUID>;
469
639
  type: z.ZodLiteral<"logic">;
470
640
  alias: z.ZodOptional<z.ZodString>;
@@ -476,15 +646,15 @@ export declare const treeReferenceSchema: z.ZodObject<{
476
646
  typescript: "typescript";
477
647
  }>>;
478
648
  maxExecutionTime: z.ZodDefault<z.ZodNumber>;
479
- outputs: z.ZodArray<z.ZodObject<{
480
- name: z.ZodNullable<z.ZodString>;
481
- schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
482
- }, z.core.$strip>>;
483
649
  }, z.core.$strict>, z.ZodObject<{
484
650
  id: z.ZodDefault<z.ZodUUID>;
485
651
  type: z.ZodLiteral<"or">;
486
652
  alias: z.ZodOptional<z.ZodString>;
487
653
  }, z.core.$strict>, z.ZodObject<{
654
+ outputs: z.ZodArray<z.ZodObject<{
655
+ name: z.ZodNullable<z.ZodString>;
656
+ schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
657
+ }, z.core.$strip>>;
488
658
  id: z.ZodDefault<z.ZodUUID>;
489
659
  type: z.ZodLiteral<"reference">;
490
660
  alias: z.ZodOptional<z.ZodString>;
@@ -496,11 +666,15 @@ export declare const treeReferenceSchema: z.ZodObject<{
496
666
  type: z.ZodLiteral<"null">;
497
667
  }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
498
668
  $ref: z.ZodString;
669
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodIntersection<z.ZodObject<{
670
+ oneOf: z.ZodArray<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
671
+ type: z.ZodLiteral<"object">;
672
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
673
+ type: z.ZodLiteral<"null">;
674
+ }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
675
+ $ref: z.ZodString;
676
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>]>>;
499
677
  }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>]>>;
500
- outputs: z.ZodArray<z.ZodObject<{
501
- name: z.ZodNullable<z.ZodString>;
502
- schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
503
- }, z.core.$strip>>;
504
678
  }, z.core.$strict>, z.ZodObject<{
505
679
  id: z.ZodDefault<z.ZodUUID>;
506
680
  type: z.ZodLiteral<"exit">;
@@ -529,6 +703,10 @@ export declare const treeListSchema: z.ZodObject<{
529
703
  alias: z.ZodOptional<z.ZodString>;
530
704
  inputSchema: z.ZodDefault<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
531
705
  }, z.core.$strict>, z.ZodObject<{
706
+ outputs: z.ZodArray<z.ZodObject<{
707
+ name: z.ZodNullable<z.ZodString>;
708
+ schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
709
+ }, z.core.$strip>>;
532
710
  id: z.ZodDefault<z.ZodUUID>;
533
711
  type: z.ZodLiteral<"service">;
534
712
  alias: z.ZodOptional<z.ZodString>;
@@ -538,23 +716,33 @@ export declare const treeListSchema: z.ZodObject<{
538
716
  type: z.ZodLiteral<"null">;
539
717
  }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
540
718
  $ref: z.ZodString;
719
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodIntersection<z.ZodObject<{
720
+ oneOf: z.ZodArray<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
721
+ type: z.ZodLiteral<"object">;
722
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
723
+ type: z.ZodLiteral<"null">;
724
+ }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
725
+ $ref: z.ZodString;
726
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>]>>;
541
727
  }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>]>>;
542
728
  name: z.ZodString;
543
729
  version: z.ZodString;
544
730
  configuration: z.ZodOptional<z.ZodAny>;
545
731
  configurationSchema: z.ZodDefault<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
546
732
  ttl: z.ZodOptional<z.ZodNumber>;
547
- retry: z.ZodOptional<z.ZodNumber>;
733
+ retry: z.ZodDefault<z.ZodNumber>;
548
734
  retryDelay: z.ZodOptional<z.ZodNumber>;
549
735
  mode: z.ZodDefault<z.ZodEnum<{
550
- LINEAR: "LINEAR";
551
736
  CONTINUOUS: "CONTINUOUS";
737
+ LINEAR: "LINEAR";
552
738
  }>>;
739
+ privileged: z.ZodDefault<z.ZodBoolean>;
740
+ configurationServices: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
741
+ }, z.core.$strict>, z.ZodObject<{
553
742
  outputs: z.ZodArray<z.ZodObject<{
554
743
  name: z.ZodNullable<z.ZodString>;
555
744
  schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
556
745
  }, z.core.$strip>>;
557
- }, z.core.$strict>, z.ZodObject<{
558
746
  id: z.ZodDefault<z.ZodUUID>;
559
747
  type: z.ZodLiteral<"logic">;
560
748
  alias: z.ZodOptional<z.ZodString>;
@@ -566,15 +754,15 @@ export declare const treeListSchema: z.ZodObject<{
566
754
  typescript: "typescript";
567
755
  }>>;
568
756
  maxExecutionTime: z.ZodDefault<z.ZodNumber>;
569
- outputs: z.ZodArray<z.ZodObject<{
570
- name: z.ZodNullable<z.ZodString>;
571
- schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
572
- }, z.core.$strip>>;
573
757
  }, z.core.$strict>, z.ZodObject<{
574
758
  id: z.ZodDefault<z.ZodUUID>;
575
759
  type: z.ZodLiteral<"or">;
576
760
  alias: z.ZodOptional<z.ZodString>;
577
761
  }, z.core.$strict>, z.ZodObject<{
762
+ outputs: z.ZodArray<z.ZodObject<{
763
+ name: z.ZodNullable<z.ZodString>;
764
+ schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
765
+ }, z.core.$strip>>;
578
766
  id: z.ZodDefault<z.ZodUUID>;
579
767
  type: z.ZodLiteral<"reference">;
580
768
  alias: z.ZodOptional<z.ZodString>;
@@ -586,11 +774,15 @@ export declare const treeListSchema: z.ZodObject<{
586
774
  type: z.ZodLiteral<"null">;
587
775
  }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
588
776
  $ref: z.ZodString;
777
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodIntersection<z.ZodObject<{
778
+ oneOf: z.ZodArray<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
779
+ type: z.ZodLiteral<"object">;
780
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
781
+ type: z.ZodLiteral<"null">;
782
+ }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
783
+ $ref: z.ZodString;
784
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>]>>;
589
785
  }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>]>>;
590
- outputs: z.ZodArray<z.ZodObject<{
591
- name: z.ZodNullable<z.ZodString>;
592
- schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
593
- }, z.core.$strip>>;
594
786
  }, z.core.$strict>, z.ZodObject<{
595
787
  id: z.ZodDefault<z.ZodUUID>;
596
788
  type: z.ZodLiteral<"exit">;
@@ -613,64 +805,115 @@ export declare const treeListSchema: z.ZodObject<{
613
805
  nodes: ({
614
806
  id: string;
615
807
  type: "entry";
616
- inputSchema: import("json-schema").JSONSchema7;
617
808
  alias?: string | undefined;
809
+ inputSchema: import("json-schema").JSONSchema7;
618
810
  } | {
811
+ outputs: {
812
+ name: string | null;
813
+ schema: import("json-schema").JSONSchema7 | null;
814
+ }[];
619
815
  id: string;
620
816
  type: "service";
621
- inputSchema: ({
622
- type: "object";
623
- } & import("json-schema").JSONSchema7) | {
817
+ alias?: string | undefined;
818
+ inputSchema: {
624
819
  type: "null";
625
820
  } | ({
821
+ type: "object";
822
+ } & import("json-schema").JSONSchema7) | ({
626
823
  $ref: string;
824
+ } & import("json-schema").JSONSchema7) | ({
825
+ oneOf: ({
826
+ type: "null";
827
+ } | ({
828
+ type: "object";
829
+ } & import("json-schema").JSONSchema7) | ({
830
+ $ref: string;
831
+ } & import("json-schema").JSONSchema7))[];
627
832
  } & import("json-schema").JSONSchema7);
628
833
  name: string;
629
834
  version: string;
835
+ configuration?: any;
630
836
  configurationSchema: import("json-schema").JSONSchema7;
631
- mode: "LINEAR" | "CONTINUOUS";
837
+ ttl?: number | undefined;
838
+ retry: number;
839
+ retryDelay?: number | undefined;
840
+ mode: "CONTINUOUS" | "LINEAR";
841
+ privileged: boolean;
842
+ configurationServices?: {
843
+ outputs: {
844
+ name: string | null;
845
+ schema: import("json-schema").JSONSchema7 | null;
846
+ }[];
847
+ id: string;
848
+ type: "service";
849
+ alias?: string | undefined;
850
+ inputSchema: {
851
+ type: "null";
852
+ } | ({
853
+ type: "object";
854
+ } & import("json-schema").JSONSchema7) | ({
855
+ $ref: string;
856
+ } & import("json-schema").JSONSchema7) | ({
857
+ oneOf: ({
858
+ type: "null";
859
+ } | ({
860
+ type: "object";
861
+ } & import("json-schema").JSONSchema7) | ({
862
+ $ref: string;
863
+ } & import("json-schema").JSONSchema7))[];
864
+ } & import("json-schema").JSONSchema7);
865
+ name: string;
866
+ version: string;
867
+ configuration?: any;
868
+ configurationSchema: import("json-schema").JSONSchema7;
869
+ ttl?: number | undefined;
870
+ retry: number;
871
+ retryDelay?: number | undefined;
872
+ mode: "CONTINUOUS" | "LINEAR";
873
+ privileged: boolean;
874
+ configurationServices?: /*elided*/ any[] | undefined;
875
+ }[] | undefined;
876
+ } | {
632
877
  outputs: {
633
878
  name: string | null;
634
879
  schema: import("json-schema").JSONSchema7 | null;
635
880
  }[];
636
- alias?: string | undefined;
637
- configuration?: any;
638
- ttl?: number | undefined;
639
- retry?: number | undefined;
640
- retryDelay?: number | undefined;
641
- } | {
642
881
  id: string;
643
882
  type: "logic";
883
+ alias?: string | undefined;
644
884
  script: string;
645
885
  concurrency: boolean;
646
886
  language: "javascript" | "python" | "typescript";
647
887
  maxExecutionTime: number;
648
- outputs: {
649
- name: string | null;
650
- schema: import("json-schema").JSONSchema7 | null;
651
- }[];
652
- alias?: string | undefined;
653
888
  } | {
654
889
  id: string;
655
890
  type: "or";
656
891
  alias?: string | undefined;
657
892
  } | {
893
+ outputs: {
894
+ name: string | null;
895
+ schema: import("json-schema").JSONSchema7 | null;
896
+ }[];
658
897
  id: string;
659
898
  type: "reference";
899
+ alias?: string | undefined;
660
900
  reference: string;
661
901
  enabled: boolean;
662
- inputSchema: ({
663
- type: "object";
664
- } & import("json-schema").JSONSchema7) | {
902
+ inputSchema: {
665
903
  type: "null";
666
904
  } | ({
905
+ type: "object";
906
+ } & import("json-schema").JSONSchema7) | ({
667
907
  $ref: string;
908
+ } & import("json-schema").JSONSchema7) | ({
909
+ oneOf: ({
910
+ type: "null";
911
+ } | ({
912
+ type: "object";
913
+ } & import("json-schema").JSONSchema7) | ({
914
+ $ref: string;
915
+ } & import("json-schema").JSONSchema7))[];
668
916
  } & import("json-schema").JSONSchema7);
669
- outputs: {
670
- name: string | null;
671
- schema: import("json-schema").JSONSchema7 | null;
672
- }[];
673
- alias?: string | undefined;
674
917
  } | {
675
918
  id: string;
676
919
  type: "exit";
@@ -692,64 +935,115 @@ export declare const treeListSchema: z.ZodObject<{
692
935
  nodes: ({
693
936
  id: string;
694
937
  type: "entry";
695
- inputSchema: import("json-schema").JSONSchema7;
696
938
  alias?: string | undefined;
939
+ inputSchema: import("json-schema").JSONSchema7;
697
940
  } | {
941
+ outputs: {
942
+ name: string | null;
943
+ schema: import("json-schema").JSONSchema7 | null;
944
+ }[];
698
945
  id: string;
699
946
  type: "service";
700
- inputSchema: ({
701
- type: "object";
702
- } & import("json-schema").JSONSchema7) | {
947
+ alias?: string | undefined;
948
+ inputSchema: {
703
949
  type: "null";
704
950
  } | ({
951
+ type: "object";
952
+ } & import("json-schema").JSONSchema7) | ({
705
953
  $ref: string;
954
+ } & import("json-schema").JSONSchema7) | ({
955
+ oneOf: ({
956
+ type: "null";
957
+ } | ({
958
+ type: "object";
959
+ } & import("json-schema").JSONSchema7) | ({
960
+ $ref: string;
961
+ } & import("json-schema").JSONSchema7))[];
706
962
  } & import("json-schema").JSONSchema7);
707
963
  name: string;
708
964
  version: string;
965
+ configuration?: any;
709
966
  configurationSchema: import("json-schema").JSONSchema7;
710
- mode: "LINEAR" | "CONTINUOUS";
967
+ ttl?: number | undefined;
968
+ retry: number;
969
+ retryDelay?: number | undefined;
970
+ mode: "CONTINUOUS" | "LINEAR";
971
+ privileged: boolean;
972
+ configurationServices?: {
973
+ outputs: {
974
+ name: string | null;
975
+ schema: import("json-schema").JSONSchema7 | null;
976
+ }[];
977
+ id: string;
978
+ type: "service";
979
+ alias?: string | undefined;
980
+ inputSchema: {
981
+ type: "null";
982
+ } | ({
983
+ type: "object";
984
+ } & import("json-schema").JSONSchema7) | ({
985
+ $ref: string;
986
+ } & import("json-schema").JSONSchema7) | ({
987
+ oneOf: ({
988
+ type: "null";
989
+ } | ({
990
+ type: "object";
991
+ } & import("json-schema").JSONSchema7) | ({
992
+ $ref: string;
993
+ } & import("json-schema").JSONSchema7))[];
994
+ } & import("json-schema").JSONSchema7);
995
+ name: string;
996
+ version: string;
997
+ configuration?: any;
998
+ configurationSchema: import("json-schema").JSONSchema7;
999
+ ttl?: number | undefined;
1000
+ retry: number;
1001
+ retryDelay?: number | undefined;
1002
+ mode: "CONTINUOUS" | "LINEAR";
1003
+ privileged: boolean;
1004
+ configurationServices?: any[] | undefined;
1005
+ }[] | undefined;
1006
+ } | {
711
1007
  outputs: {
712
1008
  name: string | null;
713
1009
  schema: import("json-schema").JSONSchema7 | null;
714
1010
  }[];
715
- alias?: string | undefined;
716
- configuration?: any;
717
- ttl?: number | undefined;
718
- retry?: number | undefined;
719
- retryDelay?: number | undefined;
720
- } | {
721
1011
  id: string;
722
1012
  type: "logic";
1013
+ alias?: string | undefined;
723
1014
  script: string;
724
1015
  concurrency: boolean;
725
1016
  language: "javascript" | "python" | "typescript";
726
1017
  maxExecutionTime: number;
727
- outputs: {
728
- name: string | null;
729
- schema: import("json-schema").JSONSchema7 | null;
730
- }[];
731
- alias?: string | undefined;
732
1018
  } | {
733
1019
  id: string;
734
1020
  type: "or";
735
1021
  alias?: string | undefined;
736
1022
  } | {
1023
+ outputs: {
1024
+ name: string | null;
1025
+ schema: import("json-schema").JSONSchema7 | null;
1026
+ }[];
737
1027
  id: string;
738
1028
  type: "reference";
1029
+ alias?: string | undefined;
739
1030
  reference: string;
740
1031
  enabled: boolean;
741
- inputSchema: ({
742
- type: "object";
743
- } & import("json-schema").JSONSchema7) | {
1032
+ inputSchema: {
744
1033
  type: "null";
745
1034
  } | ({
1035
+ type: "object";
1036
+ } & import("json-schema").JSONSchema7) | ({
746
1037
  $ref: string;
1038
+ } & import("json-schema").JSONSchema7) | ({
1039
+ oneOf: ({
1040
+ type: "null";
1041
+ } | ({
1042
+ type: "object";
1043
+ } & import("json-schema").JSONSchema7) | ({
1044
+ $ref: string;
1045
+ } & import("json-schema").JSONSchema7))[];
747
1046
  } & import("json-schema").JSONSchema7);
748
- outputs: {
749
- name: string | null;
750
- schema: import("json-schema").JSONSchema7 | null;
751
- }[];
752
- alias?: string | undefined;
753
1047
  } | {
754
1048
  id: string;
755
1049
  type: "exit";
@@ -774,8 +1068,8 @@ export declare const treeListSchema: z.ZodObject<{
774
1068
  options: z.ZodObject<{
775
1069
  maxExecutions: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
776
1070
  mode: z.ZodDefault<z.ZodEnum<{
777
- LINEAR: "LINEAR";
778
1071
  CONTINUOUS: "CONTINUOUS";
1072
+ LINEAR: "LINEAR";
779
1073
  }>>;
780
1074
  }, z.core.$strip>;
781
1075
  tree: z.ZodObject<{
@@ -785,6 +1079,10 @@ export declare const treeListSchema: z.ZodObject<{
785
1079
  alias: z.ZodOptional<z.ZodString>;
786
1080
  inputSchema: z.ZodDefault<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
787
1081
  }, z.core.$strict>, z.ZodObject<{
1082
+ outputs: z.ZodArray<z.ZodObject<{
1083
+ name: z.ZodNullable<z.ZodString>;
1084
+ schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
1085
+ }, z.core.$strip>>;
788
1086
  id: z.ZodDefault<z.ZodUUID>;
789
1087
  type: z.ZodLiteral<"service">;
790
1088
  alias: z.ZodOptional<z.ZodString>;
@@ -794,23 +1092,33 @@ export declare const treeListSchema: z.ZodObject<{
794
1092
  type: z.ZodLiteral<"null">;
795
1093
  }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
796
1094
  $ref: z.ZodString;
1095
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodIntersection<z.ZodObject<{
1096
+ oneOf: z.ZodArray<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
1097
+ type: z.ZodLiteral<"object">;
1098
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
1099
+ type: z.ZodLiteral<"null">;
1100
+ }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
1101
+ $ref: z.ZodString;
1102
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>]>>;
797
1103
  }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>]>>;
798
1104
  name: z.ZodString;
799
1105
  version: z.ZodString;
800
1106
  configuration: z.ZodOptional<z.ZodAny>;
801
1107
  configurationSchema: z.ZodDefault<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
802
1108
  ttl: z.ZodOptional<z.ZodNumber>;
803
- retry: z.ZodOptional<z.ZodNumber>;
1109
+ retry: z.ZodDefault<z.ZodNumber>;
804
1110
  retryDelay: z.ZodOptional<z.ZodNumber>;
805
1111
  mode: z.ZodDefault<z.ZodEnum<{
806
- LINEAR: "LINEAR";
807
1112
  CONTINUOUS: "CONTINUOUS";
1113
+ LINEAR: "LINEAR";
808
1114
  }>>;
1115
+ privileged: z.ZodDefault<z.ZodBoolean>;
1116
+ configurationServices: z.ZodOptional<z.ZodArray<z.ZodObject<any, z.core.$strict>>>;
1117
+ }, z.core.$strict>, z.ZodObject<{
809
1118
  outputs: z.ZodArray<z.ZodObject<{
810
1119
  name: z.ZodNullable<z.ZodString>;
811
1120
  schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
812
1121
  }, z.core.$strip>>;
813
- }, z.core.$strict>, z.ZodObject<{
814
1122
  id: z.ZodDefault<z.ZodUUID>;
815
1123
  type: z.ZodLiteral<"logic">;
816
1124
  alias: z.ZodOptional<z.ZodString>;
@@ -822,15 +1130,15 @@ export declare const treeListSchema: z.ZodObject<{
822
1130
  typescript: "typescript";
823
1131
  }>>;
824
1132
  maxExecutionTime: z.ZodDefault<z.ZodNumber>;
825
- outputs: z.ZodArray<z.ZodObject<{
826
- name: z.ZodNullable<z.ZodString>;
827
- schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
828
- }, z.core.$strip>>;
829
1133
  }, z.core.$strict>, z.ZodObject<{
830
1134
  id: z.ZodDefault<z.ZodUUID>;
831
1135
  type: z.ZodLiteral<"or">;
832
1136
  alias: z.ZodOptional<z.ZodString>;
833
1137
  }, z.core.$strict>, z.ZodObject<{
1138
+ outputs: z.ZodArray<z.ZodObject<{
1139
+ name: z.ZodNullable<z.ZodString>;
1140
+ schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
1141
+ }, z.core.$strip>>;
834
1142
  id: z.ZodDefault<z.ZodUUID>;
835
1143
  type: z.ZodLiteral<"reference">;
836
1144
  alias: z.ZodOptional<z.ZodString>;
@@ -842,11 +1150,15 @@ export declare const treeListSchema: z.ZodObject<{
842
1150
  type: z.ZodLiteral<"null">;
843
1151
  }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
844
1152
  $ref: z.ZodString;
1153
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodIntersection<z.ZodObject<{
1154
+ oneOf: z.ZodArray<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
1155
+ type: z.ZodLiteral<"object">;
1156
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
1157
+ type: z.ZodLiteral<"null">;
1158
+ }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
1159
+ $ref: z.ZodString;
1160
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>]>>;
845
1161
  }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>]>>;
846
- outputs: z.ZodArray<z.ZodObject<{
847
- name: z.ZodNullable<z.ZodString>;
848
- schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
849
- }, z.core.$strip>>;
850
1162
  }, z.core.$strict>, z.ZodObject<{
851
1163
  id: z.ZodDefault<z.ZodUUID>;
852
1164
  type: z.ZodLiteral<"exit">;