@membranehq/sdk 0.5.0 → 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 +10513 -4612
- package/dist/bundle.js +149 -1
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/connections-accessors.d.ts +22 -15
- package/dist/dts/accessors/integrations-accessors.d.ts +22 -15
- package/dist/dts/data-schema/index.d.ts +0 -1
- package/dist/dts/entity-repository.d.ts +7 -6
- package/dist/dts/http-requests.d.ts +2 -2
- 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 +435 -10
- package/dist/dts/workspace-elements/api/actions-api.d.ts +225 -114
- 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 +505 -135
- package/dist/dts/workspace-elements/api/customers-api.d.ts +38 -5
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +447 -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 +1496 -12
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +189 -103
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +602 -19
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +608 -19
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +465 -10
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +75 -41
- package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +2570 -14
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +199 -93
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +1436 -47
- package/dist/dts/workspace-elements/api/flows-api.d.ts +590 -295
- package/dist/dts/workspace-elements/api/index.d.ts +1 -1
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +176 -58
- package/dist/dts/workspace-elements/api/scenarios-api.d.ts +77 -36
- package/dist/dts/workspace-elements/api/screens-api.d.ts +33 -13
- package/dist/dts/workspace-elements/base/action-instances/types.d.ts +31 -15
- package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +12 -10
- package/dist/dts/workspace-elements/base/actions/types.d.ts +28 -11
- package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +23 -6
- package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +22 -8
- package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +25 -11
- package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +23 -9
- package/dist/dts/workspace-elements/base/connections/types.d.ts +21 -21
- package/dist/dts/workspace-elements/base/customers/index.d.ts +8 -2
- package/dist/dts/workspace-elements/base/data-collections/schemas.d.ts +18 -18
- package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +23 -6
- package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +21 -4
- package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +59 -41
- package/dist/dts/workspace-elements/base/data-sources/types.d.ts +16 -8
- package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +2 -5
- package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +23 -5
- package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +20 -6
- package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +2 -2
- package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +24 -9
- package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +14 -1
- package/dist/dts/workspace-elements/base/flows/types.d.ts +20 -6
- package/dist/dts/workspace-elements/base/integrations/types.d.ts +187 -104
- package/dist/dts/workspace-elements/base/scenarios/types.d.ts +21 -4
- package/dist/dts/workspace-elements/base/screens/types.d.ts +9 -1
- package/dist/dts/workspace-elements/types.d.ts +25 -3
- package/dist/dts/workspaces/types.d.ts +5 -4
- package/dist/index.d.ts +20345 -9526
- package/dist/index.js +268 -115
- package/dist/index.js.map +1 -1
- package/dist/index.module.d.mts +20345 -9526
- package/dist/index.module.mjs +234 -107
- 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
|
@@ -215,25 +215,29 @@ export declare const ExternalEvent: z.ZodObject<{
|
|
|
215
215
|
integration: z.ZodObject<{
|
|
216
216
|
id: z.ZodString;
|
|
217
217
|
name: z.ZodString;
|
|
218
|
-
|
|
219
|
-
|
|
218
|
+
key: z.ZodOptional<z.ZodString>;
|
|
219
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
220
|
+
description: z.ZodOptional<z.ZodString>;
|
|
220
221
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
221
222
|
errors: z.ZodOptional<z.ZodArray<any, "many">>;
|
|
223
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
224
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
225
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
222
226
|
} & {
|
|
223
227
|
logoUri: z.ZodString;
|
|
224
228
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
225
229
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
226
|
-
authOptions: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
227
230
|
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
228
|
-
parametersSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
|
|
229
231
|
parameters: z.ZodOptional<z.ZodAny>;
|
|
230
|
-
baseUri: z.ZodString;
|
|
231
232
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
232
233
|
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
233
234
|
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
234
235
|
hasOperations: z.ZodOptional<z.ZodBoolean>;
|
|
236
|
+
operationsCount: z.ZodOptional<z.ZodNumber>;
|
|
235
237
|
hasData: z.ZodOptional<z.ZodBoolean>;
|
|
238
|
+
dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
|
|
236
239
|
hasEvents: z.ZodOptional<z.ZodBoolean>;
|
|
240
|
+
eventsCount: z.ZodOptional<z.ZodNumber>;
|
|
237
241
|
hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
|
|
238
242
|
hasUdm: z.ZodOptional<z.ZodBoolean>;
|
|
239
243
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -241,84 +245,99 @@ export declare const ExternalEvent: z.ZodObject<{
|
|
|
241
245
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
242
246
|
authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
|
|
243
247
|
}, "strip", z.ZodTypeAny, {
|
|
244
|
-
key: string;
|
|
245
248
|
id: string;
|
|
246
249
|
name: string;
|
|
247
|
-
baseUri: string;
|
|
248
250
|
logoUri: string;
|
|
251
|
+
key?: string | undefined;
|
|
252
|
+
uuid?: string | undefined;
|
|
253
|
+
description?: string | undefined;
|
|
249
254
|
state?: import("..").WorkspaceElementState | undefined;
|
|
250
255
|
errors?: any[] | undefined;
|
|
251
|
-
|
|
252
|
-
|
|
256
|
+
revision?: string | undefined;
|
|
257
|
+
isDeactivated?: boolean | undefined;
|
|
258
|
+
createdAt?: string | undefined;
|
|
259
|
+
updatedAt?: string | undefined;
|
|
253
260
|
archivedAt?: string | undefined;
|
|
261
|
+
parameters?: any;
|
|
254
262
|
isTest?: boolean | undefined;
|
|
255
263
|
connectorId?: string | undefined;
|
|
256
264
|
connectorVersion?: string | undefined;
|
|
257
|
-
authOptions?: any[] | undefined;
|
|
258
265
|
oAuthCallbackUri?: string | undefined;
|
|
259
266
|
hasMissingParameters?: boolean | undefined;
|
|
260
267
|
hasDocumentation?: boolean | undefined;
|
|
261
268
|
hasOperations?: boolean | undefined;
|
|
269
|
+
operationsCount?: number | undefined;
|
|
262
270
|
hasData?: boolean | undefined;
|
|
271
|
+
dataCollectionsCount?: number | undefined;
|
|
263
272
|
hasEvents?: boolean | undefined;
|
|
273
|
+
eventsCount?: number | undefined;
|
|
264
274
|
hasGlobalWebhooks?: boolean | undefined;
|
|
265
275
|
hasUdm?: boolean | undefined;
|
|
266
276
|
appUuid?: string | undefined;
|
|
267
|
-
isDeactivated?: boolean | undefined;
|
|
268
277
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
269
278
|
}, {
|
|
270
|
-
key: string;
|
|
271
279
|
id: string;
|
|
272
280
|
name: string;
|
|
273
|
-
baseUri: string;
|
|
274
281
|
logoUri: string;
|
|
282
|
+
key?: string | undefined;
|
|
283
|
+
uuid?: string | undefined;
|
|
284
|
+
description?: string | undefined;
|
|
275
285
|
state?: import("..").WorkspaceElementState | undefined;
|
|
276
286
|
errors?: any[] | undefined;
|
|
277
|
-
|
|
278
|
-
|
|
287
|
+
revision?: string | undefined;
|
|
288
|
+
isDeactivated?: boolean | undefined;
|
|
289
|
+
createdAt?: string | undefined;
|
|
290
|
+
updatedAt?: string | undefined;
|
|
279
291
|
archivedAt?: string | undefined;
|
|
292
|
+
parameters?: any;
|
|
280
293
|
isTest?: boolean | undefined;
|
|
281
294
|
connectorId?: string | undefined;
|
|
282
295
|
connectorVersion?: string | undefined;
|
|
283
|
-
authOptions?: any[] | undefined;
|
|
284
296
|
oAuthCallbackUri?: string | undefined;
|
|
285
297
|
hasMissingParameters?: boolean | undefined;
|
|
286
298
|
hasDocumentation?: boolean | undefined;
|
|
287
299
|
hasOperations?: boolean | undefined;
|
|
300
|
+
operationsCount?: number | undefined;
|
|
288
301
|
hasData?: boolean | undefined;
|
|
302
|
+
dataCollectionsCount?: number | undefined;
|
|
289
303
|
hasEvents?: boolean | undefined;
|
|
304
|
+
eventsCount?: number | undefined;
|
|
290
305
|
hasGlobalWebhooks?: boolean | undefined;
|
|
291
306
|
hasUdm?: boolean | undefined;
|
|
292
307
|
appUuid?: string | undefined;
|
|
293
|
-
isDeactivated?: boolean | undefined;
|
|
294
308
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
295
309
|
}>;
|
|
296
310
|
}, "strip", z.ZodTypeAny, {
|
|
297
311
|
integration: {
|
|
298
|
-
key: string;
|
|
299
312
|
id: string;
|
|
300
313
|
name: string;
|
|
301
|
-
baseUri: string;
|
|
302
314
|
logoUri: string;
|
|
315
|
+
key?: string | undefined;
|
|
316
|
+
uuid?: string | undefined;
|
|
317
|
+
description?: string | undefined;
|
|
303
318
|
state?: import("..").WorkspaceElementState | undefined;
|
|
304
319
|
errors?: any[] | undefined;
|
|
305
|
-
|
|
306
|
-
|
|
320
|
+
revision?: string | undefined;
|
|
321
|
+
isDeactivated?: boolean | undefined;
|
|
322
|
+
createdAt?: string | undefined;
|
|
323
|
+
updatedAt?: string | undefined;
|
|
307
324
|
archivedAt?: string | undefined;
|
|
325
|
+
parameters?: any;
|
|
308
326
|
isTest?: boolean | undefined;
|
|
309
327
|
connectorId?: string | undefined;
|
|
310
328
|
connectorVersion?: string | undefined;
|
|
311
|
-
authOptions?: any[] | undefined;
|
|
312
329
|
oAuthCallbackUri?: string | undefined;
|
|
313
330
|
hasMissingParameters?: boolean | undefined;
|
|
314
331
|
hasDocumentation?: boolean | undefined;
|
|
315
332
|
hasOperations?: boolean | undefined;
|
|
333
|
+
operationsCount?: number | undefined;
|
|
316
334
|
hasData?: boolean | undefined;
|
|
335
|
+
dataCollectionsCount?: number | undefined;
|
|
317
336
|
hasEvents?: boolean | undefined;
|
|
337
|
+
eventsCount?: number | undefined;
|
|
318
338
|
hasGlobalWebhooks?: boolean | undefined;
|
|
319
339
|
hasUdm?: boolean | undefined;
|
|
320
340
|
appUuid?: string | undefined;
|
|
321
|
-
isDeactivated?: boolean | undefined;
|
|
322
341
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
323
342
|
};
|
|
324
343
|
element: {
|
|
@@ -339,30 +358,35 @@ export declare const ExternalEvent: z.ZodObject<{
|
|
|
339
358
|
};
|
|
340
359
|
}, {
|
|
341
360
|
integration: {
|
|
342
|
-
key: string;
|
|
343
361
|
id: string;
|
|
344
362
|
name: string;
|
|
345
|
-
baseUri: string;
|
|
346
363
|
logoUri: string;
|
|
364
|
+
key?: string | undefined;
|
|
365
|
+
uuid?: string | undefined;
|
|
366
|
+
description?: string | undefined;
|
|
347
367
|
state?: import("..").WorkspaceElementState | undefined;
|
|
348
368
|
errors?: any[] | undefined;
|
|
349
|
-
|
|
350
|
-
|
|
369
|
+
revision?: string | undefined;
|
|
370
|
+
isDeactivated?: boolean | undefined;
|
|
371
|
+
createdAt?: string | undefined;
|
|
372
|
+
updatedAt?: string | undefined;
|
|
351
373
|
archivedAt?: string | undefined;
|
|
374
|
+
parameters?: any;
|
|
352
375
|
isTest?: boolean | undefined;
|
|
353
376
|
connectorId?: string | undefined;
|
|
354
377
|
connectorVersion?: string | undefined;
|
|
355
|
-
authOptions?: any[] | undefined;
|
|
356
378
|
oAuthCallbackUri?: string | undefined;
|
|
357
379
|
hasMissingParameters?: boolean | undefined;
|
|
358
380
|
hasDocumentation?: boolean | undefined;
|
|
359
381
|
hasOperations?: boolean | undefined;
|
|
382
|
+
operationsCount?: number | undefined;
|
|
360
383
|
hasData?: boolean | undefined;
|
|
384
|
+
dataCollectionsCount?: number | undefined;
|
|
361
385
|
hasEvents?: boolean | undefined;
|
|
386
|
+
eventsCount?: number | undefined;
|
|
362
387
|
hasGlobalWebhooks?: boolean | undefined;
|
|
363
388
|
hasUdm?: boolean | undefined;
|
|
364
389
|
appUuid?: string | undefined;
|
|
365
|
-
isDeactivated?: boolean | undefined;
|
|
366
390
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
367
391
|
};
|
|
368
392
|
element: {
|
|
@@ -399,30 +423,35 @@ export declare const ExternalEvent: z.ZodObject<{
|
|
|
399
423
|
} | undefined;
|
|
400
424
|
appliedToIntegrations?: {
|
|
401
425
|
integration: {
|
|
402
|
-
key: string;
|
|
403
426
|
id: string;
|
|
404
427
|
name: string;
|
|
405
|
-
baseUri: string;
|
|
406
428
|
logoUri: string;
|
|
429
|
+
key?: string | undefined;
|
|
430
|
+
uuid?: string | undefined;
|
|
431
|
+
description?: string | undefined;
|
|
407
432
|
state?: import("..").WorkspaceElementState | undefined;
|
|
408
433
|
errors?: any[] | undefined;
|
|
409
|
-
|
|
410
|
-
|
|
434
|
+
revision?: string | undefined;
|
|
435
|
+
isDeactivated?: boolean | undefined;
|
|
436
|
+
createdAt?: string | undefined;
|
|
437
|
+
updatedAt?: string | undefined;
|
|
411
438
|
archivedAt?: string | undefined;
|
|
439
|
+
parameters?: any;
|
|
412
440
|
isTest?: boolean | undefined;
|
|
413
441
|
connectorId?: string | undefined;
|
|
414
442
|
connectorVersion?: string | undefined;
|
|
415
|
-
authOptions?: any[] | undefined;
|
|
416
443
|
oAuthCallbackUri?: string | undefined;
|
|
417
444
|
hasMissingParameters?: boolean | undefined;
|
|
418
445
|
hasDocumentation?: boolean | undefined;
|
|
419
446
|
hasOperations?: boolean | undefined;
|
|
447
|
+
operationsCount?: number | undefined;
|
|
420
448
|
hasData?: boolean | undefined;
|
|
449
|
+
dataCollectionsCount?: number | undefined;
|
|
421
450
|
hasEvents?: boolean | undefined;
|
|
451
|
+
eventsCount?: number | undefined;
|
|
422
452
|
hasGlobalWebhooks?: boolean | undefined;
|
|
423
453
|
hasUdm?: boolean | undefined;
|
|
424
454
|
appUuid?: string | undefined;
|
|
425
|
-
isDeactivated?: boolean | undefined;
|
|
426
455
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
427
456
|
};
|
|
428
457
|
element: {
|
|
@@ -459,30 +488,35 @@ export declare const ExternalEvent: z.ZodObject<{
|
|
|
459
488
|
} | undefined;
|
|
460
489
|
appliedToIntegrations?: {
|
|
461
490
|
integration: {
|
|
462
|
-
key: string;
|
|
463
491
|
id: string;
|
|
464
492
|
name: string;
|
|
465
|
-
baseUri: string;
|
|
466
493
|
logoUri: string;
|
|
494
|
+
key?: string | undefined;
|
|
495
|
+
uuid?: string | undefined;
|
|
496
|
+
description?: string | undefined;
|
|
467
497
|
state?: import("..").WorkspaceElementState | undefined;
|
|
468
498
|
errors?: any[] | undefined;
|
|
469
|
-
|
|
470
|
-
|
|
499
|
+
revision?: string | undefined;
|
|
500
|
+
isDeactivated?: boolean | undefined;
|
|
501
|
+
createdAt?: string | undefined;
|
|
502
|
+
updatedAt?: string | undefined;
|
|
471
503
|
archivedAt?: string | undefined;
|
|
504
|
+
parameters?: any;
|
|
472
505
|
isTest?: boolean | undefined;
|
|
473
506
|
connectorId?: string | undefined;
|
|
474
507
|
connectorVersion?: string | undefined;
|
|
475
|
-
authOptions?: any[] | undefined;
|
|
476
508
|
oAuthCallbackUri?: string | undefined;
|
|
477
509
|
hasMissingParameters?: boolean | undefined;
|
|
478
510
|
hasDocumentation?: boolean | undefined;
|
|
479
511
|
hasOperations?: boolean | undefined;
|
|
512
|
+
operationsCount?: number | undefined;
|
|
480
513
|
hasData?: boolean | undefined;
|
|
514
|
+
dataCollectionsCount?: number | undefined;
|
|
481
515
|
hasEvents?: boolean | undefined;
|
|
516
|
+
eventsCount?: number | undefined;
|
|
482
517
|
hasGlobalWebhooks?: boolean | undefined;
|
|
483
518
|
hasUdm?: boolean | undefined;
|
|
484
519
|
appUuid?: string | undefined;
|
|
485
|
-
isDeactivated?: boolean | undefined;
|
|
486
520
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
487
521
|
};
|
|
488
522
|
element: {
|