kui-crm 0.0.111 → 0.0.112
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 +42 -4
- package/package.json +1 -1
- package/types/index.d.ts +42 -4
package/index.d.ts
CHANGED
|
@@ -113,7 +113,7 @@ declare type ElectricityMeterTypes = "T1" | "T2" | "T3";
|
|
|
113
113
|
declare type ResourceTypes = "water" | "electricity" | "gas" | "heating";
|
|
114
114
|
declare type MeterTypes = ElectricityMeterTypes | WaterMeterTypes | null;
|
|
115
115
|
declare type UtilityTypes = ResourceTypes | "utility" | "invoice";
|
|
116
|
-
declare type ClientTypes = "personal" | "company";
|
|
116
|
+
declare type ClientTypes$1 = "personal" | "company";
|
|
117
117
|
declare type RentalStatuses = "Rented out" | "Closed" | "Open";
|
|
118
118
|
declare type PaymentStatuses = "paid" | "unpaid" | "overdue" | null;
|
|
119
119
|
declare type ContractStatuses = "Open" | "Closed";
|
|
@@ -146,7 +146,7 @@ declare type LiteUserModel = {
|
|
|
146
146
|
middle_name: string;
|
|
147
147
|
full_name: string;
|
|
148
148
|
phone: string;
|
|
149
|
-
client_type?: ClientTypes;
|
|
149
|
+
client_type?: ClientTypes$1;
|
|
150
150
|
payer_type?: APISubjectRoles;
|
|
151
151
|
};
|
|
152
152
|
declare type ApartmentLinkModel = {
|
|
@@ -439,6 +439,22 @@ declare type ServiceContractModel = {
|
|
|
439
439
|
utility_payers?: UtilityPayerModel[];
|
|
440
440
|
};
|
|
441
441
|
|
|
442
|
+
declare type ClientRoles = "landlord" | "tenant" | "landlord_tenant";
|
|
443
|
+
declare type ClientTypes = "personal" | "company";
|
|
444
|
+
declare type ClientLiteModel = {
|
|
445
|
+
id: number;
|
|
446
|
+
role: ClientRoles;
|
|
447
|
+
email: string;
|
|
448
|
+
first_name: string;
|
|
449
|
+
last_name: string;
|
|
450
|
+
middle_name: string;
|
|
451
|
+
full_name: string;
|
|
452
|
+
phone: string;
|
|
453
|
+
contract_number: string;
|
|
454
|
+
apartment_address: string;
|
|
455
|
+
client_type?: ClientTypes;
|
|
456
|
+
};
|
|
457
|
+
|
|
442
458
|
declare type ImpairmentTypes = "damages" | "wear_tear";
|
|
443
459
|
declare type PeriodStatus = "new" | "closed" | "overdue";
|
|
444
460
|
declare type FillingTypes = "finish" | "furniture" | "appliance" | "accessorie";
|
|
@@ -638,7 +654,29 @@ declare type MainObjectInfoInterface = Pick<ApartmentModel, "country" | "county"
|
|
|
638
654
|
declare type SecurityObjectInfoInterface = Partial<Pick<ApartmentModel, "has_intercom" | "intercom_code" | "has_gate" | "gate_code" | "has_security" | "security_phone" | "has_barrier" | "barrier_phone" | "has_concierge" | "concierge_phone" | "has_video_surveillance" | "video_surveillance_phone">>;
|
|
639
655
|
declare type DetailObjectInfoInterface = Pick<ApartmentModel, "area" | "living_area" | "kitchen_area" | "rooms_number" | "bedrooms_number" | "bathrooms_number" | "restrooms_number" | "combined_bathrooms_number" | "rooms" | "ceiling_height" | "number_of_windows" | "renovation_year" | "renovation_type" | "renovation_style">;
|
|
640
656
|
declare type FetchApartmentsResponse = PaginationRes<ApartmentLiteModel[]>;
|
|
641
|
-
declare type FetchApartmentOwnersResponse = LiteUserModel[];
|
|
657
|
+
declare type FetchApartmentOwnersResponse = LiteUserModel[];
|
|
658
|
+
declare type MetroLineParams = {
|
|
659
|
+
id: number;
|
|
660
|
+
name: string;
|
|
661
|
+
type: string;
|
|
662
|
+
hex_color: string;
|
|
663
|
+
};
|
|
664
|
+
declare type MetroStationModel = {
|
|
665
|
+
id: number;
|
|
666
|
+
name: string;
|
|
667
|
+
line: MetroLineParams;
|
|
668
|
+
geolocation: LatLonParams;
|
|
669
|
+
};
|
|
670
|
+
declare type UpcomingInspectionApartmentModel = {
|
|
671
|
+
id: number;
|
|
672
|
+
object_name: string;
|
|
673
|
+
apartment_number: string;
|
|
674
|
+
address: string;
|
|
675
|
+
geolocation: LatLonParams;
|
|
676
|
+
main_image: ImageModel;
|
|
677
|
+
renter: ClientLiteModel;
|
|
678
|
+
metro_stations: MetroStationModel[];
|
|
679
|
+
};
|
|
642
680
|
|
|
643
681
|
declare type SubjectRoles = "maroom" | "landlord" | "tenant";
|
|
644
682
|
declare type DocumentVisibilityVariants = "everybody" | "tenant" | "landlord" | "nobody";
|
|
@@ -2151,4 +2189,4 @@ declare const useMapCards: (location: GeolocationParams, map?: google.maps.Map |
|
|
|
2151
2189
|
toggleCard: () => void;
|
|
2152
2190
|
};
|
|
2153
2191
|
|
|
2154
|
-
export { APIPayerValues, APISubjectRoles, AdaptiveImageParams, AdaptiveImagesBlock, AdaptiveImagesBlockProps, AddressWithLocationParams, AdministrativeCompany, AdministrativeCompanyModel, ApartmentAdministrativeCompany, ApartmentContractTypes, ApartmentDescriptionParams, ApartmentDetailInfoModelFields, ApartmentDetailInfoParams, ApartmentDocumentModel, ApartmentFeatureModel, ApartmentFillingAPIVariants, ApartmentFillingVariants, ApartmentHouseInfoParams, ApartmentInspectionModel, ApartmentLinkModel, ApartmentLinkParams, ApartmentLiteModel, ApartmentLockerParams, ApartmentMainInfoModelFields, ApartmentMainInfoParams, ApartmentMeterAccounts, ApartmentMeterValues, ApartmentMetersAgent, ApartmentMetroParams, ApartmentMetroStationsParams, ApartmentModel, ApartmentPartialModel, ApartmentPaymentInfoParams, ApartmentSecurityInfoParams, ApartmentSimpleModel, ApartmentTelecommunicationInfoParams, ApartmentsAgent, ApiTokenAuthResponse, AuthAgent, BooleanValues, CatalogItemModel, CatalogItemParams, CatalogsAgent, ChangeReasonField, ChangeReasonFields, ChangeReasonFieldsProps, ChangeReasonFormFields, ChangeReasonSchema, CheckboxWithHint, CitiesStore, _default$g as CityAutocomplete, CityAutocompleteFields, CityAutocompleteProps, CityModel, CityParams, ClientTypes, CommonMeterParams, CommonTariffFieldsSchema, CommonTariffModel, CompaniesAgent, CompaniesStore, CompanyAPITypes, _default$d as CompanyAutocomplete, CompanyAutocompleteFields, CompanyByTinRequestBody, CompanyCreationFields, CompanyCreationForm, CompanyCreationFormProps, _default$c as CompanyCreationModal, CompanyFields, CompanyInfoModel, _default$1 as CompanyInnAutocomplete, CompanyLiteParams, CompanyLogoModel, CompanyMainInfoModel, CompanyMainOfficeModel, CompanyModel, CompanyOfficeModel, CompanyOfficeWithoutIdModel, CompanyParams, CompanyTypes, CompanyTypesValues, ContractLinkModel, ContractStatuses, CopyButton, CountriesStore, _default$f as CountryAutocomplete, CountryAutocompleteFields, CountryModel, CountryParams, CountyModel, CountyParams, DeepPartial, DetailObjectInfoInterface, _default$6 as DistrictAutocomplete, DistrictModel, DistrictParams, DistrictsStore, DocumentModel, DocumentVisibilityAPIVariants, DocumentVisibilityVariants, DocumentWithVisibility, ElectricityMeterParams, ElectricityMeterTypes, ElectricityMeterValues, ElectricityMetersResponse, ElectricityTariffCreationFields, ElectricityValues, EmptyType, EntityLinkParams, ErrorPopup, FetchApartmentOwnersResponse, FetchApartmentsResponse, FileBodyRequest, FileModel, FileParams, FileUploaderWithPreview, FileWithVisibility, FillingInfoFormFields, FillingTagCreationForm, _default$9 as FillingTagCreationModal, FillingTagParams, FillingTagsAgent, _default$8 as FillingTagsAutocomplete, FillingTagsAutocompleteFields, FillingTagsAutocompleteProps, FillingTagsStore, FillingTypeValues, FillingTypes, FixedCostModel, FormBottom, FormBottomProps, FormWrapper, FormWrapperProps, GalleryWithThumbnails, GasMetersResponse, GasTariffCreationFields, GasTypes, GenderAPIVariants, GeolocationParams, GetCatalogResponse, GetCitiesResponse, GetCommonTariffsResponse, GetCompaniesResponse, GetCountiesResponse, GetCountriesResponse, GetDistrictsResponse, GetLockersResponse, GetRegionsResponse, GetResidentialComplexesResponse, GetTagsResponse, HeadingWithButton, HeatingMetersResponse, HeatingTariffCreationFields, HouseTypes, ImageBodyRequest, ImageCard, ImageCardProps, ImageCardWithBackdrop, ImageModel, ImpairmentTypes, ImpairmentsTypeValues, InputByType, InputByTypeProps, InputFileWithVisibility, InputFileWithVisibilityFields, InputParams, InputTypes, InputWithMap, InspectionTypeValues, InternetProviderParams, KUICrmSettings, kuiSettings as KUISettings, LatLonParams, Link, LinkField, LiteMeterInterface, LiteObjectModel, LiteUserModel, LoaderPopup, _default$2 as LoaderState, LockerModel, LockerParams, MainObjectInfoInterface, _default$b as MapComponent, MapOverlay, MaxMetersInfoParams, MeterCommonInfoModel, MeterFeaturesFields, MeterFeaturesFieldsProps, MeterFeaturesForm, MeterFeaturesFormFields, MeterModel, MeterPayerModel, MeterTariffModel, MeterTypeRadioGroup, MeterTypes, MeterValues, MetersCountParams, MetersResponse, MetersResponseBody, MetroStationParams, Modal, ModalProps, _default$a as ModalWithMap, _default as MultistepForm, ObjectType, OpenMapButton, OverlapTypes, PaginationRes, ParkingTypes, ParkingTypesValues, PartialPayer, PartialPayerFields, PartialPayerProps, PartialPayerValues, PartialPayerVariants, PatchBillingInfoParams, PatchCompanyParams, PatchDocumentRequest, PatchFileParams, PaymentStatuses, PeriodStatus, PhoneParams, PostCommonTariffParams, PostCompaniesRequest, PostElectricityTariffRequest, PostGasTariffRequest, PostHeatingTariffRequest, PostTariffRequest, PostWaterTariffRequest, PreviewContent, PreviewImageCard, _default$e as RegionAutocomplete, RegionAutocompleteFields, RegionAutocompleteProps, RegionModel, RegionParams, RegionsStore, RenderMeterFieldsSettings, RenovationParams, RenovationStyle, RenovationStyleValues, RenovationType, RenovationTypeValues, RentPeriodTypeValues, RentPeriodTypes, RentalContractModel, RentalInspectionParams, RentalStatuses, RentalTypes, _default$7 as ReplaceableCountersBlock, ResidentialComplexModel, ResidentialComplexParams, ResourceTypes, ResourceValues, RoomModel, RoomParams, RoomType, RoomTypeValues, RoomTypes, RoomTypesValues, RoommateParams, SecurityObjectInfoInterface, ServiceContractLiteModel, ServiceContractModel, SettingsParams, SignInFormFields, _default$3 as SignInPage, SignInParams, SingleMeterParams, SquarePreviewImage, SubjectRoles, TVTypes, TVTypesValues, TableBottomLoading, TagModel, TariffCreationFieldsProps, _default$5 as TariffCreationForm, TariffCreationFormFields, TariffCreationFormProps, TariffCreationModal, TariffCreationValuesFields, _default$4 as TariffGroupAutocomplete, TariffGroupAutocompleteFields, TariffGroupLiteParams, TariffLinkModel, TariffReplacementField, TariffReplacementFields, TariffStatuses, TariffsAgent, TariffsLiteStore, TaxResidenceType, TaxResidenceValues, TaxTypeValues, TaxesTypes, Tooltip, TwoOptionForAutocomplete, UnitOfPaymentTypes, UnitOfPaymentValues, UploadAgent, UploadDocumentParams, UploadFileResponse, UserBadge, UserNamesModel, UtilityPayerModel, UtilityTypes, Values, WallMaterials, WaterMeterParams, WaterMeterTypes, WaterMetersResponse, WaterTariffCreationFields, WaterValues, WifiParams, apartmentFields, authFlag, csrfTokenKey, defaultRequiredMessage, fieldWithConditionSchema, genderMatches, getFillingInfoFields, getMeterFeaturesFieldsSchema, getMeterFields, getNumbersValues, matchesAPICompanyTypes, matchesAPIFillingTypes, matchesAPISubjectRoles, matchesAPIVisibilityVariants, matchesApartmentStatuses, matchesCompanyTypes, matchesFillingTypes, matchesServiceTypes, matchesSubjectRoles, matchesVisibilityVariants, phoneNonRequiredSchema, phoneSchema, phoneWithConditionSchema, positiveNumberSchema, requests, sessionIdKey, setFileFromFileWithVisibility, uploadDocument, uploadDocuments, uploadFile, uploadFiles, uploadImages, uploadNewFile, useAutocomplete, useFetchPage, useMapCards, usePaginationPage, usePortalPosition, useScrollWithBottomSpacing };
|
|
2192
|
+
export { APIPayerValues, APISubjectRoles, AdaptiveImageParams, AdaptiveImagesBlock, AdaptiveImagesBlockProps, AddressWithLocationParams, AdministrativeCompany, AdministrativeCompanyModel, ApartmentAdministrativeCompany, ApartmentContractTypes, ApartmentDescriptionParams, ApartmentDetailInfoModelFields, ApartmentDetailInfoParams, ApartmentDocumentModel, ApartmentFeatureModel, ApartmentFillingAPIVariants, ApartmentFillingVariants, ApartmentHouseInfoParams, ApartmentInspectionModel, ApartmentLinkModel, ApartmentLinkParams, ApartmentLiteModel, ApartmentLockerParams, ApartmentMainInfoModelFields, ApartmentMainInfoParams, ApartmentMeterAccounts, ApartmentMeterValues, ApartmentMetersAgent, ApartmentMetroParams, ApartmentMetroStationsParams, ApartmentModel, ApartmentPartialModel, ApartmentPaymentInfoParams, ApartmentSecurityInfoParams, ApartmentSimpleModel, ApartmentTelecommunicationInfoParams, ApartmentsAgent, ApiTokenAuthResponse, AuthAgent, BooleanValues, CatalogItemModel, CatalogItemParams, CatalogsAgent, ChangeReasonField, ChangeReasonFields, ChangeReasonFieldsProps, ChangeReasonFormFields, ChangeReasonSchema, CheckboxWithHint, CitiesStore, _default$g as CityAutocomplete, CityAutocompleteFields, CityAutocompleteProps, CityModel, CityParams, ClientTypes$1 as ClientTypes, CommonMeterParams, CommonTariffFieldsSchema, CommonTariffModel, CompaniesAgent, CompaniesStore, CompanyAPITypes, _default$d as CompanyAutocomplete, CompanyAutocompleteFields, CompanyByTinRequestBody, CompanyCreationFields, CompanyCreationForm, CompanyCreationFormProps, _default$c as CompanyCreationModal, CompanyFields, CompanyInfoModel, _default$1 as CompanyInnAutocomplete, CompanyLiteParams, CompanyLogoModel, CompanyMainInfoModel, CompanyMainOfficeModel, CompanyModel, CompanyOfficeModel, CompanyOfficeWithoutIdModel, CompanyParams, CompanyTypes, CompanyTypesValues, ContractLinkModel, ContractStatuses, CopyButton, CountriesStore, _default$f as CountryAutocomplete, CountryAutocompleteFields, CountryModel, CountryParams, CountyModel, CountyParams, DeepPartial, DetailObjectInfoInterface, _default$6 as DistrictAutocomplete, DistrictModel, DistrictParams, DistrictsStore, DocumentModel, DocumentVisibilityAPIVariants, DocumentVisibilityVariants, DocumentWithVisibility, ElectricityMeterParams, ElectricityMeterTypes, ElectricityMeterValues, ElectricityMetersResponse, ElectricityTariffCreationFields, ElectricityValues, EmptyType, EntityLinkParams, ErrorPopup, FetchApartmentOwnersResponse, FetchApartmentsResponse, FileBodyRequest, FileModel, FileParams, FileUploaderWithPreview, FileWithVisibility, FillingInfoFormFields, FillingTagCreationForm, _default$9 as FillingTagCreationModal, FillingTagParams, FillingTagsAgent, _default$8 as FillingTagsAutocomplete, FillingTagsAutocompleteFields, FillingTagsAutocompleteProps, FillingTagsStore, FillingTypeValues, FillingTypes, FixedCostModel, FormBottom, FormBottomProps, FormWrapper, FormWrapperProps, GalleryWithThumbnails, GasMetersResponse, GasTariffCreationFields, GasTypes, GenderAPIVariants, GeolocationParams, GetCatalogResponse, GetCitiesResponse, GetCommonTariffsResponse, GetCompaniesResponse, GetCountiesResponse, GetCountriesResponse, GetDistrictsResponse, GetLockersResponse, GetRegionsResponse, GetResidentialComplexesResponse, GetTagsResponse, HeadingWithButton, HeatingMetersResponse, HeatingTariffCreationFields, HouseTypes, ImageBodyRequest, ImageCard, ImageCardProps, ImageCardWithBackdrop, ImageModel, ImpairmentTypes, ImpairmentsTypeValues, InputByType, InputByTypeProps, InputFileWithVisibility, InputFileWithVisibilityFields, InputParams, InputTypes, InputWithMap, InspectionTypeValues, InternetProviderParams, KUICrmSettings, kuiSettings as KUISettings, LatLonParams, Link, LinkField, LiteMeterInterface, LiteObjectModel, LiteUserModel, LoaderPopup, _default$2 as LoaderState, LockerModel, LockerParams, MainObjectInfoInterface, _default$b as MapComponent, MapOverlay, MaxMetersInfoParams, MeterCommonInfoModel, MeterFeaturesFields, MeterFeaturesFieldsProps, MeterFeaturesForm, MeterFeaturesFormFields, MeterModel, MeterPayerModel, MeterTariffModel, MeterTypeRadioGroup, MeterTypes, MeterValues, MetersCountParams, MetersResponse, MetersResponseBody, MetroLineParams, MetroStationModel, MetroStationParams, Modal, ModalProps, _default$a as ModalWithMap, _default as MultistepForm, ObjectType, OpenMapButton, OverlapTypes, PaginationRes, ParkingTypes, ParkingTypesValues, PartialPayer, PartialPayerFields, PartialPayerProps, PartialPayerValues, PartialPayerVariants, PatchBillingInfoParams, PatchCompanyParams, PatchDocumentRequest, PatchFileParams, PaymentStatuses, PeriodStatus, PhoneParams, PostCommonTariffParams, PostCompaniesRequest, PostElectricityTariffRequest, PostGasTariffRequest, PostHeatingTariffRequest, PostTariffRequest, PostWaterTariffRequest, PreviewContent, PreviewImageCard, _default$e as RegionAutocomplete, RegionAutocompleteFields, RegionAutocompleteProps, RegionModel, RegionParams, RegionsStore, RenderMeterFieldsSettings, RenovationParams, RenovationStyle, RenovationStyleValues, RenovationType, RenovationTypeValues, RentPeriodTypeValues, RentPeriodTypes, RentalContractModel, RentalInspectionParams, RentalStatuses, RentalTypes, _default$7 as ReplaceableCountersBlock, ResidentialComplexModel, ResidentialComplexParams, ResourceTypes, ResourceValues, RoomModel, RoomParams, RoomType, RoomTypeValues, RoomTypes, RoomTypesValues, RoommateParams, SecurityObjectInfoInterface, ServiceContractLiteModel, ServiceContractModel, SettingsParams, SignInFormFields, _default$3 as SignInPage, SignInParams, SingleMeterParams, SquarePreviewImage, SubjectRoles, TVTypes, TVTypesValues, TableBottomLoading, TagModel, TariffCreationFieldsProps, _default$5 as TariffCreationForm, TariffCreationFormFields, TariffCreationFormProps, TariffCreationModal, TariffCreationValuesFields, _default$4 as TariffGroupAutocomplete, TariffGroupAutocompleteFields, TariffGroupLiteParams, TariffLinkModel, TariffReplacementField, TariffReplacementFields, TariffStatuses, TariffsAgent, TariffsLiteStore, TaxResidenceType, TaxResidenceValues, TaxTypeValues, TaxesTypes, Tooltip, TwoOptionForAutocomplete, UnitOfPaymentTypes, UnitOfPaymentValues, UpcomingInspectionApartmentModel, UploadAgent, UploadDocumentParams, UploadFileResponse, UserBadge, UserNamesModel, UtilityPayerModel, UtilityTypes, Values, WallMaterials, WaterMeterParams, WaterMeterTypes, WaterMetersResponse, WaterTariffCreationFields, WaterValues, WifiParams, apartmentFields, authFlag, csrfTokenKey, defaultRequiredMessage, fieldWithConditionSchema, genderMatches, getFillingInfoFields, getMeterFeaturesFieldsSchema, getMeterFields, getNumbersValues, matchesAPICompanyTypes, matchesAPIFillingTypes, matchesAPISubjectRoles, matchesAPIVisibilityVariants, matchesApartmentStatuses, matchesCompanyTypes, matchesFillingTypes, matchesServiceTypes, matchesSubjectRoles, matchesVisibilityVariants, phoneNonRequiredSchema, phoneSchema, phoneWithConditionSchema, positiveNumberSchema, requests, sessionIdKey, setFileFromFileWithVisibility, uploadDocument, uploadDocuments, uploadFile, uploadFiles, uploadImages, uploadNewFile, useAutocomplete, useFetchPage, useMapCards, usePaginationPage, usePortalPosition, useScrollWithBottomSpacing };
|
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ declare type ElectricityMeterTypes = "T1" | "T2" | "T3";
|
|
|
31
31
|
declare type ResourceTypes = "water" | "electricity" | "gas" | "heating";
|
|
32
32
|
declare type MeterTypes = ElectricityMeterTypes | WaterMeterTypes | null;
|
|
33
33
|
declare type UtilityTypes = ResourceTypes | "utility" | "invoice";
|
|
34
|
-
declare type ClientTypes = "personal" | "company";
|
|
34
|
+
declare type ClientTypes$1 = "personal" | "company";
|
|
35
35
|
declare type RentalStatuses = "Rented out" | "Closed" | "Open";
|
|
36
36
|
declare type PaymentStatuses = "paid" | "unpaid" | "overdue" | null;
|
|
37
37
|
declare type ContractStatuses = "Open" | "Closed";
|
|
@@ -64,7 +64,7 @@ declare type LiteUserModel = {
|
|
|
64
64
|
middle_name: string;
|
|
65
65
|
full_name: string;
|
|
66
66
|
phone: string;
|
|
67
|
-
client_type?: ClientTypes;
|
|
67
|
+
client_type?: ClientTypes$1;
|
|
68
68
|
payer_type?: APISubjectRoles;
|
|
69
69
|
};
|
|
70
70
|
declare type ApartmentLinkModel = {
|
|
@@ -289,6 +289,22 @@ declare type ServiceContractModel = {
|
|
|
289
289
|
utility_payers?: UtilityPayerModel[];
|
|
290
290
|
};
|
|
291
291
|
|
|
292
|
+
declare type ClientRoles = "landlord" | "tenant" | "landlord_tenant";
|
|
293
|
+
declare type ClientTypes = "personal" | "company";
|
|
294
|
+
declare type ClientLiteModel = {
|
|
295
|
+
id: number;
|
|
296
|
+
role: ClientRoles;
|
|
297
|
+
email: string;
|
|
298
|
+
first_name: string;
|
|
299
|
+
last_name: string;
|
|
300
|
+
middle_name: string;
|
|
301
|
+
full_name: string;
|
|
302
|
+
phone: string;
|
|
303
|
+
contract_number: string;
|
|
304
|
+
apartment_address: string;
|
|
305
|
+
client_type?: ClientTypes;
|
|
306
|
+
};
|
|
307
|
+
|
|
292
308
|
declare type ImpairmentTypes = "damages" | "wear_tear";
|
|
293
309
|
declare type PeriodStatus = "new" | "closed" | "overdue";
|
|
294
310
|
declare type FillingTypes = "finish" | "furniture" | "appliance" | "accessorie";
|
|
@@ -488,7 +504,29 @@ declare type MainObjectInfoInterface = Pick<ApartmentModel, "country" | "county"
|
|
|
488
504
|
declare type SecurityObjectInfoInterface = Partial<Pick<ApartmentModel, "has_intercom" | "intercom_code" | "has_gate" | "gate_code" | "has_security" | "security_phone" | "has_barrier" | "barrier_phone" | "has_concierge" | "concierge_phone" | "has_video_surveillance" | "video_surveillance_phone">>;
|
|
489
505
|
declare type DetailObjectInfoInterface = Pick<ApartmentModel, "area" | "living_area" | "kitchen_area" | "rooms_number" | "bedrooms_number" | "bathrooms_number" | "restrooms_number" | "combined_bathrooms_number" | "rooms" | "ceiling_height" | "number_of_windows" | "renovation_year" | "renovation_type" | "renovation_style">;
|
|
490
506
|
declare type FetchApartmentsResponse = PaginationRes<ApartmentLiteModel[]>;
|
|
491
|
-
declare type FetchApartmentOwnersResponse = LiteUserModel[];
|
|
507
|
+
declare type FetchApartmentOwnersResponse = LiteUserModel[];
|
|
508
|
+
declare type MetroLineParams = {
|
|
509
|
+
id: number;
|
|
510
|
+
name: string;
|
|
511
|
+
type: string;
|
|
512
|
+
hex_color: string;
|
|
513
|
+
};
|
|
514
|
+
declare type MetroStationModel = {
|
|
515
|
+
id: number;
|
|
516
|
+
name: string;
|
|
517
|
+
line: MetroLineParams;
|
|
518
|
+
geolocation: LatLonParams;
|
|
519
|
+
};
|
|
520
|
+
declare type UpcomingInspectionApartmentModel = {
|
|
521
|
+
id: number;
|
|
522
|
+
object_name: string;
|
|
523
|
+
apartment_number: string;
|
|
524
|
+
address: string;
|
|
525
|
+
geolocation: LatLonParams;
|
|
526
|
+
main_image: ImageModel;
|
|
527
|
+
renter: ClientLiteModel;
|
|
528
|
+
metro_stations: MetroStationModel[];
|
|
529
|
+
};
|
|
492
530
|
|
|
493
531
|
declare type SubjectRoles = "maroom" | "landlord" | "tenant";
|
|
494
532
|
declare type DocumentVisibilityVariants = "everybody" | "tenant" | "landlord" | "nobody";
|
|
@@ -953,4 +991,4 @@ declare type ApartmentMeterValues = {
|
|
|
953
991
|
T3?: MeterValues;
|
|
954
992
|
} & MeterValues;
|
|
955
993
|
|
|
956
|
-
export { APISubjectRoles, AddressWithLocationParams, AdministrativeCompany, AdministrativeCompanyModel, ApartmentAdministrativeCompany, ApartmentContractTypes, ApartmentDescriptionParams, ApartmentDetailInfoModelFields, ApartmentDetailInfoParams, ApartmentDocumentModel, ApartmentFeatureModel, ApartmentFillingAPIVariants, ApartmentFillingVariants, ApartmentHouseInfoParams, ApartmentInspectionModel, ApartmentLinkModel, ApartmentLinkParams, ApartmentLiteModel, ApartmentLockerParams, ApartmentMainInfoModelFields, ApartmentMainInfoParams, ApartmentMeterAccounts, ApartmentMeterValues, ApartmentMetroParams, ApartmentMetroStationsParams, ApartmentModel, ApartmentPartialModel, ApartmentPaymentInfoParams, ApartmentSecurityInfoParams, ApartmentSimpleModel, ApartmentTelecommunicationInfoParams, ApiTokenAuthResponse, CatalogItemModel, CatalogItemParams, CityModel, CityParams, ClientTypes, CommonMeterParams, CommonTariffModel, CompanyAPITypes, CompanyByTinRequestBody, CompanyInfoModel, CompanyLiteParams, CompanyLogoModel, CompanyMainInfoModel, CompanyMainOfficeModel, CompanyModel, CompanyOfficeModel, CompanyOfficeWithoutIdModel, CompanyParams, CompanyTypes, ContractLinkModel, ContractStatuses, CountryModel, CountryParams, CountyModel, CountyParams, DeepPartial, DetailObjectInfoInterface, DistrictModel, DistrictParams, DocumentModel, DocumentVisibilityAPIVariants, DocumentVisibilityVariants, DocumentWithVisibility, ElectricityMeterParams, ElectricityMeterTypes, ElectricityMeterValues, ElectricityMetersResponse, EmptyType, EntityLinkParams, FetchApartmentOwnersResponse, FetchApartmentsResponse, FileBodyRequest, FileModel, FileParams, FillingInfoFormFields, FillingTagParams, FillingTypes, FixedCostModel, GasMetersResponse, GasTypes, GenderAPIVariants, GeolocationParams, GetCatalogResponse, GetCitiesResponse, GetCommonTariffsResponse, GetCompaniesResponse, GetCountiesResponse, GetCountriesResponse, GetDistrictsResponse, GetLockersResponse, GetRegionsResponse, GetResidentialComplexesResponse, GetTagsResponse, HeatingMetersResponse, HouseTypes, ImageBodyRequest, ImageModel, ImpairmentTypes, InternetProviderParams, LatLonParams, LiteMeterInterface, LiteObjectModel, LiteUserModel, LockerModel, LockerParams, MainObjectInfoInterface, MaxMetersInfoParams, MeterCommonInfoModel, MeterModel, MeterPayerModel, MeterTariffModel, MeterTypes, MeterValues, MetersCountParams, MetersResponse, MetersResponseBody, MetroStationParams, ObjectType, OverlapTypes, PaginationRes, ParkingTypes, PatchBillingInfoParams, PatchCompanyParams, PatchDocumentRequest, PatchFileParams, PaymentStatuses, PeriodStatus, PhoneParams, PostCommonTariffParams, PostCompaniesRequest, PostElectricityTariffRequest, PostGasTariffRequest, PostHeatingTariffRequest, PostTariffRequest, PostWaterTariffRequest, RegionModel, RegionParams, RenovationParams, RenovationStyle, RenovationType, RentPeriodTypes, RentalContractModel, RentalInspectionParams, RentalStatuses, RentalTypes, ResidentialComplexModel, ResidentialComplexParams, ResourceTypes, RoomModel, RoomParams, RoomType, RoomTypes, RoommateParams, SecurityObjectInfoInterface, ServiceContractLiteModel, ServiceContractModel, SettingsParams, SignInParams, SingleMeterParams, SubjectRoles, TVTypes, TagModel, TariffGroupLiteParams, TariffLinkModel, TariffStatuses, TaxResidenceType, TaxesTypes, UnitOfPaymentTypes, UploadDocumentParams, UploadFileResponse, UserNamesModel, UtilityPayerModel, UtilityTypes, Values, WallMaterials, WaterMeterParams, WaterMeterTypes, WaterMetersResponse, WifiParams };
|
|
994
|
+
export { APISubjectRoles, AddressWithLocationParams, AdministrativeCompany, AdministrativeCompanyModel, ApartmentAdministrativeCompany, ApartmentContractTypes, ApartmentDescriptionParams, ApartmentDetailInfoModelFields, ApartmentDetailInfoParams, ApartmentDocumentModel, ApartmentFeatureModel, ApartmentFillingAPIVariants, ApartmentFillingVariants, ApartmentHouseInfoParams, ApartmentInspectionModel, ApartmentLinkModel, ApartmentLinkParams, ApartmentLiteModel, ApartmentLockerParams, ApartmentMainInfoModelFields, ApartmentMainInfoParams, ApartmentMeterAccounts, ApartmentMeterValues, ApartmentMetroParams, ApartmentMetroStationsParams, ApartmentModel, ApartmentPartialModel, ApartmentPaymentInfoParams, ApartmentSecurityInfoParams, ApartmentSimpleModel, ApartmentTelecommunicationInfoParams, ApiTokenAuthResponse, CatalogItemModel, CatalogItemParams, CityModel, CityParams, ClientTypes$1 as ClientTypes, CommonMeterParams, CommonTariffModel, CompanyAPITypes, CompanyByTinRequestBody, CompanyInfoModel, CompanyLiteParams, CompanyLogoModel, CompanyMainInfoModel, CompanyMainOfficeModel, CompanyModel, CompanyOfficeModel, CompanyOfficeWithoutIdModel, CompanyParams, CompanyTypes, ContractLinkModel, ContractStatuses, CountryModel, CountryParams, CountyModel, CountyParams, DeepPartial, DetailObjectInfoInterface, DistrictModel, DistrictParams, DocumentModel, DocumentVisibilityAPIVariants, DocumentVisibilityVariants, DocumentWithVisibility, ElectricityMeterParams, ElectricityMeterTypes, ElectricityMeterValues, ElectricityMetersResponse, EmptyType, EntityLinkParams, FetchApartmentOwnersResponse, FetchApartmentsResponse, FileBodyRequest, FileModel, FileParams, FillingInfoFormFields, FillingTagParams, FillingTypes, FixedCostModel, GasMetersResponse, GasTypes, GenderAPIVariants, GeolocationParams, GetCatalogResponse, GetCitiesResponse, GetCommonTariffsResponse, GetCompaniesResponse, GetCountiesResponse, GetCountriesResponse, GetDistrictsResponse, GetLockersResponse, GetRegionsResponse, GetResidentialComplexesResponse, GetTagsResponse, HeatingMetersResponse, HouseTypes, ImageBodyRequest, ImageModel, ImpairmentTypes, InternetProviderParams, LatLonParams, LiteMeterInterface, LiteObjectModel, LiteUserModel, LockerModel, LockerParams, MainObjectInfoInterface, MaxMetersInfoParams, MeterCommonInfoModel, MeterModel, MeterPayerModel, MeterTariffModel, MeterTypes, MeterValues, MetersCountParams, MetersResponse, MetersResponseBody, MetroLineParams, MetroStationModel, MetroStationParams, ObjectType, OverlapTypes, PaginationRes, ParkingTypes, PatchBillingInfoParams, PatchCompanyParams, PatchDocumentRequest, PatchFileParams, PaymentStatuses, PeriodStatus, PhoneParams, PostCommonTariffParams, PostCompaniesRequest, PostElectricityTariffRequest, PostGasTariffRequest, PostHeatingTariffRequest, PostTariffRequest, PostWaterTariffRequest, RegionModel, RegionParams, RenovationParams, RenovationStyle, RenovationType, RentPeriodTypes, RentalContractModel, RentalInspectionParams, RentalStatuses, RentalTypes, ResidentialComplexModel, ResidentialComplexParams, ResourceTypes, RoomModel, RoomParams, RoomType, RoomTypes, RoommateParams, SecurityObjectInfoInterface, ServiceContractLiteModel, ServiceContractModel, SettingsParams, SignInParams, SingleMeterParams, SubjectRoles, TVTypes, TagModel, TariffGroupLiteParams, TariffLinkModel, TariffStatuses, TaxResidenceType, TaxesTypes, UnitOfPaymentTypes, UpcomingInspectionApartmentModel, UploadDocumentParams, UploadFileResponse, UserNamesModel, UtilityPayerModel, UtilityTypes, Values, WallMaterials, WaterMeterParams, WaterMeterTypes, WaterMetersResponse, WifiParams };
|