kui-crm 0.0.21 → 0.0.23
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/agent/cjs/index.js +3 -0
- package/agent/cjs/index.js.map +1 -1
- package/agent/index.d.ts +8 -6
- package/agent/index.js +3 -0
- package/agent/index.js.map +1 -1
- package/cjs/index.js +385 -205
- package/cjs/index.js.map +1 -1
- package/index.d.ts +148 -63
- package/index.js +390 -219
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/types/index.d.ts +11 -9
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -98,7 +98,7 @@ declare type ObjectType = {
|
|
|
98
98
|
declare type DocumentVisibilityVariants = "everybody" | "tenant" | "landlord" | "nobody";
|
|
99
99
|
declare type AddressWithLocationParams = {
|
|
100
100
|
address: string;
|
|
101
|
-
location
|
|
101
|
+
location?: LatLonParams | null;
|
|
102
102
|
};
|
|
103
103
|
declare type LatLonParams = {
|
|
104
104
|
lat: number;
|
|
@@ -241,8 +241,8 @@ declare type CompanyMainInfoModel = {
|
|
|
241
241
|
address: string;
|
|
242
242
|
email: string;
|
|
243
243
|
phone: string | null;
|
|
244
|
-
zip_code
|
|
245
|
-
geolocation
|
|
244
|
+
zip_code?: string;
|
|
245
|
+
geolocation?: LatLonParams | null;
|
|
246
246
|
};
|
|
247
247
|
declare type CompanyAPITypes = "administrative_provider" | "service_provider" | "resource_provider";
|
|
248
248
|
declare type CompanyOfficeModel = {
|
|
@@ -252,6 +252,7 @@ declare type CompanyMainOfficeModel = CompanyOfficeWithoutIdModel;
|
|
|
252
252
|
declare type CompanyModel = {
|
|
253
253
|
id: number;
|
|
254
254
|
name: string;
|
|
255
|
+
tin: string;
|
|
255
256
|
apartments_count: number;
|
|
256
257
|
logo?: string | null;
|
|
257
258
|
main_office: CompanyMainOfficeModel | null;
|
|
@@ -267,11 +268,12 @@ declare type CompanyInfoModel = {
|
|
|
267
268
|
} & CompanyModel;
|
|
268
269
|
declare type PostCompaniesRequest = {
|
|
269
270
|
name: string;
|
|
270
|
-
provider_type
|
|
271
|
+
provider_type?: CompanyTypes;
|
|
271
272
|
logo?: File | string;
|
|
272
|
-
main_office:
|
|
273
|
-
|
|
274
|
-
|
|
273
|
+
main_office: CompanyMainOfficeModel;
|
|
274
|
+
};
|
|
275
|
+
declare type CompanyByTinRequestBody = {
|
|
276
|
+
tin: string;
|
|
275
277
|
};
|
|
276
278
|
|
|
277
279
|
declare type TagModel = {
|
|
@@ -386,7 +388,7 @@ declare type InternetProviderParams = {
|
|
|
386
388
|
};
|
|
387
389
|
declare type LiteMeterInterface = {
|
|
388
390
|
id: number;
|
|
389
|
-
|
|
391
|
+
number: string;
|
|
390
392
|
};
|
|
391
393
|
declare type AdministrativeCompany = {
|
|
392
394
|
id?: number;
|
|
@@ -445,4 +447,4 @@ declare type TariffGroupLiteParams = {
|
|
|
445
447
|
name: string;
|
|
446
448
|
};
|
|
447
449
|
|
|
448
|
-
export { APISubjectRoles, AddressWithLocationParams, AdministrativeCompany, ApartmentContractTypes, ApartmentDetailInfoModelFields, ApartmentFillingAPIVariants, ApartmentFillingVariants, ApartmentLinkModel, ApartmentLinkParams, ApartmentMainInfoModelFields, BillingInfoParams, CatalogItemModel, CatalogItemParams, CityModel, CityParams, CommonTariffModel, CompanyAPITypes, CompanyInfoModel, CompanyLogoModel, CompanyMainInfoModel, CompanyMainOfficeModel, CompanyModel, CompanyOfficeModel, CompanyOfficeWithoutIdModel, CompanyParams, CompanyTypes, ContractLinkModel, CountryModel, CountryParams, CountyModel, DistrictModel, DocumentVisibilityAPIVariants, DocumentVisibilityVariants, DocumentWithVisibility, ElectricityMeterTypes, FetchCompanies, FileBodyRequest, FileParams, FillingInfoFormFields, FillingTagParams, GetCatalogResponse, GetCitiesResponse, GetCommonTariffsResponse, GetCompaniesResponse, GetCountiesResponse, GetCountriesResponse, GetDistrictsResponse, GetLockersResponse, GetRegionsResponse, GetResidentialComplexesResponse, GetTagsResponse, ImageBodyRequest, InternetProviderParams, LatLonParams, LiteMeterInterface, LockerModel, MainImageModel, MeterTypes, MetersCountParams, ObjectType, ParkingTypes, PatchBillingInfoParams, PatchCompanyParams, PhoneParams, PostCommonTariffParams, PostCompaniesRequest, PostElectricityTariffRequest, PostGasTariffRequest, PostHeatingTariffRequest, PostTariffRequest, PostWaterTariffRequest, RegionModel, RegionParams, RenovationParams, RenovationStyle, RenovationType, ResidentialComplexModel, ResourceTypes, RoomModel, RoomParams, RoomType, RoomTypes, SettingsParams, TVTypes, TagModel, TariffGroupLiteParams, TariffStatuses, TaxesTypes, UnitOfPaymentTypes, UploadDocumentParams, UploadFileResponse, UtilityTypes, Values, WaterMeterTypes, WifiParams };
|
|
450
|
+
export { APISubjectRoles, AddressWithLocationParams, AdministrativeCompany, ApartmentContractTypes, ApartmentDetailInfoModelFields, ApartmentFillingAPIVariants, ApartmentFillingVariants, ApartmentLinkModel, ApartmentLinkParams, ApartmentMainInfoModelFields, BillingInfoParams, CatalogItemModel, CatalogItemParams, CityModel, CityParams, CommonTariffModel, CompanyAPITypes, CompanyByTinRequestBody, CompanyInfoModel, CompanyLogoModel, CompanyMainInfoModel, CompanyMainOfficeModel, CompanyModel, CompanyOfficeModel, CompanyOfficeWithoutIdModel, CompanyParams, CompanyTypes, ContractLinkModel, CountryModel, CountryParams, CountyModel, DistrictModel, DocumentVisibilityAPIVariants, DocumentVisibilityVariants, DocumentWithVisibility, ElectricityMeterTypes, FetchCompanies, FileBodyRequest, FileParams, FillingInfoFormFields, FillingTagParams, GetCatalogResponse, GetCitiesResponse, GetCommonTariffsResponse, GetCompaniesResponse, GetCountiesResponse, GetCountriesResponse, GetDistrictsResponse, GetLockersResponse, GetRegionsResponse, GetResidentialComplexesResponse, GetTagsResponse, ImageBodyRequest, InternetProviderParams, LatLonParams, LiteMeterInterface, LockerModel, MainImageModel, MeterTypes, MetersCountParams, ObjectType, ParkingTypes, PatchBillingInfoParams, PatchCompanyParams, PhoneParams, PostCommonTariffParams, PostCompaniesRequest, PostElectricityTariffRequest, PostGasTariffRequest, PostHeatingTariffRequest, PostTariffRequest, PostWaterTariffRequest, RegionModel, RegionParams, RenovationParams, RenovationStyle, RenovationType, ResidentialComplexModel, ResourceTypes, RoomModel, RoomParams, RoomType, RoomTypes, SettingsParams, TVTypes, TagModel, TariffGroupLiteParams, TariffStatuses, TaxesTypes, UnitOfPaymentTypes, UploadDocumentParams, UploadFileResponse, UtilityTypes, Values, WaterMeterTypes, WifiParams };
|