Adding registration date and multiple addresses for contacts and leads.
This commit is contained in:
@@ -700,7 +700,9 @@ export interface PersonDto {
|
||||
mobile: string | null;
|
||||
position: string | null;
|
||||
website: string | null;
|
||||
instagram: string | null;
|
||||
referrer: string | null;
|
||||
addresses: string[];
|
||||
notes: string | null;
|
||||
mood: PersonMood;
|
||||
tags: string[];
|
||||
@@ -721,13 +723,17 @@ export interface CreatePersonRequest {
|
||||
mobile?: string;
|
||||
position?: string;
|
||||
website?: string;
|
||||
instagram?: string;
|
||||
referrer?: string;
|
||||
addresses?: string[];
|
||||
notes?: string;
|
||||
mood?: PersonMood;
|
||||
tags?: string[];
|
||||
companyId?: string | null;
|
||||
customFields?: Record<string, unknown>;
|
||||
ownerId?: string | null;
|
||||
/** فقط برای ایمپورت اکسل — تاریخ ثبت مبدأ */
|
||||
registeredAt?: string | null;
|
||||
}
|
||||
|
||||
export type UpdatePersonRequest = Partial<CreatePersonRequest>;
|
||||
@@ -3802,6 +3808,8 @@ export interface LeadDto {
|
||||
phone: string | null;
|
||||
city: string | null;
|
||||
region: string | null;
|
||||
instagram: string | null;
|
||||
addresses: string[];
|
||||
trade: string | null;
|
||||
source: string | null;
|
||||
notes: string | null;
|
||||
@@ -3838,6 +3846,8 @@ export interface CreateLeadRequest {
|
||||
phone?: string | null;
|
||||
city?: string | null;
|
||||
region?: string | null;
|
||||
instagram?: string | null;
|
||||
addresses?: string[];
|
||||
trade?: string | null;
|
||||
source?: string | null;
|
||||
notes?: string | null;
|
||||
@@ -3845,6 +3855,8 @@ export interface CreateLeadRequest {
|
||||
stageId?: string;
|
||||
assigneeId?: string | null;
|
||||
nextFollowUpAt?: string | null;
|
||||
/** فقط برای ایمپورت اکسل — تاریخ ثبت مبدأ */
|
||||
registeredAt?: string | null;
|
||||
}
|
||||
|
||||
export interface UpdateLeadRequest {
|
||||
@@ -3854,6 +3866,8 @@ export interface UpdateLeadRequest {
|
||||
phone?: string | null;
|
||||
city?: string | null;
|
||||
region?: string | null;
|
||||
instagram?: string | null;
|
||||
addresses?: string[];
|
||||
trade?: string | null;
|
||||
source?: string | null;
|
||||
notes?: string | null;
|
||||
@@ -3943,6 +3957,9 @@ export interface LeadImportRow {
|
||||
phone?: string;
|
||||
city?: string;
|
||||
region?: string;
|
||||
address?: string;
|
||||
instagram?: string;
|
||||
registeredAt?: string;
|
||||
trade?: string;
|
||||
source?: string;
|
||||
notes?: string;
|
||||
|
||||
Reference in New Issue
Block a user