@slmdevs/celeraone
Version:
This is a NPM Package to use for all the CeleraOne interactions.
28 lines (27 loc) • 789 B
TypeScript
import ErrorResponse from './InternalErrorResponse';
import MasterDataInterface from './MasterDataInterface';
/**
* The response object when a user has been found or not
*
* @interface FindUserResponse
*/
export default interface FindUserResponse {
status: string;
data?: {
user: {
has_been_activated: boolean;
user_id: string;
account_state: string;
login_alias: number;
sso_inactivity_time: number;
reason: string;
failed_login_attempts: number;
masterdata: MasterDataInterface;
login: string;
registration_service: any;
has_purchases: boolean;
reason_description: string;
};
};
errors?: ErrorResponse[];
}