import { ManifestRequestShipment } from '../models';
import { BaseRequest } from './base-request';

/** @description Basic structure for a request to get previousely created manifests */
export class GetManifestRequest extends BaseRequest {
  // Identifier to retrieve manifest
  manifest_request_id?: number;

  // Data required to retrieve manifests
  manifest_identifiers?: { [key: string]: any };

  // Default false: Allow up to 5 checks to DHL before returning.
  return_immediately?: boolean;

  // Labels included, identical to the labels send on the create manifest call
  included_labels?: ManifestRequestShipment[];

  // Labels excluded, identical to the labels send on the create manifest call
  excluded_labels?: ManifestRequestShipment[];
}
