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.
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/core/mismatch-decision.type.d.ts +0 -4
- package/dist/types/permissions/mismatch.permissions.d.ts +5 -0
- package/dist/types/permissions/mismatch.permissions.js +9 -0
- package/dist/types/permissions/mismatch.permissions.js.map +1 -0
- package/dist/types/permissions/permission.enum.d.ts +4 -1
- package/dist/types/permissions/permission.enum.js +4 -2
- package/dist/types/permissions/permission.enum.js.map +1 -1
- package/package.json +4 -1
- package/.prettierignore +0 -101
- package/.prettierrc +0 -15
- package/bitbucket-pipelines.yml +0 -37
- package/constants/auth-service.constants.ts +0 -12
- package/constants/customer-service.constants.ts +0 -28
- package/index.ts +0 -10
- package/tsconfig.json +0 -23
- package/types/advert-source/advert-source-dropdown-search.dto.model.ts +0 -3
- package/types/advert-source/index.ts +0 -1
- package/types/agency/agency-search.type.ts +0 -4
- package/types/agency/create-agency.type.ts +0 -6
- package/types/agency/index.ts +0 -1
- package/types/apartment-complex/expression.type.ts +0 -14
- package/types/apartment-complex/index.ts +0 -2
- package/types/apartment-complex/manager.type.ts +0 -5
- package/types/archive-reasons/archive-reason-destination.enum.ts +0 -7
- package/types/archive-reasons/archive-reason-dropdown-params.type.ts +0 -5
- package/types/archive-reasons/index.ts +0 -2
- package/types/attention-required/attention-required-office-statistic-param.type.ts +0 -22
- package/types/attention-required/attention-required-search.type.ts +0 -6
- package/types/attention-required/attention-required-statistic-param.type.ts +0 -9
- package/types/attention-required/attention-required-statistic.type.ts +0 -14
- package/types/attention-required/attention-required-update.type.ts +0 -6
- package/types/attention-required/attention-required-with-changes.type.ts +0 -22
- package/types/attention-required/index.ts +0 -15
- package/types/attorney/attorney-search.dto.ts +0 -3
- package/types/attorney/attorney-type.enum.ts +0 -4
- package/types/attorney/attorney.dto.ts +0 -13
- package/types/attorney/index.ts +0 -3
- package/types/attributes/apartment-info-attributes.type.ts +0 -3
- package/types/attributes/apartment-type.enum.ts +0 -4
- package/types/attributes/attribute-category.enum.ts +0 -18
- package/types/attributes/attribute-config.type.ts +0 -18
- package/types/attributes/attribute-destination.enum.ts +0 -6
- package/types/attributes/attribute-key.enum.ts +0 -16
- package/types/attributes/attribute-representation.type.ts +0 -6
- package/types/attributes/attribute-search.type.ts +0 -16
- package/types/attributes/attribute-type.enum.ts +0 -12
- package/types/attributes/attribute-unit.enum.ts +0 -8
- package/types/attributes/attribute-value.type.ts +0 -3
- package/types/attributes/attribute.type.ts +0 -28
- package/types/attributes/customer-requests-attributes.type.ts +0 -5
- package/types/attributes/deal-type.enum.ts +0 -4
- package/types/attributes/index.ts +0 -24
- package/types/attributes/male.enum.ts +0 -7
- package/types/attributes/object-type.enum.ts +0 -9
- package/types/attributes/property-atributes.type.ts +0 -19
- package/types/attributes/registration-type.enum.ts +0 -6
- package/types/auth/index.ts +0 -2
- package/types/auth/login-user-with-google.dto.ts +0 -3
- package/types/auth/login-user.dto.model.ts +0 -5
- package/types/build-company/build-companies-search.dto.ts +0 -18
- package/types/build-company/build-company-create.dto.ts +0 -6
- package/types/build-company/index.ts +0 -2
- package/types/calendar/calendar.type.ts +0 -19
- package/types/calendar/duty.create.dto.ts +0 -14
- package/types/calendar/duty.search.dto.ts +0 -5
- package/types/calendar/duty.update.dto.ts +0 -12
- package/types/calendar/index.ts +0 -4
- package/types/call/call-data.type.ts +0 -7
- package/types/call/call-search.dto.model.ts +0 -7
- package/types/call/call-type.enum.ts +0 -11
- package/types/call/index.ts +0 -3
- package/types/call-redirect/call-redirect-create.type.ts +0 -12
- package/types/call-redirect/call-redirect-search.dto.ts +0 -7
- package/types/call-redirect/call-redirect-update.type.ts +0 -8
- package/types/call-redirect/index.ts +0 -3
- package/types/common/autocomplete-params.type.ts +0 -6
- package/types/common/currency.enum.ts +0 -7
- package/types/common/currency.value.interface.ts +0 -4
- package/types/common/date-filter-params.type.ts +0 -4
- package/types/common/day.enum.ts +0 -11
- package/types/common/dropdown.type.ts +0 -6
- package/types/common/index.ts +0 -52
- package/types/common/language.enum.ts +0 -5
- package/types/common/multi-language-column.type.ts +0 -13
- package/types/common/paginated-list.type.ts +0 -12
- package/types/common/phone.type.ts +0 -10
- package/types/common/point.type.ts +0 -1
- package/types/common/query.boolean.ts +0 -6
- package/types/common/reaction.enum.ts +0 -4
- package/types/common/search-by-phone.type.ts +0 -3
- package/types/common/sorting-params.type.ts +0 -9
- package/types/common/text-search.type.ts +0 -6
- package/types/common/translated-or-raw.type.ts +0 -5
- package/types/core/advert-source.type.ts +0 -25
- package/types/core/agency.type.ts +0 -12
- package/types/core/apartment-complex-image.type.ts +0 -13
- package/types/core/apartment-complex-info.type.ts +0 -21
- package/types/core/apartment-complex.type.ts +0 -35
- package/types/core/appraiser.type.ts +0 -9
- package/types/core/archive-reason.type.ts +0 -16
- package/types/core/attention-required.type.ts +0 -9
- package/types/core/attorney.type.ts +0 -16
- package/types/core/attribute-representation.type.ts +0 -10
- package/types/core/attribute-value.type.ts +0 -11
- package/types/core/attribute.type.ts +0 -25
- package/types/core/base-entity.type.ts +0 -6
- package/types/core/build-company.type.ts +0 -16
- package/types/core/call-redirect.type.ts +0 -19
- package/types/core/call.type.ts +0 -20
- package/types/core/contract-type.type.ts +0 -8
- package/types/core/customer-bucket.type.ts +0 -10
- package/types/core/customer-call.type.ts +0 -11
- package/types/core/customer-phone.type.ts +0 -10
- package/types/core/customer-property-duplicate.type.ts +0 -14
- package/types/core/customer-property.type.ts +0 -109
- package/types/core/customer-request-selection.type.ts +0 -36
- package/types/core/customer-request.type.ts +0 -36
- package/types/core/customer.type.ts +0 -52
- package/types/core/deal-document.type.ts +0 -17
- package/types/core/deal-participant.type.ts +0 -23
- package/types/core/deal-transaction.type.ts +0 -21
- package/types/core/deal-type-percentage.type.ts +0 -11
- package/types/core/deal-type.type.ts +0 -13
- package/types/core/deal.type.ts +0 -135
- package/types/core/document.type.ts +0 -9
- package/types/core/duty.type.ts +0 -17
- package/types/core/employee-norm.type.ts +0 -17
- package/types/core/feedback-file.type.ts +0 -10
- package/types/core/feedback-view.type.ts +0 -10
- package/types/core/feedback.type.ts +0 -19
- package/types/core/flat.type.ts +0 -22
- package/types/core/floor.type.ts +0 -13
- package/types/core/geo-topzone.type.ts +0 -9
- package/types/core/geo.type.ts +0 -33
- package/types/core/google-contact.type.ts +0 -14
- package/types/core/handling-listening.type.ts +0 -10
- package/types/core/handling.type.ts +0 -39
- package/types/core/image.type.ts +0 -22
- package/types/core/index.ts +0 -98
- package/types/core/layout.type.ts +0 -20
- package/types/core/mismatch-aggregate.type.ts +0 -8
- package/types/core/mismatch-decision.type.ts +0 -14
- package/types/core/mismatch-reason.type.ts +0 -10
- package/types/core/mismatch-report.type.ts +0 -14
- package/types/core/norm-category.type.ts +0 -11
- package/types/core/notary.type.ts +0 -13
- package/types/core/notification-preference.type.ts +0 -11
- package/types/core/notification.type.ts +0 -13
- package/types/core/office-center.type.ts +0 -20
- package/types/core/office.type.ts +0 -35
- package/types/core/permission.type.ts +0 -11
- package/types/core/property-document.type.ts +0 -11
- package/types/core/property-image.type.ts +0 -14
- package/types/core/property-seo.type.ts +0 -11
- package/types/core/queue.type.ts +0 -20
- package/types/core/reaction.type.ts +0 -6
- package/types/core/realtor-number.type.ts +0 -11
- package/types/core/representation.type.ts +0 -18
- package/types/core/request-presentation-property.type.ts +0 -11
- package/types/core/request-presentation.type.ts +0 -10
- package/types/core/request-property.type.ts +0 -15
- package/types/core/role-permission-group.type.ts +0 -10
- package/types/core/role.type.ts +0 -14
- package/types/core/section.type.ts +0 -13
- package/types/core/street.type.ts +0 -28
- package/types/core/telegram-chat.type.ts +0 -9
- package/types/core/telegram-message.type.ts +0 -11
- package/types/core/template-comment-reaction.type.ts +0 -7
- package/types/core/template-comment.type.ts +0 -16
- package/types/core/template-office.type.ts +0 -10
- package/types/core/template-participant.type.ts +0 -10
- package/types/core/template-reaction.type.ts +0 -7
- package/types/core/template-representation.type.ts +0 -10
- package/types/core/template-role.type.ts +0 -10
- package/types/core/template-view.type.ts +0 -10
- package/types/core/template.type.ts +0 -38
- package/types/core/time-metric-entity.type.ts +0 -5
- package/types/core/topzone.type.ts +0 -20
- package/types/core/unique-id-entity.type.ts +0 -3
- package/types/core/uploaded-file-entity.type.ts +0 -10
- package/types/core/user-action-log.type.ts +0 -15
- package/types/core/user-attorney.type.ts +0 -27
- package/types/core/user-office.type.ts +0 -11
- package/types/core/user-permission.type.ts +0 -11
- package/types/core/user-phone.type.ts +0 -10
- package/types/core/user-points-change.type.ts +0 -22
- package/types/core/user-points-rule.type.ts +0 -7
- package/types/core/user-profile.type.ts +0 -47
- package/types/core/user.type.ts +0 -83
- package/types/core/valuation.type.ts +0 -9
- package/types/core/vnp-reason.type.ts +0 -8
- package/types/core/x-customer-notification.type.ts +0 -8
- package/types/customer/actiivity-potential.enum.ts +0 -8
- package/types/customer/add-cusomer-to-bucket.type.ts +0 -3
- package/types/customer/archive-customer.type.ts +0 -6
- package/types/customer/attention-required-entity.enum.ts +0 -4
- package/types/customer/create-customer.type.ts +0 -27
- package/types/customer/customer-autocomplete-params.dto.ts +0 -6
- package/types/customer/customer-bucket-scope.enum.ts +0 -7
- package/types/customer/customer-by-phone-number-realtor.dto.ts +0 -8
- package/types/customer/customer-by-phone-number.dto.ts +0 -21
- package/types/customer/customer-property-owner.type.ts +0 -6
- package/types/customer/customer-request-selection.enum.ts +0 -4
- package/types/customer/customer-type.enum.ts +0 -6
- package/types/customer/exclusive-buyer-agreement-data.type.ts +0 -18
- package/types/customer/get-customer-bucket-params.type.ts +0 -3
- package/types/customer/index.ts +0 -38
- package/types/customer/search-buyer-params.type.ts +0 -26
- package/types/customer/search-customer-by-phone.dto.ts +0 -8
- package/types/customer/update-customer.dto.ts +0 -3
- package/types/customer-call/customer-call.type.ts +0 -7
- package/types/customer-call/index.ts +0 -1
- package/types/customer-property/archive-customer-property.dto.ts +0 -6
- package/types/customer-property/cadastral-number.type.ts +0 -6
- package/types/customer-property/complex.type.ts +0 -4
- package/types/customer-property/create-customer-additional-owner.dto.ts +0 -6
- package/types/customer-property/create-customer-property-without-seller.type.ts +0 -6
- package/types/customer-property/create-customer-property.type.ts +0 -48
- package/types/customer-property/create-customer-request-without-buyer.dto.ts +0 -6
- package/types/customer-property/customer-properties-grouped-by-address-params.dto.ts +0 -8
- package/types/customer-property/customer-properties-grouped-by-address.dto.ts +0 -6
- package/types/customer-property/customer-properties-grouped-by-floor.dto.ts +0 -6
- package/types/customer-property/customer-property-autocomplete-params.dto.ts +0 -8
- package/types/customer-property/customer-property-check-duplicate-dto.ts +0 -19
- package/types/customer-property/customer-property-check-exclusive-exists.dto.ts +0 -6
- package/types/customer-property/customer-property-confirm-exclusive.dto.ts +0 -3
- package/types/customer-property/customer-property-document.dto.ts +0 -5
- package/types/customer-property/customer-property-image.dto.ts +0 -6
- package/types/customer-property/customer-property-search-apartment-dto.ts +0 -9
- package/types/customer-property/customer-property-search-area-dto.ts +0 -5
- package/types/customer-property/customer-property-search-by-cadastral-number.dto.ts +0 -5
- package/types/customer-property/customer-property-search-commercial-dto.ts +0 -8
- package/types/customer-property/customer-property-search-house-dto.ts +0 -6
- package/types/customer-property/customer-property-stage.ts +0 -10
- package/types/customer-property/exclusive-property-agreement-data.dto.ts +0 -8
- package/types/customer-property/exclusive-property-agreement-data.type.ts +0 -8
- package/types/customer-property/index.ts +0 -58
- package/types/customer-property/property-classification.enum.ts +0 -5
- package/types/customer-property/property-document-category.enum.ts +0 -8
- package/types/customer-property/property-duplicate-status.enum.ts +0 -6
- package/types/customer-property/property-exclusive-status.enum.ts +0 -5
- package/types/customer-property/realty-subtype.enum.ts +0 -22
- package/types/customer-property/realty-type.enum.ts +0 -6
- package/types/customer-property/search-customer-property-by-attributes.dto.ts +0 -13
- package/types/customer-property/search-customer-property-params.dto.ts +0 -38
- package/types/customer-property/seo.dto.ts +0 -10
- package/types/customer-property/update-customer-property.dto.ts +0 -13
- package/types/customer-property-duplicate/customer-property-duplicate.dto.ts +0 -12
- package/types/customer-property-duplicate/index.ts +0 -4
- package/types/customer-request/archive-customer-request.dto.ts +0 -5
- package/types/customer-request/create-customer-request-without-buyer.type.ts +0 -6
- package/types/customer-request/create-customer-request.type.ts +0 -17
- package/types/customer-request/customer-request-autocomplete-params.dto.ts +0 -8
- package/types/customer-request/customer-request-stages.ts +0 -7
- package/types/customer-request/index.ts +0 -7
- package/types/customer-request/search-customer-requests-params.dto.ts +0 -9
- package/types/customer-request/update-customer-request.dto.ts +0 -8
- package/types/customer-request-selection/customer-request-selection.dto.ts +0 -17
- package/types/customer-request-selection/index.ts +0 -2
- package/types/customer-request-selection/update-customer-request-selection.dto.ts +0 -4
- package/types/deal/break-deal-partially.dto.ts +0 -8
- package/types/deal/break-deal.dto.ts +0 -3
- package/types/deal/check-if-deal-number-exists-params.dto.ts +0 -4
- package/types/deal/create-deal.dto.ts +0 -62
- package/types/deal/deal-aggregation-row.dto.ts +0 -16
- package/types/deal/deal-agreement-type.enum.ts +0 -5
- package/types/deal/deal-autocomplete-params.dto.ts +0 -6
- package/types/deal/deal-buyer.type.ts +0 -12
- package/types/deal/deal-document.dto.ts +0 -7
- package/types/deal/deal-document.enum.ts +0 -22
- package/types/deal/deal-expense.dto.ts +0 -7
- package/types/deal/deal-expense.type.ts +0 -7
- package/types/deal/deal-expenses-category.enum.ts +0 -3
- package/types/deal/deal-format.enum.ts +0 -14
- package/types/deal/deal-offices-tree.dto.ts +0 -11
- package/types/deal/deal-participant-type.enum.ts +0 -5
- package/types/deal/deal-payer.enum.ts +0 -5
- package/types/deal/deal-seller.dto.ts +0 -13
- package/types/deal/deal-seller.type.ts +0 -13
- package/types/deal/deal-status.enum.ts +0 -6
- package/types/deal/deal-transaction.enum.ts +0 -4
- package/types/deal/detailed-deal-results-date-results.dto.ts +0 -4
- package/types/deal/detailed-deal-results-office-center-results.dto.ts +0 -14
- package/types/deal/detailed-deal-results-office-results.dto.ts +0 -15
- package/types/deal/detailed-deal-results-params.dto.ts +0 -8
- package/types/deal/detailed-deal-results-participant.dto.ts +0 -13
- package/types/deal/detailed-deal-results.dto.ts +0 -9
- package/types/deal/index.ts +0 -36
- package/types/deal/mortgage-program.enum.ts +0 -8
- package/types/deal/party-type.enum.ts +0 -5
- package/types/deal/search-deal-params.dto.ts +0 -30
- package/types/deal/send-deal-document-for-signature.dto.ts +0 -6
- package/types/deal/settle-deal.dto.ts +0 -16
- package/types/deal/update-deal.dto.ts +0 -22
- package/types/deal-type/deal-type-dropdown-params.dto.ts +0 -3
- package/types/deal-type/index.ts +0 -1
- package/types/direction/direction-type.enum.ts +0 -4
- package/types/direction/index.ts +0 -1
- package/types/documents/buyer-document-type.enum.ts +0 -3
- package/types/documents/employee-agreement.dto.ts +0 -4
- package/types/documents/get-buyer-document.dto.ts +0 -7
- package/types/documents/get-property-document.dto.ts +0 -7
- package/types/documents/index.ts +0 -7
- package/types/documents/non-disclosure-agreement.dto.ts +0 -4
- package/types/documents/property-document-type.enum.ts +0 -3
- package/types/documents/send-buyer-document-for-signature.dto.ts +0 -6
- package/types/documents/send-property-document-for-signature.dto.ts +0 -6
- package/types/feedback/feedback-category.enum.ts +0 -5
- package/types/feedback/feedback-create.dto.ts +0 -6
- package/types/feedback/feedback-search.dto.ts +0 -12
- package/types/feedback/feedback-status.enum.ts +0 -5
- package/types/feedback/index.ts +0 -4
- package/types/flats/flat-create.dto.ts +0 -13
- package/types/flats/flat-extended.dto.ts +0 -11
- package/types/flats/flat.enum.ts +0 -9
- package/types/flats/flats-search.dto.ts +0 -15
- package/types/flats/index.ts +0 -5
- package/types/flats/payment-calculations.type.ts +0 -7
- package/types/floor/floor-create.dto.ts +0 -12
- package/types/floor/floors-search.dto.ts +0 -12
- package/types/floor/index.ts +0 -2
- package/types/geo/bounds.type.ts +0 -11
- package/types/geo/enhanced-search-params.dto.ts +0 -7
- package/types/geo/enhanced-search-response.dto.ts +0 -10
- package/types/geo/geo-keys.dto.ts +0 -4
- package/types/geo/geo-level.enum.ts +0 -9
- package/types/geo/geo-node.dto.model.ts +0 -11
- package/types/geo/geo-search-coordinates.dto.model.ts +0 -4
- package/types/geo/geo-search-params.dto.model.ts +0 -8
- package/types/geo/geo-type.enum.ts +0 -8
- package/types/geo/geo.dto.model.ts +0 -3
- package/types/geo/index.ts +0 -11
- package/types/geo/promotion-geo.enum.ts +0 -8
- package/types/google/google-contact-type.enum.ts +0 -5
- package/types/handling/create-manual-handling.dto.ts +0 -13
- package/types/handling/handling-archive.dto.ts +0 -6
- package/types/handling/handling-check-black-list.dto.ts +0 -3
- package/types/handling/handling-recipient.enum.ts +0 -6
- package/types/handling/handling-search.dto.ts +0 -33
- package/types/handling/handling-type.enum.ts +0 -13
- package/types/handling/handling-update.dto.ts +0 -13
- package/types/handling/handling.dto.ts +0 -17
- package/types/handling/index.ts +0 -8
- package/types/image/apartment-complex-image-category.enum.ts +0 -7
- package/types/image/bind-apartment-image-params.dto.ts +0 -6
- package/types/image/bind-builder-image.dto.ts +0 -1
- package/types/image/bind-image.dto.ts +0 -1
- package/types/image/bulk-bind-images.dto.ts +0 -11
- package/types/image/image-category.enum.ts +0 -5
- package/types/image/index.ts +0 -9
- package/types/image/reorder-images.dto.ts +0 -8
- package/types/index.ts +0 -685
- package/types/layout/create-layout.dto.ts +0 -8
- package/types/layout/index.ts +0 -4
- package/types/layout/layout.types.enum.ts +0 -8
- package/types/layout/search-layouts.dto.ts +0 -17
- package/types/layout/update-layout.dto.ts +0 -13
- package/types/mistmatch/mismatch-action.types.enum.ts +0 -5
- package/types/node-env/node-env.enum.ts +0 -4
- package/types/norm-categories/employee-norm.dto.ts +0 -6
- package/types/norm-categories/index.ts +0 -3
- package/types/norm-categories/norm-categories.enum.ts +0 -11
- package/types/norm-categories/norm-category.dto.ts +0 -3
- package/types/notary/create-notary.dto.ts +0 -3
- package/types/notary/index.ts +0 -8
- package/types/notary/notary-contacts.type.ts +0 -7
- package/types/notary/notary-dropdown-params.dto.ts +0 -3
- package/types/notary/search-notary-params.dto.ts +0 -23
- package/types/notary/update-notary.dto.ts +0 -3
- package/types/notifications/index.ts +0 -15
- package/types/notifications/messenger.enum.ts +0 -4
- package/types/notifications/notification.enum.ts +0 -10
- package/types/notifications/notifications.ts +0 -63
- package/types/notifications/search-notifications-params.dto.ts +0 -3
- package/types/office-centers/center-contacts.type.ts +0 -12
- package/types/office-centers/day-schedule.type.ts +0 -11
- package/types/office-centers/index.ts +0 -9
- package/types/office-centers/office-center-dropdown-search.dto.model.ts +0 -3
- package/types/office-centers/office-center-search.dto.model.ts +0 -17
- package/types/office-centers/office-center.dto.ts +0 -3
- package/types/office-centers/send-office-center-location-to-customer.dto.ts +0 -6
- package/types/offices/contacts.type.ts +0 -9
- package/types/offices/employees.type.ts +0 -11
- package/types/offices/index.ts +0 -10
- package/types/offices/office-dropdown-params.dto.ts +0 -4
- package/types/offices/office-phone-number.dto.ts +0 -5
- package/types/offices/office-search.dto.model.ts +0 -17
- package/types/offices/office.dto.ts +0 -15
- package/types/offices/service.config.ts +0 -19
- package/types/parse/column-field-relation.interface.ts +0 -12
- package/types/parse/fields.enum.ts +0 -19
- package/types/parse/mapping-handler.types.ts +0 -18
- package/types/parse/mapping-relation.types.ts +0 -12
- package/types/parse/mapping.types.ts +0 -32
- package/types/parse/parse-fields.enum.ts +0 -19
- package/types/parse/row-item.interfaces.ts +0 -26
- package/types/parse/schemes.enum.ts +0 -4
- package/types/permissions/advert-permissions.enum.ts +0 -3
- package/types/permissions/analytic-permissions.enum.ts +0 -5
- package/types/permissions/attribute-permissions.enum.ts +0 -9
- package/types/permissions/buyer-permissions.enum.ts +0 -14
- package/types/permissions/customer-property-permissions.enum..ts +0 -16
- package/types/permissions/customer-request-permissions.enum.ts +0 -8
- package/types/permissions/deal-permissions.enum.ts +0 -15
- package/types/permissions/duty-permissions.enum.ts +0 -10
- package/types/permissions/exported-property-permissions.enum.ts +0 -6
- package/types/permissions/feedback-permissions.enum.ts +0 -7
- package/types/permissions/funnel-permissions.enum.ts +0 -5
- package/types/permissions/geo-permissions.enum.ts +0 -29
- package/types/permissions/handling-permissions.enum.ts +0 -10
- package/types/permissions/main-page-permissions.enum.ts +0 -5
- package/types/permissions/new-building/apartment-complex-permissions.enum.ts +0 -11
- package/types/permissions/new-building/build-company-permissions.enum.ts +0 -10
- package/types/permissions/new-building/flat-permissions.enum.ts +0 -10
- package/types/permissions/new-building/floor-permissions.enum.ts +0 -10
- package/types/permissions/new-building/layout-permissions.enum.ts +0 -10
- package/types/permissions/new-building/queue-permissions.enum.ts +0 -11
- package/types/permissions/new-building/section-permissions.enum.ts +0 -10
- package/types/permissions/news-permissions.enum.ts +0 -7
- package/types/permissions/notary-permissions.enum.ts +0 -7
- package/types/permissions/organization-permissions.enum.ts +0 -27
- package/types/permissions/permission.enum.ts +0 -93
- package/types/permissions/rbac-permissions.enum.ts +0 -9
- package/types/permissions/seller-permissions.enum.ts +0 -8
- package/types/permissions/telephony-permissions.enum.ts +0 -9
- package/types/permissions/user-action-logs-permissions.enum.ts +0 -5
- package/types/permissions/user-permissions.enum.ts +0 -13
- package/types/queue/create-queue.dto.ts +0 -6
- package/types/queue/index.ts +0 -2
- package/types/queue/search-queues.dto.ts +0 -13
- package/types/queues/queue.type.ts +0 -6
- package/types/realty-platforms/index.ts +0 -1
- package/types/realty-platforms/realty-platforms.enum.ts +0 -6
- package/types/representation/index.ts +0 -2
- package/types/representation/representation-search.dto.model.ts +0 -21
- package/types/representation/representation.dto.ts +0 -6
- package/types/request-presentation/create-request-presentation.dto.ts +0 -3
- package/types/request-presentation/index.ts +0 -1
- package/types/request-property/check-if-request-property-exists-params.dto.ts +0 -4
- package/types/request-property/create-request-property.dto.ts +0 -5
- package/types/request-property/index.ts +0 -5
- package/types/request-property/print-request-properties.dto.ts +0 -5
- package/types/request-property/search-request-property-params.dto.ts +0 -6
- package/types/request-property/update-request-property.dto.ts +0 -3
- package/types/roles/index.ts +0 -4
- package/types/roles/role-group.dto.ts +0 -3
- package/types/roles/role-weight.map.ts +0 -14
- package/types/roles/role.dto.ts +0 -9
- package/types/roles/role.enum.ts +0 -11
- package/types/section/index.ts +0 -2
- package/types/section/section-create.dto.ts +0 -6
- package/types/section/sections-search.dto.ts +0 -12
- package/types/statistic/employee-agreements-statistics-params.dto.ts +0 -17
- package/types/statistic/employee-agreements-statistics.dto.ts +0 -7
- package/types/statistic/exclusive-property-statistics-params.dto.ts +0 -7
- package/types/statistic/exclusive-property-statistics.dto.ts +0 -11
- package/types/statistic/handling-listenings-statistics-item.dto.ts +0 -6
- package/types/statistic/handling-listenings-statistics-params.dto.ts +0 -22
- package/types/statistic/index.ts +0 -15
- package/types/statistic/real-estate-by-property-type.dto.model.ts +0 -4
- package/types/statistic/realtor-involvment-statistics.dto.ts +0 -6
- package/types/statistic/realtor-involvment-user-statistics.dto.ts +0 -6
- package/types/street/index.ts +0 -4
- package/types/street/street-autocomplete-params.dto.ts +0 -5
- package/types/street/street-location.dto.ts +0 -9
- package/types/street/street-search.dto.ts +0 -16
- package/types/street/street.dto.ts +0 -3
- package/types/template/index.ts +0 -16
- package/types/template/template-comment-create.dto.ts +0 -6
- package/types/template/template-comment-response.dto.ts +0 -16
- package/types/template/template-comment.dto.ts +0 -6
- package/types/template/template-content.enum.ts +0 -5
- package/types/template/template-office.dto.ts +0 -3
- package/types/template/template-reaction-response.dto.ts +0 -5
- package/types/template/template-reaction-search.dto.ts +0 -7
- package/types/template/template-reaction.dto.ts +0 -6
- package/types/template/template-representation.dto.ts +0 -3
- package/types/template/template-response.dto.ts +0 -13
- package/types/template/template-role.dto.ts +0 -3
- package/types/template/template-search.dto.ts +0 -6
- package/types/template/template-view-response.dto.ts +0 -3
- package/types/template/template-view-search.dto.ts +0 -5
- package/types/template/template.dto.ts +0 -21
- package/types/template/template.enum.ts +0 -9
- package/types/topzone/index.ts +0 -3
- package/types/topzone/topzone-dropdown-list-params.dto.model.ts +0 -3
- package/types/topzone/topzone-search.dto.model.ts +0 -16
- package/types/topzone/topzone.dto.ts +0 -3
- package/types/uploaded-file/index.ts +0 -2
- package/types/uploaded-file/uploaded-file-type.enum.ts +0 -15
- package/types/uploaded-file/uploaded-file.dto.ts +0 -4
- package/types/user/index.ts +0 -17
- package/types/user/notification-preferences.dto.ts +0 -6
- package/types/user/update-user-vchasno.dto.ts +0 -8
- package/types/user/update-user.dto.ts +0 -6
- package/types/user/user-archive.dto.ts +0 -3
- package/types/user/user-attorney-search-params.dto.ts +0 -5
- package/types/user/user-attorney-type.enum.ts +0 -4
- package/types/user/user-attorney.dto.ts +0 -6
- package/types/user/user-autocomplete-params.dto.ts +0 -9
- package/types/user/user-phone.dto.ts +0 -3
- package/types/user/user-search.dto.ts +0 -28
- package/types/user/user-validation-params.dto.ts +0 -15
- package/types/user/user-vchasno-list-item.dto.ts +0 -10
- package/types/user/user.dto.ts +0 -20
- package/types/user-action-logs/index.ts +0 -2
- package/types/user-action-logs/model-name.enum.ts +0 -23
- package/types/user-action-logs/user-action-logs-search.dto.ts +0 -24
- package/types/user-office/index.ts +0 -2
- package/types/user-office/user-office.dto.ts +0 -3
- package/types/user-office/user-permission.dto.ts +0 -3
- package/types/user-permission/index.ts +0 -5
- package/types/user-permission/permission-connect.dto.model.ts +0 -3
- package/types/user-permission/permission-search.dto.model.ts +0 -3
- package/types/user-permission/permission.dto.ts +0 -3
- package/types/user-permission/user-permission-create-or-connect.dto.ts +0 -5
- package/types/user-permission/user-permission-create.dto.ts +0 -6
- package/types/user-points/index.ts +0 -6
- package/types/user-points/search-user-points-changes-params.dto.ts +0 -5
- package/types/user-points/user-points-amount-by-date.dto.ts +0 -4
- package/types/user-points/user-points-amount.dto.ts +0 -6
- package/types/user-points/user-points-event.enum.ts +0 -13
- package/types/user-points/user-points-statistic.dto.ts +0 -7
- package/types/user-points/user-points-user-statistic.dto.ts +0 -7
- package/types/user-profile/children.type.ts +0 -6
- package/types/user-profile/education.type.ts +0 -8
- package/types/user-profile/index.ts +0 -6
- package/types/user-profile/prev-jobs.type.ts +0 -7
- package/types/user-profile/profile.dto.ts +0 -6
- package/types/user-profile/socials.type.ts +0 -12
- package/types/user-profile/update-profile.dto.ts +0 -3
- package/types/vchasno/vchasno-document-category.enum.ts +0 -37
- package/types/vchasno/vchasno-document-signer.type.ts +0 -7
- package/types/vchasno/vchasno-document-status.enum.ts +0 -11
- package/types/vchasno/vchasno-document.type.ts +0 -32
- package/utils/create-service-action.ts +0 -15
- package/utils/database/sections.ts +0 -3
- package/utils/decorators/tranlsatable-column.decorator.ts +0 -9
- package/utils/index.ts +0 -4
- package/utils/role.utils.ts +0 -11
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { BaseEntity } from './base-entity.type';
|
|
2
|
-
import { MultiLanguage } from '../common/multi-language-column.type';
|
|
3
|
-
import { CustomerPropertyEntity } from './customer-property.type';
|
|
4
|
-
import { CustomerRequestEntity } from './customer-request.type';
|
|
5
|
-
import { LayoutEntity } from './layout.type';
|
|
6
|
-
import { FlatEntity } from './flat.type';
|
|
7
|
-
import { QueueEntity } from './queue.type';
|
|
8
|
-
import { ApartmentComplexImageEntity } from './apartment-complex-image.type';
|
|
9
|
-
import { BuildCompanyEntity } from './build-company.type';
|
|
10
|
-
import { ApartmentComplexInfoEntity } from './apartment-complex-info.type';
|
|
11
|
-
import { GeoEntity } from './geo.type';
|
|
12
|
-
import { GeoTopzoneEntity } from './geo-topzone.type';
|
|
13
|
-
|
|
14
|
-
export type ApartmentComplexEntity = BaseEntity & {
|
|
15
|
-
name: MultiLanguage;
|
|
16
|
-
type: number | null;
|
|
17
|
-
lat: string | null;
|
|
18
|
-
lng: string | null;
|
|
19
|
-
geoId?: number;
|
|
20
|
-
buildCompanyId?: number;
|
|
21
|
-
apartmentComplexInfoId?: number;
|
|
22
|
-
topzoneId?: number;
|
|
23
|
-
fileName: string | null;
|
|
24
|
-
sourceName: string | null;
|
|
25
|
-
customerProperties?: CustomerPropertyEntity[];
|
|
26
|
-
customerRequests?: CustomerRequestEntity[];
|
|
27
|
-
topzone?: GeoTopzoneEntity;
|
|
28
|
-
geo?: GeoEntity;
|
|
29
|
-
layouts?: LayoutEntity[];
|
|
30
|
-
queues?: QueueEntity[];
|
|
31
|
-
flats?: FlatEntity[];
|
|
32
|
-
images?: ApartmentComplexImageEntity[];
|
|
33
|
-
buildCompany?: BuildCompanyEntity;
|
|
34
|
-
apartmentComplexInfo?: ApartmentComplexInfoEntity;
|
|
35
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BaseEntity } from './base-entity.type';
|
|
2
|
-
import { DealEntity } from './deal.type';
|
|
3
|
-
import { MultiLanguage } from '../common/multi-language-column.type';
|
|
4
|
-
|
|
5
|
-
export type AppraiserEntity = BaseEntity & {
|
|
6
|
-
name: MultiLanguage;
|
|
7
|
-
isHidden: boolean;
|
|
8
|
-
deals: DealEntity[];
|
|
9
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { UniqueIdEntity } from './unique-id-entity.type';
|
|
2
|
-
import { MultiLanguage } from '../common/multi-language-column.type';
|
|
3
|
-
import { ArchiveReasonDestination } from '../archive-reasons/archive-reason-destination.enum';
|
|
4
|
-
import { CustomerEntity } from './customer.type';
|
|
5
|
-
import { HandlingEntity } from './handling.type';
|
|
6
|
-
import { CustomerPropertyEntity } from './customer-property.type';
|
|
7
|
-
import { CustomerRequestEntity } from './customer-request.type';
|
|
8
|
-
|
|
9
|
-
export type ArchiveReasonEntity = UniqueIdEntity & {
|
|
10
|
-
text: MultiLanguage;
|
|
11
|
-
destination: ArchiveReasonDestination;
|
|
12
|
-
customers?: CustomerEntity[];
|
|
13
|
-
handlings?: HandlingEntity[];
|
|
14
|
-
customerProperties?: CustomerPropertyEntity[];
|
|
15
|
-
customerRequests?: CustomerRequestEntity[];
|
|
16
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BaseEntity } from './base-entity.type';
|
|
2
|
-
import { AttentionRequiredEntityEnum as AttentionRequiredEntityEnum } from '../customer/attention-required-entity.enum';
|
|
3
|
-
|
|
4
|
-
export type AttentionRequiredEntity = BaseEntity & {
|
|
5
|
-
entityType: AttentionRequiredEntityEnum;
|
|
6
|
-
entityId?: number;
|
|
7
|
-
reason: string | null;
|
|
8
|
-
handledAt: Date | null;
|
|
9
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { MultiLanguage } from '../common/multi-language-column.type';
|
|
2
|
-
import { BaseEntity } from './base-entity.type';
|
|
3
|
-
import { AttorneyTypeEnum } from '../attorney/attorney-type.enum';
|
|
4
|
-
import { UserAttorneyEntity } from './user-attorney.type';
|
|
5
|
-
|
|
6
|
-
export type AttorneyEntity = BaseEntity & {
|
|
7
|
-
name: MultiLanguage;
|
|
8
|
-
vchasnoApiKey: string | null;
|
|
9
|
-
edrpo: string | null;
|
|
10
|
-
email: string | null;
|
|
11
|
-
account: string | null;
|
|
12
|
-
qrCode: string | null;
|
|
13
|
-
address: string | null;
|
|
14
|
-
type: AttorneyTypeEnum;
|
|
15
|
-
usersAttorney: UserAttorneyEntity[];
|
|
16
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { BaseEntity } from './base-entity.type';
|
|
2
|
-
import { AttributeEntity } from './attribute.type';
|
|
3
|
-
import { RepresentationEntity } from './representation.type';
|
|
4
|
-
|
|
5
|
-
export type AttributeRepresentationEntity = BaseEntity & {
|
|
6
|
-
attributeKey: string;
|
|
7
|
-
attribute?: AttributeEntity;
|
|
8
|
-
representationId?: number;
|
|
9
|
-
representation?: RepresentationEntity;
|
|
10
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { BaseEntity } from './base-entity.type';
|
|
2
|
-
import { MultiLanguage } from '../common/multi-language-column.type';
|
|
3
|
-
import { RealtyType } from '../customer-property/realty-type.enum';
|
|
4
|
-
import { AttributeEntity } from './attribute.type';
|
|
5
|
-
|
|
6
|
-
export type AttributeValueEntity = BaseEntity & {
|
|
7
|
-
name: MultiLanguage;
|
|
8
|
-
estateType?: RealtyType[];
|
|
9
|
-
attributeKey: string;
|
|
10
|
-
attribute?: AttributeEntity;
|
|
11
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { TimeMetricEntity } from './time-metric-entity.type';
|
|
2
|
-
import { MultiLanguage } from '../common/multi-language-column.type';
|
|
3
|
-
import { AttributeValueEntity } from './attribute-value.type';
|
|
4
|
-
import { AttributeRepresentationEntity } from './attribute-representation.type';
|
|
5
|
-
import { AttributeType } from '../attributes/attribute-type.enum';
|
|
6
|
-
import { ApartmentType } from '../attributes/apartment-type.enum';
|
|
7
|
-
import { ObjectType } from '../attributes/object-type.enum';
|
|
8
|
-
import { AttributeConfigType } from '../attributes/attribute-config.type';
|
|
9
|
-
import { RealtyType } from '../customer-property/realty-type.enum';
|
|
10
|
-
|
|
11
|
-
export type AttributeEntity = TimeMetricEntity & {
|
|
12
|
-
key: string;
|
|
13
|
-
name: MultiLanguage;
|
|
14
|
-
shortName: MultiLanguage;
|
|
15
|
-
description: string | null;
|
|
16
|
-
vectorId: number | null;
|
|
17
|
-
type: AttributeType;
|
|
18
|
-
config: AttributeConfigType;
|
|
19
|
-
estateType?: RealtyType[];
|
|
20
|
-
apartmentType?: ApartmentType[];
|
|
21
|
-
objectType?: ObjectType[];
|
|
22
|
-
isNewBuilding: boolean;
|
|
23
|
-
values?: AttributeValueEntity[];
|
|
24
|
-
representations?: AttributeRepresentationEntity[];
|
|
25
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { BaseEntity } from './base-entity.type';
|
|
2
|
-
import { ImageEntity } from './image.type';
|
|
3
|
-
import { ApartmentComplexEntity } from './apartment-complex.type';
|
|
4
|
-
import { MultiLanguage } from '../common/multi-language-column.type';
|
|
5
|
-
import { CurrencyValue } from '../common/currency.value.interface';
|
|
6
|
-
|
|
7
|
-
export type BuildCompanyEntity = BaseEntity & {
|
|
8
|
-
name: string;
|
|
9
|
-
alias: string;
|
|
10
|
-
description: MultiLanguage;
|
|
11
|
-
imageId?: number | null;
|
|
12
|
-
image?: ImageEntity;
|
|
13
|
-
site: string | null;
|
|
14
|
-
currencies: CurrencyValue[] | null;
|
|
15
|
-
apartmentComplexes?: ApartmentComplexEntity[];
|
|
16
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { AdvertSourceEntity } from './advert-source.type';
|
|
2
|
-
import { BaseEntity } from './base-entity.type';
|
|
3
|
-
import { OfficeEntity } from './office.type';
|
|
4
|
-
import { UserEntity } from './user.type';
|
|
5
|
-
import { CallEntity } from './call.type';
|
|
6
|
-
|
|
7
|
-
export type CallRedirectEntity = BaseEntity & {
|
|
8
|
-
name: string;
|
|
9
|
-
phoneNumber: string;
|
|
10
|
-
exportNumber: boolean;
|
|
11
|
-
replacementNumber: boolean;
|
|
12
|
-
sourceId?: number;
|
|
13
|
-
source?: AdvertSourceEntity;
|
|
14
|
-
officeId?: number | null;
|
|
15
|
-
office?: OfficeEntity;
|
|
16
|
-
userId?: number | null;
|
|
17
|
-
user?: UserEntity;
|
|
18
|
-
calls?: CallEntity[];
|
|
19
|
-
};
|
package/types/core/call.type.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { UniqueIdEntity } from './unique-id-entity.type';
|
|
2
|
-
import { CallRedirectEntity } from './call-redirect.type';
|
|
3
|
-
import { AdvertSourceEntity } from './advert-source.type';
|
|
4
|
-
import { HandlingEntity } from './handling.type';
|
|
5
|
-
import { CallData } from '../call/call-data.type';
|
|
6
|
-
|
|
7
|
-
export type CallEntity = UniqueIdEntity & {
|
|
8
|
-
callValue: number | null;
|
|
9
|
-
sourcePhone: string;
|
|
10
|
-
fromPhone: string;
|
|
11
|
-
callType: number | null;
|
|
12
|
-
timeCreate: string | null;
|
|
13
|
-
callData: CallData;
|
|
14
|
-
redirectId?: number;
|
|
15
|
-
sourceId?: number;
|
|
16
|
-
createdAt: Date;
|
|
17
|
-
callRedirect?: CallRedirectEntity;
|
|
18
|
-
source?: AdvertSourceEntity;
|
|
19
|
-
handling?: HandlingEntity;
|
|
20
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { BaseEntity } from './base-entity.type';
|
|
2
|
-
import { MultiLanguage } from '../common/multi-language-column.type';
|
|
3
|
-
import { DealEntity } from './deal.type';
|
|
4
|
-
|
|
5
|
-
export type ContractTypeEntity = BaseEntity & {
|
|
6
|
-
deals: DealEntity[];
|
|
7
|
-
name: MultiLanguage;
|
|
8
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { UniqueIdEntity } from './unique-id-entity.type';
|
|
2
|
-
import { OfficeEntity } from './office.type';
|
|
3
|
-
import { CustomerEntity } from './customer.type';
|
|
4
|
-
|
|
5
|
-
export type CustomerBucketEntity = UniqueIdEntity & {
|
|
6
|
-
customerId?: number;
|
|
7
|
-
officeId?: number;
|
|
8
|
-
office?: OfficeEntity;
|
|
9
|
-
customer?: CustomerEntity;
|
|
10
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { BaseEntity } from './base-entity.type';
|
|
2
|
-
import { CustomerEntity } from './customer.type';
|
|
3
|
-
import { UserEntity } from './user.type';
|
|
4
|
-
|
|
5
|
-
export type CustomerCallEntity = BaseEntity & {
|
|
6
|
-
customerId?: number;
|
|
7
|
-
customer?: CustomerEntity;
|
|
8
|
-
userId?: number;
|
|
9
|
-
user?: UserEntity;
|
|
10
|
-
comment?: string;
|
|
11
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { BaseEntity } from './base-entity.type';
|
|
2
|
-
import { CustomerEntity } from './customer.type';
|
|
3
|
-
|
|
4
|
-
export type CustomerPhoneEntity = BaseEntity & {
|
|
5
|
-
country: string;
|
|
6
|
-
phoneNumber: string;
|
|
7
|
-
isMain: boolean;
|
|
8
|
-
customerId?: number;
|
|
9
|
-
customer?: CustomerEntity;
|
|
10
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { BaseEntity } from './base-entity.type';
|
|
2
|
-
import { CustomerPropertyEntity } from './customer-property.type';
|
|
3
|
-
import { UserEntity } from './user.type';
|
|
4
|
-
import { CustomerPropertyDuplicateStatus } from '../customer-property/property-duplicate-status.enum';
|
|
5
|
-
|
|
6
|
-
export type CustomerPropertyDuplicateEntity = BaseEntity & {
|
|
7
|
-
original: CustomerPropertyEntity;
|
|
8
|
-
duplicate: CustomerPropertyEntity;
|
|
9
|
-
status: CustomerPropertyDuplicateStatus;
|
|
10
|
-
reviewStartedAt: Date | null;
|
|
11
|
-
comment: string | null;
|
|
12
|
-
reviewedById?: number;
|
|
13
|
-
reviewedBy?: UserEntity;
|
|
14
|
-
};
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import { BaseEntity } from './base-entity.type';
|
|
2
|
-
import { MultiLanguage } from '../common';
|
|
3
|
-
import { UserEntity } from './user.type';
|
|
4
|
-
import { ArchiveReasonEntity } from './archive-reason.type';
|
|
5
|
-
import { ApartmentComplexEntity } from './apartment-complex.type';
|
|
6
|
-
import { AdvertSourceEntity } from './advert-source.type';
|
|
7
|
-
import { StreetEntity } from './street.type';
|
|
8
|
-
import { GeoEntity } from './geo.type';
|
|
9
|
-
import { TopzoneEntity } from './topzone.type';
|
|
10
|
-
import { UserAttorneyEntity } from './user-attorney.type';
|
|
11
|
-
import { RequestPropertyEntity } from './request-property.type';
|
|
12
|
-
import { RequestPresentationPropertyEntity } from './request-presentation-property.type';
|
|
13
|
-
import { HandlingEntity } from './handling.type';
|
|
14
|
-
import { PropertySeoEntity } from './property-seo.type';
|
|
15
|
-
import { TelegramMessageEntity } from './telegram-message.type';
|
|
16
|
-
import { DealEntity } from './deal.type';
|
|
17
|
-
import { UserPointsChangeEntity } from './user-points-change.type';
|
|
18
|
-
import { MismatchReportEntity } from './mismatch-report.type';
|
|
19
|
-
import { PropertyImageEntity } from './property-image.type';
|
|
20
|
-
import { PropertyDocumentEntity } from './property-document.type';
|
|
21
|
-
import { VnpReasonEntity } from './vnp-reason.type';
|
|
22
|
-
import {
|
|
23
|
-
RealtySubtype,
|
|
24
|
-
RealtyType,
|
|
25
|
-
PropertyExclusiveStatus,
|
|
26
|
-
PropertyClassification,
|
|
27
|
-
CadastralNumber,
|
|
28
|
-
ExclusivePropertyAgreementData,
|
|
29
|
-
} from '../customer-property';
|
|
30
|
-
import {
|
|
31
|
-
RegistrationType,
|
|
32
|
-
CustomerPropertyAttributes,
|
|
33
|
-
DealType,
|
|
34
|
-
} from '../attributes';
|
|
35
|
-
import { CustomerPropertyOwner } from '../customer';
|
|
36
|
-
import { CustomerEntity } from './customer.type';
|
|
37
|
-
|
|
38
|
-
export { RealtySubtype };
|
|
39
|
-
|
|
40
|
-
export type CustomerPropertyEntity = BaseEntity & {
|
|
41
|
-
dealType: DealType;
|
|
42
|
-
realtyType: RealtyType;
|
|
43
|
-
realtySubtype: RealtySubtype | null;
|
|
44
|
-
registrationType: RegistrationType;
|
|
45
|
-
showOnSite: boolean;
|
|
46
|
-
hasInspection: boolean;
|
|
47
|
-
recipient: number | null;
|
|
48
|
-
streetMark: string | null;
|
|
49
|
-
houseNumber: number | null;
|
|
50
|
-
houseNumberAdd: number | null;
|
|
51
|
-
houseNumberTemp: string | null;
|
|
52
|
-
apartmentNumber: number | null;
|
|
53
|
-
apartmentNumberAdd: string | null;
|
|
54
|
-
apartmentNumberTemp: string | null;
|
|
55
|
-
landNumber: number | null;
|
|
56
|
-
fieldNumber: number | null;
|
|
57
|
-
geoArrNumber: number | null;
|
|
58
|
-
corps: string | null;
|
|
59
|
-
attributes: CustomerPropertyAttributes;
|
|
60
|
-
description: MultiLanguage;
|
|
61
|
-
additionalOwners: CustomerPropertyOwner[];
|
|
62
|
-
cadastralNumber: CadastralNumber | null;
|
|
63
|
-
lng: string | null;
|
|
64
|
-
lat: string | null;
|
|
65
|
-
archiveAnnotation: string | null;
|
|
66
|
-
archiveSetDate: Date | null;
|
|
67
|
-
vnpReasonId?: number;
|
|
68
|
-
vnpTillDate: Date | null;
|
|
69
|
-
vnpAnnotation: string | null;
|
|
70
|
-
exclusiveStatus: PropertyExclusiveStatus | null;
|
|
71
|
-
exclusiveAnnotation: string | null;
|
|
72
|
-
exclusiveTillDate: Date | null;
|
|
73
|
-
exclusiveSetDate: Date | null;
|
|
74
|
-
classification: PropertyClassification | null;
|
|
75
|
-
exclusiveAgreementData: ExclusivePropertyAgreementData | null;
|
|
76
|
-
markAsLiquidAt: Date | null;
|
|
77
|
-
videoUrl: string | null;
|
|
78
|
-
sellerId?: number;
|
|
79
|
-
realtorId?: number;
|
|
80
|
-
createdById?: number;
|
|
81
|
-
archiveReasonId?: number;
|
|
82
|
-
complexId?: number;
|
|
83
|
-
sourceId?: number;
|
|
84
|
-
streetId?: number;
|
|
85
|
-
geoId?: number;
|
|
86
|
-
attorneyId?: number;
|
|
87
|
-
topzoneId?: number;
|
|
88
|
-
realtor?: UserEntity;
|
|
89
|
-
createdBy?: UserEntity;
|
|
90
|
-
vnpReason?: VnpReasonEntity;
|
|
91
|
-
archiveReason?: ArchiveReasonEntity;
|
|
92
|
-
complex?: ApartmentComplexEntity;
|
|
93
|
-
source?: AdvertSourceEntity;
|
|
94
|
-
street?: StreetEntity;
|
|
95
|
-
seller?: CustomerEntity;
|
|
96
|
-
geo?: GeoEntity;
|
|
97
|
-
topzone?: TopzoneEntity;
|
|
98
|
-
userAttorney?: UserAttorneyEntity;
|
|
99
|
-
customerRequests?: RequestPropertyEntity[];
|
|
100
|
-
requestPresentations?: RequestPresentationPropertyEntity[];
|
|
101
|
-
handling?: HandlingEntity;
|
|
102
|
-
seo?: PropertySeoEntity;
|
|
103
|
-
telegramMessages?: TelegramMessageEntity[];
|
|
104
|
-
deals?: DealEntity[];
|
|
105
|
-
userPointsChanges?: UserPointsChangeEntity[];
|
|
106
|
-
mismatchReports?: MismatchReportEntity[];
|
|
107
|
-
documents?: PropertyDocumentEntity[];
|
|
108
|
-
images?: PropertyImageEntity[];
|
|
109
|
-
};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { BaseEntity } from './base-entity.type';
|
|
2
|
-
import { CustomerRequestEntity } from './customer-request.type';
|
|
3
|
-
import {
|
|
4
|
-
CustomerRequestAttributes,
|
|
5
|
-
DealType,
|
|
6
|
-
RegistrationType,
|
|
7
|
-
} from '../attributes';
|
|
8
|
-
import { RealtyType } from '../customer-property';
|
|
9
|
-
import { GeoEntity } from './geo.type';
|
|
10
|
-
import { TopzoneEntity } from './topzone.type';
|
|
11
|
-
import { StreetEntity } from './street.type';
|
|
12
|
-
import { ApartmentComplexEntity } from './apartment-complex.type';
|
|
13
|
-
import { CustomerRequestSelectionUpdateStatus } from '../customer';
|
|
14
|
-
import { RequestPresentationEntity } from './request-presentation.type';
|
|
15
|
-
import { RequestPropertyEntity } from './request-property.type';
|
|
16
|
-
|
|
17
|
-
export type CustomerRequestSelectionEntity = BaseEntity & {
|
|
18
|
-
dealType: DealType;
|
|
19
|
-
realtyType: RealtyType;
|
|
20
|
-
registrationType: RegistrationType;
|
|
21
|
-
attributes: CustomerRequestAttributes;
|
|
22
|
-
updateStatus: CustomerRequestSelectionUpdateStatus;
|
|
23
|
-
receiveUpdateNotification: boolean;
|
|
24
|
-
geoId?: number;
|
|
25
|
-
geo?: GeoEntity;
|
|
26
|
-
topzoneId?: number;
|
|
27
|
-
topzone?: TopzoneEntity;
|
|
28
|
-
streetId?: number;
|
|
29
|
-
street?: StreetEntity;
|
|
30
|
-
complexId?: number;
|
|
31
|
-
complex?: ApartmentComplexEntity;
|
|
32
|
-
customerProperties?: RequestPropertyEntity[];
|
|
33
|
-
presentation?: RequestPresentationEntity;
|
|
34
|
-
requestId?: number;
|
|
35
|
-
request?: CustomerRequestEntity;
|
|
36
|
-
};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { BaseEntity } from './base-entity.type';
|
|
2
|
-
import { UserEntity } from './user.type';
|
|
3
|
-
import { ArchiveReasonEntity } from './archive-reason.type';
|
|
4
|
-
import { DealEntity } from './deal.type';
|
|
5
|
-
import { CustomerEntity } from './customer.type';
|
|
6
|
-
import { AdvertSourceEntity } from './advert-source.type';
|
|
7
|
-
import { HandlingEntity } from './handling.type';
|
|
8
|
-
import { UserPointsChangeEntity } from './user-points-change.type';
|
|
9
|
-
import { CustomerRequestSelectionEntity } from './customer-request-selection.type';
|
|
10
|
-
import { XCustomerNotificationEntity } from './x-customer-notification.type';
|
|
11
|
-
import { ActivityPotential } from '../customer';
|
|
12
|
-
import { Recipient } from 'types/handling';
|
|
13
|
-
|
|
14
|
-
export type CustomerRequestEntity = BaseEntity & {
|
|
15
|
-
buyerId?: number;
|
|
16
|
-
buyer?: CustomerEntity;
|
|
17
|
-
realtorId?: number;
|
|
18
|
-
realtor?: UserEntity;
|
|
19
|
-
activity: ActivityPotential | null;
|
|
20
|
-
activityAnnotation: string | null;
|
|
21
|
-
setActiveAt: Date | null;
|
|
22
|
-
vnpTillDate: Date | null;
|
|
23
|
-
vnpAnnotation: string | null;
|
|
24
|
-
recipient: Recipient | null;
|
|
25
|
-
sourceId?: number;
|
|
26
|
-
hasVideo: boolean;
|
|
27
|
-
source?: AdvertSourceEntity;
|
|
28
|
-
handling?: HandlingEntity;
|
|
29
|
-
archiveReasonId?: number;
|
|
30
|
-
archiveAnnotation: string | null;
|
|
31
|
-
archiveReason?: ArchiveReasonEntity;
|
|
32
|
-
deals?: DealEntity[];
|
|
33
|
-
userPointsChanges?: UserPointsChangeEntity[];
|
|
34
|
-
selections?: CustomerRequestSelectionEntity[];
|
|
35
|
-
xCustomerNotifications?: XCustomerNotificationEntity[];
|
|
36
|
-
};
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { BaseEntity } from './base-entity.type';
|
|
2
|
-
import { UserEntity } from './user.type';
|
|
3
|
-
import { CustomerPhoneEntity } from './customer-phone.type';
|
|
4
|
-
import { CustomerBucketEntity } from './customer-bucket.type';
|
|
5
|
-
import { CustomerCallEntity } from './customer-call.type';
|
|
6
|
-
import { ArchiveReasonEntity } from './archive-reason.type';
|
|
7
|
-
import { CustomerPropertyEntity } from './customer-property.type';
|
|
8
|
-
import { CustomerRequestEntity } from './customer-request.type';
|
|
9
|
-
import { GoogleContactEntity } from './google-contact.type';
|
|
10
|
-
import { DocumentEntity } from './document.type';
|
|
11
|
-
import { UserPointsChangeEntity } from './user-points-change.type';
|
|
12
|
-
import { UserAttorneyEntity } from './user-attorney.type';
|
|
13
|
-
import { ExclusiveBuyerAgreementData } from '../customer';
|
|
14
|
-
|
|
15
|
-
export type CustomerEntity = BaseEntity & {
|
|
16
|
-
email: string | null;
|
|
17
|
-
photoUrl: string | null;
|
|
18
|
-
firstName: string;
|
|
19
|
-
secondName: string | null;
|
|
20
|
-
surname: string | null;
|
|
21
|
-
blackList: boolean;
|
|
22
|
-
hasContract: boolean;
|
|
23
|
-
annotation: string | null;
|
|
24
|
-
isBotEnabled: boolean;
|
|
25
|
-
archiveAnnotation: string | null;
|
|
26
|
-
address: string | null;
|
|
27
|
-
inn: string | null;
|
|
28
|
-
passport: string | null;
|
|
29
|
-
exclusiveAgreementData: ExclusiveBuyerAgreementData | null;
|
|
30
|
-
archiveReasonId?: number;
|
|
31
|
-
exclusiveAgreementDocumentEndDate: Date | null;
|
|
32
|
-
exclusiveBuyerAgreementDocumentId?: number;
|
|
33
|
-
propertyDemonstrationActDocumentId?: number;
|
|
34
|
-
visitedOffice: boolean;
|
|
35
|
-
visitedOfficeAt: Date | null;
|
|
36
|
-
createdById?: number;
|
|
37
|
-
realtorId?: number;
|
|
38
|
-
attorneyId?: number;
|
|
39
|
-
createdBy?: UserEntity;
|
|
40
|
-
archiveReason?: ArchiveReasonEntity;
|
|
41
|
-
phones?: CustomerPhoneEntity[];
|
|
42
|
-
customerProperties?: CustomerPropertyEntity[];
|
|
43
|
-
customerRequests?: CustomerRequestEntity[];
|
|
44
|
-
buckets?: CustomerBucketEntity[];
|
|
45
|
-
calls?: CustomerCallEntity[];
|
|
46
|
-
userAttorney?: UserAttorneyEntity;
|
|
47
|
-
realtor?: UserEntity;
|
|
48
|
-
relatedContacts?: GoogleContactEntity[];
|
|
49
|
-
exclusiveBuyerAgreementDocument?: DocumentEntity;
|
|
50
|
-
propertyDemonstrationActDocument?: DocumentEntity;
|
|
51
|
-
userPointsChanges?: UserPointsChangeEntity[];
|
|
52
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { BaseEntity } from './base-entity.type';
|
|
2
|
-
import { DealEntity } from './deal.type';
|
|
3
|
-
import { DealDocumentEnum } from '../deal/deal-document.enum';
|
|
4
|
-
import { VchasnoDocument } from '../vchasno/vchasno-document.type';
|
|
5
|
-
import { VchasnoDocumentSigner } from '../vchasno/vchasno-document-signer.type';
|
|
6
|
-
|
|
7
|
-
export type DealDocumentEntity = BaseEntity & {
|
|
8
|
-
key: string | null;
|
|
9
|
-
url: string | null;
|
|
10
|
-
name: string;
|
|
11
|
-
documentType: DealDocumentEnum | null;
|
|
12
|
-
vchasnoDocumentId: string | null;
|
|
13
|
-
dealId?: number;
|
|
14
|
-
deal?: DealEntity;
|
|
15
|
-
vchasnoDocument?: VchasnoDocument;
|
|
16
|
-
vchasnoDocumentSigners?: VchasnoDocumentSigner[];
|
|
17
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { BaseEntity } from './base-entity.type';
|
|
2
|
-
import { DealEntity } from './deal.type';
|
|
3
|
-
import { UserEntity } from './user.type';
|
|
4
|
-
import { OfficeEntity } from './office.type';
|
|
5
|
-
import { AgencyEntity } from './agency.type';
|
|
6
|
-
import { EmployeeNormEntity } from './employee-norm.type';
|
|
7
|
-
import { DealTransactionEntity } from './deal-transaction.type';
|
|
8
|
-
|
|
9
|
-
export type DealParticipantEntity = BaseEntity & {
|
|
10
|
-
percent: number;
|
|
11
|
-
incomePercent: number;
|
|
12
|
-
dealId?: number;
|
|
13
|
-
agencyId?: number;
|
|
14
|
-
userId?: number;
|
|
15
|
-
normId?: number;
|
|
16
|
-
officeId?: number;
|
|
17
|
-
deal?: DealEntity;
|
|
18
|
-
agency?: AgencyEntity;
|
|
19
|
-
user?: UserEntity;
|
|
20
|
-
norm?: EmployeeNormEntity;
|
|
21
|
-
office?: OfficeEntity;
|
|
22
|
-
transactions?: DealTransactionEntity[];
|
|
23
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { DealTransactionEnum } from 'types/deal/deal-transaction.enum';
|
|
2
|
-
import { Currency } from 'types/common/currency.enum';
|
|
3
|
-
import { BaseEntity } from './base-entity.type';
|
|
4
|
-
import { DealEntity } from './deal.type';
|
|
5
|
-
import { DealParticipantEntity } from '.';
|
|
6
|
-
import { UserEntity } from './user.type';
|
|
7
|
-
|
|
8
|
-
export type DealTransactionEntity = BaseEntity & {
|
|
9
|
-
dealId?: number;
|
|
10
|
-
deal?: DealEntity;
|
|
11
|
-
trxType: DealTransactionEnum;
|
|
12
|
-
participantId?: number;
|
|
13
|
-
participant?: DealParticipantEntity;
|
|
14
|
-
trxDate: Date;
|
|
15
|
-
amount: number;
|
|
16
|
-
minSumByPrice: number;
|
|
17
|
-
currency: Currency;
|
|
18
|
-
comment: string | null;
|
|
19
|
-
createdById?: number;
|
|
20
|
-
createdBy?: UserEntity;
|
|
21
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { BaseEntity } from './base-entity.type';
|
|
2
|
-
import { DealTypeEntity } from './deal-type.type';
|
|
3
|
-
import { DealParticipantType } from '../deal/deal-participant-type.enum';
|
|
4
|
-
|
|
5
|
-
export type DealTypePercentageEntity = BaseEntity & {
|
|
6
|
-
dealTypeId?: number;
|
|
7
|
-
dealType?: DealTypeEntity;
|
|
8
|
-
participant: DealParticipantType;
|
|
9
|
-
percent: number;
|
|
10
|
-
incomePercent: number;
|
|
11
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { BaseEntity } from './base-entity.type';
|
|
2
|
-
import { MultiLanguage } from '../common/multi-language-column.type';
|
|
3
|
-
import { DealEntity } from './deal.type';
|
|
4
|
-
import { DealTypePercentageEntity } from './deal-type-percentage.type';
|
|
5
|
-
|
|
6
|
-
export type DealTypeEntity = BaseEntity & {
|
|
7
|
-
deals?: DealEntity[];
|
|
8
|
-
name: MultiLanguage;
|
|
9
|
-
weight: number;
|
|
10
|
-
isPropertyInDb: boolean;
|
|
11
|
-
isHidden: boolean;
|
|
12
|
-
percentages?: DealTypePercentageEntity[];
|
|
13
|
-
};
|