@membranehq/sdk 0.8.4 → 0.8.5
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 +305 -290
- package/dist/bundle.js +121 -103
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/action-instances-accessors.d.ts +1 -16
- package/dist/dts/accessors/actions-accessors.d.ts +26 -7
- package/dist/dts/accessors/actions-accessors.test.d.ts +1 -0
- package/dist/dts/accessors/connections-accessors.d.ts +5 -5
- package/dist/dts/accessors/integrations-accessors.d.ts +5 -5
- package/dist/dts/alerts/types.d.ts +2 -1
- package/dist/dts/entity-repository.d.ts +0 -1
- package/dist/dts/formulas/dataSchemaRef.d.ts +3 -3
- package/dist/dts/index.browser.d.ts +2 -1
- package/dist/dts/orgs/types.d.ts +5 -4
- package/dist/dts/usage/types.d.ts +4 -2
- package/dist/dts/validation/types.d.ts +2 -0
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +11 -11
- package/dist/dts/workspace-elements/api/actions-api.d.ts +57 -55
- package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +5 -5
- package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +2 -2
- package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +9 -8
- package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +9 -8
- package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +3 -2
- package/dist/dts/workspace-elements/api/connections-api.d.ts +3 -3
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +7 -7
- package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +2 -2
- package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +9 -8
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +10 -6
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +8 -7
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +8 -7
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +7 -6
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +8 -6
- package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +20 -19
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +14 -14
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +14 -14
- package/dist/dts/workspace-elements/api/flows-api.d.ts +39 -27
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +3 -3
- package/dist/dts/workspace-elements/api/packages-api.d.ts +30 -18
- package/dist/dts/workspace-elements/base/action-instances/types.d.ts +7 -7
- package/dist/dts/workspace-elements/base/actions/index.d.ts +30 -14
- package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +1 -1
- package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +3 -2
- package/dist/dts/workspace-elements/base/connectors/types.d.ts +2 -0
- package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +3 -3
- package/dist/dts/workspace-elements/base/data-sources/index.d.ts +22 -3
- package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +6 -4
- package/dist/dts/workspace-elements/base/external-events/types.d.ts +6 -4
- package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +1 -1
- package/dist/dts/workspace-elements/base/field-mappings/index.d.ts +23 -3
- package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +1 -1
- package/dist/dts/workspace-elements/base/flows/index.d.ts +45 -3
- package/dist/dts/workspace-elements/base/integrations/types.d.ts +18 -4
- package/dist/dts/workspace-elements/base/packages/index.d.ts +35 -8
- package/dist/dts/workspace-elements/paths.d.ts +8 -0
- package/dist/dts/workspace-elements/paths.test.d.ts +1 -0
- package/dist/dts/workspace-elements/types.d.ts +21 -9
- package/dist/dts/workspace-elements-catalog/index.d.ts +1 -0
- package/dist/dts/workspaces/types.d.ts +0 -1
- package/dist/index.browser.d.mts +8742 -8687
- package/dist/index.browser.d.ts +8742 -8687
- package/dist/index.browser.js +234 -265
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +224 -265
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +8766 -8711
- package/dist/index.node.d.ts +8766 -8711
- package/dist/index.node.js +234 -265
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +224 -265
- package/dist/index.node.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/dts/connector-copilot/types.d.ts +0 -160
- package/dist/dts/index.d.ts +0 -34
- /package/dist/dts/{connector-copilot → validation}/index.d.ts +0 -0
package/dist/index.node.mjs
CHANGED
|
@@ -3386,6 +3386,7 @@ const zodBooleanCoercion = () => z.preprocess((val) => {
|
|
|
3386
3386
|
return Boolean(val);
|
|
3387
3387
|
return Boolean(val);
|
|
3388
3388
|
}, z.boolean());
|
|
3389
|
+
|
|
3389
3390
|
const IncludeArchivedQuery = z.object({
|
|
3390
3391
|
includeArchived: zodBooleanCoercion().optional(),
|
|
3391
3392
|
});
|
|
@@ -3440,7 +3441,6 @@ var WorkspaceElementType;
|
|
|
3440
3441
|
WorkspaceElementType["ExternalEventSubscription"] = "external-event-subscription";
|
|
3441
3442
|
WorkspaceElementType["ExternalEventLogRecord"] = "external-event-log-record";
|
|
3442
3443
|
WorkspaceElementType["ExternalEventPull"] = "external-event-pull";
|
|
3443
|
-
WorkspaceElementType["DataCollection"] = "data-collection";
|
|
3444
3444
|
WorkspaceElementType["Screen"] = "screen";
|
|
3445
3445
|
WorkspaceElementType["ActionRunLogRecord"] = "action-run-log-record";
|
|
3446
3446
|
})(WorkspaceElementType || (WorkspaceElementType = {}));
|
|
@@ -3472,9 +3472,9 @@ const BaseWorkspaceElement = z.object({
|
|
|
3472
3472
|
name: z.string(),
|
|
3473
3473
|
});
|
|
3474
3474
|
const BaseMembraneInterfaceEditableProperties = z.object({
|
|
3475
|
+
uuid: z.string().optional(),
|
|
3475
3476
|
key: z.string().optional(),
|
|
3476
3477
|
name: z.string().optional(),
|
|
3477
|
-
uuid: z.string().optional(),
|
|
3478
3478
|
description: z.string().optional(),
|
|
3479
3479
|
meta: z.record(z.string(), z.any()).optional(),
|
|
3480
3480
|
});
|
|
@@ -3490,14 +3490,20 @@ const BaseMembraneInterfaceReadOnlyProperties = z.object({
|
|
|
3490
3490
|
});
|
|
3491
3491
|
const BaseMembraneInterface = BaseWorkspaceElement.merge(BaseMembraneInterfaceEditableProperties).merge(BaseMembraneInterfaceReadOnlyProperties);
|
|
3492
3492
|
const BaseIntegrationLevelMembraneInterfaceEditableProperties = BaseMembraneInterfaceEditableProperties.extend({
|
|
3493
|
-
integrationUuid: z.string().optional(),
|
|
3494
|
-
parentUuid: z.string().optional(),
|
|
3495
3493
|
integrationId: z.string().optional(),
|
|
3494
|
+
integrationUuid: z.string().optional(),
|
|
3496
3495
|
parentId: z.string().optional(),
|
|
3496
|
+
parentUuid: z.string().optional(),
|
|
3497
|
+
connectionId: z.string().optional(),
|
|
3498
|
+
instanceKey: z.string().optional(),
|
|
3497
3499
|
});
|
|
3498
3500
|
const BaseIntegrationLevelMembraneInterfaceReadOnlyProperties = BaseMembraneInterfaceReadOnlyProperties.extend({
|
|
3499
3501
|
isCustomized: z.boolean().optional(),
|
|
3500
3502
|
});
|
|
3503
|
+
const BaseIntegrationLevelMembraneInterfaceExportProperties = BaseMembraneInterfaceEditableProperties.extend({
|
|
3504
|
+
integrationUuid: z.string().optional(),
|
|
3505
|
+
parentUuid: z.string().optional(),
|
|
3506
|
+
});
|
|
3501
3507
|
const IntegrationLevelMembraneInterfaceSelectorQuery = z.object({
|
|
3502
3508
|
layer: z.enum(['universal', 'integration', 'connection']).optional(),
|
|
3503
3509
|
integrationKey: z.string().optional(),
|
|
@@ -3548,14 +3554,11 @@ var FieldMappingDirection;
|
|
|
3548
3554
|
FieldMappingDirection["EXPORT"] = "export";
|
|
3549
3555
|
FieldMappingDirection["BOTH"] = "both";
|
|
3550
3556
|
})(FieldMappingDirection || (FieldMappingDirection = {}));
|
|
3551
|
-
const
|
|
3552
|
-
parentId: true,
|
|
3553
|
-
}).extend({
|
|
3557
|
+
const FieldMappingSpecificProperties = z.object({
|
|
3554
3558
|
connectionId: z.string().optional(),
|
|
3555
3559
|
fieldMappingId: z.string().optional(),
|
|
3556
3560
|
universalFieldMappingId: z.string().optional(),
|
|
3557
3561
|
dataSourceKey: z.string().optional(),
|
|
3558
|
-
dataSourceId: z.string().optional(),
|
|
3559
3562
|
appSchema: DataSchema.optional(),
|
|
3560
3563
|
direction: z.enum(FieldMappingDirection).optional(),
|
|
3561
3564
|
defaultImportValue: z.any().optional(),
|
|
@@ -3566,6 +3569,14 @@ const FieldMappingEditableProperties = BaseIntegrationLevelMembraneInterfaceEdit
|
|
|
3566
3569
|
frozenExportFields: z.any().optional(),
|
|
3567
3570
|
frozenUnifiedExportFields: z.any().optional(),
|
|
3568
3571
|
});
|
|
3572
|
+
const FieldMappingEditableProperties = BaseIntegrationLevelMembraneInterfaceEditableProperties.omit({
|
|
3573
|
+
parentId: true,
|
|
3574
|
+
}).extend(FieldMappingSpecificProperties.shape);
|
|
3575
|
+
const FieldMappingExportProperties = BaseIntegrationLevelMembraneInterfaceExportProperties.extend(FieldMappingSpecificProperties.shape).omit({
|
|
3576
|
+
connectionId: true,
|
|
3577
|
+
fieldMappingId: true,
|
|
3578
|
+
universalFieldMappingId: true,
|
|
3579
|
+
});
|
|
3569
3580
|
const FieldMappingReadOnlyProperties = BaseIntegrationLevelMembraneInterfaceReadOnlyProperties.extend({
|
|
3570
3581
|
universalFieldMappingRevision: z.string().optional(),
|
|
3571
3582
|
});
|
|
@@ -3689,15 +3700,19 @@ const ActionDependency = z.object({
|
|
|
3689
3700
|
key: z.string(),
|
|
3690
3701
|
element: z.any().optional(),
|
|
3691
3702
|
});
|
|
3692
|
-
const
|
|
3703
|
+
const ActionSpecificProperties = z.object({
|
|
3693
3704
|
connectionId: z.string().optional(),
|
|
3694
3705
|
instanceKey: z.string().optional(),
|
|
3695
3706
|
inputSchema: DataSchema.optional(),
|
|
3696
3707
|
type: z.enum(ActionType).optional(),
|
|
3697
|
-
config: z.
|
|
3708
|
+
config: z.object({}).loose().optional(),
|
|
3698
3709
|
outputMapping: z.any().optional(),
|
|
3699
3710
|
customOutputSchema: DataSchema.optional(),
|
|
3700
3711
|
});
|
|
3712
|
+
const ActionEditableProperties = BaseIntegrationLevelMembraneInterfaceEditableProperties.extend(ActionSpecificProperties.shape);
|
|
3713
|
+
const ActionExportProperties = BaseIntegrationLevelMembraneInterfaceExportProperties.extend(ActionSpecificProperties.shape).omit({
|
|
3714
|
+
connectionId: true,
|
|
3715
|
+
});
|
|
3701
3716
|
const ActionReadOnlyProperties = BaseIntegrationLevelMembraneInterfaceReadOnlyProperties.extend({
|
|
3702
3717
|
universalParentId: z.string().optional(),
|
|
3703
3718
|
userId: z.string().optional(),
|
|
@@ -8406,9 +8421,7 @@ const DEFAULT_PULL_UPDATES_INTERVAL_SECONDS = 60 * 5;
|
|
|
8406
8421
|
const DEFAULT_FULL_SYNC_INTERVAL_SECONDS = 60 * 60 * 3;
|
|
8407
8422
|
const MIN_FULL_SYNC_INTERVAL_SECONDS = 1 * 60;
|
|
8408
8423
|
const MIN_PULL_UPDATES_INTERVAL_SECONDS = 1 * 60;
|
|
8409
|
-
const
|
|
8410
|
-
parentId: true,
|
|
8411
|
-
}).extend({
|
|
8424
|
+
const DataSourceSpecificProperties = z.object({
|
|
8412
8425
|
connectionId: z.string().optional(),
|
|
8413
8426
|
dataSourceId: z.string().optional(),
|
|
8414
8427
|
universalDataSourceId: z.string().optional(),
|
|
@@ -8419,18 +8432,27 @@ const DataSourceEditableProperties = BaseIntegrationLevelMembraneInterfaceEditab
|
|
|
8419
8432
|
collectionParameters: z.any().optional(),
|
|
8420
8433
|
defaultPath: z.string().optional(),
|
|
8421
8434
|
});
|
|
8435
|
+
const DataSourceEditableProperties = BaseIntegrationLevelMembraneInterfaceEditableProperties.omit({
|
|
8436
|
+
parentId: true,
|
|
8437
|
+
}).extend(DataSourceSpecificProperties.shape);
|
|
8438
|
+
const DataSourceExportProperties = BaseIntegrationLevelMembraneInterfaceExportProperties.extend(DataSourceSpecificProperties.shape).omit({
|
|
8439
|
+
connectionId: true,
|
|
8440
|
+
dataSourceId: true,
|
|
8441
|
+
universalDataSourceId: true,
|
|
8442
|
+
});
|
|
8422
8443
|
const DataSourceReadOnlyProperties = BaseIntegrationLevelMembraneInterfaceReadOnlyProperties.extend({
|
|
8423
8444
|
universalDataSourceRevision: z.string().optional(),
|
|
8424
8445
|
});
|
|
8425
8446
|
const BaseDataSource = BaseMembraneInterface.merge(DataSourceEditableProperties).merge(DataSourceReadOnlyProperties);
|
|
8426
8447
|
const DataSourceUnitConfig = z.object({
|
|
8427
|
-
key: z.
|
|
8448
|
+
key: z.any().optional(),
|
|
8428
8449
|
collectionKey: z.any().optional(),
|
|
8429
8450
|
collectionParameters: z.any().optional(),
|
|
8430
8451
|
udm: z.any().optional(),
|
|
8431
|
-
path: z.string().optional(),
|
|
8432
8452
|
pullUpdatesIntervalSeconds: z.number().optional(),
|
|
8433
8453
|
fullSyncIntervalSeconds: z.number().optional(),
|
|
8454
|
+
path: z.any().optional(),
|
|
8455
|
+
defaultPath: z.any().optional(),
|
|
8434
8456
|
});
|
|
8435
8457
|
|
|
8436
8458
|
const BaseDataSourceInstance = BaseMembraneInterface.extend({
|
|
@@ -8897,16 +8919,22 @@ const FLOW_NODE_SPECS = {
|
|
|
8897
8919
|
[FlowNodeType.RunAction]: RunAction,
|
|
8898
8920
|
};
|
|
8899
8921
|
|
|
8900
|
-
const
|
|
8901
|
-
parentId: true,
|
|
8902
|
-
}).extend({
|
|
8903
|
-
connectionId: z.string().optional(),
|
|
8922
|
+
const FlowSpecificProperties = z.object({
|
|
8904
8923
|
flowId: z.string().optional(),
|
|
8905
8924
|
universalFlowId: z.string().optional(),
|
|
8906
8925
|
parametersSchema: DataSchema.optional(),
|
|
8926
|
+
parameters: z.any().optional(),
|
|
8927
|
+
enabled: z.boolean().optional(),
|
|
8907
8928
|
nodes: z.record(z.string(), FlowNode).optional(),
|
|
8908
8929
|
autoCreateInstances: z.boolean().optional(),
|
|
8909
8930
|
});
|
|
8931
|
+
const FlowEditableProperties = BaseIntegrationLevelMembraneInterfaceEditableProperties.omit({
|
|
8932
|
+
parentId: true,
|
|
8933
|
+
}).extend(FlowSpecificProperties.shape);
|
|
8934
|
+
const FlowExportProperties = BaseIntegrationLevelMembraneInterfaceExportProperties.extend(FlowSpecificProperties.shape).omit({
|
|
8935
|
+
flowId: true,
|
|
8936
|
+
universalFlowId: true,
|
|
8937
|
+
});
|
|
8910
8938
|
const FlowReadOnlyProperties = BaseIntegrationLevelMembraneInterfaceReadOnlyProperties.extend({
|
|
8911
8939
|
universalFlowRevision: z.string().optional(),
|
|
8912
8940
|
});
|
|
@@ -8934,6 +8962,14 @@ const BaseIntegration = BaseMembraneInterface.extend({
|
|
|
8934
8962
|
isDeactivated: z.boolean().optional(),
|
|
8935
8963
|
authType: z.enum(CONNECTOR_AUTH_TYPES).optional(),
|
|
8936
8964
|
});
|
|
8965
|
+
const IntegrationExportProperties = BaseMembraneInterfaceEditableProperties.extend({
|
|
8966
|
+
logoUri: z.string(),
|
|
8967
|
+
connectorUuid: z.string().optional(),
|
|
8968
|
+
connectorVersion: z.string().optional(),
|
|
8969
|
+
oAuthCallbackUri: z.string().optional(),
|
|
8970
|
+
parameters: z.any().optional(),
|
|
8971
|
+
appUuid: z.string().optional(),
|
|
8972
|
+
});
|
|
8937
8973
|
const AppliedToIntegrations = (elementSchema) => z.array(z.object({
|
|
8938
8974
|
element: elementSchema,
|
|
8939
8975
|
integration: BaseIntegration,
|
|
@@ -8964,12 +9000,17 @@ const PackageElement = z.object({
|
|
|
8964
9000
|
type: z.enum(IntegrationElementType),
|
|
8965
9001
|
element: z.any().optional(),
|
|
8966
9002
|
});
|
|
8967
|
-
const
|
|
9003
|
+
const PackageElementExport = z.object({
|
|
9004
|
+
uuid: z.string(),
|
|
9005
|
+
type: z.enum(IntegrationElementType),
|
|
9006
|
+
element: z.any().optional(),
|
|
9007
|
+
});
|
|
9008
|
+
const PackageEditableProperties = BaseIntegrationLevelMembraneInterfaceEditableProperties.extend({
|
|
8968
9009
|
scenarioTemplateId: z.string().optional(),
|
|
8969
9010
|
elements: z.array(PackageElement).optional(),
|
|
8970
|
-
|
|
8971
|
-
|
|
8972
|
-
|
|
9011
|
+
});
|
|
9012
|
+
const PackageExportProperties = BaseIntegrationLevelMembraneInterfaceExportProperties.extend({
|
|
9013
|
+
elements: z.array(PackageElementExport).optional(),
|
|
8973
9014
|
});
|
|
8974
9015
|
const PackageCalculatedProperties = z.object({
|
|
8975
9016
|
key: z.string(),
|
|
@@ -9203,6 +9244,7 @@ const BaseAppEventType = BaseMembraneInterface.extend({
|
|
|
9203
9244
|
example: z.any().optional(),
|
|
9204
9245
|
schema: DataSchema.optional(),
|
|
9205
9246
|
globalWebhookUri: z.string(),
|
|
9247
|
+
tenantIdFormula: z.any().optional(),
|
|
9206
9248
|
userIdFormula: z.any().optional(),
|
|
9207
9249
|
});
|
|
9208
9250
|
|
|
@@ -9885,6 +9927,7 @@ const WorkspaceElementSpecs = {
|
|
|
9885
9927
|
apiPath: 'integrations',
|
|
9886
9928
|
name: 'Integration',
|
|
9887
9929
|
namePlural: 'Integrations',
|
|
9930
|
+
exportPropertiesSchema: IntegrationExportProperties,
|
|
9888
9931
|
},
|
|
9889
9932
|
[WorkspaceElementType.Connector]: {
|
|
9890
9933
|
type: WorkspaceElementType.Connector,
|
|
@@ -9904,6 +9947,7 @@ const WorkspaceElementSpecs = {
|
|
|
9904
9947
|
name: 'Package',
|
|
9905
9948
|
namePlural: 'Packages',
|
|
9906
9949
|
editablePropertiesSchema: PackageEditableProperties,
|
|
9950
|
+
exportPropertiesSchema: PackageExportProperties,
|
|
9907
9951
|
apiResponseSchema: PackageApiResponse,
|
|
9908
9952
|
findQuerySchema: FindPackagesQuery,
|
|
9909
9953
|
isMembraneInterface: true,
|
|
@@ -9922,6 +9966,7 @@ const WorkspaceElementSpecs = {
|
|
|
9922
9966
|
name: 'Action',
|
|
9923
9967
|
namePlural: 'Actions',
|
|
9924
9968
|
editablePropertiesSchema: ActionEditableProperties,
|
|
9969
|
+
exportPropertiesSchema: ActionExportProperties,
|
|
9925
9970
|
apiResponseSchema: ActionApiResponse,
|
|
9926
9971
|
findQuerySchema: FindActionsQuery,
|
|
9927
9972
|
isMembraneInterface: true,
|
|
@@ -9940,6 +9985,7 @@ const WorkspaceElementSpecs = {
|
|
|
9940
9985
|
namePlural: 'Flows',
|
|
9941
9986
|
parentFieldKey: 'universalFlowId',
|
|
9942
9987
|
editablePropertiesSchema: FlowEditableProperties,
|
|
9988
|
+
exportPropertiesSchema: FlowExportProperties,
|
|
9943
9989
|
apiResponseSchema: FlowApiResponse,
|
|
9944
9990
|
findQuerySchema: FindFlowsQuery,
|
|
9945
9991
|
isMembraneInterface: true,
|
|
@@ -9969,6 +10015,7 @@ const WorkspaceElementSpecs = {
|
|
|
9969
10015
|
namePlural: 'Field Mappings',
|
|
9970
10016
|
parentFieldKey: 'universalFieldMappingId',
|
|
9971
10017
|
editablePropertiesSchema: FieldMappingEditableProperties,
|
|
10018
|
+
exportPropertiesSchema: FieldMappingExportProperties,
|
|
9972
10019
|
apiResponseSchema: FieldMappingApiResponse,
|
|
9973
10020
|
findQuerySchema: FindFieldMappingsQuery,
|
|
9974
10021
|
isMembraneInterface: true,
|
|
@@ -9983,12 +10030,6 @@ const WorkspaceElementSpecs = {
|
|
|
9983
10030
|
universalParentFieldKey: 'universalFieldMappingId',
|
|
9984
10031
|
isMembraneInterface: true,
|
|
9985
10032
|
},
|
|
9986
|
-
[WorkspaceElementType.DataCollection]: {
|
|
9987
|
-
type: WorkspaceElementType.DataCollection,
|
|
9988
|
-
apiPath: 'data-collections',
|
|
9989
|
-
name: 'Data Collection',
|
|
9990
|
-
namePlural: 'Data Collections',
|
|
9991
|
-
},
|
|
9992
10033
|
[WorkspaceElementType.DataSource]: {
|
|
9993
10034
|
type: WorkspaceElementType.DataSource,
|
|
9994
10035
|
apiPath: 'data-sources',
|
|
@@ -9996,6 +10037,7 @@ const WorkspaceElementSpecs = {
|
|
|
9996
10037
|
namePlural: 'Data Sources',
|
|
9997
10038
|
parentFieldKey: 'universalDataSourceId',
|
|
9998
10039
|
editablePropertiesSchema: DataSourceEditableProperties,
|
|
10040
|
+
exportPropertiesSchema: DataSourceExportProperties,
|
|
9999
10041
|
apiResponseSchema: DataSourceApiResponse,
|
|
10000
10042
|
findQuerySchema: FindDataSourcesQuery,
|
|
10001
10043
|
isMembraneInterface: true,
|
|
@@ -10088,6 +10130,44 @@ const WorkspaceElementSpecs = {
|
|
|
10088
10130
|
},
|
|
10089
10131
|
};
|
|
10090
10132
|
|
|
10133
|
+
const MEMBRANE_ELEMENT_CONFIG_FILE_NAME = 'spec.yaml';
|
|
10134
|
+
function getMembraneElementPath(elementType, elementKey, integrationKey) {
|
|
10135
|
+
const elementTypePath = WorkspaceElementSpecs[elementType].apiPath;
|
|
10136
|
+
if (!integrationKey) {
|
|
10137
|
+
return `${elementTypePath}/${elementKey}/${MEMBRANE_ELEMENT_CONFIG_FILE_NAME}`;
|
|
10138
|
+
}
|
|
10139
|
+
const integrationTypePath = WorkspaceElementSpecs[WorkspaceElementType.Integration].apiPath;
|
|
10140
|
+
return `${integrationTypePath}/${integrationKey}/${elementTypePath}/${elementKey}/${MEMBRANE_ELEMENT_CONFIG_FILE_NAME}`;
|
|
10141
|
+
}
|
|
10142
|
+
function parseMembraneElementPath(relativePath) {
|
|
10143
|
+
const typeByApiPath = new Map();
|
|
10144
|
+
for (const spec of Object.values(WorkspaceElementSpecs)) {
|
|
10145
|
+
typeByApiPath.set(spec.apiPath, spec.type);
|
|
10146
|
+
}
|
|
10147
|
+
const elementTypes = Object.values(WorkspaceElementSpecs)
|
|
10148
|
+
.map((spec) => spec.apiPath)
|
|
10149
|
+
.join('|');
|
|
10150
|
+
const universalPattern = new RegExp(`^(?<elementType>${elementTypes})/(?<elementKey>[^/]+)/${MEMBRANE_ELEMENT_CONFIG_FILE_NAME}$`);
|
|
10151
|
+
const universalMatch = relativePath.match(universalPattern);
|
|
10152
|
+
if (universalMatch === null || universalMatch === void 0 ? void 0 : universalMatch.groups) {
|
|
10153
|
+
const { elementType: elementTypePath, elementKey } = universalMatch.groups;
|
|
10154
|
+
const elementType = typeByApiPath.get(elementTypePath);
|
|
10155
|
+
if (elementType) {
|
|
10156
|
+
return { type: elementType, key: elementKey };
|
|
10157
|
+
}
|
|
10158
|
+
}
|
|
10159
|
+
const integrationLevelPattern = new RegExp(`^integrations/(?<integrationKey>[^/]+)/(?<elementType>${elementTypes})/(?<elementKey>[^/]+)/${MEMBRANE_ELEMENT_CONFIG_FILE_NAME}$`);
|
|
10160
|
+
const integrationLevelMatch = relativePath.match(integrationLevelPattern);
|
|
10161
|
+
if (integrationLevelMatch === null || integrationLevelMatch === void 0 ? void 0 : integrationLevelMatch.groups) {
|
|
10162
|
+
const { integrationKey, elementType: elementTypePath, elementKey } = integrationLevelMatch.groups;
|
|
10163
|
+
const elementType = typeByApiPath.get(elementTypePath);
|
|
10164
|
+
if (elementType) {
|
|
10165
|
+
return { type: elementType, key: elementKey, integrationKey };
|
|
10166
|
+
}
|
|
10167
|
+
}
|
|
10168
|
+
return undefined;
|
|
10169
|
+
}
|
|
10170
|
+
|
|
10091
10171
|
class SelfAccessor {
|
|
10092
10172
|
constructor(client) {
|
|
10093
10173
|
this.client = client;
|
|
@@ -10100,136 +10180,6 @@ class SelfAccessor {
|
|
|
10100
10180
|
}
|
|
10101
10181
|
}
|
|
10102
10182
|
|
|
10103
|
-
var ConnectorCopilotSuggestionType;
|
|
10104
|
-
(function (ConnectorCopilotSuggestionType) {
|
|
10105
|
-
ConnectorCopilotSuggestionType["AuthType"] = "auth-type";
|
|
10106
|
-
ConnectorCopilotSuggestionType["AuthImplementation"] = "auth-implementation";
|
|
10107
|
-
ConnectorCopilotSuggestionType["AuthConnectionParameters"] = "auth-connection-parameters";
|
|
10108
|
-
ConnectorCopilotSuggestionType["AuthApiClient"] = "auth-api-client";
|
|
10109
|
-
ConnectorCopilotSuggestionType["DataCollection"] = "data-collection";
|
|
10110
|
-
ConnectorCopilotSuggestionType["DataCollectionOperationApiRequests"] = "data-location-operation-api-requests";
|
|
10111
|
-
ConnectorCopilotSuggestionType["DataCollectionOperationApiRequestMapping"] = "data-location-operation-api-request-mapping";
|
|
10112
|
-
ConnectorCopilotSuggestionType["DataCollectionFieldsSchema"] = "data-location-fields-schema";
|
|
10113
|
-
ConnectorCopilotSuggestionType["UdmList"] = "udm-list";
|
|
10114
|
-
ConnectorCopilotSuggestionType["UdmFieldsMapping"] = "udm-fields-mapping";
|
|
10115
|
-
ConnectorCopilotSuggestionType["UdmFieldsMappingToCollection"] = "udm-fields-mapping-to-collection";
|
|
10116
|
-
ConnectorCopilotSuggestionType["UdmFieldsMappingFromCollection"] = "udm-fields-mapping-from-collection";
|
|
10117
|
-
})(ConnectorCopilotSuggestionType || (ConnectorCopilotSuggestionType = {}));
|
|
10118
|
-
var ConnectorCopilotFileChunkTopicKey;
|
|
10119
|
-
(function (ConnectorCopilotFileChunkTopicKey) {
|
|
10120
|
-
ConnectorCopilotFileChunkTopicKey["AuthType"] = "auth-type";
|
|
10121
|
-
ConnectorCopilotFileChunkTopicKey["AuthImplementation"] = "auth-implementation";
|
|
10122
|
-
ConnectorCopilotFileChunkTopicKey["AuthConnectionParameters"] = "auth-connection-parameters";
|
|
10123
|
-
ConnectorCopilotFileChunkTopicKey["AuthApiClient"] = "auth-api-client";
|
|
10124
|
-
})(ConnectorCopilotFileChunkTopicKey || (ConnectorCopilotFileChunkTopicKey = {}));
|
|
10125
|
-
var CopilotTaskType;
|
|
10126
|
-
(function (CopilotTaskType) {
|
|
10127
|
-
CopilotTaskType["GenerateAuthType"] = "generate-auth-type";
|
|
10128
|
-
CopilotTaskType["GenerateOAuthConfiguration"] = "generate-oauth-configuration";
|
|
10129
|
-
CopilotTaskType["GenerateAuthConnectionParameters"] = "generate-auth-connection-parameters";
|
|
10130
|
-
CopilotTaskType["GenerateAuthApiClient"] = "generate-auth-api-client";
|
|
10131
|
-
CopilotTaskType["GenerateDataCollections"] = "generate-data-collections";
|
|
10132
|
-
CopilotTaskType["GenerateDataCollectionRecordFromFields"] = "generate-data-collection-record-from-fields";
|
|
10133
|
-
CopilotTaskType["GenerateDataCollectionOperationApiRequests"] = "generate-data-collection-operation-api-requests";
|
|
10134
|
-
CopilotTaskType["GenerateDataCollectionOperationApiRequestMapping"] = "generate-data-collection-operation-api-request-mapping";
|
|
10135
|
-
CopilotTaskType["GenerateDataCollectionFieldsSchema"] = "generate-data-collection-fields-schema";
|
|
10136
|
-
CopilotTaskType["GenerateUdmList"] = "generate-udm-list";
|
|
10137
|
-
CopilotTaskType["GenerateUdmFieldsMapping"] = "generate-udm-fields-mapping";
|
|
10138
|
-
})(CopilotTaskType || (CopilotTaskType = {}));
|
|
10139
|
-
var CopilotTaskStatus;
|
|
10140
|
-
(function (CopilotTaskStatus) {
|
|
10141
|
-
CopilotTaskStatus["Pending"] = "pending";
|
|
10142
|
-
CopilotTaskStatus["Running"] = "running";
|
|
10143
|
-
CopilotTaskStatus["Completed"] = "completed";
|
|
10144
|
-
CopilotTaskStatus["Failed"] = "failed";
|
|
10145
|
-
})(CopilotTaskStatus || (CopilotTaskStatus = {}));
|
|
10146
|
-
var CopilotActionType;
|
|
10147
|
-
(function (CopilotActionType) {
|
|
10148
|
-
CopilotActionType["PatchConnectorFile"] = "patch";
|
|
10149
|
-
CopilotActionType["PutConnectorFile"] = "put";
|
|
10150
|
-
CopilotActionType["PatchConnectorDataSchema"] = "patch-data-schema";
|
|
10151
|
-
CopilotActionType["PatchConnectorFieldMapping"] = "patch-field-mapping";
|
|
10152
|
-
CopilotActionType["SetConnectorAuthType"] = "set-connector-auth-type";
|
|
10153
|
-
})(CopilotActionType || (CopilotActionType = {}));
|
|
10154
|
-
var CopilotActionStatus;
|
|
10155
|
-
(function (CopilotActionStatus) {
|
|
10156
|
-
CopilotActionStatus["Suggested"] = "suggested";
|
|
10157
|
-
CopilotActionStatus["Executed"] = "executed";
|
|
10158
|
-
CopilotActionStatus["Rejected"] = "rejected";
|
|
10159
|
-
})(CopilotActionStatus || (CopilotActionStatus = {}));
|
|
10160
|
-
var CopilotActivityType;
|
|
10161
|
-
(function (CopilotActivityType) {
|
|
10162
|
-
CopilotActivityType["Task"] = "task";
|
|
10163
|
-
})(CopilotActivityType || (CopilotActivityType = {}));
|
|
10164
|
-
const CopilotActivityScope = {
|
|
10165
|
-
connector: (connectorId) => new CopilotActivityScopeConnector(connectorId),
|
|
10166
|
-
};
|
|
10167
|
-
class CopilotActivityScopeConnector {
|
|
10168
|
-
constructor(connectorId) {
|
|
10169
|
-
this.connectorId = connectorId;
|
|
10170
|
-
this.auth = () => new CopilotActivityScopeConnectorAuth(this);
|
|
10171
|
-
this.data = (key) => new CopilotActivityScopeConnectorData(this, key);
|
|
10172
|
-
this.udm = (key) => new CopilotActivityScopeConnectorUdm(this, key);
|
|
10173
|
-
}
|
|
10174
|
-
toString() {
|
|
10175
|
-
return `connectors/${this.connectorId}`;
|
|
10176
|
-
}
|
|
10177
|
-
}
|
|
10178
|
-
class CopilotActivityScopeConnectorAuth {
|
|
10179
|
-
constructor(connectorScope) {
|
|
10180
|
-
this.connectorScope = connectorScope;
|
|
10181
|
-
}
|
|
10182
|
-
toString() {
|
|
10183
|
-
return `${this.connectorScope.toString()}/auth`;
|
|
10184
|
-
}
|
|
10185
|
-
}
|
|
10186
|
-
class CopilotActivityScopeConnectorData {
|
|
10187
|
-
constructor(connectorScope, dataCollectionKey) {
|
|
10188
|
-
this.connectorScope = connectorScope;
|
|
10189
|
-
this.dataCollectionKey = dataCollectionKey;
|
|
10190
|
-
this.method = (key) => new CopilotActivityScopeConnectorDataMethod(this, key);
|
|
10191
|
-
}
|
|
10192
|
-
toString() {
|
|
10193
|
-
let scope = `${this.connectorScope.toString()}/data`;
|
|
10194
|
-
if (this.dataCollectionKey) {
|
|
10195
|
-
scope += `/${this.dataCollectionKey}`;
|
|
10196
|
-
}
|
|
10197
|
-
return scope;
|
|
10198
|
-
}
|
|
10199
|
-
}
|
|
10200
|
-
class CopilotActivityScopeConnectorDataMethod {
|
|
10201
|
-
constructor(collectionScope, methodKey) {
|
|
10202
|
-
this.collectionScope = collectionScope;
|
|
10203
|
-
this.methodKey = methodKey;
|
|
10204
|
-
}
|
|
10205
|
-
toString() {
|
|
10206
|
-
return `${this.collectionScope.toString()}/methods/${this.methodKey}`;
|
|
10207
|
-
}
|
|
10208
|
-
}
|
|
10209
|
-
class CopilotActivityScopeConnectorUdm {
|
|
10210
|
-
constructor(connectorScope, key) {
|
|
10211
|
-
this.connectorScope = connectorScope;
|
|
10212
|
-
this.key = key;
|
|
10213
|
-
this.collection = (key) => new CopilotActivityScopeConnectorUdmCollection(this, key);
|
|
10214
|
-
}
|
|
10215
|
-
toString() {
|
|
10216
|
-
let scope = `${this.connectorScope.toString()}/udm`;
|
|
10217
|
-
if (this.key) {
|
|
10218
|
-
scope += `/${this.key}`;
|
|
10219
|
-
}
|
|
10220
|
-
return scope;
|
|
10221
|
-
}
|
|
10222
|
-
}
|
|
10223
|
-
class CopilotActivityScopeConnectorUdmCollection {
|
|
10224
|
-
constructor(udmScope, key) {
|
|
10225
|
-
this.udmScope = udmScope;
|
|
10226
|
-
this.key = key;
|
|
10227
|
-
}
|
|
10228
|
-
toString() {
|
|
10229
|
-
return `${this.udmScope.toString()}/collection/${this.key}`;
|
|
10230
|
-
}
|
|
10231
|
-
}
|
|
10232
|
-
|
|
10233
10183
|
var LogRecordType;
|
|
10234
10184
|
(function (LogRecordType) {
|
|
10235
10185
|
LogRecordType["MSG"] = "message";
|
|
@@ -10503,6 +10453,7 @@ var UsageType;
|
|
|
10503
10453
|
UsageType["FILES_UPLOAD_NUMBER"] = "files-upload-number";
|
|
10504
10454
|
UsageType["FILES_UPLOAD_SIZE"] = "files-upload-size";
|
|
10505
10455
|
UsageType["CUSTOM_CODE_RUNTIME_DURATION"] = "custom-code-runtime-duration";
|
|
10456
|
+
UsageType["MEMBRANE_AGENT"] = "membrane-agent";
|
|
10506
10457
|
})(UsageType || (UsageType = {}));
|
|
10507
10458
|
|
|
10508
10459
|
function getNodeInputSchema(flow, nodeKey) {
|
|
@@ -10645,7 +10596,6 @@ const PARALLEL_EXECUTION_LIMITS = [
|
|
|
10645
10596
|
'parallelBackgroundJobs',
|
|
10646
10597
|
'parallelEventLogs',
|
|
10647
10598
|
'parallelEventLogsPerConnection',
|
|
10648
|
-
'parallelWriteDatabaseRequests',
|
|
10649
10599
|
'parallelPathfinderAgentSessions',
|
|
10650
10600
|
];
|
|
10651
10601
|
const RATE_LIMITS = [
|
|
@@ -10656,7 +10606,6 @@ const RATE_LIMITS = [
|
|
|
10656
10606
|
'webhookRequestsPerHour',
|
|
10657
10607
|
'workspaceElementCreationsPerHour',
|
|
10658
10608
|
'workspaceElementCreationsPerSecond',
|
|
10659
|
-
'createDatabaseRequestsPerSecond',
|
|
10660
10609
|
];
|
|
10661
10610
|
const WORKSPACE_SIZE_LIMITS = [
|
|
10662
10611
|
'totalNumberOfCustomers',
|
|
@@ -10672,9 +10621,6 @@ const EDITABLE_LIMITS = [
|
|
|
10672
10621
|
'webhookRequestsPerCustomerPerSecond',
|
|
10673
10622
|
'webhookRequestsPerCustomerPerHour',
|
|
10674
10623
|
'parallelFlowRunsPerConnection',
|
|
10675
|
-
'parallelWriteDatabaseRequestsPerCustomer',
|
|
10676
|
-
'createDatabaseRequestsPerCustomerPerSecond',
|
|
10677
|
-
'updateDatabaseRequestsPerCustomerPerSecond',
|
|
10678
10624
|
];
|
|
10679
10625
|
|
|
10680
10626
|
var OrgLimitsType;
|
|
@@ -10682,8 +10628,8 @@ var OrgLimitsType;
|
|
|
10682
10628
|
OrgLimitsType["NUMBER_OF_WORKSPACES"] = "numberOfWorkspaces";
|
|
10683
10629
|
OrgLimitsType["TODAY_USAGE"] = "todayUsage";
|
|
10684
10630
|
OrgLimitsType["LAST_THIRTY_DAY_USAGE"] = "lastThirtyDayUsage";
|
|
10685
|
-
OrgLimitsType["MEMBRANE_AGENT_MONTHLY_USAGE"] = "membraneAgentMonthlyUsage";
|
|
10686
10631
|
OrgLimitsType["MEMBRANE_EXPERT_CREDITS_CAP"] = "membraneExpertCreditsCapPerMonth";
|
|
10632
|
+
OrgLimitsType["MEMBRANE_AGENT_LAST_THIRTY_DAYS_USAGE"] = "membraneAgentLastThirtyDaysUsage";
|
|
10687
10633
|
})(OrgLimitsType || (OrgLimitsType = {}));
|
|
10688
10634
|
var OrgUserRole;
|
|
10689
10635
|
(function (OrgUserRole) {
|
|
@@ -10721,6 +10667,7 @@ var AlertType;
|
|
|
10721
10667
|
AlertType["externalEventsPerCustomerPerDay"] = "externalEventsPerCustomerPerDay";
|
|
10722
10668
|
AlertType["totalUsagePerDay"] = "totalUsagePerDay";
|
|
10723
10669
|
AlertType["totalUsagePer30Days"] = "totalUsagePer30Days";
|
|
10670
|
+
AlertType["membraneAgentUsagePer30Days"] = "membraneAgentUsagePer30Days";
|
|
10724
10671
|
})(AlertType || (AlertType = {}));
|
|
10725
10672
|
|
|
10726
10673
|
class ElementAccessor {
|
|
@@ -10854,6 +10801,55 @@ class ElementInstanceAccessor {
|
|
|
10854
10801
|
}
|
|
10855
10802
|
}
|
|
10856
10803
|
|
|
10804
|
+
class ConnectionLevelElementAccessor {
|
|
10805
|
+
constructor(client, connectionSelector, selector, elementKey, query) {
|
|
10806
|
+
this.client = client;
|
|
10807
|
+
this.connectionSelector = connectionSelector;
|
|
10808
|
+
this.selector = selector;
|
|
10809
|
+
this.elementKey = elementKey;
|
|
10810
|
+
this.query = query;
|
|
10811
|
+
this.endpoint = `/connections/${this.connectionSelector}/${elementKey}/${selector}`;
|
|
10812
|
+
}
|
|
10813
|
+
uri(path = '', query = {}) {
|
|
10814
|
+
return this.endpoint + path + '?' + qs.stringify({ ...this.query, ...query });
|
|
10815
|
+
}
|
|
10816
|
+
getUniqueIdentifier() {
|
|
10817
|
+
return this.endpoint;
|
|
10818
|
+
}
|
|
10819
|
+
async get(query = {}) {
|
|
10820
|
+
return this.client.get(this.uri('', query));
|
|
10821
|
+
}
|
|
10822
|
+
async create() {
|
|
10823
|
+
return this.client.put(this.uri());
|
|
10824
|
+
}
|
|
10825
|
+
async patch(data) {
|
|
10826
|
+
return this.client.patch(this.uri(), data);
|
|
10827
|
+
}
|
|
10828
|
+
async put(data) {
|
|
10829
|
+
return this.client.put(this.uri(), data);
|
|
10830
|
+
}
|
|
10831
|
+
async archive() {
|
|
10832
|
+
return this.client.delete(this.uri());
|
|
10833
|
+
}
|
|
10834
|
+
async reset() {
|
|
10835
|
+
return this.client.post(this.uri('/reset'));
|
|
10836
|
+
}
|
|
10837
|
+
async setup() {
|
|
10838
|
+
return this.client.post(this.uri('/setup'));
|
|
10839
|
+
}
|
|
10840
|
+
}
|
|
10841
|
+
class ConnectionLevelElementsListAccessor {
|
|
10842
|
+
constructor(client, connectionSelector, elementKey) {
|
|
10843
|
+
this.client = client;
|
|
10844
|
+
this.connectionSelector = connectionSelector;
|
|
10845
|
+
this.elementKey = elementKey;
|
|
10846
|
+
}
|
|
10847
|
+
async list(query) {
|
|
10848
|
+
const endpoint = `/connections/${this.connectionSelector}/${this.elementKey}?${qs.stringify(query !== null && query !== void 0 ? query : {})}`;
|
|
10849
|
+
return this.client.get(endpoint);
|
|
10850
|
+
}
|
|
10851
|
+
}
|
|
10852
|
+
|
|
10857
10853
|
class IntegrationLevelElementAccessor {
|
|
10858
10854
|
constructor(client, integrationSelector, elementSelector, elementKey) {
|
|
10859
10855
|
this.client = client;
|
|
@@ -10912,6 +10908,15 @@ class ActionAccessor extends ElementAccessor {
|
|
|
10912
10908
|
async reset() {
|
|
10913
10909
|
return await this.options.client.post(this.getPath('reset'));
|
|
10914
10910
|
}
|
|
10911
|
+
async run(input, options) {
|
|
10912
|
+
const queryParams = options
|
|
10913
|
+
? {
|
|
10914
|
+
integrationKey: options.integrationKey,
|
|
10915
|
+
connectionId: options.connectionId,
|
|
10916
|
+
}
|
|
10917
|
+
: {};
|
|
10918
|
+
return this.options.client.post(this.getPath('run'), { input }, { params: queryParams });
|
|
10919
|
+
}
|
|
10915
10920
|
}
|
|
10916
10921
|
class IntegrationLevelActionAccessor extends IntegrationLevelElementAccessor {
|
|
10917
10922
|
constructor(client, integrationSelector, actionSelector) {
|
|
@@ -10928,6 +10933,25 @@ class IntegrationLevelActionsListAccessor extends IntegrationLevelElementsListAc
|
|
|
10928
10933
|
this.integrationSelector = integrationSelector;
|
|
10929
10934
|
}
|
|
10930
10935
|
}
|
|
10936
|
+
class ConnectionLevelActionAccessor extends ConnectionLevelElementAccessor {
|
|
10937
|
+
constructor(client, connectionSelector, actionSelector, query) {
|
|
10938
|
+
super(client, connectionSelector, actionSelector, 'actions', query);
|
|
10939
|
+
this.client = client;
|
|
10940
|
+
this.connectionSelector = connectionSelector;
|
|
10941
|
+
this.actionSelector = actionSelector;
|
|
10942
|
+
this.query = query;
|
|
10943
|
+
}
|
|
10944
|
+
async run(input) {
|
|
10945
|
+
return this.client.post(this.uri('/run'), input);
|
|
10946
|
+
}
|
|
10947
|
+
}
|
|
10948
|
+
class ConnectionLevelActionsAccessor extends ConnectionLevelElementsListAccessor {
|
|
10949
|
+
constructor(client, connectionSelector) {
|
|
10950
|
+
super(client, connectionSelector, 'actions');
|
|
10951
|
+
this.client = client;
|
|
10952
|
+
this.connectionSelector = connectionSelector;
|
|
10953
|
+
}
|
|
10954
|
+
}
|
|
10931
10955
|
|
|
10932
10956
|
const POPUP_ELEMENT_ID = '__integration-app-popup';
|
|
10933
10957
|
const CONTAINER_ELEMENT_ID = '__integration-app-container';
|
|
@@ -11154,104 +11178,6 @@ function handleIframeUnmount(iframe) {
|
|
|
11154
11178
|
}
|
|
11155
11179
|
}
|
|
11156
11180
|
|
|
11157
|
-
class ConnectionLevelElementAccessor {
|
|
11158
|
-
constructor(client, connectionSelector, selector, elementKey, query) {
|
|
11159
|
-
this.client = client;
|
|
11160
|
-
this.connectionSelector = connectionSelector;
|
|
11161
|
-
this.selector = selector;
|
|
11162
|
-
this.elementKey = elementKey;
|
|
11163
|
-
this.query = query;
|
|
11164
|
-
this.endpoint = `/connections/${this.connectionSelector}/${elementKey}/${selector}`;
|
|
11165
|
-
}
|
|
11166
|
-
uri(path = '', query = {}) {
|
|
11167
|
-
return this.endpoint + path + '?' + qs.stringify({ ...this.query, ...query });
|
|
11168
|
-
}
|
|
11169
|
-
getUniqueIdentifier() {
|
|
11170
|
-
return this.endpoint;
|
|
11171
|
-
}
|
|
11172
|
-
async get(query = {}) {
|
|
11173
|
-
return this.client.get(this.uri('', query));
|
|
11174
|
-
}
|
|
11175
|
-
async create() {
|
|
11176
|
-
return this.client.put(this.uri());
|
|
11177
|
-
}
|
|
11178
|
-
async patch(data) {
|
|
11179
|
-
return this.client.patch(this.uri(), data);
|
|
11180
|
-
}
|
|
11181
|
-
async put(data) {
|
|
11182
|
-
return this.client.put(this.uri(), data);
|
|
11183
|
-
}
|
|
11184
|
-
async archive() {
|
|
11185
|
-
return this.client.delete(this.uri());
|
|
11186
|
-
}
|
|
11187
|
-
async reset() {
|
|
11188
|
-
return this.client.post(this.uri('/reset'));
|
|
11189
|
-
}
|
|
11190
|
-
async setup() {
|
|
11191
|
-
return this.client.post(this.uri('/setup'));
|
|
11192
|
-
}
|
|
11193
|
-
}
|
|
11194
|
-
class ConnectionLevelElementsListAccessor {
|
|
11195
|
-
constructor(client, connectionSelector, elementKey) {
|
|
11196
|
-
this.client = client;
|
|
11197
|
-
this.connectionSelector = connectionSelector;
|
|
11198
|
-
this.elementKey = elementKey;
|
|
11199
|
-
}
|
|
11200
|
-
async list(query) {
|
|
11201
|
-
const endpoint = `/connections/${this.connectionSelector}/${this.elementKey}?${qs.stringify(query !== null && query !== void 0 ? query : {})}`;
|
|
11202
|
-
return this.client.get(endpoint);
|
|
11203
|
-
}
|
|
11204
|
-
}
|
|
11205
|
-
|
|
11206
|
-
class ActionInstancesAccessor extends ElementInstanceListAccessor {
|
|
11207
|
-
constructor(client) {
|
|
11208
|
-
super(client, 'action-instances');
|
|
11209
|
-
}
|
|
11210
|
-
}
|
|
11211
|
-
class ActionInstanceAccessor extends ElementInstanceAccessor {
|
|
11212
|
-
constructor(client, selector) {
|
|
11213
|
-
super({
|
|
11214
|
-
client,
|
|
11215
|
-
instancePath: 'action-instance',
|
|
11216
|
-
selector,
|
|
11217
|
-
});
|
|
11218
|
-
this.client = client;
|
|
11219
|
-
}
|
|
11220
|
-
async setup() {
|
|
11221
|
-
await this.client.post(this.getPath('setup'));
|
|
11222
|
-
}
|
|
11223
|
-
async reset() {
|
|
11224
|
-
await this.client.post(this.getPath('reset'));
|
|
11225
|
-
}
|
|
11226
|
-
async run(input) {
|
|
11227
|
-
return this.client.post(this.getPath('run'), input);
|
|
11228
|
-
}
|
|
11229
|
-
async open({ onClose = () => { } } = {}) {
|
|
11230
|
-
const id = await this.getId();
|
|
11231
|
-
const uri = await this.client.getEmbedUri(`action-instances/${id}/configuration`);
|
|
11232
|
-
return openIframe(uri, { onClose });
|
|
11233
|
-
}
|
|
11234
|
-
}
|
|
11235
|
-
class ConnectionLevelActionAccessor extends ConnectionLevelElementAccessor {
|
|
11236
|
-
constructor(client, connectionSelector, actionSelector, query) {
|
|
11237
|
-
super(client, connectionSelector, actionSelector, 'actions', query);
|
|
11238
|
-
this.client = client;
|
|
11239
|
-
this.connectionSelector = connectionSelector;
|
|
11240
|
-
this.actionSelector = actionSelector;
|
|
11241
|
-
this.query = query;
|
|
11242
|
-
}
|
|
11243
|
-
async run(input) {
|
|
11244
|
-
return this.client.post(this.uri('/run'), input);
|
|
11245
|
-
}
|
|
11246
|
-
}
|
|
11247
|
-
class ConnectionLevelActionsAccessor extends ConnectionLevelElementsListAccessor {
|
|
11248
|
-
constructor(client, connectionSelector) {
|
|
11249
|
-
super(client, connectionSelector, 'actions');
|
|
11250
|
-
this.client = client;
|
|
11251
|
-
this.connectionSelector = connectionSelector;
|
|
11252
|
-
}
|
|
11253
|
-
}
|
|
11254
|
-
|
|
11255
11181
|
class DataSourcesAccessor extends ElementListAccessor {
|
|
11256
11182
|
constructor(client) {
|
|
11257
11183
|
super(client, 'data-sources');
|
|
@@ -12221,6 +12147,36 @@ class UserAccessor extends CustomerAccessor {
|
|
|
12221
12147
|
}
|
|
12222
12148
|
}
|
|
12223
12149
|
|
|
12150
|
+
class ActionInstancesAccessor extends ElementInstanceListAccessor {
|
|
12151
|
+
constructor(client) {
|
|
12152
|
+
super(client, 'action-instances');
|
|
12153
|
+
}
|
|
12154
|
+
}
|
|
12155
|
+
class ActionInstanceAccessor extends ElementInstanceAccessor {
|
|
12156
|
+
constructor(client, selector) {
|
|
12157
|
+
super({
|
|
12158
|
+
client,
|
|
12159
|
+
instancePath: 'action-instance',
|
|
12160
|
+
selector,
|
|
12161
|
+
});
|
|
12162
|
+
this.client = client;
|
|
12163
|
+
}
|
|
12164
|
+
async setup() {
|
|
12165
|
+
await this.client.post(this.getPath('setup'));
|
|
12166
|
+
}
|
|
12167
|
+
async reset() {
|
|
12168
|
+
await this.client.post(this.getPath('reset'));
|
|
12169
|
+
}
|
|
12170
|
+
async run(input) {
|
|
12171
|
+
return this.client.post(this.getPath('run'), input);
|
|
12172
|
+
}
|
|
12173
|
+
async open({ onClose = () => { } } = {}) {
|
|
12174
|
+
const id = await this.getId();
|
|
12175
|
+
const uri = await this.client.getEmbedUri(`action-instances/${id}/configuration`);
|
|
12176
|
+
return openIframe(uri, { onClose });
|
|
12177
|
+
}
|
|
12178
|
+
}
|
|
12179
|
+
|
|
12224
12180
|
class DataLinkTablesAccessor extends ElementListAccessor {
|
|
12225
12181
|
constructor(client) {
|
|
12226
12182
|
super(client, 'data-link-tables');
|
|
@@ -12491,6 +12447,9 @@ const DEFAULT_API_URI = 'https://api.integration.app';
|
|
|
12491
12447
|
const DEFAULT_UI_URI = 'https://ui.integration.app';
|
|
12492
12448
|
const REFETCH_EXPIRATION_THRESHOLD = 10 * 1000;
|
|
12493
12449
|
function decodeToken(token) {
|
|
12450
|
+
if (token.startsWith('pat-')) {
|
|
12451
|
+
return null;
|
|
12452
|
+
}
|
|
12494
12453
|
const payload = decodeJWT(token);
|
|
12495
12454
|
if (!payload) {
|
|
12496
12455
|
throw new Error('Access token should be a valid JWT token.');
|
|
@@ -12520,7 +12479,7 @@ class MembraneApiClient {
|
|
|
12520
12479
|
}
|
|
12521
12480
|
else {
|
|
12522
12481
|
const payload = decodeToken(this.token);
|
|
12523
|
-
if (payload.exp) {
|
|
12482
|
+
if (payload === null || payload === void 0 ? void 0 : payload.exp) {
|
|
12524
12483
|
const willExpireSoon = new Date(payload.exp * 1000).getTime() - new Date().getTime() < REFETCH_EXPIRATION_THRESHOLD;
|
|
12525
12484
|
if (willExpireSoon) {
|
|
12526
12485
|
this.token = await this.fetchToken();
|
|
@@ -12918,5 +12877,5 @@ function hasMembraneCredentials(cwd) {
|
|
|
12918
12877
|
return getDefaultMembraneConfigLoader().hasWorkspaceCredentials();
|
|
12919
12878
|
}
|
|
12920
12879
|
|
|
12921
|
-
export { ACTIONS, AccessDeniedError, ActionAccessor, ActionApiResponse, ActionDependency, ActionDependencyType, ActionEditableProperties, ActionInstanceAccessor, ActionInstanceApiResponse, ActionInstanceSetupError, ActionInstancesAccessor, ActionRunError, ActionRunLogRecordApiResponse, ActionRunLogStatus, ActionRunResponse, ActionType, ActionsAccessor, AgentSession, AgentSessionInputSchema, AgentSessionStatus, AlertSeverity, AlertStatus, AlertType, ApiRequestSpec, AppDataSchemaAccessor, AppDataSchemaApiResponse, AppDataSchemaInstanceAccessor, AppDataSchemaInstanceApiResponse, AppDataSchemaInstancesAccessor, AppDataSchemasAccessor, AppEventLogRecordApiResponse, AppEventSubscriptionAccessor, AppEventSubscriptionApiResponse, AppEventSubscriptionsAccessor, AppEventTypeAccessor, AppEventTypeApiResponse, AppEventTypesAccessor, AppliedToIntegrations, BadRequestError, BadRequestErrorKey, BaseAction, BaseActionInstance, BaseActionRunLogRecord, BaseAppDataSchema, BaseAppDataSchemaInstance, BaseAppEventSubscription, BaseAppEventType, BaseConnection, BaseCustomer, BaseDataLinkTable, BaseDataLinkTableInstance, BaseDataSource, BaseDataSourceInstance, BaseExternalEvent, BaseExternalEventLogRecord, BaseExternalEventPull, BaseExternalEventSubscription, BaseFieldMapping, BaseFieldMappingInstance, BaseFlow, BaseFlowInstance, BaseFlowRun, BaseIntegration, BaseIntegrationLevelMembraneInterface, BaseIntegrationLevelMembraneInterfaceEditableProperties, BaseIntegrationLevelMembraneInterfaceReadOnlyProperties, BaseMembraneInterface, BaseMembraneInterfaceEditableProperties, BaseMembraneInterfaceReadOnlyProperties, BasePackage, BaseScreen, BaseWorkspaceElement, CONFIG_FILE_NAME, CONNECTOR_AUTH_TYPES, CONNECTOR_CATEGORIES, CONNECTOR_DATA_DIR, CONNECTOR_DOCS_DIR, CONNECTOR_EVENTS_DIR, CONNECTOR_GLOBAL_WEBHOOKS_DIR, CONNECTOR_METHOD_IMPLEMENTATION_SUFFIXES, CONNECTOR_OPERATIONS_DIR, CommonInstancesListQuery, CommonIntegrationOrConnectionQuery, CommonListElementsQuery, ConcurrencyError, ConcurrencyErrorKey, ConfigurationError, ConfigurationState, ConnectionAccessor, ConnectionApiResponse, ConnectionApiResponseWithSecrets, ConnectionDataCollectionAccessor, ConnectionError, ConnectionErrorKey, ConnectionLevelActionAccessor, ConnectionLevelActionsAccessor, ConnectionLevelDataSourceAccessor, ConnectionLevelDataSourcesAccessor, ConnectionLevelFieldMappingAccessor, ConnectionLevelFieldMappingsAccessor, ConnectionLevelFlowAccessor, ConnectionLevelFlowsAccessor, ConnectionMessagePayload, ConnectionOperationAccessor, ConnectionProxy, ConnectionRequest, ConnectionSelector, ConnectionSpec, ConnectionsAccessor, ConnectorAuthMethodTypes, ConnectorCopilotFileChunkTopicKey, ConnectorCopilotSuggestionType, ConnectorDataCollectionEventImplementationType, ConnectorDataCollectionMethodKeys, ConnectorDataLocationTypes, ConnectorEventHandlerMethods, ConnectorEventImplementationType, ConnectorFileUpdateType, ConnectorMethodImplementationType, ConnectorOperationMethodImplementationTypes, ConnectorStatus, CopilotActionStatus, CopilotActionType, CopilotActivityScope, CopilotActivityType, CopilotTaskStatus, CopilotTaskType, CreateActionInstanceRequest, CreateActionRequest, CreateAgentSession, CreateConnectionRequest, CreateCustomerRequest, CreateDataSourceInstanceRequest, CreateDataSourceRequest, CreateFieldMappingRequest, CreateFlowNodeRequest, CreateFlowRequest, CreateFlowRunRequest, CreateIntegrationRequest, CreatePackageRequest, CustomCodeError, CustomerAccessor, CustomerApiResponse, CustomerSelector, CustomersAccessor, DATA_RECORD_SCHEMA, DEFAULT_FULL_SYNC_INTERVAL_SECONDS, DEFAULT_PULL_UPDATES_INTERVAL_SECONDS, DataBuilderFormulaType, DataCollectionCreateRequest, DataCollectionCreateResponse, DataCollectionCreateSpec, DataCollectionDeleteRequest, DataCollectionDeleteResponse, DataCollectionDeleteSpec, DataCollectionEventType, DataCollectionEventTypeSpec, DataCollectionEventsSpec, DataCollectionFindByIdRequest, DataCollectionFindByIdResponse, DataCollectionFindByIdSpec, DataCollectionFindRequest, DataCollectionFindResponse, DataCollectionFindSpec, DataCollectionListRequest, DataCollectionListResponse, DataCollectionListResponseDrilldown, DataCollectionListSpec, DataCollectionMatchRequest, DataCollectionMatchResponse, DataCollectionMatchSpec, DataCollectionMethodRequest, DataCollectionMethodSpec, DataCollectionSearchRequest, DataCollectionSearchResponse, DataCollectionSearchSpec, DataCollectionSpec, DataCollectionUdmSpec, DataCollectionUdmsSpec, DataCollectionUpdateRequest, DataCollectionUpdateResponse, DataCollectionUpdateSpec, DataFilterCondition, DataForm, DataLink, DataLinkDirection, DataLinkTableAccessor, DataLinkTableApiResponse, DataLinkTableConfig, DataLinkTableInstanceAccessor, DataLinkTableInstanceApiResponse, DataLinkTableInstancesAccessor, DataLinkTablesAccessor, DataLocationMethodImplementationTypes, DataLocationTypeCollection, DataLocatorStep, DataLocatorStepArrayItem, DataLocatorStepObjectProperty, DataLocatorStepType, DataRecordSchema, DataSchema, DataSourceAccessor, DataSourceApiResponse, DataSourceEditableProperties, DataSourceInstanceAccessor, DataSourceInstanceApiResponse, DataSourceInstancesAccessor, DataSourceUnitConfig, DataSourcesAccessor, DependencyError, DownstreamFlowNodeRunSchema, EDITABLE_LIMITS, ElementAccessor, ElementInstanceAccessor, ElementInstanceListAccessor, ElementListAccessor, ElementsExportFields, ErrorData, ErrorDataSchema, ErrorType, ExternalEvent, ExternalEventLogRecordApiResponse, ExternalEventLogStatus, ExternalEventPullApiResponse, ExternalEventPullStatus, ExternalEventSubscriptionAccessor, ExternalEventSubscriptionApiResponse, ExternalEventSubscriptionConfig, ExternalEventSubscriptionStatus, ExternalEventSubscriptionType, ExternalEventSubscriptionsAccessor, ExternalEventType, ExternalEventUnitConfig, FLOW_NODE_SPECS, FieldMappingAccessor, FieldMappingApiResponse, FieldMappingDirection, FieldMappingEditableProperties, FieldMappingInstanceAccessor, FieldMappingInstanceApiResponse, FieldMappingInstancesAccessor, FieldMappingUnitConfig, FieldMappingsAccessor, FindActionInstancesQuery, FindActionsQuery, FindConnectionsQuery, FindConnectionsResponse, FindCustomersQuery, FindDataSourceEventsQuery, FindDataSourceInstanceSyncsQuery, FindDataSourceInstancesQuery, FindDataSourceSyncsQuery, FindDataSourcesQuery, FindFieldMappingsQuery, FindFlowInstancesQuery, FindFlowRunsQuery, FindFlowRunsResponse, FindFlowsQuery, FindIntegrationLevelMembraneInterfaceQuery, FindIntegrationsQuery, FindPackagesQuery, FlowAccessor, FlowApiResponse, FlowEditableProperties, FlowInstanceAccessor, FlowInstanceApiResponse, FlowInstanceNode, FlowInstanceNodeState, FlowInstanceSetupError, FlowInstancesAccessor, FlowNode, FlowNodeLink, FlowNodeRunOutputMetadataSchema, FlowNodeRunOutputSchema, FlowNodeRunOutputWithoutDownstreamRunsSchema, FlowNodeRunParametersSchema, FlowNodeRunRecordSchema, FlowNodeRunRecordWithoutOutputsDataSchema, FlowNodeRunResultSchema, FlowNodeRunStatus, FlowNodeSpec, FlowNodeType, FlowRunAccessor, FlowRunApiResponse, FlowRunError, FlowRunLaunchedBy, FlowRunLaunchedByApi, FlowRunLaunchedByTrigger, FlowRunNode, FlowRunNodeState, FlowRunState, FlowRunsAccessor, FlowsAccessor, Formula, HTTP_REQUEST_SCHEMA, HandyScenarioTemplateElement, HttpRequestMethod, HttpRequestSpec, IncludeArchivedQuery, IncomingWebhooksState, IntegrationAccessor, IntegrationApiResponse, MembraneClient as IntegrationAppClient, IntegrationAuthOption, IntegrationAuthUi, IntegrationElementLevel, IntegrationElementType, IntegrationLevelActionAccessor, IntegrationLevelActionsListAccessor, IntegrationLevelDataSourceAccessor, IntegrationLevelDataSourcesListAccessor, IntegrationLevelFieldMappingAccessor, IntegrationLevelFieldMappingsListAccessor, IntegrationLevelFlowAccessor, IntegrationLevelFlowsListAccessor, IntegrationLevelMembraneInterfaceSelectorQuery, IntegrationsAccessor, InternalError, InvalidLocatorError, LimitUnits, ListActionInstancesForConnectionQuery, ListDataSourceInstancesForConnectionQuery, ListExternalEventLogRecordsQuery, ListExternalEventPullsQuery, ListFlowInstancesForConnectionQuery, LogRecordType, MIN_FULL_SYNC_INTERVAL_SECONDS, MIN_PULL_UPDATES_INTERVAL_SECONDS, axios as MembraneAxiosInstance, MembraneClient, MembraneConfigLoader, MembraneError, MinimalConnector, NotAuthenticatedError, NotFoundError, OAUTH1_CONFIG_SCHEMA, OAUTH_CONFIG_SCHEMA, OrgLimitsType, OrgUserRole, OrgUserStatus, PARALLEL_EXECUTION_LIMITS, PackageAccessor, PackageApiResponse, PackageCalculatedProperties, PackageEditableProperties, PackageElement, PackageElementApi, PackagesAccessor, PaginationQuery, PaginationResponse, RATE_LIMITS, RateLimitExceededError, ResetFlowInstanceOptions, RunActionRequest, RunFlowApiRequest, ScenarioAccessor, ScenarioTemplate, ScenarioTemplateCategory, ScenarioTemplateElements, ScenariosAccessor, ScreenAccessor, ScreenApiResponse, ScreenBlock, ScreenBlockType, ScreenType, ScreensAccessor, SearchQuery, SelfAccessor, UDM, UNIFIED_DATA_MODELS, UnitRunError, UpdateActionInstanceRequest, UpdateActionRequest, UpdateConnectionRequest, UpdateCustomerRequest, UpdateDataSourceInstanceRequest, UpdateDataSourceRequest, UpdateFieldMappingRequest, UpdateFlowRequest, UpdateIntegrationRequest, UpdatePackageRequest, UpstreamFlowNodeRunSchema, UsageType, UserAccessor, UsersAccessor, WORKSPACE_SIZE_LIMITS, WebhookTypeEnum, WorkspaceElementDependencyType, WorkspaceElementSpecs, WorkspaceElementState, WorkspaceElementType, WorkspaceEventType, WorkspaceNotificationType, WorkspaceOnboardingStep, WorkspaceSyncEventType, WorkspaceType, __resolveValue, addRequiredFieldsToSchema, addUdmFallbackFields, backwardCompatibleFilterMatch, buildData, buildDataSchema, buildValue, compressDataSchema, createCompoundSchema, createFlowInstanceSchema, createObjectFromLocators, createOrUpdateConnection, createSchema, dataCollectionEventTypeToExternalEventType, dataLocationParametersMatch, doesMatchFilter, excludeFieldsFromSchema, excludeFieldsFromValue, excludeReadOnlyFieldsFromSchema, excludeWriteOnlyFieldsFromSchema, externalEventTypeToDataCollectionEventType, extractFieldLocator, extractMembraneErrorData, findUdmCollectionMapping, findUdmDefaultCollection, findUdmRootLocation, findValueLocators, generateExampleFromSchema, getActionInstanceVariableSchema, getActionRunTimeVariablesSchema, getAllEventMethodFilePaths, getBusinessDaysBetween, getChildNodeKeys, getDataCollectionCreateFields, getDataCollectionUpdateFields, getDataLocationMethodPath, getDefaultMembraneConfigLoader, getDownstreamNodeKeys, getErrorFromData, getEventMethodFileKey, getFilterFieldValuesByLocator, getFlowInstanceNodeDependency, getFlowNode, getFlowNodeConfigTimeVariablesSchema, getFlowNodeDescription, getFlowNodeRunTimeVariablesSchema, getFlowNodeSpec, getFlowNodeTitle, getFormula$1 as getFormula, getFormulaLocators, getFormula as getFormula_internalDoNotUse, getFullNameForLocator, getFullTitleForLocator, getIconUriForLocator, getLocatorsFromData, getLocatorsFromSchema, getMissingRequiredFields, getNameComponentsForLocator, getNameForLocator, getNodeInputSchema, getOperatorsBySchema, getParentNodeKeys, getReferenceCollectionPathForSchema, getReferenceCollectionPointerForSchema, getRequiredFieldsFromSchema, getRootNodeKeys, getSchemaByLocator, getSchemaFromValue, getUpstreamNodeKeys, getValueAtLocator, getValueByLocator, getVariableLocators, getWritableFieldsSchema, hasCycles, hasFormulas$1 as hasFormulas, hasFormulas as hasFormulas_internalDoNotUse, hasMembraneCredentials, injectFormulaCatalog, isBusinessDay, isDataActionType, isDataLocationMethodSupported, isFormula$1 as isFormula, isFormula as isFormula_internalDoNotUse, isMembraneError, isObject, isSameDataLocation, isSchemaEmpty, isStream, isValidLocator, loadMembraneConfig, locatorToField, locatorToSteps, locatorToString, makeDataLocationOperationPath, makeDataLocationPath, makeDataRecordSchema, makeObjectPropertyLocator, makeSchemaForLocator, membraneConfigSchema, mergeSchemas, mergeWithFormulas, nonEmptyObjectProperties, parseDataLocationPath, parseDate, patchSchema, pickFieldsFromSchema, pickFieldsFromValue, populateSchemaTitles, processCopy, removeNonExistentVars, removeRequiredFieldsFromSchema, resolveFormulas, schemaAllowsCustomValue, schemaHasFixedValues, schemaHasProperties, schemaIsNumber, schemaIsScalar, schemaTypeFromValue, schemaWithTitle, setSchemaAtLocator, setValueAtLocator, stepsToLocator, streamToString, transformVariablesWith, transformVars, truncateData, unwrapSchema, unwrapSchemas, updateFlowInstanceSchema, updateImpliedSchema, valueToSchema, valueToString, walkSchema, wrapAnyOfSchema, zodBooleanCoercion };
|
|
12880
|
+
export { ACTIONS, AccessDeniedError, ActionAccessor, ActionApiResponse, ActionDependency, ActionDependencyType, ActionEditableProperties, ActionExportProperties, ActionInstanceAccessor, ActionInstanceApiResponse, ActionInstanceSetupError, ActionInstancesAccessor, ActionRunError, ActionRunLogRecordApiResponse, ActionRunLogStatus, ActionRunResponse, ActionType, ActionsAccessor, AgentSession, AgentSessionInputSchema, AgentSessionStatus, AlertSeverity, AlertStatus, AlertType, ApiRequestSpec, AppDataSchemaAccessor, AppDataSchemaApiResponse, AppDataSchemaInstanceAccessor, AppDataSchemaInstanceApiResponse, AppDataSchemaInstancesAccessor, AppDataSchemasAccessor, AppEventLogRecordApiResponse, AppEventSubscriptionAccessor, AppEventSubscriptionApiResponse, AppEventSubscriptionsAccessor, AppEventTypeAccessor, AppEventTypeApiResponse, AppEventTypesAccessor, AppliedToIntegrations, BadRequestError, BadRequestErrorKey, BaseAction, BaseActionInstance, BaseActionRunLogRecord, BaseAppDataSchema, BaseAppDataSchemaInstance, BaseAppEventSubscription, BaseAppEventType, BaseConnection, BaseCustomer, BaseDataLinkTable, BaseDataLinkTableInstance, BaseDataSource, BaseDataSourceInstance, BaseExternalEvent, BaseExternalEventLogRecord, BaseExternalEventPull, BaseExternalEventSubscription, BaseFieldMapping, BaseFieldMappingInstance, BaseFlow, BaseFlowInstance, BaseFlowRun, BaseIntegration, BaseIntegrationLevelMembraneInterface, BaseIntegrationLevelMembraneInterfaceEditableProperties, BaseIntegrationLevelMembraneInterfaceExportProperties, BaseIntegrationLevelMembraneInterfaceReadOnlyProperties, BaseMembraneInterface, BaseMembraneInterfaceEditableProperties, BaseMembraneInterfaceReadOnlyProperties, BasePackage, BaseScreen, BaseWorkspaceElement, CONFIG_FILE_NAME, CONNECTOR_AUTH_TYPES, CONNECTOR_CATEGORIES, CONNECTOR_DATA_DIR, CONNECTOR_DOCS_DIR, CONNECTOR_EVENTS_DIR, CONNECTOR_GLOBAL_WEBHOOKS_DIR, CONNECTOR_METHOD_IMPLEMENTATION_SUFFIXES, CONNECTOR_OPERATIONS_DIR, CommonInstancesListQuery, CommonIntegrationOrConnectionQuery, CommonListElementsQuery, ConcurrencyError, ConcurrencyErrorKey, ConfigurationError, ConfigurationState, ConnectionAccessor, ConnectionApiResponse, ConnectionApiResponseWithSecrets, ConnectionDataCollectionAccessor, ConnectionError, ConnectionErrorKey, ConnectionLevelActionAccessor, ConnectionLevelActionsAccessor, ConnectionLevelDataSourceAccessor, ConnectionLevelDataSourcesAccessor, ConnectionLevelFieldMappingAccessor, ConnectionLevelFieldMappingsAccessor, ConnectionLevelFlowAccessor, ConnectionLevelFlowsAccessor, ConnectionMessagePayload, ConnectionOperationAccessor, ConnectionProxy, ConnectionRequest, ConnectionSelector, ConnectionSpec, ConnectionsAccessor, ConnectorAuthMethodTypes, ConnectorDataCollectionEventImplementationType, ConnectorDataCollectionMethodKeys, ConnectorDataLocationTypes, ConnectorEventHandlerMethods, ConnectorEventImplementationType, ConnectorFileUpdateType, ConnectorMethodImplementationType, ConnectorOperationMethodImplementationTypes, ConnectorStatus, CreateActionInstanceRequest, CreateActionRequest, CreateAgentSession, CreateConnectionRequest, CreateCustomerRequest, CreateDataSourceInstanceRequest, CreateDataSourceRequest, CreateFieldMappingRequest, CreateFlowNodeRequest, CreateFlowRequest, CreateFlowRunRequest, CreateIntegrationRequest, CreatePackageRequest, CustomCodeError, CustomerAccessor, CustomerApiResponse, CustomerSelector, CustomersAccessor, DATA_RECORD_SCHEMA, DEFAULT_FULL_SYNC_INTERVAL_SECONDS, DEFAULT_PULL_UPDATES_INTERVAL_SECONDS, DataBuilderFormulaType, DataCollectionCreateRequest, DataCollectionCreateResponse, DataCollectionCreateSpec, DataCollectionDeleteRequest, DataCollectionDeleteResponse, DataCollectionDeleteSpec, DataCollectionEventType, DataCollectionEventTypeSpec, DataCollectionEventsSpec, DataCollectionFindByIdRequest, DataCollectionFindByIdResponse, DataCollectionFindByIdSpec, DataCollectionFindRequest, DataCollectionFindResponse, DataCollectionFindSpec, DataCollectionListRequest, DataCollectionListResponse, DataCollectionListResponseDrilldown, DataCollectionListSpec, DataCollectionMatchRequest, DataCollectionMatchResponse, DataCollectionMatchSpec, DataCollectionMethodRequest, DataCollectionMethodSpec, DataCollectionSearchRequest, DataCollectionSearchResponse, DataCollectionSearchSpec, DataCollectionSpec, DataCollectionUdmSpec, DataCollectionUdmsSpec, DataCollectionUpdateRequest, DataCollectionUpdateResponse, DataCollectionUpdateSpec, DataFilterCondition, DataForm, DataLink, DataLinkDirection, DataLinkTableAccessor, DataLinkTableApiResponse, DataLinkTableConfig, DataLinkTableInstanceAccessor, DataLinkTableInstanceApiResponse, DataLinkTableInstancesAccessor, DataLinkTablesAccessor, DataLocationMethodImplementationTypes, DataLocationTypeCollection, DataLocatorStep, DataLocatorStepArrayItem, DataLocatorStepObjectProperty, DataLocatorStepType, DataRecordSchema, DataSchema, DataSourceAccessor, DataSourceApiResponse, DataSourceEditableProperties, DataSourceExportProperties, DataSourceInstanceAccessor, DataSourceInstanceApiResponse, DataSourceInstancesAccessor, DataSourceUnitConfig, DataSourcesAccessor, DependencyError, DownstreamFlowNodeRunSchema, EDITABLE_LIMITS, ElementAccessor, ElementInstanceAccessor, ElementInstanceListAccessor, ElementListAccessor, ElementsExportFields, ErrorData, ErrorDataSchema, ErrorType, ExternalEvent, ExternalEventLogRecordApiResponse, ExternalEventLogStatus, ExternalEventPullApiResponse, ExternalEventPullStatus, ExternalEventSubscriptionAccessor, ExternalEventSubscriptionApiResponse, ExternalEventSubscriptionConfig, ExternalEventSubscriptionStatus, ExternalEventSubscriptionType, ExternalEventSubscriptionsAccessor, ExternalEventType, ExternalEventUnitConfig, FLOW_NODE_SPECS, FieldMappingAccessor, FieldMappingApiResponse, FieldMappingDirection, FieldMappingEditableProperties, FieldMappingExportProperties, FieldMappingInstanceAccessor, FieldMappingInstanceApiResponse, FieldMappingInstancesAccessor, FieldMappingUnitConfig, FieldMappingsAccessor, FindActionInstancesQuery, FindActionsQuery, FindConnectionsQuery, FindConnectionsResponse, FindCustomersQuery, FindDataSourceEventsQuery, FindDataSourceInstanceSyncsQuery, FindDataSourceInstancesQuery, FindDataSourceSyncsQuery, FindDataSourcesQuery, FindFieldMappingsQuery, FindFlowInstancesQuery, FindFlowRunsQuery, FindFlowRunsResponse, FindFlowsQuery, FindIntegrationLevelMembraneInterfaceQuery, FindIntegrationsQuery, FindPackagesQuery, FlowAccessor, FlowApiResponse, FlowEditableProperties, FlowExportProperties, FlowInstanceAccessor, FlowInstanceApiResponse, FlowInstanceNode, FlowInstanceNodeState, FlowInstanceSetupError, FlowInstancesAccessor, FlowNode, FlowNodeLink, FlowNodeRunOutputMetadataSchema, FlowNodeRunOutputSchema, FlowNodeRunOutputWithoutDownstreamRunsSchema, FlowNodeRunParametersSchema, FlowNodeRunRecordSchema, FlowNodeRunRecordWithoutOutputsDataSchema, FlowNodeRunResultSchema, FlowNodeRunStatus, FlowNodeSpec, FlowNodeType, FlowRunAccessor, FlowRunApiResponse, FlowRunError, FlowRunLaunchedBy, FlowRunLaunchedByApi, FlowRunLaunchedByTrigger, FlowRunNode, FlowRunNodeState, FlowRunState, FlowRunsAccessor, FlowsAccessor, Formula, HTTP_REQUEST_SCHEMA, HandyScenarioTemplateElement, HttpRequestMethod, HttpRequestSpec, IncludeArchivedQuery, IncomingWebhooksState, IntegrationAccessor, IntegrationApiResponse, MembraneClient as IntegrationAppClient, IntegrationAuthOption, IntegrationAuthUi, IntegrationElementLevel, IntegrationElementType, IntegrationExportProperties, IntegrationLevelActionAccessor, IntegrationLevelActionsListAccessor, IntegrationLevelDataSourceAccessor, IntegrationLevelDataSourcesListAccessor, IntegrationLevelFieldMappingAccessor, IntegrationLevelFieldMappingsListAccessor, IntegrationLevelFlowAccessor, IntegrationLevelFlowsListAccessor, IntegrationLevelMembraneInterfaceSelectorQuery, IntegrationsAccessor, InternalError, InvalidLocatorError, LimitUnits, ListActionInstancesForConnectionQuery, ListDataSourceInstancesForConnectionQuery, ListExternalEventLogRecordsQuery, ListExternalEventPullsQuery, ListFlowInstancesForConnectionQuery, LogRecordType, MEMBRANE_ELEMENT_CONFIG_FILE_NAME, MIN_FULL_SYNC_INTERVAL_SECONDS, MIN_PULL_UPDATES_INTERVAL_SECONDS, axios as MembraneAxiosInstance, MembraneClient, MembraneConfigLoader, MembraneError, MinimalConnector, NotAuthenticatedError, NotFoundError, OAUTH1_CONFIG_SCHEMA, OAUTH_CONFIG_SCHEMA, OrgLimitsType, OrgUserRole, OrgUserStatus, PARALLEL_EXECUTION_LIMITS, PackageAccessor, PackageApiResponse, PackageCalculatedProperties, PackageEditableProperties, PackageElement, PackageElementApi, PackageElementExport, PackageExportProperties, PackagesAccessor, PaginationQuery, PaginationResponse, RATE_LIMITS, RateLimitExceededError, ResetFlowInstanceOptions, RunActionRequest, RunFlowApiRequest, ScenarioAccessor, ScenarioTemplate, ScenarioTemplateCategory, ScenarioTemplateElements, ScenariosAccessor, ScreenAccessor, ScreenApiResponse, ScreenBlock, ScreenBlockType, ScreenType, ScreensAccessor, SearchQuery, SelfAccessor, UDM, UNIFIED_DATA_MODELS, UnitRunError, UpdateActionInstanceRequest, UpdateActionRequest, UpdateConnectionRequest, UpdateCustomerRequest, UpdateDataSourceInstanceRequest, UpdateDataSourceRequest, UpdateFieldMappingRequest, UpdateFlowRequest, UpdateIntegrationRequest, UpdatePackageRequest, UpstreamFlowNodeRunSchema, UsageType, UserAccessor, UsersAccessor, WORKSPACE_SIZE_LIMITS, WebhookTypeEnum, WorkspaceElementDependencyType, WorkspaceElementSpecs, WorkspaceElementState, WorkspaceElementType, WorkspaceEventType, WorkspaceNotificationType, WorkspaceOnboardingStep, WorkspaceSyncEventType, WorkspaceType, __resolveValue, addRequiredFieldsToSchema, addUdmFallbackFields, backwardCompatibleFilterMatch, buildData, buildDataSchema, buildValue, compressDataSchema, createCompoundSchema, createFlowInstanceSchema, createObjectFromLocators, createOrUpdateConnection, createSchema, dataCollectionEventTypeToExternalEventType, dataLocationParametersMatch, doesMatchFilter, excludeFieldsFromSchema, excludeFieldsFromValue, excludeReadOnlyFieldsFromSchema, excludeWriteOnlyFieldsFromSchema, externalEventTypeToDataCollectionEventType, extractFieldLocator, extractMembraneErrorData, findUdmCollectionMapping, findUdmDefaultCollection, findUdmRootLocation, findValueLocators, generateExampleFromSchema, getActionInstanceVariableSchema, getActionRunTimeVariablesSchema, getAllEventMethodFilePaths, getBusinessDaysBetween, getChildNodeKeys, getDataCollectionCreateFields, getDataCollectionUpdateFields, getDataLocationMethodPath, getDefaultMembraneConfigLoader, getDownstreamNodeKeys, getErrorFromData, getEventMethodFileKey, getFilterFieldValuesByLocator, getFlowInstanceNodeDependency, getFlowNode, getFlowNodeConfigTimeVariablesSchema, getFlowNodeDescription, getFlowNodeRunTimeVariablesSchema, getFlowNodeSpec, getFlowNodeTitle, getFormula$1 as getFormula, getFormulaLocators, getFormula as getFormula_internalDoNotUse, getFullNameForLocator, getFullTitleForLocator, getIconUriForLocator, getLocatorsFromData, getLocatorsFromSchema, getMembraneElementPath, getMissingRequiredFields, getNameComponentsForLocator, getNameForLocator, getNodeInputSchema, getOperatorsBySchema, getParentNodeKeys, getReferenceCollectionPathForSchema, getReferenceCollectionPointerForSchema, getRequiredFieldsFromSchema, getRootNodeKeys, getSchemaByLocator, getSchemaFromValue, getUpstreamNodeKeys, getValueAtLocator, getValueByLocator, getVariableLocators, getWritableFieldsSchema, hasCycles, hasFormulas$1 as hasFormulas, hasFormulas as hasFormulas_internalDoNotUse, hasMembraneCredentials, injectFormulaCatalog, isBusinessDay, isDataActionType, isDataLocationMethodSupported, isFormula$1 as isFormula, isFormula as isFormula_internalDoNotUse, isMembraneError, isObject, isSameDataLocation, isSchemaEmpty, isStream, isValidLocator, loadMembraneConfig, locatorToField, locatorToSteps, locatorToString, makeDataLocationOperationPath, makeDataLocationPath, makeDataRecordSchema, makeObjectPropertyLocator, makeSchemaForLocator, membraneConfigSchema, mergeSchemas, mergeWithFormulas, nonEmptyObjectProperties, parseDataLocationPath, parseDate, parseMembraneElementPath, patchSchema, pickFieldsFromSchema, pickFieldsFromValue, populateSchemaTitles, processCopy, removeNonExistentVars, removeRequiredFieldsFromSchema, resolveFormulas, schemaAllowsCustomValue, schemaHasFixedValues, schemaHasProperties, schemaIsNumber, schemaIsScalar, schemaTypeFromValue, schemaWithTitle, setSchemaAtLocator, setValueAtLocator, stepsToLocator, streamToString, transformVariablesWith, transformVars, truncateData, unwrapSchema, unwrapSchemas, updateFlowInstanceSchema, updateImpliedSchema, valueToSchema, valueToString, walkSchema, wrapAnyOfSchema, zodBooleanCoercion };
|
|
12922
12881
|
//# sourceMappingURL=index.node.mjs.map
|