Presence Wire Types for TypeScript
Presence SDK — verify human presence before consequential actions execute.
Applications send intent and context.
Presence verifies the person.
Decionis decides whether execution proceeds.
Public TypeScript types and Zod schemas for the Presence API wire contract: sessions,
decisions, Verdicts, enforcement, intent envelopes, and Presence Records (wire name:
dossier).
Install
npm install @decionis/presence-types
What's inside
import {
DecideRequestSchema,
DecideResponseSchema,
ActionContextSchema,
VerdictSchema,
EnforcementModeSchema,
DecisionDossierSchema,
VerificationBundleSchema,
IntentEnvelopeSchema,
VerificationRequestSchema,
} from "@decionis/presence-types";
Every schema exports its inferred type (DecideRequest, DecideResponse, Verdict, …).
Wire fields are snake_case to match the Presence protocol. Requires Node.js 22.14 or
later; ESM only.
Where the types are used
This is a support package. Start with the SDKs that consume it:
The canonical cross-language contract is
the published OpenAPI document at
presence.decionis.com/.well-known/openapi.json. Tenant credentials must
remain on a trusted server.
Support
License
Apache-2.0. Use of the hosted Presence service is governed separately.