@membranehq/sdk 0.7.1 → 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 (79) hide show
  1. package/dist/bundle.d.ts +3437 -2985
  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/{workspace-elements/base/scenarios/types.d.ts → scenario-templates/index.d.ts} +64 -169
  15. package/dist/dts/workspace-elements/api/action-instances-api.d.ts +39 -34
  16. package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +37 -37
  17. package/dist/dts/workspace-elements/api/actions-api.d.ts +64 -46
  18. package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +13 -0
  19. package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +3 -0
  20. package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +17 -2
  21. package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +13 -0
  22. package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +3 -0
  23. package/dist/dts/workspace-elements/api/connections-api.d.ts +57 -34
  24. package/dist/dts/workspace-elements/api/customers-api.d.ts +3 -0
  25. package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +29 -16
  26. package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +3 -0
  27. package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +51 -32
  28. package/dist/dts/workspace-elements/api/data-sources-api.d.ts +70 -36
  29. package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +27 -22
  30. package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +27 -22
  31. package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +21 -16
  32. package/dist/dts/workspace-elements/api/external-events-api.d.ts +7 -0
  33. package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +122 -76
  34. package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +58 -24
  35. package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +116 -92
  36. package/dist/dts/workspace-elements/api/flows-api.d.ts +125 -72
  37. package/dist/dts/workspace-elements/api/integrations-api.d.ts +12 -14
  38. package/dist/dts/workspace-elements/api/scenarios-api.d.ts +434 -431
  39. package/dist/dts/workspace-elements/base/action-instances/types.d.ts +5 -5
  40. package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +2 -2
  41. package/dist/dts/workspace-elements/base/actions/index.d.ts +18 -15
  42. package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +3 -0
  43. package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +3 -0
  44. package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +3 -0
  45. package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +3 -0
  46. package/dist/dts/workspace-elements/base/connections/types.d.ts +5 -8
  47. package/dist/dts/workspace-elements/base/customers/index.d.ts +3 -0
  48. package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +5 -2
  49. package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +3 -0
  50. package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +7 -4
  51. package/dist/dts/workspace-elements/base/data-sources/types.d.ts +17 -10
  52. package/dist/dts/workspace-elements/base/external-event-log-records/types.d.ts +2 -2
  53. package/dist/dts/workspace-elements/base/external-event-pulls/types.d.ts +2 -2
  54. package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +2 -2
  55. package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +7 -4
  56. package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +15 -8
  57. package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +26 -26
  58. package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +15 -12
  59. package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +2 -2
  60. package/dist/dts/workspace-elements/base/flows/types.d.ts +21 -14
  61. package/dist/dts/workspace-elements/base/integrations/types.d.ts +18 -0
  62. package/dist/dts/workspace-elements/base/scenarios/index.d.ts +163 -1
  63. package/dist/dts/workspace-elements/types.d.ts +118 -0
  64. package/dist/dts/workspace-elements-catalog/index.d.ts +1 -0
  65. package/dist/{index.module.d.mts → index.browser.d.mts} +18140 -17543
  66. package/dist/{index.d.ts → index.browser.d.ts} +18140 -17543
  67. package/dist/{index.js → index.browser.js} +108 -130
  68. package/dist/index.browser.js.map +1 -0
  69. package/dist/{index.module.mjs → index.browser.mjs} +104 -127
  70. package/dist/index.browser.mjs.map +1 -0
  71. package/dist/index.node.d.mts +27932 -0
  72. package/dist/index.node.d.ts +27932 -0
  73. package/dist/index.node.js +13334 -0
  74. package/dist/index.node.js.map +1 -0
  75. package/dist/index.node.mjs +12862 -0
  76. package/dist/index.node.mjs.map +1 -0
  77. package/package.json +38 -15
  78. package/dist/index.js.map +0 -1
  79. 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;
