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"; /** * Party to be billed. (Leave blank for DHL Germany.) */ export declare const Type: { readonly Sender: "SENDER"; readonly Recipient: "RECIPIENT"; readonly ThirdParty: "THIRD_PARTY"; readonly ThirdPartyConsignee: "THIRD_PARTY_CONSIGNEE"; readonly Collect: "COLLECT"; }; /** * Party to be billed. (Leave blank for DHL Germany.) */ export type Type = ClosedEnum; /** * Specify billing details (UPS, FedEx, and DHL Germany only). */ export type Billing = { /** * Account number to be billed. (For DHL Germany, leave this field blank.) */ account?: string | undefined; /** * Country iso2 code of account number to be billed (required for UPS third party billing only). */ country?: string | undefined; /** * 2 digit code used to override your default participation code associated with your DHL Germany account. */ participationCode?: string | undefined; /** * Party to be billed. (Leave blank for DHL Germany.) */ type?: Type | undefined; /** * ZIP code of account number to be billed (required for UPS if there is a zip on the billing account). */ zip?: string | undefined; }; /** @internal */ export declare const Type$inboundSchema: z.ZodMiniEnum; /** @internal */ export declare const Type$outboundSchema: z.ZodMiniEnum; /** @internal */ export declare const Billing$inboundSchema: z.ZodMiniType; /** @internal */ export type Billing$Outbound = { account?: string | undefined; country?: string | undefined; participation_code?: string | undefined; type?: string | undefined; zip?: string | undefined; }; /** @internal */ export declare const Billing$outboundSchema: z.ZodMiniType; export declare function billingToJSON(billing: Billing): string; export declare function billingFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=billing.d.ts.map