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 AccountGetRequest = { /** * 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; }; export type AccountGetResponse = { /** * 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 account details were successfully retrieved */ account?: components.Account | undefined; }; /** @internal */ export declare const AccountGetRequest$inboundSchema: z.ZodType; /** @internal */ export type AccountGetRequest$Outbound = { "X-Publishable-Key": string; "X-Merchant-Client-Id"?: string | undefined; }; /** @internal */ export declare const AccountGetRequest$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 AccountGetRequest$ { /** @deprecated use `AccountGetRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountGetRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountGetRequest$Outbound` instead. */ type Outbound = AccountGetRequest$Outbound; } export declare function accountGetRequestToJSON(accountGetRequest: AccountGetRequest): string; export declare function accountGetRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountGetResponse$inboundSchema: z.ZodType; /** @internal */ export type AccountGetResponse$Outbound = { ContentType: string; StatusCode: number; RawResponse: never; account?: components.Account$Outbound | undefined; }; /** @internal */ export declare const AccountGetResponse$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 AccountGetResponse$ { /** @deprecated use `AccountGetResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountGetResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountGetResponse$Outbound` instead. */ type Outbound = AccountGetResponse$Outbound; } export declare function accountGetResponseToJSON(accountGetResponse: AccountGetResponse): string; export declare function accountGetResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accountget.d.ts.map