import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { DefinitionField } from "./definitionfield.js"; import { IntegrationClient } from "./integrationclient.js"; import { Method } from "./method.js"; import { Mode } from "./mode.js"; import { PaymentServiceConfiguration } from "./paymentserviceconfiguration.js"; import { RequiredCheckoutFields } from "./requiredcheckoutfields.js"; export type PaymentServiceDefinition = { /** * The definition ID of the payment service that can be configured. This is the underlying provider followed by a dash followed by the method. */ id: string; /** * Always `payment-service-definition`. */ type: "payment-service-definition"; /** * A human friendly name for this service. */ displayName: string; method: Method; /** * A list of credentials and related fields which can be configured for this service. */ fields: Array; /** * A list of reporting fields which can be configured for this service. */ reportingFields: Array; /** * A list of three-letter ISO currency codes that this service supports. */ supportedCurrencies: Array; /** * A list of two-letter ISO country codes that this service supports. */ supportedCountries: Array; mode: Mode; /** * An icon to display for the payment service. */ iconUrl?: string | null | undefined; /** * Features supported by the payment service. */ supportedFeatures: { [k: string]: boolean; }; /** * A list of condition that define when some fields must be provided with a transaction request. */ requiredCheckoutFields: Array; configuration: PaymentServiceConfiguration; /** * List of supported integration clients. Defaults to redirect for most redirect connectors. */ supportedIntegrationClients: Array | null; }; /** @internal */ export declare const PaymentServiceDefinition$inboundSchema: z.ZodType; export declare function paymentServiceDefinitionFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=paymentservicedefinition.d.ts.map