UNPKG

@lomi./sdk

Version:

Official TypeScript SDK for the lomi. API

39 lines 1.16 kB
/** * CustomersService * AUTO-GENERATED - Do not edit manually * * Customer management - create and manage customer profiles */ import type { Database } from '../types.js'; type CustomersRow = Database['public']['Tables']['customers']['Row']; type CustomersInsert = Database['public']['Tables']['customers']['Insert']; type CustomersUpdate = Database['public']['Tables']['customers']['Update']; export declare class CustomersService { /** * List customers * Customer management - create and manage customer profiles */ static list(options?: { limit?: number; offset?: number; [key: string]: any; }): Promise<CustomersRow[]>; /** * Get a single customer */ static get(id: string): Promise<CustomersRow>; /** * Create a new customer */ static create(data: CustomersInsert): Promise<CustomersRow>; /** * Update an existing customer */ static update(id: string, data: CustomersUpdate): Promise<CustomersRow>; /** * Delete a customer */ static delete(id: string): Promise<void>; } export {}; //# sourceMappingURL=CustomersService.d.ts.map