@membranehq/sdk 0.4.0 → 0.5.1

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 (82) hide show
  1. package/dist/bundle.d.ts +16299 -1303
  2. package/dist/bundle.js +3980 -3701
  3. package/dist/bundle.js.map +1 -1
  4. package/dist/dts/accessors/connections-accessors.d.ts +78 -1
  5. package/dist/dts/accessors/integrations-accessors.d.ts +78 -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/index.d.ts +0 -1
  9. package/dist/dts/data-schema/types.d.ts +4 -3
  10. package/dist/dts/entity-repository.d.ts +88 -20
  11. package/dist/dts/formulas/dataSchemaRef.d.ts +2 -2
  12. package/dist/dts/http-requests.d.ts +20 -6
  13. package/dist/dts/iframe.d.ts +12 -4
  14. package/dist/dts/index.d.ts +2 -1
  15. package/dist/dts/sse/index.d.ts +1 -0
  16. package/dist/dts/sse/workspace-elements.d.ts +9 -0
  17. package/dist/dts/workspace-elements/api/action-instances-api.d.ts +269 -8
  18. package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +529 -10
  19. package/dist/dts/workspace-elements/api/actions-api.d.ts +1010 -45
  20. package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +203 -8
  21. package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +49 -3
  22. package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +376 -0
  23. package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +293 -8
  24. package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +88 -3
  25. package/dist/dts/workspace-elements/api/connections-api.d.ts +993 -42
  26. package/dist/dts/workspace-elements/api/customers-api.d.ts +92 -16
  27. package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +541 -12
  28. package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +43 -2
  29. package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +1590 -12
  30. package/dist/dts/workspace-elements/api/data-sources-api.d.ts +1113 -78
  31. package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +696 -19
  32. package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +702 -19
  33. package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +559 -10
  34. package/dist/dts/workspace-elements/api/external-events-api.d.ts +582 -6
  35. package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +2786 -14
  36. package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +885 -7
  37. package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +1652 -47
  38. package/dist/dts/workspace-elements/api/flows-api.d.ts +3202 -52
  39. package/dist/dts/workspace-elements/api/index.d.ts +1 -1
  40. package/dist/dts/workspace-elements/api/integrations-api.d.ts +339 -26
  41. package/dist/dts/workspace-elements/api/scenarios-api.d.ts +523 -35
  42. package/dist/dts/workspace-elements/api/screens-api.d.ts +35 -15
  43. package/dist/dts/workspace-elements/base/action-instances/types.d.ts +78 -15
  44. package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +37 -12
  45. package/dist/dts/workspace-elements/base/actions/types.d.ts +78 -18
  46. package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +59 -7
  47. package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +49 -7
  48. package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +92 -9
  49. package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +84 -7
  50. package/dist/dts/workspace-elements/base/connections/types.d.ts +82 -20
  51. package/dist/dts/workspace-elements/base/connectors/types.d.ts +14 -2
  52. package/dist/dts/workspace-elements/base/customers/index.d.ts +32 -6
  53. package/dist/dts/workspace-elements/base/data-collections/schemas.d.ts +93 -92
  54. package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +78 -11
  55. package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +43 -4
  56. package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +1048 -19
  57. package/dist/dts/workspace-elements/base/data-sources/types.d.ts +97 -22
  58. package/dist/dts/workspace-elements/base/external-event-log-records/types.d.ts +31 -8
  59. package/dist/dts/workspace-elements/base/external-event-pulls/types.d.ts +35 -8
  60. package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +197 -24
  61. package/dist/dts/workspace-elements/base/external-events/types.d.ts +145 -5
  62. package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +92 -16
  63. package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +105 -14
  64. package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +43 -43
  65. package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +170 -24
  66. package/dist/dts/workspace-elements/base/flow-runs/flow-node-runs.d.ts +20 -20
  67. package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +127 -19
  68. package/dist/dts/workspace-elements/base/flows/types.d.ts +234 -26
  69. package/dist/dts/workspace-elements/base/integrations/types.d.ts +988 -25
  70. package/dist/dts/workspace-elements/base/scenarios/types.d.ts +740 -23
  71. package/dist/dts/workspace-elements/base/screens/types.d.ts +48 -6
  72. package/dist/dts/workspace-elements/types.d.ts +25 -3
  73. package/dist/dts/workspaces/types.d.ts +4 -3
  74. package/dist/index.d.ts +26481 -3080
  75. package/dist/index.js +1717 -535
  76. package/dist/index.js.map +1 -1
  77. package/dist/index.module.d.mts +26481 -3080
  78. package/dist/index.module.mjs +1550 -502
  79. package/dist/index.module.mjs.map +1 -1
  80. package/package.json +3 -2
  81. package/dist/dts/data-schema/schemas.d.ts +0 -4
  82. package/dist/dts/workspace-elements/api/app-events-api.d.ts +0 -17
