Skip to content

Agreements: operations

The core operations that are this capability’s (named agreement., me.agreements., desk., subscription.coolOff). Each links to its full reference, with its input and output.

Operation What it does Audiences Risk Permission
desk.status On the desk origin: whether this browser is an enrolled device, and if so its name and use, so the tablet shows Enter code or Enrol. Reads nothing else. Read-only. public read records:read
subscription.coolOff End a subscription in its cooling-off period, for a full refund of what was paid in it (subscription.coolingOff says whether it may be, and what it owes). Ended at the payment provider now: nothing more is charged, and what it gives stops once the provider confirms. Then each order paid up to the end of the period, and between the ask and the end, is owed back in full, whatever was used; each waits for a person with orders:refund to approve it. The bookings ahead the membership paid for are cancelled as the business’s. Refused for a plan with no cooling off, a membership moved over with a continuation offer, a member who has cooled off before, while nothing has been paid (a free trial: cancel instead), and after the period unless one was asked in it. An ask inside the period opens it for 7 days; any end in that time is the cooling off’s, and at its deadline it lapses (the ordinary cancel works again). A signed-in customer ends their own (the one they pay for, a child’s included) and asks again only inside the period; staff any, with subscriptions:manage, ask again until the deadline, and finish a lapsed one (only what was paid in the period is owed, once the provider confirms the membership ended). Each ask reads the provider first and is a new request to it; nothing is done twice. Refused while a cancel of it waits for a person at the payments gatekeeper. A person decides, never an AI assistant. staff, customer write subscriptions:manage
subscription.coolOffSweep The host’s minute step for cooling offs: one whose call to the payment provider was lost or never made is resolved from the provider’s read or asked again (the same ask) until its deadline; at the deadline, or once its latest waiting cancel is rejected or expires with none still waiting, or once its holder has used theirs on another, an open one lapses (every waiting cancel rejected, admins told once); staff’s finish of a lapsed one is asked again, waited for, or marked stuck with admins told; then the summary emails. Bounded; nothing when nothing is due. The host’s own cron only. staff write subscriptions:manage
subscription.coolOffRelease The host’s follow-up for a membership ended in its cooling-off period: cancels the next bookings ahead it paid for, as the business’s, until none is left. The host’s own cron only. staff write subscriptions:manage
agreement.list List the business’s agreement documents (terms, waivers, health forms, a parent’s consent): each with its kind, state (draft, live or retired), the version in effect now and any scheduled one, and the agreement points it is attached to. Titles and the business’s own text only: nothing here names a member. Read-only. staff read records:read
agreement.get One agreement document: its summary, the working copy (the draft the editor changes, with its hash) and its versions, newest first, without their bodies (agreement.version.get reads one). Read-only. staff read records:read
agreement.version.get One published version of an agreement document, exactly as people are shown it: title, body, tick label, questions, how a person agrees, and when it took or takes effect. A version never changes. Read-only. staff read records:read
agreement.points The agreement points installed packs declare (buying a membership, making a booking): the places a business may attach its documents, each with its label, the kinds of document it suggests and the objects that declare it. Read-only. staff read records:read
agreement.create Start a new agreement document as a draft: its title and kind (terms, waiver, health for a health questions form, guardian for a parent’s consent, other). The kind never changes. Its working copy is then written with agreement.draft.save; nothing is asked of anyone until a person publishes it and attaches it to an agreement point. The platform ships no wording: the business writes its own. staff write agreements:manage
agreement.draft.save Write an agreement document’s working copy: any of its title, body (rich text), tick label (the words beside the box), how a person agrees (typed name, or a drawn signature), who agrees (the participant or the payer), for whom (everyone, or only a dependant), and for a health form its questions and after how many months it is asked again. Only what is given changes. It changes no published version and nothing anyone is asked: a person publishes. draftRev, when given, is the copy’s rev the change was made against: a copy saved by someone else since is refused. Two saves of the same rev never both apply. The assistant may write it for someone who holds agreements:manage. staff write agreements:manage
agreement.publishPreview What publishing an agreement document’s working copy would make: the exact snapshot (every field a version holds), its number, whether it is the first, which fields changed against the newest version, the hash and rev to pass to agreement.publish, and why it cannot be published yet if it cannot. Read-only. staff read records:read
agreement.publish Publish an agreement document’s working copy as its next version, which nobody can change afterwards. change: small (earlier acceptances still count) or agree_again (everyone must agree to this version before their next booking or purchase); a first version is first. effectiveFrom (left out: now) schedules it; never in the past or before the newest version’s, and never withdrawn. draftHash and draftRev are the preview’s: a copy changed since in any field is refused. A person on the staff with agreements:manage only. Audited. staff write agreements:manage
agreement.attach Attach a published agreement document to agreement points (agreement.points lists them), so it is needed there: from step 3 of stage 44, nobody buys or books there without a current acceptance of it. Nothing already bought or booked is touched. Only a person on the staff with agreements:manage can do this. Audited. staff write agreements:manage
agreement.detach Detach an agreement document from agreement points: it is no longer needed there. Acceptances people made are kept. Only a person on the staff with agreements:manage can do this. Audited. staff write agreements:manage
agreement.retire Retire an agreement document: it is detached everywhere and needed nowhere, its working copy is frozen, and it cannot be published again (write a new document instead). Its versions and the acceptances people made are kept for good. Only a person on the staff with agreements:manage can do this. Audited. staff destructive agreements:manage
agreement.takeEffect Platform use only: make current the scheduled agreement versions whose time has come (the minute cron), as a person published them. No input names a document or a version. staff write agreements:manage
me.agreements.due What you, as a signed-in customer, and each child linked to you still have to agree to: each due document’s version in effect, to read and agree to with me.agreements.accept. canAgree is false for someone a parent or guardian agrees for. Read-only. customer read records:read
me.agreements.list Your agreements, as a signed-in customer, and those of each child linked to you: every acceptance, newest first, with the document, the version, who agreed and how, and whether it is the one that counts now. me.agreements.get reads one. Read-only. customer read records:read
me.agreements.get One of your acceptances, or a linked child’s, as a signed-in customer: the version as you were shown it, a health form’s answers, and the name typed and the signature drawn when you are the one who agreed (another guardian’s are not shown). Read-only. customer read records:read
me.agreements.accept Agree to a version of a document, as a signed-in customer: for yourself, or with forPersonId for a child linked to you. Give the name you type, a signature for a document agreed to by drawing, and every answer for a health form. Recorded for good and never changed. Refused for yourself when a parent or guardian agrees for you. customer write records:write
agreement.guestVersions The words a visitor buying without an account is asked to agree to: each version named (by the versionId of an agreements_due refusal from a buying call), as it will be recorded: its title, body, tick label, health questions and how it is agreed to. Only the version in effect of a live document attached somewhere and asked of everyone; any other id (an older version, one scheduled for later) is left out. The business’s text, never anyone’s personal data. Read-only. customer, public read records:read
agreement.person A Person’s agreements, as the Person page shows them: each document attached anywhere, current or due (and why: never agreed, agree again, asked again, a guardian must agree), every acceptance (who agreed, how, when; paper marked), and whether they are a minor. Titles and dates only: never a name typed, a signature or health answers. Read-only. staff read records:read
agreement.acceptances The acceptances people made, newest first: by document, version, who agreed (themselves, a guardian, paper) and a date range, each with the Person and how and when. Never a name typed, a signature or health answers. Read-only. staff read records:read
agreement.due.list Who still has to agree to which document: People with a sign-in, a subscription, a family link or the minor mark who have something attached due, those with a live subscription first. Titles and dates only. Read-only. staff read records:read
agreement.healthNotes Which of these People answered yes on their current health form, as a yes or no each (a mark, nothing of the form). A person on the staff with agreements:health only; every read is audited. Read-only. staff read agreements:health
agreement.listHealthNotes For a list a pack declares (healthNotes on its object: a class’s bookings): the host reads the People on the records of that list’s own record (value, the class) and says which answered yes on their current health form (a mark only). Pack code inside a tool a person called themselves only; every call is audited. Read-only. staff read records:read
agreement.healthReviews The People whose current health form has a yes, newest first, for staff with agreements:health to look at (where a health notice sends them). Every read is audited. Read-only. staff read agreements:health
agreement.acceptance.get One acceptance in full, for a person on the staff: the version shown, the name typed (beside the Person’s own name), the signature drawn, and for paper who recorded it. Health answers are agreement.answers.get’s. Never an AI’s read. Who signed a paper form and its note are shown only with agreements:manage, as is an acceptance kept after an erase. Every read is audited (which acceptance, never what it says). Read-only. staff read records:read
agreement.answers.get A health form’s answers, for a person on the staff with agreements:health: each question, yes or no, and a note. Health information: every read is audited (who read whose), and no AI ever reads them. Read-only. staff read agreements:health
agreement.recordPaper Record that a Person signed a version of a document on paper (printed from that version): the name on the form, the date written on it, who signed it for a child (signedBy), a note, and for a health form the answers typed in. Shown everywhere as recorded from paper by you, never as their own acceptance. A person on the staff with agreements:paper only. staff write agreements:paper
agreement.setMinor Mark a Person as a minor, or clear the mark: a parent or guardian agrees for them (or staff record paper), never they themselves, and every document attached anywhere is due as for a child. The host holds no date of birth: clear it when they come of age. A person on the staff with people:link only. Audited. staff write people:link
me.agreements.pdf The signed PDF of one of your acceptances, as a signed-in customer, or a linked child’s: the version as you were shown it and the record of who agreed, how and when, with a health form’s answers. The name typed and the signature drawn are in it when you are the one who agreed. Built when asked, never stored. Read-only. customer read records:read
agreement.acceptance.pdf The signed PDF of one acceptance, for a person on the staff: the version shown and the record of who agreed, how and when, the name typed and the signature drawn (paper marked as recorded from paper), and a health form’s answers only for staff with agreements:health. Every download is audited. Never an AI’s read. Read-only. staff read records:read
agreement.version.pdf A version’s blank form as a PDF, to print and sign on paper (then agreement.recordPaper): its words, the tick label, a health form’s questions with boxes, lines for the name, signature and date, and the version’s number and hash at the foot of every page. A person on the staff. Read-only. staff read records:read
agreement.copy.preview Before Email a copy of a paper form: the address the host would send it to (the Person’s sign-in address, or their primary email), or, for a child’s form, the parents and guardians linked to the child now that you may see and that have an address, each with the address it would go to, to choose one; or why it would not be sent (a child with no such guardian, or no address), and whether a copy was already asked for. Show the address to the person, who confirms it with agreement.copy.send. A person on the staff with agreements:paper. Read-only. staff read agreements:paper
agreement.copy.send Email a paper form’s copy (Email a copy): the signed PDF goes, as the host’s own mail, to the address the host holds for the Person it is for, which agreement.copy.preview showed; for a child’s form, to the linked parent or guardian chosen (guardianId, one the preview listed), at the address the host holds for them. confirmTo is that address as the person saw it: if the host’s address changed since (an edit, by anyone), it is refused and shown again. Once only: asking again answers how the first one went. Refused for a child’s form with no linked guardian who has an address, for anyone who is not a live guardian of the child, and for a Person with no address. A person on the staff with agreements:paper only. staff write agreements:paper
agreement.desk.find Find the Person a desk signing session is for: by their full name exactly (as a name is compared for duplicates: case, accents and middle initials folded) or by one of their email addresses exactly. Never a partial match or a list to page through: up to 5 people with that very name. Names and ids only. Every search is audited. agreements:desk, a person. Read-only. staff read agreements:desk
agreement.desk.prepare Before starting a desk signing session for a Person: the titles of what they have due, their live children and what each has due, where the copy goes (masked), and whether a session can start (and why not). Nothing else of their record. agreements:desk. Read-only. staff read agreements:desk
agreement.desk.devices The devices an admin enrolled for desk signing, to choose the tablet a session is signed on: name and when last seen. agreements:desk. Read-only. staff read agreements:desk
agreement.desk.start Start a desk signing session: the named Person signs what they have due on the enrolled tablet chosen, and for a parent, for the live children listed. Answers an 8-character code, single use, good for 2 minutes, to type on that tablet. Refused for a Person in the Trash, a minor for themselves (start it for their parent or guardian), a signer with no email address (the copy goes there every time), a child not linked to them now, and a revoked device. Records no acceptance: the member signs. A person on the staff with agreements:desk. staff write agreements:desk
agreement.desk.get A desk signing session’s state, for the staff screen that started it: waiting for its code, claimed on which device and when, or ended and why (finished, ended by staff, run out, claimed on another device, a wrong code, the device revoked), and how many acceptances it made. agreements:desk. Read-only. staff read agreements:desk
agreement.desk.end End a desk signing session now: the tablet’s next call is refused. What was signed in it stays. agreements:desk, a person. staff write agreements:desk
desk.claim On the enrolled desk tablet: type the code a person on the staff was given. Binds their session to this device and sets its token in a cookie (never in the answer); the device’s credential is replaced in the same answer. Answers the business, the signer’s given name and their children’s. Wrong codes: five in a minute lock the device for five minutes. public write records:write
desk.documents On the enrolled desk tablet, in a claimed session: what the signer (and each child they sign for) has due now, each document’s version in effect to read and agree to, and where the copy goes, masked. Nothing else of anyone’s record. Counts as activity. public write records:write
desk.accept On the enrolled desk tablet, in a claimed session: the signer agrees to a version due now, for themselves or (forPersonId) for a child the session lists and who is still linked to them. Recorded as their own acceptance at the desk, with the session (who started it, the device); the copy is emailed to the address pinned at the start. Refused for anything not due for them now. public write records:write
desk.heartbeat On the enrolled desk tablet, while the person reads or touches the page (at most every 30 seconds): keeps the session from its 3-minute idle limit. A heartbeat less than 20 seconds after the last one does not extend it, and none passes the 20-minute limit. public write records:write
desk.finish On the enrolled desk tablet: “All done”. Ends the session at once; the token answers nothing again and its cookie is cleared. public write records:write
agreement.erasePreview What erasing a Person would do to their agreements, for the screen that confirms an erase: how many acceptances (their own, and those they made as a guardian) are kept, no longer theirs, and until when; how many health forms’ answers are deleted at once. Counts only, over them and anyone merged into them, a Person in the Trash included, and a buyer’s acceptances on purchases that are theirs. A person only. Read-only. staff read audit:read
agreement.retention How long an erased person’s acceptances are kept as the business’s evidence (years, counted from the erase; null when the setting is unreadable, and then nothing is purged), how many are kept now, and how many are on hold. With years, also how many kept acceptances that period would make due for deletion at the next daily run. Read-only. staff read records:read
agreement.setRetention Set how many years an erased person’s acceptances are kept (1 to 50, counted from each erase); the daily cron then deletes those past it, except any on hold. A change that makes more kept acceptances due for deletion needs confirmPurgeable: the number agreement.retention gives for that period, typed by the person. Admins only, and only a person in the app: AI assistants, MCP clients and automations are refused. Audited, with that number. staff destructive policy:manage
agreement.kept.find Find acceptances kept after their person was erased, by the address the copy went to or the name typed (part of it), for a dispute or a claim: what was agreed, how and when, and until when it is kept. Open one with agreement.acceptance.pdf. A person on the staff with agreements:manage only; every search is audited, without what was searched for. staff read agreements:manage
agreement.kept.hold Hold a kept acceptance (one kept after its person was erased) for a dispute or a claim, so the retention purge passes it by; or release it (held: false), after which the purge takes it once its period is over. A person on the staff with agreements:manage only. Audited. staff write agreements:manage
agreement.purgeKept Platform use only: delete the acceptances kept after an erase whose retention period is over (oldest first, at most a bounded number per call), with their signature, answers and copy record; never one on hold, nor one whose copy the email gatekeeper has still to scrub unless that scrub has been owed for 30 days (those are named in the audit). No input names an acceptance. staff write records:erase
agreement.mergePlan What merging mergedId into survivorId would do to their agreements: how many acceptances (their own, and made as a guardian) move to the survivor unchanged, whether the minor mark moves, and whether the caller may merge them (a person with agreements:manage only). Counts only. Read-only. staff read records:read