@otr-app/shared-backend-generated-client 2.3.124 → 2.3.125

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 (50) hide show
  1. package/dist/angular/.openapi-generator/FILES +7 -2
  2. package/dist/angular/api/api.ts +3 -3
  3. package/dist/angular/api/watchlistsController.service.ts +243 -0
  4. package/dist/angular/api.module.ts +1 -1
  5. package/dist/angular/model/addressEntity.ts +47 -0
  6. package/dist/angular/model/caseItem.ts +65 -0
  7. package/dist/angular/model/countyEntity.ts +76 -0
  8. package/dist/angular/model/courtEntity.ts +42 -0
  9. package/dist/angular/model/lawfirmItem.ts +78 -0
  10. package/dist/angular/model/listUserWatchlistsResponse.ts +3 -2
  11. package/dist/angular/model/models.ts +6 -1
  12. package/dist/angular/model/userItem.ts +20 -0
  13. package/dist/angular/model/watchlistItemsModel.ts +13 -1
  14. package/dist/otrBackendService.js +5 -0
  15. package/dist/otrBackendService.min.js +1 -1
  16. package/dist/typescript/api/WatchlistsControllerApi.d.ts +37 -0
  17. package/dist/typescript/api/WatchlistsControllerApi.js +97 -0
  18. package/dist/typescript/api/WatchlistsControllerApi.ts +109 -0
  19. package/dist/typescript/api/api.d.ts +3 -3
  20. package/dist/typescript/api/api.js +3 -3
  21. package/dist/typescript/api/api.ts +3 -3
  22. package/dist/typescript/api.module.js +1 -1
  23. package/dist/typescript/api.module.ts +1 -1
  24. package/dist/typescript/model/AddressEntity.d.ts +42 -0
  25. package/dist/typescript/model/AddressEntity.js +30 -0
  26. package/dist/typescript/model/AddressEntity.ts +45 -0
  27. package/dist/typescript/model/CaseItem.d.ts +60 -0
  28. package/dist/typescript/model/CaseItem.js +57 -0
  29. package/dist/typescript/model/CaseItem.ts +63 -0
  30. package/dist/typescript/model/CountyEntity.d.ts +71 -0
  31. package/dist/typescript/model/CountyEntity.js +71 -0
  32. package/dist/typescript/model/CountyEntity.ts +75 -0
  33. package/dist/typescript/model/CourtEntity.d.ts +36 -0
  34. package/dist/typescript/model/CourtEntity.js +28 -0
  35. package/dist/typescript/model/CourtEntity.ts +39 -0
  36. package/dist/typescript/model/LawfirmItem.d.ts +73 -0
  37. package/dist/typescript/model/LawfirmItem.js +71 -0
  38. package/dist/typescript/model/LawfirmItem.ts +77 -0
  39. package/dist/typescript/model/ListUserWatchlistsResponse.d.ts +2 -1
  40. package/dist/typescript/model/ListUserWatchlistsResponse.ts +2 -1
  41. package/dist/typescript/model/UserItem.d.ts +17 -0
  42. package/dist/typescript/model/UserItem.js +13 -0
  43. package/dist/typescript/model/UserItem.ts +21 -0
  44. package/dist/typescript/model/WatchlistItemsModel.d.ts +10 -1
  45. package/dist/typescript/model/WatchlistItemsModel.js +6 -0
  46. package/dist/typescript/model/WatchlistItemsModel.ts +9 -1
  47. package/dist/typescript/model/models.d.ts +6 -1
  48. package/dist/typescript/model/models.js +6 -1
  49. package/dist/typescript/model/models.ts +6 -1
  50. package/package.json +1 -1
@@ -102,7 +102,7 @@ api/validationController.service.ts
102
102
  api/verificationController.service.ts
103
103
  api/violationController.service.ts
104
104
  api/violationPenaltyController.service.ts
105
- api/watchlistController.service.ts
105
+ api/watchlistsController.service.ts
106
106
  api/websocketMessageController.service.ts
107
107
  api/workflowStateController.service.ts
108
108
  configuration.ts
@@ -138,6 +138,7 @@ model/addViolationsToCitationRequest.ts
138
138
  model/addressDomain.ts
139
139
  model/addressDomainReq.ts
140
140
  model/addressDomainRes.ts
141
+ model/addressEntity.ts
141
142
  model/agentBookingStats.ts
142
143
  model/agentBookingsSummary.ts
143
144
  model/aggregateBySource.ts
