UNPKG

@apihawk/billia-sdk

Version:

The ApiHawk Billia SDK

93 lines 2.41 kB
import { IGearJob } from './billia-sdk-communication.types'; export interface ICustomerProfileEmail { customer_profile_email_id?: number; customer_profile_id: number; email: string; description: string; type: string; user_id?: number; } export interface INewCustomerProfileCompany { customer_profile_id?: number; organization: string; address: string; city: string; country_code?: string; tax_number?: string; vat?: string; billing_type?: 'company' | 'personal'; accountable_person?: string; zip_code?: string; } export interface ICustomerProfileCompany { customer_profile_company_id?: number; customer_profile_id: number; organization: string; country_code: string; tax_number: string; user_id: number; vat: string; billing_type: 'company' | 'personal'; accountable_person?: string; address: string; city: string; zip_code: string; } export interface ICustomerProfile { customer_profile_id: number; firstname: string; lastname: string; language: string; status: string; use_gravatar: number; phone: string; address: string; city: string; postal_code: string; country: string; time_zone: string; type: 'master' | 'slave'; customer_type: string; notification_settings: string; invoice_due_date_days: number; invoice_consolidated: number; custom_fields: string; birthdate: string; proforma_enabled: number; invoice_enabled: number; created_at?: string; updated_at?: string; email?: ICustomerProfileEmail[]; company?: ICustomerProfileCompany[]; } export interface INewCustomerProfile { firstname: string; lastname: string; phone: string; country: string; address: string; city: string; postal_code: string; birthdate?: string; language?: string; } export interface INewCustomerProfileWithEmail extends INewCustomerProfile { email: string; } export interface ICustomerGearTask { job_id: string; type: string; user_id: string; reseller: string; order_id?: number | null; purchase_id?: number | null; _links?: any; job?: IGearJob; } export interface IVatCompanySearchResult { organization: string; address: string; country_code: string; tax_number: string; } //# sourceMappingURL=billia-sdk-customer.types.d.ts.map