SDK reference · Node SDK
prov.mandate.calls
prov.mandate.calls in the Node SDK: 3 methods. provenance.mandate.calls: the caller side.
Methods
register
prov.mandate.calls.register(params: RegisterCallParams): Promise<CallRegistrationResult>Register a call before dialing (free).
Calls POST /v1/mandate/calls.
revoke
prov.mandate.calls.revoke(id: string): Promise<CallRegistration>Revoke a registered call (free).
Calls POST /v1/mandate/calls/{id}/revoke.
declineProofRequest
prov.mandate.calls.declineProofRequest(id: string): Promise<CallProofRequest>Answer a proof request for a call your agent didn't place: the check returns no_proof.
Calls POST /v1/mandate/calls/proof_requests/{id}/decline.