@membranehq/sdk 0.4.0 → 0.5.1
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 +16299 -1303
- package/dist/bundle.js +3980 -3701
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/connections-accessors.d.ts +78 -1
- package/dist/dts/accessors/integrations-accessors.d.ts +78 -1
- package/dist/dts/api-client.d.ts +1 -0
- package/dist/dts/client.d.ts +1 -0
- package/dist/dts/data-schema/index.d.ts +0 -1
- package/dist/dts/data-schema/types.d.ts +4 -3
- package/dist/dts/entity-repository.d.ts +88 -20
- package/dist/dts/formulas/dataSchemaRef.d.ts +2 -2
- package/dist/dts/http-requests.d.ts +20 -6
- package/dist/dts/iframe.d.ts +12 -4
- package/dist/dts/index.d.ts +2 -1
- package/dist/dts/sse/index.d.ts +1 -0
- package/dist/dts/sse/workspace-elements.d.ts +9 -0
- package/dist/dts/workspace-elements/api/action-instances-api.d.ts +269 -8
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +529 -10
- package/dist/dts/workspace-elements/api/actions-api.d.ts +1010 -45
- package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +203 -8
- package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +49 -3
- package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +376 -0
- package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +293 -8
- package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +88 -3
- package/dist/dts/workspace-elements/api/connections-api.d.ts +993 -42
- package/dist/dts/workspace-elements/api/customers-api.d.ts +92 -16
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +541 -12
- package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +43 -2
- package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +1590 -12
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +1113 -78
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +696 -19
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +702 -19
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +559 -10
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +582 -6
- package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +2786 -14
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +885 -7
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +1652 -47
- package/dist/dts/workspace-elements/api/flows-api.d.ts +3202 -52
- package/dist/dts/workspace-elements/api/index.d.ts +1 -1
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +339 -26
- package/dist/dts/workspace-elements/api/scenarios-api.d.ts +523 -35
- package/dist/dts/workspace-elements/api/screens-api.d.ts +35 -15
- package/dist/dts/workspace-elements/base/action-instances/types.d.ts +78 -15
- package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +37 -12
- package/dist/dts/workspace-elements/base/actions/types.d.ts +78 -18
- package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +59 -7
- package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +49 -7
- package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +92 -9
- package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +84 -7
- package/dist/dts/workspace-elements/base/connections/types.d.ts +82 -20
- package/dist/dts/workspace-elements/base/connectors/types.d.ts +14 -2
- package/dist/dts/workspace-elements/base/customers/index.d.ts +32 -6
- package/dist/dts/workspace-elements/base/data-collections/schemas.d.ts +93 -92
- package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +78 -11
- package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +43 -4
- package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +1048 -19
- package/dist/dts/workspace-elements/base/data-sources/types.d.ts +97 -22
- package/dist/dts/workspace-elements/base/external-event-log-records/types.d.ts +31 -8
- package/dist/dts/workspace-elements/base/external-event-pulls/types.d.ts +35 -8
- package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +197 -24
- package/dist/dts/workspace-elements/base/external-events/types.d.ts +145 -5
- package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +92 -16
- package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +105 -14
- package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +43 -43
- package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +170 -24
- package/dist/dts/workspace-elements/base/flow-runs/flow-node-runs.d.ts +20 -20
- package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +127 -19
- package/dist/dts/workspace-elements/base/flows/types.d.ts +234 -26
- package/dist/dts/workspace-elements/base/integrations/types.d.ts +988 -25
- package/dist/dts/workspace-elements/base/scenarios/types.d.ts +740 -23
- package/dist/dts/workspace-elements/base/screens/types.d.ts +48 -6
- package/dist/dts/workspace-elements/types.d.ts +25 -3
- package/dist/dts/workspaces/types.d.ts +4 -3
- package/dist/index.d.ts +26481 -3080
- package/dist/index.js +1717 -535
- package/dist/index.js.map +1 -1
- package/dist/index.module.d.mts +26481 -3080
- package/dist/index.module.mjs +1550 -502
- package/dist/index.module.mjs.map +1 -1
- package/package.json +3 -2
- package/dist/dts/data-schema/schemas.d.ts +0 -4
- package/dist/dts/workspace-elements/api/app-events-api.d.ts +0 -17
|
@@ -1,8 +1,269 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
3
|
+
id: z.ZodString;
|
|
4
|
+
name: z.ZodString;
|
|
5
|
+
} & {
|
|
6
|
+
key: z.ZodOptional<z.ZodString>;
|
|
7
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
8
|
+
description: z.ZodOptional<z.ZodString>;
|
|
9
|
+
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
10
|
+
errors: z.ZodOptional<z.ZodArray<any, "many">>;
|
|
11
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
12
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
13
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
14
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
15
|
+
archivedAt: z.ZodOptional<z.ZodString>;
|
|
16
|
+
} & {
|
|
17
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
18
|
+
parentRevision: z.ZodOptional<z.ZodString>;
|
|
19
|
+
universalParentId: z.ZodOptional<z.ZodString>;
|
|
20
|
+
userId: z.ZodString;
|
|
21
|
+
instanceKey: z.ZodOptional<z.ZodString>;
|
|
22
|
+
type: z.ZodNativeEnum<typeof import("../base/actions").ActionType>;
|
|
23
|
+
inputSchema: z.ZodOptional<z.ZodAny>;
|
|
24
|
+
config: z.ZodOptional<z.ZodAny>;
|
|
25
|
+
outputSchema: z.ZodOptional<z.ZodAny>;
|
|
26
|
+
isOutdated: z.ZodOptional<z.ZodBoolean>;
|
|
27
|
+
} & {
|
|
28
|
+
user: z.ZodOptional<z.ZodObject<{
|
|
29
|
+
id: z.ZodString;
|
|
30
|
+
name: z.ZodString;
|
|
31
|
+
internalId: z.ZodString;
|
|
32
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
33
|
+
credentials: z.ZodOptional<z.ZodAny>;
|
|
34
|
+
lastActiveAt: z.ZodOptional<z.ZodString>;
|
|
35
|
+
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
36
|
+
isBillable: z.ZodOptional<z.ZodBoolean>;
|
|
37
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
38
|
+
archivedAt: z.ZodOptional<z.ZodString>;
|
|
39
|
+
}, "strip", z.ZodTypeAny, {
|
|
40
|
+
id: string;
|
|
41
|
+
name: string;
|
|
42
|
+
internalId: string;
|
|
43
|
+
createdAt?: string | undefined;
|
|
44
|
+
archivedAt?: string | undefined;
|
|
45
|
+
credentials?: any;
|
|
46
|
+
fields?: Record<string, any> | undefined;
|
|
47
|
+
isTest?: boolean | undefined;
|
|
48
|
+
lastActiveAt?: string | undefined;
|
|
49
|
+
isBillable?: boolean | undefined;
|
|
50
|
+
}, {
|
|
51
|
+
id: string;
|
|
52
|
+
name: string;
|
|
53
|
+
internalId: string;
|
|
54
|
+
createdAt?: string | undefined;
|
|
55
|
+
archivedAt?: string | undefined;
|
|
56
|
+
credentials?: any;
|
|
57
|
+
fields?: Record<string, any> | undefined;
|
|
58
|
+
isTest?: boolean | undefined;
|
|
59
|
+
lastActiveAt?: string | undefined;
|
|
60
|
+
isBillable?: boolean | undefined;
|
|
61
|
+
}>>;
|
|
62
|
+
parent: z.ZodOptional<z.ZodObject<{
|
|
63
|
+
id: z.ZodString;
|
|
64
|
+
name: z.ZodString;
|
|
65
|
+
} & {
|
|
66
|
+
key: z.ZodOptional<z.ZodString>;
|
|
67
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
68
|
+
description: z.ZodOptional<z.ZodString>;
|
|
69
|
+
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
70
|
+
errors: z.ZodOptional<z.ZodArray<any, "many">>;
|
|
71
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
72
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
73
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
74
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
75
|
+
archivedAt: z.ZodOptional<z.ZodString>;
|
|
76
|
+
} & {
|
|
77
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
78
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
79
|
+
parentRevision: z.ZodOptional<z.ZodString>;
|
|
80
|
+
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
81
|
+
type: z.ZodNativeEnum<typeof import("../base/actions").ActionType>;
|
|
82
|
+
inputSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
|
|
83
|
+
config: z.ZodOptional<z.ZodAny>;
|
|
84
|
+
outputMapping: z.ZodOptional<z.ZodAny>;
|
|
85
|
+
customOutputSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
|
|
86
|
+
defaultOutputSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
|
|
87
|
+
transformedOutputSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
|
|
88
|
+
outputSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
|
|
89
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
90
|
+
}, "strip", z.ZodTypeAny, {
|
|
91
|
+
type: import("../base/actions").ActionType;
|
|
92
|
+
id: string;
|
|
93
|
+
name: string;
|
|
94
|
+
key?: string | undefined;
|
|
95
|
+
uuid?: string | undefined;
|
|
96
|
+
description?: string | undefined;
|
|
97
|
+
state?: import("..").WorkspaceElementState | undefined;
|
|
98
|
+
errors?: any[] | undefined;
|
|
99
|
+
revision?: string | undefined;
|
|
100
|
+
isDeactivated?: boolean | undefined;
|
|
101
|
+
createdAt?: string | undefined;
|
|
102
|
+
updatedAt?: string | undefined;
|
|
103
|
+
archivedAt?: string | undefined;
|
|
104
|
+
integrationId?: string | undefined;
|
|
105
|
+
parentId?: string | undefined;
|
|
106
|
+
parentRevision?: string | undefined;
|
|
107
|
+
isCustomized?: boolean | undefined;
|
|
108
|
+
inputSchema?: import("../..").DataSchema | undefined;
|
|
109
|
+
config?: any;
|
|
110
|
+
outputMapping?: any;
|
|
111
|
+
customOutputSchema?: import("../..").DataSchema | undefined;
|
|
112
|
+
defaultOutputSchema?: import("../..").DataSchema | undefined;
|
|
113
|
+
transformedOutputSchema?: import("../..").DataSchema | undefined;
|
|
114
|
+
outputSchema?: import("../..").DataSchema | undefined;
|
|
115
|
+
dependencies?: any[] | undefined;
|
|
116
|
+
}, {
|
|
117
|
+
type: import("../base/actions").ActionType;
|
|
118
|
+
id: string;
|
|
119
|
+
name: string;
|
|
120
|
+
key?: string | undefined;
|
|
121
|
+
uuid?: string | undefined;
|
|
122
|
+
description?: string | undefined;
|
|
123
|
+
state?: import("..").WorkspaceElementState | undefined;
|
|
124
|
+
errors?: any[] | undefined;
|
|
125
|
+
revision?: string | undefined;
|
|
126
|
+
isDeactivated?: boolean | undefined;
|
|
127
|
+
createdAt?: string | undefined;
|
|
128
|
+
updatedAt?: string | undefined;
|
|
129
|
+
archivedAt?: string | undefined;
|
|
130
|
+
integrationId?: string | undefined;
|
|
131
|
+
parentId?: string | undefined;
|
|
132
|
+
parentRevision?: string | undefined;
|
|
133
|
+
isCustomized?: boolean | undefined;
|
|
134
|
+
inputSchema?: import("../..").DataSchema | undefined;
|
|
135
|
+
config?: any;
|
|
136
|
+
outputMapping?: any;
|
|
137
|
+
customOutputSchema?: import("../..").DataSchema | undefined;
|
|
138
|
+
defaultOutputSchema?: import("../..").DataSchema | undefined;
|
|
139
|
+
transformedOutputSchema?: import("../..").DataSchema | undefined;
|
|
140
|
+
outputSchema?: import("../..").DataSchema | undefined;
|
|
141
|
+
dependencies?: any[] | undefined;
|
|
142
|
+
}>>;
|
|
143
|
+
}, "strip", z.ZodTypeAny, {
|
|
144
|
+
type: import("../base/actions").ActionType;
|
|
145
|
+
id: string;
|
|
146
|
+
name: string;
|
|
147
|
+
userId: string;
|
|
148
|
+
key?: string | undefined;
|
|
149
|
+
uuid?: string | undefined;
|
|
150
|
+
description?: string | undefined;
|
|
151
|
+
state?: import("..").WorkspaceElementState | undefined;
|
|
152
|
+
errors?: any[] | undefined;
|
|
153
|
+
revision?: string | undefined;
|
|
154
|
+
isDeactivated?: boolean | undefined;
|
|
155
|
+
createdAt?: string | undefined;
|
|
156
|
+
updatedAt?: string | undefined;
|
|
157
|
+
archivedAt?: string | undefined;
|
|
158
|
+
instanceKey?: string | undefined;
|
|
159
|
+
user?: {
|
|
160
|
+
id: string;
|
|
161
|
+
name: string;
|
|
162
|
+
internalId: string;
|
|
163
|
+
createdAt?: string | undefined;
|
|
164
|
+
archivedAt?: string | undefined;
|
|
165
|
+
credentials?: any;
|
|
166
|
+
fields?: Record<string, any> | undefined;
|
|
167
|
+
isTest?: boolean | undefined;
|
|
168
|
+
lastActiveAt?: string | undefined;
|
|
169
|
+
isBillable?: boolean | undefined;
|
|
170
|
+
} | undefined;
|
|
171
|
+
parentId?: string | undefined;
|
|
172
|
+
parentRevision?: string | undefined;
|
|
173
|
+
inputSchema?: any;
|
|
174
|
+
config?: any;
|
|
175
|
+
outputSchema?: any;
|
|
176
|
+
universalParentId?: string | undefined;
|
|
177
|
+
isOutdated?: boolean | undefined;
|
|
178
|
+
parent?: {
|
|
179
|
+
type: import("../base/actions").ActionType;
|
|
180
|
+
id: string;
|
|
181
|
+
name: string;
|
|
182
|
+
key?: string | undefined;
|
|
183
|
+
uuid?: string | undefined;
|
|
184
|
+
description?: string | undefined;
|
|
185
|
+
state?: import("..").WorkspaceElementState | undefined;
|
|
186
|
+
errors?: any[] | undefined;
|
|
187
|
+
revision?: string | undefined;
|
|
188
|
+
isDeactivated?: boolean | undefined;
|
|
189
|
+
createdAt?: string | undefined;
|
|
190
|
+
updatedAt?: string | undefined;
|
|
191
|
+
archivedAt?: string | undefined;
|
|
192
|
+
integrationId?: string | undefined;
|
|
193
|
+
parentId?: string | undefined;
|
|
194
|
+
parentRevision?: string | undefined;
|
|
195
|
+
isCustomized?: boolean | undefined;
|
|
196
|
+
inputSchema?: import("../..").DataSchema | undefined;
|
|
197
|
+
config?: any;
|
|
198
|
+
outputMapping?: any;
|
|
199
|
+
customOutputSchema?: import("../..").DataSchema | undefined;
|
|
200
|
+
defaultOutputSchema?: import("../..").DataSchema | undefined;
|
|
201
|
+
transformedOutputSchema?: import("../..").DataSchema | undefined;
|
|
202
|
+
outputSchema?: import("../..").DataSchema | undefined;
|
|
203
|
+
dependencies?: any[] | undefined;
|
|
204
|
+
} | undefined;
|
|
205
|
+
}, {
|
|
206
|
+
type: import("../base/actions").ActionType;
|
|
207
|
+
id: string;
|
|
208
|
+
name: string;
|
|
209
|
+
userId: string;
|
|
210
|
+
key?: string | undefined;
|
|
211
|
+
uuid?: string | undefined;
|
|
212
|
+
description?: string | undefined;
|
|
213
|
+
state?: import("..").WorkspaceElementState | undefined;
|
|
214
|
+
errors?: any[] | undefined;
|
|
215
|
+
revision?: string | undefined;
|
|
216
|
+
isDeactivated?: boolean | undefined;
|
|
217
|
+
createdAt?: string | undefined;
|
|
218
|
+
updatedAt?: string | undefined;
|
|
219
|
+
archivedAt?: string | undefined;
|
|
220
|
+
instanceKey?: string | undefined;
|
|
221
|
+
user?: {
|
|
222
|
+
id: string;
|
|
223
|
+
name: string;
|
|
224
|
+
internalId: string;
|
|
225
|
+
createdAt?: string | undefined;
|
|
226
|
+
archivedAt?: string | undefined;
|
|
227
|
+
credentials?: any;
|
|
228
|
+
fields?: Record<string, any> | undefined;
|
|
229
|
+
isTest?: boolean | undefined;
|
|
230
|
+
lastActiveAt?: string | undefined;
|
|
231
|
+
isBillable?: boolean | undefined;
|
|
232
|
+
} | undefined;
|
|
233
|
+
parentId?: string | undefined;
|
|
234
|
+
parentRevision?: string | undefined;
|
|
235
|
+
inputSchema?: any;
|
|
236
|
+
config?: any;
|
|
237
|
+
outputSchema?: any;
|
|
238
|
+
universalParentId?: string | undefined;
|
|
239
|
+
isOutdated?: boolean | undefined;
|
|
240
|
+
parent?: {
|
|
241
|
+
type: import("../base/actions").ActionType;
|
|
242
|
+
id: string;
|
|
243
|
+
name: string;
|
|
244
|
+
key?: string | undefined;
|
|
245
|
+
uuid?: string | undefined;
|
|
246
|
+
description?: string | undefined;
|
|
247
|
+
state?: import("..").WorkspaceElementState | undefined;
|
|
248
|
+
errors?: any[] | undefined;
|
|
249
|
+
revision?: string | undefined;
|
|
250
|
+
isDeactivated?: boolean | undefined;
|
|
251
|
+
createdAt?: string | undefined;
|
|
252
|
+
updatedAt?: string | undefined;
|
|
253
|
+
archivedAt?: string | undefined;
|
|
254
|
+
integrationId?: string | undefined;
|
|
255
|
+
parentId?: string | undefined;
|
|
256
|
+
parentRevision?: string | undefined;
|
|
257
|
+
isCustomized?: boolean | undefined;
|
|
258
|
+
inputSchema?: import("../..").DataSchema | undefined;
|
|
259
|
+
config?: any;
|
|
260
|
+
outputMapping?: any;
|
|
261
|
+
customOutputSchema?: import("../..").DataSchema | undefined;
|
|
262
|
+
defaultOutputSchema?: import("../..").DataSchema | undefined;
|
|
263
|
+
transformedOutputSchema?: import("../..").DataSchema | undefined;
|
|
264
|
+
outputSchema?: import("../..").DataSchema | undefined;
|
|
265
|
+
dependencies?: any[] | undefined;
|
|
266
|
+
} | undefined;
|
|
267
|
+
}>;
|
|
268
|
+
export type ActionInstanceApiResponse = z.infer<typeof ActionInstanceApiResponse>;
|
|
269
|
+
export type ActionInstance = ActionInstanceApiResponse;
|