@adcp/sdk API Reference - v14.3.0
    Preparing search index...

    Interface WebhookRegistrationStore

    interface WebhookRegistrationStore {
        get(
            agentId: string,
            operationId: string,
        ): Promise<Readonly<WebhookRegistration> | undefined>;
        putIfAbsent(registration: WebhookRegistration): Promise<void>;
        markRequiresDurableSettlement?(
            agentId: string,
            operationId: string,
        ): Promise<void>;
        delete?(agentId: string, operationId: string): Promise<void>;
    }

    Implemented by

    Index
    • Atomically create a registration. An identical retry is idempotent; a conflicting live registration for the same key MUST reject. A successful return MUST provide immediate read-your-writes consistency through get() so the SDK can verify trusted authorization provenance before dispatch.

      Parameters

      Returns Promise<void>

    • Atomically mark a live registration as requiring durable mutation settlement. The update MUST be immediately visible through get().

      Parameters

      • agentId: string
      • operationId: string

      Returns Promise<void>

    • Remove provenance after a definitively synchronous terminal response.

      Parameters

      • agentId: string
      • operationId: string

      Returns Promise<void>