kui-crm 0.0.82 → 0.0.84

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/index.d.ts CHANGED
@@ -18,26 +18,25 @@ import { AxiosRequestConfig } from 'axios';
18
18
  import { KUIComplexSettings } from 'kui-complex';
19
19
  import * as yup from 'yup';
20
20
 
21
- type ApartmentLinkParams = {
22
- id: number
23
- address: string
24
- }
25
-
26
- type CatalogItemParams = {
27
- id: number
28
- name: string
29
- }
30
-
31
- type CityParams = CatalogItemParams
32
- type RegionParams = CatalogItemParams
33
- type LockerParams = {
34
- apartment: ApartmentLinkParams
35
- } & CatalogItemParams
36
- type DistrictParams = CatalogItemParams
37
- type CountyParams = CatalogItemParams
38
- type CountryParams = {
39
- code: string
40
- } & CatalogItemParams
21
+ declare type ApartmentLinkParams = {
22
+ id: number;
23
+ address: string;
24
+ };
25
+ declare type CatalogItemParams = {
26
+ id: number;
27
+ name: string;
28
+ };
29
+ declare type CityParams = CatalogItemParams;
30
+ declare type RegionParams = CatalogItemParams;
31
+ declare type LockerParams = {
32
+ apartment: ApartmentLinkParams;
33
+ } & CatalogItemParams;
34
+ declare type ResidentialComplexParams = CatalogItemParams;
35
+ declare type DistrictParams = CatalogItemParams;
36
+ declare type CountyParams = CatalogItemParams;
37
+ declare type CountryParams = {
38
+ code: string;
39
+ } & CatalogItemParams;
41
40
 
