@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.
- package/dist/bundle.d.ts +1180 -1049
- package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +9 -20
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +452 -453
- package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +43 -69
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +208 -110
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +6 -6
- package/dist/dts/workspace-elements/api/flows-api.d.ts +583 -497
- package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/data-sources/index.d.ts +153 -2
- package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +1 -1
- package/dist/dts/workspace-elements/base/field-mappings/index.d.ts +191 -1
- package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/flows/index.d.ts +300 -1
- package/dist/dts/workspace-elements/base/flows/nodes/base.d.ts +79 -1
- package/dist/dts/workspace-elements/base/flows/nodes/index.d.ts +1 -1
- package/dist/index.browser.d.mts +1749 -1375
- package/dist/index.browser.d.ts +1749 -1375
- package/dist/index.browser.js +128 -133
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +123 -132
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +1749 -1375
- package/dist/index.node.d.ts +1749 -1375
- package/dist/index.node.js +128 -133
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +123 -132
- package/dist/index.node.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/dts/workspace-elements/base/data-sources/constants.d.ts +0 -4
- package/dist/dts/workspace-elements/base/data-sources/types.d.ts +0 -109
- package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +0 -136
- package/dist/dts/workspace-elements/base/flows/types.d.ts +0 -248
|
@@ -742,7 +742,6 @@ export declare const BaseDataSourceInstance: z.ZodObject<{
|
|
|
742
742
|
isDeactivated?: boolean | undefined;
|
|
743
743
|
isCustomized?: boolean | undefined;
|
|
744
744
|
instanceKey?: string | undefined;
|
|
745
|
-
dataSourceId?: string | undefined;
|
|
746
745
|
udm?: string | undefined;
|
|
747
746
|
collectionSpec?: {
|
|
748
747
|
type: "collection";
|
|
@@ -879,6 +878,7 @@ export declare const BaseDataSourceInstance: z.ZodObject<{
|
|
|
879
878
|
} | undefined;
|
|
880
879
|
customFields?: boolean | undefined;
|
|
881
880
|
} | undefined;
|
|
881
|
+
dataSourceId?: string | undefined;
|
|
882
882
|
dataSourceRevision?: string | undefined;
|
|
883
883
|
universalDataSourceId?: string | undefined;
|
|
884
884
|
collectionKey?: string | undefined;
|
|
@@ -908,7 +908,6 @@ export declare const BaseDataSourceInstance: z.ZodObject<{
|
|
|
908
908
|
isDeactivated?: boolean | undefined;
|
|
909
909
|
isCustomized?: boolean | undefined;
|
|
910
910
|
instanceKey?: string | undefined;
|
|
911
|
-
dataSourceId?: string | undefined;
|
|
912
911
|
udm?: string | undefined;
|
|
913
912
|
collectionSpec?: {
|
|
914
913
|
type: "collection";
|
|
@@ -1045,6 +1044,7 @@ export declare const BaseDataSourceInstance: z.ZodObject<{
|
|
|
1045
1044
|
} | undefined;
|
|
1046
1045
|
customFields?: boolean | undefined;
|
|
1047
1046
|
} | undefined;
|
|
1047
|
+
dataSourceId?: string | undefined;
|
|
1048
1048
|
dataSourceRevision?: string | undefined;
|
|
1049
1049
|
universalDataSourceId?: string | undefined;
|
|
1050
1050
|
collectionKey?: string | undefined;
|
|
@@ -1,2 +1,153 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const DEFAULT_PULL_UPDATES_INTERVAL_SECONDS: number;
|
|
3
|
+
export declare const DEFAULT_FULL_SYNC_INTERVAL_SECONDS: number;
|
|
4
|
+
export declare const MIN_FULL_SYNC_INTERVAL_SECONDS: number;
|
|
5
|
+
export declare const MIN_PULL_UPDATES_INTERVAL_SECONDS: number;
|
|
6
|
+
export declare const DataSourceEditableProperties: z.ZodObject<Omit<{
|
|
7
|
+
key: z.ZodOptional<z.ZodString>;
|
|
8
|
+
name: z.ZodOptional<z.ZodString>;
|
|
9
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
10
|
+
description: z.ZodOptional<z.ZodString>;
|
|
11
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
12
|
+
} & {
|
|
13
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
14
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
15
|
+
}, "parentId"> & {
|
|
16
|
+
universalDataSourceId: z.ZodOptional<z.ZodString>;
|
|
17
|
+
udm: z.ZodOptional<z.ZodString>;
|
|
18
|
+
pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
19
|
+
fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
20
|
+
collectionKey: z.ZodOptional<z.ZodString>;
|
|
21
|
+
collectionParameters: z.ZodOptional<z.ZodAny>;
|
|
22
|
+
defaultPath: z.ZodOptional<z.ZodString>;
|
|
23
|
+
}, "strip", z.ZodTypeAny, {
|
|
24
|
+
key?: string | undefined;
|
|
25
|
+
name?: string | undefined;
|
|
26
|
+
uuid?: string | undefined;
|
|
27
|
+
description?: string | undefined;
|
|
28
|
+
meta?: Record<string, any> | undefined;
|
|
29
|
+
integrationId?: string | undefined;
|
|
30
|
+
udm?: string | undefined;
|
|
31
|
+
universalDataSourceId?: string | undefined;
|
|
32
|
+
collectionKey?: string | undefined;
|
|
33
|
+
collectionParameters?: any;
|
|
34
|
+
pullUpdatesIntervalSeconds?: number | undefined;
|
|
35
|
+
fullSyncIntervalSeconds?: number | undefined;
|
|
36
|
+
defaultPath?: string | undefined;
|
|
37
|
+
}, {
|
|
38
|
+
key?: string | undefined;
|
|
39
|
+
name?: string | undefined;
|
|
40
|
+
uuid?: string | undefined;
|
|
41
|
+
description?: string | undefined;
|
|
42
|
+
meta?: Record<string, any> | undefined;
|
|
43
|
+
integrationId?: string | undefined;
|
|
44
|
+
udm?: string | undefined;
|
|
45
|
+
universalDataSourceId?: string | undefined;
|
|
46
|
+
collectionKey?: string | undefined;
|
|
47
|
+
collectionParameters?: any;
|
|
48
|
+
pullUpdatesIntervalSeconds?: number | undefined;
|
|
49
|
+
fullSyncIntervalSeconds?: number | undefined;
|
|
50
|
+
defaultPath?: string | undefined;
|
|
51
|
+
}>;
|
|
52
|
+
export type DataSourceEditableProperties = z.infer<typeof DataSourceEditableProperties>;
|
|
53
|
+
export declare const BaseDataSource: z.ZodObject<{
|
|
54
|
+
id: z.ZodString;
|
|
55
|
+
key: z.ZodOptional<z.ZodString>;
|
|
56
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
57
|
+
description: z.ZodOptional<z.ZodString>;
|
|
58
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
59
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
60
|
+
universalDataSourceId: z.ZodOptional<z.ZodString>;
|
|
61
|
+
udm: z.ZodOptional<z.ZodString>;
|
|
62
|
+
pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
63
|
+
fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
64
|
+
collectionKey: z.ZodOptional<z.ZodString>;
|
|
65
|
+
collectionParameters: z.ZodOptional<z.ZodAny>;
|
|
66
|
+
defaultPath: z.ZodOptional<z.ZodString>;
|
|
67
|
+
} & {
|
|
68
|
+
name: z.ZodString;
|
|
69
|
+
state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
70
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
|
|
71
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
72
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
73
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
74
|
+
archivedAt: z.ZodOptional<z.ZodString>;
|
|
75
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
76
|
+
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
77
|
+
universalDataSourceRevision: z.ZodOptional<z.ZodString>;
|
|
78
|
+
}, "strip", z.ZodTypeAny, {
|
|
79
|
+
id: string;
|
|
80
|
+
name: string;
|
|
81
|
+
key?: string | undefined;
|
|
82
|
+
uuid?: string | undefined;
|
|
83
|
+
description?: string | undefined;
|
|
84
|
+
meta?: Record<string, any> | undefined;
|
|
85
|
+
state?: import("../../types").WorkspaceElementState | undefined;
|
|
86
|
+
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
87
|
+
revision?: string | undefined;
|
|
88
|
+
createdAt?: string | undefined;
|
|
89
|
+
updatedAt?: string | undefined;
|
|
90
|
+
archivedAt?: string | undefined;
|
|
91
|
+
isDeactivated?: boolean | undefined;
|
|
92
|
+
integrationId?: string | undefined;
|
|
93
|
+
isCustomized?: boolean | undefined;
|
|
94
|
+
udm?: string | undefined;
|
|
95
|
+
universalDataSourceId?: string | undefined;
|
|
96
|
+
collectionKey?: string | undefined;
|
|
97
|
+
collectionParameters?: any;
|
|
98
|
+
pullUpdatesIntervalSeconds?: number | undefined;
|
|
99
|
+
fullSyncIntervalSeconds?: number | undefined;
|
|
100
|
+
defaultPath?: string | undefined;
|
|
101
|
+
universalDataSourceRevision?: string | undefined;
|
|
102
|
+
}, {
|
|
103
|
+
id: string;
|
|
104
|
+
name: string;
|
|
105
|
+
key?: string | undefined;
|
|
106
|
+
uuid?: string | undefined;
|
|
107
|
+
description?: string | undefined;
|
|
108
|
+
meta?: Record<string, any> | undefined;
|
|
109
|
+
state?: import("../../types").WorkspaceElementState | undefined;
|
|
110
|
+
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
111
|
+
revision?: string | undefined;
|
|
112
|
+
createdAt?: string | undefined;
|
|
113
|
+
updatedAt?: string | undefined;
|
|
114
|
+
archivedAt?: string | undefined;
|
|
115
|
+
isDeactivated?: boolean | undefined;
|
|
116
|
+
integrationId?: string | undefined;
|
|
117
|
+
isCustomized?: boolean | undefined;
|
|
118
|
+
udm?: string | undefined;
|
|
119
|
+
universalDataSourceId?: string | undefined;
|
|
120
|
+
collectionKey?: string | undefined;
|
|
121
|
+
collectionParameters?: any;
|
|
122
|
+
pullUpdatesIntervalSeconds?: number | undefined;
|
|
123
|
+
fullSyncIntervalSeconds?: number | undefined;
|
|
124
|
+
defaultPath?: string | undefined;
|
|
125
|
+
universalDataSourceRevision?: string | undefined;
|
|
126
|
+
}>;
|
|
127
|
+
export type BaseDataSource = z.infer<typeof BaseDataSource>;
|
|
128
|
+
export declare const DataSourceUnitConfig: z.ZodObject<{
|
|
129
|
+
key: z.ZodOptional<z.ZodString>;
|
|
130
|
+
collectionKey: z.ZodOptional<z.ZodAny>;
|
|
131
|
+
collectionParameters: z.ZodOptional<z.ZodAny>;
|
|
132
|
+
udm: z.ZodOptional<z.ZodAny>;
|
|
133
|
+
path: z.ZodOptional<z.ZodString>;
|
|
134
|
+
pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
135
|
+
fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
136
|
+
}, "strip", z.ZodTypeAny, {
|
|
137
|
+
key?: string | undefined;
|
|
138
|
+
path?: string | undefined;
|
|
139
|
+
udm?: any;
|
|
140
|
+
collectionKey?: any;
|
|
141
|
+
collectionParameters?: any;
|
|
142
|
+
pullUpdatesIntervalSeconds?: number | undefined;
|
|
143
|
+
fullSyncIntervalSeconds?: number | undefined;
|
|
144
|
+
}, {
|
|
145
|
+
key?: string | undefined;
|
|
146
|
+
path?: string | undefined;
|
|
147
|
+
udm?: any;
|
|
148
|
+
collectionKey?: any;
|
|
149
|
+
collectionParameters?: any;
|
|
150
|
+
pullUpdatesIntervalSeconds?: number | undefined;
|
|
151
|
+
fullSyncIntervalSeconds?: number | undefined;
|
|
152
|
+
}>;
|
|
153
|
+
export type DataSourceUnitConfig = z.infer<typeof DataSourceUnitConfig>;
|
|
@@ -2,7 +2,7 @@ import { z } from 'zod';
|
|
|
2
2
|
import { DataSchema } from '../../../data-schema';
|
|
3
3
|
import { ErrorDataSchema } from '../../../errors';
|
|
4
4
|
import { WorkspaceElementState } from '../../types';
|
|
5
|
-
import { FieldMappingDirection } from '../field-mappings
|
|
5
|
+
import { FieldMappingDirection } from '../field-mappings';
|
|
6
6
|
export declare const BaseFieldMappingInstance: z.ZodObject<{
|
|
7
7
|
id: z.ZodString;
|
|
8
8
|
key: z.ZodOptional<z.ZodString>;
|
|
@@ -1,2 +1,192 @@
|
|
|
1
|
-
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { DataSchema } from '../../../data-schema';
|
|
2
3
|
export * from './merge/merge-with-formulas';
|
|
4
|
+
export declare enum FieldMappingDirection {
|
|
5
|
+
IMPORT = "import",
|
|
6
|
+
EXPORT = "export",
|
|
7
|
+
BOTH = "both"
|
|
8
|
+
}
|
|
9
|
+
export declare const FieldMappingEditableProperties: z.ZodObject<Omit<{
|
|
10
|
+
key: z.ZodOptional<z.ZodString>;
|
|
11
|
+
name: z.ZodOptional<z.ZodString>;
|
|
12
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
13
|
+
description: z.ZodOptional<z.ZodString>;
|
|
14
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
15
|
+
} & {
|
|
16
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
17
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
18
|
+
}, "parentId"> & {
|
|
19
|
+
universalFieldMappingId: z.ZodOptional<z.ZodString>;
|
|
20
|
+
dataSourceKey: z.ZodOptional<z.ZodString>;
|
|
21
|
+
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
22
|
+
appSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
23
|
+
direction: z.ZodOptional<z.ZodNativeEnum<typeof FieldMappingDirection>>;
|
|
24
|
+
defaultImportValue: z.ZodOptional<z.ZodAny>;
|
|
25
|
+
defaultExportValue: z.ZodOptional<z.ZodAny>;
|
|
26
|
+
importValue: z.ZodOptional<z.ZodAny>;
|
|
27
|
+
exportValue: z.ZodOptional<z.ZodAny>;
|
|
28
|
+
frozenImportFields: z.ZodOptional<z.ZodAny>;
|
|
29
|
+
frozenExportFields: z.ZodOptional<z.ZodAny>;
|
|
30
|
+
frozenUnifiedExportFields: z.ZodOptional<z.ZodAny>;
|
|
31
|
+
}, "strip", z.ZodTypeAny, {
|
|
32
|
+
key?: string | undefined;
|
|
33
|
+
name?: string | undefined;
|
|
34
|
+
uuid?: string | undefined;
|
|
35
|
+
description?: string | undefined;
|
|
36
|
+
meta?: Record<string, any> | undefined;
|
|
37
|
+
integrationId?: string | undefined;
|
|
38
|
+
universalFieldMappingId?: string | undefined;
|
|
39
|
+
dataSourceKey?: string | undefined;
|
|
40
|
+
dataSourceId?: string | undefined;
|
|
41
|
+
appSchema?: DataSchema | undefined;
|
|
42
|
+
direction?: FieldMappingDirection | undefined;
|
|
43
|
+
defaultImportValue?: any;
|
|
44
|
+
defaultExportValue?: any;
|
|
45
|
+
importValue?: any;
|
|
46
|
+
exportValue?: any;
|
|
47
|
+
frozenImportFields?: any;
|
|
48
|
+
frozenExportFields?: any;
|
|
49
|
+
frozenUnifiedExportFields?: any;
|
|
50
|
+
}, {
|
|
51
|
+
key?: string | undefined;
|
|
52
|
+
name?: string | undefined;
|
|
53
|
+
uuid?: string | undefined;
|
|
54
|
+
description?: string | undefined;
|
|
55
|
+
meta?: Record<string, any> | undefined;
|
|
56
|
+
integrationId?: string | undefined;
|
|
57
|
+
universalFieldMappingId?: string | undefined;
|
|
58
|
+
dataSourceKey?: string | undefined;
|
|
59
|
+
dataSourceId?: string | undefined;
|
|
60
|
+
appSchema?: DataSchema | undefined;
|
|
61
|
+
direction?: FieldMappingDirection | undefined;
|
|
62
|
+
defaultImportValue?: any;
|
|
63
|
+
defaultExportValue?: any;
|
|
64
|
+
importValue?: any;
|
|
65
|
+
exportValue?: any;
|
|
66
|
+
frozenImportFields?: any;
|
|
67
|
+
frozenExportFields?: any;
|
|
68
|
+
frozenUnifiedExportFields?: any;
|
|
69
|
+
}>;
|
|
70
|
+
export type FieldMappingEditableProperties = z.infer<typeof FieldMappingEditableProperties>;
|
|
71
|
+
export declare const BaseFieldMapping: z.ZodObject<{
|
|
72
|
+
id: z.ZodString;
|
|
73
|
+
key: z.ZodOptional<z.ZodString>;
|
|
74
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
75
|
+
description: z.ZodOptional<z.ZodString>;
|
|
76
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
77
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
78
|
+
universalFieldMappingId: z.ZodOptional<z.ZodString>;
|
|
79
|
+
dataSourceKey: z.ZodOptional<z.ZodString>;
|
|
80
|
+
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
81
|
+
appSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
82
|
+
direction: z.ZodOptional<z.ZodNativeEnum<typeof FieldMappingDirection>>;
|
|
83
|
+
defaultImportValue: z.ZodOptional<z.ZodAny>;
|
|
84
|
+
defaultExportValue: z.ZodOptional<z.ZodAny>;
|
|
85
|
+
importValue: z.ZodOptional<z.ZodAny>;
|
|
86
|
+
exportValue: z.ZodOptional<z.ZodAny>;
|
|
87
|
+
frozenImportFields: z.ZodOptional<z.ZodAny>;
|
|
88
|
+
frozenExportFields: z.ZodOptional<z.ZodAny>;
|
|
89
|
+
frozenUnifiedExportFields: z.ZodOptional<z.ZodAny>;
|
|
90
|
+
} & {
|
|
91
|
+
name: z.ZodString;
|
|
92
|
+
state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
93
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
|
|
94
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
95
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
96
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
97
|
+
archivedAt: z.ZodOptional<z.ZodString>;
|
|
98
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
99
|
+
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
100
|
+
universalFieldMappingRevision: z.ZodOptional<z.ZodString>;
|
|
101
|
+
}, "strip", z.ZodTypeAny, {
|
|
102
|
+
id: string;
|
|
103
|
+
name: string;
|
|
104
|
+
key?: string | undefined;
|
|
105
|
+
uuid?: string | undefined;
|
|
106
|
+
description?: string | undefined;
|
|
107
|
+
meta?: Record<string, any> | undefined;
|
|
108
|
+
state?: import("../../types").WorkspaceElementState | undefined;
|
|
109
|
+
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
110
|
+
revision?: string | undefined;
|
|
111
|
+
createdAt?: string | undefined;
|
|
112
|
+
updatedAt?: string | undefined;
|
|
113
|
+
archivedAt?: string | undefined;
|
|
114
|
+
isDeactivated?: boolean | undefined;
|
|
115
|
+
integrationId?: string | undefined;
|
|
116
|
+
isCustomized?: boolean | undefined;
|
|
117
|
+
universalFieldMappingId?: string | undefined;
|
|
118
|
+
dataSourceKey?: string | undefined;
|
|
119
|
+
dataSourceId?: string | undefined;
|
|
120
|
+
appSchema?: DataSchema | undefined;
|
|
121
|
+
direction?: FieldMappingDirection | undefined;
|
|
122
|
+
defaultImportValue?: any;
|
|
123
|
+
defaultExportValue?: any;
|
|
124
|
+
importValue?: any;
|
|
125
|
+
exportValue?: any;
|
|
126
|
+
frozenImportFields?: any;
|
|
127
|
+
frozenExportFields?: any;
|
|
128
|
+
frozenUnifiedExportFields?: any;
|
|
129
|
+
universalFieldMappingRevision?: string | undefined;
|
|
130
|
+
}, {
|
|
131
|
+
id: string;
|
|
132
|
+
name: string;
|
|
133
|
+
key?: string | undefined;
|
|
134
|
+
uuid?: string | undefined;
|
|
135
|
+
description?: string | undefined;
|
|
136
|
+
meta?: Record<string, any> | undefined;
|
|
137
|
+
state?: import("../../types").WorkspaceElementState | undefined;
|
|
138
|
+
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
139
|
+
revision?: string | undefined;
|
|
140
|
+
createdAt?: string | undefined;
|
|
141
|
+
updatedAt?: string | undefined;
|
|
142
|
+
archivedAt?: string | undefined;
|
|
143
|
+
isDeactivated?: boolean | undefined;
|
|
144
|
+
integrationId?: string | undefined;
|
|
145
|
+
isCustomized?: boolean | undefined;
|
|
146
|
+
universalFieldMappingId?: string | undefined;
|
|
147
|
+
dataSourceKey?: string | undefined;
|
|
148
|
+
dataSourceId?: string | undefined;
|
|
149
|
+
appSchema?: DataSchema | undefined;
|
|
150
|
+
direction?: FieldMappingDirection | undefined;
|
|
151
|
+
defaultImportValue?: any;
|
|
152
|
+
defaultExportValue?: any;
|
|
153
|
+
importValue?: any;
|
|
154
|
+
exportValue?: any;
|
|
155
|
+
frozenImportFields?: any;
|
|
156
|
+
frozenExportFields?: any;
|
|
157
|
+
frozenUnifiedExportFields?: any;
|
|
158
|
+
universalFieldMappingRevision?: string | undefined;
|
|
159
|
+
}>;
|
|
160
|
+
export type BaseFieldMapping = z.infer<typeof BaseFieldMapping>;
|
|
161
|
+
export declare const FieldMappingUnitConfig: z.ZodObject<{
|
|
162
|
+
key: z.ZodOptional<z.ZodString>;
|
|
163
|
+
input: z.ZodOptional<z.ZodAny>;
|
|
164
|
+
includeRawFields: z.ZodOptional<z.ZodAny>;
|
|
165
|
+
importValue: z.ZodOptional<z.ZodAny>;
|
|
166
|
+
exportValue: z.ZodOptional<z.ZodAny>;
|
|
167
|
+
default: z.ZodOptional<z.ZodAny>;
|
|
168
|
+
defaultUnifiedValue: z.ZodOptional<z.ZodAny>;
|
|
169
|
+
defaultValue: z.ZodOptional<z.ZodAny>;
|
|
170
|
+
appSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
171
|
+
}, "strip", z.ZodTypeAny, {
|
|
172
|
+
key?: string | undefined;
|
|
173
|
+
default?: any;
|
|
174
|
+
appSchema?: DataSchema | undefined;
|
|
175
|
+
importValue?: any;
|
|
176
|
+
exportValue?: any;
|
|
177
|
+
input?: any;
|
|
178
|
+
includeRawFields?: any;
|
|
179
|
+
defaultUnifiedValue?: any;
|
|
180
|
+
defaultValue?: any;
|
|
181
|
+
}, {
|
|
182
|
+
key?: string | undefined;
|
|
183
|
+
default?: any;
|
|
184
|
+
appSchema?: DataSchema | undefined;
|
|
185
|
+
importValue?: any;
|
|
186
|
+
exportValue?: any;
|
|
187
|
+
input?: any;
|
|
188
|
+
includeRawFields?: any;
|
|
189
|
+
defaultUnifiedValue?: any;
|
|
190
|
+
defaultValue?: any;
|
|
191
|
+
}>;
|
|
192
|
+
export type FieldMappingUnitConfig = z.infer<typeof FieldMappingUnitConfig>;
|
|
@@ -99,8 +99,8 @@ export declare const BaseFlowRun: z.ZodObject<{
|
|
|
99
99
|
errors?: ErrorDataSchema[] | undefined;
|
|
100
100
|
integrationId?: string | undefined;
|
|
101
101
|
connectionId?: string | undefined;
|
|
102
|
-
input?: any;
|
|
103
102
|
endTime?: string | undefined;
|
|
103
|
+
input?: any;
|
|
104
104
|
universalFlowId?: string | undefined;
|
|
105
105
|
nodes?: Record<string, {
|
|
106
106
|
state: FlowRunNodeState;
|
|
@@ -123,8 +123,8 @@ export declare const BaseFlowRun: z.ZodObject<{
|
|
|
123
123
|
errors?: ErrorDataSchema[] | undefined;
|
|
124
124
|
integrationId?: string | undefined;
|
|
125
125
|
connectionId?: string | undefined;
|
|
126
|
-
input?: any;
|
|
127
126
|
endTime?: string | undefined;
|
|
127
|
+
input?: any;
|
|
128
128
|
universalFlowId?: string | undefined;
|
|
129
129
|
nodes?: Record<string, {
|
|
130
130
|
state: FlowRunNodeState;
|