UNPKG

@lomi./sdk

Version:

Official TypeScript SDK for the lomi. API

30 lines 840 B
/** * ProductsService * AUTO-GENERATED - Do not edit manually * * Products - manage one-time and recurring products */ import type { Database } from '../types.js'; type ProductsRow = Database['public']['Tables']['products']['Row']; type ProductsInsert = Database['public']['Tables']['products']['Insert']; export declare class ProductsService { /** * List products * Products - manage one-time and recurring products */ static list(options?: { limit?: number; offset?: number; [key: string]: any; }): Promise<ProductsRow[]>; /** * Get a single product */ static get(id: string): Promise<ProductsRow>; /** * Create a new product */ static create(data: ProductsInsert): Promise<ProductsRow>; } export {}; //# sourceMappingURL=ProductsService.d.ts.map