@membranehq/sdk 0.7.1 → 0.7.4
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 +5200 -4617
- package/dist/bundle.js +10 -1
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/connections-accessors.d.ts +4 -3
- package/dist/dts/accessors/integrations-accessors.d.ts +4 -3
- package/dist/dts/accessors/scenarios-accessors.d.ts +4 -3
- package/dist/dts/config/config.test.d.ts +1 -0
- package/dist/dts/config/index.d.ts +42 -0
- package/dist/dts/entity-repository.d.ts +2 -2
- package/dist/dts/index.browser.d.ts +31 -0
- package/dist/dts/index.d.ts +2 -0
- package/dist/dts/index.node.d.ts +2 -0
- package/dist/dts/integration-elements/index.d.ts +0 -2
- package/dist/dts/{workspace-elements/base/scenarios/types.d.ts → scenario-templates/index.d.ts} +64 -169
- package/dist/dts/workspace-elements/api/action-instances-api.d.ts +39 -34
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +37 -37
- package/dist/dts/workspace-elements/api/actions-api.d.ts +64 -46
- package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +13 -0
- package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +17 -2
- package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +13 -0
- package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/connections-api.d.ts +57 -34
- package/dist/dts/workspace-elements/api/customers-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +29 -16
- package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +51 -43
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +474 -441
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +27 -22
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +27 -22
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +21 -16
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +7 -0
- package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +144 -124
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +250 -118
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +122 -98
- package/dist/dts/workspace-elements/api/flows-api.d.ts +965 -826
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +12 -14
- package/dist/dts/workspace-elements/api/scenarios-api.d.ts +434 -431
- package/dist/dts/workspace-elements/base/action-instances/types.d.ts +5 -5
- package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/actions/index.d.ts +18 -15
- package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +3 -0
- package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +3 -0
- package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +3 -0
- package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +3 -0
- package/dist/dts/workspace-elements/base/connections/types.d.ts +5 -8
- package/dist/dts/workspace-elements/base/customers/index.d.ts +3 -0
- package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +5 -2
- package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +3 -0
- package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +9 -6
- package/dist/dts/workspace-elements/base/data-sources/index.d.ts +153 -2
- package/dist/dts/workspace-elements/base/external-event-log-records/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/external-event-pulls/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +8 -5
- package/dist/dts/workspace-elements/base/field-mappings/index.d.ts +191 -1
- package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +26 -26
- package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +15 -12
- package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +4 -4
- package/dist/dts/workspace-elements/base/flows/index.d.ts +300 -1
- package/dist/dts/workspace-elements/base/flows/nodes/base.d.ts +79 -1
- package/dist/dts/workspace-elements/base/flows/nodes/index.d.ts +1 -1
- package/dist/dts/workspace-elements/base/integrations/types.d.ts +18 -0
- package/dist/dts/workspace-elements/base/scenarios/index.d.ts +163 -1
- package/dist/dts/workspace-elements/types.d.ts +118 -0
- package/dist/dts/workspace-elements-catalog/index.d.ts +1 -0
- package/dist/{index.d.ts → index.browser.d.mts} +17282 -16311
- package/dist/{index.module.d.mts → index.browser.d.ts} +17282 -16311
- package/dist/{index.js → index.browser.js} +228 -255
- package/dist/index.browser.js.map +1 -0
- package/dist/{index.module.mjs → index.browser.mjs} +218 -250
- package/dist/index.browser.mjs.map +1 -0
- package/dist/index.node.d.mts +28306 -0
- package/dist/index.node.d.ts +28306 -0
- package/dist/index.node.js +13329 -0
- package/dist/index.node.js.map +1 -0
- package/dist/index.node.mjs +12853 -0
- package/dist/index.node.mjs.map +1 -0
- package/package.json +38 -15
- package/dist/dts/workspace-elements/base/data-sources/constants.d.ts +0 -4
- package/dist/dts/workspace-elements/base/data-sources/types.d.ts +0 -102
- package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +0 -129
- package/dist/dts/workspace-elements/base/flows/types.d.ts +0 -241
- package/dist/index.js.map +0 -1
- package/dist/index.module.mjs.map +0 -1
|
@@ -1,2 +1,301 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { DataSchema } from '../../../data-schema';
|
|
1
3
|
export * from './nodes';
|
|
2
|
-
export
|
|
4
|
+
export declare const FlowEditableProperties: z.ZodObject<{
|
|
5
|
+
key: z.ZodOptional<z.ZodString>;
|
|
6
|
+
name: z.ZodOptional<z.ZodString>;
|
|
7
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
8
|
+
description: z.ZodOptional<z.ZodString>;
|
|
9
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
10
|
+
} & {
|
|
11
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
12
|
+
universalFlowId: z.ZodOptional<z.ZodString>;
|
|
13
|
+
parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
14
|
+
nodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
15
|
+
type: z.ZodOptional<z.ZodString>;
|
|
16
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
17
|
+
name: z.ZodOptional<z.ZodString>;
|
|
18
|
+
description: z.ZodOptional<z.ZodString>;
|
|
19
|
+
config: z.ZodOptional<z.ZodAny>;
|
|
20
|
+
concurrency: z.ZodOptional<z.ZodNumber>;
|
|
21
|
+
onError: z.ZodOptional<z.ZodEnum<["stop", "continue"]>>;
|
|
22
|
+
ui: z.ZodOptional<z.ZodAny>;
|
|
23
|
+
inputSchema: z.ZodOptional<z.ZodAny>;
|
|
24
|
+
outputSchema: z.ZodOptional<z.ZodAny>;
|
|
25
|
+
outputExample: z.ZodOptional<z.ZodAny>;
|
|
26
|
+
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
27
|
+
key: z.ZodOptional<z.ZodString>;
|
|
28
|
+
filter: z.ZodOptional<z.ZodAny>;
|
|
29
|
+
name: z.ZodOptional<z.ZodString>;
|
|
30
|
+
}, "strip", z.ZodTypeAny, {
|
|
31
|
+
key?: string | undefined;
|
|
32
|
+
filter?: any;
|
|
33
|
+
name?: string | undefined;
|
|
34
|
+
}, {
|
|
35
|
+
key?: string | undefined;
|
|
36
|
+
filter?: any;
|
|
37
|
+
name?: string | undefined;
|
|
38
|
+
}>, "many">>;
|
|
39
|
+
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
40
|
+
}, "strip", z.ZodTypeAny, {
|
|
41
|
+
concurrency?: number | undefined;
|
|
42
|
+
type?: string | undefined;
|
|
43
|
+
name?: string | undefined;
|
|
44
|
+
description?: string | undefined;
|
|
45
|
+
isCustomized?: boolean | undefined;
|
|
46
|
+
inputSchema?: any;
|
|
47
|
+
config?: any;
|
|
48
|
+
outputSchema?: any;
|
|
49
|
+
version?: number | undefined;
|
|
50
|
+
onError?: "stop" | "continue" | undefined;
|
|
51
|
+
ui?: any;
|
|
52
|
+
outputExample?: any;
|
|
53
|
+
links?: {
|
|
54
|
+
key?: string | undefined;
|
|
55
|
+
filter?: any;
|
|
56
|
+
name?: string | undefined;
|
|
57
|
+
}[] | undefined;
|
|
58
|
+
}, {
|
|
59
|
+
concurrency?: number | undefined;
|
|
60
|
+
type?: string | undefined;
|
|
61
|
+
name?: string | undefined;
|
|
62
|
+
description?: string | undefined;
|
|
63
|
+
isCustomized?: boolean | undefined;
|
|
64
|
+
inputSchema?: any;
|
|
65
|
+
config?: any;
|
|
66
|
+
outputSchema?: any;
|
|
67
|
+
version?: number | undefined;
|
|
68
|
+
onError?: "stop" | "continue" | undefined;
|
|
69
|
+
ui?: any;
|
|
70
|
+
outputExample?: any;
|
|
71
|
+
links?: {
|
|
72
|
+
key?: string | undefined;
|
|
73
|
+
filter?: any;
|
|
74
|
+
name?: string | undefined;
|
|
75
|
+
}[] | undefined;
|
|
76
|
+
}>>>;
|
|
77
|
+
autoCreateInstances: z.ZodOptional<z.ZodBoolean>;
|
|
78
|
+
}, "strip", z.ZodTypeAny, {
|
|
79
|
+
key?: string | undefined;
|
|
80
|
+
name?: string | undefined;
|
|
81
|
+
uuid?: string | undefined;
|
|
82
|
+
description?: string | undefined;
|
|
83
|
+
meta?: Record<string, any> | undefined;
|
|
84
|
+
integrationId?: string | undefined;
|
|
85
|
+
parametersSchema?: DataSchema | undefined;
|
|
86
|
+
universalFlowId?: string | undefined;
|
|
87
|
+
nodes?: Record<string, {
|
|
88
|
+
concurrency?: number | undefined;
|
|
89
|
+
type?: string | undefined;
|
|
90
|
+
name?: string | undefined;
|
|
91
|
+
description?: string | undefined;
|
|
92
|
+
isCustomized?: boolean | undefined;
|
|
93
|
+
inputSchema?: any;
|
|
94
|
+
config?: any;
|
|
95
|
+
outputSchema?: any;
|
|
96
|
+
version?: number | undefined;
|
|
97
|
+
onError?: "stop" | "continue" | undefined;
|
|
98
|
+
ui?: any;
|
|
99
|
+
outputExample?: any;
|
|
100
|
+
links?: {
|
|
101
|
+
key?: string | undefined;
|
|
102
|
+
filter?: any;
|
|
103
|
+
name?: string | undefined;
|
|
104
|
+
}[] | undefined;
|
|
105
|
+
}> | undefined;
|
|
106
|
+
autoCreateInstances?: boolean | undefined;
|
|
107
|
+
}, {
|
|
108
|
+
key?: string | undefined;
|
|
109
|
+
name?: string | undefined;
|
|
110
|
+
uuid?: string | undefined;
|
|
111
|
+
description?: string | undefined;
|
|
112
|
+
meta?: Record<string, any> | undefined;
|
|
113
|
+
integrationId?: string | undefined;
|
|
114
|
+
parametersSchema?: DataSchema | undefined;
|
|
115
|
+
universalFlowId?: string | undefined;
|
|
116
|
+
nodes?: Record<string, {
|
|
117
|
+
concurrency?: number | undefined;
|
|
118
|
+
type?: string | undefined;
|
|
119
|
+
name?: string | undefined;
|
|
120
|
+
description?: string | undefined;
|
|
121
|
+
isCustomized?: boolean | undefined;
|
|
122
|
+
inputSchema?: any;
|
|
123
|
+
config?: any;
|
|
124
|
+
outputSchema?: any;
|
|
125
|
+
version?: number | undefined;
|
|
126
|
+
onError?: "stop" | "continue" | undefined;
|
|
127
|
+
ui?: any;
|
|
128
|
+
outputExample?: any;
|
|
129
|
+
links?: {
|
|
130
|
+
key?: string | undefined;
|
|
131
|
+
filter?: any;
|
|
132
|
+
name?: string | undefined;
|
|
133
|
+
}[] | undefined;
|
|
134
|
+
}> | undefined;
|
|
135
|
+
autoCreateInstances?: boolean | undefined;
|
|
136
|
+
}>;
|
|
137
|
+
export type FlowEditableProperties = z.infer<typeof FlowEditableProperties>;
|
|
138
|
+
export declare const BaseFlow: z.ZodObject<{
|
|
139
|
+
id: z.ZodString;
|
|
140
|
+
key: z.ZodOptional<z.ZodString>;
|
|
141
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
142
|
+
description: z.ZodOptional<z.ZodString>;
|
|
143
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
144
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
145
|
+
universalFlowId: z.ZodOptional<z.ZodString>;
|
|
146
|
+
parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
147
|
+
nodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
148
|
+
type: z.ZodOptional<z.ZodString>;
|
|
149
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
150
|
+
name: z.ZodOptional<z.ZodString>;
|
|
151
|
+
description: z.ZodOptional<z.ZodString>;
|
|
152
|
+
config: z.ZodOptional<z.ZodAny>;
|
|
153
|
+
concurrency: z.ZodOptional<z.ZodNumber>;
|
|
154
|
+
onError: z.ZodOptional<z.ZodEnum<["stop", "continue"]>>;
|
|
155
|
+
ui: z.ZodOptional<z.ZodAny>;
|
|
156
|
+
inputSchema: z.ZodOptional<z.ZodAny>;
|
|
157
|
+
outputSchema: z.ZodOptional<z.ZodAny>;
|
|
158
|
+
outputExample: z.ZodOptional<z.ZodAny>;
|
|
159
|
+
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
160
|
+
key: z.ZodOptional<z.ZodString>;
|
|
161
|
+
filter: z.ZodOptional<z.ZodAny>;
|
|
162
|
+
name: z.ZodOptional<z.ZodString>;
|
|
163
|
+
}, "strip", z.ZodTypeAny, {
|
|
164
|
+
key?: string | undefined;
|
|
165
|
+
filter?: any;
|
|
166
|
+
name?: string | undefined;
|
|
167
|
+
}, {
|
|
168
|
+
key?: string | undefined;
|
|
169
|
+
filter?: any;
|
|
170
|
+
name?: string | undefined;
|
|
171
|
+
}>, "many">>;
|
|
172
|
+
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
173
|
+
}, "strip", z.ZodTypeAny, {
|
|
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
|
+
}, {
|
|
192
|
+
concurrency?: number | undefined;
|
|
193
|
+
type?: string | undefined;
|
|
194
|
+
name?: string | undefined;
|
|
195
|
+
description?: string | undefined;
|
|
196
|
+
isCustomized?: boolean | undefined;
|
|
197
|
+
inputSchema?: any;
|
|
198
|
+
config?: any;
|
|
199
|
+
outputSchema?: any;
|
|
200
|
+
version?: number | undefined;
|
|
201
|
+
onError?: "stop" | "continue" | undefined;
|
|
202
|
+
ui?: any;
|
|
203
|
+
outputExample?: any;
|
|
204
|
+
links?: {
|
|
205
|
+
key?: string | undefined;
|
|
206
|
+
filter?: any;
|
|
207
|
+
name?: string | undefined;
|
|
208
|
+
}[] | undefined;
|
|
209
|
+
}>>>;
|
|
210
|
+
autoCreateInstances: z.ZodOptional<z.ZodBoolean>;
|
|
211
|
+
} & {
|
|
212
|
+
name: z.ZodString;
|
|
213
|
+
state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
214
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
|
|
215
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
216
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
217
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
218
|
+
archivedAt: z.ZodOptional<z.ZodString>;
|
|
219
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
220
|
+
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
221
|
+
universalFlowRevision: z.ZodOptional<z.ZodString>;
|
|
222
|
+
}, "strip", z.ZodTypeAny, {
|
|
223
|
+
id: string;
|
|
224
|
+
name: string;
|
|
225
|
+
key?: string | undefined;
|
|
226
|
+
uuid?: string | undefined;
|
|
227
|
+
description?: string | undefined;
|
|
228
|
+
meta?: Record<string, any> | undefined;
|
|
229
|
+
state?: import("../../types").WorkspaceElementState | undefined;
|
|
230
|
+
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
231
|
+
revision?: string | undefined;
|
|
232
|
+
createdAt?: string | undefined;
|
|
233
|
+
updatedAt?: string | undefined;
|
|
234
|
+
archivedAt?: string | undefined;
|
|
235
|
+
isDeactivated?: boolean | undefined;
|
|
236
|
+
integrationId?: string | undefined;
|
|
237
|
+
isCustomized?: boolean | undefined;
|
|
238
|
+
parametersSchema?: DataSchema | undefined;
|
|
239
|
+
universalFlowId?: string | undefined;
|
|
240
|
+
nodes?: Record<string, {
|
|
241
|
+
concurrency?: number | undefined;
|
|
242
|
+
type?: string | undefined;
|
|
243
|
+
name?: string | undefined;
|
|
244
|
+
description?: string | undefined;
|
|
245
|
+
isCustomized?: boolean | undefined;
|
|
246
|
+
inputSchema?: any;
|
|
247
|
+
config?: any;
|
|
248
|
+
outputSchema?: any;
|
|
249
|
+
version?: number | undefined;
|
|
250
|
+
onError?: "stop" | "continue" | undefined;
|
|
251
|
+
ui?: any;
|
|
252
|
+
outputExample?: any;
|
|
253
|
+
links?: {
|
|
254
|
+
key?: string | undefined;
|
|
255
|
+
filter?: any;
|
|
256
|
+
name?: string | undefined;
|
|
257
|
+
}[] | undefined;
|
|
258
|
+
}> | undefined;
|
|
259
|
+
autoCreateInstances?: boolean | undefined;
|
|
260
|
+
universalFlowRevision?: string | undefined;
|
|
261
|
+
}, {
|
|
262
|
+
id: string;
|
|
263
|
+
name: string;
|
|
264
|
+
key?: string | undefined;
|
|
265
|
+
uuid?: string | undefined;
|
|
266
|
+
description?: string | undefined;
|
|
267
|
+
meta?: Record<string, any> | undefined;
|
|
268
|
+
state?: import("../../types").WorkspaceElementState | undefined;
|
|
269
|
+
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
270
|
+
revision?: string | undefined;
|
|
271
|
+
createdAt?: string | undefined;
|
|
272
|
+
updatedAt?: string | undefined;
|
|
273
|
+
archivedAt?: string | undefined;
|
|
274
|
+
isDeactivated?: boolean | undefined;
|
|
275
|
+
integrationId?: string | undefined;
|
|
276
|
+
isCustomized?: boolean | undefined;
|
|
277
|
+
parametersSchema?: DataSchema | undefined;
|
|
278
|
+
universalFlowId?: string | undefined;
|
|
279
|
+
nodes?: Record<string, {
|
|
280
|
+
concurrency?: number | undefined;
|
|
281
|
+
type?: string | undefined;
|
|
282
|
+
name?: string | undefined;
|
|
283
|
+
description?: string | undefined;
|
|
284
|
+
isCustomized?: boolean | undefined;
|
|
285
|
+
inputSchema?: any;
|
|
286
|
+
config?: any;
|
|
287
|
+
outputSchema?: any;
|
|
288
|
+
version?: number | undefined;
|
|
289
|
+
onError?: "stop" | "continue" | undefined;
|
|
290
|
+
ui?: any;
|
|
291
|
+
outputExample?: any;
|
|
292
|
+
links?: {
|
|
293
|
+
key?: string | undefined;
|
|
294
|
+
filter?: any;
|
|
295
|
+
name?: string | undefined;
|
|
296
|
+
}[] | undefined;
|
|
297
|
+
}> | undefined;
|
|
298
|
+
autoCreateInstances?: boolean | undefined;
|
|
299
|
+
universalFlowRevision?: string | undefined;
|
|
300
|
+
}>;
|
|
301
|
+
export type BaseFlow = z.infer<typeof BaseFlow>;
|
|
@@ -1,5 +1,83 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
1
2
|
import { FieldMappingDirection } from '../../field-mappings';
|
|
2
|
-
|
|
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;
|
|
50
|
+
config?: any;
|
|
51
|
+
outputSchema?: any;
|
|
52
|
+
version?: number | undefined;
|
|
53
|
+
onError?: "stop" | "continue" | undefined;
|
|
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;
|
|
67
|
+
inputSchema?: any;
|
|
68
|
+
config?: any;
|
|
69
|
+
outputSchema?: any;
|
|
70
|
+
version?: number | undefined;
|
|
71
|
+
onError?: "stop" | "continue" | undefined;
|
|
72
|
+
ui?: any;
|
|
73
|
+
outputExample?: any;
|
|
74
|
+
links?: {
|
|
75
|
+
key?: string | undefined;
|
|
76
|
+
filter?: any;
|
|
77
|
+
name?: string | undefined;
|
|
78
|
+
}[] | undefined;
|
|
79
|
+
}>;
|
|
80
|
+
export type FlowNode = z.infer<typeof FlowNode>;
|
|
3
81
|
export interface FlowNodeSpec {
|
|
4
82
|
name: string;
|
|
5
83
|
description: string;
|
|
@@ -5,6 +5,7 @@ export declare const BaseIntegration: z.ZodObject<{
|
|
|
5
5
|
key: z.ZodOptional<z.ZodString>;
|
|
6
6
|
uuid: z.ZodOptional<z.ZodString>;
|
|
7
7
|
description: z.ZodOptional<z.ZodString>;
|
|
8
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8
9
|
name: z.ZodString;
|
|
9
10
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
10
11
|
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
|
|
@@ -39,6 +40,7 @@ export declare const BaseIntegration: z.ZodObject<{
|
|
|
39
40
|
key?: string | undefined;
|
|
40
41
|
uuid?: string | undefined;
|
|
41
42
|
description?: string | undefined;
|
|
43
|
+
meta?: Record<string, any> | undefined;
|
|
42
44
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
43
45
|
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
44
46
|
revision?: string | undefined;
|
|
@@ -70,6 +72,7 @@ export declare const BaseIntegration: z.ZodObject<{
|
|
|
70
72
|
key?: string | undefined;
|
|
71
73
|
uuid?: string | undefined;
|
|
72
74
|
description?: string | undefined;
|
|
75
|
+
meta?: Record<string, any> | undefined;
|
|
73
76
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
74
77
|
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
75
78
|
revision?: string | undefined;
|
|
@@ -106,6 +109,7 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
106
109
|
key: z.ZodOptional<z.ZodString>;
|
|
107
110
|
uuid: z.ZodOptional<z.ZodString>;
|
|
108
111
|
description: z.ZodOptional<z.ZodString>;
|
|
112
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
109
113
|
name: z.ZodString;
|
|
110
114
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
111
115
|
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
|
|
@@ -140,6 +144,7 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
140
144
|
key?: string | undefined;
|
|
141
145
|
uuid?: string | undefined;
|
|
142
146
|
description?: string | undefined;
|
|
147
|
+
meta?: Record<string, any> | undefined;
|
|
143
148
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
144
149
|
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
145
150
|
revision?: string | undefined;
|
|
@@ -171,6 +176,7 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
171
176
|
key?: string | undefined;
|
|
172
177
|
uuid?: string | undefined;
|
|
173
178
|
description?: string | undefined;
|
|
179
|
+
meta?: Record<string, any> | undefined;
|
|
174
180
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
175
181
|
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
176
182
|
revision?: string | undefined;
|
|
@@ -203,6 +209,7 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
203
209
|
key: z.ZodOptional<z.ZodString>;
|
|
204
210
|
uuid: z.ZodOptional<z.ZodString>;
|
|
205
211
|
description: z.ZodOptional<z.ZodString>;
|
|
212
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
206
213
|
name: z.ZodString;
|
|
207
214
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
208
215
|
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
|
|
@@ -237,6 +244,7 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
237
244
|
key?: string | undefined;
|
|
238
245
|
uuid?: string | undefined;
|
|
239
246
|
description?: string | undefined;
|
|
247
|
+
meta?: Record<string, any> | undefined;
|
|
240
248
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
241
249
|
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
242
250
|
revision?: string | undefined;
|
|
@@ -268,6 +276,7 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
268
276
|
key?: string | undefined;
|
|
269
277
|
uuid?: string | undefined;
|
|
270
278
|
description?: string | undefined;
|
|
279
|
+
meta?: Record<string, any> | undefined;
|
|
271
280
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
272
281
|
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
273
282
|
revision?: string | undefined;
|
|
@@ -300,6 +309,7 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
300
309
|
key: z.ZodOptional<z.ZodString>;
|
|
301
310
|
uuid: z.ZodOptional<z.ZodString>;
|
|
302
311
|
description: z.ZodOptional<z.ZodString>;
|
|
312
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
303
313
|
name: z.ZodString;
|
|
304
314
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
305
315
|
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
|
|
@@ -334,6 +344,7 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
334
344
|
key?: string | undefined;
|
|
335
345
|
uuid?: string | undefined;
|
|
336
346
|
description?: string | undefined;
|
|
347
|
+
meta?: Record<string, any> | undefined;
|
|
337
348
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
338
349
|
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
339
350
|
revision?: string | undefined;
|
|
@@ -365,6 +376,7 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
365
376
|
key?: string | undefined;
|
|
366
377
|
uuid?: string | undefined;
|
|
367
378
|
description?: string | undefined;
|
|
379
|
+
meta?: Record<string, any> | undefined;
|
|
368
380
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
369
381
|
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
370
382
|
revision?: string | undefined;
|
|
@@ -397,6 +409,7 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
397
409
|
key: z.ZodOptional<z.ZodString>;
|
|
398
410
|
uuid: z.ZodOptional<z.ZodString>;
|
|
399
411
|
description: z.ZodOptional<z.ZodString>;
|
|
412
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
400
413
|
name: z.ZodString;
|
|
401
414
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
402
415
|
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
|
|
@@ -431,6 +444,7 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
431
444
|
key?: string | undefined;
|
|
432
445
|
uuid?: string | undefined;
|
|
433
446
|
description?: string | undefined;
|
|
447
|
+
meta?: Record<string, any> | undefined;
|
|
434
448
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
435
449
|
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
436
450
|
revision?: string | undefined;
|
|
@@ -462,6 +476,7 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
462
476
|
key?: string | undefined;
|
|
463
477
|
uuid?: string | undefined;
|
|
464
478
|
description?: string | undefined;
|
|
479
|
+
meta?: Record<string, any> | undefined;
|
|
465
480
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
466
481
|
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
467
482
|
revision?: string | undefined;
|
|
@@ -494,6 +509,7 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
494
509
|
key: z.ZodOptional<z.ZodString>;
|
|
495
510
|
uuid: z.ZodOptional<z.ZodString>;
|
|
496
511
|
description: z.ZodOptional<z.ZodString>;
|
|
512
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
497
513
|
name: z.ZodString;
|
|
498
514
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
499
515
|
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
|
|
@@ -528,6 +544,7 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
528
544
|
key?: string | undefined;
|
|
529
545
|
uuid?: string | undefined;
|
|
530
546
|
description?: string | undefined;
|
|
547
|
+
meta?: Record<string, any> | undefined;
|
|
531
548
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
532
549
|
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
533
550
|
revision?: string | undefined;
|
|
@@ -559,6 +576,7 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
559
576
|
key?: string | undefined;
|
|
560
577
|
uuid?: string | undefined;
|
|
561
578
|
description?: string | undefined;
|
|
579
|
+
meta?: Record<string, any> | undefined;
|
|
562
580
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
563
581
|
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
564
582
|
revision?: string | undefined;
|