UNPKG

@lomi./sdk

Version:

Official TypeScript SDK for the lomi. API

30 lines 961 B
/** * PaymentRequestsService * AUTO-GENERATED - Do not edit manually * * Payment requests - create payment intents and track status */ import type { Database } from '../types.js'; type PaymentRequestsRow = Database['public']['Tables']['payment_requests']['Row']; type PaymentRequestsInsert = Database['public']['Tables']['payment_requests']['Insert']; export declare class PaymentRequestsService { /** * List payment_requests * Payment requests - create payment intents and track status */ static list(options?: { limit?: number; offset?: number; [key: string]: any; }): Promise<PaymentRequestsRow[]>; /** * Get a single payment_request */ static get(id: string): Promise<PaymentRequestsRow>; /** * Create a new payment_request */ static create(data: PaymentRequestsInsert): Promise<PaymentRequestsRow>; } export {}; //# sourceMappingURL=PaymentRequestsService.d.ts.map