@membranehq/sdk 0.15.5 → 0.15.6
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 +46 -2
- package/dist/bundle.js +36 -0
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/connections-accessors.d.ts +1 -0
- package/dist/dts/accessors/integrations-accessors.d.ts +1 -0
- package/dist/dts/auth/auth-context-permissions.d.ts +59 -0
- package/dist/dts/auth/index.d.ts +1 -0
- package/dist/dts/orgs/types.d.ts +27 -0
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +10 -0
- package/dist/dts/workspace-elements/api/actions-api.d.ts +16 -0
- package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +2 -0
- package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +1 -0
- package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +2 -0
- package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +2 -0
- package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +1 -0
- package/dist/dts/workspace-elements/api/connections-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +1 -0
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +12 -0
- package/dist/dts/workspace-elements/api/external-api-logs-api.d.ts +1 -0
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +1 -0
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +1 -0
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +1 -0
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +1 -0
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +32 -10
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +4 -0
- package/dist/dts/workspace-elements/api/flows-api.d.ts +11 -0
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +2 -0
- package/dist/dts/workspace-elements/api/packages-api.d.ts +3 -0
- package/dist/dts/workspace-elements/base/action-instances/index.d.ts +2 -0
- package/dist/dts/workspace-elements/base/actions/index.d.ts +4 -0
- package/dist/dts/workspace-elements/base/app-data-schemas/index.d.ts +2 -0
- package/dist/dts/workspace-elements/base/app-event-subscriptions/index.d.ts +1 -0
- package/dist/dts/workspace-elements/base/app-event-types/index.d.ts +1 -0
- package/dist/dts/workspace-elements/base/connectors/index.d.ts +0 -4
- package/dist/dts/workspace-elements/base/data-link-tables/index.d.ts +2 -0
- package/dist/dts/workspace-elements/base/data-sources/index.d.ts +2 -0
- package/dist/dts/workspace-elements/base/field-mappings/index.d.ts +2 -0
- package/dist/dts/workspace-elements/base/flows/index.d.ts +2 -0
- package/dist/dts/workspace-elements/base/integrations/index.d.ts +2 -0
- package/dist/dts/workspace-elements/base/packages/index.d.ts +1 -0
- package/dist/dts/workspace-elements/types.d.ts +5 -0
- package/dist/index.browser.d.mts +212 -6
- package/dist/index.browser.d.ts +212 -6
- package/dist/index.browser.js +56 -4
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +54 -5
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +212 -6
- package/dist/index.node.d.ts +212 -6
- package/dist/index.node.js +56 -4
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +54 -5
- package/dist/index.node.mjs.map +1 -1
- package/package.json +1 -1
package/dist/bundle.d.ts
CHANGED
|
@@ -439,6 +439,7 @@ declare const ConnectionApiResponse: z.ZodObject<{
|
|
|
439
439
|
revision: z.ZodOptional<z.ZodString>;
|
|
440
440
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
441
441
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
442
|
+
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
442
443
|
logoUri: z.ZodString;
|
|
443
444
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
444
445
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
@@ -536,9 +537,11 @@ declare const ActionApiResponse: z.ZodObject<{
|
|
|
536
537
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
537
538
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
538
539
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
540
|
+
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
539
541
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
540
542
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
541
543
|
isPublic: z.ZodOptional<z.ZodBoolean>;
|
|
544
|
+
externalAppUuid: z.ZodOptional<z.ZodString>;
|
|
542
545
|
userId: z.ZodOptional<z.ZodString>;
|
|
543
546
|
tenantId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
544
547
|
integration: z.ZodOptional<z.ZodObject<{
|
|
@@ -553,6 +556,7 @@ declare const ActionApiResponse: z.ZodObject<{
|
|
|
553
556
|
revision: z.ZodOptional<z.ZodString>;
|
|
554
557
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
555
558
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
559
|
+
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
556
560
|
logoUri: z.ZodString;
|
|
557
561
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
558
562
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
@@ -625,10 +629,12 @@ declare const ActionApiResponse: z.ZodObject<{
|
|
|
625
629
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
626
630
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
627
631
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
632
|
+
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
628
633
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
629
634
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
630
635
|
outputSchema: z.ZodOptional<z.ZodAny>;
|
|
631
636
|
isPublic: z.ZodOptional<z.ZodBoolean>;
|
|
637
|
+
externalAppUuid: z.ZodOptional<z.ZodString>;
|
|
632
638
|
userId: z.ZodOptional<z.ZodString>;
|
|
633
639
|
tenantId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
634
640
|
}, z.core.$strip>>;
|
|
@@ -659,10 +665,12 @@ declare const ActionApiResponse: z.ZodObject<{
|
|
|
659
665
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
660
666
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
661
667
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
668
|
+
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
662
669
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
663
670
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
664
671
|
outputSchema: z.ZodOptional<z.ZodAny>;
|
|
665
672
|
isPublic: z.ZodOptional<z.ZodBoolean>;
|
|
673
|
+
externalAppUuid: z.ZodOptional<z.ZodString>;
|
|
666
674
|
userId: z.ZodOptional<z.ZodString>;
|
|
667
675
|
tenantId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
668
676
|
}, z.core.$strip>;
|
|
@@ -678,6 +686,7 @@ declare const ActionApiResponse: z.ZodObject<{
|
|
|
678
686
|
revision: z.ZodOptional<z.ZodString>;
|
|
679
687
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
680
688
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
689
|
+
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
681
690
|
logoUri: z.ZodString;
|
|
682
691
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
683
692
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
@@ -901,9 +910,7 @@ interface OperationRunResponse {
|
|
|
901
910
|
declare const ConnectorSpec: z.ZodObject<{
|
|
902
911
|
key: z.ZodOptional<z.ZodString>;
|
|
903
912
|
name: z.ZodOptional<z.ZodString>;
|
|
904
|
-
appUri: z.ZodOptional<z.ZodString>;
|
|
905
913
|
logoUri: z.ZodOptional<z.ZodString>;
|
|
906
|
-
apiDocsUri: z.ZodOptional<z.ZodString>;
|
|
907
914
|
api: z.ZodOptional<z.ZodObject<{
|
|
908
915
|
type: z.ZodEnum<{
|
|
909
916
|
openapi: "openapi";
|
|
@@ -3170,6 +3177,7 @@ declare const BaseDataLinkTable: z.ZodObject<{
|
|
|
3170
3177
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
3171
3178
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
3172
3179
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
3180
|
+
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
3173
3181
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
3174
3182
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
3175
3183
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3190,6 +3198,7 @@ declare const BaseAppEventType: z.ZodObject<{
|
|
|
3190
3198
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
3191
3199
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
3192
3200
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
3201
|
+
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
3193
3202
|
revision: z.ZodString;
|
|
3194
3203
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
3195
3204
|
webhookKey: z.ZodString;
|
|
@@ -3225,6 +3234,7 @@ declare const BaseAppDataSchema: z.ZodObject<{
|
|
|
3225
3234
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
3226
3235
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
3227
3236
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
3237
|
+
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
3228
3238
|
appDataSchemaRevision: z.ZodOptional<z.ZodString>;
|
|
3229
3239
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
3230
3240
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3344,6 +3354,7 @@ declare const FlowRunApiResponse: z.ZodObject<{
|
|
|
3344
3354
|
revision: z.ZodOptional<z.ZodString>;
|
|
3345
3355
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
3346
3356
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
3357
|
+
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
3347
3358
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
3348
3359
|
flowRevision: z.ZodOptional<z.ZodString>;
|
|
3349
3360
|
universalFlowRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -3396,6 +3407,7 @@ declare const FlowRunApiResponse: z.ZodObject<{
|
|
|
3396
3407
|
revision: z.ZodOptional<z.ZodString>;
|
|
3397
3408
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
3398
3409
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
3410
|
+
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
3399
3411
|
logoUri: z.ZodString;
|
|
3400
3412
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
3401
3413
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
@@ -3521,6 +3533,7 @@ declare const FindFlowRunsResponse: z.ZodObject<{
|
|
|
3521
3533
|
revision: z.ZodOptional<z.ZodString>;
|
|
3522
3534
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
3523
3535
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
3536
|
+
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
3524
3537
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
3525
3538
|
flowRevision: z.ZodOptional<z.ZodString>;
|
|
3526
3539
|
universalFlowRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -3573,6 +3586,7 @@ declare const FindFlowRunsResponse: z.ZodObject<{
|
|
|
3573
3586
|
revision: z.ZodOptional<z.ZodString>;
|
|
3574
3587
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
3575
3588
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
3589
|
+
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
3576
3590
|
logoUri: z.ZodString;
|
|
3577
3591
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
3578
3592
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
@@ -3674,6 +3688,7 @@ declare const FlowApiResponse: z.ZodObject<{
|
|
|
3674
3688
|
revision: z.ZodOptional<z.ZodString>;
|
|
3675
3689
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
3676
3690
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
3691
|
+
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
3677
3692
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
3678
3693
|
flowRevision: z.ZodOptional<z.ZodString>;
|
|
3679
3694
|
universalFlowRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -3699,6 +3714,7 @@ declare const FlowApiResponse: z.ZodObject<{
|
|
|
3699
3714
|
revision: z.ZodOptional<z.ZodString>;
|
|
3700
3715
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
3701
3716
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
3717
|
+
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
3702
3718
|
logoUri: z.ZodString;
|
|
3703
3719
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
3704
3720
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
@@ -3782,6 +3798,7 @@ declare const FlowApiResponse: z.ZodObject<{
|
|
|
3782
3798
|
revision: z.ZodOptional<z.ZodString>;
|
|
3783
3799
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
3784
3800
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
3801
|
+
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
3785
3802
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
3786
3803
|
flowRevision: z.ZodOptional<z.ZodString>;
|
|
3787
3804
|
universalFlowRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -3808,6 +3825,7 @@ declare const FlowApiResponse: z.ZodObject<{
|
|
|
3808
3825
|
revision: z.ZodOptional<z.ZodString>;
|
|
3809
3826
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
3810
3827
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
3828
|
+
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
3811
3829
|
logoUri: z.ZodString;
|
|
3812
3830
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
3813
3831
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
@@ -3931,6 +3949,7 @@ declare const FlowApiResponse: z.ZodObject<{
|
|
|
3931
3949
|
revision: z.ZodOptional<z.ZodString>;
|
|
3932
3950
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
3933
3951
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
3952
|
+
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
3934
3953
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
3935
3954
|
flowRevision: z.ZodOptional<z.ZodString>;
|
|
3936
3955
|
universalFlowRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -3965,6 +3984,7 @@ declare const FindFlowsQuery: z.ZodObject<{
|
|
|
3965
3984
|
}>>;
|
|
3966
3985
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
3967
3986
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
3987
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
3968
3988
|
flowId: z.ZodOptional<z.ZodString>;
|
|
3969
3989
|
universalFlowId: z.ZodOptional<z.ZodString>;
|
|
3970
3990
|
}, z.core.$strip>;
|
|
@@ -4124,6 +4144,7 @@ declare const DataSourceApiResponse: z.ZodObject<{
|
|
|
4124
4144
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
4125
4145
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
4126
4146
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
4147
|
+
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
4127
4148
|
dataSourceRevision: z.ZodOptional<z.ZodString>;
|
|
4128
4149
|
universalDataSourceRevision: z.ZodOptional<z.ZodString>;
|
|
4129
4150
|
defaultCollectionKey: z.ZodOptional<z.ZodString>;
|
|
@@ -4254,6 +4275,7 @@ declare const DataSourceApiResponse: z.ZodObject<{
|
|
|
4254
4275
|
revision: z.ZodOptional<z.ZodString>;
|
|
4255
4276
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
4256
4277
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
4278
|
+
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
4257
4279
|
logoUri: z.ZodString;
|
|
4258
4280
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
4259
4281
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
@@ -4313,6 +4335,7 @@ declare const DataSourceApiResponse: z.ZodObject<{
|
|
|
4313
4335
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
4314
4336
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
4315
4337
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
4338
|
+
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
4316
4339
|
dataSourceRevision: z.ZodOptional<z.ZodString>;
|
|
4317
4340
|
universalDataSourceRevision: z.ZodOptional<z.ZodString>;
|
|
4318
4341
|
defaultCollectionKey: z.ZodOptional<z.ZodString>;
|
|
@@ -4444,6 +4467,7 @@ declare const DataSourceApiResponse: z.ZodObject<{
|
|
|
4444
4467
|
revision: z.ZodOptional<z.ZodString>;
|
|
4445
4468
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
4446
4469
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
4470
|
+
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
4447
4471
|
logoUri: z.ZodString;
|
|
4448
4472
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
4449
4473
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
@@ -4543,6 +4567,7 @@ declare const DataSourceApiResponse: z.ZodObject<{
|
|
|
4543
4567
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
4544
4568
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
4545
4569
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
4570
|
+
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
4546
4571
|
dataSourceRevision: z.ZodOptional<z.ZodString>;
|
|
4547
4572
|
universalDataSourceRevision: z.ZodOptional<z.ZodString>;
|
|
4548
4573
|
defaultCollectionKey: z.ZodOptional<z.ZodString>;
|
|
@@ -4684,6 +4709,7 @@ declare const FindDataSourcesQuery: z.ZodObject<{
|
|
|
4684
4709
|
}>>;
|
|
4685
4710
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
4686
4711
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
4712
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
4687
4713
|
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
4688
4714
|
universalDataSourceId: z.ZodOptional<z.ZodString>;
|
|
4689
4715
|
}, z.core.$strip>;
|
|
@@ -4818,6 +4844,7 @@ declare const UpdateIntegrationRequest: z.ZodObject<{
|
|
|
4818
4844
|
}, z.core.$strip>;
|
|
4819
4845
|
type UpdateIntegrationRequest = z.infer<typeof UpdateIntegrationRequest>;
|
|
4820
4846
|
declare const FindIntegrationsQuery: z.ZodObject<{
|
|
4847
|
+
appUuid: z.ZodOptional<z.ZodString>;
|
|
4821
4848
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4822
4849
|
cursor: z.ZodOptional<z.ZodString>;
|
|
4823
4850
|
search: z.ZodOptional<z.ZodString>;
|
|
@@ -4840,6 +4867,7 @@ declare const IntegrationApiResponse: z.ZodObject<{
|
|
|
4840
4867
|
revision: z.ZodOptional<z.ZodString>;
|
|
4841
4868
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
4842
4869
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
4870
|
+
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
4843
4871
|
logoUri: z.ZodString;
|
|
4844
4872
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
4845
4873
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
@@ -4950,6 +4978,7 @@ declare const PackageApiResponse: z.ZodObject<{
|
|
|
4950
4978
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
4951
4979
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
4952
4980
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
4981
|
+
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
4953
4982
|
uuid: z.ZodOptional<z.ZodString>;
|
|
4954
4983
|
description: z.ZodOptional<z.ZodString>;
|
|
4955
4984
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -4984,6 +5013,7 @@ declare const PackageApiResponse: z.ZodObject<{
|
|
|
4984
5013
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
4985
5014
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
4986
5015
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
5016
|
+
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
4987
5017
|
uuid: z.ZodOptional<z.ZodString>;
|
|
4988
5018
|
description: z.ZodOptional<z.ZodString>;
|
|
4989
5019
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -5018,6 +5048,7 @@ declare const PackageApiResponse: z.ZodObject<{
|
|
|
5018
5048
|
revision: z.ZodOptional<z.ZodString>;
|
|
5019
5049
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
5020
5050
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
5051
|
+
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
5021
5052
|
logoUri: z.ZodString;
|
|
5022
5053
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
5023
5054
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
@@ -5174,6 +5205,7 @@ declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
5174
5205
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
5175
5206
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
5176
5207
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
5208
|
+
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
5177
5209
|
fieldMappingRevision: z.ZodOptional<z.ZodString>;
|
|
5178
5210
|
universalFieldMappingRevision: z.ZodOptional<z.ZodString>;
|
|
5179
5211
|
dataSourceInstanceId: z.ZodOptional<z.ZodString>;
|
|
@@ -5195,6 +5227,7 @@ declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
5195
5227
|
revision: z.ZodOptional<z.ZodString>;
|
|
5196
5228
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
5197
5229
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
5230
|
+
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
5198
5231
|
logoUri: z.ZodString;
|
|
5199
5232
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
5200
5233
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
@@ -5261,6 +5294,7 @@ declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
5261
5294
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
5262
5295
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
5263
5296
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
5297
|
+
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
5264
5298
|
fieldMappingRevision: z.ZodOptional<z.ZodString>;
|
|
5265
5299
|
universalFieldMappingRevision: z.ZodOptional<z.ZodString>;
|
|
5266
5300
|
dataSourceInstanceId: z.ZodOptional<z.ZodString>;
|
|
@@ -5283,6 +5317,7 @@ declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
5283
5317
|
revision: z.ZodOptional<z.ZodString>;
|
|
5284
5318
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
5285
5319
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
5320
|
+
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
5286
5321
|
logoUri: z.ZodString;
|
|
5287
5322
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
5288
5323
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
@@ -5389,6 +5424,7 @@ declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
5389
5424
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
5390
5425
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
5391
5426
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
5427
|
+
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
5392
5428
|
fieldMappingRevision: z.ZodOptional<z.ZodString>;
|
|
5393
5429
|
universalFieldMappingRevision: z.ZodOptional<z.ZodString>;
|
|
5394
5430
|
dataSourceInstanceId: z.ZodOptional<z.ZodString>;
|
|
@@ -5419,6 +5455,7 @@ declare const FindFieldMappingsQuery: z.ZodObject<{
|
|
|
5419
5455
|
}>>;
|
|
5420
5456
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
5421
5457
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
5458
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
5422
5459
|
fieldMappingId: z.ZodOptional<z.ZodString>;
|
|
5423
5460
|
universalFieldMappingId: z.ZodOptional<z.ZodString>;
|
|
5424
5461
|
}, z.core.$strip>;
|
|
@@ -5546,6 +5583,7 @@ declare const DataLinkTableApiResponse: z.ZodObject<{
|
|
|
5546
5583
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
5547
5584
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
5548
5585
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
5586
|
+
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
5549
5587
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
5550
5588
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
5551
5589
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5658,6 +5696,7 @@ declare const AppEventSubscriptionApiResponse: z.ZodObject<{
|
|
|
5658
5696
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
5659
5697
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
5660
5698
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
5699
|
+
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
5661
5700
|
revision: z.ZodString;
|
|
5662
5701
|
appEventTypeId: z.ZodString;
|
|
5663
5702
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
@@ -5687,6 +5726,7 @@ declare const AppEventSubscriptionApiResponse: z.ZodObject<{
|
|
|
5687
5726
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
5688
5727
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
5689
5728
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
5729
|
+
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
5690
5730
|
revision: z.ZodString;
|
|
5691
5731
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
5692
5732
|
webhookKey: z.ZodString;
|
|
@@ -5762,6 +5802,7 @@ declare const AppDataSchemaApiResponse: z.ZodObject<{
|
|
|
5762
5802
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
5763
5803
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
5764
5804
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
5805
|
+
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
5765
5806
|
appDataSchemaRevision: z.ZodOptional<z.ZodString>;
|
|
5766
5807
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
5767
5808
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5884,6 +5925,7 @@ declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
|
|
|
5884
5925
|
revision: z.ZodOptional<z.ZodString>;
|
|
5885
5926
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
5886
5927
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
5928
|
+
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
5887
5929
|
logoUri: z.ZodString;
|
|
5888
5930
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
5889
5931
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
@@ -6130,6 +6172,7 @@ declare class ConnectionAccessor {
|
|
|
6130
6172
|
revision?: string | undefined;
|
|
6131
6173
|
createdAt?: string | undefined;
|
|
6132
6174
|
updatedAt?: string | undefined;
|
|
6175
|
+
isReadOnly?: boolean | undefined;
|
|
6133
6176
|
connectorId?: string | undefined;
|
|
6134
6177
|
connectorVersion?: string | undefined;
|
|
6135
6178
|
oAuthCallbackUri?: string | undefined;
|
|
@@ -6353,6 +6396,7 @@ declare class IntegrationAccessor extends ElementAccessor<IntegrationApiResponse
|
|
|
6353
6396
|
revision?: string | undefined;
|
|
6354
6397
|
createdAt?: string | undefined;
|
|
6355
6398
|
updatedAt?: string | undefined;
|
|
6399
|
+
isReadOnly?: boolean | undefined;
|
|
6356
6400
|
connectorId?: string | undefined;
|
|
6357
6401
|
connectorVersion?: string | undefined;
|
|
6358
6402
|
oAuthCallbackUri?: string | undefined;
|
package/dist/bundle.js
CHANGED
|
@@ -22208,6 +22208,7 @@
|
|
|
22208
22208
|
updatedAt: string$1().optional(),
|
|
22209
22209
|
archivedAt: string$1().optional(),
|
|
22210
22210
|
isDeactivated: boolean$1().optional(),
|
|
22211
|
+
isReadOnly: boolean$1().optional(),
|
|
22211
22212
|
});
|
|
22212
22213
|
const BaseMembraneInterface = BaseWorkspaceElement.merge(BaseMembraneInterfaceEditableProperties).merge(BaseMembraneInterfaceReadOnlyProperties);
|
|
22213
22214
|
const BaseIntegrationLevelMembraneInterfaceEditableProperties = BaseMembraneInterfaceEditableProperties.extend({
|
|
@@ -22285,6 +22286,12 @@
|
|
|
22285
22286
|
isFlag: true,
|
|
22286
22287
|
}),
|
|
22287
22288
|
layer: MembraneElementLayer.optional(),
|
|
22289
|
+
externalAppId: string$1()
|
|
22290
|
+
.optional()
|
|
22291
|
+
.meta({
|
|
22292
|
+
filterTitle: 'External App',
|
|
22293
|
+
referenceElementType: WorkspaceElementType.App,
|
|
22294
|
+
}),
|
|
22288
22295
|
});
|
|
22289
22296
|
BaseMembraneInterface.merge(BaseIntegrationLevelMembraneInterfaceEditableProperties).merge(BaseIntegrationLevelMembraneInterfaceReadOnlyProperties);
|
|
22290
22297
|
const TenantLayerElement = object({
|
|
@@ -29119,6 +29126,35 @@
|
|
|
29119
29126
|
}
|
|
29120
29127
|
}
|
|
29121
29128
|
|
|
29129
|
+
const PlatformUserPermissionsSchema = object({
|
|
29130
|
+
isEngineAdmin: boolean$1(),
|
|
29131
|
+
isPlatformAdmin: boolean$1(),
|
|
29132
|
+
platformUserId: string$1().optional(),
|
|
29133
|
+
});
|
|
29134
|
+
const OrgPermissionsSchema = object({
|
|
29135
|
+
orgId: string$1(),
|
|
29136
|
+
role: _enum(['admin', 'member']).optional(),
|
|
29137
|
+
canRead: boolean$1(),
|
|
29138
|
+
canWrite: boolean$1(),
|
|
29139
|
+
});
|
|
29140
|
+
const WorkspacePermissionsSchema = object({
|
|
29141
|
+
workspaceId: string$1().optional(),
|
|
29142
|
+
isWorkspaceManager: boolean$1(),
|
|
29143
|
+
scopes: array(string$1()),
|
|
29144
|
+
});
|
|
29145
|
+
const TenantPermissionsSchema = object({
|
|
29146
|
+
tenantId: string$1().optional(),
|
|
29147
|
+
workspaceId: string$1().optional(),
|
|
29148
|
+
canRead: boolean$1(),
|
|
29149
|
+
canWrite: boolean$1(),
|
|
29150
|
+
});
|
|
29151
|
+
object({
|
|
29152
|
+
platformUser: PlatformUserPermissionsSchema,
|
|
29153
|
+
org: OrgPermissionsSchema.optional(),
|
|
29154
|
+
workspace: WorkspacePermissionsSchema.optional(),
|
|
29155
|
+
tenant: TenantPermissionsSchema.optional(),
|
|
29156
|
+
});
|
|
29157
|
+
|
|
29122
29158
|
class MembraneClient extends MembraneApiClient {
|
|
29123
29159
|
constructor(options) {
|
|
29124
29160
|
super(options);
|