vector-shared 1.1.348 → 1.1.350

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 (539) hide show
  1. package/dist/tsconfig.tsbuildinfo +1 -1
  2. package/dist/types/core/customer-request.type.d.ts +1 -1
  3. package/dist/types/core/deal-transaction.type.d.ts +2 -2
  4. package/dist/types/core/deal.type.d.ts +1 -1
  5. package/dist/types/user-permission/permission.dto.d.ts +1 -1
  6. package/package.json +4 -1
  7. package/.prettierignore +0 -101
  8. package/.prettierrc +0 -15
  9. package/bitbucket-pipelines.yml +0 -37
  10. package/constants/auth-service.constants.ts +0 -12
  11. package/constants/customer-service.constants.ts +0 -28
  12. package/index.ts +0 -10
  13. package/tsconfig.json +0 -23
  14. package/types/advert-source/advert-source-dropdown-search.dto.model.ts +0 -3
  15. package/types/advert-source/index.ts +0 -1
  16. package/types/agency/agency-search.type.ts +0 -4
  17. package/types/agency/create-agency.type.ts +0 -6
  18. package/types/agency/index.ts +0 -1
  19. package/types/apartment-complex/expression.type.ts +0 -14
  20. package/types/apartment-complex/index.ts +0 -2
  21. package/types/apartment-complex/manager.type.ts +0 -5
  22. package/types/archive-reasons/archive-reason-destination.enum.ts +0 -7
  23. package/types/archive-reasons/archive-reason-dropdown-params.type.ts +0 -5
  24. package/types/archive-reasons/index.ts +0 -2
  25. package/types/attention-required/attention-required-office-statistic-param.type.ts +0 -22
  26. package/types/attention-required/attention-required-search.type.ts +0 -6
  27. package/types/attention-required/attention-required-statistic-param.type.ts +0 -9
  28. package/types/attention-required/attention-required-statistic.type.ts +0 -14
  29. package/types/attention-required/attention-required-update.type.ts +0 -6
  30. package/types/attention-required/attention-required-with-changes.type.ts +0 -22
  31. package/types/attention-required/index.ts +0 -15
  32. package/types/attorney/attorney-search.dto.ts +0 -3
  33. package/types/attorney/attorney-type.enum.ts +0 -4
  34. package/types/attorney/attorney.dto.ts +0 -13
  35. package/types/attorney/index.ts +0 -3
  36. package/types/attributes/apartment-info-attributes.type.ts +0 -3
  37. package/types/attributes/apartment-type.enum.ts +0 -4
  38. package/types/attributes/attribute-category.enum.ts +0 -18
  39. package/types/attributes/attribute-config.type.ts +0 -18
  40. package/types/attributes/attribute-destination.enum.ts +0 -6
  41. package/types/attributes/attribute-key.enum.ts +0 -16
  42. package/types/attributes/attribute-representation.type.ts +0 -6
  43. package/types/attributes/attribute-search.type.ts +0 -16
  44. package/types/attributes/attribute-type.enum.ts +0 -12
  45. package/types/attributes/attribute-unit.enum.ts +0 -8
  46. package/types/attributes/attribute-value.type.ts +0 -3
  47. package/types/attributes/attribute.type.ts +0 -28
  48. package/types/attributes/customer-requests-attributes.type.ts +0 -5
  49. package/types/attributes/deal-type.enum.ts +0 -4
  50. package/types/attributes/index.ts +0 -24
  51. package/types/attributes/male.enum.ts +0 -7
  52. package/types/attributes/object-type.enum.ts +0 -9
  53. package/types/attributes/property-atributes.type.ts +0 -19
  54. package/types/attributes/registration-type.enum.ts +0 -6
  55. package/types/auth/index.ts +0 -2
  56. package/types/auth/login-user-with-google.dto.ts +0 -3
  57. package/types/auth/login-user.dto.model.ts +0 -5
  58. package/types/build-company/build-companies-search.dto.ts +0 -18
  59. package/types/build-company/build-company-create.dto.ts +0 -6
  60. package/types/build-company/index.ts +0 -2
  61. package/types/calendar/calendar.type.ts +0 -19
  62. package/types/calendar/duty.create.dto.ts +0 -14
  63. package/types/calendar/duty.search.dto.ts +0 -5
  64. package/types/calendar/duty.update.dto.ts +0 -12
  65. package/types/calendar/index.ts +0 -4
  66. package/types/call/call-data.type.ts +0 -7
  67. package/types/call/call-search.dto.model.ts +0 -7
  68. package/types/call/call-type.enum.ts +0 -11
  69. package/types/call/index.ts +0 -3
  70. package/types/call-redirect/call-redirect-create.type.ts +0 -12
  71. package/types/call-redirect/call-redirect-search.dto.ts +0 -7
  72. package/types/call-redirect/call-redirect-update.type.ts +0 -8
  73. package/types/call-redirect/index.ts +0 -3
  74. package/types/common/autocomplete-params.type.ts +0 -6
  75. package/types/common/currency.enum.ts +0 -7
  76. package/types/common/currency.value.interface.ts +0 -4
  77. package/types/common/date-filter-params.type.ts +0 -4
  78. package/types/common/day.enum.ts +0 -11
  79. package/types/common/dropdown.type.ts +0 -6
  80. package/types/common/index.ts +0 -52
  81. package/types/common/language.enum.ts +0 -5
  82. package/types/common/multi-language-column.type.ts +0 -13
  83. package/types/common/paginated-list.type.ts +0 -12
  84. package/types/common/phone.type.ts +0 -10
  85. package/types/common/point.type.ts +0 -1
  86. package/types/common/query.boolean.ts +0 -6
  87. package/types/common/reaction.enum.ts +0 -4
  88. package/types/common/search-by-phone.type.ts +0 -3
  89. package/types/common/sorting-params.type.ts +0 -9
  90. package/types/common/text-search.type.ts +0 -6
  91. package/types/common/translated-or-raw.type.ts +0 -5
  92. package/types/core/advert-source.type.ts +0 -25
  93. package/types/core/agency.type.ts +0 -12
  94. package/types/core/apartment-complex-image.type.ts +0 -13
  95. package/types/core/apartment-complex-info.type.ts +0 -21
  96. package/types/core/apartment-complex.type.ts +0 -35
  97. package/types/core/appraiser.type.ts +0 -9
  98. package/types/core/archive-reason.type.ts +0 -16
  99. package/types/core/attention-required.type.ts +0 -9
  100. package/types/core/attorney.type.ts +0 -16
  101. package/types/core/attribute-representation.type.ts +0 -10
  102. package/types/core/attribute-value.type.ts +0 -11
  103. package/types/core/attribute.type.ts +0 -25
  104. package/types/core/base-entity.type.ts +0 -6
  105. package/types/core/build-company.type.ts +0 -16
  106. package/types/core/call-redirect.type.ts +0 -19
  107. package/types/core/call.type.ts +0 -20
  108. package/types/core/contract-type.type.ts +0 -8
  109. package/types/core/customer-bucket.type.ts +0 -10
  110. package/types/core/customer-call.type.ts +0 -11
  111. package/types/core/customer-phone.type.ts +0 -10
  112. package/types/core/customer-property-duplicate.type.ts +0 -14
  113. package/types/core/customer-property.type.ts +0 -109
  114. package/types/core/customer-request-selection.type.ts +0 -36
  115. package/types/core/customer-request.type.ts +0 -36
  116. package/types/core/customer.type.ts +0 -52
  117. package/types/core/deal-document.type.ts +0 -17
  118. package/types/core/deal-participant.type.ts +0 -23
  119. package/types/core/deal-transaction.type.ts +0 -21
  120. package/types/core/deal-type-percentage.type.ts +0 -11
  121. package/types/core/deal-type.type.ts +0 -13
  122. package/types/core/deal.type.ts +0 -135
  123. package/types/core/document.type.ts +0 -9
  124. package/types/core/duty.type.ts +0 -17
  125. package/types/core/employee-norm.type.ts +0 -17
  126. package/types/core/feedback-file.type.ts +0 -10
  127. package/types/core/feedback-view.type.ts +0 -10
  128. package/types/core/feedback.type.ts +0 -19
  129. package/types/core/flat.type.ts +0 -22
  130. package/types/core/floor.type.ts +0 -13
  131. package/types/core/geo-topzone.type.ts +0 -9
  132. package/types/core/geo.type.ts +0 -33
  133. package/types/core/google-contact.type.ts +0 -14
  134. package/types/core/handling-listening.type.ts +0 -10
  135. package/types/core/handling.type.ts +0 -39
  136. package/types/core/image.type.ts +0 -22
  137. package/types/core/index.ts +0 -98
  138. package/types/core/layout.type.ts +0 -20
  139. package/types/core/mismatch-aggregate.type.ts +0 -8
  140. package/types/core/mismatch-decision.type.ts +0 -11
  141. package/types/core/mismatch-reason.type.ts +0 -10
  142. package/types/core/mismatch-report.type.ts +0 -14
  143. package/types/core/norm-category.type.ts +0 -11
  144. package/types/core/notary.type.ts +0 -13
  145. package/types/core/notification-preference.type.ts +0 -11
  146. package/types/core/notification.type.ts +0 -13
  147. package/types/core/office-center.type.ts +0 -20
  148. package/types/core/office.type.ts +0 -35
  149. package/types/core/permission.type.ts +0 -11
  150. package/types/core/property-document.type.ts +0 -11
  151. package/types/core/property-image.type.ts +0 -14
  152. package/types/core/property-seo.type.ts +0 -11
  153. package/types/core/queue.type.ts +0 -20
  154. package/types/core/reaction.type.ts +0 -6
  155. package/types/core/realtor-number.type.ts +0 -11
  156. package/types/core/representation.type.ts +0 -18
  157. package/types/core/request-presentation-property.type.ts +0 -11
  158. package/types/core/request-presentation.type.ts +0 -10
  159. package/types/core/request-property.type.ts +0 -15
  160. package/types/core/role-permission-group.type.ts +0 -10
  161. package/types/core/role.type.ts +0 -14
  162. package/types/core/section.type.ts +0 -13
  163. package/types/core/street.type.ts +0 -28
  164. package/types/core/telegram-chat.type.ts +0 -9
  165. package/types/core/telegram-message.type.ts +0 -11
  166. package/types/core/template-comment-reaction.type.ts +0 -7
  167. package/types/core/template-comment.type.ts +0 -16
  168. package/types/core/template-office.type.ts +0 -10
  169. package/types/core/template-participant.type.ts +0 -10
  170. package/types/core/template-reaction.type.ts +0 -7
  171. package/types/core/template-representation.type.ts +0 -10
  172. package/types/core/template-role.type.ts +0 -10
  173. package/types/core/template-view.type.ts +0 -10
  174. package/types/core/template.type.ts +0 -38
  175. package/types/core/time-metric-entity.type.ts +0 -5
  176. package/types/core/topzone.type.ts +0 -20
  177. package/types/core/unique-id-entity.type.ts +0 -3
  178. package/types/core/uploaded-file-entity.type.ts +0 -10
  179. package/types/core/user-action-log.type.ts +0 -15
  180. package/types/core/user-attorney.type.ts +0 -27
  181. package/types/core/user-office.type.ts +0 -11
  182. package/types/core/user-permission.type.ts +0 -11
  183. package/types/core/user-phone.type.ts +0 -10
  184. package/types/core/user-points-change.type.ts +0 -22
  185. package/types/core/user-points-rule.type.ts +0 -7
  186. package/types/core/user-profile.type.ts +0 -47
  187. package/types/core/user.type.ts +0 -83
  188. package/types/core/valuation.type.ts +0 -9
  189. package/types/core/vnp-reason.type.ts +0 -8
  190. package/types/core/x-customer-notification.type.ts +0 -8
  191. package/types/customer/actiivity-potential.enum.ts +0 -8
  192. package/types/customer/add-cusomer-to-bucket.type.ts +0 -3
  193. package/types/customer/archive-customer.type.ts +0 -6
  194. package/types/customer/attention-required-entity.enum.ts +0 -4
  195. package/types/customer/create-customer.type.ts +0 -27
  196. package/types/customer/customer-autocomplete-params.dto.ts +0 -6
  197. package/types/customer/customer-bucket-scope.enum.ts +0 -7
  198. package/types/customer/customer-by-phone-number-realtor.dto.ts +0 -8
  199. package/types/customer/customer-by-phone-number.dto.ts +0 -21
  200. package/types/customer/customer-property-owner.type.ts +0 -6
  201. package/types/customer/customer-request-selection.enum.ts +0 -4
  202. package/types/customer/customer-type.enum.ts +0 -6
  203. package/types/customer/exclusive-buyer-agreement-data.type.ts +0 -18
  204. package/types/customer/get-customer-bucket-params.type.ts +0 -3
  205. package/types/customer/index.ts +0 -38
  206. package/types/customer/search-buyer-params.type.ts +0 -26
  207. package/types/customer/search-customer-by-phone.dto.ts +0 -8
  208. package/types/customer/update-customer.dto.ts +0 -3
  209. package/types/customer-call/customer-call.type.ts +0 -7
  210. package/types/customer-call/index.ts +0 -1
  211. package/types/customer-property/archive-customer-property.dto.ts +0 -6
  212. package/types/customer-property/cadastral-number.type.ts +0 -6
  213. package/types/customer-property/complex.type.ts +0 -4
  214. package/types/customer-property/create-customer-additional-owner.dto.ts +0 -6
  215. package/types/customer-property/create-customer-property-without-seller.type.ts +0 -6
  216. package/types/customer-property/create-customer-property.type.ts +0 -48
  217. package/types/customer-property/create-customer-request-without-buyer.dto.ts +0 -6
  218. package/types/customer-property/customer-properties-grouped-by-address-params.dto.ts +0 -8
  219. package/types/customer-property/customer-properties-grouped-by-address.dto.ts +0 -6
  220. package/types/customer-property/customer-properties-grouped-by-floor.dto.ts +0 -6
  221. package/types/customer-property/customer-property-autocomplete-params.dto.ts +0 -8
  222. package/types/customer-property/customer-property-check-duplicate-dto.ts +0 -19
  223. package/types/customer-property/customer-property-check-exclusive-exists.dto.ts +0 -6
  224. package/types/customer-property/customer-property-confirm-exclusive.dto.ts +0 -3
  225. package/types/customer-property/customer-property-document.dto.ts +0 -5
  226. package/types/customer-property/customer-property-image.dto.ts +0 -6
  227. package/types/customer-property/customer-property-search-apartment-dto.ts +0 -9
  228. package/types/customer-property/customer-property-search-area-dto.ts +0 -5
  229. package/types/customer-property/customer-property-search-by-cadastral-number.dto.ts +0 -5
  230. package/types/customer-property/customer-property-search-commercial-dto.ts +0 -8
  231. package/types/customer-property/customer-property-search-house-dto.ts +0 -6
  232. package/types/customer-property/customer-property-stage.ts +0 -10
  233. package/types/customer-property/exclusive-property-agreement-data.dto.ts +0 -8
  234. package/types/customer-property/exclusive-property-agreement-data.type.ts +0 -8
  235. package/types/customer-property/index.ts +0 -58
  236. package/types/customer-property/property-classification.enum.ts +0 -5
  237. package/types/customer-property/property-document-category.enum.ts +0 -8
  238. package/types/customer-property/property-duplicate-status.enum.ts +0 -6
  239. package/types/customer-property/property-exclusive-status.enum.ts +0 -5
  240. package/types/customer-property/realty-subtype.enum.ts +0 -22
  241. package/types/customer-property/realty-type.enum.ts +0 -6
  242. package/types/customer-property/search-customer-property-by-attributes.dto.ts +0 -13
  243. package/types/customer-property/search-customer-property-params.dto.ts +0 -38
  244. package/types/customer-property/seo.dto.ts +0 -10
  245. package/types/customer-property/update-customer-property.dto.ts +0 -13
  246. package/types/customer-property-duplicate/customer-property-duplicate.dto.ts +0 -12
  247. package/types/customer-property-duplicate/index.ts +0 -4
  248. package/types/customer-request/archive-customer-request.dto.ts +0 -5
  249. package/types/customer-request/create-customer-request-without-buyer.type.ts +0 -6
  250. package/types/customer-request/create-customer-request.type.ts +0 -17
  251. package/types/customer-request/customer-request-autocomplete-params.dto.ts +0 -8
  252. package/types/customer-request/customer-request-stages.ts +0 -7
  253. package/types/customer-request/index.ts +0 -7
  254. package/types/customer-request/search-customer-requests-params.dto.ts +0 -9
  255. package/types/customer-request/update-customer-request.dto.ts +0 -8
  256. package/types/customer-request-selection/customer-request-selection.dto.ts +0 -17
  257. package/types/customer-request-selection/index.ts +0 -2
  258. package/types/customer-request-selection/update-customer-request-selection.dto.ts +0 -4
  259. package/types/deal/break-deal-partially.dto.ts +0 -8
  260. package/types/deal/break-deal.dto.ts +0 -3
  261. package/types/deal/check-if-deal-number-exists-params.dto.ts +0 -4
  262. package/types/deal/create-deal.dto.ts +0 -62
  263. package/types/deal/deal-aggregation-row.dto.ts +0 -16
  264. package/types/deal/deal-agreement-type.enum.ts +0 -5
  265. package/types/deal/deal-autocomplete-params.dto.ts +0 -6
  266. package/types/deal/deal-buyer.type.ts +0 -12
  267. package/types/deal/deal-document.dto.ts +0 -7
  268. package/types/deal/deal-document.enum.ts +0 -22
  269. package/types/deal/deal-expense.dto.ts +0 -7
  270. package/types/deal/deal-expense.type.ts +0 -7
  271. package/types/deal/deal-expenses-category.enum.ts +0 -3
  272. package/types/deal/deal-format.enum.ts +0 -14
  273. package/types/deal/deal-offices-tree.dto.ts +0 -11
  274. package/types/deal/deal-participant-type.enum.ts +0 -5
  275. package/types/deal/deal-payer.enum.ts +0 -5
  276. package/types/deal/deal-seller.dto.ts +0 -13
  277. package/types/deal/deal-seller.type.ts +0 -13
  278. package/types/deal/deal-status.enum.ts +0 -6
  279. package/types/deal/deal-transaction.enum.ts +0 -4
  280. package/types/deal/detailed-deal-results-date-results.dto.ts +0 -4
  281. package/types/deal/detailed-deal-results-office-center-results.dto.ts +0 -14
  282. package/types/deal/detailed-deal-results-office-results.dto.ts +0 -15
  283. package/types/deal/detailed-deal-results-params.dto.ts +0 -8
  284. package/types/deal/detailed-deal-results-participant.dto.ts +0 -13
  285. package/types/deal/detailed-deal-results.dto.ts +0 -9
  286. package/types/deal/index.ts +0 -36
  287. package/types/deal/mortgage-program.enum.ts +0 -8
  288. package/types/deal/party-type.enum.ts +0 -5
  289. package/types/deal/search-deal-params.dto.ts +0 -30
  290. package/types/deal/send-deal-document-for-signature.dto.ts +0 -6
  291. package/types/deal/settle-deal.dto.ts +0 -16
  292. package/types/deal/update-deal.dto.ts +0 -22
  293. package/types/deal-type/deal-type-dropdown-params.dto.ts +0 -3
  294. package/types/deal-type/index.ts +0 -1
  295. package/types/direction/direction-type.enum.ts +0 -4
  296. package/types/direction/index.ts +0 -1
  297. package/types/documents/buyer-document-type.enum.ts +0 -3
  298. package/types/documents/employee-agreement.dto.ts +0 -4
  299. package/types/documents/get-buyer-document.dto.ts +0 -7
  300. package/types/documents/get-property-document.dto.ts +0 -7
  301. package/types/documents/index.ts +0 -7
  302. package/types/documents/non-disclosure-agreement.dto.ts +0 -4
  303. package/types/documents/property-document-type.enum.ts +0 -3
  304. package/types/documents/send-buyer-document-for-signature.dto.ts +0 -6
  305. package/types/documents/send-property-document-for-signature.dto.ts +0 -6
  306. package/types/feedback/feedback-category.enum.ts +0 -5
  307. package/types/feedback/feedback-create.dto.ts +0 -6
  308. package/types/feedback/feedback-search.dto.ts +0 -12
  309. package/types/feedback/feedback-status.enum.ts +0 -5
  310. package/types/feedback/index.ts +0 -4
  311. package/types/flats/flat-create.dto.ts +0 -13
  312. package/types/flats/flat-extended.dto.ts +0 -11
  313. package/types/flats/flat.enum.ts +0 -9
  314. package/types/flats/flats-search.dto.ts +0 -15
  315. package/types/flats/index.ts +0 -5
  316. package/types/flats/payment-calculations.type.ts +0 -7
  317. package/types/floor/floor-create.dto.ts +0 -12
  318. package/types/floor/floors-search.dto.ts +0 -12
  319. package/types/floor/index.ts +0 -2
  320. package/types/geo/bounds.type.ts +0 -11
  321. package/types/geo/enhanced-search-params.dto.ts +0 -7
  322. package/types/geo/enhanced-search-response.dto.ts +0 -10
  323. package/types/geo/geo-keys.dto.ts +0 -4
  324. package/types/geo/geo-level.enum.ts +0 -9
  325. package/types/geo/geo-node.dto.model.ts +0 -11
  326. package/types/geo/geo-search-coordinates.dto.model.ts +0 -4
  327. package/types/geo/geo-search-params.dto.model.ts +0 -8
  328. package/types/geo/geo-type.enum.ts +0 -8
  329. package/types/geo/geo.dto.model.ts +0 -3
  330. package/types/geo/index.ts +0 -11
  331. package/types/geo/promotion-geo.enum.ts +0 -8
  332. package/types/google/google-contact-type.enum.ts +0 -5
  333. package/types/handling/create-manual-handling.dto.ts +0 -13
  334. package/types/handling/handling-archive.dto.ts +0 -6
  335. package/types/handling/handling-check-black-list.dto.ts +0 -3
  336. package/types/handling/handling-recipient.enum.ts +0 -6
  337. package/types/handling/handling-search.dto.ts +0 -33
  338. package/types/handling/handling-type.enum.ts +0 -13
  339. package/types/handling/handling-update.dto.ts +0 -13
  340. package/types/handling/handling.dto.ts +0 -17
  341. package/types/handling/index.ts +0 -8
  342. package/types/image/apartment-complex-image-category.enum.ts +0 -7
  343. package/types/image/bind-apartment-image-params.dto.ts +0 -6
  344. package/types/image/bind-builder-image.dto.ts +0 -1
  345. package/types/image/bind-image.dto.ts +0 -1
  346. package/types/image/bulk-bind-images.dto.ts +0 -11
  347. package/types/image/image-category.enum.ts +0 -5
  348. package/types/image/index.ts +0 -9
  349. package/types/image/reorder-images.dto.ts +0 -8
  350. package/types/index.ts +0 -685
  351. package/types/layout/create-layout.dto.ts +0 -8
  352. package/types/layout/index.ts +0 -4
  353. package/types/layout/layout.types.enum.ts +0 -8
  354. package/types/layout/search-layouts.dto.ts +0 -17
  355. package/types/layout/update-layout.dto.ts +0 -13
  356. package/types/mistmatch/mismatch-action.types.enum.ts +0 -5
  357. package/types/node-env/node-env.enum.ts +0 -4
  358. package/types/norm-categories/employee-norm.dto.ts +0 -6
  359. package/types/norm-categories/index.ts +0 -3
  360. package/types/norm-categories/norm-categories.enum.ts +0 -11
  361. package/types/norm-categories/norm-category.dto.ts +0 -3
  362. package/types/notary/create-notary.dto.ts +0 -3
  363. package/types/notary/index.ts +0 -8
  364. package/types/notary/notary-contacts.type.ts +0 -7
  365. package/types/notary/notary-dropdown-params.dto.ts +0 -3
  366. package/types/notary/search-notary-params.dto.ts +0 -23
  367. package/types/notary/update-notary.dto.ts +0 -3
  368. package/types/notifications/index.ts +0 -15
  369. package/types/notifications/messenger.enum.ts +0 -4
  370. package/types/notifications/notification.enum.ts +0 -10
  371. package/types/notifications/notifications.ts +0 -63
  372. package/types/notifications/search-notifications-params.dto.ts +0 -3
  373. package/types/office-centers/center-contacts.type.ts +0 -12
  374. package/types/office-centers/day-schedule.type.ts +0 -11
  375. package/types/office-centers/index.ts +0 -9
  376. package/types/office-centers/office-center-dropdown-search.dto.model.ts +0 -3
  377. package/types/office-centers/office-center-search.dto.model.ts +0 -17
  378. package/types/office-centers/office-center.dto.ts +0 -3
  379. package/types/office-centers/send-office-center-location-to-customer.dto.ts +0 -6
  380. package/types/offices/contacts.type.ts +0 -9
  381. package/types/offices/employees.type.ts +0 -11
  382. package/types/offices/index.ts +0 -10
  383. package/types/offices/office-dropdown-params.dto.ts +0 -4
  384. package/types/offices/office-phone-number.dto.ts +0 -5
  385. package/types/offices/office-search.dto.model.ts +0 -17
  386. package/types/offices/office.dto.ts +0 -15
  387. package/types/offices/service.config.ts +0 -19
  388. package/types/parse/column-field-relation.interface.ts +0 -12
  389. package/types/parse/fields.enum.ts +0 -19
  390. package/types/parse/mapping-handler.types.ts +0 -18
  391. package/types/parse/mapping-relation.types.ts +0 -12
  392. package/types/parse/mapping.types.ts +0 -32
  393. package/types/parse/parse-fields.enum.ts +0 -19
  394. package/types/parse/row-item.interfaces.ts +0 -26
  395. package/types/parse/schemes.enum.ts +0 -4
  396. package/types/permissions/advert-permissions.enum.ts +0 -3
  397. package/types/permissions/analytic-permissions.enum.ts +0 -5
  398. package/types/permissions/attribute-permissions.enum.ts +0 -9
  399. package/types/permissions/buyer-permissions.enum.ts +0 -14
  400. package/types/permissions/customer-property-permissions.enum..ts +0 -16
  401. package/types/permissions/customer-request-permissions.enum.ts +0 -8
  402. package/types/permissions/deal-permissions.enum.ts +0 -15
  403. package/types/permissions/duty-permissions.enum.ts +0 -10
  404. package/types/permissions/exported-property-permissions.enum.ts +0 -6
  405. package/types/permissions/feedback-permissions.enum.ts +0 -7
  406. package/types/permissions/funnel-permissions.enum.ts +0 -5
  407. package/types/permissions/geo-permissions.enum.ts +0 -29
  408. package/types/permissions/handling-permissions.enum.ts +0 -10
  409. package/types/permissions/main-page-permissions.enum.ts +0 -5
  410. package/types/permissions/mismatch.permissions.ts +0 -6
  411. package/types/permissions/new-building/apartment-complex-permissions.enum.ts +0 -11
  412. package/types/permissions/new-building/build-company-permissions.enum.ts +0 -10
  413. package/types/permissions/new-building/flat-permissions.enum.ts +0 -10
  414. package/types/permissions/new-building/floor-permissions.enum.ts +0 -10
  415. package/types/permissions/new-building/layout-permissions.enum.ts +0 -10
  416. package/types/permissions/new-building/queue-permissions.enum.ts +0 -11
  417. package/types/permissions/new-building/section-permissions.enum.ts +0 -10
  418. package/types/permissions/news-permissions.enum.ts +0 -7
  419. package/types/permissions/notary-permissions.enum.ts +0 -7
  420. package/types/permissions/organization-permissions.enum.ts +0 -27
  421. package/types/permissions/permission.enum.ts +0 -96
  422. package/types/permissions/rbac-permissions.enum.ts +0 -9
  423. package/types/permissions/seller-permissions.enum.ts +0 -8
  424. package/types/permissions/telephony-permissions.enum.ts +0 -9
  425. package/types/permissions/user-action-logs-permissions.enum.ts +0 -5
  426. package/types/permissions/user-permissions.enum.ts +0 -13
  427. package/types/queue/create-queue.dto.ts +0 -6
  428. package/types/queue/index.ts +0 -2
  429. package/types/queue/search-queues.dto.ts +0 -13
  430. package/types/queues/queue.type.ts +0 -6
  431. package/types/realty-platforms/index.ts +0 -1
  432. package/types/realty-platforms/realty-platforms.enum.ts +0 -6
  433. package/types/representation/index.ts +0 -2
  434. package/types/representation/representation-search.dto.model.ts +0 -21
  435. package/types/representation/representation.dto.ts +0 -6
  436. package/types/request-presentation/create-request-presentation.dto.ts +0 -3
  437. package/types/request-presentation/index.ts +0 -1
  438. package/types/request-property/check-if-request-property-exists-params.dto.ts +0 -4
  439. package/types/request-property/create-request-property.dto.ts +0 -5
  440. package/types/request-property/index.ts +0 -5
  441. package/types/request-property/print-request-properties.dto.ts +0 -5
  442. package/types/request-property/search-request-property-params.dto.ts +0 -6
  443. package/types/request-property/update-request-property.dto.ts +0 -3
  444. package/types/roles/index.ts +0 -4
  445. package/types/roles/role-group.dto.ts +0 -3
  446. package/types/roles/role-weight.map.ts +0 -14
  447. package/types/roles/role.dto.ts +0 -9
  448. package/types/roles/role.enum.ts +0 -11
  449. package/types/section/index.ts +0 -2
  450. package/types/section/section-create.dto.ts +0 -6
  451. package/types/section/sections-search.dto.ts +0 -12
  452. package/types/statistic/employee-agreements-statistics-params.dto.ts +0 -17
  453. package/types/statistic/employee-agreements-statistics.dto.ts +0 -7
  454. package/types/statistic/exclusive-property-statistics-params.dto.ts +0 -7
  455. package/types/statistic/exclusive-property-statistics.dto.ts +0 -11
  456. package/types/statistic/handling-listenings-statistics-item.dto.ts +0 -6
  457. package/types/statistic/handling-listenings-statistics-params.dto.ts +0 -22
  458. package/types/statistic/index.ts +0 -15
  459. package/types/statistic/real-estate-by-property-type.dto.model.ts +0 -4
  460. package/types/statistic/realtor-involvment-statistics.dto.ts +0 -6
  461. package/types/statistic/realtor-involvment-user-statistics.dto.ts +0 -6
  462. package/types/street/index.ts +0 -4
  463. package/types/street/street-autocomplete-params.dto.ts +0 -5
  464. package/types/street/street-location.dto.ts +0 -9
  465. package/types/street/street-search.dto.ts +0 -16
  466. package/types/street/street.dto.ts +0 -3
  467. package/types/template/index.ts +0 -16
  468. package/types/template/template-comment-create.dto.ts +0 -6
  469. package/types/template/template-comment-response.dto.ts +0 -16
  470. package/types/template/template-comment.dto.ts +0 -6
  471. package/types/template/template-content.enum.ts +0 -5
  472. package/types/template/template-office.dto.ts +0 -3
  473. package/types/template/template-reaction-response.dto.ts +0 -5
  474. package/types/template/template-reaction-search.dto.ts +0 -7
  475. package/types/template/template-reaction.dto.ts +0 -6
  476. package/types/template/template-representation.dto.ts +0 -3
  477. package/types/template/template-response.dto.ts +0 -13
  478. package/types/template/template-role.dto.ts +0 -3
  479. package/types/template/template-search.dto.ts +0 -6
  480. package/types/template/template-view-response.dto.ts +0 -3
  481. package/types/template/template-view-search.dto.ts +0 -5
  482. package/types/template/template.dto.ts +0 -21
  483. package/types/template/template.enum.ts +0 -9
  484. package/types/topzone/index.ts +0 -3
  485. package/types/topzone/topzone-dropdown-list-params.dto.model.ts +0 -3
  486. package/types/topzone/topzone-search.dto.model.ts +0 -16
  487. package/types/topzone/topzone.dto.ts +0 -3
  488. package/types/uploaded-file/index.ts +0 -2
  489. package/types/uploaded-file/uploaded-file-type.enum.ts +0 -15
  490. package/types/uploaded-file/uploaded-file.dto.ts +0 -4
  491. package/types/user/index.ts +0 -17
  492. package/types/user/notification-preferences.dto.ts +0 -6
  493. package/types/user/update-user-vchasno.dto.ts +0 -8
  494. package/types/user/update-user.dto.ts +0 -6
  495. package/types/user/user-archive.dto.ts +0 -3
  496. package/types/user/user-attorney-search-params.dto.ts +0 -5
  497. package/types/user/user-attorney-type.enum.ts +0 -4
  498. package/types/user/user-attorney.dto.ts +0 -6
  499. package/types/user/user-autocomplete-params.dto.ts +0 -9
  500. package/types/user/user-phone.dto.ts +0 -3
  501. package/types/user/user-search.dto.ts +0 -28
  502. package/types/user/user-validation-params.dto.ts +0 -15
  503. package/types/user/user-vchasno-list-item.dto.ts +0 -10
  504. package/types/user/user.dto.ts +0 -20
  505. package/types/user-action-logs/index.ts +0 -2
  506. package/types/user-action-logs/model-name.enum.ts +0 -23
  507. package/types/user-action-logs/user-action-logs-search.dto.ts +0 -24
  508. package/types/user-office/index.ts +0 -2
  509. package/types/user-office/user-office.dto.ts +0 -3
  510. package/types/user-office/user-permission.dto.ts +0 -3
  511. package/types/user-permission/index.ts +0 -5
  512. package/types/user-permission/permission-connect.dto.model.ts +0 -3
  513. package/types/user-permission/permission-search.dto.model.ts +0 -3
  514. package/types/user-permission/permission.dto.ts +0 -3
  515. package/types/user-permission/user-permission-create-or-connect.dto.ts +0 -5
  516. package/types/user-permission/user-permission-create.dto.ts +0 -6
  517. package/types/user-points/index.ts +0 -6
  518. package/types/user-points/search-user-points-changes-params.dto.ts +0 -5
  519. package/types/user-points/user-points-amount-by-date.dto.ts +0 -4
  520. package/types/user-points/user-points-amount.dto.ts +0 -6
  521. package/types/user-points/user-points-event.enum.ts +0 -13
  522. package/types/user-points/user-points-statistic.dto.ts +0 -7
  523. package/types/user-points/user-points-user-statistic.dto.ts +0 -7
  524. package/types/user-profile/children.type.ts +0 -6
  525. package/types/user-profile/education.type.ts +0 -8
  526. package/types/user-profile/index.ts +0 -6
  527. package/types/user-profile/prev-jobs.type.ts +0 -7
  528. package/types/user-profile/profile.dto.ts +0 -6
  529. package/types/user-profile/socials.type.ts +0 -12
  530. package/types/user-profile/update-profile.dto.ts +0 -3
  531. package/types/vchasno/vchasno-document-category.enum.ts +0 -37
  532. package/types/vchasno/vchasno-document-signer.type.ts +0 -7
  533. package/types/vchasno/vchasno-document-status.enum.ts +0 -11
  534. package/types/vchasno/vchasno-document.type.ts +0 -32
  535. package/utils/create-service-action.ts +0 -15
  536. package/utils/database/sections.ts +0 -3
  537. package/utils/decorators/tranlsatable-column.decorator.ts +0 -9
  538. package/utils/index.ts +0 -4
  539. package/utils/role.utils.ts +0 -11
