vector-shared 1.1.316 → 1.1.317
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/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/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/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/google-contact.type.ts +5 -7
- package/types/google/google-contact-type.enum.ts +5 -0
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BaseEntity } from './base-entity.type';
|
|
2
2
|
import { MultiLanguage } from '../common/multi-language-column.type';
|
|
3
|
+
import { RealtyType } from '../customer-property/realty-type.enum';
|
|
4
|
+
import { AttributeEntity } from './attribute.type';
|
|
3
5
|
|
|
4
|
-
export type AttributeValueEntity =
|
|
5
|
-
key: string;
|
|
6
|
+
export type AttributeValueEntity = BaseEntity & {
|
|
6
7
|
name: MultiLanguage;
|
|
8
|
+
estateType?: RealtyType[];
|
|
9
|
+
attributeKey: string;
|
|
10
|
+
attribute?: AttributeEntity;
|
|
7
11
|
};
|
|
@@ -1,10 +1,16 @@
|
|
|
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
|
|
|
4
7
|
export type BuildCompanyEntity = BaseEntity & {
|
|
5
8
|
name: string;
|
|
6
|
-
|
|
7
|
-
|
|
9
|
+
alias: string;
|
|
10
|
+
description: MultiLanguage;
|
|
8
11
|
imageId?: number;
|
|
9
|
-
image
|
|
12
|
+
image: ImageEntity;
|
|
13
|
+
site?: string;
|
|
14
|
+
currencies?: CurrencyValue[];
|
|
15
|
+
apartmentComplexes: ApartmentComplexEntity[];
|
|
10
16
|
};
|
|
@@ -6,24 +6,14 @@ import { CallEntity } from './call.type';
|
|
|
6
6
|
|
|
7
7
|
export type CallRedirectEntity = BaseEntity & {
|
|
8
8
|
name: string;
|
|
9
|
-
|
|
10
9
|
phoneNumber: string;
|
|
11
|
-
|
|
12
10
|
exportNumber: boolean;
|
|
13
|
-
|
|
14
11
|
replacementNumber: boolean;
|
|
15
|
-
|
|
16
12
|
sourceId: number;
|
|
17
|
-
|
|
18
13
|
source?: AdvertSourceEntity;
|
|
19
|
-
|
|
20
14
|
officeId?: number;
|
|
21
|
-
|
|
22
15
|
office?: OfficeEntity;
|
|
23
|
-
|
|
24
16
|
userId?: number;
|
|
25
|
-
|
|
26
17
|
user?: UserEntity;
|
|
27
|
-
|
|
28
18
|
calls?: CallEntity[];
|
|
29
19
|
};
|
package/types/core/call.type.ts
CHANGED
|
@@ -14,7 +14,7 @@ export type CallEntity = UniqueIdEntity & {
|
|
|
14
14
|
redirectId: number;
|
|
15
15
|
sourceId: number;
|
|
16
16
|
createdAt: Date;
|
|
17
|
-
callRedirect
|
|
18
|
-
source
|
|
17
|
+
callRedirect: CallRedirectEntity;
|
|
18
|
+
source: AdvertSourceEntity;
|
|
19
19
|
handling?: HandlingEntity;
|
|
20
20
|
};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { BaseEntity } from './base-entity.type';
|
|
2
2
|
import { MultiLanguage } from '../common/multi-language-column.type';
|
|
3
|
+
import { DealEntity } from './deal.type';
|
|
3
4
|
|
|
4
5
|
export type ContractTypeEntity = BaseEntity & {
|
|
6
|
+
deals: DealEntity[];
|
|
5
7
|
name: MultiLanguage;
|
|
6
8
|
};
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { UniqueIdEntity } from './unique-id-entity.type';
|
|
2
|
+
import { OfficeEntity } from './office.type';
|
|
3
|
+
import { CustomerEntity } from './customer.type';
|
|
2
4
|
|
|
3
|
-
export type CustomerBucketEntity =
|
|
5
|
+
export type CustomerBucketEntity = UniqueIdEntity & {
|
|
4
6
|
customerId: number;
|
|
5
7
|
officeId: number;
|
|
8
|
+
office: OfficeEntity;
|
|
9
|
+
customer: CustomerEntity;
|
|
6
10
|
};
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { BaseEntity } from './base-entity.type';
|
|
2
|
+
import { CustomerEntity } from './customer.type';
|
|
3
|
+
import { UserEntity } from './user.type';
|
|
2
4
|
|
|
3
5
|
export type CustomerCallEntity = BaseEntity & {
|
|
4
6
|
customerId: number;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
7
|
+
customer?: CustomerEntity;
|
|
8
|
+
userId: number;
|
|
9
|
+
user?: UserEntity;
|
|
10
|
+
comment?: string;
|
|
8
11
|
};
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { BaseEntity } from './base-entity.type';
|
|
2
|
+
import { CustomerEntity } from './customer.type';
|
|
2
3
|
|
|
3
4
|
export type CustomerPhoneEntity = BaseEntity & {
|
|
4
5
|
country: string;
|
|
5
6
|
phoneNumber: string;
|
|
7
|
+
isMain: boolean;
|
|
6
8
|
customerId: number;
|
|
9
|
+
customer: CustomerEntity;
|
|
7
10
|
};
|
|
@@ -1,8 +1,14 @@
|
|
|
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
|
|
|
3
6
|
export type CustomerPropertyDuplicateEntity = BaseEntity & {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
7
|
+
original: CustomerPropertyEntity;
|
|
8
|
+
duplicate: CustomerPropertyEntity;
|
|
9
|
+
status: CustomerPropertyDuplicateStatus;
|
|
10
|
+
reviewStartedAt?: Date;
|
|
11
|
+
comment?: string;
|
|
12
|
+
reviewedById?: number;
|
|
13
|
+
reviewedBy?: UserEntity;
|
|
8
14
|
};
|
|
@@ -1,10 +1,17 @@
|
|
|
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
|
|
|
4
7
|
export type DealDocumentEntity = BaseEntity & {
|
|
8
|
+
key?: string;
|
|
9
|
+
url?: string;
|
|
10
|
+
name: string;
|
|
11
|
+
documentType?: DealDocumentEnum;
|
|
12
|
+
vchasnoDocumentId?: string;
|
|
5
13
|
dealId: number;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
deal?: DealEntity;
|
|
14
|
+
deal: DealEntity;
|
|
15
|
+
vchasnoDocument?: VchasnoDocument;
|
|
16
|
+
vchasnoDocumentSigners?: VchasnoDocumentSigner[];
|
|
10
17
|
};
|
|
@@ -2,13 +2,22 @@ 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
|
|
|
6
9
|
export type DealParticipantEntity = BaseEntity & {
|
|
10
|
+
percent: number;
|
|
11
|
+
incomePercent: number;
|
|
7
12
|
dealId: number;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
13
|
+
agencyId?: number;
|
|
14
|
+
userId?: number;
|
|
15
|
+
normId?: number;
|
|
16
|
+
officeId?: number;
|
|
17
|
+
deal: DealEntity;
|
|
18
|
+
agency?: AgencyEntity;
|
|
12
19
|
user?: UserEntity;
|
|
20
|
+
norm?: EmployeeNormEntity;
|
|
13
21
|
office?: OfficeEntity;
|
|
22
|
+
transactions: DealTransactionEntity[];
|
|
14
23
|
};
|
|
@@ -4,7 +4,10 @@ import { DealEntity } from './deal.type';
|
|
|
4
4
|
import { DealTypePercentageEntity } from './deal-type-percentage.type';
|
|
5
5
|
|
|
6
6
|
export type DealTypeEntity = BaseEntity & {
|
|
7
|
-
name: MultiLanguage;
|
|
8
7
|
deals?: DealEntity[];
|
|
9
|
-
|
|
8
|
+
name: MultiLanguage;
|
|
9
|
+
weight: number;
|
|
10
|
+
isPropertyInDb: boolean;
|
|
11
|
+
isHidden: boolean;
|
|
12
|
+
percentages: DealTypePercentageEntity[];
|
|
10
13
|
};
|
package/types/core/duty.type.ts
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { BaseEntity } from './base-entity.type';
|
|
2
|
+
import { UserEntity } from './user.type';
|
|
3
|
+
import { OfficeEntity } from './office.type';
|
|
2
4
|
|
|
3
5
|
export type DutyEntity = BaseEntity & {
|
|
4
|
-
|
|
5
|
-
description?: string;
|
|
6
|
+
date: Date;
|
|
6
7
|
startTime: string;
|
|
7
8
|
endTime: string;
|
|
8
|
-
|
|
9
|
+
isDayOff: boolean;
|
|
10
|
+
description?: string;
|
|
11
|
+
createdById: number;
|
|
12
|
+
userId: number;
|
|
13
|
+
officeId: number;
|
|
14
|
+
user: UserEntity;
|
|
15
|
+
office: OfficeEntity;
|
|
16
|
+
createdBy?: UserEntity;
|
|
9
17
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { UserEntity } from './user.type';
|
|
2
2
|
import { FeedbackEntity } from './feedback.type';
|
|
3
|
-
import {
|
|
3
|
+
import { BaseEntity } from './base-entity.type';
|
|
4
4
|
|
|
5
|
-
export type FeedbackViewEntity =
|
|
5
|
+
export type FeedbackViewEntity = BaseEntity & {
|
|
6
6
|
userId: number;
|
|
7
7
|
user: UserEntity;
|
|
8
8
|
feedbackId: number;
|
|
@@ -11,9 +11,9 @@ export type FeedbackEntity = BaseEntity & {
|
|
|
11
11
|
type: FeedbackCategory;
|
|
12
12
|
status: FeedbackStatus;
|
|
13
13
|
userId: number;
|
|
14
|
-
user
|
|
14
|
+
user: UserEntity;
|
|
15
15
|
officeId: number;
|
|
16
|
-
office
|
|
17
|
-
views
|
|
18
|
-
files
|
|
16
|
+
office: OfficeEntity;
|
|
17
|
+
views: FeedbackViewEntity[];
|
|
18
|
+
files: FeedbackFileEntity[];
|
|
19
19
|
};
|
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
|
-
|
|
9
|
-
section?: SectionEntity;
|
|
10
|
-
planId?: number;
|
|
8
|
+
imageId?: number;
|
|
11
9
|
plan?: ImageEntity;
|
|
12
10
|
flats: FlatEntity[];
|
|
11
|
+
sectionId?: number;
|
|
12
|
+
section?: SectionEntity;
|
|
13
13
|
};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { UniqueIdEntity } from './unique-id-entity.type';
|
|
2
1
|
import { GeoEntity } from './geo.type';
|
|
3
2
|
import { TopzoneEntity } from './topzone.type';
|
|
4
3
|
|
|
5
|
-
export type GeoTopzoneEntity =
|
|
4
|
+
export type GeoTopzoneEntity = {
|
|
6
5
|
geoId: number;
|
|
7
|
-
geo?: GeoEntity;
|
|
8
6
|
topzoneId: number;
|
|
7
|
+
geo?: GeoEntity;
|
|
9
8
|
topzone?: TopzoneEntity;
|
|
10
9
|
};
|
|
@@ -1,16 +1,14 @@
|
|
|
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
|
|
|
5
6
|
export type GoogleContactEntity = BaseEntity & {
|
|
6
|
-
|
|
7
|
-
name: string;
|
|
8
|
-
email?: string;
|
|
9
|
-
phoneNumber?: string;
|
|
10
|
-
userId: number;
|
|
11
|
-
user: UserEntity;
|
|
7
|
+
email: string;
|
|
12
8
|
relatedUserId?: number;
|
|
13
|
-
relatedUser?: UserEntity;
|
|
14
9
|
relatedCustomerId?: number;
|
|
10
|
+
resourceName: string;
|
|
11
|
+
contactType: GoogleContactType;
|
|
12
|
+
relatedUser?: UserEntity;
|
|
15
13
|
relatedCustomer?: CustomerEntity;
|
|
16
14
|
};
|