@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.
Files changed (34) hide show
  1. package/dist/bundle.d.ts +160 -2153
  2. package/dist/dts/accessors/connections-accessors.d.ts +1 -15
  3. package/dist/dts/accessors/integrations-accessors.d.ts +1 -15
  4. package/dist/dts/workspace-elements/api/action-instances-api.d.ts +3 -3
  5. package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +5 -99
  6. package/dist/dts/workspace-elements/api/actions-api.d.ts +0 -192
  7. package/dist/dts/workspace-elements/api/connections-api.d.ts +291 -211
  8. package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +5 -99
  9. package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +5 -99
  10. package/dist/dts/workspace-elements/api/data-sources-api.d.ts +0 -192
  11. package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +5 -99
  12. package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +5 -99
  13. package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +5 -99
  14. package/dist/dts/workspace-elements/api/external-events-api.d.ts +0 -108
  15. package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +12 -228
  16. package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +0 -192
  17. package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +12 -228
  18. package/dist/dts/workspace-elements/api/flows-api.d.ts +42 -530
  19. package/dist/dts/workspace-elements/api/integrations-api.d.ts +109 -75
  20. package/dist/dts/workspace-elements/api/scenarios-api.d.ts +0 -84
  21. package/dist/dts/workspace-elements/base/action-instances/types.d.ts +3 -3
  22. package/dist/dts/workspace-elements/base/connections/types.d.ts +3 -9
  23. package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +4 -4
  24. package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +2 -2
  25. package/dist/dts/workspace-elements/base/flows/types.d.ts +6 -6
  26. package/dist/dts/workspace-elements/base/integrations/types.d.ts +0 -407
  27. package/dist/dts/workspaces/types.d.ts +1 -1
  28. package/dist/index.d.ts +530 -3109
  29. package/dist/index.js +22 -18
  30. package/dist/index.js.map +1 -1
  31. package/dist/index.module.d.mts +530 -3109
  32. package/dist/index.module.mjs +22 -19
  33. package/dist/index.module.mjs.map +1 -1
  34. package/package.json +1 -1
@@ -218,44 +218,8 @@ export declare const ActionApiResponse: z.ZodObject<{
218
218
  logoUri: z.ZodString;
219
219
  connectorId: z.ZodOptional<z.ZodString>;
220
220
  connectorVersion: z.ZodOptional<z.ZodString>;
221
- authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
222
- key: z.ZodString;
223
- type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
224
- title: z.ZodOptional<z.ZodString>;
225
- description: z.ZodOptional<z.ZodString>;
226
- ui: z.ZodOptional<z.ZodObject<{
227
- schema: z.ZodOptional<z.ZodAny>;
228
- helpUri: z.ZodOptional<z.ZodString>;
229
- }, "strip", z.ZodTypeAny, {
230
- schema?: any;
231
- helpUri?: string | undefined;
232
- }, {
233
- schema?: any;
234
- helpUri?: string | undefined;
235
- }>>;
236
- }, "strip", z.ZodTypeAny, {
237
- key: string;
238
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
239
- description?: string | undefined;
240
- title?: string | undefined;
241
- ui?: {
242
- schema?: any;
243
- helpUri?: string | undefined;
244
- } | undefined;
245
- }, {
246
- key: string;
247
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
248
- description?: string | undefined;
249
- title?: string | undefined;
250
- ui?: {
251
- schema?: any;
252
- helpUri?: string | undefined;
253
- } | undefined;
254
- }>, "many">>;
255
221
  oAuthCallbackUri: z.ZodOptional<z.ZodString>;
256
- parametersSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
257
222
  parameters: z.ZodOptional<z.ZodAny>;
258
- baseUri: z.ZodString;
259
223
  archivedAt: z.ZodOptional<z.ZodString>;
260
224
  hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
261
225
  hasDocumentation: z.ZodOptional<z.ZodBoolean>;
