@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.browser.mjs
CHANGED
|
@@ -3383,6 +3383,7 @@ const zodBooleanCoercion = () => z.preprocess((val) => {
|
|
|
3383
3383
|
return Boolean(val);
|
|
3384
3384
|
return Boolean(val);
|
|
3385
3385
|
}, z.boolean());
|
|
3386
|
+
|
|
3386
3387
|
const IncludeArchivedQuery = z.object({
|
|
3387
3388
|
includeArchived: zodBooleanCoercion().optional(),
|
|
3388
3389
|
});
|
|
@@ -3437,7 +3438,6 @@ var WorkspaceElementType;
|
|
|
3437
3438
|
WorkspaceElementType["ExternalEventSubscription"] = "external-event-subscription";
|
|
3438
3439
|
WorkspaceElementType["ExternalEventLogRecord"] = "external-event-log-record";
|
|
3439
3440
|
WorkspaceElementType["ExternalEventPull"] = "external-event-pull";
|
|
3440
|
-
WorkspaceElementType["DataCollection"] = "data-collection";
|
|
3441
3441
|
WorkspaceElementType["Screen"] = "screen";
|
|
3442
3442
|
WorkspaceElementType["ActionRunLogRecord"] = "action-run-log-record";
|
|
3443
3443
|
})(WorkspaceElementType || (WorkspaceElementType = {}));
|
|
@@ -3469,9 +3469,9 @@ const BaseWorkspaceElement = z.object({
|
|
|
3469
3469
|
name: z.string(),
|
|
3470
3470
|
});
|
|
3471
3471
|
const BaseMembraneInterfaceEditableProperties = z.object({
|
|
3472
|
+
uuid: z.string().optional(),
|
|
3472
3473
|
key: z.string().optional(),
|
|
3473
3474
|
name: z.string().optional(),
|
|
3474
|
-
uuid: z.string().optional(),
|
|
3475
3475
|
description: z.string().optional(),
|
|
3476
3476
|
meta: z.record(z.string(), z.any()).optional(),
|
|
3477
3477
|
});
|
|
@@ -3487,14 +3487,20 @@ const BaseMembraneInterfaceReadOnlyProperties = z.object({
|
|
|
3487
3487
|
});
|
|
3488
3488
|
const BaseMembraneInterface = BaseWorkspaceElement.merge(BaseMembraneInterfaceEditableProperties).merge(BaseMembraneInterfaceReadOnlyProperties);
|
|
3489
3489
|
const BaseIntegrationLevelMembraneInterfaceEditableProperties = BaseMembraneInterfaceEditableProperties.extend({
|
|
3490
|
-
integrationUuid: z.string().optional(),
|
|
3491
|
-
parentUuid: z.string().optional(),
|
|
3492
3490
|
integrationId: z.string().optional(),
|
|
3491
|
+
integrationUuid: z.string().optional(),
|
|
3493
3492
|
parentId: z.string().optional(),
|
|
3493
|
+
parentUuid: z.string().optional(),
|
|
3494
|
+
connectionId: z.string().optional(),
|
|
3495
|
+
instanceKey: z.string().optional(),
|
|
3494
3496
|
});
|
|
3495
3497
|
const BaseIntegrationLevelMembraneInterfaceReadOnlyProperties = BaseMembraneInterfaceReadOnlyProperties.extend({
|
|
3496
3498
|
isCustomized: z.boolean().optional(),
|
|
3497
3499
|
});
|
|
3500
|
+
const BaseIntegrationLevelMembraneInterfaceExportProperties = BaseMembraneInterfaceEditableProperties.extend({
|
|
3501
|
+
integrationUuid: z.string().optional(),
|
|
3502
|
+
parentUuid: z.string().optional(),
|
|
3503
|
+
});
|
|
3498
3504
|
const IntegrationLevelMembraneInterfaceSelectorQuery = z.object({
|
|
3499
3505
|
layer: z.enum(['universal', 'integration', 'connection']).optional(),
|
|
3500
3506
|
integrationKey: z.string().optional(),
|
|
@@ -3545,14 +3551,11 @@ var FieldMappingDirection;
|
|
|
3545
3551
|
FieldMappingDirection["EXPORT"] = "export";
|
|
3546
3552
|
FieldMappingDirection["BOTH"] = "both";
|
|
3547
3553
|
})(FieldMappingDirection || (FieldMappingDirection = {}));
|
|
3548
|
-
const
|
|
3549
|
-
parentId: true,
|
|
3550
|
-
}).extend({
|
|
3554
|
+
const FieldMappingSpecificProperties = z.object({
|
|
3551
3555
|
connectionId: z.string().optional(),
|
|
3552
3556
|
fieldMappingId: z.string().optional(),
|
|
3553
3557
|
universalFieldMappingId: z.string().optional(),
|
|
3554
3558
|
dataSourceKey: z.string().optional(),
|
|
3555
|
-
dataSourceId: z.string().optional(),
|
|
3556
3559
|
appSchema: DataSchema.optional(),
|
|
3557
3560
|
direction: z.enum(FieldMappingDirection).optional(),
|
|
3558
3561
|
defaultImportValue: z.any().optional(),
|
|
@@ -3563,6 +3566,14 @@ const FieldMappingEditableProperties = BaseIntegrationLevelMembraneInterfaceEdit
|
|
|
3563
3566
|
frozenExportFields: z.any().optional(),
|
|
3564
3567
|
frozenUnifiedExportFields: z.any().optional(),
|
|
3565
3568
|
});
|
|
3569
|
+
const FieldMappingEditableProperties = BaseIntegrationLevelMembraneInterfaceEditableProperties.omit({
|
|
3570
|
+
parentId: true,
|
|
3571
|
+
}).extend(FieldMappingSpecificProperties.shape);
|
|
3572
|
+
const FieldMappingExportProperties = BaseIntegrationLevelMembraneInterfaceExportProperties.extend(FieldMappingSpecificProperties.shape).omit({
|
|
3573
|
+
connectionId: true,
|
|
3574
|
+
fieldMappingId: true,
|
|
3575
|
+
universalFieldMappingId: true,
|
|
3576
|
+
});
|
|
3566
3577
|
const FieldMappingReadOnlyProperties = BaseIntegrationLevelMembraneInterfaceReadOnlyProperties.extend({
|
|
3567
3578
|
universalFieldMappingRevision: z.string().optional(),
|
|
3568
3579
|
});
|
|
@@ -3686,15 +3697,19 @@ const ActionDependency = z.object({
|
|
|
3686
3697
|
key: z.string(),
|
|
3687
3698
|
element: z.any().optional(),
|
|
3688
3699
|
});
|
|
3689
|
-
const
|
|
3700
|
+
const ActionSpecificProperties = z.object({
|
|
3690
3701
|
connectionId: z.string().optional(),
|
|
3691
3702
|
instanceKey: z.string().optional(),
|
|
3692
3703
|
inputSchema: DataSchema.optional(),
|
|
3693
3704
|
type: z.enum(ActionType).optional(),
|
|
3694
|
-
config: z.
|
|
3705
|
+
config: z.object({}).loose().optional(),
|
|
3695
3706
|
outputMapping: z.any().optional(),
|
|
3696
3707
|
customOutputSchema: DataSchema.optional(),
|
|
3697
3708
|
});
|
|
3709
|
+
const ActionEditableProperties = BaseIntegrationLevelMembraneInterfaceEditableProperties.extend(ActionSpecificProperties.shape);
|
|
3710
|
+
const ActionExportProperties = BaseIntegrationLevelMembraneInterfaceExportProperties.extend(ActionSpecificProperties.shape).omit({
|
|
3711
|
+
connectionId: true,
|
|
3712
|
+
});
|
|
3698
3713
|
const ActionReadOnlyProperties = BaseIntegrationLevelMembraneInterfaceReadOnlyProperties.extend({
|
|
3699
3714
|
universalParentId: z.string().optional(),
|
|
3700
3715
|
userId: z.string().optional(),
|
|
@@ -8403,9 +8418,7 @@ const DEFAULT_PULL_UPDATES_INTERVAL_SECONDS = 60 * 5;
|
|
|
8403
8418
|
const DEFAULT_FULL_SYNC_INTERVAL_SECONDS = 60 * 60 * 3;
|
|
8404
8419
|
const MIN_FULL_SYNC_INTERVAL_SECONDS = 1 * 60;
|
|
8405
8420
|
const MIN_PULL_UPDATES_INTERVAL_SECONDS = 1 * 60;
|
|
8406
|
-
const
|
|
8407
|
-
parentId: true,
|
|
8408
|
-
}).extend({
|
|
8421
|
+
const DataSourceSpecificProperties = z.object({
|
|
8409
8422
|
connectionId: z.string().optional(),
|
|
8410
8423
|
dataSourceId: z.string().optional(),
|
|
8411
8424
|
universalDataSourceId: z.string().optional(),
|
|
@@ -8416,18 +8429,27 @@ const DataSourceEditableProperties = BaseIntegrationLevelMembraneInterfaceEditab
|
|
|
8416
8429
|
collectionParameters: z.any().optional(),
|
|
8417
8430
|
defaultPath: z.string().optional(),
|
|
8418
8431
|
});
|
|
8432
|
+
const DataSourceEditableProperties = BaseIntegrationLevelMembraneInterfaceEditableProperties.omit({
|
|
8433
|
+
parentId: true,
|
|
8434
|
+
}).extend(DataSourceSpecificProperties.shape);
|
|
8435
|
+
const DataSourceExportProperties = BaseIntegrationLevelMembraneInterfaceExportProperties.extend(DataSourceSpecificProperties.shape).omit({
|
|
8436
|
+
connectionId: true,
|
|
8437
|
+
dataSourceId: true,
|
|
8438
|
+
universalDataSourceId: true,
|
|
8439
|
+
});
|
|
8419
8440
|
const DataSourceReadOnlyProperties = BaseIntegrationLevelMembraneInterfaceReadOnlyProperties.extend({
|
|
8420
8441
|
universalDataSourceRevision: z.string().optional(),
|
|
8421
8442
|
});
|
|
8422
8443
|
const BaseDataSource = BaseMembraneInterface.merge(DataSourceEditableProperties).merge(DataSourceReadOnlyProperties);
|
|
8423
8444
|
const DataSourceUnitConfig = z.object({
|
|
8424
|
-
key: z.
|
|
8445
|
+
key: z.any().optional(),
|
|
8425
8446
|
collectionKey: z.any().optional(),
|
|
8426
8447
|
collectionParameters: z.any().optional(),
|
|
8427
8448
|
udm: z.any().optional(),
|
|
8428
|
-
path: z.string().optional(),
|
|
8429
8449
|
pullUpdatesIntervalSeconds: z.number().optional(),
|
|
8430
8450
|
fullSyncIntervalSeconds: z.number().optional(),
|
|
8451
|
+
path: z.any().optional(),
|
|
8452
|
+
defaultPath: z.any().optional(),
|
|
8431
8453
|
});
|
|
8432
8454
|
|
|
8433
8455
|
const BaseDataSourceInstance = BaseMembraneInterface.extend({
|
|
@@ -8894,16 +8916,22 @@ const FLOW_NODE_SPECS = {
|
|
|
8894
8916
|
[FlowNodeType.RunAction]: RunAction,
|
|
8895
8917
|
};
|
|
8896
8918
|
|
|
8897
|
-
const
|
|
8898
|
-
parentId: true,
|
|
8899
|
-
}).extend({
|
|
8900
|
-
connectionId: z.string().optional(),
|
|
8919
|
+
const FlowSpecificProperties = z.object({
|
|
8901
8920
|
flowId: z.string().optional(),
|
|
8902
8921
|
universalFlowId: z.string().optional(),
|
|
8903
8922
|
parametersSchema: DataSchema.optional(),
|
|
8923
|
+
parameters: z.any().optional(),
|
|
8924
|
+
enabled: z.boolean().optional(),
|
|
8904
8925
|
nodes: z.record(z.string(), FlowNode).optional(),
|
|
8905
8926
|
autoCreateInstances: z.boolean().optional(),
|
|
8906
8927
|
});
|
|
8928
|
+
const FlowEditableProperties = BaseIntegrationLevelMembraneInterfaceEditableProperties.omit({
|
|
8929
|
+
parentId: true,
|
|
8930
|
+
}).extend(FlowSpecificProperties.shape);
|
|
8931
|
+
const FlowExportProperties = BaseIntegrationLevelMembraneInterfaceExportProperties.extend(FlowSpecificProperties.shape).omit({
|
|
8932
|
+
flowId: true,
|
|
8933
|
+
universalFlowId: true,
|
|
8934
|
+
});
|
|
8907
8935
|
const FlowReadOnlyProperties = BaseIntegrationLevelMembraneInterfaceReadOnlyProperties.extend({
|
|
8908
8936
|
universalFlowRevision: z.string().optional(),
|
|
8909
8937
|
});
|
|
@@ -8931,6 +8959,14 @@ const BaseIntegration = BaseMembraneInterface.extend({
|
|
|
8931
8959
|
isDeactivated: z.boolean().optional(),
|
|
8932
8960
|
authType: z.enum(CONNECTOR_AUTH_TYPES).optional(),
|
|
8933
8961
|
});
|
|
8962
|
+
const IntegrationExportProperties = BaseMembraneInterfaceEditableProperties.extend({
|
|
8963
|
+
logoUri: z.string(),
|
|
8964
|
+
connectorUuid: z.string().optional(),
|
|
8965
|
+
connectorVersion: z.string().optional(),
|
|
8966
|
+
oAuthCallbackUri: z.string().optional(),
|
|
8967
|
+
parameters: z.any().optional(),
|
|
8968
|
+
appUuid: z.string().optional(),
|
|
8969
|
+
});
|
|
8934
8970
|
const AppliedToIntegrations = (elementSchema) => z.array(z.object({
|
|
8935
8971
|
element: elementSchema,
|
|
8936
8972
|
integration: BaseIntegration,
|
|
@@ -8961,12 +8997,17 @@ const PackageElement = z.object({
|
|
|
8961
8997
|
type: z.enum(IntegrationElementType),
|
|
8962
8998
|
element: z.any().optional(),
|
|
8963
8999
|
});
|
|
8964
|
-
const
|
|
9000
|
+
const PackageElementExport = z.object({
|
|
9001
|
+
uuid: z.string(),
|
|
9002
|
+
type: z.enum(IntegrationElementType),
|
|
9003
|
+
element: z.any().optional(),
|
|
9004
|
+
});
|
|
9005
|
+
const PackageEditableProperties = BaseIntegrationLevelMembraneInterfaceEditableProperties.extend({
|
|
8965
9006
|
scenarioTemplateId: z.string().optional(),
|
|
8966
9007
|
elements: z.array(PackageElement).optional(),
|
|
8967
|
-
|
|
8968
|
-
|
|
8969
|
-
|
|
9008
|
+
});
|
|
9009
|
+
const PackageExportProperties = BaseIntegrationLevelMembraneInterfaceExportProperties.extend({
|
|
9010
|
+
elements: z.array(PackageElementExport).optional(),
|
|
8970
9011
|
});
|
|
8971
9012
|
const PackageCalculatedProperties = z.object({
|
|
8972
9013
|
key: z.string(),
|
|
@@ -9200,6 +9241,7 @@ const BaseAppEventType = BaseMembraneInterface.extend({
|
|
|
9200
9241
|
example: z.any().optional(),
|
|
9201
9242
|
schema: DataSchema.optional(),
|
|
9202
9243
|
globalWebhookUri: z.string(),
|
|
9244
|
+
tenantIdFormula: z.any().optional(),
|
|
9203
9245
|
userIdFormula: z.any().optional(),
|
|
9204
9246
|
});
|
|
9205
9247
|
|
|
@@ -9882,6 +9924,7 @@ const WorkspaceElementSpecs = {
|
|
|
9882
9924
|
apiPath: 'integrations',
|
|
9883
9925
|
name: 'Integration',
|
|
9884
9926
|
namePlural: 'Integrations',
|
|
9927
|
+
exportPropertiesSchema: IntegrationExportProperties,
|
|
9885
9928
|
},
|
|
9886
9929
|
[WorkspaceElementType.Connector]: {
|
|
9887
9930
|
type: WorkspaceElementType.Connector,
|
|
@@ -9901,6 +9944,7 @@ const WorkspaceElementSpecs = {
|
|
|
9901
9944
|
name: 'Package',
|
|
9902
9945
|
namePlural: 'Packages',
|
|
9903
9946
|
editablePropertiesSchema: PackageEditableProperties,
|
|
9947
|
+
exportPropertiesSchema: PackageExportProperties,
|
|
9904
9948
|
apiResponseSchema: PackageApiResponse,
|
|
9905
9949
|
findQuerySchema: FindPackagesQuery,
|
|
9906
9950
|
isMembraneInterface: true,
|
|
@@ -9919,6 +9963,7 @@ const WorkspaceElementSpecs = {
|
|
|
9919
9963
|
name: 'Action',
|
|
9920
9964
|
namePlural: 'Actions',
|
|
9921
9965
|
editablePropertiesSchema: ActionEditableProperties,
|
|
9966
|
+
exportPropertiesSchema: ActionExportProperties,
|
|
9922
9967
|
apiResponseSchema: ActionApiResponse,
|
|
9923
9968
|
findQuerySchema: FindActionsQuery,
|
|
9924
9969
|
isMembraneInterface: true,
|
|
@@ -9937,6 +9982,7 @@ const WorkspaceElementSpecs = {
|
|
|
9937
9982
|
namePlural: 'Flows',
|
|
9938
9983
|
parentFieldKey: 'universalFlowId',
|
|
9939
9984
|
editablePropertiesSchema: FlowEditableProperties,
|
|
9985
|
+
exportPropertiesSchema: FlowExportProperties,
|
|
9940
9986
|
apiResponseSchema: FlowApiResponse,
|
|
9941
9987
|
findQuerySchema: FindFlowsQuery,
|
|
9942
9988
|
isMembraneInterface: true,
|
|
@@ -9966,6 +10012,7 @@ const WorkspaceElementSpecs = {
|
|
|
9966
10012
|
namePlural: 'Field Mappings',
|
|
9967
10013
|
parentFieldKey: 'universalFieldMappingId',
|
|
9968
10014
|
editablePropertiesSchema: FieldMappingEditableProperties,
|
|
10015
|
+
exportPropertiesSchema: FieldMappingExportProperties,
|
|
9969
10016
|
apiResponseSchema: FieldMappingApiResponse,
|
|
9970
10017
|
findQuerySchema: FindFieldMappingsQuery,
|
|
9971
10018
|
isMembraneInterface: true,
|
|
@@ -9980,12 +10027,6 @@ const WorkspaceElementSpecs = {
|
|
|
9980
10027
|
universalParentFieldKey: 'universalFieldMappingId',
|
|
9981
10028
|
isMembraneInterface: true,
|
|
9982
10029
|
},
|
|
9983
|
-
[WorkspaceElementType.DataCollection]: {
|
|
9984
|
-
type: WorkspaceElementType.DataCollection,
|
|
9985
|
-
apiPath: 'data-collections',
|
|
9986
|
-
name: 'Data Collection',
|
|
9987
|
-
namePlural: 'Data Collections',
|
|
9988
|
-
},
|
|
9989
10030
|
[WorkspaceElementType.DataSource]: {
|
|
9990
10031
|
type: WorkspaceElementType.DataSource,
|
|
9991
10032
|
apiPath: 'data-sources',
|
|
@@ -9993,6 +10034,7 @@ const WorkspaceElementSpecs = {
|
|
|
9993
10034
|
namePlural: 'Data Sources',
|
|
9994
10035
|
parentFieldKey: 'universalDataSourceId',
|
|
9995
10036
|
editablePropertiesSchema: DataSourceEditableProperties,
|
|
10037
|
+
exportPropertiesSchema: DataSourceExportProperties,
|
|
9996
10038
|
apiResponseSchema: DataSourceApiResponse,
|
|
9997
10039
|
findQuerySchema: FindDataSourcesQuery,
|
|
9998
10040
|
isMembraneInterface: true,
|
|
@@ -10085,6 +10127,44 @@ const WorkspaceElementSpecs = {
|
|
|
10085
10127
|
},
|
|
10086
10128
|
};
|
|
10087
10129
|
|
|
10130
|
+
const MEMBRANE_ELEMENT_CONFIG_FILE_NAME = 'spec.yaml';
|
|
10131
|
+
function getMembraneElementPath(elementType, elementKey, integrationKey) {
|
|
10132
|
+
const elementTypePath = WorkspaceElementSpecs[elementType].apiPath;
|
|
10133
|
+
if (!integrationKey) {
|
|
10134
|
+
return `${elementTypePath}/${elementKey}/${MEMBRANE_ELEMENT_CONFIG_FILE_NAME}`;
|
|
10135
|
+
}
|
|
10136
|
+
const integrationTypePath = WorkspaceElementSpecs[WorkspaceElementType.Integration].apiPath;
|
|
10137
|
+
return `${integrationTypePath}/${integrationKey}/${elementTypePath}/${elementKey}/${MEMBRANE_ELEMENT_CONFIG_FILE_NAME}`;
|
|
10138
|
+
}
|
|
10139
|
+
function parseMembraneElementPath(relativePath) {
|
|
10140
|
+
const typeByApiPath = new Map();
|
|
10141
|
+
for (const spec of Object.values(WorkspaceElementSpecs)) {
|
|
10142
|
+
typeByApiPath.set(spec.apiPath, spec.type);
|
|
10143
|
+
}
|
|
10144
|
+
const elementTypes = Object.values(WorkspaceElementSpecs)
|
|
10145
|
+
.map((spec) => spec.apiPath)
|
|
10146
|
+
.join('|');
|
|
10147
|
+
const universalPattern = new RegExp(`^(?<elementType>${elementTypes})/(?<elementKey>[^/]+)/${MEMBRANE_ELEMENT_CONFIG_FILE_NAME}$`);
|
|
10148
|
+
const universalMatch = relativePath.match(universalPattern);
|
|
10149
|
+
if (universalMatch === null || universalMatch === void 0 ? void 0 : universalMatch.groups) {
|
|
10150
|
+
const { elementType: elementTypePath, elementKey } = universalMatch.groups;
|
|
10151
|
+
const elementType = typeByApiPath.get(elementTypePath);
|
|
10152
|
+
if (elementType) {
|
|
10153
|
+
return { type: elementType, key: elementKey };
|
|
10154
|
+
}
|
|
10155
|
+
}
|
|
10156
|
+
const integrationLevelPattern = new RegExp(`^integrations/(?<integrationKey>[^/]+)/(?<elementType>${elementTypes})/(?<elementKey>[^/]+)/${MEMBRANE_ELEMENT_CONFIG_FILE_NAME}$`);
|
|
10157
|
+
const integrationLevelMatch = relativePath.match(integrationLevelPattern);
|
|
10158
|
+
if (integrationLevelMatch === null || integrationLevelMatch === void 0 ? void 0 : integrationLevelMatch.groups) {
|
|
10159
|
+
const { integrationKey, elementType: elementTypePath, elementKey } = integrationLevelMatch.groups;
|
|
10160
|
+
const elementType = typeByApiPath.get(elementTypePath);
|
|
10161
|
+
if (elementType) {
|
|
10162
|
+
return { type: elementType, key: elementKey, integrationKey };
|
|
10163
|
+
}
|
|
10164
|
+
}
|
|
10165
|
+
return undefined;
|
|
10166
|
+
}
|
|
10167
|
+
|
|
10088
10168
|
class SelfAccessor {
|
|
10089
10169
|
constructor(client) {
|
|
10090
10170
|
this.client = client;
|
|
@@ -10097,136 +10177,6 @@ class SelfAccessor {
|
|
|
10097
10177
|
}
|
|
10098
10178
|
}
|
|
10099
10179
|
|
|
10100
|
-
var ConnectorCopilotSuggestionType;
|
|
10101
|
-
(function (ConnectorCopilotSuggestionType) {
|
|
10102
|
-
ConnectorCopilotSuggestionType["AuthType"] = "auth-type";
|
|
10103
|
-
ConnectorCopilotSuggestionType["AuthImplementation"] = "auth-implementation";
|
|
10104
|
-
ConnectorCopilotSuggestionType["AuthConnectionParameters"] = "auth-connection-parameters";
|
|
10105
|
-
ConnectorCopilotSuggestionType["AuthApiClient"] = "auth-api-client";
|
|
10106
|
-
ConnectorCopilotSuggestionType["DataCollection"] = "data-collection";
|
|
10107
|
-
ConnectorCopilotSuggestionType["DataCollectionOperationApiRequests"] = "data-location-operation-api-requests";
|
|
10108
|
-
ConnectorCopilotSuggestionType["DataCollectionOperationApiRequestMapping"] = "data-location-operation-api-request-mapping";
|
|
10109
|
-
ConnectorCopilotSuggestionType["DataCollectionFieldsSchema"] = "data-location-fields-schema";
|
|
10110
|
-
ConnectorCopilotSuggestionType["UdmList"] = "udm-list";
|
|
10111
|
-
ConnectorCopilotSuggestionType["UdmFieldsMapping"] = "udm-fields-mapping";
|
|
10112
|
-
ConnectorCopilotSuggestionType["UdmFieldsMappingToCollection"] = "udm-fields-mapping-to-collection";
|
|
10113
|
-
ConnectorCopilotSuggestionType["UdmFieldsMappingFromCollection"] = "udm-fields-mapping-from-collection";
|
|
10114
|
-
})(ConnectorCopilotSuggestionType || (ConnectorCopilotSuggestionType = {}));
|
|
10115
|
-
var ConnectorCopilotFileChunkTopicKey;
|
|
10116
|
-
(function (ConnectorCopilotFileChunkTopicKey) {
|
|
10117
|
-
ConnectorCopilotFileChunkTopicKey["AuthType"] = "auth-type";
|
|
10118
|
-
ConnectorCopilotFileChunkTopicKey["AuthImplementation"] = "auth-implementation";
|
|
10119
|
-
ConnectorCopilotFileChunkTopicKey["AuthConnectionParameters"] = "auth-connection-parameters";
|
|
10120
|
-
ConnectorCopilotFileChunkTopicKey["AuthApiClient"] = "auth-api-client";
|
|
10121
|
-
})(ConnectorCopilotFileChunkTopicKey || (ConnectorCopilotFileChunkTopicKey = {}));
|
|
10122
|
-
var CopilotTaskType;
|
|
10123
|
-
(function (CopilotTaskType) {
|
|
10124
|
-
CopilotTaskType["GenerateAuthType"] = "generate-auth-type";
|
|
10125
|
-
CopilotTaskType["GenerateOAuthConfiguration"] = "generate-oauth-configuration";
|
|
10126
|
-
CopilotTaskType["GenerateAuthConnectionParameters"] = "generate-auth-connection-parameters";
|
|
10127
|
-
CopilotTaskType["GenerateAuthApiClient"] = "generate-auth-api-client";
|
|
10128
|
-
CopilotTaskType["GenerateDataCollections"] = "generate-data-collections";
|
|
10129
|
-
CopilotTaskType["GenerateDataCollectionRecordFromFields"] = "generate-data-collection-record-from-fields";
|
|
10130
|
-
CopilotTaskType["GenerateDataCollectionOperationApiRequests"] = "generate-data-collection-operation-api-requests";
|
|
10131
|
-
CopilotTaskType["GenerateDataCollectionOperationApiRequestMapping"] = "generate-data-collection-operation-api-request-mapping";
|
|
10132
|
-
CopilotTaskType["GenerateDataCollectionFieldsSchema"] = "generate-data-collection-fields-schema";
|
|
10133
|
-
CopilotTaskType["GenerateUdmList"] = "generate-udm-list";
|
|
10134
|
-
CopilotTaskType["GenerateUdmFieldsMapping"] = "generate-udm-fields-mapping";
|
|
10135
|
-
})(CopilotTaskType || (CopilotTaskType = {}));
|
|
10136
|
-
var CopilotTaskStatus;
|
|
10137
|
-
(function (CopilotTaskStatus) {
|
|
10138
|
-
CopilotTaskStatus["Pending"] = "pending";
|
|
10139
|
-
CopilotTaskStatus["Running"] = "running";
|
|
10140
|
-
CopilotTaskStatus["Completed"] = "completed";
|
|
10141
|
-
CopilotTaskStatus["Failed"] = "failed";
|
|
10142
|
-
})(CopilotTaskStatus || (CopilotTaskStatus = {}));
|
|
10143
|
-
var CopilotActionType;
|
|
10144
|
-
(function (CopilotActionType) {
|
|
10145
|
-
CopilotActionType["PatchConnectorFile"] = "patch";
|
|
10146
|
-
CopilotActionType["PutConnectorFile"] = "put";
|
|
10147
|
-
CopilotActionType["PatchConnectorDataSchema"] = "patch-data-schema";
|
|
10148
|
-
CopilotActionType["PatchConnectorFieldMapping"] = "patch-field-mapping";
|
|
10149
|
-
CopilotActionType["SetConnectorAuthType"] = "set-connector-auth-type";
|
|
10150
|
-
})(CopilotActionType || (CopilotActionType = {}));
|
|
10151
|
-
var CopilotActionStatus;
|
|
10152
|
-
(function (CopilotActionStatus) {
|
|
10153
|
-
CopilotActionStatus["Suggested"] = "suggested";
|
|
10154
|
-
CopilotActionStatus["Executed"] = "executed";
|
|
10155
|
-
CopilotActionStatus["Rejected"] = "rejected";
|
|
10156
|
-
})(CopilotActionStatus || (CopilotActionStatus = {}));
|
|
10157
|
-
var CopilotActivityType;
|
|
10158
|
-
(function (CopilotActivityType) {
|
|
10159
|
-
CopilotActivityType["Task"] = "task";
|
|
10160
|
-
})(CopilotActivityType || (CopilotActivityType = {}));
|
|
10161
|
-
const CopilotActivityScope = {
|
|
10162
|
-
connector: (connectorId) => new CopilotActivityScopeConnector(connectorId),
|
|
10163
|
-
};
|
|
10164
|
-
class CopilotActivityScopeConnector {
|
|
10165
|
-
constructor(connectorId) {
|
|
10166
|
-
this.connectorId = connectorId;
|
|
10167
|
-
this.auth = () => new CopilotActivityScopeConnectorAuth(this);
|
|
10168
|
-
this.data = (key) => new CopilotActivityScopeConnectorData(this, key);
|
|
10169
|
-
this.udm = (key) => new CopilotActivityScopeConnectorUdm(this, key);
|
|
10170
|
-
}
|
|
10171
|
-
toString() {
|
|
10172
|
-
return `connectors/${this.connectorId}`;
|
|
10173
|
-
}
|
|
10174
|
-
}
|
|
10175
|
-
class CopilotActivityScopeConnectorAuth {
|
|
10176
|
-
constructor(connectorScope) {
|
|
10177
|
-
this.connectorScope = connectorScope;
|
|
10178
|
-
}
|
|
10179
|
-
toString() {
|
|
10180
|
-
return `${this.connectorScope.toString()}/auth`;
|
|
10181
|
-
}
|
|
10182
|
-
}
|
|
10183
|
-
class CopilotActivityScopeConnectorData {
|
|
10184
|
-
constructor(connectorScope, dataCollectionKey) {
|
|
10185
|
-
this.connectorScope = connectorScope;
|
|
10186
|
-
this.dataCollectionKey = dataCollectionKey;
|
|
10187
|
-
this.method = (key) => new CopilotActivityScopeConnectorDataMethod(this, key);
|
|
10188
|
-
}
|
|
10189
|
-
toString() {
|
|
10190
|
-
let scope = `${this.connectorScope.toString()}/data`;
|
|
10191
|
-
if (this.dataCollectionKey) {
|
|
10192
|
-
scope += `/${this.dataCollectionKey}`;
|
|
10193
|
-
}
|
|
10194
|
-
return scope;
|
|
10195
|
-
}
|
|
10196
|
-
}
|
|
10197
|
-
class CopilotActivityScopeConnectorDataMethod {
|
|
10198
|
-
constructor(collectionScope, methodKey) {
|
|
10199
|
-
this.collectionScope = collectionScope;
|
|
10200
|
-
this.methodKey = methodKey;
|
|
10201
|
-
}
|
|
10202
|
-
toString() {
|
|
10203
|
-
return `${this.collectionScope.toString()}/methods/${this.methodKey}`;
|
|
10204
|
-
}
|
|
10205
|
-
}
|
|
10206
|
-
class CopilotActivityScopeConnectorUdm {
|
|
10207
|
-
constructor(connectorScope, key) {
|
|
10208
|
-
this.connectorScope = connectorScope;
|
|
10209
|
-
this.key = key;
|
|
10210
|
-
this.collection = (key) => new CopilotActivityScopeConnectorUdmCollection(this, key);
|
|
10211
|
-
}
|
|
10212
|
-
toString() {
|
|
10213
|
-
let scope = `${this.connectorScope.toString()}/udm`;
|
|
10214
|
-
if (this.key) {
|
|
10215
|
-
scope += `/${this.key}`;
|
|
10216
|
-
}
|
|
10217
|
-
return scope;
|
|
10218
|
-
}
|
|
10219
|
-
}
|
|
10220
|
-
class CopilotActivityScopeConnectorUdmCollection {
|
|
10221
|
-
constructor(udmScope, key) {
|
|
10222
|
-
this.udmScope = udmScope;
|
|
10223
|
-
this.key = key;
|
|
10224
|
-
}
|
|
10225
|
-
toString() {
|
|
10226
|
-
return `${this.udmScope.toString()}/collection/${this.key}`;
|
|
10227
|
-
}
|
|
10228
|
-
}
|
|
10229
|
-
|
|
10230
10180
|
var LogRecordType;
|
|
10231
10181
|
(function (LogRecordType) {
|
|
10232
10182
|
LogRecordType["MSG"] = "message";
|
|
@@ -10500,6 +10450,7 @@ var UsageType;
|
|
|
10500
10450
|
UsageType["FILES_UPLOAD_NUMBER"] = "files-upload-number";
|
|
10501
10451
|
UsageType["FILES_UPLOAD_SIZE"] = "files-upload-size";
|
|
10502
10452
|
UsageType["CUSTOM_CODE_RUNTIME_DURATION"] = "custom-code-runtime-duration";
|
|
10453
|
+
UsageType["MEMBRANE_AGENT"] = "membrane-agent";
|
|
10503
10454
|
})(UsageType || (UsageType = {}));
|
|
10504
10455
|
|
|
10505
10456
|
function getNodeInputSchema(flow, nodeKey) {
|
|
@@ -10642,7 +10593,6 @@ const PARALLEL_EXECUTION_LIMITS = [
|
|
|
10642
10593
|
'parallelBackgroundJobs',
|
|
10643
10594
|
'parallelEventLogs',
|
|
10644
10595
|
'parallelEventLogsPerConnection',
|
|
10645
|
-
'parallelWriteDatabaseRequests',
|
|
10646
10596
|
'parallelPathfinderAgentSessions',
|
|
10647
10597
|
];
|
|
10648
10598
|
const RATE_LIMITS = [
|
|
@@ -10653,7 +10603,6 @@ const RATE_LIMITS = [
|
|
|
10653
10603
|
'webhookRequestsPerHour',
|
|
10654
10604
|
'workspaceElementCreationsPerHour',
|
|
10655
10605
|
'workspaceElementCreationsPerSecond',
|
|
10656
|
-
'createDatabaseRequestsPerSecond',
|
|
10657
10606
|
];
|
|
10658
10607
|
const WORKSPACE_SIZE_LIMITS = [
|
|
10659
10608
|
'totalNumberOfCustomers',
|
|
@@ -10669,9 +10618,6 @@ const EDITABLE_LIMITS = [
|
|
|
10669
10618
|
'webhookRequestsPerCustomerPerSecond',
|
|
10670
10619
|
'webhookRequestsPerCustomerPerHour',
|
|
10671
10620
|
'parallelFlowRunsPerConnection',
|
|
10672
|
-
'parallelWriteDatabaseRequestsPerCustomer',
|
|
10673
|
-
'createDatabaseRequestsPerCustomerPerSecond',
|
|
10674
|
-
'updateDatabaseRequestsPerCustomerPerSecond',
|
|
10675
10621
|
];
|
|
10676
10622
|
|
|
10677
10623
|
var OrgLimitsType;
|
|
@@ -10679,8 +10625,8 @@ var OrgLimitsType;
|
|
|
10679
10625
|
OrgLimitsType["NUMBER_OF_WORKSPACES"] = "numberOfWorkspaces";
|
|
10680
10626
|
OrgLimitsType["TODAY_USAGE"] = "todayUsage";
|
|
10681
10627
|
OrgLimitsType["LAST_THIRTY_DAY_USAGE"] = "lastThirtyDayUsage";
|
|
10682
|
-
OrgLimitsType["MEMBRANE_AGENT_MONTHLY_USAGE"] = "membraneAgentMonthlyUsage";
|
|
10683
10628
|
OrgLimitsType["MEMBRANE_EXPERT_CREDITS_CAP"] = "membraneExpertCreditsCapPerMonth";
|
|
10629
|
+
OrgLimitsType["MEMBRANE_AGENT_LAST_THIRTY_DAYS_USAGE"] = "membraneAgentLastThirtyDaysUsage";
|
|
10684
10630
|
})(OrgLimitsType || (OrgLimitsType = {}));
|
|
10685
10631
|
var OrgUserRole;
|
|
10686
10632
|
(function (OrgUserRole) {
|
|
@@ -10718,6 +10664,7 @@ var AlertType;
|
|
|
10718
10664
|
AlertType["externalEventsPerCustomerPerDay"] = "externalEventsPerCustomerPerDay";
|
|
10719
10665
|
AlertType["totalUsagePerDay"] = "totalUsagePerDay";
|
|
10720
10666
|
AlertType["totalUsagePer30Days"] = "totalUsagePer30Days";
|
|
10667
|
+
AlertType["membraneAgentUsagePer30Days"] = "membraneAgentUsagePer30Days";
|
|
10721
10668
|
})(AlertType || (AlertType = {}));
|
|
10722
10669
|
|
|
10723
10670
|
class ElementAccessor {
|
|
@@ -10851,6 +10798,55 @@ class ElementInstanceAccessor {
|
|
|
10851
10798
|
}
|
|
10852
10799
|
}
|
|
10853
10800
|
|
|
10801
|
+
class ConnectionLevelElementAccessor {
|
|
10802
|
+
constructor(client, connectionSelector, selector, elementKey, query) {
|
|
10803
|
+
this.client = client;
|
|
10804
|
+
this.connectionSelector = connectionSelector;
|
|
10805
|
+
this.selector = selector;
|
|
10806
|
+
this.elementKey = elementKey;
|
|
10807
|
+
this.query = query;
|
|
10808
|
+
this.endpoint = `/connections/${this.connectionSelector}/${elementKey}/${selector}`;
|
|
10809
|
+
}
|
|
10810
|
+
uri(path = '', query = {}) {
|
|
10811
|
+
return this.endpoint + path + '?' + qs.stringify({ ...this.query, ...query });
|
|
10812
|
+
}
|
|
10813
|
+
getUniqueIdentifier() {
|
|
10814
|
+
return this.endpoint;
|
|
10815
|
+
}
|
|
10816
|
+
async get(query = {}) {
|
|
10817
|
+
return this.client.get(this.uri('', query));
|
|
10818
|
+
}
|
|
10819
|
+
async create() {
|
|
10820
|
+
return this.client.put(this.uri());
|
|
10821
|
+
}
|
|
10822
|
+
async patch(data) {
|
|
10823
|
+
return this.client.patch(this.uri(), data);
|
|
10824
|
+
}
|
|
10825
|
+
async put(data) {
|
|
10826
|
+
return this.client.put(this.uri(), data);
|
|
10827
|
+
}
|
|
10828
|
+
async archive() {
|
|
10829
|
+
return this.client.delete(this.uri());
|
|
10830
|
+
}
|
|
10831
|
+
async reset() {
|
|
10832
|
+
return this.client.post(this.uri('/reset'));
|
|
10833
|
+
}
|
|
10834
|
+
async setup() {
|
|
10835
|
+
return this.client.post(this.uri('/setup'));
|
|
10836
|
+
}
|
|
10837
|
+
}
|
|
10838
|
+
class ConnectionLevelElementsListAccessor {
|
|
10839
|
+
constructor(client, connectionSelector, elementKey) {
|
|
10840
|
+
this.client = client;
|
|
10841
|
+
this.connectionSelector = connectionSelector;
|
|
10842
|
+
this.elementKey = elementKey;
|
|
10843
|
+
}
|
|
10844
|
+
async list(query) {
|
|
10845
|
+
const endpoint = `/connections/${this.connectionSelector}/${this.elementKey}?${qs.stringify(query !== null && query !== void 0 ? query : {})}`;
|
|
10846
|
+
return this.client.get(endpoint);
|
|
10847
|
+
}
|
|
10848
|
+
}
|
|
10849
|
+
|
|
10854
10850
|
class IntegrationLevelElementAccessor {
|
|
10855
10851
|
constructor(client, integrationSelector, elementSelector, elementKey) {
|
|
10856
10852
|
this.client = client;
|
|
@@ -10909,6 +10905,15 @@ class ActionAccessor extends ElementAccessor {
|
|
|
10909
10905
|
async reset() {
|
|
10910
10906
|
return await this.options.client.post(this.getPath('reset'));
|
|
10911
10907
|
}
|
|
10908
|
+
async run(input, options) {
|
|
10909
|
+
const queryParams = options
|
|
10910
|
+
? {
|
|
10911
|
+
integrationKey: options.integrationKey,
|
|
10912
|
+
connectionId: options.connectionId,
|
|
10913
|
+
}
|
|
10914
|
+
: {};
|
|
10915
|
+
return this.options.client.post(this.getPath('run'), { input }, { params: queryParams });
|
|
10916
|
+
}
|
|
10912
10917
|
}
|
|
10913
10918
|
class IntegrationLevelActionAccessor extends IntegrationLevelElementAccessor {
|
|
10914
10919
|
constructor(client, integrationSelector, actionSelector) {
|
|
@@ -10925,6 +10930,25 @@ class IntegrationLevelActionsListAccessor extends IntegrationLevelElementsListAc
|
|
|
10925
10930
|
this.integrationSelector = integrationSelector;
|
|
10926
10931
|
}
|
|
10927
10932
|
}
|
|
10933
|
+
class ConnectionLevelActionAccessor extends ConnectionLevelElementAccessor {
|
|
10934
|
+
constructor(client, connectionSelector, actionSelector, query) {
|
|
10935
|
+
super(client, connectionSelector, actionSelector, 'actions', query);
|
|
10936
|
+
this.client = client;
|
|
10937
|
+
this.connectionSelector = connectionSelector;
|
|
10938
|
+
this.actionSelector = actionSelector;
|
|
10939
|
+
this.query = query;
|
|
10940
|
+
}
|
|
10941
|
+
async run(input) {
|
|
10942
|
+
return this.client.post(this.uri('/run'), input);
|
|
10943
|
+
}
|
|
10944
|
+
}
|
|
10945
|
+
class ConnectionLevelActionsAccessor extends ConnectionLevelElementsListAccessor {
|
|
10946
|
+
constructor(client, connectionSelector) {
|
|
10947
|
+
super(client, connectionSelector, 'actions');
|
|
10948
|
+
this.client = client;
|
|
10949
|
+
this.connectionSelector = connectionSelector;
|
|
10950
|
+
}
|
|
10951
|
+
}
|
|
10928
10952
|
|
|
10929
10953
|
const POPUP_ELEMENT_ID = '__integration-app-popup';
|
|
10930
10954
|
const CONTAINER_ELEMENT_ID = '__integration-app-container';
|
|
@@ -11151,104 +11175,6 @@ function handleIframeUnmount(iframe) {
|
|
|
11151
11175
|
}
|
|
11152
11176
|
}
|
|
11153
11177
|
|
|
11154
|
-
class ConnectionLevelElementAccessor {
|
|
11155
|
-
constructor(client, connectionSelector, selector, elementKey, query) {
|
|
11156
|
-
this.client = client;
|
|
11157
|
-
this.connectionSelector = connectionSelector;
|
|
11158
|
-
this.selector = selector;
|
|
11159
|
-
this.elementKey = elementKey;
|
|
11160
|
-
this.query = query;
|
|
11161
|
-
this.endpoint = `/connections/${this.connectionSelector}/${elementKey}/${selector}`;
|
|
11162
|
-
}
|
|
11163
|
-
uri(path = '', query = {}) {
|
|
11164
|
-
return this.endpoint + path + '?' + qs.stringify({ ...this.query, ...query });
|
|
11165
|
-
}
|
|
11166
|
-
getUniqueIdentifier() {
|
|
11167
|
-
return this.endpoint;
|
|
11168
|
-
}
|
|
11169
|
-
async get(query = {}) {
|
|
11170
|
-
return this.client.get(this.uri('', query));
|
|
11171
|
-
}
|
|
11172
|
-
async create() {
|
|
11173
|
-
return this.client.put(this.uri());
|
|
11174
|
-
}
|
|
11175
|
-
async patch(data) {
|
|
11176
|
-
return this.client.patch(this.uri(), data);
|
|
11177
|
-
}
|
|
11178
|
-
async put(data) {
|
|
11179
|
-
return this.client.put(this.uri(), data);
|
|
11180
|
-
}
|
|
11181
|
-
async archive() {
|
|
11182
|
-
return this.client.delete(this.uri());
|
|
11183
|
-
}
|
|
11184
|
-
async reset() {
|
|
11185
|
-
return this.client.post(this.uri('/reset'));
|
|
11186
|
-
}
|
|
11187
|
-
async setup() {
|
|
11188
|
-
return this.client.post(this.uri('/setup'));
|
|
11189
|
-
}
|
|
11190
|
-
}
|
|
11191
|
-
class ConnectionLevelElementsListAccessor {
|
|
11192
|
-
constructor(client, connectionSelector, elementKey) {
|
|
11193
|
-
this.client = client;
|
|
11194
|
-
this.connectionSelector = connectionSelector;
|
|
11195
|
-
this.elementKey = elementKey;
|
|
11196
|
-
}
|
|
11197
|
-
async list(query) {
|
|
11198
|
-
const endpoint = `/connections/${this.connectionSelector}/${this.elementKey}?${qs.stringify(query !== null && query !== void 0 ? query : {})}`;
|
|
11199
|
-
return this.client.get(endpoint);
|
|
11200
|
-
}
|
|
11201
|
-
}
|
|
11202
|
-
|
|
11203
|
-
class ActionInstancesAccessor extends ElementInstanceListAccessor {
|
|
11204
|
-
constructor(client) {
|
|
11205
|
-
super(client, 'action-instances');
|
|
11206
|
-
}
|
|
11207
|
-
}
|
|
11208
|
-
class ActionInstanceAccessor extends ElementInstanceAccessor {
|
|
11209
|
-
constructor(client, selector) {
|
|
11210
|
-
super({
|
|
11211
|
-
client,
|
|
11212
|
-
instancePath: 'action-instance',
|
|
11213
|
-
selector,
|
|
11214
|
-
});
|
|
11215
|
-
this.client = client;
|
|
11216
|
-
}
|
|
11217
|
-
async setup() {
|
|
11218
|
-
await this.client.post(this.getPath('setup'));
|
|
11219
|
-
}
|
|
11220
|
-
async reset() {
|
|
11221
|
-
await this.client.post(this.getPath('reset'));
|
|
11222
|
-
}
|
|
11223
|
-
async run(input) {
|
|
11224
|
-
return this.client.post(this.getPath('run'), input);
|
|
11225
|
-
}
|
|
11226
|
-
async open({ onClose = () => { } } = {}) {
|
|
11227
|
-
const id = await this.getId();
|
|
11228
|
-
const uri = await this.client.getEmbedUri(`action-instances/${id}/configuration`);
|
|
11229
|
-
return openIframe(uri, { onClose });
|
|
11230
|
-
}
|
|
11231
|
-
}
|
|
11232
|
-
class ConnectionLevelActionAccessor extends ConnectionLevelElementAccessor {
|
|
11233
|
-
constructor(client, connectionSelector, actionSelector, query) {
|
|
11234
|
-
super(client, connectionSelector, actionSelector, 'actions', query);
|
|
11235
|
-
this.client = client;
|
|
11236
|
-
this.connectionSelector = connectionSelector;
|
|
11237
|
-
this.actionSelector = actionSelector;
|
|
11238
|
-
this.query = query;
|
|
11239
|
-
}
|
|
11240
|
-
async run(input) {
|
|
11241
|
-
return this.client.post(this.uri('/run'), input);
|
|
11242
|
-
}
|
|
11243
|
-
}
|
|
11244
|
-
class ConnectionLevelActionsAccessor extends ConnectionLevelElementsListAccessor {
|
|
11245
|
-
constructor(client, connectionSelector) {
|
|
11246
|
-
super(client, connectionSelector, 'actions');
|
|
11247
|
-
this.client = client;
|
|
11248
|
-
this.connectionSelector = connectionSelector;
|
|
11249
|
-
}
|
|
11250
|
-
}
|
|
11251
|
-
|
|
11252
11178
|
class DataSourcesAccessor extends ElementListAccessor {
|
|
11253
11179
|
constructor(client) {
|
|
11254
11180
|
super(client, 'data-sources');
|
|
@@ -12218,6 +12144,36 @@ class UserAccessor extends CustomerAccessor {
|
|
|
12218
12144
|
}
|
|
12219
12145
|
}
|
|
12220
12146
|
|
|
12147
|
+
class ActionInstancesAccessor extends ElementInstanceListAccessor {
|
|
12148
|
+
constructor(client) {
|
|
12149
|
+
super(client, 'action-instances');
|
|
12150
|
+
}
|
|
12151
|
+
}
|
|
12152
|
+
class ActionInstanceAccessor extends ElementInstanceAccessor {
|
|
12153
|
+
constructor(client, selector) {
|
|
12154
|
+
super({
|
|
12155
|
+
client,
|
|
12156
|
+
instancePath: 'action-instance',
|
|
12157
|
+
selector,
|
|
12158
|
+
});
|
|
12159
|
+
this.client = client;
|
|
12160
|
+
}
|
|
12161
|
+
async setup() {
|
|
12162
|
+
await this.client.post(this.getPath('setup'));
|
|
12163
|
+
}
|
|
12164
|
+
async reset() {
|
|
12165
|
+
await this.client.post(this.getPath('reset'));
|
|
12166
|
+
}
|
|
12167
|
+
async run(input) {
|
|
12168
|
+
return this.client.post(this.getPath('run'), input);
|
|
12169
|
+
}
|
|
12170
|
+
async open({ onClose = () => { } } = {}) {
|
|
12171
|
+
const id = await this.getId();
|
|
12172
|
+
const uri = await this.client.getEmbedUri(`action-instances/${id}/configuration`);
|
|
12173
|
+
return openIframe(uri, { onClose });
|
|
12174
|
+
}
|
|
12175
|
+
}
|
|
12176
|
+
|
|
12221
12177
|
class DataLinkTablesAccessor extends ElementListAccessor {
|
|
12222
12178
|
constructor(client) {
|
|
12223
12179
|
super(client, 'data-link-tables');
|
|
@@ -12488,6 +12444,9 @@ const DEFAULT_API_URI = 'https://api.integration.app';
|
|
|
12488
12444
|
const DEFAULT_UI_URI = 'https://ui.integration.app';
|
|
12489
12445
|
const REFETCH_EXPIRATION_THRESHOLD = 10 * 1000;
|
|
12490
12446
|
function decodeToken(token) {
|
|
12447
|
+
if (token.startsWith('pat-')) {
|
|
12448
|
+
return null;
|
|
12449
|
+
}
|
|
12491
12450
|
const payload = decodeJWT(token);
|
|
12492
12451
|
if (!payload) {
|
|
12493
12452
|
throw new Error('Access token should be a valid JWT token.');
|
|
@@ -12517,7 +12476,7 @@ class MembraneApiClient {
|
|
|
12517
12476
|
}
|
|
12518
12477
|
else {
|
|
12519
12478
|
const payload = decodeToken(this.token);
|
|
12520
|
-
if (payload.exp) {
|
|
12479
|
+
if (payload === null || payload === void 0 ? void 0 : payload.exp) {
|
|
12521
12480
|
const willExpireSoon = new Date(payload.exp * 1000).getTime() - new Date().getTime() < REFETCH_EXPIRATION_THRESHOLD;
|
|
12522
12481
|
if (willExpireSoon) {
|
|
12523
12482
|
this.token = await this.fetchToken();
|
|
@@ -12749,5 +12708,5 @@ class MembraneClient extends MembraneApiClient {
|
|
|
12749
12708
|
|
|
12750
12709
|
injectFormulaCatalog(getFormula, isFormula, hasFormulas);
|
|
12751
12710
|
|
|
12752
|
-
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, 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, 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, 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, injectFormulaCatalog, isBusinessDay, isDataActionType, isDataLocationMethodSupported, isFormula$1 as isFormula, isFormula as isFormula_internalDoNotUse, isMembraneError, isObject, isSameDataLocation, isSchemaEmpty, isStream, isValidLocator, locatorToField, locatorToSteps, locatorToString, makeDataLocationOperationPath, makeDataLocationPath, makeDataRecordSchema, makeObjectPropertyLocator, makeSchemaForLocator, 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 };
|
|
12711
|
+
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, 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, 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, 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, injectFormulaCatalog, isBusinessDay, isDataActionType, isDataLocationMethodSupported, isFormula$1 as isFormula, isFormula as isFormula_internalDoNotUse, isMembraneError, isObject, isSameDataLocation, isSchemaEmpty, isStream, isValidLocator, locatorToField, locatorToSteps, locatorToString, makeDataLocationOperationPath, makeDataLocationPath, makeDataRecordSchema, makeObjectPropertyLocator, makeSchemaForLocator, 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 };
|
|
12753
12712
|
//# sourceMappingURL=index.browser.mjs.map
|