import * as z from "zod/v4-mini"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { CarrierParcelTemplate } from "./carrierparceltemplate.js"; import { DistanceUnitEnum } from "./distanceunitenum.js"; import { WeightUnitEnum } from "./weightunitenum.js"; export type UserParcelTemplate = { /** * The measure unit used for length, width and height. */ distanceUnit?: DistanceUnitEnum | undefined; /** * The height of the package, in units specified by the `distance_unit` attribute. Required, but if using a preset carrier template then this field must be empty. */ height?: string | undefined; /** * The length of the package, in units specified by the `distance_unit` attribute. Required, but if using a preset carrier template then this field must be empty. */ length?: string | undefined; /** * The name of the User Parcel Template */ name?: string | undefined; /** * The weight of the package, in units specified by the weight_unit attribute. */ weight?: string | undefined; /** * The unit used for weight. */ weightUnit?: WeightUnitEnum | undefined; /** * The width of the package, in units specified by the `distance_unit` attribute. Required, but if using a preset carrier template then this field must be empty. */ width?: string | undefined; /** * Date and time of User Parcel Template creation */ objectCreated?: Date | undefined; /** * Unique identifier of the given User Parcel Template object */ objectId?: string | undefined; /** * Username of the user who created the User Parcel Template object */ objectOwner?: string | undefined; /** * Date and time of last update on User Parcel Template */ objectUpdated?: Date | undefined; template?: CarrierParcelTemplate | undefined; }; /** @internal */ export declare const UserParcelTemplate$inboundSchema: z.ZodMiniType; export declare function userParcelTemplateFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=userparceltemplate.d.ts.map