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 useAuthLoginResponse
Use this type to read
suki_token and jwt_bearer after login() succeedsRegistrationResponse
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
setSessionContextUseAmbientSessionParams
Use this type to pass
ambientSessionId, audio callbacks, and onSessionTerminatedByPeer to useAmbientSessionUseAmbientSessionReturn
Use this type to type
start, pause, submit, cancelRemote, endRemote, and sessionStatusAmbientSessionStatus
Use this type for server lifecycle values such as
created, submitted, and completedNext steps
Refer to Provider for more information on how to wrap your application with thePlatformClient and PlatformClientProvider before using hooks.