Hub 2.25.0: demo clients, and demo data for the Church Website

- A customer can be a demo client: every install a demo site (Accounts
  included, and any later install), never billed (billing off, no invoice
  drafted, sent or made by hand). Migration: Customer.isDemo, demoSince.
- Any install can be marked as a demo site; Events and the Website have
  demo data. The Website's eight demo churches need agent 1.6.0.
- Contracts 1.19.0 vendored.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-27 09:20:10 +02:00
co-authored by Claude Opus 5.5
parent 7850de51ec
commit 8448babb08
24 changed files with 297 additions and 58 deletions
@@ -20,6 +20,8 @@ export type AddressType = "own_domain" | "crosscode" | "included";
export type CustomerBillingData = {
id: string; name: string; billingEmail: string | null; billingAddress: string | null; founding: boolean; foundingSince: string | null; foundingNote: string | null;
/** Hub 2.25.0: a demo client (never billed). */
isDemo?: boolean;
billingCycle: BillingCycle; billingStart: string | null; nextInvoiceDate: string | null; reviewDate: string | null;
addressType: AddressType; domain: string | null; addressCustomCents: number | null; addressMonthlyCents: number; domainRenewsOn: string | null;
sendsTo: string | null; balanceCents: number; licences: BillingLicence[]; invoices: Invoice[]; payments: Payment[]; licenceChanges: LicenceChange[]; emails: BillingEmail[];