import { TrackingInfo } from './tracking-info';
import { UpdateMethods } from './update-method';

export class ImportedTrackingEvent {
  /** @description The tracking information for the shipment */
  tracking_info?: TrackingInfo;
  /**
   * @description Optional method for updating the tracking information state, i.e. is the returned
   * information the complete state of the package or should it be appended to the existing state.
   * Defaults to `append` if not specified.
   */
  update_method?: UpdateMethods;
  /** @description Any error messages resulting from processing the tracking event */
  error_messages?: string[];
  /** @description Any warning messages resulting from processing the tracking event */
  warning_messages?: string[];
}
