import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type AccountPaymentMethodDeleteRequest = { /** * The ID of the payment method to delete */ 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; }; export type AccountPaymentMethodDeleteResponse = { /** * 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; }; /** @internal */ export declare const AccountPaymentMethodDeleteRequest$inboundSchema: z.ZodType; /** @internal */ export type AccountPaymentMethodDeleteRequest$Outbound = { id: string; "X-Publishable-Key": string; "X-Merchant-Client-Id"?: string | undefined; }; /** @internal */ export declare const AccountPaymentMethodDeleteRequest$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 AccountPaymentMethodDeleteRequest$ { /** @deprecated use `AccountPaymentMethodDeleteRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountPaymentMethodDeleteRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountPaymentMethodDeleteRequest$Outbound` instead. */ type Outbound = AccountPaymentMethodDeleteRequest$Outbound; } export declare function accountPaymentMethodDeleteRequestToJSON(accountPaymentMethodDeleteRequest: AccountPaymentMethodDeleteRequest): string; export declare function accountPaymentMethodDeleteRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountPaymentMethodDeleteResponse$inboundSchema: z.ZodType; /** @internal */ export type AccountPaymentMethodDeleteResponse$Outbound = { ContentType: string; StatusCode: number; RawResponse: never; }; /** @internal */ export declare const AccountPaymentMethodDeleteResponse$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 AccountPaymentMethodDeleteResponse$ { /** @deprecated use `AccountPaymentMethodDeleteResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountPaymentMethodDeleteResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountPaymentMethodDeleteResponse$Outbound` instead. */ type Outbound = AccountPaymentMethodDeleteResponse$Outbound; } export declare function accountPaymentMethodDeleteResponseToJSON(accountPaymentMethodDeleteResponse: AccountPaymentMethodDeleteResponse): string; export declare function accountPaymentMethodDeleteResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accountpaymentmethoddelete.d.ts.map