@membranehq/sdk 0.7.4 → 0.8.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 +2066 -13953
- package/dist/bundle.js +3912 -4250
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/actions-accessors.d.ts +0 -1
- package/dist/dts/accessors/connections-accessors.d.ts +28 -28
- package/dist/dts/accessors/data-sources-accessors.d.ts +0 -1
- package/dist/dts/accessors/field-mappings-accessors.d.ts +0 -1
- package/dist/dts/accessors/flows-accessors.d.ts +0 -1
- package/dist/dts/accessors/integrations-accessors.d.ts +28 -28
- package/dist/dts/config/index.d.ts +1 -11
- package/dist/dts/date-time/business-day.d.ts +2 -0
- package/dist/dts/date-time/business-day.test.d.ts +1 -0
- package/dist/dts/date-time/index.d.ts +1 -0
- package/dist/dts/entity-repository.d.ts +13 -64
- package/dist/dts/http-requests.d.ts +2 -14
- package/dist/dts/iframe.d.ts +4 -12
- package/dist/dts/scenario-templates/index.d.ts +60 -484
- package/dist/dts/workspace-elements/api/action-instances-api.d.ts +17 -248
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +23 -339
- package/dist/dts/workspace-elements/api/actions-api.d.ts +52 -639
- package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +8 -169
- package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +19 -51
- package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +15 -325
- package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +13 -248
- package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +28 -90
- package/dist/dts/workspace-elements/api/connections-api.d.ts +56 -892
- package/dist/dts/workspace-elements/api/customers-api.d.ts +8 -68
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +21 -369
- package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +17 -45
- package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +79 -1341
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +52 -767
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +29 -502
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +29 -506
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +21 -381
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +20 -425
- package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +109 -2321
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +47 -702
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +66 -1229
- package/dist/dts/workspace-elements/api/flows-api.d.ts +149 -1836
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +45 -287
- package/dist/dts/workspace-elements/api/scenarios-api.d.ts +30 -450
- package/dist/dts/workspace-elements/api/screens-api.d.ts +11 -31
- package/dist/dts/workspace-elements/base/action-instances/types.d.ts +6 -60
- package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +3 -28
- package/dist/dts/workspace-elements/base/actions/index.d.ts +10 -82
- package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +4 -47
- package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +3 -36
- package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +6 -75
- package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +6 -69
- package/dist/dts/workspace-elements/base/connections/types.d.ts +11 -56
- package/dist/dts/workspace-elements/base/connectors/types.d.ts +1 -11
- package/dist/dts/workspace-elements/base/customers/index.d.ts +1 -25
- package/dist/dts/workspace-elements/base/data-collections/schemas.d.ts +141 -1471
- package/dist/dts/workspace-elements/base/data-collections/types.d.ts +1 -29
- package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +6 -61
- package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +3 -32
- package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +60 -973
- package/dist/dts/workspace-elements/base/data-sources/index.d.ts +8 -104
- package/dist/dts/workspace-elements/base/external-event-log-records/types.d.ts +4 -26
- package/dist/dts/workspace-elements/base/external-event-pulls/types.d.ts +4 -30
- package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +9 -161
- package/dist/dts/workspace-elements/base/external-events/types.d.ts +7 -121
- package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +9 -76
- package/dist/dts/workspace-elements/base/field-mappings/index.d.ts +13 -133
- package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +16 -194
- package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +15 -132
- package/dist/dts/workspace-elements/base/flow-runs/flow-node-runs.d.ts +29 -284
- package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +13 -93
- package/dist/dts/workspace-elements/base/flows/index.d.ts +20 -240
- package/dist/dts/workspace-elements/base/flows/nodes/base.d.ts +7 -56
- package/dist/dts/workspace-elements/base/integrations/types.d.ts +23 -539
- package/dist/dts/workspace-elements/base/scenarios/index.d.ts +11 -119
- package/dist/dts/workspace-elements/base/screens/types.d.ts +6 -31
- package/dist/dts/workspace-elements/types.d.ts +15 -153
- package/dist/dts/workspace-elements-catalog/index.d.ts +2 -0
- package/dist/index.browser.d.mts +5929 -24802
- package/dist/index.browser.d.ts +5929 -24802
- package/dist/index.browser.js +351 -335
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +349 -333
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +5959 -24842
- package/dist/index.node.d.ts +5959 -24842
- package/dist/index.node.js +351 -335
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +349 -333
- package/dist/index.node.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -10,12 +10,11 @@ export declare const BaseFieldMappingInstance: z.ZodObject<{
|
|
|
10
10
|
description: z.ZodOptional<z.ZodString>;
|
|
11
11
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
12
12
|
name: z.ZodString;
|
|
13
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, z.
|
|
13
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
|
|
14
14
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
15
15
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
16
16
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
17
17
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
18
|
-
} & {
|
|
19
18
|
userId: z.ZodString;
|
|
20
19
|
revision: z.ZodString;
|
|
21
20
|
connectionId: z.ZodString;
|
|
@@ -24,84 +23,18 @@ export declare const BaseFieldMappingInstance: z.ZodObject<{
|
|
|
24
23
|
fieldMappingId: z.ZodOptional<z.ZodString>;
|
|
25
24
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
26
25
|
dataSourceInstanceId: z.ZodOptional<z.ZodString>;
|
|
27
|
-
dataSourceSchema: z.ZodOptional<z.ZodType<DataSchema, z.
|
|
28
|
-
direction: z.ZodOptional<z.
|
|
29
|
-
appSchema: z.ZodOptional<z.ZodType<DataSchema, z.
|
|
26
|
+
dataSourceSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
27
|
+
direction: z.ZodOptional<z.ZodEnum<typeof FieldMappingDirection>>;
|
|
28
|
+
appSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
30
29
|
importValue: z.ZodOptional<z.ZodAny>;
|
|
31
30
|
exportValue: z.ZodOptional<z.ZodAny>;
|
|
32
31
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
33
32
|
unifiedExportValue: z.ZodOptional<z.ZodAny>;
|
|
34
33
|
unifiedImportValue: z.ZodOptional<z.ZodAny>;
|
|
35
|
-
frozenImportFields: z.ZodOptional<z.ZodArray<z.ZodString
|
|
36
|
-
frozenExportFields: z.ZodOptional<z.ZodArray<z.ZodString
|
|
37
|
-
state: z.ZodOptional<z.
|
|
38
|
-
error: z.ZodOptional<z.ZodType<ErrorDataSchema, z.
|
|
34
|
+
frozenImportFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
35
|
+
frozenExportFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
36
|
+
state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
|
|
37
|
+
error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
39
38
|
externalSchema: z.ZodOptional<z.ZodAny>;
|
|
40
|
-
},
|
|
41
|
-
id: string;
|
|
42
|
-
name: string;
|
|
43
|
-
revision: string;
|
|
44
|
-
integrationId: string;
|
|
45
|
-
userId: string;
|
|
46
|
-
connectionId: string;
|
|
47
|
-
key?: string | undefined;
|
|
48
|
-
error?: ErrorDataSchema | undefined;
|
|
49
|
-
uuid?: string | undefined;
|
|
50
|
-
description?: string | undefined;
|
|
51
|
-
meta?: Record<string, any> | undefined;
|
|
52
|
-
state?: WorkspaceElementState | undefined;
|
|
53
|
-
errors?: ErrorDataSchema[] | undefined;
|
|
54
|
-
createdAt?: string | undefined;
|
|
55
|
-
updatedAt?: string | undefined;
|
|
56
|
-
archivedAt?: string | undefined;
|
|
57
|
-
isDeactivated?: boolean | undefined;
|
|
58
|
-
isCustomized?: boolean | undefined;
|
|
59
|
-
instanceKey?: string | undefined;
|
|
60
|
-
appSchema?: DataSchema | undefined;
|
|
61
|
-
direction?: FieldMappingDirection | undefined;
|
|
62
|
-
importValue?: any;
|
|
63
|
-
exportValue?: any;
|
|
64
|
-
frozenImportFields?: string[] | undefined;
|
|
65
|
-
frozenExportFields?: string[] | undefined;
|
|
66
|
-
dataSourceInstanceId?: string | undefined;
|
|
67
|
-
fieldMappingRevision?: string | undefined;
|
|
68
|
-
fieldMappingId?: string | undefined;
|
|
69
|
-
dataSourceSchema?: DataSchema | undefined;
|
|
70
|
-
unifiedExportValue?: any;
|
|
71
|
-
unifiedImportValue?: any;
|
|
72
|
-
externalSchema?: any;
|
|
73
|
-
}, {
|
|
74
|
-
id: string;
|
|
75
|
-
name: string;
|
|
76
|
-
revision: string;
|
|
77
|
-
integrationId: string;
|
|
78
|
-
userId: string;
|
|
79
|
-
connectionId: string;
|
|
80
|
-
key?: string | undefined;
|
|
81
|
-
error?: ErrorDataSchema | undefined;
|
|
82
|
-
uuid?: string | undefined;
|
|
83
|
-
description?: string | undefined;
|
|
84
|
-
meta?: Record<string, any> | undefined;
|
|
85
|
-
state?: WorkspaceElementState | undefined;
|
|
86
|
-
errors?: ErrorDataSchema[] | undefined;
|
|
87
|
-
createdAt?: string | undefined;
|
|
88
|
-
updatedAt?: string | undefined;
|
|
89
|
-
archivedAt?: string | undefined;
|
|
90
|
-
isDeactivated?: boolean | undefined;
|
|
91
|
-
isCustomized?: boolean | undefined;
|
|
92
|
-
instanceKey?: string | undefined;
|
|
93
|
-
appSchema?: DataSchema | undefined;
|
|
94
|
-
direction?: FieldMappingDirection | undefined;
|
|
95
|
-
importValue?: any;
|
|
96
|
-
exportValue?: any;
|
|
97
|
-
frozenImportFields?: string[] | undefined;
|
|
98
|
-
frozenExportFields?: string[] | undefined;
|
|
99
|
-
dataSourceInstanceId?: string | undefined;
|
|
100
|
-
fieldMappingRevision?: string | undefined;
|
|
101
|
-
fieldMappingId?: string | undefined;
|
|
102
|
-
dataSourceSchema?: DataSchema | undefined;
|
|
103
|
-
unifiedExportValue?: any;
|
|
104
|
-
unifiedImportValue?: any;
|
|
105
|
-
externalSchema?: any;
|
|
106
|
-
}>;
|
|
39
|
+
}, z.core.$strip>;
|
|
107
40
|
export type BaseFieldMappingInstance = z.infer<typeof BaseFieldMappingInstance>;
|
|
@@ -6,21 +6,18 @@ export declare enum FieldMappingDirection {
|
|
|
6
6
|
EXPORT = "export",
|
|
7
7
|
BOTH = "both"
|
|
8
8
|
}
|
|
9
|
-
export declare const FieldMappingEditableProperties: z.ZodObject<
|
|
9
|
+
export declare const FieldMappingEditableProperties: z.ZodObject<{
|
|
10
10
|
key: z.ZodOptional<z.ZodString>;
|
|
11
|
+
description: z.ZodOptional<z.ZodString>;
|
|
11
12
|
name: z.ZodOptional<z.ZodString>;
|
|
12
13
|
uuid: z.ZodOptional<z.ZodString>;
|
|
13
|
-
description: z.ZodOptional<z.ZodString>;
|
|
14
14
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
15
|
-
} & {
|
|
16
15
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
17
|
-
parentId: z.ZodOptional<z.ZodString>;
|
|
18
|
-
}, "parentId"> & {
|
|
19
16
|
universalFieldMappingId: z.ZodOptional<z.ZodString>;
|
|
20
17
|
dataSourceKey: z.ZodOptional<z.ZodString>;
|
|
21
18
|
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
22
|
-
appSchema: z.ZodOptional<z.ZodType<DataSchema, z.
|
|
23
|
-
direction: z.ZodOptional<z.
|
|
19
|
+
appSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
20
|
+
direction: z.ZodOptional<z.ZodEnum<typeof FieldMappingDirection>>;
|
|
24
21
|
defaultImportValue: z.ZodOptional<z.ZodAny>;
|
|
25
22
|
defaultExportValue: z.ZodOptional<z.ZodAny>;
|
|
26
23
|
importValue: z.ZodOptional<z.ZodAny>;
|
|
@@ -28,58 +25,20 @@ export declare const FieldMappingEditableProperties: z.ZodObject<Omit<{
|
|
|
28
25
|
frozenImportFields: z.ZodOptional<z.ZodAny>;
|
|
29
26
|
frozenExportFields: z.ZodOptional<z.ZodAny>;
|
|
30
27
|
frozenUnifiedExportFields: z.ZodOptional<z.ZodAny>;
|
|
31
|
-
},
|
|
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
|
-
}>;
|
|
28
|
+
}, z.core.$strip>;
|
|
70
29
|
export type FieldMappingEditableProperties = z.infer<typeof FieldMappingEditableProperties>;
|
|
71
30
|
export declare const BaseFieldMapping: z.ZodObject<{
|
|
72
31
|
id: z.ZodString;
|
|
73
32
|
key: z.ZodOptional<z.ZodString>;
|
|
74
|
-
uuid: z.ZodOptional<z.ZodString>;
|
|
75
33
|
description: z.ZodOptional<z.ZodString>;
|
|
34
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
76
35
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
77
36
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
78
37
|
universalFieldMappingId: z.ZodOptional<z.ZodString>;
|
|
79
38
|
dataSourceKey: z.ZodOptional<z.ZodString>;
|
|
80
39
|
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
81
|
-
appSchema: z.ZodOptional<z.ZodType<DataSchema, z.
|
|
82
|
-
direction: z.ZodOptional<z.
|
|
40
|
+
appSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
41
|
+
direction: z.ZodOptional<z.ZodEnum<typeof FieldMappingDirection>>;
|
|
83
42
|
defaultImportValue: z.ZodOptional<z.ZodAny>;
|
|
84
43
|
defaultExportValue: z.ZodOptional<z.ZodAny>;
|
|
85
44
|
importValue: z.ZodOptional<z.ZodAny>;
|
|
@@ -87,10 +46,9 @@ export declare const BaseFieldMapping: z.ZodObject<{
|
|
|
87
46
|
frozenImportFields: z.ZodOptional<z.ZodAny>;
|
|
88
47
|
frozenExportFields: z.ZodOptional<z.ZodAny>;
|
|
89
48
|
frozenUnifiedExportFields: z.ZodOptional<z.ZodAny>;
|
|
90
|
-
} & {
|
|
91
49
|
name: z.ZodString;
|
|
92
|
-
state: z.ZodOptional<z.
|
|
93
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.
|
|
50
|
+
state: z.ZodOptional<z.ZodEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
51
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../../..").ErrorDataSchema, unknown>>>>;
|
|
94
52
|
revision: z.ZodOptional<z.ZodString>;
|
|
95
53
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
96
54
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -98,65 +56,7 @@ export declare const BaseFieldMapping: z.ZodObject<{
|
|
|
98
56
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
99
57
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
100
58
|
universalFieldMappingRevision: z.ZodOptional<z.ZodString>;
|
|
101
|
-
},
|
|
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
|
-
}>;
|
|
59
|
+
}, z.core.$strip>;
|
|
160
60
|
export type BaseFieldMapping = z.infer<typeof BaseFieldMapping>;
|
|
161
61
|
export declare const FieldMappingUnitConfig: z.ZodObject<{
|
|
162
62
|
key: z.ZodOptional<z.ZodString>;
|
|
@@ -167,26 +67,6 @@ export declare const FieldMappingUnitConfig: z.ZodObject<{
|
|
|
167
67
|
default: z.ZodOptional<z.ZodAny>;
|
|
168
68
|
defaultUnifiedValue: z.ZodOptional<z.ZodAny>;
|
|
169
69
|
defaultValue: z.ZodOptional<z.ZodAny>;
|
|
170
|
-
appSchema: z.ZodOptional<z.ZodType<DataSchema, z.
|
|
171
|
-
},
|
|
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
|
-
}>;
|
|
70
|
+
appSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
71
|
+
}, z.core.$strip>;
|
|
192
72
|
export type FieldMappingUnitConfig = z.infer<typeof FieldMappingUnitConfig>;
|
|
@@ -12,120 +12,25 @@ export declare const createFlowInstanceSchema: z.ZodObject<{
|
|
|
12
12
|
type: z.ZodOptional<z.ZodString>;
|
|
13
13
|
userConfig: z.ZodOptional<z.ZodAny>;
|
|
14
14
|
config: z.ZodOptional<z.ZodAny>;
|
|
15
|
-
onError: z.ZodOptional<z.ZodEnum<
|
|
15
|
+
onError: z.ZodOptional<z.ZodEnum<{
|
|
16
|
+
continue: "continue";
|
|
17
|
+
stop: "stop";
|
|
18
|
+
}>>;
|
|
16
19
|
concurrency: z.ZodOptional<z.ZodNumber>;
|
|
17
20
|
ui: z.ZodOptional<z.ZodAny>;
|
|
18
21
|
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
19
22
|
key: z.ZodOptional<z.ZodString>;
|
|
20
23
|
filter: z.ZodOptional<z.ZodAny>;
|
|
21
24
|
name: z.ZodOptional<z.ZodString>;
|
|
22
|
-
},
|
|
23
|
-
key?: string | undefined;
|
|
24
|
-
filter?: any;
|
|
25
|
-
name?: string | undefined;
|
|
26
|
-
}, {
|
|
27
|
-
key?: string | undefined;
|
|
28
|
-
filter?: any;
|
|
29
|
-
name?: string | undefined;
|
|
30
|
-
}>, "many">>;
|
|
25
|
+
}, z.core.$strip>>>;
|
|
31
26
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
32
|
-
},
|
|
33
|
-
concurrency?: number | undefined;
|
|
34
|
-
type?: string | undefined;
|
|
35
|
-
name?: string | undefined;
|
|
36
|
-
isCustomized?: boolean | undefined;
|
|
37
|
-
config?: any;
|
|
38
|
-
onError?: "stop" | "continue" | undefined;
|
|
39
|
-
ui?: any;
|
|
40
|
-
links?: {
|
|
41
|
-
key?: string | undefined;
|
|
42
|
-
filter?: any;
|
|
43
|
-
name?: string | undefined;
|
|
44
|
-
}[] | undefined;
|
|
45
|
-
userConfig?: any;
|
|
46
|
-
}, {
|
|
47
|
-
concurrency?: number | undefined;
|
|
48
|
-
type?: string | undefined;
|
|
49
|
-
name?: string | undefined;
|
|
50
|
-
isCustomized?: boolean | undefined;
|
|
51
|
-
config?: any;
|
|
52
|
-
onError?: "stop" | "continue" | undefined;
|
|
53
|
-
ui?: any;
|
|
54
|
-
links?: {
|
|
55
|
-
key?: string | undefined;
|
|
56
|
-
filter?: any;
|
|
57
|
-
name?: string | undefined;
|
|
58
|
-
}[] | undefined;
|
|
59
|
-
userConfig?: any;
|
|
60
|
-
}>>>;
|
|
27
|
+
}, z.core.$strip>>>;
|
|
61
28
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
62
29
|
customized: z.ZodOptional<z.ZodObject<{
|
|
63
30
|
name: z.ZodOptional<z.ZodBoolean>;
|
|
64
31
|
nodes: z.ZodOptional<z.ZodBoolean>;
|
|
65
|
-
},
|
|
66
|
-
|
|
67
|
-
nodes?: boolean | undefined;
|
|
68
|
-
}, {
|
|
69
|
-
name?: boolean | undefined;
|
|
70
|
-
nodes?: boolean | undefined;
|
|
71
|
-
}>>;
|
|
72
|
-
}, "strip", z.ZodTypeAny, {
|
|
73
|
-
name?: string | undefined;
|
|
74
|
-
integrationId?: string | undefined;
|
|
75
|
-
userId?: string | undefined;
|
|
76
|
-
instanceKey?: string | undefined;
|
|
77
|
-
connectionId?: string | undefined;
|
|
78
|
-
parameters?: any;
|
|
79
|
-
nodes?: Record<string, {
|
|
80
|
-
concurrency?: number | undefined;
|
|
81
|
-
type?: string | undefined;
|
|
82
|
-
name?: string | undefined;
|
|
83
|
-
isCustomized?: boolean | undefined;
|
|
84
|
-
config?: any;
|
|
85
|
-
onError?: "stop" | "continue" | undefined;
|
|
86
|
-
ui?: any;
|
|
87
|
-
links?: {
|
|
88
|
-
key?: string | undefined;
|
|
89
|
-
filter?: any;
|
|
90
|
-
name?: string | undefined;
|
|
91
|
-
}[] | undefined;
|
|
92
|
-
userConfig?: any;
|
|
93
|
-
}> | undefined;
|
|
94
|
-
flowId?: string | undefined;
|
|
95
|
-
enabled?: boolean | undefined;
|
|
96
|
-
customized?: {
|
|
97
|
-
name?: boolean | undefined;
|
|
98
|
-
nodes?: boolean | undefined;
|
|
99
|
-
} | undefined;
|
|
100
|
-
}, {
|
|
101
|
-
name?: string | undefined;
|
|
102
|
-
integrationId?: string | undefined;
|
|
103
|
-
userId?: string | undefined;
|
|
104
|
-
instanceKey?: string | undefined;
|
|
105
|
-
connectionId?: string | undefined;
|
|
106
|
-
parameters?: any;
|
|
107
|
-
nodes?: Record<string, {
|
|
108
|
-
concurrency?: number | undefined;
|
|
109
|
-
type?: string | undefined;
|
|
110
|
-
name?: string | undefined;
|
|
111
|
-
isCustomized?: boolean | undefined;
|
|
112
|
-
config?: any;
|
|
113
|
-
onError?: "stop" | "continue" | undefined;
|
|
114
|
-
ui?: any;
|
|
115
|
-
links?: {
|
|
116
|
-
key?: string | undefined;
|
|
117
|
-
filter?: any;
|
|
118
|
-
name?: string | undefined;
|
|
119
|
-
}[] | undefined;
|
|
120
|
-
userConfig?: any;
|
|
121
|
-
}> | undefined;
|
|
122
|
-
flowId?: string | undefined;
|
|
123
|
-
enabled?: boolean | undefined;
|
|
124
|
-
customized?: {
|
|
125
|
-
name?: boolean | undefined;
|
|
126
|
-
nodes?: boolean | undefined;
|
|
127
|
-
} | undefined;
|
|
128
|
-
}>;
|
|
32
|
+
}, z.core.$strip>>;
|
|
33
|
+
}, z.core.$strip>;
|
|
129
34
|
export declare const updateFlowInstanceSchema: z.ZodObject<{
|
|
130
35
|
name: z.ZodOptional<z.ZodString>;
|
|
131
36
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -135,106 +40,23 @@ export declare const updateFlowInstanceSchema: z.ZodObject<{
|
|
|
135
40
|
type: z.ZodOptional<z.ZodString>;
|
|
136
41
|
userConfig: z.ZodOptional<z.ZodAny>;
|
|
137
42
|
config: z.ZodOptional<z.ZodAny>;
|
|
138
|
-
onError: z.ZodOptional<z.ZodEnum<
|
|
43
|
+
onError: z.ZodOptional<z.ZodEnum<{
|
|
44
|
+
continue: "continue";
|
|
45
|
+
stop: "stop";
|
|
46
|
+
}>>;
|
|
139
47
|
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
140
48
|
key: z.ZodOptional<z.ZodString>;
|
|
141
49
|
filter: z.ZodOptional<z.ZodAny>;
|
|
142
50
|
name: z.ZodOptional<z.ZodString>;
|
|
143
|
-
},
|
|
144
|
-
key?: string | undefined;
|
|
145
|
-
filter?: any;
|
|
146
|
-
name?: string | undefined;
|
|
147
|
-
}, {
|
|
148
|
-
key?: string | undefined;
|
|
149
|
-
filter?: any;
|
|
150
|
-
name?: string | undefined;
|
|
151
|
-
}>, "many">>;
|
|
51
|
+
}, z.core.$strip>>>;
|
|
152
52
|
concurrency: z.ZodOptional<z.ZodNumber>;
|
|
153
53
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
154
|
-
},
|
|
155
|
-
concurrency?: number | undefined;
|
|
156
|
-
type?: string | undefined;
|
|
157
|
-
name?: string | undefined;
|
|
158
|
-
isCustomized?: boolean | undefined;
|
|
159
|
-
config?: any;
|
|
160
|
-
onError?: "stop" | "continue" | undefined;
|
|
161
|
-
links?: {
|
|
162
|
-
key?: string | undefined;
|
|
163
|
-
filter?: any;
|
|
164
|
-
name?: string | undefined;
|
|
165
|
-
}[] | undefined;
|
|
166
|
-
userConfig?: any;
|
|
167
|
-
}, {
|
|
168
|
-
concurrency?: number | undefined;
|
|
169
|
-
type?: string | undefined;
|
|
170
|
-
name?: string | undefined;
|
|
171
|
-
isCustomized?: boolean | undefined;
|
|
172
|
-
config?: any;
|
|
173
|
-
onError?: "stop" | "continue" | undefined;
|
|
174
|
-
links?: {
|
|
175
|
-
key?: string | undefined;
|
|
176
|
-
filter?: any;
|
|
177
|
-
name?: string | undefined;
|
|
178
|
-
}[] | undefined;
|
|
179
|
-
userConfig?: any;
|
|
180
|
-
}>>>;
|
|
54
|
+
}, z.core.$strip>>>;
|
|
181
55
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
182
56
|
customized: z.ZodOptional<z.ZodObject<{
|
|
183
57
|
name: z.ZodOptional<z.ZodBoolean>;
|
|
184
58
|
nodes: z.ZodOptional<z.ZodBoolean>;
|
|
185
|
-
},
|
|
186
|
-
|
|
187
|
-
nodes?: boolean | undefined;
|
|
188
|
-
}, {
|
|
189
|
-
name?: boolean | undefined;
|
|
190
|
-
nodes?: boolean | undefined;
|
|
191
|
-
}>>;
|
|
192
|
-
}, "strip", z.ZodTypeAny, {
|
|
193
|
-
name?: string | undefined;
|
|
194
|
-
archivedAt?: string | undefined;
|
|
195
|
-
parameters?: any;
|
|
196
|
-
nodes?: Record<string, {
|
|
197
|
-
concurrency?: number | undefined;
|
|
198
|
-
type?: string | undefined;
|
|
199
|
-
name?: string | undefined;
|
|
200
|
-
isCustomized?: boolean | undefined;
|
|
201
|
-
config?: any;
|
|
202
|
-
onError?: "stop" | "continue" | undefined;
|
|
203
|
-
links?: {
|
|
204
|
-
key?: string | undefined;
|
|
205
|
-
filter?: any;
|
|
206
|
-
name?: string | undefined;
|
|
207
|
-
}[] | undefined;
|
|
208
|
-
userConfig?: any;
|
|
209
|
-
}> | undefined;
|
|
210
|
-
enabled?: boolean | undefined;
|
|
211
|
-
customized?: {
|
|
212
|
-
name?: boolean | undefined;
|
|
213
|
-
nodes?: boolean | undefined;
|
|
214
|
-
} | undefined;
|
|
215
|
-
}, {
|
|
216
|
-
name?: string | undefined;
|
|
217
|
-
archivedAt?: string | undefined;
|
|
218
|
-
parameters?: any;
|
|
219
|
-
nodes?: Record<string, {
|
|
220
|
-
concurrency?: number | undefined;
|
|
221
|
-
type?: string | undefined;
|
|
222
|
-
name?: string | undefined;
|
|
223
|
-
isCustomized?: boolean | undefined;
|
|
224
|
-
config?: any;
|
|
225
|
-
onError?: "stop" | "continue" | undefined;
|
|
226
|
-
links?: {
|
|
227
|
-
key?: string | undefined;
|
|
228
|
-
filter?: any;
|
|
229
|
-
name?: string | undefined;
|
|
230
|
-
}[] | undefined;
|
|
231
|
-
userConfig?: any;
|
|
232
|
-
}> | undefined;
|
|
233
|
-
enabled?: boolean | undefined;
|
|
234
|
-
customized?: {
|
|
235
|
-
name?: boolean | undefined;
|
|
236
|
-
nodes?: boolean | undefined;
|
|
237
|
-
} | undefined;
|
|
238
|
-
}>;
|
|
59
|
+
}, z.core.$strip>>;
|
|
60
|
+
}, z.core.$strip>;
|
|
239
61
|
export type CreateFlowInstanceRequest = z.infer<typeof createFlowInstanceSchema>;
|
|
240
62
|
export type UpdateFlowInstanceRequest = z.infer<typeof updateFlowInstanceSchema>;
|