@otr-app/shared-backend-generated-client 2.3.157 → 2.3.159
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/angular/.openapi-generator/FILES +3 -0
- package/dist/angular/api/dashboardController.service.ts +119 -0
- package/dist/angular/model/listPhoneCallsCountModel.ts +18 -0
- package/dist/angular/model/listPhoneCallsModel.ts +37 -0
- package/dist/angular/model/listPhoneCallsResponse.ts +20 -0
- package/dist/angular/model/models.ts +3 -0
- package/dist/angular/model/validateDirectMailResponse.ts +2 -1
- package/dist/otrBackendService.js +92 -0
- package/dist/otrBackendService.min.js +5 -5
- package/dist/typescript/api/DashboardControllerApi.d.ts +17 -0
- package/dist/typescript/api/DashboardControllerApi.js +67 -0
- package/dist/typescript/model/ListPhoneCallsCountModel.d.ts +15 -0
- package/dist/typescript/model/ListPhoneCallsCountModel.js +13 -0
- package/dist/typescript/model/ListPhoneCallsModel.d.ts +32 -0
- package/dist/typescript/model/ListPhoneCallsModel.js +22 -0
- package/dist/typescript/model/ListPhoneCallsResponse.d.ts +16 -0
- package/dist/typescript/model/ListPhoneCallsResponse.js +13 -0
- package/dist/typescript/model/ValidateDirectMailResponse.d.ts +1 -0
- package/dist/typescript/model/ValidateDirectMailResponse.js +1 -0
- package/dist/typescript/model/models.d.ts +3 -0
- package/dist/typescript/model/models.js +3 -0
- package/package.json +1 -1
|
@@ -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
|
}());
|
|
@@ -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 });
|
|
@@ -235,6 +235,7 @@ var ValidateDirectMailResponse;
|
|
|
235
235
|
OtrErrorEnum[OtrErrorEnum["PLAIDERROR"] = 'PLAID_ERROR'] = "PLAIDERROR";
|
|
236
236
|
OtrErrorEnum[OtrErrorEnum["QBOBILLCREATIONFAILURE"] = 'QBO_BILL_CREATION_FAILURE'] = "QBOBILLCREATIONFAILURE";
|
|
237
237
|
OtrErrorEnum[OtrErrorEnum["QBOVENDORCREATIONFAILURE"] = 'QBO_VENDOR_CREATION_FAILURE'] = "QBOVENDORCREATIONFAILURE";
|
|
238
|
+
OtrErrorEnum[OtrErrorEnum["RATETHROTTLELIMITEXCEEDED"] = 'RATE_THROTTLE_LIMIT_EXCEEDED'] = "RATETHROTTLELIMITEXCEEDED";
|
|
238
239
|
OtrErrorEnum[OtrErrorEnum["REFERRALSNOTALLOWEDTOBEREDEEMED"] = 'REFERRALS_NOT_ALLOWED_TO_BE_REDEEMED'] = "REFERRALSNOTALLOWEDTOBEREDEEMED";
|
|
239
240
|
OtrErrorEnum[OtrErrorEnum["REFUNDNOTALLOWED"] = 'REFUND_NOT_ALLOWED'] = "REFUNDNOTALLOWED";
|
|
240
241
|
OtrErrorEnum[OtrErrorEnum["REFUNDNOTELIGIBLE"] = 'REFUND_NOT_ELIGIBLE'] = "REFUNDNOTELIGIBLE";
|
|
@@ -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);
|