@membranehq/sdk 0.7.1 → 0.7.4
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 +5200 -4617
- package/dist/bundle.js +10 -1
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/connections-accessors.d.ts +4 -3
- package/dist/dts/accessors/integrations-accessors.d.ts +4 -3
- package/dist/dts/accessors/scenarios-accessors.d.ts +4 -3
- package/dist/dts/config/config.test.d.ts +1 -0
- package/dist/dts/config/index.d.ts +42 -0
- package/dist/dts/entity-repository.d.ts +2 -2
- package/dist/dts/index.browser.d.ts +31 -0
- package/dist/dts/index.d.ts +2 -0
- package/dist/dts/index.node.d.ts +2 -0
- package/dist/dts/integration-elements/index.d.ts +0 -2
- package/dist/dts/{workspace-elements/base/scenarios/types.d.ts → scenario-templates/index.d.ts} +64 -169
- package/dist/dts/workspace-elements/api/action-instances-api.d.ts +39 -34
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +37 -37
- package/dist/dts/workspace-elements/api/actions-api.d.ts +64 -46
- package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +13 -0
- package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +17 -2
- package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +13 -0
- package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/connections-api.d.ts +57 -34
- package/dist/dts/workspace-elements/api/customers-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +29 -16
- package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +51 -43
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +474 -441
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +27 -22
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +27 -22
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +21 -16
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +7 -0
- package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +144 -124
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +250 -118
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +122 -98
- package/dist/dts/workspace-elements/api/flows-api.d.ts +965 -826
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +12 -14
- package/dist/dts/workspace-elements/api/scenarios-api.d.ts +434 -431
- package/dist/dts/workspace-elements/base/action-instances/types.d.ts +5 -5
- package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/actions/index.d.ts +18 -15
- package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +3 -0
- package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +3 -0
- package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +3 -0
- package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +3 -0
- package/dist/dts/workspace-elements/base/connections/types.d.ts +5 -8
- package/dist/dts/workspace-elements/base/customers/index.d.ts +3 -0
- package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +5 -2
- package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +3 -0
- package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +9 -6
- package/dist/dts/workspace-elements/base/data-sources/index.d.ts +153 -2
- package/dist/dts/workspace-elements/base/external-event-log-records/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/external-event-pulls/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +8 -5
- package/dist/dts/workspace-elements/base/field-mappings/index.d.ts +191 -1
- package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +26 -26
- package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +15 -12
- package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +4 -4
- package/dist/dts/workspace-elements/base/flows/index.d.ts +300 -1
- package/dist/dts/workspace-elements/base/flows/nodes/base.d.ts +79 -1
- package/dist/dts/workspace-elements/base/flows/nodes/index.d.ts +1 -1
- package/dist/dts/workspace-elements/base/integrations/types.d.ts +18 -0
- package/dist/dts/workspace-elements/base/scenarios/index.d.ts +163 -1
- package/dist/dts/workspace-elements/types.d.ts +118 -0
- package/dist/dts/workspace-elements-catalog/index.d.ts +1 -0
- package/dist/{index.d.ts → index.browser.d.mts} +17282 -16311
- package/dist/{index.module.d.mts → index.browser.d.ts} +17282 -16311
- package/dist/{index.js → index.browser.js} +228 -255
- package/dist/index.browser.js.map +1 -0
- package/dist/{index.module.mjs → index.browser.mjs} +218 -250
- package/dist/index.browser.mjs.map +1 -0
- package/dist/index.node.d.mts +28306 -0
- package/dist/index.node.d.ts +28306 -0
- package/dist/index.node.js +13329 -0
- package/dist/index.node.js.map +1 -0
- package/dist/index.node.mjs +12853 -0
- package/dist/index.node.mjs.map +1 -0
- package/package.json +38 -15
- package/dist/dts/workspace-elements/base/data-sources/constants.d.ts +0 -4
- package/dist/dts/workspace-elements/base/data-sources/types.d.ts +0 -102
- package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +0 -129
- package/dist/dts/workspace-elements/base/flows/types.d.ts +0 -241
- package/dist/index.js.map +0 -1
- package/dist/index.module.mjs.map +0 -1
|
@@ -79,6 +79,7 @@ export declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
|
|
|
79
79
|
user: z.ZodOptional<z.ZodObject<{
|
|
80
80
|
id: z.ZodString;
|
|
81
81
|
name: z.ZodString;
|
|
82
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
82
83
|
internalId: z.ZodString;
|
|
83
84
|
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
84
85
|
credentials: z.ZodOptional<z.ZodAny>;
|
|
@@ -91,6 +92,7 @@ export declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
|
|
|
91
92
|
id: string;
|
|
92
93
|
name: string;
|
|
93
94
|
internalId: string;
|
|
95
|
+
meta?: Record<string, any> | undefined;
|
|
94
96
|
createdAt?: string | undefined;
|
|
95
97
|
archivedAt?: string | undefined;
|
|
96
98
|
credentials?: any;
|
|
@@ -102,6 +104,7 @@ export declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
|
|
|
102
104
|
id: string;
|
|
103
105
|
name: string;
|
|
104
106
|
internalId: string;
|
|
107
|
+
meta?: Record<string, any> | undefined;
|
|
105
108
|
createdAt?: string | undefined;
|
|
106
109
|
archivedAt?: string | undefined;
|
|
107
110
|
credentials?: any;
|
|
@@ -118,6 +121,7 @@ export declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
|
|
|
118
121
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
119
122
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
120
123
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
124
|
+
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
121
125
|
error: z.ZodOptional<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>>;
|
|
122
126
|
integrationId: z.ZodString;
|
|
123
127
|
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
@@ -127,24 +131,21 @@ export declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
|
|
|
127
131
|
nextCredentialsRefreshAt: z.ZodOptional<z.ZodString>;
|
|
128
132
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
129
133
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
130
|
-
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
131
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
|
|
132
134
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
133
135
|
}, "strip", z.ZodTypeAny, {
|
|
134
136
|
id: string;
|
|
135
137
|
name: string;
|
|
136
138
|
createdAt: string;
|
|
137
139
|
updatedAt: string;
|
|
138
|
-
userId: string;
|
|
139
140
|
integrationId: string;
|
|
141
|
+
userId: string;
|
|
140
142
|
error?: import("../..").ErrorDataSchema | undefined;
|
|
143
|
+
meta?: Record<string, any> | undefined;
|
|
141
144
|
state?: import("..").WorkspaceElementState | undefined;
|
|
142
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
143
145
|
archivedAt?: string | undefined;
|
|
144
146
|
isDeactivated?: boolean | undefined;
|
|
145
147
|
authOptionKey?: string | undefined;
|
|
146
148
|
isTest?: boolean | undefined;
|
|
147
|
-
meta?: Record<string, any> | undefined;
|
|
148
149
|
disconnected?: boolean | undefined;
|
|
149
150
|
isDefunct?: boolean | undefined;
|
|
150
151
|
lastActiveAt?: string | undefined;
|
|
@@ -154,16 +155,15 @@ export declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
|
|
|
154
155
|
name: string;
|
|
155
156
|
createdAt: string;
|
|
156
157
|
updatedAt: string;
|
|
157
|
-
userId: string;
|
|
158
158
|
integrationId: string;
|
|
159
|
+
userId: string;
|
|
159
160
|
error?: import("../..").ErrorDataSchema | undefined;
|
|
161
|
+
meta?: Record<string, any> | undefined;
|
|
160
162
|
state?: import("..").WorkspaceElementState | undefined;
|
|
161
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
162
163
|
archivedAt?: string | undefined;
|
|
163
164
|
isDeactivated?: boolean | undefined;
|
|
164
165
|
authOptionKey?: string | undefined;
|
|
165
166
|
isTest?: boolean | undefined;
|
|
166
|
-
meta?: Record<string, any> | undefined;
|
|
167
167
|
disconnected?: boolean | undefined;
|
|
168
168
|
isDefunct?: boolean | undefined;
|
|
169
169
|
lastActiveAt?: string | undefined;
|
|
@@ -174,6 +174,7 @@ export declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
|
|
|
174
174
|
key: z.ZodOptional<z.ZodString>;
|
|
175
175
|
uuid: z.ZodOptional<z.ZodString>;
|
|
176
176
|
description: z.ZodOptional<z.ZodString>;
|
|
177
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
177
178
|
name: z.ZodString;
|
|
178
179
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
179
180
|
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
|
|
@@ -208,6 +209,7 @@ export declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
|
|
|
208
209
|
key?: string | undefined;
|
|
209
210
|
uuid?: string | undefined;
|
|
210
211
|
description?: string | undefined;
|
|
212
|
+
meta?: Record<string, any> | undefined;
|
|
211
213
|
state?: import("..").WorkspaceElementState | undefined;
|
|
212
214
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
213
215
|
revision?: string | undefined;
|
|
@@ -239,6 +241,7 @@ export declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
|
|
|
239
241
|
key?: string | undefined;
|
|
240
242
|
uuid?: string | undefined;
|
|
241
243
|
description?: string | undefined;
|
|
244
|
+
meta?: Record<string, any> | undefined;
|
|
242
245
|
state?: import("..").WorkspaceElementState | undefined;
|
|
243
246
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
244
247
|
revision?: string | undefined;
|
|
@@ -266,24 +269,23 @@ export declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
|
|
|
266
269
|
}>>;
|
|
267
270
|
}, "strip", z.ZodTypeAny, {
|
|
268
271
|
id: string;
|
|
272
|
+
integrationId: string;
|
|
269
273
|
userId: string;
|
|
270
274
|
connectionId: string;
|
|
271
|
-
integrationId: string;
|
|
272
275
|
connection?: {
|
|
273
276
|
id: string;
|
|
274
277
|
name: string;
|
|
275
278
|
createdAt: string;
|
|
276
279
|
updatedAt: string;
|
|
277
|
-
userId: string;
|
|
278
280
|
integrationId: string;
|
|
281
|
+
userId: string;
|
|
279
282
|
error?: import("../..").ErrorDataSchema | undefined;
|
|
283
|
+
meta?: Record<string, any> | undefined;
|
|
280
284
|
state?: import("..").WorkspaceElementState | undefined;
|
|
281
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
282
285
|
archivedAt?: string | undefined;
|
|
283
286
|
isDeactivated?: boolean | undefined;
|
|
284
287
|
authOptionKey?: string | undefined;
|
|
285
288
|
isTest?: boolean | undefined;
|
|
286
|
-
meta?: Record<string, any> | undefined;
|
|
287
289
|
disconnected?: boolean | undefined;
|
|
288
290
|
isDefunct?: boolean | undefined;
|
|
289
291
|
lastActiveAt?: string | undefined;
|
|
@@ -298,6 +300,7 @@ export declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
|
|
|
298
300
|
key?: string | undefined;
|
|
299
301
|
uuid?: string | undefined;
|
|
300
302
|
description?: string | undefined;
|
|
303
|
+
meta?: Record<string, any> | undefined;
|
|
301
304
|
state?: import("..").WorkspaceElementState | undefined;
|
|
302
305
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
303
306
|
revision?: string | undefined;
|
|
@@ -331,6 +334,7 @@ export declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
|
|
|
331
334
|
id: string;
|
|
332
335
|
name: string;
|
|
333
336
|
internalId: string;
|
|
337
|
+
meta?: Record<string, any> | undefined;
|
|
334
338
|
createdAt?: string | undefined;
|
|
335
339
|
archivedAt?: string | undefined;
|
|
336
340
|
credentials?: any;
|
|
@@ -364,24 +368,23 @@ export declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
|
|
|
364
368
|
globalWebhookEventSelector?: string | undefined;
|
|
365
369
|
}, {
|
|
366
370
|
id: string;
|
|
371
|
+
integrationId: string;
|
|
367
372
|
userId: string;
|
|
368
373
|
connectionId: string;
|
|
369
|
-
integrationId: string;
|
|
370
374
|
connection?: {
|
|
371
375
|
id: string;
|
|
372
376
|
name: string;
|
|
373
377
|
createdAt: string;
|
|
374
378
|
updatedAt: string;
|
|
375
|
-
userId: string;
|
|
376
379
|
integrationId: string;
|
|
380
|
+
userId: string;
|
|
377
381
|
error?: import("../..").ErrorDataSchema | undefined;
|
|
382
|
+
meta?: Record<string, any> | undefined;
|
|
378
383
|
state?: import("..").WorkspaceElementState | undefined;
|
|
379
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
380
384
|
archivedAt?: string | undefined;
|
|
381
385
|
isDeactivated?: boolean | undefined;
|
|
382
386
|
authOptionKey?: string | undefined;
|
|
383
387
|
isTest?: boolean | undefined;
|
|
384
|
-
meta?: Record<string, any> | undefined;
|
|
385
388
|
disconnected?: boolean | undefined;
|
|
386
389
|
isDefunct?: boolean | undefined;
|
|
387
390
|
lastActiveAt?: string | undefined;
|
|
@@ -396,6 +399,7 @@ export declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
|
|
|
396
399
|
key?: string | undefined;
|
|
397
400
|
uuid?: string | undefined;
|
|
398
401
|
description?: string | undefined;
|
|
402
|
+
meta?: Record<string, any> | undefined;
|
|
399
403
|
state?: import("..").WorkspaceElementState | undefined;
|
|
400
404
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
401
405
|
revision?: string | undefined;
|
|
@@ -429,6 +433,7 @@ export declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
|
|
|
429
433
|
id: string;
|
|
430
434
|
name: string;
|
|
431
435
|
internalId: string;
|
|
436
|
+
meta?: Record<string, any> | undefined;
|
|
432
437
|
createdAt?: string | undefined;
|
|
433
438
|
archivedAt?: string | undefined;
|
|
434
439
|
credentials?: any;
|
|
@@ -217,6 +217,7 @@ export declare const ExternalEvent: z.ZodObject<{
|
|
|
217
217
|
key: z.ZodOptional<z.ZodString>;
|
|
218
218
|
uuid: z.ZodOptional<z.ZodString>;
|
|
219
219
|
description: z.ZodOptional<z.ZodString>;
|
|
220
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
220
221
|
name: z.ZodString;
|
|
221
222
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
222
223
|
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
|
|
@@ -251,6 +252,7 @@ export declare const ExternalEvent: z.ZodObject<{
|
|
|
251
252
|
key?: string | undefined;
|
|
252
253
|
uuid?: string | undefined;
|
|
253
254
|
description?: string | undefined;
|
|
255
|
+
meta?: Record<string, any> | undefined;
|
|
254
256
|
state?: import("..").WorkspaceElementState | undefined;
|
|
255
257
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
256
258
|
revision?: string | undefined;
|
|
@@ -282,6 +284,7 @@ export declare const ExternalEvent: z.ZodObject<{
|
|
|
282
284
|
key?: string | undefined;
|
|
283
285
|
uuid?: string | undefined;
|
|
284
286
|
description?: string | undefined;
|
|
287
|
+
meta?: Record<string, any> | undefined;
|
|
285
288
|
state?: import("..").WorkspaceElementState | undefined;
|
|
286
289
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
287
290
|
revision?: string | undefined;
|
|
@@ -315,6 +318,7 @@ export declare const ExternalEvent: z.ZodObject<{
|
|
|
315
318
|
key?: string | undefined;
|
|
316
319
|
uuid?: string | undefined;
|
|
317
320
|
description?: string | undefined;
|
|
321
|
+
meta?: Record<string, any> | undefined;
|
|
318
322
|
state?: import("..").WorkspaceElementState | undefined;
|
|
319
323
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
320
324
|
revision?: string | undefined;
|
|
@@ -364,6 +368,7 @@ export declare const ExternalEvent: z.ZodObject<{
|
|
|
364
368
|
key?: string | undefined;
|
|
365
369
|
uuid?: string | undefined;
|
|
366
370
|
description?: string | undefined;
|
|
371
|
+
meta?: Record<string, any> | undefined;
|
|
367
372
|
state?: import("..").WorkspaceElementState | undefined;
|
|
368
373
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
369
374
|
revision?: string | undefined;
|
|
@@ -429,6 +434,7 @@ export declare const ExternalEvent: z.ZodObject<{
|
|
|
429
434
|
key?: string | undefined;
|
|
430
435
|
uuid?: string | undefined;
|
|
431
436
|
description?: string | undefined;
|
|
437
|
+
meta?: Record<string, any> | undefined;
|
|
432
438
|
state?: import("..").WorkspaceElementState | undefined;
|
|
433
439
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
434
440
|
revision?: string | undefined;
|
|
@@ -494,6 +500,7 @@ export declare const ExternalEvent: z.ZodObject<{
|
|
|
494
500
|
key?: string | undefined;
|
|
495
501
|
uuid?: string | undefined;
|
|
496
502
|
description?: string | undefined;
|
|
503
|
+
meta?: Record<string, any> | undefined;
|
|
497
504
|
state?: import("..").WorkspaceElementState | undefined;
|
|
498
505
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
499
506
|
revision?: string | undefined;
|