@membranehq/sdk 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/dist/bundle.d.ts +8370 -1268
  2. package/dist/bundle.js +2216 -2085
  3. package/dist/bundle.js.map +1 -1
  4. package/dist/dts/accessors/connections-accessors.d.ts +57 -1
  5. package/dist/dts/accessors/integrations-accessors.d.ts +57 -1
  6. package/dist/dts/api-client.d.ts +1 -0
  7. package/dist/dts/client.d.ts +1 -0
  8. package/dist/dts/data-schema/types.d.ts +4 -3
  9. package/dist/dts/entity-repository.d.ts +87 -20
  10. package/dist/dts/formulas/dataSchemaRef.d.ts +2 -2
  11. package/dist/dts/http-requests.d.ts +20 -6
  12. package/dist/dts/iframe.d.ts +12 -4
  13. package/dist/dts/index.d.ts +2 -1
  14. package/dist/dts/sse/index.d.ts +1 -0
  15. package/dist/dts/sse/workspace-elements.d.ts +9 -0
  16. package/dist/dts/workspace-elements/api/actions-api.d.ts +702 -40
  17. package/dist/dts/workspace-elements/api/connections-api.d.ts +702 -41
  18. package/dist/dts/workspace-elements/api/customers-api.d.ts +56 -13
  19. package/dist/dts/workspace-elements/api/data-sources-api.d.ts +834 -77
  20. package/dist/dts/workspace-elements/api/external-events-api.d.ts +440 -6
  21. package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +586 -6
  22. package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +1 -1
  23. package/dist/dts/workspace-elements/api/flows-api.d.ts +2417 -50
  24. package/dist/dts/workspace-elements/api/integrations-api.d.ts +253 -24
  25. package/dist/dts/workspace-elements/api/scenarios-api.d.ts +397 -34
  26. package/dist/dts/workspace-elements/api/screens-api.d.ts +2 -2
  27. package/dist/dts/workspace-elements/base/action-instances/types.d.ts +61 -14
  28. package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +30 -7
  29. package/dist/dts/workspace-elements/base/actions/types.d.ts +60 -17
  30. package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +42 -7
  31. package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +35 -7
  32. package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +78 -9
  33. package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +70 -7
  34. package/dist/dts/workspace-elements/base/connections/types.d.ts +76 -20
  35. package/dist/dts/workspace-elements/base/connectors/types.d.ts +14 -2
  36. package/dist/dts/workspace-elements/base/customers/index.d.ts +26 -6
  37. package/dist/dts/workspace-elements/base/data-collections/schemas.d.ts +75 -74
  38. package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +61 -11
  39. package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +26 -4
  40. package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +1030 -19
  41. package/dist/dts/workspace-elements/base/data-sources/types.d.ts +89 -22
  42. package/dist/dts/workspace-elements/base/external-event-log-records/types.d.ts +31 -8
  43. package/dist/dts/workspace-elements/base/external-event-pulls/types.d.ts +35 -8
  44. package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +199 -23
  45. package/dist/dts/workspace-elements/base/external-events/types.d.ts +145 -5
  46. package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +74 -16
  47. package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +91 -14
  48. package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +39 -39
  49. package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +155 -24
  50. package/dist/dts/workspace-elements/base/flow-runs/flow-node-runs.d.ts +20 -20
  51. package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +114 -19
  52. package/dist/dts/workspace-elements/base/flows/types.d.ts +220 -26
  53. package/dist/dts/workspace-elements/base/integrations/types.d.ts +497 -24
  54. package/dist/dts/workspace-elements/base/scenarios/types.d.ts +723 -23
  55. package/dist/dts/workspace-elements/base/screens/types.d.ts +40 -6
  56. package/dist/index.d.ts +12141 -2138
  57. package/dist/index.js +1555 -522
  58. package/dist/index.js.map +1 -1
  59. package/dist/index.module.d.mts +12141 -2138
  60. package/dist/index.module.mjs +1414 -490
  61. package/dist/index.module.mjs.map +1 -1
  62. package/package.json +1 -1
@@ -1,70 +1,2437 @@
1
+ import { z } from 'zod';
1
2
  import { ConnectionSelector } from './connections-api';
2
3
  import { ElementInstanceSelector, IntegrationSpecificElementSelector } from '../../accessors/base-accessors';
3
4
  import { DataSchema } from '../../data-schema';
