@lomi./sdk
Version:
Official TypeScript SDK for the lomi. API
36 lines • 1.6 kB
TypeScript
/**
* Main lomi. SDK class
* AUTO-GENERATED - Do not edit manually
*/
import type { LomiConfig } from './config.js';
import { AccountsService, BeneficiaryPayoutsService, CheckoutSessionsService, CustomersService, DiscountCouponsService, OrganizationsService, PaymentLinksService, PaymentRequestsService, PayoutsService, ProductsService, RefundsService, SubscriptionsService, TransactionsService, WebhookDeliveryLogsService, WebhooksService } from './generated/index.js';
export declare class LomiSDK {
readonly accounts: typeof AccountsService;
readonly beneficiaryPayouts: typeof BeneficiaryPayoutsService;
readonly checkoutSessions: typeof CheckoutSessionsService;
readonly customers: typeof CustomersService;
readonly discountCoupons: typeof DiscountCouponsService;
readonly organizations: typeof OrganizationsService;
readonly paymentLinks: typeof PaymentLinksService;
readonly paymentRequests: typeof PaymentRequestsService;
readonly payouts: typeof PayoutsService;
readonly products: typeof ProductsService;
readonly refunds: typeof RefundsService;
readonly subscriptions: typeof SubscriptionsService;
readonly transactions: typeof TransactionsService;
readonly webhookDeliveryLogs: typeof WebhookDeliveryLogsService;
readonly webhooks: typeof WebhooksService;
/**
* Initialize the lomi. SDK
*/
constructor(config: LomiConfig);
/**
* Update the API key
*/
setApiKey(apiKey: string): void;
/**
* Get the current base URL
*/
getBaseUrl(): string;
}
//# sourceMappingURL=sdk.d.ts.map