@otr-app/shared-backend-generated-client 2.3.170 → 2.3.172

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.
Files changed (69) hide show
  1. package/dist/angular/.openapi-generator/FILES +18 -0
  2. package/dist/angular/api/api.ts +5 -1
  3. package/dist/angular/api/coachingCardsController.service.ts +359 -0
  4. package/dist/angular/api/dashboardController.service.ts +19 -4
  5. package/dist/angular/api/driverLicenseController.service.ts +312 -0
  6. package/dist/angular/api.module.ts +2 -0
  7. package/dist/angular/model/coachingCardCategoriesModel.ts +20 -0
  8. package/dist/angular/model/coachingCardEntity.ts +24 -0
  9. package/dist/angular/model/coachingCardSubcategoriesModel.ts +18 -0
  10. package/dist/angular/model/coachingCardUsersModel.ts +38 -0
  11. package/dist/angular/model/coachingCardsModel.ts +26 -0
  12. package/dist/angular/model/coachingLinks.ts +17 -0
  13. package/dist/angular/model/driverLicenseModel.ts +40 -0
  14. package/dist/angular/model/getCoachingCardCategoriesResponse.ts +18 -0
  15. package/dist/angular/model/getDriverLicensesResponse.ts +18 -0
  16. package/dist/angular/model/listUserCoachingCardsResponse.ts +19 -0
  17. package/dist/angular/model/models.ts +16 -0
  18. package/dist/angular/model/saveCoachingCardRequest.ts +23 -0
  19. package/dist/angular/model/saveCoachingCardUserRequest.ts +37 -0
  20. package/dist/angular/model/saveDriverLicensePictureRequest.ts +19 -0
  21. package/dist/angular/model/saveDriverLicenseRequest.ts +31 -0
  22. package/dist/angular/model/updateCoachingCardRequest.ts +31 -0
  23. package/dist/angular/model/userAssetModel.ts +21 -0
  24. package/dist/otrBackendService.js +184 -55
  25. package/dist/otrBackendService.min.js +4 -4
  26. package/dist/typescript/api/CoachingCardsControllerApi.d.ts +46 -0
  27. package/dist/typescript/api/CoachingCardsControllerApi.js +131 -0
  28. package/dist/typescript/api/DashboardControllerApi.d.ts +4 -1
  29. package/dist/typescript/api/DashboardControllerApi.js +13 -1
  30. package/dist/typescript/api/DriverLicenseControllerApi.d.ts +42 -0
  31. package/dist/typescript/api/DriverLicenseControllerApi.js +120 -0
  32. package/dist/typescript/api/api.d.ts +5 -1
  33. package/dist/typescript/api/api.js +5 -1
  34. package/dist/typescript/api.module.js +2 -0
  35. package/dist/typescript/model/CoachingCardCategoriesModel.d.ts +17 -0
  36. package/dist/typescript/model/CoachingCardCategoriesModel.js +13 -0
  37. package/dist/typescript/model/CoachingCardEntity.d.ts +21 -0
  38. package/dist/typescript/model/CoachingCardEntity.js +13 -0
  39. package/dist/typescript/model/CoachingCardSubcategoriesModel.d.ts +15 -0
  40. package/dist/typescript/model/CoachingCardSubcategoriesModel.js +13 -0
  41. package/dist/typescript/model/CoachingCardUsersModel.d.ts +33 -0
  42. package/dist/typescript/model/CoachingCardUsersModel.js +24 -0
  43. package/dist/typescript/model/CoachingCardsModel.d.ts +22 -0
  44. package/dist/typescript/model/CoachingCardsModel.js +13 -0
  45. package/dist/typescript/model/CoachingLinks.d.ts +14 -0
  46. package/dist/typescript/model/CoachingLinks.js +13 -0
  47. package/dist/typescript/model/DriverLicenseModel.d.ts +36 -0
  48. package/dist/typescript/model/DriverLicenseModel.js +13 -0
  49. package/dist/typescript/model/GetCoachingCardCategoriesResponse.d.ts +15 -0
  50. package/dist/typescript/model/GetCoachingCardCategoriesResponse.js +13 -0
  51. package/dist/typescript/model/GetDriverLicensesResponse.d.ts +15 -0
  52. package/dist/typescript/model/GetDriverLicensesResponse.js +13 -0
  53. package/dist/typescript/model/ListUserCoachingCardsResponse.d.ts +16 -0
  54. package/dist/typescript/model/ListUserCoachingCardsResponse.js +13 -0
  55. package/dist/typescript/model/SaveCoachingCardRequest.d.ts +19 -0
  56. package/dist/typescript/model/SaveCoachingCardRequest.js +13 -0
  57. package/dist/typescript/model/SaveCoachingCardUserRequest.d.ts +32 -0
  58. package/dist/typescript/model/SaveCoachingCardUserRequest.js +24 -0
  59. package/dist/typescript/model/SaveDriverLicensePictureRequest.d.ts +16 -0
  60. package/dist/typescript/model/SaveDriverLicensePictureRequest.js +13 -0
  61. package/dist/typescript/model/SaveDriverLicenseRequest.d.ts +28 -0
  62. package/dist/typescript/model/SaveDriverLicenseRequest.js +13 -0
  63. package/dist/typescript/model/UpdateCoachingCardRequest.d.ts +26 -0
  64. package/dist/typescript/model/UpdateCoachingCardRequest.js +24 -0
  65. package/dist/typescript/model/UserAssetModel.d.ts +18 -0
  66. package/dist/typescript/model/UserAssetModel.js +13 -0
  67. package/dist/typescript/model/models.d.ts +16 -0
  68. package/dist/typescript/model/models.js +16 -0
  69. 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
