// ===== 바로빌 로그인 정보 등록 =====
export interface BarobillLoginFormData {
  barobillId: string;
  password: string;
}

// ===== 바로빌 회원가입 정보 등록 =====
export interface BarobillSignupFormData {
  businessNumber: string;
  companyName: string;
  ceoName: string;
  businessType: string;
  businessCategory: string;
  address: string;
  barobillId: string;
  password: string;
  managerName: string;
  managerPhone: string;
  managerEmail: string;
}

// ===== 은행 빠른조회 서비스 등록 =====
export interface BankServiceFormData {
  bankCode: string;
  accountType: string;
}

// ===== 은행 목록 옵션 =====
export const BANK_OPTIONS = [
  { value: 'kookmin', label: '국민은행' },
  { value: 'shinhan', label: '신한은행' },
  { value: 'woori', label: '우리은행' },
  { value: 'hana', label: '하나은행' },
  { value: 'nonghyup', label: '농협은행' },
  { value: 'ibk', label: '기업은행' },
  { value: 'kdb', label: '산업은행' },
  { value: 'sc', label: 'SC제일은행' },
  { value: 'citi', label: '씨티은행' },
  { value: 'daegu', label: '대구은행' },
  { value: 'busan', label: '부산은행' },
  { value: 'kwangju', label: '광주은행' },
  { value: 'jeju', label: '제주은행' },
  { value: 'jeonbuk', label: '전북은행' },
  { value: 'kyongnam', label: '경남은행' },
  { value: 'suhyup', label: '수협은행' },
] as const;

export const ACCOUNT_TYPE_OPTIONS = [
  { value: 'corporate', label: '기업' },
  { value: 'personal', label: '개인' },
] as const;

// ===== 연동 현황 =====
export interface IntegrationStatus {
  bankServiceCount: number;
  accountLinkCount: number;
  cardCount: number;
  member?: {
    barobillId: string;
    bizNo: string;
    corpName: string;
    status: string;
    serverMode: string;
  };
}

// ===== 등록 계좌 =====
export interface RegisteredAccount {
  bankAccountNum: string;
  bankName: string;
  bankCode: string;
}

// ===== 등록 카드 =====
export interface RegisteredCard {
  cardNum: string;
  cardCompany: string;
  cardCompanyName: string;
  alias: string;
}

// ===== 인증서 상태 =====
export interface CertificateInfo {
  is_valid: boolean;
  expire_date: string | null;
  regist_date: string | null;
}
