Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
type alias GetOrder
import { type GetOrder } from "https://deno.land/x/cdek@v1.0.12/src/types/api/response.ts";
definition: { entity?: { uuid: string; is_return: boolean; is_reverse: boolean; is_client_return: boolean; type: number; additional_order_types?: number; cdek_number?: string; number?: string; delivery_mode?: string; tariff_code: number; items_cost_currency?: string; recipient_currency?: string; comment?: string; developer_key?: string; shipment_point?: string; delivery_point?: string; date_invoice?: string; shipper_name?: string; shipper_address?: string; delivery_recipient_cost?: Money; delivery_recipient_cost_adv?: Threshold[]; sender: Contact; seller?: Seller; recipient: Contact; from_location?: Location; to_location: Location; services?: Service[]; packages: (Package & { package_id?: string; weight_volume?: number; weight_calc?: number; })[]; delivery_problem?: { code?: string; create_date?: string; }[]; delivery_date?: string; delivery_detail?: { date?: string; recipient_name?: string; payment_sum?: number; payment_info?: { type: "CARD" | "CASH"; sum: number; }[]; delivery_sum: number; total_sum: number; delivery_vat_rate?: number; delivery_vat_sum?: number; delivery_discount_percent?: number; delivery_discount_sum?: number; }; transacted_payment?: boolean; statuses: Status[]; calls?: { failed_calls?: { date_time: string; reason_code: number; }[]; rescheduled_calls?: { date_time: string; date_next: string; time_next: string; comment?: string; }[]; }; planned_delivery_date: string; keep_free_until?: string; }; requests?: Request[]; related_entities?: { type:
| "return_order"
| "direct_order"
| "barcode"
| "waybill"
| "reverse_order"
| "delivery"
; uuid: string; url?: string; cdek_number?: string; date?: string; time_from?: string; time_to?: string; create_time?: string; }[]; }