import type {
  SeafarerDocumentKind,
  SeafarerDocumentRequestKind,
  SeafarerDocumentStatus,
} from './seafarer-document.types';

export const SEAFARER_DOCUMENT_KIND_LABELS: Record<SeafarerDocumentKind, string> = {
  SEAMAN_BOOK: 'Seaman Book',
  BTC_BASIC_TRAINING: 'Basic Training Certificate',
};

export const SEAFARER_DOCUMENT_REQUEST_KIND_LABELS: Record<SeafarerDocumentRequestKind, string> = {
  NEW: 'New',
  RENEWAL: 'Renewal',
  REPLACEMENT: 'Replacement',
};

export const SEAFARER_DOCUMENT_REQUEST_KIND_COLORS: Record<SeafarerDocumentRequestKind, string> = {
  NEW: 'gray',
  RENEWAL: 'blue',
  REPLACEMENT: 'orange',
};

export const SEAFARER_DOCUMENT_STATUS_LABELS: Record<SeafarerDocumentStatus, string> = {
  AWAITING_REGISTRATION: 'Awaiting Registration',
  PAYMENT_PENDING: 'Payment Pending',
  PAID: 'Paid',
  PAYMENT_CONFIRMED: 'Payment Confirmed',
  SCHEDULED: 'Pickup Scheduled',
  ISSUED: 'Issued',
  REJECTED: 'Rejected',
  CANCELLED: 'Cancelled',
};

export const SEAFARER_DOCUMENT_STATUS_COLORS: Record<SeafarerDocumentStatus, string> = {
  AWAITING_REGISTRATION: 'gray',
  PAYMENT_PENDING: 'orange',
  PAID: 'blue',
  PAYMENT_CONFIRMED: 'blue',
  SCHEDULED: 'grape',
  ISSUED: 'teal',
  REJECTED: 'red',
  CANCELLED: 'gray',
};
