export type ContractDirection = 'IMP' | 'EXP' | 'DOM';
export type ContractFreight = 'CON' | 'BULK';
export type ContractServiceScope = 'TRANSPORT_ONLY' | 'FORWARDING';

export interface Article1Clause {
  objective: string;
  scope: string[];
}

export interface ContractClausePack {
  article1: Article1Clause;
  clientObligations: string[];
  providerObligations: string[];
  contractDocuments: string[];
}

export interface ContractTemplateMeta {
  key: string;
  direction: ContractDirection;
  freight: ContractFreight;
  currency: string;
  serviceScope: ContractServiceScope;
  title: string;
  directionLabel: string;
  freightLabel: string;
  whereas: string;
  /** Summary line for APIs; mirrors article1.objective */
  article1Objective: string;
  article1: Article1Clause;
  clientObligations: string[];
  providerObligations: string[];
  contractDocuments: string[];
  /** Optional dedicated .hbs file; otherwise uses generic.hbs */
  templateFile?: string;
}
