import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { CreateSessionStatus } from "./createsessionstatus.js"; /** * The session data received from the payment service. */ export type CreateSession = { /** * Always `payment-service-session`. */ type: "payment-service-session"; status: CreateSessionStatus; /** * A generic error code that may be returned when the session could not be generated. */ code?: string | null | undefined; /** * The HTTP status code received from the payment service. */ statusCode?: number | null | undefined; /** * The JSON response body received from the payment service. */ responseBody?: { [k: string]: any; } | null | undefined; }; /** @internal */ export declare const CreateSession$inboundSchema: z.ZodType; export declare function createSessionFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=createsession.d.ts.map