hgs-twilio-class-lib 1.1.55 → 1.1.56

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.
@@ -62,6 +62,7 @@ class HoopBusinessHoursController {
62
62
  itemsPerPage: 200,
63
63
  pageNo: 1,
64
64
  });
65
+ console.log("-------------------------", profileInfo1.result.items, query.profileName);
65
66
  const profilesList = profileInfo1.result.items;
66
67
  const isProfileAvailable = profilesList.find((profile) => profile.profileName === query.profileName);
67
68
  const profileId = isProfileAvailable.profileId;
@@ -116,7 +117,7 @@ class HoopBusinessHoursController {
116
117
  const now = (0, moment_timezone_1.default)().tz(timezone); // Current time in specified timezone
117
118
  const today = (0, moment_timezone_1.default)().tz(timezone).format("YYYY-MM-DD");
118
119
  const endDateTime = endDatePeriod
119
- ? moment_timezone_1.default.tz(endDatePeriod, "YYYY-MM-DD HH:mm", timezone)
120
+ ? moment_timezone_1.default.tz(endDatePeriod, "YYYY-MM-DD HH:mm", timezone).endOf('day')
120
121
  : null;
121
122
  // Handle various branch statuses before endDatePeriod
122
123
  if (endDateTime &&
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hgs-twilio-class-lib",
3
- "version": "1.1.55",
3
+ "version": "1.1.56",
4
4
  "description": "Flex 2.0 backend to connect with any database ",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./types/index.d.ts",