@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
@@ -78,44 +78,8 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
78
78
  logoUri: z.ZodString;
79
79
  connectorId: z.ZodOptional<z.ZodString>;
80
80
  connectorVersion: z.ZodOptional<z.ZodString>;
81
- authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
82
- key: z.ZodString;
83
- type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
84
- title: z.ZodOptional<z.ZodString>;
85
- description: z.ZodOptional<z.ZodString>;
86
- ui: z.ZodOptional<z.ZodObject<{
87
- schema: z.ZodOptional<z.ZodAny>;
88
- helpUri: z.ZodOptional<z.ZodString>;
89
- }, "strip", z.ZodTypeAny, {
90
- schema?: any;
91
- helpUri?: string | undefined;
92
- }, {
93
- schema?: any;
94
- helpUri?: string | undefined;
95
- }>>;
96
- }, "strip", z.ZodTypeAny, {
97
- key: string;
98
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
99
- description?: string | undefined;
100
- title?: string | undefined;
101
- ui?: {
102
- schema?: any;
103
- helpUri?: string | undefined;
104
- } | undefined;
105
- }, {
106
- key: string;
107
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
108
- description?: string | undefined;
109
- title?: string | undefined;
110
- ui?: {
111
- schema?: any;
112
- helpUri?: string | undefined;
113
- } | undefined;
114
- }>, "many">>;
115
81
  oAuthCallbackUri: z.ZodOptional<z.ZodString>;
116
- parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
117
82
  parameters: z.ZodOptional<z.ZodAny>;
118
- baseUri: z.ZodString;
119
83
  archivedAt: z.ZodOptional<z.ZodString>;
120
84
  hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
121
85
  hasDocumentation: z.ZodOptional<z.ZodBoolean>;
@@ -134,7 +98,6 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
134
98
  }, "strip", z.ZodTypeAny, {
135
99
  id: string;
136
100
  name: string;
137
- baseUri: string;
138
101
  logoUri: string;
139
102
  key?: string | undefined;
140
103
  uuid?: string | undefined;
@@ -147,20 +110,9 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
147
110
  updatedAt?: string | undefined;
148
111
  archivedAt?: string | undefined;
149
112
  parameters?: any;
150
- parametersSchema?: DataSchema | undefined;
151
113
  isTest?: boolean | undefined;
152
114
  connectorId?: string | undefined;
153
115
  connectorVersion?: string | undefined;
154
- authOptions?: {
155
- key: string;
156
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
157
- description?: string | undefined;
158
- title?: string | undefined;
159
- ui?: {
160
- schema?: any;
161
- helpUri?: string | undefined;
162
- } | undefined;
163
- }[] | undefined;
164
116
  oAuthCallbackUri?: string | undefined;
165
117
  hasMissingParameters?: boolean | undefined;
166
118
  hasDocumentation?: boolean | undefined;
@@ -177,7 +129,6 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
177
129
  }, {
178
130
  id: string;
179
131
  name: string;
180
- baseUri: string;
181
132
  logoUri: string;
182
133
  key?: string | undefined;
183
134
  uuid?: string | undefined;
@@ -190,20 +141,9 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
190
141
  updatedAt?: string | undefined;
191
142
  archivedAt?: string | undefined;
192
143
  parameters?: any;
193
- parametersSchema?: DataSchema | undefined;
194
144
  isTest?: boolean | undefined;
195
145
  connectorId?: string | undefined;
196
146
  connectorVersion?: string | undefined;
197
- authOptions?: {
198
- key: string;
199
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
200
- description?: string | undefined;
201
- title?: string | undefined;
202
- ui?: {
203
- schema?: any;
204
- helpUri?: string | undefined;
205
- } | undefined;
206
- }[] | undefined;
207
147
  oAuthCallbackUri?: string | undefined;
208
148
  hasMissingParameters?: boolean | undefined;
209
149
  hasDocumentation?: boolean | undefined;
@@ -323,44 +263,8 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
323
263
  logoUri: z.ZodString;
324
264
  connectorId: z.ZodOptional<z.ZodString>;
325
265
  connectorVersion: z.ZodOptional<z.ZodString>;
326
- authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
327
- key: z.ZodString;
328
- type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
329
- title: z.ZodOptional<z.ZodString>;
330
- description: z.ZodOptional<z.ZodString>;
331
- ui: z.ZodOptional<z.ZodObject<{
332
- schema: z.ZodOptional<z.ZodAny>;
333
- helpUri: z.ZodOptional<z.ZodString>;
334
- }, "strip", z.ZodTypeAny, {
335
- schema?: any;
336
- helpUri?: string | undefined;
337
- }, {
338
- schema?: any;
339
- helpUri?: string | undefined;
340
- }>>;
341
- }, "strip", z.ZodTypeAny, {
342
- key: string;
343
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
344
- description?: string | undefined;
345
- title?: string | undefined;
346
- ui?: {
347
- schema?: any;
348
- helpUri?: string | undefined;
349
- } | undefined;
350
- }, {
351
- key: string;
352
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
353
- description?: string | undefined;
354
- title?: string | undefined;
355
- ui?: {
356
- schema?: any;
357
- helpUri?: string | undefined;
358
- } | undefined;
359
- }>, "many">>;
360
266
  oAuthCallbackUri: z.ZodOptional<z.ZodString>;
