@homeworksenergy/utility-service 1.0.13 → 1.0.15

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.js CHANGED
@@ -20,6 +20,8 @@ const BUSINESSES = {
20
20
  '03': 'HVAC Walkthrough',
21
21
  '04': 'HVAC Install',
22
22
  '05': 'Insulation',
23
+ 88: 'Partners',
24
+ 89: 'Insulation Partners',
23
25
  99: 'N/A',
24
26
  };
25
27
 
package/multiDayUtils.js CHANGED
@@ -96,7 +96,7 @@ const addStartEndTimesToEvents = (events, eventsMap) => {
96
96
  * @returns
97
97
  */
98
98
  const getStartEndTimesForEvent = (event, eventsMap) => {
99
- const { associatedEventIds, date } = event;
99
+ const { associatedEventIds, date, startTime, endTime, } = event;
100
100
 
101
101
  const DATE_FORMAT = 'MM/DD/YYYY';
102
102
 
@@ -107,6 +107,8 @@ const getStartEndTimesForEvent = (event, eventsMap) => {
107
107
  const singleDayEvent = {
108
108
  ...eventsMap[singleDayId],
109
109
  date: singleDayStartDate.format(DATE_FORMAT),
110
+ startTime,
111
+ endTime
110
112
  };
111
113
 
112
114
  startDate.add(1, 'day');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@homeworksenergy/utility-service",
3
- "version": "1.0.13",
3
+ "version": "1.0.15",
4
4
  "description": "Event type Transaction",
5
5
  "main": "index.js",
6
6
  "scripts": {