vector-shared 1.1.327 → 1.1.328
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/common/currency.value.interface.d.ts +2 -2
- package/dist/types/core/advert-source.type.d.ts +1 -1
- package/dist/types/core/apartment-complex-info.type.d.ts +4 -4
- package/dist/types/core/attention-required.type.d.ts +2 -2
- package/dist/types/core/attorney.type.d.ts +1 -1
- package/dist/types/core/attribute.type.d.ts +3 -3
- package/dist/types/core/build-company.type.d.ts +3 -3
- package/dist/types/core/call-redirect.type.d.ts +2 -2
- package/dist/types/core/call.type.d.ts +3 -3
- package/dist/types/core/customer-property-duplicate.type.d.ts +3 -3
- package/dist/types/core/customer-property.type.d.ts +18 -18
- package/dist/types/core/customer.type.d.ts +13 -13
- package/dist/types/core/deal-document.type.d.ts +5 -5
- package/dist/types/core/deal-participant.type.d.ts +5 -5
- package/dist/types/core/deal-transaction.type.d.ts +2 -2
- package/dist/types/core/deal-type.type.d.ts +1 -1
- package/dist/types/core/deal.type.d.ts +52 -52
- package/dist/types/core/duty.type.d.ts +1 -1
- package/dist/types/core/flat.type.d.ts +4 -4
- package/dist/types/core/floor.type.d.ts +2 -2
- package/dist/types/core/geo.type.d.ts +4 -4
- package/dist/types/core/google-contact.type.d.ts +2 -2
- package/dist/types/core/handling.type.d.ts +7 -7
- package/dist/types/core/image.type.d.ts +7 -7
- package/dist/types/core/layout.type.d.ts +3 -3
- package/dist/types/core/mismatch-aggregate.type.d.ts +1 -1
- package/dist/types/core/mismatch-decision.type.d.ts +2 -2
- package/dist/types/core/mismatch-reason.type.d.ts +2 -2
- package/dist/types/core/mismatch-report.type.d.ts +3 -3
- package/dist/types/core/notary.type.d.ts +1 -1
- package/dist/types/core/notification-preference.type.d.ts +1 -1
- package/dist/types/core/notification.type.d.ts +3 -3
- package/dist/types/core/office-center.type.d.ts +2 -2
- package/dist/types/core/office.type.d.ts +3 -3
- package/dist/types/core/property-document.type.d.ts +1 -1
- package/dist/types/core/property-image.type.d.ts +2 -2
- package/dist/types/core/property-seo.type.d.ts +3 -3
- package/dist/types/core/queue.type.d.ts +7 -7
- package/dist/types/core/request-presentation.type.d.ts +1 -1
- package/dist/types/core/request-property.type.d.ts +5 -5
- package/dist/types/core/section.type.d.ts +3 -3
- package/dist/types/core/street.type.d.ts +5 -5
- package/dist/types/core/telegram-chat.type.d.ts +2 -2
- package/dist/types/core/telegram-message.type.d.ts +2 -2
- package/dist/types/core/template-comment.type.d.ts +1 -1
- package/dist/types/core/template.type.d.ts +3 -3
- package/dist/types/core/topzone.type.d.ts +2 -2
- package/dist/types/core/uploaded-file-entity.type.d.ts +1 -1
- package/dist/types/core/user-action-log.type.d.ts +2 -2
- package/dist/types/core/user-attorney.type.d.ts +6 -6
- package/dist/types/core/user-phone.type.d.ts +1 -1
- package/dist/types/core/user-points-change.type.d.ts +5 -5
- package/dist/types/core/user-profile.type.d.ts +21 -21
- package/package.json +1 -1
- package/types/common/currency.value.interface.ts +2 -2
- package/types/core/advert-source.type.ts +1 -1
- package/types/core/apartment-complex-info.type.ts +4 -4
- package/types/core/attention-required.type.ts +2 -2
- package/types/core/attorney.type.ts +1 -1
- package/types/core/attribute.type.ts +3 -3
- package/types/core/build-company.type.ts +3 -3
- package/types/core/call-redirect.type.ts +2 -2
- package/types/core/call.type.ts +3 -3
- package/types/core/customer-property-duplicate.type.ts +3 -3
- package/types/core/customer-property.type.ts +18 -18
- package/types/core/customer.type.ts +13 -13
- package/types/core/deal-document.type.ts +5 -5
- package/types/core/deal-participant.type.ts +5 -5
- package/types/core/deal-transaction.type.ts +2 -2
- package/types/core/deal-type.type.ts +1 -1
- package/types/core/deal.type.ts +52 -52
- package/types/core/duty.type.ts +1 -1
- package/types/core/flat.type.ts +4 -4
- package/types/core/floor.type.ts +2 -2
- package/types/core/geo.type.ts +4 -4
- package/types/core/google-contact.type.ts +2 -2
- package/types/core/handling.type.ts +7 -7
- package/types/core/image.type.ts +7 -7
- package/types/core/layout.type.ts +3 -14
- package/types/core/mismatch-aggregate.type.ts +1 -1
- package/types/core/mismatch-decision.type.ts +2 -8
- package/types/core/mismatch-reason.type.ts +2 -2
- package/types/core/mismatch-report.type.ts +3 -9
- package/types/core/notary.type.ts +1 -5
- package/types/core/notification-preference.type.ts +1 -5
- package/types/core/notification.type.ts +3 -9
- package/types/core/office-center.type.ts +2 -12
- package/types/core/office.type.ts +3 -20
- package/types/core/property-document.type.ts +1 -1
- package/types/core/property-image.type.ts +2 -6
- package/types/core/property-seo.type.ts +3 -7
- package/types/core/queue.type.ts +7 -19
- package/types/core/realtor-number.type.ts +0 -4
- package/types/core/representation.type.ts +0 -8
- package/types/core/request-presentation.type.ts +1 -1
- package/types/core/request-property.type.ts +5 -13
- package/types/core/section.type.ts +3 -8
- package/types/core/street.type.ts +5 -16
- package/types/core/telegram-chat.type.ts +2 -5
- package/types/core/telegram-message.type.ts +2 -7
- package/types/core/template-comment.type.ts +1 -9
- package/types/core/template.type.ts +3 -3
- package/types/core/topzone.type.ts +2 -11
- package/types/core/uploaded-file-entity.type.ts +1 -4
- package/types/core/user-action-log.type.ts +5 -14
- package/types/core/user-attorney.type.ts +6 -6
- package/types/core/user-phone.type.ts +1 -1
- package/types/core/user-points-change.type.ts +5 -16
- package/types/core/user-profile.type.ts +21 -21
|
@@ -23,11 +23,11 @@ export type OfficeEntity = BaseEntity & {
|
|
|
23
23
|
customerBucketScope: CustomerBucketScope;
|
|
24
24
|
users?: UserOfficeEntity[];
|
|
25
25
|
officeCenter?: OfficeCenterEntity;
|
|
26
|
-
norms
|
|
26
|
+
norms?: EmployeeNormEntity[];
|
|
27
27
|
buckets?: CustomerBucketEntity[];
|
|
28
28
|
redirects?: CallRedirectEntity[];
|
|
29
|
-
deals
|
|
30
|
-
dealParticipants
|
|
29
|
+
deals?: DealEntity[];
|
|
30
|
+
dealParticipants?: DealParticipantEntity[];
|
|
31
31
|
templates?: TemplateOfficeEntity[];
|
|
32
32
|
feedbacks?: FeedbackEntity[];
|
|
33
33
|
realtorNumbers?: RealtorNumberEntity[];
|
|
@@ -7,7 +7,7 @@ export type PropertyImageEntity = UniqueIdEntity & {
|
|
|
7
7
|
showOnSite: boolean;
|
|
8
8
|
isMain: boolean;
|
|
9
9
|
imageId: number;
|
|
10
|
-
image
|
|
10
|
+
image?: ImageEntity;
|
|
11
11
|
propertyId: number;
|
|
12
|
-
property
|
|
12
|
+
property?: CustomerPropertyEntity;
|
|
13
13
|
};
|
|
@@ -3,8 +3,8 @@ import { CustomerPropertyEntity } from './customer-property.type';
|
|
|
3
3
|
import { Language, MultiLanguage } from '../common';
|
|
4
4
|
export type PropertySeoEntity = UniqueIdEntity & {
|
|
5
5
|
lang: Language;
|
|
6
|
-
mainAdvantage
|
|
7
|
-
description
|
|
8
|
-
title
|
|
6
|
+
mainAdvantage: string | null;
|
|
7
|
+
description: MultiLanguage | null;
|
|
8
|
+
title: MultiLanguage | null;
|
|
9
9
|
property?: CustomerPropertyEntity;
|
|
10
10
|
};
|
|
@@ -8,12 +8,12 @@ export type QueueEntity = BaseEntity & {
|
|
|
8
8
|
inOperation: boolean;
|
|
9
9
|
startDate: Date;
|
|
10
10
|
finishDate: Date;
|
|
11
|
-
houseNumberSecond
|
|
12
|
-
houseNumberTemporary
|
|
13
|
-
housingNumber
|
|
14
|
-
streetId
|
|
15
|
-
|
|
16
|
-
|
|
11
|
+
houseNumberSecond: string | null;
|
|
12
|
+
houseNumberTemporary: string | null;
|
|
13
|
+
housingNumber: string | null;
|
|
14
|
+
streetId: number | null;
|
|
15
|
+
complexId: number | null;
|
|
16
|
+
street?: StreetEntity;
|
|
17
17
|
complex?: ApartmentComplexEntity;
|
|
18
|
-
sections
|
|
18
|
+
sections?: SectionEntity[];
|
|
19
19
|
};
|
|
@@ -6,9 +6,9 @@ export type RequestPropertyEntity = BaseEntity & {
|
|
|
6
6
|
requestSelection?: CustomerRequestSelectionEntity;
|
|
7
7
|
propertyId: number;
|
|
8
8
|
customerProperty?: CustomerPropertyEntity;
|
|
9
|
-
isAddedManually
|
|
10
|
-
isRejected
|
|
11
|
-
isMain
|
|
12
|
-
createdAt
|
|
13
|
-
updatedAt
|
|
9
|
+
isAddedManually: boolean;
|
|
10
|
+
isRejected: boolean;
|
|
11
|
+
isMain: boolean;
|
|
12
|
+
createdAt: Date | null;
|
|
13
|
+
updatedAt: Date | null;
|
|
14
14
|
};
|
|
@@ -4,9 +4,9 @@ import { FloorEntity } from './floor.type';
|
|
|
4
4
|
import { QueueEntity } from './queue.type';
|
|
5
5
|
export type SectionEntity = BaseEntity & {
|
|
6
6
|
name: string;
|
|
7
|
-
imageId
|
|
7
|
+
imageId: number | null;
|
|
8
8
|
plan?: ImageEntity;
|
|
9
|
-
queueId
|
|
9
|
+
queueId: number | null;
|
|
10
10
|
queue?: QueueEntity;
|
|
11
|
-
floors
|
|
11
|
+
floors?: FloorEntity[];
|
|
12
12
|
};
|
|
@@ -8,17 +8,17 @@ import { QueueEntity } from './queue.type';
|
|
|
8
8
|
export type StreetEntity = BaseEntity & {
|
|
9
9
|
name: MultiLanguage;
|
|
10
10
|
alias: string;
|
|
11
|
-
searchText
|
|
12
|
-
isOldStreet
|
|
11
|
+
searchText: string | null;
|
|
12
|
+
isOldStreet: boolean;
|
|
13
13
|
names?: MultiLanguageArray;
|
|
14
14
|
line?: {
|
|
15
15
|
type: string;
|
|
16
16
|
coordinates: number[][][];
|
|
17
17
|
};
|
|
18
|
-
geoId
|
|
18
|
+
geoId: number | null;
|
|
19
19
|
geo?: GeoEntity;
|
|
20
20
|
customerProperties?: CustomerPropertyEntity[];
|
|
21
21
|
customerRequests?: CustomerRequestEntity[];
|
|
22
|
-
deals
|
|
23
|
-
queues
|
|
22
|
+
deals?: DealEntity[];
|
|
23
|
+
queues?: QueueEntity[];
|
|
24
24
|
};
|
|
@@ -3,6 +3,6 @@ import { RepresentationEntity } from './representation.type';
|
|
|
3
3
|
export type TelegramChatEntity = {
|
|
4
4
|
chatId: number;
|
|
5
5
|
representationId: number;
|
|
6
|
-
representation
|
|
7
|
-
messages
|
|
6
|
+
representation?: RepresentationEntity;
|
|
7
|
+
messages?: TelegramMessageEntity[];
|
|
8
8
|
};
|
|
@@ -3,8 +3,8 @@ import { CustomerPropertyEntity } from './customer-property.type';
|
|
|
3
3
|
export type TelegramMessageEntity = {
|
|
4
4
|
messageId: number;
|
|
5
5
|
chatId: number;
|
|
6
|
-
chat
|
|
6
|
+
chat?: TelegramChatEntity;
|
|
7
7
|
propertyId: number;
|
|
8
|
-
property
|
|
8
|
+
property?: CustomerPropertyEntity;
|
|
9
9
|
isMain: boolean;
|
|
10
10
|
};
|
|
@@ -9,7 +9,7 @@ export type TemplateCommentEntity = BaseEntity & {
|
|
|
9
9
|
templateId: number;
|
|
10
10
|
template?: TemplateEntity;
|
|
11
11
|
parentId: number | null;
|
|
12
|
-
parent?: TemplateCommentEntity
|
|
12
|
+
parent?: TemplateCommentEntity;
|
|
13
13
|
children?: TemplateCommentEntity[];
|
|
14
14
|
reactions?: TemplateCommentReactionEntity[];
|
|
15
15
|
};
|
|
@@ -11,7 +11,7 @@ import { TemplateEnum } from '../template/template.enum';
|
|
|
11
11
|
import { TemplateContentEnum } from '../template/template-content.enum';
|
|
12
12
|
export type TemplateEntity = BaseEntity & {
|
|
13
13
|
backgroundColor: string;
|
|
14
|
-
backgroundImage
|
|
14
|
+
backgroundImage: string | null;
|
|
15
15
|
textColor: string;
|
|
16
16
|
category: TemplateEnum;
|
|
17
17
|
title: MultiLanguage;
|
|
@@ -25,8 +25,8 @@ export type TemplateEntity = BaseEntity & {
|
|
|
25
25
|
contentType: TemplateContentEnum;
|
|
26
26
|
description: MultiLanguage;
|
|
27
27
|
maxParticipantsCount?: number;
|
|
28
|
-
startAt
|
|
29
|
-
endAt
|
|
28
|
+
startAt: Date | null;
|
|
29
|
+
endAt: Date | null;
|
|
30
30
|
comments?: TemplateCommentEntity[];
|
|
31
31
|
roles?: TemplateRoleEntity[];
|
|
32
32
|
offices?: TemplateOfficeEntity[];
|
|
@@ -9,8 +9,8 @@ export type TopzoneEntity = BaseEntity & {
|
|
|
9
9
|
name: MultiLanguage;
|
|
10
10
|
declension: MultiLanguage;
|
|
11
11
|
alias: string;
|
|
12
|
-
lat
|
|
13
|
-
lng
|
|
12
|
+
lat: string | null;
|
|
13
|
+
lng: string | null;
|
|
14
14
|
bounds?: Bounds;
|
|
15
15
|
customerProperties?: CustomerPropertyEntity[];
|
|
16
16
|
customerRequests?: CustomerRequestEntity[];
|
|
@@ -2,8 +2,8 @@ import { BaseEntity } from './base-entity.type';
|
|
|
2
2
|
import { UserEntity } from './user.type';
|
|
3
3
|
export type UserActionsLogEntity = BaseEntity & {
|
|
4
4
|
modelName: string;
|
|
5
|
-
entityId
|
|
6
|
-
entityKey
|
|
5
|
+
entityId: number | null;
|
|
6
|
+
entityKey: string | null;
|
|
7
7
|
snapshotBeforeAction: any;
|
|
8
8
|
snapshotAfterAction: any;
|
|
9
9
|
children?: string;
|
|
@@ -5,9 +5,9 @@ import { CustomerPropertyEntity } from './customer-property.type';
|
|
|
5
5
|
import { DealEntity } from './deal.type';
|
|
6
6
|
import { UserAttorneyType } from '../user';
|
|
7
7
|
export type UserAttorneyEntity = BaseEntity & {
|
|
8
|
-
vchasnoApiKey
|
|
9
|
-
vchasnoEmail
|
|
10
|
-
vchasnoInn
|
|
8
|
+
vchasnoApiKey: string | null;
|
|
9
|
+
vchasnoEmail: string | null;
|
|
10
|
+
vchasnoInn: string | null;
|
|
11
11
|
userId: number;
|
|
12
12
|
attorneyId: number;
|
|
13
13
|
fullName: string;
|
|
@@ -20,7 +20,7 @@ export type UserAttorneyEntity = BaseEntity & {
|
|
|
20
20
|
edrpouRecordNumber: string;
|
|
21
21
|
type: UserAttorneyType;
|
|
22
22
|
user?: UserEntity;
|
|
23
|
-
attorney
|
|
24
|
-
deals
|
|
25
|
-
properties
|
|
23
|
+
attorney?: AttorneyEntity;
|
|
24
|
+
deals?: DealEntity[];
|
|
25
|
+
properties?: CustomerPropertyEntity[];
|
|
26
26
|
};
|
|
@@ -9,11 +9,11 @@ export type UserPointsChangeEntity = BaseEntity & {
|
|
|
9
9
|
amount: number;
|
|
10
10
|
event: UserPointsEvent;
|
|
11
11
|
userId: number;
|
|
12
|
-
handlingId
|
|
13
|
-
propertyId
|
|
14
|
-
customerId
|
|
15
|
-
requestId
|
|
16
|
-
user
|
|
12
|
+
handlingId: number | null;
|
|
13
|
+
propertyId: number | null;
|
|
14
|
+
customerId: number | null;
|
|
15
|
+
requestId: number | null;
|
|
16
|
+
user?: UserEntity;
|
|
17
17
|
handling?: HandlingEntity;
|
|
18
18
|
property?: CustomerPropertyEntity;
|
|
19
19
|
customer?: CustomerEntity;
|
|
@@ -11,28 +11,28 @@ import { Children } from '../user-profile/children.type';
|
|
|
11
11
|
export type UserProfileEntity = BaseEntity & {
|
|
12
12
|
firstName: MultiLanguage;
|
|
13
13
|
secondName: MultiLanguage;
|
|
14
|
-
surname
|
|
14
|
+
surname: MultiLanguage | null;
|
|
15
15
|
male: Male;
|
|
16
|
-
birthDate
|
|
17
|
-
birthPlace
|
|
18
|
-
photoUrl
|
|
19
|
-
graduatedAt
|
|
20
|
-
address
|
|
21
|
-
passportRegistration
|
|
22
|
-
passport
|
|
23
|
-
inn
|
|
24
|
-
passportGiven
|
|
25
|
-
languages
|
|
26
|
-
notes
|
|
27
|
-
education
|
|
28
|
-
previousJobs
|
|
29
|
-
auto
|
|
30
|
-
criminal
|
|
31
|
-
criminalDescription
|
|
32
|
-
whyRealty
|
|
33
|
-
whyAtlanta
|
|
34
|
-
hobby
|
|
35
|
-
startWorkingAt
|
|
16
|
+
birthDate: Date | null;
|
|
17
|
+
birthPlace: string | null;
|
|
18
|
+
photoUrl: string | null;
|
|
19
|
+
graduatedAt: Date | null;
|
|
20
|
+
address: string | null;
|
|
21
|
+
passportRegistration: string | null;
|
|
22
|
+
passport: string | null;
|
|
23
|
+
inn: string | null;
|
|
24
|
+
passportGiven: string | null;
|
|
25
|
+
languages: string[];
|
|
26
|
+
notes: Record<string, string>;
|
|
27
|
+
education: Education[];
|
|
28
|
+
previousJobs: PreviousJob[];
|
|
29
|
+
auto: boolean;
|
|
30
|
+
criminal: boolean;
|
|
31
|
+
criminalDescription: string | null;
|
|
32
|
+
whyRealty: string | null;
|
|
33
|
+
whyAtlanta: string | null;
|
|
34
|
+
hobby: string | null;
|
|
35
|
+
startWorkingAt: Date | null;
|
|
36
36
|
social?: Socials;
|
|
37
37
|
children?: Children[];
|
|
38
38
|
married: boolean;
|
package/package.json
CHANGED
|
@@ -12,7 +12,7 @@ export type AdvertSourceEntity = UniqueIdEntity & {
|
|
|
12
12
|
sort: number;
|
|
13
13
|
receiveType: number | null;
|
|
14
14
|
insertType: number | null;
|
|
15
|
-
parentId
|
|
15
|
+
parentId: number | null;
|
|
16
16
|
isActive: boolean;
|
|
17
17
|
parent?: AdvertSourceEntity;
|
|
18
18
|
subCategories: AdvertSourceEntity[];
|
|
@@ -11,11 +11,11 @@ export type ApartmentComplexInfoEntity = BaseEntity & {
|
|
|
11
11
|
attributes: ApartmentInfoAttributes;
|
|
12
12
|
manager: Manager;
|
|
13
13
|
discounts: string[];
|
|
14
|
-
agentInfo
|
|
15
|
-
expressions
|
|
14
|
+
agentInfo: string | null;
|
|
15
|
+
expressions: Expression[] | null;
|
|
16
16
|
sort: number;
|
|
17
17
|
showOnSite: boolean;
|
|
18
|
-
video
|
|
19
|
-
site
|
|
18
|
+
video: string | null;
|
|
19
|
+
site: string | null;
|
|
20
20
|
apartmentComplex?: ApartmentComplexEntity;
|
|
21
21
|
};
|
|
@@ -4,6 +4,6 @@ import { AttentionRequiredEntityEnum as AttentionRequiredEntityEnum } from '../c
|
|
|
4
4
|
export type AttentionRequiredEntity = BaseEntity & {
|
|
5
5
|
entityType: AttentionRequiredEntityEnum;
|
|
6
6
|
entityId: number;
|
|
7
|
-
reason
|
|
8
|
-
handledAt
|
|
7
|
+
reason: string | null;
|
|
8
|
+
handledAt: Date | null;
|
|
9
9
|
};
|
|
@@ -12,14 +12,14 @@ export type AttributeEntity = TimeMetricEntity & {
|
|
|
12
12
|
key: string;
|
|
13
13
|
name: MultiLanguage;
|
|
14
14
|
shortName: MultiLanguage;
|
|
15
|
-
description
|
|
16
|
-
vectorId
|
|
15
|
+
description: string | null;
|
|
16
|
+
vectorId: number | null;
|
|
17
17
|
type: AttributeType;
|
|
18
18
|
config: AttributeConfigType;
|
|
19
19
|
estateType?: RealtyType[];
|
|
20
20
|
apartmentType?: ApartmentType[];
|
|
21
21
|
objectType?: ObjectType[];
|
|
22
|
-
isNewBuilding
|
|
22
|
+
isNewBuilding: boolean;
|
|
23
23
|
values?: AttributeValueEntity[];
|
|
24
24
|
representations?: AttributeRepresentationEntity[];
|
|
25
25
|
};
|
|
@@ -8,9 +8,9 @@ export type BuildCompanyEntity = BaseEntity & {
|
|
|
8
8
|
name: string;
|
|
9
9
|
alias: string;
|
|
10
10
|
description: MultiLanguage;
|
|
11
|
-
imageId
|
|
11
|
+
imageId: number | null;
|
|
12
12
|
image: ImageEntity;
|
|
13
|
-
site
|
|
14
|
-
currencies
|
|
13
|
+
site: string | null;
|
|
14
|
+
currencies: CurrencyValue[] | null;
|
|
15
15
|
apartmentComplexes: ApartmentComplexEntity[];
|
|
16
16
|
};
|
|
@@ -11,9 +11,9 @@ export type CallRedirectEntity = BaseEntity & {
|
|
|
11
11
|
replacementNumber: boolean;
|
|
12
12
|
sourceId: number;
|
|
13
13
|
source?: AdvertSourceEntity;
|
|
14
|
-
officeId
|
|
14
|
+
officeId: number | null;
|
|
15
15
|
office?: OfficeEntity;
|
|
16
|
-
userId
|
|
16
|
+
userId: number | null;
|
|
17
17
|
user?: UserEntity;
|
|
18
18
|
calls?: CallEntity[];
|
|
19
19
|
};
|
package/types/core/call.type.ts
CHANGED
|
@@ -5,11 +5,11 @@ import { HandlingEntity } from './handling.type';
|
|
|
5
5
|
import { CallData } from '../call/call-data.type';
|
|
6
6
|
|
|
7
7
|
export type CallEntity = UniqueIdEntity & {
|
|
8
|
-
callValue
|
|
8
|
+
callValue: number | null;
|
|
9
9
|
sourcePhone: string;
|
|
10
10
|
fromPhone: string;
|
|
11
|
-
callType
|
|
12
|
-
timeCreate
|
|
11
|
+
callType: number | null;
|
|
12
|
+
timeCreate: string | null;
|
|
13
13
|
callData: CallData;
|
|
14
14
|
redirectId: number;
|
|
15
15
|
sourceId: number;
|
|
@@ -7,8 +7,8 @@ export type CustomerPropertyDuplicateEntity = BaseEntity & {
|
|
|
7
7
|
original: CustomerPropertyEntity;
|
|
8
8
|
duplicate: CustomerPropertyEntity;
|
|
9
9
|
status: CustomerPropertyDuplicateStatus;
|
|
10
|
-
reviewStartedAt
|
|
11
|
-
comment
|
|
12
|
-
reviewedById
|
|
10
|
+
reviewStartedAt: Date | null;
|
|
11
|
+
comment: string | null;
|
|
12
|
+
reviewedById: number | null;
|
|
13
13
|
reviewedBy?: UserEntity;
|
|
14
14
|
};
|
|
@@ -40,28 +40,28 @@ export { RealtySubtype };
|
|
|
40
40
|
export type CustomerPropertyEntity = BaseEntity & {
|
|
41
41
|
dealType: DealType;
|
|
42
42
|
realtyType: RealtyType;
|
|
43
|
-
realtySubtype: RealtySubtype;
|
|
43
|
+
realtySubtype: RealtySubtype | null;
|
|
44
44
|
registrationType: RegistrationType;
|
|
45
|
-
showOnSite
|
|
45
|
+
showOnSite: boolean;
|
|
46
46
|
hasInspection: boolean;
|
|
47
|
-
recipient
|
|
48
|
-
streetMark
|
|
49
|
-
houseNumber
|
|
50
|
-
houseNumberAdd
|
|
51
|
-
houseNumberTemp
|
|
52
|
-
apartmentNumber
|
|
53
|
-
apartmentNumberAdd
|
|
54
|
-
apartmentNumberTemp
|
|
55
|
-
landNumber
|
|
56
|
-
fieldNumber
|
|
57
|
-
geoArrNumber
|
|
58
|
-
corps
|
|
47
|
+
recipient: number | null;
|
|
48
|
+
streetMark: string | null;
|
|
49
|
+
houseNumber: number | null;
|
|
50
|
+
houseNumberAdd: number | null;
|
|
51
|
+
houseNumberTemp: string | null;
|
|
52
|
+
apartmentNumber: number | null;
|
|
53
|
+
apartmentNumberAdd: string | null;
|
|
54
|
+
apartmentNumberTemp: string | null;
|
|
55
|
+
landNumber: number | null;
|
|
56
|
+
fieldNumber: number | null;
|
|
57
|
+
geoArrNumber: number | null;
|
|
58
|
+
corps: string | null;
|
|
59
59
|
attributes: CustomerPropertyAttributes;
|
|
60
60
|
description: MultiLanguage;
|
|
61
|
-
additionalOwners
|
|
62
|
-
cadastralNumber
|
|
63
|
-
lng
|
|
64
|
-
lat
|
|
61
|
+
additionalOwners: CustomerPropertyOwner[];
|
|
62
|
+
cadastralNumber: CadastralNumber | null;
|
|
63
|
+
lng: string | null;
|
|
64
|
+
lat: string | null;
|
|
65
65
|
archiveAnnotation?: string;
|
|
66
66
|
archiveSetDate?: Date;
|
|
67
67
|
vnpReasonId?: number;
|
|
@@ -13,29 +13,29 @@ import { UserAttorneyEntity } from './user-attorney.type';
|
|
|
13
13
|
import { ExclusiveBuyerAgreementData } from '../customer';
|
|
14
14
|
|
|
15
15
|
export type CustomerEntity = BaseEntity & {
|
|
16
|
-
email
|
|
17
|
-
photoUrl
|
|
16
|
+
email: string | null;
|
|
17
|
+
photoUrl: string | null;
|
|
18
18
|
firstName: string;
|
|
19
|
-
secondName
|
|
20
|
-
surname
|
|
19
|
+
secondName: string | null;
|
|
20
|
+
surname: string | null;
|
|
21
21
|
blackList: boolean;
|
|
22
22
|
hasContract: boolean;
|
|
23
23
|
annotation: string | null;
|
|
24
24
|
isBotEnabled: boolean;
|
|
25
25
|
archiveAnnotation: string | null;
|
|
26
|
-
address
|
|
27
|
-
inn
|
|
28
|
-
passport
|
|
29
|
-
exclusiveAgreementData
|
|
26
|
+
address: string | null;
|
|
27
|
+
inn: string | null;
|
|
28
|
+
passport: string | null;
|
|
29
|
+
exclusiveAgreementData: ExclusiveBuyerAgreementData | null;
|
|
30
30
|
archiveReasonId: number | null;
|
|
31
|
-
exclusiveAgreementDocumentEndDate
|
|
32
|
-
exclusiveBuyerAgreementDocumentId
|
|
33
|
-
propertyDemonstrationActDocumentId
|
|
31
|
+
exclusiveAgreementDocumentEndDate: Date | null;
|
|
32
|
+
exclusiveBuyerAgreementDocumentId: number | null;
|
|
33
|
+
propertyDemonstrationActDocumentId: number | null;
|
|
34
34
|
visitedOffice: boolean;
|
|
35
|
-
visitedOfficeAt
|
|
35
|
+
visitedOfficeAt: Date | null;
|
|
36
36
|
createdById: number;
|
|
37
37
|
realtorId: number;
|
|
38
|
-
attorneyId
|
|
38
|
+
attorneyId: number | null;
|
|
39
39
|
createdBy?: UserEntity;
|
|
40
40
|
archiveReason?: ArchiveReasonEntity;
|
|
41
41
|
phones?: CustomerPhoneEntity[];
|
|
@@ -5,13 +5,13 @@ import { VchasnoDocument } from '../vchasno/vchasno-document.type';
|
|
|
5
5
|
import { VchasnoDocumentSigner } from '../vchasno/vchasno-document-signer.type';
|
|
6
6
|
|
|
7
7
|
export type DealDocumentEntity = BaseEntity & {
|
|
8
|
-
key
|
|
9
|
-
url
|
|
8
|
+
key: string | null;
|
|
9
|
+
url: string | null;
|
|
10
10
|
name: string;
|
|
11
|
-
documentType
|
|
12
|
-
vchasnoDocumentId
|
|
11
|
+
documentType: DealDocumentEnum | null;
|
|
12
|
+
vchasnoDocumentId: string | null;
|
|
13
13
|
dealId: number;
|
|
14
|
-
deal
|
|
14
|
+
deal?: DealEntity;
|
|
15
15
|
vchasnoDocument?: VchasnoDocument;
|
|
16
16
|
vchasnoDocumentSigners?: VchasnoDocumentSigner[];
|
|
17
17
|
};
|
|
@@ -10,11 +10,11 @@ export type DealParticipantEntity = BaseEntity & {
|
|
|
10
10
|
percent: number;
|
|
11
11
|
incomePercent: number;
|
|
12
12
|
dealId: number;
|
|
13
|
-
agencyId
|
|
14
|
-
userId
|
|
15
|
-
normId
|
|
16
|
-
officeId
|
|
17
|
-
deal
|
|
13
|
+
agencyId: number | null;
|
|
14
|
+
userId: number | null;
|
|
15
|
+
normId: number | null;
|
|
16
|
+
officeId: number | null;
|
|
17
|
+
deal?: DealEntity;
|
|
18
18
|
agency?: AgencyEntity;
|
|
19
19
|
user?: UserEntity;
|
|
20
20
|
norm?: EmployeeNormEntity;
|