UNPKG

@lomi./sdk

Version:

Official TypeScript SDK for the lomi. API

30 lines 953 B
/** * CheckoutSessionsService * AUTO-GENERATED - Do not edit manually * * Checkout sessions - create hosted payment pages */ import type { Database } from '../types.js'; type CheckoutSessionsRow = Database['public']['Tables']['checkout_sessions']['Row']; type CheckoutSessionsInsert = Database['public']['Tables']['checkout_sessions']['Insert']; export declare class CheckoutSessionsService { /** * List checkout_sessions * Checkout sessions - create hosted payment pages */ static list(options?: { limit?: number; offset?: number; [key: string]: any; }): Promise<CheckoutSessionsRow[]>; /** * Get a single checkout_session */ static get(id: string): Promise<CheckoutSessionsRow>; /** * Create a new checkout_session */ static create(data: CheckoutSessionsInsert): Promise<CheckoutSessionsRow>; } export {}; //# sourceMappingURL=CheckoutSessionsService.d.ts.map