@bluecopa/core 0.1.88 → 0.1.89

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.
@@ -0,0 +1,4 @@
1
+ export interface TcnFtpManualDialReport {
2
+ [key: string]: unknown;
3
+ }
4
+ export declare function ftpManualDialReport(token: string, templateNumber: number, groupSid: string): Promise<TcnFtpManualDialReport>;
@@ -17,3 +17,4 @@ export * from './agentGetConnectedParty';
17
17
  export * from './getCallData';
18
18
  export * from './agentPutCallOnHold';
19
19
  export * from './agentGetCallFromHold';
20
+ export * from './ftpManualDialReport';
package/dist/index.d.ts CHANGED
@@ -46,6 +46,7 @@ export type { TcnDialSettings } from './api/tcn/getHuntGroupAgentSettings';
46
46
  export type { TcnProcessDialData } from './api/tcn/processManualDial';
47
47
  export type { TcnConnectedParty } from './api/tcn/agentGetConnectedParty';
48
48
  export type { TcnCallData } from './api/tcn/getCallData';
49
+ export type { TcnFtpManualDialReport } from './api/tcn/ftpManualDialReport';
49
50
  export type { FilterOnSenderId, EmailMessage, PageChunkEmailMessage, } from './api/emailEngine/getMessageBySenderId';
50
51
  export type { EmailMessageSearchRequest, } from './api/emailEngine/searchMessages';
51
52
  export type { RenderTemplateRequest, RenderTemplateResponse, RenderTemplateWarning, TemplateEngine, } from './api/templates/render';
package/dist/index.es.js CHANGED
@@ -12221,6 +12221,21 @@ async function agentGetCallFromHold(token, sessionSid, holdType = "SIMPLE") {
12221
12221
  throw { message, status };
12222
12222
  }
12223
12223
  }
12224
+ async function ftpManualDialReport(token, templateNumber, groupSid) {
12225
+ var _a, _b, _c;
12226
+ try {
12227
+ const response = await apiClient.post("/tcn/ftp-manual-dial-report", {
12228
+ token,
12229
+ templateNumber,
12230
+ groupSid
12231
+ });
12232
+ return response.data;
12233
+ } catch (error) {
12234
+ const message = ((_b = (_a = error.response) == null ? void 0 : _a.data) == null ? void 0 : _b.message) || error.message || "Failed to get FTP manual dial report";
12235
+ const status = ((_c = error.response) == null ? void 0 : _c.status) || 500;
12236
+ throw { message, status };
12237
+ }
12238
+ }
12224
12239
  const index$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12225
12240
  __proto__: null,
12226
12241
  agentDisconnect,
@@ -12233,6 +12248,7 @@ const index$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
12233
12248
  createSession,
12234
12249
  dialManualPrepare,
12235
12250
  exchangeCode,
12251
+ ftpManualDialReport,
12236
12252
  getAgentSkills,
12237
12253
  getAuthUrl,
12238
12254
  getCallData,