kui-crm 0.0.242 → 0.0.244
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 +12 -4
- package/package.json +1 -1
- package/types/index.d.ts +12 -4
- package/utils/index.d.ts +11 -3
package/index.d.ts
CHANGED
|
@@ -306,7 +306,15 @@ declare type PaginationRes<T> = {
|
|
|
306
306
|
next: string | null;
|
|
307
307
|
previous: string | null;
|
|
308
308
|
results: T;
|
|
309
|
-
};
|
|
309
|
+
};
|
|
310
|
+
declare type EditConditions = {
|
|
311
|
+
can_edit: boolean;
|
|
312
|
+
reason: string;
|
|
313
|
+
allowed_fields: string[];
|
|
314
|
+
};
|
|
315
|
+
declare type ContractEditConditions = {
|
|
316
|
+
can_activate: boolean;
|
|
317
|
+
} & EditConditions;
|
|
310
318
|
|
|
311
319
|
declare type CatalogItemModel = {
|
|
312
320
|
id: number;
|
|
@@ -548,7 +556,7 @@ declare type RentalContractModel = {
|
|
|
548
556
|
closing_conditions: ClosingRentalContractFields;
|
|
549
557
|
first_appraisal_interval_month: number;
|
|
550
558
|
estate_agent?: ClientLiteModel;
|
|
551
|
-
|
|
559
|
+
edit_condition?: ContractEditConditions;
|
|
552
560
|
};
|
|
553
561
|
|
|
554
562
|
declare type RentPeriodTypes = "short" | "medium" | "long" | "any";
|
|
@@ -613,7 +621,7 @@ declare type ServiceContractModel = {
|
|
|
613
621
|
close_date?: string | null;
|
|
614
622
|
planned_end_date?: string | null;
|
|
615
623
|
closing_conditions: ClosingServiceContractFields;
|
|
616
|
-
|
|
624
|
+
edit_condition?: ContractEditConditions;
|
|
617
625
|
};
|
|
618
626
|
declare type ServiceContractListModel = {
|
|
619
627
|
id: number;
|
|
@@ -3078,4 +3086,4 @@ type SignInPageProps = {
|
|
|
3078
3086
|
|
|
3079
3087
|
declare const _default: (props: SignInPageProps) => JSX.Element;
|
|
3080
3088
|
|
|
3081
|
-
export { APIPayerValues, APISubjectRoles, AccordionWithSummary, AdaptiveImageParams, AdaptiveImagesBlock, AdaptiveImagesBlockProps, AddressWithLocationParams, AdministrativeCompany, AdministrativeCompanyModel, ApartmentAdministrativeCompany, ApartmentContractTypes, ApartmentDescriptionFormFields, ApartmentDescriptionParams, ApartmentDetailInfoModelFields, ApartmentDetailInfoParams, ApartmentDocumentModel, ApartmentFeatureModel, ApartmentFieldsStore, ApartmentFillingAPIVariants, ApartmentFillingVariants, ApartmentHouseInfoParams, ApartmentInspectionListModel, ApartmentInspectionModel, ApartmentLinkModel, ApartmentLinkParams, ApartmentLiteModel, ApartmentLockerParams, ApartmentMainInfoModelFields, ApartmentMainInfoParams, ApartmentMeterAccounts, ApartmentMeterValues, ApartmentMetersAgent, ApartmentMetroParams, ApartmentMetroStationsParams, ApartmentMetroWithCustomParams, ApartmentModel, ApartmentOverviewInfoFields, ApartmentOverviewPaymentInfoFields, ApartmentPartialDescriptionParams, ApartmentPartialModel, ApartmentPaymentInfoParams, ApartmentSecurityInfoParams, ApartmentSimpleModel, ApartmentTelecommunicationInfoParams, ApartmentWithHouseInfoModelFields, ApartmentsAgent, ApiTokenAuthResponse, AppraisalInspectionFields, AppraisalInspectionModel, AppraisalOfferModel, AppraisalOfferParams, AppraisalTenantChoice, AppraisalTenantOfferModel, AppraisalType, AuthAgent, BasicMeterFeaturesFormFields, BasicMeterFieldsSettings, BooleanValues, Breadcrumbs, CatalogItemModel, CatalogItemParams, CatalogsAgent, ChangeReasonField, ChangeReasonFields, ChangeReasonFieldsProps, ChangeReasonFormFields, ChangeReasonSchema, CheckboxWithHint, CitiesStore, _default$i as CityAutocomplete, CityAutocompleteFields, CityAutocompleteProps, CityModel, CityParams, ClientLiteModel, ClientRoles, ClientTypes, ClosingRentalContractFields, ClosingServiceContractFields, CommonMeterParams, CommonTariffFieldsSchema, CommonTariffModel, CompaniesAgent, CompaniesStore, CompanyAPITypes, _default$l as CompanyAutocomplete, CompanyAutocompleteFields, CompanyByTinRequestBody, CompanyCreationFields, CompanyCreationForm, CompanyCreationFormProps, _default$h as CompanyCreationModal, CompanyFields, CompanyInfoModel, _default$7 as CompanyInnAutocomplete, CompanyLiteParams, CompanyLogoModel, CompanyMainInfoModel, CompanyMainOfficeModel, CompanyModel, CompanyOfficeModel, CompanyOfficeWithoutIdModel, CompanyParams, CompanyTypes$1 as CompanyTypes, CompanyTypesValues, ComparableObjectModel, ComparableObjectParams, ContractLinkModel, ContractStatuses, CopyButton, CountriesStore, _default$k as CountryAutocomplete, CountryAutocompleteFields, CountryModel, CountryParams, CountyModel, CountyParams, DeepPartial, DetailObjectInfoInterface, _default$b as DistrictAutocomplete, DistrictModel, DistrictParams, DistrictsStore, DocumentAgentInterface, DocumentModel, DocumentVisibilityAPIVariants, DocumentVisibilityVariants, DocumentWithVisibility, DocumentsAgentInterface, DocumentsStoreInterface, _default$4 as DropdownMenu, DropdownMenuBase, DropdownMenuProps, DropdownMenuWithPortal, ElectricityMeterParams, ElectricityMeterTypes, ElectricityMeterValues, ElectricityMetersResponse, ElectricityTariffCreationFields, ElectricityValues, EmptyType, EntityLinkParams, ErrorPopup, FetchApartmentOwnersResponse, FetchApartmentsResponse, FieldsSettings, FileBodyRequest, FileModel, FileParams, FileStore, FileStoreInterface, FileStoreParams, FileUploaderWithPreview, FileVariant, FileWithVisibility, FilesStore, FilesStoreInterface, FillingInfoFormFields, FillingListItemModel, FillingParams, FillingTagCreationForm, _default$e as FillingTagCreationModal, FillingTagModel, FillingTagParams, FillingTagsAgent, _default$d as FillingTagsAutocomplete, FillingTagsAutocompleteFields, FillingTagsAutocompleteProps, FillingTagsStore, FillingTypeValues, FillingTypes, FixedCostModel, FormBottom, FormBottomProps, FormWrapper, FormWrapperProps, FullInspectionCommonFields, _default$5 as FullSlider, FullSliderModal, GalleryWithThumbnails, GasMetersResponse, GasTariffCreationFields, GasTypes, GasTypesValues, GenderAPIVariants, GeolocationParams, GetCatalogResponse, GetCitiesResponse, GetCommonTariffsResponse, GetCompaniesResponse, GetCountiesResponse, GetCountriesResponse, GetDistrictsResponse, GetLockersResponse, GetRegionsResponse, GetResidentialComplexesResponse, GetTagsResponse, HeadingWithButton, HeatingMetersResponse, HeatingTariffCreationFields, HouseInfoModelFields, HouseTypes, HouseTypesValues, ImageBodyRequest, ImageCard, ImageCardProps, ImageCardWithBackdrop, ImageModel, ImageParams, ImageStore, ImageStoreInterface, ImpairmentModel, ImpairmentType, ImpairmentTypes, ImpairmentsInspectionModel, ImpairmentsTypeValues, InitialInspectionModel, InitialInspectionModelFields, InputByType, InputByTypeProps, InputFileWithVisibility, InputFileWithVisibilityFields, InputParams, InputTypes, InputWithMap, InspectionBasedOnModel, InspectionBasedOnParams, InspectionCommonFields, InspectionConditionReasons, InspectionEditConditionModel, InspectionFeedbackInterface, InspectionFeedbackModel, InspectionFeedbackParams, InspectionFeedbackStatus, InspectionFillingModel, InspectionFillingParams, InspectionMeterCommonInfo, InspectionMeterInfoParams, InspectionMeterValueModel, InspectionMetersInfoParams, InspectionModel, InspectionPartialMetersInfoParams, InspectionPaymentInfoParams, InspectionRoomPhotoModel, InspectionRoomPhotoTypes, InspectionTypeValues, InspectionTypes, InternetProviderParams, InventoryInspectionFields, InventoryInspectionMeterModel, InventoryInspectionModel, KUICrmSettings, kuiSettings as KUISettings, LatLonParams, Link, LinkField, LinkProps, LiteMeterInterface, LiteObjectModel, LiteUserModel, LoadStatus, LoaderPopup, _default$8 as LoaderState, LockerAutocompleteFields, LockerModel, LockerParams, MainObjectInfoInterface, _default$g as MapComponent, MapOverlay, MapStore, MaxMetersInfoParams, MeterCommonInfoModel, MeterFeaturesFields, MeterFeaturesFieldsProps, MeterFeaturesForm, MeterFeaturesFormFields, MeterModel, MeterPayerModel, MeterTariffModel, MeterTypeRadioGroup, MeterTypes, MeterValues, MetersCountParams, MetersResponse, MetersResponseBody, _default$3 as MetroAutocomplete, _default$2 as MetroBlock, _default$1 as MetroBlockForModal, MetroLineParams, MetroStationModel, MetroStationParams, MetroStationsFields, MetroStore, Modal, ModalProps, _default$f as ModalWithMap, _default$6 as MultistepForm, NumberField, ObjectForMapModel, ObjectMetroStationParams, ObjectType, OpenMapButton, OptionDropdownType, OverlapTypes, PageBreadcrumbs, PaginationRes, ParkingTypes, ParkingTypesValues, PartialMeterInfoParams, PartialPayer, PartialPayerFields, PartialPayerProps, PartialPayerValues, PartialPayerVariants, PatchBillingInfoParams, PatchCompanyParams, PatchDocumentRequest, PatchFileParams, PaymentStatuses, PeriodStatus, PhoneParams, PhotoSlider, PostCommonTariffParams, PostCompaniesRequest, PostElectricityTariffRequest, PostGasTariffRequest, PostHeatingTariffRequest, PostInspectionFillingListModel, PostInspectionFillingModel, PostTariffRequest, PostWaterTariffRequest, PreviewContent, PreviewImageCard, _default$j as RegionAutocomplete, RegionAutocompleteFields, RegionAutocompleteProps, RegionModel, RegionParams, RegionsStore, RegularInspectionFields, RegularInspectionModel, RenderMeterFieldsSettings, RenovationParams, RenovationStyle, RenovationStyleValues, RenovationType, RenovationTypeValues, RentPeriodTypeValues, RentPeriodTypes, RentalContractModel, RentalInspectionParams, RentalStatuses, RentalTypes, _default$c as ReplaceableCountersBlock, ResidentialComplexModel, ResidentialComplexParams, ResourceTypes, ResourceValues, RoomModel, RoomParams, RoomType, RoomTypeValues, RoomTypes, RoomTypesValues, RoommateParams, ScrollingContainer, SecurityObjectInfoInterface, ServiceContractListModel, ServiceContractLiteModel, ServiceContractModel, SettingsParams, SignInFormFields, _default as SignInPage, SignInParams, SingleMeterParams, SlabsTypesValues, SliderThumbnails, SquarePreviewImage, StatisticalEvaluationModel, StatisticalEvaluationParams, SubjectRoles, TVTypes, TVTypesValues, TableBottomLoading, TagModel, TariffCreationFieldsProps, _default$9 as TariffCreationForm, TariffCreationFormFields, TariffCreationFormProps, TariffCreationModal, TariffCreationValuesFields, _default$a as TariffGroupAutocomplete, TariffGroupAutocompleteFields, TariffGroupLiteParams, TariffLinkModel, TariffReplacementField, TariffReplacementFields, TariffStatuses, TariffsAgent, TariffsLiteStore, TaxResidenceType, TaxResidenceValues, TaxTypeValues, TaxesTypes, TextOverflow, Tooltip, TransferInspectionFields, TransferInspectionMeterModel, TransferInspectionModel, TransferInspectionTypes, TwoOptionForAutocomplete, UnitOfPaymentTypes, UnitOfPaymentValues, UploadAgent, UploadDocumentParams, UploadFileParams, UploadFileResponse, UploadImageParams, UserBadge, UserNamesModel, UtilityPayerModel, UtilityTypes, Values, ValuesParams, WallMaterials, WallMaterialsValues, WaterMeterParams, WaterMeterTypes, WaterMetersResponse, WaterTariffCreationFields, WaterValues, WifiParams, apartmentFields, authFlag, basicFieldsOfNewResourceMeter, csrfTokenKey, defaultRequiredMessage, fieldWithConditionSchema, genderMatches, getApartmentDetailInfoFields, getApartmentPaymentFields, getFillingInfoFields, getInspectionFeedbackStatus, getMeterFeaturesFieldsSchema, getMeterFields, getMeterValuesFieldsSchema, getNumbersValues, getPartialMeterInfoFields, matchesAPICompanyTypes, matchesAPIFillingTypes, matchesAPISubjectRoles, matchesAPIVisibilityVariants, matchesApartmentStatuses, matchesCompanyTypes, matchesFillingTypes, matchesServiceTypes, matchesSubjectRoles, matchesVisibilityVariants, meterUnitLabel, phoneNonRequiredSchema, phoneSchema, phoneWithConditionSchema, positiveNumberSchema, requests, sessionIdKey, setFileFromFileWithVisibility, setNestedNameValue, uploadDocument, uploadDocuments, uploadFile, uploadFiles, uploadFilesWithoutFilter, uploadImage, uploadImages, uploadNewFile, useAutocomplete, useFetchPage, useMapCards, usePaginationPage, usePortalPosition, useScrollWithBottomSpacing };
|
|
3089
|
+
export { APIPayerValues, APISubjectRoles, AccordionWithSummary, AdaptiveImageParams, AdaptiveImagesBlock, AdaptiveImagesBlockProps, AddressWithLocationParams, AdministrativeCompany, AdministrativeCompanyModel, ApartmentAdministrativeCompany, ApartmentContractTypes, ApartmentDescriptionFormFields, ApartmentDescriptionParams, ApartmentDetailInfoModelFields, ApartmentDetailInfoParams, ApartmentDocumentModel, ApartmentFeatureModel, ApartmentFieldsStore, ApartmentFillingAPIVariants, ApartmentFillingVariants, ApartmentHouseInfoParams, ApartmentInspectionListModel, ApartmentInspectionModel, ApartmentLinkModel, ApartmentLinkParams, ApartmentLiteModel, ApartmentLockerParams, ApartmentMainInfoModelFields, ApartmentMainInfoParams, ApartmentMeterAccounts, ApartmentMeterValues, ApartmentMetersAgent, ApartmentMetroParams, ApartmentMetroStationsParams, ApartmentMetroWithCustomParams, ApartmentModel, ApartmentOverviewInfoFields, ApartmentOverviewPaymentInfoFields, ApartmentPartialDescriptionParams, ApartmentPartialModel, ApartmentPaymentInfoParams, ApartmentSecurityInfoParams, ApartmentSimpleModel, ApartmentTelecommunicationInfoParams, ApartmentWithHouseInfoModelFields, ApartmentsAgent, ApiTokenAuthResponse, AppraisalInspectionFields, AppraisalInspectionModel, AppraisalOfferModel, AppraisalOfferParams, AppraisalTenantChoice, AppraisalTenantOfferModel, AppraisalType, AuthAgent, BasicMeterFeaturesFormFields, BasicMeterFieldsSettings, BooleanValues, Breadcrumbs, CatalogItemModel, CatalogItemParams, CatalogsAgent, ChangeReasonField, ChangeReasonFields, ChangeReasonFieldsProps, ChangeReasonFormFields, ChangeReasonSchema, CheckboxWithHint, CitiesStore, _default$i as CityAutocomplete, CityAutocompleteFields, CityAutocompleteProps, CityModel, CityParams, ClientLiteModel, ClientRoles, ClientTypes, ClosingRentalContractFields, ClosingServiceContractFields, CommonMeterParams, CommonTariffFieldsSchema, CommonTariffModel, CompaniesAgent, CompaniesStore, CompanyAPITypes, _default$l as CompanyAutocomplete, CompanyAutocompleteFields, CompanyByTinRequestBody, CompanyCreationFields, CompanyCreationForm, CompanyCreationFormProps, _default$h as CompanyCreationModal, CompanyFields, CompanyInfoModel, _default$7 as CompanyInnAutocomplete, CompanyLiteParams, CompanyLogoModel, CompanyMainInfoModel, CompanyMainOfficeModel, CompanyModel, CompanyOfficeModel, CompanyOfficeWithoutIdModel, CompanyParams, CompanyTypes$1 as CompanyTypes, CompanyTypesValues, ComparableObjectModel, ComparableObjectParams, ContractEditConditions, ContractLinkModel, ContractStatuses, CopyButton, CountriesStore, _default$k as CountryAutocomplete, CountryAutocompleteFields, CountryModel, CountryParams, CountyModel, CountyParams, DeepPartial, DetailObjectInfoInterface, _default$b as DistrictAutocomplete, DistrictModel, DistrictParams, DistrictsStore, DocumentAgentInterface, DocumentModel, DocumentVisibilityAPIVariants, DocumentVisibilityVariants, DocumentWithVisibility, DocumentsAgentInterface, DocumentsStoreInterface, _default$4 as DropdownMenu, DropdownMenuBase, DropdownMenuProps, DropdownMenuWithPortal, EditConditions, ElectricityMeterParams, ElectricityMeterTypes, ElectricityMeterValues, ElectricityMetersResponse, ElectricityTariffCreationFields, ElectricityValues, EmptyType, EntityLinkParams, ErrorPopup, FetchApartmentOwnersResponse, FetchApartmentsResponse, FieldsSettings, FileBodyRequest, FileModel, FileParams, FileStore, FileStoreInterface, FileStoreParams, FileUploaderWithPreview, FileVariant, FileWithVisibility, FilesStore, FilesStoreInterface, FillingInfoFormFields, FillingListItemModel, FillingParams, FillingTagCreationForm, _default$e as FillingTagCreationModal, FillingTagModel, FillingTagParams, FillingTagsAgent, _default$d as FillingTagsAutocomplete, FillingTagsAutocompleteFields, FillingTagsAutocompleteProps, FillingTagsStore, FillingTypeValues, FillingTypes, FixedCostModel, FormBottom, FormBottomProps, FormWrapper, FormWrapperProps, FullInspectionCommonFields, _default$5 as FullSlider, FullSliderModal, GalleryWithThumbnails, GasMetersResponse, GasTariffCreationFields, GasTypes, GasTypesValues, GenderAPIVariants, GeolocationParams, GetCatalogResponse, GetCitiesResponse, GetCommonTariffsResponse, GetCompaniesResponse, GetCountiesResponse, GetCountriesResponse, GetDistrictsResponse, GetLockersResponse, GetRegionsResponse, GetResidentialComplexesResponse, GetTagsResponse, HeadingWithButton, HeatingMetersResponse, HeatingTariffCreationFields, HouseInfoModelFields, HouseTypes, HouseTypesValues, ImageBodyRequest, ImageCard, ImageCardProps, ImageCardWithBackdrop, ImageModel, ImageParams, ImageStore, ImageStoreInterface, ImpairmentModel, ImpairmentType, ImpairmentTypes, ImpairmentsInspectionModel, ImpairmentsTypeValues, InitialInspectionModel, InitialInspectionModelFields, InputByType, InputByTypeProps, InputFileWithVisibility, InputFileWithVisibilityFields, InputParams, InputTypes, InputWithMap, InspectionBasedOnModel, InspectionBasedOnParams, InspectionCommonFields, InspectionConditionReasons, InspectionEditConditionModel, InspectionFeedbackInterface, InspectionFeedbackModel, InspectionFeedbackParams, InspectionFeedbackStatus, InspectionFillingModel, InspectionFillingParams, InspectionMeterCommonInfo, InspectionMeterInfoParams, InspectionMeterValueModel, InspectionMetersInfoParams, InspectionModel, InspectionPartialMetersInfoParams, InspectionPaymentInfoParams, InspectionRoomPhotoModel, InspectionRoomPhotoTypes, InspectionTypeValues, InspectionTypes, InternetProviderParams, InventoryInspectionFields, InventoryInspectionMeterModel, InventoryInspectionModel, KUICrmSettings, kuiSettings as KUISettings, LatLonParams, Link, LinkField, LinkProps, LiteMeterInterface, LiteObjectModel, LiteUserModel, LoadStatus, LoaderPopup, _default$8 as LoaderState, LockerAutocompleteFields, LockerModel, LockerParams, MainObjectInfoInterface, _default$g as MapComponent, MapOverlay, MapStore, MaxMetersInfoParams, MeterCommonInfoModel, MeterFeaturesFields, MeterFeaturesFieldsProps, MeterFeaturesForm, MeterFeaturesFormFields, MeterModel, MeterPayerModel, MeterTariffModel, MeterTypeRadioGroup, MeterTypes, MeterValues, MetersCountParams, MetersResponse, MetersResponseBody, _default$3 as MetroAutocomplete, _default$2 as MetroBlock, _default$1 as MetroBlockForModal, MetroLineParams, MetroStationModel, MetroStationParams, MetroStationsFields, MetroStore, Modal, ModalProps, _default$f as ModalWithMap, _default$6 as MultistepForm, NumberField, ObjectForMapModel, ObjectMetroStationParams, ObjectType, OpenMapButton, OptionDropdownType, OverlapTypes, PageBreadcrumbs, PaginationRes, ParkingTypes, ParkingTypesValues, PartialMeterInfoParams, PartialPayer, PartialPayerFields, PartialPayerProps, PartialPayerValues, PartialPayerVariants, PatchBillingInfoParams, PatchCompanyParams, PatchDocumentRequest, PatchFileParams, PaymentStatuses, PeriodStatus, PhoneParams, PhotoSlider, PostCommonTariffParams, PostCompaniesRequest, PostElectricityTariffRequest, PostGasTariffRequest, PostHeatingTariffRequest, PostInspectionFillingListModel, PostInspectionFillingModel, PostTariffRequest, PostWaterTariffRequest, PreviewContent, PreviewImageCard, _default$j as RegionAutocomplete, RegionAutocompleteFields, RegionAutocompleteProps, RegionModel, RegionParams, RegionsStore, RegularInspectionFields, RegularInspectionModel, RenderMeterFieldsSettings, RenovationParams, RenovationStyle, RenovationStyleValues, RenovationType, RenovationTypeValues, RentPeriodTypeValues, RentPeriodTypes, RentalContractModel, RentalInspectionParams, RentalStatuses, RentalTypes, _default$c as ReplaceableCountersBlock, ResidentialComplexModel, ResidentialComplexParams, ResourceTypes, ResourceValues, RoomModel, RoomParams, RoomType, RoomTypeValues, RoomTypes, RoomTypesValues, RoommateParams, ScrollingContainer, SecurityObjectInfoInterface, ServiceContractListModel, ServiceContractLiteModel, ServiceContractModel, SettingsParams, SignInFormFields, _default as SignInPage, SignInParams, SingleMeterParams, SlabsTypesValues, SliderThumbnails, SquarePreviewImage, StatisticalEvaluationModel, StatisticalEvaluationParams, SubjectRoles, TVTypes, TVTypesValues, TableBottomLoading, TagModel, TariffCreationFieldsProps, _default$9 as TariffCreationForm, TariffCreationFormFields, TariffCreationFormProps, TariffCreationModal, TariffCreationValuesFields, _default$a as TariffGroupAutocomplete, TariffGroupAutocompleteFields, TariffGroupLiteParams, TariffLinkModel, TariffReplacementField, TariffReplacementFields, TariffStatuses, TariffsAgent, TariffsLiteStore, TaxResidenceType, TaxResidenceValues, TaxTypeValues, TaxesTypes, TextOverflow, Tooltip, TransferInspectionFields, TransferInspectionMeterModel, TransferInspectionModel, TransferInspectionTypes, TwoOptionForAutocomplete, UnitOfPaymentTypes, UnitOfPaymentValues, UploadAgent, UploadDocumentParams, UploadFileParams, UploadFileResponse, UploadImageParams, UserBadge, UserNamesModel, UtilityPayerModel, UtilityTypes, Values, ValuesParams, WallMaterials, WallMaterialsValues, WaterMeterParams, WaterMeterTypes, WaterMetersResponse, WaterTariffCreationFields, WaterValues, WifiParams, apartmentFields, authFlag, basicFieldsOfNewResourceMeter, csrfTokenKey, defaultRequiredMessage, fieldWithConditionSchema, genderMatches, getApartmentDetailInfoFields, getApartmentPaymentFields, getFillingInfoFields, getInspectionFeedbackStatus, getMeterFeaturesFieldsSchema, getMeterFields, getMeterValuesFieldsSchema, getNumbersValues, getPartialMeterInfoFields, matchesAPICompanyTypes, matchesAPIFillingTypes, matchesAPISubjectRoles, matchesAPIVisibilityVariants, matchesApartmentStatuses, matchesCompanyTypes, matchesFillingTypes, matchesServiceTypes, matchesSubjectRoles, matchesVisibilityVariants, meterUnitLabel, phoneNonRequiredSchema, phoneSchema, phoneWithConditionSchema, positiveNumberSchema, requests, sessionIdKey, setFileFromFileWithVisibility, setNestedNameValue, uploadDocument, uploadDocuments, uploadFile, uploadFiles, uploadFilesWithoutFilter, uploadImage, uploadImages, uploadNewFile, useAutocomplete, useFetchPage, useMapCards, usePaginationPage, usePortalPosition, useScrollWithBottomSpacing };
|
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -131,7 +131,15 @@ declare type PaginationRes<T> = {
|
|
|
131
131
|
next: string | null;
|
|
132
132
|
previous: string | null;
|
|
133
133
|
results: T;
|
|
134
|
-
};
|
|
134
|
+
};
|
|
135
|
+
declare type EditConditions = {
|
|
136
|
+
can_edit: boolean;
|
|
137
|
+
reason: string;
|
|
138
|
+
allowed_fields: string[];
|
|
139
|
+
};
|
|
140
|
+
declare type ContractEditConditions = {
|
|
141
|
+
can_activate: boolean;
|
|
142
|
+
} & EditConditions;
|
|
135
143
|
|
|
136
144
|
declare type CatalogItemModel = {
|
|
137
145
|
id: number;
|
|
@@ -566,7 +574,7 @@ declare type RentalContractModel = {
|
|
|
566
574
|
closing_conditions: ClosingRentalContractFields;
|
|
567
575
|
first_appraisal_interval_month: number;
|
|
568
576
|
estate_agent?: ClientLiteModel;
|
|
569
|
-
|
|
577
|
+
edit_condition?: ContractEditConditions;
|
|
570
578
|
};
|
|
571
579
|
|
|
572
580
|
declare type RentPeriodTypes = "short" | "medium" | "long" | "any";
|
|
@@ -631,7 +639,7 @@ declare type ServiceContractModel = {
|
|
|
631
639
|
close_date?: string | null;
|
|
632
640
|
planned_end_date?: string | null;
|
|
633
641
|
closing_conditions: ClosingServiceContractFields;
|
|
634
|
-
|
|
642
|
+
edit_condition?: ContractEditConditions;
|
|
635
643
|
};
|
|
636
644
|
declare type ServiceContractListModel = {
|
|
637
645
|
id: number;
|
|
@@ -1533,4 +1541,4 @@ declare type DocumentsAgentInterface = {
|
|
|
1533
1541
|
getDocuments?: (...params: any) => Promise<DocumentModel[]>;
|
|
1534
1542
|
} & DocumentAgentInterface;
|
|
1535
1543
|
|
|
1536
|
-
export { APISubjectRoles, AddressWithLocationParams, AdministrativeCompany, AdministrativeCompanyModel, ApartmentAdministrativeCompany, ApartmentContractTypes, ApartmentDescriptionFormFields, ApartmentDescriptionParams, ApartmentDetailInfoModelFields, ApartmentDetailInfoParams, ApartmentDocumentModel, ApartmentFeatureModel, ApartmentFillingAPIVariants, ApartmentFillingVariants, ApartmentHouseInfoParams, ApartmentInspectionListModel, ApartmentInspectionModel, ApartmentLinkModel, ApartmentLinkParams, ApartmentLiteModel, ApartmentLockerParams, ApartmentMainInfoModelFields, ApartmentMainInfoParams, ApartmentMeterAccounts, ApartmentMeterValues, ApartmentMetroParams, ApartmentMetroStationsParams, ApartmentMetroWithCustomParams, ApartmentModel, ApartmentOverviewInfoFields, ApartmentOverviewPaymentInfoFields, ApartmentPartialDescriptionParams, ApartmentPartialModel, ApartmentPaymentInfoParams, ApartmentSecurityInfoParams, ApartmentSimpleModel, ApartmentTelecommunicationInfoParams, ApartmentWithHouseInfoModelFields, ApiTokenAuthResponse, AppraisalInspectionFields, AppraisalInspectionModel, AppraisalOfferModel, AppraisalOfferParams, AppraisalTenantChoice, AppraisalTenantOfferModel, AppraisalType, CatalogItemModel, CatalogItemParams, CityModel, CityParams, ClientLiteModel, ClientRoles, ClientTypes, ClosingRentalContractFields, ClosingServiceContractFields, CommonMeterParams, CommonTariffModel, CompanyAPITypes, CompanyByTinRequestBody, CompanyInfoModel, CompanyLiteParams, CompanyLogoModel, CompanyMainInfoModel, CompanyMainOfficeModel, CompanyModel, CompanyOfficeModel, CompanyOfficeWithoutIdModel, CompanyParams, CompanyTypes$1 as CompanyTypes, ComparableObjectModel, ComparableObjectParams, ContractLinkModel, ContractStatuses, CountryModel, CountryParams, CountyModel, CountyParams, DeepPartial, DetailObjectInfoInterface, DistrictModel, DistrictParams, DocumentAgentInterface, DocumentModel, DocumentVisibilityAPIVariants, DocumentVisibilityVariants, DocumentWithVisibility, DocumentsAgentInterface, DocumentsStoreInterface, ElectricityMeterParams, ElectricityMeterTypes, ElectricityMeterValues, ElectricityMetersResponse, EmptyType, EntityLinkParams, FetchApartmentOwnersResponse, FetchApartmentsResponse, FieldsSettings, FileBodyRequest, FileModel, FileParams, FileStoreInterface, FileStoreParams, FileVariant, FilesStoreInterface, FillingInfoFormFields, FillingListItemModel, FillingParams, FillingTagModel, FillingTagParams, FillingTypes, FixedCostModel, FullInspectionCommonFields, GasMetersResponse, GasTypes, GenderAPIVariants, GeolocationParams, GetCatalogResponse, GetCitiesResponse, GetCommonTariffsResponse, GetCompaniesResponse, GetCountiesResponse, GetCountriesResponse, GetDistrictsResponse, GetLockersResponse, GetRegionsResponse, GetResidentialComplexesResponse, GetTagsResponse, HeatingMetersResponse, HouseInfoModelFields, HouseTypes, ImageBodyRequest, ImageModel, ImageParams, ImageStoreInterface, ImpairmentModel, ImpairmentType, ImpairmentTypes, ImpairmentsInspectionModel, InitialInspectionModel, InitialInspectionModelFields, InspectionBasedOnModel, InspectionBasedOnParams, InspectionCommonFields, InspectionConditionReasons, InspectionEditConditionModel, InspectionFeedbackInterface, InspectionFeedbackModel, InspectionFeedbackParams, InspectionFeedbackStatus, InspectionFillingModel, InspectionFillingParams, InspectionMeterCommonInfo, InspectionMeterInfoParams, InspectionMeterValueModel, InspectionMetersInfoParams, InspectionModel, InspectionPartialMetersInfoParams, InspectionPaymentInfoParams, InspectionRoomPhotoModel, InspectionRoomPhotoTypes, InspectionTypes, InternetProviderParams, InventoryInspectionFields, InventoryInspectionMeterModel, InventoryInspectionModel, LatLonParams, LiteMeterInterface, LiteObjectModel, LiteUserModel, LoadStatus, LockerAutocompleteFields, LockerModel, LockerParams, MainObjectInfoInterface, MaxMetersInfoParams, MeterCommonInfoModel, MeterModel, MeterPayerModel, MeterTariffModel, MeterTypes, MeterValues, MetersCountParams, MetersResponse, MetersResponseBody, MetroLineParams, MetroStationModel, MetroStationParams, MetroStationsFields, ObjectForMapModel, ObjectMetroStationParams, ObjectType, OverlapTypes, PaginationRes, ParkingTypes, PartialMeterInfoParams, PatchBillingInfoParams, PatchCompanyParams, PatchDocumentRequest, PatchFileParams, PaymentStatuses, PeriodStatus, PhoneParams, PostCommonTariffParams, PostCompaniesRequest, PostElectricityTariffRequest, PostGasTariffRequest, PostHeatingTariffRequest, PostInspectionFillingListModel, PostInspectionFillingModel, PostTariffRequest, PostWaterTariffRequest, RegionModel, RegionParams, RegularInspectionFields, RegularInspectionModel, RenovationParams, RenovationStyle, RenovationType, RentPeriodTypes, RentalContractModel, RentalInspectionParams, RentalStatuses, RentalTypes, ResidentialComplexModel, ResidentialComplexParams, ResourceTypes, RoomModel, RoomParams, RoomType, RoomTypes, RoommateParams, SecurityObjectInfoInterface, ServiceContractListModel, ServiceContractLiteModel, ServiceContractModel, SettingsParams, SignInParams, SingleMeterParams, StatisticalEvaluationModel, StatisticalEvaluationParams, SubjectRoles, TVTypes, TagModel, TariffGroupLiteParams, TariffLinkModel, TariffStatuses, TaxResidenceType, TaxesTypes, TransferInspectionFields, TransferInspectionMeterModel, TransferInspectionModel, TransferInspectionTypes, UnitOfPaymentTypes, UploadDocumentParams, UploadFileParams, UploadFileResponse, UploadImageParams, UserNamesModel, UtilityPayerModel, UtilityTypes, Values, ValuesParams, WallMaterials, WaterMeterParams, WaterMeterTypes, WaterMetersResponse, WifiParams };
|
|
1544
|
+
export { APISubjectRoles, AddressWithLocationParams, AdministrativeCompany, AdministrativeCompanyModel, ApartmentAdministrativeCompany, ApartmentContractTypes, ApartmentDescriptionFormFields, ApartmentDescriptionParams, ApartmentDetailInfoModelFields, ApartmentDetailInfoParams, ApartmentDocumentModel, ApartmentFeatureModel, ApartmentFillingAPIVariants, ApartmentFillingVariants, ApartmentHouseInfoParams, ApartmentInspectionListModel, ApartmentInspectionModel, ApartmentLinkModel, ApartmentLinkParams, ApartmentLiteModel, ApartmentLockerParams, ApartmentMainInfoModelFields, ApartmentMainInfoParams, ApartmentMeterAccounts, ApartmentMeterValues, ApartmentMetroParams, ApartmentMetroStationsParams, ApartmentMetroWithCustomParams, ApartmentModel, ApartmentOverviewInfoFields, ApartmentOverviewPaymentInfoFields, ApartmentPartialDescriptionParams, ApartmentPartialModel, ApartmentPaymentInfoParams, ApartmentSecurityInfoParams, ApartmentSimpleModel, ApartmentTelecommunicationInfoParams, ApartmentWithHouseInfoModelFields, ApiTokenAuthResponse, AppraisalInspectionFields, AppraisalInspectionModel, AppraisalOfferModel, AppraisalOfferParams, AppraisalTenantChoice, AppraisalTenantOfferModel, AppraisalType, CatalogItemModel, CatalogItemParams, CityModel, CityParams, ClientLiteModel, ClientRoles, ClientTypes, ClosingRentalContractFields, ClosingServiceContractFields, CommonMeterParams, CommonTariffModel, CompanyAPITypes, CompanyByTinRequestBody, CompanyInfoModel, CompanyLiteParams, CompanyLogoModel, CompanyMainInfoModel, CompanyMainOfficeModel, CompanyModel, CompanyOfficeModel, CompanyOfficeWithoutIdModel, CompanyParams, CompanyTypes$1 as CompanyTypes, ComparableObjectModel, ComparableObjectParams, ContractEditConditions, ContractLinkModel, ContractStatuses, CountryModel, CountryParams, CountyModel, CountyParams, DeepPartial, DetailObjectInfoInterface, DistrictModel, DistrictParams, DocumentAgentInterface, DocumentModel, DocumentVisibilityAPIVariants, DocumentVisibilityVariants, DocumentWithVisibility, DocumentsAgentInterface, DocumentsStoreInterface, EditConditions, ElectricityMeterParams, ElectricityMeterTypes, ElectricityMeterValues, ElectricityMetersResponse, EmptyType, EntityLinkParams, FetchApartmentOwnersResponse, FetchApartmentsResponse, FieldsSettings, FileBodyRequest, FileModel, FileParams, FileStoreInterface, FileStoreParams, FileVariant, FilesStoreInterface, FillingInfoFormFields, FillingListItemModel, FillingParams, FillingTagModel, FillingTagParams, FillingTypes, FixedCostModel, FullInspectionCommonFields, GasMetersResponse, GasTypes, GenderAPIVariants, GeolocationParams, GetCatalogResponse, GetCitiesResponse, GetCommonTariffsResponse, GetCompaniesResponse, GetCountiesResponse, GetCountriesResponse, GetDistrictsResponse, GetLockersResponse, GetRegionsResponse, GetResidentialComplexesResponse, GetTagsResponse, HeatingMetersResponse, HouseInfoModelFields, HouseTypes, ImageBodyRequest, ImageModel, ImageParams, ImageStoreInterface, ImpairmentModel, ImpairmentType, ImpairmentTypes, ImpairmentsInspectionModel, InitialInspectionModel, InitialInspectionModelFields, InspectionBasedOnModel, InspectionBasedOnParams, InspectionCommonFields, InspectionConditionReasons, InspectionEditConditionModel, InspectionFeedbackInterface, InspectionFeedbackModel, InspectionFeedbackParams, InspectionFeedbackStatus, InspectionFillingModel, InspectionFillingParams, InspectionMeterCommonInfo, InspectionMeterInfoParams, InspectionMeterValueModel, InspectionMetersInfoParams, InspectionModel, InspectionPartialMetersInfoParams, InspectionPaymentInfoParams, InspectionRoomPhotoModel, InspectionRoomPhotoTypes, InspectionTypes, InternetProviderParams, InventoryInspectionFields, InventoryInspectionMeterModel, InventoryInspectionModel, LatLonParams, LiteMeterInterface, LiteObjectModel, LiteUserModel, LoadStatus, LockerAutocompleteFields, LockerModel, LockerParams, MainObjectInfoInterface, MaxMetersInfoParams, MeterCommonInfoModel, MeterModel, MeterPayerModel, MeterTariffModel, MeterTypes, MeterValues, MetersCountParams, MetersResponse, MetersResponseBody, MetroLineParams, MetroStationModel, MetroStationParams, MetroStationsFields, ObjectForMapModel, ObjectMetroStationParams, ObjectType, OverlapTypes, PaginationRes, ParkingTypes, PartialMeterInfoParams, PatchBillingInfoParams, PatchCompanyParams, PatchDocumentRequest, PatchFileParams, PaymentStatuses, PeriodStatus, PhoneParams, PostCommonTariffParams, PostCompaniesRequest, PostElectricityTariffRequest, PostGasTariffRequest, PostHeatingTariffRequest, PostInspectionFillingListModel, PostInspectionFillingModel, PostTariffRequest, PostWaterTariffRequest, RegionModel, RegionParams, RegularInspectionFields, RegularInspectionModel, RenovationParams, RenovationStyle, RenovationType, RentPeriodTypes, RentalContractModel, RentalInspectionParams, RentalStatuses, RentalTypes, ResidentialComplexModel, ResidentialComplexParams, ResourceTypes, RoomModel, RoomParams, RoomType, RoomTypes, RoommateParams, SecurityObjectInfoInterface, ServiceContractListModel, ServiceContractLiteModel, ServiceContractModel, SettingsParams, SignInParams, SingleMeterParams, StatisticalEvaluationModel, StatisticalEvaluationParams, SubjectRoles, TVTypes, TagModel, TariffGroupLiteParams, TariffLinkModel, TariffStatuses, TaxResidenceType, TaxesTypes, TransferInspectionFields, TransferInspectionMeterModel, TransferInspectionModel, TransferInspectionTypes, UnitOfPaymentTypes, UploadDocumentParams, UploadFileParams, UploadFileResponse, UploadImageParams, UserNamesModel, UtilityPayerModel, UtilityTypes, Values, ValuesParams, WallMaterials, WaterMeterParams, WaterMeterTypes, WaterMetersResponse, WifiParams };
|
package/utils/index.d.ts
CHANGED
|
@@ -84,7 +84,15 @@ declare type DocumentModel = {
|
|
|
84
84
|
size: number;
|
|
85
85
|
uploaded_by?: string | null;
|
|
86
86
|
visibility?: DocumentVisibilityAPIVariants;
|
|
87
|
-
};
|
|
87
|
+
};
|
|
88
|
+
declare type EditConditions = {
|
|
89
|
+
can_edit: boolean;
|
|
90
|
+
reason: string;
|
|
91
|
+
allowed_fields: string[];
|
|
92
|
+
};
|
|
93
|
+
declare type ContractEditConditions = {
|
|
94
|
+
can_activate: boolean;
|
|
95
|
+
} & EditConditions;
|
|
88
96
|
|
|
89
97
|
declare type CatalogItemModel = {
|
|
90
98
|
id: number;
|
|
@@ -295,7 +303,7 @@ declare type RentalContractModel = {
|
|
|
295
303
|
closing_conditions: ClosingRentalContractFields;
|
|
296
304
|
first_appraisal_interval_month: number;
|
|
297
305
|
estate_agent?: ClientLiteModel;
|
|
298
|
-
|
|
306
|
+
edit_condition?: ContractEditConditions;
|
|
299
307
|
};
|
|
300
308
|
|
|
301
309
|
declare type RentPeriodTypes = "short" | "medium" | "long" | "any";
|
|
@@ -360,7 +368,7 @@ declare type ServiceContractModel = {
|
|
|
360
368
|
close_date?: string | null;
|
|
361
369
|
planned_end_date?: string | null;
|
|
362
370
|
closing_conditions: ClosingServiceContractFields;
|
|
363
|
-
|
|
371
|
+
edit_condition?: ContractEditConditions;
|
|
364
372
|
};
|
|
365
373
|
|
|
366
374
|
declare type PeriodStatus = "new" | "closed" | "overdue";
|