kui-crm 0.0.566 → 0.0.568
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 +19 -3
- package/package.json +1 -1
- package/types/index.d.ts +19 -3
- package/utils/index.d.ts +13 -2
package/index.d.ts
CHANGED
|
@@ -347,6 +347,14 @@ declare type CounterpartyModel = {
|
|
|
347
347
|
is_privacy_policy_accepted?: boolean;
|
|
348
348
|
is_marketing_communications_accepted?: boolean;
|
|
349
349
|
is_public_offer_accepted?: boolean;
|
|
350
|
+
};
|
|
351
|
+
declare type LifecycleStatuses = "draft" | "active" | "closed";
|
|
352
|
+
declare type StatusStateModel<S, F = []> = {
|
|
353
|
+
status: LifecycleStatuses;
|
|
354
|
+
sub_status?: S;
|
|
355
|
+
flags?: F;
|
|
356
|
+
is_archived: boolean;
|
|
357
|
+
archived_at: string | null;
|
|
350
358
|
};
|
|
351
359
|
|
|
352
360
|
declare type CatalogItemModel = {
|
|
@@ -424,6 +432,10 @@ declare type ApartmentResourceModel = {
|
|
|
424
432
|
};
|
|
425
433
|
declare type ApartmentResourcesResponse = ApartmentResourceModel[];
|
|
426
434
|
|
|
435
|
+
declare type InspectionSignersModel = {
|
|
436
|
+
tenant?: number | null;
|
|
437
|
+
landlord?: number | null;
|
|
438
|
+
};
|
|
427
439
|
declare type InspectionRoomPhotoTypes = "kitchen" | "bathroom" | "room" | "bedroom" | "entrance" | "others" | "toilet" | "combined_bathroom" | "keys" | "additional" | "parking";
|
|
428
440
|
declare type TransferInspectionTypes = "maroom_tenant" | "tenant_maroom" | "maroom_landlord" | "tenant_landlord";
|
|
429
441
|
declare type InspectionFillingParams = {
|
|
@@ -494,6 +506,7 @@ declare type InspectionCommonFields = {
|
|
|
494
506
|
photos_archive?: string;
|
|
495
507
|
can_sign?: boolean;
|
|
496
508
|
reason?: string;
|
|
509
|
+
signers?: InspectionSignersModel | null;
|
|
497
510
|
};
|
|
498
511
|
declare type FullInspectionCommonFields = {
|
|
499
512
|
country_of_residence: CountryModel;
|
|
@@ -928,6 +941,7 @@ declare type RepresentativeModel = {
|
|
|
928
941
|
};
|
|
929
942
|
declare type ServiceContractModel = {
|
|
930
943
|
id: number;
|
|
944
|
+
state: ServiceContractStatusStateModel;
|
|
931
945
|
apartment: ApartmentLinkModel;
|
|
932
946
|
owner: LiteUserModel;
|
|
933
947
|
representatives: RepresentativeModel[];
|
|
@@ -944,7 +958,6 @@ declare type ServiceContractModel = {
|
|
|
944
958
|
sign_date: string;
|
|
945
959
|
start_date: string;
|
|
946
960
|
end_date: string;
|
|
947
|
-
status: ContractStatuses;
|
|
948
961
|
taxes_type: TaxesTypes;
|
|
949
962
|
initial_commission: string;
|
|
950
963
|
maintenance_commission: string;
|
|
@@ -980,6 +993,9 @@ declare type ServiceContractModel = {
|
|
|
980
993
|
public_offer_status?: OfferSignStatuses;
|
|
981
994
|
terms_acceptation?: ContractTermAcceptationModel;
|
|
982
995
|
};
|
|
996
|
+
declare type ServiceContractSubStatuses = "negotiation" | "appraisal" | "offer" | "transfer" | "rented_out" | "closing" | "completed" | "expired" | "cancelled" | "terminated" | "rejected" | "renewed" | "replaced";
|
|
997
|
+
declare type ServiceContractFlags = "new" | "expiring_soon" | "overdue" | "n/a" | "attention" | "problem" | "vip" | "dispute";
|
|
998
|
+
declare type ServiceContractStatusStateModel = StatusStateModel<ServiceContractSubStatuses, ServiceContractFlags[]>;
|
|
983
999
|
declare type ServiceContractListModel = {
|
|
984
1000
|
id: number;
|
|
985
1001
|
apartment: ApartmentLinkModel;
|
|
@@ -987,7 +1003,7 @@ declare type ServiceContractListModel = {
|
|
|
987
1003
|
owner: LiteUserModel;
|
|
988
1004
|
renter: LiteUserModel;
|
|
989
1005
|
agent_report_payment_status: PaymentStatuses;
|
|
990
|
-
|
|
1006
|
+
state: ServiceContractStatusStateModel;
|
|
991
1007
|
rental_type: RentalTypes;
|
|
992
1008
|
};
|
|
993
1009
|
|
|
@@ -3803,4 +3819,4 @@ type SignInPageProps = {
|
|
|
3803
3819
|
|
|
3804
3820
|
declare const _default: (props: SignInPageProps) => JSX.Element;
|
|
3805
3821
|
|
|
3806
|
-
export { APIPayerValues, APIPayerValuesWithoutInvoice, APISubjectRoles, AccordionWithSummary, ActivateConditions, 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, ApartmentMetroItem, ApartmentMetroParams, ApartmentMetroStationModel, ApartmentMetroStationsParams, ApartmentMetroWithCustomParams, ApartmentModel, ApartmentOverviewInfoFields, ApartmentOverviewPaymentInfoFields, ApartmentPartialDescriptionParams, ApartmentPartialModel, ApartmentPaymentInfoParams, ApartmentResourceCompanyDetails, ApartmentResourceCompanyModel, ApartmentResourceFieldsParams, ApartmentResourceInterface, ApartmentResourceModel, ApartmentResourceTypes, ApartmentResourceTypesAPI, ApartmentResourcesResponse, ApartmentSecurityInfoParams, ApartmentSimpleModel, ApartmentTelecommunicationInfoParams, ApartmentWithHouseInfoModelFields, ApartmentsAgent, ApiTokenAuthResponse, AppraisalInspectionFields, AppraisalInspectionModel, AppraisalOfferModel, AppraisalOfferParams, AppraisalRequestModel, AppraisalRequestModelFields, AppraisalTenantChoice, AppraisalTenantOfferModel, AppraisalType, AuthAgent, AutoMeterWarningBillet, BasicMeterFeaturesFormFields, BasicMeterFieldsSettings, BigCheckbox, BooleanValues, Breadcrumbs, CatalogItemModel, CatalogItemParams, CatalogsAgent, ChangeReasonField, ChangeReasonFields, ChangeReasonFieldsProps, ChangeReasonFormFields, getChangeReasonSchema as ChangeReasonSchema, CheckboxWithHint, CitiesStore, _default$o as CityAutocomplete, CityAutocompleteFields, CityAutocompleteProps, CityModel, CityParams, ClientLinkModel, ClientLiteModel, ClientRoles, ClientSimpleParams, ClientTypes, ClosingRentalContractFields, ClosingServiceContractFields, CoOwnerModel, CoOwnerParams, CommonMeterParams, getCommonTariffFieldsSchema as CommonTariffFieldsSchema, CommonTariffModel, CompaniesAgent, CompaniesStore, CompanyAPITypes, _default$n as CompanyAutocomplete, CompanyAutocompleteFields, CompanyByTinRequestBody, CompanyCreationFields, CompanyCreationForm, CompanyCreationFormProps, _default$m as CompanyCreationModal, CompanyFields, CompanyInfoModel, _default$b as CompanyInnAutocomplete, CompanyLiteParams, CompanyLogoModel, CompanyMainInfoModel, CompanyMainOfficeModel, CompanyModel, CompanyOfficeModel, CompanyOfficeWithoutIdModel, CompanyParams, CompanyTypes$1 as CompanyTypes, CompanyTypesValues, ComparableObjectModel, ComparableObjectParams, ContractLinkModel, ContractPeriodTypes, ContractStatuses, ContractTermAcceptationModel, ContractTermAcceptationStatuses, CopyButton, CounterpartyModel, CountriesStore, _default$q as CountryAutocomplete, CountryAutocompleteFields, CountryModel, CountryParams, CountyModel, CountyParams, DataSubmissionDaysParams, DataTransferFormats, DataTransmissionFormats, DeepPartial, DetailObjectInfoInterface, _default$f as DistrictAutocomplete, DistrictModel, DistrictParams, DistrictsStore, DocumentAgentInterface, DocumentModel, DocumentVisibilityAPIVariants, DocumentVisibilityVariants, DocumentWithVisibility, DocumentsAgentInterface, DocumentsStoreInterface, _default$8 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, FillingFullParams, FillingInfoFormFields, FillingListItemModel, FillingParams, FillingTagCreationForm, _default$j as FillingTagCreationModal, FillingTagModel, FillingTagParams, FillingTagsAgent, _default$i as FillingTagsAutocomplete, FillingTagsAutocompleteFields, FillingTagsAutocompleteProps, FillingTagsStore, FillingTypeValues, FillingTypes, FixedCostModel, FixedCostParams, FormBottom, FormBottomProps, FormBottomWrapper, FormStepsIndicator, FormWrapper, FormWrapperProps, FullInspectionCommonFields, _default$9 as FullSlider, FullSliderModal, GalleryWithThumbnails, GasMetersResponse, GasTariffCreationFields, GasTypes, GasTypesValues, GenderAPIVariants, GeolocationParams, GetCatalogResponse, GetCitiesResponse, GetCommonTariffsResponse, GetCompaniesResponse, GetCountiesResponse, GetCountriesResponse, GetDistrictsResponse, GetLockersResponse, GetRegionsResponse, GetResidentialComplexesResponse, GetTagsResponse, GridAdaptiveContainer, GroupedFillingParams, 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, InputPassword, InputTypes, _default$4 as InputWithAddressAutocomplete, InputWithAddressFields, InspectionBasedOnModel, InspectionBasedOnParams, InspectionCommonFields, InspectionConditionReasons, InspectionContractModel, InspectionEditConditionModel, InspectionFeedbackInterface, InspectionFeedbackModel, InspectionFeedbackParams, InspectionFeedbackStatus, InspectionFieldsSettings, InspectionFillingModel, InspectionFillingParams, InspectionMeterCommonInfo, InspectionMeterFields, InspectionMeterInfoParams, InspectionMeterValueModel, InspectionMetersInfoParams, InspectionModel, InspectionPartialMetersInfoParams, InspectionPaymentInfoParams, InspectionResourcesModel, InspectionRoomPhotoModel, InspectionRoomPhotoTypes, InspectionStatus, InspectionTypeValues, InspectionTypes, InternetProviderModel, InternetProviderParams, InventoryInspectionFields, InventoryInspectionMeterModel, InventoryInspectionModel, KUICrmSettings, kuiSettings as KUISettings, LatLonParams, Link, LinkField, LinkProps, LiteMeterInterface, LiteObjectModel, LiteUserModel, LoadStatus, LoaderPopup, _default$c as LoaderState, LoadingWithSparkles, LockerAutocompleteFields, LockerModel, LockerParams, MainObjectInfoInterface, _default$l as MapComponent, MapOverlay, MapStore, MaxMetersInfoParams, MeterCommonInfoModel, MeterFeaturesFields, MeterFeaturesFieldsProps, _default$h as MeterFeaturesForm, MeterFeaturesFormFields, MeterFeaturesFormProps, MeterModel, MeterPayerModel, MeterTariffModel, MeterTypeRadioGroup, MeterTypes, MeterValues, MetersCountParams, MetersLightResponse, MetersResponse, MetersResponseBody, _default$7 as MetroAutocomplete, _default$6 as MetroBlock, _default$5 as MetroBlockForModal, MetroLineModel, MetroLineParams, MetroStationModel, MetroStationParams, MetroStationsFields, MetroStore, Modal, ModalProps, _default$k as ModalWithMap, _default$a as MultistepForm, NumberField, ObjectForMapModel, ObjectMetroStationParams, ObjectType, OfferSignStatuses, OpenMapButton, OptionDropdownType, OverlapTypes, PageBreadcrumbs, PaginationRes, ParkingTypes, ParkingTypesValues, PartialMeterInfoFields, PartialMeterInfoParams, PartialMeterValuesFields, PartialPayer, PartialPayerFields, PartialPayerProps, PartialPayerValues, PartialPayerVariants, PatchApartmentParams, PatchBillingInfoParams, PatchCompanyParams, PatchDocumentRequest, PatchFileParams, PatchInspectionImageParams, PatchInspectionVideoParams, PatchRoomImagesParams, PaymentStatuses, PeriodStatus, PhoneParams, PhotoSlider, PostCommonTariffParams, PostCompaniesRequest, PostDocumentsResponse, PostElectricityTariffRequest, PostGasTariffRequest, PostHeatingTariffRequest, PostInspectionFillingListModel, PostInspectionFillingModel, PostTariffRequest, PostWaterTariffRequest, PreviewContent, PreviewImageCard, _default$p as RegionAutocomplete, RegionAutocompleteFields, RegionAutocompleteProps, RegionModel, RegionParams, RegionsStore, RegularInspectionFields, RegularInspectionModel, RenderMeterFieldsSettings, RenovationParams, RenovationStyle, RenovationStyleValues, RenovationType, RenovationTypeValues, RentPeriodTypeValues, RentPeriodTypes, RentalContractInfoValues, RentalContractModel, RentalInspectionParams, RentalPaymentStatuses, RentalStatuses, RentalTypes, _default$g as ReplaceableCountersBlock, RepresentativeModel, RepresentativeTypes, ResidentialComplexModel, ResidentialComplexParams, ResourceAccessParams, ResourcePaymentRoles, ResourceTypes, ResourceValues, RoomModel, RoomParams, RoomType, RoomTypeValues, RoomTypes, RoomTypesValues, RoommateParams, ScrollingContainer, SecurityObjectInfoInterface, ServiceContractFixedCostsFields, ServiceContractInfoValues, ServiceContractListModel, ServiceContractLiteModel, ServiceContractModel, SettingsParams, SignInFormFields, _default as SignInPage, SignInParams, SingleMeterParams, SlabsTypesValues, SliderThumbnails, SquarePreviewImage, StatisticalEvaluationModel, StatisticalEvaluationParams, SubjectRoles, TVTypes, TVTypesValues, TableBottomLoading, TagModel, TariffCreationFieldsProps, _default$d as TariffCreationForm, TariffCreationFormFields, TariffCreationFormProps, TariffCreationModal, TariffCreationValuesFields, _default$e 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, _default$3 as UploadPhotosButton, UploadedFileParams, _default$2 as UploadedPhotoWithStatus, _default$1 as UploadedPhotosGallery, UsedResourcesModel, UserBadge, UserNamesModel, UtilityPayerModel, UtilityTypes, Values, ValuesParams, VideoBodyRequest, VideoModel, WallMaterials, WallMaterialsValues, WarningBillet, WaterMeterParams, WaterMeterTypes, WaterMetersResponse, WaterTariffCreationFields, WaterValues, WifiParams, apartmentFields, authFlag, basicFieldsOfNewResourceMeter, csrfTokenKey, defaultRequiredMessage, fieldWithConditionSchema, genderMatches, getApartmentDetailInfoFields, getApartmentPaymentFields, getBodyForFileRequest, getBodyForImageRequest, getBodyForPostDocument, getBodyForPostFile, getBodyForPostImage, getBodyForVideoRequest, getElectricityTariffFields, getFillingInfoFields, getFillingInfoFieldsSchema, getInspectionFeedbackStatus, getMeterFeaturesFieldsSchema, getMeterFields, getMeterValuesFieldsSchema, getNumbersValues, getPartialMeterInfoFields, getPatchFileParams, getPositiveNumberSchema, getUpdatedFileParams, getUtilitiesPayerParams, getVideoDurationInSeconds, matchesAPICompanyTypes, matchesAPIFillingTypes, matchesAPISubjectRoles, matchesAPIVisibilityVariants, matchesApartmentStatuses, matchesCompanyTypes, matchesFillingTypes, matchesServiceTypes, matchesSubjectRoles, matchesVisibilityVariants, meterUnitLabel, phoneNonRequiredSchema, phoneWithConditionSchema, requests, sessionIdKey, setFileFromFileWithVisibility, setNestedNameValue, uploadDocument, uploadDocuments, uploadFile, uploadFiles, uploadFilesWithoutFilter, uploadImage, uploadImages, uploadMediaToStore, uploadNewFile, uploadVideo, uploadVideos, useAutocomplete, useFetchPage, useMapCards, usePaginationPage, usePortalPosition, useScrollWithBottomSpacing };
|
|
3822
|
+
export { APIPayerValues, APIPayerValuesWithoutInvoice, APISubjectRoles, AccordionWithSummary, ActivateConditions, 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, ApartmentMetroItem, ApartmentMetroParams, ApartmentMetroStationModel, ApartmentMetroStationsParams, ApartmentMetroWithCustomParams, ApartmentModel, ApartmentOverviewInfoFields, ApartmentOverviewPaymentInfoFields, ApartmentPartialDescriptionParams, ApartmentPartialModel, ApartmentPaymentInfoParams, ApartmentResourceCompanyDetails, ApartmentResourceCompanyModel, ApartmentResourceFieldsParams, ApartmentResourceInterface, ApartmentResourceModel, ApartmentResourceTypes, ApartmentResourceTypesAPI, ApartmentResourcesResponse, ApartmentSecurityInfoParams, ApartmentSimpleModel, ApartmentTelecommunicationInfoParams, ApartmentWithHouseInfoModelFields, ApartmentsAgent, ApiTokenAuthResponse, AppraisalInspectionFields, AppraisalInspectionModel, AppraisalOfferModel, AppraisalOfferParams, AppraisalRequestModel, AppraisalRequestModelFields, AppraisalTenantChoice, AppraisalTenantOfferModel, AppraisalType, AuthAgent, AutoMeterWarningBillet, BasicMeterFeaturesFormFields, BasicMeterFieldsSettings, BigCheckbox, BooleanValues, Breadcrumbs, CatalogItemModel, CatalogItemParams, CatalogsAgent, ChangeReasonField, ChangeReasonFields, ChangeReasonFieldsProps, ChangeReasonFormFields, getChangeReasonSchema as ChangeReasonSchema, CheckboxWithHint, CitiesStore, _default$o as CityAutocomplete, CityAutocompleteFields, CityAutocompleteProps, CityModel, CityParams, ClientLinkModel, ClientLiteModel, ClientRoles, ClientSimpleParams, ClientTypes, ClosingRentalContractFields, ClosingServiceContractFields, CoOwnerModel, CoOwnerParams, CommonMeterParams, getCommonTariffFieldsSchema as CommonTariffFieldsSchema, CommonTariffModel, CompaniesAgent, CompaniesStore, CompanyAPITypes, _default$n as CompanyAutocomplete, CompanyAutocompleteFields, CompanyByTinRequestBody, CompanyCreationFields, CompanyCreationForm, CompanyCreationFormProps, _default$m as CompanyCreationModal, CompanyFields, CompanyInfoModel, _default$b as CompanyInnAutocomplete, CompanyLiteParams, CompanyLogoModel, CompanyMainInfoModel, CompanyMainOfficeModel, CompanyModel, CompanyOfficeModel, CompanyOfficeWithoutIdModel, CompanyParams, CompanyTypes$1 as CompanyTypes, CompanyTypesValues, ComparableObjectModel, ComparableObjectParams, ContractLinkModel, ContractPeriodTypes, ContractStatuses, ContractTermAcceptationModel, ContractTermAcceptationStatuses, CopyButton, CounterpartyModel, CountriesStore, _default$q as CountryAutocomplete, CountryAutocompleteFields, CountryModel, CountryParams, CountyModel, CountyParams, DataSubmissionDaysParams, DataTransferFormats, DataTransmissionFormats, DeepPartial, DetailObjectInfoInterface, _default$f as DistrictAutocomplete, DistrictModel, DistrictParams, DistrictsStore, DocumentAgentInterface, DocumentModel, DocumentVisibilityAPIVariants, DocumentVisibilityVariants, DocumentWithVisibility, DocumentsAgentInterface, DocumentsStoreInterface, _default$8 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, FillingFullParams, FillingInfoFormFields, FillingListItemModel, FillingParams, FillingTagCreationForm, _default$j as FillingTagCreationModal, FillingTagModel, FillingTagParams, FillingTagsAgent, _default$i as FillingTagsAutocomplete, FillingTagsAutocompleteFields, FillingTagsAutocompleteProps, FillingTagsStore, FillingTypeValues, FillingTypes, FixedCostModel, FixedCostParams, FormBottom, FormBottomProps, FormBottomWrapper, FormStepsIndicator, FormWrapper, FormWrapperProps, FullInspectionCommonFields, _default$9 as FullSlider, FullSliderModal, GalleryWithThumbnails, GasMetersResponse, GasTariffCreationFields, GasTypes, GasTypesValues, GenderAPIVariants, GeolocationParams, GetCatalogResponse, GetCitiesResponse, GetCommonTariffsResponse, GetCompaniesResponse, GetCountiesResponse, GetCountriesResponse, GetDistrictsResponse, GetLockersResponse, GetRegionsResponse, GetResidentialComplexesResponse, GetTagsResponse, GridAdaptiveContainer, GroupedFillingParams, 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, InputPassword, InputTypes, _default$4 as InputWithAddressAutocomplete, InputWithAddressFields, InspectionBasedOnModel, InspectionBasedOnParams, InspectionCommonFields, InspectionConditionReasons, InspectionContractModel, InspectionEditConditionModel, InspectionFeedbackInterface, InspectionFeedbackModel, InspectionFeedbackParams, InspectionFeedbackStatus, InspectionFieldsSettings, InspectionFillingModel, InspectionFillingParams, InspectionMeterCommonInfo, InspectionMeterFields, InspectionMeterInfoParams, InspectionMeterValueModel, InspectionMetersInfoParams, InspectionModel, InspectionPartialMetersInfoParams, InspectionPaymentInfoParams, InspectionResourcesModel, InspectionRoomPhotoModel, InspectionRoomPhotoTypes, InspectionSignersModel, InspectionStatus, InspectionTypeValues, InspectionTypes, InternetProviderModel, InternetProviderParams, InventoryInspectionFields, InventoryInspectionMeterModel, InventoryInspectionModel, KUICrmSettings, kuiSettings as KUISettings, LatLonParams, LifecycleStatuses, Link, LinkField, LinkProps, LiteMeterInterface, LiteObjectModel, LiteUserModel, LoadStatus, LoaderPopup, _default$c as LoaderState, LoadingWithSparkles, LockerAutocompleteFields, LockerModel, LockerParams, MainObjectInfoInterface, _default$l as MapComponent, MapOverlay, MapStore, MaxMetersInfoParams, MeterCommonInfoModel, MeterFeaturesFields, MeterFeaturesFieldsProps, _default$h as MeterFeaturesForm, MeterFeaturesFormFields, MeterFeaturesFormProps, MeterModel, MeterPayerModel, MeterTariffModel, MeterTypeRadioGroup, MeterTypes, MeterValues, MetersCountParams, MetersLightResponse, MetersResponse, MetersResponseBody, _default$7 as MetroAutocomplete, _default$6 as MetroBlock, _default$5 as MetroBlockForModal, MetroLineModel, MetroLineParams, MetroStationModel, MetroStationParams, MetroStationsFields, MetroStore, Modal, ModalProps, _default$k as ModalWithMap, _default$a as MultistepForm, NumberField, ObjectForMapModel, ObjectMetroStationParams, ObjectType, OfferSignStatuses, OpenMapButton, OptionDropdownType, OverlapTypes, PageBreadcrumbs, PaginationRes, ParkingTypes, ParkingTypesValues, PartialMeterInfoFields, PartialMeterInfoParams, PartialMeterValuesFields, PartialPayer, PartialPayerFields, PartialPayerProps, PartialPayerValues, PartialPayerVariants, PatchApartmentParams, PatchBillingInfoParams, PatchCompanyParams, PatchDocumentRequest, PatchFileParams, PatchInspectionImageParams, PatchInspectionVideoParams, PatchRoomImagesParams, PaymentStatuses, PeriodStatus, PhoneParams, PhotoSlider, PostCommonTariffParams, PostCompaniesRequest, PostDocumentsResponse, PostElectricityTariffRequest, PostGasTariffRequest, PostHeatingTariffRequest, PostInspectionFillingListModel, PostInspectionFillingModel, PostTariffRequest, PostWaterTariffRequest, PreviewContent, PreviewImageCard, _default$p as RegionAutocomplete, RegionAutocompleteFields, RegionAutocompleteProps, RegionModel, RegionParams, RegionsStore, RegularInspectionFields, RegularInspectionModel, RenderMeterFieldsSettings, RenovationParams, RenovationStyle, RenovationStyleValues, RenovationType, RenovationTypeValues, RentPeriodTypeValues, RentPeriodTypes, RentalContractInfoValues, RentalContractModel, RentalInspectionParams, RentalPaymentStatuses, RentalStatuses, RentalTypes, _default$g as ReplaceableCountersBlock, RepresentativeModel, RepresentativeTypes, ResidentialComplexModel, ResidentialComplexParams, ResourceAccessParams, ResourcePaymentRoles, ResourceTypes, ResourceValues, RoomModel, RoomParams, RoomType, RoomTypeValues, RoomTypes, RoomTypesValues, RoommateParams, ScrollingContainer, SecurityObjectInfoInterface, ServiceContractFixedCostsFields, ServiceContractFlags, ServiceContractInfoValues, ServiceContractListModel, ServiceContractLiteModel, ServiceContractModel, ServiceContractStatusStateModel, ServiceContractSubStatuses, SettingsParams, SignInFormFields, _default as SignInPage, SignInParams, SingleMeterParams, SlabsTypesValues, SliderThumbnails, SquarePreviewImage, StatisticalEvaluationModel, StatisticalEvaluationParams, StatusStateModel, SubjectRoles, TVTypes, TVTypesValues, TableBottomLoading, TagModel, TariffCreationFieldsProps, _default$d as TariffCreationForm, TariffCreationFormFields, TariffCreationFormProps, TariffCreationModal, TariffCreationValuesFields, _default$e 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, _default$3 as UploadPhotosButton, UploadedFileParams, _default$2 as UploadedPhotoWithStatus, _default$1 as UploadedPhotosGallery, UsedResourcesModel, UserBadge, UserNamesModel, UtilityPayerModel, UtilityTypes, Values, ValuesParams, VideoBodyRequest, VideoModel, WallMaterials, WallMaterialsValues, WarningBillet, WaterMeterParams, WaterMeterTypes, WaterMetersResponse, WaterTariffCreationFields, WaterValues, WifiParams, apartmentFields, authFlag, basicFieldsOfNewResourceMeter, csrfTokenKey, defaultRequiredMessage, fieldWithConditionSchema, genderMatches, getApartmentDetailInfoFields, getApartmentPaymentFields, getBodyForFileRequest, getBodyForImageRequest, getBodyForPostDocument, getBodyForPostFile, getBodyForPostImage, getBodyForVideoRequest, getElectricityTariffFields, getFillingInfoFields, getFillingInfoFieldsSchema, getInspectionFeedbackStatus, getMeterFeaturesFieldsSchema, getMeterFields, getMeterValuesFieldsSchema, getNumbersValues, getPartialMeterInfoFields, getPatchFileParams, getPositiveNumberSchema, getUpdatedFileParams, getUtilitiesPayerParams, getVideoDurationInSeconds, matchesAPICompanyTypes, matchesAPIFillingTypes, matchesAPISubjectRoles, matchesAPIVisibilityVariants, matchesApartmentStatuses, matchesCompanyTypes, matchesFillingTypes, matchesServiceTypes, matchesSubjectRoles, matchesVisibilityVariants, meterUnitLabel, phoneNonRequiredSchema, phoneWithConditionSchema, requests, sessionIdKey, setFileFromFileWithVisibility, setNestedNameValue, uploadDocument, uploadDocuments, uploadFile, uploadFiles, uploadFilesWithoutFilter, uploadImage, uploadImages, uploadMediaToStore, uploadNewFile, uploadVideo, uploadVideos, useAutocomplete, useFetchPage, useMapCards, usePaginationPage, usePortalPosition, useScrollWithBottomSpacing };
|
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -167,6 +167,14 @@ declare type CounterpartyModel = {
|
|
|
167
167
|
is_privacy_policy_accepted?: boolean;
|
|
168
168
|
is_marketing_communications_accepted?: boolean;
|
|
169
169
|
is_public_offer_accepted?: boolean;
|
|
170
|
+
};
|
|
171
|
+
declare type LifecycleStatuses = "draft" | "active" | "closed";
|
|
172
|
+
declare type StatusStateModel<S, F = []> = {
|
|
173
|
+
status: LifecycleStatuses;
|
|
174
|
+
sub_status?: S;
|
|
175
|
+
flags?: F;
|
|
176
|
+
is_archived: boolean;
|
|
177
|
+
archived_at: string | null;
|
|
170
178
|
};
|
|
171
179
|
|
|
172
180
|
declare type CatalogItemModel = {
|
|
@@ -668,6 +676,7 @@ declare type RepresentativeModel = {
|
|
|
668
676
|
};
|
|
669
677
|
declare type ServiceContractModel = {
|
|
670
678
|
id: number;
|
|
679
|
+
state: ServiceContractStatusStateModel;
|
|
671
680
|
apartment: ApartmentLinkModel;
|
|
672
681
|
owner: LiteUserModel;
|
|
673
682
|
representatives: RepresentativeModel[];
|
|
@@ -684,7 +693,6 @@ declare type ServiceContractModel = {
|
|
|
684
693
|
sign_date: string;
|
|
685
694
|
start_date: string;
|
|
686
695
|
end_date: string;
|
|
687
|
-
status: ContractStatuses;
|
|
688
696
|
taxes_type: TaxesTypes;
|
|
689
697
|
initial_commission: string;
|
|
690
698
|
maintenance_commission: string;
|
|
@@ -720,6 +728,9 @@ declare type ServiceContractModel = {
|
|
|
720
728
|
public_offer_status?: OfferSignStatuses;
|
|
721
729
|
terms_acceptation?: ContractTermAcceptationModel;
|
|
722
730
|
};
|
|
731
|
+
declare type ServiceContractSubStatuses = "negotiation" | "appraisal" | "offer" | "transfer" | "rented_out" | "closing" | "completed" | "expired" | "cancelled" | "terminated" | "rejected" | "renewed" | "replaced";
|
|
732
|
+
declare type ServiceContractFlags = "new" | "expiring_soon" | "overdue" | "n/a" | "attention" | "problem" | "vip" | "dispute";
|
|
733
|
+
declare type ServiceContractStatusStateModel = StatusStateModel<ServiceContractSubStatuses, ServiceContractFlags[]>;
|
|
723
734
|
declare type ServiceContractListModel = {
|
|
724
735
|
id: number;
|
|
725
736
|
apartment: ApartmentLinkModel;
|
|
@@ -727,7 +738,7 @@ declare type ServiceContractListModel = {
|
|
|
727
738
|
owner: LiteUserModel;
|
|
728
739
|
renter: LiteUserModel;
|
|
729
740
|
agent_report_payment_status: PaymentStatuses;
|
|
730
|
-
|
|
741
|
+
state: ServiceContractStatusStateModel;
|
|
731
742
|
rental_type: RentalTypes;
|
|
732
743
|
};
|
|
733
744
|
|
|
@@ -1229,6 +1240,10 @@ declare type ApartmentResourceModel = {
|
|
|
1229
1240
|
};
|
|
1230
1241
|
declare type ApartmentResourcesResponse = ApartmentResourceModel[];
|
|
1231
1242
|
|
|
1243
|
+
declare type InspectionSignersModel = {
|
|
1244
|
+
tenant?: number | null;
|
|
1245
|
+
landlord?: number | null;
|
|
1246
|
+
};
|
|
1232
1247
|
declare type InspectionRoomPhotoTypes = "kitchen" | "bathroom" | "room" | "bedroom" | "entrance" | "others" | "toilet" | "combined_bathroom" | "keys" | "additional" | "parking";
|
|
1233
1248
|
declare type TransferInspectionTypes = "maroom_tenant" | "tenant_maroom" | "maroom_landlord" | "tenant_landlord";
|
|
1234
1249
|
declare type InspectionFillingParams = {
|
|
@@ -1299,6 +1314,7 @@ declare type InspectionCommonFields = {
|
|
|
1299
1314
|
photos_archive?: string;
|
|
1300
1315
|
can_sign?: boolean;
|
|
1301
1316
|
reason?: string;
|
|
1317
|
+
signers?: InspectionSignersModel | null;
|
|
1302
1318
|
};
|
|
1303
1319
|
declare type FullInspectionCommonFields = {
|
|
1304
1320
|
country_of_residence: CountryModel;
|
|
@@ -2099,4 +2115,4 @@ declare type MetroStationParams = {
|
|
|
2099
2115
|
status: string;
|
|
2100
2116
|
};
|
|
2101
2117
|
|
|
2102
|
-
export { APISubjectRoles, ActivateConditions, 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, ApartmentMetroStationModel, ApartmentMetroStationsParams, ApartmentMetroWithCustomParams, ApartmentModel, ApartmentOverviewInfoFields, ApartmentOverviewPaymentInfoFields, ApartmentPartialDescriptionParams, ApartmentPartialModel, ApartmentPaymentInfoParams, ApartmentResourceCompanyDetails, ApartmentResourceCompanyModel, ApartmentResourceFieldsParams, ApartmentResourceInterface, ApartmentResourceModel, ApartmentResourceTypes, ApartmentResourceTypesAPI, ApartmentResourcesResponse, ApartmentSecurityInfoParams, ApartmentSimpleModel, ApartmentTelecommunicationInfoParams, ApartmentWithHouseInfoModelFields, ApiTokenAuthResponse, AppraisalInspectionFields, AppraisalInspectionModel, AppraisalOfferModel, AppraisalOfferParams, AppraisalRequestModel, AppraisalRequestModelFields, AppraisalTenantChoice, AppraisalTenantOfferModel, AppraisalType, CatalogItemModel, CatalogItemParams, CityModel, CityParams, ClientLinkModel, ClientLiteModel, ClientRoles, ClientSimpleParams, ClientTypes, ClosingRentalContractFields, ClosingServiceContractFields, CoOwnerModel, CoOwnerParams, CommonMeterParams, CommonTariffModel, CompanyAPITypes, CompanyByTinRequestBody, CompanyInfoModel, CompanyLiteParams, CompanyLogoModel, CompanyMainInfoModel, CompanyMainOfficeModel, CompanyModel, CompanyOfficeModel, CompanyOfficeWithoutIdModel, CompanyParams, CompanyTypes$1 as CompanyTypes, ComparableObjectModel, ComparableObjectParams, ContractLinkModel, ContractPeriodTypes, ContractStatuses, ContractTermAcceptationModel, ContractTermAcceptationStatuses, CounterpartyModel, CountryModel, CountryParams, CountyModel, CountyParams, DataSubmissionDaysParams, DataTransferFormats, DataTransmissionFormats, DeepPartial, DetailObjectInfoInterface, DistrictModel, DistrictParams, DocumentAgentInterface, DocumentModel$1 as DocumentModel, DocumentVisibilityAPIVariants$1 as DocumentVisibilityAPIVariants, DocumentVisibilityVariants$1 as DocumentVisibilityVariants, DocumentWithVisibility$1 as DocumentWithVisibility, DocumentsAgentInterface, DocumentsStoreInterface, EditConditions, ElectricityMeterParams, ElectricityMeterTypes$1 as ElectricityMeterTypes, ElectricityMeterValues, ElectricityMetersResponse, EmptyType, EntityLinkParams, FetchApartmentOwnersResponse, FetchApartmentsResponse, FieldsSettings, FileBodyRequest$1 as FileBodyRequest, FileModel$1 as FileModel, FileParams, FileStoreInterface, FileStoreParams$1 as FileStoreParams, FileVariant$1 as FileVariant, FilesStoreInterface, FillingFullParams, FillingInfoFormFields, FillingListItemModel, FillingParams, FillingTagModel, FillingTagParams, FillingTypes, FixedCostModel, FixedCostParams, FullInspectionCommonFields, GasMetersResponse, GasTypes, GenderAPIVariants, GeolocationParams, GetCatalogResponse, GetCitiesResponse, GetCommonTariffsResponse, GetCompaniesResponse, GetCountiesResponse, GetCountriesResponse, GetDistrictsResponse, GetLockersResponse, GetRegionsResponse, GetResidentialComplexesResponse, GetTagsResponse, GroupedFillingParams, HeatingMetersResponse, HouseInfoModelFields, HouseTypes, ImageBodyRequest$1 as ImageBodyRequest, ImageModel$1 as ImageModel, ImageParams, ImageStoreInterface, ImpairmentModel, ImpairmentType, ImpairmentTypes, ImpairmentsInspectionModel, InitialInspectionModel, InitialInspectionModelFields, InspectionBasedOnModel, InspectionBasedOnParams, InspectionCommonFields, InspectionConditionReasons, InspectionContractModel, InspectionEditConditionModel, InspectionFeedbackInterface, InspectionFeedbackModel, InspectionFeedbackParams, InspectionFeedbackStatus, InspectionFillingModel, InspectionFillingParams, InspectionMeterCommonInfo, InspectionMeterFields, InspectionMeterInfoParams, InspectionMeterValueModel, InspectionMetersInfoParams, InspectionModel, InspectionPartialMetersInfoParams, InspectionPaymentInfoParams, InspectionResourcesModel, InspectionRoomPhotoModel, InspectionRoomPhotoTypes, InspectionStatus, InspectionTypes, InternetProviderModel, InternetProviderParams, InventoryInspectionFields, InventoryInspectionMeterModel, InventoryInspectionModel, LatLonParams, LiteMeterInterface, LiteObjectModel, LiteUserModel, LoadStatus$1 as LoadStatus, LockerAutocompleteFields, LockerModel, LockerParams, MainObjectInfoInterface, MaxMetersInfoParams, MeterCommonInfoModel, MeterModel, MeterPayerModel, MeterTariffModel, MeterTypes$1 as MeterTypes, MeterValues, MetersCountParams, MetersLightResponse, MetersResponse, MetersResponseBody, MetroLineModel, MetroLineParams, MetroStationModel, MetroStationParams, MetroStationsFields, ObjectForMapModel, ObjectMetroStationParams, ObjectType, OfferSignStatuses, OverlapTypes, PaginationRes, ParkingTypes, PartialMeterInfoParams, PatchApartmentParams, PatchBillingInfoParams, PatchCompanyParams, PatchDocumentRequest, PatchFileParams, PatchInspectionImageParams, PatchInspectionVideoParams, PatchRoomImagesParams, PaymentStatuses, PeriodStatus, PhoneParams, PostCommonTariffParams, PostCompaniesRequest, PostDocumentsResponse, PostElectricityTariffRequest, PostGasTariffRequest, PostHeatingTariffRequest, PostInspectionFillingListModel, PostInspectionFillingModel, PostTariffRequest, PostWaterTariffRequest, RegionModel, RegionParams, RegularInspectionFields, RegularInspectionModel, RenovationParams, RenovationStyle, RenovationType, RentPeriodTypes, RentalContractInfoValues, RentalContractModel, RentalInspectionParams, RentalPaymentStatuses, RentalStatuses, RentalTypes, RepresentativeModel, RepresentativeTypes, ResidentialComplexModel, ResidentialComplexParams, ResourceAccessParams, ResourcePaymentRoles$1 as ResourcePaymentRoles, ResourceTypes$1 as ResourceTypes, RoomModel, RoomParams, RoomType, RoomTypes, RoommateParams, SecurityObjectInfoInterface, ServiceContractFixedCostsFields, ServiceContractInfoValues, ServiceContractListModel, ServiceContractLiteModel, ServiceContractModel, SettingsParams, SignInParams, SingleMeterParams, StatisticalEvaluationModel, StatisticalEvaluationParams, SubjectRoles, TVTypes, TagModel, TariffGroupLiteParams, TariffLinkModel, TariffStatuses, TaxResidenceType, TaxesTypes, TransferInspectionFields, TransferInspectionMeterModel, TransferInspectionModel, TransferInspectionTypes, UnitOfPaymentTypes$1 as UnitOfPaymentTypes, UploadDocumentParams, UploadFileParams, UploadFileResponse, UploadImageParams, UploadedFileParams$1 as UploadedFileParams, UsedResourcesModel, UserNamesModel, UtilityPayerModel, UtilityTypes$1 as UtilityTypes, Values, ValuesParams, VideoBodyRequest$1 as VideoBodyRequest, VideoModel, WallMaterials, WaterMeterParams, WaterMeterTypes$1 as WaterMeterTypes, WaterMetersResponse, WifiParams };
|
|
2118
|
+
export { APISubjectRoles, ActivateConditions, 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, ApartmentMetroStationModel, ApartmentMetroStationsParams, ApartmentMetroWithCustomParams, ApartmentModel, ApartmentOverviewInfoFields, ApartmentOverviewPaymentInfoFields, ApartmentPartialDescriptionParams, ApartmentPartialModel, ApartmentPaymentInfoParams, ApartmentResourceCompanyDetails, ApartmentResourceCompanyModel, ApartmentResourceFieldsParams, ApartmentResourceInterface, ApartmentResourceModel, ApartmentResourceTypes, ApartmentResourceTypesAPI, ApartmentResourcesResponse, ApartmentSecurityInfoParams, ApartmentSimpleModel, ApartmentTelecommunicationInfoParams, ApartmentWithHouseInfoModelFields, ApiTokenAuthResponse, AppraisalInspectionFields, AppraisalInspectionModel, AppraisalOfferModel, AppraisalOfferParams, AppraisalRequestModel, AppraisalRequestModelFields, AppraisalTenantChoice, AppraisalTenantOfferModel, AppraisalType, CatalogItemModel, CatalogItemParams, CityModel, CityParams, ClientLinkModel, ClientLiteModel, ClientRoles, ClientSimpleParams, ClientTypes, ClosingRentalContractFields, ClosingServiceContractFields, CoOwnerModel, CoOwnerParams, CommonMeterParams, CommonTariffModel, CompanyAPITypes, CompanyByTinRequestBody, CompanyInfoModel, CompanyLiteParams, CompanyLogoModel, CompanyMainInfoModel, CompanyMainOfficeModel, CompanyModel, CompanyOfficeModel, CompanyOfficeWithoutIdModel, CompanyParams, CompanyTypes$1 as CompanyTypes, ComparableObjectModel, ComparableObjectParams, ContractLinkModel, ContractPeriodTypes, ContractStatuses, ContractTermAcceptationModel, ContractTermAcceptationStatuses, CounterpartyModel, CountryModel, CountryParams, CountyModel, CountyParams, DataSubmissionDaysParams, DataTransferFormats, DataTransmissionFormats, DeepPartial, DetailObjectInfoInterface, DistrictModel, DistrictParams, DocumentAgentInterface, DocumentModel$1 as DocumentModel, DocumentVisibilityAPIVariants$1 as DocumentVisibilityAPIVariants, DocumentVisibilityVariants$1 as DocumentVisibilityVariants, DocumentWithVisibility$1 as DocumentWithVisibility, DocumentsAgentInterface, DocumentsStoreInterface, EditConditions, ElectricityMeterParams, ElectricityMeterTypes$1 as ElectricityMeterTypes, ElectricityMeterValues, ElectricityMetersResponse, EmptyType, EntityLinkParams, FetchApartmentOwnersResponse, FetchApartmentsResponse, FieldsSettings, FileBodyRequest$1 as FileBodyRequest, FileModel$1 as FileModel, FileParams, FileStoreInterface, FileStoreParams$1 as FileStoreParams, FileVariant$1 as FileVariant, FilesStoreInterface, FillingFullParams, FillingInfoFormFields, FillingListItemModel, FillingParams, FillingTagModel, FillingTagParams, FillingTypes, FixedCostModel, FixedCostParams, FullInspectionCommonFields, GasMetersResponse, GasTypes, GenderAPIVariants, GeolocationParams, GetCatalogResponse, GetCitiesResponse, GetCommonTariffsResponse, GetCompaniesResponse, GetCountiesResponse, GetCountriesResponse, GetDistrictsResponse, GetLockersResponse, GetRegionsResponse, GetResidentialComplexesResponse, GetTagsResponse, GroupedFillingParams, HeatingMetersResponse, HouseInfoModelFields, HouseTypes, ImageBodyRequest$1 as ImageBodyRequest, ImageModel$1 as ImageModel, ImageParams, ImageStoreInterface, ImpairmentModel, ImpairmentType, ImpairmentTypes, ImpairmentsInspectionModel, InitialInspectionModel, InitialInspectionModelFields, InspectionBasedOnModel, InspectionBasedOnParams, InspectionCommonFields, InspectionConditionReasons, InspectionContractModel, InspectionEditConditionModel, InspectionFeedbackInterface, InspectionFeedbackModel, InspectionFeedbackParams, InspectionFeedbackStatus, InspectionFillingModel, InspectionFillingParams, InspectionMeterCommonInfo, InspectionMeterFields, InspectionMeterInfoParams, InspectionMeterValueModel, InspectionMetersInfoParams, InspectionModel, InspectionPartialMetersInfoParams, InspectionPaymentInfoParams, InspectionResourcesModel, InspectionRoomPhotoModel, InspectionRoomPhotoTypes, InspectionSignersModel, InspectionStatus, InspectionTypes, InternetProviderModel, InternetProviderParams, InventoryInspectionFields, InventoryInspectionMeterModel, InventoryInspectionModel, LatLonParams, LifecycleStatuses, LiteMeterInterface, LiteObjectModel, LiteUserModel, LoadStatus$1 as LoadStatus, LockerAutocompleteFields, LockerModel, LockerParams, MainObjectInfoInterface, MaxMetersInfoParams, MeterCommonInfoModel, MeterModel, MeterPayerModel, MeterTariffModel, MeterTypes$1 as MeterTypes, MeterValues, MetersCountParams, MetersLightResponse, MetersResponse, MetersResponseBody, MetroLineModel, MetroLineParams, MetroStationModel, MetroStationParams, MetroStationsFields, ObjectForMapModel, ObjectMetroStationParams, ObjectType, OfferSignStatuses, OverlapTypes, PaginationRes, ParkingTypes, PartialMeterInfoParams, PatchApartmentParams, PatchBillingInfoParams, PatchCompanyParams, PatchDocumentRequest, PatchFileParams, PatchInspectionImageParams, PatchInspectionVideoParams, PatchRoomImagesParams, PaymentStatuses, PeriodStatus, PhoneParams, PostCommonTariffParams, PostCompaniesRequest, PostDocumentsResponse, PostElectricityTariffRequest, PostGasTariffRequest, PostHeatingTariffRequest, PostInspectionFillingListModel, PostInspectionFillingModel, PostTariffRequest, PostWaterTariffRequest, RegionModel, RegionParams, RegularInspectionFields, RegularInspectionModel, RenovationParams, RenovationStyle, RenovationType, RentPeriodTypes, RentalContractInfoValues, RentalContractModel, RentalInspectionParams, RentalPaymentStatuses, RentalStatuses, RentalTypes, RepresentativeModel, RepresentativeTypes, ResidentialComplexModel, ResidentialComplexParams, ResourceAccessParams, ResourcePaymentRoles$1 as ResourcePaymentRoles, ResourceTypes$1 as ResourceTypes, RoomModel, RoomParams, RoomType, RoomTypes, RoommateParams, SecurityObjectInfoInterface, ServiceContractFixedCostsFields, ServiceContractFlags, ServiceContractInfoValues, ServiceContractListModel, ServiceContractLiteModel, ServiceContractModel, ServiceContractStatusStateModel, ServiceContractSubStatuses, SettingsParams, SignInParams, SingleMeterParams, StatisticalEvaluationModel, StatisticalEvaluationParams, StatusStateModel, SubjectRoles, TVTypes, TagModel, TariffGroupLiteParams, TariffLinkModel, TariffStatuses, TaxResidenceType, TaxesTypes, TransferInspectionFields, TransferInspectionMeterModel, TransferInspectionModel, TransferInspectionTypes, UnitOfPaymentTypes$1 as UnitOfPaymentTypes, UploadDocumentParams, UploadFileParams, UploadFileResponse, UploadImageParams, UploadedFileParams$1 as UploadedFileParams, UsedResourcesModel, UserNamesModel, UtilityPayerModel, UtilityTypes$1 as UtilityTypes, Values, ValuesParams, VideoBodyRequest$1 as VideoBodyRequest, VideoModel, WallMaterials, WaterMeterParams, WaterMeterTypes$1 as WaterMeterTypes, WaterMetersResponse, WifiParams };
|
package/utils/index.d.ts
CHANGED
|
@@ -130,6 +130,14 @@ declare type CounterpartyModel = {
|
|
|
130
130
|
is_privacy_policy_accepted?: boolean;
|
|
131
131
|
is_marketing_communications_accepted?: boolean;
|
|
132
132
|
is_public_offer_accepted?: boolean;
|
|
133
|
+
};
|
|
134
|
+
declare type LifecycleStatuses = "draft" | "active" | "closed";
|
|
135
|
+
declare type StatusStateModel<S, F = []> = {
|
|
136
|
+
status: LifecycleStatuses;
|
|
137
|
+
sub_status?: S;
|
|
138
|
+
flags?: F;
|
|
139
|
+
is_archived: boolean;
|
|
140
|
+
archived_at: string | null;
|
|
133
141
|
};
|
|
134
142
|
|
|
135
143
|
declare type CatalogItemModel = {
|
|
@@ -438,6 +446,7 @@ declare type RepresentativeModel = {
|
|
|
438
446
|
};
|
|
439
447
|
declare type ServiceContractModel = {
|
|
440
448
|
id: number;
|
|
449
|
+
state: ServiceContractStatusStateModel;
|
|
441
450
|
apartment: ApartmentLinkModel;
|
|
442
451
|
owner: LiteUserModel;
|
|
443
452
|
representatives: RepresentativeModel[];
|
|
@@ -454,7 +463,6 @@ declare type ServiceContractModel = {
|
|
|
454
463
|
sign_date: string;
|
|
455
464
|
start_date: string;
|
|
456
465
|
end_date: string;
|
|
457
|
-
status: ContractStatuses;
|
|
458
466
|
taxes_type: TaxesTypes;
|
|
459
467
|
initial_commission: string;
|
|
460
468
|
maintenance_commission: string;
|
|
@@ -489,7 +497,10 @@ declare type ServiceContractModel = {
|
|
|
489
497
|
planned_leave_date_setted_at?: string;
|
|
490
498
|
public_offer_status?: OfferSignStatuses;
|
|
491
499
|
terms_acceptation?: ContractTermAcceptationModel;
|
|
492
|
-
};
|
|
500
|
+
};
|
|
501
|
+
declare type ServiceContractSubStatuses = "negotiation" | "appraisal" | "offer" | "transfer" | "rented_out" | "closing" | "completed" | "expired" | "cancelled" | "terminated" | "rejected" | "renewed" | "replaced";
|
|
502
|
+
declare type ServiceContractFlags = "new" | "expiring_soon" | "overdue" | "n/a" | "attention" | "problem" | "vip" | "dispute";
|
|
503
|
+
declare type ServiceContractStatusStateModel = StatusStateModel<ServiceContractSubStatuses, ServiceContractFlags[]>;
|
|
493
504
|
|
|
494
505
|
declare type PeriodStatus = "new" | "closed" | "overdue";
|
|
495
506
|
declare type ParkingTypes = "public" | "house" | "underground" | "multi_level";
|