Skip to main content

Interface: GeneratedBusinessProfileResponse

Defined in: packages/sdk/src/types/generated/organization.ts:204

GET /business-profile body — built from a live Twilio fetch.

status is the LIVE Twilio Customer Profile lifecycle status (draft / pending-review / in-review / twilio-approved / twilio-rejected) — never the cached customer_profile_status hint (plan §1c). failureReasons is the scrubbed, persisted list — those values are post-scrub and safe to expose.

evaluationStatus is the most recent compliance evaluation result (compliant / noncompliant) when the profile is still pre-submission, otherwise None. Twilio models lifecycle and evaluation as two separate enums on two separate resources (customer_profile_enum_status vs customer_profile_evaluation_enum_status); the frontend needs both to decide whether the Submit button is eligible without making a second round-trip.

Properties

address?

optional address: Address | null

Defined in: packages/sdk/src/types/generated/organization.ts:210


authorizedReps?

optional authorizedReps: AuthorizedRep[]

Defined in: packages/sdk/src/types/generated/organization.ts:209


businessInfo?

optional businessInfo: BusinessInfo | null

Defined in: packages/sdk/src/types/generated/organization.ts:208


customerProfileSid?

optional customerProfileSid: string | null

Defined in: packages/sdk/src/types/generated/organization.ts:207


evaluationStatus?

optional evaluationStatus: "compliant" | "noncompliant" | null

Defined in: packages/sdk/src/types/generated/organization.ts:206


failureReasons?

optional failureReasons: string[]

Defined in: packages/sdk/src/types/generated/organization.ts:211


status?

optional status: string | null

Defined in: packages/sdk/src/types/generated/organization.ts:205