@membranehq/sdk 0.7.3 → 0.7.4

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 (32) hide show
  1. package/dist/bundle.d.ts +1180 -1049
  2. package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +9 -20
  3. package/dist/dts/workspace-elements/api/data-sources-api.d.ts +452 -453
  4. package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +43 -69
  5. package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +208 -110
  6. package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +6 -6
  7. package/dist/dts/workspace-elements/api/flows-api.d.ts +583 -497
  8. package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +2 -2
  9. package/dist/dts/workspace-elements/base/data-sources/index.d.ts +153 -2
  10. package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +1 -1
  11. package/dist/dts/workspace-elements/base/field-mappings/index.d.ts +191 -1
  12. package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +2 -2
  13. package/dist/dts/workspace-elements/base/flows/index.d.ts +300 -1
  14. package/dist/dts/workspace-elements/base/flows/nodes/base.d.ts +79 -1
  15. package/dist/dts/workspace-elements/base/flows/nodes/index.d.ts +1 -1
  16. package/dist/index.browser.d.mts +1749 -1375
  17. package/dist/index.browser.d.ts +1749 -1375
  18. package/dist/index.browser.js +128 -133
  19. package/dist/index.browser.js.map +1 -1
  20. package/dist/index.browser.mjs +123 -132
  21. package/dist/index.browser.mjs.map +1 -1
  22. package/dist/index.node.d.mts +1749 -1375
  23. package/dist/index.node.d.ts +1749 -1375
  24. package/dist/index.node.js +128 -133
  25. package/dist/index.node.js.map +1 -1
  26. package/dist/index.node.mjs +123 -132
  27. package/dist/index.node.mjs.map +1 -1
  28. package/package.json +1 -1
  29. package/dist/dts/workspace-elements/base/data-sources/constants.d.ts +0 -4
  30. package/dist/dts/workspace-elements/base/data-sources/types.d.ts +0 -109
  31. package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +0 -136
  32. package/dist/dts/workspace-elements/base/flows/types.d.ts +0 -248
