UNPKG

@lomi./sdk

Version:

Official TypeScript SDK for the lomi. API

30 lines 953 B
/** * DiscountCouponsService * AUTO-GENERATED - Do not edit manually * * Discount coupons - create and manage promotional codes */ import type { Database } from '../types.js'; type DiscountCouponsRow = Database['public']['Tables']['discount_coupons']['Row']; type DiscountCouponsInsert = Database['public']['Tables']['discount_coupons']['Insert']; export declare class DiscountCouponsService { /** * List discount_coupons * Discount coupons - create and manage promotional codes */ static list(options?: { limit?: number; offset?: number; [key: string]: any; }): Promise<DiscountCouponsRow[]>; /** * Get a single discount_coupon */ static get(id: string): Promise<DiscountCouponsRow>; /** * Create a new discount_coupon */ static create(data: DiscountCouponsInsert): Promise<DiscountCouponsRow>; } export {}; //# sourceMappingURL=DiscountCouponsService.d.ts.map