From 6457b692b8f5585e0c676752368e4ca41012bbcf Mon Sep 17 00:00:00 2001 From: ghost2023 Date: Thu, 28 May 2026 13:42:45 +0300 Subject: [PATCH] chore: update create customer dto --- packages/types/src/freight/index.ts | 30 ++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/packages/types/src/freight/index.ts b/packages/types/src/freight/index.ts index 48d3f87af..da109ecda 100644 --- a/packages/types/src/freight/index.ts +++ b/packages/types/src/freight/index.ts @@ -64,17 +64,29 @@ export interface ICustomer extends BaseEntity { } export interface CreateCustomerDto { - name: string; + userId: string; + firstName: string; + lastName: string; email: string; phone: string; - company?: string; - customerType?: CustomerType; - status?: CustomerStatus; - tinNumber?: string; - city?: string; - country?: string; - address?: string; - taxId?: string; + companyName: string; + companyEmail: string; + companyPhone: string; + companyLocation: string; + companyAddress: string; + contactPersonName: string; + contactPersonPhone: string; + tinNumber: string; + vatNumber: string; + fanNumber: string; + generalManagerName: string; + generalManagerEmail: string; + generalManagerPhone: string; + poaName?: string; + poaPhone?: string; + poaAddress?: string; + poaEmail?: string; + poaLocation?: string; notes?: string; }