vector-shared 1.1.326 → 1.1.328
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/common/currency.value.interface.d.ts +2 -2
- package/dist/types/core/advert-source.type.d.ts +1 -1
- package/dist/types/core/apartment-complex-info.type.d.ts +4 -4
- package/dist/types/core/attention-required.type.d.ts +2 -2
- package/dist/types/core/attorney.type.d.ts +1 -1
- package/dist/types/core/attribute.type.d.ts +3 -3
- package/dist/types/core/build-company.type.d.ts +3 -3
- package/dist/types/core/call-redirect.type.d.ts +2 -2
- package/dist/types/core/call.type.d.ts +3 -3
- package/dist/types/core/customer-property-duplicate.type.d.ts +3 -3
- package/dist/types/core/customer-property.type.d.ts +18 -18
- package/dist/types/core/customer.type.d.ts +13 -13
- package/dist/types/core/deal-document.type.d.ts +5 -5
- package/dist/types/core/deal-participant.type.d.ts +5 -5
- package/dist/types/core/deal-transaction.type.d.ts +2 -2
- package/dist/types/core/deal-type.type.d.ts +1 -1
- package/dist/types/core/deal.type.d.ts +52 -52
- package/dist/types/core/duty.type.d.ts +1 -1
- package/dist/types/core/flat.type.d.ts +4 -4
- package/dist/types/core/floor.type.d.ts +2 -2
- package/dist/types/core/geo.type.d.ts +4 -4
- package/dist/types/core/google-contact.type.d.ts +2 -2
- package/dist/types/core/handling.type.d.ts +7 -7
- package/dist/types/core/image.type.d.ts +7 -7
- package/dist/types/core/layout.type.d.ts +3 -3
- package/dist/types/core/mismatch-aggregate.type.d.ts +1 -1
- package/dist/types/core/mismatch-decision.type.d.ts +2 -2
- package/dist/types/core/mismatch-reason.type.d.ts +2 -2
- package/dist/types/core/mismatch-report.type.d.ts +3 -3
- package/dist/types/core/notary.type.d.ts +1 -1
- package/dist/types/core/notification-preference.type.d.ts +1 -1
- package/dist/types/core/notification.type.d.ts +3 -3
- package/dist/types/core/office-center.type.d.ts +2 -2
- package/dist/types/core/office.type.d.ts +3 -3
- package/dist/types/core/property-document.type.d.ts +1 -1
- package/dist/types/core/property-image.type.d.ts +2 -2
- package/dist/types/core/property-seo.type.d.ts +3 -3
- package/dist/types/core/queue.type.d.ts +7 -7
- package/dist/types/core/request-presentation.type.d.ts +1 -1
- package/dist/types/core/request-property.type.d.ts +5 -5
- package/dist/types/core/section.type.d.ts +3 -3
- package/dist/types/core/street.type.d.ts +5 -5
- package/dist/types/core/telegram-chat.type.d.ts +2 -2
- package/dist/types/core/telegram-message.type.d.ts +2 -2
- package/dist/types/core/template-comment.type.d.ts +1 -1
- package/dist/types/core/template.type.d.ts +3 -3
- package/dist/types/core/topzone.type.d.ts +2 -2
- package/dist/types/core/uploaded-file-entity.type.d.ts +1 -1
- package/dist/types/core/user-action-log.type.d.ts +2 -2
- package/dist/types/core/user-attorney.type.d.ts +6 -6
- package/dist/types/core/user-phone.type.d.ts +1 -1
- package/dist/types/core/user-points-change.type.d.ts +5 -5
- package/dist/types/core/user-profile.type.d.ts +21 -21
- package/dist/types/core/user.type.d.ts +1 -1
- package/package.json +1 -1
- package/types/common/currency.value.interface.ts +2 -2
- package/types/core/advert-source.type.ts +1 -1
- package/types/core/apartment-complex-info.type.ts +4 -4
- package/types/core/attention-required.type.ts +2 -2
- package/types/core/attorney.type.ts +1 -1
- package/types/core/attribute.type.ts +3 -3
- package/types/core/build-company.type.ts +3 -3
- package/types/core/call-redirect.type.ts +2 -2
- package/types/core/call.type.ts +3 -3
- package/types/core/customer-property-duplicate.type.ts +3 -3
- package/types/core/customer-property.type.ts +18 -18
- package/types/core/customer.type.ts +13 -13
- package/types/core/deal-document.type.ts +5 -5
- package/types/core/deal-participant.type.ts +5 -5
- package/types/core/deal-transaction.type.ts +2 -2
- package/types/core/deal-type.type.ts +1 -1
- package/types/core/deal.type.ts +52 -52
- package/types/core/duty.type.ts +1 -1
- package/types/core/flat.type.ts +4 -4
- package/types/core/floor.type.ts +2 -2
- package/types/core/geo.type.ts +4 -4
- package/types/core/google-contact.type.ts +2 -2
- package/types/core/handling.type.ts +7 -7
- package/types/core/image.type.ts +7 -7
- package/types/core/layout.type.ts +3 -14
- package/types/core/mismatch-aggregate.type.ts +1 -1
- package/types/core/mismatch-decision.type.ts +2 -8
- package/types/core/mismatch-reason.type.ts +2 -2
- package/types/core/mismatch-report.type.ts +3 -9
- package/types/core/notary.type.ts +1 -5
- package/types/core/notification-preference.type.ts +1 -5
- package/types/core/notification.type.ts +3 -9
- package/types/core/office-center.type.ts +2 -12
- package/types/core/office.type.ts +3 -20
- package/types/core/property-document.type.ts +1 -1
- package/types/core/property-image.type.ts +2 -6
- package/types/core/property-seo.type.ts +3 -7
- package/types/core/queue.type.ts +7 -19
- package/types/core/realtor-number.type.ts +0 -4
- package/types/core/representation.type.ts +0 -8
- package/types/core/request-presentation.type.ts +1 -1
- package/types/core/request-property.type.ts +5 -13
- package/types/core/section.type.ts +3 -8
- package/types/core/street.type.ts +5 -16
- package/types/core/telegram-chat.type.ts +2 -5
- package/types/core/telegram-message.type.ts +2 -7
- package/types/core/template-comment.type.ts +1 -9
- package/types/core/template.type.ts +3 -3
- package/types/core/topzone.type.ts +2 -11
- package/types/core/uploaded-file-entity.type.ts +1 -4
- package/types/core/user-action-log.type.ts +5 -14
- package/types/core/user-attorney.type.ts +6 -6
- package/types/core/user-phone.type.ts +1 -1
- package/types/core/user-points-change.type.ts +5 -16
- package/types/core/user-profile.type.ts +21 -21
- package/types/core/user.type.ts +1 -1
|
@@ -11,29 +11,18 @@ import { QueueEntity } from './queue.type';
|
|
|
11
11
|
|
|
12
12
|
export type StreetEntity = BaseEntity & {
|
|
13
13
|
name: MultiLanguage;
|
|
14
|
-
|
|
15
14
|
alias: string;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
isOldStreet?: boolean;
|
|
20
|
-
|
|
15
|
+
searchText: string | null;
|
|
16
|
+
isOldStreet: boolean;
|
|
21
17
|
names?: MultiLanguageArray;
|
|
22
|
-
|
|
23
18
|
line?: {
|
|
24
19
|
type: string;
|
|
25
20
|
coordinates: number[][][];
|
|
26
21
|
};
|
|
27
|
-
|
|
28
|
-
geoId?: number;
|
|
29
|
-
|
|
22
|
+
geoId: number | null;
|
|
30
23
|
geo?: GeoEntity;
|
|
31
|
-
|
|
32
24
|
customerProperties?: CustomerPropertyEntity[];
|
|
33
|
-
|
|
34
25
|
customerRequests?: CustomerRequestEntity[];
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
queues: QueueEntity[];
|
|
26
|
+
deals?: DealEntity[];
|
|
27
|
+
queues?: QueueEntity[];
|
|
39
28
|
};
|
|
@@ -3,10 +3,7 @@ import { RepresentationEntity } from './representation.type';
|
|
|
3
3
|
|
|
4
4
|
export type TelegramChatEntity = {
|
|
5
5
|
chatId: number;
|
|
6
|
-
|
|
7
6
|
representationId: number;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
messages: TelegramMessageEntity[];
|
|
7
|
+
representation?: RepresentationEntity;
|
|
8
|
+
messages?: TelegramMessageEntity[];
|
|
12
9
|
};
|
|
@@ -3,14 +3,9 @@ import { CustomerPropertyEntity } from './customer-property.type';
|
|
|
3
3
|
|
|
4
4
|
export type TelegramMessageEntity = {
|
|
5
5
|
messageId: number;
|
|
6
|
-
|
|
7
6
|
chatId: number;
|
|
8
|
-
|
|
9
|
-
chat: TelegramChatEntity;
|
|
10
|
-
|
|
7
|
+
chat?: TelegramChatEntity;
|
|
11
8
|
propertyId: number;
|
|
12
|
-
|
|
13
|
-
property: CustomerPropertyEntity;
|
|
14
|
-
|
|
9
|
+
property?: CustomerPropertyEntity;
|
|
15
10
|
isMain: boolean;
|
|
16
11
|
};
|
|
@@ -5,20 +5,12 @@ import { TemplateCommentReactionEntity } from './template-comment-reaction.type'
|
|
|
5
5
|
|
|
6
6
|
export type TemplateCommentEntity = BaseEntity & {
|
|
7
7
|
text: string;
|
|
8
|
-
|
|
9
8
|
userId: number;
|
|
10
|
-
|
|
11
9
|
user?: UserEntity;
|
|
12
|
-
|
|
13
10
|
templateId: number;
|
|
14
|
-
|
|
15
11
|
template?: TemplateEntity;
|
|
16
|
-
|
|
17
12
|
parentId: number | null;
|
|
18
|
-
|
|
19
|
-
parent?: TemplateCommentEntity | null;
|
|
20
|
-
|
|
13
|
+
parent?: TemplateCommentEntity;
|
|
21
14
|
children?: TemplateCommentEntity[];
|
|
22
|
-
|
|
23
15
|
reactions?: TemplateCommentReactionEntity[];
|
|
24
16
|
};
|
|
@@ -12,7 +12,7 @@ import { TemplateContentEnum } from '../template/template-content.enum';
|
|
|
12
12
|
|
|
13
13
|
export type TemplateEntity = BaseEntity & {
|
|
14
14
|
backgroundColor: string;
|
|
15
|
-
backgroundImage
|
|
15
|
+
backgroundImage: string | null;
|
|
16
16
|
textColor: string;
|
|
17
17
|
category: TemplateEnum;
|
|
18
18
|
title: MultiLanguage;
|
|
@@ -26,8 +26,8 @@ export type TemplateEntity = BaseEntity & {
|
|
|
26
26
|
contentType: TemplateContentEnum;
|
|
27
27
|
description: MultiLanguage;
|
|
28
28
|
maxParticipantsCount?: number;
|
|
29
|
-
startAt
|
|
30
|
-
endAt
|
|
29
|
+
startAt: Date | null;
|
|
30
|
+
endAt: Date | null;
|
|
31
31
|
comments?: TemplateCommentEntity[];
|
|
32
32
|
roles?: TemplateRoleEntity[];
|
|
33
33
|
offices?: TemplateOfficeEntity[];
|
|
@@ -8,22 +8,13 @@ import { Bounds } from '../geo/bounds.type';
|
|
|
8
8
|
|
|
9
9
|
export type TopzoneEntity = BaseEntity & {
|
|
10
10
|
name: MultiLanguage;
|
|
11
|
-
|
|
12
11
|
declension: MultiLanguage;
|
|
13
|
-
|
|
14
12
|
alias: string;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
lng?: string;
|
|
19
|
-
|
|
13
|
+
lat: string | null;
|
|
14
|
+
lng: string | null;
|
|
20
15
|
bounds?: Bounds;
|
|
21
|
-
|
|
22
16
|
customerProperties?: CustomerPropertyEntity[];
|
|
23
|
-
|
|
24
17
|
customerRequests?: CustomerRequestEntity[];
|
|
25
|
-
|
|
26
18
|
geoTopzone?: GeoTopzoneEntity[];
|
|
27
|
-
|
|
28
19
|
apartmentComplex?: ApartmentComplexEntity[];
|
|
29
20
|
};
|
|
@@ -3,22 +3,13 @@ import { UserEntity } from './user.type';
|
|
|
3
3
|
|
|
4
4
|
export type UserActionsLogEntity = BaseEntity & {
|
|
5
5
|
modelName: string;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
snapshotBeforeAction: any; // Replace `any` with a more specific type if your JSON structure is known
|
|
12
|
-
|
|
13
|
-
snapshotAfterAction: any; // Replace `any` with a more specific type if your JSON structure is known
|
|
14
|
-
|
|
15
|
-
children?: string; // List of children entities
|
|
16
|
-
|
|
6
|
+
entityId: number | null;
|
|
7
|
+
entityKey: string | null;
|
|
8
|
+
snapshotBeforeAction: any;
|
|
9
|
+
snapshotAfterAction: any;
|
|
10
|
+
children?: string;
|
|
17
11
|
changedById: number;
|
|
18
|
-
|
|
19
12
|
childrenTableNames: string | null;
|
|
20
|
-
|
|
21
13
|
changedBy: UserEntity;
|
|
22
|
-
|
|
23
14
|
createdAt: Date;
|
|
24
15
|
};
|
|
@@ -6,9 +6,9 @@ import { DealEntity } from './deal.type';
|
|
|
6
6
|
import { UserAttorneyType } from '../user';
|
|
7
7
|
|
|
8
8
|
export type UserAttorneyEntity = BaseEntity & {
|
|
9
|
-
vchasnoApiKey
|
|
10
|
-
vchasnoEmail
|
|
11
|
-
vchasnoInn
|
|
9
|
+
vchasnoApiKey: string | null;
|
|
10
|
+
vchasnoEmail: string | null;
|
|
11
|
+
vchasnoInn: string | null;
|
|
12
12
|
userId: number;
|
|
13
13
|
attorneyId: number;
|
|
14
14
|
fullName: string;
|
|
@@ -21,7 +21,7 @@ export type UserAttorneyEntity = BaseEntity & {
|
|
|
21
21
|
edrpouRecordNumber: string;
|
|
22
22
|
type: UserAttorneyType;
|
|
23
23
|
user?: UserEntity;
|
|
24
|
-
attorney
|
|
25
|
-
deals
|
|
26
|
-
properties
|
|
24
|
+
attorney?: AttorneyEntity;
|
|
25
|
+
deals?: DealEntity[];
|
|
26
|
+
properties?: CustomerPropertyEntity[];
|
|
27
27
|
};
|
|
@@ -8,26 +8,15 @@ import { CustomerRequestEntity } from './customer-request.type';
|
|
|
8
8
|
|
|
9
9
|
export type UserPointsChangeEntity = BaseEntity & {
|
|
10
10
|
amount: number;
|
|
11
|
-
|
|
12
11
|
event: UserPointsEvent;
|
|
13
|
-
|
|
14
12
|
userId: number;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
customerId?: number;
|
|
21
|
-
|
|
22
|
-
requestId?: number;
|
|
23
|
-
|
|
24
|
-
user: UserEntity;
|
|
25
|
-
|
|
13
|
+
handlingId: number | null;
|
|
14
|
+
propertyId: number | null;
|
|
15
|
+
customerId: number | null;
|
|
16
|
+
requestId: number | null;
|
|
17
|
+
user?: UserEntity;
|
|
26
18
|
handling?: HandlingEntity;
|
|
27
|
-
|
|
28
19
|
property?: CustomerPropertyEntity;
|
|
29
|
-
|
|
30
20
|
customer?: CustomerEntity;
|
|
31
|
-
|
|
32
21
|
request?: CustomerRequestEntity;
|
|
33
22
|
};
|
|
@@ -12,28 +12,28 @@ import { Children } from '../user-profile/children.type';
|
|
|
12
12
|
export type UserProfileEntity = BaseEntity & {
|
|
13
13
|
firstName: MultiLanguage;
|
|
14
14
|
secondName: MultiLanguage;
|
|
15
|
-
surname
|
|
15
|
+
surname: MultiLanguage | null;
|
|
16
16
|
male: Male;
|
|
17
|
-
birthDate
|
|
18
|
-
birthPlace
|
|
19
|
-
photoUrl
|
|
20
|
-
graduatedAt
|
|
21
|
-
address
|
|
22
|
-
passportRegistration
|
|
23
|
-
passport
|
|
24
|
-
inn
|
|
25
|
-
passportGiven
|
|
26
|
-
languages
|
|
27
|
-
notes
|
|
28
|
-
education
|
|
29
|
-
previousJobs
|
|
30
|
-
auto
|
|
31
|
-
criminal
|
|
32
|
-
criminalDescription
|
|
33
|
-
whyRealty
|
|
34
|
-
whyAtlanta
|
|
35
|
-
hobby
|
|
36
|
-
startWorkingAt
|
|
17
|
+
birthDate: Date | null;
|
|
18
|
+
birthPlace: string | null;
|
|
19
|
+
photoUrl: string | null;
|
|
20
|
+
graduatedAt: Date | null;
|
|
21
|
+
address: string | null;
|
|
22
|
+
passportRegistration: string | null;
|
|
23
|
+
passport: string | null;
|
|
24
|
+
inn: string | null;
|
|
25
|
+
passportGiven: string | null;
|
|
26
|
+
languages: string[];
|
|
27
|
+
notes: Record<string, string>;
|
|
28
|
+
education: Education[];
|
|
29
|
+
previousJobs: PreviousJob[];
|
|
30
|
+
auto: boolean;
|
|
31
|
+
criminal: boolean;
|
|
32
|
+
criminalDescription: string | null;
|
|
33
|
+
whyRealty: string | null;
|
|
34
|
+
whyAtlanta: string | null;
|
|
35
|
+
hobby: string | null;
|
|
36
|
+
startWorkingAt: Date | null;
|
|
37
37
|
social?: Socials;
|
|
38
38
|
children?: Children[];
|
|
39
39
|
married: boolean;
|
package/types/core/user.type.ts
CHANGED
|
@@ -76,7 +76,7 @@ export type UserEntity = BaseEntity & {
|
|
|
76
76
|
relatedContacts?: GoogleContactEntity[];
|
|
77
77
|
pointsChanges?: UserPointsChangeEntity[];
|
|
78
78
|
feedbacks?: FeedbackEntity[];
|
|
79
|
-
notificationPreferences?: NotificationPreferenceEntity
|
|
79
|
+
notificationPreferences?: NotificationPreferenceEntity;
|
|
80
80
|
notifications?: NotificationEntity[];
|
|
81
81
|
attorneys?: UserAttorneyEntity[];
|
|
82
82
|
realtorNumber?: RealtorNumberEntity;
|