UNPKG

autumn-js

Version:

Autumn JS Library

20 lines (16 loc) 499 B
import { c as CustomerProduct, d as CustomerFeature, e as CustomerInvoice } from './cusTypes-sh5_cN7N.js'; type EntityExpandOption = "invoices"; 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 { Entity as E, GetEntityParams as G };