@epilot/sdk 2.20.12 → 2.20.13
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/integration-toolkit.json +112 -9
- 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 +6 -6
- package/dist/apis/deduplication.js +1 -1
- 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-75JAKEAU.cjs → chunk-ELW4V3ID.cjs} +1 -1
- package/dist/{chunk-36NU5MIM.js → chunk-FONJD6VA.js} +1 -1
- package/dist/index.cjs +8 -8
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/integration-toolkit-GOFVOMNH.js +7 -0
- package/dist/integration-toolkit-XMM5LLK6.cjs +7 -0
- package/dist/{integration-toolkit.d-rpj1kvB_.d.cts → integration-toolkit.d-bhpB79pc.d.cts} +37 -8
- package/dist/{integration-toolkit.d-rpj1kvB_.d.ts → integration-toolkit.d-bhpB79pc.d.ts} +37 -8
- package/docs/integration-toolkit.md +24 -3
- package/package.json +1 -1
- package/dist/integration-toolkit-BHVL3SDT.js +0 -7
- package/dist/integration-toolkit-WWHOAH3S.cjs +0 -7
|
@@ -5725,6 +5725,22 @@ declare namespace Components {
|
|
|
5725
5725
|
...RelationUniqueIdField[]
|
|
5726
5726
|
];
|
|
5727
5727
|
}
|
|
5728
|
+
/**
|
|
5729
|
+
* The monitoring code taxonomy — every code the Integration Toolkit itself emits,
|
|
5730
|
+
* with a fixed level (see the published code reference at
|
|
5731
|
+
* https://docs.epilot.io/docs/integrations/integration-toolkit/monitoring/codes).
|
|
5732
|
+
*
|
|
5733
|
+
* This schema exists so consumers can import the union as a type. It is
|
|
5734
|
+
* deliberately NOT applied to `MonitoringEventV2.code` or to the query filter:
|
|
5735
|
+
* alongside these, the secure proxy emits an unbounded `HTTP_{status}` family for
|
|
5736
|
+
* an upstream refusal, so constraining those fields to this enum would reject a
|
|
5737
|
+
* legitimate value — `code` stays a plain string there on purpose.
|
|
5738
|
+
*
|
|
5739
|
+
* Kept in lock-step with the `MonitoringErrorCode` taxonomy in erp-utils by
|
|
5740
|
+
* `monitoring-code-enum.test.ts`, which fails if the two diverge.
|
|
5741
|
+
*
|
|
5742
|
+
*/
|
|
5743
|
+
export type MonitoringCode = "ACK_CONFIRMED" | "ACK_PENDING" | "ACK_TIMEOUT" | "ATTACHMENT_NOT_FOUND" | "ATTRIBUTE_TYPE_MISMATCH" | "DEPRECATED_ENDPOINT" | "DIRECT_ENTITY_NOT_ALLOWED" | "DIRECT_PAYLOAD_INVALID" | "DIRECT_VERSION_UNSUPPORTED" | "DUPLICATE_EVENT" | "ENTITY_CREATED" | "ENTITY_DELETED" | "ENTITY_NO_OP" | "ENTITY_REFERENCE_NOT_FOUND" | "ENTITY_UPDATED" | "EVENT_NOT_CONFIGURED" | "EXTERNAL_API_ERROR" | "EXTERNAL_ERROR" | "EXTERNAL_INFO" | "EXTERNAL_SUCCESS" | "EXTERNAL_WARNING" | "FAN_OUT_EMPTY" | "FAN_OUT_INVALID_RESULT" | "FILE_EXTRACTION_FAILED" | "FILE_FETCH_FAILED" | "FILE_PROXY_OK" | "FILE_PROXY_UPLOADED" | "FILE_PROXY_UPLOAD_ENQUEUED" | "FILE_PROXY_UPLOAD_FAILED" | "FILE_PROXY_UPLOAD_RETRYING" | "FILE_TOO_LARGE" | "INTEGRATION_NOT_FOUND" | "INVALID_METER_READING_ATTRIBUTES" | "LOOKUP_UNMAPPED" | "MALFORMED_PAYLOAD" | "MAPPING_EXPRESSION_FAILED" | "METERING_API_ERROR" | "METER_READING_DELETED" | "METER_READING_GROUP_FAILED" | "METER_READING_GROUP_RETRYING" | "METER_READING_UPSERTED" | "MISSING_REQUIRED_PARAM" | "MISSING_UNIQUE_IDENTIFIERS" | "MSG_ACKED" | "MSG_DEAD_LETTERED" | "MSG_ENQUEUED" | "MSG_EXPIRED_UNPOLLED" | "MSG_HEAD_BLOCKED" | "OAUTH2_TOKEN_FAILURE" | "PAYLOAD_TOO_LARGE" | "PRUNE_SCOPE_COMPLETED" | "PRUNE_SCOPE_PARTIAL_FAILURE" | "RECURSION_DEPTH_EXCEEDED" | "RELATION_REF_ITEM_NOT_FOUND" | "RELATION_REF_VALUE_UNDEFINED" | "REQUIRED_PARAM_MISSING" | "SECURE_PROXY_DISABLED" | "SECURE_PROXY_DOMAIN_BLOCKED" | "SECURE_PROXY_DOMAIN_NOT_ALLOWED" | "SECURE_PROXY_ERROR" | "SECURE_PROXY_INVALID_CONFIG" | "SECURE_PROXY_INVALID_TYPE" | "SECURE_PROXY_INVALID_URL" | "SECURE_PROXY_IP_BLOCKED" | "SECURE_PROXY_IP_NOT_ALLOWED" | "SECURE_PROXY_NOT_FOUND" | "SECURE_PROXY_UNAVAILABLE" | "SIGNATURE_VERIFICATION_FAILED" | "SIGNATURE_VERIFICATION_UNAVAILABLE" | "SOFT_DELETED_ENTITY_MATCHED" | "STEP_DISABLED" | "TIMEOUT" | "UNIQUE_ID_MULTIPLE_MATCHES" | "UNIQUE_ID_NOT_IN_SCHEMA" | "UNKNOWN_ERROR" | "USE_CASE_DISABLED" | "USE_CASE_INVALID_TYPE" | "USE_CASE_MISSING_CONFIG" | "USE_CASE_NOT_FOUND" | "WEBHOOK_DELIVERED";
|
|
5728
5744
|
export interface MonitoringEventV2 {
|
|
5729
5745
|
/**
|
|
5730
5746
|
* Unique monitoring event ID
|
|
@@ -5757,9 +5773,9 @@ declare namespace Components {
|
|
|
5757
5773
|
/**
|
|
5758
5774
|
* Event outcome level
|
|
5759
5775
|
*/
|
|
5760
|
-
level: "success" | "error" | "
|
|
5776
|
+
level: "success" | "error" | "info" | "warning";
|
|
5761
5777
|
/**
|
|
5762
|
-
* Taxonomy code (e.g. OAUTH2_TOKEN_FAILURE, HTTP_502). Empty for success.
|
|
5778
|
+
* Taxonomy code (e.g. OAUTH2_TOKEN_FAILURE, HTTP_502). Empty for success. One of `MonitoringCode`, or an `HTTP_{status}` family value from the secure proxy — which is why this is a string rather than that enum.
|
|
5763
5779
|
*/
|
|
5764
5780
|
code?: string;
|
|
5765
5781
|
/**
|
|
@@ -5875,9 +5891,13 @@ declare namespace Components {
|
|
|
5875
5891
|
*/
|
|
5876
5892
|
warning_count: number;
|
|
5877
5893
|
/**
|
|
5878
|
-
*
|
|
5894
|
+
* Always 0. The v2 pipeline has no `skipped` level; v1 `skipped` is normalised to `info`. Retained for backward compatibility — use `info_count`.
|
|
5879
5895
|
*/
|
|
5880
5896
|
skipped_count: number;
|
|
5897
|
+
/**
|
|
5898
|
+
* Number of info-level events (ACK lifecycle, poll-queue MSG_*, duplicate events, fan-out anchors). Info events are counted in `total_events` but are excluded from `success_rate`.
|
|
5899
|
+
*/
|
|
5900
|
+
info_count: number;
|
|
5881
5901
|
/**
|
|
5882
5902
|
* Number of ACK_TIMEOUT events (acknowledgement timed out)
|
|
5883
5903
|
*/
|
|
@@ -6988,9 +7008,9 @@ declare namespace Components {
|
|
|
6988
7008
|
/**
|
|
6989
7009
|
* Filter by event level
|
|
6990
7010
|
*/
|
|
6991
|
-
level?: "success" | "error" | "
|
|
7011
|
+
level?: "success" | "error" | "info" | "warning";
|
|
6992
7012
|
/**
|
|
6993
|
-
* Filter by taxonomy code (e.g. OAUTH2_TOKEN_FAILURE, HTTP_502)
|
|
7013
|
+
* Filter by taxonomy code (e.g. OAUTH2_TOKEN_FAILURE, HTTP_502). Accepts any `MonitoringCode` value, or an `HTTP_{status}` family value.
|
|
6994
7014
|
*/
|
|
6995
7015
|
code?: string;
|
|
6996
7016
|
/**
|
|
@@ -7813,9 +7833,13 @@ declare namespace Components {
|
|
|
7813
7833
|
*/
|
|
7814
7834
|
warning_count: number;
|
|
7815
7835
|
/**
|
|
7816
|
-
*
|
|
7836
|
+
* Always 0. The v2 pipeline has no `skipped` level; v1 `skipped` is normalised to `info`. Retained for backward compatibility — use `info_count`.
|
|
7817
7837
|
*/
|
|
7818
7838
|
skipped_count: number;
|
|
7839
|
+
/**
|
|
7840
|
+
* Number of info-level events in the breakdown item
|
|
7841
|
+
*/
|
|
7842
|
+
info_count: number;
|
|
7819
7843
|
/**
|
|
7820
7844
|
* Total events in the breakdown item
|
|
7821
7845
|
*/
|
|
@@ -7864,9 +7888,13 @@ declare namespace Components {
|
|
|
7864
7888
|
*/
|
|
7865
7889
|
warning_count?: number;
|
|
7866
7890
|
/**
|
|
7867
|
-
*
|
|
7891
|
+
* Always 0. The v2 pipeline has no `skipped` level; v1 `skipped` is normalised to `info`. Retained for backward compatibility — use `info_count`.
|
|
7868
7892
|
*/
|
|
7869
7893
|
skipped_count?: number;
|
|
7894
|
+
/**
|
|
7895
|
+
* Number of info-level events in the bucket
|
|
7896
|
+
*/
|
|
7897
|
+
info_count?: number;
|
|
7870
7898
|
/**
|
|
7871
7899
|
* Total events in the bucket
|
|
7872
7900
|
*/
|
|
@@ -11675,6 +11703,7 @@ type MeterReadingPruneScopeConfig = Components.Schemas.MeterReadingPruneScopeCon
|
|
|
11675
11703
|
type MeterReadingPruneScopeUpdate = Components.Schemas.MeterReadingPruneScopeUpdate;
|
|
11676
11704
|
type MeterReadingUpdate = Components.Schemas.MeterReadingUpdate;
|
|
11677
11705
|
type MeterUniqueIdsConfig = Components.Schemas.MeterUniqueIdsConfig;
|
|
11706
|
+
type MonitoringCode = Components.Schemas.MonitoringCode;
|
|
11678
11707
|
type MonitoringEventV2 = Components.Schemas.MonitoringEventV2;
|
|
11679
11708
|
type MonitoringStats = Components.Schemas.MonitoringStats;
|
|
11680
11709
|
type MonitoringStatsV2 = Components.Schemas.MonitoringStatsV2;
|
|
@@ -11767,4 +11796,4 @@ type ValidateErpImportRequest = Components.Schemas.ValidateErpImportRequest;
|
|
|
11767
11796
|
type WebhookDeliveryConfig = Components.Schemas.WebhookDeliveryConfig;
|
|
11768
11797
|
type WebhookStatus = Components.Schemas.WebhookStatus;
|
|
11769
11798
|
|
|
11770
|
-
export { type ErpImportError as $, type AccessLogEntry as A, type DirectRelationValue as B, type Client as C, type DeleteIntegrationAppMappingRequest as D, type DirectSimulationError as E, type DirectSimulationRequest as F, type DirectSimulationResponse as G, type DocumentationPage as H, type DocumentationPageSummary as I, type EmbeddedFileProxyUseCaseRequest as J, type EmbeddedInboundUseCaseRequest as K, type EmbeddedManagedCallUseCaseRequest as L, type EmbeddedOutboundUseCaseRequest as M, type EmbeddedSecureProxyUseCaseRequest as N, type OperationMethods as O, Paths as P, type EmbeddedUseCaseRequest as Q, type EmbeddedUseCaseRequestBase as R, type EntityPruneScopeUpdate as S, type EntitySyncState as T, type EntitySyncStatusResponse as U, type EntityUpdate as V, type EnvVarRefConfig as W, type EnvironmentFieldConfig as X, type ErpEvent as Y, type ErpEventV3 as Z, type ErpImportEntityDetail as _, Components as a, type MappedFieldValue as a$, type ErpImportFilePreview as a0, type ErpImportIssue as a1, type ErpImportJob as a2, type ErpImportList as a3, type ErpImportProgress as a4, type ErpImportUseCaseSuggestion as a5, type ErpImportValidation as a6, type ErpUpdatesEventsV2Request as a7, type ErpUpdatesEventsV3Request as a8, type ErrorResponseBase as a9, type InboundUseCaseHistoryEntry as aA, type IngestExternalMonitoringEventsRequest as aB, type IngestExternalMonitoringEventsResponse as aC, type Integration as aD, type IntegrationAppMapping as aE, type IntegrationConfigurationV1 as aF, type IntegrationConfigurationV2 as aG, type IntegrationEditableFields as aH, type IntegrationEntity as aI, type IntegrationEntityConditional as aJ, type IntegrationEntityField as aK, type IntegrationEntityFold as aL, type IntegrationFieldV1 as aM, type IntegrationMap as aN, type IntegrationMeterReading as aO, type IntegrationNotificationConfig as aP, type IntegrationObjectV1 as aQ, type IntegrationSettings as aR, type IntegrationWithUseCases as aS, type ManagedCallAuth as aT, type ManagedCallErrorResponse as aU, type ManagedCallExecuteRequest as aV, type ManagedCallExecuteResponse as aW, type ManagedCallOperation as aX, type ManagedCallOperationConfig as aY, type ManagedCallUseCase as aZ, type ManagedCallUseCaseHistoryEntry as a_, type ExecuteErpImportRequest as aa, type ExternalMonitoringSpan as ab, type FileProxyAuth as ac, type FileProxyDeliveryConfig as ad, type FileProxyFanOutConfig as ae, type FileProxyParam as af, type FileProxyResponseConfig as ag, type FileProxySecureProxyAttachment as ah, type FileProxyStep as ai, type FileProxyUploadConfig as aj, type FileProxyUrlConfig as ak, type FileProxyUrlParam as al, type FileProxyUrlParams as am, type FileProxyUseCase as an, type FileProxyUseCaseConfiguration as ao, type FileProxyUseCaseHistoryEntry as ap, type GenerateTypesPreviewResponse as aq, type GenerateTypesRequest as ar, type GenerateTypesResponse as as, type GetMonitoringStatsRequest as at, type GetMonitoringStatsV2Request as au, type GetMonitoringTimeSeriesRequest as av, type GetMonitoringTimeSeriesV2Request as aw, type InboundIntegrationEventConfiguration as ax, type InboundMonitoringEvent as ay, type InboundUseCase as az, type PathsDictionary as b, type
|
|
11799
|
+
export { type ErpImportError as $, type AccessLogEntry as A, type DirectRelationValue as B, type Client as C, type DeleteIntegrationAppMappingRequest as D, type DirectSimulationError as E, type DirectSimulationRequest as F, type DirectSimulationResponse as G, type DocumentationPage as H, type DocumentationPageSummary as I, type EmbeddedFileProxyUseCaseRequest as J, type EmbeddedInboundUseCaseRequest as K, type EmbeddedManagedCallUseCaseRequest as L, type EmbeddedOutboundUseCaseRequest as M, type EmbeddedSecureProxyUseCaseRequest as N, type OperationMethods as O, Paths as P, type EmbeddedUseCaseRequest as Q, type EmbeddedUseCaseRequestBase as R, type EntityPruneScopeUpdate as S, type EntitySyncState as T, type EntitySyncStatusResponse as U, type EntityUpdate as V, type EnvVarRefConfig as W, type EnvironmentFieldConfig as X, type ErpEvent as Y, type ErpEventV3 as Z, type ErpImportEntityDetail as _, Components as a, type MappedFieldValue as a$, type ErpImportFilePreview as a0, type ErpImportIssue as a1, type ErpImportJob as a2, type ErpImportList as a3, type ErpImportProgress as a4, type ErpImportUseCaseSuggestion as a5, type ErpImportValidation as a6, type ErpUpdatesEventsV2Request as a7, type ErpUpdatesEventsV3Request as a8, type ErrorResponseBase as a9, type InboundUseCaseHistoryEntry as aA, type IngestExternalMonitoringEventsRequest as aB, type IngestExternalMonitoringEventsResponse as aC, type Integration as aD, type IntegrationAppMapping as aE, type IntegrationConfigurationV1 as aF, type IntegrationConfigurationV2 as aG, type IntegrationEditableFields as aH, type IntegrationEntity as aI, type IntegrationEntityConditional as aJ, type IntegrationEntityField as aK, type IntegrationEntityFold as aL, type IntegrationFieldV1 as aM, type IntegrationMap as aN, type IntegrationMeterReading as aO, type IntegrationNotificationConfig as aP, type IntegrationObjectV1 as aQ, type IntegrationSettings as aR, type IntegrationWithUseCases as aS, type ManagedCallAuth as aT, type ManagedCallErrorResponse as aU, type ManagedCallExecuteRequest as aV, type ManagedCallExecuteResponse as aW, type ManagedCallOperation as aX, type ManagedCallOperationConfig as aY, type ManagedCallUseCase as aZ, type ManagedCallUseCaseHistoryEntry as a_, type ExecuteErpImportRequest as aa, type ExternalMonitoringSpan as ab, type FileProxyAuth as ac, type FileProxyDeliveryConfig as ad, type FileProxyFanOutConfig as ae, type FileProxyParam as af, type FileProxyResponseConfig as ag, type FileProxySecureProxyAttachment as ah, type FileProxyStep as ai, type FileProxyUploadConfig as aj, type FileProxyUrlConfig as ak, type FileProxyUrlParam as al, type FileProxyUrlParams as am, type FileProxyUseCase as an, type FileProxyUseCaseConfiguration as ao, type FileProxyUseCaseHistoryEntry as ap, type GenerateTypesPreviewResponse as aq, type GenerateTypesRequest as ar, type GenerateTypesResponse as as, type GetMonitoringStatsRequest as at, type GetMonitoringStatsV2Request as au, type GetMonitoringTimeSeriesRequest as av, type GetMonitoringTimeSeriesV2Request as aw, type InboundIntegrationEventConfiguration as ax, type InboundMonitoringEvent as ay, type InboundUseCase as az, type PathsDictionary as b, type SecureProxyUpstreamError as b$, type MappingSimulationRequest as b0, type MappingSimulationResponse as b1, type MappingSimulationV2Request as b2, type MappingSimulationWarning as b3, type MeterReadingPruneScopeConfig as b4, type MeterReadingPruneScopeUpdate as b5, type MeterReadingUpdate as b6, type MeterUniqueIdsConfig as b7, type MonitoringCode as b8, type MonitoringEventV2 as b9, type PollOutboundMessagesResponse as bA, type PortalOrigin as bB, type PortalRefConfig as bC, type PortalRefFilter as bD, type PruneScopeConfig as bE, type QueryAccessLogsRequest as bF, type QueryEventsRequest as bG, type QueryInboundMonitoringEventsRequest as bH, type QueryMonitoringEventsV2Request as bI, type QueryOutboundMonitoringEventsRequest as bJ, type RedriveOutboundDlqRequest as bK, type RedriveOutboundDlqResponse as bL, type RedriveOutboundDlqResult as bM, type RelationConfig as bN, type RelationItemConfig as bO, type RelationRefItemConfig as bP, type RelationRefValueConfig as bQ, type RelationRefsConfig as bR, type RelationUniqueIdField as bS, type RepeatableFieldType as bT, type ReplayEventsRequest as bU, type RuleBaselineBucket as bV, type RuleBaselineStatus as bW, type S3Reference as bX, type SecureProxyRequest as bY, type SecureProxyResponse as bZ, type SecureProxySummary as b_, type MonitoringStats as ba, type MonitoringStatsV2 as bb, type MonitoringTraceResponse as bc, type NotificationChannelSet as bd, type NotificationDigestConfig as be, type NotificationHistoryItem as bf, type NotificationHistoryResponse as bg, type NotificationRecipient as bh, type NotificationRule as bi, type NotificationRuleStatus as bj, type NotificationStatusResponse as bk, type OutboundConflict as bl, type OutboundDlqListResponse as bm, type OutboundDlqMessage as bn, type OutboundFileProxyTargetStatus as bo, type OutboundIntegrationEventConfiguration as bp, type OutboundMapping as bq, type OutboundMessage as br, type OutboundMonitoringEvent as bs, type OutboundPollStatus as bt, type OutboundStatusResponse as bu, type OutboundUseCase as bv, type OutboundUseCaseHistoryEntry as bw, type OutboundUseCaseStatus as bx, type PollDeliveryConfig as by, type PollOutboundMessagesRequest as bz, type AckOutboundMessagesRequest as c, type SecureProxyUseCase as c0, type SecureProxyUseCaseConfiguration as c1, type SecureProxyUseCaseHistoryEntry as c2, type SecureProxyWhitelist as c3, type SecureProxyWhitelistUpdate as c4, type SetIntegrationAppMappingRequest as c5, type SuggestErpImportUseCasesResponse as c6, type TestNotificationRequest as c7, type TestNotificationResponse as c8, type TimeSeriesBreakdownItemV2 as c9, type TimeSeriesBucket as ca, type TimeSeriesBucketV2 as cb, type TriggerErpActionRequest as cc, type TriggerWebhookResp as cd, type TypeAnnotations as ce, type TypeDescriptor as cf, type UnblockOutboundStreamRequest as cg, type UnblockOutboundStreamResponse as ch, type UpdateFileProxyUseCaseRequest as ci, type UpdateInboundUseCaseRequest as cj, type UpdateIntegrationRequest as ck, type UpdateManagedCallUseCaseRequest as cl, type UpdateOutboundUseCaseRequest as cm, type UpdateSecureProxyUseCaseRequest as cn, type UpdateUseCaseRequest as co, type UpdateUseCaseRequestBase as cp, type UpsertDocumentationPageRequest as cq, type UpsertIntegrationWithUseCasesRequest as cr, type UseCase as cs, type UseCaseBase as ct, type UseCaseHistoryEntry as cu, type UseCaseHistoryEntryBase as cv, type UseCaseTypePreview as cw, type ValidateErpImportRequest as cx, type WebhookDeliveryConfig as cy, type WebhookStatus as cz, 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 DirectEntityOperation as u, type DirectMeterReadingOperation as v, type DirectPayload as w, type DirectRelationItem as x, type DirectRelationRefItem as y, type DirectRelationRefValue as z };
|
|
@@ -5725,6 +5725,22 @@ declare namespace Components {
|
|
|
5725
5725
|
...RelationUniqueIdField[]
|
|
5726
5726
|
];
|
|
5727
5727
|
}
|
|
5728
|
+
/**
|
|
5729
|
+
* The monitoring code taxonomy — every code the Integration Toolkit itself emits,
|
|
5730
|
+
* with a fixed level (see the published code reference at
|
|
5731
|
+
* https://docs.epilot.io/docs/integrations/integration-toolkit/monitoring/codes).
|
|
5732
|
+
*
|
|
5733
|
+
* This schema exists so consumers can import the union as a type. It is
|
|
5734
|
+
* deliberately NOT applied to `MonitoringEventV2.code` or to the query filter:
|
|
5735
|
+
* alongside these, the secure proxy emits an unbounded `HTTP_{status}` family for
|
|
5736
|
+
* an upstream refusal, so constraining those fields to this enum would reject a
|
|
5737
|
+
* legitimate value — `code` stays a plain string there on purpose.
|
|
5738
|
+
*
|
|
5739
|
+
* Kept in lock-step with the `MonitoringErrorCode` taxonomy in erp-utils by
|
|
5740
|
+
* `monitoring-code-enum.test.ts`, which fails if the two diverge.
|
|
5741
|
+
*
|
|
5742
|
+
*/
|
|
5743
|
+
export type MonitoringCode = "ACK_CONFIRMED" | "ACK_PENDING" | "ACK_TIMEOUT" | "ATTACHMENT_NOT_FOUND" | "ATTRIBUTE_TYPE_MISMATCH" | "DEPRECATED_ENDPOINT" | "DIRECT_ENTITY_NOT_ALLOWED" | "DIRECT_PAYLOAD_INVALID" | "DIRECT_VERSION_UNSUPPORTED" | "DUPLICATE_EVENT" | "ENTITY_CREATED" | "ENTITY_DELETED" | "ENTITY_NO_OP" | "ENTITY_REFERENCE_NOT_FOUND" | "ENTITY_UPDATED" | "EVENT_NOT_CONFIGURED" | "EXTERNAL_API_ERROR" | "EXTERNAL_ERROR" | "EXTERNAL_INFO" | "EXTERNAL_SUCCESS" | "EXTERNAL_WARNING" | "FAN_OUT_EMPTY" | "FAN_OUT_INVALID_RESULT" | "FILE_EXTRACTION_FAILED" | "FILE_FETCH_FAILED" | "FILE_PROXY_OK" | "FILE_PROXY_UPLOADED" | "FILE_PROXY_UPLOAD_ENQUEUED" | "FILE_PROXY_UPLOAD_FAILED" | "FILE_PROXY_UPLOAD_RETRYING" | "FILE_TOO_LARGE" | "INTEGRATION_NOT_FOUND" | "INVALID_METER_READING_ATTRIBUTES" | "LOOKUP_UNMAPPED" | "MALFORMED_PAYLOAD" | "MAPPING_EXPRESSION_FAILED" | "METERING_API_ERROR" | "METER_READING_DELETED" | "METER_READING_GROUP_FAILED" | "METER_READING_GROUP_RETRYING" | "METER_READING_UPSERTED" | "MISSING_REQUIRED_PARAM" | "MISSING_UNIQUE_IDENTIFIERS" | "MSG_ACKED" | "MSG_DEAD_LETTERED" | "MSG_ENQUEUED" | "MSG_EXPIRED_UNPOLLED" | "MSG_HEAD_BLOCKED" | "OAUTH2_TOKEN_FAILURE" | "PAYLOAD_TOO_LARGE" | "PRUNE_SCOPE_COMPLETED" | "PRUNE_SCOPE_PARTIAL_FAILURE" | "RECURSION_DEPTH_EXCEEDED" | "RELATION_REF_ITEM_NOT_FOUND" | "RELATION_REF_VALUE_UNDEFINED" | "REQUIRED_PARAM_MISSING" | "SECURE_PROXY_DISABLED" | "SECURE_PROXY_DOMAIN_BLOCKED" | "SECURE_PROXY_DOMAIN_NOT_ALLOWED" | "SECURE_PROXY_ERROR" | "SECURE_PROXY_INVALID_CONFIG" | "SECURE_PROXY_INVALID_TYPE" | "SECURE_PROXY_INVALID_URL" | "SECURE_PROXY_IP_BLOCKED" | "SECURE_PROXY_IP_NOT_ALLOWED" | "SECURE_PROXY_NOT_FOUND" | "SECURE_PROXY_UNAVAILABLE" | "SIGNATURE_VERIFICATION_FAILED" | "SIGNATURE_VERIFICATION_UNAVAILABLE" | "SOFT_DELETED_ENTITY_MATCHED" | "STEP_DISABLED" | "TIMEOUT" | "UNIQUE_ID_MULTIPLE_MATCHES" | "UNIQUE_ID_NOT_IN_SCHEMA" | "UNKNOWN_ERROR" | "USE_CASE_DISABLED" | "USE_CASE_INVALID_TYPE" | "USE_CASE_MISSING_CONFIG" | "USE_CASE_NOT_FOUND" | "WEBHOOK_DELIVERED";
|
|
5728
5744
|
export interface MonitoringEventV2 {
|
|
5729
5745
|
/**
|
|
5730
5746
|
* Unique monitoring event ID
|
|
@@ -5757,9 +5773,9 @@ declare namespace Components {
|
|
|
5757
5773
|
/**
|
|
5758
5774
|
* Event outcome level
|
|
5759
5775
|
*/
|
|
5760
|
-
level: "success" | "error" | "
|
|
5776
|
+
level: "success" | "error" | "info" | "warning";
|
|
5761
5777
|
/**
|
|
5762
|
-
* Taxonomy code (e.g. OAUTH2_TOKEN_FAILURE, HTTP_502). Empty for success.
|
|
5778
|
+
* Taxonomy code (e.g. OAUTH2_TOKEN_FAILURE, HTTP_502). Empty for success. One of `MonitoringCode`, or an `HTTP_{status}` family value from the secure proxy — which is why this is a string rather than that enum.
|
|
5763
5779
|
*/
|
|
5764
5780
|
code?: string;
|
|
5765
5781
|
/**
|
|
@@ -5875,9 +5891,13 @@ declare namespace Components {
|
|
|
5875
5891
|
*/
|
|
5876
5892
|
warning_count: number;
|
|
5877
5893
|
/**
|
|
5878
|
-
*
|
|
5894
|
+
* Always 0. The v2 pipeline has no `skipped` level; v1 `skipped` is normalised to `info`. Retained for backward compatibility — use `info_count`.
|
|
5879
5895
|
*/
|
|
5880
5896
|
skipped_count: number;
|
|
5897
|
+
/**
|
|
5898
|
+
* Number of info-level events (ACK lifecycle, poll-queue MSG_*, duplicate events, fan-out anchors). Info events are counted in `total_events` but are excluded from `success_rate`.
|
|
5899
|
+
*/
|
|
5900
|
+
info_count: number;
|
|
5881
5901
|
/**
|
|
5882
5902
|
* Number of ACK_TIMEOUT events (acknowledgement timed out)
|
|
5883
5903
|
*/
|
|
@@ -6988,9 +7008,9 @@ declare namespace Components {
|
|
|
6988
7008
|
/**
|
|
6989
7009
|
* Filter by event level
|
|
6990
7010
|
*/
|
|
6991
|
-
level?: "success" | "error" | "
|
|
7011
|
+
level?: "success" | "error" | "info" | "warning";
|
|
6992
7012
|
/**
|
|
6993
|
-
* Filter by taxonomy code (e.g. OAUTH2_TOKEN_FAILURE, HTTP_502)
|
|
7013
|
+
* Filter by taxonomy code (e.g. OAUTH2_TOKEN_FAILURE, HTTP_502). Accepts any `MonitoringCode` value, or an `HTTP_{status}` family value.
|
|
6994
7014
|
*/
|
|
6995
7015
|
code?: string;
|
|
6996
7016
|
/**
|
|
@@ -7813,9 +7833,13 @@ declare namespace Components {
|
|
|
7813
7833
|
*/
|
|
7814
7834
|
warning_count: number;
|
|
7815
7835
|
/**
|
|
7816
|
-
*
|
|
7836
|
+
* Always 0. The v2 pipeline has no `skipped` level; v1 `skipped` is normalised to `info`. Retained for backward compatibility — use `info_count`.
|
|
7817
7837
|
*/
|
|
7818
7838
|
skipped_count: number;
|
|
7839
|
+
/**
|
|
7840
|
+
* Number of info-level events in the breakdown item
|
|
7841
|
+
*/
|
|
7842
|
+
info_count: number;
|
|
7819
7843
|
/**
|
|
7820
7844
|
* Total events in the breakdown item
|
|
7821
7845
|
*/
|
|
@@ -7864,9 +7888,13 @@ declare namespace Components {
|
|
|
7864
7888
|
*/
|
|
7865
7889
|
warning_count?: number;
|
|
7866
7890
|
/**
|
|
7867
|
-
*
|
|
7891
|
+
* Always 0. The v2 pipeline has no `skipped` level; v1 `skipped` is normalised to `info`. Retained for backward compatibility — use `info_count`.
|
|
7868
7892
|
*/
|
|
7869
7893
|
skipped_count?: number;
|
|
7894
|
+
/**
|
|
7895
|
+
* Number of info-level events in the bucket
|
|
7896
|
+
*/
|
|
7897
|
+
info_count?: number;
|
|
7870
7898
|
/**
|
|
7871
7899
|
* Total events in the bucket
|
|
7872
7900
|
*/
|
|
@@ -11675,6 +11703,7 @@ type MeterReadingPruneScopeConfig = Components.Schemas.MeterReadingPruneScopeCon
|
|
|
11675
11703
|
type MeterReadingPruneScopeUpdate = Components.Schemas.MeterReadingPruneScopeUpdate;
|
|
11676
11704
|
type MeterReadingUpdate = Components.Schemas.MeterReadingUpdate;
|
|
11677
11705
|
type MeterUniqueIdsConfig = Components.Schemas.MeterUniqueIdsConfig;
|
|
11706
|
+
type MonitoringCode = Components.Schemas.MonitoringCode;
|
|
11678
11707
|
type MonitoringEventV2 = Components.Schemas.MonitoringEventV2;
|
|
11679
11708
|
type MonitoringStats = Components.Schemas.MonitoringStats;
|
|
11680
11709
|
type MonitoringStatsV2 = Components.Schemas.MonitoringStatsV2;
|
|
@@ -11767,4 +11796,4 @@ type ValidateErpImportRequest = Components.Schemas.ValidateErpImportRequest;
|
|
|
11767
11796
|
type WebhookDeliveryConfig = Components.Schemas.WebhookDeliveryConfig;
|
|
11768
11797
|
type WebhookStatus = Components.Schemas.WebhookStatus;
|
|
11769
11798
|
|
|
11770
|
-
export { type ErpImportError as $, type AccessLogEntry as A, type DirectRelationValue as B, type Client as C, type DeleteIntegrationAppMappingRequest as D, type DirectSimulationError as E, type DirectSimulationRequest as F, type DirectSimulationResponse as G, type DocumentationPage as H, type DocumentationPageSummary as I, type EmbeddedFileProxyUseCaseRequest as J, type EmbeddedInboundUseCaseRequest as K, type EmbeddedManagedCallUseCaseRequest as L, type EmbeddedOutboundUseCaseRequest as M, type EmbeddedSecureProxyUseCaseRequest as N, type OperationMethods as O, Paths as P, type EmbeddedUseCaseRequest as Q, type EmbeddedUseCaseRequestBase as R, type EntityPruneScopeUpdate as S, type EntitySyncState as T, type EntitySyncStatusResponse as U, type EntityUpdate as V, type EnvVarRefConfig as W, type EnvironmentFieldConfig as X, type ErpEvent as Y, type ErpEventV3 as Z, type ErpImportEntityDetail as _, Components as a, type MappedFieldValue as a$, type ErpImportFilePreview as a0, type ErpImportIssue as a1, type ErpImportJob as a2, type ErpImportList as a3, type ErpImportProgress as a4, type ErpImportUseCaseSuggestion as a5, type ErpImportValidation as a6, type ErpUpdatesEventsV2Request as a7, type ErpUpdatesEventsV3Request as a8, type ErrorResponseBase as a9, type InboundUseCaseHistoryEntry as aA, type IngestExternalMonitoringEventsRequest as aB, type IngestExternalMonitoringEventsResponse as aC, type Integration as aD, type IntegrationAppMapping as aE, type IntegrationConfigurationV1 as aF, type IntegrationConfigurationV2 as aG, type IntegrationEditableFields as aH, type IntegrationEntity as aI, type IntegrationEntityConditional as aJ, type IntegrationEntityField as aK, type IntegrationEntityFold as aL, type IntegrationFieldV1 as aM, type IntegrationMap as aN, type IntegrationMeterReading as aO, type IntegrationNotificationConfig as aP, type IntegrationObjectV1 as aQ, type IntegrationSettings as aR, type IntegrationWithUseCases as aS, type ManagedCallAuth as aT, type ManagedCallErrorResponse as aU, type ManagedCallExecuteRequest as aV, type ManagedCallExecuteResponse as aW, type ManagedCallOperation as aX, type ManagedCallOperationConfig as aY, type ManagedCallUseCase as aZ, type ManagedCallUseCaseHistoryEntry as a_, type ExecuteErpImportRequest as aa, type ExternalMonitoringSpan as ab, type FileProxyAuth as ac, type FileProxyDeliveryConfig as ad, type FileProxyFanOutConfig as ae, type FileProxyParam as af, type FileProxyResponseConfig as ag, type FileProxySecureProxyAttachment as ah, type FileProxyStep as ai, type FileProxyUploadConfig as aj, type FileProxyUrlConfig as ak, type FileProxyUrlParam as al, type FileProxyUrlParams as am, type FileProxyUseCase as an, type FileProxyUseCaseConfiguration as ao, type FileProxyUseCaseHistoryEntry as ap, type GenerateTypesPreviewResponse as aq, type GenerateTypesRequest as ar, type GenerateTypesResponse as as, type GetMonitoringStatsRequest as at, type GetMonitoringStatsV2Request as au, type GetMonitoringTimeSeriesRequest as av, type GetMonitoringTimeSeriesV2Request as aw, type InboundIntegrationEventConfiguration as ax, type InboundMonitoringEvent as ay, type InboundUseCase as az, type PathsDictionary as b, type
|
|
11799
|
+
export { type ErpImportError as $, type AccessLogEntry as A, type DirectRelationValue as B, type Client as C, type DeleteIntegrationAppMappingRequest as D, type DirectSimulationError as E, type DirectSimulationRequest as F, type DirectSimulationResponse as G, type DocumentationPage as H, type DocumentationPageSummary as I, type EmbeddedFileProxyUseCaseRequest as J, type EmbeddedInboundUseCaseRequest as K, type EmbeddedManagedCallUseCaseRequest as L, type EmbeddedOutboundUseCaseRequest as M, type EmbeddedSecureProxyUseCaseRequest as N, type OperationMethods as O, Paths as P, type EmbeddedUseCaseRequest as Q, type EmbeddedUseCaseRequestBase as R, type EntityPruneScopeUpdate as S, type EntitySyncState as T, type EntitySyncStatusResponse as U, type EntityUpdate as V, type EnvVarRefConfig as W, type EnvironmentFieldConfig as X, type ErpEvent as Y, type ErpEventV3 as Z, type ErpImportEntityDetail as _, Components as a, type MappedFieldValue as a$, type ErpImportFilePreview as a0, type ErpImportIssue as a1, type ErpImportJob as a2, type ErpImportList as a3, type ErpImportProgress as a4, type ErpImportUseCaseSuggestion as a5, type ErpImportValidation as a6, type ErpUpdatesEventsV2Request as a7, type ErpUpdatesEventsV3Request as a8, type ErrorResponseBase as a9, type InboundUseCaseHistoryEntry as aA, type IngestExternalMonitoringEventsRequest as aB, type IngestExternalMonitoringEventsResponse as aC, type Integration as aD, type IntegrationAppMapping as aE, type IntegrationConfigurationV1 as aF, type IntegrationConfigurationV2 as aG, type IntegrationEditableFields as aH, type IntegrationEntity as aI, type IntegrationEntityConditional as aJ, type IntegrationEntityField as aK, type IntegrationEntityFold as aL, type IntegrationFieldV1 as aM, type IntegrationMap as aN, type IntegrationMeterReading as aO, type IntegrationNotificationConfig as aP, type IntegrationObjectV1 as aQ, type IntegrationSettings as aR, type IntegrationWithUseCases as aS, type ManagedCallAuth as aT, type ManagedCallErrorResponse as aU, type ManagedCallExecuteRequest as aV, type ManagedCallExecuteResponse as aW, type ManagedCallOperation as aX, type ManagedCallOperationConfig as aY, type ManagedCallUseCase as aZ, type ManagedCallUseCaseHistoryEntry as a_, type ExecuteErpImportRequest as aa, type ExternalMonitoringSpan as ab, type FileProxyAuth as ac, type FileProxyDeliveryConfig as ad, type FileProxyFanOutConfig as ae, type FileProxyParam as af, type FileProxyResponseConfig as ag, type FileProxySecureProxyAttachment as ah, type FileProxyStep as ai, type FileProxyUploadConfig as aj, type FileProxyUrlConfig as ak, type FileProxyUrlParam as al, type FileProxyUrlParams as am, type FileProxyUseCase as an, type FileProxyUseCaseConfiguration as ao, type FileProxyUseCaseHistoryEntry as ap, type GenerateTypesPreviewResponse as aq, type GenerateTypesRequest as ar, type GenerateTypesResponse as as, type GetMonitoringStatsRequest as at, type GetMonitoringStatsV2Request as au, type GetMonitoringTimeSeriesRequest as av, type GetMonitoringTimeSeriesV2Request as aw, type InboundIntegrationEventConfiguration as ax, type InboundMonitoringEvent as ay, type InboundUseCase as az, type PathsDictionary as b, type SecureProxyUpstreamError as b$, type MappingSimulationRequest as b0, type MappingSimulationResponse as b1, type MappingSimulationV2Request as b2, type MappingSimulationWarning as b3, type MeterReadingPruneScopeConfig as b4, type MeterReadingPruneScopeUpdate as b5, type MeterReadingUpdate as b6, type MeterUniqueIdsConfig as b7, type MonitoringCode as b8, type MonitoringEventV2 as b9, type PollOutboundMessagesResponse as bA, type PortalOrigin as bB, type PortalRefConfig as bC, type PortalRefFilter as bD, type PruneScopeConfig as bE, type QueryAccessLogsRequest as bF, type QueryEventsRequest as bG, type QueryInboundMonitoringEventsRequest as bH, type QueryMonitoringEventsV2Request as bI, type QueryOutboundMonitoringEventsRequest as bJ, type RedriveOutboundDlqRequest as bK, type RedriveOutboundDlqResponse as bL, type RedriveOutboundDlqResult as bM, type RelationConfig as bN, type RelationItemConfig as bO, type RelationRefItemConfig as bP, type RelationRefValueConfig as bQ, type RelationRefsConfig as bR, type RelationUniqueIdField as bS, type RepeatableFieldType as bT, type ReplayEventsRequest as bU, type RuleBaselineBucket as bV, type RuleBaselineStatus as bW, type S3Reference as bX, type SecureProxyRequest as bY, type SecureProxyResponse as bZ, type SecureProxySummary as b_, type MonitoringStats as ba, type MonitoringStatsV2 as bb, type MonitoringTraceResponse as bc, type NotificationChannelSet as bd, type NotificationDigestConfig as be, type NotificationHistoryItem as bf, type NotificationHistoryResponse as bg, type NotificationRecipient as bh, type NotificationRule as bi, type NotificationRuleStatus as bj, type NotificationStatusResponse as bk, type OutboundConflict as bl, type OutboundDlqListResponse as bm, type OutboundDlqMessage as bn, type OutboundFileProxyTargetStatus as bo, type OutboundIntegrationEventConfiguration as bp, type OutboundMapping as bq, type OutboundMessage as br, type OutboundMonitoringEvent as bs, type OutboundPollStatus as bt, type OutboundStatusResponse as bu, type OutboundUseCase as bv, type OutboundUseCaseHistoryEntry as bw, type OutboundUseCaseStatus as bx, type PollDeliveryConfig as by, type PollOutboundMessagesRequest as bz, type AckOutboundMessagesRequest as c, type SecureProxyUseCase as c0, type SecureProxyUseCaseConfiguration as c1, type SecureProxyUseCaseHistoryEntry as c2, type SecureProxyWhitelist as c3, type SecureProxyWhitelistUpdate as c4, type SetIntegrationAppMappingRequest as c5, type SuggestErpImportUseCasesResponse as c6, type TestNotificationRequest as c7, type TestNotificationResponse as c8, type TimeSeriesBreakdownItemV2 as c9, type TimeSeriesBucket as ca, type TimeSeriesBucketV2 as cb, type TriggerErpActionRequest as cc, type TriggerWebhookResp as cd, type TypeAnnotations as ce, type TypeDescriptor as cf, type UnblockOutboundStreamRequest as cg, type UnblockOutboundStreamResponse as ch, type UpdateFileProxyUseCaseRequest as ci, type UpdateInboundUseCaseRequest as cj, type UpdateIntegrationRequest as ck, type UpdateManagedCallUseCaseRequest as cl, type UpdateOutboundUseCaseRequest as cm, type UpdateSecureProxyUseCaseRequest as cn, type UpdateUseCaseRequest as co, type UpdateUseCaseRequestBase as cp, type UpsertDocumentationPageRequest as cq, type UpsertIntegrationWithUseCasesRequest as cr, type UseCase as cs, type UseCaseBase as ct, type UseCaseHistoryEntry as cu, type UseCaseHistoryEntryBase as cv, type UseCaseTypePreview as cw, type ValidateErpImportRequest as cx, type WebhookDeliveryConfig as cy, type WebhookStatus as cz, 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 DirectEntityOperation as u, type DirectMeterReadingOperation as v, type DirectPayload as w, type DirectRelationItem as x, type DirectRelationRefItem as y, type DirectRelationRefValue as z };
|
|
@@ -308,6 +308,7 @@ const { data } = await integrationToolkitClient.acknowledgeTracking(...)
|
|
|
308
308
|
- [`IngestExternalMonitoringEventsRequest`](#ingestexternalmonitoringeventsrequest)
|
|
309
309
|
- [`IngestExternalMonitoringEventsResponse`](#ingestexternalmonitoringeventsresponse)
|
|
310
310
|
- [`MonitoringTraceResponse`](#monitoringtraceresponse)
|
|
311
|
+
- [`MonitoringCode`](#monitoringcode)
|
|
311
312
|
- [`MonitoringEventV2`](#monitoringeventv2)
|
|
312
313
|
- [`GetMonitoringStatsV2Request`](#getmonitoringstatsv2request)
|
|
313
314
|
- [`MonitoringStatsV2`](#monitoringstatsv2)
|
|
@@ -3202,6 +3203,7 @@ const { data } = await client.getMonitoringStatsV2(
|
|
|
3202
3203
|
"error_count": 0,
|
|
3203
3204
|
"warning_count": 0,
|
|
3204
3205
|
"skipped_count": 0,
|
|
3206
|
+
"info_count": 0,
|
|
3205
3207
|
"ack_timeout_count": 0,
|
|
3206
3208
|
"success_rate": 0,
|
|
3207
3209
|
"last_error_at": "1970-01-01T00:00:00.000Z",
|
|
@@ -3252,6 +3254,7 @@ const { data } = await client.getMonitoringTimeSeriesV2(
|
|
|
3252
3254
|
"error_count": 0,
|
|
3253
3255
|
"warning_count": 0,
|
|
3254
3256
|
"skipped_count": 0,
|
|
3257
|
+
"info_count": 0,
|
|
3255
3258
|
"total_count": 0,
|
|
3256
3259
|
"breakdown": [
|
|
3257
3260
|
{
|
|
@@ -3261,6 +3264,7 @@ const { data } = await client.getMonitoringTimeSeriesV2(
|
|
|
3261
3264
|
"error_count": 0,
|
|
3262
3265
|
"warning_count": 0,
|
|
3263
3266
|
"skipped_count": 0,
|
|
3267
|
+
"info_count": 0,
|
|
3264
3268
|
"total_count": 0
|
|
3265
3269
|
}
|
|
3266
3270
|
]
|
|
@@ -9291,7 +9295,7 @@ type InboundMonitoringEvent = {
|
|
|
9291
9295
|
type QueryMonitoringEventsV2Request = {
|
|
9292
9296
|
use_case_id?: string
|
|
9293
9297
|
use_case_type?: "inbound" | "outbound" | "file_proxy" | "managed_call" | "secure_proxy"
|
|
9294
|
-
level?: "success" | "error" | "
|
|
9298
|
+
level?: "success" | "error" | "info" | "warning"
|
|
9295
9299
|
code?: string
|
|
9296
9300
|
event_id?: string
|
|
9297
9301
|
correlation_id?: string
|
|
@@ -9367,7 +9371,7 @@ type MonitoringTraceResponse = {
|
|
|
9367
9371
|
correlation_id?: string
|
|
9368
9372
|
use_case_id?: string
|
|
9369
9373
|
use_case_type: "inbound" | "outbound" | "file_proxy" | "managed_call" | "secure_proxy" | ""
|
|
9370
|
-
level: "success" | "error" | "
|
|
9374
|
+
level: "success" | "error" | "info" | "warning"
|
|
9371
9375
|
code?: string
|
|
9372
9376
|
message?: string
|
|
9373
9377
|
detail?: Record<string, unknown>
|
|
@@ -9377,6 +9381,19 @@ type MonitoringTraceResponse = {
|
|
|
9377
9381
|
}
|
|
9378
9382
|
```
|
|
9379
9383
|
|
|
9384
|
+
### `MonitoringCode`
|
|
9385
|
+
|
|
9386
|
+
The monitoring code taxonomy — every code the Integration Toolkit itself emits,
|
|
9387
|
+
with a fixed level (see the published code reference at
|
|
9388
|
+
https://docs.epilot.io/docs/integrations/integration-toolkit/monitoring/codes).
|
|
9389
|
+
|
|
9390
|
+
This schema exists so consumers can import the union as a type. It is
|
|
9391
|
+
deliberately
|
|
9392
|
+
|
|
9393
|
+
```ts
|
|
9394
|
+
type MonitoringCode = "ACK_CONFIRMED" | "ACK_PENDING" | "ACK_TIMEOUT" | "ATTACHMENT_NOT_FOUND" | "ATTRIBUTE_TYPE_MISMATCH" | "DEPRECATED_ENDPOINT" | "DIRECT_ENTITY_NOT_ALLOWED" | "DIRECT_PAYLOAD_INVALID" | "DIRECT_VERSION_UNSUPPORTED" | "DUPLICATE_EVENT" | "ENTITY_CREATED" | "ENTITY_DELETED" | "ENTITY_NO_OP" | "ENTITY_REFERENCE_NOT_FOUND" | "ENTITY_UPDATED" | "EVENT_NOT_CONFIGURED" | "EXTERNAL_API_ERROR" | "EXTERNAL_ERROR" | "EXTERNAL_INFO" | "EXTERNAL_SUCCESS" | "EXTERNAL_WARNING" | "FAN_OUT_EMPTY" | "FAN_OUT_INVALID_RESULT" | "FILE_EXTRACTION_FAILED" | "FILE_FETCH_FAILED" | "FILE_PROXY_OK" | "FILE_PROXY_UPLOADED" | "FILE_PROXY_UPLOAD_ENQUEUED" | "FILE_PROXY_UPLOAD_FAILED" | "FILE_PROXY_UPLOAD_RETRYING" | "FILE_TOO_LARGE" | "INTEGRATION_NOT_FOUND" | "INVALID_METER_READING_ATTRIBUTES" | "LOOKUP_UNMAPPED" | "MALFORMED_PAYLOAD" | "MAPPING_EXPRESSION_FAILED" | "METERING_API_ERROR" | "METER_READING_DELETED" | "METER_READING_GROUP_FAILED" | "METER_READING_GROUP_RETRYING" | "METER_READING_UPSERTED" | "MISSING_REQUIRED_PARAM" | "MISSING_UNIQUE_IDENTIFIERS" | "MSG_ACKED" | "MSG_DEAD_LETTERED" | "MSG_ENQUEUED" | "MSG_EXPIRED_UNPOLLED" | "MSG_HEAD_BLOCKED" | "OAUTH2_TOKEN_FAILURE" | "PAYLOAD_TOO_LARGE" | "PRUNE_SCOPE_COMPLETED" | "PRUNE_SCOPE_PARTIAL_FAILURE" | "RECURSION_DEPTH_EXCEEDED" | "RELATION_REF_ITEM_NOT_FOUND" | "RELATION_REF_VALUE_UNDEFINED" | "REQUIRED_PARAM_MISSING" | "SECURE_PROXY_DISABLED" | "SECURE_PROXY_DOMAIN_BLOCKED" | "SECURE_PROXY_DOMAIN_NOT_ALLOWED" | "SECURE_PROXY_ERROR" | "SECURE_PROXY_INVALID_CONFIG" | "SECURE_PROXY_INVALID_TYPE" | "SECURE_PROXY_INVALID_URL" | "SECURE_PROXY_IP_BLOCKED" | "SECURE_PROXY_IP_NOT_ALLOWED" | "SECURE_PROXY_NOT_FOUND" | "SECURE_PROXY_UNAVAILABLE" | "SIGNATURE_VERIFICATION_FAILED" | "SIGNATURE_VERIFICATION_UNAVAILABLE" | "SOFT_DELETED_ENTITY_MATCHED" | "STEP_DISABLED" | "TIMEOUT" | "UNIQUE_ID_MULTIPLE_MATCHES" | "UNIQUE_ID_NOT_IN_SCHEMA" | "UNKNOWN_ERROR" | "USE_CASE_DISABLED" | "USE_CASE_INVALID_TYPE" | "USE_CASE_MISSING_CONFIG" | "USE_CASE_NOT_FOUND" | "WEBHOOK_DELIVERED"
|
|
9395
|
+
```
|
|
9396
|
+
|
|
9380
9397
|
### `MonitoringEventV2`
|
|
9381
9398
|
|
|
9382
9399
|
```ts
|
|
@@ -9388,7 +9405,7 @@ type MonitoringEventV2 = {
|
|
|
9388
9405
|
correlation_id?: string
|
|
9389
9406
|
use_case_id?: string
|
|
9390
9407
|
use_case_type: "inbound" | "outbound" | "file_proxy" | "managed_call" | "secure_proxy" | ""
|
|
9391
|
-
level: "success" | "error" | "
|
|
9408
|
+
level: "success" | "error" | "info" | "warning"
|
|
9392
9409
|
code?: string
|
|
9393
9410
|
message?: string
|
|
9394
9411
|
detail?: Record<string, unknown>
|
|
@@ -9418,6 +9435,7 @@ type MonitoringStatsV2 = {
|
|
|
9418
9435
|
error_count: number
|
|
9419
9436
|
warning_count: number
|
|
9420
9437
|
skipped_count: number
|
|
9438
|
+
info_count: number
|
|
9421
9439
|
ack_timeout_count?: number
|
|
9422
9440
|
success_rate?: number
|
|
9423
9441
|
last_error_at?: string // date-time
|
|
@@ -9447,6 +9465,7 @@ type TimeSeriesBreakdownItemV2 = {
|
|
|
9447
9465
|
error_count: number
|
|
9448
9466
|
warning_count: number
|
|
9449
9467
|
skipped_count: number
|
|
9468
|
+
info_count: number
|
|
9450
9469
|
total_count: number
|
|
9451
9470
|
}
|
|
9452
9471
|
```
|
|
@@ -9460,6 +9479,7 @@ type TimeSeriesBucketV2 = {
|
|
|
9460
9479
|
error_count?: number
|
|
9461
9480
|
warning_count?: number
|
|
9462
9481
|
skipped_count?: number
|
|
9482
|
+
info_count?: number
|
|
9463
9483
|
total_count: number
|
|
9464
9484
|
breakdown?: Array<{
|
|
9465
9485
|
use_case_type?: "inbound" | "outbound" | "file_proxy" | "managed_call" | "secure_proxy"
|
|
@@ -9468,6 +9488,7 @@ type TimeSeriesBucketV2 = {
|
|
|
9468
9488
|
error_count: number
|
|
9469
9489
|
warning_count: number
|
|
9470
9490
|
skipped_count: number
|
|
9491
|
+
info_count: number
|
|
9471
9492
|
total_count: number
|
|
9472
9493
|
}>
|
|
9473
9494
|
}
|