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

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.
@@ -805,24 +805,27 @@ export class DashboardControllerService {
805
805
  * @param agentName agentName
806
806
  * @param callQueueName callQueueName
807
807
  * @param callStatus callStatus
808
+ * @param customerName customerName
808
809
  * @param direction direction
809
810
  * @param endDate endDate
810
811
  * @param ivrName ivrName
811
812
  * @param length length
812
813
  * @param page page
814
+ * @param phoneNumber phoneNumber
813
815
  * @param shouldIncludePhoneCalls shouldIncludePhoneCalls
814
816
  * @param sortBy sortBy
815
817
  * @param sortOrder sortOrder
816
818
  * @param startDate startDate
817
819
  * @param teamName teamName
818
820
  * @param timeZoneId timeZoneId
821
+ * @param totalOtrAccounts totalOtrAccounts
819
822
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
820
823
  * @param reportProgress flag to report request and response progress.
821
824
  */
822
- public 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, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<ListPhoneCallsResponse>;
823
- public 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, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<HttpResponse<ListPhoneCallsResponse>>;
824
- public 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, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<HttpEvent<ListPhoneCallsResponse>>;
825
- public 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, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<any> {
825
+ public 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, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<ListPhoneCallsResponse>;
826
+ public 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, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<HttpResponse<ListPhoneCallsResponse>>;
827
+ public 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, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<HttpEvent<ListPhoneCallsResponse>>;
828
+ public 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, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<any> {
826
829
 
827
830
  let localVarQueryParameters = new HttpParams({encoder: this.encoder});
828
831
  if (agentId !== undefined && agentId !== null) {
@@ -841,6 +844,10 @@ export class DashboardControllerService {
841
844
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
842
845
  <any>callStatus, 'callStatus');
843
846
  }
847
+ if (customerName !== undefined && customerName !== null) {
848
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
849
+ <any>customerName, 'customerName');
850
+ }
844
851
  if (direction !== undefined && direction !== null) {
845
852
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
846
853
  <any>direction, 'direction');
@@ -861,6 +868,10 @@ export class DashboardControllerService {
861
868
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
862
869
  <any>page, 'page');
863
870
  }
871
+ if (phoneNumber !== undefined && phoneNumber !== null) {
872
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
873
+ <any>phoneNumber, 'phoneNumber');
874
+ }
864
875
  if (shouldIncludePhoneCalls !== undefined && shouldIncludePhoneCalls !== null) {
865
876
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
866
877
  <any>shouldIncludePhoneCalls, 'shouldIncludePhoneCalls');
@@ -885,6 +896,10 @@ export class DashboardControllerService {
885
896
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
886
897
  <any>timeZoneId, 'timeZoneId');
887
898
  }
899
+ if (totalOtrAccounts !== undefined && totalOtrAccounts !== null) {
900
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
901
+ <any>totalOtrAccounts, 'totalOtrAccounts');
902
+ }
888
903
 
889
904
  let localVarHeaders = this.defaultHeaders;
890
905
 
@@ -15,5 +15,6 @@ export interface GetLawfirmCaseStatsResponse {
15
15
  caseCountByStatusMap?: { [key: string]: number; };
16
16
  numBookedCases?: number;
17
17
  numResolvedCases?: number;
18
+ successRate?: number;
18
19
  }
19
20
 
@@ -23,9 +23,13 @@ export interface ListPhoneCallsModel {
23
23
  holdDurationInSeconds?: number;
24
24
  ivrDurationInSeconds?: number;
25
25
  ivrName?: string;
26
+ phoneNumber?: string;
26
27
  recordingUrl?: string;
27
28
  talkDurationInSeconds?: number;
28
29
  teamName?: string;
30
+ totalCalls?: number;
31
+ totalOtrAccounts?: number;
32
+ userId?: number;
29
33
  }
30
34
  export namespace ListPhoneCallsModel {
31
35
  export type CallDirectionEnum = 'INCOMING' | 'OUTGOING';
@@ -6045,17 +6045,20 @@ angular.module('otrBackendService', [])
6045
6045
  * @param {string} parameters.agentName - agentName
6046
6046
  * @param {string} parameters.callQueueName - callQueueName
6047
6047
  * @param {string} parameters.callStatus - callStatus
6048
+ * @param {string} parameters.customerName - customerName
6048
6049
  * @param {string} parameters.direction - direction
6049
6050
  * @param {string} parameters.endDate - endDate
6050
6051
  * @param {string} parameters.ivrName - ivrName
6051
6052
  * @param {integer} parameters.length - length
6052
6053
  * @param {integer} parameters.page - page
6054
+ * @param {string} parameters.phoneNumber - phoneNumber
6053
6055
  * @param {boolean} parameters.shouldIncludePhoneCalls - shouldIncludePhoneCalls
6054
6056
  * @param {string} parameters.sortBy - sortBy
6055
6057
  * @param {string} parameters.sortOrder - sortOrder
6056
6058
  * @param {string} parameters.startDate - startDate
6057
6059
  * @param {string} parameters.teamName - teamName
6058
6060
  * @param {string} parameters.timeZoneId - timeZoneId
6061
+ * @param {integer} parameters.totalOtrAccounts - totalOtrAccounts
6059
6062
  */
6060
6063
  OtrService.prototype.listPhoneCallsUsingGET = function(parameters) {
6061
6064
  if (parameters === undefined) {
@@ -6087,6 +6090,10 @@ angular.module('otrBackendService', [])
6087
6090
  queryParameters['callStatus'] = parameters['callStatus'];
6088
6091
  }
6089
6092
 
6093
+ if (parameters['customerName'] !== undefined) {
6094
+ queryParameters['customerName'] = parameters['customerName'];
6095
+ }
6096
+
6090
6097
  if (parameters['direction'] !== undefined) {
6091
6098
  queryParameters['direction'] = parameters['direction'];
6092
6099
  }
@@ -6110,6 +6117,10 @@ angular.module('otrBackendService', [])
6110
6117
  queryParameters['page'] = parameters['page'];
6111
6118
  }
6112
6119
 
6120
+ if (parameters['phoneNumber'] !== undefined) {
6121
+ queryParameters['phoneNumber'] = parameters['phoneNumber'];
6122
+ }
6123
+
6113
6124
  /** set default value **/
6114
6125
  queryParameters['shouldIncludePhoneCalls'] = true;
6115
6126
 
@@ -6137,6 +6148,10 @@ angular.module('otrBackendService', [])
6137
6148
  queryParameters['timeZoneId'] = parameters['timeZoneId'];
6138
6149
  }
6139
6150
 
6151
+ if (parameters['totalOtrAccounts'] !== undefined) {
6152
+ queryParameters['totalOtrAccounts'] = parameters['totalOtrAccounts'];
6153
+ }
6154
+
6140
6155
  queryParameters = mergeQueryParams(parameters, queryParameters);
6141
6156
 
6142
6157
  this.request('GET', domain + path, parameters, body, headers, queryParameters, form, deferred);