@membranehq/sdk 0.8.3 → 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 +430 -293
- package/dist/bundle.js +123 -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/agent/session.d.ts +41 -0
- 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 +3 -1
- package/dist/dts/orgs/types.d.ts +10 -1
- 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 +12 -10
- package/dist/dts/workspace-elements/api/actions-api.d.ts +85 -63
- 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 +13 -8
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +42 -12
- 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 +28 -19
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +46 -20
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +14 -14
- package/dist/dts/workspace-elements/api/flows-api.d.ts +83 -40
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +3 -3
- package/dist/dts/workspace-elements/api/packages-api.d.ts +70 -13
- package/dist/dts/workspace-elements/base/action-instances/types.d.ts +8 -6
- package/dist/dts/workspace-elements/base/actions/index.d.ts +33 -11
- 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 +30 -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 +31 -3
- package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +1 -1
- package/dist/dts/workspace-elements/base/flows/index.d.ts +53 -3
- package/dist/dts/workspace-elements/base/integrations/types.d.ts +18 -4
- package/dist/dts/workspace-elements/base/packages/index.d.ts +35 -6
- 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 +33 -11
- package/dist/dts/workspace-elements-catalog/index.d.ts +2 -0
- package/dist/dts/workspaces/types.d.ts +0 -1
- package/dist/index.browser.d.mts +6690 -6383
- package/dist/index.browser.d.ts +6690 -6383
- package/dist/index.browser.js +310 -289
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +294 -289
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +8742 -8435
- package/dist/index.node.d.ts +8742 -8435
- package/dist/index.node.js +310 -289
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +294 -289
- package/dist/index.node.mjs.map +1 -1
- package/package.json +2 -1
- package/dist/dts/connector-copilot/types.d.ts +0 -160
- package/dist/dts/index.d.ts +0 -33
- /package/dist/dts/{connector-copilot → validation}/index.d.ts +0 -0
package/dist/index.browser.js
CHANGED
|
@@ -3385,6 +3385,7 @@ const zodBooleanCoercion = () => zod.z.preprocess((val) => {
|
|
|
3385
3385
|
return Boolean(val);
|
|
3386
3386
|
return Boolean(val);
|
|
3387
3387
|
}, zod.z.boolean());
|
|
3388
|
+
|
|
3388
3389
|
const IncludeArchivedQuery = zod.z.object({
|
|
3389
3390
|
includeArchived: zodBooleanCoercion().optional(),
|
|
3390
3391
|
});
|
|
@@ -3439,7 +3440,6 @@ exports.WorkspaceElementType = void 0;
|
|
|
3439
3440
|
WorkspaceElementType["ExternalEventSubscription"] = "external-event-subscription";
|
|
3440
3441
|
WorkspaceElementType["ExternalEventLogRecord"] = "external-event-log-record";
|
|
3441
3442
|
WorkspaceElementType["ExternalEventPull"] = "external-event-pull";
|
|
3442
|
-
WorkspaceElementType["DataCollection"] = "data-collection";
|
|
3443
3443
|
WorkspaceElementType["Screen"] = "screen";
|
|
3444
3444
|
WorkspaceElementType["ActionRunLogRecord"] = "action-run-log-record";
|
|
3445
3445
|
})(exports.WorkspaceElementType || (exports.WorkspaceElementType = {}));
|
|
@@ -3471,9 +3471,9 @@ const BaseWorkspaceElement = zod.z.object({
|
|
|
3471
3471
|
name: zod.z.string(),
|
|
3472
3472
|
});
|
|
3473
3473
|
const BaseMembraneInterfaceEditableProperties = zod.z.object({
|
|
3474
|
+
uuid: zod.z.string().optional(),
|
|
3474
3475
|
key: zod.z.string().optional(),
|
|
3475
3476
|
name: zod.z.string().optional(),
|
|
3476
|
-
uuid: zod.z.string().optional(),
|
|
3477
3477
|
description: zod.z.string().optional(),
|
|
3478
3478
|
meta: zod.z.record(zod.z.string(), zod.z.any()).optional(),
|
|
3479
3479
|
});
|
|
@@ -3490,19 +3490,27 @@ const BaseMembraneInterfaceReadOnlyProperties = zod.z.object({
|
|
|
3490
3490
|
const BaseMembraneInterface = BaseWorkspaceElement.merge(BaseMembraneInterfaceEditableProperties).merge(BaseMembraneInterfaceReadOnlyProperties);
|
|
3491
3491
|
const BaseIntegrationLevelMembraneInterfaceEditableProperties = BaseMembraneInterfaceEditableProperties.extend({
|
|
3492
3492
|
integrationId: zod.z.string().optional(),
|
|
3493
|
+
integrationUuid: zod.z.string().optional(),
|
|
3493
3494
|
parentId: zod.z.string().optional(),
|
|
3495
|
+
parentUuid: zod.z.string().optional(),
|
|
3496
|
+
connectionId: zod.z.string().optional(),
|
|
3497
|
+
instanceKey: zod.z.string().optional(),
|
|
3494
3498
|
});
|
|
3495
3499
|
const BaseIntegrationLevelMembraneInterfaceReadOnlyProperties = BaseMembraneInterfaceReadOnlyProperties.extend({
|
|
3496
3500
|
isCustomized: zod.z.boolean().optional(),
|
|
3497
3501
|
});
|
|
3502
|
+
const BaseIntegrationLevelMembraneInterfaceExportProperties = BaseMembraneInterfaceEditableProperties.extend({
|
|
3503
|
+
integrationUuid: zod.z.string().optional(),
|
|
3504
|
+
parentUuid: zod.z.string().optional(),
|
|
3505
|
+
});
|
|
3498
3506
|
const IntegrationLevelMembraneInterfaceSelectorQuery = zod.z.object({
|
|
3507
|
+
layer: zod.z.enum(['universal', 'integration', 'connection']).optional(),
|
|
3499
3508
|
integrationKey: zod.z.string().optional(),
|
|
3509
|
+
integrationId: zod.z.string().optional(),
|
|
3500
3510
|
connectionId: zod.z.string().optional(),
|
|
3501
3511
|
instanceKey: zod.z.string().optional(),
|
|
3502
3512
|
});
|
|
3503
3513
|
const FindIntegrationLevelMembraneInterfaceQuery = IntegrationLevelMembraneInterfaceSelectorQuery.extend(CommonListElementsQuery.shape).extend({
|
|
3504
|
-
layer: zod.z.enum(['universal', 'integration', 'connection']).optional(),
|
|
3505
|
-
integrationId: zod.z.string().optional(),
|
|
3506
3514
|
parentId: zod.z.string().optional(),
|
|
3507
3515
|
universalParentId: zod.z.string().optional(),
|
|
3508
3516
|
userId: zod.z.string().optional(),
|
|
@@ -3545,12 +3553,11 @@ exports.FieldMappingDirection = void 0;
|
|
|
3545
3553
|
FieldMappingDirection["EXPORT"] = "export";
|
|
3546
3554
|
FieldMappingDirection["BOTH"] = "both";
|
|
3547
3555
|
})(exports.FieldMappingDirection || (exports.FieldMappingDirection = {}));
|
|
3548
|
-
const
|
|
3549
|
-
|
|
3550
|
-
|
|
3556
|
+
const FieldMappingSpecificProperties = zod.z.object({
|
|
3557
|
+
connectionId: zod.z.string().optional(),
|
|
3558
|
+
fieldMappingId: zod.z.string().optional(),
|
|
3551
3559
|
universalFieldMappingId: zod.z.string().optional(),
|
|
3552
3560
|
dataSourceKey: zod.z.string().optional(),
|
|
3553
|
-
dataSourceId: zod.z.string().optional(),
|
|
3554
3561
|
appSchema: DataSchema.optional(),
|
|
3555
3562
|
direction: zod.z.enum(exports.FieldMappingDirection).optional(),
|
|
3556
3563
|
defaultImportValue: zod.z.any().optional(),
|
|
@@ -3561,6 +3568,14 @@ const FieldMappingEditableProperties = BaseIntegrationLevelMembraneInterfaceEdit
|
|
|
3561
3568
|
frozenExportFields: zod.z.any().optional(),
|
|
3562
3569
|
frozenUnifiedExportFields: zod.z.any().optional(),
|
|
3563
3570
|
});
|
|
3571
|
+
const FieldMappingEditableProperties = BaseIntegrationLevelMembraneInterfaceEditableProperties.omit({
|
|
3572
|
+
parentId: true,
|
|
3573
|
+
}).extend(FieldMappingSpecificProperties.shape);
|
|
3574
|
+
const FieldMappingExportProperties = BaseIntegrationLevelMembraneInterfaceExportProperties.extend(FieldMappingSpecificProperties.shape).omit({
|
|
3575
|
+
connectionId: true,
|
|
3576
|
+
fieldMappingId: true,
|
|
3577
|
+
universalFieldMappingId: true,
|
|
3578
|
+
});
|
|
3564
3579
|
const FieldMappingReadOnlyProperties = BaseIntegrationLevelMembraneInterfaceReadOnlyProperties.extend({
|
|
3565
3580
|
universalFieldMappingRevision: zod.z.string().optional(),
|
|
3566
3581
|
});
|
|
@@ -3684,17 +3699,19 @@ const ActionDependency = zod.z.object({
|
|
|
3684
3699
|
key: zod.z.string(),
|
|
3685
3700
|
element: zod.z.any().optional(),
|
|
3686
3701
|
});
|
|
3687
|
-
const
|
|
3688
|
-
integrationId: zod.z.string().optional(),
|
|
3702
|
+
const ActionSpecificProperties = zod.z.object({
|
|
3689
3703
|
connectionId: zod.z.string().optional(),
|
|
3690
|
-
parentId: zod.z.string().optional(),
|
|
3691
3704
|
instanceKey: zod.z.string().optional(),
|
|
3692
3705
|
inputSchema: DataSchema.optional(),
|
|
3693
3706
|
type: zod.z.enum(exports.ActionType).optional(),
|
|
3694
|
-
config: zod.z.
|
|
3707
|
+
config: zod.z.object({}).loose().optional(),
|
|
3695
3708
|
outputMapping: zod.z.any().optional(),
|
|
3696
3709
|
customOutputSchema: DataSchema.optional(),
|
|
3697
3710
|
});
|
|
3711
|
+
const ActionEditableProperties = BaseIntegrationLevelMembraneInterfaceEditableProperties.extend(ActionSpecificProperties.shape);
|
|
3712
|
+
const ActionExportProperties = BaseIntegrationLevelMembraneInterfaceExportProperties.extend(ActionSpecificProperties.shape).omit({
|
|
3713
|
+
connectionId: true,
|
|
3714
|
+
});
|
|
3698
3715
|
const ActionReadOnlyProperties = BaseIntegrationLevelMembraneInterfaceReadOnlyProperties.extend({
|
|
3699
3716
|
universalParentId: zod.z.string().optional(),
|
|
3700
3717
|
userId: zod.z.string().optional(),
|
|
@@ -8403,9 +8420,9 @@ const DEFAULT_PULL_UPDATES_INTERVAL_SECONDS = 60 * 5;
|
|
|
8403
8420
|
const DEFAULT_FULL_SYNC_INTERVAL_SECONDS = 60 * 60 * 3;
|
|
8404
8421
|
const MIN_FULL_SYNC_INTERVAL_SECONDS = 1 * 60;
|
|
8405
8422
|
const MIN_PULL_UPDATES_INTERVAL_SECONDS = 1 * 60;
|
|
8406
|
-
const
|
|
8407
|
-
|
|
8408
|
-
|
|
8423
|
+
const DataSourceSpecificProperties = zod.z.object({
|
|
8424
|
+
connectionId: zod.z.string().optional(),
|
|
8425
|
+
dataSourceId: zod.z.string().optional(),
|
|
8409
8426
|
universalDataSourceId: zod.z.string().optional(),
|
|
8410
8427
|
udm: zod.z.string().optional(),
|
|
8411
8428
|
pullUpdatesIntervalSeconds: zod.z.number().optional(),
|
|
@@ -8414,18 +8431,27 @@ const DataSourceEditableProperties = BaseIntegrationLevelMembraneInterfaceEditab
|
|
|
8414
8431
|
collectionParameters: zod.z.any().optional(),
|
|
8415
8432
|
defaultPath: zod.z.string().optional(),
|
|
8416
8433
|
});
|
|
8434
|
+
const DataSourceEditableProperties = BaseIntegrationLevelMembraneInterfaceEditableProperties.omit({
|
|
8435
|
+
parentId: true,
|
|
8436
|
+
}).extend(DataSourceSpecificProperties.shape);
|
|
8437
|
+
const DataSourceExportProperties = BaseIntegrationLevelMembraneInterfaceExportProperties.extend(DataSourceSpecificProperties.shape).omit({
|
|
8438
|
+
connectionId: true,
|
|
8439
|
+
dataSourceId: true,
|
|
8440
|
+
universalDataSourceId: true,
|
|
8441
|
+
});
|
|
8417
8442
|
const DataSourceReadOnlyProperties = BaseIntegrationLevelMembraneInterfaceReadOnlyProperties.extend({
|
|
8418
8443
|
universalDataSourceRevision: zod.z.string().optional(),
|
|
8419
8444
|
});
|
|
8420
8445
|
const BaseDataSource = BaseMembraneInterface.merge(DataSourceEditableProperties).merge(DataSourceReadOnlyProperties);
|
|
8421
8446
|
const DataSourceUnitConfig = zod.z.object({
|
|
8422
|
-
key: zod.z.
|
|
8447
|
+
key: zod.z.any().optional(),
|
|
8423
8448
|
collectionKey: zod.z.any().optional(),
|
|
8424
8449
|
collectionParameters: zod.z.any().optional(),
|
|
8425
8450
|
udm: zod.z.any().optional(),
|
|
8426
|
-
path: zod.z.string().optional(),
|
|
8427
8451
|
pullUpdatesIntervalSeconds: zod.z.number().optional(),
|
|
8428
8452
|
fullSyncIntervalSeconds: zod.z.number().optional(),
|
|
8453
|
+
path: zod.z.any().optional(),
|
|
8454
|
+
defaultPath: zod.z.any().optional(),
|
|
8429
8455
|
});
|
|
8430
8456
|
|
|
8431
8457
|
const BaseDataSourceInstance = BaseMembraneInterface.extend({
|
|
@@ -8892,15 +8918,22 @@ const FLOW_NODE_SPECS = {
|
|
|
8892
8918
|
[exports.FlowNodeType.RunAction]: RunAction,
|
|
8893
8919
|
};
|
|
8894
8920
|
|
|
8895
|
-
const
|
|
8896
|
-
|
|
8897
|
-
}).extend({
|
|
8898
|
-
integrationId: zod.z.string().optional(),
|
|
8921
|
+
const FlowSpecificProperties = zod.z.object({
|
|
8922
|
+
flowId: zod.z.string().optional(),
|
|
8899
8923
|
universalFlowId: zod.z.string().optional(),
|
|
8900
8924
|
parametersSchema: DataSchema.optional(),
|
|
8925
|
+
parameters: zod.z.any().optional(),
|
|
8926
|
+
enabled: zod.z.boolean().optional(),
|
|
8901
8927
|
nodes: zod.z.record(zod.z.string(), FlowNode).optional(),
|
|
8902
8928
|
autoCreateInstances: zod.z.boolean().optional(),
|
|
8903
8929
|
});
|
|
8930
|
+
const FlowEditableProperties = BaseIntegrationLevelMembraneInterfaceEditableProperties.omit({
|
|
8931
|
+
parentId: true,
|
|
8932
|
+
}).extend(FlowSpecificProperties.shape);
|
|
8933
|
+
const FlowExportProperties = BaseIntegrationLevelMembraneInterfaceExportProperties.extend(FlowSpecificProperties.shape).omit({
|
|
8934
|
+
flowId: true,
|
|
8935
|
+
universalFlowId: true,
|
|
8936
|
+
});
|
|
8904
8937
|
const FlowReadOnlyProperties = BaseIntegrationLevelMembraneInterfaceReadOnlyProperties.extend({
|
|
8905
8938
|
universalFlowRevision: zod.z.string().optional(),
|
|
8906
8939
|
});
|
|
@@ -8928,6 +8961,14 @@ const BaseIntegration = BaseMembraneInterface.extend({
|
|
|
8928
8961
|
isDeactivated: zod.z.boolean().optional(),
|
|
8929
8962
|
authType: zod.z.enum(CONNECTOR_AUTH_TYPES).optional(),
|
|
8930
8963
|
});
|
|
8964
|
+
const IntegrationExportProperties = BaseMembraneInterfaceEditableProperties.extend({
|
|
8965
|
+
logoUri: zod.z.string(),
|
|
8966
|
+
connectorUuid: zod.z.string().optional(),
|
|
8967
|
+
connectorVersion: zod.z.string().optional(),
|
|
8968
|
+
oAuthCallbackUri: zod.z.string().optional(),
|
|
8969
|
+
parameters: zod.z.any().optional(),
|
|
8970
|
+
appUuid: zod.z.string().optional(),
|
|
8971
|
+
});
|
|
8931
8972
|
const AppliedToIntegrations = (elementSchema) => zod.z.array(zod.z.object({
|
|
8932
8973
|
element: elementSchema,
|
|
8933
8974
|
integration: BaseIntegration,
|
|
@@ -8958,11 +8999,17 @@ const PackageElement = zod.z.object({
|
|
|
8958
8999
|
type: zod.z.enum(exports.IntegrationElementType),
|
|
8959
9000
|
element: zod.z.any().optional(),
|
|
8960
9001
|
});
|
|
8961
|
-
const
|
|
9002
|
+
const PackageElementExport = zod.z.object({
|
|
9003
|
+
uuid: zod.z.string(),
|
|
9004
|
+
type: zod.z.enum(exports.IntegrationElementType),
|
|
9005
|
+
element: zod.z.any().optional(),
|
|
9006
|
+
});
|
|
9007
|
+
const PackageEditableProperties = BaseIntegrationLevelMembraneInterfaceEditableProperties.extend({
|
|
8962
9008
|
scenarioTemplateId: zod.z.string().optional(),
|
|
8963
9009
|
elements: zod.z.array(PackageElement).optional(),
|
|
8964
|
-
|
|
8965
|
-
|
|
9010
|
+
});
|
|
9011
|
+
const PackageExportProperties = BaseIntegrationLevelMembraneInterfaceExportProperties.extend({
|
|
9012
|
+
elements: zod.z.array(PackageElementExport).optional(),
|
|
8966
9013
|
});
|
|
8967
9014
|
const PackageCalculatedProperties = zod.z.object({
|
|
8968
9015
|
key: zod.z.string(),
|
|
@@ -9196,6 +9243,7 @@ const BaseAppEventType = BaseMembraneInterface.extend({
|
|
|
9196
9243
|
example: zod.z.any().optional(),
|
|
9197
9244
|
schema: DataSchema.optional(),
|
|
9198
9245
|
globalWebhookUri: zod.z.string(),
|
|
9246
|
+
tenantIdFormula: zod.z.any().optional(),
|
|
9199
9247
|
userIdFormula: zod.z.any().optional(),
|
|
9200
9248
|
});
|
|
9201
9249
|
|
|
@@ -9418,12 +9466,9 @@ const DataSourceApiResponse = BaseDataSource.extend({
|
|
|
9418
9466
|
integration: BaseIntegration.optional(),
|
|
9419
9467
|
appliedToIntegrations: AppliedToIntegrations(BaseDataSource).optional(),
|
|
9420
9468
|
});
|
|
9421
|
-
const FindDataSourcesQuery =
|
|
9422
|
-
|
|
9423
|
-
integrationKey: zod.z.string().optional(),
|
|
9469
|
+
const FindDataSourcesQuery = FindIntegrationLevelMembraneInterfaceQuery.omit({ parentId: true }).extend({
|
|
9470
|
+
dataSourceId: zod.z.string().optional(),
|
|
9424
9471
|
universalDataSourceId: zod.z.string().optional(),
|
|
9425
|
-
search: zod.z.string().optional(),
|
|
9426
|
-
includeArchived: zodBooleanCoercion().optional(),
|
|
9427
9472
|
});
|
|
9428
9473
|
const CreateDataSourceRequest = DataSourceEditableProperties;
|
|
9429
9474
|
const UpdateDataSourceRequest = CreateDataSourceRequest.extend({}).partial();
|
|
@@ -9508,12 +9553,9 @@ const FlowApiResponse = BaseFlow.extend({
|
|
|
9508
9553
|
})).optional(),
|
|
9509
9554
|
dependencies: zod.z.array(zod.z.any()).optional(),
|
|
9510
9555
|
});
|
|
9511
|
-
const FindFlowsQuery =
|
|
9512
|
-
|
|
9513
|
-
integrationKey: zod.z.string().optional(),
|
|
9556
|
+
const FindFlowsQuery = FindIntegrationLevelMembraneInterfaceQuery.omit({ parentId: true }).extend({
|
|
9557
|
+
flowId: zod.z.string().optional(),
|
|
9514
9558
|
universalFlowId: zod.z.string().optional(),
|
|
9515
|
-
search: zod.z.string().optional(),
|
|
9516
|
-
includeArchived: zodBooleanCoercion().optional(),
|
|
9517
9559
|
});
|
|
9518
9560
|
const CreateFlowRequest = FlowEditableProperties;
|
|
9519
9561
|
const UpdateFlowRequest = CreateFlowRequest.extend({}).partial();
|
|
@@ -9530,6 +9572,10 @@ const ResetFlowInstanceOptions = zod.z.object({
|
|
|
9530
9572
|
nodes: zod.z.record(zod.z.string(), zod.z.boolean()).optional(),
|
|
9531
9573
|
allNodes: zod.z.boolean().optional(),
|
|
9532
9574
|
});
|
|
9575
|
+
const RunFlowApiRequest = zod.z.object({
|
|
9576
|
+
nodeKey: zod.z.string().optional(),
|
|
9577
|
+
input: zod.z.any().optional(),
|
|
9578
|
+
});
|
|
9533
9579
|
const FlowInstanceApiResponse = BaseFlowInstance.extend({
|
|
9534
9580
|
user: zod.z.lazy(() => zod.z.any()).optional(),
|
|
9535
9581
|
connection: zod.z.lazy(() => zod.z.any()).optional(),
|
|
@@ -9611,15 +9657,9 @@ const PackageElementApi = zod.z.object({
|
|
|
9611
9657
|
type: zod.z.enum(exports.IntegrationElementType),
|
|
9612
9658
|
element: zod.z.any().optional(),
|
|
9613
9659
|
});
|
|
9614
|
-
const FindPackagesQuery =
|
|
9615
|
-
|
|
9616
|
-
|
|
9617
|
-
integrationKey: zod.z.string().optional(),
|
|
9618
|
-
parentId: zod.z.string().optional(),
|
|
9619
|
-
})
|
|
9620
|
-
.extend(SearchQuery.shape)
|
|
9621
|
-
.extend(PaginationQuery.shape)
|
|
9622
|
-
.extend(IncludeArchivedQuery.shape);
|
|
9660
|
+
const FindPackagesQuery = FindIntegrationLevelMembraneInterfaceQuery;
|
|
9661
|
+
const CreatePackageRequest = PackageEditableProperties;
|
|
9662
|
+
const UpdatePackageRequest = CreatePackageRequest.extend({}).partial();
|
|
9623
9663
|
const PackageApiResponse = BasePackage.extend({
|
|
9624
9664
|
appliedToIntegrations: AppliedToIntegrations(BasePackage).optional(),
|
|
9625
9665
|
});
|
|
@@ -9651,12 +9691,9 @@ const FieldMappingApiResponse = BaseFieldMapping.extend({
|
|
|
9651
9691
|
integration: BaseIntegration.optional(),
|
|
9652
9692
|
appliedToIntegrations: AppliedToIntegrations(BaseFieldMapping).optional(),
|
|
9653
9693
|
});
|
|
9654
|
-
const FindFieldMappingsQuery =
|
|
9655
|
-
|
|
9656
|
-
integrationKey: zod.z.string().optional(),
|
|
9694
|
+
const FindFieldMappingsQuery = FindIntegrationLevelMembraneInterfaceQuery.omit({ parentId: true }).extend({
|
|
9695
|
+
fieldMappingId: zod.z.string().optional(),
|
|
9657
9696
|
universalFieldMappingId: zod.z.string().optional(),
|
|
9658
|
-
search: zod.z.string().optional(),
|
|
9659
|
-
includeArchived: zodBooleanCoercion().optional(),
|
|
9660
9697
|
});
|
|
9661
9698
|
const CreateFieldMappingRequest = FieldMappingEditableProperties;
|
|
9662
9699
|
const UpdateFieldMappingRequest = CreateFieldMappingRequest.extend({}).partial();
|
|
@@ -9889,6 +9926,7 @@ const WorkspaceElementSpecs = {
|
|
|
9889
9926
|
apiPath: 'integrations',
|
|
9890
9927
|
name: 'Integration',
|
|
9891
9928
|
namePlural: 'Integrations',
|
|
9929
|
+
exportPropertiesSchema: IntegrationExportProperties,
|
|
9892
9930
|
},
|
|
9893
9931
|
[exports.WorkspaceElementType.Connector]: {
|
|
9894
9932
|
type: exports.WorkspaceElementType.Connector,
|
|
@@ -9908,6 +9946,7 @@ const WorkspaceElementSpecs = {
|
|
|
9908
9946
|
name: 'Package',
|
|
9909
9947
|
namePlural: 'Packages',
|
|
9910
9948
|
editablePropertiesSchema: PackageEditableProperties,
|
|
9949
|
+
exportPropertiesSchema: PackageExportProperties,
|
|
9911
9950
|
apiResponseSchema: PackageApiResponse,
|
|
9912
9951
|
findQuerySchema: FindPackagesQuery,
|
|
9913
9952
|
isMembraneInterface: true,
|
|
@@ -9926,6 +9965,7 @@ const WorkspaceElementSpecs = {
|
|
|
9926
9965
|
name: 'Action',
|
|
9927
9966
|
namePlural: 'Actions',
|
|
9928
9967
|
editablePropertiesSchema: ActionEditableProperties,
|
|
9968
|
+
exportPropertiesSchema: ActionExportProperties,
|
|
9929
9969
|
apiResponseSchema: ActionApiResponse,
|
|
9930
9970
|
findQuerySchema: FindActionsQuery,
|
|
9931
9971
|
isMembraneInterface: true,
|
|
@@ -9943,6 +9983,10 @@ const WorkspaceElementSpecs = {
|
|
|
9943
9983
|
name: 'Flow',
|
|
9944
9984
|
namePlural: 'Flows',
|
|
9945
9985
|
parentFieldKey: 'universalFlowId',
|
|
9986
|
+
editablePropertiesSchema: FlowEditableProperties,
|
|
9987
|
+
exportPropertiesSchema: FlowExportProperties,
|
|
9988
|
+
apiResponseSchema: FlowApiResponse,
|
|
9989
|
+
findQuerySchema: FindFlowsQuery,
|
|
9946
9990
|
isMembraneInterface: true,
|
|
9947
9991
|
isIntegrationLevel: true,
|
|
9948
9992
|
},
|
|
@@ -9954,6 +9998,7 @@ const WorkspaceElementSpecs = {
|
|
|
9954
9998
|
name: 'Flow',
|
|
9955
9999
|
namePlural: 'Flows',
|
|
9956
10000
|
parentFieldKey: 'flowId',
|
|
10001
|
+
universalParentFieldKey: 'universalFlowId',
|
|
9957
10002
|
isMembraneInterface: true,
|
|
9958
10003
|
},
|
|
9959
10004
|
[exports.WorkspaceElementType.FlowRun]: {
|
|
@@ -9968,6 +10013,10 @@ const WorkspaceElementSpecs = {
|
|
|
9968
10013
|
name: 'Field Mapping',
|
|
9969
10014
|
namePlural: 'Field Mappings',
|
|
9970
10015
|
parentFieldKey: 'universalFieldMappingId',
|
|
10016
|
+
editablePropertiesSchema: FieldMappingEditableProperties,
|
|
10017
|
+
exportPropertiesSchema: FieldMappingExportProperties,
|
|
10018
|
+
apiResponseSchema: FieldMappingApiResponse,
|
|
10019
|
+
findQuerySchema: FindFieldMappingsQuery,
|
|
9971
10020
|
isMembraneInterface: true,
|
|
9972
10021
|
isIntegrationLevel: true,
|
|
9973
10022
|
},
|
|
@@ -9977,20 +10026,19 @@ const WorkspaceElementSpecs = {
|
|
|
9977
10026
|
name: 'Field Mapping Instance',
|
|
9978
10027
|
namePlural: 'Field Mapping Instances',
|
|
9979
10028
|
parentFieldKey: 'fieldMappingId',
|
|
10029
|
+
universalParentFieldKey: 'universalFieldMappingId',
|
|
9980
10030
|
isMembraneInterface: true,
|
|
9981
10031
|
},
|
|
9982
|
-
[exports.WorkspaceElementType.DataCollection]: {
|
|
9983
|
-
type: exports.WorkspaceElementType.DataCollection,
|
|
9984
|
-
apiPath: 'data-collections',
|
|
9985
|
-
name: 'Data Collection',
|
|
9986
|
-
namePlural: 'Data Collections',
|
|
9987
|
-
},
|
|
9988
10032
|
[exports.WorkspaceElementType.DataSource]: {
|
|
9989
10033
|
type: exports.WorkspaceElementType.DataSource,
|
|
9990
10034
|
apiPath: 'data-sources',
|
|
9991
10035
|
name: 'Data Source',
|
|
9992
10036
|
namePlural: 'Data Sources',
|
|
9993
10037
|
parentFieldKey: 'universalDataSourceId',
|
|
10038
|
+
editablePropertiesSchema: DataSourceEditableProperties,
|
|
10039
|
+
exportPropertiesSchema: DataSourceExportProperties,
|
|
10040
|
+
apiResponseSchema: DataSourceApiResponse,
|
|
10041
|
+
findQuerySchema: FindDataSourcesQuery,
|
|
9994
10042
|
isMembraneInterface: true,
|
|
9995
10043
|
isIntegrationLevel: true,
|
|
9996
10044
|
},
|
|
@@ -10000,6 +10048,7 @@ const WorkspaceElementSpecs = {
|
|
|
10000
10048
|
name: 'Data Source Instance',
|
|
10001
10049
|
namePlural: 'Data Source Instances',
|
|
10002
10050
|
parentFieldKey: 'dataSourceId',
|
|
10051
|
+
universalParentFieldKey: 'universalDataSourceId',
|
|
10003
10052
|
isMembraneInterface: true,
|
|
10004
10053
|
},
|
|
10005
10054
|
[exports.WorkspaceElementType.DataLinkTable]: {
|
|
@@ -10080,6 +10129,44 @@ const WorkspaceElementSpecs = {
|
|
|
10080
10129
|
},
|
|
10081
10130
|
};
|
|
10082
10131
|
|
|
10132
|
+
const MEMBRANE_ELEMENT_CONFIG_FILE_NAME = 'spec.yaml';
|
|
10133
|
+
function getMembraneElementPath(elementType, elementKey, integrationKey) {
|
|
10134
|
+
const elementTypePath = WorkspaceElementSpecs[elementType].apiPath;
|
|
10135
|
+
if (!integrationKey) {
|
|
10136
|
+
return `${elementTypePath}/${elementKey}/${MEMBRANE_ELEMENT_CONFIG_FILE_NAME}`;
|
|
10137
|
+
}
|
|
10138
|
+
const integrationTypePath = WorkspaceElementSpecs[exports.WorkspaceElementType.Integration].apiPath;
|
|
10139
|
+
return `${integrationTypePath}/${integrationKey}/${elementTypePath}/${elementKey}/${MEMBRANE_ELEMENT_CONFIG_FILE_NAME}`;
|
|
10140
|
+
}
|
|
10141
|
+
function parseMembraneElementPath(relativePath) {
|
|
10142
|
+
const typeByApiPath = new Map();
|
|
10143
|
+
for (const spec of Object.values(WorkspaceElementSpecs)) {
|
|
10144
|
+
typeByApiPath.set(spec.apiPath, spec.type);
|
|
10145
|
+
}
|
|
10146
|
+
const elementTypes = Object.values(WorkspaceElementSpecs)
|
|
10147
|
+
.map((spec) => spec.apiPath)
|
|
10148
|
+
.join('|');
|
|
10149
|
+
const universalPattern = new RegExp(`^(?<elementType>${elementTypes})/(?<elementKey>[^/]+)/${MEMBRANE_ELEMENT_CONFIG_FILE_NAME}$`);
|
|
10150
|
+
const universalMatch = relativePath.match(universalPattern);
|
|
10151
|
+
if (universalMatch === null || universalMatch === void 0 ? void 0 : universalMatch.groups) {
|
|
10152
|
+
const { elementType: elementTypePath, elementKey } = universalMatch.groups;
|
|
10153
|
+
const elementType = typeByApiPath.get(elementTypePath);
|
|
10154
|
+
if (elementType) {
|
|
10155
|
+
return { type: elementType, key: elementKey };
|
|
10156
|
+
}
|
|
10157
|
+
}
|
|
10158
|
+
const integrationLevelPattern = new RegExp(`^integrations/(?<integrationKey>[^/]+)/(?<elementType>${elementTypes})/(?<elementKey>[^/]+)/${MEMBRANE_ELEMENT_CONFIG_FILE_NAME}$`);
|
|
10159
|
+
const integrationLevelMatch = relativePath.match(integrationLevelPattern);
|
|
10160
|
+
if (integrationLevelMatch === null || integrationLevelMatch === void 0 ? void 0 : integrationLevelMatch.groups) {
|
|
10161
|
+
const { integrationKey, elementType: elementTypePath, elementKey } = integrationLevelMatch.groups;
|
|
10162
|
+
const elementType = typeByApiPath.get(elementTypePath);
|
|
10163
|
+
if (elementType) {
|
|
10164
|
+
return { type: elementType, key: elementKey, integrationKey };
|
|
10165
|
+
}
|
|
10166
|
+
}
|
|
10167
|
+
return undefined;
|
|
10168
|
+
}
|
|
10169
|
+
|
|
10083
10170
|
class SelfAccessor {
|
|
10084
10171
|
constructor(client) {
|
|
10085
10172
|
this.client = client;
|
|
@@ -10092,136 +10179,6 @@ class SelfAccessor {
|
|
|
10092
10179
|
}
|
|
10093
10180
|
}
|
|
10094
10181
|
|
|
10095
|
-
exports.ConnectorCopilotSuggestionType = void 0;
|
|
10096
|
-
(function (ConnectorCopilotSuggestionType) {
|
|
10097
|
-
ConnectorCopilotSuggestionType["AuthType"] = "auth-type";
|
|
10098
|
-
ConnectorCopilotSuggestionType["AuthImplementation"] = "auth-implementation";
|
|
10099
|
-
ConnectorCopilotSuggestionType["AuthConnectionParameters"] = "auth-connection-parameters";
|
|
10100
|
-
ConnectorCopilotSuggestionType["AuthApiClient"] = "auth-api-client";
|
|
10101
|
-
ConnectorCopilotSuggestionType["DataCollection"] = "data-collection";
|
|
10102
|
-
ConnectorCopilotSuggestionType["DataCollectionOperationApiRequests"] = "data-location-operation-api-requests";
|
|
10103
|
-
ConnectorCopilotSuggestionType["DataCollectionOperationApiRequestMapping"] = "data-location-operation-api-request-mapping";
|
|
10104
|
-
ConnectorCopilotSuggestionType["DataCollectionFieldsSchema"] = "data-location-fields-schema";
|
|
10105
|
-
ConnectorCopilotSuggestionType["UdmList"] = "udm-list";
|
|
10106
|
-
ConnectorCopilotSuggestionType["UdmFieldsMapping"] = "udm-fields-mapping";
|
|
10107
|
-
ConnectorCopilotSuggestionType["UdmFieldsMappingToCollection"] = "udm-fields-mapping-to-collection";
|
|
10108
|
-
ConnectorCopilotSuggestionType["UdmFieldsMappingFromCollection"] = "udm-fields-mapping-from-collection";
|
|
10109
|
-
})(exports.ConnectorCopilotSuggestionType || (exports.ConnectorCopilotSuggestionType = {}));
|
|
10110
|
-
exports.ConnectorCopilotFileChunkTopicKey = void 0;
|
|
10111
|
-
(function (ConnectorCopilotFileChunkTopicKey) {
|
|
10112
|
-
ConnectorCopilotFileChunkTopicKey["AuthType"] = "auth-type";
|
|
10113
|
-
ConnectorCopilotFileChunkTopicKey["AuthImplementation"] = "auth-implementation";
|
|
10114
|
-
ConnectorCopilotFileChunkTopicKey["AuthConnectionParameters"] = "auth-connection-parameters";
|
|
10115
|
-
ConnectorCopilotFileChunkTopicKey["AuthApiClient"] = "auth-api-client";
|
|
10116
|
-
})(exports.ConnectorCopilotFileChunkTopicKey || (exports.ConnectorCopilotFileChunkTopicKey = {}));
|
|
10117
|
-
exports.CopilotTaskType = void 0;
|
|
10118
|
-
(function (CopilotTaskType) {
|
|
10119
|
-
CopilotTaskType["GenerateAuthType"] = "generate-auth-type";
|
|
10120
|
-
CopilotTaskType["GenerateOAuthConfiguration"] = "generate-oauth-configuration";
|
|
10121
|
-
CopilotTaskType["GenerateAuthConnectionParameters"] = "generate-auth-connection-parameters";
|
|
10122
|
-
CopilotTaskType["GenerateAuthApiClient"] = "generate-auth-api-client";
|
|
10123
|
-
CopilotTaskType["GenerateDataCollections"] = "generate-data-collections";
|
|
10124
|
-
CopilotTaskType["GenerateDataCollectionRecordFromFields"] = "generate-data-collection-record-from-fields";
|
|
10125
|
-
CopilotTaskType["GenerateDataCollectionOperationApiRequests"] = "generate-data-collection-operation-api-requests";
|
|
10126
|
-
CopilotTaskType["GenerateDataCollectionOperationApiRequestMapping"] = "generate-data-collection-operation-api-request-mapping";
|
|
10127
|
-
CopilotTaskType["GenerateDataCollectionFieldsSchema"] = "generate-data-collection-fields-schema";
|
|
10128
|
-
CopilotTaskType["GenerateUdmList"] = "generate-udm-list";
|
|
10129
|
-
CopilotTaskType["GenerateUdmFieldsMapping"] = "generate-udm-fields-mapping";
|
|
10130
|
-
})(exports.CopilotTaskType || (exports.CopilotTaskType = {}));
|
|
10131
|
-
exports.CopilotTaskStatus = void 0;
|
|
10132
|
-
(function (CopilotTaskStatus) {
|
|
10133
|
-
CopilotTaskStatus["Pending"] = "pending";
|
|
10134
|
-
CopilotTaskStatus["Running"] = "running";
|
|
10135
|
-
CopilotTaskStatus["Completed"] = "completed";
|
|
10136
|
-
CopilotTaskStatus["Failed"] = "failed";
|
|
10137
|
-
})(exports.CopilotTaskStatus || (exports.CopilotTaskStatus = {}));
|
|
10138
|
-
exports.CopilotActionType = void 0;
|
|
10139
|
-
(function (CopilotActionType) {
|
|
10140
|
-
CopilotActionType["PatchConnectorFile"] = "patch";
|
|
10141
|
-
CopilotActionType["PutConnectorFile"] = "put";
|
|
10142
|
-
CopilotActionType["PatchConnectorDataSchema"] = "patch-data-schema";
|
|
10143
|
-
CopilotActionType["PatchConnectorFieldMapping"] = "patch-field-mapping";
|
|
10144
|
-
CopilotActionType["SetConnectorAuthType"] = "set-connector-auth-type";
|
|
10145
|
-
})(exports.CopilotActionType || (exports.CopilotActionType = {}));
|
|
10146
|
-
exports.CopilotActionStatus = void 0;
|
|
10147
|
-
(function (CopilotActionStatus) {
|
|
10148
|
-
CopilotActionStatus["Suggested"] = "suggested";
|
|
10149
|
-
CopilotActionStatus["Executed"] = "executed";
|
|
10150
|
-
CopilotActionStatus["Rejected"] = "rejected";
|
|
10151
|
-
})(exports.CopilotActionStatus || (exports.CopilotActionStatus = {}));
|
|
10152
|
-
exports.CopilotActivityType = void 0;
|
|
10153
|
-
(function (CopilotActivityType) {
|
|
10154
|
-
CopilotActivityType["Task"] = "task";
|
|
10155
|
-
})(exports.CopilotActivityType || (exports.CopilotActivityType = {}));
|
|
10156
|
-
const CopilotActivityScope = {
|
|
10157
|
-
connector: (connectorId) => new CopilotActivityScopeConnector(connectorId),
|
|
10158
|
-
};
|
|
10159
|
-
class CopilotActivityScopeConnector {
|
|
10160
|
-
constructor(connectorId) {
|
|
10161
|
-
this.connectorId = connectorId;
|
|
10162
|
-
this.auth = () => new CopilotActivityScopeConnectorAuth(this);
|
|
10163
|
-
this.data = (key) => new CopilotActivityScopeConnectorData(this, key);
|
|
10164
|
-
this.udm = (key) => new CopilotActivityScopeConnectorUdm(this, key);
|
|
10165
|
-
}
|
|
10166
|
-
toString() {
|
|
10167
|
-
return `connectors/${this.connectorId}`;
|
|
10168
|
-
}
|
|
10169
|
-
}
|
|
10170
|
-
class CopilotActivityScopeConnectorAuth {
|
|
10171
|
-
constructor(connectorScope) {
|
|
10172
|
-
this.connectorScope = connectorScope;
|
|
10173
|
-
}
|
|
10174
|
-
toString() {
|
|
10175
|
-
return `${this.connectorScope.toString()}/auth`;
|
|
10176
|
-
}
|
|
10177
|
-
}
|
|
10178
|
-
class CopilotActivityScopeConnectorData {
|
|
10179
|
-
constructor(connectorScope, dataCollectionKey) {
|
|
10180
|
-
this.connectorScope = connectorScope;
|
|
10181
|
-
this.dataCollectionKey = dataCollectionKey;
|
|
10182
|
-
this.method = (key) => new CopilotActivityScopeConnectorDataMethod(this, key);
|
|
10183
|
-
}
|
|
10184
|
-
toString() {
|
|
10185
|
-
let scope = `${this.connectorScope.toString()}/data`;
|
|
10186
|
-
if (this.dataCollectionKey) {
|
|
10187
|
-
scope += `/${this.dataCollectionKey}`;
|
|
10188
|
-
}
|
|
10189
|
-
return scope;
|
|
10190
|
-
}
|
|
10191
|
-
}
|
|
10192
|
-
class CopilotActivityScopeConnectorDataMethod {
|
|
10193
|
-
constructor(collectionScope, methodKey) {
|
|
10194
|
-
this.collectionScope = collectionScope;
|
|
10195
|
-
this.methodKey = methodKey;
|
|
10196
|
-
}
|
|
10197
|
-
toString() {
|
|
10198
|
-
return `${this.collectionScope.toString()}/methods/${this.methodKey}`;
|
|
10199
|
-
}
|
|
10200
|
-
}
|
|
10201
|
-
class CopilotActivityScopeConnectorUdm {
|
|
10202
|
-
constructor(connectorScope, key) {
|
|
10203
|
-
this.connectorScope = connectorScope;
|
|
10204
|
-
this.key = key;
|
|
10205
|
-
this.collection = (key) => new CopilotActivityScopeConnectorUdmCollection(this, key);
|
|
10206
|
-
}
|
|
10207
|
-
toString() {
|
|
10208
|
-
let scope = `${this.connectorScope.toString()}/udm`;
|
|
10209
|
-
if (this.key) {
|
|
10210
|
-
scope += `/${this.key}`;
|
|
10211
|
-
}
|
|
10212
|
-
return scope;
|
|
10213
|
-
}
|
|
10214
|
-
}
|
|
10215
|
-
class CopilotActivityScopeConnectorUdmCollection {
|
|
10216
|
-
constructor(udmScope, key) {
|
|
10217
|
-
this.udmScope = udmScope;
|
|
10218
|
-
this.key = key;
|
|
10219
|
-
}
|
|
10220
|
-
toString() {
|
|
10221
|
-
return `${this.udmScope.toString()}/collection/${this.key}`;
|
|
10222
|
-
}
|
|
10223
|
-
}
|
|
10224
|
-
|
|
10225
10182
|
exports.LogRecordType = void 0;
|
|
10226
10183
|
(function (LogRecordType) {
|
|
10227
10184
|
LogRecordType["MSG"] = "message";
|
|
@@ -10495,6 +10452,7 @@ exports.UsageType = void 0;
|
|
|
10495
10452
|
UsageType["FILES_UPLOAD_NUMBER"] = "files-upload-number";
|
|
10496
10453
|
UsageType["FILES_UPLOAD_SIZE"] = "files-upload-size";
|
|
10497
10454
|
UsageType["CUSTOM_CODE_RUNTIME_DURATION"] = "custom-code-runtime-duration";
|
|
10455
|
+
UsageType["MEMBRANE_AGENT"] = "membrane-agent";
|
|
10498
10456
|
})(exports.UsageType || (exports.UsageType = {}));
|
|
10499
10457
|
|
|
10500
10458
|
function getNodeInputSchema(flow, nodeKey) {
|
|
@@ -10637,7 +10595,6 @@ const PARALLEL_EXECUTION_LIMITS = [
|
|
|
10637
10595
|
'parallelBackgroundJobs',
|
|
10638
10596
|
'parallelEventLogs',
|
|
10639
10597
|
'parallelEventLogsPerConnection',
|
|
10640
|
-
'parallelWriteDatabaseRequests',
|
|
10641
10598
|
'parallelPathfinderAgentSessions',
|
|
10642
10599
|
];
|
|
10643
10600
|
const RATE_LIMITS = [
|
|
@@ -10648,7 +10605,6 @@ const RATE_LIMITS = [
|
|
|
10648
10605
|
'webhookRequestsPerHour',
|
|
10649
10606
|
'workspaceElementCreationsPerHour',
|
|
10650
10607
|
'workspaceElementCreationsPerSecond',
|
|
10651
|
-
'createDatabaseRequestsPerSecond',
|
|
10652
10608
|
];
|
|
10653
10609
|
const WORKSPACE_SIZE_LIMITS = [
|
|
10654
10610
|
'totalNumberOfCustomers',
|
|
@@ -10664,9 +10620,6 @@ const EDITABLE_LIMITS = [
|
|
|
10664
10620
|
'webhookRequestsPerCustomerPerSecond',
|
|
10665
10621
|
'webhookRequestsPerCustomerPerHour',
|
|
10666
10622
|
'parallelFlowRunsPerConnection',
|
|
10667
|
-
'parallelWriteDatabaseRequestsPerCustomer',
|
|
10668
|
-
'createDatabaseRequestsPerCustomerPerSecond',
|
|
10669
|
-
'updateDatabaseRequestsPerCustomerPerSecond',
|
|
10670
10623
|
];
|
|
10671
10624
|
|
|
10672
10625
|
exports.OrgLimitsType = void 0;
|
|
@@ -10674,6 +10627,8 @@ exports.OrgLimitsType = void 0;
|
|
|
10674
10627
|
OrgLimitsType["NUMBER_OF_WORKSPACES"] = "numberOfWorkspaces";
|
|
10675
10628
|
OrgLimitsType["TODAY_USAGE"] = "todayUsage";
|
|
10676
10629
|
OrgLimitsType["LAST_THIRTY_DAY_USAGE"] = "lastThirtyDayUsage";
|
|
10630
|
+
OrgLimitsType["MEMBRANE_EXPERT_CREDITS_CAP"] = "membraneExpertCreditsCapPerMonth";
|
|
10631
|
+
OrgLimitsType["MEMBRANE_AGENT_LAST_THIRTY_DAYS_USAGE"] = "membraneAgentLastThirtyDaysUsage";
|
|
10677
10632
|
})(exports.OrgLimitsType || (exports.OrgLimitsType = {}));
|
|
10678
10633
|
exports.OrgUserRole = void 0;
|
|
10679
10634
|
(function (OrgUserRole) {
|
|
@@ -10711,6 +10666,7 @@ exports.AlertType = void 0;
|
|
|
10711
10666
|
AlertType["externalEventsPerCustomerPerDay"] = "externalEventsPerCustomerPerDay";
|
|
10712
10667
|
AlertType["totalUsagePerDay"] = "totalUsagePerDay";
|
|
10713
10668
|
AlertType["totalUsagePer30Days"] = "totalUsagePer30Days";
|
|
10669
|
+
AlertType["membraneAgentUsagePer30Days"] = "membraneAgentUsagePer30Days";
|
|
10714
10670
|
})(exports.AlertType || (exports.AlertType = {}));
|
|
10715
10671
|
|
|
10716
10672
|
class ElementAccessor {
|
|
@@ -10844,6 +10800,55 @@ class ElementInstanceAccessor {
|
|
|
10844
10800
|
}
|
|
10845
10801
|
}
|
|
10846
10802
|
|
|
10803
|
+
class ConnectionLevelElementAccessor {
|
|
10804
|
+
constructor(client, connectionSelector, selector, elementKey, query) {
|
|
10805
|
+
this.client = client;
|
|
10806
|
+
this.connectionSelector = connectionSelector;
|
|
10807
|
+
this.selector = selector;
|
|
10808
|
+
this.elementKey = elementKey;
|
|
10809
|
+
this.query = query;
|
|
10810
|
+
this.endpoint = `/connections/${this.connectionSelector}/${elementKey}/${selector}`;
|
|
10811
|
+
}
|
|
10812
|
+
uri(path = '', query = {}) {
|
|
10813
|
+
return this.endpoint + path + '?' + qs.stringify({ ...this.query, ...query });
|
|
10814
|
+
}
|
|
10815
|
+
getUniqueIdentifier() {
|
|
10816
|
+
return this.endpoint;
|
|
10817
|
+
}
|
|
10818
|
+
async get(query = {}) {
|
|
10819
|
+
return this.client.get(this.uri('', query));
|
|
10820
|
+
}
|
|
10821
|
+
async create() {
|
|
10822
|
+
return this.client.put(this.uri());
|
|
10823
|
+
}
|
|
10824
|
+
async patch(data) {
|
|
10825
|
+
return this.client.patch(this.uri(), data);
|
|
10826
|
+
}
|
|
10827
|
+
async put(data) {
|
|
10828
|
+
return this.client.put(this.uri(), data);
|
|
10829
|
+
}
|
|
10830
|
+
async archive() {
|
|
10831
|
+
return this.client.delete(this.uri());
|
|
10832
|
+
}
|
|
10833
|
+
async reset() {
|
|
10834
|
+
return this.client.post(this.uri('/reset'));
|
|
10835
|
+
}
|
|
10836
|
+
async setup() {
|
|
10837
|
+
return this.client.post(this.uri('/setup'));
|
|
10838
|
+
}
|
|
10839
|
+
}
|
|
10840
|
+
class ConnectionLevelElementsListAccessor {
|
|
10841
|
+
constructor(client, connectionSelector, elementKey) {
|
|
10842
|
+
this.client = client;
|
|
10843
|
+
this.connectionSelector = connectionSelector;
|
|
10844
|
+
this.elementKey = elementKey;
|
|
10845
|
+
}
|
|
10846
|
+
async list(query) {
|
|
10847
|
+
const endpoint = `/connections/${this.connectionSelector}/${this.elementKey}?${qs.stringify(query !== null && query !== void 0 ? query : {})}`;
|
|
10848
|
+
return this.client.get(endpoint);
|
|
10849
|
+
}
|
|
10850
|
+
}
|
|
10851
|
+
|
|
10847
10852
|
class IntegrationLevelElementAccessor {
|
|
10848
10853
|
constructor(client, integrationSelector, elementSelector, elementKey) {
|
|
10849
10854
|
this.client = client;
|
|
@@ -10902,6 +10907,15 @@ class ActionAccessor extends ElementAccessor {
|
|
|
10902
10907
|
async reset() {
|
|
10903
10908
|
return await this.options.client.post(this.getPath('reset'));
|
|
10904
10909
|
}
|
|
10910
|
+
async run(input, options) {
|
|
10911
|
+
const queryParams = options
|
|
10912
|
+
? {
|
|
10913
|
+
integrationKey: options.integrationKey,
|
|
10914
|
+
connectionId: options.connectionId,
|
|
10915
|
+
}
|
|
10916
|
+
: {};
|
|
10917
|
+
return this.options.client.post(this.getPath('run'), { input }, { params: queryParams });
|
|
10918
|
+
}
|
|
10905
10919
|
}
|
|
10906
10920
|
class IntegrationLevelActionAccessor extends IntegrationLevelElementAccessor {
|
|
10907
10921
|
constructor(client, integrationSelector, actionSelector) {
|
|
@@ -10918,6 +10932,25 @@ class IntegrationLevelActionsListAccessor extends IntegrationLevelElementsListAc
|
|
|
10918
10932
|
this.integrationSelector = integrationSelector;
|
|
10919
10933
|
}
|
|
10920
10934
|
}
|
|
10935
|
+
class ConnectionLevelActionAccessor extends ConnectionLevelElementAccessor {
|
|
10936
|
+
constructor(client, connectionSelector, actionSelector, query) {
|
|
10937
|
+
super(client, connectionSelector, actionSelector, 'actions', query);
|
|
10938
|
+
this.client = client;
|
|
10939
|
+
this.connectionSelector = connectionSelector;
|
|
10940
|
+
this.actionSelector = actionSelector;
|
|
10941
|
+
this.query = query;
|
|
10942
|
+
}
|
|
10943
|
+
async run(input) {
|
|
10944
|
+
return this.client.post(this.uri('/run'), input);
|
|
10945
|
+
}
|
|
10946
|
+
}
|
|
10947
|
+
class ConnectionLevelActionsAccessor extends ConnectionLevelElementsListAccessor {
|
|
10948
|
+
constructor(client, connectionSelector) {
|
|
10949
|
+
super(client, connectionSelector, 'actions');
|
|
10950
|
+
this.client = client;
|
|
10951
|
+
this.connectionSelector = connectionSelector;
|
|
10952
|
+
}
|
|
10953
|
+
}
|
|
10921
10954
|
|
|
10922
10955
|
const POPUP_ELEMENT_ID = '__integration-app-popup';
|
|
10923
10956
|
const CONTAINER_ELEMENT_ID = '__integration-app-container';
|
|
@@ -11144,104 +11177,6 @@ function handleIframeUnmount(iframe) {
|
|
|
11144
11177
|
}
|
|
11145
11178
|
}
|
|
11146
11179
|
|
|
11147
|
-
class ConnectionLevelElementAccessor {
|
|
11148
|
-
constructor(client, connectionSelector, selector, elementKey, query) {
|
|
11149
|
-
this.client = client;
|
|
11150
|
-
this.connectionSelector = connectionSelector;
|
|
11151
|
-
this.selector = selector;
|
|
11152
|
-
this.elementKey = elementKey;
|
|
11153
|
-
this.query = query;
|
|
11154
|
-
this.endpoint = `/connections/${this.connectionSelector}/${elementKey}/${selector}`;
|
|
11155
|
-
}
|
|
11156
|
-
uri(path = '', query = {}) {
|
|
11157
|
-
return this.endpoint + path + '?' + qs.stringify({ ...this.query, ...query });
|
|
11158
|
-
}
|
|
11159
|
-
getUniqueIdentifier() {
|
|
11160
|
-
return this.endpoint;
|
|
11161
|
-
}
|
|
11162
|
-
async get(query = {}) {
|
|
11163
|
-
return this.client.get(this.uri('', query));
|
|
11164
|
-
}
|
|
11165
|
-
async create() {
|
|
11166
|
-
return this.client.put(this.uri());
|
|
11167
|
-
}
|
|
11168
|
-
async patch(data) {
|
|
11169
|
-
return this.client.patch(this.uri(), data);
|
|
11170
|
-
}
|
|
11171
|
-
async put(data) {
|
|
11172
|
-
return this.client.put(this.uri(), data);
|
|
11173
|
-
}
|
|
11174
|
-
async archive() {
|
|
11175
|
-
return this.client.delete(this.uri());
|
|
11176
|
-
}
|
|
11177
|
-
async reset() {
|
|
11178
|
-
return this.client.post(this.uri('/reset'));
|
|
11179
|
-
}
|
|
11180
|
-
async setup() {
|
|
11181
|
-
return this.client.post(this.uri('/setup'));
|
|
11182
|
-
}
|
|
11183
|
-
}
|
|
11184
|
-
class ConnectionLevelElementsListAccessor {
|
|
11185
|
-
constructor(client, connectionSelector, elementKey) {
|
|
11186
|
-
this.client = client;
|
|
11187
|
-
this.connectionSelector = connectionSelector;
|
|
11188
|
-
this.elementKey = elementKey;
|
|
11189
|
-
}
|
|
11190
|
-
async list(query) {
|
|
11191
|
-
const endpoint = `/connections/${this.connectionSelector}/${this.elementKey}?${qs.stringify(query !== null && query !== void 0 ? query : {})}`;
|
|
11192
|
-
return this.client.get(endpoint);
|
|
11193
|
-
}
|
|
11194
|
-
}
|
|
11195
|
-
|
|
11196
|
-
class ActionInstancesAccessor extends ElementInstanceListAccessor {
|
|
11197
|
-
constructor(client) {
|
|
11198
|
-
super(client, 'action-instances');
|
|
11199
|
-
}
|
|
11200
|
-
}
|
|
11201
|
-
class ActionInstanceAccessor extends ElementInstanceAccessor {
|
|
11202
|
-
constructor(client, selector) {
|
|
11203
|
-
super({
|
|
11204
|
-
client,
|
|
11205
|
-
instancePath: 'action-instance',
|
|
11206
|
-
selector,
|
|
11207
|
-
});
|
|
11208
|
-
this.client = client;
|
|
11209
|
-
}
|
|
11210
|
-
async setup() {
|
|
11211
|
-
await this.client.post(this.getPath('setup'));
|
|
11212
|
-
}
|
|
11213
|
-
async reset() {
|
|
11214
|
-
await this.client.post(this.getPath('reset'));
|
|
11215
|
-
}
|
|
11216
|
-
async run(input) {
|
|
11217
|
-
return this.client.post(this.getPath('run'), input);
|
|
11218
|
-
}
|
|
11219
|
-
async open({ onClose = () => { } } = {}) {
|
|
11220
|
-
const id = await this.getId();
|
|
11221
|
-
const uri = await this.client.getEmbedUri(`action-instances/${id}/configuration`);
|
|
11222
|
-
return openIframe(uri, { onClose });
|
|
11223
|
-
}
|
|
11224
|
-
}
|
|
11225
|
-
class ConnectionLevelActionAccessor extends ConnectionLevelElementAccessor {
|
|
11226
|
-
constructor(client, connectionSelector, actionSelector, query) {
|
|
11227
|
-
super(client, connectionSelector, actionSelector, 'actions', query);
|
|
11228
|
-
this.client = client;
|
|
11229
|
-
this.connectionSelector = connectionSelector;
|
|
11230
|
-
this.actionSelector = actionSelector;
|
|
11231
|
-
this.query = query;
|
|
11232
|
-
}
|
|
11233
|
-
async run(input) {
|
|
11234
|
-
return this.client.post(this.uri('/run'), input);
|
|
11235
|
-
}
|
|
11236
|
-
}
|
|
11237
|
-
class ConnectionLevelActionsAccessor extends ConnectionLevelElementsListAccessor {
|
|
11238
|
-
constructor(client, connectionSelector) {
|
|
11239
|
-
super(client, connectionSelector, 'actions');
|
|
11240
|
-
this.client = client;
|
|
11241
|
-
this.connectionSelector = connectionSelector;
|
|
11242
|
-
}
|
|
11243
|
-
}
|
|
11244
|
-
|
|
11245
11180
|
class DataSourcesAccessor extends ElementListAccessor {
|
|
11246
11181
|
constructor(client) {
|
|
11247
11182
|
super(client, 'data-sources');
|
|
@@ -12211,6 +12146,36 @@ class UserAccessor extends CustomerAccessor {
|
|
|
12211
12146
|
}
|
|
12212
12147
|
}
|
|
12213
12148
|
|
|
12149
|
+
class ActionInstancesAccessor extends ElementInstanceListAccessor {
|
|
12150
|
+
constructor(client) {
|
|
12151
|
+
super(client, 'action-instances');
|
|
12152
|
+
}
|
|
12153
|
+
}
|
|
12154
|
+
class ActionInstanceAccessor extends ElementInstanceAccessor {
|
|
12155
|
+
constructor(client, selector) {
|
|
12156
|
+
super({
|
|
12157
|
+
client,
|
|
12158
|
+
instancePath: 'action-instance',
|
|
12159
|
+
selector,
|
|
12160
|
+
});
|
|
12161
|
+
this.client = client;
|
|
12162
|
+
}
|
|
12163
|
+
async setup() {
|
|
12164
|
+
await this.client.post(this.getPath('setup'));
|
|
12165
|
+
}
|
|
12166
|
+
async reset() {
|
|
12167
|
+
await this.client.post(this.getPath('reset'));
|
|
12168
|
+
}
|
|
12169
|
+
async run(input) {
|
|
12170
|
+
return this.client.post(this.getPath('run'), input);
|
|
12171
|
+
}
|
|
12172
|
+
async open({ onClose = () => { } } = {}) {
|
|
12173
|
+
const id = await this.getId();
|
|
12174
|
+
const uri = await this.client.getEmbedUri(`action-instances/${id}/configuration`);
|
|
12175
|
+
return openIframe(uri, { onClose });
|
|
12176
|
+
}
|
|
12177
|
+
}
|
|
12178
|
+
|
|
12214
12179
|
class DataLinkTablesAccessor extends ElementListAccessor {
|
|
12215
12180
|
constructor(client) {
|
|
12216
12181
|
super(client, 'data-link-tables');
|
|
@@ -12412,6 +12377,43 @@ const ScenarioTemplate = zod.z.object({
|
|
|
12412
12377
|
handyElements: zod.z.array(HandyScenarioTemplateElement).optional(),
|
|
12413
12378
|
});
|
|
12414
12379
|
|
|
12380
|
+
exports.AgentSessionStatus = void 0;
|
|
12381
|
+
(function (AgentSessionStatus) {
|
|
12382
|
+
AgentSessionStatus["QUEUED"] = "queued";
|
|
12383
|
+
AgentSessionStatus["STARTING"] = "starting";
|
|
12384
|
+
AgentSessionStatus["RUNNING"] = "running";
|
|
12385
|
+
AgentSessionStatus["COMPLETED"] = "completed";
|
|
12386
|
+
AgentSessionStatus["FAILED"] = "failed";
|
|
12387
|
+
AgentSessionStatus["CANCELLED"] = "cancelled";
|
|
12388
|
+
})(exports.AgentSessionStatus || (exports.AgentSessionStatus = {}));
|
|
12389
|
+
const AgentSession = zod.z.object({
|
|
12390
|
+
id: zod.z.string(),
|
|
12391
|
+
workspaceId: zod.z.string(),
|
|
12392
|
+
workspaceElementType: zod.z.enum(exports.WorkspaceElementType),
|
|
12393
|
+
workspaceElementId: zod.z.string(),
|
|
12394
|
+
type: zod.z.string(),
|
|
12395
|
+
status: zod.z.enum(exports.AgentSessionStatus),
|
|
12396
|
+
workerId: zod.z.string().optional(),
|
|
12397
|
+
workerUrl: zod.z.string().url().optional(),
|
|
12398
|
+
prompt: zod.z.string(),
|
|
12399
|
+
error: ErrorDataSchema.optional(),
|
|
12400
|
+
createdBy: zod.z.string(),
|
|
12401
|
+
lastActivityAt: zod.z.iso.datetime(),
|
|
12402
|
+
createdAt: zod.z.iso.datetime(),
|
|
12403
|
+
updatedAt: zod.z.iso.datetime(),
|
|
12404
|
+
storedMessagesUri: zod.z.string().url().optional(),
|
|
12405
|
+
sessionFilesZipUri: zod.z.string().url().optional(),
|
|
12406
|
+
logs: zod.z.array(zod.z.any()).optional(),
|
|
12407
|
+
});
|
|
12408
|
+
const CreateAgentSession = zod.z.object({
|
|
12409
|
+
workspaceElementType: zod.z.enum(exports.WorkspaceElementType),
|
|
12410
|
+
workspaceElementId: zod.z.string().min(1),
|
|
12411
|
+
prompt: zod.z.string().min(1),
|
|
12412
|
+
});
|
|
12413
|
+
const AgentSessionInputSchema = zod.z.object({
|
|
12414
|
+
input: zod.z.string().optional(),
|
|
12415
|
+
});
|
|
12416
|
+
|
|
12415
12417
|
function decodeJWT(token) {
|
|
12416
12418
|
if (typeof token !== 'string') {
|
|
12417
12419
|
return undefined;
|
|
@@ -12444,6 +12446,9 @@ const DEFAULT_API_URI = 'https://api.integration.app';
|
|
|
12444
12446
|
const DEFAULT_UI_URI = 'https://ui.integration.app';
|
|
12445
12447
|
const REFETCH_EXPIRATION_THRESHOLD = 10 * 1000;
|
|
12446
12448
|
function decodeToken(token) {
|
|
12449
|
+
if (token.startsWith('pat-')) {
|
|
12450
|
+
return null;
|
|
12451
|
+
}
|
|
12447
12452
|
const payload = decodeJWT(token);
|
|
12448
12453
|
if (!payload) {
|
|
12449
12454
|
throw new Error('Access token should be a valid JWT token.');
|
|
@@ -12473,7 +12478,7 @@ class MembraneApiClient {
|
|
|
12473
12478
|
}
|
|
12474
12479
|
else {
|
|
12475
12480
|
const payload = decodeToken(this.token);
|
|
12476
|
-
if (payload.exp) {
|
|
12481
|
+
if (payload === null || payload === void 0 ? void 0 : payload.exp) {
|
|
12477
12482
|
const willExpireSoon = new Date(payload.exp * 1000).getTime() - new Date().getTime() < REFETCH_EXPIRATION_THRESHOLD;
|
|
12478
12483
|
if (willExpireSoon) {
|
|
12479
12484
|
this.token = await this.fetchToken();
|
|
@@ -12711,6 +12716,7 @@ exports.ActionAccessor = ActionAccessor;
|
|
|
12711
12716
|
exports.ActionApiResponse = ActionApiResponse;
|
|
12712
12717
|
exports.ActionDependency = ActionDependency;
|
|
12713
12718
|
exports.ActionEditableProperties = ActionEditableProperties;
|
|
12719
|
+
exports.ActionExportProperties = ActionExportProperties;
|
|
12714
12720
|
exports.ActionInstanceAccessor = ActionInstanceAccessor;
|
|
12715
12721
|
exports.ActionInstanceApiResponse = ActionInstanceApiResponse;
|
|
12716
12722
|
exports.ActionInstanceSetupError = ActionInstanceSetupError;
|
|
@@ -12719,6 +12725,8 @@ exports.ActionRunError = ActionRunError;
|
|
|
12719
12725
|
exports.ActionRunLogRecordApiResponse = ActionRunLogRecordApiResponse;
|
|
12720
12726
|
exports.ActionRunResponse = ActionRunResponse;
|
|
12721
12727
|
exports.ActionsAccessor = ActionsAccessor;
|
|
12728
|
+
exports.AgentSession = AgentSession;
|
|
12729
|
+
exports.AgentSessionInputSchema = AgentSessionInputSchema;
|
|
12722
12730
|
exports.ApiRequestSpec = ApiRequestSpec;
|
|
12723
12731
|
exports.AppDataSchemaAccessor = AppDataSchemaAccessor;
|
|
12724
12732
|
exports.AppDataSchemaApiResponse = AppDataSchemaApiResponse;
|
|
@@ -12760,6 +12768,7 @@ exports.BaseFlowRun = BaseFlowRun;
|
|
|
12760
12768
|
exports.BaseIntegration = BaseIntegration;
|
|
12761
12769
|
exports.BaseIntegrationLevelMembraneInterface = BaseIntegrationLevelMembraneInterface;
|
|
12762
12770
|
exports.BaseIntegrationLevelMembraneInterfaceEditableProperties = BaseIntegrationLevelMembraneInterfaceEditableProperties;
|
|
12771
|
+
exports.BaseIntegrationLevelMembraneInterfaceExportProperties = BaseIntegrationLevelMembraneInterfaceExportProperties;
|
|
12763
12772
|
exports.BaseIntegrationLevelMembraneInterfaceReadOnlyProperties = BaseIntegrationLevelMembraneInterfaceReadOnlyProperties;
|
|
12764
12773
|
exports.BaseMembraneInterface = BaseMembraneInterface;
|
|
12765
12774
|
exports.BaseMembraneInterfaceEditableProperties = BaseMembraneInterfaceEditableProperties;
|
|
@@ -12806,9 +12815,9 @@ exports.ConnectorDataCollectionMethodKeys = ConnectorDataCollectionMethodKeys;
|
|
|
12806
12815
|
exports.ConnectorDataLocationTypes = ConnectorDataLocationTypes;
|
|
12807
12816
|
exports.ConnectorEventHandlerMethods = ConnectorEventHandlerMethods;
|
|
12808
12817
|
exports.ConnectorOperationMethodImplementationTypes = ConnectorOperationMethodImplementationTypes;
|
|
12809
|
-
exports.CopilotActivityScope = CopilotActivityScope;
|
|
12810
12818
|
exports.CreateActionInstanceRequest = CreateActionInstanceRequest;
|
|
12811
12819
|
exports.CreateActionRequest = CreateActionRequest;
|
|
12820
|
+
exports.CreateAgentSession = CreateAgentSession;
|
|
12812
12821
|
exports.CreateConnectionRequest = CreateConnectionRequest;
|
|
12813
12822
|
exports.CreateCustomerRequest = CreateCustomerRequest;
|
|
12814
12823
|
exports.CreateDataSourceInstanceRequest = CreateDataSourceInstanceRequest;
|
|
@@ -12818,6 +12827,7 @@ exports.CreateFlowNodeRequest = CreateFlowNodeRequest;
|
|
|
12818
12827
|
exports.CreateFlowRequest = CreateFlowRequest;
|
|
12819
12828
|
exports.CreateFlowRunRequest = CreateFlowRunRequest;
|
|
12820
12829
|
exports.CreateIntegrationRequest = CreateIntegrationRequest;
|
|
12830
|
+
exports.CreatePackageRequest = CreatePackageRequest;
|
|
12821
12831
|
exports.CustomCodeError = CustomCodeError;
|
|
12822
12832
|
exports.CustomerAccessor = CustomerAccessor;
|
|
12823
12833
|
exports.CustomerApiResponse = CustomerApiResponse;
|
|
@@ -12878,6 +12888,7 @@ exports.DataSchema = DataSchema;
|
|
|
12878
12888
|
exports.DataSourceAccessor = DataSourceAccessor;
|
|
12879
12889
|
exports.DataSourceApiResponse = DataSourceApiResponse;
|
|
12880
12890
|
exports.DataSourceEditableProperties = DataSourceEditableProperties;
|
|
12891
|
+
exports.DataSourceExportProperties = DataSourceExportProperties;
|
|
12881
12892
|
exports.DataSourceInstanceAccessor = DataSourceInstanceAccessor;
|
|
12882
12893
|
exports.DataSourceInstanceApiResponse = DataSourceInstanceApiResponse;
|
|
12883
12894
|
exports.DataSourceInstancesAccessor = DataSourceInstancesAccessor;
|
|
@@ -12905,6 +12916,7 @@ exports.FLOW_NODE_SPECS = FLOW_NODE_SPECS;
|
|
|
12905
12916
|
exports.FieldMappingAccessor = FieldMappingAccessor;
|
|
12906
12917
|
exports.FieldMappingApiResponse = FieldMappingApiResponse;
|
|
12907
12918
|
exports.FieldMappingEditableProperties = FieldMappingEditableProperties;
|
|
12919
|
+
exports.FieldMappingExportProperties = FieldMappingExportProperties;
|
|
12908
12920
|
exports.FieldMappingInstanceAccessor = FieldMappingInstanceAccessor;
|
|
12909
12921
|
exports.FieldMappingInstanceApiResponse = FieldMappingInstanceApiResponse;
|
|
12910
12922
|
exports.FieldMappingInstancesAccessor = FieldMappingInstancesAccessor;
|
|
@@ -12931,6 +12943,7 @@ exports.FindPackagesQuery = FindPackagesQuery;
|
|
|
12931
12943
|
exports.FlowAccessor = FlowAccessor;
|
|
12932
12944
|
exports.FlowApiResponse = FlowApiResponse;
|
|
12933
12945
|
exports.FlowEditableProperties = FlowEditableProperties;
|
|
12946
|
+
exports.FlowExportProperties = FlowExportProperties;
|
|
12934
12947
|
exports.FlowInstanceAccessor = FlowInstanceAccessor;
|
|
12935
12948
|
exports.FlowInstanceApiResponse = FlowInstanceApiResponse;
|
|
12936
12949
|
exports.FlowInstanceNode = FlowInstanceNode;
|
|
@@ -12964,6 +12977,7 @@ exports.IntegrationApiResponse = IntegrationApiResponse;
|
|
|
12964
12977
|
exports.IntegrationAppClient = MembraneClient;
|
|
12965
12978
|
exports.IntegrationAuthOption = IntegrationAuthOption;
|
|
12966
12979
|
exports.IntegrationAuthUi = IntegrationAuthUi;
|
|
12980
|
+
exports.IntegrationExportProperties = IntegrationExportProperties;
|
|
12967
12981
|
exports.IntegrationLevelActionAccessor = IntegrationLevelActionAccessor;
|
|
12968
12982
|
exports.IntegrationLevelActionsListAccessor = IntegrationLevelActionsListAccessor;
|
|
12969
12983
|
exports.IntegrationLevelDataSourceAccessor = IntegrationLevelDataSourceAccessor;
|
|
@@ -12981,6 +12995,7 @@ exports.ListDataSourceInstancesForConnectionQuery = ListDataSourceInstancesForCo
|
|
|
12981
12995
|
exports.ListExternalEventLogRecordsQuery = ListExternalEventLogRecordsQuery;
|
|
12982
12996
|
exports.ListExternalEventPullsQuery = ListExternalEventPullsQuery;
|
|
12983
12997
|
exports.ListFlowInstancesForConnectionQuery = ListFlowInstancesForConnectionQuery;
|
|
12998
|
+
exports.MEMBRANE_ELEMENT_CONFIG_FILE_NAME = MEMBRANE_ELEMENT_CONFIG_FILE_NAME;
|
|
12984
12999
|
exports.MIN_FULL_SYNC_INTERVAL_SECONDS = MIN_FULL_SYNC_INTERVAL_SECONDS;
|
|
12985
13000
|
exports.MIN_PULL_UPDATES_INTERVAL_SECONDS = MIN_PULL_UPDATES_INTERVAL_SECONDS;
|
|
12986
13001
|
exports.MembraneAxiosInstance = axios;
|
|
@@ -12998,6 +13013,8 @@ exports.PackageCalculatedProperties = PackageCalculatedProperties;
|
|
|
12998
13013
|
exports.PackageEditableProperties = PackageEditableProperties;
|
|
12999
13014
|
exports.PackageElement = PackageElement;
|
|
13000
13015
|
exports.PackageElementApi = PackageElementApi;
|
|
13016
|
+
exports.PackageElementExport = PackageElementExport;
|
|
13017
|
+
exports.PackageExportProperties = PackageExportProperties;
|
|
13001
13018
|
exports.PackagesAccessor = PackagesAccessor;
|
|
13002
13019
|
exports.PaginationQuery = PaginationQuery;
|
|
13003
13020
|
exports.PaginationResponse = PaginationResponse;
|
|
@@ -13005,6 +13022,7 @@ exports.RATE_LIMITS = RATE_LIMITS;
|
|
|
13005
13022
|
exports.RateLimitExceededError = RateLimitExceededError;
|
|
13006
13023
|
exports.ResetFlowInstanceOptions = ResetFlowInstanceOptions;
|
|
13007
13024
|
exports.RunActionRequest = RunActionRequest;
|
|
13025
|
+
exports.RunFlowApiRequest = RunFlowApiRequest;
|
|
13008
13026
|
exports.ScenarioAccessor = ScenarioAccessor;
|
|
13009
13027
|
exports.ScenarioTemplate = ScenarioTemplate;
|
|
13010
13028
|
exports.ScenarioTemplateElements = ScenarioTemplateElements;
|
|
@@ -13026,6 +13044,7 @@ exports.UpdateDataSourceRequest = UpdateDataSourceRequest;
|
|
|
13026
13044
|
exports.UpdateFieldMappingRequest = UpdateFieldMappingRequest;
|
|
13027
13045
|
exports.UpdateFlowRequest = UpdateFlowRequest;
|
|
13028
13046
|
exports.UpdateIntegrationRequest = UpdateIntegrationRequest;
|
|
13047
|
+
exports.UpdatePackageRequest = UpdatePackageRequest;
|
|
13029
13048
|
exports.UpstreamFlowNodeRunSchema = UpstreamFlowNodeRunSchema;
|
|
13030
13049
|
exports.UserAccessor = UserAccessor;
|
|
13031
13050
|
exports.UsersAccessor = UsersAccessor;
|
|
@@ -13085,6 +13104,7 @@ exports.getFullTitleForLocator = getFullTitleForLocator;
|
|
|
13085
13104
|
exports.getIconUriForLocator = getIconUriForLocator;
|
|
13086
13105
|
exports.getLocatorsFromData = getLocatorsFromData;
|
|
13087
13106
|
exports.getLocatorsFromSchema = getLocatorsFromSchema;
|
|
13107
|
+
exports.getMembraneElementPath = getMembraneElementPath;
|
|
13088
13108
|
exports.getMissingRequiredFields = getMissingRequiredFields;
|
|
13089
13109
|
exports.getNameComponentsForLocator = getNameComponentsForLocator;
|
|
13090
13110
|
exports.getNameForLocator = getNameForLocator;
|
|
@@ -13128,6 +13148,7 @@ exports.mergeWithFormulas = mergeWithFormulas;
|
|
|
13128
13148
|
exports.nonEmptyObjectProperties = nonEmptyObjectProperties;
|
|
13129
13149
|
exports.parseDataLocationPath = parseDataLocationPath;
|
|
13130
13150
|
exports.parseDate = parseDate;
|
|
13151
|
+
exports.parseMembraneElementPath = parseMembraneElementPath;
|
|
13131
13152
|
exports.patchSchema = patchSchema;
|
|
13132
13153
|
exports.pickFieldsFromSchema = pickFieldsFromSchema;
|
|
13133
13154
|
exports.pickFieldsFromValue = pickFieldsFromValue;
|