import { BaseResponse } from './base-response';
import { UpdateMethods, TrackingInfo } from '../models';

/** @description Basic structure for a response to normalize inbound tracking data */
export class NormalizeTrackingDataResponse extends BaseResponse {
  /** @description Collection of normalized tracking updates with one entry per package */
  tracking_info!: TrackingInfo[];
  /**
   * @description 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
   */
  update_method!: UpdateMethods;
}
