@membranehq/sdk 0.4.0 → 0.5.0

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 (62) hide show
  1. package/dist/bundle.d.ts +8370 -1268
  2. package/dist/bundle.js +2216 -2085
  3. package/dist/bundle.js.map +1 -1
  4. package/dist/dts/accessors/connections-accessors.d.ts +57 -1
  5. package/dist/dts/accessors/integrations-accessors.d.ts +57 -1
  6. package/dist/dts/api-client.d.ts +1 -0
  7. package/dist/dts/client.d.ts +1 -0
  8. package/dist/dts/data-schema/types.d.ts +4 -3
  9. package/dist/dts/entity-repository.d.ts +87 -20
  10. package/dist/dts/formulas/dataSchemaRef.d.ts +2 -2
  11. package/dist/dts/http-requests.d.ts +20 -6
  12. package/dist/dts/iframe.d.ts +12 -4
  13. package/dist/dts/index.d.ts +2 -1
  14. package/dist/dts/sse/index.d.ts +1 -0
  15. package/dist/dts/sse/workspace-elements.d.ts +9 -0
  16. package/dist/dts/workspace-elements/api/actions-api.d.ts +702 -40
  17. package/dist/dts/workspace-elements/api/connections-api.d.ts +702 -41
  18. package/dist/dts/workspace-elements/api/customers-api.d.ts +56 -13
  19. package/dist/dts/workspace-elements/api/data-sources-api.d.ts +834 -77
  20. package/dist/dts/workspace-elements/api/external-events-api.d.ts +440 -6
  21. package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +586 -6
  22. package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +1 -1
  23. package/dist/dts/workspace-elements/api/flows-api.d.ts +2417 -50
  24. package/dist/dts/workspace-elements/api/integrations-api.d.ts +253 -24
  25. package/dist/dts/workspace-elements/api/scenarios-api.d.ts +397 -34
  26. package/dist/dts/workspace-elements/api/screens-api.d.ts +2 -2
  27. package/dist/dts/workspace-elements/base/action-instances/types.d.ts +61 -14
  28. package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +30 -7
  29. package/dist/dts/workspace-elements/base/actions/types.d.ts +60 -17
  30. package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +42 -7
  31. package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +35 -7
  32. package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +78 -9
  33. package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +70 -7
  34. package/dist/dts/workspace-elements/base/connections/types.d.ts +76 -20
  35. package/dist/dts/workspace-elements/base/connectors/types.d.ts +14 -2
  36. package/dist/dts/workspace-elements/base/customers/index.d.ts +26 -6
  37. package/dist/dts/workspace-elements/base/data-collections/schemas.d.ts +75 -74
  38. package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +61 -11
  39. package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +26 -4
  40. package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +1030 -19
  41. package/dist/dts/workspace-elements/base/data-sources/types.d.ts +89 -22
  42. package/dist/dts/workspace-elements/base/external-event-log-records/types.d.ts +31 -8
  43. package/dist/dts/workspace-elements/base/external-event-pulls/types.d.ts +35 -8
  44. package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +199 -23
  45. package/dist/dts/workspace-elements/base/external-events/types.d.ts +145 -5
  46. package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +74 -16
  47. package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +91 -14
  48. package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +39 -39
  49. package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +155 -24
  50. package/dist/dts/workspace-elements/base/flow-runs/flow-node-runs.d.ts +20 -20
  51. package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +114 -19
  52. package/dist/dts/workspace-elements/base/flows/types.d.ts +220 -26
  53. package/dist/dts/workspace-elements/base/integrations/types.d.ts +497 -24
  54. package/dist/dts/workspace-elements/base/scenarios/types.d.ts +723 -23
  55. package/dist/dts/workspace-elements/base/screens/types.d.ts +40 -6
  56. package/dist/index.d.ts +12141 -2138
  57. package/dist/index.js +1555 -522
  58. package/dist/index.js.map +1 -1
  59. package/dist/index.module.d.mts +12141 -2138
  60. package/dist/index.module.mjs +1414 -490
  61. package/dist/index.module.mjs.map +1 -1
  62. package/package.json +1 -1
