@otr-app/shared-backend-generated-client 2.3.247 → 2.3.248

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.
@@ -85,17 +85,20 @@ export declare class DashboardControllerApi {
85
85
  * @param agentName agentName
86
86
  * @param callQueueName callQueueName
87
87
  * @param callStatus callStatus
88
+ * @param customerName customerName
88
89
  * @param direction direction
89
90
  * @param endDate endDate
90
91
  * @param ivrName ivrName
91
92
  * @param length length
92
93
  * @param page page
94
+ * @param phoneNumber phoneNumber
93
95
  * @param shouldIncludePhoneCalls shouldIncludePhoneCalls
94
96
  * @param sortBy sortBy
95
97
  * @param sortOrder sortOrder
96
98
  * @param startDate startDate
97
99
  * @param teamName teamName
98
100
  * @param timeZoneId timeZoneId
101
+ * @param totalOtrAccounts totalOtrAccounts
99
102
  */
100
- listPhoneCallsUsingGET(agentId?: number, agentName?: string, callQueueName?: string, callStatus?: 'ABANDONED' | 'BLOCKED' | 'BUSY' | 'COMPLETED' | 'CONNECTING' | 'CONNECTION_FAILED' | 'DEFAULT' | 'DISCONNECTED' | 'ENQUEUED' | 'IN_PROGRESS' | 'MISSED_CALL' | 'ON_HOLD' | 'RECENTLY_COMPLETED' | 'RESTRICTED' | 'VOICEMAIL' | 'VOICEMAIL_RECORDING_IN_PROGRESS', direction?: 'INCOMING' | 'OUTGOING', endDate?: string, ivrName?: string, length?: number, page?: number, shouldIncludePhoneCalls?: boolean, sortBy?: string, sortOrder?: string, startDate?: string, teamName?: string, timeZoneId?: string, extraHttpRequestParams?: any): ng.IHttpPromise<models.ListPhoneCallsResponse>;
103
+ listPhoneCallsUsingGET(agentId?: number, agentName?: string, callQueueName?: string, callStatus?: 'ABANDONED' | 'BLOCKED' | 'BUSY' | 'COMPLETED' | 'CONNECTING' | 'CONNECTION_FAILED' | 'DEFAULT' | 'DISCONNECTED' | 'ENQUEUED' | 'IN_PROGRESS' | 'MISSED_CALL' | 'ON_HOLD' | 'RECENTLY_COMPLETED' | 'RESTRICTED' | 'VOICEMAIL' | 'VOICEMAIL_RECORDING_IN_PROGRESS', customerName?: string, direction?: 'INCOMING' | 'OUTGOING', endDate?: string, ivrName?: string, length?: number, page?: number, phoneNumber?: string, shouldIncludePhoneCalls?: boolean, sortBy?: string, sortOrder?: string, startDate?: string, teamName?: string, timeZoneId?: string, totalOtrAccounts?: number, extraHttpRequestParams?: any): ng.IHttpPromise<models.ListPhoneCallsResponse>;
101
104
  }
@@ -280,19 +280,22 @@ var DashboardControllerApi = /** @class */ (function () {
280
280
  * @param agentName agentName
281
281
  * @param callQueueName callQueueName
282
282
  * @param callStatus callStatus
283
+ * @param customerName customerName
283
284
  * @param direction direction
284
285
  * @param endDate endDate
285
286
  * @param ivrName ivrName
286
287
  * @param length length
287
288
  * @param page page
289
+ * @param phoneNumber phoneNumber
288
290
  * @param shouldIncludePhoneCalls shouldIncludePhoneCalls
289
291
  * @param sortBy sortBy
290
292
  * @param sortOrder sortOrder
291
293
  * @param startDate startDate
292
294
  * @param teamName teamName
293
295
  * @param timeZoneId timeZoneId
296
+ * @param totalOtrAccounts totalOtrAccounts
294
297
  */
295
- DashboardControllerApi.prototype.listPhoneCallsUsingGET = function (agentId, agentName, callQueueName, callStatus, direction, endDate, ivrName, length, page, shouldIncludePhoneCalls, sortBy, sortOrder, startDate, teamName, timeZoneId, extraHttpRequestParams) {
298
+ DashboardControllerApi.prototype.listPhoneCallsUsingGET = function (agentId, agentName, callQueueName, callStatus, customerName, direction, endDate, ivrName, length, page, phoneNumber, shouldIncludePhoneCalls, sortBy, sortOrder, startDate, teamName, timeZoneId, totalOtrAccounts, extraHttpRequestParams) {
296
299
  var localVarPath = this.basePath + '/api/v1/console/phone-calls';
297
300
  var queryParameters = {};
298
301
  var headerParams = Object.assign({}, this.defaultHeaders);
@@ -308,6 +311,9 @@ var DashboardControllerApi = /** @class */ (function () {
308
311
  if (callStatus !== undefined) {
309
312
  queryParameters['callStatus'] = callStatus;
310
313
  }
314
+ if (customerName !== undefined) {
315
+ queryParameters['customerName'] = customerName;
316
+ }
311
317
  if (direction !== undefined) {
312
318
  queryParameters['direction'] = direction;
313
319
  }
@@ -323,6 +329,9 @@ var DashboardControllerApi = /** @class */ (function () {
323
329
  if (page !== undefined) {
324
330
  queryParameters['page'] = page;
325
331
  }
332
+ if (phoneNumber !== undefined) {
333
+ queryParameters['phoneNumber'] = phoneNumber;
334
+ }
326
335
  if (shouldIncludePhoneCalls !== undefined) {
327
336
  queryParameters['shouldIncludePhoneCalls'] = shouldIncludePhoneCalls;
328
337
  }
@@ -341,6 +350,9 @@ var DashboardControllerApi = /** @class */ (function () {
341
350
  if (timeZoneId !== undefined) {
342
351
  queryParameters['timeZoneId'] = timeZoneId;
343
352
  }
353
+ if (totalOtrAccounts !== undefined) {
354
+ queryParameters['totalOtrAccounts'] = totalOtrAccounts;
355
+ }
344
356
  var httpRequestParams = {
345
357
  method: 'GET',
346
358
  url: localVarPath,
@@ -21,9 +21,13 @@ export interface ListPhoneCallsModel {
21
21
  "holdDurationInSeconds"?: number;
22
22
  "ivrDurationInSeconds"?: number;
23
23
  "ivrName"?: string;
24
+ "phoneNumber"?: string;
24
25
  "recordingUrl"?: string;
25
26
  "talkDurationInSeconds"?: number;
26
27
  "teamName"?: string;
28
+ "totalCalls"?: number;
29
+ "totalOtrAccounts"?: number;
30
+ "userId"?: number;
27
31
  }
28
32
  export declare namespace ListPhoneCallsModel {
29
33
  enum CallDirectionEnum {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otr-app/shared-backend-generated-client",
3
- "version": "2.3.247",
3
+ "version": "2.3.248",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"