UNPKG

@aptly-as/types

Version:
14 lines (13 loc) 494 B
import { AptlyAddress } from './address.js'; import { AptlyCustomerSchema } from './customer.js'; import { AptlyBaseSchema } from './extends.js'; export type AptlyCompany = AptlyCompanySchema<string, string>; export interface AptlyCompanySchema<ID, DATE> extends AptlyBaseSchema<ID, DATE> { organization: ID; vat: string; email: string; phone: string; shipping: AptlyAddress | null; billing: AptlyAddress | null; customers: (ID | AptlyCustomerSchema<ID, DATE>)[]; }