@@ -214,11 +214,6 @@ export declare const FlowNodeRunRecordSchema: z.ZodObject<{
214
214
  status: FlowNodeRunStatus;
215
215
  id: string;
216
216
  errors: any[];
217
- upstreamRuns: {
218
- nodeKey: string;
219
- runId: string;
220
- outputId: string;
221
- }[];
222
217
  outputs: {
223
218
  data: string;
224
219
  id: string;
@@ -227,17 +222,17 @@ export declare const FlowNodeRunRecordSchema: z.ZodObject<{
227
222
  runId: string;
228
223
  }[];
229
224
  }[];
225
+ upstreamRuns: {
226
+ nodeKey: string;
227
+ runId: string;
228
+ outputId: string;
229
+ }[];
230
230
  input?: any;
231
231
  }, {
232
232
  logs: any[];
233
233
  status: FlowNodeRunStatus;
234
234
  id: string;
235
235
  errors: any[];
236
- upstreamRuns: {
237
- nodeKey: string;
238
- runId: string;
239
- outputId: string;
240
- }[];
241
236
  outputs: {
242
237
  data: string;
243
238
  id: string;
@@ -246,6 +241,11 @@ export declare const FlowNodeRunRecordSchema: z.ZodObject<{
246
241
  runId: string;
247
242
  }[];
248
243
  }[];
244
+ upstreamRuns: {
245
+ nodeKey: string;
246
+ runId: string;
247
+ outputId: string;
248
+ }[];
249
249
  input?: any;
250
250
  }>;