@@ -45,6 +46,7 @@ api/dashboardController.service.ts
45
46
  api/directMailController.service.ts
46
47
  api/dripController.service.ts
47
48
  api/dripWebhooksController.service.ts
49
+ api/driverLicenseController.service.ts
48
50
  api/emailSubscriptionController.service.ts
49
51
  api/externalContentVoteController.service.ts
50
52
  api/externalTicketLookupController.service.ts
@@ -240,6 +242,12 @@ model/citationsResponseModel.ts
240
242
  model/clientActionRequiredRequest.ts
241
243
  model/clientConfirmedUnpaidCase.ts
242
244
  model/clientLeadDomain.ts
245
+ model/coachingCardCategoriesModel.ts
246
+ model/coachingCardEntity.ts
247
+ model/coachingCardSubcategoriesModel.ts
248
+ model/coachingCardUsersModel.ts
249
+ model/coachingCardsModel.ts
250
+ model/coachingLinks.ts
243
251
  model/commonHeader.ts
244
252
  model/confidenceField.ts
245
253
  model/contactTimelineResponse.ts
@@ -313,6 +321,7 @@ model/documentDecisionRequest.ts
313
321
  model/dripRemoveRequest.ts
314
322
  model/dripWebhookData.ts
315
323
  model/dripWebhookEvent.ts
324
+ model/driverLicenseModel.ts
316
325
  model/duration.ts
317
326
  model/editConversationMessageRequest.ts
318
327
  model/enableViolationModel.ts
@@ -385,6 +394,7 @@ model/getCitationsWithMissingFieldsRequest.ts
385
394
  model/getCitationsWithMissingFieldsResponse.ts
386
395
  model/getClientCasesResponse.ts
387
396
  model/getClientConfirmedUnpaidCasesResponse.ts
397
+ model/getCoachingCardCategoriesResponse.ts
388
398
  model/getCompetitionResponseModel.ts
389
399
  model/getCountOfMatchingUsersRequest.ts
390
400
  model/getCountOfMatchingUsersResponse.ts
@@ -403,6 +413,7 @@ model/getCustomerServiceAgentsResponse.ts
403
413
  model/getDeclinedCasesRequest.ts
404
414
  model/getDeclinedCasesResponse.ts
405
415
  model/getDocumentsRequest.ts
416
+ model/getDriverLicensesResponse.ts
406
417
  model/getEmailTemplateResponse.ts
407
418
  model/getExternalContentUserVotesResponse.ts
408
419
  model/getExternalTicketInputParamsResponse.ts
@@ -564,6 +575,7 @@ model/listReviewsResponse.ts
564
575
  model/listSubscriptionInvoicesResponse.ts
565
576
  model/listUserAuditEventsByCursorResponse.ts
566
577
  model/listUserAuditEventsCursorModel.ts
578
+ model/listUserCoachingCardsResponse.ts
567
579
  model/listUserWatchlistsResponse.ts
568
580
  model/listViolationClassificationResponse.ts
569
581
  model/lobEvent.ts
@@ -669,6 +681,10 @@ model/saveAgentBookingRequest.ts
669
681
  model/saveAgentBookingResponse.ts
670
682
  model/saveCaseNotesRequest.ts
671
683
  model/saveCaseUserRequest.ts
684
+ model/saveCoachingCardRequest.ts
685
+ model/saveCoachingCardUserRequest.ts
686
+ model/saveDriverLicensePictureRequest.ts
687
+ model/saveDriverLicenseRequest.ts
672
688
  model/saveExternalContentVoteRequest.ts
673
689
  model/saveItemToWatchlistRequest.ts
674
690
  model/saveLawfirmSurchargeModel.ts
@@ -772,6 +788,7 @@ model/updateCasePaymentRequest.ts
772
788
  model/updateCitationAddressRequest.ts
773
789
  model/updateCitationPictureRequest.ts
774
790
  model/updateCitationRequest.ts
791
+ model/updateCoachingCardRequest.ts
775
792
  model/updateCourtRequest.ts
776
793
  model/updateDisputeRequest.ts
777
794
  model/updateInvoiceLineItemRequest.ts
@@ -803,6 +820,7 @@ model/updateViolationRequest.ts
803
820
  model/upsertAddressRequest.ts
804
821
  model/user.ts
805
822
  model/userAccountModel.ts
823
+ model/userAssetModel.ts
806
824
  model/userAuditEventModel.ts
807
825
  model/userBookingsDomain.ts
808
826
  model/userDetails.ts
@@ -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';
@@ -84,6 +86,8 @@ export * from './dripController.service';
84
86
  import { DripControllerService } from './dripController.service';
85
87
  export * from './dripWebhooksController.service';
86
88
  import { DripWebhooksControllerService } from './dripWebhooksController.service';
89
+ export * from './driverLicenseController.service';
90
+ import { DriverLicenseControllerService } from './driverLicenseController.service';
87
91
  export * from './emailSubscriptionController.service';
88
92
  import { EmailSubscriptionControllerService } from './emailSubscriptionController.service';
89
93
  export * from './externalContentVoteController.service';
@@ -216,4 +220,4 @@ export * from './websocketMessageController.service';
216
220
  import { WebsocketMessageControllerService } from './websocketMessageController.service';
217
221
  export * from './workflowStateController.service';
218
222
  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];
223
+ 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, DriverLicenseControllerService, 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');