call-control-sdk 6.5.2-uat.1 → 6.5.2-uat.4

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/dist/index.js CHANGED
@@ -682,7 +682,7 @@ var useEndCall = () => {
682
682
  const [data, setData] = (0, import_react2.useState)(null);
683
683
  const handleEndCall = (0, import_react2.useCallback)(
684
684
  async (data2) => {
685
- var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o;
685
+ var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p;
686
686
  const state = (0, import_vault3.getItem)(STORAGE_KEY);
687
687
  setLoading(true);
688
688
  const payload = {
@@ -697,11 +697,12 @@ var useEndCall = () => {
697
697
  callback_date: (_l = data2 == null ? void 0 : data2.callbackDate) != null ? _l : "",
698
698
  callback_hrs: (_m = data2 == null ? void 0 : data2.callbackHrs) != null ? _m : "",
699
699
  callback_mins: (_n = data2 == null ? void 0 : data2.callbackMins) != null ? _n : "",
700
- endcall_type: "CLOSE"
700
+ endcall_type: "CLOSE",
701
+ patient_enquiry: (_o = data2 == null ? void 0 : data2.patientLog) != null ? _o : null
701
702
  };
702
703
  return axios_default.post(END_POINT.END_CALL, payload, {
703
704
  params: {
704
- isBreak: (_o = data2 == null ? void 0 : data2.isBreak) != null ? _o : false
705
+ isBreak: (_p = data2 == null ? void 0 : data2.isBreak) != null ? _p : false
705
706
  }
706
707
  }).then((res) => {
707
708
  sdkStateManager.resetConferenceLines();