42
41
  type CityAutocompleteProps<TFormValues> = {
43
42
  name?: string
@@ -556,6 +555,7 @@ declare type ApartmentModel = {
556
555
  locker_number: number | string;
557
556
  is_closed_period: boolean;
558
557
  is_approved_service_expenses: boolean;
558
+ is_imported_from_old_crm: boolean;
559
559
  renter_payment_status: PaymentStatuses;
560
560
  rental_contracts: RentalContractModel[];
561
561
  service_contracts: ServiceContractModel[];
@@ -2053,4 +2053,4 @@ declare const usePaginationPage: (paginator?: Paginator | undefined, fetchAll?:
2053
2053
 
2054
2054
  declare const useScrollWithBottomSpacing: (spacingToBottom: number, delay: number, callback: () => void, element?: RefObject<HTMLElement> | null | undefined, deps?: DependencyList | undefined) => void;
2055
2055
 
2056
- export { APIPayerValues, APISubjectRoles, AdaptiveImageParams, AdaptiveImagesBlock, AdaptiveImagesBlockProps, AddressWithLocationParams, AdministrativeCompany, AdministrativeCompanyModel, ApartmentAdministrativeCompany, ApartmentContractTypes, ApartmentDescriptionParams, ApartmentDetailInfoModelFields, ApartmentDetailInfoParams, ApartmentDocumentModel, ApartmentFeatureModel, ApartmentFillingAPIVariants, ApartmentFillingVariants, ApartmentHouseInfoParams, ApartmentInspectionModel, ApartmentLinkModel, ApartmentLinkParams, ApartmentLiteModel, ApartmentLockerParams, ApartmentMainInfoModelFields, ApartmentMainInfoParams, ApartmentMeterAccounts, ApartmentMeterValues, ApartmentMetersAgent, ApartmentMetroParams, ApartmentMetroStationsParams, ApartmentModel, ApartmentPartialModel, ApartmentPaymentInfoParams, ApartmentSecurityInfoParams, ApartmentSimpleModel, ApartmentTelecommunicationInfoParams, ApartmentsAgent, ApiTokenAuthResponse, AuthAgent, BooleanValues, CatalogItemModel, CatalogItemParams, CatalogsAgent, ChangeReasonField, ChangeReasonFields, ChangeReasonFieldsProps, ChangeReasonFormFields, ChangeReasonSchema, CheckboxWithHint, CitiesStore, _default$g as CityAutocomplete, CityAutocompleteFields, CityAutocompleteProps, CityModel, CityParams, ClientTypes, CommonMeterParams, CommonTariffFieldsSchema, CommonTariffModel, CompaniesAgent, CompaniesStore, CompanyAPITypes, _default$d as CompanyAutocomplete, CompanyAutocompleteFields, CompanyByTinRequestBody, CompanyCreationFields, CompanyCreationForm, CompanyCreationFormProps, _default$c as CompanyCreationModal, CompanyFields, CompanyInfoModel, _default$1 as CompanyInnAutocomplete, CompanyLiteParams, CompanyLogoModel, CompanyMainInfoModel, CompanyMainOfficeModel, CompanyModel, CompanyOfficeModel, CompanyOfficeWithoutIdModel, CompanyParams, CompanyTypes, CompanyTypesValues, ContractLinkModel, ContractStatuses, CopyButton, CountriesStore, _default$f as CountryAutocomplete, CountryAutocompleteFields, CountryModel, CountryParams, CountyModel, DeepPartial, DetailObjectInfoInterface, _default$6 as DistrictAutocomplete, DistrictModel, DistrictsStore, DocumentModel, DocumentVisibilityAPIVariants, DocumentVisibilityVariants, DocumentWithVisibility, ElectricityMeterParams, ElectricityMeterTypes, ElectricityMeterValues, ElectricityMetersResponse, ElectricityTariffCreationFields, ElectricityValues, EmptyType, EntityLinkParams, ErrorPopup, FetchApartmentOwnersResponse, FetchApartmentsResponse, FileBodyRequest, FileModel, FileParams, FileUploaderWithPreview, FileWithVisibility, FillingInfoFormFields, FillingTagCreationForm, _default$9 as FillingTagCreationModal, FillingTagParams, FillingTagsAgent, _default$8 as FillingTagsAutocomplete, FillingTagsAutocompleteFields, FillingTagsAutocompleteProps, FillingTagsStore, FillingTypeValues, FillingTypes, FixedCostModel, FormBottom, FormBottomProps, FormWrapper, FormWrapperProps, GalleryWithThumbnails, GasMetersResponse, GasTariffCreationFields, GasTypes, GenderAPIVariants, GeolocationParams, GetCatalogResponse, GetCitiesResponse, GetCommonTariffsResponse, GetCompaniesResponse, GetCountiesResponse, GetCountriesResponse, GetDistrictsResponse, GetLockersResponse, GetRegionsResponse, GetResidentialComplexesResponse, GetTagsResponse, HeadingWithButton, HeatingMetersResponse, HeatingTariffCreationFields, HouseTypes, ImageBodyRequest, ImageCard, ImageCardProps, ImageCardWithBackdrop, ImageModel, ImpairmentTypes, ImpairmentsTypeValues, InputByType, InputByTypeProps, InputFileWithVisibility, InputFileWithVisibilityFields, InputParams, InputTypes, InputWithMap, InspectionTypeValues, InternetProviderParams, KUICrmSettings, kuiSettings as KUISettings, LatLonParams, LinkField, LiteMeterInterface, LiteObjectModel, LiteUserModel, LoaderPopup, _default$2 as LoaderState, LockerModel, MainObjectInfoInterface, _default$b as MapComponent, MaxMetersInfoParams, MeterCommonInfoModel, MeterFeaturesFields, MeterFeaturesFieldsProps, MeterFeaturesForm, MeterFeaturesFormFields, MeterModel, MeterPayerModel, MeterTariffModel, MeterTypeRadioGroup, MeterTypes, MeterValues, MetersCountParams, MetersResponse, MetroStationParams, Modal, ModalProps, _default$a as ModalWithMap, _default as MultistepForm, ObjectType, OpenMapButton, OverlapTypes, PaginationRes, ParkingTypes, ParkingTypesValues, PartialPayer, PartialPayerFields, PartialPayerProps, PartialPayerValues, PartialPayerVariants, PatchBillingInfoParams, PatchCompanyParams, PatchDocumentRequest, PatchFileParams, PaymentStatuses, PhoneParams, PostCommonTariffParams, PostCompaniesRequest, PostElectricityTariffRequest, PostGasTariffRequest, PostHeatingTariffRequest, PostTariffRequest, PostWaterTariffRequest, PreviewImageCard, _default$e as RegionAutocomplete, RegionAutocompleteFields, RegionAutocompleteProps, RegionModel, RegionParams, RegionsStore, RenderMeterFieldsSettings, RenovationParams, RenovationStyle, RenovationStyleValues, RenovationType, RenovationTypeValues, RentPeriodTypeValues, RentPeriodTypes, RentalContractModel, RentalInspectionParams, RentalStatuses, RentalTypes, _default$7 as ReplaceableCountersBlock, ResidentialComplexModel, ResourceTypes, ResourceValues, RoomModel, RoomParams, RoomType, RoomTypeValues, RoomTypes, RoomTypesValues, RoommateParams, SecurityObjectInfoInterface, ServiceContractLiteModel, ServiceContractModel, SettingsParams, SignInFormFields, _default$3 as SignInPage, SignInParams, SingleMeterParams, SquarePreviewImage, TVTypes, TVTypesValues, TableBottomLoading, TagModel, TariffCreationFieldsProps, _default$5 as TariffCreationForm, TariffCreationFormFields, TariffCreationFormProps, TariffCreationModal, TariffCreationValuesFields, _default$4 as TariffGroupAutocomplete, TariffGroupAutocompleteFields, TariffGroupLiteParams, TariffLinkModel, TariffReplacementField, TariffReplacementFields, TariffStatuses, TariffsAgent, TariffsLiteStore, TaxResidenceType, TaxResidenceValues, TaxTypeValues, TaxesTypes, TwoOptionForAutocomplete, UnitOfPaymentTypes, UnitOfPaymentValues, UploadAgent, UploadDocumentParams, UploadFileResponse, UserNamesModel, UtilityPayerModel, UtilityTypes, Values, WallMaterials, WaterMeterParams, WaterMeterTypes, WaterMetersResponse, WaterTariffCreationFields, WaterValues, WifiParams, apartmentFields, authFlag, csrfTokenKey, defaultRequiredMessage, fieldWithConditionSchema, genderMatches, getFillingInfoFields, getMeterFeaturesFieldsSchema, getMeterFields, getNumbersValues, matchesAPICompanyTypes, matchesAPIFillingTypes, matchesAPISubjectRoles, matchesAPIVisibilityVariants, matchesApartmentStatuses, matchesCompanyTypes, matchesFillingTypes, matchesServiceTypes, matchesSubjectRoles, matchesVisibilityVariants, phoneNonRequiredSchema, phoneSchema, phoneWithConditionSchema, positiveNumberSchema, requests, sessionIdKey, setFileFromFileWithVisibility, uploadDocument, uploadDocuments, uploadFile, uploadFiles, uploadImages, uploadNewFile, useAutocomplete, useFetchPage, usePaginationPage, usePortalPosition, useScrollWithBottomSpacing };
2056
+ export { APIPayerValues, APISubjectRoles, AdaptiveImageParams, AdaptiveImagesBlock, AdaptiveImagesBlockProps, AddressWithLocationParams, AdministrativeCompany, AdministrativeCompanyModel, ApartmentAdministrativeCompany, ApartmentContractTypes, ApartmentDescriptionParams, ApartmentDetailInfoModelFields, ApartmentDetailInfoParams, ApartmentDocumentModel, ApartmentFeatureModel, ApartmentFillingAPIVariants, ApartmentFillingVariants, ApartmentHouseInfoParams, ApartmentInspectionModel, ApartmentLinkModel, ApartmentLinkParams, ApartmentLiteModel, ApartmentLockerParams, ApartmentMainInfoModelFields, ApartmentMainInfoParams, ApartmentMeterAccounts, ApartmentMeterValues, ApartmentMetersAgent, ApartmentMetroParams, ApartmentMetroStationsParams, ApartmentModel, ApartmentPartialModel, ApartmentPaymentInfoParams, ApartmentSecurityInfoParams, ApartmentSimpleModel, ApartmentTelecommunicationInfoParams, ApartmentsAgent, ApiTokenAuthResponse, AuthAgent, BooleanValues, CatalogItemModel, CatalogItemParams, CatalogsAgent, ChangeReasonField, ChangeReasonFields, ChangeReasonFieldsProps, ChangeReasonFormFields, ChangeReasonSchema, CheckboxWithHint, CitiesStore, _default$g as CityAutocomplete, CityAutocompleteFields, CityAutocompleteProps, CityModel, CityParams, ClientTypes, CommonMeterParams, CommonTariffFieldsSchema, CommonTariffModel, CompaniesAgent, CompaniesStore, CompanyAPITypes, _default$d as CompanyAutocomplete, CompanyAutocompleteFields, CompanyByTinRequestBody, CompanyCreationFields, CompanyCreationForm, CompanyCreationFormProps, _default$c as CompanyCreationModal, CompanyFields, CompanyInfoModel, _default$1 as CompanyInnAutocomplete, CompanyLiteParams, CompanyLogoModel, CompanyMainInfoModel, CompanyMainOfficeModel, CompanyModel, CompanyOfficeModel, CompanyOfficeWithoutIdModel, CompanyParams, CompanyTypes, CompanyTypesValues, ContractLinkModel, ContractStatuses, CopyButton, CountriesStore, _default$f as CountryAutocomplete, CountryAutocompleteFields, CountryModel, CountryParams, CountyModel, CountyParams, DeepPartial, DetailObjectInfoInterface, _default$6 as DistrictAutocomplete, DistrictModel, DistrictParams, DistrictsStore, DocumentModel, DocumentVisibilityAPIVariants, DocumentVisibilityVariants, DocumentWithVisibility, ElectricityMeterParams, ElectricityMeterTypes, ElectricityMeterValues, ElectricityMetersResponse, ElectricityTariffCreationFields, ElectricityValues, EmptyType, EntityLinkParams, ErrorPopup, FetchApartmentOwnersResponse, FetchApartmentsResponse, FileBodyRequest, FileModel, FileParams, FileUploaderWithPreview, FileWithVisibility, FillingInfoFormFields, FillingTagCreationForm, _default$9 as FillingTagCreationModal, FillingTagParams, FillingTagsAgent, _default$8 as FillingTagsAutocomplete, FillingTagsAutocompleteFields, FillingTagsAutocompleteProps, FillingTagsStore, FillingTypeValues, FillingTypes, FixedCostModel, FormBottom, FormBottomProps, FormWrapper, FormWrapperProps, GalleryWithThumbnails, GasMetersResponse, GasTariffCreationFields, GasTypes, GenderAPIVariants, GeolocationParams, GetCatalogResponse, GetCitiesResponse, GetCommonTariffsResponse, GetCompaniesResponse, GetCountiesResponse, GetCountriesResponse, GetDistrictsResponse, GetLockersResponse, GetRegionsResponse, GetResidentialComplexesResponse, GetTagsResponse, HeadingWithButton, HeatingMetersResponse, HeatingTariffCreationFields, HouseTypes, ImageBodyRequest, ImageCard, ImageCardProps, ImageCardWithBackdrop, ImageModel, ImpairmentTypes, ImpairmentsTypeValues, InputByType, InputByTypeProps, InputFileWithVisibility, InputFileWithVisibilityFields, InputParams, InputTypes, InputWithMap, InspectionTypeValues, InternetProviderParams, KUICrmSettings, kuiSettings as KUISettings, LatLonParams, LinkField, LiteMeterInterface, LiteObjectModel, LiteUserModel, LoaderPopup, _default$2 as LoaderState, LockerModel, LockerParams, MainObjectInfoInterface, _default$b as MapComponent, MaxMetersInfoParams, MeterCommonInfoModel, MeterFeaturesFields, MeterFeaturesFieldsProps, MeterFeaturesForm, MeterFeaturesFormFields, MeterModel, MeterPayerModel, MeterTariffModel, MeterTypeRadioGroup, MeterTypes, MeterValues, MetersCountParams, MetersResponse, MetroStationParams, Modal, ModalProps, _default$a as ModalWithMap, _default as MultistepForm, ObjectType, OpenMapButton, OverlapTypes, PaginationRes, ParkingTypes, ParkingTypesValues, PartialPayer, PartialPayerFields, PartialPayerProps, PartialPayerValues, PartialPayerVariants, PatchBillingInfoParams, PatchCompanyParams, PatchDocumentRequest, PatchFileParams, PaymentStatuses, PhoneParams, PostCommonTariffParams, PostCompaniesRequest, PostElectricityTariffRequest, PostGasTariffRequest, PostHeatingTariffRequest, PostTariffRequest, PostWaterTariffRequest, PreviewImageCard, _default$e as RegionAutocomplete, RegionAutocompleteFields, RegionAutocompleteProps, RegionModel, RegionParams, RegionsStore, RenderMeterFieldsSettings, RenovationParams, RenovationStyle, RenovationStyleValues, RenovationType, RenovationTypeValues, RentPeriodTypeValues, RentPeriodTypes, RentalContractModel, RentalInspectionParams, RentalStatuses, RentalTypes, _default$7 as ReplaceableCountersBlock, ResidentialComplexModel, ResidentialComplexParams, ResourceTypes, ResourceValues, RoomModel, RoomParams, RoomType, RoomTypeValues, RoomTypes, RoomTypesValues, RoommateParams, SecurityObjectInfoInterface, ServiceContractLiteModel, ServiceContractModel, SettingsParams, SignInFormFields, _default$3 as SignInPage, SignInParams, SingleMeterParams, SquarePreviewImage, TVTypes, TVTypesValues, TableBottomLoading, TagModel, TariffCreationFieldsProps, _default$5 as TariffCreationForm, TariffCreationFormFields, TariffCreationFormProps, TariffCreationModal, TariffCreationValuesFields, _default$4 as TariffGroupAutocomplete, TariffGroupAutocompleteFields, TariffGroupLiteParams, TariffLinkModel, TariffReplacementField, TariffReplacementFields, TariffStatuses, TariffsAgent, TariffsLiteStore, TaxResidenceType, TaxResidenceValues, TaxTypeValues, TaxesTypes, TwoOptionForAutocomplete, UnitOfPaymentTypes, UnitOfPaymentValues, UploadAgent, UploadDocumentParams, UploadFileResponse, UserNamesModel, UtilityPayerModel, UtilityTypes, Values, WallMaterials, WaterMeterParams, WaterMeterTypes, WaterMetersResponse, WaterTariffCreationFields, WaterValues, WifiParams, apartmentFields, authFlag, csrfTokenKey, defaultRequiredMessage, fieldWithConditionSchema, genderMatches, getFillingInfoFields, getMeterFeaturesFieldsSchema, getMeterFields, getNumbersValues, matchesAPICompanyTypes, matchesAPIFillingTypes, matchesAPISubjectRoles, matchesAPIVisibilityVariants, matchesApartmentStatuses, matchesCompanyTypes, matchesFillingTypes, matchesServiceTypes, matchesSubjectRoles, matchesVisibilityVariants, phoneNonRequiredSchema, phoneSchema, phoneWithConditionSchema, positiveNumberSchema, requests, sessionIdKey, setFileFromFileWithVisibility, uploadDocument, uploadDocuments, uploadFile, uploadFiles, uploadImages, uploadNewFile, useAutocomplete, useFetchPage, usePaginationPage, usePortalPosition, useScrollWithBottomSpacing };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kui-crm",
3
- "version": "0.0.82",
3
+ "version": "0.0.84",
4
4
  "description": "crm complex fields",
5
5
  "main": "./cjs/index.js",
6
6
  "types": "./index.d.ts",
package/types/index.d.ts CHANGED
@@ -3,26 +3,25 @@ import { DateTime } from 'luxon';
3
3
  import { DocumentModel as DocumentModel$1 } from 'kui-accounts/src/types/api/common';
4
4
  import { PaginationRes as PaginationRes$1 } from 'kui-utils';
5
5
 
6
- type ApartmentLinkParams = {
7
- id: number
8
- address: string
9
- }
10
-
11
- type CatalogItemParams = {
12
- id: number
13
- name: string
14
- }
15
-
16
- type CityParams = CatalogItemParams
17
- type RegionParams = CatalogItemParams
18
- type LockerParams = {
19
- apartment: ApartmentLinkParams
20
- } & CatalogItemParams
21
- type DistrictParams = CatalogItemParams
22
- type CountyParams = CatalogItemParams
23
- type CountryParams = {
24
- code: string
25
- } & CatalogItemParams
6
+ declare type ApartmentLinkParams = {
7
+ id: number;
8
+ address: string;
9
+ };
10
+ declare type CatalogItemParams = {
11
+ id: number;
12
+ name: string;
13
+ };
14
+ declare type CityParams = CatalogItemParams;
15
+ declare type RegionParams = CatalogItemParams;
16
+ declare type LockerParams = {
17
+ apartment: ApartmentLinkParams;
18
+ } & CatalogItemParams;
19
+ declare type ResidentialComplexParams = CatalogItemParams;
20
+ declare type DistrictParams = CatalogItemParams;
21
+ declare type CountyParams = CatalogItemParams;
22
+ declare type CountryParams = {
23
+ code: string;
24
+ } & CatalogItemParams;
26
25
 
27
26
  declare type GenderAPIVariants = "M" | "F";
28
27
  declare type APISubjectRoles = "maroom" | "owner" | "renter";
@@ -413,6 +412,7 @@ declare type ApartmentModel = {
413
412
  locker_number: number | string;
414
413
  is_closed_period: boolean;
415
414
  is_approved_service_expenses: boolean;
415
+ is_imported_from_old_crm: boolean;
416
416
  renter_payment_status: PaymentStatuses;
417
417
  rental_contracts: RentalContractModel[];
418
418
  service_contracts: ServiceContractModel[];
@@ -934,4 +934,4 @@ declare type ApartmentMeterValues = {
934
934
  T3?: MeterValues;
935
935
  } & MeterValues;
936
936
 
937
- export { APISubjectRoles, AddressWithLocationParams, AdministrativeCompany, AdministrativeCompanyModel, ApartmentAdministrativeCompany, ApartmentContractTypes, ApartmentDescriptionParams, ApartmentDetailInfoModelFields, ApartmentDetailInfoParams, ApartmentDocumentModel, ApartmentFeatureModel, ApartmentFillingAPIVariants, ApartmentFillingVariants, ApartmentHouseInfoParams, ApartmentInspectionModel, ApartmentLinkModel, ApartmentLinkParams, ApartmentLiteModel, ApartmentLockerParams, ApartmentMainInfoModelFields, ApartmentMainInfoParams, ApartmentMeterAccounts, ApartmentMeterValues, ApartmentMetroParams, ApartmentMetroStationsParams, ApartmentModel, ApartmentPartialModel, ApartmentPaymentInfoParams, ApartmentSecurityInfoParams, ApartmentSimpleModel, ApartmentTelecommunicationInfoParams, ApiTokenAuthResponse, CatalogItemModel, CatalogItemParams, CityModel, CityParams, ClientTypes, CommonMeterParams, CommonTariffModel, CompanyAPITypes, CompanyByTinRequestBody, CompanyInfoModel, CompanyLiteParams, CompanyLogoModel, CompanyMainInfoModel, CompanyMainOfficeModel, CompanyModel, CompanyOfficeModel, CompanyOfficeWithoutIdModel, CompanyParams, CompanyTypes, ContractLinkModel, ContractStatuses, CountryModel, CountryParams, CountyModel, DeepPartial, DetailObjectInfoInterface, DistrictModel, DocumentModel, DocumentVisibilityAPIVariants, DocumentVisibilityVariants, DocumentWithVisibility, ElectricityMeterParams, ElectricityMeterTypes, ElectricityMeterValues, ElectricityMetersResponse, EmptyType, EntityLinkParams, FetchApartmentOwnersResponse, FetchApartmentsResponse, FileBodyRequest, FileModel, FileParams, FillingInfoFormFields, FillingTagParams, FillingTypes, FixedCostModel, GasMetersResponse, GasTypes, GenderAPIVariants, GeolocationParams, GetCatalogResponse, GetCitiesResponse, GetCommonTariffsResponse, GetCompaniesResponse, GetCountiesResponse, GetCountriesResponse, GetDistrictsResponse, GetLockersResponse, GetRegionsResponse, GetResidentialComplexesResponse, GetTagsResponse, HeatingMetersResponse, HouseTypes, ImageBodyRequest, ImageModel, ImpairmentTypes, InternetProviderParams, LatLonParams, LiteMeterInterface, LiteObjectModel, LiteUserModel, LockerModel, MainObjectInfoInterface, MaxMetersInfoParams, MeterCommonInfoModel, MeterModel, MeterPayerModel, MeterTariffModel, MeterTypes, MeterValues, MetersCountParams, MetersResponse, MetroStationParams, ObjectType, OverlapTypes, PaginationRes, ParkingTypes, PatchBillingInfoParams, PatchCompanyParams, PatchDocumentRequest, PatchFileParams, PaymentStatuses, PhoneParams, PostCommonTariffParams, PostCompaniesRequest, PostElectricityTariffRequest, PostGasTariffRequest, PostHeatingTariffRequest, PostTariffRequest, PostWaterTariffRequest, RegionModel, RegionParams, RenovationParams, RenovationStyle, RenovationType, RentPeriodTypes, RentalContractModel, RentalInspectionParams, RentalStatuses, RentalTypes, ResidentialComplexModel, ResourceTypes, RoomModel, RoomParams, RoomType, RoomTypes, RoommateParams, SecurityObjectInfoInterface, ServiceContractLiteModel, ServiceContractModel, SettingsParams, SignInParams, SingleMeterParams, TVTypes, TagModel, TariffGroupLiteParams, TariffLinkModel, TariffStatuses, TaxResidenceType, TaxesTypes, UnitOfPaymentTypes, UploadDocumentParams, UploadFileResponse, UserNamesModel, UtilityPayerModel, UtilityTypes, Values, WallMaterials, WaterMeterParams, WaterMeterTypes, WaterMetersResponse, WifiParams };
937
+ export { APISubjectRoles, AddressWithLocationParams, AdministrativeCompany, AdministrativeCompanyModel, ApartmentAdministrativeCompany, ApartmentContractTypes, ApartmentDescriptionParams, ApartmentDetailInfoModelFields, ApartmentDetailInfoParams, ApartmentDocumentModel, ApartmentFeatureModel, ApartmentFillingAPIVariants, ApartmentFillingVariants, ApartmentHouseInfoParams, ApartmentInspectionModel, ApartmentLinkModel, ApartmentLinkParams, ApartmentLiteModel, ApartmentLockerParams, ApartmentMainInfoModelFields, ApartmentMainInfoParams, ApartmentMeterAccounts, ApartmentMeterValues, ApartmentMetroParams, ApartmentMetroStationsParams, ApartmentModel, ApartmentPartialModel, ApartmentPaymentInfoParams, ApartmentSecurityInfoParams, ApartmentSimpleModel, ApartmentTelecommunicationInfoParams, ApiTokenAuthResponse, CatalogItemModel, CatalogItemParams, CityModel, CityParams, ClientTypes, CommonMeterParams, CommonTariffModel, CompanyAPITypes, CompanyByTinRequestBody, CompanyInfoModel, CompanyLiteParams, CompanyLogoModel, CompanyMainInfoModel, CompanyMainOfficeModel, CompanyModel, CompanyOfficeModel, CompanyOfficeWithoutIdModel, CompanyParams, CompanyTypes, ContractLinkModel, ContractStatuses, CountryModel, CountryParams, CountyModel, CountyParams, DeepPartial, DetailObjectInfoInterface, DistrictModel, DistrictParams, DocumentModel, DocumentVisibilityAPIVariants, DocumentVisibilityVariants, DocumentWithVisibility, ElectricityMeterParams, ElectricityMeterTypes, ElectricityMeterValues, ElectricityMetersResponse, EmptyType, EntityLinkParams, FetchApartmentOwnersResponse, FetchApartmentsResponse, FileBodyRequest, FileModel, FileParams, FillingInfoFormFields, FillingTagParams, FillingTypes, FixedCostModel, GasMetersResponse, GasTypes, GenderAPIVariants, GeolocationParams, GetCatalogResponse, GetCitiesResponse, GetCommonTariffsResponse, GetCompaniesResponse, GetCountiesResponse, GetCountriesResponse, GetDistrictsResponse, GetLockersResponse, GetRegionsResponse, GetResidentialComplexesResponse, GetTagsResponse, HeatingMetersResponse, HouseTypes, ImageBodyRequest, ImageModel, ImpairmentTypes, InternetProviderParams, LatLonParams, LiteMeterInterface, LiteObjectModel, LiteUserModel, LockerModel, LockerParams, MainObjectInfoInterface, MaxMetersInfoParams, MeterCommonInfoModel, MeterModel, MeterPayerModel, MeterTariffModel, MeterTypes, MeterValues, MetersCountParams, MetersResponse, MetroStationParams, ObjectType, OverlapTypes, PaginationRes, ParkingTypes, PatchBillingInfoParams, PatchCompanyParams, PatchDocumentRequest, PatchFileParams, PaymentStatuses, PhoneParams, PostCommonTariffParams, PostCompaniesRequest, PostElectricityTariffRequest, PostGasTariffRequest, PostHeatingTariffRequest, PostTariffRequest, PostWaterTariffRequest, RegionModel, RegionParams, RenovationParams, RenovationStyle, RenovationType, RentPeriodTypes, RentalContractModel, RentalInspectionParams, RentalStatuses, RentalTypes, ResidentialComplexModel, ResidentialComplexParams, ResourceTypes, RoomModel, RoomParams, RoomType, RoomTypes, RoommateParams, SecurityObjectInfoInterface, ServiceContractLiteModel, ServiceContractModel, SettingsParams, SignInParams, SingleMeterParams, TVTypes, TagModel, TariffGroupLiteParams, TariffLinkModel, TariffStatuses, TaxResidenceType, TaxesTypes, UnitOfPaymentTypes, UploadDocumentParams, UploadFileResponse, UserNamesModel, UtilityPayerModel, UtilityTypes, Values, WallMaterials, WaterMeterParams, WaterMeterTypes, WaterMetersResponse, WifiParams };
package/utils/index.d.ts CHANGED
@@ -9,26 +9,24 @@ declare const csrfTokenKey = "csrftoken";
9
9
  declare const sessionIdKey = "crm-sessionid";
10
10
  declare const defaultRequiredMessage = "This field is required";
11
11
 
12
- type ApartmentLinkParams = {
13
- id: number
14
- address: string
15
- }
16
-
17
- type CatalogItemParams = {
18
- id: number
19
- name: string
20
- }
21
-
22
- type CityParams = CatalogItemParams
23
- type RegionParams = CatalogItemParams
24
- type LockerParams = {
25
- apartment: ApartmentLinkParams
26
- } & CatalogItemParams
27
- type DistrictParams = CatalogItemParams
28
- type CountyParams = CatalogItemParams
29
- type CountryParams = {
30
- code: string
31
- } & CatalogItemParams
12
+ declare type ApartmentLinkParams = {
13
+ id: number;
14
+ address: string;
15
+ };
16
+ declare type CatalogItemParams = {
17
+ id: number;
18
+ name: string;
19
+ };
20
+ declare type CityParams = CatalogItemParams;
21
+ declare type RegionParams = CatalogItemParams;
22
+ declare type LockerParams = {
23
+ apartment: ApartmentLinkParams;
24
+ } & CatalogItemParams;
25
+ declare type DistrictParams = CatalogItemParams;
26
+ declare type CountyParams = CatalogItemParams;
27
+ declare type CountryParams = {
28
+ code: string;
29
+ } & CatalogItemParams;
32
30
 
33
31
  declare type APISubjectRoles = "maroom" | "owner" | "renter";
34
32
  declare type UnitOfPaymentTypes = "percent" | "value";
@@ -324,6 +322,7 @@ declare type ApartmentModel = {
324
322
  locker_number: number | string;
325
323
  is_closed_period: boolean;
326
324
  is_approved_service_expenses: boolean;
325
+ is_imported_from_old_crm: boolean;
327
326
  renter_payment_status: PaymentStatuses;
328
327
  rental_contracts: RentalContractModel[];
329
328
  service_contracts: ServiceContractModel[];