@membranehq/sdk 0.5.1 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/dist/bundle.d.ts +1949 -3947
  2. package/dist/bundle.js +9 -4
  3. package/dist/bundle.js.map +1 -1
  4. package/dist/dts/accessors/action-instances-accessors.d.ts +5 -2
  5. package/dist/dts/accessors/actions-accessors.d.ts +2 -2
  6. package/dist/dts/accessors/connections-accessors.d.ts +8 -22
  7. package/dist/dts/accessors/integrations-accessors.d.ts +8 -22
  8. package/dist/dts/errors/index.d.ts +10 -1
  9. package/dist/dts/workspace-elements/api/action-instances-api.d.ts +122 -68
  10. package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +74 -189
  11. package/dist/dts/workspace-elements/api/actions-api.d.ts +253 -531
  12. package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +21 -21
  13. package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +7 -7
  14. package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +22 -22
  15. package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +18 -18
  16. package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +7 -7
  17. package/dist/dts/workspace-elements/api/connections-api.d.ts +354 -273
  18. package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +55 -149
  19. package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +7 -7
  20. package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +60 -154
  21. package/dist/dts/workspace-elements/api/data-sources-api.d.ts +62 -254
  22. package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +45 -139
  23. package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +45 -139
  24. package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +40 -134
  25. package/dist/dts/workspace-elements/api/external-events-api.d.ts +20 -128
  26. package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +158 -374
  27. package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +56 -248
  28. package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +140 -356
  29. package/dist/dts/workspace-elements/api/flows-api.d.ts +265 -753
  30. package/dist/dts/workspace-elements/api/integrations-api.d.ts +135 -101
  31. package/dist/dts/workspace-elements/api/scenarios-api.d.ts +21 -105
  32. package/dist/dts/workspace-elements/base/action-instances/types.d.ts +13 -13
  33. package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +4 -3
  34. package/dist/dts/workspace-elements/base/actions/index.d.ts +111 -1
  35. package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +11 -10
  36. package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +7 -7
  37. package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +7 -7
  38. package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +7 -7
  39. package/dist/dts/workspace-elements/base/connections/types.d.ts +14 -19
  40. package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +7 -7
  41. package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +7 -7
  42. package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +10 -9
  43. package/dist/dts/workspace-elements/base/data-sources/types.d.ts +8 -8
  44. package/dist/dts/workspace-elements/base/external-event-log-records/types.d.ts +4 -3
  45. package/dist/dts/workspace-elements/base/external-event-pulls/types.d.ts +4 -3
  46. package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +4 -3
  47. package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +11 -10
  48. package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +9 -9
  49. package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +12 -12
  50. package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +17 -16
  51. package/dist/dts/workspace-elements/base/flow-runs/flow-node-runs.d.ts +16 -16
  52. package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +6 -5
  53. package/dist/dts/workspace-elements/base/flows/types.d.ts +21 -21
  54. package/dist/dts/workspace-elements/base/integrations/types.d.ts +48 -455
  55. package/dist/dts/workspace-elements/base/scenarios/types.d.ts +7 -7
  56. package/dist/dts/workspace-elements/types.d.ts +53 -9
  57. package/dist/dts/workspace-elements-catalog/index.d.ts +3 -0
  58. package/dist/dts/workspaces/types.d.ts +3 -1
  59. package/dist/index.d.ts +2791 -5337
  60. package/dist/index.js +70 -66
  61. package/dist/index.js.map +1 -1
  62. package/dist/index.module.d.mts +2791 -5337
  63. package/dist/index.module.mjs +67 -66
  64. package/dist/index.module.mjs.map +1 -1
  65. package/package.json +1 -3
  66. package/dist/dts/workspace-elements/base/actions/types.d.ts +0 -85