@@ -2900,7 +2900,13 @@ declare const DataSourceInstanceApiResponse: z.ZodObject<{
2900
2900
  description: z.ZodOptional<z.ZodString>;
2901
2901
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2902
2902
  integrationId: z.ZodOptional<z.ZodString>;
2903
- parentId: z.ZodOptional<z.ZodString>;
2903
+ universalDataSourceId: z.ZodOptional<z.ZodString>;
2904
+ udm: z.ZodOptional<z.ZodString>;
2905
+ pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
2906
+ fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
2907
+ collectionKey: z.ZodOptional<z.ZodString>;
2908
+ collectionParameters: z.ZodOptional<z.ZodAny>;
2909
+ defaultPath: z.ZodOptional<z.ZodString>;
2904
2910
  } & {
2905
2911
  name: z.ZodString;
2906
2912
  state: z.ZodOptional<z.ZodNativeEnum<typeof WorkspaceElementState>>;
@@ -2911,16 +2917,7 @@ declare const DataSourceInstanceApiResponse: z.ZodObject<{
2911
2917
  archivedAt: z.ZodOptional<z.ZodString>;
2912
2918
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
2913
2919
  isCustomized: z.ZodOptional<z.ZodBoolean>;
2914
- } & {
2915
- publishedRevision: z.ZodOptional<z.ZodString>;
2916
- universalDataSourceId: z.ZodOptional<z.ZodString>;
2917
2920
  universalDataSourceRevision: z.ZodOptional<z.ZodString>;
2918
- udm: z.ZodOptional<z.ZodString>;
2919
- pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
2920
- fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
2921
- collectionKey: z.ZodOptional<z.ZodString>;
2922
- collectionParameters: z.ZodOptional<z.ZodAny>;
2923
- defaultPath: z.ZodOptional<z.ZodString>;
2924
2921
  }, "strip", z.ZodTypeAny, {
2925
2922
  id: string;
2926
2923
  name: string;
@@ -2936,9 +2933,7 @@ declare const DataSourceInstanceApiResponse: z.ZodObject<{
2936
2933
  archivedAt?: string | undefined;
2937
2934
  isDeactivated?: boolean | undefined;
2938
2935
  integrationId?: string | undefined;
2939
- parentId?: string | undefined;
2940
2936
  isCustomized?: boolean | undefined;
2941
- publishedRevision?: string | undefined;
2942
2937
  udm?: string | undefined;
2943
2938
  universalDataSourceId?: string | undefined;
2944
2939
  collectionKey?: string | undefined;
@@ -2962,9 +2957,7 @@ declare const DataSourceInstanceApiResponse: z.ZodObject<{
2962
2957
  archivedAt?: string | undefined;
2963
2958
  isDeactivated?: boolean | undefined;
2964
2959
  integrationId?: string | undefined;
2965
- parentId?: string | undefined;
2966
2960
  isCustomized?: boolean | undefined;
2967
- publishedRevision?: string | undefined;
2968
2961
  udm?: string | undefined;
2969
2962
  universalDataSourceId?: string | undefined;
2970
2963
  collectionKey?: string | undefined;
@@ -3200,7 +3193,6 @@ declare const DataSourceInstanceApiResponse: z.ZodObject<{
3200
3193
  isDeactivated?: boolean | undefined;
3201
3194
  isCustomized?: boolean | undefined;
3202
3195
  instanceKey?: string | undefined;
3203
- dataSourceId?: string | undefined;
3204
3196
  udm?: string | undefined;
3205
3197
  collectionSpec?: {
3206
3198
  type: "collection";
@@ -3350,6 +3342,7 @@ declare const DataSourceInstanceApiResponse: z.ZodObject<{
3350
3342
  lastActiveAt?: string | undefined;
3351
3343
  isBillable?: boolean | undefined;
3352
3344
  } | undefined;
3345
+ dataSourceId?: string | undefined;
3353
3346
  dataSourceRevision?: string | undefined;
3354
3347
  universalDataSourceId?: string | undefined;
3355
3348
  collectionKey?: string | undefined;
@@ -3374,9 +3367,7 @@ declare const DataSourceInstanceApiResponse: z.ZodObject<{
3374
3367
  archivedAt?: string | undefined;
3375
3368
  isDeactivated?: boolean | undefined;
3376
3369
  integrationId?: string | undefined;
3377
- parentId?: string | undefined;
3378
3370
  isCustomized?: boolean | undefined;
3379
- publishedRevision?: string | undefined;
3380
3371
  udm?: string | undefined;
3381
3372
  universalDataSourceId?: string | undefined;
3382
3373
  collectionKey?: string | undefined;
@@ -3458,7 +3449,6 @@ declare const DataSourceInstanceApiResponse: z.ZodObject<{
3458
3449
  isDeactivated?: boolean | undefined;
3459
3450
  isCustomized?: boolean | undefined;
3460
3451
  instanceKey?: string | undefined;
3461
- dataSourceId?: string | undefined;
3462
3452
  udm?: string | undefined;
3463
3453
  collectionSpec?: {
3464
3454
  type: "collection";
@@ -3608,6 +3598,7 @@ declare const DataSourceInstanceApiResponse: z.ZodObject<{
3608
3598
  lastActiveAt?: string | undefined;
3609
3599
  isBillable?: boolean | undefined;
3610
3600
  } | undefined;
3601
+ dataSourceId?: string | undefined;
3611
3602
  dataSourceRevision?: string | undefined;
3612
3603
  universalDataSourceId?: string | undefined;
3613
3604
  collectionKey?: string | undefined;
@@ -3632,9 +3623,7 @@ declare const DataSourceInstanceApiResponse: z.ZodObject<{
3632
3623
  archivedAt?: string | undefined;
3633
3624
  isDeactivated?: boolean | undefined;
3634
3625
  integrationId?: string | undefined;
3635
- parentId?: string | undefined;
3636
3626
  isCustomized?: boolean | undefined;
3637
- publishedRevision?: string | undefined;
3638
3627
  udm?: string | undefined;
3639
3628
  universalDataSourceId?: string | undefined;
3640
3629
  collectionKey?: string | undefined;
@@ -3648,419 +3637,80 @@ declare const DataSourceInstanceApiResponse: z.ZodObject<{
3648
3637
  type DataSourceInstanceApiResponse = z.infer<typeof DataSourceInstanceApiResponse>;
3649
3638
  type DataSourceInstance = DataSourceInstanceApiResponse;
3650
3639
 
3651
- declare function createSchema(value: any): any;
3652
- declare function createCompoundSchema(values: any[]): any;
3653
-
3654
- interface DataSchema {
3655
- title?: string;
3656
- description?: string;
3657
- type?: string | string[];
3658
- format?: string;
3659
- properties?: {
3660
- [key: string]: DataSchema;
3661
- };
3662
- items?: DataSchema;
3663
- additionalProperties?: boolean | DataSchema;
3664
- enum?: string[];
3665
- referenceRecords?: any[];
3666
- referenceCollection?: {
3667
- key?: any;
3668
- parameters?: Record<string, any>;
3669
- };
3670
- referenceUdm?: string;
3671
- default?: any;
3672
- allowCustom?: boolean;
3673
- $ref?: string;
3674
- required?: string[];
3675
- minLength?: number;
3676
- maxLength?: number;
3677
- minimum?: number;
3678
- maximum?: number;
3679
- maxItems?: number;
3680
- readOnly?: boolean;
3681
- writeOnly?: boolean;
3682
- examples?: any[];
3683
- anyOf?: DataSchema[];
3684
- isImplied?: boolean;
3685
- isSensitive?: boolean;
3686
- referenceCollectionPath?: string;
3687
- referenceCollectionUri?: string;
3688
- [key: string]: any;
3689
- }
3690
- declare const DataSchema: z.ZodType<DataSchema>;
3691
-
3692
- interface PatchSchemaOption {
3693
- readOnly?: boolean;
3694
- writeOnly?: boolean;
3695
- }
3696
- declare function mergeSchemas(schemas: any[]): any;
3697
- declare function patchSchema(source: DataSchema, patch: DataSchema, options?: PatchSchemaOption): any;
3698
- declare function unwrapSchema(schema: any): any[];
3699
- declare function unwrapSchemas(schemas: any[]): any[];
3700
- declare function wrapAnyOfSchema(schema: any): any;
3701
-
3702
- declare const ListFlowsForIntegrationQuery: z.ZodObject<{
3703
- universalFlowId: z.ZodOptional<z.ZodString>;
3704
- } & {
3705
- search: z.ZodOptional<z.ZodString>;
3706
- } & {
3707
- limit: z.ZodOptional<z.ZodNumber>;
3708
- cursor: z.ZodOptional<z.ZodString>;
3709
- } & {
3710
- includeArchived: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
3711
- }, "strip", z.ZodTypeAny, {
3712
- search?: string | undefined;
3713
- includeArchived?: boolean | undefined;
3714
- limit?: number | undefined;
3715
- cursor?: string | undefined;
3716
- universalFlowId?: string | undefined;
3717
- }, {
3718
- search?: string | undefined;
3719
- includeArchived?: unknown;
3720
- limit?: number | undefined;
3721
- cursor?: string | undefined;
3722
- universalFlowId?: string | undefined;
3723
- }>;
3724
- type ListFlowsForIntegrationQuery = z.infer<typeof ListFlowsForIntegrationQuery>;
3725
- declare const FindFlowsQuery: z.ZodObject<{
3726
- universalFlowId: z.ZodOptional<z.ZodString>;
3727
- } & {
3728
- search: z.ZodOptional<z.ZodString>;
3729
- } & {
3730
- limit: z.ZodOptional<z.ZodNumber>;
3731
- cursor: z.ZodOptional<z.ZodString>;
3732
- } & {
3733
- includeArchived: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
3734
- } & {
3735
- integrationId: z.ZodOptional<z.ZodString>;
3736
- }, "strip", z.ZodTypeAny, {
3737
- search?: string | undefined;
3738
- integrationId?: string | undefined;
3739
- includeArchived?: boolean | undefined;
3740
- limit?: number | undefined;
3741
- cursor?: string | undefined;
3742
- universalFlowId?: string | undefined;
3743
- }, {
3744
- search?: string | undefined;
3745
- integrationId?: string | undefined;
3746
- includeArchived?: unknown;
3747
- limit?: number | undefined;
3748
- cursor?: string | undefined;
3749
- universalFlowId?: string | undefined;
3750
- }>;
3751
- type FindFlowsQuery = z.infer<typeof FindFlowsQuery>;
3752
- declare const CreateFlowNodeRequest: z.ZodObject<{
3753
- type: z.ZodString;
3754
- config: z.ZodOptional<z.ZodAny>;
3755
- ui: z.ZodOptional<z.ZodAny>;
3756
- links: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodType<{
3757
- key?: string | undefined;
3758
- filter?: any;
3759
- name?: string | undefined;
3760
- }, z.ZodTypeDef, {
3761
- key?: string | undefined;
3762
- filter?: any;
3763
- name?: string | undefined;
3764
- }>>, "many">>;
3765
- }, "strip", z.ZodTypeAny, {
3766
- type: string;
3767
- config?: any;
3768
- ui?: any;
3769
- links?: {
3770
- key?: string | undefined;
3771
- filter?: any;
3772
- name?: string | undefined;
3773
- }[] | undefined;
3774
- }, {
3775
- type: string;
3776
- config?: any;
3777
- ui?: any;
3778
- links?: {
3779
- key?: string | undefined;
3780
- filter?: any;
3781
- name?: string | undefined;
3782
- }[] | undefined;
3783
- }>;
3784
- type CreateFlowNodeRequest = z.infer<typeof CreateFlowNodeRequest>;
3785
- declare const CreateFlowRequest: z.ZodObject<{
3786
- key: z.ZodString;
3787
- name: z.ZodString;
3640
+ declare const FlowApiResponse: z.ZodObject<{
3641
+ id: z.ZodString;
3642
+ key: z.ZodOptional<z.ZodString>;
3643
+ uuid: z.ZodOptional<z.ZodString>;
3644
+ description: z.ZodOptional<z.ZodString>;
3645
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3788
3646
  integrationId: z.ZodOptional<z.ZodString>;
3647
+ universalFlowId: z.ZodOptional<z.ZodString>;
3648
+ parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
3789
3649
  nodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
3790
- type: z.ZodString;
3650
+ type: z.ZodOptional<z.ZodString>;
3651
+ version: z.ZodOptional<z.ZodNumber>;
3652
+ name: z.ZodOptional<z.ZodString>;
3653
+ description: z.ZodOptional<z.ZodString>;
3791
3654
  config: z.ZodOptional<z.ZodAny>;
3655
+ concurrency: z.ZodOptional<z.ZodNumber>;
3656
+ onError: z.ZodOptional<z.ZodEnum<["stop", "continue"]>>;
3792
3657
  ui: z.ZodOptional<z.ZodAny>;
3793
- links: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodType<{
3658
+ inputSchema: z.ZodOptional<z.ZodAny>;
3659
+ outputSchema: z.ZodOptional<z.ZodAny>;
3660
+ outputExample: z.ZodOptional<z.ZodAny>;
3661
+ links: z.ZodOptional<z.ZodArray<z.ZodObject<{
3662
+ key: z.ZodOptional<z.ZodString>;
3663
+ filter: z.ZodOptional<z.ZodAny>;
3664
+ name: z.ZodOptional<z.ZodString>;
3665
+ }, "strip", z.ZodTypeAny, {
3794
3666
  key?: string | undefined;
3795
3667
  filter?: any;
3796
3668
  name?: string | undefined;
3797
- }, z.ZodTypeDef, {
3669
+ }, {
3798
3670
  key?: string | undefined;
3799
3671
  filter?: any;
3800
3672
  name?: string | undefined;
3801
- }>>, "many">>;
3673
+ }>, "many">>;
3674
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
3802
3675
  }, "strip", z.ZodTypeAny, {
3803
- type: string;
3676
+ concurrency?: number | undefined;
3677
+ type?: string | undefined;
3678
+ name?: string | undefined;
3679
+ description?: string | undefined;
3680
+ isCustomized?: boolean | undefined;
3681
+ inputSchema?: any;
3804
3682
  config?: any;
3683
+ outputSchema?: any;
3684
+ version?: number | undefined;
3685
+ onError?: "stop" | "continue" | undefined;
3805
3686
  ui?: any;
3687
+ outputExample?: any;
3806
3688
  links?: {
3807
3689
  key?: string | undefined;
3808
3690
  filter?: any;
3809
3691
  name?: string | undefined;
3810
3692
  }[] | undefined;
3811
3693
  }, {
3812
- type: string;
3694
+ concurrency?: number | undefined;
3695
+ type?: string | undefined;
3696
+ name?: string | undefined;
3697
+ description?: string | undefined;
3698
+ isCustomized?: boolean | undefined;
3699
+ inputSchema?: any;
3813
3700
  config?: any;
3701
+ outputSchema?: any;
3702
+ version?: number | undefined;
3703
+ onError?: "stop" | "continue" | undefined;
3814
3704
  ui?: any;
3705
+ outputExample?: any;
3815
3706
  links?: {
3816
3707
  key?: string | undefined;
3817
3708
  filter?: any;
3818
3709
  name?: string | undefined;
3819
3710
  }[] | undefined;
3820
3711
  }>>>;
3821
- parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
3822
3712
  autoCreateInstances: z.ZodOptional<z.ZodBoolean>;
3823
- }, "strip", z.ZodTypeAny, {
3824
- key: string;
3825
- name: string;
3826
- integrationId?: string | undefined;
3827
- parametersSchema?: DataSchema | undefined;
3828
- nodes?: Record<string, {
3829
- type: string;
3830
- config?: any;
3831
- ui?: any;
3832
- links?: {
3833
- key?: string | undefined;
3834
- filter?: any;
3835
- name?: string | undefined;
3836
- }[] | undefined;
3837
- }> | undefined;
3838
- autoCreateInstances?: boolean | undefined;
3839
- }, {
3840
- key: string;
3841
- name: string;
3842
- integrationId?: string | undefined;
3843
- parametersSchema?: DataSchema | undefined;
3844
- nodes?: Record<string, {
3845
- type: string;
3846
- config?: any;
3847
- ui?: any;
3848
- links?: {
3849
- key?: string | undefined;
3850
- filter?: any;
3851
- name?: string | undefined;
3852
- }[] | undefined;
3853
- }> | undefined;
3854
- autoCreateInstances?: boolean | undefined;
3855
- }>;
3856
- type CreateFlowRequest = z.infer<typeof CreateFlowRequest>;
3857
- declare const UpdateFlowRequest: z.ZodObject<{
3858
- key: z.ZodString;
3859
- name: z.ZodString;
3860
- integrationId: z.ZodOptional<z.ZodString>;
3861
- nodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
3862
- type: z.ZodString;
3863
- config: z.ZodOptional<z.ZodAny>;
3864
- ui: z.ZodOptional<z.ZodAny>;
3865
- links: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodType<{
3866
- key?: string | undefined;
3867
- filter?: any;
3868
- name?: string | undefined;
3869
- }, z.ZodTypeDef, {
3870
- key?: string | undefined;
3871
- filter?: any;
3872
- name?: string | undefined;
3873
- }>>, "many">>;
3874
- }, "strip", z.ZodTypeAny, {
3875
- type: string;
3876
- config?: any;
3877
- ui?: any;
3878
- links?: {
3879
- key?: string | undefined;
3880
- filter?: any;
3881
- name?: string | undefined;
3882
- }[] | undefined;
3883
- }, {
3884
- type: string;
3885
- config?: any;
3886
- ui?: any;
3887
- links?: {
3888
- key?: string | undefined;
3889
- filter?: any;
3890
- name?: string | undefined;
3891
- }[] | undefined;
3892
- }>>>;
3893
- parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
3894
- autoCreateInstances: z.ZodOptional<z.ZodBoolean>;
3895
- } & {
3896
- archivedAt: z.ZodOptional<z.ZodString>;
3897
- }, "strip", z.ZodTypeAny, {
3898
- key: string;
3899
- name: string;
3900
- archivedAt?: string | undefined;
3901
- integrationId?: string | undefined;
3902
- parametersSchema?: DataSchema | undefined;
3903
- nodes?: Record<string, {
3904
- type: string;
3905
- config?: any;
3906
- ui?: any;
3907
- links?: {
3908
- key?: string | undefined;
3909
- filter?: any;
3910
- name?: string | undefined;
3911
- }[] | undefined;
3912
- }> | undefined;
3913
- autoCreateInstances?: boolean | undefined;
3914
- }, {
3915
- key: string;
3916
- name: string;
3917
- archivedAt?: string | undefined;
3918
- integrationId?: string | undefined;
3919
- parametersSchema?: DataSchema | undefined;
3920
- nodes?: Record<string, {
3921
- type: string;
3922
- config?: any;
3923
- ui?: any;
3924
- links?: {
3925
- key?: string | undefined;
3926
- filter?: any;
3927
- name?: string | undefined;
3928
- }[] | undefined;
3929
- }> | undefined;
3930
- autoCreateInstances?: boolean | undefined;
3931
- }>;
3932
- type UpdateFlowRequest = z.infer<typeof UpdateFlowRequest>;
3933
- interface FlowSelector extends IntegrationSpecificElementSelector {
3934
- autoCreate?: boolean;
3935
- }
3936
- declare const ListFlowInstancesForConnectionQuery: z.ZodObject<{
3937
- flowId: z.ZodOptional<z.ZodString>;
3938
- flowKey: z.ZodOptional<z.ZodString>;
3939
- enabled: z.ZodOptional<z.ZodBoolean>;
3940
- } & {
3941
- search: z.ZodOptional<z.ZodString>;
3942
- } & {
3943
- limit: z.ZodOptional<z.ZodNumber>;
3944
- cursor: z.ZodOptional<z.ZodString>;
3945
- } & {
3946
- includeArchived: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
3947
- } & {
3948
- userId: z.ZodOptional<z.ZodString>;
3949
- instanceKey: z.ZodOptional<z.ZodString>;
3950
- }, "strip", z.ZodTypeAny, {
3951
- search?: string | undefined;
3952
- includeArchived?: boolean | undefined;
3953
- limit?: number | undefined;
3954
- cursor?: string | undefined;
3955
- userId?: string | undefined;
3956
- instanceKey?: string | undefined;
3957
- flowId?: string | undefined;
3958
- enabled?: boolean | undefined;
3959
- flowKey?: string | undefined;
3960
- }, {
3961
- search?: string | undefined;
3962
- includeArchived?: unknown;
3963
- limit?: number | undefined;
3964
- cursor?: string | undefined;
3965
- userId?: string | undefined;
3966
- instanceKey?: string | undefined;
3967
- flowId?: string | undefined;
3968
- enabled?: boolean | undefined;
3969
- flowKey?: string | undefined;
3970
- }>;
3971
- type ListFlowInstancesForConnectionQuery = z.infer<typeof ListFlowInstancesForConnectionQuery>;
3972
- declare const FindFlowInstancesQuery: z.ZodObject<{
3973
- flowId: z.ZodOptional<z.ZodString>;
3974
- flowKey: z.ZodOptional<z.ZodString>;
3975
- enabled: z.ZodOptional<z.ZodBoolean>;
3976
- } & {
3977
- search: z.ZodOptional<z.ZodString>;
3978
- } & {
3979
- limit: z.ZodOptional<z.ZodNumber>;
3980
- cursor: z.ZodOptional<z.ZodString>;
3981
- } & {
3982
- includeArchived: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
3983
- } & {
3984
- userId: z.ZodOptional<z.ZodString>;
3985
- instanceKey: z.ZodOptional<z.ZodString>;
3986
- } & {
3987
- connectionId: z.ZodOptional<z.ZodString>;
3988
- integrationId: z.ZodOptional<z.ZodString>;
3989
- integrationKey: z.ZodOptional<z.ZodString>;
3990
- }, "strip", z.ZodTypeAny, {
3991
- search?: string | undefined;
3992
- integrationId?: string | undefined;
3993
- includeArchived?: boolean | undefined;
3994
- limit?: number | undefined;
3995
- cursor?: string | undefined;
3996
- userId?: string | undefined;
3997
- instanceKey?: string | undefined;
3998
- connectionId?: string | undefined;
3999
- integrationKey?: string | undefined;
4000
- flowId?: string | undefined;
4001
- enabled?: boolean | undefined;
4002
- flowKey?: string | undefined;
4003
- }, {
4004
- search?: string | undefined;
4005
- integrationId?: string | undefined;
4006
- includeArchived?: unknown;
4007
- limit?: number | undefined;
4008
- cursor?: string | undefined;
4009
- userId?: string | undefined;
4010
- instanceKey?: string | undefined;
4011
- connectionId?: string | undefined;
4012
- integrationKey?: string | undefined;
4013
- flowId?: string | undefined;
4014
- enabled?: boolean | undefined;
4015
- flowKey?: string | undefined;
4016
- }>;
4017
- type FindFlowInstancesQuery = z.infer<typeof FindFlowInstancesQuery>;
4018
- interface FlowInstanceSelector extends ConnectionSelector, ElementInstanceSelector {
4019
- flowId?: string;
4020
- flowKey?: string;
4021
- instanceKey?: string;
4022
- autoUpdate?: boolean;
4023
- }
4024
- declare const ResetFlowInstanceOptions: z.ZodObject<{
4025
- name: z.ZodOptional<z.ZodBoolean>;
4026
- nodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
4027
- allNodes: z.ZodOptional<z.ZodBoolean>;
4028
- }, "strip", z.ZodTypeAny, {
4029
- name?: boolean | undefined;
4030
- nodes?: Record<string, boolean> | undefined;
4031
- allNodes?: boolean | undefined;
4032
- }, {
4033
- name?: boolean | undefined;
4034
- nodes?: Record<string, boolean> | undefined;
4035
- allNodes?: boolean | undefined;
4036
- }>;
4037
- type ResetFlowInstanceOptions = z.infer<typeof ResetFlowInstanceOptions>;
4038
- declare const RunFlowOptions: z.ZodObject<{
4039
- nodeKey: z.ZodOptional<z.ZodString>;
4040
- input: z.ZodOptional<z.ZodAny>;
4041
- returnImmediately: z.ZodOptional<z.ZodBoolean>;
4042
- onUpdate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnknown>>;
4043
- }, "strip", z.ZodTypeAny, {
4044
- input?: any;
4045
- nodeKey?: string | undefined;
4046
- returnImmediately?: boolean | undefined;
4047
- onUpdate?: ((...args: unknown[]) => unknown) | undefined;
4048
- }, {
4049
- input?: any;
4050
- nodeKey?: string | undefined;
4051
- returnImmediately?: boolean | undefined;
4052
- onUpdate?: ((...args: unknown[]) => unknown) | undefined;
4053
- }>;
4054
- type RunFlowOptions = z.infer<typeof RunFlowOptions>;
4055
- declare const FlowApiResponse: z.ZodObject<{
4056
- id: z.ZodString;
4057
- key: z.ZodOptional<z.ZodString>;
4058
- uuid: z.ZodOptional<z.ZodString>;
4059
- description: z.ZodOptional<z.ZodString>;
4060
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4061
- integrationId: z.ZodOptional<z.ZodString>;
4062
- parentId: z.ZodOptional<z.ZodString>;
4063
- } & {
3713
+ } & {
4064
3714
  name: z.ZodString;
4065
3715
  state: z.ZodOptional<z.ZodNativeEnum<typeof WorkspaceElementState>>;
4066
3716
  errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>, "many">>;
@@ -4070,74 +3720,7 @@ declare const FlowApiResponse: z.ZodObject<{
4070
3720
  archivedAt: z.ZodOptional<z.ZodString>;
4071
3721
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
4072
3722
  isCustomized: z.ZodOptional<z.ZodBoolean>;
4073
- } & {
4074
- universalFlowId: z.ZodOptional<z.ZodString>;
4075
3723
  universalFlowRevision: z.ZodOptional<z.ZodString>;
4076
- parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
4077
- nodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
4078
- type: z.ZodOptional<z.ZodString>;
4079
- version: z.ZodOptional<z.ZodNumber>;
4080
- name: z.ZodOptional<z.ZodString>;
4081
- description: z.ZodOptional<z.ZodString>;
4082
- config: z.ZodOptional<z.ZodAny>;
4083
- concurrency: z.ZodOptional<z.ZodNumber>;
4084
- onError: z.ZodOptional<z.ZodEnum<["stop", "continue"]>>;
4085
- ui: z.ZodOptional<z.ZodAny>;
4086
- inputSchema: z.ZodOptional<z.ZodAny>;
4087
- outputSchema: z.ZodOptional<z.ZodAny>;
4088
- outputExample: z.ZodOptional<z.ZodAny>;
4089
- links: z.ZodOptional<z.ZodArray<z.ZodObject<{
4090
- key: z.ZodOptional<z.ZodString>;
4091
- filter: z.ZodOptional<z.ZodAny>;
4092
- name: z.ZodOptional<z.ZodString>;
4093
- }, "strip", z.ZodTypeAny, {
4094
- key?: string | undefined;
4095
- filter?: any;
4096
- name?: string | undefined;
4097
- }, {
4098
- key?: string | undefined;
4099
- filter?: any;
4100
- name?: string | undefined;
4101
- }>, "many">>;
4102
- isCustomized: z.ZodOptional<z.ZodBoolean>;
4103
- }, "strip", z.ZodTypeAny, {
4104
- concurrency?: number | undefined;
4105
- type?: string | undefined;
4106
- name?: string | undefined;
4107
- description?: string | undefined;
4108
- isCustomized?: boolean | undefined;
4109
- inputSchema?: any;
4110
- config?: any;
4111
- outputSchema?: any;
4112
- version?: number | undefined;
4113
- onError?: "stop" | "continue" | undefined;
4114
- ui?: any;
4115
- outputExample?: any;
4116
- links?: {
4117
- key?: string | undefined;
4118
- filter?: any;
4119
- name?: string | undefined;
4120
- }[] | undefined;
4121
- }, {
4122
- concurrency?: number | undefined;
4123
- type?: string | undefined;
4124
- name?: string | undefined;
4125
- description?: string | undefined;
4126
- isCustomized?: boolean | undefined;
4127
- inputSchema?: any;
4128
- config?: any;
4129
- outputSchema?: any;
4130
- version?: number | undefined;
4131
- onError?: "stop" | "continue" | undefined;
4132
- ui?: any;
4133
- outputExample?: any;
4134
- links?: {
4135
- key?: string | undefined;
4136
- filter?: any;
4137
- name?: string | undefined;
4138
- }[] | undefined;
4139
- }>>>;
4140
- autoCreateInstances: z.ZodOptional<z.ZodBoolean>;
4141
3724
  } & {
4142
3725
  integration: z.ZodOptional<z.ZodObject<{
4143
3726
  id: z.ZodString;
@@ -4432,103 +4015,482 @@ declare const FlowApiResponse: z.ZodObject<{
4432
4015
  isCustomized?: boolean | undefined;
4433
4016
  universalFlowId?: string | undefined;
4434
4017
  };
4435
- }>, "many">>;
4436
- dependencies: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
4018
+ }>, "many">>;
4019
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
4020
+ }, "strip", z.ZodTypeAny, {
4021
+ id: string;
4022
+ name: string;
4023
+ key?: string | undefined;
4024
+ integration?: {
4025
+ id: string;
4026
+ name: string;
4027
+ logoUri: string;
4028
+ key?: string | undefined;
4029
+ uuid?: string | undefined;
4030
+ description?: string | undefined;
4031
+ meta?: Record<string, any> | undefined;
4032
+ state?: WorkspaceElementState | undefined;
4033
+ errors?: ErrorDataSchema[] | undefined;
4034
+ revision?: string | undefined;
4035
+ createdAt?: string | undefined;
4036
+ updatedAt?: string | undefined;
4037
+ archivedAt?: string | undefined;
4038
+ isDeactivated?: boolean | undefined;
4039
+ parameters?: any;
4040
+ connectorId?: string | undefined;
4041
+ connectorVersion?: string | undefined;
4042
+ oAuthCallbackUri?: string | undefined;
4043
+ hasMissingParameters?: boolean | undefined;
4044
+ hasDocumentation?: boolean | undefined;
4045
+ hasOperations?: boolean | undefined;
4046
+ operationsCount?: number | undefined;
4047
+ hasData?: boolean | undefined;
4048
+ dataCollectionsCount?: number | undefined;
4049
+ hasEvents?: boolean | undefined;
4050
+ eventsCount?: number | undefined;
4051
+ hasGlobalWebhooks?: boolean | undefined;
4052
+ hasUdm?: boolean | undefined;
4053
+ isTest?: boolean | undefined;
4054
+ appUuid?: string | undefined;
4055
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
4056
+ } | undefined;
4057
+ uuid?: string | undefined;
4058
+ description?: string | undefined;
4059
+ meta?: Record<string, any> | undefined;
4060
+ state?: WorkspaceElementState | undefined;
4061
+ errors?: ErrorDataSchema[] | undefined;
4062
+ revision?: string | undefined;
4063
+ createdAt?: string | undefined;
4064
+ updatedAt?: string | undefined;
4065
+ archivedAt?: string | undefined;
4066
+ isDeactivated?: boolean | undefined;
4067
+ integrationId?: string | undefined;
4068
+ isCustomized?: boolean | undefined;
4069
+ parametersSchema?: DataSchema | undefined;
4070
+ appliedToIntegrations?: {
4071
+ integration: {
4072
+ id: string;
4073
+ name: string;
4074
+ logoUri: string;
4075
+ key?: string | undefined;
4076
+ uuid?: string | undefined;
4077
+ description?: string | undefined;
4078
+ meta?: Record<string, any> | undefined;
4079
+ state?: WorkspaceElementState | undefined;
4080
+ errors?: ErrorDataSchema[] | undefined;
4081
+ revision?: string | undefined;
4082
+ createdAt?: string | undefined;
4083
+ updatedAt?: string | undefined;
4084
+ archivedAt?: string | undefined;
4085
+ isDeactivated?: boolean | undefined;
4086
+ parameters?: any;
4087
+ connectorId?: string | undefined;
4088
+ connectorVersion?: string | undefined;
4089
+ oAuthCallbackUri?: string | undefined;
4090
+ hasMissingParameters?: boolean | undefined;
4091
+ hasDocumentation?: boolean | undefined;
4092
+ hasOperations?: boolean | undefined;
4093
+ operationsCount?: number | undefined;
4094
+ hasData?: boolean | undefined;
4095
+ dataCollectionsCount?: number | undefined;
4096
+ hasEvents?: boolean | undefined;
4097
+ eventsCount?: number | undefined;
4098
+ hasGlobalWebhooks?: boolean | undefined;
4099
+ hasUdm?: boolean | undefined;
4100
+ isTest?: boolean | undefined;
4101
+ appUuid?: string | undefined;
4102
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
4103
+ };
4104
+ element: {
4105
+ id: string;
4106
+ integrationId?: string | undefined;
4107
+ isCustomized?: boolean | undefined;
4108
+ universalFlowId?: string | undefined;
4109
+ };
4110
+ }[] | undefined;
4111
+ dependencies?: any[] | undefined;
4112
+ universalFlowId?: string | undefined;
4113
+ nodes?: Record<string, {
4114
+ concurrency?: number | undefined;
4115
+ type?: string | undefined;
4116
+ name?: string | undefined;
4117
+ description?: string | undefined;
4118
+ isCustomized?: boolean | undefined;
4119
+ inputSchema?: any;
4120
+ config?: any;
4121
+ outputSchema?: any;
4122
+ version?: number | undefined;
4123
+ onError?: "stop" | "continue" | undefined;
4124
+ ui?: any;
4125
+ outputExample?: any;
4126
+ links?: {
4127
+ key?: string | undefined;
4128
+ filter?: any;
4129
+ name?: string | undefined;
4130
+ }[] | undefined;
4131
+ }> | undefined;
4132
+ autoCreateInstances?: boolean | undefined;
4133
+ universalFlowRevision?: string | undefined;
4134
+ }, {
4135
+ id: string;
4136
+ name: string;
4137
+ key?: string | undefined;
4138
+ integration?: {
4139
+ id: string;
4140
+ name: string;
4141
+ logoUri: string;
4142
+ key?: string | undefined;
4143
+ uuid?: string | undefined;
4144
+ description?: string | undefined;
4145
+ meta?: Record<string, any> | undefined;
4146
+ state?: WorkspaceElementState | undefined;
4147
+ errors?: ErrorDataSchema[] | undefined;
4148
+ revision?: string | undefined;
4149
+ createdAt?: string | undefined;
4150
+ updatedAt?: string | undefined;
4151
+ archivedAt?: string | undefined;
4152
+ isDeactivated?: boolean | undefined;
4153
+ parameters?: any;
4154
+ connectorId?: string | undefined;
4155
+ connectorVersion?: string | undefined;
4156
+ oAuthCallbackUri?: string | undefined;
4157
+ hasMissingParameters?: boolean | undefined;
4158
+ hasDocumentation?: boolean | undefined;
4159
+ hasOperations?: boolean | undefined;
4160
+ operationsCount?: number | undefined;
4161
+ hasData?: boolean | undefined;
4162
+ dataCollectionsCount?: number | undefined;
4163
+ hasEvents?: boolean | undefined;
4164
+ eventsCount?: number | undefined;
4165
+ hasGlobalWebhooks?: boolean | undefined;
4166
+ hasUdm?: boolean | undefined;
4167
+ isTest?: boolean | undefined;
4168
+ appUuid?: string | undefined;
4169
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
4170
+ } | undefined;
4171
+ uuid?: string | undefined;
4172
+ description?: string | undefined;
4173
+ meta?: Record<string, any> | undefined;
4174
+ state?: WorkspaceElementState | undefined;
4175
+ errors?: ErrorDataSchema[] | undefined;
4176
+ revision?: string | undefined;
4177
+ createdAt?: string | undefined;
4178
+ updatedAt?: string | undefined;
4179
+ archivedAt?: string | undefined;
4180
+ isDeactivated?: boolean | undefined;
4181
+ integrationId?: string | undefined;
4182
+ isCustomized?: boolean | undefined;
4183
+ parametersSchema?: DataSchema | undefined;
4184
+ appliedToIntegrations?: {
4185
+ integration: {
4186
+ id: string;
4187
+ name: string;
4188
+ logoUri: string;
4189
+ key?: string | undefined;
4190
+ uuid?: string | undefined;
4191
+ description?: string | undefined;
4192
+ meta?: Record<string, any> | undefined;
4193
+ state?: WorkspaceElementState | undefined;
4194
+ errors?: ErrorDataSchema[] | undefined;
4195
+ revision?: string | undefined;
4196
+ createdAt?: string | undefined;
4197
+ updatedAt?: string | undefined;
4198
+ archivedAt?: string | undefined;
4199
+ isDeactivated?: boolean | undefined;
4200
+ parameters?: any;
4201
+ connectorId?: string | undefined;
4202
+ connectorVersion?: string | undefined;
4203
+ oAuthCallbackUri?: string | undefined;
4204
+ hasMissingParameters?: boolean | undefined;
4205
+ hasDocumentation?: boolean | undefined;
4206
+ hasOperations?: boolean | undefined;
4207
+ operationsCount?: number | undefined;
4208
+ hasData?: boolean | undefined;
4209
+ dataCollectionsCount?: number | undefined;
4210
+ hasEvents?: boolean | undefined;
4211
+ eventsCount?: number | undefined;
4212
+ hasGlobalWebhooks?: boolean | undefined;
4213
+ hasUdm?: boolean | undefined;
4214
+ isTest?: boolean | undefined;
4215
+ appUuid?: string | undefined;
4216
+ authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
4217
+ };
4218
+ element: {
4219
+ id: string;
4220
+ integrationId?: string | undefined;
4221
+ isCustomized?: boolean | undefined;
4222
+ universalFlowId?: string | undefined;
4223
+ };
4224
+ }[] | undefined;
4225
+ dependencies?: any[] | undefined;
4226
+ universalFlowId?: string | undefined;
4227
+ nodes?: Record<string, {
4228
+ concurrency?: number | undefined;
4229
+ type?: string | undefined;
4230
+ name?: string | undefined;
4231
+ description?: string | undefined;
4232
+ isCustomized?: boolean | undefined;
4233
+ inputSchema?: any;
4234
+ config?: any;
4235
+ outputSchema?: any;
4236
+ version?: number | undefined;
4237
+ onError?: "stop" | "continue" | undefined;
4238
+ ui?: any;
4239
+ outputExample?: any;
4240
+ links?: {
4241
+ key?: string | undefined;
4242
+ filter?: any;
4243
+ name?: string | undefined;
4244
+ }[] | undefined;
4245
+ }> | undefined;
4246
+ autoCreateInstances?: boolean | undefined;
4247
+ universalFlowRevision?: string | undefined;
4248
+ }>;
4249
+ type FlowApiResponse = z.infer<typeof FlowApiResponse>;
4250
+ type Flow = FlowApiResponse;
4251
+ declare const FindFlowsQuery: z.ZodObject<{
4252
+ limit: z.ZodOptional<z.ZodNumber>;
4253
+ cursor: z.ZodOptional<z.ZodString>;
4254
+ } & {
4255
+ integrationId: z.ZodOptional<z.ZodString>;
4256
+ integrationKey: z.ZodOptional<z.ZodString>;
4257
+ universalFlowId: z.ZodOptional<z.ZodString>;
4258
+ search: z.ZodOptional<z.ZodString>;
4259
+ includeArchived: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
4260
+ }, "strip", z.ZodTypeAny, {
4261
+ search?: string | undefined;
4262
+ integrationId?: string | undefined;
4263
+ includeArchived?: boolean | undefined;
4264
+ limit?: number | undefined;
4265
+ cursor?: string | undefined;
4266
+ integrationKey?: string | undefined;
4267
+ universalFlowId?: string | undefined;
4268
+ }, {
4269
+ search?: string | undefined;
4270
+ integrationId?: string | undefined;
4271
+ includeArchived?: unknown;
4272
+ limit?: number | undefined;
4273
+ cursor?: string | undefined;
4274
+ integrationKey?: string | undefined;
4275
+ universalFlowId?: string | undefined;
4276
+ }>;
4277
+ type FindFlowsQuery = z.infer<typeof FindFlowsQuery>;
4278
+ declare const CreateFlowRequest: z.ZodObject<{
4279
+ key: z.ZodOptional<z.ZodString>;
4280
+ name: z.ZodOptional<z.ZodString>;
4281
+ uuid: z.ZodOptional<z.ZodString>;
4282
+ description: z.ZodOptional<z.ZodString>;
4283
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4284
+ } & {
4285
+ integrationId: z.ZodOptional<z.ZodString>;
4286
+ universalFlowId: z.ZodOptional<z.ZodString>;
4287
+ parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
4288
+ nodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
4289
+ type: z.ZodOptional<z.ZodString>;
4290
+ version: z.ZodOptional<z.ZodNumber>;
4291
+ name: z.ZodOptional<z.ZodString>;
4292
+ description: z.ZodOptional<z.ZodString>;
4293
+ config: z.ZodOptional<z.ZodAny>;
4294
+ concurrency: z.ZodOptional<z.ZodNumber>;
4295
+ onError: z.ZodOptional<z.ZodEnum<["stop", "continue"]>>;
4296
+ ui: z.ZodOptional<z.ZodAny>;
4297
+ inputSchema: z.ZodOptional<z.ZodAny>;
4298
+ outputSchema: z.ZodOptional<z.ZodAny>;
4299
+ outputExample: z.ZodOptional<z.ZodAny>;
4300
+ links: z.ZodOptional<z.ZodArray<z.ZodObject<{
4301
+ key: z.ZodOptional<z.ZodString>;
4302
+ filter: z.ZodOptional<z.ZodAny>;
4303
+ name: z.ZodOptional<z.ZodString>;
4304
+ }, "strip", z.ZodTypeAny, {
4305
+ key?: string | undefined;
4306
+ filter?: any;
4307
+ name?: string | undefined;
4308
+ }, {
4309
+ key?: string | undefined;
4310
+ filter?: any;
4311
+ name?: string | undefined;
4312
+ }>, "many">>;
4313
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
4314
+ }, "strip", z.ZodTypeAny, {
4315
+ concurrency?: number | undefined;
4316
+ type?: string | undefined;
4317
+ name?: string | undefined;
4318
+ description?: string | undefined;
4319
+ isCustomized?: boolean | undefined;
4320
+ inputSchema?: any;
4321
+ config?: any;
4322
+ outputSchema?: any;
4323
+ version?: number | undefined;
4324
+ onError?: "stop" | "continue" | undefined;
4325
+ ui?: any;
4326
+ outputExample?: any;
4327
+ links?: {
4328
+ key?: string | undefined;
4329
+ filter?: any;
4330
+ name?: string | undefined;
4331
+ }[] | undefined;
4332
+ }, {
4333
+ concurrency?: number | undefined;
4334
+ type?: string | undefined;
4335
+ name?: string | undefined;
4336
+ description?: string | undefined;
4337
+ isCustomized?: boolean | undefined;
4338
+ inputSchema?: any;
4339
+ config?: any;
4340
+ outputSchema?: any;
4341
+ version?: number | undefined;
4342
+ onError?: "stop" | "continue" | undefined;
4343
+ ui?: any;
4344
+ outputExample?: any;
4345
+ links?: {
4346
+ key?: string | undefined;
4347
+ filter?: any;
4348
+ name?: string | undefined;
4349
+ }[] | undefined;
4350
+ }>>>;
4351
+ autoCreateInstances: z.ZodOptional<z.ZodBoolean>;
4352
+ }, "strip", z.ZodTypeAny, {
4353
+ key?: string | undefined;
4354
+ name?: string | undefined;
4355
+ uuid?: string | undefined;
4356
+ description?: string | undefined;
4357
+ meta?: Record<string, any> | undefined;
4358
+ integrationId?: string | undefined;
4359
+ parametersSchema?: DataSchema | undefined;
4360
+ universalFlowId?: string | undefined;
4361
+ nodes?: Record<string, {
4362
+ concurrency?: number | undefined;
4363
+ type?: string | undefined;
4364
+ name?: string | undefined;
4365
+ description?: string | undefined;
4366
+ isCustomized?: boolean | undefined;
4367
+ inputSchema?: any;
4368
+ config?: any;
4369
+ outputSchema?: any;
4370
+ version?: number | undefined;
4371
+ onError?: "stop" | "continue" | undefined;
4372
+ ui?: any;
4373
+ outputExample?: any;
4374
+ links?: {
4375
+ key?: string | undefined;
4376
+ filter?: any;
4377
+ name?: string | undefined;
4378
+ }[] | undefined;
4379
+ }> | undefined;
4380
+ autoCreateInstances?: boolean | undefined;
4381
+ }, {
4382
+ key?: string | undefined;
4383
+ name?: string | undefined;
4384
+ uuid?: string | undefined;
4385
+ description?: string | undefined;
4386
+ meta?: Record<string, any> | undefined;
4387
+ integrationId?: string | undefined;
4388
+ parametersSchema?: DataSchema | undefined;
4389
+ universalFlowId?: string | undefined;
4390
+ nodes?: Record<string, {
4391
+ concurrency?: number | undefined;
4392
+ type?: string | undefined;
4393
+ name?: string | undefined;
4394
+ description?: string | undefined;
4395
+ isCustomized?: boolean | undefined;
4396
+ inputSchema?: any;
4397
+ config?: any;
4398
+ outputSchema?: any;
4399
+ version?: number | undefined;
4400
+ onError?: "stop" | "continue" | undefined;
4401
+ ui?: any;
4402
+ outputExample?: any;
4403
+ links?: {
4404
+ key?: string | undefined;
4405
+ filter?: any;
4406
+ name?: string | undefined;
4407
+ }[] | undefined;
4408
+ }> | undefined;
4409
+ autoCreateInstances?: boolean | undefined;
4410
+ }>;
4411
+ type CreateFlowRequest = z.infer<typeof CreateFlowRequest>;
4412
+ declare const UpdateFlowRequest: z.ZodObject<{
4413
+ key: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4414
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4415
+ uuid: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4416
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4417
+ meta: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
4418
+ integrationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4419
+ universalFlowId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4420
+ parametersSchema: z.ZodOptional<z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>>;
4421
+ nodes: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
4422
+ type: z.ZodOptional<z.ZodString>;
4423
+ version: z.ZodOptional<z.ZodNumber>;
4424
+ name: z.ZodOptional<z.ZodString>;
4425
+ description: z.ZodOptional<z.ZodString>;
4426
+ config: z.ZodOptional<z.ZodAny>;
4427
+ concurrency: z.ZodOptional<z.ZodNumber>;
4428
+ onError: z.ZodOptional<z.ZodEnum<["stop", "continue"]>>;
4429
+ ui: z.ZodOptional<z.ZodAny>;
4430
+ inputSchema: z.ZodOptional<z.ZodAny>;
4431
+ outputSchema: z.ZodOptional<z.ZodAny>;
4432
+ outputExample: z.ZodOptional<z.ZodAny>;
4433
+ links: z.ZodOptional<z.ZodArray<z.ZodObject<{
4434
+ key: z.ZodOptional<z.ZodString>;
4435
+ filter: z.ZodOptional<z.ZodAny>;
4436
+ name: z.ZodOptional<z.ZodString>;
4437
+ }, "strip", z.ZodTypeAny, {
4438
+ key?: string | undefined;
4439
+ filter?: any;
4440
+ name?: string | undefined;
4441
+ }, {
4442
+ key?: string | undefined;
4443
+ filter?: any;
4444
+ name?: string | undefined;
4445
+ }>, "many">>;
4446
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
4447
+ }, "strip", z.ZodTypeAny, {
4448
+ concurrency?: number | undefined;
4449
+ type?: string | undefined;
4450
+ name?: string | undefined;
4451
+ description?: string | undefined;
4452
+ isCustomized?: boolean | undefined;
4453
+ inputSchema?: any;
4454
+ config?: any;
4455
+ outputSchema?: any;
4456
+ version?: number | undefined;
4457
+ onError?: "stop" | "continue" | undefined;
4458
+ ui?: any;
4459
+ outputExample?: any;
4460
+ links?: {
4461
+ key?: string | undefined;
4462
+ filter?: any;
4463
+ name?: string | undefined;
4464
+ }[] | undefined;
4465
+ }, {
4466
+ concurrency?: number | undefined;
4467
+ type?: string | undefined;
4468
+ name?: string | undefined;
4469
+ description?: string | undefined;
4470
+ isCustomized?: boolean | undefined;
4471
+ inputSchema?: any;
4472
+ config?: any;
4473
+ outputSchema?: any;
4474
+ version?: number | undefined;
4475
+ onError?: "stop" | "continue" | undefined;
4476
+ ui?: any;
4477
+ outputExample?: any;
4478
+ links?: {
4479
+ key?: string | undefined;
4480
+ filter?: any;
4481
+ name?: string | undefined;
4482
+ }[] | undefined;
4483
+ }>>>>;
4484
+ autoCreateInstances: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
4437
4485
  }, "strip", z.ZodTypeAny, {
4438
- id: string;
4439
- name: string;
4440
4486
  key?: string | undefined;
4441
- integration?: {
4442
- id: string;
4443
- name: string;
4444
- logoUri: string;
4445
- key?: string | undefined;
4446
- uuid?: string | undefined;
4447
- description?: string | undefined;
4448
- meta?: Record<string, any> | undefined;
4449
- state?: WorkspaceElementState | undefined;
4450
- errors?: ErrorDataSchema[] | undefined;
4451
- revision?: string | undefined;
4452
- createdAt?: string | undefined;
4453
- updatedAt?: string | undefined;
4454
- archivedAt?: string | undefined;
4455
- isDeactivated?: boolean | undefined;
4456
- parameters?: any;
4457
- connectorId?: string | undefined;
4458
- connectorVersion?: string | undefined;
4459
- oAuthCallbackUri?: string | undefined;
4460
- hasMissingParameters?: boolean | undefined;
4461
- hasDocumentation?: boolean | undefined;
4462
- hasOperations?: boolean | undefined;
4463
- operationsCount?: number | undefined;
4464
- hasData?: boolean | undefined;
4465
- dataCollectionsCount?: number | undefined;
4466
- hasEvents?: boolean | undefined;
4467
- eventsCount?: number | undefined;
4468
- hasGlobalWebhooks?: boolean | undefined;
4469
- hasUdm?: boolean | undefined;
4470
- isTest?: boolean | undefined;
4471
- appUuid?: string | undefined;
4472
- authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
4473
- } | undefined;
4487
+ name?: string | undefined;
4474
4488
  uuid?: string | undefined;
4475
4489
  description?: string | undefined;
4476
4490
  meta?: Record<string, any> | undefined;
4477
- state?: WorkspaceElementState | undefined;
4478
- errors?: ErrorDataSchema[] | undefined;
4479
- revision?: string | undefined;
4480
- createdAt?: string | undefined;
4481
- updatedAt?: string | undefined;
4482
- archivedAt?: string | undefined;
4483
- isDeactivated?: boolean | undefined;
4484
4491
  integrationId?: string | undefined;
4485
- parentId?: string | undefined;
4486
- isCustomized?: boolean | undefined;
4487
4492
  parametersSchema?: DataSchema | undefined;
4488
- appliedToIntegrations?: {
4489
- integration: {
4490
- id: string;
4491
- name: string;
4492
- logoUri: string;
4493
- key?: string | undefined;
4494
- uuid?: string | undefined;
4495
- description?: string | undefined;
4496
- meta?: Record<string, any> | undefined;
4497
- state?: WorkspaceElementState | undefined;
4498
- errors?: ErrorDataSchema[] | undefined;
4499
- revision?: string | undefined;
4500
- createdAt?: string | undefined;
4501
- updatedAt?: string | undefined;
4502
- archivedAt?: string | undefined;
4503
- isDeactivated?: boolean | undefined;
4504
- parameters?: any;
4505
- connectorId?: string | undefined;
4506
- connectorVersion?: string | undefined;
4507
- oAuthCallbackUri?: string | undefined;
4508
- hasMissingParameters?: boolean | undefined;
4509
- hasDocumentation?: boolean | undefined;
4510
- hasOperations?: boolean | undefined;
4511
- operationsCount?: number | undefined;
4512
- hasData?: boolean | undefined;
4513
- dataCollectionsCount?: number | undefined;
4514
- hasEvents?: boolean | undefined;
4515
- eventsCount?: number | undefined;
4516
- hasGlobalWebhooks?: boolean | undefined;
4517
- hasUdm?: boolean | undefined;
4518
- isTest?: boolean | undefined;
4519
- appUuid?: string | undefined;
4520
- authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
4521
- };
4522
- element: {
4523
- id: string;
4524
- integrationId?: string | undefined;
4525
- isCustomized?: boolean | undefined;
4526
- universalFlowId?: string | undefined;
4527
- };
4528
- }[] | undefined;
4529
- dependencies?: any[] | undefined;
4530
4493
  universalFlowId?: string | undefined;
4531
- universalFlowRevision?: string | undefined;
4532
4494
  nodes?: Record<string, {
4533
4495
  concurrency?: number | undefined;
4534
4496
  type?: string | undefined;
@@ -4550,100 +4512,14 @@ declare const FlowApiResponse: z.ZodObject<{
4550
4512
  }> | undefined;
4551
4513
  autoCreateInstances?: boolean | undefined;
4552
4514
  }, {
4553
- id: string;
4554
- name: string;
4555
4515
  key?: string | undefined;
4556
- integration?: {
4557
- id: string;
4558
- name: string;
4559
- logoUri: string;
4560
- key?: string | undefined;
4561
- uuid?: string | undefined;
4562
- description?: string | undefined;
4563
- meta?: Record<string, any> | undefined;
4564
- state?: WorkspaceElementState | undefined;
4565
- errors?: ErrorDataSchema[] | undefined;
4566
- revision?: string | undefined;
4567
- createdAt?: string | undefined;
4568
- updatedAt?: string | undefined;
4569
- archivedAt?: string | undefined;
4570
- isDeactivated?: boolean | undefined;
4571
- parameters?: any;
4572
- connectorId?: string | undefined;
4573
- connectorVersion?: string | undefined;
4574
- oAuthCallbackUri?: string | undefined;
4575
- hasMissingParameters?: boolean | undefined;
4576
- hasDocumentation?: boolean | undefined;
4577
- hasOperations?: boolean | undefined;
4578
- operationsCount?: number | undefined;
4579
- hasData?: boolean | undefined;
4580
- dataCollectionsCount?: number | undefined;
4581
- hasEvents?: boolean | undefined;
4582
- eventsCount?: number | undefined;
4583
- hasGlobalWebhooks?: boolean | undefined;
4584
- hasUdm?: boolean | undefined;
4585
- isTest?: boolean | undefined;
4586
- appUuid?: string | undefined;
4587
- authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
4588
- } | undefined;
4516
+ name?: string | undefined;
4589
4517
  uuid?: string | undefined;
4590
4518
  description?: string | undefined;
4591
4519
  meta?: Record<string, any> | undefined;
4592
- state?: WorkspaceElementState | undefined;
4593
- errors?: ErrorDataSchema[] | undefined;
4594
- revision?: string | undefined;
4595
- createdAt?: string | undefined;
4596
- updatedAt?: string | undefined;
4597
- archivedAt?: string | undefined;
4598
- isDeactivated?: boolean | undefined;
4599
4520
  integrationId?: string | undefined;
4600
- parentId?: string | undefined;
4601
- isCustomized?: boolean | undefined;
4602
4521
  parametersSchema?: DataSchema | undefined;
4603
- appliedToIntegrations?: {
4604
- integration: {
4605
- id: string;
4606
- name: string;
4607
- logoUri: string;
4608
- key?: string | undefined;
4609
- uuid?: string | undefined;
4610
- description?: string | undefined;
4611
- meta?: Record<string, any> | undefined;
4612
- state?: WorkspaceElementState | undefined;
4613
- errors?: ErrorDataSchema[] | undefined;
4614
- revision?: string | undefined;
4615
- createdAt?: string | undefined;
4616
- updatedAt?: string | undefined;
4617
- archivedAt?: string | undefined;
4618
- isDeactivated?: boolean | undefined;
4619
- parameters?: any;
4620
- connectorId?: string | undefined;
4621
- connectorVersion?: string | undefined;
4622
- oAuthCallbackUri?: string | undefined;
4623
- hasMissingParameters?: boolean | undefined;
4624
- hasDocumentation?: boolean | undefined;
4625
- hasOperations?: boolean | undefined;
4626
- operationsCount?: number | undefined;
4627
- hasData?: boolean | undefined;
4628
- dataCollectionsCount?: number | undefined;
4629
- hasEvents?: boolean | undefined;
4630
- eventsCount?: number | undefined;
4631
- hasGlobalWebhooks?: boolean | undefined;
4632
- hasUdm?: boolean | undefined;
4633
- isTest?: boolean | undefined;
4634
- appUuid?: string | undefined;
4635
- authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
4636
- };
4637
- element: {
4638
- id: string;
4639
- integrationId?: string | undefined;
4640
- isCustomized?: boolean | undefined;
4641
- universalFlowId?: string | undefined;
4642
- };
4643
- }[] | undefined;
4644
- dependencies?: any[] | undefined;
4645
4522
  universalFlowId?: string | undefined;
4646
- universalFlowRevision?: string | undefined;
4647
4523
  nodes?: Record<string, {
4648
4524
  concurrency?: number | undefined;
4649
4525
  type?: string | undefined;
@@ -4665,8 +4541,129 @@ declare const FlowApiResponse: z.ZodObject<{
4665
4541
  }> | undefined;
4666
4542
  autoCreateInstances?: boolean | undefined;
4667
4543
  }>;
4668
- type FlowApiResponse = z.infer<typeof FlowApiResponse>;
4669
- type Flow = FlowApiResponse;
4544
+ type UpdateFlowRequest = z.infer<typeof UpdateFlowRequest>;
4545
+ interface FlowSelector extends IntegrationSpecificElementSelector {
4546
+ autoCreate?: boolean;
4547
+ }
4548
+ declare const ListFlowInstancesForConnectionQuery: z.ZodObject<{
4549
+ flowId: z.ZodOptional<z.ZodString>;
4550
+ flowKey: z.ZodOptional<z.ZodString>;
4551
+ enabled: z.ZodOptional<z.ZodBoolean>;
4552
+ } & {
4553
+ search: z.ZodOptional<z.ZodString>;
4554
+ } & {
4555
+ limit: z.ZodOptional<z.ZodNumber>;
4556
+ cursor: z.ZodOptional<z.ZodString>;
4557
+ } & {
4558
+ includeArchived: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
4559
+ } & {
4560
+ userId: z.ZodOptional<z.ZodString>;
4561
+ instanceKey: z.ZodOptional<z.ZodString>;
4562
+ }, "strip", z.ZodTypeAny, {
4563
+ search?: string | undefined;
4564
+ includeArchived?: boolean | undefined;
4565
+ limit?: number | undefined;
4566
+ cursor?: string | undefined;
4567
+ userId?: string | undefined;
4568
+ instanceKey?: string | undefined;
4569
+ flowId?: string | undefined;
4570
+ enabled?: boolean | undefined;
4571
+ flowKey?: string | undefined;
4572
+ }, {
4573
+ search?: string | undefined;
4574
+ includeArchived?: unknown;
4575
+ limit?: number | undefined;
4576
+ cursor?: string | undefined;
4577
+ userId?: string | undefined;
4578
+ instanceKey?: string | undefined;
4579
+ flowId?: string | undefined;
4580
+ enabled?: boolean | undefined;
4581
+ flowKey?: string | undefined;
4582
+ }>;
4583
+ type ListFlowInstancesForConnectionQuery = z.infer<typeof ListFlowInstancesForConnectionQuery>;
4584
+ declare const FindFlowInstancesQuery: z.ZodObject<{
4585
+ flowId: z.ZodOptional<z.ZodString>;
4586
+ flowKey: z.ZodOptional<z.ZodString>;
4587
+ enabled: z.ZodOptional<z.ZodBoolean>;
4588
+ } & {
4589
+ search: z.ZodOptional<z.ZodString>;
4590
+ } & {
4591
+ limit: z.ZodOptional<z.ZodNumber>;
4592
+ cursor: z.ZodOptional<z.ZodString>;
4593
+ } & {
4594
+ includeArchived: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
4595
+ } & {
4596
+ userId: z.ZodOptional<z.ZodString>;
4597
+ instanceKey: z.ZodOptional<z.ZodString>;
4598
+ } & {
4599
+ connectionId: z.ZodOptional<z.ZodString>;
4600
+ integrationId: z.ZodOptional<z.ZodString>;
4601
+ integrationKey: z.ZodOptional<z.ZodString>;
4602
+ }, "strip", z.ZodTypeAny, {
4603
+ search?: string | undefined;
4604
+ integrationId?: string | undefined;
4605
+ includeArchived?: boolean | undefined;
4606
+ limit?: number | undefined;
4607
+ cursor?: string | undefined;
4608
+ userId?: string | undefined;
4609
+ instanceKey?: string | undefined;
4610
+ connectionId?: string | undefined;
4611
+ integrationKey?: string | undefined;
4612
+ flowId?: string | undefined;
4613
+ enabled?: boolean | undefined;
4614
+ flowKey?: string | undefined;
4615
+ }, {
4616
+ search?: string | undefined;
4617
+ integrationId?: string | undefined;
4618
+ includeArchived?: unknown;
4619
+ limit?: number | undefined;
4620
+ cursor?: string | undefined;
4621
+ userId?: string | undefined;
4622
+ instanceKey?: string | undefined;
4623
+ connectionId?: string | undefined;
4624
+ integrationKey?: string | undefined;
4625
+ flowId?: string | undefined;
4626
+ enabled?: boolean | undefined;
4627
+ flowKey?: string | undefined;
4628
+ }>;
4629
+ type FindFlowInstancesQuery = z.infer<typeof FindFlowInstancesQuery>;
4630
+ interface FlowInstanceSelector extends ConnectionSelector, ElementInstanceSelector {
4631
+ flowId?: string;
4632
+ flowKey?: string;
4633
+ instanceKey?: string;
4634
+ autoUpdate?: boolean;
4635
+ }
4636
+ declare const ResetFlowInstanceOptions: z.ZodObject<{
4637
+ name: z.ZodOptional<z.ZodBoolean>;
4638
+ nodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
4639
+ allNodes: z.ZodOptional<z.ZodBoolean>;
4640
+ }, "strip", z.ZodTypeAny, {
4641
+ name?: boolean | undefined;
4642
+ nodes?: Record<string, boolean> | undefined;
4643
+ allNodes?: boolean | undefined;
4644
+ }, {
4645
+ name?: boolean | undefined;
4646
+ nodes?: Record<string, boolean> | undefined;
4647
+ allNodes?: boolean | undefined;
4648
+ }>;
4649
+ type ResetFlowInstanceOptions = z.infer<typeof ResetFlowInstanceOptions>;
4650
+ declare const RunFlowOptions: z.ZodObject<{
4651
+ nodeKey: z.ZodOptional<z.ZodString>;
4652
+ input: z.ZodOptional<z.ZodAny>;
4653
+ returnImmediately: z.ZodOptional<z.ZodBoolean>;
4654
+ onUpdate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnknown>>;
4655
+ }, "strip", z.ZodTypeAny, {
4656
+ input?: any;
4657
+ nodeKey?: string | undefined;
4658
+ returnImmediately?: boolean | undefined;
4659
+ onUpdate?: ((...args: unknown[]) => unknown) | undefined;
4660
+ }, {
4661
+ input?: any;
4662
+ nodeKey?: string | undefined;
4663
+ returnImmediately?: boolean | undefined;
4664
+ onUpdate?: ((...args: unknown[]) => unknown) | undefined;
4665
+ }>;
4666
+ type RunFlowOptions = z.infer<typeof RunFlowOptions>;
4670
4667
  declare const FlowInstanceApiResponse: z.ZodObject<{
4671
4668
  id: z.ZodString;
4672
4669
  key: z.ZodOptional<z.ZodString>;
@@ -4773,20 +4770,7 @@ declare const FlowInstanceApiResponse: z.ZodObject<{
4773
4770
  description: z.ZodOptional<z.ZodString>;
4774
4771
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4775
4772
  integrationId: z.ZodOptional<z.ZodString>;
4776
- parentId: z.ZodOptional<z.ZodString>;
4777
- } & {
4778
- name: z.ZodString;
4779
- state: z.ZodOptional<z.ZodNativeEnum<typeof WorkspaceElementState>>;
4780
- errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>, "many">>;
4781
- revision: z.ZodOptional<z.ZodString>;
4782
- createdAt: z.ZodOptional<z.ZodString>;
4783
- updatedAt: z.ZodOptional<z.ZodString>;
4784
- archivedAt: z.ZodOptional<z.ZodString>;
4785
- isDeactivated: z.ZodOptional<z.ZodBoolean>;
4786
- isCustomized: z.ZodOptional<z.ZodBoolean>;
4787
- } & {
4788
4773
  universalFlowId: z.ZodOptional<z.ZodString>;
4789
- universalFlowRevision: z.ZodOptional<z.ZodString>;
4790
4774
  parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
4791
4775
  nodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
4792
4776
  type: z.ZodOptional<z.ZodString>;
@@ -4852,6 +4836,17 @@ declare const FlowInstanceApiResponse: z.ZodObject<{
4852
4836
  }[] | undefined;
4853
4837
  }>>>;
4854
4838
  autoCreateInstances: z.ZodOptional<z.ZodBoolean>;
4839
+ } & {
4840
+ name: z.ZodString;
4841
+ state: z.ZodOptional<z.ZodNativeEnum<typeof WorkspaceElementState>>;
4842
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>, "many">>;
4843
+ revision: z.ZodOptional<z.ZodString>;
4844
+ createdAt: z.ZodOptional<z.ZodString>;
4845
+ updatedAt: z.ZodOptional<z.ZodString>;
4846
+ archivedAt: z.ZodOptional<z.ZodString>;
4847
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
4848
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
4849
+ universalFlowRevision: z.ZodOptional<z.ZodString>;
4855
4850
  } & {
4856
4851
  integration: z.ZodOptional<z.ZodObject<{
4857
4852
  id: z.ZodString;
@@ -5196,7 +5191,6 @@ declare const FlowInstanceApiResponse: z.ZodObject<{
5196
5191
  archivedAt?: string | undefined;
5197
5192
  isDeactivated?: boolean | undefined;
5198
5193
  integrationId?: string | undefined;
5199
- parentId?: string | undefined;
5200
5194
  isCustomized?: boolean | undefined;
5201
5195
  parametersSchema?: DataSchema | undefined;
5202
5196
  appliedToIntegrations?: {
@@ -5242,7 +5236,6 @@ declare const FlowInstanceApiResponse: z.ZodObject<{
5242
5236
  }[] | undefined;
5243
5237
  dependencies?: any[] | undefined;
5244
5238
  universalFlowId?: string | undefined;
5245
- universalFlowRevision?: string | undefined;
5246
5239
  nodes?: Record<string, {
5247
5240
  concurrency?: number | undefined;
5248
5241
  type?: string | undefined;
@@ -5263,6 +5256,7 @@ declare const FlowInstanceApiResponse: z.ZodObject<{
5263
5256
  }[] | undefined;
5264
5257
  }> | undefined;
5265
5258
  autoCreateInstances?: boolean | undefined;
5259
+ universalFlowRevision?: string | undefined;
5266
5260
  }, {
5267
5261
  id: string;
5268
5262
  name: string;
@@ -5311,7 +5305,6 @@ declare const FlowInstanceApiResponse: z.ZodObject<{
5311
5305
  archivedAt?: string | undefined;
5312
5306
  isDeactivated?: boolean | undefined;
5313
5307
  integrationId?: string | undefined;
5314
- parentId?: string | undefined;
5315
5308
  isCustomized?: boolean | undefined;
5316
5309
  parametersSchema?: DataSchema | undefined;
5317
5310
  appliedToIntegrations?: {
@@ -5357,7 +5350,6 @@ declare const FlowInstanceApiResponse: z.ZodObject<{
5357
5350
  }[] | undefined;
5358
5351
  dependencies?: any[] | undefined;
5359
5352
  universalFlowId?: string | undefined;
5360
- universalFlowRevision?: string | undefined;
5361
5353
  nodes?: Record<string, {
5362
5354
  concurrency?: number | undefined;
5363
5355
  type?: string | undefined;
@@ -5378,6 +5370,7 @@ declare const FlowInstanceApiResponse: z.ZodObject<{
5378
5370
  }[] | undefined;
5379
5371
  }> | undefined;
5380
5372
  autoCreateInstances?: boolean | undefined;
5373
+ universalFlowRevision?: string | undefined;
5381
5374
  }>>>;
5382
5375
  integration: z.ZodOptional<z.ZodLazy<z.ZodType<{
5383
5376
  id: string;
@@ -5553,7 +5546,6 @@ declare const FlowInstanceApiResponse: z.ZodObject<{
5553
5546
  archivedAt?: string | undefined;
5554
5547
  isDeactivated?: boolean | undefined;
5555
5548
  integrationId?: string | undefined;
5556
- parentId?: string | undefined;
5557
5549
  isCustomized?: boolean | undefined;
5558
5550
  parametersSchema?: DataSchema | undefined;
5559
5551
  appliedToIntegrations?: {
@@ -5599,7 +5591,6 @@ declare const FlowInstanceApiResponse: z.ZodObject<{
5599
5591
  }[] | undefined;
5600
5592
  dependencies?: any[] | undefined;
5601
5593
  universalFlowId?: string | undefined;
5602
- universalFlowRevision?: string | undefined;
5603
5594
  nodes?: Record<string, {
5604
5595
  concurrency?: number | undefined;
5605
5596
  type?: string | undefined;
@@ -5620,6 +5611,7 @@ declare const FlowInstanceApiResponse: z.ZodObject<{
5620
5611
  }[] | undefined;
5621
5612
  }> | undefined;
5622
5613
  autoCreateInstances?: boolean | undefined;
5614
+ universalFlowRevision?: string | undefined;
5623
5615
  } | undefined;
5624
5616
  uuid?: string | undefined;
5625
5617
  description?: string | undefined;
@@ -5763,7 +5755,6 @@ declare const FlowInstanceApiResponse: z.ZodObject<{
5763
5755
  archivedAt?: string | undefined;
5764
5756
  isDeactivated?: boolean | undefined;
5765
5757
  integrationId?: string | undefined;
5766
- parentId?: string | undefined;
5767
5758
  isCustomized?: boolean | undefined;
5768
5759
  parametersSchema?: DataSchema | undefined;
5769
5760
  appliedToIntegrations?: {
@@ -5809,7 +5800,6 @@ declare const FlowInstanceApiResponse: z.ZodObject<{
5809
5800
  }[] | undefined;
5810
5801
  dependencies?: any[] | undefined;
5811
5802
  universalFlowId?: string | undefined;
5812
- universalFlowRevision?: string | undefined;
5813
5803
  nodes?: Record<string, {
5814
5804
  concurrency?: number | undefined;
5815
5805
  type?: string | undefined;
@@ -5830,339 +5820,79 @@ declare const FlowInstanceApiResponse: z.ZodObject<{
5830
5820
  }[] | undefined;
5831
5821
  }> | undefined;
5832
5822
  autoCreateInstances?: boolean | undefined;
5823
+ universalFlowRevision?: string | undefined;
5833
5824
  } | undefined;
5834
5825
  uuid?: string | undefined;
5835
- description?: string | undefined;
5836
- meta?: Record<string, any> | undefined;
5837
- state?: WorkspaceElementState | undefined;
5838
- errors?: ErrorDataSchema[] | undefined;
5839
- revision?: string | undefined;
5840
- archivedAt?: string | undefined;
5841
- isDeactivated?: boolean | undefined;
5842
- instanceKey?: string | undefined;
5843
- connectionId?: string | undefined;
5844
- parameters?: any;
5845
- parametersSchema?: DataSchema | undefined;
5846
- user?: {
5847
- id: string;
5848
- name: string;
5849
- internalId: string;
5850
- meta?: Record<string, any> | undefined;
5851
- createdAt?: string | undefined;
5852
- archivedAt?: string | undefined;
5853
- credentials?: any;
5854
- fields?: Record<string, any> | undefined;
5855
- isTest?: boolean | undefined;
5856
- lastActiveAt?: string | undefined;
5857
- isBillable?: boolean | undefined;
5858
- } | undefined;
5859
- dependencies?: any[] | undefined;
5860
- universalFlowId?: string | undefined;
5861
- nodes?: Record<string, any> | undefined;
5862
- flowId?: string | undefined;
5863
- customized?: {
5864
- name?: boolean | undefined;
5865
- nodes?: boolean | undefined;
5866
- } | undefined;
5867
- }>;
5868
- type FlowInstanceApiResponse = z.infer<typeof FlowInstanceApiResponse>;
5869
- type FlowInstance = FlowInstanceApiResponse;
5870
-
5871
- declare const ListDataSourcesForIntegrationQuery: z.ZodObject<{
5872
- universalDataSourceId: z.ZodOptional<z.ZodString>;
5873
- } & {
5874
- limit: z.ZodOptional<z.ZodNumber>;
5875
- cursor: z.ZodOptional<z.ZodString>;
5876
- }, "strip", z.ZodTypeAny, {
5877
- limit?: number | undefined;
5878
- cursor?: string | undefined;
5879
- universalDataSourceId?: string | undefined;
5880
- }, {
5881
- limit?: number | undefined;
5882
- cursor?: string | undefined;
5883
- universalDataSourceId?: string | undefined;
5884
- }>;
5885
- type ListDataSourcesForIntegrationQuery = z.infer<typeof ListDataSourcesForIntegrationQuery>;
5886
- declare const FindDataSourcesQuery: z.ZodObject<{
5887
- universalDataSourceId: z.ZodOptional<z.ZodString>;
5888
- } & {
5889
- limit: z.ZodOptional<z.ZodNumber>;
5890
- cursor: z.ZodOptional<z.ZodString>;
5891
- } & {
5892
- integrationId: z.ZodOptional<z.ZodString>;
5893
- }, "strip", z.ZodTypeAny, {
5894
- integrationId?: string | undefined;
5895
- limit?: number | undefined;
5896
- cursor?: string | undefined;
5897
- universalDataSourceId?: string | undefined;
5898
- }, {
5899
- integrationId?: string | undefined;
5900
- limit?: number | undefined;
5901
- cursor?: string | undefined;
5902
- universalDataSourceId?: string | undefined;
5903
- }>;
5904
- type FindDataSourcesQuery = z.infer<typeof FindDataSourcesQuery>;
5905
- declare const CreateDataSourceRequest: z.ZodObject<{
5906
- key: z.ZodString;
5907
- name: z.ZodString;
5908
- integrationId: z.ZodOptional<z.ZodString>;
5909
- udm: z.ZodOptional<z.ZodString>;
5910
- pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
5911
- fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
5912
- rootPath: z.ZodOptional<z.ZodString>;
5913
- defaultPath: z.ZodOptional<z.ZodString>;
5914
- collectionKey: z.ZodOptional<z.ZodString>;
5915
- collectionParameters: z.ZodOptional<z.ZodAny>;
5916
- }, "strip", z.ZodTypeAny, {
5917
- key: string;
5918
- name: string;
5919
- integrationId?: string | undefined;
5920
- udm?: string | undefined;
5921
- collectionKey?: string | undefined;
5922
- collectionParameters?: any;
5923
- pullUpdatesIntervalSeconds?: number | undefined;
5924
- fullSyncIntervalSeconds?: number | undefined;
5925
- defaultPath?: string | undefined;
5926
- rootPath?: string | undefined;
5927
- }, {
5928
- key: string;
5929
- name: string;
5930
- integrationId?: string | undefined;
5931
- udm?: string | undefined;
5932
- collectionKey?: string | undefined;
5933
- collectionParameters?: any;
5934
- pullUpdatesIntervalSeconds?: number | undefined;
5935
- fullSyncIntervalSeconds?: number | undefined;
5936
- defaultPath?: string | undefined;
5937
- rootPath?: string | undefined;
5938
- }>;
5939
- type CreateDataSourceRequest = z.infer<typeof CreateDataSourceRequest>;
5940
- declare const UpdateDataSourceRequest: z.ZodObject<{
5941
- key: z.ZodOptional<z.ZodString>;
5942
- name: z.ZodOptional<z.ZodString>;
5943
- archivedAt: z.ZodOptional<z.ZodString>;
5944
- udm: z.ZodOptional<z.ZodString>;
5945
- pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
5946
- fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
5947
- rootPath: z.ZodOptional<z.ZodString>;
5948
- defaultPath: z.ZodOptional<z.ZodString>;
5949
- }, "strip", z.ZodTypeAny, {
5950
- key?: string | undefined;
5951
- name?: string | undefined;
5952
- archivedAt?: string | undefined;
5953
- udm?: string | undefined;
5954
- pullUpdatesIntervalSeconds?: number | undefined;
5955
- fullSyncIntervalSeconds?: number | undefined;
5956
- defaultPath?: string | undefined;
5957
- rootPath?: string | undefined;
5958
- }, {
5959
- key?: string | undefined;
5960
- name?: string | undefined;
5961
- archivedAt?: string | undefined;
5962
- udm?: string | undefined;
5963
- pullUpdatesIntervalSeconds?: number | undefined;
5964
- fullSyncIntervalSeconds?: number | undefined;
5965
- defaultPath?: string | undefined;
5966
- rootPath?: string | undefined;
5967
- }>;
5968
- type UpdateDataSourceRequest = z.infer<typeof UpdateDataSourceRequest>;
5969
- interface DataSourceSelector extends IntegrationSpecificElementSelector {
5970
- }
5971
- interface DataSourceInstanceSelector extends ConnectionSelector, FlowInstanceSelector, ElementInstanceSelector {
5972
- dataSourceKey?: string;
5973
- dataSourceId?: string;
5974
- instanceKey?: string;
5975
- nodeKey?: string;
5976
- udm?: string;
5977
- }
5978
- declare const FindDataSourceInstancesQuery: z.ZodObject<{
5979
- userId: z.ZodOptional<z.ZodString>;
5980
- dataSourceId: z.ZodOptional<z.ZodString>;
5981
- universalDataSourceId: z.ZodOptional<z.ZodString>;
5982
- connectionId: z.ZodOptional<z.ZodString>;
5983
- integrationKey: z.ZodOptional<z.ZodString>;
5984
- integrationId: z.ZodOptional<z.ZodString>;
5985
- } & {
5986
- limit: z.ZodOptional<z.ZodNumber>;
5987
- cursor: z.ZodOptional<z.ZodString>;
5988
- }, "strip", z.ZodTypeAny, {
5989
- integrationId?: string | undefined;
5990
- limit?: number | undefined;
5991
- cursor?: string | undefined;
5992
- userId?: string | undefined;
5993
- connectionId?: string | undefined;
5994
- integrationKey?: string | undefined;
5995
- dataSourceId?: string | undefined;
5996
- universalDataSourceId?: string | undefined;
5997
- }, {
5998
- integrationId?: string | undefined;
5999
- limit?: number | undefined;
6000
- cursor?: string | undefined;
6001
- userId?: string | undefined;
5826
+ description?: string | undefined;
5827
+ meta?: Record<string, any> | undefined;
5828
+ state?: WorkspaceElementState | undefined;
5829
+ errors?: ErrorDataSchema[] | undefined;
5830
+ revision?: string | undefined;
5831
+ archivedAt?: string | undefined;
5832
+ isDeactivated?: boolean | undefined;
5833
+ instanceKey?: string | undefined;
6002
5834
  connectionId?: string | undefined;
6003
- integrationKey?: string | undefined;
6004
- dataSourceId?: string | undefined;
6005
- universalDataSourceId?: string | undefined;
6006
- }>;
6007
- type FindDataSourceInstancesQuery = z.infer<typeof FindDataSourceInstancesQuery>;
6008
- type FindDataSourceInstancesResponse = PaginationResponse<DataSourceInstance>;
6009
- declare const CreateDataSourceInstanceRequest: z.ZodObject<{
6010
- dataSourceId: z.ZodString;
6011
- connectionId: z.ZodString;
6012
- path: z.ZodOptional<z.ZodString>;
6013
- }, "strip", z.ZodTypeAny, {
6014
- connectionId: string;
6015
- dataSourceId: string;
6016
- path?: string | undefined;
6017
- }, {
6018
- connectionId: string;
6019
- dataSourceId: string;
6020
- path?: string | undefined;
6021
- }>;
6022
- type CreateDataSourceInstanceRequest = z.infer<typeof CreateDataSourceInstanceRequest>;
6023
- declare const UpdateDataSourceInstanceRequest: z.ZodObject<{
6024
- path: z.ZodOptional<z.ZodString>;
6025
- collectionKey: z.ZodOptional<z.ZodString>;
6026
- collectionParameters: z.ZodOptional<z.ZodAny>;
6027
- pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
6028
- fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
6029
- subscribedTo: z.ZodOptional<z.ZodObject<{
6030
- created: z.ZodOptional<z.ZodBoolean>;
6031
- updated: z.ZodOptional<z.ZodBoolean>;
6032
- deleted: z.ZodOptional<z.ZodBoolean>;
6033
- }, "strip", z.ZodTypeAny, {
6034
- created?: boolean | undefined;
6035
- updated?: boolean | undefined;
6036
- deleted?: boolean | undefined;
6037
- }, {
6038
- created?: boolean | undefined;
6039
- updated?: boolean | undefined;
6040
- deleted?: boolean | undefined;
6041
- }>>;
6042
- }, "strip", z.ZodTypeAny, {
6043
- path?: string | undefined;
6044
- collectionKey?: string | undefined;
6045
- collectionParameters?: any;
6046
- pullUpdatesIntervalSeconds?: number | undefined;
6047
- fullSyncIntervalSeconds?: number | undefined;
6048
- subscribedTo?: {
6049
- created?: boolean | undefined;
6050
- updated?: boolean | undefined;
6051
- deleted?: boolean | undefined;
5835
+ parameters?: any;
5836
+ parametersSchema?: DataSchema | undefined;
5837
+ user?: {
5838
+ id: string;
5839
+ name: string;
5840
+ internalId: string;
5841
+ meta?: Record<string, any> | undefined;
5842
+ createdAt?: string | undefined;
5843
+ archivedAt?: string | undefined;
5844
+ credentials?: any;
5845
+ fields?: Record<string, any> | undefined;
5846
+ isTest?: boolean | undefined;
5847
+ lastActiveAt?: string | undefined;
5848
+ isBillable?: boolean | undefined;
6052
5849
  } | undefined;
6053
- }, {
6054
- path?: string | undefined;
6055
- collectionKey?: string | undefined;
6056
- collectionParameters?: any;
6057
- pullUpdatesIntervalSeconds?: number | undefined;
6058
- fullSyncIntervalSeconds?: number | undefined;
6059
- subscribedTo?: {
6060
- created?: boolean | undefined;
6061
- updated?: boolean | undefined;
6062
- deleted?: boolean | undefined;
5850
+ dependencies?: any[] | undefined;
5851
+ universalFlowId?: string | undefined;
5852
+ nodes?: Record<string, any> | undefined;
5853
+ flowId?: string | undefined;
5854
+ customized?: {
5855
+ name?: boolean | undefined;
5856
+ nodes?: boolean | undefined;
6063
5857
  } | undefined;
6064
5858
  }>;
6065
- type UpdateDataSourceInstanceRequest = z.infer<typeof UpdateDataSourceInstanceRequest>;
6066
- declare const FindDataSourceEventsQuery: z.ZodObject<{
6067
- userId: z.ZodOptional<z.ZodString>;
6068
- udm: z.ZodOptional<z.ZodString>;
6069
- dataSourceInstanceId: z.ZodOptional<z.ZodString>;
6070
- startDatetime: z.ZodOptional<z.ZodString>;
6071
- endDatetime: z.ZodOptional<z.ZodString>;
6072
- } & {
6073
- limit: z.ZodOptional<z.ZodNumber>;
6074
- cursor: z.ZodOptional<z.ZodString>;
6075
- }, "strip", z.ZodTypeAny, {
6076
- limit?: number | undefined;
6077
- cursor?: string | undefined;
6078
- userId?: string | undefined;
6079
- udm?: string | undefined;
6080
- dataSourceInstanceId?: string | undefined;
6081
- startDatetime?: string | undefined;
6082
- endDatetime?: string | undefined;
6083
- }, {
6084
- limit?: number | undefined;
6085
- cursor?: string | undefined;
6086
- userId?: string | undefined;
6087
- udm?: string | undefined;
6088
- dataSourceInstanceId?: string | undefined;
6089
- startDatetime?: string | undefined;
6090
- endDatetime?: string | undefined;
6091
- }>;
6092
- type FindDataSourceEventsQuery = z.infer<typeof FindDataSourceEventsQuery>;
6093
- declare const FindDataSourceSyncsQuery: z.ZodObject<{
6094
- userId: z.ZodOptional<z.ZodString>;
6095
- dataSourceId: z.ZodOptional<z.ZodString>;
6096
- dataSourceInstanceId: z.ZodOptional<z.ZodString>;
6097
- integrationId: z.ZodOptional<z.ZodString>;
6098
- connectionId: z.ZodOptional<z.ZodString>;
6099
- startedAfter: z.ZodOptional<z.ZodString>;
6100
- } & {
6101
- limit: z.ZodOptional<z.ZodNumber>;
6102
- cursor: z.ZodOptional<z.ZodString>;
6103
- }, "strip", z.ZodTypeAny, {
6104
- integrationId?: string | undefined;
6105
- limit?: number | undefined;
6106
- cursor?: string | undefined;
6107
- userId?: string | undefined;
6108
- connectionId?: string | undefined;
6109
- dataSourceId?: string | undefined;
6110
- dataSourceInstanceId?: string | undefined;
6111
- startedAfter?: string | undefined;
6112
- }, {
6113
- integrationId?: string | undefined;
6114
- limit?: number | undefined;
6115
- cursor?: string | undefined;
6116
- userId?: string | undefined;
6117
- connectionId?: string | undefined;
6118
- dataSourceId?: string | undefined;
6119
- dataSourceInstanceId?: string | undefined;
6120
- startedAfter?: string | undefined;
6121
- }>;
6122
- type FindDataSourceSyncsQuery = z.infer<typeof FindDataSourceSyncsQuery>;
6123
- declare const ListDataSourceInstancesForConnectionQuery: z.ZodObject<{
6124
- dataSourceId: z.ZodOptional<z.ZodString>;
6125
- } & {
6126
- limit: z.ZodOptional<z.ZodNumber>;
6127
- cursor: z.ZodOptional<z.ZodString>;
6128
- }, "strip", z.ZodTypeAny, {
6129
- limit?: number | undefined;
6130
- cursor?: string | undefined;
6131
- dataSourceId?: string | undefined;
6132
- }, {
6133
- limit?: number | undefined;
6134
- cursor?: string | undefined;
6135
- dataSourceId?: string | undefined;
6136
- }>;
6137
- type ListDataSourceInstancesForConnectionQuery = z.infer<typeof ListDataSourceInstancesForConnectionQuery>;
6138
- declare const FindDataSourceInstanceSyncsQuery: z.ZodObject<{
6139
- dataSourceId: z.ZodOptional<z.ZodString>;
6140
- } & {
6141
- limit: z.ZodOptional<z.ZodNumber>;
6142
- cursor: z.ZodOptional<z.ZodString>;
6143
- } & {
6144
- userId: z.ZodOptional<z.ZodString>;
6145
- connectionId: z.ZodOptional<z.ZodString>;
6146
- integrationId: z.ZodOptional<z.ZodString>;
6147
- dataSourceInstanceId: z.ZodOptional<z.ZodString>;
5859
+ type FlowInstanceApiResponse = z.infer<typeof FlowInstanceApiResponse>;
5860
+ type FlowInstance = FlowInstanceApiResponse;
5861
+ type ListFlowsForIntegrationQuery = Omit<FindFlowsQuery, 'integrationId' | 'integrationKey'>;
5862
+ declare const CreateFlowNodeRequest: z.ZodObject<{
5863
+ type: z.ZodString;
5864
+ config: z.ZodOptional<z.ZodAny>;
5865
+ ui: z.ZodOptional<z.ZodAny>;
5866
+ links: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodType<{
5867
+ key?: string | undefined;
5868
+ filter?: any;
5869
+ name?: string | undefined;
5870
+ }, z.ZodTypeDef, {
5871
+ key?: string | undefined;
5872
+ filter?: any;
5873
+ name?: string | undefined;
5874
+ }>>, "many">>;
6148
5875
  }, "strip", z.ZodTypeAny, {
6149
- integrationId?: string | undefined;
6150
- limit?: number | undefined;
6151
- cursor?: string | undefined;
6152
- userId?: string | undefined;
6153
- connectionId?: string | undefined;
6154
- dataSourceId?: string | undefined;
6155
- dataSourceInstanceId?: string | undefined;
5876
+ type: string;
5877
+ config?: any;
5878
+ ui?: any;
5879
+ links?: {
5880
+ key?: string | undefined;
5881
+ filter?: any;
5882
+ name?: string | undefined;
5883
+ }[] | undefined;
6156
5884
  }, {
6157
- integrationId?: string | undefined;
6158
- limit?: number | undefined;
6159
- cursor?: string | undefined;
6160
- userId?: string | undefined;
6161
- connectionId?: string | undefined;
6162
- dataSourceId?: string | undefined;
6163
- dataSourceInstanceId?: string | undefined;
5885
+ type: string;
5886
+ config?: any;
5887
+ ui?: any;
5888
+ links?: {
5889
+ key?: string | undefined;
5890
+ filter?: any;
5891
+ name?: string | undefined;
5892
+ }[] | undefined;
6164
5893
  }>;
6165
- type FindDataSourceInstanceSyncsQuery = z.infer<typeof FindDataSourceInstanceSyncsQuery>;
5894
+ type CreateFlowNodeRequest = z.infer<typeof CreateFlowNodeRequest>;
5895
+
6166
5896
  declare const DataSourceApiResponse: z.ZodObject<{
6167
5897
  id: z.ZodString;
6168
5898
  key: z.ZodOptional<z.ZodString>;
@@ -6170,7 +5900,13 @@ declare const DataSourceApiResponse: z.ZodObject<{
6170
5900
  description: z.ZodOptional<z.ZodString>;
6171
5901
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
6172
5902
  integrationId: z.ZodOptional<z.ZodString>;
6173
- parentId: z.ZodOptional<z.ZodString>;
5903
+ universalDataSourceId: z.ZodOptional<z.ZodString>;
5904
+ udm: z.ZodOptional<z.ZodString>;
5905
+ pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
5906
+ fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
5907
+ collectionKey: z.ZodOptional<z.ZodString>;
5908
+ collectionParameters: z.ZodOptional<z.ZodAny>;
5909
+ defaultPath: z.ZodOptional<z.ZodString>;
6174
5910
  } & {
6175
5911
  name: z.ZodString;
6176
5912
  state: z.ZodOptional<z.ZodNativeEnum<typeof WorkspaceElementState>>;
@@ -6181,16 +5917,7 @@ declare const DataSourceApiResponse: z.ZodObject<{
6181
5917
  archivedAt: z.ZodOptional<z.ZodString>;
6182
5918
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
6183
5919
  isCustomized: z.ZodOptional<z.ZodBoolean>;
6184
- } & {
6185
- publishedRevision: z.ZodOptional<z.ZodString>;
6186
- universalDataSourceId: z.ZodOptional<z.ZodString>;
6187
5920
  universalDataSourceRevision: z.ZodOptional<z.ZodString>;
6188
- udm: z.ZodOptional<z.ZodString>;
6189
- pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
6190
- fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
6191
- collectionKey: z.ZodOptional<z.ZodString>;
6192
- collectionParameters: z.ZodOptional<z.ZodAny>;
6193
- defaultPath: z.ZodOptional<z.ZodString>;
6194
5921
  } & {
6195
5922
  integration: z.ZodOptional<z.ZodObject<{
6196
5923
  id: z.ZodString;
@@ -6298,7 +6025,13 @@ declare const DataSourceApiResponse: z.ZodObject<{
6298
6025
  description: z.ZodOptional<z.ZodString>;
6299
6026
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
6300
6027
  integrationId: z.ZodOptional<z.ZodString>;
6301
- parentId: z.ZodOptional<z.ZodString>;
6028
+ universalDataSourceId: z.ZodOptional<z.ZodString>;
6029
+ udm: z.ZodOptional<z.ZodString>;
6030
+ pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
6031
+ fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
6032
+ collectionKey: z.ZodOptional<z.ZodString>;
6033
+ collectionParameters: z.ZodOptional<z.ZodAny>;
6034
+ defaultPath: z.ZodOptional<z.ZodString>;
6302
6035
  } & {
6303
6036
  name: z.ZodString;
6304
6037
  state: z.ZodOptional<z.ZodNativeEnum<typeof WorkspaceElementState>>;
@@ -6309,16 +6042,7 @@ declare const DataSourceApiResponse: z.ZodObject<{
6309
6042
  archivedAt: z.ZodOptional<z.ZodString>;
6310
6043
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
6311
6044
  isCustomized: z.ZodOptional<z.ZodBoolean>;
6312
- } & {
6313
- publishedRevision: z.ZodOptional<z.ZodString>;
6314
- universalDataSourceId: z.ZodOptional<z.ZodString>;
6315
6045
  universalDataSourceRevision: z.ZodOptional<z.ZodString>;
6316
- udm: z.ZodOptional<z.ZodString>;
6317
- pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
6318
- fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
6319
- collectionKey: z.ZodOptional<z.ZodString>;
6320
- collectionParameters: z.ZodOptional<z.ZodAny>;
6321
- defaultPath: z.ZodOptional<z.ZodString>;
6322
6046
  }, "strip", z.ZodTypeAny, {
6323
6047
  id: string;
6324
6048
  name: string;
@@ -6334,9 +6058,7 @@ declare const DataSourceApiResponse: z.ZodObject<{
6334
6058
  archivedAt?: string | undefined;
6335
6059
  isDeactivated?: boolean | undefined;
6336
6060
  integrationId?: string | undefined;
6337
- parentId?: string | undefined;
6338
6061
  isCustomized?: boolean | undefined;
6339
- publishedRevision?: string | undefined;
6340
6062
  udm?: string | undefined;
6341
6063
  universalDataSourceId?: string | undefined;
6342
6064
  collectionKey?: string | undefined;
@@ -6360,9 +6082,7 @@ declare const DataSourceApiResponse: z.ZodObject<{
6360
6082
  archivedAt?: string | undefined;
6361
6083
  isDeactivated?: boolean | undefined;
6362
6084
  integrationId?: string | undefined;
6363
- parentId?: string | undefined;
6364
6085
  isCustomized?: boolean | undefined;
6365
- publishedRevision?: string | undefined;
6366
6086
  udm?: string | undefined;
6367
6087
  universalDataSourceId?: string | undefined;
6368
6088
  collectionKey?: string | undefined;
@@ -6519,9 +6239,7 @@ declare const DataSourceApiResponse: z.ZodObject<{
6519
6239
  archivedAt?: string | undefined;
6520
6240
  isDeactivated?: boolean | undefined;
6521
6241
  integrationId?: string | undefined;
6522
- parentId?: string | undefined;
6523
6242
  isCustomized?: boolean | undefined;
6524
- publishedRevision?: string | undefined;
6525
6243
  udm?: string | undefined;
6526
6244
  universalDataSourceId?: string | undefined;
6527
6245
  collectionKey?: string | undefined;
@@ -6580,9 +6298,7 @@ declare const DataSourceApiResponse: z.ZodObject<{
6580
6298
  archivedAt?: string | undefined;
6581
6299
  isDeactivated?: boolean | undefined;
6582
6300
  integrationId?: string | undefined;
6583
- parentId?: string | undefined;
6584
6301
  isCustomized?: boolean | undefined;
6585
- publishedRevision?: string | undefined;
6586
6302
  udm?: string | undefined;
6587
6303
  universalDataSourceId?: string | undefined;
6588
6304
  collectionKey?: string | undefined;
@@ -6641,9 +6357,7 @@ declare const DataSourceApiResponse: z.ZodObject<{
6641
6357
  archivedAt?: string | undefined;
6642
6358
  isDeactivated?: boolean | undefined;
6643
6359
  integrationId?: string | undefined;
6644
- parentId?: string | undefined;
6645
6360
  isCustomized?: boolean | undefined;
6646
- publishedRevision?: string | undefined;
6647
6361
  udm?: string | undefined;
6648
6362
  appliedToIntegrations?: {
6649
6363
  integration: {
@@ -6694,9 +6408,7 @@ declare const DataSourceApiResponse: z.ZodObject<{
6694
6408
  archivedAt?: string | undefined;
6695
6409
  isDeactivated?: boolean | undefined;
6696
6410
  integrationId?: string | undefined;
6697
- parentId?: string | undefined;
6698
6411
  isCustomized?: boolean | undefined;
6699
- publishedRevision?: string | undefined;
6700
6412
  udm?: string | undefined;
6701
6413
  universalDataSourceId?: string | undefined;
6702
6414
  collectionKey?: string | undefined;
@@ -6762,9 +6474,7 @@ declare const DataSourceApiResponse: z.ZodObject<{
6762
6474
  archivedAt?: string | undefined;
6763
6475
  isDeactivated?: boolean | undefined;
6764
6476
  integrationId?: string | undefined;
6765
- parentId?: string | undefined;
6766
6477
  isCustomized?: boolean | undefined;
6767
- publishedRevision?: string | undefined;
6768
6478
  udm?: string | undefined;
6769
6479
  appliedToIntegrations?: {
6770
6480
  integration: {
@@ -6815,9 +6525,7 @@ declare const DataSourceApiResponse: z.ZodObject<{
6815
6525
  archivedAt?: string | undefined;
6816
6526
  isDeactivated?: boolean | undefined;
6817
6527
  integrationId?: string | undefined;
6818
- parentId?: string | undefined;
6819
6528
  isCustomized?: boolean | undefined;
6820
- publishedRevision?: string | undefined;
6821
6529
  udm?: string | undefined;
6822
6530
  universalDataSourceId?: string | undefined;
6823
6531
  collectionKey?: string | undefined;
@@ -6836,8 +6544,375 @@ declare const DataSourceApiResponse: z.ZodObject<{
6836
6544
  defaultPath?: string | undefined;
6837
6545
  universalDataSourceRevision?: string | undefined;
6838
6546
  }>;
6839
- type DataSourceApiResponse = z.infer<typeof DataSourceApiResponse>;
6840
- type DataSource = DataSourceApiResponse;
6547
+ type DataSourceApiResponse = z.infer<typeof DataSourceApiResponse>;
6548
+ type DataSource = DataSourceApiResponse;
6549
+ declare const FindDataSourcesQuery: z.ZodObject<{
6550
+ limit: z.ZodOptional<z.ZodNumber>;
6551
+ cursor: z.ZodOptional<z.ZodString>;
6552
+ } & {
6553
+ integrationId: z.ZodOptional<z.ZodString>;
6554
+ integrationKey: z.ZodOptional<z.ZodString>;
6555
+ universalDataSourceId: z.ZodOptional<z.ZodString>;
6556
+ search: z.ZodOptional<z.ZodString>;
6557
+ includeArchived: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
6558
+ }, "strip", z.ZodTypeAny, {
6559
+ search?: string | undefined;
6560
+ integrationId?: string | undefined;
6561
+ includeArchived?: boolean | undefined;
6562
+ limit?: number | undefined;
6563
+ cursor?: string | undefined;
6564
+ integrationKey?: string | undefined;
6565
+ universalDataSourceId?: string | undefined;
6566
+ }, {
6567
+ search?: string | undefined;
6568
+ integrationId?: string | undefined;
6569
+ includeArchived?: unknown;
6570
+ limit?: number | undefined;
6571
+ cursor?: string | undefined;
6572
+ integrationKey?: string | undefined;
6573
+ universalDataSourceId?: string | undefined;
6574
+ }>;
6575
+ type FindDataSourcesQuery = z.infer<typeof FindDataSourcesQuery>;
6576
+ declare const CreateDataSourceRequest: z.ZodObject<Omit<{
6577
+ key: z.ZodOptional<z.ZodString>;
6578
+ name: z.ZodOptional<z.ZodString>;
6579
+ uuid: z.ZodOptional<z.ZodString>;
6580
+ description: z.ZodOptional<z.ZodString>;
6581
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
6582
+ } & {
6583
+ integrationId: z.ZodOptional<z.ZodString>;
6584
+ parentId: z.ZodOptional<z.ZodString>;
6585
+ }, "parentId"> & {
6586
+ universalDataSourceId: z.ZodOptional<z.ZodString>;
6587
+ udm: z.ZodOptional<z.ZodString>;
6588
+ pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
6589
+ fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
6590
+ collectionKey: z.ZodOptional<z.ZodString>;
6591
+ collectionParameters: z.ZodOptional<z.ZodAny>;
6592
+ defaultPath: z.ZodOptional<z.ZodString>;
6593
+ }, "strip", z.ZodTypeAny, {
6594
+ key?: string | undefined;
6595
+ name?: string | undefined;
6596
+ uuid?: string | undefined;
6597
+ description?: string | undefined;
6598
+ meta?: Record<string, any> | undefined;
6599
+ integrationId?: string | undefined;
6600
+ udm?: string | undefined;
6601
+ universalDataSourceId?: string | undefined;
6602
+ collectionKey?: string | undefined;
6603
+ collectionParameters?: any;
6604
+ pullUpdatesIntervalSeconds?: number | undefined;
6605
+ fullSyncIntervalSeconds?: number | undefined;
6606
+ defaultPath?: string | undefined;
6607
+ }, {
6608
+ key?: string | undefined;
6609
+ name?: string | undefined;
6610
+ uuid?: string | undefined;
6611
+ description?: string | undefined;
6612
+ meta?: Record<string, any> | undefined;
6613
+ integrationId?: string | undefined;
6614
+ udm?: string | undefined;
6615
+ universalDataSourceId?: string | undefined;
6616
+ collectionKey?: string | undefined;
6617
+ collectionParameters?: any;
6618
+ pullUpdatesIntervalSeconds?: number | undefined;
6619
+ fullSyncIntervalSeconds?: number | undefined;
6620
+ defaultPath?: string | undefined;
6621
+ }>;
6622
+ type CreateDataSourceRequest = z.infer<typeof CreateDataSourceRequest>;
6623
+ declare const UpdateDataSourceRequest: z.ZodObject<{
6624
+ key: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6625
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6626
+ uuid: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6627
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6628
+ meta: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
6629
+ integrationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6630
+ universalDataSourceId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6631
+ udm: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6632
+ pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
6633
+ fullSyncIntervalSeconds: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
6634
+ collectionKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6635
+ collectionParameters: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
6636
+ defaultPath: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6637
+ }, "strip", z.ZodTypeAny, {
6638
+ key?: string | undefined;
6639
+ name?: string | undefined;
6640
+ uuid?: string | undefined;
6641
+ description?: string | undefined;
6642
+ meta?: Record<string, any> | undefined;
6643
+ integrationId?: string | undefined;
6644
+ udm?: string | undefined;
6645
+ universalDataSourceId?: string | undefined;
6646
+ collectionKey?: string | undefined;
6647
+ collectionParameters?: any;
6648
+ pullUpdatesIntervalSeconds?: number | undefined;
6649
+ fullSyncIntervalSeconds?: number | undefined;
6650
+ defaultPath?: string | undefined;
6651
+ }, {
6652
+ key?: string | undefined;
6653
+ name?: string | undefined;
6654
+ uuid?: string | undefined;
6655
+ description?: string | undefined;
6656
+ meta?: Record<string, any> | undefined;
6657
+ integrationId?: string | undefined;
6658
+ udm?: string | undefined;
6659
+ universalDataSourceId?: string | undefined;
6660
+ collectionKey?: string | undefined;
6661
+ collectionParameters?: any;
6662
+ pullUpdatesIntervalSeconds?: number | undefined;
6663
+ fullSyncIntervalSeconds?: number | undefined;
6664
+ defaultPath?: string | undefined;
6665
+ }>;
6666
+ type UpdateDataSourceRequest = z.infer<typeof UpdateDataSourceRequest>;
6667
+ interface DataSourceSelector extends IntegrationSpecificElementSelector {
6668
+ }
6669
+ interface DataSourceInstanceSelector extends ConnectionSelector, FlowInstanceSelector, ElementInstanceSelector {
6670
+ dataSourceKey?: string;
6671
+ dataSourceId?: string;
6672
+ instanceKey?: string;
6673
+ nodeKey?: string;
6674
+ udm?: string;
6675
+ }
6676
+ declare const FindDataSourceInstancesQuery: z.ZodObject<{
6677
+ userId: z.ZodOptional<z.ZodString>;
6678
+ dataSourceId: z.ZodOptional<z.ZodString>;
6679
+ universalDataSourceId: z.ZodOptional<z.ZodString>;
6680
+ connectionId: z.ZodOptional<z.ZodString>;
6681
+ integrationKey: z.ZodOptional<z.ZodString>;
6682
+ integrationId: z.ZodOptional<z.ZodString>;
6683
+ } & {
6684
+ limit: z.ZodOptional<z.ZodNumber>;
6685
+ cursor: z.ZodOptional<z.ZodString>;
6686
+ }, "strip", z.ZodTypeAny, {
6687
+ integrationId?: string | undefined;
6688
+ limit?: number | undefined;
6689
+ cursor?: string | undefined;
6690
+ userId?: string | undefined;
6691
+ connectionId?: string | undefined;
6692
+ integrationKey?: string | undefined;
6693
+ dataSourceId?: string | undefined;
6694
+ universalDataSourceId?: string | undefined;
6695
+ }, {
6696
+ integrationId?: string | undefined;
6697
+ limit?: number | undefined;
6698
+ cursor?: string | undefined;
6699
+ userId?: string | undefined;
6700
+ connectionId?: string | undefined;
6701
+ integrationKey?: string | undefined;
6702
+ dataSourceId?: string | undefined;
6703
+ universalDataSourceId?: string | undefined;
6704
+ }>;
6705
+ type FindDataSourceInstancesQuery = z.infer<typeof FindDataSourceInstancesQuery>;
6706
+ type FindDataSourceInstancesResponse = PaginationResponse<DataSourceInstance>;
6707
+ declare const CreateDataSourceInstanceRequest: z.ZodObject<{
6708
+ dataSourceId: z.ZodString;
6709
+ connectionId: z.ZodString;
6710
+ path: z.ZodOptional<z.ZodString>;
6711
+ }, "strip", z.ZodTypeAny, {
6712
+ connectionId: string;
6713
+ dataSourceId: string;
6714
+ path?: string | undefined;
6715
+ }, {
6716
+ connectionId: string;
6717
+ dataSourceId: string;
6718
+ path?: string | undefined;
6719
+ }>;
6720
+ type CreateDataSourceInstanceRequest = z.infer<typeof CreateDataSourceInstanceRequest>;
6721
+ declare const UpdateDataSourceInstanceRequest: z.ZodObject<{
6722
+ path: z.ZodOptional<z.ZodString>;
6723
+ collectionKey: z.ZodOptional<z.ZodString>;
6724
+ collectionParameters: z.ZodOptional<z.ZodAny>;
6725
+ pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
6726
+ fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
6727
+ subscribedTo: z.ZodOptional<z.ZodObject<{
6728
+ created: z.ZodOptional<z.ZodBoolean>;
6729
+ updated: z.ZodOptional<z.ZodBoolean>;
6730
+ deleted: z.ZodOptional<z.ZodBoolean>;
6731
+ }, "strip", z.ZodTypeAny, {
6732
+ created?: boolean | undefined;
6733
+ updated?: boolean | undefined;
6734
+ deleted?: boolean | undefined;
6735
+ }, {
6736
+ created?: boolean | undefined;
6737
+ updated?: boolean | undefined;
6738
+ deleted?: boolean | undefined;
6739
+ }>>;
6740
+ }, "strip", z.ZodTypeAny, {
6741
+ path?: string | undefined;
6742
+ collectionKey?: string | undefined;
6743
+ collectionParameters?: any;
6744
+ pullUpdatesIntervalSeconds?: number | undefined;
6745
+ fullSyncIntervalSeconds?: number | undefined;
6746
+ subscribedTo?: {
6747
+ created?: boolean | undefined;
6748
+ updated?: boolean | undefined;
6749
+ deleted?: boolean | undefined;
6750
+ } | undefined;
6751
+ }, {
6752
+ path?: string | undefined;
6753
+ collectionKey?: string | undefined;
6754
+ collectionParameters?: any;
6755
+ pullUpdatesIntervalSeconds?: number | undefined;
6756
+ fullSyncIntervalSeconds?: number | undefined;
6757
+ subscribedTo?: {
6758
+ created?: boolean | undefined;
6759
+ updated?: boolean | undefined;
6760
+ deleted?: boolean | undefined;
6761
+ } | undefined;
6762
+ }>;
6763
+ type UpdateDataSourceInstanceRequest = z.infer<typeof UpdateDataSourceInstanceRequest>;
6764
+ declare const FindDataSourceEventsQuery: z.ZodObject<{
6765
+ userId: z.ZodOptional<z.ZodString>;
6766
+ udm: z.ZodOptional<z.ZodString>;
6767
+ dataSourceInstanceId: z.ZodOptional<z.ZodString>;
6768
+ startDatetime: z.ZodOptional<z.ZodString>;
6769
+ endDatetime: z.ZodOptional<z.ZodString>;
6770
+ } & {
6771
+ limit: z.ZodOptional<z.ZodNumber>;
6772
+ cursor: z.ZodOptional<z.ZodString>;
6773
+ }, "strip", z.ZodTypeAny, {
6774
+ limit?: number | undefined;
6775
+ cursor?: string | undefined;
6776
+ userId?: string | undefined;
6777
+ udm?: string | undefined;
6778
+ dataSourceInstanceId?: string | undefined;
6779
+ startDatetime?: string | undefined;
6780
+ endDatetime?: string | undefined;
6781
+ }, {
6782
+ limit?: number | undefined;
6783
+ cursor?: string | undefined;
6784
+ userId?: string | undefined;
6785
+ udm?: string | undefined;
6786
+ dataSourceInstanceId?: string | undefined;
6787
+ startDatetime?: string | undefined;
6788
+ endDatetime?: string | undefined;
6789
+ }>;
6790
+ type FindDataSourceEventsQuery = z.infer<typeof FindDataSourceEventsQuery>;
6791
+ declare const FindDataSourceSyncsQuery: z.ZodObject<{
6792
+ userId: z.ZodOptional<z.ZodString>;
6793
+ dataSourceId: z.ZodOptional<z.ZodString>;
6794
+ dataSourceInstanceId: z.ZodOptional<z.ZodString>;
6795
+ integrationId: z.ZodOptional<z.ZodString>;
6796
+ connectionId: z.ZodOptional<z.ZodString>;
6797
+ startedAfter: z.ZodOptional<z.ZodString>;
6798
+ } & {
6799
+ limit: z.ZodOptional<z.ZodNumber>;
6800
+ cursor: z.ZodOptional<z.ZodString>;
6801
+ }, "strip", z.ZodTypeAny, {
6802
+ integrationId?: string | undefined;
6803
+ limit?: number | undefined;
6804
+ cursor?: string | undefined;
6805
+ userId?: string | undefined;
6806
+ connectionId?: string | undefined;
6807
+ dataSourceId?: string | undefined;
6808
+ dataSourceInstanceId?: string | undefined;
6809
+ startedAfter?: string | undefined;
6810
+ }, {
6811
+ integrationId?: string | undefined;
6812
+ limit?: number | undefined;
6813
+ cursor?: string | undefined;
6814
+ userId?: string | undefined;
6815
+ connectionId?: string | undefined;
6816
+ dataSourceId?: string | undefined;
6817
+ dataSourceInstanceId?: string | undefined;
6818
+ startedAfter?: string | undefined;
6819
+ }>;
6820
+ type FindDataSourceSyncsQuery = z.infer<typeof FindDataSourceSyncsQuery>;
6821
+ declare const ListDataSourceInstancesForConnectionQuery: z.ZodObject<{
6822
+ dataSourceId: z.ZodOptional<z.ZodString>;
6823
+ } & {
6824
+ limit: z.ZodOptional<z.ZodNumber>;
6825
+ cursor: z.ZodOptional<z.ZodString>;
6826
+ }, "strip", z.ZodTypeAny, {
6827
+ limit?: number | undefined;
6828
+ cursor?: string | undefined;
6829
+ dataSourceId?: string | undefined;
6830
+ }, {
6831
+ limit?: number | undefined;
6832
+ cursor?: string | undefined;
6833
+ dataSourceId?: string | undefined;
6834
+ }>;
6835
+ type ListDataSourceInstancesForConnectionQuery = z.infer<typeof ListDataSourceInstancesForConnectionQuery>;
6836
+ declare const FindDataSourceInstanceSyncsQuery: z.ZodObject<{
6837
+ dataSourceId: z.ZodOptional<z.ZodString>;
6838
+ } & {
6839
+ limit: z.ZodOptional<z.ZodNumber>;
6840
+ cursor: z.ZodOptional<z.ZodString>;
6841
+ } & {
6842
+ userId: z.ZodOptional<z.ZodString>;
6843
+ connectionId: z.ZodOptional<z.ZodString>;
6844
+ integrationId: z.ZodOptional<z.ZodString>;
6845
+ dataSourceInstanceId: z.ZodOptional<z.ZodString>;
6846
+ }, "strip", z.ZodTypeAny, {
6847
+ integrationId?: string | undefined;
6848
+ limit?: number | undefined;
6849
+ cursor?: string | undefined;
6850
+ userId?: string | undefined;
6851
+ connectionId?: string | undefined;
6852
+ dataSourceId?: string | undefined;
6853
+ dataSourceInstanceId?: string | undefined;
6854
+ }, {
6855
+ integrationId?: string | undefined;
6856
+ limit?: number | undefined;
6857
+ cursor?: string | undefined;
6858
+ userId?: string | undefined;
6859
+ connectionId?: string | undefined;
6860
+ dataSourceId?: string | undefined;
6861
+ dataSourceInstanceId?: string | undefined;
6862
+ }>;
6863
+ type FindDataSourceInstanceSyncsQuery = z.infer<typeof FindDataSourceInstanceSyncsQuery>;
6864
+ type ListDataSourcesForIntegrationQuery = Omit<FindDataSourcesQuery, 'integrationId' | 'integrationKey'>;
6865
+
6866
+ declare function createSchema(value: any): any;
6867
+ declare function createCompoundSchema(values: any[]): any;
6868
+
6869
+ interface DataSchema {
6870
+ title?: string;
6871
+ description?: string;
6872
+ type?: string | string[];
6873
+ format?: string;
6874
+ properties?: {
6875
+ [key: string]: DataSchema;
6876
+ };
6877
+ items?: DataSchema;
6878
+ additionalProperties?: boolean | DataSchema;
6879
+ enum?: string[];
6880
+ referenceRecords?: any[];
6881
+ referenceCollection?: {
6882
+ key?: any;
6883
+ parameters?: Record<string, any>;
6884
+ };
6885
+ referenceUdm?: string;
6886
+ default?: any;
6887
+ allowCustom?: boolean;
6888
+ $ref?: string;
6889
+ required?: string[];
6890
+ minLength?: number;
6891
+ maxLength?: number;
6892
+ minimum?: number;
6893
+ maximum?: number;
6894
+ maxItems?: number;
6895
+ readOnly?: boolean;
6896
+ writeOnly?: boolean;
6897
+ examples?: any[];
6898
+ anyOf?: DataSchema[];
6899
+ isImplied?: boolean;
6900
+ isSensitive?: boolean;
6901
+ referenceCollectionPath?: string;
6902
+ referenceCollectionUri?: string;
6903
+ [key: string]: any;
6904
+ }
6905
+ declare const DataSchema: z.ZodType<DataSchema>;
6906
+
6907
+ interface PatchSchemaOption {
6908
+ readOnly?: boolean;
6909
+ writeOnly?: boolean;
6910
+ }
6911
+ declare function mergeSchemas(schemas: any[]): any;
6912
+ declare function patchSchema(source: DataSchema, patch: DataSchema, options?: PatchSchemaOption): any;
6913
+ declare function unwrapSchema(schema: any): any[];
6914
+ declare function unwrapSchemas(schemas: any[]): any[];
6915
+ declare function wrapAnyOfSchema(schema: any): any;
6841
6916
 
6842
6917
  interface ConnectorDataCollectionBase {
6843
6918
  type: 'collection' | 'directory';
@@ -9655,35 +9730,86 @@ declare class ConnectionLevelDataSourcesAccessor extends ConnectionLevelElements
9655
9730
  constructor(client: MembraneApiClient, connectionSelector: string);
9656
9731
  }
9657
9732
 
9733
+ declare function mergeWithFormulas(a: any, b: any): any;
9734
+ declare function isObject(value: any): boolean;
9735
+
9658
9736
  declare enum FieldMappingDirection {
9659
9737
  IMPORT = "import",
9660
9738
  EXPORT = "export",
9661
9739
  BOTH = "both"
9662
9740
  }
9663
- declare const BaseFieldMapping: z.ZodObject<{
9664
- id: z.ZodString;
9741
+ declare const FieldMappingEditableProperties: z.ZodObject<Omit<{
9665
9742
  key: z.ZodOptional<z.ZodString>;
9743
+ name: z.ZodOptional<z.ZodString>;
9666
9744
  uuid: z.ZodOptional<z.ZodString>;
9667
9745
  description: z.ZodOptional<z.ZodString>;
9668
9746
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
9747
+ } & {
9669
9748
  integrationId: z.ZodOptional<z.ZodString>;
9670
9749
  parentId: z.ZodOptional<z.ZodString>;
9671
- } & {
9672
- name: z.ZodString;
9673
- state: z.ZodOptional<z.ZodNativeEnum<typeof WorkspaceElementState>>;
9674
- errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>, "many">>;
9675
- revision: z.ZodOptional<z.ZodString>;
9676
- createdAt: z.ZodOptional<z.ZodString>;
9677
- updatedAt: z.ZodOptional<z.ZodString>;
9678
- archivedAt: z.ZodOptional<z.ZodString>;
9679
- isDeactivated: z.ZodOptional<z.ZodBoolean>;
9680
- isCustomized: z.ZodOptional<z.ZodBoolean>;
9681
- } & {
9682
- publishedRevision: z.ZodOptional<z.ZodString>;
9750
+ }, "parentId"> & {
9683
9751
  universalFieldMappingId: z.ZodOptional<z.ZodString>;
9684
- universalFieldMappingRevision: z.ZodOptional<z.ZodString>;
9752
+ dataSourceKey: z.ZodOptional<z.ZodString>;
9685
9753
  dataSourceId: z.ZodOptional<z.ZodString>;
9754
+ appSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
9755
+ direction: z.ZodOptional<z.ZodNativeEnum<typeof FieldMappingDirection>>;
9756
+ defaultImportValue: z.ZodOptional<z.ZodAny>;
9757
+ defaultExportValue: z.ZodOptional<z.ZodAny>;
9758
+ importValue: z.ZodOptional<z.ZodAny>;
9759
+ exportValue: z.ZodOptional<z.ZodAny>;
9760
+ frozenImportFields: z.ZodOptional<z.ZodAny>;
9761
+ frozenExportFields: z.ZodOptional<z.ZodAny>;
9762
+ frozenUnifiedExportFields: z.ZodOptional<z.ZodAny>;
9763
+ }, "strip", z.ZodTypeAny, {
9764
+ key?: string | undefined;
9765
+ name?: string | undefined;
9766
+ uuid?: string | undefined;
9767
+ description?: string | undefined;
9768
+ meta?: Record<string, any> | undefined;
9769
+ integrationId?: string | undefined;
9770
+ universalFieldMappingId?: string | undefined;
9771
+ dataSourceKey?: string | undefined;
9772
+ dataSourceId?: string | undefined;
9773
+ appSchema?: DataSchema | undefined;
9774
+ direction?: FieldMappingDirection | undefined;
9775
+ defaultImportValue?: any;
9776
+ defaultExportValue?: any;
9777
+ importValue?: any;
9778
+ exportValue?: any;
9779
+ frozenImportFields?: any;
9780
+ frozenExportFields?: any;
9781
+ frozenUnifiedExportFields?: any;
9782
+ }, {
9783
+ key?: string | undefined;
9784
+ name?: string | undefined;
9785
+ uuid?: string | undefined;
9786
+ description?: string | undefined;
9787
+ meta?: Record<string, any> | undefined;
9788
+ integrationId?: string | undefined;
9789
+ universalFieldMappingId?: string | undefined;
9790
+ dataSourceKey?: string | undefined;
9791
+ dataSourceId?: string | undefined;
9792
+ appSchema?: DataSchema | undefined;
9793
+ direction?: FieldMappingDirection | undefined;
9794
+ defaultImportValue?: any;
9795
+ defaultExportValue?: any;
9796
+ importValue?: any;
9797
+ exportValue?: any;
9798
+ frozenImportFields?: any;
9799
+ frozenExportFields?: any;
9800
+ frozenUnifiedExportFields?: any;
9801
+ }>;
9802
+ type FieldMappingEditableProperties = z.infer<typeof FieldMappingEditableProperties>;
9803
+ declare const BaseFieldMapping: z.ZodObject<{
9804
+ id: z.ZodString;
9805
+ key: z.ZodOptional<z.ZodString>;
9806
+ uuid: z.ZodOptional<z.ZodString>;
9807
+ description: z.ZodOptional<z.ZodString>;
9808
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
9809
+ integrationId: z.ZodOptional<z.ZodString>;
9810
+ universalFieldMappingId: z.ZodOptional<z.ZodString>;
9686
9811
  dataSourceKey: z.ZodOptional<z.ZodString>;
9812
+ dataSourceId: z.ZodOptional<z.ZodString>;
9687
9813
  appSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
9688
9814
  direction: z.ZodOptional<z.ZodNativeEnum<typeof FieldMappingDirection>>;
9689
9815
  defaultImportValue: z.ZodOptional<z.ZodAny>;
@@ -9693,6 +9819,17 @@ declare const BaseFieldMapping: z.ZodObject<{
9693
9819
  frozenImportFields: z.ZodOptional<z.ZodAny>;
9694
9820
  frozenExportFields: z.ZodOptional<z.ZodAny>;
9695
9821
  frozenUnifiedExportFields: z.ZodOptional<z.ZodAny>;
9822
+ } & {
9823
+ name: z.ZodString;
9824
+ state: z.ZodOptional<z.ZodNativeEnum<typeof WorkspaceElementState>>;
9825
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>, "many">>;
9826
+ revision: z.ZodOptional<z.ZodString>;
9827
+ createdAt: z.ZodOptional<z.ZodString>;
9828
+ updatedAt: z.ZodOptional<z.ZodString>;
9829
+ archivedAt: z.ZodOptional<z.ZodString>;
9830
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
9831
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
9832
+ universalFieldMappingRevision: z.ZodOptional<z.ZodString>;
9696
9833
  }, "strip", z.ZodTypeAny, {
9697
9834
  id: string;
9698
9835
  name: string;
@@ -9708,13 +9845,10 @@ declare const BaseFieldMapping: z.ZodObject<{
9708
9845
  archivedAt?: string | undefined;
9709
9846
  isDeactivated?: boolean | undefined;
9710
9847
  integrationId?: string | undefined;
9711
- parentId?: string | undefined;
9712
9848
  isCustomized?: boolean | undefined;
9713
- publishedRevision?: string | undefined;
9714
9849
  universalFieldMappingId?: string | undefined;
9715
- universalFieldMappingRevision?: string | undefined;
9716
- dataSourceId?: string | undefined;
9717
9850
  dataSourceKey?: string | undefined;
9851
+ dataSourceId?: string | undefined;
9718
9852
  appSchema?: DataSchema | undefined;
9719
9853
  direction?: FieldMappingDirection | undefined;
9720
9854
  defaultImportValue?: any;
@@ -9724,6 +9858,7 @@ declare const BaseFieldMapping: z.ZodObject<{
9724
9858
  frozenImportFields?: any;
9725
9859
  frozenExportFields?: any;
9726
9860
  frozenUnifiedExportFields?: any;
9861
+ universalFieldMappingRevision?: string | undefined;
9727
9862
  }, {
9728
9863
  id: string;
9729
9864
  name: string;
@@ -9739,13 +9874,10 @@ declare const BaseFieldMapping: z.ZodObject<{
9739
9874
  archivedAt?: string | undefined;
9740
9875
  isDeactivated?: boolean | undefined;
9741
9876
  integrationId?: string | undefined;
9742
- parentId?: string | undefined;
9743
9877
  isCustomized?: boolean | undefined;
9744
- publishedRevision?: string | undefined;
9745
9878
  universalFieldMappingId?: string | undefined;
9746
- universalFieldMappingRevision?: string | undefined;
9747
- dataSourceId?: string | undefined;
9748
9879
  dataSourceKey?: string | undefined;
9880
+ dataSourceId?: string | undefined;
9749
9881
  appSchema?: DataSchema | undefined;
9750
9882
  direction?: FieldMappingDirection | undefined;
9751
9883
  defaultImportValue?: any;
@@ -9755,6 +9887,7 @@ declare const BaseFieldMapping: z.ZodObject<{
9755
9887
  frozenImportFields?: any;
9756
9888
  frozenExportFields?: any;
9757
9889
  frozenUnifiedExportFields?: any;
9890
+ universalFieldMappingRevision?: string | undefined;
9758
9891
  }>;
9759
9892
  type BaseFieldMapping = z.infer<typeof BaseFieldMapping>;
9760
9893
  declare const FieldMappingUnitConfig: z.ZodObject<{
@@ -9790,9 +9923,6 @@ declare const FieldMappingUnitConfig: z.ZodObject<{
9790
9923
  }>;
9791
9924
  type FieldMappingUnitConfig = z.infer<typeof FieldMappingUnitConfig>;
9792
9925
 
9793
- declare function mergeWithFormulas(a: any, b: any): any;
9794
- declare function isObject(value: any): boolean;
9795
-
9796
9926
  type ListFieldMappingInstancesForConnectionQuery = CommonInstancesListQuery & {
9797
9927
  fieldMappingId?: string;
9798
9928
  universalFieldMappingId?: string;
@@ -10049,23 +10179,9 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
10049
10179
  description: z.ZodOptional<z.ZodString>;
10050
10180
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
10051
10181
  integrationId: z.ZodOptional<z.ZodString>;
10052
- parentId: z.ZodOptional<z.ZodString>;
10053
- } & {
10054
- name: z.ZodString;
10055
- state: z.ZodOptional<z.ZodNativeEnum<typeof WorkspaceElementState>>;
10056
- errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>, "many">>;
10057
- revision: z.ZodOptional<z.ZodString>;
10058
- createdAt: z.ZodOptional<z.ZodString>;
10059
- updatedAt: z.ZodOptional<z.ZodString>;
10060
- archivedAt: z.ZodOptional<z.ZodString>;
10061
- isDeactivated: z.ZodOptional<z.ZodBoolean>;
10062
- isCustomized: z.ZodOptional<z.ZodBoolean>;
10063
- } & {
10064
- publishedRevision: z.ZodOptional<z.ZodString>;
10065
10182
  universalFieldMappingId: z.ZodOptional<z.ZodString>;
10066
- universalFieldMappingRevision: z.ZodOptional<z.ZodString>;
10067
- dataSourceId: z.ZodOptional<z.ZodString>;
10068
10183
  dataSourceKey: z.ZodOptional<z.ZodString>;
10184
+ dataSourceId: z.ZodOptional<z.ZodString>;
10069
10185
  appSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
10070
10186
  direction: z.ZodOptional<z.ZodNativeEnum<typeof FieldMappingDirection>>;
10071
10187
  defaultImportValue: z.ZodOptional<z.ZodAny>;
@@ -10075,6 +10191,17 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
10075
10191
  frozenImportFields: z.ZodOptional<z.ZodAny>;
10076
10192
  frozenExportFields: z.ZodOptional<z.ZodAny>;
10077
10193
  frozenUnifiedExportFields: z.ZodOptional<z.ZodAny>;
10194
+ } & {
10195
+ name: z.ZodString;
10196
+ state: z.ZodOptional<z.ZodNativeEnum<typeof WorkspaceElementState>>;
10197
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>, "many">>;
10198
+ revision: z.ZodOptional<z.ZodString>;
10199
+ createdAt: z.ZodOptional<z.ZodString>;
10200
+ updatedAt: z.ZodOptional<z.ZodString>;
10201
+ archivedAt: z.ZodOptional<z.ZodString>;
10202
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
10203
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
10204
+ universalFieldMappingRevision: z.ZodOptional<z.ZodString>;
10078
10205
  }, "strip", z.ZodTypeAny, {
10079
10206
  id: string;
10080
10207
  name: string;
@@ -10090,13 +10217,10 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
10090
10217
  archivedAt?: string | undefined;
10091
10218
  isDeactivated?: boolean | undefined;
10092
10219
  integrationId?: string | undefined;
10093
- parentId?: string | undefined;
10094
10220
  isCustomized?: boolean | undefined;
10095
- publishedRevision?: string | undefined;
10096
10221
  universalFieldMappingId?: string | undefined;
10097
- universalFieldMappingRevision?: string | undefined;
10098
- dataSourceId?: string | undefined;
10099
10222
  dataSourceKey?: string | undefined;
10223
+ dataSourceId?: string | undefined;
10100
10224
  appSchema?: DataSchema | undefined;
10101
10225
  direction?: FieldMappingDirection | undefined;
10102
10226
  defaultImportValue?: any;
@@ -10106,6 +10230,7 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
10106
10230
  frozenImportFields?: any;
10107
10231
  frozenExportFields?: any;
10108
10232
  frozenUnifiedExportFields?: any;
10233
+ universalFieldMappingRevision?: string | undefined;
10109
10234
  }, {
10110
10235
  id: string;
10111
10236
  name: string;
@@ -10121,13 +10246,10 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
10121
10246
  archivedAt?: string | undefined;
10122
10247
  isDeactivated?: boolean | undefined;
10123
10248
  integrationId?: string | undefined;
10124
- parentId?: string | undefined;
10125
10249
  isCustomized?: boolean | undefined;
10126
- publishedRevision?: string | undefined;
10127
10250
  universalFieldMappingId?: string | undefined;
10128
- universalFieldMappingRevision?: string | undefined;
10129
- dataSourceId?: string | undefined;
10130
10251
  dataSourceKey?: string | undefined;
10252
+ dataSourceId?: string | undefined;
10131
10253
  appSchema?: DataSchema | undefined;
10132
10254
  direction?: FieldMappingDirection | undefined;
10133
10255
  defaultImportValue?: any;
@@ -10137,6 +10259,7 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
10137
10259
  frozenImportFields?: any;
10138
10260
  frozenExportFields?: any;
10139
10261
  frozenUnifiedExportFields?: any;
10262
+ universalFieldMappingRevision?: string | undefined;
10140
10263
  }>>;
10141
10264
  dataSourceInstance: z.ZodOptional<z.ZodObject<{
10142
10265
  id: z.ZodString;
@@ -10905,7 +11028,13 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
10905
11028
  description: z.ZodOptional<z.ZodString>;
10906
11029
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
10907
11030
  integrationId: z.ZodOptional<z.ZodString>;
10908
- parentId: z.ZodOptional<z.ZodString>;
11031
+ universalDataSourceId: z.ZodOptional<z.ZodString>;
11032
+ udm: z.ZodOptional<z.ZodString>;
11033
+ pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
11034
+ fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
11035
+ collectionKey: z.ZodOptional<z.ZodString>;
11036
+ collectionParameters: z.ZodOptional<z.ZodAny>;
11037
+ defaultPath: z.ZodOptional<z.ZodString>;
10909
11038
  } & {
10910
11039
  name: z.ZodString;
10911
11040
  state: z.ZodOptional<z.ZodNativeEnum<typeof WorkspaceElementState>>;
@@ -10915,17 +11044,8 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
10915
11044
  updatedAt: z.ZodOptional<z.ZodString>;
10916
11045
  archivedAt: z.ZodOptional<z.ZodString>;
10917
11046
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
10918
- isCustomized: z.ZodOptional<z.ZodBoolean>;
10919
- } & {
10920
- publishedRevision: z.ZodOptional<z.ZodString>;
10921
- universalDataSourceId: z.ZodOptional<z.ZodString>;
11047
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
10922
11048
  universalDataSourceRevision: z.ZodOptional<z.ZodString>;
10923
- udm: z.ZodOptional<z.ZodString>;
10924
- pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
10925
- fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
10926
- collectionKey: z.ZodOptional<z.ZodString>;
10927
- collectionParameters: z.ZodOptional<z.ZodAny>;
10928
- defaultPath: z.ZodOptional<z.ZodString>;
10929
11049
  }, "strip", z.ZodTypeAny, {
10930
11050
  id: string;
10931
11051
  name: string;
@@ -10941,9 +11061,7 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
10941
11061
  archivedAt?: string | undefined;
10942
11062
  isDeactivated?: boolean | undefined;
10943
11063
  integrationId?: string | undefined;
10944
- parentId?: string | undefined;
10945
11064
  isCustomized?: boolean | undefined;
10946
- publishedRevision?: string | undefined;
10947
11065
  udm?: string | undefined;
10948
11066
  universalDataSourceId?: string | undefined;
10949
11067
  collectionKey?: string | undefined;
@@ -10967,9 +11085,7 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
10967
11085
  archivedAt?: string | undefined;
10968
11086
  isDeactivated?: boolean | undefined;
10969
11087
  integrationId?: string | undefined;
10970
- parentId?: string | undefined;
10971
11088
  isCustomized?: boolean | undefined;
10972
- publishedRevision?: string | undefined;
10973
11089
  udm?: string | undefined;
10974
11090
  universalDataSourceId?: string | undefined;
10975
11091
  collectionKey?: string | undefined;
@@ -11205,7 +11321,6 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
11205
11321
  isDeactivated?: boolean | undefined;
11206
11322
  isCustomized?: boolean | undefined;
11207
11323
  instanceKey?: string | undefined;
11208
- dataSourceId?: string | undefined;
11209
11324
  udm?: string | undefined;
11210
11325
  collectionSpec?: {
11211
11326
  type: "collection";
@@ -11355,6 +11470,7 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
11355
11470
  lastActiveAt?: string | undefined;
11356
11471
  isBillable?: boolean | undefined;
11357
11472
  } | undefined;
11473
+ dataSourceId?: string | undefined;
11358
11474
  dataSourceRevision?: string | undefined;
11359
11475
  universalDataSourceId?: string | undefined;
11360
11476
  collectionKey?: string | undefined;
@@ -11379,9 +11495,7 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
11379
11495
  archivedAt?: string | undefined;
11380
11496
  isDeactivated?: boolean | undefined;
11381
11497
  integrationId?: string | undefined;
11382
- parentId?: string | undefined;
11383
11498
  isCustomized?: boolean | undefined;
11384
- publishedRevision?: string | undefined;
11385
11499
  udm?: string | undefined;
11386
11500
  universalDataSourceId?: string | undefined;
11387
11501
  collectionKey?: string | undefined;
@@ -11463,7 +11577,6 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
11463
11577
  isDeactivated?: boolean | undefined;
11464
11578
  isCustomized?: boolean | undefined;
11465
11579
  instanceKey?: string | undefined;
11466
- dataSourceId?: string | undefined;
11467
11580
  udm?: string | undefined;
11468
11581
  collectionSpec?: {
11469
11582
  type: "collection";
@@ -11613,6 +11726,7 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
11613
11726
  lastActiveAt?: string | undefined;
11614
11727
  isBillable?: boolean | undefined;
11615
11728
  } | undefined;
11729
+ dataSourceId?: string | undefined;
11616
11730
  dataSourceRevision?: string | undefined;
11617
11731
  universalDataSourceId?: string | undefined;
11618
11732
  collectionKey?: string | undefined;
@@ -11637,9 +11751,7 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
11637
11751
  archivedAt?: string | undefined;
11638
11752
  isDeactivated?: boolean | undefined;
11639
11753
  integrationId?: string | undefined;
11640
- parentId?: string | undefined;
11641
11754
  isCustomized?: boolean | undefined;
11642
- publishedRevision?: string | undefined;
11643
11755
  udm?: string | undefined;
11644
11756
  universalDataSourceId?: string | undefined;
11645
11757
  collectionKey?: string | undefined;
@@ -11722,12 +11834,6 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
11722
11834
  isDeactivated?: boolean | undefined;
11723
11835
  isCustomized?: boolean | undefined;
11724
11836
  instanceKey?: string | undefined;
11725
- appSchema?: DataSchema | undefined;
11726
- direction?: FieldMappingDirection | undefined;
11727
- importValue?: any;
11728
- exportValue?: any;
11729
- frozenImportFields?: string[] | undefined;
11730
- frozenExportFields?: string[] | undefined;
11731
11837
  user?: {
11732
11838
  id: string;
11733
11839
  name: string;
@@ -11741,6 +11847,12 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
11741
11847
  lastActiveAt?: string | undefined;
11742
11848
  isBillable?: boolean | undefined;
11743
11849
  } | undefined;
11850
+ appSchema?: DataSchema | undefined;
11851
+ direction?: FieldMappingDirection | undefined;
11852
+ importValue?: any;
11853
+ exportValue?: any;
11854
+ frozenImportFields?: string[] | undefined;
11855
+ frozenExportFields?: string[] | undefined;
11744
11856
  dataSourceInstanceId?: string | undefined;
11745
11857
  fieldMappingRevision?: string | undefined;
11746
11858
  fieldMappingId?: string | undefined;
@@ -11763,13 +11875,10 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
11763
11875
  archivedAt?: string | undefined;
11764
11876
  isDeactivated?: boolean | undefined;
11765
11877
  integrationId?: string | undefined;
11766
- parentId?: string | undefined;
11767
11878
  isCustomized?: boolean | undefined;
11768
- publishedRevision?: string | undefined;
11769
11879
  universalFieldMappingId?: string | undefined;
11770
- universalFieldMappingRevision?: string | undefined;
11771
- dataSourceId?: string | undefined;
11772
11880
  dataSourceKey?: string | undefined;
11881
+ dataSourceId?: string | undefined;
11773
11882
  appSchema?: DataSchema | undefined;
11774
11883
  direction?: FieldMappingDirection | undefined;
11775
11884
  defaultImportValue?: any;
@@ -11779,6 +11888,7 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
11779
11888
  frozenImportFields?: any;
11780
11889
  frozenExportFields?: any;
11781
11890
  frozenUnifiedExportFields?: any;
11891
+ universalFieldMappingRevision?: string | undefined;
11782
11892
  } | undefined;
11783
11893
  dataSourceInstance?: {
11784
11894
  id: string;
@@ -11852,7 +11962,6 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
11852
11962
  isDeactivated?: boolean | undefined;
11853
11963
  isCustomized?: boolean | undefined;
11854
11964
  instanceKey?: string | undefined;
11855
- dataSourceId?: string | undefined;
11856
11965
  udm?: string | undefined;
11857
11966
  collectionSpec?: {
11858
11967
  type: "collection";
@@ -12002,6 +12111,7 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
12002
12111
  lastActiveAt?: string | undefined;
12003
12112
  isBillable?: boolean | undefined;
12004
12113
  } | undefined;
12114
+ dataSourceId?: string | undefined;
12005
12115
  dataSourceRevision?: string | undefined;
12006
12116
  universalDataSourceId?: string | undefined;
12007
12117
  collectionKey?: string | undefined;
@@ -12026,9 +12136,7 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
12026
12136
  archivedAt?: string | undefined;
12027
12137
  isDeactivated?: boolean | undefined;
12028
12138
  integrationId?: string | undefined;
12029
- parentId?: string | undefined;
12030
12139
  isCustomized?: boolean | undefined;
12031
- publishedRevision?: string | undefined;
12032
12140
  udm?: string | undefined;
12033
12141
  universalDataSourceId?: string | undefined;
12034
12142
  collectionKey?: string | undefined;
@@ -12111,12 +12219,6 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
12111
12219
  isDeactivated?: boolean | undefined;
12112
12220
  isCustomized?: boolean | undefined;
12113
12221
  instanceKey?: string | undefined;
12114
- appSchema?: DataSchema | undefined;
12115
- direction?: FieldMappingDirection | undefined;
12116
- importValue?: any;
12117
- exportValue?: any;
12118
- frozenImportFields?: string[] | undefined;
12119
- frozenExportFields?: string[] | undefined;
12120
12222
  user?: {
12121
12223
  id: string;
12122
12224
  name: string;
@@ -12130,6 +12232,12 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
12130
12232
  lastActiveAt?: string | undefined;
12131
12233
  isBillable?: boolean | undefined;
12132
12234
  } | undefined;
12235
+ appSchema?: DataSchema | undefined;
12236
+ direction?: FieldMappingDirection | undefined;
12237
+ importValue?: any;
12238
+ exportValue?: any;
12239
+ frozenImportFields?: string[] | undefined;
12240
+ frozenExportFields?: string[] | undefined;
12133
12241
  dataSourceInstanceId?: string | undefined;
12134
12242
  fieldMappingRevision?: string | undefined;
12135
12243
  fieldMappingId?: string | undefined;
@@ -12152,13 +12260,10 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
12152
12260
  archivedAt?: string | undefined;
12153
12261
  isDeactivated?: boolean | undefined;
12154
12262
  integrationId?: string | undefined;
12155
- parentId?: string | undefined;
12156
12263
  isCustomized?: boolean | undefined;
12157
- publishedRevision?: string | undefined;
12158
12264
  universalFieldMappingId?: string | undefined;
12159
- universalFieldMappingRevision?: string | undefined;
12160
- dataSourceId?: string | undefined;
12161
12265
  dataSourceKey?: string | undefined;
12266
+ dataSourceId?: string | undefined;
12162
12267
  appSchema?: DataSchema | undefined;
12163
12268
  direction?: FieldMappingDirection | undefined;
12164
12269
  defaultImportValue?: any;
@@ -12168,6 +12273,7 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
12168
12273
  frozenImportFields?: any;
12169
12274
  frozenExportFields?: any;
12170
12275
  frozenUnifiedExportFields?: any;
12276
+ universalFieldMappingRevision?: string | undefined;
12171
12277
  } | undefined;
12172
12278
  dataSourceInstance?: {
12173
12279
  id: string;
@@ -12241,7 +12347,6 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
12241
12347
  isDeactivated?: boolean | undefined;
12242
12348
  isCustomized?: boolean | undefined;
12243
12349
  instanceKey?: string | undefined;
12244
- dataSourceId?: string | undefined;
12245
12350
  udm?: string | undefined;
12246
12351
  collectionSpec?: {
12247
12352
  type: "collection";
@@ -12391,6 +12496,7 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
12391
12496
  lastActiveAt?: string | undefined;
12392
12497
  isBillable?: boolean | undefined;
12393
12498
  } | undefined;
12499
+ dataSourceId?: string | undefined;
12394
12500
  dataSourceRevision?: string | undefined;
12395
12501
  universalDataSourceId?: string | undefined;
12396
12502
  collectionKey?: string | undefined;
@@ -12415,9 +12521,7 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
12415
12521
  archivedAt?: string | undefined;
12416
12522
  isDeactivated?: boolean | undefined;
12417
12523
  integrationId?: string | undefined;
12418
- parentId?: string | undefined;
12419
12524
  isCustomized?: boolean | undefined;
12420
- publishedRevision?: string | undefined;
12421
12525
  udm?: string | undefined;
12422
12526
  universalDataSourceId?: string | undefined;
12423
12527
  collectionKey?: string | undefined;
@@ -12557,8 +12661,8 @@ declare const BaseFlowRun: z.ZodObject<{
12557
12661
  errors?: ErrorDataSchema[] | undefined;
12558
12662
  integrationId?: string | undefined;
12559
12663
  connectionId?: string | undefined;
12560
- input?: any;
12561
12664
  endTime?: string | undefined;
12665
+ input?: any;
12562
12666
  universalFlowId?: string | undefined;
12563
12667
  nodes?: Record<string, {
12564
12668
  state: FlowRunNodeState;
@@ -12581,8 +12685,8 @@ declare const BaseFlowRun: z.ZodObject<{
12581
12685
  errors?: ErrorDataSchema[] | undefined;
12582
12686
  integrationId?: string | undefined;
12583
12687
  connectionId?: string | undefined;
12584
- input?: any;
12585
12688
  endTime?: string | undefined;
12689
+ input?: any;
12586
12690
  universalFlowId?: string | undefined;
12587
12691
  nodes?: Record<string, {
12588
12692
  state: FlowRunNodeState;
@@ -13427,7 +13531,6 @@ declare const FlowRunApiResponse: z.ZodObject<{
13427
13531
  errors?: ErrorDataSchema[] | undefined;
13428
13532
  integrationId?: string | undefined;
13429
13533
  connectionId?: string | undefined;
13430
- input?: any;
13431
13534
  endTime?: string | undefined;
13432
13535
  user?: {
13433
13536
  id: string;
@@ -13442,6 +13545,7 @@ declare const FlowRunApiResponse: z.ZodObject<{
13442
13545
  lastActiveAt?: string | undefined;
13443
13546
  isBillable?: boolean | undefined;
13444
13547
  } | undefined;
13548
+ input?: any;
13445
13549
  universalFlowId?: string | undefined;
13446
13550
  nodes?: Record<string, {
13447
13551
  state: FlowRunNodeState;
@@ -13546,7 +13650,6 @@ declare const FlowRunApiResponse: z.ZodObject<{
13546
13650
  errors?: ErrorDataSchema[] | undefined;
13547
13651
  integrationId?: string | undefined;
13548
13652
  connectionId?: string | undefined;
13549
- input?: any;
13550
13653
  endTime?: string | undefined;
13551
13654
  user?: {
13552
13655
  id: string;
@@ -13561,6 +13664,7 @@ declare const FlowRunApiResponse: z.ZodObject<{
13561
13664
  lastActiveAt?: string | undefined;
13562
13665
  isBillable?: boolean | undefined;
13563
13666
  } | undefined;
13667
+ input?: any;
13564
13668
  universalFlowId?: string | undefined;
13565
13669
  nodes?: Record<string, {
13566
13670
  state: FlowRunNodeState;
@@ -13995,7 +14099,6 @@ declare const FindFlowRunsResponse: z.ZodObject<{
13995
14099
  errors?: ErrorDataSchema[] | undefined;
13996
14100
  integrationId?: string | undefined;
13997
14101
  connectionId?: string | undefined;
13998
- input?: any;
13999
14102
  endTime?: string | undefined;
14000
14103
  user?: {
14001
14104
  id: string;
@@ -14010,6 +14113,7 @@ declare const FindFlowRunsResponse: z.ZodObject<{
14010
14113
  lastActiveAt?: string | undefined;
14011
14114
  isBillable?: boolean | undefined;
14012
14115
  } | undefined;
14116
+ input?: any;
14013
14117
  universalFlowId?: string | undefined;
14014
14118
  nodes?: Record<string, {
14015
14119
  state: FlowRunNodeState;
@@ -14114,7 +14218,6 @@ declare const FindFlowRunsResponse: z.ZodObject<{
14114
14218
  errors?: ErrorDataSchema[] | undefined;
14115
14219
  integrationId?: string | undefined;
14116
14220
  connectionId?: string | undefined;
14117
- input?: any;
14118
14221
  endTime?: string | undefined;
14119
14222
  user?: {
14120
14223
  id: string;
@@ -14129,6 +14232,7 @@ declare const FindFlowRunsResponse: z.ZodObject<{
14129
14232
  lastActiveAt?: string | undefined;
14130
14233
  isBillable?: boolean | undefined;
14131
14234
  } | undefined;
14235
+ input?: any;
14132
14236
  universalFlowId?: string | undefined;
14133
14237
  nodes?: Record<string, {
14134
14238
  state: FlowRunNodeState;
@@ -14236,7 +14340,6 @@ declare const FindFlowRunsResponse: z.ZodObject<{
14236
14340
  errors?: ErrorDataSchema[] | undefined;
14237
14341
  integrationId?: string | undefined;
14238
14342
  connectionId?: string | undefined;
14239
- input?: any;
14240
14343
  endTime?: string | undefined;
14241
14344
  user?: {
14242
14345
  id: string;
@@ -14251,6 +14354,7 @@ declare const FindFlowRunsResponse: z.ZodObject<{
14251
14354
  lastActiveAt?: string | undefined;
14252
14355
  isBillable?: boolean | undefined;
14253
14356
  } | undefined;
14357
+ input?: any;
14254
14358
  universalFlowId?: string | undefined;
14255
14359
  nodes?: Record<string, {
14256
14360
  state: FlowRunNodeState;
@@ -14358,7 +14462,6 @@ declare const FindFlowRunsResponse: z.ZodObject<{
14358
14462
  errors?: ErrorDataSchema[] | undefined;
14359
14463
  integrationId?: string | undefined;
14360
14464
  connectionId?: string | undefined;
14361
- input?: any;
14362
14465
  endTime?: string | undefined;
14363
14466
  user?: {
14364
14467
  id: string;
@@ -14373,6 +14476,7 @@ declare const FindFlowRunsResponse: z.ZodObject<{
14373
14476
  lastActiveAt?: string | undefined;
14374
14477
  isBillable?: boolean | undefined;
14375
14478
  } | undefined;
14479
+ input?: any;
14376
14480
  universalFlowId?: string | undefined;
14377
14481
  nodes?: Record<string, {
14378
14482
  state: FlowRunNodeState;
@@ -14904,35 +15008,6 @@ declare class FlowRunAccessor {
14904
15008
  } & OpenFlowRunEditorOptions): Promise<void>;
14905
15009
  }
14906
15010
 
14907
- interface ListFieldMappingsForIntegrationQuery extends CommonListElementsQuery {
14908
- universalFieldMappingId?: string | 'null';
14909
- }
14910
- interface FindFieldMappingsQuery extends ListFieldMappingsForIntegrationQuery {
14911
- integrationId?: string | 'null';
14912
- }
14913
- interface UpdateFieldMappingRequest {
14914
- key?: string;
14915
- name?: string;
14916
- dataSourceKey?: string;
14917
- dataSourceId?: string;
14918
- appSchema?: DataSchema;
14919
- direction?: FieldMappingDirection;
14920
- defaultImportValue?: any;
14921
- exportValue?: any;
14922
- importValue?: any;
14923
- defaultExportValue?: any;
14924
- frozenImportFields?: any;
14925
- frozenExportFields?: any;
14926
- frozenUnifiedExportFields?: any;
14927
- archivedAt?: string;
14928
- }
14929
- interface CreateFieldMappingRequest extends UpdateFieldMappingRequest {
14930
- key: string;
14931
- name: string;
14932
- integrationId?: string;
14933
- }
14934
- interface FieldMappingSelector extends IntegrationSpecificElementSelector {
14935
- }
14936
15011
  declare const FieldMappingApiResponse: z.ZodObject<{
14937
15012
  id: z.ZodString;
14938
15013
  key: z.ZodOptional<z.ZodString>;
@@ -14940,23 +15015,9 @@ declare const FieldMappingApiResponse: z.ZodObject<{
14940
15015
  description: z.ZodOptional<z.ZodString>;
14941
15016
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
14942
15017
  integrationId: z.ZodOptional<z.ZodString>;
14943
- parentId: z.ZodOptional<z.ZodString>;
14944
- } & {
14945
- name: z.ZodString;
14946
- state: z.ZodOptional<z.ZodNativeEnum<typeof WorkspaceElementState>>;
14947
- errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>, "many">>;
14948
- revision: z.ZodOptional<z.ZodString>;
14949
- createdAt: z.ZodOptional<z.ZodString>;
14950
- updatedAt: z.ZodOptional<z.ZodString>;
14951
- archivedAt: z.ZodOptional<z.ZodString>;
14952
- isDeactivated: z.ZodOptional<z.ZodBoolean>;
14953
- isCustomized: z.ZodOptional<z.ZodBoolean>;
14954
- } & {
14955
- publishedRevision: z.ZodOptional<z.ZodString>;
14956
15018
  universalFieldMappingId: z.ZodOptional<z.ZodString>;
14957
- universalFieldMappingRevision: z.ZodOptional<z.ZodString>;
14958
- dataSourceId: z.ZodOptional<z.ZodString>;
14959
15019
  dataSourceKey: z.ZodOptional<z.ZodString>;
15020
+ dataSourceId: z.ZodOptional<z.ZodString>;
14960
15021
  appSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
14961
15022
  direction: z.ZodOptional<z.ZodNativeEnum<typeof FieldMappingDirection>>;
14962
15023
  defaultImportValue: z.ZodOptional<z.ZodAny>;
@@ -14966,6 +15027,17 @@ declare const FieldMappingApiResponse: z.ZodObject<{
14966
15027
  frozenImportFields: z.ZodOptional<z.ZodAny>;
14967
15028
  frozenExportFields: z.ZodOptional<z.ZodAny>;
14968
15029
  frozenUnifiedExportFields: z.ZodOptional<z.ZodAny>;
15030
+ } & {
15031
+ name: z.ZodString;
15032
+ state: z.ZodOptional<z.ZodNativeEnum<typeof WorkspaceElementState>>;
15033
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>, "many">>;
15034
+ revision: z.ZodOptional<z.ZodString>;
15035
+ createdAt: z.ZodOptional<z.ZodString>;
15036
+ updatedAt: z.ZodOptional<z.ZodString>;
15037
+ archivedAt: z.ZodOptional<z.ZodString>;
15038
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
15039
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
15040
+ universalFieldMappingRevision: z.ZodOptional<z.ZodString>;
14969
15041
  } & {
14970
15042
  integration: z.ZodOptional<z.ZodObject<{
14971
15043
  id: z.ZodString;
@@ -15073,23 +15145,9 @@ declare const FieldMappingApiResponse: z.ZodObject<{
15073
15145
  description: z.ZodOptional<z.ZodString>;
15074
15146
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
15075
15147
  integrationId: z.ZodOptional<z.ZodString>;
15076
- parentId: z.ZodOptional<z.ZodString>;
15077
- } & {
15078
- name: z.ZodString;
15079
- state: z.ZodOptional<z.ZodNativeEnum<typeof WorkspaceElementState>>;
15080
- errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>, "many">>;
15081
- revision: z.ZodOptional<z.ZodString>;
15082
- createdAt: z.ZodOptional<z.ZodString>;
15083
- updatedAt: z.ZodOptional<z.ZodString>;
15084
- archivedAt: z.ZodOptional<z.ZodString>;
15085
- isDeactivated: z.ZodOptional<z.ZodBoolean>;
15086
- isCustomized: z.ZodOptional<z.ZodBoolean>;
15087
- } & {
15088
- publishedRevision: z.ZodOptional<z.ZodString>;
15089
15148
  universalFieldMappingId: z.ZodOptional<z.ZodString>;
15090
- universalFieldMappingRevision: z.ZodOptional<z.ZodString>;
15091
- dataSourceId: z.ZodOptional<z.ZodString>;
15092
15149
  dataSourceKey: z.ZodOptional<z.ZodString>;
15150
+ dataSourceId: z.ZodOptional<z.ZodString>;
15093
15151
  appSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
15094
15152
  direction: z.ZodOptional<z.ZodNativeEnum<typeof FieldMappingDirection>>;
15095
15153
  defaultImportValue: z.ZodOptional<z.ZodAny>;
@@ -15099,6 +15157,17 @@ declare const FieldMappingApiResponse: z.ZodObject<{
15099
15157
  frozenImportFields: z.ZodOptional<z.ZodAny>;
15100
15158
  frozenExportFields: z.ZodOptional<z.ZodAny>;
15101
15159
  frozenUnifiedExportFields: z.ZodOptional<z.ZodAny>;
15160
+ } & {
15161
+ name: z.ZodString;
15162
+ state: z.ZodOptional<z.ZodNativeEnum<typeof WorkspaceElementState>>;
15163
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>, "many">>;
15164
+ revision: z.ZodOptional<z.ZodString>;
15165
+ createdAt: z.ZodOptional<z.ZodString>;
15166
+ updatedAt: z.ZodOptional<z.ZodString>;
15167
+ archivedAt: z.ZodOptional<z.ZodString>;
15168
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
15169
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
15170
+ universalFieldMappingRevision: z.ZodOptional<z.ZodString>;
15102
15171
  }, "strip", z.ZodTypeAny, {
15103
15172
  id: string;
15104
15173
  name: string;
@@ -15114,13 +15183,10 @@ declare const FieldMappingApiResponse: z.ZodObject<{
15114
15183
  archivedAt?: string | undefined;
15115
15184
  isDeactivated?: boolean | undefined;
15116
15185
  integrationId?: string | undefined;
15117
- parentId?: string | undefined;
15118
15186
  isCustomized?: boolean | undefined;
15119
- publishedRevision?: string | undefined;
15120
15187
  universalFieldMappingId?: string | undefined;
15121
- universalFieldMappingRevision?: string | undefined;
15122
- dataSourceId?: string | undefined;
15123
15188
  dataSourceKey?: string | undefined;
15189
+ dataSourceId?: string | undefined;
15124
15190
  appSchema?: DataSchema | undefined;
15125
15191
  direction?: FieldMappingDirection | undefined;
15126
15192
  defaultImportValue?: any;
@@ -15130,6 +15196,7 @@ declare const FieldMappingApiResponse: z.ZodObject<{
15130
15196
  frozenImportFields?: any;
15131
15197
  frozenExportFields?: any;
15132
15198
  frozenUnifiedExportFields?: any;
15199
+ universalFieldMappingRevision?: string | undefined;
15133
15200
  }, {
15134
15201
  id: string;
15135
15202
  name: string;
@@ -15145,13 +15212,10 @@ declare const FieldMappingApiResponse: z.ZodObject<{
15145
15212
  archivedAt?: string | undefined;
15146
15213
  isDeactivated?: boolean | undefined;
15147
15214
  integrationId?: string | undefined;
15148
- parentId?: string | undefined;
15149
15215
  isCustomized?: boolean | undefined;
15150
- publishedRevision?: string | undefined;
15151
15216
  universalFieldMappingId?: string | undefined;
15152
- universalFieldMappingRevision?: string | undefined;
15153
- dataSourceId?: string | undefined;
15154
15217
  dataSourceKey?: string | undefined;
15218
+ dataSourceId?: string | undefined;
15155
15219
  appSchema?: DataSchema | undefined;
15156
15220
  direction?: FieldMappingDirection | undefined;
15157
15221
  defaultImportValue?: any;
@@ -15161,6 +15225,7 @@ declare const FieldMappingApiResponse: z.ZodObject<{
15161
15225
  frozenImportFields?: any;
15162
15226
  frozenExportFields?: any;
15163
15227
  frozenUnifiedExportFields?: any;
15228
+ universalFieldMappingRevision?: string | undefined;
15164
15229
  }>;
15165
15230
  integration: z.ZodObject<{
15166
15231
  id: z.ZodString;
@@ -15309,13 +15374,10 @@ declare const FieldMappingApiResponse: z.ZodObject<{
15309
15374
  archivedAt?: string | undefined;
15310
15375
  isDeactivated?: boolean | undefined;
15311
15376
  integrationId?: string | undefined;
15312
- parentId?: string | undefined;
15313
15377
  isCustomized?: boolean | undefined;
15314
- publishedRevision?: string | undefined;
15315
15378
  universalFieldMappingId?: string | undefined;
15316
- universalFieldMappingRevision?: string | undefined;
15317
- dataSourceId?: string | undefined;
15318
15379
  dataSourceKey?: string | undefined;
15380
+ dataSourceId?: string | undefined;
15319
15381
  appSchema?: DataSchema | undefined;
15320
15382
  direction?: FieldMappingDirection | undefined;
15321
15383
  defaultImportValue?: any;
@@ -15325,6 +15387,7 @@ declare const FieldMappingApiResponse: z.ZodObject<{
15325
15387
  frozenImportFields?: any;
15326
15388
  frozenExportFields?: any;
15327
15389
  frozenUnifiedExportFields?: any;
15390
+ universalFieldMappingRevision?: string | undefined;
15328
15391
  };
15329
15392
  }, {
15330
15393
  integration: {
@@ -15375,13 +15438,10 @@ declare const FieldMappingApiResponse: z.ZodObject<{
15375
15438
  archivedAt?: string | undefined;
15376
15439
  isDeactivated?: boolean | undefined;
15377
15440
  integrationId?: string | undefined;
15378
- parentId?: string | undefined;
15379
15441
  isCustomized?: boolean | undefined;
15380
- publishedRevision?: string | undefined;
15381
15442
  universalFieldMappingId?: string | undefined;
15382
- universalFieldMappingRevision?: string | undefined;
15383
- dataSourceId?: string | undefined;
15384
15443
  dataSourceKey?: string | undefined;
15444
+ dataSourceId?: string | undefined;
15385
15445
  appSchema?: DataSchema | undefined;
15386
15446
  direction?: FieldMappingDirection | undefined;
15387
15447
  defaultImportValue?: any;
@@ -15391,6 +15451,7 @@ declare const FieldMappingApiResponse: z.ZodObject<{
15391
15451
  frozenImportFields?: any;
15392
15452
  frozenExportFields?: any;
15393
15453
  frozenUnifiedExportFields?: any;
15454
+ universalFieldMappingRevision?: string | undefined;
15394
15455
  };
15395
15456
  }>, "many">>;
15396
15457
  }, "strip", z.ZodTypeAny, {
@@ -15441,13 +15502,10 @@ declare const FieldMappingApiResponse: z.ZodObject<{
15441
15502
  archivedAt?: string | undefined;
15442
15503
  isDeactivated?: boolean | undefined;
15443
15504
  integrationId?: string | undefined;
15444
- parentId?: string | undefined;
15445
15505
  isCustomized?: boolean | undefined;
15446
- publishedRevision?: string | undefined;
15447
15506
  universalFieldMappingId?: string | undefined;
15448
- universalFieldMappingRevision?: string | undefined;
15449
- dataSourceId?: string | undefined;
15450
15507
  dataSourceKey?: string | undefined;
15508
+ dataSourceId?: string | undefined;
15451
15509
  appSchema?: DataSchema | undefined;
15452
15510
  direction?: FieldMappingDirection | undefined;
15453
15511
  defaultImportValue?: any;
@@ -15457,6 +15515,7 @@ declare const FieldMappingApiResponse: z.ZodObject<{
15457
15515
  frozenImportFields?: any;
15458
15516
  frozenExportFields?: any;
15459
15517
  frozenUnifiedExportFields?: any;
15518
+ universalFieldMappingRevision?: string | undefined;
15460
15519
  appliedToIntegrations?: {
15461
15520
  integration: {
15462
15521
  id: string;
@@ -15506,13 +15565,10 @@ declare const FieldMappingApiResponse: z.ZodObject<{
15506
15565
  archivedAt?: string | undefined;
15507
15566
  isDeactivated?: boolean | undefined;
15508
15567
  integrationId?: string | undefined;
15509
- parentId?: string | undefined;
15510
15568
  isCustomized?: boolean | undefined;
15511
- publishedRevision?: string | undefined;
15512
15569
  universalFieldMappingId?: string | undefined;
15513
- universalFieldMappingRevision?: string | undefined;
15514
- dataSourceId?: string | undefined;
15515
15570
  dataSourceKey?: string | undefined;
15571
+ dataSourceId?: string | undefined;
15516
15572
  appSchema?: DataSchema | undefined;
15517
15573
  direction?: FieldMappingDirection | undefined;
15518
15574
  defaultImportValue?: any;
@@ -15522,6 +15578,7 @@ declare const FieldMappingApiResponse: z.ZodObject<{
15522
15578
  frozenImportFields?: any;
15523
15579
  frozenExportFields?: any;
15524
15580
  frozenUnifiedExportFields?: any;
15581
+ universalFieldMappingRevision?: string | undefined;
15525
15582
  };
15526
15583
  }[] | undefined;
15527
15584
  }, {
@@ -15572,13 +15629,10 @@ declare const FieldMappingApiResponse: z.ZodObject<{
15572
15629
  archivedAt?: string | undefined;
15573
15630
  isDeactivated?: boolean | undefined;
15574
15631
  integrationId?: string | undefined;
15575
- parentId?: string | undefined;
15576
15632
  isCustomized?: boolean | undefined;
15577
- publishedRevision?: string | undefined;
15578
15633
  universalFieldMappingId?: string | undefined;
15579
- universalFieldMappingRevision?: string | undefined;
15580
- dataSourceId?: string | undefined;
15581
15634
  dataSourceKey?: string | undefined;
15635
+ dataSourceId?: string | undefined;
15582
15636
  appSchema?: DataSchema | undefined;
15583
15637
  direction?: FieldMappingDirection | undefined;
15584
15638
  defaultImportValue?: any;
@@ -15588,6 +15642,7 @@ declare const FieldMappingApiResponse: z.ZodObject<{
15588
15642
  frozenImportFields?: any;
15589
15643
  frozenExportFields?: any;
15590
15644
  frozenUnifiedExportFields?: any;
15645
+ universalFieldMappingRevision?: string | undefined;
15591
15646
  appliedToIntegrations?: {
15592
15647
  integration: {
15593
15648
  id: string;
@@ -15637,13 +15692,10 @@ declare const FieldMappingApiResponse: z.ZodObject<{
15637
15692
  archivedAt?: string | undefined;
15638
15693
  isDeactivated?: boolean | undefined;
15639
15694
  integrationId?: string | undefined;
15640
- parentId?: string | undefined;
15641
15695
  isCustomized?: boolean | undefined;
15642
- publishedRevision?: string | undefined;
15643
15696
  universalFieldMappingId?: string | undefined;
15644
- universalFieldMappingRevision?: string | undefined;
15645
- dataSourceId?: string | undefined;
15646
15697
  dataSourceKey?: string | undefined;
15698
+ dataSourceId?: string | undefined;
15647
15699
  appSchema?: DataSchema | undefined;
15648
15700
  direction?: FieldMappingDirection | undefined;
15649
15701
  defaultImportValue?: any;
@@ -15653,11 +15705,164 @@ declare const FieldMappingApiResponse: z.ZodObject<{
15653
15705
  frozenImportFields?: any;
15654
15706
  frozenExportFields?: any;
15655
15707
  frozenUnifiedExportFields?: any;
15708
+ universalFieldMappingRevision?: string | undefined;
15656
15709
  };
15657
15710
  }[] | undefined;
15658
15711
  }>;
15659
- type FieldMappingApiResponse = z.infer<typeof FieldMappingApiResponse>;
15660
- type FieldMapping = FieldMappingApiResponse;
15712
+ type FieldMappingApiResponse = z.infer<typeof FieldMappingApiResponse>;
15713
+ type FieldMapping = FieldMappingApiResponse;
15714
+ declare const FindFieldMappingsQuery: z.ZodObject<{
15715
+ limit: z.ZodOptional<z.ZodNumber>;
15716
+ cursor: z.ZodOptional<z.ZodString>;
15717
+ } & {
15718
+ integrationId: z.ZodOptional<z.ZodString>;
15719
+ integrationKey: z.ZodOptional<z.ZodString>;
15720
+ universalFieldMappingId: z.ZodOptional<z.ZodString>;
15721
+ search: z.ZodOptional<z.ZodString>;
15722
+ includeArchived: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
15723
+ }, "strip", z.ZodTypeAny, {
15724
+ search?: string | undefined;
15725
+ integrationId?: string | undefined;
15726
+ includeArchived?: boolean | undefined;
15727
+ limit?: number | undefined;
15728
+ cursor?: string | undefined;
15729
+ integrationKey?: string | undefined;
15730
+ universalFieldMappingId?: string | undefined;
15731
+ }, {
15732
+ search?: string | undefined;
15733
+ integrationId?: string | undefined;
15734
+ includeArchived?: unknown;
15735
+ limit?: number | undefined;
15736
+ cursor?: string | undefined;
15737
+ integrationKey?: string | undefined;
15738
+ universalFieldMappingId?: string | undefined;
15739
+ }>;
15740
+ type FindFieldMappingsQuery = z.infer<typeof FindFieldMappingsQuery>;
15741
+ declare const CreateFieldMappingRequest: z.ZodObject<Omit<{
15742
+ key: z.ZodOptional<z.ZodString>;
15743
+ name: z.ZodOptional<z.ZodString>;
15744
+ uuid: z.ZodOptional<z.ZodString>;
15745
+ description: z.ZodOptional<z.ZodString>;
15746
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
15747
+ } & {
15748
+ integrationId: z.ZodOptional<z.ZodString>;
15749
+ parentId: z.ZodOptional<z.ZodString>;
15750
+ }, "parentId"> & {
15751
+ universalFieldMappingId: z.ZodOptional<z.ZodString>;
15752
+ dataSourceKey: z.ZodOptional<z.ZodString>;
15753
+ dataSourceId: z.ZodOptional<z.ZodString>;
15754
+ appSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
15755
+ direction: z.ZodOptional<z.ZodNativeEnum<typeof FieldMappingDirection>>;
15756
+ defaultImportValue: z.ZodOptional<z.ZodAny>;
15757
+ defaultExportValue: z.ZodOptional<z.ZodAny>;
15758
+ importValue: z.ZodOptional<z.ZodAny>;
15759
+ exportValue: z.ZodOptional<z.ZodAny>;
15760
+ frozenImportFields: z.ZodOptional<z.ZodAny>;
15761
+ frozenExportFields: z.ZodOptional<z.ZodAny>;
15762
+ frozenUnifiedExportFields: z.ZodOptional<z.ZodAny>;
15763
+ }, "strip", z.ZodTypeAny, {
15764
+ key?: string | undefined;
15765
+ name?: string | undefined;
15766
+ uuid?: string | undefined;
15767
+ description?: string | undefined;
15768
+ meta?: Record<string, any> | undefined;
15769
+ integrationId?: string | undefined;
15770
+ universalFieldMappingId?: string | undefined;
15771
+ dataSourceKey?: string | undefined;
15772
+ dataSourceId?: string | undefined;
15773
+ appSchema?: DataSchema | undefined;
15774
+ direction?: FieldMappingDirection | undefined;
15775
+ defaultImportValue?: any;
15776
+ defaultExportValue?: any;
15777
+ importValue?: any;
15778
+ exportValue?: any;
15779
+ frozenImportFields?: any;
15780
+ frozenExportFields?: any;
15781
+ frozenUnifiedExportFields?: any;
15782
+ }, {
15783
+ key?: string | undefined;
15784
+ name?: string | undefined;
15785
+ uuid?: string | undefined;
15786
+ description?: string | undefined;
15787
+ meta?: Record<string, any> | undefined;
15788
+ integrationId?: string | undefined;
15789
+ universalFieldMappingId?: string | undefined;
15790
+ dataSourceKey?: string | undefined;
15791
+ dataSourceId?: string | undefined;
15792
+ appSchema?: DataSchema | undefined;
15793
+ direction?: FieldMappingDirection | undefined;
15794
+ defaultImportValue?: any;
15795
+ defaultExportValue?: any;
15796
+ importValue?: any;
15797
+ exportValue?: any;
15798
+ frozenImportFields?: any;
15799
+ frozenExportFields?: any;
15800
+ frozenUnifiedExportFields?: any;
15801
+ }>;
15802
+ type CreateFieldMappingRequest = z.infer<typeof CreateFieldMappingRequest>;
15803
+ declare const UpdateFieldMappingRequest: z.ZodObject<{
15804
+ key: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15805
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15806
+ uuid: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15807
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15808
+ meta: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
15809
+ integrationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15810
+ universalFieldMappingId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15811
+ dataSourceKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15812
+ dataSourceId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15813
+ appSchema: z.ZodOptional<z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>>;
15814
+ direction: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof FieldMappingDirection>>>;
15815
+ defaultImportValue: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
15816
+ defaultExportValue: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
15817
+ importValue: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
15818
+ exportValue: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
15819
+ frozenImportFields: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
15820
+ frozenExportFields: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
15821
+ frozenUnifiedExportFields: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
15822
+ }, "strip", z.ZodTypeAny, {
15823
+ key?: string | undefined;
15824
+ name?: string | undefined;
15825
+ uuid?: string | undefined;
15826
+ description?: string | undefined;
15827
+ meta?: Record<string, any> | undefined;
15828
+ integrationId?: string | undefined;
15829
+ universalFieldMappingId?: string | undefined;
15830
+ dataSourceKey?: string | undefined;
15831
+ dataSourceId?: string | undefined;
15832
+ appSchema?: DataSchema | undefined;
15833
+ direction?: FieldMappingDirection | undefined;
15834
+ defaultImportValue?: any;
15835
+ defaultExportValue?: any;
15836
+ importValue?: any;
15837
+ exportValue?: any;
15838
+ frozenImportFields?: any;
15839
+ frozenExportFields?: any;
15840
+ frozenUnifiedExportFields?: any;
15841
+ }, {
15842
+ key?: string | undefined;
15843
+ name?: string | undefined;
15844
+ uuid?: string | undefined;
15845
+ description?: string | undefined;
15846
+ meta?: Record<string, any> | undefined;
15847
+ integrationId?: string | undefined;
15848
+ universalFieldMappingId?: string | undefined;
15849
+ dataSourceKey?: string | undefined;
15850
+ dataSourceId?: string | undefined;
15851
+ appSchema?: DataSchema | undefined;
15852
+ direction?: FieldMappingDirection | undefined;
15853
+ defaultImportValue?: any;
15854
+ defaultExportValue?: any;
15855
+ importValue?: any;
15856
+ exportValue?: any;
15857
+ frozenImportFields?: any;
15858
+ frozenExportFields?: any;
15859
+ frozenUnifiedExportFields?: any;
15860
+ }>;
15861
+ type UpdateFieldMappingRequest = z.infer<typeof UpdateFieldMappingRequest>;
15862
+ interface FieldMappingSelector extends IntegrationSpecificElementSelector {
15863
+ }
15864
+ interface ListFieldMappingsForIntegrationQuery extends Omit<FindFieldMappingsQuery, 'integrationId' | 'integrationKey'> {
15865
+ }
15661
15866
 
15662
15867
  declare class FieldMappingsAccessor extends ElementListAccessor<FieldMapping, FindFieldMappingsQuery, CreateFieldMappingRequest> {
15663
15868
  constructor(client: MembraneApiClient);
@@ -25056,33 +25261,53 @@ declare const DEFAULT_PULL_UPDATES_INTERVAL_SECONDS: number;
25056
25261
  declare const DEFAULT_FULL_SYNC_INTERVAL_SECONDS: number;
25057
25262
  declare const MIN_FULL_SYNC_INTERVAL_SECONDS: number;
25058
25263
  declare const MIN_PULL_UPDATES_INTERVAL_SECONDS: number;
25059
-
25060
- declare const DataSourceUnitConfig: z.ZodObject<{
25264
+ declare const DataSourceEditableProperties: z.ZodObject<Omit<{
25061
25265
  key: z.ZodOptional<z.ZodString>;
25062
- collectionKey: z.ZodOptional<z.ZodAny>;
25063
- collectionParameters: z.ZodOptional<z.ZodAny>;
25064
- udm: z.ZodOptional<z.ZodAny>;
25065
- path: z.ZodOptional<z.ZodString>;
25266
+ name: z.ZodOptional<z.ZodString>;
25267
+ uuid: z.ZodOptional<z.ZodString>;
25268
+ description: z.ZodOptional<z.ZodString>;
25269
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25270
+ } & {
25271
+ integrationId: z.ZodOptional<z.ZodString>;
25272
+ parentId: z.ZodOptional<z.ZodString>;
25273
+ }, "parentId"> & {
25274
+ universalDataSourceId: z.ZodOptional<z.ZodString>;
25275
+ udm: z.ZodOptional<z.ZodString>;
25066
25276
  pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
25067
25277
  fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
25278
+ collectionKey: z.ZodOptional<z.ZodString>;
25279
+ collectionParameters: z.ZodOptional<z.ZodAny>;
25280
+ defaultPath: z.ZodOptional<z.ZodString>;
25068
25281
  }, "strip", z.ZodTypeAny, {
25069
25282
  key?: string | undefined;
25070
- path?: string | undefined;
25071
- udm?: any;
25072
- collectionKey?: any;
25283
+ name?: string | undefined;
25284
+ uuid?: string | undefined;
25285
+ description?: string | undefined;
25286
+ meta?: Record<string, any> | undefined;
25287
+ integrationId?: string | undefined;
25288
+ udm?: string | undefined;
25289
+ universalDataSourceId?: string | undefined;
25290
+ collectionKey?: string | undefined;
25073
25291
  collectionParameters?: any;
25074
25292
  pullUpdatesIntervalSeconds?: number | undefined;
25075
25293
  fullSyncIntervalSeconds?: number | undefined;
25294
+ defaultPath?: string | undefined;
25076
25295
  }, {
25077
25296
  key?: string | undefined;
25078
- path?: string | undefined;
25079
- udm?: any;
25080
- collectionKey?: any;
25297
+ name?: string | undefined;
25298
+ uuid?: string | undefined;
25299
+ description?: string | undefined;
25300
+ meta?: Record<string, any> | undefined;
25301
+ integrationId?: string | undefined;
25302
+ udm?: string | undefined;
25303
+ universalDataSourceId?: string | undefined;
25304
+ collectionKey?: string | undefined;
25081
25305
  collectionParameters?: any;
25082
25306
  pullUpdatesIntervalSeconds?: number | undefined;
25083
25307
  fullSyncIntervalSeconds?: number | undefined;
25308
+ defaultPath?: string | undefined;
25084
25309
  }>;
25085
- type DataSourceUnitConfig = z.infer<typeof DataSourceUnitConfig>;
25310
+ type DataSourceEditableProperties = z.infer<typeof DataSourceEditableProperties>;
25086
25311
  declare const BaseDataSource: z.ZodObject<{
25087
25312
  id: z.ZodString;
25088
25313
  key: z.ZodOptional<z.ZodString>;
@@ -25090,7 +25315,13 @@ declare const BaseDataSource: z.ZodObject<{
25090
25315
  description: z.ZodOptional<z.ZodString>;
25091
25316
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25092
25317
  integrationId: z.ZodOptional<z.ZodString>;
25093
- parentId: z.ZodOptional<z.ZodString>;
25318
+ universalDataSourceId: z.ZodOptional<z.ZodString>;
25319
+ udm: z.ZodOptional<z.ZodString>;
25320
+ pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
25321
+ fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
25322
+ collectionKey: z.ZodOptional<z.ZodString>;
25323
+ collectionParameters: z.ZodOptional<z.ZodAny>;
25324
+ defaultPath: z.ZodOptional<z.ZodString>;
25094
25325
  } & {
25095
25326
  name: z.ZodString;
25096
25327
  state: z.ZodOptional<z.ZodNativeEnum<typeof WorkspaceElementState>>;
@@ -25101,16 +25332,7 @@ declare const BaseDataSource: z.ZodObject<{
25101
25332
  archivedAt: z.ZodOptional<z.ZodString>;
25102
25333
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
25103
25334
  isCustomized: z.ZodOptional<z.ZodBoolean>;
25104
- } & {
25105
- publishedRevision: z.ZodOptional<z.ZodString>;
25106
- universalDataSourceId: z.ZodOptional<z.ZodString>;
25107
25335
  universalDataSourceRevision: z.ZodOptional<z.ZodString>;
25108
- udm: z.ZodOptional<z.ZodString>;
25109
- pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
25110
- fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
25111
- collectionKey: z.ZodOptional<z.ZodString>;
25112
- collectionParameters: z.ZodOptional<z.ZodAny>;
25113
- defaultPath: z.ZodOptional<z.ZodString>;
25114
25336
  }, "strip", z.ZodTypeAny, {
25115
25337
  id: string;
25116
25338
  name: string;
@@ -25126,9 +25348,7 @@ declare const BaseDataSource: z.ZodObject<{
25126
25348
  archivedAt?: string | undefined;
25127
25349
  isDeactivated?: boolean | undefined;
25128
25350
  integrationId?: string | undefined;
25129
- parentId?: string | undefined;
25130
25351
  isCustomized?: boolean | undefined;
25131
- publishedRevision?: string | undefined;
25132
25352
  udm?: string | undefined;
25133
25353
  universalDataSourceId?: string | undefined;
25134
25354
  collectionKey?: string | undefined;
@@ -25152,9 +25372,7 @@ declare const BaseDataSource: z.ZodObject<{
25152
25372
  archivedAt?: string | undefined;
25153
25373
  isDeactivated?: boolean | undefined;
25154
25374
  integrationId?: string | undefined;
25155
- parentId?: string | undefined;
25156
25375
  isCustomized?: boolean | undefined;
25157
- publishedRevision?: string | undefined;
25158
25376
  udm?: string | undefined;
25159
25377
  universalDataSourceId?: string | undefined;
25160
25378
  collectionKey?: string | undefined;
@@ -25165,6 +25383,32 @@ declare const BaseDataSource: z.ZodObject<{
25165
25383
  universalDataSourceRevision?: string | undefined;
25166
25384
  }>;
25167
25385
  type BaseDataSource = z.infer<typeof BaseDataSource>;
25386
+ declare const DataSourceUnitConfig: z.ZodObject<{
25387
+ key: z.ZodOptional<z.ZodString>;
25388
+ collectionKey: z.ZodOptional<z.ZodAny>;
25389
+ collectionParameters: z.ZodOptional<z.ZodAny>;
25390
+ udm: z.ZodOptional<z.ZodAny>;
25391
+ path: z.ZodOptional<z.ZodString>;
25392
+ pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
25393
+ fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
25394
+ }, "strip", z.ZodTypeAny, {
25395
+ key?: string | undefined;
25396
+ path?: string | undefined;
25397
+ udm?: any;
25398
+ collectionKey?: any;
25399
+ collectionParameters?: any;
25400
+ pullUpdatesIntervalSeconds?: number | undefined;
25401
+ fullSyncIntervalSeconds?: number | undefined;
25402
+ }, {
25403
+ key?: string | undefined;
25404
+ path?: string | undefined;
25405
+ udm?: any;
25406
+ collectionKey?: any;
25407
+ collectionParameters?: any;
25408
+ pullUpdatesIntervalSeconds?: number | undefined;
25409
+ fullSyncIntervalSeconds?: number | undefined;
25410
+ }>;
25411
+ type DataSourceUnitConfig = z.infer<typeof DataSourceUnitConfig>;
25168
25412
 
25169
25413
  declare const BaseDataSourceInstance: z.ZodObject<{
25170
25414
  id: z.ZodString;
@@ -25908,7 +26152,6 @@ declare const BaseDataSourceInstance: z.ZodObject<{
25908
26152
  isDeactivated?: boolean | undefined;
25909
26153
  isCustomized?: boolean | undefined;
25910
26154
  instanceKey?: string | undefined;
25911
- dataSourceId?: string | undefined;
25912
26155
  udm?: string | undefined;
25913
26156
  collectionSpec?: {
25914
26157
  type: "collection";
@@ -26045,6 +26288,7 @@ declare const BaseDataSourceInstance: z.ZodObject<{
26045
26288
  } | undefined;
26046
26289
  customFields?: boolean | undefined;
26047
26290
  } | undefined;
26291
+ dataSourceId?: string | undefined;
26048
26292
  dataSourceRevision?: string | undefined;
26049
26293
  universalDataSourceId?: string | undefined;
26050
26294
  collectionKey?: string | undefined;
@@ -26074,7 +26318,6 @@ declare const BaseDataSourceInstance: z.ZodObject<{
26074
26318
  isDeactivated?: boolean | undefined;
26075
26319
  isCustomized?: boolean | undefined;
26076
26320
  instanceKey?: string | undefined;
26077
- dataSourceId?: string | undefined;
26078
26321
  udm?: string | undefined;
26079
26322
  collectionSpec?: {
26080
26323
  type: "collection";
@@ -26211,6 +26454,7 @@ declare const BaseDataSourceInstance: z.ZodObject<{
26211
26454
  } | undefined;
26212
26455
  customFields?: boolean | undefined;
26213
26456
  } | undefined;
26457
+ dataSourceId?: string | undefined;
26214
26458
  dataSourceRevision?: string | undefined;
26215
26459
  universalDataSourceId?: string | undefined;
26216
26460
  collectionKey?: string | undefined;
@@ -26242,65 +26486,251 @@ declare const FlowNode: z.ZodObject<{
26242
26486
  version: z.ZodOptional<z.ZodNumber>;
26243
26487
  name: z.ZodOptional<z.ZodString>;
26244
26488
  description: z.ZodOptional<z.ZodString>;
26245
- config: z.ZodOptional<z.ZodAny>;
26246
- concurrency: z.ZodOptional<z.ZodNumber>;
26247
- onError: z.ZodOptional<z.ZodEnum<["stop", "continue"]>>;
26248
- ui: z.ZodOptional<z.ZodAny>;
26249
- inputSchema: z.ZodOptional<z.ZodAny>;
26250
- outputSchema: z.ZodOptional<z.ZodAny>;
26251
- outputExample: z.ZodOptional<z.ZodAny>;
26252
- links: z.ZodOptional<z.ZodArray<z.ZodObject<{
26253
- key: z.ZodOptional<z.ZodString>;
26254
- filter: z.ZodOptional<z.ZodAny>;
26489
+ config: z.ZodOptional<z.ZodAny>;
26490
+ concurrency: z.ZodOptional<z.ZodNumber>;
26491
+ onError: z.ZodOptional<z.ZodEnum<["stop", "continue"]>>;
26492
+ ui: z.ZodOptional<z.ZodAny>;
26493
+ inputSchema: z.ZodOptional<z.ZodAny>;
26494
+ outputSchema: z.ZodOptional<z.ZodAny>;
26495
+ outputExample: z.ZodOptional<z.ZodAny>;
26496
+ links: z.ZodOptional<z.ZodArray<z.ZodObject<{
26497
+ key: z.ZodOptional<z.ZodString>;
26498
+ filter: z.ZodOptional<z.ZodAny>;
26499
+ name: z.ZodOptional<z.ZodString>;
26500
+ }, "strip", z.ZodTypeAny, {
26501
+ key?: string | undefined;
26502
+ filter?: any;
26503
+ name?: string | undefined;
26504
+ }, {
26505
+ key?: string | undefined;
26506
+ filter?: any;
26507
+ name?: string | undefined;
26508
+ }>, "many">>;
26509
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
26510
+ }, "strip", z.ZodTypeAny, {
26511
+ concurrency?: number | undefined;
26512
+ type?: string | undefined;
26513
+ name?: string | undefined;
26514
+ description?: string | undefined;
26515
+ isCustomized?: boolean | undefined;
26516
+ inputSchema?: any;
26517
+ config?: any;
26518
+ outputSchema?: any;
26519
+ version?: number | undefined;
26520
+ onError?: "stop" | "continue" | undefined;
26521
+ ui?: any;
26522
+ outputExample?: any;
26523
+ links?: {
26524
+ key?: string | undefined;
26525
+ filter?: any;
26526
+ name?: string | undefined;
26527
+ }[] | undefined;
26528
+ }, {
26529
+ concurrency?: number | undefined;
26530
+ type?: string | undefined;
26531
+ name?: string | undefined;
26532
+ description?: string | undefined;
26533
+ isCustomized?: boolean | undefined;
26534
+ inputSchema?: any;
26535
+ config?: any;
26536
+ outputSchema?: any;
26537
+ version?: number | undefined;
26538
+ onError?: "stop" | "continue" | undefined;
26539
+ ui?: any;
26540
+ outputExample?: any;
26541
+ links?: {
26542
+ key?: string | undefined;
26543
+ filter?: any;
26544
+ name?: string | undefined;
26545
+ }[] | undefined;
26546
+ }>;
26547
+ type FlowNode = z.infer<typeof FlowNode>;
26548
+ interface FlowNodeSpec {
26549
+ name: string;
26550
+ description: string;
26551
+ isTrigger?: boolean;
26552
+ requiresIntegration?: boolean;
26553
+ requiresDataSpec?: boolean;
26554
+ isDeprecated?: boolean;
26555
+ isHidden?: boolean;
26556
+ direction?: FieldMappingDirection;
26557
+ version?: number;
26558
+ getSubFlowRootNodeKey?: (node: FlowNode) => string;
26559
+ }
26560
+ declare class FlowNodeSpec implements FlowNodeSpec {
26561
+ constructor(args: FlowNodeSpec);
26562
+ }
26563
+
26564
+ declare enum FlowNodeType {
26565
+ ApiTrigger = "api-trigger",
26566
+ ScheduleTrigger = "schedule-trigger",
26567
+ AppEventTrigger = "app-event-trigger",
26568
+ DataRecordCreatedTrigger = "data-record-created-trigger",
26569
+ DataRecordUpdatedTrigger = "data-record-updated-trigger",
26570
+ DataRecordDeletedTrigger = "data-record-deleted-trigger",
26571
+ ConnectorEventTrigger = "connector-event-trigger",
26572
+ SearchDataRecords = "search-data-records",
26573
+ ListDataRecords = "list-data-records",
26574
+ FindOrCreateDataRecord = "find-or-create-data-record",
26575
+ LookupDataRecord = "lookup-data-record",
26576
+ FindDataRecordById = "find-data-record-by-id",
26577
+ CreateDataRecord = "create-data-record",
26578
+ UpdateDataRecord = "update-data-record",
26579
+ DeleteDataRecord = "delete-data-record",
26580
+ CreateDataLink = "create-data-link",
26581
+ FindDataLink = "find-data-link",
26582
+ DeleteDataLink = "delete-data-link",
26583
+ TransformData = "transform-data",
26584
+ Filter = "filter",
26585
+ ForEachV2 = "for-each-v2",
26586
+ RunJavascript = "run-javascript",
26587
+ IntegrationSpecificOperation = "integration-specific-operation",
26588
+ ApiRequestToYourApp = "api-request-to-your-app",
26589
+ ApiRequestToExernalApp = "api-request-to-external-app",
26590
+ CustomHttpRequest = "custom-http-request",
26591
+ RunAction = "run-action",
26592
+ ApiRequest = "api-request",
26593
+ CustomApiRequest = "custom-api-request",
26594
+ HttpRequest = "http-request",
26595
+ ForEach = "for-each",
26596
+ FindDataRecords = "find-data-records"
26597
+ }
26598
+ declare const FLOW_NODE_SPECS: Record<FlowNodeType, FlowNodeSpec>;
26599
+
26600
+ declare const FlowEditableProperties: z.ZodObject<{
26601
+ key: z.ZodOptional<z.ZodString>;
26602
+ name: z.ZodOptional<z.ZodString>;
26603
+ uuid: z.ZodOptional<z.ZodString>;
26604
+ description: z.ZodOptional<z.ZodString>;
26605
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
26606
+ } & {
26607
+ integrationId: z.ZodOptional<z.ZodString>;
26608
+ universalFlowId: z.ZodOptional<z.ZodString>;
26609
+ parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
26610
+ nodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
26611
+ type: z.ZodOptional<z.ZodString>;
26612
+ version: z.ZodOptional<z.ZodNumber>;
26255
26613
  name: z.ZodOptional<z.ZodString>;
26614
+ description: z.ZodOptional<z.ZodString>;
26615
+ config: z.ZodOptional<z.ZodAny>;
26616
+ concurrency: z.ZodOptional<z.ZodNumber>;
26617
+ onError: z.ZodOptional<z.ZodEnum<["stop", "continue"]>>;
26618
+ ui: z.ZodOptional<z.ZodAny>;
26619
+ inputSchema: z.ZodOptional<z.ZodAny>;
26620
+ outputSchema: z.ZodOptional<z.ZodAny>;
26621
+ outputExample: z.ZodOptional<z.ZodAny>;
26622
+ links: z.ZodOptional<z.ZodArray<z.ZodObject<{
26623
+ key: z.ZodOptional<z.ZodString>;
26624
+ filter: z.ZodOptional<z.ZodAny>;
26625
+ name: z.ZodOptional<z.ZodString>;
26626
+ }, "strip", z.ZodTypeAny, {
26627
+ key?: string | undefined;
26628
+ filter?: any;
26629
+ name?: string | undefined;
26630
+ }, {
26631
+ key?: string | undefined;
26632
+ filter?: any;
26633
+ name?: string | undefined;
26634
+ }>, "many">>;
26635
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
26256
26636
  }, "strip", z.ZodTypeAny, {
26257
- key?: string | undefined;
26258
- filter?: any;
26637
+ concurrency?: number | undefined;
26638
+ type?: string | undefined;
26259
26639
  name?: string | undefined;
26640
+ description?: string | undefined;
26641
+ isCustomized?: boolean | undefined;
26642
+ inputSchema?: any;
26643
+ config?: any;
26644
+ outputSchema?: any;
26645
+ version?: number | undefined;
26646
+ onError?: "stop" | "continue" | undefined;
26647
+ ui?: any;
26648
+ outputExample?: any;
26649
+ links?: {
26650
+ key?: string | undefined;
26651
+ filter?: any;
26652
+ name?: string | undefined;
26653
+ }[] | undefined;
26260
26654
  }, {
26261
- key?: string | undefined;
26262
- filter?: any;
26655
+ concurrency?: number | undefined;
26656
+ type?: string | undefined;
26263
26657
  name?: string | undefined;
26264
- }>, "many">>;
26265
- isCustomized: z.ZodOptional<z.ZodBoolean>;
26658
+ description?: string | undefined;
26659
+ isCustomized?: boolean | undefined;
26660
+ inputSchema?: any;
26661
+ config?: any;
26662
+ outputSchema?: any;
26663
+ version?: number | undefined;
26664
+ onError?: "stop" | "continue" | undefined;
26665
+ ui?: any;
26666
+ outputExample?: any;
26667
+ links?: {
26668
+ key?: string | undefined;
26669
+ filter?: any;
26670
+ name?: string | undefined;
26671
+ }[] | undefined;
26672
+ }>>>;
26673
+ autoCreateInstances: z.ZodOptional<z.ZodBoolean>;
26266
26674
  }, "strip", z.ZodTypeAny, {
26267
- concurrency?: number | undefined;
26268
- type?: string | undefined;
26675
+ key?: string | undefined;
26269
26676
  name?: string | undefined;
26677
+ uuid?: string | undefined;
26270
26678
  description?: string | undefined;
26271
- isCustomized?: boolean | undefined;
26272
- inputSchema?: any;
26273
- config?: any;
26274
- outputSchema?: any;
26275
- version?: number | undefined;
26276
- onError?: "stop" | "continue" | undefined;
26277
- ui?: any;
26278
- outputExample?: any;
26279
- links?: {
26280
- key?: string | undefined;
26281
- filter?: any;
26679
+ meta?: Record<string, any> | undefined;
26680
+ integrationId?: string | undefined;
26681
+ parametersSchema?: DataSchema | undefined;
26682
+ universalFlowId?: string | undefined;
26683
+ nodes?: Record<string, {
26684
+ concurrency?: number | undefined;
26685
+ type?: string | undefined;
26282
26686
  name?: string | undefined;
26283
- }[] | undefined;
26687
+ description?: string | undefined;
26688
+ isCustomized?: boolean | undefined;
26689
+ inputSchema?: any;
26690
+ config?: any;
26691
+ outputSchema?: any;
26692
+ version?: number | undefined;
26693
+ onError?: "stop" | "continue" | undefined;
26694
+ ui?: any;
26695
+ outputExample?: any;
26696
+ links?: {
26697
+ key?: string | undefined;
26698
+ filter?: any;
26699
+ name?: string | undefined;
26700
+ }[] | undefined;
26701
+ }> | undefined;
26702
+ autoCreateInstances?: boolean | undefined;
26284
26703
  }, {
26285
- concurrency?: number | undefined;
26286
- type?: string | undefined;
26704
+ key?: string | undefined;
26287
26705
  name?: string | undefined;
26706
+ uuid?: string | undefined;
26288
26707
  description?: string | undefined;
26289
- isCustomized?: boolean | undefined;
26290
- inputSchema?: any;
26291
- config?: any;
26292
- outputSchema?: any;
26293
- version?: number | undefined;
26294
- onError?: "stop" | "continue" | undefined;
26295
- ui?: any;
26296
- outputExample?: any;
26297
- links?: {
26298
- key?: string | undefined;
26299
- filter?: any;
26708
+ meta?: Record<string, any> | undefined;
26709
+ integrationId?: string | undefined;
26710
+ parametersSchema?: DataSchema | undefined;
26711
+ universalFlowId?: string | undefined;
26712
+ nodes?: Record<string, {
26713
+ concurrency?: number | undefined;
26714
+ type?: string | undefined;
26300
26715
  name?: string | undefined;
26301
- }[] | undefined;
26716
+ description?: string | undefined;
26717
+ isCustomized?: boolean | undefined;
26718
+ inputSchema?: any;
26719
+ config?: any;
26720
+ outputSchema?: any;
26721
+ version?: number | undefined;
26722
+ onError?: "stop" | "continue" | undefined;
26723
+ ui?: any;
26724
+ outputExample?: any;
26725
+ links?: {
26726
+ key?: string | undefined;
26727
+ filter?: any;
26728
+ name?: string | undefined;
26729
+ }[] | undefined;
26730
+ }> | undefined;
26731
+ autoCreateInstances?: boolean | undefined;
26302
26732
  }>;
26303
- type FlowNode = z.infer<typeof FlowNode>;
26733
+ type FlowEditableProperties = z.infer<typeof FlowEditableProperties>;
26304
26734
  declare const BaseFlow: z.ZodObject<{
26305
26735
  id: z.ZodString;
26306
26736
  key: z.ZodOptional<z.ZodString>;
@@ -26308,20 +26738,7 @@ declare const BaseFlow: z.ZodObject<{
26308
26738
  description: z.ZodOptional<z.ZodString>;
26309
26739
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
26310
26740
  integrationId: z.ZodOptional<z.ZodString>;
26311
- parentId: z.ZodOptional<z.ZodString>;
26312
- } & {
26313
- name: z.ZodString;
26314
- state: z.ZodOptional<z.ZodNativeEnum<typeof WorkspaceElementState>>;
26315
- errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>, "many">>;
26316
- revision: z.ZodOptional<z.ZodString>;
26317
- createdAt: z.ZodOptional<z.ZodString>;
26318
- updatedAt: z.ZodOptional<z.ZodString>;
26319
- archivedAt: z.ZodOptional<z.ZodString>;
26320
- isDeactivated: z.ZodOptional<z.ZodBoolean>;
26321
- isCustomized: z.ZodOptional<z.ZodBoolean>;
26322
- } & {
26323
26741
  universalFlowId: z.ZodOptional<z.ZodString>;
26324
- universalFlowRevision: z.ZodOptional<z.ZodString>;
26325
26742
  parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
26326
26743
  nodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
26327
26744
  type: z.ZodOptional<z.ZodString>;
@@ -26387,6 +26804,17 @@ declare const BaseFlow: z.ZodObject<{
26387
26804
  }[] | undefined;
26388
26805
  }>>>;
26389
26806
  autoCreateInstances: z.ZodOptional<z.ZodBoolean>;
26807
+ } & {
26808
+ name: z.ZodString;
26809
+ state: z.ZodOptional<z.ZodNativeEnum<typeof WorkspaceElementState>>;
26810
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>, "many">>;
26811
+ revision: z.ZodOptional<z.ZodString>;
26812
+ createdAt: z.ZodOptional<z.ZodString>;
26813
+ updatedAt: z.ZodOptional<z.ZodString>;
26814
+ archivedAt: z.ZodOptional<z.ZodString>;
26815
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
26816
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
26817
+ universalFlowRevision: z.ZodOptional<z.ZodString>;
26390
26818
  }, "strip", z.ZodTypeAny, {
26391
26819
  id: string;
26392
26820
  name: string;
@@ -26402,11 +26830,9 @@ declare const BaseFlow: z.ZodObject<{
26402
26830
  archivedAt?: string | undefined;
26403
26831
  isDeactivated?: boolean | undefined;
26404
26832
  integrationId?: string | undefined;
26405
- parentId?: string | undefined;
26406
26833
  isCustomized?: boolean | undefined;
26407
26834
  parametersSchema?: DataSchema | undefined;
26408
26835
  universalFlowId?: string | undefined;
26409
- universalFlowRevision?: string | undefined;
26410
26836
  nodes?: Record<string, {
26411
26837
  concurrency?: number | undefined;
26412
26838
  type?: string | undefined;
@@ -26427,6 +26853,7 @@ declare const BaseFlow: z.ZodObject<{
26427
26853
  }[] | undefined;
26428
26854
  }> | undefined;
26429
26855
  autoCreateInstances?: boolean | undefined;
26856
+ universalFlowRevision?: string | undefined;
26430
26857
  }, {
26431
26858
  id: string;
26432
26859
  name: string;
@@ -26442,11 +26869,9 @@ declare const BaseFlow: z.ZodObject<{
26442
26869
  archivedAt?: string | undefined;
26443
26870
  isDeactivated?: boolean | undefined;
26444
26871
  integrationId?: string | undefined;
26445
- parentId?: string | undefined;
26446
26872
  isCustomized?: boolean | undefined;
26447
26873
  parametersSchema?: DataSchema | undefined;
26448
26874
  universalFlowId?: string | undefined;
26449
- universalFlowRevision?: string | undefined;
26450
26875
  nodes?: Record<string, {
26451
26876
  concurrency?: number | undefined;
26452
26877
  type?: string | undefined;
@@ -26467,61 +26892,10 @@ declare const BaseFlow: z.ZodObject<{
26467
26892
  }[] | undefined;
26468
26893
  }> | undefined;
26469
26894
  autoCreateInstances?: boolean | undefined;
26895
+ universalFlowRevision?: string | undefined;
26470
26896
  }>;
26471
26897
  type BaseFlow = z.infer<typeof BaseFlow>;
26472
26898
 
26473
- interface FlowNodeSpec {
26474
- name: string;
26475
- description: string;
26476
- isTrigger?: boolean;
26477
- requiresIntegration?: boolean;
26478
- requiresDataSpec?: boolean;
26479
- isDeprecated?: boolean;
26480
- isHidden?: boolean;
26481
- direction?: FieldMappingDirection;
26482
- version?: number;
26483
- getSubFlowRootNodeKey?: (node: FlowNode) => string;
26484
- }
26485
- declare class FlowNodeSpec implements FlowNodeSpec {
26486
- constructor(args: FlowNodeSpec);
26487
- }
26488
-
26489
- declare enum FlowNodeType {
26490
- ApiTrigger = "api-trigger",
26491
- ScheduleTrigger = "schedule-trigger",
26492
- AppEventTrigger = "app-event-trigger",
26493
- DataRecordCreatedTrigger = "data-record-created-trigger",
26494
- DataRecordUpdatedTrigger = "data-record-updated-trigger",
26495
- DataRecordDeletedTrigger = "data-record-deleted-trigger",
26496
- ConnectorEventTrigger = "connector-event-trigger",
26497
- SearchDataRecords = "search-data-records",
26498
- ListDataRecords = "list-data-records",
26499
- FindOrCreateDataRecord = "find-or-create-data-record",
26500
- LookupDataRecord = "lookup-data-record",
26501
- FindDataRecordById = "find-data-record-by-id",
26502
- CreateDataRecord = "create-data-record",
26503
- UpdateDataRecord = "update-data-record",
26504
- DeleteDataRecord = "delete-data-record",
26505
- CreateDataLink = "create-data-link",
26506
- FindDataLink = "find-data-link",
26507
- DeleteDataLink = "delete-data-link",
26508
- TransformData = "transform-data",
26509
- Filter = "filter",
26510
- ForEachV2 = "for-each-v2",
26511
- RunJavascript = "run-javascript",
26512
- IntegrationSpecificOperation = "integration-specific-operation",
26513
- ApiRequestToYourApp = "api-request-to-your-app",
26514
- ApiRequestToExernalApp = "api-request-to-external-app",
26515
- CustomHttpRequest = "custom-http-request",
26516
- RunAction = "run-action",
26517
- ApiRequest = "api-request",
26518
- CustomApiRequest = "custom-api-request",
26519
- HttpRequest = "http-request",
26520
- ForEach = "for-each",
26521
- FindDataRecords = "find-data-records"
26522
- }
26523
- declare const FLOW_NODE_SPECS: Record<FlowNodeType, FlowNodeSpec>;
26524
-
26525
26899
  declare const BaseIntegration: z.ZodObject<{
26526
26900
  id: z.ZodString;
26527
26901
  key: z.ZodOptional<z.ZodString>;
@@ -27886,5 +28260,5 @@ declare function getParentNodeKeys(flow: Flow | FlowInstance, nodeKey: string):
27886
28260
  declare function getUpstreamNodeKeys(flow: Flow | FlowInstance, nodeKey: string): string[];
27887
28261
  declare function hasCycles(nodes?: Record<string, FlowNode>): boolean;
27888
28262
 
27889
- export { ACTIONS, AccessDeniedError, ActionAccessor, ActionApiResponse, ActionDependency, ActionDependencyType, ActionEditableProperties, ActionInstanceAccessor, ActionInstanceApiResponse, ActionInstanceSetupError, ActionInstancesAccessor, ActionRunError, ActionRunLogRecordApiResponse, ActionRunLogStatus, ActionRunResponse, ActionType, ActionsAccessor, AlertSeverity, AlertStatus, AlertType, ApiRequestSpec, AppDataSchemaAccessor, AppDataSchemaApiResponse, AppDataSchemaInstanceAccessor, AppDataSchemaInstanceApiResponse, AppDataSchemaInstancesAccessor, AppDataSchemasAccessor, AppEventLogRecordApiResponse, AppEventSubscriptionAccessor, AppEventSubscriptionApiResponse, AppEventSubscriptionsAccessor, AppEventTypeAccessor, AppEventTypeApiResponse, AppEventTypesAccessor, AppliedToIntegrations, BadRequestError, BadRequestErrorKey, BaseAction, BaseActionInstance, BaseActionRunLogRecord, BaseAppDataSchema, BaseAppDataSchemaInstance, BaseAppEventSubscription, BaseAppEventType, BaseConnection, BaseCustomer, BaseDataLinkTable, BaseDataLinkTableInstance, BaseDataSource, BaseDataSourceInstance, BaseExternalEvent, BaseExternalEventLogRecord, BaseExternalEventPull, BaseExternalEventSubscription, BaseFieldMapping, BaseFieldMappingInstance, BaseFlow, BaseFlowInstance, BaseFlowRun, BaseIntegration, BaseIntegrationLevelMembraneInterface, BaseIntegrationLevelMembraneInterfaceEditableProperties, BaseIntegrationLevelMembraneInterfaceReadOnlyProperties, BaseMembraneInterface, BaseMembraneInterfaceEditableProperties, BaseMembraneInterfaceReadOnlyProperties, BaseScenario, BaseScreen, BaseWorkspaceElement, CONNECTOR_AUTH_TYPES, CONNECTOR_CATEGORIES, CONNECTOR_DATA_DIR, CONNECTOR_DOCS_DIR, CONNECTOR_EVENTS_DIR, CONNECTOR_GLOBAL_WEBHOOKS_DIR, CONNECTOR_METHOD_IMPLEMENTATION_SUFFIXES, CONNECTOR_OPERATIONS_DIR, CommonInstancesListQuery, CommonIntegrationOrConnectionQuery, CommonListElementsQuery, ConcurrencyError, ConcurrencyErrorKey, ConfigurationError, ConfigurationState, ConnectionAccessor, ConnectionApiResponse, ConnectionApiResponseWithSecrets, ConnectionDataCollectionAccessor, ConnectionError, ConnectionErrorKey, ConnectionLevelActionAccessor, ConnectionLevelActionsAccessor, ConnectionLevelDataSourceAccessor, ConnectionLevelDataSourcesAccessor, ConnectionLevelFieldMappingAccessor, ConnectionLevelFieldMappingsAccessor, ConnectionLevelFlowAccessor, ConnectionLevelFlowsAccessor, ConnectionMessagePayload, ConnectionOperationAccessor, ConnectionProxy, ConnectionRequest, ConnectionSelector, ConnectionSpec, ConnectionsAccessor, ConnectorAuthMethodTypes, ConnectorCopilotFileChunkTopicKey, ConnectorCopilotSuggestionType, ConnectorDataCollectionEventImplementationType, ConnectorDataCollectionMethodKeys, ConnectorDataLocationTypes, ConnectorEventHandlerMethods, ConnectorEventImplementationType, ConnectorMethodImplementationType, ConnectorOperationMethodImplementationTypes, ConnectorStatus, CopilotActionStatus, CopilotActionType, CopilotActivityScope, CopilotActivityType, CopilotTaskStatus, CopilotTaskType, CreateActionInstanceRequest, CreateActionRequest, CreateConnectionRequest, CreateCustomerRequest, CreateDataSourceInstanceRequest, CreateDataSourceRequest, CreateFlowNodeRequest, CreateFlowRequest, CreateFlowRunRequest, CreateIntegrationRequest, CustomCodeError, CustomerAccessor, CustomerApiResponse, CustomerLimits, CustomerSelector, CustomersAccessor, DATA_RECORD_SCHEMA, DEFAULT_FULL_SYNC_INTERVAL_SECONDS, DEFAULT_PULL_UPDATES_INTERVAL_SECONDS, DataBuilderFormulaType, DataCollectionCreateRequest, DataCollectionCreateResponse, DataCollectionCreateSpec, DataCollectionDeleteRequest, DataCollectionDeleteResponse, DataCollectionDeleteSpec, DataCollectionEventType, DataCollectionEventTypeSpec, DataCollectionEventsSpec, DataCollectionFindByIdRequest, DataCollectionFindByIdResponse, DataCollectionFindByIdSpec, DataCollectionFindRequest, DataCollectionFindResponse, DataCollectionFindSpec, DataCollectionListRequest, DataCollectionListResponse, DataCollectionListResponseDrilldown, DataCollectionListSpec, DataCollectionMatchRequest, DataCollectionMatchResponse, DataCollectionMatchSpec, DataCollectionMethodRequest, DataCollectionMethodSpec, DataCollectionSearchRequest, DataCollectionSearchResponse, DataCollectionSearchSpec, DataCollectionSpec, DataCollectionUdmSpec, DataCollectionUdmsSpec, DataCollectionUpdateRequest, DataCollectionUpdateResponse, DataCollectionUpdateSpec, DataFilterCondition, DataForm, DataLink, DataLinkDirection, DataLinkTableAccessor, DataLinkTableApiResponse, DataLinkTableConfig, DataLinkTableInstanceAccessor, DataLinkTableInstanceApiResponse, DataLinkTableInstancesAccessor, DataLinkTablesAccessor, DataLocationMethodImplementationTypes, DataLocationTypeCollection, DataLocatorStep, DataLocatorStepArrayItem, DataLocatorStepObjectProperty, DataLocatorStepType, DataRecordSchema, DataSchema, DataSourceAccessor, DataSourceApiResponse, DataSourceInstanceAccessor, DataSourceInstanceApiResponse, DataSourceInstancesAccessor, DataSourceUnitConfig, DataSourcesAccessor, DependencyError, DownstreamFlowNodeRunSchema, EDITABLE_LIMITS, ElementAccessor, ElementInstanceAccessor, ElementInstanceListAccessor, ElementListAccessor, ElementsExportFields, ErrorData, ErrorDataSchema, ErrorType, ExternalEvent, ExternalEventLogRecordApiResponse, ExternalEventLogStatus, ExternalEventPullApiResponse, ExternalEventPullStatus, ExternalEventSubscriptionAccessor, ExternalEventSubscriptionApiResponse, ExternalEventSubscriptionConfig, ExternalEventSubscriptionStatus, ExternalEventSubscriptionType, ExternalEventSubscriptionsAccessor, ExternalEventType, ExternalEventUnitConfig, FLOW_NODE_SPECS, FieldMappingAccessor, FieldMappingApiResponse, FieldMappingDirection, FieldMappingInstanceAccessor, FieldMappingInstanceApiResponse, FieldMappingInstancesAccessor, FieldMappingUnitConfig, FieldMappingsAccessor, FindActionInstancesQuery, FindActionsQuery, FindConnectionsQuery, FindConnectionsResponse, FindCustomersQuery, FindDataSourceEventsQuery, FindDataSourceInstanceSyncsQuery, FindDataSourceInstancesQuery, FindDataSourceSyncsQuery, FindDataSourcesQuery, FindFlowInstancesQuery, FindFlowRunsQuery, FindFlowRunsResponse, FindFlowsQuery, FindIntegrationsQuery, FindScenariosQuery, FlowAccessor, FlowApiResponse, FlowInstanceAccessor, FlowInstanceApiResponse, FlowInstanceNode, FlowInstanceNodeState, FlowInstanceSetupError, FlowInstancesAccessor, FlowNode, FlowNodeLink, FlowNodeRunOutputMetadataSchema, FlowNodeRunOutputSchema, FlowNodeRunOutputWithoutDownstreamRunsSchema, FlowNodeRunParametersSchema, FlowNodeRunRecordSchema, FlowNodeRunRecordWithoutOutputsDataSchema, FlowNodeRunResultSchema, FlowNodeRunStatus, FlowNodeSpec, FlowNodeType, FlowRunAccessor, FlowRunApiResponse, FlowRunError, FlowRunLaunchedBy, FlowRunLaunchedByApi, FlowRunLaunchedByTrigger, FlowRunNode, FlowRunNodeState, FlowRunState, FlowRunsAccessor, FlowsAccessor, Formula, HTTP_REQUEST_SCHEMA, HandyScenarioTemplateElement, HttpRequestMethod, HttpRequestSpec, IncludeArchivedQuery, IncomingWebhooksState, IntegrationAccessor, IntegrationApiResponse, MembraneClient as IntegrationAppClient, IntegrationAuthOption, IntegrationAuthUi, IntegrationElementLevel, IntegrationElementType, IntegrationLevelActionAccessor, IntegrationLevelActionsListAccessor, IntegrationLevelDataSourceAccessor, IntegrationLevelDataSourcesListAccessor, IntegrationLevelFieldMappingAccessor, IntegrationLevelFieldMappingsListAccessor, IntegrationLevelFlowAccessor, IntegrationLevelFlowsListAccessor, IntegrationsAccessor, InternalError, InvalidLocatorError, LimitUnits, ListActionInstancesForConnectionQuery, ListDataSourceInstancesForConnectionQuery, ListDataSourcesForIntegrationQuery, ListExternalEventLogRecordsQuery, ListExternalEventPullsQuery, ListFlowInstancesForConnectionQuery, ListFlowsForIntegrationQuery, LogRecordType, MIN_FULL_SYNC_INTERVAL_SECONDS, MIN_PULL_UPDATES_INTERVAL_SECONDS, MembraneClient, MembraneError, MinimalConnector, NotAuthenticatedError, NotFoundError, OAUTH1_CONFIG_SCHEMA, OAUTH_CONFIG_SCHEMA, OpenNewConnectionOptions, OrgLimitsType, OrgUserRole, OrgUserStatus, PARALLEL_EXECUTION_LIMITS, PaginationQuery, PaginationResponse, ParallelExecutionLimits, RATE_LIMITS, RateLimitExceededError, RateLimits, ResetFlowInstanceOptions, RunFlowOptions, ScenarioAccessor, ScenarioApiResponse, ScenarioCalculatedProperties, ScenarioEditableProperties, ScenarioElement, ScenarioElementApi, ScenarioTemplate, ScenarioTemplateCategory, ScenarioTemplateElements, ScenariosAccessor, ScreenAccessor, ScreenApiResponse, ScreenBlock, ScreenBlockType, ScreenType, ScreensAccessor, SearchQuery, SelfAccessor, UDM, UNIFIED_DATA_MODELS, UnitRunError, UpdateActionInstanceRequest, UpdateActionRequest, UpdateConnectionRequest, UpdateCustomerRequest, UpdateDataSourceInstanceRequest, UpdateDataSourceRequest, UpdateFlowRequest, UpdateIntegrationRequest, UpstreamFlowNodeRunSchema, UsageType, UserAccessor, UsersAccessor, WORKSPACE_SIZE_LIMITS, WebhookTypeEnum, WorkspaceElementDependencyType, WorkspaceElementSpecs, WorkspaceElementState, WorkspaceElementType, WorkspaceEventType, WorkspaceNotificationType, WorkspaceOnboardingStep, WorkspaceSizeLimits, WorkspaceSyncEventType, WorkspaceType, __resolveValue, addRequiredFieldsToSchema, addUdmFallbackFields, backwardCompatibleFilterMatch, buildData, buildDataSchema, buildValue, compressDataSchema, createCompoundSchema, createFlowInstanceSchema, createObjectFromLocators, createOrUpdateConnection, createSchema, dataCollectionEventTypeToExternalEventType, dataLocationParametersMatch, doesMatchFilter, excludeFieldsFromSchema, excludeFieldsFromValue, excludeReadOnlyFieldsFromSchema, excludeWriteOnlyFieldsFromSchema, externalEventTypeToDataCollectionEventType, extractFieldLocator, extractMembraneErrorData, findUdmCollectionMapping, findUdmDefaultCollection, findUdmRootLocation, findValueLocators, generateExampleFromSchema, getActionInstanceVariableSchema, getActionRunTimeVariablesSchema, getAllEventMethodFilePaths, getChildNodeKeys, getDataCollectionCreateFields, getDataCollectionUpdateFields, getDataLocationMethodPath, getDownstreamNodeKeys, getErrorFromData, getEventMethodFileKey, getFilterFieldValuesByLocator, getFlowInstanceNodeDependency, getFlowNode, getFlowNodeConfigTimeVariablesSchema, getFlowNodeDescription, getFlowNodeRunTimeVariablesSchema, getFlowNodeSpec, getFlowNodeTitle, getFormula$1 as getFormula, getFormulaLocators, getFormula as getFormula_internalDoNotUse, getFullNameForLocator, getFullTitleForLocator, getIconUriForLocator, getLocatorsFromData, getLocatorsFromSchema, getMissingRequiredFields, getNameComponentsForLocator, getNameForLocator, getNodeInputSchema, getOperatorsBySchema, getParentNodeKeys, getReferenceCollectionPathForSchema, getReferenceCollectionPointerForSchema, getRequiredFieldsFromSchema, getRootNodeKeys, getSchemaByLocator, getSchemaFromValue, getUpstreamNodeKeys, getValueAtLocator, getValueByLocator, getVariableLocators, getWritableFieldsSchema, hasCycles, hasFormulas$1 as hasFormulas, hasFormulas as hasFormulas_internalDoNotUse, injectFormulaCatalog, isDataActionType, isDataLocationMethodSupported, isFormula$1 as isFormula, isFormula as isFormula_internalDoNotUse, isMembraneError, isObject, isSameDataLocation, isSchemaEmpty, isStream, isValidLocator, locatorToField, locatorToSteps, locatorToString, makeDataLocationOperationPath, makeDataLocationPath, makeDataRecordSchema, makeObjectPropertyLocator, makeSchemaForLocator, mergeSchemas, mergeWithFormulas, nonEmptyObjectProperties, parseDataLocationPath, parseDate, patchSchema, pickFieldsFromSchema, pickFieldsFromValue, populateSchemaTitles, processCopy, removeNonExistentVars, removeRequiredFieldsFromSchema, resolveFormulas, schemaAllowsCustomValue, schemaHasFixedValues, schemaHasProperties, schemaIsNumber, schemaIsScalar, schemaTypeFromValue, schemaWithTitle, setSchemaAtLocator, setValueAtLocator, stepsToLocator, streamToString, transformVariablesWith, transformVars, truncateData, unwrapSchema, unwrapSchemas, updateFlowInstanceSchema, updateImpliedSchema, valueToSchema, valueToString, walkSchema, wrapAnyOfSchema, zodBooleanCoercion };
27890
- export type { Action, ActionInstance, ActionInstanceSelector, ActionRunLogRecord, ActionSelector, ActionSpec, Alert, App, AppCategory, AppDataSchema, AppDataSchemaInstance, AppDataSchemaInstanceSelector, AppEvent, AppEventSubscription, AppEventSubscriptionCreateRequest, AppEventSubscriptionSelector, AppEventSubscriptionUpdateRequest, AppEventType, BaseConnector, BaseElementInstance, CaseFormulaValue, CaseFormulaValueItem, ConfigurationStateResult, Connection, ConnectionUiSpec, ConnectorApiType, ConnectorAuth, ConnectorAuthClientCredentials, ConnectorAuthHandlerBase, ConnectorAuthIntegrationAppToken, ConnectorAuthMembraneToken, ConnectorAuthOAuth1, ConnectorAuthOAuth1Config, ConnectorAuthOAuth2, ConnectorAuthOAuth2Config, ConnectorAuthOAuthConfig, ConnectorAuthProxy, ConnectorAuthSpec, ConnectorAuthType, ConnectorCopilotSuggestion, ConnectorCopilotSuggestionAction, ConnectorDataCollection, ConnectorDataCollectionBase, ConnectorDataCollectionEvent, ConnectorDataCollectionEventCustomPull, ConnectorDataCollectionEventFullScan, ConnectorDataCollectionEventImplementationTypeKey, ConnectorDataCollectionEventPullLatestRecords, ConnectorDataCollectionEventType, ConnectorDataCollectionEventWebhook, ConnectorDataCollectionMethod, ConnectorEventGlobalWebhookGetEventSelectorResponse, ConnectorEventHandler, ConnectorEventListItem, ConnectorEventSpec, ConnectorGlobalWebhookHandleRequest, ConnectorGlobalWebhookHandleResponse, ConnectorGlobalWebhookHandler, ConnectorGlobalWebhookListItem, ConnectorGlobalWebhookSpec, ConnectorMethodImplementation, ConnectorMethodImplementationBase, ConnectorMethodImplementationGraphqlApiMapping, ConnectorMethodImplementationJavascript, ConnectorMethodImplementationMapping, ConnectorMethodImplementationNotSupported, ConnectorMethodImplementationOperationMapping, ConnectorMethodImplementationRestApiMapping, ConnectorOperationHandler, ConnectorOperationMethod, ConnectorSpec, ConnectorUdmCollectionMapping, ConnectorUdmListLitem, ConnectorUdmSpec, ConnectorUiSpec, CopilotAction, CopilotActionReference, CopilotActivity, CopilotActivityDataTask, CopilotActivityNotificationData, CopilotTask, CreateAppDataSchemaInstanceRequest, CreateAppDataSchemaRequest, CreateAppEventSubscriptionRequest, CreateAppEventTypeRequest, CreateDataLinkRequest, CreateDataLinkTableInstanceRequest, CreateDataLinkTableRequest, CreateFieldMappingInstanceRequest, CreateFieldMappingRequest, CreateFlowInstanceRequest, CreateScenarioTemplateRequest, CreateScreenRequest, CreateUserRequest, Customer, DataCollectionEvent, DataCollectionEventsRequest, DataCollectionEventsResponse, DataCollectionListItem, DataCollectionMixin, DataCollectionParseUnifiedFieldsRequest, DataCollectionParseUnifiedFieldsResponse, DataCollectionSubscribeRequest, DataCollectionSubscribeResponse, DataCollectionUnsubscribeRequest, DataCollectionUnsubscribeResponse, DataCollectionUpdateSubscriptionRequest, DataCollectionUpdateSubscriptionResponse, DataEventWebhookPayload, DataFilter, DataFormArgs, DataLinkInTableSelector, DataLinkSelector, DataLinkTable, DataLinkTableInstance, DataLinkTableInstanceSelector, DataLocationPointer, DataLocator, DataRecord, DataSource, DataSourceInstance, DataSourceInstanceSelector, DataSourceSelector, DeleteDataLinkRequest, DownstreamFlowNodeRun, ElementInstanceFields, ElementInstanceSelector, ElementTemplateFields, EngineWorkspace, EngineWorkspaceSettings, EngineWorkspaceWithOrgData, ErrorConstructorArg, EvalOperator, ExternalEventApiResponse, ExternalEventCustomPullCollectEventsRequest, ExternalEventCustomPullCollectEventsResponse, ExternalEventCustomPullSubscribeResponse, ExternalEventLogRecord, ExternalEventPull, ExternalEventSubscription, ExternalEventWebhookHandleRequest, ExternalEventWebhookHandleResponse, ExternalEventWebhookRefreshRequest, ExternalEventWebhookRefreshResponse, ExternalEventWebhookSubscribeRequest, ExternalEventWebhookSubscribeResponse, ExternalEventWebhookUnsubscribeRequest, FieldMapping, FieldMappingInstance, FieldMappingInstanceSelector, FieldMappingSelector, FieldValueOption, FindAppDataSchemaInstancesQuery, FindAppDataSchemasQuery, FindAppEventSubscriptionsQuery, FindAppEventTypesQuery, FindAppEventsQuery, FindDataLinkQuery, FindDataLinkTableInstancesQuery, FindDataLinkTablesQuery, FindDataLinksInTableQuery, FindDataLinksQuery, FindDataLinksResponse, FindDataSourceInstancesResponse, FindExternalEventLogsQuery, FindExternalEventPullsQuery, FindExternalEventSubscriptionsQuery, FindFieldMappingInstancesQuery, FindFieldMappingsQuery, FindIntegrationsResponse, FindScenarioTemplatesQuery, FindScreensQuery, FindUsersQuery, Flow, FlowInstance, FlowInstanceSelector, FlowNodeHandlerRunResponse, FlowNodeRunOutput, FlowNodeRunOutputMetadata, FlowNodeRunOutputWithoutDownstreamRuns, FlowNodeRunParameters, FlowNodeRunRecord, FlowNodeRunRecordWithoutOutputsData, FlowNodeRunResult, FlowRun, FlowSelector, GraphQLApiMapping, GraphQLFieldMapping, GraphqlApiClientInput, HandyScenarioTemplateElementApi, IWorkspaceUpdate, Integration, IntegrationAuthOptionLegacy, IntegrationElement, IntegrationElementInstance, IntegrationElementInstanceDependency, IntegrationSpecificElementSelector, ListFieldMappingInstancesForConnectionQuery, ListFieldMappingsForIntegrationQuery, LogRecord, LookupValue, MapFormulaValue, MappingItem, OpenActionConfigurationOptions, OpenDataSourceConfigurationOptions, OpenFieldMappingInstanceConfigurationOptions, OpenFlowInstanceConfigurationOptions, OpenFlowInstanceEditorOptions, OpenFlowRunEditorOptions, OpenapiMapping, OperationListItem, OperationMapping, OperationRunRequest, OperationRunResponse, OperationSpec, Org, OrgLimits, OrgUser, OrgWorkspace, PatchSchemaOption, PlatformUser, PullLatestRecordsEventOutput, ResolveFormulaParams, RestApiClientConstructorOptions, RestApiClientInput, RestApiClientOptions, RestApiClientOutput, RestApiClientOverride, RestApiClientResponseHandler, RestApiMapping, Scenario, ScenarioTemplateElementOverride, ScenarioTemplateElementsApi, ScenarioTemplateIntegration, ScenarioTemplateKeyCollision, Screen, ScreenBlockApi, ScreenSelector, Self, UnifiedDataModel, UpdateAppDataSchemaInstanceRequest, UpdateAppDataSchemaRequest, UpdateAppEventSubscriptionRequest, UpdateAppEventTypeRequest, UpdateDataLinkTableInstanceRequest, UpdateDataLinkTableRequest, UpdateFieldMappingInstanceRequest, UpdateFieldMappingRequest, UpdateFlowInstanceRequest, UpdateScenarioTemplateRequest, UpdateScreenRequest, UpdateUserRequest, UpstreamFlowNodeRun, UsageEntry, UsageWithCredits, User, UserSelector, UserWorkspaceSettings, ValueToSchemaOptions, Webhook, WebhookType, WithExecutionLogs, Workspace, WorkspaceElementCalculateStateResult, WorkspaceElementDependency, WorkspaceElementReference, WorkspaceElementSpec, WorkspaceElements, WorkspaceLimit, WorkspaceLimits, WorkspaceNotification, WorkspaceSyncEvent, WorkspaceUpdate, WorkspaceUser };
28263
+ export { ACTIONS, AccessDeniedError, ActionAccessor, ActionApiResponse, ActionDependency, ActionDependencyType, ActionEditableProperties, ActionInstanceAccessor, ActionInstanceApiResponse, ActionInstanceSetupError, ActionInstancesAccessor, ActionRunError, ActionRunLogRecordApiResponse, ActionRunLogStatus, ActionRunResponse, ActionType, ActionsAccessor, AlertSeverity, AlertStatus, AlertType, ApiRequestSpec, AppDataSchemaAccessor, AppDataSchemaApiResponse, AppDataSchemaInstanceAccessor, AppDataSchemaInstanceApiResponse, AppDataSchemaInstancesAccessor, AppDataSchemasAccessor, AppEventLogRecordApiResponse, AppEventSubscriptionAccessor, AppEventSubscriptionApiResponse, AppEventSubscriptionsAccessor, AppEventTypeAccessor, AppEventTypeApiResponse, AppEventTypesAccessor, AppliedToIntegrations, BadRequestError, BadRequestErrorKey, BaseAction, BaseActionInstance, BaseActionRunLogRecord, BaseAppDataSchema, BaseAppDataSchemaInstance, BaseAppEventSubscription, BaseAppEventType, BaseConnection, BaseCustomer, BaseDataLinkTable, BaseDataLinkTableInstance, BaseDataSource, BaseDataSourceInstance, BaseExternalEvent, BaseExternalEventLogRecord, BaseExternalEventPull, BaseExternalEventSubscription, BaseFieldMapping, BaseFieldMappingInstance, BaseFlow, BaseFlowInstance, BaseFlowRun, BaseIntegration, BaseIntegrationLevelMembraneInterface, BaseIntegrationLevelMembraneInterfaceEditableProperties, BaseIntegrationLevelMembraneInterfaceReadOnlyProperties, BaseMembraneInterface, BaseMembraneInterfaceEditableProperties, BaseMembraneInterfaceReadOnlyProperties, BaseScenario, BaseScreen, BaseWorkspaceElement, CONNECTOR_AUTH_TYPES, CONNECTOR_CATEGORIES, CONNECTOR_DATA_DIR, CONNECTOR_DOCS_DIR, CONNECTOR_EVENTS_DIR, CONNECTOR_GLOBAL_WEBHOOKS_DIR, CONNECTOR_METHOD_IMPLEMENTATION_SUFFIXES, CONNECTOR_OPERATIONS_DIR, CommonInstancesListQuery, CommonIntegrationOrConnectionQuery, CommonListElementsQuery, ConcurrencyError, ConcurrencyErrorKey, ConfigurationError, ConfigurationState, ConnectionAccessor, ConnectionApiResponse, ConnectionApiResponseWithSecrets, ConnectionDataCollectionAccessor, ConnectionError, ConnectionErrorKey, ConnectionLevelActionAccessor, ConnectionLevelActionsAccessor, ConnectionLevelDataSourceAccessor, ConnectionLevelDataSourcesAccessor, ConnectionLevelFieldMappingAccessor, ConnectionLevelFieldMappingsAccessor, ConnectionLevelFlowAccessor, ConnectionLevelFlowsAccessor, ConnectionMessagePayload, ConnectionOperationAccessor, ConnectionProxy, ConnectionRequest, ConnectionSelector, ConnectionSpec, ConnectionsAccessor, ConnectorAuthMethodTypes, ConnectorCopilotFileChunkTopicKey, ConnectorCopilotSuggestionType, ConnectorDataCollectionEventImplementationType, ConnectorDataCollectionMethodKeys, ConnectorDataLocationTypes, ConnectorEventHandlerMethods, ConnectorEventImplementationType, ConnectorMethodImplementationType, ConnectorOperationMethodImplementationTypes, ConnectorStatus, CopilotActionStatus, CopilotActionType, CopilotActivityScope, CopilotActivityType, CopilotTaskStatus, CopilotTaskType, CreateActionInstanceRequest, CreateActionRequest, CreateConnectionRequest, CreateCustomerRequest, CreateDataSourceInstanceRequest, CreateDataSourceRequest, CreateFieldMappingRequest, CreateFlowNodeRequest, CreateFlowRequest, CreateFlowRunRequest, CreateIntegrationRequest, CustomCodeError, CustomerAccessor, CustomerApiResponse, CustomerLimits, CustomerSelector, CustomersAccessor, DATA_RECORD_SCHEMA, DEFAULT_FULL_SYNC_INTERVAL_SECONDS, DEFAULT_PULL_UPDATES_INTERVAL_SECONDS, DataBuilderFormulaType, DataCollectionCreateRequest, DataCollectionCreateResponse, DataCollectionCreateSpec, DataCollectionDeleteRequest, DataCollectionDeleteResponse, DataCollectionDeleteSpec, DataCollectionEventType, DataCollectionEventTypeSpec, DataCollectionEventsSpec, DataCollectionFindByIdRequest, DataCollectionFindByIdResponse, DataCollectionFindByIdSpec, DataCollectionFindRequest, DataCollectionFindResponse, DataCollectionFindSpec, DataCollectionListRequest, DataCollectionListResponse, DataCollectionListResponseDrilldown, DataCollectionListSpec, DataCollectionMatchRequest, DataCollectionMatchResponse, DataCollectionMatchSpec, DataCollectionMethodRequest, DataCollectionMethodSpec, DataCollectionSearchRequest, DataCollectionSearchResponse, DataCollectionSearchSpec, DataCollectionSpec, DataCollectionUdmSpec, DataCollectionUdmsSpec, DataCollectionUpdateRequest, DataCollectionUpdateResponse, DataCollectionUpdateSpec, DataFilterCondition, DataForm, DataLink, DataLinkDirection, DataLinkTableAccessor, DataLinkTableApiResponse, DataLinkTableConfig, DataLinkTableInstanceAccessor, DataLinkTableInstanceApiResponse, DataLinkTableInstancesAccessor, DataLinkTablesAccessor, DataLocationMethodImplementationTypes, DataLocationTypeCollection, DataLocatorStep, DataLocatorStepArrayItem, DataLocatorStepObjectProperty, DataLocatorStepType, DataRecordSchema, DataSchema, DataSourceAccessor, DataSourceApiResponse, DataSourceEditableProperties, DataSourceInstanceAccessor, DataSourceInstanceApiResponse, DataSourceInstancesAccessor, DataSourceUnitConfig, DataSourcesAccessor, DependencyError, DownstreamFlowNodeRunSchema, EDITABLE_LIMITS, ElementAccessor, ElementInstanceAccessor, ElementInstanceListAccessor, ElementListAccessor, ElementsExportFields, ErrorData, ErrorDataSchema, ErrorType, ExternalEvent, ExternalEventLogRecordApiResponse, ExternalEventLogStatus, ExternalEventPullApiResponse, ExternalEventPullStatus, ExternalEventSubscriptionAccessor, ExternalEventSubscriptionApiResponse, ExternalEventSubscriptionConfig, ExternalEventSubscriptionStatus, ExternalEventSubscriptionType, ExternalEventSubscriptionsAccessor, ExternalEventType, ExternalEventUnitConfig, FLOW_NODE_SPECS, FieldMappingAccessor, FieldMappingApiResponse, FieldMappingDirection, FieldMappingEditableProperties, FieldMappingInstanceAccessor, FieldMappingInstanceApiResponse, FieldMappingInstancesAccessor, FieldMappingUnitConfig, FieldMappingsAccessor, FindActionInstancesQuery, FindActionsQuery, FindConnectionsQuery, FindConnectionsResponse, FindCustomersQuery, FindDataSourceEventsQuery, FindDataSourceInstanceSyncsQuery, FindDataSourceInstancesQuery, FindDataSourceSyncsQuery, FindDataSourcesQuery, FindFieldMappingsQuery, FindFlowInstancesQuery, FindFlowRunsQuery, FindFlowRunsResponse, FindFlowsQuery, FindIntegrationsQuery, FindScenariosQuery, FlowAccessor, FlowApiResponse, FlowEditableProperties, FlowInstanceAccessor, FlowInstanceApiResponse, FlowInstanceNode, FlowInstanceNodeState, FlowInstanceSetupError, FlowInstancesAccessor, FlowNode, FlowNodeLink, FlowNodeRunOutputMetadataSchema, FlowNodeRunOutputSchema, FlowNodeRunOutputWithoutDownstreamRunsSchema, FlowNodeRunParametersSchema, FlowNodeRunRecordSchema, FlowNodeRunRecordWithoutOutputsDataSchema, FlowNodeRunResultSchema, FlowNodeRunStatus, FlowNodeSpec, FlowNodeType, FlowRunAccessor, FlowRunApiResponse, FlowRunError, FlowRunLaunchedBy, FlowRunLaunchedByApi, FlowRunLaunchedByTrigger, FlowRunNode, FlowRunNodeState, FlowRunState, FlowRunsAccessor, FlowsAccessor, Formula, HTTP_REQUEST_SCHEMA, HandyScenarioTemplateElement, HttpRequestMethod, HttpRequestSpec, IncludeArchivedQuery, IncomingWebhooksState, IntegrationAccessor, IntegrationApiResponse, MembraneClient as IntegrationAppClient, IntegrationAuthOption, IntegrationAuthUi, IntegrationElementLevel, IntegrationElementType, IntegrationLevelActionAccessor, IntegrationLevelActionsListAccessor, IntegrationLevelDataSourceAccessor, IntegrationLevelDataSourcesListAccessor, IntegrationLevelFieldMappingAccessor, IntegrationLevelFieldMappingsListAccessor, IntegrationLevelFlowAccessor, IntegrationLevelFlowsListAccessor, IntegrationsAccessor, InternalError, InvalidLocatorError, LimitUnits, ListActionInstancesForConnectionQuery, ListDataSourceInstancesForConnectionQuery, ListExternalEventLogRecordsQuery, ListExternalEventPullsQuery, ListFlowInstancesForConnectionQuery, LogRecordType, MIN_FULL_SYNC_INTERVAL_SECONDS, MIN_PULL_UPDATES_INTERVAL_SECONDS, MembraneClient, MembraneError, MinimalConnector, NotAuthenticatedError, NotFoundError, OAUTH1_CONFIG_SCHEMA, OAUTH_CONFIG_SCHEMA, OpenNewConnectionOptions, OrgLimitsType, OrgUserRole, OrgUserStatus, PARALLEL_EXECUTION_LIMITS, PaginationQuery, PaginationResponse, ParallelExecutionLimits, RATE_LIMITS, RateLimitExceededError, RateLimits, ResetFlowInstanceOptions, RunFlowOptions, ScenarioAccessor, ScenarioApiResponse, ScenarioCalculatedProperties, ScenarioEditableProperties, ScenarioElement, ScenarioElementApi, ScenarioTemplate, ScenarioTemplateCategory, ScenarioTemplateElements, ScenariosAccessor, ScreenAccessor, ScreenApiResponse, ScreenBlock, ScreenBlockType, ScreenType, ScreensAccessor, SearchQuery, SelfAccessor, UDM, UNIFIED_DATA_MODELS, UnitRunError, UpdateActionInstanceRequest, UpdateActionRequest, UpdateConnectionRequest, UpdateCustomerRequest, UpdateDataSourceInstanceRequest, UpdateDataSourceRequest, UpdateFieldMappingRequest, UpdateFlowRequest, UpdateIntegrationRequest, UpstreamFlowNodeRunSchema, UsageType, UserAccessor, UsersAccessor, WORKSPACE_SIZE_LIMITS, WebhookTypeEnum, WorkspaceElementDependencyType, WorkspaceElementSpecs, WorkspaceElementState, WorkspaceElementType, WorkspaceEventType, WorkspaceNotificationType, WorkspaceOnboardingStep, WorkspaceSizeLimits, WorkspaceSyncEventType, WorkspaceType, __resolveValue, addRequiredFieldsToSchema, addUdmFallbackFields, backwardCompatibleFilterMatch, buildData, buildDataSchema, buildValue, compressDataSchema, createCompoundSchema, createFlowInstanceSchema, createObjectFromLocators, createOrUpdateConnection, createSchema, dataCollectionEventTypeToExternalEventType, dataLocationParametersMatch, doesMatchFilter, excludeFieldsFromSchema, excludeFieldsFromValue, excludeReadOnlyFieldsFromSchema, excludeWriteOnlyFieldsFromSchema, externalEventTypeToDataCollectionEventType, extractFieldLocator, extractMembraneErrorData, findUdmCollectionMapping, findUdmDefaultCollection, findUdmRootLocation, findValueLocators, generateExampleFromSchema, getActionInstanceVariableSchema, getActionRunTimeVariablesSchema, getAllEventMethodFilePaths, getChildNodeKeys, getDataCollectionCreateFields, getDataCollectionUpdateFields, getDataLocationMethodPath, getDownstreamNodeKeys, getErrorFromData, getEventMethodFileKey, getFilterFieldValuesByLocator, getFlowInstanceNodeDependency, getFlowNode, getFlowNodeConfigTimeVariablesSchema, getFlowNodeDescription, getFlowNodeRunTimeVariablesSchema, getFlowNodeSpec, getFlowNodeTitle, getFormula$1 as getFormula, getFormulaLocators, getFormula as getFormula_internalDoNotUse, getFullNameForLocator, getFullTitleForLocator, getIconUriForLocator, getLocatorsFromData, getLocatorsFromSchema, getMissingRequiredFields, getNameComponentsForLocator, getNameForLocator, getNodeInputSchema, getOperatorsBySchema, getParentNodeKeys, getReferenceCollectionPathForSchema, getReferenceCollectionPointerForSchema, getRequiredFieldsFromSchema, getRootNodeKeys, getSchemaByLocator, getSchemaFromValue, getUpstreamNodeKeys, getValueAtLocator, getValueByLocator, getVariableLocators, getWritableFieldsSchema, hasCycles, hasFormulas$1 as hasFormulas, hasFormulas as hasFormulas_internalDoNotUse, injectFormulaCatalog, isDataActionType, isDataLocationMethodSupported, isFormula$1 as isFormula, isFormula as isFormula_internalDoNotUse, isMembraneError, isObject, isSameDataLocation, isSchemaEmpty, isStream, isValidLocator, locatorToField, locatorToSteps, locatorToString, makeDataLocationOperationPath, makeDataLocationPath, makeDataRecordSchema, makeObjectPropertyLocator, makeSchemaForLocator, mergeSchemas, mergeWithFormulas, nonEmptyObjectProperties, parseDataLocationPath, parseDate, patchSchema, pickFieldsFromSchema, pickFieldsFromValue, populateSchemaTitles, processCopy, removeNonExistentVars, removeRequiredFieldsFromSchema, resolveFormulas, schemaAllowsCustomValue, schemaHasFixedValues, schemaHasProperties, schemaIsNumber, schemaIsScalar, schemaTypeFromValue, schemaWithTitle, setSchemaAtLocator, setValueAtLocator, stepsToLocator, streamToString, transformVariablesWith, transformVars, truncateData, unwrapSchema, unwrapSchemas, updateFlowInstanceSchema, updateImpliedSchema, valueToSchema, valueToString, walkSchema, wrapAnyOfSchema, zodBooleanCoercion };
28264
+ export type { Action, ActionInstance, ActionInstanceSelector, ActionRunLogRecord, ActionSelector, ActionSpec, Alert, App, AppCategory, AppDataSchema, AppDataSchemaInstance, AppDataSchemaInstanceSelector, AppEvent, AppEventSubscription, AppEventSubscriptionCreateRequest, AppEventSubscriptionSelector, AppEventSubscriptionUpdateRequest, AppEventType, BaseConnector, BaseElementInstance, CaseFormulaValue, CaseFormulaValueItem, ConfigurationStateResult, Connection, ConnectionUiSpec, ConnectorApiType, ConnectorAuth, ConnectorAuthClientCredentials, ConnectorAuthHandlerBase, ConnectorAuthIntegrationAppToken, ConnectorAuthMembraneToken, ConnectorAuthOAuth1, ConnectorAuthOAuth1Config, ConnectorAuthOAuth2, ConnectorAuthOAuth2Config, ConnectorAuthOAuthConfig, ConnectorAuthProxy, ConnectorAuthSpec, ConnectorAuthType, ConnectorCopilotSuggestion, ConnectorCopilotSuggestionAction, ConnectorDataCollection, ConnectorDataCollectionBase, ConnectorDataCollectionEvent, ConnectorDataCollectionEventCustomPull, ConnectorDataCollectionEventFullScan, ConnectorDataCollectionEventImplementationTypeKey, ConnectorDataCollectionEventPullLatestRecords, ConnectorDataCollectionEventType, ConnectorDataCollectionEventWebhook, ConnectorDataCollectionMethod, ConnectorEventGlobalWebhookGetEventSelectorResponse, ConnectorEventHandler, ConnectorEventListItem, ConnectorEventSpec, ConnectorGlobalWebhookHandleRequest, ConnectorGlobalWebhookHandleResponse, ConnectorGlobalWebhookHandler, ConnectorGlobalWebhookListItem, ConnectorGlobalWebhookSpec, ConnectorMethodImplementation, ConnectorMethodImplementationBase, ConnectorMethodImplementationGraphqlApiMapping, ConnectorMethodImplementationJavascript, ConnectorMethodImplementationMapping, ConnectorMethodImplementationNotSupported, ConnectorMethodImplementationOperationMapping, ConnectorMethodImplementationRestApiMapping, ConnectorOperationHandler, ConnectorOperationMethod, ConnectorSpec, ConnectorUdmCollectionMapping, ConnectorUdmListLitem, ConnectorUdmSpec, ConnectorUiSpec, CopilotAction, CopilotActionReference, CopilotActivity, CopilotActivityDataTask, CopilotActivityNotificationData, CopilotTask, CreateAppDataSchemaInstanceRequest, CreateAppDataSchemaRequest, CreateAppEventSubscriptionRequest, CreateAppEventTypeRequest, CreateDataLinkRequest, CreateDataLinkTableInstanceRequest, CreateDataLinkTableRequest, CreateFieldMappingInstanceRequest, CreateFlowInstanceRequest, CreateScenarioTemplateRequest, CreateScreenRequest, CreateUserRequest, Customer, DataCollectionEvent, DataCollectionEventsRequest, DataCollectionEventsResponse, DataCollectionListItem, DataCollectionMixin, DataCollectionParseUnifiedFieldsRequest, DataCollectionParseUnifiedFieldsResponse, DataCollectionSubscribeRequest, DataCollectionSubscribeResponse, DataCollectionUnsubscribeRequest, DataCollectionUnsubscribeResponse, DataCollectionUpdateSubscriptionRequest, DataCollectionUpdateSubscriptionResponse, DataEventWebhookPayload, DataFilter, DataFormArgs, DataLinkInTableSelector, DataLinkSelector, DataLinkTable, DataLinkTableInstance, DataLinkTableInstanceSelector, DataLocationPointer, DataLocator, DataRecord, DataSource, DataSourceInstance, DataSourceInstanceSelector, DataSourceSelector, DeleteDataLinkRequest, DownstreamFlowNodeRun, ElementInstanceFields, ElementInstanceSelector, ElementTemplateFields, EngineWorkspace, EngineWorkspaceSettings, EngineWorkspaceWithOrgData, ErrorConstructorArg, EvalOperator, ExternalEventApiResponse, ExternalEventCustomPullCollectEventsRequest, ExternalEventCustomPullCollectEventsResponse, ExternalEventCustomPullSubscribeResponse, ExternalEventLogRecord, ExternalEventPull, ExternalEventSubscription, ExternalEventWebhookHandleRequest, ExternalEventWebhookHandleResponse, ExternalEventWebhookRefreshRequest, ExternalEventWebhookRefreshResponse, ExternalEventWebhookSubscribeRequest, ExternalEventWebhookSubscribeResponse, ExternalEventWebhookUnsubscribeRequest, FieldMapping, FieldMappingInstance, FieldMappingInstanceSelector, FieldMappingSelector, FieldValueOption, FindAppDataSchemaInstancesQuery, FindAppDataSchemasQuery, FindAppEventSubscriptionsQuery, FindAppEventTypesQuery, FindAppEventsQuery, FindDataLinkQuery, FindDataLinkTableInstancesQuery, FindDataLinkTablesQuery, FindDataLinksInTableQuery, FindDataLinksQuery, FindDataLinksResponse, FindDataSourceInstancesResponse, FindExternalEventLogsQuery, FindExternalEventPullsQuery, FindExternalEventSubscriptionsQuery, FindFieldMappingInstancesQuery, FindIntegrationsResponse, FindScenarioTemplatesQuery, FindScreensQuery, FindUsersQuery, Flow, FlowInstance, FlowInstanceSelector, FlowNodeHandlerRunResponse, FlowNodeRunOutput, FlowNodeRunOutputMetadata, FlowNodeRunOutputWithoutDownstreamRuns, FlowNodeRunParameters, FlowNodeRunRecord, FlowNodeRunRecordWithoutOutputsData, FlowNodeRunResult, FlowRun, FlowSelector, GraphQLApiMapping, GraphQLFieldMapping, GraphqlApiClientInput, HandyScenarioTemplateElementApi, IWorkspaceUpdate, Integration, IntegrationAuthOptionLegacy, IntegrationElement, IntegrationElementInstance, IntegrationElementInstanceDependency, IntegrationSpecificElementSelector, ListDataSourcesForIntegrationQuery, ListFieldMappingInstancesForConnectionQuery, ListFieldMappingsForIntegrationQuery, ListFlowsForIntegrationQuery, LogRecord, LookupValue, MapFormulaValue, MappingItem, OpenActionConfigurationOptions, OpenDataSourceConfigurationOptions, OpenFieldMappingInstanceConfigurationOptions, OpenFlowInstanceConfigurationOptions, OpenFlowInstanceEditorOptions, OpenFlowRunEditorOptions, OpenapiMapping, OperationListItem, OperationMapping, OperationRunRequest, OperationRunResponse, OperationSpec, Org, OrgLimits, OrgUser, OrgWorkspace, PatchSchemaOption, PlatformUser, PullLatestRecordsEventOutput, ResolveFormulaParams, RestApiClientConstructorOptions, RestApiClientInput, RestApiClientOptions, RestApiClientOutput, RestApiClientOverride, RestApiClientResponseHandler, RestApiMapping, Scenario, ScenarioTemplateElementOverride, ScenarioTemplateElementsApi, ScenarioTemplateIntegration, ScenarioTemplateKeyCollision, Screen, ScreenBlockApi, ScreenSelector, Self, UnifiedDataModel, UpdateAppDataSchemaInstanceRequest, UpdateAppDataSchemaRequest, UpdateAppEventSubscriptionRequest, UpdateAppEventTypeRequest, UpdateDataLinkTableInstanceRequest, UpdateDataLinkTableRequest, UpdateFieldMappingInstanceRequest, UpdateFlowInstanceRequest, UpdateScenarioTemplateRequest, UpdateScreenRequest, UpdateUserRequest, UpstreamFlowNodeRun, UsageEntry, UsageWithCredits, User, UserSelector, UserWorkspaceSettings, ValueToSchemaOptions, Webhook, WebhookType, WithExecutionLogs, Workspace, WorkspaceElementCalculateStateResult, WorkspaceElementDependency, WorkspaceElementReference, WorkspaceElementSpec, WorkspaceElements, WorkspaceLimit, WorkspaceLimits, WorkspaceNotification, WorkspaceSyncEvent, WorkspaceUpdate, WorkspaceUser };