Skip to main content

Module agreements

Module agreements 

Source
Expand description

Peer agreements

Functions§

agreements_for
Agreements a DID is party to (or that govern its relationship) — fills the directory’s agreement slot.
attach_chat_file
Attaches a file to a chat.
classify_chat_branch
Classifies a chat branch.
create_agreement
Create a new draft agreement for a relationship, grounded in the non-derogable values floor (defaults to UDHR), with a pending consent for each party. Returns the created agreement.
create_chat_fragment
Creates chat-fragment.
default_chat_file_sharing
Default chat-file sharing.
get_chat_file_local_path
Gets chat-file-local-path.
get_chat_graph
Gets chat-graph.
list_agreements
All peer agreements.
list_chat_branch_types
Lists chat branch types.
list_chat_files
Lists chat files.
list_chat_reactions
Lists chat reactions.
parse_chat_file_preview
Parses chat-file-preview.
save_agreement
Persist a full agreement (JSON) — for edits (undertakings, stage, etc.). Returns the refreshed list.
set_agreement_consent
Set a party’s consent on an agreement (state: pending / granted / withdrawn).
set_chat_file_sharing
Sets chat-file-sharing.
start_chat_relay_poller
Starts the chat relay poller.
sync_chat_relay
Syncs the chat relay.
toggle_chat_reaction
Toggles chat-reaction.
wordnet_chat_ontology_status
WordNet chat-ontology status.