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
|
@@ -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;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { UserEntity } from './user.type';
|
|
2
2
|
import { HandlingEntity } from './handling.type';
|
|
3
3
|
export type HandlingListeningEntity = {
|
|
4
|
-
userId
|
|
5
|
-
user
|
|
6
|
-
handlingId
|
|
7
|
-
handling
|
|
4
|
+
userId?: number;
|
|
5
|
+
user?: UserEntity;
|
|
6
|
+
handlingId?: number;
|
|
7
|
+
handling?: HandlingEntity;
|
|
8
8
|
createdAt: Date;
|
|
9
9
|
};
|
|
@@ -8,23 +8,23 @@ 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
|
|
11
|
+
isBlackList: boolean;
|
|
12
|
+
archiveAnnotation: string | null;
|
|
13
13
|
callId?: number;
|
|
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
|
-
realtorId
|
|
22
|
-
createdById
|
|
21
|
+
realtorId?: number;
|
|
22
|
+
createdById?: number;
|
|
23
23
|
handledById?: number;
|
|
24
24
|
requestId?: number;
|
|
25
25
|
propertyId?: number;
|
|
26
|
-
sourceId
|
|
27
|
-
archiveReasonId
|
|
26
|
+
sourceId?: number;
|
|
27
|
+
archiveReasonId?: number;
|
|
28
28
|
archiveReason?: ArchiveReasonEntity;
|
|
29
29
|
customerProperty?: CustomerPropertyEntity;
|
|
30
30
|
source?: AdvertSourceEntity;
|
|
@@ -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
|
|
6
|
-
customerPropertyId
|
|
5
|
+
customerProperty?: CustomerPropertyEntity;
|
|
6
|
+
customerPropertyId?: number;
|
|
7
7
|
};
|
|
@@ -5,9 +5,9 @@ import { MismatchReasonEntity } from './mismatch-reason.type';
|
|
|
5
5
|
export type MismatchDecisionEntity = BaseEntity & {
|
|
6
6
|
comment: string;
|
|
7
7
|
customerProperty?: CustomerPropertyEntity;
|
|
8
|
-
customerPropertyId
|
|
9
|
-
submittedAs
|
|
10
|
-
submittedAsId
|
|
11
|
-
reason
|
|
12
|
-
reasonId
|
|
8
|
+
customerPropertyId?: number;
|
|
9
|
+
submittedAs?: UserEntity;
|
|
10
|
+
submittedAsId?: number;
|
|
11
|
+
reason?: MismatchReasonEntity;
|
|
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
|
|
7
|
-
submittedAsId
|
|
8
|
-
reason
|
|
9
|
-
reasonId
|
|
10
|
-
customerProperty
|
|
11
|
-
customerPropertyId
|
|
6
|
+
submittedAs?: UserEntity;
|
|
7
|
+
submittedAsId?: number;
|
|
8
|
+
reason?: MismatchReasonEntity;
|
|
9
|
+
reasonId?: number;
|
|
10
|
+
customerProperty?: CustomerPropertyEntity;
|
|
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
|
|
9
|
+
seenAt: Date | null;
|
|
10
10
|
userId?: number;
|
|
11
11
|
user?: UserEntity;
|
|
12
12
|
};
|
|
@@ -8,12 +8,12 @@ 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;
|
|
16
16
|
offices?: OfficeEntity[];
|
|
17
|
-
representationId
|
|
17
|
+
representationId?: number;
|
|
18
18
|
representation?: RepresentationEntity;
|
|
19
19
|
};
|
|
@@ -19,15 +19,15 @@ export type OfficeEntity = BaseEntity & {
|
|
|
19
19
|
isAgency: boolean;
|
|
20
20
|
serviceConfig: ServiceConfig;
|
|
21
21
|
contacts: OfficeContacts;
|
|
22
|
-
officeCenterId
|
|
22
|
+
officeCenterId?: number;
|
|
23
23
|
customerBucketScope: CustomerBucketScope;
|
|
24
24
|
users?: UserOfficeEntity[];
|
|
25
25
|
officeCenter?: OfficeCenterEntity;
|
|
26
|
-
norms
|
|
26
|
+
norms?: EmployeeNormEntity[];
|
|
27
27
|
buckets?: CustomerBucketEntity[];
|
|
28
28
|
redirects?: CallRedirectEntity[];
|
|
29
|
-
deals
|
|
30
|
-
dealParticipants
|
|
29
|
+
deals?: DealEntity[];
|
|
30
|
+
dealParticipants?: DealParticipantEntity[];
|
|
31
31
|
templates?: TemplateOfficeEntity[];
|
|
32
32
|
feedbacks?: FeedbackEntity[];
|
|
33
33
|
realtorNumbers?: RealtorNumberEntity[];
|
|
@@ -3,8 +3,8 @@ import { CustomerPropertyEntity } from './customer-property.type';
|
|
|
3
3
|
import { ImageEntity } from './image.type';
|
|
4
4
|
export type PropertyDocumentEntity = BaseEntity & {
|
|
5
5
|
category: string;
|
|
6
|
-
propertyId
|
|
7
|
-
imageId
|
|
6
|
+
propertyId?: number;
|
|
7
|
+
imageId: number | null;
|
|
8
8
|
property?: CustomerPropertyEntity;
|
|
9
9
|
image?: ImageEntity;
|
|
10
10
|
};
|
|
@@ -6,8 +6,8 @@ export type PropertyImageEntity = UniqueIdEntity & {
|
|
|
6
6
|
category: ImageCategory;
|
|
7
7
|
showOnSite: boolean;
|
|
8
8
|
isMain: boolean;
|
|
9
|
-
imageId
|
|
10
|
-
image
|
|
11
|
-
propertyId
|
|
12
|
-
property
|
|
9
|
+
imageId?: number;
|
|
10
|
+
image?: ImageEntity;
|
|
11
|
+
propertyId?: number;
|
|
12
|
+
property?: CustomerPropertyEntity;
|
|
13
13
|
};
|
|
@@ -3,8 +3,8 @@ import { CustomerPropertyEntity } from './customer-property.type';
|
|
|
3
3
|
import { Language, MultiLanguage } from '../common';
|
|
4
4
|
export type PropertySeoEntity = UniqueIdEntity & {
|
|
5
5
|
lang: Language;
|
|
6
|
-
mainAdvantage
|
|
7
|
-
description
|
|
8
|
-
title
|
|
6
|
+
mainAdvantage: string | null;
|
|
7
|
+
description: MultiLanguage | null;
|
|
8
|
+
title: MultiLanguage | null;
|
|
9
9
|
property?: CustomerPropertyEntity;
|
|
10
10
|
};
|
|
@@ -8,12 +8,12 @@ export type QueueEntity = BaseEntity & {
|
|
|
8
8
|
inOperation: boolean;
|
|
9
9
|
startDate: Date;
|
|
10
10
|
finishDate: Date;
|
|
11
|
-
houseNumberSecond
|
|
12
|
-
houseNumberTemporary
|
|
13
|
-
housingNumber
|
|
14
|
-
streetId
|
|
15
|
-
|
|
16
|
-
|
|
11
|
+
houseNumberSecond: string | null;
|
|
12
|
+
houseNumberTemporary: string | null;
|
|
13
|
+
housingNumber: string | null;
|
|
14
|
+
streetId: number | null;
|
|
15
|
+
complexId: number | null;
|
|
16
|
+
street?: StreetEntity;
|
|
17
17
|
complex?: ApartmentComplexEntity;
|
|
18
|
-
sections
|
|
18
|
+
sections?: SectionEntity[];
|
|
19
19
|
};
|
|
@@ -3,8 +3,8 @@ import { UserEntity } from './user.type';
|
|
|
3
3
|
import { OfficeEntity } from './office.type';
|
|
4
4
|
export type RealtorNumberEntity = UniqueIdEntity & {
|
|
5
5
|
value: number;
|
|
6
|
-
officeId
|
|
7
|
-
office
|
|
8
|
-
userId
|
|
9
|
-
user
|
|
6
|
+
officeId?: number;
|
|
7
|
+
office?: OfficeEntity;
|
|
8
|
+
userId?: number;
|
|
9
|
+
user?: UserEntity;
|
|
10
10
|
};
|
|
@@ -6,7 +6,7 @@ import { OfficeCenterEntity } from './office-center.type';
|
|
|
6
6
|
import { TelegramChatEntity } from './telegram-chat.type';
|
|
7
7
|
export type RepresentationEntity = BaseEntity & {
|
|
8
8
|
fullName: string;
|
|
9
|
-
geoId
|
|
9
|
+
geoId?: number;
|
|
10
10
|
company: string;
|
|
11
11
|
contractDate: Date;
|
|
12
12
|
officeCenters?: OfficeCenterEntity[];
|
|
@@ -2,9 +2,9 @@ import { BaseEntity } from './base-entity.type';
|
|
|
2
2
|
import { RequestPresentationEntity } from './request-presentation.type';
|
|
3
3
|
import { CustomerPropertyEntity } from './customer-property.type';
|
|
4
4
|
export type RequestPresentationPropertyEntity = BaseEntity & {
|
|
5
|
-
presentationId
|
|
5
|
+
presentationId?: number;
|
|
6
6
|
presentation?: RequestPresentationEntity;
|
|
7
|
-
propertyId
|
|
7
|
+
propertyId?: number;
|
|
8
8
|
property?: CustomerPropertyEntity;
|
|
9
9
|
isMain?: boolean;
|
|
10
10
|
};
|
|
@@ -2,8 +2,8 @@ import { UniqueIdEntity } from './unique-id-entity.type';
|
|
|
2
2
|
import { RequestPresentationPropertyEntity } from './request-presentation-property.type';
|
|
3
3
|
import { CustomerRequestSelectionEntity } from './customer-request-selection.type';
|
|
4
4
|
export type RequestPresentationEntity = UniqueIdEntity & {
|
|
5
|
-
requestSelectionId
|
|
5
|
+
requestSelectionId?: number;
|
|
6
6
|
requestSelection?: CustomerRequestSelectionEntity;
|
|
7
7
|
properties: RequestPresentationPropertyEntity[];
|
|
8
|
-
createdAt
|
|
8
|
+
createdAt: Date | null;
|
|
9
9
|
};
|
|
@@ -2,13 +2,13 @@ import { BaseEntity } from './base-entity.type';
|
|
|
2
2
|
import { CustomerPropertyEntity } from './customer-property.type';
|
|
3
3
|
import { CustomerRequestSelectionEntity } from './customer-request-selection.type';
|
|
4
4
|
export type RequestPropertyEntity = BaseEntity & {
|
|
5
|
-
requestSelectionId
|
|
5
|
+
requestSelectionId?: number;
|
|
6
6
|
requestSelection?: CustomerRequestSelectionEntity;
|
|
7
|
-
propertyId
|
|
7
|
+
propertyId?: number;
|
|
8
8
|
customerProperty?: CustomerPropertyEntity;
|
|
9
|
-
isAddedManually
|
|
10
|
-
isRejected
|
|
11
|
-
isMain
|
|
12
|
-
createdAt
|
|
13
|
-
updatedAt
|
|
9
|
+
isAddedManually: boolean;
|
|
10
|
+
isRejected: boolean;
|
|
11
|
+
isMain: boolean;
|
|
12
|
+
createdAt: Date | null;
|
|
13
|
+
updatedAt: Date | null;
|
|
14
14
|
};
|
|
@@ -2,8 +2,8 @@ import { UniqueIdEntity } from './unique-id-entity.type';
|
|
|
2
2
|
import { RoleEntity } from './role.type';
|
|
3
3
|
import { PermissionEntity } from './permission.type';
|
|
4
4
|
export type RolePermissionGroupEntity = UniqueIdEntity & {
|
|
5
|
-
roleId
|
|
5
|
+
roleId?: number;
|
|
6
6
|
role?: RoleEntity;
|
|
7
|
-
permissionId
|
|
7
|
+
permissionId?: number;
|
|
8
8
|
permission?: PermissionEntity;
|
|
9
9
|
};
|
|
@@ -4,9 +4,9 @@ import { FloorEntity } from './floor.type';
|
|
|
4
4
|
import { QueueEntity } from './queue.type';
|
|
5
5
|
export type SectionEntity = BaseEntity & {
|
|
6
6
|
name: string;
|
|
7
|
-
imageId
|
|
7
|
+
imageId: number | null;
|
|
8
8
|
plan?: ImageEntity;
|
|
9
|
-
queueId
|
|
9
|
+
queueId: number | null;
|
|
10
10
|
queue?: QueueEntity;
|
|
11
|
-
floors
|
|
11
|
+
floors?: FloorEntity[];
|
|
12
12
|
};
|
|
@@ -8,17 +8,17 @@ import { QueueEntity } from './queue.type';
|
|
|
8
8
|
export type StreetEntity = BaseEntity & {
|
|
9
9
|
name: MultiLanguage;
|
|
10
10
|
alias: string;
|
|
11
|
-
searchText
|
|
12
|
-
isOldStreet
|
|
11
|
+
searchText: string | null;
|
|
12
|
+
isOldStreet: boolean;
|
|
13
13
|
names?: MultiLanguageArray;
|
|
14
14
|
line?: {
|
|
15
15
|
type: string;
|
|
16
16
|
coordinates: number[][][];
|
|
17
17
|
};
|
|
18
|
-
geoId
|
|
18
|
+
geoId: number | null;
|
|
19
19
|
geo?: GeoEntity;
|
|
20
20
|
customerProperties?: CustomerPropertyEntity[];
|
|
21
21
|
customerRequests?: CustomerRequestEntity[];
|
|
22
|
-
deals
|
|
23
|
-
queues
|
|
22
|
+
deals?: DealEntity[];
|
|
23
|
+
queues?: QueueEntity[];
|
|
24
24
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { TelegramMessageEntity } from './telegram-message.type';
|
|
2
2
|
import { RepresentationEntity } from './representation.type';
|
|
3
3
|
export type TelegramChatEntity = {
|
|
4
|
-
chatId
|
|
5
|
-
representationId
|
|
6
|
-
representation
|
|
7
|
-
messages
|
|
4
|
+
chatId?: number;
|
|
5
|
+
representationId?: number;
|
|
6
|
+
representation?: RepresentationEntity;
|
|
7
|
+
messages?: TelegramMessageEntity[];
|
|
8
8
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { TelegramChatEntity } from './telegram-chat.type';
|
|
2
2
|
import { CustomerPropertyEntity } from './customer-property.type';
|
|
3
3
|
export type TelegramMessageEntity = {
|
|
4
|
-
messageId
|
|
5
|
-
chatId
|
|
6
|
-
chat
|
|
7
|
-
propertyId
|
|
8
|
-
property
|
|
4
|
+
messageId?: number;
|
|
5
|
+
chatId?: number;
|
|
6
|
+
chat?: TelegramChatEntity;
|
|
7
|
+
propertyId?: number;
|
|
8
|
+
property?: CustomerPropertyEntity;
|
|
9
9
|
isMain: boolean;
|
|
10
10
|
};
|
|
@@ -4,12 +4,12 @@ import { TemplateEntity } from './template.type';
|
|
|
4
4
|
import { TemplateCommentReactionEntity } from './template-comment-reaction.type';
|
|
5
5
|
export type TemplateCommentEntity = BaseEntity & {
|
|
6
6
|
text: string;
|
|
7
|
-
userId
|
|
7
|
+
userId?: number;
|
|
8
8
|
user?: UserEntity;
|
|
9
|
-
templateId
|
|
9
|
+
templateId?: number;
|
|
10
10
|
template?: TemplateEntity;
|
|
11
11
|
parentId: number | null;
|
|
12
|
-
parent?: TemplateCommentEntity
|
|
12
|
+
parent?: TemplateCommentEntity;
|
|
13
13
|
children?: TemplateCommentEntity[];
|
|
14
14
|
reactions?: TemplateCommentReactionEntity[];
|
|
15
15
|
};
|
|
@@ -2,8 +2,8 @@ import { UniqueIdEntity } from './unique-id-entity.type';
|
|
|
2
2
|
import { TemplateEntity } from './template.type';
|
|
3
3
|
import { OfficeEntity } from './office.type';
|
|
4
4
|
export type TemplateOfficeEntity = UniqueIdEntity & {
|
|
5
|
-
templateId
|
|
6
|
-
officeId
|
|
5
|
+
templateId?: number;
|
|
6
|
+
officeId?: number;
|
|
7
7
|
template?: TemplateEntity;
|
|
8
8
|
office?: OfficeEntity;
|
|
9
9
|
};
|
|
@@ -2,8 +2,8 @@ import { BaseEntity } from './base-entity.type';
|
|
|
2
2
|
import { UserEntity } from './user.type';
|
|
3
3
|
import { TemplateEntity } from './template.type';
|
|
4
4
|
export type TemplateParticipantEntity = BaseEntity & {
|
|
5
|
-
userId
|
|
6
|
-
templateId
|
|
5
|
+
userId?: number;
|
|
6
|
+
templateId?: number;
|
|
7
7
|
user?: UserEntity;
|
|
8
8
|
template?: TemplateEntity;
|
|
9
9
|
};
|
|
@@ -2,8 +2,8 @@ import { UniqueIdEntity } from './unique-id-entity.type';
|
|
|
2
2
|
import { TemplateEntity } from './template.type';
|
|
3
3
|
import { RepresentationEntity } from './representation.type';
|
|
4
4
|
export type TemplateRepresentationEntity = UniqueIdEntity & {
|
|
5
|
-
templateId
|
|
6
|
-
representationId
|
|
5
|
+
templateId?: number;
|
|
6
|
+
representationId?: number;
|
|
7
7
|
template?: TemplateEntity;
|
|
8
8
|
representation?: RepresentationEntity;
|
|
9
9
|
};
|
|
@@ -2,8 +2,8 @@ import { UniqueIdEntity } from './unique-id-entity.type';
|
|
|
2
2
|
import { TemplateEntity } from './template.type';
|
|
3
3
|
import { RoleEntity } from './role.type';
|
|
4
4
|
export type TemplateRoleEntity = UniqueIdEntity & {
|
|
5
|
-
templateId
|
|
6
|
-
roleId
|
|
5
|
+
templateId?: number;
|
|
6
|
+
roleId?: number;
|
|
7
7
|
template?: TemplateEntity;
|
|
8
8
|
role?: RoleEntity;
|
|
9
9
|
};
|
|
@@ -2,8 +2,8 @@ import { BaseEntity } from './base-entity.type';
|
|
|
2
2
|
import { UserEntity } from './user.type';
|
|
3
3
|
import { TemplateEntity } from './template.type';
|
|
4
4
|
export type TemplateViewEntity = BaseEntity & {
|
|
5
|
-
userId
|
|
6
|
-
templateId
|
|
5
|
+
userId?: number;
|
|
6
|
+
templateId?: number;
|
|
7
7
|
user?: UserEntity;
|
|
8
8
|
template?: TemplateEntity;
|
|
9
9
|
};
|
|
@@ -11,7 +11,7 @@ import { TemplateEnum } from '../template/template.enum';
|
|
|
11
11
|
import { TemplateContentEnum } from '../template/template-content.enum';
|
|
12
12
|
export type TemplateEntity = BaseEntity & {
|
|
13
13
|
backgroundColor: string;
|
|
14
|
-
backgroundImage
|
|
14
|
+
backgroundImage: string | null;
|
|
15
15
|
textColor: string;
|
|
16
16
|
category: TemplateEnum;
|
|
17
17
|
title: MultiLanguage;
|
|
@@ -25,8 +25,8 @@ export type TemplateEntity = BaseEntity & {
|
|
|
25
25
|
contentType: TemplateContentEnum;
|
|
26
26
|
description: MultiLanguage;
|
|
27
27
|
maxParticipantsCount?: number;
|
|
28
|
-
startAt
|
|
29
|
-
endAt
|
|
28
|
+
startAt: Date | null;
|
|
29
|
+
endAt: Date | null;
|
|
30
30
|
comments?: TemplateCommentEntity[];
|
|
31
31
|
roles?: TemplateRoleEntity[];
|
|
32
32
|
offices?: TemplateOfficeEntity[];
|
|
@@ -9,8 +9,8 @@ export type TopzoneEntity = BaseEntity & {
|
|
|
9
9
|
name: MultiLanguage;
|
|
10
10
|
declension: MultiLanguage;
|
|
11
11
|
alias: string;
|
|
12
|
-
lat
|
|
13
|
-
lng
|
|
12
|
+
lat: string | null;
|
|
13
|
+
lng: string | null;
|
|
14
14
|
bounds?: Bounds;
|
|
15
15
|
customerProperties?: CustomerPropertyEntity[];
|
|
16
16
|
customerRequests?: CustomerRequestEntity[];
|
|
@@ -2,12 +2,12 @@ import { BaseEntity } from './base-entity.type';
|
|
|
2
2
|
import { UserEntity } from './user.type';
|
|
3
3
|
export type UserActionsLogEntity = BaseEntity & {
|
|
4
4
|
modelName: string;
|
|
5
|
-
entityId
|
|
6
|
-
entityKey
|
|
5
|
+
entityId: number | null;
|
|
6
|
+
entityKey: string | null;
|
|
7
7
|
snapshotBeforeAction: any;
|
|
8
8
|
snapshotAfterAction: any;
|
|
9
9
|
children?: string;
|
|
10
|
-
changedById
|
|
10
|
+
changedById?: number;
|
|
11
11
|
childrenTableNames: string | null;
|
|
12
12
|
changedBy: UserEntity;
|
|
13
13
|
createdAt: Date;
|