@@ -185,6 +186,7 @@ model/caseAlert.ts
185
186
  model/caseBookingsStats.ts
186
187
  model/caseChargeResponsePojo.ts
187
188
  model/caseCreationRequest.ts
189
+ model/caseItem.ts
188
190
  model/caseLineItemDomainReq.ts
189
191
  model/caseLineItemDomainRes.ts
190
192
  model/caseLineItemsSummary.ts
@@ -230,12 +232,14 @@ model/convertPdfToImageResponse.ts
230
232
  model/countryDomain.ts
231
233
  model/countryRegion.ts
232
234
  model/countyDomain.ts
235
+ model/countyEntity.ts
233
236
  model/courtCoverageCountyRecord.ts
234
237
  model/courtCoverageRecord.ts
235
238
  model/courtCoverageStateRecord.ts
236
239
  model/courtDomain.ts
237
240
  model/courtDomainReq.ts
238
241
  model/courtDomainRes.ts
242
+ model/courtEntity.ts
239
243
  model/courtInputRequest.ts
240
244
  model/courtResponseModel.ts
241
245
  model/coverageToRemove.ts
@@ -479,6 +483,7 @@ model/lawfirmDocumentTemplate.ts
479
483
  model/lawfirmDocumentTemplateResponse.ts
480
484
  model/lawfirmFeeDomain.ts
481
485
  model/lawfirmInboxMessageDomain.ts
486
+ model/lawfirmItem.ts
482
487
  model/lawfirmLeadDomain.ts
483
488
  model/lawfirmPayoutDomain.ts
484
489
  model/lawfirmPictureRequest.ts
@@ -760,6 +765,7 @@ model/userDetails.ts
760
765
  model/userDomain.ts
761
766
  model/userDomainReq.ts
762
767
  model/userDomainRes.ts
768
+ model/userItem.ts
763
769
  model/userRefLinkDomain.ts
764
770
  model/userReferralSourceTypeModel.ts
765
771
  model/userRegistrationStats.ts
@@ -769,7 +775,6 @@ model/userSubscriptionPlanModelReq.ts
769
775
  model/userSubscriptionPlanModelRes.ts
770
776
  model/userToContact.ts
771
777
  model/userWatchlistsModel.ts
772
- model/userWatchlistsResponseModel.ts
773
778
  model/validateDirectMailRequest.ts
774
779
  model/validateDirectMailResponse.ts
775
780
  model/validateUserEmailResponse.ts
@@ -198,10 +198,10 @@ export * from './violationController.service';
198
198
  import { ViolationControllerService } from './violationController.service';
199
199
  export * from './violationPenaltyController.service';
200
200
  import { ViolationPenaltyControllerService } from './violationPenaltyController.service';
201
- export * from './watchlistController.service';
202
- import { WatchlistControllerService } from './watchlistController.service';
201
+ export * from './watchlistsController.service';
202
+ import { WatchlistsControllerService } from './watchlistsController.service';
203
203
  export * from './websocketMessageController.service';
204
204
  import { WebsocketMessageControllerService } from './websocketMessageController.service';
205
205
  export * from './workflowStateController.service';
206
206
  import { WorkflowStateControllerService } from './workflowStateController.service';
