@snabcentr/client-core 3.7.0 → 4.0.0
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/fesm2022/snabcentr-client-core.mjs +459 -490
- package/fesm2022/snabcentr-client-core.mjs.map +1 -1
- package/package.json +23 -24
- package/release_notes.tmp +0 -4
- package/types/snabcentr-client-core.d.ts +10138 -0
- package/auth/index.d.ts +0 -3
- package/auth/interfaces/index.d.ts +0 -5
- package/auth/interfaces/sc-i-api-error-response.d.ts +0 -13
- package/auth/interfaces/sc-i-auth-token.d.ts +0 -14
- package/auth/interfaces/sc-i-login.d.ts +0 -13
- package/auth/interfaces/sc-i-phone-login.d.ts +0 -13
- package/auth/interfaces/sc-i-token.d.ts +0 -13
- package/auth/services/index.d.ts +0 -2
- package/auth/services/sc-auth.service.d.ts +0 -78
- package/auth/services/sc-token.service.d.ts +0 -79
- package/auth/tokens/index.d.ts +0 -3
- package/auth/tokens/sc-access-auth-token-storage-key.d.ts +0 -5
- package/auth/tokens/sc-guest-token-storage-key.d.ts +0 -5
- package/auth/tokens/sc-refresh-auth-token-storage-key.d.ts +0 -5
- package/banners/dto/index.d.ts +0 -2
- package/banners/dto/sc-banner.d.ts +0 -56
- package/banners/dto/sc-i-banner.d.ts +0 -41
- package/banners/index.d.ts +0 -2
- package/banners/services/sc-banner.service.d.ts +0 -22
- package/cart/classes/index.d.ts +0 -2
- package/cart/classes/sc-cart.d.ts +0 -26
- package/cart/classes/sc-sum.d.ts +0 -12
- package/cart/constants/index.d.ts +0 -1
- package/cart/constants/sc-empty-cart.d.ts +0 -7
- package/cart/index.d.ts +0 -4
- package/cart/internal/index.d.ts +0 -1
- package/cart/internal/sc-i-cart.d.ts +0 -19
- package/cart/services/index.d.ts +0 -1
- package/cart/services/sc-cart.service.d.ts +0 -113
- package/catalog/classes/index.d.ts +0 -3
- package/catalog/classes/sc-cached-data.d.ts +0 -25
- package/catalog/classes/sc-cached-item.d.ts +0 -53
- package/catalog/classes/sc-catalog-item.d.ts +0 -31
- package/catalog/dto/index.d.ts +0 -7
- package/catalog/dto/sc-category.d.ts +0 -133
- package/catalog/dto/sc-i-discount.d.ts +0 -21
- package/catalog/dto/sc-i-product-images.d.ts +0 -25
- package/catalog/dto/sc-i-product-notify-when-in-stock.d.ts +0 -21
- package/catalog/dto/sc-i-properties.d.ts +0 -88
- package/catalog/dto/sc-product.d.ts +0 -177
- package/catalog/dto/sc-virtual-category.d.ts +0 -27
- package/catalog/enums/index.d.ts +0 -3
- package/catalog/enums/sc-catalog-format.d.ts +0 -13
- package/catalog/enums/sc-mime-types.d.ts +0 -77
- package/catalog/enums/sc-product-tile-type.d.ts +0 -13
- package/catalog/index.d.ts +0 -8
- package/catalog/interfaces/index.d.ts +0 -13
- package/catalog/interfaces/sc-catalog-filter.d.ts +0 -7
- package/catalog/interfaces/sc-i-base-catalog-filter.d.ts +0 -17
- package/catalog/interfaces/sc-i-catalog-item.d.ts +0 -16
- package/catalog/interfaces/sc-i-category-product-params.d.ts +0 -45
- package/catalog/interfaces/sc-i-category-products-pagination-params.d.ts +0 -19
- package/catalog/interfaces/sc-i-category.d.ts +0 -29
- package/catalog/interfaces/sc-i-checkbox-filter.d.ts +0 -31
- package/catalog/interfaces/sc-i-product.d.ts +0 -78
- package/catalog/interfaces/sc-i-range-filter.d.ts +0 -26
- package/catalog/interfaces/sc-i-toggle-filter.d.ts +0 -14
- package/catalog/interfaces/sc-i-virtual-category.d.ts +0 -20
- package/catalog/interfaces/sc-property-filters.d.ts +0 -5
- package/catalog/interfaces/sc-t-product-sort-field.d.ts +0 -4
- package/catalog/internal/index.d.ts +0 -1
- package/catalog/internal/sc-i-filter-tree-category.d.ts +0 -15
- package/catalog/services/index.d.ts +0 -4
- package/catalog/services/sc-catalog-filter.service.d.ts +0 -37
- package/catalog/services/sc-catalog.service.d.ts +0 -199
- package/catalog/services/sc-favorite.service.d.ts +0 -62
- package/catalog/services/sc-recommendation.service.d.ts +0 -76
- package/catalog/tokens/index.d.ts +0 -1
- package/catalog/tokens/sc-count-first-discounted-products.d.ts +0 -5
- package/catalog/types/index.d.ts +0 -2
- package/catalog/types/sc-filters-tree-catalog.d.ts +0 -5
- package/catalog/types/sc-price-history.d.ts +0 -13
- package/common/classes/index.d.ts +0 -10
- package/common/classes/sc-catalogable-item.d.ts +0 -17
- package/common/classes/sc-coded-identity.d.ts +0 -17
- package/common/classes/sc-deletable-named-identity.d.ts +0 -17
- package/common/classes/sc-hidden-catalogable-item.d.ts +0 -17
- package/common/classes/sc-identity.d.ts +0 -25
- package/common/classes/sc-image.d.ts +0 -24
- package/common/classes/sc-named-identity.d.ts +0 -17
- package/common/classes/sc-primary-catalogable-item.d.ts +0 -17
- package/common/classes/sc-reference.d.ts +0 -21
- package/common/classes/sc-updatable-named-identity.d.ts +0 -17
- package/common/enums/index.d.ts +0 -1
- package/common/enums/request-state-status-enum.d.ts +0 -17
- package/common/index.d.ts +0 -3
- package/common/interfaces/index.d.ts +0 -18
- package/common/interfaces/sc-i-catalogable-item.d.ts +0 -10
- package/common/interfaces/sc-i-coded-identity.d.ts +0 -10
- package/common/interfaces/sc-i-created-at.d.ts +0 -9
- package/common/interfaces/sc-i-date-period.d.ts +0 -6
- package/common/interfaces/sc-i-deletable-named-identity.d.ts +0 -7
- package/common/interfaces/sc-i-deleted-at.d.ts +0 -9
- package/common/interfaces/sc-i-file.d.ts +0 -13
- package/common/interfaces/sc-i-hidden-catalogable-item.d.ts +0 -10
- package/common/interfaces/sc-i-identity.d.ts +0 -13
- package/common/interfaces/sc-i-image.d.ts +0 -17
- package/common/interfaces/sc-i-named-identity.d.ts +0 -7
- package/common/interfaces/sc-i-named.d.ts +0 -9
- package/common/interfaces/sc-i-primary-catalogable-item.d.ts +0 -10
- package/common/interfaces/sc-i-reference.d.ts +0 -14
- package/common/interfaces/sc-i-request-state.d.ts +0 -35
- package/common/interfaces/sc-i-typed-nullable-range.d.ts +0 -13
- package/common/interfaces/sc-i-updatable-named-identity.d.ts +0 -7
- package/common/interfaces/sc-i-updated-at.d.ts +0 -9
- package/config/index.d.ts +0 -11
- package/config/sc-i-api-keys.d.ts +0 -13
- package/config/sc-i-app-release.d.ts +0 -17
- package/config/sc-i-cache-lifetime.d.ts +0 -27
- package/config/sc-i-company-base-info.d.ts +0 -54
- package/config/sc-i-date-format.d.ts +0 -17
- package/config/sc-i-feedback-api.d.ts +0 -17
- package/config/sc-i-maps-default-options.d.ts +0 -13
- package/config/sc-i-update-interval.d.ts +0 -13
- package/config/sc-i-urls.d.ts +0 -44
- package/config/sc-i-user-configs.d.ts +0 -9
- package/config/sc-route-keys.d.ts +0 -153
- package/configurator/dto/index.d.ts +0 -7
- package/configurator/dto/sc-i-configurator-base.d.ts +0 -5
- package/configurator/dto/sc-i-configurator-calculate-result.d.ts +0 -18
- package/configurator/dto/sc-i-configurator-calculate-sheet.d.ts +0 -9
- package/configurator/dto/sc-i-configurator-search-product-base.d.ts +0 -5
- package/configurator/dto/sc-i-configurator-settings-base.d.ts +0 -5
- package/configurator/dto/sc-i-sandwich-calculate-item.d.ts +0 -17
- package/configurator/dto/sc-i-sandwich-calculate.d.ts +0 -14
- package/configurator/index.d.ts +0 -3
- package/configurator/services/index.d.ts +0 -1
- package/configurator/services/sc-configurator.service.d.ts +0 -81
- package/configurator/types/index.d.ts +0 -1
- package/configurator/types/sc-type-by-key.d.ts +0 -5
- package/contacts/dto/index.d.ts +0 -9
- package/contacts/dto/sc-i-contact-and-media.d.ts +0 -23
- package/contacts/dto/sc-i-direction-manager-contact.d.ts +0 -42
- package/contacts/dto/sc-i-feedback-message.d.ts +0 -35
- package/contacts/dto/sc-i-org-contact.d.ts +0 -46
- package/contacts/dto/sc-i-requisites-with-label.d.ts +0 -13
- package/contacts/dto/sc-i-requisites.d.ts +0 -58
- package/contacts/dto/sc-i-retail-contact.d.ts +0 -47
- package/contacts/dto/sc-i-social-media.d.ts +0 -18
- package/contacts/dto/sc-uploaded-file.d.ts +0 -14
- package/contacts/enums/index.d.ts +0 -2
- package/contacts/enums/sc-feedback-forms.d.ts +0 -29
- package/contacts/enums/sc-social-type.d.ts +0 -21
- package/contacts/index.d.ts +0 -3
- package/contacts/services/index.d.ts +0 -3
- package/contacts/services/sc-contacts.service.d.ts +0 -79
- package/contacts/services/sc-feedback.service.d.ts +0 -41
- package/contacts/services/sc-requisites.service.d.ts +0 -90
- package/contragent/dto/index.d.ts +0 -13
- package/contragent/dto/sc-contragent-on-data-create.d.ts +0 -8
- package/contragent/dto/sc-contragent.d.ts +0 -8
- package/contragent/dto/sc-i-bank-account-on-data-create.d.ts +0 -25
- package/contragent/dto/sc-i-bank-account.d.ts +0 -15
- package/contragent/dto/sc-i-contragent-entrepreneur-on-data-create.d.ts +0 -43
- package/contragent/dto/sc-i-contragent-entrepreneur.d.ts +0 -38
- package/contragent/dto/sc-i-contragent-individual-on-data-create.d.ts +0 -23
- package/contragent/dto/sc-i-contragent-individual.d.ts +0 -18
- package/contragent/dto/sc-i-contragent-legal-on-data-create.d.ts +0 -10
- package/contragent/dto/sc-i-contragent-legal.d.ts +0 -10
- package/contragent/dto/sc-i-contragent-non-resident-legal-on-data-create.d.ts +0 -18
- package/contragent/dto/sc-i-contragent-non-resident-legal.d.ts +0 -19
- package/contragent/dto/sc-i-opf.d.ts +0 -21
- package/contragent/index.d.ts +0 -2
- package/contragent/services/index.d.ts +0 -1
- package/contragent/services/sc-contragent.service.d.ts +0 -105
- package/converters/index.d.ts +0 -2
- package/converters/services/sc-converters.service.d.ts +0 -61
- package/converters/types/index.d.ts +0 -1
- package/converters/types/sc-date-to-string.d.ts +0 -6
- package/delivery-address/dto/index.d.ts +0 -2
- package/delivery-address/dto/sc-i-delivery-addresses-on-data-create.d.ts +0 -44
- package/delivery-address/dto/sc-i-delivery-addresses.d.ts +0 -10
- package/delivery-address/index.d.ts +0 -2
- package/delivery-address/services/index.d.ts +0 -1
- package/delivery-address/services/sc-delivery-address.service.d.ts +0 -73
- package/esm2022/auth/index.mjs +0 -4
- package/esm2022/auth/interfaces/index.mjs +0 -6
- package/esm2022/auth/interfaces/sc-i-api-error-response.mjs +0 -2
- package/esm2022/auth/interfaces/sc-i-auth-token.mjs +0 -2
- package/esm2022/auth/interfaces/sc-i-login.mjs +0 -2
- package/esm2022/auth/interfaces/sc-i-phone-login.mjs +0 -2
- package/esm2022/auth/interfaces/sc-i-token.mjs +0 -2
- package/esm2022/auth/services/index.mjs +0 -3
- package/esm2022/auth/services/sc-auth.service.mjs +0 -162
- package/esm2022/auth/services/sc-token.service.mjs +0 -158
- package/esm2022/auth/tokens/index.mjs +0 -4
- package/esm2022/auth/tokens/sc-access-auth-token-storage-key.mjs +0 -9
- package/esm2022/auth/tokens/sc-guest-token-storage-key.mjs +0 -9
- package/esm2022/auth/tokens/sc-refresh-auth-token-storage-key.mjs +0 -9
- package/esm2022/banners/dto/index.mjs +0 -3
- package/esm2022/banners/dto/sc-banner.mjs +0 -34
- package/esm2022/banners/dto/sc-i-banner.mjs +0 -2
- package/esm2022/banners/index.mjs +0 -3
- package/esm2022/banners/services/sc-banner.service.mjs +0 -35
- package/esm2022/cart/classes/index.mjs +0 -3
- package/esm2022/cart/classes/sc-cart.mjs +0 -18
- package/esm2022/cart/classes/sc-sum.mjs +0 -14
- package/esm2022/cart/constants/index.mjs +0 -2
- package/esm2022/cart/constants/sc-empty-cart.mjs +0 -2
- package/esm2022/cart/index.mjs +0 -5
- package/esm2022/cart/internal/index.mjs +0 -2
- package/esm2022/cart/internal/sc-i-cart.mjs +0 -2
- package/esm2022/cart/services/index.mjs +0 -2
- package/esm2022/cart/services/sc-cart.service.mjs +0 -203
- package/esm2022/catalog/classes/index.mjs +0 -4
- package/esm2022/catalog/classes/sc-cached-data.mjs +0 -23
- package/esm2022/catalog/classes/sc-cached-item.mjs +0 -60
- package/esm2022/catalog/classes/sc-catalog-item.mjs +0 -19
- package/esm2022/catalog/dto/index.mjs +0 -8
- package/esm2022/catalog/dto/sc-category.mjs +0 -180
- package/esm2022/catalog/dto/sc-i-discount.mjs +0 -2
- package/esm2022/catalog/dto/sc-i-product-images.mjs +0 -2
- package/esm2022/catalog/dto/sc-i-product-notify-when-in-stock.mjs +0 -2
- package/esm2022/catalog/dto/sc-i-properties.mjs +0 -2
- package/esm2022/catalog/dto/sc-product.mjs +0 -159
- package/esm2022/catalog/dto/sc-virtual-category.mjs +0 -22
- package/esm2022/catalog/enums/index.mjs +0 -4
- package/esm2022/catalog/enums/sc-catalog-format.mjs +0 -16
- package/esm2022/catalog/enums/sc-mime-types.mjs +0 -81
- package/esm2022/catalog/enums/sc-product-tile-type.mjs +0 -16
- package/esm2022/catalog/index.mjs +0 -9
- package/esm2022/catalog/interfaces/index.mjs +0 -14
- package/esm2022/catalog/interfaces/sc-catalog-filter.mjs +0 -2
- package/esm2022/catalog/interfaces/sc-i-base-catalog-filter.mjs +0 -2
- package/esm2022/catalog/interfaces/sc-i-catalog-item.mjs +0 -2
- package/esm2022/catalog/interfaces/sc-i-category-product-params.mjs +0 -2
- package/esm2022/catalog/interfaces/sc-i-category-products-pagination-params.mjs +0 -2
- package/esm2022/catalog/interfaces/sc-i-category.mjs +0 -3
- package/esm2022/catalog/interfaces/sc-i-checkbox-filter.mjs +0 -2
- package/esm2022/catalog/interfaces/sc-i-product.mjs +0 -3
- package/esm2022/catalog/interfaces/sc-i-range-filter.mjs +0 -2
- package/esm2022/catalog/interfaces/sc-i-toggle-filter.mjs +0 -2
- package/esm2022/catalog/interfaces/sc-i-virtual-category.mjs +0 -2
- package/esm2022/catalog/interfaces/sc-property-filters.mjs +0 -2
- package/esm2022/catalog/interfaces/sc-t-product-sort-field.mjs +0 -2
- package/esm2022/catalog/internal/index.mjs +0 -2
- package/esm2022/catalog/internal/sc-i-filter-tree-category.mjs +0 -2
- package/esm2022/catalog/services/index.mjs +0 -5
- package/esm2022/catalog/services/sc-catalog-filter.service.mjs +0 -73
- package/esm2022/catalog/services/sc-catalog.service.mjs +0 -357
- package/esm2022/catalog/services/sc-favorite.service.mjs +0 -91
- package/esm2022/catalog/services/sc-recommendation.service.mjs +0 -165
- package/esm2022/catalog/tokens/index.mjs +0 -2
- package/esm2022/catalog/tokens/sc-count-first-discounted-products.mjs +0 -8
- package/esm2022/catalog/types/index.mjs +0 -3
- package/esm2022/catalog/types/sc-filters-tree-catalog.mjs +0 -2
- package/esm2022/catalog/types/sc-price-history.mjs +0 -2
- package/esm2022/common/classes/index.mjs +0 -11
- package/esm2022/common/classes/sc-catalogable-item.mjs +0 -16
- package/esm2022/common/classes/sc-coded-identity.mjs +0 -21
- package/esm2022/common/classes/sc-deletable-named-identity.mjs +0 -18
- package/esm2022/common/classes/sc-hidden-catalogable-item.mjs +0 -16
- package/esm2022/common/classes/sc-identity.mjs +0 -23
- package/esm2022/common/classes/sc-image.mjs +0 -16
- package/esm2022/common/classes/sc-named-identity.mjs +0 -21
- package/esm2022/common/classes/sc-primary-catalogable-item.mjs +0 -16
- package/esm2022/common/classes/sc-reference.mjs +0 -17
- package/esm2022/common/classes/sc-updatable-named-identity.mjs +0 -18
- package/esm2022/common/enums/index.mjs +0 -2
- package/esm2022/common/enums/request-state-status-enum.mjs +0 -19
- package/esm2022/common/index.mjs +0 -4
- package/esm2022/common/interfaces/index.mjs +0 -19
- package/esm2022/common/interfaces/sc-i-catalogable-item.mjs +0 -2
- package/esm2022/common/interfaces/sc-i-coded-identity.mjs +0 -2
- package/esm2022/common/interfaces/sc-i-created-at.mjs +0 -2
- package/esm2022/common/interfaces/sc-i-date-period.mjs +0 -2
- package/esm2022/common/interfaces/sc-i-deletable-named-identity.mjs +0 -2
- package/esm2022/common/interfaces/sc-i-deleted-at.mjs +0 -2
- package/esm2022/common/interfaces/sc-i-file.mjs +0 -2
- package/esm2022/common/interfaces/sc-i-hidden-catalogable-item.mjs +0 -2
- package/esm2022/common/interfaces/sc-i-identity.mjs +0 -2
- package/esm2022/common/interfaces/sc-i-image.mjs +0 -2
- package/esm2022/common/interfaces/sc-i-named-identity.mjs +0 -2
- package/esm2022/common/interfaces/sc-i-named.mjs +0 -2
- package/esm2022/common/interfaces/sc-i-primary-catalogable-item.mjs +0 -2
- package/esm2022/common/interfaces/sc-i-reference.mjs +0 -2
- package/esm2022/common/interfaces/sc-i-request-state.mjs +0 -26
- package/esm2022/common/interfaces/sc-i-typed-nullable-range.mjs +0 -2
- package/esm2022/common/interfaces/sc-i-updatable-named-identity.mjs +0 -2
- package/esm2022/common/interfaces/sc-i-updated-at.mjs +0 -2
- package/esm2022/config/index.mjs +0 -12
- package/esm2022/config/sc-i-api-keys.mjs +0 -2
- package/esm2022/config/sc-i-app-release.mjs +0 -2
- package/esm2022/config/sc-i-cache-lifetime.mjs +0 -2
- package/esm2022/config/sc-i-company-base-info.mjs +0 -2
- package/esm2022/config/sc-i-date-format.mjs +0 -2
- package/esm2022/config/sc-i-feedback-api.mjs +0 -2
- package/esm2022/config/sc-i-maps-default-options.mjs +0 -2
- package/esm2022/config/sc-i-update-interval.mjs +0 -2
- package/esm2022/config/sc-i-urls.mjs +0 -2
- package/esm2022/config/sc-i-user-configs.mjs +0 -2
- package/esm2022/config/sc-route-keys.mjs +0 -155
- package/esm2022/configurator/dto/index.mjs +0 -8
- package/esm2022/configurator/dto/sc-i-configurator-base.mjs +0 -2
- package/esm2022/configurator/dto/sc-i-configurator-calculate-result.mjs +0 -2
- package/esm2022/configurator/dto/sc-i-configurator-calculate-sheet.mjs +0 -2
- package/esm2022/configurator/dto/sc-i-configurator-search-product-base.mjs +0 -2
- package/esm2022/configurator/dto/sc-i-configurator-settings-base.mjs +0 -2
- package/esm2022/configurator/dto/sc-i-sandwich-calculate-item.mjs +0 -2
- package/esm2022/configurator/dto/sc-i-sandwich-calculate.mjs +0 -2
- package/esm2022/configurator/index.mjs +0 -4
- package/esm2022/configurator/services/index.mjs +0 -2
- package/esm2022/configurator/services/sc-configurator.service.mjs +0 -119
- package/esm2022/configurator/types/index.mjs +0 -2
- package/esm2022/configurator/types/sc-type-by-key.mjs +0 -2
- package/esm2022/contacts/dto/index.mjs +0 -10
- package/esm2022/contacts/dto/sc-i-contact-and-media.mjs +0 -2
- package/esm2022/contacts/dto/sc-i-direction-manager-contact.mjs +0 -2
- package/esm2022/contacts/dto/sc-i-feedback-message.mjs +0 -2
- package/esm2022/contacts/dto/sc-i-org-contact.mjs +0 -2
- package/esm2022/contacts/dto/sc-i-requisites-with-label.mjs +0 -2
- package/esm2022/contacts/dto/sc-i-requisites.mjs +0 -2
- package/esm2022/contacts/dto/sc-i-retail-contact.mjs +0 -2
- package/esm2022/contacts/dto/sc-i-social-media.mjs +0 -2
- package/esm2022/contacts/dto/sc-uploaded-file.mjs +0 -16
- package/esm2022/contacts/enums/index.mjs +0 -3
- package/esm2022/contacts/enums/sc-feedback-forms.mjs +0 -31
- package/esm2022/contacts/enums/sc-social-type.mjs +0 -24
- package/esm2022/contacts/index.mjs +0 -4
- package/esm2022/contacts/services/index.mjs +0 -4
- package/esm2022/contacts/services/sc-contacts.service.mjs +0 -110
- package/esm2022/contacts/services/sc-feedback.service.mjs +0 -73
- package/esm2022/contacts/services/sc-requisites.service.mjs +0 -141
- package/esm2022/contragent/dto/index.mjs +0 -14
- package/esm2022/contragent/dto/sc-contragent-on-data-create.mjs +0 -2
- package/esm2022/contragent/dto/sc-contragent.mjs +0 -2
- package/esm2022/contragent/dto/sc-i-bank-account-on-data-create.mjs +0 -2
- package/esm2022/contragent/dto/sc-i-bank-account.mjs +0 -2
- package/esm2022/contragent/dto/sc-i-contragent-entrepreneur-on-data-create.mjs +0 -2
- package/esm2022/contragent/dto/sc-i-contragent-entrepreneur.mjs +0 -2
- package/esm2022/contragent/dto/sc-i-contragent-individual-on-data-create.mjs +0 -2
- package/esm2022/contragent/dto/sc-i-contragent-individual.mjs +0 -2
- package/esm2022/contragent/dto/sc-i-contragent-legal-on-data-create.mjs +0 -2
- package/esm2022/contragent/dto/sc-i-contragent-legal.mjs +0 -2
- package/esm2022/contragent/dto/sc-i-contragent-non-resident-legal-on-data-create.mjs +0 -2
- package/esm2022/contragent/dto/sc-i-contragent-non-resident-legal.mjs +0 -2
- package/esm2022/contragent/dto/sc-i-opf.mjs +0 -2
- package/esm2022/contragent/index.mjs +0 -3
- package/esm2022/contragent/services/index.mjs +0 -2
- package/esm2022/contragent/services/sc-contragent.service.mjs +0 -166
- package/esm2022/converters/index.mjs +0 -3
- package/esm2022/converters/services/sc-converters.service.mjs +0 -136
- package/esm2022/converters/types/index.mjs +0 -2
- package/esm2022/converters/types/sc-date-to-string.mjs +0 -2
- package/esm2022/delivery-address/dto/index.mjs +0 -3
- package/esm2022/delivery-address/dto/sc-i-delivery-addresses-on-data-create.mjs +0 -2
- package/esm2022/delivery-address/dto/sc-i-delivery-addresses.mjs +0 -2
- package/esm2022/delivery-address/index.mjs +0 -3
- package/esm2022/delivery-address/services/index.mjs +0 -2
- package/esm2022/delivery-address/services/sc-delivery-address.service.mjs +0 -120
- package/esm2022/files/classes/sc-document-info-node.mjs +0 -16
- package/esm2022/files/classes/sc-document-info.mjs +0 -2
- package/esm2022/files/enums/sc-document-info-types-enum.mjs +0 -21
- package/esm2022/files/enums/sc-icon-types-enum.mjs +0 -36
- package/esm2022/files/index.mjs +0 -6
- package/esm2022/files/services/sc-files.service.mjs +0 -92
- package/esm2022/frequently-asked-questions/index.mjs +0 -3
- package/esm2022/frequently-asked-questions/interfaces/index.mjs +0 -4
- package/esm2022/frequently-asked-questions/interfaces/sc-i-faq-group.mjs +0 -2
- package/esm2022/frequently-asked-questions/interfaces/sc-i-faq-item.mjs +0 -2
- package/esm2022/frequently-asked-questions/interfaces/sc-i-frequently-asked-questions-pagination-params.mjs +0 -2
- package/esm2022/frequently-asked-questions/services/index.mjs +0 -2
- package/esm2022/frequently-asked-questions/services/sc-frequently-asked-questions.service.mjs +0 -50
- package/esm2022/guards/index.mjs +0 -3
- package/esm2022/guards/sc-auth-as-client.guard.mjs +0 -56
- package/esm2022/guards/sc-id-or-slug.guard.mjs +0 -35
- package/esm2022/helpers/index.mjs +0 -4
- package/esm2022/helpers/sc-get-current-route.mjs +0 -14
- package/esm2022/helpers/sc-image-helper.mjs +0 -91
- package/esm2022/helpers/sc-units-helper.mjs +0 -33
- package/esm2022/httpInterceptors/classes/index.mjs +0 -2
- package/esm2022/httpInterceptors/classes/sc-cache-settings.mjs +0 -16
- package/esm2022/httpInterceptors/index.mjs +0 -10
- package/esm2022/httpInterceptors/internal/classes/sc-cached-response.mjs +0 -17
- package/esm2022/httpInterceptors/sc-auth.interceptor.mjs +0 -31
- package/esm2022/httpInterceptors/sc-cache.interceptor.mjs +0 -40
- package/esm2022/httpInterceptors/sc-convert.interceptor.mjs +0 -64
- package/esm2022/httpInterceptors/sc-date-format.interceptor.mjs +0 -80
- package/esm2022/httpInterceptors/sc-errors.interceptor.mjs +0 -89
- package/esm2022/httpInterceptors/sc-guest.interceptor.mjs +0 -38
- package/esm2022/httpInterceptors/sc-options.interceptor.mjs +0 -42
- package/esm2022/httpInterceptors/tokens/index.mjs +0 -8
- package/esm2022/httpInterceptors/tokens/sc-auth-add-header-required.mjs +0 -10
- package/esm2022/httpInterceptors/tokens/sc-cache-settings.mjs +0 -7
- package/esm2022/httpInterceptors/tokens/sc-guest-endpoints.mjs +0 -8
- package/esm2022/httpInterceptors/tokens/sc-guest-parameter-name.mjs +0 -8
- package/esm2022/httpInterceptors/tokens/sc-is-header-required.mjs +0 -6
- package/esm2022/httpInterceptors/tokens/sc-is-logout-request.mjs +0 -6
- package/esm2022/httpInterceptors/tokens/sc-is-refresh-token-required.mjs +0 -6
- package/esm2022/locations/dto/index.mjs +0 -4
- package/esm2022/locations/dto/sc-i-city.mjs +0 -2
- package/esm2022/locations/dto/sc-i-country.mjs +0 -2
- package/esm2022/locations/dto/sc-i-region.mjs +0 -2
- package/esm2022/locations/index.mjs +0 -3
- package/esm2022/locations/services/sc-location.service.mjs +0 -116
- package/esm2022/news/classes/index.mjs +0 -2
- package/esm2022/news/classes/sc-news.mjs +0 -22
- package/esm2022/news/index.mjs +0 -5
- package/esm2022/news/interfaces/index.mjs +0 -3
- package/esm2022/news/interfaces/sc-i-news-tile.mjs +0 -2
- package/esm2022/news/interfaces/sc-i-news.mjs +0 -2
- package/esm2022/news/services/index.mjs +0 -2
- package/esm2022/news/services/sc-news.service.mjs +0 -68
- package/esm2022/news/tokens/index.mjs +0 -2
- package/esm2022/news/tokens/sc-count-last-news.mjs +0 -9
- package/esm2022/notifications/dto/index.mjs +0 -3
- package/esm2022/notifications/dto/sc-i-notifications-count.mjs +0 -2
- package/esm2022/notifications/dto/sc-i-user-notification.mjs +0 -2
- package/esm2022/notifications/enums/index.mjs +0 -3
- package/esm2022/notifications/enums/sc-notification-action-types.mjs +0 -28
- package/esm2022/notifications/enums/sc-notification-level-names.mjs +0 -20
- package/esm2022/notifications/index.mjs +0 -4
- package/esm2022/notifications/services/sc-notifications.service.mjs +0 -168
- package/esm2022/order/classes/index.mjs +0 -12
- package/esm2022/order/classes/sc-delivery-cost.mjs +0 -19
- package/esm2022/order/classes/sc-i-order-history.mjs +0 -2
- package/esm2022/order/classes/sc-order-base.mjs +0 -28
- package/esm2022/order/classes/sc-order-delivery.mjs +0 -2
- package/esm2022/order/classes/sc-order-draft-short.mjs +0 -17
- package/esm2022/order/classes/sc-order-draft.mjs +0 -59
- package/esm2022/order/classes/sc-order-history-user.mjs +0 -2
- package/esm2022/order/classes/sc-order-item.mjs +0 -60
- package/esm2022/order/classes/sc-order-payment.mjs +0 -2
- package/esm2022/order/classes/sc-order-short.mjs +0 -31
- package/esm2022/order/classes/sc-order.mjs +0 -102
- package/esm2022/order/enums/index.mjs +0 -4
- package/esm2022/order/enums/sc-delivery-type.mjs +0 -16
- package/esm2022/order/enums/sc-order-draft-type.mjs +0 -16
- package/esm2022/order/enums/sc-payment-type.mjs +0 -32
- package/esm2022/order/index.mjs +0 -6
- package/esm2022/order/internal/index.mjs +0 -15
- package/esm2022/order/internal/sc-i-delivery-cost-dto.mjs +0 -2
- package/esm2022/order/internal/sc-i-new-order-draft-request.mjs +0 -2
- package/esm2022/order/internal/sc-i-new-order-item-base.mjs +0 -2
- package/esm2022/order/internal/sc-i-new-order-item-measured.mjs +0 -2
- package/esm2022/order/internal/sc-i-new-order.mjs +0 -2
- package/esm2022/order/internal/sc-i-order-base.mjs +0 -2
- package/esm2022/order/internal/sc-i-order-draft-list-params.mjs +0 -2
- package/esm2022/order/internal/sc-i-order-draft-short.mjs +0 -2
- package/esm2022/order/internal/sc-i-order-draft.mjs +0 -2
- package/esm2022/order/internal/sc-i-order-item.mjs +0 -2
- package/esm2022/order/internal/sc-i-order-loader.mjs +0 -2
- package/esm2022/order/internal/sc-i-order-short.mjs +0 -2
- package/esm2022/order/internal/sc-i-order.mjs +0 -2
- package/esm2022/order/internal/sc-i-update-order-order-request.mjs +0 -2
- package/esm2022/order/services/index.mjs +0 -3
- package/esm2022/order/services/sc-order-drafts.service.mjs +0 -202
- package/esm2022/order/services/sc-orders.service.mjs +0 -219
- package/esm2022/order/tokens/index.mjs +0 -2
- package/esm2022/order/tokens/sc-order-loader.token.mjs +0 -25
- package/esm2022/pagination/dto/index.mjs +0 -7
- package/esm2022/pagination/dto/sc-i-paginate.mjs +0 -2
- package/esm2022/pagination/dto/sc-i-pagination-links.mjs +0 -2
- package/esm2022/pagination/dto/sc-i-pagination-meta.mjs +0 -2
- package/esm2022/pagination/dto/sc-i-pagination-params.mjs +0 -2
- package/esm2022/pagination/dto/sc-i-range-filter.mjs +0 -2
- package/esm2022/pagination/dto/sc-i-sort-order.mjs +0 -2
- package/esm2022/pagination/index.mjs +0 -3
- package/esm2022/pagination/services/sc-pagination.service.mjs +0 -157
- package/esm2022/pipes/index.mjs +0 -3
- package/esm2022/pipes/sc-id-or-slug.pipe.mjs +0 -41
- package/esm2022/pipes/sc-media-image-transformer.pipe.mjs +0 -34
- package/esm2022/providers/index.mjs +0 -8
- package/esm2022/providers/interfaces/index.mjs +0 -4
- package/esm2022/providers/interfaces/sc-i-terminal-provider.mjs +0 -2
- package/esm2022/providers/interfaces/sc-i-typed-class-provider.mjs +0 -2
- package/esm2022/providers/interfaces/sc-i-typed-value-provider.mjs +0 -2
- package/esm2022/providers/sc-category.providers.mjs +0 -37
- package/esm2022/providers/search-term.providers.mjs +0 -38
- package/esm2022/providers/ssr.providers.mjs +0 -19
- package/esm2022/providers/terminal.providers.mjs +0 -43
- package/esm2022/providers/types/sc-provider.mjs +0 -2
- package/esm2022/providers/virtual-category.providers.mjs +0 -33
- package/esm2022/public-api.mjs +0 -40
- package/esm2022/questionnaire/dto/index.mjs +0 -5
- package/esm2022/questionnaire/dto/sc-i-question-answer.mjs +0 -2
- package/esm2022/questionnaire/dto/sc-i-questionnaire.mjs +0 -2
- package/esm2022/questionnaire/dto/sc-question-possible-answer.mjs +0 -2
- package/esm2022/questionnaire/dto/sc-questionnaire-question.mjs +0 -2
- package/esm2022/questionnaire/enums/sc-questionnaire-status-enum.mjs +0 -24
- package/esm2022/questionnaire/index.mjs +0 -4
- package/esm2022/questionnaire/services/sc-questionnaire.service.mjs +0 -81
- package/esm2022/reclamation/dto/index.mjs +0 -6
- package/esm2022/reclamation/dto/sc-i-reclamation-on-data-create-item.mjs +0 -2
- package/esm2022/reclamation/dto/sc-i-reclamation-on-data-create.mjs +0 -2
- package/esm2022/reclamation/dto/sc-i-reclamation.mjs +0 -2
- package/esm2022/reclamation/dto/sc-reclamation-item.mjs +0 -2
- package/esm2022/reclamation/dto/sc-reclamation-short.mjs +0 -2
- package/esm2022/reclamation/index.mjs +0 -4
- package/esm2022/reclamation/interfaces/sc-i-pagination-params.mjs +0 -2
- package/esm2022/reclamation/services/sc-reclamation.service.mjs +0 -83
- package/esm2022/references/dto/index.mjs +0 -5
- package/esm2022/references/dto/sc-i-currency.mjs +0 -2
- package/esm2022/references/dto/sc-i-product-unit.mjs +0 -2
- package/esm2022/references/dto/sc-i-references-types.mjs +0 -2
- package/esm2022/references/dto/sc-i-sales-direction.mjs +0 -2
- package/esm2022/references/enums/index.mjs +0 -6
- package/esm2022/references/enums/sc-opf-list.mjs +0 -24
- package/esm2022/references/enums/sc-order-state-status.mjs +0 -45
- package/esm2022/references/enums/sc-payment-status.mjs +0 -65
- package/esm2022/references/enums/sc-reclamation-status.mjs +0 -25
- package/esm2022/references/enums/sc-reference-name.mjs +0 -76
- package/esm2022/references/index.mjs +0 -4
- package/esm2022/references/services/index.mjs +0 -2
- package/esm2022/references/services/sc-references.service.mjs +0 -188
- package/esm2022/search/dto/sc-i-simple-search.mjs +0 -2
- package/esm2022/search/index.mjs +0 -3
- package/esm2022/search/services/sc-search.service.mjs +0 -122
- package/esm2022/seo/classes/index.mjs +0 -2
- package/esm2022/seo/classes/schema-org-factory.mjs +0 -308
- package/esm2022/seo/index.mjs +0 -5
- package/esm2022/seo/interfaces/index.mjs +0 -5
- package/esm2022/seo/interfaces/sc-i-breadcrumb-item.mjs +0 -12
- package/esm2022/seo/interfaces/sc-i-default-page-meta.mjs +0 -2
- package/esm2022/seo/interfaces/sc-i-seo-resource.mjs +0 -2
- package/esm2022/seo/interfaces/sc-i-seo.mjs +0 -2
- package/esm2022/seo/services/index.mjs +0 -2
- package/esm2022/seo/services/sc-seo.service.mjs +0 -230
- package/esm2022/seo/types/index.mjs +0 -2
- package/esm2022/seo/types/robots-tag-type.mjs +0 -2
- package/esm2022/snabcentr-client-core.mjs +0 -5
- package/esm2022/suggestion/dto/index.mjs +0 -7
- package/esm2022/suggestion/dto/sc-i-suggestion-address.mjs +0 -2
- package/esm2022/suggestion/dto/sc-i-suggestion-bank.mjs +0 -2
- package/esm2022/suggestion/dto/sc-i-suggestion-email.mjs +0 -2
- package/esm2022/suggestion/dto/sc-i-suggestion-fio.mjs +0 -2
- package/esm2022/suggestion/dto/sc-i-suggestion-organization.mjs +0 -2
- package/esm2022/suggestion/dto/sc-suggestion.mjs +0 -2
- package/esm2022/suggestion/enums/sc-i-suggestion-type.mjs +0 -28
- package/esm2022/suggestion/index.mjs +0 -4
- package/esm2022/suggestion/services/sc-suggestion.service.mjs +0 -42
- package/esm2022/tokens/index.mjs +0 -19
- package/esm2022/tokens/notification-options.mjs +0 -15
- package/esm2022/tokens/sc-api-keys.mjs +0 -6
- package/esm2022/tokens/sc-cache-lifetime.mjs +0 -6
- package/esm2022/tokens/sc-company-info.mjs +0 -6
- package/esm2022/tokens/sc-company-name.mjs +0 -6
- package/esm2022/tokens/sc-configurator-components.mjs +0 -6
- package/esm2022/tokens/sc-configurator-settings.mjs +0 -6
- package/esm2022/tokens/sc-date-format.mjs +0 -6
- package/esm2022/tokens/sc-default-page-meta.mjs +0 -14
- package/esm2022/tokens/sc-feedback-api.mjs +0 -6
- package/esm2022/tokens/sc-id-or-slug-in-route.mjs +0 -8
- package/esm2022/tokens/sc-is-hidden-error-alert.mjs +0 -10
- package/esm2022/tokens/sc-linear-values-token.mjs +0 -12
- package/esm2022/tokens/sc-path-image-not-found.mjs +0 -6
- package/esm2022/tokens/sc-product-pagination-options.mjs +0 -22
- package/esm2022/tokens/sc-release.mjs +0 -6
- package/esm2022/tokens/sc-update-interval.mjs +0 -6
- package/esm2022/tokens/sc-urls.mjs +0 -6
- package/esm2022/ui/index.mjs +0 -3
- package/esm2022/ui/services/sc-ui.service.mjs +0 -195
- package/esm2022/ui/utils/filter-changed-by-key.mjs +0 -12
- package/esm2022/user/dto/index.mjs +0 -18
- package/esm2022/user/dto/sc-approved-data.mjs +0 -2
- package/esm2022/user/dto/sc-i-bank.mjs +0 -2
- package/esm2022/user/dto/sc-i-change-password.mjs +0 -2
- package/esm2022/user/dto/sc-i-contact-base.mjs +0 -2
- package/esm2022/user/dto/sc-i-contact-on-data-create.mjs +0 -2
- package/esm2022/user/dto/sc-i-contact-relation-on-data-create.mjs +0 -2
- package/esm2022/user/dto/sc-i-contact-relation.mjs +0 -2
- package/esm2022/user/dto/sc-i-contact-with-relations.mjs +0 -2
- package/esm2022/user/dto/sc-i-contact.mjs +0 -2
- package/esm2022/user/dto/sc-i-manager.mjs +0 -2
- package/esm2022/user/dto/sc-i-password-on-data-create.mjs +0 -2
- package/esm2022/user/dto/sc-i-phone-on-data-approve.mjs +0 -2
- package/esm2022/user/dto/sc-i-simple-user-on-data-create.mjs +0 -2
- package/esm2022/user/dto/sc-i-user-on-data-create.mjs +0 -2
- package/esm2022/user/dto/sc-i-user-on-data-update.mjs +0 -2
- package/esm2022/user/dto/sc-user-metadata.mjs +0 -32
- package/esm2022/user/dto/sc-user.mjs +0 -58
- package/esm2022/user/enums/index.mjs +0 -3
- package/esm2022/user/enums/sc-client-type.mjs +0 -20
- package/esm2022/user/enums/sc-user-type.mjs +0 -16
- package/esm2022/user/index.mjs +0 -6
- package/esm2022/user/internal/dto/index.mjs +0 -2
- package/esm2022/user/internal/dto/sc-i-user-dto.mjs +0 -2
- package/esm2022/user/services/sc-user.service.mjs +0 -184
- package/esm2022/user/tokens/index.mjs +0 -2
- package/esm2022/user/tokens/sc-user-providers.mjs +0 -13
- package/esm2022/user-metrika/dto/index.mjs +0 -2
- package/esm2022/user-metrika/dto/sc-i-user-metrika-event.mjs +0 -2
- package/esm2022/user-metrika/enums/index.mjs +0 -2
- package/esm2022/user-metrika/enums/sc-user-metrika-goals-enum.mjs +0 -337
- package/esm2022/user-metrika/index.mjs +0 -4
- package/esm2022/user-metrika/services/index.mjs +0 -2
- package/esm2022/user-metrika/services/sc-user-metrika.service.mjs +0 -72
- package/esm2022/utils/phone-fotmatter/index.mjs +0 -2
- package/esm2022/utils/phone-fotmatter/sc-phone.service.mjs +0 -63
- package/esm2022/utm/index.mjs +0 -3
- package/esm2022/utm/interfaces/index.mjs +0 -3
- package/esm2022/utm/interfaces/sc-utm-params.mjs +0 -2
- package/esm2022/utm/interfaces/sc-utm.mjs +0 -2
- package/esm2022/utm/services/index.mjs +0 -2
- package/esm2022/utm/services/sc-utm.service.mjs +0 -157
- package/esm2022/vCard/index.mjs +0 -2
- package/esm2022/vCard/sc-v-card.service.mjs +0 -103
- package/esm2022/vacancies/classes/index.mjs +0 -3
- package/esm2022/vacancies/classes/sc-vacancies-list.mjs +0 -18
- package/esm2022/vacancies/classes/sc-vacancy.mjs +0 -19
- package/esm2022/vacancies/index.mjs +0 -5
- package/esm2022/vacancies/interfaces/index.mjs +0 -5
- package/esm2022/vacancies/interfaces/sc-i-employment.mjs +0 -2
- package/esm2022/vacancies/interfaces/sc-i-experience.mjs +0 -2
- package/esm2022/vacancies/interfaces/sc-i-salary.mjs +0 -2
- package/esm2022/vacancies/interfaces/sc-i-vacancies-data-source.mjs +0 -2
- package/esm2022/vacancies/internal/dto/index.mjs +0 -3
- package/esm2022/vacancies/internal/dto/sc-i-vacancies-list.mjs +0 -2
- package/esm2022/vacancies/internal/dto/sc-i-vacancy.mjs +0 -2
- package/esm2022/vacancies/services/index.mjs +0 -2
- package/esm2022/vacancies/services/sc-vacancies.service.mjs +0 -55
- package/esm2022/vacancies/tokens/index.mjs +0 -2
- package/esm2022/vacancies/tokens/sc-vacancies-datasource.mjs +0 -6
- package/esm2022/verification/index.mjs +0 -3
- package/esm2022/verification/interfaces/sc-i-phone-check.mjs +0 -2
- package/esm2022/verification/services/sc-verification.service.mjs +0 -68
- package/esm2022/warehouse/dto/index.mjs +0 -3
- package/esm2022/warehouse/dto/sc-i-warehouse-stock-count.mjs +0 -2
- package/esm2022/warehouse/dto/sc-warehouse.mjs +0 -2
- package/esm2022/warehouse/index.mjs +0 -3
- package/esm2022/warehouse/services/sc-warehouse.service.mjs +0 -119
- package/files/classes/sc-document-info-node.d.ts +0 -24
- package/files/classes/sc-document-info.d.ts +0 -42
- package/files/enums/sc-document-info-types-enum.d.ts +0 -17
- package/files/enums/sc-icon-types-enum.d.ts +0 -33
- package/files/index.d.ts +0 -5
- package/files/services/sc-files.service.d.ts +0 -34
- package/frequently-asked-questions/index.d.ts +0 -2
- package/frequently-asked-questions/interfaces/index.d.ts +0 -3
- package/frequently-asked-questions/interfaces/sc-i-faq-group.d.ts +0 -13
- package/frequently-asked-questions/interfaces/sc-i-faq-item.d.ts +0 -22
- package/frequently-asked-questions/interfaces/sc-i-frequently-asked-questions-pagination-params.d.ts +0 -10
- package/frequently-asked-questions/services/index.d.ts +0 -1
- package/frequently-asked-questions/services/sc-frequently-asked-questions.service.d.ts +0 -33
- package/guards/index.d.ts +0 -2
- package/guards/sc-auth-as-client.guard.d.ts +0 -29
- package/guards/sc-id-or-slug.guard.d.ts +0 -7
- package/helpers/index.d.ts +0 -3
- package/helpers/sc-get-current-route.d.ts +0 -8
- package/helpers/sc-image-helper.d.ts +0 -52
- package/helpers/sc-units-helper.d.ts +0 -24
- package/httpInterceptors/classes/index.d.ts +0 -1
- package/httpInterceptors/classes/sc-cache-settings.d.ts +0 -20
- package/httpInterceptors/index.d.ts +0 -9
- package/httpInterceptors/internal/classes/sc-cached-response.d.ts +0 -22
- package/httpInterceptors/sc-auth.interceptor.d.ts +0 -20
- package/httpInterceptors/sc-cache.interceptor.d.ts +0 -16
- package/httpInterceptors/sc-convert.interceptor.d.ts +0 -21
- package/httpInterceptors/sc-date-format.interceptor.d.ts +0 -28
- package/httpInterceptors/sc-errors.interceptor.d.ts +0 -36
- package/httpInterceptors/sc-guest.interceptor.d.ts +0 -24
- package/httpInterceptors/sc-options.interceptor.d.ts +0 -24
- package/httpInterceptors/tokens/index.d.ts +0 -7
- package/httpInterceptors/tokens/sc-auth-add-header-required.d.ts +0 -8
- package/httpInterceptors/tokens/sc-cache-settings.d.ts +0 -6
- package/httpInterceptors/tokens/sc-guest-endpoints.d.ts +0 -5
- package/httpInterceptors/tokens/sc-guest-parameter-name.d.ts +0 -5
- package/httpInterceptors/tokens/sc-is-header-required.d.ts +0 -5
- package/httpInterceptors/tokens/sc-is-logout-request.d.ts +0 -5
- package/httpInterceptors/tokens/sc-is-refresh-token-required.d.ts +0 -5
- package/index.d.ts +0 -5
- package/locations/dto/index.d.ts +0 -3
- package/locations/dto/sc-i-city.d.ts +0 -32
- package/locations/dto/sc-i-country.d.ts +0 -13
- package/locations/dto/sc-i-region.d.ts +0 -33
- package/locations/index.d.ts +0 -2
- package/locations/services/sc-location.service.d.ts +0 -65
- package/news/classes/index.d.ts +0 -1
- package/news/classes/sc-news.d.ts +0 -38
- package/news/index.d.ts +0 -4
- package/news/interfaces/index.d.ts +0 -2
- package/news/interfaces/sc-i-news-tile.d.ts +0 -22
- package/news/interfaces/sc-i-news.d.ts +0 -11
- package/news/services/index.d.ts +0 -1
- package/news/services/sc-news.service.d.ts +0 -48
- package/news/tokens/index.d.ts +0 -1
- package/news/tokens/sc-count-last-news.d.ts +0 -5
- package/notifications/dto/index.d.ts +0 -2
- package/notifications/dto/sc-i-notifications-count.d.ts +0 -17
- package/notifications/dto/sc-i-user-notification.d.ts +0 -68
- package/notifications/enums/index.d.ts +0 -2
- package/notifications/enums/sc-notification-action-types.d.ts +0 -25
- package/notifications/enums/sc-notification-level-names.d.ts +0 -17
- package/notifications/index.d.ts +0 -3
- package/notifications/services/sc-notifications.service.d.ts +0 -104
- package/order/classes/index.d.ts +0 -11
- package/order/classes/sc-delivery-cost.d.ts +0 -34
- package/order/classes/sc-i-order-history.d.ts +0 -23
- package/order/classes/sc-order-base.d.ts +0 -32
- package/order/classes/sc-order-delivery.d.ts +0 -24
- package/order/classes/sc-order-draft-short.d.ts +0 -22
- package/order/classes/sc-order-draft.d.ts +0 -63
- package/order/classes/sc-order-history-user.d.ts +0 -21
- package/order/classes/sc-order-item.d.ts +0 -98
- package/order/classes/sc-order-payment.d.ts +0 -19
- package/order/classes/sc-order-short.d.ts +0 -48
- package/order/classes/sc-order.d.ts +0 -112
- package/order/enums/index.d.ts +0 -3
- package/order/enums/sc-delivery-type.d.ts +0 -13
- package/order/enums/sc-order-draft-type.d.ts +0 -13
- package/order/enums/sc-payment-type.d.ts +0 -29
- package/order/index.d.ts +0 -5
- package/order/internal/index.d.ts +0 -14
- package/order/internal/sc-i-delivery-cost-dto.d.ts +0 -20
- package/order/internal/sc-i-new-order-draft-request.d.ts +0 -13
- package/order/internal/sc-i-new-order-item-base.d.ts +0 -21
- package/order/internal/sc-i-new-order-item-measured.d.ts +0 -10
- package/order/internal/sc-i-new-order.d.ts +0 -48
- package/order/internal/sc-i-order-base.d.ts +0 -25
- package/order/internal/sc-i-order-draft-list-params.d.ts +0 -32
- package/order/internal/sc-i-order-draft-short.d.ts +0 -15
- package/order/internal/sc-i-order-draft.d.ts +0 -43
- package/order/internal/sc-i-order-item.d.ts +0 -91
- package/order/internal/sc-i-order-loader.d.ts +0 -51
- package/order/internal/sc-i-order-short.d.ts +0 -48
- package/order/internal/sc-i-order.d.ts +0 -112
- package/order/internal/sc-i-update-order-order-request.d.ts +0 -9
- package/order/services/index.d.ts +0 -2
- package/order/services/sc-order-drafts.service.d.ts +0 -118
- package/order/services/sc-orders.service.d.ts +0 -134
- package/order/tokens/index.d.ts +0 -1
- package/order/tokens/sc-order-loader.token.d.ts +0 -26
- package/pagination/dto/index.d.ts +0 -6
- package/pagination/dto/sc-i-paginate.d.ts +0 -19
- package/pagination/dto/sc-i-pagination-links.d.ts +0 -21
- package/pagination/dto/sc-i-pagination-meta.d.ts +0 -33
- package/pagination/dto/sc-i-pagination-params.d.ts +0 -17
- package/pagination/dto/sc-i-range-filter.d.ts +0 -15
- package/pagination/dto/sc-i-sort-order.d.ts +0 -15
- package/pagination/index.d.ts +0 -2
- package/pagination/services/sc-pagination.service.d.ts +0 -83
- package/pipes/index.d.ts +0 -2
- package/pipes/sc-id-or-slug.pipe.d.ts +0 -25
- package/pipes/sc-media-image-transformer.pipe.d.ts +0 -26
- package/providers/index.d.ts +0 -7
- package/providers/interfaces/index.d.ts +0 -3
- package/providers/interfaces/sc-i-terminal-provider.d.ts +0 -13
- package/providers/interfaces/sc-i-typed-class-provider.d.ts +0 -10
- package/providers/interfaces/sc-i-typed-value-provider.d.ts +0 -10
- package/providers/sc-category.providers.d.ts +0 -11
- package/providers/search-term.providers.d.ts +0 -27
- package/providers/ssr.providers.d.ts +0 -14
- package/providers/terminal.providers.d.ts +0 -23
- package/providers/types/sc-provider.d.ts +0 -8
- package/providers/virtual-category.providers.d.ts +0 -11
- package/public-api.d.ts +0 -39
- package/questionnaire/dto/index.d.ts +0 -4
- package/questionnaire/dto/sc-i-question-answer.d.ts +0 -13
- package/questionnaire/dto/sc-i-questionnaire.d.ts +0 -22
- package/questionnaire/dto/sc-question-possible-answer.d.ts +0 -17
- package/questionnaire/dto/sc-questionnaire-question.d.ts +0 -26
- package/questionnaire/enums/sc-questionnaire-status-enum.d.ts +0 -21
- package/questionnaire/index.d.ts +0 -3
- package/questionnaire/services/sc-questionnaire.service.d.ts +0 -51
- package/reclamation/dto/index.d.ts +0 -5
- package/reclamation/dto/sc-i-reclamation-on-data-create-item.d.ts +0 -17
- package/reclamation/dto/sc-i-reclamation-on-data-create.d.ts +0 -39
- package/reclamation/dto/sc-i-reclamation.d.ts +0 -34
- package/reclamation/dto/sc-reclamation-item.d.ts +0 -34
- package/reclamation/dto/sc-reclamation-short.d.ts +0 -29
- package/reclamation/index.d.ts +0 -3
- package/reclamation/interfaces/sc-i-pagination-params.d.ts +0 -23
- package/reclamation/services/sc-reclamation.service.d.ts +0 -59
- package/references/dto/index.d.ts +0 -4
- package/references/dto/sc-i-currency.d.ts +0 -29
- package/references/dto/sc-i-product-unit.d.ts +0 -29
- package/references/dto/sc-i-references-types.d.ts +0 -21
- package/references/dto/sc-i-sales-direction.d.ts +0 -21
- package/references/enums/index.d.ts +0 -5
- package/references/enums/sc-opf-list.d.ts +0 -21
- package/references/enums/sc-order-state-status.d.ts +0 -42
- package/references/enums/sc-payment-status.d.ts +0 -62
- package/references/enums/sc-reclamation-status.d.ts +0 -22
- package/references/enums/sc-reference-name.d.ts +0 -73
- package/references/index.d.ts +0 -3
- package/references/services/index.d.ts +0 -1
- package/references/services/sc-references.service.d.ts +0 -152
- package/search/dto/sc-i-simple-search.d.ts +0 -56
- package/search/index.d.ts +0 -2
- package/search/services/sc-search.service.d.ts +0 -61
- package/seo/classes/index.d.ts +0 -1
- package/seo/classes/schema-org-factory.d.ts +0 -95
- package/seo/index.d.ts +0 -4
- package/seo/interfaces/index.d.ts +0 -4
- package/seo/interfaces/sc-i-breadcrumb-item.d.ts +0 -25
- package/seo/interfaces/sc-i-default-page-meta.d.ts +0 -17
- package/seo/interfaces/sc-i-seo-resource.d.ts +0 -14
- package/seo/interfaces/sc-i-seo.d.ts +0 -40
- package/seo/services/index.d.ts +0 -1
- package/seo/services/sc-seo.service.d.ts +0 -129
- package/seo/types/index.d.ts +0 -1
- package/seo/types/robots-tag-type.d.ts +0 -4
- package/suggestion/dto/index.d.ts +0 -6
- package/suggestion/dto/sc-i-suggestion-address.d.ts +0 -98
- package/suggestion/dto/sc-i-suggestion-bank.d.ts +0 -33
- package/suggestion/dto/sc-i-suggestion-email.d.ts +0 -17
- package/suggestion/dto/sc-i-suggestion-fio.d.ts +0 -25
- package/suggestion/dto/sc-i-suggestion-organization.d.ts +0 -50
- package/suggestion/dto/sc-suggestion.d.ts +0 -9
- package/suggestion/enums/sc-i-suggestion-type.d.ts +0 -25
- package/suggestion/index.d.ts +0 -3
- package/suggestion/services/sc-suggestion.service.d.ts +0 -28
- package/tokens/index.d.ts +0 -18
- package/tokens/notification-options.d.ts +0 -22
- package/tokens/sc-api-keys.d.ts +0 -6
- package/tokens/sc-cache-lifetime.d.ts +0 -6
- package/tokens/sc-company-info.d.ts +0 -6
- package/tokens/sc-company-name.d.ts +0 -5
- package/tokens/sc-configurator-components.d.ts +0 -7
- package/tokens/sc-configurator-settings.d.ts +0 -7
- package/tokens/sc-date-format.d.ts +0 -6
- package/tokens/sc-default-page-meta.d.ts +0 -14
- package/tokens/sc-feedback-api.d.ts +0 -6
- package/tokens/sc-id-or-slug-in-route.d.ts +0 -5
- package/tokens/sc-is-hidden-error-alert.d.ts +0 -9
- package/tokens/sc-linear-values-token.d.ts +0 -9
- package/tokens/sc-path-image-not-found.d.ts +0 -5
- package/tokens/sc-product-pagination-options.d.ts +0 -14
- package/tokens/sc-release.d.ts +0 -6
- package/tokens/sc-update-interval.d.ts +0 -6
- package/tokens/sc-urls.d.ts +0 -6
- package/ui/index.d.ts +0 -2
- package/ui/services/sc-ui.service.d.ts +0 -122
- package/ui/utils/filter-changed-by-key.d.ts +0 -9
- package/user/dto/index.d.ts +0 -17
- package/user/dto/sc-approved-data.d.ts +0 -13
- package/user/dto/sc-i-bank.d.ts +0 -21
- package/user/dto/sc-i-change-password.d.ts +0 -13
- package/user/dto/sc-i-contact-base.d.ts +0 -21
- package/user/dto/sc-i-contact-on-data-create.d.ts +0 -19
- package/user/dto/sc-i-contact-relation-on-data-create.d.ts +0 -5
- package/user/dto/sc-i-contact-relation.d.ts +0 -13
- package/user/dto/sc-i-contact-with-relations.d.ts +0 -28
- package/user/dto/sc-i-contact.d.ts +0 -14
- package/user/dto/sc-i-manager.d.ts +0 -38
- package/user/dto/sc-i-password-on-data-create.d.ts +0 -17
- package/user/dto/sc-i-phone-on-data-approve.d.ts +0 -13
- package/user/dto/sc-i-simple-user-on-data-create.d.ts +0 -42
- package/user/dto/sc-i-user-on-data-create.d.ts +0 -46
- package/user/dto/sc-i-user-on-data-update.d.ts +0 -39
- package/user/dto/sc-user-metadata.d.ts +0 -46
- package/user/dto/sc-user.d.ts +0 -97
- package/user/enums/index.d.ts +0 -2
- package/user/enums/sc-client-type.d.ts +0 -17
- package/user/enums/sc-user-type.d.ts +0 -13
- package/user/index.d.ts +0 -5
- package/user/internal/dto/index.d.ts +0 -1
- package/user/internal/dto/sc-i-user-dto.d.ts +0 -80
- package/user/services/sc-user.service.d.ts +0 -118
- package/user/tokens/index.d.ts +0 -1
- package/user/tokens/sc-user-providers.d.ts +0 -7
- package/user-metrika/dto/index.d.ts +0 -1
- package/user-metrika/dto/sc-i-user-metrika-event.d.ts +0 -14
- package/user-metrika/enums/index.d.ts +0 -1
- package/user-metrika/enums/sc-user-metrika-goals-enum.d.ts +0 -334
- package/user-metrika/index.d.ts +0 -3
- package/user-metrika/services/index.d.ts +0 -1
- package/user-metrika/services/sc-user-metrika.service.d.ts +0 -43
- package/utils/phone-fotmatter/index.d.ts +0 -1
- package/utils/phone-fotmatter/sc-phone.service.d.ts +0 -36
- package/utm/index.d.ts +0 -2
- package/utm/interfaces/index.d.ts +0 -2
- package/utm/interfaces/sc-utm-params.d.ts +0 -25
- package/utm/interfaces/sc-utm.d.ts +0 -25
- package/utm/services/index.d.ts +0 -1
- package/utm/services/sc-utm.service.d.ts +0 -96
- package/vCard/index.d.ts +0 -1
- package/vCard/sc-v-card.service.d.ts +0 -51
- package/vacancies/classes/index.d.ts +0 -2
- package/vacancies/classes/sc-vacancies-list.d.ts +0 -29
- package/vacancies/classes/sc-vacancy.d.ts +0 -37
- package/vacancies/index.d.ts +0 -4
- package/vacancies/interfaces/index.d.ts +0 -4
- package/vacancies/interfaces/sc-i-employment.d.ts +0 -13
- package/vacancies/interfaces/sc-i-experience.d.ts +0 -13
- package/vacancies/interfaces/sc-i-salary.d.ts +0 -21
- package/vacancies/interfaces/sc-i-vacancies-data-source.d.ts +0 -13
- package/vacancies/internal/dto/index.d.ts +0 -2
- package/vacancies/internal/dto/sc-i-vacancies-list.d.ts +0 -24
- package/vacancies/internal/dto/sc-i-vacancy.d.ts +0 -32
- package/vacancies/services/index.d.ts +0 -1
- package/vacancies/services/sc-vacancies.service.d.ts +0 -31
- package/vacancies/tokens/index.d.ts +0 -1
- package/vacancies/tokens/sc-vacancies-datasource.d.ts +0 -6
- package/verification/index.d.ts +0 -2
- package/verification/interfaces/sc-i-phone-check.d.ts +0 -13
- package/verification/services/sc-verification.service.d.ts +0 -49
- package/warehouse/dto/index.d.ts +0 -2
- package/warehouse/dto/sc-i-warehouse-stock-count.d.ts +0 -17
- package/warehouse/dto/sc-warehouse.d.ts +0 -42
- package/warehouse/index.d.ts +0 -2
- package/warehouse/services/sc-warehouse.service.d.ts +0 -63
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Перечисление типов отплат заказа.
|
|
3
|
-
*/
|
|
4
|
-
export declare enum ScPaymentType {
|
|
5
|
-
/**
|
|
6
|
-
* Оплата наличными.
|
|
7
|
-
*/
|
|
8
|
-
nal = 1,
|
|
9
|
-
/**
|
|
10
|
-
* Онлайн оплата.
|
|
11
|
-
*/
|
|
12
|
-
online = 2,
|
|
13
|
-
/**
|
|
14
|
-
* Безналичный расчёт (без НДС).
|
|
15
|
-
*/
|
|
16
|
-
beznal = 3,
|
|
17
|
-
/**
|
|
18
|
-
* Безналичный расчёт (с НДС).
|
|
19
|
-
*/
|
|
20
|
-
beznal2 = 4,
|
|
21
|
-
/**
|
|
22
|
-
* Банковская карта.
|
|
23
|
-
*/
|
|
24
|
-
terminal = 5,
|
|
25
|
-
/**
|
|
26
|
-
* Оплата через систему быстрых платежей.
|
|
27
|
-
*/
|
|
28
|
-
sbp = 6
|
|
29
|
-
}
|
package/order/index.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export * from './sc-i-new-order-draft-request';
|
|
2
|
-
export * from './sc-i-delivery-cost-dto';
|
|
3
|
-
export * from './sc-i-new-order';
|
|
4
|
-
export * from './sc-i-new-order-item-base';
|
|
5
|
-
export * from './sc-i-new-order-item-measured';
|
|
6
|
-
export * from './sc-i-order-base';
|
|
7
|
-
export * from './sc-i-order-draft';
|
|
8
|
-
export * from './sc-i-order-draft-list-params';
|
|
9
|
-
export * from './sc-i-order-draft-short';
|
|
10
|
-
export * from './sc-i-order';
|
|
11
|
-
export * from './sc-i-order-item';
|
|
12
|
-
export * from './sc-i-order-loader';
|
|
13
|
-
export * from './sc-i-order-short';
|
|
14
|
-
export * from './sc-i-update-order-order-request';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Данные о стоимости доставки (DTO).
|
|
3
|
-
*
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
6
|
-
export interface ScIDeliveryCostDTO {
|
|
7
|
-
/**
|
|
8
|
-
* Данные о бесплатной доставке.
|
|
9
|
-
*/
|
|
10
|
-
freeShippingTerms?: {
|
|
11
|
-
/**
|
|
12
|
-
* Минимальная сумма бесплатной доставки.
|
|
13
|
-
*/
|
|
14
|
-
minOrdersSum?: number;
|
|
15
|
-
/**
|
|
16
|
-
* Общая сумма всех текущих заказов и корзины.
|
|
17
|
-
*/
|
|
18
|
-
currentOrdersSum?: number;
|
|
19
|
-
};
|
|
20
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Данные о запросе на создание коммерческого предложения/черновика заказа.
|
|
3
|
-
*/
|
|
4
|
-
export interface ScINewOrderDraftRequest {
|
|
5
|
-
/**
|
|
6
|
-
* Название коммерческого предложения/черновика (опционально).
|
|
7
|
-
*/
|
|
8
|
-
name?: string;
|
|
9
|
-
/**
|
|
10
|
-
* Список идентификаторов элементов корзины, которые попадут в КП/черновик.
|
|
11
|
-
*/
|
|
12
|
-
items?: string[];
|
|
13
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Данные о товаре для добавления в корзину.
|
|
3
|
-
*/
|
|
4
|
-
export interface ScINewOrderItemBase {
|
|
5
|
-
/**
|
|
6
|
-
* Идентификатор записи товара/услуги.
|
|
7
|
-
*/
|
|
8
|
-
productId?: number;
|
|
9
|
-
/**
|
|
10
|
-
* Идентификатор категории. Используется при добавлении продукта через конфигуратор.
|
|
11
|
-
*/
|
|
12
|
-
productCategoryId?: number;
|
|
13
|
-
/**
|
|
14
|
-
* Количество товара/услуги.
|
|
15
|
-
*/
|
|
16
|
-
quantity: number;
|
|
17
|
-
/**
|
|
18
|
-
* Описание позиции.
|
|
19
|
-
*/
|
|
20
|
-
marker?: string;
|
|
21
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { ScUploadedFile } from '../../contacts/dto/sc-uploaded-file';
|
|
2
|
-
import { ScUTM } from '../../utm/interfaces';
|
|
3
|
-
import { ScDeliveryType, ScPaymentType } from '../enums';
|
|
4
|
-
/**
|
|
5
|
-
* Данные о новом заказе.
|
|
6
|
-
*/
|
|
7
|
-
export interface ScINewOrder {
|
|
8
|
-
/**
|
|
9
|
-
* Тип оплаты.
|
|
10
|
-
*/
|
|
11
|
-
paymentType: ScPaymentType;
|
|
12
|
-
/**
|
|
13
|
-
* Тип доставки.
|
|
14
|
-
*/
|
|
15
|
-
deliveryType: ScDeliveryType;
|
|
16
|
-
/**
|
|
17
|
-
* Идентификатор контрагента клиента. Значение обязательно в случае если клиент юр. лицо.
|
|
18
|
-
*/
|
|
19
|
-
contragentId?: number;
|
|
20
|
-
/**
|
|
21
|
-
* Желаемая дата доставки или самовывоза.
|
|
22
|
-
*/
|
|
23
|
-
deliveryDate: string;
|
|
24
|
-
/**
|
|
25
|
-
* Идентификатор адреса доставки контрагента клиента. Значение обязательно при типе доставки "Доставка".
|
|
26
|
-
*/
|
|
27
|
-
addressId?: number;
|
|
28
|
-
/**
|
|
29
|
-
* Идентификатор склада. Значение обязательно при типе доставки "Самовывоз".
|
|
30
|
-
*/
|
|
31
|
-
warehouseId?: number;
|
|
32
|
-
/**
|
|
33
|
-
* Загружаемый пользователем файл, содержимое которого кодировано в base64.
|
|
34
|
-
*/
|
|
35
|
-
image?: ScUploadedFile;
|
|
36
|
-
/**
|
|
37
|
-
* Комментарий клиента к заказу.
|
|
38
|
-
*/
|
|
39
|
-
comment?: string;
|
|
40
|
-
/**
|
|
41
|
-
* Список идентификаторов элементов корзины, которые попадут в заказ.
|
|
42
|
-
*/
|
|
43
|
-
items?: Array<number | string>;
|
|
44
|
-
/**
|
|
45
|
-
* Данные о UTM-метке.
|
|
46
|
-
*/
|
|
47
|
-
utm?: ScUTM;
|
|
48
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Базовые данные о заказе.
|
|
3
|
-
*/
|
|
4
|
-
export interface ScIOrderBase {
|
|
5
|
-
/**
|
|
6
|
-
* Идентификатор записи заказа.
|
|
7
|
-
*/
|
|
8
|
-
id: number;
|
|
9
|
-
/**
|
|
10
|
-
* Дата и время создания заказа в формате `Y-m-d H:i:s`.
|
|
11
|
-
*/
|
|
12
|
-
createdAt: string;
|
|
13
|
-
/**
|
|
14
|
-
* Сумма заказа.
|
|
15
|
-
*/
|
|
16
|
-
sum: number;
|
|
17
|
-
/**
|
|
18
|
-
* Возвращает сумму заказа в виде строки. Если стоимость отсутствует, то вернёт '-'.
|
|
19
|
-
*/
|
|
20
|
-
getSumStr(): string;
|
|
21
|
-
/**
|
|
22
|
-
* Возвращает сообщение о необходимости уточнить сумму заказа или пустую строку.
|
|
23
|
-
*/
|
|
24
|
-
getSumMessage(): string;
|
|
25
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { ScIPaginationParams, ScIRangeFilter, ScISortOrder } from '../../pagination';
|
|
2
|
-
/**
|
|
3
|
-
* Данные о параметрах запроса списка коммерческих предложений/черновиков заказа.
|
|
4
|
-
*/
|
|
5
|
-
export interface ScIOrderDraftListParams extends Partial<ScIPaginationParams> {
|
|
6
|
-
/**
|
|
7
|
-
* Параметры сортировки.
|
|
8
|
-
*/
|
|
9
|
-
order?: Partial<ScISortOrder<'number' | 'created'>>;
|
|
10
|
-
/**
|
|
11
|
-
* Фильтры.
|
|
12
|
-
*/
|
|
13
|
-
filters?: {
|
|
14
|
-
/**
|
|
15
|
-
* Поиск по номеру, названиям товаров, синонимам товаров и маркировке.
|
|
16
|
-
*/
|
|
17
|
-
search?: string;
|
|
18
|
-
/**
|
|
19
|
-
* Фильтр по номеру.
|
|
20
|
-
*/
|
|
21
|
-
number?: ScIRangeFilter<number> & {
|
|
22
|
-
/**
|
|
23
|
-
* Список номеров которые необходимо вернуть.
|
|
24
|
-
*/
|
|
25
|
-
in?: number[];
|
|
26
|
-
};
|
|
27
|
-
/**
|
|
28
|
-
* Фильтр по дате создания.
|
|
29
|
-
*/
|
|
30
|
-
created?: ScIRangeFilter<string>;
|
|
31
|
-
};
|
|
32
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ScOrderDraftType } from '../enums';
|
|
2
|
-
import { ScIOrderBase } from './sc-i-order-base';
|
|
3
|
-
/**
|
|
4
|
-
* Данные о кратком коммерческом предложении/черновике заказа.
|
|
5
|
-
*/
|
|
6
|
-
export interface ScIOrderDraftShort extends ScIOrderBase {
|
|
7
|
-
/**
|
|
8
|
-
* Название коммерческого предложения/черновика.
|
|
9
|
-
*/
|
|
10
|
-
name?: string;
|
|
11
|
-
/**
|
|
12
|
-
* Тип коммерческого предложения/черновика.
|
|
13
|
-
*/
|
|
14
|
-
type: ScOrderDraftType;
|
|
15
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { ScOrderDraft } from '../classes/sc-order-draft';
|
|
2
|
-
import { ScOrderDraftShort } from '../classes/sc-order-draft-short';
|
|
3
|
-
import { ScIOrderDraftShort } from './sc-i-order-draft-short';
|
|
4
|
-
import { ScIOrderItem } from './sc-i-order-item';
|
|
5
|
-
/**
|
|
6
|
-
* Данные о коммерческом предложении/черновике заказа.
|
|
7
|
-
*/
|
|
8
|
-
export interface ScIOrderDraft extends ScIOrderDraftShort {
|
|
9
|
-
/**
|
|
10
|
-
* Сумма коммерческого предложения/черновика.
|
|
11
|
-
*/
|
|
12
|
-
sum: number;
|
|
13
|
-
/**
|
|
14
|
-
* Список продуктов коммерческого предложения/черновика.
|
|
15
|
-
*/
|
|
16
|
-
products: ScIOrderItem[];
|
|
17
|
-
/**
|
|
18
|
-
* Возвращает сумму в виде строки. Если стоимость отсутствует, то вернёт '-'.
|
|
19
|
-
*/
|
|
20
|
-
getSumStr(): string;
|
|
21
|
-
/**
|
|
22
|
-
* Возвращает сообщение о необходимости уточнить сумму или пустую строку.
|
|
23
|
-
*/
|
|
24
|
-
getSumMessage(): string;
|
|
25
|
-
/**
|
|
26
|
-
* Возвращает признак того, что срок жизни информации не истёк.
|
|
27
|
-
*
|
|
28
|
-
* @param lifeTime Срок жизни данных в ms.
|
|
29
|
-
*/
|
|
30
|
-
cachedDataIsActual(lifeTime: number): boolean;
|
|
31
|
-
/**
|
|
32
|
-
* Обновляет данные полного коммерческого предложения/черновика.
|
|
33
|
-
*
|
|
34
|
-
* @param offer Полная информация о коммерческом предложении/черновике.
|
|
35
|
-
*/
|
|
36
|
-
updateData(offer: ScOrderDraft): void;
|
|
37
|
-
/**
|
|
38
|
-
* Обновляет данные краткой информацией. Не обновляет дату последнего обновления.
|
|
39
|
-
*
|
|
40
|
-
* @param offer Краткая информация о коммерческом предложении/черновике.
|
|
41
|
-
*/
|
|
42
|
-
updateDataFromShortOffer(offer: ScOrderDraftShort): void;
|
|
43
|
-
}
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { ScIProduct } from '../../catalog/interfaces/sc-i-product';
|
|
2
|
-
import { ScIConfiguratorSearchProductBase } from '../../configurator/dto/sc-i-configurator-search-product-base';
|
|
3
|
-
/**
|
|
4
|
-
* Данные о единичной позиции товара/услуги в заказе.
|
|
5
|
-
*/
|
|
6
|
-
export interface ScIOrderItem {
|
|
7
|
-
/**
|
|
8
|
-
* Идентификатор позиции.
|
|
9
|
-
*/
|
|
10
|
-
id: string;
|
|
11
|
-
/**
|
|
12
|
-
* Данные о товаре. Равен `null` если товар отсутствует.
|
|
13
|
-
*/
|
|
14
|
-
product: ScIProduct | null;
|
|
15
|
-
/**
|
|
16
|
-
* Количество товара/услуги.
|
|
17
|
-
*/
|
|
18
|
-
quantity: number;
|
|
19
|
-
/**
|
|
20
|
-
* Итоговая стоимость товара или услуги в валюте.
|
|
21
|
-
*/
|
|
22
|
-
cost: number;
|
|
23
|
-
/**
|
|
24
|
-
* Стоимость единицы товара или услуги в валюте.
|
|
25
|
-
*/
|
|
26
|
-
costOne: number;
|
|
27
|
-
/**
|
|
28
|
-
* Стоимость единицы товара или услуги в рублях.
|
|
29
|
-
*/
|
|
30
|
-
costOneRub: number;
|
|
31
|
-
/**
|
|
32
|
-
* Итоговая стоимость позиции корзины.
|
|
33
|
-
*/
|
|
34
|
-
costRub: number;
|
|
35
|
-
/**
|
|
36
|
-
* Описание позиции.
|
|
37
|
-
*/
|
|
38
|
-
marker?: string;
|
|
39
|
-
/**
|
|
40
|
-
* Высота товара.
|
|
41
|
-
*/
|
|
42
|
-
height?: number;
|
|
43
|
-
/**
|
|
44
|
-
* Длина товара.
|
|
45
|
-
*/
|
|
46
|
-
length?: number;
|
|
47
|
-
/**
|
|
48
|
-
* Ширина товара.
|
|
49
|
-
*/
|
|
50
|
-
width?: number;
|
|
51
|
-
/**
|
|
52
|
-
* Идентификатор логической группы товаров/услуг.
|
|
53
|
-
*/
|
|
54
|
-
logicGroupId?: string;
|
|
55
|
-
/**
|
|
56
|
-
* Направление продаж.
|
|
57
|
-
*/
|
|
58
|
-
salesDirection?: number;
|
|
59
|
-
/**
|
|
60
|
-
* URL изображения со спецификацией.
|
|
61
|
-
*/
|
|
62
|
-
specificationImgUrl?: string;
|
|
63
|
-
/**
|
|
64
|
-
* Название конфигуратора.
|
|
65
|
-
*/
|
|
66
|
-
configurator?: string;
|
|
67
|
-
/**
|
|
68
|
-
* Параметры введенные в конфигуратор, при добавлении позиции в корзину.
|
|
69
|
-
*/
|
|
70
|
-
configuratorParams?: ScIConfiguratorSearchProductBase;
|
|
71
|
-
/**
|
|
72
|
-
* Возвращает стоимость единицы товара (включая валюту). Если стоимость отсутствует, то вернёт '-'.
|
|
73
|
-
*/
|
|
74
|
-
getCostPerItem(): string;
|
|
75
|
-
/**
|
|
76
|
-
* Возвращает строковое представление стоимости единицы товара (включая единицу измерения) в валюте. Если стоимость отсутствует, то вернёт '-'.
|
|
77
|
-
*/
|
|
78
|
-
getCostInCurrencyDescPerItem(): string;
|
|
79
|
-
/**
|
|
80
|
-
* Возвращает строковое представление стоимости единицы товара (включая единицу измерения) в рублях. Если стоимость отсутствует, то вернёт '-'.
|
|
81
|
-
*/
|
|
82
|
-
getCostInRubDescPerItem(): string;
|
|
83
|
-
/**
|
|
84
|
-
* Возвращает стоимость товара в виде строки. Если стоимость отсутствует, то вернёт '-'.
|
|
85
|
-
*/
|
|
86
|
-
getCostRubStr(): string;
|
|
87
|
-
/**
|
|
88
|
-
* Возвращает сообщение о необходимости уточнить цену или пустую строку.
|
|
89
|
-
*/
|
|
90
|
-
getCostMessage(): string;
|
|
91
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { ScOrderItem } from '../classes/sc-order-item';
|
|
3
|
-
import { ScOrderLoading } from '../tokens/sc-order-loader.token';
|
|
4
|
-
import { ScINewOrderItemBase } from './sc-i-new-order-item-base';
|
|
5
|
-
/**
|
|
6
|
-
* Данные о загрузчике списка товаров заказа (корзина / заказ / черновик).
|
|
7
|
-
*
|
|
8
|
-
* @template TItem Тип элемента списка ({@link ScOrderItem} — единичная позиция в корзине/заказе/черновике).
|
|
9
|
-
* @template TContext Тип полной сущности заказа (корзина / заказ / черновик) для get$().
|
|
10
|
-
*/
|
|
11
|
-
export interface ScIOrderLoader<TItem extends ScOrderItem = ScOrderItem, TContext = unknown> {
|
|
12
|
-
/**
|
|
13
|
-
* Возвращает полную информацию о заказе (корзине / черновике).
|
|
14
|
-
*
|
|
15
|
-
* @param id Опциональный идентификатор заказа (корзины / черновика).
|
|
16
|
-
*/
|
|
17
|
-
get$(id?: number): Observable<TContext | ScOrderLoading>;
|
|
18
|
-
/**
|
|
19
|
-
* Возвращает список элементов заказа (корзины / черновика).
|
|
20
|
-
*
|
|
21
|
-
* @param id Опциональный идентификатор заказа (корзины / черновика).
|
|
22
|
-
*/
|
|
23
|
-
getItems$(id?: number): Observable<TItem[] | ScOrderLoading>;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Данные о загрузчике заказа с редактированием и удалением позиций.
|
|
27
|
-
*/
|
|
28
|
-
export interface ScIOrderEditorLoader<TItem extends ScOrderItem = ScOrderItem, TContext = unknown> extends ScIOrderLoader<TItem, TContext> {
|
|
29
|
-
/**
|
|
30
|
-
* Добавляет продукт в заказ (корзину / черновик).
|
|
31
|
-
*
|
|
32
|
-
* @param data Данные добавляемого продукта ({@link ScINewOrderItemBase}).
|
|
33
|
-
* @param contextId Опциональный идентификатор контекста (например, идентификатор черновика/предложения).
|
|
34
|
-
*/
|
|
35
|
-
addProduct$(data: ScINewOrderItemBase, contextId?: number): Observable<TContext | ScOrderLoading>;
|
|
36
|
-
/**
|
|
37
|
-
* Изменяет продукт в заказе (корзине / черновике).
|
|
38
|
-
*
|
|
39
|
-
* @param id Идентификатор позиции.
|
|
40
|
-
* @param patch Частичные данные для обновления.
|
|
41
|
-
* @param contextId Опциональный идентификатор контекста (например, идентификатор черновика/предложения).
|
|
42
|
-
*/
|
|
43
|
-
updateProduct$(id: string, patch: Omit<ScINewOrderItemBase, 'productId'>, contextId?: number): Observable<TContext | ScOrderLoading>;
|
|
44
|
-
/**
|
|
45
|
-
* Удаляет продукт из заказа (корзины / черновика).
|
|
46
|
-
*
|
|
47
|
-
* @param item Удаляемая позиция.
|
|
48
|
-
* @param contextId Опциональный идентификатор контекста (например, идентификатор черновика/предложения).
|
|
49
|
-
*/
|
|
50
|
-
deleteProduct$(item: TItem, contextId?: number): Observable<TContext | ScOrderLoading>;
|
|
51
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { ScIReferencesTypes, ScISalesDirection, ScOrderStateStatus } from '../../references';
|
|
2
|
-
import { ScIOrderDelivery } from '../classes/sc-order-delivery';
|
|
3
|
-
import { ScIOrderPayment } from '../classes/sc-order-payment';
|
|
4
|
-
import { ScOrderShort } from '../classes/sc-order-short';
|
|
5
|
-
import { ScIOrderBase } from './sc-i-order-base';
|
|
6
|
-
/**
|
|
7
|
-
* Данные о кратком заказе.
|
|
8
|
-
*/
|
|
9
|
-
export interface ScIOrderShort extends ScIOrderBase {
|
|
10
|
-
/**
|
|
11
|
-
* Идентификатор статуса.
|
|
12
|
-
*/
|
|
13
|
-
status: ScIReferencesTypes<number, ScOrderStateStatus>;
|
|
14
|
-
/**
|
|
15
|
-
* Детализирующий статус заказа.
|
|
16
|
-
*/
|
|
17
|
-
statusDetail: ScIReferencesTypes<number, ScOrderStateStatus>;
|
|
18
|
-
/**
|
|
19
|
-
* Данные о направлении продаж.
|
|
20
|
-
*/
|
|
21
|
-
salesDirection: ScISalesDirection;
|
|
22
|
-
/**
|
|
23
|
-
* Данные об оплате заказа.
|
|
24
|
-
*/
|
|
25
|
-
payment: ScIOrderPayment;
|
|
26
|
-
/**
|
|
27
|
-
* Данные о доставке заказа.
|
|
28
|
-
*/
|
|
29
|
-
delivery: ScIOrderDelivery;
|
|
30
|
-
/**
|
|
31
|
-
* Сумма заказа.
|
|
32
|
-
*/
|
|
33
|
-
sum: number;
|
|
34
|
-
/**
|
|
35
|
-
* Номер документа в учетной системе клиента.
|
|
36
|
-
*/
|
|
37
|
-
numberDoc?: number;
|
|
38
|
-
/**
|
|
39
|
-
* Штрих-код заказа.
|
|
40
|
-
*/
|
|
41
|
-
barcode?: number;
|
|
42
|
-
/**
|
|
43
|
-
* Обновляет данные заказа.
|
|
44
|
-
*
|
|
45
|
-
* @param order Краткая информация о заказе.
|
|
46
|
-
*/
|
|
47
|
-
updateData(order: ScOrderShort): void;
|
|
48
|
-
}
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import { ScContragent } from '../../contragent/dto/sc-contragent';
|
|
2
|
-
import { ScIReferencesTypes } from '../../references/dto/sc-i-references-types';
|
|
3
|
-
import { ScOrderStateStatus } from '../../references/enums/sc-order-state-status';
|
|
4
|
-
import { ScIOrderHistory } from '../classes/sc-i-order-history';
|
|
5
|
-
import { ScOrderShort } from '../classes/sc-order-short';
|
|
6
|
-
import { ScDeliveryType, ScPaymentType } from '../enums';
|
|
7
|
-
import { ScIOrderItem } from './sc-i-order-item';
|
|
8
|
-
import { ScIOrderShort } from './sc-i-order-short';
|
|
9
|
-
/**
|
|
10
|
-
* Данные о заказе.
|
|
11
|
-
*/
|
|
12
|
-
export interface ScIOrder extends ScIOrderShort {
|
|
13
|
-
/**
|
|
14
|
-
* Список продуктов заказа.
|
|
15
|
-
*/
|
|
16
|
-
readonly products: ScIOrderItem[];
|
|
17
|
-
/**
|
|
18
|
-
* Список статусов, в которые текущий пользователь может перевести заказ.
|
|
19
|
-
*/
|
|
20
|
-
readonly nextStatuses?: Array<ScIReferencesTypes<number, ScOrderStateStatus>>;
|
|
21
|
-
/**
|
|
22
|
-
* Список записей истории изменения статусов заказа.
|
|
23
|
-
*/
|
|
24
|
-
readonly history?: ScIOrderHistory[];
|
|
25
|
-
/**
|
|
26
|
-
* Список счетов заказа.
|
|
27
|
-
*/
|
|
28
|
-
readonly invoices?: string[];
|
|
29
|
-
/**
|
|
30
|
-
* Комментарий клиента к заказу.
|
|
31
|
-
*/
|
|
32
|
-
readonly comment?: string;
|
|
33
|
-
/**
|
|
34
|
-
* Изображение, прикрепленное к заказу клиентом во время создания.
|
|
35
|
-
*/
|
|
36
|
-
readonly image?: string;
|
|
37
|
-
/**
|
|
38
|
-
* Данные о контрагенте клиента.
|
|
39
|
-
*/
|
|
40
|
-
readonly contragent?: ScContragent;
|
|
41
|
-
/**
|
|
42
|
-
* Закрепленный за заказом пользователь.
|
|
43
|
-
*/
|
|
44
|
-
readonly attachedUser?: {
|
|
45
|
-
/**
|
|
46
|
-
* Тип пользователя.
|
|
47
|
-
*/
|
|
48
|
-
type: string;
|
|
49
|
-
/**
|
|
50
|
-
* ФИО пользователя.
|
|
51
|
-
*/
|
|
52
|
-
name: string;
|
|
53
|
-
/**
|
|
54
|
-
* Номер телефона в международном формате, например `+7XXXXXXXXXX`.
|
|
55
|
-
*/
|
|
56
|
-
phone: string;
|
|
57
|
-
/**
|
|
58
|
-
* Адрес электронной почты.
|
|
59
|
-
*/
|
|
60
|
-
email: string;
|
|
61
|
-
};
|
|
62
|
-
/**
|
|
63
|
-
* Список тегов заказа.
|
|
64
|
-
*/
|
|
65
|
-
readonly tags?: string[];
|
|
66
|
-
/**
|
|
67
|
-
* Дата последнего обновления статуса и информации об оплате.
|
|
68
|
-
*/
|
|
69
|
-
readonly lastUpdateDate: Date;
|
|
70
|
-
/**
|
|
71
|
-
* Тип оплаты.
|
|
72
|
-
*/
|
|
73
|
-
readonly paymentType: ScPaymentType;
|
|
74
|
-
/**
|
|
75
|
-
* Тип доставки.
|
|
76
|
-
*/
|
|
77
|
-
readonly deliveryType: ScDeliveryType;
|
|
78
|
-
/**
|
|
79
|
-
* Признак, что заказ можно оплатить online.
|
|
80
|
-
*/
|
|
81
|
-
readonly isPayable: boolean;
|
|
82
|
-
/**
|
|
83
|
-
* Признак, что заказ будет подлежать online-оплате.
|
|
84
|
-
*/
|
|
85
|
-
readonly isPayableSoon: boolean;
|
|
86
|
-
/**
|
|
87
|
-
* Признак, что заказ завершён.
|
|
88
|
-
*/
|
|
89
|
-
readonly isCompleted: boolean;
|
|
90
|
-
/**
|
|
91
|
-
* Признак, что заказ может быть отменен.
|
|
92
|
-
*/
|
|
93
|
-
readonly isCanBeCanceled: boolean;
|
|
94
|
-
/**
|
|
95
|
-
* Возвращает признак того, что срок жизни информации о заказе не истёк.
|
|
96
|
-
*
|
|
97
|
-
* @param orderLifeTime Срок жизни данных в ms.
|
|
98
|
-
*/
|
|
99
|
-
cachedDataIsActual(orderLifeTime: number): boolean;
|
|
100
|
-
/**
|
|
101
|
-
* Обновляет данные полного заказа.
|
|
102
|
-
*
|
|
103
|
-
* @param order Полная информация о заказе.
|
|
104
|
-
*/
|
|
105
|
-
updateData(order: ScOrderShort): void;
|
|
106
|
-
/**
|
|
107
|
-
* Обновляет данные полного заказа данными краткой информации о заказе. Не обновляете дату последнего обновления.
|
|
108
|
-
*
|
|
109
|
-
* @param order Краткая информация о заказе.
|
|
110
|
-
*/
|
|
111
|
-
updateDataFromShortOrder(order: ScOrderShort): void;
|
|
112
|
-
}
|