@otr-app/shared-backend-generated-client 2.3.118 → 2.3.120
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 +7 -0
- package/dist/angular/api/api.ts +3 -1
- package/dist/angular/api/watchlistController.service.ts +238 -0
- package/dist/angular/api.module.ts +1 -0
- package/dist/angular/model/accountLevelFee.ts +1 -0
- package/dist/angular/model/listUserWatchlistsResponse.ts +18 -0
- package/dist/angular/model/models.ts +6 -0
- package/dist/angular/model/saveUserWatchlistsRequest.ts +22 -0
- package/dist/angular/model/userWatchlistsModel.ts +21 -0
- package/dist/angular/model/userWatchlistsResponseModel.ts +19 -0
- package/dist/angular/model/watchlistItemsModel.ts +31 -0
- package/dist/angular/model/watchlistItemsRequest.ts +19 -0
- package/dist/otrBackendService.js +89 -0
- package/dist/otrBackendService.min.js +1 -1
- package/dist/typescript/api/WatchlistControllerApi.d.ts +36 -0
- package/dist/typescript/api/WatchlistControllerApi.js +93 -0
- 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/AccountLevelFee.d.ts +1 -0
- package/dist/typescript/model/ListUserWatchlistsResponse.d.ts +15 -0
- package/dist/typescript/model/ListUserWatchlistsResponse.js +13 -0
- package/dist/typescript/model/SaveUserWatchlistsRequest.d.ts +19 -0
- package/dist/typescript/model/SaveUserWatchlistsRequest.js +13 -0
- package/dist/typescript/model/UserWatchlistsModel.d.ts +18 -0
- package/dist/typescript/model/UserWatchlistsModel.js +13 -0
- package/dist/typescript/model/UserWatchlistsResponseModel.d.ts +16 -0
- package/dist/typescript/model/UserWatchlistsResponseModel.js +13 -0
- package/dist/typescript/model/WatchlistItemsModel.d.ts +26 -0
- package/dist/typescript/model/WatchlistItemsModel.js +23 -0
- package/dist/typescript/model/WatchlistItemsRequest.d.ts +16 -0
- package/dist/typescript/model/WatchlistItemsRequest.js +13 -0
- package/dist/typescript/model/models.d.ts +6 -0
- package/dist/typescript/model/models.js +6 -0
- package/package.json +1 -1
|
@@ -102,6 +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
106
|
api/websocketMessageController.service.ts
|
|
106
107
|
api/workflowStateController.service.ts
|
|
107
108
|
configuration.ts
|
|
@@ -524,6 +525,7 @@ model/listReviewsResponse.ts
|
|
|
524
525
|
model/listSubscriptionInvoicesResponse.ts
|
|
525
526
|
model/listUserAuditEventsByCursorResponse.ts
|
|
526
527
|
model/listUserAuditEventsCursorModel.ts
|
|
528
|
+
model/listUserWatchlistsResponse.ts
|
|
527
529
|
model/listViolationClassificationResponse.ts
|
|
528
530
|
model/lobEvent.ts
|
|
529
531
|
model/lobEventRequest.ts
|
|
@@ -630,6 +632,7 @@ model/saveLawyerLicenseModel.ts
|
|
|
630
632
|
model/saveLawyerLicensesRequest.ts
|
|
631
633
|
model/saveLawyerRequest.ts
|
|
632
634
|
model/saveNotesRequest.ts
|
|
635
|
+
model/saveUserWatchlistsRequest.ts
|
|
633
636
|
model/scheduleNewPaymentRequest.ts
|
|
634
637
|
model/scheduledTaskGetResponse.ts
|
|
635
638
|
model/scheduledTaskResponse.ts
|
|
@@ -765,6 +768,8 @@ model/userSubscriptionPlanModel.ts
|
|
|
765
768
|
model/userSubscriptionPlanModelReq.ts
|
|
766
769
|
model/userSubscriptionPlanModelRes.ts
|
|
767
770
|
model/userToContact.ts
|
|
771
|
+
model/userWatchlistsModel.ts
|
|
772
|
+
model/userWatchlistsResponseModel.ts
|
|
768
773
|
model/validateDirectMailRequest.ts
|
|
769
774
|
model/validateDirectMailResponse.ts
|
|
770
775
|
model/validateUserEmailResponse.ts
|
|
@@ -780,6 +785,8 @@ model/violationModel.ts
|
|
|
780
785
|
model/violationPenaltyModel.ts
|
|
781
786
|
model/violationPenaltyResponse.ts
|
|
782
787
|
model/violationResponse.ts
|
|
788
|
+
model/watchlistItemsModel.ts
|
|
789
|
+
model/watchlistItemsRequest.ts
|
|
783
790
|
model/workflowCaseModel.ts
|
|
784
791
|
model/workflowCitationModel.ts
|
|
785
792
|
model/workflowLineItemModel.ts
|
package/dist/angular/api/api.ts
CHANGED
|
@@ -198,8 +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
203
|
export * from './websocketMessageController.service';
|
|
202
204
|
import { WebsocketMessageControllerService } from './websocketMessageController.service';
|
|
203
205
|
export * from './workflowStateController.service';
|
|
204
206
|
import { WorkflowStateControllerService } from './workflowStateController.service';
|
|
205
|
-
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, 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, WatchlistControllerService, WebsocketMessageControllerService, WorkflowStateControllerService];
|
|
@@ -0,0 +1,238 @@
|
|
|
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 WatchlistControllerService {
|
|
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 watchlistId watchlistId
|
|
101
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
102
|
+
* @param reportProgress flag to report request and response progress.
|
|
103
|
+
*/
|
|
104
|
+
public listUserWatchlistsUsingGET(userId: number, isArchived?: boolean, watchlistId?: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<ListUserWatchlistsResponse>;
|
|
105
|
+
public listUserWatchlistsUsingGET(userId: number, isArchived?: boolean, watchlistId?: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<ListUserWatchlistsResponse>>;
|
|
106
|
+
public listUserWatchlistsUsingGET(userId: number, isArchived?: boolean, watchlistId?: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<ListUserWatchlistsResponse>>;
|
|
107
|
+
public listUserWatchlistsUsingGET(userId: number, isArchived?: boolean, watchlistId?: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
|
|
108
|
+
if (userId === null || userId === undefined) {
|
|
109
|
+
throw new Error('Required parameter userId was null or undefined when calling listUserWatchlistsUsingGET.');
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
let localVarQueryParameters = new HttpParams({encoder: this.encoder});
|
|
113
|
+
if (isArchived !== undefined && isArchived !== null) {
|
|
114
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
|
115
|
+
<any>isArchived, 'isArchived');
|
|
116
|
+
}
|
|
117
|
+
if (watchlistId !== undefined && watchlistId !== null) {
|
|
118
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
|
119
|
+
<any>watchlistId, 'watchlistId');
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
let localVarHeaders = this.defaultHeaders;
|
|
123
|
+
|
|
124
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
125
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
126
|
+
// to determine the Accept header
|
|
127
|
+
const httpHeaderAccepts: string[] = [
|
|
128
|
+
'*/*'
|
|
129
|
+
];
|
|
130
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
131
|
+
}
|
|
132
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
133
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
137
|
+
if (localVarHttpContext === undefined) {
|
|
138
|
+
localVarHttpContext = new HttpContext();
|
|
139
|
+
}
|
|
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/v1/watchlists/${this.configuration.encodeParam({name: "userId", value: userId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}/lists`;
|
|
154
|
+
return this.httpClient.request<ListUserWatchlistsResponse>('get', `${this.configuration.basePath}${localVarPath}`,
|
|
155
|
+
{
|
|
156
|
+
context: localVarHttpContext,
|
|
157
|
+
params: localVarQueryParameters,
|
|
158
|
+
responseType: <any>responseType_,
|
|
159
|
+
withCredentials: this.configuration.withCredentials,
|
|
160
|
+
headers: localVarHeaders,
|
|
161
|
+
observe: observe,
|
|
162
|
+
reportProgress: reportProgress
|
|
163
|
+
}
|
|
164
|
+
);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* saveUserWatchlists
|
|
169
|
+
* @param userId userId
|
|
170
|
+
* @param request request
|
|
171
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
172
|
+
* @param reportProgress flag to report request and response progress.
|
|
173
|
+
*/
|
|
174
|
+
public saveUserWatchlistsUsingPOST(userId: number, request: SaveUserWatchlistsRequest, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<any>;
|
|
175
|
+
public saveUserWatchlistsUsingPOST(userId: number, request: SaveUserWatchlistsRequest, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<HttpResponse<any>>;
|
|
176
|
+
public saveUserWatchlistsUsingPOST(userId: number, request: SaveUserWatchlistsRequest, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<HttpEvent<any>>;
|
|
177
|
+
public saveUserWatchlistsUsingPOST(userId: number, request: SaveUserWatchlistsRequest, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<any> {
|
|
178
|
+
if (userId === null || userId === undefined) {
|
|
179
|
+
throw new Error('Required parameter userId was null or undefined when calling saveUserWatchlistsUsingPOST.');
|
|
180
|
+
}
|
|
181
|
+
if (request === null || request === undefined) {
|
|
182
|
+
throw new Error('Required parameter request was null or undefined when calling saveUserWatchlistsUsingPOST.');
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
let localVarHeaders = this.defaultHeaders;
|
|
186
|
+
|
|
187
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
188
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
189
|
+
// to determine the Accept header
|
|
190
|
+
const httpHeaderAccepts: string[] = [
|
|
191
|
+
];
|
|
192
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
193
|
+
}
|
|
194
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
195
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
199
|
+
if (localVarHttpContext === undefined) {
|
|
200
|
+
localVarHttpContext = new HttpContext();
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
// to determine the Content-Type header
|
|
205
|
+
const consumes: string[] = [
|
|
206
|
+
'application/json'
|
|
207
|
+
];
|
|
208
|
+
const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
|
|
209
|
+
if (httpContentTypeSelected !== undefined) {
|
|
210
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
214
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
215
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
216
|
+
responseType_ = 'text';
|
|
217
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
218
|
+
responseType_ = 'json';
|
|
219
|
+
} else {
|
|
220
|
+
responseType_ = 'blob';
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
let localVarPath = `/api/v1/watchlists/${this.configuration.encodeParam({name: "userId", value: userId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}/lists`;
|
|
225
|
+
return this.httpClient.request<any>('post', `${this.configuration.basePath}${localVarPath}`,
|
|
226
|
+
{
|
|
227
|
+
context: localVarHttpContext,
|
|
228
|
+
body: request,
|
|
229
|
+
responseType: <any>responseType_,
|
|
230
|
+
withCredentials: this.configuration.withCredentials,
|
|
231
|
+
headers: localVarHeaders,
|
|
232
|
+
observe: observe,
|
|
233
|
+
reportProgress: reportProgress
|
|
234
|
+
}
|
|
235
|
+
);
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
}
|
|
@@ -102,6 +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
106
|
import { WebsocketMessageControllerService } from './api/websocketMessageController.service';
|
|
106
107
|
import { WorkflowStateControllerService } from './api/workflowStateController.service';
|
|
107
108
|
|
|
@@ -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
|
+
import { UserWatchlistsResponseModel } from './userWatchlistsResponseModel';
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
export interface ListUserWatchlistsResponse {
|
|
16
|
+
userWatchlists?: Array<UserWatchlistsResponseModel>;
|
|
17
|
+
}
|
|
18
|
+
|
|
@@ -414,6 +414,7 @@ export * from './listReviewsResponse';
|
|
|
414
414
|
export * from './listSubscriptionInvoicesResponse';
|
|
415
415
|
export * from './listUserAuditEventsByCursorResponse';
|
|
416
416
|
export * from './listUserAuditEventsCursorModel';
|
|
417
|
+
export * from './listUserWatchlistsResponse';
|
|
417
418
|
export * from './listViolationClassificationResponse';
|
|
418
419
|
export * from './lobEvent';
|
|
419
420
|
export * from './lobEventRequest';
|
|
@@ -519,6 +520,7 @@ export * from './saveLawyerLicenseModel';
|
|
|
519
520
|
export * from './saveLawyerLicensesRequest';
|
|
520
521
|
export * from './saveLawyerRequest';
|
|
521
522
|
export * from './saveNotesRequest';
|
|
523
|
+
export * from './saveUserWatchlistsRequest';
|
|
522
524
|
export * from './scheduleNewPaymentRequest';
|
|
523
525
|
export * from './scheduledTaskGetResponse';
|
|
524
526
|
export * from './scheduledTaskResponse';
|
|
@@ -654,6 +656,8 @@ export * from './userSubscriptionPlanModel';
|
|
|
654
656
|
export * from './userSubscriptionPlanModelReq';
|
|
655
657
|
export * from './userSubscriptionPlanModelRes';
|
|
656
658
|
export * from './userToContact';
|
|
659
|
+
export * from './userWatchlistsModel';
|
|
660
|
+
export * from './userWatchlistsResponseModel';
|
|
657
661
|
export * from './validateDirectMailRequest';
|
|
658
662
|
export * from './validateDirectMailResponse';
|
|
659
663
|
export * from './validateUserEmailResponse';
|
|
@@ -669,6 +673,8 @@ export * from './violationModel';
|
|
|
669
673
|
export * from './violationPenaltyModel';
|
|
670
674
|
export * from './violationPenaltyResponse';
|
|
671
675
|
export * from './violationResponse';
|
|
676
|
+
export * from './watchlistItemsModel';
|
|
677
|
+
export * from './watchlistItemsRequest';
|
|
672
678
|
export * from './workflowCaseModel';
|
|
673
679
|
export * from './workflowCitationModel';
|
|
674
680
|
export * from './workflowLineItemModel';
|
|
@@ -0,0 +1,22 @@
|
|
|
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 { WatchlistItemsRequest } from './watchlistItemsRequest';
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
export interface SaveUserWatchlistsRequest {
|
|
16
|
+
isArchived?: boolean;
|
|
17
|
+
userId?: number;
|
|
18
|
+
watchlistId?: number;
|
|
19
|
+
watchlistItems?: WatchlistItemsRequest;
|
|
20
|
+
watchlistName?: string;
|
|
21
|
+
}
|
|
22
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
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 { WatchlistItemsModel } from './watchlistItemsModel';
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
export interface UserWatchlistsModel {
|
|
16
|
+
isArchived?: boolean;
|
|
17
|
+
watchlistId?: number;
|
|
18
|
+
watchlistItems?: Array<WatchlistItemsModel>;
|
|
19
|
+
watchlistName?: string;
|
|
20
|
+
}
|
|
21
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
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 { UserWatchlistsModel } from './userWatchlistsModel';
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
export interface UserWatchlistsResponseModel {
|
|
16
|
+
userId?: string;
|
|
17
|
+
userWatchlists?: Array<UserWatchlistsModel>;
|
|
18
|
+
}
|
|
19
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
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 WatchlistItemsModel {
|
|
15
|
+
entityId?: string;
|
|
16
|
+
entityType?: string;
|
|
17
|
+
isDeleted?: boolean;
|
|
18
|
+
note?: string;
|
|
19
|
+
priority?: WatchlistItemsModel.PriorityEnum;
|
|
20
|
+
watchlistItemId?: number;
|
|
21
|
+
}
|
|
22
|
+
export namespace WatchlistItemsModel {
|
|
23
|
+
export type PriorityEnum = 'HIGH' | 'LOW' | 'MEDIUM';
|
|
24
|
+
export const PriorityEnum = {
|
|
25
|
+
High: 'HIGH' as PriorityEnum,
|
|
26
|
+
Low: 'LOW' as PriorityEnum,
|
|
27
|
+
Medium: 'MEDIUM' as PriorityEnum
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
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 WatchlistItemsRequest {
|
|
15
|
+
entityType?: string;
|
|
16
|
+
note?: string;
|
|
17
|
+
priority?: number;
|
|
18
|
+
}
|
|
19
|
+
|
|
@@ -15411,6 +15411,95 @@ angular.module('otrBackendService', [])
|
|
|
15411
15411
|
|
|
15412
15412
|
return deferred.promise;
|
|
15413
15413
|
};
|
|
15414
|
+
/**
|
|
15415
|
+
* listUserWatchlists
|
|
15416
|
+
* @method
|
|
15417
|
+
* @name OtrService#listUserWatchlistsUsingGET
|
|
15418
|
+
* @param {object} parameters - method options and parameters
|
|
15419
|
+
* @param {boolean} parameters.isArchived - isArchived
|
|
15420
|
+
* @param {integer} parameters.userId - userId
|
|
15421
|
+
* @param {integer} parameters.watchlistId - watchlistId
|
|
15422
|
+
*/
|
|
15423
|
+
OtrService.prototype.listUserWatchlistsUsingGET = function(parameters) {
|
|
15424
|
+
if (parameters === undefined) {
|
|
15425
|
+
parameters = {};
|
|
15426
|
+
}
|
|
15427
|
+
var deferred = $q.defer();
|
|
15428
|
+
var domain = this.domain,
|
|
15429
|
+
path = '/api/v1/watchlists/{userId}/lists';
|
|
15430
|
+
var body = {},
|
|
15431
|
+
queryParameters = {},
|
|
15432
|
+
headers = {},
|
|
15433
|
+
form = {};
|
|
15434
|
+
|
|
15435
|
+
headers['Accept'] = ['*/*'];
|
|
15436
|
+
|
|
15437
|
+
if (parameters['isArchived'] !== undefined) {
|
|
15438
|
+
queryParameters['isArchived'] = parameters['isArchived'];
|
|
15439
|
+
}
|
|
15440
|
+
|
|
15441
|
+
path = path.replace('{userId}', parameters['userId']);
|
|
15442
|
+
|
|
15443
|
+
if (parameters['userId'] === undefined) {
|
|
15444
|
+
deferred.reject(new Error('Missing required parameter: userId'));
|
|
15445
|
+
return deferred.promise;
|
|
15446
|
+
}
|
|
15447
|
+
|
|
15448
|
+
if (parameters['watchlistId'] !== undefined) {
|
|
15449
|
+
queryParameters['watchlistId'] = parameters['watchlistId'];
|
|
15450
|
+
}
|
|
15451
|
+
|
|
15452
|
+
queryParameters = mergeQueryParams(parameters, queryParameters);
|
|
15453
|
+
|
|
15454
|
+
this.request('GET', domain + path, parameters, body, headers, queryParameters, form, deferred);
|
|
15455
|
+
|
|
15456
|
+
return deferred.promise;
|
|
15457
|
+
};
|
|
15458
|
+
/**
|
|
15459
|
+
* saveUserWatchlists
|
|
15460
|
+
* @method
|
|
15461
|
+
* @name OtrService#saveUserWatchlistsUsingPOST
|
|
15462
|
+
* @param {object} parameters - method options and parameters
|
|
15463
|
+
* @param {} parameters.request - request
|
|
15464
|
+
* @param {integer} parameters.userId - userId
|
|
15465
|
+
*/
|
|
15466
|
+
OtrService.prototype.saveUserWatchlistsUsingPOST = function(parameters) {
|
|
15467
|
+
if (parameters === undefined) {
|
|
15468
|
+
parameters = {};
|
|
15469
|
+
}
|
|
15470
|
+
var deferred = $q.defer();
|
|
15471
|
+
var domain = this.domain,
|
|
15472
|
+
path = '/api/v1/watchlists/{userId}/lists';
|
|
15473
|
+
var body = {},
|
|
15474
|
+
queryParameters = {},
|
|
15475
|
+
headers = {},
|
|
15476
|
+
form = {};
|
|
15477
|
+
|
|
15478
|
+
headers['Accept'] = ['*/*'];
|
|
15479
|
+
headers['Content-Type'] = ['application/json'];
|
|
15480
|
+
|
|
15481
|
+
if (parameters['request'] !== undefined) {
|
|
15482
|
+
body = parameters['request'];
|
|
15483
|
+
}
|
|
15484
|
+
|
|
15485
|
+
if (parameters['request'] === undefined) {
|
|
15486
|
+
deferred.reject(new Error('Missing required parameter: request'));
|
|
15487
|
+
return deferred.promise;
|
|
15488
|
+
}
|
|
15489
|
+
|
|
15490
|
+
path = path.replace('{userId}', parameters['userId']);
|
|
15491
|
+
|
|
15492
|
+
if (parameters['userId'] === undefined) {
|
|
15493
|
+
deferred.reject(new Error('Missing required parameter: userId'));
|
|
15494
|
+
return deferred.promise;
|
|
15495
|
+
}
|
|
15496
|
+
|
|
15497
|
+
queryParameters = mergeQueryParams(parameters, queryParameters);
|
|
15498
|
+
|
|
15499
|
+
this.request('POST', domain + path, parameters, body, headers, queryParameters, form, deferred);
|
|
15500
|
+
|
|
15501
|
+
return deferred.promise;
|
|
15502
|
+
};
|
|
15414
15503
|
/**
|
|
15415
15504
|
* handleBounceOrComplaintEvent
|
|
15416
15505
|
* @method
|