@lomi./sdk
Version:
Official TypeScript SDK for the lomi. API
30 lines • 818 B
TypeScript
/**
* RefundsService
* AUTO-GENERATED - Do not edit manually
*
* Refund management - process and track refunds
*/
import type { Database } from '../types.js';
type RefundsRow = Database['public']['Tables']['refunds']['Row'];
type RefundsInsert = Database['public']['Tables']['refunds']['Insert'];
export declare class RefundsService {
/**
* List refunds
* Refund management - process and track refunds
*/
static list(options?: {
limit?: number;
offset?: number;
[key: string]: any;
}): Promise<RefundsRow[]>;
/**
* Get a single refund
*/
static get(id: string): Promise<RefundsRow>;
/**
* Create a new refund
*/
static create(data: RefundsInsert): Promise<RefundsRow>;
}
export {};
//# sourceMappingURL=RefundsService.d.ts.map