@membranehq/sdk 0.5.2 → 0.6.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.
- package/dist/bundle.d.ts +1661 -1666
- package/dist/bundle.js +9 -4
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/action-instances-accessors.d.ts +5 -2
- package/dist/dts/accessors/actions-accessors.d.ts +2 -2
- package/dist/dts/accessors/connections-accessors.d.ts +7 -7
- package/dist/dts/accessors/integrations-accessors.d.ts +7 -7
- package/dist/dts/errors/index.d.ts +10 -1
- package/dist/dts/workspace-elements/api/action-instances-api.d.ts +119 -65
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +69 -90
- package/dist/dts/workspace-elements/api/actions-api.d.ts +253 -339
- package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +21 -21
- package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +7 -7
- package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +22 -22
- package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +18 -18
- package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +7 -7
- package/dist/dts/workspace-elements/api/connections-api.d.ts +90 -89
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +50 -50
- package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +7 -7
- package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +55 -55
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +62 -62
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +40 -40
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +40 -40
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +35 -35
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +20 -20
- package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +146 -146
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +56 -56
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +128 -128
- package/dist/dts/workspace-elements/api/flows-api.d.ts +223 -223
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +26 -26
- package/dist/dts/workspace-elements/api/scenarios-api.d.ts +21 -21
- package/dist/dts/workspace-elements/base/action-instances/types.d.ts +10 -10
- package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +4 -3
- package/dist/dts/workspace-elements/base/actions/index.d.ts +111 -1
- package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +11 -10
- package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +7 -7
- package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +7 -7
- package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +7 -7
- package/dist/dts/workspace-elements/base/connections/types.d.ts +11 -10
- package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +7 -7
- package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +7 -7
- package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +10 -9
- package/dist/dts/workspace-elements/base/data-sources/types.d.ts +8 -8
- package/dist/dts/workspace-elements/base/external-event-log-records/types.d.ts +4 -3
- package/dist/dts/workspace-elements/base/external-event-pulls/types.d.ts +4 -3
- package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +4 -3
- package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +11 -10
- package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +9 -9
- package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +8 -8
- package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +15 -14
- package/dist/dts/workspace-elements/base/flow-runs/flow-node-runs.d.ts +16 -16
- package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +6 -5
- package/dist/dts/workspace-elements/base/flows/types.d.ts +15 -15
- package/dist/dts/workspace-elements/base/integrations/types.d.ts +48 -48
- package/dist/dts/workspace-elements/base/scenarios/types.d.ts +7 -7
- package/dist/dts/workspace-elements/types.d.ts +53 -9
- package/dist/dts/workspace-elements-catalog/index.d.ts +3 -0
- package/dist/dts/workspaces/types.d.ts +2 -0
- package/dist/index.d.ts +2269 -2236
- package/dist/index.js +48 -48
- package/dist/index.js.map +1 -1
- package/dist/index.module.d.mts +2269 -2236
- package/dist/index.module.mjs +46 -48
- package/dist/index.module.mjs.map +1 -1
- package/package.json +1 -3
- package/dist/dts/workspace-elements/base/actions/types.d.ts +0 -85
|
@@ -33,8 +33,8 @@ export declare const createFlowInstanceSchema: z.ZodObject<{
|
|
|
33
33
|
concurrency?: number | undefined;
|
|
34
34
|
type?: string | undefined;
|
|
35
35
|
name?: string | undefined;
|
|
36
|
-
isCustomized?: boolean | undefined;
|
|
37
36
|
config?: any;
|
|
37
|
+
isCustomized?: boolean | undefined;
|
|
38
38
|
onError?: "stop" | "continue" | undefined;
|
|
39
39
|
ui?: any;
|
|
40
40
|
links?: {
|
|
@@ -47,8 +47,8 @@ export declare const createFlowInstanceSchema: z.ZodObject<{
|
|
|
47
47
|
concurrency?: number | undefined;
|
|
48
48
|
type?: string | undefined;
|
|
49
49
|
name?: string | undefined;
|
|
50
|
-
isCustomized?: boolean | undefined;
|
|
51
50
|
config?: any;
|
|
51
|
+
isCustomized?: boolean | undefined;
|
|
52
52
|
onError?: "stop" | "continue" | undefined;
|
|
53
53
|
ui?: any;
|
|
54
54
|
links?: {
|
|
@@ -84,8 +84,8 @@ export declare const createFlowInstanceSchema: z.ZodObject<{
|
|
|
84
84
|
concurrency?: number | undefined;
|
|
85
85
|
type?: string | undefined;
|
|
86
86
|
name?: string | undefined;
|
|
87
|
-
isCustomized?: boolean | undefined;
|
|
88
87
|
config?: any;
|
|
88
|
+
isCustomized?: boolean | undefined;
|
|
89
89
|
onError?: "stop" | "continue" | undefined;
|
|
90
90
|
ui?: any;
|
|
91
91
|
links?: {
|
|
@@ -112,8 +112,8 @@ export declare const createFlowInstanceSchema: z.ZodObject<{
|
|
|
112
112
|
concurrency?: number | undefined;
|
|
113
113
|
type?: string | undefined;
|
|
114
114
|
name?: string | undefined;
|
|
115
|
-
isCustomized?: boolean | undefined;
|
|
116
115
|
config?: any;
|
|
116
|
+
isCustomized?: boolean | undefined;
|
|
117
117
|
onError?: "stop" | "continue" | undefined;
|
|
118
118
|
ui?: any;
|
|
119
119
|
links?: {
|
|
@@ -155,8 +155,8 @@ export declare const updateFlowInstanceSchema: z.ZodObject<{
|
|
|
155
155
|
concurrency?: number | undefined;
|
|
156
156
|
type?: string | undefined;
|
|
157
157
|
name?: string | undefined;
|
|
158
|
-
isCustomized?: boolean | undefined;
|
|
159
158
|
config?: any;
|
|
159
|
+
isCustomized?: boolean | undefined;
|
|
160
160
|
onError?: "stop" | "continue" | undefined;
|
|
161
161
|
links?: {
|
|
162
162
|
key?: string | undefined;
|
|
@@ -168,8 +168,8 @@ export declare const updateFlowInstanceSchema: z.ZodObject<{
|
|
|
168
168
|
concurrency?: number | undefined;
|
|
169
169
|
type?: string | undefined;
|
|
170
170
|
name?: string | undefined;
|
|
171
|
-
isCustomized?: boolean | undefined;
|
|
172
171
|
config?: any;
|
|
172
|
+
isCustomized?: boolean | undefined;
|
|
173
173
|
onError?: "stop" | "continue" | undefined;
|
|
174
174
|
links?: {
|
|
175
175
|
key?: string | undefined;
|
|
@@ -201,8 +201,8 @@ export declare const updateFlowInstanceSchema: z.ZodObject<{
|
|
|
201
201
|
concurrency?: number | undefined;
|
|
202
202
|
type?: string | undefined;
|
|
203
203
|
name?: string | undefined;
|
|
204
|
-
isCustomized?: boolean | undefined;
|
|
205
204
|
config?: any;
|
|
205
|
+
isCustomized?: boolean | undefined;
|
|
206
206
|
onError?: "stop" | "continue" | undefined;
|
|
207
207
|
links?: {
|
|
208
208
|
key?: string | undefined;
|
|
@@ -224,8 +224,8 @@ export declare const updateFlowInstanceSchema: z.ZodObject<{
|
|
|
224
224
|
concurrency?: number | undefined;
|
|
225
225
|
type?: string | undefined;
|
|
226
226
|
name?: string | undefined;
|
|
227
|
-
isCustomized?: boolean | undefined;
|
|
228
227
|
config?: any;
|
|
228
|
+
isCustomized?: boolean | undefined;
|
|
229
229
|
onError?: "stop" | "continue" | undefined;
|
|
230
230
|
links?: {
|
|
231
231
|
key?: string | undefined;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { DataSchema } from '../../../data-schema';
|
|
3
|
+
import { ErrorDataSchema } from '../../../errors';
|
|
3
4
|
import { WorkspaceElementState } from '../../types';
|
|
4
5
|
export declare const BaseFlowInstance: z.ZodObject<{
|
|
5
6
|
id: z.ZodString;
|
|
6
|
-
name: z.ZodString;
|
|
7
7
|
key: z.ZodOptional<z.ZodString>;
|
|
8
8
|
uuid: z.ZodOptional<z.ZodString>;
|
|
9
9
|
description: z.ZodOptional<z.ZodString>;
|
|
10
|
-
|
|
10
|
+
name: z.ZodString;
|
|
11
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>, "many">>;
|
|
11
12
|
revision: z.ZodOptional<z.ZodString>;
|
|
12
|
-
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
13
13
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
14
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
14
15
|
} & {
|
|
15
16
|
userId: z.ZodString;
|
|
16
17
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
@@ -49,18 +50,18 @@ export declare const BaseFlowInstance: z.ZodObject<{
|
|
|
49
50
|
uuid?: string | undefined;
|
|
50
51
|
description?: string | undefined;
|
|
51
52
|
state?: WorkspaceElementState | undefined;
|
|
52
|
-
errors?:
|
|
53
|
+
errors?: ErrorDataSchema[] | undefined;
|
|
53
54
|
revision?: string | undefined;
|
|
54
|
-
isDeactivated?: boolean | undefined;
|
|
55
55
|
archivedAt?: string | undefined;
|
|
56
|
+
isDeactivated?: boolean | undefined;
|
|
56
57
|
instanceKey?: string | undefined;
|
|
57
58
|
connectionId?: string | undefined;
|
|
58
59
|
parameters?: any;
|
|
59
|
-
parametersSchema?: DataSchema | undefined;
|
|
60
60
|
customized?: {
|
|
61
61
|
name?: boolean | undefined;
|
|
62
62
|
nodes?: boolean | undefined;
|
|
63
63
|
} | undefined;
|
|
64
|
+
parametersSchema?: DataSchema | undefined;
|
|
64
65
|
dependencies?: any[] | undefined;
|
|
65
66
|
universalFlowId?: string | undefined;
|
|
66
67
|
nodes?: Record<string, any> | undefined;
|
|
@@ -78,18 +79,18 @@ export declare const BaseFlowInstance: z.ZodObject<{
|
|
|
78
79
|
uuid?: string | undefined;
|
|
79
80
|
description?: string | undefined;
|
|
80
81
|
state?: WorkspaceElementState | undefined;
|
|
81
|
-
errors?:
|
|
82
|
+
errors?: ErrorDataSchema[] | undefined;
|
|
82
83
|
revision?: string | undefined;
|
|
83
|
-
isDeactivated?: boolean | undefined;
|
|
84
84
|
archivedAt?: string | undefined;
|
|
85
|
+
isDeactivated?: boolean | undefined;
|
|
85
86
|
instanceKey?: string | undefined;
|
|
86
87
|
connectionId?: string | undefined;
|
|
87
88
|
parameters?: any;
|
|
88
|
-
parametersSchema?: DataSchema | undefined;
|
|
89
89
|
customized?: {
|
|
90
90
|
name?: boolean | undefined;
|
|
91
91
|
nodes?: boolean | undefined;
|
|
92
92
|
} | undefined;
|
|
93
|
+
parametersSchema?: DataSchema | undefined;
|
|
93
94
|
dependencies?: any[] | undefined;
|
|
94
95
|
universalFlowId?: string | undefined;
|
|
95
96
|
nodes?: Record<string, any> | undefined;
|
|
@@ -129,7 +130,7 @@ export declare const FlowInstanceNode: z.ZodObject<{
|
|
|
129
130
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
130
131
|
} & {
|
|
131
132
|
state: z.ZodOptional<z.ZodNativeEnum<typeof FlowInstanceNodeState>>;
|
|
132
|
-
errors: z.ZodOptional<z.ZodArray<
|
|
133
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>, "many">>;
|
|
133
134
|
userConfig: z.ZodOptional<z.ZodAny>;
|
|
134
135
|
testInput: z.ZodOptional<z.ZodAny>;
|
|
135
136
|
dependencies: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
@@ -139,10 +140,10 @@ export declare const FlowInstanceNode: z.ZodObject<{
|
|
|
139
140
|
name?: string | undefined;
|
|
140
141
|
description?: string | undefined;
|
|
141
142
|
state?: FlowInstanceNodeState | undefined;
|
|
142
|
-
errors?:
|
|
143
|
-
isCustomized?: boolean | undefined;
|
|
143
|
+
errors?: ErrorDataSchema[] | undefined;
|
|
144
144
|
inputSchema?: any;
|
|
145
145
|
config?: any;
|
|
146
|
+
isCustomized?: boolean | undefined;
|
|
146
147
|
outputSchema?: any;
|
|
147
148
|
dependencies?: any[] | undefined;
|
|
148
149
|
version?: number | undefined;
|
|
@@ -162,10 +163,10 @@ export declare const FlowInstanceNode: z.ZodObject<{
|
|
|
162
163
|
name?: string | undefined;
|
|
163
164
|
description?: string | undefined;
|
|
164
165
|
state?: FlowInstanceNodeState | undefined;
|
|
165
|
-
errors?:
|
|
166
|
-
isCustomized?: boolean | undefined;
|
|
166
|
+
errors?: ErrorDataSchema[] | undefined;
|
|
167
167
|
inputSchema?: any;
|
|
168
168
|
config?: any;
|
|
169
|
+
isCustomized?: boolean | undefined;
|
|
169
170
|
outputSchema?: any;
|
|
170
171
|
dependencies?: any[] | undefined;
|
|
171
172
|
version?: number | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { ErrorData } from '../../../errors';
|
|
2
|
+
import { ErrorData, ErrorDataSchema } from '../../../errors';
|
|
3
3
|
export declare enum FlowNodeRunStatus {
|
|
4
4
|
COMPLETED = "completed",
|
|
5
5
|
FAILED = "failed",
|
|
@@ -133,11 +133,11 @@ export declare const FlowNodeRunResultSchema: z.ZodObject<{
|
|
|
133
133
|
runId: string;
|
|
134
134
|
}[];
|
|
135
135
|
}>, "many">;
|
|
136
|
-
errors: z.ZodArray<
|
|
136
|
+
errors: z.ZodArray<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>, "many">;
|
|
137
137
|
}, "strip", z.ZodTypeAny, {
|
|
138
|
-
logs: any[];
|
|
139
138
|
status: FlowNodeRunStatus;
|
|
140
|
-
|
|
139
|
+
logs: any[];
|
|
140
|
+
errors: ErrorDataSchema[];
|
|
141
141
|
outputs: {
|
|
142
142
|
data: string;
|
|
143
143
|
id: string;
|
|
@@ -147,9 +147,9 @@ export declare const FlowNodeRunResultSchema: z.ZodObject<{
|
|
|
147
147
|
}[];
|
|
148
148
|
}[];
|
|
149
149
|
}, {
|
|
150
|
-
logs: any[];
|
|
151
150
|
status: FlowNodeRunStatus;
|
|
152
|
-
|
|
151
|
+
logs: any[];
|
|
152
|
+
errors: ErrorDataSchema[];
|
|
153
153
|
outputs: {
|
|
154
154
|
data: string;
|
|
155
155
|
id: string;
|
|
@@ -208,12 +208,12 @@ export declare const FlowNodeRunRecordSchema: z.ZodObject<{
|
|
|
208
208
|
runId: string;
|
|
209
209
|
}[];
|
|
210
210
|
}>, "many">;
|
|
211
|
-
errors: z.ZodArray<
|
|
211
|
+
errors: z.ZodArray<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>, "many">;
|
|
212
212
|
}, "strip", z.ZodTypeAny, {
|
|
213
|
-
logs: any[];
|
|
214
213
|
status: FlowNodeRunStatus;
|
|
214
|
+
logs: any[];
|
|
215
215
|
id: string;
|
|
216
|
-
errors:
|
|
216
|
+
errors: ErrorDataSchema[];
|
|
217
217
|
outputs: {
|
|
218
218
|
data: string;
|
|
219
219
|
id: string;
|
|
@@ -229,10 +229,10 @@ export declare const FlowNodeRunRecordSchema: z.ZodObject<{
|
|
|
229
229
|
}[];
|
|
230
230
|
input?: any;
|
|
231
231
|
}, {
|
|
232
|
-
logs: any[];
|
|
233
232
|
status: FlowNodeRunStatus;
|
|
233
|
+
logs: any[];
|
|
234
234
|
id: string;
|
|
235
|
-
errors:
|
|
235
|
+
errors: ErrorDataSchema[];
|
|
236
236
|
outputs: {
|
|
237
237
|
data: string;
|
|
238
238
|
id: string;
|
|
@@ -332,12 +332,12 @@ export declare const FlowNodeRunRecordWithoutOutputsDataSchema: z.ZodObject<{
|
|
|
332
332
|
runId: string;
|
|
333
333
|
}[];
|
|
334
334
|
}>, "many">;
|
|
335
|
-
errors: z.ZodArray<
|
|
335
|
+
errors: z.ZodArray<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>, "many">;
|
|
336
336
|
}, "strip", z.ZodTypeAny, {
|
|
337
|
-
logs: any[];
|
|
338
337
|
status: FlowNodeRunStatus;
|
|
338
|
+
logs: any[];
|
|
339
339
|
id: string;
|
|
340
|
-
errors:
|
|
340
|
+
errors: ErrorDataSchema[];
|
|
341
341
|
outputs: {
|
|
342
342
|
id: string;
|
|
343
343
|
downstreamRuns: {
|
|
@@ -352,10 +352,10 @@ export declare const FlowNodeRunRecordWithoutOutputsDataSchema: z.ZodObject<{
|
|
|
352
352
|
}[];
|
|
353
353
|
input?: any;
|
|
354
354
|
}, {
|
|
355
|
-
logs: any[];
|
|
356
355
|
status: FlowNodeRunStatus;
|
|
356
|
+
logs: any[];
|
|
357
357
|
id: string;
|
|
358
|
-
errors:
|
|
358
|
+
errors: ErrorDataSchema[];
|
|
359
359
|
outputs: {
|
|
360
360
|
id: string;
|
|
361
361
|
downstreamRuns: {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { ErrorDataSchema } from '../../../errors';
|
|
2
3
|
export declare enum FlowRunNodeState {
|
|
3
4
|
RUNNING = "running",
|
|
4
5
|
COMPLETED = "completed",
|
|
@@ -60,7 +61,7 @@ export declare const BaseFlowRun: z.ZodObject<{
|
|
|
60
61
|
state: z.ZodNativeEnum<typeof FlowRunState>;
|
|
61
62
|
startTime: z.ZodString;
|
|
62
63
|
endTime: z.ZodOptional<z.ZodString>;
|
|
63
|
-
errors: z.ZodOptional<z.ZodArray<
|
|
64
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>, "many">>;
|
|
64
65
|
nodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
65
66
|
state: z.ZodNativeEnum<typeof FlowRunNodeState>;
|
|
66
67
|
runs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -95,11 +96,11 @@ export declare const BaseFlowRun: z.ZodObject<{
|
|
|
95
96
|
flowInstanceId: string;
|
|
96
97
|
startNodeKey: string;
|
|
97
98
|
name?: string | undefined;
|
|
98
|
-
errors?:
|
|
99
|
+
errors?: ErrorDataSchema[] | undefined;
|
|
99
100
|
connectionId?: string | undefined;
|
|
100
101
|
integrationId?: string | undefined;
|
|
101
|
-
endTime?: string | undefined;
|
|
102
102
|
input?: any;
|
|
103
|
+
endTime?: string | undefined;
|
|
103
104
|
universalFlowId?: string | undefined;
|
|
104
105
|
nodes?: Record<string, {
|
|
105
106
|
state: FlowRunNodeState;
|
|
@@ -119,11 +120,11 @@ export declare const BaseFlowRun: z.ZodObject<{
|
|
|
119
120
|
flowInstanceId: string;
|
|
120
121
|
startNodeKey: string;
|
|
121
122
|
name?: string | undefined;
|
|
122
|
-
errors?:
|
|
123
|
+
errors?: ErrorDataSchema[] | undefined;
|
|
123
124
|
connectionId?: string | undefined;
|
|
124
125
|
integrationId?: string | undefined;
|
|
125
|
-
endTime?: string | undefined;
|
|
126
126
|
input?: any;
|
|
127
|
+
endTime?: string | undefined;
|
|
127
128
|
universalFlowId?: string | undefined;
|
|
128
129
|
nodes?: Record<string, {
|
|
129
130
|
state: FlowRunNodeState;
|
|
@@ -45,9 +45,9 @@ export declare const FlowNode: z.ZodObject<{
|
|
|
45
45
|
type?: string | undefined;
|
|
46
46
|
name?: string | undefined;
|
|
47
47
|
description?: string | undefined;
|
|
48
|
-
isCustomized?: boolean | undefined;
|
|
49
48
|
inputSchema?: any;
|
|
50
49
|
config?: any;
|
|
50
|
+
isCustomized?: boolean | undefined;
|
|
51
51
|
outputSchema?: any;
|
|
52
52
|
version?: number | undefined;
|
|
53
53
|
onError?: "stop" | "continue" | undefined;
|
|
@@ -63,9 +63,9 @@ export declare const FlowNode: z.ZodObject<{
|
|
|
63
63
|
type?: string | undefined;
|
|
64
64
|
name?: string | undefined;
|
|
65
65
|
description?: string | undefined;
|
|
66
|
-
isCustomized?: boolean | undefined;
|
|
67
66
|
inputSchema?: any;
|
|
68
67
|
config?: any;
|
|
68
|
+
isCustomized?: boolean | undefined;
|
|
69
69
|
outputSchema?: any;
|
|
70
70
|
version?: number | undefined;
|
|
71
71
|
onError?: "stop" | "continue" | undefined;
|
|
@@ -80,15 +80,15 @@ export declare const FlowNode: z.ZodObject<{
|
|
|
80
80
|
export type FlowNode = z.infer<typeof FlowNode>;
|
|
81
81
|
export declare const BaseFlow: z.ZodObject<{
|
|
82
82
|
id: z.ZodString;
|
|
83
|
-
name: z.ZodString;
|
|
84
83
|
key: z.ZodOptional<z.ZodString>;
|
|
85
84
|
uuid: z.ZodOptional<z.ZodString>;
|
|
86
85
|
description: z.ZodOptional<z.ZodString>;
|
|
86
|
+
name: z.ZodString;
|
|
87
87
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
88
|
-
errors: z.ZodOptional<z.ZodArray<
|
|
89
|
-
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
88
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
|
|
90
89
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
91
90
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
91
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
92
92
|
} & {
|
|
93
93
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
94
94
|
universalFlowId: z.ZodOptional<z.ZodString>;
|
|
@@ -125,9 +125,9 @@ export declare const BaseFlow: z.ZodObject<{
|
|
|
125
125
|
type?: string | undefined;
|
|
126
126
|
name?: string | undefined;
|
|
127
127
|
description?: string | undefined;
|
|
128
|
-
isCustomized?: boolean | undefined;
|
|
129
128
|
inputSchema?: any;
|
|
130
129
|
config?: any;
|
|
130
|
+
isCustomized?: boolean | undefined;
|
|
131
131
|
outputSchema?: any;
|
|
132
132
|
version?: number | undefined;
|
|
133
133
|
onError?: "stop" | "continue" | undefined;
|
|
@@ -143,9 +143,9 @@ export declare const BaseFlow: z.ZodObject<{
|
|
|
143
143
|
type?: string | undefined;
|
|
144
144
|
name?: string | undefined;
|
|
145
145
|
description?: string | undefined;
|
|
146
|
-
isCustomized?: boolean | undefined;
|
|
147
146
|
inputSchema?: any;
|
|
148
147
|
config?: any;
|
|
148
|
+
isCustomized?: boolean | undefined;
|
|
149
149
|
outputSchema?: any;
|
|
150
150
|
version?: number | undefined;
|
|
151
151
|
onError?: "stop" | "continue" | undefined;
|
|
@@ -169,14 +169,14 @@ export declare const BaseFlow: z.ZodObject<{
|
|
|
169
169
|
uuid?: string | undefined;
|
|
170
170
|
description?: string | undefined;
|
|
171
171
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
172
|
-
errors?:
|
|
173
|
-
isDeactivated?: boolean | undefined;
|
|
172
|
+
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
174
173
|
createdAt?: string | undefined;
|
|
175
174
|
updatedAt?: string | undefined;
|
|
176
175
|
archivedAt?: string | undefined;
|
|
176
|
+
isDeactivated?: boolean | undefined;
|
|
177
177
|
integrationId?: string | undefined;
|
|
178
|
-
parametersSchema?: DataSchema | undefined;
|
|
179
178
|
customized?: boolean | undefined;
|
|
179
|
+
parametersSchema?: DataSchema | undefined;
|
|
180
180
|
universalFlowId?: string | undefined;
|
|
181
181
|
universalFlowRevision?: string | undefined;
|
|
182
182
|
nodes?: Record<string, {
|
|
@@ -184,9 +184,9 @@ export declare const BaseFlow: z.ZodObject<{
|
|
|
184
184
|
type?: string | undefined;
|
|
185
185
|
name?: string | undefined;
|
|
186
186
|
description?: string | undefined;
|
|
187
|
-
isCustomized?: boolean | undefined;
|
|
188
187
|
inputSchema?: any;
|
|
189
188
|
config?: any;
|
|
189
|
+
isCustomized?: boolean | undefined;
|
|
190
190
|
outputSchema?: any;
|
|
191
191
|
version?: number | undefined;
|
|
192
192
|
onError?: "stop" | "continue" | undefined;
|
|
@@ -207,14 +207,14 @@ export declare const BaseFlow: z.ZodObject<{
|
|
|
207
207
|
uuid?: string | undefined;
|
|
208
208
|
description?: string | undefined;
|
|
209
209
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
210
|
-
errors?:
|
|
211
|
-
isDeactivated?: boolean | undefined;
|
|
210
|
+
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
212
211
|
createdAt?: string | undefined;
|
|
213
212
|
updatedAt?: string | undefined;
|
|
214
213
|
archivedAt?: string | undefined;
|
|
214
|
+
isDeactivated?: boolean | undefined;
|
|
215
215
|
integrationId?: string | undefined;
|
|
216
|
-
parametersSchema?: DataSchema | undefined;
|
|
217
216
|
customized?: boolean | undefined;
|
|
217
|
+
parametersSchema?: DataSchema | undefined;
|
|
218
218
|
universalFlowId?: string | undefined;
|
|
219
219
|
universalFlowRevision?: string | undefined;
|
|
220
220
|
nodes?: Record<string, {
|
|
@@ -222,9 +222,9 @@ export declare const BaseFlow: z.ZodObject<{
|
|
|
222
222
|
type?: string | undefined;
|
|
223
223
|
name?: string | undefined;
|
|
224
224
|
description?: string | undefined;
|
|
225
|
-
isCustomized?: boolean | undefined;
|
|
226
225
|
inputSchema?: any;
|
|
227
226
|
config?: any;
|
|
227
|
+
isCustomized?: boolean | undefined;
|
|
228
228
|
outputSchema?: any;
|
|
229
229
|
version?: number | undefined;
|
|
230
230
|
onError?: "stop" | "continue" | undefined;
|