vector-shared 1.1.326 → 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/dist/types/core/user.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-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
- package/types/core/user.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
|
|
14
|
+
parentId: number | null;
|
|
15
15
|
isActive: boolean;
|
|
16
16
|
parent?: AdvertSourceEntity;
|
|
17
17
|
subCategories: AdvertSourceEntity[];
|
|
@@ -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
|
};
|
|
@@ -3,6 +3,6 @@ import { AttentionRequiredEntityEnum as AttentionRequiredEntityEnum } from '../c
|
|
|
3
3
|
export type AttentionRequiredEntity = BaseEntity & {
|
|
4
4
|
entityType: AttentionRequiredEntityEnum;
|
|
5
5
|
entityId: number;
|
|
6
|
-
reason
|
|
7
|
-
handledAt
|
|
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;
|
|
@@ -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
|
};
|
|
@@ -10,9 +10,9 @@ export type CallRedirectEntity = BaseEntity & {
|
|
|
10
10
|
replacementNumber: boolean;
|
|
11
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,11 +4,11 @@ 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
13
|
redirectId: number;
|
|
14
14
|
sourceId: number;
|
|
@@ -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;
|
|
@@ -12,29 +12,29 @@ 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
|
|
25
|
+
address: string | null;
|
|
26
|
+
inn: string | null;
|
|
27
|
+
passport: string | null;
|
|
28
|
+
exclusiveAgreementData: ExclusiveBuyerAgreementData | null;
|
|
29
29
|
archiveReasonId: number | null;
|
|
30
|
-
exclusiveAgreementDocumentEndDate
|
|
31
|
-
exclusiveBuyerAgreementDocumentId
|
|
32
|
-
propertyDemonstrationActDocumentId
|
|
30
|
+
exclusiveAgreementDocumentEndDate: Date | null;
|
|
31
|
+
exclusiveBuyerAgreementDocumentId: number | null;
|
|
32
|
+
propertyDemonstrationActDocumentId: number | null;
|
|
33
33
|
visitedOffice: boolean;
|
|
34
|
-
visitedOfficeAt
|
|
34
|
+
visitedOfficeAt: Date | null;
|
|
35
35
|
createdById: number;
|
|
36
36
|
realtorId: number;
|
|
37
|
-
attorneyId
|
|
37
|
+
attorneyId: number | null;
|
|
38
38
|
createdBy?: UserEntity;
|
|
39
39
|
archiveReason?: ArchiveReasonEntity;
|
|
40
40
|
phones?: CustomerPhoneEntity[];
|
|
@@ -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
|
|
10
|
+
documentType: DealDocumentEnum | null;
|
|
11
|
+
vchasnoDocumentId: string | null;
|
|
12
12
|
dealId: number;
|
|
13
|
-
deal
|
|
13
|
+
deal?: DealEntity;
|
|
14
14
|
vchasnoDocument?: VchasnoDocument;
|
|
15
15
|
vchasnoDocumentSigners?: VchasnoDocumentSigner[];
|
|
16
16
|
};
|
|
@@ -9,11 +9,11 @@ export type DealParticipantEntity = BaseEntity & {
|
|
|
9
9
|
percent: number;
|
|
10
10
|
incomePercent: number;
|
|
11
11
|
dealId: number;
|
|
12
|
-
agencyId
|
|
13
|
-
userId
|
|
14
|
-
normId
|
|
15
|
-
officeId
|
|
16
|
-
deal
|
|
12
|
+
agencyId: number | null;
|
|
13
|
+
userId: number | null;
|
|
14
|
+
normId: number | null;
|
|
15
|
+
officeId: number | null;
|
|
16
|
+
deal?: DealEntity;
|
|
17
17
|
agency?: AgencyEntity;
|
|
18
18
|
user?: UserEntity;
|
|
19
19
|
norm?: EmployeeNormEntity;
|
|
@@ -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,27 +91,27 @@ export type DealEntity = BaseEntity & {
|
|
|
91
91
|
packet: number;
|
|
92
92
|
packetDescription: string;
|
|
93
93
|
initialCommission: number;
|
|
94
|
-
buyerServicesSum
|
|
95
|
-
buyerServicesPrepaymentSum
|
|
96
|
-
sellerServicesSum
|
|
97
|
-
sellerServicesPrepaymentSum
|
|
98
|
-
attorneyId
|
|
99
|
-
dealTypeId
|
|
100
|
-
geoId
|
|
101
|
-
streetId
|
|
102
|
-
propertyId
|
|
103
|
-
requestId
|
|
104
|
-
sellerRealtorId
|
|
105
|
-
buyerRealtorId
|
|
106
|
-
agencyId
|
|
107
|
-
userId
|
|
108
|
-
officeId
|
|
109
|
-
notaryId
|
|
110
|
-
appraiserId
|
|
111
|
-
valuationId
|
|
112
|
-
contractTypeId
|
|
113
|
-
parentId
|
|
114
|
-
userAttorneyId
|
|
94
|
+
buyerServicesSum: number | null;
|
|
95
|
+
buyerServicesPrepaymentSum: number | null;
|
|
96
|
+
sellerServicesSum: number | null;
|
|
97
|
+
sellerServicesPrepaymentSum: number | null;
|
|
98
|
+
attorneyId: number | null;
|
|
99
|
+
dealTypeId: number | null;
|
|
100
|
+
geoId: number | null;
|
|
101
|
+
streetId: number | null;
|
|
102
|
+
propertyId: number | null;
|
|
103
|
+
requestId: number | null;
|
|
104
|
+
sellerRealtorId: number | null;
|
|
105
|
+
buyerRealtorId: number | null;
|
|
106
|
+
agencyId: number | null;
|
|
107
|
+
userId: number | null;
|
|
108
|
+
officeId: number | null;
|
|
109
|
+
notaryId: number | null;
|
|
110
|
+
appraiserId: number | null;
|
|
111
|
+
valuationId: number | null;
|
|
112
|
+
contractTypeId: number | null;
|
|
113
|
+
parentId: number | null;
|
|
114
|
+
userAttorneyId: number | null;
|
|
115
115
|
dealType?: DealTypeEntity;
|
|
116
116
|
user?: UserEntity;
|
|
117
117
|
geo?: GeoEntity;
|
|
@@ -8,13 +8,13 @@ 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
|
-
layoutId
|
|
14
|
+
layoutId: number | null;
|
|
15
15
|
layout?: LayoutEntity;
|
|
16
|
-
complexId
|
|
16
|
+
complexId: number;
|
|
17
17
|
complex?: ApartmentComplexEntity;
|
|
18
|
-
floorId
|
|
18
|
+
floorId: number;
|
|
19
19
|
floor?: FloorEntity;
|
|
20
20
|
};
|
|
@@ -4,9 +4,9 @@ import { ImageEntity } from './image.type';
|
|
|
4
4
|
import { FlatEntity } from './flat.type';
|
|
5
5
|
export type FloorEntity = BaseEntity & {
|
|
6
6
|
floorNumber: number;
|
|
7
|
-
imageId
|
|
7
|
+
imageId: number | null;
|
|
8
8
|
plan?: ImageEntity;
|
|
9
9
|
flats: FlatEntity[];
|
|
10
|
-
sectionId
|
|
10
|
+
sectionId: number;
|
|
11
11
|
section?: SectionEntity;
|
|
12
12
|
};
|
|
@@ -15,10 +15,10 @@ export type GeoEntity = BaseEntity & {
|
|
|
15
15
|
declension: MultiLanguage;
|
|
16
16
|
alias: string;
|
|
17
17
|
lvl: number;
|
|
18
|
-
lft
|
|
19
|
-
rgt
|
|
20
|
-
lat
|
|
21
|
-
lng
|
|
18
|
+
lft: number | null;
|
|
19
|
+
rgt: number | null;
|
|
20
|
+
lat: string | null;
|
|
21
|
+
lng: string | null;
|
|
22
22
|
type: GeoType;
|
|
23
23
|
searchText?: string;
|
|
24
24
|
polygon?: {
|
|
@@ -4,8 +4,8 @@ import { CustomerEntity } from './customer.type';
|
|
|
4
4
|
import { GoogleContactType } from '../google/google-contact-type.enum';
|
|
5
5
|
export type GoogleContactEntity = BaseEntity & {
|
|
6
6
|
email: string;
|
|
7
|
-
relatedUserId
|
|
8
|
-
relatedCustomerId
|
|
7
|
+
relatedUserId: number | null;
|
|
8
|
+
relatedCustomerId: number | null;
|
|
9
9
|
resourceName: string;
|
|
10
10
|
contactType: GoogleContactType;
|
|
11
11
|
relatedUser?: UserEntity;
|
|
@@ -8,21 +8,21 @@ import { AdvertSourceEntity } from './advert-source.type';
|
|
|
8
8
|
import { CustomerRequestEntity } from './customer-request.type';
|
|
9
9
|
import { UserPointsChangeEntity } from './user-points-change.type';
|
|
10
10
|
export type HandlingEntity = BaseEntity & {
|
|
11
|
-
isBlackList
|
|
12
|
-
archiveAnnotation
|
|
13
|
-
callId
|
|
11
|
+
isBlackList: boolean;
|
|
12
|
+
archiveAnnotation: string | null;
|
|
13
|
+
callId: number | null;
|
|
14
14
|
type: number;
|
|
15
15
|
recipient: number;
|
|
16
|
-
readAt
|
|
16
|
+
readAt: string | null;
|
|
17
17
|
annotation: string | null;
|
|
18
18
|
name: string;
|
|
19
19
|
country: string;
|
|
20
20
|
phoneNumber: string;
|
|
21
21
|
realtorId: number;
|
|
22
22
|
createdById: number;
|
|
23
|
-
handledById
|
|
24
|
-
requestId
|
|
25
|
-
propertyId
|
|
23
|
+
handledById: number | null;
|
|
24
|
+
requestId: number | null;
|
|
25
|
+
propertyId: number | null;
|
|
26
26
|
sourceId: number;
|
|
27
27
|
archiveReasonId: number | null;
|
|
28
28
|
archiveReason?: ArchiveReasonEntity;
|
|
@@ -11,11 +11,11 @@ export type ImageEntity = BaseEntity & {
|
|
|
11
11
|
url: string;
|
|
12
12
|
watermarkedKey: string | null;
|
|
13
13
|
watermarkedUrl: string;
|
|
14
|
-
propertyImage
|
|
15
|
-
propertyDocument
|
|
16
|
-
complexImage
|
|
17
|
-
sectionImage
|
|
18
|
-
floorImage
|
|
19
|
-
buildCompany
|
|
20
|
-
layout
|
|
14
|
+
propertyImage?: PropertyImageEntity;
|
|
15
|
+
propertyDocument?: PropertyDocumentEntity;
|
|
16
|
+
complexImage?: ApartmentComplexImageEntity;
|
|
17
|
+
sectionImage?: SectionEntity;
|
|
18
|
+
floorImage?: FloorEntity;
|
|
19
|
+
buildCompany?: BuildCompanyEntity;
|
|
20
|
+
layout?: LayoutEntity;
|
|
21
21
|
};
|
|
@@ -11,9 +11,9 @@ export type LayoutEntity = BaseEntity & {
|
|
|
11
11
|
square: number;
|
|
12
12
|
livingSquare: number;
|
|
13
13
|
kitchenSquare: number;
|
|
14
|
-
imageId: number;
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
imageId: number | null;
|
|
15
|
+
complexId: number | null;
|
|
16
|
+
image?: ImageEntity;
|
|
17
17
|
complex?: ApartmentComplexEntity;
|
|
18
18
|
flats?: FlatEntity[];
|
|
19
19
|
};
|
|
@@ -2,6 +2,6 @@ import { BaseEntity } from './base-entity.type';
|
|
|
2
2
|
import { CustomerPropertyEntity } from './customer-property.type';
|
|
3
3
|
export type MismatchAggregateEntity = BaseEntity & {
|
|
4
4
|
count: number;
|
|
5
|
-
customerProperty
|
|
5
|
+
customerProperty?: CustomerPropertyEntity;
|
|
6
6
|
customerPropertyId: number;
|
|
7
7
|
};
|
|
@@ -6,8 +6,8 @@ export type MismatchDecisionEntity = BaseEntity & {
|
|
|
6
6
|
comment: string;
|
|
7
7
|
customerProperty?: CustomerPropertyEntity;
|
|
8
8
|
customerPropertyId: number;
|
|
9
|
-
submittedAs
|
|
9
|
+
submittedAs?: UserEntity;
|
|
10
10
|
submittedAsId: number;
|
|
11
|
-
reason
|
|
11
|
+
reason?: MismatchReasonEntity;
|
|
12
12
|
reasonId: number;
|
|
13
13
|
};
|
|
@@ -4,6 +4,6 @@ import { BaseEntity } from './base-entity.type';
|
|
|
4
4
|
import { MismatchReportEntity } from './mismatch-report.type';
|
|
5
5
|
export type MismatchReasonEntity = BaseEntity & {
|
|
6
6
|
text: MultiLanguage;
|
|
7
|
-
mismatchDecision
|
|
8
|
-
mismatchReport
|
|
7
|
+
mismatchDecision?: MismatchDecisionEntity[];
|
|
8
|
+
mismatchReport?: MismatchReportEntity[];
|
|
9
9
|
};
|
|
@@ -3,11 +3,11 @@ import { UserEntity } from './user.type';
|
|
|
3
3
|
import { MismatchReasonEntity } from './mismatch-reason.type';
|
|
4
4
|
import { CustomerPropertyEntity } from './customer-property.type';
|
|
5
5
|
export type MismatchReportEntity = BaseEntity & {
|
|
6
|
-
submittedAs
|
|
6
|
+
submittedAs?: UserEntity;
|
|
7
7
|
submittedAsId: number;
|
|
8
|
-
reason
|
|
8
|
+
reason?: MismatchReasonEntity;
|
|
9
9
|
reasonId: number;
|
|
10
|
-
customerProperty
|
|
10
|
+
customerProperty?: CustomerPropertyEntity;
|
|
11
11
|
customerPropertyId: number;
|
|
12
12
|
isActive: boolean;
|
|
13
13
|
};
|
|
@@ -5,7 +5,7 @@ import { MultiLanguage } from '../common';
|
|
|
5
5
|
import { NotaryContacts } from '../notary/notary-contacts.type';
|
|
6
6
|
export type NotaryEntity = BaseEntity & {
|
|
7
7
|
deals: DealEntity[];
|
|
8
|
-
geoId
|
|
8
|
+
geoId: number | null;
|
|
9
9
|
geo?: GeoEntity;
|
|
10
10
|
name: MultiLanguage;
|
|
11
11
|
contacts: NotaryContacts;
|
|
@@ -4,9 +4,9 @@ import { NotificationMeta, NotificationType } from '../notifications';
|
|
|
4
4
|
export type NotificationEntity = BaseEntity & {
|
|
5
5
|
meta: NotificationMeta;
|
|
6
6
|
scheduledAt: Date;
|
|
7
|
-
sent
|
|
7
|
+
sent: boolean;
|
|
8
8
|
type: NotificationType;
|
|
9
|
-
seenAt
|
|
10
|
-
userId
|
|
9
|
+
seenAt: Date | null;
|
|
10
|
+
userId: number;
|
|
11
11
|
user?: UserEntity;
|
|
12
12
|
};
|
|
@@ -8,8 +8,8 @@ export type OfficeCenterEntity = BaseEntity & {
|
|
|
8
8
|
name: MultiLanguage;
|
|
9
9
|
alias: string;
|
|
10
10
|
weight: number;
|
|
11
|
-
lng
|
|
12
|
-
lat
|
|
11
|
+
lng: string | null;
|
|
12
|
+
lat: string | null;
|
|
13
13
|
contacts: CenterContacts;
|
|
14
14
|
schedule: Schedule;
|
|
15
15
|
group: MultiLanguage;
|