@membranehq/sdk 0.7.0 → 0.7.3

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 (80) hide show
  1. package/dist/bundle.d.ts +3445 -3621
  2. package/dist/bundle.js +10 -1
  3. package/dist/bundle.js.map +1 -1
  4. package/dist/dts/accessors/connections-accessors.d.ts +4 -3
  5. package/dist/dts/accessors/integrations-accessors.d.ts +4 -3
  6. package/dist/dts/accessors/scenarios-accessors.d.ts +4 -3
  7. package/dist/dts/config/config.test.d.ts +1 -0
  8. package/dist/dts/config/index.d.ts +42 -0
  9. package/dist/dts/entity-repository.d.ts +2 -2
  10. package/dist/dts/index.browser.d.ts +31 -0
  11. package/dist/dts/index.d.ts +2 -0
  12. package/dist/dts/index.node.d.ts +2 -0
  13. package/dist/dts/integration-elements/index.d.ts +0 -2
  14. package/dist/dts/orgs/types.d.ts +1 -0
  15. package/dist/dts/{workspace-elements/base/scenarios/types.d.ts → scenario-templates/index.d.ts} +64 -169
  16. package/dist/dts/workspace-elements/api/action-instances-api.d.ts +39 -37
  17. package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +37 -37
  18. package/dist/dts/workspace-elements/api/actions-api.d.ts +64 -46
  19. package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +13 -0
  20. package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +3 -0
  21. package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +17 -2
  22. package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +13 -0
  23. package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +3 -0
  24. package/dist/dts/workspace-elements/api/connections-api.d.ts +57 -34
  25. package/dist/dts/workspace-elements/api/customers-api.d.ts +3 -0
  26. package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +29 -16
  27. package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +3 -0
  28. package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +51 -32
  29. package/dist/dts/workspace-elements/api/data-sources-api.d.ts +70 -36
  30. package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +27 -22
  31. package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +27 -22
  32. package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +21 -16
  33. package/dist/dts/workspace-elements/api/external-events-api.d.ts +7 -0
  34. package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +122 -76
  35. package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +58 -24
  36. package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +116 -104
  37. package/dist/dts/workspace-elements/api/flows-api.d.ts +133 -693
  38. package/dist/dts/workspace-elements/api/integrations-api.d.ts +12 -14
  39. package/dist/dts/workspace-elements/api/scenarios-api.d.ts +434 -431
  40. package/dist/dts/workspace-elements/base/action-instances/types.d.ts +5 -8
  41. package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +2 -2
  42. package/dist/dts/workspace-elements/base/actions/index.d.ts +18 -15
  43. package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +3 -0
  44. package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +3 -0
  45. package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +3 -0
  46. package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +3 -0
  47. package/dist/dts/workspace-elements/base/connections/types.d.ts +5 -8
  48. package/dist/dts/workspace-elements/base/customers/index.d.ts +3 -0
  49. package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +5 -2
  50. package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +3 -0
  51. package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +7 -4
  52. package/dist/dts/workspace-elements/base/data-sources/types.d.ts +17 -10
  53. package/dist/dts/workspace-elements/base/external-event-log-records/types.d.ts +2 -2
  54. package/dist/dts/workspace-elements/base/external-event-pulls/types.d.ts +2 -2
  55. package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +2 -2
  56. package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +7 -4
  57. package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +15 -8
  58. package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +26 -26
  59. package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +15 -15
  60. package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +2 -2
  61. package/dist/dts/workspace-elements/base/flows/types.d.ts +21 -14
  62. package/dist/dts/workspace-elements/base/integrations/types.d.ts +18 -0
  63. package/dist/dts/workspace-elements/base/scenarios/index.d.ts +163 -1
  64. package/dist/dts/workspace-elements/types.d.ts +118 -0
  65. package/dist/dts/workspace-elements-catalog/index.d.ts +1 -0
  66. package/dist/{index.module.d.mts → index.browser.d.mts} +17767 -17803
  67. package/dist/{index.d.ts → index.browser.d.ts} +17767 -17803
  68. package/dist/{index.js → index.browser.js} +114 -132
  69. package/dist/index.browser.js.map +1 -0
  70. package/dist/{index.module.mjs → index.browser.mjs} +110 -129
  71. package/dist/index.browser.mjs.map +1 -0
  72. package/dist/index.node.d.mts +27932 -0
  73. package/dist/index.node.d.ts +27932 -0
  74. package/dist/index.node.js +13334 -0
  75. package/dist/index.node.js.map +1 -0
  76. package/dist/index.node.mjs +12862 -0
  77. package/dist/index.node.mjs.map +1 -0
  78. package/package.json +38 -15
  79. package/dist/index.js.map +0 -1
  80. package/dist/index.module.mjs.map +0 -1
@@ -38,17 +38,17 @@ export declare const FindFlowsQuery: z.ZodObject<{
38
38
  integrationId: z.ZodOptional<z.ZodString>;
39
39
  }, "strip", z.ZodTypeAny, {
40
40
  search?: string | undefined;
41
+ integrationId?: string | undefined;
41
42
  includeArchived?: boolean | undefined;
42
43
  limit?: number | undefined;
43
44
  cursor?: string | undefined;
44
- integrationId?: string | undefined;
45
45
  universalFlowId?: string | undefined;
46
46
  }, {
47
47
  search?: string | undefined;
48
+ integrationId?: string | undefined;
48
49
  includeArchived?: unknown;
49
50
  limit?: number | undefined;
50
51
  cursor?: string | undefined;
51
- integrationId?: string | undefined;
52
52
  universalFlowId?: string | undefined;
53
53
  }>;
54
54
  export type FindFlowsQuery = z.infer<typeof FindFlowsQuery>;
