Session 6.3
This commit is contained in:
@@ -65,3 +65,57 @@ export interface UsageSummary {
|
||||
totalSpendChf: number;
|
||||
period: string;
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// Registration & Onboarding
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
export interface RegistrationInput {
|
||||
companyName: string;
|
||||
givenName: string;
|
||||
familyName: string;
|
||||
email: string;
|
||||
preferredLanguage?: string;
|
||||
}
|
||||
|
||||
export interface BillingAddress {
|
||||
company?: string;
|
||||
street?: string;
|
||||
city?: string;
|
||||
postalCode?: string;
|
||||
country?: string;
|
||||
}
|
||||
|
||||
export type TenantRequestStatus =
|
||||
| "pending" // Submitted, awaiting admin approval
|
||||
| "approved" // Admin approved, provisioning will start
|
||||
| "provisioning" // PiecedTenant CR created, operator reconciling
|
||||
| "active" // Tenant running
|
||||
| "rejected"; // Admin rejected
|
||||
|
||||
export interface TenantRequest {
|
||||
id: string;
|
||||
zitadelOrgId: string;
|
||||
zitadelUserId: string;
|
||||
companyName: string;
|
||||
contactName: string;
|
||||
contactEmail: string;
|
||||
agentName: string;
|
||||
soulMd?: string;
|
||||
packages: string[];
|
||||
billingAddress: BillingAddress;
|
||||
billingNotes?: string;
|
||||
status: TenantRequestStatus;
|
||||
adminNotes?: string;
|
||||
tenantName?: string;
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
}
|
||||
|
||||
export interface OnboardingInput {
|
||||
agentName: string;
|
||||
soulMd?: string;
|
||||
packages?: string[];
|
||||
billingAddress: BillingAddress;
|
||||
billingNotes?: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user