vector-shared 1.1.348 → 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 (534) hide show
  1. package/package.json +4 -1
  2. package/.prettierignore +0 -101
  3. package/.prettierrc +0 -15
  4. package/bitbucket-pipelines.yml +0 -37
  5. package/constants/auth-service.constants.ts +0 -12
  6. package/constants/customer-service.constants.ts +0 -28
  7. package/index.ts +0 -10
  8. package/tsconfig.json +0 -23
  9. package/types/advert-source/advert-source-dropdown-search.dto.model.ts +0 -3
  10. package/types/advert-source/index.ts +0 -1
  11. package/types/agency/agency-search.type.ts +0 -4
  12. package/types/agency/create-agency.type.ts +0 -6
  13. package/types/agency/index.ts +0 -1
  14. package/types/apartment-complex/expression.type.ts +0 -14
  15. package/types/apartment-complex/index.ts +0 -2
  16. package/types/apartment-complex/manager.type.ts +0 -5
  17. package/types/archive-reasons/archive-reason-destination.enum.ts +0 -7
  18. package/types/archive-reasons/archive-reason-dropdown-params.type.ts +0 -5
  19. package/types/archive-reasons/index.ts +0 -2
  20. package/types/attention-required/attention-required-office-statistic-param.type.ts +0 -22
  21. package/types/attention-required/attention-required-search.type.ts +0 -6
  22. package/types/attention-required/attention-required-statistic-param.type.ts +0 -9
  23. package/types/attention-required/attention-required-statistic.type.ts +0 -14
  24. package/types/attention-required/attention-required-update.type.ts +0 -6
  25. package/types/attention-required/attention-required-with-changes.type.ts +0 -22
  26. package/types/attention-required/index.ts +0 -15
  27. package/types/attorney/attorney-search.dto.ts +0 -3
  28. package/types/attorney/attorney-type.enum.ts +0 -4
  29. package/types/attorney/attorney.dto.ts +0 -13
  30. package/types/attorney/index.ts +0 -3
  31. package/types/attributes/apartment-info-attributes.type.ts +0 -3
  32. package/types/attributes/apartment-type.enum.ts +0 -4
  33. package/types/attributes/attribute-category.enum.ts +0 -18
  34. package/types/attributes/attribute-config.type.ts +0 -18
  35. package/types/attributes/attribute-destination.enum.ts +0 -6
  36. package/types/attributes/attribute-key.enum.ts +0 -16
  37. package/types/attributes/attribute-representation.type.ts +0 -6
  38. package/types/attributes/attribute-search.type.ts +0 -16
  39. package/types/attributes/attribute-type.enum.ts +0 -12
  40. package/types/attributes/attribute-unit.enum.ts +0 -8
  41. package/types/attributes/attribute-value.type.ts +0 -3
  42. package/types/attributes/attribute.type.ts +0 -28
  43. package/types/attributes/customer-requests-attributes.type.ts +0 -5
  44. package/types/attributes/deal-type.enum.ts +0 -4
  45. package/types/attributes/index.ts +0 -24
  46. package/types/attributes/male.enum.ts +0 -7
  47. package/types/attributes/object-type.enum.ts +0 -9
  48. package/types/attributes/property-atributes.type.ts +0 -19
  49. package/types/attributes/registration-type.enum.ts +0 -6
  50. package/types/auth/index.ts +0 -2
  51. package/types/auth/login-user-with-google.dto.ts +0 -3
  52. package/types/auth/login-user.dto.model.ts +0 -5
  53. package/types/build-company/build-companies-search.dto.ts +0 -18
  54. package/types/build-company/build-company-create.dto.ts +0 -6
  55. package/types/build-company/index.ts +0 -2
  56. package/types/calendar/calendar.type.ts +0 -19
  57. package/types/calendar/duty.create.dto.ts +0 -14
  58. package/types/calendar/duty.search.dto.ts +0 -5
  59. package/types/calendar/duty.update.dto.ts +0 -12
  60. package/types/calendar/index.ts +0 -4
  61. package/types/call/call-data.type.ts +0 -7
  62. package/types/call/call-search.dto.model.ts +0 -7
  63. package/types/call/call-type.enum.ts +0 -11
  64. package/types/call/index.ts +0 -3
  65. package/types/call-redirect/call-redirect-create.type.ts +0 -12
  66. package/types/call-redirect/call-redirect-search.dto.ts +0 -7
  67. package/types/call-redirect/call-redirect-update.type.ts +0 -8
  68. package/types/call-redirect/index.ts +0 -3
  69. package/types/common/autocomplete-params.type.ts +0 -6
  70. package/types/common/currency.enum.ts +0 -7
  71. package/types/common/currency.value.interface.ts +0 -4
  72. package/types/common/date-filter-params.type.ts +0 -4
  73. package/types/common/day.enum.ts +0 -11
  74. package/types/common/dropdown.type.ts +0 -6
  75. package/types/common/index.ts +0 -52
  76. package/types/common/language.enum.ts +0 -5
  77. package/types/common/multi-language-column.type.ts +0 -13
  78. package/types/common/paginated-list.type.ts +0 -12
  79. package/types/common/phone.type.ts +0 -10
  80. package/types/common/point.type.ts +0 -1
  81. package/types/common/query.boolean.ts +0 -6
  82. package/types/common/reaction.enum.ts +0 -4
  83. package/types/common/search-by-phone.type.ts +0 -3
  84. package/types/common/sorting-params.type.ts +0 -9
  85. package/types/common/text-search.type.ts +0 -6
  86. package/types/common/translated-or-raw.type.ts +0 -5
  87. package/types/core/advert-source.type.ts +0 -25
  88. package/types/core/agency.type.ts +0 -12
  89. package/types/core/apartment-complex-image.type.ts +0 -13
  90. package/types/core/apartment-complex-info.type.ts +0 -21
  91. package/types/core/apartment-complex.type.ts +0 -35
  92. package/types/core/appraiser.type.ts +0 -9
  93. package/types/core/archive-reason.type.ts +0 -16
  94. package/types/core/attention-required.type.ts +0 -9
  95. package/types/core/attorney.type.ts +0 -16
  96. package/types/core/attribute-representation.type.ts +0 -10
  97. package/types/core/attribute-value.type.ts +0 -11
  98. package/types/core/attribute.type.ts +0 -25
  99. package/types/core/base-entity.type.ts +0 -6
  100. package/types/core/build-company.type.ts +0 -16
  101. package/types/core/call-redirect.type.ts +0 -19
  102. package/types/core/call.type.ts +0 -20
  103. package/types/core/contract-type.type.ts +0 -8
  104. package/types/core/customer-bucket.type.ts +0 -10
  105. package/types/core/customer-call.type.ts +0 -11
  106. package/types/core/customer-phone.type.ts +0 -10
  107. package/types/core/customer-property-duplicate.type.ts +0 -14
  108. package/types/core/customer-property.type.ts +0 -109
  109. package/types/core/customer-request-selection.type.ts +0 -36
  110. package/types/core/customer-request.type.ts +0 -36
  111. package/types/core/customer.type.ts +0 -52
  112. package/types/core/deal-document.type.ts +0 -17
  113. package/types/core/deal-participant.type.ts +0 -23
  114. package/types/core/deal-transaction.type.ts +0 -21
  115. package/types/core/deal-type-percentage.type.ts +0 -11
  116. package/types/core/deal-type.type.ts +0 -13
  117. package/types/core/deal.type.ts +0 -135
  118. package/types/core/document.type.ts +0 -9
  119. package/types/core/duty.type.ts +0 -17
  120. package/types/core/employee-norm.type.ts +0 -17
  121. package/types/core/feedback-file.type.ts +0 -10
  122. package/types/core/feedback-view.type.ts +0 -10
  123. package/types/core/feedback.type.ts +0 -19
  124. package/types/core/flat.type.ts +0 -22
  125. package/types/core/floor.type.ts +0 -13
  126. package/types/core/geo-topzone.type.ts +0 -9
  127. package/types/core/geo.type.ts +0 -33
  128. package/types/core/google-contact.type.ts +0 -14
  129. package/types/core/handling-listening.type.ts +0 -10
  130. package/types/core/handling.type.ts +0 -39
  131. package/types/core/image.type.ts +0 -22
  132. package/types/core/index.ts +0 -98
  133. package/types/core/layout.type.ts +0 -20
  134. package/types/core/mismatch-aggregate.type.ts +0 -8
  135. package/types/core/mismatch-decision.type.ts +0 -11
  136. package/types/core/mismatch-reason.type.ts +0 -10
  137. package/types/core/mismatch-report.type.ts +0 -14
  138. package/types/core/norm-category.type.ts +0 -11
  139. package/types/core/notary.type.ts +0 -13
  140. package/types/core/notification-preference.type.ts +0 -11
  141. package/types/core/notification.type.ts +0 -13
  142. package/types/core/office-center.type.ts +0 -20
  143. package/types/core/office.type.ts +0 -35
  144. package/types/core/permission.type.ts +0 -11
  145. package/types/core/property-document.type.ts +0 -11
  146. package/types/core/property-image.type.ts +0 -14
  147. package/types/core/property-seo.type.ts +0 -11
  148. package/types/core/queue.type.ts +0 -20
  149. package/types/core/reaction.type.ts +0 -6
  150. package/types/core/realtor-number.type.ts +0 -11
  151. package/types/core/representation.type.ts +0 -18
  152. package/types/core/request-presentation-property.type.ts +0 -11
  153. package/types/core/request-presentation.type.ts +0 -10
  154. package/types/core/request-property.type.ts +0 -15
  155. package/types/core/role-permission-group.type.ts +0 -10
  156. package/types/core/role.type.ts +0 -14
  157. package/types/core/section.type.ts +0 -13
  158. package/types/core/street.type.ts +0 -28
  159. package/types/core/telegram-chat.type.ts +0 -9
  160. package/types/core/telegram-message.type.ts +0 -11
  161. package/types/core/template-comment-reaction.type.ts +0 -7
  162. package/types/core/template-comment.type.ts +0 -16
  163. package/types/core/template-office.type.ts +0 -10
  164. package/types/core/template-participant.type.ts +0 -10
  165. package/types/core/template-reaction.type.ts +0 -7
  166. package/types/core/template-representation.type.ts +0 -10
  167. package/types/core/template-role.type.ts +0 -10
  168. package/types/core/template-view.type.ts +0 -10
  169. package/types/core/template.type.ts +0 -38
  170. package/types/core/time-metric-entity.type.ts +0 -5
  171. package/types/core/topzone.type.ts +0 -20
  172. package/types/core/unique-id-entity.type.ts +0 -3
  173. package/types/core/uploaded-file-entity.type.ts +0 -10
  174. package/types/core/user-action-log.type.ts +0 -15
  175. package/types/core/user-attorney.type.ts +0 -27
  176. package/types/core/user-office.type.ts +0 -11
  177. package/types/core/user-permission.type.ts +0 -11
  178. package/types/core/user-phone.type.ts +0 -10
  179. package/types/core/user-points-change.type.ts +0 -22
  180. package/types/core/user-points-rule.type.ts +0 -7
  181. package/types/core/user-profile.type.ts +0 -47
  182. package/types/core/user.type.ts +0 -83
  183. package/types/core/valuation.type.ts +0 -9
  184. package/types/core/vnp-reason.type.ts +0 -8
  185. package/types/core/x-customer-notification.type.ts +0 -8
  186. package/types/customer/actiivity-potential.enum.ts +0 -8
  187. package/types/customer/add-cusomer-to-bucket.type.ts +0 -3
  188. package/types/customer/archive-customer.type.ts +0 -6
  189. package/types/customer/attention-required-entity.enum.ts +0 -4
  190. package/types/customer/create-customer.type.ts +0 -27
  191. package/types/customer/customer-autocomplete-params.dto.ts +0 -6
  192. package/types/customer/customer-bucket-scope.enum.ts +0 -7
  193. package/types/customer/customer-by-phone-number-realtor.dto.ts +0 -8
  194. package/types/customer/customer-by-phone-number.dto.ts +0 -21
  195. package/types/customer/customer-property-owner.type.ts +0 -6
  196. package/types/customer/customer-request-selection.enum.ts +0 -4
  197. package/types/customer/customer-type.enum.ts +0 -6
  198. package/types/customer/exclusive-buyer-agreement-data.type.ts +0 -18
  199. package/types/customer/get-customer-bucket-params.type.ts +0 -3
  200. package/types/customer/index.ts +0 -38
  201. package/types/customer/search-buyer-params.type.ts +0 -26
  202. package/types/customer/search-customer-by-phone.dto.ts +0 -8
  203. package/types/customer/update-customer.dto.ts +0 -3
  204. package/types/customer-call/customer-call.type.ts +0 -7
  205. package/types/customer-call/index.ts +0 -1
  206. package/types/customer-property/archive-customer-property.dto.ts +0 -6
  207. package/types/customer-property/cadastral-number.type.ts +0 -6
  208. package/types/customer-property/complex.type.ts +0 -4
  209. package/types/customer-property/create-customer-additional-owner.dto.ts +0 -6
  210. package/types/customer-property/create-customer-property-without-seller.type.ts +0 -6
  211. package/types/customer-property/create-customer-property.type.ts +0 -48
  212. package/types/customer-property/create-customer-request-without-buyer.dto.ts +0 -6
  213. package/types/customer-property/customer-properties-grouped-by-address-params.dto.ts +0 -8
  214. package/types/customer-property/customer-properties-grouped-by-address.dto.ts +0 -6
  215. package/types/customer-property/customer-properties-grouped-by-floor.dto.ts +0 -6
  216. package/types/customer-property/customer-property-autocomplete-params.dto.ts +0 -8
  217. package/types/customer-property/customer-property-check-duplicate-dto.ts +0 -19
  218. package/types/customer-property/customer-property-check-exclusive-exists.dto.ts +0 -6
  219. package/types/customer-property/customer-property-confirm-exclusive.dto.ts +0 -3
  220. package/types/customer-property/customer-property-document.dto.ts +0 -5
  221. package/types/customer-property/customer-property-image.dto.ts +0 -6
  222. package/types/customer-property/customer-property-search-apartment-dto.ts +0 -9
  223. package/types/customer-property/customer-property-search-area-dto.ts +0 -5
  224. package/types/customer-property/customer-property-search-by-cadastral-number.dto.ts +0 -5
  225. package/types/customer-property/customer-property-search-commercial-dto.ts +0 -8
  226. package/types/customer-property/customer-property-search-house-dto.ts +0 -6
  227. package/types/customer-property/customer-property-stage.ts +0 -10
  228. package/types/customer-property/exclusive-property-agreement-data.dto.ts +0 -8
  229. package/types/customer-property/exclusive-property-agreement-data.type.ts +0 -8
  230. package/types/customer-property/index.ts +0 -58
  231. package/types/customer-property/property-classification.enum.ts +0 -5
  232. package/types/customer-property/property-document-category.enum.ts +0 -8
  233. package/types/customer-property/property-duplicate-status.enum.ts +0 -6
  234. package/types/customer-property/property-exclusive-status.enum.ts +0 -5
  235. package/types/customer-property/realty-subtype.enum.ts +0 -22
  236. package/types/customer-property/realty-type.enum.ts +0 -6
  237. package/types/customer-property/search-customer-property-by-attributes.dto.ts +0 -13
  238. package/types/customer-property/search-customer-property-params.dto.ts +0 -38
  239. package/types/customer-property/seo.dto.ts +0 -10
  240. package/types/customer-property/update-customer-property.dto.ts +0 -13
  241. package/types/customer-property-duplicate/customer-property-duplicate.dto.ts +0 -12
  242. package/types/customer-property-duplicate/index.ts +0 -4
  243. package/types/customer-request/archive-customer-request.dto.ts +0 -5
  244. package/types/customer-request/create-customer-request-without-buyer.type.ts +0 -6
  245. package/types/customer-request/create-customer-request.type.ts +0 -17
  246. package/types/customer-request/customer-request-autocomplete-params.dto.ts +0 -8
  247. package/types/customer-request/customer-request-stages.ts +0 -7
  248. package/types/customer-request/index.ts +0 -7
  249. package/types/customer-request/search-customer-requests-params.dto.ts +0 -9
  250. package/types/customer-request/update-customer-request.dto.ts +0 -8
  251. package/types/customer-request-selection/customer-request-selection.dto.ts +0 -17
  252. package/types/customer-request-selection/index.ts +0 -2
  253. package/types/customer-request-selection/update-customer-request-selection.dto.ts +0 -4
  254. package/types/deal/break-deal-partially.dto.ts +0 -8
  255. package/types/deal/break-deal.dto.ts +0 -3
  256. package/types/deal/check-if-deal-number-exists-params.dto.ts +0 -4
  257. package/types/deal/create-deal.dto.ts +0 -62
  258. package/types/deal/deal-aggregation-row.dto.ts +0 -16
  259. package/types/deal/deal-agreement-type.enum.ts +0 -5
  260. package/types/deal/deal-autocomplete-params.dto.ts +0 -6
  261. package/types/deal/deal-buyer.type.ts +0 -12
  262. package/types/deal/deal-document.dto.ts +0 -7
  263. package/types/deal/deal-document.enum.ts +0 -22
  264. package/types/deal/deal-expense.dto.ts +0 -7
  265. package/types/deal/deal-expense.type.ts +0 -7
  266. package/types/deal/deal-expenses-category.enum.ts +0 -3
  267. package/types/deal/deal-format.enum.ts +0 -14
  268. package/types/deal/deal-offices-tree.dto.ts +0 -11
  269. package/types/deal/deal-participant-type.enum.ts +0 -5
  270. package/types/deal/deal-payer.enum.ts +0 -5
  271. package/types/deal/deal-seller.dto.ts +0 -13
  272. package/types/deal/deal-seller.type.ts +0 -13
  273. package/types/deal/deal-status.enum.ts +0 -6
  274. package/types/deal/deal-transaction.enum.ts +0 -4
  275. package/types/deal/detailed-deal-results-date-results.dto.ts +0 -4
  276. package/types/deal/detailed-deal-results-office-center-results.dto.ts +0 -14
  277. package/types/deal/detailed-deal-results-office-results.dto.ts +0 -15
  278. package/types/deal/detailed-deal-results-params.dto.ts +0 -8
  279. package/types/deal/detailed-deal-results-participant.dto.ts +0 -13
  280. package/types/deal/detailed-deal-results.dto.ts +0 -9
  281. package/types/deal/index.ts +0 -36
  282. package/types/deal/mortgage-program.enum.ts +0 -8
  283. package/types/deal/party-type.enum.ts +0 -5
  284. package/types/deal/search-deal-params.dto.ts +0 -30
  285. package/types/deal/send-deal-document-for-signature.dto.ts +0 -6
  286. package/types/deal/settle-deal.dto.ts +0 -16
  287. package/types/deal/update-deal.dto.ts +0 -22
  288. package/types/deal-type/deal-type-dropdown-params.dto.ts +0 -3
  289. package/types/deal-type/index.ts +0 -1
  290. package/types/direction/direction-type.enum.ts +0 -4
  291. package/types/direction/index.ts +0 -1
  292. package/types/documents/buyer-document-type.enum.ts +0 -3
  293. package/types/documents/employee-agreement.dto.ts +0 -4
  294. package/types/documents/get-buyer-document.dto.ts +0 -7
  295. package/types/documents/get-property-document.dto.ts +0 -7
  296. package/types/documents/index.ts +0 -7
  297. package/types/documents/non-disclosure-agreement.dto.ts +0 -4
  298. package/types/documents/property-document-type.enum.ts +0 -3
  299. package/types/documents/send-buyer-document-for-signature.dto.ts +0 -6
  300. package/types/documents/send-property-document-for-signature.dto.ts +0 -6
  301. package/types/feedback/feedback-category.enum.ts +0 -5
  302. package/types/feedback/feedback-create.dto.ts +0 -6
  303. package/types/feedback/feedback-search.dto.ts +0 -12
  304. package/types/feedback/feedback-status.enum.ts +0 -5
  305. package/types/feedback/index.ts +0 -4
  306. package/types/flats/flat-create.dto.ts +0 -13
  307. package/types/flats/flat-extended.dto.ts +0 -11
  308. package/types/flats/flat.enum.ts +0 -9
  309. package/types/flats/flats-search.dto.ts +0 -15
  310. package/types/flats/index.ts +0 -5
  311. package/types/flats/payment-calculations.type.ts +0 -7
  312. package/types/floor/floor-create.dto.ts +0 -12
  313. package/types/floor/floors-search.dto.ts +0 -12
  314. package/types/floor/index.ts +0 -2
  315. package/types/geo/bounds.type.ts +0 -11
  316. package/types/geo/enhanced-search-params.dto.ts +0 -7
  317. package/types/geo/enhanced-search-response.dto.ts +0 -10
  318. package/types/geo/geo-keys.dto.ts +0 -4
  319. package/types/geo/geo-level.enum.ts +0 -9
  320. package/types/geo/geo-node.dto.model.ts +0 -11
  321. package/types/geo/geo-search-coordinates.dto.model.ts +0 -4
  322. package/types/geo/geo-search-params.dto.model.ts +0 -8
  323. package/types/geo/geo-type.enum.ts +0 -8
  324. package/types/geo/geo.dto.model.ts +0 -3
  325. package/types/geo/index.ts +0 -11
  326. package/types/geo/promotion-geo.enum.ts +0 -8
  327. package/types/google/google-contact-type.enum.ts +0 -5
  328. package/types/handling/create-manual-handling.dto.ts +0 -13
  329. package/types/handling/handling-archive.dto.ts +0 -6
  330. package/types/handling/handling-check-black-list.dto.ts +0 -3
  331. package/types/handling/handling-recipient.enum.ts +0 -6
  332. package/types/handling/handling-search.dto.ts +0 -33
  333. package/types/handling/handling-type.enum.ts +0 -13
  334. package/types/handling/handling-update.dto.ts +0 -13
  335. package/types/handling/handling.dto.ts +0 -17
  336. package/types/handling/index.ts +0 -8
  337. package/types/image/apartment-complex-image-category.enum.ts +0 -7
  338. package/types/image/bind-apartment-image-params.dto.ts +0 -6
  339. package/types/image/bind-builder-image.dto.ts +0 -1
  340. package/types/image/bind-image.dto.ts +0 -1
  341. package/types/image/bulk-bind-images.dto.ts +0 -11
  342. package/types/image/image-category.enum.ts +0 -5
  343. package/types/image/index.ts +0 -9
  344. package/types/image/reorder-images.dto.ts +0 -8
  345. package/types/index.ts +0 -685
  346. package/types/layout/create-layout.dto.ts +0 -8
  347. package/types/layout/index.ts +0 -4
  348. package/types/layout/layout.types.enum.ts +0 -8
  349. package/types/layout/search-layouts.dto.ts +0 -17
  350. package/types/layout/update-layout.dto.ts +0 -13
  351. package/types/mistmatch/mismatch-action.types.enum.ts +0 -5
  352. package/types/node-env/node-env.enum.ts +0 -4
  353. package/types/norm-categories/employee-norm.dto.ts +0 -6
  354. package/types/norm-categories/index.ts +0 -3
  355. package/types/norm-categories/norm-categories.enum.ts +0 -11
  356. package/types/norm-categories/norm-category.dto.ts +0 -3
  357. package/types/notary/create-notary.dto.ts +0 -3
  358. package/types/notary/index.ts +0 -8
  359. package/types/notary/notary-contacts.type.ts +0 -7
  360. package/types/notary/notary-dropdown-params.dto.ts +0 -3
  361. package/types/notary/search-notary-params.dto.ts +0 -23
  362. package/types/notary/update-notary.dto.ts +0 -3
  363. package/types/notifications/index.ts +0 -15
  364. package/types/notifications/messenger.enum.ts +0 -4
  365. package/types/notifications/notification.enum.ts +0 -10
  366. package/types/notifications/notifications.ts +0 -63
  367. package/types/notifications/search-notifications-params.dto.ts +0 -3
  368. package/types/office-centers/center-contacts.type.ts +0 -12
  369. package/types/office-centers/day-schedule.type.ts +0 -11
  370. package/types/office-centers/index.ts +0 -9
  371. package/types/office-centers/office-center-dropdown-search.dto.model.ts +0 -3
  372. package/types/office-centers/office-center-search.dto.model.ts +0 -17
  373. package/types/office-centers/office-center.dto.ts +0 -3
  374. package/types/office-centers/send-office-center-location-to-customer.dto.ts +0 -6
  375. package/types/offices/contacts.type.ts +0 -9
  376. package/types/offices/employees.type.ts +0 -11
  377. package/types/offices/index.ts +0 -10
  378. package/types/offices/office-dropdown-params.dto.ts +0 -4
  379. package/types/offices/office-phone-number.dto.ts +0 -5
  380. package/types/offices/office-search.dto.model.ts +0 -17
  381. package/types/offices/office.dto.ts +0 -15
  382. package/types/offices/service.config.ts +0 -19
  383. package/types/parse/column-field-relation.interface.ts +0 -12
  384. package/types/parse/fields.enum.ts +0 -19
  385. package/types/parse/mapping-handler.types.ts +0 -18
  386. package/types/parse/mapping-relation.types.ts +0 -12
  387. package/types/parse/mapping.types.ts +0 -32
  388. package/types/parse/parse-fields.enum.ts +0 -19
  389. package/types/parse/row-item.interfaces.ts +0 -26
  390. package/types/parse/schemes.enum.ts +0 -4
  391. package/types/permissions/advert-permissions.enum.ts +0 -3
  392. package/types/permissions/analytic-permissions.enum.ts +0 -5
  393. package/types/permissions/attribute-permissions.enum.ts +0 -9
  394. package/types/permissions/buyer-permissions.enum.ts +0 -14
  395. package/types/permissions/customer-property-permissions.enum..ts +0 -16
  396. package/types/permissions/customer-request-permissions.enum.ts +0 -8
  397. package/types/permissions/deal-permissions.enum.ts +0 -15
  398. package/types/permissions/duty-permissions.enum.ts +0 -10
  399. package/types/permissions/exported-property-permissions.enum.ts +0 -6
  400. package/types/permissions/feedback-permissions.enum.ts +0 -7
  401. package/types/permissions/funnel-permissions.enum.ts +0 -5
  402. package/types/permissions/geo-permissions.enum.ts +0 -29
  403. package/types/permissions/handling-permissions.enum.ts +0 -10
  404. package/types/permissions/main-page-permissions.enum.ts +0 -5
  405. package/types/permissions/mismatch.permissions.ts +0 -6
  406. package/types/permissions/new-building/apartment-complex-permissions.enum.ts +0 -11
  407. package/types/permissions/new-building/build-company-permissions.enum.ts +0 -10
  408. package/types/permissions/new-building/flat-permissions.enum.ts +0 -10
  409. package/types/permissions/new-building/floor-permissions.enum.ts +0 -10
  410. package/types/permissions/new-building/layout-permissions.enum.ts +0 -10
  411. package/types/permissions/new-building/queue-permissions.enum.ts +0 -11
  412. package/types/permissions/new-building/section-permissions.enum.ts +0 -10
  413. package/types/permissions/news-permissions.enum.ts +0 -7
  414. package/types/permissions/notary-permissions.enum.ts +0 -7
  415. package/types/permissions/organization-permissions.enum.ts +0 -27
  416. package/types/permissions/permission.enum.ts +0 -96
  417. package/types/permissions/rbac-permissions.enum.ts +0 -9
  418. package/types/permissions/seller-permissions.enum.ts +0 -8
  419. package/types/permissions/telephony-permissions.enum.ts +0 -9
  420. package/types/permissions/user-action-logs-permissions.enum.ts +0 -5
  421. package/types/permissions/user-permissions.enum.ts +0 -13
  422. package/types/queue/create-queue.dto.ts +0 -6
  423. package/types/queue/index.ts +0 -2
  424. package/types/queue/search-queues.dto.ts +0 -13
  425. package/types/queues/queue.type.ts +0 -6
  426. package/types/realty-platforms/index.ts +0 -1
  427. package/types/realty-platforms/realty-platforms.enum.ts +0 -6
  428. package/types/representation/index.ts +0 -2
  429. package/types/representation/representation-search.dto.model.ts +0 -21
  430. package/types/representation/representation.dto.ts +0 -6
  431. package/types/request-presentation/create-request-presentation.dto.ts +0 -3
  432. package/types/request-presentation/index.ts +0 -1
  433. package/types/request-property/check-if-request-property-exists-params.dto.ts +0 -4
  434. package/types/request-property/create-request-property.dto.ts +0 -5
  435. package/types/request-property/index.ts +0 -5
  436. package/types/request-property/print-request-properties.dto.ts +0 -5
  437. package/types/request-property/search-request-property-params.dto.ts +0 -6
  438. package/types/request-property/update-request-property.dto.ts +0 -3
  439. package/types/roles/index.ts +0 -4
  440. package/types/roles/role-group.dto.ts +0 -3
  441. package/types/roles/role-weight.map.ts +0 -14
  442. package/types/roles/role.dto.ts +0 -9
  443. package/types/roles/role.enum.ts +0 -11
  444. package/types/section/index.ts +0 -2
  445. package/types/section/section-create.dto.ts +0 -6
  446. package/types/section/sections-search.dto.ts +0 -12
  447. package/types/statistic/employee-agreements-statistics-params.dto.ts +0 -17
  448. package/types/statistic/employee-agreements-statistics.dto.ts +0 -7
  449. package/types/statistic/exclusive-property-statistics-params.dto.ts +0 -7
  450. package/types/statistic/exclusive-property-statistics.dto.ts +0 -11
  451. package/types/statistic/handling-listenings-statistics-item.dto.ts +0 -6
  452. package/types/statistic/handling-listenings-statistics-params.dto.ts +0 -22
  453. package/types/statistic/index.ts +0 -15
  454. package/types/statistic/real-estate-by-property-type.dto.model.ts +0 -4
  455. package/types/statistic/realtor-involvment-statistics.dto.ts +0 -6
  456. package/types/statistic/realtor-involvment-user-statistics.dto.ts +0 -6
  457. package/types/street/index.ts +0 -4
  458. package/types/street/street-autocomplete-params.dto.ts +0 -5
  459. package/types/street/street-location.dto.ts +0 -9
  460. package/types/street/street-search.dto.ts +0 -16
  461. package/types/street/street.dto.ts +0 -3
  462. package/types/template/index.ts +0 -16
  463. package/types/template/template-comment-create.dto.ts +0 -6
  464. package/types/template/template-comment-response.dto.ts +0 -16
  465. package/types/template/template-comment.dto.ts +0 -6
  466. package/types/template/template-content.enum.ts +0 -5
  467. package/types/template/template-office.dto.ts +0 -3
  468. package/types/template/template-reaction-response.dto.ts +0 -5
  469. package/types/template/template-reaction-search.dto.ts +0 -7
  470. package/types/template/template-reaction.dto.ts +0 -6
  471. package/types/template/template-representation.dto.ts +0 -3
  472. package/types/template/template-response.dto.ts +0 -13
  473. package/types/template/template-role.dto.ts +0 -3
  474. package/types/template/template-search.dto.ts +0 -6
  475. package/types/template/template-view-response.dto.ts +0 -3
  476. package/types/template/template-view-search.dto.ts +0 -5
  477. package/types/template/template.dto.ts +0 -21
  478. package/types/template/template.enum.ts +0 -9
  479. package/types/topzone/index.ts +0 -3
  480. package/types/topzone/topzone-dropdown-list-params.dto.model.ts +0 -3
  481. package/types/topzone/topzone-search.dto.model.ts +0 -16
  482. package/types/topzone/topzone.dto.ts +0 -3
  483. package/types/uploaded-file/index.ts +0 -2
  484. package/types/uploaded-file/uploaded-file-type.enum.ts +0 -15
  485. package/types/uploaded-file/uploaded-file.dto.ts +0 -4
  486. package/types/user/index.ts +0 -17
  487. package/types/user/notification-preferences.dto.ts +0 -6
  488. package/types/user/update-user-vchasno.dto.ts +0 -8
  489. package/types/user/update-user.dto.ts +0 -6
  490. package/types/user/user-archive.dto.ts +0 -3
  491. package/types/user/user-attorney-search-params.dto.ts +0 -5
  492. package/types/user/user-attorney-type.enum.ts +0 -4
  493. package/types/user/user-attorney.dto.ts +0 -6
  494. package/types/user/user-autocomplete-params.dto.ts +0 -9
  495. package/types/user/user-phone.dto.ts +0 -3
  496. package/types/user/user-search.dto.ts +0 -28
  497. package/types/user/user-validation-params.dto.ts +0 -15
  498. package/types/user/user-vchasno-list-item.dto.ts +0 -10
  499. package/types/user/user.dto.ts +0 -20
  500. package/types/user-action-logs/index.ts +0 -2
  501. package/types/user-action-logs/model-name.enum.ts +0 -23
  502. package/types/user-action-logs/user-action-logs-search.dto.ts +0 -24
  503. package/types/user-office/index.ts +0 -2
  504. package/types/user-office/user-office.dto.ts +0 -3
  505. package/types/user-office/user-permission.dto.ts +0 -3
  506. package/types/user-permission/index.ts +0 -5
  507. package/types/user-permission/permission-connect.dto.model.ts +0 -3
  508. package/types/user-permission/permission-search.dto.model.ts +0 -3
  509. package/types/user-permission/permission.dto.ts +0 -3
  510. package/types/user-permission/user-permission-create-or-connect.dto.ts +0 -5
  511. package/types/user-permission/user-permission-create.dto.ts +0 -6
  512. package/types/user-points/index.ts +0 -6
  513. package/types/user-points/search-user-points-changes-params.dto.ts +0 -5
  514. package/types/user-points/user-points-amount-by-date.dto.ts +0 -4
  515. package/types/user-points/user-points-amount.dto.ts +0 -6
  516. package/types/user-points/user-points-event.enum.ts +0 -13
  517. package/types/user-points/user-points-statistic.dto.ts +0 -7
  518. package/types/user-points/user-points-user-statistic.dto.ts +0 -7
  519. package/types/user-profile/children.type.ts +0 -6
  520. package/types/user-profile/education.type.ts +0 -8
  521. package/types/user-profile/index.ts +0 -6
  522. package/types/user-profile/prev-jobs.type.ts +0 -7
  523. package/types/user-profile/profile.dto.ts +0 -6
  524. package/types/user-profile/socials.type.ts +0 -12
  525. package/types/user-profile/update-profile.dto.ts +0 -3
  526. package/types/vchasno/vchasno-document-category.enum.ts +0 -37
  527. package/types/vchasno/vchasno-document-signer.type.ts +0 -7
  528. package/types/vchasno/vchasno-document-status.enum.ts +0 -11
  529. package/types/vchasno/vchasno-document.type.ts +0 -32
  530. package/utils/create-service-action.ts +0 -15
  531. package/utils/database/sections.ts +0 -3
  532. package/utils/decorators/tranlsatable-column.decorator.ts +0 -9
  533. package/utils/index.ts +0 -4
  534. package/utils/role.utils.ts +0 -11
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vector-shared",
3
- "version": "1.1.348",
3
+ "version": "1.1.349",
4
4
  "description": "Private shared package",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -14,6 +14,9 @@
