kui-crm_actions 0.0.106 → 0.0.108

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 CHANGED
@@ -518,9 +518,6 @@ declare const inspectionsRequestBody: {
518
518
  passport_number: string;
519
519
  resource_type: "electricity" | "water" | "gas" | "heating";
520
520
  activation_date: string | null;
521
- operating_account: string | null | undefined;
522
- company: number | undefined;
523
- tariff: number | undefined;
524
521
  }[];
525
522
  };
526
523
  getInspectionMeterValues(meter: MeterValuesFields, fieldName?: keyof MeterValuesFields | undefined): {
@@ -555,9 +552,6 @@ declare const inspectionsRequestBody: {
555
552
  passport_number: string;
556
553
  resource_type: "electricity" | "water" | "gas" | "heating";
557
554
  activation_date: string | null;
558
- operating_account: string | null | undefined;
559
- company: number | undefined;
560
- tariff: number | undefined;
561
555
  };
562
556
  getMeterValues(initialValue?: string | number | null | undefined, lastValue?: string | number | null | undefined): {
563
557
  [key: string]: any;
package/index.js CHANGED
@@ -308,16 +308,13 @@ var inspectionsRequestBody = {
308
308
  _a;
309
309
  },
310
310
  getMeterCommonFields: function (meter) {
311
- var _a, _b, _c;
311
+ var _a;
312
312
  return {
313
313
  id: meter.id,
314
314
  meter_type: meter.type,
315
315
  passport_number: meter.number,
316
316
  resource_type: meter.resource,
317
317
  activation_date: ((_a = meter.startDate) === null || _a === void 0 ? void 0 : _a.toISODate()) || null,
318
- operating_account: meter.operationalAccountNumber,
319
- company: (_b = meter.company) === null || _b === void 0 ? void 0 : _b.id,
320
- tariff: (_c = meter.tariff) === null || _c === void 0 ? void 0 : _c.id,
321
318
  };
322
319
  },
323
320
  getMeterValues: function (initialValue, lastValue) {
@@ -679,7 +676,7 @@ var BasicApartmentInfoStepSchema = yup.object(BasicApartmentInfoFieldsSchema);
679
676
 
680
677
  var getHouseInfoStep = function (settings) { return [
681
678
  __assign({ name: "typeOfHouse", label: "Type houses", variant: "select", options: HouseTypesValues }, settings === null || settings === void 0 ? void 0 : settings.typeOfHouse),
682
- __assign({ name: "houseNumber", label: "House series" }, settings === null || settings === void 0 ? void 0 : settings.typeOfHouse),
679
+ __assign({ name: "houseNumber", label: "House series" }, settings === null || settings === void 0 ? void 0 : settings.houseNumber),
683
680
  __assign({ name: "wallMaterial", label: "Wall material", variant: "select", options: WallMaterialsValues }, settings === null || settings === void 0 ? void 0 : settings.wallMaterial),
684
681
  __assign({ name: "overlapType", label: "Overlap type", variant: "select", options: SlabsTypesValues }, settings === null || settings === void 0 ? void 0 : settings.overlapType),
685
682
  __assign({ name: "gasLeads", label: "Gas", variant: "select", options: GasTypesValues }, settings === null || settings === void 0 ? void 0 : settings.gasLeads),