vector-shared 1.1.347 → 1.1.349

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 (541) hide show
  1. package/dist/tsconfig.tsbuildinfo +1 -1
  2. package/dist/types/core/mismatch-decision.type.d.ts +0 -4
  3. package/dist/types/permissions/mismatch.permissions.d.ts +5 -0
  4. package/dist/types/permissions/mismatch.permissions.js +9 -0
  5. package/dist/types/permissions/mismatch.permissions.js.map +1 -0
  6. package/dist/types/permissions/permission.enum.d.ts +4 -1
  7. package/dist/types/permissions/permission.enum.js +4 -2
  8. package/dist/types/permissions/permission.enum.js.map +1 -1
  9. package/package.json +4 -1
  10. package/.prettierignore +0 -101
  11. package/.prettierrc +0 -15
  12. package/bitbucket-pipelines.yml +0 -37
  13. package/constants/auth-service.constants.ts +0 -12
  14. package/constants/customer-service.constants.ts +0 -28
  15. package/index.ts +0 -10
  16. package/tsconfig.json +0 -23
  17. package/types/advert-source/advert-source-dropdown-search.dto.model.ts +0 -3
  18. package/types/advert-source/index.ts +0 -1
  19. package/types/agency/agency-search.type.ts +0 -4
  20. package/types/agency/create-agency.type.ts +0 -6
  21. package/types/agency/index.ts +0 -1
  22. package/types/apartment-complex/expression.type.ts +0 -14
  23. package/types/apartment-complex/index.ts +0 -2
  24. package/types/apartment-complex/manager.type.ts +0 -5
  25. package/types/archive-reasons/archive-reason-destination.enum.ts +0 -7
  26. package/types/archive-reasons/archive-reason-dropdown-params.type.ts +0 -5
  27. package/types/archive-reasons/index.ts +0 -2
  28. package/types/attention-required/attention-required-office-statistic-param.type.ts +0 -22
  29. package/types/attention-required/attention-required-search.type.ts +0 -6
  30. package/types/attention-required/attention-required-statistic-param.type.ts +0 -9
  31. package/types/attention-required/attention-required-statistic.type.ts +0 -14
  32. package/types/attention-required/attention-required-update.type.ts +0 -6
  33. package/types/attention-required/attention-required-with-changes.type.ts +0 -22
  34. package/types/attention-required/index.ts +0 -15
  35. package/types/attorney/attorney-search.dto.ts +0 -3
  36. package/types/attorney/attorney-type.enum.ts +0 -4
  37. package/types/attorney/attorney.dto.ts +0 -13
  38. package/types/attorney/index.ts +0 -3
  39. package/types/attributes/apartment-info-attributes.type.ts +0 -3
  40. package/types/attributes/apartment-type.enum.ts +0 -4
  41. package/types/attributes/attribute-category.enum.ts +0 -18
  42. package/types/attributes/attribute-config.type.ts +0 -18
  43. package/types/attributes/attribute-destination.enum.ts +0 -6
  44. package/types/attributes/attribute-key.enum.ts +0 -16
  45. package/types/attributes/attribute-representation.type.ts +0 -6
  46. package/types/attributes/attribute-search.type.ts +0 -16
  47. package/types/attributes/attribute-type.enum.ts +0 -12
  48. package/types/attributes/attribute-unit.enum.ts +0 -8
  49. package/types/attributes/attribute-value.type.ts +0 -3
  50. package/types/attributes/attribute.type.ts +0 -28
  51. package/types/attributes/customer-requests-attributes.type.ts +0 -5
  52. package/types/attributes/deal-type.enum.ts +0 -4
  53. package/types/attributes/index.ts +0 -24
  54. package/types/attributes/male.enum.ts +0 -7
  55. package/types/attributes/object-type.enum.ts +0 -9
  56. package/types/attributes/property-atributes.type.ts +0 -19
  57. package/types/attributes/registration-type.enum.ts +0 -6
  58. package/types/auth/index.ts +0 -2
  59. package/types/auth/login-user-with-google.dto.ts +0 -3
  60. package/types/auth/login-user.dto.model.ts +0 -5
  61. package/types/build-company/build-companies-search.dto.ts +0 -18
  62. package/types/build-company/build-company-create.dto.ts +0 -6
  63. package/types/build-company/index.ts +0 -2
  64. package/types/calendar/calendar.type.ts +0 -19
  65. package/types/calendar/duty.create.dto.ts +0 -14
  66. package/types/calendar/duty.search.dto.ts +0 -5
  67. package/types/calendar/duty.update.dto.ts +0 -12
  68. package/types/calendar/index.ts +0 -4
  69. package/types/call/call-data.type.ts +0 -7
  70. package/types/call/call-search.dto.model.ts +0 -7
  71. package/types/call/call-type.enum.ts +0 -11
  72. package/types/call/index.ts +0 -3
  73. package/types/call-redirect/call-redirect-create.type.ts +0 -12
  74. package/types/call-redirect/call-redirect-search.dto.ts +0 -7
  75. package/types/call-redirect/call-redirect-update.type.ts +0 -8
  76. package/types/call-redirect/index.ts +0 -3
  77. package/types/common/autocomplete-params.type.ts +0 -6
  78. package/types/common/currency.enum.ts +0 -7
  79. package/types/common/currency.value.interface.ts +0 -4
  80. package/types/common/date-filter-params.type.ts +0 -4
  81. package/types/common/day.enum.ts +0 -11
  82. package/types/common/dropdown.type.ts +0 -6
  83. package/types/common/index.ts +0 -52
  84. package/types/common/language.enum.ts +0 -5
  85. package/types/common/multi-language-column.type.ts +0 -13
  86. package/types/common/paginated-list.type.ts +0 -12
  87. package/types/common/phone.type.ts +0 -10
  88. package/types/common/point.type.ts +0 -1
  89. package/types/common/query.boolean.ts +0 -6
  90. package/types/common/reaction.enum.ts +0 -4
  91. package/types/common/search-by-phone.type.ts +0 -3
  92. package/types/common/sorting-params.type.ts +0 -9
  93. package/types/common/text-search.type.ts +0 -6
  94. package/types/common/translated-or-raw.type.ts +0 -5
  95. package/types/core/advert-source.type.ts +0 -25
  96. package/types/core/agency.type.ts +0 -12
  97. package/types/core/apartment-complex-image.type.ts +0 -13
  98. package/types/core/apartment-complex-info.type.ts +0 -21
  99. package/types/core/apartment-complex.type.ts +0 -35
  100. package/types/core/appraiser.type.ts +0 -9
  101. package/types/core/archive-reason.type.ts +0 -16
  102. package/types/core/attention-required.type.ts +0 -9
  103. package/types/core/attorney.type.ts +0 -16
  104. package/types/core/attribute-representation.type.ts +0 -10
  105. package/types/core/attribute-value.type.ts +0 -11
  106. package/types/core/attribute.type.ts +0 -25
  107. package/types/core/base-entity.type.ts +0 -6
  108. package/types/core/build-company.type.ts +0 -16
  109. package/types/core/call-redirect.type.ts +0 -19
  110. package/types/core/call.type.ts +0 -20
  111. package/types/core/contract-type.type.ts +0 -8
  112. package/types/core/customer-bucket.type.ts +0 -10
  113. package/types/core/customer-call.type.ts +0 -11
  114. package/types/core/customer-phone.type.ts +0 -10
  115. package/types/core/customer-property-duplicate.type.ts +0 -14
  116. package/types/core/customer-property.type.ts +0 -109
  117. package/types/core/customer-request-selection.type.ts +0 -36
  118. package/types/core/customer-request.type.ts +0 -36
  119. package/types/core/customer.type.ts +0 -52
  120. package/types/core/deal-document.type.ts +0 -17
  121. package/types/core/deal-participant.type.ts +0 -23
  122. package/types/core/deal-transaction.type.ts +0 -21
  123. package/types/core/deal-type-percentage.type.ts +0 -11
  124. package/types/core/deal-type.type.ts +0 -13
  125. package/types/core/deal.type.ts +0 -135
  126. package/types/core/document.type.ts +0 -9
  127. package/types/core/duty.type.ts +0 -17
  128. package/types/core/employee-norm.type.ts +0 -17
  129. package/types/core/feedback-file.type.ts +0 -10
  130. package/types/core/feedback-view.type.ts +0 -10
  131. package/types/core/feedback.type.ts +0 -19
  132. package/types/core/flat.type.ts +0 -22
  133. package/types/core/floor.type.ts +0 -13
  134. package/types/core/geo-topzone.type.ts +0 -9
  135. package/types/core/geo.type.ts +0 -33
  136. package/types/core/google-contact.type.ts +0 -14
  137. package/types/core/handling-listening.type.ts +0 -10
  138. package/types/core/handling.type.ts +0 -39
  139. package/types/core/image.type.ts +0 -22
  140. package/types/core/index.ts +0 -98
  141. package/types/core/layout.type.ts +0 -20
  142. package/types/core/mismatch-aggregate.type.ts +0 -8
  143. package/types/core/mismatch-decision.type.ts +0 -14
  144. package/types/core/mismatch-reason.type.ts +0 -10
  145. package/types/core/mismatch-report.type.ts +0 -14
  146. package/types/core/norm-category.type.ts +0 -11
  147. package/types/core/notary.type.ts +0 -13
  148. package/types/core/notification-preference.type.ts +0 -11
  149. package/types/core/notification.type.ts +0 -13
  150. package/types/core/office-center.type.ts +0 -20
  151. package/types/core/office.type.ts +0 -35
  152. package/types/core/permission.type.ts +0 -11
  153. package/types/core/property-document.type.ts +0 -11
  154. package/types/core/property-image.type.ts +0 -14
  155. package/types/core/property-seo.type.ts +0 -11
  156. package/types/core/queue.type.ts +0 -20
  157. package/types/core/reaction.type.ts +0 -6
  158. package/types/core/realtor-number.type.ts +0 -11
  159. package/types/core/representation.type.ts +0 -18
  160. package/types/core/request-presentation-property.type.ts +0 -11
  161. package/types/core/request-presentation.type.ts +0 -10
  162. package/types/core/request-property.type.ts +0 -15
  163. package/types/core/role-permission-group.type.ts +0 -10
  164. package/types/core/role.type.ts +0 -14
  165. package/types/core/section.type.ts +0 -13
  166. package/types/core/street.type.ts +0 -28
  167. package/types/core/telegram-chat.type.ts +0 -9
  168. package/types/core/telegram-message.type.ts +0 -11
  169. package/types/core/template-comment-reaction.type.ts +0 -7
  170. package/types/core/template-comment.type.ts +0 -16
  171. package/types/core/template-office.type.ts +0 -10
  172. package/types/core/template-participant.type.ts +0 -10
  173. package/types/core/template-reaction.type.ts +0 -7
  174. package/types/core/template-representation.type.ts +0 -10
  175. package/types/core/template-role.type.ts +0 -10
  176. package/types/core/template-view.type.ts +0 -10
  177. package/types/core/template.type.ts +0 -38
  178. package/types/core/time-metric-entity.type.ts +0 -5
  179. package/types/core/topzone.type.ts +0 -20
  180. package/types/core/unique-id-entity.type.ts +0 -3
  181. package/types/core/uploaded-file-entity.type.ts +0 -10
  182. package/types/core/user-action-log.type.ts +0 -15
  183. package/types/core/user-attorney.type.ts +0 -27
  184. package/types/core/user-office.type.ts +0 -11
  185. package/types/core/user-permission.type.ts +0 -11
  186. package/types/core/user-phone.type.ts +0 -10
  187. package/types/core/user-points-change.type.ts +0 -22
  188. package/types/core/user-points-rule.type.ts +0 -7
  189. package/types/core/user-profile.type.ts +0 -47
  190. package/types/core/user.type.ts +0 -83
  191. package/types/core/valuation.type.ts +0 -9
  192. package/types/core/vnp-reason.type.ts +0 -8
  193. package/types/core/x-customer-notification.type.ts +0 -8
  194. package/types/customer/actiivity-potential.enum.ts +0 -8
  195. package/types/customer/add-cusomer-to-bucket.type.ts +0 -3
  196. package/types/customer/archive-customer.type.ts +0 -6
  197. package/types/customer/attention-required-entity.enum.ts +0 -4
  198. package/types/customer/create-customer.type.ts +0 -27
  199. package/types/customer/customer-autocomplete-params.dto.ts +0 -6
  200. package/types/customer/customer-bucket-scope.enum.ts +0 -7
  201. package/types/customer/customer-by-phone-number-realtor.dto.ts +0 -8
  202. package/types/customer/customer-by-phone-number.dto.ts +0 -21
  203. package/types/customer/customer-property-owner.type.ts +0 -6
  204. package/types/customer/customer-request-selection.enum.ts +0 -4
  205. package/types/customer/customer-type.enum.ts +0 -6
  206. package/types/customer/exclusive-buyer-agreement-data.type.ts +0 -18
  207. package/types/customer/get-customer-bucket-params.type.ts +0 -3
  208. package/types/customer/index.ts +0 -38
  209. package/types/customer/search-buyer-params.type.ts +0 -26
  210. package/types/customer/search-customer-by-phone.dto.ts +0 -8
  211. package/types/customer/update-customer.dto.ts +0 -3
  212. package/types/customer-call/customer-call.type.ts +0 -7
  213. package/types/customer-call/index.ts +0 -1
  214. package/types/customer-property/archive-customer-property.dto.ts +0 -6
  215. package/types/customer-property/cadastral-number.type.ts +0 -6
  216. package/types/customer-property/complex.type.ts +0 -4
  217. package/types/customer-property/create-customer-additional-owner.dto.ts +0 -6
  218. package/types/customer-property/create-customer-property-without-seller.type.ts +0 -6
  219. package/types/customer-property/create-customer-property.type.ts +0 -48
  220. package/types/customer-property/create-customer-request-without-buyer.dto.ts +0 -6
  221. package/types/customer-property/customer-properties-grouped-by-address-params.dto.ts +0 -8
  222. package/types/customer-property/customer-properties-grouped-by-address.dto.ts +0 -6
  223. package/types/customer-property/customer-properties-grouped-by-floor.dto.ts +0 -6
  224. package/types/customer-property/customer-property-autocomplete-params.dto.ts +0 -8
  225. package/types/customer-property/customer-property-check-duplicate-dto.ts +0 -19
  226. package/types/customer-property/customer-property-check-exclusive-exists.dto.ts +0 -6
  227. package/types/customer-property/customer-property-confirm-exclusive.dto.ts +0 -3
  228. package/types/customer-property/customer-property-document.dto.ts +0 -5
  229. package/types/customer-property/customer-property-image.dto.ts +0 -6
  230. package/types/customer-property/customer-property-search-apartment-dto.ts +0 -9
  231. package/types/customer-property/customer-property-search-area-dto.ts +0 -5
  232. package/types/customer-property/customer-property-search-by-cadastral-number.dto.ts +0 -5
  233. package/types/customer-property/customer-property-search-commercial-dto.ts +0 -8
  234. package/types/customer-property/customer-property-search-house-dto.ts +0 -6
  235. package/types/customer-property/customer-property-stage.ts +0 -10
  236. package/types/customer-property/exclusive-property-agreement-data.dto.ts +0 -8
  237. package/types/customer-property/exclusive-property-agreement-data.type.ts +0 -8
  238. package/types/customer-property/index.ts +0 -58
  239. package/types/customer-property/property-classification.enum.ts +0 -5
  240. package/types/customer-property/property-document-category.enum.ts +0 -8
  241. package/types/customer-property/property-duplicate-status.enum.ts +0 -6
  242. package/types/customer-property/property-exclusive-status.enum.ts +0 -5
  243. package/types/customer-property/realty-subtype.enum.ts +0 -22
  244. package/types/customer-property/realty-type.enum.ts +0 -6
  245. package/types/customer-property/search-customer-property-by-attributes.dto.ts +0 -13
  246. package/types/customer-property/search-customer-property-params.dto.ts +0 -38
  247. package/types/customer-property/seo.dto.ts +0 -10
  248. package/types/customer-property/update-customer-property.dto.ts +0 -13
  249. package/types/customer-property-duplicate/customer-property-duplicate.dto.ts +0 -12
  250. package/types/customer-property-duplicate/index.ts +0 -4
  251. package/types/customer-request/archive-customer-request.dto.ts +0 -5
  252. package/types/customer-request/create-customer-request-without-buyer.type.ts +0 -6
  253. package/types/customer-request/create-customer-request.type.ts +0 -17
  254. package/types/customer-request/customer-request-autocomplete-params.dto.ts +0 -8
  255. package/types/customer-request/customer-request-stages.ts +0 -7
  256. package/types/customer-request/index.ts +0 -7
  257. package/types/customer-request/search-customer-requests-params.dto.ts +0 -9
  258. package/types/customer-request/update-customer-request.dto.ts +0 -8
  259. package/types/customer-request-selection/customer-request-selection.dto.ts +0 -17
  260. package/types/customer-request-selection/index.ts +0 -2
  261. package/types/customer-request-selection/update-customer-request-selection.dto.ts +0 -4
  262. package/types/deal/break-deal-partially.dto.ts +0 -8
  263. package/types/deal/break-deal.dto.ts +0 -3
  264. package/types/deal/check-if-deal-number-exists-params.dto.ts +0 -4
  265. package/types/deal/create-deal.dto.ts +0 -62
  266. package/types/deal/deal-aggregation-row.dto.ts +0 -16
  267. package/types/deal/deal-agreement-type.enum.ts +0 -5
  268. package/types/deal/deal-autocomplete-params.dto.ts +0 -6
  269. package/types/deal/deal-buyer.type.ts +0 -12
  270. package/types/deal/deal-document.dto.ts +0 -7
  271. package/types/deal/deal-document.enum.ts +0 -22
  272. package/types/deal/deal-expense.dto.ts +0 -7
  273. package/types/deal/deal-expense.type.ts +0 -7
  274. package/types/deal/deal-expenses-category.enum.ts +0 -3
  275. package/types/deal/deal-format.enum.ts +0 -14
  276. package/types/deal/deal-offices-tree.dto.ts +0 -11
  277. package/types/deal/deal-participant-type.enum.ts +0 -5
  278. package/types/deal/deal-payer.enum.ts +0 -5
  279. package/types/deal/deal-seller.dto.ts +0 -13
  280. package/types/deal/deal-seller.type.ts +0 -13
  281. package/types/deal/deal-status.enum.ts +0 -6
  282. package/types/deal/deal-transaction.enum.ts +0 -4
  283. package/types/deal/detailed-deal-results-date-results.dto.ts +0 -4
  284. package/types/deal/detailed-deal-results-office-center-results.dto.ts +0 -14
  285. package/types/deal/detailed-deal-results-office-results.dto.ts +0 -15
  286. package/types/deal/detailed-deal-results-params.dto.ts +0 -8
  287. package/types/deal/detailed-deal-results-participant.dto.ts +0 -13
  288. package/types/deal/detailed-deal-results.dto.ts +0 -9
  289. package/types/deal/index.ts +0 -36
  290. package/types/deal/mortgage-program.enum.ts +0 -8
  291. package/types/deal/party-type.enum.ts +0 -5
  292. package/types/deal/search-deal-params.dto.ts +0 -30
  293. package/types/deal/send-deal-document-for-signature.dto.ts +0 -6
  294. package/types/deal/settle-deal.dto.ts +0 -16
  295. package/types/deal/update-deal.dto.ts +0 -22
  296. package/types/deal-type/deal-type-dropdown-params.dto.ts +0 -3
  297. package/types/deal-type/index.ts +0 -1
  298. package/types/direction/direction-type.enum.ts +0 -4
  299. package/types/direction/index.ts +0 -1
  300. package/types/documents/buyer-document-type.enum.ts +0 -3
  301. package/types/documents/employee-agreement.dto.ts +0 -4
  302. package/types/documents/get-buyer-document.dto.ts +0 -7
  303. package/types/documents/get-property-document.dto.ts +0 -7
  304. package/types/documents/index.ts +0 -7
  305. package/types/documents/non-disclosure-agreement.dto.ts +0 -4
  306. package/types/documents/property-document-type.enum.ts +0 -3
  307. package/types/documents/send-buyer-document-for-signature.dto.ts +0 -6
  308. package/types/documents/send-property-document-for-signature.dto.ts +0 -6
  309. package/types/feedback/feedback-category.enum.ts +0 -5
  310. package/types/feedback/feedback-create.dto.ts +0 -6
  311. package/types/feedback/feedback-search.dto.ts +0 -12
  312. package/types/feedback/feedback-status.enum.ts +0 -5
  313. package/types/feedback/index.ts +0 -4
  314. package/types/flats/flat-create.dto.ts +0 -13
  315. package/types/flats/flat-extended.dto.ts +0 -11
  316. package/types/flats/flat.enum.ts +0 -9
  317. package/types/flats/flats-search.dto.ts +0 -15
  318. package/types/flats/index.ts +0 -5
  319. package/types/flats/payment-calculations.type.ts +0 -7
  320. package/types/floor/floor-create.dto.ts +0 -12
  321. package/types/floor/floors-search.dto.ts +0 -12
  322. package/types/floor/index.ts +0 -2
  323. package/types/geo/bounds.type.ts +0 -11
  324. package/types/geo/enhanced-search-params.dto.ts +0 -7
  325. package/types/geo/enhanced-search-response.dto.ts +0 -10
  326. package/types/geo/geo-keys.dto.ts +0 -4
  327. package/types/geo/geo-level.enum.ts +0 -9
  328. package/types/geo/geo-node.dto.model.ts +0 -11
  329. package/types/geo/geo-search-coordinates.dto.model.ts +0 -4
  330. package/types/geo/geo-search-params.dto.model.ts +0 -8
  331. package/types/geo/geo-type.enum.ts +0 -8
  332. package/types/geo/geo.dto.model.ts +0 -3
  333. package/types/geo/index.ts +0 -11
  334. package/types/geo/promotion-geo.enum.ts +0 -8
  335. package/types/google/google-contact-type.enum.ts +0 -5
  336. package/types/handling/create-manual-handling.dto.ts +0 -13
  337. package/types/handling/handling-archive.dto.ts +0 -6
  338. package/types/handling/handling-check-black-list.dto.ts +0 -3
  339. package/types/handling/handling-recipient.enum.ts +0 -6
  340. package/types/handling/handling-search.dto.ts +0 -33
  341. package/types/handling/handling-type.enum.ts +0 -13
  342. package/types/handling/handling-update.dto.ts +0 -13
  343. package/types/handling/handling.dto.ts +0 -17
  344. package/types/handling/index.ts +0 -8
  345. package/types/image/apartment-complex-image-category.enum.ts +0 -7
  346. package/types/image/bind-apartment-image-params.dto.ts +0 -6
  347. package/types/image/bind-builder-image.dto.ts +0 -1
  348. package/types/image/bind-image.dto.ts +0 -1
  349. package/types/image/bulk-bind-images.dto.ts +0 -11
  350. package/types/image/image-category.enum.ts +0 -5
  351. package/types/image/index.ts +0 -9
  352. package/types/image/reorder-images.dto.ts +0 -8
  353. package/types/index.ts +0 -685
  354. package/types/layout/create-layout.dto.ts +0 -8
  355. package/types/layout/index.ts +0 -4
  356. package/types/layout/layout.types.enum.ts +0 -8
  357. package/types/layout/search-layouts.dto.ts +0 -17
  358. package/types/layout/update-layout.dto.ts +0 -13
  359. package/types/mistmatch/mismatch-action.types.enum.ts +0 -5
  360. package/types/node-env/node-env.enum.ts +0 -4
  361. package/types/norm-categories/employee-norm.dto.ts +0 -6
  362. package/types/norm-categories/index.ts +0 -3
  363. package/types/norm-categories/norm-categories.enum.ts +0 -11
  364. package/types/norm-categories/norm-category.dto.ts +0 -3
  365. package/types/notary/create-notary.dto.ts +0 -3
  366. package/types/notary/index.ts +0 -8
  367. package/types/notary/notary-contacts.type.ts +0 -7
  368. package/types/notary/notary-dropdown-params.dto.ts +0 -3
  369. package/types/notary/search-notary-params.dto.ts +0 -23
  370. package/types/notary/update-notary.dto.ts +0 -3
  371. package/types/notifications/index.ts +0 -15
  372. package/types/notifications/messenger.enum.ts +0 -4
  373. package/types/notifications/notification.enum.ts +0 -10
  374. package/types/notifications/notifications.ts +0 -63
  375. package/types/notifications/search-notifications-params.dto.ts +0 -3
  376. package/types/office-centers/center-contacts.type.ts +0 -12
  377. package/types/office-centers/day-schedule.type.ts +0 -11
  378. package/types/office-centers/index.ts +0 -9
  379. package/types/office-centers/office-center-dropdown-search.dto.model.ts +0 -3
  380. package/types/office-centers/office-center-search.dto.model.ts +0 -17
  381. package/types/office-centers/office-center.dto.ts +0 -3
  382. package/types/office-centers/send-office-center-location-to-customer.dto.ts +0 -6
  383. package/types/offices/contacts.type.ts +0 -9
  384. package/types/offices/employees.type.ts +0 -11
  385. package/types/offices/index.ts +0 -10
  386. package/types/offices/office-dropdown-params.dto.ts +0 -4
  387. package/types/offices/office-phone-number.dto.ts +0 -5
  388. package/types/offices/office-search.dto.model.ts +0 -17
  389. package/types/offices/office.dto.ts +0 -15
  390. package/types/offices/service.config.ts +0 -19
  391. package/types/parse/column-field-relation.interface.ts +0 -12
  392. package/types/parse/fields.enum.ts +0 -19
  393. package/types/parse/mapping-handler.types.ts +0 -18
  394. package/types/parse/mapping-relation.types.ts +0 -12
  395. package/types/parse/mapping.types.ts +0 -32
  396. package/types/parse/parse-fields.enum.ts +0 -19
  397. package/types/parse/row-item.interfaces.ts +0 -26
  398. package/types/parse/schemes.enum.ts +0 -4
  399. package/types/permissions/advert-permissions.enum.ts +0 -3
  400. package/types/permissions/analytic-permissions.enum.ts +0 -5
  401. package/types/permissions/attribute-permissions.enum.ts +0 -9
  402. package/types/permissions/buyer-permissions.enum.ts +0 -14
  403. package/types/permissions/customer-property-permissions.enum..ts +0 -16
  404. package/types/permissions/customer-request-permissions.enum.ts +0 -8
  405. package/types/permissions/deal-permissions.enum.ts +0 -15
  406. package/types/permissions/duty-permissions.enum.ts +0 -10
  407. package/types/permissions/exported-property-permissions.enum.ts +0 -6
  408. package/types/permissions/feedback-permissions.enum.ts +0 -7
  409. package/types/permissions/funnel-permissions.enum.ts +0 -5
  410. package/types/permissions/geo-permissions.enum.ts +0 -29
  411. package/types/permissions/handling-permissions.enum.ts +0 -10
  412. package/types/permissions/main-page-permissions.enum.ts +0 -5
  413. package/types/permissions/new-building/apartment-complex-permissions.enum.ts +0 -11
  414. package/types/permissions/new-building/build-company-permissions.enum.ts +0 -10
  415. package/types/permissions/new-building/flat-permissions.enum.ts +0 -10
  416. package/types/permissions/new-building/floor-permissions.enum.ts +0 -10
  417. package/types/permissions/new-building/layout-permissions.enum.ts +0 -10
  418. package/types/permissions/new-building/queue-permissions.enum.ts +0 -11
  419. package/types/permissions/new-building/section-permissions.enum.ts +0 -10
  420. package/types/permissions/news-permissions.enum.ts +0 -7
  421. package/types/permissions/notary-permissions.enum.ts +0 -7
  422. package/types/permissions/organization-permissions.enum.ts +0 -27
  423. package/types/permissions/permission.enum.ts +0 -93
  424. package/types/permissions/rbac-permissions.enum.ts +0 -9
  425. package/types/permissions/seller-permissions.enum.ts +0 -8
  426. package/types/permissions/telephony-permissions.enum.ts +0 -9
  427. package/types/permissions/user-action-logs-permissions.enum.ts +0 -5
  428. package/types/permissions/user-permissions.enum.ts +0 -13
  429. package/types/queue/create-queue.dto.ts +0 -6
  430. package/types/queue/index.ts +0 -2
  431. package/types/queue/search-queues.dto.ts +0 -13
  432. package/types/queues/queue.type.ts +0 -6
  433. package/types/realty-platforms/index.ts +0 -1
  434. package/types/realty-platforms/realty-platforms.enum.ts +0 -6
  435. package/types/representation/index.ts +0 -2
  436. package/types/representation/representation-search.dto.model.ts +0 -21
  437. package/types/representation/representation.dto.ts +0 -6
  438. package/types/request-presentation/create-request-presentation.dto.ts +0 -3
  439. package/types/request-presentation/index.ts +0 -1
  440. package/types/request-property/check-if-request-property-exists-params.dto.ts +0 -4
  441. package/types/request-property/create-request-property.dto.ts +0 -5
  442. package/types/request-property/index.ts +0 -5
  443. package/types/request-property/print-request-properties.dto.ts +0 -5
  444. package/types/request-property/search-request-property-params.dto.ts +0 -6
  445. package/types/request-property/update-request-property.dto.ts +0 -3
  446. package/types/roles/index.ts +0 -4
  447. package/types/roles/role-group.dto.ts +0 -3
  448. package/types/roles/role-weight.map.ts +0 -14
  449. package/types/roles/role.dto.ts +0 -9
  450. package/types/roles/role.enum.ts +0 -11
  451. package/types/section/index.ts +0 -2
  452. package/types/section/section-create.dto.ts +0 -6
  453. package/types/section/sections-search.dto.ts +0 -12
  454. package/types/statistic/employee-agreements-statistics-params.dto.ts +0 -17
  455. package/types/statistic/employee-agreements-statistics.dto.ts +0 -7
  456. package/types/statistic/exclusive-property-statistics-params.dto.ts +0 -7
  457. package/types/statistic/exclusive-property-statistics.dto.ts +0 -11
  458. package/types/statistic/handling-listenings-statistics-item.dto.ts +0 -6
  459. package/types/statistic/handling-listenings-statistics-params.dto.ts +0 -22
  460. package/types/statistic/index.ts +0 -15
  461. package/types/statistic/real-estate-by-property-type.dto.model.ts +0 -4
  462. package/types/statistic/realtor-involvment-statistics.dto.ts +0 -6
  463. package/types/statistic/realtor-involvment-user-statistics.dto.ts +0 -6
  464. package/types/street/index.ts +0 -4
  465. package/types/street/street-autocomplete-params.dto.ts +0 -5
  466. package/types/street/street-location.dto.ts +0 -9
  467. package/types/street/street-search.dto.ts +0 -16
  468. package/types/street/street.dto.ts +0 -3
  469. package/types/template/index.ts +0 -16
  470. package/types/template/template-comment-create.dto.ts +0 -6
  471. package/types/template/template-comment-response.dto.ts +0 -16
  472. package/types/template/template-comment.dto.ts +0 -6
  473. package/types/template/template-content.enum.ts +0 -5
  474. package/types/template/template-office.dto.ts +0 -3
  475. package/types/template/template-reaction-response.dto.ts +0 -5
  476. package/types/template/template-reaction-search.dto.ts +0 -7
  477. package/types/template/template-reaction.dto.ts +0 -6
  478. package/types/template/template-representation.dto.ts +0 -3
  479. package/types/template/template-response.dto.ts +0 -13
  480. package/types/template/template-role.dto.ts +0 -3
  481. package/types/template/template-search.dto.ts +0 -6
  482. package/types/template/template-view-response.dto.ts +0 -3
  483. package/types/template/template-view-search.dto.ts +0 -5
  484. package/types/template/template.dto.ts +0 -21
  485. package/types/template/template.enum.ts +0 -9
  486. package/types/topzone/index.ts +0 -3
  487. package/types/topzone/topzone-dropdown-list-params.dto.model.ts +0 -3
  488. package/types/topzone/topzone-search.dto.model.ts +0 -16
  489. package/types/topzone/topzone.dto.ts +0 -3
  490. package/types/uploaded-file/index.ts +0 -2
  491. package/types/uploaded-file/uploaded-file-type.enum.ts +0 -15
  492. package/types/uploaded-file/uploaded-file.dto.ts +0 -4
  493. package/types/user/index.ts +0 -17
  494. package/types/user/notification-preferences.dto.ts +0 -6
  495. package/types/user/update-user-vchasno.dto.ts +0 -8
  496. package/types/user/update-user.dto.ts +0 -6
  497. package/types/user/user-archive.dto.ts +0 -3
  498. package/types/user/user-attorney-search-params.dto.ts +0 -5
  499. package/types/user/user-attorney-type.enum.ts +0 -4
  500. package/types/user/user-attorney.dto.ts +0 -6
  501. package/types/user/user-autocomplete-params.dto.ts +0 -9
  502. package/types/user/user-phone.dto.ts +0 -3
  503. package/types/user/user-search.dto.ts +0 -28
  504. package/types/user/user-validation-params.dto.ts +0 -15
  505. package/types/user/user-vchasno-list-item.dto.ts +0 -10
  506. package/types/user/user.dto.ts +0 -20
  507. package/types/user-action-logs/index.ts +0 -2
  508. package/types/user-action-logs/model-name.enum.ts +0 -23
  509. package/types/user-action-logs/user-action-logs-search.dto.ts +0 -24
  510. package/types/user-office/index.ts +0 -2
  511. package/types/user-office/user-office.dto.ts +0 -3
  512. package/types/user-office/user-permission.dto.ts +0 -3
  513. package/types/user-permission/index.ts +0 -5
  514. package/types/user-permission/permission-connect.dto.model.ts +0 -3
  515. package/types/user-permission/permission-search.dto.model.ts +0 -3
  516. package/types/user-permission/permission.dto.ts +0 -3
  517. package/types/user-permission/user-permission-create-or-connect.dto.ts +0 -5
  518. package/types/user-permission/user-permission-create.dto.ts +0 -6
  519. package/types/user-points/index.ts +0 -6
  520. package/types/user-points/search-user-points-changes-params.dto.ts +0 -5
  521. package/types/user-points/user-points-amount-by-date.dto.ts +0 -4
  522. package/types/user-points/user-points-amount.dto.ts +0 -6
  523. package/types/user-points/user-points-event.enum.ts +0 -13
  524. package/types/user-points/user-points-statistic.dto.ts +0 -7
  525. package/types/user-points/user-points-user-statistic.dto.ts +0 -7
  526. package/types/user-profile/children.type.ts +0 -6
  527. package/types/user-profile/education.type.ts +0 -8
  528. package/types/user-profile/index.ts +0 -6
  529. package/types/user-profile/prev-jobs.type.ts +0 -7
  530. package/types/user-profile/profile.dto.ts +0 -6
  531. package/types/user-profile/socials.type.ts +0 -12
  532. package/types/user-profile/update-profile.dto.ts +0 -3
  533. package/types/vchasno/vchasno-document-category.enum.ts +0 -37
  534. package/types/vchasno/vchasno-document-signer.type.ts +0 -7
  535. package/types/vchasno/vchasno-document-status.enum.ts +0 -11
  536. package/types/vchasno/vchasno-document.type.ts +0 -32
  537. package/utils/create-service-action.ts +0 -15
  538. package/utils/database/sections.ts +0 -3
  539. package/utils/decorators/tranlsatable-column.decorator.ts +0 -9
  540. package/utils/index.ts +0 -4
  541. package/utils/role.utils.ts +0 -11