4
- import { CommonInstancesListQuery, CommonIntegrationOrConnectionQuery, CommonListElementsQuery } from '../../entity-repository';
5
- import { BaseConnection } from '../base/connections';
6
- import { BaseCustomer } from '../base/customers';
7
- import { BaseFlowInstance } from '../base/flow-instances';
8
- import { FlowNodeLink, BaseFlow } from '../base/flows';
9
- import { AppliedToIntegrations, BaseIntegration } from '../base/integrations';
10
- export interface ListFlowsForIntegrationQuery extends CommonListElementsQuery {
11
- universalFlowId?: string | 'null';
12
- }
13
- export interface FindFlowsQuery extends ListFlowsForIntegrationQuery {
14
- integrationId?: string | 'null';
15
- }
16
- export interface CreateFlowNodeRequest {
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.ZodBoolean>;
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?: boolean | undefined;
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.ZodBoolean>;
37
+ } & {
38
+ integrationId: z.ZodOptional<z.ZodString>;
39
+ }, "strip", z.ZodTypeAny, {
40
+ search?: string | undefined;
41
+ includeArchived?: boolean | undefined;
42
+ limit?: number | undefined;
43
+ cursor?: string | undefined;
44
+ integrationId?: string | undefined;
45
+ universalFlowId?: string | undefined;
46
+ }, {
47
+ search?: string | undefined;
48
+ includeArchived?: boolean | undefined;
49
+ limit?: number | undefined;
50
+ cursor?: string | undefined;
51
+ integrationId?: 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, {
17
69
  type: string;
18
70
  config?: any;
19
71
  ui?: any;
20
- links?: FlowNodeLink[];
21
- }
22
- export interface CreateFlowRequest {
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, {
23
127
  key: string;
24
128
  name: string;
25
- integrationId?: string;
26
- nodes?: Record<string, CreateFlowNodeRequest>;
27
- parametersSchema?: DataSchema;
28
- autoCreateInstances?: boolean;
29
- }
30
- export interface UpdateFlowRequest extends CreateFlowRequest {
31
- archivedAt?: string;
32
- }
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
+ integrationId?: string | undefined;
204
+ parametersSchema?: DataSchema | undefined;
205
+ archivedAt?: string | 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
+ integrationId?: string | undefined;
221
+ parametersSchema?: DataSchema | undefined;
222
+ archivedAt?: string | 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>;
33
236
  export interface FlowSelector extends IntegrationSpecificElementSelector {
34
237
  autoCreate?: boolean;
35
238
  }
36
- export type ListFlowInstancesForConnectionQuery = CommonInstancesListQuery & {
37
- flowId?: string;
38
- flowKey?: string;
39
- enabled?: boolean;
40
- };
41
- export type FindFlowInstancesQuery = ListFlowInstancesForConnectionQuery & CommonIntegrationOrConnectionQuery;
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.ZodBoolean>;
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?: boolean | undefined;
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.ZodBoolean>;
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
+ includeArchived?: boolean | undefined;
296
+ limit?: number | undefined;
297
+ cursor?: string | undefined;
298
+ userId?: string | undefined;
299
+ instanceKey?: string | undefined;
300
+ connectionId?: string | undefined;
301
+ integrationId?: string | undefined;
302
+ integrationKey?: string | undefined;
303
+ flowId?: string | undefined;
304
+ enabled?: boolean | undefined;
305
+ flowKey?: string | undefined;
306
+ }, {
307
+ search?: string | undefined;
308
+ includeArchived?: boolean | undefined;
309
+ limit?: number | undefined;
310
+ cursor?: string | undefined;
311
+ userId?: string | undefined;
312
+ instanceKey?: string | undefined;
313
+ connectionId?: string | undefined;
314
+ integrationId?: 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>;
42
321
  export interface FlowInstanceSelector extends ConnectionSelector, ElementInstanceSelector {
43
322
  flowId?: string;
44
323
  flowKey?: string;
45
324
  instanceKey?: string;
46
325
  autoUpdate?: boolean;
47
326
  }
48
- export interface ResetFlowInstanceOptions {
49
- name?: boolean;
50
- nodes?: Record<string, boolean>;
51
- allNodes?: boolean;
52
- }
53
- export interface RunFlowOptions {
54
- nodeKey?: string;
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, {
55
347
  input?: any;
56
- returnImmediately?: boolean;
57
- onUpdate?: (...args: any) => void;
58
- }
59
- export interface Flow extends BaseFlow {
60
- integration?: BaseIntegration;
61
- appliedToIntegrations?: AppliedToIntegrations<Flow>;
62
- }
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
+ export declare const Flow: z.ZodObject<{
359
+ id: z.ZodString;
360
+ name: z.ZodString;
361
+ } & {
362
+ key: z.ZodString;
363
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
364
+ errors: z.ZodOptional<z.ZodArray<any, "many">>;
365
+ } & {
366
+ integrationId: z.ZodOptional<z.ZodString>;
367
+ universalFlowId: z.ZodOptional<z.ZodString>;
368
+ universalFlowRevision: z.ZodOptional<z.ZodString>;
369
+ parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
370
+ nodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
371
+ type: z.ZodOptional<z.ZodString>;
372
+ version: z.ZodOptional<z.ZodNumber>;
373
+ name: z.ZodOptional<z.ZodString>;
374
+ description: z.ZodOptional<z.ZodString>;
375
+ config: z.ZodOptional<z.ZodAny>;
376
+ concurrency: z.ZodOptional<z.ZodNumber>;
377
+ onError: z.ZodOptional<z.ZodEnum<["stop", "continue"]>>;
378
+ ui: z.ZodOptional<z.ZodAny>;
379
+ inputSchema: z.ZodOptional<z.ZodAny>;
380
+ outputSchema: z.ZodOptional<z.ZodAny>;
381
+ outputExample: z.ZodOptional<z.ZodAny>;
382
+ links: z.ZodOptional<z.ZodArray<z.ZodObject<{
383
+ key: z.ZodOptional<z.ZodString>;
384
+ filter: z.ZodOptional<z.ZodAny>;
385
+ name: z.ZodOptional<z.ZodString>;
386
+ }, "strip", z.ZodTypeAny, {
387
+ key?: string | undefined;
388
+ filter?: any;
389
+ name?: string | undefined;
390
+ }, {
391
+ key?: string | undefined;
392
+ filter?: any;
393
+ name?: string | undefined;
394
+ }>, "many">>;
395
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
396
+ }, "strip", z.ZodTypeAny, {
397
+ concurrency?: number | undefined;
398
+ type?: string | undefined;
399
+ name?: string | undefined;
400
+ description?: string | undefined;
401
+ isCustomized?: boolean | undefined;
402
+ inputSchema?: any;
403
+ config?: any;
404
+ outputSchema?: any;
405
+ version?: number | undefined;
406
+ onError?: "stop" | "continue" | undefined;
407
+ ui?: any;
408
+ outputExample?: any;
409
+ links?: {
410
+ key?: string | undefined;
411
+ filter?: any;
412
+ name?: string | undefined;
413
+ }[] | undefined;
414
+ }, {
415
+ concurrency?: number | undefined;
416
+ type?: string | undefined;
417
+ name?: string | undefined;
418
+ description?: string | undefined;
419
+ isCustomized?: boolean | undefined;
420
+ inputSchema?: any;
421
+ config?: any;
422
+ outputSchema?: any;
423
+ version?: number | undefined;
424
+ onError?: "stop" | "continue" | undefined;
425
+ ui?: any;
426
+ outputExample?: any;
427
+ links?: {
428
+ key?: string | undefined;
429
+ filter?: any;
430
+ name?: string | undefined;
431
+ }[] | undefined;
432
+ }>>>;
433
+ autoCreateInstances: z.ZodOptional<z.ZodBoolean>;
434
+ archivedAt: z.ZodOptional<z.ZodString>;
435
+ revision: z.ZodString;
436
+ customized: z.ZodOptional<z.ZodBoolean>;
437
+ } & {
438
+ integration: z.ZodOptional<z.ZodObject<{
439
+ id: z.ZodString;
440
+ name: z.ZodString;
441
+ } & {
442
+ key: z.ZodString;
443
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
444
+ errors: z.ZodOptional<z.ZodArray<any, "many">>;
445
+ } & {
446
+ logoUri: z.ZodString;
447
+ connectorId: z.ZodOptional<z.ZodString>;
448
+ connectorVersion: z.ZodOptional<z.ZodString>;
449
+ authOptions: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
450
+ oAuthCallbackUri: z.ZodOptional<z.ZodString>;
451
+ parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
452
+ parameters: z.ZodOptional<z.ZodAny>;
453
+ baseUri: z.ZodString;
454
+ archivedAt: z.ZodOptional<z.ZodString>;
455
+ hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
456
+ hasDocumentation: z.ZodOptional<z.ZodBoolean>;
457
+ hasOperations: z.ZodOptional<z.ZodBoolean>;
458
+ hasData: z.ZodOptional<z.ZodBoolean>;
459
+ hasEvents: z.ZodOptional<z.ZodBoolean>;
460
+ hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
461
+ hasUdm: z.ZodOptional<z.ZodBoolean>;
462
+ isTest: z.ZodOptional<z.ZodBoolean>;
463
+ appUuid: z.ZodOptional<z.ZodString>;
464
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
465
+ authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
466
+ }, "strip", z.ZodTypeAny, {
467
+ key: string;
468
+ id: string;
469
+ name: string;
470
+ baseUri: string;
471
+ logoUri: string;
472
+ state?: import("..").WorkspaceElementState | undefined;
473
+ errors?: any[] | undefined;
474
+ parameters?: any;
475
+ parametersSchema?: DataSchema | undefined;
476
+ archivedAt?: string | undefined;
477
+ isTest?: boolean | undefined;
478
+ connectorId?: string | undefined;
479
+ connectorVersion?: string | undefined;
480
+ authOptions?: any[] | undefined;
481
+ oAuthCallbackUri?: string | undefined;
482
+ hasMissingParameters?: boolean | undefined;
483
+ hasDocumentation?: boolean | undefined;
484
+ hasOperations?: boolean | undefined;
485
+ hasData?: boolean | undefined;
486
+ hasEvents?: boolean | undefined;
487
+ hasGlobalWebhooks?: boolean | undefined;
488
+ hasUdm?: boolean | undefined;
489
+ appUuid?: string | undefined;
490
+ isDeactivated?: boolean | undefined;
491
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
492
+ }, {
493
+ key: string;
494
+ id: string;
495
+ name: string;
496
+ baseUri: string;
497
+ logoUri: string;
498
+ state?: import("..").WorkspaceElementState | undefined;
499
+ errors?: any[] | undefined;
500
+ parameters?: any;
501
+ parametersSchema?: DataSchema | undefined;
502
+ archivedAt?: string | undefined;
503
+ isTest?: boolean | undefined;
504
+ connectorId?: string | undefined;
505
+ connectorVersion?: string | undefined;
506
+ authOptions?: any[] | undefined;
507
+ oAuthCallbackUri?: string | undefined;
508
+ hasMissingParameters?: boolean | undefined;
509
+ hasDocumentation?: boolean | undefined;
510
+ hasOperations?: boolean | undefined;
511
+ hasData?: boolean | undefined;
512
+ hasEvents?: boolean | undefined;
513
+ hasGlobalWebhooks?: boolean | undefined;
514
+ hasUdm?: boolean | undefined;
515
+ appUuid?: string | undefined;
516
+ isDeactivated?: boolean | undefined;
517
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
518
+ }>>;
519
+ appliedToIntegrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
520
+ element: z.ZodObject<{
521
+ id: z.ZodString;
522
+ name: z.ZodString;
523
+ } & {
524
+ key: z.ZodString;
525
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
526
+ errors: z.ZodOptional<z.ZodArray<any, "many">>;
527
+ } & {
528
+ integrationId: z.ZodOptional<z.ZodString>;
529
+ universalFlowId: z.ZodOptional<z.ZodString>;
530
+ universalFlowRevision: z.ZodOptional<z.ZodString>;
531
+ parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
532
+ nodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
533
+ type: z.ZodOptional<z.ZodString>;
534
+ version: z.ZodOptional<z.ZodNumber>;
535
+ name: z.ZodOptional<z.ZodString>;
536
+ description: z.ZodOptional<z.ZodString>;
537
+ config: z.ZodOptional<z.ZodAny>;
538
+ concurrency: z.ZodOptional<z.ZodNumber>;
539
+ onError: z.ZodOptional<z.ZodEnum<["stop", "continue"]>>;
540
+ ui: z.ZodOptional<z.ZodAny>;
541
+ inputSchema: z.ZodOptional<z.ZodAny>;
542
+ outputSchema: z.ZodOptional<z.ZodAny>;
543
+ outputExample: z.ZodOptional<z.ZodAny>;
544
+ links: z.ZodOptional<z.ZodArray<z.ZodObject<{
545
+ key: z.ZodOptional<z.ZodString>;
546
+ filter: z.ZodOptional<z.ZodAny>;
547
+ name: z.ZodOptional<z.ZodString>;
548
+ }, "strip", z.ZodTypeAny, {
549
+ key?: string | undefined;
550
+ filter?: any;
551
+ name?: string | undefined;
552
+ }, {
553
+ key?: string | undefined;
554
+ filter?: any;
555
+ name?: string | undefined;
556
+ }>, "many">>;
557
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
558
+ }, "strip", z.ZodTypeAny, {
559
+ concurrency?: number | undefined;
560
+ type?: string | undefined;
561
+ name?: string | undefined;
562
+ description?: string | undefined;
563
+ isCustomized?: boolean | undefined;
564
+ inputSchema?: any;
565
+ config?: any;
566
+ outputSchema?: any;
567
+ version?: number | undefined;
568
+ onError?: "stop" | "continue" | undefined;
569
+ ui?: any;
570
+ outputExample?: any;
571
+ links?: {
572
+ key?: string | undefined;
573
+ filter?: any;
574
+ name?: string | undefined;
575
+ }[] | undefined;
576
+ }, {
577
+ concurrency?: number | undefined;
578
+ type?: string | undefined;
579
+ name?: string | undefined;
580
+ description?: string | undefined;
581
+ isCustomized?: boolean | undefined;
582
+ inputSchema?: any;
583
+ config?: any;
584
+ outputSchema?: any;
585
+ version?: number | undefined;
586
+ onError?: "stop" | "continue" | undefined;
587
+ ui?: any;
588
+ outputExample?: any;
589
+ links?: {
590
+ key?: string | undefined;
591
+ filter?: any;
592
+ name?: string | undefined;
593
+ }[] | undefined;
594
+ }>>>;
595
+ autoCreateInstances: z.ZodOptional<z.ZodBoolean>;
596
+ archivedAt: z.ZodOptional<z.ZodString>;
597
+ revision: z.ZodString;
598
+ customized: z.ZodOptional<z.ZodBoolean>;
599
+ }, "strip", z.ZodTypeAny, {
600
+ key: string;
601
+ id: string;
602
+ name: string;
603
+ revision: string;
604
+ state?: import("..").WorkspaceElementState | undefined;
605
+ errors?: any[] | undefined;
606
+ integrationId?: string | undefined;
607
+ parametersSchema?: DataSchema | undefined;
608
+ archivedAt?: string | undefined;
609
+ customized?: boolean | undefined;
610
+ universalFlowId?: string | undefined;
611
+ universalFlowRevision?: string | undefined;
612
+ nodes?: Record<string, {
613
+ concurrency?: number | undefined;
614
+ type?: string | undefined;
615
+ name?: string | undefined;
616
+ description?: string | undefined;
617
+ isCustomized?: boolean | undefined;
618
+ inputSchema?: any;
619
+ config?: any;
620
+ outputSchema?: any;
621
+ version?: number | undefined;
622
+ onError?: "stop" | "continue" | undefined;
623
+ ui?: any;
624
+ outputExample?: any;
625
+ links?: {
626
+ key?: string | undefined;
627
+ filter?: any;
628
+ name?: string | undefined;
629
+ }[] | undefined;
630
+ }> | undefined;
631
+ autoCreateInstances?: boolean | undefined;
632
+ }, {
633
+ key: string;
634
+ id: string;
635
+ name: string;
636
+ revision: string;
637
+ state?: import("..").WorkspaceElementState | undefined;
638
+ errors?: any[] | undefined;
639
+ integrationId?: string | undefined;
640
+ parametersSchema?: DataSchema | undefined;
641
+ archivedAt?: string | undefined;
642
+ customized?: boolean | undefined;
643
+ universalFlowId?: string | undefined;
644
+ universalFlowRevision?: string | undefined;
645
+ nodes?: Record<string, {
646
+ concurrency?: number | undefined;
647
+ type?: string | undefined;
648
+ name?: string | undefined;
649
+ description?: string | undefined;
650
+ isCustomized?: boolean | undefined;
651
+ inputSchema?: any;
652
+ config?: any;
653
+ outputSchema?: any;
654
+ version?: number | undefined;
655
+ onError?: "stop" | "continue" | undefined;
656
+ ui?: any;
657
+ outputExample?: any;
658
+ links?: {
659
+ key?: string | undefined;
660
+ filter?: any;
661
+ name?: string | undefined;
662
+ }[] | undefined;
663
+ }> | undefined;
664
+ autoCreateInstances?: boolean | undefined;
665
+ }>;
666
+ integration: z.ZodObject<{
667
+ id: z.ZodString;
668
+ name: z.ZodString;
669
+ } & {
670
+ key: z.ZodString;
671
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
672
+ errors: z.ZodOptional<z.ZodArray<any, "many">>;
673
+ } & {
674
+ logoUri: z.ZodString;
675
+ connectorId: z.ZodOptional<z.ZodString>;
676
+ connectorVersion: z.ZodOptional<z.ZodString>;
677
+ authOptions: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
678
+ oAuthCallbackUri: z.ZodOptional<z.ZodString>;
679
+ parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
680
+ parameters: z.ZodOptional<z.ZodAny>;
681
+ baseUri: z.ZodString;
682
+ archivedAt: z.ZodOptional<z.ZodString>;
683
+ hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
684
+ hasDocumentation: z.ZodOptional<z.ZodBoolean>;
685
+ hasOperations: z.ZodOptional<z.ZodBoolean>;
686
+ hasData: z.ZodOptional<z.ZodBoolean>;
687
+ hasEvents: z.ZodOptional<z.ZodBoolean>;
688
+ hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
689
+ hasUdm: z.ZodOptional<z.ZodBoolean>;
690
+ isTest: z.ZodOptional<z.ZodBoolean>;
691
+ appUuid: z.ZodOptional<z.ZodString>;
692
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
693
+ authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
694
+ }, "strip", z.ZodTypeAny, {
695
+ key: string;
696
+ id: string;
697
+ name: string;
698
+ baseUri: string;
699
+ logoUri: string;
700
+ state?: import("..").WorkspaceElementState | undefined;
701
+ errors?: any[] | undefined;
702
+ parameters?: any;
703
+ parametersSchema?: DataSchema | undefined;
704
+ archivedAt?: string | undefined;
705
+ isTest?: boolean | undefined;
706
+ connectorId?: string | undefined;
707
+ connectorVersion?: string | undefined;
708
+ authOptions?: any[] | undefined;
709
+ oAuthCallbackUri?: string | undefined;
710
+ hasMissingParameters?: boolean | undefined;
711
+ hasDocumentation?: boolean | undefined;
712
+ hasOperations?: boolean | undefined;
713
+ hasData?: boolean | undefined;
714
+ hasEvents?: boolean | undefined;
715
+ hasGlobalWebhooks?: boolean | undefined;
716
+ hasUdm?: boolean | undefined;
717
+ appUuid?: string | undefined;
718
+ isDeactivated?: boolean | undefined;
719
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
720
+ }, {
721
+ key: string;
722
+ id: string;
723
+ name: string;
724
+ baseUri: string;
725
+ logoUri: string;
726
+ state?: import("..").WorkspaceElementState | undefined;
727
+ errors?: any[] | undefined;
728
+ parameters?: any;
729
+ parametersSchema?: DataSchema | undefined;
730
+ archivedAt?: string | undefined;
731
+ isTest?: boolean | undefined;
732
+ connectorId?: string | undefined;
733
+ connectorVersion?: string | undefined;
734
+ authOptions?: any[] | undefined;
735
+ oAuthCallbackUri?: string | undefined;
736
+ hasMissingParameters?: boolean | undefined;
737
+ hasDocumentation?: boolean | undefined;
738
+ hasOperations?: boolean | undefined;
739
+ hasData?: boolean | undefined;
740
+ hasEvents?: boolean | undefined;
741
+ hasGlobalWebhooks?: boolean | undefined;
742
+ hasUdm?: boolean | undefined;
743
+ appUuid?: string | undefined;
744
+ isDeactivated?: boolean | undefined;
745
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
746
+ }>;
747
+ }, "strip", z.ZodTypeAny, {
748
+ integration: {
749
+ key: string;
750
+ id: string;
751
+ name: string;
752
+ baseUri: string;
753
+ logoUri: string;
754
+ state?: import("..").WorkspaceElementState | undefined;
755
+ errors?: any[] | undefined;
756
+ parameters?: any;
757
+ parametersSchema?: DataSchema | undefined;
758
+ archivedAt?: string | undefined;
759
+ isTest?: boolean | undefined;
760
+ connectorId?: string | undefined;
761
+ connectorVersion?: string | undefined;
762
+ authOptions?: any[] | undefined;
763
+ oAuthCallbackUri?: string | undefined;
764
+ hasMissingParameters?: boolean | undefined;
765
+ hasDocumentation?: boolean | undefined;
766
+ hasOperations?: boolean | undefined;
767
+ hasData?: boolean | undefined;
768
+ hasEvents?: boolean | undefined;
769
+ hasGlobalWebhooks?: boolean | undefined;
770
+ hasUdm?: boolean | undefined;
771
+ appUuid?: string | undefined;
772
+ isDeactivated?: boolean | undefined;
773
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
774
+ };
775
+ element: {
776
+ key: string;
777
+ id: string;
778
+ name: string;
779
+ revision: string;
780
+ state?: import("..").WorkspaceElementState | undefined;
781
+ errors?: any[] | undefined;
782
+ integrationId?: string | undefined;
783
+ parametersSchema?: DataSchema | undefined;
784
+ archivedAt?: string | undefined;
785
+ customized?: boolean | undefined;
786
+ universalFlowId?: string | undefined;
787
+ universalFlowRevision?: string | undefined;
788
+ nodes?: Record<string, {
789
+ concurrency?: number | undefined;
790
+ type?: string | undefined;
791
+ name?: string | undefined;
792
+ description?: string | undefined;
793
+ isCustomized?: boolean | undefined;
794
+ inputSchema?: any;
795
+ config?: any;
796
+ outputSchema?: any;
797
+ version?: number | undefined;
798
+ onError?: "stop" | "continue" | undefined;
799
+ ui?: any;
800
+ outputExample?: any;
801
+ links?: {
802
+ key?: string | undefined;
803
+ filter?: any;
804
+ name?: string | undefined;
805
+ }[] | undefined;
806
+ }> | undefined;
807
+ autoCreateInstances?: boolean | undefined;
808
+ };
809
+ }, {
810
+ integration: {
811
+ key: string;
812
+ id: string;
813
+ name: string;
814
+ baseUri: string;
815
+ logoUri: string;
816
+ state?: import("..").WorkspaceElementState | undefined;
817
+ errors?: any[] | undefined;
818
+ parameters?: any;
819
+ parametersSchema?: DataSchema | undefined;
820
+ archivedAt?: string | undefined;
821
+ isTest?: boolean | undefined;
822
+ connectorId?: string | undefined;
823
+ connectorVersion?: string | undefined;
824
+ authOptions?: any[] | undefined;
825
+ oAuthCallbackUri?: string | undefined;
826
+ hasMissingParameters?: boolean | undefined;
827
+ hasDocumentation?: boolean | undefined;
828
+ hasOperations?: boolean | undefined;
829
+ hasData?: boolean | undefined;
830
+ hasEvents?: boolean | undefined;
831
+ hasGlobalWebhooks?: boolean | undefined;
832
+ hasUdm?: boolean | undefined;
833
+ appUuid?: string | undefined;
834
+ isDeactivated?: boolean | undefined;
835
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
836
+ };
837
+ element: {
838
+ key: string;
839
+ id: string;
840
+ name: string;
841
+ revision: string;
842
+ state?: import("..").WorkspaceElementState | undefined;
843
+ errors?: any[] | undefined;
844
+ integrationId?: string | undefined;
845
+ parametersSchema?: DataSchema | undefined;
846
+ archivedAt?: string | undefined;
847
+ customized?: boolean | undefined;
848
+ universalFlowId?: string | undefined;
849
+ universalFlowRevision?: string | undefined;
850
+ nodes?: Record<string, {
851
+ concurrency?: number | undefined;
852
+ type?: string | undefined;
853
+ name?: string | undefined;
854
+ description?: string | undefined;
855
+ isCustomized?: boolean | undefined;
856
+ inputSchema?: any;
857
+ config?: any;
858
+ outputSchema?: any;
859
+ version?: number | undefined;
860
+ onError?: "stop" | "continue" | undefined;
861
+ ui?: any;
862
+ outputExample?: any;
863
+ links?: {
864
+ key?: string | undefined;
865
+ filter?: any;
866
+ name?: string | undefined;
867
+ }[] | undefined;
868
+ }> | undefined;
869
+ autoCreateInstances?: boolean | undefined;
870
+ };
871
+ }>, "many">>;
872
+ }, "strip", z.ZodTypeAny, {
873
+ key: string;
874
+ id: string;
875
+ name: string;
876
+ revision: string;
877
+ integration?: {
878
+ key: string;
879
+ id: string;
880
+ name: string;
881
+ baseUri: string;
882
+ logoUri: string;
883
+ state?: import("..").WorkspaceElementState | undefined;
884
+ errors?: any[] | undefined;
885
+ parameters?: any;
886
+ parametersSchema?: DataSchema | undefined;
887
+ archivedAt?: string | undefined;
888
+ isTest?: boolean | undefined;
889
+ connectorId?: string | undefined;
890
+ connectorVersion?: string | undefined;
891
+ authOptions?: any[] | undefined;
892
+ oAuthCallbackUri?: string | undefined;
893
+ hasMissingParameters?: boolean | undefined;
894
+ hasDocumentation?: boolean | undefined;
895
+ hasOperations?: boolean | undefined;
896
+ hasData?: boolean | undefined;
897
+ hasEvents?: boolean | undefined;
898
+ hasGlobalWebhooks?: boolean | undefined;
899
+ hasUdm?: boolean | undefined;
900
+ appUuid?: string | undefined;
901
+ isDeactivated?: boolean | undefined;
902
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
903
+ } | undefined;
904
+ state?: import("..").WorkspaceElementState | undefined;
905
+ errors?: any[] | undefined;
906
+ integrationId?: string | undefined;
907
+ parametersSchema?: DataSchema | undefined;
908
+ archivedAt?: string | undefined;
909
+ customized?: boolean | undefined;
910
+ appliedToIntegrations?: {
911
+ integration: {
912
+ key: string;
913
+ id: string;
914
+ name: string;
915
+ baseUri: string;
916
+ logoUri: string;
917
+ state?: import("..").WorkspaceElementState | undefined;
918
+ errors?: any[] | undefined;
919
+ parameters?: any;
920
+ parametersSchema?: DataSchema | undefined;
921
+ archivedAt?: string | undefined;
922
+ isTest?: boolean | undefined;
923
+ connectorId?: string | undefined;
924
+ connectorVersion?: string | undefined;
925
+ authOptions?: any[] | undefined;
926
+ oAuthCallbackUri?: string | undefined;
927
+ hasMissingParameters?: boolean | undefined;
928
+ hasDocumentation?: boolean | undefined;
929
+ hasOperations?: boolean | undefined;
930
+ hasData?: boolean | undefined;
931
+ hasEvents?: boolean | undefined;
932
+ hasGlobalWebhooks?: boolean | undefined;
933
+ hasUdm?: boolean | undefined;
934
+ appUuid?: string | undefined;
935
+ isDeactivated?: boolean | undefined;
936
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
937
+ };
938
+ element: {
939
+ key: string;
940
+ id: string;
941
+ name: string;
942
+ revision: string;
943
+ state?: import("..").WorkspaceElementState | undefined;
944
+ errors?: any[] | undefined;
945
+ integrationId?: string | undefined;
946
+ parametersSchema?: DataSchema | undefined;
947
+ archivedAt?: string | undefined;
948
+ customized?: boolean | undefined;
949
+ universalFlowId?: string | undefined;
950
+ universalFlowRevision?: string | undefined;
951
+ nodes?: Record<string, {
952
+ concurrency?: number | undefined;
953
+ type?: string | undefined;
954
+ name?: string | undefined;
955
+ description?: string | undefined;
956
+ isCustomized?: boolean | undefined;
957
+ inputSchema?: any;
958
+ config?: any;
959
+ outputSchema?: any;
960
+ version?: number | undefined;
961
+ onError?: "stop" | "continue" | undefined;
962
+ ui?: any;
963
+ outputExample?: any;
964
+ links?: {
965
+ key?: string | undefined;
966
+ filter?: any;
967
+ name?: string | undefined;
968
+ }[] | undefined;
969
+ }> | undefined;
970
+ autoCreateInstances?: boolean | undefined;
971
+ };
972
+ }[] | undefined;
973
+ universalFlowId?: string | undefined;
974
+ universalFlowRevision?: string | undefined;
975
+ nodes?: Record<string, {
976
+ concurrency?: number | undefined;
977
+ type?: string | undefined;
978
+ name?: string | undefined;
979
+ description?: string | undefined;
980
+ isCustomized?: boolean | undefined;
981
+ inputSchema?: any;
982
+ config?: any;
983
+ outputSchema?: any;
984
+ version?: number | undefined;
985
+ onError?: "stop" | "continue" | undefined;
986
+ ui?: any;
987
+ outputExample?: any;
988
+ links?: {
989
+ key?: string | undefined;
990
+ filter?: any;
991
+ name?: string | undefined;
992
+ }[] | undefined;
993
+ }> | undefined;
994
+ autoCreateInstances?: boolean | undefined;
995
+ }, {
996
+ key: string;
997
+ id: string;
998
+ name: string;
999
+ revision: string;
1000
+ integration?: {
1001
+ key: string;
1002
+ id: string;
1003
+ name: string;
1004
+ baseUri: string;
1005
+ logoUri: string;
1006
+ state?: import("..").WorkspaceElementState | undefined;
1007
+ errors?: any[] | undefined;
1008
+ parameters?: any;
1009
+ parametersSchema?: DataSchema | undefined;
1010
+ archivedAt?: string | undefined;
1011
+ isTest?: boolean | undefined;
1012
+ connectorId?: string | undefined;
1013
+ connectorVersion?: string | undefined;
1014
+ authOptions?: any[] | undefined;
1015
+ oAuthCallbackUri?: string | undefined;
1016
+ hasMissingParameters?: boolean | undefined;
1017
+ hasDocumentation?: boolean | undefined;
1018
+ hasOperations?: boolean | undefined;
1019
+ hasData?: boolean | undefined;
1020
+ hasEvents?: boolean | undefined;
1021
+ hasGlobalWebhooks?: boolean | undefined;
1022
+ hasUdm?: boolean | undefined;
1023
+ appUuid?: string | undefined;
1024
+ isDeactivated?: boolean | undefined;
1025
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1026
+ } | undefined;
1027
+ state?: import("..").WorkspaceElementState | undefined;
1028
+ errors?: any[] | undefined;
1029
+ integrationId?: string | undefined;
1030
+ parametersSchema?: DataSchema | undefined;
1031
+ archivedAt?: string | undefined;
1032
+ customized?: boolean | undefined;
1033
+ appliedToIntegrations?: {
1034
+ integration: {
1035
+ key: string;
1036
+ id: string;
1037
+ name: string;
1038
+ baseUri: string;
1039
+ logoUri: string;
1040
+ state?: import("..").WorkspaceElementState | undefined;
1041
+ errors?: any[] | undefined;
1042
+ parameters?: any;
1043
+ parametersSchema?: DataSchema | undefined;
1044
+ archivedAt?: string | undefined;
1045
+ isTest?: boolean | undefined;
1046
+ connectorId?: string | undefined;
1047
+ connectorVersion?: string | undefined;
1048
+ authOptions?: any[] | undefined;
1049
+ oAuthCallbackUri?: string | undefined;
1050
+ hasMissingParameters?: boolean | undefined;
1051
+ hasDocumentation?: boolean | undefined;
1052
+ hasOperations?: boolean | undefined;
1053
+ hasData?: boolean | undefined;
1054
+ hasEvents?: boolean | undefined;
1055
+ hasGlobalWebhooks?: boolean | undefined;
1056
+ hasUdm?: boolean | undefined;
1057
+ appUuid?: string | undefined;
1058
+ isDeactivated?: boolean | undefined;
1059
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1060
+ };
1061
+ element: {
1062
+ key: string;
1063
+ id: string;
1064
+ name: string;
1065
+ revision: string;
1066
+ state?: import("..").WorkspaceElementState | undefined;
1067
+ errors?: any[] | undefined;
1068
+ integrationId?: string | undefined;
1069
+ parametersSchema?: DataSchema | undefined;
1070
+ archivedAt?: string | undefined;
1071
+ customized?: boolean | undefined;
1072
+ universalFlowId?: string | undefined;
1073
+ universalFlowRevision?: string | undefined;
1074
+ nodes?: Record<string, {
1075
+ concurrency?: number | undefined;
1076
+ type?: string | undefined;
1077
+ name?: string | undefined;
1078
+ description?: string | undefined;
1079
+ isCustomized?: boolean | undefined;
1080
+ inputSchema?: any;
1081
+ config?: any;
1082
+ outputSchema?: any;
1083
+ version?: number | undefined;
1084
+ onError?: "stop" | "continue" | undefined;
1085
+ ui?: any;
1086
+ outputExample?: any;
1087
+ links?: {
1088
+ key?: string | undefined;
1089
+ filter?: any;
1090
+ name?: string | undefined;
1091
+ }[] | undefined;
1092
+ }> | undefined;
1093
+ autoCreateInstances?: boolean | undefined;
1094
+ };
1095
+ }[] | undefined;
1096
+ universalFlowId?: string | undefined;
1097
+ universalFlowRevision?: string | undefined;
1098
+ nodes?: Record<string, {
1099
+ concurrency?: number | undefined;
1100
+ type?: string | undefined;
1101
+ name?: string | undefined;
1102
+ description?: string | undefined;
1103
+ isCustomized?: boolean | undefined;
1104
+ inputSchema?: any;
1105
+ config?: any;
1106
+ outputSchema?: any;
1107
+ version?: number | undefined;
1108
+ onError?: "stop" | "continue" | undefined;
1109
+ ui?: any;
1110
+ outputExample?: any;
1111
+ links?: {
1112
+ key?: string | undefined;
1113
+ filter?: any;
1114
+ name?: string | undefined;
1115
+ }[] | undefined;
1116
+ }> | undefined;
1117
+ autoCreateInstances?: boolean | undefined;
1118
+ }>;
1119
+ export type Flow = z.infer<typeof Flow>;
63
1120
  export type FlowApiResponse = Flow;
