UNPKG

akua-sdk

Version:

TypeScript SDK for Akua Acquiring Processor

33 lines (32 loc) 1.3 kB
import 'reflect-metadata'; import { InstrumentService } from './services/instrument.service'; import { MerchantService } from './services/merchant.service'; import { OrganizationService } from './services/organization.service'; import { PaymentService } from './services/payment.service'; import { WebhookService } from './services/webhook.service'; import { ClientConfig } from './types/exportable-types'; /** * AkuaClient is the main class for interacting with the Akua API. * It provides services for managing merchants, instruments, organizations, payments, and webhooks. * @module AkuaClient */ export declare class AkuaClient { private readonly httpClient; readonly merchants: MerchantService; readonly instruments: InstrumentService; readonly organizations: OrganizationService; readonly payments: PaymentService; readonly webhooks: WebhookService; /** * Creates a new AkuaClient instance. * @param config - The configuration for the Akua client. * @example * const akuaClient = new AkuaClient({ * clientId: 'your_client_id', * clientSecret: 'your_client_secret', * environment: 'sandbox', // or 'production' * }); */ constructor(config: ClientConfig); } export * as AkuaTypes from './types/exportable-types';