Align companies with the Didar export: new fields, Didar-format Excel import/export, and people linked to companies by Didar code
This commit is contained in:
@@ -664,12 +664,27 @@ export interface CompanySummaryDto {
|
||||
export interface CompanyDto {
|
||||
id: string;
|
||||
name: string;
|
||||
/** کد داخلی شرکت */
|
||||
code: string | null;
|
||||
importSource: PersonImportSource | string;
|
||||
/** کد شرکت در مبدأ (مثلاً کد دیدار) */
|
||||
sourceRef: string | null;
|
||||
nationalId: string | null;
|
||||
economicCode: string | null;
|
||||
registrationNumber: string | null;
|
||||
phone: string | null;
|
||||
otherPhones: string | null;
|
||||
fax: string | null;
|
||||
email: string | null;
|
||||
otherEmails: string | null;
|
||||
website: string | null;
|
||||
province: string | null;
|
||||
city: string | null;
|
||||
postalCode: string | null;
|
||||
address: string | null;
|
||||
groupName: string | null;
|
||||
notes: string | null;
|
||||
registeredAt: string | null;
|
||||
tags: string[];
|
||||
customFields: Record<string, unknown>;
|
||||
peopleCount: number;
|
||||
@@ -680,12 +695,25 @@ export interface CompanyDto {
|
||||
|
||||
export interface CreateCompanyRequest {
|
||||
name: string;
|
||||
code?: string | null;
|
||||
importSource?: PersonImportSource | string;
|
||||
sourceRef?: string | null;
|
||||
nationalId?: string;
|
||||
economicCode?: string | null;
|
||||
registrationNumber?: string | null;
|
||||
phone?: string;
|
||||
otherPhones?: string | null;
|
||||
fax?: string | null;
|
||||
email?: string;
|
||||
otherEmails?: string | null;
|
||||
website?: string;
|
||||
province?: string | null;
|
||||
city?: string | null;
|
||||
postalCode?: string | null;
|
||||
address?: string;
|
||||
groupName?: string | null;
|
||||
notes?: string;
|
||||
registeredAt?: string | null;
|
||||
tags?: string[];
|
||||
customFields?: Record<string, unknown>;
|
||||
ownerId?: string | null;
|
||||
|
||||
Reference in New Issue
Block a user