@membranehq/sdk 0.5.1 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.d.ts +1949 -3947
- package/dist/bundle.js +9 -4
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/action-instances-accessors.d.ts +5 -2
- package/dist/dts/accessors/actions-accessors.d.ts +2 -2
- package/dist/dts/accessors/connections-accessors.d.ts +8 -22
- package/dist/dts/accessors/integrations-accessors.d.ts +8 -22
- package/dist/dts/errors/index.d.ts +10 -1
- package/dist/dts/workspace-elements/api/action-instances-api.d.ts +122 -68
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +74 -189
- package/dist/dts/workspace-elements/api/actions-api.d.ts +253 -531
- package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +21 -21
- package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +7 -7
- package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +22 -22
- package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +18 -18
- package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +7 -7
- package/dist/dts/workspace-elements/api/connections-api.d.ts +354 -273
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +55 -149
- package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +7 -7
- package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +60 -154
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +62 -254
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +45 -139
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +45 -139
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +40 -134
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +20 -128
- package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +158 -374
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +56 -248
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +140 -356
- package/dist/dts/workspace-elements/api/flows-api.d.ts +265 -753
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +135 -101
- package/dist/dts/workspace-elements/api/scenarios-api.d.ts +21 -105
- package/dist/dts/workspace-elements/base/action-instances/types.d.ts +13 -13
- package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +4 -3
- package/dist/dts/workspace-elements/base/actions/index.d.ts +111 -1
- package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +11 -10
- package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +7 -7
- package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +7 -7
- package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +7 -7
- package/dist/dts/workspace-elements/base/connections/types.d.ts +14 -19
- package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +7 -7
- package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +7 -7
- package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +10 -9
- package/dist/dts/workspace-elements/base/data-sources/types.d.ts +8 -8
- package/dist/dts/workspace-elements/base/external-event-log-records/types.d.ts +4 -3
- package/dist/dts/workspace-elements/base/external-event-pulls/types.d.ts +4 -3
- package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +4 -3
- package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +11 -10
- package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +9 -9
- package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +12 -12
- package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +17 -16
- package/dist/dts/workspace-elements/base/flow-runs/flow-node-runs.d.ts +16 -16
- package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +6 -5
- package/dist/dts/workspace-elements/base/flows/types.d.ts +21 -21
- package/dist/dts/workspace-elements/base/integrations/types.d.ts +48 -455
- package/dist/dts/workspace-elements/base/scenarios/types.d.ts +7 -7
- package/dist/dts/workspace-elements/types.d.ts +53 -9
- package/dist/dts/workspace-elements-catalog/index.d.ts +3 -0
- package/dist/dts/workspaces/types.d.ts +3 -1
- package/dist/index.d.ts +2791 -5337
- package/dist/index.js +70 -66
- package/dist/index.js.map +1 -1
- package/dist/index.module.d.mts +2791 -5337
- package/dist/index.module.mjs +67 -66
- package/dist/index.module.mjs.map +1 -1
- package/package.json +1 -3
- package/dist/dts/workspace-elements/base/actions/types.d.ts +0 -85
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const DataSourceInstanceApiResponse: z.ZodObject<{
|
|
3
3
|
id: z.ZodString;
|
|
4
|
-
name: z.ZodString;
|
|
5
4
|
key: z.ZodOptional<z.ZodString>;
|
|
6
5
|
uuid: z.ZodOptional<z.ZodString>;
|
|
7
6
|
description: z.ZodOptional<z.ZodString>;
|
|
7
|
+
name: z.ZodString;
|
|
8
8
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
9
|
-
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
10
9
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
11
10
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
12
11
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
12
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
13
13
|
} & {
|
|
14
14
|
userId: z.ZodString;
|
|
15
15
|
revision: z.ZodString;
|
|
@@ -715,7 +715,7 @@ export declare const DataSourceInstanceApiResponse: z.ZodObject<{
|
|
|
715
715
|
customFields?: boolean | undefined;
|
|
716
716
|
}>>;
|
|
717
717
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
718
|
-
errors: z.ZodOptional<z.ZodArray<
|
|
718
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
|
|
719
719
|
pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
720
720
|
fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
721
721
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -757,12 +757,12 @@ export declare const DataSourceInstanceApiResponse: z.ZodObject<{
|
|
|
757
757
|
}>>;
|
|
758
758
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
759
759
|
id: z.ZodString;
|
|
760
|
-
name: z.ZodString;
|
|
761
760
|
key: z.ZodOptional<z.ZodString>;
|
|
762
761
|
uuid: z.ZodOptional<z.ZodString>;
|
|
763
762
|
description: z.ZodOptional<z.ZodString>;
|
|
763
|
+
name: z.ZodString;
|
|
764
764
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
765
|
-
errors: z.ZodOptional<z.ZodArray<
|
|
765
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
|
|
766
766
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
767
767
|
} & {
|
|
768
768
|
revision: z.ZodString;
|
|
@@ -788,15 +788,15 @@ export declare const DataSourceInstanceApiResponse: z.ZodObject<{
|
|
|
788
788
|
uuid?: string | undefined;
|
|
789
789
|
description?: string | undefined;
|
|
790
790
|
state?: import("..").WorkspaceElementState | undefined;
|
|
791
|
-
errors?:
|
|
792
|
-
isDeactivated?: boolean | undefined;
|
|
791
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
793
792
|
createdAt?: string | undefined;
|
|
794
793
|
updatedAt?: string | undefined;
|
|
795
794
|
archivedAt?: string | undefined;
|
|
795
|
+
isDeactivated?: boolean | undefined;
|
|
796
796
|
integrationId?: string | undefined;
|
|
797
|
-
udm?: string | undefined;
|
|
798
797
|
publishedRevision?: string | undefined;
|
|
799
798
|
customized?: boolean | undefined;
|
|
799
|
+
udm?: string | undefined;
|
|
800
800
|
universalDataSourceId?: string | undefined;
|
|
801
801
|
collectionKey?: string | undefined;
|
|
802
802
|
collectionParameters?: any;
|
|
@@ -812,15 +812,15 @@ export declare const DataSourceInstanceApiResponse: z.ZodObject<{
|
|
|
812
812
|
uuid?: string | undefined;
|
|
813
813
|
description?: string | undefined;
|
|
814
814
|
state?: import("..").WorkspaceElementState | undefined;
|
|
815
|
-
errors?:
|
|
816
|
-
isDeactivated?: boolean | undefined;
|
|
815
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
817
816
|
createdAt?: string | undefined;
|
|
818
817
|
updatedAt?: string | undefined;
|
|
819
818
|
archivedAt?: string | undefined;
|
|
819
|
+
isDeactivated?: boolean | undefined;
|
|
820
820
|
integrationId?: string | undefined;
|
|
821
|
-
udm?: string | undefined;
|
|
822
821
|
publishedRevision?: string | undefined;
|
|
823
822
|
customized?: boolean | undefined;
|
|
823
|
+
udm?: string | undefined;
|
|
824
824
|
universalDataSourceId?: string | undefined;
|
|
825
825
|
collectionKey?: string | undefined;
|
|
826
826
|
collectionParameters?: any;
|
|
@@ -837,11 +837,9 @@ export declare const DataSourceInstanceApiResponse: z.ZodObject<{
|
|
|
837
837
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
838
838
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
839
839
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
840
|
-
error:
|
|
840
|
+
error: z.ZodOptional<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>>;
|
|
841
841
|
integrationId: z.ZodString;
|
|
842
|
-
|
|
843
|
-
parameters: z.ZodOptional<z.ZodUnknown>;
|
|
844
|
-
connectorParameters: z.ZodOptional<z.ZodUnknown>;
|
|
842
|
+
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
845
843
|
createdAt: z.ZodString;
|
|
846
844
|
updatedAt: z.ZodString;
|
|
847
845
|
lastActiveAt: z.ZodOptional<z.ZodString>;
|
|
@@ -849,7 +847,7 @@ export declare const DataSourceInstanceApiResponse: z.ZodObject<{
|
|
|
849
847
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
850
848
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
851
849
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
852
|
-
errors: z.ZodOptional<z.ZodArray<
|
|
850
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
|
|
853
851
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
854
852
|
}, "strip", z.ZodTypeAny, {
|
|
855
853
|
id: string;
|
|
@@ -858,20 +856,18 @@ export declare const DataSourceInstanceApiResponse: z.ZodObject<{
|
|
|
858
856
|
updatedAt: string;
|
|
859
857
|
userId: string;
|
|
860
858
|
integrationId: string;
|
|
861
|
-
error?:
|
|
859
|
+
error?: import("../..").ErrorDataSchema | undefined;
|
|
862
860
|
state?: import("..").WorkspaceElementState | undefined;
|
|
863
|
-
errors?:
|
|
864
|
-
isDeactivated?: boolean | undefined;
|
|
861
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
865
862
|
archivedAt?: string | undefined;
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
connectorParameters?: unknown;
|
|
863
|
+
isDeactivated?: boolean | undefined;
|
|
864
|
+
authOptionKey?: string | undefined;
|
|
869
865
|
isTest?: boolean | undefined;
|
|
866
|
+
meta?: Record<string, any> | undefined;
|
|
870
867
|
disconnected?: boolean | undefined;
|
|
871
868
|
isDefunct?: boolean | undefined;
|
|
872
869
|
lastActiveAt?: string | undefined;
|
|
873
870
|
nextCredentialsRefreshAt?: string | undefined;
|
|
874
|
-
meta?: Record<string, any> | undefined;
|
|
875
871
|
}, {
|
|
876
872
|
id: string;
|
|
877
873
|
name: string;
|
|
@@ -879,29 +875,27 @@ export declare const DataSourceInstanceApiResponse: z.ZodObject<{
|
|
|
879
875
|
updatedAt: string;
|
|
880
876
|
userId: string;
|
|
881
877
|
integrationId: string;
|
|
882
|
-
error?:
|
|
878
|
+
error?: import("../..").ErrorDataSchema | undefined;
|
|
883
879
|
state?: import("..").WorkspaceElementState | undefined;
|
|
884
|
-
errors?:
|
|
885
|
-
isDeactivated?: boolean | undefined;
|
|
880
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
886
881
|
archivedAt?: string | undefined;
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
connectorParameters?: unknown;
|
|
882
|
+
isDeactivated?: boolean | undefined;
|
|
883
|
+
authOptionKey?: string | undefined;
|
|
890
884
|
isTest?: boolean | undefined;
|
|
885
|
+
meta?: Record<string, any> | undefined;
|
|
891
886
|
disconnected?: boolean | undefined;
|
|
892
887
|
isDefunct?: boolean | undefined;
|
|
893
888
|
lastActiveAt?: string | undefined;
|
|
894
889
|
nextCredentialsRefreshAt?: string | undefined;
|
|
895
|
-
meta?: Record<string, any> | undefined;
|
|
896
890
|
}>>;
|
|
897
891
|
integration: z.ZodOptional<z.ZodObject<{
|
|
898
892
|
id: z.ZodString;
|
|
899
|
-
name: z.ZodString;
|
|
900
893
|
key: z.ZodOptional<z.ZodString>;
|
|
901
894
|
uuid: z.ZodOptional<z.ZodString>;
|
|
902
895
|
description: z.ZodOptional<z.ZodString>;
|
|
896
|
+
name: z.ZodString;
|
|
903
897
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
904
|
-
errors: z.ZodOptional<z.ZodArray<
|
|
898
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
|
|
905
899
|
revision: z.ZodOptional<z.ZodString>;
|
|
906
900
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
907
901
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -909,44 +903,8 @@ export declare const DataSourceInstanceApiResponse: z.ZodObject<{
|
|
|
909
903
|
logoUri: z.ZodString;
|
|
910
904
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
911
905
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
912
|
-
authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
913
|
-
key: z.ZodString;
|
|
914
|
-
type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
|
|
915
|
-
title: z.ZodOptional<z.ZodString>;
|
|
916
|
-
description: z.ZodOptional<z.ZodString>;
|
|
917
|
-
ui: z.ZodOptional<z.ZodObject<{
|
|
918
|
-
schema: z.ZodOptional<z.ZodAny>;
|
|
919
|
-
helpUri: z.ZodOptional<z.ZodString>;
|
|
920
|
-
}, "strip", z.ZodTypeAny, {
|
|
921
|
-
schema?: any;
|
|
922
|
-
helpUri?: string | undefined;
|
|
923
|
-
}, {
|
|
924
|
-
schema?: any;
|
|
925
|
-
helpUri?: string | undefined;
|
|
926
|
-
}>>;
|
|
927
|
-
}, "strip", z.ZodTypeAny, {
|
|
928
|
-
key: string;
|
|
929
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
930
|
-
description?: string | undefined;
|
|
931
|
-
title?: string | undefined;
|
|
932
|
-
ui?: {
|
|
933
|
-
schema?: any;
|
|
934
|
-
helpUri?: string | undefined;
|
|
935
|
-
} | undefined;
|
|
936
|
-
}, {
|
|
937
|
-
key: string;
|
|
938
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
939
|
-
description?: string | undefined;
|
|
940
|
-
title?: string | undefined;
|
|
941
|
-
ui?: {
|
|
942
|
-
schema?: any;
|
|
943
|
-
helpUri?: string | undefined;
|
|
944
|
-
} | undefined;
|
|
945
|
-
}>, "many">>;
|
|
946
906
|
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
947
|
-
parametersSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
|
|
948
907
|
parameters: z.ZodOptional<z.ZodAny>;
|
|
949
|
-
baseUri: z.ZodString;
|
|
950
908
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
951
909
|
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
952
910
|
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -965,33 +923,20 @@ export declare const DataSourceInstanceApiResponse: z.ZodObject<{
|
|
|
965
923
|
}, "strip", z.ZodTypeAny, {
|
|
966
924
|
id: string;
|
|
967
925
|
name: string;
|
|
968
|
-
baseUri: string;
|
|
969
926
|
logoUri: string;
|
|
970
927
|
key?: string | undefined;
|
|
971
928
|
uuid?: string | undefined;
|
|
972
929
|
description?: string | undefined;
|
|
973
930
|
state?: import("..").WorkspaceElementState | undefined;
|
|
974
|
-
errors?:
|
|
931
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
975
932
|
revision?: string | undefined;
|
|
976
|
-
isDeactivated?: boolean | undefined;
|
|
977
933
|
createdAt?: string | undefined;
|
|
978
934
|
updatedAt?: string | undefined;
|
|
979
935
|
archivedAt?: string | undefined;
|
|
936
|
+
isDeactivated?: boolean | undefined;
|
|
980
937
|
parameters?: any;
|
|
981
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
982
|
-
isTest?: boolean | undefined;
|
|
983
938
|
connectorId?: string | undefined;
|
|
984
939
|
connectorVersion?: string | undefined;
|
|
985
|
-
authOptions?: {
|
|
986
|
-
key: string;
|
|
987
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
988
|
-
description?: string | undefined;
|
|
989
|
-
title?: string | undefined;
|
|
990
|
-
ui?: {
|
|
991
|
-
schema?: any;
|
|
992
|
-
helpUri?: string | undefined;
|
|
993
|
-
} | undefined;
|
|
994
|
-
}[] | undefined;
|
|
995
940
|
oAuthCallbackUri?: string | undefined;
|
|
996
941
|
hasMissingParameters?: boolean | undefined;
|
|
997
942
|
hasDocumentation?: boolean | undefined;
|
|
@@ -1003,38 +948,26 @@ export declare const DataSourceInstanceApiResponse: z.ZodObject<{
|
|
|
1003
948
|
eventsCount?: number | undefined;
|
|
1004
949
|
hasGlobalWebhooks?: boolean | undefined;
|
|
1005
950
|
hasUdm?: boolean | undefined;
|
|
951
|
+
isTest?: boolean | undefined;
|
|
1006
952
|
appUuid?: string | undefined;
|
|
1007
953
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
1008
954
|
}, {
|
|
1009
955
|
id: string;
|
|
1010
956
|
name: string;
|
|
1011
|
-
baseUri: string;
|
|
1012
957
|
logoUri: string;
|
|
1013
958
|
key?: string | undefined;
|
|
1014
959
|
uuid?: string | undefined;
|
|
1015
960
|
description?: string | undefined;
|
|
1016
961
|
state?: import("..").WorkspaceElementState | undefined;
|
|
1017
|
-
errors?:
|
|
962
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
1018
963
|
revision?: string | undefined;
|
|
1019
|
-
isDeactivated?: boolean | undefined;
|
|
1020
964
|
createdAt?: string | undefined;
|
|
1021
965
|
updatedAt?: string | undefined;
|
|
1022
966
|
archivedAt?: string | undefined;
|
|
967
|
+
isDeactivated?: boolean | undefined;
|
|
1023
968
|
parameters?: any;
|
|
1024
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
1025
|
-
isTest?: boolean | undefined;
|
|
1026
969
|
connectorId?: string | undefined;
|
|
1027
970
|
connectorVersion?: string | undefined;
|
|
1028
|
-
authOptions?: {
|
|
1029
|
-
key: string;
|
|
1030
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
1031
|
-
description?: string | undefined;
|
|
1032
|
-
title?: string | undefined;
|
|
1033
|
-
ui?: {
|
|
1034
|
-
schema?: any;
|
|
1035
|
-
helpUri?: string | undefined;
|
|
1036
|
-
} | undefined;
|
|
1037
|
-
}[] | undefined;
|
|
1038
971
|
oAuthCallbackUri?: string | undefined;
|
|
1039
972
|
hasMissingParameters?: boolean | undefined;
|
|
1040
973
|
hasDocumentation?: boolean | undefined;
|
|
@@ -1046,6 +979,7 @@ export declare const DataSourceInstanceApiResponse: z.ZodObject<{
|
|
|
1046
979
|
eventsCount?: number | undefined;
|
|
1047
980
|
hasGlobalWebhooks?: boolean | undefined;
|
|
1048
981
|
hasUdm?: boolean | undefined;
|
|
982
|
+
isTest?: boolean | undefined;
|
|
1049
983
|
appUuid?: string | undefined;
|
|
1050
984
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
1051
985
|
}>>;
|
|
@@ -1064,52 +998,37 @@ export declare const DataSourceInstanceApiResponse: z.ZodObject<{
|
|
|
1064
998
|
updatedAt: string;
|
|
1065
999
|
userId: string;
|
|
1066
1000
|
integrationId: string;
|
|
1067
|
-
error?:
|
|
1001
|
+
error?: import("../..").ErrorDataSchema | undefined;
|
|
1068
1002
|
state?: import("..").WorkspaceElementState | undefined;
|
|
1069
|
-
errors?:
|
|
1070
|
-
isDeactivated?: boolean | undefined;
|
|
1003
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
1071
1004
|
archivedAt?: string | undefined;
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
connectorParameters?: unknown;
|
|
1005
|
+
isDeactivated?: boolean | undefined;
|
|
1006
|
+
authOptionKey?: string | undefined;
|
|
1075
1007
|
isTest?: boolean | undefined;
|
|
1008
|
+
meta?: Record<string, any> | undefined;
|
|
1076
1009
|
disconnected?: boolean | undefined;
|
|
1077
1010
|
isDefunct?: boolean | undefined;
|
|
1078
1011
|
lastActiveAt?: string | undefined;
|
|
1079
1012
|
nextCredentialsRefreshAt?: string | undefined;
|
|
1080
|
-
meta?: Record<string, any> | undefined;
|
|
1081
1013
|
} | undefined;
|
|
1082
1014
|
path?: string | undefined;
|
|
1083
1015
|
integration?: {
|
|
1084
1016
|
id: string;
|
|
1085
1017
|
name: string;
|
|
1086
|
-
baseUri: string;
|
|
1087
1018
|
logoUri: string;
|
|
1088
1019
|
key?: string | undefined;
|
|
1089
1020
|
uuid?: string | undefined;
|
|
1090
1021
|
description?: string | undefined;
|
|
1091
1022
|
state?: import("..").WorkspaceElementState | undefined;
|
|
1092
|
-
errors?:
|
|
1023
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
1093
1024
|
revision?: string | undefined;
|
|
1094
|
-
isDeactivated?: boolean | undefined;
|
|
1095
1025
|
createdAt?: string | undefined;
|
|
1096
1026
|
updatedAt?: string | undefined;
|
|
1097
1027
|
archivedAt?: string | undefined;
|
|
1028
|
+
isDeactivated?: boolean | undefined;
|
|
1098
1029
|
parameters?: any;
|
|
1099
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
1100
|
-
isTest?: boolean | undefined;
|
|
1101
1030
|
connectorId?: string | undefined;
|
|
1102
1031
|
connectorVersion?: string | undefined;
|
|
1103
|
-
authOptions?: {
|
|
1104
|
-
key: string;
|
|
1105
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
1106
|
-
description?: string | undefined;
|
|
1107
|
-
title?: string | undefined;
|
|
1108
|
-
ui?: {
|
|
1109
|
-
schema?: any;
|
|
1110
|
-
helpUri?: string | undefined;
|
|
1111
|
-
} | undefined;
|
|
1112
|
-
}[] | undefined;
|
|
1113
1032
|
oAuthCallbackUri?: string | undefined;
|
|
1114
1033
|
hasMissingParameters?: boolean | undefined;
|
|
1115
1034
|
hasDocumentation?: boolean | undefined;
|
|
@@ -1121,18 +1040,20 @@ export declare const DataSourceInstanceApiResponse: z.ZodObject<{
|
|
|
1121
1040
|
eventsCount?: number | undefined;
|
|
1122
1041
|
hasGlobalWebhooks?: boolean | undefined;
|
|
1123
1042
|
hasUdm?: boolean | undefined;
|
|
1043
|
+
isTest?: boolean | undefined;
|
|
1124
1044
|
appUuid?: string | undefined;
|
|
1125
1045
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
1126
1046
|
} | undefined;
|
|
1127
1047
|
uuid?: string | undefined;
|
|
1128
1048
|
description?: string | undefined;
|
|
1129
1049
|
state?: import("..").WorkspaceElementState | undefined;
|
|
1130
|
-
errors?:
|
|
1131
|
-
isDeactivated?: boolean | undefined;
|
|
1050
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
1132
1051
|
createdAt?: string | undefined;
|
|
1133
1052
|
updatedAt?: string | undefined;
|
|
1134
1053
|
archivedAt?: string | undefined;
|
|
1054
|
+
isDeactivated?: boolean | undefined;
|
|
1135
1055
|
instanceKey?: string | undefined;
|
|
1056
|
+
dataSourceId?: string | undefined;
|
|
1136
1057
|
udm?: string | undefined;
|
|
1137
1058
|
collectionSpec?: {
|
|
1138
1059
|
type: "collection";
|
|
@@ -1281,7 +1202,6 @@ export declare const DataSourceInstanceApiResponse: z.ZodObject<{
|
|
|
1281
1202
|
lastActiveAt?: string | undefined;
|
|
1282
1203
|
isBillable?: boolean | undefined;
|
|
1283
1204
|
} | undefined;
|
|
1284
|
-
dataSourceId?: string | undefined;
|
|
1285
1205
|
isCustomized?: boolean | undefined;
|
|
1286
1206
|
dataSourceRevision?: string | undefined;
|
|
1287
1207
|
universalDataSourceId?: string | undefined;
|
|
@@ -1300,15 +1220,15 @@ export declare const DataSourceInstanceApiResponse: z.ZodObject<{
|
|
|
1300
1220
|
uuid?: string | undefined;
|
|
1301
1221
|
description?: string | undefined;
|
|
1302
1222
|
state?: import("..").WorkspaceElementState | undefined;
|
|
1303
|
-
errors?:
|
|
1304
|
-
isDeactivated?: boolean | undefined;
|
|
1223
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
1305
1224
|
createdAt?: string | undefined;
|
|
1306
1225
|
updatedAt?: string | undefined;
|
|
1307
1226
|
archivedAt?: string | undefined;
|
|
1227
|
+
isDeactivated?: boolean | undefined;
|
|
1308
1228
|
integrationId?: string | undefined;
|
|
1309
|
-
udm?: string | undefined;
|
|
1310
1229
|
publishedRevision?: string | undefined;
|
|
1311
1230
|
customized?: boolean | undefined;
|
|
1231
|
+
udm?: string | undefined;
|
|
1312
1232
|
universalDataSourceId?: string | undefined;
|
|
1313
1233
|
collectionKey?: string | undefined;
|
|
1314
1234
|
collectionParameters?: any;
|
|
@@ -1332,52 +1252,37 @@ export declare const DataSourceInstanceApiResponse: z.ZodObject<{
|
|
|
1332
1252
|
updatedAt: string;
|
|
1333
1253
|
userId: string;
|
|
1334
1254
|
integrationId: string;
|
|
1335
|
-
error?:
|
|
1255
|
+
error?: import("../..").ErrorDataSchema | undefined;
|
|
1336
1256
|
state?: import("..").WorkspaceElementState | undefined;
|
|
1337
|
-
errors?:
|
|
1338
|
-
isDeactivated?: boolean | undefined;
|
|
1257
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
1339
1258
|
archivedAt?: string | undefined;
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
connectorParameters?: unknown;
|
|
1259
|
+
isDeactivated?: boolean | undefined;
|
|
1260
|
+
authOptionKey?: string | undefined;
|
|
1343
1261
|
isTest?: boolean | undefined;
|
|
1262
|
+
meta?: Record<string, any> | undefined;
|
|
1344
1263
|
disconnected?: boolean | undefined;
|
|
1345
1264
|
isDefunct?: boolean | undefined;
|
|
1346
1265
|
lastActiveAt?: string | undefined;
|
|
1347
1266
|
nextCredentialsRefreshAt?: string | undefined;
|
|
1348
|
-
meta?: Record<string, any> | undefined;
|
|
1349
1267
|
} | undefined;
|
|
1350
1268
|
path?: string | undefined;
|
|
1351
1269
|
integration?: {
|
|
1352
1270
|
id: string;
|
|
1353
1271
|
name: string;
|
|
1354
|
-
baseUri: string;
|
|
1355
1272
|
logoUri: string;
|
|
1356
1273
|
key?: string | undefined;
|
|
1357
1274
|
uuid?: string | undefined;
|
|
1358
1275
|
description?: string | undefined;
|
|
1359
1276
|
state?: import("..").WorkspaceElementState | undefined;
|
|
1360
|
-
errors?:
|
|
1277
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
1361
1278
|
revision?: string | undefined;
|
|
1362
|
-
isDeactivated?: boolean | undefined;
|
|
1363
1279
|
createdAt?: string | undefined;
|
|
1364
1280
|
updatedAt?: string | undefined;
|
|
1365
1281
|
archivedAt?: string | undefined;
|
|
1282
|
+
isDeactivated?: boolean | undefined;
|
|
1366
1283
|
parameters?: any;
|
|
1367
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
1368
|
-
isTest?: boolean | undefined;
|
|
1369
1284
|
connectorId?: string | undefined;
|
|
1370
1285
|
connectorVersion?: string | undefined;
|
|
1371
|
-
authOptions?: {
|
|
1372
|
-
key: string;
|
|
1373
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
1374
|
-
description?: string | undefined;
|
|
1375
|
-
title?: string | undefined;
|
|
1376
|
-
ui?: {
|
|
1377
|
-
schema?: any;
|
|
1378
|
-
helpUri?: string | undefined;
|
|
1379
|
-
} | undefined;
|
|
1380
|
-
}[] | undefined;
|
|
1381
1286
|
oAuthCallbackUri?: string | undefined;
|
|
1382
1287
|
hasMissingParameters?: boolean | undefined;
|
|
1383
1288
|
hasDocumentation?: boolean | undefined;
|
|
@@ -1389,18 +1294,20 @@ export declare const DataSourceInstanceApiResponse: z.ZodObject<{
|
|
|
1389
1294
|
eventsCount?: number | undefined;
|
|
1390
1295
|
hasGlobalWebhooks?: boolean | undefined;
|
|
1391
1296
|
hasUdm?: boolean | undefined;
|
|
1297
|
+
isTest?: boolean | undefined;
|
|
1392
1298
|
appUuid?: string | undefined;
|
|
1393
1299
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
1394
1300
|
} | undefined;
|
|
1395
1301
|
uuid?: string | undefined;
|
|
1396
1302
|
description?: string | undefined;
|
|
1397
1303
|
state?: import("..").WorkspaceElementState | undefined;
|
|
1398
|
-
errors?:
|
|
1399
|
-
isDeactivated?: boolean | undefined;
|
|
1304
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
1400
1305
|
createdAt?: string | undefined;
|
|
1401
1306
|
updatedAt?: string | undefined;
|
|
1402
1307
|
archivedAt?: string | undefined;
|
|
1308
|
+
isDeactivated?: boolean | undefined;
|
|
1403
1309
|
instanceKey?: string | undefined;
|
|
1310
|
+
dataSourceId?: string | undefined;
|
|
1404
1311
|
udm?: string | undefined;
|
|
1405
1312
|
collectionSpec?: {
|
|
1406
1313
|
type: "collection";
|
|
@@ -1549,7 +1456,6 @@ export declare const DataSourceInstanceApiResponse: z.ZodObject<{
|
|
|
1549
1456
|
lastActiveAt?: string | undefined;
|
|
1550
1457
|
isBillable?: boolean | undefined;
|
|
1551
1458
|
} | undefined;
|
|
1552
|
-
dataSourceId?: string | undefined;
|
|
1553
1459
|
isCustomized?: boolean | undefined;
|
|
1554
1460
|
dataSourceRevision?: string | undefined;
|
|
1555
1461
|
universalDataSourceId?: string | undefined;
|
|
@@ -1568,15 +1474,15 @@ export declare const DataSourceInstanceApiResponse: z.ZodObject<{
|
|
|
1568
1474
|
uuid?: string | undefined;
|
|
1569
1475
|
description?: string | undefined;
|
|
1570
1476
|
state?: import("..").WorkspaceElementState | undefined;
|
|
1571
|
-
errors?:
|
|
1572
|
-
isDeactivated?: boolean | undefined;
|
|
1477
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
1573
1478
|
createdAt?: string | undefined;
|
|
1574
1479
|
updatedAt?: string | undefined;
|
|
1575
1480
|
archivedAt?: string | undefined;
|
|
1481
|
+
isDeactivated?: boolean | undefined;
|
|
1576
1482
|
integrationId?: string | undefined;
|
|
1577
|
-
udm?: string | undefined;
|
|
1578
1483
|
publishedRevision?: string | undefined;
|
|
1579
1484
|
customized?: boolean | undefined;
|
|
1485
|
+
udm?: string | undefined;
|
|
1580
1486
|
universalDataSourceId?: string | undefined;
|
|
1581
1487
|
collectionKey?: string | undefined;
|
|
1582
1488
|
collectionParameters?: any;
|