@@ -292,26 +292,26 @@ export declare const FindFlowInstancesQuery: z.ZodObject<{
292
292
  integrationKey: z.ZodOptional<z.ZodString>;
293
293
  }, "strip", z.ZodTypeAny, {
294
294
  search?: string | undefined;
295
+ integrationId?: string | undefined;
295
296
  includeArchived?: boolean | undefined;
296
297
  limit?: number | undefined;
297
298
  cursor?: string | undefined;
298
299
  userId?: string | undefined;
299
300
  instanceKey?: string | undefined;
300
301
  connectionId?: string | undefined;
301
- integrationId?: string | undefined;
302
302
  integrationKey?: string | undefined;
303
303
  flowId?: string | undefined;
304
304
  enabled?: boolean | undefined;
305
305
  flowKey?: string | undefined;
306
306
  }, {
307
307
  search?: string | undefined;
308
+ integrationId?: string | undefined;
308
309
  includeArchived?: unknown;
309
310
  limit?: number | undefined;
310
311
  cursor?: string | undefined;
311
312
  userId?: string | undefined;
312
313
  instanceKey?: string | undefined;
313
314
  connectionId?: string | undefined;
314
- integrationId?: string | undefined;
315
315
  integrationKey?: string | undefined;
316
316
  flowId?: string | undefined;
317
317
  enabled?: boolean | undefined;
@@ -360,14 +360,20 @@ export declare const FlowApiResponse: z.ZodObject<{
360
360
  key: z.ZodOptional<z.ZodString>;
361
361
  uuid: z.ZodOptional<z.ZodString>;
362
362
  description: z.ZodOptional<z.ZodString>;
363
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
364
+ integrationId: z.ZodOptional<z.ZodString>;
365
+ parentId: z.ZodOptional<z.ZodString>;
366
+ } & {
363
367
  name: z.ZodString;
364
368
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
365
369
  errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
370
+ revision: z.ZodOptional<z.ZodString>;
366
371
  createdAt: z.ZodOptional<z.ZodString>;
367
372
  updatedAt: z.ZodOptional<z.ZodString>;
373
+ archivedAt: z.ZodOptional<z.ZodString>;
368
374
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
375
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
369
376
  } & {
370
- integrationId: z.ZodOptional<z.ZodString>;
371
377
  universalFlowId: z.ZodOptional<z.ZodString>;
372
378
  universalFlowRevision: z.ZodOptional<z.ZodString>;
373
379
  parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
@@ -402,9 +408,9 @@ export declare const FlowApiResponse: z.ZodObject<{
402
408
  type?: string | undefined;
403
409
  name?: string | undefined;
404
410
  description?: string | undefined;
411
+ isCustomized?: boolean | undefined;
405
412
  inputSchema?: any;
406
413
  config?: any;
407
- isCustomized?: boolean | undefined;
408
414
  outputSchema?: any;
409
415
  version?: number | undefined;
410
416
  onError?: "stop" | "continue" | undefined;
@@ -420,9 +426,9 @@ export declare const FlowApiResponse: z.ZodObject<{
420
426
  type?: string | undefined;
421
427
  name?: string | undefined;
422
428
  description?: string | undefined;
429
+ isCustomized?: boolean | undefined;
423
430
  inputSchema?: any;
424
431
  config?: any;
425
- isCustomized?: boolean | undefined;
426
432
  outputSchema?: any;
427
433
  version?: number | undefined;
428
434
  onError?: "stop" | "continue" | undefined;
@@ -435,15 +441,13 @@ export declare const FlowApiResponse: z.ZodObject<{
435
441
  }[] | undefined;
436
442
  }>>>;
437
443
  autoCreateInstances: z.ZodOptional<z.ZodBoolean>;
438
- archivedAt: z.ZodOptional<z.ZodString>;
439
- revision: z.ZodString;
440
- customized: z.ZodOptional<z.ZodBoolean>;
441
444
  } & {
442
445
  integration: z.ZodOptional<z.ZodObject<{
443
446
  id: z.ZodString;
444
447
  key: z.ZodOptional<z.ZodString>;
445
448
  uuid: z.ZodOptional<z.ZodString>;
446
449
  description: z.ZodOptional<z.ZodString>;
450
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
447
451
  name: z.ZodString;
448
452
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
449
453
  errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
@@ -478,6 +482,7 @@ export declare const FlowApiResponse: z.ZodObject<{
478
482
  key?: string | undefined;
479
483
  uuid?: string | undefined;
480
484
  description?: string | undefined;
485
+ meta?: Record<string, any> | undefined;
481
486
  state?: import("..").WorkspaceElementState | undefined;
482
487
  errors?: import("../..").ErrorDataSchema[] | undefined;
483
488
  revision?: string | undefined;
@@ -509,6 +514,7 @@ export declare const FlowApiResponse: z.ZodObject<{
509
514
  key?: string | undefined;
510
515
  uuid?: string | undefined;
511
516
  description?: string | undefined;
517
+ meta?: Record<string, any> | undefined;
512
518
  state?: import("..").WorkspaceElementState | undefined;
513
519
  errors?: import("../..").ErrorDataSchema[] | undefined;
514
520
  revision?: string | undefined;
@@ -537,169 +543,26 @@ export declare const FlowApiResponse: z.ZodObject<{
537
543
  appliedToIntegrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
538
544
  element: z.ZodObject<{
539
545
  id: z.ZodString;
540
- key: z.ZodOptional<z.ZodString>;
541
- uuid: z.ZodOptional<z.ZodString>;
542
- description: z.ZodOptional<z.ZodString>;
543
- name: z.ZodString;
544
- state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
545
- errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
546
- createdAt: z.ZodOptional<z.ZodString>;
547
- updatedAt: z.ZodOptional<z.ZodString>;
548
- isDeactivated: z.ZodOptional<z.ZodBoolean>;
549
- } & {
550
546
  integrationId: z.ZodOptional<z.ZodString>;
547
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
551
548
  universalFlowId: z.ZodOptional<z.ZodString>;
552
- universalFlowRevision: z.ZodOptional<z.ZodString>;
553
- parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
554
- nodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
555
- type: z.ZodOptional<z.ZodString>;
556
- version: z.ZodOptional<z.ZodNumber>;
557
- name: z.ZodOptional<z.ZodString>;
558
- description: z.ZodOptional<z.ZodString>;
559
- config: z.ZodOptional<z.ZodAny>;
560
- concurrency: z.ZodOptional<z.ZodNumber>;
561
- onError: z.ZodOptional<z.ZodEnum<["stop", "continue"]>>;
562
- ui: z.ZodOptional<z.ZodAny>;
563
- inputSchema: z.ZodOptional<z.ZodAny>;
564
- outputSchema: z.ZodOptional<z.ZodAny>;
565
- outputExample: z.ZodOptional<z.ZodAny>;
566
- links: z.ZodOptional<z.ZodArray<z.ZodObject<{
567
- key: z.ZodOptional<z.ZodString>;
568
- filter: z.ZodOptional<z.ZodAny>;
569
- name: z.ZodOptional<z.ZodString>;
570
- }, "strip", z.ZodTypeAny, {
571
- key?: string | undefined;
572
- filter?: any;
573
- name?: string | undefined;
574
- }, {
575
- key?: string | undefined;
576
- filter?: any;
577
- name?: string | undefined;
578
- }>, "many">>;
579
- isCustomized: z.ZodOptional<z.ZodBoolean>;
580
- }, "strip", z.ZodTypeAny, {
581
- concurrency?: number | undefined;
582
- type?: string | undefined;
583
- name?: string | undefined;
584
- description?: string | undefined;
585
- inputSchema?: any;
586
- config?: any;
587
- isCustomized?: boolean | undefined;
588
- outputSchema?: any;
589
- version?: number | undefined;
590
- onError?: "stop" | "continue" | undefined;
591
- ui?: any;
592
- outputExample?: any;
593
- links?: {
594
- key?: string | undefined;
595
- filter?: any;
596
- name?: string | undefined;
597
- }[] | undefined;
598
- }, {
599
- concurrency?: number | undefined;
600
- type?: string | undefined;
601
- name?: string | undefined;
602
- description?: string | undefined;
603
- inputSchema?: any;
604
- config?: any;
605
- isCustomized?: boolean | undefined;
606
- outputSchema?: any;
607
- version?: number | undefined;
608
- onError?: "stop" | "continue" | undefined;
609
- ui?: any;
610
- outputExample?: any;
611
- links?: {
612
- key?: string | undefined;
613
- filter?: any;
614
- name?: string | undefined;
615
- }[] | undefined;
616
- }>>>;
617
- autoCreateInstances: z.ZodOptional<z.ZodBoolean>;
618
- archivedAt: z.ZodOptional<z.ZodString>;
619
- revision: z.ZodString;
620
- customized: z.ZodOptional<z.ZodBoolean>;
621
549
  }, "strip", z.ZodTypeAny, {
622
550
  id: string;
623
- name: string;
624
- revision: string;
625
- key?: string | undefined;
626
- uuid?: string | undefined;
627
- description?: string | undefined;
628
- state?: import("..").WorkspaceElementState | undefined;
629
- errors?: import("../..").ErrorDataSchema[] | undefined;
630
- createdAt?: string | undefined;
631
- updatedAt?: string | undefined;
632
- archivedAt?: string | undefined;
633
- isDeactivated?: boolean | undefined;
634
551
  integrationId?: string | undefined;
635
- customized?: boolean | undefined;
636
- parametersSchema?: DataSchema | undefined;
552
+ isCustomized?: boolean | undefined;
637
553
  universalFlowId?: string | undefined;
638
- universalFlowRevision?: string | undefined;
639
- nodes?: Record<string, {
640
- concurrency?: number | undefined;
641
- type?: string | undefined;
642
- name?: string | undefined;
643
- description?: string | undefined;
644
- inputSchema?: any;
645
- config?: any;
646
- isCustomized?: boolean | undefined;
647
- outputSchema?: any;
648
- version?: number | undefined;
649
- onError?: "stop" | "continue" | undefined;
650
- ui?: any;
651
- outputExample?: any;
652
- links?: {
653
- key?: string | undefined;
654
- filter?: any;
655
- name?: string | undefined;
656
- }[] | undefined;
657
- }> | undefined;
658
- autoCreateInstances?: boolean | undefined;
659
554
  }, {
660
555
  id: string;
661
- name: string;
662
- revision: string;
663
- key?: string | undefined;
664
- uuid?: string | undefined;
665
- description?: string | undefined;
666
- state?: import("..").WorkspaceElementState | undefined;
667
- errors?: import("../..").ErrorDataSchema[] | undefined;
668
- createdAt?: string | undefined;
669
- updatedAt?: string | undefined;
670
- archivedAt?: string | undefined;
671
- isDeactivated?: boolean | undefined;
672
556
  integrationId?: string | undefined;
673
- customized?: boolean | undefined;
674
- parametersSchema?: DataSchema | undefined;
557
+ isCustomized?: boolean | undefined;
675
558
  universalFlowId?: string | undefined;
676
- universalFlowRevision?: string | undefined;
677
- nodes?: Record<string, {
678
- concurrency?: number | undefined;
679
- type?: string | undefined;
680
- name?: string | undefined;
681
- description?: string | undefined;
682
- inputSchema?: any;
683
- config?: any;
684
- isCustomized?: boolean | undefined;
685
- outputSchema?: any;
686
- version?: number | undefined;
687
- onError?: "stop" | "continue" | undefined;
688
- ui?: any;
689
- outputExample?: any;
690
- links?: {
691
- key?: string | undefined;
692
- filter?: any;
693
- name?: string | undefined;
694
- }[] | undefined;
695
- }> | undefined;
696
- autoCreateInstances?: boolean | undefined;
697
559
  }>;
698
560
  integration: z.ZodObject<{
699
561
  id: z.ZodString;
700
562
  key: z.ZodOptional<z.ZodString>;
701
563
  uuid: z.ZodOptional<z.ZodString>;
702
564
  description: z.ZodOptional<z.ZodString>;
565
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
703
566
  name: z.ZodString;
704
567
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
705
568
  errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
@@ -734,6 +597,7 @@ export declare const FlowApiResponse: z.ZodObject<{
734
597
  key?: string | undefined;
735
598
  uuid?: string | undefined;
736
599
  description?: string | undefined;
600
+ meta?: Record<string, any> | undefined;
737
601
  state?: import("..").WorkspaceElementState | undefined;
738
602
  errors?: import("../..").ErrorDataSchema[] | undefined;
739
603
  revision?: string | undefined;
@@ -765,6 +629,7 @@ export declare const FlowApiResponse: z.ZodObject<{
765
629
  key?: string | undefined;
766
630
  uuid?: string | undefined;
767
631
  description?: string | undefined;
632
+ meta?: Record<string, any> | undefined;
768
633
  state?: import("..").WorkspaceElementState | undefined;
769
634
  errors?: import("../..").ErrorDataSchema[] | undefined;
770
635
  revision?: string | undefined;
@@ -798,6 +663,7 @@ export declare const FlowApiResponse: z.ZodObject<{
798
663
  key?: string | undefined;
799
664
  uuid?: string | undefined;
800
665
  description?: string | undefined;
666
+ meta?: Record<string, any> | undefined;
801
667
  state?: import("..").WorkspaceElementState | undefined;
802
668
  errors?: import("../..").ErrorDataSchema[] | undefined;
803
669
  revision?: string | undefined;
@@ -825,42 +691,9 @@ export declare const FlowApiResponse: z.ZodObject<{
825
691
  };
826
692
  element: {
827
693
  id: string;
828
- name: string;
829
- revision: string;
830
- key?: string | undefined;
831
- uuid?: string | undefined;
832
- description?: string | undefined;
833
- state?: import("..").WorkspaceElementState | undefined;
834
- errors?: import("../..").ErrorDataSchema[] | undefined;
835
- createdAt?: string | undefined;
836
- updatedAt?: string | undefined;
837
- archivedAt?: string | undefined;
838
- isDeactivated?: boolean | undefined;
839
694
  integrationId?: string | undefined;
840
- customized?: boolean | undefined;
841
- parametersSchema?: DataSchema | undefined;
695
+ isCustomized?: boolean | undefined;
842
696
  universalFlowId?: string | undefined;
843
- universalFlowRevision?: string | undefined;
844
- nodes?: Record<string, {
845
- concurrency?: number | undefined;
846
- type?: string | undefined;
847
- name?: string | undefined;
848
- description?: string | undefined;
849
- inputSchema?: any;
850
- config?: any;
851
- isCustomized?: boolean | undefined;
852
- outputSchema?: any;
853
- version?: number | undefined;
854
- onError?: "stop" | "continue" | undefined;
855
- ui?: any;
856
- outputExample?: any;
857
- links?: {
858
- key?: string | undefined;
859
- filter?: any;
860
- name?: string | undefined;
861
- }[] | undefined;
862
- }> | undefined;
863
- autoCreateInstances?: boolean | undefined;
864
697
  };
865
698
  }, {
866
699
  integration: {
@@ -870,6 +703,7 @@ export declare const FlowApiResponse: z.ZodObject<{
870
703
  key?: string | undefined;
871
704
  uuid?: string | undefined;
872
705
  description?: string | undefined;
706
+ meta?: Record<string, any> | undefined;
873
707
  state?: import("..").WorkspaceElementState | undefined;
874
708
  errors?: import("../..").ErrorDataSchema[] | undefined;
875
709
  revision?: string | undefined;
@@ -897,48 +731,15 @@ export declare const FlowApiResponse: z.ZodObject<{
897
731
  };
898
732
  element: {
899
733
  id: string;
900
- name: string;
901
- revision: string;
902
- key?: string | undefined;
903
- uuid?: string | undefined;
904
- description?: string | undefined;
905
- state?: import("..").WorkspaceElementState | undefined;
906
- errors?: import("../..").ErrorDataSchema[] | undefined;
907
- createdAt?: string | undefined;
908
- updatedAt?: string | undefined;
909
- archivedAt?: string | undefined;
910
- isDeactivated?: boolean | undefined;
911
734
  integrationId?: string | undefined;
912
- customized?: boolean | undefined;
913
- parametersSchema?: DataSchema | undefined;
735
+ isCustomized?: boolean | undefined;
914
736
  universalFlowId?: string | undefined;
915
- universalFlowRevision?: string | undefined;
916
- nodes?: Record<string, {
917
- concurrency?: number | undefined;
918
- type?: string | undefined;
919
- name?: string | undefined;
920
- description?: string | undefined;
921
- inputSchema?: any;
922
- config?: any;
923
- isCustomized?: boolean | undefined;
924
- outputSchema?: any;
925
- version?: number | undefined;
926
- onError?: "stop" | "continue" | undefined;
927
- ui?: any;
928
- outputExample?: any;
929
- links?: {
930
- key?: string | undefined;
931
- filter?: any;
932
- name?: string | undefined;
933
- }[] | undefined;
934
- }> | undefined;
935
- autoCreateInstances?: boolean | undefined;
936
737
  };
937
738
  }>, "many">>;
739
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
938
740
  }, "strip", z.ZodTypeAny, {
939
741
  id: string;
940
742
  name: string;
941
- revision: string;
942
743
  key?: string | undefined;
943
744
  integration?: {
944
745
  id: string;
@@ -947,6 +748,7 @@ export declare const FlowApiResponse: z.ZodObject<{
947
748
  key?: string | undefined;
948
749
  uuid?: string | undefined;
949
750
  description?: string | undefined;
751
+ meta?: Record<string, any> | undefined;
950
752
  state?: import("..").WorkspaceElementState | undefined;
951
753
  errors?: import("../..").ErrorDataSchema[] | undefined;
952
754
  revision?: string | undefined;
@@ -974,14 +776,17 @@ export declare const FlowApiResponse: z.ZodObject<{
974
776
  } | undefined;
975
777
  uuid?: string | undefined;
976
778
  description?: string | undefined;
779
+ meta?: Record<string, any> | undefined;
977
780
  state?: import("..").WorkspaceElementState | undefined;
978
781
  errors?: import("../..").ErrorDataSchema[] | undefined;
782
+ revision?: string | undefined;
979
783
  createdAt?: string | undefined;
980
784
  updatedAt?: string | undefined;
981
785
  archivedAt?: string | undefined;
982
786
  isDeactivated?: boolean | undefined;
983
787
  integrationId?: string | undefined;
984
- customized?: boolean | undefined;
788
+ parentId?: string | undefined;
789
+ isCustomized?: boolean | undefined;
985
790
  parametersSchema?: DataSchema | undefined;
986
791
  appliedToIntegrations?: {
987
792
  integration: {
@@ -991,6 +796,7 @@ export declare const FlowApiResponse: z.ZodObject<{
991
796
  key?: string | undefined;
992
797
  uuid?: string | undefined;
993
798
  description?: string | undefined;
799
+ meta?: Record<string, any> | undefined;
994
800
  state?: import("..").WorkspaceElementState | undefined;
995
801
  errors?: import("../..").ErrorDataSchema[] | undefined;
996
802
  revision?: string | undefined;
@@ -1018,44 +824,12 @@ export declare const FlowApiResponse: z.ZodObject<{
1018
824
  };
1019
825
  element: {
1020
826
  id: string;
1021
- name: string;
1022
- revision: string;
1023
- key?: string | undefined;
1024
- uuid?: string | undefined;
1025
- description?: string | undefined;
1026
- state?: import("..").WorkspaceElementState | undefined;
1027
- errors?: import("../..").ErrorDataSchema[] | undefined;
1028
- createdAt?: string | undefined;
1029
- updatedAt?: string | undefined;
1030
- archivedAt?: string | undefined;
1031
- isDeactivated?: boolean | undefined;
1032
827
  integrationId?: string | undefined;
1033
- customized?: boolean | undefined;
1034
- parametersSchema?: DataSchema | undefined;
828
+ isCustomized?: boolean | undefined;
1035
829
  universalFlowId?: string | undefined;
1036
- universalFlowRevision?: string | undefined;
1037
- nodes?: Record<string, {
1038
- concurrency?: number | undefined;
1039
- type?: string | undefined;
1040
- name?: string | undefined;
1041
- description?: string | undefined;
1042
- inputSchema?: any;
1043
- config?: any;
1044
- isCustomized?: boolean | undefined;
1045
- outputSchema?: any;
1046
- version?: number | undefined;
1047
- onError?: "stop" | "continue" | undefined;
1048
- ui?: any;
1049
- outputExample?: any;
1050
- links?: {
1051
- key?: string | undefined;
1052
- filter?: any;
1053
- name?: string | undefined;
1054
- }[] | undefined;
1055
- }> | undefined;
1056
- autoCreateInstances?: boolean | undefined;
1057
830
  };
1058
831
  }[] | undefined;
832
+ dependencies?: any[] | undefined;
1059
833
  universalFlowId?: string | undefined;
1060
834
  universalFlowRevision?: string | undefined;
1061
835
  nodes?: Record<string, {
@@ -1063,9 +837,9 @@ export declare const FlowApiResponse: z.ZodObject<{
1063
837
  type?: string | undefined;
1064
838
  name?: string | undefined;
1065
839
  description?: string | undefined;
840
+ isCustomized?: boolean | undefined;
1066
841
  inputSchema?: any;
1067
842
  config?: any;
1068
- isCustomized?: boolean | undefined;
1069
843
  outputSchema?: any;
1070
844
  version?: number | undefined;
1071
845
  onError?: "stop" | "continue" | undefined;
@@ -1081,7 +855,6 @@ export declare const FlowApiResponse: z.ZodObject<{
1081
855
  }, {
1082
856
  id: string;
1083
857
  name: string;
1084
- revision: string;
1085
858
  key?: string | undefined;
1086
859
  integration?: {
1087
860
  id: string;
@@ -1090,6 +863,7 @@ export declare const FlowApiResponse: z.ZodObject<{
1090
863
  key?: string | undefined;
1091
864
  uuid?: string | undefined;
1092
865
  description?: string | undefined;
866
+ meta?: Record<string, any> | undefined;
1093
867
  state?: import("..").WorkspaceElementState | undefined;
1094
868
  errors?: import("../..").ErrorDataSchema[] | undefined;
1095
869
  revision?: string | undefined;
@@ -1117,14 +891,17 @@ export declare const FlowApiResponse: z.ZodObject<{
1117
891
  } | undefined;
1118
892
  uuid?: string | undefined;
1119
893
  description?: string | undefined;
894
+ meta?: Record<string, any> | undefined;
1120
895
  state?: import("..").WorkspaceElementState | undefined;
1121
896
  errors?: import("../..").ErrorDataSchema[] | undefined;
897
+ revision?: string | undefined;
1122
898
  createdAt?: string | undefined;
1123
899
  updatedAt?: string | undefined;
1124
900
  archivedAt?: string | undefined;
1125
901
  isDeactivated?: boolean | undefined;
1126
902
  integrationId?: string | undefined;
1127
- customized?: boolean | undefined;
903
+ parentId?: string | undefined;
904
+ isCustomized?: boolean | undefined;
1128
905
  parametersSchema?: DataSchema | undefined;
1129
906
  appliedToIntegrations?: {
1130
907
  integration: {
@@ -1134,6 +911,7 @@ export declare const FlowApiResponse: z.ZodObject<{
1134
911
  key?: string | undefined;
1135
912
  uuid?: string | undefined;
1136
913
  description?: string | undefined;
914
+ meta?: Record<string, any> | undefined;
1137
915
  state?: import("..").WorkspaceElementState | undefined;
1138
916
  errors?: import("../..").ErrorDataSchema[] | undefined;
1139
917
  revision?: string | undefined;
@@ -1161,44 +939,12 @@ export declare const FlowApiResponse: z.ZodObject<{
1161
939
  };
1162
940
  element: {
1163
941
  id: string;
1164
- name: string;
1165
- revision: string;
1166
- key?: string | undefined;
1167
- uuid?: string | undefined;
1168
- description?: string | undefined;
1169
- state?: import("..").WorkspaceElementState | undefined;
1170
- errors?: import("../..").ErrorDataSchema[] | undefined;
1171
- createdAt?: string | undefined;
1172
- updatedAt?: string | undefined;
1173
- archivedAt?: string | undefined;
1174
- isDeactivated?: boolean | undefined;
1175
942
  integrationId?: string | undefined;
1176
- customized?: boolean | undefined;
1177
- parametersSchema?: DataSchema | undefined;
943
+ isCustomized?: boolean | undefined;
1178
944
  universalFlowId?: string | undefined;
1179
- universalFlowRevision?: string | undefined;
1180
- nodes?: Record<string, {
1181
- concurrency?: number | undefined;
1182
- type?: string | undefined;
1183
- name?: string | undefined;
1184
- description?: string | undefined;
1185
- inputSchema?: any;
1186
- config?: any;
1187
- isCustomized?: boolean | undefined;
1188
- outputSchema?: any;
1189
- version?: number | undefined;
1190
- onError?: "stop" | "continue" | undefined;
1191
- ui?: any;
1192
- outputExample?: any;
1193
- links?: {
1194
- key?: string | undefined;
1195
- filter?: any;
1196
- name?: string | undefined;
1197
- }[] | undefined;
1198
- }> | undefined;
1199
- autoCreateInstances?: boolean | undefined;
1200
945
  };
1201
946
  }[] | undefined;
947
+ dependencies?: any[] | undefined;
1202
948
  universalFlowId?: string | undefined;
1203
949
  universalFlowRevision?: string | undefined;
1204
950
  nodes?: Record<string, {
@@ -1206,9 +952,9 @@ export declare const FlowApiResponse: z.ZodObject<{
1206
952
  type?: string | undefined;
1207
953
  name?: string | undefined;
1208
954
  description?: string | undefined;
955
+ isCustomized?: boolean | undefined;
1209
956
  inputSchema?: any;
1210
957
  config?: any;
1211
- isCustomized?: boolean | undefined;
1212
958
  outputSchema?: any;
1213
959
  version?: number | undefined;
1214
960
  onError?: "stop" | "continue" | undefined;
@@ -1229,6 +975,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1229
975
  key: z.ZodOptional<z.ZodString>;
1230
976
  uuid: z.ZodOptional<z.ZodString>;
1231
977
  description: z.ZodOptional<z.ZodString>;
978
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1232
979
  name: z.ZodString;
1233
980
  errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
1234
981
  revision: z.ZodOptional<z.ZodString>;
@@ -1248,7 +995,6 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1248
995
  createdAt: z.ZodString;
1249
996
  updatedAt: z.ZodString;
1250
997
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
1251
- outdated: z.ZodOptional<z.ZodBoolean>;
1252
998
  customized: z.ZodOptional<z.ZodObject<{
1253
999
  name: z.ZodOptional<z.ZodBoolean>;
1254
1000
  nodes: z.ZodOptional<z.ZodBoolean>;
@@ -1265,6 +1011,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1265
1011
  id: string;
1266
1012
  name: string;
1267
1013
  internalId: string;
1014
+ meta?: Record<string, any> | undefined;
1268
1015
  createdAt?: string | undefined;
1269
1016
  archivedAt?: string | undefined;
1270
1017
  credentials?: any;
@@ -1276,6 +1023,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1276
1023
  id: string;
1277
1024
  name: string;
1278
1025
  internalId: string;
1026
+ meta?: Record<string, any> | undefined;
1279
1027
  createdAt?: string | undefined;
1280
1028
  archivedAt?: string | undefined;
1281
1029
  credentials?: any;
@@ -1289,16 +1037,15 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1289
1037
  name: string;
1290
1038
  createdAt: string;
1291
1039
  updatedAt: string;
1292
- userId: string;
1293
1040
  integrationId: string;
1041
+ userId: string;
1294
1042
  error?: import("../..").ErrorDataSchema | undefined;
1043
+ meta?: Record<string, any> | undefined;
1295
1044
  state?: import("..").WorkspaceElementState | undefined;
1296
- errors?: import("../..").ErrorDataSchema[] | undefined;
1297
1045
  archivedAt?: string | undefined;
1298
1046
  isDeactivated?: boolean | undefined;
1299
1047
  authOptionKey?: string | undefined;
1300
1048
  isTest?: boolean | undefined;
1301
- meta?: Record<string, any> | undefined;
1302
1049
  disconnected?: boolean | undefined;
1303
1050
  isDefunct?: boolean | undefined;
1304
1051
  lastActiveAt?: string | undefined;
@@ -1308,16 +1055,15 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1308
1055
  name: string;
1309
1056
  createdAt: string;
1310
1057
  updatedAt: string;
1311
- userId: string;
1312
1058
  integrationId: string;
1059
+ userId: string;
1313
1060
  error?: import("../..").ErrorDataSchema | undefined;
1061
+ meta?: Record<string, any> | undefined;
1314
1062
  state?: import("..").WorkspaceElementState | undefined;
1315
- errors?: import("../..").ErrorDataSchema[] | undefined;
1316
1063
  archivedAt?: string | undefined;
1317
1064
  isDeactivated?: boolean | undefined;
1318
1065
  authOptionKey?: string | undefined;
1319
1066
  isTest?: boolean | undefined;
1320
- meta?: Record<string, any> | undefined;
1321
1067
  disconnected?: boolean | undefined;
1322
1068
  isDefunct?: boolean | undefined;
1323
1069
  lastActiveAt?: string | undefined;
@@ -1328,14 +1074,20 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1328
1074
  key: z.ZodOptional<z.ZodString>;
1329
1075
  uuid: z.ZodOptional<z.ZodString>;
1330
1076
  description: z.ZodOptional<z.ZodString>;
1077
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1078
+ integrationId: z.ZodOptional<z.ZodString>;
1079
+ parentId: z.ZodOptional<z.ZodString>;
1080
+ } & {
1331
1081
  name: z.ZodString;
1332
1082
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
1333
1083
  errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
1084
+ revision: z.ZodOptional<z.ZodString>;
1334
1085
  createdAt: z.ZodOptional<z.ZodString>;
1335
1086
  updatedAt: z.ZodOptional<z.ZodString>;
1087
+ archivedAt: z.ZodOptional<z.ZodString>;
1336
1088
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
1089
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
1337
1090
  } & {
1338
- integrationId: z.ZodOptional<z.ZodString>;
1339
1091
  universalFlowId: z.ZodOptional<z.ZodString>;
1340
1092
  universalFlowRevision: z.ZodOptional<z.ZodString>;
1341
1093
  parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
@@ -1370,9 +1122,9 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1370
1122
  type?: string | undefined;
1371
1123
  name?: string | undefined;
1372
1124
  description?: string | undefined;
1125
+ isCustomized?: boolean | undefined;
1373
1126
  inputSchema?: any;
1374
1127
  config?: any;
1375
- isCustomized?: boolean | undefined;
1376
1128
  outputSchema?: any;
1377
1129
  version?: number | undefined;
1378
1130
  onError?: "stop" | "continue" | undefined;
@@ -1388,9 +1140,9 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1388
1140
  type?: string | undefined;
1389
1141
  name?: string | undefined;
1390
1142
  description?: string | undefined;
1143
+ isCustomized?: boolean | undefined;
1391
1144
  inputSchema?: any;
1392
1145
  config?: any;
1393
- isCustomized?: boolean | undefined;
1394
1146
  outputSchema?: any;
1395
1147
  version?: number | undefined;
1396
1148
  onError?: "stop" | "continue" | undefined;
@@ -1403,15 +1155,13 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1403
1155
  }[] | undefined;
1404
1156
  }>>>;
1405
1157
  autoCreateInstances: z.ZodOptional<z.ZodBoolean>;
1406
- archivedAt: z.ZodOptional<z.ZodString>;
1407
- revision: z.ZodString;
1408
- customized: z.ZodOptional<z.ZodBoolean>;
1409
1158
  } & {
1410
1159
  integration: z.ZodOptional<z.ZodObject<{
1411
1160
  id: z.ZodString;
1412
1161
  key: z.ZodOptional<z.ZodString>;
1413
1162
  uuid: z.ZodOptional<z.ZodString>;
1414
1163
  description: z.ZodOptional<z.ZodString>;
1164
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1415
1165
  name: z.ZodString;
1416
1166
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
1417
1167
  errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
@@ -1446,6 +1196,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1446
1196
  key?: string | undefined;
1447
1197
  uuid?: string | undefined;
1448
1198
  description?: string | undefined;
1199
+ meta?: Record<string, any> | undefined;
1449
1200
  state?: import("..").WorkspaceElementState | undefined;
1450
1201
  errors?: import("../..").ErrorDataSchema[] | undefined;
1451
1202
  revision?: string | undefined;
@@ -1477,6 +1228,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1477
1228
  key?: string | undefined;
1478
1229
  uuid?: string | undefined;
1479
1230
  description?: string | undefined;
1231
+ meta?: Record<string, any> | undefined;
1480
1232
  state?: import("..").WorkspaceElementState | undefined;
1481
1233
  errors?: import("../..").ErrorDataSchema[] | undefined;
1482
1234
  revision?: string | undefined;
@@ -1505,169 +1257,26 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1505
1257
  appliedToIntegrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
1506
1258
  element: z.ZodObject<{
1507
1259
  id: z.ZodString;
1508
- key: z.ZodOptional<z.ZodString>;
1509
- uuid: z.ZodOptional<z.ZodString>;
1510
- description: z.ZodOptional<z.ZodString>;
1511
- name: z.ZodString;
1512
- state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
1513
- errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
1514
- createdAt: z.ZodOptional<z.ZodString>;
1515
- updatedAt: z.ZodOptional<z.ZodString>;
1516
- isDeactivated: z.ZodOptional<z.ZodBoolean>;
1517
- } & {
1518
1260
  integrationId: z.ZodOptional<z.ZodString>;
1261
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
1519
1262
  universalFlowId: z.ZodOptional<z.ZodString>;
1520
- universalFlowRevision: z.ZodOptional<z.ZodString>;
1521
- parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
1522
- nodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1523
- type: z.ZodOptional<z.ZodString>;
1524
- version: z.ZodOptional<z.ZodNumber>;
1525
- name: z.ZodOptional<z.ZodString>;
1526
- description: z.ZodOptional<z.ZodString>;
1527
- config: z.ZodOptional<z.ZodAny>;
1528
- concurrency: z.ZodOptional<z.ZodNumber>;
1529
- onError: z.ZodOptional<z.ZodEnum<["stop", "continue"]>>;
1530
- ui: z.ZodOptional<z.ZodAny>;
1531
- inputSchema: z.ZodOptional<z.ZodAny>;
1532
- outputSchema: z.ZodOptional<z.ZodAny>;
1533
- outputExample: z.ZodOptional<z.ZodAny>;
1534
- links: z.ZodOptional<z.ZodArray<z.ZodObject<{
1535
- key: z.ZodOptional<z.ZodString>;
1536
- filter: z.ZodOptional<z.ZodAny>;
1537
- name: z.ZodOptional<z.ZodString>;
1538
- }, "strip", z.ZodTypeAny, {
1539
- key?: string | undefined;
1540
- filter?: any;
1541
- name?: string | undefined;
1542
- }, {
1543
- key?: string | undefined;
1544
- filter?: any;
1545
- name?: string | undefined;
1546
- }>, "many">>;
1547
- isCustomized: z.ZodOptional<z.ZodBoolean>;
1548
- }, "strip", z.ZodTypeAny, {
1549
- concurrency?: number | undefined;
1550
- type?: string | undefined;
1551
- name?: string | undefined;
1552
- description?: string | undefined;
1553
- inputSchema?: any;
1554
- config?: any;
1555
- isCustomized?: boolean | undefined;
1556
- outputSchema?: any;
1557
- version?: number | undefined;
1558
- onError?: "stop" | "continue" | undefined;
1559
- ui?: any;
1560
- outputExample?: any;
1561
- links?: {
1562
- key?: string | undefined;
1563
- filter?: any;
1564
- name?: string | undefined;
1565
- }[] | undefined;
1566
- }, {
1567
- concurrency?: number | undefined;
1568
- type?: string | undefined;
1569
- name?: string | undefined;
1570
- description?: string | undefined;
1571
- inputSchema?: any;
1572
- config?: any;
1573
- isCustomized?: boolean | undefined;
1574
- outputSchema?: any;
1575
- version?: number | undefined;
1576
- onError?: "stop" | "continue" | undefined;
1577
- ui?: any;
1578
- outputExample?: any;
1579
- links?: {
1580
- key?: string | undefined;
1581
- filter?: any;
1582
- name?: string | undefined;
1583
- }[] | undefined;
1584
- }>>>;
1585
- autoCreateInstances: z.ZodOptional<z.ZodBoolean>;
1586
- archivedAt: z.ZodOptional<z.ZodString>;
1587
- revision: z.ZodString;
1588
- customized: z.ZodOptional<z.ZodBoolean>;
1589
1263
  }, "strip", z.ZodTypeAny, {
1590
1264
  id: string;
1591
- name: string;
1592
- revision: string;
1593
- key?: string | undefined;
1594
- uuid?: string | undefined;
1595
- description?: string | undefined;
1596
- state?: import("..").WorkspaceElementState | undefined;
1597
- errors?: import("../..").ErrorDataSchema[] | undefined;
1598
- createdAt?: string | undefined;
1599
- updatedAt?: string | undefined;
1600
- archivedAt?: string | undefined;
1601
- isDeactivated?: boolean | undefined;
1602
1265
  integrationId?: string | undefined;
1603
- customized?: boolean | undefined;
1604
- parametersSchema?: DataSchema | undefined;
1266
+ isCustomized?: boolean | undefined;
1605
1267
  universalFlowId?: string | undefined;
1606
- universalFlowRevision?: string | undefined;
1607
- nodes?: Record<string, {
1608
- concurrency?: number | undefined;
1609
- type?: string | undefined;
1610
- name?: string | undefined;
1611
- description?: string | undefined;
1612
- inputSchema?: any;
1613
- config?: any;
1614
- isCustomized?: boolean | undefined;
1615
- outputSchema?: any;
1616
- version?: number | undefined;
1617
- onError?: "stop" | "continue" | undefined;
1618
- ui?: any;
1619
- outputExample?: any;
1620
- links?: {
1621
- key?: string | undefined;
1622
- filter?: any;
1623
- name?: string | undefined;
1624
- }[] | undefined;
1625
- }> | undefined;
1626
- autoCreateInstances?: boolean | undefined;
1627
1268
  }, {
1628
1269
  id: string;
1629
- name: string;
1630
- revision: string;
1631
- key?: string | undefined;
1632
- uuid?: string | undefined;
1633
- description?: string | undefined;
1634
- state?: import("..").WorkspaceElementState | undefined;
1635
- errors?: import("../..").ErrorDataSchema[] | undefined;
1636
- createdAt?: string | undefined;
1637
- updatedAt?: string | undefined;
1638
- archivedAt?: string | undefined;
1639
- isDeactivated?: boolean | undefined;
1640
1270
  integrationId?: string | undefined;
1641
- customized?: boolean | undefined;
1642
- parametersSchema?: DataSchema | undefined;
1271
+ isCustomized?: boolean | undefined;
1643
1272
  universalFlowId?: string | undefined;
1644
- universalFlowRevision?: string | undefined;
1645
- nodes?: Record<string, {
1646
- concurrency?: number | undefined;
1647
- type?: string | undefined;
1648
- name?: string | undefined;
1649
- description?: string | undefined;
1650
- inputSchema?: any;
1651
- config?: any;
1652
- isCustomized?: boolean | undefined;
1653
- outputSchema?: any;
1654
- version?: number | undefined;
1655
- onError?: "stop" | "continue" | undefined;
1656
- ui?: any;
1657
- outputExample?: any;
1658
- links?: {
1659
- key?: string | undefined;
1660
- filter?: any;
1661
- name?: string | undefined;
1662
- }[] | undefined;
1663
- }> | undefined;
1664
- autoCreateInstances?: boolean | undefined;
1665
1273
  }>;
1666
1274
  integration: z.ZodObject<{
1667
1275
  id: z.ZodString;
1668
1276
  key: z.ZodOptional<z.ZodString>;
1669
1277
  uuid: z.ZodOptional<z.ZodString>;
1670
1278
  description: z.ZodOptional<z.ZodString>;
1279
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1671
1280
  name: z.ZodString;
1672
1281
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
1673
1282
  errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
@@ -1702,6 +1311,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1702
1311
  key?: string | undefined;
1703
1312
  uuid?: string | undefined;
1704
1313
  description?: string | undefined;
1314
+ meta?: Record<string, any> | undefined;
1705
1315
  state?: import("..").WorkspaceElementState | undefined;
1706
1316
  errors?: import("../..").ErrorDataSchema[] | undefined;
1707
1317
  revision?: string | undefined;
@@ -1733,6 +1343,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1733
1343
  key?: string | undefined;
1734
1344
  uuid?: string | undefined;
1735
1345
  description?: string | undefined;
1346
+ meta?: Record<string, any> | undefined;
1736
1347
  state?: import("..").WorkspaceElementState | undefined;
1737
1348
  errors?: import("../..").ErrorDataSchema[] | undefined;
1738
1349
  revision?: string | undefined;
@@ -1766,6 +1377,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1766
1377
  key?: string | undefined;
1767
1378
  uuid?: string | undefined;
1768
1379
  description?: string | undefined;
1380
+ meta?: Record<string, any> | undefined;
1769
1381
  state?: import("..").WorkspaceElementState | undefined;
1770
1382
  errors?: import("../..").ErrorDataSchema[] | undefined;
1771
1383
  revision?: string | undefined;
@@ -1793,42 +1405,9 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1793
1405
  };
1794
1406
  element: {
1795
1407
  id: string;
1796
- name: string;
1797
- revision: string;
1798
- key?: string | undefined;
1799
- uuid?: string | undefined;
1800
- description?: string | undefined;
1801
- state?: import("..").WorkspaceElementState | undefined;
1802
- errors?: import("../..").ErrorDataSchema[] | undefined;
1803
- createdAt?: string | undefined;
1804
- updatedAt?: string | undefined;
1805
- archivedAt?: string | undefined;
1806
- isDeactivated?: boolean | undefined;
1807
1408
  integrationId?: string | undefined;
1808
- customized?: boolean | undefined;
1809
- parametersSchema?: DataSchema | undefined;
1409
+ isCustomized?: boolean | undefined;
1810
1410
  universalFlowId?: string | undefined;
1811
- universalFlowRevision?: string | undefined;
1812
- nodes?: Record<string, {
1813
- concurrency?: number | undefined;
1814
- type?: string | undefined;
1815
- name?: string | undefined;
1816
- description?: string | undefined;
1817
- inputSchema?: any;
1818
- config?: any;
1819
- isCustomized?: boolean | undefined;
1820
- outputSchema?: any;
1821
- version?: number | undefined;
1822
- onError?: "stop" | "continue" | undefined;
1823
- ui?: any;
1824
- outputExample?: any;
1825
- links?: {
1826
- key?: string | undefined;
1827
- filter?: any;
1828
- name?: string | undefined;
1829
- }[] | undefined;
1830
- }> | undefined;
1831
- autoCreateInstances?: boolean | undefined;
1832
1411
  };
1833
1412
  }, {
1834
1413
  integration: {
@@ -1838,6 +1417,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1838
1417
  key?: string | undefined;
1839
1418
  uuid?: string | undefined;
1840
1419
  description?: string | undefined;
1420
+ meta?: Record<string, any> | undefined;
1841
1421
  state?: import("..").WorkspaceElementState | undefined;
1842
1422
  errors?: import("../..").ErrorDataSchema[] | undefined;
1843
1423
  revision?: string | undefined;
@@ -1865,48 +1445,15 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1865
1445
  };
1866
1446
  element: {
1867
1447
  id: string;
1868
- name: string;
1869
- revision: string;
1870
- key?: string | undefined;
1871
- uuid?: string | undefined;
1872
- description?: string | undefined;
1873
- state?: import("..").WorkspaceElementState | undefined;
1874
- errors?: import("../..").ErrorDataSchema[] | undefined;
1875
- createdAt?: string | undefined;
1876
- updatedAt?: string | undefined;
1877
- archivedAt?: string | undefined;
1878
- isDeactivated?: boolean | undefined;
1879
1448
  integrationId?: string | undefined;
1880
- customized?: boolean | undefined;
1881
- parametersSchema?: DataSchema | undefined;
1449
+ isCustomized?: boolean | undefined;
1882
1450
  universalFlowId?: string | undefined;
1883
- universalFlowRevision?: string | undefined;
1884
- nodes?: Record<string, {
1885
- concurrency?: number | undefined;
1886
- type?: string | undefined;
1887
- name?: string | undefined;
1888
- description?: string | undefined;
1889
- inputSchema?: any;
1890
- config?: any;
1891
- isCustomized?: boolean | undefined;
1892
- outputSchema?: any;
1893
- version?: number | undefined;
1894
- onError?: "stop" | "continue" | undefined;
1895
- ui?: any;
1896
- outputExample?: any;
1897
- links?: {
1898
- key?: string | undefined;
1899
- filter?: any;
1900
- name?: string | undefined;
1901
- }[] | undefined;
1902
- }> | undefined;
1903
- autoCreateInstances?: boolean | undefined;
1904
1451
  };
1905
1452
  }>, "many">>;
1453
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1906
1454
  }, "strip", z.ZodTypeAny, {
1907
1455
  id: string;
1908
1456
  name: string;
1909
- revision: string;
1910
1457
  key?: string | undefined;
1911
1458
  integration?: {
1912
1459
  id: string;
@@ -1915,6 +1462,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1915
1462
  key?: string | undefined;
1916
1463
  uuid?: string | undefined;
1917
1464
  description?: string | undefined;
1465
+ meta?: Record<string, any> | undefined;
1918
1466
  state?: import("..").WorkspaceElementState | undefined;
1919
1467
  errors?: import("../..").ErrorDataSchema[] | undefined;
1920
1468
  revision?: string | undefined;
@@ -1942,14 +1490,17 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1942
1490
  } | undefined;
1943
1491
  uuid?: string | undefined;
1944
1492
  description?: string | undefined;
1493
+ meta?: Record<string, any> | undefined;
1945
1494
  state?: import("..").WorkspaceElementState | undefined;
1946
1495
  errors?: import("../..").ErrorDataSchema[] | undefined;
1496
+ revision?: string | undefined;
1947
1497
  createdAt?: string | undefined;
1948
1498
  updatedAt?: string | undefined;
1949
1499
  archivedAt?: string | undefined;
1950
1500
  isDeactivated?: boolean | undefined;
1951
1501
  integrationId?: string | undefined;
1952
- customized?: boolean | undefined;
1502
+ parentId?: string | undefined;
1503
+ isCustomized?: boolean | undefined;
1953
1504
  parametersSchema?: DataSchema | undefined;
1954
1505
  appliedToIntegrations?: {
1955
1506
  integration: {
@@ -1959,6 +1510,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1959
1510
  key?: string | undefined;
1960
1511
  uuid?: string | undefined;
1961
1512
  description?: string | undefined;
1513
+ meta?: Record<string, any> | undefined;
1962
1514
  state?: import("..").WorkspaceElementState | undefined;
1963
1515
  errors?: import("../..").ErrorDataSchema[] | undefined;
1964
1516
  revision?: string | undefined;
@@ -1986,44 +1538,12 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1986
1538
  };
1987
1539
  element: {
1988
1540
  id: string;
1989
- name: string;
1990
- revision: string;
1991
- key?: string | undefined;
1992
- uuid?: string | undefined;
1993
- description?: string | undefined;
1994
- state?: import("..").WorkspaceElementState | undefined;
1995
- errors?: import("../..").ErrorDataSchema[] | undefined;
1996
- createdAt?: string | undefined;
1997
- updatedAt?: string | undefined;
1998
- archivedAt?: string | undefined;
1999
- isDeactivated?: boolean | undefined;
2000
1541
  integrationId?: string | undefined;
2001
- customized?: boolean | undefined;
2002
- parametersSchema?: DataSchema | undefined;
1542
+ isCustomized?: boolean | undefined;
2003
1543
  universalFlowId?: string | undefined;
2004
- universalFlowRevision?: string | undefined;
2005
- nodes?: Record<string, {
2006
- concurrency?: number | undefined;
2007
- type?: string | undefined;
2008
- name?: string | undefined;
2009
- description?: string | undefined;
2010
- inputSchema?: any;
2011
- config?: any;
2012
- isCustomized?: boolean | undefined;
2013
- outputSchema?: any;
2014
- version?: number | undefined;
2015
- onError?: "stop" | "continue" | undefined;
2016
- ui?: any;
2017
- outputExample?: any;
2018
- links?: {
2019
- key?: string | undefined;
2020
- filter?: any;
2021
- name?: string | undefined;
2022
- }[] | undefined;
2023
- }> | undefined;
2024
- autoCreateInstances?: boolean | undefined;
2025
1544
  };
2026
1545
  }[] | undefined;
1546
+ dependencies?: any[] | undefined;
2027
1547
  universalFlowId?: string | undefined;
2028
1548
  universalFlowRevision?: string | undefined;
2029
1549
  nodes?: Record<string, {
@@ -2031,9 +1551,9 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
2031
1551
  type?: string | undefined;
2032
1552
  name?: string | undefined;
2033
1553
  description?: string | undefined;
1554
+ isCustomized?: boolean | undefined;
2034
1555
  inputSchema?: any;
2035
1556
  config?: any;
2036
- isCustomized?: boolean | undefined;
2037
1557
  outputSchema?: any;
2038
1558
  version?: number | undefined;
2039
1559
  onError?: "stop" | "continue" | undefined;
@@ -2049,7 +1569,6 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
2049
1569
  }, {
2050
1570
  id: string;
2051
1571
  name: string;
2052
- revision: string;
2053
1572
  key?: string | undefined;
2054
1573
  integration?: {
2055
1574
  id: string;
@@ -2058,6 +1577,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
2058
1577
  key?: string | undefined;
2059
1578
  uuid?: string | undefined;
2060
1579
  description?: string | undefined;
1580
+ meta?: Record<string, any> | undefined;
2061
1581
  state?: import("..").WorkspaceElementState | undefined;
2062
1582
  errors?: import("../..").ErrorDataSchema[] | undefined;
2063
1583
  revision?: string | undefined;
@@ -2085,14 +1605,17 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
2085
1605
  } | undefined;
2086
1606
  uuid?: string | undefined;
2087
1607
  description?: string | undefined;
1608
+ meta?: Record<string, any> | undefined;
2088
1609
  state?: import("..").WorkspaceElementState | undefined;
2089
1610
  errors?: import("../..").ErrorDataSchema[] | undefined;
1611
+ revision?: string | undefined;
2090
1612
  createdAt?: string | undefined;
2091
1613
  updatedAt?: string | undefined;
2092
1614
  archivedAt?: string | undefined;
2093
1615
  isDeactivated?: boolean | undefined;
2094
1616
  integrationId?: string | undefined;
2095
- customized?: boolean | undefined;
1617
+ parentId?: string | undefined;
1618
+ isCustomized?: boolean | undefined;
2096
1619
  parametersSchema?: DataSchema | undefined;
2097
1620
  appliedToIntegrations?: {
2098
1621
  integration: {
@@ -2102,6 +1625,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
2102
1625
  key?: string | undefined;
2103
1626
  uuid?: string | undefined;
2104
1627
  description?: string | undefined;
1628
+ meta?: Record<string, any> | undefined;
2105
1629
  state?: import("..").WorkspaceElementState | undefined;
2106
1630
  errors?: import("../..").ErrorDataSchema[] | undefined;
2107
1631
  revision?: string | undefined;
@@ -2129,44 +1653,12 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
2129
1653
  };
2130
1654
  element: {
2131
1655
  id: string;
2132
- name: string;
2133
- revision: string;
2134
- key?: string | undefined;
2135
- uuid?: string | undefined;
2136
- description?: string | undefined;
2137
- state?: import("..").WorkspaceElementState | undefined;
2138
- errors?: import("../..").ErrorDataSchema[] | undefined;
2139
- createdAt?: string | undefined;
2140
- updatedAt?: string | undefined;
2141
- archivedAt?: string | undefined;
2142
- isDeactivated?: boolean | undefined;
2143
1656
  integrationId?: string | undefined;
2144
- customized?: boolean | undefined;
2145
- parametersSchema?: DataSchema | undefined;
1657
+ isCustomized?: boolean | undefined;
2146
1658
  universalFlowId?: string | undefined;
2147
- universalFlowRevision?: string | undefined;
2148
- nodes?: Record<string, {
2149
- concurrency?: number | undefined;
2150
- type?: string | undefined;
2151
- name?: string | undefined;
2152
- description?: string | undefined;
2153
- inputSchema?: any;
2154
- config?: any;
2155
- isCustomized?: boolean | undefined;
2156
- outputSchema?: any;
2157
- version?: number | undefined;
2158
- onError?: "stop" | "continue" | undefined;
2159
- ui?: any;
2160
- outputExample?: any;
2161
- links?: {
2162
- key?: string | undefined;
2163
- filter?: any;
2164
- name?: string | undefined;
2165
- }[] | undefined;
2166
- }> | undefined;
2167
- autoCreateInstances?: boolean | undefined;
2168
1659
  };
2169
1660
  }[] | undefined;
1661
+ dependencies?: any[] | undefined;
2170
1662
  universalFlowId?: string | undefined;
2171
1663
  universalFlowRevision?: string | undefined;
2172
1664
  nodes?: Record<string, {
@@ -2174,9 +1666,9 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
2174
1666
  type?: string | undefined;
2175
1667
  name?: string | undefined;
2176
1668
  description?: string | undefined;
1669
+ isCustomized?: boolean | undefined;
2177
1670
  inputSchema?: any;
2178
1671
  config?: any;
2179
- isCustomized?: boolean | undefined;
2180
1672
  outputSchema?: any;
2181
1673
  version?: number | undefined;
2182
1674
  onError?: "stop" | "continue" | undefined;
@@ -2197,6 +1689,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
2197
1689
  key?: string | undefined;
2198
1690
  uuid?: string | undefined;
2199
1691
  description?: string | undefined;
1692
+ meta?: Record<string, any> | undefined;
2200
1693
  state?: import("..").WorkspaceElementState | undefined;
2201
1694
  errors?: import("../..").ErrorDataSchema[] | undefined;
2202
1695
  revision?: string | undefined;
@@ -2228,6 +1721,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
2228
1721
  key?: string | undefined;
2229
1722
  uuid?: string | undefined;
2230
1723
  description?: string | undefined;
1724
+ meta?: Record<string, any> | undefined;
2231
1725
  state?: import("..").WorkspaceElementState | undefined;
2232
1726
  errors?: import("../..").ErrorDataSchema[] | undefined;
2233
1727
  revision?: string | undefined;
@@ -2258,8 +1752,8 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
2258
1752
  name: string;
2259
1753
  createdAt: string;
2260
1754
  updatedAt: string;
2261
- userId: string;
2262
1755
  integrationId: string;
1756
+ userId: string;
2263
1757
  enabled: boolean;
2264
1758
  key?: string | undefined;
2265
1759
  connection?: {
@@ -2267,16 +1761,15 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
2267
1761
  name: string;
2268
1762
  createdAt: string;
2269
1763
  updatedAt: string;
2270
- userId: string;
2271
1764
  integrationId: string;
1765
+ userId: string;
2272
1766
  error?: import("../..").ErrorDataSchema | undefined;
1767
+ meta?: Record<string, any> | undefined;
2273
1768
  state?: import("..").WorkspaceElementState | undefined;
2274
- errors?: import("../..").ErrorDataSchema[] | undefined;
2275
1769
  archivedAt?: string | undefined;
2276
1770
  isDeactivated?: boolean | undefined;
2277
1771
  authOptionKey?: string | undefined;
2278
1772
  isTest?: boolean | undefined;
2279
- meta?: Record<string, any> | undefined;
2280
1773
  disconnected?: boolean | undefined;
2281
1774
  isDefunct?: boolean | undefined;
2282
1775
  lastActiveAt?: string | undefined;
@@ -2289,6 +1782,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
2289
1782
  key?: string | undefined;
2290
1783
  uuid?: string | undefined;
2291
1784
  description?: string | undefined;
1785
+ meta?: Record<string, any> | undefined;
2292
1786
  state?: import("..").WorkspaceElementState | undefined;
2293
1787
  errors?: import("../..").ErrorDataSchema[] | undefined;
2294
1788
  revision?: string | undefined;
@@ -2317,7 +1811,6 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
2317
1811
  flow?: {
2318
1812
  id: string;
2319
1813
  name: string;
2320
- revision: string;
2321
1814
  key?: string | undefined;
2322
1815
  integration?: {
2323
1816
  id: string;
@@ -2326,6 +1819,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
2326
1819
  key?: string | undefined;
2327
1820
  uuid?: string | undefined;
2328
1821
  description?: string | undefined;
1822
+ meta?: Record<string, any> | undefined;
2329
1823
  state?: import("..").WorkspaceElementState | undefined;
2330
1824
  errors?: import("../..").ErrorDataSchema[] | undefined;
2331
1825
  revision?: string | undefined;
@@ -2353,14 +1847,17 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
2353
1847
  } | undefined;
2354
1848
  uuid?: string | undefined;
2355
1849
  description?: string | undefined;
1850
+ meta?: Record<string, any> | undefined;
2356
1851
  state?: import("..").WorkspaceElementState | undefined;
2357
1852
  errors?: import("../..").ErrorDataSchema[] | undefined;
1853
+ revision?: string | undefined;
2358
1854
  createdAt?: string | undefined;
2359
1855
  updatedAt?: string | undefined;
2360
1856
  archivedAt?: string | undefined;
2361
1857
  isDeactivated?: boolean | undefined;
2362
1858
  integrationId?: string | undefined;
2363
- customized?: boolean | undefined;
1859
+ parentId?: string | undefined;
1860
+ isCustomized?: boolean | undefined;
2364
1861
  parametersSchema?: DataSchema | undefined;
2365
1862
  appliedToIntegrations?: {
2366
1863
  integration: {
@@ -2370,6 +1867,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
2370
1867
  key?: string | undefined;
2371
1868
  uuid?: string | undefined;
2372
1869
  description?: string | undefined;
1870
+ meta?: Record<string, any> | undefined;
2373
1871
  state?: import("..").WorkspaceElementState | undefined;
2374
1872
  errors?: import("../..").ErrorDataSchema[] | undefined;
2375
1873
  revision?: string | undefined;
@@ -2397,44 +1895,12 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
2397
1895
  };
2398
1896
  element: {
2399
1897
  id: string;
2400
- name: string;
2401
- revision: string;
2402
- key?: string | undefined;
2403
- uuid?: string | undefined;
2404
- description?: string | undefined;
2405
- state?: import("..").WorkspaceElementState | undefined;
2406
- errors?: import("../..").ErrorDataSchema[] | undefined;
2407
- createdAt?: string | undefined;
2408
- updatedAt?: string | undefined;
2409
- archivedAt?: string | undefined;
2410
- isDeactivated?: boolean | undefined;
2411
1898
  integrationId?: string | undefined;
2412
- customized?: boolean | undefined;
2413
- parametersSchema?: DataSchema | undefined;
1899
+ isCustomized?: boolean | undefined;
2414
1900
  universalFlowId?: string | undefined;
2415
- universalFlowRevision?: string | undefined;
2416
- nodes?: Record<string, {
2417
- concurrency?: number | undefined;
2418
- type?: string | undefined;
2419
- name?: string | undefined;
2420
- description?: string | undefined;
2421
- inputSchema?: any;
2422
- config?: any;
2423
- isCustomized?: boolean | undefined;
2424
- outputSchema?: any;
2425
- version?: number | undefined;
2426
- onError?: "stop" | "continue" | undefined;
2427
- ui?: any;
2428
- outputExample?: any;
2429
- links?: {
2430
- key?: string | undefined;
2431
- filter?: any;
2432
- name?: string | undefined;
2433
- }[] | undefined;
2434
- }> | undefined;
2435
- autoCreateInstances?: boolean | undefined;
2436
1901
  };
2437
1902
  }[] | undefined;
1903
+ dependencies?: any[] | undefined;
2438
1904
  universalFlowId?: string | undefined;
2439
1905
  universalFlowRevision?: string | undefined;
2440
1906
  nodes?: Record<string, {
@@ -2442,9 +1908,9 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
2442
1908
  type?: string | undefined;
2443
1909
  name?: string | undefined;
2444
1910
  description?: string | undefined;
1911
+ isCustomized?: boolean | undefined;
2445
1912
  inputSchema?: any;
2446
1913
  config?: any;
2447
- isCustomized?: boolean | undefined;
2448
1914
  outputSchema?: any;
2449
1915
  version?: number | undefined;
2450
1916
  onError?: "stop" | "continue" | undefined;
@@ -2460,6 +1926,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
2460
1926
  } | undefined;
2461
1927
  uuid?: string | undefined;
2462
1928
  description?: string | undefined;
1929
+ meta?: Record<string, any> | undefined;
2463
1930
  state?: import("..").WorkspaceElementState | undefined;
2464
1931
  errors?: import("../..").ErrorDataSchema[] | undefined;
2465
1932
  revision?: string | undefined;
@@ -2468,15 +1935,12 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
2468
1935
  instanceKey?: string | undefined;
2469
1936
  connectionId?: string | undefined;
2470
1937
  parameters?: any;
2471
- customized?: {
2472
- name?: boolean | undefined;
2473
- nodes?: boolean | undefined;
2474
- } | undefined;
2475
1938
  parametersSchema?: DataSchema | undefined;
2476
1939
  user?: {
2477
1940
  id: string;
2478
1941
  name: string;
2479
1942
  internalId: string;
1943
+ meta?: Record<string, any> | undefined;
2480
1944
  createdAt?: string | undefined;
2481
1945
  archivedAt?: string | undefined;
2482
1946
  credentials?: any;
@@ -2489,14 +1953,17 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
2489
1953
  universalFlowId?: string | undefined;
2490
1954
  nodes?: Record<string, any> | undefined;
2491
1955
  flowId?: string | undefined;
2492
- outdated?: boolean | undefined;
1956
+ customized?: {
1957
+ name?: boolean | undefined;
1958
+ nodes?: boolean | undefined;
1959
+ } | undefined;
2493
1960
  }, {
2494
1961
  id: string;
2495
1962
  name: string;
2496
1963
  createdAt: string;
2497
1964
  updatedAt: string;
2498
- userId: string;
2499
1965
  integrationId: string;
1966
+ userId: string;
2500
1967
  enabled: boolean;
2501
1968
  key?: string | undefined;
2502
1969
  connection?: {
@@ -2504,16 +1971,15 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
2504
1971
  name: string;
2505
1972
  createdAt: string;
2506
1973
  updatedAt: string;
2507
- userId: string;
2508
1974
  integrationId: string;
1975
+ userId: string;
2509
1976
  error?: import("../..").ErrorDataSchema | undefined;
1977
+ meta?: Record<string, any> | undefined;
2510
1978
  state?: import("..").WorkspaceElementState | undefined;
2511
- errors?: import("../..").ErrorDataSchema[] | undefined;
2512
1979
  archivedAt?: string | undefined;
2513
1980
  isDeactivated?: boolean | undefined;
2514
1981
  authOptionKey?: string | undefined;
2515
1982
  isTest?: boolean | undefined;
2516
- meta?: Record<string, any> | undefined;
2517
1983
  disconnected?: boolean | undefined;
2518
1984
  isDefunct?: boolean | undefined;
2519
1985
  lastActiveAt?: string | undefined;
@@ -2526,6 +1992,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
2526
1992
  key?: string | undefined;
2527
1993
  uuid?: string | undefined;
2528
1994
  description?: string | undefined;
1995
+ meta?: Record<string, any> | undefined;
2529
1996
  state?: import("..").WorkspaceElementState | undefined;
2530
1997
  errors?: import("../..").ErrorDataSchema[] | undefined;
2531
1998
  revision?: string | undefined;
@@ -2554,7 +2021,6 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
2554
2021
  flow?: {
2555
2022
  id: string;
2556
2023
  name: string;
2557
- revision: string;
2558
2024
  key?: string | undefined;
2559
2025
  integration?: {
2560
2026
  id: string;
@@ -2563,6 +2029,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
2563
2029
  key?: string | undefined;
2564
2030
  uuid?: string | undefined;
2565
2031
  description?: string | undefined;
2032
+ meta?: Record<string, any> | undefined;
2566
2033
  state?: import("..").WorkspaceElementState | undefined;
2567
2034
  errors?: import("../..").ErrorDataSchema[] | undefined;
2568
2035
  revision?: string | undefined;
@@ -2590,14 +2057,17 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
2590
2057
  } | undefined;
2591
2058
  uuid?: string | undefined;
2592
2059
  description?: string | undefined;
2060
+ meta?: Record<string, any> | undefined;
2593
2061
  state?: import("..").WorkspaceElementState | undefined;
2594
2062
  errors?: import("../..").ErrorDataSchema[] | undefined;
2063
+ revision?: string | undefined;
2595
2064
  createdAt?: string | undefined;
2596
2065
  updatedAt?: string | undefined;
2597
2066
  archivedAt?: string | undefined;
2598
2067
  isDeactivated?: boolean | undefined;
2599
2068
  integrationId?: string | undefined;
2600
- customized?: boolean | undefined;
2069
+ parentId?: string | undefined;
2070
+ isCustomized?: boolean | undefined;
2601
2071
  parametersSchema?: DataSchema | undefined;
2602
2072
  appliedToIntegrations?: {
2603
2073
  integration: {
@@ -2607,6 +2077,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
2607
2077
  key?: string | undefined;
2608
2078
  uuid?: string | undefined;
2609
2079
  description?: string | undefined;
2080
+ meta?: Record<string, any> | undefined;
2610
2081
  state?: import("..").WorkspaceElementState | undefined;
2611
2082
  errors?: import("../..").ErrorDataSchema[] | undefined;
2612
2083
  revision?: string | undefined;
@@ -2634,44 +2105,12 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
2634
2105
  };
2635
2106
  element: {
2636
2107
  id: string;
2637
- name: string;
2638
- revision: string;
2639
- key?: string | undefined;
2640
- uuid?: string | undefined;
2641
- description?: string | undefined;
2642
- state?: import("..").WorkspaceElementState | undefined;
2643
- errors?: import("../..").ErrorDataSchema[] | undefined;
2644
- createdAt?: string | undefined;
2645
- updatedAt?: string | undefined;
2646
- archivedAt?: string | undefined;
2647
- isDeactivated?: boolean | undefined;
2648
2108
  integrationId?: string | undefined;
2649
- customized?: boolean | undefined;
2650
- parametersSchema?: DataSchema | undefined;
2109
+ isCustomized?: boolean | undefined;
2651
2110
  universalFlowId?: string | undefined;
2652
- universalFlowRevision?: string | undefined;
2653
- nodes?: Record<string, {
2654
- concurrency?: number | undefined;
2655
- type?: string | undefined;
2656
- name?: string | undefined;
2657
- description?: string | undefined;
2658
- inputSchema?: any;
2659
- config?: any;
2660
- isCustomized?: boolean | undefined;
2661
- outputSchema?: any;
2662
- version?: number | undefined;
2663
- onError?: "stop" | "continue" | undefined;
2664
- ui?: any;
2665
- outputExample?: any;
2666
- links?: {
2667
- key?: string | undefined;
2668
- filter?: any;
2669
- name?: string | undefined;
2670
- }[] | undefined;
2671
- }> | undefined;
2672
- autoCreateInstances?: boolean | undefined;
2673
2111
  };
2674
2112
  }[] | undefined;
2113
+ dependencies?: any[] | undefined;
2675
2114
  universalFlowId?: string | undefined;
2676
2115
  universalFlowRevision?: string | undefined;
2677
2116
  nodes?: Record<string, {
@@ -2679,9 +2118,9 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
2679
2118
  type?: string | undefined;
2680
2119
  name?: string | undefined;
2681
2120
  description?: string | undefined;
2121
+ isCustomized?: boolean | undefined;
2682
2122
  inputSchema?: any;
2683
2123
  config?: any;
2684
- isCustomized?: boolean | undefined;
2685
2124
  outputSchema?: any;
2686
2125
  version?: number | undefined;
2687
2126
  onError?: "stop" | "continue" | undefined;
@@ -2697,6 +2136,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
2697
2136
  } | undefined;
2698
2137
  uuid?: string | undefined;
2699
2138
  description?: string | undefined;
2139
+ meta?: Record<string, any> | undefined;
2700
2140
  state?: import("..").WorkspaceElementState | undefined;
2701
2141
  errors?: import("../..").ErrorDataSchema[] | undefined;
2702
2142
  revision?: string | undefined;
@@ -2705,15 +2145,12 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
2705
2145
  instanceKey?: string | undefined;
2706
2146
  connectionId?: string | undefined;
2707
2147
  parameters?: any;
2708
- customized?: {
2709
- name?: boolean | undefined;
2710
- nodes?: boolean | undefined;
2711
- } | undefined;
2712
2148
  parametersSchema?: DataSchema | undefined;
2713
2149
  user?: {
2714
2150
  id: string;
2715
2151
  name: string;
2716
2152
  internalId: string;
2153
+ meta?: Record<string, any> | undefined;
2717
2154
  createdAt?: string | undefined;
2718
2155
  archivedAt?: string | undefined;
2719
2156
  credentials?: any;
@@ -2726,7 +2163,10 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
2726
2163
  universalFlowId?: string | undefined;
2727
2164
  nodes?: Record<string, any> | undefined;
2728
2165
  flowId?: string | undefined;
2729
- outdated?: boolean | undefined;
2166
+ customized?: {
2167
+ name?: boolean | undefined;
2168
+ nodes?: boolean | undefined;
2169
+ } | undefined;
2730
2170
  }>;
2731
2171
  export type FlowInstanceApiResponse = z.infer<typeof FlowInstanceApiResponse>;
2732
2172
  export type FlowInstance = FlowInstanceApiResponse;