const baseUrl = (complexId: string, posId: string) =>
  `/api/v1/consumer/complexes/${complexId}/poses/${posId}/sales_invoices`;

export const POS_SALES_INVOICES_API_ROUTES = {
  list: (complexId: string, posId: string) => `${baseUrl(complexId, posId)}`,
  single: (complexId: string, posId: string, invoiceId: string) =>
    `${baseUrl(complexId, posId)}/${invoiceId}`,
};
