@membranehq/sdk 0.7.3 → 0.7.5
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 +2283 -14038
- package/dist/bundle.js +3949 -4253
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/connections-accessors.d.ts +28 -28
- package/dist/dts/accessors/integrations-accessors.d.ts +28 -28
- package/dist/dts/config/index.d.ts +1 -11
- package/dist/dts/date-time/business-day.d.ts +2 -0
- package/dist/dts/date-time/business-day.test.d.ts +1 -0
- package/dist/dts/date-time/index.d.ts +1 -0
- package/dist/dts/entity-repository.d.ts +13 -64
- package/dist/dts/http-requests.d.ts +2 -14
- package/dist/dts/iframe.d.ts +4 -12
- package/dist/dts/scenario-templates/index.d.ts +60 -484
- package/dist/dts/workspace-elements/api/action-instances-api.d.ts +17 -248
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +23 -339
- package/dist/dts/workspace-elements/api/actions-api.d.ts +52 -639
- package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +8 -169
- package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +19 -51
- package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +15 -325
- package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +13 -248
- package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +28 -90
- package/dist/dts/workspace-elements/api/connections-api.d.ts +56 -892
- package/dist/dts/workspace-elements/api/customers-api.d.ts +8 -68
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +21 -369
- package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +17 -45
- package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +86 -1359
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +164 -880
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +29 -502
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +29 -506
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +21 -381
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +20 -425
- package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +125 -2363
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +109 -666
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +66 -1229
- package/dist/dts/workspace-elements/api/flows-api.d.ts +273 -1874
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +45 -287
- package/dist/dts/workspace-elements/api/scenarios-api.d.ts +27 -450
- package/dist/dts/workspace-elements/api/screens-api.d.ts +11 -31
- package/dist/dts/workspace-elements/base/action-instances/types.d.ts +6 -60
- package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +3 -28
- package/dist/dts/workspace-elements/base/actions/index.d.ts +10 -82
- package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +4 -47
- package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +3 -36
- package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +6 -75
- package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +6 -69
- package/dist/dts/workspace-elements/base/connections/types.d.ts +11 -56
- package/dist/dts/workspace-elements/base/connectors/types.d.ts +1 -11
- package/dist/dts/workspace-elements/base/customers/index.d.ts +1 -25
- package/dist/dts/workspace-elements/base/data-collections/schemas.d.ts +141 -1471
- package/dist/dts/workspace-elements/base/data-collections/types.d.ts +1 -29
- package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +6 -61
- package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +3 -32
- package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +60 -973
- package/dist/dts/workspace-elements/base/data-sources/index.d.ts +57 -2
- package/dist/dts/workspace-elements/base/external-event-log-records/types.d.ts +4 -26
- package/dist/dts/workspace-elements/base/external-event-pulls/types.d.ts +4 -30
- package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +9 -161
- package/dist/dts/workspace-elements/base/external-events/types.d.ts +7 -121
- package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +10 -77
- package/dist/dts/workspace-elements/base/field-mappings/index.d.ts +71 -1
- package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +16 -194
- package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +15 -132
- package/dist/dts/workspace-elements/base/flow-runs/flow-node-runs.d.ts +29 -284
- package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +13 -93
- package/dist/dts/workspace-elements/base/flows/index.d.ts +80 -1
- package/dist/dts/workspace-elements/base/flows/nodes/base.d.ts +30 -1
- package/dist/dts/workspace-elements/base/flows/nodes/index.d.ts +1 -1
- package/dist/dts/workspace-elements/base/integrations/types.d.ts +23 -539
- package/dist/dts/workspace-elements/base/scenarios/index.d.ts +11 -119
- package/dist/dts/workspace-elements/base/screens/types.d.ts +6 -31
- package/dist/dts/workspace-elements/types.d.ts +15 -153
- package/dist/index.browser.d.mts +7609 -26109
- package/dist/index.browser.d.ts +7609 -26109
- package/dist/index.browser.js +420 -419
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +412 -415
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +7537 -26047
- package/dist/index.node.d.ts +7537 -26047
- package/dist/index.node.js +420 -419
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +412 -415
- package/dist/index.node.mjs.map +1 -1
- package/package.json +2 -2
- 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 -109
- package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +0 -136
- package/dist/dts/workspace-elements/base/flows/types.d.ts +0 -248
|
@@ -1,382 +1,16 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { ConnectionSelector } from './connections-api';
|
|
3
|
+
import { FlowRunApiResponse } from './flow-runs-api';
|
|
3
4
|
import { ElementInstanceSelector, IntegrationSpecificElementSelector } from '../../accessors/base-accessors';
|
|
4
|
-
import { DataSchema } from '../../data-schema';
|
|
5
|
-
export declare const ListFlowsForIntegrationQuery: z.ZodObject<{
|
|
6
|
-
universalFlowId: z.ZodOptional<z.ZodString>;
|
|
7
|
-
} & {
|
|
8
|
-
search: z.ZodOptional<z.ZodString>;
|
|
9
|
-
} & {
|
|
10
|
-
limit: z.ZodOptional<z.ZodNumber>;
|
|
11
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
12
|
-
} & {
|
|
13
|
-
includeArchived: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
|
|
14
|
-
}, "strip", z.ZodTypeAny, {
|
|
15
|
-
search?: string | undefined;
|
|
16
|
-
includeArchived?: boolean | undefined;
|
|
17
|
-
limit?: number | undefined;
|
|
18
|
-
cursor?: string | undefined;
|
|
19
|
-
universalFlowId?: string | undefined;
|
|
20
|
-
}, {
|
|
21
|
-
search?: string | undefined;
|
|
22
|
-
includeArchived?: unknown;
|
|
23
|
-
limit?: number | undefined;
|
|
24
|
-
cursor?: string | undefined;
|
|
25
|
-
universalFlowId?: string | undefined;
|
|
26
|
-
}>;
|
|
27
|
-
export type ListFlowsForIntegrationQuery = z.infer<typeof ListFlowsForIntegrationQuery>;
|
|
28
|
-
export declare const FindFlowsQuery: z.ZodObject<{
|
|
29
|
-
universalFlowId: z.ZodOptional<z.ZodString>;
|
|
30
|
-
} & {
|
|
31
|
-
search: z.ZodOptional<z.ZodString>;
|
|
32
|
-
} & {
|
|
33
|
-
limit: z.ZodOptional<z.ZodNumber>;
|
|
34
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
35
|
-
} & {
|
|
36
|
-
includeArchived: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
|
|
37
|
-
} & {
|
|
38
|
-
integrationId: z.ZodOptional<z.ZodString>;
|
|
39
|
-
}, "strip", z.ZodTypeAny, {
|
|
40
|
-
search?: string | undefined;
|
|
41
|
-
integrationId?: string | undefined;
|
|
42
|
-
includeArchived?: boolean | undefined;
|
|
43
|
-
limit?: number | undefined;
|
|
44
|
-
cursor?: string | undefined;
|
|
45
|
-
universalFlowId?: string | undefined;
|
|
46
|
-
}, {
|
|
47
|
-
search?: string | undefined;
|
|
48
|
-
integrationId?: string | undefined;
|
|
49
|
-
includeArchived?: unknown;
|
|
50
|
-
limit?: number | undefined;
|
|
51
|
-
cursor?: string | undefined;
|
|
52
|
-
universalFlowId?: string | undefined;
|
|
53
|
-
}>;
|
|
54
|
-
export type FindFlowsQuery = z.infer<typeof FindFlowsQuery>;
|
|
55
|
-
export declare const CreateFlowNodeRequest: z.ZodObject<{
|
|
56
|
-
type: z.ZodString;
|
|
57
|
-
config: z.ZodOptional<z.ZodAny>;
|
|
58
|
-
ui: z.ZodOptional<z.ZodAny>;
|
|
59
|
-
links: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodType<{
|
|
60
|
-
key?: string | undefined;
|
|
61
|
-
filter?: any;
|
|
62
|
-
name?: string | undefined;
|
|
63
|
-
}, z.ZodTypeDef, {
|
|
64
|
-
key?: string | undefined;
|
|
65
|
-
filter?: any;
|
|
66
|
-
name?: string | undefined;
|
|
67
|
-
}>>, "many">>;
|
|
68
|
-
}, "strip", z.ZodTypeAny, {
|
|
69
|
-
type: string;
|
|
70
|
-
config?: any;
|
|
71
|
-
ui?: any;
|
|
72
|
-
links?: {
|
|
73
|
-
key?: string | undefined;
|
|
74
|
-
filter?: any;
|
|
75
|
-
name?: string | undefined;
|
|
76
|
-
}[] | undefined;
|
|
77
|
-
}, {
|
|
78
|
-
type: string;
|
|
79
|
-
config?: any;
|
|
80
|
-
ui?: any;
|
|
81
|
-
links?: {
|
|
82
|
-
key?: string | undefined;
|
|
83
|
-
filter?: any;
|
|
84
|
-
name?: string | undefined;
|
|
85
|
-
}[] | undefined;
|
|
86
|
-
}>;
|
|
87
|
-
export type CreateFlowNodeRequest = z.infer<typeof CreateFlowNodeRequest>;
|
|
88
|
-
export declare const CreateFlowRequest: z.ZodObject<{
|
|
89
|
-
key: z.ZodString;
|
|
90
|
-
name: z.ZodString;
|
|
91
|
-
integrationId: z.ZodOptional<z.ZodString>;
|
|
92
|
-
nodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
93
|
-
type: z.ZodString;
|
|
94
|
-
config: z.ZodOptional<z.ZodAny>;
|
|
95
|
-
ui: z.ZodOptional<z.ZodAny>;
|
|
96
|
-
links: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodType<{
|
|
97
|
-
key?: string | undefined;
|
|
98
|
-
filter?: any;
|
|
99
|
-
name?: string | undefined;
|
|
100
|
-
}, z.ZodTypeDef, {
|
|
101
|
-
key?: string | undefined;
|
|
102
|
-
filter?: any;
|
|
103
|
-
name?: string | undefined;
|
|
104
|
-
}>>, "many">>;
|
|
105
|
-
}, "strip", z.ZodTypeAny, {
|
|
106
|
-
type: string;
|
|
107
|
-
config?: any;
|
|
108
|
-
ui?: any;
|
|
109
|
-
links?: {
|
|
110
|
-
key?: string | undefined;
|
|
111
|
-
filter?: any;
|
|
112
|
-
name?: string | undefined;
|
|
113
|
-
}[] | undefined;
|
|
114
|
-
}, {
|
|
115
|
-
type: string;
|
|
116
|
-
config?: any;
|
|
117
|
-
ui?: any;
|
|
118
|
-
links?: {
|
|
119
|
-
key?: string | undefined;
|
|
120
|
-
filter?: any;
|
|
121
|
-
name?: string | undefined;
|
|
122
|
-
}[] | undefined;
|
|
123
|
-
}>>>;
|
|
124
|
-
parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
125
|
-
autoCreateInstances: z.ZodOptional<z.ZodBoolean>;
|
|
126
|
-
}, "strip", z.ZodTypeAny, {
|
|
127
|
-
key: string;
|
|
128
|
-
name: string;
|
|
129
|
-
integrationId?: string | undefined;
|
|
130
|
-
parametersSchema?: DataSchema | undefined;
|
|
131
|
-
nodes?: Record<string, {
|
|
132
|
-
type: string;
|
|
133
|
-
config?: any;
|
|
134
|
-
ui?: any;
|
|
135
|
-
links?: {
|
|
136
|
-
key?: string | undefined;
|
|
137
|
-
filter?: any;
|
|
138
|
-
name?: string | undefined;
|
|
139
|
-
}[] | undefined;
|
|
140
|
-
}> | undefined;
|
|
141
|
-
autoCreateInstances?: boolean | undefined;
|
|
142
|
-
}, {
|
|
143
|
-
key: string;
|
|
144
|
-
name: string;
|
|
145
|
-
integrationId?: string | undefined;
|
|
146
|
-
parametersSchema?: DataSchema | undefined;
|
|
147
|
-
nodes?: Record<string, {
|
|
148
|
-
type: string;
|
|
149
|
-
config?: any;
|
|
150
|
-
ui?: any;
|
|
151
|
-
links?: {
|
|
152
|
-
key?: string | undefined;
|
|
153
|
-
filter?: any;
|
|
154
|
-
name?: string | undefined;
|
|
155
|
-
}[] | undefined;
|
|
156
|
-
}> | undefined;
|
|
157
|
-
autoCreateInstances?: boolean | undefined;
|
|
158
|
-
}>;
|
|
159
|
-
export type CreateFlowRequest = z.infer<typeof CreateFlowRequest>;
|
|
160
|
-
export declare const UpdateFlowRequest: z.ZodObject<{
|
|
161
|
-
key: z.ZodString;
|
|
162
|
-
name: z.ZodString;
|
|
163
|
-
integrationId: z.ZodOptional<z.ZodString>;
|
|
164
|
-
nodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
165
|
-
type: z.ZodString;
|
|
166
|
-
config: z.ZodOptional<z.ZodAny>;
|
|
167
|
-
ui: z.ZodOptional<z.ZodAny>;
|
|
168
|
-
links: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodType<{
|
|
169
|
-
key?: string | undefined;
|
|
170
|
-
filter?: any;
|
|
171
|
-
name?: string | undefined;
|
|
172
|
-
}, z.ZodTypeDef, {
|
|
173
|
-
key?: string | undefined;
|
|
174
|
-
filter?: any;
|
|
175
|
-
name?: string | undefined;
|
|
176
|
-
}>>, "many">>;
|
|
177
|
-
}, "strip", z.ZodTypeAny, {
|
|
178
|
-
type: string;
|
|
179
|
-
config?: any;
|
|
180
|
-
ui?: any;
|
|
181
|
-
links?: {
|
|
182
|
-
key?: string | undefined;
|
|
183
|
-
filter?: any;
|
|
184
|
-
name?: string | undefined;
|
|
185
|
-
}[] | undefined;
|
|
186
|
-
}, {
|
|
187
|
-
type: string;
|
|
188
|
-
config?: any;
|
|
189
|
-
ui?: any;
|
|
190
|
-
links?: {
|
|
191
|
-
key?: string | undefined;
|
|
192
|
-
filter?: any;
|
|
193
|
-
name?: string | undefined;
|
|
194
|
-
}[] | undefined;
|
|
195
|
-
}>>>;
|
|
196
|
-
parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
197
|
-
autoCreateInstances: z.ZodOptional<z.ZodBoolean>;
|
|
198
|
-
} & {
|
|
199
|
-
archivedAt: z.ZodOptional<z.ZodString>;
|
|
200
|
-
}, "strip", z.ZodTypeAny, {
|
|
201
|
-
key: string;
|
|
202
|
-
name: string;
|
|
203
|
-
archivedAt?: string | undefined;
|
|
204
|
-
integrationId?: string | undefined;
|
|
205
|
-
parametersSchema?: DataSchema | undefined;
|
|
206
|
-
nodes?: Record<string, {
|
|
207
|
-
type: string;
|
|
208
|
-
config?: any;
|
|
209
|
-
ui?: any;
|
|
210
|
-
links?: {
|
|
211
|
-
key?: string | undefined;
|
|
212
|
-
filter?: any;
|
|
213
|
-
name?: string | undefined;
|
|
214
|
-
}[] | undefined;
|
|
215
|
-
}> | undefined;
|
|
216
|
-
autoCreateInstances?: boolean | undefined;
|
|
217
|
-
}, {
|
|
218
|
-
key: string;
|
|
219
|
-
name: string;
|
|
220
|
-
archivedAt?: string | undefined;
|
|
221
|
-
integrationId?: string | undefined;
|
|
222
|
-
parametersSchema?: DataSchema | undefined;
|
|
223
|
-
nodes?: Record<string, {
|
|
224
|
-
type: string;
|
|
225
|
-
config?: any;
|
|
226
|
-
ui?: any;
|
|
227
|
-
links?: {
|
|
228
|
-
key?: string | undefined;
|
|
229
|
-
filter?: any;
|
|
230
|
-
name?: string | undefined;
|
|
231
|
-
}[] | undefined;
|
|
232
|
-
}> | undefined;
|
|
233
|
-
autoCreateInstances?: boolean | undefined;
|
|
234
|
-
}>;
|
|
235
|
-
export type UpdateFlowRequest = z.infer<typeof UpdateFlowRequest>;
|
|
236
|
-
export interface FlowSelector extends IntegrationSpecificElementSelector {
|
|
237
|
-
autoCreate?: boolean;
|
|
238
|
-
}
|
|
239
|
-
export declare const ListFlowInstancesForConnectionQuery: z.ZodObject<{
|
|
240
|
-
flowId: z.ZodOptional<z.ZodString>;
|
|
241
|
-
flowKey: z.ZodOptional<z.ZodString>;
|
|
242
|
-
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
243
|
-
} & {
|
|
244
|
-
search: z.ZodOptional<z.ZodString>;
|
|
245
|
-
} & {
|
|
246
|
-
limit: z.ZodOptional<z.ZodNumber>;
|
|
247
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
248
|
-
} & {
|
|
249
|
-
includeArchived: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
|
|
250
|
-
} & {
|
|
251
|
-
userId: z.ZodOptional<z.ZodString>;
|
|
252
|
-
instanceKey: z.ZodOptional<z.ZodString>;
|
|
253
|
-
}, "strip", z.ZodTypeAny, {
|
|
254
|
-
search?: string | undefined;
|
|
255
|
-
includeArchived?: boolean | undefined;
|
|
256
|
-
limit?: number | undefined;
|
|
257
|
-
cursor?: string | undefined;
|
|
258
|
-
userId?: string | undefined;
|
|
259
|
-
instanceKey?: string | undefined;
|
|
260
|
-
flowId?: string | undefined;
|
|
261
|
-
enabled?: boolean | undefined;
|
|
262
|
-
flowKey?: string | undefined;
|
|
263
|
-
}, {
|
|
264
|
-
search?: string | undefined;
|
|
265
|
-
includeArchived?: unknown;
|
|
266
|
-
limit?: number | undefined;
|
|
267
|
-
cursor?: string | undefined;
|
|
268
|
-
userId?: string | undefined;
|
|
269
|
-
instanceKey?: string | undefined;
|
|
270
|
-
flowId?: string | undefined;
|
|
271
|
-
enabled?: boolean | undefined;
|
|
272
|
-
flowKey?: string | undefined;
|
|
273
|
-
}>;
|
|
274
|
-
export type ListFlowInstancesForConnectionQuery = z.infer<typeof ListFlowInstancesForConnectionQuery>;
|
|
275
|
-
export declare const FindFlowInstancesQuery: z.ZodObject<{
|
|
276
|
-
flowId: z.ZodOptional<z.ZodString>;
|
|
277
|
-
flowKey: z.ZodOptional<z.ZodString>;
|
|
278
|
-
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
279
|
-
} & {
|
|
280
|
-
search: z.ZodOptional<z.ZodString>;
|
|
281
|
-
} & {
|
|
282
|
-
limit: z.ZodOptional<z.ZodNumber>;
|
|
283
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
284
|
-
} & {
|
|
285
|
-
includeArchived: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
|
|
286
|
-
} & {
|
|
287
|
-
userId: z.ZodOptional<z.ZodString>;
|
|
288
|
-
instanceKey: z.ZodOptional<z.ZodString>;
|
|
289
|
-
} & {
|
|
290
|
-
connectionId: z.ZodOptional<z.ZodString>;
|
|
291
|
-
integrationId: z.ZodOptional<z.ZodString>;
|
|
292
|
-
integrationKey: z.ZodOptional<z.ZodString>;
|
|
293
|
-
}, "strip", z.ZodTypeAny, {
|
|
294
|
-
search?: string | undefined;
|
|
295
|
-
integrationId?: string | undefined;
|
|
296
|
-
includeArchived?: boolean | undefined;
|
|
297
|
-
limit?: number | undefined;
|
|
298
|
-
cursor?: string | undefined;
|
|
299
|
-
userId?: string | undefined;
|
|
300
|
-
instanceKey?: string | undefined;
|
|
301
|
-
connectionId?: string | undefined;
|
|
302
|
-
integrationKey?: string | undefined;
|
|
303
|
-
flowId?: string | undefined;
|
|
304
|
-
enabled?: boolean | undefined;
|
|
305
|
-
flowKey?: string | undefined;
|
|
306
|
-
}, {
|
|
307
|
-
search?: string | undefined;
|
|
308
|
-
integrationId?: string | undefined;
|
|
309
|
-
includeArchived?: unknown;
|
|
310
|
-
limit?: number | undefined;
|
|
311
|
-
cursor?: string | undefined;
|
|
312
|
-
userId?: string | undefined;
|
|
313
|
-
instanceKey?: string | undefined;
|
|
314
|
-
connectionId?: string | undefined;
|
|
315
|
-
integrationKey?: string | undefined;
|
|
316
|
-
flowId?: string | undefined;
|
|
317
|
-
enabled?: boolean | undefined;
|
|
318
|
-
flowKey?: string | undefined;
|
|
319
|
-
}>;
|
|
320
|
-
export type FindFlowInstancesQuery = z.infer<typeof FindFlowInstancesQuery>;
|
|
321
|
-
export interface FlowInstanceSelector extends ConnectionSelector, ElementInstanceSelector {
|
|
322
|
-
flowId?: string;
|
|
323
|
-
flowKey?: string;
|
|
324
|
-
instanceKey?: string;
|
|
325
|
-
autoUpdate?: boolean;
|
|
326
|
-
}
|
|
327
|
-
export declare const ResetFlowInstanceOptions: z.ZodObject<{
|
|
328
|
-
name: z.ZodOptional<z.ZodBoolean>;
|
|
329
|
-
nodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
330
|
-
allNodes: z.ZodOptional<z.ZodBoolean>;
|
|
331
|
-
}, "strip", z.ZodTypeAny, {
|
|
332
|
-
name?: boolean | undefined;
|
|
333
|
-
nodes?: Record<string, boolean> | undefined;
|
|
334
|
-
allNodes?: boolean | undefined;
|
|
335
|
-
}, {
|
|
336
|
-
name?: boolean | undefined;
|
|
337
|
-
nodes?: Record<string, boolean> | undefined;
|
|
338
|
-
allNodes?: boolean | undefined;
|
|
339
|
-
}>;
|
|
340
|
-
export type ResetFlowInstanceOptions = z.infer<typeof ResetFlowInstanceOptions>;
|
|
341
|
-
export declare const RunFlowOptions: z.ZodObject<{
|
|
342
|
-
nodeKey: z.ZodOptional<z.ZodString>;
|
|
343
|
-
input: z.ZodOptional<z.ZodAny>;
|
|
344
|
-
returnImmediately: z.ZodOptional<z.ZodBoolean>;
|
|
345
|
-
onUpdate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnknown>>;
|
|
346
|
-
}, "strip", z.ZodTypeAny, {
|
|
347
|
-
input?: any;
|
|
348
|
-
nodeKey?: string | undefined;
|
|
349
|
-
returnImmediately?: boolean | undefined;
|
|
350
|
-
onUpdate?: ((...args: unknown[]) => unknown) | undefined;
|
|
351
|
-
}, {
|
|
352
|
-
input?: any;
|
|
353
|
-
nodeKey?: string | undefined;
|
|
354
|
-
returnImmediately?: boolean | undefined;
|
|
355
|
-
onUpdate?: ((...args: unknown[]) => unknown) | undefined;
|
|
356
|
-
}>;
|
|
357
|
-
export type RunFlowOptions = z.infer<typeof RunFlowOptions>;
|
|
358
5
|
export declare const FlowApiResponse: z.ZodObject<{
|
|
359
6
|
id: z.ZodString;
|
|
360
7
|
key: z.ZodOptional<z.ZodString>;
|
|
361
|
-
uuid: z.ZodOptional<z.ZodString>;
|
|
362
8
|
description: z.ZodOptional<z.ZodString>;
|
|
9
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
363
10
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
364
11
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
365
|
-
parentId: z.ZodOptional<z.ZodString>;
|
|
366
|
-
} & {
|
|
367
|
-
name: z.ZodString;
|
|
368
|
-
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
369
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
|
|
370
|
-
revision: z.ZodOptional<z.ZodString>;
|
|
371
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
372
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
373
|
-
archivedAt: z.ZodOptional<z.ZodString>;
|
|
374
|
-
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
375
|
-
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
376
|
-
} & {
|
|
377
12
|
universalFlowId: z.ZodOptional<z.ZodString>;
|
|
378
|
-
|
|
379
|
-
parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
13
|
+
parametersSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, unknown, z.core.$ZodTypeInternals<import("../..").DataSchema, unknown>>>;
|
|
380
14
|
nodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
381
15
|
type: z.ZodOptional<z.ZodString>;
|
|
382
16
|
version: z.ZodOptional<z.ZodNumber>;
|
|
@@ -384,7 +18,10 @@ export declare const FlowApiResponse: z.ZodObject<{
|
|
|
384
18
|
description: z.ZodOptional<z.ZodString>;
|
|
385
19
|
config: z.ZodOptional<z.ZodAny>;
|
|
386
20
|
concurrency: z.ZodOptional<z.ZodNumber>;
|
|
387
|
-
onError: z.ZodOptional<z.ZodEnum<
|
|
21
|
+
onError: z.ZodOptional<z.ZodEnum<{
|
|
22
|
+
continue: "continue";
|
|
23
|
+
stop: "stop";
|
|
24
|
+
}>>;
|
|
388
25
|
ui: z.ZodOptional<z.ZodAny>;
|
|
389
26
|
inputSchema: z.ZodOptional<z.ZodAny>;
|
|
390
27
|
outputSchema: z.ZodOptional<z.ZodAny>;
|
|
@@ -393,55 +30,20 @@ export declare const FlowApiResponse: z.ZodObject<{
|
|
|
393
30
|
key: z.ZodOptional<z.ZodString>;
|
|
394
31
|
filter: z.ZodOptional<z.ZodAny>;
|
|
395
32
|
name: z.ZodOptional<z.ZodString>;
|
|
396
|
-
},
|
|
397
|
-
key?: string | undefined;
|
|
398
|
-
filter?: any;
|
|
399
|
-
name?: string | undefined;
|
|
400
|
-
}, {
|
|
401
|
-
key?: string | undefined;
|
|
402
|
-
filter?: any;
|
|
403
|
-
name?: string | undefined;
|
|
404
|
-
}>, "many">>;
|
|
33
|
+
}, z.core.$strip>>>;
|
|
405
34
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
406
|
-
},
|
|
407
|
-
concurrency?: number | undefined;
|
|
408
|
-
type?: string | undefined;
|
|
409
|
-
name?: string | undefined;
|
|
410
|
-
description?: string | undefined;
|
|
411
|
-
isCustomized?: boolean | undefined;
|
|
412
|
-
inputSchema?: any;
|
|
413
|
-
config?: any;
|
|
414
|
-
outputSchema?: any;
|
|
415
|
-
version?: number | undefined;
|
|
416
|
-
onError?: "stop" | "continue" | undefined;
|
|
417
|
-
ui?: any;
|
|
418
|
-
outputExample?: any;
|
|
419
|
-
links?: {
|
|
420
|
-
key?: string | undefined;
|
|
421
|
-
filter?: any;
|
|
422
|
-
name?: string | undefined;
|
|
423
|
-
}[] | undefined;
|
|
424
|
-
}, {
|
|
425
|
-
concurrency?: number | undefined;
|
|
426
|
-
type?: string | undefined;
|
|
427
|
-
name?: string | undefined;
|
|
428
|
-
description?: string | undefined;
|
|
429
|
-
isCustomized?: boolean | undefined;
|
|
430
|
-
inputSchema?: any;
|
|
431
|
-
config?: any;
|
|
432
|
-
outputSchema?: any;
|
|
433
|
-
version?: number | undefined;
|
|
434
|
-
onError?: "stop" | "continue" | undefined;
|
|
435
|
-
ui?: any;
|
|
436
|
-
outputExample?: any;
|
|
437
|
-
links?: {
|
|
438
|
-
key?: string | undefined;
|
|
439
|
-
filter?: any;
|
|
440
|
-
name?: string | undefined;
|
|
441
|
-
}[] | undefined;
|
|
442
|
-
}>>>;
|
|
35
|
+
}, z.core.$strip>>>;
|
|
443
36
|
autoCreateInstances: z.ZodOptional<z.ZodBoolean>;
|
|
444
|
-
|
|
37
|
+
name: z.ZodString;
|
|
38
|
+
state: z.ZodOptional<z.ZodEnum<typeof import("..").WorkspaceElementState>>;
|
|
39
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../..").ErrorDataSchema, unknown>>>>;
|
|
40
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
41
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
42
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
43
|
+
archivedAt: z.ZodOptional<z.ZodString>;
|
|
44
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
45
|
+
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
46
|
+
universalFlowRevision: z.ZodOptional<z.ZodString>;
|
|
445
47
|
integration: z.ZodOptional<z.ZodObject<{
|
|
446
48
|
id: z.ZodString;
|
|
447
49
|
key: z.ZodOptional<z.ZodString>;
|
|
@@ -449,12 +51,11 @@ export declare const FlowApiResponse: z.ZodObject<{
|
|
|
449
51
|
description: z.ZodOptional<z.ZodString>;
|
|
450
52
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
451
53
|
name: z.ZodString;
|
|
452
|
-
state: z.ZodOptional<z.
|
|
453
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.
|
|
54
|
+
state: z.ZodOptional<z.ZodEnum<typeof import("..").WorkspaceElementState>>;
|
|
55
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../..").ErrorDataSchema, unknown>>>>;
|
|
454
56
|
revision: z.ZodOptional<z.ZodString>;
|
|
455
57
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
456
58
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
457
|
-
} & {
|
|
458
59
|
logoUri: z.ZodString;
|
|
459
60
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
460
61
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
@@ -474,89 +75,22 @@ export declare const FlowApiResponse: z.ZodObject<{
|
|
|
474
75
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
475
76
|
appUuid: z.ZodOptional<z.ZodString>;
|
|
476
77
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
477
|
-
authType: z.ZodOptional<z.ZodEnum<
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
487
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
488
|
-
revision?: string | undefined;
|
|
489
|
-
createdAt?: string | undefined;
|
|
490
|
-
updatedAt?: string | undefined;
|
|
491
|
-
archivedAt?: string | undefined;
|
|
492
|
-
isDeactivated?: boolean | undefined;
|
|
493
|
-
parameters?: any;
|
|
494
|
-
connectorId?: string | undefined;
|
|
495
|
-
connectorVersion?: string | undefined;
|
|
496
|
-
oAuthCallbackUri?: string | undefined;
|
|
497
|
-
hasMissingParameters?: boolean | undefined;
|
|
498
|
-
hasDocumentation?: boolean | undefined;
|
|
499
|
-
hasOperations?: boolean | undefined;
|
|
500
|
-
operationsCount?: number | undefined;
|
|
501
|
-
hasData?: boolean | undefined;
|
|
502
|
-
dataCollectionsCount?: number | undefined;
|
|
503
|
-
hasEvents?: boolean | undefined;
|
|
504
|
-
eventsCount?: number | undefined;
|
|
505
|
-
hasGlobalWebhooks?: boolean | undefined;
|
|
506
|
-
hasUdm?: boolean | undefined;
|
|
507
|
-
isTest?: boolean | undefined;
|
|
508
|
-
appUuid?: string | undefined;
|
|
509
|
-
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
510
|
-
}, {
|
|
511
|
-
id: string;
|
|
512
|
-
name: string;
|
|
513
|
-
logoUri: string;
|
|
514
|
-
key?: string | undefined;
|
|
515
|
-
uuid?: string | undefined;
|
|
516
|
-
description?: string | undefined;
|
|
517
|
-
meta?: Record<string, any> | undefined;
|
|
518
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
519
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
520
|
-
revision?: string | undefined;
|
|
521
|
-
createdAt?: string | undefined;
|
|
522
|
-
updatedAt?: string | undefined;
|
|
523
|
-
archivedAt?: string | undefined;
|
|
524
|
-
isDeactivated?: boolean | undefined;
|
|
525
|
-
parameters?: any;
|
|
526
|
-
connectorId?: string | undefined;
|
|
527
|
-
connectorVersion?: string | undefined;
|
|
528
|
-
oAuthCallbackUri?: string | undefined;
|
|
529
|
-
hasMissingParameters?: boolean | undefined;
|
|
530
|
-
hasDocumentation?: boolean | undefined;
|
|
531
|
-
hasOperations?: boolean | undefined;
|
|
532
|
-
operationsCount?: number | undefined;
|
|
533
|
-
hasData?: boolean | undefined;
|
|
534
|
-
dataCollectionsCount?: number | undefined;
|
|
535
|
-
hasEvents?: boolean | undefined;
|
|
536
|
-
eventsCount?: number | undefined;
|
|
537
|
-
hasGlobalWebhooks?: boolean | undefined;
|
|
538
|
-
hasUdm?: boolean | undefined;
|
|
539
|
-
isTest?: boolean | undefined;
|
|
540
|
-
appUuid?: string | undefined;
|
|
541
|
-
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
542
|
-
}>>;
|
|
78
|
+
authType: z.ZodOptional<z.ZodEnum<{
|
|
79
|
+
proxy: "proxy";
|
|
80
|
+
"integration-app-token": "integration-app-token";
|
|
81
|
+
"membrane-token": "membrane-token";
|
|
82
|
+
oauth2: "oauth2";
|
|
83
|
+
oauth1: "oauth1";
|
|
84
|
+
"client-credentials": "client-credentials";
|
|
85
|
+
}>>;
|
|
86
|
+
}, z.core.$strip>>;
|
|
543
87
|
appliedToIntegrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
544
88
|
element: z.ZodObject<{
|
|
545
89
|
id: z.ZodString;
|
|
546
90
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
547
91
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
548
92
|
universalFlowId: z.ZodOptional<z.ZodString>;
|
|
549
|
-
},
|
|
550
|
-
id: string;
|
|
551
|
-
integrationId?: string | undefined;
|
|
552
|
-
isCustomized?: boolean | undefined;
|
|
553
|
-
universalFlowId?: string | undefined;
|
|
554
|
-
}, {
|
|
555
|
-
id: string;
|
|
556
|
-
integrationId?: string | undefined;
|
|
557
|
-
isCustomized?: boolean | undefined;
|
|
558
|
-
universalFlowId?: string | undefined;
|
|
559
|
-
}>;
|
|
93
|
+
}, z.core.$strip>;
|
|
560
94
|
integration: z.ZodObject<{
|
|
561
95
|
id: z.ZodString;
|
|
562
96
|
key: z.ZodOptional<z.ZodString>;
|
|
@@ -564,12 +98,11 @@ export declare const FlowApiResponse: z.ZodObject<{
|
|
|
564
98
|
description: z.ZodOptional<z.ZodString>;
|
|
565
99
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
566
100
|
name: z.ZodString;
|
|
567
|
-
state: z.ZodOptional<z.
|
|
568
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.
|
|
101
|
+
state: z.ZodOptional<z.ZodEnum<typeof import("..").WorkspaceElementState>>;
|
|
102
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../..").ErrorDataSchema, unknown>>>>;
|
|
569
103
|
revision: z.ZodOptional<z.ZodString>;
|
|
570
104
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
571
105
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
572
|
-
} & {
|
|
573
106
|
logoUri: z.ZodString;
|
|
574
107
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
575
108
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
@@ -589,387 +122,146 @@ export declare const FlowApiResponse: z.ZodObject<{
|
|
|
589
122
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
590
123
|
appUuid: z.ZodOptional<z.ZodString>;
|
|
591
124
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
592
|
-
authType: z.ZodOptional<z.ZodEnum<
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
createdAt?: string | undefined;
|
|
605
|
-
updatedAt?: string | undefined;
|
|
606
|
-
archivedAt?: string | undefined;
|
|
607
|
-
isDeactivated?: boolean | undefined;
|
|
608
|
-
parameters?: any;
|
|
609
|
-
connectorId?: string | undefined;
|
|
610
|
-
connectorVersion?: string | undefined;
|
|
611
|
-
oAuthCallbackUri?: string | undefined;
|
|
612
|
-
hasMissingParameters?: boolean | undefined;
|
|
613
|
-
hasDocumentation?: boolean | undefined;
|
|
614
|
-
hasOperations?: boolean | undefined;
|
|
615
|
-
operationsCount?: number | undefined;
|
|
616
|
-
hasData?: boolean | undefined;
|
|
617
|
-
dataCollectionsCount?: number | undefined;
|
|
618
|
-
hasEvents?: boolean | undefined;
|
|
619
|
-
eventsCount?: number | undefined;
|
|
620
|
-
hasGlobalWebhooks?: boolean | undefined;
|
|
621
|
-
hasUdm?: boolean | undefined;
|
|
622
|
-
isTest?: boolean | undefined;
|
|
623
|
-
appUuid?: string | undefined;
|
|
624
|
-
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
625
|
-
}, {
|
|
626
|
-
id: string;
|
|
627
|
-
name: string;
|
|
628
|
-
logoUri: string;
|
|
629
|
-
key?: string | undefined;
|
|
630
|
-
uuid?: string | undefined;
|
|
631
|
-
description?: string | undefined;
|
|
632
|
-
meta?: Record<string, any> | undefined;
|
|
633
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
634
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
635
|
-
revision?: string | undefined;
|
|
636
|
-
createdAt?: string | undefined;
|
|
637
|
-
updatedAt?: string | undefined;
|
|
638
|
-
archivedAt?: string | undefined;
|
|
639
|
-
isDeactivated?: boolean | undefined;
|
|
640
|
-
parameters?: any;
|
|
641
|
-
connectorId?: string | undefined;
|
|
642
|
-
connectorVersion?: string | undefined;
|
|
643
|
-
oAuthCallbackUri?: string | undefined;
|
|
644
|
-
hasMissingParameters?: boolean | undefined;
|
|
645
|
-
hasDocumentation?: boolean | undefined;
|
|
646
|
-
hasOperations?: boolean | undefined;
|
|
647
|
-
operationsCount?: number | undefined;
|
|
648
|
-
hasData?: boolean | undefined;
|
|
649
|
-
dataCollectionsCount?: number | undefined;
|
|
650
|
-
hasEvents?: boolean | undefined;
|
|
651
|
-
eventsCount?: number | undefined;
|
|
652
|
-
hasGlobalWebhooks?: boolean | undefined;
|
|
653
|
-
hasUdm?: boolean | undefined;
|
|
654
|
-
isTest?: boolean | undefined;
|
|
655
|
-
appUuid?: string | undefined;
|
|
656
|
-
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
657
|
-
}>;
|
|
658
|
-
}, "strip", z.ZodTypeAny, {
|
|
659
|
-
integration: {
|
|
660
|
-
id: string;
|
|
661
|
-
name: string;
|
|
662
|
-
logoUri: string;
|
|
663
|
-
key?: string | undefined;
|
|
664
|
-
uuid?: string | undefined;
|
|
665
|
-
description?: string | undefined;
|
|
666
|
-
meta?: Record<string, any> | undefined;
|
|
667
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
668
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
669
|
-
revision?: string | undefined;
|
|
670
|
-
createdAt?: string | undefined;
|
|
671
|
-
updatedAt?: string | undefined;
|
|
672
|
-
archivedAt?: string | undefined;
|
|
673
|
-
isDeactivated?: boolean | undefined;
|
|
674
|
-
parameters?: any;
|
|
675
|
-
connectorId?: string | undefined;
|
|
676
|
-
connectorVersion?: string | undefined;
|
|
677
|
-
oAuthCallbackUri?: string | undefined;
|
|
678
|
-
hasMissingParameters?: boolean | undefined;
|
|
679
|
-
hasDocumentation?: boolean | undefined;
|
|
680
|
-
hasOperations?: boolean | undefined;
|
|
681
|
-
operationsCount?: number | undefined;
|
|
682
|
-
hasData?: boolean | undefined;
|
|
683
|
-
dataCollectionsCount?: number | undefined;
|
|
684
|
-
hasEvents?: boolean | undefined;
|
|
685
|
-
eventsCount?: number | undefined;
|
|
686
|
-
hasGlobalWebhooks?: boolean | undefined;
|
|
687
|
-
hasUdm?: boolean | undefined;
|
|
688
|
-
isTest?: boolean | undefined;
|
|
689
|
-
appUuid?: string | undefined;
|
|
690
|
-
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
691
|
-
};
|
|
692
|
-
element: {
|
|
693
|
-
id: string;
|
|
694
|
-
integrationId?: string | undefined;
|
|
695
|
-
isCustomized?: boolean | undefined;
|
|
696
|
-
universalFlowId?: string | undefined;
|
|
697
|
-
};
|
|
698
|
-
}, {
|
|
699
|
-
integration: {
|
|
700
|
-
id: string;
|
|
701
|
-
name: string;
|
|
702
|
-
logoUri: string;
|
|
703
|
-
key?: string | undefined;
|
|
704
|
-
uuid?: string | undefined;
|
|
705
|
-
description?: string | undefined;
|
|
706
|
-
meta?: Record<string, any> | undefined;
|
|
707
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
708
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
709
|
-
revision?: string | undefined;
|
|
710
|
-
createdAt?: string | undefined;
|
|
711
|
-
updatedAt?: string | undefined;
|
|
712
|
-
archivedAt?: string | undefined;
|
|
713
|
-
isDeactivated?: boolean | undefined;
|
|
714
|
-
parameters?: any;
|
|
715
|
-
connectorId?: string | undefined;
|
|
716
|
-
connectorVersion?: string | undefined;
|
|
717
|
-
oAuthCallbackUri?: string | undefined;
|
|
718
|
-
hasMissingParameters?: boolean | undefined;
|
|
719
|
-
hasDocumentation?: boolean | undefined;
|
|
720
|
-
hasOperations?: boolean | undefined;
|
|
721
|
-
operationsCount?: number | undefined;
|
|
722
|
-
hasData?: boolean | undefined;
|
|
723
|
-
dataCollectionsCount?: number | undefined;
|
|
724
|
-
hasEvents?: boolean | undefined;
|
|
725
|
-
eventsCount?: number | undefined;
|
|
726
|
-
hasGlobalWebhooks?: boolean | undefined;
|
|
727
|
-
hasUdm?: boolean | undefined;
|
|
728
|
-
isTest?: boolean | undefined;
|
|
729
|
-
appUuid?: string | undefined;
|
|
730
|
-
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
731
|
-
};
|
|
732
|
-
element: {
|
|
733
|
-
id: string;
|
|
734
|
-
integrationId?: string | undefined;
|
|
735
|
-
isCustomized?: boolean | undefined;
|
|
736
|
-
universalFlowId?: string | undefined;
|
|
737
|
-
};
|
|
738
|
-
}>, "many">>;
|
|
739
|
-
dependencies: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
740
|
-
}, "strip", z.ZodTypeAny, {
|
|
741
|
-
id: string;
|
|
742
|
-
name: string;
|
|
743
|
-
key?: string | undefined;
|
|
744
|
-
integration?: {
|
|
745
|
-
id: string;
|
|
746
|
-
name: string;
|
|
747
|
-
logoUri: string;
|
|
748
|
-
key?: string | undefined;
|
|
749
|
-
uuid?: string | undefined;
|
|
750
|
-
description?: string | undefined;
|
|
751
|
-
meta?: Record<string, any> | undefined;
|
|
752
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
753
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
754
|
-
revision?: string | undefined;
|
|
755
|
-
createdAt?: string | undefined;
|
|
756
|
-
updatedAt?: string | undefined;
|
|
757
|
-
archivedAt?: string | undefined;
|
|
758
|
-
isDeactivated?: boolean | undefined;
|
|
759
|
-
parameters?: any;
|
|
760
|
-
connectorId?: string | undefined;
|
|
761
|
-
connectorVersion?: string | undefined;
|
|
762
|
-
oAuthCallbackUri?: string | undefined;
|
|
763
|
-
hasMissingParameters?: boolean | undefined;
|
|
764
|
-
hasDocumentation?: boolean | undefined;
|
|
765
|
-
hasOperations?: boolean | undefined;
|
|
766
|
-
operationsCount?: number | undefined;
|
|
767
|
-
hasData?: boolean | undefined;
|
|
768
|
-
dataCollectionsCount?: number | undefined;
|
|
769
|
-
hasEvents?: boolean | undefined;
|
|
770
|
-
eventsCount?: number | undefined;
|
|
771
|
-
hasGlobalWebhooks?: boolean | undefined;
|
|
772
|
-
hasUdm?: boolean | undefined;
|
|
773
|
-
isTest?: boolean | undefined;
|
|
774
|
-
appUuid?: string | undefined;
|
|
775
|
-
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
776
|
-
} | undefined;
|
|
777
|
-
uuid?: string | undefined;
|
|
778
|
-
description?: string | undefined;
|
|
779
|
-
meta?: Record<string, any> | undefined;
|
|
780
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
781
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
782
|
-
revision?: string | undefined;
|
|
783
|
-
createdAt?: string | undefined;
|
|
784
|
-
updatedAt?: string | undefined;
|
|
785
|
-
archivedAt?: string | undefined;
|
|
786
|
-
isDeactivated?: boolean | undefined;
|
|
787
|
-
integrationId?: string | undefined;
|
|
788
|
-
parentId?: string | undefined;
|
|
789
|
-
isCustomized?: boolean | undefined;
|
|
790
|
-
parametersSchema?: DataSchema | undefined;
|
|
791
|
-
appliedToIntegrations?: {
|
|
792
|
-
integration: {
|
|
793
|
-
id: string;
|
|
794
|
-
name: string;
|
|
795
|
-
logoUri: string;
|
|
796
|
-
key?: string | undefined;
|
|
797
|
-
uuid?: string | undefined;
|
|
798
|
-
description?: string | undefined;
|
|
799
|
-
meta?: Record<string, any> | undefined;
|
|
800
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
801
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
802
|
-
revision?: string | undefined;
|
|
803
|
-
createdAt?: string | undefined;
|
|
804
|
-
updatedAt?: string | undefined;
|
|
805
|
-
archivedAt?: string | undefined;
|
|
806
|
-
isDeactivated?: boolean | undefined;
|
|
807
|
-
parameters?: any;
|
|
808
|
-
connectorId?: string | undefined;
|
|
809
|
-
connectorVersion?: string | undefined;
|
|
810
|
-
oAuthCallbackUri?: string | undefined;
|
|
811
|
-
hasMissingParameters?: boolean | undefined;
|
|
812
|
-
hasDocumentation?: boolean | undefined;
|
|
813
|
-
hasOperations?: boolean | undefined;
|
|
814
|
-
operationsCount?: number | undefined;
|
|
815
|
-
hasData?: boolean | undefined;
|
|
816
|
-
dataCollectionsCount?: number | undefined;
|
|
817
|
-
hasEvents?: boolean | undefined;
|
|
818
|
-
eventsCount?: number | undefined;
|
|
819
|
-
hasGlobalWebhooks?: boolean | undefined;
|
|
820
|
-
hasUdm?: boolean | undefined;
|
|
821
|
-
isTest?: boolean | undefined;
|
|
822
|
-
appUuid?: string | undefined;
|
|
823
|
-
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
824
|
-
};
|
|
825
|
-
element: {
|
|
826
|
-
id: string;
|
|
827
|
-
integrationId?: string | undefined;
|
|
828
|
-
isCustomized?: boolean | undefined;
|
|
829
|
-
universalFlowId?: string | undefined;
|
|
830
|
-
};
|
|
831
|
-
}[] | undefined;
|
|
832
|
-
dependencies?: any[] | undefined;
|
|
833
|
-
universalFlowId?: string | undefined;
|
|
834
|
-
universalFlowRevision?: string | undefined;
|
|
835
|
-
nodes?: Record<string, {
|
|
836
|
-
concurrency?: number | undefined;
|
|
837
|
-
type?: string | undefined;
|
|
838
|
-
name?: string | undefined;
|
|
839
|
-
description?: string | undefined;
|
|
840
|
-
isCustomized?: boolean | undefined;
|
|
841
|
-
inputSchema?: any;
|
|
842
|
-
config?: any;
|
|
843
|
-
outputSchema?: any;
|
|
844
|
-
version?: number | undefined;
|
|
845
|
-
onError?: "stop" | "continue" | undefined;
|
|
846
|
-
ui?: any;
|
|
847
|
-
outputExample?: any;
|
|
848
|
-
links?: {
|
|
849
|
-
key?: string | undefined;
|
|
850
|
-
filter?: any;
|
|
851
|
-
name?: string | undefined;
|
|
852
|
-
}[] | undefined;
|
|
853
|
-
}> | undefined;
|
|
854
|
-
autoCreateInstances?: boolean | undefined;
|
|
855
|
-
}, {
|
|
856
|
-
id: string;
|
|
857
|
-
name: string;
|
|
858
|
-
key?: string | undefined;
|
|
859
|
-
integration?: {
|
|
860
|
-
id: string;
|
|
861
|
-
name: string;
|
|
862
|
-
logoUri: string;
|
|
863
|
-
key?: string | undefined;
|
|
864
|
-
uuid?: string | undefined;
|
|
865
|
-
description?: string | undefined;
|
|
866
|
-
meta?: Record<string, any> | undefined;
|
|
867
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
868
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
869
|
-
revision?: string | undefined;
|
|
870
|
-
createdAt?: string | undefined;
|
|
871
|
-
updatedAt?: string | undefined;
|
|
872
|
-
archivedAt?: string | undefined;
|
|
873
|
-
isDeactivated?: boolean | undefined;
|
|
874
|
-
parameters?: any;
|
|
875
|
-
connectorId?: string | undefined;
|
|
876
|
-
connectorVersion?: string | undefined;
|
|
877
|
-
oAuthCallbackUri?: string | undefined;
|
|
878
|
-
hasMissingParameters?: boolean | undefined;
|
|
879
|
-
hasDocumentation?: boolean | undefined;
|
|
880
|
-
hasOperations?: boolean | undefined;
|
|
881
|
-
operationsCount?: number | undefined;
|
|
882
|
-
hasData?: boolean | undefined;
|
|
883
|
-
dataCollectionsCount?: number | undefined;
|
|
884
|
-
hasEvents?: boolean | undefined;
|
|
885
|
-
eventsCount?: number | undefined;
|
|
886
|
-
hasGlobalWebhooks?: boolean | undefined;
|
|
887
|
-
hasUdm?: boolean | undefined;
|
|
888
|
-
isTest?: boolean | undefined;
|
|
889
|
-
appUuid?: string | undefined;
|
|
890
|
-
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
891
|
-
} | undefined;
|
|
892
|
-
uuid?: string | undefined;
|
|
893
|
-
description?: string | undefined;
|
|
894
|
-
meta?: Record<string, any> | undefined;
|
|
895
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
896
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
897
|
-
revision?: string | undefined;
|
|
898
|
-
createdAt?: string | undefined;
|
|
899
|
-
updatedAt?: string | undefined;
|
|
900
|
-
archivedAt?: string | undefined;
|
|
901
|
-
isDeactivated?: boolean | undefined;
|
|
902
|
-
integrationId?: string | undefined;
|
|
903
|
-
parentId?: string | undefined;
|
|
904
|
-
isCustomized?: boolean | undefined;
|
|
905
|
-
parametersSchema?: DataSchema | undefined;
|
|
906
|
-
appliedToIntegrations?: {
|
|
907
|
-
integration: {
|
|
908
|
-
id: string;
|
|
909
|
-
name: string;
|
|
910
|
-
logoUri: string;
|
|
911
|
-
key?: string | undefined;
|
|
912
|
-
uuid?: string | undefined;
|
|
913
|
-
description?: string | undefined;
|
|
914
|
-
meta?: Record<string, any> | undefined;
|
|
915
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
916
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
917
|
-
revision?: string | undefined;
|
|
918
|
-
createdAt?: string | undefined;
|
|
919
|
-
updatedAt?: string | undefined;
|
|
920
|
-
archivedAt?: string | undefined;
|
|
921
|
-
isDeactivated?: boolean | undefined;
|
|
922
|
-
parameters?: any;
|
|
923
|
-
connectorId?: string | undefined;
|
|
924
|
-
connectorVersion?: string | undefined;
|
|
925
|
-
oAuthCallbackUri?: string | undefined;
|
|
926
|
-
hasMissingParameters?: boolean | undefined;
|
|
927
|
-
hasDocumentation?: boolean | undefined;
|
|
928
|
-
hasOperations?: boolean | undefined;
|
|
929
|
-
operationsCount?: number | undefined;
|
|
930
|
-
hasData?: boolean | undefined;
|
|
931
|
-
dataCollectionsCount?: number | undefined;
|
|
932
|
-
hasEvents?: boolean | undefined;
|
|
933
|
-
eventsCount?: number | undefined;
|
|
934
|
-
hasGlobalWebhooks?: boolean | undefined;
|
|
935
|
-
hasUdm?: boolean | undefined;
|
|
936
|
-
isTest?: boolean | undefined;
|
|
937
|
-
appUuid?: string | undefined;
|
|
938
|
-
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
939
|
-
};
|
|
940
|
-
element: {
|
|
941
|
-
id: string;
|
|
942
|
-
integrationId?: string | undefined;
|
|
943
|
-
isCustomized?: boolean | undefined;
|
|
944
|
-
universalFlowId?: string | undefined;
|
|
945
|
-
};
|
|
946
|
-
}[] | undefined;
|
|
947
|
-
dependencies?: any[] | undefined;
|
|
948
|
-
universalFlowId?: string | undefined;
|
|
949
|
-
universalFlowRevision?: string | undefined;
|
|
950
|
-
nodes?: Record<string, {
|
|
951
|
-
concurrency?: number | undefined;
|
|
952
|
-
type?: string | undefined;
|
|
953
|
-
name?: string | undefined;
|
|
954
|
-
description?: string | undefined;
|
|
955
|
-
isCustomized?: boolean | undefined;
|
|
956
|
-
inputSchema?: any;
|
|
957
|
-
config?: any;
|
|
958
|
-
outputSchema?: any;
|
|
959
|
-
version?: number | undefined;
|
|
960
|
-
onError?: "stop" | "continue" | undefined;
|
|
961
|
-
ui?: any;
|
|
962
|
-
outputExample?: any;
|
|
963
|
-
links?: {
|
|
964
|
-
key?: string | undefined;
|
|
965
|
-
filter?: any;
|
|
966
|
-
name?: string | undefined;
|
|
967
|
-
}[] | undefined;
|
|
968
|
-
}> | undefined;
|
|
969
|
-
autoCreateInstances?: boolean | undefined;
|
|
970
|
-
}>;
|
|
125
|
+
authType: z.ZodOptional<z.ZodEnum<{
|
|
126
|
+
proxy: "proxy";
|
|
127
|
+
"integration-app-token": "integration-app-token";
|
|
128
|
+
"membrane-token": "membrane-token";
|
|
129
|
+
oauth2: "oauth2";
|
|
130
|
+
oauth1: "oauth1";
|
|
131
|
+
"client-credentials": "client-credentials";
|
|
132
|
+
}>>;
|
|
133
|
+
}, z.core.$strip>;
|
|
134
|
+
}, z.core.$strip>>>;
|
|
135
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
136
|
+
}, z.core.$strip>;
|
|
971
137
|
export type FlowApiResponse = z.infer<typeof FlowApiResponse>;
|
|
972
138
|
export type Flow = FlowApiResponse;
|
|
139
|
+
export declare const FindFlowsQuery: z.ZodObject<{
|
|
140
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
141
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
142
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
143
|
+
integrationKey: z.ZodOptional<z.ZodString>;
|
|
144
|
+
universalFlowId: z.ZodOptional<z.ZodString>;
|
|
145
|
+
search: z.ZodOptional<z.ZodString>;
|
|
146
|
+
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
147
|
+
}, z.core.$strip>;
|
|
148
|
+
export type FindFlowsQuery = z.infer<typeof FindFlowsQuery>;
|
|
149
|
+
export declare const CreateFlowRequest: z.ZodObject<{
|
|
150
|
+
key: z.ZodOptional<z.ZodString>;
|
|
151
|
+
description: z.ZodOptional<z.ZodString>;
|
|
152
|
+
name: z.ZodOptional<z.ZodString>;
|
|
153
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
154
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
155
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
156
|
+
universalFlowId: z.ZodOptional<z.ZodString>;
|
|
157
|
+
parametersSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, unknown, z.core.$ZodTypeInternals<import("../..").DataSchema, unknown>>>;
|
|
158
|
+
nodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
159
|
+
type: z.ZodOptional<z.ZodString>;
|
|
160
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
161
|
+
name: z.ZodOptional<z.ZodString>;
|
|
162
|
+
description: z.ZodOptional<z.ZodString>;
|
|
163
|
+
config: z.ZodOptional<z.ZodAny>;
|
|
164
|
+
concurrency: z.ZodOptional<z.ZodNumber>;
|
|
165
|
+
onError: z.ZodOptional<z.ZodEnum<{
|
|
166
|
+
continue: "continue";
|
|
167
|
+
stop: "stop";
|
|
168
|
+
}>>;
|
|
169
|
+
ui: z.ZodOptional<z.ZodAny>;
|
|
170
|
+
inputSchema: z.ZodOptional<z.ZodAny>;
|
|
171
|
+
outputSchema: z.ZodOptional<z.ZodAny>;
|
|
172
|
+
outputExample: z.ZodOptional<z.ZodAny>;
|
|
173
|
+
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
174
|
+
key: z.ZodOptional<z.ZodString>;
|
|
175
|
+
filter: z.ZodOptional<z.ZodAny>;
|
|
176
|
+
name: z.ZodOptional<z.ZodString>;
|
|
177
|
+
}, z.core.$strip>>>;
|
|
178
|
+
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
179
|
+
}, z.core.$strip>>>;
|
|
180
|
+
autoCreateInstances: z.ZodOptional<z.ZodBoolean>;
|
|
181
|
+
}, z.core.$strip>;
|
|
182
|
+
export type CreateFlowRequest = z.infer<typeof CreateFlowRequest>;
|
|
183
|
+
export declare const UpdateFlowRequest: z.ZodObject<{
|
|
184
|
+
key: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
185
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
186
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
187
|
+
uuid: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
188
|
+
meta: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
189
|
+
integrationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
190
|
+
universalFlowId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
191
|
+
parametersSchema: z.ZodOptional<z.ZodOptional<z.ZodType<import("../..").DataSchema, unknown, z.core.$ZodTypeInternals<import("../..").DataSchema, unknown>>>>;
|
|
192
|
+
nodes: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
193
|
+
type: z.ZodOptional<z.ZodString>;
|
|
194
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
195
|
+
name: z.ZodOptional<z.ZodString>;
|
|
196
|
+
description: z.ZodOptional<z.ZodString>;
|
|
197
|
+
config: z.ZodOptional<z.ZodAny>;
|
|
198
|
+
concurrency: z.ZodOptional<z.ZodNumber>;
|
|
199
|
+
onError: z.ZodOptional<z.ZodEnum<{
|
|
200
|
+
continue: "continue";
|
|
201
|
+
stop: "stop";
|
|
202
|
+
}>>;
|
|
203
|
+
ui: z.ZodOptional<z.ZodAny>;
|
|
204
|
+
inputSchema: z.ZodOptional<z.ZodAny>;
|
|
205
|
+
outputSchema: z.ZodOptional<z.ZodAny>;
|
|
206
|
+
outputExample: z.ZodOptional<z.ZodAny>;
|
|
207
|
+
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
208
|
+
key: z.ZodOptional<z.ZodString>;
|
|
209
|
+
filter: z.ZodOptional<z.ZodAny>;
|
|
210
|
+
name: z.ZodOptional<z.ZodString>;
|
|
211
|
+
}, z.core.$strip>>>;
|
|
212
|
+
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
213
|
+
}, z.core.$strip>>>>;
|
|
214
|
+
autoCreateInstances: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
215
|
+
}, z.core.$strip>;
|
|
216
|
+
export type UpdateFlowRequest = z.infer<typeof UpdateFlowRequest>;
|
|
217
|
+
export interface FlowSelector extends IntegrationSpecificElementSelector {
|
|
218
|
+
autoCreate?: boolean;
|
|
219
|
+
}
|
|
220
|
+
export declare const ListFlowInstancesForConnectionQuery: z.ZodObject<{
|
|
221
|
+
flowId: z.ZodOptional<z.ZodString>;
|
|
222
|
+
flowKey: z.ZodOptional<z.ZodString>;
|
|
223
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
224
|
+
search: z.ZodOptional<z.ZodString>;
|
|
225
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
226
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
227
|
+
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
228
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
229
|
+
instanceKey: z.ZodOptional<z.ZodString>;
|
|
230
|
+
}, z.core.$strip>;
|
|
231
|
+
export type ListFlowInstancesForConnectionQuery = z.infer<typeof ListFlowInstancesForConnectionQuery>;
|
|
232
|
+
export declare const FindFlowInstancesQuery: z.ZodObject<{
|
|
233
|
+
flowId: z.ZodOptional<z.ZodString>;
|
|
234
|
+
flowKey: z.ZodOptional<z.ZodString>;
|
|
235
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
236
|
+
search: z.ZodOptional<z.ZodString>;
|
|
237
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
238
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
239
|
+
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
240
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
241
|
+
instanceKey: z.ZodOptional<z.ZodString>;
|
|
242
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
243
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
244
|
+
integrationKey: z.ZodOptional<z.ZodString>;
|
|
245
|
+
}, z.core.$strip>;
|
|
246
|
+
export type FindFlowInstancesQuery = z.infer<typeof FindFlowInstancesQuery>;
|
|
247
|
+
export interface FlowInstanceSelector extends ConnectionSelector, ElementInstanceSelector {
|
|
248
|
+
flowId?: string;
|
|
249
|
+
flowKey?: string;
|
|
250
|
+
instanceKey?: string;
|
|
251
|
+
autoUpdate?: boolean;
|
|
252
|
+
}
|
|
253
|
+
export declare const ResetFlowInstanceOptions: z.ZodObject<{
|
|
254
|
+
name: z.ZodOptional<z.ZodBoolean>;
|
|
255
|
+
nodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
256
|
+
allNodes: z.ZodOptional<z.ZodBoolean>;
|
|
257
|
+
}, z.core.$strip>;
|
|
258
|
+
export type ResetFlowInstanceOptions = z.infer<typeof ResetFlowInstanceOptions>;
|
|
259
|
+
export interface RunFlowOptions {
|
|
260
|
+
nodeKey?: string;
|
|
261
|
+
input?: any;
|
|
262
|
+
returnImmediately?: boolean;
|
|
263
|
+
onUpdate?: (flowRun: FlowRunApiResponse) => void;
|
|
264
|
+
}
|
|
973
265
|
export declare const FlowInstanceApiResponse: z.ZodObject<{
|
|
974
266
|
id: z.ZodString;
|
|
975
267
|
key: z.ZodOptional<z.ZodString>;
|
|
@@ -977,11 +269,10 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
|
|
|
977
269
|
description: z.ZodOptional<z.ZodString>;
|
|
978
270
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
979
271
|
name: z.ZodString;
|
|
980
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.
|
|
272
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../..").ErrorDataSchema, unknown>>>>;
|
|
981
273
|
revision: z.ZodOptional<z.ZodString>;
|
|
982
274
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
983
275
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
984
|
-
} & {
|
|
985
276
|
userId: z.ZodString;
|
|
986
277
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
987
278
|
flowId: z.ZodOptional<z.ZodString>;
|
|
@@ -989,108 +280,88 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
|
|
|
989
280
|
integrationId: z.ZodString;
|
|
990
281
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
991
282
|
parameters: z.ZodOptional<z.ZodAny>;
|
|
992
|
-
parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.
|
|
283
|
+
parametersSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, unknown, z.core.$ZodTypeInternals<import("../..").DataSchema, unknown>>>;
|
|
993
284
|
nodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
994
285
|
enabled: z.ZodBoolean;
|
|
995
286
|
createdAt: z.ZodString;
|
|
996
287
|
updatedAt: z.ZodString;
|
|
997
|
-
state: z.ZodOptional<z.
|
|
288
|
+
state: z.ZodOptional<z.ZodEnum<typeof import("..").WorkspaceElementState>>;
|
|
998
289
|
customized: z.ZodOptional<z.ZodObject<{
|
|
999
290
|
name: z.ZodOptional<z.ZodBoolean>;
|
|
1000
291
|
nodes: z.ZodOptional<z.ZodBoolean>;
|
|
1001
|
-
},
|
|
1002
|
-
|
|
1003
|
-
nodes?: boolean | undefined;
|
|
1004
|
-
}, {
|
|
1005
|
-
name?: boolean | undefined;
|
|
1006
|
-
nodes?: boolean | undefined;
|
|
1007
|
-
}>>;
|
|
1008
|
-
dependencies: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
1009
|
-
} & {
|
|
292
|
+
}, z.core.$strip>>;
|
|
293
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
1010
294
|
user: z.ZodOptional<z.ZodLazy<z.ZodType<{
|
|
1011
295
|
id: string;
|
|
1012
296
|
name: string;
|
|
1013
|
-
internalId: string;
|
|
1014
|
-
meta?: Record<string, any> | undefined;
|
|
1015
|
-
createdAt?: string | undefined;
|
|
1016
|
-
archivedAt?: string | undefined;
|
|
1017
|
-
credentials?: any;
|
|
297
|
+
internalId: string;
|
|
298
|
+
meta?: Record<string, any> | undefined;
|
|
1018
299
|
fields?: Record<string, any> | undefined;
|
|
1019
|
-
|
|
300
|
+
credentials?: any;
|
|
1020
301
|
lastActiveAt?: string | undefined;
|
|
302
|
+
isTest?: boolean | undefined;
|
|
1021
303
|
isBillable?: boolean | undefined;
|
|
1022
|
-
|
|
304
|
+
createdAt?: string | undefined;
|
|
305
|
+
archivedAt?: string | undefined;
|
|
306
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
1023
307
|
id: string;
|
|
1024
308
|
name: string;
|
|
1025
309
|
internalId: string;
|
|
1026
310
|
meta?: Record<string, any> | undefined;
|
|
1027
|
-
createdAt?: string | undefined;
|
|
1028
|
-
archivedAt?: string | undefined;
|
|
1029
|
-
credentials?: any;
|
|
1030
311
|
fields?: Record<string, any> | undefined;
|
|
1031
|
-
|
|
312
|
+
credentials?: any;
|
|
1032
313
|
lastActiveAt?: string | undefined;
|
|
314
|
+
isTest?: boolean | undefined;
|
|
1033
315
|
isBillable?: boolean | undefined;
|
|
1034
|
-
|
|
316
|
+
createdAt?: string | undefined;
|
|
317
|
+
archivedAt?: string | undefined;
|
|
318
|
+
}, unknown>>>>;
|
|
1035
319
|
connection: z.ZodOptional<z.ZodLazy<z.ZodType<{
|
|
1036
320
|
id: string;
|
|
1037
321
|
name: string;
|
|
322
|
+
userId: string;
|
|
323
|
+
integrationId: string;
|
|
1038
324
|
createdAt: string;
|
|
1039
325
|
updatedAt: string;
|
|
1040
|
-
integrationId: string;
|
|
1041
|
-
userId: string;
|
|
1042
|
-
error?: import("../..").ErrorDataSchema | undefined;
|
|
1043
|
-
meta?: Record<string, any> | undefined;
|
|
1044
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
1045
|
-
archivedAt?: string | undefined;
|
|
1046
|
-
isDeactivated?: boolean | undefined;
|
|
1047
|
-
authOptionKey?: string | undefined;
|
|
1048
326
|
isTest?: boolean | undefined;
|
|
1049
327
|
disconnected?: boolean | undefined;
|
|
1050
328
|
isDefunct?: boolean | undefined;
|
|
329
|
+
state?: import("..").WorkspaceElementState | undefined;
|
|
330
|
+
error?: import("../..").ErrorDataSchema | undefined;
|
|
331
|
+
authOptionKey?: string | undefined;
|
|
1051
332
|
lastActiveAt?: string | undefined;
|
|
1052
333
|
nextCredentialsRefreshAt?: string | undefined;
|
|
1053
|
-
|
|
334
|
+
archivedAt?: string | undefined;
|
|
335
|
+
isDeactivated?: boolean | undefined;
|
|
336
|
+
meta?: Record<string, any> | undefined;
|
|
337
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
1054
338
|
id: string;
|
|
1055
339
|
name: string;
|
|
340
|
+
userId: string;
|
|
341
|
+
integrationId: string;
|
|
1056
342
|
createdAt: string;
|
|
1057
343
|
updatedAt: string;
|
|
1058
|
-
integrationId: string;
|
|
1059
|
-
userId: string;
|
|
1060
|
-
error?: import("../..").ErrorDataSchema | undefined;
|
|
1061
|
-
meta?: Record<string, any> | undefined;
|
|
1062
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
1063
|
-
archivedAt?: string | undefined;
|
|
1064
|
-
isDeactivated?: boolean | undefined;
|
|
1065
|
-
authOptionKey?: string | undefined;
|
|
1066
344
|
isTest?: boolean | undefined;
|
|
1067
345
|
disconnected?: boolean | undefined;
|
|
1068
346
|
isDefunct?: boolean | undefined;
|
|
347
|
+
state?: import("..").WorkspaceElementState | undefined;
|
|
348
|
+
error?: import("../..").ErrorDataSchema | undefined;
|
|
349
|
+
authOptionKey?: string | undefined;
|
|
1069
350
|
lastActiveAt?: string | undefined;
|
|
1070
351
|
nextCredentialsRefreshAt?: string | undefined;
|
|
1071
|
-
|
|
352
|
+
archivedAt?: string | undefined;
|
|
353
|
+
isDeactivated?: boolean | undefined;
|
|
354
|
+
meta?: Record<string, any> | undefined;
|
|
355
|
+
}, unknown>>>>;
|
|
1072
356
|
flow: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
1073
357
|
id: z.ZodString;
|
|
1074
358
|
key: z.ZodOptional<z.ZodString>;
|
|
1075
|
-
uuid: z.ZodOptional<z.ZodString>;
|
|
1076
359
|
description: z.ZodOptional<z.ZodString>;
|
|
360
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
1077
361
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1078
362
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
1079
|
-
parentId: z.ZodOptional<z.ZodString>;
|
|
1080
|
-
} & {
|
|
1081
|
-
name: z.ZodString;
|
|
1082
|
-
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
1083
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
|
|
1084
|
-
revision: z.ZodOptional<z.ZodString>;
|
|
1085
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
1086
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1087
|
-
archivedAt: z.ZodOptional<z.ZodString>;
|
|
1088
|
-
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
1089
|
-
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
1090
|
-
} & {
|
|
1091
363
|
universalFlowId: z.ZodOptional<z.ZodString>;
|
|
1092
|
-
|
|
1093
|
-
parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
364
|
+
parametersSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, unknown, z.core.$ZodTypeInternals<import("../..").DataSchema, unknown>>>;
|
|
1094
365
|
nodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1095
366
|
type: z.ZodOptional<z.ZodString>;
|
|
1096
367
|
version: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1098,7 +369,10 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
|
|
|
1098
369
|
description: z.ZodOptional<z.ZodString>;
|
|
1099
370
|
config: z.ZodOptional<z.ZodAny>;
|
|
1100
371
|
concurrency: z.ZodOptional<z.ZodNumber>;
|
|
1101
|
-
onError: z.ZodOptional<z.ZodEnum<
|
|
372
|
+
onError: z.ZodOptional<z.ZodEnum<{
|
|
373
|
+
continue: "continue";
|
|
374
|
+
stop: "stop";
|
|
375
|
+
}>>;
|
|
1102
376
|
ui: z.ZodOptional<z.ZodAny>;
|
|
1103
377
|
inputSchema: z.ZodOptional<z.ZodAny>;
|
|
1104
378
|
outputSchema: z.ZodOptional<z.ZodAny>;
|
|
@@ -1107,55 +381,20 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
|
|
|
1107
381
|
key: z.ZodOptional<z.ZodString>;
|
|
1108
382
|
filter: z.ZodOptional<z.ZodAny>;
|
|
1109
383
|
name: z.ZodOptional<z.ZodString>;
|
|
1110
|
-
},
|
|
1111
|
-
key?: string | undefined;
|
|
1112
|
-
filter?: any;
|
|
1113
|
-
name?: string | undefined;
|
|
1114
|
-
}, {
|
|
1115
|
-
key?: string | undefined;
|
|
1116
|
-
filter?: any;
|
|
1117
|
-
name?: string | undefined;
|
|
1118
|
-
}>, "many">>;
|
|
384
|
+
}, z.core.$strip>>>;
|
|
1119
385
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
1120
|
-
},
|
|
1121
|
-
concurrency?: number | undefined;
|
|
1122
|
-
type?: string | undefined;
|
|
1123
|
-
name?: string | undefined;
|
|
1124
|
-
description?: string | undefined;
|
|
1125
|
-
isCustomized?: boolean | undefined;
|
|
1126
|
-
inputSchema?: any;
|
|
1127
|
-
config?: any;
|
|
1128
|
-
outputSchema?: any;
|
|
1129
|
-
version?: number | undefined;
|
|
1130
|
-
onError?: "stop" | "continue" | undefined;
|
|
1131
|
-
ui?: any;
|
|
1132
|
-
outputExample?: any;
|
|
1133
|
-
links?: {
|
|
1134
|
-
key?: string | undefined;
|
|
1135
|
-
filter?: any;
|
|
1136
|
-
name?: string | undefined;
|
|
1137
|
-
}[] | undefined;
|
|
1138
|
-
}, {
|
|
1139
|
-
concurrency?: number | undefined;
|
|
1140
|
-
type?: string | undefined;
|
|
1141
|
-
name?: string | undefined;
|
|
1142
|
-
description?: string | undefined;
|
|
1143
|
-
isCustomized?: boolean | undefined;
|
|
1144
|
-
inputSchema?: any;
|
|
1145
|
-
config?: any;
|
|
1146
|
-
outputSchema?: any;
|
|
1147
|
-
version?: number | undefined;
|
|
1148
|
-
onError?: "stop" | "continue" | undefined;
|
|
1149
|
-
ui?: any;
|
|
1150
|
-
outputExample?: any;
|
|
1151
|
-
links?: {
|
|
1152
|
-
key?: string | undefined;
|
|
1153
|
-
filter?: any;
|
|
1154
|
-
name?: string | undefined;
|
|
1155
|
-
}[] | undefined;
|
|
1156
|
-
}>>>;
|
|
386
|
+
}, z.core.$strip>>>;
|
|
1157
387
|
autoCreateInstances: z.ZodOptional<z.ZodBoolean>;
|
|
1158
|
-
|
|
388
|
+
name: z.ZodString;
|
|
389
|
+
state: z.ZodOptional<z.ZodEnum<typeof import("..").WorkspaceElementState>>;
|
|
390
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../..").ErrorDataSchema, unknown>>>>;
|
|
391
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
392
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
393
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
394
|
+
archivedAt: z.ZodOptional<z.ZodString>;
|
|
395
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
396
|
+
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
397
|
+
universalFlowRevision: z.ZodOptional<z.ZodString>;
|
|
1159
398
|
integration: z.ZodOptional<z.ZodObject<{
|
|
1160
399
|
id: z.ZodString;
|
|
1161
400
|
key: z.ZodOptional<z.ZodString>;
|
|
@@ -1163,12 +402,11 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
|
|
|
1163
402
|
description: z.ZodOptional<z.ZodString>;
|
|
1164
403
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1165
404
|
name: z.ZodString;
|
|
1166
|
-
state: z.ZodOptional<z.
|
|
1167
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.
|
|
405
|
+
state: z.ZodOptional<z.ZodEnum<typeof import("..").WorkspaceElementState>>;
|
|
406
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../..").ErrorDataSchema, unknown>>>>;
|
|
1168
407
|
revision: z.ZodOptional<z.ZodString>;
|
|
1169
408
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
1170
409
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1171
|
-
} & {
|
|
1172
410
|
logoUri: z.ZodString;
|
|
1173
411
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
1174
412
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
@@ -1188,89 +426,22 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
|
|
|
1188
426
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
1189
427
|
appUuid: z.ZodOptional<z.ZodString>;
|
|
1190
428
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
1191
|
-
authType: z.ZodOptional<z.ZodEnum<
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
1201
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
1202
|
-
revision?: string | undefined;
|
|
1203
|
-
createdAt?: string | undefined;
|
|
1204
|
-
updatedAt?: string | undefined;
|
|
1205
|
-
archivedAt?: string | undefined;
|
|
1206
|
-
isDeactivated?: boolean | undefined;
|
|
1207
|
-
parameters?: any;
|
|
1208
|
-
connectorId?: string | undefined;
|
|
1209
|
-
connectorVersion?: string | undefined;
|
|
1210
|
-
oAuthCallbackUri?: string | undefined;
|
|
1211
|
-
hasMissingParameters?: boolean | undefined;
|
|
1212
|
-
hasDocumentation?: boolean | undefined;
|
|
1213
|
-
hasOperations?: boolean | undefined;
|
|
1214
|
-
operationsCount?: number | undefined;
|
|
1215
|
-
hasData?: boolean | undefined;
|
|
1216
|
-
dataCollectionsCount?: number | undefined;
|
|
1217
|
-
hasEvents?: boolean | undefined;
|
|
1218
|
-
eventsCount?: number | undefined;
|
|
1219
|
-
hasGlobalWebhooks?: boolean | undefined;
|
|
1220
|
-
hasUdm?: boolean | undefined;
|
|
1221
|
-
isTest?: boolean | undefined;
|
|
1222
|
-
appUuid?: string | undefined;
|
|
1223
|
-
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
1224
|
-
}, {
|
|
1225
|
-
id: string;
|
|
1226
|
-
name: string;
|
|
1227
|
-
logoUri: string;
|
|
1228
|
-
key?: string | undefined;
|
|
1229
|
-
uuid?: string | undefined;
|
|
1230
|
-
description?: string | undefined;
|
|
1231
|
-
meta?: Record<string, any> | undefined;
|
|
1232
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
1233
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
1234
|
-
revision?: string | undefined;
|
|
1235
|
-
createdAt?: string | undefined;
|
|
1236
|
-
updatedAt?: string | undefined;
|
|
1237
|
-
archivedAt?: string | undefined;
|
|
1238
|
-
isDeactivated?: boolean | undefined;
|
|
1239
|
-
parameters?: any;
|
|
1240
|
-
connectorId?: string | undefined;
|
|
1241
|
-
connectorVersion?: string | undefined;
|
|
1242
|
-
oAuthCallbackUri?: string | undefined;
|
|
1243
|
-
hasMissingParameters?: boolean | undefined;
|
|
1244
|
-
hasDocumentation?: boolean | undefined;
|
|
1245
|
-
hasOperations?: boolean | undefined;
|
|
1246
|
-
operationsCount?: number | undefined;
|
|
1247
|
-
hasData?: boolean | undefined;
|
|
1248
|
-
dataCollectionsCount?: number | undefined;
|
|
1249
|
-
hasEvents?: boolean | undefined;
|
|
1250
|
-
eventsCount?: number | undefined;
|
|
1251
|
-
hasGlobalWebhooks?: boolean | undefined;
|
|
1252
|
-
hasUdm?: boolean | undefined;
|
|
1253
|
-
isTest?: boolean | undefined;
|
|
1254
|
-
appUuid?: string | undefined;
|
|
1255
|
-
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
1256
|
-
}>>;
|
|
429
|
+
authType: z.ZodOptional<z.ZodEnum<{
|
|
430
|
+
proxy: "proxy";
|
|
431
|
+
"integration-app-token": "integration-app-token";
|
|
432
|
+
"membrane-token": "membrane-token";
|
|
433
|
+
oauth2: "oauth2";
|
|
434
|
+
oauth1: "oauth1";
|
|
435
|
+
"client-credentials": "client-credentials";
|
|
436
|
+
}>>;
|
|
437
|
+
}, z.core.$strip>>;
|
|
1257
438
|
appliedToIntegrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1258
439
|
element: z.ZodObject<{
|
|
1259
440
|
id: z.ZodString;
|
|
1260
441
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
1261
442
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
1262
443
|
universalFlowId: z.ZodOptional<z.ZodString>;
|
|
1263
|
-
},
|
|
1264
|
-
id: string;
|
|
1265
|
-
integrationId?: string | undefined;
|
|
1266
|
-
isCustomized?: boolean | undefined;
|
|
1267
|
-
universalFlowId?: string | undefined;
|
|
1268
|
-
}, {
|
|
1269
|
-
id: string;
|
|
1270
|
-
integrationId?: string | undefined;
|
|
1271
|
-
isCustomized?: boolean | undefined;
|
|
1272
|
-
universalFlowId?: string | undefined;
|
|
1273
|
-
}>;
|
|
444
|
+
}, z.core.$strip>;
|
|
1274
445
|
integration: z.ZodObject<{
|
|
1275
446
|
id: z.ZodString;
|
|
1276
447
|
key: z.ZodOptional<z.ZodString>;
|
|
@@ -1278,12 +449,11 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
|
|
|
1278
449
|
description: z.ZodOptional<z.ZodString>;
|
|
1279
450
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1280
451
|
name: z.ZodString;
|
|
1281
|
-
state: z.ZodOptional<z.
|
|
1282
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.
|
|
452
|
+
state: z.ZodOptional<z.ZodEnum<typeof import("..").WorkspaceElementState>>;
|
|
453
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../..").ErrorDataSchema, unknown>>>>;
|
|
1283
454
|
revision: z.ZodOptional<z.ZodString>;
|
|
1284
455
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
1285
456
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1286
|
-
} & {
|
|
1287
457
|
logoUri: z.ZodString;
|
|
1288
458
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
1289
459
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
@@ -1303,385 +473,18 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
|
|
|
1303
473
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
1304
474
|
appUuid: z.ZodOptional<z.ZodString>;
|
|
1305
475
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
1306
|
-
authType: z.ZodOptional<z.ZodEnum<
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
createdAt?: string | undefined;
|
|
1319
|
-
updatedAt?: string | undefined;
|
|
1320
|
-
archivedAt?: string | undefined;
|
|
1321
|
-
isDeactivated?: boolean | undefined;
|
|
1322
|
-
parameters?: any;
|
|
1323
|
-
connectorId?: string | undefined;
|
|
1324
|
-
connectorVersion?: string | undefined;
|
|
1325
|
-
oAuthCallbackUri?: string | undefined;
|
|
1326
|
-
hasMissingParameters?: boolean | undefined;
|
|
1327
|
-
hasDocumentation?: boolean | undefined;
|
|
1328
|
-
hasOperations?: boolean | undefined;
|
|
1329
|
-
operationsCount?: number | undefined;
|
|
1330
|
-
hasData?: boolean | undefined;
|
|
1331
|
-
dataCollectionsCount?: number | undefined;
|
|
1332
|
-
hasEvents?: boolean | undefined;
|
|
1333
|
-
eventsCount?: number | undefined;
|
|
1334
|
-
hasGlobalWebhooks?: boolean | undefined;
|
|
1335
|
-
hasUdm?: boolean | undefined;
|
|
1336
|
-
isTest?: boolean | undefined;
|
|
1337
|
-
appUuid?: string | undefined;
|
|
1338
|
-
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
1339
|
-
}, {
|
|
1340
|
-
id: string;
|
|
1341
|
-
name: string;
|
|
1342
|
-
logoUri: string;
|
|
1343
|
-
key?: string | undefined;
|
|
1344
|
-
uuid?: string | undefined;
|
|
1345
|
-
description?: string | undefined;
|
|
1346
|
-
meta?: Record<string, any> | undefined;
|
|
1347
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
1348
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
1349
|
-
revision?: string | undefined;
|
|
1350
|
-
createdAt?: string | undefined;
|
|
1351
|
-
updatedAt?: string | undefined;
|
|
1352
|
-
archivedAt?: string | undefined;
|
|
1353
|
-
isDeactivated?: boolean | undefined;
|
|
1354
|
-
parameters?: any;
|
|
1355
|
-
connectorId?: string | undefined;
|
|
1356
|
-
connectorVersion?: string | undefined;
|
|
1357
|
-
oAuthCallbackUri?: string | undefined;
|
|
1358
|
-
hasMissingParameters?: boolean | undefined;
|
|
1359
|
-
hasDocumentation?: boolean | undefined;
|
|
1360
|
-
hasOperations?: boolean | undefined;
|
|
1361
|
-
operationsCount?: number | undefined;
|
|
1362
|
-
hasData?: boolean | undefined;
|
|
1363
|
-
dataCollectionsCount?: number | undefined;
|
|
1364
|
-
hasEvents?: boolean | undefined;
|
|
1365
|
-
eventsCount?: number | undefined;
|
|
1366
|
-
hasGlobalWebhooks?: boolean | undefined;
|
|
1367
|
-
hasUdm?: boolean | undefined;
|
|
1368
|
-
isTest?: boolean | undefined;
|
|
1369
|
-
appUuid?: string | undefined;
|
|
1370
|
-
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
1371
|
-
}>;
|
|
1372
|
-
}, "strip", z.ZodTypeAny, {
|
|
1373
|
-
integration: {
|
|
1374
|
-
id: string;
|
|
1375
|
-
name: string;
|
|
1376
|
-
logoUri: string;
|
|
1377
|
-
key?: string | undefined;
|
|
1378
|
-
uuid?: string | undefined;
|
|
1379
|
-
description?: string | undefined;
|
|
1380
|
-
meta?: Record<string, any> | undefined;
|
|
1381
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
1382
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
1383
|
-
revision?: string | undefined;
|
|
1384
|
-
createdAt?: string | undefined;
|
|
1385
|
-
updatedAt?: string | undefined;
|
|
1386
|
-
archivedAt?: string | undefined;
|
|
1387
|
-
isDeactivated?: boolean | undefined;
|
|
1388
|
-
parameters?: any;
|
|
1389
|
-
connectorId?: string | undefined;
|
|
1390
|
-
connectorVersion?: string | undefined;
|
|
1391
|
-
oAuthCallbackUri?: string | undefined;
|
|
1392
|
-
hasMissingParameters?: boolean | undefined;
|
|
1393
|
-
hasDocumentation?: boolean | undefined;
|
|
1394
|
-
hasOperations?: boolean | undefined;
|
|
1395
|
-
operationsCount?: number | undefined;
|
|
1396
|
-
hasData?: boolean | undefined;
|
|
1397
|
-
dataCollectionsCount?: number | undefined;
|
|
1398
|
-
hasEvents?: boolean | undefined;
|
|
1399
|
-
eventsCount?: number | undefined;
|
|
1400
|
-
hasGlobalWebhooks?: boolean | undefined;
|
|
1401
|
-
hasUdm?: boolean | undefined;
|
|
1402
|
-
isTest?: boolean | undefined;
|
|
1403
|
-
appUuid?: string | undefined;
|
|
1404
|
-
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
1405
|
-
};
|
|
1406
|
-
element: {
|
|
1407
|
-
id: string;
|
|
1408
|
-
integrationId?: string | undefined;
|
|
1409
|
-
isCustomized?: boolean | undefined;
|
|
1410
|
-
universalFlowId?: string | undefined;
|
|
1411
|
-
};
|
|
1412
|
-
}, {
|
|
1413
|
-
integration: {
|
|
1414
|
-
id: string;
|
|
1415
|
-
name: string;
|
|
1416
|
-
logoUri: string;
|
|
1417
|
-
key?: string | undefined;
|
|
1418
|
-
uuid?: string | undefined;
|
|
1419
|
-
description?: string | undefined;
|
|
1420
|
-
meta?: Record<string, any> | undefined;
|
|
1421
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
1422
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
1423
|
-
revision?: string | undefined;
|
|
1424
|
-
createdAt?: string | undefined;
|
|
1425
|
-
updatedAt?: string | undefined;
|
|
1426
|
-
archivedAt?: string | undefined;
|
|
1427
|
-
isDeactivated?: boolean | undefined;
|
|
1428
|
-
parameters?: any;
|
|
1429
|
-
connectorId?: string | undefined;
|
|
1430
|
-
connectorVersion?: string | undefined;
|
|
1431
|
-
oAuthCallbackUri?: string | undefined;
|
|
1432
|
-
hasMissingParameters?: boolean | undefined;
|
|
1433
|
-
hasDocumentation?: boolean | undefined;
|
|
1434
|
-
hasOperations?: boolean | undefined;
|
|
1435
|
-
operationsCount?: number | undefined;
|
|
1436
|
-
hasData?: boolean | undefined;
|
|
1437
|
-
dataCollectionsCount?: number | undefined;
|
|
1438
|
-
hasEvents?: boolean | undefined;
|
|
1439
|
-
eventsCount?: number | undefined;
|
|
1440
|
-
hasGlobalWebhooks?: boolean | undefined;
|
|
1441
|
-
hasUdm?: boolean | undefined;
|
|
1442
|
-
isTest?: boolean | undefined;
|
|
1443
|
-
appUuid?: string | undefined;
|
|
1444
|
-
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
1445
|
-
};
|
|
1446
|
-
element: {
|
|
1447
|
-
id: string;
|
|
1448
|
-
integrationId?: string | undefined;
|
|
1449
|
-
isCustomized?: boolean | undefined;
|
|
1450
|
-
universalFlowId?: string | undefined;
|
|
1451
|
-
};
|
|
1452
|
-
}>, "many">>;
|
|
1453
|
-
dependencies: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
1454
|
-
}, "strip", z.ZodTypeAny, {
|
|
1455
|
-
id: string;
|
|
1456
|
-
name: string;
|
|
1457
|
-
key?: string | undefined;
|
|
1458
|
-
integration?: {
|
|
1459
|
-
id: string;
|
|
1460
|
-
name: string;
|
|
1461
|
-
logoUri: string;
|
|
1462
|
-
key?: string | undefined;
|
|
1463
|
-
uuid?: string | undefined;
|
|
1464
|
-
description?: string | undefined;
|
|
1465
|
-
meta?: Record<string, any> | undefined;
|
|
1466
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
1467
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
1468
|
-
revision?: string | undefined;
|
|
1469
|
-
createdAt?: string | undefined;
|
|
1470
|
-
updatedAt?: string | undefined;
|
|
1471
|
-
archivedAt?: string | undefined;
|
|
1472
|
-
isDeactivated?: boolean | undefined;
|
|
1473
|
-
parameters?: any;
|
|
1474
|
-
connectorId?: string | undefined;
|
|
1475
|
-
connectorVersion?: string | undefined;
|
|
1476
|
-
oAuthCallbackUri?: string | undefined;
|
|
1477
|
-
hasMissingParameters?: boolean | undefined;
|
|
1478
|
-
hasDocumentation?: boolean | undefined;
|
|
1479
|
-
hasOperations?: boolean | undefined;
|
|
1480
|
-
operationsCount?: number | undefined;
|
|
1481
|
-
hasData?: boolean | undefined;
|
|
1482
|
-
dataCollectionsCount?: number | undefined;
|
|
1483
|
-
hasEvents?: boolean | undefined;
|
|
1484
|
-
eventsCount?: number | undefined;
|
|
1485
|
-
hasGlobalWebhooks?: boolean | undefined;
|
|
1486
|
-
hasUdm?: boolean | undefined;
|
|
1487
|
-
isTest?: boolean | undefined;
|
|
1488
|
-
appUuid?: string | undefined;
|
|
1489
|
-
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
1490
|
-
} | undefined;
|
|
1491
|
-
uuid?: string | undefined;
|
|
1492
|
-
description?: string | undefined;
|
|
1493
|
-
meta?: Record<string, any> | undefined;
|
|
1494
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
1495
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
1496
|
-
revision?: string | undefined;
|
|
1497
|
-
createdAt?: string | undefined;
|
|
1498
|
-
updatedAt?: string | undefined;
|
|
1499
|
-
archivedAt?: string | undefined;
|
|
1500
|
-
isDeactivated?: boolean | undefined;
|
|
1501
|
-
integrationId?: string | undefined;
|
|
1502
|
-
parentId?: string | undefined;
|
|
1503
|
-
isCustomized?: boolean | undefined;
|
|
1504
|
-
parametersSchema?: DataSchema | undefined;
|
|
1505
|
-
appliedToIntegrations?: {
|
|
1506
|
-
integration: {
|
|
1507
|
-
id: string;
|
|
1508
|
-
name: string;
|
|
1509
|
-
logoUri: string;
|
|
1510
|
-
key?: string | undefined;
|
|
1511
|
-
uuid?: string | undefined;
|
|
1512
|
-
description?: string | undefined;
|
|
1513
|
-
meta?: Record<string, any> | undefined;
|
|
1514
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
1515
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
1516
|
-
revision?: string | undefined;
|
|
1517
|
-
createdAt?: string | undefined;
|
|
1518
|
-
updatedAt?: string | undefined;
|
|
1519
|
-
archivedAt?: string | undefined;
|
|
1520
|
-
isDeactivated?: boolean | undefined;
|
|
1521
|
-
parameters?: any;
|
|
1522
|
-
connectorId?: string | undefined;
|
|
1523
|
-
connectorVersion?: string | undefined;
|
|
1524
|
-
oAuthCallbackUri?: string | undefined;
|
|
1525
|
-
hasMissingParameters?: boolean | undefined;
|
|
1526
|
-
hasDocumentation?: boolean | undefined;
|
|
1527
|
-
hasOperations?: boolean | undefined;
|
|
1528
|
-
operationsCount?: number | undefined;
|
|
1529
|
-
hasData?: boolean | undefined;
|
|
1530
|
-
dataCollectionsCount?: number | undefined;
|
|
1531
|
-
hasEvents?: boolean | undefined;
|
|
1532
|
-
eventsCount?: number | undefined;
|
|
1533
|
-
hasGlobalWebhooks?: boolean | undefined;
|
|
1534
|
-
hasUdm?: boolean | undefined;
|
|
1535
|
-
isTest?: boolean | undefined;
|
|
1536
|
-
appUuid?: string | undefined;
|
|
1537
|
-
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
1538
|
-
};
|
|
1539
|
-
element: {
|
|
1540
|
-
id: string;
|
|
1541
|
-
integrationId?: string | undefined;
|
|
1542
|
-
isCustomized?: boolean | undefined;
|
|
1543
|
-
universalFlowId?: string | undefined;
|
|
1544
|
-
};
|
|
1545
|
-
}[] | undefined;
|
|
1546
|
-
dependencies?: any[] | undefined;
|
|
1547
|
-
universalFlowId?: string | undefined;
|
|
1548
|
-
universalFlowRevision?: string | undefined;
|
|
1549
|
-
nodes?: Record<string, {
|
|
1550
|
-
concurrency?: number | undefined;
|
|
1551
|
-
type?: string | undefined;
|
|
1552
|
-
name?: string | undefined;
|
|
1553
|
-
description?: string | undefined;
|
|
1554
|
-
isCustomized?: boolean | undefined;
|
|
1555
|
-
inputSchema?: any;
|
|
1556
|
-
config?: any;
|
|
1557
|
-
outputSchema?: any;
|
|
1558
|
-
version?: number | undefined;
|
|
1559
|
-
onError?: "stop" | "continue" | undefined;
|
|
1560
|
-
ui?: any;
|
|
1561
|
-
outputExample?: any;
|
|
1562
|
-
links?: {
|
|
1563
|
-
key?: string | undefined;
|
|
1564
|
-
filter?: any;
|
|
1565
|
-
name?: string | undefined;
|
|
1566
|
-
}[] | undefined;
|
|
1567
|
-
}> | undefined;
|
|
1568
|
-
autoCreateInstances?: boolean | undefined;
|
|
1569
|
-
}, {
|
|
1570
|
-
id: string;
|
|
1571
|
-
name: string;
|
|
1572
|
-
key?: string | undefined;
|
|
1573
|
-
integration?: {
|
|
1574
|
-
id: string;
|
|
1575
|
-
name: string;
|
|
1576
|
-
logoUri: string;
|
|
1577
|
-
key?: string | undefined;
|
|
1578
|
-
uuid?: string | undefined;
|
|
1579
|
-
description?: string | undefined;
|
|
1580
|
-
meta?: Record<string, any> | undefined;
|
|
1581
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
1582
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
1583
|
-
revision?: string | undefined;
|
|
1584
|
-
createdAt?: string | undefined;
|
|
1585
|
-
updatedAt?: string | undefined;
|
|
1586
|
-
archivedAt?: string | undefined;
|
|
1587
|
-
isDeactivated?: boolean | undefined;
|
|
1588
|
-
parameters?: any;
|
|
1589
|
-
connectorId?: string | undefined;
|
|
1590
|
-
connectorVersion?: string | undefined;
|
|
1591
|
-
oAuthCallbackUri?: string | undefined;
|
|
1592
|
-
hasMissingParameters?: boolean | undefined;
|
|
1593
|
-
hasDocumentation?: boolean | undefined;
|
|
1594
|
-
hasOperations?: boolean | undefined;
|
|
1595
|
-
operationsCount?: number | undefined;
|
|
1596
|
-
hasData?: boolean | undefined;
|
|
1597
|
-
dataCollectionsCount?: number | undefined;
|
|
1598
|
-
hasEvents?: boolean | undefined;
|
|
1599
|
-
eventsCount?: number | undefined;
|
|
1600
|
-
hasGlobalWebhooks?: boolean | undefined;
|
|
1601
|
-
hasUdm?: boolean | undefined;
|
|
1602
|
-
isTest?: boolean | undefined;
|
|
1603
|
-
appUuid?: string | undefined;
|
|
1604
|
-
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
1605
|
-
} | undefined;
|
|
1606
|
-
uuid?: string | undefined;
|
|
1607
|
-
description?: string | undefined;
|
|
1608
|
-
meta?: Record<string, any> | undefined;
|
|
1609
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
1610
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
1611
|
-
revision?: string | undefined;
|
|
1612
|
-
createdAt?: string | undefined;
|
|
1613
|
-
updatedAt?: string | undefined;
|
|
1614
|
-
archivedAt?: string | undefined;
|
|
1615
|
-
isDeactivated?: boolean | undefined;
|
|
1616
|
-
integrationId?: string | undefined;
|
|
1617
|
-
parentId?: string | undefined;
|
|
1618
|
-
isCustomized?: boolean | undefined;
|
|
1619
|
-
parametersSchema?: DataSchema | undefined;
|
|
1620
|
-
appliedToIntegrations?: {
|
|
1621
|
-
integration: {
|
|
1622
|
-
id: string;
|
|
1623
|
-
name: string;
|
|
1624
|
-
logoUri: string;
|
|
1625
|
-
key?: string | undefined;
|
|
1626
|
-
uuid?: string | undefined;
|
|
1627
|
-
description?: string | undefined;
|
|
1628
|
-
meta?: Record<string, any> | undefined;
|
|
1629
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
1630
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
1631
|
-
revision?: string | undefined;
|
|
1632
|
-
createdAt?: string | undefined;
|
|
1633
|
-
updatedAt?: string | undefined;
|
|
1634
|
-
archivedAt?: string | undefined;
|
|
1635
|
-
isDeactivated?: boolean | undefined;
|
|
1636
|
-
parameters?: any;
|
|
1637
|
-
connectorId?: string | undefined;
|
|
1638
|
-
connectorVersion?: string | undefined;
|
|
1639
|
-
oAuthCallbackUri?: string | undefined;
|
|
1640
|
-
hasMissingParameters?: boolean | undefined;
|
|
1641
|
-
hasDocumentation?: boolean | undefined;
|
|
1642
|
-
hasOperations?: boolean | undefined;
|
|
1643
|
-
operationsCount?: number | undefined;
|
|
1644
|
-
hasData?: boolean | undefined;
|
|
1645
|
-
dataCollectionsCount?: number | undefined;
|
|
1646
|
-
hasEvents?: boolean | undefined;
|
|
1647
|
-
eventsCount?: number | undefined;
|
|
1648
|
-
hasGlobalWebhooks?: boolean | undefined;
|
|
1649
|
-
hasUdm?: boolean | undefined;
|
|
1650
|
-
isTest?: boolean | undefined;
|
|
1651
|
-
appUuid?: string | undefined;
|
|
1652
|
-
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
1653
|
-
};
|
|
1654
|
-
element: {
|
|
1655
|
-
id: string;
|
|
1656
|
-
integrationId?: string | undefined;
|
|
1657
|
-
isCustomized?: boolean | undefined;
|
|
1658
|
-
universalFlowId?: string | undefined;
|
|
1659
|
-
};
|
|
1660
|
-
}[] | undefined;
|
|
1661
|
-
dependencies?: any[] | undefined;
|
|
1662
|
-
universalFlowId?: string | undefined;
|
|
1663
|
-
universalFlowRevision?: string | undefined;
|
|
1664
|
-
nodes?: Record<string, {
|
|
1665
|
-
concurrency?: number | undefined;
|
|
1666
|
-
type?: string | undefined;
|
|
1667
|
-
name?: string | undefined;
|
|
1668
|
-
description?: string | undefined;
|
|
1669
|
-
isCustomized?: boolean | undefined;
|
|
1670
|
-
inputSchema?: any;
|
|
1671
|
-
config?: any;
|
|
1672
|
-
outputSchema?: any;
|
|
1673
|
-
version?: number | undefined;
|
|
1674
|
-
onError?: "stop" | "continue" | undefined;
|
|
1675
|
-
ui?: any;
|
|
1676
|
-
outputExample?: any;
|
|
1677
|
-
links?: {
|
|
1678
|
-
key?: string | undefined;
|
|
1679
|
-
filter?: any;
|
|
1680
|
-
name?: string | undefined;
|
|
1681
|
-
}[] | undefined;
|
|
1682
|
-
}> | undefined;
|
|
1683
|
-
autoCreateInstances?: boolean | undefined;
|
|
1684
|
-
}>>>;
|
|
476
|
+
authType: z.ZodOptional<z.ZodEnum<{
|
|
477
|
+
proxy: "proxy";
|
|
478
|
+
"integration-app-token": "integration-app-token";
|
|
479
|
+
"membrane-token": "membrane-token";
|
|
480
|
+
oauth2: "oauth2";
|
|
481
|
+
oauth1: "oauth1";
|
|
482
|
+
"client-credentials": "client-credentials";
|
|
483
|
+
}>>;
|
|
484
|
+
}, z.core.$strip>;
|
|
485
|
+
}, z.core.$strip>>>;
|
|
486
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
487
|
+
}, z.core.$strip>>>;
|
|
1685
488
|
integration: z.ZodOptional<z.ZodLazy<z.ZodType<{
|
|
1686
489
|
id: string;
|
|
1687
490
|
name: string;
|
|
@@ -1695,105 +498,11 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
|
|
|
1695
498
|
revision?: string | undefined;
|
|
1696
499
|
createdAt?: string | undefined;
|
|
1697
500
|
updatedAt?: string | undefined;
|
|
1698
|
-
archivedAt?: string | undefined;
|
|
1699
|
-
isDeactivated?: boolean | undefined;
|
|
1700
|
-
parameters?: any;
|
|
1701
501
|
connectorId?: string | undefined;
|
|
1702
502
|
connectorVersion?: string | undefined;
|
|
1703
503
|
oAuthCallbackUri?: string | undefined;
|
|
1704
|
-
hasMissingParameters?: boolean | undefined;
|
|
1705
|
-
hasDocumentation?: boolean | undefined;
|
|
1706
|
-
hasOperations?: boolean | undefined;
|
|
1707
|
-
operationsCount?: number | undefined;
|
|
1708
|
-
hasData?: boolean | undefined;
|
|
1709
|
-
dataCollectionsCount?: number | undefined;
|
|
1710
|
-
hasEvents?: boolean | undefined;
|
|
1711
|
-
eventsCount?: number | undefined;
|
|
1712
|
-
hasGlobalWebhooks?: boolean | undefined;
|
|
1713
|
-
hasUdm?: boolean | undefined;
|
|
1714
|
-
isTest?: boolean | undefined;
|
|
1715
|
-
appUuid?: string | undefined;
|
|
1716
|
-
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
1717
|
-
}, z.ZodTypeDef, {
|
|
1718
|
-
id: string;
|
|
1719
|
-
name: string;
|
|
1720
|
-
logoUri: string;
|
|
1721
|
-
key?: string | undefined;
|
|
1722
|
-
uuid?: string | undefined;
|
|
1723
|
-
description?: string | undefined;
|
|
1724
|
-
meta?: Record<string, any> | undefined;
|
|
1725
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
1726
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
1727
|
-
revision?: string | undefined;
|
|
1728
|
-
createdAt?: string | undefined;
|
|
1729
|
-
updatedAt?: string | undefined;
|
|
1730
|
-
archivedAt?: string | undefined;
|
|
1731
|
-
isDeactivated?: boolean | undefined;
|
|
1732
504
|
parameters?: any;
|
|
1733
|
-
connectorId?: string | undefined;
|
|
1734
|
-
connectorVersion?: string | undefined;
|
|
1735
|
-
oAuthCallbackUri?: string | undefined;
|
|
1736
|
-
hasMissingParameters?: boolean | undefined;
|
|
1737
|
-
hasDocumentation?: boolean | undefined;
|
|
1738
|
-
hasOperations?: boolean | undefined;
|
|
1739
|
-
operationsCount?: number | undefined;
|
|
1740
|
-
hasData?: boolean | undefined;
|
|
1741
|
-
dataCollectionsCount?: number | undefined;
|
|
1742
|
-
hasEvents?: boolean | undefined;
|
|
1743
|
-
eventsCount?: number | undefined;
|
|
1744
|
-
hasGlobalWebhooks?: boolean | undefined;
|
|
1745
|
-
hasUdm?: boolean | undefined;
|
|
1746
|
-
isTest?: boolean | undefined;
|
|
1747
|
-
appUuid?: string | undefined;
|
|
1748
|
-
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
1749
|
-
}>>>;
|
|
1750
|
-
}, "strip", z.ZodTypeAny, {
|
|
1751
|
-
id: string;
|
|
1752
|
-
name: string;
|
|
1753
|
-
createdAt: string;
|
|
1754
|
-
updatedAt: string;
|
|
1755
|
-
integrationId: string;
|
|
1756
|
-
userId: string;
|
|
1757
|
-
enabled: boolean;
|
|
1758
|
-
key?: string | undefined;
|
|
1759
|
-
connection?: {
|
|
1760
|
-
id: string;
|
|
1761
|
-
name: string;
|
|
1762
|
-
createdAt: string;
|
|
1763
|
-
updatedAt: string;
|
|
1764
|
-
integrationId: string;
|
|
1765
|
-
userId: string;
|
|
1766
|
-
error?: import("../..").ErrorDataSchema | undefined;
|
|
1767
|
-
meta?: Record<string, any> | undefined;
|
|
1768
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
1769
|
-
archivedAt?: string | undefined;
|
|
1770
|
-
isDeactivated?: boolean | undefined;
|
|
1771
|
-
authOptionKey?: string | undefined;
|
|
1772
|
-
isTest?: boolean | undefined;
|
|
1773
|
-
disconnected?: boolean | undefined;
|
|
1774
|
-
isDefunct?: boolean | undefined;
|
|
1775
|
-
lastActiveAt?: string | undefined;
|
|
1776
|
-
nextCredentialsRefreshAt?: string | undefined;
|
|
1777
|
-
} | undefined;
|
|
1778
|
-
integration?: {
|
|
1779
|
-
id: string;
|
|
1780
|
-
name: string;
|
|
1781
|
-
logoUri: string;
|
|
1782
|
-
key?: string | undefined;
|
|
1783
|
-
uuid?: string | undefined;
|
|
1784
|
-
description?: string | undefined;
|
|
1785
|
-
meta?: Record<string, any> | undefined;
|
|
1786
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
1787
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
1788
|
-
revision?: string | undefined;
|
|
1789
|
-
createdAt?: string | undefined;
|
|
1790
|
-
updatedAt?: string | undefined;
|
|
1791
505
|
archivedAt?: string | undefined;
|
|
1792
|
-
isDeactivated?: boolean | undefined;
|
|
1793
|
-
parameters?: any;
|
|
1794
|
-
connectorId?: string | undefined;
|
|
1795
|
-
connectorVersion?: string | undefined;
|
|
1796
|
-
oAuthCallbackUri?: string | undefined;
|
|
1797
506
|
hasMissingParameters?: boolean | undefined;
|
|
1798
507
|
hasDocumentation?: boolean | undefined;
|
|
1799
508
|
hasOperations?: boolean | undefined;
|
|
@@ -1806,186 +515,9 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
|
|
|
1806
515
|
hasUdm?: boolean | undefined;
|
|
1807
516
|
isTest?: boolean | undefined;
|
|
1808
517
|
appUuid?: string | undefined;
|
|
1809
|
-
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
1810
|
-
} | undefined;
|
|
1811
|
-
flow?: {
|
|
1812
|
-
id: string;
|
|
1813
|
-
name: string;
|
|
1814
|
-
key?: string | undefined;
|
|
1815
|
-
integration?: {
|
|
1816
|
-
id: string;
|
|
1817
|
-
name: string;
|
|
1818
|
-
logoUri: string;
|
|
1819
|
-
key?: string | undefined;
|
|
1820
|
-
uuid?: string | undefined;
|
|
1821
|
-
description?: string | undefined;
|
|
1822
|
-
meta?: Record<string, any> | undefined;
|
|
1823
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
1824
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
1825
|
-
revision?: string | undefined;
|
|
1826
|
-
createdAt?: string | undefined;
|
|
1827
|
-
updatedAt?: string | undefined;
|
|
1828
|
-
archivedAt?: string | undefined;
|
|
1829
|
-
isDeactivated?: boolean | undefined;
|
|
1830
|
-
parameters?: any;
|
|
1831
|
-
connectorId?: string | undefined;
|
|
1832
|
-
connectorVersion?: string | undefined;
|
|
1833
|
-
oAuthCallbackUri?: string | undefined;
|
|
1834
|
-
hasMissingParameters?: boolean | undefined;
|
|
1835
|
-
hasDocumentation?: boolean | undefined;
|
|
1836
|
-
hasOperations?: boolean | undefined;
|
|
1837
|
-
operationsCount?: number | undefined;
|
|
1838
|
-
hasData?: boolean | undefined;
|
|
1839
|
-
dataCollectionsCount?: number | undefined;
|
|
1840
|
-
hasEvents?: boolean | undefined;
|
|
1841
|
-
eventsCount?: number | undefined;
|
|
1842
|
-
hasGlobalWebhooks?: boolean | undefined;
|
|
1843
|
-
hasUdm?: boolean | undefined;
|
|
1844
|
-
isTest?: boolean | undefined;
|
|
1845
|
-
appUuid?: string | undefined;
|
|
1846
|
-
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
1847
|
-
} | undefined;
|
|
1848
|
-
uuid?: string | undefined;
|
|
1849
|
-
description?: string | undefined;
|
|
1850
|
-
meta?: Record<string, any> | undefined;
|
|
1851
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
1852
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
1853
|
-
revision?: string | undefined;
|
|
1854
|
-
createdAt?: string | undefined;
|
|
1855
|
-
updatedAt?: string | undefined;
|
|
1856
|
-
archivedAt?: string | undefined;
|
|
1857
|
-
isDeactivated?: boolean | undefined;
|
|
1858
|
-
integrationId?: string | undefined;
|
|
1859
|
-
parentId?: string | undefined;
|
|
1860
|
-
isCustomized?: boolean | undefined;
|
|
1861
|
-
parametersSchema?: DataSchema | undefined;
|
|
1862
|
-
appliedToIntegrations?: {
|
|
1863
|
-
integration: {
|
|
1864
|
-
id: string;
|
|
1865
|
-
name: string;
|
|
1866
|
-
logoUri: string;
|
|
1867
|
-
key?: string | undefined;
|
|
1868
|
-
uuid?: string | undefined;
|
|
1869
|
-
description?: string | undefined;
|
|
1870
|
-
meta?: Record<string, any> | undefined;
|
|
1871
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
1872
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
1873
|
-
revision?: string | undefined;
|
|
1874
|
-
createdAt?: string | undefined;
|
|
1875
|
-
updatedAt?: string | undefined;
|
|
1876
|
-
archivedAt?: string | undefined;
|
|
1877
|
-
isDeactivated?: boolean | undefined;
|
|
1878
|
-
parameters?: any;
|
|
1879
|
-
connectorId?: string | undefined;
|
|
1880
|
-
connectorVersion?: string | undefined;
|
|
1881
|
-
oAuthCallbackUri?: string | undefined;
|
|
1882
|
-
hasMissingParameters?: boolean | undefined;
|
|
1883
|
-
hasDocumentation?: boolean | undefined;
|
|
1884
|
-
hasOperations?: boolean | undefined;
|
|
1885
|
-
operationsCount?: number | undefined;
|
|
1886
|
-
hasData?: boolean | undefined;
|
|
1887
|
-
dataCollectionsCount?: number | undefined;
|
|
1888
|
-
hasEvents?: boolean | undefined;
|
|
1889
|
-
eventsCount?: number | undefined;
|
|
1890
|
-
hasGlobalWebhooks?: boolean | undefined;
|
|
1891
|
-
hasUdm?: boolean | undefined;
|
|
1892
|
-
isTest?: boolean | undefined;
|
|
1893
|
-
appUuid?: string | undefined;
|
|
1894
|
-
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
1895
|
-
};
|
|
1896
|
-
element: {
|
|
1897
|
-
id: string;
|
|
1898
|
-
integrationId?: string | undefined;
|
|
1899
|
-
isCustomized?: boolean | undefined;
|
|
1900
|
-
universalFlowId?: string | undefined;
|
|
1901
|
-
};
|
|
1902
|
-
}[] | undefined;
|
|
1903
|
-
dependencies?: any[] | undefined;
|
|
1904
|
-
universalFlowId?: string | undefined;
|
|
1905
|
-
universalFlowRevision?: string | undefined;
|
|
1906
|
-
nodes?: Record<string, {
|
|
1907
|
-
concurrency?: number | undefined;
|
|
1908
|
-
type?: string | undefined;
|
|
1909
|
-
name?: string | undefined;
|
|
1910
|
-
description?: string | undefined;
|
|
1911
|
-
isCustomized?: boolean | undefined;
|
|
1912
|
-
inputSchema?: any;
|
|
1913
|
-
config?: any;
|
|
1914
|
-
outputSchema?: any;
|
|
1915
|
-
version?: number | undefined;
|
|
1916
|
-
onError?: "stop" | "continue" | undefined;
|
|
1917
|
-
ui?: any;
|
|
1918
|
-
outputExample?: any;
|
|
1919
|
-
links?: {
|
|
1920
|
-
key?: string | undefined;
|
|
1921
|
-
filter?: any;
|
|
1922
|
-
name?: string | undefined;
|
|
1923
|
-
}[] | undefined;
|
|
1924
|
-
}> | undefined;
|
|
1925
|
-
autoCreateInstances?: boolean | undefined;
|
|
1926
|
-
} | undefined;
|
|
1927
|
-
uuid?: string | undefined;
|
|
1928
|
-
description?: string | undefined;
|
|
1929
|
-
meta?: Record<string, any> | undefined;
|
|
1930
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
1931
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
1932
|
-
revision?: string | undefined;
|
|
1933
|
-
archivedAt?: string | undefined;
|
|
1934
|
-
isDeactivated?: boolean | undefined;
|
|
1935
|
-
instanceKey?: string | undefined;
|
|
1936
|
-
connectionId?: string | undefined;
|
|
1937
|
-
parameters?: any;
|
|
1938
|
-
parametersSchema?: DataSchema | undefined;
|
|
1939
|
-
user?: {
|
|
1940
|
-
id: string;
|
|
1941
|
-
name: string;
|
|
1942
|
-
internalId: string;
|
|
1943
|
-
meta?: Record<string, any> | undefined;
|
|
1944
|
-
createdAt?: string | undefined;
|
|
1945
|
-
archivedAt?: string | undefined;
|
|
1946
|
-
credentials?: any;
|
|
1947
|
-
fields?: Record<string, any> | undefined;
|
|
1948
|
-
isTest?: boolean | undefined;
|
|
1949
|
-
lastActiveAt?: string | undefined;
|
|
1950
|
-
isBillable?: boolean | undefined;
|
|
1951
|
-
} | undefined;
|
|
1952
|
-
dependencies?: any[] | undefined;
|
|
1953
|
-
universalFlowId?: string | undefined;
|
|
1954
|
-
nodes?: Record<string, any> | undefined;
|
|
1955
|
-
flowId?: string | undefined;
|
|
1956
|
-
customized?: {
|
|
1957
|
-
name?: boolean | undefined;
|
|
1958
|
-
nodes?: boolean | undefined;
|
|
1959
|
-
} | undefined;
|
|
1960
|
-
}, {
|
|
1961
|
-
id: string;
|
|
1962
|
-
name: string;
|
|
1963
|
-
createdAt: string;
|
|
1964
|
-
updatedAt: string;
|
|
1965
|
-
integrationId: string;
|
|
1966
|
-
userId: string;
|
|
1967
|
-
enabled: boolean;
|
|
1968
|
-
key?: string | undefined;
|
|
1969
|
-
connection?: {
|
|
1970
|
-
id: string;
|
|
1971
|
-
name: string;
|
|
1972
|
-
createdAt: string;
|
|
1973
|
-
updatedAt: string;
|
|
1974
|
-
integrationId: string;
|
|
1975
|
-
userId: string;
|
|
1976
|
-
error?: import("../..").ErrorDataSchema | undefined;
|
|
1977
|
-
meta?: Record<string, any> | undefined;
|
|
1978
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
1979
|
-
archivedAt?: string | undefined;
|
|
1980
518
|
isDeactivated?: boolean | undefined;
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
disconnected?: boolean | undefined;
|
|
1984
|
-
isDefunct?: boolean | undefined;
|
|
1985
|
-
lastActiveAt?: string | undefined;
|
|
1986
|
-
nextCredentialsRefreshAt?: string | undefined;
|
|
1987
|
-
} | undefined;
|
|
1988
|
-
integration?: {
|
|
519
|
+
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
520
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
1989
521
|
id: string;
|
|
1990
522
|
name: string;
|
|
1991
523
|
logoUri: string;
|
|
@@ -1998,12 +530,11 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
|
|
|
1998
530
|
revision?: string | undefined;
|
|
1999
531
|
createdAt?: string | undefined;
|
|
2000
532
|
updatedAt?: string | undefined;
|
|
2001
|
-
archivedAt?: string | undefined;
|
|
2002
|
-
isDeactivated?: boolean | undefined;
|
|
2003
|
-
parameters?: any;
|
|
2004
533
|
connectorId?: string | undefined;
|
|
2005
534
|
connectorVersion?: string | undefined;
|
|
2006
535
|
oAuthCallbackUri?: string | undefined;
|
|
536
|
+
parameters?: any;
|
|
537
|
+
archivedAt?: string | undefined;
|
|
2007
538
|
hasMissingParameters?: boolean | undefined;
|
|
2008
539
|
hasDocumentation?: boolean | undefined;
|
|
2009
540
|
hasOperations?: boolean | undefined;
|
|
@@ -2016,157 +547,25 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
|
|
|
2016
547
|
hasUdm?: boolean | undefined;
|
|
2017
548
|
isTest?: boolean | undefined;
|
|
2018
549
|
appUuid?: string | undefined;
|
|
2019
|
-
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
2020
|
-
} | undefined;
|
|
2021
|
-
flow?: {
|
|
2022
|
-
id: string;
|
|
2023
|
-
name: string;
|
|
2024
|
-
key?: string | undefined;
|
|
2025
|
-
integration?: {
|
|
2026
|
-
id: string;
|
|
2027
|
-
name: string;
|
|
2028
|
-
logoUri: string;
|
|
2029
|
-
key?: string | undefined;
|
|
2030
|
-
uuid?: string | undefined;
|
|
2031
|
-
description?: string | undefined;
|
|
2032
|
-
meta?: Record<string, any> | undefined;
|
|
2033
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
2034
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
2035
|
-
revision?: string | undefined;
|
|
2036
|
-
createdAt?: string | undefined;
|
|
2037
|
-
updatedAt?: string | undefined;
|
|
2038
|
-
archivedAt?: string | undefined;
|
|
2039
|
-
isDeactivated?: boolean | undefined;
|
|
2040
|
-
parameters?: any;
|
|
2041
|
-
connectorId?: string | undefined;
|
|
2042
|
-
connectorVersion?: string | undefined;
|
|
2043
|
-
oAuthCallbackUri?: string | undefined;
|
|
2044
|
-
hasMissingParameters?: boolean | undefined;
|
|
2045
|
-
hasDocumentation?: boolean | undefined;
|
|
2046
|
-
hasOperations?: boolean | undefined;
|
|
2047
|
-
operationsCount?: number | undefined;
|
|
2048
|
-
hasData?: boolean | undefined;
|
|
2049
|
-
dataCollectionsCount?: number | undefined;
|
|
2050
|
-
hasEvents?: boolean | undefined;
|
|
2051
|
-
eventsCount?: number | undefined;
|
|
2052
|
-
hasGlobalWebhooks?: boolean | undefined;
|
|
2053
|
-
hasUdm?: boolean | undefined;
|
|
2054
|
-
isTest?: boolean | undefined;
|
|
2055
|
-
appUuid?: string | undefined;
|
|
2056
|
-
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
2057
|
-
} | undefined;
|
|
2058
|
-
uuid?: string | undefined;
|
|
2059
|
-
description?: string | undefined;
|
|
2060
|
-
meta?: Record<string, any> | undefined;
|
|
2061
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
2062
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
2063
|
-
revision?: string | undefined;
|
|
2064
|
-
createdAt?: string | undefined;
|
|
2065
|
-
updatedAt?: string | undefined;
|
|
2066
|
-
archivedAt?: string | undefined;
|
|
2067
550
|
isDeactivated?: boolean | undefined;
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
parametersSchema?: DataSchema | undefined;
|
|
2072
|
-
appliedToIntegrations?: {
|
|
2073
|
-
integration: {
|
|
2074
|
-
id: string;
|
|
2075
|
-
name: string;
|
|
2076
|
-
logoUri: string;
|
|
2077
|
-
key?: string | undefined;
|
|
2078
|
-
uuid?: string | undefined;
|
|
2079
|
-
description?: string | undefined;
|
|
2080
|
-
meta?: Record<string, any> | undefined;
|
|
2081
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
2082
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
2083
|
-
revision?: string | undefined;
|
|
2084
|
-
createdAt?: string | undefined;
|
|
2085
|
-
updatedAt?: string | undefined;
|
|
2086
|
-
archivedAt?: string | undefined;
|
|
2087
|
-
isDeactivated?: boolean | undefined;
|
|
2088
|
-
parameters?: any;
|
|
2089
|
-
connectorId?: string | undefined;
|
|
2090
|
-
connectorVersion?: string | undefined;
|
|
2091
|
-
oAuthCallbackUri?: string | undefined;
|
|
2092
|
-
hasMissingParameters?: boolean | undefined;
|
|
2093
|
-
hasDocumentation?: boolean | undefined;
|
|
2094
|
-
hasOperations?: boolean | undefined;
|
|
2095
|
-
operationsCount?: number | undefined;
|
|
2096
|
-
hasData?: boolean | undefined;
|
|
2097
|
-
dataCollectionsCount?: number | undefined;
|
|
2098
|
-
hasEvents?: boolean | undefined;
|
|
2099
|
-
eventsCount?: number | undefined;
|
|
2100
|
-
hasGlobalWebhooks?: boolean | undefined;
|
|
2101
|
-
hasUdm?: boolean | undefined;
|
|
2102
|
-
isTest?: boolean | undefined;
|
|
2103
|
-
appUuid?: string | undefined;
|
|
2104
|
-
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
2105
|
-
};
|
|
2106
|
-
element: {
|
|
2107
|
-
id: string;
|
|
2108
|
-
integrationId?: string | undefined;
|
|
2109
|
-
isCustomized?: boolean | undefined;
|
|
2110
|
-
universalFlowId?: string | undefined;
|
|
2111
|
-
};
|
|
2112
|
-
}[] | undefined;
|
|
2113
|
-
dependencies?: any[] | undefined;
|
|
2114
|
-
universalFlowId?: string | undefined;
|
|
2115
|
-
universalFlowRevision?: string | undefined;
|
|
2116
|
-
nodes?: Record<string, {
|
|
2117
|
-
concurrency?: number | undefined;
|
|
2118
|
-
type?: string | undefined;
|
|
2119
|
-
name?: string | undefined;
|
|
2120
|
-
description?: string | undefined;
|
|
2121
|
-
isCustomized?: boolean | undefined;
|
|
2122
|
-
inputSchema?: any;
|
|
2123
|
-
config?: any;
|
|
2124
|
-
outputSchema?: any;
|
|
2125
|
-
version?: number | undefined;
|
|
2126
|
-
onError?: "stop" | "continue" | undefined;
|
|
2127
|
-
ui?: any;
|
|
2128
|
-
outputExample?: any;
|
|
2129
|
-
links?: {
|
|
2130
|
-
key?: string | undefined;
|
|
2131
|
-
filter?: any;
|
|
2132
|
-
name?: string | undefined;
|
|
2133
|
-
}[] | undefined;
|
|
2134
|
-
}> | undefined;
|
|
2135
|
-
autoCreateInstances?: boolean | undefined;
|
|
2136
|
-
} | undefined;
|
|
2137
|
-
uuid?: string | undefined;
|
|
2138
|
-
description?: string | undefined;
|
|
2139
|
-
meta?: Record<string, any> | undefined;
|
|
2140
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
2141
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
2142
|
-
revision?: string | undefined;
|
|
2143
|
-
archivedAt?: string | undefined;
|
|
2144
|
-
isDeactivated?: boolean | undefined;
|
|
2145
|
-
instanceKey?: string | undefined;
|
|
2146
|
-
connectionId?: string | undefined;
|
|
2147
|
-
parameters?: any;
|
|
2148
|
-
parametersSchema?: DataSchema | undefined;
|
|
2149
|
-
user?: {
|
|
2150
|
-
id: string;
|
|
2151
|
-
name: string;
|
|
2152
|
-
internalId: string;
|
|
2153
|
-
meta?: Record<string, any> | undefined;
|
|
2154
|
-
createdAt?: string | undefined;
|
|
2155
|
-
archivedAt?: string | undefined;
|
|
2156
|
-
credentials?: any;
|
|
2157
|
-
fields?: Record<string, any> | undefined;
|
|
2158
|
-
isTest?: boolean | undefined;
|
|
2159
|
-
lastActiveAt?: string | undefined;
|
|
2160
|
-
isBillable?: boolean | undefined;
|
|
2161
|
-
} | undefined;
|
|
2162
|
-
dependencies?: any[] | undefined;
|
|
2163
|
-
universalFlowId?: string | undefined;
|
|
2164
|
-
nodes?: Record<string, any> | undefined;
|
|
2165
|
-
flowId?: string | undefined;
|
|
2166
|
-
customized?: {
|
|
2167
|
-
name?: boolean | undefined;
|
|
2168
|
-
nodes?: boolean | undefined;
|
|
2169
|
-
} | undefined;
|
|
2170
|
-
}>;
|
|
551
|
+
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
552
|
+
}, unknown>>>>;
|
|
553
|
+
}, z.core.$strip>;
|
|
2171
554
|
export type FlowInstanceApiResponse = z.infer<typeof FlowInstanceApiResponse>;
|
|
2172
555
|
export type FlowInstance = FlowInstanceApiResponse;
|
|
556
|
+
export type ListFlowsForIntegrationQuery = Omit<FindFlowsQuery, 'integrationId' | 'integrationKey'>;
|
|
557
|
+
export declare const CreateFlowNodeRequest: z.ZodObject<{
|
|
558
|
+
type: z.ZodString;
|
|
559
|
+
config: z.ZodOptional<z.ZodAny>;
|
|
560
|
+
ui: z.ZodOptional<z.ZodAny>;
|
|
561
|
+
links: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodType<{
|
|
562
|
+
key?: string | undefined;
|
|
563
|
+
filter?: any;
|
|
564
|
+
name?: string | undefined;
|
|
565
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
566
|
+
key?: string | undefined;
|
|
567
|
+
filter?: any;
|
|
568
|
+
name?: string | undefined;
|
|
569
|
+
}, unknown>>>>>;
|
|
570
|
+
}, z.core.$strip>;
|
|
571
|
+
export type CreateFlowNodeRequest = z.infer<typeof CreateFlowNodeRequest>;
|