@@ -80,7 +80,7 @@ export declare const FlowRunApiResponse: z.ZodObject<{
80
80
  state: z.ZodNativeEnum<typeof FlowRunState>;
81
81
  startTime: z.ZodString;
82
82
  endTime: z.ZodOptional<z.ZodString>;
83
- errors: z.ZodOptional<z.ZodArray<any, "many">>;
83
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
84
84
  nodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
85
85
  state: z.ZodNativeEnum<typeof import("../base/flow-runs").FlowRunNodeState>;
86
86
  runs: z.ZodOptional<z.ZodNumber>;
@@ -110,14 +110,14 @@ export declare const FlowRunApiResponse: z.ZodObject<{
110
110
  } & {
111
111
  flowInstance: z.ZodOptional<z.ZodObject<{
112
112
  id: z.ZodString;
113
- name: z.ZodString;
114
113
  key: z.ZodOptional<z.ZodString>;
115
114
  uuid: z.ZodOptional<z.ZodString>;
116
115
  description: z.ZodOptional<z.ZodString>;
117
- errors: z.ZodOptional<z.ZodArray<any, "many">>;
116
+ name: z.ZodString;
117
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
118
118
  revision: z.ZodOptional<z.ZodString>;
119
- isDeactivated: z.ZodOptional<z.ZodBoolean>;
120
119
  archivedAt: z.ZodOptional<z.ZodString>;
120
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
121
121
  } & {
122
122
  userId: z.ZodString;
123
123
  connectionId: z.ZodOptional<z.ZodString>;
@@ -156,18 +156,18 @@ export declare const FlowRunApiResponse: z.ZodObject<{
156
156
  uuid?: string | undefined;
157
157
  description?: string | undefined;
158
158
  state?: import("..").WorkspaceElementState | undefined;
159
- errors?: any[] | undefined;
159
+ errors?: import("../..").ErrorDataSchema[] | undefined;
160
160
  revision?: string | undefined;
161
- isDeactivated?: boolean | undefined;
162
161
  archivedAt?: string | undefined;
162
+ isDeactivated?: boolean | undefined;
163
163
  instanceKey?: string | undefined;
164
164
  connectionId?: string | undefined;
165
165
  parameters?: any;
166
- parametersSchema?: import("../..").DataSchema | undefined;
167
166
  customized?: {
168
167
  name?: boolean | undefined;
169
168
  nodes?: boolean | undefined;
170
169
  } | undefined;
170
+ parametersSchema?: import("../..").DataSchema | undefined;
171
171
  dependencies?: any[] | undefined;
172
172
  universalFlowId?: string | undefined;
173
173
  nodes?: Record<string, any> | undefined;
@@ -185,18 +185,18 @@ export declare const FlowRunApiResponse: z.ZodObject<{
185
185
  uuid?: string | undefined;
186
186
  description?: string | undefined;
187
187
  state?: import("..").WorkspaceElementState | undefined;
188
- errors?: any[] | undefined;
188
+ errors?: import("../..").ErrorDataSchema[] | undefined;
189
189
  revision?: string | undefined;
190
- isDeactivated?: boolean | undefined;
191
190
  archivedAt?: string | undefined;
191
+ isDeactivated?: boolean | undefined;
192
192
  instanceKey?: string | undefined;
193
193
  connectionId?: string | undefined;
194
194
  parameters?: any;
195
- parametersSchema?: import("../..").DataSchema | undefined;
196
195
  customized?: {
197
196
  name?: boolean | undefined;
198
197
  nodes?: boolean | undefined;
199
198
  } | undefined;
199
+ parametersSchema?: import("../..").DataSchema | undefined;
200
200
  dependencies?: any[] | undefined;
201
201
  universalFlowId?: string | undefined;
202
202
  nodes?: Record<string, any> | undefined;
@@ -211,11 +211,9 @@ export declare const FlowRunApiResponse: z.ZodObject<{
211
211
  isTest: z.ZodOptional<z.ZodBoolean>;
212
212
  disconnected: z.ZodOptional<z.ZodBoolean>;
213
213
  isDefunct: z.ZodOptional<z.ZodBoolean>;
214
- error: any;
214
+ error: z.ZodOptional<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>>;
215
215
  integrationId: z.ZodString;
216
- credentials: z.ZodOptional<z.ZodUnknown>;
217
- parameters: z.ZodOptional<z.ZodUnknown>;
218
- connectorParameters: z.ZodOptional<z.ZodUnknown>;
216
+ authOptionKey: z.ZodOptional<z.ZodString>;
219
217
  createdAt: z.ZodString;
220
218
  updatedAt: z.ZodString;
221
219
  lastActiveAt: z.ZodOptional<z.ZodString>;
@@ -223,7 +221,7 @@ export declare const FlowRunApiResponse: z.ZodObject<{
223
221
  archivedAt: z.ZodOptional<z.ZodString>;
224
222
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
225
223
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
226
- errors: z.ZodOptional<z.ZodArray<any, "many">>;
224
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
227
225
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
228
226
  }, "strip", z.ZodTypeAny, {
229
227
  id: string;
@@ -232,20 +230,18 @@ export declare const FlowRunApiResponse: z.ZodObject<{
232
230
  updatedAt: string;
233
231
  userId: string;
234
232
  integrationId: string;
235
- error?: any;
233
+ error?: import("../..").ErrorDataSchema | undefined;
236
234
  state?: import("..").WorkspaceElementState | undefined;
237
- errors?: any[] | undefined;
238
- isDeactivated?: boolean | undefined;
235
+ errors?: import("../..").ErrorDataSchema[] | undefined;
239
236
  archivedAt?: string | undefined;
240
- credentials?: unknown;
241
- parameters?: unknown;
242
- connectorParameters?: unknown;
237
+ isDeactivated?: boolean | undefined;
238
+ authOptionKey?: string | undefined;
243
239
  isTest?: boolean | undefined;
240
+ meta?: Record<string, any> | undefined;
244
241
  disconnected?: boolean | undefined;
245
242
  isDefunct?: boolean | undefined;
246
243
  lastActiveAt?: string | undefined;
247
244
  nextCredentialsRefreshAt?: string | undefined;
248
- meta?: Record<string, any> | undefined;
249
245
  }, {
250
246
  id: string;
251
247
  name: string;
@@ -253,29 +249,27 @@ export declare const FlowRunApiResponse: z.ZodObject<{
253
249
  updatedAt: string;
254
250
  userId: string;
255
251
  integrationId: string;
256
- error?: any;
252
+ error?: import("../..").ErrorDataSchema | undefined;
257
253
  state?: import("..").WorkspaceElementState | undefined;
258
- errors?: any[] | undefined;
259
- isDeactivated?: boolean | undefined;
254
+ errors?: import("../..").ErrorDataSchema[] | undefined;
260
255
  archivedAt?: string | undefined;
261
- credentials?: unknown;
262
- parameters?: unknown;
263
- connectorParameters?: unknown;
256
+ isDeactivated?: boolean | undefined;
257
+ authOptionKey?: string | undefined;
264
258
  isTest?: boolean | undefined;
259
+ meta?: Record<string, any> | undefined;
265
260
  disconnected?: boolean | undefined;
266
261
  isDefunct?: boolean | undefined;
267
262
  lastActiveAt?: string | undefined;
268
263
  nextCredentialsRefreshAt?: string | undefined;
269
- meta?: Record<string, any> | undefined;
270
264
  }>>;
271
265
  integration: z.ZodOptional<z.ZodObject<{
272
266
  id: z.ZodString;
273
- name: z.ZodString;
274
267
  key: z.ZodOptional<z.ZodString>;
275
268
  uuid: z.ZodOptional<z.ZodString>;
276
269
  description: z.ZodOptional<z.ZodString>;
270
+ name: z.ZodString;
277
271
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
278
- errors: z.ZodOptional<z.ZodArray<any, "many">>;
272
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
279
273
  revision: z.ZodOptional<z.ZodString>;
280
274
  createdAt: z.ZodOptional<z.ZodString>;
281
275
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -283,44 +277,8 @@ export declare const FlowRunApiResponse: z.ZodObject<{
283
277
  logoUri: z.ZodString;
284
278
  connectorId: z.ZodOptional<z.ZodString>;
285
279
  connectorVersion: z.ZodOptional<z.ZodString>;
286
- authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
287
- key: z.ZodString;
288
- type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
289
- title: z.ZodOptional<z.ZodString>;
290
- description: z.ZodOptional<z.ZodString>;
291
- ui: z.ZodOptional<z.ZodObject<{
292
- schema: z.ZodOptional<z.ZodAny>;
293
- helpUri: z.ZodOptional<z.ZodString>;
294
- }, "strip", z.ZodTypeAny, {
295
- schema?: any;
296
- helpUri?: string | undefined;
297
- }, {
298
- schema?: any;
299
- helpUri?: string | undefined;
300
- }>>;
301
- }, "strip", z.ZodTypeAny, {
302
- key: string;
303
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
304
- description?: string | undefined;
305
- title?: string | undefined;
306
- ui?: {
307
- schema?: any;
308
- helpUri?: string | undefined;
309
- } | undefined;
310
- }, {
311
- key: string;
312
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
313
- description?: string | undefined;
314
- title?: string | undefined;
315
- ui?: {
316
- schema?: any;
317
- helpUri?: string | undefined;
318
- } | undefined;
319
- }>, "many">>;
320
280
  oAuthCallbackUri: z.ZodOptional<z.ZodString>;
321
- parametersSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
322
281
  parameters: z.ZodOptional<z.ZodAny>;
323
- baseUri: z.ZodString;
324
282
  archivedAt: z.ZodOptional<z.ZodString>;
325
283
  hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
326
284
  hasDocumentation: z.ZodOptional<z.ZodBoolean>;
@@ -339,33 +297,20 @@ export declare const FlowRunApiResponse: z.ZodObject<{
339
297
  }, "strip", z.ZodTypeAny, {
340
298
  id: string;
341
299
  name: string;
342
- baseUri: string;
343
300
  logoUri: string;
344
301
  key?: string | undefined;
345
302
  uuid?: string | undefined;
346
303
  description?: string | undefined;
347
304
  state?: import("..").WorkspaceElementState | undefined;
348
- errors?: any[] | undefined;
305
+ errors?: import("../..").ErrorDataSchema[] | undefined;
349
306
  revision?: string | undefined;
350
- isDeactivated?: boolean | undefined;
351
307
  createdAt?: string | undefined;
352
308
  updatedAt?: string | undefined;
353
309
  archivedAt?: string | undefined;
310
+ isDeactivated?: boolean | undefined;
354
311
  parameters?: any;
355
- parametersSchema?: import("../..").DataSchema | undefined;
356
- isTest?: boolean | undefined;
357
312
  connectorId?: string | undefined;
358
313
  connectorVersion?: string | undefined;
359
- authOptions?: {
360
- key: string;
361
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
362
- description?: string | undefined;
363
- title?: string | undefined;
364
- ui?: {
365
- schema?: any;
366
- helpUri?: string | undefined;
367
- } | undefined;
368
- }[] | undefined;
369
314
  oAuthCallbackUri?: string | undefined;
370
315
  hasMissingParameters?: boolean | undefined;
371
316
  hasDocumentation?: boolean | undefined;
@@ -377,38 +322,26 @@ export declare const FlowRunApiResponse: z.ZodObject<{
377
322
  eventsCount?: number | undefined;
378
323
  hasGlobalWebhooks?: boolean | undefined;
379
324
  hasUdm?: boolean | undefined;
325
+ isTest?: boolean | undefined;
380
326
  appUuid?: string | undefined;
381
327
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
382
328
  }, {
383
329
  id: string;
384
330
  name: string;
385
- baseUri: string;
386
331
  logoUri: string;
387
332
  key?: string | undefined;
388
333
  uuid?: string | undefined;
389
334
  description?: string | undefined;
390
335
  state?: import("..").WorkspaceElementState | undefined;
391
- errors?: any[] | undefined;
336
+ errors?: import("../..").ErrorDataSchema[] | undefined;
392
337
  revision?: string | undefined;
393
- isDeactivated?: boolean | undefined;
394
338
  createdAt?: string | undefined;
395
339
  updatedAt?: string | undefined;
396
340
  archivedAt?: string | undefined;
341
+ isDeactivated?: boolean | undefined;
397
342
  parameters?: any;
398
- parametersSchema?: import("../..").DataSchema | undefined;
399
- isTest?: boolean | undefined;
400
343
  connectorId?: string | undefined;
401
344
  connectorVersion?: string | undefined;
402
- authOptions?: {
403
- key: string;
404
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
405
- description?: string | undefined;
406
- title?: string | undefined;
407
- ui?: {
408
- schema?: any;
409
- helpUri?: string | undefined;
410
- } | undefined;
411
- }[] | undefined;
412
345
  oAuthCallbackUri?: string | undefined;
413
346
  hasMissingParameters?: boolean | undefined;
414
347
  hasDocumentation?: boolean | undefined;
@@ -420,6 +353,7 @@ export declare const FlowRunApiResponse: z.ZodObject<{
420
353
  eventsCount?: number | undefined;
421
354
  hasGlobalWebhooks?: boolean | undefined;
422
355
  hasUdm?: boolean | undefined;
356
+ isTest?: boolean | undefined;
423
357
  appUuid?: string | undefined;
424
358
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
425
359
  }>>;
@@ -471,51 +405,36 @@ export declare const FlowRunApiResponse: z.ZodObject<{
471
405
  updatedAt: string;
472
406
  userId: string;
473
407
  integrationId: string;
474
- error?: any;
408
+ error?: import("../..").ErrorDataSchema | undefined;
475
409
  state?: import("..").WorkspaceElementState | undefined;
476
- errors?: any[] | undefined;
477
- isDeactivated?: boolean | undefined;
410
+ errors?: import("../..").ErrorDataSchema[] | undefined;
478
411
  archivedAt?: string | undefined;
479
- credentials?: unknown;
480
- parameters?: unknown;
481
- connectorParameters?: unknown;
412
+ isDeactivated?: boolean | undefined;
413
+ authOptionKey?: string | undefined;
482
414
  isTest?: boolean | undefined;
415
+ meta?: Record<string, any> | undefined;
483
416
  disconnected?: boolean | undefined;
484
417
  isDefunct?: boolean | undefined;
485
418
  lastActiveAt?: string | undefined;
486
419
  nextCredentialsRefreshAt?: string | undefined;
487
- meta?: Record<string, any> | undefined;
488
420
  } | undefined;
489
421
  integration?: {
490
422
  id: string;
491
423
  name: string;
492
- baseUri: string;
493
424
  logoUri: string;
494
425
  key?: string | undefined;
495
426
  uuid?: string | undefined;
496
427
  description?: string | undefined;
497
428
  state?: import("..").WorkspaceElementState | undefined;
498
- errors?: any[] | undefined;
429
+ errors?: import("../..").ErrorDataSchema[] | undefined;
499
430
  revision?: string | undefined;
500
- isDeactivated?: boolean | undefined;
501
431
  createdAt?: string | undefined;
502
432
  updatedAt?: string | undefined;
503
433
  archivedAt?: string | undefined;
434
+ isDeactivated?: boolean | undefined;
504
435
  parameters?: any;
505
- parametersSchema?: import("../..").DataSchema | undefined;
506
- isTest?: boolean | undefined;
507
436
  connectorId?: string | undefined;
508
437
  connectorVersion?: string | undefined;
509
- authOptions?: {
510
- key: string;
511
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
512
- description?: string | undefined;
513
- title?: string | undefined;
514
- ui?: {
515
- schema?: any;
516
- helpUri?: string | undefined;
517
- } | undefined;
518
- }[] | undefined;
519
438
  oAuthCallbackUri?: string | undefined;
520
439
  hasMissingParameters?: boolean | undefined;
521
440
  hasDocumentation?: boolean | undefined;
@@ -527,13 +446,15 @@ export declare const FlowRunApiResponse: z.ZodObject<{
527
446
  eventsCount?: number | undefined;
528
447
  hasGlobalWebhooks?: boolean | undefined;
529
448
  hasUdm?: boolean | undefined;
449
+ isTest?: boolean | undefined;
530
450
  appUuid?: string | undefined;
531
451
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
532
452
  } | undefined;
533
453
  name?: string | undefined;
534
- errors?: any[] | undefined;
454
+ errors?: import("../..").ErrorDataSchema[] | undefined;
535
455
  connectionId?: string | undefined;
536
456
  integrationId?: string | undefined;
457
+ input?: any;
537
458
  endTime?: string | undefined;
538
459
  user?: {
539
460
  id: string;
@@ -547,7 +468,6 @@ export declare const FlowRunApiResponse: z.ZodObject<{
547
468
  lastActiveAt?: string | undefined;
548
469
  isBillable?: boolean | undefined;
549
470
  } | undefined;
550
- input?: any;
551
471
  universalFlowId?: string | undefined;
552
472
  nodes?: Record<string, {
553
473
  state: import("../base/flow-runs").FlowRunNodeState;
@@ -571,18 +491,18 @@ export declare const FlowRunApiResponse: z.ZodObject<{
571
491
  uuid?: string | undefined;
572
492
  description?: string | undefined;
573
493
  state?: import("..").WorkspaceElementState | undefined;
574
- errors?: any[] | undefined;
494
+ errors?: import("../..").ErrorDataSchema[] | undefined;
575
495
  revision?: string | undefined;
576
- isDeactivated?: boolean | undefined;
577
496
  archivedAt?: string | undefined;
497
+ isDeactivated?: boolean | undefined;
578
498
  instanceKey?: string | undefined;
579
499
  connectionId?: string | undefined;
580
500
  parameters?: any;
581
- parametersSchema?: import("../..").DataSchema | undefined;
582
501
  customized?: {
583
502
  name?: boolean | undefined;
584
503
  nodes?: boolean | undefined;
585
504
  } | undefined;
505
+ parametersSchema?: import("../..").DataSchema | undefined;
586
506
  dependencies?: any[] | undefined;
587
507
  universalFlowId?: string | undefined;
588
508
  nodes?: Record<string, any> | undefined;
@@ -603,51 +523,36 @@ export declare const FlowRunApiResponse: z.ZodObject<{
603
523
  updatedAt: string;
604
524
  userId: string;
605
525
  integrationId: string;
606
- error?: any;
526
+ error?: import("../..").ErrorDataSchema | undefined;
607
527
  state?: import("..").WorkspaceElementState | undefined;
608
- errors?: any[] | undefined;
609
- isDeactivated?: boolean | undefined;
528
+ errors?: import("../..").ErrorDataSchema[] | undefined;
610
529
  archivedAt?: string | undefined;
611
- credentials?: unknown;
612
- parameters?: unknown;
613
- connectorParameters?: unknown;
530
+ isDeactivated?: boolean | undefined;
531
+ authOptionKey?: string | undefined;
614
532
  isTest?: boolean | undefined;
533
+ meta?: Record<string, any> | undefined;
615
534
  disconnected?: boolean | undefined;
616
535
  isDefunct?: boolean | undefined;
617
536
  lastActiveAt?: string | undefined;
618
537
  nextCredentialsRefreshAt?: string | undefined;
619
- meta?: Record<string, any> | undefined;
620
538
  } | undefined;
621
539
  integration?: {
622
540
  id: string;
623
541
  name: string;
624
- baseUri: string;
625
542
  logoUri: string;
626
543
  key?: string | undefined;
627
544
  uuid?: string | undefined;
628
545
  description?: string | undefined;
629
546
  state?: import("..").WorkspaceElementState | undefined;
630
- errors?: any[] | undefined;
547
+ errors?: import("../..").ErrorDataSchema[] | undefined;
631
548
  revision?: string | undefined;
632
- isDeactivated?: boolean | undefined;
633
549
  createdAt?: string | undefined;
634
550
  updatedAt?: string | undefined;
635
551
  archivedAt?: string | undefined;
552
+ isDeactivated?: boolean | undefined;
636
553
  parameters?: any;
637
- parametersSchema?: import("../..").DataSchema | undefined;
638
- isTest?: boolean | undefined;
639
554
  connectorId?: string | undefined;
640
555
  connectorVersion?: string | undefined;
641
- authOptions?: {
642
- key: string;
643
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
644
- description?: string | undefined;
645
- title?: string | undefined;
646
- ui?: {
647
- schema?: any;
648
- helpUri?: string | undefined;
649
- } | undefined;
650
- }[] | undefined;
651
556
  oAuthCallbackUri?: string | undefined;
652
557
  hasMissingParameters?: boolean | undefined;
653
558
  hasDocumentation?: boolean | undefined;
@@ -659,13 +564,15 @@ export declare const FlowRunApiResponse: z.ZodObject<{
659
564
  eventsCount?: number | undefined;
660
565
  hasGlobalWebhooks?: boolean | undefined;
661
566
  hasUdm?: boolean | undefined;
567
+ isTest?: boolean | undefined;
662
568
  appUuid?: string | undefined;
663
569
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
664
570
  } | undefined;
665
571
  name?: string | undefined;
666
- errors?: any[] | undefined;
572
+ errors?: import("../..").ErrorDataSchema[] | undefined;
667
573
  connectionId?: string | undefined;
668
574
  integrationId?: string | undefined;
575
+ input?: any;
669
576
  endTime?: string | undefined;
670
577
  user?: {
671
578
  id: string;
@@ -679,7 +586,6 @@ export declare const FlowRunApiResponse: z.ZodObject<{
679
586
  lastActiveAt?: string | undefined;
680
587
  isBillable?: boolean | undefined;
681
588
  } | undefined;
682
- input?: any;
683
589
  universalFlowId?: string | undefined;
684
590
  nodes?: Record<string, {
685
591
  state: import("../base/flow-runs").FlowRunNodeState;
@@ -703,18 +609,18 @@ export declare const FlowRunApiResponse: z.ZodObject<{
703
609
  uuid?: string | undefined;
704
610
  description?: string | undefined;
705
611
  state?: import("..").WorkspaceElementState | undefined;
706
- errors?: any[] | undefined;
612
+ errors?: import("../..").ErrorDataSchema[] | undefined;
707
613
  revision?: string | undefined;
708
- isDeactivated?: boolean | undefined;
709
614
  archivedAt?: string | undefined;
615
+ isDeactivated?: boolean | undefined;
710
616
  instanceKey?: string | undefined;
711
617
  connectionId?: string | undefined;
712
618
  parameters?: any;
713
- parametersSchema?: import("../..").DataSchema | undefined;
714
619
  customized?: {
715
620
  name?: boolean | undefined;
716
621
  nodes?: boolean | undefined;
717
622
  } | undefined;
623
+ parametersSchema?: import("../..").DataSchema | undefined;
718
624
  dependencies?: any[] | undefined;
719
625
  universalFlowId?: string | undefined;
720
626
  nodes?: Record<string, any> | undefined;
@@ -737,7 +643,7 @@ export declare const FindFlowRunsResponse: z.ZodObject<{
737
643
  state: z.ZodNativeEnum<typeof FlowRunState>;
738
644
  startTime: z.ZodString;
739
645
  endTime: z.ZodOptional<z.ZodString>;
740
- errors: z.ZodOptional<z.ZodArray<any, "many">>;
646
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
741
647
  nodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
742
648
  state: z.ZodNativeEnum<typeof import("../base/flow-runs").FlowRunNodeState>;
743
649
  runs: z.ZodOptional<z.ZodNumber>;
@@ -767,14 +673,14 @@ export declare const FindFlowRunsResponse: z.ZodObject<{
767
673
  } & {
768
674
  flowInstance: z.ZodOptional<z.ZodObject<{
769
675
  id: z.ZodString;
770
- name: z.ZodString;
771
676
  key: z.ZodOptional<z.ZodString>;
772
677
  uuid: z.ZodOptional<z.ZodString>;
773
678
  description: z.ZodOptional<z.ZodString>;
774
- errors: z.ZodOptional<z.ZodArray<any, "many">>;
679
+ name: z.ZodString;
680
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
775
681
  revision: z.ZodOptional<z.ZodString>;
776
- isDeactivated: z.ZodOptional<z.ZodBoolean>;
777
682
  archivedAt: z.ZodOptional<z.ZodString>;
683
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
778
684
  } & {
779
685
  userId: z.ZodString;
780
686
  connectionId: z.ZodOptional<z.ZodString>;
@@ -813,18 +719,18 @@ export declare const FindFlowRunsResponse: z.ZodObject<{
813
719
  uuid?: string | undefined;
814
720
  description?: string | undefined;
815
721
  state?: import("..").WorkspaceElementState | undefined;
816
- errors?: any[] | undefined;
722
+ errors?: import("../..").ErrorDataSchema[] | undefined;
817
723
  revision?: string | undefined;
818
- isDeactivated?: boolean | undefined;
819
724
  archivedAt?: string | undefined;
725
+ isDeactivated?: boolean | undefined;
820
726
  instanceKey?: string | undefined;
821
727
  connectionId?: string | undefined;
822
728
  parameters?: any;
823
- parametersSchema?: import("../..").DataSchema | undefined;
824
729
  customized?: {
825
730
  name?: boolean | undefined;
826
731
  nodes?: boolean | undefined;
827
732
  } | undefined;
733
+ parametersSchema?: import("../..").DataSchema | undefined;
828
734
  dependencies?: any[] | undefined;
829
735
  universalFlowId?: string | undefined;
830
736
  nodes?: Record<string, any> | undefined;
@@ -842,18 +748,18 @@ export declare const FindFlowRunsResponse: z.ZodObject<{
842
748
  uuid?: string | undefined;
843
749
  description?: string | undefined;
844
750
  state?: import("..").WorkspaceElementState | undefined;
845
- errors?: any[] | undefined;
751
+ errors?: import("../..").ErrorDataSchema[] | undefined;
846
752
  revision?: string | undefined;
847
- isDeactivated?: boolean | undefined;
848
753
  archivedAt?: string | undefined;
754
+ isDeactivated?: boolean | undefined;
849
755
  instanceKey?: string | undefined;
850
756
  connectionId?: string | undefined;
851
757
  parameters?: any;
852
- parametersSchema?: import("../..").DataSchema | undefined;
853
758
  customized?: {
854
759
  name?: boolean | undefined;
855
760
  nodes?: boolean | undefined;
856
761
  } | undefined;
762
+ parametersSchema?: import("../..").DataSchema | undefined;
857
763
  dependencies?: any[] | undefined;
858
764
  universalFlowId?: string | undefined;
859
765
  nodes?: Record<string, any> | undefined;
@@ -868,11 +774,9 @@ export declare const FindFlowRunsResponse: z.ZodObject<{
868
774
  isTest: z.ZodOptional<z.ZodBoolean>;
869
775
  disconnected: z.ZodOptional<z.ZodBoolean>;
870
776
  isDefunct: z.ZodOptional<z.ZodBoolean>;
871
- error: any;
777
+ error: z.ZodOptional<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>>;
872
778
  integrationId: z.ZodString;
873
- credentials: z.ZodOptional<z.ZodUnknown>;
874
- parameters: z.ZodOptional<z.ZodUnknown>;
875
- connectorParameters: z.ZodOptional<z.ZodUnknown>;
779
+ authOptionKey: z.ZodOptional<z.ZodString>;
876
780
  createdAt: z.ZodString;
877
781
  updatedAt: z.ZodString;
878
782
  lastActiveAt: z.ZodOptional<z.ZodString>;
@@ -880,7 +784,7 @@ export declare const FindFlowRunsResponse: z.ZodObject<{
880
784
  archivedAt: z.ZodOptional<z.ZodString>;
881
785
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
882
786
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
883
- errors: z.ZodOptional<z.ZodArray<any, "many">>;
787
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
884
788
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
885
789
  }, "strip", z.ZodTypeAny, {
886
790
  id: string;
@@ -889,20 +793,18 @@ export declare const FindFlowRunsResponse: z.ZodObject<{
889
793
  updatedAt: string;
890
794
  userId: string;
891
795
  integrationId: string;
892
- error?: any;
796
+ error?: import("../..").ErrorDataSchema | undefined;
893
797
  state?: import("..").WorkspaceElementState | undefined;
894
- errors?: any[] | undefined;
895
- isDeactivated?: boolean | undefined;
798
+ errors?: import("../..").ErrorDataSchema[] | undefined;
896
799
  archivedAt?: string | undefined;
897
- credentials?: unknown;
898
- parameters?: unknown;
899
- connectorParameters?: unknown;
800
+ isDeactivated?: boolean | undefined;
801
+ authOptionKey?: string | undefined;
900
802
  isTest?: boolean | undefined;
803
+ meta?: Record<string, any> | undefined;
901
804
  disconnected?: boolean | undefined;
902
805
  isDefunct?: boolean | undefined;
903
806
  lastActiveAt?: string | undefined;
904
807
  nextCredentialsRefreshAt?: string | undefined;
905
- meta?: Record<string, any> | undefined;
906
808
  }, {
907
809
  id: string;
908
810
  name: string;
@@ -910,29 +812,27 @@ export declare const FindFlowRunsResponse: z.ZodObject<{
910
812
  updatedAt: string;
911
813
  userId: string;
912
814
  integrationId: string;
913
- error?: any;
815
+ error?: import("../..").ErrorDataSchema | undefined;
914
816
  state?: import("..").WorkspaceElementState | undefined;
915
- errors?: any[] | undefined;
916
- isDeactivated?: boolean | undefined;
817
+ errors?: import("../..").ErrorDataSchema[] | undefined;
917
818
  archivedAt?: string | undefined;
918
- credentials?: unknown;
919
- parameters?: unknown;
920
- connectorParameters?: unknown;
819
+ isDeactivated?: boolean | undefined;
820
+ authOptionKey?: string | undefined;
921
821
  isTest?: boolean | undefined;
822
+ meta?: Record<string, any> | undefined;
922
823
  disconnected?: boolean | undefined;
923
824
  isDefunct?: boolean | undefined;
924
825
  lastActiveAt?: string | undefined;
925
826
  nextCredentialsRefreshAt?: string | undefined;
926
- meta?: Record<string, any> | undefined;
927
827
  }>>;
928
828
  integration: z.ZodOptional<z.ZodObject<{
929
829
  id: z.ZodString;
930
- name: z.ZodString;
931
830
  key: z.ZodOptional<z.ZodString>;
932
831
  uuid: z.ZodOptional<z.ZodString>;
933
832
  description: z.ZodOptional<z.ZodString>;
833
+ name: z.ZodString;
934
834
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
935
- errors: z.ZodOptional<z.ZodArray<any, "many">>;
835
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
936
836
  revision: z.ZodOptional<z.ZodString>;
937
837
  createdAt: z.ZodOptional<z.ZodString>;
938
838
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -940,44 +840,8 @@ export declare const FindFlowRunsResponse: z.ZodObject<{
940
840
  logoUri: z.ZodString;
941
841
  connectorId: z.ZodOptional<z.ZodString>;
942
842
  connectorVersion: z.ZodOptional<z.ZodString>;
943
- authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
944
- key: z.ZodString;
945
- type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
946
- title: z.ZodOptional<z.ZodString>;
947
- description: z.ZodOptional<z.ZodString>;
948
- ui: z.ZodOptional<z.ZodObject<{
949
- schema: z.ZodOptional<z.ZodAny>;
950
- helpUri: z.ZodOptional<z.ZodString>;
951
- }, "strip", z.ZodTypeAny, {
952
- schema?: any;
953
- helpUri?: string | undefined;
954
- }, {
955
- schema?: any;
956
- helpUri?: string | undefined;
957
- }>>;
958
- }, "strip", z.ZodTypeAny, {
959
- key: string;
960
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
961
- description?: string | undefined;
962
- title?: string | undefined;
963
- ui?: {
964
- schema?: any;
965
- helpUri?: string | undefined;
966
- } | undefined;
967
- }, {
968
- key: string;
969
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
970
- description?: string | undefined;
971
- title?: string | undefined;
972
- ui?: {
973
- schema?: any;
974
- helpUri?: string | undefined;
975
- } | undefined;
976
- }>, "many">>;
977
843
  oAuthCallbackUri: z.ZodOptional<z.ZodString>;
978
- parametersSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
979
844
  parameters: z.ZodOptional<z.ZodAny>;
980
- baseUri: z.ZodString;
981
845
  archivedAt: z.ZodOptional<z.ZodString>;
982
846
  hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
983
847
  hasDocumentation: z.ZodOptional<z.ZodBoolean>;
@@ -996,33 +860,20 @@ export declare const FindFlowRunsResponse: z.ZodObject<{
996
860
  }, "strip", z.ZodTypeAny, {
997
861
  id: string;
998
862
  name: string;
999
- baseUri: string;
1000
863
  logoUri: string;
1001
864
  key?: string | undefined;
1002
865
  uuid?: string | undefined;
1003
866
  description?: string | undefined;
1004
867
  state?: import("..").WorkspaceElementState | undefined;
1005
- errors?: any[] | undefined;
868
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1006
869
  revision?: string | undefined;
1007
- isDeactivated?: boolean | undefined;
1008
870
  createdAt?: string | undefined;
1009
871
  updatedAt?: string | undefined;
1010
872
  archivedAt?: string | undefined;
873
+ isDeactivated?: boolean | undefined;
1011
874
  parameters?: any;
1012
- parametersSchema?: import("../..").DataSchema | undefined;
1013
- isTest?: boolean | undefined;
1014
875
  connectorId?: string | undefined;
1015
876
  connectorVersion?: string | undefined;
1016
- authOptions?: {
1017
- key: string;
1018
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
1019
- description?: string | undefined;
1020
- title?: string | undefined;
1021
- ui?: {
1022
- schema?: any;
1023
- helpUri?: string | undefined;
1024
- } | undefined;
1025
- }[] | undefined;
1026
877
  oAuthCallbackUri?: string | undefined;
1027
878
  hasMissingParameters?: boolean | undefined;
1028
879
  hasDocumentation?: boolean | undefined;
@@ -1034,38 +885,26 @@ export declare const FindFlowRunsResponse: z.ZodObject<{
1034
885
  eventsCount?: number | undefined;
1035
886
  hasGlobalWebhooks?: boolean | undefined;
1036
887
  hasUdm?: boolean | undefined;
888
+ isTest?: boolean | undefined;
1037
889
  appUuid?: string | undefined;
1038
890
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1039
891
  }, {
1040
892
  id: string;
1041
893
  name: string;
1042
- baseUri: string;
1043
894
  logoUri: string;
1044
895
  key?: string | undefined;
1045
896
  uuid?: string | undefined;
1046
897
  description?: string | undefined;
1047
898
  state?: import("..").WorkspaceElementState | undefined;
1048
- errors?: any[] | undefined;
899
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1049
900
  revision?: string | undefined;
1050
- isDeactivated?: boolean | undefined;
1051
901
  createdAt?: string | undefined;
1052
902
  updatedAt?: string | undefined;
1053
903
  archivedAt?: string | undefined;
904
+ isDeactivated?: boolean | undefined;
1054
905
  parameters?: any;
1055
- parametersSchema?: import("../..").DataSchema | undefined;
1056
- isTest?: boolean | undefined;
1057
906
  connectorId?: string | undefined;
1058
907
  connectorVersion?: string | undefined;
1059
- authOptions?: {
1060
- key: string;
1061
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
1062
- description?: string | undefined;
1063
- title?: string | undefined;
1064
- ui?: {
1065
- schema?: any;
1066
- helpUri?: string | undefined;
1067
- } | undefined;
1068
- }[] | undefined;
1069
908
  oAuthCallbackUri?: string | undefined;
1070
909
  hasMissingParameters?: boolean | undefined;
1071
910
  hasDocumentation?: boolean | undefined;
@@ -1077,6 +916,7 @@ export declare const FindFlowRunsResponse: z.ZodObject<{
1077
916
  eventsCount?: number | undefined;
1078
917
  hasGlobalWebhooks?: boolean | undefined;
1079
918
  hasUdm?: boolean | undefined;
919
+ isTest?: boolean | undefined;
1080
920
  appUuid?: string | undefined;
1081
921
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1082
922
  }>>;
@@ -1128,51 +968,36 @@ export declare const FindFlowRunsResponse: z.ZodObject<{
1128
968
  updatedAt: string;
1129
969
  userId: string;
1130
970
  integrationId: string;
1131
- error?: any;
971
+ error?: import("../..").ErrorDataSchema | undefined;
1132
972
  state?: import("..").WorkspaceElementState | undefined;
1133
- errors?: any[] | undefined;
1134
- isDeactivated?: boolean | undefined;
973
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1135
974
  archivedAt?: string | undefined;
1136
- credentials?: unknown;
1137
- parameters?: unknown;
1138
- connectorParameters?: unknown;
975
+ isDeactivated?: boolean | undefined;
976
+ authOptionKey?: string | undefined;
1139
977
  isTest?: boolean | undefined;
978
+ meta?: Record<string, any> | undefined;
1140
979
  disconnected?: boolean | undefined;
1141
980
  isDefunct?: boolean | undefined;
1142
981
  lastActiveAt?: string | undefined;
1143
982
  nextCredentialsRefreshAt?: string | undefined;
1144
- meta?: Record<string, any> | undefined;
1145
983
  } | undefined;
1146
984
  integration?: {
1147
985
  id: string;
1148
986
  name: string;
1149
- baseUri: string;
1150
987
  logoUri: string;
1151
988
  key?: string | undefined;
1152
989
  uuid?: string | undefined;
1153
990
  description?: string | undefined;
1154
991
  state?: import("..").WorkspaceElementState | undefined;
1155
- errors?: any[] | undefined;
992
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1156
993
  revision?: string | undefined;
1157
- isDeactivated?: boolean | undefined;
1158
994
  createdAt?: string | undefined;
1159
995
  updatedAt?: string | undefined;
1160
996
  archivedAt?: string | undefined;
997
+ isDeactivated?: boolean | undefined;
1161
998
  parameters?: any;
1162
- parametersSchema?: import("../..").DataSchema | undefined;
1163
- isTest?: boolean | undefined;
1164
999
  connectorId?: string | undefined;
1165
1000
  connectorVersion?: string | undefined;
1166
- authOptions?: {
1167
- key: string;
1168
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
1169
- description?: string | undefined;
1170
- title?: string | undefined;
1171
- ui?: {
1172
- schema?: any;
1173
- helpUri?: string | undefined;
1174
- } | undefined;
1175
- }[] | undefined;
1176
1001
  oAuthCallbackUri?: string | undefined;
1177
1002
  hasMissingParameters?: boolean | undefined;
1178
1003
  hasDocumentation?: boolean | undefined;
@@ -1184,13 +1009,15 @@ export declare const FindFlowRunsResponse: z.ZodObject<{
1184
1009
  eventsCount?: number | undefined;
1185
1010
  hasGlobalWebhooks?: boolean | undefined;
1186
1011
  hasUdm?: boolean | undefined;
1012
+ isTest?: boolean | undefined;
1187
1013
  appUuid?: string | undefined;
1188
1014
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1189
1015
  } | undefined;
1190
1016
  name?: string | undefined;
1191
- errors?: any[] | undefined;
1017
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1192
1018
  connectionId?: string | undefined;
1193
1019
  integrationId?: string | undefined;
1020
+ input?: any;
1194
1021
  endTime?: string | undefined;
1195
1022
  user?: {
1196
1023
  id: string;
@@ -1204,7 +1031,6 @@ export declare const FindFlowRunsResponse: z.ZodObject<{
1204
1031
  lastActiveAt?: string | undefined;
1205
1032
  isBillable?: boolean | undefined;
1206
1033
  } | undefined;
1207
- input?: any;
1208
1034
  universalFlowId?: string | undefined;
1209
1035
  nodes?: Record<string, {
1210
1036
  state: import("../base/flow-runs").FlowRunNodeState;
@@ -1228,18 +1054,18 @@ export declare const FindFlowRunsResponse: z.ZodObject<{
1228
1054
  uuid?: string | undefined;
1229
1055
  description?: string | undefined;
1230
1056
  state?: import("..").WorkspaceElementState | undefined;
1231
- errors?: any[] | undefined;
1057
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1232
1058
  revision?: string | undefined;
1233
- isDeactivated?: boolean | undefined;
1234
1059
  archivedAt?: string | undefined;
1060
+ isDeactivated?: boolean | undefined;
1235
1061
  instanceKey?: string | undefined;
1236
1062
  connectionId?: string | undefined;
1237
1063
  parameters?: any;
1238
- parametersSchema?: import("../..").DataSchema | undefined;
1239
1064
  customized?: {
1240
1065
  name?: boolean | undefined;
1241
1066
  nodes?: boolean | undefined;
1242
1067
  } | undefined;
1068
+ parametersSchema?: import("../..").DataSchema | undefined;
1243
1069
  dependencies?: any[] | undefined;
1244
1070
  universalFlowId?: string | undefined;
1245
1071
  nodes?: Record<string, any> | undefined;
@@ -1260,51 +1086,36 @@ export declare const FindFlowRunsResponse: z.ZodObject<{
1260
1086
  updatedAt: string;
1261
1087
  userId: string;
1262
1088
  integrationId: string;
1263
- error?: any;
1089
+ error?: import("../..").ErrorDataSchema | undefined;
1264
1090
  state?: import("..").WorkspaceElementState | undefined;
1265
- errors?: any[] | undefined;
1266
- isDeactivated?: boolean | undefined;
1091
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1267
1092
  archivedAt?: string | undefined;
1268
- credentials?: unknown;
1269
- parameters?: unknown;
1270
- connectorParameters?: unknown;
1093
+ isDeactivated?: boolean | undefined;
1094
+ authOptionKey?: string | undefined;
1271
1095
  isTest?: boolean | undefined;
1096
+ meta?: Record<string, any> | undefined;
1272
1097
  disconnected?: boolean | undefined;
1273
1098
  isDefunct?: boolean | undefined;
1274
1099
  lastActiveAt?: string | undefined;
1275
1100
  nextCredentialsRefreshAt?: string | undefined;
1276
- meta?: Record<string, any> | undefined;
1277
1101
  } | undefined;
1278
1102
  integration?: {
1279
1103
  id: string;
1280
1104
  name: string;
1281
- baseUri: string;
1282
1105
  logoUri: string;
1283
1106
  key?: string | undefined;
1284
1107
  uuid?: string | undefined;
1285
1108
  description?: string | undefined;
1286
1109
  state?: import("..").WorkspaceElementState | undefined;
1287
- errors?: any[] | undefined;
1110
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1288
1111
  revision?: string | undefined;
1289
- isDeactivated?: boolean | undefined;
1290
1112
  createdAt?: string | undefined;
1291
1113
  updatedAt?: string | undefined;
1292
1114
  archivedAt?: string | undefined;
1115
+ isDeactivated?: boolean | undefined;
1293
1116
  parameters?: any;
1294
- parametersSchema?: import("../..").DataSchema | undefined;
1295
- isTest?: boolean | undefined;
1296
1117
  connectorId?: string | undefined;
1297
1118
  connectorVersion?: string | undefined;
1298
- authOptions?: {
1299
- key: string;
1300
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
1301
- description?: string | undefined;
1302
- title?: string | undefined;
1303
- ui?: {
1304
- schema?: any;
1305
- helpUri?: string | undefined;
1306
- } | undefined;
1307
- }[] | undefined;
1308
1119
  oAuthCallbackUri?: string | undefined;
1309
1120
  hasMissingParameters?: boolean | undefined;
1310
1121
  hasDocumentation?: boolean | undefined;
@@ -1316,13 +1127,15 @@ export declare const FindFlowRunsResponse: z.ZodObject<{
1316
1127
  eventsCount?: number | undefined;
1317
1128
  hasGlobalWebhooks?: boolean | undefined;
1318
1129
  hasUdm?: boolean | undefined;
1130
+ isTest?: boolean | undefined;
1319
1131
  appUuid?: string | undefined;
1320
1132
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1321
1133
  } | undefined;
1322
1134
  name?: string | undefined;
1323
- errors?: any[] | undefined;
1135
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1324
1136
  connectionId?: string | undefined;
1325
1137
  integrationId?: string | undefined;
1138
+ input?: any;
1326
1139
  endTime?: string | undefined;
1327
1140
  user?: {
1328
1141
  id: string;
@@ -1336,7 +1149,6 @@ export declare const FindFlowRunsResponse: z.ZodObject<{
1336
1149
  lastActiveAt?: string | undefined;
1337
1150
  isBillable?: boolean | undefined;
1338
1151
  } | undefined;
1339
- input?: any;
1340
1152
  universalFlowId?: string | undefined;
1341
1153
  nodes?: Record<string, {
1342
1154
  state: import("../base/flow-runs").FlowRunNodeState;
@@ -1360,18 +1172,18 @@ export declare const FindFlowRunsResponse: z.ZodObject<{
1360
1172
  uuid?: string | undefined;
1361
1173
  description?: string | undefined;
1362
1174
  state?: import("..").WorkspaceElementState | undefined;
1363
- errors?: any[] | undefined;
1175
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1364
1176
  revision?: string | undefined;
1365
- isDeactivated?: boolean | undefined;
1366
1177
  archivedAt?: string | undefined;
1178
+ isDeactivated?: boolean | undefined;
1367
1179
  instanceKey?: string | undefined;
1368
1180
  connectionId?: string | undefined;
1369
1181
  parameters?: any;
1370
- parametersSchema?: import("../..").DataSchema | undefined;
1371
1182
  customized?: {
1372
1183
  name?: boolean | undefined;
1373
1184
  nodes?: boolean | undefined;
1374
1185
  } | undefined;
1186
+ parametersSchema?: import("../..").DataSchema | undefined;
1375
1187
  dependencies?: any[] | undefined;
1376
1188
  universalFlowId?: string | undefined;
1377
1189
  nodes?: Record<string, any> | undefined;
@@ -1395,51 +1207,36 @@ export declare const FindFlowRunsResponse: z.ZodObject<{
1395
1207
  updatedAt: string;
1396
1208
  userId: string;
1397
1209
  integrationId: string;
1398
- error?: any;
1210
+ error?: import("../..").ErrorDataSchema | undefined;
1399
1211
  state?: import("..").WorkspaceElementState | undefined;
1400
- errors?: any[] | undefined;
1401
- isDeactivated?: boolean | undefined;
1212
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1402
1213
  archivedAt?: string | undefined;
1403
- credentials?: unknown;
1404
- parameters?: unknown;
1405
- connectorParameters?: unknown;
1214
+ isDeactivated?: boolean | undefined;
1215
+ authOptionKey?: string | undefined;
1406
1216
  isTest?: boolean | undefined;
1217
+ meta?: Record<string, any> | undefined;
1407
1218
  disconnected?: boolean | undefined;
1408
1219
  isDefunct?: boolean | undefined;
1409
1220
  lastActiveAt?: string | undefined;
1410
1221
  nextCredentialsRefreshAt?: string | undefined;
1411
- meta?: Record<string, any> | undefined;
1412
1222
  } | undefined;
1413
1223
  integration?: {
1414
1224
  id: string;
1415
1225
  name: string;
1416
- baseUri: string;
1417
1226
  logoUri: string;
1418
1227
  key?: string | undefined;
1419
1228
  uuid?: string | undefined;
1420
1229
  description?: string | undefined;
1421
1230
  state?: import("..").WorkspaceElementState | undefined;
1422
- errors?: any[] | undefined;
1231
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1423
1232
  revision?: string | undefined;
1424
- isDeactivated?: boolean | undefined;
1425
1233
  createdAt?: string | undefined;
1426
1234
  updatedAt?: string | undefined;
1427
1235
  archivedAt?: string | undefined;
1236
+ isDeactivated?: boolean | undefined;
1428
1237
  parameters?: any;
1429
- parametersSchema?: import("../..").DataSchema | undefined;
1430
- isTest?: boolean | undefined;
1431
1238
  connectorId?: string | undefined;
1432
1239
  connectorVersion?: string | undefined;
1433
- authOptions?: {
1434
- key: string;
1435
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
1436
- description?: string | undefined;
1437
- title?: string | undefined;
1438
- ui?: {
1439
- schema?: any;
1440
- helpUri?: string | undefined;
1441
- } | undefined;
1442
- }[] | undefined;
1443
1240
  oAuthCallbackUri?: string | undefined;
1444
1241
  hasMissingParameters?: boolean | undefined;
1445
1242
  hasDocumentation?: boolean | undefined;
@@ -1451,13 +1248,15 @@ export declare const FindFlowRunsResponse: z.ZodObject<{
1451
1248
  eventsCount?: number | undefined;
1452
1249
  hasGlobalWebhooks?: boolean | undefined;
1453
1250
  hasUdm?: boolean | undefined;
1251
+ isTest?: boolean | undefined;
1454
1252
  appUuid?: string | undefined;
1455
1253
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1456
1254
  } | undefined;
1457
1255
  name?: string | undefined;
1458
- errors?: any[] | undefined;
1256
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1459
1257
  connectionId?: string | undefined;
1460
1258
  integrationId?: string | undefined;
1259
+ input?: any;
1461
1260
  endTime?: string | undefined;
1462
1261
  user?: {
1463
1262
  id: string;
@@ -1471,7 +1270,6 @@ export declare const FindFlowRunsResponse: z.ZodObject<{
1471
1270
  lastActiveAt?: string | undefined;
1472
1271
  isBillable?: boolean | undefined;
1473
1272
  } | undefined;
1474
- input?: any;
1475
1273
  universalFlowId?: string | undefined;
1476
1274
  nodes?: Record<string, {
1477
1275
  state: import("../base/flow-runs").FlowRunNodeState;
@@ -1495,18 +1293,18 @@ export declare const FindFlowRunsResponse: z.ZodObject<{
1495
1293
  uuid?: string | undefined;
1496
1294
  description?: string | undefined;
1497
1295
  state?: import("..").WorkspaceElementState | undefined;
1498
- errors?: any[] | undefined;
1296
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1499
1297
  revision?: string | undefined;
1500
- isDeactivated?: boolean | undefined;
1501
1298
  archivedAt?: string | undefined;
1299
+ isDeactivated?: boolean | undefined;
1502
1300
  instanceKey?: string | undefined;
1503
1301
  connectionId?: string | undefined;
1504
1302
  parameters?: any;
1505
- parametersSchema?: import("../..").DataSchema | undefined;
1506
1303
  customized?: {
1507
1304
  name?: boolean | undefined;
1508
1305
  nodes?: boolean | undefined;
1509
1306
  } | undefined;
1307
+ parametersSchema?: import("../..").DataSchema | undefined;
1510
1308
  dependencies?: any[] | undefined;
1511
1309
  universalFlowId?: string | undefined;
1512
1310
  nodes?: Record<string, any> | undefined;
@@ -1530,51 +1328,36 @@ export declare const FindFlowRunsResponse: z.ZodObject<{
1530
1328
  updatedAt: string;
1531
1329
  userId: string;
1532
1330
  integrationId: string;
1533
- error?: any;
1331
+ error?: import("../..").ErrorDataSchema | undefined;
1534
1332
  state?: import("..").WorkspaceElementState | undefined;
1535
- errors?: any[] | undefined;
1536
- isDeactivated?: boolean | undefined;
1333
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1537
1334
  archivedAt?: string | undefined;
1538
- credentials?: unknown;
1539
- parameters?: unknown;
1540
- connectorParameters?: unknown;
1335
+ isDeactivated?: boolean | undefined;
1336
+ authOptionKey?: string | undefined;
1541
1337
  isTest?: boolean | undefined;
1338
+ meta?: Record<string, any> | undefined;
1542
1339
  disconnected?: boolean | undefined;
1543
1340
  isDefunct?: boolean | undefined;
1544
1341
  lastActiveAt?: string | undefined;
1545
1342
  nextCredentialsRefreshAt?: string | undefined;
1546
- meta?: Record<string, any> | undefined;
1547
1343
  } | undefined;
1548
1344
  integration?: {
1549
1345
  id: string;
1550
1346
  name: string;
1551
- baseUri: string;
1552
1347
  logoUri: string;
1553
1348
  key?: string | undefined;
1554
1349
  uuid?: string | undefined;
1555
1350
  description?: string | undefined;
1556
1351
  state?: import("..").WorkspaceElementState | undefined;
1557
- errors?: any[] | undefined;
1352
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1558
1353
  revision?: string | undefined;
1559
- isDeactivated?: boolean | undefined;
1560
1354
  createdAt?: string | undefined;
1561
1355
  updatedAt?: string | undefined;
1562
1356
  archivedAt?: string | undefined;
1357
+ isDeactivated?: boolean | undefined;
1563
1358
  parameters?: any;
1564
- parametersSchema?: import("../..").DataSchema | undefined;
1565
- isTest?: boolean | undefined;
1566
1359
  connectorId?: string | undefined;
1567
1360
  connectorVersion?: string | undefined;
1568
- authOptions?: {
1569
- key: string;
1570
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
1571
- description?: string | undefined;
1572
- title?: string | undefined;
1573
- ui?: {
1574
- schema?: any;
1575
- helpUri?: string | undefined;
1576
- } | undefined;
1577
- }[] | undefined;
1578
1361
  oAuthCallbackUri?: string | undefined;
1579
1362
  hasMissingParameters?: boolean | undefined;
1580
1363
  hasDocumentation?: boolean | undefined;
@@ -1586,13 +1369,15 @@ export declare const FindFlowRunsResponse: z.ZodObject<{
1586
1369
  eventsCount?: number | undefined;
1587
1370
  hasGlobalWebhooks?: boolean | undefined;
1588
1371
  hasUdm?: boolean | undefined;
1372
+ isTest?: boolean | undefined;
1589
1373
  appUuid?: string | undefined;
1590
1374
  authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
1591
1375
  } | undefined;
1592
1376
  name?: string | undefined;
1593
- errors?: any[] | undefined;
1377
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1594
1378
  connectionId?: string | undefined;
1595
1379
  integrationId?: string | undefined;
1380
+ input?: any;
1596
1381
  endTime?: string | undefined;
1597
1382
  user?: {
1598
1383
  id: string;
@@ -1606,7 +1391,6 @@ export declare const FindFlowRunsResponse: z.ZodObject<{
1606
1391
  lastActiveAt?: string | undefined;
1607
1392
  isBillable?: boolean | undefined;
1608
1393
  } | undefined;
1609
- input?: any;
1610
1394
  universalFlowId?: string | undefined;
1611
1395
  nodes?: Record<string, {
1612
1396
  state: import("../base/flow-runs").FlowRunNodeState;
@@ -1630,18 +1414,18 @@ export declare const FindFlowRunsResponse: z.ZodObject<{
1630
1414
  uuid?: string | undefined;
1631
1415
  description?: string | undefined;
1632
1416
  state?: import("..").WorkspaceElementState | undefined;
1633
- errors?: any[] | undefined;
1417
+ errors?: import("../..").ErrorDataSchema[] | undefined;
1634
1418
  revision?: string | undefined;
1635
- isDeactivated?: boolean | undefined;
1636
1419
  archivedAt?: string | undefined;
1420
+ isDeactivated?: boolean | undefined;
1637
1421
  instanceKey?: string | undefined;
1638
1422
  connectionId?: string | undefined;
1639
1423
  parameters?: any;
1640
- parametersSchema?: import("../..").DataSchema | undefined;
1641
1424
  customized?: {
1642
1425
  name?: boolean | undefined;
1643
1426
  nodes?: boolean | undefined;
1644
1427
  } | undefined;
1428
+ parametersSchema?: import("../..").DataSchema | undefined;
1645
1429
  dependencies?: any[] | undefined;
1646
1430
  universalFlowId?: string | undefined;
1647
1431
  nodes?: Record<string, any> | undefined;