import { IProductResponseSchema } from './products.types'; export declare enum EEntitlementType { Quantity = "Quantity", Credits = "Credits" } export type ISchema = { field: string; type: string; }; export type IEntitlement = { id?: string; name: string; description: string; entitlement_type: EEntitlementType; units?: string | null; is_active: boolean; product?: IProductResponseSchema | null; product_id?: string | null; created_at?: string; }; export type IEntitlementList = { next: string; previous: string; total_count: number; result: IEntitlement[]; }; export type ICustomerEntitlement = { id?: string; customer: { id: string; name: string; }; customer_id?: string; entitlement: string; name: string; units?: string; expiry_at: string | null; quantity: number; quantity_used: number; created_at?: string; }; export type ICustomerEntitlementList = { next: string; previous: string; total_count: number; results: ICustomerEntitlement[]; }; export type ICustomerEntitlementForm = { customer: string; entitlement: string; expiry_at: number | null; quantity: number; };