@epilot/sdk 2.17.0 → 2.18.0
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/definitions/deduplication-runtime.json +1 -1
- package/definitions/deduplication.json +80 -4
- package/definitions/integration-toolkit.json +166 -3
- package/dist/apis/access-token.cjs +6 -6
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +6 -6
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +6 -6
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +6 -6
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +6 -6
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +6 -6
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +6 -6
- package/dist/apis/automation.js +1 -1
- package/dist/apis/billing.cjs +6 -6
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +6 -6
- package/dist/apis/blueprint-manifest.js +1 -1
- package/dist/apis/calendar.cjs +6 -6
- package/dist/apis/calendar.js +1 -1
- package/dist/apis/configuration-hub.cjs +6 -6
- package/dist/apis/configuration-hub.js +1 -1
- package/dist/apis/consent.cjs +6 -6
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +6 -6
- package/dist/apis/customer-portal.js +1 -1
- package/dist/apis/dashboard.cjs +6 -6
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-governance.cjs +6 -6
- package/dist/apis/data-governance.js +1 -1
- package/dist/apis/deduplication.cjs +8 -8
- package/dist/apis/deduplication.d.cts +2 -2
- package/dist/apis/deduplication.d.ts +2 -2
- package/dist/apis/deduplication.js +2 -2
- package/dist/apis/design.cjs +6 -6
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +6 -6
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +6 -6
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +6 -6
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +6 -6
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +6 -6
- package/dist/apis/entity.js +1 -1
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.js +1 -1
- package/dist/apis/event-catalog.cjs +6 -6
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +6 -6
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.js +1 -1
- package/dist/apis/integration-toolkit.cjs +6 -6
- package/dist/apis/integration-toolkit.d.cts +2 -2
- package/dist/apis/integration-toolkit.d.ts +2 -2
- package/dist/apis/integration-toolkit.js +1 -1
- package/dist/apis/journey.cjs +6 -6
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +6 -6
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +6 -6
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +6 -6
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +6 -6
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +6 -6
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +6 -6
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +6 -6
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +6 -6
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +6 -6
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +6 -6
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +6 -6
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/query.cjs +6 -6
- package/dist/apis/query.js +1 -1
- package/dist/apis/sandbox.cjs +6 -6
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/sharing.cjs +6 -6
- package/dist/apis/sharing.js +1 -1
- package/dist/apis/snapshot.cjs +6 -6
- package/dist/apis/snapshot.js +1 -1
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.js +1 -1
- package/dist/apis/target.cjs +6 -6
- package/dist/apis/target.js +1 -1
- package/dist/apis/targeting.cjs +6 -6
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +6 -6
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +6 -6
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +6 -6
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +6 -6
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +6 -6
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +6 -6
- package/dist/apis/workflow.js +1 -1
- package/dist/{chunk-CKD3HAHW.js → chunk-5B7KMWW3.js} +1 -1
- package/dist/{chunk-TWI3P2QA.cjs → chunk-BEJ5NIRC.cjs} +1 -1
- package/dist/{chunk-VJKGGDHF.js → chunk-UQKZYCSP.js} +3 -3
- package/dist/{chunk-TNIQ67SK.cjs → chunk-ZL3GLE4V.cjs} +3 -3
- package/dist/deduplication-FFW7L6P5.cjs +7 -0
- package/dist/deduplication-JNS7SSUR.js +7 -0
- package/dist/{deduplication-runtime-5TJHUSQN.js → deduplication-runtime-52CD6PA3.js} +1 -1
- package/dist/{deduplication-runtime-ZKX6LN5P.cjs → deduplication-runtime-FU24WISY.cjs} +2 -2
- package/dist/{deduplication.d-DaUo5gZo.d.ts → deduplication.d-Cueh8bDD.d.cts} +151 -2
- package/dist/{deduplication.d-DaUo5gZo.d.cts → deduplication.d-Cueh8bDD.d.ts} +151 -2
- package/dist/index.cjs +10 -10
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/integration-toolkit-XGP4BIWX.js +7 -0
- package/dist/integration-toolkit-ZVBMKUWM.cjs +7 -0
- package/dist/{integration-toolkit.d-BkWRJ8Xm.d.cts → integration-toolkit.d-D5HZSNUf.d.cts} +109 -1
- package/dist/{integration-toolkit.d-BkWRJ8Xm.d.ts → integration-toolkit.d-D5HZSNUf.d.ts} +109 -1
- package/docs/deduplication.md +88 -35
- package/docs/integration-toolkit.md +144 -4
- package/package.json +1 -1
- package/dist/deduplication-XYMFEQEE.cjs +0 -7
- package/dist/deduplication-YYNT5C3M.js +0 -7
- package/dist/integration-toolkit-54F6GS67.js +0 -7
- package/dist/integration-toolkit-FRSDSG4I.cjs +0 -7
|
@@ -1728,6 +1728,50 @@ declare namespace Components {
|
|
|
1728
1728
|
*/
|
|
1729
1729
|
change_description?: string;
|
|
1730
1730
|
}
|
|
1731
|
+
/**
|
|
1732
|
+
* A resolved entity prune scope. At runtime, entities of `entity_slug` found within `scope` whose unique identifiers are not listed in `keep_unique_ids` are removed using `deletion_mode`.
|
|
1733
|
+
*/
|
|
1734
|
+
export interface EntityPruneScopeUpdate {
|
|
1735
|
+
/**
|
|
1736
|
+
* The entity type that would be pruned
|
|
1737
|
+
*/
|
|
1738
|
+
entity_slug: string;
|
|
1739
|
+
/**
|
|
1740
|
+
* The scope configuration resolved against the payload
|
|
1741
|
+
*/
|
|
1742
|
+
scope: {
|
|
1743
|
+
/**
|
|
1744
|
+
* How the entities in scope are found
|
|
1745
|
+
*/
|
|
1746
|
+
scope_mode: "relations" | "query";
|
|
1747
|
+
/**
|
|
1748
|
+
* Schema of the related entity defining the scope (`relations` scope_mode only)
|
|
1749
|
+
*/
|
|
1750
|
+
schema?: string;
|
|
1751
|
+
/**
|
|
1752
|
+
* Resolved unique identifiers of the related scope entity (`relations` scope_mode only)
|
|
1753
|
+
*/
|
|
1754
|
+
unique_ids?: {
|
|
1755
|
+
[name: string]: any;
|
|
1756
|
+
};
|
|
1757
|
+
/**
|
|
1758
|
+
* Resolved query parameters used to find entities in scope (`query` scope_mode only)
|
|
1759
|
+
*/
|
|
1760
|
+
query?: {
|
|
1761
|
+
[name: string]: any;
|
|
1762
|
+
};
|
|
1763
|
+
};
|
|
1764
|
+
/**
|
|
1765
|
+
* Unique identifiers of the entities upserted by this payload. Everything else found in scope would be deleted.
|
|
1766
|
+
*/
|
|
1767
|
+
keep_unique_ids: {
|
|
1768
|
+
[name: string]: any;
|
|
1769
|
+
}[];
|
|
1770
|
+
/**
|
|
1771
|
+
* `delete` soft deletes the pruned entities, `purge` removes them permanently
|
|
1772
|
+
*/
|
|
1773
|
+
deletion_mode: "delete" | "purge";
|
|
1774
|
+
}
|
|
1731
1775
|
export interface EntityUpdate {
|
|
1732
1776
|
/**
|
|
1733
1777
|
* The entity type slug
|
|
@@ -1745,6 +1789,27 @@ declare namespace Components {
|
|
|
1745
1789
|
attributes: {
|
|
1746
1790
|
[name: string]: any;
|
|
1747
1791
|
};
|
|
1792
|
+
/**
|
|
1793
|
+
* Present when the entity mapping has a `pricing` block. Echoes the pricing configuration and the data extracted for it, so mapping authors can see what would be sent to the pricing service.
|
|
1794
|
+
*/
|
|
1795
|
+
pricing?: {
|
|
1796
|
+
/**
|
|
1797
|
+
* The pricing configuration from the entity mapping
|
|
1798
|
+
*/
|
|
1799
|
+
config: {
|
|
1800
|
+
[name: string]: any;
|
|
1801
|
+
};
|
|
1802
|
+
/**
|
|
1803
|
+
* The pricing input data extracted from the payload
|
|
1804
|
+
*/
|
|
1805
|
+
data: {
|
|
1806
|
+
[name: string]: any;
|
|
1807
|
+
}[];
|
|
1808
|
+
};
|
|
1809
|
+
/**
|
|
1810
|
+
* Effective operation mode applied to this entity at runtime. `upsert-prune-scope-purge` / `upsert-prune-scope-delete` configurations report `upsert` here, because the individual entities in the payload are upserted — the destructive part of those modes is reported separately in `prune_scope_updates`. For `delete` / `purge`, `attributes` are still mapped and returned but ignored at runtime: only `unique_identifiers` are used to locate the entity to remove.
|
|
1811
|
+
*/
|
|
1812
|
+
mode: "upsert" | "delete" | "purge";
|
|
1748
1813
|
}
|
|
1749
1814
|
/**
|
|
1750
1815
|
* Resolves to an org-scoped environment variable from the epilot environments-api service at runtime, replacing hard-coded environment-specific values (URLs, prefixes, identifiers) in inbound mappings. Secrets (`SecretString` values) are never exposed; the runtime treats both "missing key" and "secret-typed key" as identical `undefined` outcomes (no info disclosure via error code). For secret-resolving contexts (e.g. authorization headers in managed-call or file-proxy step configurations), use the templated `{{ env.<key> }}` syntax instead — that mechanism does decrypt secrets.
|
|
@@ -4013,6 +4078,14 @@ declare namespace Components {
|
|
|
4013
4078
|
export interface MappingSimulationResponse {
|
|
4014
4079
|
entity_updates: EntityUpdate[];
|
|
4015
4080
|
meter_readings_updates?: MeterReadingUpdate[];
|
|
4081
|
+
/**
|
|
4082
|
+
* Resolved prune scopes produced by entity mappings using `upsert-prune-scope-purge` / `upsert-prune-scope-delete`. Each entry describes the entities that would be deleted at runtime because they exist in scope but were not part of this payload.
|
|
4083
|
+
*/
|
|
4084
|
+
prune_scope_updates?: /* A resolved entity prune scope. At runtime, entities of `entity_slug` found within `scope` whose unique identifiers are not listed in `keep_unique_ids` are removed using `deletion_mode`. */ EntityPruneScopeUpdate[];
|
|
4085
|
+
/**
|
|
4086
|
+
* Resolved prune scopes produced by meter reading mappings using `upsert-prune-scope`. Each entry describes the readings that would be deleted at runtime for a meter (+ counter) because they were not part of this payload.
|
|
4087
|
+
*/
|
|
4088
|
+
meter_readings_prune_scope_updates?: /* A resolved meter reading prune scope. At runtime, readings of the given meter (+ counter) whose external ids are not listed in `keep_external_ids` are deleted. */ MeterReadingPruneScopeUpdate[];
|
|
4016
4089
|
/**
|
|
4017
4090
|
* Validation warnings about the configuration (e.g., unique_ids referencing non-indexed fields)
|
|
4018
4091
|
*/
|
|
@@ -4063,6 +4136,35 @@ declare namespace Components {
|
|
|
4063
4136
|
*/
|
|
4064
4137
|
source?: string;
|
|
4065
4138
|
}
|
|
4139
|
+
/**
|
|
4140
|
+
* A resolved meter reading prune scope. At runtime, readings of the given meter (+ counter) whose external ids are not listed in `keep_external_ids` are deleted.
|
|
4141
|
+
*/
|
|
4142
|
+
export interface MeterReadingPruneScopeUpdate {
|
|
4143
|
+
meter: {
|
|
4144
|
+
/**
|
|
4145
|
+
* Unique identifiers for the meter
|
|
4146
|
+
*/
|
|
4147
|
+
$entity_unique_ids: {
|
|
4148
|
+
[name: string]: any;
|
|
4149
|
+
};
|
|
4150
|
+
};
|
|
4151
|
+
meter_counter?: {
|
|
4152
|
+
/**
|
|
4153
|
+
* Unique identifiers for the meter counter
|
|
4154
|
+
*/
|
|
4155
|
+
$entity_unique_ids?: {
|
|
4156
|
+
[name: string]: any;
|
|
4157
|
+
};
|
|
4158
|
+
};
|
|
4159
|
+
/**
|
|
4160
|
+
* External ids of the readings present in this payload. All other readings in scope would be deleted. An empty array means every reading in scope would be deleted.
|
|
4161
|
+
*/
|
|
4162
|
+
keep_external_ids: string[];
|
|
4163
|
+
/**
|
|
4164
|
+
* When set, only readings with this source are eligible for pruning (e.g. `ERP`)
|
|
4165
|
+
*/
|
|
4166
|
+
source?: string;
|
|
4167
|
+
}
|
|
4066
4168
|
export interface MeterReadingUpdate {
|
|
4067
4169
|
meter: {
|
|
4068
4170
|
/**
|
|
@@ -4086,6 +4188,10 @@ declare namespace Components {
|
|
|
4086
4188
|
attributes: {
|
|
4087
4189
|
[name: string]: any;
|
|
4088
4190
|
};
|
|
4191
|
+
/**
|
|
4192
|
+
* Effective operation mode applied to this reading at runtime. `upsert-prune-scope` configurations report `upsert` here — their destructive part is reported separately in `meter_readings_prune_scope_updates`.
|
|
4193
|
+
*/
|
|
4194
|
+
mode: "upsert" | "delete";
|
|
4089
4195
|
}
|
|
4090
4196
|
export interface MeterUniqueIdsConfig {
|
|
4091
4197
|
/**
|
|
@@ -9364,6 +9470,7 @@ type EmbeddedOutboundUseCaseRequest = Components.Schemas.EmbeddedOutboundUseCase
|
|
|
9364
9470
|
type EmbeddedSecureProxyUseCaseRequest = Components.Schemas.EmbeddedSecureProxyUseCaseRequest;
|
|
9365
9471
|
type EmbeddedUseCaseRequest = Components.Schemas.EmbeddedUseCaseRequest;
|
|
9366
9472
|
type EmbeddedUseCaseRequestBase = Components.Schemas.EmbeddedUseCaseRequestBase;
|
|
9473
|
+
type EntityPruneScopeUpdate = Components.Schemas.EntityPruneScopeUpdate;
|
|
9367
9474
|
type EntityUpdate = Components.Schemas.EntityUpdate;
|
|
9368
9475
|
type EnvVarRefConfig = Components.Schemas.EnvVarRefConfig;
|
|
9369
9476
|
type EnvironmentFieldConfig = Components.Schemas.EnvironmentFieldConfig;
|
|
@@ -9428,6 +9535,7 @@ type MappingSimulationResponse = Components.Schemas.MappingSimulationResponse;
|
|
|
9428
9535
|
type MappingSimulationV2Request = Components.Schemas.MappingSimulationV2Request;
|
|
9429
9536
|
type MappingSimulationWarning = Components.Schemas.MappingSimulationWarning;
|
|
9430
9537
|
type MeterReadingPruneScopeConfig = Components.Schemas.MeterReadingPruneScopeConfig;
|
|
9538
|
+
type MeterReadingPruneScopeUpdate = Components.Schemas.MeterReadingPruneScopeUpdate;
|
|
9431
9539
|
type MeterReadingUpdate = Components.Schemas.MeterReadingUpdate;
|
|
9432
9540
|
type MeterUniqueIdsConfig = Components.Schemas.MeterUniqueIdsConfig;
|
|
9433
9541
|
type MonitoringEventV2 = Components.Schemas.MonitoringEventV2;
|
|
@@ -9518,4 +9626,4 @@ type UseCaseTypePreview = Components.Schemas.UseCaseTypePreview;
|
|
|
9518
9626
|
type WebhookDeliveryConfig = Components.Schemas.WebhookDeliveryConfig;
|
|
9519
9627
|
type WebhookStatus = Components.Schemas.WebhookStatus;
|
|
9520
9628
|
|
|
9521
|
-
export { type
|
|
9629
|
+
export { type FileProxyUrlParam as $, type AccessLogEntry as A, type EntityPruneScopeUpdate as B, type Client as C, type DeleteIntegrationAppMappingRequest as D, type EmbeddedFileProxyUseCaseRequest as E, type EntityUpdate as F, type EnvVarRefConfig as G, type EnvironmentFieldConfig as H, type ErpEvent as I, type ErpEventV3 as J, type ErpImportError as K, type ErpImportJob as L, type ErpImportList as M, type ErpImportProgress as N, type OperationMethods as O, Paths as P, type ErpImportValidation as Q, type ErpUpdatesEventsV2Request as R, type ErpUpdatesEventsV3Request as S, type ErrorResponseBase as T, type ExternalMonitoringSpan as U, type FileProxyAuth as V, type FileProxyParam as W, type FileProxyResponseConfig as X, type FileProxySecureProxyAttachment as Y, type FileProxyStep as Z, type FileProxyUrlConfig as _, Components as a, type OutboundMessage as a$, type FileProxyUrlParams as a0, type FileProxyUseCase as a1, type FileProxyUseCaseConfiguration as a2, type FileProxyUseCaseHistoryEntry as a3, type GenerateTypesPreviewResponse as a4, type GenerateTypesRequest as a5, type GenerateTypesResponse as a6, type GetMonitoringStatsRequest as a7, type GetMonitoringStatsV2Request as a8, type GetMonitoringTimeSeriesRequest as a9, type ManagedCallUseCase as aA, type ManagedCallUseCaseHistoryEntry as aB, type MappingSimulationRequest as aC, type MappingSimulationResponse as aD, type MappingSimulationV2Request as aE, type MappingSimulationWarning as aF, type MeterReadingPruneScopeConfig as aG, type MeterReadingPruneScopeUpdate as aH, type MeterReadingUpdate as aI, type MeterUniqueIdsConfig as aJ, type MonitoringEventV2 as aK, type MonitoringStats as aL, type MonitoringStatsV2 as aM, type MonitoringTraceResponse as aN, type NotificationChannelSet as aO, type NotificationDigestConfig as aP, type NotificationHistoryItem as aQ, type NotificationHistoryResponse as aR, type NotificationRecipient as aS, type NotificationRule as aT, type NotificationRuleStatus as aU, type NotificationStatusResponse as aV, type OutboundConflict as aW, type OutboundDlqListResponse as aX, type OutboundDlqMessage as aY, type OutboundIntegrationEventConfiguration as aZ, type OutboundMapping as a_, type GetMonitoringTimeSeriesV2Request as aa, type InboundIntegrationEventConfiguration as ab, type InboundMonitoringEvent as ac, type InboundUseCase as ad, type InboundUseCaseHistoryEntry as ae, type IngestExternalMonitoringEventsRequest as af, type IngestExternalMonitoringEventsResponse as ag, type Integration as ah, type IntegrationAppMapping as ai, type IntegrationConfigurationV1 as aj, type IntegrationConfigurationV2 as ak, type IntegrationEditableFields as al, type IntegrationEntity as am, type IntegrationEntityField as an, type IntegrationFieldV1 as ao, type IntegrationMeterReading as ap, type IntegrationNotificationConfig as aq, type IntegrationObjectV1 as ar, type IntegrationSettings as as, type IntegrationWithUseCases as at, type ManagedCallAuth as au, type ManagedCallErrorResponse as av, type ManagedCallExecuteRequest as aw, type ManagedCallExecuteResponse as ax, type ManagedCallOperation as ay, type ManagedCallOperationConfig as az, type PathsDictionary as b, type UseCaseBase as b$, type OutboundMonitoringEvent as b0, type OutboundPollStatus as b1, type OutboundStatusResponse as b2, type OutboundUseCase as b3, type OutboundUseCaseHistoryEntry as b4, type OutboundUseCaseStatus as b5, type PollDeliveryConfig as b6, type PollOutboundMessagesRequest as b7, type PollOutboundMessagesResponse as b8, type PortalOrigin as b9, type SecureProxyUseCase as bA, type SecureProxyUseCaseConfiguration as bB, type SecureProxyUseCaseHistoryEntry as bC, type SecureProxyWhitelist as bD, type SecureProxyWhitelistUpdate as bE, type SetIntegrationAppMappingRequest as bF, type TestNotificationRequest as bG, type TestNotificationResponse as bH, type TimeSeriesBreakdownItemV2 as bI, type TimeSeriesBucket as bJ, type TimeSeriesBucketV2 as bK, type TriggerErpActionRequest as bL, type TriggerWebhookResp as bM, type TypeAnnotations as bN, type TypeDescriptor as bO, type UnblockOutboundStreamRequest as bP, type UnblockOutboundStreamResponse as bQ, type UpdateFileProxyUseCaseRequest as bR, type UpdateInboundUseCaseRequest as bS, type UpdateIntegrationRequest as bT, type UpdateManagedCallUseCaseRequest as bU, type UpdateOutboundUseCaseRequest as bV, type UpdateSecureProxyUseCaseRequest as bW, type UpdateUseCaseRequest as bX, type UpdateUseCaseRequestBase as bY, type UpsertIntegrationWithUseCasesRequest as bZ, type UseCase as b_, type PortalRefConfig as ba, type PortalRefFilter as bb, type PruneScopeConfig as bc, type QueryAccessLogsRequest as bd, type QueryEventsRequest as be, type QueryInboundMonitoringEventsRequest as bf, type QueryMonitoringEventsV2Request as bg, type QueryOutboundMonitoringEventsRequest as bh, type RedriveOutboundDlqRequest as bi, type RedriveOutboundDlqResponse as bj, type RedriveOutboundDlqResult as bk, type RelationConfig as bl, type RelationItemConfig as bm, type RelationRefItemConfig as bn, type RelationRefValueConfig as bo, type RelationRefsConfig as bp, type RelationUniqueIdField as bq, type RepeatableFieldType as br, type ReplayEventsRequest as bs, type RuleBaselineBucket as bt, type RuleBaselineStatus as bu, type S3Reference as bv, type SecureProxyRequest as bw, type SecureProxyResponse as bx, type SecureProxySummary as by, type SecureProxyUpstreamError as bz, type AckOutboundMessagesRequest as c, type UseCaseHistoryEntry as c0, type UseCaseHistoryEntryBase as c1, type UseCaseTypePreview as c2, type WebhookDeliveryConfig as c3, type WebhookStatus as c4, type AckOutboundMessagesResponse as d, type AckResult as e, type AutoRefreshSettings as f, type CommitTypesRequest as g, type CommitTypesResponse as h, type ConnectorConfig as i, type CreateErpImportRequest as j, type CreateErpImportResponse as k, type CreateFileProxyUseCaseRequest as l, type CreateInboundUseCaseRequest as m, type CreateIntegrationRequest as n, type CreateManagedCallUseCaseRequest as o, type CreateOutboundUseCaseRequest as p, type CreateSecureProxyUseCaseRequest as q, type CreateUseCaseRequest as r, type CreateUseCaseRequestBase as s, type DeliveryConfig as t, type EmbeddedInboundUseCaseRequest as u, type EmbeddedManagedCallUseCaseRequest as v, type EmbeddedOutboundUseCaseRequest as w, type EmbeddedSecureProxyUseCaseRequest as x, type EmbeddedUseCaseRequest as y, type EmbeddedUseCaseRequestBase as z };
|
|
@@ -1728,6 +1728,50 @@ declare namespace Components {
|
|
|
1728
1728
|
*/
|
|
1729
1729
|
change_description?: string;
|
|
1730
1730
|
}
|
|
1731
|
+
/**
|
|
1732
|
+
* A resolved entity prune scope. At runtime, entities of `entity_slug` found within `scope` whose unique identifiers are not listed in `keep_unique_ids` are removed using `deletion_mode`.
|
|
1733
|
+
*/
|
|
1734
|
+
export interface EntityPruneScopeUpdate {
|
|
1735
|
+
/**
|
|
1736
|
+
* The entity type that would be pruned
|
|
1737
|
+
*/
|
|
1738
|
+
entity_slug: string;
|
|
1739
|
+
/**
|
|
1740
|
+
* The scope configuration resolved against the payload
|
|
1741
|
+
*/
|
|
1742
|
+
scope: {
|
|
1743
|
+
/**
|
|
1744
|
+
* How the entities in scope are found
|
|
1745
|
+
*/
|
|
1746
|
+
scope_mode: "relations" | "query";
|
|
1747
|
+
/**
|
|
1748
|
+
* Schema of the related entity defining the scope (`relations` scope_mode only)
|
|
1749
|
+
*/
|
|
1750
|
+
schema?: string;
|
|
1751
|
+
/**
|
|
1752
|
+
* Resolved unique identifiers of the related scope entity (`relations` scope_mode only)
|
|
1753
|
+
*/
|
|
1754
|
+
unique_ids?: {
|
|
1755
|
+
[name: string]: any;
|
|
1756
|
+
};
|
|
1757
|
+
/**
|
|
1758
|
+
* Resolved query parameters used to find entities in scope (`query` scope_mode only)
|
|
1759
|
+
*/
|
|
1760
|
+
query?: {
|
|
1761
|
+
[name: string]: any;
|
|
1762
|
+
};
|
|
1763
|
+
};
|
|
1764
|
+
/**
|
|
1765
|
+
* Unique identifiers of the entities upserted by this payload. Everything else found in scope would be deleted.
|
|
1766
|
+
*/
|
|
1767
|
+
keep_unique_ids: {
|
|
1768
|
+
[name: string]: any;
|
|
1769
|
+
}[];
|
|
1770
|
+
/**
|
|
1771
|
+
* `delete` soft deletes the pruned entities, `purge` removes them permanently
|
|
1772
|
+
*/
|
|
1773
|
+
deletion_mode: "delete" | "purge";
|
|
1774
|
+
}
|
|
1731
1775
|
export interface EntityUpdate {
|
|
1732
1776
|
/**
|
|
1733
1777
|
* The entity type slug
|
|
@@ -1745,6 +1789,27 @@ declare namespace Components {
|
|
|
1745
1789
|
attributes: {
|
|
1746
1790
|
[name: string]: any;
|
|
1747
1791
|
};
|
|
1792
|
+
/**
|
|
1793
|
+
* Present when the entity mapping has a `pricing` block. Echoes the pricing configuration and the data extracted for it, so mapping authors can see what would be sent to the pricing service.
|
|
1794
|
+
*/
|
|
1795
|
+
pricing?: {
|
|
1796
|
+
/**
|
|
1797
|
+
* The pricing configuration from the entity mapping
|
|
1798
|
+
*/
|
|
1799
|
+
config: {
|
|
1800
|
+
[name: string]: any;
|
|
1801
|
+
};
|
|
1802
|
+
/**
|
|
1803
|
+
* The pricing input data extracted from the payload
|
|
1804
|
+
*/
|
|
1805
|
+
data: {
|
|
1806
|
+
[name: string]: any;
|
|
1807
|
+
}[];
|
|
1808
|
+
};
|
|
1809
|
+
/**
|
|
1810
|
+
* Effective operation mode applied to this entity at runtime. `upsert-prune-scope-purge` / `upsert-prune-scope-delete` configurations report `upsert` here, because the individual entities in the payload are upserted — the destructive part of those modes is reported separately in `prune_scope_updates`. For `delete` / `purge`, `attributes` are still mapped and returned but ignored at runtime: only `unique_identifiers` are used to locate the entity to remove.
|
|
1811
|
+
*/
|
|
1812
|
+
mode: "upsert" | "delete" | "purge";
|
|
1748
1813
|
}
|
|
1749
1814
|
/**
|
|
1750
1815
|
* Resolves to an org-scoped environment variable from the epilot environments-api service at runtime, replacing hard-coded environment-specific values (URLs, prefixes, identifiers) in inbound mappings. Secrets (`SecretString` values) are never exposed; the runtime treats both "missing key" and "secret-typed key" as identical `undefined` outcomes (no info disclosure via error code). For secret-resolving contexts (e.g. authorization headers in managed-call or file-proxy step configurations), use the templated `{{ env.<key> }}` syntax instead — that mechanism does decrypt secrets.
|
|
@@ -4013,6 +4078,14 @@ declare namespace Components {
|
|
|
4013
4078
|
export interface MappingSimulationResponse {
|
|
4014
4079
|
entity_updates: EntityUpdate[];
|
|
4015
4080
|
meter_readings_updates?: MeterReadingUpdate[];
|
|
4081
|
+
/**
|
|
4082
|
+
* Resolved prune scopes produced by entity mappings using `upsert-prune-scope-purge` / `upsert-prune-scope-delete`. Each entry describes the entities that would be deleted at runtime because they exist in scope but were not part of this payload.
|
|
4083
|
+
*/
|
|
4084
|
+
prune_scope_updates?: /* A resolved entity prune scope. At runtime, entities of `entity_slug` found within `scope` whose unique identifiers are not listed in `keep_unique_ids` are removed using `deletion_mode`. */ EntityPruneScopeUpdate[];
|
|
4085
|
+
/**
|
|
4086
|
+
* Resolved prune scopes produced by meter reading mappings using `upsert-prune-scope`. Each entry describes the readings that would be deleted at runtime for a meter (+ counter) because they were not part of this payload.
|
|
4087
|
+
*/
|
|
4088
|
+
meter_readings_prune_scope_updates?: /* A resolved meter reading prune scope. At runtime, readings of the given meter (+ counter) whose external ids are not listed in `keep_external_ids` are deleted. */ MeterReadingPruneScopeUpdate[];
|
|
4016
4089
|
/**
|
|
4017
4090
|
* Validation warnings about the configuration (e.g., unique_ids referencing non-indexed fields)
|
|
4018
4091
|
*/
|
|
@@ -4063,6 +4136,35 @@ declare namespace Components {
|
|
|
4063
4136
|
*/
|
|
4064
4137
|
source?: string;
|
|
4065
4138
|
}
|
|
4139
|
+
/**
|
|
4140
|
+
* A resolved meter reading prune scope. At runtime, readings of the given meter (+ counter) whose external ids are not listed in `keep_external_ids` are deleted.
|
|
4141
|
+
*/
|
|
4142
|
+
export interface MeterReadingPruneScopeUpdate {
|
|
4143
|
+
meter: {
|
|
4144
|
+
/**
|
|
4145
|
+
* Unique identifiers for the meter
|
|
4146
|
+
*/
|
|
4147
|
+
$entity_unique_ids: {
|
|
4148
|
+
[name: string]: any;
|
|
4149
|
+
};
|
|
4150
|
+
};
|
|
4151
|
+
meter_counter?: {
|
|
4152
|
+
/**
|
|
4153
|
+
* Unique identifiers for the meter counter
|
|
4154
|
+
*/
|
|
4155
|
+
$entity_unique_ids?: {
|
|
4156
|
+
[name: string]: any;
|
|
4157
|
+
};
|
|
4158
|
+
};
|
|
4159
|
+
/**
|
|
4160
|
+
* External ids of the readings present in this payload. All other readings in scope would be deleted. An empty array means every reading in scope would be deleted.
|
|
4161
|
+
*/
|
|
4162
|
+
keep_external_ids: string[];
|
|
4163
|
+
/**
|
|
4164
|
+
* When set, only readings with this source are eligible for pruning (e.g. `ERP`)
|
|
4165
|
+
*/
|
|
4166
|
+
source?: string;
|
|
4167
|
+
}
|
|
4066
4168
|
export interface MeterReadingUpdate {
|
|
4067
4169
|
meter: {
|
|
4068
4170
|
/**
|
|
@@ -4086,6 +4188,10 @@ declare namespace Components {
|
|
|
4086
4188
|
attributes: {
|
|
4087
4189
|
[name: string]: any;
|
|
4088
4190
|
};
|
|
4191
|
+
/**
|
|
4192
|
+
* Effective operation mode applied to this reading at runtime. `upsert-prune-scope` configurations report `upsert` here — their destructive part is reported separately in `meter_readings_prune_scope_updates`.
|
|
4193
|
+
*/
|
|
4194
|
+
mode: "upsert" | "delete";
|
|
4089
4195
|
}
|
|
4090
4196
|
export interface MeterUniqueIdsConfig {
|
|
4091
4197
|
/**
|
|
@@ -9364,6 +9470,7 @@ type EmbeddedOutboundUseCaseRequest = Components.Schemas.EmbeddedOutboundUseCase
|
|
|
9364
9470
|
type EmbeddedSecureProxyUseCaseRequest = Components.Schemas.EmbeddedSecureProxyUseCaseRequest;
|
|
9365
9471
|
type EmbeddedUseCaseRequest = Components.Schemas.EmbeddedUseCaseRequest;
|
|
9366
9472
|
type EmbeddedUseCaseRequestBase = Components.Schemas.EmbeddedUseCaseRequestBase;
|
|
9473
|
+
type EntityPruneScopeUpdate = Components.Schemas.EntityPruneScopeUpdate;
|
|
9367
9474
|
type EntityUpdate = Components.Schemas.EntityUpdate;
|
|
9368
9475
|
type EnvVarRefConfig = Components.Schemas.EnvVarRefConfig;
|
|
9369
9476
|
type EnvironmentFieldConfig = Components.Schemas.EnvironmentFieldConfig;
|
|
@@ -9428,6 +9535,7 @@ type MappingSimulationResponse = Components.Schemas.MappingSimulationResponse;
|
|
|
9428
9535
|
type MappingSimulationV2Request = Components.Schemas.MappingSimulationV2Request;
|
|
9429
9536
|
type MappingSimulationWarning = Components.Schemas.MappingSimulationWarning;
|
|
9430
9537
|
type MeterReadingPruneScopeConfig = Components.Schemas.MeterReadingPruneScopeConfig;
|
|
9538
|
+
type MeterReadingPruneScopeUpdate = Components.Schemas.MeterReadingPruneScopeUpdate;
|
|
9431
9539
|
type MeterReadingUpdate = Components.Schemas.MeterReadingUpdate;
|
|
9432
9540
|
type MeterUniqueIdsConfig = Components.Schemas.MeterUniqueIdsConfig;
|
|
9433
9541
|
type MonitoringEventV2 = Components.Schemas.MonitoringEventV2;
|
|
@@ -9518,4 +9626,4 @@ type UseCaseTypePreview = Components.Schemas.UseCaseTypePreview;
|
|
|
9518
9626
|
type WebhookDeliveryConfig = Components.Schemas.WebhookDeliveryConfig;
|
|
9519
9627
|
type WebhookStatus = Components.Schemas.WebhookStatus;
|
|
9520
9628
|
|
|
9521
|
-
export { type
|
|
9629
|
+
export { type FileProxyUrlParam as $, type AccessLogEntry as A, type EntityPruneScopeUpdate as B, type Client as C, type DeleteIntegrationAppMappingRequest as D, type EmbeddedFileProxyUseCaseRequest as E, type EntityUpdate as F, type EnvVarRefConfig as G, type EnvironmentFieldConfig as H, type ErpEvent as I, type ErpEventV3 as J, type ErpImportError as K, type ErpImportJob as L, type ErpImportList as M, type ErpImportProgress as N, type OperationMethods as O, Paths as P, type ErpImportValidation as Q, type ErpUpdatesEventsV2Request as R, type ErpUpdatesEventsV3Request as S, type ErrorResponseBase as T, type ExternalMonitoringSpan as U, type FileProxyAuth as V, type FileProxyParam as W, type FileProxyResponseConfig as X, type FileProxySecureProxyAttachment as Y, type FileProxyStep as Z, type FileProxyUrlConfig as _, Components as a, type OutboundMessage as a$, type FileProxyUrlParams as a0, type FileProxyUseCase as a1, type FileProxyUseCaseConfiguration as a2, type FileProxyUseCaseHistoryEntry as a3, type GenerateTypesPreviewResponse as a4, type GenerateTypesRequest as a5, type GenerateTypesResponse as a6, type GetMonitoringStatsRequest as a7, type GetMonitoringStatsV2Request as a8, type GetMonitoringTimeSeriesRequest as a9, type ManagedCallUseCase as aA, type ManagedCallUseCaseHistoryEntry as aB, type MappingSimulationRequest as aC, type MappingSimulationResponse as aD, type MappingSimulationV2Request as aE, type MappingSimulationWarning as aF, type MeterReadingPruneScopeConfig as aG, type MeterReadingPruneScopeUpdate as aH, type MeterReadingUpdate as aI, type MeterUniqueIdsConfig as aJ, type MonitoringEventV2 as aK, type MonitoringStats as aL, type MonitoringStatsV2 as aM, type MonitoringTraceResponse as aN, type NotificationChannelSet as aO, type NotificationDigestConfig as aP, type NotificationHistoryItem as aQ, type NotificationHistoryResponse as aR, type NotificationRecipient as aS, type NotificationRule as aT, type NotificationRuleStatus as aU, type NotificationStatusResponse as aV, type OutboundConflict as aW, type OutboundDlqListResponse as aX, type OutboundDlqMessage as aY, type OutboundIntegrationEventConfiguration as aZ, type OutboundMapping as a_, type GetMonitoringTimeSeriesV2Request as aa, type InboundIntegrationEventConfiguration as ab, type InboundMonitoringEvent as ac, type InboundUseCase as ad, type InboundUseCaseHistoryEntry as ae, type IngestExternalMonitoringEventsRequest as af, type IngestExternalMonitoringEventsResponse as ag, type Integration as ah, type IntegrationAppMapping as ai, type IntegrationConfigurationV1 as aj, type IntegrationConfigurationV2 as ak, type IntegrationEditableFields as al, type IntegrationEntity as am, type IntegrationEntityField as an, type IntegrationFieldV1 as ao, type IntegrationMeterReading as ap, type IntegrationNotificationConfig as aq, type IntegrationObjectV1 as ar, type IntegrationSettings as as, type IntegrationWithUseCases as at, type ManagedCallAuth as au, type ManagedCallErrorResponse as av, type ManagedCallExecuteRequest as aw, type ManagedCallExecuteResponse as ax, type ManagedCallOperation as ay, type ManagedCallOperationConfig as az, type PathsDictionary as b, type UseCaseBase as b$, type OutboundMonitoringEvent as b0, type OutboundPollStatus as b1, type OutboundStatusResponse as b2, type OutboundUseCase as b3, type OutboundUseCaseHistoryEntry as b4, type OutboundUseCaseStatus as b5, type PollDeliveryConfig as b6, type PollOutboundMessagesRequest as b7, type PollOutboundMessagesResponse as b8, type PortalOrigin as b9, type SecureProxyUseCase as bA, type SecureProxyUseCaseConfiguration as bB, type SecureProxyUseCaseHistoryEntry as bC, type SecureProxyWhitelist as bD, type SecureProxyWhitelistUpdate as bE, type SetIntegrationAppMappingRequest as bF, type TestNotificationRequest as bG, type TestNotificationResponse as bH, type TimeSeriesBreakdownItemV2 as bI, type TimeSeriesBucket as bJ, type TimeSeriesBucketV2 as bK, type TriggerErpActionRequest as bL, type TriggerWebhookResp as bM, type TypeAnnotations as bN, type TypeDescriptor as bO, type UnblockOutboundStreamRequest as bP, type UnblockOutboundStreamResponse as bQ, type UpdateFileProxyUseCaseRequest as bR, type UpdateInboundUseCaseRequest as bS, type UpdateIntegrationRequest as bT, type UpdateManagedCallUseCaseRequest as bU, type UpdateOutboundUseCaseRequest as bV, type UpdateSecureProxyUseCaseRequest as bW, type UpdateUseCaseRequest as bX, type UpdateUseCaseRequestBase as bY, type UpsertIntegrationWithUseCasesRequest as bZ, type UseCase as b_, type PortalRefConfig as ba, type PortalRefFilter as bb, type PruneScopeConfig as bc, type QueryAccessLogsRequest as bd, type QueryEventsRequest as be, type QueryInboundMonitoringEventsRequest as bf, type QueryMonitoringEventsV2Request as bg, type QueryOutboundMonitoringEventsRequest as bh, type RedriveOutboundDlqRequest as bi, type RedriveOutboundDlqResponse as bj, type RedriveOutboundDlqResult as bk, type RelationConfig as bl, type RelationItemConfig as bm, type RelationRefItemConfig as bn, type RelationRefValueConfig as bo, type RelationRefsConfig as bp, type RelationUniqueIdField as bq, type RepeatableFieldType as br, type ReplayEventsRequest as bs, type RuleBaselineBucket as bt, type RuleBaselineStatus as bu, type S3Reference as bv, type SecureProxyRequest as bw, type SecureProxyResponse as bx, type SecureProxySummary as by, type SecureProxyUpstreamError as bz, type AckOutboundMessagesRequest as c, type UseCaseHistoryEntry as c0, type UseCaseHistoryEntryBase as c1, type UseCaseTypePreview as c2, type WebhookDeliveryConfig as c3, type WebhookStatus as c4, type AckOutboundMessagesResponse as d, type AckResult as e, type AutoRefreshSettings as f, type CommitTypesRequest as g, type CommitTypesResponse as h, type ConnectorConfig as i, type CreateErpImportRequest as j, type CreateErpImportResponse as k, type CreateFileProxyUseCaseRequest as l, type CreateInboundUseCaseRequest as m, type CreateIntegrationRequest as n, type CreateManagedCallUseCaseRequest as o, type CreateOutboundUseCaseRequest as p, type CreateSecureProxyUseCaseRequest as q, type CreateUseCaseRequest as r, type CreateUseCaseRequestBase as s, type DeliveryConfig as t, type EmbeddedInboundUseCaseRequest as u, type EmbeddedManagedCallUseCaseRequest as v, type EmbeddedOutboundUseCaseRequest as w, type EmbeddedSecureProxyUseCaseRequest as x, type EmbeddedUseCaseRequest as y, type EmbeddedUseCaseRequestBase as z };
|
package/docs/deduplication.md
CHANGED
|
@@ -28,6 +28,7 @@ const { data } = await deduplicationClient.deduplicate(...)
|
|
|
28
28
|
- [`deduplicateAsync`](#deduplicateasync)
|
|
29
29
|
- [`getDeduplicationJob`](#getdeduplicationjob)
|
|
30
30
|
- [`detectDuplicates`](#detectduplicates)
|
|
31
|
+
- [`dismissDuplicates`](#dismissduplicates)
|
|
31
32
|
- [`listUniquenessCriteria`](#listuniquenesscriteria)
|
|
32
33
|
- [`createUniquenessCriteria`](#createuniquenesscriteria)
|
|
33
34
|
- [`getUniquenessCriteria`](#getuniquenesscriteria)
|
|
@@ -44,6 +45,8 @@ const { data } = await deduplicationClient.deduplicate(...)
|
|
|
44
45
|
- [`DetectDuplicatesRequestBody`](#detectduplicatesrequestbody)
|
|
45
46
|
- [`DetectDuplicatesResponse`](#detectduplicatesresponse)
|
|
46
47
|
- [`DetectedDuplicateMatch`](#detectedduplicatematch)
|
|
48
|
+
- [`DismissDuplicatesRequestBody`](#dismissduplicatesrequestbody)
|
|
49
|
+
- [`DismissDuplicatesResponse`](#dismissduplicatesresponse)
|
|
47
50
|
- [`UniquenessCriteriaListResponse`](#uniquenesscriterialistresponse)
|
|
48
51
|
- [`UniquenessCriteria`](#uniquenesscriteria)
|
|
49
52
|
- [`MatchRule`](#matchrule)
|
|
@@ -73,26 +76,28 @@ const { data } = await client.deduplicate(
|
|
|
73
76
|
<summary>Response</summary>
|
|
74
77
|
|
|
75
78
|
```json
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
79
|
+
{
|
|
80
|
+
"deduplicatedEntities": [
|
|
81
|
+
{
|
|
82
|
+
"_id": "string",
|
|
83
|
+
"_org": "string",
|
|
84
|
+
"_schema": "string",
|
|
85
|
+
"_created_at": "1970-01-01T00:00:00.000Z",
|
|
86
|
+
"_updated_at": "1970-01-01T00:00:00.000Z",
|
|
87
|
+
"_created_by": "string",
|
|
88
|
+
"created_by": "string",
|
|
89
|
+
"_tags": ["string"],
|
|
90
|
+
"_acl": {},
|
|
91
|
+
"_owners": [
|
|
92
|
+
{
|
|
93
|
+
"org_id": "string",
|
|
94
|
+
"user_id": "string"
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"type": "string"
|
|
98
|
+
}
|
|
99
|
+
]
|
|
100
|
+
}
|
|
96
101
|
```
|
|
97
102
|
|
|
98
103
|
</details>
|
|
@@ -220,6 +225,35 @@ const { data } = await client.detectDuplicates(
|
|
|
220
225
|
|
|
221
226
|
---
|
|
222
227
|
|
|
228
|
+
### `dismissDuplicates`
|
|
229
|
+
|
|
230
|
+
Confirms entities as NOT duplicates: clears the internal duplicate-detection flags (_matching_entities) on each given entity, so they stop appearing as open duplicate sets. The records themselves are
|
|
231
|
+
|
|
232
|
+
`POST /v1/duplicates/dismiss`
|
|
233
|
+
|
|
234
|
+
```ts
|
|
235
|
+
const { data } = await client.dismissDuplicates(
|
|
236
|
+
null,
|
|
237
|
+
{
|
|
238
|
+
schema: 'string',
|
|
239
|
+
entityIds: ['string']
|
|
240
|
+
},
|
|
241
|
+
)
|
|
242
|
+
```
|
|
243
|
+
|
|
244
|
+
<details>
|
|
245
|
+
<summary>Response</summary>
|
|
246
|
+
|
|
247
|
+
```json
|
|
248
|
+
{
|
|
249
|
+
"dismissed": ["string"]
|
|
250
|
+
}
|
|
251
|
+
```
|
|
252
|
+
|
|
253
|
+
</details>
|
|
254
|
+
|
|
255
|
+
---
|
|
256
|
+
|
|
223
257
|
### `listUniquenessCriteria`
|
|
224
258
|
|
|
225
259
|
Lists UniquenessCriteria for the requesting organization. Optionally filtered by schema.
|
|
@@ -441,22 +475,24 @@ type DeduplicateRequestBody = Array<{
|
|
|
441
475
|
### `DeduplicateRequestResponse`
|
|
442
476
|
|
|
443
477
|
```ts
|
|
444
|
-
type DeduplicateRequestResponse =
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
478
|
+
type DeduplicateRequestResponse = {
|
|
479
|
+
deduplicatedEntities: Array<{
|
|
480
|
+
_id: string
|
|
481
|
+
_org?: string
|
|
482
|
+
_schema?: string
|
|
483
|
+
_created_at?: string // date-time
|
|
484
|
+
_updated_at?: string // date-time
|
|
485
|
+
_created_by?: string | number
|
|
486
|
+
created_by?: string | number
|
|
487
|
+
_tags?: string[]
|
|
488
|
+
_acl?: Record<string, string[]>
|
|
489
|
+
_owners?: Array<{
|
|
490
|
+
org_id: { ... }
|
|
491
|
+
user_id: { ... }
|
|
492
|
+
}>
|
|
493
|
+
type?: string
|
|
457
494
|
}>
|
|
458
|
-
|
|
459
|
-
}>
|
|
495
|
+
}
|
|
460
496
|
```
|
|
461
497
|
|
|
462
498
|
### `Entity`
|
|
@@ -588,6 +624,23 @@ type DetectedDuplicateMatch = {
|
|
|
588
624
|
}
|
|
589
625
|
```
|
|
590
626
|
|
|
627
|
+
### `DismissDuplicatesRequestBody`
|
|
628
|
+
|
|
629
|
+
```ts
|
|
630
|
+
type DismissDuplicatesRequestBody = {
|
|
631
|
+
schema: string
|
|
632
|
+
entityIds: string[]
|
|
633
|
+
}
|
|
634
|
+
```
|
|
635
|
+
|
|
636
|
+
### `DismissDuplicatesResponse`
|
|
637
|
+
|
|
638
|
+
```ts
|
|
639
|
+
type DismissDuplicatesResponse = {
|
|
640
|
+
dismissed: string[]
|
|
641
|
+
}
|
|
642
|
+
```
|
|
643
|
+
|
|
591
644
|
### `UniquenessCriteriaListResponse`
|
|
592
645
|
|
|
593
646
|
```ts
|