@@ -274,7 +238,6 @@ export declare const ActionApiResponse: z.ZodObject<{
274
238
  }, "strip", z.ZodTypeAny, {
275
239
  id: string;
276
240
  name: string;
277
- baseUri: string;
278
241
  logoUri: string;
279
242
  key?: string | undefined;
280
243
  uuid?: string | undefined;
@@ -287,20 +250,9 @@ export declare const ActionApiResponse: z.ZodObject<{
287
250
  updatedAt?: string | undefined;
288
251
  archivedAt?: string | undefined;
289
252
  parameters?: any;
290
- parametersSchema?: import("../..").DataSchema | undefined;
291
253
  isTest?: boolean | undefined;
292
254
  connectorId?: string | undefined;
293
255
  connectorVersion?: string | undefined;
294
- authOptions?: {
295
- key: string;
296
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
297
- description?: string | undefined;
298
- title?: string | undefined;
299
- ui?: {
300
- schema?: any;
301
- helpUri?: string | undefined;
302
- } | undefined;
303
- }[] | undefined;
304
256
  oAuthCallbackUri?: string | undefined;
305
257
  hasMissingParameters?: boolean | undefined;
306
258
  hasDocumentation?: boolean | undefined;
@@ -317,7 +269,6 @@ export declare const ActionApiResponse: z.ZodObject<{
317
269
  }, {
318
270
  id: string;
319
271
  name: string;
320
- baseUri: string;
321
272
  logoUri: string;
322
273
  key?: string | undefined;
323
274
  uuid?: string | undefined;
@@ -330,20 +281,9 @@ export declare const ActionApiResponse: z.ZodObject<{
330
281
  updatedAt?: string | undefined;
331
282
  archivedAt?: string | undefined;
332
283
  parameters?: any;
333
- parametersSchema?: import("../..").DataSchema | undefined;
334
284
  isTest?: boolean | undefined;
335
285
  connectorId?: string | undefined;
336
286
  connectorVersion?: string | undefined;
337
- authOptions?: {
338
- key: string;
339
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
340
- description?: string | undefined;
341
- title?: string | undefined;
342
- ui?: {
343
- schema?: any;
344
- helpUri?: string | undefined;
345
- } | undefined;
346
- }[] | undefined;
347
287
  oAuthCallbackUri?: string | undefined;
348
288
  hasMissingParameters?: boolean | undefined;
349
289
  hasDocumentation?: boolean | undefined;
@@ -455,44 +395,8 @@ export declare const ActionApiResponse: z.ZodObject<{
455
395
  logoUri: z.ZodString;
456
396
  connectorId: z.ZodOptional<z.ZodString>;
457
397
  connectorVersion: z.ZodOptional<z.ZodString>;
458
- authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
459
- key: z.ZodString;
460
- type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
461
- title: z.ZodOptional<z.ZodString>;
462
- description: z.ZodOptional<z.ZodString>;
463
- ui: z.ZodOptional<z.ZodObject<{
464
- schema: z.ZodOptional<z.ZodAny>;
465
- helpUri: z.ZodOptional<z.ZodString>;
466
- }, "strip", z.ZodTypeAny, {
467
- schema?: any;
468
- helpUri?: string | undefined;
469
- }, {
470
- schema?: any;
471
- helpUri?: string | undefined;
472
- }>>;
473
- }, "strip", z.ZodTypeAny, {
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
- }, {
483
- key: string;
484
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
485
- description?: string | undefined;
486
- title?: string | undefined;
487
- ui?: {
488
- schema?: any;
489
- helpUri?: string | undefined;
490
- } | undefined;
491
- }>, "many">>;
492
398
  oAuthCallbackUri: z.ZodOptional<z.ZodString>;
493
- parametersSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
494
399
  parameters: z.ZodOptional<z.ZodAny>;
495
- baseUri: z.ZodString;
496
400
  archivedAt: z.ZodOptional<z.ZodString>;
497
401
  hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
498
402
  hasDocumentation: z.ZodOptional<z.ZodBoolean>;
@@ -511,7 +415,6 @@ export declare const ActionApiResponse: z.ZodObject<{
511
415
  }, "strip", z.ZodTypeAny, {
512
416
  id: string;
513
417
  name: string;
514
- baseUri: string;
515
418
  logoUri: string;
516
419
  key?: string | undefined;
517
420
  uuid?: string | undefined;
@@ -524,20 +427,9 @@ export declare const ActionApiResponse: z.ZodObject<{
524
427
  updatedAt?: string | undefined;
525
428
  archivedAt?: string | undefined;
526
429
  parameters?: any;
527
- parametersSchema?: import("../..").DataSchema | undefined;
528
430
  isTest?: boolean | undefined;
529
431
  connectorId?: string | undefined;
530
432
  connectorVersion?: string | undefined;
531
- authOptions?: {
532
- key: string;
533
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
534
- description?: string | undefined;
535
- title?: string | undefined;
536
- ui?: {
537
- schema?: any;
538
- helpUri?: string | undefined;
539
- } | undefined;
540
- }[] | undefined;
541
433
  oAuthCallbackUri?: string | undefined;
542
434
  hasMissingParameters?: boolean | undefined;
543
435
  hasDocumentation?: boolean | undefined;
@@ -554,7 +446,6 @@ export declare const ActionApiResponse: z.ZodObject<{
554
446
  }, {
555
447
  id: string;
556
448
  name: string;
557
- baseUri: string;
558
449
  logoUri: string;
559
450
  key?: string | undefined;
560
451
  uuid?: string | undefined;
@@ -567,20 +458,9 @@ export declare const ActionApiResponse: z.ZodObject<{
567
458
  updatedAt?: string | undefined;
568
459
  archivedAt?: string | undefined;
569
460
  parameters?: any;
570
- parametersSchema?: import("../..").DataSchema | undefined;
571
461
  isTest?: boolean | undefined;
572
462
  connectorId?: string | undefined;
573
463
  connectorVersion?: string | undefined;
574
- authOptions?: {
575
- key: string;
576
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
577
- description?: string | undefined;
578
- title?: string | undefined;
579
- ui?: {
580
- schema?: any;
581
- helpUri?: string | undefined;
582
- } | undefined;
583
- }[] | undefined;
584
464
  oAuthCallbackUri?: string | undefined;
585
465
  hasMissingParameters?: boolean | undefined;
586
466
  hasDocumentation?: boolean | undefined;
@@ -599,7 +479,6 @@ export declare const ActionApiResponse: z.ZodObject<{
599
479
  integration: {
600
480
  id: string;
601
481
  name: string;
602
- baseUri: string;
603
482
  logoUri: string;
604
483
  key?: string | undefined;
605
484
  uuid?: string | undefined;
@@ -612,20 +491,9 @@ export declare const ActionApiResponse: z.ZodObject<{
612
491
  updatedAt?: string | undefined;
613
492
  archivedAt?: string | undefined;
614
493
  parameters?: any;
615
- parametersSchema?: import("../..").DataSchema | undefined;
616
494
  isTest?: boolean | undefined;
617
495
  connectorId?: string | undefined;
618
496
  connectorVersion?: string | undefined;
619
- authOptions?: {
620
- key: string;
621
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
622
- description?: string | undefined;
623
- title?: string | undefined;
624
- ui?: {
625
- schema?: any;
626
- helpUri?: string | undefined;
627
- } | undefined;
628
- }[] | undefined;
629
497
  oAuthCallbackUri?: string | undefined;
630
498
  hasMissingParameters?: boolean | undefined;
631
499
  hasDocumentation?: boolean | undefined;
@@ -671,7 +539,6 @@ export declare const ActionApiResponse: z.ZodObject<{
671
539
  integration: {
672
540
  id: string;
673
541
  name: string;
674
- baseUri: string;
675
542
  logoUri: string;
676
543
  key?: string | undefined;
677
544
  uuid?: string | undefined;
@@ -684,20 +551,9 @@ export declare const ActionApiResponse: z.ZodObject<{
684
551
  updatedAt?: string | undefined;
685
552
  archivedAt?: string | undefined;
686
553
  parameters?: any;
687
- parametersSchema?: import("../..").DataSchema | undefined;
688
554
  isTest?: boolean | undefined;
689
555
  connectorId?: string | undefined;
690
556
  connectorVersion?: string | undefined;
691
- authOptions?: {
692
- key: string;
693
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
694
- description?: string | undefined;
695
- title?: string | undefined;
696
- ui?: {
697
- schema?: any;
698
- helpUri?: string | undefined;
699
- } | undefined;
700
- }[] | undefined;
701
557
  oAuthCallbackUri?: string | undefined;
702
558
  hasMissingParameters?: boolean | undefined;
703
559
  hasDocumentation?: boolean | undefined;
@@ -748,7 +604,6 @@ export declare const ActionApiResponse: z.ZodObject<{
748
604
  integration?: {
749
605
  id: string;
750
606
  name: string;
751
- baseUri: string;
752
607
  logoUri: string;
753
608
  key?: string | undefined;
754
609
  uuid?: string | undefined;
@@ -761,20 +616,9 @@ export declare const ActionApiResponse: z.ZodObject<{
761
616
  updatedAt?: string | undefined;
762
617
  archivedAt?: string | undefined;
763
618
  parameters?: any;
764
- parametersSchema?: import("../..").DataSchema | undefined;
765
619
  isTest?: boolean | undefined;
766
620
  connectorId?: string | undefined;
767
621
  connectorVersion?: string | undefined;
768
- authOptions?: {
769
- key: string;
770
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
771
- description?: string | undefined;
772
- title?: string | undefined;
773
- ui?: {
774
- schema?: any;
775
- helpUri?: string | undefined;
776
- } | undefined;
777
- }[] | undefined;
778
622
  oAuthCallbackUri?: string | undefined;
779
623
  hasMissingParameters?: boolean | undefined;
780
624
  hasDocumentation?: boolean | undefined;
@@ -814,7 +658,6 @@ export declare const ActionApiResponse: z.ZodObject<{
814
658
  integration: {
815
659
  id: string;
816
660
  name: string;
817
- baseUri: string;
818
661
  logoUri: string;
819
662
  key?: string | undefined;
820
663
  uuid?: string | undefined;
@@ -827,20 +670,9 @@ export declare const ActionApiResponse: z.ZodObject<{
827
670
  updatedAt?: string | undefined;
828
671
  archivedAt?: string | undefined;
829
672
  parameters?: any;
830
- parametersSchema?: import("../..").DataSchema | undefined;
831
673
  isTest?: boolean | undefined;
832
674
  connectorId?: string | undefined;
833
675
  connectorVersion?: string | undefined;
834
- authOptions?: {
835
- key: string;
836
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
837
- description?: string | undefined;
838
- title?: string | undefined;
839
- ui?: {
840
- schema?: any;
841
- helpUri?: string | undefined;
842
- } | undefined;
843
- }[] | undefined;
844
676
  oAuthCallbackUri?: string | undefined;
845
677
  hasMissingParameters?: boolean | undefined;
846
678
  hasDocumentation?: boolean | undefined;
@@ -891,7 +723,6 @@ export declare const ActionApiResponse: z.ZodObject<{
891
723
  integration?: {
892
724
  id: string;
893
725
  name: string;
894
- baseUri: string;
895
726
  logoUri: string;
896
727
  key?: string | undefined;
897
728
  uuid?: string | undefined;
@@ -904,20 +735,9 @@ export declare const ActionApiResponse: z.ZodObject<{
904
735
  updatedAt?: string | undefined;
905
736
  archivedAt?: string | undefined;
906
737
  parameters?: any;
907
- parametersSchema?: import("../..").DataSchema | undefined;
908
738
  isTest?: boolean | undefined;
909
739
  connectorId?: string | undefined;
910
740
  connectorVersion?: string | undefined;
911
- authOptions?: {
912
- key: string;
913
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
914
- description?: string | undefined;
915
- title?: string | undefined;
916
- ui?: {
917
- schema?: any;
918
- helpUri?: string | undefined;
919
- } | undefined;
920
- }[] | undefined;
921
741
  oAuthCallbackUri?: string | undefined;
922
742
  hasMissingParameters?: boolean | undefined;
923
743
  hasDocumentation?: boolean | undefined;
@@ -957,7 +777,6 @@ export declare const ActionApiResponse: z.ZodObject<{
957
777
  integration: {
958
778
  id: string;
959
779
  name: string;
960
- baseUri: string;
961
780
  logoUri: string;
962
781
  key?: string | undefined;
963
782
  uuid?: string | undefined;
@@ -970,20 +789,9 @@ export declare const ActionApiResponse: z.ZodObject<{
970
789
  updatedAt?: string | undefined;
971
790
  archivedAt?: string | undefined;
972
791
  parameters?: any;
973
- parametersSchema?: import("../..").DataSchema | undefined;
974
792
  isTest?: boolean | undefined;
975
793
  connectorId?: string | undefined;
976
794
  connectorVersion?: string | undefined;
977
- authOptions?: {
978
- key: string;
979
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
980
- description?: string | undefined;
981
- title?: string | undefined;
982
- ui?: {
983
- schema?: any;
984
- helpUri?: string | undefined;
985
- } | undefined;
986
- }[] | undefined;
987
795
  oAuthCallbackUri?: string | undefined;
988
796
  hasMissingParameters?: boolean | undefined;
989
797
  hasDocumentation?: boolean | undefined;