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
package/types/core/deal.type.ts
CHANGED
|
@@ -30,57 +30,57 @@ import { DealType } from 'types/attributes';
|
|
|
30
30
|
export type DealEntity = BaseEntity & {
|
|
31
31
|
dealFormat: DealType;
|
|
32
32
|
status: DealStatus;
|
|
33
|
-
mortgageProgram
|
|
33
|
+
mortgageProgram: MortgageProgram | null;
|
|
34
34
|
payer: DealPayer;
|
|
35
|
-
realtySubtype: RealtySubtype;
|
|
35
|
+
realtySubtype: RealtySubtype | null;
|
|
36
36
|
currency: Currency;
|
|
37
37
|
agreementType: DealAgreementType;
|
|
38
|
-
agreementSum
|
|
38
|
+
agreementSum: number | null;
|
|
39
39
|
ownerPrice: number;
|
|
40
40
|
initialServicesSum: number;
|
|
41
41
|
servicesPrepaymentSum: number;
|
|
42
|
-
minServicesSumByPriceList
|
|
43
|
-
servicesSumWithOtherAgency
|
|
44
|
-
servicesSumChangeReason
|
|
42
|
+
minServicesSumByPriceList: number | null;
|
|
43
|
+
servicesSumWithOtherAgency: number | null;
|
|
44
|
+
servicesSumChangeReason: string | null;
|
|
45
45
|
changePriceReason: string;
|
|
46
46
|
dealNumber: number;
|
|
47
|
-
checkOutPledge
|
|
48
|
-
checkOutPledgeReturnDate
|
|
47
|
+
checkOutPledge: number | null;
|
|
48
|
+
checkOutPledgeReturnDate: Date | null;
|
|
49
49
|
prepaymentDate: Date;
|
|
50
50
|
initialSettlementDate: Date;
|
|
51
|
-
changeInitialSettlementDateReason
|
|
51
|
+
changeInitialSettlementDateReason: string | null;
|
|
52
52
|
currencyConvertCoefficient: number;
|
|
53
53
|
prepaymentAmount: number;
|
|
54
54
|
actualSettlementDate: Date;
|
|
55
55
|
legalAddress: string;
|
|
56
|
-
houseNumber
|
|
57
|
-
houseNumberAdd
|
|
58
|
-
houseNumberTemp
|
|
59
|
-
apartmentNumber
|
|
60
|
-
apartmentNumberAdd
|
|
61
|
-
apartmentNumberTemp
|
|
62
|
-
corps
|
|
56
|
+
houseNumber: number | null;
|
|
57
|
+
houseNumberAdd: number | null;
|
|
58
|
+
houseNumberTemp: string | null;
|
|
59
|
+
apartmentNumber: number | null;
|
|
60
|
+
apartmentNumberAdd: string | null;
|
|
61
|
+
apartmentNumberTemp: string | null;
|
|
62
|
+
corps: string | null;
|
|
63
63
|
isPrepaymentForColleague: boolean;
|
|
64
64
|
isPropertyNotInDb: boolean;
|
|
65
65
|
buyers: DealBuyer[];
|
|
66
66
|
sellers: DealSeller[];
|
|
67
|
-
expenses
|
|
68
|
-
replacementBuyer
|
|
69
|
-
buyerPays
|
|
70
|
-
sellerPays
|
|
71
|
-
buyerPenaltyPercent
|
|
72
|
-
sellerPenaltyPercent
|
|
73
|
-
stockSum
|
|
74
|
-
sellerMustHave
|
|
75
|
-
newBuildingContractName
|
|
76
|
-
newBuildingContractNumber
|
|
77
|
-
newBuildingContractDate
|
|
78
|
-
keysTransferDate
|
|
79
|
-
paysInquiryDate
|
|
67
|
+
expenses: DealExpense[] | null;
|
|
68
|
+
replacementBuyer: DealBuyer | null;
|
|
69
|
+
buyerPays: string | null;
|
|
70
|
+
sellerPays: string | null;
|
|
71
|
+
buyerPenaltyPercent: number | null;
|
|
72
|
+
sellerPenaltyPercent: number | null;
|
|
73
|
+
stockSum: number | null;
|
|
74
|
+
sellerMustHave: string | null;
|
|
75
|
+
newBuildingContractName: string | null;
|
|
76
|
+
newBuildingContractNumber: string | null;
|
|
77
|
+
newBuildingContractDate: Date | null;
|
|
78
|
+
keysTransferDate: Date | null;
|
|
79
|
+
paysInquiryDate: Date | null;
|
|
80
80
|
inhabitorsInquiryDate: Date;
|
|
81
81
|
notaryChoiceReason: string;
|
|
82
|
-
breakReason
|
|
83
|
-
form2AdditionalAgreementText
|
|
82
|
+
breakReason: string | null;
|
|
83
|
+
form2AdditionalAgreementText: string | null;
|
|
84
84
|
valuationDescription: string;
|
|
85
85
|
insuranceDescription: string;
|
|
86
86
|
dealNumberSuffix: string;
|
|
@@ -93,27 +93,27 @@ export type DealEntity = BaseEntity & {
|
|
|
93
93
|
packet: number;
|
|
94
94
|
packetDescription: string;
|
|
95
95
|
initialCommission: number;
|
|
96
|
-
buyerServicesSum
|
|
97
|
-
buyerServicesPrepaymentSum
|
|
98
|
-
sellerServicesSum
|
|
99
|
-
sellerServicesPrepaymentSum
|
|
100
|
-
attorneyId
|
|
101
|
-
dealTypeId
|
|
102
|
-
geoId
|
|
103
|
-
streetId
|
|
104
|
-
propertyId
|
|
105
|
-
requestId
|
|
106
|
-
sellerRealtorId
|
|
107
|
-
buyerRealtorId
|
|
108
|
-
agencyId
|
|
109
|
-
userId
|
|
110
|
-
officeId
|
|
111
|
-
notaryId
|
|
112
|
-
appraiserId
|
|
113
|
-
valuationId
|
|
114
|
-
contractTypeId
|
|
115
|
-
parentId
|
|
116
|
-
userAttorneyId
|
|
96
|
+
buyerServicesSum: number | null;
|
|
97
|
+
buyerServicesPrepaymentSum: number | null;
|
|
98
|
+
sellerServicesSum: number | null;
|
|
99
|
+
sellerServicesPrepaymentSum: number | null;
|
|
100
|
+
attorneyId: number | null;
|
|
101
|
+
dealTypeId: number | null;
|
|
102
|
+
geoId: number | null;
|
|
103
|
+
streetId: number | null;
|
|
104
|
+
propertyId: number | null;
|
|
105
|
+
requestId: number | null;
|
|
106
|
+
sellerRealtorId: number | null;
|
|
107
|
+
buyerRealtorId: number | null;
|
|
108
|
+
agencyId: number | null;
|
|
109
|
+
userId: number | null;
|
|
110
|
+
officeId: number | null;
|
|
111
|
+
notaryId: number | null;
|
|
112
|
+
appraiserId: number | null;
|
|
113
|
+
valuationId: number | null;
|
|
114
|
+
contractTypeId: number | null;
|
|
115
|
+
parentId: number | null;
|
|
116
|
+
userAttorneyId: number | null;
|
|
117
117
|
dealType?: DealTypeEntity;
|
|
118
118
|
user?: UserEntity;
|
|
119
119
|
geo?: GeoEntity;
|
package/types/core/duty.type.ts
CHANGED
package/types/core/flat.type.ts
CHANGED
|
@@ -10,13 +10,13 @@ export type FlatEntity = BaseEntity & {
|
|
|
10
10
|
flatNumber: number;
|
|
11
11
|
basePrice: number;
|
|
12
12
|
pricePerMeter: number;
|
|
13
|
-
paymentCalculations
|
|
13
|
+
paymentCalculations: Array<PaymentCalculation> | null;
|
|
14
14
|
flatNumberTemporary: string;
|
|
15
15
|
status: FlatStatus;
|
|
16
|
-
layoutId
|
|
16
|
+
layoutId: number | null;
|
|
17
17
|
layout?: LayoutEntity;
|
|
18
|
-
complexId
|
|
18
|
+
complexId: number;
|
|
19
19
|
complex?: ApartmentComplexEntity;
|
|
20
|
-
floorId
|
|
20
|
+
floorId: number;
|
|
21
21
|
floor?: FloorEntity;
|
|
22
22
|
};
|
package/types/core/floor.type.ts
CHANGED
|
@@ -5,9 +5,9 @@ import { FlatEntity } from './flat.type';
|
|
|
5
5
|
|
|
6
6
|
export type FloorEntity = BaseEntity & {
|
|
7
7
|
floorNumber: number;
|
|
8
|
-
imageId
|
|
8
|
+
imageId: number | null;
|
|
9
9
|
plan?: ImageEntity;
|
|
10
10
|
flats: FlatEntity[];
|
|
11
|
-
sectionId
|
|
11
|
+
sectionId: number;
|
|
12
12
|
section?: SectionEntity;
|
|
13
13
|
};
|
package/types/core/geo.type.ts
CHANGED
|
@@ -16,10 +16,10 @@ export type GeoEntity = BaseEntity & {
|
|
|
16
16
|
declension: MultiLanguage;
|
|
17
17
|
alias: string;
|
|
18
18
|
lvl: number;
|
|
19
|
-
lft
|
|
20
|
-
rgt
|
|
21
|
-
lat
|
|
22
|
-
lng
|
|
19
|
+
lft: number | null;
|
|
20
|
+
rgt: number | null;
|
|
21
|
+
lat: string | null;
|
|
22
|
+
lng: string | null;
|
|
23
23
|
type: GeoType;
|
|
24
24
|
searchText?: string;
|
|
25
25
|
polygon?: { type: string; coordinates: number[][][] };
|
|
@@ -5,8 +5,8 @@ import { GoogleContactType } from '../google/google-contact-type.enum';
|
|
|
5
5
|
|
|
6
6
|
export type GoogleContactEntity = BaseEntity & {
|
|
7
7
|
email: string;
|
|
8
|
-
relatedUserId
|
|
9
|
-
relatedCustomerId
|
|
8
|
+
relatedUserId: number | null;
|
|
9
|
+
relatedCustomerId: number | null;
|
|
10
10
|
resourceName: string;
|
|
11
11
|
contactType: GoogleContactType;
|
|
12
12
|
relatedUser?: UserEntity;
|
|
@@ -9,21 +9,21 @@ import { CustomerRequestEntity } from './customer-request.type';
|
|
|
9
9
|
import { UserPointsChangeEntity } from './user-points-change.type';
|
|
10
10
|
|
|
11
11
|
export type HandlingEntity = BaseEntity & {
|
|
12
|
-
isBlackList
|
|
13
|
-
archiveAnnotation
|
|
14
|
-
callId
|
|
12
|
+
isBlackList: boolean;
|
|
13
|
+
archiveAnnotation: string | null;
|
|
14
|
+
callId: number | null;
|
|
15
15
|
type: number;
|
|
16
16
|
recipient: number;
|
|
17
|
-
readAt
|
|
17
|
+
readAt: string | null;
|
|
18
18
|
annotation: string | null;
|
|
19
19
|
name: string;
|
|
20
20
|
country: string;
|
|
21
21
|
phoneNumber: string;
|
|
22
22
|
realtorId: number;
|
|
23
23
|
createdById: number;
|
|
24
|
-
handledById
|
|
25
|
-
requestId
|
|
26
|
-
propertyId
|
|
24
|
+
handledById: number | null;
|
|
25
|
+
requestId: number | null;
|
|
26
|
+
propertyId: number | null;
|
|
27
27
|
sourceId: number;
|
|
28
28
|
archiveReasonId: number | null;
|
|
29
29
|
archiveReason?: ArchiveReasonEntity;
|
package/types/core/image.type.ts
CHANGED
|
@@ -12,11 +12,11 @@ export type ImageEntity = BaseEntity & {
|
|
|
12
12
|
url: string;
|
|
13
13
|
watermarkedKey: string | null;
|
|
14
14
|
watermarkedUrl: string;
|
|
15
|
-
propertyImage
|
|
16
|
-
propertyDocument
|
|
17
|
-
complexImage
|
|
18
|
-
sectionImage
|
|
19
|
-
floorImage
|
|
20
|
-
buildCompany
|
|
21
|
-
layout
|
|
15
|
+
propertyImage?: PropertyImageEntity;
|
|
16
|
+
propertyDocument?: PropertyDocumentEntity;
|
|
17
|
+
complexImage?: ApartmentComplexImageEntity;
|
|
18
|
+
sectionImage?: SectionEntity;
|
|
19
|
+
floorImage?: FloorEntity;
|
|
20
|
+
buildCompany?: BuildCompanyEntity;
|
|
21
|
+
layout?: LayoutEntity;
|
|
22
22
|
};
|
|
@@ -6,26 +6,15 @@ import { LayoutTypes } from '../layout/layout.types.enum';
|
|
|
6
6
|
|
|
7
7
|
export type LayoutEntity = BaseEntity & {
|
|
8
8
|
name: string;
|
|
9
|
-
|
|
10
9
|
type: LayoutTypes;
|
|
11
|
-
|
|
12
10
|
rooms: number;
|
|
13
|
-
|
|
14
11
|
numberOfLevels: number;
|
|
15
|
-
|
|
16
12
|
square: number;
|
|
17
|
-
|
|
18
13
|
livingSquare: number;
|
|
19
|
-
|
|
20
14
|
kitchenSquare: number;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
image: ImageEntity;
|
|
25
|
-
|
|
26
|
-
complexId?: number;
|
|
27
|
-
|
|
15
|
+
imageId: number | null;
|
|
16
|
+
complexId: number | null;
|
|
17
|
+
image?: ImageEntity;
|
|
28
18
|
complex?: ApartmentComplexEntity;
|
|
29
|
-
|
|
30
19
|
flats?: FlatEntity[];
|
|
31
20
|
};
|
|
@@ -5,16 +5,10 @@ import { MismatchReasonEntity } from './mismatch-reason.type';
|
|
|
5
5
|
|
|
6
6
|
export type MismatchDecisionEntity = BaseEntity & {
|
|
7
7
|
comment: string;
|
|
8
|
-
|
|
9
8
|
customerProperty?: CustomerPropertyEntity;
|
|
10
|
-
|
|
11
9
|
customerPropertyId: number;
|
|
12
|
-
|
|
13
|
-
submittedAs: UserEntity;
|
|
14
|
-
|
|
10
|
+
submittedAs?: UserEntity;
|
|
15
11
|
submittedAsId: number;
|
|
16
|
-
|
|
17
|
-
reason: MismatchReasonEntity;
|
|
18
|
-
|
|
12
|
+
reason?: MismatchReasonEntity;
|
|
19
13
|
reasonId: number;
|
|
20
14
|
};
|
|
@@ -5,6 +5,6 @@ import { MismatchReportEntity } from './mismatch-report.type';
|
|
|
5
5
|
|
|
6
6
|
export type MismatchReasonEntity = BaseEntity & {
|
|
7
7
|
text: MultiLanguage;
|
|
8
|
-
mismatchDecision
|
|
9
|
-
mismatchReport
|
|
8
|
+
mismatchDecision?: MismatchDecisionEntity[];
|
|
9
|
+
mismatchReport?: MismatchReportEntity[];
|
|
10
10
|
};
|
|
@@ -4,17 +4,11 @@ import { MismatchReasonEntity } from './mismatch-reason.type';
|
|
|
4
4
|
import { CustomerPropertyEntity } from './customer-property.type';
|
|
5
5
|
|
|
6
6
|
export type MismatchReportEntity = BaseEntity & {
|
|
7
|
-
submittedAs
|
|
8
|
-
|
|
7
|
+
submittedAs?: UserEntity;
|
|
9
8
|
submittedAsId: number;
|
|
10
|
-
|
|
11
|
-
reason: MismatchReasonEntity;
|
|
12
|
-
|
|
9
|
+
reason?: MismatchReasonEntity;
|
|
13
10
|
reasonId: number;
|
|
14
|
-
|
|
15
|
-
customerProperty: CustomerPropertyEntity;
|
|
16
|
-
|
|
11
|
+
customerProperty?: CustomerPropertyEntity;
|
|
17
12
|
customerPropertyId: number;
|
|
18
|
-
|
|
19
13
|
isActive: boolean;
|
|
20
14
|
};
|
|
@@ -6,12 +6,8 @@ import { NotaryContacts } from '../notary/notary-contacts.type';
|
|
|
6
6
|
|
|
7
7
|
export type NotaryEntity = BaseEntity & {
|
|
8
8
|
deals: DealEntity[];
|
|
9
|
-
|
|
10
|
-
geoId?: number;
|
|
11
|
-
|
|
9
|
+
geoId: number | null;
|
|
12
10
|
geo?: GeoEntity;
|
|
13
|
-
|
|
14
11
|
name: MultiLanguage;
|
|
15
|
-
|
|
16
12
|
contacts: NotaryContacts;
|
|
17
13
|
};
|
|
@@ -4,12 +4,8 @@ import { UserEntity } from './user.type';
|
|
|
4
4
|
export type NotificationPreferenceEntity = BaseEntity & {
|
|
5
5
|
callReceived: boolean;
|
|
6
6
|
handlingCreated: boolean;
|
|
7
|
-
|
|
8
7
|
buyerRegistered: boolean;
|
|
9
|
-
|
|
10
8
|
sellerRegistered: boolean;
|
|
11
|
-
|
|
12
9
|
newPromotions: boolean;
|
|
13
|
-
|
|
14
|
-
user: UserEntity;
|
|
10
|
+
user?: UserEntity;
|
|
15
11
|
};
|
|
@@ -4,16 +4,10 @@ import { NotificationMeta, NotificationType } from '../notifications';
|
|
|
4
4
|
|
|
5
5
|
export type NotificationEntity = BaseEntity & {
|
|
6
6
|
meta: NotificationMeta;
|
|
7
|
-
|
|
8
7
|
scheduledAt: Date;
|
|
9
|
-
|
|
10
|
-
sent?: boolean;
|
|
11
|
-
|
|
8
|
+
sent: boolean;
|
|
12
9
|
type: NotificationType;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
userId?: number;
|
|
17
|
-
|
|
10
|
+
seenAt: Date | null;
|
|
11
|
+
userId: number;
|
|
18
12
|
user?: UserEntity;
|
|
19
13
|
};
|
|
@@ -7,24 +7,14 @@ import { RepresentationEntity } from './representation.type';
|
|
|
7
7
|
|
|
8
8
|
export type OfficeCenterEntity = BaseEntity & {
|
|
9
9
|
name: MultiLanguage;
|
|
10
|
-
|
|
11
10
|
alias: string;
|
|
12
|
-
|
|
13
11
|
weight: number;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
lat?: string;
|
|
18
|
-
|
|
12
|
+
lng: string | null;
|
|
13
|
+
lat: string | null;
|
|
19
14
|
contacts: CenterContacts;
|
|
20
|
-
|
|
21
15
|
schedule: Schedule;
|
|
22
|
-
|
|
23
16
|
group: MultiLanguage;
|
|
24
|
-
|
|
25
17
|
offices?: OfficeEntity[];
|
|
26
|
-
|
|
27
18
|
representationId: number;
|
|
28
|
-
|
|
29
19
|
representation?: RepresentationEntity;
|
|
30
20
|
};
|
|
@@ -15,38 +15,21 @@ import { ServiceConfig } from '../offices';
|
|
|
15
15
|
|
|
16
16
|
export type OfficeEntity = BaseEntity & {
|
|
17
17
|
officeNumber: number;
|
|
18
|
-
|
|
19
18
|
email: string;
|
|
20
|
-
|
|
21
19
|
isActive: boolean;
|
|
22
|
-
|
|
23
20
|
isAgency: boolean;
|
|
24
|
-
|
|
25
21
|
serviceConfig: ServiceConfig;
|
|
26
|
-
|
|
27
22
|
contacts: OfficeContacts;
|
|
28
|
-
|
|
29
23
|
officeCenterId: number;
|
|
30
|
-
|
|
31
24
|
customerBucketScope: CustomerBucketScope;
|
|
32
|
-
|
|
33
25
|
users?: UserOfficeEntity[];
|
|
34
|
-
|
|
35
26
|
officeCenter?: OfficeCenterEntity;
|
|
36
|
-
|
|
37
|
-
norms: EmployeeNormEntity[];
|
|
38
|
-
|
|
27
|
+
norms?: EmployeeNormEntity[];
|
|
39
28
|
buckets?: CustomerBucketEntity[];
|
|
40
|
-
|
|
41
29
|
redirects?: CallRedirectEntity[];
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
dealParticipants: DealParticipantEntity[];
|
|
46
|
-
|
|
30
|
+
deals?: DealEntity[];
|
|
31
|
+
dealParticipants?: DealParticipantEntity[];
|
|
47
32
|
templates?: TemplateOfficeEntity[];
|
|
48
|
-
|
|
49
33
|
feedbacks?: FeedbackEntity[];
|
|
50
|
-
|
|
51
34
|
realtorNumbers?: RealtorNumberEntity[];
|
|
52
35
|
};
|
|
@@ -5,14 +5,10 @@ import { ImageCategory } from '../image/image-category.enum';
|
|
|
5
5
|
|
|
6
6
|
export type PropertyImageEntity = UniqueIdEntity & {
|
|
7
7
|
category: ImageCategory;
|
|
8
|
-
|
|
9
8
|
showOnSite: boolean;
|
|
10
|
-
|
|
11
9
|
isMain: boolean;
|
|
12
|
-
|
|
13
10
|
imageId: number;
|
|
14
|
-
|
|
15
|
-
image: ImageEntity;
|
|
11
|
+
image?: ImageEntity;
|
|
16
12
|
propertyId: number;
|
|
17
|
-
property
|
|
13
|
+
property?: CustomerPropertyEntity;
|
|
18
14
|
};
|
|
@@ -4,12 +4,8 @@ import { Language, MultiLanguage } from '../common';
|
|
|
4
4
|
|
|
5
5
|
export type PropertySeoEntity = UniqueIdEntity & {
|
|
6
6
|
lang: Language;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
description?: MultiLanguage;
|
|
11
|
-
|
|
12
|
-
title?: MultiLanguage;
|
|
13
|
-
|
|
7
|
+
mainAdvantage: string | null;
|
|
8
|
+
description: MultiLanguage | null;
|
|
9
|
+
title: MultiLanguage | null;
|
|
14
10
|
property?: CustomerPropertyEntity;
|
|
15
11
|
};
|
package/types/core/queue.type.ts
CHANGED
|
@@ -5,28 +5,16 @@ import { SectionEntity } from './section.type';
|
|
|
5
5
|
|
|
6
6
|
export type QueueEntity = BaseEntity & {
|
|
7
7
|
name: string;
|
|
8
|
-
|
|
9
8
|
houseNumber: number;
|
|
10
|
-
|
|
11
9
|
inOperation: boolean;
|
|
12
|
-
|
|
13
10
|
startDate: Date;
|
|
14
|
-
|
|
15
11
|
finishDate: Date;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
streetId?: number;
|
|
24
|
-
|
|
25
|
-
street: StreetEntity;
|
|
26
|
-
|
|
27
|
-
complexId?: number;
|
|
28
|
-
|
|
12
|
+
houseNumberSecond: string | null;
|
|
13
|
+
houseNumberTemporary: string | null;
|
|
14
|
+
housingNumber: string | null;
|
|
15
|
+
streetId: number | null;
|
|
16
|
+
complexId: number | null;
|
|
17
|
+
street?: StreetEntity;
|
|
29
18
|
complex?: ApartmentComplexEntity;
|
|
30
|
-
|
|
31
|
-
sections: SectionEntity[];
|
|
19
|
+
sections?: SectionEntity[];
|
|
32
20
|
};
|
|
@@ -7,20 +7,12 @@ import { TelegramChatEntity } from './telegram-chat.type';
|
|
|
7
7
|
|
|
8
8
|
export type RepresentationEntity = BaseEntity & {
|
|
9
9
|
fullName: string;
|
|
10
|
-
|
|
11
10
|
geoId: number;
|
|
12
|
-
|
|
13
11
|
company: string;
|
|
14
|
-
|
|
15
12
|
contractDate: Date;
|
|
16
|
-
|
|
17
13
|
officeCenters?: OfficeCenterEntity[];
|
|
18
|
-
|
|
19
14
|
attributes?: AttributeRepresentationEntity[];
|
|
20
|
-
|
|
21
15
|
geo?: GeoEntity;
|
|
22
|
-
|
|
23
16
|
telegramChat?: TelegramChatEntity;
|
|
24
|
-
|
|
25
17
|
templates?: TemplateRepresentationEntity[];
|
|
26
18
|
};
|
|
@@ -4,20 +4,12 @@ import { CustomerRequestSelectionEntity } from './customer-request-selection.typ
|
|
|
4
4
|
|
|
5
5
|
export type RequestPropertyEntity = BaseEntity & {
|
|
6
6
|
requestSelectionId: number;
|
|
7
|
-
|
|
8
7
|
requestSelection?: CustomerRequestSelectionEntity;
|
|
9
|
-
|
|
10
8
|
propertyId: number;
|
|
11
|
-
|
|
12
9
|
customerProperty?: CustomerPropertyEntity;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
isMain?: boolean;
|
|
19
|
-
|
|
20
|
-
createdAt?: Date;
|
|
21
|
-
|
|
22
|
-
updatedAt?: Date;
|
|
10
|
+
isAddedManually: boolean;
|
|
11
|
+
isRejected: boolean;
|
|
12
|
+
isMain: boolean;
|
|
13
|
+
createdAt: Date | null;
|
|
14
|
+
updatedAt: Date | null;
|
|
23
15
|
};
|
|
@@ -5,14 +5,9 @@ import { QueueEntity } from './queue.type';
|
|
|
5
5
|
|
|
6
6
|
export type SectionEntity = BaseEntity & {
|
|
7
7
|
name: string;
|
|
8
|
-
|
|
9
|
-
imageId?: number;
|
|
10
|
-
|
|
8
|
+
imageId: number | null;
|
|
11
9
|
plan?: ImageEntity;
|
|
12
|
-
|
|
13
|
-
queueId?: number;
|
|
14
|
-
|
|
10
|
+
queueId: number | null;
|
|
15
11
|
queue?: QueueEntity;
|
|
16
|
-
|
|
17
|
-
floors: FloorEntity[];
|
|
12
|
+
floors?: FloorEntity[];
|
|
18
13
|
};
|