vector-shared 1.1.327 → 1.1.329
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-image.type.d.ts +4 -4
- package/dist/types/core/apartment-complex-info.type.d.ts +4 -4
- package/dist/types/core/apartment-complex.type.d.ts +4 -4
- package/dist/types/core/attention-required.type.d.ts +3 -3
- package/dist/types/core/attorney.type.d.ts +1 -1
- package/dist/types/core/attribute-representation.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 +3 -3
- package/dist/types/core/call.type.d.ts +7 -7
- package/dist/types/core/customer-bucket.type.d.ts +2 -2
- package/dist/types/core/customer-call.type.d.ts +2 -2
- package/dist/types/core/customer-phone.type.d.ts +1 -1
- package/dist/types/core/customer-property-duplicate.type.d.ts +3 -3
- package/dist/types/core/customer-property.type.d.ts +22 -22
- package/dist/types/core/customer-request-selection.type.d.ts +1 -1
- package/dist/types/core/customer-request.type.d.ts +4 -4
- package/dist/types/core/customer.type.d.ts +15 -15
- package/dist/types/core/deal-document.type.d.ts +6 -6
- package/dist/types/core/deal-participant.type.d.ts +3 -3
- package/dist/types/core/deal-transaction.type.d.ts +5 -5
- package/dist/types/core/deal-type-percentage.type.d.ts +1 -1
- package/dist/types/core/deal-type.type.d.ts +1 -1
- package/dist/types/core/deal.type.d.ts +35 -35
- package/dist/types/core/duty.type.d.ts +6 -6
- package/dist/types/core/employee-norm.type.d.ts +2 -2
- package/dist/types/core/feedback-file.type.d.ts +4 -4
- package/dist/types/core/feedback-view.type.d.ts +4 -4
- package/dist/types/core/feedback.type.d.ts +6 -6
- package/dist/types/core/flat.type.d.ts +1 -1
- package/dist/types/core/floor.type.d.ts +1 -1
- package/dist/types/core/geo-topzone.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-listening.type.d.ts +4 -4
- 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 +2 -2
- package/dist/types/core/mismatch-decision.type.d.ts +5 -5
- package/dist/types/core/mismatch-reason.type.d.ts +2 -2
- package/dist/types/core/mismatch-report.type.d.ts +6 -6
- 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 +2 -2
- package/dist/types/core/office-center.type.d.ts +3 -3
- package/dist/types/core/office.type.d.ts +4 -4
- package/dist/types/core/property-document.type.d.ts +2 -2
- package/dist/types/core/property-image.type.d.ts +4 -4
- 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/reaction.type.d.ts +1 -1
- package/dist/types/core/realtor-number.type.d.ts +4 -4
- package/dist/types/core/representation.type.d.ts +1 -1
- package/dist/types/core/request-presentation-property.type.d.ts +2 -2
- package/dist/types/core/request-presentation.type.d.ts +2 -2
- package/dist/types/core/request-property.type.d.ts +7 -7
- package/dist/types/core/role-permission-group.type.d.ts +2 -2
- 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 +4 -4
- package/dist/types/core/telegram-message.type.d.ts +5 -5
- package/dist/types/core/template-comment-reaction.type.d.ts +1 -1
- package/dist/types/core/template-comment.type.d.ts +3 -3
- package/dist/types/core/template-office.type.d.ts +2 -2
- package/dist/types/core/template-participant.type.d.ts +2 -2
- package/dist/types/core/template-reaction.type.d.ts +1 -1
- package/dist/types/core/template-representation.type.d.ts +2 -2
- package/dist/types/core/template-role.type.d.ts +2 -2
- package/dist/types/core/template-view.type.d.ts +2 -2
- 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 +3 -3
- package/dist/types/core/user-attorney.type.d.ts +8 -8
- package/dist/types/core/user-office.type.d.ts +2 -2
- package/dist/types/core/user-permission.type.d.ts +2 -2
- package/dist/types/core/user-phone.type.d.ts +2 -2
- package/dist/types/core/user-points-change.type.d.ts +6 -6
- package/dist/types/core/user-profile.type.d.ts +24 -24
- package/dist/types/core/user.type.d.ts +1 -1
- package/dist/types/core/x-customer-notification.type.d.ts +1 -1
- 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-image.type.ts +4 -4
- package/types/core/apartment-complex-info.type.ts +4 -4
- package/types/core/apartment-complex.type.ts +4 -4
- package/types/core/attention-required.type.ts +3 -3
- package/types/core/attorney.type.ts +1 -1
- package/types/core/attribute-representation.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 +3 -3
- package/types/core/call.type.ts +7 -7
- package/types/core/customer-bucket.type.ts +2 -2
- package/types/core/customer-call.type.ts +2 -2
- package/types/core/customer-phone.type.ts +1 -1
- package/types/core/customer-property-duplicate.type.ts +3 -3
- package/types/core/customer-property.type.ts +22 -22
- package/types/core/customer-request-selection.type.ts +1 -1
- package/types/core/customer-request.type.ts +4 -4
- package/types/core/customer.type.ts +15 -15
- package/types/core/deal-document.type.ts +6 -6
- package/types/core/deal-participant.type.ts +3 -3
- package/types/core/deal-transaction.type.ts +5 -5
- package/types/core/deal-type-percentage.type.ts +1 -1
- package/types/core/deal-type.type.ts +1 -1
- package/types/core/deal.type.ts +35 -36
- package/types/core/duty.type.ts +6 -6
- package/types/core/employee-norm.type.ts +2 -2
- package/types/core/feedback-file.type.ts +4 -4
- package/types/core/feedback-view.type.ts +4 -4
- package/types/core/feedback.type.ts +6 -6
- package/types/core/flat.type.ts +1 -1
- package/types/core/floor.type.ts +1 -1
- package/types/core/geo-topzone.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-listening.type.ts +4 -4
- 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 +2 -2
- package/types/core/mismatch-decision.type.ts +5 -11
- package/types/core/mismatch-reason.type.ts +2 -2
- package/types/core/mismatch-report.type.ts +6 -12
- package/types/core/notary.type.ts +1 -5
- package/types/core/notification-preference.type.ts +1 -5
- package/types/core/notification.type.ts +2 -8
- package/types/core/office-center.type.ts +3 -13
- package/types/core/office.type.ts +4 -21
- package/types/core/property-document.type.ts +2 -2
- package/types/core/property-image.type.ts +4 -8
- package/types/core/property-seo.type.ts +3 -7
- package/types/core/queue.type.ts +7 -19
- package/types/core/reaction.type.ts +1 -1
- package/types/core/realtor-number.type.ts +4 -8
- package/types/core/representation.type.ts +1 -9
- package/types/core/request-presentation-property.type.ts +2 -2
- package/types/core/request-presentation.type.ts +2 -2
- package/types/core/request-property.type.ts +7 -15
- package/types/core/role-permission-group.type.ts +2 -2
- package/types/core/section.type.ts +3 -8
- package/types/core/street.type.ts +5 -16
- package/types/core/telegram-chat.type.ts +4 -7
- package/types/core/telegram-message.type.ts +5 -10
- package/types/core/template-comment-reaction.type.ts +1 -1
- package/types/core/template-comment.type.ts +3 -11
- package/types/core/template-office.type.ts +2 -2
- package/types/core/template-participant.type.ts +2 -2
- package/types/core/template-reaction.type.ts +1 -1
- package/types/core/template-representation.type.ts +2 -2
- package/types/core/template-role.type.ts +2 -2
- package/types/core/template-view.type.ts +2 -2
- 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 +6 -15
- package/types/core/user-attorney.type.ts +8 -8
- package/types/core/user-office.type.ts +2 -2
- package/types/core/user-permission.type.ts +2 -2
- package/types/core/user-phone.type.ts +2 -2
- package/types/core/user-points-change.type.ts +6 -17
- package/types/core/user-profile.type.ts +24 -24
- package/types/core/user.type.ts +1 -1
- package/types/core/x-customer-notification.type.ts +1 -1
|
@@ -11,7 +11,7 @@ export type AdvertSourceEntity = UniqueIdEntity & {
|
|
|
11
11
|
sort: number;
|
|
12
12
|
receiveType: number | null;
|
|
13
13
|
insertType: number | null;
|
|
14
|
-
parentId?: number;
|
|
14
|
+
parentId?: number | null;
|
|
15
15
|
isActive: boolean;
|
|
16
16
|
parent?: AdvertSourceEntity;
|
|
17
17
|
subCategories: AdvertSourceEntity[];
|
|
@@ -4,9 +4,9 @@ import { ApartmentComplexEntity } from './apartment-complex.type';
|
|
|
4
4
|
import { ApartmentComplexImageCategory } from '../image/apartment-complex-image-category.enum';
|
|
5
5
|
export type ApartmentComplexImageEntity = BaseEntity & {
|
|
6
6
|
category: ApartmentComplexImageCategory;
|
|
7
|
-
imageId
|
|
8
|
-
image
|
|
9
|
-
complexId
|
|
10
|
-
complex
|
|
7
|
+
imageId?: number;
|
|
8
|
+
image?: ImageEntity;
|
|
9
|
+
complexId?: number;
|
|
10
|
+
complex?: ApartmentComplexEntity;
|
|
11
11
|
sortOrder: number;
|
|
12
12
|
};
|
|
@@ -10,11 +10,11 @@ export type ApartmentComplexInfoEntity = BaseEntity & {
|
|
|
10
10
|
attributes: ApartmentInfoAttributes;
|
|
11
11
|
manager: Manager;
|
|
12
12
|
discounts: string[];
|
|
13
|
-
agentInfo
|
|
14
|
-
expressions
|
|
13
|
+
agentInfo: string | null;
|
|
14
|
+
expressions: Expression[] | null;
|
|
15
15
|
sort: number;
|
|
16
16
|
showOnSite: boolean;
|
|
17
|
-
video
|
|
18
|
-
site
|
|
17
|
+
video: string | null;
|
|
18
|
+
site: string | null;
|
|
19
19
|
apartmentComplex?: ApartmentComplexEntity;
|
|
20
20
|
};
|
|
@@ -15,10 +15,10 @@ export type ApartmentComplexEntity = BaseEntity & {
|
|
|
15
15
|
type: number | null;
|
|
16
16
|
lat: string | null;
|
|
17
17
|
lng: string | null;
|
|
18
|
-
geoId
|
|
19
|
-
buildCompanyId
|
|
20
|
-
apartmentComplexInfoId
|
|
21
|
-
topzoneId
|
|
18
|
+
geoId?: number;
|
|
19
|
+
buildCompanyId?: number;
|
|
20
|
+
apartmentComplexInfoId?: number;
|
|
21
|
+
topzoneId?: number;
|
|
22
22
|
fileName: string | null;
|
|
23
23
|
sourceName: string | null;
|
|
24
24
|
customerProperties?: CustomerPropertyEntity[];
|
|
@@ -2,7 +2,7 @@ import { BaseEntity } from './base-entity.type';
|
|
|
2
2
|
import { AttentionRequiredEntityEnum as AttentionRequiredEntityEnum } from '../customer/attention-required-entity.enum';
|
|
3
3
|
export type AttentionRequiredEntity = BaseEntity & {
|
|
4
4
|
entityType: AttentionRequiredEntityEnum;
|
|
5
|
-
entityId
|
|
6
|
-
reason
|
|
7
|
-
handledAt
|
|
5
|
+
entityId?: number;
|
|
6
|
+
reason: string | null;
|
|
7
|
+
handledAt: Date | null;
|
|
8
8
|
};
|
|
@@ -4,7 +4,7 @@ import { AttorneyTypeEnum } from '../attorney/attorney-type.enum';
|
|
|
4
4
|
import { UserAttorneyEntity } from './user-attorney.type';
|
|
5
5
|
export type AttorneyEntity = BaseEntity & {
|
|
6
6
|
name: MultiLanguage;
|
|
7
|
-
vchasnoApiKey
|
|
7
|
+
vchasnoApiKey: string | null;
|
|
8
8
|
edrpo: string | null;
|
|
9
9
|
email: string | null;
|
|
10
10
|
account: string | null;
|
|
@@ -4,6 +4,6 @@ import { RepresentationEntity } from './representation.type';
|
|
|
4
4
|
export type AttributeRepresentationEntity = BaseEntity & {
|
|
5
5
|
attributeKey: string;
|
|
6
6
|
attribute?: AttributeEntity;
|
|
7
|
-
representationId
|
|
7
|
+
representationId?: number;
|
|
8
8
|
representation?: RepresentationEntity;
|
|
9
9
|
};
|
|
@@ -11,14 +11,14 @@ export type AttributeEntity = TimeMetricEntity & {
|
|
|
11
11
|
key: string;
|
|
12
12
|
name: MultiLanguage;
|
|
13
13
|
shortName: MultiLanguage;
|
|
14
|
-
description
|
|
15
|
-
vectorId
|
|
14
|
+
description: string | null;
|
|
15
|
+
vectorId: number | null;
|
|
16
16
|
type: AttributeType;
|
|
17
17
|
config: AttributeConfigType;
|
|
18
18
|
estateType?: RealtyType[];
|
|
19
19
|
apartmentType?: ApartmentType[];
|
|
20
20
|
objectType?: ObjectType[];
|
|
21
|
-
isNewBuilding
|
|
21
|
+
isNewBuilding: boolean;
|
|
22
22
|
values?: AttributeValueEntity[];
|
|
23
23
|
representations?: AttributeRepresentationEntity[];
|
|
24
24
|
};
|
|
@@ -7,9 +7,9 @@ export type BuildCompanyEntity = BaseEntity & {
|
|
|
7
7
|
name: string;
|
|
8
8
|
alias: string;
|
|
9
9
|
description: MultiLanguage;
|
|
10
|
-
imageId
|
|
10
|
+
imageId: number | null;
|
|
11
11
|
image: ImageEntity;
|
|
12
|
-
site
|
|
13
|
-
currencies
|
|
12
|
+
site: string | null;
|
|
13
|
+
currencies: CurrencyValue[] | null;
|
|
14
14
|
apartmentComplexes: ApartmentComplexEntity[];
|
|
15
15
|
};
|
|
@@ -8,11 +8,11 @@ export type CallRedirectEntity = BaseEntity & {
|
|
|
8
8
|
phoneNumber: string;
|
|
9
9
|
exportNumber: boolean;
|
|
10
10
|
replacementNumber: boolean;
|
|
11
|
-
sourceId
|
|
11
|
+
sourceId?: number;
|
|
12
12
|
source?: AdvertSourceEntity;
|
|
13
|
-
officeId
|
|
13
|
+
officeId: number | null;
|
|
14
14
|
office?: OfficeEntity;
|
|
15
|
-
userId
|
|
15
|
+
userId: number | null;
|
|
16
16
|
user?: UserEntity;
|
|
17
17
|
calls?: CallEntity[];
|
|
18
18
|
};
|
|
@@ -4,16 +4,16 @@ import { AdvertSourceEntity } from './advert-source.type';
|
|
|
4
4
|
import { HandlingEntity } from './handling.type';
|
|
5
5
|
import { CallData } from '../call/call-data.type';
|
|
6
6
|
export type CallEntity = UniqueIdEntity & {
|
|
7
|
-
callValue
|
|
7
|
+
callValue: number | null;
|
|
8
8
|
sourcePhone: string;
|
|
9
9
|
fromPhone: string;
|
|
10
|
-
callType
|
|
11
|
-
timeCreate
|
|
10
|
+
callType: number | null;
|
|
11
|
+
timeCreate: string | null;
|
|
12
12
|
callData: CallData;
|
|
13
|
-
redirectId
|
|
14
|
-
sourceId
|
|
13
|
+
redirectId?: number;
|
|
14
|
+
sourceId?: number;
|
|
15
15
|
createdAt: Date;
|
|
16
|
-
callRedirect
|
|
17
|
-
source
|
|
16
|
+
callRedirect?: CallRedirectEntity;
|
|
17
|
+
source?: AdvertSourceEntity;
|
|
18
18
|
handling?: HandlingEntity;
|
|
19
19
|
};
|
|
@@ -2,8 +2,8 @@ import { UniqueIdEntity } from './unique-id-entity.type';
|
|
|
2
2
|
import { OfficeEntity } from './office.type';
|
|
3
3
|
import { CustomerEntity } from './customer.type';
|
|
4
4
|
export type CustomerBucketEntity = UniqueIdEntity & {
|
|
5
|
-
customerId
|
|
6
|
-
officeId
|
|
5
|
+
customerId?: number;
|
|
6
|
+
officeId?: number;
|
|
7
7
|
office: OfficeEntity;
|
|
8
8
|
customer: CustomerEntity;
|
|
9
9
|
};
|
|
@@ -2,9 +2,9 @@ import { BaseEntity } from './base-entity.type';
|
|
|
2
2
|
import { CustomerEntity } from './customer.type';
|
|
3
3
|
import { UserEntity } from './user.type';
|
|
4
4
|
export type CustomerCallEntity = BaseEntity & {
|
|
5
|
-
customerId
|
|
5
|
+
customerId?: number;
|
|
6
6
|
customer?: CustomerEntity;
|
|
7
|
-
userId
|
|
7
|
+
userId?: number;
|
|
8
8
|
user?: UserEntity;
|
|
9
9
|
comment?: string;
|
|
10
10
|
};
|
|
@@ -6,8 +6,8 @@ export type CustomerPropertyDuplicateEntity = BaseEntity & {
|
|
|
6
6
|
original: CustomerPropertyEntity;
|
|
7
7
|
duplicate: CustomerPropertyEntity;
|
|
8
8
|
status: CustomerPropertyDuplicateStatus;
|
|
9
|
-
reviewStartedAt
|
|
10
|
-
comment
|
|
11
|
-
reviewedById
|
|
9
|
+
reviewStartedAt: Date | null;
|
|
10
|
+
comment: string | null;
|
|
11
|
+
reviewedById: number | null;
|
|
12
12
|
reviewedBy?: UserEntity;
|
|
13
13
|
};
|
|
@@ -27,28 +27,28 @@ export { RealtySubtype };
|
|
|
27
27
|
export type CustomerPropertyEntity = BaseEntity & {
|
|
28
28
|
dealType: DealType;
|
|
29
29
|
realtyType: RealtyType;
|
|
30
|
-
realtySubtype: RealtySubtype;
|
|
30
|
+
realtySubtype: RealtySubtype | null;
|
|
31
31
|
registrationType: RegistrationType;
|
|
32
|
-
showOnSite
|
|
32
|
+
showOnSite: boolean;
|
|
33
33
|
hasInspection: boolean;
|
|
34
|
-
recipient
|
|
35
|
-
streetMark
|
|
36
|
-
houseNumber
|
|
37
|
-
houseNumberAdd
|
|
38
|
-
houseNumberTemp
|
|
39
|
-
apartmentNumber
|
|
40
|
-
apartmentNumberAdd
|
|
41
|
-
apartmentNumberTemp
|
|
42
|
-
landNumber
|
|
43
|
-
fieldNumber
|
|
44
|
-
geoArrNumber
|
|
45
|
-
corps
|
|
34
|
+
recipient: number | null;
|
|
35
|
+
streetMark: string | null;
|
|
36
|
+
houseNumber: number | null;
|
|
37
|
+
houseNumberAdd: number | null;
|
|
38
|
+
houseNumberTemp: string | null;
|
|
39
|
+
apartmentNumber: number | null;
|
|
40
|
+
apartmentNumberAdd: string | null;
|
|
41
|
+
apartmentNumberTemp: string | null;
|
|
42
|
+
landNumber: number | null;
|
|
43
|
+
fieldNumber: number | null;
|
|
44
|
+
geoArrNumber: number | null;
|
|
45
|
+
corps: string | null;
|
|
46
46
|
attributes: CustomerPropertyAttributes;
|
|
47
47
|
description: MultiLanguage;
|
|
48
|
-
additionalOwners
|
|
49
|
-
cadastralNumber
|
|
50
|
-
lng
|
|
51
|
-
lat
|
|
48
|
+
additionalOwners: CustomerPropertyOwner[];
|
|
49
|
+
cadastralNumber: CadastralNumber | null;
|
|
50
|
+
lng: string | null;
|
|
51
|
+
lat: string | null;
|
|
52
52
|
archiveAnnotation?: string;
|
|
53
53
|
archiveSetDate?: Date;
|
|
54
54
|
vnpReasonId?: number;
|
|
@@ -62,9 +62,9 @@ export type CustomerPropertyEntity = BaseEntity & {
|
|
|
62
62
|
exclusiveAgreementData?: ExclusivePropertyAgreementData;
|
|
63
63
|
markAsLiquidAt?: Date;
|
|
64
64
|
videoUrl?: string;
|
|
65
|
-
sellerId
|
|
66
|
-
realtorId
|
|
67
|
-
createdById
|
|
65
|
+
sellerId?: number;
|
|
66
|
+
realtorId?: number;
|
|
67
|
+
createdById?: number;
|
|
68
68
|
archiveReasonId?: number;
|
|
69
69
|
complexId?: number;
|
|
70
70
|
sourceId?: number;
|
|
@@ -72,7 +72,7 @@ export type CustomerPropertyEntity = BaseEntity & {
|
|
|
72
72
|
geoId?: number;
|
|
73
73
|
attorneyId?: number;
|
|
74
74
|
topzoneId?: number;
|
|
75
|
-
realtor
|
|
75
|
+
realtor?: UserEntity;
|
|
76
76
|
createdBy?: UserEntity;
|
|
77
77
|
vnpReason?: VnpReasonEntity;
|
|
78
78
|
archiveReason?: ArchiveReasonEntity;
|
|
@@ -26,6 +26,6 @@ export type CustomerRequestSelectionEntity = BaseEntity & {
|
|
|
26
26
|
updateStatus?: CustomerRequestSelectionUpdateStatus;
|
|
27
27
|
customerProperties?: RequestPropertyEntity[];
|
|
28
28
|
presentation?: RequestPresentationEntity;
|
|
29
|
-
requestId
|
|
29
|
+
requestId?: number;
|
|
30
30
|
request?: CustomerRequestEntity;
|
|
31
31
|
};
|
|
@@ -28,8 +28,8 @@ export type CustomerRequestEntity = BaseEntity & {
|
|
|
28
28
|
archiveReasonId?: number;
|
|
29
29
|
archiveAnnotation?: string | null;
|
|
30
30
|
archiveReason?: ArchiveReasonEntity;
|
|
31
|
-
deals
|
|
32
|
-
userPointsChanges
|
|
33
|
-
selections
|
|
34
|
-
xCustomerNotifications
|
|
31
|
+
deals?: DealEntity[];
|
|
32
|
+
userPointsChanges?: UserPointsChangeEntity[];
|
|
33
|
+
selections?: CustomerRequestSelectionEntity[];
|
|
34
|
+
xCustomerNotifications?: XCustomerNotificationEntity[];
|
|
35
35
|
};
|
|
@@ -12,28 +12,28 @@ import { UserPointsChangeEntity } from './user-points-change.type';
|
|
|
12
12
|
import { UserAttorneyEntity } from './user-attorney.type';
|
|
13
13
|
import { ExclusiveBuyerAgreementData } from '../customer';
|
|
14
14
|
export type CustomerEntity = BaseEntity & {
|
|
15
|
-
email
|
|
16
|
-
photoUrl
|
|
15
|
+
email: string | null;
|
|
16
|
+
photoUrl: string | null;
|
|
17
17
|
firstName: string;
|
|
18
|
-
secondName
|
|
19
|
-
surname
|
|
18
|
+
secondName: string | null;
|
|
19
|
+
surname: string | null;
|
|
20
20
|
blackList: boolean;
|
|
21
21
|
hasContract: boolean;
|
|
22
22
|
annotation: string | null;
|
|
23
23
|
isBotEnabled: boolean;
|
|
24
24
|
archiveAnnotation: string | null;
|
|
25
|
-
address
|
|
26
|
-
inn
|
|
27
|
-
passport
|
|
28
|
-
exclusiveAgreementData
|
|
29
|
-
archiveReasonId
|
|
30
|
-
exclusiveAgreementDocumentEndDate
|
|
31
|
-
exclusiveBuyerAgreementDocumentId?: number
|
|
32
|
-
propertyDemonstrationActDocumentId?: number
|
|
25
|
+
address: string | null;
|
|
26
|
+
inn: string | null;
|
|
27
|
+
passport: string | null;
|
|
28
|
+
exclusiveAgreementData: ExclusiveBuyerAgreementData | null;
|
|
29
|
+
archiveReasonId?: number;
|
|
30
|
+
exclusiveAgreementDocumentEndDate: Date | null;
|
|
31
|
+
exclusiveBuyerAgreementDocumentId?: number;
|
|
32
|
+
propertyDemonstrationActDocumentId?: number;
|
|
33
33
|
visitedOffice: boolean;
|
|
34
|
-
visitedOfficeAt
|
|
35
|
-
createdById
|
|
36
|
-
realtorId
|
|
34
|
+
visitedOfficeAt: Date | null;
|
|
35
|
+
createdById?: number;
|
|
36
|
+
realtorId?: number;
|
|
37
37
|
attorneyId?: number;
|
|
38
38
|
createdBy?: UserEntity;
|
|
39
39
|
archiveReason?: ArchiveReasonEntity;
|
|
@@ -4,13 +4,13 @@ import { DealDocumentEnum } from '../deal/deal-document.enum';
|
|
|
4
4
|
import { VchasnoDocument } from '../vchasno/vchasno-document.type';
|
|
5
5
|
import { VchasnoDocumentSigner } from '../vchasno/vchasno-document-signer.type';
|
|
6
6
|
export type DealDocumentEntity = BaseEntity & {
|
|
7
|
-
key
|
|
8
|
-
url
|
|
7
|
+
key: string | null;
|
|
8
|
+
url: string | null;
|
|
9
9
|
name: string;
|
|
10
|
-
documentType
|
|
11
|
-
vchasnoDocumentId
|
|
12
|
-
dealId
|
|
13
|
-
deal
|
|
10
|
+
documentType: DealDocumentEnum | null;
|
|
11
|
+
vchasnoDocumentId: string | null;
|
|
12
|
+
dealId?: number;
|
|
13
|
+
deal?: DealEntity;
|
|
14
14
|
vchasnoDocument?: VchasnoDocument;
|
|
15
15
|
vchasnoDocumentSigners?: VchasnoDocumentSigner[];
|
|
16
16
|
};
|
|
@@ -8,15 +8,15 @@ import { DealTransactionEntity } from './deal-transaction.type';
|
|
|
8
8
|
export type DealParticipantEntity = BaseEntity & {
|
|
9
9
|
percent: number;
|
|
10
10
|
incomePercent: number;
|
|
11
|
-
dealId
|
|
11
|
+
dealId?: number;
|
|
12
12
|
agencyId?: number;
|
|
13
13
|
userId?: number;
|
|
14
14
|
normId?: number;
|
|
15
15
|
officeId?: number;
|
|
16
|
-
deal
|
|
16
|
+
deal?: DealEntity;
|
|
17
17
|
agency?: AgencyEntity;
|
|
18
18
|
user?: UserEntity;
|
|
19
19
|
norm?: EmployeeNormEntity;
|
|
20
20
|
office?: OfficeEntity;
|
|
21
|
-
transactions
|
|
21
|
+
transactions?: DealTransactionEntity[];
|
|
22
22
|
};
|
|
@@ -5,16 +5,16 @@ import { DealEntity } from './deal.type';
|
|
|
5
5
|
import { DealParticipantEntity } from '.';
|
|
6
6
|
import { UserEntity } from './user.type';
|
|
7
7
|
export type DealTransactionEntity = BaseEntity & {
|
|
8
|
-
dealId
|
|
8
|
+
dealId?: number;
|
|
9
9
|
deal?: DealEntity;
|
|
10
10
|
trxType: DealTransactionEnum;
|
|
11
|
-
participantId
|
|
12
|
-
participant
|
|
11
|
+
participantId?: number;
|
|
12
|
+
participant?: DealParticipantEntity;
|
|
13
13
|
trxDate: Date;
|
|
14
14
|
amount: number;
|
|
15
15
|
minSumByPrice: number;
|
|
16
16
|
currency: Currency;
|
|
17
|
-
comment
|
|
18
|
-
createdById
|
|
17
|
+
comment: string | null;
|
|
18
|
+
createdById: number | null;
|
|
19
19
|
createdBy?: UserEntity;
|
|
20
20
|
};
|
|
@@ -2,7 +2,7 @@ import { BaseEntity } from './base-entity.type';
|
|
|
2
2
|
import { DealTypeEntity } from './deal-type.type';
|
|
3
3
|
import { DealParticipantType } from '../deal/deal-participant-type.enum';
|
|
4
4
|
export type DealTypePercentageEntity = BaseEntity & {
|
|
5
|
-
dealTypeId
|
|
5
|
+
dealTypeId?: number;
|
|
6
6
|
dealType?: DealTypeEntity;
|
|
7
7
|
participant: DealParticipantType;
|
|
8
8
|
percent: number;
|
|
@@ -28,57 +28,57 @@ import { DealType } from 'types/attributes';
|
|
|
28
28
|
export type DealEntity = BaseEntity & {
|
|
29
29
|
dealFormat: DealType;
|
|
30
30
|
status: DealStatus;
|
|
31
|
-
mortgageProgram
|
|
31
|
+
mortgageProgram: MortgageProgram | null;
|
|
32
32
|
payer: DealPayer;
|
|
33
|
-
realtySubtype: RealtySubtype;
|
|
33
|
+
realtySubtype: RealtySubtype | null;
|
|
34
34
|
currency: Currency;
|
|
35
35
|
agreementType: DealAgreementType;
|
|
36
|
-
agreementSum
|
|
36
|
+
agreementSum: number | null;
|
|
37
37
|
ownerPrice: number;
|
|
38
38
|
initialServicesSum: number;
|
|
39
39
|
servicesPrepaymentSum: number;
|
|
40
|
-
minServicesSumByPriceList
|
|
41
|
-
servicesSumWithOtherAgency
|
|
42
|
-
servicesSumChangeReason
|
|
40
|
+
minServicesSumByPriceList: number | null;
|
|
41
|
+
servicesSumWithOtherAgency: number | null;
|
|
42
|
+
servicesSumChangeReason: string | null;
|
|
43
43
|
changePriceReason: string;
|
|
44
44
|
dealNumber: number;
|
|
45
|
-
checkOutPledge
|
|
46
|
-
checkOutPledgeReturnDate
|
|
45
|
+
checkOutPledge: number | null;
|
|
46
|
+
checkOutPledgeReturnDate: Date | null;
|
|
47
47
|
prepaymentDate: Date;
|
|
48
48
|
initialSettlementDate: Date;
|
|
49
|
-
changeInitialSettlementDateReason
|
|
49
|
+
changeInitialSettlementDateReason: string | null;
|
|
50
50
|
currencyConvertCoefficient: number;
|
|
51
51
|
prepaymentAmount: number;
|
|
52
52
|
actualSettlementDate: Date;
|
|
53
53
|
legalAddress: string;
|
|
54
|
-
houseNumber
|
|
55
|
-
houseNumberAdd
|
|
56
|
-
houseNumberTemp
|
|
57
|
-
apartmentNumber
|
|
58
|
-
apartmentNumberAdd
|
|
59
|
-
apartmentNumberTemp
|
|
60
|
-
corps
|
|
54
|
+
houseNumber: number | null;
|
|
55
|
+
houseNumberAdd: number | null;
|
|
56
|
+
houseNumberTemp: string | null;
|
|
57
|
+
apartmentNumber: number | null;
|
|
58
|
+
apartmentNumberAdd: string | null;
|
|
59
|
+
apartmentNumberTemp: string | null;
|
|
60
|
+
corps: string | null;
|
|
61
61
|
isPrepaymentForColleague: boolean;
|
|
62
62
|
isPropertyNotInDb: boolean;
|
|
63
63
|
buyers: DealBuyer[];
|
|
64
64
|
sellers: DealSeller[];
|
|
65
|
-
expenses
|
|
66
|
-
replacementBuyer
|
|
67
|
-
buyerPays
|
|
68
|
-
sellerPays
|
|
69
|
-
buyerPenaltyPercent
|
|
70
|
-
sellerPenaltyPercent
|
|
71
|
-
stockSum
|
|
72
|
-
sellerMustHave
|
|
73
|
-
newBuildingContractName
|
|
74
|
-
newBuildingContractNumber
|
|
75
|
-
newBuildingContractDate
|
|
76
|
-
keysTransferDate
|
|
77
|
-
paysInquiryDate
|
|
65
|
+
expenses: DealExpense[] | null;
|
|
66
|
+
replacementBuyer: DealBuyer | null;
|
|
67
|
+
buyerPays: string | null;
|
|
68
|
+
sellerPays: string | null;
|
|
69
|
+
buyerPenaltyPercent: number | null;
|
|
70
|
+
sellerPenaltyPercent: number | null;
|
|
71
|
+
stockSum: number | null;
|
|
72
|
+
sellerMustHave: string | null;
|
|
73
|
+
newBuildingContractName: string | null;
|
|
74
|
+
newBuildingContractNumber: string | null;
|
|
75
|
+
newBuildingContractDate: Date | null;
|
|
76
|
+
keysTransferDate: Date | null;
|
|
77
|
+
paysInquiryDate: Date | null;
|
|
78
78
|
inhabitorsInquiryDate: Date;
|
|
79
79
|
notaryChoiceReason: string;
|
|
80
|
-
breakReason
|
|
81
|
-
form2AdditionalAgreementText
|
|
80
|
+
breakReason: string | null;
|
|
81
|
+
form2AdditionalAgreementText: string | null;
|
|
82
82
|
valuationDescription: string;
|
|
83
83
|
insuranceDescription: string;
|
|
84
84
|
dealNumberSuffix: string;
|
|
@@ -91,10 +91,10 @@ export type DealEntity = BaseEntity & {
|
|
|
91
91
|
packet: number;
|
|
92
92
|
packetDescription: string;
|
|
93
93
|
initialCommission: number;
|
|
94
|
-
buyerServicesSum
|
|
95
|
-
buyerServicesPrepaymentSum
|
|
96
|
-
sellerServicesSum
|
|
97
|
-
sellerServicesPrepaymentSum
|
|
94
|
+
buyerServicesSum: number | null;
|
|
95
|
+
buyerServicesPrepaymentSum: number | null;
|
|
96
|
+
sellerServicesSum: number | null;
|
|
97
|
+
sellerServicesPrepaymentSum: number | null;
|
|
98
98
|
attorneyId?: number;
|
|
99
99
|
dealTypeId?: number;
|
|
100
100
|
geoId?: number;
|
|
@@ -6,11 +6,11 @@ export type DutyEntity = BaseEntity & {
|
|
|
6
6
|
startTime: string;
|
|
7
7
|
endTime: string;
|
|
8
8
|
isDayOff: boolean;
|
|
9
|
-
description
|
|
10
|
-
createdById
|
|
11
|
-
userId
|
|
12
|
-
officeId
|
|
13
|
-
user
|
|
14
|
-
office
|
|
9
|
+
description: string | null;
|
|
10
|
+
createdById?: number;
|
|
11
|
+
userId?: number;
|
|
12
|
+
officeId?: number;
|
|
13
|
+
user?: UserEntity;
|
|
14
|
+
office?: OfficeEntity;
|
|
15
15
|
createdBy?: UserEntity;
|
|
16
16
|
};
|
|
@@ -8,8 +8,8 @@ export type EmployeeNormEntity = UniqueIdEntity & {
|
|
|
8
8
|
income: number;
|
|
9
9
|
progress: number;
|
|
10
10
|
exclusive: number;
|
|
11
|
-
officeId
|
|
12
|
-
categoryId
|
|
11
|
+
officeId?: number;
|
|
12
|
+
categoryId?: number;
|
|
13
13
|
office?: OfficeEntity;
|
|
14
14
|
category?: NormCategoryEntity;
|
|
15
15
|
dealParticipants: DealParticipantEntity[];
|
|
@@ -2,8 +2,8 @@ import { FeedbackEntity } from './feedback.type';
|
|
|
2
2
|
import { UploadedFileEntity } from './uploaded-file-entity.type';
|
|
3
3
|
import { UniqueIdEntity } from './unique-id-entity.type';
|
|
4
4
|
export type FeedbackFileEntity = UniqueIdEntity & {
|
|
5
|
-
fileId
|
|
6
|
-
file
|
|
7
|
-
feedbackId
|
|
8
|
-
feedback
|
|
5
|
+
fileId?: number;
|
|
6
|
+
file?: UploadedFileEntity;
|
|
7
|
+
feedbackId?: number;
|
|
8
|
+
feedback?: FeedbackEntity;
|
|
9
9
|
};
|
|
@@ -2,8 +2,8 @@ import { UserEntity } from './user.type';
|
|
|
2
2
|
import { FeedbackEntity } from './feedback.type';
|
|
3
3
|
import { BaseEntity } from './base-entity.type';
|
|
4
4
|
export type FeedbackViewEntity = BaseEntity & {
|
|
5
|
-
userId
|
|
6
|
-
user
|
|
7
|
-
feedbackId
|
|
8
|
-
feedback
|
|
5
|
+
userId?: number;
|
|
6
|
+
user?: UserEntity;
|
|
7
|
+
feedbackId?: number;
|
|
8
|
+
feedback?: FeedbackEntity;
|
|
9
9
|
};
|
|
@@ -9,10 +9,10 @@ export type FeedbackEntity = BaseEntity & {
|
|
|
9
9
|
text: string;
|
|
10
10
|
type: FeedbackCategory;
|
|
11
11
|
status: FeedbackStatus;
|
|
12
|
-
userId
|
|
13
|
-
user
|
|
14
|
-
officeId
|
|
15
|
-
office
|
|
16
|
-
views
|
|
17
|
-
files
|
|
12
|
+
userId?: number;
|
|
13
|
+
user?: UserEntity;
|
|
14
|
+
officeId?: number;
|
|
15
|
+
office?: OfficeEntity;
|
|
16
|
+
views?: FeedbackViewEntity[];
|
|
17
|
+
files?: FeedbackFileEntity[];
|
|
18
18
|
};
|
|
@@ -8,7 +8,7 @@ export type FlatEntity = BaseEntity & {
|
|
|
8
8
|
flatNumber: number;
|
|
9
9
|
basePrice: number;
|
|
10
10
|
pricePerMeter: number;
|
|
11
|
-
paymentCalculations
|
|
11
|
+
paymentCalculations: Array<PaymentCalculation> | null;
|
|
12
12
|
flatNumberTemporary: string;
|
|
13
13
|
status: FlatStatus;
|
|
14
14
|
layoutId?: number;
|