@otr-app/shared-backend-generated-client 2.3.125 → 2.3.126
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 +4 -0
- package/dist/angular/api/api.ts +3 -1
- package/dist/angular/api/auditLogController.service.ts +170 -0
- package/dist/angular/api.module.ts +1 -0
- package/dist/angular/model/auditLog.ts +29 -0
- package/dist/angular/model/citationAuditLog.ts +35 -0
- package/dist/angular/model/getCitationAuditLogsResponse.ts +19 -0
- package/dist/angular/model/models.ts +3 -0
- package/dist/otrBackendService.js +49 -0
- package/dist/otrBackendService.min.js +5 -5
- package/dist/typescript/api/AuditLogControllerApi.d.ts +30 -0
- package/dist/typescript/api/AuditLogControllerApi.js +66 -0
- package/dist/typescript/api/AuditLogControllerApi.ts +73 -0
- package/dist/typescript/api/api.d.ts +3 -1
- package/dist/typescript/api/api.js +3 -1
- package/dist/typescript/api/api.ts +3 -1
- package/dist/typescript/api.module.js +1 -0
- package/dist/typescript/api.module.ts +1 -0
- package/dist/typescript/model/AuditLog.d.ts +24 -0
- package/dist/typescript/model/AuditLog.js +22 -0
- package/dist/typescript/model/AuditLog.ts +28 -0
- package/dist/typescript/model/CitationAuditLog.d.ts +29 -0
- package/dist/typescript/model/CitationAuditLog.js +26 -0
- package/dist/typescript/model/CitationAuditLog.ts +32 -0
- package/dist/typescript/model/GetCitationAuditLogsResponse.d.ts +16 -0
- package/dist/typescript/model/GetCitationAuditLogsResponse.js +13 -0
- package/dist/typescript/model/GetCitationAuditLogsResponse.ts +19 -0
- package/dist/typescript/model/models.d.ts +3 -0
- package/dist/typescript/model/models.js +3 -0
- package/dist/typescript/model/models.ts +3 -0
- package/package.json +1 -1
|
@@ -8,6 +8,7 @@ api/alertNotificationController.service.ts
|
|
|
8
8
|
api/api.ts
|
|
9
9
|
api/appEventsController.service.ts
|
|
10
10
|
api/auditLawfirmEventsController.service.ts
|
|
11
|
+
api/auditLogController.service.ts
|
|
11
12
|
api/authenticationController.service.ts
|
|
12
13
|
api/awsCredentialsController.service.ts
|
|
13
14
|
api/blogWebhookController.service.ts
|
|
@@ -151,6 +152,7 @@ model/appEventCreateRequest.ts
|
|
|
151
152
|
model/appearanceAttorneyDomain.ts
|
|
152
153
|
model/appleLoginRequest.ts
|
|
153
154
|
model/assignCitationOwnerRequest.ts
|
|
155
|
+
model/auditLog.ts
|
|
154
156
|
model/authorModel.ts
|
|
155
157
|
model/authorizeChargeForCasePaymentRequest.ts
|
|
156
158
|
model/authorizeChargeForCasePaymentResponse.ts
|
|
@@ -212,6 +214,7 @@ model/changeUserPasswordRequest.ts
|
|
|
212
214
|
model/chargeFeeToLawfirmRequest.ts
|
|
213
215
|
model/chargeFeeToLawfirmResponse.ts
|
|
214
216
|
model/citationAuditEventModel.ts
|
|
217
|
+
model/citationAuditLog.ts
|
|
215
218
|
model/citationInputRequest.ts
|
|
216
219
|
model/citationModel.ts
|
|
217
220
|
model/citationModelReq.ts
|
|
@@ -350,6 +353,7 @@ model/getCasesWithCoverageObtainedResponse.ts
|
|
|
350
353
|
model/getCasesWithMissingLawfirmPayoutsResponse.ts
|
|
351
354
|
model/getCasesWithOverduePaymentsResponse.ts
|
|
352
355
|
model/getCasesWithUncapturedChargesRequest.ts
|
|
356
|
+
model/getCitationAuditLogsResponse.ts
|
|
353
357
|
model/getCitationPhoneLeadsRequest.ts
|
|
354
358
|
model/getCitationPhoneLeadsResponse.ts
|
|
355
359
|
model/getCitationResponse.ts
|
package/dist/angular/api/api.ts
CHANGED
|
@@ -10,6 +10,8 @@ export * from './appEventsController.service';
|
|
|
10
10
|
import { AppEventsControllerService } from './appEventsController.service';
|
|
11
11
|
export * from './auditLawfirmEventsController.service';
|
|
12
12
|
import { AuditLawfirmEventsControllerService } from './auditLawfirmEventsController.service';
|
|
13
|
+
export * from './auditLogController.service';
|
|
14
|
+
import { AuditLogControllerService } from './auditLogController.service';
|
|
13
15
|
export * from './authenticationController.service';
|
|
14
16
|
import { AuthenticationControllerService } from './authenticationController.service';
|
|
15
17
|
export * from './awsCredentialsController.service';
|
|
@@ -204,4 +206,4 @@ export * from './websocketMessageController.service';
|
|
|
204
206
|
import { WebsocketMessageControllerService } from './websocketMessageController.service';
|
|
205
207
|
export * from './workflowStateController.service';
|
|
206
208
|
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, WatchlistsControllerService, WebsocketMessageControllerService, WorkflowStateControllerService];
|
|
209
|
+
export const APIS = [ActionRequiredControllerService, ActivityFeedControllerService, AddressControllerService, AlertNotificationControllerService, AppEventsControllerService, AuditLawfirmEventsControllerService, AuditLogControllerService, 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,170 @@
|
|
|
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 { GetCitationAuditLogsResponse } from '../model/getCitationAuditLogsResponse';
|
|
23
|
+
|
|
24
|
+
// @ts-ignore
|
|
25
|
+
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
|
|
26
|
+
import { Configuration } from '../configuration';
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
@Injectable({
|
|
31
|
+
providedIn: 'root'
|
|
32
|
+
})
|
|
33
|
+
export class AuditLogControllerService {
|
|
34
|
+
|
|
35
|
+
protected basePath = 'http://otr-backend-service-us-devo.offtherecord.com';
|
|
36
|
+
public defaultHeaders = new HttpHeaders();
|
|
37
|
+
public configuration = new Configuration();
|
|
38
|
+
public encoder: HttpParameterCodec;
|
|
39
|
+
|
|
40
|
+
constructor(protected httpClient: HttpClient, @Optional()@Inject(BASE_PATH) basePath: string|string[], @Optional() configuration: Configuration) {
|
|
41
|
+
if (configuration) {
|
|
42
|
+
this.configuration = configuration;
|
|
43
|
+
}
|
|
44
|
+
if (typeof this.configuration.basePath !== 'string') {
|
|
45
|
+
if (Array.isArray(basePath) && basePath.length > 0) {
|
|
46
|
+
basePath = basePath[0];
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
if (typeof basePath !== 'string') {
|
|
50
|
+
basePath = this.basePath;
|
|
51
|
+
}
|
|
52
|
+
this.configuration.basePath = basePath;
|
|
53
|
+
}
|
|
54
|
+
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
// @ts-ignore
|
|
59
|
+
private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {
|
|
60
|
+
if (typeof value === "object" && value instanceof Date === false) {
|
|
61
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
62
|
+
} else {
|
|
63
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
64
|
+
}
|
|
65
|
+
return httpParams;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
private addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string): HttpParams {
|
|
69
|
+
if (value == null) {
|
|
70
|
+
return httpParams;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
if (typeof value === "object") {
|
|
74
|
+
if (Array.isArray(value)) {
|
|
75
|
+
(value as any[]).forEach( elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
76
|
+
} else if (value instanceof Date) {
|
|
77
|
+
if (key != null) {
|
|
78
|
+
httpParams = httpParams.append(key, (value as Date).toISOString().substr(0, 10));
|
|
79
|
+
} else {
|
|
80
|
+
throw Error("key may not be null if value is Date");
|
|
81
|
+
}
|
|
82
|
+
} else {
|
|
83
|
+
Object.keys(value).forEach( k => httpParams = this.addToHttpParamsRecursive(
|
|
84
|
+
httpParams, value[k], key != null ? `${key}.${k}` : k));
|
|
85
|
+
}
|
|
86
|
+
} else if (key != null) {
|
|
87
|
+
httpParams = httpParams.append(key, value);
|
|
88
|
+
} else {
|
|
89
|
+
throw Error("key may not be null if value is not object or array");
|
|
90
|
+
}
|
|
91
|
+
return httpParams;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* getAuditLogs
|
|
96
|
+
* @param citationId citationId
|
|
97
|
+
* @param logLevel logLevel
|
|
98
|
+
* @param logType logType
|
|
99
|
+
* @param showActiveOnly showActiveOnly
|
|
100
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
101
|
+
* @param reportProgress flag to report request and response progress.
|
|
102
|
+
*/
|
|
103
|
+
public getAuditLogsUsingGET(citationId: number, logLevel?: 'NON_TECHNICAL' | 'TECHNICAL', logType?: 'APPLY_REFERRAL_CODE' | 'CREATE_LEGAL_SERVICES' | 'INITIATE_CASE' | 'MATCH_CASE' | 'OTHER' | 'TRANSFER_CASE', showActiveOnly?: boolean, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<GetCitationAuditLogsResponse>;
|
|
104
|
+
public getAuditLogsUsingGET(citationId: number, logLevel?: 'NON_TECHNICAL' | 'TECHNICAL', logType?: 'APPLY_REFERRAL_CODE' | 'CREATE_LEGAL_SERVICES' | 'INITIATE_CASE' | 'MATCH_CASE' | 'OTHER' | 'TRANSFER_CASE', showActiveOnly?: boolean, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<GetCitationAuditLogsResponse>>;
|
|
105
|
+
public getAuditLogsUsingGET(citationId: number, logLevel?: 'NON_TECHNICAL' | 'TECHNICAL', logType?: 'APPLY_REFERRAL_CODE' | 'CREATE_LEGAL_SERVICES' | 'INITIATE_CASE' | 'MATCH_CASE' | 'OTHER' | 'TRANSFER_CASE', showActiveOnly?: boolean, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<GetCitationAuditLogsResponse>>;
|
|
106
|
+
public getAuditLogsUsingGET(citationId: number, logLevel?: 'NON_TECHNICAL' | 'TECHNICAL', logType?: 'APPLY_REFERRAL_CODE' | 'CREATE_LEGAL_SERVICES' | 'INITIATE_CASE' | 'MATCH_CASE' | 'OTHER' | 'TRANSFER_CASE', showActiveOnly?: boolean, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
|
|
107
|
+
if (citationId === null || citationId === undefined) {
|
|
108
|
+
throw new Error('Required parameter citationId was null or undefined when calling getAuditLogsUsingGET.');
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
let localVarQueryParameters = new HttpParams({encoder: this.encoder});
|
|
112
|
+
if (logLevel !== undefined && logLevel !== null) {
|
|
113
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
|
114
|
+
<any>logLevel, 'logLevel');
|
|
115
|
+
}
|
|
116
|
+
if (logType !== undefined && logType !== null) {
|
|
117
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
|
118
|
+
<any>logType, 'logType');
|
|
119
|
+
}
|
|
120
|
+
if (showActiveOnly !== undefined && showActiveOnly !== null) {
|
|
121
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
|
122
|
+
<any>showActiveOnly, 'showActiveOnly');
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
let localVarHeaders = this.defaultHeaders;
|
|
126
|
+
|
|
127
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
128
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
129
|
+
// to determine the Accept header
|
|
130
|
+
const httpHeaderAccepts: string[] = [
|
|
131
|
+
'*/*'
|
|
132
|
+
];
|
|
133
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
134
|
+
}
|
|
135
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
136
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
140
|
+
if (localVarHttpContext === undefined) {
|
|
141
|
+
localVarHttpContext = new HttpContext();
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
146
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
147
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
148
|
+
responseType_ = 'text';
|
|
149
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
150
|
+
responseType_ = 'json';
|
|
151
|
+
} else {
|
|
152
|
+
responseType_ = 'blob';
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
let localVarPath = `/api/v1/citations/${this.configuration.encodeParam({name: "citationId", value: citationId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64"})}/audit-logs`;
|
|
157
|
+
return this.httpClient.request<GetCitationAuditLogsResponse>('get', `${this.configuration.basePath}${localVarPath}`,
|
|
158
|
+
{
|
|
159
|
+
context: localVarHttpContext,
|
|
160
|
+
params: localVarQueryParameters,
|
|
161
|
+
responseType: <any>responseType_,
|
|
162
|
+
withCredentials: this.configuration.withCredentials,
|
|
163
|
+
headers: localVarHeaders,
|
|
164
|
+
observe: observe,
|
|
165
|
+
reportProgress: reportProgress
|
|
166
|
+
}
|
|
167
|
+
);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
}
|
|
@@ -8,6 +8,7 @@ import { AddressControllerService } from './api/addressController.service';
|
|
|
8
8
|
import { AlertNotificationControllerService } from './api/alertNotificationController.service';
|
|
9
9
|
import { AppEventsControllerService } from './api/appEventsController.service';
|
|
10
10
|
import { AuditLawfirmEventsControllerService } from './api/auditLawfirmEventsController.service';
|
|
11
|
+
import { AuditLogControllerService } from './api/auditLogController.service';
|
|
11
12
|
import { AuthenticationControllerService } from './api/authenticationController.service';
|
|
12
13
|
import { AwsCredentialsControllerService } from './api/awsCredentialsController.service';
|
|
13
14
|
import { BlogWebhookControllerService } from './api/blogWebhookController.service';
|
|
@@ -0,0 +1,29 @@
|
|
|
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 AuditLog {
|
|
15
|
+
date?: string;
|
|
16
|
+
key?: string;
|
|
17
|
+
level?: AuditLog.LevelEnum;
|
|
18
|
+
message?: string;
|
|
19
|
+
source?: string;
|
|
20
|
+
}
|
|
21
|
+
export namespace AuditLog {
|
|
22
|
+
export type LevelEnum = 'NON_TECHNICAL' | 'TECHNICAL';
|
|
23
|
+
export const LevelEnum = {
|
|
24
|
+
NonTechnical: 'NON_TECHNICAL' as LevelEnum,
|
|
25
|
+
Technical: 'TECHNICAL' as LevelEnum
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
|
|
@@ -0,0 +1,35 @@
|
|
|
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 { Timestamp } from './timestamp';
|
|
13
|
+
import { AuditLog } from './auditLog';
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
export interface CitationAuditLog {
|
|
17
|
+
auditLogType?: CitationAuditLog.AuditLogTypeEnum;
|
|
18
|
+
citationId?: number;
|
|
19
|
+
creationDateUTC?: Timestamp;
|
|
20
|
+
isActive?: boolean;
|
|
21
|
+
logTrails?: Array<AuditLog>;
|
|
22
|
+
}
|
|
23
|
+
export namespace CitationAuditLog {
|
|
24
|
+
export type AuditLogTypeEnum = 'APPLY_REFERRAL_CODE' | 'CREATE_LEGAL_SERVICES' | 'INITIATE_CASE' | 'MATCH_CASE' | 'OTHER' | 'TRANSFER_CASE';
|
|
25
|
+
export const AuditLogTypeEnum = {
|
|
26
|
+
ApplyReferralCode: 'APPLY_REFERRAL_CODE' as AuditLogTypeEnum,
|
|
27
|
+
CreateLegalServices: 'CREATE_LEGAL_SERVICES' as AuditLogTypeEnum,
|
|
28
|
+
InitiateCase: 'INITIATE_CASE' as AuditLogTypeEnum,
|
|
29
|
+
MatchCase: 'MATCH_CASE' as AuditLogTypeEnum,
|
|
30
|
+
Other: 'OTHER' as AuditLogTypeEnum,
|
|
31
|
+
TransferCase: 'TRANSFER_CASE' as AuditLogTypeEnum
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
|
|
@@ -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 { CitationAuditLog } from './citationAuditLog';
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
export interface GetCitationAuditLogsResponse {
|
|
16
|
+
auditLogs?: Array<CitationAuditLog>;
|
|
17
|
+
citationId?: number;
|
|
18
|
+
}
|
|
19
|
+
|
|
@@ -40,6 +40,7 @@ export * from './appEventCreateRequest';
|
|
|
40
40
|
export * from './appearanceAttorneyDomain';
|
|
41
41
|
export * from './appleLoginRequest';
|
|
42
42
|
export * from './assignCitationOwnerRequest';
|
|
43
|
+
export * from './auditLog';
|
|
43
44
|
export * from './authorModel';
|
|
44
45
|
export * from './authorizeChargeForCasePaymentRequest';
|
|
45
46
|
export * from './authorizeChargeForCasePaymentResponse';
|
|
@@ -101,6 +102,7 @@ export * from './changeUserPasswordRequest';
|
|
|
101
102
|
export * from './chargeFeeToLawfirmRequest';
|
|
102
103
|
export * from './chargeFeeToLawfirmResponse';
|
|
103
104
|
export * from './citationAuditEventModel';
|
|
105
|
+
export * from './citationAuditLog';
|
|
104
106
|
export * from './citationInputRequest';
|
|
105
107
|
export * from './citationModel';
|
|
106
108
|
export * from './citationModelReq';
|
|
@@ -239,6 +241,7 @@ export * from './getCasesWithCoverageObtainedResponse';
|
|
|
239
241
|
export * from './getCasesWithMissingLawfirmPayoutsResponse';
|
|
240
242
|
export * from './getCasesWithOverduePaymentsResponse';
|
|
241
243
|
export * from './getCasesWithUncapturedChargesRequest';
|
|
244
|
+
export * from './getCitationAuditLogsResponse';
|
|
242
245
|
export * from './getCitationPhoneLeadsRequest';
|
|
243
246
|
export * from './getCitationPhoneLeadsResponse';
|
|
244
247
|
export * from './getCitationResponse';
|
|
@@ -4010,6 +4010,55 @@ angular.module('otrBackendService', [])
|
|
|
4010
4010
|
|
|
4011
4011
|
return deferred.promise;
|
|
4012
4012
|
};
|
|
4013
|
+
/**
|
|
4014
|
+
* getAuditLogs
|
|
4015
|
+
* @method
|
|
4016
|
+
* @name OtrService#getAuditLogsUsingGET
|
|
4017
|
+
* @param {object} parameters - method options and parameters
|
|
4018
|
+
* @param {integer} parameters.citationId - citationId
|
|
4019
|
+
* @param {string} parameters.logLevel - logLevel
|
|
4020
|
+
* @param {string} parameters.logType - logType
|
|
4021
|
+
* @param {boolean} parameters.showActiveOnly - showActiveOnly
|
|
4022
|
+
*/
|
|
4023
|
+
OtrService.prototype.getAuditLogsUsingGET = function(parameters) {
|
|
4024
|
+
if (parameters === undefined) {
|
|
4025
|
+
parameters = {};
|
|
4026
|
+
}
|
|
4027
|
+
var deferred = $q.defer();
|
|
4028
|
+
var domain = this.domain,
|
|
4029
|
+
path = '/api/v1/citations/{citationId}/audit-logs';
|
|
4030
|
+
var body = {},
|
|
4031
|
+
queryParameters = {},
|
|
4032
|
+
headers = {},
|
|
4033
|
+
form = {};
|
|
4034
|
+
|
|
4035
|
+
headers['Accept'] = ['*/*'];
|
|
4036
|
+
|
|
4037
|
+
path = path.replace('{citationId}', parameters['citationId']);
|
|
4038
|
+
|
|
4039
|
+
if (parameters['citationId'] === undefined) {
|
|
4040
|
+
deferred.reject(new Error('Missing required parameter: citationId'));
|
|
4041
|
+
return deferred.promise;
|
|
4042
|
+
}
|
|
4043
|
+
|
|
4044
|
+
if (parameters['logLevel'] !== undefined) {
|
|
4045
|
+
queryParameters['logLevel'] = parameters['logLevel'];
|
|
4046
|
+
}
|
|
4047
|
+
|
|
4048
|
+
if (parameters['logType'] !== undefined) {
|
|
4049
|
+
queryParameters['logType'] = parameters['logType'];
|
|
4050
|
+
}
|
|
4051
|
+
|
|
4052
|
+
if (parameters['showActiveOnly'] !== undefined) {
|
|
4053
|
+
queryParameters['showActiveOnly'] = parameters['showActiveOnly'];
|
|
4054
|
+
}
|
|
4055
|
+
|
|
4056
|
+
queryParameters = mergeQueryParams(parameters, queryParameters);
|
|
4057
|
+
|
|
4058
|
+
this.request('GET', domain + path, parameters, body, headers, queryParameters, form, deferred);
|
|
4059
|
+
|
|
4060
|
+
return deferred.promise;
|
|
4061
|
+
};
|
|
4013
4062
|
/**
|
|
4014
4063
|
* getCaseFromCitation
|
|
4015
4064
|
* @method
|