@membranehq/sdk 0.7.4 → 0.7.5
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 +2063 -13949
- package/dist/bundle.js +3949 -4253
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/connections-accessors.d.ts +28 -28
- 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 +27 -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/index.browser.d.mts +5926 -24800
- package/dist/index.browser.d.ts +5926 -24800
- package/dist/index.browser.js +287 -281
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +285 -279
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +5956 -24840
- package/dist/index.node.d.ts +5956 -24840
- package/dist/index.node.js +287 -281
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +285 -279
- package/dist/index.node.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -13,242 +13,72 @@ export declare const HandyScenarioTemplateElement: z.ZodObject<{
|
|
|
13
13
|
integration: z.ZodOptional<z.ZodObject<{
|
|
14
14
|
key: z.ZodString;
|
|
15
15
|
connectorId: z.ZodString;
|
|
16
|
-
},
|
|
17
|
-
key: string;
|
|
18
|
-
connectorId: string;
|
|
19
|
-
}, {
|
|
20
|
-
key: string;
|
|
21
|
-
connectorId: string;
|
|
22
|
-
}>>;
|
|
16
|
+
}, z.core.$strip>>;
|
|
23
17
|
integrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
24
18
|
key: z.ZodString;
|
|
25
19
|
connectorId: z.ZodString;
|
|
26
|
-
},
|
|
27
|
-
key: string;
|
|
28
|
-
connectorId: string;
|
|
29
|
-
}, {
|
|
30
|
-
key: string;
|
|
31
|
-
connectorId: string;
|
|
32
|
-
}>, "many">>;
|
|
20
|
+
}, z.core.$strip>>>;
|
|
33
21
|
fields: z.ZodIntersection<z.ZodObject<{
|
|
34
22
|
key: z.ZodString;
|
|
35
23
|
name: z.ZodString;
|
|
36
|
-
},
|
|
37
|
-
|
|
38
|
-
name: string;
|
|
39
|
-
}, {
|
|
40
|
-
key: string;
|
|
41
|
-
name: string;
|
|
42
|
-
}>, z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
43
|
-
}, "strip", z.ZodTypeAny, {
|
|
44
|
-
type: string;
|
|
45
|
-
fields: {
|
|
46
|
-
key: string;
|
|
47
|
-
name: string;
|
|
48
|
-
} & Record<string, any>;
|
|
49
|
-
integration?: {
|
|
50
|
-
key: string;
|
|
51
|
-
connectorId: string;
|
|
52
|
-
} | undefined;
|
|
53
|
-
integrations?: {
|
|
54
|
-
key: string;
|
|
55
|
-
connectorId: string;
|
|
56
|
-
}[] | undefined;
|
|
57
|
-
}, {
|
|
58
|
-
type: string;
|
|
59
|
-
fields: {
|
|
60
|
-
key: string;
|
|
61
|
-
name: string;
|
|
62
|
-
} & Record<string, any>;
|
|
63
|
-
integration?: {
|
|
64
|
-
key: string;
|
|
65
|
-
connectorId: string;
|
|
66
|
-
} | undefined;
|
|
67
|
-
integrations?: {
|
|
68
|
-
key: string;
|
|
69
|
-
connectorId: string;
|
|
70
|
-
}[] | undefined;
|
|
71
|
-
}>;
|
|
24
|
+
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
25
|
+
}, z.core.$strip>;
|
|
72
26
|
export type HandyScenarioTemplateElement = z.infer<typeof HandyScenarioTemplateElement>;
|
|
73
27
|
export declare const ElementsExportFields: z.ZodObject<{
|
|
74
28
|
flows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodAny, z.ZodObject<{
|
|
75
|
-
integrationKeys: z.ZodOptional<z.ZodArray<z.ZodString
|
|
76
|
-
},
|
|
77
|
-
integrationKeys?: string[] | undefined;
|
|
78
|
-
}, {
|
|
79
|
-
integrationKeys?: string[] | undefined;
|
|
80
|
-
}>>>>;
|
|
29
|
+
integrationKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
30
|
+
}, z.core.$strip>>>>;
|
|
81
31
|
actions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodAny, z.ZodObject<{
|
|
82
|
-
integrationKeys: z.ZodOptional<z.ZodArray<z.ZodString
|
|
83
|
-
},
|
|
84
|
-
integrationKeys?: string[] | undefined;
|
|
85
|
-
}, {
|
|
86
|
-
integrationKeys?: string[] | undefined;
|
|
87
|
-
}>>>>;
|
|
32
|
+
integrationKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
33
|
+
}, z.core.$strip>>>>;
|
|
88
34
|
fieldMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodAny, z.ZodObject<{
|
|
89
|
-
integrationKeys: z.ZodOptional<z.ZodArray<z.ZodString
|
|
90
|
-
},
|
|
91
|
-
integrationKeys?: string[] | undefined;
|
|
92
|
-
}, {
|
|
93
|
-
integrationKeys?: string[] | undefined;
|
|
94
|
-
}>>>>;
|
|
35
|
+
integrationKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
36
|
+
}, z.core.$strip>>>>;
|
|
95
37
|
dataSources: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodAny, z.ZodObject<{
|
|
96
|
-
integrationKeys: z.ZodOptional<z.ZodArray<z.ZodString
|
|
97
|
-
},
|
|
98
|
-
integrationKeys?: string[] | undefined;
|
|
99
|
-
}, {
|
|
100
|
-
integrationKeys?: string[] | undefined;
|
|
101
|
-
}>>>>;
|
|
38
|
+
integrationKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
39
|
+
}, z.core.$strip>>>>;
|
|
102
40
|
dataLinkTables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
103
41
|
appEventTypes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
104
42
|
appDataSchemas: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
105
|
-
},
|
|
106
|
-
actions?: Record<string, any> | undefined;
|
|
107
|
-
flows?: Record<string, any> | undefined;
|
|
108
|
-
fieldMappings?: Record<string, any> | undefined;
|
|
109
|
-
dataSources?: Record<string, any> | undefined;
|
|
110
|
-
dataLinkTables?: Record<string, any> | undefined;
|
|
111
|
-
appEventTypes?: Record<string, any> | undefined;
|
|
112
|
-
appDataSchemas?: Record<string, any> | undefined;
|
|
113
|
-
}, {
|
|
114
|
-
actions?: Record<string, any> | undefined;
|
|
115
|
-
flows?: Record<string, any> | undefined;
|
|
116
|
-
fieldMappings?: Record<string, any> | undefined;
|
|
117
|
-
dataSources?: Record<string, any> | undefined;
|
|
118
|
-
dataLinkTables?: Record<string, any> | undefined;
|
|
119
|
-
appEventTypes?: Record<string, any> | undefined;
|
|
120
|
-
appDataSchemas?: Record<string, any> | undefined;
|
|
121
|
-
}>;
|
|
43
|
+
}, z.core.$strip>;
|
|
122
44
|
export type ElementsExportFields = z.infer<typeof ElementsExportFields>;
|
|
123
45
|
export declare const ScenarioTemplateElements: z.ZodIntersection<z.ZodObject<{
|
|
124
46
|
flows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodAny, z.ZodObject<{
|
|
125
|
-
integrationKeys: z.ZodOptional<z.ZodArray<z.ZodString
|
|
126
|
-
},
|
|
127
|
-
integrationKeys?: string[] | undefined;
|
|
128
|
-
}, {
|
|
129
|
-
integrationKeys?: string[] | undefined;
|
|
130
|
-
}>>>>;
|
|
47
|
+
integrationKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
48
|
+
}, z.core.$strip>>>>;
|
|
131
49
|
actions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodAny, z.ZodObject<{
|
|
132
|
-
integrationKeys: z.ZodOptional<z.ZodArray<z.ZodString
|
|
133
|
-
},
|
|
134
|
-
integrationKeys?: string[] | undefined;
|
|
135
|
-
}, {
|
|
136
|
-
integrationKeys?: string[] | undefined;
|
|
137
|
-
}>>>>;
|
|
50
|
+
integrationKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
51
|
+
}, z.core.$strip>>>>;
|
|
138
52
|
fieldMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodAny, z.ZodObject<{
|
|
139
|
-
integrationKeys: z.ZodOptional<z.ZodArray<z.ZodString
|
|
140
|
-
},
|
|
141
|
-
integrationKeys?: string[] | undefined;
|
|
142
|
-
}, {
|
|
143
|
-
integrationKeys?: string[] | undefined;
|
|
144
|
-
}>>>>;
|
|
53
|
+
integrationKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
54
|
+
}, z.core.$strip>>>>;
|
|
145
55
|
dataSources: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodAny, z.ZodObject<{
|
|
146
|
-
integrationKeys: z.ZodOptional<z.ZodArray<z.ZodString
|
|
147
|
-
},
|
|
148
|
-
integrationKeys?: string[] | undefined;
|
|
149
|
-
}, {
|
|
150
|
-
integrationKeys?: string[] | undefined;
|
|
151
|
-
}>>>>;
|
|
56
|
+
integrationKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
57
|
+
}, z.core.$strip>>>>;
|
|
152
58
|
dataLinkTables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
153
59
|
appEventTypes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
154
60
|
appDataSchemas: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
155
|
-
},
|
|
156
|
-
actions?: Record<string, any> | undefined;
|
|
157
|
-
flows?: Record<string, any> | undefined;
|
|
158
|
-
fieldMappings?: Record<string, any> | undefined;
|
|
159
|
-
dataSources?: Record<string, any> | undefined;
|
|
160
|
-
dataLinkTables?: Record<string, any> | undefined;
|
|
161
|
-
appEventTypes?: Record<string, any> | undefined;
|
|
162
|
-
appDataSchemas?: Record<string, any> | undefined;
|
|
163
|
-
}, {
|
|
164
|
-
actions?: Record<string, any> | undefined;
|
|
165
|
-
flows?: Record<string, any> | undefined;
|
|
166
|
-
fieldMappings?: Record<string, any> | undefined;
|
|
167
|
-
dataSources?: Record<string, any> | undefined;
|
|
168
|
-
dataLinkTables?: Record<string, any> | undefined;
|
|
169
|
-
appEventTypes?: Record<string, any> | undefined;
|
|
170
|
-
appDataSchemas?: Record<string, any> | undefined;
|
|
171
|
-
}>, z.ZodObject<{
|
|
61
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
172
62
|
integrations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodObject<{
|
|
173
63
|
flows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodAny, z.ZodObject<{
|
|
174
|
-
integrationKeys: z.ZodOptional<z.ZodArray<z.ZodString
|
|
175
|
-
},
|
|
176
|
-
integrationKeys?: string[] | undefined;
|
|
177
|
-
}, {
|
|
178
|
-
integrationKeys?: string[] | undefined;
|
|
179
|
-
}>>>>;
|
|
64
|
+
integrationKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
65
|
+
}, z.core.$strip>>>>;
|
|
180
66
|
actions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodAny, z.ZodObject<{
|
|
181
|
-
integrationKeys: z.ZodOptional<z.ZodArray<z.ZodString
|
|
182
|
-
},
|
|
183
|
-
integrationKeys?: string[] | undefined;
|
|
184
|
-
}, {
|
|
185
|
-
integrationKeys?: string[] | undefined;
|
|
186
|
-
}>>>>;
|
|
67
|
+
integrationKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
68
|
+
}, z.core.$strip>>>>;
|
|
187
69
|
fieldMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodAny, z.ZodObject<{
|
|
188
|
-
integrationKeys: z.ZodOptional<z.ZodArray<z.ZodString
|
|
189
|
-
},
|
|
190
|
-
integrationKeys?: string[] | undefined;
|
|
191
|
-
}, {
|
|
192
|
-
integrationKeys?: string[] | undefined;
|
|
193
|
-
}>>>>;
|
|
70
|
+
integrationKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
71
|
+
}, z.core.$strip>>>>;
|
|
194
72
|
dataSources: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodAny, z.ZodObject<{
|
|
195
|
-
integrationKeys: z.ZodOptional<z.ZodArray<z.ZodString
|
|
196
|
-
},
|
|
197
|
-
integrationKeys?: string[] | undefined;
|
|
198
|
-
}, {
|
|
199
|
-
integrationKeys?: string[] | undefined;
|
|
200
|
-
}>>>>;
|
|
73
|
+
integrationKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
74
|
+
}, z.core.$strip>>>>;
|
|
201
75
|
dataLinkTables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
202
76
|
appEventTypes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
203
77
|
appDataSchemas: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
204
|
-
},
|
|
205
|
-
actions?: Record<string, any> | undefined;
|
|
206
|
-
flows?: Record<string, any> | undefined;
|
|
207
|
-
fieldMappings?: Record<string, any> | undefined;
|
|
208
|
-
dataSources?: Record<string, any> | undefined;
|
|
209
|
-
dataLinkTables?: Record<string, any> | undefined;
|
|
210
|
-
appEventTypes?: Record<string, any> | undefined;
|
|
211
|
-
appDataSchemas?: Record<string, any> | undefined;
|
|
212
|
-
}, {
|
|
213
|
-
actions?: Record<string, any> | undefined;
|
|
214
|
-
flows?: Record<string, any> | undefined;
|
|
215
|
-
fieldMappings?: Record<string, any> | undefined;
|
|
216
|
-
dataSources?: Record<string, any> | undefined;
|
|
217
|
-
dataLinkTables?: Record<string, any> | undefined;
|
|
218
|
-
appEventTypes?: Record<string, any> | undefined;
|
|
219
|
-
appDataSchemas?: Record<string, any> | undefined;
|
|
220
|
-
}>, z.ZodObject<{
|
|
78
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
221
79
|
connectorId: z.ZodString;
|
|
222
|
-
},
|
|
223
|
-
|
|
224
|
-
}, {
|
|
225
|
-
connectorId: string;
|
|
226
|
-
}>>>>;
|
|
227
|
-
}, "strip", z.ZodTypeAny, {
|
|
228
|
-
integrations?: Record<string, {
|
|
229
|
-
actions?: Record<string, any> | undefined;
|
|
230
|
-
flows?: Record<string, any> | undefined;
|
|
231
|
-
fieldMappings?: Record<string, any> | undefined;
|
|
232
|
-
dataSources?: Record<string, any> | undefined;
|
|
233
|
-
dataLinkTables?: Record<string, any> | undefined;
|
|
234
|
-
appEventTypes?: Record<string, any> | undefined;
|
|
235
|
-
appDataSchemas?: Record<string, any> | undefined;
|
|
236
|
-
} & {
|
|
237
|
-
connectorId: string;
|
|
238
|
-
}> | undefined;
|
|
239
|
-
}, {
|
|
240
|
-
integrations?: Record<string, {
|
|
241
|
-
actions?: Record<string, any> | undefined;
|
|
242
|
-
flows?: Record<string, any> | undefined;
|
|
243
|
-
fieldMappings?: Record<string, any> | undefined;
|
|
244
|
-
dataSources?: Record<string, any> | undefined;
|
|
245
|
-
dataLinkTables?: Record<string, any> | undefined;
|
|
246
|
-
appEventTypes?: Record<string, any> | undefined;
|
|
247
|
-
appDataSchemas?: Record<string, any> | undefined;
|
|
248
|
-
} & {
|
|
249
|
-
connectorId: string;
|
|
250
|
-
}> | undefined;
|
|
251
|
-
}>>;
|
|
80
|
+
}, z.core.$strip>>>>;
|
|
81
|
+
}, z.core.$strip>>;
|
|
252
82
|
export type ScenarioTemplateElements = z.infer<typeof ScenarioTemplateElements>;
|
|
253
83
|
export declare const ScenarioTemplate: z.ZodObject<{
|
|
254
84
|
id: z.ZodString;
|
|
@@ -260,320 +90,66 @@ export declare const ScenarioTemplate: z.ZodObject<{
|
|
|
260
90
|
demoAppUri: z.ZodOptional<z.ZodString>;
|
|
261
91
|
demoGithubRepo: z.ZodOptional<z.ZodString>;
|
|
262
92
|
demoVideoYoutubeUri: z.ZodOptional<z.ZodString>;
|
|
263
|
-
tags: z.ZodOptional<z.ZodArray<z.
|
|
93
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof ScenarioTemplateCategory>>>;
|
|
264
94
|
elements: z.ZodOptional<z.ZodIntersection<z.ZodObject<{
|
|
265
95
|
flows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodAny, z.ZodObject<{
|
|
266
|
-
integrationKeys: z.ZodOptional<z.ZodArray<z.ZodString
|
|
267
|
-
},
|
|
268
|
-
integrationKeys?: string[] | undefined;
|
|
269
|
-
}, {
|
|
270
|
-
integrationKeys?: string[] | undefined;
|
|
271
|
-
}>>>>;
|
|
96
|
+
integrationKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
97
|
+
}, z.core.$strip>>>>;
|
|
272
98
|
actions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodAny, z.ZodObject<{
|
|
273
|
-
integrationKeys: z.ZodOptional<z.ZodArray<z.ZodString
|
|
274
|
-
},
|
|
275
|
-
integrationKeys?: string[] | undefined;
|
|
276
|
-
}, {
|
|
277
|
-
integrationKeys?: string[] | undefined;
|
|
278
|
-
}>>>>;
|
|
99
|
+
integrationKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
100
|
+
}, z.core.$strip>>>>;
|
|
279
101
|
fieldMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodAny, z.ZodObject<{
|
|
280
|
-
integrationKeys: z.ZodOptional<z.ZodArray<z.ZodString
|
|
281
|
-
},
|
|
282
|
-
integrationKeys?: string[] | undefined;
|
|
283
|
-
}, {
|
|
284
|
-
integrationKeys?: string[] | undefined;
|
|
285
|
-
}>>>>;
|
|
102
|
+
integrationKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
103
|
+
}, z.core.$strip>>>>;
|
|
286
104
|
dataSources: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodAny, z.ZodObject<{
|
|
287
|
-
integrationKeys: z.ZodOptional<z.ZodArray<z.ZodString
|
|
288
|
-
},
|
|
289
|
-
integrationKeys?: string[] | undefined;
|
|
290
|
-
}, {
|
|
291
|
-
integrationKeys?: string[] | undefined;
|
|
292
|
-
}>>>>;
|
|
105
|
+
integrationKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
106
|
+
}, z.core.$strip>>>>;
|
|
293
107
|
dataLinkTables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
294
108
|
appEventTypes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
295
109
|
appDataSchemas: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
296
|
-
},
|
|
297
|
-
actions?: Record<string, any> | undefined;
|
|
298
|
-
flows?: Record<string, any> | undefined;
|
|
299
|
-
fieldMappings?: Record<string, any> | undefined;
|
|
300
|
-
dataSources?: Record<string, any> | undefined;
|
|
301
|
-
dataLinkTables?: Record<string, any> | undefined;
|
|
302
|
-
appEventTypes?: Record<string, any> | undefined;
|
|
303
|
-
appDataSchemas?: Record<string, any> | undefined;
|
|
304
|
-
}, {
|
|
305
|
-
actions?: Record<string, any> | undefined;
|
|
306
|
-
flows?: Record<string, any> | undefined;
|
|
307
|
-
fieldMappings?: Record<string, any> | undefined;
|
|
308
|
-
dataSources?: Record<string, any> | undefined;
|
|
309
|
-
dataLinkTables?: Record<string, any> | undefined;
|
|
310
|
-
appEventTypes?: Record<string, any> | undefined;
|
|
311
|
-
appDataSchemas?: Record<string, any> | undefined;
|
|
312
|
-
}>, z.ZodObject<{
|
|
110
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
313
111
|
integrations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodObject<{
|
|
314
112
|
flows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodAny, z.ZodObject<{
|
|
315
|
-
integrationKeys: z.ZodOptional<z.ZodArray<z.ZodString
|
|
316
|
-
},
|
|
317
|
-
integrationKeys?: string[] | undefined;
|
|
318
|
-
}, {
|
|
319
|
-
integrationKeys?: string[] | undefined;
|
|
320
|
-
}>>>>;
|
|
113
|
+
integrationKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
114
|
+
}, z.core.$strip>>>>;
|
|
321
115
|
actions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodAny, z.ZodObject<{
|
|
322
|
-
integrationKeys: z.ZodOptional<z.ZodArray<z.ZodString
|
|
323
|
-
},
|
|
324
|
-
integrationKeys?: string[] | undefined;
|
|
325
|
-
}, {
|
|
326
|
-
integrationKeys?: string[] | undefined;
|
|
327
|
-
}>>>>;
|
|
116
|
+
integrationKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
117
|
+
}, z.core.$strip>>>>;
|
|
328
118
|
fieldMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodAny, z.ZodObject<{
|
|
329
|
-
integrationKeys: z.ZodOptional<z.ZodArray<z.ZodString
|
|
330
|
-
},
|
|
331
|
-
integrationKeys?: string[] | undefined;
|
|
332
|
-
}, {
|
|
333
|
-
integrationKeys?: string[] | undefined;
|
|
334
|
-
}>>>>;
|
|
119
|
+
integrationKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
120
|
+
}, z.core.$strip>>>>;
|
|
335
121
|
dataSources: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodAny, z.ZodObject<{
|
|
336
|
-
integrationKeys: z.ZodOptional<z.ZodArray<z.ZodString
|
|
337
|
-
},
|
|
338
|
-
integrationKeys?: string[] | undefined;
|
|
339
|
-
}, {
|
|
340
|
-
integrationKeys?: string[] | undefined;
|
|
341
|
-
}>>>>;
|
|
122
|
+
integrationKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
123
|
+
}, z.core.$strip>>>>;
|
|
342
124
|
dataLinkTables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
343
125
|
appEventTypes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
344
126
|
appDataSchemas: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
345
|
-
},
|
|
346
|
-
actions?: Record<string, any> | undefined;
|
|
347
|
-
flows?: Record<string, any> | undefined;
|
|
348
|
-
fieldMappings?: Record<string, any> | undefined;
|
|
349
|
-
dataSources?: Record<string, any> | undefined;
|
|
350
|
-
dataLinkTables?: Record<string, any> | undefined;
|
|
351
|
-
appEventTypes?: Record<string, any> | undefined;
|
|
352
|
-
appDataSchemas?: Record<string, any> | undefined;
|
|
353
|
-
}, {
|
|
354
|
-
actions?: Record<string, any> | undefined;
|
|
355
|
-
flows?: Record<string, any> | undefined;
|
|
356
|
-
fieldMappings?: Record<string, any> | undefined;
|
|
357
|
-
dataSources?: Record<string, any> | undefined;
|
|
358
|
-
dataLinkTables?: Record<string, any> | undefined;
|
|
359
|
-
appEventTypes?: Record<string, any> | undefined;
|
|
360
|
-
appDataSchemas?: Record<string, any> | undefined;
|
|
361
|
-
}>, z.ZodObject<{
|
|
127
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
362
128
|
connectorId: z.ZodString;
|
|
363
|
-
},
|
|
364
|
-
|
|
365
|
-
}, {
|
|
366
|
-
connectorId: string;
|
|
367
|
-
}>>>>;
|
|
368
|
-
}, "strip", z.ZodTypeAny, {
|
|
369
|
-
integrations?: Record<string, {
|
|
370
|
-
actions?: Record<string, any> | undefined;
|
|
371
|
-
flows?: Record<string, any> | undefined;
|
|
372
|
-
fieldMappings?: Record<string, any> | undefined;
|
|
373
|
-
dataSources?: Record<string, any> | undefined;
|
|
374
|
-
dataLinkTables?: Record<string, any> | undefined;
|
|
375
|
-
appEventTypes?: Record<string, any> | undefined;
|
|
376
|
-
appDataSchemas?: Record<string, any> | undefined;
|
|
377
|
-
} & {
|
|
378
|
-
connectorId: string;
|
|
379
|
-
}> | undefined;
|
|
380
|
-
}, {
|
|
381
|
-
integrations?: Record<string, {
|
|
382
|
-
actions?: Record<string, any> | undefined;
|
|
383
|
-
flows?: Record<string, any> | undefined;
|
|
384
|
-
fieldMappings?: Record<string, any> | undefined;
|
|
385
|
-
dataSources?: Record<string, any> | undefined;
|
|
386
|
-
dataLinkTables?: Record<string, any> | undefined;
|
|
387
|
-
appEventTypes?: Record<string, any> | undefined;
|
|
388
|
-
appDataSchemas?: Record<string, any> | undefined;
|
|
389
|
-
} & {
|
|
390
|
-
connectorId: string;
|
|
391
|
-
}> | undefined;
|
|
392
|
-
}>>>;
|
|
129
|
+
}, z.core.$strip>>>>;
|
|
130
|
+
}, z.core.$strip>>>;
|
|
393
131
|
connectors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
394
132
|
id: z.ZodString;
|
|
395
133
|
key: z.ZodString;
|
|
396
134
|
name: z.ZodString;
|
|
397
135
|
logoUri: z.ZodString;
|
|
398
|
-
},
|
|
399
|
-
key: string;
|
|
400
|
-
id: string;
|
|
401
|
-
name: string;
|
|
402
|
-
logoUri: string;
|
|
403
|
-
}, {
|
|
404
|
-
key: string;
|
|
405
|
-
id: string;
|
|
406
|
-
name: string;
|
|
407
|
-
logoUri: string;
|
|
408
|
-
}>, "many">>;
|
|
136
|
+
}, z.core.$strip>>>;
|
|
409
137
|
handyElements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
410
138
|
type: z.ZodString;
|
|
411
139
|
integration: z.ZodOptional<z.ZodObject<{
|
|
412
140
|
key: z.ZodString;
|
|
413
141
|
connectorId: z.ZodString;
|
|
414
|
-
},
|
|
415
|
-
key: string;
|
|
416
|
-
connectorId: string;
|
|
417
|
-
}, {
|
|
418
|
-
key: string;
|
|
419
|
-
connectorId: string;
|
|
420
|
-
}>>;
|
|
142
|
+
}, z.core.$strip>>;
|
|
421
143
|
integrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
422
144
|
key: z.ZodString;
|
|
423
145
|
connectorId: z.ZodString;
|
|
424
|
-
},
|
|
425
|
-
key: string;
|
|
426
|
-
connectorId: string;
|
|
427
|
-
}, {
|
|
428
|
-
key: string;
|
|
429
|
-
connectorId: string;
|
|
430
|
-
}>, "many">>;
|
|
146
|
+
}, z.core.$strip>>>;
|
|
431
147
|
fields: z.ZodIntersection<z.ZodObject<{
|
|
432
148
|
key: z.ZodString;
|
|
433
149
|
name: z.ZodString;
|
|
434
|
-
},
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
}, {
|
|
438
|
-
key: string;
|
|
439
|
-
name: string;
|
|
440
|
-
}>, z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
441
|
-
}, "strip", z.ZodTypeAny, {
|
|
442
|
-
type: string;
|
|
443
|
-
fields: {
|
|
444
|
-
key: string;
|
|
445
|
-
name: string;
|
|
446
|
-
} & Record<string, any>;
|
|
447
|
-
integration?: {
|
|
448
|
-
key: string;
|
|
449
|
-
connectorId: string;
|
|
450
|
-
} | undefined;
|
|
451
|
-
integrations?: {
|
|
452
|
-
key: string;
|
|
453
|
-
connectorId: string;
|
|
454
|
-
}[] | undefined;
|
|
455
|
-
}, {
|
|
456
|
-
type: string;
|
|
457
|
-
fields: {
|
|
458
|
-
key: string;
|
|
459
|
-
name: string;
|
|
460
|
-
} & Record<string, any>;
|
|
461
|
-
integration?: {
|
|
462
|
-
key: string;
|
|
463
|
-
connectorId: string;
|
|
464
|
-
} | undefined;
|
|
465
|
-
integrations?: {
|
|
466
|
-
key: string;
|
|
467
|
-
connectorId: string;
|
|
468
|
-
}[] | undefined;
|
|
469
|
-
}>, "many">>;
|
|
470
|
-
}, "strip", z.ZodTypeAny, {
|
|
471
|
-
key: string;
|
|
472
|
-
id: string;
|
|
473
|
-
name: string;
|
|
474
|
-
description?: string | undefined;
|
|
475
|
-
elements?: ({
|
|
476
|
-
actions?: Record<string, any> | undefined;
|
|
477
|
-
flows?: Record<string, any> | undefined;
|
|
478
|
-
fieldMappings?: Record<string, any> | undefined;
|
|
479
|
-
dataSources?: Record<string, any> | undefined;
|
|
480
|
-
dataLinkTables?: Record<string, any> | undefined;
|
|
481
|
-
appEventTypes?: Record<string, any> | undefined;
|
|
482
|
-
appDataSchemas?: Record<string, any> | undefined;
|
|
483
|
-
} & {
|
|
484
|
-
integrations?: Record<string, {
|
|
485
|
-
actions?: Record<string, any> | undefined;
|
|
486
|
-
flows?: Record<string, any> | undefined;
|
|
487
|
-
fieldMappings?: Record<string, any> | undefined;
|
|
488
|
-
dataSources?: Record<string, any> | undefined;
|
|
489
|
-
dataLinkTables?: Record<string, any> | undefined;
|
|
490
|
-
appEventTypes?: Record<string, any> | undefined;
|
|
491
|
-
appDataSchemas?: Record<string, any> | undefined;
|
|
492
|
-
} & {
|
|
493
|
-
connectorId: string;
|
|
494
|
-
}> | undefined;
|
|
495
|
-
}) | undefined;
|
|
496
|
-
connectors?: {
|
|
497
|
-
key: string;
|
|
498
|
-
id: string;
|
|
499
|
-
name: string;
|
|
500
|
-
logoUri: string;
|
|
501
|
-
}[] | undefined;
|
|
502
|
-
shortDescription?: string | undefined;
|
|
503
|
-
demoWorkspaceKey?: string | undefined;
|
|
504
|
-
demoAppUri?: string | undefined;
|
|
505
|
-
demoGithubRepo?: string | undefined;
|
|
506
|
-
demoVideoYoutubeUri?: string | undefined;
|
|
507
|
-
tags?: ScenarioTemplateCategory[] | undefined;
|
|
508
|
-
handyElements?: {
|
|
509
|
-
type: string;
|
|
510
|
-
fields: {
|
|
511
|
-
key: string;
|
|
512
|
-
name: string;
|
|
513
|
-
} & Record<string, any>;
|
|
514
|
-
integration?: {
|
|
515
|
-
key: string;
|
|
516
|
-
connectorId: string;
|
|
517
|
-
} | undefined;
|
|
518
|
-
integrations?: {
|
|
519
|
-
key: string;
|
|
520
|
-
connectorId: string;
|
|
521
|
-
}[] | undefined;
|
|
522
|
-
}[] | undefined;
|
|
523
|
-
}, {
|
|
524
|
-
key: string;
|
|
525
|
-
id: string;
|
|
526
|
-
name: string;
|
|
527
|
-
description?: string | undefined;
|
|
528
|
-
elements?: ({
|
|
529
|
-
actions?: Record<string, any> | undefined;
|
|
530
|
-
flows?: Record<string, any> | undefined;
|
|
531
|
-
fieldMappings?: Record<string, any> | undefined;
|
|
532
|
-
dataSources?: Record<string, any> | undefined;
|
|
533
|
-
dataLinkTables?: Record<string, any> | undefined;
|
|
534
|
-
appEventTypes?: Record<string, any> | undefined;
|
|
535
|
-
appDataSchemas?: Record<string, any> | undefined;
|
|
536
|
-
} & {
|
|
537
|
-
integrations?: Record<string, {
|
|
538
|
-
actions?: Record<string, any> | undefined;
|
|
539
|
-
flows?: Record<string, any> | undefined;
|
|
540
|
-
fieldMappings?: Record<string, any> | undefined;
|
|
541
|
-
dataSources?: Record<string, any> | undefined;
|
|
542
|
-
dataLinkTables?: Record<string, any> | undefined;
|
|
543
|
-
appEventTypes?: Record<string, any> | undefined;
|
|
544
|
-
appDataSchemas?: Record<string, any> | undefined;
|
|
545
|
-
} & {
|
|
546
|
-
connectorId: string;
|
|
547
|
-
}> | undefined;
|
|
548
|
-
}) | undefined;
|
|
549
|
-
connectors?: {
|
|
550
|
-
key: string;
|
|
551
|
-
id: string;
|
|
552
|
-
name: string;
|
|
553
|
-
logoUri: string;
|
|
554
|
-
}[] | undefined;
|
|
555
|
-
shortDescription?: string | undefined;
|
|
556
|
-
demoWorkspaceKey?: string | undefined;
|
|
557
|
-
demoAppUri?: string | undefined;
|
|
558
|
-
demoGithubRepo?: string | undefined;
|
|
559
|
-
demoVideoYoutubeUri?: string | undefined;
|
|
560
|
-
tags?: ScenarioTemplateCategory[] | undefined;
|
|
561
|
-
handyElements?: {
|
|
562
|
-
type: string;
|
|
563
|
-
fields: {
|
|
564
|
-
key: string;
|
|
565
|
-
name: string;
|
|
566
|
-
} & Record<string, any>;
|
|
567
|
-
integration?: {
|
|
568
|
-
key: string;
|
|
569
|
-
connectorId: string;
|
|
570
|
-
} | undefined;
|
|
571
|
-
integrations?: {
|
|
572
|
-
key: string;
|
|
573
|
-
connectorId: string;
|
|
574
|
-
}[] | undefined;
|
|
575
|
-
}[] | undefined;
|
|
576
|
-
}>;
|
|
150
|
+
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
151
|
+
}, z.core.$strip>>>;
|
|
152
|
+
}, z.core.$strip>;
|
|
577
153
|
export type ScenarioTemplate = z.infer<typeof ScenarioTemplate>;
|
|
578
154
|
export interface FindScenarioTemplatesQuery extends SearchQuery, PaginationQuery {
|
|
579
155
|
}
|