@membranehq/sdk 0.7.0 → 0.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.d.ts +3445 -3621
- 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/orgs/types.d.ts +1 -0
- 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 -37
- 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 -32
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +70 -36
- 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 +122 -76
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +58 -24
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +116 -104
- package/dist/dts/workspace-elements/api/flows-api.d.ts +133 -693
- 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 -8
- 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 +7 -4
- package/dist/dts/workspace-elements/base/data-sources/types.d.ts +17 -10
- 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 +7 -4
- package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +15 -8
- 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 -15
- package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/flows/types.d.ts +21 -14
- 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.module.d.mts → index.browser.d.mts} +17767 -17803
- package/dist/{index.d.ts → index.browser.d.ts} +17767 -17803
- package/dist/{index.js → index.browser.js} +114 -132
- package/dist/index.browser.js.map +1 -0
- package/dist/{index.module.mjs → index.browser.mjs} +110 -129
- package/dist/index.browser.mjs.map +1 -0
- package/dist/index.node.d.mts +27932 -0
- package/dist/index.node.d.ts +27932 -0
- package/dist/index.node.js +13334 -0
- package/dist/index.node.js.map +1 -0
- package/dist/index.node.mjs +12862 -0
- package/dist/index.node.mjs.map +1 -0
- package/package.json +38 -15
- package/dist/index.js.map +0 -1
- package/dist/index.module.mjs.map +0 -1
|
@@ -8,6 +8,7 @@ export declare const BaseFieldMappingInstance: z.ZodObject<{
|
|
|
8
8
|
key: z.ZodOptional<z.ZodString>;
|
|
9
9
|
uuid: z.ZodOptional<z.ZodString>;
|
|
10
10
|
description: z.ZodOptional<z.ZodString>;
|
|
11
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
11
12
|
name: z.ZodString;
|
|
12
13
|
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>, "many">>;
|
|
13
14
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -40,19 +41,21 @@ export declare const BaseFieldMappingInstance: z.ZodObject<{
|
|
|
40
41
|
id: string;
|
|
41
42
|
name: string;
|
|
42
43
|
revision: string;
|
|
44
|
+
integrationId: string;
|
|
43
45
|
userId: string;
|
|
44
46
|
connectionId: string;
|
|
45
|
-
integrationId: string;
|
|
46
47
|
key?: string | undefined;
|
|
47
48
|
error?: ErrorDataSchema | undefined;
|
|
48
49
|
uuid?: string | undefined;
|
|
49
50
|
description?: string | undefined;
|
|
51
|
+
meta?: Record<string, any> | undefined;
|
|
50
52
|
state?: WorkspaceElementState | undefined;
|
|
51
53
|
errors?: ErrorDataSchema[] | undefined;
|
|
52
54
|
createdAt?: string | undefined;
|
|
53
55
|
updatedAt?: string | undefined;
|
|
54
56
|
archivedAt?: string | undefined;
|
|
55
57
|
isDeactivated?: boolean | undefined;
|
|
58
|
+
isCustomized?: boolean | undefined;
|
|
56
59
|
instanceKey?: string | undefined;
|
|
57
60
|
appSchema?: DataSchema | undefined;
|
|
58
61
|
direction?: FieldMappingDirection | undefined;
|
|
@@ -60,7 +63,6 @@ export declare const BaseFieldMappingInstance: z.ZodObject<{
|
|
|
60
63
|
exportValue?: any;
|
|
61
64
|
frozenImportFields?: string[] | undefined;
|
|
62
65
|
frozenExportFields?: string[] | undefined;
|
|
63
|
-
isCustomized?: boolean | undefined;
|
|
64
66
|
dataSourceInstanceId?: string | undefined;
|
|
65
67
|
fieldMappingRevision?: string | undefined;
|
|
66
68
|
fieldMappingId?: string | undefined;
|
|
@@ -72,19 +74,21 @@ export declare const BaseFieldMappingInstance: z.ZodObject<{
|
|
|
72
74
|
id: string;
|
|
73
75
|
name: string;
|
|
74
76
|
revision: string;
|
|
77
|
+
integrationId: string;
|
|
75
78
|
userId: string;
|
|
76
79
|
connectionId: string;
|
|
77
|
-
integrationId: string;
|
|
78
80
|
key?: string | undefined;
|
|
79
81
|
error?: ErrorDataSchema | undefined;
|
|
80
82
|
uuid?: string | undefined;
|
|
81
83
|
description?: string | undefined;
|
|
84
|
+
meta?: Record<string, any> | undefined;
|
|
82
85
|
state?: WorkspaceElementState | undefined;
|
|
83
86
|
errors?: ErrorDataSchema[] | undefined;
|
|
84
87
|
createdAt?: string | undefined;
|
|
85
88
|
updatedAt?: string | undefined;
|
|
86
89
|
archivedAt?: string | undefined;
|
|
87
90
|
isDeactivated?: boolean | undefined;
|
|
91
|
+
isCustomized?: boolean | undefined;
|
|
88
92
|
instanceKey?: string | undefined;
|
|
89
93
|
appSchema?: DataSchema | undefined;
|
|
90
94
|
direction?: FieldMappingDirection | undefined;
|
|
@@ -92,7 +96,6 @@ export declare const BaseFieldMappingInstance: z.ZodObject<{
|
|
|
92
96
|
exportValue?: any;
|
|
93
97
|
frozenImportFields?: string[] | undefined;
|
|
94
98
|
frozenExportFields?: string[] | undefined;
|
|
95
|
-
isCustomized?: boolean | undefined;
|
|
96
99
|
dataSourceInstanceId?: string | undefined;
|
|
97
100
|
fieldMappingRevision?: string | undefined;
|
|
98
101
|
fieldMappingId?: string | undefined;
|
|
@@ -10,18 +10,23 @@ export declare const BaseFieldMapping: z.ZodObject<{
|
|
|
10
10
|
key: z.ZodOptional<z.ZodString>;
|
|
11
11
|
uuid: z.ZodOptional<z.ZodString>;
|
|
12
12
|
description: z.ZodOptional<z.ZodString>;
|
|
13
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
14
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
15
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
16
|
+
} & {
|
|
13
17
|
name: z.ZodString;
|
|
14
18
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
15
19
|
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
|
|
20
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
16
21
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
17
22
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
23
|
+
archivedAt: z.ZodOptional<z.ZodString>;
|
|
18
24
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
25
|
+
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
19
26
|
} & {
|
|
20
|
-
revision: z.ZodString;
|
|
21
27
|
publishedRevision: z.ZodOptional<z.ZodString>;
|
|
22
28
|
universalFieldMappingId: z.ZodOptional<z.ZodString>;
|
|
23
29
|
universalFieldMappingRevision: z.ZodOptional<z.ZodString>;
|
|
24
|
-
integrationId: z.ZodOptional<z.ZodString>;
|
|
25
30
|
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
26
31
|
dataSourceKey: z.ZodOptional<z.ZodString>;
|
|
27
32
|
appSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
@@ -33,22 +38,23 @@ export declare const BaseFieldMapping: z.ZodObject<{
|
|
|
33
38
|
frozenImportFields: z.ZodOptional<z.ZodAny>;
|
|
34
39
|
frozenExportFields: z.ZodOptional<z.ZodAny>;
|
|
35
40
|
frozenUnifiedExportFields: z.ZodOptional<z.ZodAny>;
|
|
36
|
-
archivedAt: z.ZodOptional<z.ZodString>;
|
|
37
|
-
customized: z.ZodOptional<z.ZodBoolean>;
|
|
38
41
|
}, "strip", z.ZodTypeAny, {
|
|
39
42
|
id: string;
|
|
40
43
|
name: string;
|
|
41
|
-
revision: string;
|
|
42
44
|
key?: string | undefined;
|
|
43
45
|
uuid?: string | undefined;
|
|
44
46
|
description?: string | undefined;
|
|
47
|
+
meta?: Record<string, any> | undefined;
|
|
45
48
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
46
49
|
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
50
|
+
revision?: string | undefined;
|
|
47
51
|
createdAt?: string | undefined;
|
|
48
52
|
updatedAt?: string | undefined;
|
|
49
53
|
archivedAt?: string | undefined;
|
|
50
54
|
isDeactivated?: boolean | undefined;
|
|
51
55
|
integrationId?: string | undefined;
|
|
56
|
+
parentId?: string | undefined;
|
|
57
|
+
isCustomized?: boolean | undefined;
|
|
52
58
|
publishedRevision?: string | undefined;
|
|
53
59
|
universalFieldMappingId?: string | undefined;
|
|
54
60
|
universalFieldMappingRevision?: string | undefined;
|
|
@@ -63,21 +69,23 @@ export declare const BaseFieldMapping: z.ZodObject<{
|
|
|
63
69
|
frozenImportFields?: any;
|
|
64
70
|
frozenExportFields?: any;
|
|
65
71
|
frozenUnifiedExportFields?: any;
|
|
66
|
-
customized?: boolean | undefined;
|
|
67
72
|
}, {
|
|
68
73
|
id: string;
|
|
69
74
|
name: string;
|
|
70
|
-
revision: string;
|
|
71
75
|
key?: string | undefined;
|
|
72
76
|
uuid?: string | undefined;
|
|
73
77
|
description?: string | undefined;
|
|
78
|
+
meta?: Record<string, any> | undefined;
|
|
74
79
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
75
80
|
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
81
|
+
revision?: string | undefined;
|
|
76
82
|
createdAt?: string | undefined;
|
|
77
83
|
updatedAt?: string | undefined;
|
|
78
84
|
archivedAt?: string | undefined;
|
|
79
85
|
isDeactivated?: boolean | undefined;
|
|
80
86
|
integrationId?: string | undefined;
|
|
87
|
+
parentId?: string | undefined;
|
|
88
|
+
isCustomized?: boolean | undefined;
|
|
81
89
|
publishedRevision?: string | undefined;
|
|
82
90
|
universalFieldMappingId?: string | undefined;
|
|
83
91
|
universalFieldMappingRevision?: string | undefined;
|
|
@@ -92,7 +100,6 @@ export declare const BaseFieldMapping: z.ZodObject<{
|
|
|
92
100
|
frozenImportFields?: any;
|
|
93
101
|
frozenExportFields?: any;
|
|
94
102
|
frozenUnifiedExportFields?: any;
|
|
95
|
-
customized?: boolean | undefined;
|
|
96
103
|
}>;
|
|
97
104
|
export type BaseFieldMapping = z.infer<typeof BaseFieldMapping>;
|
|
98
105
|
export declare const FieldMappingUnitConfig: z.ZodObject<{
|
|
@@ -33,8 +33,8 @@ export declare const createFlowInstanceSchema: z.ZodObject<{
|
|
|
33
33
|
concurrency?: number | undefined;
|
|
34
34
|
type?: string | undefined;
|
|
35
35
|
name?: string | undefined;
|
|
36
|
-
config?: any;
|
|
37
36
|
isCustomized?: boolean | undefined;
|
|
37
|
+
config?: any;
|
|
38
38
|
onError?: "stop" | "continue" | undefined;
|
|
39
39
|
ui?: any;
|
|
40
40
|
links?: {
|
|
@@ -47,8 +47,8 @@ export declare const createFlowInstanceSchema: z.ZodObject<{
|
|
|
47
47
|
concurrency?: number | undefined;
|
|
48
48
|
type?: string | undefined;
|
|
49
49
|
name?: string | undefined;
|
|
50
|
-
config?: any;
|
|
51
50
|
isCustomized?: boolean | undefined;
|
|
51
|
+
config?: any;
|
|
52
52
|
onError?: "stop" | "continue" | undefined;
|
|
53
53
|
ui?: any;
|
|
54
54
|
links?: {
|
|
@@ -71,21 +71,17 @@ export declare const createFlowInstanceSchema: z.ZodObject<{
|
|
|
71
71
|
}>>;
|
|
72
72
|
}, "strip", z.ZodTypeAny, {
|
|
73
73
|
name?: string | undefined;
|
|
74
|
+
integrationId?: string | undefined;
|
|
74
75
|
userId?: string | undefined;
|
|
75
76
|
instanceKey?: string | undefined;
|
|
76
77
|
connectionId?: string | undefined;
|
|
77
|
-
integrationId?: string | undefined;
|
|
78
78
|
parameters?: any;
|
|
79
|
-
customized?: {
|
|
80
|
-
name?: boolean | undefined;
|
|
81
|
-
nodes?: boolean | undefined;
|
|
82
|
-
} | undefined;
|
|
83
79
|
nodes?: Record<string, {
|
|
84
80
|
concurrency?: number | undefined;
|
|
85
81
|
type?: string | undefined;
|
|
86
82
|
name?: string | undefined;
|
|
87
|
-
config?: any;
|
|
88
83
|
isCustomized?: boolean | undefined;
|
|
84
|
+
config?: any;
|
|
89
85
|
onError?: "stop" | "continue" | undefined;
|
|
90
86
|
ui?: any;
|
|
91
87
|
links?: {
|
|
@@ -97,23 +93,23 @@ export declare const createFlowInstanceSchema: z.ZodObject<{
|
|
|
97
93
|
}> | undefined;
|
|
98
94
|
flowId?: string | undefined;
|
|
99
95
|
enabled?: boolean | undefined;
|
|
96
|
+
customized?: {
|
|
97
|
+
name?: boolean | undefined;
|
|
98
|
+
nodes?: boolean | undefined;
|
|
99
|
+
} | undefined;
|
|
100
100
|
}, {
|
|
101
101
|
name?: string | undefined;
|
|
102
|
+
integrationId?: string | undefined;
|
|
102
103
|
userId?: string | undefined;
|
|
103
104
|
instanceKey?: string | undefined;
|
|
104
105
|
connectionId?: string | undefined;
|
|
105
|
-
integrationId?: string | undefined;
|
|
106
106
|
parameters?: any;
|
|
107
|
-
customized?: {
|
|
108
|
-
name?: boolean | undefined;
|
|
109
|
-
nodes?: boolean | undefined;
|
|
110
|
-
} | undefined;
|
|
111
107
|
nodes?: Record<string, {
|
|
112
108
|
concurrency?: number | undefined;
|
|
113
109
|
type?: string | undefined;
|
|
114
110
|
name?: string | undefined;
|
|
115
|
-
config?: any;
|
|
116
111
|
isCustomized?: boolean | undefined;
|
|
112
|
+
config?: any;
|
|
117
113
|
onError?: "stop" | "continue" | undefined;
|
|
118
114
|
ui?: any;
|
|
119
115
|
links?: {
|
|
@@ -125,6 +121,10 @@ export declare const createFlowInstanceSchema: z.ZodObject<{
|
|
|
125
121
|
}> | undefined;
|
|
126
122
|
flowId?: string | undefined;
|
|
127
123
|
enabled?: boolean | undefined;
|
|
124
|
+
customized?: {
|
|
125
|
+
name?: boolean | undefined;
|
|
126
|
+
nodes?: boolean | undefined;
|
|
127
|
+
} | undefined;
|
|
128
128
|
}>;
|
|
129
129
|
export declare const updateFlowInstanceSchema: z.ZodObject<{
|
|
130
130
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -155,8 +155,8 @@ export declare const updateFlowInstanceSchema: z.ZodObject<{
|
|
|
155
155
|
concurrency?: number | undefined;
|
|
156
156
|
type?: string | undefined;
|
|
157
157
|
name?: string | undefined;
|
|
158
|
-
config?: any;
|
|
159
158
|
isCustomized?: boolean | undefined;
|
|
159
|
+
config?: any;
|
|
160
160
|
onError?: "stop" | "continue" | undefined;
|
|
161
161
|
links?: {
|
|
162
162
|
key?: string | undefined;
|
|
@@ -168,8 +168,8 @@ export declare const updateFlowInstanceSchema: z.ZodObject<{
|
|
|
168
168
|
concurrency?: number | undefined;
|
|
169
169
|
type?: string | undefined;
|
|
170
170
|
name?: string | undefined;
|
|
171
|
-
config?: any;
|
|
172
171
|
isCustomized?: boolean | undefined;
|
|
172
|
+
config?: any;
|
|
173
173
|
onError?: "stop" | "continue" | undefined;
|
|
174
174
|
links?: {
|
|
175
175
|
key?: string | undefined;
|
|
@@ -193,16 +193,12 @@ export declare const updateFlowInstanceSchema: z.ZodObject<{
|
|
|
193
193
|
name?: string | undefined;
|
|
194
194
|
archivedAt?: string | undefined;
|
|
195
195
|
parameters?: any;
|
|
196
|
-
customized?: {
|
|
197
|
-
name?: boolean | undefined;
|
|
198
|
-
nodes?: boolean | undefined;
|
|
199
|
-
} | undefined;
|
|
200
196
|
nodes?: Record<string, {
|
|
201
197
|
concurrency?: number | undefined;
|
|
202
198
|
type?: string | undefined;
|
|
203
199
|
name?: string | undefined;
|
|
204
|
-
config?: any;
|
|
205
200
|
isCustomized?: boolean | undefined;
|
|
201
|
+
config?: any;
|
|
206
202
|
onError?: "stop" | "continue" | undefined;
|
|
207
203
|
links?: {
|
|
208
204
|
key?: string | undefined;
|
|
@@ -212,20 +208,20 @@ export declare const updateFlowInstanceSchema: z.ZodObject<{
|
|
|
212
208
|
userConfig?: any;
|
|
213
209
|
}> | undefined;
|
|
214
210
|
enabled?: boolean | undefined;
|
|
215
|
-
}, {
|
|
216
|
-
name?: string | undefined;
|
|
217
|
-
archivedAt?: string | undefined;
|
|
218
|
-
parameters?: any;
|
|
219
211
|
customized?: {
|
|
220
212
|
name?: boolean | undefined;
|
|
221
213
|
nodes?: boolean | undefined;
|
|
222
214
|
} | undefined;
|
|
215
|
+
}, {
|
|
216
|
+
name?: string | undefined;
|
|
217
|
+
archivedAt?: string | undefined;
|
|
218
|
+
parameters?: any;
|
|
223
219
|
nodes?: Record<string, {
|
|
224
220
|
concurrency?: number | undefined;
|
|
225
221
|
type?: string | undefined;
|
|
226
222
|
name?: string | undefined;
|
|
227
|
-
config?: any;
|
|
228
223
|
isCustomized?: boolean | undefined;
|
|
224
|
+
config?: any;
|
|
229
225
|
onError?: "stop" | "continue" | undefined;
|
|
230
226
|
links?: {
|
|
231
227
|
key?: string | undefined;
|
|
@@ -235,6 +231,10 @@ export declare const updateFlowInstanceSchema: z.ZodObject<{
|
|
|
235
231
|
userConfig?: any;
|
|
236
232
|
}> | undefined;
|
|
237
233
|
enabled?: boolean | undefined;
|
|
234
|
+
customized?: {
|
|
235
|
+
name?: boolean | undefined;
|
|
236
|
+
nodes?: boolean | undefined;
|
|
237
|
+
} | undefined;
|
|
238
238
|
}>;
|
|
239
239
|
export type CreateFlowInstanceRequest = z.infer<typeof createFlowInstanceSchema>;
|
|
240
240
|
export type UpdateFlowInstanceRequest = z.infer<typeof updateFlowInstanceSchema>;
|
|
@@ -7,6 +7,7 @@ export declare const BaseFlowInstance: z.ZodObject<{
|
|
|
7
7
|
key: z.ZodOptional<z.ZodString>;
|
|
8
8
|
uuid: z.ZodOptional<z.ZodString>;
|
|
9
9
|
description: z.ZodOptional<z.ZodString>;
|
|
10
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
10
11
|
name: z.ZodString;
|
|
11
12
|
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>, "many">>;
|
|
12
13
|
revision: z.ZodOptional<z.ZodString>;
|
|
@@ -26,7 +27,6 @@ export declare const BaseFlowInstance: z.ZodObject<{
|
|
|
26
27
|
createdAt: z.ZodString;
|
|
27
28
|
updatedAt: z.ZodString;
|
|
28
29
|
state: z.ZodOptional<z.ZodNativeEnum<typeof WorkspaceElementState>>;
|
|
29
|
-
outdated: z.ZodOptional<z.ZodBoolean>;
|
|
30
30
|
customized: z.ZodOptional<z.ZodObject<{
|
|
31
31
|
name: z.ZodOptional<z.ZodBoolean>;
|
|
32
32
|
nodes: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -43,12 +43,13 @@ export declare const BaseFlowInstance: z.ZodObject<{
|
|
|
43
43
|
name: string;
|
|
44
44
|
createdAt: string;
|
|
45
45
|
updatedAt: string;
|
|
46
|
-
userId: string;
|
|
47
46
|
integrationId: string;
|
|
47
|
+
userId: string;
|
|
48
48
|
enabled: boolean;
|
|
49
49
|
key?: string | undefined;
|
|
50
50
|
uuid?: string | undefined;
|
|
51
51
|
description?: string | undefined;
|
|
52
|
+
meta?: Record<string, any> | undefined;
|
|
52
53
|
state?: WorkspaceElementState | undefined;
|
|
53
54
|
errors?: ErrorDataSchema[] | undefined;
|
|
54
55
|
revision?: string | undefined;
|
|
@@ -57,27 +58,27 @@ export declare const BaseFlowInstance: z.ZodObject<{
|
|
|
57
58
|
instanceKey?: string | undefined;
|
|
58
59
|
connectionId?: string | undefined;
|
|
59
60
|
parameters?: any;
|
|
60
|
-
customized?: {
|
|
61
|
-
name?: boolean | undefined;
|
|
62
|
-
nodes?: boolean | undefined;
|
|
63
|
-
} | undefined;
|
|
64
61
|
parametersSchema?: DataSchema | undefined;
|
|
65
62
|
dependencies?: any[] | undefined;
|
|
66
63
|
universalFlowId?: string | undefined;
|
|
67
64
|
nodes?: Record<string, any> | undefined;
|
|
68
65
|
flowId?: string | undefined;
|
|
69
|
-
|
|
66
|
+
customized?: {
|
|
67
|
+
name?: boolean | undefined;
|
|
68
|
+
nodes?: boolean | undefined;
|
|
69
|
+
} | undefined;
|
|
70
70
|
}, {
|
|
71
71
|
id: string;
|
|
72
72
|
name: string;
|
|
73
73
|
createdAt: string;
|
|
74
74
|
updatedAt: string;
|
|
75
|
-
userId: string;
|
|
76
75
|
integrationId: string;
|
|
76
|
+
userId: string;
|
|
77
77
|
enabled: boolean;
|
|
78
78
|
key?: string | undefined;
|
|
79
79
|
uuid?: string | undefined;
|
|
80
80
|
description?: string | undefined;
|
|
81
|
+
meta?: Record<string, any> | undefined;
|
|
81
82
|
state?: WorkspaceElementState | undefined;
|
|
82
83
|
errors?: ErrorDataSchema[] | undefined;
|
|
83
84
|
revision?: string | undefined;
|
|
@@ -86,16 +87,15 @@ export declare const BaseFlowInstance: z.ZodObject<{
|
|
|
86
87
|
instanceKey?: string | undefined;
|
|
87
88
|
connectionId?: string | undefined;
|
|
88
89
|
parameters?: any;
|
|
89
|
-
customized?: {
|
|
90
|
-
name?: boolean | undefined;
|
|
91
|
-
nodes?: boolean | undefined;
|
|
92
|
-
} | undefined;
|
|
93
90
|
parametersSchema?: DataSchema | undefined;
|
|
94
91
|
dependencies?: any[] | undefined;
|
|
95
92
|
universalFlowId?: string | undefined;
|
|
96
93
|
nodes?: Record<string, any> | undefined;
|
|
97
94
|
flowId?: string | undefined;
|
|
98
|
-
|
|
95
|
+
customized?: {
|
|
96
|
+
name?: boolean | undefined;
|
|
97
|
+
nodes?: boolean | undefined;
|
|
98
|
+
} | undefined;
|
|
99
99
|
}>;
|
|
100
100
|
export type BaseFlowInstance = z.infer<typeof BaseFlowInstance>;
|
|
101
101
|
export declare enum FlowInstanceNodeState {
|
|
@@ -141,9 +141,9 @@ export declare const FlowInstanceNode: z.ZodObject<{
|
|
|
141
141
|
description?: string | undefined;
|
|
142
142
|
state?: FlowInstanceNodeState | undefined;
|
|
143
143
|
errors?: ErrorDataSchema[] | undefined;
|
|
144
|
+
isCustomized?: boolean | undefined;
|
|
144
145
|
inputSchema?: any;
|
|
145
146
|
config?: any;
|
|
146
|
-
isCustomized?: boolean | undefined;
|
|
147
147
|
outputSchema?: any;
|
|
148
148
|
dependencies?: any[] | undefined;
|
|
149
149
|
version?: number | undefined;
|
|
@@ -164,9 +164,9 @@ export declare const FlowInstanceNode: z.ZodObject<{
|
|
|
164
164
|
description?: string | undefined;
|
|
165
165
|
state?: FlowInstanceNodeState | undefined;
|
|
166
166
|
errors?: ErrorDataSchema[] | undefined;
|
|
167
|
+
isCustomized?: boolean | undefined;
|
|
167
168
|
inputSchema?: any;
|
|
168
169
|
config?: any;
|
|
169
|
-
isCustomized?: boolean | undefined;
|
|
170
170
|
outputSchema?: any;
|
|
171
171
|
dependencies?: any[] | undefined;
|
|
172
172
|
version?: number | undefined;
|
|
@@ -97,8 +97,8 @@ export declare const BaseFlowRun: z.ZodObject<{
|
|
|
97
97
|
startNodeKey: string;
|
|
98
98
|
name?: string | undefined;
|
|
99
99
|
errors?: ErrorDataSchema[] | undefined;
|
|
100
|
-
connectionId?: string | undefined;
|
|
101
100
|
integrationId?: string | undefined;
|
|
101
|
+
connectionId?: string | undefined;
|
|
102
102
|
input?: any;
|
|
103
103
|
endTime?: string | undefined;
|
|
104
104
|
universalFlowId?: string | undefined;
|
|
@@ -121,8 +121,8 @@ export declare const BaseFlowRun: z.ZodObject<{
|
|
|
121
121
|
startNodeKey: string;
|
|
122
122
|
name?: string | undefined;
|
|
123
123
|
errors?: ErrorDataSchema[] | undefined;
|
|
124
|
-
connectionId?: string | undefined;
|
|
125
124
|
integrationId?: string | undefined;
|
|
125
|
+
connectionId?: string | undefined;
|
|
126
126
|
input?: any;
|
|
127
127
|
endTime?: string | undefined;
|
|
128
128
|
universalFlowId?: string | undefined;
|
|
@@ -45,9 +45,9 @@ export declare const FlowNode: z.ZodObject<{
|
|
|
45
45
|
type?: string | undefined;
|
|
46
46
|
name?: string | undefined;
|
|
47
47
|
description?: string | undefined;
|
|
48
|
+
isCustomized?: boolean | undefined;
|
|
48
49
|
inputSchema?: any;
|
|
49
50
|
config?: any;
|
|
50
|
-
isCustomized?: boolean | undefined;
|
|
51
51
|
outputSchema?: any;
|
|
52
52
|
version?: number | undefined;
|
|
53
53
|
onError?: "stop" | "continue" | undefined;
|
|
@@ -63,9 +63,9 @@ export declare const FlowNode: z.ZodObject<{
|
|
|
63
63
|
type?: string | undefined;
|
|
64
64
|
name?: string | undefined;
|
|
65
65
|
description?: string | undefined;
|
|
66
|
+
isCustomized?: boolean | undefined;
|
|
66
67
|
inputSchema?: any;
|
|
67
68
|
config?: any;
|
|
68
|
-
isCustomized?: boolean | undefined;
|
|
69
69
|
outputSchema?: any;
|
|
70
70
|
version?: number | undefined;
|
|
71
71
|
onError?: "stop" | "continue" | undefined;
|
|
@@ -83,14 +83,20 @@ export declare const BaseFlow: z.ZodObject<{
|
|
|
83
83
|
key: z.ZodOptional<z.ZodString>;
|
|
84
84
|
uuid: z.ZodOptional<z.ZodString>;
|
|
85
85
|
description: z.ZodOptional<z.ZodString>;
|
|
86
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
87
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
88
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
89
|
+
} & {
|
|
86
90
|
name: z.ZodString;
|
|
87
91
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
88
92
|
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.ZodTypeDef, import("../../..").ErrorDataSchema>, "many">>;
|
|
93
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
89
94
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
90
95
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
96
|
+
archivedAt: z.ZodOptional<z.ZodString>;
|
|
91
97
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
98
|
+
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
92
99
|
} & {
|
|
93
|
-
integrationId: z.ZodOptional<z.ZodString>;
|
|
94
100
|
universalFlowId: z.ZodOptional<z.ZodString>;
|
|
95
101
|
universalFlowRevision: z.ZodOptional<z.ZodString>;
|
|
96
102
|
parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
@@ -125,9 +131,9 @@ export declare const BaseFlow: z.ZodObject<{
|
|
|
125
131
|
type?: string | undefined;
|
|
126
132
|
name?: string | undefined;
|
|
127
133
|
description?: string | undefined;
|
|
134
|
+
isCustomized?: boolean | undefined;
|
|
128
135
|
inputSchema?: any;
|
|
129
136
|
config?: any;
|
|
130
|
-
isCustomized?: boolean | undefined;
|
|
131
137
|
outputSchema?: any;
|
|
132
138
|
version?: number | undefined;
|
|
133
139
|
onError?: "stop" | "continue" | undefined;
|
|
@@ -143,9 +149,9 @@ export declare const BaseFlow: z.ZodObject<{
|
|
|
143
149
|
type?: string | undefined;
|
|
144
150
|
name?: string | undefined;
|
|
145
151
|
description?: string | undefined;
|
|
152
|
+
isCustomized?: boolean | undefined;
|
|
146
153
|
inputSchema?: any;
|
|
147
154
|
config?: any;
|
|
148
|
-
isCustomized?: boolean | undefined;
|
|
149
155
|
outputSchema?: any;
|
|
150
156
|
version?: number | undefined;
|
|
151
157
|
onError?: "stop" | "continue" | undefined;
|
|
@@ -158,24 +164,23 @@ export declare const BaseFlow: z.ZodObject<{
|
|
|
158
164
|
}[] | undefined;
|
|
159
165
|
}>>>;
|
|
160
166
|
autoCreateInstances: z.ZodOptional<z.ZodBoolean>;
|
|
161
|
-
archivedAt: z.ZodOptional<z.ZodString>;
|
|
162
|
-
revision: z.ZodString;
|
|
163
|
-
customized: z.ZodOptional<z.ZodBoolean>;
|
|
164
167
|
}, "strip", z.ZodTypeAny, {
|
|
165
168
|
id: string;
|
|
166
169
|
name: string;
|
|
167
|
-
revision: string;
|
|
168
170
|
key?: string | undefined;
|
|
169
171
|
uuid?: string | undefined;
|
|
170
172
|
description?: string | undefined;
|
|
173
|
+
meta?: Record<string, any> | undefined;
|
|
171
174
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
172
175
|
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
176
|
+
revision?: string | undefined;
|
|
173
177
|
createdAt?: string | undefined;
|
|
174
178
|
updatedAt?: string | undefined;
|
|
175
179
|
archivedAt?: string | undefined;
|
|
176
180
|
isDeactivated?: boolean | undefined;
|
|
177
181
|
integrationId?: string | undefined;
|
|
178
|
-
|
|
182
|
+
parentId?: string | undefined;
|
|
183
|
+
isCustomized?: boolean | undefined;
|
|
179
184
|
parametersSchema?: DataSchema | undefined;
|
|
180
185
|
universalFlowId?: string | undefined;
|
|
181
186
|
universalFlowRevision?: string | undefined;
|
|
@@ -184,9 +189,9 @@ export declare const BaseFlow: z.ZodObject<{
|
|
|
184
189
|
type?: string | undefined;
|
|
185
190
|
name?: string | undefined;
|
|
186
191
|
description?: string | undefined;
|
|
192
|
+
isCustomized?: boolean | undefined;
|
|
187
193
|
inputSchema?: any;
|
|
188
194
|
config?: any;
|
|
189
|
-
isCustomized?: boolean | undefined;
|
|
190
195
|
outputSchema?: any;
|
|
191
196
|
version?: number | undefined;
|
|
192
197
|
onError?: "stop" | "continue" | undefined;
|
|
@@ -202,18 +207,20 @@ export declare const BaseFlow: z.ZodObject<{
|
|
|
202
207
|
}, {
|
|
203
208
|
id: string;
|
|
204
209
|
name: string;
|
|
205
|
-
revision: string;
|
|
206
210
|
key?: string | undefined;
|
|
207
211
|
uuid?: string | undefined;
|
|
208
212
|
description?: string | undefined;
|
|
213
|
+
meta?: Record<string, any> | undefined;
|
|
209
214
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
210
215
|
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
216
|
+
revision?: string | undefined;
|
|
211
217
|
createdAt?: string | undefined;
|
|
212
218
|
updatedAt?: string | undefined;
|
|
213
219
|
archivedAt?: string | undefined;
|
|
214
220
|
isDeactivated?: boolean | undefined;
|
|
215
221
|
integrationId?: string | undefined;
|
|
216
|
-
|
|
222
|
+
parentId?: string | undefined;
|
|
223
|
+
isCustomized?: boolean | undefined;
|
|
217
224
|
parametersSchema?: DataSchema | undefined;
|
|
218
225
|
universalFlowId?: string | undefined;
|
|
219
226
|
universalFlowRevision?: string | undefined;
|
|
@@ -222,9 +229,9 @@ export declare const BaseFlow: z.ZodObject<{
|
|
|
222
229
|
type?: string | undefined;
|
|
223
230
|
name?: string | undefined;
|
|
224
231
|
description?: string | undefined;
|
|
232
|
+
isCustomized?: boolean | undefined;
|
|
225
233
|
inputSchema?: any;
|
|
226
234
|
config?: any;
|
|
227
|
-
isCustomized?: boolean | undefined;
|
|
228
235
|
outputSchema?: any;
|
|
229
236
|
version?: number | undefined;
|
|
230
237
|
onError?: "stop" | "continue" | undefined;
|