Authentication and tokens
Use these types when you configureuseAuth, read results from login or registration, or type the payload when your backend refreshes a partnerToken.
UseAuthParams
Use this type to pass
partnerId, partnerToken, and auto-registration settings to useAuth.LoginResponse
Use this type to read
suki_token and jwt_bearer after login() succeeds.RegistrationResponse
Use this type to type the success response from
registerUser().UpdatePartnerTokenResponse
Use this type to read refreshed tokens after
updatePartnerToken().Ambient session
Use these types when you pass session context, configureuseAmbientSession, or type values from sessionStatus in your UI.
SessionContext
Use this type to send patient, provider, visit, and diagnosis fields with
setSessionContext.UseAmbientSessionParams
Use this type to pass
ambientSessionId, audio callbacks, and onSessionTerminatedByPeer to useAmbientSession.UseAmbientSessionReturn
Use this type to type
start, pause, submit, cancelRemote, endRemote, and sessionStatus.AmbientSessionStatus
Use this type for server lifecycle values such as
created, submitted, and completed.Next steps
Provider - More information on how to wrap your application with thePlatformClient and PlatformClientProvider before using hooks.