Optionalbusiness_Optionalbusiness_The generated union reuses AiPrise's shared result enum, so it also
carries FOUND/NOT_FOUND (lookup-only values), while the docs list
DEACTIVATED for profiles. The result column stores only the
profile statuses — extraction guards the rest to null.
Optionalclient_Optionalcreated_Optionalemail_Optionalformation_Optionallifecycle_Documented by AiPrise but missing from the generated OpenAPI type.
OptionalnameOptionalphone_Optionalregistration_Optionalupdated_
Structural subset of the AiPrise
GET /verify/get_business_profileresponse (BusinessProfile). Thedatacolumn stores the ENTIRE raw payload; this type names only the fields we extract or sync-guard on.The full OpenAPI-generated type lives in aiprise-services (
src/clients/aiprise/aiprise.d.ts) and is refined there — db cannot depend on aiprise-services (aiprise-services depends on db). All fields are optional so the generatedBusinessProfiletype is assignable to this one.