import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Represents the tracking information associated with an ecommerce order. */ export type TrackingItem = { /** * The name or code of the carrier or shipping company that is handling the shipment. */ provider: string | null; /** * The tracking number associated with the shipment, which can be used to track the progress of the delivery. */ number: string | null; /** * The URL of the carrier's tracking page, which can be used to view detailed information about the shipment's progress. */ url?: string | null | undefined; /** * The date and time when the object was last updated. */ updatedAt?: Date | null | undefined; }; /** @internal */ export declare const TrackingItem$inboundSchema: z.ZodType; /** @internal */ export type TrackingItem$Outbound = { provider: string | null; number: string | null; url?: string | null | undefined; updated_at?: string | null | undefined; }; /** @internal */ export declare const TrackingItem$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace TrackingItem$ { /** @deprecated use `TrackingItem$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `TrackingItem$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `TrackingItem$Outbound` instead. */ type Outbound = TrackingItem$Outbound; } export declare function trackingItemToJSON(trackingItem: TrackingItem): string; export declare function trackingItemFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=trackingitem.d.ts.map