@membranehq/sdk 0.5.1 → 0.5.2
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 +160 -2153
- package/dist/dts/accessors/connections-accessors.d.ts +1 -15
- package/dist/dts/accessors/integrations-accessors.d.ts +1 -15
- package/dist/dts/workspace-elements/api/action-instances-api.d.ts +3 -3
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +5 -99
- package/dist/dts/workspace-elements/api/actions-api.d.ts +0 -192
- package/dist/dts/workspace-elements/api/connections-api.d.ts +291 -211
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +5 -99
- package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +5 -99
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +0 -192
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +5 -99
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +5 -99
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +5 -99
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +0 -108
- package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +12 -228
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +0 -192
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +12 -228
- package/dist/dts/workspace-elements/api/flows-api.d.ts +42 -530
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +109 -75
- package/dist/dts/workspace-elements/api/scenarios-api.d.ts +0 -84
- package/dist/dts/workspace-elements/base/action-instances/types.d.ts +3 -3
- package/dist/dts/workspace-elements/base/connections/types.d.ts +3 -9
- package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +4 -4
- package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/flows/types.d.ts +6 -6
- package/dist/dts/workspace-elements/base/integrations/types.d.ts +0 -407
- package/dist/dts/workspaces/types.d.ts +1 -1
- package/dist/index.d.ts +530 -3109
- package/dist/index.js +22 -18
- package/dist/index.js.map +1 -1
- package/dist/index.module.d.mts +530 -3109
- package/dist/index.module.mjs +22 -19
- package/dist/index.module.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -51,7 +51,6 @@ export declare class ConnectionAccessor {
|
|
|
51
51
|
integration?: {
|
|
52
52
|
id: string;
|
|
53
53
|
name: string;
|
|
54
|
-
baseUri: string;
|
|
55
54
|
logoUri: string;
|
|
56
55
|
key?: string | undefined;
|
|
57
56
|
uuid?: string | undefined;
|
|
@@ -64,20 +63,9 @@ export declare class ConnectionAccessor {
|
|
|
64
63
|
updatedAt?: string | undefined;
|
|
65
64
|
archivedAt?: string | undefined;
|
|
66
65
|
parameters?: any;
|
|
67
|
-
parametersSchema?: import("..").DataSchema | undefined;
|
|
68
66
|
isTest?: boolean | undefined;
|
|
69
67
|
connectorId?: string | undefined;
|
|
70
68
|
connectorVersion?: string | undefined;
|
|
71
|
-
authOptions?: {
|
|
72
|
-
key: string;
|
|
73
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
74
|
-
description?: string | undefined;
|
|
75
|
-
title?: string | undefined;
|
|
76
|
-
ui?: {
|
|
77
|
-
schema?: any;
|
|
78
|
-
helpUri?: string | undefined;
|
|
79
|
-
} | undefined;
|
|
80
|
-
}[] | undefined;
|
|
81
69
|
oAuthCallbackUri?: string | undefined;
|
|
82
70
|
hasMissingParameters?: boolean | undefined;
|
|
83
71
|
hasDocumentation?: boolean | undefined;
|
|
@@ -96,9 +84,7 @@ export declare class ConnectionAccessor {
|
|
|
96
84
|
errors?: any[] | undefined;
|
|
97
85
|
isDeactivated?: boolean | undefined;
|
|
98
86
|
archivedAt?: string | undefined;
|
|
99
|
-
|
|
100
|
-
parameters?: unknown;
|
|
101
|
-
connectorParameters?: unknown;
|
|
87
|
+
authOptionKey?: string | undefined;
|
|
102
88
|
user?: {
|
|
103
89
|
id: string;
|
|
104
90
|
name: string;
|
|
@@ -55,7 +55,6 @@ export declare class IntegrationAccessor extends ElementAccessor<Integration, Up
|
|
|
55
55
|
integration?: {
|
|
56
56
|
id: string;
|
|
57
57
|
name: string;
|
|
58
|
-
baseUri: string;
|
|
59
58
|
logoUri: string;
|
|
60
59
|
key?: string | undefined;
|
|
61
60
|
uuid?: string | undefined;
|
|
@@ -68,20 +67,9 @@ export declare class IntegrationAccessor extends ElementAccessor<Integration, Up
|
|
|
68
67
|
updatedAt?: string | undefined;
|
|
69
68
|
archivedAt?: string | undefined;
|
|
70
69
|
parameters?: any;
|
|
71
|
-
parametersSchema?: import("..").DataSchema | undefined;
|
|
72
70
|
isTest?: boolean | undefined;
|
|
73
71
|
connectorId?: string | undefined;
|
|
74
72
|
connectorVersion?: string | undefined;
|
|
75
|
-
authOptions?: {
|
|
76
|
-
key: string;
|
|
77
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
78
|
-
description?: string | undefined;
|
|
79
|
-
title?: string | undefined;
|
|
80
|
-
ui?: {
|
|
81
|
-
schema?: any;
|
|
82
|
-
helpUri?: string | undefined;
|
|
83
|
-
} | undefined;
|
|
84
|
-
}[] | undefined;
|
|
85
73
|
oAuthCallbackUri?: string | undefined;
|
|
86
74
|
hasMissingParameters?: boolean | undefined;
|
|
87
75
|
hasDocumentation?: boolean | undefined;
|
|
@@ -100,9 +88,7 @@ export declare class IntegrationAccessor extends ElementAccessor<Integration, Up
|
|
|
100
88
|
errors?: any[] | undefined;
|
|
101
89
|
isDeactivated?: boolean | undefined;
|
|
102
90
|
archivedAt?: string | undefined;
|
|
103
|
-
|
|
104
|
-
parameters?: unknown;
|
|
105
|
-
connectorParameters?: unknown;
|
|
91
|
+
authOptionKey?: string | undefined;
|
|
106
92
|
user?: {
|
|
107
93
|
id: string;
|
|
108
94
|
name: string;
|
|
@@ -19,7 +19,7 @@ export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
|
19
19
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
20
20
|
userId: z.ZodString;
|
|
21
21
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
22
|
-
type: z.ZodNativeEnum<typeof import("../base/actions").ActionType
|
|
22
|
+
type: z.ZodOptional<z.ZodNativeEnum<typeof import("../base/actions").ActionType>>;
|
|
23
23
|
inputSchema: z.ZodOptional<z.ZodAny>;
|
|
24
24
|
config: z.ZodOptional<z.ZodAny>;
|
|
25
25
|
outputSchema: z.ZodOptional<z.ZodAny>;
|
|
@@ -141,11 +141,11 @@ export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
|
141
141
|
dependencies?: any[] | undefined;
|
|
142
142
|
}>>;
|
|
143
143
|
}, "strip", z.ZodTypeAny, {
|
|
144
|
-
type: import("../base/actions").ActionType;
|
|
145
144
|
id: string;
|
|
146
145
|
name: string;
|
|
147
146
|
userId: string;
|
|
148
147
|
key?: string | undefined;
|
|
148
|
+
type?: import("../base/actions").ActionType | undefined;
|
|
149
149
|
uuid?: string | undefined;
|
|
150
150
|
description?: string | undefined;
|
|
151
151
|
state?: import("..").WorkspaceElementState | undefined;
|
|
@@ -203,11 +203,11 @@ export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
|
203
203
|
dependencies?: any[] | undefined;
|
|
204
204
|
} | undefined;
|
|
205
205
|
}, {
|
|
206
|
-
type: import("../base/actions").ActionType;
|
|
207
206
|
id: string;
|
|
208
207
|
name: string;
|
|
209
208
|
userId: string;
|
|
210
209
|
key?: string | undefined;
|
|
210
|
+
type?: import("../base/actions").ActionType | undefined;
|
|
211
211
|
uuid?: string | undefined;
|
|
212
212
|
description?: string | undefined;
|
|
213
213
|
state?: import("..").WorkspaceElementState | undefined;
|
|
@@ -109,44 +109,8 @@ export declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
109
109
|
logoUri: z.ZodString;
|
|
110
110
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
111
111
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
112
|
-
authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
113
|
-
key: z.ZodString;
|
|
114
|
-
type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
|
|
115
|
-
title: z.ZodOptional<z.ZodString>;
|
|
116
|
-
description: z.ZodOptional<z.ZodString>;
|
|
117
|
-
ui: z.ZodOptional<z.ZodObject<{
|
|
118
|
-
schema: z.ZodOptional<z.ZodAny>;
|
|
119
|
-
helpUri: z.ZodOptional<z.ZodString>;
|
|
120
|
-
}, "strip", z.ZodTypeAny, {
|
|
121
|
-
schema?: any;
|
|
122
|
-
helpUri?: string | undefined;
|
|
123
|
-
}, {
|
|
124
|
-
schema?: any;
|
|
125
|
-
helpUri?: string | undefined;
|
|
126
|
-
}>>;
|
|
127
|
-
}, "strip", z.ZodTypeAny, {
|
|
128
|
-
key: string;
|
|
129
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
130
|
-
description?: string | undefined;
|
|
131
|
-
title?: string | undefined;
|
|
132
|
-
ui?: {
|
|
133
|
-
schema?: any;
|
|
134
|
-
helpUri?: string | undefined;
|
|
135
|
-
} | undefined;
|
|
136
|
-
}, {
|
|
137
|
-
key: string;
|
|
138
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
139
|
-
description?: string | undefined;
|
|
140
|
-
title?: string | undefined;
|
|
141
|
-
ui?: {
|
|
142
|
-
schema?: any;
|
|
143
|
-
helpUri?: string | undefined;
|
|
144
|
-
} | undefined;
|
|
145
|
-
}>, "many">>;
|
|
146
112
|
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
147
|
-
parametersSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
|
|
148
113
|
parameters: z.ZodOptional<z.ZodAny>;
|
|
149
|
-
baseUri: z.ZodString;
|
|
150
114
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
151
115
|
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
152
116
|
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -165,7 +129,6 @@ export declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
165
129
|
}, "strip", z.ZodTypeAny, {
|
|
166
130
|
id: string;
|
|
167
131
|
name: string;
|
|
168
|
-
baseUri: string;
|
|
169
132
|
logoUri: string;
|
|
170
133
|
key?: string | undefined;
|
|
171
134
|
uuid?: string | undefined;
|
|
@@ -178,20 +141,9 @@ export declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
178
141
|
updatedAt?: string | undefined;
|
|
179
142
|
archivedAt?: string | undefined;
|
|
180
143
|
parameters?: any;
|
|
181
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
182
144
|
isTest?: boolean | undefined;
|
|
183
145
|
connectorId?: string | undefined;
|
|
184
146
|
connectorVersion?: string | undefined;
|
|
185
|
-
authOptions?: {
|
|
186
|
-
key: string;
|
|
187
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
188
|
-
description?: string | undefined;
|
|
189
|
-
title?: string | undefined;
|
|
190
|
-
ui?: {
|
|
191
|
-
schema?: any;
|
|
192
|
-
helpUri?: string | undefined;
|
|
193
|
-
} | undefined;
|
|
194
|
-
}[] | undefined;
|
|
195
147
|
oAuthCallbackUri?: string | undefined;
|
|
196
148
|
hasMissingParameters?: boolean | undefined;
|
|
197
149
|
hasDocumentation?: boolean | undefined;
|
|
@@ -208,7 +160,6 @@ export declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
208
160
|
}, {
|
|
209
161
|
id: string;
|
|
210
162
|
name: string;
|
|
211
|
-
baseUri: string;
|
|
212
163
|
logoUri: string;
|
|
213
164
|
key?: string | undefined;
|
|
214
165
|
uuid?: string | undefined;
|
|
@@ -221,20 +172,9 @@ export declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
221
172
|
updatedAt?: string | undefined;
|
|
222
173
|
archivedAt?: string | undefined;
|
|
223
174
|
parameters?: any;
|
|
224
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
225
175
|
isTest?: boolean | undefined;
|
|
226
176
|
connectorId?: string | undefined;
|
|
227
177
|
connectorVersion?: string | undefined;
|
|
228
|
-
authOptions?: {
|
|
229
|
-
key: string;
|
|
230
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
231
|
-
description?: string | undefined;
|
|
232
|
-
title?: string | undefined;
|
|
233
|
-
ui?: {
|
|
234
|
-
schema?: any;
|
|
235
|
-
helpUri?: string | undefined;
|
|
236
|
-
} | undefined;
|
|
237
|
-
}[] | undefined;
|
|
238
178
|
oAuthCallbackUri?: string | undefined;
|
|
239
179
|
hasMissingParameters?: boolean | undefined;
|
|
240
180
|
hasDocumentation?: boolean | undefined;
|
|
@@ -259,9 +199,7 @@ export declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
259
199
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
260
200
|
error: any;
|
|
261
201
|
integrationId: z.ZodString;
|
|
262
|
-
|
|
263
|
-
parameters: z.ZodOptional<z.ZodUnknown>;
|
|
264
|
-
connectorParameters: z.ZodOptional<z.ZodUnknown>;
|
|
202
|
+
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
265
203
|
createdAt: z.ZodString;
|
|
266
204
|
updatedAt: z.ZodString;
|
|
267
205
|
lastActiveAt: z.ZodOptional<z.ZodString>;
|
|
@@ -283,9 +221,7 @@ export declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
283
221
|
errors?: any[] | undefined;
|
|
284
222
|
isDeactivated?: boolean | undefined;
|
|
285
223
|
archivedAt?: string | undefined;
|
|
286
|
-
|
|
287
|
-
parameters?: unknown;
|
|
288
|
-
connectorParameters?: unknown;
|
|
224
|
+
authOptionKey?: string | undefined;
|
|
289
225
|
isTest?: boolean | undefined;
|
|
290
226
|
disconnected?: boolean | undefined;
|
|
291
227
|
isDefunct?: boolean | undefined;
|
|
@@ -304,9 +240,7 @@ export declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
304
240
|
errors?: any[] | undefined;
|
|
305
241
|
isDeactivated?: boolean | undefined;
|
|
306
242
|
archivedAt?: string | undefined;
|
|
307
|
-
|
|
308
|
-
parameters?: unknown;
|
|
309
|
-
connectorParameters?: unknown;
|
|
243
|
+
authOptionKey?: string | undefined;
|
|
310
244
|
isTest?: boolean | undefined;
|
|
311
245
|
disconnected?: boolean | undefined;
|
|
312
246
|
isDefunct?: boolean | undefined;
|
|
@@ -334,9 +268,7 @@ export declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
334
268
|
errors?: any[] | undefined;
|
|
335
269
|
isDeactivated?: boolean | undefined;
|
|
336
270
|
archivedAt?: string | undefined;
|
|
337
|
-
|
|
338
|
-
parameters?: unknown;
|
|
339
|
-
connectorParameters?: unknown;
|
|
271
|
+
authOptionKey?: string | undefined;
|
|
340
272
|
isTest?: boolean | undefined;
|
|
341
273
|
disconnected?: boolean | undefined;
|
|
342
274
|
isDefunct?: boolean | undefined;
|
|
@@ -348,7 +280,6 @@ export declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
348
280
|
integration?: {
|
|
349
281
|
id: string;
|
|
350
282
|
name: string;
|
|
351
|
-
baseUri: string;
|
|
352
283
|
logoUri: string;
|
|
353
284
|
key?: string | undefined;
|
|
354
285
|
uuid?: string | undefined;
|
|
@@ -361,20 +292,9 @@ export declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
361
292
|
updatedAt?: string | undefined;
|
|
362
293
|
archivedAt?: string | undefined;
|
|
363
294
|
parameters?: any;
|
|
364
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
365
295
|
isTest?: boolean | undefined;
|
|
366
296
|
connectorId?: string | undefined;
|
|
367
297
|
connectorVersion?: string | undefined;
|
|
368
|
-
authOptions?: {
|
|
369
|
-
key: string;
|
|
370
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
371
|
-
description?: string | undefined;
|
|
372
|
-
title?: string | undefined;
|
|
373
|
-
ui?: {
|
|
374
|
-
schema?: any;
|
|
375
|
-
helpUri?: string | undefined;
|
|
376
|
-
} | undefined;
|
|
377
|
-
}[] | undefined;
|
|
378
298
|
oAuthCallbackUri?: string | undefined;
|
|
379
299
|
hasMissingParameters?: boolean | undefined;
|
|
380
300
|
hasDocumentation?: boolean | undefined;
|
|
@@ -439,9 +359,7 @@ export declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
439
359
|
errors?: any[] | undefined;
|
|
440
360
|
isDeactivated?: boolean | undefined;
|
|
441
361
|
archivedAt?: string | undefined;
|
|
442
|
-
|
|
443
|
-
parameters?: unknown;
|
|
444
|
-
connectorParameters?: unknown;
|
|
362
|
+
authOptionKey?: string | undefined;
|
|
445
363
|
isTest?: boolean | undefined;
|
|
446
364
|
disconnected?: boolean | undefined;
|
|
447
365
|
isDefunct?: boolean | undefined;
|
|
@@ -453,7 +371,6 @@ export declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
453
371
|
integration?: {
|
|
454
372
|
id: string;
|
|
455
373
|
name: string;
|
|
456
|
-
baseUri: string;
|
|
457
374
|
logoUri: string;
|
|
458
375
|
key?: string | undefined;
|
|
459
376
|
uuid?: string | undefined;
|
|
@@ -466,20 +383,9 @@ export declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
466
383
|
updatedAt?: string | undefined;
|
|
467
384
|
archivedAt?: string | undefined;
|
|
468
385
|
parameters?: any;
|
|
469
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
470
386
|
isTest?: boolean | undefined;
|
|
471
387
|
connectorId?: string | undefined;
|
|
472
388
|
connectorVersion?: string | undefined;
|
|
473
|
-
authOptions?: {
|
|
474
|
-
key: string;
|
|
475
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
476
|
-
description?: string | undefined;
|
|
477
|
-
title?: string | undefined;
|
|
478
|
-
ui?: {
|
|
479
|
-
schema?: any;
|
|
480
|
-
helpUri?: string | undefined;
|
|
481
|
-
} | undefined;
|
|
482
|
-
}[] | undefined;
|
|
483
389
|
oAuthCallbackUri?: string | undefined;
|
|
484
390
|
hasMissingParameters?: boolean | undefined;
|
|
485
391
|
hasDocumentation?: boolean | undefined;
|