export interface CWUserDefinedFieldOption {
  id: number;
  optionValue: string;
  defaultFlag: boolean;
  inactiveFlag: boolean;
  sortOrder: number;
}

export interface CWUserDefinedFieldInfo {
  lastUpdated: string;
  updatedBy: string;
}

export interface CWUserDefinedField {
  id: number;
  podId: number;
  caption: string;
  sequenceNumber: number;
  screenId: string;
  helpText?: string;
  fieldTypeIdentifier: string;
  numberDecimals: number;
  entryTypeIdentifier: string;
  requiredFlag: boolean;
  displayOnScreenFlag: boolean;
  readOnlyFlag: boolean;
  listViewFlag: boolean;
  options?: CWUserDefinedFieldOption[];
  businessUnitIds: number[];
  locationIds: number[];
  connectWiseID: string;
  dateCreated: string;
  _info: CWUserDefinedFieldInfo;
}
