@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
|
@@ -2,17 +2,9 @@ import { z } from 'zod';
|
|
|
2
2
|
import { IntegrationElementType } from '../../../integration-elements';
|
|
3
3
|
export declare const ScenarioElement: z.ZodObject<{
|
|
4
4
|
id: z.ZodString;
|
|
5
|
-
type: z.
|
|
5
|
+
type: z.ZodEnum<typeof IntegrationElementType>;
|
|
6
6
|
element: z.ZodOptional<z.ZodAny>;
|
|
7
|
-
},
|
|
8
|
-
type: IntegrationElementType;
|
|
9
|
-
id: string;
|
|
10
|
-
element?: any;
|
|
11
|
-
}, {
|
|
12
|
-
type: IntegrationElementType;
|
|
13
|
-
id: string;
|
|
14
|
-
element?: any;
|
|
15
|
-
}>;
|
|
7
|
+
}, z.core.$strip>;
|
|
16
8
|
export type ScenarioElement = z.infer<typeof ScenarioElement>;
|
|
17
9
|
export declare const ScenarioEditableProperties: z.ZodObject<{
|
|
18
10
|
key: z.ZodOptional<z.ZodString>;
|
|
@@ -20,71 +12,26 @@ export declare const ScenarioEditableProperties: z.ZodObject<{
|
|
|
20
12
|
uuid: z.ZodOptional<z.ZodString>;
|
|
21
13
|
description: z.ZodOptional<z.ZodString>;
|
|
22
14
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
23
|
-
} & {
|
|
24
15
|
scenarioTemplateId: z.ZodOptional<z.ZodString>;
|
|
25
16
|
elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
26
17
|
id: z.ZodString;
|
|
27
|
-
type: z.
|
|
18
|
+
type: z.ZodEnum<typeof IntegrationElementType>;
|
|
28
19
|
element: z.ZodOptional<z.ZodAny>;
|
|
29
|
-
},
|
|
30
|
-
type: IntegrationElementType;
|
|
31
|
-
id: string;
|
|
32
|
-
element?: any;
|
|
33
|
-
}, {
|
|
34
|
-
type: IntegrationElementType;
|
|
35
|
-
id: string;
|
|
36
|
-
element?: any;
|
|
37
|
-
}>, "many">>;
|
|
20
|
+
}, z.core.$strip>>>;
|
|
38
21
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
39
22
|
parentId: z.ZodOptional<z.ZodString>;
|
|
40
|
-
},
|
|
41
|
-
key?: string | undefined;
|
|
42
|
-
name?: string | undefined;
|
|
43
|
-
uuid?: string | undefined;
|
|
44
|
-
description?: string | undefined;
|
|
45
|
-
meta?: Record<string, any> | undefined;
|
|
46
|
-
integrationId?: string | undefined;
|
|
47
|
-
parentId?: string | undefined;
|
|
48
|
-
scenarioTemplateId?: string | undefined;
|
|
49
|
-
elements?: {
|
|
50
|
-
type: IntegrationElementType;
|
|
51
|
-
id: string;
|
|
52
|
-
element?: any;
|
|
53
|
-
}[] | undefined;
|
|
54
|
-
}, {
|
|
55
|
-
key?: string | undefined;
|
|
56
|
-
name?: string | undefined;
|
|
57
|
-
uuid?: string | undefined;
|
|
58
|
-
description?: string | undefined;
|
|
59
|
-
meta?: Record<string, any> | undefined;
|
|
60
|
-
integrationId?: string | undefined;
|
|
61
|
-
parentId?: string | undefined;
|
|
62
|
-
scenarioTemplateId?: string | undefined;
|
|
63
|
-
elements?: {
|
|
64
|
-
type: IntegrationElementType;
|
|
65
|
-
id: string;
|
|
66
|
-
element?: any;
|
|
67
|
-
}[] | undefined;
|
|
68
|
-
}>;
|
|
23
|
+
}, z.core.$strip>;
|
|
69
24
|
export type ScenarioEditableProperties = z.infer<typeof ScenarioEditableProperties>;
|
|
70
25
|
export declare const ScenarioCalculatedProperties: z.ZodObject<{
|
|
71
26
|
key: z.ZodString;
|
|
72
27
|
name: z.ZodString;
|
|
73
28
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
74
|
-
},
|
|
75
|
-
key: string;
|
|
76
|
-
name: string;
|
|
77
|
-
isCustomized?: boolean | undefined;
|
|
78
|
-
}, {
|
|
79
|
-
key: string;
|
|
80
|
-
name: string;
|
|
81
|
-
isCustomized?: boolean | undefined;
|
|
82
|
-
}>;
|
|
29
|
+
}, z.core.$strip>;
|
|
83
30
|
export type ScenarioCalculatedProperties = z.infer<typeof ScenarioCalculatedProperties>;
|
|
84
31
|
export declare const BaseScenario: z.ZodObject<{
|
|
85
32
|
id: z.ZodString;
|
|
86
|
-
state: z.ZodOptional<z.
|
|
87
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.
|
|
33
|
+
state: z.ZodOptional<z.ZodEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
34
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../../..").ErrorDataSchema, unknown>>>>;
|
|
88
35
|
revision: z.ZodOptional<z.ZodString>;
|
|
89
36
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
90
37
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -96,68 +43,13 @@ export declare const BaseScenario: z.ZodObject<{
|
|
|
96
43
|
scenarioTemplateId: z.ZodOptional<z.ZodString>;
|
|
97
44
|
elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
98
45
|
id: z.ZodString;
|
|
99
|
-
type: z.
|
|
46
|
+
type: z.ZodEnum<typeof IntegrationElementType>;
|
|
100
47
|
element: z.ZodOptional<z.ZodAny>;
|
|
101
|
-
},
|
|
102
|
-
type: IntegrationElementType;
|
|
103
|
-
id: string;
|
|
104
|
-
element?: any;
|
|
105
|
-
}, {
|
|
106
|
-
type: IntegrationElementType;
|
|
107
|
-
id: string;
|
|
108
|
-
element?: any;
|
|
109
|
-
}>, "many">>;
|
|
48
|
+
}, z.core.$strip>>>;
|
|
110
49
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
111
50
|
parentId: z.ZodOptional<z.ZodString>;
|
|
112
|
-
} & {
|
|
113
51
|
key: z.ZodString;
|
|
114
52
|
name: z.ZodString;
|
|
115
53
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
116
|
-
},
|
|
117
|
-
key: string;
|
|
118
|
-
id: string;
|
|
119
|
-
name: string;
|
|
120
|
-
uuid?: string | undefined;
|
|
121
|
-
description?: string | undefined;
|
|
122
|
-
meta?: Record<string, any> | undefined;
|
|
123
|
-
state?: import("../../types").WorkspaceElementState | undefined;
|
|
124
|
-
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
125
|
-
revision?: string | undefined;
|
|
126
|
-
createdAt?: string | undefined;
|
|
127
|
-
updatedAt?: string | undefined;
|
|
128
|
-
archivedAt?: string | undefined;
|
|
129
|
-
isDeactivated?: boolean | undefined;
|
|
130
|
-
integrationId?: string | undefined;
|
|
131
|
-
parentId?: string | undefined;
|
|
132
|
-
isCustomized?: boolean | undefined;
|
|
133
|
-
scenarioTemplateId?: string | undefined;
|
|
134
|
-
elements?: {
|
|
135
|
-
type: IntegrationElementType;
|
|
136
|
-
id: string;
|
|
137
|
-
element?: any;
|
|
138
|
-
}[] | undefined;
|
|
139
|
-
}, {
|
|
140
|
-
key: string;
|
|
141
|
-
id: string;
|
|
142
|
-
name: string;
|
|
143
|
-
uuid?: string | undefined;
|
|
144
|
-
description?: string | undefined;
|
|
145
|
-
meta?: Record<string, any> | undefined;
|
|
146
|
-
state?: import("../../types").WorkspaceElementState | undefined;
|
|
147
|
-
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
148
|
-
revision?: string | undefined;
|
|
149
|
-
createdAt?: string | undefined;
|
|
150
|
-
updatedAt?: string | undefined;
|
|
151
|
-
archivedAt?: string | undefined;
|
|
152
|
-
isDeactivated?: boolean | undefined;
|
|
153
|
-
integrationId?: string | undefined;
|
|
154
|
-
parentId?: string | undefined;
|
|
155
|
-
isCustomized?: boolean | undefined;
|
|
156
|
-
scenarioTemplateId?: string | undefined;
|
|
157
|
-
elements?: {
|
|
158
|
-
type: IntegrationElementType;
|
|
159
|
-
id: string;
|
|
160
|
-
element?: any;
|
|
161
|
-
}[] | undefined;
|
|
162
|
-
}>;
|
|
54
|
+
}, z.core.$strip>;
|
|
163
55
|
export type BaseScenario = z.infer<typeof BaseScenario>;
|
|
@@ -9,41 +9,16 @@ export declare enum ScreenBlockType {
|
|
|
9
9
|
Action = "action"
|
|
10
10
|
}
|
|
11
11
|
export declare const ScreenBlock: z.ZodIntersection<z.ZodObject<{
|
|
12
|
-
type: z.
|
|
13
|
-
},
|
|
14
|
-
type: ScreenBlockType;
|
|
15
|
-
}, {
|
|
16
|
-
type: ScreenBlockType;
|
|
17
|
-
}>, z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
12
|
+
type: z.ZodEnum<typeof ScreenBlockType>;
|
|
13
|
+
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
18
14
|
export type ScreenBlock = z.infer<typeof ScreenBlock>;
|
|
19
15
|
export declare const BaseScreen: z.ZodObject<{
|
|
20
16
|
id: z.ZodString;
|
|
21
17
|
name: z.ZodString;
|
|
22
|
-
|
|
23
|
-
type: z.ZodNativeEnum<typeof ScreenType>;
|
|
18
|
+
type: z.ZodEnum<typeof ScreenType>;
|
|
24
19
|
key: z.ZodOptional<z.ZodString>;
|
|
25
20
|
blocks: z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
26
|
-
type: z.
|
|
27
|
-
},
|
|
28
|
-
|
|
29
|
-
}, {
|
|
30
|
-
type: ScreenBlockType;
|
|
31
|
-
}>, z.ZodRecord<z.ZodString, z.ZodAny>>, "many">;
|
|
32
|
-
}, "strip", z.ZodTypeAny, {
|
|
33
|
-
type: ScreenType;
|
|
34
|
-
id: string;
|
|
35
|
-
name: string;
|
|
36
|
-
blocks: ({
|
|
37
|
-
type: ScreenBlockType;
|
|
38
|
-
} & Record<string, any>)[];
|
|
39
|
-
key?: string | undefined;
|
|
40
|
-
}, {
|
|
41
|
-
type: ScreenType;
|
|
42
|
-
id: string;
|
|
43
|
-
name: string;
|
|
44
|
-
blocks: ({
|
|
45
|
-
type: ScreenBlockType;
|
|
46
|
-
} & Record<string, any>)[];
|
|
47
|
-
key?: string | undefined;
|
|
48
|
-
}>;
|
|
21
|
+
type: z.ZodEnum<typeof ScreenBlockType>;
|
|
22
|
+
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
23
|
+
}, z.core.$strip>;
|
|
49
24
|
export type BaseScreen = z.infer<typeof BaseScreen>;
|
|
@@ -65,13 +65,7 @@ export interface WorkspaceElementCalculateStateResult {
|
|
|
65
65
|
export declare const BaseWorkspaceElement: z.ZodObject<{
|
|
66
66
|
id: z.ZodString;
|
|
67
67
|
name: z.ZodString;
|
|
68
|
-
},
|
|
69
|
-
id: string;
|
|
70
|
-
name: string;
|
|
71
|
-
}, {
|
|
72
|
-
id: string;
|
|
73
|
-
name: string;
|
|
74
|
-
}>;
|
|
68
|
+
}, z.core.$strip>;
|
|
75
69
|
export type BaseWorkspaceElement = z.infer<typeof BaseWorkspaceElement>;
|
|
76
70
|
export declare const BaseMembraneInterfaceEditableProperties: z.ZodObject<{
|
|
77
71
|
key: z.ZodOptional<z.ZodString>;
|
|
@@ -79,91 +73,32 @@ export declare const BaseMembraneInterfaceEditableProperties: z.ZodObject<{
|
|
|
79
73
|
uuid: z.ZodOptional<z.ZodString>;
|
|
80
74
|
description: z.ZodOptional<z.ZodString>;
|
|
81
75
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
82
|
-
},
|
|
83
|
-
key?: string | undefined;
|
|
84
|
-
name?: string | undefined;
|
|
85
|
-
uuid?: string | undefined;
|
|
86
|
-
description?: string | undefined;
|
|
87
|
-
meta?: Record<string, any> | undefined;
|
|
88
|
-
}, {
|
|
89
|
-
key?: string | undefined;
|
|
90
|
-
name?: string | undefined;
|
|
91
|
-
uuid?: string | undefined;
|
|
92
|
-
description?: string | undefined;
|
|
93
|
-
meta?: Record<string, any> | undefined;
|
|
94
|
-
}>;
|
|
76
|
+
}, z.core.$strip>;
|
|
95
77
|
export declare const BaseMembraneInterfaceReadOnlyProperties: z.ZodObject<{
|
|
96
78
|
name: z.ZodString;
|
|
97
|
-
state: z.ZodOptional<z.
|
|
98
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, z.
|
|
79
|
+
state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
|
|
80
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
|
|
99
81
|
revision: z.ZodOptional<z.ZodString>;
|
|
100
82
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
101
83
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
102
84
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
103
85
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
104
|
-
},
|
|
105
|
-
name: string;
|
|
106
|
-
state?: WorkspaceElementState | undefined;
|
|
107
|
-
errors?: ErrorDataSchema[] | undefined;
|
|
108
|
-
revision?: string | undefined;
|
|
109
|
-
createdAt?: string | undefined;
|
|
110
|
-
updatedAt?: string | undefined;
|
|
111
|
-
archivedAt?: string | undefined;
|
|
112
|
-
isDeactivated?: boolean | undefined;
|
|
113
|
-
}, {
|
|
114
|
-
name: string;
|
|
115
|
-
state?: WorkspaceElementState | undefined;
|
|
116
|
-
errors?: ErrorDataSchema[] | undefined;
|
|
117
|
-
revision?: string | undefined;
|
|
118
|
-
createdAt?: string | undefined;
|
|
119
|
-
updatedAt?: string | undefined;
|
|
120
|
-
archivedAt?: string | undefined;
|
|
121
|
-
isDeactivated?: boolean | undefined;
|
|
122
|
-
}>;
|
|
86
|
+
}, z.core.$strip>;
|
|
123
87
|
export declare const BaseMembraneInterface: z.ZodObject<{
|
|
124
88
|
id: z.ZodString;
|
|
125
89
|
key: z.ZodOptional<z.ZodString>;
|
|
126
90
|
uuid: z.ZodOptional<z.ZodString>;
|
|
127
91
|
description: z.ZodOptional<z.ZodString>;
|
|
128
92
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
129
|
-
} & {
|
|
130
93
|
name: z.ZodString;
|
|
131
|
-
state: z.ZodOptional<z.
|
|
132
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, z.
|
|
94
|
+
state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
|
|
95
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
|
|
133
96
|
revision: z.ZodOptional<z.ZodString>;
|
|
134
97
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
135
98
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
136
99
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
137
100
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
138
|
-
},
|
|
139
|
-
id: string;
|
|
140
|
-
name: string;
|
|
141
|
-
key?: string | undefined;
|
|
142
|
-
uuid?: string | undefined;
|
|
143
|
-
description?: string | undefined;
|
|
144
|
-
meta?: Record<string, any> | undefined;
|
|
145
|
-
state?: WorkspaceElementState | undefined;
|
|
146
|
-
errors?: ErrorDataSchema[] | undefined;
|
|
147
|
-
revision?: string | undefined;
|
|
148
|
-
createdAt?: string | undefined;
|
|
149
|
-
updatedAt?: string | undefined;
|
|
150
|
-
archivedAt?: string | undefined;
|
|
151
|
-
isDeactivated?: boolean | undefined;
|
|
152
|
-
}, {
|
|
153
|
-
id: string;
|
|
154
|
-
name: string;
|
|
155
|
-
key?: string | undefined;
|
|
156
|
-
uuid?: string | undefined;
|
|
157
|
-
description?: string | undefined;
|
|
158
|
-
meta?: Record<string, any> | undefined;
|
|
159
|
-
state?: WorkspaceElementState | undefined;
|
|
160
|
-
errors?: ErrorDataSchema[] | undefined;
|
|
161
|
-
revision?: string | undefined;
|
|
162
|
-
createdAt?: string | undefined;
|
|
163
|
-
updatedAt?: string | undefined;
|
|
164
|
-
archivedAt?: string | undefined;
|
|
165
|
-
isDeactivated?: boolean | undefined;
|
|
166
|
-
}>;
|
|
101
|
+
}, z.core.$strip>;
|
|
167
102
|
export type BaseMembraneInterface = z.infer<typeof BaseMembraneInterface>;
|
|
168
103
|
export declare const BaseIntegrationLevelMembraneInterfaceEditableProperties: z.ZodObject<{
|
|
169
104
|
key: z.ZodOptional<z.ZodString>;
|
|
@@ -171,58 +106,20 @@ export declare const BaseIntegrationLevelMembraneInterfaceEditableProperties: z.
|
|
|
171
106
|
uuid: z.ZodOptional<z.ZodString>;
|
|
172
107
|
description: z.ZodOptional<z.ZodString>;
|
|
173
108
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
174
|
-
} & {
|
|
175
109
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
176
110
|
parentId: z.ZodOptional<z.ZodString>;
|
|
177
|
-
},
|
|
178
|
-
key?: string | undefined;
|
|
179
|
-
name?: string | undefined;
|
|
180
|
-
uuid?: string | undefined;
|
|
181
|
-
description?: string | undefined;
|
|
182
|
-
meta?: Record<string, any> | undefined;
|
|
183
|
-
integrationId?: string | undefined;
|
|
184
|
-
parentId?: string | undefined;
|
|
185
|
-
}, {
|
|
186
|
-
key?: string | undefined;
|
|
187
|
-
name?: string | undefined;
|
|
188
|
-
uuid?: string | undefined;
|
|
189
|
-
description?: string | undefined;
|
|
190
|
-
meta?: Record<string, any> | undefined;
|
|
191
|
-
integrationId?: string | undefined;
|
|
192
|
-
parentId?: string | undefined;
|
|
193
|
-
}>;
|
|
111
|
+
}, z.core.$strip>;
|
|
194
112
|
export declare const BaseIntegrationLevelMembraneInterfaceReadOnlyProperties: z.ZodObject<{
|
|
195
113
|
name: z.ZodString;
|
|
196
|
-
state: z.ZodOptional<z.
|
|
197
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, z.
|
|
114
|
+
state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
|
|
115
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
|
|
198
116
|
revision: z.ZodOptional<z.ZodString>;
|
|
199
117
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
200
118
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
201
119
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
202
120
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
203
|
-
} & {
|
|
204
121
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
205
|
-
},
|
|
206
|
-
name: string;
|
|
207
|
-
state?: WorkspaceElementState | undefined;
|
|
208
|
-
errors?: ErrorDataSchema[] | undefined;
|
|
209
|
-
revision?: string | undefined;
|
|
210
|
-
createdAt?: string | undefined;
|
|
211
|
-
updatedAt?: string | undefined;
|
|
212
|
-
archivedAt?: string | undefined;
|
|
213
|
-
isDeactivated?: boolean | undefined;
|
|
214
|
-
isCustomized?: boolean | undefined;
|
|
215
|
-
}, {
|
|
216
|
-
name: string;
|
|
217
|
-
state?: WorkspaceElementState | undefined;
|
|
218
|
-
errors?: ErrorDataSchema[] | undefined;
|
|
219
|
-
revision?: string | undefined;
|
|
220
|
-
createdAt?: string | undefined;
|
|
221
|
-
updatedAt?: string | undefined;
|
|
222
|
-
archivedAt?: string | undefined;
|
|
223
|
-
isDeactivated?: boolean | undefined;
|
|
224
|
-
isCustomized?: boolean | undefined;
|
|
225
|
-
}>;
|
|
122
|
+
}, z.core.$strip>;
|
|
226
123
|
export declare const BaseIntegrationLevelMembraneInterface: z.ZodObject<{
|
|
227
124
|
id: z.ZodString;
|
|
228
125
|
key: z.ZodOptional<z.ZodString>;
|
|
@@ -231,51 +128,16 @@ export declare const BaseIntegrationLevelMembraneInterface: z.ZodObject<{
|
|
|
231
128
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
232
129
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
233
130
|
parentId: z.ZodOptional<z.ZodString>;
|
|
234
|
-
} & {
|
|
235
131
|
name: z.ZodString;
|
|
236
|
-
state: z.ZodOptional<z.
|
|
237
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, z.
|
|
132
|
+
state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
|
|
133
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
|
|
238
134
|
revision: z.ZodOptional<z.ZodString>;
|
|
239
135
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
240
136
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
241
137
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
242
138
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
243
139
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
244
|
-
},
|
|
245
|
-
id: string;
|
|
246
|
-
name: string;
|
|
247
|
-
key?: string | undefined;
|
|
248
|
-
uuid?: string | undefined;
|
|
249
|
-
description?: string | undefined;
|
|
250
|
-
meta?: Record<string, any> | undefined;
|
|
251
|
-
state?: WorkspaceElementState | undefined;
|
|
252
|
-
errors?: ErrorDataSchema[] | undefined;
|
|
253
|
-
revision?: string | undefined;
|
|
254
|
-
createdAt?: string | undefined;
|
|
255
|
-
updatedAt?: string | undefined;
|
|
256
|
-
archivedAt?: string | undefined;
|
|
257
|
-
isDeactivated?: boolean | undefined;
|
|
258
|
-
integrationId?: string | undefined;
|
|
259
|
-
parentId?: string | undefined;
|
|
260
|
-
isCustomized?: boolean | undefined;
|
|
261
|
-
}, {
|
|
262
|
-
id: string;
|
|
263
|
-
name: string;
|
|
264
|
-
key?: string | undefined;
|
|
265
|
-
uuid?: string | undefined;
|
|
266
|
-
description?: string | undefined;
|
|
267
|
-
meta?: Record<string, any> | undefined;
|
|
268
|
-
state?: WorkspaceElementState | undefined;
|
|
269
|
-
errors?: ErrorDataSchema[] | undefined;
|
|
270
|
-
revision?: string | undefined;
|
|
271
|
-
createdAt?: string | undefined;
|
|
272
|
-
updatedAt?: string | undefined;
|
|
273
|
-
archivedAt?: string | undefined;
|
|
274
|
-
isDeactivated?: boolean | undefined;
|
|
275
|
-
integrationId?: string | undefined;
|
|
276
|
-
parentId?: string | undefined;
|
|
277
|
-
isCustomized?: boolean | undefined;
|
|
278
|
-
}>;
|
|
140
|
+
}, z.core.$strip>;
|
|
279
141
|
export type BaseIntegrationLevelMembraneInterface = z.infer<typeof BaseIntegrationLevelMembraneInterface>;
|
|
280
142
|
export interface WorkspaceElementReference {
|
|
281
143
|
type: WorkspaceElementType;
|
|
@@ -12,6 +12,8 @@ export interface WorkspaceElementSpec {
|
|
|
12
12
|
editablePropertiesSchema?: z.ZodObject<any>;
|
|
13
13
|
apiResponseSchema?: z.ZodObject<any>;
|
|
14
14
|
findQuerySchema?: z.ZodObject<any>;
|
|
15
|
+
isMembraneInterface?: boolean;
|
|
16
|
+
isIntegrationLevel?: boolean;
|
|
15
17
|
parentFieldKey?: string;
|
|
16
18
|
}
|
|
17
19
|
export interface WorkspaceElements {
|