@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.browser.js
CHANGED
|
@@ -3458,40 +3458,6 @@ const BaseIntegrationLevelMembraneInterfaceReadOnlyProperties = BaseMembraneInte
|
|
|
3458
3458
|
});
|
|
3459
3459
|
const BaseIntegrationLevelMembraneInterface = BaseMembraneInterface.merge(BaseIntegrationLevelMembraneInterfaceEditableProperties).merge(BaseIntegrationLevelMembraneInterfaceReadOnlyProperties);
|
|
3460
3460
|
|
|
3461
|
-
exports.FieldMappingDirection = void 0;
|
|
3462
|
-
(function (FieldMappingDirection) {
|
|
3463
|
-
FieldMappingDirection["IMPORT"] = "import";
|
|
3464
|
-
FieldMappingDirection["EXPORT"] = "export";
|
|
3465
|
-
FieldMappingDirection["BOTH"] = "both";
|
|
3466
|
-
})(exports.FieldMappingDirection || (exports.FieldMappingDirection = {}));
|
|
3467
|
-
const BaseFieldMapping = BaseIntegrationLevelMembraneInterface.extend({
|
|
3468
|
-
publishedRevision: zod.z.string().optional(),
|
|
3469
|
-
universalFieldMappingId: zod.z.string().optional(),
|
|
3470
|
-
universalFieldMappingRevision: zod.z.string().optional(),
|
|
3471
|
-
dataSourceId: zod.z.string().optional(),
|
|
3472
|
-
dataSourceKey: zod.z.string().optional(),
|
|
3473
|
-
appSchema: DataSchema.optional(),
|
|
3474
|
-
direction: zod.z.nativeEnum(exports.FieldMappingDirection).optional(),
|
|
3475
|
-
defaultImportValue: zod.z.any().optional(),
|
|
3476
|
-
defaultExportValue: zod.z.any().optional(),
|
|
3477
|
-
importValue: zod.z.any().optional(),
|
|
3478
|
-
exportValue: zod.z.any().optional(),
|
|
3479
|
-
frozenImportFields: zod.z.any().optional(),
|
|
3480
|
-
frozenExportFields: zod.z.any().optional(),
|
|
3481
|
-
frozenUnifiedExportFields: zod.z.any().optional(),
|
|
3482
|
-
});
|
|
3483
|
-
const FieldMappingUnitConfig = zod.z.object({
|
|
3484
|
-
key: zod.z.string().optional(),
|
|
3485
|
-
input: zod.z.any().optional(),
|
|
3486
|
-
includeRawFields: zod.z.any().optional(),
|
|
3487
|
-
importValue: zod.z.any().optional(),
|
|
3488
|
-
exportValue: zod.z.any().optional(),
|
|
3489
|
-
default: zod.z.any().optional(),
|
|
3490
|
-
defaultUnifiedValue: zod.z.any().optional(),
|
|
3491
|
-
defaultValue: zod.z.any().optional(),
|
|
3492
|
-
appSchema: DataSchema.optional(),
|
|
3493
|
-
});
|
|
3494
|
-
|
|
3495
3461
|
function mergeWithFormulas(a, b) {
|
|
3496
3462
|
if (Array.isArray(a) && Array.isArray(b)) {
|
|
3497
3463
|
const length = Math.max(a.length, b.length);
|
|
@@ -3522,6 +3488,44 @@ function isObject(value) {
|
|
|
3522
3488
|
!(value instanceof Boolean));
|
|
3523
3489
|
}
|
|
3524
3490
|
|
|
3491
|
+
exports.FieldMappingDirection = void 0;
|
|
3492
|
+
(function (FieldMappingDirection) {
|
|
3493
|
+
FieldMappingDirection["IMPORT"] = "import";
|
|
3494
|
+
FieldMappingDirection["EXPORT"] = "export";
|
|
3495
|
+
FieldMappingDirection["BOTH"] = "both";
|
|
3496
|
+
})(exports.FieldMappingDirection || (exports.FieldMappingDirection = {}));
|
|
3497
|
+
const FieldMappingEditableProperties = BaseIntegrationLevelMembraneInterfaceEditableProperties.omit({
|
|
3498
|
+
parentId: true,
|
|
3499
|
+
}).extend({
|
|
3500
|
+
universalFieldMappingId: zod.z.string().optional(),
|
|
3501
|
+
dataSourceKey: zod.z.string().optional(),
|
|
3502
|
+
dataSourceId: zod.z.string().optional(),
|
|
3503
|
+
appSchema: DataSchema.optional(),
|
|
3504
|
+
direction: zod.z.nativeEnum(exports.FieldMappingDirection).optional(),
|
|
3505
|
+
defaultImportValue: zod.z.any().optional(),
|
|
3506
|
+
defaultExportValue: zod.z.any().optional(),
|
|
3507
|
+
importValue: zod.z.any().optional(),
|
|
3508
|
+
exportValue: zod.z.any().optional(),
|
|
3509
|
+
frozenImportFields: zod.z.any().optional(),
|
|
3510
|
+
frozenExportFields: zod.z.any().optional(),
|
|
3511
|
+
frozenUnifiedExportFields: zod.z.any().optional(),
|
|
3512
|
+
});
|
|
3513
|
+
const FieldMappingReadOnlyProperties = BaseIntegrationLevelMembraneInterfaceReadOnlyProperties.extend({
|
|
3514
|
+
universalFieldMappingRevision: zod.z.string().optional(),
|
|
3515
|
+
});
|
|
3516
|
+
const BaseFieldMapping = BaseMembraneInterface.merge(FieldMappingEditableProperties).merge(FieldMappingReadOnlyProperties);
|
|
3517
|
+
const FieldMappingUnitConfig = zod.z.object({
|
|
3518
|
+
key: zod.z.string().optional(),
|
|
3519
|
+
input: zod.z.any().optional(),
|
|
3520
|
+
includeRawFields: zod.z.any().optional(),
|
|
3521
|
+
importValue: zod.z.any().optional(),
|
|
3522
|
+
exportValue: zod.z.any().optional(),
|
|
3523
|
+
default: zod.z.any().optional(),
|
|
3524
|
+
defaultUnifiedValue: zod.z.any().optional(),
|
|
3525
|
+
defaultValue: zod.z.any().optional(),
|
|
3526
|
+
appSchema: DataSchema.optional(),
|
|
3527
|
+
});
|
|
3528
|
+
|
|
3525
3529
|
exports.ActionType = void 0;
|
|
3526
3530
|
(function (ActionType) {
|
|
3527
3531
|
ActionType["ListDataRecords"] = "list-data-records";
|
|
@@ -8331,7 +8335,21 @@ const DEFAULT_PULL_UPDATES_INTERVAL_SECONDS = 60 * 5;
|
|
|
8331
8335
|
const DEFAULT_FULL_SYNC_INTERVAL_SECONDS = 60 * 60 * 3;
|
|
8332
8336
|
const MIN_FULL_SYNC_INTERVAL_SECONDS = 1 * 60;
|
|
8333
8337
|
const MIN_PULL_UPDATES_INTERVAL_SECONDS = 1 * 60;
|
|
8334
|
-
|
|
8338
|
+
const DataSourceEditableProperties = BaseIntegrationLevelMembraneInterfaceEditableProperties.omit({
|
|
8339
|
+
parentId: true,
|
|
8340
|
+
}).extend({
|
|
8341
|
+
universalDataSourceId: zod.z.string().optional(),
|
|
8342
|
+
udm: zod.z.string().optional(),
|
|
8343
|
+
pullUpdatesIntervalSeconds: zod.z.number().optional(),
|
|
8344
|
+
fullSyncIntervalSeconds: zod.z.number().optional(),
|
|
8345
|
+
collectionKey: zod.z.string().optional(),
|
|
8346
|
+
collectionParameters: zod.z.any().optional(),
|
|
8347
|
+
defaultPath: zod.z.string().optional(),
|
|
8348
|
+
});
|
|
8349
|
+
const DataSourceReadOnlyProperties = BaseIntegrationLevelMembraneInterfaceReadOnlyProperties.extend({
|
|
8350
|
+
universalDataSourceRevision: zod.z.string().optional(),
|
|
8351
|
+
});
|
|
8352
|
+
const BaseDataSource = BaseMembraneInterface.merge(DataSourceEditableProperties).merge(DataSourceReadOnlyProperties);
|
|
8335
8353
|
const DataSourceUnitConfig = zod.z.object({
|
|
8336
8354
|
key: zod.z.string().optional(),
|
|
8337
8355
|
collectionKey: zod.z.any().optional(),
|
|
@@ -8341,17 +8359,6 @@ const DataSourceUnitConfig = zod.z.object({
|
|
|
8341
8359
|
pullUpdatesIntervalSeconds: zod.z.number().optional(),
|
|
8342
8360
|
fullSyncIntervalSeconds: zod.z.number().optional(),
|
|
8343
8361
|
});
|
|
8344
|
-
const BaseDataSource = BaseIntegrationLevelMembraneInterface.extend({
|
|
8345
|
-
publishedRevision: zod.z.string().optional(),
|
|
8346
|
-
universalDataSourceId: zod.z.string().optional(),
|
|
8347
|
-
universalDataSourceRevision: zod.z.string().optional(),
|
|
8348
|
-
udm: zod.z.string().optional(),
|
|
8349
|
-
pullUpdatesIntervalSeconds: zod.z.number().optional(),
|
|
8350
|
-
fullSyncIntervalSeconds: zod.z.number().optional(),
|
|
8351
|
-
collectionKey: zod.z.string().optional(),
|
|
8352
|
-
collectionParameters: zod.z.any().optional(),
|
|
8353
|
-
defaultPath: zod.z.string().optional(),
|
|
8354
|
-
});
|
|
8355
8362
|
|
|
8356
8363
|
const BaseDataSourceInstance = BaseMembraneInterface.extend({
|
|
8357
8364
|
userId: zod.z.string(),
|
|
@@ -8524,6 +8531,26 @@ const FlowNodeRunRecordWithoutOutputsDataSchema = zod.z.object({
|
|
|
8524
8531
|
errors: zod.z.array(ErrorDataSchema),
|
|
8525
8532
|
});
|
|
8526
8533
|
|
|
8534
|
+
const FlowNodeLink = zod.z.object({
|
|
8535
|
+
key: zod.z.string().optional(),
|
|
8536
|
+
filter: zod.z.any().optional(),
|
|
8537
|
+
name: zod.z.string().optional(),
|
|
8538
|
+
});
|
|
8539
|
+
const FlowNode = zod.z.object({
|
|
8540
|
+
type: zod.z.string().optional(),
|
|
8541
|
+
version: zod.z.number().optional(),
|
|
8542
|
+
name: zod.z.string().optional(),
|
|
8543
|
+
description: zod.z.string().optional(),
|
|
8544
|
+
config: zod.z.any().optional(),
|
|
8545
|
+
concurrency: zod.z.number().optional(),
|
|
8546
|
+
onError: zod.z.enum(['stop', 'continue']).optional(),
|
|
8547
|
+
ui: zod.z.any().optional(),
|
|
8548
|
+
inputSchema: zod.z.any().optional(),
|
|
8549
|
+
outputSchema: zod.z.any().optional(),
|
|
8550
|
+
outputExample: zod.z.any().optional(),
|
|
8551
|
+
links: zod.z.array(FlowNodeLink).optional(),
|
|
8552
|
+
isCustomized: zod.z.boolean().optional(),
|
|
8553
|
+
});
|
|
8527
8554
|
class FlowNodeSpec {
|
|
8528
8555
|
constructor(args) {
|
|
8529
8556
|
Object.assign(this, args);
|
|
@@ -8797,33 +8824,19 @@ const FLOW_NODE_SPECS = {
|
|
|
8797
8824
|
[exports.FlowNodeType.RunAction]: RunAction,
|
|
8798
8825
|
};
|
|
8799
8826
|
|
|
8800
|
-
const
|
|
8801
|
-
|
|
8802
|
-
|
|
8803
|
-
|
|
8804
|
-
});
|
|
8805
|
-
const FlowNode = zod.z.object({
|
|
8806
|
-
type: zod.z.string().optional(),
|
|
8807
|
-
version: zod.z.number().optional(),
|
|
8808
|
-
name: zod.z.string().optional(),
|
|
8809
|
-
description: zod.z.string().optional(),
|
|
8810
|
-
config: zod.z.any().optional(),
|
|
8811
|
-
concurrency: zod.z.number().optional(),
|
|
8812
|
-
onError: zod.z.enum(['stop', 'continue']).optional(),
|
|
8813
|
-
ui: zod.z.any().optional(),
|
|
8814
|
-
inputSchema: zod.z.any().optional(),
|
|
8815
|
-
outputSchema: zod.z.any().optional(),
|
|
8816
|
-
outputExample: zod.z.any().optional(),
|
|
8817
|
-
links: zod.z.array(FlowNodeLink).optional(),
|
|
8818
|
-
isCustomized: zod.z.boolean().optional(),
|
|
8819
|
-
});
|
|
8820
|
-
const BaseFlow = BaseIntegrationLevelMembraneInterface.extend({
|
|
8827
|
+
const FlowEditableProperties = BaseIntegrationLevelMembraneInterfaceEditableProperties.omit({
|
|
8828
|
+
parentId: true,
|
|
8829
|
+
}).extend({
|
|
8830
|
+
integrationId: zod.z.string().optional(),
|
|
8821
8831
|
universalFlowId: zod.z.string().optional(),
|
|
8822
|
-
universalFlowRevision: zod.z.string().optional(),
|
|
8823
8832
|
parametersSchema: DataSchema.optional(),
|
|
8824
8833
|
nodes: zod.z.record(FlowNode).optional(),
|
|
8825
8834
|
autoCreateInstances: zod.z.boolean().optional(),
|
|
8826
8835
|
});
|
|
8836
|
+
const FlowReadOnlyProperties = BaseIntegrationLevelMembraneInterfaceReadOnlyProperties.extend({
|
|
8837
|
+
universalFlowRevision: zod.z.string().optional(),
|
|
8838
|
+
});
|
|
8839
|
+
const BaseFlow = BaseMembraneInterface.merge(FlowEditableProperties).merge(FlowReadOnlyProperties);
|
|
8827
8840
|
|
|
8828
8841
|
const BaseIntegration = BaseMembraneInterface.extend({
|
|
8829
8842
|
logoUri: zod.z.string(),
|
|
@@ -9413,36 +9426,19 @@ const ConnectionMessagePayload = zod.z.discriminatedUnion('type', [
|
|
|
9413
9426
|
}),
|
|
9414
9427
|
]);
|
|
9415
9428
|
|
|
9416
|
-
const
|
|
9417
|
-
.
|
|
9418
|
-
|
|
9419
|
-
})
|
|
9420
|
-
.merge(PaginationQuery);
|
|
9421
|
-
const FindDataSourcesQuery = ListDataSourcesForIntegrationQuery.extend({
|
|
9422
|
-
integrationId: zod.z.string().optional(),
|
|
9429
|
+
const DataSourceApiResponse = BaseDataSource.extend({
|
|
9430
|
+
integration: BaseIntegration.optional(),
|
|
9431
|
+
appliedToIntegrations: AppliedToIntegrations(BaseDataSource).optional(),
|
|
9423
9432
|
});
|
|
9424
|
-
const
|
|
9425
|
-
key: zod.z.string(),
|
|
9426
|
-
name: zod.z.string(),
|
|
9433
|
+
const FindDataSourcesQuery = PaginationQuery.extend({
|
|
9427
9434
|
integrationId: zod.z.string().optional(),
|
|
9428
|
-
|
|
9429
|
-
|
|
9430
|
-
|
|
9431
|
-
|
|
9432
|
-
defaultPath: zod.z.string().optional(),
|
|
9433
|
-
collectionKey: zod.z.string().optional(),
|
|
9434
|
-
collectionParameters: zod.z.any().optional(),
|
|
9435
|
-
});
|
|
9436
|
-
const UpdateDataSourceRequest = zod.z.object({
|
|
9437
|
-
key: zod.z.string().optional(),
|
|
9438
|
-
name: zod.z.string().optional(),
|
|
9439
|
-
archivedAt: zod.z.string().optional(),
|
|
9440
|
-
udm: zod.z.string().optional(),
|
|
9441
|
-
pullUpdatesIntervalSeconds: zod.z.number().optional(),
|
|
9442
|
-
fullSyncIntervalSeconds: zod.z.number().optional(),
|
|
9443
|
-
rootPath: zod.z.string().optional(),
|
|
9444
|
-
defaultPath: zod.z.string().optional(),
|
|
9435
|
+
integrationKey: zod.z.string().optional(),
|
|
9436
|
+
universalDataSourceId: zod.z.string().optional(),
|
|
9437
|
+
search: zod.z.string().optional(),
|
|
9438
|
+
includeArchived: zodBooleanCoercion().optional(),
|
|
9445
9439
|
});
|
|
9440
|
+
const CreateDataSourceRequest = DataSourceEditableProperties;
|
|
9441
|
+
const UpdateDataSourceRequest = CreateDataSourceRequest.extend({}).partial();
|
|
9446
9442
|
const FindDataSourceInstancesQuery = zod.z
|
|
9447
9443
|
.object({
|
|
9448
9444
|
userId: zod.z.string().optional(),
|
|
@@ -9502,10 +9498,6 @@ const FindDataSourceInstanceSyncsQuery = ListDataSourceInstancesForConnectionQue
|
|
|
9502
9498
|
integrationId: zod.z.string().optional(),
|
|
9503
9499
|
dataSourceInstanceId: zod.z.string().optional(),
|
|
9504
9500
|
});
|
|
9505
|
-
const DataSourceApiResponse = BaseDataSource.extend({
|
|
9506
|
-
integration: BaseIntegration.optional(),
|
|
9507
|
-
appliedToIntegrations: AppliedToIntegrations(BaseDataSource).optional(),
|
|
9508
|
-
});
|
|
9509
9501
|
|
|
9510
9502
|
const DataSourceInstanceApiResponse = BaseDataSourceInstance.extend({
|
|
9511
9503
|
user: BaseCustomer.optional(),
|
|
@@ -9518,31 +9510,25 @@ const ExternalEvent = BaseExternalEvent.extend({
|
|
|
9518
9510
|
appliedToIntegrations: AppliedToIntegrations(BaseExternalEvent).optional(),
|
|
9519
9511
|
});
|
|
9520
9512
|
|
|
9521
|
-
const
|
|
9522
|
-
.
|
|
9523
|
-
|
|
9524
|
-
|
|
9525
|
-
|
|
9526
|
-
|
|
9527
|
-
|
|
9528
|
-
})
|
|
9529
|
-
|
|
9530
|
-
type: zod.z.string(),
|
|
9531
|
-
config: zod.z.any().optional(),
|
|
9532
|
-
ui: zod.z.any().optional(),
|
|
9533
|
-
links: zod.z.array(zod.z.lazy(() => zod.z.any())).optional(),
|
|
9513
|
+
const FlowApiResponse = BaseFlow.extend({
|
|
9514
|
+
integration: BaseIntegration.optional(),
|
|
9515
|
+
appliedToIntegrations: AppliedToIntegrations(zod.z.object({
|
|
9516
|
+
id: zod.z.string(),
|
|
9517
|
+
integrationId: zod.z.string().optional(),
|
|
9518
|
+
isCustomized: zod.z.boolean().optional(),
|
|
9519
|
+
universalFlowId: zod.z.string().optional(),
|
|
9520
|
+
})).optional(),
|
|
9521
|
+
dependencies: zod.z.array(zod.z.any()).optional(),
|
|
9534
9522
|
});
|
|
9535
|
-
const
|
|
9536
|
-
key: zod.z.string(),
|
|
9537
|
-
name: zod.z.string(),
|
|
9523
|
+
const FindFlowsQuery = PaginationQuery.extend({
|
|
9538
9524
|
integrationId: zod.z.string().optional(),
|
|
9539
|
-
|
|
9540
|
-
|
|
9541
|
-
|
|
9542
|
-
|
|
9543
|
-
const UpdateFlowRequest = CreateFlowRequest.extend({
|
|
9544
|
-
archivedAt: zod.z.string().optional(),
|
|
9525
|
+
integrationKey: zod.z.string().optional(),
|
|
9526
|
+
universalFlowId: zod.z.string().optional(),
|
|
9527
|
+
search: zod.z.string().optional(),
|
|
9528
|
+
includeArchived: zodBooleanCoercion().optional(),
|
|
9545
9529
|
});
|
|
9530
|
+
const CreateFlowRequest = FlowEditableProperties;
|
|
9531
|
+
const UpdateFlowRequest = CreateFlowRequest.extend({}).partial();
|
|
9546
9532
|
const ListFlowInstancesForConnectionQuery = zod.z
|
|
9547
9533
|
.object({
|
|
9548
9534
|
flowId: zod.z.string().optional(),
|
|
@@ -9562,22 +9548,18 @@ const RunFlowOptions = zod.z.object({
|
|
|
9562
9548
|
returnImmediately: zod.z.boolean().optional(),
|
|
9563
9549
|
onUpdate: zod.z.function().optional(),
|
|
9564
9550
|
});
|
|
9565
|
-
const FlowApiResponse = BaseFlow.extend({
|
|
9566
|
-
integration: BaseIntegration.optional(),
|
|
9567
|
-
appliedToIntegrations: AppliedToIntegrations(zod.z.object({
|
|
9568
|
-
id: zod.z.string(),
|
|
9569
|
-
integrationId: zod.z.string().optional(),
|
|
9570
|
-
isCustomized: zod.z.boolean().optional(),
|
|
9571
|
-
universalFlowId: zod.z.string().optional(),
|
|
9572
|
-
})).optional(),
|
|
9573
|
-
dependencies: zod.z.array(zod.z.any()).optional(),
|
|
9574
|
-
});
|
|
9575
9551
|
const FlowInstanceApiResponse = BaseFlowInstance.extend({
|
|
9576
9552
|
user: zod.z.lazy(() => zod.z.any()).optional(),
|
|
9577
9553
|
connection: zod.z.lazy(() => zod.z.any()).optional(),
|
|
9578
9554
|
flow: zod.z.lazy(() => FlowApiResponse).optional(),
|
|
9579
9555
|
integration: zod.z.lazy(() => zod.z.any()).optional(),
|
|
9580
9556
|
});
|
|
9557
|
+
const CreateFlowNodeRequest = zod.z.object({
|
|
9558
|
+
type: zod.z.string(),
|
|
9559
|
+
config: zod.z.any().optional(),
|
|
9560
|
+
ui: zod.z.any().optional(),
|
|
9561
|
+
links: zod.z.array(zod.z.lazy(() => zod.z.any())).optional(),
|
|
9562
|
+
});
|
|
9581
9563
|
|
|
9582
9564
|
const CreateFlowRunRequest = zod.z.object({
|
|
9583
9565
|
flowInstanceId: zod.z.string(),
|
|
@@ -9915,6 +9897,15 @@ const FieldMappingApiResponse = BaseFieldMapping.extend({
|
|
|
9915
9897
|
integration: BaseIntegration.optional(),
|
|
9916
9898
|
appliedToIntegrations: AppliedToIntegrations(BaseFieldMapping).optional(),
|
|
9917
9899
|
});
|
|
9900
|
+
const FindFieldMappingsQuery = PaginationQuery.extend({
|
|
9901
|
+
integrationId: zod.z.string().optional(),
|
|
9902
|
+
integrationKey: zod.z.string().optional(),
|
|
9903
|
+
universalFieldMappingId: zod.z.string().optional(),
|
|
9904
|
+
search: zod.z.string().optional(),
|
|
9905
|
+
includeArchived: zodBooleanCoercion().optional(),
|
|
9906
|
+
});
|
|
9907
|
+
const CreateFieldMappingRequest = FieldMappingEditableProperties;
|
|
9908
|
+
const UpdateFieldMappingRequest = CreateFieldMappingRequest.extend({}).partial();
|
|
9918
9909
|
|
|
9919
9910
|
const FieldMappingInstanceApiResponse = BaseFieldMappingInstance.extend({
|
|
9920
9911
|
user: BaseCustomer.optional(),
|
|
@@ -12799,6 +12790,7 @@ exports.CreateConnectionRequest = CreateConnectionRequest;
|
|
|
12799
12790
|
exports.CreateCustomerRequest = CreateCustomerRequest;
|
|
12800
12791
|
exports.CreateDataSourceInstanceRequest = CreateDataSourceInstanceRequest;
|
|
12801
12792
|
exports.CreateDataSourceRequest = CreateDataSourceRequest;
|
|
12793
|
+
exports.CreateFieldMappingRequest = CreateFieldMappingRequest;
|
|
12802
12794
|
exports.CreateFlowNodeRequest = CreateFlowNodeRequest;
|
|
12803
12795
|
exports.CreateFlowRequest = CreateFlowRequest;
|
|
12804
12796
|
exports.CreateFlowRunRequest = CreateFlowRunRequest;
|
|
@@ -12862,6 +12854,7 @@ exports.DataRecordSchema = DataRecordSchema;
|
|
|
12862
12854
|
exports.DataSchema = DataSchema;
|
|
12863
12855
|
exports.DataSourceAccessor = DataSourceAccessor;
|
|
12864
12856
|
exports.DataSourceApiResponse = DataSourceApiResponse;
|
|
12857
|
+
exports.DataSourceEditableProperties = DataSourceEditableProperties;
|
|
12865
12858
|
exports.DataSourceInstanceAccessor = DataSourceInstanceAccessor;
|
|
12866
12859
|
exports.DataSourceInstanceApiResponse = DataSourceInstanceApiResponse;
|
|
12867
12860
|
exports.DataSourceInstancesAccessor = DataSourceInstancesAccessor;
|
|
@@ -12888,6 +12881,7 @@ exports.ExternalEventUnitConfig = ExternalEventUnitConfig;
|
|
|
12888
12881
|
exports.FLOW_NODE_SPECS = FLOW_NODE_SPECS;
|
|
12889
12882
|
exports.FieldMappingAccessor = FieldMappingAccessor;
|
|
12890
12883
|
exports.FieldMappingApiResponse = FieldMappingApiResponse;
|
|
12884
|
+
exports.FieldMappingEditableProperties = FieldMappingEditableProperties;
|
|
12891
12885
|
exports.FieldMappingInstanceAccessor = FieldMappingInstanceAccessor;
|
|
12892
12886
|
exports.FieldMappingInstanceApiResponse = FieldMappingInstanceApiResponse;
|
|
12893
12887
|
exports.FieldMappingInstancesAccessor = FieldMappingInstancesAccessor;
|
|
@@ -12903,6 +12897,7 @@ exports.FindDataSourceInstanceSyncsQuery = FindDataSourceInstanceSyncsQuery;
|
|
|
12903
12897
|
exports.FindDataSourceInstancesQuery = FindDataSourceInstancesQuery;
|
|
12904
12898
|
exports.FindDataSourceSyncsQuery = FindDataSourceSyncsQuery;
|
|
12905
12899
|
exports.FindDataSourcesQuery = FindDataSourcesQuery;
|
|
12900
|
+
exports.FindFieldMappingsQuery = FindFieldMappingsQuery;
|
|
12906
12901
|
exports.FindFlowInstancesQuery = FindFlowInstancesQuery;
|
|
12907
12902
|
exports.FindFlowRunsQuery = FindFlowRunsQuery;
|
|
12908
12903
|
exports.FindFlowRunsResponse = FindFlowRunsResponse;
|
|
@@ -12911,6 +12906,7 @@ exports.FindIntegrationsQuery = FindIntegrationsQuery;
|
|
|
12911
12906
|
exports.FindScenariosQuery = FindScenariosQuery;
|
|
12912
12907
|
exports.FlowAccessor = FlowAccessor;
|
|
12913
12908
|
exports.FlowApiResponse = FlowApiResponse;
|
|
12909
|
+
exports.FlowEditableProperties = FlowEditableProperties;
|
|
12914
12910
|
exports.FlowInstanceAccessor = FlowInstanceAccessor;
|
|
12915
12911
|
exports.FlowInstanceApiResponse = FlowInstanceApiResponse;
|
|
12916
12912
|
exports.FlowInstanceNode = FlowInstanceNode;
|
|
@@ -12957,11 +12953,9 @@ exports.InternalError = InternalError;
|
|
|
12957
12953
|
exports.InvalidLocatorError = InvalidLocatorError;
|
|
12958
12954
|
exports.ListActionInstancesForConnectionQuery = ListActionInstancesForConnectionQuery;
|
|
12959
12955
|
exports.ListDataSourceInstancesForConnectionQuery = ListDataSourceInstancesForConnectionQuery;
|
|
12960
|
-
exports.ListDataSourcesForIntegrationQuery = ListDataSourcesForIntegrationQuery;
|
|
12961
12956
|
exports.ListExternalEventLogRecordsQuery = ListExternalEventLogRecordsQuery;
|
|
12962
12957
|
exports.ListExternalEventPullsQuery = ListExternalEventPullsQuery;
|
|
12963
12958
|
exports.ListFlowInstancesForConnectionQuery = ListFlowInstancesForConnectionQuery;
|
|
12964
|
-
exports.ListFlowsForIntegrationQuery = ListFlowsForIntegrationQuery;
|
|
12965
12959
|
exports.MIN_FULL_SYNC_INTERVAL_SECONDS = MIN_FULL_SYNC_INTERVAL_SECONDS;
|
|
12966
12960
|
exports.MIN_PULL_UPDATES_INTERVAL_SECONDS = MIN_PULL_UPDATES_INTERVAL_SECONDS;
|
|
12967
12961
|
exports.MembraneClient = MembraneClient;
|
|
@@ -13002,6 +12996,7 @@ exports.UpdateConnectionRequest = UpdateConnectionRequest;
|
|
|
13002
12996
|
exports.UpdateCustomerRequest = UpdateCustomerRequest;
|
|
13003
12997
|
exports.UpdateDataSourceInstanceRequest = UpdateDataSourceInstanceRequest;
|
|
13004
12998
|
exports.UpdateDataSourceRequest = UpdateDataSourceRequest;
|
|
12999
|
+
exports.UpdateFieldMappingRequest = UpdateFieldMappingRequest;
|
|
13005
13000
|
exports.UpdateFlowRequest = UpdateFlowRequest;
|
|
13006
13001
|
exports.UpdateIntegrationRequest = UpdateIntegrationRequest;
|
|
13007
13002
|
exports.UpstreamFlowNodeRunSchema = UpstreamFlowNodeRunSchema;
|