14
14
  "type": "git",
15
15
  "url": "git+ssh://git@bitbucket.org/all-in-atlanta/vector-shared.git"
16
16
  },
17
+ "files": [
18
+ "dist"
19
+ ],
17
20
  "keywords": [
18
21
  "vector"
19
22
  ],
package/.prettierignore DELETED
@@ -1,101 +0,0 @@
1
- # Dependencies
2
- node_modules/
3
- npm-debug.log*
4
- yarn-debug.log*
5
- yarn-error.log*
6
-
7
- # Build outputs
8
- dist/
9
- build/
10
- *.tsbuildinfo
11
-
12
- # Environment files
13
- .env
14
- .env.local
15
- .env.development.local
16
- .env.test.local
17
- .env.production.local
18
-
19
- # IDE files
20
- .vscode/
21
- .idea/
22
- *.swp
23
- *.swo
24
-
25
- # OS generated files
26
- .DS_Store
27
- .DS_Store?
28
- ._*
29
- .Spotlight-V100
30
- .Trashes
31
- ehthumbs.db
32
- Thumbs.db
33
-
34
- # Logs
35
- logs
36
- *.log
37
-
38
- # Runtime data
39
- pids
40
- *.pid
41
- *.seed
42
- *.pid.lock
43
-
44
- # Coverage directory used by tools like istanbul
45
- coverage/
46
- *.lcov
47
-
48
- # nyc test coverage
49
- .nyc_output
50
-
51
- # Dependency directories
52
- jspm_packages/
53
-
54
- # Optional npm cache directory
55
- .npm
56
-
57
- # Optional eslint cache
58
- .eslintcache
59
-
60
- # Microbundle cache
61
- .rpt2_cache/
62
- .rts2_cache_cjs/
63
- .rts2_cache_es/
64
- .rts2_cache_umd/
65
-
66
- # Optional REPL history
67
- .node_repl_history
68
-
69
- # Output of 'npm pack'
70
- *.tgz
71
-
72
- # Yarn Integrity file
73
- .yarn-integrity
74
-
75
- # parcel-bundler cache (https://parceljs.org/)
76
- .cache
77
- .parcel-cache
78
-
79
- # next.js build output
80
- .next
81
-
82
- # nuxt.js build output
83
- .nuxt
84
-
85
- # vuepress build output
86
- .vuepress/dist
87
-
88
- # Serverless directories
89
- .serverless
90
-
91
- # FuseBox cache
92
- .fusebox/
93
-
94
- # DynamoDB Local files
95
- .dynamodb/
96
-
97
- # TernJS port file
98
- .tern-port
99
-
100
- # Stores VSCode versions used for testing VSCode extensions
101
- .vscode-test
package/.prettierrc DELETED
@@ -1,15 +0,0 @@
1
- {
2
- "semi": true,
3
- "trailingComma": "es5",
4
- "singleQuote": true,
5
- "printWidth": 80,
6
- "tabWidth": 2,
7
- "useTabs": false,
8
- "bracketSpacing": true,
9
- "bracketSameLine": false,
10
- "arrowParens": "avoid",
11
- "endOfLine": "auto",
12
- "quoteProps": "as-needed",
13
- "jsxSingleQuote": true,
14
- "proseWrap": "preserve"
15
- }
@@ -1,37 +0,0 @@
1
- image: node:18
2
-
3
- pipelines:
4
- pull-requests:
5
- '**': # this trigger will make the pipeline run for all Pull Requests
6
- - step:
7
- name: PreCheckPull
8
- script:
9
- - npm install
10
- - npm run build
11
-
12
- branches:
13
- master:
14
- - step:
15
- name: Build
16
- caches:
17
- - node
18
- script:
19
- - node --version
20
- - npm --version
21
- - npm install
22
- - npm run build
23
- - step:
24
- name: Publish to NPM
25
- caches:
26
- - node
27
- script:
28
- - export PACKAGE_VERSION=$(node -p "require('./package.json').version")
29
- - export NPM_VERSION=$(npm view vector-shared version || echo '0.0.0')
30
- - |
31
- if [ "$PACKAGE_VERSION" != "$NPM_VERSION" ]; then
32
- npm config set //registry.npmjs.org/:_authToken=$NPM_TOKEN
33
- npm publish
34
- echo "Published version $PACKAGE_VERSION"
35
- else
36
- echo "Version $PACKAGE_VERSION already published, skipping"
37
- fi
@@ -1,12 +0,0 @@
1
- import { createService } from '../utils';
2
-
3
- export const AUTH_SERVICE_NAME = 'AUTH_SERVICE' as const;
4
-
5
- const authService = createService(AUTH_SERVICE_NAME);
6
-
7
- export const AUTH_LOGIN = authService.httpAction('login');
8
- export const AUTH_CREATE_USER = authService.httpAction('create-user');
9
- export const AUTH_UPDATE_USER = authService.httpAction('update-user');
10
- export const AUTH_AUTHENTICATE = authService.httpAction('authenticate');
11
- export const AUTH_GET_ROLES = authService.httpAction('get-roles');
12
- export const AUTH_GET_PERMISSIONS = authService.httpAction('get-permissions');
@@ -1,28 +0,0 @@
1
- import { createService } from '../utils';
2
-
3
- export const CUSTOMER_SERVICE_NAME = 'CUSTOMER_SERVICE' as const;
4
-
5
- const customerService = createService(CUSTOMER_SERVICE_NAME);
6
-
7
- export const CUSTOMER_USER_CREATED = customerService.rmqAction('user-created');
8
- export const CUSTOMER_CUSTOMER_CREATED =
9
- customerService.rmqAction('customer-created');
10
- export const CUSTOMER_CUSTOMER_UPDATED =
11
- customerService.rmqAction('customer-updated');
12
-
13
- export const CUSTOMER_REQUEST_CREATED =
14
- customerService.rmqAction('request-created');
15
-
16
- export const CUSTOMER_REQUEST_UPDATED =
17
- customerService.rmqAction('request-updated');
18
-
19
- export const CUSTOMER_PROPERTY_CREATED =
20
- customerService.rmqAction('property-updated');
21
-
22
- export const CUSTOMER_GET_ATTRIBUTE_VALUES = customerService.httpAction(
23
- 'get-attribute-values'
24
- );
25
-
26
- export const CUSTOMER_PROPERTY_UPDATED =
27
- customerService.rmqAction('property-updated');
28
- export const CUSTOMER_USER_UPDATED = customerService.rmqAction('user-updated');
package/index.ts DELETED
@@ -1,10 +0,0 @@
1
- export * from './utils';
2
-
3
- export * from './types';
4
-
5
- // Explicit exports for commonly used types
6
- export { Role, ROLE_WEIGHT_MAP } from './types';
7
-
8
- // Configs
9
- export * from './constants/customer-service.constants';
10
- export * from './constants/auth-service.constants';
package/tsconfig.json DELETED
@@ -1,23 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "module": "commonjs",
4
- "declaration": true,
5
- "removeComments": true,
6
- "emitDecoratorMetadata": true,
7
- "experimentalDecorators": true,
8
- "allowSyntheticDefaultImports": true,
9
- "target": "es2017",
10
- "sourceMap": true,
11
- "outDir": "./dist",
12
- "baseUrl": "./",
13
- "incremental": true,
14
- "skipLibCheck": true,
15
- "strictNullChecks": false,
16
- "noImplicitAny": false,
17
- "strictBindCallApply": false,
18
- "forceConsistentCasingInFileNames": false,
19
- "noFallthroughCasesInSwitch": false
20
- },
21
- "exclude": ["node_modules"],
22
- "include": ["index.ts"]
23
- }
@@ -1,3 +0,0 @@
1
- export type AdvertSourceDropdownSearchDtoModel = {
2
- parentId?: number;
3
- };
@@ -1 +0,0 @@
1
- export { AdvertSourceDropdownSearchDtoModel } from './advert-source-dropdown-search.dto.model';
@@ -1,4 +0,0 @@
1
- export type AgencySearchDtoModel = {
2
- geoId?: number;
3
- q?: string;
4
- };
@@ -1,6 +0,0 @@
1
- import { MultiLanguage } from '../common/multi-language-column.type';
2
-
3
- export type CreateAgencyDto = {
4
- name: MultiLanguage;
5
- geoId?: number;
6
- };
@@ -1 +0,0 @@
1
- export { AgencySearchDtoModel } from './agency-search.type';
@@ -1,14 +0,0 @@
1
- export type Expression = {
2
- name: number;
3
- value: string;
4
- scope: ExpressionScope;
5
- };
6
-
7
- export interface ExpressionScope extends Record<string, number> {
8
- S: number;
9
- F: number;
10
- P: number;
11
- D: number;
12
- Cb: number;
13
- Cn: number;
14
- }
@@ -1,2 +0,0 @@
1
- export { Manager } from './manager.type';
2
- export { Expression, ExpressionScope } from './expression.type';
@@ -1,5 +0,0 @@
1
- export type Manager = {
2
- phone: string;
3
- name: string;
4
- surname: string;
5
- };
@@ -1,7 +0,0 @@
1
- enum ArchiveReasonDestination {
2
- Handling = 'handling',
3
- CustomerRequest = 'customerRequest',
4
- CustomerProperty = 'customerProperty',
5
- }
6
-
7
- export { ArchiveReasonDestination };
@@ -1,5 +0,0 @@
1
- import { ArchiveReasonDestination } from './archive-reason-destination.enum';
2
-
3
- export type ArchiveReasonDropdownParams = {
4
- destination?: ArchiveReasonDestination;
5
- };
@@ -1,2 +0,0 @@
1
- export { ArchiveReasonDestination } from './archive-reason-destination.enum';
2
- export { ArchiveReasonDropdownParams } from './archive-reason-dropdown-params.type';
@@ -1,22 +0,0 @@
1
- import { DateFilterParams } from '../common/date-filter-params.type';
2
- import { PaginatedParams } from '../common/paginated-list.type';
3
- import { SortOrder, SortingParams } from '../common/sorting-params.type';
4
- import { AttentionRequiredEntityEnum } from '../customer/attention-required-entity.enum';
5
-
6
- export enum SortByAttentionRequiredOfficeStatisticField {
7
- OfficeNumber = 'officeNumber',
8
- Total = 'total',
9
- Handled = 'handled',
10
- NotHandled = 'nothandled',
11
- HandledWithChanges = 'handledwithchanges',
12
- }
13
-
14
- export type AttentionRequiredOfficeStatisticParam = PaginatedParams &
15
- SortingParams<SortByAttentionRequiredOfficeStatisticField> & {
16
- representationIds?: number[];
17
- officeIds?: number[];
18
- period?: DateFilterParams;
19
- entityType?: AttentionRequiredEntityEnum;
20
- sortBy?: SortByAttentionRequiredOfficeStatisticField;
21
- sortOrder?: SortOrder;
22
- };
@@ -1,6 +0,0 @@
1
- import { AttentionRequiredEntityEnum } from '../customer/attention-required-entity.enum';
2
- import { PaginatedParams } from '../common/paginated-list.type';
3
-
4
- export type AttentionRequiredSearch = PaginatedParams & {
5
- entityType?: AttentionRequiredEntityEnum;
6
- };
@@ -1,9 +0,0 @@
1
- import { AttentionRequiredEntityEnum } from '../customer/attention-required-entity.enum';
2
- import { DateFilterParams } from '../common/date-filter-params.type';
3
-
4
- export type AttentionRequiredStatisticParams = {
5
- representationIds?: number[];
6
- officeIds?: number[];
7
- period?: DateFilterParams;
8
- entityType?: AttentionRequiredEntityEnum;
9
- };
@@ -1,14 +0,0 @@
1
- export type AttentionRequiredStatistic = {
2
- total: number;
3
- handled: number;
4
- handledWithoutChanges: number;
5
- notHandled: number;
6
- };
7
-
8
- export type AttentionRequiredOfficeStatistic = {
9
- officeNumber: number;
10
- total: number;
11
- handled: number;
12
- handledWithoutChanges: number;
13
- notHandled: number;
14
- };
@@ -1,6 +0,0 @@
1
- import { AttentionRequiredEntity } from '../core/attention-required.type';
2
-
3
- export type AttentionRequiredUpdateDto = Pick<
4
- AttentionRequiredEntity,
5
- 'reason' | 'handledAt'
6
- >;
@@ -1,22 +0,0 @@
1
- import { AttentionRequiredEntityEnum } from '../customer/attention-required-entity.enum';
2
- import { DateFilterParams } from '../common/date-filter-params.type';
3
- import { PaginatedParams } from '../common/paginated-list.type';
4
- import { SortOrder, SortingParams } from '../common/sorting-params.type';
5
-
6
- export enum SortByAttentionRequiredField {
7
- OfficeNumber = 'officeNumber',
8
- EntityId = 'entityId',
9
- CreatedAt = 'createdAt',
10
- UpdatedAt = 'updatedAt',
11
- HandledAt = 'handledAt',
12
- }
13
-
14
- export type AttentionRequiredWithChanges = PaginatedParams &
15
- SortingParams<SortByAttentionRequiredField> & {
16
- representationIds?: number[];
17
- officeIds?: number[];
18
- period?: DateFilterParams;
19
- entityType?: AttentionRequiredEntityEnum;
20
- sortBy?: SortByAttentionRequiredField;
21
- sortOrder?: SortOrder;
22
- };
@@ -1,15 +0,0 @@
1
- export {
2
- AttentionRequiredStatistic,
3
- AttentionRequiredOfficeStatistic,
4
- } from './attention-required-statistic.type';
5
- export { AttentionRequiredUpdateDto } from './attention-required-update.type';
6
- export {
7
- AttentionRequiredWithChanges,
8
- SortByAttentionRequiredField,
9
- } from './attention-required-with-changes.type';
10
- export {
11
- AttentionRequiredOfficeStatisticParam,
12
- SortByAttentionRequiredOfficeStatisticField,
13
- } from './attention-required-office-statistic-param.type';
14
- export { AttentionRequiredSearch } from './attention-required-search.type';
15
- export { AttentionRequiredStatisticParams } from './attention-required-statistic-param.type';
@@ -1,3 +0,0 @@
1
- import { PaginatedParams } from '../common/paginated-list.type';
2
-
3
- export type AttorneySearchDto = PaginatedParams;
@@ -1,4 +0,0 @@
1
- export enum AttorneyTypeEnum {
2
- Franchise = 'franchise',
3
- Atlanta = 'atlanta',
4
- }
@@ -1,13 +0,0 @@
1
- import { AttorneyEntity } from '../core/attorney.type';
2
-
3
- export type AttorneyDto = Pick<
4
- AttorneyEntity,
5
- | 'address'
6
- | 'email'
7
- | 'account'
8
- | 'type'
9
- | 'vchasnoApiKey'
10
- | 'edrpo'
11
- | 'qrCode'
12
- | 'name'
13
- >;
@@ -1,3 +0,0 @@
1
- export { AttorneySearchDto } from './attorney-search.dto';
2
- export { AttorneyTypeEnum } from './attorney-type.enum';
3
- export { AttorneyDto } from './attorney.dto';
@@ -1,3 +0,0 @@
1
- import { PropertyAttributes } from './property-atributes.type';
2
-
3
- export type ApartmentInfoAttributes = Record<string, PropertyAttributes>;
@@ -1,4 +0,0 @@
1
- export enum ApartmentType {
2
- Separate = 866,
3
- Communal = 865,
4
- }
@@ -1,18 +0,0 @@
1
- enum AttributeCategory {
2
- Main = 'main',
3
- Additional = 'additional',
4
- Adverts = 'adverts',
5
- Documents = 'documents',
6
- Service = 'service',
7
- Location = 'location',
8
- Programs = 'programs',
9
- Rent = 'rent',
10
- Sell = 'sell',
11
- ApartmentInformation = 'apartment_information',
12
- Details = 'details',
13
- Infostructure = 'infostructure',
14
- Lending = 'lending',
15
- FlatInformation = 'flat_information',
16
- }
17
-
18
- export { AttributeCategory };
@@ -1,18 +0,0 @@
1
- import { AttributeDestination } from './attribute-destination.enum';
2
- import { AttributeCategory } from './attribute-category.enum';
3
- import { AttributeUnit } from './attribute-unit.enum';
4
-
5
- export type RequiredConfig = {
6
- [AttributeDestination.Buyer]: boolean;
7
- [AttributeDestination.Seller]: boolean;
8
- };
9
-
10
- export type AttributeConfigType = {
11
- isCheckedByDefault?: boolean;
12
- isCurrentDateByDefault?: boolean;
13
- category?: AttributeCategory;
14
- order?: number;
15
- required?: RequiredConfig;
16
- destination?: AttributeDestination[];
17
- unit?: AttributeUnit;
18
- };
@@ -1,6 +0,0 @@
1
- enum AttributeDestination {
2
- Buyer = 'buyer',
3
- Seller = 'seller',
4
- }
5
-
6
- export { AttributeDestination };
@@ -1,16 +0,0 @@
1
- enum AttributeKey {
2
- EntranceWidth = 'lift_land_max',
3
- FacadeLength = 'length_facade',
4
- Floor = 'floor',
5
- FloorsCount = 'floors_count',
6
- RentPrice = 'rent_price',
7
- RoomsCount = 'rooms_count',
8
- SellPrice = 'price',
9
- TotalLandArea = 'square_land_total',
10
- TotalArea = 'square_total',
11
- SquareKitchen = 'square_kitchen',
12
- SquareLandTotal = 'square_land_total',
13
- SquareLandFree = 'square_land_free',
14
- }
15
-
16
- export { AttributeKey };
@@ -1,6 +0,0 @@
1
- import { AttributeRepresentationEntity } from '../core/attribute-representation.type';
2
-
3
- export type AttributeRepresentationDto = Pick<
4
- AttributeRepresentationEntity,
5
- 'attributeKey' | 'representationId'
6
- >;
@@ -1,16 +0,0 @@
1
- import { AttributeType } from './attribute-type.enum';
2
- import { AttributeCategory } from './attribute-category.enum';
3
- import { AttributeDestination } from './attribute-destination.enum';
4
- import { RealtyType } from '../customer-property';
5
-
6
- export type AttributeSearchDtoModel = {
7
- representationId?: number;
8
- estateTypes?: RealtyType[];
9
- types?: AttributeType[];
10
- key?: string;
11
- keys?: string[];
12
- name?: string;
13
- category?: AttributeCategory;
14
- destination?: AttributeDestination;
15
- required?: number;
16
- };
@@ -1,12 +0,0 @@
1
- enum AttributeType {
2
- Integer = 'int',
3
- Float = 'float',
4
- Boolean = 'boolean',
5
- String = 'string',
6
- ForeignKey = 'fk',
7
- MultiForeignKey = 'multi_fk',
8
- Date = 'date',
9
- DateRange = 'date_range',
10
- }
11
-
12
- export { AttributeType };
@@ -1,8 +0,0 @@
1
- enum AttributeUnit {
2
- Dollar = 'dollar',
3
- Meter = 'meter',
4
- SquareMeter = 'square_meter',
5
- HundredSquareMeters = 'hundred_square_meters',
6
- }
7
-
8
- export { AttributeUnit };
@@ -1,3 +0,0 @@
1
- import { AttributeValueEntity } from '../core/attribute-value.type';
2
-
3
- export type AttributeValueDto = Pick<AttributeValueEntity, 'attributeKey' | 'name'>;
@@ -1,28 +0,0 @@
1
- import { Dropdown } from '../common/dropdown.type';
2
- import { AttributeEntity } from '../core/attribute.type';
3
- import { AttributeValueDto } from './attribute-value.type';
4
- import { AttributeRepresentationDto } from './attribute-representation.type';
5
-
6
- export type AttributeDto = Pick<
7
- AttributeEntity,
8
- | 'key'
9
- | 'name'
10
- | 'shortName'
11
- | 'isNewBuilding'
12
- | 'description'
13
- | 'vectorId'
14
- | 'type'
15
- | 'config'
16
- | 'estateType'
17
- | 'apartmentType'
18
- | 'objectType'
19
- > & {
20
- values?: AttributeValueDto[];
21
- representations?: AttributeRepresentationDto[];
22
- };
23
-
24
- export type TranslatedAttribute = {
25
- key: string;
26
- name: string;
27
- values: Dropdown[];
28
- };
@@ -1,5 +0,0 @@
1
- import { PropertyAttributes } from './property-atributes.type';
2
-
3
- export type CustomerRequestAttributes = Record<string, PropertyAttributes>;
4
-
5
- export type CustomerPropertyAttributes = Record<string, PropertyAttributes>;
@@ -1,4 +0,0 @@
1
- export enum DealType {
2
- Rent = 'rent',
3
- Sell = 'sell',
4
- }
@@ -1,24 +0,0 @@
1
- // Types
2
- export { AttributeDto, TranslatedAttribute } from './attribute.type';
3
- export { AttributeValueDto } from './attribute-value.type';
4
- export { AttributeSearchDtoModel } from './attribute-search.type';
5
- export { AttributeRepresentationDto } from './attribute-representation.type';
6
- export { PropertyAttributes } from './property-atributes.type';
7
- export {
8
- CustomerRequestAttributes,
9
- CustomerPropertyAttributes,
10
- } from './customer-requests-attributes.type';
11
- export { ApartmentInfoAttributes } from './apartment-info-attributes.type';
12
- export { AttributeConfigType, RequiredConfig } from './attribute-config.type';
13
-
14
- // Enums
15
- export { DealType } from './deal-type.enum';
16
- export { AttributeCategory } from './attribute-category.enum';
17
- export { ApartmentType } from './apartment-type.enum';
18
- export { ObjectType } from './object-type.enum';
19
- export { AttributeKey } from './attribute-key.enum';
20
- export { AttributeUnit } from './attribute-unit.enum';
21
- export { RegistrationType } from './registration-type.enum';
22
- export { AttributeDestination } from './attribute-destination.enum';
23
- export { AttributeType } from './attribute-type.enum';
24
- export { Male } from './male.enum';