@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.node.mjs
CHANGED
|
@@ -10267,7 +10267,16 @@ const DataSourceInstanceApiResponse = BaseDataSourceInstance.extend({
|
|
|
10267
10267
|
|
|
10268
10268
|
const ListExternalAppsQuery = PaginationQuery.extend({
|
|
10269
10269
|
search: z.string().optional(),
|
|
10270
|
-
category: z
|
|
10270
|
+
category: z
|
|
10271
|
+
.string()
|
|
10272
|
+
.optional()
|
|
10273
|
+
.meta({ hidden: true }),
|
|
10274
|
+
isConnected: zodBooleanCoercion()
|
|
10275
|
+
.optional()
|
|
10276
|
+
.meta({
|
|
10277
|
+
filterTitle: 'Is Connected',
|
|
10278
|
+
isFlag: true,
|
|
10279
|
+
}),
|
|
10271
10280
|
});
|
|
10272
10281
|
|
|
10273
10282
|
const ExternalEvent = BaseExternalEvent.extend({
|
|
@@ -10408,7 +10417,18 @@ const UpdateCustomerRequest = z.object({
|
|
|
10408
10417
|
});
|
|
10409
10418
|
const FindCustomersQuery = z
|
|
10410
10419
|
.object({
|
|
10411
|
-
isTest: zodBooleanCoercion()
|
|
10420
|
+
isTest: zodBooleanCoercion()
|
|
10421
|
+
.optional()
|
|
10422
|
+
.meta({
|
|
10423
|
+
filterTitle: 'Is Test',
|
|
10424
|
+
isFlag: true,
|
|
10425
|
+
}),
|
|
10426
|
+
isActive: zodBooleanCoercion()
|
|
10427
|
+
.optional()
|
|
10428
|
+
.meta({
|
|
10429
|
+
filterTitle: 'Is Active',
|
|
10430
|
+
isFlag: true,
|
|
10431
|
+
}),
|
|
10412
10432
|
})
|
|
10413
10433
|
.merge(PaginationQuery)
|
|
10414
10434
|
.merge(SearchQuery);
|
|
@@ -10452,8 +10472,26 @@ const FindDataLinkTableInstancesQuery = PaginationQuery.extend({
|
|
|
10452
10472
|
hidden: true,
|
|
10453
10473
|
}),
|
|
10454
10474
|
dataLinkTableId: z.string().optional(),
|
|
10455
|
-
connectionId: z
|
|
10456
|
-
|
|
10475
|
+
connectionId: z
|
|
10476
|
+
.string()
|
|
10477
|
+
.optional()
|
|
10478
|
+
.meta({
|
|
10479
|
+
filterTitle: 'Connection',
|
|
10480
|
+
referenceElementType: WorkspaceElementType.Connection,
|
|
10481
|
+
}),
|
|
10482
|
+
integrationId: z
|
|
10483
|
+
.string()
|
|
10484
|
+
.optional()
|
|
10485
|
+
.meta({
|
|
10486
|
+
filterTitle: 'Integration',
|
|
10487
|
+
referenceElementType: WorkspaceElementType.Integration,
|
|
10488
|
+
}),
|
|
10489
|
+
instanceKey: z
|
|
10490
|
+
.string()
|
|
10491
|
+
.optional()
|
|
10492
|
+
.meta({
|
|
10493
|
+
filterTitle: 'Instance Key',
|
|
10494
|
+
}),
|
|
10457
10495
|
});
|
|
10458
10496
|
const FindDataLinksInTableQuery = PaginationQuery.extend({
|
|
10459
10497
|
direction: z.enum(DataLinkDirection).optional(),
|
|
@@ -10514,7 +10552,12 @@ const FindAppEventSubscriptionsQuery = PaginationQuery.merge(SearchQuery)
|
|
|
10514
10552
|
}),
|
|
10515
10553
|
appEventTypeId: z.string().optional(),
|
|
10516
10554
|
isSubscribed: zodBooleanCoercion().optional(),
|
|
10517
|
-
instanceKey: z
|
|
10555
|
+
instanceKey: z
|
|
10556
|
+
.string()
|
|
10557
|
+
.optional()
|
|
10558
|
+
.meta({
|
|
10559
|
+
filterTitle: 'Instance Key',
|
|
10560
|
+
}),
|
|
10518
10561
|
});
|
|
10519
10562
|
const AppEventSubscriptionApiResponse = BaseAppEventSubscription.extend({
|
|
10520
10563
|
appEventType: BaseAppEventType.optional(),
|
|
@@ -10536,7 +10579,12 @@ const FindAppDataSchemaInstancesQuery = PaginationQuery.extend({
|
|
|
10536
10579
|
hidden: true,
|
|
10537
10580
|
}),
|
|
10538
10581
|
appDataSchemaId: z.string().optional(),
|
|
10539
|
-
instanceKey: z
|
|
10582
|
+
instanceKey: z
|
|
10583
|
+
.string()
|
|
10584
|
+
.optional()
|
|
10585
|
+
.meta({
|
|
10586
|
+
filterTitle: 'Instance Key',
|
|
10587
|
+
}),
|
|
10540
10588
|
});
|
|
10541
10589
|
const AppDataSchemaInstanceApiResponse = BaseAppDataSchemaInstance.extend({
|
|
10542
10590
|
user: BaseCustomer.optional(),
|
|
@@ -10590,7 +10638,13 @@ const ListExternalEventSubscriptionsQuery = CommonListElementsQuery.extend({
|
|
|
10590
10638
|
userId: z.string().optional().meta({
|
|
10591
10639
|
hidden: true,
|
|
10592
10640
|
}),
|
|
10593
|
-
connectionId: z
|
|
10641
|
+
connectionId: z
|
|
10642
|
+
.string()
|
|
10643
|
+
.optional()
|
|
10644
|
+
.meta({
|
|
10645
|
+
filterTitle: 'Connection',
|
|
10646
|
+
referenceElementType: WorkspaceElementType.Connection,
|
|
10647
|
+
}),
|
|
10594
10648
|
integrationId: z
|
|
10595
10649
|
.string()
|
|
10596
10650
|
.optional()
|
|
@@ -10879,6 +10933,7 @@ const WorkspaceElementSpecs = {
|
|
|
10879
10933
|
apiPath: 'external-apps',
|
|
10880
10934
|
name: 'App',
|
|
10881
10935
|
namePlural: 'Apps',
|
|
10936
|
+
hasKey: true,
|
|
10882
10937
|
},
|
|
10883
10938
|
[WorkspaceElementType.Integration]: {
|
|
10884
10939
|
type: WorkspaceElementType.Integration,
|
|
@@ -10887,6 +10942,7 @@ const WorkspaceElementSpecs = {
|
|
|
10887
10942
|
namePlural: 'Integrations',
|
|
10888
10943
|
editablePropertiesSchema: IntegrationEditableProperties,
|
|
10889
10944
|
exportPropertiesSchema: IntegrationExportProperties,
|
|
10945
|
+
hasKey: true,
|
|
10890
10946
|
},
|
|
10891
10947
|
[WorkspaceElementType.Connector]: {
|
|
10892
10948
|
type: WorkspaceElementType.Connector,
|
|
@@ -10894,12 +10950,15 @@ const WorkspaceElementSpecs = {
|
|
|
10894
10950
|
name: 'Connector',
|
|
10895
10951
|
namePlural: 'Connectors',
|
|
10896
10952
|
exportPropertiesSchema: ConnectorExportProperties,
|
|
10953
|
+
hasKey: true,
|
|
10897
10954
|
},
|
|
10898
10955
|
[WorkspaceElementType.Connection]: {
|
|
10899
10956
|
type: WorkspaceElementType.Connection,
|
|
10900
10957
|
apiPath: 'connections',
|
|
10901
10958
|
name: 'Connection',
|
|
10902
10959
|
namePlural: 'Connections',
|
|
10960
|
+
hasKey: false,
|
|
10961
|
+
hasUuid: false,
|
|
10903
10962
|
},
|
|
10904
10963
|
[WorkspaceElementType.Package]: {
|
|
10905
10964
|
type: WorkspaceElementType.Package,
|
|
@@ -10912,6 +10971,8 @@ const WorkspaceElementSpecs = {
|
|
|
10912
10971
|
findQuerySchema: FindPackagesQuery,
|
|
10913
10972
|
isMembraneInterface: true,
|
|
10914
10973
|
isIntegrationLevel: true,
|
|
10974
|
+
hasKey: true,
|
|
10975
|
+
hasParentChildRelationship: true,
|
|
10915
10976
|
},
|
|
10916
10977
|
[WorkspaceElementType.ActionInstance]: {
|
|
10917
10978
|
type: WorkspaceElementType.ActionInstance,
|
|
@@ -10925,6 +10986,7 @@ const WorkspaceElementSpecs = {
|
|
|
10925
10986
|
apiPath: 'actions',
|
|
10926
10987
|
name: 'Action',
|
|
10927
10988
|
namePlural: 'Actions',
|
|
10989
|
+
parentFieldKey: 'parentId',
|
|
10928
10990
|
editablePropertiesSchema: ActionEditableProperties,
|
|
10929
10991
|
exportPropertiesSchema: ActionExportProperties,
|
|
10930
10992
|
apiResponseSchema: ActionApiResponse,
|
|
@@ -10932,6 +10994,8 @@ const WorkspaceElementSpecs = {
|
|
|
10932
10994
|
isMembraneInterface: true,
|
|
10933
10995
|
isIntegrationLevel: true,
|
|
10934
10996
|
canBeAddedToPackage: true,
|
|
10997
|
+
hasParentChildRelationship: true,
|
|
10998
|
+
hasKey: true,
|
|
10935
10999
|
},
|
|
10936
11000
|
[WorkspaceElementType.ActionRunLogRecord]: {
|
|
10937
11001
|
type: WorkspaceElementType.ActionRunLogRecord,
|
|
@@ -10952,6 +11016,8 @@ const WorkspaceElementSpecs = {
|
|
|
10952
11016
|
isMembraneInterface: true,
|
|
10953
11017
|
isIntegrationLevel: true,
|
|
10954
11018
|
canBeAddedToPackage: true,
|
|
11019
|
+
hasParentChildRelationship: true,
|
|
11020
|
+
hasKey: true,
|
|
10955
11021
|
},
|
|
10956
11022
|
[WorkspaceElementType.FlowInstance]: {
|
|
10957
11023
|
type: WorkspaceElementType.FlowInstance,
|
|
@@ -10983,6 +11049,8 @@ const WorkspaceElementSpecs = {
|
|
|
10983
11049
|
isMembraneInterface: true,
|
|
10984
11050
|
isIntegrationLevel: true,
|
|
10985
11051
|
canBeAddedToPackage: true,
|
|
11052
|
+
hasParentChildRelationship: true,
|
|
11053
|
+
hasKey: true,
|
|
10986
11054
|
},
|
|
10987
11055
|
[WorkspaceElementType.FieldMappingInstance]: {
|
|
10988
11056
|
type: WorkspaceElementType.FieldMappingInstance,
|
|
@@ -11007,6 +11075,8 @@ const WorkspaceElementSpecs = {
|
|
|
11007
11075
|
isMembraneInterface: true,
|
|
11008
11076
|
isIntegrationLevel: true,
|
|
11009
11077
|
canBeAddedToPackage: true,
|
|
11078
|
+
hasParentChildRelationship: true,
|
|
11079
|
+
hasKey: true,
|
|
11010
11080
|
},
|
|
11011
11081
|
[WorkspaceElementType.DataSourceInstance]: {
|
|
11012
11082
|
type: WorkspaceElementType.DataSourceInstance,
|
|
@@ -11028,6 +11098,7 @@ const WorkspaceElementSpecs = {
|
|
|
11028
11098
|
findQuerySchema: FindDataLinkTablesQuery,
|
|
11029
11099
|
isMembraneInterface: true,
|
|
11030
11100
|
canBeAddedToPackage: true,
|
|
11101
|
+
hasKey: true,
|
|
11031
11102
|
},
|
|
11032
11103
|
[WorkspaceElementType.DataLinkTableInstance]: {
|
|
11033
11104
|
type: WorkspaceElementType.DataLinkTableInstance,
|
|
@@ -11046,6 +11117,7 @@ const WorkspaceElementSpecs = {
|
|
|
11046
11117
|
exportPropertiesSchema: AppEventTypeExportProperties,
|
|
11047
11118
|
editablePropertiesSchema: AppEventTypeEditableProperties,
|
|
11048
11119
|
canBeAddedToPackage: true,
|
|
11120
|
+
hasKey: true,
|
|
11049
11121
|
},
|
|
11050
11122
|
[WorkspaceElementType.AppEventSubscription]: {
|
|
11051
11123
|
type: WorkspaceElementType.AppEventSubscription,
|
|
@@ -11069,6 +11141,7 @@ const WorkspaceElementSpecs = {
|
|
|
11069
11141
|
exportPropertiesSchema: AppDataSchemaExportProperties,
|
|
11070
11142
|
editablePropertiesSchema: AppDataSchemaEditableProperties,
|
|
11071
11143
|
canBeAddedToPackage: true,
|
|
11144
|
+
hasKey: true,
|
|
11072
11145
|
},
|
|
11073
11146
|
[WorkspaceElementType.AppDataSchemaInstance]: {
|
|
11074
11147
|
type: WorkspaceElementType.AppDataSchemaInstance,
|
|
@@ -11103,6 +11176,7 @@ const WorkspaceElementSpecs = {
|
|
|
11103
11176
|
name: 'Screen',
|
|
11104
11177
|
namePlural: 'Screens',
|
|
11105
11178
|
isMembraneInterface: true,
|
|
11179
|
+
hasKey: true,
|
|
11106
11180
|
},
|
|
11107
11181
|
};
|
|
11108
11182
|
|
|
@@ -11865,9 +11939,6 @@ const WorkspaceLimitsSchema = z$1.object({
|
|
|
11865
11939
|
webhookRequestsPerCustomerPerSecond: WorkspaceLimit.optional(),
|
|
11866
11940
|
webhookRequestsPerCustomerPerHour: WorkspaceLimit.optional(),
|
|
11867
11941
|
externalEventsPerCustomerPerDay: WorkspaceLimit.optional(),
|
|
11868
|
-
createDatabaseRequestsPerCustomerPerSecond: WorkspaceLimit.optional(),
|
|
11869
|
-
updateDatabaseRequestsPerCustomerPerSecond: WorkspaceLimit.optional(),
|
|
11870
|
-
parallelWriteDatabaseRequestsPerCustomer: WorkspaceLimit.optional(),
|
|
11871
11942
|
});
|
|
11872
11943
|
const WorkspaceSettingsSchema = z$1.object({
|
|
11873
11944
|
enableApiLogs: z$1.boolean().optional(),
|