@@ -538,17 +544,17 @@ export declare const FlowApiResponse: z.ZodObject<{
538
544
  element: z.ZodObject<{
539
545
  id: z.ZodString;
540
546
  integrationId: z.ZodOptional<z.ZodString>;
541
- customized: z.ZodOptional<z.ZodBoolean>;
547
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
542
548
  universalFlowId: z.ZodOptional<z.ZodString>;
543
549
  }, "strip", z.ZodTypeAny, {
544
550
  id: string;
545
551
  integrationId?: string | undefined;
546
- customized?: boolean | undefined;
552
+ isCustomized?: boolean | undefined;
547
553
  universalFlowId?: string | undefined;
548
554
  }, {
549
555
  id: string;
550
556
  integrationId?: string | undefined;
551
- customized?: boolean | undefined;
557
+ isCustomized?: boolean | undefined;
552
558
  universalFlowId?: string | undefined;
553
559
  }>;
554
560
  integration: z.ZodObject<{
@@ -556,6 +562,7 @@ export declare const FlowApiResponse: z.ZodObject<{
556
562
  key: z.ZodOptional<z.ZodString>;
557
563
  uuid: z.ZodOptional<z.ZodString>;
558
564
  description: z.ZodOptional<z.ZodString>;
565
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
559
566
  name: z.ZodString;
560
567
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
561
568
  errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
@@ -590,6 +597,7 @@ export declare const FlowApiResponse: z.ZodObject<{
590
597
  key?: string | undefined;
591
598
  uuid?: string | undefined;
592
599
  description?: string | undefined;
600
+ meta?: Record<string, any> | undefined;
593
601
  state?: import("..").WorkspaceElementState | undefined;
594
602
  errors?: import("../..").ErrorDataSchema[] | undefined;
595
603
  revision?: string | undefined;
@@ -621,6 +629,7 @@ export declare const FlowApiResponse: z.ZodObject<{
621
629
  key?: string | undefined;
622
630
  uuid?: string | undefined;
623
631
  description?: string | undefined;
632
+ meta?: Record<string, any> | undefined;
624
633
  state?: import("..").WorkspaceElementState | undefined;
625
634
  errors?: import("../..").ErrorDataSchema[] | undefined;
626
635
  revision?: string | undefined;
@@ -654,6 +663,7 @@ export declare const FlowApiResponse: z.ZodObject<{
654
663
  key?: string | undefined;
655
664
  uuid?: string | undefined;
656
665
  description?: string | undefined;
666
+ meta?: Record<string, any> | undefined;
657
667
  state?: import("..").WorkspaceElementState | undefined;
658
668
  errors?: import("../..").ErrorDataSchema[] | undefined;
659
669
  revision?: string | undefined;
@@ -682,7 +692,7 @@ export declare const FlowApiResponse: z.ZodObject<{
682
692
  element: {
683
693
  id: string;
684
694
  integrationId?: string | undefined;
685
- customized?: boolean | undefined;
695
+ isCustomized?: boolean | undefined;
686
696
  universalFlowId?: string | undefined;
687
697
  };
688
698
  }, {
@@ -693,6 +703,7 @@ export declare const FlowApiResponse: z.ZodObject<{
693
703
  key?: string | undefined;
694
704
  uuid?: string | undefined;
695
705
  description?: string | undefined;
706
+ meta?: Record<string, any> | undefined;
696
707
  state?: import("..").WorkspaceElementState | undefined;
697
708
  errors?: import("../..").ErrorDataSchema[] | undefined;
698
709
  revision?: string | undefined;
@@ -721,7 +732,7 @@ export declare const FlowApiResponse: z.ZodObject<{
721
732
  element: {
722
733
  id: string;
723
734
  integrationId?: string | undefined;
724
- customized?: boolean | undefined;
735
+ isCustomized?: boolean | undefined;
725
736
  universalFlowId?: string | undefined;
726
737
  };
727
738
  }>, "many">>;
@@ -729,7 +740,6 @@ export declare const FlowApiResponse: z.ZodObject<{
729
740
  }, "strip", z.ZodTypeAny, {
730
741
  id: string;
731
742
  name: string;
732
- revision: string;
733
743
  key?: string | undefined;
734
744
  integration?: {
735
745
  id: string;
@@ -738,6 +748,7 @@ export declare const FlowApiResponse: z.ZodObject<{
738
748
  key?: string | undefined;
739
749
  uuid?: string | undefined;
740
750
  description?: string | undefined;
751
+ meta?: Record<string, any> | undefined;
741
752
  state?: import("..").WorkspaceElementState | undefined;
742
753
  errors?: import("../..").ErrorDataSchema[] | undefined;
743
754
  revision?: string | undefined;
@@ -765,14 +776,17 @@ export declare const FlowApiResponse: z.ZodObject<{
765
776
  } | undefined;
766
777
  uuid?: string | undefined;
767
778
  description?: string | undefined;
779
+ meta?: Record<string, any> | undefined;
768
780
  state?: import("..").WorkspaceElementState | undefined;
769
781
  errors?: import("../..").ErrorDataSchema[] | undefined;
782
+ revision?: string | undefined;
770
783
  createdAt?: string | undefined;
771
784
  updatedAt?: string | undefined;
772
785
  archivedAt?: string | undefined;
773
786
  isDeactivated?: boolean | undefined;
774
787
  integrationId?: string | undefined;
775
- customized?: boolean | undefined;
788
+ parentId?: string | undefined;
789
+ isCustomized?: boolean | undefined;
776
790
  parametersSchema?: DataSchema | undefined;
777
791
  appliedToIntegrations?: {
778
792
  integration: {
@@ -782,6 +796,7 @@ export declare const FlowApiResponse: z.ZodObject<{
782
796
  key?: string | undefined;
783
797
  uuid?: string | undefined;
784
798
  description?: string | undefined;
799
+ meta?: Record<string, any> | undefined;
785
800
  state?: import("..").WorkspaceElementState | undefined;
786
801
  errors?: import("../..").ErrorDataSchema[] | undefined;
787
802
  revision?: string | undefined;
@@ -810,7 +825,7 @@ export declare const FlowApiResponse: z.ZodObject<{
810
825
  element: {
811
826
  id: string;
812
827
  integrationId?: string | undefined;
813
- customized?: boolean | undefined;
828
+ isCustomized?: boolean | undefined;
814
829
  universalFlowId?: string | undefined;
815
830
  };
816
831
  }[] | undefined;
@@ -822,9 +837,9 @@ export declare const FlowApiResponse: z.ZodObject<{
822
837
  type?: string | undefined;
823
838
  name?: string | undefined;
824
839
  description?: string | undefined;
840
+ isCustomized?: boolean | undefined;
825
841
  inputSchema?: any;
826
842
  config?: any;
827
- isCustomized?: boolean | undefined;
828
843
  outputSchema?: any;
829
844
  version?: number | undefined;
830
845
  onError?: "stop" | "continue" | undefined;
@@ -840,7 +855,6 @@ export declare const FlowApiResponse: z.ZodObject<{
840
855
  }, {
841
856
  id: string;
842
857
  name: string;
843
- revision: string;
844
858
  key?: string | undefined;
845
859
  integration?: {
846
860
  id: string;
@@ -849,6 +863,7 @@ export declare const FlowApiResponse: z.ZodObject<{
849
863
  key?: string | undefined;
850
864
  uuid?: string | undefined;
851
865
  description?: string | undefined;
866
+ meta?: Record<string, any> | undefined;
852
867
  state?: import("..").WorkspaceElementState | undefined;
853
868
  errors?: import("../..").ErrorDataSchema[] | undefined;
854
869
  revision?: string | undefined;
@@ -876,14 +891,17 @@ export declare const FlowApiResponse: z.ZodObject<{
876
891
  } | undefined;
877
892
  uuid?: string | undefined;
878
893
  description?: string | undefined;
894
+ meta?: Record<string, any> | undefined;
879
895
  state?: import("..").WorkspaceElementState | undefined;
880
896
  errors?: import("../..").ErrorDataSchema[] | undefined;
897
+ revision?: string | undefined;
881
898
  createdAt?: string | undefined;
882
899
  updatedAt?: string | undefined;
883
900
  archivedAt?: string | undefined;
884
901
  isDeactivated?: boolean | undefined;
885
902
  integrationId?: string | undefined;
886
- customized?: boolean | undefined;
903
+ parentId?: string | undefined;
904
+ isCustomized?: boolean | undefined;
887
905
  parametersSchema?: DataSchema | undefined;
888
906
  appliedToIntegrations?: {
889
907
  integration: {
@@ -893,6 +911,7 @@ export declare const FlowApiResponse: z.ZodObject<{
893
911
  key?: string | undefined;
894
912
  uuid?: string | undefined;
895
913
  description?: string | undefined;
914
+ meta?: Record<string, any> | undefined;
896
915
  state?: import("..").WorkspaceElementState | undefined;
897
916
  errors?: import("../..").ErrorDataSchema[] | undefined;
898
917
  revision?: string | undefined;
@@ -921,7 +940,7 @@ export declare const FlowApiResponse: z.ZodObject<{
921
940
  element: {
922
941
  id: string;
923
942
  integrationId?: string | undefined;
924
- customized?: boolean | undefined;
943
+ isCustomized?: boolean | undefined;
925
944
  universalFlowId?: string | undefined;
926
945
  };
927
946
  }[] | undefined;
@@ -933,9 +952,9 @@ export declare const FlowApiResponse: z.ZodObject<{
933
952
  type?: string | undefined;
934
953
  name?: string | undefined;
935
954
  description?: string | undefined;
955
+ isCustomized?: boolean | undefined;
936
956
  inputSchema?: any;
937
957
  config?: any;
938
- isCustomized?: boolean | undefined;
939
958
  outputSchema?: any;
940
959
  version?: number | undefined;
941
960
  onError?: "stop" | "continue" | undefined;
@@ -956,6 +975,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
956
975
  key: z.ZodOptional<z.ZodString>;
957
976
  uuid: z.ZodOptional<z.ZodString>;
958
977
  description: z.ZodOptional<z.ZodString>;
978
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
959
979
  name: z.ZodString;
960
980
  errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
961
981
  revision: z.ZodOptional<z.ZodString>;
@@ -991,6 +1011,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
991
1011
  id: string;
992
1012
  name: string;
993
1013
  internalId: string;
1014
+ meta?: Record<string, any> | undefined;
994
1015
  createdAt?: string | undefined;
995
1016
  archivedAt?: string | undefined;
996
1017
  credentials?: any;
@@ -1002,6 +1023,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1002
1023
  id: string;
1003
1024
  name: string;
1004
1025
  internalId: string;
1026
+ meta?: Record<string, any> | undefined;
1005
1027
  createdAt?: string | undefined;
1006
1028
  archivedAt?: string | undefined;
1007
1029
  credentials?: any;
@@ -1015,16 +1037,15 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1015
1037
  name: string;
1016
1038
  createdAt: string;
1017
1039
  updatedAt: string;
1018
- userId: string;
1019
1040
  integrationId: string;
1041
+ userId: string;
1020
1042
  error?: import("../..").ErrorDataSchema | undefined;
1043
+ meta?: Record<string, any> | undefined;
1021
1044
  state?: import("..").WorkspaceElementState | undefined;
1022
- errors?: import("../..").ErrorDataSchema[] | undefined;
1023
1045
  archivedAt?: string | undefined;
1024
1046
  isDeactivated?: boolean | undefined;
1025
1047
  authOptionKey?: string | undefined;
1026
1048
  isTest?: boolean | undefined;
1027
- meta?: Record<string, any> | undefined;
1028
1049
  disconnected?: boolean | undefined;
1029
1050
  isDefunct?: boolean | undefined;
1030
1051
  lastActiveAt?: string | undefined;
@@ -1034,16 +1055,15 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1034
1055
  name: string;
1035
1056
  createdAt: string;
1036
1057
  updatedAt: string;
1037
- userId: string;
1038
1058
  integrationId: string;
1059
+ userId: string;
1039
1060
  error?: import("../..").ErrorDataSchema | undefined;
1061
+ meta?: Record<string, any> | undefined;
1040
1062
  state?: import("..").WorkspaceElementState | undefined;
1041
- errors?: import("../..").ErrorDataSchema[] | undefined;
1042
1063
  archivedAt?: string | undefined;
1043
1064
  isDeactivated?: boolean | undefined;
1044
1065
  authOptionKey?: string | undefined;
1045
1066
  isTest?: boolean | undefined;
1046
- meta?: Record<string, any> | undefined;
1047
1067
  disconnected?: boolean | undefined;
1048
1068
  isDefunct?: boolean | undefined;
1049
1069
  lastActiveAt?: string | undefined;
@@ -1054,14 +1074,20 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1054
1074
  key: z.ZodOptional<z.ZodString>;
1055
1075
  uuid: z.ZodOptional<z.ZodString>;
1056
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
+ } & {
1057
1081
  name: z.ZodString;
1058
1082
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
1059
1083
  errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
1084
+ revision: z.ZodOptional<z.ZodString>;
1060
1085
  createdAt: z.ZodOptional<z.ZodString>;
1061
1086
  updatedAt: z.ZodOptional<z.ZodString>;
1087
+ archivedAt: z.ZodOptional<z.ZodString>;
1062
1088
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
1089
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
1063
1090
  } & {
1064
- integrationId: z.ZodOptional<z.ZodString>;
1065
1091
  universalFlowId: z.ZodOptional<z.ZodString>;
1066
1092
  universalFlowRevision: z.ZodOptional<z.ZodString>;
1067
1093
  parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
@@ -1096,9 +1122,9 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1096
1122
  type?: string | undefined;
1097
1123
  name?: string | undefined;
1098
1124
  description?: string | undefined;
1125
+ isCustomized?: boolean | undefined;
1099
1126
  inputSchema?: any;
1100
1127
  config?: any;
1101
- isCustomized?: boolean | undefined;
1102
1128
  outputSchema?: any;
1103
1129
  version?: number | undefined;
1104
1130
  onError?: "stop" | "continue" | undefined;
@@ -1114,9 +1140,9 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1114
1140
  type?: string | undefined;
1115
1141
  name?: string | undefined;
1116
1142
  description?: string | undefined;
1143
+ isCustomized?: boolean | undefined;
1117
1144
  inputSchema?: any;
1118
1145
  config?: any;
1119
- isCustomized?: boolean | undefined;
1120
1146
  outputSchema?: any;
1121
1147
  version?: number | undefined;
1122
1148
  onError?: "stop" | "continue" | undefined;
@@ -1129,15 +1155,13 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1129
1155
  }[] | undefined;
1130
1156
  }>>>;
1131
1157
  autoCreateInstances: z.ZodOptional<z.ZodBoolean>;
1132
- archivedAt: z.ZodOptional<z.ZodString>;
1133
- revision: z.ZodString;
1134
- customized: z.ZodOptional<z.ZodBoolean>;
1135
1158
  } & {
1136
1159
  integration: z.ZodOptional<z.ZodObject<{
1137
1160
  id: z.ZodString;
1138
1161
  key: z.ZodOptional<z.ZodString>;
1139
1162
  uuid: z.ZodOptional<z.ZodString>;
1140
1163
  description: z.ZodOptional<z.ZodString>;
1164
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1141
1165
  name: z.ZodString;
1142
1166
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
1143
1167
  errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
@@ -1172,6 +1196,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1172
1196
  key?: string | undefined;
1173
1197
  uuid?: string | undefined;
1174
1198
  description?: string | undefined;
1199
+ meta?: Record<string, any> | undefined;
1175
1200
  state?: import("..").WorkspaceElementState | undefined;
1176
1201
  errors?: import("../..").ErrorDataSchema[] | undefined;
1177
1202
  revision?: string | undefined;
@@ -1203,6 +1228,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1203
1228
  key?: string | undefined;
1204
1229
  uuid?: string | undefined;
1205
1230
  description?: string | undefined;
1231
+ meta?: Record<string, any> | undefined;
1206
1232
  state?: import("..").WorkspaceElementState | undefined;
1207
1233
  errors?: import("../..").ErrorDataSchema[] | undefined;
1208
1234
  revision?: string | undefined;
@@ -1232,17 +1258,17 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1232
1258
  element: z.ZodObject<{
1233
1259
  id: z.ZodString;
1234
1260
  integrationId: z.ZodOptional<z.ZodString>;
1235
- customized: z.ZodOptional<z.ZodBoolean>;
1261
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
1236
1262
  universalFlowId: z.ZodOptional<z.ZodString>;
1237
1263
  }, "strip", z.ZodTypeAny, {
1238
1264
  id: string;
1239
1265
  integrationId?: string | undefined;
1240
- customized?: boolean | undefined;
1266
+ isCustomized?: boolean | undefined;
1241
1267
  universalFlowId?: string | undefined;
1242
1268
  }, {
1243
1269
  id: string;
1244
1270
  integrationId?: string | undefined;
1245
- customized?: boolean | undefined;
1271
+ isCustomized?: boolean | undefined;
1246
1272
  universalFlowId?: string | undefined;
1247
1273
  }>;
1248
1274
  integration: z.ZodObject<{
@@ -1250,6 +1276,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1250
1276
  key: z.ZodOptional<z.ZodString>;
1251
1277
  uuid: z.ZodOptional<z.ZodString>;
1252
1278
  description: z.ZodOptional<z.ZodString>;
1279
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1253
1280
  name: z.ZodString;
1254
1281
  state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
1255
1282
  errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
@@ -1284,6 +1311,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1284
1311
  key?: string | undefined;
1285
1312
  uuid?: string | undefined;
1286
1313
  description?: string | undefined;
1314
+ meta?: Record<string, any> | undefined;
1287
1315
  state?: import("..").WorkspaceElementState | undefined;
1288
1316
  errors?: import("../..").ErrorDataSchema[] | undefined;
1289
1317
  revision?: string | undefined;
@@ -1315,6 +1343,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1315
1343
  key?: string | undefined;
1316
1344
  uuid?: string | undefined;
1317
1345
  description?: string | undefined;
1346
+ meta?: Record<string, any> | undefined;
1318
1347
  state?: import("..").WorkspaceElementState | undefined;
1319
1348
  errors?: import("../..").ErrorDataSchema[] | undefined;
1320
1349
  revision?: string | undefined;
@@ -1348,6 +1377,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1348
1377
  key?: string | undefined;
1349
1378
  uuid?: string | undefined;
1350
1379
  description?: string | undefined;
1380
+ meta?: Record<string, any> | undefined;
1351
1381
  state?: import("..").WorkspaceElementState | undefined;
1352
1382
  errors?: import("../..").ErrorDataSchema[] | undefined;
1353
1383
  revision?: string | undefined;
@@ -1376,7 +1406,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1376
1406
  element: {
1377
1407
  id: string;
1378
1408
  integrationId?: string | undefined;
1379
- customized?: boolean | undefined;
1409
+ isCustomized?: boolean | undefined;
1380
1410
  universalFlowId?: string | undefined;
1381
1411
  };
1382
1412
  }, {
@@ -1387,6 +1417,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1387
1417
  key?: string | undefined;
1388
1418
  uuid?: string | undefined;
1389
1419
  description?: string | undefined;
1420
+ meta?: Record<string, any> | undefined;
1390
1421
  state?: import("..").WorkspaceElementState | undefined;
1391
1422
  errors?: import("../..").ErrorDataSchema[] | undefined;
1392
1423
  revision?: string | undefined;
@@ -1415,7 +1446,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1415
1446
  element: {
1416
1447
  id: string;
1417
1448
  integrationId?: string | undefined;
1418
- customized?: boolean | undefined;
1449
+ isCustomized?: boolean | undefined;
1419
1450
  universalFlowId?: string | undefined;
1420
1451
  };
1421
1452
  }>, "many">>;
@@ -1423,7 +1454,6 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1423
1454
  }, "strip", z.ZodTypeAny, {
1424
1455
  id: string;
1425
1456
  name: string;
1426
- revision: string;
1427
1457
  key?: string | undefined;
1428
1458
  integration?: {
1429
1459
  id: string;
@@ -1432,6 +1462,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1432
1462
  key?: string | undefined;
1433
1463
  uuid?: string | undefined;
1434
1464
  description?: string | undefined;
1465
+ meta?: Record<string, any> | undefined;
1435
1466
  state?: import("..").WorkspaceElementState | undefined;
1436
1467
  errors?: import("../..").ErrorDataSchema[] | undefined;
1437
1468
  revision?: string | undefined;
@@ -1459,14 +1490,17 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1459
1490
  } | undefined;
1460
1491
  uuid?: string | undefined;
1461
1492
  description?: string | undefined;
1493
+ meta?: Record<string, any> | undefined;
1462
1494
  state?: import("..").WorkspaceElementState | undefined;
1463
1495
  errors?: import("../..").ErrorDataSchema[] | undefined;
1496
+ revision?: string | undefined;
1464
1497
  createdAt?: string | undefined;
1465
1498
  updatedAt?: string | undefined;
1466
1499
  archivedAt?: string | undefined;
1467
1500
  isDeactivated?: boolean | undefined;
1468
1501
  integrationId?: string | undefined;
1469
- customized?: boolean | undefined;
1502
+ parentId?: string | undefined;
1503
+ isCustomized?: boolean | undefined;
1470
1504
  parametersSchema?: DataSchema | undefined;
1471
1505
  appliedToIntegrations?: {
1472
1506
  integration: {
@@ -1476,6 +1510,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1476
1510
  key?: string | undefined;
1477
1511
  uuid?: string | undefined;
1478
1512
  description?: string | undefined;
1513
+ meta?: Record<string, any> | undefined;
1479
1514
  state?: import("..").WorkspaceElementState | undefined;
1480
1515
  errors?: import("../..").ErrorDataSchema[] | undefined;
1481
1516
  revision?: string | undefined;
@@ -1504,7 +1539,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1504
1539
  element: {
1505
1540
  id: string;
1506
1541
  integrationId?: string | undefined;
1507
- customized?: boolean | undefined;
1542
+ isCustomized?: boolean | undefined;
1508
1543
  universalFlowId?: string | undefined;
1509
1544
  };
1510
1545
  }[] | undefined;
@@ -1516,9 +1551,9 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1516
1551
  type?: string | undefined;
1517
1552
  name?: string | undefined;
1518
1553
  description?: string | undefined;
1554
+ isCustomized?: boolean | undefined;
1519
1555
  inputSchema?: any;
1520
1556
  config?: any;
1521
- isCustomized?: boolean | undefined;
1522
1557
  outputSchema?: any;
1523
1558
  version?: number | undefined;
1524
1559
  onError?: "stop" | "continue" | undefined;
@@ -1534,7 +1569,6 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1534
1569
  }, {
1535
1570
  id: string;
1536
1571
  name: string;
1537
- revision: string;
1538
1572
  key?: string | undefined;
1539
1573
  integration?: {
1540
1574
  id: string;
@@ -1543,6 +1577,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1543
1577
  key?: string | undefined;
1544
1578
  uuid?: string | undefined;
1545
1579
  description?: string | undefined;
1580
+ meta?: Record<string, any> | undefined;
1546
1581
  state?: import("..").WorkspaceElementState | undefined;
1547
1582
  errors?: import("../..").ErrorDataSchema[] | undefined;
1548
1583
  revision?: string | undefined;
@@ -1570,14 +1605,17 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1570
1605
  } | undefined;
1571
1606
  uuid?: string | undefined;
1572
1607
  description?: string | undefined;
1608
+ meta?: Record<string, any> | undefined;
1573
1609
  state?: import("..").WorkspaceElementState | undefined;
1574
1610
  errors?: import("../..").ErrorDataSchema[] | undefined;
1611
+ revision?: string | undefined;
1575
1612
  createdAt?: string | undefined;
1576
1613
  updatedAt?: string | undefined;
1577
1614
  archivedAt?: string | undefined;
1578
1615
  isDeactivated?: boolean | undefined;
1579
1616
  integrationId?: string | undefined;
1580
- customized?: boolean | undefined;
1617
+ parentId?: string | undefined;
1618
+ isCustomized?: boolean | undefined;
1581
1619
  parametersSchema?: DataSchema | undefined;
1582
1620
  appliedToIntegrations?: {
1583
1621
  integration: {
@@ -1587,6 +1625,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1587
1625
  key?: string | undefined;
1588
1626
  uuid?: string | undefined;
1589
1627
  description?: string | undefined;
1628
+ meta?: Record<string, any> | undefined;
1590
1629
  state?: import("..").WorkspaceElementState | undefined;
1591
1630
  errors?: import("../..").ErrorDataSchema[] | undefined;
1592
1631
  revision?: string | undefined;
@@ -1615,7 +1654,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1615
1654
  element: {
1616
1655
  id: string;
1617
1656
  integrationId?: string | undefined;
1618
- customized?: boolean | undefined;
1657
+ isCustomized?: boolean | undefined;
1619
1658
  universalFlowId?: string | undefined;
1620
1659
  };
1621
1660
  }[] | undefined;
@@ -1627,9 +1666,9 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1627
1666
  type?: string | undefined;
1628
1667
  name?: string | undefined;
1629
1668
  description?: string | undefined;
1669
+ isCustomized?: boolean | undefined;
1630
1670
  inputSchema?: any;
1631
1671
  config?: any;
1632
- isCustomized?: boolean | undefined;
1633
1672
  outputSchema?: any;
1634
1673
  version?: number | undefined;
1635
1674
  onError?: "stop" | "continue" | undefined;
@@ -1650,6 +1689,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1650
1689
  key?: string | undefined;
1651
1690
  uuid?: string | undefined;
1652
1691
  description?: string | undefined;
1692
+ meta?: Record<string, any> | undefined;
1653
1693
  state?: import("..").WorkspaceElementState | undefined;
1654
1694
  errors?: import("../..").ErrorDataSchema[] | undefined;
1655
1695
  revision?: string | undefined;
@@ -1681,6 +1721,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1681
1721
  key?: string | undefined;
1682
1722
  uuid?: string | undefined;
1683
1723
  description?: string | undefined;
1724
+ meta?: Record<string, any> | undefined;
1684
1725
  state?: import("..").WorkspaceElementState | undefined;
1685
1726
  errors?: import("../..").ErrorDataSchema[] | undefined;
1686
1727
  revision?: string | undefined;
@@ -1711,8 +1752,8 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1711
1752
  name: string;
1712
1753
  createdAt: string;
1713
1754
  updatedAt: string;
1714
- userId: string;
1715
1755
  integrationId: string;
1756
+ userId: string;
1716
1757
  enabled: boolean;
1717
1758
  key?: string | undefined;
1718
1759
  connection?: {
@@ -1720,16 +1761,15 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1720
1761
  name: string;
1721
1762
  createdAt: string;
1722
1763
  updatedAt: string;
1723
- userId: string;
1724
1764
  integrationId: string;
1765
+ userId: string;
1725
1766
  error?: import("../..").ErrorDataSchema | undefined;
1767
+ meta?: Record<string, any> | undefined;
1726
1768
  state?: import("..").WorkspaceElementState | undefined;
1727
- errors?: import("../..").ErrorDataSchema[] | undefined;
1728
1769
  archivedAt?: string | undefined;
1729
1770
  isDeactivated?: boolean | undefined;
1730
1771
  authOptionKey?: string | undefined;
1731
1772
  isTest?: boolean | undefined;
1732
- meta?: Record<string, any> | undefined;
1733
1773
  disconnected?: boolean | undefined;
1734
1774
  isDefunct?: boolean | undefined;
1735
1775
  lastActiveAt?: string | undefined;
@@ -1742,6 +1782,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1742
1782
  key?: string | undefined;
1743
1783
  uuid?: string | undefined;
1744
1784
  description?: string | undefined;
1785
+ meta?: Record<string, any> | undefined;
1745
1786
  state?: import("..").WorkspaceElementState | undefined;
1746
1787
  errors?: import("../..").ErrorDataSchema[] | undefined;
1747
1788
  revision?: string | undefined;
@@ -1770,7 +1811,6 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1770
1811
  flow?: {
1771
1812
  id: string;
1772
1813
  name: string;
1773
- revision: string;
1774
1814
  key?: string | undefined;
1775
1815
  integration?: {
1776
1816
  id: string;
@@ -1779,6 +1819,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1779
1819
  key?: string | undefined;
1780
1820
  uuid?: string | undefined;
1781
1821
  description?: string | undefined;
1822
+ meta?: Record<string, any> | undefined;
1782
1823
  state?: import("..").WorkspaceElementState | undefined;
1783
1824
  errors?: import("../..").ErrorDataSchema[] | undefined;
1784
1825
  revision?: string | undefined;
@@ -1806,14 +1847,17 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1806
1847
  } | undefined;
1807
1848
  uuid?: string | undefined;
1808
1849
  description?: string | undefined;
1850
+ meta?: Record<string, any> | undefined;
1809
1851
  state?: import("..").WorkspaceElementState | undefined;
1810
1852
  errors?: import("../..").ErrorDataSchema[] | undefined;
1853
+ revision?: string | undefined;
1811
1854
  createdAt?: string | undefined;
1812
1855
  updatedAt?: string | undefined;
1813
1856
  archivedAt?: string | undefined;
1814
1857
  isDeactivated?: boolean | undefined;
1815
1858
  integrationId?: string | undefined;
1816
- customized?: boolean | undefined;
1859
+ parentId?: string | undefined;
1860
+ isCustomized?: boolean | undefined;
1817
1861
  parametersSchema?: DataSchema | undefined;
1818
1862
  appliedToIntegrations?: {
1819
1863
  integration: {
@@ -1823,6 +1867,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1823
1867
  key?: string | undefined;
1824
1868
  uuid?: string | undefined;
1825
1869
  description?: string | undefined;
1870
+ meta?: Record<string, any> | undefined;
1826
1871
  state?: import("..").WorkspaceElementState | undefined;
1827
1872
  errors?: import("../..").ErrorDataSchema[] | undefined;
1828
1873
  revision?: string | undefined;
@@ -1851,7 +1896,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1851
1896
  element: {
1852
1897
  id: string;
1853
1898
  integrationId?: string | undefined;
1854
- customized?: boolean | undefined;
1899
+ isCustomized?: boolean | undefined;
1855
1900
  universalFlowId?: string | undefined;
1856
1901
  };
1857
1902
  }[] | undefined;
@@ -1863,9 +1908,9 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1863
1908
  type?: string | undefined;
1864
1909
  name?: string | undefined;
1865
1910
  description?: string | undefined;
1911
+ isCustomized?: boolean | undefined;
1866
1912
  inputSchema?: any;
1867
1913
  config?: any;
1868
- isCustomized?: boolean | undefined;
1869
1914
  outputSchema?: any;
1870
1915
  version?: number | undefined;
1871
1916
  onError?: "stop" | "continue" | undefined;
@@ -1881,6 +1926,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1881
1926
  } | undefined;
1882
1927
  uuid?: string | undefined;
1883
1928
  description?: string | undefined;
1929
+ meta?: Record<string, any> | undefined;
1884
1930
  state?: import("..").WorkspaceElementState | undefined;
1885
1931
  errors?: import("../..").ErrorDataSchema[] | undefined;
1886
1932
  revision?: string | undefined;
@@ -1889,15 +1935,12 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1889
1935
  instanceKey?: string | undefined;
1890
1936
  connectionId?: string | undefined;
1891
1937
  parameters?: any;
1892
- customized?: {
1893
- name?: boolean | undefined;
1894
- nodes?: boolean | undefined;
1895
- } | undefined;
1896
1938
  parametersSchema?: DataSchema | undefined;
1897
1939
  user?: {
1898
1940
  id: string;
1899
1941
  name: string;
1900
1942
  internalId: string;
1943
+ meta?: Record<string, any> | undefined;
1901
1944
  createdAt?: string | undefined;
1902
1945
  archivedAt?: string | undefined;
1903
1946
  credentials?: any;
@@ -1910,13 +1953,17 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1910
1953
  universalFlowId?: string | undefined;
1911
1954
  nodes?: Record<string, any> | undefined;
1912
1955
  flowId?: string | undefined;
1956
+ customized?: {
1957
+ name?: boolean | undefined;
1958
+ nodes?: boolean | undefined;
1959
+ } | undefined;
1913
1960
  }, {
1914
1961
  id: string;
1915
1962
  name: string;
1916
1963
  createdAt: string;
1917
1964
  updatedAt: string;
1918
- userId: string;
1919
1965
  integrationId: string;
1966
+ userId: string;
1920
1967
  enabled: boolean;
1921
1968
  key?: string | undefined;
1922
1969
  connection?: {
@@ -1924,16 +1971,15 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1924
1971
  name: string;
1925
1972
  createdAt: string;
1926
1973
  updatedAt: string;
1927
- userId: string;
1928
1974
  integrationId: string;
1975
+ userId: string;
1929
1976
  error?: import("../..").ErrorDataSchema | undefined;
1977
+ meta?: Record<string, any> | undefined;
1930
1978
  state?: import("..").WorkspaceElementState | undefined;
1931
- errors?: import("../..").ErrorDataSchema[] | undefined;
1932
1979
  archivedAt?: string | undefined;
1933
1980
  isDeactivated?: boolean | undefined;
1934
1981
  authOptionKey?: string | undefined;
1935
1982
  isTest?: boolean | undefined;
1936
- meta?: Record<string, any> | undefined;
1937
1983
  disconnected?: boolean | undefined;
1938
1984
  isDefunct?: boolean | undefined;
1939
1985
  lastActiveAt?: string | undefined;
@@ -1946,6 +1992,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1946
1992
  key?: string | undefined;
1947
1993
  uuid?: string | undefined;
1948
1994
  description?: string | undefined;
1995
+ meta?: Record<string, any> | undefined;
1949
1996
  state?: import("..").WorkspaceElementState | undefined;
1950
1997
  errors?: import("../..").ErrorDataSchema[] | undefined;
1951
1998
  revision?: string | undefined;
@@ -1974,7 +2021,6 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1974
2021
  flow?: {
1975
2022
  id: string;
1976
2023
  name: string;
1977
- revision: string;
1978
2024
  key?: string | undefined;
1979
2025
  integration?: {
1980
2026
  id: string;
@@ -1983,6 +2029,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
1983
2029
  key?: string | undefined;
1984
2030
  uuid?: string | undefined;
1985
2031
  description?: string | undefined;
2032
+ meta?: Record<string, any> | undefined;
1986
2033
  state?: import("..").WorkspaceElementState | undefined;
1987
2034
  errors?: import("../..").ErrorDataSchema[] | undefined;
1988
2035
  revision?: string | undefined;
@@ -2010,14 +2057,17 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
2010
2057
  } | undefined;
2011
2058
  uuid?: string | undefined;
2012
2059
  description?: string | undefined;
2060
+ meta?: Record<string, any> | undefined;
2013
2061
  state?: import("..").WorkspaceElementState | undefined;
2014
2062
  errors?: import("../..").ErrorDataSchema[] | undefined;
2063
+ revision?: string | undefined;
2015
2064
  createdAt?: string | undefined;
2016
2065
  updatedAt?: string | undefined;
2017
2066
  archivedAt?: string | undefined;
2018
2067
  isDeactivated?: boolean | undefined;
2019
2068
  integrationId?: string | undefined;
2020
- customized?: boolean | undefined;
2069
+ parentId?: string | undefined;
2070
+ isCustomized?: boolean | undefined;
2021
2071
  parametersSchema?: DataSchema | undefined;
2022
2072
  appliedToIntegrations?: {
2023
2073
  integration: {
@@ -2027,6 +2077,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
2027
2077
  key?: string | undefined;
2028
2078
  uuid?: string | undefined;
2029
2079
  description?: string | undefined;
2080
+ meta?: Record<string, any> | undefined;
2030
2081
  state?: import("..").WorkspaceElementState | undefined;
2031
2082
  errors?: import("../..").ErrorDataSchema[] | undefined;
2032
2083
  revision?: string | undefined;
@@ -2055,7 +2106,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
2055
2106
  element: {
2056
2107
  id: string;
2057
2108
  integrationId?: string | undefined;
2058
- customized?: boolean | undefined;
2109
+ isCustomized?: boolean | undefined;
2059
2110
  universalFlowId?: string | undefined;
2060
2111
  };
2061
2112
  }[] | undefined;
@@ -2067,9 +2118,9 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
2067
2118
  type?: string | undefined;
2068
2119
  name?: string | undefined;
2069
2120
  description?: string | undefined;
2121
+ isCustomized?: boolean | undefined;
2070
2122
  inputSchema?: any;
2071
2123
  config?: any;
2072
- isCustomized?: boolean | undefined;
2073
2124
  outputSchema?: any;
2074
2125
  version?: number | undefined;
2075
2126
  onError?: "stop" | "continue" | undefined;
@@ -2085,6 +2136,7 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
2085
2136
  } | undefined;
2086
2137
  uuid?: string | undefined;
2087
2138
  description?: string | undefined;
2139
+ meta?: Record<string, any> | undefined;
2088
2140
  state?: import("..").WorkspaceElementState | undefined;
2089
2141
  errors?: import("../..").ErrorDataSchema[] | undefined;
2090
2142
  revision?: string | undefined;
@@ -2093,15 +2145,12 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
2093
2145
  instanceKey?: string | undefined;
2094
2146
  connectionId?: string | undefined;
2095
2147
  parameters?: any;
2096
- customized?: {
2097
- name?: boolean | undefined;
2098
- nodes?: boolean | undefined;
2099
- } | undefined;
2100
2148
  parametersSchema?: DataSchema | undefined;
2101
2149
  user?: {
2102
2150
  id: string;
2103
2151
  name: string;
2104
2152
  internalId: string;
2153
+ meta?: Record<string, any> | undefined;
2105
2154
  createdAt?: string | undefined;
2106
2155
  archivedAt?: string | undefined;
2107
2156
  credentials?: any;
@@ -2114,6 +2163,10 @@ export declare const FlowInstanceApiResponse: z.ZodObject<{
2114
2163
  universalFlowId?: string | undefined;
2115
2164
  nodes?: Record<string, any> | undefined;
2116
2165
  flowId?: string | undefined;
2166
+ customized?: {
2167
+ name?: boolean | undefined;
2168
+ nodes?: boolean | undefined;
2169
+ } | undefined;
2117
2170
  }>;
2118
2171
  export type FlowInstanceApiResponse = z.infer<typeof FlowInstanceApiResponse>;
2119
2172
  export type FlowInstance = FlowInstanceApiResponse;