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 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 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 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 generatedExternalUserProfiletype is assignable to this one.