feat(customers): add DTOs for individual and legal customer creation

- Created CreateCustomerIndividualDto for individual customer data with fields: first_name, last_name, national_code, postal_code, is_favorite, and economic_code.
- Created CreateCustomerLegalDto for legal customer data with fields: company_name, economic_code, registration_number, and postal_code.
This commit is contained in:
2026-02-24 12:42:10 +03:30
parent c7cd7cd855
commit b949500482
27 changed files with 4116 additions and 600 deletions
+19
View File
@@ -10,7 +10,9 @@
*/
export const PaymentMethodType = {
TERMINAL: 'TERMINAL',
CASH: 'CASH',
SET_OFF: 'SET_OFF',
CARD: 'CARD',
BANK: 'BANK',
CHECK: 'CHECK',
@@ -47,3 +49,20 @@ export const UnitType = {
} as const
export type UnitType = (typeof UnitType)[keyof typeof UnitType]
export const CustomerType = {
INDIVIDUAL: 'INDIVIDUAL',
LEGAL: 'LEGAL',
UNKNOWN: 'UNKNOWN'
} as const
export type CustomerType = (typeof CustomerType)[keyof typeof CustomerType]
export const SalesInvoiceItemPricingModel = {
STANDARD: 'STANDARD',
GOLD: 'GOLD'
} as const
export type SalesInvoiceItemPricingModel = (typeof SalesInvoiceItemPricingModel)[keyof typeof SalesInvoiceItemPricingModel]