361
- parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
362
267
  parameters: z.ZodOptional<z.ZodAny>;
363
- baseUri: z.ZodString;
364
268
  archivedAt: z.ZodOptional<z.ZodString>;
365
269
  hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
366
270
  hasDocumentation: z.ZodOptional<z.ZodBoolean>;
@@ -379,7 +283,6 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
379
283
  }, "strip", z.ZodTypeAny, {
380
284
  id: string;
381
285
  name: string;
382
- baseUri: string;
383
286
  logoUri: string;
384
287
  key?: string | undefined;
385
288
  uuid?: string | undefined;
@@ -392,20 +295,9 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
392
295
  updatedAt?: string | undefined;
393
296
  archivedAt?: string | undefined;
394
297
  parameters?: any;
395
- parametersSchema?: DataSchema | undefined;
396
298
  isTest?: boolean | undefined;
397
299
  connectorId?: string | undefined;
398
300
  connectorVersion?: string | undefined;
399
- authOptions?: {
400
- key: string;
401
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
402
- description?: string | undefined;
403
- title?: string | undefined;
404
- ui?: {
405
- schema?: any;
406
- helpUri?: string | undefined;
407
- } | undefined;
408
- }[] | undefined;
409
301
  oAuthCallbackUri?: string | undefined;
410
302
  hasMissingParameters?: boolean | undefined;
411
303
  hasDocumentation?: boolean | undefined;
@@ -422,7 +314,6 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
422
314
  }, {
423
315
  id: string;
424
316
  name: string;
425
- baseUri: string;
426
317
  logoUri: string;
427
318
  key?: string | undefined;
428
319
  uuid?: string | undefined;
@@ -435,20 +326,9 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
435
326
  updatedAt?: string | undefined;
436
327
  archivedAt?: string | undefined;
437
328
  parameters?: any;
438
- parametersSchema?: DataSchema | undefined;
439
329
  isTest?: boolean | undefined;
440
330
  connectorId?: string | undefined;
441
331
  connectorVersion?: string | undefined;
442
- authOptions?: {
443
- key: string;
444
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
445
- description?: string | undefined;
446
- title?: string | undefined;
447
- ui?: {
448
- schema?: any;
449
- helpUri?: string | undefined;
450
- } | undefined;
451
- }[] | undefined;
452
332
  oAuthCallbackUri?: string | undefined;
453
333
  hasMissingParameters?: boolean | undefined;
454
334
  hasDocumentation?: boolean | undefined;
@@ -467,7 +347,6 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
467
347
  integration: {
468
348
  id: string;
469
349
  name: string;
470
- baseUri: string;
471
350
  logoUri: string;
472
351
  key?: string | undefined;
473
352
  uuid?: string | undefined;
@@ -480,20 +359,9 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
480
359
  updatedAt?: string | undefined;
481
360
  archivedAt?: string | undefined;
482
361
  parameters?: any;
483
- parametersSchema?: DataSchema | undefined;
484
362
  isTest?: boolean | undefined;
485
363
  connectorId?: string | undefined;
486
364
  connectorVersion?: string | undefined;
487
- authOptions?: {
488
- key: string;
489
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
490
- description?: string | undefined;
491
- title?: string | undefined;
492
- ui?: {
493
- schema?: any;
494
- helpUri?: string | undefined;
495
- } | undefined;
496
- }[] | undefined;
497
365
  oAuthCallbackUri?: string | undefined;
498
366
  hasMissingParameters?: boolean | undefined;
499
367
  hasDocumentation?: boolean | undefined;
@@ -542,7 +410,6 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
542
410
  integration: {
543
411
  id: string;
544
412
  name: string;
545
- baseUri: string;
546
413
  logoUri: string;
547
414
  key?: string | undefined;
548
415
  uuid?: string | undefined;
@@ -555,20 +422,9 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
555
422
  updatedAt?: string | undefined;
556
423
  archivedAt?: string | undefined;
557
424
  parameters?: any;
558
- parametersSchema?: DataSchema | undefined;
559
425
  isTest?: boolean | undefined;
560
426
  connectorId?: string | undefined;
561
427
  connectorVersion?: string | undefined;
562
- authOptions?: {
563
- key: string;
564
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
565
- description?: string | undefined;
566
- title?: string | undefined;
567
- ui?: {
568
- schema?: any;
569
- helpUri?: string | undefined;
570
- } | undefined;
571
- }[] | undefined;
572
428
  oAuthCallbackUri?: string | undefined;
573
429
  hasMissingParameters?: boolean | undefined;
574
430
  hasDocumentation?: boolean | undefined;
@@ -626,7 +482,6 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
626
482
  integration?: {
627
483
  id: string;
628
484
  name: string;
629
- baseUri: string;
630
485
  logoUri: string;
631
486
  key?: string | undefined;
632
487
  uuid?: string | undefined;
@@ -639,20 +494,9 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
639
494
  updatedAt?: string | undefined;
640
495
  archivedAt?: string | undefined;
641
496
  parameters?: any;
642
- parametersSchema?: DataSchema | undefined;
643
497
  isTest?: boolean | undefined;
644
498
  connectorId?: string | undefined;
645
499
  connectorVersion?: string | undefined;
646
- authOptions?: {
647
- key: string;
648
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
649
- description?: string | undefined;
650
- title?: string | undefined;
651
- ui?: {
652
- schema?: any;
653
- helpUri?: string | undefined;
654
- } | undefined;
655
- }[] | undefined;
656
500
  oAuthCallbackUri?: string | undefined;
657
501
  hasMissingParameters?: boolean | undefined;
658
502
  hasDocumentation?: boolean | undefined;
@@ -691,7 +535,6 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
691
535
  integration: {
692
536
  id: string;
693
537
  name: string;
694
- baseUri: string;
695
538
  logoUri: string;
696
539
  key?: string | undefined;
697
540
  uuid?: string | undefined;
@@ -704,20 +547,9 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
704
547
  updatedAt?: string | undefined;
705
548
  archivedAt?: string | undefined;
706
549
  parameters?: any;
707
- parametersSchema?: DataSchema | undefined;
708
550
  isTest?: boolean | undefined;
709
551
  connectorId?: string | undefined;
710
552
  connectorVersion?: string | undefined;
711
- authOptions?: {
712
- key: string;
713
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
714
- description?: string | undefined;
715
- title?: string | undefined;
716
- ui?: {
717
- schema?: any;
718
- helpUri?: string | undefined;
719
- } | undefined;
720
- }[] | undefined;
721
553
  oAuthCallbackUri?: string | undefined;
722
554
  hasMissingParameters?: boolean | undefined;
723
555
  hasDocumentation?: boolean | undefined;
@@ -775,7 +607,6 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
775
607
  integration?: {
776
608
  id: string;
777
609
  name: string;
778
- baseUri: string;
779
610
  logoUri: string;
780
611
  key?: string | undefined;
781
612
  uuid?: string | undefined;
@@ -788,20 +619,9 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
788
619
  updatedAt?: string | undefined;
789
620
  archivedAt?: string | undefined;
790
621
  parameters?: any;
791
- parametersSchema?: DataSchema | undefined;
792
622
  isTest?: boolean | undefined;
793
623
  connectorId?: string | undefined;
794
624
  connectorVersion?: string | undefined;
795
- authOptions?: {
796
- key: string;
797
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
798
- description?: string | undefined;
799
- title?: string | undefined;
800
- ui?: {
801
- schema?: any;
802
- helpUri?: string | undefined;
803
- } | undefined;
804
- }[] | undefined;
805
625
  oAuthCallbackUri?: string | undefined;
806
626
  hasMissingParameters?: boolean | undefined;
807
627
  hasDocumentation?: boolean | undefined;
@@ -840,7 +660,6 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
840
660
  integration: {
841
661
  id: string;
842
662
  name: string;
843
- baseUri: string;
844
663
  logoUri: string;
845
664
  key?: string | undefined;
846
665
  uuid?: string | undefined;
@@ -853,20 +672,9 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
853
672
  updatedAt?: string | undefined;
854
673
  archivedAt?: string | undefined;
855
674
  parameters?: any;
856
- parametersSchema?: DataSchema | undefined;
857
675
  isTest?: boolean | undefined;
858
676
  connectorId?: string | undefined;
859
677
  connectorVersion?: string | undefined;
860
- authOptions?: {
861
- key: string;
862
- type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
863
- description?: string | undefined;
864
- title?: string | undefined;
865
- ui?: {
866
- schema?: any;
867
- helpUri?: string | undefined;
868
- } | undefined;
869
- }[] | undefined;
870
678
  oAuthCallbackUri?: string | undefined;
871
679
  hasMissingParameters?: boolean | undefined;
872
680
  hasDocumentation?: boolean | undefined;