/**
 * Generated by orval v8.8.0 🍺
 * Do not edit manually.
 * OpenAPI spec version: 0.0.0
 */
import type { DeutschePostBulkOrderStatusEnum } from "./deutschePostBulkOrderStatusEnum";

export interface DeutschePostBulkOrder {
  readonly id: number;
  readonly created_at: Date;
  status?: DeutschePostBulkOrderStatusEnum;
  readonly status_display: string;
  /**
   * Deutsche Post bulk order ID from API
   * @nullable
   */
  readonly bulk_order_id: string | null;
  /**
   * MIXED_BAG, etc.
   * @maxLength 20
   */
  bulk_order_type?: string;
  /** @maxLength 255 */
  description?: string;
  readonly deutschepost_orders: readonly number[];
  /** List of DeutschePostOrder IDs to include in bulk order */
  deutschepost_order_ids: number[];
  readonly orders_count: string;
  readonly total_weight_kg: string;
  readonly tracking_url: string;
  readonly status_url: string;
  readonly can_be_cancelled: string;
  /**
   * Bulk shipment label PDF
   * @nullable
   */
  readonly bulk_label_pdf: string | null;
  /**
   * Bulk shipment paperwork PDF
   * @nullable
   */
  readonly paperwork_pdf: string | null;
  /** Raw API response data */
  readonly metadata: unknown;
  /** Last API error message */
  readonly last_error: string;
}
