API ReferenceEvent Referenceintegration.disconnected.v1

integration.disconnected.v1

Constant

import { EVENT_NAMES } from "@platform/contracts";
 
EVENT_NAMES.INTEGRATION_DISCONNECTED_V1;

Publishers

Subscribers

No service currently subscribes to this event.

Payload schema

z.object({
  connection_id: z.string(),
  user_id: z.string(),
  provider: z.enum(["dexcom", "oura", "whoop", "libre"]),
  disconnected_at: z.string().datetime(),
}

Delivery semantics

  • At-least-once delivery. Consumers must dedupe by event ID.
  • Fanned out to both NATS (in-cluster) and EventBridge (durable). See Events concept.