@@ -1,70 +1,3220 @@
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.ZodEffects<z.ZodBoolean, boolean, unknown>>;
14
+ }, "strip", z.ZodTypeAny, {
15
+ search?: string | undefined;
16
+ includeArchived?: boolean | undefined;
17
+ limit?: number | undefined;
18
+ cursor?: string | undefined;
19
+ universalFlowId?: string | undefined;
20
+ }, {
21
+ search?: string | undefined;
22
+ includeArchived?: unknown;
23
+ limit?: number | undefined;
24
+ cursor?: string | undefined;
25
+ universalFlowId?: string | undefined;
26
+ }>;
27
+ export type ListFlowsForIntegrationQuery = z.infer<typeof ListFlowsForIntegrationQuery>;
28
+ export declare const FindFlowsQuery: z.ZodObject<{
29
+ universalFlowId: z.ZodOptional<z.ZodString>;
30
+ } & {
31
+ search: z.ZodOptional<z.ZodString>;
32
+ } & {
33
+ limit: z.ZodOptional<z.ZodNumber>;
34
+ cursor: z.ZodOptional<z.ZodString>;
35
+ } & {
36
+ includeArchived: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
37
+ } & {
38
+ integrationId: z.ZodOptional<z.ZodString>;
39
+ }, "strip", z.ZodTypeAny, {
40
+ search?: string | undefined;
41
+ 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?: unknown;
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;
70
+ ui?: any;
18
71
  config?: any;
72
+ links?: {
73
+ key?: string | undefined;
74
+ filter?: any;
75
+ name?: string | undefined;
76
+ }[] | undefined;
77
+ }, {
78
+ type: string;
19
79
  ui?: any;
20
- links?: FlowNodeLink[];
21
- }
22
- export interface CreateFlowRequest {
80
+ config?: 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
+ ui?: any;
108
+ config?: any;
109
+ links?: {
110
+ key?: string | undefined;
111
+ filter?: any;
112
+ name?: string | undefined;
113
+ }[] | undefined;
114
+ }, {
115
+ type: string;
116
+ ui?: any;
117
+ config?: 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
+ ui?: any;
134
+ config?: 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
+ ui?: any;
150
+ config?: 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
+ ui?: any;
180
+ config?: any;
181
+ links?: {
182
+ key?: string | undefined;
183
+ filter?: any;
184
+ name?: string | undefined;
185
+ }[] | undefined;
186
+ }, {
187
+ type: string;
188
+ ui?: any;
189
+ config?: any;
190
+ links?: {
191
+ key?: string | undefined;
192
+ filter?: any;
193
+ name?: string | undefined;
194
+ }[] | undefined;
195
+ }>>>;
196
+ parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
197
+ autoCreateInstances: z.ZodOptional<z.ZodBoolean>;
198
+ } & {
199
+ archivedAt: z.ZodOptional<z.ZodString>;
200
+ }, "strip", z.ZodTypeAny, {
201
+ key: string;
202
+ name: string;
203
+ archivedAt?: string | undefined;
204
+ integrationId?: string | undefined;
205
+ parametersSchema?: DataSchema | undefined;
206
+ nodes?: Record<string, {
207
+ type: string;
208
+ ui?: any;
209
+ config?: any;
210
+ links?: {
211
+ key?: string | undefined;
212
+ filter?: any;
213
+ name?: string | undefined;
214
+ }[] | undefined;
215
+ }> | undefined;
216
+ autoCreateInstances?: boolean | undefined;
217
+ }, {
218
+ key: string;
219
+ name: string;
220
+ archivedAt?: string | undefined;
221
+ integrationId?: string | undefined;
222
+ parametersSchema?: DataSchema | undefined;
223
+ nodes?: Record<string, {
224
+ type: string;
225
+ ui?: any;
226
+ config?: 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.ZodEffects<z.ZodBoolean, boolean, unknown>>;
250
+ } & {
251
+ userId: z.ZodOptional<z.ZodString>;
252
+ instanceKey: z.ZodOptional<z.ZodString>;
253
+ }, "strip", z.ZodTypeAny, {
254
+ search?: string | undefined;
255
+ includeArchived?: boolean | undefined;
256
+ limit?: number | undefined;
257
+ cursor?: string | undefined;
258
+ userId?: string | undefined;
259
+ instanceKey?: string | undefined;
260
+ flowId?: string | undefined;
261
+ enabled?: boolean | undefined;
262
+ flowKey?: string | undefined;
263
+ }, {
264
+ search?: string | undefined;
265
+ includeArchived?: unknown;
266
+ limit?: number | undefined;
267
+ cursor?: string | undefined;
268
+ userId?: string | undefined;
269
+ instanceKey?: string | undefined;
270
+ flowId?: string | undefined;
271
+ enabled?: boolean | undefined;
272
+ flowKey?: string | undefined;
273
+ }>;
274
+ export type ListFlowInstancesForConnectionQuery = z.infer<typeof ListFlowInstancesForConnectionQuery>;
275
+ export declare const FindFlowInstancesQuery: z.ZodObject<{
276
+ flowId: z.ZodOptional<z.ZodString>;
277
+ flowKey: z.ZodOptional<z.ZodString>;
278
+ enabled: z.ZodOptional<z.ZodBoolean>;
279
+ } & {
280
+ search: z.ZodOptional<z.ZodString>;
281
+ } & {
282
+ limit: z.ZodOptional<z.ZodNumber>;
283
+ cursor: z.ZodOptional<z.ZodString>;
284
+ } & {
285
+ includeArchived: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
286
+ } & {
287
+ userId: z.ZodOptional<z.ZodString>;
288
+ instanceKey: z.ZodOptional<z.ZodString>;
289
+ } & {
290
+ connectionId: z.ZodOptional<z.ZodString>;
291
+ integrationId: z.ZodOptional<z.ZodString>;
292
+ integrationKey: z.ZodOptional<z.ZodString>;
293
+ }, "strip", z.ZodTypeAny, {
294
+ search?: string | undefined;
295
+ 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?: unknown;
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
- }
63
- export type FlowApiResponse = Flow;
64
- export interface FlowInstance extends BaseFlowInstance {
65
- user?: BaseCustomer;
66
- connection?: BaseConnection;
67
- flow?: Flow;
68
- integration?: BaseIntegration;
69
- }
70
- export type FlowInstanceApiResponse = FlowInstance;
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 FlowApiResponse: z.ZodObject<{
359
+ id: z.ZodString;
360
+ name: z.ZodString;
361
+ key: z.ZodOptional<z.ZodString>;
362
+ uuid: z.ZodOptional<z.ZodString>;
363
+ description: z.ZodOptional<z.ZodString>;
364
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
365
+ errors: z.ZodOptional<z.ZodArray<any, "many">>;
366
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
367
+ createdAt: z.ZodOptional<z.ZodString>;
368
+ updatedAt: z.ZodOptional<z.ZodString>;
369
+ } & {
370
+ integrationId: z.ZodOptional<z.ZodString>;
371
+ universalFlowId: z.ZodOptional<z.ZodString>;
372
+ universalFlowRevision: z.ZodOptional<z.ZodString>;
373
+ parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
374
+ nodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
375
+ type: z.ZodOptional<z.ZodString>;
376
+ version: z.ZodOptional<z.ZodNumber>;
377
+ name: z.ZodOptional<z.ZodString>;
378
+ description: z.ZodOptional<z.ZodString>;
379
+ config: z.ZodOptional<z.ZodAny>;
380
+ concurrency: z.ZodOptional<z.ZodNumber>;
381
+ onError: z.ZodOptional<z.ZodEnum<["stop", "continue"]>>;
382
+ ui: z.ZodOptional<z.ZodAny>;
383
+ inputSchema: z.ZodOptional<z.ZodAny>;
384
+ outputSchema: z.ZodOptional<z.ZodAny>;
385
+ outputExample: z.ZodOptional<z.ZodAny>;
386
+ links: z.ZodOptional<z.ZodArray<z.ZodObject<{
387
+ key: z.ZodOptional<z.ZodString>;
388
+ filter: z.ZodOptional<z.ZodAny>;
389
+ name: z.ZodOptional<z.ZodString>;
390
+ }, "strip", z.ZodTypeAny, {
391
+ key?: string | undefined;
392
+ filter?: any;
393
+ name?: string | undefined;
394
+ }, {
395
+ key?: string | undefined;
396
+ filter?: any;
397
+ name?: string | undefined;
398
+ }>, "many">>;
399
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
400
+ }, "strip", z.ZodTypeAny, {
401
+ concurrency?: number | undefined;
402
+ type?: string | undefined;
403
+ name?: string | undefined;
404
+ description?: string | undefined;
405
+ ui?: any;
406
+ isCustomized?: boolean | undefined;
407
+ inputSchema?: any;
408
+ config?: any;
409
+ outputSchema?: any;
410
+ version?: number | undefined;
411
+ onError?: "stop" | "continue" | undefined;
412
+ outputExample?: any;
413
+ links?: {
414
+ key?: string | undefined;
415
+ filter?: any;
416
+ name?: string | undefined;
417
+ }[] | undefined;
418
+ }, {
419
+ concurrency?: number | undefined;
420
+ type?: string | undefined;
421
+ name?: string | undefined;
422
+ description?: string | undefined;
423
+ ui?: any;
424
+ isCustomized?: boolean | undefined;
425
+ inputSchema?: any;
426
+ config?: any;
427
+ outputSchema?: any;
428
+ version?: number | undefined;
429
+ onError?: "stop" | "continue" | undefined;
430
+ outputExample?: any;
431
+ links?: {
432
+ key?: string | undefined;
433
+ filter?: any;
434
+ name?: string | undefined;
435
+ }[] | undefined;
436
+ }>>>;
437
+ autoCreateInstances: z.ZodOptional<z.ZodBoolean>;
438
+ archivedAt: z.ZodOptional<z.ZodString>;
439
+ revision: z.ZodString;
440
+ customized: z.ZodOptional<z.ZodBoolean>;
441
+ } & {
442
+ integration: z.ZodOptional<z.ZodObject<{
443
+ id: z.ZodString;
444
+ name: z.ZodString;
445
+ key: z.ZodOptional<z.ZodString>;
446
+ uuid: z.ZodOptional<z.ZodString>;
447
+ description: z.ZodOptional<z.ZodString>;
448
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
449
+ errors: z.ZodOptional<z.ZodArray<any, "many">>;
450
+ revision: z.ZodOptional<z.ZodString>;
451
+ createdAt: z.ZodOptional<z.ZodString>;
452
+ updatedAt: z.ZodOptional<z.ZodString>;
453
+ } & {
454
+ logoUri: z.ZodString;
455
+ connectorId: z.ZodOptional<z.ZodString>;
456
+ connectorVersion: z.ZodOptional<z.ZodString>;
457
+ authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
458
+ key: z.ZodString;
459
+ type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
460
+ title: z.ZodOptional<z.ZodString>;
461
+ description: z.ZodOptional<z.ZodString>;
462
+ ui: z.ZodOptional<z.ZodObject<{
463
+ schema: z.ZodOptional<z.ZodAny>;
464
+ helpUri: z.ZodOptional<z.ZodString>;
465
+ }, "strip", z.ZodTypeAny, {
466
+ schema?: any;
467
+ helpUri?: string | undefined;
468
+ }, {
469
+ schema?: any;
470
+ helpUri?: string | undefined;
471
+ }>>;
472
+ }, "strip", z.ZodTypeAny, {
473
+ key: string;
474
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
475
+ description?: string | undefined;
476
+ title?: string | undefined;
477
+ ui?: {
478
+ schema?: any;
479
+ helpUri?: string | undefined;
480
+ } | undefined;
481
+ }, {
482
+ key: string;
483
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
484
+ description?: string | undefined;
485
+ title?: string | undefined;
486
+ ui?: {
487
+ schema?: any;
488
+ helpUri?: string | undefined;
489
+ } | undefined;
490
+ }>, "many">>;
491
+ oAuthCallbackUri: z.ZodOptional<z.ZodString>;
492
+ parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
493
+ parameters: z.ZodOptional<z.ZodAny>;
494
+ baseUri: z.ZodString;
495
+ archivedAt: z.ZodOptional<z.ZodString>;
496
+ hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
497
+ hasDocumentation: z.ZodOptional<z.ZodBoolean>;
498
+ hasOperations: z.ZodOptional<z.ZodBoolean>;
499
+ operationsCount: z.ZodOptional<z.ZodNumber>;
500
+ hasData: z.ZodOptional<z.ZodBoolean>;
501
+ dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
502
+ hasEvents: z.ZodOptional<z.ZodBoolean>;
503
+ eventsCount: z.ZodOptional<z.ZodNumber>;
504
+ hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
505
+ hasUdm: z.ZodOptional<z.ZodBoolean>;
506
+ isTest: z.ZodOptional<z.ZodBoolean>;
507
+ appUuid: z.ZodOptional<z.ZodString>;
508
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
509
+ authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
510
+ }, "strip", z.ZodTypeAny, {
511
+ id: string;
512
+ name: string;
513
+ baseUri: string;
514
+ logoUri: string;
515
+ key?: string | undefined;
516
+ uuid?: string | undefined;
517
+ description?: string | undefined;
518
+ state?: import("..").WorkspaceElementState | undefined;
519
+ errors?: any[] | undefined;
520
+ revision?: string | undefined;
521
+ isDeactivated?: boolean | undefined;
522
+ createdAt?: string | undefined;
523
+ updatedAt?: string | undefined;
524
+ archivedAt?: string | undefined;
525
+ parameters?: any;
526
+ parametersSchema?: DataSchema | undefined;
527
+ isTest?: boolean | undefined;
528
+ connectorId?: string | undefined;
529
+ connectorVersion?: string | undefined;
530
+ authOptions?: {
531
+ key: string;
532
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
533
+ description?: string | undefined;
534
+ title?: string | undefined;
535
+ ui?: {
536
+ schema?: any;
537
+ helpUri?: string | undefined;
538
+ } | undefined;
539
+ }[] | undefined;
540
+ oAuthCallbackUri?: string | undefined;
541
+ hasMissingParameters?: boolean | undefined;
542
+ hasDocumentation?: boolean | undefined;
543
+ hasOperations?: boolean | undefined;
544
+ operationsCount?: number | undefined;
545
+ hasData?: boolean | undefined;
546
+ dataCollectionsCount?: number | undefined;
547
+ hasEvents?: boolean | undefined;
548
+ eventsCount?: number | undefined;
549
+ hasGlobalWebhooks?: boolean | undefined;
550
+ hasUdm?: boolean | undefined;
551
+ appUuid?: string | undefined;
552
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
553
+ }, {
554
+ id: string;
555
+ name: string;
556
+ baseUri: string;
557
+ logoUri: string;
558
+ key?: string | undefined;
559
+ uuid?: string | undefined;
560
+ description?: string | undefined;
561
+ state?: import("..").WorkspaceElementState | undefined;
562
+ errors?: any[] | undefined;
563
+ revision?: string | undefined;
564
+ isDeactivated?: boolean | undefined;
565
+ createdAt?: string | undefined;
566
+ updatedAt?: string | undefined;
567
+ archivedAt?: string | undefined;
568
+ parameters?: any;
569
+ parametersSchema?: DataSchema | undefined;
570
+ isTest?: boolean | undefined;
571
+ connectorId?: string | undefined;
572
+ connectorVersion?: string | undefined;
573
+ authOptions?: {
574
+ key: string;
575
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
576
+ description?: string | undefined;
577
+ title?: string | undefined;
578
+ ui?: {
579
+ schema?: any;
580
+ helpUri?: string | undefined;
581
+ } | undefined;
582
+ }[] | undefined;
583
+ oAuthCallbackUri?: string | undefined;
584
+ hasMissingParameters?: boolean | undefined;
585
+ hasDocumentation?: boolean | undefined;
586
+ hasOperations?: boolean | undefined;
587
+ operationsCount?: number | undefined;
588
+ hasData?: boolean | undefined;
589
+ dataCollectionsCount?: number | undefined;
590
+ hasEvents?: boolean | undefined;
591
+ eventsCount?: number | undefined;
592
+ hasGlobalWebhooks?: boolean | undefined;
593
+ hasUdm?: boolean | undefined;
594
+ appUuid?: string | undefined;
595
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
596
+ }>>;
597
+ appliedToIntegrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
598
+ element: z.ZodObject<{
599
+ id: z.ZodString;
600
+ name: z.ZodString;
601
+ key: z.ZodOptional<z.ZodString>;
602
+ uuid: z.ZodOptional<z.ZodString>;
603
+ description: z.ZodOptional<z.ZodString>;
604
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
605
+ errors: z.ZodOptional<z.ZodArray<any, "many">>;
606
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
607
+ createdAt: z.ZodOptional<z.ZodString>;
608
+ updatedAt: z.ZodOptional<z.ZodString>;
609
+ } & {
610
+ integrationId: z.ZodOptional<z.ZodString>;
611
+ universalFlowId: z.ZodOptional<z.ZodString>;
612
+ universalFlowRevision: z.ZodOptional<z.ZodString>;
613
+ parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
614
+ nodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
615
+ type: z.ZodOptional<z.ZodString>;
616
+ version: z.ZodOptional<z.ZodNumber>;
617
+ name: z.ZodOptional<z.ZodString>;
618
+ description: z.ZodOptional<z.ZodString>;
619
+ config: z.ZodOptional<z.ZodAny>;
620
+ concurrency: z.ZodOptional<z.ZodNumber>;
621
+ onError: z.ZodOptional<z.ZodEnum<["stop", "continue"]>>;
622
+ ui: z.ZodOptional<z.ZodAny>;
623
+ inputSchema: z.ZodOptional<z.ZodAny>;
624
+ outputSchema: z.ZodOptional<z.ZodAny>;
625
+ outputExample: z.ZodOptional<z.ZodAny>;
626
+ links: z.ZodOptional<z.ZodArray<z.ZodObject<{
627
+ key: z.ZodOptional<z.ZodString>;
628
+ filter: z.ZodOptional<z.ZodAny>;
629
+ name: z.ZodOptional<z.ZodString>;
630
+ }, "strip", z.ZodTypeAny, {
631
+ key?: string | undefined;
632
+ filter?: any;
633
+ name?: string | undefined;
634
+ }, {
635
+ key?: string | undefined;
636
+ filter?: any;
637
+ name?: string | undefined;
638
+ }>, "many">>;
639
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
640
+ }, "strip", z.ZodTypeAny, {
641
+ concurrency?: number | undefined;
642
+ type?: string | undefined;
643
+ name?: string | undefined;
644
+ description?: string | undefined;
645
+ ui?: any;
646
+ isCustomized?: boolean | undefined;
647
+ inputSchema?: any;
648
+ config?: any;
649
+ outputSchema?: any;
650
+ version?: number | undefined;
651
+ onError?: "stop" | "continue" | undefined;
652
+ outputExample?: any;
653
+ links?: {
654
+ key?: string | undefined;
655
+ filter?: any;
656
+ name?: string | undefined;
657
+ }[] | undefined;
658
+ }, {
659
+ concurrency?: number | undefined;
660
+ type?: string | undefined;
661
+ name?: string | undefined;
662
+ description?: string | undefined;
663
+ ui?: any;
664
+ isCustomized?: boolean | undefined;
665
+ inputSchema?: any;
666
+ config?: any;
667
+ outputSchema?: any;
668
+ version?: number | undefined;
669
+ onError?: "stop" | "continue" | undefined;
670
+ outputExample?: any;
671
+ links?: {
672
+ key?: string | undefined;
673
+ filter?: any;
674
+ name?: string | undefined;
675
+ }[] | undefined;
676
+ }>>>;
677
+ autoCreateInstances: z.ZodOptional<z.ZodBoolean>;
678
+ archivedAt: z.ZodOptional<z.ZodString>;
679
+ revision: z.ZodString;
680
+ customized: z.ZodOptional<z.ZodBoolean>;
681
+ }, "strip", z.ZodTypeAny, {
682
+ id: string;
683
+ name: string;
684
+ revision: string;
685
+ key?: string | undefined;
686
+ uuid?: string | undefined;
687
+ description?: string | undefined;
688
+ state?: import("..").WorkspaceElementState | undefined;
689
+ errors?: any[] | undefined;
690
+ isDeactivated?: boolean | undefined;
691
+ createdAt?: string | undefined;
692
+ updatedAt?: string | undefined;
693
+ archivedAt?: string | undefined;
694
+ integrationId?: string | undefined;
695
+ parametersSchema?: DataSchema | undefined;
696
+ customized?: boolean | undefined;
697
+ universalFlowId?: string | undefined;
698
+ universalFlowRevision?: string | undefined;
699
+ nodes?: Record<string, {
700
+ concurrency?: number | undefined;
701
+ type?: string | undefined;
702
+ name?: string | undefined;
703
+ description?: string | undefined;
704
+ ui?: any;
705
+ isCustomized?: boolean | undefined;
706
+ inputSchema?: any;
707
+ config?: any;
708
+ outputSchema?: any;
709
+ version?: number | undefined;
710
+ onError?: "stop" | "continue" | undefined;
711
+ outputExample?: any;
712
+ links?: {
713
+ key?: string | undefined;
714
+ filter?: any;
715
+ name?: string | undefined;
716
+ }[] | undefined;
717
+ }> | undefined;
718
+ autoCreateInstances?: boolean | undefined;
719
+ }, {
720
+ id: string;
721
+ name: string;
722
+ revision: string;
723
+ key?: string | undefined;
724
+ uuid?: string | undefined;
725
+ description?: string | undefined;
726
+ state?: import("..").WorkspaceElementState | undefined;
727
+ errors?: any[] | undefined;
728
+ isDeactivated?: boolean | undefined;
729
+ createdAt?: string | undefined;
730
+ updatedAt?: string | undefined;
731
+ archivedAt?: string | undefined;
732
+ integrationId?: string | undefined;
733
+ parametersSchema?: DataSchema | undefined;
734
+ customized?: boolean | undefined;
735
+ universalFlowId?: string | undefined;
736
+ universalFlowRevision?: string | undefined;
737
+ nodes?: Record<string, {
738
+ concurrency?: number | undefined;
739
+ type?: string | undefined;
740
+ name?: string | undefined;
741
+ description?: string | undefined;
742
+ ui?: any;
743
+ isCustomized?: boolean | undefined;
744
+ inputSchema?: any;
745
+ config?: any;
746
+ outputSchema?: any;
747
+ version?: number | undefined;
748
+ onError?: "stop" | "continue" | undefined;
749
+ outputExample?: any;
750
+ links?: {
751
+ key?: string | undefined;
752
+ filter?: any;
753
+ name?: string | undefined;
754
+ }[] | undefined;
755
+ }> | undefined;
756
+ autoCreateInstances?: boolean | undefined;
757
+ }>;
758
+ integration: z.ZodObject<{
759
+ id: z.ZodString;
760
+ name: z.ZodString;
761
+ key: z.ZodOptional<z.ZodString>;
762
+ uuid: z.ZodOptional<z.ZodString>;
763
+ description: z.ZodOptional<z.ZodString>;
764
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
765
+ errors: z.ZodOptional<z.ZodArray<any, "many">>;
766
+ revision: z.ZodOptional<z.ZodString>;
767
+ createdAt: z.ZodOptional<z.ZodString>;
768
+ updatedAt: z.ZodOptional<z.ZodString>;
769
+ } & {
770
+ logoUri: z.ZodString;
771
+ connectorId: z.ZodOptional<z.ZodString>;
772
+ connectorVersion: z.ZodOptional<z.ZodString>;
773
+ authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
774
+ key: z.ZodString;
775
+ type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
776
+ title: z.ZodOptional<z.ZodString>;
777
+ description: z.ZodOptional<z.ZodString>;
778
+ ui: z.ZodOptional<z.ZodObject<{
779
+ schema: z.ZodOptional<z.ZodAny>;
780
+ helpUri: z.ZodOptional<z.ZodString>;
781
+ }, "strip", z.ZodTypeAny, {
782
+ schema?: any;
783
+ helpUri?: string | undefined;
784
+ }, {
785
+ schema?: any;
786
+ helpUri?: string | undefined;
787
+ }>>;
788
+ }, "strip", z.ZodTypeAny, {
789
+ key: string;
790
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
791
+ description?: string | undefined;
792
+ title?: string | undefined;
793
+ ui?: {
794
+ schema?: any;
795
+ helpUri?: string | undefined;
796
+ } | undefined;
797
+ }, {
798
+ key: string;
799
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
800
+ description?: string | undefined;
801
+ title?: string | undefined;
802
+ ui?: {
803
+ schema?: any;
804
+ helpUri?: string | undefined;
805
+ } | undefined;
806
+ }>, "many">>;
807
+ oAuthCallbackUri: z.ZodOptional<z.ZodString>;
808
+ parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
809
+ parameters: z.ZodOptional<z.ZodAny>;
810
+ baseUri: z.ZodString;
811
+ archivedAt: z.ZodOptional<z.ZodString>;
812
+ hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
813
+ hasDocumentation: z.ZodOptional<z.ZodBoolean>;
814
+ hasOperations: z.ZodOptional<z.ZodBoolean>;
815
+ operationsCount: z.ZodOptional<z.ZodNumber>;
816
+ hasData: z.ZodOptional<z.ZodBoolean>;
817
+ dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
818
+ hasEvents: z.ZodOptional<z.ZodBoolean>;
819
+ eventsCount: z.ZodOptional<z.ZodNumber>;
820
+ hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
821
+ hasUdm: z.ZodOptional<z.ZodBoolean>;
822
+ isTest: z.ZodOptional<z.ZodBoolean>;
823
+ appUuid: z.ZodOptional<z.ZodString>;
824
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
825
+ authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
826
+ }, "strip", z.ZodTypeAny, {
827
+ id: string;
828
+ name: string;
829
+ baseUri: string;
830
+ logoUri: string;
831
+ key?: string | undefined;
832
+ uuid?: string | undefined;
833
+ description?: string | undefined;
834
+ state?: import("..").WorkspaceElementState | undefined;
835
+ errors?: any[] | undefined;
836
+ revision?: string | undefined;
837
+ isDeactivated?: boolean | undefined;
838
+ createdAt?: string | undefined;
839
+ updatedAt?: string | undefined;
840
+ archivedAt?: string | undefined;
841
+ parameters?: any;
842
+ parametersSchema?: DataSchema | undefined;
843
+ isTest?: boolean | undefined;
844
+ connectorId?: string | undefined;
845
+ connectorVersion?: string | undefined;
846
+ authOptions?: {
847
+ key: string;
848
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
849
+ description?: string | undefined;
850
+ title?: string | undefined;
851
+ ui?: {
852
+ schema?: any;
853
+ helpUri?: string | undefined;
854
+ } | undefined;
855
+ }[] | undefined;
856
+ oAuthCallbackUri?: string | undefined;
857
+ hasMissingParameters?: boolean | undefined;
858
+ hasDocumentation?: boolean | undefined;
859
+ hasOperations?: boolean | undefined;
860
+ operationsCount?: number | undefined;
861
+ hasData?: boolean | undefined;
862
+ dataCollectionsCount?: number | undefined;
863
+ hasEvents?: boolean | undefined;
864
+ eventsCount?: number | undefined;
865
+ hasGlobalWebhooks?: boolean | undefined;
866
+ hasUdm?: boolean | undefined;
867
+ appUuid?: string | undefined;
868
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
869
+ }, {
870
+ id: string;
871
+ name: string;
872
+ baseUri: string;
873
+ logoUri: string;
874
+ key?: string | undefined;
875
+ uuid?: string | undefined;
876
+ description?: string | undefined;
877
+ state?: import("..").WorkspaceElementState | undefined;
878
+ errors?: any[] | undefined;
879
+ revision?: string | undefined;
880
+ isDeactivated?: boolean | undefined;
881
+ createdAt?: string | undefined;
882
+ updatedAt?: string | undefined;
883
+ archivedAt?: string | undefined;
884
+ parameters?: any;
885
+ parametersSchema?: DataSchema | undefined;
886
+ isTest?: boolean | undefined;
887
+ connectorId?: string | undefined;
888
+ connectorVersion?: string | undefined;
889
+ authOptions?: {
890
+ key: string;
891
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
892
+ description?: string | undefined;
893
+ title?: string | undefined;
894
+ ui?: {
895
+ schema?: any;
896
+ helpUri?: string | undefined;
897
+ } | undefined;
898
+ }[] | undefined;
899
+ oAuthCallbackUri?: string | undefined;
900
+ hasMissingParameters?: boolean | undefined;
901
+ hasDocumentation?: boolean | undefined;
902
+ hasOperations?: boolean | undefined;
903
+ operationsCount?: number | undefined;
904
+ hasData?: boolean | undefined;
905
+ dataCollectionsCount?: number | undefined;
906
+ hasEvents?: boolean | undefined;
907
+ eventsCount?: number | undefined;
908
+ hasGlobalWebhooks?: boolean | undefined;
909
+ hasUdm?: boolean | undefined;
910
+ appUuid?: string | undefined;
911
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
912
+ }>;
913
+ }, "strip", z.ZodTypeAny, {
914
+ integration: {
915
+ id: string;
916
+ name: string;
917
+ baseUri: string;
918
+ logoUri: string;
919
+ key?: string | undefined;
920
+ uuid?: string | undefined;
921
+ description?: string | undefined;
922
+ state?: import("..").WorkspaceElementState | undefined;
923
+ errors?: any[] | undefined;
924
+ revision?: string | undefined;
925
+ isDeactivated?: boolean | undefined;
926
+ createdAt?: string | undefined;
927
+ updatedAt?: string | undefined;
928
+ archivedAt?: string | undefined;
929
+ parameters?: any;
930
+ parametersSchema?: DataSchema | undefined;
931
+ isTest?: boolean | undefined;
932
+ connectorId?: string | undefined;
933
+ connectorVersion?: string | undefined;
934
+ authOptions?: {
935
+ key: string;
936
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
937
+ description?: string | undefined;
938
+ title?: string | undefined;
939
+ ui?: {
940
+ schema?: any;
941
+ helpUri?: string | undefined;
942
+ } | undefined;
943
+ }[] | undefined;
944
+ oAuthCallbackUri?: string | undefined;
945
+ hasMissingParameters?: boolean | undefined;
946
+ hasDocumentation?: boolean | undefined;
947
+ hasOperations?: boolean | undefined;
948
+ operationsCount?: number | undefined;
949
+ hasData?: boolean | undefined;
950
+ dataCollectionsCount?: number | undefined;
951
+ hasEvents?: boolean | undefined;
952
+ eventsCount?: number | undefined;
953
+ hasGlobalWebhooks?: boolean | undefined;
954
+ hasUdm?: boolean | undefined;
955
+ appUuid?: string | undefined;
956
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
957
+ };
958
+ element: {
959
+ id: string;
960
+ name: string;
961
+ revision: string;
962
+ key?: string | undefined;
963
+ uuid?: string | undefined;
964
+ description?: string | undefined;
965
+ state?: import("..").WorkspaceElementState | undefined;
966
+ errors?: any[] | undefined;
967
+ isDeactivated?: boolean | undefined;
968
+ createdAt?: string | undefined;
969
+ updatedAt?: string | undefined;
970
+ archivedAt?: string | undefined;
971
+ integrationId?: string | undefined;
972
+ parametersSchema?: DataSchema | undefined;
973
+ customized?: boolean | undefined;
974
+ universalFlowId?: string | undefined;
975
+ universalFlowRevision?: string | undefined;
976
+ nodes?: Record<string, {
977
+ concurrency?: number | undefined;
978
+ type?: string | undefined;
979
+ name?: string | undefined;
980
+ description?: string | undefined;
981
+ ui?: any;
982
+ isCustomized?: boolean | undefined;
983
+ inputSchema?: any;
984
+ config?: any;
985
+ outputSchema?: any;
986
+ version?: number | undefined;
987
+ onError?: "stop" | "continue" | undefined;
988
+ outputExample?: any;
989
+ links?: {
990
+ key?: string | undefined;
991
+ filter?: any;
992
+ name?: string | undefined;
993
+ }[] | undefined;
994
+ }> | undefined;
995
+ autoCreateInstances?: boolean | undefined;
996
+ };
997
+ }, {
998
+ integration: {
999
+ id: string;
1000
+ name: string;
1001
+ baseUri: string;
1002
+ logoUri: string;
1003
+ key?: string | undefined;
1004
+ uuid?: string | undefined;
1005
+ description?: string | undefined;
1006
+ state?: import("..").WorkspaceElementState | undefined;
1007
+ errors?: any[] | undefined;
1008
+ revision?: string | undefined;
1009
+ isDeactivated?: boolean | undefined;
1010
+ createdAt?: string | undefined;
1011
+ updatedAt?: string | undefined;
1012
+ archivedAt?: string | undefined;
1013
+ parameters?: any;
1014
+ parametersSchema?: DataSchema | undefined;
1015
+ isTest?: boolean | undefined;
1016
+ connectorId?: string | undefined;
1017
+ connectorVersion?: string | undefined;
1018
+ authOptions?: {
1019
+ key: string;
1020
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
1021
+ description?: string | undefined;
1022
+ title?: string | undefined;
1023
+ ui?: {
1024
+ schema?: any;
1025
+ helpUri?: string | undefined;
1026
+ } | undefined;
1027
+ }[] | undefined;
1028
+ oAuthCallbackUri?: string | undefined;
1029
+ hasMissingParameters?: boolean | undefined;
1030
+ hasDocumentation?: boolean | undefined;
1031
+ hasOperations?: boolean | undefined;
1032
+ operationsCount?: number | undefined;
1033
+ hasData?: boolean | undefined;
1034
+ dataCollectionsCount?: number | undefined;
1035
+ hasEvents?: boolean | undefined;
1036
+ eventsCount?: number | undefined;
1037
+ hasGlobalWebhooks?: boolean | undefined;
1038
+ hasUdm?: boolean | undefined;
1039
+ appUuid?: string | undefined;
1040
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1041
+ };
1042
+ element: {
1043
+ id: string;
1044
+ name: string;
1045
+ revision: string;
1046
+ key?: string | undefined;
1047
+ uuid?: string | undefined;
1048
+ description?: string | undefined;
1049
+ state?: import("..").WorkspaceElementState | undefined;
1050
+ errors?: any[] | undefined;
1051
+ isDeactivated?: boolean | undefined;
1052
+ createdAt?: string | undefined;
1053
+ updatedAt?: string | undefined;
1054
+ archivedAt?: string | undefined;
1055
+ integrationId?: string | undefined;
1056
+ parametersSchema?: DataSchema | undefined;
1057
+ customized?: boolean | undefined;
1058
+ universalFlowId?: string | undefined;
1059
+ universalFlowRevision?: string | undefined;
1060
+ nodes?: Record<string, {
1061
+ concurrency?: number | undefined;
1062
+ type?: string | undefined;
1063
+ name?: string | undefined;
1064
+ description?: string | undefined;
1065
+ ui?: any;
1066
+ isCustomized?: boolean | undefined;
1067
+ inputSchema?: any;
1068
+ config?: any;
1069
+ outputSchema?: any;
1070
+ version?: number | undefined;
1071
+ onError?: "stop" | "continue" | undefined;
1072
+ outputExample?: any;
1073
+ links?: {
1074
+ key?: string | undefined;
1075
+ filter?: any;
1076
+ name?: string | undefined;
1077
+ }[] | undefined;
1078
+ }> | undefined;
1079
+ autoCreateInstances?: boolean | undefined;
1080
+ };
1081
+ }>, "many">>;
1082
+ }, "strip", z.ZodTypeAny, {
1083
+ id: string;
1084
+ name: string;
1085
+ revision: string;
1086
+ key?: string | undefined;
1087
+ integration?: {
1088
+ id: string;
1089
+ name: string;
1090
+ baseUri: string;
1091
+ logoUri: string;
1092
+ key?: string | undefined;
1093
+ uuid?: string | undefined;
1094
+ description?: string | undefined;
1095
+ state?: import("..").WorkspaceElementState | undefined;
1096
+ errors?: any[] | undefined;
1097
+ revision?: string | undefined;
1098
+ isDeactivated?: boolean | undefined;
1099
+ createdAt?: string | undefined;
1100
+ updatedAt?: string | undefined;
1101
+ archivedAt?: string | undefined;
1102
+ parameters?: any;
1103
+ parametersSchema?: DataSchema | undefined;
1104
+ isTest?: boolean | undefined;
1105
+ connectorId?: string | undefined;
1106
+ connectorVersion?: string | undefined;
1107
+ authOptions?: {
1108
+ key: string;
1109
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
1110
+ description?: string | undefined;
1111
+ title?: string | undefined;
1112
+ ui?: {
1113
+ schema?: any;
1114
+ helpUri?: string | undefined;
1115
+ } | undefined;
1116
+ }[] | undefined;
1117
+ oAuthCallbackUri?: string | undefined;
1118
+ hasMissingParameters?: boolean | undefined;
1119
+ hasDocumentation?: boolean | undefined;
1120
+ hasOperations?: boolean | undefined;
1121
+ operationsCount?: number | undefined;
1122
+ hasData?: boolean | undefined;
1123
+ dataCollectionsCount?: number | undefined;
1124
+ hasEvents?: boolean | undefined;
1125
+ eventsCount?: number | undefined;
1126
+ hasGlobalWebhooks?: boolean | undefined;
1127
+ hasUdm?: boolean | undefined;
1128
+ appUuid?: string | undefined;
1129
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1130
+ } | undefined;
1131
+ uuid?: string | undefined;
1132
+ description?: string | undefined;
1133
+ state?: import("..").WorkspaceElementState | undefined;
1134
+ errors?: any[] | undefined;
1135
+ isDeactivated?: boolean | undefined;
1136
+ createdAt?: string | undefined;
1137
+ updatedAt?: string | undefined;
1138
+ archivedAt?: string | undefined;
1139
+ integrationId?: string | undefined;
1140
+ parametersSchema?: DataSchema | undefined;
1141
+ customized?: boolean | undefined;
1142
+ appliedToIntegrations?: {
1143
+ integration: {
1144
+ id: string;
1145
+ name: string;
1146
+ baseUri: string;
1147
+ logoUri: string;
1148
+ key?: string | undefined;
1149
+ uuid?: string | undefined;
1150
+ description?: string | undefined;
1151
+ state?: import("..").WorkspaceElementState | undefined;
1152
+ errors?: any[] | undefined;
1153
+ revision?: string | undefined;
1154
+ isDeactivated?: boolean | undefined;
1155
+ createdAt?: string | undefined;
1156
+ updatedAt?: string | undefined;
1157
+ archivedAt?: string | undefined;
1158
+ parameters?: any;
1159
+ parametersSchema?: DataSchema | undefined;
1160
+ isTest?: boolean | undefined;
1161
+ connectorId?: string | undefined;
1162
+ connectorVersion?: string | undefined;
1163
+ authOptions?: {
1164
+ key: string;
1165
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
1166
+ description?: string | undefined;
1167
+ title?: string | undefined;
1168
+ ui?: {
1169
+ schema?: any;
1170
+ helpUri?: string | undefined;
1171
+ } | undefined;
1172
+ }[] | undefined;
1173
+ oAuthCallbackUri?: string | undefined;
1174
+ hasMissingParameters?: boolean | undefined;
1175
+ hasDocumentation?: boolean | undefined;
1176
+ hasOperations?: boolean | undefined;
1177
+ operationsCount?: number | undefined;
1178
+ hasData?: boolean | undefined;
1179
+ dataCollectionsCount?: number | undefined;
1180
+ hasEvents?: boolean | undefined;
1181
+ eventsCount?: number | undefined;
1182
+ hasGlobalWebhooks?: boolean | undefined;
1183
+ hasUdm?: boolean | undefined;
1184
+ appUuid?: string | undefined;
1185
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1186
+ };
1187
+ element: {
1188
+ id: string;
1189
+ name: string;
1190
+ revision: string;
1191
+ key?: string | undefined;
1192
+ uuid?: string | undefined;
1193
+ description?: string | undefined;
1194
+ state?: import("..").WorkspaceElementState | undefined;
1195
+ errors?: any[] | undefined;
1196
+ isDeactivated?: boolean | undefined;
1197
+ createdAt?: string | undefined;
1198
+ updatedAt?: string | undefined;
1199
+ archivedAt?: string | undefined;
1200
+ integrationId?: string | undefined;
1201
+ parametersSchema?: DataSchema | undefined;
1202
+ customized?: boolean | undefined;
1203
+ universalFlowId?: string | undefined;
1204
+ universalFlowRevision?: string | undefined;
1205
+ nodes?: Record<string, {
1206
+ concurrency?: number | undefined;
1207
+ type?: string | undefined;
1208
+ name?: string | undefined;
1209
+ description?: string | undefined;
1210
+ ui?: any;
1211
+ isCustomized?: boolean | undefined;
1212
+ inputSchema?: any;
1213
+ config?: any;
1214
+ outputSchema?: any;
1215
+ version?: number | undefined;
1216
+ onError?: "stop" | "continue" | undefined;
1217
+ outputExample?: any;
1218
+ links?: {
1219
+ key?: string | undefined;
1220
+ filter?: any;
1221
+ name?: string | undefined;
1222
+ }[] | undefined;
1223
+ }> | undefined;
1224
+ autoCreateInstances?: boolean | undefined;
1225
+ };
1226
+ }[] | undefined;
1227
+ universalFlowId?: string | undefined;
1228
+ universalFlowRevision?: string | undefined;
1229
+ nodes?: Record<string, {
1230
+ concurrency?: number | undefined;
1231
+ type?: string | undefined;
1232
+ name?: string | undefined;
1233
+ description?: string | undefined;
1234
+ ui?: any;
1235
+ isCustomized?: boolean | undefined;
1236
+ inputSchema?: any;
1237
+ config?: any;
1238
+ outputSchema?: any;
1239
+ version?: number | undefined;
1240
+ onError?: "stop" | "continue" | undefined;
1241
+ outputExample?: any;
1242
+ links?: {
1243
+ key?: string | undefined;
1244
+ filter?: any;
1245
+ name?: string | undefined;
1246
+ }[] | undefined;
1247
+ }> | undefined;
1248
+ autoCreateInstances?: boolean | undefined;
1249
+ }, {
1250
+ id: string;
1251
+ name: string;
1252
+ revision: string;
1253
+ key?: string | undefined;
1254
+ integration?: {
1255
+ id: string;
1256
+ name: string;
1257
+ baseUri: string;
1258
+ logoUri: string;
1259
+ key?: string | undefined;
1260
+ uuid?: string | undefined;
1261
+ description?: string | undefined;
1262
+ state?: import("..").WorkspaceElementState | undefined;
1263
+ errors?: any[] | undefined;
1264
+ revision?: string | undefined;
1265
+ isDeactivated?: boolean | undefined;
1266
+ createdAt?: string | undefined;
1267
+ updatedAt?: string | undefined;
1268
+ archivedAt?: string | undefined;
1269
+ parameters?: any;
1270
+ parametersSchema?: DataSchema | undefined;
1271
+ isTest?: boolean | undefined;
1272
+ connectorId?: string | undefined;
1273
+ connectorVersion?: string | undefined;
1274
+ authOptions?: {
1275
+ key: string;
1276
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
1277
+ description?: string | undefined;
1278
+ title?: string | undefined;
1279
+ ui?: {
1280
+ schema?: any;
1281
+ helpUri?: string | undefined;
1282
+ } | undefined;
1283
+ }[] | undefined;
1284
+ oAuthCallbackUri?: string | undefined;
1285
+ hasMissingParameters?: boolean | undefined;
1286
+ hasDocumentation?: boolean | undefined;
1287
+ hasOperations?: boolean | undefined;
1288
+ operationsCount?: number | undefined;
1289
+ hasData?: boolean | undefined;
1290
+ dataCollectionsCount?: number | undefined;
1291
+ hasEvents?: boolean | undefined;
1292
+ eventsCount?: number | undefined;
1293
+ hasGlobalWebhooks?: boolean | undefined;
1294
+ hasUdm?: boolean | undefined;
1295
+ appUuid?: string | undefined;
1296
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1297
+ } | undefined;
1298
+ uuid?: string | undefined;
1299
+ description?: string | undefined;
1300
+ state?: import("..").WorkspaceElementState | undefined;
1301
+ errors?: any[] | undefined;
1302
+ isDeactivated?: boolean | undefined;
1303
+ createdAt?: string | undefined;
1304
+ updatedAt?: string | undefined;
1305
+ archivedAt?: string | undefined;
1306
+ integrationId?: string | undefined;
1307
+ parametersSchema?: DataSchema | undefined;
1308
+ customized?: boolean | undefined;
1309
+ appliedToIntegrations?: {
1310
+ integration: {
1311
+ id: string;
1312
+ name: string;
1313
+ baseUri: string;
1314
+ logoUri: string;
1315
+ key?: string | undefined;
1316
+ uuid?: string | undefined;
1317
+ description?: string | undefined;
1318
+ state?: import("..").WorkspaceElementState | undefined;
1319
+ errors?: any[] | undefined;
1320
+ revision?: string | undefined;
1321
+ isDeactivated?: boolean | undefined;
1322
+ createdAt?: string | undefined;
1323
+ updatedAt?: string | undefined;
1324
+ archivedAt?: string | undefined;
1325
+ parameters?: any;
1326
+ parametersSchema?: DataSchema | undefined;
1327
+ isTest?: boolean | undefined;
1328
+ connectorId?: string | undefined;
1329
+ connectorVersion?: string | undefined;
1330
+ authOptions?: {
1331
+ key: string;
1332
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
1333
+ description?: string | undefined;
1334
+ title?: string | undefined;
1335
+ ui?: {
1336
+ schema?: any;
1337
+ helpUri?: string | undefined;
1338
+ } | undefined;
1339
+ }[] | undefined;
1340
+ oAuthCallbackUri?: string | undefined;
1341
+ hasMissingParameters?: boolean | undefined;
1342
+ hasDocumentation?: boolean | undefined;
1343
+ hasOperations?: boolean | undefined;
1344
+ operationsCount?: number | undefined;
1345
+ hasData?: boolean | undefined;
1346
+ dataCollectionsCount?: number | undefined;
1347
+ hasEvents?: boolean | undefined;
1348
+ eventsCount?: number | undefined;
1349
+ hasGlobalWebhooks?: boolean | undefined;
1350
+ hasUdm?: boolean | undefined;
1351
+ appUuid?: string | undefined;
1352
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1353
+ };
1354
+ element: {
1355
+ id: string;
1356
+ name: string;
1357
+ revision: string;
1358
+ key?: string | undefined;
1359
+ uuid?: string | undefined;
1360
+ description?: string | undefined;
1361
+ state?: import("..").WorkspaceElementState | undefined;
1362
+ errors?: any[] | undefined;
1363
+ isDeactivated?: boolean | undefined;
1364
+ createdAt?: string | undefined;
1365
+ updatedAt?: string | undefined;
1366
+ archivedAt?: string | undefined;
1367
+ integrationId?: string | undefined;
1368
+ parametersSchema?: DataSchema | undefined;
1369
+ customized?: boolean | undefined;
1370
+ universalFlowId?: string | undefined;
1371
+ universalFlowRevision?: string | undefined;
1372
+ nodes?: Record<string, {
1373
+ concurrency?: number | undefined;
1374
+ type?: string | undefined;
1375
+ name?: string | undefined;
1376
+ description?: string | undefined;
1377
+ ui?: any;
1378
+ isCustomized?: boolean | undefined;
1379
+ inputSchema?: any;
1380
+ config?: any;
1381
+ outputSchema?: any;
1382
+ version?: number | undefined;
1383
+ onError?: "stop" | "continue" | undefined;
1384
+ outputExample?: any;
1385
+ links?: {
1386
+ key?: string | undefined;
1387
+ filter?: any;
1388
+ name?: string | undefined;
1389
+ }[] | undefined;
1390
+ }> | undefined;
1391
+ autoCreateInstances?: boolean | undefined;
1392
+ };
1393
+ }[] | undefined;
1394
+ universalFlowId?: string | undefined;
1395
+ universalFlowRevision?: string | undefined;
1396
+ nodes?: Record<string, {
1397
+ concurrency?: number | undefined;
1398
+ type?: string | undefined;
1399
+ name?: string | undefined;
1400
+ description?: string | undefined;
1401
+ ui?: any;
1402
+ isCustomized?: boolean | undefined;
1403
+ inputSchema?: any;
1404
+ config?: any;
1405
+ outputSchema?: any;
1406
+ version?: number | undefined;
1407
+ onError?: "stop" | "continue" | undefined;
1408
+ outputExample?: any;
1409
+ links?: {
1410
+ key?: string | undefined;
1411
+ filter?: any;
1412
+ name?: string | undefined;
1413
+ }[] | undefined;
1414
+ }> | undefined;
1415
+ autoCreateInstances?: boolean | undefined;
1416
+ }>;
1417
+ export type FlowApiResponse = z.infer<typeof FlowApiResponse>;
1418
+ export type Flow = FlowApiResponse;
1419
+ export declare const FlowInstanceApiResponse: z.ZodObject<{
1420
+ id: z.ZodString;
1421
+ name: z.ZodString;
1422
+ key: z.ZodOptional<z.ZodString>;
1423
+ uuid: z.ZodOptional<z.ZodString>;
1424
+ description: z.ZodOptional<z.ZodString>;
1425
+ errors: z.ZodOptional<z.ZodArray<any, "many">>;
1426
+ revision: z.ZodOptional<z.ZodString>;
1427
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
1428
+ archivedAt: z.ZodOptional<z.ZodString>;
1429
+ } & {
1430
+ userId: z.ZodString;
1431
+ connectionId: z.ZodOptional<z.ZodString>;
1432
+ flowId: z.ZodOptional<z.ZodString>;
1433
+ universalFlowId: z.ZodOptional<z.ZodString>;
1434
+ integrationId: z.ZodString;
1435
+ instanceKey: z.ZodOptional<z.ZodString>;
1436
+ parameters: z.ZodOptional<z.ZodAny>;
1437
+ parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
1438
+ nodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1439
+ enabled: z.ZodBoolean;
1440
+ createdAt: z.ZodString;
1441
+ updatedAt: z.ZodString;
1442
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
1443
+ outdated: z.ZodOptional<z.ZodBoolean>;
1444
+ customized: z.ZodOptional<z.ZodObject<{
1445
+ name: z.ZodOptional<z.ZodBoolean>;
1446
+ nodes: z.ZodOptional<z.ZodBoolean>;
1447
+ }, "strip", z.ZodTypeAny, {
1448
+ name?: boolean | undefined;
1449
+ nodes?: boolean | undefined;
1450
+ }, {
1451
+ name?: boolean | undefined;
1452
+ nodes?: boolean | undefined;
1453
+ }>>;
1454
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1455
+ } & {
1456
+ user: z.ZodOptional<z.ZodLazy<z.ZodType<{
1457
+ id: string;
1458
+ name: string;
1459
+ internalId: string;
1460
+ createdAt?: string | undefined;
1461
+ archivedAt?: string | undefined;
1462
+ credentials?: any;
1463
+ fields?: Record<string, any> | undefined;
1464
+ isTest?: boolean | undefined;
1465
+ lastActiveAt?: string | undefined;
1466
+ isBillable?: boolean | undefined;
1467
+ }, z.ZodTypeDef, {
1468
+ id: string;
1469
+ name: string;
1470
+ internalId: string;
1471
+ createdAt?: string | undefined;
1472
+ archivedAt?: string | undefined;
1473
+ credentials?: any;
1474
+ fields?: Record<string, any> | undefined;
1475
+ isTest?: boolean | undefined;
1476
+ lastActiveAt?: string | undefined;
1477
+ isBillable?: boolean | undefined;
1478
+ }>>>;
1479
+ connection: z.ZodOptional<z.ZodLazy<z.ZodType<{
1480
+ id: string;
1481
+ name: string;
1482
+ createdAt: string;
1483
+ updatedAt: string;
1484
+ userId: string;
1485
+ integrationId: string;
1486
+ error?: any;
1487
+ state?: import("..").WorkspaceElementState | undefined;
1488
+ errors?: any[] | undefined;
1489
+ isDeactivated?: boolean | undefined;
1490
+ archivedAt?: string | undefined;
1491
+ credentials?: unknown;
1492
+ parameters?: unknown;
1493
+ connectorParameters?: unknown;
1494
+ isTest?: boolean | undefined;
1495
+ disconnected?: boolean | undefined;
1496
+ isDefunct?: boolean | undefined;
1497
+ lastActiveAt?: string | undefined;
1498
+ nextCredentialsRefreshAt?: string | undefined;
1499
+ meta?: Record<string, any> | undefined;
1500
+ }, z.ZodTypeDef, {
1501
+ id: string;
1502
+ name: string;
1503
+ createdAt: string;
1504
+ updatedAt: string;
1505
+ userId: string;
1506
+ integrationId: string;
1507
+ error?: any;
1508
+ state?: import("..").WorkspaceElementState | undefined;
1509
+ errors?: any[] | undefined;
1510
+ isDeactivated?: boolean | undefined;
1511
+ archivedAt?: string | undefined;
1512
+ credentials?: unknown;
1513
+ parameters?: unknown;
1514
+ connectorParameters?: unknown;
1515
+ isTest?: boolean | undefined;
1516
+ disconnected?: boolean | undefined;
1517
+ isDefunct?: boolean | undefined;
1518
+ lastActiveAt?: string | undefined;
1519
+ nextCredentialsRefreshAt?: string | undefined;
1520
+ meta?: Record<string, any> | undefined;
1521
+ }>>>;
1522
+ flow: z.ZodOptional<z.ZodLazy<z.ZodObject<{
1523
+ id: z.ZodString;
1524
+ name: z.ZodString;
1525
+ key: z.ZodOptional<z.ZodString>;
1526
+ uuid: z.ZodOptional<z.ZodString>;
1527
+ description: z.ZodOptional<z.ZodString>;
1528
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
1529
+ errors: z.ZodOptional<z.ZodArray<any, "many">>;
1530
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
1531
+ createdAt: z.ZodOptional<z.ZodString>;
1532
+ updatedAt: z.ZodOptional<z.ZodString>;
1533
+ } & {
1534
+ integrationId: z.ZodOptional<z.ZodString>;
1535
+ universalFlowId: z.ZodOptional<z.ZodString>;
1536
+ universalFlowRevision: z.ZodOptional<z.ZodString>;
1537
+ parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
1538
+ nodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1539
+ type: z.ZodOptional<z.ZodString>;
1540
+ version: z.ZodOptional<z.ZodNumber>;
1541
+ name: z.ZodOptional<z.ZodString>;
1542
+ description: z.ZodOptional<z.ZodString>;
1543
+ config: z.ZodOptional<z.ZodAny>;
1544
+ concurrency: z.ZodOptional<z.ZodNumber>;
1545
+ onError: z.ZodOptional<z.ZodEnum<["stop", "continue"]>>;
1546
+ ui: z.ZodOptional<z.ZodAny>;
1547
+ inputSchema: z.ZodOptional<z.ZodAny>;
1548
+ outputSchema: z.ZodOptional<z.ZodAny>;
1549
+ outputExample: z.ZodOptional<z.ZodAny>;
1550
+ links: z.ZodOptional<z.ZodArray<z.ZodObject<{
1551
+ key: z.ZodOptional<z.ZodString>;
1552
+ filter: z.ZodOptional<z.ZodAny>;
1553
+ name: z.ZodOptional<z.ZodString>;
1554
+ }, "strip", z.ZodTypeAny, {
1555
+ key?: string | undefined;
1556
+ filter?: any;
1557
+ name?: string | undefined;
1558
+ }, {
1559
+ key?: string | undefined;
1560
+ filter?: any;
1561
+ name?: string | undefined;
1562
+ }>, "many">>;
1563
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
1564
+ }, "strip", z.ZodTypeAny, {
1565
+ concurrency?: number | undefined;
1566
+ type?: string | undefined;
1567
+ name?: string | undefined;
1568
+ description?: string | undefined;
1569
+ ui?: any;
1570
+ isCustomized?: boolean | undefined;
1571
+ inputSchema?: any;
1572
+ config?: any;
1573
+ outputSchema?: any;
1574
+ version?: number | undefined;
1575
+ onError?: "stop" | "continue" | undefined;
1576
+ outputExample?: any;
1577
+ links?: {
1578
+ key?: string | undefined;
1579
+ filter?: any;
1580
+ name?: string | undefined;
1581
+ }[] | undefined;
1582
+ }, {
1583
+ concurrency?: number | undefined;
1584
+ type?: string | undefined;
1585
+ name?: string | undefined;
1586
+ description?: string | undefined;
1587
+ ui?: any;
1588
+ isCustomized?: boolean | undefined;
1589
+ inputSchema?: any;
1590
+ config?: any;
1591
+ outputSchema?: any;
1592
+ version?: number | undefined;
1593
+ onError?: "stop" | "continue" | undefined;
1594
+ outputExample?: any;
1595
+ links?: {
1596
+ key?: string | undefined;
1597
+ filter?: any;
1598
+ name?: string | undefined;
1599
+ }[] | undefined;
1600
+ }>>>;
1601
+ autoCreateInstances: z.ZodOptional<z.ZodBoolean>;
1602
+ archivedAt: z.ZodOptional<z.ZodString>;
1603
+ revision: z.ZodString;
1604
+ customized: z.ZodOptional<z.ZodBoolean>;
1605
+ } & {
1606
+ integration: z.ZodOptional<z.ZodObject<{
1607
+ id: z.ZodString;
1608
+ name: z.ZodString;
1609
+ key: z.ZodOptional<z.ZodString>;
1610
+ uuid: z.ZodOptional<z.ZodString>;
1611
+ description: z.ZodOptional<z.ZodString>;
1612
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
1613
+ errors: z.ZodOptional<z.ZodArray<any, "many">>;
1614
+ revision: z.ZodOptional<z.ZodString>;
1615
+ createdAt: z.ZodOptional<z.ZodString>;
1616
+ updatedAt: z.ZodOptional<z.ZodString>;
1617
+ } & {
1618
+ logoUri: z.ZodString;
1619
+ connectorId: z.ZodOptional<z.ZodString>;
1620
+ connectorVersion: z.ZodOptional<z.ZodString>;
1621
+ authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1622
+ key: z.ZodString;
1623
+ type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
1624
+ title: z.ZodOptional<z.ZodString>;
1625
+ description: z.ZodOptional<z.ZodString>;
1626
+ ui: z.ZodOptional<z.ZodObject<{
1627
+ schema: z.ZodOptional<z.ZodAny>;
1628
+ helpUri: z.ZodOptional<z.ZodString>;
1629
+ }, "strip", z.ZodTypeAny, {
1630
+ schema?: any;
1631
+ helpUri?: string | undefined;
1632
+ }, {
1633
+ schema?: any;
1634
+ helpUri?: string | undefined;
1635
+ }>>;
1636
+ }, "strip", z.ZodTypeAny, {
1637
+ key: string;
1638
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
1639
+ description?: string | undefined;
1640
+ title?: string | undefined;
1641
+ ui?: {
1642
+ schema?: any;
1643
+ helpUri?: string | undefined;
1644
+ } | undefined;
1645
+ }, {
1646
+ key: string;
1647
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
1648
+ description?: string | undefined;
1649
+ title?: string | undefined;
1650
+ ui?: {
1651
+ schema?: any;
1652
+ helpUri?: string | undefined;
1653
+ } | undefined;
1654
+ }>, "many">>;
1655
+ oAuthCallbackUri: z.ZodOptional<z.ZodString>;
1656
+ parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
1657
+ parameters: z.ZodOptional<z.ZodAny>;
1658
+ baseUri: z.ZodString;
1659
+ archivedAt: z.ZodOptional<z.ZodString>;
1660
+ hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
1661
+ hasDocumentation: z.ZodOptional<z.ZodBoolean>;
1662
+ hasOperations: z.ZodOptional<z.ZodBoolean>;
1663
+ operationsCount: z.ZodOptional<z.ZodNumber>;
1664
+ hasData: z.ZodOptional<z.ZodBoolean>;
1665
+ dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
1666
+ hasEvents: z.ZodOptional<z.ZodBoolean>;
1667
+ eventsCount: z.ZodOptional<z.ZodNumber>;
1668
+ hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
1669
+ hasUdm: z.ZodOptional<z.ZodBoolean>;
1670
+ isTest: z.ZodOptional<z.ZodBoolean>;
1671
+ appUuid: z.ZodOptional<z.ZodString>;
1672
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
1673
+ authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
1674
+ }, "strip", z.ZodTypeAny, {
1675
+ id: string;
1676
+ name: string;
1677
+ baseUri: string;
1678
+ logoUri: string;
1679
+ key?: string | undefined;
1680
+ uuid?: string | undefined;
1681
+ description?: string | undefined;
1682
+ state?: import("..").WorkspaceElementState | undefined;
1683
+ errors?: any[] | undefined;
1684
+ revision?: string | undefined;
1685
+ isDeactivated?: boolean | undefined;
1686
+ createdAt?: string | undefined;
1687
+ updatedAt?: string | undefined;
1688
+ archivedAt?: string | undefined;
1689
+ parameters?: any;
1690
+ parametersSchema?: DataSchema | undefined;
1691
+ isTest?: boolean | undefined;
1692
+ connectorId?: string | undefined;
1693
+ connectorVersion?: string | undefined;
1694
+ authOptions?: {
1695
+ key: string;
1696
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
1697
+ description?: string | undefined;
1698
+ title?: string | undefined;
1699
+ ui?: {
1700
+ schema?: any;
1701
+ helpUri?: string | undefined;
1702
+ } | undefined;
1703
+ }[] | undefined;
1704
+ oAuthCallbackUri?: string | undefined;
1705
+ hasMissingParameters?: boolean | undefined;
1706
+ hasDocumentation?: boolean | undefined;
1707
+ hasOperations?: boolean | undefined;
1708
+ operationsCount?: number | undefined;
1709
+ hasData?: boolean | undefined;
1710
+ dataCollectionsCount?: number | undefined;
1711
+ hasEvents?: boolean | undefined;
1712
+ eventsCount?: number | undefined;
1713
+ hasGlobalWebhooks?: boolean | undefined;
1714
+ hasUdm?: boolean | undefined;
1715
+ appUuid?: string | undefined;
1716
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1717
+ }, {
1718
+ id: string;
1719
+ name: string;
1720
+ baseUri: string;
1721
+ logoUri: string;
1722
+ key?: string | undefined;
1723
+ uuid?: string | undefined;
1724
+ description?: string | undefined;
1725
+ state?: import("..").WorkspaceElementState | undefined;
1726
+ errors?: any[] | undefined;
1727
+ revision?: string | undefined;
1728
+ isDeactivated?: boolean | undefined;
1729
+ createdAt?: string | undefined;
1730
+ updatedAt?: string | undefined;
1731
+ archivedAt?: string | undefined;
1732
+ parameters?: any;
1733
+ parametersSchema?: DataSchema | undefined;
1734
+ isTest?: boolean | undefined;
1735
+ connectorId?: string | undefined;
1736
+ connectorVersion?: string | undefined;
1737
+ authOptions?: {
1738
+ key: string;
1739
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
1740
+ description?: string | undefined;
1741
+ title?: string | undefined;
1742
+ ui?: {
1743
+ schema?: any;
1744
+ helpUri?: string | undefined;
1745
+ } | undefined;
1746
+ }[] | undefined;
1747
+ oAuthCallbackUri?: string | undefined;
1748
+ hasMissingParameters?: boolean | undefined;
1749
+ hasDocumentation?: boolean | undefined;
1750
+ hasOperations?: boolean | undefined;
1751
+ operationsCount?: number | undefined;
1752
+ hasData?: boolean | undefined;
1753
+ dataCollectionsCount?: number | undefined;
1754
+ hasEvents?: boolean | undefined;
1755
+ eventsCount?: number | undefined;
1756
+ hasGlobalWebhooks?: boolean | undefined;
1757
+ hasUdm?: boolean | undefined;
1758
+ appUuid?: string | undefined;
1759
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1760
+ }>>;
1761
+ appliedToIntegrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
1762
+ element: z.ZodObject<{
1763
+ id: z.ZodString;
1764
+ name: z.ZodString;
1765
+ key: z.ZodOptional<z.ZodString>;
1766
+ uuid: z.ZodOptional<z.ZodString>;
1767
+ description: z.ZodOptional<z.ZodString>;
1768
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
1769
+ errors: z.ZodOptional<z.ZodArray<any, "many">>;
1770
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
1771
+ createdAt: z.ZodOptional<z.ZodString>;
1772
+ updatedAt: z.ZodOptional<z.ZodString>;
1773
+ } & {
1774
+ integrationId: z.ZodOptional<z.ZodString>;
1775
+ universalFlowId: z.ZodOptional<z.ZodString>;
1776
+ universalFlowRevision: z.ZodOptional<z.ZodString>;
1777
+ parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
1778
+ nodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1779
+ type: z.ZodOptional<z.ZodString>;
1780
+ version: z.ZodOptional<z.ZodNumber>;
1781
+ name: z.ZodOptional<z.ZodString>;
1782
+ description: z.ZodOptional<z.ZodString>;
1783
+ config: z.ZodOptional<z.ZodAny>;
1784
+ concurrency: z.ZodOptional<z.ZodNumber>;
1785
+ onError: z.ZodOptional<z.ZodEnum<["stop", "continue"]>>;
1786
+ ui: z.ZodOptional<z.ZodAny>;
1787
+ inputSchema: z.ZodOptional<z.ZodAny>;
1788
+ outputSchema: z.ZodOptional<z.ZodAny>;
1789
+ outputExample: z.ZodOptional<z.ZodAny>;
1790
+ links: z.ZodOptional<z.ZodArray<z.ZodObject<{
1791
+ key: z.ZodOptional<z.ZodString>;
1792
+ filter: z.ZodOptional<z.ZodAny>;
1793
+ name: z.ZodOptional<z.ZodString>;
1794
+ }, "strip", z.ZodTypeAny, {
1795
+ key?: string | undefined;
1796
+ filter?: any;
1797
+ name?: string | undefined;
1798
+ }, {
1799
+ key?: string | undefined;
1800
+ filter?: any;
1801
+ name?: string | undefined;
1802
+ }>, "many">>;
1803
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
1804
+ }, "strip", z.ZodTypeAny, {
1805
+ concurrency?: number | undefined;
1806
+ type?: string | undefined;
1807
+ name?: string | undefined;
1808
+ description?: string | undefined;
1809
+ ui?: any;
1810
+ isCustomized?: boolean | undefined;
1811
+ inputSchema?: any;
1812
+ config?: any;
1813
+ outputSchema?: any;
1814
+ version?: number | undefined;
1815
+ onError?: "stop" | "continue" | undefined;
1816
+ outputExample?: any;
1817
+ links?: {
1818
+ key?: string | undefined;
1819
+ filter?: any;
1820
+ name?: string | undefined;
1821
+ }[] | undefined;
1822
+ }, {
1823
+ concurrency?: number | undefined;
1824
+ type?: string | undefined;
1825
+ name?: string | undefined;
1826
+ description?: string | undefined;
1827
+ ui?: any;
1828
+ isCustomized?: boolean | undefined;
1829
+ inputSchema?: any;
1830
+ config?: any;
1831
+ outputSchema?: any;
1832
+ version?: number | undefined;
1833
+ onError?: "stop" | "continue" | undefined;
1834
+ outputExample?: any;
1835
+ links?: {
1836
+ key?: string | undefined;
1837
+ filter?: any;
1838
+ name?: string | undefined;
1839
+ }[] | undefined;
1840
+ }>>>;
1841
+ autoCreateInstances: z.ZodOptional<z.ZodBoolean>;
1842
+ archivedAt: z.ZodOptional<z.ZodString>;
1843
+ revision: z.ZodString;
1844
+ customized: z.ZodOptional<z.ZodBoolean>;
1845
+ }, "strip", z.ZodTypeAny, {
1846
+ id: string;
1847
+ name: string;
1848
+ revision: string;
1849
+ key?: string | undefined;
1850
+ uuid?: string | undefined;
1851
+ description?: string | undefined;
1852
+ state?: import("..").WorkspaceElementState | undefined;
1853
+ errors?: any[] | undefined;
1854
+ isDeactivated?: boolean | undefined;
1855
+ createdAt?: string | undefined;
1856
+ updatedAt?: string | undefined;
1857
+ archivedAt?: string | undefined;
1858
+ integrationId?: string | undefined;
1859
+ parametersSchema?: DataSchema | undefined;
1860
+ customized?: boolean | undefined;
1861
+ universalFlowId?: string | undefined;
1862
+ universalFlowRevision?: string | undefined;
1863
+ nodes?: Record<string, {
1864
+ concurrency?: number | undefined;
1865
+ type?: string | undefined;
1866
+ name?: string | undefined;
1867
+ description?: string | undefined;
1868
+ ui?: any;
1869
+ isCustomized?: boolean | undefined;
1870
+ inputSchema?: any;
1871
+ config?: any;
1872
+ outputSchema?: any;
1873
+ version?: number | undefined;
1874
+ onError?: "stop" | "continue" | undefined;
1875
+ outputExample?: any;
1876
+ links?: {
1877
+ key?: string | undefined;
1878
+ filter?: any;
1879
+ name?: string | undefined;
1880
+ }[] | undefined;
1881
+ }> | undefined;
1882
+ autoCreateInstances?: boolean | undefined;
1883
+ }, {
1884
+ id: string;
1885
+ name: string;
1886
+ revision: string;
1887
+ key?: string | undefined;
1888
+ uuid?: string | undefined;
1889
+ description?: string | undefined;
1890
+ state?: import("..").WorkspaceElementState | undefined;
1891
+ errors?: any[] | undefined;
1892
+ isDeactivated?: boolean | undefined;
1893
+ createdAt?: string | undefined;
1894
+ updatedAt?: string | undefined;
1895
+ archivedAt?: string | undefined;
1896
+ integrationId?: string | undefined;
1897
+ parametersSchema?: DataSchema | undefined;
1898
+ customized?: boolean | undefined;
1899
+ universalFlowId?: string | undefined;
1900
+ universalFlowRevision?: string | undefined;
1901
+ nodes?: Record<string, {
1902
+ concurrency?: number | undefined;
1903
+ type?: string | undefined;
1904
+ name?: string | undefined;
1905
+ description?: string | undefined;
1906
+ ui?: any;
1907
+ isCustomized?: boolean | undefined;
1908
+ inputSchema?: any;
1909
+ config?: any;
1910
+ outputSchema?: any;
1911
+ version?: number | undefined;
1912
+ onError?: "stop" | "continue" | undefined;
1913
+ outputExample?: any;
1914
+ links?: {
1915
+ key?: string | undefined;
1916
+ filter?: any;
1917
+ name?: string | undefined;
1918
+ }[] | undefined;
1919
+ }> | undefined;
1920
+ autoCreateInstances?: boolean | undefined;
1921
+ }>;
1922
+ integration: z.ZodObject<{
1923
+ id: z.ZodString;
1924
+ name: z.ZodString;
1925
+ key: z.ZodOptional<z.ZodString>;
1926
+ uuid: z.ZodOptional<z.ZodString>;
1927
+ description: z.ZodOptional<z.ZodString>;
1928
+ state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
1929
+ errors: z.ZodOptional<z.ZodArray<any, "many">>;
1930
+ revision: z.ZodOptional<z.ZodString>;
1931
+ createdAt: z.ZodOptional<z.ZodString>;
1932
+ updatedAt: z.ZodOptional<z.ZodString>;
1933
+ } & {
1934
+ logoUri: z.ZodString;
1935
+ connectorId: z.ZodOptional<z.ZodString>;
1936
+ connectorVersion: z.ZodOptional<z.ZodString>;
1937
+ authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1938
+ key: z.ZodString;
1939
+ type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
1940
+ title: z.ZodOptional<z.ZodString>;
1941
+ description: z.ZodOptional<z.ZodString>;
1942
+ ui: z.ZodOptional<z.ZodObject<{
1943
+ schema: z.ZodOptional<z.ZodAny>;
1944
+ helpUri: z.ZodOptional<z.ZodString>;
1945
+ }, "strip", z.ZodTypeAny, {
1946
+ schema?: any;
1947
+ helpUri?: string | undefined;
1948
+ }, {
1949
+ schema?: any;
1950
+ helpUri?: string | undefined;
1951
+ }>>;
1952
+ }, "strip", z.ZodTypeAny, {
1953
+ key: string;
1954
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
1955
+ description?: string | undefined;
1956
+ title?: string | undefined;
1957
+ ui?: {
1958
+ schema?: any;
1959
+ helpUri?: string | undefined;
1960
+ } | undefined;
1961
+ }, {
1962
+ key: string;
1963
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
1964
+ description?: string | undefined;
1965
+ title?: string | undefined;
1966
+ ui?: {
1967
+ schema?: any;
1968
+ helpUri?: string | undefined;
1969
+ } | undefined;
1970
+ }>, "many">>;
1971
+ oAuthCallbackUri: z.ZodOptional<z.ZodString>;
1972
+ parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
1973
+ parameters: z.ZodOptional<z.ZodAny>;
1974
+ baseUri: z.ZodString;
1975
+ archivedAt: z.ZodOptional<z.ZodString>;
1976
+ hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
1977
+ hasDocumentation: z.ZodOptional<z.ZodBoolean>;
1978
+ hasOperations: z.ZodOptional<z.ZodBoolean>;
1979
+ operationsCount: z.ZodOptional<z.ZodNumber>;
1980
+ hasData: z.ZodOptional<z.ZodBoolean>;
1981
+ dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
1982
+ hasEvents: z.ZodOptional<z.ZodBoolean>;
1983
+ eventsCount: z.ZodOptional<z.ZodNumber>;
1984
+ hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
1985
+ hasUdm: z.ZodOptional<z.ZodBoolean>;
1986
+ isTest: z.ZodOptional<z.ZodBoolean>;
1987
+ appUuid: z.ZodOptional<z.ZodString>;
1988
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
1989
+ authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
1990
+ }, "strip", z.ZodTypeAny, {
1991
+ id: string;
1992
+ name: string;
1993
+ baseUri: string;
1994
+ logoUri: string;
1995
+ key?: string | undefined;
1996
+ uuid?: string | undefined;
1997
+ description?: string | undefined;
1998
+ state?: import("..").WorkspaceElementState | undefined;
1999
+ errors?: any[] | undefined;
2000
+ revision?: string | undefined;
2001
+ isDeactivated?: boolean | undefined;
2002
+ createdAt?: string | undefined;
2003
+ updatedAt?: string | undefined;
2004
+ archivedAt?: string | undefined;
2005
+ parameters?: any;
2006
+ parametersSchema?: DataSchema | undefined;
2007
+ isTest?: boolean | undefined;
2008
+ connectorId?: string | undefined;
2009
+ connectorVersion?: string | undefined;
2010
+ authOptions?: {
2011
+ key: string;
2012
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
2013
+ description?: string | undefined;
2014
+ title?: string | undefined;
2015
+ ui?: {
2016
+ schema?: any;
2017
+ helpUri?: string | undefined;
2018
+ } | undefined;
2019
+ }[] | undefined;
2020
+ oAuthCallbackUri?: string | undefined;
2021
+ hasMissingParameters?: boolean | undefined;
2022
+ hasDocumentation?: boolean | undefined;
2023
+ hasOperations?: boolean | undefined;
2024
+ operationsCount?: number | undefined;
2025
+ hasData?: boolean | undefined;
2026
+ dataCollectionsCount?: number | undefined;
2027
+ hasEvents?: boolean | undefined;
2028
+ eventsCount?: number | undefined;
2029
+ hasGlobalWebhooks?: boolean | undefined;
2030
+ hasUdm?: boolean | undefined;
2031
+ appUuid?: string | undefined;
2032
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
2033
+ }, {
2034
+ id: string;
2035
+ name: string;
2036
+ baseUri: string;
2037
+ logoUri: string;
2038
+ key?: string | undefined;
2039
+ uuid?: string | undefined;
2040
+ description?: string | undefined;
2041
+ state?: import("..").WorkspaceElementState | undefined;
2042
+ errors?: any[] | undefined;
2043
+ revision?: string | undefined;
2044
+ isDeactivated?: boolean | undefined;
2045
+ createdAt?: string | undefined;
2046
+ updatedAt?: string | undefined;
2047
+ archivedAt?: string | undefined;
2048
+ parameters?: any;
2049
+ parametersSchema?: DataSchema | undefined;
2050
+ isTest?: boolean | undefined;
2051
+ connectorId?: string | undefined;
2052
+ connectorVersion?: string | undefined;
2053
+ authOptions?: {
2054
+ key: string;
2055
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
2056
+ description?: string | undefined;
2057
+ title?: string | undefined;
2058
+ ui?: {
2059
+ schema?: any;
2060
+ helpUri?: string | undefined;
2061
+ } | undefined;
2062
+ }[] | undefined;
2063
+ oAuthCallbackUri?: string | undefined;
2064
+ hasMissingParameters?: boolean | undefined;
2065
+ hasDocumentation?: boolean | undefined;
2066
+ hasOperations?: boolean | undefined;
2067
+ operationsCount?: number | undefined;
2068
+ hasData?: boolean | undefined;
2069
+ dataCollectionsCount?: number | undefined;
2070
+ hasEvents?: boolean | undefined;
2071
+ eventsCount?: number | undefined;
2072
+ hasGlobalWebhooks?: boolean | undefined;
2073
+ hasUdm?: boolean | undefined;
2074
+ appUuid?: string | undefined;
2075
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
2076
+ }>;
2077
+ }, "strip", z.ZodTypeAny, {
2078
+ integration: {
2079
+ id: string;
2080
+ name: string;
2081
+ baseUri: string;
2082
+ logoUri: string;
2083
+ key?: string | undefined;
2084
+ uuid?: string | undefined;
2085
+ description?: string | undefined;
2086
+ state?: import("..").WorkspaceElementState | undefined;
2087
+ errors?: any[] | undefined;
2088
+ revision?: string | undefined;
2089
+ isDeactivated?: boolean | undefined;
2090
+ createdAt?: string | undefined;
2091
+ updatedAt?: string | undefined;
2092
+ archivedAt?: string | undefined;
2093
+ parameters?: any;
2094
+ parametersSchema?: DataSchema | undefined;
2095
+ isTest?: boolean | undefined;
2096
+ connectorId?: string | undefined;
2097
+ connectorVersion?: string | undefined;
2098
+ authOptions?: {
2099
+ key: string;
2100
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
2101
+ description?: string | undefined;
2102
+ title?: string | undefined;
2103
+ ui?: {
2104
+ schema?: any;
2105
+ helpUri?: string | undefined;
2106
+ } | undefined;
2107
+ }[] | undefined;
2108
+ oAuthCallbackUri?: string | undefined;
2109
+ hasMissingParameters?: boolean | undefined;
2110
+ hasDocumentation?: boolean | undefined;
2111
+ hasOperations?: boolean | undefined;
2112
+ operationsCount?: number | undefined;
2113
+ hasData?: boolean | undefined;
2114
+ dataCollectionsCount?: number | undefined;
2115
+ hasEvents?: boolean | undefined;
2116
+ eventsCount?: number | undefined;
2117
+ hasGlobalWebhooks?: boolean | undefined;
2118
+ hasUdm?: boolean | undefined;
2119
+ appUuid?: string | undefined;
2120
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
2121
+ };
2122
+ element: {
2123
+ id: string;
2124
+ name: string;
2125
+ revision: string;
2126
+ key?: string | undefined;
2127
+ uuid?: string | undefined;
2128
+ description?: string | undefined;
2129
+ state?: import("..").WorkspaceElementState | undefined;
2130
+ errors?: any[] | undefined;
2131
+ isDeactivated?: boolean | undefined;
2132
+ createdAt?: string | undefined;
2133
+ updatedAt?: string | undefined;
2134
+ archivedAt?: string | undefined;
2135
+ integrationId?: string | undefined;
2136
+ parametersSchema?: DataSchema | undefined;
2137
+ customized?: boolean | undefined;
2138
+ universalFlowId?: string | undefined;
2139
+ universalFlowRevision?: string | undefined;
2140
+ nodes?: Record<string, {
2141
+ concurrency?: number | undefined;
2142
+ type?: string | undefined;
2143
+ name?: string | undefined;
2144
+ description?: string | undefined;
2145
+ ui?: any;
2146
+ isCustomized?: boolean | undefined;
2147
+ inputSchema?: any;
2148
+ config?: any;
2149
+ outputSchema?: any;
2150
+ version?: number | undefined;
2151
+ onError?: "stop" | "continue" | undefined;
2152
+ outputExample?: any;
2153
+ links?: {
2154
+ key?: string | undefined;
2155
+ filter?: any;
2156
+ name?: string | undefined;
2157
+ }[] | undefined;
2158
+ }> | undefined;
2159
+ autoCreateInstances?: boolean | undefined;
2160
+ };
2161
+ }, {
2162
+ integration: {
2163
+ id: string;
2164
+ name: string;
2165
+ baseUri: string;
2166
+ logoUri: string;
2167
+ key?: string | undefined;
2168
+ uuid?: string | undefined;
2169
+ description?: string | undefined;
2170
+ state?: import("..").WorkspaceElementState | undefined;
2171
+ errors?: any[] | undefined;
2172
+ revision?: string | undefined;
2173
+ isDeactivated?: boolean | undefined;
2174
+ createdAt?: string | undefined;
2175
+ updatedAt?: string | undefined;
2176
+ archivedAt?: string | undefined;
2177
+ parameters?: any;
2178
+ parametersSchema?: DataSchema | undefined;
2179
+ isTest?: boolean | undefined;
2180
+ connectorId?: string | undefined;
2181
+ connectorVersion?: string | undefined;
2182
+ authOptions?: {
2183
+ key: string;
2184
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
2185
+ description?: string | undefined;
2186
+ title?: string | undefined;
2187
+ ui?: {
2188
+ schema?: any;
2189
+ helpUri?: string | undefined;
2190
+ } | undefined;
2191
+ }[] | undefined;
2192
+ oAuthCallbackUri?: string | undefined;
2193
+ hasMissingParameters?: boolean | undefined;
2194
+ hasDocumentation?: boolean | undefined;
2195
+ hasOperations?: boolean | undefined;
2196
+ operationsCount?: number | undefined;
2197
+ hasData?: boolean | undefined;
2198
+ dataCollectionsCount?: number | undefined;
2199
+ hasEvents?: boolean | undefined;
2200
+ eventsCount?: number | undefined;
2201
+ hasGlobalWebhooks?: boolean | undefined;
2202
+ hasUdm?: boolean | undefined;
2203
+ appUuid?: string | undefined;
2204
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
2205
+ };
2206
+ element: {
2207
+ id: string;
2208
+ name: string;
2209
+ revision: string;
2210
+ key?: string | undefined;
2211
+ uuid?: string | undefined;
2212
+ description?: string | undefined;
2213
+ state?: import("..").WorkspaceElementState | undefined;
2214
+ errors?: any[] | undefined;
2215
+ isDeactivated?: boolean | undefined;
2216
+ createdAt?: string | undefined;
2217
+ updatedAt?: string | undefined;
2218
+ archivedAt?: string | undefined;
2219
+ integrationId?: string | undefined;
2220
+ parametersSchema?: DataSchema | undefined;
2221
+ customized?: boolean | undefined;
2222
+ universalFlowId?: string | undefined;
2223
+ universalFlowRevision?: string | undefined;
2224
+ nodes?: Record<string, {
2225
+ concurrency?: number | undefined;
2226
+ type?: string | undefined;
2227
+ name?: string | undefined;
2228
+ description?: string | undefined;
2229
+ ui?: any;
2230
+ isCustomized?: boolean | undefined;
2231
+ inputSchema?: any;
2232
+ config?: any;
2233
+ outputSchema?: any;
2234
+ version?: number | undefined;
2235
+ onError?: "stop" | "continue" | undefined;
2236
+ outputExample?: any;
2237
+ links?: {
2238
+ key?: string | undefined;
2239
+ filter?: any;
2240
+ name?: string | undefined;
2241
+ }[] | undefined;
2242
+ }> | undefined;
2243
+ autoCreateInstances?: boolean | undefined;
2244
+ };
2245
+ }>, "many">>;
2246
+ }, "strip", z.ZodTypeAny, {
2247
+ id: string;
2248
+ name: string;
2249
+ revision: string;
2250
+ key?: string | undefined;
2251
+ integration?: {
2252
+ id: string;
2253
+ name: string;
2254
+ baseUri: string;
2255
+ logoUri: string;
2256
+ key?: string | undefined;
2257
+ uuid?: string | undefined;
2258
+ description?: string | undefined;
2259
+ state?: import("..").WorkspaceElementState | undefined;
2260
+ errors?: any[] | undefined;
2261
+ revision?: string | undefined;
2262
+ isDeactivated?: boolean | undefined;
2263
+ createdAt?: string | undefined;
2264
+ updatedAt?: string | undefined;
2265
+ archivedAt?: string | undefined;
2266
+ parameters?: any;
2267
+ parametersSchema?: DataSchema | undefined;
2268
+ isTest?: boolean | undefined;
2269
+ connectorId?: string | undefined;
2270
+ connectorVersion?: string | undefined;
2271
+ authOptions?: {
2272
+ key: string;
2273
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
2274
+ description?: string | undefined;
2275
+ title?: string | undefined;
2276
+ ui?: {
2277
+ schema?: any;
2278
+ helpUri?: string | undefined;
2279
+ } | undefined;
2280
+ }[] | undefined;
2281
+ oAuthCallbackUri?: string | undefined;
2282
+ hasMissingParameters?: boolean | undefined;
2283
+ hasDocumentation?: boolean | undefined;
2284
+ hasOperations?: boolean | undefined;
2285
+ operationsCount?: number | undefined;
2286
+ hasData?: boolean | undefined;
2287
+ dataCollectionsCount?: number | undefined;
2288
+ hasEvents?: boolean | undefined;
2289
+ eventsCount?: number | undefined;
2290
+ hasGlobalWebhooks?: boolean | undefined;
2291
+ hasUdm?: boolean | undefined;
2292
+ appUuid?: string | undefined;
2293
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
2294
+ } | undefined;
2295
+ uuid?: string | undefined;
2296
+ description?: string | undefined;
2297
+ state?: import("..").WorkspaceElementState | undefined;
2298
+ errors?: any[] | undefined;
2299
+ isDeactivated?: boolean | undefined;
2300
+ createdAt?: string | undefined;
2301
+ updatedAt?: string | undefined;
2302
+ archivedAt?: string | undefined;
2303
+ integrationId?: string | undefined;
2304
+ parametersSchema?: DataSchema | undefined;
2305
+ customized?: boolean | undefined;
2306
+ appliedToIntegrations?: {
2307
+ integration: {
2308
+ id: string;
2309
+ name: string;
2310
+ baseUri: string;
2311
+ logoUri: string;
2312
+ key?: string | undefined;
2313
+ uuid?: string | undefined;
2314
+ description?: string | undefined;
2315
+ state?: import("..").WorkspaceElementState | undefined;
2316
+ errors?: any[] | undefined;
2317
+ revision?: string | undefined;
2318
+ isDeactivated?: boolean | undefined;
2319
+ createdAt?: string | undefined;
2320
+ updatedAt?: string | undefined;
2321
+ archivedAt?: string | undefined;
2322
+ parameters?: any;
2323
+ parametersSchema?: DataSchema | undefined;
2324
+ isTest?: boolean | undefined;
2325
+ connectorId?: string | undefined;
2326
+ connectorVersion?: string | undefined;
2327
+ authOptions?: {
2328
+ key: string;
2329
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
2330
+ description?: string | undefined;
2331
+ title?: string | undefined;
2332
+ ui?: {
2333
+ schema?: any;
2334
+ helpUri?: string | undefined;
2335
+ } | undefined;
2336
+ }[] | undefined;
2337
+ oAuthCallbackUri?: string | undefined;
2338
+ hasMissingParameters?: boolean | undefined;
2339
+ hasDocumentation?: boolean | undefined;
2340
+ hasOperations?: boolean | undefined;
2341
+ operationsCount?: number | undefined;
2342
+ hasData?: boolean | undefined;
2343
+ dataCollectionsCount?: number | undefined;
2344
+ hasEvents?: boolean | undefined;
2345
+ eventsCount?: number | undefined;
2346
+ hasGlobalWebhooks?: boolean | undefined;
2347
+ hasUdm?: boolean | undefined;
2348
+ appUuid?: string | undefined;
2349
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
2350
+ };
2351
+ element: {
2352
+ id: string;
2353
+ name: string;
2354
+ revision: string;
2355
+ key?: string | undefined;
2356
+ uuid?: string | undefined;
2357
+ description?: string | undefined;
2358
+ state?: import("..").WorkspaceElementState | undefined;
2359
+ errors?: any[] | undefined;
2360
+ isDeactivated?: boolean | undefined;
2361
+ createdAt?: string | undefined;
2362
+ updatedAt?: string | undefined;
2363
+ archivedAt?: string | undefined;
2364
+ integrationId?: string | undefined;
2365
+ parametersSchema?: DataSchema | undefined;
2366
+ customized?: boolean | undefined;
2367
+ universalFlowId?: string | undefined;
2368
+ universalFlowRevision?: string | undefined;
2369
+ nodes?: Record<string, {
2370
+ concurrency?: number | undefined;
2371
+ type?: string | undefined;
2372
+ name?: string | undefined;
2373
+ description?: string | undefined;
2374
+ ui?: any;
2375
+ isCustomized?: boolean | undefined;
2376
+ inputSchema?: any;
2377
+ config?: any;
2378
+ outputSchema?: any;
2379
+ version?: number | undefined;
2380
+ onError?: "stop" | "continue" | undefined;
2381
+ outputExample?: any;
2382
+ links?: {
2383
+ key?: string | undefined;
2384
+ filter?: any;
2385
+ name?: string | undefined;
2386
+ }[] | undefined;
2387
+ }> | undefined;
2388
+ autoCreateInstances?: boolean | undefined;
2389
+ };
2390
+ }[] | undefined;
2391
+ universalFlowId?: string | undefined;
2392
+ universalFlowRevision?: string | undefined;
2393
+ nodes?: Record<string, {
2394
+ concurrency?: number | undefined;
2395
+ type?: string | undefined;
2396
+ name?: string | undefined;
2397
+ description?: string | undefined;
2398
+ ui?: any;
2399
+ isCustomized?: boolean | undefined;
2400
+ inputSchema?: any;
2401
+ config?: any;
2402
+ outputSchema?: any;
2403
+ version?: number | undefined;
2404
+ onError?: "stop" | "continue" | undefined;
2405
+ outputExample?: any;
2406
+ links?: {
2407
+ key?: string | undefined;
2408
+ filter?: any;
2409
+ name?: string | undefined;
2410
+ }[] | undefined;
2411
+ }> | undefined;
2412
+ autoCreateInstances?: boolean | undefined;
2413
+ }, {
2414
+ id: string;
2415
+ name: string;
2416
+ revision: string;
2417
+ key?: string | undefined;
2418
+ integration?: {
2419
+ id: string;
2420
+ name: string;
2421
+ baseUri: string;
2422
+ logoUri: string;
2423
+ key?: string | undefined;
2424
+ uuid?: string | undefined;
2425
+ description?: string | undefined;
2426
+ state?: import("..").WorkspaceElementState | undefined;
2427
+ errors?: any[] | undefined;
2428
+ revision?: string | undefined;
2429
+ isDeactivated?: boolean | undefined;
2430
+ createdAt?: string | undefined;
2431
+ updatedAt?: string | undefined;
2432
+ archivedAt?: string | undefined;
2433
+ parameters?: any;
2434
+ parametersSchema?: DataSchema | undefined;
2435
+ isTest?: boolean | undefined;
2436
+ connectorId?: string | undefined;
2437
+ connectorVersion?: string | undefined;
2438
+ authOptions?: {
2439
+ key: string;
2440
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
2441
+ description?: string | undefined;
2442
+ title?: string | undefined;
2443
+ ui?: {
2444
+ schema?: any;
2445
+ helpUri?: string | undefined;
2446
+ } | undefined;
2447
+ }[] | undefined;
2448
+ oAuthCallbackUri?: string | undefined;
2449
+ hasMissingParameters?: boolean | undefined;
2450
+ hasDocumentation?: boolean | undefined;
2451
+ hasOperations?: boolean | undefined;
2452
+ operationsCount?: number | undefined;
2453
+ hasData?: boolean | undefined;
2454
+ dataCollectionsCount?: number | undefined;
2455
+ hasEvents?: boolean | undefined;
2456
+ eventsCount?: number | undefined;
2457
+ hasGlobalWebhooks?: boolean | undefined;
2458
+ hasUdm?: boolean | undefined;
2459
+ appUuid?: string | undefined;
2460
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
2461
+ } | undefined;
2462
+ uuid?: string | undefined;
2463
+ description?: string | undefined;
2464
+ state?: import("..").WorkspaceElementState | undefined;
2465
+ errors?: any[] | undefined;
2466
+ isDeactivated?: boolean | undefined;
2467
+ createdAt?: string | undefined;
2468
+ updatedAt?: string | undefined;
2469
+ archivedAt?: string | undefined;
2470
+ integrationId?: string | undefined;
2471
+ parametersSchema?: DataSchema | undefined;
2472
+ customized?: boolean | undefined;
2473
+ appliedToIntegrations?: {
2474
+ integration: {
2475
+ id: string;
2476
+ name: string;
2477
+ baseUri: string;
2478
+ logoUri: string;
2479
+ key?: string | undefined;
2480
+ uuid?: string | undefined;
2481
+ description?: string | undefined;
2482
+ state?: import("..").WorkspaceElementState | undefined;
2483
+ errors?: any[] | undefined;
2484
+ revision?: string | undefined;
2485
+ isDeactivated?: boolean | undefined;
2486
+ createdAt?: string | undefined;
2487
+ updatedAt?: string | undefined;
2488
+ archivedAt?: string | undefined;
2489
+ parameters?: any;
2490
+ parametersSchema?: DataSchema | undefined;
2491
+ isTest?: boolean | undefined;
2492
+ connectorId?: string | undefined;
2493
+ connectorVersion?: string | undefined;
2494
+ authOptions?: {
2495
+ key: string;
2496
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
2497
+ description?: string | undefined;
2498
+ title?: string | undefined;
2499
+ ui?: {
2500
+ schema?: any;
2501
+ helpUri?: string | undefined;
2502
+ } | undefined;
2503
+ }[] | undefined;
2504
+ oAuthCallbackUri?: string | undefined;
2505
+ hasMissingParameters?: boolean | undefined;
2506
+ hasDocumentation?: boolean | undefined;
2507
+ hasOperations?: boolean | undefined;
2508
+ operationsCount?: number | undefined;
2509
+ hasData?: boolean | undefined;
2510
+ dataCollectionsCount?: number | undefined;
2511
+ hasEvents?: boolean | undefined;
2512
+ eventsCount?: number | undefined;
2513
+ hasGlobalWebhooks?: boolean | undefined;
2514
+ hasUdm?: boolean | undefined;
2515
+ appUuid?: string | undefined;
2516
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
2517
+ };
2518
+ element: {
2519
+ id: string;
2520
+ name: string;
2521
+ revision: string;
2522
+ key?: string | undefined;
2523
+ uuid?: string | undefined;
2524
+ description?: string | undefined;
2525
+ state?: import("..").WorkspaceElementState | undefined;
2526
+ errors?: any[] | undefined;
2527
+ isDeactivated?: boolean | undefined;
2528
+ createdAt?: string | undefined;
2529
+ updatedAt?: string | undefined;
2530
+ archivedAt?: string | undefined;
2531
+ integrationId?: string | undefined;
2532
+ parametersSchema?: DataSchema | undefined;
2533
+ customized?: boolean | undefined;
2534
+ universalFlowId?: string | undefined;
2535
+ universalFlowRevision?: string | undefined;
2536
+ nodes?: Record<string, {
2537
+ concurrency?: number | undefined;
2538
+ type?: string | undefined;
2539
+ name?: string | undefined;
2540
+ description?: string | undefined;
2541
+ ui?: any;
2542
+ isCustomized?: boolean | undefined;
2543
+ inputSchema?: any;
2544
+ config?: any;
2545
+ outputSchema?: any;
2546
+ version?: number | undefined;
2547
+ onError?: "stop" | "continue" | undefined;
2548
+ outputExample?: any;
2549
+ links?: {
2550
+ key?: string | undefined;
2551
+ filter?: any;
2552
+ name?: string | undefined;
2553
+ }[] | undefined;
2554
+ }> | undefined;
2555
+ autoCreateInstances?: boolean | undefined;
2556
+ };
2557
+ }[] | undefined;
2558
+ universalFlowId?: string | undefined;
2559
+ universalFlowRevision?: string | undefined;
2560
+ nodes?: Record<string, {
2561
+ concurrency?: number | undefined;
2562
+ type?: string | undefined;
2563
+ name?: string | undefined;
2564
+ description?: string | undefined;
2565
+ ui?: any;
2566
+ isCustomized?: boolean | undefined;
2567
+ inputSchema?: any;
2568
+ config?: any;
2569
+ outputSchema?: any;
2570
+ version?: number | undefined;
2571
+ onError?: "stop" | "continue" | undefined;
2572
+ outputExample?: any;
2573
+ links?: {
2574
+ key?: string | undefined;
2575
+ filter?: any;
2576
+ name?: string | undefined;
2577
+ }[] | undefined;
2578
+ }> | undefined;
2579
+ autoCreateInstances?: boolean | undefined;
2580
+ }>>>;
2581
+ integration: z.ZodOptional<z.ZodLazy<z.ZodType<{
2582
+ id: string;
2583
+ name: string;
2584
+ baseUri: string;
2585
+ logoUri: string;
2586
+ key?: string | undefined;
2587
+ uuid?: string | undefined;
2588
+ description?: string | undefined;
2589
+ state?: import("..").WorkspaceElementState | undefined;
2590
+ errors?: any[] | undefined;
2591
+ revision?: string | undefined;
2592
+ isDeactivated?: boolean | undefined;
2593
+ createdAt?: string | undefined;
2594
+ updatedAt?: string | undefined;
2595
+ archivedAt?: string | undefined;
2596
+ parameters?: any;
2597
+ parametersSchema?: DataSchema | undefined;
2598
+ isTest?: boolean | undefined;
2599
+ connectorId?: string | undefined;
2600
+ connectorVersion?: string | undefined;
2601
+ authOptions?: {
2602
+ key: string;
2603
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
2604
+ description?: string | undefined;
2605
+ title?: string | undefined;
2606
+ ui?: {
2607
+ schema?: any;
2608
+ helpUri?: string | undefined;
2609
+ } | undefined;
2610
+ }[] | undefined;
2611
+ oAuthCallbackUri?: string | undefined;
2612
+ hasMissingParameters?: boolean | undefined;
2613
+ hasDocumentation?: boolean | undefined;
2614
+ hasOperations?: boolean | undefined;
2615
+ operationsCount?: number | undefined;
2616
+ hasData?: boolean | undefined;
2617
+ dataCollectionsCount?: number | undefined;
2618
+ hasEvents?: boolean | undefined;
2619
+ eventsCount?: number | undefined;
2620
+ hasGlobalWebhooks?: boolean | undefined;
2621
+ hasUdm?: boolean | undefined;
2622
+ appUuid?: string | undefined;
2623
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
2624
+ }, z.ZodTypeDef, {
2625
+ id: string;
2626
+ name: string;
2627
+ baseUri: string;
2628
+ logoUri: string;
2629
+ key?: string | undefined;
2630
+ uuid?: string | undefined;
2631
+ description?: string | undefined;
2632
+ state?: import("..").WorkspaceElementState | undefined;
2633
+ errors?: any[] | undefined;
2634
+ revision?: string | undefined;
2635
+ isDeactivated?: boolean | undefined;
2636
+ createdAt?: string | undefined;
2637
+ updatedAt?: string | undefined;
2638
+ archivedAt?: string | undefined;
2639
+ parameters?: any;
2640
+ parametersSchema?: DataSchema | undefined;
2641
+ isTest?: boolean | undefined;
2642
+ connectorId?: string | undefined;
2643
+ connectorVersion?: string | undefined;
2644
+ authOptions?: {
2645
+ key: string;
2646
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
2647
+ description?: string | undefined;
2648
+ title?: string | undefined;
2649
+ ui?: {
2650
+ schema?: any;
2651
+ helpUri?: string | undefined;
2652
+ } | undefined;
2653
+ }[] | undefined;
2654
+ oAuthCallbackUri?: string | undefined;
2655
+ hasMissingParameters?: boolean | undefined;
2656
+ hasDocumentation?: boolean | undefined;
2657
+ hasOperations?: boolean | undefined;
2658
+ operationsCount?: number | undefined;
2659
+ hasData?: boolean | undefined;
2660
+ dataCollectionsCount?: number | undefined;
2661
+ hasEvents?: boolean | undefined;
2662
+ eventsCount?: number | undefined;
2663
+ hasGlobalWebhooks?: boolean | undefined;
2664
+ hasUdm?: boolean | undefined;
2665
+ appUuid?: string | undefined;
2666
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
2667
+ }>>>;
2668
+ }, "strip", z.ZodTypeAny, {
2669
+ id: string;
2670
+ name: string;
2671
+ createdAt: string;
2672
+ updatedAt: string;
2673
+ userId: string;
2674
+ integrationId: string;
2675
+ enabled: boolean;
2676
+ key?: string | undefined;
2677
+ connection?: {
2678
+ id: string;
2679
+ name: string;
2680
+ createdAt: string;
2681
+ updatedAt: string;
2682
+ userId: string;
2683
+ integrationId: string;
2684
+ error?: any;
2685
+ state?: import("..").WorkspaceElementState | undefined;
2686
+ errors?: any[] | undefined;
2687
+ isDeactivated?: boolean | undefined;
2688
+ archivedAt?: string | undefined;
2689
+ credentials?: unknown;
2690
+ parameters?: unknown;
2691
+ connectorParameters?: unknown;
2692
+ isTest?: boolean | undefined;
2693
+ disconnected?: boolean | undefined;
2694
+ isDefunct?: boolean | undefined;
2695
+ lastActiveAt?: string | undefined;
2696
+ nextCredentialsRefreshAt?: string | undefined;
2697
+ meta?: Record<string, any> | undefined;
2698
+ } | undefined;
2699
+ integration?: {
2700
+ id: string;
2701
+ name: string;
2702
+ baseUri: string;
2703
+ logoUri: string;
2704
+ key?: string | undefined;
2705
+ uuid?: string | undefined;
2706
+ description?: string | undefined;
2707
+ state?: import("..").WorkspaceElementState | undefined;
2708
+ errors?: any[] | undefined;
2709
+ revision?: string | undefined;
2710
+ isDeactivated?: boolean | undefined;
2711
+ createdAt?: string | undefined;
2712
+ updatedAt?: string | undefined;
2713
+ archivedAt?: string | undefined;
2714
+ parameters?: any;
2715
+ parametersSchema?: DataSchema | undefined;
2716
+ isTest?: boolean | undefined;
2717
+ connectorId?: string | undefined;
2718
+ connectorVersion?: string | undefined;
2719
+ authOptions?: {
2720
+ key: string;
2721
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
2722
+ description?: string | undefined;
2723
+ title?: string | undefined;
2724
+ ui?: {
2725
+ schema?: any;
2726
+ helpUri?: string | undefined;
2727
+ } | undefined;
2728
+ }[] | undefined;
2729
+ oAuthCallbackUri?: string | undefined;
2730
+ hasMissingParameters?: boolean | undefined;
2731
+ hasDocumentation?: boolean | undefined;
2732
+ hasOperations?: boolean | undefined;
2733
+ operationsCount?: number | undefined;
2734
+ hasData?: boolean | undefined;
2735
+ dataCollectionsCount?: number | undefined;
2736
+ hasEvents?: boolean | undefined;
2737
+ eventsCount?: number | undefined;
2738
+ hasGlobalWebhooks?: boolean | undefined;
2739
+ hasUdm?: boolean | undefined;
2740
+ appUuid?: string | undefined;
2741
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
2742
+ } | undefined;
2743
+ flow?: {
2744
+ id: string;
2745
+ name: string;
2746
+ revision: string;
2747
+ key?: string | undefined;
2748
+ integration?: {
2749
+ id: string;
2750
+ name: string;
2751
+ baseUri: string;
2752
+ logoUri: string;
2753
+ key?: string | undefined;
2754
+ uuid?: string | undefined;
2755
+ description?: string | undefined;
2756
+ state?: import("..").WorkspaceElementState | undefined;
2757
+ errors?: any[] | undefined;
2758
+ revision?: string | undefined;
2759
+ isDeactivated?: boolean | undefined;
2760
+ createdAt?: string | undefined;
2761
+ updatedAt?: string | undefined;
2762
+ archivedAt?: string | undefined;
2763
+ parameters?: any;
2764
+ parametersSchema?: DataSchema | undefined;
2765
+ isTest?: boolean | undefined;
2766
+ connectorId?: string | undefined;
2767
+ connectorVersion?: string | undefined;
2768
+ authOptions?: {
2769
+ key: string;
2770
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
2771
+ description?: string | undefined;
2772
+ title?: string | undefined;
2773
+ ui?: {
2774
+ schema?: any;
2775
+ helpUri?: string | undefined;
2776
+ } | undefined;
2777
+ }[] | undefined;
2778
+ oAuthCallbackUri?: string | undefined;
2779
+ hasMissingParameters?: boolean | undefined;
2780
+ hasDocumentation?: boolean | undefined;
2781
+ hasOperations?: boolean | undefined;
2782
+ operationsCount?: number | undefined;
2783
+ hasData?: boolean | undefined;
2784
+ dataCollectionsCount?: number | undefined;
2785
+ hasEvents?: boolean | undefined;
2786
+ eventsCount?: number | undefined;
2787
+ hasGlobalWebhooks?: boolean | undefined;
2788
+ hasUdm?: boolean | undefined;
2789
+ appUuid?: string | undefined;
2790
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
2791
+ } | undefined;
2792
+ uuid?: string | undefined;
2793
+ description?: string | undefined;
2794
+ state?: import("..").WorkspaceElementState | undefined;
2795
+ errors?: any[] | undefined;
2796
+ isDeactivated?: boolean | undefined;
2797
+ createdAt?: string | undefined;
2798
+ updatedAt?: string | undefined;
2799
+ archivedAt?: string | undefined;
2800
+ integrationId?: string | undefined;
2801
+ parametersSchema?: DataSchema | undefined;
2802
+ customized?: boolean | undefined;
2803
+ appliedToIntegrations?: {
2804
+ integration: {
2805
+ id: string;
2806
+ name: string;
2807
+ baseUri: string;
2808
+ logoUri: string;
2809
+ key?: string | undefined;
2810
+ uuid?: string | undefined;
2811
+ description?: string | undefined;
2812
+ state?: import("..").WorkspaceElementState | undefined;
2813
+ errors?: any[] | undefined;
2814
+ revision?: string | undefined;
2815
+ isDeactivated?: boolean | undefined;
2816
+ createdAt?: string | undefined;
2817
+ updatedAt?: string | undefined;
2818
+ archivedAt?: string | undefined;
2819
+ parameters?: any;
2820
+ parametersSchema?: DataSchema | undefined;
2821
+ isTest?: boolean | undefined;
2822
+ connectorId?: string | undefined;
2823
+ connectorVersion?: string | undefined;
2824
+ authOptions?: {
2825
+ key: string;
2826
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
2827
+ description?: string | undefined;
2828
+ title?: string | undefined;
2829
+ ui?: {
2830
+ schema?: any;
2831
+ helpUri?: string | undefined;
2832
+ } | undefined;
2833
+ }[] | undefined;
2834
+ oAuthCallbackUri?: string | undefined;
2835
+ hasMissingParameters?: boolean | undefined;
2836
+ hasDocumentation?: boolean | undefined;
2837
+ hasOperations?: boolean | undefined;
2838
+ operationsCount?: number | undefined;
2839
+ hasData?: boolean | undefined;
2840
+ dataCollectionsCount?: number | undefined;
2841
+ hasEvents?: boolean | undefined;
2842
+ eventsCount?: number | undefined;
2843
+ hasGlobalWebhooks?: boolean | undefined;
2844
+ hasUdm?: boolean | undefined;
2845
+ appUuid?: string | undefined;
2846
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
2847
+ };
2848
+ element: {
2849
+ id: string;
2850
+ name: string;
2851
+ revision: string;
2852
+ key?: string | undefined;
2853
+ uuid?: string | undefined;
2854
+ description?: string | undefined;
2855
+ state?: import("..").WorkspaceElementState | undefined;
2856
+ errors?: any[] | undefined;
2857
+ isDeactivated?: boolean | undefined;
2858
+ createdAt?: string | undefined;
2859
+ updatedAt?: string | undefined;
2860
+ archivedAt?: string | undefined;
2861
+ integrationId?: string | undefined;
2862
+ parametersSchema?: DataSchema | undefined;
2863
+ customized?: boolean | undefined;
2864
+ universalFlowId?: string | undefined;
2865
+ universalFlowRevision?: string | undefined;
2866
+ nodes?: Record<string, {
2867
+ concurrency?: number | undefined;
2868
+ type?: string | undefined;
2869
+ name?: string | undefined;
2870
+ description?: string | undefined;
2871
+ ui?: any;
2872
+ isCustomized?: boolean | undefined;
2873
+ inputSchema?: any;
2874
+ config?: any;
2875
+ outputSchema?: any;
2876
+ version?: number | undefined;
2877
+ onError?: "stop" | "continue" | undefined;
2878
+ outputExample?: any;
2879
+ links?: {
2880
+ key?: string | undefined;
2881
+ filter?: any;
2882
+ name?: string | undefined;
2883
+ }[] | undefined;
2884
+ }> | undefined;
2885
+ autoCreateInstances?: boolean | undefined;
2886
+ };
2887
+ }[] | undefined;
2888
+ universalFlowId?: string | undefined;
2889
+ universalFlowRevision?: string | undefined;
2890
+ nodes?: Record<string, {
2891
+ concurrency?: number | undefined;
2892
+ type?: string | undefined;
2893
+ name?: string | undefined;
2894
+ description?: string | undefined;
2895
+ ui?: any;
2896
+ isCustomized?: boolean | undefined;
2897
+ inputSchema?: any;
2898
+ config?: any;
2899
+ outputSchema?: any;
2900
+ version?: number | undefined;
2901
+ onError?: "stop" | "continue" | undefined;
2902
+ outputExample?: any;
2903
+ links?: {
2904
+ key?: string | undefined;
2905
+ filter?: any;
2906
+ name?: string | undefined;
2907
+ }[] | undefined;
2908
+ }> | undefined;
2909
+ autoCreateInstances?: boolean | undefined;
2910
+ } | undefined;
2911
+ uuid?: string | undefined;
2912
+ description?: string | undefined;
2913
+ state?: import("..").WorkspaceElementState | undefined;
2914
+ errors?: any[] | undefined;
2915
+ revision?: string | undefined;
2916
+ isDeactivated?: boolean | undefined;
2917
+ archivedAt?: string | undefined;
2918
+ instanceKey?: string | undefined;
2919
+ connectionId?: string | undefined;
2920
+ parameters?: any;
2921
+ parametersSchema?: DataSchema | undefined;
2922
+ user?: {
2923
+ id: string;
2924
+ name: string;
2925
+ internalId: string;
2926
+ createdAt?: string | undefined;
2927
+ archivedAt?: string | undefined;
2928
+ credentials?: any;
2929
+ fields?: Record<string, any> | undefined;
2930
+ isTest?: boolean | undefined;
2931
+ lastActiveAt?: string | undefined;
2932
+ isBillable?: boolean | undefined;
2933
+ } | undefined;
2934
+ customized?: {
2935
+ name?: boolean | undefined;
2936
+ nodes?: boolean | undefined;
2937
+ } | undefined;
2938
+ dependencies?: any[] | undefined;
2939
+ universalFlowId?: string | undefined;
2940
+ nodes?: Record<string, any> | undefined;
2941
+ flowId?: string | undefined;
2942
+ outdated?: boolean | undefined;
2943
+ }, {
2944
+ id: string;
2945
+ name: string;
2946
+ createdAt: string;
2947
+ updatedAt: string;
2948
+ userId: string;
2949
+ integrationId: string;
2950
+ enabled: boolean;
2951
+ key?: string | undefined;
2952
+ connection?: {
2953
+ id: string;
2954
+ name: string;
2955
+ createdAt: string;
2956
+ updatedAt: string;
2957
+ userId: string;
2958
+ integrationId: string;
2959
+ error?: any;
2960
+ state?: import("..").WorkspaceElementState | undefined;
2961
+ errors?: any[] | undefined;
2962
+ isDeactivated?: boolean | undefined;
2963
+ archivedAt?: string | undefined;
2964
+ credentials?: unknown;
2965
+ parameters?: unknown;
2966
+ connectorParameters?: unknown;
2967
+ isTest?: boolean | undefined;
2968
+ disconnected?: boolean | undefined;
2969
+ isDefunct?: boolean | undefined;
2970
+ lastActiveAt?: string | undefined;
2971
+ nextCredentialsRefreshAt?: string | undefined;
2972
+ meta?: Record<string, any> | undefined;
2973
+ } | undefined;
2974
+ integration?: {
2975
+ id: string;
2976
+ name: string;
2977
+ baseUri: string;
2978
+ logoUri: string;
2979
+ key?: string | undefined;
2980
+ uuid?: string | undefined;
2981
+ description?: string | undefined;
2982
+ state?: import("..").WorkspaceElementState | undefined;
2983
+ errors?: any[] | undefined;
2984
+ revision?: string | undefined;
2985
+ isDeactivated?: boolean | undefined;
2986
+ createdAt?: string | undefined;
2987
+ updatedAt?: string | undefined;
2988
+ archivedAt?: string | undefined;
2989
+ parameters?: any;
2990
+ parametersSchema?: DataSchema | undefined;
2991
+ isTest?: boolean | undefined;
2992
+ connectorId?: string | undefined;
2993
+ connectorVersion?: string | undefined;
2994
+ authOptions?: {
2995
+ key: string;
2996
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
2997
+ description?: string | undefined;
2998
+ title?: string | undefined;
2999
+ ui?: {
3000
+ schema?: any;
3001
+ helpUri?: string | undefined;
3002
+ } | undefined;
3003
+ }[] | undefined;
3004
+ oAuthCallbackUri?: string | undefined;
3005
+ hasMissingParameters?: boolean | undefined;
3006
+ hasDocumentation?: boolean | undefined;
3007
+ hasOperations?: boolean | undefined;
3008
+ operationsCount?: number | undefined;
3009
+ hasData?: boolean | undefined;
3010
+ dataCollectionsCount?: number | undefined;
3011
+ hasEvents?: boolean | undefined;
3012
+ eventsCount?: number | undefined;
3013
+ hasGlobalWebhooks?: boolean | undefined;
3014
+ hasUdm?: boolean | undefined;
3015
+ appUuid?: string | undefined;
3016
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
3017
+ } | undefined;
3018
+ flow?: {
3019
+ id: string;
3020
+ name: string;
3021
+ revision: string;
3022
+ key?: string | undefined;
3023
+ integration?: {
3024
+ id: string;
3025
+ name: string;
3026
+ baseUri: string;
3027
+ logoUri: string;
3028
+ key?: string | undefined;
3029
+ uuid?: string | undefined;
3030
+ description?: string | undefined;
3031
+ state?: import("..").WorkspaceElementState | undefined;
3032
+ errors?: any[] | undefined;
3033
+ revision?: string | undefined;
3034
+ isDeactivated?: boolean | undefined;
3035
+ createdAt?: string | undefined;
3036
+ updatedAt?: string | undefined;
3037
+ archivedAt?: string | undefined;
3038
+ parameters?: any;
3039
+ parametersSchema?: DataSchema | undefined;
3040
+ isTest?: boolean | undefined;
3041
+ connectorId?: string | undefined;
3042
+ connectorVersion?: string | undefined;
3043
+ authOptions?: {
3044
+ key: string;
3045
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
3046
+ description?: string | undefined;
3047
+ title?: string | undefined;
3048
+ ui?: {
3049
+ schema?: any;
3050
+ helpUri?: string | undefined;
3051
+ } | undefined;
3052
+ }[] | undefined;
3053
+ oAuthCallbackUri?: string | undefined;
3054
+ hasMissingParameters?: boolean | undefined;
3055
+ hasDocumentation?: boolean | undefined;
3056
+ hasOperations?: boolean | undefined;
3057
+ operationsCount?: number | undefined;
3058
+ hasData?: boolean | undefined;
3059
+ dataCollectionsCount?: number | undefined;
3060
+ hasEvents?: boolean | undefined;
3061
+ eventsCount?: number | undefined;
3062
+ hasGlobalWebhooks?: boolean | undefined;
3063
+ hasUdm?: boolean | undefined;
3064
+ appUuid?: string | undefined;
3065
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
3066
+ } | undefined;
3067
+ uuid?: string | undefined;
3068
+ description?: string | undefined;
3069
+ state?: import("..").WorkspaceElementState | undefined;
3070
+ errors?: any[] | undefined;
3071
+ isDeactivated?: boolean | undefined;
3072
+ createdAt?: string | undefined;
3073
+ updatedAt?: string | undefined;
3074
+ archivedAt?: string | undefined;
3075
+ integrationId?: string | undefined;
3076
+ parametersSchema?: DataSchema | undefined;
3077
+ customized?: boolean | undefined;
3078
+ appliedToIntegrations?: {
3079
+ integration: {
3080
+ id: string;
3081
+ name: string;
3082
+ baseUri: string;
3083
+ logoUri: string;
3084
+ key?: string | undefined;
3085
+ uuid?: string | undefined;
3086
+ description?: string | undefined;
3087
+ state?: import("..").WorkspaceElementState | undefined;
3088
+ errors?: any[] | undefined;
3089
+ revision?: string | undefined;
3090
+ isDeactivated?: boolean | undefined;
3091
+ createdAt?: string | undefined;
3092
+ updatedAt?: string | undefined;
3093
+ archivedAt?: string | undefined;
3094
+ parameters?: any;
3095
+ parametersSchema?: DataSchema | undefined;
3096
+ isTest?: boolean | undefined;
3097
+ connectorId?: string | undefined;
3098
+ connectorVersion?: string | undefined;
3099
+ authOptions?: {
3100
+ key: string;
3101
+ type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
3102
+ description?: string | undefined;
3103
+ title?: string | undefined;
3104
+ ui?: {
3105
+ schema?: any;
3106
+ helpUri?: string | undefined;
3107
+ } | undefined;
3108
+ }[] | undefined;
3109
+ oAuthCallbackUri?: string | undefined;
3110
+ hasMissingParameters?: boolean | undefined;
3111
+ hasDocumentation?: boolean | undefined;
3112
+ hasOperations?: boolean | undefined;
3113
+ operationsCount?: number | undefined;
3114
+ hasData?: boolean | undefined;
3115
+ dataCollectionsCount?: number | undefined;
3116
+ hasEvents?: boolean | undefined;
3117
+ eventsCount?: number | undefined;
3118
+ hasGlobalWebhooks?: boolean | undefined;
3119
+ hasUdm?: boolean | undefined;
3120
+ appUuid?: string | undefined;
3121
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
3122
+ };
3123
+ element: {
3124
+ id: string;
3125
+ name: string;
3126
+ revision: string;
3127
+ key?: string | undefined;
3128
+ uuid?: string | undefined;
3129
+ description?: string | undefined;
3130
+ state?: import("..").WorkspaceElementState | undefined;
3131
+ errors?: any[] | undefined;
3132
+ isDeactivated?: boolean | undefined;
3133
+ createdAt?: string | undefined;
3134
+ updatedAt?: string | undefined;
3135
+ archivedAt?: string | undefined;
3136
+ integrationId?: string | undefined;
3137
+ parametersSchema?: DataSchema | undefined;
3138
+ customized?: boolean | undefined;
3139
+ universalFlowId?: string | undefined;
3140
+ universalFlowRevision?: string | undefined;
3141
+ nodes?: Record<string, {
3142
+ concurrency?: number | undefined;
3143
+ type?: string | undefined;
3144
+ name?: string | undefined;
3145
+ description?: string | undefined;
3146
+ ui?: any;
3147
+ isCustomized?: boolean | undefined;
3148
+ inputSchema?: any;
3149
+ config?: any;
3150
+ outputSchema?: any;
3151
+ version?: number | undefined;
3152
+ onError?: "stop" | "continue" | undefined;
3153
+ outputExample?: any;
3154
+ links?: {
3155
+ key?: string | undefined;
3156
+ filter?: any;
3157
+ name?: string | undefined;
3158
+ }[] | undefined;
3159
+ }> | undefined;
3160
+ autoCreateInstances?: boolean | undefined;
3161
+ };
3162
+ }[] | undefined;
3163
+ universalFlowId?: string | undefined;
3164
+ universalFlowRevision?: string | undefined;
3165
+ nodes?: Record<string, {
3166
+ concurrency?: number | undefined;
3167
+ type?: string | undefined;
3168
+ name?: string | undefined;
3169
+ description?: string | undefined;
3170
+ ui?: any;
3171
+ isCustomized?: boolean | undefined;
3172
+ inputSchema?: any;
3173
+ config?: any;
3174
+ outputSchema?: any;
3175
+ version?: number | undefined;
3176
+ onError?: "stop" | "continue" | undefined;
3177
+ outputExample?: any;
3178
+ links?: {
3179
+ key?: string | undefined;
3180
+ filter?: any;
3181
+ name?: string | undefined;
3182
+ }[] | undefined;
3183
+ }> | undefined;
3184
+ autoCreateInstances?: boolean | undefined;
3185
+ } | undefined;
3186
+ uuid?: string | undefined;
3187
+ description?: string | undefined;
3188
+ state?: import("..").WorkspaceElementState | undefined;
3189
+ errors?: any[] | undefined;
3190
+ revision?: string | undefined;
3191
+ isDeactivated?: boolean | undefined;
3192
+ archivedAt?: string | undefined;
3193
+ instanceKey?: string | undefined;
3194
+ connectionId?: string | undefined;
3195
+ parameters?: any;
3196
+ parametersSchema?: DataSchema | undefined;
3197
+ user?: {
3198
+ id: string;
3199
+ name: string;
3200
+ internalId: string;
3201
+ createdAt?: string | undefined;
3202
+ archivedAt?: string | undefined;
3203
+ credentials?: any;
3204
+ fields?: Record<string, any> | undefined;
3205
+ isTest?: boolean | undefined;
3206
+ lastActiveAt?: string | undefined;
3207
+ isBillable?: boolean | undefined;
3208
+ } | undefined;
3209
+ customized?: {
3210
+ name?: boolean | undefined;
3211
+ nodes?: boolean | undefined;
3212
+ } | undefined;
3213
+ dependencies?: any[] | undefined;
3214
+ universalFlowId?: string | undefined;
3215
+ nodes?: Record<string, any> | undefined;
3216
+ flowId?: string | undefined;
3217
+ outdated?: boolean | undefined;
3218
+ }>;
3219
+ export type FlowInstanceApiResponse = z.infer<typeof FlowInstanceApiResponse>;
3220
+ export type FlowInstance = FlowInstanceApiResponse;