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.
Files changed (112) hide show
  1. package/dist/tsconfig.tsbuildinfo +1 -1
  2. package/dist/types/common/currency.value.interface.d.ts +2 -2
  3. package/dist/types/core/advert-source.type.d.ts +1 -1
  4. package/dist/types/core/apartment-complex-info.type.d.ts +4 -4
  5. package/dist/types/core/attention-required.type.d.ts +2 -2
  6. package/dist/types/core/attorney.type.d.ts +1 -1
  7. package/dist/types/core/attribute.type.d.ts +3 -3
  8. package/dist/types/core/build-company.type.d.ts +3 -3
  9. package/dist/types/core/call-redirect.type.d.ts +2 -2
  10. package/dist/types/core/call.type.d.ts +3 -3
  11. package/dist/types/core/customer-property-duplicate.type.d.ts +3 -3
  12. package/dist/types/core/customer-property.type.d.ts +18 -18
  13. package/dist/types/core/customer.type.d.ts +13 -13
  14. package/dist/types/core/deal-document.type.d.ts +5 -5
  15. package/dist/types/core/deal-participant.type.d.ts +5 -5
  16. package/dist/types/core/deal-transaction.type.d.ts +2 -2
  17. package/dist/types/core/deal-type.type.d.ts +1 -1
  18. package/dist/types/core/deal.type.d.ts +52 -52
  19. package/dist/types/core/duty.type.d.ts +1 -1
  20. package/dist/types/core/flat.type.d.ts +4 -4
  21. package/dist/types/core/floor.type.d.ts +2 -2
  22. package/dist/types/core/geo.type.d.ts +4 -4
  23. package/dist/types/core/google-contact.type.d.ts +2 -2
  24. package/dist/types/core/handling.type.d.ts +7 -7
  25. package/dist/types/core/image.type.d.ts +7 -7
  26. package/dist/types/core/layout.type.d.ts +3 -3
  27. package/dist/types/core/mismatch-aggregate.type.d.ts +1 -1
  28. package/dist/types/core/mismatch-decision.type.d.ts +2 -2
  29. package/dist/types/core/mismatch-reason.type.d.ts +2 -2
  30. package/dist/types/core/mismatch-report.type.d.ts +3 -3
  31. package/dist/types/core/notary.type.d.ts +1 -1
  32. package/dist/types/core/notification-preference.type.d.ts +1 -1
  33. package/dist/types/core/notification.type.d.ts +3 -3
  34. package/dist/types/core/office-center.type.d.ts +2 -2
  35. package/dist/types/core/office.type.d.ts +3 -3
  36. package/dist/types/core/property-document.type.d.ts +1 -1
  37. package/dist/types/core/property-image.type.d.ts +2 -2
  38. package/dist/types/core/property-seo.type.d.ts +3 -3
  39. package/dist/types/core/queue.type.d.ts +7 -7
  40. package/dist/types/core/request-presentation.type.d.ts +1 -1
  41. package/dist/types/core/request-property.type.d.ts +5 -5
  42. package/dist/types/core/section.type.d.ts +3 -3
  43. package/dist/types/core/street.type.d.ts +5 -5
  44. package/dist/types/core/telegram-chat.type.d.ts +2 -2
  45. package/dist/types/core/telegram-message.type.d.ts +2 -2
  46. package/dist/types/core/template-comment.type.d.ts +1 -1
  47. package/dist/types/core/template.type.d.ts +3 -3
  48. package/dist/types/core/topzone.type.d.ts +2 -2
  49. package/dist/types/core/uploaded-file-entity.type.d.ts +1 -1
  50. package/dist/types/core/user-action-log.type.d.ts +2 -2
  51. package/dist/types/core/user-attorney.type.d.ts +6 -6
  52. package/dist/types/core/user-phone.type.d.ts +1 -1
  53. package/dist/types/core/user-points-change.type.d.ts +5 -5
  54. package/dist/types/core/user-profile.type.d.ts +21 -21
  55. package/dist/types/core/user.type.d.ts +1 -1
  56. package/package.json +1 -1
  57. package/types/common/currency.value.interface.ts +2 -2
  58. package/types/core/advert-source.type.ts +1 -1
  59. package/types/core/apartment-complex-info.type.ts +4 -4
  60. package/types/core/attention-required.type.ts +2 -2
  61. package/types/core/attorney.type.ts +1 -1
  62. package/types/core/attribute.type.ts +3 -3
  63. package/types/core/build-company.type.ts +3 -3
  64. package/types/core/call-redirect.type.ts +2 -2
  65. package/types/core/call.type.ts +3 -3
  66. package/types/core/customer-property-duplicate.type.ts +3 -3
  67. package/types/core/customer-property.type.ts +18 -18
  68. package/types/core/customer.type.ts +13 -13
  69. package/types/core/deal-document.type.ts +5 -5
  70. package/types/core/deal-participant.type.ts +5 -5
  71. package/types/core/deal-transaction.type.ts +2 -2
  72. package/types/core/deal-type.type.ts +1 -1
  73. package/types/core/deal.type.ts +52 -52
  74. package/types/core/duty.type.ts +1 -1
  75. package/types/core/flat.type.ts +4 -4
  76. package/types/core/floor.type.ts +2 -2
  77. package/types/core/geo.type.ts +4 -4
  78. package/types/core/google-contact.type.ts +2 -2
  79. package/types/core/handling.type.ts +7 -7
  80. package/types/core/image.type.ts +7 -7
  81. package/types/core/layout.type.ts +3 -14
  82. package/types/core/mismatch-aggregate.type.ts +1 -1
  83. package/types/core/mismatch-decision.type.ts +2 -8
  84. package/types/core/mismatch-reason.type.ts +2 -2
  85. package/types/core/mismatch-report.type.ts +3 -9
  86. package/types/core/notary.type.ts +1 -5
  87. package/types/core/notification-preference.type.ts +1 -5
  88. package/types/core/notification.type.ts +3 -9
  89. package/types/core/office-center.type.ts +2 -12
  90. package/types/core/office.type.ts +3 -20
  91. package/types/core/property-document.type.ts +1 -1
  92. package/types/core/property-image.type.ts +2 -6
  93. package/types/core/property-seo.type.ts +3 -7
  94. package/types/core/queue.type.ts +7 -19
  95. package/types/core/realtor-number.type.ts +0 -4
  96. package/types/core/representation.type.ts +0 -8
  97. package/types/core/request-presentation.type.ts +1 -1
  98. package/types/core/request-property.type.ts +5 -13
  99. package/types/core/section.type.ts +3 -8
  100. package/types/core/street.type.ts +5 -16
  101. package/types/core/telegram-chat.type.ts +2 -5
  102. package/types/core/telegram-message.type.ts +2 -7
  103. package/types/core/template-comment.type.ts +1 -9
  104. package/types/core/template.type.ts +3 -3
  105. package/types/core/topzone.type.ts +2 -11
  106. package/types/core/uploaded-file-entity.type.ts +1 -4
  107. package/types/core/user-action-log.type.ts +5 -14
  108. package/types/core/user-attorney.type.ts +6 -6
  109. package/types/core/user-phone.type.ts +1 -1
  110. package/types/core/user-points-change.type.ts +5 -16
  111. package/types/core/user-profile.type.ts +21 -21
  112. 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
