const baseUrl = (consumerId: string, business_activity_id: string) =>
  `/api/v1/admin/consumers/${consumerId}/business_activities/${business_activity_id}/complexes`;

export const BUSINESS_ACTIVITY_COMPLEXES_API_ROUTES = {
  list: (consumerId: string, business_activity_id: string) =>
    `${baseUrl(consumerId, business_activity_id)}`,
  single: (consumerId: string, business_activity_id: string, complex_id: string) =>
    `${baseUrl(consumerId, business_activity_id)}/${complex_id}`,
};
