export type RuleEngineResourceSlug =
  | "cargo-types"
  | "container-types"
  | "wagon-types"
  | "priority-configs"
  | "service-types"
  | "weight-limit-rules"
  | "yards"
  | "shipping-lines"
  | "rates"
  | "approval-rules";

export interface RuleEngineListMeta {
  total: number;
  page: number;
  pageSize: number;
  totalPages: number;
}

export interface RuleEngineListResult<T> {
  data: T[];
  meta: RuleEngineListMeta;
}

export type RuleEngineRecord = Record<string, unknown> & { id: string };
