Data model

The lists by file, their key fields, and status values.

Lists live in features/keystone/models. Money is in minor units (…Cents) of the tutor's currencyCode.

FileLists
business.tsTutorProfile, Subject, SessionType, WeeklyHours, TimeOff, Package
people.tsFamily, Student, Inquiry, Review
teaching.tsSession, SessionNote, Homework, ProgressMark, Resource, RecurringSeries
money.tsPackagePurchase, CreditEntry, Invoice, InvoiceLine, Payment, PaymentProvider, PaymentSession, PaymentWebhookEvent, Expense, NotificationLog
OthersUser, Role, OAuthApp, OAuthToken

Key fields

ListKey fields
TutorProfilebusinessName, tutorName, slug, headline, bio, qualifications, photoUrl, heroImageUrl, country, timezone, currencyCode, teachesOnline, teachesInPerson, inPersonArea, defaultMeetingUrl, booking rules, paymentInstructions, policiesText, invoiceDueDays, reviewsEnabled
SessionTypename, durationMinutes, priceCents, mode (online, in_person, either), openToNewFamilies, maxStudents (1 to 4), subjects, packages
Packagename, minutes, priceCents, validMonths, appliesTo (empty means any type)
FamilyguardianName, email, phone, second contact, status, billingMode, monthlyFeeCents, timezone, privateNotes, user
StudentfirstName, lastName, level, school, birthYear, goals, needs, meetingUrl, status, subjects
Sessionfamily, students, sessionType, series, startsAt, endsAt, mode, status, funding, source, paymentStatus, priceCents, chargedCents, chargedMinutes, holdEndsAt, cancelledBy, rescheduleCount, reminderSentAt
SessionNotecovered, wentWell, workOnNext, effort, privateNote, sharedAt
PackagePurchaseminutesGranted, minutesRemaining, pricePaidCents, refundedCents, status, expiresAt
CreditEntrypurchase, session, kind, minutes, note
Invoicenumber, status, issuedAt, dueAt, periodMonth, subtotalCents, totalCents, paidCents, lines
Paymentkind, method, status, amountCents, refundedCents, reference, providerReference, reportedByGuardian

Status values

FieldValues
Session.statuspending_payment, scheduled, completed, cancelled, late_cancelled, no_show, excused, released
Session.fundingpackage, card, invoice, flat, free
Session.paymentStatusnot_due, unpaid, paid, refunded, part_refunded
Session.sourceonline, tutor, series
Family.statuslead, active, paused, former, blocked
Family.billingModepay_as_you_book, invoice, flat_monthly
Homework.statusassigned, handed_in, reviewed
RecurringSeries.statusactive, paused, ended
PackagePurchase.statusawaiting_payment, active, used_up, expired, refunded, cancelled
CreditEntry.kindgrant, hold, release, debit, reversal, expire, refund, adjustment
Invoice.statusdraft, sent, paid, void
Payment.methodstripe, cash, bank_transfer, mobile_money, other
Payment.statusreported, confirmed, rejected, refunded, partially_refunded
NotificationLog.statussent, failed, skipped

Status, money and ledger fields are command-only: the generic list mutations cannot change them.

On this page