import { L as Logger, B as BaseClient, a as BaseClientConfig, R as RequestOptions } from './client-ePzhQKp9.js'; export { d as CGSConfig, i as CircuitBreaker, C as CircuitBreakerConfig, g as CircuitBreakerState, h as CircuitBreakerStatus, j as RateLimitStatus, k as RateLimitTracker, b as RequestInterceptor, f as RequiredBaseClientConfig, e as RequiredCGSConfig, c as RequiredVesantConfig, V as VesantConfig } from './client-ePzhQKp9.js'; export { A as APIResponse, C as CustomerStatus, E as EntityType, b as ErrorResponse, L as LocationCompliance, a as PaginatedResponse, P as PaginationParams, c as Result, R as RiskLevel, S as SuccessResponse, T as Timestamp, U as UUID, V as VerificationEventType } from './types-B4Ezqo7V.js'; import { T as TransactionCreateDTO, a as TransactionCreateResponse } from './index-CItMPmLL.js'; export { B as BaseWebhookEvent, C as ComplianceCheckFailedPayload, D as DecisionRecordedPayload, o as GeolocationBlockedPayload, G as GeolocationVerifiedPayload, J as JSONB, K as KycStatusChangedPayload, L as LabelAppliedPayload, p as LocationRequestCompletedPayload, P as ProfileCreatedPayload, n as ProfileUpdatedPayload, m as RiskCategoryChangedPayload, R as RiskScoreChangedPayload, r as TaxFormType, s as TaxReminderSentPayload, q as TaxReminderType, g as Transaction, t as TransactionCallbackPayload, h as TransactionClientConfig, c as TransactionMode, d as TransactionStatus, b as TransactionType, y as WebhookAnyHandler, u as WebhookEvent, x as WebhookEventHandler, l as WebhookEventType, W as WebhookHandler, w as WebhookHandlerConfig, i as WebhookMiddlewareOptions, f as WithholdingReason, e as WithholdingType, k as createNextWebhookHandler, j as createWebhookMiddleware, v as verifyWebhookSignature } from './index-CItMPmLL.js'; export { B as APIError, p as AlertFilters, q as AlertListResponse, m as AlertSeverity, A as AlertStatus, n as AlertType, e as CipherTextCustomerData, b as CipherTextOptions, C as CipherTextPayload, a as CipherTextReason, c as CipherTextResult, l as ComplianceCheckResponse, w as CreateGeofenceRuleRequest, s as CreateJurisdictionRequest, Q as CreateLocationRequestRequest, r as DashboardMetrics, d as DecryptedCipherText, j as DeviceFingerprint, D as DeviceFingerprintRequest, k as DeviceTrustResult, h as GeoIPResult, u as GeofenceAction, i as GeofenceEvaluation, v as GeofenceRule, t as GeofenceRuleType, o as GeolocationAlert, G as GeolocationClient, F as GeolocationClientConfig, E as GeolocationConfigResponse, z as GeolocationRecord, J as JurisdictionConfig, Y as LocationCaptureRequest, _ as LocationCaptureResponse, P as LocationRequest, O as LocationRequestChannel, S as LocationRequestFilters, T as LocationRequestListResponse, R as LocationRequestResult, N as LocationRequestStatus, Z as LocationShareInfo, L as LocationVerification, W as ResendLocationRequestRequest, y as UpdateDeviceTrustRequest, x as UpdateGeofenceRuleRequest, U as UpdateJurisdictionRequest, K as UseAlertsOptions, M as UseAlertsResult, H as UseGeolocationOptions, I as UseGeolocationResult, a1 as UseLocationCaptureOptions, a2 as UseLocationCaptureResult, $ as UseLocationRequestsOptions, a0 as UseLocationRequestsResult, V as ValidateCipherTextRequest, f as ValidateCipherTextResponse, g as VerifyIPRequest, X as WiFiNetwork } from './client-C_A7QLcB.js'; export { decodeCipherText, generateCipherText, isCipherTextExpired } from './geolocation/index.js'; export { RiskProfileClient } from './risk-profile/index.js'; export { d as CreateCustomerProfileRequest, d as CreateProfileRequest, C as CustomerProfile, e as CustomerProfileFilters, f as CustomerProfileListResponse, E as EmploymentType, L as LegalForm, P as ProfileDetailsResponse, e as ProfileFilters, f as ProfileListResponse, R as RiskCategory, h as RiskConfiguration, g as RiskDashboardMetrics, a as RiskFactor, b as RiskFactorType, c as RiskHistory, S as ScreeningStatus, U as UpdateProfileRequest } from './types-X5Md_dD_.js'; export { ComplianceClient, ComplianceLocationRequestInput, ComplianceLocationRequestResult, CurrencyRates, DEFAULT_CURRENCY_RATES, EventVerificationRequest, EventVerificationResponse, LoginVerificationRequest, LoginVerificationResponse, RegistrationVerificationRequest, RegistrationVerificationResponse, TransactionRiskResult, TransactionVerificationRequest, TransactionVerificationResponse } from './compliance/index.js'; export { CheckKycStatusRequest, CheckKycStatusResponse, CreateReuseKycSessionRequest, CreateReuseKycSessionResponse, DocumentType, DocumentVerificationRequest, DocumentVerificationResponse, FaceProof, KycAlert, KycAlertFilters, KycAlertListResponse, KycAlertStatus, KycAlertType, KycClient, KycClientConfig, KycCustomerProfile, KycOverview, KycPagination, KycPreferences, KycRequest, KycRequestFilters, KycRequestListResponse, KycStatus, KycTriggerEvent, Name, Proof, ProofDownloadURL, ProofType, RequestAdditionalDocumentsRequest, RequestKycSubmitLinkRequest, RequestKycSubmitLinkResponse, SubmitReuseKycSessionRequest, SubmittedDocument, SupportedDocumentType, UpdateKycAlertRequest, UpdateKycPreferencesRequest, UpdateKycStatusRequest, UseKycAlertsOptions, UseKycAlertsResult, UseKycOverviewOptions, UseKycOverviewResult, UseKycPreferencesResult, UseKycRequestsOptions, UseKycRequestsResult, UseKycSubmissionOptions, UseKycSubmissionResult } from './kyc/index.js'; export { CTPFormStatus, CTPTINStatus, ComplianceStats, ComplianceStatsFilters, CustomerTaxProfileDocuments, CustomerTaxProfileRecord, CustomerType, DocumentRequestBreakdown, EmailSendingMethod, EnableWithholdingInput, EnableWithholdingResponse, GlobalTaxRule, ReRequestTaxFormInput, RunRemindersResponse, TINCheckResult, TINStatusBreakdown, TaxClient, TaxClientConfig, TaxRuleApprovalStatus, TaxRuleVersion, TaxRules, TransactionAction, TreatyCountry, TreatyCountryListResponse, UpdateReminderConfigInput, UpdateTaxRulesInput, WFormCountBreakdown, WFormStatusBreakdown } from './tax/index.js'; export { FraudClient, FraudDecision, FraudEventType, FraudReactionType, FraudScoreRequest, FraudScoreResponseData, FraudScoreResponseEnvelope, FraudScoreResponseMetadata, TenantAction } from './fraud/index.js'; /** * Error hierarchy for Vesant SDK * * Provides structured error handling with specific error types * for different failure scenarios. */ declare class VesantError extends Error { code: string; statusCode?: number | undefined; details?: Record | undefined; requestId?: string; constructor(message: string, code: string, statusCode?: number | undefined, details?: Record | undefined); } /** @deprecated Use VesantError instead */ declare const CGSError: typeof VesantError; /** @deprecated Use VesantError instead */ type CGSError = VesantError; declare class NetworkError extends VesantError { originalError?: unknown | undefined; constructor(message: string, originalError?: unknown | undefined); } declare class ValidationError extends VesantError { constructor(message: string, fields?: string[]); } declare class ServiceUnavailableError extends VesantError { constructor(message?: string); } declare class ComplianceBlockedError extends VesantError { constructor(reasons: string[]); } declare class AuthenticationError extends VesantError { constructor(message?: string); } declare class RateLimitError extends VesantError { retryAfter?: number | undefined; constructor(retryAfter?: number | undefined); } declare class TimeoutError extends VesantError { timeout: number; constructor(timeout: number); } declare class ComplianceError extends VesantError { originalError?: unknown | undefined; constructor(message: string, originalError?: unknown | undefined, code?: string); } declare class CircuitBreakerOpenError extends VesantError { constructor(); } declare function createConsoleLogger(): Logger; declare const noopLogger: Logger; /** * Single source of truth for the SDK version. */ declare const SDK_VERSION = "1.6.6"; /** * TransactionClient - TypeScript SDK for the Transaction Monitoring service * * Provides a thin wrapper around the TM service endpoints. Currently only the * creation endpoint is implemented, but additional helpers (list, getById, * etc.) can be added later. */ declare class TransactionClient extends BaseClient { constructor(config: BaseClientConfig); /** * Submit a new transaction record to the monitoring service. * * The gateway endpoint is `POST /api/v1/tm/transactions` and returns 201 * with no body on success. The SDK method resolves to `void` to reflect * that behaviour. * * @param request - Data required to create the transaction * @param requestOptions - Optional request options (e.g. AbortSignal) * * @example * ```ts * const client = new TransactionClient({ * baseURL: process.env.API_GATEWAY_URL!, * tenantId: 'tenant-123', * apiKey: 'pk_test_...', * }); * * await client.createTransaction({ * tx_id: 'tx-1', * reference: 'ref-1', * tenant_id: 'tenant-123', * customer_id: 'cust-1', * transaction_type: 'deposit', * transaction_mode: 'ach', * amount: '100.00', * currency: 'USD', * status: 'pending', * source_account: 'acct-1', * destination_account: 'acct-2', * country: 'US', * ip_address: '10.0.0.1', * metadata: {}, * benificiary_comment: '', * transaction_date: new Date().toISOString(), * }); * ``` */ createTransaction(request: TransactionCreateDTO, requestOptions?: RequestOptions): Promise; /** * * @param transactionId tx_id of the transaction * @param requestOptions optional request options (e.g. AbortSignal) */ getTransaction(transactionId: string, requestOptions?: RequestOptions): Promise; } export { AuthenticationError, BaseClient, BaseClientConfig, CGSError, CircuitBreakerOpenError, ComplianceBlockedError, ComplianceError, Logger, NetworkError, RateLimitError, RequestOptions, SDK_VERSION, ServiceUnavailableError, TimeoutError, TransactionClient, TransactionCreateDTO, TransactionCreateResponse, ValidationError, VesantError, createConsoleLogger, noopLogger };