@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.node.js
CHANGED
|
@@ -3409,6 +3409,7 @@ const zodBooleanCoercion = () => zod.z.preprocess((val) => {
|
|
|
3409
3409
|
return Boolean(val);
|
|
3410
3410
|
return Boolean(val);
|
|
3411
3411
|
}, zod.z.boolean());
|
|
3412
|
+
|
|
3412
3413
|
const IncludeArchivedQuery = zod.z.object({
|
|
3413
3414
|
includeArchived: zodBooleanCoercion().optional(),
|
|
3414
3415
|
});
|
|
@@ -3463,7 +3464,6 @@ exports.WorkspaceElementType = void 0;
|
|
|
3463
3464
|
WorkspaceElementType["ExternalEventSubscription"] = "external-event-subscription";
|
|
3464
3465
|
WorkspaceElementType["ExternalEventLogRecord"] = "external-event-log-record";
|
|
3465
3466
|
WorkspaceElementType["ExternalEventPull"] = "external-event-pull";
|
|
3466
|
-
WorkspaceElementType["DataCollection"] = "data-collection";
|
|
3467
3467
|
WorkspaceElementType["Screen"] = "screen";
|
|
3468
3468
|
WorkspaceElementType["ActionRunLogRecord"] = "action-run-log-record";
|
|
3469
3469
|
})(exports.WorkspaceElementType || (exports.WorkspaceElementType = {}));
|
|
@@ -3495,9 +3495,9 @@ const BaseWorkspaceElement = zod.z.object({
|
|
|
3495
3495
|
name: zod.z.string(),
|
|
3496
3496
|
});
|
|
3497
3497
|
const BaseMembraneInterfaceEditableProperties = zod.z.object({
|
|
3498
|
+
uuid: zod.z.string().optional(),
|
|
3498
3499
|
key: zod.z.string().optional(),
|
|
3499
3500
|
name: zod.z.string().optional(),
|
|
3500
|
-
uuid: zod.z.string().optional(),
|
|
3501
3501
|
description: zod.z.string().optional(),
|
|
3502
3502
|
meta: zod.z.record(zod.z.string(), zod.z.any()).optional(),
|
|
3503
3503
|
});
|
|
@@ -3514,19 +3514,27 @@ const BaseMembraneInterfaceReadOnlyProperties = zod.z.object({
|
|
|
3514
3514
|
const BaseMembraneInterface = BaseWorkspaceElement.merge(BaseMembraneInterfaceEditableProperties).merge(BaseMembraneInterfaceReadOnlyProperties);
|
|
3515
3515
|
const BaseIntegrationLevelMembraneInterfaceEditableProperties = BaseMembraneInterfaceEditableProperties.extend({
|
|
3516
3516
|
integrationId: zod.z.string().optional(),
|
|
3517
|
+
integrationUuid: zod.z.string().optional(),
|
|
3517
3518
|
parentId: zod.z.string().optional(),
|
|
3519
|
+
parentUuid: zod.z.string().optional(),
|
|
3520
|
+
connectionId: zod.z.string().optional(),
|
|
3521
|
+
instanceKey: zod.z.string().optional(),
|
|
3518
3522
|
});
|
|
3519
3523
|
const BaseIntegrationLevelMembraneInterfaceReadOnlyProperties = BaseMembraneInterfaceReadOnlyProperties.extend({
|
|
3520
3524
|
isCustomized: zod.z.boolean().optional(),
|
|
3521
3525
|
});
|
|
3526
|
+
const BaseIntegrationLevelMembraneInterfaceExportProperties = BaseMembraneInterfaceEditableProperties.extend({
|
|
3527
|
+
integrationUuid: zod.z.string().optional(),
|
|
3528
|
+
parentUuid: zod.z.string().optional(),
|
|
3529
|
+
});
|
|
3522
3530
|
const IntegrationLevelMembraneInterfaceSelectorQuery = zod.z.object({
|
|
3531
|
+
layer: zod.z.enum(['universal', 'integration', 'connection']).optional(),
|
|
3523
3532
|
integrationKey: zod.z.string().optional(),
|
|
3533
|
+
integrationId: zod.z.string().optional(),
|
|
3524
3534
|
connectionId: zod.z.string().optional(),
|
|
3525
3535
|
instanceKey: zod.z.string().optional(),
|
|
3526
3536
|
});
|
|
3527
3537
|
const FindIntegrationLevelMembraneInterfaceQuery = IntegrationLevelMembraneInterfaceSelectorQuery.extend(CommonListElementsQuery.shape).extend({
|
|
3528
|
-
layer: zod.z.enum(['universal', 'integration', 'connection']).optional(),
|
|
3529
|
-
integrationId: zod.z.string().optional(),
|
|
3530
3538
|
parentId: zod.z.string().optional(),
|
|
3531
3539
|
universalParentId: zod.z.string().optional(),
|
|
3532
3540
|
userId: zod.z.string().optional(),
|
|
@@ -3569,12 +3577,11 @@ exports.FieldMappingDirection = void 0;
|
|
|
3569
3577
|
FieldMappingDirection["EXPORT"] = "export";
|
|
3570
3578
|
FieldMappingDirection["BOTH"] = "both";
|
|
3571
3579
|
})(exports.FieldMappingDirection || (exports.FieldMappingDirection = {}));
|
|
3572
|
-
const
|
|
3573
|
-
|
|
3574
|
-
|
|
3580
|
+
const FieldMappingSpecificProperties = zod.z.object({
|
|
3581
|
+
connectionId: zod.z.string().optional(),
|
|
3582
|
+
fieldMappingId: zod.z.string().optional(),
|
|
3575
3583
|
universalFieldMappingId: zod.z.string().optional(),
|
|
3576
3584
|
dataSourceKey: zod.z.string().optional(),
|
|
3577
|
-
dataSourceId: zod.z.string().optional(),
|
|
3578
3585
|
appSchema: DataSchema.optional(),
|
|
3579
3586
|
direction: zod.z.enum(exports.FieldMappingDirection).optional(),
|
|
3580
3587
|
defaultImportValue: zod.z.any().optional(),
|
|
@@ -3585,6 +3592,14 @@ const FieldMappingEditableProperties = BaseIntegrationLevelMembraneInterfaceEdit
|
|
|
3585
3592
|
frozenExportFields: zod.z.any().optional(),
|
|
3586
3593
|
frozenUnifiedExportFields: zod.z.any().optional(),
|
|
3587
3594
|
});
|
|
3595
|
+
const FieldMappingEditableProperties = BaseIntegrationLevelMembraneInterfaceEditableProperties.omit({
|
|
3596
|
+
parentId: true,
|
|
3597
|
+
}).extend(FieldMappingSpecificProperties.shape);
|
|
3598
|
+
const FieldMappingExportProperties = BaseIntegrationLevelMembraneInterfaceExportProperties.extend(FieldMappingSpecificProperties.shape).omit({
|
|
3599
|
+
connectionId: true,
|
|
3600
|
+
fieldMappingId: true,
|
|
3601
|
+
universalFieldMappingId: true,
|
|
3602
|
+
});
|
|
3588
3603
|
const FieldMappingReadOnlyProperties = BaseIntegrationLevelMembraneInterfaceReadOnlyProperties.extend({
|
|
3589
3604
|
universalFieldMappingRevision: zod.z.string().optional(),
|
|
3590
3605
|
});
|
|
@@ -3708,17 +3723,19 @@ const ActionDependency = zod.z.object({
|
|
|
3708
3723
|
key: zod.z.string(),
|
|
3709
3724
|
element: zod.z.any().optional(),
|
|
3710
3725
|
});
|
|
3711
|
-
const
|
|
3712
|
-
integrationId: zod.z.string().optional(),
|
|
3726
|
+
const ActionSpecificProperties = zod.z.object({
|
|
3713
3727
|
connectionId: zod.z.string().optional(),
|
|
3714
|
-
parentId: zod.z.string().optional(),
|
|
3715
3728
|
instanceKey: zod.z.string().optional(),
|
|
3716
3729
|
inputSchema: DataSchema.optional(),
|
|
3717
3730
|
type: zod.z.enum(exports.ActionType).optional(),
|
|
3718
|
-
config: zod.z.
|
|
3731
|
+
config: zod.z.object({}).loose().optional(),
|
|
3719
3732
|
outputMapping: zod.z.any().optional(),
|
|
3720
3733
|
customOutputSchema: DataSchema.optional(),
|
|
3721
3734
|
});
|
|
3735
|
+
const ActionEditableProperties = BaseIntegrationLevelMembraneInterfaceEditableProperties.extend(ActionSpecificProperties.shape);
|
|
3736
|
+
const ActionExportProperties = BaseIntegrationLevelMembraneInterfaceExportProperties.extend(ActionSpecificProperties.shape).omit({
|
|
3737
|
+
connectionId: true,
|
|
3738
|
+
});
|
|
3722
3739
|
const ActionReadOnlyProperties = BaseIntegrationLevelMembraneInterfaceReadOnlyProperties.extend({
|
|
3723
3740
|
universalParentId: zod.z.string().optional(),
|
|
3724
3741
|
userId: zod.z.string().optional(),
|
|
@@ -8427,9 +8444,9 @@ const DEFAULT_PULL_UPDATES_INTERVAL_SECONDS = 60 * 5;
|
|
|
8427
8444
|
const DEFAULT_FULL_SYNC_INTERVAL_SECONDS = 60 * 60 * 3;
|
|
8428
8445
|
const MIN_FULL_SYNC_INTERVAL_SECONDS = 1 * 60;
|
|
8429
8446
|
const MIN_PULL_UPDATES_INTERVAL_SECONDS = 1 * 60;
|
|
8430
|
-
const
|
|
8431
|
-
|
|
8432
|
-
|
|
8447
|
+
const DataSourceSpecificProperties = zod.z.object({
|
|
8448
|
+
connectionId: zod.z.string().optional(),
|
|
8449
|
+
dataSourceId: zod.z.string().optional(),
|
|
8433
8450
|
universalDataSourceId: zod.z.string().optional(),
|
|
8434
8451
|
udm: zod.z.string().optional(),
|
|
8435
8452
|
pullUpdatesIntervalSeconds: zod.z.number().optional(),
|
|
@@ -8438,18 +8455,27 @@ const DataSourceEditableProperties = BaseIntegrationLevelMembraneInterfaceEditab
|
|
|
8438
8455
|
collectionParameters: zod.z.any().optional(),
|
|
8439
8456
|
defaultPath: zod.z.string().optional(),
|
|
8440
8457
|
});
|
|
8458
|
+
const DataSourceEditableProperties = BaseIntegrationLevelMembraneInterfaceEditableProperties.omit({
|
|
8459
|
+
parentId: true,
|
|
8460
|
+
}).extend(DataSourceSpecificProperties.shape);
|
|
8461
|
+
const DataSourceExportProperties = BaseIntegrationLevelMembraneInterfaceExportProperties.extend(DataSourceSpecificProperties.shape).omit({
|
|
8462
|
+
connectionId: true,
|
|
8463
|
+
dataSourceId: true,
|
|
8464
|
+
universalDataSourceId: true,
|
|
8465
|
+
});
|
|
8441
8466
|
const DataSourceReadOnlyProperties = BaseIntegrationLevelMembraneInterfaceReadOnlyProperties.extend({
|
|
8442
8467
|
universalDataSourceRevision: zod.z.string().optional(),
|
|
8443
8468
|
});
|
|
8444
8469
|
const BaseDataSource = BaseMembraneInterface.merge(DataSourceEditableProperties).merge(DataSourceReadOnlyProperties);
|
|
8445
8470
|
const DataSourceUnitConfig = zod.z.object({
|
|
8446
|
-
key: zod.z.
|
|
8471
|
+
key: zod.z.any().optional(),
|
|
8447
8472
|
collectionKey: zod.z.any().optional(),
|
|
8448
8473
|
collectionParameters: zod.z.any().optional(),
|
|
8449
8474
|
udm: zod.z.any().optional(),
|
|
8450
|
-
path: zod.z.string().optional(),
|
|
8451
8475
|
pullUpdatesIntervalSeconds: zod.z.number().optional(),
|
|
8452
8476
|
fullSyncIntervalSeconds: zod.z.number().optional(),
|
|
8477
|
+
path: zod.z.any().optional(),
|
|
8478
|
+
defaultPath: zod.z.any().optional(),
|
|
8453
8479
|
});
|
|
8454
8480
|
|
|
8455
8481
|
const BaseDataSourceInstance = BaseMembraneInterface.extend({
|
|
@@ -8916,15 +8942,22 @@ const FLOW_NODE_SPECS = {
|
|
|
8916
8942
|
[exports.FlowNodeType.RunAction]: RunAction,
|
|
8917
8943
|
};
|
|
8918
8944
|
|
|
8919
|
-
const
|
|
8920
|
-
|
|
8921
|
-
}).extend({
|
|
8922
|
-
integrationId: zod.z.string().optional(),
|
|
8945
|
+
const FlowSpecificProperties = zod.z.object({
|
|
8946
|
+
flowId: zod.z.string().optional(),
|
|
8923
8947
|
universalFlowId: zod.z.string().optional(),
|
|
8924
8948
|
parametersSchema: DataSchema.optional(),
|
|
8949
|
+
parameters: zod.z.any().optional(),
|
|
8950
|
+
enabled: zod.z.boolean().optional(),
|
|
8925
8951
|
nodes: zod.z.record(zod.z.string(), FlowNode).optional(),
|
|
8926
8952
|
autoCreateInstances: zod.z.boolean().optional(),
|
|
8927
8953
|
});
|
|
8954
|
+
const FlowEditableProperties = BaseIntegrationLevelMembraneInterfaceEditableProperties.omit({
|
|
8955
|
+
parentId: true,
|
|
8956
|
+
}).extend(FlowSpecificProperties.shape);
|
|
8957
|
+
const FlowExportProperties = BaseIntegrationLevelMembraneInterfaceExportProperties.extend(FlowSpecificProperties.shape).omit({
|
|
8958
|
+
flowId: true,
|
|
8959
|
+
universalFlowId: true,
|
|
8960
|
+
});
|
|
8928
8961
|
const FlowReadOnlyProperties = BaseIntegrationLevelMembraneInterfaceReadOnlyProperties.extend({
|
|
8929
8962
|
universalFlowRevision: zod.z.string().optional(),
|
|
8930
8963
|
});
|
|
@@ -8952,6 +8985,14 @@ const BaseIntegration = BaseMembraneInterface.extend({
|
|
|
8952
8985
|
isDeactivated: zod.z.boolean().optional(),
|
|
8953
8986
|
authType: zod.z.enum(CONNECTOR_AUTH_TYPES).optional(),
|
|
8954
8987
|
});
|
|
8988
|
+
const IntegrationExportProperties = BaseMembraneInterfaceEditableProperties.extend({
|
|
8989
|
+
logoUri: zod.z.string(),
|
|
8990
|
+
connectorUuid: zod.z.string().optional(),
|
|
8991
|
+
connectorVersion: zod.z.string().optional(),
|
|
8992
|
+
oAuthCallbackUri: zod.z.string().optional(),
|
|
8993
|
+
parameters: zod.z.any().optional(),
|
|
8994
|
+
appUuid: zod.z.string().optional(),
|
|
8995
|
+
});
|
|
8955
8996
|
const AppliedToIntegrations = (elementSchema) => zod.z.array(zod.z.object({
|
|
8956
8997
|
element: elementSchema,
|
|
8957
8998
|
integration: BaseIntegration,
|
|
@@ -8982,11 +9023,17 @@ const PackageElement = zod.z.object({
|
|
|
8982
9023
|
type: zod.z.enum(exports.IntegrationElementType),
|
|
8983
9024
|
element: zod.z.any().optional(),
|
|
8984
9025
|
});
|
|
8985
|
-
const
|
|
9026
|
+
const PackageElementExport = zod.z.object({
|
|
9027
|
+
uuid: zod.z.string(),
|
|
9028
|
+
type: zod.z.enum(exports.IntegrationElementType),
|
|
9029
|
+
element: zod.z.any().optional(),
|
|
9030
|
+
});
|
|
9031
|
+
const PackageEditableProperties = BaseIntegrationLevelMembraneInterfaceEditableProperties.extend({
|
|
8986
9032
|
scenarioTemplateId: zod.z.string().optional(),
|
|
8987
9033
|
elements: zod.z.array(PackageElement).optional(),
|
|
8988
|
-
|
|
8989
|
-
|
|
9034
|
+
});
|
|
9035
|
+
const PackageExportProperties = BaseIntegrationLevelMembraneInterfaceExportProperties.extend({
|
|
9036
|
+
elements: zod.z.array(PackageElementExport).optional(),
|
|
8990
9037
|
});
|
|
8991
9038
|
const PackageCalculatedProperties = zod.z.object({
|
|
8992
9039
|
key: zod.z.string(),
|
|
@@ -9220,6 +9267,7 @@ const BaseAppEventType = BaseMembraneInterface.extend({
|
|
|
9220
9267
|
example: zod.z.any().optional(),
|
|
9221
9268
|
schema: DataSchema.optional(),
|
|
9222
9269
|
globalWebhookUri: zod.z.string(),
|
|
9270
|
+
tenantIdFormula: zod.z.any().optional(),
|
|
9223
9271
|
userIdFormula: zod.z.any().optional(),
|
|
9224
9272
|
});
|
|
9225
9273
|
|
|
@@ -9442,12 +9490,9 @@ const DataSourceApiResponse = BaseDataSource.extend({
|
|
|
9442
9490
|
integration: BaseIntegration.optional(),
|
|
9443
9491
|
appliedToIntegrations: AppliedToIntegrations(BaseDataSource).optional(),
|
|
9444
9492
|
});
|
|
9445
|
-
const FindDataSourcesQuery =
|
|
9446
|
-
|
|
9447
|
-
integrationKey: zod.z.string().optional(),
|
|
9493
|
+
const FindDataSourcesQuery = FindIntegrationLevelMembraneInterfaceQuery.omit({ parentId: true }).extend({
|
|
9494
|
+
dataSourceId: zod.z.string().optional(),
|
|
9448
9495
|
universalDataSourceId: zod.z.string().optional(),
|
|
9449
|
-
search: zod.z.string().optional(),
|
|
9450
|
-
includeArchived: zodBooleanCoercion().optional(),
|
|
9451
9496
|
});
|
|
9452
9497
|
const CreateDataSourceRequest = DataSourceEditableProperties;
|
|
9453
9498
|
const UpdateDataSourceRequest = CreateDataSourceRequest.extend({}).partial();
|
|
@@ -9532,12 +9577,9 @@ const FlowApiResponse = BaseFlow.extend({
|
|
|
9532
9577
|
})).optional(),
|
|
9533
9578
|
dependencies: zod.z.array(zod.z.any()).optional(),
|
|
9534
9579
|
});
|
|
9535
|
-
const FindFlowsQuery =
|
|
9536
|
-
|
|
9537
|
-
integrationKey: zod.z.string().optional(),
|
|
9580
|
+
const FindFlowsQuery = FindIntegrationLevelMembraneInterfaceQuery.omit({ parentId: true }).extend({
|
|
9581
|
+
flowId: zod.z.string().optional(),
|
|
9538
9582
|
universalFlowId: zod.z.string().optional(),
|
|
9539
|
-
search: zod.z.string().optional(),
|
|
9540
|
-
includeArchived: zodBooleanCoercion().optional(),
|
|
9541
9583
|
});
|
|
9542
9584
|
const CreateFlowRequest = FlowEditableProperties;
|
|
9543
9585
|
const UpdateFlowRequest = CreateFlowRequest.extend({}).partial();
|
|
@@ -9554,6 +9596,10 @@ const ResetFlowInstanceOptions = zod.z.object({
|
|
|
9554
9596
|
nodes: zod.z.record(zod.z.string(), zod.z.boolean()).optional(),
|
|
9555
9597
|
allNodes: zod.z.boolean().optional(),
|
|
9556
9598
|
});
|
|
9599
|
+
const RunFlowApiRequest = zod.z.object({
|
|
9600
|
+
nodeKey: zod.z.string().optional(),
|
|
9601
|
+
input: zod.z.any().optional(),
|
|
9602
|
+
});
|
|
9557
9603
|
const FlowInstanceApiResponse = BaseFlowInstance.extend({
|
|
9558
9604
|
user: zod.z.lazy(() => zod.z.any()).optional(),
|
|
9559
9605
|
connection: zod.z.lazy(() => zod.z.any()).optional(),
|
|
@@ -9635,15 +9681,9 @@ const PackageElementApi = zod.z.object({
|
|
|
9635
9681
|
type: zod.z.enum(exports.IntegrationElementType),
|
|
9636
9682
|
element: zod.z.any().optional(),
|
|
9637
9683
|
});
|
|
9638
|
-
const FindPackagesQuery =
|
|
9639
|
-
|
|
9640
|
-
|
|
9641
|
-
integrationKey: zod.z.string().optional(),
|
|
9642
|
-
parentId: zod.z.string().optional(),
|
|
9643
|
-
})
|
|
9644
|
-
.extend(SearchQuery.shape)
|
|
9645
|
-
.extend(PaginationQuery.shape)
|
|
9646
|
-
.extend(IncludeArchivedQuery.shape);
|
|
9684
|
+
const FindPackagesQuery = FindIntegrationLevelMembraneInterfaceQuery;
|
|
9685
|
+
const CreatePackageRequest = PackageEditableProperties;
|
|
9686
|
+
const UpdatePackageRequest = CreatePackageRequest.extend({}).partial();
|
|
9647
9687
|
const PackageApiResponse = BasePackage.extend({
|
|
9648
9688
|
appliedToIntegrations: AppliedToIntegrations(BasePackage).optional(),
|
|
9649
9689
|
});
|
|
@@ -9675,12 +9715,9 @@ const FieldMappingApiResponse = BaseFieldMapping.extend({
|
|
|
9675
9715
|
integration: BaseIntegration.optional(),
|
|
9676
9716
|
appliedToIntegrations: AppliedToIntegrations(BaseFieldMapping).optional(),
|
|
9677
9717
|
});
|
|
9678
|
-
const FindFieldMappingsQuery =
|
|
9679
|
-
|
|
9680
|
-
integrationKey: zod.z.string().optional(),
|
|
9718
|
+
const FindFieldMappingsQuery = FindIntegrationLevelMembraneInterfaceQuery.omit({ parentId: true }).extend({
|
|
9719
|
+
fieldMappingId: zod.z.string().optional(),
|
|
9681
9720
|
universalFieldMappingId: zod.z.string().optional(),
|
|
9682
|
-
search: zod.z.string().optional(),
|
|
9683
|
-
includeArchived: zodBooleanCoercion().optional(),
|
|
9684
9721
|
});
|
|
9685
9722
|
const CreateFieldMappingRequest = FieldMappingEditableProperties;
|
|
9686
9723
|
const UpdateFieldMappingRequest = CreateFieldMappingRequest.extend({}).partial();
|
|
@@ -9913,6 +9950,7 @@ const WorkspaceElementSpecs = {
|
|
|
9913
9950
|
apiPath: 'integrations',
|
|
9914
9951
|
name: 'Integration',
|
|
9915
9952
|
namePlural: 'Integrations',
|
|
9953
|
+
exportPropertiesSchema: IntegrationExportProperties,
|
|
9916
9954
|
},
|
|
9917
9955
|
[exports.WorkspaceElementType.Connector]: {
|
|
9918
9956
|
type: exports.WorkspaceElementType.Connector,
|
|
@@ -9932,6 +9970,7 @@ const WorkspaceElementSpecs = {
|
|
|
9932
9970
|
name: 'Package',
|
|
9933
9971
|
namePlural: 'Packages',
|
|
9934
9972
|
editablePropertiesSchema: PackageEditableProperties,
|
|
9973
|
+
exportPropertiesSchema: PackageExportProperties,
|
|
9935
9974
|
apiResponseSchema: PackageApiResponse,
|
|
9936
9975
|
findQuerySchema: FindPackagesQuery,
|
|
9937
9976
|
isMembraneInterface: true,
|
|
@@ -9950,6 +9989,7 @@ const WorkspaceElementSpecs = {
|
|
|
9950
9989
|
name: 'Action',
|
|
9951
9990
|
namePlural: 'Actions',
|
|
9952
9991
|
editablePropertiesSchema: ActionEditableProperties,
|
|
9992
|
+
exportPropertiesSchema: ActionExportProperties,
|
|
9953
9993
|
apiResponseSchema: ActionApiResponse,
|
|
9954
9994
|
findQuerySchema: FindActionsQuery,
|
|
9955
9995
|
isMembraneInterface: true,
|
|
@@ -9967,6 +10007,10 @@ const WorkspaceElementSpecs = {
|
|
|
9967
10007
|
name: 'Flow',
|
|
9968
10008
|
namePlural: 'Flows',
|
|
9969
10009
|
parentFieldKey: 'universalFlowId',
|
|
10010
|
+
editablePropertiesSchema: FlowEditableProperties,
|
|
10011
|
+
exportPropertiesSchema: FlowExportProperties,
|
|
10012
|
+
apiResponseSchema: FlowApiResponse,
|
|
10013
|
+
findQuerySchema: FindFlowsQuery,
|
|
9970
10014
|
isMembraneInterface: true,
|
|
9971
10015
|
isIntegrationLevel: true,
|
|
9972
10016
|
},
|
|
@@ -9978,6 +10022,7 @@ const WorkspaceElementSpecs = {
|
|
|
9978
10022
|
name: 'Flow',
|
|
9979
10023
|
namePlural: 'Flows',
|
|
9980
10024
|
parentFieldKey: 'flowId',
|
|
10025
|
+
universalParentFieldKey: 'universalFlowId',
|
|
9981
10026
|
isMembraneInterface: true,
|
|
9982
10027
|
},
|
|
9983
10028
|
[exports.WorkspaceElementType.FlowRun]: {
|
|
@@ -9992,6 +10037,10 @@ const WorkspaceElementSpecs = {
|
|
|
9992
10037
|
name: 'Field Mapping',
|
|
9993
10038
|
namePlural: 'Field Mappings',
|
|
9994
10039
|
parentFieldKey: 'universalFieldMappingId',
|
|
10040
|
+
editablePropertiesSchema: FieldMappingEditableProperties,
|
|
10041
|
+
exportPropertiesSchema: FieldMappingExportProperties,
|
|
10042
|
+
apiResponseSchema: FieldMappingApiResponse,
|
|
10043
|
+
findQuerySchema: FindFieldMappingsQuery,
|
|
9995
10044
|
isMembraneInterface: true,
|
|
9996
10045
|
isIntegrationLevel: true,
|
|
9997
10046
|
},
|
|
@@ -10001,20 +10050,19 @@ const WorkspaceElementSpecs = {
|
|
|
10001
10050
|
name: 'Field Mapping Instance',
|
|
10002
10051
|
namePlural: 'Field Mapping Instances',
|
|
10003
10052
|
parentFieldKey: 'fieldMappingId',
|
|
10053
|
+
universalParentFieldKey: 'universalFieldMappingId',
|
|
10004
10054
|
isMembraneInterface: true,
|
|
10005
10055
|
},
|
|
10006
|
-
[exports.WorkspaceElementType.DataCollection]: {
|
|
10007
|
-
type: exports.WorkspaceElementType.DataCollection,
|
|
10008
|
-
apiPath: 'data-collections',
|
|
10009
|
-
name: 'Data Collection',
|
|
10010
|
-
namePlural: 'Data Collections',
|
|
10011
|
-
},
|
|
10012
10056
|
[exports.WorkspaceElementType.DataSource]: {
|
|
10013
10057
|
type: exports.WorkspaceElementType.DataSource,
|
|
10014
10058
|
apiPath: 'data-sources',
|
|
10015
10059
|
name: 'Data Source',
|
|
10016
10060
|
namePlural: 'Data Sources',
|
|
10017
10061
|
parentFieldKey: 'universalDataSourceId',
|
|
10062
|
+
editablePropertiesSchema: DataSourceEditableProperties,
|
|
10063
|
+
exportPropertiesSchema: DataSourceExportProperties,
|
|
10064
|
+
apiResponseSchema: DataSourceApiResponse,
|
|
10065
|
+
findQuerySchema: FindDataSourcesQuery,
|
|
10018
10066
|
isMembraneInterface: true,
|
|
10019
10067
|
isIntegrationLevel: true,
|
|
10020
10068
|
},
|
|
@@ -10024,6 +10072,7 @@ const WorkspaceElementSpecs = {
|
|
|
10024
10072
|
name: 'Data Source Instance',
|
|
10025
10073
|
namePlural: 'Data Source Instances',
|
|
10026
10074
|
parentFieldKey: 'dataSourceId',
|
|
10075
|
+
universalParentFieldKey: 'universalDataSourceId',
|
|
10027
10076
|
isMembraneInterface: true,
|
|
10028
10077
|
},
|
|
10029
10078
|
[exports.WorkspaceElementType.DataLinkTable]: {
|
|
@@ -10104,6 +10153,44 @@ const WorkspaceElementSpecs = {
|
|
|
10104
10153
|
},
|
|
10105
10154
|
};
|
|
10106
10155
|
|
|
10156
|
+
const MEMBRANE_ELEMENT_CONFIG_FILE_NAME = 'spec.yaml';
|
|
10157
|
+
function getMembraneElementPath(elementType, elementKey, integrationKey) {
|
|
10158
|
+
const elementTypePath = WorkspaceElementSpecs[elementType].apiPath;
|
|
10159
|
+
if (!integrationKey) {
|
|
10160
|
+
return `${elementTypePath}/${elementKey}/${MEMBRANE_ELEMENT_CONFIG_FILE_NAME}`;
|
|
10161
|
+
}
|
|
10162
|
+
const integrationTypePath = WorkspaceElementSpecs[exports.WorkspaceElementType.Integration].apiPath;
|
|
10163
|
+
return `${integrationTypePath}/${integrationKey}/${elementTypePath}/${elementKey}/${MEMBRANE_ELEMENT_CONFIG_FILE_NAME}`;
|
|
10164
|
+
}
|
|
10165
|
+
function parseMembraneElementPath(relativePath) {
|
|
10166
|
+
const typeByApiPath = new Map();
|
|
10167
|
+
for (const spec of Object.values(WorkspaceElementSpecs)) {
|
|
10168
|
+
typeByApiPath.set(spec.apiPath, spec.type);
|
|
10169
|
+
}
|
|
10170
|
+
const elementTypes = Object.values(WorkspaceElementSpecs)
|
|
10171
|
+
.map((spec) => spec.apiPath)
|
|
10172
|
+
.join('|');
|
|
10173
|
+
const universalPattern = new RegExp(`^(?<elementType>${elementTypes})/(?<elementKey>[^/]+)/${MEMBRANE_ELEMENT_CONFIG_FILE_NAME}$`);
|
|
10174
|
+
const universalMatch = relativePath.match(universalPattern);
|
|
10175
|
+
if (universalMatch === null || universalMatch === void 0 ? void 0 : universalMatch.groups) {
|
|
10176
|
+
const { elementType: elementTypePath, elementKey } = universalMatch.groups;
|
|
10177
|
+
const elementType = typeByApiPath.get(elementTypePath);
|
|
10178
|
+
if (elementType) {
|
|
10179
|
+
return { type: elementType, key: elementKey };
|
|
10180
|
+
}
|
|
10181
|
+
}
|
|
10182
|
+
const integrationLevelPattern = new RegExp(`^integrations/(?<integrationKey>[^/]+)/(?<elementType>${elementTypes})/(?<elementKey>[^/]+)/${MEMBRANE_ELEMENT_CONFIG_FILE_NAME}$`);
|
|
10183
|
+
const integrationLevelMatch = relativePath.match(integrationLevelPattern);
|
|
10184
|
+
if (integrationLevelMatch === null || integrationLevelMatch === void 0 ? void 0 : integrationLevelMatch.groups) {
|
|
10185
|
+
const { integrationKey, elementType: elementTypePath, elementKey } = integrationLevelMatch.groups;
|
|
10186
|
+
const elementType = typeByApiPath.get(elementTypePath);
|
|
10187
|
+
if (elementType) {
|
|
10188
|
+
return { type: elementType, key: elementKey, integrationKey };
|
|
10189
|
+
}
|
|
10190
|
+
}
|
|
10191
|
+
return undefined;
|
|
10192
|
+
}
|
|
10193
|
+
|
|
10107
10194
|
class SelfAccessor {
|
|
10108
10195
|
constructor(client) {
|
|
10109
10196
|
this.client = client;
|
|
@@ -10116,136 +10203,6 @@ class SelfAccessor {
|
|
|
10116
10203
|
}
|
|
10117
10204
|
}
|
|
10118
10205
|
|
|
10119
|
-
exports.ConnectorCopilotSuggestionType = void 0;
|
|
10120
|
-
(function (ConnectorCopilotSuggestionType) {
|
|
10121
|
-
ConnectorCopilotSuggestionType["AuthType"] = "auth-type";
|
|
10122
|
-
ConnectorCopilotSuggestionType["AuthImplementation"] = "auth-implementation";
|
|
10123
|
-
ConnectorCopilotSuggestionType["AuthConnectionParameters"] = "auth-connection-parameters";
|
|
10124
|
-
ConnectorCopilotSuggestionType["AuthApiClient"] = "auth-api-client";
|
|
10125
|
-
ConnectorCopilotSuggestionType["DataCollection"] = "data-collection";
|
|
10126
|
-
ConnectorCopilotSuggestionType["DataCollectionOperationApiRequests"] = "data-location-operation-api-requests";
|
|
10127
|
-
ConnectorCopilotSuggestionType["DataCollectionOperationApiRequestMapping"] = "data-location-operation-api-request-mapping";
|
|
10128
|
-
ConnectorCopilotSuggestionType["DataCollectionFieldsSchema"] = "data-location-fields-schema";
|
|
10129
|
-
ConnectorCopilotSuggestionType["UdmList"] = "udm-list";
|
|
10130
|
-
ConnectorCopilotSuggestionType["UdmFieldsMapping"] = "udm-fields-mapping";
|
|
10131
|
-
ConnectorCopilotSuggestionType["UdmFieldsMappingToCollection"] = "udm-fields-mapping-to-collection";
|
|
10132
|
-
ConnectorCopilotSuggestionType["UdmFieldsMappingFromCollection"] = "udm-fields-mapping-from-collection";
|
|
10133
|
-
})(exports.ConnectorCopilotSuggestionType || (exports.ConnectorCopilotSuggestionType = {}));
|
|
10134
|
-
exports.ConnectorCopilotFileChunkTopicKey = void 0;
|
|
10135
|
-
(function (ConnectorCopilotFileChunkTopicKey) {
|
|
10136
|
-
ConnectorCopilotFileChunkTopicKey["AuthType"] = "auth-type";
|
|
10137
|
-
ConnectorCopilotFileChunkTopicKey["AuthImplementation"] = "auth-implementation";
|
|
10138
|
-
ConnectorCopilotFileChunkTopicKey["AuthConnectionParameters"] = "auth-connection-parameters";
|
|
10139
|
-
ConnectorCopilotFileChunkTopicKey["AuthApiClient"] = "auth-api-client";
|
|
10140
|
-
})(exports.ConnectorCopilotFileChunkTopicKey || (exports.ConnectorCopilotFileChunkTopicKey = {}));
|
|
10141
|
-
exports.CopilotTaskType = void 0;
|
|
10142
|
-
(function (CopilotTaskType) {
|
|
10143
|
-
CopilotTaskType["GenerateAuthType"] = "generate-auth-type";
|
|
10144
|
-
CopilotTaskType["GenerateOAuthConfiguration"] = "generate-oauth-configuration";
|
|
10145
|
-
CopilotTaskType["GenerateAuthConnectionParameters"] = "generate-auth-connection-parameters";
|
|
10146
|
-
CopilotTaskType["GenerateAuthApiClient"] = "generate-auth-api-client";
|
|
10147
|
-
CopilotTaskType["GenerateDataCollections"] = "generate-data-collections";
|
|
10148
|
-
CopilotTaskType["GenerateDataCollectionRecordFromFields"] = "generate-data-collection-record-from-fields";
|
|
10149
|
-
CopilotTaskType["GenerateDataCollectionOperationApiRequests"] = "generate-data-collection-operation-api-requests";
|
|
10150
|
-
CopilotTaskType["GenerateDataCollectionOperationApiRequestMapping"] = "generate-data-collection-operation-api-request-mapping";
|
|
10151
|
-
CopilotTaskType["GenerateDataCollectionFieldsSchema"] = "generate-data-collection-fields-schema";
|
|
10152
|
-
CopilotTaskType["GenerateUdmList"] = "generate-udm-list";
|
|
10153
|
-
CopilotTaskType["GenerateUdmFieldsMapping"] = "generate-udm-fields-mapping";
|
|
10154
|
-
})(exports.CopilotTaskType || (exports.CopilotTaskType = {}));
|
|
10155
|
-
exports.CopilotTaskStatus = void 0;
|
|
10156
|
-
(function (CopilotTaskStatus) {
|
|
10157
|
-
CopilotTaskStatus["Pending"] = "pending";
|
|
10158
|
-
CopilotTaskStatus["Running"] = "running";
|
|
10159
|
-
CopilotTaskStatus["Completed"] = "completed";
|
|
10160
|
-
CopilotTaskStatus["Failed"] = "failed";
|
|
10161
|
-
})(exports.CopilotTaskStatus || (exports.CopilotTaskStatus = {}));
|
|
10162
|
-
exports.CopilotActionType = void 0;
|
|
10163
|
-
(function (CopilotActionType) {
|
|
10164
|
-
CopilotActionType["PatchConnectorFile"] = "patch";
|
|
10165
|
-
CopilotActionType["PutConnectorFile"] = "put";
|
|
10166
|
-
CopilotActionType["PatchConnectorDataSchema"] = "patch-data-schema";
|
|
10167
|
-
CopilotActionType["PatchConnectorFieldMapping"] = "patch-field-mapping";
|
|
10168
|
-
CopilotActionType["SetConnectorAuthType"] = "set-connector-auth-type";
|
|
10169
|
-
})(exports.CopilotActionType || (exports.CopilotActionType = {}));
|
|
10170
|
-
exports.CopilotActionStatus = void 0;
|
|
10171
|
-
(function (CopilotActionStatus) {
|
|
10172
|
-
CopilotActionStatus["Suggested"] = "suggested";
|
|
10173
|
-
CopilotActionStatus["Executed"] = "executed";
|
|
10174
|
-
CopilotActionStatus["Rejected"] = "rejected";
|
|
10175
|
-
})(exports.CopilotActionStatus || (exports.CopilotActionStatus = {}));
|
|
10176
|
-
exports.CopilotActivityType = void 0;
|
|
10177
|
-
(function (CopilotActivityType) {
|
|
10178
|
-
CopilotActivityType["Task"] = "task";
|
|
10179
|
-
})(exports.CopilotActivityType || (exports.CopilotActivityType = {}));
|
|
10180
|
-
const CopilotActivityScope = {
|
|
10181
|
-
connector: (connectorId) => new CopilotActivityScopeConnector(connectorId),
|
|
10182
|
-
};
|
|
10183
|
-
class CopilotActivityScopeConnector {
|
|
10184
|
-
constructor(connectorId) {
|
|
10185
|
-
this.connectorId = connectorId;
|
|
10186
|
-
this.auth = () => new CopilotActivityScopeConnectorAuth(this);
|
|
10187
|
-
this.data = (key) => new CopilotActivityScopeConnectorData(this, key);
|
|
10188
|
-
this.udm = (key) => new CopilotActivityScopeConnectorUdm(this, key);
|
|
10189
|
-
}
|
|
10190
|
-
toString() {
|
|
10191
|
-
return `connectors/${this.connectorId}`;
|
|
10192
|
-
}
|
|
10193
|
-
}
|
|
10194
|
-
class CopilotActivityScopeConnectorAuth {
|
|
10195
|
-
constructor(connectorScope) {
|
|
10196
|
-
this.connectorScope = connectorScope;
|
|
10197
|
-
}
|
|
10198
|
-
toString() {
|
|
10199
|
-
return `${this.connectorScope.toString()}/auth`;
|
|
10200
|
-
}
|
|
10201
|
-
}
|
|
10202
|
-
class CopilotActivityScopeConnectorData {
|
|
10203
|
-
constructor(connectorScope, dataCollectionKey) {
|
|
10204
|
-
this.connectorScope = connectorScope;
|
|
10205
|
-
this.dataCollectionKey = dataCollectionKey;
|
|
10206
|
-
this.method = (key) => new CopilotActivityScopeConnectorDataMethod(this, key);
|
|
10207
|
-
}
|
|
10208
|
-
toString() {
|
|
10209
|
-
let scope = `${this.connectorScope.toString()}/data`;
|
|
10210
|
-
if (this.dataCollectionKey) {
|
|
10211
|
-
scope += `/${this.dataCollectionKey}`;
|
|
10212
|
-
}
|
|
10213
|
-
return scope;
|
|
10214
|
-
}
|
|
10215
|
-
}
|
|
10216
|
-
class CopilotActivityScopeConnectorDataMethod {
|
|
10217
|
-
constructor(collectionScope, methodKey) {
|
|
10218
|
-
this.collectionScope = collectionScope;
|
|
10219
|
-
this.methodKey = methodKey;
|
|
10220
|
-
}
|
|
10221
|
-
toString() {
|
|
10222
|
-
return `${this.collectionScope.toString()}/methods/${this.methodKey}`;
|
|
10223
|
-
}
|
|
10224
|
-
}
|
|
10225
|
-
class CopilotActivityScopeConnectorUdm {
|
|
10226
|
-
constructor(connectorScope, key) {
|
|
10227
|
-
this.connectorScope = connectorScope;
|
|
10228
|
-
this.key = key;
|
|
10229
|
-
this.collection = (key) => new CopilotActivityScopeConnectorUdmCollection(this, key);
|
|
10230
|
-
}
|
|
10231
|
-
toString() {
|
|
10232
|
-
let scope = `${this.connectorScope.toString()}/udm`;
|
|
10233
|
-
if (this.key) {
|
|
10234
|
-
scope += `/${this.key}`;
|
|
10235
|
-
}
|
|
10236
|
-
return scope;
|
|
10237
|
-
}
|
|
10238
|
-
}
|
|
10239
|
-
class CopilotActivityScopeConnectorUdmCollection {
|
|
10240
|
-
constructor(udmScope, key) {
|
|
10241
|
-
this.udmScope = udmScope;
|
|
10242
|
-
this.key = key;
|
|
10243
|
-
}
|
|
10244
|
-
toString() {
|
|
10245
|
-
return `${this.udmScope.toString()}/collection/${this.key}`;
|
|
10246
|
-
}
|
|
10247
|
-
}
|
|
10248
|
-
|
|
10249
10206
|
exports.LogRecordType = void 0;
|
|
10250
10207
|
(function (LogRecordType) {
|
|
10251
10208
|
LogRecordType["MSG"] = "message";
|
|
@@ -10519,6 +10476,7 @@ exports.UsageType = void 0;
|
|
|
10519
10476
|
UsageType["FILES_UPLOAD_NUMBER"] = "files-upload-number";
|
|
10520
10477
|
UsageType["FILES_UPLOAD_SIZE"] = "files-upload-size";
|
|
10521
10478
|
UsageType["CUSTOM_CODE_RUNTIME_DURATION"] = "custom-code-runtime-duration";
|
|
10479
|
+
UsageType["MEMBRANE_AGENT"] = "membrane-agent";
|
|
10522
10480
|
})(exports.UsageType || (exports.UsageType = {}));
|
|
10523
10481
|
|
|
10524
10482
|
function getNodeInputSchema(flow, nodeKey) {
|
|
@@ -10661,7 +10619,6 @@ const PARALLEL_EXECUTION_LIMITS = [
|
|
|
10661
10619
|
'parallelBackgroundJobs',
|
|
10662
10620
|
'parallelEventLogs',
|
|
10663
10621
|
'parallelEventLogsPerConnection',
|
|
10664
|
-
'parallelWriteDatabaseRequests',
|
|
10665
10622
|
'parallelPathfinderAgentSessions',
|
|
10666
10623
|
];
|
|
10667
10624
|
const RATE_LIMITS = [
|
|
@@ -10672,7 +10629,6 @@ const RATE_LIMITS = [
|
|
|
10672
10629
|
'webhookRequestsPerHour',
|
|
10673
10630
|
'workspaceElementCreationsPerHour',
|
|
10674
10631
|
'workspaceElementCreationsPerSecond',
|
|
10675
|
-
'createDatabaseRequestsPerSecond',
|
|
10676
10632
|
];
|
|
10677
10633
|
const WORKSPACE_SIZE_LIMITS = [
|
|
10678
10634
|
'totalNumberOfCustomers',
|
|
@@ -10688,9 +10644,6 @@ const EDITABLE_LIMITS = [
|
|
|
10688
10644
|
'webhookRequestsPerCustomerPerSecond',
|
|
10689
10645
|
'webhookRequestsPerCustomerPerHour',
|
|
10690
10646
|
'parallelFlowRunsPerConnection',
|
|
10691
|
-
'parallelWriteDatabaseRequestsPerCustomer',
|
|
10692
|
-
'createDatabaseRequestsPerCustomerPerSecond',
|
|
10693
|
-
'updateDatabaseRequestsPerCustomerPerSecond',
|
|
10694
10647
|
];
|
|
10695
10648
|
|
|
10696
10649
|
exports.OrgLimitsType = void 0;
|
|
@@ -10698,6 +10651,8 @@ exports.OrgLimitsType = void 0;
|
|
|
10698
10651
|
OrgLimitsType["NUMBER_OF_WORKSPACES"] = "numberOfWorkspaces";
|
|
10699
10652
|
OrgLimitsType["TODAY_USAGE"] = "todayUsage";
|
|
10700
10653
|
OrgLimitsType["LAST_THIRTY_DAY_USAGE"] = "lastThirtyDayUsage";
|
|
10654
|
+
OrgLimitsType["MEMBRANE_EXPERT_CREDITS_CAP"] = "membraneExpertCreditsCapPerMonth";
|
|
10655
|
+
OrgLimitsType["MEMBRANE_AGENT_LAST_THIRTY_DAYS_USAGE"] = "membraneAgentLastThirtyDaysUsage";
|
|
10701
10656
|
})(exports.OrgLimitsType || (exports.OrgLimitsType = {}));
|
|
10702
10657
|
exports.OrgUserRole = void 0;
|
|
10703
10658
|
(function (OrgUserRole) {
|
|
@@ -10735,6 +10690,7 @@ exports.AlertType = void 0;
|
|
|
10735
10690
|
AlertType["externalEventsPerCustomerPerDay"] = "externalEventsPerCustomerPerDay";
|
|
10736
10691
|
AlertType["totalUsagePerDay"] = "totalUsagePerDay";
|
|
10737
10692
|
AlertType["totalUsagePer30Days"] = "totalUsagePer30Days";
|
|
10693
|
+
AlertType["membraneAgentUsagePer30Days"] = "membraneAgentUsagePer30Days";
|
|
10738
10694
|
})(exports.AlertType || (exports.AlertType = {}));
|
|
10739
10695
|
|
|
10740
10696
|
class ElementAccessor {
|
|
@@ -10868,6 +10824,55 @@ class ElementInstanceAccessor {
|
|
|
10868
10824
|
}
|
|
10869
10825
|
}
|
|
10870
10826
|
|
|
10827
|
+
class ConnectionLevelElementAccessor {
|
|
10828
|
+
constructor(client, connectionSelector, selector, elementKey, query) {
|
|
10829
|
+
this.client = client;
|
|
10830
|
+
this.connectionSelector = connectionSelector;
|
|
10831
|
+
this.selector = selector;
|
|
10832
|
+
this.elementKey = elementKey;
|
|
10833
|
+
this.query = query;
|
|
10834
|
+
this.endpoint = `/connections/${this.connectionSelector}/${elementKey}/${selector}`;
|
|
10835
|
+
}
|
|
10836
|
+
uri(path = '', query = {}) {
|
|
10837
|
+
return this.endpoint + path + '?' + qs.stringify({ ...this.query, ...query });
|
|
10838
|
+
}
|
|
10839
|
+
getUniqueIdentifier() {
|
|
10840
|
+
return this.endpoint;
|
|
10841
|
+
}
|
|
10842
|
+
async get(query = {}) {
|
|
10843
|
+
return this.client.get(this.uri('', query));
|
|
10844
|
+
}
|
|
10845
|
+
async create() {
|
|
10846
|
+
return this.client.put(this.uri());
|
|
10847
|
+
}
|
|
10848
|
+
async patch(data) {
|
|
10849
|
+
return this.client.patch(this.uri(), data);
|
|
10850
|
+
}
|
|
10851
|
+
async put(data) {
|
|
10852
|
+
return this.client.put(this.uri(), data);
|
|
10853
|
+
}
|
|
10854
|
+
async archive() {
|
|
10855
|
+
return this.client.delete(this.uri());
|
|
10856
|
+
}
|
|
10857
|
+
async reset() {
|
|
10858
|
+
return this.client.post(this.uri('/reset'));
|
|
10859
|
+
}
|
|
10860
|
+
async setup() {
|
|
10861
|
+
return this.client.post(this.uri('/setup'));
|
|
10862
|
+
}
|
|
10863
|
+
}
|
|
10864
|
+
class ConnectionLevelElementsListAccessor {
|
|
10865
|
+
constructor(client, connectionSelector, elementKey) {
|
|
10866
|
+
this.client = client;
|
|
10867
|
+
this.connectionSelector = connectionSelector;
|
|
10868
|
+
this.elementKey = elementKey;
|
|
10869
|
+
}
|
|
10870
|
+
async list(query) {
|
|
10871
|
+
const endpoint = `/connections/${this.connectionSelector}/${this.elementKey}?${qs.stringify(query !== null && query !== void 0 ? query : {})}`;
|
|
10872
|
+
return this.client.get(endpoint);
|
|
10873
|
+
}
|
|
10874
|
+
}
|
|
10875
|
+
|
|
10871
10876
|
class IntegrationLevelElementAccessor {
|
|
10872
10877
|
constructor(client, integrationSelector, elementSelector, elementKey) {
|
|
10873
10878
|
this.client = client;
|
|
@@ -10926,6 +10931,15 @@ class ActionAccessor extends ElementAccessor {
|
|
|
10926
10931
|
async reset() {
|
|
10927
10932
|
return await this.options.client.post(this.getPath('reset'));
|
|
10928
10933
|
}
|
|
10934
|
+
async run(input, options) {
|
|
10935
|
+
const queryParams = options
|
|
10936
|
+
? {
|
|
10937
|
+
integrationKey: options.integrationKey,
|
|
10938
|
+
connectionId: options.connectionId,
|
|
10939
|
+
}
|
|
10940
|
+
: {};
|
|
10941
|
+
return this.options.client.post(this.getPath('run'), { input }, { params: queryParams });
|
|
10942
|
+
}
|
|
10929
10943
|
}
|
|
10930
10944
|
class IntegrationLevelActionAccessor extends IntegrationLevelElementAccessor {
|
|
10931
10945
|
constructor(client, integrationSelector, actionSelector) {
|
|
@@ -10942,6 +10956,25 @@ class IntegrationLevelActionsListAccessor extends IntegrationLevelElementsListAc
|
|
|
10942
10956
|
this.integrationSelector = integrationSelector;
|
|
10943
10957
|
}
|
|
10944
10958
|
}
|
|
10959
|
+
class ConnectionLevelActionAccessor extends ConnectionLevelElementAccessor {
|
|
10960
|
+
constructor(client, connectionSelector, actionSelector, query) {
|
|
10961
|
+
super(client, connectionSelector, actionSelector, 'actions', query);
|
|
10962
|
+
this.client = client;
|
|
10963
|
+
this.connectionSelector = connectionSelector;
|
|
10964
|
+
this.actionSelector = actionSelector;
|
|
10965
|
+
this.query = query;
|
|
10966
|
+
}
|
|
10967
|
+
async run(input) {
|
|
10968
|
+
return this.client.post(this.uri('/run'), input);
|
|
10969
|
+
}
|
|
10970
|
+
}
|
|
10971
|
+
class ConnectionLevelActionsAccessor extends ConnectionLevelElementsListAccessor {
|
|
10972
|
+
constructor(client, connectionSelector) {
|
|
10973
|
+
super(client, connectionSelector, 'actions');
|
|
10974
|
+
this.client = client;
|
|
10975
|
+
this.connectionSelector = connectionSelector;
|
|
10976
|
+
}
|
|
10977
|
+
}
|
|
10945
10978
|
|
|
10946
10979
|
const POPUP_ELEMENT_ID = '__integration-app-popup';
|
|
10947
10980
|
const CONTAINER_ELEMENT_ID = '__integration-app-container';
|
|
@@ -11168,104 +11201,6 @@ function handleIframeUnmount(iframe) {
|
|
|
11168
11201
|
}
|
|
11169
11202
|
}
|
|
11170
11203
|
|
|
11171
|
-
class ConnectionLevelElementAccessor {
|
|
11172
|
-
constructor(client, connectionSelector, selector, elementKey, query) {
|
|
11173
|
-
this.client = client;
|
|
11174
|
-
this.connectionSelector = connectionSelector;
|
|
11175
|
-
this.selector = selector;
|
|
11176
|
-
this.elementKey = elementKey;
|
|
11177
|
-
this.query = query;
|
|
11178
|
-
this.endpoint = `/connections/${this.connectionSelector}/${elementKey}/${selector}`;
|
|
11179
|
-
}
|
|
11180
|
-
uri(path = '', query = {}) {
|
|
11181
|
-
return this.endpoint + path + '?' + qs.stringify({ ...this.query, ...query });
|
|
11182
|
-
}
|
|
11183
|
-
getUniqueIdentifier() {
|
|
11184
|
-
return this.endpoint;
|
|
11185
|
-
}
|
|
11186
|
-
async get(query = {}) {
|
|
11187
|
-
return this.client.get(this.uri('', query));
|
|
11188
|
-
}
|
|
11189
|
-
async create() {
|
|
11190
|
-
return this.client.put(this.uri());
|
|
11191
|
-
}
|
|
11192
|
-
async patch(data) {
|
|
11193
|
-
return this.client.patch(this.uri(), data);
|
|
11194
|
-
}
|
|
11195
|
-
async put(data) {
|
|
11196
|
-
return this.client.put(this.uri(), data);
|
|
11197
|
-
}
|
|
11198
|
-
async archive() {
|
|
11199
|
-
return this.client.delete(this.uri());
|
|
11200
|
-
}
|
|
11201
|
-
async reset() {
|
|
11202
|
-
return this.client.post(this.uri('/reset'));
|
|
11203
|
-
}
|
|
11204
|
-
async setup() {
|
|
11205
|
-
return this.client.post(this.uri('/setup'));
|
|
11206
|
-
}
|
|
11207
|
-
}
|
|
11208
|
-
class ConnectionLevelElementsListAccessor {
|
|
11209
|
-
constructor(client, connectionSelector, elementKey) {
|
|
11210
|
-
this.client = client;
|
|
11211
|
-
this.connectionSelector = connectionSelector;
|
|
11212
|
-
this.elementKey = elementKey;
|
|
11213
|
-
}
|
|
11214
|
-
async list(query) {
|
|
11215
|
-
const endpoint = `/connections/${this.connectionSelector}/${this.elementKey}?${qs.stringify(query !== null && query !== void 0 ? query : {})}`;
|
|
11216
|
-
return this.client.get(endpoint);
|
|
11217
|
-
}
|
|
11218
|
-
}
|
|
11219
|
-
|
|
11220
|
-
class ActionInstancesAccessor extends ElementInstanceListAccessor {
|
|
11221
|
-
constructor(client) {
|
|
11222
|
-
super(client, 'action-instances');
|
|
11223
|
-
}
|
|
11224
|
-
}
|
|
11225
|
-
class ActionInstanceAccessor extends ElementInstanceAccessor {
|
|
11226
|
-
constructor(client, selector) {
|
|
11227
|
-
super({
|
|
11228
|
-
client,
|
|
11229
|
-
instancePath: 'action-instance',
|
|
11230
|
-
selector,
|
|
11231
|
-
});
|
|
11232
|
-
this.client = client;
|
|
11233
|
-
}
|
|
11234
|
-
async setup() {
|
|
11235
|
-
await this.client.post(this.getPath('setup'));
|
|
11236
|
-
}
|
|
11237
|
-
async reset() {
|
|
11238
|
-
await this.client.post(this.getPath('reset'));
|
|
11239
|
-
}
|
|
11240
|
-
async run(input) {
|
|
11241
|
-
return this.client.post(this.getPath('run'), input);
|
|
11242
|
-
}
|
|
11243
|
-
async open({ onClose = () => { } } = {}) {
|
|
11244
|
-
const id = await this.getId();
|
|
11245
|
-
const uri = await this.client.getEmbedUri(`action-instances/${id}/configuration`);
|
|
11246
|
-
return openIframe(uri, { onClose });
|
|
11247
|
-
}
|
|
11248
|
-
}
|
|
11249
|
-
class ConnectionLevelActionAccessor extends ConnectionLevelElementAccessor {
|
|
11250
|
-
constructor(client, connectionSelector, actionSelector, query) {
|
|
11251
|
-
super(client, connectionSelector, actionSelector, 'actions', query);
|
|
11252
|
-
this.client = client;
|
|
11253
|
-
this.connectionSelector = connectionSelector;
|
|
11254
|
-
this.actionSelector = actionSelector;
|
|
11255
|
-
this.query = query;
|
|
11256
|
-
}
|
|
11257
|
-
async run(input) {
|
|
11258
|
-
return this.client.post(this.uri('/run'), input);
|
|
11259
|
-
}
|
|
11260
|
-
}
|
|
11261
|
-
class ConnectionLevelActionsAccessor extends ConnectionLevelElementsListAccessor {
|
|
11262
|
-
constructor(client, connectionSelector) {
|
|
11263
|
-
super(client, connectionSelector, 'actions');
|
|
11264
|
-
this.client = client;
|
|
11265
|
-
this.connectionSelector = connectionSelector;
|
|
11266
|
-
}
|
|
11267
|
-
}
|
|
11268
|
-
|
|
11269
11204
|
class DataSourcesAccessor extends ElementListAccessor {
|
|
11270
11205
|
constructor(client) {
|
|
11271
11206
|
super(client, 'data-sources');
|
|
@@ -12235,6 +12170,36 @@ class UserAccessor extends CustomerAccessor {
|
|
|
12235
12170
|
}
|
|
12236
12171
|
}
|
|
12237
12172
|
|
|
12173
|
+
class ActionInstancesAccessor extends ElementInstanceListAccessor {
|
|
12174
|
+
constructor(client) {
|
|
12175
|
+
super(client, 'action-instances');
|
|
12176
|
+
}
|
|
12177
|
+
}
|
|
12178
|
+
class ActionInstanceAccessor extends ElementInstanceAccessor {
|
|
12179
|
+
constructor(client, selector) {
|
|
12180
|
+
super({
|
|
12181
|
+
client,
|
|
12182
|
+
instancePath: 'action-instance',
|
|
12183
|
+
selector,
|
|
12184
|
+
});
|
|
12185
|
+
this.client = client;
|
|
12186
|
+
}
|
|
12187
|
+
async setup() {
|
|
12188
|
+
await this.client.post(this.getPath('setup'));
|
|
12189
|
+
}
|
|
12190
|
+
async reset() {
|
|
12191
|
+
await this.client.post(this.getPath('reset'));
|
|
12192
|
+
}
|
|
12193
|
+
async run(input) {
|
|
12194
|
+
return this.client.post(this.getPath('run'), input);
|
|
12195
|
+
}
|
|
12196
|
+
async open({ onClose = () => { } } = {}) {
|
|
12197
|
+
const id = await this.getId();
|
|
12198
|
+
const uri = await this.client.getEmbedUri(`action-instances/${id}/configuration`);
|
|
12199
|
+
return openIframe(uri, { onClose });
|
|
12200
|
+
}
|
|
12201
|
+
}
|
|
12202
|
+
|
|
12238
12203
|
class DataLinkTablesAccessor extends ElementListAccessor {
|
|
12239
12204
|
constructor(client) {
|
|
12240
12205
|
super(client, 'data-link-tables');
|
|
@@ -12436,6 +12401,43 @@ const ScenarioTemplate = zod.z.object({
|
|
|
12436
12401
|
handyElements: zod.z.array(HandyScenarioTemplateElement).optional(),
|
|
12437
12402
|
});
|
|
12438
12403
|
|
|
12404
|
+
exports.AgentSessionStatus = void 0;
|
|
12405
|
+
(function (AgentSessionStatus) {
|
|
12406
|
+
AgentSessionStatus["QUEUED"] = "queued";
|
|
12407
|
+
AgentSessionStatus["STARTING"] = "starting";
|
|
12408
|
+
AgentSessionStatus["RUNNING"] = "running";
|
|
12409
|
+
AgentSessionStatus["COMPLETED"] = "completed";
|
|
12410
|
+
AgentSessionStatus["FAILED"] = "failed";
|
|
12411
|
+
AgentSessionStatus["CANCELLED"] = "cancelled";
|
|
12412
|
+
})(exports.AgentSessionStatus || (exports.AgentSessionStatus = {}));
|
|
12413
|
+
const AgentSession = zod.z.object({
|
|
12414
|
+
id: zod.z.string(),
|
|
12415
|
+
workspaceId: zod.z.string(),
|
|
12416
|
+
workspaceElementType: zod.z.enum(exports.WorkspaceElementType),
|
|
12417
|
+
workspaceElementId: zod.z.string(),
|
|
12418
|
+
type: zod.z.string(),
|
|
12419
|
+
status: zod.z.enum(exports.AgentSessionStatus),
|
|
12420
|
+
workerId: zod.z.string().optional(),
|
|
12421
|
+
workerUrl: zod.z.string().url().optional(),
|
|
12422
|
+
prompt: zod.z.string(),
|
|
12423
|
+
error: ErrorDataSchema.optional(),
|
|
12424
|
+
createdBy: zod.z.string(),
|
|
12425
|
+
lastActivityAt: zod.z.iso.datetime(),
|
|
12426
|
+
createdAt: zod.z.iso.datetime(),
|
|
12427
|
+
updatedAt: zod.z.iso.datetime(),
|
|
12428
|
+
storedMessagesUri: zod.z.string().url().optional(),
|
|
12429
|
+
sessionFilesZipUri: zod.z.string().url().optional(),
|
|
12430
|
+
logs: zod.z.array(zod.z.any()).optional(),
|
|
12431
|
+
});
|
|
12432
|
+
const CreateAgentSession = zod.z.object({
|
|
12433
|
+
workspaceElementType: zod.z.enum(exports.WorkspaceElementType),
|
|
12434
|
+
workspaceElementId: zod.z.string().min(1),
|
|
12435
|
+
prompt: zod.z.string().min(1),
|
|
12436
|
+
});
|
|
12437
|
+
const AgentSessionInputSchema = zod.z.object({
|
|
12438
|
+
input: zod.z.string().optional(),
|
|
12439
|
+
});
|
|
12440
|
+
|
|
12439
12441
|
function decodeJWT(token) {
|
|
12440
12442
|
if (typeof token !== 'string') {
|
|
12441
12443
|
return undefined;
|
|
@@ -12468,6 +12470,9 @@ const DEFAULT_API_URI = 'https://api.integration.app';
|
|
|
12468
12470
|
const DEFAULT_UI_URI = 'https://ui.integration.app';
|
|
12469
12471
|
const REFETCH_EXPIRATION_THRESHOLD = 10 * 1000;
|
|
12470
12472
|
function decodeToken(token) {
|
|
12473
|
+
if (token.startsWith('pat-')) {
|
|
12474
|
+
return null;
|
|
12475
|
+
}
|
|
12471
12476
|
const payload = decodeJWT(token);
|
|
12472
12477
|
if (!payload) {
|
|
12473
12478
|
throw new Error('Access token should be a valid JWT token.');
|
|
@@ -12497,7 +12502,7 @@ class MembraneApiClient {
|
|
|
12497
12502
|
}
|
|
12498
12503
|
else {
|
|
12499
12504
|
const payload = decodeToken(this.token);
|
|
12500
|
-
if (payload.exp) {
|
|
12505
|
+
if (payload === null || payload === void 0 ? void 0 : payload.exp) {
|
|
12501
12506
|
const willExpireSoon = new Date(payload.exp * 1000).getTime() - new Date().getTime() < REFETCH_EXPIRATION_THRESHOLD;
|
|
12502
12507
|
if (willExpireSoon) {
|
|
12503
12508
|
this.token = await this.fetchToken();
|
|
@@ -12901,6 +12906,7 @@ exports.ActionAccessor = ActionAccessor;
|
|
|
12901
12906
|
exports.ActionApiResponse = ActionApiResponse;
|
|
12902
12907
|
exports.ActionDependency = ActionDependency;
|
|
12903
12908
|
exports.ActionEditableProperties = ActionEditableProperties;
|
|
12909
|
+
exports.ActionExportProperties = ActionExportProperties;
|
|
12904
12910
|
exports.ActionInstanceAccessor = ActionInstanceAccessor;
|
|
12905
12911
|
exports.ActionInstanceApiResponse = ActionInstanceApiResponse;
|
|
12906
12912
|
exports.ActionInstanceSetupError = ActionInstanceSetupError;
|
|
@@ -12909,6 +12915,8 @@ exports.ActionRunError = ActionRunError;
|
|
|
12909
12915
|
exports.ActionRunLogRecordApiResponse = ActionRunLogRecordApiResponse;
|
|
12910
12916
|
exports.ActionRunResponse = ActionRunResponse;
|
|
12911
12917
|
exports.ActionsAccessor = ActionsAccessor;
|
|
12918
|
+
exports.AgentSession = AgentSession;
|
|
12919
|
+
exports.AgentSessionInputSchema = AgentSessionInputSchema;
|
|
12912
12920
|
exports.ApiRequestSpec = ApiRequestSpec;
|
|
12913
12921
|
exports.AppDataSchemaAccessor = AppDataSchemaAccessor;
|
|
12914
12922
|
exports.AppDataSchemaApiResponse = AppDataSchemaApiResponse;
|
|
@@ -12950,6 +12958,7 @@ exports.BaseFlowRun = BaseFlowRun;
|
|
|
12950
12958
|
exports.BaseIntegration = BaseIntegration;
|
|
12951
12959
|
exports.BaseIntegrationLevelMembraneInterface = BaseIntegrationLevelMembraneInterface;
|
|
12952
12960
|
exports.BaseIntegrationLevelMembraneInterfaceEditableProperties = BaseIntegrationLevelMembraneInterfaceEditableProperties;
|
|
12961
|
+
exports.BaseIntegrationLevelMembraneInterfaceExportProperties = BaseIntegrationLevelMembraneInterfaceExportProperties;
|
|
12953
12962
|
exports.BaseIntegrationLevelMembraneInterfaceReadOnlyProperties = BaseIntegrationLevelMembraneInterfaceReadOnlyProperties;
|
|
12954
12963
|
exports.BaseMembraneInterface = BaseMembraneInterface;
|
|
12955
12964
|
exports.BaseMembraneInterfaceEditableProperties = BaseMembraneInterfaceEditableProperties;
|
|
@@ -12997,9 +13006,9 @@ exports.ConnectorDataCollectionMethodKeys = ConnectorDataCollectionMethodKeys;
|
|
|
12997
13006
|
exports.ConnectorDataLocationTypes = ConnectorDataLocationTypes;
|
|
12998
13007
|
exports.ConnectorEventHandlerMethods = ConnectorEventHandlerMethods;
|
|
12999
13008
|
exports.ConnectorOperationMethodImplementationTypes = ConnectorOperationMethodImplementationTypes;
|
|
13000
|
-
exports.CopilotActivityScope = CopilotActivityScope;
|
|
13001
13009
|
exports.CreateActionInstanceRequest = CreateActionInstanceRequest;
|
|
13002
13010
|
exports.CreateActionRequest = CreateActionRequest;
|
|
13011
|
+
exports.CreateAgentSession = CreateAgentSession;
|
|
13003
13012
|
exports.CreateConnectionRequest = CreateConnectionRequest;
|
|
13004
13013
|
exports.CreateCustomerRequest = CreateCustomerRequest;
|
|
13005
13014
|
exports.CreateDataSourceInstanceRequest = CreateDataSourceInstanceRequest;
|
|
@@ -13009,6 +13018,7 @@ exports.CreateFlowNodeRequest = CreateFlowNodeRequest;
|
|
|
13009
13018
|
exports.CreateFlowRequest = CreateFlowRequest;
|
|
13010
13019
|
exports.CreateFlowRunRequest = CreateFlowRunRequest;
|
|
13011
13020
|
exports.CreateIntegrationRequest = CreateIntegrationRequest;
|
|
13021
|
+
exports.CreatePackageRequest = CreatePackageRequest;
|
|
13012
13022
|
exports.CustomCodeError = CustomCodeError;
|
|
13013
13023
|
exports.CustomerAccessor = CustomerAccessor;
|
|
13014
13024
|
exports.CustomerApiResponse = CustomerApiResponse;
|
|
@@ -13069,6 +13079,7 @@ exports.DataSchema = DataSchema;
|
|
|
13069
13079
|
exports.DataSourceAccessor = DataSourceAccessor;
|
|
13070
13080
|
exports.DataSourceApiResponse = DataSourceApiResponse;
|
|
13071
13081
|
exports.DataSourceEditableProperties = DataSourceEditableProperties;
|
|
13082
|
+
exports.DataSourceExportProperties = DataSourceExportProperties;
|
|
13072
13083
|
exports.DataSourceInstanceAccessor = DataSourceInstanceAccessor;
|
|
13073
13084
|
exports.DataSourceInstanceApiResponse = DataSourceInstanceApiResponse;
|
|
13074
13085
|
exports.DataSourceInstancesAccessor = DataSourceInstancesAccessor;
|
|
@@ -13096,6 +13107,7 @@ exports.FLOW_NODE_SPECS = FLOW_NODE_SPECS;
|
|
|
13096
13107
|
exports.FieldMappingAccessor = FieldMappingAccessor;
|
|
13097
13108
|
exports.FieldMappingApiResponse = FieldMappingApiResponse;
|
|
13098
13109
|
exports.FieldMappingEditableProperties = FieldMappingEditableProperties;
|
|
13110
|
+
exports.FieldMappingExportProperties = FieldMappingExportProperties;
|
|
13099
13111
|
exports.FieldMappingInstanceAccessor = FieldMappingInstanceAccessor;
|
|
13100
13112
|
exports.FieldMappingInstanceApiResponse = FieldMappingInstanceApiResponse;
|
|
13101
13113
|
exports.FieldMappingInstancesAccessor = FieldMappingInstancesAccessor;
|
|
@@ -13122,6 +13134,7 @@ exports.FindPackagesQuery = FindPackagesQuery;
|
|
|
13122
13134
|
exports.FlowAccessor = FlowAccessor;
|
|
13123
13135
|
exports.FlowApiResponse = FlowApiResponse;
|
|
13124
13136
|
exports.FlowEditableProperties = FlowEditableProperties;
|
|
13137
|
+
exports.FlowExportProperties = FlowExportProperties;
|
|
13125
13138
|
exports.FlowInstanceAccessor = FlowInstanceAccessor;
|
|
13126
13139
|
exports.FlowInstanceApiResponse = FlowInstanceApiResponse;
|
|
13127
13140
|
exports.FlowInstanceNode = FlowInstanceNode;
|
|
@@ -13155,6 +13168,7 @@ exports.IntegrationApiResponse = IntegrationApiResponse;
|
|
|
13155
13168
|
exports.IntegrationAppClient = MembraneClient;
|
|
13156
13169
|
exports.IntegrationAuthOption = IntegrationAuthOption;
|
|
13157
13170
|
exports.IntegrationAuthUi = IntegrationAuthUi;
|
|
13171
|
+
exports.IntegrationExportProperties = IntegrationExportProperties;
|
|
13158
13172
|
exports.IntegrationLevelActionAccessor = IntegrationLevelActionAccessor;
|
|
13159
13173
|
exports.IntegrationLevelActionsListAccessor = IntegrationLevelActionsListAccessor;
|
|
13160
13174
|
exports.IntegrationLevelDataSourceAccessor = IntegrationLevelDataSourceAccessor;
|
|
@@ -13172,6 +13186,7 @@ exports.ListDataSourceInstancesForConnectionQuery = ListDataSourceInstancesForCo
|
|
|
13172
13186
|
exports.ListExternalEventLogRecordsQuery = ListExternalEventLogRecordsQuery;
|
|
13173
13187
|
exports.ListExternalEventPullsQuery = ListExternalEventPullsQuery;
|
|
13174
13188
|
exports.ListFlowInstancesForConnectionQuery = ListFlowInstancesForConnectionQuery;
|
|
13189
|
+
exports.MEMBRANE_ELEMENT_CONFIG_FILE_NAME = MEMBRANE_ELEMENT_CONFIG_FILE_NAME;
|
|
13175
13190
|
exports.MIN_FULL_SYNC_INTERVAL_SECONDS = MIN_FULL_SYNC_INTERVAL_SECONDS;
|
|
13176
13191
|
exports.MIN_PULL_UPDATES_INTERVAL_SECONDS = MIN_PULL_UPDATES_INTERVAL_SECONDS;
|
|
13177
13192
|
exports.MembraneAxiosInstance = axios;
|
|
@@ -13190,6 +13205,8 @@ exports.PackageCalculatedProperties = PackageCalculatedProperties;
|
|
|
13190
13205
|
exports.PackageEditableProperties = PackageEditableProperties;
|
|
13191
13206
|
exports.PackageElement = PackageElement;
|
|
13192
13207
|
exports.PackageElementApi = PackageElementApi;
|
|
13208
|
+
exports.PackageElementExport = PackageElementExport;
|
|
13209
|
+
exports.PackageExportProperties = PackageExportProperties;
|
|
13193
13210
|
exports.PackagesAccessor = PackagesAccessor;
|
|
13194
13211
|
exports.PaginationQuery = PaginationQuery;
|
|
13195
13212
|
exports.PaginationResponse = PaginationResponse;
|
|
@@ -13197,6 +13214,7 @@ exports.RATE_LIMITS = RATE_LIMITS;
|
|
|
13197
13214
|
exports.RateLimitExceededError = RateLimitExceededError;
|
|
13198
13215
|
exports.ResetFlowInstanceOptions = ResetFlowInstanceOptions;
|
|
13199
13216
|
exports.RunActionRequest = RunActionRequest;
|
|
13217
|
+
exports.RunFlowApiRequest = RunFlowApiRequest;
|
|
13200
13218
|
exports.ScenarioAccessor = ScenarioAccessor;
|
|
13201
13219
|
exports.ScenarioTemplate = ScenarioTemplate;
|
|
13202
13220
|
exports.ScenarioTemplateElements = ScenarioTemplateElements;
|
|
@@ -13218,6 +13236,7 @@ exports.UpdateDataSourceRequest = UpdateDataSourceRequest;
|
|
|
13218
13236
|
exports.UpdateFieldMappingRequest = UpdateFieldMappingRequest;
|
|
13219
13237
|
exports.UpdateFlowRequest = UpdateFlowRequest;
|
|
13220
13238
|
exports.UpdateIntegrationRequest = UpdateIntegrationRequest;
|
|
13239
|
+
exports.UpdatePackageRequest = UpdatePackageRequest;
|
|
13221
13240
|
exports.UpstreamFlowNodeRunSchema = UpstreamFlowNodeRunSchema;
|
|
13222
13241
|
exports.UserAccessor = UserAccessor;
|
|
13223
13242
|
exports.UsersAccessor = UsersAccessor;
|
|
@@ -13278,6 +13297,7 @@ exports.getFullTitleForLocator = getFullTitleForLocator;
|
|
|
13278
13297
|
exports.getIconUriForLocator = getIconUriForLocator;
|
|
13279
13298
|
exports.getLocatorsFromData = getLocatorsFromData;
|
|
13280
13299
|
exports.getLocatorsFromSchema = getLocatorsFromSchema;
|
|
13300
|
+
exports.getMembraneElementPath = getMembraneElementPath;
|
|
13281
13301
|
exports.getMissingRequiredFields = getMissingRequiredFields;
|
|
13282
13302
|
exports.getNameComponentsForLocator = getNameComponentsForLocator;
|
|
13283
13303
|
exports.getNameForLocator = getNameForLocator;
|
|
@@ -13324,6 +13344,7 @@ exports.mergeWithFormulas = mergeWithFormulas;
|
|
|
13324
13344
|
exports.nonEmptyObjectProperties = nonEmptyObjectProperties;
|
|
13325
13345
|
exports.parseDataLocationPath = parseDataLocationPath;
|
|
13326
13346
|
exports.parseDate = parseDate;
|
|
13347
|
+
exports.parseMembraneElementPath = parseMembraneElementPath;
|
|
13327
13348
|
exports.patchSchema = patchSchema;
|
|
13328
13349
|
exports.pickFieldsFromSchema = pickFieldsFromSchema;
|
|
13329
13350
|
exports.pickFieldsFromValue = pickFieldsFromValue;
|