feat(organisation): add contact fields to model and API
Add contact_name, contact_email, phone, website columns. Wire the new fields through the Organisation model, update request validation, response resource, and the TypeScript Organisation interface. Needed by the upcoming dashboard + form-builder binding registry. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -2,6 +2,10 @@ export interface Organisation {
|
||||
id: string
|
||||
name: string
|
||||
slug: string
|
||||
contact_name: string | null
|
||||
contact_email: string | null
|
||||
phone: string | null
|
||||
website: string | null
|
||||
billing_status: 'trial' | 'active' | 'suspended' | 'cancelled'
|
||||
settings: Record<string, unknown> | null
|
||||
email_logo_url: string | null
|
||||
@@ -23,6 +27,10 @@ export interface OrganisationMember {
|
||||
export interface UpdateOrganisationPayload {
|
||||
name?: string
|
||||
slug?: string
|
||||
contact_name?: string | null
|
||||
contact_email?: string | null
|
||||
phone?: string | null
|
||||
website?: string | null
|
||||
billing_status?: Organisation['billing_status']
|
||||
settings?: Record<string, unknown>
|
||||
email_logo_url?: string | null
|
||||
|
||||
Reference in New Issue
Block a user