@@ -1,5 +0,0 @@
1
- import { CustomerRequestEntity } from '../core/customer-request.type';
2
-
3
- export type ArchiveCustomerRequestDto = Required<
4
- Pick<CustomerRequestEntity, 'archiveAnnotation' | 'archiveReasonId'>
5
- >;
@@ -1,6 +0,0 @@
1
- import { CreateCustomerRequestDto } from './create-customer-request.type';
2
-
3
- export type CreateCustomerRequestWithoutBuyerDto = Omit<
4
- CreateCustomerRequestDto,
5
- 'buyerId'
6
- >;
@@ -1,17 +0,0 @@
1
- import { CustomerRequestEntity } from '../core/customer-request.type';
2
-
3
- export type CreateCustomerRequestDto = Omit<
4
- CustomerRequestEntity,
5
- | 'id'
6
- | 'archiveAnnotation'
7
- | 'archiveReasonId'
8
- | 'setActiveAt'
9
- | 'deletedAt'
10
- | 'updatedAt'
11
- | 'createdAt'
12
- | 'vnpTillDate'
13
- | 'vnpAnnotation'
14
- | 'buyerId'
15
- > & {
16
- handlingId?: number;
17
- };
@@ -1,8 +0,0 @@
1
- import { AutocompleteParams } from '../common/autocomplete-params.type';
2
-
3
- export type CustomerRequestAutocompleteParamsDto = AutocompleteParams & {
4
- hasAttachedHandling?: boolean;
5
- showAll?: boolean;
6
- realtorIds?: number[];
7
- isInVnp?: boolean;
8
- };
@@ -1,7 +0,0 @@
1
- import { CustomerRequestEntity } from '../core/customer-request.type';
2
-
3
- export type CustomerRequestStages = {
4
- offer: CustomerRequestEntity[];
5
- presentation: CustomerRequestEntity[];
6
- prepayment: CustomerRequestEntity[];
7
- };
@@ -1,7 +0,0 @@
1
- export type { UpdateCustomerRequestDto } from './update-customer-request.dto';
2
- export type { SearchCustomerRequestsParamsDto } from './search-customer-requests-params.dto';
3
- export type { CustomerRequestStages } from './customer-request-stages';
4
- export type { CustomerRequestAutocompleteParamsDto } from './customer-request-autocomplete-params.dto';
5
- export type { ArchiveCustomerRequestDto } from './archive-customer-request.dto';
6
- export type { CreateCustomerRequestWithoutBuyerDto } from './create-customer-request-without-buyer.type';
7
- export type { CreateCustomerRequestDto } from './create-customer-request.type';
@@ -1,9 +0,0 @@
1
- import { PaginatedParams } from '../common/paginated-list.type';
2
-
3
- export type SearchCustomerRequestsParamsDto = PaginatedParams & {
4
- customerId?: number;
5
- realtorIds?: number[];
6
- representationIds?: number[];
7
- officeIds?: number[];
8
- isArchived?: boolean;
9
- };
@@ -1,8 +0,0 @@
1
- import { CreateCustomerRequestDto } from './create-customer-request.type';
2
-
3
- export type UpdateCustomerRequestDto = Partial<
4
- Omit<CreateCustomerRequestDto, 'buyerId' | 'realtorId' | 'handlingId'>
5
- > & {
6
- vnpTillDate?: string;
7
- vnpAnnotation?: string;
8
- };
@@ -1,17 +0,0 @@
1
- import { CustomerRequestSelectionEntity } from '../core/customer-request-selection.type';
2
-
3
- export type CustomerRequestSelectionDto = Omit<
4
- CustomerRequestSelectionEntity,
5
- | 'updateStatus'
6
- | 'request'
7
- | 'geo'
8
- | 'topzone'
9
- | 'complex'
10
- | 'street'
11
- | 'customerProperties'
12
- | 'presentation'
13
- | 'updatedAt'
14
- | 'deletedAt'
15
- | 'createdAt'
16
- | 'id'
17
- >;
@@ -1,2 +0,0 @@
1
- export { CustomerRequestSelectionDto } from './customer-request-selection.dto';
2
- export { UpdateCustomerRequestSelectionDto } from './update-customer-request-selection.dto';
@@ -1,4 +0,0 @@
1
- import { CustomerRequestSelectionEntity } from '../core/customer-request-selection.type';
2
-
3
- export type UpdateCustomerRequestSelectionDto =
4
- Partial<CustomerRequestSelectionEntity>;
@@ -1,8 +0,0 @@
1
- import { DealExpense } from './deal-expense.type';
2
-
3
- export type BreakDealPartiallyDto = {
4
- breakReason: string;
5
- servicesBreakRestSum: number;
6
- expenses?: DealExpense[];
7
- willParticipantsReceiveSalary: boolean;
8
- };
@@ -1,3 +0,0 @@
1
- export type BreakDealDto = {
2
- breakReason: string;
3
- };
@@ -1,4 +0,0 @@
1
- export type CheckIfDealNumberExistsParamsDto = {
2
- dealNumber: number;
3
- officeId: number;
4
- };
@@ -1,62 +0,0 @@
1
- import { DealEntity } from '../core/deal.type';
2
-
3
- export type CreateDealDto = Pick<
4
- DealEntity,
5
- | 'dealFormat'
6
- | 'mortgageProgram'
7
- | 'payer'
8
- | 'realtySubtype'
9
- | 'currency'
10
- | 'ownerPrice'
11
- | 'buyerServicesSum'
12
- | 'buyerServicesPrepaymentSum'
13
- | 'sellerServicesSum'
14
- | 'sellerServicesPrepaymentSum'
15
- | 'servicesSumWithOtherAgency'
16
- | 'changePriceReason'
17
- | 'dealNumber'
18
- | 'prepaymentDate'
19
- | 'initialSettlementDate'
20
- | 'currencyConvertCoefficient'
21
- | 'prepaymentAmount'
22
- | 'actualSettlementDate'
23
- | 'legalAddress'
24
- | 'houseNumber'
25
- | 'houseNumberAdd'
26
- | 'houseNumberTemp'
27
- | 'apartmentNumber'
28
- | 'apartmentNumberAdd'
29
- | 'apartmentNumberTemp'
30
- | 'corps'
31
- | 'isPrepaymentForColleague'
32
- | 'isPropertyNotInDb'
33
- | 'buyers'
34
- | 'sellers'
35
- | 'replacementBuyer'
36
- | 'buyerPays'
37
- | 'sellerPays'
38
- | 'buyerPenaltyPercent'
39
- | 'sellerPenaltyPercent'
40
- | 'stockSum'
41
- | 'sellerMustHave'
42
- | 'newBuildingContractName'
43
- | 'newBuildingContractNumber'
44
- | 'newBuildingContractDate'
45
- | 'keysTransferDate'
46
- | 'paysInquiryDate'
47
- | 'inhabitorsInquiryDate'
48
- | 'form2AdditionalAgreementText'
49
- | 'minServicesSumByPriceList'
50
- | 'dealTypeId'
51
- | 'userId'
52
- | 'geoId'
53
- | 'streetId'
54
- | 'buyerRealtorId'
55
- | 'sellerRealtorId'
56
- | 'propertyId'
57
- | 'requestId'
58
- | 'officeId'
59
- | 'notaryId'
60
- | 'agencyId'
61
- | 'attorneyId'
62
- >;
@@ -1,16 +0,0 @@
1
- import { Currency } from '../common/currency.enum';
2
-
3
- export type DealAggregationRowDto = {
4
- amount: number;
5
- minSum: number;
6
- cnt: number;
7
- date: string;
8
- officeId: number;
9
- centerId: number;
10
- currency: Currency;
11
- participantId: number;
12
- sum: number;
13
- minSun: number;
14
- dealId: number;
15
- dealNumber: string;
16
- };
@@ -1,5 +0,0 @@
1
- export enum DealAgreementType {
2
- Donation = 'donation',
3
- SalePurchase = 'salePurchase',
4
- Investment = 'investment',
5
- }
@@ -1,6 +0,0 @@
1
- import { DealStatus } from './deal-status.enum';
2
- import { AutocompleteParams } from '../common/autocomplete-params.type';
3
-
4
- export type DealAutocompleteParamsDto = AutocompleteParams & {
5
- dealStatus: DealStatus;
6
- };
@@ -1,12 +0,0 @@
1
- import { Phone } from '../common/phone.type';
2
- import { PartyType } from './party-type.enum';
3
-
4
- export type DealBuyer = {
5
- partyType: PartyType;
6
- fullName: string;
7
- inn: number;
8
- passport: string;
9
- phone: Phone;
10
- email?: string;
11
- address?: string;
12
- };
@@ -1,7 +0,0 @@
1
- import { DealDocumentEnum } from './deal-document.enum';
2
- import { DealDocumentEntity } from '../core/deal-document.type';
3
-
4
- export type DealDocumentDto = Omit<DealDocumentEntity, 'deal'> & {
5
- documentType: DealDocumentEnum;
6
- isESignature?: boolean;
7
- };
@@ -1,22 +0,0 @@
1
- export enum DealDocumentEnum {
2
- Form10 = 'form10',
3
- Form11 = 'form11',
4
- Form13 = 'form13',
5
- Form14 = 'form14',
6
- Form15 = 'form15',
7
- Form2 = 'form2',
8
- Form2Additional = 'form2Additional',
9
- Form2N = 'form2N',
10
- Form7Buyer = 'form7Buyer',
11
- Form7Seller = 'form7Seller',
12
- Form7NBuyer = 'form7NBuyer',
13
- Form7NSeller = 'form7NSeller',
14
- Form9ABuyer = 'form9ABuyer',
15
- Form9ASeller = 'form9ASeller',
16
- Form9Buyer = 'form9Buyer',
17
- Form9Seller = 'form9Seller',
18
- ReplaceBuyerForm2 = 'replaceBuyerForm2',
19
- ReplaceBuyerForm7 = 'replaceBuyerForm7',
20
- ServicesBillAdvance = 'servicesBillAdvance',
21
- ServicesBillRest = 'servicesBillRest',
22
- }
@@ -1,7 +0,0 @@
1
- import { DealExpensesCategory } from './deal-expenses-category.enum';
2
-
3
- export type DealExpenseDto = {
4
- category: DealExpensesCategory;
5
- sum: number;
6
- description?: string;
7
- };
@@ -1,7 +0,0 @@
1
- import { DealExpensesCategory } from './deal-expenses-category.enum';
2
-
3
- export type DealExpense = {
4
- category: DealExpensesCategory;
5
- sum: number;
6
- description?: string;
7
- };
@@ -1,3 +0,0 @@
1
- export enum DealExpensesCategory {
2
- Additional = 'additional',
3
- }
@@ -1,14 +0,0 @@
1
- export enum DealFormat {
2
- FullDealOneRealtor = 1,
3
- HalvesInOneOffice = 2,
4
- HalfWithOtherOffice = 3,
5
- HalfWithOtherAgencyBuyer = 4,
6
- TwoOfficesWithOtherAgencyBuyer50To50 = 5,
7
- HalfWithOtherAgencySeller = 6,
8
- TwoRealtorsWithOtherAgencySeller50To50 = 7,
9
- TwoRealtorsWithOtherAgencyBuyer20To80 = 8,
10
- TwoRealtorsWithOtherAgencyBuyer40To60 = 9,
11
- TwoRealtorsWithOtherAgencySeller20To80 = 10,
12
- TwoRealtorsWithOtherAgencySeller40To60 = 11,
13
- OpenAddressPart75To25 = 12,
14
- }
@@ -1,11 +0,0 @@
1
- import { Role } from '../roles/role.enum';
2
-
3
- export type DealOfficesTreeDto = {
4
- officeId: number;
5
- officeNumber: string;
6
- centerId: number;
7
- centerName: string;
8
- contacts: string;
9
- fullName: string;
10
- roleKey: Role;
11
- };
@@ -1,5 +0,0 @@
1
- export enum DealParticipantType {
2
- Agency = 'agency',
3
- BuyerRealtor = 'buyerRealtor',
4
- SellerRealtor = 'sellerRealtor',
5
- }
@@ -1,5 +0,0 @@
1
- export enum DealPayer {
2
- Buyer = 'buyer',
3
- Seller = 'seller',
4
- Both = 'both',
5
- }
@@ -1,13 +0,0 @@
1
- import { PartyType } from './party-type.enum';
2
- import { Phone } from '../common/phone.type';
3
-
4
- export type DealSellerDto = {
5
- partyType: PartyType;
6
- fullName: string;
7
- passport: string;
8
- inn: number;
9
- email?: string;
10
- phone: Phone;
11
- address?: string;
12
- bankDetails?: string;
13
- };
@@ -1,13 +0,0 @@
1
- import { Phone } from '../common/phone.type';
2
- import { PartyType } from './party-type.enum';
3
-
4
- export type DealSeller = {
5
- partyType: PartyType;
6
- fullName: string;
7
- inn: number;
8
- passport: string;
9
- phone: Phone;
10
- email?: string;
11
- address?: string;
12
- bankDetails?: string;
13
- };
@@ -1,6 +0,0 @@
1
- export enum DealStatus {
2
- Prepayment = 'prepayment',
3
- Settled = 'settled',
4
- Broken = 'broken',
5
- PartiallyBroken = 'partiallyBroken',
6
- }
@@ -1,4 +0,0 @@
1
- export enum DealTransactionEnum {
2
- Accrual = 'accrual',
3
- Reversal = 'reversal',
4
- }
@@ -1,4 +0,0 @@
1
- export type DetailedDealResultsDateResultsDto = {
2
- count: number;
3
- sum: number;
4
- };
@@ -1,14 +0,0 @@
1
- import { Currency } from '../common/currency.enum';
2
- import { OfficeCenterEntity } from '../core/office-center.type';
3
- import { DetailedDealResultsOfficeResultsDto } from './detailed-deal-results-office-results.dto';
4
-
5
- export type DetailedDealResultsOfficeCenterResultsDto = {
6
- officeCenter: OfficeCenterEntity;
7
- count: number;
8
- sum: number;
9
- minSumByPriceList: number;
10
- lostSum: number;
11
- currency: Currency;
12
- manager: string;
13
- offices: DetailedDealResultsOfficeResultsDto[];
14
- };
@@ -1,15 +0,0 @@
1
- import { Currency } from '../common/currency.enum';
2
- import { OfficeEntity } from '../core/office.type';
3
- import { DetailedDealResultsParticipantDto } from './detailed-deal-results-participant.dto';
4
-
5
- export type DetailedDealResultsOfficeResultsDto = {
6
- office: OfficeEntity;
7
- idx: number;
8
- count: number;
9
- sum: number;
10
- minSumByPriceList: number;
11
- lostSum: number;
12
- currency: Currency;
13
- participants: Record<string, DetailedDealResultsParticipantDto[]>;
14
- directors: string[];
15
- };
@@ -1,8 +0,0 @@
1
- import { DateFilterParams } from '../common/date-filter-params.type';
2
-
3
- export type DetailedDealResultsParamsDto = {
4
- prepaymentDate?: DateFilterParams;
5
- representationIds?: number[];
6
- includeOfficeIds?: number[];
7
- excludeOfficeIds?: number[];
8
- };
@@ -1,13 +0,0 @@
1
- import { Currency } from '../common/currency.enum';
2
- import { DealParticipantEntity } from '../core/deal-participant.type';
3
- import { DealEntity } from '../core/deal.type';
4
-
5
- export type DetailedDealResultsParticipantDto = {
6
- participant: DealParticipantEntity;
7
- deal: DealEntity;
8
- count: number;
9
- sum: number;
10
- minSumByPriceList: number;
11
- lostSum: number;
12
- currency: Currency;
13
- };
@@ -1,9 +0,0 @@
1
- import { DetailedDealResultsDateResultsDto } from './detailed-deal-results-date-results.dto';
2
- import { DetailedDealResultsOfficeCenterResultsDto } from './detailed-deal-results-office-center-results.dto';
3
-
4
- export type DetailedDealResultsDto = {
5
- officeCenterResults: DetailedDealResultsOfficeCenterResultsDto[];
6
- dateResults: Record<string, DetailedDealResultsDateResultsDto>;
7
- count: number;
8
- sum: number;
9
- };
@@ -1,36 +0,0 @@
1
- // Enums
2
- export { DealAgreementType } from './deal-agreement-type.enum';
3
- export { DealDocumentEnum } from './deal-document.enum';
4
- export { DealExpensesCategory } from './deal-expenses-category.enum';
5
- export { DealFormat } from './deal-format.enum';
6
- export { DealParticipantType } from './deal-participant-type.enum';
7
- export { DealPayer } from './deal-payer.enum';
8
- export { DealStatus } from './deal-status.enum';
9
- export { DealTransactionEnum } from './deal-transaction.enum';
10
- export { MortgageProgram } from './mortgage-program.enum';
11
- export { PartyType } from './party-type.enum';
12
-
13
- // Types
14
- export { BreakDealDto } from './break-deal.dto';
15
- export { BreakDealPartiallyDto } from './break-deal-partially.dto';
16
- export { CheckIfDealNumberExistsParamsDto } from './check-if-deal-number-exists-params.dto';
17
- export { CreateDealDto } from './create-deal.dto';
18
- export { DealAggregationRowDto } from './deal-aggregation-row.dto';
19
- export { DealAutocompleteParamsDto } from './deal-autocomplete-params.dto';
20
- export { DealBuyer } from './deal-buyer.type';
21
- export { DealDocumentDto } from './deal-document.dto';
22
- export { DealExpense } from './deal-expense.type';
23
- export { DealExpenseDto } from './deal-expense.dto';
24
- export { DealOfficesTreeDto } from './deal-offices-tree.dto';
25
- export { DealSeller } from './deal-seller.type';
26
- export { DealSellerDto } from './deal-seller.dto';
27
- export { DetailedDealResultsDateResultsDto } from './detailed-deal-results-date-results.dto';
28
- export { DetailedDealResultsDto } from './detailed-deal-results.dto';
29
- export { DetailedDealResultsOfficeCenterResultsDto } from './detailed-deal-results-office-center-results.dto';
30
- export { DetailedDealResultsOfficeResultsDto } from './detailed-deal-results-office-results.dto';
31
- export { DetailedDealResultsParamsDto } from './detailed-deal-results-params.dto';
32
- export { DetailedDealResultsParticipantDto } from './detailed-deal-results-participant.dto';
33
- export { SearchDealParamsDto, DealSortByField } from './search-deal-params.dto';
34
- export { SendDealDocumentForSignatureDto } from './send-deal-document-for-signature.dto';
35
- export { SettleDealDto } from './settle-deal.dto';
36
- export { UpdateDealDto } from './update-deal.dto';
@@ -1,8 +0,0 @@
1
- export enum MortgageProgram {
2
- Eoselia3 = 'eoselia3',
3
- Eoselia7 = 'eoselia7',
4
- Erecovery = 'erecovery',
5
- DMZH = 'dmzh',
6
- Resolution = 'resolution',
7
- AnotherCertificate = 'anotherCertificate',
8
- }
@@ -1,5 +0,0 @@
1
- export enum PartyType {
2
- Individual = 'individual',
3
- LegalEntity = 'legalEntity',
4
- Guarantor = 'guarantor',
5
- }
@@ -1,30 +0,0 @@
1
- import { DealStatus } from './deal-status.enum';
2
- import { SortingParams, SortOrder } from '../common/sorting-params.type';
3
- import { PaginatedParams } from '../common/paginated-list.type';
4
- import { DateFilterParams } from '../common/date-filter-params.type';
5
-
6
- export enum DealSortByField {
7
- DealNumber = 'dealNumber',
8
- OfficeNumber = 'officeNumber',
9
- DealType = 'dealType',
10
- ServicesPrepaymentSum = 'servicesPrepaymentSum',
11
- InitialServicesRestSum = 'initialServicesRestSum',
12
- ActualServicesRestSum = 'actualServicesRestSum',
13
- Currency = 'currency',
14
- PrepaymentDate = 'prepaymentDate',
15
- InitialSettlementDate = 'initialSettlementDate',
16
- ActualSettlementDate = 'actualSettlementDate',
17
- CreatedAt = 'createdAt',
18
- Status = 'status',
19
- }
20
-
21
- export type SearchDealParamsDto = PaginatedParams &
22
- SortingParams<DealSortByField> & {
23
- statuses?: DealStatus[];
24
- prepaymentDate?: DateFilterParams;
25
- initialSettlementDate?: DateFilterParams;
26
- representationIds?: number[];
27
- officeIds?: number[];
28
- sortBy?: DealSortByField;
29
- sortOrder?: SortOrder;
30
- };
@@ -1,6 +0,0 @@
1
- import { DealDocumentEnum } from './deal-document.enum';
2
-
3
- export type SendDealDocumentForSignatureDto = {
4
- documentType: DealDocumentEnum;
5
- dealId: number;
6
- };
@@ -1,16 +0,0 @@
1
- import { DealAgreementType } from './deal-agreement-type.enum';
2
- import { DealExpenseDto } from './deal-expense.dto';
3
-
4
- export type SettleDealDto = {
5
- actualSettlementDate: string;
6
- actualServicesRestSum: number;
7
- servicesSumChangeReason?: string;
8
- checkOutPledge: number;
9
- checkOutPledgeReturnDate?: string;
10
- expenses?: DealExpenseDto[];
11
- notaryId?: number;
12
- notaryChoiceReason?: string;
13
- agreementType: DealAgreementType;
14
- agreementSum: number;
15
- appraiserId: number;
16
- };
@@ -1,22 +0,0 @@
1
- import { CreateDealDto } from './create-deal.dto';
2
-
3
- export type UpdateDealDto = Partial<
4
- Pick<
5
- CreateDealDto,
6
- | 'initialSettlementDate'
7
- | 'keysTransferDate'
8
- | 'paysInquiryDate'
9
- | 'inhabitorsInquiryDate'
10
- | 'newBuildingContractDate'
11
- | 'newBuildingContractNumber'
12
- | 'newBuildingContractName'
13
- | 'stockSum'
14
- | 'buyers'
15
- | 'sellers'
16
- | 'replacementBuyer'
17
- | 'form2AdditionalAgreementText'
18
- >
19
- > & {
20
- changeInitialSettlementDateReason?: string;
21
- servicesPrepaymentSum?: number;
22
- };
@@ -1,3 +0,0 @@
1
- export type DealTypeDropdownParamsDto = {
2
- isPropertyInDb?: boolean;
3
- };
@@ -1 +0,0 @@
1
- export { DealTypeDropdownParamsDto } from './deal-type-dropdown-params.dto';
@@ -1,4 +0,0 @@
1
- export enum DirectionEnum {
2
- Sale = 'sale',
3
- Rent = 'rent',
4
- }
@@ -1 +0,0 @@
1
- export { DirectionEnum } from './direction-type.enum';
@@ -1,3 +0,0 @@
1
- export enum BuyerDocumentType {
2
- ExclusiveBuyerAgreement = 'exclusiveBuyerAgreement',
3
- }
@@ -1,4 +0,0 @@
1
- export type EmployeeAgreementDto = {
2
- userId: number;
3
- attorneyId: number;
4
- };
@@ -1,7 +0,0 @@
1
- import { BuyerDocumentType } from './buyer-document-type.enum';
2
-
3
- export type GetBuyerDocumentDto = {
4
- buyerId: number;
5
- documentType: BuyerDocumentType;
6
- isESignature?: boolean;
7
- };
@@ -1,7 +0,0 @@
1
- import { PropertyDocumentType } from './property-document-type.enum';
2
-
3
- export type GetPropertyDocumentDto = {
4
- propertyId: number;
5
- documentType: PropertyDocumentType;
6
- isESignature?: boolean;
7
- };
@@ -1,7 +0,0 @@
1
- export { EmployeeAgreementDto } from './employee-agreement.dto';
2
- export { GetBuyerDocumentDto } from './get-buyer-document.dto';
3
- export { GetPropertyDocumentDto } from './get-property-document.dto';
4
- export { NonDisclosureAgreementDto } from './non-disclosure-agreement.dto';
5
- export { SendBuyerDocumentForSignatureDto } from './send-buyer-document-for-signature.dto';
6
- export { SendPropertyDocumentForSignatureDto } from './send-property-document-for-signature.dto';
7
- export { BuyerDocumentType } from './buyer-document-type.enum';