import * as z from "zod/v4-mini"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { AddressCompleteCreateRequest, AddressCompleteCreateRequest$Outbound } from "./addresscompletecreaterequest.js"; /** * Where your parcels will be available for pickup. "Security Deck" and "Shipping Dock" are only * * @remarks * supported for DHL Express. */ export declare const BuildingLocationType: { readonly BackDoor: "Back Door"; readonly RingBell: "Ring Bell"; readonly SecurityDeck: "Security Deck"; readonly ShippingDock: "Shipping Dock"; readonly FrontDoor: "Front Door"; readonly KnockOnDoor: "Knock on Door"; readonly InAtMailbox: "In/At Mailbox"; readonly MailRoom: "Mail Room"; readonly Office: "Office"; readonly Other: "Other"; readonly Reception: "Reception"; readonly SideDoor: "Side Door"; }; /** * Where your parcels will be available for pickup. "Security Deck" and "Shipping Dock" are only * * @remarks * supported for DHL Express. */ export type BuildingLocationType = ClosedEnum; /** * The type of building where the pickup is located. */ export declare const BuildingType: { readonly Apartment: "apartment"; readonly Building: "building"; readonly Department: "department"; readonly Floor: "floor"; readonly Room: "room"; readonly Suite: "suite"; }; /** * The type of building where the pickup is located. */ export type BuildingType = ClosedEnum; /** * Location where the parcel(s) will be picked up. */ export type Location = { /** * The pickup address, which includes your name, company name, street address, city, state, zip code, * * @remarks * country, phone number, and email address (strings). Special characters should not be included in * any address element, especially name, company, and email. */ address: AddressCompleteCreateRequest; /** * Where your parcels will be available for pickup. "Security Deck" and "Shipping Dock" are only * * @remarks * supported for DHL Express. */ buildingLocationType: BuildingLocationType; /** * The type of building where the pickup is located. */ buildingType?: BuildingType | undefined; /** * Pickup instructions for the courier. This is a mandatory field if the building_location_type is "Other". */ instructions?: string | undefined; }; /** @internal */ export declare const BuildingLocationType$inboundSchema: z.ZodMiniEnum; /** @internal */ export declare const BuildingLocationType$outboundSchema: z.ZodMiniEnum; /** @internal */ export declare const BuildingType$inboundSchema: z.ZodMiniEnum; /** @internal */ export declare const BuildingType$outboundSchema: z.ZodMiniEnum; /** @internal */ export declare const Location$inboundSchema: z.ZodMiniType; /** @internal */ export type Location$Outbound = { address: AddressCompleteCreateRequest$Outbound; building_location_type: string; building_type?: string | undefined; instructions?: string | undefined; }; /** @internal */ export declare const Location$outboundSchema: z.ZodMiniType; export declare function locationToJSON(location: Location): string; export declare function locationFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=location.d.ts.map