kui-crm 0.0.61 → 0.0.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +5 -4
- package/package.json +1 -1
- package/types/index.d.ts +20 -6
package/index.d.ts
CHANGED
|
@@ -586,7 +586,7 @@ declare type CompanyModel = {
|
|
|
586
586
|
main_office: CompanyMainOfficeModel | null;
|
|
587
587
|
provider_type: CompanyAPITypes;
|
|
588
588
|
};
|
|
589
|
-
declare type CompanyTypes = "administrative_provider" | "service_provider" | "resource_provider";
|
|
589
|
+
declare type CompanyTypes$1 = "administrative_provider" | "service_provider" | "resource_provider";
|
|
590
590
|
declare type CompanyLogoModel = {
|
|
591
591
|
logo: string | null;
|
|
592
592
|
};
|
|
@@ -596,7 +596,7 @@ declare type CompanyInfoModel = {
|
|
|
596
596
|
} & CompanyModel;
|
|
597
597
|
declare type PostCompaniesRequest = {
|
|
598
598
|
name: string;
|
|
599
|
-
provider_type?: CompanyTypes;
|
|
599
|
+
provider_type?: CompanyTypes$1;
|
|
600
600
|
logo?: File | string;
|
|
601
601
|
main_office: CompanyMainOfficeModel;
|
|
602
602
|
};
|
|
@@ -679,6 +679,7 @@ declare type CompanyLiteParams = {
|
|
|
679
679
|
logo?: string | null;
|
|
680
680
|
operatingAccount?: string;
|
|
681
681
|
};
|
|
682
|
+
declare type CompanyTypes = "administrative" | "service" | "resource";
|
|
682
683
|
declare type CompanyParams = {
|
|
683
684
|
id: number;
|
|
684
685
|
logo?: string | null;
|
|
@@ -1632,7 +1633,7 @@ declare class CompaniesStore {
|
|
|
1632
1633
|
};
|
|
1633
1634
|
static getCreationBody: (data: CompanyCreationFields) => {
|
|
1634
1635
|
name: string;
|
|
1635
|
-
provider_type: CompanyTypes | undefined;
|
|
1636
|
+
provider_type: CompanyTypes$1 | undefined;
|
|
1636
1637
|
tin: string;
|
|
1637
1638
|
main_office: {
|
|
1638
1639
|
address: string;
|
|
@@ -1948,4 +1949,4 @@ declare const usePaginationPage: (paginator?: Paginator | undefined, fetchAll?:
|
|
|
1948
1949
|
|
|
1949
1950
|
declare const useScrollWithBottomSpacing: (spacingToBottom: number, delay: number, callback: () => void, element?: RefObject<HTMLElement> | null | undefined, deps?: DependencyList | undefined) => void;
|
|
1950
1951
|
|
|
1951
|
-
export { APIPayerValues, APISubjectRoles, AdaptiveImageParams, AdaptiveImagesBlock, AdaptiveImagesBlockProps, AddressWithLocationParams, AdministrativeCompany, AdministrativeCompanyModel, ApartmentContractTypes, ApartmentDescriptionParams, ApartmentDetailInfoModelFields, ApartmentDetailInfoParams, ApartmentDocumentModel, ApartmentFillingAPIVariants, ApartmentFillingVariants, ApartmentHouseInfoParams, ApartmentInspectionModel, ApartmentLinkModel, ApartmentLinkParams, ApartmentLiteModel, ApartmentLockerParams, ApartmentMainInfoModelFields, ApartmentMainInfoParams, ApartmentMeterAccounts, ApartmentMeterValues, ApartmentMetersAgent, ApartmentMetroParams, ApartmentModel, ApartmentPartialModel, ApartmentPaymentInfoParams, ApartmentSecurityInfoParams, ApartmentTelecommunicationInfoParams, ApartmentsAgent, AuthAgent, BillingInfoParams, BooleanValues, CatalogItemModel, CatalogItemParams, CatalogsAgent, ChangeReasonField, ChangeReasonFields, ChangeReasonFieldsProps, ChangeReasonFormFields, ChangeReasonSchema, 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, CompanyLogoModel, CompanyMainInfoModel, CompanyMainOfficeModel, CompanyModel, CompanyOfficeModel, CompanyOfficeWithoutIdModel, CompanyParams
|
|
1952
|
+
export { APIPayerValues, APISubjectRoles, AdaptiveImageParams, AdaptiveImagesBlock, AdaptiveImagesBlockProps, AddressWithLocationParams, AdministrativeCompany, AdministrativeCompanyModel, ApartmentContractTypes, ApartmentDescriptionParams, ApartmentDetailInfoModelFields, ApartmentDetailInfoParams, ApartmentDocumentModel, ApartmentFillingAPIVariants, ApartmentFillingVariants, ApartmentHouseInfoParams, ApartmentInspectionModel, ApartmentLinkModel, ApartmentLinkParams, ApartmentLiteModel, ApartmentLockerParams, ApartmentMainInfoModelFields, ApartmentMainInfoParams, ApartmentMeterAccounts, ApartmentMeterValues, ApartmentMetersAgent, ApartmentMetroParams, ApartmentModel, ApartmentPartialModel, ApartmentPaymentInfoParams, ApartmentSecurityInfoParams, ApartmentTelecommunicationInfoParams, ApartmentsAgent, AuthAgent, BillingInfoParams, BooleanValues, CatalogItemModel, CatalogItemParams, CatalogsAgent, ChangeReasonField, ChangeReasonFields, ChangeReasonFieldsProps, ChangeReasonFormFields, ChangeReasonSchema, 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, DetailObjectInfoInterface, _default$6 as DistrictAutocomplete, DistrictModel, DistrictsStore, DocumentVisibilityAPIVariants, DocumentVisibilityVariants, DocumentWithVisibility, ElectricityMeterParams, ElectricityMeterTypes, ElectricityMeterValues, ElectricityMetersResponse, ElectricityTariffCreationFields, ElectricityValues, ErrorPopup, FetchCompanies, FileBodyRequest, FileParams, FileUploaderWithPreview, FileWithVisibility, FillingInfoFormFields, FillingTagCreationForm, _default$9 as FillingTagCreationModal, FillingTagParams, FillingTagsAgent, _default$8 as FillingTagsAutocomplete, FillingTagsAutocompleteFields, FillingTagsAutocompleteProps, FillingTagsStore, FillingTypeValues, FixedCostModel, FormBottom, FormBottomProps, FormWrapper, FormWrapperProps, GalleryWithThumbnails, GasMetersResponse, GasTariffCreationFields, GasTypes, GeolocationParams, GetCatalogResponse, GetCitiesResponse, GetCommonTariffsResponse, GetCompaniesResponse, GetCountiesResponse, GetCountriesResponse, GetDistrictsResponse, GetLockersResponse, GetRegionsResponse, GetResidentialComplexesResponse, GetTagsResponse, HeadingWithButton, HeatingMetersResponse, HeatingTariffCreationFields, HouseTypes, ImageBodyRequest, ImageCard, ImageCardProps, ImageCardWithBackdrop, ImpairmentsTypeValues, InputByType, InputByTypeProps, InputFileWithVisibility, InputFileWithVisibilityFields, InputParams, InputTypes, InputWithMap, InspectionTypeValues, InternetProviderParams, KUICrmSettings, kuiSettings as KUISettings, LatLonParams, LiteMeterInterface, LiteUserModel, LoaderPopup, _default$2 as LoaderState, LockerModel, MainImageModel, MainObjectInfoInterface, _default$b as MapComponent, MaxMetersInfoParams, MeterFeaturesFields, MeterFeaturesFieldsProps, MeterFeaturesForm, MeterFeaturesFormFields, MeterModel, MeterPayerModel, MeterTariffModel, MeterTypeRadioGroup, MeterTypes, MeterValues, MetersCountParams, MetersResponse, Modal, ModalProps, _default$a as ModalWithMap, _default as MultistepForm, ObjectType, OpenMapButton, OverlapTypes, ParkingTypes, ParkingTypesValues, PartialPayer, PartialPayerFields, PartialPayerProps, PartialPayerValues, PartialPayerVariants, PatchBillingInfoParams, PatchCompanyParams, PaymentStatuses, PhoneParams, PostCommonTariffParams, PostCompaniesRequest, PostElectricityTariffRequest, PostGasTariffRequest, PostHeatingTariffRequest, PostTariffRequest, PostWaterTariffRequest, PreviewImageCard, _default$e as RegionAutocomplete, RegionAutocompleteFields, RegionAutocompleteProps, RegionModel, RegionParams, RegionsStore, RenderMeterFieldsSettings, RenovationParams, RenovationStyle, RenovationStyleValues, RenovationType, RenovationTypeValues, RentPeriodTypes, RentalContractModel, RentalInspectionParams, RentalStatuses, RentalTypes, _default$7 as ReplaceableCountersBlock, ResidentialComplexModel, ResourceTypes, ResourceValues, RoomModel, RoomParams, RoomType, RoomTypeValues, RoomTypes, RoomTypesValues, RoommateParams, SecurityObjectInfoInterface, ServiceContractLiteModel, ServiceContractModel, SettingsParams, SignInFormFields, _default$3 as SignInPage, SingleMeterParams, SquarePreviewImage, 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, TwoOptionForAutocomplete, UnitOfPaymentTypes, UnitOfPaymentValues, UploadAgent, UploadDocumentParams, UploadFileResponse, UtilityPayerModel, UtilityTypes, Values, WallMaterials, WaterMeterParams, WaterMeterTypes, WaterMetersResponse, WaterTariffCreationFields, WaterValues, WifiParams, apartmentFields, authFlag, csrfTokenKey, defaultRequiredMessage, 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, usePaginationPage, usePortalPosition, useScrollWithBottomSpacing };
|
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -448,7 +448,7 @@ declare type PatchBillingInfoParams = {
|
|
|
448
448
|
INN: string;
|
|
449
449
|
SWIFT?: string;
|
|
450
450
|
};
|
|
451
|
-
declare type CompanyParams = {
|
|
451
|
+
declare type CompanyParams$1 = {
|
|
452
452
|
id: number;
|
|
453
453
|
billing_info: BillingInfoParams;
|
|
454
454
|
name: string;
|
|
@@ -465,7 +465,7 @@ declare type FetchCompanies = {
|
|
|
465
465
|
count: number;
|
|
466
466
|
next: string | null;
|
|
467
467
|
previous: string | null;
|
|
468
|
-
results: CompanyParams[];
|
|
468
|
+
results: CompanyParams$1[];
|
|
469
469
|
};
|
|
470
470
|
declare type PatchCompanyParams = {
|
|
471
471
|
billing_info: PatchBillingInfoParams;
|
|
@@ -507,7 +507,7 @@ declare type CompanyModel = {
|
|
|
507
507
|
main_office: CompanyMainOfficeModel | null;
|
|
508
508
|
provider_type: CompanyAPITypes;
|
|
509
509
|
};
|
|
510
|
-
declare type CompanyTypes = "administrative_provider" | "service_provider" | "resource_provider";
|
|
510
|
+
declare type CompanyTypes$1 = "administrative_provider" | "service_provider" | "resource_provider";
|
|
511
511
|
declare type CompanyLogoModel = {
|
|
512
512
|
logo: string | null;
|
|
513
513
|
};
|
|
@@ -517,7 +517,7 @@ declare type CompanyInfoModel = {
|
|
|
517
517
|
} & CompanyModel;
|
|
518
518
|
declare type PostCompaniesRequest = {
|
|
519
519
|
name: string;
|
|
520
|
-
provider_type?: CompanyTypes;
|
|
520
|
+
provider_type?: CompanyTypes$1;
|
|
521
521
|
logo?: File | string;
|
|
522
522
|
main_office: CompanyMainOfficeModel;
|
|
523
523
|
};
|
|
@@ -577,12 +577,26 @@ declare type PostElectricityTariffRequest = {
|
|
|
577
577
|
} & PostCommonTariffParams;
|
|
578
578
|
declare type PostTariffRequest = PostWaterTariffRequest | PostElectricityTariffRequest | PostGasTariffRequest | PostHeatingTariffRequest;
|
|
579
579
|
|
|
580
|
+
type CompanyFields = {
|
|
581
|
+
inn: string
|
|
582
|
+
name: string
|
|
583
|
+
phone: PhoneParams | null
|
|
584
|
+
email: string
|
|
585
|
+
logo?: FileList
|
|
586
|
+
office: AddressWithLocationParams
|
|
587
|
+
}
|
|
588
|
+
|
|
580
589
|
declare type CompanyLiteParams = {
|
|
581
590
|
id: number;
|
|
582
591
|
name: string;
|
|
583
592
|
logo?: string | null;
|
|
584
593
|
operatingAccount?: string;
|
|
585
|
-
};
|
|
594
|
+
};
|
|
595
|
+
declare type CompanyTypes = "administrative" | "service" | "resource";
|
|
596
|
+
declare type CompanyParams = {
|
|
597
|
+
id: number;
|
|
598
|
+
logo?: string | null;
|
|
599
|
+
} & Omit<CompanyFields, "logo">;
|
|
586
600
|
|
|
587
601
|
declare type MeterPayerModel = {
|
|
588
602
|
payments_info: UtilityPayerModel;
|
|
@@ -827,4 +841,4 @@ declare type ApartmentMeterValues = {
|
|
|
827
841
|
T3?: MeterValues;
|
|
828
842
|
} & MeterValues;
|
|
829
843
|
|
|
830
|
-
export { APISubjectRoles, AddressWithLocationParams, AdministrativeCompany, AdministrativeCompanyModel, ApartmentContractTypes, ApartmentDescriptionParams, ApartmentDetailInfoModelFields, ApartmentDetailInfoParams, ApartmentDocumentModel, ApartmentFillingAPIVariants, ApartmentFillingVariants, ApartmentHouseInfoParams, ApartmentInspectionModel, ApartmentLinkModel, ApartmentLinkParams, ApartmentLiteModel, ApartmentLockerParams, ApartmentMainInfoModelFields, ApartmentMainInfoParams, ApartmentMeterAccounts, ApartmentMeterValues, ApartmentMetroParams, ApartmentModel, ApartmentPartialModel, ApartmentPaymentInfoParams, ApartmentSecurityInfoParams, ApartmentTelecommunicationInfoParams, BillingInfoParams, CatalogItemModel, CatalogItemParams, CityModel, CityParams, ClientTypes, CommonMeterParams, CommonTariffModel, CompanyAPITypes, CompanyByTinRequestBody, CompanyInfoModel, CompanyLogoModel, CompanyMainInfoModel, CompanyMainOfficeModel, CompanyModel, CompanyOfficeModel, CompanyOfficeWithoutIdModel, CompanyParams, CompanyTypes, ContractLinkModel, ContractStatuses, CountryModel, CountryParams, CountyModel, DetailObjectInfoInterface, DistrictModel, DocumentVisibilityAPIVariants, DocumentVisibilityVariants, DocumentWithVisibility, ElectricityMeterParams, ElectricityMeterTypes, ElectricityMeterValues, ElectricityMetersResponse, FetchCompanies, FileBodyRequest, FileParams, FillingInfoFormFields, FillingTagParams, FixedCostModel, GasMetersResponse, GasTypes, GeolocationParams, GetCatalogResponse, GetCitiesResponse, GetCommonTariffsResponse, GetCompaniesResponse, GetCountiesResponse, GetCountriesResponse, GetDistrictsResponse, GetLockersResponse, GetRegionsResponse, GetResidentialComplexesResponse, GetTagsResponse, HeatingMetersResponse, HouseTypes, ImageBodyRequest, InternetProviderParams, LatLonParams, LiteMeterInterface, LiteUserModel, LockerModel, MainImageModel, MainObjectInfoInterface, MaxMetersInfoParams, MeterModel, MeterPayerModel, MeterTariffModel, MeterTypes, MeterValues, MetersCountParams, MetersResponse, ObjectType, OverlapTypes, ParkingTypes, PatchBillingInfoParams, PatchCompanyParams, PaymentStatuses, PhoneParams, PostCommonTariffParams, PostCompaniesRequest, PostElectricityTariffRequest, PostGasTariffRequest, PostHeatingTariffRequest, PostTariffRequest, PostWaterTariffRequest, RegionModel, RegionParams, RenovationParams, RenovationStyle, RenovationType, RentPeriodTypes, RentalContractModel, RentalInspectionParams, RentalStatuses, RentalTypes, ResidentialComplexModel, ResourceTypes, RoomModel, RoomParams, RoomType, RoomTypes, RoommateParams, SecurityObjectInfoInterface, ServiceContractLiteModel, ServiceContractModel, SettingsParams, SingleMeterParams, TVTypes, TagModel, TariffGroupLiteParams, TariffLinkModel, TariffStatuses, TaxResidenceType, TaxesTypes, UnitOfPaymentTypes, UploadDocumentParams, UploadFileResponse, UtilityPayerModel, UtilityTypes, Values, WallMaterials, WaterMeterParams, WaterMeterTypes, WaterMetersResponse, WifiParams };
|
|
844
|
+
export { APISubjectRoles, AddressWithLocationParams, AdministrativeCompany, AdministrativeCompanyModel, ApartmentContractTypes, ApartmentDescriptionParams, ApartmentDetailInfoModelFields, ApartmentDetailInfoParams, ApartmentDocumentModel, ApartmentFillingAPIVariants, ApartmentFillingVariants, ApartmentHouseInfoParams, ApartmentInspectionModel, ApartmentLinkModel, ApartmentLinkParams, ApartmentLiteModel, ApartmentLockerParams, ApartmentMainInfoModelFields, ApartmentMainInfoParams, ApartmentMeterAccounts, ApartmentMeterValues, ApartmentMetroParams, ApartmentModel, ApartmentPartialModel, ApartmentPaymentInfoParams, ApartmentSecurityInfoParams, ApartmentTelecommunicationInfoParams, BillingInfoParams, CatalogItemModel, CatalogItemParams, CityModel, CityParams, ClientTypes, CommonMeterParams, CommonTariffModel, CompanyAPITypes, CompanyByTinRequestBody, CompanyInfoModel, CompanyLiteParams, CompanyLogoModel, CompanyMainInfoModel, CompanyMainOfficeModel, CompanyModel, CompanyOfficeModel, CompanyOfficeWithoutIdModel, CompanyParams, CompanyTypes, ContractLinkModel, ContractStatuses, CountryModel, CountryParams, CountyModel, DetailObjectInfoInterface, DistrictModel, DocumentVisibilityAPIVariants, DocumentVisibilityVariants, DocumentWithVisibility, ElectricityMeterParams, ElectricityMeterTypes, ElectricityMeterValues, ElectricityMetersResponse, FetchCompanies, FileBodyRequest, FileParams, FillingInfoFormFields, FillingTagParams, FixedCostModel, GasMetersResponse, GasTypes, GeolocationParams, GetCatalogResponse, GetCitiesResponse, GetCommonTariffsResponse, GetCompaniesResponse, GetCountiesResponse, GetCountriesResponse, GetDistrictsResponse, GetLockersResponse, GetRegionsResponse, GetResidentialComplexesResponse, GetTagsResponse, HeatingMetersResponse, HouseTypes, ImageBodyRequest, InternetProviderParams, LatLonParams, LiteMeterInterface, LiteUserModel, LockerModel, MainImageModel, MainObjectInfoInterface, MaxMetersInfoParams, MeterModel, MeterPayerModel, MeterTariffModel, MeterTypes, MeterValues, MetersCountParams, MetersResponse, ObjectType, OverlapTypes, ParkingTypes, PatchBillingInfoParams, PatchCompanyParams, PaymentStatuses, PhoneParams, PostCommonTariffParams, PostCompaniesRequest, PostElectricityTariffRequest, PostGasTariffRequest, PostHeatingTariffRequest, PostTariffRequest, PostWaterTariffRequest, RegionModel, RegionParams, RenovationParams, RenovationStyle, RenovationType, RentPeriodTypes, RentalContractModel, RentalInspectionParams, RentalStatuses, RentalTypes, ResidentialComplexModel, ResourceTypes, RoomModel, RoomParams, RoomType, RoomTypes, RoommateParams, SecurityObjectInfoInterface, ServiceContractLiteModel, ServiceContractModel, SettingsParams, SingleMeterParams, TVTypes, TagModel, TariffGroupLiteParams, TariffLinkModel, TariffStatuses, TaxResidenceType, TaxesTypes, UnitOfPaymentTypes, UploadDocumentParams, UploadFileResponse, UtilityPayerModel, UtilityTypes, Values, WallMaterials, WaterMeterParams, WaterMeterTypes, WaterMetersResponse, WifiParams };
|