Structural subset of the AiPrise GET /verify/get_user_profile response
(ExternalUserProfile). The data column stores the ENTIRE raw payload;
this type names only the fields we extract or sync-guard on.
The full OpenAPI-generated type lives in @cfxlabsinc/clients
(packages/clients/src/aiprise/aiprise.d.ts) and is refined in
aiprise-services — db cannot depend on clients (clients depends on db).
All fields are optional so the generated ExternalUserProfile type is
assignable to this one.
Structural subset of the AiPrise
GET /verify/get_user_profileresponse (ExternalUserProfile). 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
@cfxlabsinc/clients(packages/clients/src/aiprise/aiprise.d.ts) and is refined in aiprise-services — db cannot depend on clients (clients depends on db). All fields are optional so the generatedExternalUserProfiletype is assignable to this one.