import { TAccountType } from '@/core/constants/accountTypes.const';

export interface IPartnerAccountRawResponse {
  id: string;
  role: string;
  created_at: string;
  account: AccountInfo;
}
export interface IPartnerAccountResponse extends IPartnerAccountRawResponse {}

export interface IPartnerAccountRequest {
  username: string;
  password?: string;
  role?: string;
  status?: string;
  // Keep type optional for current form compatibility.
  type?: TAccountType;
}

interface AccountInfo {
  username: string;
  status: string;
}
