export type PayrexxApiVersion = '1.0' | '1.1' | '1.2' | '1.3' | '1.4' | '1.5' | '1.6' | '1.7' | '1.8' | '1.9' | '1.10' | '1.11'; export type HttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH'; export type Currency = 'CHF' | 'EUR' | 'USD' | 'GBP'; export type SwissLanguageId = 1 | 2 | 3 | 4; export interface MultiLanguageString { [key: number]: string; } export interface PayrexxConfig { instance: string; apiSecret: string; apiBaseDomain?: string; version?: PayrexxApiVersion; timeout?: number; headers?: Record; } export interface PayrexxApiResponse { status: string; data: T[]; } export interface PayrexxError { message: string; code?: string | number; details?: any; } export type FieldType = 'title' | 'forename' | 'surname' | 'company' | 'street' | 'postcode' | 'place' | 'country' | 'phone' | 'email' | 'date_of_birth' | 'terms' | 'privacy_policy' | 'custom_field_1' | 'custom_field_2' | 'custom_field_3' | 'custom_field_4' | 'custom_field_5'; export interface PayrexxField { type: FieldType; value: string; name?: string | MultiLanguageString; } export interface BasketItem { name: MultiLanguageString; description?: MultiLanguageString; quantity: number; amount: number; sku?: string; } export type PaymentMethodId = number; export type PaymentMethodCode = string; export interface PayrexxRequestOptions { timeout?: number; headers?: Record; } export interface PayrexxPaginationParams { limit?: number; offset?: number; } export declare const ApiMethods: { readonly create: "POST"; readonly charge: "POST"; readonly refund: "POST"; readonly capture: "POST"; readonly receipt: "POST"; readonly preAuthorize: "POST"; readonly cancel: "DELETE"; readonly delete: "DELETE"; readonly update: "PUT"; readonly getAll: "GET"; readonly getOne: "GET"; readonly details: "GET"; readonly patchUpdate: "PATCH"; }; export type ApiMethodName = keyof typeof ApiMethods; export interface GatewayField extends PayrexxField { } export interface SubscriptionConfig { subscriptionState: boolean; subscriptionInterval?: string; subscriptionPeriod?: string; subscriptionCancellationInterval?: string; } export type TransactionStatus = 'waiting' | 'confirmed' | 'authorized' | 'reserved' | 'cancelled' | 'declined' | 'error' | 'refunded' | 'partially_refunded' | 'chargeback'; export interface DesignConfig { lookAndFeelProfile?: string; design?: number; } export interface PayrexxAmount { amount: number; currency: Currency; vatRate?: number; } export interface PayrexxDates { createdAt?: string; updatedAt?: string; validity?: number; } export interface PayrexxBaseModel { id?: number; } export interface PayrexxTimestamps extends PayrexxDates { createdAt: string; updatedAt: string; } export * from '@/types/gateway'; export * from '@/types/subscription'; export * from '@/types/transaction'; export * from '@/types/invoice'; export * from '@/types/payout'; export * from '@/types/qrcode'; export * from '@/types/payment-method'; export * from '@/types/payment-provider'; export * from '@/types/design'; export * from '@/types/bill'; export * from '@/types/auth-token'; export * from '@/types/page'; export * from '@/types/qrcode-scan'; //# sourceMappingURL=index.d.ts.map