@@ -1,15 +0,0 @@
1
- export {
2
- EmployeeAgreementsStatisticsParamsDto,
3
- EmployeeAgreementsStatisticsSortByField,
4
- } from './employee-agreements-statistics-params.dto';
5
- export { EmployeeAgreementsStatisticsItemDto } from './employee-agreements-statistics.dto';
6
- export { ExclusivePropertyStatisticsParamsDto } from './exclusive-property-statistics-params.dto';
7
- export { ExclusivePropertyStatisticsDto } from './exclusive-property-statistics.dto';
8
- export { HandlingListeningsStatisticsItemDto } from './handling-listenings-statistics-item.dto';
9
- export {
10
- HandlingListeningsStatisticsParamsDto,
11
- HandlingListeningsStatisticsSortByField,
12
- } from './handling-listenings-statistics-params.dto';
13
- export { RealEstateByPropertyTypeQueryDto } from './real-estate-by-property-type.dto.model';
14
- export { RealtorInvolvmentUserStatisticsDto } from './realtor-involvment-user-statistics.dto';
15
- export { RealtorInvolvmentStatisticsDto } from './realtor-involvment-statistics.dto';
@@ -1,4 +0,0 @@
1
- export type RealEstateByPropertyTypeQueryDto = {
2
- isInVnp?: boolean;
3
- isInArchive?: boolean;
4
- };
@@ -1,6 +0,0 @@
1
- import { RealtorInvolvmentUserStatisticsDto } from './realtor-involvment-user-statistics.dto';
2
-
3
- export type RealtorInvolvmentStatisticsDto = {
4
- users: RealtorInvolvmentUserStatisticsDto[];
5
- involvment: number;
6
- };
@@ -1,6 +0,0 @@
1
- import { UserEntity } from '../core/user.type';
2
-
3
- export type RealtorInvolvmentUserStatisticsDto = {
4
- user: UserEntity;
5
- result: number;
6
- };
@@ -1,4 +0,0 @@
1
- export { StreetAutocompleteParamsDto } from './street-autocomplete-params.dto';
2
- export { StreetDto } from './street.dto';
3
- export { StreetLocationResponseDto } from './street-location.dto';
4
- export { StreetSearchDto } from './street-search.dto';
@@ -1,5 +0,0 @@
1
- import { AutocompleteParams } from '../common';
2
-
3
- export type StreetAutocompleteParamsDto = AutocompleteParams & {
4
- geoIds?: number[];
5
- };
@@ -1,9 +0,0 @@
1
- export type CoordinateDto = {
2
- lat?: number;
3
- lng?: number;
4
- };
5
-
6
- export type StreetLocationResponseDto = {
7
- point?: CoordinateDto;
8
- streetLine?: number[][][];
9
- };
@@ -1,16 +0,0 @@
1
- import { PaginatedParams, SortOrder, SortingParams } from '../common';
2
-
3
- enum StreetSortByField {
4
- Id = 'id',
5
- GeoId = 'geoId',
6
- }
7
-
8
- export type StreetSearchDto = PaginatedParams &
9
- SortingParams<StreetSortByField> & {
10
- id?: number;
11
- name?: string;
12
- alias?: string;
13
- geoIds?: number[];
14
- sortBy?: StreetSortByField;
15
- sortOrder?: SortOrder;
16
- };
@@ -1,3 +0,0 @@
1
- import { StreetEntity } from '../core/street.type';
2
-
3
- export type StreetDto = Omit<StreetEntity, 'id' | 'deals' | 'queues'>;
@@ -1,16 +0,0 @@
1
- export { TemplateDto } from './template.dto';
2
- export { TemplateEnum } from './template.enum';
3
- export { TemplateReactionDto } from './template-reaction.dto';
4
- export { TemplateReactionResponseDto } from './template-reaction-response.dto';
5
- export { TemplateReactionSearchDto } from './template-reaction-search.dto';
6
- export { TemplateRepresentationDto } from './template-representation.dto';
7
- export { TemplateResponseDto } from './template-response.dto';
8
- export { TemplateSearchDto } from './template-search.dto';
9
- export { TemplateViewResponseDto } from './template-view-response.dto';
10
- export { TemplateViewSearchDto } from './template-view-search.dto';
11
- export { TemplateRoleDto } from './template-role.dto';
12
- export { TemplateOfficeDto } from './template-office.dto';
13
- export { TemplateContentEnum } from './template-content.enum';
14
- export { TemplateCommentDto } from './template-comment.dto';
15
- export { TemplateCommentCreateDto } from './template-comment-create.dto';
16
- export { TemplateCommentResponseDto } from './template-comment-response.dto';
@@ -1,6 +0,0 @@
1
- import { TemplateCommentEntity } from '../core';
2
-
3
- export type TemplateCommentCreateDto = Pick<
4
- TemplateCommentEntity,
5
- 'text' | 'id'
6
- >;
@@ -1,16 +0,0 @@
1
- import { Reaction } from '../common';
2
- import { TemplateCommentEntity } from '../core/template-comment.type';
3
-
4
- export type TemplateCommentResponseDto = Partial<
5
- Omit<
6
- TemplateCommentEntity,
7
- 'templateId' | 'userId' | 'template' | 'parent' | 'children'
8
- >
9
- > & {
10
- likeCount: number;
11
- dislikeCount: number;
12
- userReaction: Reaction;
13
- authorId: number;
14
- authorName: string;
15
- children?: TemplateCommentResponseDto[];
16
- };
@@ -1,6 +0,0 @@
1
- import { TemplateCommentEntity } from '../core/template-comment.type';
2
-
3
- export type TemplateCommentDto = Omit<
4
- TemplateCommentEntity,
5
- 'id' | 'parent' | 'children'
6
- >;
@@ -1,5 +0,0 @@
1
- export enum TemplateContentEnum {
2
- ExternalLink = 'externalLink',
3
- PostAndNews = 'postAndNews',
4
- Meet = 'meet',
5
- }
@@ -1,3 +0,0 @@
1
- export type TemplateOfficeDto = {
2
- officeId: number;
3
- };
@@ -1,5 +0,0 @@
1
- export type TemplateReactionResponseDto = {
2
- userId: number;
3
- fullName: string;
4
- createdAt?: string;
5
- };
@@ -1,7 +0,0 @@
1
- import { Reaction } from '../common';
2
- import { PaginatedParams } from '../common';
3
-
4
- export type TemplateReactionSearchDto = PaginatedParams & {
5
- reactionType: Reaction | null;
6
- templateId: string;
7
- };
@@ -1,6 +0,0 @@
1
- import { Reaction } from '../common';
2
-
3
- export type TemplateReactionDto = {
4
- id: number;
5
- reactionType: Reaction | null;
6
- };
@@ -1,3 +0,0 @@
1
- export type TemplateRepresentationDto = {
2
- representationId: number;
3
- };
@@ -1,13 +0,0 @@
1
- import { Reaction } from '../common';
2
- import { TemplateDto } from './template.dto';
3
-
4
- export type TemplateResponseDto = TemplateDto & {
5
- likeCount: number;
6
- dislikeCount: number;
7
- viewsCount: number;
8
- maxParticipantsCount?: number;
9
- currentParticipantsCount?: number;
10
- isParticipantUser?: boolean;
11
- commentCount: number;
12
- userReaction: Reaction;
13
- };
@@ -1,3 +0,0 @@
1
- export type TemplateRoleDto = {
2
- roleId: number;
3
- };
@@ -1,6 +0,0 @@
1
- import { PaginatedParams } from '../common';
2
- import { TemplateEnum } from './template.enum';
3
-
4
- export type TemplateSearchDto = PaginatedParams & {
5
- category: TemplateEnum;
6
- };
@@ -1,3 +0,0 @@
1
- import { TemplateReactionResponseDto } from './template-reaction-response.dto';
2
-
3
- export type TemplateViewResponseDto = TemplateReactionResponseDto & {};
@@ -1,5 +0,0 @@
1
- import { PaginatedParams } from '../common';
2
-
3
- export type TemplateViewSearchDto = PaginatedParams & {
4
- templateId: string;
5
- };
@@ -1,21 +0,0 @@
1
- import { TemplateEntity } from '../core/template.type';
2
-
3
- export type TemplateDto = Pick<
4
- TemplateEntity,
5
- | 'backgroundColor'
6
- | 'backgroundImage'
7
- | 'textColor'
8
- | 'category'
9
- | 'title'
10
- | 'content'
11
- | 'externalLink'
12
- | 'config'
13
- | 'contentType'
14
- | 'description'
15
- | 'startAt'
16
- | 'endAt'
17
- | 'maxParticipantsCount'
18
- | 'representations'
19
- | 'offices'
20
- | 'roles'
21
- >;
@@ -1,9 +0,0 @@
1
- export enum TemplateEnum {
2
- News = 'news',
3
- Articles = 'article',
4
- ShareClient = 'shareClient',
5
- Telegram = 'telegram',
6
- Books = 'books',
7
- Others = 'others',
8
- VectorUpdates = 'vectorUpdates',
9
- }
@@ -1,3 +0,0 @@
1
- export { TopzoneDto } from './topzone.dto';
2
- export { TopzoneSearchDtoModel } from './topzone-search.dto.model';
3
- export { TopzoneDropdownListParamsDtoModel } from './topzone-dropdown-list-params.dto.model';
@@ -1,3 +0,0 @@
1
- export type TopzoneDropdownListParamsDtoModel = {
2
- geoIds: number[];
3
- };
@@ -1,16 +0,0 @@
1
- import { SortOrder, SortingParams } from '../common';
2
- import { PaginatedParams } from '../common';
3
-
4
- export enum TopzoneSortByField {
5
- Id = 'id',
6
- }
7
-
8
- export type TopzoneSearchDtoModel = PaginatedParams &
9
- SortingParams<TopzoneSortByField> & {
10
- id?: number;
11
- name?: string;
12
- alias?: string;
13
- geoIds?: number[];
14
- sortBy?: TopzoneSortByField;
15
- sortOrder?: SortOrder;
16
- };
@@ -1,3 +0,0 @@
1
- import { TopzoneEntity } from '../core/topzone.type';
2
-
3
- export type TopzoneDto = Omit<TopzoneEntity, 'id'>;
@@ -1,2 +0,0 @@
1
- export { UploadedReportFileDto } from './uploaded-file.dto';
2
- export { UploadedFileType } from './uploaded-file-type.enum';
@@ -1,15 +0,0 @@
1
- export enum UploadedFileType {
2
- Pdf = 'pdf',
3
- ImageJpg = 'jpg',
4
- ImageJpeg = 'jpeg',
5
- ImagePng = 'png',
6
- ImageGif = 'gif',
7
- ImageWebp = 'webp',
8
- VideoMp4 = 'mp4',
9
- VideoAvi = 'avi',
10
- VideoMov = 'mov',
11
- VideoMkv = 'mkv',
12
- VideoWmv = 'wmv',
13
- VideoFlv = 'flv',
14
- VideoMpeg = 'mpeg',
15
- }
@@ -1,4 +0,0 @@
1
- export type UploadedReportFileDto = {
2
- id?: number;
3
- fileId: number;
4
- };
@@ -1,17 +0,0 @@
1
- export { NotificationPreferencesDto } from './notification-preferences.dto';
2
- export { UserAttorneyDto } from './user-attorney.dto';
3
- export { UserAttorneySearchParamsDto } from './user-attorney-search-params.dto';
4
- export { UserAttorneyType } from './user-attorney-type.enum';
5
- export { UserAutocompleteParamsDto } from './user-autocomplete-params.dto';
6
- export { UserArchiveDto } from './user-archive.dto';
7
- export { UserPhoneDto } from './user-phone.dto';
8
- export { UserSearchDto } from './user-search.dto';
9
- export {
10
- CheckIfRealtorNumberExistsParamsDto,
11
- CheckIfUserEmailExistsParamsDto,
12
- CheckIfUsernameExistsParamsDto,
13
- } from './user-validation-params.dto';
14
- export { UserVchasnoListItemDto } from './user-vchasno-list-item.dto';
15
- export { UserDto } from './user.dto';
16
- export { UpdateUserDto } from './update-user.dto';
17
- export { UpdateUserVchasnoDto } from './update-user-vchasno.dto';
@@ -1,6 +0,0 @@
1
- import { NotificationPreferenceEntity } from '../core/notification-preference.type';
2
-
3
- export type NotificationPreferencesDto = Omit<
4
- NotificationPreferenceEntity,
5
- 'id' | 'user'
6
- >;
@@ -1,8 +0,0 @@
1
- import { UserAttorneyEntity } from '../core/user-attorney.type';
2
-
3
- export type UpdateUserVchasnoDto = Partial<
4
- Pick<
5
- UserAttorneyEntity,
6
- 'vchasnoEmail' | 'vchasnoInn' | 'vchasnoApiKey' | 'id'
7
- >
8
- >;
@@ -1,6 +0,0 @@
1
- import { UpdateProfileDto } from '../user-profile/update-profile.dto';
2
- import { UserDto } from './user.dto';
3
-
4
- export type UpdateUserDto = Partial<Omit<UserDto, 'profile'>> & {
5
- profile: UpdateProfileDto;
6
- };
@@ -1,3 +0,0 @@
1
- export type UserArchiveDto = {
2
- archiveAnnotation: string;
3
- };
@@ -1,5 +0,0 @@
1
- export type UserAttorneySearchParamsDto = {
2
- userId?: number;
3
- officeId?: number;
4
- roleIds?: number[];
5
- };
@@ -1,4 +0,0 @@
1
- export enum UserAttorneyType {
2
- Tov = 'tov',
3
- Fop = 'fop',
4
- }
@@ -1,6 +0,0 @@
1
- import { UserAttorneyEntity } from '../core/user-attorney.type';
2
-
3
- export type UserAttorneyDto = Omit<
4
- UserAttorneyEntity,
5
- 'user' | 'userId' | 'attorney' | 'deals' | 'properties'
6
- >;
@@ -1,9 +0,0 @@
1
- import { AutocompleteParams } from '../common';
2
- import { Role } from '../roles';
3
-
4
- export type UserAutocompleteParamsDto = AutocompleteParams & {
5
- representationIds?: number[];
6
- officeIds?: number[];
7
- roles?: Role[];
8
- showAll?: boolean;
9
- };
@@ -1,3 +0,0 @@
1
- import { UserPhoneEntity } from '../core/user-phone.type';
2
-
3
- export type UserPhoneDto = Omit<UserPhoneEntity, 'id' | 'userId' | 'user'>;
@@ -1,28 +0,0 @@
1
- import { Role } from '../roles';
2
- import { SortOrder, PaginatedParams, SortingParams, Language } from '../common';
3
-
4
- export enum UserSortByField {
5
- OfficeNumber = 'officeNumber',
6
- RealtorNumber = 'realtorNumber',
7
- SecondName = 'secondName',
8
- FirstName = 'firstName',
9
- StartWorkingAt = 'startWorkingAt',
10
- Category = 'category',
11
- IsEmployeeAgreementSigned = 'isEmployeeAgreementSigned',
12
- HasVchasnoAccess = 'hasvchasnoaccess',
13
- }
14
-
15
- export type UserSearchDto = PaginatedParams &
16
- SortingParams<UserSortByField> & {
17
- realtorNumber?: number;
18
- phoneNumber?: string;
19
- officeIds?: number[];
20
- categoryIds?: number[];
21
- roleIds?: number[];
22
- roles?: Role[];
23
- sortBy: UserSortByField;
24
- sortOrder: SortOrder;
25
- firstName?: string;
26
- secondName?: string;
27
- lang?: Language;
28
- };
@@ -1,15 +0,0 @@
1
- export type CheckIfUserEmailExistsParamsDto = {
2
- email: string;
3
- userId?: number;
4
- };
5
-
6
- export type CheckIfUsernameExistsParamsDto = {
7
- username: string;
8
- userId?: number;
9
- };
10
-
11
- export type CheckIfRealtorNumberExistsParamsDto = {
12
- realtorNumber: number;
13
- officeId?: number;
14
- userId?: number;
15
- };
@@ -1,10 +0,0 @@
1
- import { UserAttorneyDto } from './user-attorney.dto';
2
-
3
- export type UserVchasnoListItemDto = UserAttorneyDto & {
4
- officeNumber: number;
5
- realtorNumber: number;
6
- firstName: string;
7
- secondName: string;
8
- roleName: string;
9
- attorneyVchasnoApiKey: string;
10
- };
@@ -1,20 +0,0 @@
1
- import { UserEntity } from '../core/user.type';
2
-
3
- export type UserDto = Omit<
4
- UserEntity,
5
- | 'permissions'
6
- | 'handlingListenings'
7
- | 'deals'
8
- | 'buyerDeals'
9
- | 'sellerDeals'
10
- | 'telegramBotChatId'
11
- | 'dealParticipants'
12
- | 'contacts'
13
- | 'relatedContacts'
14
- | 'viewedPosts'
15
- | 'viewedFeedbacks'
16
- | 'pointsChanges'
17
- | 'notifications'
18
- | 'attorneys'
19
- | 'realtorNumber'
20
- >;
@@ -1,2 +0,0 @@
1
- export { ModelName } from './model-name.enum';
2
- export { UserActionLogsSearchDto } from './user-action-logs-search.dto';
@@ -1,23 +0,0 @@
1
- enum ModelName {
2
- Attribute = 'Attribute',
3
- AttributeValue = 'AttributeValue',
4
- Call = 'Call',
5
- CallRedirect = 'CallRedirect',
6
- Customer = 'Customer',
7
- CustomerCall = 'CustomerCall',
8
- CustomerProperty = 'CustomerProperty',
9
- CustomerRequest = 'CustomerRequest',
10
- Geo = 'Geo',
11
- Handling = 'Handling',
12
- NormCategory = 'NormCategory',
13
- Office = 'Office',
14
- OfficeCenter = 'OfficeCenter',
15
- Representation = 'Representation',
16
- Street = 'Street',
17
- Topzone = 'Topzone',
18
- User = 'User',
19
- UserProfile = 'Profile',
20
- Notary = 'Notary',
21
- }
22
-
23
- export { ModelName };
@@ -1,24 +0,0 @@
1
- import {
2
- DateFilterParams,
3
- SortingParams,
4
- PaginatedParams,
5
- SortOrder,
6
- } from '../common';
7
- import { ModelName } from './model-name.enum';
8
-
9
- enum UserActionLogsSortByField {
10
- Id = 'id',
11
- CreatedAt = 'createdAt',
12
- }
13
-
14
- export type UserActionLogsSearchDto = PaginatedParams &
15
- SortingParams<UserActionLogsSortByField> & {
16
- id?: number;
17
- entityId?: number;
18
- entityKey?: string;
19
- modelName?: ModelName;
20
- createdAt?: DateFilterParams;
21
- changedById?: number;
22
- sortBy: UserActionLogsSortByField;
23
- sortOrder: SortOrder;
24
- };
@@ -1,2 +0,0 @@
1
- export { UserOfficeDto } from './user-office.dto';
2
- export { UserPermissionDto } from './user-permission.dto';
@@ -1,3 +0,0 @@
1
- import { UserOfficeEntity } from '../core/user-office.type';
2
-
3
- export type UserOfficeDto = Omit<UserOfficeEntity, 'id' | 'userId'>;
@@ -1,3 +0,0 @@
1
- import { UserPermissionEntity } from '../core/user-permission.type';
2
-
3
- export type UserPermissionDto = Omit<UserPermissionEntity, 'id' | 'userId'>;
@@ -1,5 +0,0 @@
1
- export { UserPermissionCreateDto } from './user-permission-create.dto';
2
- export { UserPermissionCreateOrConnectDto } from './user-permission-create-or-connect.dto';
3
- export { PermissionConnectDtoModel } from './permission-connect.dto.model';
4
- export { PermissionSearchDtoModel } from './permission-search.dto.model';
5
- export { PermissionDto } from './permission.dto';
@@ -1,3 +0,0 @@
1
- export type PermissionConnectDtoModel = {
2
- key: string;
3
- };
@@ -1,3 +0,0 @@
1
- import { PaginatedParams } from '../common';
2
-
3
- export type PermissionSearchDtoModel = PaginatedParams & {};
@@ -1,3 +0,0 @@
1
- import { PermissionEntity } from '../core/permission.type';
2
-
3
- export type PermissionDto = Omit<PermissionEntity, 'id' | 'key'>;
@@ -1,5 +0,0 @@
1
- import { UserPermissionCreateDto } from './user-permission-create.dto';
2
-
3
- export type UserPermissionCreateOrConnectDto = UserPermissionCreateDto & {
4
- id: number;
5
- };
@@ -1,6 +0,0 @@
1
- import { PermissionConnectDtoModel } from './permission-connect.dto.model';
2
-
3
- export type UserPermissionCreateDto = {
4
- isEnabled: boolean;
5
- permission: PermissionConnectDtoModel;
6
- };
@@ -1,6 +0,0 @@
1
- export { UserPointsAmountDto } from './user-points-amount.dto';
2
- export { UserPointsStatisticDto } from './user-points-statistic.dto';
3
- export { UserPointsAmountByDateDto } from './user-points-amount-by-date.dto';
4
- export { UserPointsUserStatisticDto } from './user-points-user-statistic.dto';
5
- export { SearchUserPointsChangesParamsDto } from './search-user-points-changes-params.dto';
6
- export { UserPointsEvent } from './user-points-event.enum';
@@ -1,5 +0,0 @@
1
- import { DateFilterParams, PaginatedParams } from '../common';
2
-
3
- export type SearchUserPointsChangesParamsDto = PaginatedParams & {
4
- createdAt?: DateFilterParams;
5
- };
@@ -1,4 +0,0 @@
1
- export type UserPointsAmountByDateDto = {
2
- date: string;
3
- amount: number;
4
- };
@@ -1,6 +0,0 @@
1
- import { UserPointsAmountByDateDto } from './user-points-amount-by-date.dto';
2
-
3
- export type UserPointsAmountDto = {
4
- byDate: UserPointsAmountByDateDto[];
5
- total: number;
6
- };
@@ -1,13 +0,0 @@
1
- export enum UserPointsEvent {
2
- CustomerPrepayment = 'customerPrepayment',
3
- ExclusivePropertySold = 'exclusivePropertySold',
4
- BuyerWithAgreementVisitedOffice = 'buyerWithAgreementVisitedOffice',
5
- HandlingHandledQuickly = 'handlingHandledQuickly',
6
- PropertyRegistered = 'propertyRegistered',
7
- PropertyAdvertisedQuickly = 'propertyAdvertisedQuickly',
8
- NegativeConversion = 'negativeConversion',
9
- ExclusivePropertyNotSold = 'exclusivePropertyNotSold',
10
- HandlingNotHandled = 'handlingNotHandled',
11
- NoPropertiesRegistered = 'noPropertiesRegistered',
12
- ActiveBuyerWithoutAgreement = 'activeBuyerWithoutAgreement',
13
- }
@@ -1,7 +0,0 @@
1
- import { UserPointsUserStatisticDto } from './user-points-user-statistic.dto';
2
-
3
- export type UserPointsStatisticDto = {
4
- users: UserPointsUserStatisticDto[];
5
- pointsInCurrentMonth: number;
6
- realtorsWithNegativePoints: number;
7
- };