kui-crm_actions 0.0.258 → 0.0.261

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.
Files changed (2) hide show
  1. package/index.d.ts +10 -4
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as kui_crm from 'kui-crm';
2
- import { InputParams as InputParams$1, ResourceTypes, MeterTypes, FileStore, InputFileWithVisibilityFields, MeterFeaturesFormFields, InspectionBasedOnParams, InspectionTypes, InspectionRoomPhotoTypes, RoomParams, ParkingTypes, CityParams, RoomTypes, RenovationParams, HouseTypes, WallMaterials, OverlapTypes, GasTypes, PhoneParams, WifiParams, InternetProviderParams, TVTypes, CompanyAutocompleteFields, CountryAutocompleteFields, TaxesTypes, MetersCountParams, ContractLinkModel, ImageBodyRequest, FileBodyRequest, RoomType, ApartmentMainInfoModelFields, HouseInfoModelFields, PostInspectionFillingListModel, TransferInspectionTypes as TransferInspectionTypes$1, ApartmentDetailInfoModelFields, PatchFileParams, FillingTypes, FillingListItemModel, ImageStore, FillingInfoFormFields as FillingInfoFormFields$1, FillingTagsAutocompleteFields, ApartmentFillingVariants, ApartmentDescriptionParams, ApartmentMetroStationsParams, GroupedFillingParams, ApartmentDescriptionFormFields, PatchRoomImagesParams, UploadFileParams, FillingParams, FillingFullParams, PatchApartmentParams, ApartmentModel, ApartmentPartialDescriptionParams, MainObjectInfoInterface, ApartmentMainInfoParams, SecurityObjectInfoInterface, ApartmentSecurityInfoParams, DetailObjectInfoInterface, ApartmentDetailInfoParams, ApartmentTelecommunicationInfoParams, ApartmentWithHouseInfoModelFields, ApartmentHouseInfoParams, MaxMetersInfoParams, LatLonParams, InspectionRoomPhotoModel, InspectionFillingModel, ApartmentMetroParams, TransferInspectionMeterModel, InventoryInspectionMeterModel, InspectionPartialMetersInfoParams, ApartmentPaymentInfoParams, FullInspectionCommonFields, InspectionPaymentInfoParams, InspectionMeterCommonInfo, InspectionMeterInfoParams, InventoryInspectionFields, InspectionMetersInfoParams, BasicMeterFieldsSettings, InputByTypeProps as InputByTypeProps$1, BasicMeterFeaturesFormFields, InspectionFeedbackParams, GeolocationParams, MetroStationParams as MetroStationParams$1 } from 'kui-crm';
2
+ import { InputParams as InputParams$1, ResourceTypes, MeterTypes, FileStore, InputFileWithVisibilityFields, MeterFeaturesFormFields, InspectionBasedOnParams, InspectionTypes, InspectionRoomPhotoTypes, RoomParams, ParkingTypes, CityParams, RoomTypes, RenovationParams, HouseTypes, WallMaterials, OverlapTypes, GasTypes, PhoneParams, WifiParams, InternetProviderParams, TVTypes, CompanyAutocompleteFields, CountryAutocompleteFields, TaxesTypes, MetersCountParams, ContractLinkModel, ImageBodyRequest, FileBodyRequest, RoomType, ApartmentMainInfoModelFields, HouseInfoModelFields, PostInspectionFillingListModel, TransferInspectionTypes as TransferInspectionTypes$1, ApartmentDetailInfoModelFields, PatchFileParams, FillingTypes, FillingListItemModel, ImageStore, UploadFileParams, FillingInfoFormFields as FillingInfoFormFields$1, FillingTagsAutocompleteFields, ApartmentFillingVariants, ApartmentDescriptionParams, ApartmentMetroStationsParams, GroupedFillingParams, ApartmentDescriptionFormFields, PatchRoomImagesParams, FillingParams, FillingFullParams, PatchApartmentParams, ApartmentModel, ApartmentPartialDescriptionParams, MainObjectInfoInterface, ApartmentMainInfoParams, SecurityObjectInfoInterface, ApartmentSecurityInfoParams, DetailObjectInfoInterface, ApartmentDetailInfoParams, ApartmentTelecommunicationInfoParams, ApartmentWithHouseInfoModelFields, ApartmentHouseInfoParams, MaxMetersInfoParams, LatLonParams, InspectionRoomPhotoModel, InspectionFillingModel, ApartmentMetroParams, TransferInspectionMeterModel, InventoryInspectionMeterModel, InspectionPartialMetersInfoParams, ApartmentPaymentInfoParams, FullInspectionCommonFields, InspectionPaymentInfoParams, InspectionMeterCommonInfo, InspectionMeterInfoParams, InventoryInspectionFields, InspectionMetersInfoParams, BasicMeterFieldsSettings, InputByTypeProps as InputByTypeProps$1, BasicMeterFeaturesFormFields, InspectionFeedbackParams, GeolocationParams, MetroStationParams as MetroStationParams$1 } from 'kui-crm';
3
3
  import { DateTime } from 'luxon';
4
4
  import { Loader, MultistepForm, PhoneParams as PhoneParams$1 } from 'kui-utils';
5
5
  import * as yup from 'yup';
@@ -411,7 +411,7 @@ declare type ApartmentLiteStoreInterface = {
411
411
  };
412
412
  declare type InspectionFillingParams = {
413
413
  id: number;
414
- images: ImageStore[];
414
+ images: (ImageStore | UploadFileParams)[];
415
415
  } & FillingInfoFormFields$1;
416
416
  declare type InspectionListType = "inspections" | "appraisals" | "impairments";
417
417
  declare type InspectionsStoreInterface = {
@@ -480,9 +480,15 @@ type InspectionFillingCardProps = {
480
480
  type InspectionFillingItemFields = {
481
481
  id: number
482
482
  check?: boolean | null
483
+ wasMissing?: boolean
483
484
  }
484
485
 
485
486
  type InspectionFillingListFields = {
487
+ fillingListWithCheck: InspectionFillingItemFields[]
488
+ fillingList: InspectionFillingParams[]
489
+ }
490
+
491
+ type InspectionPostFillingListFields = {
486
492
  fillingListWithCheck: InspectionFillingItemFields[]
487
493
  fillingList: InspectionFillingFormParams[]
488
494
  }
@@ -504,14 +510,14 @@ type TransferInspectionTypes =
504
510
  type RegularInspectionFormFields = CommonInspectionFormFields &
505
511
  InspectionPartialMetersStepFields &
506
512
  InspectionRoomsImagesFields &
507
- InspectionFillingListFields
513
+ InspectionPostFillingListFields
508
514
 
509
515
  type TransferInspectionFormFields = {
510
516
  transferType: TransferInspectionTypes
511
517
  } & CommonInspectionFormFields &
512
518
  InspectionPartialMetersStepFields &
513
519
  InspectionRoomsImagesFields &
514
- InspectionFillingListFields &
520
+ InspectionPostFillingListFields &
515
521
  TransferDocumentsFields
516
522
 
517
523
  type MeterValue = string | number | null
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kui-crm_actions",
3
- "version": "0.0.258",
3
+ "version": "0.0.261",
4
4
  "description": "crm actions block",
5
5
  "main": "./cjs/index.js",
6
6
  "types": "./index.d.ts",