@requence/service 0.7.1 → 0.8.2-edge.1149

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