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/cjs/index.js +2 -5
- package/cjs/index.js.map +1 -1
- package/index.d.ts +0 -6
- package/index.js +2 -5
- package/index.js.map +1 -1
- package/package.json +1 -1
package/cjs/index.js
CHANGED
@@ -337,16 +337,13 @@ var inspectionsRequestBody = {
|
|
337
337
|
_a;
|
338
338
|
},
|
339
339
|
getMeterCommonFields: function (meter) {
|
340
|
-
var _a
|
340
|
+
var _a;
|
341
341
|
return {
|
342
342
|
id: meter.id,
|
343
343
|
meter_type: meter.type,
|
344
344
|
passport_number: meter.number,
|
345
345
|
resource_type: meter.resource,
|
346
346
|
activation_date: ((_a = meter.startDate) === null || _a === void 0 ? void 0 : _a.toISODate()) || null,
|
347
|
-
operating_account: meter.operationalAccountNumber,
|
348
|
-
company: (_b = meter.company) === null || _b === void 0 ? void 0 : _b.id,
|
349
|
-
tariff: (_c = meter.tariff) === null || _c === void 0 ? void 0 : _c.id,
|
350
347
|
};
|
351
348
|
},
|
352
349
|
getMeterValues: function (initialValue, lastValue) {
|
@@ -708,7 +705,7 @@ var BasicApartmentInfoStepSchema = yup__namespace.object(BasicApartmentInfoField
|
|
708
705
|
|
709
706
|
var getHouseInfoStep = function (settings) { return [
|
710
707
|
__assign({ name: "typeOfHouse", label: "Type houses", variant: "select", options: kuiCrm.HouseTypesValues }, settings === null || settings === void 0 ? void 0 : settings.typeOfHouse),
|
711
|
-
__assign({ name: "houseNumber", label: "House series" }, settings === null || settings === void 0 ? void 0 : settings.
|
708
|
+
__assign({ name: "houseNumber", label: "House series" }, settings === null || settings === void 0 ? void 0 : settings.houseNumber),
|
712
709
|
__assign({ name: "wallMaterial", label: "Wall material", variant: "select", options: kuiCrm.WallMaterialsValues }, settings === null || settings === void 0 ? void 0 : settings.wallMaterial),
|
713
710
|
__assign({ name: "overlapType", label: "Overlap type", variant: "select", options: kuiCrm.SlabsTypesValues }, settings === null || settings === void 0 ? void 0 : settings.overlapType),
|
714
711
|
__assign({ name: "gasLeads", label: "Gas", variant: "select", options: kuiCrm.GasTypesValues }, settings === null || settings === void 0 ? void 0 : settings.gasLeads),
|