import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type AccountAddressEditRequest = { /** * The ID of the address to edit */ id: string; /** * The publicly shareable identifier used to identify your Bolt merchant division. */ xPublishableKey: string; /** * A unique identifier for a shopper's device, generated by Bolt. The value is retrieved with `Bolt.state.merchantClientId` in your frontend context, per-shopper. This header is required for proper attribution of this operation to your analytics reports. Omitting this header may result in incorrect statistics. */ xMerchantClientId?: string | undefined; addressListing: components.AddressListingInput; }; export type AccountAddressEditResponse = { /** * HTTP response content type for this operation */ contentType: string; /** * HTTP response status code for this operation */ statusCode: number; /** * Raw HTTP response; suitable for custom response parsing */ rawResponse: Response; /** * The address was successfully edited */ addressListing?: components.AddressListing | undefined; }; /** @internal */ export declare const AccountAddressEditRequest$inboundSchema: z.ZodType; /** @internal */ export type AccountAddressEditRequest$Outbound = { id: string; "X-Publishable-Key": string; "X-Merchant-Client-Id"?: string | undefined; "address-listing": components.AddressListingInput$Outbound; }; /** @internal */ export declare const AccountAddressEditRequest$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 AccountAddressEditRequest$ { /** @deprecated use `AccountAddressEditRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountAddressEditRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountAddressEditRequest$Outbound` instead. */ type Outbound = AccountAddressEditRequest$Outbound; } export declare function accountAddressEditRequestToJSON(accountAddressEditRequest: AccountAddressEditRequest): string; export declare function accountAddressEditRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountAddressEditResponse$inboundSchema: z.ZodType; /** @internal */ export type AccountAddressEditResponse$Outbound = { ContentType: string; StatusCode: number; RawResponse: never; "address-listing"?: components.AddressListing$Outbound | undefined; }; /** @internal */ export declare const AccountAddressEditResponse$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 AccountAddressEditResponse$ { /** @deprecated use `AccountAddressEditResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountAddressEditResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountAddressEditResponse$Outbound` instead. */ type Outbound = AccountAddressEditResponse$Outbound; } export declare function accountAddressEditResponseToJSON(accountAddressEditResponse: AccountAddressEditResponse): string; export declare function accountAddressEditResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accountaddressedit.d.ts.map