kui-crm 0.0.548 → 0.0.550

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/hooks/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import * as react from 'react';
1
+ import * as React$1 from 'react';
2
2
  import { DependencyList, RefObject } from 'react';
3
3
  import { SortingFilter, Paginator } from 'kui-utils';
4
4
 
@@ -23,7 +23,7 @@ declare type GeolocationParams = {
23
23
  };
24
24
 
25
25
  declare const useMapCards: (location: GeolocationParams, map?: google.maps.Map | undefined) => {
26
- ref: react.RefObject<HTMLDivElement>;
26
+ ref: React$1.RefObject<HTMLDivElement>;
27
27
  isOpen: boolean;
28
28
  closeCard: () => void;
29
29
  toggleCard: () => void;
package/index.d.ts CHANGED
@@ -1437,6 +1437,206 @@ declare type TariffGroupLiteParams = {
1437
1437
  name: string;
1438
1438
  };
1439
1439
 
1440
+ declare type ResourcePaymentRoles$1 = "maroom" | "owner" | "renter" | "by_invoice";
1441
+ declare type UnitOfPaymentTypes$1 = "percent" | "value";
1442
+ declare type WaterMeterTypes$1 = "cold" | "hot";
1443
+ declare type ElectricityMeterTypes$1 = "T1" | "T2" | "T3";
1444
+ declare type ResourceTypes$1 = "water" | "electricity" | "gas" | "heating";
1445
+ declare type MeterTypes$1 = ElectricityMeterTypes$1 | WaterMeterTypes$1 | null;
1446
+ declare type UtilityTypes$1 = ResourceTypes$1 | "utility" | "invoice";
1447
+ declare type DocumentVisibilityAPIVariants$1 = "everybody" | "renter" | "owner" | "nobody";
1448
+ declare type FileBodyRequest$1 = {
1449
+ temp_file_id?: number;
1450
+ name: string;
1451
+ visibility?: DocumentVisibilityAPIVariants$1;
1452
+ url?: string;
1453
+ };
1454
+ declare type ImageBodyRequest$1 = {
1455
+ temp_file_id: number;
1456
+ image_name: string;
1457
+ url: string;
1458
+ };
1459
+ declare type VideoBodyRequest$1 = {
1460
+ temp_file_id: number;
1461
+ file_name: string;
1462
+ url: string;
1463
+ };
1464
+ declare type ImageModel$1 = {
1465
+ id: number;
1466
+ image_name?: string;
1467
+ image_url?: string;
1468
+ image_small_url: string;
1469
+ image_medium_url: string;
1470
+ image_large_url: string;
1471
+ size: number;
1472
+ };
1473
+ declare type FileModel$1 = {
1474
+ id: number;
1475
+ name: string;
1476
+ size: number;
1477
+ url: string;
1478
+ };
1479
+ declare type DocumentModel$1 = {
1480
+ pk: number;
1481
+ name: string;
1482
+ created?: string;
1483
+ attachment: string;
1484
+ size: number;
1485
+ uploaded_by?: string | null;
1486
+ visibility?: DocumentVisibilityAPIVariants$1;
1487
+ };
1488
+
1489
+ type FileWithVisibility$1 = {
1490
+ file: File | null
1491
+ tenant: boolean
1492
+ landlord: boolean
1493
+ visibility: DocumentVisibilityVariants$1
1494
+ url: string
1495
+ }
1496
+
1497
+ type InputFileWithVisibilityFields$1 =
1498
+ | FileWithVisibility$1
1499
+ | DocumentWithVisibility$1
1500
+ | null
1501
+ | undefined
1502
+
1503
+ type CompanyAutocompleteFields$1 = {
1504
+ id: number
1505
+ name: string
1506
+ logo?: string | null
1507
+ }
1508
+
1509
+ declare class FileStore$1 implements FileStoreInterface$1 {
1510
+ id: number | null;
1511
+ index?: number | null;
1512
+ name: string;
1513
+ url: string;
1514
+ smallImageUrl?: string;
1515
+ mediumImageUrl?: string;
1516
+ largeImageUrl?: string;
1517
+ date: DateTime | null;
1518
+ size: number | null;
1519
+ createdBy: string;
1520
+ visibility?: DocumentVisibilityVariants$1;
1521
+ filesStore?: FilesStoreInterface$1 | null;
1522
+ extension: string;
1523
+ file?: File | null;
1524
+ uploadStatus: LoadStatus$1;
1525
+ uploadedData: UploadedFileParams$1;
1526
+ loader: Loader;
1527
+ withFileCleanUp?: boolean;
1528
+ isVideo?: boolean;
1529
+ constructor(file: FileStoreParams$1, filesStore?: FilesStoreInterface$1 | null, withFileCleanUp?: boolean);
1530
+ uploadFile: (variant: FileVariant$1) => Promise<void>;
1531
+ updateUploadStatus: (status: LoadStatus$1) => void;
1532
+ updateUploadedData: (data: UploadedFileParams$1) => void;
1533
+ editFile: (data: any) => void;
1534
+ deleteFile: () => void;
1535
+ updateName: (name: string) => void;
1536
+ updateStore: (data: unknown) => void;
1537
+ setIndex: (index: number) => void;
1538
+ get title(): string;
1539
+ static createPreviewUrl: (file: File) => Promise<string>;
1540
+ static initFromFileWithPreview: (file: File, index: number, withFileCleanUp?: boolean | undefined) => Promise<FileStore$1>;
1541
+ static initFromFileModel: (file: FileModel$1) => FileStore$1;
1542
+ static initFromDocumentModel: (file: DocumentModel$1) => FileStore$1;
1543
+ static initFromImageModel: (file: ImageModel$1, name?: string | undefined, isVideo?: boolean | undefined) => FileStore$1;
1544
+ static initFromFile: (file: File, index: number, withFileCleanUp?: boolean | undefined) => FileStore$1;
1545
+ static initFromFileStore: (file: FileStore$1) => FileStore$1;
1546
+ }
1547
+
1548
+ type PartialPayerFields$1 = {
1549
+ payer?: ResourcePaymentRoles$1 | "partial"
1550
+ mainPayer?: ResourcePaymentRoles$1
1551
+ refundFrom?: ResourcePaymentRoles$1
1552
+ partType?: UnitOfPaymentTypes$1 | null
1553
+ refundValue?: number | string | null
1554
+ utilityType: UtilityTypes$1
1555
+ }
1556
+
1557
+ declare type FilesStoreInterface$1 = {
1558
+ editFile: (id: number, data: any, callback: () => void) => void;
1559
+ deleteFile: (id: number) => void;
1560
+ };
1561
+ declare type FileStoreInterface$1 = {
1562
+ id: number | null;
1563
+ name: string;
1564
+ url: string;
1565
+ date: DateTime | null;
1566
+ size: number | null;
1567
+ createdBy: string;
1568
+ visibility?: DocumentVisibilityVariants$1;
1569
+ filesStore?: FilesStoreInterface$1 | null;
1570
+ editFile?: (data: any) => void;
1571
+ deleteFile?: () => void;
1572
+ extension: string;
1573
+ title: string;
1574
+ };
1575
+ declare type DocumentVisibilityVariants$1 = "everybody" | "tenant" | "landlord" | "nobody";
1576
+ declare type DocumentWithVisibility$1 = {
1577
+ id: number | null;
1578
+ name: string;
1579
+ url: string;
1580
+ date: DateTime | null;
1581
+ size: number | null;
1582
+ createdBy: string;
1583
+ visibility?: DocumentVisibilityVariants$1;
1584
+ extension: string;
1585
+ };
1586
+ declare type UploadedFileParams$1 = FileBodyRequest$1 | ImageBodyRequest$1 | VideoBodyRequest$1 | null;
1587
+ declare type FileStoreParams$1 = {
1588
+ id?: number | null;
1589
+ url?: string;
1590
+ index?: number | string | null;
1591
+ createdBy?: string | null;
1592
+ visibility?: DocumentVisibilityAPIVariants$1;
1593
+ name?: string;
1594
+ date?: string | null;
1595
+ size?: number | null;
1596
+ file?: File | null;
1597
+ uploadStatus?: LoadStatus$1;
1598
+ uploadedData?: UploadedFileParams$1;
1599
+ smallImageUrl?: string;
1600
+ mediumImageUrl?: string;
1601
+ largeImageUrl?: string;
1602
+ isVideo?: boolean;
1603
+ };
1604
+ declare type LoadStatus$1 = "loading" | "success" | "failure" | "default" | "error";
1605
+ declare type FileVariant$1 = "image" | "document";
1606
+
1607
+ type TariffGroupAutocompleteFields$1 = {
1608
+ id: number
1609
+ name: string
1610
+ type?: string
1611
+ }
1612
+
1613
+ type BasicMeterFeaturesFormFields$1 = {
1614
+ number: string
1615
+ startDate: DateTime | null
1616
+ initialValue?: number
1617
+ initialValueT1?: number
1618
+ initialValueT2?: number
1619
+ initialValueT3?: number
1620
+ type?: MeterTypes$1
1621
+ resource?: ResourceTypes$1
1622
+ withAutoSending?: boolean
1623
+ }
1624
+
1625
+ type MeterFeaturesFormFields$1 = {
1626
+ tariff: TariffGroupAutocompleteFields$1 | null
1627
+ company: CompanyAutocompleteFields$1 | null
1628
+ nextCheck: DateTime | null
1629
+ lastValue?: number
1630
+ lastValueT1?: number
1631
+ lastValueT2?: number
1632
+ lastValueT3?: number
1633
+ replaceableCounter?: string | number
1634
+ meterPayer?: PartialPayerFields$1
1635
+ operationalAccountNumber?: string | null
1636
+ archived?: boolean
1637
+ tariffChangeDate?: DateTime | null
1638
+ } & BasicMeterFeaturesFormFields$1
1639
+
1440
1640
  declare type MeterValues = {
1441
1641
  initialValue?: number | string | null;
1442
1642
  lastValue?: number | string | null;
@@ -1445,7 +1645,13 @@ declare type ApartmentMeterValues = {
1445
1645
  T1?: MeterValues;
1446
1646
  T2?: MeterValues;
1447
1647
  T3?: MeterValues;
1448
- } & MeterValues;
1648
+ } & MeterValues;
1649
+ declare type InspectionMeterFields = {
1650
+ id?: number;
1651
+ resource: ResourceTypes$1;
1652
+ passportFile?: InputFileWithVisibilityFields$1;
1653
+ images: FileStore$1[];
1654
+ } & MeterFeaturesFormFields$1;
1449
1655
 
1450
1656
  declare type InspectionFeedbackStatus = "notSigned" | "signed" | "rejected";
1451
1657
  declare type InspectionFeedbackParams = {
@@ -1564,7 +1770,19 @@ declare type ApartmentResourceCompanyDetails = {
1564
1770
  dataSubmissionDays: DataSubmissionDaysParams;
1565
1771
  access: ResourceAccessParams;
1566
1772
  sampleReceiptLink: string;
1567
- };
1773
+ sampleReceipt?: InputFileWithVisibilityFields | FileStore | null;
1774
+ };
1775
+ declare type ApartmentResourceInterface = {
1776
+ type: ApartmentResourceTypes;
1777
+ name?: string;
1778
+ companyDetails: ApartmentResourceCompanyDetails | null;
1779
+ editResource?: () => Promise<void>;
1780
+ deleteResource?: () => Promise<void>;
1781
+ isFixedResource?: boolean;
1782
+ };
1783
+ declare type ApartmentResourceFieldsParams = {
1784
+ meters?: InspectionMeterFields[];
1785
+ } & ApartmentResourceInterface;
1568
1786
 
1569
1787
  declare type FilesStoreInterface = {
1570
1788
  editFile: (id: number, data: any, callback: () => void) => void;
@@ -3568,4 +3786,4 @@ type SignInPageProps = {
3568
3786
 
3569
3787
  declare const _default: (props: SignInPageProps) => JSX.Element;
3570
3788
 
3571
- 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, 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, 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, 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 };
3789
+ 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, 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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kui-crm",
3
- "version": "0.0.548",
3
+ "version": "0.0.550",
4
4
  "description": "crm complex fields",
5
5
  "main": "./cjs/index.js",
6
6
  "types": "./index.d.ts",
package/types/index.d.ts CHANGED
@@ -6,13 +6,13 @@ import { InputWithControllerProps } from 'kui-complex';
6
6
 
7
7
  declare type GenderAPIVariants = "M" | "F";
8
8
  declare type APISubjectRoles = "maroom" | "owner" | "renter";
9
- declare type ResourcePaymentRoles = "maroom" | "owner" | "renter" | "by_invoice";
10
- declare type UnitOfPaymentTypes = "percent" | "value";
11
- declare type WaterMeterTypes = "cold" | "hot";
12
- declare type ElectricityMeterTypes = "T1" | "T2" | "T3";
13
- declare type ResourceTypes = "water" | "electricity" | "gas" | "heating";
14
- declare type MeterTypes = ElectricityMeterTypes | WaterMeterTypes | null;
15
- declare type UtilityTypes = ResourceTypes | "utility" | "invoice";
9
+ declare type ResourcePaymentRoles$1 = "maroom" | "owner" | "renter" | "by_invoice";
10
+ declare type UnitOfPaymentTypes$1 = "percent" | "value";
11
+ declare type WaterMeterTypes$1 = "cold" | "hot";
12
+ declare type ElectricityMeterTypes$1 = "T1" | "T2" | "T3";
13
+ declare type ResourceTypes$1 = "water" | "electricity" | "gas" | "heating";
14
+ declare type MeterTypes$1 = ElectricityMeterTypes$1 | WaterMeterTypes$1 | null;
15
+ declare type UtilityTypes$1 = ResourceTypes$1 | "utility" | "invoice";
16
16
  declare type ClientTypes = "personal" | "company";
17
17
  declare type RentalStatuses = "Rented out" | "Closed" | "Open";
18
18
  declare type RentalPaymentStatuses = "rent_overdue" | "major_overdue" | "minor_overdue" | "rent_due" | "major_due" | "minor_due" | "all_paid";
@@ -20,7 +20,7 @@ declare type PaymentStatuses = "paid" | "unpaid" | "overdue" | null;
20
20
  declare type ContractStatuses = "Closed" | "Rented out" | "New" | "Pending" | "Open" | "Closing" | "Archived";
21
21
  declare type TaxResidenceType = "resident" | "not_resident";
22
22
  declare type RentalTypes = "short" | "medium" | "long" | "any";
23
- declare type DocumentVisibilityAPIVariants = "everybody" | "renter" | "owner" | "nobody";
23
+ declare type DocumentVisibilityAPIVariants$1 = "everybody" | "renter" | "owner" | "nobody";
24
24
  declare type TaxesTypes = "resident" | "nonresident" | "individual-entrepreneur" | "company" | "self-employed";
25
25
  declare type ContractLinkModel = {
26
26
  id: number;
@@ -59,7 +59,7 @@ declare type ApartmentLinkModel = {
59
59
  address: string;
60
60
  object_name?: string;
61
61
  apartment_number?: string;
62
- main_image: ImageModel | null;
62
+ main_image: ImageModel$1 | null;
63
63
  folder_number?: string;
64
64
  };
65
65
  declare type ApartmentSimpleModel = {
@@ -69,7 +69,7 @@ declare type LiteObjectModel = {
69
69
  id: number;
70
70
  address: string;
71
71
  object_name?: string;
72
- main_image: ImageModel | null;
72
+ main_image: ImageModel$1 | null;
73
73
  };
74
74
  declare type AdministrativeCompanyModel = {
75
75
  id: number;
@@ -82,24 +82,24 @@ declare type TariffLinkModel = {
82
82
  code_name: string;
83
83
  };
84
84
  declare type UtilityPayerModel = {
85
- utility_type: UtilityTypes;
86
- payment_made_by?: ResourcePaymentRoles;
87
- refund_from: ResourcePaymentRoles;
85
+ utility_type: UtilityTypes$1;
86
+ payment_made_by?: ResourcePaymentRoles$1;
87
+ refund_from: ResourcePaymentRoles$1;
88
88
  refund_value?: number | string;
89
- value_type?: UnitOfPaymentTypes;
89
+ value_type?: UnitOfPaymentTypes$1;
90
90
  };
91
- declare type FileBodyRequest = {
91
+ declare type FileBodyRequest$1 = {
92
92
  temp_file_id?: number;
93
93
  name: string;
94
- visibility?: DocumentVisibilityAPIVariants;
94
+ visibility?: DocumentVisibilityAPIVariants$1;
95
95
  url?: string;
96
96
  };
97
- declare type ImageBodyRequest = {
97
+ declare type ImageBodyRequest$1 = {
98
98
  temp_file_id: number;
99
99
  image_name: string;
100
100
  url: string;
101
101
  };
102
- declare type VideoBodyRequest = {
102
+ declare type VideoBodyRequest$1 = {
103
103
  temp_file_id: number;
104
104
  file_name: string;
105
105
  url: string;
@@ -108,7 +108,7 @@ declare type UploadFileResponse = {
108
108
  id: number;
109
109
  upload: string;
110
110
  };
111
- declare type ImageModel = {
111
+ declare type ImageModel$1 = {
112
112
  id: number;
113
113
  image_name?: string;
114
114
  image_url?: string;
@@ -117,20 +117,20 @@ declare type ImageModel = {
117
117
  image_large_url: string;
118
118
  size: number;
119
119
  };
120
- declare type FileModel = {
120
+ declare type FileModel$1 = {
121
121
  id: number;
122
122
  name: string;
123
123
  size: number;
124
124
  url: string;
125
125
  };
126
- declare type DocumentModel = {
126
+ declare type DocumentModel$1 = {
127
127
  pk: number;
128
128
  name: string;
129
129
  created?: string;
130
130
  attachment: string;
131
131
  size: number;
132
132
  uploaded_by?: string | null;
133
- visibility?: DocumentVisibilityAPIVariants;
133
+ visibility?: DocumentVisibilityAPIVariants$1;
134
134
  };
135
135
  declare type PatchDocumentRequest = {
136
136
  name: string;
@@ -138,7 +138,7 @@ declare type PatchDocumentRequest = {
138
138
  declare type PatchFileParams = {
139
139
  id: number;
140
140
  name: string;
141
- visibility: DocumentVisibilityAPIVariants;
141
+ visibility: DocumentVisibilityAPIVariants$1;
142
142
  };
143
143
  declare type PaginationRes<T> = {
144
144
  count: number;
@@ -235,32 +235,32 @@ declare type CountryParams = {
235
235
  code: string;
236
236
  } & CatalogItemParams;
237
237
 
238
- type FileWithVisibility = {
238
+ type FileWithVisibility$1 = {
239
239
  file: File | null
240
240
  tenant: boolean
241
241
  landlord: boolean
242
- visibility: DocumentVisibilityVariants
242
+ visibility: DocumentVisibilityVariants$1
243
243
  url: string
244
244
  }
245
245
 
246
- type InputFileWithVisibilityFields =
247
- | FileWithVisibility
248
- | DocumentWithVisibility
246
+ type InputFileWithVisibilityFields$1 =
247
+ | FileWithVisibility$1
248
+ | DocumentWithVisibility$1
249
249
  | null
250
250
  | undefined
251
251
 
252
252
  type ChangeReasonFormFields = {
253
- reason: InputFileWithVisibilityFields
253
+ reason: InputFileWithVisibilityFields$1
254
254
  comment?: string
255
255
  }
256
256
 
257
- type CompanyAutocompleteFields = {
257
+ type CompanyAutocompleteFields$1 = {
258
258
  id: number
259
259
  name: string
260
260
  logo?: string | null
261
261
  }
262
262
 
263
- declare class FileStore implements FileStoreInterface {
263
+ declare class FileStore$1 implements FileStoreInterface {
264
264
  id: number | null;
265
265
  index?: number | null;
266
266
  name: string;
@@ -271,19 +271,19 @@ declare class FileStore implements FileStoreInterface {
271
271
  date: DateTime | null;
272
272
  size: number | null;
273
273
  createdBy: string;
274
- visibility?: DocumentVisibilityVariants;
274
+ visibility?: DocumentVisibilityVariants$1;
275
275
  filesStore?: FilesStoreInterface | null;
276
276
  extension: string;
277
277
  file?: File | null;
278
- uploadStatus: LoadStatus;
279
- uploadedData: UploadedFileParams;
278
+ uploadStatus: LoadStatus$1;
279
+ uploadedData: UploadedFileParams$1;
280
280
  loader: Loader;
281
281
  withFileCleanUp?: boolean;
282
282
  isVideo?: boolean;
283
- constructor(file: FileStoreParams, filesStore?: FilesStoreInterface | null, withFileCleanUp?: boolean);
284
- uploadFile: (variant: FileVariant) => Promise<void>;
285
- updateUploadStatus: (status: LoadStatus) => void;
286
- updateUploadedData: (data: UploadedFileParams) => void;
283
+ constructor(file: FileStoreParams$1, filesStore?: FilesStoreInterface | null, withFileCleanUp?: boolean);
284
+ uploadFile: (variant: FileVariant$1) => Promise<void>;
285
+ updateUploadStatus: (status: LoadStatus$1) => void;
286
+ updateUploadedData: (data: UploadedFileParams$1) => void;
287
287
  editFile: (data: any) => void;
288
288
  deleteFile: () => void;
289
289
  updateName: (name: string) => void;
@@ -291,12 +291,12 @@ declare class FileStore implements FileStoreInterface {
291
291
  setIndex: (index: number) => void;
292
292
  get title(): string;
293
293
  static createPreviewUrl: (file: File) => Promise<string>;
294
- static initFromFileWithPreview: (file: File, index: number, withFileCleanUp?: boolean | undefined) => Promise<FileStore>;
295
- static initFromFileModel: (file: FileModel) => FileStore;
296
- static initFromDocumentModel: (file: DocumentModel) => FileStore;
297
- static initFromImageModel: (file: ImageModel, name?: string | undefined, isVideo?: boolean | undefined) => FileStore;
298
- static initFromFile: (file: File, index: number, withFileCleanUp?: boolean | undefined) => FileStore;
299
- static initFromFileStore: (file: FileStore) => FileStore;
294
+ static initFromFileWithPreview: (file: File, index: number, withFileCleanUp?: boolean | undefined) => Promise<FileStore$1>;
295
+ static initFromFileModel: (file: FileModel$1) => FileStore$1;
296
+ static initFromDocumentModel: (file: DocumentModel$1) => FileStore$1;
297
+ static initFromImageModel: (file: ImageModel$1, name?: string | undefined, isVideo?: boolean | undefined) => FileStore$1;
298
+ static initFromFile: (file: File, index: number, withFileCleanUp?: boolean | undefined) => FileStore$1;
299
+ static initFromFileStore: (file: FileStore$1) => FileStore$1;
300
300
  }
301
301
 
302
302
  declare type ImageParams = {
@@ -331,7 +331,7 @@ declare class ImageStore implements ImageStoreInterface {
331
331
  delete: () => Promise<void>;
332
332
  get extension(): string;
333
333
  get title(): string;
334
- static initFromImageModel: (image: ImageModel) => ImageStore;
334
+ static initFromImageModel: (image: ImageModel$1) => ImageStore;
335
335
  static initFromVideoModel: (image: VideoModel) => ImageStore;
336
336
  }
337
337
 
@@ -457,7 +457,7 @@ declare type LockerAutocompleteFields = {
457
457
  declare type ApartmentOverviewPaymentInfoFields = {
458
458
  payerCode?: string;
459
459
  communalServicesAccount?: string;
460
- company?: CompanyAutocompleteFields | null;
460
+ company?: CompanyAutocompleteFields$1 | null;
461
461
  } & ChangeReasonFormFields;
462
462
  declare type ApartmentOverviewInfoFields = {
463
463
  locker?: LockerAutocompleteFields | null;
@@ -480,14 +480,14 @@ declare type InspectionPaymentInfoParams = {
480
480
  } & ApartmentPaymentInfoParams;
481
481
  declare type InspectionMeterInfoParams = {
482
482
  id: number;
483
- resource: ResourceTypes;
484
- type?: MeterTypes;
483
+ resource: ResourceTypes$1;
484
+ type?: MeterTypes$1;
485
485
  number: string;
486
486
  startDate: DateTime | null;
487
487
  company: CompanyLiteParams;
488
488
  operationalAccountNumber?: string | null;
489
489
  tariff: EntityLinkParams | null;
490
- passportFile: FileStore | null;
490
+ passportFile: FileStore$1 | null;
491
491
  initialValue?: number;
492
492
  lastValue?: number;
493
493
  initialValueT1?: number;
@@ -509,8 +509,8 @@ declare type ValuesParams = {
509
509
  };
510
510
  declare type PartialMeterInfoParams = {
511
511
  id: number;
512
- type: MeterTypes;
513
- resource: ResourceTypes;
512
+ type: MeterTypes$1;
513
+ resource: ResourceTypes$1;
514
514
  number: string;
515
515
  values: ValuesParams;
516
516
  images?: (ImageStore | UploadImageParams)[];
@@ -522,7 +522,7 @@ declare type InspectionPartialMetersInfoParams = {
522
522
  declare type ComparableObjectParams = {
523
523
  id: number;
524
524
  link: string;
525
- screenshot: FileStore | null;
525
+ screenshot: FileStore$1 | null;
526
526
  price: number;
527
527
  differences: string;
528
528
  };
@@ -530,7 +530,7 @@ declare type StatisticalEvaluationParams = {
530
530
  id: number;
531
531
  dataSourceName: string;
532
532
  link: string;
533
- screenshot: FileStore | null;
533
+ screenshot: FileStore$1 | null;
534
534
  minPrice: number;
535
535
  maxPrice: number;
536
536
  };
@@ -743,7 +743,7 @@ declare type ApartmentFeatureModel = {
743
743
  };
744
744
  declare type ApartmentDocumentModel = {
745
745
  id: number;
746
- document: DocumentModel;
746
+ document: DocumentModel$1;
747
747
  expiration_date: string;
748
748
  start_date: string;
749
749
  number: string;
@@ -755,7 +755,7 @@ declare type MeterCommonInfoModel = {
755
755
  tariff?: TariffLinkModel;
756
756
  activation_date?: string;
757
757
  check_date?: string;
758
- type?: ElectricityMeterTypes | WaterMeterTypes;
758
+ type?: ElectricityMeterTypes$1 | WaterMeterTypes$1;
759
759
  apartment: ApartmentLinkModel;
760
760
  company: CompanyLiteParams;
761
761
  operating_account_number?: string | null;
@@ -876,7 +876,7 @@ declare type ApartmentModel = {
876
876
  owner_id: number;
877
877
  metro_stations: ApartmentMetroParams[];
878
878
  rental_status: RentalStatuses;
879
- main_image: ImageModel;
879
+ main_image: ImageModel$1;
880
880
  tv_type: TVTypes | null;
881
881
  inspection: ApartmentInspectionModel;
882
882
  distance_to_center_kilometers: number | null;
@@ -903,7 +903,7 @@ declare type ApartmentLiteModel = {
903
903
  renter: LiteUserModel | null;
904
904
  rental_status: RentalStatuses;
905
905
  renter_payment_status: RentalPaymentStatuses;
906
- main_image: ImageModel;
906
+ main_image: ImageModel$1;
907
907
  service_contract?: ServiceContractLiteModel;
908
908
  is_imported_from_old_crm?: boolean;
909
909
  max_electricity_counters?: number | null;
@@ -949,7 +949,7 @@ declare type ObjectForMapModel = {
949
949
  apartment_number: string;
950
950
  address: string;
951
951
  geolocation: LatLonParams;
952
- main_image: ImageModel;
952
+ main_image: ImageModel$1;
953
953
  renter: ClientLiteModel | null;
954
954
  owner: ClientLiteModel;
955
955
  metro_stations: ApartmentMetroStationModel[];
@@ -976,18 +976,18 @@ declare class DocumentStore implements FileStoreInterface {
976
976
  date: DateTime | null;
977
977
  size: number | null;
978
978
  createdBy: string;
979
- visibility?: DocumentVisibilityVariants;
979
+ visibility?: DocumentVisibilityVariants$1;
980
980
  documentsStore: DocumentsStoreInterface;
981
981
  agent: DocumentAgentInterface;
982
982
  loader: Loader;
983
983
  settings?: any;
984
- constructor(document: DocumentModel, documentsStore: DocumentsStoreInterface, agent: DocumentAgentInterface, settings?: any);
984
+ constructor(document: DocumentModel$1, documentsStore: DocumentsStoreInterface, agent: DocumentAgentInterface, settings?: any);
985
985
  patchDocument: (data: UploadDocumentParams, ...params: any) => Promise<void>;
986
- updateDocument: (res: DocumentModel) => void;
986
+ updateDocument: (res: DocumentModel$1) => void;
987
987
  deleteDocument: (...params: any) => Promise<void>;
988
988
  get extension(): string;
989
989
  get title(): string;
990
- static getDocumentBody: (data: UploadDocumentParams) => FileBodyRequest;
990
+ static getDocumentBody: (data: UploadDocumentParams) => FileBodyRequest$1;
991
991
  }
992
992
 
993
993
  type InputTypes =
@@ -1010,7 +1010,7 @@ type InputParams<T> = {
1010
1010
  } & InputByTypeProps<T>
1011
1011
 
1012
1012
  declare type SubjectRoles = "maroom" | "landlord" | "tenant";
1013
- declare type DocumentVisibilityVariants = "everybody" | "tenant" | "landlord" | "nobody";
1013
+ declare type DocumentVisibilityVariants$1 = "everybody" | "tenant" | "landlord" | "nobody";
1014
1014
  declare type AddressWithLocationParams = {
1015
1015
  address: string;
1016
1016
  location?: LatLonParams | null;
@@ -1023,14 +1023,14 @@ declare type PhoneParams = {
1023
1023
  phoneCode: string;
1024
1024
  phoneNumber: string;
1025
1025
  };
1026
- declare type DocumentWithVisibility = {
1026
+ declare type DocumentWithVisibility$1 = {
1027
1027
  id: number | null;
1028
1028
  name: string;
1029
1029
  url: string;
1030
1030
  date: DateTime | null;
1031
1031
  size: number | null;
1032
1032
  createdBy: string;
1033
- visibility?: DocumentVisibilityVariants;
1033
+ visibility?: DocumentVisibilityVariants$1;
1034
1034
  extension: string;
1035
1035
  };
1036
1036
  declare type SettingsParams = {
@@ -1039,7 +1039,7 @@ declare type SettingsParams = {
1039
1039
  contractType?: ApartmentContractTypes;
1040
1040
  };
1041
1041
  declare type UploadDocumentParams = {
1042
- visibility?: DocumentVisibilityVariants;
1042
+ visibility?: DocumentVisibilityVariants$1;
1043
1043
  } & UploadFileParams & SettingsParams;
1044
1044
  declare type FileParams = {
1045
1045
  name: string;
@@ -1047,19 +1047,19 @@ declare type FileParams = {
1047
1047
  size?: number | null;
1048
1048
  file: File;
1049
1049
  };
1050
- declare type UploadedFileParams = FileBodyRequest | ImageBodyRequest | VideoBodyRequest | null;
1051
- declare type FileStoreParams = {
1050
+ declare type UploadedFileParams$1 = FileBodyRequest$1 | ImageBodyRequest$1 | VideoBodyRequest$1 | null;
1051
+ declare type FileStoreParams$1 = {
1052
1052
  id?: number | null;
1053
1053
  url?: string;
1054
1054
  index?: number | string | null;
1055
1055
  createdBy?: string | null;
1056
- visibility?: DocumentVisibilityAPIVariants;
1056
+ visibility?: DocumentVisibilityAPIVariants$1;
1057
1057
  name?: string;
1058
1058
  date?: string | null;
1059
1059
  size?: number | null;
1060
1060
  file?: File | null;
1061
- uploadStatus?: LoadStatus;
1062
- uploadedData?: UploadedFileParams;
1061
+ uploadStatus?: LoadStatus$1;
1062
+ uploadedData?: UploadedFileParams$1;
1063
1063
  smallImageUrl?: string;
1064
1064
  mediumImageUrl?: string;
1065
1065
  largeImageUrl?: string;
@@ -1109,8 +1109,8 @@ declare type UploadFileParams = {
1109
1109
  title?: string;
1110
1110
  url?: string;
1111
1111
  };
1112
- declare type LoadStatus = "loading" | "success" | "failure" | "default" | "error";
1113
- declare type FileVariant = "image" | "document";
1112
+ declare type LoadStatus$1 = "loading" | "success" | "failure" | "default" | "error";
1113
+ declare type FileVariant$1 = "image" | "document";
1114
1114
  declare type ClientSimpleParams = {
1115
1115
  id?: number;
1116
1116
  name?: string;
@@ -1194,7 +1194,7 @@ declare type ApartmentResourceCompanyModel = {
1194
1194
  provider_type: string;
1195
1195
  };
1196
1196
  declare type DataTransferFormats = "online" | "offline";
1197
- declare type ApartmentResourceTypesAPI = "administrative" | ResourceTypes | "other";
1197
+ declare type ApartmentResourceTypesAPI = "administrative" | ResourceTypes$1 | "other";
1198
1198
  declare type ApartmentResourceModel = {
1199
1199
  id: number;
1200
1200
  company: ApartmentResourceCompanyModel | null;
@@ -1203,7 +1203,7 @@ declare type ApartmentResourceModel = {
1203
1203
  payer_code?: string;
1204
1204
  meter_readings_day_from?: number;
1205
1205
  meter_readings_day_to?: number;
1206
- receipt_example?: DocumentModel;
1206
+ receipt_example?: DocumentModel$1;
1207
1207
  provider_auth_login?: string;
1208
1208
  provider_auth_password?: string;
1209
1209
  provider_url?: string;
@@ -1224,8 +1224,8 @@ declare type InspectionFillingParams = {
1224
1224
  description?: string;
1225
1225
  serial_code?: string;
1226
1226
  amount?: number | string | null;
1227
- photos: ImageBodyRequest[];
1228
- instruction?: FileBodyRequest | null;
1227
+ photos: ImageBodyRequest$1[];
1228
+ instruction?: FileBodyRequest$1 | null;
1229
1229
  was_missing?: boolean;
1230
1230
  };
1231
1231
  declare type InspectionMeterValueModel = {
@@ -1256,7 +1256,7 @@ declare type InspectionRoomPhotoModel = {
1256
1256
  uploaded: boolean;
1257
1257
  purpose: InspectionRoomPhotoTypes;
1258
1258
  comment?: string;
1259
- photos: ImageModel[];
1259
+ photos: ImageModel$1[];
1260
1260
  videos: VideoModel[];
1261
1261
  room_order_number?: number | null;
1262
1262
  };
@@ -1293,11 +1293,11 @@ declare type FullInspectionCommonFields = {
1293
1293
  filling: InspectionFillingModel[];
1294
1294
  } & ApartmentModel;
1295
1295
  declare type InspectionMeterCommonInfo = {
1296
- resource_type: ResourceTypes;
1297
- passport: FileModel | null;
1298
- meter_type: MeterTypes;
1296
+ resource_type: ResourceTypes$1;
1297
+ passport: FileModel$1 | null;
1298
+ meter_type: MeterTypes$1;
1299
1299
  operating_account: string;
1300
- photos: ImageModel[];
1300
+ photos: ImageModel$1[];
1301
1301
  } & Omit<MeterCommonInfoModel, "operating_account_number">;
1302
1302
  declare type TransferInspectionMeterModel = {
1303
1303
  values: InspectionMeterValueModel;
@@ -1313,7 +1313,7 @@ declare type RegularInspectionFields = {
1313
1313
  declare type ComparableObjectModel = {
1314
1314
  id: number;
1315
1315
  advertisement_link: string;
1316
- advertisement_screenshot: ImageModel | null;
1316
+ advertisement_screenshot: ImageModel$1 | null;
1317
1317
  object_price: string;
1318
1318
  key_object_differences: string;
1319
1319
  };
@@ -1321,7 +1321,7 @@ declare type StatisticalEvaluationModel = {
1321
1321
  id: number;
1322
1322
  source_name: string;
1323
1323
  link: string;
1324
- screenshot: ImageModel | null;
1324
+ screenshot: ImageModel$1 | null;
1325
1325
  min_price: string;
1326
1326
  max_price: string;
1327
1327
  };
@@ -1364,11 +1364,11 @@ declare type ImpairmentType = "damages" | "wear_tear";
1364
1364
  declare type ImpairmentModel = {
1365
1365
  id: number;
1366
1366
  impairment_type: ImpairmentType;
1367
- proof_file: DocumentModel | null;
1367
+ proof_file: DocumentModel$1 | null;
1368
1368
  price: number;
1369
1369
  solution: string;
1370
1370
  description: string;
1371
- photos: ImageModel[];
1371
+ photos: ImageModel$1[];
1372
1372
  item_link: string;
1373
1373
  };
1374
1374
  declare type MetroStationsFields = {
@@ -1378,7 +1378,7 @@ declare type InitialInspectionModelFields = {
1378
1378
  used_resources: UsedResourcesModel;
1379
1379
  } & ApartmentMainInfoModelFields & ApartmentDetailInfoModelFields & HouseInfoModelFields & MetroStationsFields;
1380
1380
  declare type AppraisalRequestModelFields = {
1381
- floor_plan: DocumentModel | null;
1381
+ floor_plan: DocumentModel$1 | null;
1382
1382
  };
1383
1383
  declare type InspectionModel = {
1384
1384
  initial?: InitialInspectionModelFields;
@@ -1455,10 +1455,10 @@ declare type InspectionFeedbackInterface = {
1455
1455
  };
1456
1456
  declare type PatchInspectionImageParams = {
1457
1457
  id?: number;
1458
- } & Partial<ImageBodyRequest>;
1458
+ } & Partial<ImageBodyRequest$1>;
1459
1459
  declare type PatchInspectionVideoParams = {
1460
1460
  id?: number;
1461
- } & Partial<VideoBodyRequest>;
1461
+ } & Partial<VideoBodyRequest$1>;
1462
1462
  declare type PatchRoomImagesParams = {
1463
1463
  type: InspectionRoomPhotoTypes;
1464
1464
  comment?: string;
@@ -1498,8 +1498,8 @@ declare type InspectionFillingModel = {
1498
1498
  description: string;
1499
1499
  serial_code: string;
1500
1500
  amount: number;
1501
- photos: ImageModel[];
1502
- instruction: DocumentModel;
1501
+ photos: ImageModel$1[];
1502
+ instruction: DocumentModel$1;
1503
1503
  is_absent: boolean;
1504
1504
  previously_absent: boolean;
1505
1505
  model: string;
@@ -1581,7 +1581,7 @@ declare type CommonMeterParams = {
1581
1581
  company: CompanyLiteParams;
1582
1582
  operating_account_number?: string | null;
1583
1583
  company_is_administrative: boolean;
1584
- photos?: ImageModel[];
1584
+ photos?: ImageModel$1[];
1585
1585
  auto_sending: boolean;
1586
1586
  no_tariff: boolean;
1587
1587
  is_avg: boolean;
@@ -1593,15 +1593,15 @@ declare type ElectricityMeterValues = {
1593
1593
  T3?: MeterTariffModel;
1594
1594
  };
1595
1595
  declare type WaterMeterParams = {
1596
- type: WaterMeterTypes;
1596
+ type: WaterMeterTypes$1;
1597
1597
  tariff: SingleCounterTariffModel;
1598
1598
  } & CommonMeterParams & MeterTariffModel;
1599
1599
  declare type SingleMeterParams = {
1600
- type?: WaterMeterTypes;
1600
+ type?: WaterMeterTypes$1;
1601
1601
  tariff: SingleCounterTariffModel;
1602
1602
  } & CommonMeterParams & MeterTariffModel;
1603
1603
  declare type ElectricityMeterParams = {
1604
- type: ElectricityMeterTypes;
1604
+ type: ElectricityMeterTypes$1;
1605
1605
  values: ElectricityMeterValues;
1606
1606
  tariff: ElectricityMeterTariffModel;
1607
1607
  overall_value?: number;
@@ -1658,8 +1658,8 @@ declare type FillingInfoFormFields = {
1658
1658
  name?: string;
1659
1659
  description?: string;
1660
1660
  type?: ApartmentFillingVariants | null;
1661
- instruction?: InputFileWithVisibilityFields;
1662
- tempImages?: ImageBodyRequest[];
1661
+ instruction?: InputFileWithVisibilityFields$1;
1662
+ tempImages?: ImageBodyRequest$1[];
1663
1663
  };
1664
1664
 
1665
1665
  declare type FillingTagParams = {
@@ -1674,7 +1674,7 @@ declare type FillingParams = {
1674
1674
  images?: (ImageStore | UploadFileParams)[];
1675
1675
  serialNumber?: string;
1676
1676
  numberOfSubjects?: number | string | null;
1677
- instruction?: InputFileWithVisibilityFields | null;
1677
+ instruction?: InputFileWithVisibilityFields$1 | null;
1678
1678
  type?: ApartmentFillingVariants;
1679
1679
  loader?: Loader;
1680
1680
  };
@@ -1686,7 +1686,7 @@ declare type FillingFullParams = {
1686
1686
  images?: (ImageStore | UploadFileParams)[];
1687
1687
  serialNumber?: string;
1688
1688
  numberOfSubjects?: number | string | null;
1689
- instruction?: InputFileWithVisibilityFields | null;
1689
+ instruction?: InputFileWithVisibilityFields$1 | null;
1690
1690
  type?: ApartmentFillingVariants;
1691
1691
  loader?: Loader;
1692
1692
  check?: boolean | null;
@@ -1705,6 +1705,206 @@ declare type TariffGroupLiteParams = {
1705
1705
  name: string;
1706
1706
  };
1707
1707
 
1708
+ declare type ResourcePaymentRoles = "maroom" | "owner" | "renter" | "by_invoice";
1709
+ declare type UnitOfPaymentTypes = "percent" | "value";
1710
+ declare type WaterMeterTypes = "cold" | "hot";
1711
+ declare type ElectricityMeterTypes = "T1" | "T2" | "T3";
1712
+ declare type ResourceTypes = "water" | "electricity" | "gas" | "heating";
1713
+ declare type MeterTypes = ElectricityMeterTypes | WaterMeterTypes | null;
1714
+ declare type UtilityTypes = ResourceTypes | "utility" | "invoice";
1715
+ declare type DocumentVisibilityAPIVariants = "everybody" | "renter" | "owner" | "nobody";
1716
+ declare type FileBodyRequest = {
1717
+ temp_file_id?: number;
1718
+ name: string;
1719
+ visibility?: DocumentVisibilityAPIVariants;
1720
+ url?: string;
1721
+ };
1722
+ declare type ImageBodyRequest = {
1723
+ temp_file_id: number;
1724
+ image_name: string;
1725
+ url: string;
1726
+ };
1727
+ declare type VideoBodyRequest = {
1728
+ temp_file_id: number;
1729
+ file_name: string;
1730
+ url: string;
1731
+ };
1732
+ declare type ImageModel = {
1733
+ id: number;
1734
+ image_name?: string;
1735
+ image_url?: string;
1736
+ image_small_url: string;
1737
+ image_medium_url: string;
1738
+ image_large_url: string;
1739
+ size: number;
1740
+ };
1741
+ declare type FileModel = {
1742
+ id: number;
1743
+ name: string;
1744
+ size: number;
1745
+ url: string;
1746
+ };
1747
+ declare type DocumentModel = {
1748
+ pk: number;
1749
+ name: string;
1750
+ created?: string;
1751
+ attachment: string;
1752
+ size: number;
1753
+ uploaded_by?: string | null;
1754
+ visibility?: DocumentVisibilityAPIVariants;
1755
+ };
1756
+
1757
+ type FileWithVisibility = {
1758
+ file: File | null
1759
+ tenant: boolean
1760
+ landlord: boolean
1761
+ visibility: DocumentVisibilityVariants
1762
+ url: string
1763
+ }
1764
+
1765
+ type InputFileWithVisibilityFields =
1766
+ | FileWithVisibility
1767
+ | DocumentWithVisibility
1768
+ | null
1769
+ | undefined
1770
+
1771
+ type CompanyAutocompleteFields = {
1772
+ id: number
1773
+ name: string
1774
+ logo?: string | null
1775
+ }
1776
+
1777
+ declare class FileStore implements FileStoreInterface$1 {
1778
+ id: number | null;
1779
+ index?: number | null;
1780
+ name: string;
1781
+ url: string;
1782
+ smallImageUrl?: string;
1783
+ mediumImageUrl?: string;
1784
+ largeImageUrl?: string;
1785
+ date: DateTime | null;
1786
+ size: number | null;
1787
+ createdBy: string;
1788
+ visibility?: DocumentVisibilityVariants;
1789
+ filesStore?: FilesStoreInterface$1 | null;
1790
+ extension: string;
1791
+ file?: File | null;
1792
+ uploadStatus: LoadStatus;
1793
+ uploadedData: UploadedFileParams;
1794
+ loader: Loader;
1795
+ withFileCleanUp?: boolean;
1796
+ isVideo?: boolean;
1797
+ constructor(file: FileStoreParams, filesStore?: FilesStoreInterface$1 | null, withFileCleanUp?: boolean);
1798
+ uploadFile: (variant: FileVariant) => Promise<void>;
1799
+ updateUploadStatus: (status: LoadStatus) => void;
1800
+ updateUploadedData: (data: UploadedFileParams) => void;
1801
+ editFile: (data: any) => void;
1802
+ deleteFile: () => void;
1803
+ updateName: (name: string) => void;
1804
+ updateStore: (data: unknown) => void;
1805
+ setIndex: (index: number) => void;
1806
+ get title(): string;
1807
+ static createPreviewUrl: (file: File) => Promise<string>;
1808
+ static initFromFileWithPreview: (file: File, index: number, withFileCleanUp?: boolean | undefined) => Promise<FileStore>;
1809
+ static initFromFileModel: (file: FileModel) => FileStore;
1810
+ static initFromDocumentModel: (file: DocumentModel) => FileStore;
1811
+ static initFromImageModel: (file: ImageModel, name?: string | undefined, isVideo?: boolean | undefined) => FileStore;
1812
+ static initFromFile: (file: File, index: number, withFileCleanUp?: boolean | undefined) => FileStore;
1813
+ static initFromFileStore: (file: FileStore) => FileStore;
1814
+ }
1815
+
1816
+ type PartialPayerFields$1 = {
1817
+ payer?: ResourcePaymentRoles | "partial"
1818
+ mainPayer?: ResourcePaymentRoles
1819
+ refundFrom?: ResourcePaymentRoles
1820
+ partType?: UnitOfPaymentTypes | null
1821
+ refundValue?: number | string | null
1822
+ utilityType: UtilityTypes
1823
+ }
1824
+
1825
+ declare type FilesStoreInterface$1 = {
1826
+ editFile: (id: number, data: any, callback: () => void) => void;
1827
+ deleteFile: (id: number) => void;
1828
+ };
1829
+ declare type FileStoreInterface$1 = {
1830
+ id: number | null;
1831
+ name: string;
1832
+ url: string;
1833
+ date: DateTime | null;
1834
+ size: number | null;
1835
+ createdBy: string;
1836
+ visibility?: DocumentVisibilityVariants;
1837
+ filesStore?: FilesStoreInterface$1 | null;
1838
+ editFile?: (data: any) => void;
1839
+ deleteFile?: () => void;
1840
+ extension: string;
1841
+ title: string;
1842
+ };
1843
+ declare type DocumentVisibilityVariants = "everybody" | "tenant" | "landlord" | "nobody";
1844
+ declare type DocumentWithVisibility = {
1845
+ id: number | null;
1846
+ name: string;
1847
+ url: string;
1848
+ date: DateTime | null;
1849
+ size: number | null;
1850
+ createdBy: string;
1851
+ visibility?: DocumentVisibilityVariants;
1852
+ extension: string;
1853
+ };
1854
+ declare type UploadedFileParams = FileBodyRequest | ImageBodyRequest | VideoBodyRequest | null;
1855
+ declare type FileStoreParams = {
1856
+ id?: number | null;
1857
+ url?: string;
1858
+ index?: number | string | null;
1859
+ createdBy?: string | null;
1860
+ visibility?: DocumentVisibilityAPIVariants;
1861
+ name?: string;
1862
+ date?: string | null;
1863
+ size?: number | null;
1864
+ file?: File | null;
1865
+ uploadStatus?: LoadStatus;
1866
+ uploadedData?: UploadedFileParams;
1867
+ smallImageUrl?: string;
1868
+ mediumImageUrl?: string;
1869
+ largeImageUrl?: string;
1870
+ isVideo?: boolean;
1871
+ };
1872
+ declare type LoadStatus = "loading" | "success" | "failure" | "default" | "error";
1873
+ declare type FileVariant = "image" | "document";
1874
+
1875
+ type TariffGroupAutocompleteFields = {
1876
+ id: number
1877
+ name: string
1878
+ type?: string
1879
+ }
1880
+
1881
+ type BasicMeterFeaturesFormFields = {
1882
+ number: string
1883
+ startDate: DateTime | null
1884
+ initialValue?: number
1885
+ initialValueT1?: number
1886
+ initialValueT2?: number
1887
+ initialValueT3?: number
1888
+ type?: MeterTypes
1889
+ resource?: ResourceTypes
1890
+ withAutoSending?: boolean
1891
+ }
1892
+
1893
+ type MeterFeaturesFormFields = {
1894
+ tariff: TariffGroupAutocompleteFields | null
1895
+ company: CompanyAutocompleteFields | null
1896
+ nextCheck: DateTime | null
1897
+ lastValue?: number
1898
+ lastValueT1?: number
1899
+ lastValueT2?: number
1900
+ lastValueT3?: number
1901
+ replaceableCounter?: string | number
1902
+ meterPayer?: PartialPayerFields$1
1903
+ operationalAccountNumber?: string | null
1904
+ archived?: boolean
1905
+ tariffChangeDate?: DateTime | null
1906
+ } & BasicMeterFeaturesFormFields
1907
+
1708
1908
  declare type MeterValues = {
1709
1909
  initialValue?: number | string | null;
1710
1910
  lastValue?: number | string | null;
@@ -1713,7 +1913,13 @@ declare type ApartmentMeterValues = {
1713
1913
  T1?: MeterValues;
1714
1914
  T2?: MeterValues;
1715
1915
  T3?: MeterValues;
1716
- } & MeterValues;
1916
+ } & MeterValues;
1917
+ declare type InspectionMeterFields = {
1918
+ id?: number;
1919
+ resource: ResourceTypes;
1920
+ passportFile?: InputFileWithVisibilityFields;
1921
+ images: FileStore[];
1922
+ } & MeterFeaturesFormFields;
1717
1923
 
1718
1924
  declare type InspectionFeedbackStatus = "notSigned" | "signed" | "rejected";
1719
1925
  declare type InspectionFeedbackParams = {
@@ -1722,12 +1928,12 @@ declare type InspectionFeedbackParams = {
1722
1928
  };
1723
1929
 
1724
1930
  type PartialPayerFields = {
1725
- payer?: ResourcePaymentRoles | "partial"
1726
- mainPayer?: ResourcePaymentRoles
1727
- refundFrom?: ResourcePaymentRoles
1728
- partType?: UnitOfPaymentTypes | null
1931
+ payer?: ResourcePaymentRoles$1 | "partial"
1932
+ mainPayer?: ResourcePaymentRoles$1
1933
+ refundFrom?: ResourcePaymentRoles$1
1934
+ partType?: UnitOfPaymentTypes$1 | null
1729
1935
  refundValue?: number | string | null
1730
- utilityType: UtilityTypes
1936
+ utilityType: UtilityTypes$1
1731
1937
  }
1732
1938
 
1733
1939
  declare type ContractPeriodTypes = "openEnded" | "fixed";
@@ -1811,15 +2017,27 @@ declare type ResourceAccessParams = {
1811
2017
  password?: string;
1812
2018
  description?: string;
1813
2019
  };
1814
- declare type ApartmentResourceTypes = ResourceTypes | "administrativeCompany" | "other";
2020
+ declare type ApartmentResourceTypes = ResourceTypes$1 | "administrativeCompany" | "other";
1815
2021
  declare type ApartmentResourceCompanyDetails = {
1816
- company: CompanyAutocompleteFields;
2022
+ company: CompanyAutocompleteFields$1;
1817
2023
  operationalAccountNumber: string;
1818
2024
  payerCode: string;
1819
2025
  dataSubmissionDays: DataSubmissionDaysParams;
1820
2026
  access: ResourceAccessParams;
1821
2027
  sampleReceiptLink: string;
1822
- };
2028
+ sampleReceipt?: InputFileWithVisibilityFields$1 | FileStore$1 | null;
2029
+ };
2030
+ declare type ApartmentResourceInterface = {
2031
+ type: ApartmentResourceTypes;
2032
+ name?: string;
2033
+ companyDetails: ApartmentResourceCompanyDetails | null;
2034
+ editResource?: () => Promise<void>;
2035
+ deleteResource?: () => Promise<void>;
2036
+ isFixedResource?: boolean;
2037
+ };
2038
+ declare type ApartmentResourceFieldsParams = {
2039
+ meters?: InspectionMeterFields[];
2040
+ } & ApartmentResourceInterface;
1823
2041
 
1824
2042
  declare type FilesStoreInterface = {
1825
2043
  editFile: (id: number, data: any, callback: () => void) => void;
@@ -1832,7 +2050,7 @@ declare type FileStoreInterface = {
1832
2050
  date: DateTime | null;
1833
2051
  size: number | null;
1834
2052
  createdBy: string;
1835
- visibility?: DocumentVisibilityVariants;
2053
+ visibility?: DocumentVisibilityVariants$1;
1836
2054
  filesStore?: FilesStoreInterface | null;
1837
2055
  editFile?: (data: any) => void;
1838
2056
  deleteFile?: () => void;
@@ -1844,15 +2062,15 @@ declare type DocumentsStoreInterface = {
1844
2062
  loader: Loader;
1845
2063
  };
1846
2064
  declare type PostDocumentsResponse = {
1847
- documents: DocumentModel[];
2065
+ documents: DocumentModel$1[];
1848
2066
  };
1849
2067
  declare type DocumentAgentInterface = {
1850
2068
  postDocuments: (body: any, ...params: any) => Promise<PostDocumentsResponse>;
1851
- patchDocument: (id: number, body: any, ...params: any) => Promise<DocumentModel>;
1852
- deleteDocument: (id: number, ...params: any) => Promise<DocumentModel>;
2069
+ patchDocument: (id: number, body: any, ...params: any) => Promise<DocumentModel$1>;
2070
+ deleteDocument: (id: number, ...params: any) => Promise<DocumentModel$1>;
1853
2071
  };
1854
2072
  declare type DocumentsAgentInterface = {
1855
- getDocuments?: (...params: any) => Promise<DocumentModel[]>;
2073
+ getDocuments?: (...params: any) => Promise<DocumentModel$1[]>;
1856
2074
  } & DocumentAgentInterface;
1857
2075
 
1858
2076
  declare type MetroLineParams = {
@@ -1868,4 +2086,4 @@ declare type MetroStationParams = {
1868
2086
  status: string;
1869
2087
  };
1870
2088
 
1871
- 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, 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, DocumentVisibilityAPIVariants, DocumentVisibilityVariants, DocumentWithVisibility, DocumentsAgentInterface, DocumentsStoreInterface, EditConditions, ElectricityMeterParams, ElectricityMeterTypes, ElectricityMeterValues, ElectricityMetersResponse, EmptyType, EntityLinkParams, FetchApartmentOwnersResponse, FetchApartmentsResponse, FieldsSettings, FileBodyRequest, FileModel, FileParams, FileStoreInterface, FileStoreParams, 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, ImageModel, ImageParams, ImageStoreInterface, ImpairmentModel, ImpairmentType, ImpairmentTypes, ImpairmentsInspectionModel, InitialInspectionModel, InitialInspectionModelFields, InspectionBasedOnModel, InspectionBasedOnParams, InspectionCommonFields, InspectionConditionReasons, InspectionContractModel, InspectionEditConditionModel, InspectionFeedbackInterface, InspectionFeedbackModel, InspectionFeedbackParams, InspectionFeedbackStatus, InspectionFillingModel, InspectionFillingParams, InspectionMeterCommonInfo, InspectionMeterInfoParams, InspectionMeterValueModel, InspectionMetersInfoParams, InspectionModel, InspectionPartialMetersInfoParams, InspectionPaymentInfoParams, InspectionResourcesModel, InspectionRoomPhotoModel, InspectionRoomPhotoTypes, InspectionStatus, InspectionTypes, InternetProviderModel, InternetProviderParams, InventoryInspectionFields, InventoryInspectionMeterModel, InventoryInspectionModel, LatLonParams, LiteMeterInterface, LiteObjectModel, LiteUserModel, LoadStatus, LockerAutocompleteFields, LockerModel, LockerParams, MainObjectInfoInterface, MaxMetersInfoParams, MeterCommonInfoModel, MeterModel, MeterPayerModel, MeterTariffModel, 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, ResidentialComplexModel, ResidentialComplexParams, ResourceAccessParams, ResourcePaymentRoles, 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, UploadDocumentParams, UploadFileParams, UploadFileResponse, UploadImageParams, UploadedFileParams, UsedResourcesModel, UserNamesModel, UtilityPayerModel, UtilityTypes, Values, ValuesParams, VideoBodyRequest, VideoModel, WallMaterials, WaterMeterParams, WaterMeterTypes, WaterMetersResponse, WifiParams };
2089
+ 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, 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 };