@otr-app/shared-backend-generated-client 2.3.169 → 2.3.171
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 +12 -0
- package/dist/angular/api/api.ts +3 -1
- package/dist/angular/api/coachingCardsController.service.ts +359 -0
- package/dist/angular/api/dashboardController.service.ts +19 -4
- package/dist/angular/api.module.ts +1 -0
- package/dist/angular/model/coachingCardCategoriesModel.ts +20 -0
- package/dist/angular/model/coachingCardEntity.ts +24 -0
- package/dist/angular/model/coachingCardSubcategoriesModel.ts +18 -0
- package/dist/angular/model/coachingCardUsersModel.ts +38 -0
- package/dist/angular/model/coachingCardsModel.ts +26 -0
- package/dist/angular/model/coachingLinks.ts +17 -0
- package/dist/angular/model/getCoachingCardCategoriesResponse.ts +18 -0
- package/dist/angular/model/listUserCoachingCardsResponse.ts +19 -0
- package/dist/angular/model/models.ts +11 -0
- package/dist/angular/model/saveCoachingCardRequest.ts +23 -0
- package/dist/angular/model/saveCoachingCardUserRequest.ts +37 -0
- package/dist/angular/model/updateCoachingCardRequest.ts +31 -0
- package/dist/otrBackendService.js +70 -55
- package/dist/otrBackendService.min.js +7 -7
- package/dist/typescript/api/CoachingCardsControllerApi.d.ts +46 -0
- package/dist/typescript/api/CoachingCardsControllerApi.js +131 -0
- package/dist/typescript/api/DashboardControllerApi.d.ts +4 -1
- package/dist/typescript/api/DashboardControllerApi.js +13 -1
- package/dist/typescript/api/api.d.ts +3 -1
- package/dist/typescript/api/api.js +3 -1
- package/dist/typescript/api.module.js +1 -0
- package/dist/typescript/model/CoachingCardCategoriesModel.d.ts +17 -0
- package/dist/typescript/model/CoachingCardCategoriesModel.js +13 -0
- package/dist/typescript/model/CoachingCardEntity.d.ts +21 -0
- package/dist/typescript/model/CoachingCardEntity.js +13 -0
- package/dist/typescript/model/CoachingCardSubcategoriesModel.d.ts +15 -0
- package/dist/typescript/model/CoachingCardSubcategoriesModel.js +13 -0
- package/dist/typescript/model/CoachingCardUsersModel.d.ts +33 -0
- package/dist/typescript/model/CoachingCardUsersModel.js +24 -0
- package/dist/typescript/model/CoachingCardsModel.d.ts +22 -0
- package/dist/typescript/model/CoachingCardsModel.js +13 -0
- package/dist/typescript/model/CoachingLinks.d.ts +14 -0
- package/dist/typescript/model/CoachingLinks.js +13 -0
- package/dist/typescript/model/GetCoachingCardCategoriesResponse.d.ts +15 -0
- package/dist/typescript/model/GetCoachingCardCategoriesResponse.js +13 -0
- package/dist/typescript/model/ListUserCoachingCardsResponse.d.ts +16 -0
- package/dist/typescript/model/ListUserCoachingCardsResponse.js +13 -0
- package/dist/typescript/model/SaveCoachingCardRequest.d.ts +19 -0
- package/dist/typescript/model/SaveCoachingCardRequest.js +13 -0
- package/dist/typescript/model/SaveCoachingCardUserRequest.d.ts +32 -0
- package/dist/typescript/model/SaveCoachingCardUserRequest.js +24 -0
- package/dist/typescript/model/UpdateCoachingCardRequest.d.ts +26 -0
- package/dist/typescript/model/UpdateCoachingCardRequest.js +24 -0
- package/dist/typescript/model/models.d.ts +11 -0
- package/dist/typescript/model/models.js +11 -0
- package/package.json +1 -1
|
@@ -30,6 +30,7 @@ api/caseUserController.service.ts
|
|
|
30
30
|
api/certificateController.service.ts
|
|
31
31
|
api/citationAuditController.service.ts
|
|
32
32
|
api/citationController.service.ts
|
|
33
|
+
api/coachingCardsController.service.ts
|
|
33
34
|
api/configurationController.service.ts
|
|
34
35
|
api/consoleListController.service.ts
|
|
35
36
|
api/contactTimelineController.service.ts
|
|
@@ -240,6 +241,12 @@ model/citationsResponseModel.ts
|
|
|
240
241
|
model/clientActionRequiredRequest.ts
|
|
241
242
|
model/clientConfirmedUnpaidCase.ts
|
|
242
243
|
model/clientLeadDomain.ts
|
|
244
|
+
model/coachingCardCategoriesModel.ts
|
|
245
|
+
model/coachingCardEntity.ts
|
|
246
|
+
model/coachingCardSubcategoriesModel.ts
|
|
247
|
+
model/coachingCardUsersModel.ts
|
|
248
|
+
model/coachingCardsModel.ts
|
|
249
|
+
model/coachingLinks.ts
|
|
243
250
|
model/commonHeader.ts
|
|
244
251
|
model/confidenceField.ts
|
|
245
252
|
model/contactTimelineResponse.ts
|
|
@@ -385,6 +392,7 @@ model/getCitationsWithMissingFieldsRequest.ts
|
|
|
385
392
|
model/getCitationsWithMissingFieldsResponse.ts
|
|
386
393
|
model/getClientCasesResponse.ts
|
|
387
394
|
model/getClientConfirmedUnpaidCasesResponse.ts
|
|
395
|
+
model/getCoachingCardCategoriesResponse.ts
|
|
388
396
|
model/getCompetitionResponseModel.ts
|
|
389
397
|
model/getCountOfMatchingUsersRequest.ts
|
|
390
398
|
model/getCountOfMatchingUsersResponse.ts
|
|
@@ -564,6 +572,7 @@ model/listReviewsResponse.ts
|
|
|
564
572
|
model/listSubscriptionInvoicesResponse.ts
|
|
565
573
|
model/listUserAuditEventsByCursorResponse.ts
|
|
566
574
|
model/listUserAuditEventsCursorModel.ts
|
|
575
|
+
model/listUserCoachingCardsResponse.ts
|
|
567
576
|
model/listUserWatchlistsResponse.ts
|
|
568
577
|
model/listViolationClassificationResponse.ts
|
|
569
578
|
model/lobEvent.ts
|
|
@@ -669,6 +678,8 @@ model/saveAgentBookingRequest.ts
|
|
|
669
678
|
model/saveAgentBookingResponse.ts
|
|
670
679
|
model/saveCaseNotesRequest.ts
|
|
671
680
|
model/saveCaseUserRequest.ts
|
|
681
|
+
model/saveCoachingCardRequest.ts
|
|
682
|
+
model/saveCoachingCardUserRequest.ts
|
|
672
683
|
model/saveExternalContentVoteRequest.ts
|
|
673
684
|
model/saveItemToWatchlistRequest.ts
|
|
674
685
|
model/saveLawfirmSurchargeModel.ts
|
|
@@ -772,6 +783,7 @@ model/updateCasePaymentRequest.ts
|
|
|
772
783
|
model/updateCitationAddressRequest.ts
|
|
773
784
|
model/updateCitationPictureRequest.ts
|
|
774
785
|
model/updateCitationRequest.ts
|
|
786
|
+
model/updateCoachingCardRequest.ts
|
|
775
787
|
model/updateCourtRequest.ts
|
|
776
788
|
model/updateDisputeRequest.ts
|
|
777
789
|
model/updateInvoiceLineItemRequest.ts
|
package/dist/angular/api/api.ts
CHANGED
|
@@ -54,6 +54,8 @@ export * from './citationAuditController.service';
|
|
|
54
54
|
import { CitationAuditControllerService } from './citationAuditController.service';
|
|
55
55
|
export * from './citationController.service';
|
|
56
56
|
import { CitationControllerService } from './citationController.service';
|
|
57
|
+
export * from './coachingCardsController.service';
|
|
58
|
+
import { CoachingCardsControllerService } from './coachingCardsController.service';
|
|
57
59
|
export * from './configurationController.service';
|
|
58
60
|
import { ConfigurationControllerService } from './configurationController.service';
|
|
59
61
|
export * from './consoleListController.service';
|
|
@@ -216,4 +218,4 @@ export * from './websocketMessageController.service';
|
|
|
216
218
|
import { WebsocketMessageControllerService } from './websocketMessageController.service';
|
|
217
219
|
export * from './workflowStateController.service';
|
|
218
220
|
import { WorkflowStateControllerService } from './workflowStateController.service';
|
|
219
|
-
export const APIS = [ActionRequiredControllerService, ActivityFeedControllerService, AddressControllerService, AlertNotificationControllerService, AppEventsControllerService, AuditLawfirmEventsControllerService, AuditLogControllerService, AuthenticationControllerService, AwsCredentialsControllerService, BlogWebhookControllerService, BranchLinkControllerService, CaptchaControllerService, CaseActionsControllerService, CaseControllerService, CaseCounterOfferControllerService, CaseCreationControllerService, CaseDeclineControllerService, CaseNotesControllerService, CasePaymentControllerService, CaseReferralCodeControllerService, CaseRefundControllerService, CaseResolutionControllerService, CaseStatusControllerService, CaseTransferControllerService, CaseUserControllerService, CertificateControllerService, CitationAuditControllerService, CitationControllerService, ConfigurationControllerService, ConsoleListControllerService, ContactTimelineControllerService, ConversationControllerService, CountyControllerService, CourtControllerService, CrmControllerService, CustomerLeadControllerService, CustomerReviewControllerService, CustomerServiceAgentBookingsControllerService, CustomerServiceAgentControllerService, DashboardControllerService, DirectMailControllerService, DripControllerService, DripWebhooksControllerService, EmailSubscriptionControllerService, ExternalContentVoteControllerService, ExternalTicketLookupControllerService, FeedbackControllerService, FreshcallerControllerService, FreshdeskTicketControllerService, GetCaseControllerService, HouseholdMateControllerService, HubspotWebhookControllerService, InsuranceCalculatorControllerService, LawfirmCaseDecisionControllerService, LawfirmCasesControllerService, LawfirmControllerService, LawfirmDocumentControllerService, LawfirmFeeCoverageControllerService, LawfirmPaymentModelControllerService, LawfirmRatesControllerService, LawfirmSettingsControllerService, LawfirmStorefrontControllerService, LawfirmSurchargeControllerService, LawfirmTransactionsControllerService, LawyerControllerService, LegalServicesControllerService, LineItemControllerService, ListCasesControllerService, MediaCreationControllerService, MessagesControllerService, NotesControllerService, OcrPredictionControllerService, OnDemandRequestControllerService, OneTimePasswordControllerService, PhoneLeadsControllerService, PushNotificationControllerService, RecurringBillingControllerService, RefLinkControllerService, ReferralCodeControllerService, ReferralControllerService, ReferralSourceControllerService, RefundEligibilityControllerService, RegistrationControllerService, ReportingControllerService, ScheduledTaskControllerService, SingleSignOnControllerService, SnsListenerControllerService, SocialLoginControllerService, StripeCardControllerService, StripeControllerService, StripeSyncControllerService, StripeWebhookControllerService, TicketReviewControllerService, UrlRedirectControllerService, UserAccountControllerService, UserAuditControllerService, UserControllerService, UserPasswordControllerService, UserProfileControllerService, UserSearchControllerService, UserSettingsControllerService, UtilityControllerService, ValidationControllerService, VerificationControllerService, ViolationControllerService, ViolationPenaltyControllerService, WatchlistsControllerService, WebsocketMessageControllerService, WorkflowStateControllerService];
|
|
221
|
+
export const APIS = [ActionRequiredControllerService, ActivityFeedControllerService, AddressControllerService, AlertNotificationControllerService, AppEventsControllerService, AuditLawfirmEventsControllerService, AuditLogControllerService, AuthenticationControllerService, AwsCredentialsControllerService, BlogWebhookControllerService, BranchLinkControllerService, CaptchaControllerService, CaseActionsControllerService, CaseControllerService, CaseCounterOfferControllerService, CaseCreationControllerService, CaseDeclineControllerService, CaseNotesControllerService, CasePaymentControllerService, CaseReferralCodeControllerService, CaseRefundControllerService, CaseResolutionControllerService, CaseStatusControllerService, CaseTransferControllerService, CaseUserControllerService, CertificateControllerService, CitationAuditControllerService, CitationControllerService, CoachingCardsControllerService, ConfigurationControllerService, ConsoleListControllerService, ContactTimelineControllerService, ConversationControllerService, CountyControllerService, CourtControllerService, CrmControllerService, CustomerLeadControllerService, CustomerReviewControllerService, CustomerServiceAgentBookingsControllerService, CustomerServiceAgentControllerService, DashboardControllerService, DirectMailControllerService, DripControllerService, DripWebhooksControllerService, EmailSubscriptionControllerService, ExternalContentVoteControllerService, ExternalTicketLookupControllerService, FeedbackControllerService, FreshcallerControllerService, FreshdeskTicketControllerService, GetCaseControllerService, HouseholdMateControllerService, HubspotWebhookControllerService, InsuranceCalculatorControllerService, LawfirmCaseDecisionControllerService, LawfirmCasesControllerService, LawfirmControllerService, LawfirmDocumentControllerService, LawfirmFeeCoverageControllerService, LawfirmPaymentModelControllerService, LawfirmRatesControllerService, LawfirmSettingsControllerService, LawfirmStorefrontControllerService, LawfirmSurchargeControllerService, LawfirmTransactionsControllerService, LawyerControllerService, LegalServicesControllerService, LineItemControllerService, ListCasesControllerService, MediaCreationControllerService, MessagesControllerService, NotesControllerService, OcrPredictionControllerService, OnDemandRequestControllerService, OneTimePasswordControllerService, PhoneLeadsControllerService, PushNotificationControllerService, RecurringBillingControllerService, RefLinkControllerService, ReferralCodeControllerService, ReferralControllerService, ReferralSourceControllerService, RefundEligibilityControllerService, RegistrationControllerService, ReportingControllerService, ScheduledTaskControllerService, SingleSignOnControllerService, SnsListenerControllerService, SocialLoginControllerService, StripeCardControllerService, StripeControllerService, StripeSyncControllerService, StripeWebhookControllerService, TicketReviewControllerService, UrlRedirectControllerService, UserAccountControllerService, UserAuditControllerService, UserControllerService, UserPasswordControllerService, UserProfileControllerService, UserSearchControllerService, UserSettingsControllerService, UtilityControllerService, ValidationControllerService, VerificationControllerService, ViolationControllerService, ViolationPenaltyControllerService, WatchlistsControllerService, WebsocketMessageControllerService, WorkflowStateControllerService];
|
|
@@ -0,0 +1,359 @@
|
|
|
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
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
13
|
+
|
|
14
|
+
import { Inject, Injectable, Optional } from '@angular/core';
|
|
15
|
+
import { HttpClient, HttpHeaders, HttpParams,
|
|
16
|
+
HttpResponse, HttpEvent, HttpParameterCodec, HttpContext
|
|
17
|
+
} from '@angular/common/http';
|
|
18
|
+
import { CustomHttpParameterCodec } from '../encoder';
|
|
19
|
+
import { Observable } from 'rxjs';
|
|
20
|
+
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
import { GetCoachingCardCategoriesResponse } from '../model/getCoachingCardCategoriesResponse';
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import { ListUserCoachingCardsResponse } from '../model/listUserCoachingCardsResponse';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { SaveCoachingCardRequest } from '../model/saveCoachingCardRequest';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { UpdateCoachingCardRequest } from '../model/updateCoachingCardRequest';
|
|
29
|
+
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
|
|
32
|
+
import { Configuration } from '../configuration';
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
@Injectable({
|
|
37
|
+
providedIn: 'root'
|
|
38
|
+
})
|
|
39
|
+
export class CoachingCardsControllerService {
|
|
40
|
+
|
|
41
|
+
protected basePath = 'http://otr-backend-service-us-devo.offtherecord.com';
|
|
42
|
+
public defaultHeaders = new HttpHeaders();
|
|
43
|
+
public configuration = new Configuration();
|
|
44
|
+
public encoder: HttpParameterCodec;
|
|
45
|
+
|
|
46
|
+
constructor(protected httpClient: HttpClient, @Optional()@Inject(BASE_PATH) basePath: string|string[], @Optional() configuration: Configuration) {
|
|
47
|
+
if (configuration) {
|
|
48
|
+
this.configuration = configuration;
|
|
49
|
+
}
|
|
50
|
+
if (typeof this.configuration.basePath !== 'string') {
|
|
51
|
+
if (Array.isArray(basePath) && basePath.length > 0) {
|
|
52
|
+
basePath = basePath[0];
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
if (typeof basePath !== 'string') {
|
|
56
|
+
basePath = this.basePath;
|
|
57
|
+
}
|
|
58
|
+
this.configuration.basePath = basePath;
|
|
59
|
+
}
|
|
60
|
+
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
// @ts-ignore
|
|
65
|
+
private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {
|
|
66
|
+
if (typeof value === "object" && value instanceof Date === false) {
|
|
67
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
68
|
+
} else {
|
|
69
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
70
|
+
}
|
|
71
|
+
return httpParams;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
private addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string): HttpParams {
|
|
75
|
+
if (value == null) {
|
|
76
|
+
return httpParams;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
if (typeof value === "object") {
|
|
80
|
+
if (Array.isArray(value)) {
|
|
81
|
+
(value as any[]).forEach( elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
82
|
+
} else if (value instanceof Date) {
|
|
83
|
+
if (key != null) {
|
|
84
|
+
httpParams = httpParams.append(key, (value as Date).toISOString().substr(0, 10));
|
|
85
|
+
} else {
|
|
86
|
+
throw Error("key may not be null if value is Date");
|
|
87
|
+
}
|
|
88
|
+
} else {
|
|
89
|
+
Object.keys(value).forEach( k => httpParams = this.addToHttpParamsRecursive(
|
|
90
|
+
httpParams, value[k], key != null ? `${key}.${k}` : k));
|
|
91
|
+
}
|
|
92
|
+
} else if (key != null) {
|
|
93
|
+
httpParams = httpParams.append(key, value);
|
|
94
|
+
} else {
|
|
95
|
+
throw Error("key may not be null if value is not object or array");
|
|
96
|
+
}
|
|
97
|
+
return httpParams;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* acknowledgeCoachingCard
|
|
102
|
+
* @param request request
|
|
103
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
104
|
+
* @param reportProgress flag to report request and response progress.
|
|
105
|
+
*/
|
|
106
|
+
public acknowledgeCoachingCardUsingPUT(request: UpdateCoachingCardRequest, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<any>;
|
|
107
|
+
public acknowledgeCoachingCardUsingPUT(request: UpdateCoachingCardRequest, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<HttpResponse<any>>;
|
|
108
|
+
public acknowledgeCoachingCardUsingPUT(request: UpdateCoachingCardRequest, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<HttpEvent<any>>;
|
|
109
|
+
public acknowledgeCoachingCardUsingPUT(request: UpdateCoachingCardRequest, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<any> {
|
|
110
|
+
if (request === null || request === undefined) {
|
|
111
|
+
throw new Error('Required parameter request was null or undefined when calling acknowledgeCoachingCardUsingPUT.');
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
let localVarHeaders = this.defaultHeaders;
|
|
115
|
+
|
|
116
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
117
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
118
|
+
// to determine the Accept header
|
|
119
|
+
const httpHeaderAccepts: string[] = [
|
|
120
|
+
];
|
|
121
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
122
|
+
}
|
|
123
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
124
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
128
|
+
if (localVarHttpContext === undefined) {
|
|
129
|
+
localVarHttpContext = new HttpContext();
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
// to determine the Content-Type header
|
|
134
|
+
const consumes: string[] = [
|
|
135
|
+
'application/json'
|
|
136
|
+
];
|
|
137
|
+
const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
|
|
138
|
+
if (httpContentTypeSelected !== undefined) {
|
|
139
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
143
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
144
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
145
|
+
responseType_ = 'text';
|
|
146
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
147
|
+
responseType_ = 'json';
|
|
148
|
+
} else {
|
|
149
|
+
responseType_ = 'blob';
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
let localVarPath = `/api/api/v1/coaching-cards/acknowledge`;
|
|
154
|
+
return this.httpClient.request<any>('put', `${this.configuration.basePath}${localVarPath}`,
|
|
155
|
+
{
|
|
156
|
+
context: localVarHttpContext,
|
|
157
|
+
body: request,
|
|
158
|
+
responseType: <any>responseType_,
|
|
159
|
+
withCredentials: this.configuration.withCredentials,
|
|
160
|
+
headers: localVarHeaders,
|
|
161
|
+
observe: observe,
|
|
162
|
+
reportProgress: reportProgress
|
|
163
|
+
}
|
|
164
|
+
);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* getCoachingCardCategories
|
|
169
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
170
|
+
* @param reportProgress flag to report request and response progress.
|
|
171
|
+
*/
|
|
172
|
+
public getCoachingCardCategoriesUsingGET(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<GetCoachingCardCategoriesResponse>;
|
|
173
|
+
public getCoachingCardCategoriesUsingGET(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<GetCoachingCardCategoriesResponse>>;
|
|
174
|
+
public getCoachingCardCategoriesUsingGET(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<GetCoachingCardCategoriesResponse>>;
|
|
175
|
+
public getCoachingCardCategoriesUsingGET(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
|
|
176
|
+
|
|
177
|
+
let localVarHeaders = this.defaultHeaders;
|
|
178
|
+
|
|
179
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
180
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
181
|
+
// to determine the Accept header
|
|
182
|
+
const httpHeaderAccepts: string[] = [
|
|
183
|
+
'*/*'
|
|
184
|
+
];
|
|
185
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
186
|
+
}
|
|
187
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
188
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
192
|
+
if (localVarHttpContext === undefined) {
|
|
193
|
+
localVarHttpContext = new HttpContext();
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
198
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
199
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
200
|
+
responseType_ = 'text';
|
|
201
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
202
|
+
responseType_ = 'json';
|
|
203
|
+
} else {
|
|
204
|
+
responseType_ = 'blob';
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
let localVarPath = `/api/api/v1/coaching-cards/categories`;
|
|
209
|
+
return this.httpClient.request<GetCoachingCardCategoriesResponse>('get', `${this.configuration.basePath}${localVarPath}`,
|
|
210
|
+
{
|
|
211
|
+
context: localVarHttpContext,
|
|
212
|
+
responseType: <any>responseType_,
|
|
213
|
+
withCredentials: this.configuration.withCredentials,
|
|
214
|
+
headers: localVarHeaders,
|
|
215
|
+
observe: observe,
|
|
216
|
+
reportProgress: reportProgress
|
|
217
|
+
}
|
|
218
|
+
);
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* listUserCoachingCards
|
|
223
|
+
* @param userId userId
|
|
224
|
+
* @param includeCreated includeCreated
|
|
225
|
+
* @param includeReceived includeReceived
|
|
226
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
227
|
+
* @param reportProgress flag to report request and response progress.
|
|
228
|
+
*/
|
|
229
|
+
public listUserCoachingCardsUsingGET(userId: number, includeCreated?: boolean, includeReceived?: boolean, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<ListUserCoachingCardsResponse>;
|
|
230
|
+
public listUserCoachingCardsUsingGET(userId: number, includeCreated?: boolean, includeReceived?: boolean, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<ListUserCoachingCardsResponse>>;
|
|
231
|
+
public listUserCoachingCardsUsingGET(userId: number, includeCreated?: boolean, includeReceived?: boolean, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<ListUserCoachingCardsResponse>>;
|
|
232
|
+
public listUserCoachingCardsUsingGET(userId: number, includeCreated?: boolean, includeReceived?: boolean, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
|
|
233
|
+
if (userId === null || userId === undefined) {
|
|
234
|
+
throw new Error('Required parameter userId was null or undefined when calling listUserCoachingCardsUsingGET.');
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
let localVarQueryParameters = new HttpParams({encoder: this.encoder});
|
|
238
|
+
if (includeCreated !== undefined && includeCreated !== null) {
|
|
239
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
|
240
|
+
<any>includeCreated, 'includeCreated');
|
|
241
|
+
}
|
|
242
|
+
if (includeReceived !== undefined && includeReceived !== null) {
|
|
243
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
|
244
|
+
<any>includeReceived, 'includeReceived');
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
let localVarHeaders = this.defaultHeaders;
|
|
248
|
+
|
|
249
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
250
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
251
|
+
// to determine the Accept header
|
|
252
|
+
const httpHeaderAccepts: string[] = [
|
|
253
|
+
'*/*'
|
|
254
|
+
];
|
|
255
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
256
|
+
}
|
|
257
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
258
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
262
|
+
if (localVarHttpContext === undefined) {
|
|
263
|
+
localVarHttpContext = new HttpContext();
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
268
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
269
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
270
|
+
responseType_ = 'text';
|
|
271
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
272
|
+
responseType_ = 'json';
|
|
273
|
+
} else {
|
|
274
|
+
responseType_ = 'blob';
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
let localVarPath = `/api/v1/coaching-cards/${this.configuration.encodeParam({name: "userId", value: userId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64"})}/cards`;
|
|
279
|
+
return this.httpClient.request<ListUserCoachingCardsResponse>('get', `${this.configuration.basePath}${localVarPath}`,
|
|
280
|
+
{
|
|
281
|
+
context: localVarHttpContext,
|
|
282
|
+
params: localVarQueryParameters,
|
|
283
|
+
responseType: <any>responseType_,
|
|
284
|
+
withCredentials: this.configuration.withCredentials,
|
|
285
|
+
headers: localVarHeaders,
|
|
286
|
+
observe: observe,
|
|
287
|
+
reportProgress: reportProgress
|
|
288
|
+
}
|
|
289
|
+
);
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* saveCoachingCard
|
|
294
|
+
* @param request request
|
|
295
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
296
|
+
* @param reportProgress flag to report request and response progress.
|
|
297
|
+
*/
|
|
298
|
+
public saveCoachingCardUsingPOST(request: SaveCoachingCardRequest, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<any>;
|
|
299
|
+
public saveCoachingCardUsingPOST(request: SaveCoachingCardRequest, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<HttpResponse<any>>;
|
|
300
|
+
public saveCoachingCardUsingPOST(request: SaveCoachingCardRequest, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<HttpEvent<any>>;
|
|
301
|
+
public saveCoachingCardUsingPOST(request: SaveCoachingCardRequest, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<any> {
|
|
302
|
+
if (request === null || request === undefined) {
|
|
303
|
+
throw new Error('Required parameter request was null or undefined when calling saveCoachingCardUsingPOST.');
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
let localVarHeaders = this.defaultHeaders;
|
|
307
|
+
|
|
308
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
309
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
310
|
+
// to determine the Accept header
|
|
311
|
+
const httpHeaderAccepts: string[] = [
|
|
312
|
+
];
|
|
313
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
314
|
+
}
|
|
315
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
316
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
320
|
+
if (localVarHttpContext === undefined) {
|
|
321
|
+
localVarHttpContext = new HttpContext();
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
// to determine the Content-Type header
|
|
326
|
+
const consumes: string[] = [
|
|
327
|
+
'application/json'
|
|
328
|
+
];
|
|
329
|
+
const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
|
|
330
|
+
if (httpContentTypeSelected !== undefined) {
|
|
331
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
335
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
336
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
337
|
+
responseType_ = 'text';
|
|
338
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
339
|
+
responseType_ = 'json';
|
|
340
|
+
} else {
|
|
341
|
+
responseType_ = 'blob';
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
let localVarPath = `/api/v1/coaching-cards/cards`;
|
|
346
|
+
return this.httpClient.request<any>('post', `${this.configuration.basePath}${localVarPath}`,
|
|
347
|
+
{
|
|
348
|
+
context: localVarHttpContext,
|
|
349
|
+
body: request,
|
|
350
|
+
responseType: <any>responseType_,
|
|
351
|
+
withCredentials: this.configuration.withCredentials,
|
|
352
|
+
headers: localVarHeaders,
|
|
353
|
+
observe: observe,
|
|
354
|
+
reportProgress: reportProgress
|
|
355
|
+
}
|
|
356
|
+
);
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
}
|
|
@@ -587,8 +587,11 @@ export class DashboardControllerService {
|
|
|
587
587
|
* listPhoneCalls
|
|
588
588
|
* @param agentId agentId
|
|
589
589
|
* @param agentName agentName
|
|
590
|
+
* @param callQueueName callQueueName
|
|
590
591
|
* @param callStatus callStatus
|
|
592
|
+
* @param direction direction
|
|
591
593
|
* @param endDate endDate
|
|
594
|
+
* @param ivrName ivrName
|
|
592
595
|
* @param length length
|
|
593
596
|
* @param page page
|
|
594
597
|
* @param shouldIncludePhoneCalls shouldIncludePhoneCalls
|
|
@@ -600,10 +603,10 @@ export class DashboardControllerService {
|
|
|
600
603
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
601
604
|
* @param reportProgress flag to report request and response progress.
|
|
602
605
|
*/
|
|
603
|
-
public 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, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<ListPhoneCallsResponse>;
|
|
604
|
-
public 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, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<HttpResponse<ListPhoneCallsResponse>>;
|
|
605
|
-
public 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, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<HttpEvent<ListPhoneCallsResponse>>;
|
|
606
|
-
public 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, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<any> {
|
|
606
|
+
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>;
|
|
607
|
+
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>>;
|
|
608
|
+
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>>;
|
|
609
|
+
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> {
|
|
607
610
|
|
|
608
611
|
let localVarQueryParameters = new HttpParams({encoder: this.encoder});
|
|
609
612
|
if (agentId !== undefined && agentId !== null) {
|
|
@@ -614,14 +617,26 @@ export class DashboardControllerService {
|
|
|
614
617
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
|
615
618
|
<any>agentName, 'agentName');
|
|
616
619
|
}
|
|
620
|
+
if (callQueueName !== undefined && callQueueName !== null) {
|
|
621
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
|
622
|
+
<any>callQueueName, 'callQueueName');
|
|
623
|
+
}
|
|
617
624
|
if (callStatus !== undefined && callStatus !== null) {
|
|
618
625
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
|
619
626
|
<any>callStatus, 'callStatus');
|
|
620
627
|
}
|
|
628
|
+
if (direction !== undefined && direction !== null) {
|
|
629
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
|
630
|
+
<any>direction, 'direction');
|
|
631
|
+
}
|
|
621
632
|
if (endDate !== undefined && endDate !== null) {
|
|
622
633
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
|
623
634
|
<any>endDate, 'endDate');
|
|
624
635
|
}
|
|
636
|
+
if (ivrName !== undefined && ivrName !== null) {
|
|
637
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
|
638
|
+
<any>ivrName, 'ivrName');
|
|
639
|
+
}
|
|
625
640
|
if (length !== undefined && length !== null) {
|
|
626
641
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
|
627
642
|
<any>length, 'length');
|
|
@@ -30,6 +30,7 @@ import { CaseUserControllerService } from './api/caseUserController.service';
|
|
|
30
30
|
import { CertificateControllerService } from './api/certificateController.service';
|
|
31
31
|
import { CitationAuditControllerService } from './api/citationAuditController.service';
|
|
32
32
|
import { CitationControllerService } from './api/citationController.service';
|
|
33
|
+
import { CoachingCardsControllerService } from './api/coachingCardsController.service';
|
|
33
34
|
import { ConfigurationControllerService } from './api/configurationController.service';
|
|
34
35
|
import { ConsoleListControllerService } from './api/consoleListController.service';
|
|
35
36
|
import { ContactTimelineControllerService } from './api/contactTimelineController.service';
|
|
@@ -0,0 +1,20 @@
|
|
|
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 { CoachingCardSubcategoriesModel } from './coachingCardSubcategoriesModel';
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
export interface CoachingCardCategoriesModel {
|
|
16
|
+
coachingCardCategory?: string;
|
|
17
|
+
description?: string;
|
|
18
|
+
subcategories?: Array<CoachingCardSubcategoriesModel>;
|
|
19
|
+
}
|
|
20
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
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 { CoachingLinks } from './coachingLinks';
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
export interface CoachingCardEntity {
|
|
16
|
+
cardCreatedDateUtc?: string;
|
|
17
|
+
cardLastUpdatedDateUtc?: string;
|
|
18
|
+
coachingCardCategoryId?: number;
|
|
19
|
+
coachingCardId?: number;
|
|
20
|
+
coachingCardSubcategoryId?: number;
|
|
21
|
+
coachingLinks?: CoachingLinks;
|
|
22
|
+
coachingText?: string;
|
|
23
|
+
}
|
|
24
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
|
|
13
|
+
|
|
14
|
+
export interface CoachingCardSubcategoriesModel {
|
|
15
|
+
coachingCardSubcategory?: string;
|
|
16
|
+
description?: string;
|
|
17
|
+
}
|
|
18
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
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 { CoachingCardEntity } from './coachingCardEntity';
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
export interface CoachingCardUsersModel {
|
|
16
|
+
acknowledgementDateUtc?: string;
|
|
17
|
+
assignmentDateUtc?: string;
|
|
18
|
+
coachingCards?: CoachingCardEntity;
|
|
19
|
+
coachingDateUtc?: string;
|
|
20
|
+
coachingMethod?: string;
|
|
21
|
+
hasBeenCoached?: boolean;
|
|
22
|
+
isActionRequired?: boolean;
|
|
23
|
+
isRepeatOffense?: boolean;
|
|
24
|
+
permissionType?: CoachingCardUsersModel.PermissionTypeEnum;
|
|
25
|
+
resolutionDateUtc?: string;
|
|
26
|
+
userId?: number;
|
|
27
|
+
}
|
|
28
|
+
export namespace CoachingCardUsersModel {
|
|
29
|
+
export type PermissionTypeEnum = 'AUTHOR' | 'MANAGER' | 'PARTICIPANT' | 'RECIPIENT';
|
|
30
|
+
export const PermissionTypeEnum = {
|
|
31
|
+
Author: 'AUTHOR' as PermissionTypeEnum,
|
|
32
|
+
Manager: 'MANAGER' as PermissionTypeEnum,
|
|
33
|
+
Participant: 'PARTICIPANT' as PermissionTypeEnum,
|
|
34
|
+
Recipient: 'RECIPIENT' as PermissionTypeEnum
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
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 { CoachingCardUsersModel } from './coachingCardUsersModel';
|
|
13
|
+
import { CoachingLinks } from './coachingLinks';
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
export interface CoachingCardsModel {
|
|
17
|
+
cardCreatedDate?: string;
|
|
18
|
+
cardLastUpdatedDate?: string;
|
|
19
|
+
coachingCardCategoryId?: number;
|
|
20
|
+
coachingCardId?: number;
|
|
21
|
+
coachingCardSubcategoryId?: number;
|
|
22
|
+
coachingCardUsers?: Set<CoachingCardUsersModel>;
|
|
23
|
+
coachingLinks?: CoachingLinks;
|
|
24
|
+
coachingText?: string;
|
|
25
|
+
}
|
|
26
|
+
|