@membranehq/sdk 0.7.3 → 0.7.4
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 +1180 -1049
- package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +9 -20
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +452 -453
- package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +43 -69
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +208 -110
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +6 -6
- package/dist/dts/workspace-elements/api/flows-api.d.ts +583 -497
- package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/data-sources/index.d.ts +153 -2
- 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 +191 -1
- package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/flows/index.d.ts +300 -1
- package/dist/dts/workspace-elements/base/flows/nodes/base.d.ts +79 -1
- package/dist/dts/workspace-elements/base/flows/nodes/index.d.ts +1 -1
- package/dist/index.browser.d.mts +1749 -1375
- package/dist/index.browser.d.ts +1749 -1375
- package/dist/index.browser.js +128 -133
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +123 -132
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +1749 -1375
- package/dist/index.node.d.ts +1749 -1375
- package/dist/index.node.js +128 -133
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +123 -132
- package/dist/index.node.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/dts/workspace-elements/base/data-sources/constants.d.ts +0 -4
- package/dist/dts/workspace-elements/base/data-sources/types.d.ts +0 -109
- package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +0 -136
- package/dist/dts/workspace-elements/base/flows/types.d.ts +0 -248
package/dist/index.node.js
CHANGED
|
@@ -3482,40 +3482,6 @@ const BaseIntegrationLevelMembraneInterfaceReadOnlyProperties = BaseMembraneInte
|
|
|
3482
3482
|
});
|
|
3483
3483
|
const BaseIntegrationLevelMembraneInterface = BaseMembraneInterface.merge(BaseIntegrationLevelMembraneInterfaceEditableProperties).merge(BaseIntegrationLevelMembraneInterfaceReadOnlyProperties);
|
|
3484
3484
|
|
|
3485
|
-
exports.FieldMappingDirection = void 0;
|
|
3486
|
-
(function (FieldMappingDirection) {
|
|
3487
|
-
FieldMappingDirection["IMPORT"] = "import";
|
|
3488
|
-
FieldMappingDirection["EXPORT"] = "export";
|
|
3489
|
-
FieldMappingDirection["BOTH"] = "both";
|
|
3490
|
-
})(exports.FieldMappingDirection || (exports.FieldMappingDirection = {}));
|
|
3491
|
-
const BaseFieldMapping = BaseIntegrationLevelMembraneInterface.extend({
|
|
3492
|
-
publishedRevision: zod.z.string().optional(),
|
|
3493
|
-
universalFieldMappingId: zod.z.string().optional(),
|
|
3494
|
-
universalFieldMappingRevision: zod.z.string().optional(),
|
|
3495
|
-
dataSourceId: zod.z.string().optional(),
|
|
3496
|
-
dataSourceKey: zod.z.string().optional(),
|
|
3497
|
-
appSchema: DataSchema.optional(),
|
|
3498
|
-
direction: zod.z.nativeEnum(exports.FieldMappingDirection).optional(),
|
|
3499
|
-
defaultImportValue: zod.z.any().optional(),
|
|
3500
|
-
defaultExportValue: zod.z.any().optional(),
|
|
3501
|
-
importValue: zod.z.any().optional(),
|
|
3502
|
-
exportValue: zod.z.any().optional(),
|
|
3503
|
-
frozenImportFields: zod.z.any().optional(),
|
|
3504
|
-
frozenExportFields: zod.z.any().optional(),
|
|
3505
|
-
frozenUnifiedExportFields: zod.z.any().optional(),
|
|
3506
|
-
});
|
|
3507
|
-
const FieldMappingUnitConfig = zod.z.object({
|
|
3508
|
-
key: zod.z.string().optional(),
|
|
3509
|
-
input: zod.z.any().optional(),
|
|
3510
|
-
includeRawFields: zod.z.any().optional(),
|
|
3511
|
-
importValue: zod.z.any().optional(),
|
|
3512
|
-
exportValue: zod.z.any().optional(),
|
|
3513
|
-
default: zod.z.any().optional(),
|
|
3514
|
-
defaultUnifiedValue: zod.z.any().optional(),
|
|
3515
|
-
defaultValue: zod.z.any().optional(),
|
|
3516
|
-
appSchema: DataSchema.optional(),
|
|
3517
|
-
});
|
|
3518
|
-
|
|
3519
3485
|
function mergeWithFormulas(a, b) {
|
|
3520
3486
|
if (Array.isArray(a) && Array.isArray(b)) {
|
|
3521
3487
|
const length = Math.max(a.length, b.length);
|
|
@@ -3546,6 +3512,44 @@ function isObject(value) {
|
|
|
3546
3512
|
!(value instanceof Boolean));
|
|
3547
3513
|
}
|
|
3548
3514
|
|
|
3515
|
+
exports.FieldMappingDirection = void 0;
|
|
3516
|
+
(function (FieldMappingDirection) {
|
|
3517
|
+
FieldMappingDirection["IMPORT"] = "import";
|
|
3518
|
+
FieldMappingDirection["EXPORT"] = "export";
|
|
3519
|
+
FieldMappingDirection["BOTH"] = "both";
|
|
3520
|
+
})(exports.FieldMappingDirection || (exports.FieldMappingDirection = {}));
|
|
3521
|
+
const FieldMappingEditableProperties = BaseIntegrationLevelMembraneInterfaceEditableProperties.omit({
|
|
3522
|
+
parentId: true,
|
|
3523
|
+
}).extend({
|
|
3524
|
+
universalFieldMappingId: zod.z.string().optional(),
|
|
3525
|
+
dataSourceKey: zod.z.string().optional(),
|
|
3526
|
+
dataSourceId: zod.z.string().optional(),
|
|
3527
|
+
appSchema: DataSchema.optional(),
|
|
3528
|
+
direction: zod.z.nativeEnum(exports.FieldMappingDirection).optional(),
|
|
3529
|
+
defaultImportValue: zod.z.any().optional(),
|
|
3530
|
+
defaultExportValue: zod.z.any().optional(),
|
|
3531
|
+
importValue: zod.z.any().optional(),
|
|
3532
|
+
exportValue: zod.z.any().optional(),
|
|
3533
|
+
frozenImportFields: zod.z.any().optional(),
|
|
3534
|
+
frozenExportFields: zod.z.any().optional(),
|
|
3535
|
+
frozenUnifiedExportFields: zod.z.any().optional(),
|
|
3536
|
+
});
|
|
3537
|
+
const FieldMappingReadOnlyProperties = BaseIntegrationLevelMembraneInterfaceReadOnlyProperties.extend({
|
|
3538
|
+
universalFieldMappingRevision: zod.z.string().optional(),
|
|
3539
|
+
});
|
|
3540
|
+
const BaseFieldMapping = BaseMembraneInterface.merge(FieldMappingEditableProperties).merge(FieldMappingReadOnlyProperties);
|
|
3541
|
+
const FieldMappingUnitConfig = zod.z.object({
|
|
3542
|
+
key: zod.z.string().optional(),
|
|
3543
|
+
input: zod.z.any().optional(),
|
|
3544
|
+
includeRawFields: zod.z.any().optional(),
|
|
3545
|
+
importValue: zod.z.any().optional(),
|
|
3546
|
+
exportValue: zod.z.any().optional(),
|
|
3547
|
+
default: zod.z.any().optional(),
|
|
3548
|
+
defaultUnifiedValue: zod.z.any().optional(),
|
|
3549
|
+
defaultValue: zod.z.any().optional(),
|
|
3550
|
+
appSchema: DataSchema.optional(),
|
|
3551
|
+
});
|
|
3552
|
+
|
|
3549
3553
|
exports.ActionType = void 0;
|
|
3550
3554
|
(function (ActionType) {
|
|
3551
3555
|
ActionType["ListDataRecords"] = "list-data-records";
|
|
@@ -8355,7 +8359,21 @@ const DEFAULT_PULL_UPDATES_INTERVAL_SECONDS = 60 * 5;
|
|
|
8355
8359
|
const DEFAULT_FULL_SYNC_INTERVAL_SECONDS = 60 * 60 * 3;
|
|
8356
8360
|
const MIN_FULL_SYNC_INTERVAL_SECONDS = 1 * 60;
|
|
8357
8361
|
const MIN_PULL_UPDATES_INTERVAL_SECONDS = 1 * 60;
|
|
8358
|
-
|
|
8362
|
+
const DataSourceEditableProperties = BaseIntegrationLevelMembraneInterfaceEditableProperties.omit({
|
|
8363
|
+
parentId: true,
|
|
8364
|
+
}).extend({
|
|
8365
|
+
universalDataSourceId: zod.z.string().optional(),
|
|
8366
|
+
udm: zod.z.string().optional(),
|
|
8367
|
+
pullUpdatesIntervalSeconds: zod.z.number().optional(),
|
|
8368
|
+
fullSyncIntervalSeconds: zod.z.number().optional(),
|
|
8369
|
+
collectionKey: zod.z.string().optional(),
|
|
8370
|
+
collectionParameters: zod.z.any().optional(),
|
|
8371
|
+
defaultPath: zod.z.string().optional(),
|
|
8372
|
+
});
|
|
8373
|
+
const DataSourceReadOnlyProperties = BaseIntegrationLevelMembraneInterfaceReadOnlyProperties.extend({
|
|
8374
|
+
universalDataSourceRevision: zod.z.string().optional(),
|
|
8375
|
+
});
|
|
8376
|
+
const BaseDataSource = BaseMembraneInterface.merge(DataSourceEditableProperties).merge(DataSourceReadOnlyProperties);
|
|
8359
8377
|
const DataSourceUnitConfig = zod.z.object({
|
|
8360
8378
|
key: zod.z.string().optional(),
|
|
8361
8379
|
collectionKey: zod.z.any().optional(),
|
|
@@ -8365,17 +8383,6 @@ const DataSourceUnitConfig = zod.z.object({
|
|
|
8365
8383
|
pullUpdatesIntervalSeconds: zod.z.number().optional(),
|
|
8366
8384
|
fullSyncIntervalSeconds: zod.z.number().optional(),
|
|
8367
8385
|
});
|
|
8368
|
-
const BaseDataSource = BaseIntegrationLevelMembraneInterface.extend({
|
|
8369
|
-
publishedRevision: zod.z.string().optional(),
|
|
8370
|
-
universalDataSourceId: zod.z.string().optional(),
|
|
8371
|
-
universalDataSourceRevision: zod.z.string().optional(),
|
|
8372
|
-
udm: zod.z.string().optional(),
|
|
8373
|
-
pullUpdatesIntervalSeconds: zod.z.number().optional(),
|
|
8374
|
-
fullSyncIntervalSeconds: zod.z.number().optional(),
|
|
8375
|
-
collectionKey: zod.z.string().optional(),
|
|
8376
|
-
collectionParameters: zod.z.any().optional(),
|
|
8377
|
-
defaultPath: zod.z.string().optional(),
|
|
8378
|
-
});
|
|
8379
8386
|
|
|
8380
8387
|
const BaseDataSourceInstance = BaseMembraneInterface.extend({
|
|
8381
8388
|
userId: zod.z.string(),
|
|
@@ -8548,6 +8555,26 @@ const FlowNodeRunRecordWithoutOutputsDataSchema = zod.z.object({
|
|
|
8548
8555
|
errors: zod.z.array(ErrorDataSchema),
|
|
8549
8556
|
});
|
|
8550
8557
|
|
|
8558
|
+
const FlowNodeLink = zod.z.object({
|
|
8559
|
+
key: zod.z.string().optional(),
|
|
8560
|
+
filter: zod.z.any().optional(),
|
|
8561
|
+
name: zod.z.string().optional(),
|
|
8562
|
+
});
|
|
8563
|
+
const FlowNode = zod.z.object({
|
|
8564
|
+
type: zod.z.string().optional(),
|
|
8565
|
+
version: zod.z.number().optional(),
|
|
8566
|
+
name: zod.z.string().optional(),
|
|
8567
|
+
description: zod.z.string().optional(),
|
|
8568
|
+
config: zod.z.any().optional(),
|
|
8569
|
+
concurrency: zod.z.number().optional(),
|
|
8570
|
+
onError: zod.z.enum(['stop', 'continue']).optional(),
|
|
8571
|
+
ui: zod.z.any().optional(),
|
|
8572
|
+
inputSchema: zod.z.any().optional(),
|
|
8573
|
+
outputSchema: zod.z.any().optional(),
|
|
8574
|
+
outputExample: zod.z.any().optional(),
|
|
8575
|
+
links: zod.z.array(FlowNodeLink).optional(),
|
|
8576
|
+
isCustomized: zod.z.boolean().optional(),
|
|
8577
|
+
});
|
|
8551
8578
|
class FlowNodeSpec {
|
|
8552
8579
|
constructor(args) {
|
|
8553
8580
|
Object.assign(this, args);
|
|
@@ -8821,33 +8848,19 @@ const FLOW_NODE_SPECS = {
|
|
|
8821
8848
|
[exports.FlowNodeType.RunAction]: RunAction,
|
|
8822
8849
|
};
|
|
8823
8850
|
|
|
8824
|
-
const
|
|
8825
|
-
|
|
8826
|
-
|
|
8827
|
-
|
|
8828
|
-
});
|
|
8829
|
-
const FlowNode = zod.z.object({
|
|
8830
|
-
type: zod.z.string().optional(),
|
|
8831
|
-
version: zod.z.number().optional(),
|
|
8832
|
-
name: zod.z.string().optional(),
|
|
8833
|
-
description: zod.z.string().optional(),
|
|
8834
|
-
config: zod.z.any().optional(),
|
|
8835
|
-
concurrency: zod.z.number().optional(),
|
|
8836
|
-
onError: zod.z.enum(['stop', 'continue']).optional(),
|
|
8837
|
-
ui: zod.z.any().optional(),
|
|
8838
|
-
inputSchema: zod.z.any().optional(),
|
|
8839
|
-
outputSchema: zod.z.any().optional(),
|
|
8840
|
-
outputExample: zod.z.any().optional(),
|
|
8841
|
-
links: zod.z.array(FlowNodeLink).optional(),
|
|
8842
|
-
isCustomized: zod.z.boolean().optional(),
|
|
8843
|
-
});
|
|
8844
|
-
const BaseFlow = BaseIntegrationLevelMembraneInterface.extend({
|
|
8851
|
+
const FlowEditableProperties = BaseIntegrationLevelMembraneInterfaceEditableProperties.omit({
|
|
8852
|
+
parentId: true,
|
|
8853
|
+
}).extend({
|
|
8854
|
+
integrationId: zod.z.string().optional(),
|
|
8845
8855
|
universalFlowId: zod.z.string().optional(),
|
|
8846
|
-
universalFlowRevision: zod.z.string().optional(),
|
|
8847
8856
|
parametersSchema: DataSchema.optional(),
|
|
8848
8857
|
nodes: zod.z.record(FlowNode).optional(),
|
|
8849
8858
|
autoCreateInstances: zod.z.boolean().optional(),
|
|
8850
8859
|
});
|
|
8860
|
+
const FlowReadOnlyProperties = BaseIntegrationLevelMembraneInterfaceReadOnlyProperties.extend({
|
|
8861
|
+
universalFlowRevision: zod.z.string().optional(),
|
|
8862
|
+
});
|
|
8863
|
+
const BaseFlow = BaseMembraneInterface.merge(FlowEditableProperties).merge(FlowReadOnlyProperties);
|
|
8851
8864
|
|
|
8852
8865
|
const BaseIntegration = BaseMembraneInterface.extend({
|
|
8853
8866
|
logoUri: zod.z.string(),
|
|
@@ -9437,36 +9450,19 @@ const ConnectionMessagePayload = zod.z.discriminatedUnion('type', [
|
|
|
9437
9450
|
}),
|
|
9438
9451
|
]);
|
|
9439
9452
|
|
|
9440
|
-
const
|
|
9441
|
-
.
|
|
9442
|
-
|
|
9443
|
-
})
|
|
9444
|
-
.merge(PaginationQuery);
|
|
9445
|
-
const FindDataSourcesQuery = ListDataSourcesForIntegrationQuery.extend({
|
|
9446
|
-
integrationId: zod.z.string().optional(),
|
|
9453
|
+
const DataSourceApiResponse = BaseDataSource.extend({
|
|
9454
|
+
integration: BaseIntegration.optional(),
|
|
9455
|
+
appliedToIntegrations: AppliedToIntegrations(BaseDataSource).optional(),
|
|
9447
9456
|
});
|
|
9448
|
-
const
|
|
9449
|
-
key: zod.z.string(),
|
|
9450
|
-
name: zod.z.string(),
|
|
9457
|
+
const FindDataSourcesQuery = PaginationQuery.extend({
|
|
9451
9458
|
integrationId: zod.z.string().optional(),
|
|
9452
|
-
|
|
9453
|
-
|
|
9454
|
-
|
|
9455
|
-
|
|
9456
|
-
defaultPath: zod.z.string().optional(),
|
|
9457
|
-
collectionKey: zod.z.string().optional(),
|
|
9458
|
-
collectionParameters: zod.z.any().optional(),
|
|
9459
|
-
});
|
|
9460
|
-
const UpdateDataSourceRequest = zod.z.object({
|
|
9461
|
-
key: zod.z.string().optional(),
|
|
9462
|
-
name: zod.z.string().optional(),
|
|
9463
|
-
archivedAt: zod.z.string().optional(),
|
|
9464
|
-
udm: zod.z.string().optional(),
|
|
9465
|
-
pullUpdatesIntervalSeconds: zod.z.number().optional(),
|
|
9466
|
-
fullSyncIntervalSeconds: zod.z.number().optional(),
|
|
9467
|
-
rootPath: zod.z.string().optional(),
|
|
9468
|
-
defaultPath: zod.z.string().optional(),
|
|
9459
|
+
integrationKey: zod.z.string().optional(),
|
|
9460
|
+
universalDataSourceId: zod.z.string().optional(),
|
|
9461
|
+
search: zod.z.string().optional(),
|
|
9462
|
+
includeArchived: zodBooleanCoercion().optional(),
|
|
9469
9463
|
});
|
|
9464
|
+
const CreateDataSourceRequest = DataSourceEditableProperties;
|
|
9465
|
+
const UpdateDataSourceRequest = CreateDataSourceRequest.extend({}).partial();
|
|
9470
9466
|
const FindDataSourceInstancesQuery = zod.z
|
|
9471
9467
|
.object({
|
|
9472
9468
|
userId: zod.z.string().optional(),
|
|
@@ -9526,10 +9522,6 @@ const FindDataSourceInstanceSyncsQuery = ListDataSourceInstancesForConnectionQue
|
|
|
9526
9522
|
integrationId: zod.z.string().optional(),
|
|
9527
9523
|
dataSourceInstanceId: zod.z.string().optional(),
|
|
9528
9524
|
});
|
|
9529
|
-
const DataSourceApiResponse = BaseDataSource.extend({
|
|
9530
|
-
integration: BaseIntegration.optional(),
|
|
9531
|
-
appliedToIntegrations: AppliedToIntegrations(BaseDataSource).optional(),
|
|
9532
|
-
});
|
|
9533
9525
|
|
|
9534
9526
|
const DataSourceInstanceApiResponse = BaseDataSourceInstance.extend({
|
|
9535
9527
|
user: BaseCustomer.optional(),
|
|
@@ -9542,31 +9534,25 @@ const ExternalEvent = BaseExternalEvent.extend({
|
|
|
9542
9534
|
appliedToIntegrations: AppliedToIntegrations(BaseExternalEvent).optional(),
|
|
9543
9535
|
});
|
|
9544
9536
|
|
|
9545
|
-
const
|
|
9546
|
-
.
|
|
9547
|
-
|
|
9548
|
-
|
|
9549
|
-
|
|
9550
|
-
|
|
9551
|
-
|
|
9552
|
-
})
|
|
9553
|
-
|
|
9554
|
-
type: zod.z.string(),
|
|
9555
|
-
config: zod.z.any().optional(),
|
|
9556
|
-
ui: zod.z.any().optional(),
|
|
9557
|
-
links: zod.z.array(zod.z.lazy(() => zod.z.any())).optional(),
|
|
9537
|
+
const FlowApiResponse = BaseFlow.extend({
|
|
9538
|
+
integration: BaseIntegration.optional(),
|
|
9539
|
+
appliedToIntegrations: AppliedToIntegrations(zod.z.object({
|
|
9540
|
+
id: zod.z.string(),
|
|
9541
|
+
integrationId: zod.z.string().optional(),
|
|
9542
|
+
isCustomized: zod.z.boolean().optional(),
|
|
9543
|
+
universalFlowId: zod.z.string().optional(),
|
|
9544
|
+
})).optional(),
|
|
9545
|
+
dependencies: zod.z.array(zod.z.any()).optional(),
|
|
9558
9546
|
});
|
|
9559
|
-
const
|
|
9560
|
-
key: zod.z.string(),
|
|
9561
|
-
name: zod.z.string(),
|
|
9547
|
+
const FindFlowsQuery = PaginationQuery.extend({
|
|
9562
9548
|
integrationId: zod.z.string().optional(),
|
|
9563
|
-
|
|
9564
|
-
|
|
9565
|
-
|
|
9566
|
-
|
|
9567
|
-
const UpdateFlowRequest = CreateFlowRequest.extend({
|
|
9568
|
-
archivedAt: zod.z.string().optional(),
|
|
9549
|
+
integrationKey: zod.z.string().optional(),
|
|
9550
|
+
universalFlowId: zod.z.string().optional(),
|
|
9551
|
+
search: zod.z.string().optional(),
|
|
9552
|
+
includeArchived: zodBooleanCoercion().optional(),
|
|
9569
9553
|
});
|
|
9554
|
+
const CreateFlowRequest = FlowEditableProperties;
|
|
9555
|
+
const UpdateFlowRequest = CreateFlowRequest.extend({}).partial();
|
|
9570
9556
|
const ListFlowInstancesForConnectionQuery = zod.z
|
|
9571
9557
|
.object({
|
|
9572
9558
|
flowId: zod.z.string().optional(),
|
|
@@ -9586,22 +9572,18 @@ const RunFlowOptions = zod.z.object({
|
|
|
9586
9572
|
returnImmediately: zod.z.boolean().optional(),
|
|
9587
9573
|
onUpdate: zod.z.function().optional(),
|
|
9588
9574
|
});
|
|
9589
|
-
const FlowApiResponse = BaseFlow.extend({
|
|
9590
|
-
integration: BaseIntegration.optional(),
|
|
9591
|
-
appliedToIntegrations: AppliedToIntegrations(zod.z.object({
|
|
9592
|
-
id: zod.z.string(),
|
|
9593
|
-
integrationId: zod.z.string().optional(),
|
|
9594
|
-
isCustomized: zod.z.boolean().optional(),
|
|
9595
|
-
universalFlowId: zod.z.string().optional(),
|
|
9596
|
-
})).optional(),
|
|
9597
|
-
dependencies: zod.z.array(zod.z.any()).optional(),
|
|
9598
|
-
});
|
|
9599
9575
|
const FlowInstanceApiResponse = BaseFlowInstance.extend({
|
|
9600
9576
|
user: zod.z.lazy(() => zod.z.any()).optional(),
|
|
9601
9577
|
connection: zod.z.lazy(() => zod.z.any()).optional(),
|
|
9602
9578
|
flow: zod.z.lazy(() => FlowApiResponse).optional(),
|
|
9603
9579
|
integration: zod.z.lazy(() => zod.z.any()).optional(),
|
|
9604
9580
|
});
|
|
9581
|
+
const CreateFlowNodeRequest = zod.z.object({
|
|
9582
|
+
type: zod.z.string(),
|
|
9583
|
+
config: zod.z.any().optional(),
|
|
9584
|
+
ui: zod.z.any().optional(),
|
|
9585
|
+
links: zod.z.array(zod.z.lazy(() => zod.z.any())).optional(),
|
|
9586
|
+
});
|
|
9605
9587
|
|
|
9606
9588
|
const CreateFlowRunRequest = zod.z.object({
|
|
9607
9589
|
flowInstanceId: zod.z.string(),
|
|
@@ -9939,6 +9921,15 @@ const FieldMappingApiResponse = BaseFieldMapping.extend({
|
|
|
9939
9921
|
integration: BaseIntegration.optional(),
|
|
9940
9922
|
appliedToIntegrations: AppliedToIntegrations(BaseFieldMapping).optional(),
|
|
9941
9923
|
});
|
|
9924
|
+
const FindFieldMappingsQuery = PaginationQuery.extend({
|
|
9925
|
+
integrationId: zod.z.string().optional(),
|
|
9926
|
+
integrationKey: zod.z.string().optional(),
|
|
9927
|
+
universalFieldMappingId: zod.z.string().optional(),
|
|
9928
|
+
search: zod.z.string().optional(),
|
|
9929
|
+
includeArchived: zodBooleanCoercion().optional(),
|
|
9930
|
+
});
|
|
9931
|
+
const CreateFieldMappingRequest = FieldMappingEditableProperties;
|
|
9932
|
+
const UpdateFieldMappingRequest = CreateFieldMappingRequest.extend({}).partial();
|
|
9942
9933
|
|
|
9943
9934
|
const FieldMappingInstanceApiResponse = BaseFieldMappingInstance.extend({
|
|
9944
9935
|
user: BaseCustomer.optional(),
|
|
@@ -12990,6 +12981,7 @@ exports.CreateConnectionRequest = CreateConnectionRequest;
|
|
|
12990
12981
|
exports.CreateCustomerRequest = CreateCustomerRequest;
|
|
12991
12982
|
exports.CreateDataSourceInstanceRequest = CreateDataSourceInstanceRequest;
|
|
12992
12983
|
exports.CreateDataSourceRequest = CreateDataSourceRequest;
|
|
12984
|
+
exports.CreateFieldMappingRequest = CreateFieldMappingRequest;
|
|
12993
12985
|
exports.CreateFlowNodeRequest = CreateFlowNodeRequest;
|
|
12994
12986
|
exports.CreateFlowRequest = CreateFlowRequest;
|
|
12995
12987
|
exports.CreateFlowRunRequest = CreateFlowRunRequest;
|
|
@@ -13053,6 +13045,7 @@ exports.DataRecordSchema = DataRecordSchema;
|
|
|
13053
13045
|
exports.DataSchema = DataSchema;
|
|
13054
13046
|
exports.DataSourceAccessor = DataSourceAccessor;
|
|
13055
13047
|
exports.DataSourceApiResponse = DataSourceApiResponse;
|
|
13048
|
+
exports.DataSourceEditableProperties = DataSourceEditableProperties;
|
|
13056
13049
|
exports.DataSourceInstanceAccessor = DataSourceInstanceAccessor;
|
|
13057
13050
|
exports.DataSourceInstanceApiResponse = DataSourceInstanceApiResponse;
|
|
13058
13051
|
exports.DataSourceInstancesAccessor = DataSourceInstancesAccessor;
|
|
@@ -13079,6 +13072,7 @@ exports.ExternalEventUnitConfig = ExternalEventUnitConfig;
|
|
|
13079
13072
|
exports.FLOW_NODE_SPECS = FLOW_NODE_SPECS;
|
|
13080
13073
|
exports.FieldMappingAccessor = FieldMappingAccessor;
|
|
13081
13074
|
exports.FieldMappingApiResponse = FieldMappingApiResponse;
|
|
13075
|
+
exports.FieldMappingEditableProperties = FieldMappingEditableProperties;
|
|
13082
13076
|
exports.FieldMappingInstanceAccessor = FieldMappingInstanceAccessor;
|
|
13083
13077
|
exports.FieldMappingInstanceApiResponse = FieldMappingInstanceApiResponse;
|
|
13084
13078
|
exports.FieldMappingInstancesAccessor = FieldMappingInstancesAccessor;
|
|
@@ -13094,6 +13088,7 @@ exports.FindDataSourceInstanceSyncsQuery = FindDataSourceInstanceSyncsQuery;
|
|
|
13094
13088
|
exports.FindDataSourceInstancesQuery = FindDataSourceInstancesQuery;
|
|
13095
13089
|
exports.FindDataSourceSyncsQuery = FindDataSourceSyncsQuery;
|
|
13096
13090
|
exports.FindDataSourcesQuery = FindDataSourcesQuery;
|
|
13091
|
+
exports.FindFieldMappingsQuery = FindFieldMappingsQuery;
|
|
13097
13092
|
exports.FindFlowInstancesQuery = FindFlowInstancesQuery;
|
|
13098
13093
|
exports.FindFlowRunsQuery = FindFlowRunsQuery;
|
|
13099
13094
|
exports.FindFlowRunsResponse = FindFlowRunsResponse;
|
|
@@ -13102,6 +13097,7 @@ exports.FindIntegrationsQuery = FindIntegrationsQuery;
|
|
|
13102
13097
|
exports.FindScenariosQuery = FindScenariosQuery;
|
|
13103
13098
|
exports.FlowAccessor = FlowAccessor;
|
|
13104
13099
|
exports.FlowApiResponse = FlowApiResponse;
|
|
13100
|
+
exports.FlowEditableProperties = FlowEditableProperties;
|
|
13105
13101
|
exports.FlowInstanceAccessor = FlowInstanceAccessor;
|
|
13106
13102
|
exports.FlowInstanceApiResponse = FlowInstanceApiResponse;
|
|
13107
13103
|
exports.FlowInstanceNode = FlowInstanceNode;
|
|
@@ -13148,11 +13144,9 @@ exports.InternalError = InternalError;
|
|
|
13148
13144
|
exports.InvalidLocatorError = InvalidLocatorError;
|
|
13149
13145
|
exports.ListActionInstancesForConnectionQuery = ListActionInstancesForConnectionQuery;
|
|
13150
13146
|
exports.ListDataSourceInstancesForConnectionQuery = ListDataSourceInstancesForConnectionQuery;
|
|
13151
|
-
exports.ListDataSourcesForIntegrationQuery = ListDataSourcesForIntegrationQuery;
|
|
13152
13147
|
exports.ListExternalEventLogRecordsQuery = ListExternalEventLogRecordsQuery;
|
|
13153
13148
|
exports.ListExternalEventPullsQuery = ListExternalEventPullsQuery;
|
|
13154
13149
|
exports.ListFlowInstancesForConnectionQuery = ListFlowInstancesForConnectionQuery;
|
|
13155
|
-
exports.ListFlowsForIntegrationQuery = ListFlowsForIntegrationQuery;
|
|
13156
13150
|
exports.MIN_FULL_SYNC_INTERVAL_SECONDS = MIN_FULL_SYNC_INTERVAL_SECONDS;
|
|
13157
13151
|
exports.MIN_PULL_UPDATES_INTERVAL_SECONDS = MIN_PULL_UPDATES_INTERVAL_SECONDS;
|
|
13158
13152
|
exports.MembraneClient = MembraneClient;
|
|
@@ -13194,6 +13188,7 @@ exports.UpdateConnectionRequest = UpdateConnectionRequest;
|
|
|
13194
13188
|
exports.UpdateCustomerRequest = UpdateCustomerRequest;
|
|
13195
13189
|
exports.UpdateDataSourceInstanceRequest = UpdateDataSourceInstanceRequest;
|
|
13196
13190
|
exports.UpdateDataSourceRequest = UpdateDataSourceRequest;
|
|
13191
|
+
exports.UpdateFieldMappingRequest = UpdateFieldMappingRequest;
|
|
13197
13192
|
exports.UpdateFlowRequest = UpdateFlowRequest;
|
|
13198
13193
|
exports.UpdateIntegrationRequest = UpdateIntegrationRequest;
|
|
13199
13194
|
exports.UpstreamFlowNodeRunSchema = UpstreamFlowNodeRunSchema;
|