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 AccountAddressCreateRequest = { /** * 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 AccountAddressCreateResponse = { /** * 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 added */ addressListing?: components.AddressListing | undefined; }; /** @internal */ export declare const AccountAddressCreateRequest$inboundSchema: z.ZodType; /** @internal */ export type AccountAddressCreateRequest$Outbound = { "X-Publishable-Key": string; "X-Merchant-Client-Id"?: string | undefined; "address-listing": components.AddressListingInput$Outbound; }; /** @internal */ export declare const AccountAddressCreateRequest$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 AccountAddressCreateRequest$ { /** @deprecated use `AccountAddressCreateRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountAddressCreateRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountAddressCreateRequest$Outbound` instead. */ type Outbound = AccountAddressCreateRequest$Outbound; } export declare function accountAddressCreateRequestToJSON(accountAddressCreateRequest: AccountAddressCreateRequest): string; export declare function accountAddressCreateRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountAddressCreateResponse$inboundSchema: z.ZodType; /** @internal */ export type AccountAddressCreateResponse$Outbound = { ContentType: string; StatusCode: number; RawResponse: never; "address-listing"?: components.AddressListing$Outbound | undefined; }; /** @internal */ export declare const AccountAddressCreateResponse$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 AccountAddressCreateResponse$ { /** @deprecated use `AccountAddressCreateResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountAddressCreateResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountAddressCreateResponse$Outbound` instead. */ type Outbound = AccountAddressCreateResponse$Outbound; } export declare function accountAddressCreateResponseToJSON(accountAddressCreateResponse: AccountAddressCreateResponse): string; export declare function accountAddressCreateResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accountaddresscreate.d.ts.map