kui-crm_actions 0.0.113 → 0.0.114

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 CHANGED
@@ -228,6 +228,13 @@ var inspectionsRequestBody = {
228
228
  room_type: room.type,
229
229
  order_number: index,
230
230
  }); }),
231
+ metro_stations: inspection.metroStations.map(function (station) { return ({
232
+ name: station.name || "",
233
+ metro_station_id: station.id,
234
+ distance_walk_meters: station.walkDistance,
235
+ distance_car_kilometers: station.carDistance,
236
+ time_car_minutes: station.carTime,
237
+ }); }),
231
238
  };
232
239
  },
233
240
  getPostBodyRegularInspection: function (inspection, roomsImages) {