Skip to main content

Type Definition

Below is the type definition for the UpdatePartnerTokenResponse type. This is the return type for the updatePartnerToken() method from the useAuth hook. It contains updated authentication tokens after successfully updating the partner token.
type UpdatePartnerTokenResponse = {
  suki_token: string;
  jwt_bearer: string;
};