import * as z from "zod/v4-mini"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Cod, Cod$Outbound } from "./cod.js"; import { ParcelInsurance, ParcelInsurance$Outbound } from "./parcelinsurance.js"; /** * An object holding optional extra services to be requested for each parcel in a multi-piece shipment. * * @remarks * See the Parcel Extra table below for all available services. */ export type ParcelExtra = { /** * Specify collection on delivery details (UPS only). */ cod?: Cod | undefined; /** * To add insurance to your parcel, specify `amount`, `content` and `currency`.

If you do not want to add insurance to you parcel, do not set these parameters. */ insurance?: ParcelInsurance | undefined; /** * Optional text to be printed on the shipping label if supported by carrier. Up to 50 characters. */ reference1?: string | undefined; /** * Optional text to be printed on the shipping label if supported by carrier. Up to 50 characters. */ reference2?: string | undefined; }; /** @internal */ export declare const ParcelExtra$inboundSchema: z.ZodMiniType; /** @internal */ export type ParcelExtra$Outbound = { COD?: Cod$Outbound | undefined; insurance?: ParcelInsurance$Outbound | undefined; reference_1?: string | undefined; reference_2?: string | undefined; }; /** @internal */ export declare const ParcelExtra$outboundSchema: z.ZodMiniType; export declare function parcelExtraToJSON(parcelExtra: ParcelExtra): string; export declare function parcelExtraFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=parcelextra.d.ts.map