kui-crm 0.0.143 → 0.0.145
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 +5 -4
- package/package.json +1 -1
- package/types/index.d.ts +5 -4
- package/utils/index.d.ts +2 -3
package/index.d.ts
CHANGED
|
@@ -172,7 +172,7 @@ declare type ElectricityMeterTypes = "T1" | "T2" | "T3";
|
|
|
172
172
|
declare type ResourceTypes = "water" | "electricity" | "gas" | "heating";
|
|
173
173
|
declare type MeterTypes = ElectricityMeterTypes | WaterMeterTypes | null;
|
|
174
174
|
declare type UtilityTypes = ResourceTypes | "utility" | "invoice";
|
|
175
|
-
declare type ClientTypes
|
|
175
|
+
declare type ClientTypes = "personal" | "company";
|
|
176
176
|
declare type RentalStatuses = "Rented out" | "Closed" | "Open";
|
|
177
177
|
declare type PaymentStatuses = "paid" | "unpaid" | "overdue" | null;
|
|
178
178
|
declare type ContractStatuses = "Open" | "Closed";
|
|
@@ -205,7 +205,7 @@ declare type LiteUserModel = {
|
|
|
205
205
|
middle_name: string;
|
|
206
206
|
full_name: string;
|
|
207
207
|
phone: string;
|
|
208
|
-
client_type?: ClientTypes
|
|
208
|
+
client_type?: ClientTypes;
|
|
209
209
|
payer_type?: APISubjectRoles;
|
|
210
210
|
};
|
|
211
211
|
declare type ApartmentLinkModel = {
|
|
@@ -549,7 +549,6 @@ declare type ApiTokenAuthResponse = {
|
|
|
549
549
|
};
|
|
550
550
|
|
|
551
551
|
declare type ClientRoles = "landlord" | "tenant" | "landlord_tenant";
|
|
552
|
-
declare type ClientTypes = "personal" | "company";
|
|
553
552
|
declare type ClientLiteModel = {
|
|
554
553
|
id: number;
|
|
555
554
|
role: ClientRoles;
|
|
@@ -605,6 +604,8 @@ declare type InspectionCommonFields = {
|
|
|
605
604
|
dropbox_link?: string;
|
|
606
605
|
appraisal_id?: number | null;
|
|
607
606
|
impairment_id?: number | null;
|
|
607
|
+
owner_feedback: InspectionFeedbackModel | null;
|
|
608
|
+
renter_feedback: InspectionFeedbackModel | null;
|
|
608
609
|
};
|
|
609
610
|
declare type InspectionFillingModel = {
|
|
610
611
|
id: number;
|
|
@@ -2783,4 +2784,4 @@ type SignInPageProps = {
|
|
|
2783
2784
|
|
|
2784
2785
|
declare const _default: (props: SignInPageProps) => JSX.Element;
|
|
2785
2786
|
|
|
2786
|
-
export { APIPayerValues, APISubjectRoles, 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, ApartmentModel, ApartmentOverviewInfoFields, ApartmentOverviewPaymentInfoFields, ApartmentPartialDescriptionParams, ApartmentPartialModel, ApartmentPaymentInfoParams, ApartmentSecurityInfoParams, ApartmentSimpleModel, ApartmentTelecommunicationInfoParams, ApartmentsAgent, ApiTokenAuthResponse, AppraisalInspectionFields, AppraisalInspectionModel, AppraisalOfferParams, AuthAgent, BooleanValues, Breadcrumbs, CatalogItemModel, CatalogItemParams, CatalogsAgent, ChangeReasonField, ChangeReasonFields, ChangeReasonFieldsProps, ChangeReasonFormFields, ChangeReasonSchema, CheckboxWithHint, CitiesStore, _default$e as CityAutocomplete, CityAutocompleteFields, CityAutocompleteProps, CityModel, CityParams,
|
|
2787
|
+
export { APIPayerValues, APISubjectRoles, 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, ApartmentModel, ApartmentOverviewInfoFields, ApartmentOverviewPaymentInfoFields, ApartmentPartialDescriptionParams, ApartmentPartialModel, ApartmentPaymentInfoParams, ApartmentSecurityInfoParams, ApartmentSimpleModel, ApartmentTelecommunicationInfoParams, ApartmentsAgent, ApiTokenAuthResponse, AppraisalInspectionFields, AppraisalInspectionModel, AppraisalOfferParams, AuthAgent, BooleanValues, Breadcrumbs, CatalogItemModel, CatalogItemParams, CatalogsAgent, ChangeReasonField, ChangeReasonFields, ChangeReasonFieldsProps, ChangeReasonFormFields, ChangeReasonSchema, CheckboxWithHint, CitiesStore, _default$e as CityAutocomplete, CityAutocompleteFields, CityAutocompleteProps, CityModel, CityParams, ClientLiteModel, ClientRoles, ClientTypes, ClosingContractFields, CommonMeterParams, CommonTariffFieldsSchema, CommonTariffModel, CompaniesAgent, CompaniesStore, CompanyAPITypes, _default$h as CompanyAutocomplete, CompanyAutocompleteFields, CompanyByTinRequestBody, CompanyCreationFields, CompanyCreationForm, CompanyCreationFormProps, _default$d as CompanyCreationModal, CompanyFields, CompanyInfoModel, _default$3 as CompanyInnAutocomplete, CompanyLiteParams, CompanyLogoModel, CompanyMainInfoModel, CompanyMainOfficeModel, CompanyModel, CompanyOfficeModel, CompanyOfficeWithoutIdModel, CompanyParams, CompanyTypes$1 as CompanyTypes, CompanyTypesValues, ComparableObjectModel, ComparableObjectParams, ContractLinkModel, ContractStatuses, CopyButton, CountriesStore, _default$g as CountryAutocomplete, CountryAutocompleteFields, CountryModel, CountryParams, CountyModel, CountyParams, DeepPartial, DetailObjectInfoInterface, _default$7 as DistrictAutocomplete, DistrictModel, DistrictParams, DistrictsStore, DocumentAgentInterface, DocumentModel, DocumentVisibilityAPIVariants, DocumentVisibilityVariants, DocumentWithVisibility, DocumentsAgentInterface, DocumentsStoreInterface, ElectricityMeterParams, ElectricityMeterTypes, ElectricityMeterValues, ElectricityMetersResponse, ElectricityTariffCreationFields, ElectricityValues, EmptyType, EntityLinkParams, ErrorPopup, FetchApartmentOwnersResponse, FetchApartmentsResponse, FieldsSettings, FileBodyRequest, FileModel, FileParams, FileStore, FileStoreInterface, FileStoreParams, FileUploaderWithPreview, FileVariant, FileWithVisibility, FilesStore, FilesStoreInterface, FillingInfoFormFields, FillingParams, FillingTagCreationForm, _default$a as FillingTagCreationModal, FillingTagModel, FillingTagParams, FillingTagsAgent, _default$9 as FillingTagsAutocomplete, FillingTagsAutocompleteFields, FillingTagsAutocompleteProps, FillingTagsStore, FillingTypeValues, FillingTypes, FixedCostModel, FormBottom, FormBottomProps, FormWrapper, FormWrapperProps, FullInspectionCommonFields, _default$1 as FullSlider, FullSliderModal, GalleryWithThumbnails, GasMetersResponse, GasTariffCreationFields, GasTypes, GenderAPIVariants, GeolocationParams, GetCatalogResponse, GetCitiesResponse, GetCommonTariffsResponse, GetCompaniesResponse, GetCountiesResponse, GetCountriesResponse, GetDistrictsResponse, GetLockersResponse, GetRegionsResponse, GetResidentialComplexesResponse, GetTagsResponse, HeadingWithButton, HeatingMetersResponse, HeatingTariffCreationFields, HouseTypes, ImageBodyRequest, ImageCard, ImageCardProps, ImageCardWithBackdrop, ImageModel, ImageParams, ImageStore, ImageStoreInterface, ImpairmentModel, ImpairmentType, ImpairmentTypes, ImpairmentsInspectionModel, ImpairmentsTypeValues, InitialInspectionModel, InputByType, InputByTypeProps, InputFileWithVisibility, InputFileWithVisibilityFields, InputParams, InputTypes, InputWithMap, InspectionBasedOnModel, InspectionBasedOnParams, InspectionCommonFields, 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$4 as LoaderState, LockerAutocompleteFields, LockerModel, LockerParams, MainObjectInfoInterface, _default$c as MapComponent, MapOverlay, MaxMetersInfoParams, MeterCommonInfoModel, MeterFeaturesFields, MeterFeaturesFieldsProps, MeterFeaturesForm, MeterFeaturesFormFields, MeterModel, MeterPayerModel, MeterTariffModel, MeterTypeRadioGroup, MeterTypes, MeterValues, MetersCountParams, MetersResponse, MetersResponseBody, MetroLineParams, MetroStationModel, MetroStationParams, Modal, ModalProps, _default$b as ModalWithMap, _default$2 as MultistepForm, NumberField, ObjectType, OpenMapButton, OverlapTypes, PageBreadcrumbs, PaginationRes, ParkingTypes, ParkingTypesValues, PartialMeterInfoParams, PartialPayer, PartialPayerFields, PartialPayerProps, PartialPayerValues, PartialPayerVariants, PatchBillingInfoParams, PatchCompanyParams, PatchDocumentRequest, PatchFileParams, PaymentStatuses, PeriodStatus, PhoneParams, PhotoSlider, PostCommonTariffParams, PostCompaniesRequest, PostElectricityTariffRequest, PostGasTariffRequest, PostHeatingTariffRequest, PostTariffRequest, PostWaterTariffRequest, PreviewContent, PreviewImageCard, _default$f as RegionAutocomplete, RegionAutocompleteFields, RegionAutocompleteProps, RegionModel, RegionParams, RegionsStore, RegularInspectionFields, RegularInspectionModel, RenderMeterFieldsSettings, RenovationParams, RenovationStyle, RenovationStyleValues, RenovationType, RenovationTypeValues, RentPeriodTypeValues, RentPeriodTypes, RentalContractModel, RentalInspectionParams, RentalStatuses, RentalTypes, _default$8 as ReplaceableCountersBlock, ResidentialComplexModel, ResidentialComplexParams, ResourceTypes, ResourceValues, RoomModel, RoomParams, RoomType, RoomTypeValues, RoomTypes, RoomTypesValues, RoommateParams, ScrollingContainer, SecurityObjectInfoInterface, ServiceContractLiteModel, ServiceContractModel, SettingsParams, SignInFormFields, _default as SignInPage, SignInParams, SingleMeterParams, SliderThumbnails, SquarePreviewImage, StatisticalEvaluationModel, StatisticalEvaluationParams, SubjectRoles, TVTypes, TVTypesValues, TableBottomLoading, TagModel, TariffCreationFieldsProps, _default$5 as TariffCreationForm, TariffCreationFormFields, TariffCreationFormProps, TariffCreationModal, TariffCreationValuesFields, _default$6 as TariffGroupAutocomplete, TariffGroupAutocompleteFields, TariffGroupLiteParams, TariffLinkModel, TariffReplacementField, TariffReplacementFields, TariffStatuses, TariffsAgent, TariffsLiteStore, TaxResidenceType, TaxResidenceValues, TaxTypeValues, TaxesTypes, TextOverflow, Tooltip, TransferInspectionFields, TransferInspectionMeterModel, TransferInspectionModel, TransferInspectionTypes, TwoOptionForAutocomplete, UnitOfPaymentTypes, UnitOfPaymentValues, UpcomingInspectionApartmentModel, UploadAgent, UploadDocumentParams, UploadFileParams, UploadFileResponse, UploadImageParams, UserBadge, UserNamesModel, UtilityPayerModel, UtilityTypes, Values, WallMaterials, WaterMeterParams, WaterMeterTypes, WaterMetersResponse, WaterTariffCreationFields, WaterValues, WifiParams, apartmentFields, authFlag, csrfTokenKey, defaultRequiredMessage, fieldWithConditionSchema, genderMatches, getApartmentDetailInfoFields, getApartmentPaymentFields, getFillingInfoFields, getInspectionFeedbackStatus, getMeterFeaturesFieldsSchema, getMeterFields, getNumbersValues, getPartialMeterInfoFields, matchesAPICompanyTypes, matchesAPIFillingTypes, matchesAPISubjectRoles, matchesAPIVisibilityVariants, matchesApartmentStatuses, matchesCompanyTypes, matchesFillingTypes, matchesServiceTypes, matchesSubjectRoles, matchesVisibilityVariants, phoneNonRequiredSchema, phoneSchema, phoneWithConditionSchema, positiveNumberSchema, requests, sessionIdKey, setFileFromFileWithVisibility, setNestedNameValue, uploadDocument, uploadDocuments, uploadFile, uploadFiles, uploadImage, uploadImages, uploadNewFile, useAutocomplete, useFetchPage, useMapCards, usePaginationPage, usePortalPosition, useScrollWithBottomSpacing };
|
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ declare type ElectricityMeterTypes = "T1" | "T2" | "T3";
|
|
|
13
13
|
declare type ResourceTypes = "water" | "electricity" | "gas" | "heating";
|
|
14
14
|
declare type MeterTypes = ElectricityMeterTypes | WaterMeterTypes | null;
|
|
15
15
|
declare type UtilityTypes = ResourceTypes | "utility" | "invoice";
|
|
16
|
-
declare type ClientTypes
|
|
16
|
+
declare type ClientTypes = "personal" | "company";
|
|
17
17
|
declare type RentalStatuses = "Rented out" | "Closed" | "Open";
|
|
18
18
|
declare type PaymentStatuses = "paid" | "unpaid" | "overdue" | null;
|
|
19
19
|
declare type ContractStatuses = "Open" | "Closed";
|
|
@@ -46,7 +46,7 @@ declare type LiteUserModel = {
|
|
|
46
46
|
middle_name: string;
|
|
47
47
|
full_name: string;
|
|
48
48
|
phone: string;
|
|
49
|
-
client_type?: ClientTypes
|
|
49
|
+
client_type?: ClientTypes;
|
|
50
50
|
payer_type?: APISubjectRoles;
|
|
51
51
|
};
|
|
52
52
|
declare type ApartmentLinkModel = {
|
|
@@ -617,7 +617,6 @@ declare type ServiceContractModel = {
|
|
|
617
617
|
};
|
|
618
618
|
|
|
619
619
|
declare type ClientRoles = "landlord" | "tenant" | "landlord_tenant";
|
|
620
|
-
declare type ClientTypes = "personal" | "company";
|
|
621
620
|
declare type ClientLiteModel = {
|
|
622
621
|
id: number;
|
|
623
622
|
role: ClientRoles;
|
|
@@ -1235,6 +1234,8 @@ declare type InspectionCommonFields = {
|
|
|
1235
1234
|
dropbox_link?: string;
|
|
1236
1235
|
appraisal_id?: number | null;
|
|
1237
1236
|
impairment_id?: number | null;
|
|
1237
|
+
owner_feedback: InspectionFeedbackModel | null;
|
|
1238
|
+
renter_feedback: InspectionFeedbackModel | null;
|
|
1238
1239
|
};
|
|
1239
1240
|
declare type InspectionFillingModel = {
|
|
1240
1241
|
id: number;
|
|
@@ -1436,4 +1437,4 @@ declare type DocumentsAgentInterface = {
|
|
|
1436
1437
|
getDocuments?: (...params: any) => Promise<DocumentModel[]>;
|
|
1437
1438
|
} & DocumentAgentInterface;
|
|
1438
1439
|
|
|
1439
|
-
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, ApartmentModel, ApartmentOverviewInfoFields, ApartmentOverviewPaymentInfoFields, ApartmentPartialDescriptionParams, ApartmentPartialModel, ApartmentPaymentInfoParams, ApartmentSecurityInfoParams, ApartmentSimpleModel, ApartmentTelecommunicationInfoParams, ApiTokenAuthResponse, AppraisalInspectionFields, AppraisalInspectionModel, AppraisalOfferParams, CatalogItemModel, CatalogItemParams, CityModel, CityParams,
|
|
1440
|
+
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, ApartmentModel, ApartmentOverviewInfoFields, ApartmentOverviewPaymentInfoFields, ApartmentPartialDescriptionParams, ApartmentPartialModel, ApartmentPaymentInfoParams, ApartmentSecurityInfoParams, ApartmentSimpleModel, ApartmentTelecommunicationInfoParams, ApiTokenAuthResponse, AppraisalInspectionFields, AppraisalInspectionModel, AppraisalOfferParams, CatalogItemModel, CatalogItemParams, CityModel, CityParams, ClientLiteModel, ClientRoles, ClientTypes, ClosingContractFields, 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, FillingParams, FillingTagModel, FillingTagParams, FillingTypes, FixedCostModel, FullInspectionCommonFields, GasMetersResponse, GasTypes, GenderAPIVariants, GeolocationParams, GetCatalogResponse, GetCitiesResponse, GetCommonTariffsResponse, GetCompaniesResponse, GetCountiesResponse, GetCountriesResponse, GetDistrictsResponse, GetLockersResponse, GetRegionsResponse, GetResidentialComplexesResponse, GetTagsResponse, HeatingMetersResponse, HouseTypes, ImageBodyRequest, ImageModel, ImageParams, ImageStoreInterface, ImpairmentModel, ImpairmentType, ImpairmentTypes, ImpairmentsInspectionModel, InitialInspectionModel, InspectionBasedOnModel, InspectionBasedOnParams, InspectionCommonFields, 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, ObjectType, OverlapTypes, PaginationRes, ParkingTypes, PartialMeterInfoParams, PatchBillingInfoParams, PatchCompanyParams, PatchDocumentRequest, PatchFileParams, PaymentStatuses, PeriodStatus, PhoneParams, PostCommonTariffParams, PostCompaniesRequest, PostElectricityTariffRequest, PostGasTariffRequest, PostHeatingTariffRequest, PostTariffRequest, PostWaterTariffRequest, RegionModel, RegionParams, RegularInspectionFields, RegularInspectionModel, RenovationParams, RenovationStyle, RenovationType, RentPeriodTypes, RentalContractModel, RentalInspectionParams, RentalStatuses, RentalTypes, ResidentialComplexModel, ResidentialComplexParams, ResourceTypes, RoomModel, RoomParams, RoomType, RoomTypes, RoommateParams, SecurityObjectInfoInterface, ServiceContractLiteModel, ServiceContractModel, SettingsParams, SignInParams, SingleMeterParams, StatisticalEvaluationModel, StatisticalEvaluationParams, SubjectRoles, TVTypes, TagModel, TariffGroupLiteParams, TariffLinkModel, TariffStatuses, TaxResidenceType, TaxesTypes, TransferInspectionFields, TransferInspectionMeterModel, TransferInspectionModel, TransferInspectionTypes, UnitOfPaymentTypes, UpcomingInspectionApartmentModel, UploadDocumentParams, UploadFileParams, UploadFileResponse, UploadImageParams, UserNamesModel, UtilityPayerModel, UtilityTypes, Values, WallMaterials, WaterMeterParams, WaterMeterTypes, WaterMetersResponse, WifiParams };
|
package/utils/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ declare type APISubjectRoles = "maroom" | "owner" | "renter";
|
|
|
14
14
|
declare type UnitOfPaymentTypes = "percent" | "value";
|
|
15
15
|
declare type ResourceTypes = "water" | "electricity" | "gas" | "heating";
|
|
16
16
|
declare type UtilityTypes = ResourceTypes | "utility" | "invoice";
|
|
17
|
-
declare type ClientTypes
|
|
17
|
+
declare type ClientTypes = "personal" | "company";
|
|
18
18
|
declare type RentalStatuses = "Rented out" | "Closed" | "Open";
|
|
19
19
|
declare type PaymentStatuses = "paid" | "unpaid" | "overdue" | null;
|
|
20
20
|
declare type ContractStatuses = "Open" | "Closed";
|
|
@@ -30,7 +30,7 @@ declare type LiteUserModel = {
|
|
|
30
30
|
middle_name: string;
|
|
31
31
|
full_name: string;
|
|
32
32
|
phone: string;
|
|
33
|
-
client_type?: ClientTypes
|
|
33
|
+
client_type?: ClientTypes;
|
|
34
34
|
payer_type?: APISubjectRoles;
|
|
35
35
|
};
|
|
36
36
|
declare type ApartmentLinkModel = {
|
|
@@ -343,7 +343,6 @@ declare type ServiceContractModel = {
|
|
|
343
343
|
};
|
|
344
344
|
|
|
345
345
|
declare type ClientRoles = "landlord" | "tenant" | "landlord_tenant";
|
|
346
|
-
declare type ClientTypes = "personal" | "company";
|
|
347
346
|
declare type ClientLiteModel = {
|
|
348
347
|
id: number;
|
|
349
348
|
role: ClientRoles;
|