@membranehq/sdk 0.7.4 → 0.7.5

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