glitchgrab 1.67.0 → 1.68.0

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/server.mjs CHANGED
@@ -738,6 +738,9 @@ function readFollowUp(value) {
738
738
  lastNoteAt: stringOrNull(value.lastNoteAt),
739
739
  lastNoteBy: stringOrNull(value.lastNoteBy),
740
740
  noteCount: (_a = numberOrNull(value.noteCount)) != null ? _a : 0,
741
+ callCount: numberOrNull(value.callCount),
742
+ talkedCount: numberOrNull(value.talkedCount),
743
+ talkSec: numberOrNull(value.talkSec),
741
744
  lastCall: call ? {
742
745
  id: call.id,
743
746
  status: stringOrNull(call.status),
@@ -785,7 +788,8 @@ function readFollowUpDetail(value) {
785
788
  operatorName: stringOrNull(c.operatorName),
786
789
  shared: c.shared === true,
787
790
  overview: stringOrNull(c.overview),
788
- recordingUrl: stringOrNull(c.recordingUrl)
791
+ recordingUrl: stringOrNull(c.recordingUrl),
792
+ fromCallNoteAt: stringOrNull(c.fromCallNoteAt)
789
793
  };
790
794
  }) : []
791
795
  };
@@ -1004,6 +1008,9 @@ function enableCalling(params, options = {}) {
1004
1008
  function disableCalling(params, options = {}) {
1005
1009
  return lineRequestCall("/api/v1/sdk/phone-lines/disable", params, options);
1006
1010
  }
1011
+ function changeLineNumber(params, options = {}) {
1012
+ return lineRequestCall("/api/v1/sdk/phone-lines/change", params, options);
1013
+ }
1007
1014
  async function registerWebhook(webhook, options = {}) {
1008
1015
  try {
1009
1016
  const key = callsKey(options);
@@ -1140,6 +1147,7 @@ export {
1140
1147
  addRingNumber,
1141
1148
  cancelBooking,
1142
1149
  captureServerErrors,
1150
+ changeLineNumber,
1143
1151
  configureServerReporter,
1144
1152
  createCallIssueSession,
1145
1153
  deleteCall,