- searchText?: string;
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
- deals: DealEntity[];
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
- representation: RepresentationEntity;
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?: string | null;
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?: Date;
30
- endAt?: Date;
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
- lat?: string;
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
  };
@@ -4,10 +4,7 @@ import { UploadedFileType } from '../uploaded-file';
4
4
 
5
5
  export type UploadedFileEntity = BaseEntity & {
6
6
  key: string;
7
-
8
7
  url: string;
9
-
10
8
  type: UploadedFileType;
11
-
12
- feedbackFile: FeedbackFileEntity;
9
+ feedbackFile?: FeedbackFileEntity;
13
10
  };
@@ -3,22 +3,13 @@ import { UserEntity } from './user.type';
3
3
 
4
4
  export type UserActionsLogEntity = BaseEntity & {
5
5
  modelName: string;
6
-
7
- entityId?: number | null;
8
-
9
- entityKey?: string | null;
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?: string;
10
- vchasnoEmail?: string;
11
- vchasnoInn?: string;
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: AttorneyEntity;
25
- deals: DealEntity[];
26
- properties: CustomerPropertyEntity[];
24
+ attorney?: AttorneyEntity;
25
+ deals?: DealEntity[];
26
+ properties?: CustomerPropertyEntity[];
27
27
  };
@@ -4,7 +4,7 @@ import { UserEntity } from './user.type';
4
4
  export type UserPhoneEntity = BaseEntity & {
5
5
  country: string;
6
6
  phoneNumber: string;
7
- isRedirect?: boolean;
7
+ isRedirect: boolean;
8
8
  userId: number;
9
9
  user?: UserEntity;
10
10
  };
@@ -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
- handlingId?: number;
17
-
18
- propertyId?: number;
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?: MultiLanguage;
15
+ surname: MultiLanguage | null;
16
16
  male: Male;
17
- birthDate?: Date;
18
- birthPlace?: string;
19
- photoUrl?: string;
20
- graduatedAt?: Date;
21
- address?: string;
22
- passportRegistration?: string;
23
- passport?: string;
24
- inn?: string;
25
- passportGiven?: string;
26
- languages?: string[];
27
- notes?: Record<string, string>;
28
- education?: Education[];
29
- previousJobs?: PreviousJob[];
30
- auto?: boolean;
31
- criminal?: boolean;
32
- criminalDescription?: string;
33
- whyRealty?: string;
34
- whyAtlanta?: string;
35
- hobby?: string;
36
- startWorkingAt?: Date;
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;
@@ -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;