vector-shared 1.1.316 → 1.1.318
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/attributes/attribute-value.type.d.ts +1 -1
- package/dist/types/core/advert-source.type.d.ts +21 -2
- package/dist/types/core/agency.type.d.ts +7 -5
- package/dist/types/core/apartment-complex-image.type.d.ts +9 -5
- package/dist/types/core/apartment-complex-info.type.d.ts +1 -1
- package/dist/types/core/appraiser.type.d.ts +3 -3
- package/dist/types/core/archive-reason.type.d.ts +8 -0
- package/dist/types/core/attention-required.type.d.ts +3 -2
- package/dist/types/core/attorney.type.d.ts +7 -6
- package/dist/types/core/attribute-representation.type.d.ts +6 -2
- package/dist/types/core/attribute-value.type.d.ts +7 -3
- package/dist/types/core/build-company.type.d.ts +9 -3
- package/dist/types/core/call.type.d.ts +2 -2
- package/dist/types/core/contract-type.type.d.ts +2 -0
- package/dist/types/core/customer-bucket.type.d.ts +6 -2
- package/dist/types/core/customer-call.type.d.ts +6 -3
- package/dist/types/core/customer-phone.type.d.ts +3 -0
- package/dist/types/core/customer-property-duplicate.type.d.ts +10 -4
- package/dist/types/core/deal-document.type.d.ts +11 -4
- package/dist/types/core/deal-participant.type.d.ts +13 -4
- package/dist/types/core/deal-type.type.d.ts +5 -2
- package/dist/types/core/deal.type.d.ts +2 -2
- package/dist/types/core/duty.type.d.ts +11 -3
- package/dist/types/core/feedback-view.type.d.ts +2 -2
- package/dist/types/core/feedback.type.d.ts +4 -4
- package/dist/types/core/floor.type.d.ts +3 -3
- package/dist/types/core/geo-topzone.type.d.ts +2 -3
- package/dist/types/core/geo.type.d.ts +1 -1
- package/dist/types/core/google-contact.type.d.ts +5 -7
- package/dist/types/google/google-contact-type.enum.d.ts +5 -0
- package/dist/types/google/google-contact-type.enum.js +10 -0
- package/dist/types/google/google-contact-type.enum.js.map +1 -0
- package/package.json +1 -1
- package/types/attributes/attribute-value.type.ts +1 -1
- package/types/core/advert-source.type.ts +21 -2
- package/types/core/agency.type.ts +7 -5
- package/types/core/apartment-complex-image.type.ts +9 -5
- package/types/core/apartment-complex-info.type.ts +1 -1
- package/types/core/appraiser.type.ts +3 -3
- package/types/core/archive-reason.type.ts +8 -0
- package/types/core/attention-required.type.ts +3 -2
- package/types/core/attorney.type.ts +7 -6
- package/types/core/attribute-representation.type.ts +6 -2
- package/types/core/attribute-value.type.ts +7 -3
- package/types/core/build-company.type.ts +9 -3
- package/types/core/call-redirect.type.ts +0 -10
- package/types/core/call.type.ts +2 -2
- package/types/core/contract-type.type.ts +2 -0
- package/types/core/customer-bucket.type.ts +6 -2
- package/types/core/customer-call.type.ts +6 -3
- package/types/core/customer-phone.type.ts +3 -0
- package/types/core/customer-property-duplicate.type.ts +10 -4
- package/types/core/deal-document.type.ts +11 -4
- package/types/core/deal-participant.type.ts +13 -4
- package/types/core/deal-type.type.ts +5 -2
- package/types/core/deal.type.ts +2 -1
- package/types/core/duty.type.ts +11 -3
- package/types/core/feedback-view.type.ts +2 -2
- package/types/core/feedback.type.ts +4 -4
- package/types/core/floor.type.ts +3 -3
- package/types/core/geo-topzone.type.ts +2 -3
- package/types/core/geo.type.ts +1 -1
- package/types/core/google-contact.type.ts +5 -7
- package/types/google/google-contact-type.enum.ts +5 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { AttributeValueEntity } from '../core/attribute-value.type';
|
|
2
|
-
export type AttributeValueDto = Pick<AttributeValueEntity, '
|
|
2
|
+
export type AttributeValueDto = Pick<AttributeValueEntity, 'attributeKey' | 'name'>;
|
|
@@ -1,5 +1,24 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { UniqueIdEntity } from './unique-id-entity.type';
|
|
2
2
|
import { MultiLanguage } from '../common/multi-language-column.type';
|
|
3
|
-
|
|
3
|
+
import { UserProfileEntity } from './user-profile.type';
|
|
4
|
+
import { CustomerPropertyEntity } from './customer-property.type';
|
|
5
|
+
import { CallEntity } from './call.type';
|
|
6
|
+
import { HandlingEntity } from './handling.type';
|
|
7
|
+
import { CallRedirectEntity } from './call-redirect.type';
|
|
8
|
+
import { CustomerRequestEntity } from './customer-request.type';
|
|
9
|
+
export type AdvertSourceEntity = UniqueIdEntity & {
|
|
4
10
|
name: MultiLanguage;
|
|
11
|
+
sort: number;
|
|
12
|
+
receiveType: number | null;
|
|
13
|
+
insertType: number | null;
|
|
14
|
+
parentId?: number;
|
|
15
|
+
isActive: boolean;
|
|
16
|
+
parent?: AdvertSourceEntity;
|
|
17
|
+
subCategories: AdvertSourceEntity[];
|
|
18
|
+
profiles: UserProfileEntity[];
|
|
19
|
+
customersRequests: CustomerRequestEntity[];
|
|
20
|
+
customerProperties: CustomerPropertyEntity[];
|
|
21
|
+
calls: CallEntity[];
|
|
22
|
+
redirects: CallRedirectEntity[];
|
|
23
|
+
handlings: HandlingEntity[];
|
|
5
24
|
};
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { BaseEntity } from './base-entity.type';
|
|
2
2
|
import { DealEntity } from './deal.type';
|
|
3
|
+
import { DealParticipantEntity } from './deal-participant.type';
|
|
4
|
+
import { GeoEntity } from './geo.type';
|
|
5
|
+
import { MultiLanguage } from '../common/multi-language-column.type';
|
|
3
6
|
export type AgencyEntity = BaseEntity & {
|
|
4
|
-
name:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
deals?: DealEntity[];
|
|
7
|
+
name: MultiLanguage;
|
|
8
|
+
geo?: GeoEntity | null;
|
|
9
|
+
deals: DealEntity[];
|
|
10
|
+
dealParticipants: DealParticipantEntity[];
|
|
9
11
|
};
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BaseEntity } from './base-entity.type';
|
|
2
2
|
import { ImageEntity } from './image.type';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
import { ApartmentComplexEntity } from './apartment-complex.type';
|
|
4
|
+
import { ApartmentComplexImageCategory } from '../image/apartment-complex-image-category.enum';
|
|
5
|
+
export type ApartmentComplexImageEntity = BaseEntity & {
|
|
6
|
+
category: ApartmentComplexImageCategory;
|
|
6
7
|
imageId: number;
|
|
7
|
-
image
|
|
8
|
+
image: ImageEntity;
|
|
9
|
+
complexId: number;
|
|
10
|
+
complex: ApartmentComplexEntity;
|
|
11
|
+
sortOrder: number;
|
|
8
12
|
};
|
|
@@ -3,7 +3,7 @@ import { ApartmentComplexEntity } from './apartment-complex.type';
|
|
|
3
3
|
import { MultiLanguage } from '../common/multi-language-column.type';
|
|
4
4
|
import { ApartmentInfoAttributes } from '../attributes/apartment-info-attributes.type';
|
|
5
5
|
import { Manager } from '../apartment-complex/manager.type';
|
|
6
|
-
import { Expression } from '
|
|
6
|
+
import { Expression } from '../apartment-complex/expression.type';
|
|
7
7
|
export type ApartmentComplexInfoEntity = BaseEntity & {
|
|
8
8
|
description: MultiLanguage;
|
|
9
9
|
declination: MultiLanguage;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BaseEntity } from './base-entity.type';
|
|
2
2
|
import { DealEntity } from './deal.type';
|
|
3
|
+
import { MultiLanguage } from '../common/multi-language-column.type';
|
|
3
4
|
export type AppraiserEntity = BaseEntity & {
|
|
4
|
-
name:
|
|
5
|
-
|
|
6
|
-
email?: string;
|
|
5
|
+
name: MultiLanguage;
|
|
6
|
+
isHidden: boolean;
|
|
7
7
|
deals: DealEntity[];
|
|
8
8
|
};
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
import { UniqueIdEntity } from './unique-id-entity.type';
|
|
2
2
|
import { MultiLanguage } from '../common/multi-language-column.type';
|
|
3
3
|
import { ArchiveReasonDestination } from '../archive-reasons/archive-reason-destination.enum';
|
|
4
|
+
import { CustomerEntity } from './customer.type';
|
|
5
|
+
import { HandlingEntity } from './handling.type';
|
|
6
|
+
import { CustomerPropertyEntity } from './customer-property.type';
|
|
7
|
+
import { CustomerRequestEntity } from './customer-request.type';
|
|
4
8
|
export type ArchiveReasonEntity = UniqueIdEntity & {
|
|
5
9
|
text: MultiLanguage;
|
|
6
10
|
destination: ArchiveReasonDestination;
|
|
11
|
+
customers: CustomerEntity[];
|
|
12
|
+
handlings: HandlingEntity[];
|
|
13
|
+
customerProperties: CustomerPropertyEntity[];
|
|
14
|
+
customerRequests: CustomerRequestEntity[];
|
|
7
15
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { BaseEntity } from './base-entity.type';
|
|
2
|
+
import { AttentionRequiredEntity as AttentionRequiredEntityEnum } from '../customer/attention-required-entity.enum';
|
|
2
3
|
export type AttentionRequiredEntity = BaseEntity & {
|
|
4
|
+
entityType: AttentionRequiredEntityEnum;
|
|
5
|
+
entityId: number;
|
|
3
6
|
reason?: string;
|
|
4
7
|
handledAt?: Date;
|
|
5
|
-
entityType: string;
|
|
6
|
-
entityId: number;
|
|
7
8
|
};
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { MultiLanguage } from '../common/multi-language-column.type';
|
|
2
2
|
import { BaseEntity } from './base-entity.type';
|
|
3
3
|
import { AttorneyTypeEnum } from '../attorney/attorney-type.enum';
|
|
4
|
+
import { UserAttorneyEntity } from './user-attorney.type';
|
|
4
5
|
export type AttorneyEntity = BaseEntity & {
|
|
5
6
|
name: MultiLanguage;
|
|
6
|
-
phoneNumber?: string;
|
|
7
|
-
email?: string;
|
|
8
7
|
vchasnoApiKey?: string;
|
|
9
|
-
edrpo
|
|
10
|
-
|
|
8
|
+
edrpo: string | null;
|
|
9
|
+
email: string | null;
|
|
10
|
+
account: string | null;
|
|
11
|
+
qrCode: string | null;
|
|
12
|
+
address: string | null;
|
|
11
13
|
type: AttorneyTypeEnum;
|
|
12
|
-
|
|
13
|
-
address: string;
|
|
14
|
+
usersAttorney: UserAttorneyEntity[];
|
|
14
15
|
};
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { BaseEntity } from './base-entity.type';
|
|
2
|
+
import { AttributeEntity } from './attribute.type';
|
|
3
|
+
import { RepresentationEntity } from './representation.type';
|
|
4
|
+
export type AttributeRepresentationEntity = BaseEntity & {
|
|
3
5
|
attributeKey: string;
|
|
6
|
+
attribute?: AttributeEntity;
|
|
4
7
|
representationId: number;
|
|
8
|
+
representation?: RepresentationEntity;
|
|
5
9
|
};
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BaseEntity } from './base-entity.type';
|
|
2
2
|
import { MultiLanguage } from '../common/multi-language-column.type';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
import { RealtyType } from '../customer-property/realty-type.enum';
|
|
4
|
+
import { AttributeEntity } from './attribute.type';
|
|
5
|
+
export type AttributeValueEntity = BaseEntity & {
|
|
5
6
|
name: MultiLanguage;
|
|
7
|
+
estateType?: RealtyType[];
|
|
8
|
+
attributeKey: string;
|
|
9
|
+
attribute?: AttributeEntity;
|
|
6
10
|
};
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { BaseEntity } from './base-entity.type';
|
|
2
2
|
import { ImageEntity } from './image.type';
|
|
3
|
+
import { ApartmentComplexEntity } from './apartment-complex.type';
|
|
4
|
+
import { MultiLanguage } from '../common/multi-language-column.type';
|
|
5
|
+
import { CurrencyValue } from '../common/currency.value.interface';
|
|
3
6
|
export type BuildCompanyEntity = BaseEntity & {
|
|
4
7
|
name: string;
|
|
5
|
-
|
|
6
|
-
|
|
8
|
+
alias: string;
|
|
9
|
+
description: MultiLanguage;
|
|
7
10
|
imageId?: number;
|
|
8
|
-
image
|
|
11
|
+
image: ImageEntity;
|
|
12
|
+
site?: string;
|
|
13
|
+
currencies?: CurrencyValue[];
|
|
14
|
+
apartmentComplexes: ApartmentComplexEntity[];
|
|
9
15
|
};
|
|
@@ -13,7 +13,7 @@ export type CallEntity = UniqueIdEntity & {
|
|
|
13
13
|
redirectId: number;
|
|
14
14
|
sourceId: number;
|
|
15
15
|
createdAt: Date;
|
|
16
|
-
callRedirect
|
|
17
|
-
source
|
|
16
|
+
callRedirect: CallRedirectEntity;
|
|
17
|
+
source: AdvertSourceEntity;
|
|
18
18
|
handling?: HandlingEntity;
|
|
19
19
|
};
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { UniqueIdEntity } from './unique-id-entity.type';
|
|
2
|
+
import { OfficeEntity } from './office.type';
|
|
3
|
+
import { CustomerEntity } from './customer.type';
|
|
4
|
+
export type CustomerBucketEntity = UniqueIdEntity & {
|
|
3
5
|
customerId: number;
|
|
4
6
|
officeId: number;
|
|
7
|
+
office: OfficeEntity;
|
|
8
|
+
customer: CustomerEntity;
|
|
5
9
|
};
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { BaseEntity } from './base-entity.type';
|
|
2
|
+
import { CustomerEntity } from './customer.type';
|
|
3
|
+
import { UserEntity } from './user.type';
|
|
2
4
|
export type CustomerCallEntity = BaseEntity & {
|
|
3
5
|
customerId: number;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
customer?: CustomerEntity;
|
|
7
|
+
userId: number;
|
|
8
|
+
user?: UserEntity;
|
|
9
|
+
comment?: string;
|
|
7
10
|
};
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { BaseEntity } from './base-entity.type';
|
|
2
|
+
import { CustomerEntity } from './customer.type';
|
|
2
3
|
export type CustomerPhoneEntity = BaseEntity & {
|
|
3
4
|
country: string;
|
|
4
5
|
phoneNumber: string;
|
|
6
|
+
isMain: boolean;
|
|
5
7
|
customerId: number;
|
|
8
|
+
customer: CustomerEntity;
|
|
6
9
|
};
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import { BaseEntity } from './base-entity.type';
|
|
2
|
+
import { CustomerPropertyEntity } from './customer-property.type';
|
|
3
|
+
import { UserEntity } from './user.type';
|
|
4
|
+
import { CustomerPropertyDuplicateStatus } from '../customer-property/property-duplicate-status.enum';
|
|
2
5
|
export type CustomerPropertyDuplicateEntity = BaseEntity & {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
original: CustomerPropertyEntity;
|
|
7
|
+
duplicate: CustomerPropertyEntity;
|
|
8
|
+
status: CustomerPropertyDuplicateStatus;
|
|
9
|
+
reviewStartedAt?: Date;
|
|
10
|
+
comment?: string;
|
|
11
|
+
reviewedById?: number;
|
|
12
|
+
reviewedBy?: UserEntity;
|
|
7
13
|
};
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { BaseEntity } from './base-entity.type';
|
|
2
2
|
import { DealEntity } from './deal.type';
|
|
3
|
+
import { DealDocumentEnum } from '../deal/deal-document.enum';
|
|
4
|
+
import { VchasnoDocument } from '../vchasno/vchasno-document.type';
|
|
5
|
+
import { VchasnoDocumentSigner } from '../vchasno/vchasno-document-signer.type';
|
|
3
6
|
export type DealDocumentEntity = BaseEntity & {
|
|
7
|
+
key?: string;
|
|
8
|
+
url?: string;
|
|
9
|
+
name: string;
|
|
10
|
+
documentType?: DealDocumentEnum;
|
|
11
|
+
vchasnoDocumentId?: string;
|
|
4
12
|
dealId: number;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
deal?: DealEntity;
|
|
13
|
+
deal: DealEntity;
|
|
14
|
+
vchasnoDocument?: VchasnoDocument;
|
|
15
|
+
vchasnoDocumentSigners?: VchasnoDocumentSigner[];
|
|
9
16
|
};
|
|
@@ -2,12 +2,21 @@ import { BaseEntity } from './base-entity.type';
|
|
|
2
2
|
import { DealEntity } from './deal.type';
|
|
3
3
|
import { UserEntity } from './user.type';
|
|
4
4
|
import { OfficeEntity } from './office.type';
|
|
5
|
+
import { AgencyEntity } from './agency.type';
|
|
6
|
+
import { EmployeeNormEntity } from './employee-norm.type';
|
|
7
|
+
import { DealTransactionEntity } from './deal-transaction.type';
|
|
5
8
|
export type DealParticipantEntity = BaseEntity & {
|
|
9
|
+
percent: number;
|
|
10
|
+
incomePercent: number;
|
|
6
11
|
dealId: number;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
12
|
+
agencyId?: number;
|
|
13
|
+
userId?: number;
|
|
14
|
+
normId?: number;
|
|
15
|
+
officeId?: number;
|
|
16
|
+
deal: DealEntity;
|
|
17
|
+
agency?: AgencyEntity;
|
|
11
18
|
user?: UserEntity;
|
|
19
|
+
norm?: EmployeeNormEntity;
|
|
12
20
|
office?: OfficeEntity;
|
|
21
|
+
transactions: DealTransactionEntity[];
|
|
13
22
|
};
|
|
@@ -3,7 +3,10 @@ import { MultiLanguage } from '../common/multi-language-column.type';
|
|
|
3
3
|
import { DealEntity } from './deal.type';
|
|
4
4
|
import { DealTypePercentageEntity } from './deal-type-percentage.type';
|
|
5
5
|
export type DealTypeEntity = BaseEntity & {
|
|
6
|
-
name: MultiLanguage;
|
|
7
6
|
deals?: DealEntity[];
|
|
8
|
-
|
|
7
|
+
name: MultiLanguage;
|
|
8
|
+
weight: number;
|
|
9
|
+
isPropertyInDb: boolean;
|
|
10
|
+
isHidden: boolean;
|
|
11
|
+
percentages: DealTypePercentageEntity[];
|
|
9
12
|
};
|
|
@@ -16,7 +16,6 @@ import { DealParticipantEntity } from './deal-participant.type';
|
|
|
16
16
|
import { DealTransactionEntity } from './deal-transaction.type';
|
|
17
17
|
import { UserAttorneyEntity } from './user-attorney.type';
|
|
18
18
|
import { RealtySubtype } from './customer-property.type';
|
|
19
|
-
import { DealFormat } from '../deal/deal-format.enum';
|
|
20
19
|
import { DealStatus } from '../deal/deal-status.enum';
|
|
21
20
|
import { MortgageProgram } from '../deal/mortgage-program.enum';
|
|
22
21
|
import { DealPayer } from '../deal/deal-payer.enum';
|
|
@@ -25,8 +24,9 @@ import { DealAgreementType } from '../deal/deal-agreement-type.enum';
|
|
|
25
24
|
import { DealBuyer } from '../deal/deal-buyer.type';
|
|
26
25
|
import { DealSeller } from '../deal/deal-seller.type';
|
|
27
26
|
import { DealExpense } from '../deal/deal-expense.type';
|
|
27
|
+
import { DealType } from 'types/attributes';
|
|
28
28
|
export type DealEntity = BaseEntity & {
|
|
29
|
-
dealFormat:
|
|
29
|
+
dealFormat: DealType;
|
|
30
30
|
status: DealStatus;
|
|
31
31
|
mortgageProgram?: MortgageProgram;
|
|
32
32
|
payer: DealPayer;
|
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
import { BaseEntity } from './base-entity.type';
|
|
2
|
+
import { UserEntity } from './user.type';
|
|
3
|
+
import { OfficeEntity } from './office.type';
|
|
2
4
|
export type DutyEntity = BaseEntity & {
|
|
3
|
-
|
|
4
|
-
description?: string;
|
|
5
|
+
date: Date;
|
|
5
6
|
startTime: string;
|
|
6
7
|
endTime: string;
|
|
7
|
-
|
|
8
|
+
isDayOff: boolean;
|
|
9
|
+
description?: string;
|
|
10
|
+
createdById: number;
|
|
11
|
+
userId: number;
|
|
12
|
+
officeId: number;
|
|
13
|
+
user: UserEntity;
|
|
14
|
+
office: OfficeEntity;
|
|
15
|
+
createdBy?: UserEntity;
|
|
8
16
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UserEntity } from './user.type';
|
|
2
2
|
import { FeedbackEntity } from './feedback.type';
|
|
3
|
-
import {
|
|
4
|
-
export type FeedbackViewEntity =
|
|
3
|
+
import { BaseEntity } from './base-entity.type';
|
|
4
|
+
export type FeedbackViewEntity = BaseEntity & {
|
|
5
5
|
userId: number;
|
|
6
6
|
user: UserEntity;
|
|
7
7
|
feedbackId: number;
|
|
@@ -10,9 +10,9 @@ export type FeedbackEntity = BaseEntity & {
|
|
|
10
10
|
type: FeedbackCategory;
|
|
11
11
|
status: FeedbackStatus;
|
|
12
12
|
userId: number;
|
|
13
|
-
user
|
|
13
|
+
user: UserEntity;
|
|
14
14
|
officeId: number;
|
|
15
|
-
office
|
|
16
|
-
views
|
|
17
|
-
files
|
|
15
|
+
office: OfficeEntity;
|
|
16
|
+
views: FeedbackViewEntity[];
|
|
17
|
+
files: FeedbackFileEntity[];
|
|
18
18
|
};
|
|
@@ -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
|
-
|
|
8
|
-
section?: SectionEntity;
|
|
9
|
-
planId?: number;
|
|
7
|
+
imageId?: number;
|
|
10
8
|
plan?: ImageEntity;
|
|
11
9
|
flats: FlatEntity[];
|
|
10
|
+
sectionId?: number;
|
|
11
|
+
section?: SectionEntity;
|
|
12
12
|
};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { UniqueIdEntity } from './unique-id-entity.type';
|
|
2
1
|
import { GeoEntity } from './geo.type';
|
|
3
2
|
import { TopzoneEntity } from './topzone.type';
|
|
4
|
-
export type GeoTopzoneEntity =
|
|
3
|
+
export type GeoTopzoneEntity = {
|
|
5
4
|
geoId: number;
|
|
6
|
-
geo?: GeoEntity;
|
|
7
5
|
topzoneId: number;
|
|
6
|
+
geo?: GeoEntity;
|
|
8
7
|
topzone?: TopzoneEntity;
|
|
9
8
|
};
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
import { BaseEntity } from './base-entity.type';
|
|
2
2
|
import { UserEntity } from './user.type';
|
|
3
3
|
import { CustomerEntity } from './customer.type';
|
|
4
|
+
import { GoogleContactType } from '../google/google-contact-type.enum';
|
|
4
5
|
export type GoogleContactEntity = BaseEntity & {
|
|
5
|
-
|
|
6
|
-
name: string;
|
|
7
|
-
email?: string;
|
|
8
|
-
phoneNumber?: string;
|
|
9
|
-
userId: number;
|
|
10
|
-
user: UserEntity;
|
|
6
|
+
email: string;
|
|
11
7
|
relatedUserId?: number;
|
|
12
|
-
relatedUser?: UserEntity;
|
|
13
8
|
relatedCustomerId?: number;
|
|
9
|
+
resourceName: string;
|
|
10
|
+
contactType: GoogleContactType;
|
|
11
|
+
relatedUser?: UserEntity;
|
|
14
12
|
relatedCustomer?: CustomerEntity;
|
|
15
13
|
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GoogleContactType = void 0;
|
|
4
|
+
var GoogleContactType;
|
|
5
|
+
(function (GoogleContactType) {
|
|
6
|
+
GoogleContactType["User"] = "user";
|
|
7
|
+
GoogleContactType["Seller"] = "seller";
|
|
8
|
+
GoogleContactType["Buyer"] = "buyer";
|
|
9
|
+
})(GoogleContactType || (exports.GoogleContactType = GoogleContactType = {}));
|
|
10
|
+
//# sourceMappingURL=google-contact-type.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"google-contact-type.enum.js","sourceRoot":"","sources":["../../../types/google/google-contact-type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBAIX;AAJD,WAAY,iBAAiB;IAC3B,kCAAa,CAAA;IACb,sCAAiB,CAAA;IACjB,oCAAe,CAAA;AACjB,CAAC,EAJW,iBAAiB,iCAAjB,iBAAiB,QAI5B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,25 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { UniqueIdEntity } from './unique-id-entity.type';
|
|
2
2
|
import { MultiLanguage } from '../common/multi-language-column.type';
|
|
3
|
+
import { UserProfileEntity } from './user-profile.type';
|
|
4
|
+
import { CustomerPropertyEntity } from './customer-property.type';
|
|
5
|
+
import { CallEntity } from './call.type';
|
|
6
|
+
import { HandlingEntity } from './handling.type';
|
|
7
|
+
import { CallRedirectEntity } from './call-redirect.type';
|
|
8
|
+
import { CustomerRequestEntity } from './customer-request.type';
|
|
3
9
|
|
|
4
|
-
export type AdvertSourceEntity =
|
|
10
|
+
export type AdvertSourceEntity = UniqueIdEntity & {
|
|
5
11
|
name: MultiLanguage;
|
|
12
|
+
sort: number;
|
|
13
|
+
receiveType: number | null;
|
|
14
|
+
insertType: number | null;
|
|
15
|
+
parentId?: number;
|
|
16
|
+
isActive: boolean;
|
|
17
|
+
parent?: AdvertSourceEntity;
|
|
18
|
+
subCategories: AdvertSourceEntity[];
|
|
19
|
+
profiles: UserProfileEntity[];
|
|
20
|
+
customersRequests: CustomerRequestEntity[];
|
|
21
|
+
customerProperties: CustomerPropertyEntity[];
|
|
22
|
+
calls: CallEntity[];
|
|
23
|
+
redirects: CallRedirectEntity[];
|
|
24
|
+
handlings: HandlingEntity[];
|
|
6
25
|
};
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { BaseEntity } from './base-entity.type';
|
|
2
2
|
import { DealEntity } from './deal.type';
|
|
3
|
+
import { DealParticipantEntity } from './deal-participant.type';
|
|
4
|
+
import { GeoEntity } from './geo.type';
|
|
5
|
+
import { MultiLanguage } from '../common/multi-language-column.type';
|
|
3
6
|
|
|
4
7
|
export type AgencyEntity = BaseEntity & {
|
|
5
|
-
name:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
deals?: DealEntity[];
|
|
8
|
+
name: MultiLanguage;
|
|
9
|
+
geo?: GeoEntity | null;
|
|
10
|
+
deals: DealEntity[];
|
|
11
|
+
dealParticipants: DealParticipantEntity[];
|
|
10
12
|
};
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BaseEntity } from './base-entity.type';
|
|
2
2
|
import { ImageEntity } from './image.type';
|
|
3
|
+
import { ApartmentComplexEntity } from './apartment-complex.type';
|
|
4
|
+
import { ApartmentComplexImageCategory } from '../image/apartment-complex-image-category.enum';
|
|
3
5
|
|
|
4
|
-
export type ApartmentComplexImageEntity =
|
|
5
|
-
|
|
6
|
-
complexId: number;
|
|
6
|
+
export type ApartmentComplexImageEntity = BaseEntity & {
|
|
7
|
+
category: ApartmentComplexImageCategory;
|
|
7
8
|
imageId: number;
|
|
8
|
-
image
|
|
9
|
+
image: ImageEntity;
|
|
10
|
+
complexId: number;
|
|
11
|
+
complex: ApartmentComplexEntity;
|
|
12
|
+
sortOrder: number;
|
|
9
13
|
};
|
|
@@ -3,7 +3,7 @@ import { ApartmentComplexEntity } from './apartment-complex.type';
|
|
|
3
3
|
import { MultiLanguage } from '../common/multi-language-column.type';
|
|
4
4
|
import { ApartmentInfoAttributes } from '../attributes/apartment-info-attributes.type';
|
|
5
5
|
import { Manager } from '../apartment-complex/manager.type';
|
|
6
|
-
import { Expression } from '
|
|
6
|
+
import { Expression } from '../apartment-complex/expression.type';
|
|
7
7
|
|
|
8
8
|
export type ApartmentComplexInfoEntity = BaseEntity & {
|
|
9
9
|
description: MultiLanguage;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { BaseEntity } from './base-entity.type';
|
|
2
2
|
import { DealEntity } from './deal.type';
|
|
3
|
+
import { MultiLanguage } from '../common/multi-language-column.type';
|
|
3
4
|
|
|
4
5
|
export type AppraiserEntity = BaseEntity & {
|
|
5
|
-
name:
|
|
6
|
-
|
|
7
|
-
email?: string;
|
|
6
|
+
name: MultiLanguage;
|
|
7
|
+
isHidden: boolean;
|
|
8
8
|
deals: DealEntity[];
|
|
9
9
|
};
|
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
import { UniqueIdEntity } from './unique-id-entity.type';
|
|
2
2
|
import { MultiLanguage } from '../common/multi-language-column.type';
|
|
3
3
|
import { ArchiveReasonDestination } from '../archive-reasons/archive-reason-destination.enum';
|
|
4
|
+
import { CustomerEntity } from './customer.type';
|
|
5
|
+
import { HandlingEntity } from './handling.type';
|
|
6
|
+
import { CustomerPropertyEntity } from './customer-property.type';
|
|
7
|
+
import { CustomerRequestEntity } from './customer-request.type';
|
|
4
8
|
|
|
5
9
|
export type ArchiveReasonEntity = UniqueIdEntity & {
|
|
6
10
|
text: MultiLanguage;
|
|
7
11
|
destination: ArchiveReasonDestination;
|
|
12
|
+
customers: CustomerEntity[];
|
|
13
|
+
handlings: HandlingEntity[];
|
|
14
|
+
customerProperties: CustomerPropertyEntity[];
|
|
15
|
+
customerRequests: CustomerRequestEntity[];
|
|
8
16
|
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { BaseEntity } from './base-entity.type';
|
|
2
|
+
import { AttentionRequiredEntity as AttentionRequiredEntityEnum } from '../customer/attention-required-entity.enum';
|
|
2
3
|
|
|
3
4
|
export type AttentionRequiredEntity = BaseEntity & {
|
|
5
|
+
entityType: AttentionRequiredEntityEnum;
|
|
6
|
+
entityId: number;
|
|
4
7
|
reason?: string;
|
|
5
8
|
handledAt?: Date;
|
|
6
|
-
entityType: string;
|
|
7
|
-
entityId: number;
|
|
8
9
|
};
|