@membranehq/sdk 0.7.1 → 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 +5200 -4617
- package/dist/bundle.js +10 -1
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/connections-accessors.d.ts +4 -3
- package/dist/dts/accessors/integrations-accessors.d.ts +4 -3
- package/dist/dts/accessors/scenarios-accessors.d.ts +4 -3
- package/dist/dts/config/config.test.d.ts +1 -0
- package/dist/dts/config/index.d.ts +42 -0
- package/dist/dts/entity-repository.d.ts +2 -2
- package/dist/dts/index.browser.d.ts +31 -0
- package/dist/dts/index.d.ts +2 -0
- package/dist/dts/index.node.d.ts +2 -0
- package/dist/dts/integration-elements/index.d.ts +0 -2
- package/dist/dts/{workspace-elements/base/scenarios/types.d.ts → scenario-templates/index.d.ts} +64 -169
- package/dist/dts/workspace-elements/api/action-instances-api.d.ts +39 -34
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +37 -37
- package/dist/dts/workspace-elements/api/actions-api.d.ts +64 -46
- package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +13 -0
- package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +17 -2
- package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +13 -0
- package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/connections-api.d.ts +57 -34
- package/dist/dts/workspace-elements/api/customers-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +29 -16
- package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +51 -43
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +474 -441
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +27 -22
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +27 -22
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +21 -16
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +7 -0
- package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +144 -124
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +250 -118
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +122 -98
- package/dist/dts/workspace-elements/api/flows-api.d.ts +965 -826
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +12 -14
- package/dist/dts/workspace-elements/api/scenarios-api.d.ts +434 -431
- package/dist/dts/workspace-elements/base/action-instances/types.d.ts +5 -5
- package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/actions/index.d.ts +18 -15
- package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +3 -0
- package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +3 -0
- package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +3 -0
- package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +3 -0
- package/dist/dts/workspace-elements/base/connections/types.d.ts +5 -8
- package/dist/dts/workspace-elements/base/customers/index.d.ts +3 -0
- package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +5 -2
- package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +3 -0
- package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +9 -6
- package/dist/dts/workspace-elements/base/data-sources/index.d.ts +153 -2
- package/dist/dts/workspace-elements/base/external-event-log-records/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/external-event-pulls/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +8 -5
- package/dist/dts/workspace-elements/base/field-mappings/index.d.ts +191 -1
- package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +26 -26
- package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +15 -12
- package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +4 -4
- 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/dts/workspace-elements/base/integrations/types.d.ts +18 -0
- package/dist/dts/workspace-elements/base/scenarios/index.d.ts +163 -1
- package/dist/dts/workspace-elements/types.d.ts +118 -0
- package/dist/dts/workspace-elements-catalog/index.d.ts +1 -0
- package/dist/{index.d.ts → index.browser.d.mts} +17282 -16311
- package/dist/{index.module.d.mts → index.browser.d.ts} +17282 -16311
- package/dist/{index.js → index.browser.js} +228 -255
- package/dist/index.browser.js.map +1 -0
- package/dist/{index.module.mjs → index.browser.mjs} +218 -250
- package/dist/index.browser.mjs.map +1 -0
- package/dist/index.node.d.mts +28306 -0
- package/dist/index.node.d.ts +28306 -0
- package/dist/index.node.js +13329 -0
- package/dist/index.node.js.map +1 -0
- package/dist/index.node.mjs +12853 -0
- package/dist/index.node.mjs.map +1 -0
- package/package.json +38 -15
- 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 -102
- package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +0 -129
- package/dist/dts/workspace-elements/base/flows/types.d.ts +0 -241
- package/dist/index.js.map +0 -1
- package/dist/index.module.mjs.map +0 -1
package/package.json
CHANGED
|
@@ -1,26 +1,48 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@membranehq/sdk",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.4",
|
|
4
4
|
"description": "JavaScript SDK for Membrane",
|
|
5
5
|
"author": "Integration App, Inc",
|
|
6
|
-
"source": "src/index.ts",
|
|
7
|
-
"main": "dist/index.js",
|
|
8
|
-
"module": "dist/index.
|
|
6
|
+
"source": "src/index.node.ts",
|
|
7
|
+
"main": "dist/index.node.js",
|
|
8
|
+
"module": "dist/index.node.mjs",
|
|
9
9
|
"unpkg": "./dist/bundle.js",
|
|
10
10
|
"exports": {
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
".": {
|
|
12
|
+
"node": {
|
|
13
|
+
"import": {
|
|
14
|
+
"types": "./dist/index.node.d.mts",
|
|
15
|
+
"default": "./dist/index.node.mjs"
|
|
16
|
+
},
|
|
17
|
+
"require": {
|
|
18
|
+
"types": "./dist/index.node.d.ts",
|
|
19
|
+
"default": "./dist/index.node.js"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"browser": {
|
|
23
|
+
"import": {
|
|
24
|
+
"types": "./dist/index.browser.d.mts",
|
|
25
|
+
"default": "./dist/index.browser.mjs"
|
|
26
|
+
},
|
|
27
|
+
"require": {
|
|
28
|
+
"types": "./dist/index.browser.d.ts",
|
|
29
|
+
"default": "./dist/index.browser.js"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"default": {
|
|
33
|
+
"import": {
|
|
34
|
+
"types": "./dist/index.browser.d.mts",
|
|
35
|
+
"default": "./dist/index.browser.mjs"
|
|
36
|
+
},
|
|
37
|
+
"require": {
|
|
38
|
+
"types": "./dist/index.browser.d.ts",
|
|
39
|
+
"default": "./dist/index.browser.js"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
18
42
|
}
|
|
19
43
|
},
|
|
20
|
-
"browser":
|
|
21
|
-
|
|
22
|
-
},
|
|
23
|
-
"types": "dist/index.d.ts",
|
|
44
|
+
"browser": "./dist/index.browser.js",
|
|
45
|
+
"types": "dist/index.node.d.ts",
|
|
24
46
|
"files": [
|
|
25
47
|
"dist"
|
|
26
48
|
],
|
|
@@ -70,6 +92,7 @@
|
|
|
70
92
|
"fast-deep-equal": "^3.1.3",
|
|
71
93
|
"humanparser": "^2.7.0",
|
|
72
94
|
"js-convert-case": "^4.2.0",
|
|
95
|
+
"js-yaml": "^4.1.0",
|
|
73
96
|
"jsonata": "^1.8.7",
|
|
74
97
|
"penpal": "^6.2.2",
|
|
75
98
|
"qs": "^6.14.0",
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const DataSourceUnitConfig: z.ZodObject<{
|
|
3
|
-
key: z.ZodOptional<z.ZodString>;
|
|
4
|
-
collectionKey: z.ZodOptional<z.ZodAny>;
|
|
5
|
-
collectionParameters: z.ZodOptional<z.ZodAny>;
|
|
6
|
-
udm: z.ZodOptional<z.ZodAny>;
|
|
7
|
-
path: z.ZodOptional<z.ZodString>;
|
|
8
|
-
pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
9
|
-
fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
10
|
-
}, "strip", z.ZodTypeAny, {
|
|
11
|
-
key?: string | undefined;
|
|
12
|
-
path?: string | undefined;
|
|
13
|
-
udm?: any;
|
|
14
|
-
collectionKey?: any;
|
|
15
|
-
collectionParameters?: any;
|
|
16
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
17
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
18
|
-
}, {
|
|
19
|
-
key?: string | undefined;
|
|
20
|
-
path?: string | undefined;
|
|
21
|
-
udm?: any;
|
|
22
|
-
collectionKey?: any;
|
|
23
|
-
collectionParameters?: any;
|
|
24
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
25
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
26
|
-
}>;
|
|
27
|
-
export type DataSourceUnitConfig = z.infer<typeof DataSourceUnitConfig>;
|
|
28
|
-
export declare const BaseDataSource: z.ZodObject<{
|
|
29
|
-
id: z.ZodString;
|
|
30
|
-
key: z.ZodOptional<z.ZodString>;
|
|
31
|
-
uuid: z.ZodOptional<z.ZodString>;
|
|
32
|
-
description: z.ZodOptional<z.ZodString>;
|
|
33
|
-
name: z.ZodString;
|
|
34
|
-
state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
35
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
|
|
36
|
-
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
37
|
-
} & {
|
|
38
|
-
revision: z.ZodString;
|
|
39
|
-
publishedRevision: z.ZodOptional<z.ZodString>;
|
|
40
|
-
integrationId: z.ZodOptional<z.ZodString>;
|
|
41
|
-
universalDataSourceId: z.ZodOptional<z.ZodString>;
|
|
42
|
-
universalDataSourceRevision: z.ZodOptional<z.ZodString>;
|
|
43
|
-
udm: z.ZodOptional<z.ZodString>;
|
|
44
|
-
pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
45
|
-
fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
46
|
-
collectionKey: z.ZodOptional<z.ZodString>;
|
|
47
|
-
collectionParameters: z.ZodOptional<z.ZodAny>;
|
|
48
|
-
archivedAt: z.ZodOptional<z.ZodString>;
|
|
49
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
50
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
51
|
-
customized: z.ZodOptional<z.ZodBoolean>;
|
|
52
|
-
defaultPath: z.ZodOptional<z.ZodString>;
|
|
53
|
-
}, "strip", z.ZodTypeAny, {
|
|
54
|
-
id: string;
|
|
55
|
-
name: string;
|
|
56
|
-
revision: string;
|
|
57
|
-
key?: string | undefined;
|
|
58
|
-
uuid?: string | undefined;
|
|
59
|
-
description?: string | undefined;
|
|
60
|
-
state?: import("../../types").WorkspaceElementState | undefined;
|
|
61
|
-
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
62
|
-
createdAt?: string | undefined;
|
|
63
|
-
updatedAt?: string | undefined;
|
|
64
|
-
archivedAt?: string | undefined;
|
|
65
|
-
isDeactivated?: boolean | undefined;
|
|
66
|
-
integrationId?: string | undefined;
|
|
67
|
-
publishedRevision?: string | undefined;
|
|
68
|
-
customized?: boolean | undefined;
|
|
69
|
-
udm?: string | undefined;
|
|
70
|
-
universalDataSourceId?: string | undefined;
|
|
71
|
-
collectionKey?: string | undefined;
|
|
72
|
-
collectionParameters?: any;
|
|
73
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
74
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
75
|
-
defaultPath?: string | undefined;
|
|
76
|
-
universalDataSourceRevision?: string | undefined;
|
|
77
|
-
}, {
|
|
78
|
-
id: string;
|
|
79
|
-
name: string;
|
|
80
|
-
revision: string;
|
|
81
|
-
key?: string | undefined;
|
|
82
|
-
uuid?: string | undefined;
|
|
83
|
-
description?: string | undefined;
|
|
84
|
-
state?: import("../../types").WorkspaceElementState | undefined;
|
|
85
|
-
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
86
|
-
createdAt?: string | undefined;
|
|
87
|
-
updatedAt?: string | undefined;
|
|
88
|
-
archivedAt?: string | undefined;
|
|
89
|
-
isDeactivated?: boolean | undefined;
|
|
90
|
-
integrationId?: string | undefined;
|
|
91
|
-
publishedRevision?: string | undefined;
|
|
92
|
-
customized?: boolean | undefined;
|
|
93
|
-
udm?: string | undefined;
|
|
94
|
-
universalDataSourceId?: string | undefined;
|
|
95
|
-
collectionKey?: string | undefined;
|
|
96
|
-
collectionParameters?: any;
|
|
97
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
98
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
99
|
-
defaultPath?: string | undefined;
|
|
100
|
-
universalDataSourceRevision?: string | undefined;
|
|
101
|
-
}>;
|
|
102
|
-
export type BaseDataSource = z.infer<typeof BaseDataSource>;
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { DataSchema } from '../../../data-schema';
|
|
3
|
-
export declare enum FieldMappingDirection {
|
|
4
|
-
IMPORT = "import",
|
|
5
|
-
EXPORT = "export",
|
|
6
|
-
BOTH = "both"
|
|
7
|
-
}
|
|
8
|
-
export declare const BaseFieldMapping: z.ZodObject<{
|
|
9
|
-
id: z.ZodString;
|
|
10
|
-
key: z.ZodOptional<z.ZodString>;
|
|
11
|
-
uuid: z.ZodOptional<z.ZodString>;
|
|
12
|
-
description: z.ZodOptional<z.ZodString>;
|
|
13
|
-
name: z.ZodString;
|
|
14
|
-
state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
15
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
|
|
16
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
17
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
18
|
-
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
19
|
-
} & {
|
|
20
|
-
revision: z.ZodString;
|
|
21
|
-
publishedRevision: z.ZodOptional<z.ZodString>;
|
|
22
|
-
universalFieldMappingId: z.ZodOptional<z.ZodString>;
|
|
23
|
-
universalFieldMappingRevision: z.ZodOptional<z.ZodString>;
|
|
24
|
-
integrationId: z.ZodOptional<z.ZodString>;
|
|
25
|
-
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
26
|
-
dataSourceKey: z.ZodOptional<z.ZodString>;
|
|
27
|
-
appSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
28
|
-
direction: z.ZodOptional<z.ZodNativeEnum<typeof FieldMappingDirection>>;
|
|
29
|
-
defaultImportValue: z.ZodOptional<z.ZodAny>;
|
|
30
|
-
defaultExportValue: z.ZodOptional<z.ZodAny>;
|
|
31
|
-
importValue: z.ZodOptional<z.ZodAny>;
|
|
32
|
-
exportValue: z.ZodOptional<z.ZodAny>;
|
|
33
|
-
frozenImportFields: z.ZodOptional<z.ZodAny>;
|
|
34
|
-
frozenExportFields: z.ZodOptional<z.ZodAny>;
|
|
35
|
-
frozenUnifiedExportFields: z.ZodOptional<z.ZodAny>;
|
|
36
|
-
archivedAt: z.ZodOptional<z.ZodString>;
|
|
37
|
-
customized: z.ZodOptional<z.ZodBoolean>;
|
|
38
|
-
}, "strip", z.ZodTypeAny, {
|
|
39
|
-
id: string;
|
|
40
|
-
name: string;
|
|
41
|
-
revision: string;
|
|
42
|
-
key?: string | undefined;
|
|
43
|
-
uuid?: string | undefined;
|
|
44
|
-
description?: string | undefined;
|
|
45
|
-
state?: import("../../types").WorkspaceElementState | undefined;
|
|
46
|
-
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
47
|
-
createdAt?: string | undefined;
|
|
48
|
-
updatedAt?: string | undefined;
|
|
49
|
-
archivedAt?: string | undefined;
|
|
50
|
-
isDeactivated?: boolean | undefined;
|
|
51
|
-
integrationId?: string | undefined;
|
|
52
|
-
publishedRevision?: string | undefined;
|
|
53
|
-
universalFieldMappingId?: string | undefined;
|
|
54
|
-
universalFieldMappingRevision?: string | undefined;
|
|
55
|
-
dataSourceId?: string | undefined;
|
|
56
|
-
dataSourceKey?: string | undefined;
|
|
57
|
-
appSchema?: DataSchema | undefined;
|
|
58
|
-
direction?: FieldMappingDirection | undefined;
|
|
59
|
-
defaultImportValue?: any;
|
|
60
|
-
defaultExportValue?: any;
|
|
61
|
-
importValue?: any;
|
|
62
|
-
exportValue?: any;
|
|
63
|
-
frozenImportFields?: any;
|
|
64
|
-
frozenExportFields?: any;
|
|
65
|
-
frozenUnifiedExportFields?: any;
|
|
66
|
-
customized?: boolean | undefined;
|
|
67
|
-
}, {
|
|
68
|
-
id: string;
|
|
69
|
-
name: string;
|
|
70
|
-
revision: string;
|
|
71
|
-
key?: string | undefined;
|
|
72
|
-
uuid?: string | undefined;
|
|
73
|
-
description?: string | undefined;
|
|
74
|
-
state?: import("../../types").WorkspaceElementState | undefined;
|
|
75
|
-
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
76
|
-
createdAt?: string | undefined;
|
|
77
|
-
updatedAt?: string | undefined;
|
|
78
|
-
archivedAt?: string | undefined;
|
|
79
|
-
isDeactivated?: boolean | undefined;
|
|
80
|
-
integrationId?: string | undefined;
|
|
81
|
-
publishedRevision?: string | undefined;
|
|
82
|
-
universalFieldMappingId?: string | undefined;
|
|
83
|
-
universalFieldMappingRevision?: string | undefined;
|
|
84
|
-
dataSourceId?: string | undefined;
|
|
85
|
-
dataSourceKey?: string | undefined;
|
|
86
|
-
appSchema?: DataSchema | undefined;
|
|
87
|
-
direction?: FieldMappingDirection | undefined;
|
|
88
|
-
defaultImportValue?: any;
|
|
89
|
-
defaultExportValue?: any;
|
|
90
|
-
importValue?: any;
|
|
91
|
-
exportValue?: any;
|
|
92
|
-
frozenImportFields?: any;
|
|
93
|
-
frozenExportFields?: any;
|
|
94
|
-
frozenUnifiedExportFields?: any;
|
|
95
|
-
customized?: boolean | undefined;
|
|
96
|
-
}>;
|
|
97
|
-
export type BaseFieldMapping = z.infer<typeof BaseFieldMapping>;
|
|
98
|
-
export declare const FieldMappingUnitConfig: z.ZodObject<{
|
|
99
|
-
key: z.ZodOptional<z.ZodString>;
|
|
100
|
-
input: z.ZodOptional<z.ZodAny>;
|
|
101
|
-
includeRawFields: z.ZodOptional<z.ZodAny>;
|
|
102
|
-
importValue: z.ZodOptional<z.ZodAny>;
|
|
103
|
-
exportValue: z.ZodOptional<z.ZodAny>;
|
|
104
|
-
default: z.ZodOptional<z.ZodAny>;
|
|
105
|
-
defaultUnifiedValue: z.ZodOptional<z.ZodAny>;
|
|
106
|
-
defaultValue: z.ZodOptional<z.ZodAny>;
|
|
107
|
-
appSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
108
|
-
}, "strip", z.ZodTypeAny, {
|
|
109
|
-
key?: string | undefined;
|
|
110
|
-
default?: any;
|
|
111
|
-
appSchema?: DataSchema | undefined;
|
|
112
|
-
importValue?: any;
|
|
113
|
-
exportValue?: any;
|
|
114
|
-
input?: any;
|
|
115
|
-
includeRawFields?: any;
|
|
116
|
-
defaultUnifiedValue?: any;
|
|
117
|
-
defaultValue?: any;
|
|
118
|
-
}, {
|
|
119
|
-
key?: string | undefined;
|
|
120
|
-
default?: any;
|
|
121
|
-
appSchema?: DataSchema | undefined;
|
|
122
|
-
importValue?: any;
|
|
123
|
-
exportValue?: any;
|
|
124
|
-
input?: any;
|
|
125
|
-
includeRawFields?: any;
|
|
126
|
-
defaultUnifiedValue?: any;
|
|
127
|
-
defaultValue?: any;
|
|
128
|
-
}>;
|
|
129
|
-
export type FieldMappingUnitConfig = z.infer<typeof FieldMappingUnitConfig>;
|
|
@@ -1,241 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { DataSchema } from '../../../data-schema';
|
|
3
|
-
export declare const FlowNodeLink: z.ZodObject<{
|
|
4
|
-
key: z.ZodOptional<z.ZodString>;
|
|
5
|
-
filter: z.ZodOptional<z.ZodAny>;
|
|
6
|
-
name: z.ZodOptional<z.ZodString>;
|
|
7
|
-
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
key?: string | undefined;
|
|
9
|
-
filter?: any;
|
|
10
|
-
name?: string | undefined;
|
|
11
|
-
}, {
|
|
12
|
-
key?: string | undefined;
|
|
13
|
-
filter?: any;
|
|
14
|
-
name?: string | undefined;
|
|
15
|
-
}>;
|
|
16
|
-
export type FlowNodeLink = z.infer<typeof FlowNodeLink>;
|
|
17
|
-
export declare const FlowNode: z.ZodObject<{
|
|
18
|
-
type: z.ZodOptional<z.ZodString>;
|
|
19
|
-
version: z.ZodOptional<z.ZodNumber>;
|
|
20
|
-
name: z.ZodOptional<z.ZodString>;
|
|
21
|
-
description: z.ZodOptional<z.ZodString>;
|
|
22
|
-
config: z.ZodOptional<z.ZodAny>;
|
|
23
|
-
concurrency: z.ZodOptional<z.ZodNumber>;
|
|
24
|
-
onError: z.ZodOptional<z.ZodEnum<["stop", "continue"]>>;
|
|
25
|
-
ui: z.ZodOptional<z.ZodAny>;
|
|
26
|
-
inputSchema: z.ZodOptional<z.ZodAny>;
|
|
27
|
-
outputSchema: z.ZodOptional<z.ZodAny>;
|
|
28
|
-
outputExample: z.ZodOptional<z.ZodAny>;
|
|
29
|
-
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
30
|
-
key: z.ZodOptional<z.ZodString>;
|
|
31
|
-
filter: z.ZodOptional<z.ZodAny>;
|
|
32
|
-
name: z.ZodOptional<z.ZodString>;
|
|
33
|
-
}, "strip", z.ZodTypeAny, {
|
|
34
|
-
key?: string | undefined;
|
|
35
|
-
filter?: any;
|
|
36
|
-
name?: string | undefined;
|
|
37
|
-
}, {
|
|
38
|
-
key?: string | undefined;
|
|
39
|
-
filter?: any;
|
|
40
|
-
name?: string | undefined;
|
|
41
|
-
}>, "many">>;
|
|
42
|
-
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
43
|
-
}, "strip", z.ZodTypeAny, {
|
|
44
|
-
concurrency?: number | undefined;
|
|
45
|
-
type?: string | undefined;
|
|
46
|
-
name?: string | undefined;
|
|
47
|
-
description?: string | undefined;
|
|
48
|
-
inputSchema?: any;
|
|
49
|
-
config?: any;
|
|
50
|
-
isCustomized?: boolean | undefined;
|
|
51
|
-
outputSchema?: any;
|
|
52
|
-
version?: number | undefined;
|
|
53
|
-
onError?: "stop" | "continue" | undefined;
|
|
54
|
-
ui?: any;
|
|
55
|
-
outputExample?: any;
|
|
56
|
-
links?: {
|
|
57
|
-
key?: string | undefined;
|
|
58
|
-
filter?: any;
|
|
59
|
-
name?: string | undefined;
|
|
60
|
-
}[] | undefined;
|
|
61
|
-
}, {
|
|
62
|
-
concurrency?: number | undefined;
|
|
63
|
-
type?: string | undefined;
|
|
64
|
-
name?: string | undefined;
|
|
65
|
-
description?: string | undefined;
|
|
66
|
-
inputSchema?: any;
|
|
67
|
-
config?: any;
|
|
68
|
-
isCustomized?: boolean | undefined;
|
|
69
|
-
outputSchema?: any;
|
|
70
|
-
version?: number | undefined;
|
|
71
|
-
onError?: "stop" | "continue" | undefined;
|
|
72
|
-
ui?: any;
|
|
73
|
-
outputExample?: any;
|
|
74
|
-
links?: {
|
|
75
|
-
key?: string | undefined;
|
|
76
|
-
filter?: any;
|
|
77
|
-
name?: string | undefined;
|
|
78
|
-
}[] | undefined;
|
|
79
|
-
}>;
|
|
80
|
-
export type FlowNode = z.infer<typeof FlowNode>;
|
|
81
|
-
export declare const BaseFlow: z.ZodObject<{
|
|
82
|
-
id: z.ZodString;
|
|
83
|
-
key: z.ZodOptional<z.ZodString>;
|
|
84
|
-
uuid: z.ZodOptional<z.ZodString>;
|
|
85
|
-
description: z.ZodOptional<z.ZodString>;
|
|
86
|
-
name: z.ZodString;
|
|
87
|
-
state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
88
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
|
|
89
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
90
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
91
|
-
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
92
|
-
} & {
|
|
93
|
-
integrationId: z.ZodOptional<z.ZodString>;
|
|
94
|
-
universalFlowId: z.ZodOptional<z.ZodString>;
|
|
95
|
-
universalFlowRevision: z.ZodOptional<z.ZodString>;
|
|
96
|
-
parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
97
|
-
nodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
98
|
-
type: z.ZodOptional<z.ZodString>;
|
|
99
|
-
version: z.ZodOptional<z.ZodNumber>;
|
|
100
|
-
name: z.ZodOptional<z.ZodString>;
|
|
101
|
-
description: z.ZodOptional<z.ZodString>;
|
|
102
|
-
config: z.ZodOptional<z.ZodAny>;
|
|
103
|
-
concurrency: z.ZodOptional<z.ZodNumber>;
|
|
104
|
-
onError: z.ZodOptional<z.ZodEnum<["stop", "continue"]>>;
|
|
105
|
-
ui: z.ZodOptional<z.ZodAny>;
|
|
106
|
-
inputSchema: z.ZodOptional<z.ZodAny>;
|
|
107
|
-
outputSchema: z.ZodOptional<z.ZodAny>;
|
|
108
|
-
outputExample: z.ZodOptional<z.ZodAny>;
|
|
109
|
-
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
110
|
-
key: z.ZodOptional<z.ZodString>;
|
|
111
|
-
filter: z.ZodOptional<z.ZodAny>;
|
|
112
|
-
name: z.ZodOptional<z.ZodString>;
|
|
113
|
-
}, "strip", z.ZodTypeAny, {
|
|
114
|
-
key?: string | undefined;
|
|
115
|
-
filter?: any;
|
|
116
|
-
name?: string | undefined;
|
|
117
|
-
}, {
|
|
118
|
-
key?: string | undefined;
|
|
119
|
-
filter?: any;
|
|
120
|
-
name?: string | undefined;
|
|
121
|
-
}>, "many">>;
|
|
122
|
-
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
123
|
-
}, "strip", z.ZodTypeAny, {
|
|
124
|
-
concurrency?: number | undefined;
|
|
125
|
-
type?: string | undefined;
|
|
126
|
-
name?: string | undefined;
|
|
127
|
-
description?: string | undefined;
|
|
128
|
-
inputSchema?: any;
|
|
129
|
-
config?: any;
|
|
130
|
-
isCustomized?: boolean | undefined;
|
|
131
|
-
outputSchema?: any;
|
|
132
|
-
version?: number | undefined;
|
|
133
|
-
onError?: "stop" | "continue" | undefined;
|
|
134
|
-
ui?: any;
|
|
135
|
-
outputExample?: any;
|
|
136
|
-
links?: {
|
|
137
|
-
key?: string | undefined;
|
|
138
|
-
filter?: any;
|
|
139
|
-
name?: string | undefined;
|
|
140
|
-
}[] | undefined;
|
|
141
|
-
}, {
|
|
142
|
-
concurrency?: number | undefined;
|
|
143
|
-
type?: string | undefined;
|
|
144
|
-
name?: string | undefined;
|
|
145
|
-
description?: string | undefined;
|
|
146
|
-
inputSchema?: any;
|
|
147
|
-
config?: any;
|
|
148
|
-
isCustomized?: boolean | undefined;
|
|
149
|
-
outputSchema?: any;
|
|
150
|
-
version?: number | undefined;
|
|
151
|
-
onError?: "stop" | "continue" | undefined;
|
|
152
|
-
ui?: any;
|
|
153
|
-
outputExample?: any;
|
|
154
|
-
links?: {
|
|
155
|
-
key?: string | undefined;
|
|
156
|
-
filter?: any;
|
|
157
|
-
name?: string | undefined;
|
|
158
|
-
}[] | undefined;
|
|
159
|
-
}>>>;
|
|
160
|
-
autoCreateInstances: z.ZodOptional<z.ZodBoolean>;
|
|
161
|
-
archivedAt: z.ZodOptional<z.ZodString>;
|
|
162
|
-
revision: z.ZodString;
|
|
163
|
-
customized: z.ZodOptional<z.ZodBoolean>;
|
|
164
|
-
}, "strip", z.ZodTypeAny, {
|
|
165
|
-
id: string;
|
|
166
|
-
name: string;
|
|
167
|
-
revision: string;
|
|
168
|
-
key?: string | undefined;
|
|
169
|
-
uuid?: string | undefined;
|
|
170
|
-
description?: string | undefined;
|
|
171
|
-
state?: import("../../types").WorkspaceElementState | undefined;
|
|
172
|
-
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
173
|
-
createdAt?: string | undefined;
|
|
174
|
-
updatedAt?: string | undefined;
|
|
175
|
-
archivedAt?: string | undefined;
|
|
176
|
-
isDeactivated?: boolean | undefined;
|
|
177
|
-
integrationId?: string | undefined;
|
|
178
|
-
customized?: boolean | undefined;
|
|
179
|
-
parametersSchema?: DataSchema | undefined;
|
|
180
|
-
universalFlowId?: string | undefined;
|
|
181
|
-
universalFlowRevision?: string | undefined;
|
|
182
|
-
nodes?: Record<string, {
|
|
183
|
-
concurrency?: number | undefined;
|
|
184
|
-
type?: string | undefined;
|
|
185
|
-
name?: string | undefined;
|
|
186
|
-
description?: string | undefined;
|
|
187
|
-
inputSchema?: any;
|
|
188
|
-
config?: any;
|
|
189
|
-
isCustomized?: boolean | undefined;
|
|
190
|
-
outputSchema?: any;
|
|
191
|
-
version?: number | undefined;
|
|
192
|
-
onError?: "stop" | "continue" | undefined;
|
|
193
|
-
ui?: any;
|
|
194
|
-
outputExample?: any;
|
|
195
|
-
links?: {
|
|
196
|
-
key?: string | undefined;
|
|
197
|
-
filter?: any;
|
|
198
|
-
name?: string | undefined;
|
|
199
|
-
}[] | undefined;
|
|
200
|
-
}> | undefined;
|
|
201
|
-
autoCreateInstances?: boolean | undefined;
|
|
202
|
-
}, {
|
|
203
|
-
id: string;
|
|
204
|
-
name: string;
|
|
205
|
-
revision: string;
|
|
206
|
-
key?: string | undefined;
|
|
207
|
-
uuid?: string | undefined;
|
|
208
|
-
description?: string | undefined;
|
|
209
|
-
state?: import("../../types").WorkspaceElementState | undefined;
|
|
210
|
-
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
211
|
-
createdAt?: string | undefined;
|
|
212
|
-
updatedAt?: string | undefined;
|
|
213
|
-
archivedAt?: string | undefined;
|
|
214
|
-
isDeactivated?: boolean | undefined;
|
|
215
|
-
integrationId?: string | undefined;
|
|
216
|
-
customized?: boolean | undefined;
|
|
217
|
-
parametersSchema?: DataSchema | undefined;
|
|
218
|
-
universalFlowId?: string | undefined;
|
|
219
|
-
universalFlowRevision?: string | undefined;
|
|
220
|
-
nodes?: Record<string, {
|
|
221
|
-
concurrency?: number | undefined;
|
|
222
|
-
type?: string | undefined;
|
|
223
|
-
name?: string | undefined;
|
|
224
|
-
description?: string | undefined;
|
|
225
|
-
inputSchema?: any;
|
|
226
|
-
config?: any;
|
|
227
|
-
isCustomized?: boolean | undefined;
|
|
228
|
-
outputSchema?: any;
|
|
229
|
-
version?: number | undefined;
|
|
230
|
-
onError?: "stop" | "continue" | undefined;
|
|
231
|
-
ui?: any;
|
|
232
|
-
outputExample?: any;
|
|
233
|
-
links?: {
|
|
234
|
-
key?: string | undefined;
|
|
235
|
-
filter?: any;
|
|
236
|
-
name?: string | undefined;
|
|
237
|
-
}[] | undefined;
|
|
238
|
-
}> | undefined;
|
|
239
|
-
autoCreateInstances?: boolean | undefined;
|
|
240
|
-
}>;
|
|
241
|
-
export type BaseFlow = z.infer<typeof BaseFlow>;
|