Billing rework
All checks were successful
Build and Push / build (push) Successful in 1m24s

This commit is contained in:
2026-05-02 00:09:05 +02:00
parent 392b0991a5
commit 08460f93d4

View File

@@ -312,6 +312,13 @@ export interface OnboardingInput {
soulMd?: string; soulMd?: string;
agentsMd?: string; agentsMd?: string;
packages?: string[]; packages?: string[];
billingAddress: BillingAddress; /**
* Bug 35: optional at the type level because the wizard skips the
* billing step entirely when the org already has an `org_billing`
* record. The onboarding API enforces "billing must be resolved by
* the end" — either from `org_billing` lookup or from this field —
* via runtime checks; the type just allows both paths.
*/
billingAddress?: BillingAddress;
billingNotes?: string; billingNotes?: string;
} }