Skip to main content

Module hosted

Module hosted 

Source
Expand description

hosted/* protocol DTOs (roadmap phase 72, Task 1).

Contract-first: these DTOs and the method manifest entries define the hosted multi-tenant surface before the gateway implementation lands (phase 72 Task 2). Tenant identity is always resolved server-side from validated credentials — no request DTO here accepts a caller-supplied tenant id for core operations.

Structs§

HookDelivery
One delivery attempt lifecycle for a matched event.
HookRetryPolicy
Retry policy for failed deliveries (bounded exponential backoff).
HostedAuditListParams
HostedAuditListResult
HostedAuditRecord
A redaction-safe audit row: coarse action, actor/tenant context, and an outcome — never request bodies or credentials.
HostedHookCreateParams
HostedHookDefinition
HostedHookDeleteParams
HostedHookResult
HostedHookUpdateParams
HostedHooksListResult
HostedRequestContext
Fully resolved request identity, attached by the hosted gateway before dispatch. Local mode never builds one.
HostedServiceAccountCreateParams
HostedServiceAccountCreateResult
The API key secret appears exactly once, in this response; the server stores only its hash.
HostedServiceAccountRevokeParams
HostedServiceAccountRevokeResult
HostedServiceAccountSummary
HostedServiceAccountsListResult
HostedTenantReadParams
HostedTenantReadResult
HostedTenantsListResult
HostedUsageReadParams
HostedUsageReadResult
HostedWhoamiResult
hosted/whoami — the resolved identity of the calling credential.
TenantContext

Enums§

HookDeliveryStatus
HookScope
HostedRole
Tenant-level role of a principal.
HostedScope
Coarse hosted access scopes attached to a credential.
PrincipalContext
Who is acting: a human user or a service account. Credential material (tokens, key hashes) never appears here.

Type Aliases§

HookId
ServiceAccountId
TenantId