@otr-app/shared-backend-generated-client 2.3.156 → 2.3.158

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.
@@ -60,4 +60,21 @@ export declare class DashboardControllerApi {
60
60
  * @param graphRequest graphRequest
61
61
  */
62
62
  listLawyerLeadsUsingPOST(graphRequest: models.GraphRequest, extraHttpRequestParams?: any): ng.IHttpPromise<models.SqlResponse>;
63
+ /**
64
+ *
65
+ * @summary listPhoneCalls
66
+ * @param agentId agentId
67
+ * @param agentName agentName
68
+ * @param callStatus callStatus
69
+ * @param endDate endDate
70
+ * @param length length
71
+ * @param page page
72
+ * @param shouldIncludePhoneCalls shouldIncludePhoneCalls
73
+ * @param sortBy sortBy
74
+ * @param sortOrder sortOrder
75
+ * @param startDate startDate
76
+ * @param teamName teamName
77
+ * @param timeZoneId timeZoneId
78
+ */
79
+ listPhoneCallsUsingGET(agentId?: number, agentName?: 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', endDate?: string, length?: number, page?: number, shouldIncludePhoneCalls?: boolean, sortBy?: string, sortOrder?: string, startDate?: string, teamName?: string, timeZoneId?: string, extraHttpRequestParams?: any): ng.IHttpPromise<models.ListPhoneCallsResponse>;
63
80
  }
@@ -198,6 +198,73 @@ var DashboardControllerApi = /** @class */ (function () {
198
198
  }
199
199
  return this.$http(httpRequestParams);
200
200
  };
201
+ /**
202
+ *
203
+ * @summary listPhoneCalls
204
+ * @param agentId agentId
205
+ * @param agentName agentName
206
+ * @param callStatus callStatus
207
+ * @param endDate endDate
208
+ * @param length length
209
+ * @param page page
210
+ * @param shouldIncludePhoneCalls shouldIncludePhoneCalls
211
+ * @param sortBy sortBy
212
+ * @param sortOrder sortOrder
213
+ * @param startDate startDate
214
+ * @param teamName teamName
215
+ * @param timeZoneId timeZoneId
216
+ */
217
+ DashboardControllerApi.prototype.listPhoneCallsUsingGET = function (agentId, agentName, callStatus, endDate, length, page, shouldIncludePhoneCalls, sortBy, sortOrder, startDate, teamName, timeZoneId, extraHttpRequestParams) {
218
+ var localVarPath = this.basePath + '/api/v1/console/phone-calls';
219
+ var queryParameters = {};
220
+ var headerParams = Object.assign({}, this.defaultHeaders);
221
+ if (agentId !== undefined) {
222
+ queryParameters['agentId'] = agentId;
223
+ }
224
+ if (agentName !== undefined) {
225
+ queryParameters['agentName'] = agentName;
226
+ }
227
+ if (callStatus !== undefined) {
228
+ queryParameters['callStatus'] = callStatus;
229
+ }
230
+ if (endDate !== undefined) {
231
+ queryParameters['endDate'] = endDate;
232
+ }
233
+ if (length !== undefined) {
234
+ queryParameters['length'] = length;
235
+ }
236
+ if (page !== undefined) {
237
+ queryParameters['page'] = page;
238
+ }
239
+ if (shouldIncludePhoneCalls !== undefined) {
240
+ queryParameters['shouldIncludePhoneCalls'] = shouldIncludePhoneCalls;
241
+ }
242
+ if (sortBy !== undefined) {
243
+ queryParameters['sortBy'] = sortBy;
244
+ }
245
+ if (sortOrder !== undefined) {
246
+ queryParameters['sortOrder'] = sortOrder;
247
+ }
248
+ if (startDate !== undefined) {
249
+ queryParameters['startDate'] = startDate;
250
+ }
251
+ if (teamName !== undefined) {
252
+ queryParameters['teamName'] = teamName;
253
+ }
254
+ if (timeZoneId !== undefined) {
255
+ queryParameters['timeZoneId'] = timeZoneId;
256
+ }
257
+ var httpRequestParams = {
258
+ method: 'GET',
259
+ url: localVarPath,
260
+ params: queryParameters,
261
+ headers: headerParams
262
+ };
263
+ if (extraHttpRequestParams) {
264
+ httpRequestParams = Object.assign(httpRequestParams, extraHttpRequestParams);
265
+ }
266
+ return this.$http(httpRequestParams);
267
+ };
201
268
  DashboardControllerApi.$inject = ['$http', '$httpParamSerializer', 'basePath'];
202
269
  return DashboardControllerApi;
203
270
  }());
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import * as models from './models';
13
13
  export interface GhostUser {
14
+ "clientType"?: GhostUser.ClientTypeEnum;
14
15
  "dob"?: string;
15
16
  "driverLicenseNumber"?: string;
16
17
  "emailAddress"?: string;
@@ -22,6 +23,28 @@ export interface GhostUser {
22
23
  "race"?: GhostUser.RaceEnum;
23
24
  }
24
25
  export declare namespace GhostUser {
26
+ enum ClientTypeEnum {
27
+ ANDROID,
28
+ DESKTOPWEBAPP,
29
+ DMVGO,
30
+ DMVORG,
31
+ EMAIL,
32
+ FRESHDESK,
33
+ IOS,
34
+ MOBILEWEBAPP,
35
+ OTRADMINCONSOLE,
36
+ OTRADMINCONSOLEDEVO,
37
+ OTRADMINCONSOLELOCALHOST,
38
+ OTREXPLORER,
39
+ OTRLAWFIRMPORTAL,
40
+ OTRLAWFIRMPORTALDEVO,
41
+ OTRLAWFIRMPORTALLOCALHOST,
42
+ OTRWEBSITE,
43
+ OTRWEBSITEDEVO,
44
+ OTRWEBSITELOCALHOST,
45
+ OTRWIDGET,
46
+ UNKNOWN
47
+ }
25
48
  enum GenderEnum {
26
49
  FEMALE,
27
50
  MALE,
@@ -14,6 +14,29 @@ Object.defineProperty(exports, "__esModule", { value: true });
14
14
  exports.GhostUser = void 0;
15
15
  var GhostUser;
16
16
  (function (GhostUser) {
17
+ var ClientTypeEnum;
18
+ (function (ClientTypeEnum) {
19
+ ClientTypeEnum[ClientTypeEnum["ANDROID"] = 'ANDROID'] = "ANDROID";
20
+ ClientTypeEnum[ClientTypeEnum["DESKTOPWEBAPP"] = 'DESKTOP_WEBAPP'] = "DESKTOPWEBAPP";
21
+ ClientTypeEnum[ClientTypeEnum["DMVGO"] = 'DMV_GO'] = "DMVGO";
22
+ ClientTypeEnum[ClientTypeEnum["DMVORG"] = 'DMV_ORG'] = "DMVORG";
23
+ ClientTypeEnum[ClientTypeEnum["EMAIL"] = 'EMAIL'] = "EMAIL";
24
+ ClientTypeEnum[ClientTypeEnum["FRESHDESK"] = 'FRESH_DESK'] = "FRESHDESK";
25
+ ClientTypeEnum[ClientTypeEnum["IOS"] = 'IOS'] = "IOS";
26
+ ClientTypeEnum[ClientTypeEnum["MOBILEWEBAPP"] = 'MOBILE_WEBAPP'] = "MOBILEWEBAPP";
27
+ ClientTypeEnum[ClientTypeEnum["OTRADMINCONSOLE"] = 'OTR_ADMIN_CONSOLE'] = "OTRADMINCONSOLE";
28
+ ClientTypeEnum[ClientTypeEnum["OTRADMINCONSOLEDEVO"] = 'OTR_ADMIN_CONSOLE_DEVO'] = "OTRADMINCONSOLEDEVO";
29
+ ClientTypeEnum[ClientTypeEnum["OTRADMINCONSOLELOCALHOST"] = 'OTR_ADMIN_CONSOLE_LOCALHOST'] = "OTRADMINCONSOLELOCALHOST";
30
+ ClientTypeEnum[ClientTypeEnum["OTREXPLORER"] = 'OTR_EXPLORER'] = "OTREXPLORER";
31
+ ClientTypeEnum[ClientTypeEnum["OTRLAWFIRMPORTAL"] = 'OTR_LAWFIRM_PORTAL'] = "OTRLAWFIRMPORTAL";
32
+ ClientTypeEnum[ClientTypeEnum["OTRLAWFIRMPORTALDEVO"] = 'OTR_LAWFIRM_PORTAL_DEVO'] = "OTRLAWFIRMPORTALDEVO";
33
+ ClientTypeEnum[ClientTypeEnum["OTRLAWFIRMPORTALLOCALHOST"] = 'OTR_LAWFIRM_PORTAL_LOCALHOST'] = "OTRLAWFIRMPORTALLOCALHOST";
34
+ ClientTypeEnum[ClientTypeEnum["OTRWEBSITE"] = 'OTR_WEBSITE'] = "OTRWEBSITE";
35
+ ClientTypeEnum[ClientTypeEnum["OTRWEBSITEDEVO"] = 'OTR_WEBSITE_DEVO'] = "OTRWEBSITEDEVO";
36
+ ClientTypeEnum[ClientTypeEnum["OTRWEBSITELOCALHOST"] = 'OTR_WEBSITE_LOCALHOST'] = "OTRWEBSITELOCALHOST";
37
+ ClientTypeEnum[ClientTypeEnum["OTRWIDGET"] = 'OTR_WIDGET'] = "OTRWIDGET";
38
+ ClientTypeEnum[ClientTypeEnum["UNKNOWN"] = 'UNKNOWN'] = "UNKNOWN";
39
+ })(ClientTypeEnum = GhostUser.ClientTypeEnum || (GhostUser.ClientTypeEnum = {}));
17
40
  var GenderEnum;
18
41
  (function (GenderEnum) {
19
42
  GenderEnum[GenderEnum["FEMALE"] = 'FEMALE'] = "FEMALE";
@@ -0,0 +1,15 @@
1
+ /**
2
+ * OffTheRecord Rest Service API - Devo
3
+ * A service to handle your traffic tickets
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export interface ListPhoneCallsCountModel {
13
+ "matchingRecords"?: number;
14
+ "totalRecords"?: number;
15
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ /**
3
+ * OffTheRecord Rest Service API - Devo
4
+ * A service to handle your traffic tickets
5
+ *
6
+ * The version of the OpenAPI document: 1.0
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
+ * https://openapi-generator.tech
11
+ * Do not edit the class manually.
12
+ */
13
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,32 @@
1
+ /**
2
+ * OffTheRecord Rest Service API - Devo
3
+ * A service to handle your traffic tickets
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export interface ListPhoneCallsModel {
13
+ "agentId"?: number;
14
+ "agentName"?: string;
15
+ "callDirection"?: ListPhoneCallsModel.CallDirectionEnum;
16
+ "callDurationInSeconds"?: number;
17
+ "callQueueName"?: string;
18
+ "callStartDateUtc"?: string;
19
+ "callStatus"?: number;
20
+ "customerName"?: string;
21
+ "holdDurationInSeconds"?: number;
22
+ "ivrDurationInSeconds"?: number;
23
+ "ivrName"?: string;
24
+ "talkDurationInSeconds"?: number;
25
+ "teamName"?: string;
26
+ }
27
+ export declare namespace ListPhoneCallsModel {
28
+ enum CallDirectionEnum {
29
+ INCOMING,
30
+ OUTGOING
31
+ }
32
+ }
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ /**
3
+ * OffTheRecord Rest Service API - Devo
4
+ * A service to handle your traffic tickets
5
+ *
6
+ * The version of the OpenAPI document: 1.0
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
+ * https://openapi-generator.tech
11
+ * Do not edit the class manually.
12
+ */
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.ListPhoneCallsModel = void 0;
15
+ var ListPhoneCallsModel;
16
+ (function (ListPhoneCallsModel) {
17
+ var CallDirectionEnum;
18
+ (function (CallDirectionEnum) {
19
+ CallDirectionEnum[CallDirectionEnum["INCOMING"] = 'INCOMING'] = "INCOMING";
20
+ CallDirectionEnum[CallDirectionEnum["OUTGOING"] = 'OUTGOING'] = "OUTGOING";
21
+ })(CallDirectionEnum = ListPhoneCallsModel.CallDirectionEnum || (ListPhoneCallsModel.CallDirectionEnum = {}));
22
+ })(ListPhoneCallsModel = exports.ListPhoneCallsModel || (exports.ListPhoneCallsModel = {}));
@@ -0,0 +1,16 @@
1
+ /**
2
+ * OffTheRecord Rest Service API - Devo
3
+ * A service to handle your traffic tickets
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import * as models from './models';
13
+ export interface ListPhoneCallsResponse {
14
+ "phoneCalls"?: Array<models.ListPhoneCallsModel>;
15
+ "phoneCallsCount"?: models.ListPhoneCallsCountModel;
16
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ /**
3
+ * OffTheRecord Rest Service API - Devo
4
+ * A service to handle your traffic tickets
5
+ *
6
+ * The version of the OpenAPI document: 1.0
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
+ * https://openapi-generator.tech
11
+ * Do not edit the class manually.
12
+ */
13
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -429,6 +429,9 @@ export * from './ListLawfirmSurchargeModel';
429
429
  export * from './ListLawfirmSurchargeTypeModel';
430
430
  export * from './ListLawfirmSurchargesResponse';
431
431
  export * from './ListNotesResponse';
432
+ export * from './ListPhoneCallsCountModel';
433
+ export * from './ListPhoneCallsModel';
434
+ export * from './ListPhoneCallsResponse';
432
435
  export * from './ListReferralsResponse';
433
436
  export * from './ListReviewsResponse';
434
437
  export * from './ListSubscriptionInvoicesResponse';
@@ -441,6 +441,9 @@ __exportStar(require("./ListLawfirmSurchargeModel"), exports);
441
441
  __exportStar(require("./ListLawfirmSurchargeTypeModel"), exports);
442
442
  __exportStar(require("./ListLawfirmSurchargesResponse"), exports);
443
443
  __exportStar(require("./ListNotesResponse"), exports);
444
+ __exportStar(require("./ListPhoneCallsCountModel"), exports);
445
+ __exportStar(require("./ListPhoneCallsModel"), exports);
446
+ __exportStar(require("./ListPhoneCallsResponse"), exports);
444
447
  __exportStar(require("./ListReferralsResponse"), exports);
445
448
  __exportStar(require("./ListReviewsResponse"), exports);
446
449
  __exportStar(require("./ListSubscriptionInvoicesResponse"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otr-app/shared-backend-generated-client",
3
- "version": "2.3.156",
3
+ "version": "2.3.158",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"