kui-crm 0.0.241 → 0.0.243
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 +9 -2
- package/package.json +1 -1
- package/types/index.d.ts +9 -2
- package/utils/index.d.ts +7 -0
package/index.d.ts
CHANGED
|
@@ -306,6 +306,11 @@ declare type PaginationRes<T> = {
|
|
|
306
306
|
next: string | null;
|
|
307
307
|
previous: string | null;
|
|
308
308
|
results: T;
|
|
309
|
+
};
|
|
310
|
+
declare type EditConditions = {
|
|
311
|
+
can_edit: boolean;
|
|
312
|
+
reason: string;
|
|
313
|
+
allowed_fields: string[];
|
|
309
314
|
};
|
|
310
315
|
|
|
311
316
|
declare type CatalogItemModel = {
|
|
@@ -549,6 +554,7 @@ declare type RentalContractModel = {
|
|
|
549
554
|
first_appraisal_interval_month: number;
|
|
550
555
|
estate_agent?: ClientLiteModel;
|
|
551
556
|
can_activate?: boolean;
|
|
557
|
+
edit_condition?: EditConditions;
|
|
552
558
|
};
|
|
553
559
|
|
|
554
560
|
declare type RentPeriodTypes = "short" | "medium" | "long" | "any";
|
|
@@ -614,6 +620,7 @@ declare type ServiceContractModel = {
|
|
|
614
620
|
planned_end_date?: string | null;
|
|
615
621
|
closing_conditions: ClosingServiceContractFields;
|
|
616
622
|
can_activate?: boolean;
|
|
623
|
+
edit_condition?: EditConditions;
|
|
617
624
|
};
|
|
618
625
|
declare type ServiceContractListModel = {
|
|
619
626
|
id: number;
|
|
@@ -666,7 +673,7 @@ declare type InspectionRoomPhotoModel = {
|
|
|
666
673
|
photos: ImageModel[];
|
|
667
674
|
room_order_number?: number | null;
|
|
668
675
|
};
|
|
669
|
-
declare type InspectionConditionReasons = "already_signed" | "invoice_already_fixed_for_impairments";
|
|
676
|
+
declare type InspectionConditionReasons = "already_signed" | "invoice_already_fixed_for_impairments" | "inspection_with_appraisal_or_impairments";
|
|
670
677
|
declare type InspectionEditConditionModel = {
|
|
671
678
|
can_edit: boolean;
|
|
672
679
|
reason: InspectionConditionReasons;
|
|
@@ -3078,4 +3085,4 @@ type SignInPageProps = {
|
|
|
3078
3085
|
|
|
3079
3086
|
declare const _default: (props: SignInPageProps) => JSX.Element;
|
|
3080
3087
|
|
|
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 };
|
|
3088
|
+
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, 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,6 +131,11 @@ declare type PaginationRes<T> = {
|
|
|
131
131
|
next: string | null;
|
|
132
132
|
previous: string | null;
|
|
133
133
|
results: T;
|
|
134
|
+
};
|
|
135
|
+
declare type EditConditions = {
|
|
136
|
+
can_edit: boolean;
|
|
137
|
+
reason: string;
|
|
138
|
+
allowed_fields: string[];
|
|
134
139
|
};
|
|
135
140
|
|
|
136
141
|
declare type CatalogItemModel = {
|
|
@@ -567,6 +572,7 @@ declare type RentalContractModel = {
|
|
|
567
572
|
first_appraisal_interval_month: number;
|
|
568
573
|
estate_agent?: ClientLiteModel;
|
|
569
574
|
can_activate?: boolean;
|
|
575
|
+
edit_condition?: EditConditions;
|
|
570
576
|
};
|
|
571
577
|
|
|
572
578
|
declare type RentPeriodTypes = "short" | "medium" | "long" | "any";
|
|
@@ -632,6 +638,7 @@ declare type ServiceContractModel = {
|
|
|
632
638
|
planned_end_date?: string | null;
|
|
633
639
|
closing_conditions: ClosingServiceContractFields;
|
|
634
640
|
can_activate?: boolean;
|
|
641
|
+
edit_condition?: EditConditions;
|
|
635
642
|
};
|
|
636
643
|
declare type ServiceContractListModel = {
|
|
637
644
|
id: number;
|
|
@@ -1269,7 +1276,7 @@ declare type InspectionRoomPhotoModel = {
|
|
|
1269
1276
|
photos: ImageModel[];
|
|
1270
1277
|
room_order_number?: number | null;
|
|
1271
1278
|
};
|
|
1272
|
-
declare type InspectionConditionReasons = "already_signed" | "invoice_already_fixed_for_impairments";
|
|
1279
|
+
declare type InspectionConditionReasons = "already_signed" | "invoice_already_fixed_for_impairments" | "inspection_with_appraisal_or_impairments";
|
|
1273
1280
|
declare type InspectionEditConditionModel = {
|
|
1274
1281
|
can_edit: boolean;
|
|
1275
1282
|
reason: InspectionConditionReasons;
|
|
@@ -1533,4 +1540,4 @@ declare type DocumentsAgentInterface = {
|
|
|
1533
1540
|
getDocuments?: (...params: any) => Promise<DocumentModel[]>;
|
|
1534
1541
|
} & DocumentAgentInterface;
|
|
1535
1542
|
|
|
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 };
|
|
1543
|
+
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, 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,6 +84,11 @@ declare type DocumentModel = {
|
|
|
84
84
|
size: number;
|
|
85
85
|
uploaded_by?: string | null;
|
|
86
86
|
visibility?: DocumentVisibilityAPIVariants;
|
|
87
|
+
};
|
|
88
|
+
declare type EditConditions = {
|
|
89
|
+
can_edit: boolean;
|
|
90
|
+
reason: string;
|
|
91
|
+
allowed_fields: string[];
|
|
87
92
|
};
|
|
88
93
|
|
|
89
94
|
declare type CatalogItemModel = {
|
|
@@ -296,6 +301,7 @@ declare type RentalContractModel = {
|
|
|
296
301
|
first_appraisal_interval_month: number;
|
|
297
302
|
estate_agent?: ClientLiteModel;
|
|
298
303
|
can_activate?: boolean;
|
|
304
|
+
edit_condition?: EditConditions;
|
|
299
305
|
};
|
|
300
306
|
|
|
301
307
|
declare type RentPeriodTypes = "short" | "medium" | "long" | "any";
|
|
@@ -361,6 +367,7 @@ declare type ServiceContractModel = {
|
|
|
361
367
|
planned_end_date?: string | null;
|
|
362
368
|
closing_conditions: ClosingServiceContractFields;
|
|
363
369
|
can_activate?: boolean;
|
|
370
|
+
edit_condition?: EditConditions;
|
|
364
371
|
};
|
|
365
372
|
|
|
366
373
|
declare type PeriodStatus = "new" | "closed" | "overdue";
|