kui-crm_actions 0.0.114 → 0.0.115

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
@@ -447,7 +447,7 @@ declare type InitialInspectionFieldsBody = {
447
447
  ceiling_height: string | number | null;
448
448
  parking_type: ParkingTypes | null;
449
449
  parking_number: string;
450
- metro_stations: ApartmentMetroParams[];
450
+ metro: ApartmentMetroParams[];
451
451
  } & Omit<Partial<ApartmentMainInfoModelFields>, "city" | "rooms"> & HouseInfoModelFields;
452
452
  declare type RegularlyInspectionFieldsBody = {
453
453
  meters: PartialMeterModel[];
package/index.js CHANGED
@@ -199,7 +199,7 @@ var inspectionsRequestBody = {
199
199
  room_type: room.type,
200
200
  order_number: index,
201
201
  }); }),
202
- metro_stations: inspection.metroStations.map(function (station) { return ({
202
+ metro: inspection.metroStations.map(function (station) { return ({
203
203
  name: station.name || "",
204
204
  metro_station_id: station.id,
205
205
  distance_walk_meters: station.walkDistance,