207
- export const APIS = [ActionRequiredControllerService, ActivityFeedControllerService, AddressControllerService, AlertNotificationControllerService, AppEventsControllerService, AuditLawfirmEventsControllerService, AuthenticationControllerService, AwsCredentialsControllerService, BlogWebhookControllerService, BranchLinkControllerService, CaseActionsControllerService, CaseControllerService, CaseCreationControllerService, 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, ExternalTicketLookupControllerService, FeedbackControllerService, FreshcallerControllerService, FreshdeskTicketControllerService, GetCaseControllerService, HouseholdMateControllerService, 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, WatchlistControllerService, WebsocketMessageControllerService, WorkflowStateControllerService];
207
+ export const APIS = [ActionRequiredControllerService, ActivityFeedControllerService, AddressControllerService, AlertNotificationControllerService, AppEventsControllerService, AuditLawfirmEventsControllerService, AuthenticationControllerService, AwsCredentialsControllerService, BlogWebhookControllerService, BranchLinkControllerService, CaseActionsControllerService, CaseControllerService, CaseCreationControllerService, 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, ExternalTicketLookupControllerService, FeedbackControllerService, FreshcallerControllerService, FreshdeskTicketControllerService, GetCaseControllerService, HouseholdMateControllerService, 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,243 @@
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 { ListUserWatchlistsResponse } from '../model/listUserWatchlistsResponse';
23
+ // @ts-ignore
24
+ import { SaveUserWatchlistsRequest } from '../model/saveUserWatchlistsRequest';
25
+
26
+ // @ts-ignore
27
+ import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
28
+ import { Configuration } from '../configuration';
29
+
30
+
31
+
32
+ @Injectable({
33
+ providedIn: 'root'
34
+ })
35
+ export class WatchlistsControllerService {
36
+
37
+ protected basePath = 'http://otr-backend-service-us-devo.offtherecord.com';
38
+ public defaultHeaders = new HttpHeaders();
39
+ public configuration = new Configuration();
40
+ public encoder: HttpParameterCodec;
41
+
42
+ constructor(protected httpClient: HttpClient, @Optional()@Inject(BASE_PATH) basePath: string|string[], @Optional() configuration: Configuration) {
43
+ if (configuration) {
44
+ this.configuration = configuration;
45
+ }
46
+ if (typeof this.configuration.basePath !== 'string') {
47
+ if (Array.isArray(basePath) && basePath.length > 0) {
48
+ basePath = basePath[0];
49
+ }
50
+
51
+ if (typeof basePath !== 'string') {
52
+ basePath = this.basePath;
53
+ }
54
+ this.configuration.basePath = basePath;
55
+ }
56
+ this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
57
+ }
58
+
59
+
60
+ // @ts-ignore
61
+ private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {
62
+ if (typeof value === "object" && value instanceof Date === false) {
63
+ httpParams = this.addToHttpParamsRecursive(httpParams, value);
64
+ } else {
65
+ httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
66
+ }
67
+ return httpParams;
68
+ }
69
+
70
+ private addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string): HttpParams {
71
+ if (value == null) {
72
+ return httpParams;
73
+ }
74
+
75
+ if (typeof value === "object") {
76
+ if (Array.isArray(value)) {
77
+ (value as any[]).forEach( elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
78
+ } else if (value instanceof Date) {
79
+ if (key != null) {
80
+ httpParams = httpParams.append(key, (value as Date).toISOString().substr(0, 10));
81
+ } else {
82
+ throw Error("key may not be null if value is Date");
83
+ }
84
+ } else {
85
+ Object.keys(value).forEach( k => httpParams = this.addToHttpParamsRecursive(
86
+ httpParams, value[k], key != null ? `${key}.${k}` : k));
87
+ }
88
+ } else if (key != null) {
89
+ httpParams = httpParams.append(key, value);
90
+ } else {
91
+ throw Error("key may not be null if value is not object or array");
92
+ }
93
+ return httpParams;
94
+ }
95
+
96
+ /**
97
+ * listUserWatchlists
98
+ * @param userId userId
99
+ * @param isArchived isArchived
100
+ * @param isDeleted isDeleted
101
+ * @param watchlistId watchlistId
102
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
103
+ * @param reportProgress flag to report request and response progress.
104
+ */
105
+ public listUserWatchlistsUsingGET(userId: number, isArchived?: boolean, isDeleted?: boolean, watchlistId?: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<ListUserWatchlistsResponse>;
106
+ public listUserWatchlistsUsingGET(userId: number, isArchived?: boolean, isDeleted?: boolean, watchlistId?: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<ListUserWatchlistsResponse>>;
107
+ public listUserWatchlistsUsingGET(userId: number, isArchived?: boolean, isDeleted?: boolean, watchlistId?: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<ListUserWatchlistsResponse>>;
108
+ public listUserWatchlistsUsingGET(userId: number, isArchived?: boolean, isDeleted?: boolean, watchlistId?: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
109
+ if (userId === null || userId === undefined) {
110
+ throw new Error('Required parameter userId was null or undefined when calling listUserWatchlistsUsingGET.');
111
+ }
112
+
113
+ let localVarQueryParameters = new HttpParams({encoder: this.encoder});
114
+ if (isArchived !== undefined && isArchived !== null) {
115
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
116
+ <any>isArchived, 'isArchived');
117
+ }
118
+ if (isDeleted !== undefined && isDeleted !== null) {
119
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
120
+ <any>isDeleted, 'isDeleted');
121
+ }
122
+ if (watchlistId !== undefined && watchlistId !== null) {
123
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
124
+ <any>watchlistId, 'watchlistId');
125
+ }
126
+
127
+ let localVarHeaders = this.defaultHeaders;
128
+
129
+ let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
130
+ if (localVarHttpHeaderAcceptSelected === undefined) {
131
+ // to determine the Accept header
132
+ const httpHeaderAccepts: string[] = [
133
+ '*/*'
134
+ ];
135
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
136
+ }
137
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
138
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
139
+ }
140
+
141
+ let localVarHttpContext: HttpContext | undefined = options && options.context;
142
+ if (localVarHttpContext === undefined) {
143
+ localVarHttpContext = new HttpContext();
144
+ }
145
+
146
+
147
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
148
+ if (localVarHttpHeaderAcceptSelected) {
149
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
150
+ responseType_ = 'text';
151
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
152
+ responseType_ = 'json';
153
+ } else {
154
+ responseType_ = 'blob';
155
+ }
156
+ }
157
+
158
+ let localVarPath = `/api/v1/watchlists/${this.configuration.encodeParam({name: "userId", value: userId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64"})}/lists`;
159
+ return this.httpClient.request<ListUserWatchlistsResponse>('get', `${this.configuration.basePath}${localVarPath}`,
160
+ {
161
+ context: localVarHttpContext,
162
+ params: localVarQueryParameters,
163
+ responseType: <any>responseType_,
164
+ withCredentials: this.configuration.withCredentials,
165
+ headers: localVarHeaders,
166
+ observe: observe,
167
+ reportProgress: reportProgress
168
+ }
169
+ );
170
+ }
171
+
172
+ /**
173
+ * saveUserWatchlists
174
+ * @param userId userId
175
+ * @param request request
176
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
177
+ * @param reportProgress flag to report request and response progress.
178
+ */
179
+ public saveUserWatchlistsUsingPOST(userId: number, request: SaveUserWatchlistsRequest, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<any>;
180
+ public saveUserWatchlistsUsingPOST(userId: number, request: SaveUserWatchlistsRequest, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<HttpResponse<any>>;
181
+ public saveUserWatchlistsUsingPOST(userId: number, request: SaveUserWatchlistsRequest, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<HttpEvent<any>>;
182
+ public saveUserWatchlistsUsingPOST(userId: number, request: SaveUserWatchlistsRequest, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<any> {
183
+ if (userId === null || userId === undefined) {
184
+ throw new Error('Required parameter userId was null or undefined when calling saveUserWatchlistsUsingPOST.');
185
+ }
186
+ if (request === null || request === undefined) {
187
+ throw new Error('Required parameter request was null or undefined when calling saveUserWatchlistsUsingPOST.');
188
+ }
189
+
190
+ let localVarHeaders = this.defaultHeaders;
191
+
192
+ let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
193
+ if (localVarHttpHeaderAcceptSelected === undefined) {
194
+ // to determine the Accept header
195
+ const httpHeaderAccepts: string[] = [
196
+ ];
197
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
198
+ }
199
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
200
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
201
+ }
202
+
203
+ let localVarHttpContext: HttpContext | undefined = options && options.context;
204
+ if (localVarHttpContext === undefined) {
205
+ localVarHttpContext = new HttpContext();
206
+ }
207
+
208
+
209
+ // to determine the Content-Type header
210
+ const consumes: string[] = [
211
+ 'application/json'
212
+ ];
213
+ const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
214
+ if (httpContentTypeSelected !== undefined) {
215
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
216
+ }
217
+
218
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
219
+ if (localVarHttpHeaderAcceptSelected) {
220
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
221
+ responseType_ = 'text';
222
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
223
+ responseType_ = 'json';
224
+ } else {
225
+ responseType_ = 'blob';
226
+ }
227
+ }
228
+
229
+ let localVarPath = `/api/v1/watchlists/${this.configuration.encodeParam({name: "userId", value: userId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64"})}/lists`;
230
+ return this.httpClient.request<any>('post', `${this.configuration.basePath}${localVarPath}`,
231
+ {
232
+ context: localVarHttpContext,
233
+ body: request,
234
+ responseType: <any>responseType_,
235
+ withCredentials: this.configuration.withCredentials,
236
+ headers: localVarHeaders,
237
+ observe: observe,
238
+ reportProgress: reportProgress
239
+ }
240
+ );
241
+ }
242
+
243
+ }
@@ -102,7 +102,7 @@ import { ValidationControllerService } from './api/validationController.service'
102
102
  import { VerificationControllerService } from './api/verificationController.service';
103
103
  import { ViolationControllerService } from './api/violationController.service';
104
104
  import { ViolationPenaltyControllerService } from './api/violationPenaltyController.service';
105
- import { WatchlistControllerService } from './api/watchlistController.service';
105
+ import { WatchlistsControllerService } from './api/watchlistsController.service';
106
106
  import { WebsocketMessageControllerService } from './api/websocketMessageController.service';
107
107
  import { WorkflowStateControllerService } from './api/workflowStateController.service';
108
108
 
@@ -0,0 +1,47 @@
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 { CountryRegion } from './countryRegion';
13
+
14
+
15
+ export interface AddressEntity {
16
+ addressId?: number;
17
+ addressLine1?: string;
18
+ addressLine2?: string;
19
+ city?: string;
20
+ cityRegion?: string;
21
+ countryCode?: string;
22
+ countryRegion?: CountryRegion;
23
+ entityType?: AddressEntity.EntityTypeEnum;
24
+ fullAddress?: string;
25
+ phoneNumber?: string;
26
+ postalCode?: string;
27
+ referenceId?: number;
28
+ regionCode?: string;
29
+ timeZoneName?: string;
30
+ }
31
+ export namespace AddressEntity {
32
+ export type EntityTypeEnum = 'CASE' | 'CASE_PAYMENT' | 'CITATION' | 'COURT' | 'LAWFIRM' | 'LAWFIRM_CASE' | 'LAWYER' | 'LINE_ITEM' | 'STRIPE_CHARGE' | 'USER';
33
+ export const EntityTypeEnum = {
34
+ Case: 'CASE' as EntityTypeEnum,
35
+ CasePayment: 'CASE_PAYMENT' as EntityTypeEnum,
36
+ Citation: 'CITATION' as EntityTypeEnum,
37
+ Court: 'COURT' as EntityTypeEnum,
38
+ Lawfirm: 'LAWFIRM' as EntityTypeEnum,
39
+ LawfirmCase: 'LAWFIRM_CASE' as EntityTypeEnum,
40
+ Lawyer: 'LAWYER' as EntityTypeEnum,
41
+ LineItem: 'LINE_ITEM' as EntityTypeEnum,
42
+ StripeCharge: 'STRIPE_CHARGE' as EntityTypeEnum,
43
+ User: 'USER' as EntityTypeEnum
44
+ };
45
+ }
46
+
47
+
@@ -0,0 +1,65 @@
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 { CourtEntity } from './courtEntity';
13
+
14
+
15
+ export interface CaseItem {
16
+ caseId?: string;
17
+ caseStatus?: CaseItem.CaseStatusEnum;
18
+ court?: CourtEntity;
19
+ lawfirmName?: string;
20
+ profilePictureUrl?: string;
21
+ }
22
+ export namespace CaseItem {
23
+ export type CaseStatusEnum = 'AMENDED_DOWN_WITHIN_CLASS' | 'AMENDED_FULL_FINE' | 'AMENDED_INCREASED_FINE' | 'AMENDED_NO_FINE' | 'AMENDED_REDUCED_FINE' | 'AMENDED_TO_INFRACTION' | 'AMENDED_TO_NMV' | 'CANCELLED_ATTORNEY_AT_FAULT' | 'CANCELLED_BY_LAWFIRM' | 'CANCELLED_BY_USER' | 'CANCELLED_DUPLICATE' | 'CANCELLED_NMV' | 'CANCELLED_NON_PAYMENT' | 'CANCELLED_NO_LAWFIRM' | 'CANCELLED_OVERDUE' | 'CANCELLED_TOO_SHORT_NOTICE' | 'CASE_IN_PROGRESS' | 'CLIENT_CONFIRMED' | 'CLIENT_CONFIRMED_UNPAID' | 'CLIENT_FIRED_LAWFIRM' | 'CLIENT_FORCED_LOSS' | 'CLIENT_PAID_FINE' | 'CLIENT_UNRESPONSIVE' | 'DEFERRED' | 'DISMISSED' | 'DIVERSION' | 'FEES_DISPUTED' | 'FINE_REDUCTION_ONLY' | 'LAWFIRM_WITHDRAWN' | 'LOST' | 'NO_LAWFIRM_AVAILABLE' | 'POINT_REDUCTION' | 'REFUSED_BY_LAWFIRM' | 'RESOLVED_NON_PAYMENT' | 'STALE' | 'TRAFFIC_SCHOOL' | 'UNCONFIRMED';
24
+ export const CaseStatusEnum = {
25
+ AmendedDownWithinClass: 'AMENDED_DOWN_WITHIN_CLASS' as CaseStatusEnum,
26
+ AmendedFullFine: 'AMENDED_FULL_FINE' as CaseStatusEnum,
27
+ AmendedIncreasedFine: 'AMENDED_INCREASED_FINE' as CaseStatusEnum,
28
+ AmendedNoFine: 'AMENDED_NO_FINE' as CaseStatusEnum,
29
+ AmendedReducedFine: 'AMENDED_REDUCED_FINE' as CaseStatusEnum,
30
+ AmendedToInfraction: 'AMENDED_TO_INFRACTION' as CaseStatusEnum,
31
+ AmendedToNmv: 'AMENDED_TO_NMV' as CaseStatusEnum,
32
+ CancelledAttorneyAtFault: 'CANCELLED_ATTORNEY_AT_FAULT' as CaseStatusEnum,
33
+ CancelledByLawfirm: 'CANCELLED_BY_LAWFIRM' as CaseStatusEnum,
34
+ CancelledByUser: 'CANCELLED_BY_USER' as CaseStatusEnum,
35
+ CancelledDuplicate: 'CANCELLED_DUPLICATE' as CaseStatusEnum,
36
+ CancelledNmv: 'CANCELLED_NMV' as CaseStatusEnum,
37
+ CancelledNonPayment: 'CANCELLED_NON_PAYMENT' as CaseStatusEnum,
38
+ CancelledNoLawfirm: 'CANCELLED_NO_LAWFIRM' as CaseStatusEnum,
39
+ CancelledOverdue: 'CANCELLED_OVERDUE' as CaseStatusEnum,
40
+ CancelledTooShortNotice: 'CANCELLED_TOO_SHORT_NOTICE' as CaseStatusEnum,
41
+ CaseInProgress: 'CASE_IN_PROGRESS' as CaseStatusEnum,
42
+ ClientConfirmed: 'CLIENT_CONFIRMED' as CaseStatusEnum,
43
+ ClientConfirmedUnpaid: 'CLIENT_CONFIRMED_UNPAID' as CaseStatusEnum,
44
+ ClientFiredLawfirm: 'CLIENT_FIRED_LAWFIRM' as CaseStatusEnum,
45
+ ClientForcedLoss: 'CLIENT_FORCED_LOSS' as CaseStatusEnum,
46
+ ClientPaidFine: 'CLIENT_PAID_FINE' as CaseStatusEnum,
47
+ ClientUnresponsive: 'CLIENT_UNRESPONSIVE' as CaseStatusEnum,
48
+ Deferred: 'DEFERRED' as CaseStatusEnum,
49
+ Dismissed: 'DISMISSED' as CaseStatusEnum,
50
+ Diversion: 'DIVERSION' as CaseStatusEnum,
51
+ FeesDisputed: 'FEES_DISPUTED' as CaseStatusEnum,
52
+ FineReductionOnly: 'FINE_REDUCTION_ONLY' as CaseStatusEnum,
53
+ LawfirmWithdrawn: 'LAWFIRM_WITHDRAWN' as CaseStatusEnum,
54
+ Lost: 'LOST' as CaseStatusEnum,
55
+ NoLawfirmAvailable: 'NO_LAWFIRM_AVAILABLE' as CaseStatusEnum,
56
+ PointReduction: 'POINT_REDUCTION' as CaseStatusEnum,
57
+ RefusedByLawfirm: 'REFUSED_BY_LAWFIRM' as CaseStatusEnum,
58
+ ResolvedNonPayment: 'RESOLVED_NON_PAYMENT' as CaseStatusEnum,
59
+ Stale: 'STALE' as CaseStatusEnum,
60
+ TrafficSchool: 'TRAFFIC_SCHOOL' as CaseStatusEnum,
61
+ Unconfirmed: 'UNCONFIRMED' as CaseStatusEnum
62
+ };
63
+ }
64
+
65
+
@@ -0,0 +1,76 @@
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 CountyEntity {
15
+ countyId?: number;
16
+ countyName?: string;
17
+ state?: CountyEntity.StateEnum;
18
+ }
19
+ export namespace CountyEntity {
20
+ export type StateEnum = 'AK' | 'AL' | 'AR' | 'AZ' | 'CA' | 'CO' | 'CT' | 'DC' | 'DE' | 'FL' | 'GA' | 'HI' | 'IA' | 'ID' | 'IL' | 'IN' | 'KS' | 'KY' | 'LA' | 'MA' | 'MD' | 'ME' | 'MI' | 'MN' | 'MO' | 'MS' | 'MT' | 'NC' | 'ND' | 'NE' | 'NH' | 'NJ' | 'NM' | 'NV' | 'NY' | 'OH' | 'OK' | 'OR' | 'PA' | 'RI' | 'SC' | 'SD' | 'TN' | 'TX' | 'UT' | 'VA' | 'VT' | 'WA' | 'WI' | 'WV' | 'WY';
21
+ export const StateEnum = {
22
+ Ak: 'AK' as StateEnum,
23
+ Al: 'AL' as StateEnum,
24
+ Ar: 'AR' as StateEnum,
25
+ Az: 'AZ' as StateEnum,
26
+ Ca: 'CA' as StateEnum,
27
+ Co: 'CO' as StateEnum,
28
+ Ct: 'CT' as StateEnum,
29
+ Dc: 'DC' as StateEnum,
30
+ De: 'DE' as StateEnum,
31
+ Fl: 'FL' as StateEnum,
32
+ Ga: 'GA' as StateEnum,
33
+ Hi: 'HI' as StateEnum,
34
+ Ia: 'IA' as StateEnum,
35
+ Id: 'ID' as StateEnum,
36
+ Il: 'IL' as StateEnum,
37
+ In: 'IN' as StateEnum,
38
+ Ks: 'KS' as StateEnum,
39
+ Ky: 'KY' as StateEnum,
40
+ La: 'LA' as StateEnum,
41
+ Ma: 'MA' as StateEnum,
42
+ Md: 'MD' as StateEnum,
43
+ Me: 'ME' as StateEnum,
44
+ Mi: 'MI' as StateEnum,
45
+ Mn: 'MN' as StateEnum,
46
+ Mo: 'MO' as StateEnum,
47
+ Ms: 'MS' as StateEnum,
48
+ Mt: 'MT' as StateEnum,
49
+ Nc: 'NC' as StateEnum,
50
+ Nd: 'ND' as StateEnum,
51
+ Ne: 'NE' as StateEnum,
52
+ Nh: 'NH' as StateEnum,
53
+ Nj: 'NJ' as StateEnum,
54
+ Nm: 'NM' as StateEnum,
55
+ Nv: 'NV' as StateEnum,
56
+ Ny: 'NY' as StateEnum,
57
+ Oh: 'OH' as StateEnum,
58
+ Ok: 'OK' as StateEnum,
59
+ Or: 'OR' as StateEnum,
60
+ Pa: 'PA' as StateEnum,
61
+ Ri: 'RI' as StateEnum,
62
+ Sc: 'SC' as StateEnum,
63
+ Sd: 'SD' as StateEnum,
64
+ Tn: 'TN' as StateEnum,
65
+ Tx: 'TX' as StateEnum,
66
+ Ut: 'UT' as StateEnum,
67
+ Va: 'VA' as StateEnum,
68
+ Vt: 'VT' as StateEnum,
69
+ Wa: 'WA' as StateEnum,
70
+ Wi: 'WI' as StateEnum,
71
+ Wv: 'WV' as StateEnum,
72
+ Wy: 'WY' as StateEnum
73
+ };
74
+ }
75
+
76
+
@@ -0,0 +1,42 @@
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 { CountyEntity } from './countyEntity';
13
+ import { AddressEntity } from './addressEntity';
14
+
15
+
16
+ export interface CourtEntity {
17
+ address?: AddressEntity;
18
+ county?: CountyEntity;
19
+ courtCode?: string;
20
+ courtId?: number;
21
+ courtName?: string;
22
+ courtNameAdditional?: string;
23
+ courtType?: CourtEntity.CourtTypeEnum;
24
+ lookupCaseInfoLink?: string;
25
+ otrTargetFee?: number;
26
+ website?: string;
27
+ }
28
+ export namespace CourtEntity {
29
+ export type CourtTypeEnum = 'CIRCUIT' | 'COUNTY_CLERK' | 'DISTRICT' | 'JUVENILE' | 'MUNICIPAL' | 'PROBATION' | 'SUPERIOR' | 'VIOLATIONS_BUREAU';
30
+ export const CourtTypeEnum = {
31
+ Circuit: 'CIRCUIT' as CourtTypeEnum,
32
+ CountyClerk: 'COUNTY_CLERK' as CourtTypeEnum,
33
+ District: 'DISTRICT' as CourtTypeEnum,
34
+ Juvenile: 'JUVENILE' as CourtTypeEnum,
35
+ Municipal: 'MUNICIPAL' as CourtTypeEnum,
36
+ Probation: 'PROBATION' as CourtTypeEnum,
37
+ Superior: 'SUPERIOR' as CourtTypeEnum,
38
+ ViolationsBureau: 'VIOLATIONS_BUREAU' as CourtTypeEnum
39
+ };
40
+ }
41
+
42
+
@@ -0,0 +1,78 @@
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 LawfirmItem {
15
+ lawfirmName?: string;
16
+ lawfirmStatus?: string;
17
+ profilePictureUrl?: string;
18
+ statesServed?: Array<LawfirmItem.StatesServedEnum>;
19
+ vacationMode?: boolean;
20
+ }
21
+ export namespace LawfirmItem {
22
+ export type StatesServedEnum = 'AK' | 'AL' | 'AR' | 'AZ' | 'CA' | 'CO' | 'CT' | 'DC' | 'DE' | 'FL' | 'GA' | 'HI' | 'IA' | 'ID' | 'IL' | 'IN' | 'KS' | 'KY' | 'LA' | 'MA' | 'MD' | 'ME' | 'MI' | 'MN' | 'MO' | 'MS' | 'MT' | 'NC' | 'ND' | 'NE' | 'NH' | 'NJ' | 'NM' | 'NV' | 'NY' | 'OH' | 'OK' | 'OR' | 'PA' | 'RI' | 'SC' | 'SD' | 'TN' | 'TX' | 'UT' | 'VA' | 'VT' | 'WA' | 'WI' | 'WV' | 'WY';
23
+ export const StatesServedEnum = {
24
+ Ak: 'AK' as StatesServedEnum,
25
+ Al: 'AL' as StatesServedEnum,
26
+ Ar: 'AR' as StatesServedEnum,
27
+ Az: 'AZ' as StatesServedEnum,
28
+ Ca: 'CA' as StatesServedEnum,
29
+ Co: 'CO' as StatesServedEnum,
30
+ Ct: 'CT' as StatesServedEnum,
31
+ Dc: 'DC' as StatesServedEnum,
32
+ De: 'DE' as StatesServedEnum,
33
+ Fl: 'FL' as StatesServedEnum,
34
+ Ga: 'GA' as StatesServedEnum,
35
+ Hi: 'HI' as StatesServedEnum,
36
+ Ia: 'IA' as StatesServedEnum,
37
+ Id: 'ID' as StatesServedEnum,
38
+ Il: 'IL' as StatesServedEnum,
39
+ In: 'IN' as StatesServedEnum,
40
+ Ks: 'KS' as StatesServedEnum,
41
+ Ky: 'KY' as StatesServedEnum,
42
+ La: 'LA' as StatesServedEnum,
43
+ Ma: 'MA' as StatesServedEnum,
44
+ Md: 'MD' as StatesServedEnum,
45
+ Me: 'ME' as StatesServedEnum,
46
+ Mi: 'MI' as StatesServedEnum,
47
+ Mn: 'MN' as StatesServedEnum,
48
+ Mo: 'MO' as StatesServedEnum,
49
+ Ms: 'MS' as StatesServedEnum,
50
+ Mt: 'MT' as StatesServedEnum,
51
+ Nc: 'NC' as StatesServedEnum,
52
+ Nd: 'ND' as StatesServedEnum,
53
+ Ne: 'NE' as StatesServedEnum,
54
+ Nh: 'NH' as StatesServedEnum,
55
+ Nj: 'NJ' as StatesServedEnum,
56
+ Nm: 'NM' as StatesServedEnum,
57
+ Nv: 'NV' as StatesServedEnum,
58
+ Ny: 'NY' as StatesServedEnum,
59
+ Oh: 'OH' as StatesServedEnum,
60
+ Ok: 'OK' as StatesServedEnum,
61
+ Or: 'OR' as StatesServedEnum,
62
+ Pa: 'PA' as StatesServedEnum,
63
+ Ri: 'RI' as StatesServedEnum,
64
+ Sc: 'SC' as StatesServedEnum,
65
+ Sd: 'SD' as StatesServedEnum,
66
+ Tn: 'TN' as StatesServedEnum,
67
+ Tx: 'TX' as StatesServedEnum,
68
+ Ut: 'UT' as StatesServedEnum,
69
+ Va: 'VA' as StatesServedEnum,
70
+ Vt: 'VT' as StatesServedEnum,
71
+ Wa: 'WA' as StatesServedEnum,
72
+ Wi: 'WI' as StatesServedEnum,
73
+ Wv: 'WV' as StatesServedEnum,
74
+ Wy: 'WY' as StatesServedEnum
75
+ };
76
+ }
77
+
78
+