251
251
  export interface FlowNodeRunRecord extends z.infer<typeof FlowNodeRunRecordSchema> {
@@ -338,11 +338,6 @@ export declare const FlowNodeRunRecordWithoutOutputsDataSchema: z.ZodObject<{
338
338
  status: FlowNodeRunStatus;
339
339
  id: string;
340
340
  errors: any[];
341
- upstreamRuns: {
342
- nodeKey: string;
343
- runId: string;
344
- outputId: string;
345
- }[];
346
341
  outputs: {
347
342
  id: string;
348
343
  downstreamRuns: {
@@ -350,17 +345,17 @@ export declare const FlowNodeRunRecordWithoutOutputsDataSchema: z.ZodObject<{
350
345
  runId: string;
351
346
  }[];
352
347
  }[];
348
+ upstreamRuns: {
349
+ nodeKey: string;
350
+ runId: string;
351
+ outputId: string;
352
+ }[];
353
353
  input?: any;
354
354
  }, {
355
355
  logs: any[];
356
356
  status: FlowNodeRunStatus;
357
357
  id: string;
358
358
  errors: any[];
359
- upstreamRuns: {
360
- nodeKey: string;
361
- runId: string;
362
- outputId: string;
363
- }[];
364
359
  outputs: {
365
360
  id: string;
366
361
  downstreamRuns: {
@@ -368,6 +363,11 @@ export declare const FlowNodeRunRecordWithoutOutputsDataSchema: z.ZodObject<{
368
363
  runId: string;
369
364
  }[];
370
365
  }[];
366
+ upstreamRuns: {
367
+ nodeKey: string;
368
+ runId: string;
369
+ outputId: string;
370
+ }[];
371
371
  input?: any;
372
372
  }>;
373
373
  export interface FlowNodeRunRecordWithoutOutputsData extends z.infer<typeof FlowNodeRunRecordWithoutOutputsDataSchema> {
@@ -1,31 +1,126 @@
1
- import { ErrorData } from '../../../errors';
2
- import { FlowRunState, FlowRunLaunchedBy } from '../../api/flow-runs-api';
1
+ import { z } from 'zod';
2
+ import { FlowRunState, FlowRunLaunchedByTrigger } from '../../api/flow-runs-api';
3
3
  export declare enum FlowRunNodeState {
4
4
  RUNNING = "running",
5
5
  COMPLETED = "completed",
6
6
  STOPPED = "stopped",
7
7
  FAILED = "failed"
8
8
  }
9
- export interface BaseFlowRun {
9
+ export declare const FlowRunLaunchedBy: z.ZodObject<{
10
+ type: z.ZodNativeEnum<typeof FlowRunLaunchedByTrigger>;
11
+ ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
12
+ }, "strip", z.ZodTypeAny, {
13
+ type: FlowRunLaunchedByTrigger;
14
+ ids?: string[] | undefined;
15
+ }, {
16
+ type: FlowRunLaunchedByTrigger;
17
+ ids?: string[] | undefined;
18
+ }>;
19
+ export type FlowRunLaunchedBy = z.infer<typeof FlowRunLaunchedBy>;
20
+ export declare const FlowRunNode: z.ZodObject<{
21
+ state: z.ZodNativeEnum<typeof FlowRunNodeState>;
22
+ runs: z.ZodOptional<z.ZodNumber>;
23
+ erroredRuns: z.ZodOptional<z.ZodNumber>;
24
+ outputs: z.ZodOptional<z.ZodNumber>;
25
+ }, "strip", z.ZodTypeAny, {
26
+ state: FlowRunNodeState;
27
+ runs?: number | undefined;
28
+ erroredRuns?: number | undefined;
29
+ outputs?: number | undefined;
30
+ }, {
31
+ state: FlowRunNodeState;
32
+ runs?: number | undefined;
33
+ erroredRuns?: number | undefined;
34
+ outputs?: number | undefined;
35
+ }>;
36
+ export type FlowRunNode = z.infer<typeof FlowRunNode>;
37
+ export declare const BaseFlowRun: z.ZodObject<{
38
+ id: z.ZodString;
39
+ name: z.ZodOptional<z.ZodString>;
40
+ flowInstanceId: z.ZodString;
41
+ universalFlowId: z.ZodOptional<z.ZodString>;
42
+ connectionId: z.ZodOptional<z.ZodString>;
43
+ integrationId: z.ZodOptional<z.ZodString>;
44
+ startNodeKey: z.ZodString;
45
+ userId: z.ZodString;
46
+ input: z.ZodOptional<z.ZodAny>;
47
+ state: z.ZodNativeEnum<typeof FlowRunState>;
48
+ startTime: z.ZodString;
49
+ endTime: z.ZodOptional<z.ZodString>;
50
+ errors: z.ZodOptional<z.ZodArray<any, "many">>;
51
+ nodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
52
+ state: z.ZodNativeEnum<typeof FlowRunNodeState>;
53
+ runs: z.ZodOptional<z.ZodNumber>;
54
+ erroredRuns: z.ZodOptional<z.ZodNumber>;
55
+ outputs: z.ZodOptional<z.ZodNumber>;
56
+ }, "strip", z.ZodTypeAny, {
57
+ state: FlowRunNodeState;
58
+ runs?: number | undefined;
59
+ erroredRuns?: number | undefined;
60
+ outputs?: number | undefined;
61
+ }, {
62
+ state: FlowRunNodeState;
63
+ runs?: number | undefined;
64
+ erroredRuns?: number | undefined;
65
+ outputs?: number | undefined;
66
+ }>>>;
67
+ launchedBy: z.ZodOptional<z.ZodObject<{
68
+ type: z.ZodNativeEnum<typeof FlowRunLaunchedByTrigger>;
69
+ ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
70
+ }, "strip", z.ZodTypeAny, {
71
+ type: FlowRunLaunchedByTrigger;
72
+ ids?: string[] | undefined;
73
+ }, {
74
+ type: FlowRunLaunchedByTrigger;
75
+ ids?: string[] | undefined;
76
+ }>>;
77
+ }, "strip", z.ZodTypeAny, {
10
78
  id: string;
11
- name?: string;
79
+ state: FlowRunState;
80
+ userId: string;
81
+ startTime: string;
12
82
  flowInstanceId: string;
13
- universalFlowId?: string;
14
- connectionId?: string;
15
- integrationId?: string;
16
83
  startNodeKey: string;
17
- userId: string;
84
+ name?: string | undefined;
85
+ errors?: any[] | undefined;
86
+ connectionId?: string | undefined;
87
+ integrationId?: string | undefined;
88
+ endTime?: string | undefined;
18
89
  input?: any;
90
+ universalFlowId?: string | undefined;
91
+ nodes?: Record<string, {
92
+ state: FlowRunNodeState;
93
+ runs?: number | undefined;
94
+ erroredRuns?: number | undefined;
95
+ outputs?: number | undefined;
96
+ }> | undefined;
97
+ launchedBy?: {
98
+ type: FlowRunLaunchedByTrigger;
99
+ ids?: string[] | undefined;
100
+ } | undefined;
101
+ }, {
102
+ id: string;
19
103
  state: FlowRunState;
104
+ userId: string;
20
105
  startTime: string;
21
- endTime?: string;
22
- errors?: ErrorData[];
23
- nodes?: Record<string, FlowRunNode>;
24
- launchedBy?: FlowRunLaunchedBy;
25
- }
26
- export interface FlowRunNode {
27
- state: FlowRunNodeState;
28
- runs?: number;
29
- erroredRuns?: number;
30
- outputs?: number;
31
- }
106
+ flowInstanceId: string;
107
+ startNodeKey: string;
108
+ name?: string | undefined;
109
+ errors?: any[] | undefined;
110
+ connectionId?: string | undefined;
111
+ integrationId?: string | undefined;
112
+ endTime?: string | undefined;
113
+ input?: any;
114
+ universalFlowId?: string | undefined;
115
+ nodes?: Record<string, {
116
+ state: FlowRunNodeState;
117
+ runs?: number | undefined;
118
+ erroredRuns?: number | undefined;
119
+ outputs?: number | undefined;
120
+ }> | undefined;
121
+ launchedBy?: {
122
+ type: FlowRunLaunchedByTrigger;
123
+ ids?: string[] | undefined;
124
+ } | undefined;
125
+ }>;
126
+ export type BaseFlowRun = z.infer<typeof BaseFlowRun>;
@@ -1,33 +1,227 @@
1
+ import { z } from 'zod';
1
2
  import { DataSchema } from '../../../data-schema';
2
- import { BaseMembraneInterface } from '../../types';
3
- export interface FlowNode {
4
- type?: string;
5
- version?: number;
6
- name?: string;
7
- description?: string;
3
+ export declare const FlowNodeLink: z.ZodObject<{
4
+ key: z.ZodOptional<z.ZodString>;
5
+ filter: z.ZodOptional<z.ZodAny>;
6
+ name: z.ZodOptional<z.ZodString>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ key?: string | undefined;
9
+ filter?: any;
10
+ name?: string | undefined;
11
+ }, {
12
+ key?: string | undefined;
13
+ filter?: any;
14
+ name?: string | undefined;
15
+ }>;
16
+ export type FlowNodeLink = z.infer<typeof FlowNodeLink>;
17
+ export declare const FlowNode: z.ZodObject<{
18
+ type: z.ZodOptional<z.ZodString>;
19
+ version: z.ZodOptional<z.ZodNumber>;
20
+ name: z.ZodOptional<z.ZodString>;
21
+ description: z.ZodOptional<z.ZodString>;
22
+ config: z.ZodOptional<z.ZodAny>;
23
+ concurrency: z.ZodOptional<z.ZodNumber>;
24
+ onError: z.ZodOptional<z.ZodEnum<["stop", "continue"]>>;
25
+ ui: z.ZodOptional<z.ZodAny>;
26
+ inputSchema: z.ZodOptional<z.ZodAny>;
27
+ outputSchema: z.ZodOptional<z.ZodAny>;
28
+ outputExample: z.ZodOptional<z.ZodAny>;
29
+ links: z.ZodOptional<z.ZodArray<z.ZodObject<{
30
+ key: z.ZodOptional<z.ZodString>;
31
+ filter: z.ZodOptional<z.ZodAny>;
32
+ name: z.ZodOptional<z.ZodString>;
33
+ }, "strip", z.ZodTypeAny, {
34
+ key?: string | undefined;
35
+ filter?: any;
36
+ name?: string | undefined;
37
+ }, {
38
+ key?: string | undefined;
39
+ filter?: any;
40
+ name?: string | undefined;
41
+ }>, "many">>;
42
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
43
+ }, "strip", z.ZodTypeAny, {
44
+ concurrency?: number | undefined;
45
+ type?: string | undefined;
46
+ name?: string | undefined;
47
+ description?: string | undefined;
48
+ isCustomized?: boolean | undefined;
49
+ inputSchema?: any;
8
50
  config?: any;
9
- concurrency?: number;
10
- onError?: 'stop' | 'continue';
51
+ outputSchema?: any;
52
+ version?: number | undefined;
53
+ onError?: "stop" | "continue" | undefined;
11
54
  ui?: any;
55
+ outputExample?: any;
56
+ links?: {
57
+ key?: string | undefined;
58
+ filter?: any;
59
+ name?: string | undefined;
60
+ }[] | undefined;
61
+ }, {
62
+ concurrency?: number | undefined;
63
+ type?: string | undefined;
64
+ name?: string | undefined;
65
+ description?: string | undefined;
66
+ isCustomized?: boolean | undefined;
12
67
  inputSchema?: any;
68
+ config?: any;
13
69
  outputSchema?: any;
70
+ version?: number | undefined;
71
+ onError?: "stop" | "continue" | undefined;
72
+ ui?: any;
14
73
  outputExample?: any;
15
- links?: FlowNodeLink[];
16
- isCustomized?: boolean;
17
- }
18
- export interface BaseFlow extends BaseMembraneInterface {
19
- integrationId?: string;
20
- universalFlowId?: string;
21
- universalFlowRevision?: string;
22
- parametersSchema?: DataSchema;
23
- nodes?: Record<string, FlowNode>;
24
- autoCreateInstances?: boolean;
25
- archivedAt?: string;
74
+ links?: {
75
+ key?: string | undefined;
76
+ filter?: any;
77
+ name?: string | undefined;
78
+ }[] | undefined;
79
+ }>;
80
+ export type FlowNode = z.infer<typeof FlowNode>;
81
+ export declare const BaseFlow: z.ZodObject<{
82
+ id: z.ZodString;
83
+ name: z.ZodString;
84
+ } & {
85
+ key: z.ZodString;
86
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
87
+ errors: z.ZodOptional<z.ZodArray<any, "many">>;
88
+ } & {
89
+ integrationId: z.ZodOptional<z.ZodString>;
90
+ universalFlowId: z.ZodOptional<z.ZodString>;
91
+ universalFlowRevision: z.ZodOptional<z.ZodString>;
92
+ parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
93
+ nodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
94
+ type: z.ZodOptional<z.ZodString>;
95
+ version: z.ZodOptional<z.ZodNumber>;
96
+ name: z.ZodOptional<z.ZodString>;
97
+ description: z.ZodOptional<z.ZodString>;
98
+ config: z.ZodOptional<z.ZodAny>;
99
+ concurrency: z.ZodOptional<z.ZodNumber>;
100
+ onError: z.ZodOptional<z.ZodEnum<["stop", "continue"]>>;
101
+ ui: z.ZodOptional<z.ZodAny>;
102
+ inputSchema: z.ZodOptional<z.ZodAny>;
103
+ outputSchema: z.ZodOptional<z.ZodAny>;
104
+ outputExample: z.ZodOptional<z.ZodAny>;
105
+ links: z.ZodOptional<z.ZodArray<z.ZodObject<{
106
+ key: z.ZodOptional<z.ZodString>;
107
+ filter: z.ZodOptional<z.ZodAny>;
108
+ name: z.ZodOptional<z.ZodString>;
109
+ }, "strip", z.ZodTypeAny, {
110
+ key?: string | undefined;
111
+ filter?: any;
112
+ name?: string | undefined;
113
+ }, {
114
+ key?: string | undefined;
115
+ filter?: any;
116
+ name?: string | undefined;
117
+ }>, "many">>;
118
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
119
+ }, "strip", z.ZodTypeAny, {
120
+ concurrency?: number | undefined;
121
+ type?: string | undefined;
122
+ name?: string | undefined;
123
+ description?: string | undefined;
124
+ isCustomized?: boolean | undefined;
125
+ inputSchema?: any;
126
+ config?: any;
127
+ outputSchema?: any;
128
+ version?: number | undefined;
129
+ onError?: "stop" | "continue" | undefined;
130
+ ui?: any;
131
+ outputExample?: any;
132
+ links?: {
133
+ key?: string | undefined;
134
+ filter?: any;
135
+ name?: string | undefined;
136
+ }[] | undefined;
137
+ }, {
138
+ concurrency?: number | undefined;
139
+ type?: string | undefined;
140
+ name?: string | undefined;
141
+ description?: string | undefined;
142
+ isCustomized?: boolean | undefined;
143
+ inputSchema?: any;
144
+ config?: any;
145
+ outputSchema?: any;
146
+ version?: number | undefined;
147
+ onError?: "stop" | "continue" | undefined;
148
+ ui?: any;
149
+ outputExample?: any;
150
+ links?: {
151
+ key?: string | undefined;
152
+ filter?: any;
153
+ name?: string | undefined;
154
+ }[] | undefined;
155
+ }>>>;
156
+ autoCreateInstances: z.ZodOptional<z.ZodBoolean>;
157
+ archivedAt: z.ZodOptional<z.ZodString>;
158
+ revision: z.ZodString;
159
+ customized: z.ZodOptional<z.ZodBoolean>;
160
+ }, "strip", z.ZodTypeAny, {
161
+ key: string;
162
+ id: string;
163
+ name: string;
26
164
  revision: string;
27
- customized?: boolean;
28
- }
29
- export interface FlowNodeLink {
30
- key?: string;
31
- filter?: any;
32
- name?: string;
33
- }
165
+ state?: import("../../types").WorkspaceElementState | undefined;
166
+ errors?: any[] | undefined;
167
+ integrationId?: string | undefined;
168
+ parametersSchema?: DataSchema | undefined;
169
+ archivedAt?: string | undefined;
170
+ customized?: boolean | undefined;
171
+ universalFlowId?: string | undefined;
172
+ universalFlowRevision?: string | undefined;
173
+ nodes?: Record<string, {
174
+ concurrency?: number | undefined;
175
+ type?: string | undefined;
176
+ name?: string | undefined;
177
+ description?: string | undefined;
178
+ isCustomized?: boolean | undefined;
179
+ inputSchema?: any;
180
+ config?: any;
181
+ outputSchema?: any;
182
+ version?: number | undefined;
183
+ onError?: "stop" | "continue" | undefined;
184
+ ui?: any;
185
+ outputExample?: any;
186
+ links?: {
187
+ key?: string | undefined;
188
+ filter?: any;
189
+ name?: string | undefined;
190
+ }[] | undefined;
191
+ }> | undefined;
192
+ autoCreateInstances?: boolean | undefined;
193
+ }, {
194
+ key: string;
195
+ id: string;
196
+ name: string;
197
+ revision: string;
198
+ state?: import("../../types").WorkspaceElementState | undefined;
199
+ errors?: any[] | undefined;
200
+ integrationId?: string | undefined;
201
+ parametersSchema?: DataSchema | undefined;
202
+ archivedAt?: string | undefined;
203
+ customized?: boolean | undefined;
204
+ universalFlowId?: string | undefined;
205
+ universalFlowRevision?: string | undefined;
206
+ nodes?: Record<string, {
207
+ concurrency?: number | undefined;
208
+ type?: string | undefined;
209
+ name?: string | undefined;
210
+ description?: string | undefined;
211
+ isCustomized?: boolean | undefined;
212
+ inputSchema?: any;
213
+ config?: any;
214
+ outputSchema?: any;
215
+ version?: number | undefined;
216
+ onError?: "stop" | "continue" | undefined;
217
+ ui?: any;
218
+ outputExample?: any;
219
+ links?: {
220
+ key?: string | undefined;
221
+ filter?: any;
222
+ name?: string | undefined;
223
+ }[] | undefined;
224
+ }> | undefined;
225
+ autoCreateInstances?: boolean | undefined;
226
+ }>;
227
+ export type BaseFlow = z.infer<typeof BaseFlow>;