autumn-js
Version:
Autumn JS Library
23 lines (19 loc) • 580 B
text/typescript
import { c as CustomerProduct, d as CustomerFeature, e as CustomerInvoice } from './cusTypes-DT2ujoSl.mjs';
type EntityExpandOption = "invoices";
interface DeleteEntityResult {
success: boolean;
}
interface GetEntityParams {
expand?: EntityExpandOption[];
}
interface Entity {
id: string;
name: string;
customer_id: string;
created_at: number;
env: string;
products: CustomerProduct[];
features: Record<string, CustomerFeature>;
invoices?: CustomerInvoice[];
}
export type { DeleteEntityResult as D, Entity as E, GetEntityParams as G };