@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.
- package/dist/bundle.d.ts +160 -2153
- package/dist/dts/accessors/connections-accessors.d.ts +1 -15
- package/dist/dts/accessors/integrations-accessors.d.ts +1 -15
- package/dist/dts/workspace-elements/api/action-instances-api.d.ts +3 -3
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +5 -99
- package/dist/dts/workspace-elements/api/actions-api.d.ts +0 -192
- package/dist/dts/workspace-elements/api/connections-api.d.ts +291 -211
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +5 -99
- package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +5 -99
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +0 -192
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +5 -99
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +5 -99
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +5 -99
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +0 -108
- package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +12 -228
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +0 -192
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +12 -228
- package/dist/dts/workspace-elements/api/flows-api.d.ts +42 -530
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +109 -75
- package/dist/dts/workspace-elements/api/scenarios-api.d.ts +0 -84
- package/dist/dts/workspace-elements/base/action-instances/types.d.ts +3 -3
- package/dist/dts/workspace-elements/base/connections/types.d.ts +3 -9
- package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +4 -4
- package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/flows/types.d.ts +6 -6
- package/dist/dts/workspace-elements/base/integrations/types.d.ts +0 -407
- package/dist/dts/workspaces/types.d.ts +1 -1
- package/dist/index.d.ts +530 -3109
- package/dist/index.js +22 -18
- package/dist/index.js.map +1 -1
- package/dist/index.module.d.mts +530 -3109
- package/dist/index.module.mjs +22 -19
- package/dist/index.module.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3635,9 +3635,7 @@ const BaseConnection = BaseWorkspaceElement.extend({
|
|
|
3635
3635
|
isDefunct: zod.z.boolean().optional(),
|
|
3636
3636
|
error: ErrorDataSchema.optional(),
|
|
3637
3637
|
integrationId: zod.z.string(),
|
|
3638
|
-
|
|
3639
|
-
parameters: zod.z.unknown().optional(),
|
|
3640
|
-
connectorParameters: zod.z.unknown().optional(),
|
|
3638
|
+
authOptionKey: zod.z.string().optional(),
|
|
3641
3639
|
createdAt: zod.z.string(),
|
|
3642
3640
|
updatedAt: zod.z.string(),
|
|
3643
3641
|
lastActiveAt: zod.z.string().optional(),
|
|
@@ -8826,26 +8824,12 @@ const BaseFlow = BaseMembraneInterface.extend({
|
|
|
8826
8824
|
customized: zod.z.boolean().optional(),
|
|
8827
8825
|
});
|
|
8828
8826
|
|
|
8829
|
-
const IntegrationAuthUi = zod.z.object({
|
|
8830
|
-
schema: zod.z.any().optional(),
|
|
8831
|
-
helpUri: zod.z.string().optional(),
|
|
8832
|
-
});
|
|
8833
|
-
const IntegrationAuthOption = zod.z.object({
|
|
8834
|
-
key: zod.z.string(),
|
|
8835
|
-
type: zod.z.enum(CONNECTOR_AUTH_TYPES),
|
|
8836
|
-
title: zod.z.string().optional(),
|
|
8837
|
-
description: zod.z.string().optional(),
|
|
8838
|
-
ui: IntegrationAuthUi.optional(),
|
|
8839
|
-
});
|
|
8840
8827
|
const BaseIntegration = BaseMembraneInterface.extend({
|
|
8841
8828
|
logoUri: zod.z.string(),
|
|
8842
8829
|
connectorId: zod.z.string().optional(),
|
|
8843
8830
|
connectorVersion: zod.z.string().optional(),
|
|
8844
|
-
authOptions: zod.z.array(IntegrationAuthOption).optional(),
|
|
8845
8831
|
oAuthCallbackUri: zod.z.string().optional(),
|
|
8846
|
-
parametersSchema: DataSchema.optional(),
|
|
8847
8832
|
parameters: zod.z.any().optional(),
|
|
8848
|
-
baseUri: zod.z.string(),
|
|
8849
8833
|
archivedAt: zod.z.string().optional(),
|
|
8850
8834
|
hasMissingParameters: zod.z.boolean().optional(),
|
|
8851
8835
|
hasDocumentation: zod.z.boolean().optional(),
|
|
@@ -9078,7 +9062,7 @@ const BaseActionInstance = BaseMembraneInterface.extend({
|
|
|
9078
9062
|
universalParentId: zod.z.string().optional(),
|
|
9079
9063
|
userId: zod.z.string(),
|
|
9080
9064
|
instanceKey: zod.z.string().optional(),
|
|
9081
|
-
type: zod.z.nativeEnum(exports.ActionType),
|
|
9065
|
+
type: zod.z.nativeEnum(exports.ActionType).optional(),
|
|
9082
9066
|
inputSchema: zod.z.any().optional(),
|
|
9083
9067
|
config: zod.z.any().optional(),
|
|
9084
9068
|
outputSchema: zod.z.any().optional(),
|
|
@@ -9450,6 +9434,11 @@ const ConnectionApiResponse = BaseConnection.extend({
|
|
|
9450
9434
|
user: BaseCustomer.optional(),
|
|
9451
9435
|
integration: BaseIntegration.optional(),
|
|
9452
9436
|
});
|
|
9437
|
+
const ConnectionApiResponseWithSecrets = ConnectionApiResponse.extend({
|
|
9438
|
+
credentials: zod.z.unknown().optional(),
|
|
9439
|
+
parameters: zod.z.unknown().optional(),
|
|
9440
|
+
connectorParameters: zod.z.unknown().optional(),
|
|
9441
|
+
});
|
|
9453
9442
|
const ConnectionMessagePayload = zod.z.discriminatedUnion('type', [
|
|
9454
9443
|
zod.z.object({
|
|
9455
9444
|
source: zod.z.string(),
|
|
@@ -9907,9 +9896,22 @@ const OpenNewConnectionOptions = zod.z
|
|
|
9907
9896
|
connectorParameters: zod.z.any().optional(),
|
|
9908
9897
|
})
|
|
9909
9898
|
.merge(OpenConfigurationOptions);
|
|
9899
|
+
const IntegrationAuthUi = zod.z.object({
|
|
9900
|
+
schema: zod.z.any().optional(),
|
|
9901
|
+
helpUri: zod.z.string().optional(),
|
|
9902
|
+
});
|
|
9903
|
+
const IntegrationAuthOption = zod.z.object({
|
|
9904
|
+
key: zod.z.string(),
|
|
9905
|
+
type: zod.z.enum(CONNECTOR_AUTH_TYPES),
|
|
9906
|
+
title: zod.z.string().optional(),
|
|
9907
|
+
description: zod.z.string().optional(),
|
|
9908
|
+
ui: IntegrationAuthUi.optional(),
|
|
9909
|
+
});
|
|
9910
9910
|
const IntegrationApiResponse = BaseIntegration.extend({
|
|
9911
9911
|
connection: BaseConnection.optional(),
|
|
9912
9912
|
spec: zod.z.any().optional(),
|
|
9913
|
+
authOptions: zod.z.array(IntegrationAuthOption).optional(),
|
|
9914
|
+
parametersSchema: DataSchema.optional(),
|
|
9913
9915
|
});
|
|
9914
9916
|
|
|
9915
9917
|
exports.IntegrationElementLevel = void 0;
|
|
@@ -10905,6 +10907,7 @@ const PARALLEL_EXECUTION_LIMITS = [
|
|
|
10905
10907
|
'parallelEventLogs',
|
|
10906
10908
|
'parallelEventLogsPerConnection',
|
|
10907
10909
|
'parallelWriteDatabaseRequests',
|
|
10910
|
+
'parallelPathfinderAgentSessions',
|
|
10908
10911
|
];
|
|
10909
10912
|
const RATE_LIMITS = [
|
|
10910
10913
|
'fileUploadsMbPerHour',
|
|
@@ -12774,6 +12777,7 @@ exports.ConcurrencyError = ConcurrencyError;
|
|
|
12774
12777
|
exports.ConfigurationError = ConfigurationError;
|
|
12775
12778
|
exports.ConnectionAccessor = ConnectionAccessor;
|
|
12776
12779
|
exports.ConnectionApiResponse = ConnectionApiResponse;
|
|
12780
|
+
exports.ConnectionApiResponseWithSecrets = ConnectionApiResponseWithSecrets;
|
|
12777
12781
|
exports.ConnectionDataCollectionAccessor = ConnectionDataCollectionAccessor;
|
|
12778
12782
|
exports.ConnectionError = ConnectionError;
|
|
12779
12783
|
exports.ConnectionLevelActionAccessor = ConnectionLevelActionAccessor;
|