@membranehq/sdk 0.11.3 → 0.11.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 +2 -0
- package/dist/dts/orgs/types.d.ts +0 -15
- package/dist/dts/workspace-elements/api/customers-api.d.ts +1 -0
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +1 -0
- package/dist/dts/workspace-elements/api/external-apps-api.d.ts +1 -0
- package/dist/dts/workspace-elements-catalog/index.d.ts +3 -0
- package/dist/dts/workspaces/types.d.ts +0 -45
- package/dist/index.browser.d.mts +6 -60
- package/dist/index.browser.d.ts +6 -60
- package/dist/index.browser.js +81 -10
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +81 -10
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +6 -60
- package/dist/index.node.d.ts +6 -60
- package/dist/index.node.js +81 -10
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +81 -10
- package/dist/index.node.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.browser.mjs
CHANGED
|
@@ -10264,7 +10264,16 @@ const DataSourceInstanceApiResponse = BaseDataSourceInstance.extend({
|
|
|
10264
10264
|
|
|
10265
10265
|
const ListExternalAppsQuery = PaginationQuery.extend({
|
|
10266
10266
|
search: z.string().optional(),
|
|
10267
|
-
category: z
|
|
10267
|
+
category: z
|
|
10268
|
+
.string()
|
|
10269
|
+
.optional()
|
|
10270
|
+
.meta({ hidden: true }),
|
|
10271
|
+
isConnected: zodBooleanCoercion()
|
|
10272
|
+
.optional()
|
|
10273
|
+
.meta({
|
|
10274
|
+
filterTitle: 'Is Connected',
|
|
10275
|
+
isFlag: true,
|
|
10276
|
+
}),
|
|
10268
10277
|
});
|
|
10269
10278
|
|
|
10270
10279
|
const ExternalEvent = BaseExternalEvent.extend({
|
|
@@ -10405,7 +10414,18 @@ const UpdateCustomerRequest = z.object({
|
|
|
10405
10414
|
});
|
|
10406
10415
|
const FindCustomersQuery = z
|
|
10407
10416
|
.object({
|
|
10408
|
-
isTest: zodBooleanCoercion()
|
|
10417
|
+
isTest: zodBooleanCoercion()
|
|
10418
|
+
.optional()
|
|
10419
|
+
.meta({
|
|
10420
|
+
filterTitle: 'Is Test',
|
|
10421
|
+
isFlag: true,
|
|
10422
|
+
}),
|
|
10423
|
+
isActive: zodBooleanCoercion()
|
|
10424
|
+
.optional()
|
|
10425
|
+
.meta({
|
|
10426
|
+
filterTitle: 'Is Active',
|
|
10427
|
+
isFlag: true,
|
|
10428
|
+
}),
|
|
10409
10429
|
})
|
|
10410
10430
|
.merge(PaginationQuery)
|
|
10411
10431
|
.merge(SearchQuery);
|
|
@@ -10449,8 +10469,26 @@ const FindDataLinkTableInstancesQuery = PaginationQuery.extend({
|
|
|
10449
10469
|
hidden: true,
|
|
10450
10470
|
}),
|
|
10451
10471
|
dataLinkTableId: z.string().optional(),
|
|
10452
|
-
connectionId: z
|
|
10453
|
-
|
|
10472
|
+
connectionId: z
|
|
10473
|
+
.string()
|
|
10474
|
+
.optional()
|
|
10475
|
+
.meta({
|
|
10476
|
+
filterTitle: 'Connection',
|
|
10477
|
+
referenceElementType: WorkspaceElementType.Connection,
|
|
10478
|
+
}),
|
|
10479
|
+
integrationId: z
|
|
10480
|
+
.string()
|
|
10481
|
+
.optional()
|
|
10482
|
+
.meta({
|
|
10483
|
+
filterTitle: 'Integration',
|
|
10484
|
+
referenceElementType: WorkspaceElementType.Integration,
|
|
10485
|
+
}),
|
|
10486
|
+
instanceKey: z
|
|
10487
|
+
.string()
|
|
10488
|
+
.optional()
|
|
10489
|
+
.meta({
|
|
10490
|
+
filterTitle: 'Instance Key',
|
|
10491
|
+
}),
|
|
10454
10492
|
});
|
|
10455
10493
|
const FindDataLinksInTableQuery = PaginationQuery.extend({
|
|
10456
10494
|
direction: z.enum(DataLinkDirection).optional(),
|
|
@@ -10511,7 +10549,12 @@ const FindAppEventSubscriptionsQuery = PaginationQuery.merge(SearchQuery)
|
|
|
10511
10549
|
}),
|
|
10512
10550
|
appEventTypeId: z.string().optional(),
|
|
10513
10551
|
isSubscribed: zodBooleanCoercion().optional(),
|
|
10514
|
-
instanceKey: z
|
|
10552
|
+
instanceKey: z
|
|
10553
|
+
.string()
|
|
10554
|
+
.optional()
|
|
10555
|
+
.meta({
|
|
10556
|
+
filterTitle: 'Instance Key',
|
|
10557
|
+
}),
|
|
10515
10558
|
});
|
|
10516
10559
|
const AppEventSubscriptionApiResponse = BaseAppEventSubscription.extend({
|
|
10517
10560
|
appEventType: BaseAppEventType.optional(),
|
|
@@ -10533,7 +10576,12 @@ const FindAppDataSchemaInstancesQuery = PaginationQuery.extend({
|
|
|
10533
10576
|
hidden: true,
|
|
10534
10577
|
}),
|
|
10535
10578
|
appDataSchemaId: z.string().optional(),
|
|
10536
|
-
instanceKey: z
|
|
10579
|
+
instanceKey: z
|
|
10580
|
+
.string()
|
|
10581
|
+
.optional()
|
|
10582
|
+
.meta({
|
|
10583
|
+
filterTitle: 'Instance Key',
|
|
10584
|
+
}),
|
|
10537
10585
|
});
|
|
10538
10586
|
const AppDataSchemaInstanceApiResponse = BaseAppDataSchemaInstance.extend({
|
|
10539
10587
|
user: BaseCustomer.optional(),
|
|
@@ -10587,7 +10635,13 @@ const ListExternalEventSubscriptionsQuery = CommonListElementsQuery.extend({
|
|
|
10587
10635
|
userId: z.string().optional().meta({
|
|
10588
10636
|
hidden: true,
|
|
10589
10637
|
}),
|
|
10590
|
-
connectionId: z
|
|
10638
|
+
connectionId: z
|
|
10639
|
+
.string()
|
|
10640
|
+
.optional()
|
|
10641
|
+
.meta({
|
|
10642
|
+
filterTitle: 'Connection',
|
|
10643
|
+
referenceElementType: WorkspaceElementType.Connection,
|
|
10644
|
+
}),
|
|
10591
10645
|
integrationId: z
|
|
10592
10646
|
.string()
|
|
10593
10647
|
.optional()
|
|
@@ -10876,6 +10930,7 @@ const WorkspaceElementSpecs = {
|
|
|
10876
10930
|
apiPath: 'external-apps',
|
|
10877
10931
|
name: 'App',
|
|
10878
10932
|
namePlural: 'Apps',
|
|
10933
|
+
hasKey: true,
|
|
10879
10934
|
},
|
|
10880
10935
|
[WorkspaceElementType.Integration]: {
|
|
10881
10936
|
type: WorkspaceElementType.Integration,
|
|
@@ -10884,6 +10939,7 @@ const WorkspaceElementSpecs = {
|
|
|
10884
10939
|
namePlural: 'Integrations',
|
|
10885
10940
|
editablePropertiesSchema: IntegrationEditableProperties,
|
|
10886
10941
|
exportPropertiesSchema: IntegrationExportProperties,
|
|
10942
|
+
hasKey: true,
|
|
10887
10943
|
},
|
|
10888
10944
|
[WorkspaceElementType.Connector]: {
|
|
10889
10945
|
type: WorkspaceElementType.Connector,
|
|
@@ -10891,12 +10947,15 @@ const WorkspaceElementSpecs = {
|
|
|
10891
10947
|
name: 'Connector',
|
|
10892
10948
|
namePlural: 'Connectors',
|
|
10893
10949
|
exportPropertiesSchema: ConnectorExportProperties,
|
|
10950
|
+
hasKey: true,
|
|
10894
10951
|
},
|
|
10895
10952
|
[WorkspaceElementType.Connection]: {
|
|
10896
10953
|
type: WorkspaceElementType.Connection,
|
|
10897
10954
|
apiPath: 'connections',
|
|
10898
10955
|
name: 'Connection',
|
|
10899
10956
|
namePlural: 'Connections',
|
|
10957
|
+
hasKey: false,
|
|
10958
|
+
hasUuid: false,
|
|
10900
10959
|
},
|
|
10901
10960
|
[WorkspaceElementType.Package]: {
|
|
10902
10961
|
type: WorkspaceElementType.Package,
|
|
@@ -10909,6 +10968,8 @@ const WorkspaceElementSpecs = {
|
|
|
10909
10968
|
findQuerySchema: FindPackagesQuery,
|
|
10910
10969
|
isMembraneInterface: true,
|
|
10911
10970
|
isIntegrationLevel: true,
|
|
10971
|
+
hasKey: true,
|
|
10972
|
+
hasParentChildRelationship: true,
|
|
10912
10973
|
},
|
|
10913
10974
|
[WorkspaceElementType.ActionInstance]: {
|
|
10914
10975
|
type: WorkspaceElementType.ActionInstance,
|
|
@@ -10922,6 +10983,7 @@ const WorkspaceElementSpecs = {
|
|
|
10922
10983
|
apiPath: 'actions',
|
|
10923
10984
|
name: 'Action',
|
|
10924
10985
|
namePlural: 'Actions',
|
|
10986
|
+
parentFieldKey: 'parentId',
|
|
10925
10987
|
editablePropertiesSchema: ActionEditableProperties,
|
|
10926
10988
|
exportPropertiesSchema: ActionExportProperties,
|
|
10927
10989
|
apiResponseSchema: ActionApiResponse,
|
|
@@ -10929,6 +10991,8 @@ const WorkspaceElementSpecs = {
|
|
|
10929
10991
|
isMembraneInterface: true,
|
|
10930
10992
|
isIntegrationLevel: true,
|
|
10931
10993
|
canBeAddedToPackage: true,
|
|
10994
|
+
hasParentChildRelationship: true,
|
|
10995
|
+
hasKey: true,
|
|
10932
10996
|
},
|
|
10933
10997
|
[WorkspaceElementType.ActionRunLogRecord]: {
|
|
10934
10998
|
type: WorkspaceElementType.ActionRunLogRecord,
|
|
@@ -10949,6 +11013,8 @@ const WorkspaceElementSpecs = {
|
|
|
10949
11013
|
isMembraneInterface: true,
|
|
10950
11014
|
isIntegrationLevel: true,
|
|
10951
11015
|
canBeAddedToPackage: true,
|
|
11016
|
+
hasParentChildRelationship: true,
|
|
11017
|
+
hasKey: true,
|
|
10952
11018
|
},
|
|
10953
11019
|
[WorkspaceElementType.FlowInstance]: {
|
|
10954
11020
|
type: WorkspaceElementType.FlowInstance,
|
|
@@ -10980,6 +11046,8 @@ const WorkspaceElementSpecs = {
|
|
|
10980
11046
|
isMembraneInterface: true,
|
|
10981
11047
|
isIntegrationLevel: true,
|
|
10982
11048
|
canBeAddedToPackage: true,
|
|
11049
|
+
hasParentChildRelationship: true,
|
|
11050
|
+
hasKey: true,
|
|
10983
11051
|
},
|
|
10984
11052
|
[WorkspaceElementType.FieldMappingInstance]: {
|
|
10985
11053
|
type: WorkspaceElementType.FieldMappingInstance,
|
|
@@ -11004,6 +11072,8 @@ const WorkspaceElementSpecs = {
|
|
|
11004
11072
|
isMembraneInterface: true,
|
|
11005
11073
|
isIntegrationLevel: true,
|
|
11006
11074
|
canBeAddedToPackage: true,
|
|
11075
|
+
hasParentChildRelationship: true,
|
|
11076
|
+
hasKey: true,
|
|
11007
11077
|
},
|
|
11008
11078
|
[WorkspaceElementType.DataSourceInstance]: {
|
|
11009
11079
|
type: WorkspaceElementType.DataSourceInstance,
|
|
@@ -11025,6 +11095,7 @@ const WorkspaceElementSpecs = {
|
|
|
11025
11095
|
findQuerySchema: FindDataLinkTablesQuery,
|
|
11026
11096
|
isMembraneInterface: true,
|
|
11027
11097
|
canBeAddedToPackage: true,
|
|
11098
|
+
hasKey: true,
|
|
11028
11099
|
},
|
|
11029
11100
|
[WorkspaceElementType.DataLinkTableInstance]: {
|
|
11030
11101
|
type: WorkspaceElementType.DataLinkTableInstance,
|
|
@@ -11043,6 +11114,7 @@ const WorkspaceElementSpecs = {
|
|
|
11043
11114
|
exportPropertiesSchema: AppEventTypeExportProperties,
|
|
11044
11115
|
editablePropertiesSchema: AppEventTypeEditableProperties,
|
|
11045
11116
|
canBeAddedToPackage: true,
|
|
11117
|
+
hasKey: true,
|
|
11046
11118
|
},
|
|
11047
11119
|
[WorkspaceElementType.AppEventSubscription]: {
|
|
11048
11120
|
type: WorkspaceElementType.AppEventSubscription,
|
|
@@ -11066,6 +11138,7 @@ const WorkspaceElementSpecs = {
|
|
|
11066
11138
|
exportPropertiesSchema: AppDataSchemaExportProperties,
|
|
11067
11139
|
editablePropertiesSchema: AppDataSchemaEditableProperties,
|
|
11068
11140
|
canBeAddedToPackage: true,
|
|
11141
|
+
hasKey: true,
|
|
11069
11142
|
},
|
|
11070
11143
|
[WorkspaceElementType.AppDataSchemaInstance]: {
|
|
11071
11144
|
type: WorkspaceElementType.AppDataSchemaInstance,
|
|
@@ -11100,6 +11173,7 @@ const WorkspaceElementSpecs = {
|
|
|
11100
11173
|
name: 'Screen',
|
|
11101
11174
|
namePlural: 'Screens',
|
|
11102
11175
|
isMembraneInterface: true,
|
|
11176
|
+
hasKey: true,
|
|
11103
11177
|
},
|
|
11104
11178
|
};
|
|
11105
11179
|
|
|
@@ -11862,9 +11936,6 @@ const WorkspaceLimitsSchema = z$1.object({
|
|
|
11862
11936
|
webhookRequestsPerCustomerPerSecond: WorkspaceLimit.optional(),
|
|
11863
11937
|
webhookRequestsPerCustomerPerHour: WorkspaceLimit.optional(),
|
|
11864
11938
|
externalEventsPerCustomerPerDay: WorkspaceLimit.optional(),
|
|
11865
|
-
createDatabaseRequestsPerCustomerPerSecond: WorkspaceLimit.optional(),
|
|
11866
|
-
updateDatabaseRequestsPerCustomerPerSecond: WorkspaceLimit.optional(),
|
|
11867
|
-
parallelWriteDatabaseRequestsPerCustomer: WorkspaceLimit.optional(),
|
|
11868
11939
|
});
|
|
11869
11940
|
const WorkspaceSettingsSchema = z$1.object({
|
|
11870
11941
|
enableApiLogs: z$1.boolean().optional(),
|