64
- export interface FlowInstance extends BaseFlowInstance {
65
- user?: BaseCustomer;
66
- connection?: BaseConnection;
67
- flow?: Flow;
68
- integration?: BaseIntegration;
69
- }
1121
+ export declare const FlowInstance: z.ZodObject<{
1122
+ id: z.ZodString;
1123
+ name: z.ZodString;
1124
+ key: z.ZodString;
1125
+ errors: z.ZodOptional<z.ZodArray<any, "many">>;
1126
+ } & {
1127
+ userId: z.ZodString;
1128
+ connectionId: z.ZodOptional<z.ZodString>;
1129
+ flowId: z.ZodOptional<z.ZodString>;
1130
+ universalFlowId: z.ZodOptional<z.ZodString>;
1131
+ integrationId: z.ZodString;
1132
+ instanceKey: z.ZodOptional<z.ZodString>;
1133
+ parameters: z.ZodOptional<z.ZodAny>;
1134
+ parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
1135
+ nodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1136
+ enabled: z.ZodBoolean;
1137
+ createdAt: z.ZodString;
1138
+ updatedAt: z.ZodString;
1139
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
1140
+ outdated: z.ZodOptional<z.ZodBoolean>;
1141
+ customized: z.ZodOptional<z.ZodObject<{
1142
+ name: z.ZodOptional<z.ZodBoolean>;
1143
+ nodes: z.ZodOptional<z.ZodBoolean>;
1144
+ }, "strip", z.ZodTypeAny, {
1145
+ name?: boolean | undefined;
1146
+ nodes?: boolean | undefined;
1147
+ }, {
1148
+ name?: boolean | undefined;
1149
+ nodes?: boolean | undefined;
1150
+ }>>;
1151
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1152
+ } & {
1153
+ user: z.ZodOptional<z.ZodLazy<z.ZodType<{
1154
+ id: string;
1155
+ name: string;
1156
+ internalId: string;
1157
+ credentials?: any;
1158
+ fields?: Record<string, any> | undefined;
1159
+ lastActiveAt?: string | undefined;
1160
+ isTest?: boolean | undefined;
1161
+ isBillable?: boolean | undefined;
1162
+ }, z.ZodTypeDef, {
1163
+ id: string;
1164
+ name: string;
1165
+ internalId: string;
1166
+ credentials?: any;
1167
+ fields?: Record<string, any> | undefined;
1168
+ lastActiveAt?: string | undefined;
1169
+ isTest?: boolean | undefined;
1170
+ isBillable?: boolean | undefined;
1171
+ }>>>;
1172
+ connection: z.ZodOptional<z.ZodLazy<z.ZodType<{
1173
+ id: string;
1174
+ name: string;
1175
+ userId: string;
1176
+ integrationId: string;
1177
+ createdAt: string;
1178
+ updatedAt: string;
1179
+ error?: any;
1180
+ state?: import("..").WorkspaceElementState | undefined;
1181
+ errors?: any[] | undefined;
1182
+ accessToken?: string | undefined;
1183
+ credentials?: unknown;
1184
+ parameters?: unknown;
1185
+ connectorParameters?: unknown;
1186
+ disconnected?: boolean | undefined;
1187
+ refreshToken?: string | undefined;
1188
+ lastActiveAt?: string | undefined;
1189
+ nextCredentialsRefreshAt?: string | undefined;
1190
+ archivedAt?: string | undefined;
1191
+ }, z.ZodTypeDef, {
1192
+ id: string;
1193
+ name: string;
1194
+ userId: string;
1195
+ integrationId: string;
1196
+ createdAt: string;
1197
+ updatedAt: string;
1198
+ error?: any;
1199
+ state?: import("..").WorkspaceElementState | undefined;
1200
+ errors?: any[] | undefined;
1201
+ accessToken?: string | undefined;
1202
+ credentials?: unknown;
1203
+ parameters?: unknown;
1204
+ connectorParameters?: unknown;
1205
+ disconnected?: boolean | undefined;
1206
+ refreshToken?: string | undefined;
1207
+ lastActiveAt?: string | undefined;
1208
+ nextCredentialsRefreshAt?: string | undefined;
1209
+ archivedAt?: string | undefined;
1210
+ }>>>;
1211
+ flow: z.ZodOptional<z.ZodLazy<z.ZodObject<{
1212
+ id: z.ZodString;
1213
+ name: z.ZodString;
1214
+ } & {
1215
+ key: z.ZodString;
1216
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
1217
+ errors: z.ZodOptional<z.ZodArray<any, "many">>;
1218
+ } & {
1219
+ integrationId: z.ZodOptional<z.ZodString>;
1220
+ universalFlowId: z.ZodOptional<z.ZodString>;
1221
+ universalFlowRevision: z.ZodOptional<z.ZodString>;
1222
+ parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
1223
+ nodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1224
+ type: z.ZodOptional<z.ZodString>;
1225
+ version: z.ZodOptional<z.ZodNumber>;
1226
+ name: z.ZodOptional<z.ZodString>;
1227
+ description: z.ZodOptional<z.ZodString>;
1228
+ config: z.ZodOptional<z.ZodAny>;
1229
+ concurrency: z.ZodOptional<z.ZodNumber>;
1230
+ onError: z.ZodOptional<z.ZodEnum<["stop", "continue"]>>;
1231
+ ui: z.ZodOptional<z.ZodAny>;
1232
+ inputSchema: z.ZodOptional<z.ZodAny>;
1233
+ outputSchema: z.ZodOptional<z.ZodAny>;
1234
+ outputExample: z.ZodOptional<z.ZodAny>;
1235
+ links: z.ZodOptional<z.ZodArray<z.ZodObject<{
1236
+ key: z.ZodOptional<z.ZodString>;
1237
+ filter: z.ZodOptional<z.ZodAny>;
1238
+ name: z.ZodOptional<z.ZodString>;
1239
+ }, "strip", z.ZodTypeAny, {
1240
+ key?: string | undefined;
1241
+ filter?: any;
1242
+ name?: string | undefined;
1243
+ }, {
1244
+ key?: string | undefined;
1245
+ filter?: any;
1246
+ name?: string | undefined;
1247
+ }>, "many">>;
1248
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
1249
+ }, "strip", z.ZodTypeAny, {
1250
+ concurrency?: number | undefined;
1251
+ type?: string | undefined;
1252
+ name?: string | undefined;
1253
+ description?: string | undefined;
1254
+ isCustomized?: boolean | undefined;
1255
+ inputSchema?: any;
1256
+ config?: any;
1257
+ outputSchema?: any;
1258
+ version?: number | undefined;
1259
+ onError?: "stop" | "continue" | undefined;
1260
+ ui?: any;
1261
+ outputExample?: any;
1262
+ links?: {
1263
+ key?: string | undefined;
1264
+ filter?: any;
1265
+ name?: string | undefined;
1266
+ }[] | undefined;
1267
+ }, {
1268
+ concurrency?: number | undefined;
1269
+ type?: string | undefined;
1270
+ name?: string | undefined;
1271
+ description?: string | undefined;
1272
+ isCustomized?: boolean | undefined;
1273
+ inputSchema?: any;
1274
+ config?: any;
1275
+ outputSchema?: any;
1276
+ version?: number | undefined;
1277
+ onError?: "stop" | "continue" | undefined;
1278
+ ui?: any;
1279
+ outputExample?: any;
1280
+ links?: {
1281
+ key?: string | undefined;
1282
+ filter?: any;
1283
+ name?: string | undefined;
1284
+ }[] | undefined;
1285
+ }>>>;
1286
+ autoCreateInstances: z.ZodOptional<z.ZodBoolean>;
1287
+ archivedAt: z.ZodOptional<z.ZodString>;
1288
+ revision: z.ZodString;
1289
+ customized: z.ZodOptional<z.ZodBoolean>;
1290
+ } & {
1291
+ integration: z.ZodOptional<z.ZodObject<{
1292
+ id: z.ZodString;
1293
+ name: z.ZodString;
1294
+ } & {
1295
+ key: z.ZodString;
1296
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
1297
+ errors: z.ZodOptional<z.ZodArray<any, "many">>;
1298
+ } & {
1299
+ logoUri: z.ZodString;
1300
+ connectorId: z.ZodOptional<z.ZodString>;
1301
+ connectorVersion: z.ZodOptional<z.ZodString>;
1302
+ authOptions: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1303
+ oAuthCallbackUri: z.ZodOptional<z.ZodString>;
1304
+ parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
1305
+ parameters: z.ZodOptional<z.ZodAny>;
1306
+ baseUri: z.ZodString;
1307
+ archivedAt: z.ZodOptional<z.ZodString>;
1308
+ hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
1309
+ hasDocumentation: z.ZodOptional<z.ZodBoolean>;
1310
+ hasOperations: z.ZodOptional<z.ZodBoolean>;
1311
+ hasData: z.ZodOptional<z.ZodBoolean>;
1312
+ hasEvents: z.ZodOptional<z.ZodBoolean>;
1313
+ hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
1314
+ hasUdm: z.ZodOptional<z.ZodBoolean>;
1315
+ isTest: z.ZodOptional<z.ZodBoolean>;
1316
+ appUuid: z.ZodOptional<z.ZodString>;
1317
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
1318
+ authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
1319
+ }, "strip", z.ZodTypeAny, {
1320
+ key: string;
1321
+ id: string;
1322
+ name: string;
1323
+ baseUri: string;
1324
+ logoUri: string;
1325
+ state?: import("..").WorkspaceElementState | undefined;
1326
+ errors?: any[] | undefined;
1327
+ parameters?: any;
1328
+ parametersSchema?: DataSchema | undefined;
1329
+ archivedAt?: string | undefined;
1330
+ isTest?: boolean | undefined;
1331
+ connectorId?: string | undefined;
1332
+ connectorVersion?: string | undefined;
1333
+ authOptions?: any[] | undefined;
1334
+ oAuthCallbackUri?: string | undefined;
1335
+ hasMissingParameters?: boolean | undefined;
1336
+ hasDocumentation?: boolean | undefined;
1337
+ hasOperations?: boolean | undefined;
1338
+ hasData?: boolean | undefined;
1339
+ hasEvents?: boolean | undefined;
1340
+ hasGlobalWebhooks?: boolean | undefined;
1341
+ hasUdm?: boolean | undefined;
1342
+ appUuid?: string | undefined;
1343
+ isDeactivated?: boolean | undefined;
1344
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1345
+ }, {
1346
+ key: string;
1347
+ id: string;
1348
+ name: string;
1349
+ baseUri: string;
1350
+ logoUri: string;
1351
+ state?: import("..").WorkspaceElementState | undefined;
1352
+ errors?: any[] | undefined;
1353
+ parameters?: any;
1354
+ parametersSchema?: DataSchema | undefined;
1355
+ archivedAt?: string | undefined;
1356
+ isTest?: boolean | undefined;
1357
+ connectorId?: string | undefined;
1358
+ connectorVersion?: string | undefined;
1359
+ authOptions?: any[] | undefined;
1360
+ oAuthCallbackUri?: string | undefined;
1361
+ hasMissingParameters?: boolean | undefined;
1362
+ hasDocumentation?: boolean | undefined;
1363
+ hasOperations?: boolean | undefined;
1364
+ hasData?: boolean | undefined;
1365
+ hasEvents?: boolean | undefined;
1366
+ hasGlobalWebhooks?: boolean | undefined;
1367
+ hasUdm?: boolean | undefined;
1368
+ appUuid?: string | undefined;
1369
+ isDeactivated?: boolean | undefined;
1370
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1371
+ }>>;
1372
+ appliedToIntegrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
1373
+ element: z.ZodObject<{
1374
+ id: z.ZodString;
1375
+ name: z.ZodString;
1376
+ } & {
1377
+ key: z.ZodString;
1378
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
1379
+ errors: z.ZodOptional<z.ZodArray<any, "many">>;
1380
+ } & {
1381
+ integrationId: z.ZodOptional<z.ZodString>;
1382
+ universalFlowId: z.ZodOptional<z.ZodString>;
1383
+ universalFlowRevision: z.ZodOptional<z.ZodString>;
1384
+ parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
1385
+ nodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1386
+ type: z.ZodOptional<z.ZodString>;
1387
+ version: z.ZodOptional<z.ZodNumber>;
1388
+ name: z.ZodOptional<z.ZodString>;
1389
+ description: z.ZodOptional<z.ZodString>;
1390
+ config: z.ZodOptional<z.ZodAny>;
1391
+ concurrency: z.ZodOptional<z.ZodNumber>;
1392
+ onError: z.ZodOptional<z.ZodEnum<["stop", "continue"]>>;
1393
+ ui: z.ZodOptional<z.ZodAny>;
1394
+ inputSchema: z.ZodOptional<z.ZodAny>;
1395
+ outputSchema: z.ZodOptional<z.ZodAny>;
1396
+ outputExample: z.ZodOptional<z.ZodAny>;
1397
+ links: z.ZodOptional<z.ZodArray<z.ZodObject<{
1398
+ key: z.ZodOptional<z.ZodString>;
1399
+ filter: z.ZodOptional<z.ZodAny>;
1400
+ name: z.ZodOptional<z.ZodString>;
1401
+ }, "strip", z.ZodTypeAny, {
1402
+ key?: string | undefined;
1403
+ filter?: any;
1404
+ name?: string | undefined;
1405
+ }, {
1406
+ key?: string | undefined;
1407
+ filter?: any;
1408
+ name?: string | undefined;
1409
+ }>, "many">>;
1410
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
1411
+ }, "strip", z.ZodTypeAny, {
1412
+ concurrency?: number | undefined;
1413
+ type?: string | undefined;
1414
+ name?: string | undefined;
1415
+ description?: string | undefined;
1416
+ isCustomized?: boolean | undefined;
1417
+ inputSchema?: any;
1418
+ config?: any;
1419
+ outputSchema?: any;
1420
+ version?: number | undefined;
1421
+ onError?: "stop" | "continue" | undefined;
1422
+ ui?: any;
1423
+ outputExample?: any;
1424
+ links?: {
1425
+ key?: string | undefined;
1426
+ filter?: any;
1427
+ name?: string | undefined;
1428
+ }[] | undefined;
1429
+ }, {
1430
+ concurrency?: number | undefined;
1431
+ type?: string | undefined;
1432
+ name?: string | undefined;
1433
+ description?: string | undefined;
1434
+ isCustomized?: boolean | undefined;
1435
+ inputSchema?: any;
1436
+ config?: any;
1437
+ outputSchema?: any;
1438
+ version?: number | undefined;
1439
+ onError?: "stop" | "continue" | undefined;
1440
+ ui?: any;
1441
+ outputExample?: any;
1442
+ links?: {
1443
+ key?: string | undefined;
1444
+ filter?: any;
1445
+ name?: string | undefined;
1446
+ }[] | undefined;
1447
+ }>>>;
1448
+ autoCreateInstances: z.ZodOptional<z.ZodBoolean>;
1449
+ archivedAt: z.ZodOptional<z.ZodString>;
1450
+ revision: z.ZodString;
1451
+ customized: z.ZodOptional<z.ZodBoolean>;
1452
+ }, "strip", z.ZodTypeAny, {
1453
+ key: string;
1454
+ id: string;
1455
+ name: string;
1456
+ revision: string;
1457
+ state?: import("..").WorkspaceElementState | undefined;
1458
+ errors?: any[] | undefined;
1459
+ integrationId?: string | undefined;
1460
+ parametersSchema?: DataSchema | undefined;
1461
+ archivedAt?: string | undefined;
1462
+ customized?: boolean | undefined;
1463
+ universalFlowId?: string | undefined;
1464
+ universalFlowRevision?: string | undefined;
1465
+ nodes?: Record<string, {
1466
+ concurrency?: number | undefined;
1467
+ type?: string | undefined;
1468
+ name?: string | undefined;
1469
+ description?: string | undefined;
1470
+ isCustomized?: boolean | undefined;
1471
+ inputSchema?: any;
1472
+ config?: any;
1473
+ outputSchema?: any;
1474
+ version?: number | undefined;
1475
+ onError?: "stop" | "continue" | undefined;
1476
+ ui?: any;
1477
+ outputExample?: any;
1478
+ links?: {
1479
+ key?: string | undefined;
1480
+ filter?: any;
1481
+ name?: string | undefined;
1482
+ }[] | undefined;
1483
+ }> | undefined;
1484
+ autoCreateInstances?: boolean | undefined;
1485
+ }, {
1486
+ key: string;
1487
+ id: string;
1488
+ name: string;
1489
+ revision: string;
1490
+ state?: import("..").WorkspaceElementState | undefined;
1491
+ errors?: any[] | undefined;
1492
+ integrationId?: string | undefined;
1493
+ parametersSchema?: DataSchema | undefined;
1494
+ archivedAt?: string | undefined;
1495
+ customized?: boolean | undefined;
1496
+ universalFlowId?: string | undefined;
1497
+ universalFlowRevision?: string | undefined;
1498
+ nodes?: Record<string, {
1499
+ concurrency?: number | undefined;
1500
+ type?: string | undefined;
1501
+ name?: string | undefined;
1502
+ description?: string | undefined;
1503
+ isCustomized?: boolean | undefined;
1504
+ inputSchema?: any;
1505
+ config?: any;
1506
+ outputSchema?: any;
1507
+ version?: number | undefined;
1508
+ onError?: "stop" | "continue" | undefined;
1509
+ ui?: any;
1510
+ outputExample?: any;
1511
+ links?: {
1512
+ key?: string | undefined;
1513
+ filter?: any;
1514
+ name?: string | undefined;
1515
+ }[] | undefined;
1516
+ }> | undefined;
1517
+ autoCreateInstances?: boolean | undefined;
1518
+ }>;
1519
+ integration: z.ZodObject<{
1520
+ id: z.ZodString;
1521
+ name: z.ZodString;
1522
+ } & {
1523
+ key: z.ZodString;
1524
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
1525
+ errors: z.ZodOptional<z.ZodArray<any, "many">>;
1526
+ } & {
1527
+ logoUri: z.ZodString;
1528
+ connectorId: z.ZodOptional<z.ZodString>;
1529
+ connectorVersion: z.ZodOptional<z.ZodString>;
1530
+ authOptions: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1531
+ oAuthCallbackUri: z.ZodOptional<z.ZodString>;
1532
+ parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
1533
+ parameters: z.ZodOptional<z.ZodAny>;
1534
+ baseUri: z.ZodString;
1535
+ archivedAt: z.ZodOptional<z.ZodString>;
1536
+ hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
1537
+ hasDocumentation: z.ZodOptional<z.ZodBoolean>;
1538
+ hasOperations: z.ZodOptional<z.ZodBoolean>;
1539
+ hasData: z.ZodOptional<z.ZodBoolean>;
1540
+ hasEvents: z.ZodOptional<z.ZodBoolean>;
1541
+ hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
1542
+ hasUdm: z.ZodOptional<z.ZodBoolean>;
1543
+ isTest: z.ZodOptional<z.ZodBoolean>;
1544
+ appUuid: z.ZodOptional<z.ZodString>;
1545
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
1546
+ authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
1547
+ }, "strip", z.ZodTypeAny, {
1548
+ key: string;
1549
+ id: string;
1550
+ name: string;
1551
+ baseUri: string;
1552
+ logoUri: string;
1553
+ state?: import("..").WorkspaceElementState | undefined;
1554
+ errors?: any[] | undefined;
1555
+ parameters?: any;
1556
+ parametersSchema?: DataSchema | undefined;
1557
+ archivedAt?: string | undefined;
1558
+ isTest?: boolean | undefined;
1559
+ connectorId?: string | undefined;
1560
+ connectorVersion?: string | undefined;
1561
+ authOptions?: any[] | undefined;
1562
+ oAuthCallbackUri?: string | undefined;
1563
+ hasMissingParameters?: boolean | undefined;
1564
+ hasDocumentation?: boolean | undefined;
1565
+ hasOperations?: boolean | undefined;
1566
+ hasData?: boolean | undefined;
1567
+ hasEvents?: boolean | undefined;
1568
+ hasGlobalWebhooks?: boolean | undefined;
1569
+ hasUdm?: boolean | undefined;
1570
+ appUuid?: string | undefined;
1571
+ isDeactivated?: boolean | undefined;
1572
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1573
+ }, {
1574
+ key: string;
1575
+ id: string;
1576
+ name: string;
1577
+ baseUri: string;
1578
+ logoUri: string;
1579
+ state?: import("..").WorkspaceElementState | undefined;
1580
+ errors?: any[] | undefined;
1581
+ parameters?: any;
1582
+ parametersSchema?: DataSchema | undefined;
1583
+ archivedAt?: string | undefined;
1584
+ isTest?: boolean | undefined;
1585
+ connectorId?: string | undefined;
1586
+ connectorVersion?: string | undefined;
1587
+ authOptions?: any[] | undefined;
1588
+ oAuthCallbackUri?: string | undefined;
1589
+ hasMissingParameters?: boolean | undefined;
1590
+ hasDocumentation?: boolean | undefined;
1591
+ hasOperations?: boolean | undefined;
1592
+ hasData?: boolean | undefined;
1593
+ hasEvents?: boolean | undefined;
1594
+ hasGlobalWebhooks?: boolean | undefined;
1595
+ hasUdm?: boolean | undefined;
1596
+ appUuid?: string | undefined;
1597
+ isDeactivated?: boolean | undefined;
1598
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1599
+ }>;
1600
+ }, "strip", z.ZodTypeAny, {
1601
+ integration: {
1602
+ key: string;
1603
+ id: string;
1604
+ name: string;
1605
+ baseUri: string;
1606
+ logoUri: string;
1607
+ state?: import("..").WorkspaceElementState | undefined;
1608
+ errors?: any[] | undefined;
1609
+ parameters?: any;
1610
+ parametersSchema?: DataSchema | undefined;
1611
+ archivedAt?: string | undefined;
1612
+ isTest?: boolean | undefined;
1613
+ connectorId?: string | undefined;
1614
+ connectorVersion?: string | undefined;
1615
+ authOptions?: any[] | undefined;
1616
+ oAuthCallbackUri?: string | undefined;
1617
+ hasMissingParameters?: boolean | undefined;
1618
+ hasDocumentation?: boolean | undefined;
1619
+ hasOperations?: boolean | undefined;
1620
+ hasData?: boolean | undefined;
1621
+ hasEvents?: boolean | undefined;
1622
+ hasGlobalWebhooks?: boolean | undefined;
1623
+ hasUdm?: boolean | undefined;
1624
+ appUuid?: string | undefined;
1625
+ isDeactivated?: boolean | undefined;
1626
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1627
+ };
1628
+ element: {
1629
+ key: string;
1630
+ id: string;
1631
+ name: string;
1632
+ revision: string;
1633
+ state?: import("..").WorkspaceElementState | undefined;
1634
+ errors?: any[] | undefined;
1635
+ integrationId?: string | undefined;
1636
+ parametersSchema?: DataSchema | undefined;
1637
+ archivedAt?: string | undefined;
1638
+ customized?: boolean | undefined;
1639
+ universalFlowId?: string | undefined;
1640
+ universalFlowRevision?: string | undefined;
1641
+ nodes?: Record<string, {
1642
+ concurrency?: number | undefined;
1643
+ type?: string | undefined;
1644
+ name?: string | undefined;
1645
+ description?: string | undefined;
1646
+ isCustomized?: boolean | undefined;
1647
+ inputSchema?: any;
1648
+ config?: any;
1649
+ outputSchema?: any;
1650
+ version?: number | undefined;
1651
+ onError?: "stop" | "continue" | undefined;
1652
+ ui?: any;
1653
+ outputExample?: any;
1654
+ links?: {
1655
+ key?: string | undefined;
1656
+ filter?: any;
1657
+ name?: string | undefined;
1658
+ }[] | undefined;
1659
+ }> | undefined;
1660
+ autoCreateInstances?: boolean | undefined;
1661
+ };
1662
+ }, {
1663
+ integration: {
1664
+ key: string;
1665
+ id: string;
1666
+ name: string;
1667
+ baseUri: string;
1668
+ logoUri: string;
1669
+ state?: import("..").WorkspaceElementState | undefined;
1670
+ errors?: any[] | undefined;
1671
+ parameters?: any;
1672
+ parametersSchema?: DataSchema | undefined;
1673
+ archivedAt?: string | undefined;
1674
+ isTest?: boolean | undefined;
1675
+ connectorId?: string | undefined;
1676
+ connectorVersion?: string | undefined;
1677
+ authOptions?: any[] | undefined;
1678
+ oAuthCallbackUri?: string | undefined;
1679
+ hasMissingParameters?: boolean | undefined;
1680
+ hasDocumentation?: boolean | undefined;
1681
+ hasOperations?: boolean | undefined;
1682
+ hasData?: boolean | undefined;
1683
+ hasEvents?: boolean | undefined;
1684
+ hasGlobalWebhooks?: boolean | undefined;
1685
+ hasUdm?: boolean | undefined;
1686
+ appUuid?: string | undefined;
1687
+ isDeactivated?: boolean | undefined;
1688
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1689
+ };
1690
+ element: {
1691
+ key: string;
1692
+ id: string;
1693
+ name: string;
1694
+ revision: string;
1695
+ state?: import("..").WorkspaceElementState | undefined;
1696
+ errors?: any[] | undefined;
1697
+ integrationId?: string | undefined;
1698
+ parametersSchema?: DataSchema | undefined;
1699
+ archivedAt?: string | undefined;
1700
+ customized?: boolean | undefined;
1701
+ universalFlowId?: string | undefined;
1702
+ universalFlowRevision?: string | undefined;
1703
+ nodes?: Record<string, {
1704
+ concurrency?: number | undefined;
1705
+ type?: string | undefined;
1706
+ name?: string | undefined;
1707
+ description?: string | undefined;
1708
+ isCustomized?: boolean | undefined;
1709
+ inputSchema?: any;
1710
+ config?: any;
1711
+ outputSchema?: any;
1712
+ version?: number | undefined;
1713
+ onError?: "stop" | "continue" | undefined;
1714
+ ui?: any;
1715
+ outputExample?: any;
1716
+ links?: {
1717
+ key?: string | undefined;
1718
+ filter?: any;
1719
+ name?: string | undefined;
1720
+ }[] | undefined;
1721
+ }> | undefined;
1722
+ autoCreateInstances?: boolean | undefined;
1723
+ };
1724
+ }>, "many">>;
1725
+ }, "strip", z.ZodTypeAny, {
1726
+ key: string;
1727
+ id: string;
1728
+ name: string;
1729
+ revision: string;
1730
+ integration?: {
1731
+ key: string;
1732
+ id: string;
1733
+ name: string;
1734
+ baseUri: string;
1735
+ logoUri: string;
1736
+ state?: import("..").WorkspaceElementState | undefined;
1737
+ errors?: any[] | undefined;
1738
+ parameters?: any;
1739
+ parametersSchema?: DataSchema | undefined;
1740
+ archivedAt?: string | undefined;
1741
+ isTest?: boolean | undefined;
1742
+ connectorId?: string | undefined;
1743
+ connectorVersion?: string | undefined;
1744
+ authOptions?: any[] | undefined;
1745
+ oAuthCallbackUri?: string | undefined;
1746
+ hasMissingParameters?: boolean | undefined;
1747
+ hasDocumentation?: boolean | undefined;
1748
+ hasOperations?: boolean | undefined;
1749
+ hasData?: boolean | undefined;
1750
+ hasEvents?: boolean | undefined;
1751
+ hasGlobalWebhooks?: boolean | undefined;
1752
+ hasUdm?: boolean | undefined;
1753
+ appUuid?: string | undefined;
1754
+ isDeactivated?: boolean | undefined;
1755
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1756
+ } | undefined;
1757
+ state?: import("..").WorkspaceElementState | undefined;
1758
+ errors?: any[] | undefined;
1759
+ integrationId?: string | undefined;
1760
+ parametersSchema?: DataSchema | undefined;
1761
+ archivedAt?: string | undefined;
1762
+ customized?: boolean | undefined;
1763
+ appliedToIntegrations?: {
1764
+ integration: {
1765
+ key: string;
1766
+ id: string;
1767
+ name: string;
1768
+ baseUri: string;
1769
+ logoUri: string;
1770
+ state?: import("..").WorkspaceElementState | undefined;
1771
+ errors?: any[] | undefined;
1772
+ parameters?: any;
1773
+ parametersSchema?: DataSchema | undefined;
1774
+ archivedAt?: string | undefined;
1775
+ isTest?: boolean | undefined;
1776
+ connectorId?: string | undefined;
1777
+ connectorVersion?: string | undefined;
1778
+ authOptions?: any[] | undefined;
1779
+ oAuthCallbackUri?: string | undefined;
1780
+ hasMissingParameters?: boolean | undefined;
1781
+ hasDocumentation?: boolean | undefined;
1782
+ hasOperations?: boolean | undefined;
1783
+ hasData?: boolean | undefined;
1784
+ hasEvents?: boolean | undefined;
1785
+ hasGlobalWebhooks?: boolean | undefined;
1786
+ hasUdm?: boolean | undefined;
1787
+ appUuid?: string | undefined;
1788
+ isDeactivated?: boolean | undefined;
1789
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1790
+ };
1791
+ element: {
1792
+ key: string;
1793
+ id: string;
1794
+ name: string;
1795
+ revision: string;
1796
+ state?: import("..").WorkspaceElementState | undefined;
1797
+ errors?: any[] | undefined;
1798
+ integrationId?: string | undefined;
1799
+ parametersSchema?: DataSchema | undefined;
1800
+ archivedAt?: string | undefined;
1801
+ customized?: boolean | undefined;
1802
+ universalFlowId?: string | undefined;
1803
+ universalFlowRevision?: string | undefined;
1804
+ nodes?: Record<string, {
1805
+ concurrency?: number | undefined;
1806
+ type?: string | undefined;
1807
+ name?: string | undefined;
1808
+ description?: string | undefined;
1809
+ isCustomized?: boolean | undefined;
1810
+ inputSchema?: any;
1811
+ config?: any;
1812
+ outputSchema?: any;
1813
+ version?: number | undefined;
1814
+ onError?: "stop" | "continue" | undefined;
1815
+ ui?: any;
1816
+ outputExample?: any;
1817
+ links?: {
1818
+ key?: string | undefined;
1819
+ filter?: any;
1820
+ name?: string | undefined;
1821
+ }[] | undefined;
1822
+ }> | undefined;
1823
+ autoCreateInstances?: boolean | undefined;
1824
+ };
1825
+ }[] | undefined;
1826
+ universalFlowId?: string | undefined;
1827
+ universalFlowRevision?: string | undefined;
1828
+ nodes?: Record<string, {
1829
+ concurrency?: number | undefined;
1830
+ type?: string | undefined;
1831
+ name?: string | undefined;
1832
+ description?: string | undefined;
1833
+ isCustomized?: boolean | undefined;
1834
+ inputSchema?: any;
1835
+ config?: any;
1836
+ outputSchema?: any;
1837
+ version?: number | undefined;
1838
+ onError?: "stop" | "continue" | undefined;
1839
+ ui?: any;
1840
+ outputExample?: any;
1841
+ links?: {
1842
+ key?: string | undefined;
1843
+ filter?: any;
1844
+ name?: string | undefined;
1845
+ }[] | undefined;
1846
+ }> | undefined;
1847
+ autoCreateInstances?: boolean | undefined;
1848
+ }, {
1849
+ key: string;
1850
+ id: string;
1851
+ name: string;
1852
+ revision: string;
1853
+ integration?: {
1854
+ key: string;
1855
+ id: string;
1856
+ name: string;
1857
+ baseUri: string;
1858
+ logoUri: string;
1859
+ state?: import("..").WorkspaceElementState | undefined;
1860
+ errors?: any[] | undefined;
1861
+ parameters?: any;
1862
+ parametersSchema?: DataSchema | undefined;
1863
+ archivedAt?: string | undefined;
1864
+ isTest?: boolean | undefined;
1865
+ connectorId?: string | undefined;
1866
+ connectorVersion?: string | undefined;
1867
+ authOptions?: any[] | undefined;
1868
+ oAuthCallbackUri?: string | undefined;
1869
+ hasMissingParameters?: boolean | undefined;
1870
+ hasDocumentation?: boolean | undefined;
1871
+ hasOperations?: boolean | undefined;
1872
+ hasData?: boolean | undefined;
1873
+ hasEvents?: boolean | undefined;
1874
+ hasGlobalWebhooks?: boolean | undefined;
1875
+ hasUdm?: boolean | undefined;
1876
+ appUuid?: string | undefined;
1877
+ isDeactivated?: boolean | undefined;
1878
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1879
+ } | undefined;
1880
+ state?: import("..").WorkspaceElementState | undefined;
1881
+ errors?: any[] | undefined;
1882
+ integrationId?: string | undefined;
1883
+ parametersSchema?: DataSchema | undefined;
1884
+ archivedAt?: string | undefined;
1885
+ customized?: boolean | undefined;
1886
+ appliedToIntegrations?: {
1887
+ integration: {
1888
+ key: string;
1889
+ id: string;
1890
+ name: string;
1891
+ baseUri: string;
1892
+ logoUri: string;
1893
+ state?: import("..").WorkspaceElementState | undefined;
1894
+ errors?: any[] | undefined;
1895
+ parameters?: any;
1896
+ parametersSchema?: DataSchema | undefined;
1897
+ archivedAt?: string | undefined;
1898
+ isTest?: boolean | undefined;
1899
+ connectorId?: string | undefined;
1900
+ connectorVersion?: string | undefined;
1901
+ authOptions?: any[] | undefined;
1902
+ oAuthCallbackUri?: string | undefined;
1903
+ hasMissingParameters?: boolean | undefined;
1904
+ hasDocumentation?: boolean | undefined;
1905
+ hasOperations?: boolean | undefined;
1906
+ hasData?: boolean | undefined;
1907
+ hasEvents?: boolean | undefined;
1908
+ hasGlobalWebhooks?: boolean | undefined;
1909
+ hasUdm?: boolean | undefined;
1910
+ appUuid?: string | undefined;
1911
+ isDeactivated?: boolean | undefined;
1912
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1913
+ };
1914
+ element: {
1915
+ key: string;
1916
+ id: string;
1917
+ name: string;
1918
+ revision: string;
1919
+ state?: import("..").WorkspaceElementState | undefined;
1920
+ errors?: any[] | undefined;
1921
+ integrationId?: string | undefined;
1922
+ parametersSchema?: DataSchema | undefined;
1923
+ archivedAt?: string | undefined;
1924
+ customized?: boolean | undefined;
1925
+ universalFlowId?: string | undefined;
1926
+ universalFlowRevision?: string | undefined;
1927
+ nodes?: Record<string, {
1928
+ concurrency?: number | undefined;
1929
+ type?: string | undefined;
1930
+ name?: string | undefined;
1931
+ description?: string | undefined;
1932
+ isCustomized?: boolean | undefined;
1933
+ inputSchema?: any;
1934
+ config?: any;
1935
+ outputSchema?: any;
1936
+ version?: number | undefined;
1937
+ onError?: "stop" | "continue" | undefined;
1938
+ ui?: any;
1939
+ outputExample?: any;
1940
+ links?: {
1941
+ key?: string | undefined;
1942
+ filter?: any;
1943
+ name?: string | undefined;
1944
+ }[] | undefined;
1945
+ }> | undefined;
1946
+ autoCreateInstances?: boolean | undefined;
1947
+ };
1948
+ }[] | undefined;
1949
+ universalFlowId?: string | undefined;
1950
+ universalFlowRevision?: string | undefined;
1951
+ nodes?: Record<string, {
1952
+ concurrency?: number | undefined;
1953
+ type?: string | undefined;
1954
+ name?: string | undefined;
1955
+ description?: string | undefined;
1956
+ isCustomized?: boolean | undefined;
1957
+ inputSchema?: any;
1958
+ config?: any;
1959
+ outputSchema?: any;
1960
+ version?: number | undefined;
1961
+ onError?: "stop" | "continue" | undefined;
1962
+ ui?: any;
1963
+ outputExample?: any;
1964
+ links?: {
1965
+ key?: string | undefined;
1966
+ filter?: any;
1967
+ name?: string | undefined;
1968
+ }[] | undefined;
1969
+ }> | undefined;
1970
+ autoCreateInstances?: boolean | undefined;
1971
+ }>>>;
1972
+ integration: z.ZodOptional<z.ZodLazy<z.ZodType<{
1973
+ key: string;
1974
+ id: string;
1975
+ name: string;
1976
+ baseUri: string;
1977
+ logoUri: string;
1978
+ state?: import("..").WorkspaceElementState | undefined;
1979
+ errors?: any[] | undefined;
1980
+ parameters?: any;
1981
+ parametersSchema?: DataSchema | undefined;
1982
+ archivedAt?: string | undefined;
1983
+ isTest?: boolean | undefined;
1984
+ connectorId?: string | undefined;
1985
+ connectorVersion?: string | undefined;
1986
+ authOptions?: any[] | undefined;
1987
+ oAuthCallbackUri?: string | undefined;
1988
+ hasMissingParameters?: boolean | undefined;
1989
+ hasDocumentation?: boolean | undefined;
1990
+ hasOperations?: boolean | undefined;
1991
+ hasData?: boolean | undefined;
1992
+ hasEvents?: boolean | undefined;
1993
+ hasGlobalWebhooks?: boolean | undefined;
1994
+ hasUdm?: boolean | undefined;
1995
+ appUuid?: string | undefined;
1996
+ isDeactivated?: boolean | undefined;
1997
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1998
+ }, z.ZodTypeDef, {
1999
+ key: string;
2000
+ id: string;
2001
+ name: string;
2002
+ baseUri: string;
2003
+ logoUri: string;
2004
+ state?: import("..").WorkspaceElementState | undefined;
2005
+ errors?: any[] | undefined;
2006
+ parameters?: any;
2007
+ parametersSchema?: DataSchema | undefined;
2008
+ archivedAt?: string | undefined;
2009
+ isTest?: boolean | undefined;
2010
+ connectorId?: string | undefined;
2011
+ connectorVersion?: string | undefined;
2012
+ authOptions?: any[] | undefined;
2013
+ oAuthCallbackUri?: string | undefined;
2014
+ hasMissingParameters?: boolean | undefined;
2015
+ hasDocumentation?: boolean | undefined;
2016
+ hasOperations?: boolean | undefined;
2017
+ hasData?: boolean | undefined;
2018
+ hasEvents?: boolean | undefined;
2019
+ hasGlobalWebhooks?: boolean | undefined;
2020
+ hasUdm?: boolean | undefined;
2021
+ appUuid?: string | undefined;
2022
+ isDeactivated?: boolean | undefined;
2023
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
2024
+ }>>>;
2025
+ }, "strip", z.ZodTypeAny, {
2026
+ key: string;
2027
+ id: string;
2028
+ name: string;
2029
+ userId: string;
2030
+ integrationId: string;
2031
+ createdAt: string;
2032
+ updatedAt: string;
2033
+ enabled: boolean;
2034
+ connection?: {
2035
+ id: string;
2036
+ name: string;
2037
+ userId: string;
2038
+ integrationId: string;
2039
+ createdAt: string;
2040
+ updatedAt: string;
2041
+ error?: any;
2042
+ state?: import("..").WorkspaceElementState | undefined;
2043
+ errors?: any[] | undefined;
2044
+ accessToken?: string | undefined;
2045
+ credentials?: unknown;
2046
+ parameters?: unknown;
2047
+ connectorParameters?: unknown;
2048
+ disconnected?: boolean | undefined;
2049
+ refreshToken?: string | undefined;
2050
+ lastActiveAt?: string | undefined;
2051
+ nextCredentialsRefreshAt?: string | undefined;
2052
+ archivedAt?: string | undefined;
2053
+ } | undefined;
2054
+ integration?: {
2055
+ key: string;
2056
+ id: string;
2057
+ name: string;
2058
+ baseUri: string;
2059
+ logoUri: string;
2060
+ state?: import("..").WorkspaceElementState | undefined;
2061
+ errors?: any[] | undefined;
2062
+ parameters?: any;
2063
+ parametersSchema?: DataSchema | undefined;
2064
+ archivedAt?: string | undefined;
2065
+ isTest?: boolean | undefined;
2066
+ connectorId?: string | undefined;
2067
+ connectorVersion?: string | undefined;
2068
+ authOptions?: any[] | undefined;
2069
+ oAuthCallbackUri?: string | undefined;
2070
+ hasMissingParameters?: boolean | undefined;
2071
+ hasDocumentation?: boolean | undefined;
2072
+ hasOperations?: boolean | undefined;
2073
+ hasData?: boolean | undefined;
2074
+ hasEvents?: boolean | undefined;
2075
+ hasGlobalWebhooks?: boolean | undefined;
2076
+ hasUdm?: boolean | undefined;
2077
+ appUuid?: string | undefined;
2078
+ isDeactivated?: boolean | undefined;
2079
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
2080
+ } | undefined;
2081
+ flow?: {
2082
+ key: string;
2083
+ id: string;
2084
+ name: string;
2085
+ revision: string;
2086
+ integration?: {
2087
+ key: string;
2088
+ id: string;
2089
+ name: string;
2090
+ baseUri: string;
2091
+ logoUri: string;
2092
+ state?: import("..").WorkspaceElementState | undefined;
2093
+ errors?: any[] | undefined;
2094
+ parameters?: any;
2095
+ parametersSchema?: DataSchema | undefined;
2096
+ archivedAt?: string | undefined;
2097
+ isTest?: boolean | undefined;
2098
+ connectorId?: string | undefined;
2099
+ connectorVersion?: string | undefined;
2100
+ authOptions?: any[] | undefined;
2101
+ oAuthCallbackUri?: string | undefined;
2102
+ hasMissingParameters?: boolean | undefined;
2103
+ hasDocumentation?: boolean | undefined;
2104
+ hasOperations?: boolean | undefined;
2105
+ hasData?: boolean | undefined;
2106
+ hasEvents?: boolean | undefined;
2107
+ hasGlobalWebhooks?: boolean | undefined;
2108
+ hasUdm?: boolean | undefined;
2109
+ appUuid?: string | undefined;
2110
+ isDeactivated?: boolean | undefined;
2111
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
2112
+ } | undefined;
2113
+ state?: import("..").WorkspaceElementState | undefined;
2114
+ errors?: any[] | undefined;
2115
+ integrationId?: string | undefined;
2116
+ parametersSchema?: DataSchema | undefined;
2117
+ archivedAt?: string | undefined;
2118
+ customized?: boolean | undefined;
2119
+ appliedToIntegrations?: {
2120
+ integration: {
2121
+ key: string;
2122
+ id: string;
2123
+ name: string;
2124
+ baseUri: string;
2125
+ logoUri: string;
2126
+ state?: import("..").WorkspaceElementState | undefined;
2127
+ errors?: any[] | undefined;
2128
+ parameters?: any;
2129
+ parametersSchema?: DataSchema | undefined;
2130
+ archivedAt?: string | undefined;
2131
+ isTest?: boolean | undefined;
2132
+ connectorId?: string | undefined;
2133
+ connectorVersion?: string | undefined;
2134
+ authOptions?: any[] | undefined;
2135
+ oAuthCallbackUri?: string | undefined;
2136
+ hasMissingParameters?: boolean | undefined;
2137
+ hasDocumentation?: boolean | undefined;
2138
+ hasOperations?: boolean | undefined;
2139
+ hasData?: boolean | undefined;
2140
+ hasEvents?: boolean | undefined;
2141
+ hasGlobalWebhooks?: boolean | undefined;
2142
+ hasUdm?: boolean | undefined;
2143
+ appUuid?: string | undefined;
2144
+ isDeactivated?: boolean | undefined;
2145
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
2146
+ };
2147
+ element: {
2148
+ key: string;
2149
+ id: string;
2150
+ name: string;
2151
+ revision: string;
2152
+ state?: import("..").WorkspaceElementState | undefined;
2153
+ errors?: any[] | undefined;
2154
+ integrationId?: string | undefined;
2155
+ parametersSchema?: DataSchema | undefined;
2156
+ archivedAt?: string | undefined;
2157
+ customized?: boolean | undefined;
2158
+ universalFlowId?: string | undefined;
2159
+ universalFlowRevision?: string | undefined;
2160
+ nodes?: Record<string, {
2161
+ concurrency?: number | undefined;
2162
+ type?: string | undefined;
2163
+ name?: string | undefined;
2164
+ description?: string | undefined;
2165
+ isCustomized?: boolean | undefined;
2166
+ inputSchema?: any;
2167
+ config?: any;
2168
+ outputSchema?: any;
2169
+ version?: number | undefined;
2170
+ onError?: "stop" | "continue" | undefined;
2171
+ ui?: any;
2172
+ outputExample?: any;
2173
+ links?: {
2174
+ key?: string | undefined;
2175
+ filter?: any;
2176
+ name?: string | undefined;
2177
+ }[] | undefined;
2178
+ }> | undefined;
2179
+ autoCreateInstances?: boolean | undefined;
2180
+ };
2181
+ }[] | undefined;
2182
+ universalFlowId?: string | undefined;
2183
+ universalFlowRevision?: string | undefined;
2184
+ nodes?: Record<string, {
2185
+ concurrency?: number | undefined;
2186
+ type?: string | undefined;
2187
+ name?: string | undefined;
2188
+ description?: string | undefined;
2189
+ isCustomized?: boolean | undefined;
2190
+ inputSchema?: any;
2191
+ config?: any;
2192
+ outputSchema?: any;
2193
+ version?: number | undefined;
2194
+ onError?: "stop" | "continue" | undefined;
2195
+ ui?: any;
2196
+ outputExample?: any;
2197
+ links?: {
2198
+ key?: string | undefined;
2199
+ filter?: any;
2200
+ name?: string | undefined;
2201
+ }[] | undefined;
2202
+ }> | undefined;
2203
+ autoCreateInstances?: boolean | undefined;
2204
+ } | undefined;
2205
+ state?: import("..").WorkspaceElementState | undefined;
2206
+ errors?: any[] | undefined;
2207
+ instanceKey?: string | undefined;
2208
+ connectionId?: string | undefined;
2209
+ parameters?: any;
2210
+ parametersSchema?: DataSchema | undefined;
2211
+ user?: {
2212
+ id: string;
2213
+ name: string;
2214
+ internalId: string;
2215
+ credentials?: any;
2216
+ fields?: Record<string, any> | undefined;
2217
+ lastActiveAt?: string | undefined;
2218
+ isTest?: boolean | undefined;
2219
+ isBillable?: boolean | undefined;
2220
+ } | undefined;
2221
+ customized?: {
2222
+ name?: boolean | undefined;
2223
+ nodes?: boolean | undefined;
2224
+ } | undefined;
2225
+ dependencies?: any[] | undefined;
2226
+ universalFlowId?: string | undefined;
2227
+ nodes?: Record<string, any> | undefined;
2228
+ flowId?: string | undefined;
2229
+ outdated?: boolean | undefined;
2230
+ }, {
2231
+ key: string;
2232
+ id: string;
2233
+ name: string;
2234
+ userId: string;
2235
+ integrationId: string;
2236
+ createdAt: string;
2237
+ updatedAt: string;
2238
+ enabled: boolean;
2239
+ connection?: {
2240
+ id: string;
2241
+ name: string;
2242
+ userId: string;
2243
+ integrationId: string;
2244
+ createdAt: string;
2245
+ updatedAt: string;
2246
+ error?: any;
2247
+ state?: import("..").WorkspaceElementState | undefined;
2248
+ errors?: any[] | undefined;
2249
+ accessToken?: string | undefined;
2250
+ credentials?: unknown;
2251
+ parameters?: unknown;
2252
+ connectorParameters?: unknown;
2253
+ disconnected?: boolean | undefined;
2254
+ refreshToken?: string | undefined;
2255
+ lastActiveAt?: string | undefined;
2256
+ nextCredentialsRefreshAt?: string | undefined;
2257
+ archivedAt?: string | undefined;
2258
+ } | undefined;
2259
+ integration?: {
2260
+ key: string;
2261
+ id: string;
2262
+ name: string;
2263
+ baseUri: string;
2264
+ logoUri: string;
2265
+ state?: import("..").WorkspaceElementState | undefined;
2266
+ errors?: any[] | undefined;
2267
+ parameters?: any;
2268
+ parametersSchema?: DataSchema | undefined;
2269
+ archivedAt?: string | undefined;
2270
+ isTest?: boolean | undefined;
2271
+ connectorId?: string | undefined;
2272
+ connectorVersion?: string | undefined;
2273
+ authOptions?: any[] | undefined;
2274
+ oAuthCallbackUri?: string | undefined;
2275
+ hasMissingParameters?: boolean | undefined;
2276
+ hasDocumentation?: boolean | undefined;
2277
+ hasOperations?: boolean | undefined;
2278
+ hasData?: boolean | undefined;
2279
+ hasEvents?: boolean | undefined;
2280
+ hasGlobalWebhooks?: boolean | undefined;
2281
+ hasUdm?: boolean | undefined;
2282
+ appUuid?: string | undefined;
2283
+ isDeactivated?: boolean | undefined;
2284
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
2285
+ } | undefined;
2286
+ flow?: {
2287
+ key: string;
2288
+ id: string;
2289
+ name: string;
2290
+ revision: string;
2291
+ integration?: {
2292
+ key: string;
2293
+ id: string;
2294
+ name: string;
2295
+ baseUri: string;
2296
+ logoUri: string;
2297
+ state?: import("..").WorkspaceElementState | undefined;
2298
+ errors?: any[] | undefined;
2299
+ parameters?: any;
2300
+ parametersSchema?: DataSchema | undefined;
2301
+ archivedAt?: string | undefined;
2302
+ isTest?: boolean | undefined;
2303
+ connectorId?: string | undefined;
2304
+ connectorVersion?: string | undefined;
2305
+ authOptions?: any[] | undefined;
2306
+ oAuthCallbackUri?: string | undefined;
2307
+ hasMissingParameters?: boolean | undefined;
2308
+ hasDocumentation?: boolean | undefined;
2309
+ hasOperations?: boolean | undefined;
2310
+ hasData?: boolean | undefined;
2311
+ hasEvents?: boolean | undefined;
2312
+ hasGlobalWebhooks?: boolean | undefined;
2313
+ hasUdm?: boolean | undefined;
2314
+ appUuid?: string | undefined;
2315
+ isDeactivated?: boolean | undefined;
2316
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
2317
+ } | undefined;
2318
+ state?: import("..").WorkspaceElementState | undefined;
2319
+ errors?: any[] | undefined;
2320
+ integrationId?: string | undefined;
2321
+ parametersSchema?: DataSchema | undefined;
2322
+ archivedAt?: string | undefined;
2323
+ customized?: boolean | undefined;
2324
+ appliedToIntegrations?: {
2325
+ integration: {
2326
+ key: string;
2327
+ id: string;
2328
+ name: string;
2329
+ baseUri: string;
2330
+ logoUri: string;
2331
+ state?: import("..").WorkspaceElementState | undefined;
2332
+ errors?: any[] | undefined;
2333
+ parameters?: any;
2334
+ parametersSchema?: DataSchema | undefined;
2335
+ archivedAt?: string | undefined;
2336
+ isTest?: boolean | undefined;
2337
+ connectorId?: string | undefined;
2338
+ connectorVersion?: string | undefined;
2339
+ authOptions?: any[] | undefined;
2340
+ oAuthCallbackUri?: string | undefined;
2341
+ hasMissingParameters?: boolean | undefined;
2342
+ hasDocumentation?: boolean | undefined;
2343
+ hasOperations?: boolean | undefined;
2344
+ hasData?: boolean | undefined;
2345
+ hasEvents?: boolean | undefined;
2346
+ hasGlobalWebhooks?: boolean | undefined;
2347
+ hasUdm?: boolean | undefined;
2348
+ appUuid?: string | undefined;
2349
+ isDeactivated?: boolean | undefined;
2350
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
2351
+ };
2352
+ element: {
2353
+ key: string;
2354
+ id: string;
2355
+ name: string;
2356
+ revision: string;
2357
+ state?: import("..").WorkspaceElementState | undefined;
2358
+ errors?: any[] | undefined;
2359
+ integrationId?: string | undefined;
2360
+ parametersSchema?: DataSchema | undefined;
2361
+ archivedAt?: string | undefined;
2362
+ customized?: boolean | undefined;
2363
+ universalFlowId?: string | undefined;
2364
+ universalFlowRevision?: string | undefined;
2365
+ nodes?: Record<string, {
2366
+ concurrency?: number | undefined;
2367
+ type?: string | undefined;
2368
+ name?: string | undefined;
2369
+ description?: string | undefined;
2370
+ isCustomized?: boolean | undefined;
2371
+ inputSchema?: any;
2372
+ config?: any;
2373
+ outputSchema?: any;
2374
+ version?: number | undefined;
2375
+ onError?: "stop" | "continue" | undefined;
2376
+ ui?: any;
2377
+ outputExample?: any;
2378
+ links?: {
2379
+ key?: string | undefined;
2380
+ filter?: any;
2381
+ name?: string | undefined;
2382
+ }[] | undefined;
2383
+ }> | undefined;
2384
+ autoCreateInstances?: boolean | undefined;
2385
+ };
2386
+ }[] | undefined;
2387
+ universalFlowId?: string | undefined;
2388
+ universalFlowRevision?: string | undefined;
2389
+ nodes?: Record<string, {
2390
+ concurrency?: number | undefined;
2391
+ type?: string | undefined;
2392
+ name?: string | undefined;
2393
+ description?: string | undefined;
2394
+ isCustomized?: boolean | undefined;
2395
+ inputSchema?: any;
2396
+ config?: any;
2397
+ outputSchema?: any;
2398
+ version?: number | undefined;
2399
+ onError?: "stop" | "continue" | undefined;
2400
+ ui?: any;
2401
+ outputExample?: any;
2402
+ links?: {
2403
+ key?: string | undefined;
2404
+ filter?: any;
2405
+ name?: string | undefined;
2406
+ }[] | undefined;
2407
+ }> | undefined;
2408
+ autoCreateInstances?: boolean | undefined;
2409
+ } | undefined;
2410
+ state?: import("..").WorkspaceElementState | undefined;
2411
+ errors?: any[] | undefined;
2412
+ instanceKey?: string | undefined;
2413
+ connectionId?: string | undefined;
2414
+ parameters?: any;
2415
+ parametersSchema?: DataSchema | undefined;
2416
+ user?: {
2417
+ id: string;
2418
+ name: string;
2419
+ internalId: string;
2420
+ credentials?: any;
2421
+ fields?: Record<string, any> | undefined;
2422
+ lastActiveAt?: string | undefined;
2423
+ isTest?: boolean | undefined;
2424
+ isBillable?: boolean | undefined;
2425
+ } | undefined;
2426
+ customized?: {
2427
+ name?: boolean | undefined;
2428
+ nodes?: boolean | undefined;
2429
+ } | undefined;
2430
+ dependencies?: any[] | undefined;
2431
+ universalFlowId?: string | undefined;
2432
+ nodes?: Record<string, any> | undefined;
2433
+ flowId?: string | undefined;
2434
+ outdated?: boolean | undefined;
2435
+ }>;
2436
+ export type FlowInstance = z.infer<typeof FlowInstance>;
70
2437
  export type FlowInstanceApiResponse = FlowInstance;