@otr-app/shared-backend-generated-client 2.5.167 → 2.5.169
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/lawfirmDashboardController.service.ts +60 -0
- package/dist/angular/api/shortLivedTokenController.service.ts +152 -0
- package/dist/angular/api/webSocketController.service.ts +25 -5
- package/dist/angular/api.module.ts +1 -0
- package/dist/angular/model/ageBracketModel.ts +19 -0
- package/dist/angular/model/getActiveCasesByAgeResponse.ts +21 -0
- package/dist/angular/model/issueShortLivedTokenResponse.ts +17 -0
- package/dist/angular/model/models.ts +3 -0
- package/dist/otrBackendService.js +88 -0
- package/dist/otrBackendService.min.js +5 -5
- package/dist/typescript/api/LawfirmDashboardControllerApi.d.ts +6 -0
- package/dist/typescript/api/LawfirmDashboardControllerApi.js +25 -0
- package/dist/typescript/api/ShortLivedTokenControllerApi.d.ts +26 -0
- package/dist/typescript/api/ShortLivedTokenControllerApi.js +49 -0
- package/dist/typescript/api/WebSocketControllerApi.d.ts +3 -1
- package/dist/typescript/api/WebSocketControllerApi.js +17 -1
- package/dist/typescript/api/api.d.ts +3 -1
- package/dist/typescript/api/api.js +3 -1
- package/dist/typescript/api.module.js +1 -0
- package/dist/typescript/model/AgeBracketModel.d.ts +16 -0
- package/dist/typescript/model/AgeBracketModel.js +12 -0
- package/dist/typescript/model/GetActiveCasesByAgeResponse.d.ts +18 -0
- package/dist/typescript/model/GetActiveCasesByAgeResponse.js +12 -0
- package/dist/typescript/model/IssueShortLivedTokenResponse.d.ts +14 -0
- package/dist/typescript/model/IssueShortLivedTokenResponse.js +12 -0
- package/dist/typescript/model/models.d.ts +3 -0
- package/dist/typescript/model/models.js +3 -0
- package/dist/typescript-fetch/apis/LawfirmDashboardControllerApi.d.ts +12 -1
- package/dist/typescript-fetch/apis/LawfirmDashboardControllerApi.js +29 -1
- package/dist/typescript-fetch/apis/ShortLivedTokenControllerApi.d.ts +29 -0
- package/dist/typescript-fetch/apis/ShortLivedTokenControllerApi.js +57 -0
- package/dist/typescript-fetch/apis/WebSocketControllerApi.d.ts +4 -2
- package/dist/typescript-fetch/apis/WebSocketControllerApi.js +15 -2
- package/dist/typescript-fetch/apis/index.d.ts +1 -0
- package/dist/typescript-fetch/apis/index.js +1 -0
- package/dist/typescript-fetch/models/AgeBracketModel.d.ts +39 -0
- package/dist/typescript-fetch/models/AgeBracketModel.js +40 -0
- package/dist/typescript-fetch/models/GetActiveCasesByAgeResponse.d.ts +46 -0
- package/dist/typescript-fetch/models/GetActiveCasesByAgeResponse.js +43 -0
- package/dist/typescript-fetch/models/IssueShortLivedTokenResponse.d.ts +27 -0
- package/dist/typescript-fetch/models/IssueShortLivedTokenResponse.js +36 -0
- package/dist/typescript-fetch/models/index.d.ts +3 -0
- package/dist/typescript-fetch/models/index.js +3 -0
- package/dist/typescript-open-api/otr-backend.d.ts +153 -2
- package/package.json +1 -1
|
@@ -93,6 +93,7 @@ api/refundEligibilityController.service.ts
|
|
|
93
93
|
api/registrationController.service.ts
|
|
94
94
|
api/reportingController.service.ts
|
|
95
95
|
api/scheduledTaskController.service.ts
|
|
96
|
+
api/shortLivedTokenController.service.ts
|
|
96
97
|
api/singleSignOnController.service.ts
|
|
97
98
|
api/snsListenerController.service.ts
|
|
98
99
|
api/socialLoginController.service.ts
|
|
@@ -159,6 +160,7 @@ model/addressDomainReq.ts
|
|
|
159
160
|
model/addressDomainRes.ts
|
|
160
161
|
model/addressEntity.ts
|
|
161
162
|
model/admin.ts
|
|
163
|
+
model/ageBracketModel.ts
|
|
162
164
|
model/agentBookingStats.ts
|
|
163
165
|
model/agentBookingsSummary.ts
|
|
164
166
|
model/aggregateBySource.ts
|
|
@@ -400,6 +402,7 @@ model/genericAdminListRequest.ts
|
|
|
400
402
|
model/geoRatesRequest.ts
|
|
401
403
|
model/getAcceptedCaseBreakdownResponse.ts
|
|
402
404
|
model/getAccountManagersResponse.ts
|
|
405
|
+
model/getActiveCasesByAgeResponse.ts
|
|
403
406
|
model/getActivityFeedResponse.ts
|
|
404
407
|
model/getAddressInnerResponse.ts
|
|
405
408
|
model/getAnonymousTicketUploads.ts
|
|
@@ -570,6 +573,7 @@ model/inviteLawyerToLawfirmRequest.ts
|
|
|
570
573
|
model/invoiceLineItemModel.ts
|
|
571
574
|
model/isRefundEligibleResponse.ts
|
|
572
575
|
model/isUserLoggedInResponse.ts
|
|
576
|
+
model/issueShortLivedTokenResponse.ts
|
|
573
577
|
model/item.ts
|
|
574
578
|
model/lastLoginAttributes.ts
|
|
575
579
|
model/lastLoginDateByUserAccount.ts
|
package/dist/angular/api/api.ts
CHANGED
|
@@ -180,6 +180,8 @@ export * from './reportingController.service';
|
|
|
180
180
|
import { ReportingControllerService } from './reportingController.service';
|
|
181
181
|
export * from './scheduledTaskController.service';
|
|
182
182
|
import { ScheduledTaskControllerService } from './scheduledTaskController.service';
|
|
183
|
+
export * from './shortLivedTokenController.service';
|
|
184
|
+
import { ShortLivedTokenControllerService } from './shortLivedTokenController.service';
|
|
183
185
|
export * from './singleSignOnController.service';
|
|
184
186
|
import { SingleSignOnControllerService } from './singleSignOnController.service';
|
|
185
187
|
export * from './snsListenerController.service';
|
|
@@ -232,4 +234,4 @@ export * from './websocketMessageController.service';
|
|
|
232
234
|
import { WebsocketMessageControllerService } from './websocketMessageController.service';
|
|
233
235
|
export * from './workflowStateController.service';
|
|
234
236
|
import { WorkflowStateControllerService } from './workflowStateController.service';
|
|
235
|
-
export const APIS = [ActionRequiredControllerService, ActivityFeedControllerService, AddressControllerService, AlertNotificationControllerService, AppEventsControllerService, AuditLawfirmEventsControllerService, AuditLogControllerService, AuthenticationControllerService, AwsCredentialsControllerService, BranchLinkControllerService, CaptchaControllerService, CaseActionsControllerService, CaseControllerService, CaseCounterOfferControllerService, CaseCreationControllerService, CaseDeclineControllerService, CaseNotesControllerService, CasePaymentControllerService, CaseReferralCodeControllerService, CaseRefundControllerService, CaseResolutionControllerService, CaseStatusControllerService, CaseTransferControllerService, CaseUserControllerService, CitationAuditControllerService, CitationControllerService, CoachingCardsControllerService, ConfigurationControllerService, ConsoleListControllerService, ContactLoopWebhookControllerService, ContactTimelineControllerService, ConversationControllerService, CountyControllerService, CourtControllerService, CrmControllerService, CustomerLeadControllerService, CustomerReviewControllerService, CustomerServiceAgentBookingsControllerService, CustomerServiceAgentControllerService, DashboardControllerService, DirectMailControllerService, DripControllerService, DripWebhooksControllerService, DriverLicenseControllerService, EmployeeControllerService, EventBridgeEmailNotificationControllerService, ExternalContentVoteControllerService, ExternalTicketLookupControllerService, FeedbackControllerService, FreshcallerControllerService, FreshdeskTicketControllerService, GetCaseControllerService, HouseholdMateControllerService, HubspotWebhookControllerService, InsuranceCalculatorControllerService, IntercomTicketControllerService, IntercomWebhookControllerService, LawfirmCaseDecisionControllerService, LawfirmCasesControllerService, LawfirmControllerService, LawfirmDashboardControllerService, LawfirmDocumentControllerService, LawfirmFeeCoverageControllerService, LawfirmPaymentModelControllerService, LawfirmRatesControllerService, LawfirmSettingsControllerService, LawfirmStorefrontControllerService, LawfirmSurchargeControllerService, LawfirmTransactionsControllerService, LawyerControllerService, LegalServicesControllerService, LineItemControllerService, ListCasesControllerService, MediaCreationControllerService, MessagesControllerService, NotesControllerService, OcrPipelineControllerService, 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, UserSocialProfileControllerService, UtilityControllerService, ValidationControllerService, VerificationControllerService, ViolationControllerService, ViolationPenaltyControllerService, WatchlistsControllerService, WebSocketControllerService, WebsocketMessageControllerService, WorkflowStateControllerService];
|
|
237
|
+
export const APIS = [ActionRequiredControllerService, ActivityFeedControllerService, AddressControllerService, AlertNotificationControllerService, AppEventsControllerService, AuditLawfirmEventsControllerService, AuditLogControllerService, AuthenticationControllerService, AwsCredentialsControllerService, BranchLinkControllerService, CaptchaControllerService, CaseActionsControllerService, CaseControllerService, CaseCounterOfferControllerService, CaseCreationControllerService, CaseDeclineControllerService, CaseNotesControllerService, CasePaymentControllerService, CaseReferralCodeControllerService, CaseRefundControllerService, CaseResolutionControllerService, CaseStatusControllerService, CaseTransferControllerService, CaseUserControllerService, CitationAuditControllerService, CitationControllerService, CoachingCardsControllerService, ConfigurationControllerService, ConsoleListControllerService, ContactLoopWebhookControllerService, ContactTimelineControllerService, ConversationControllerService, CountyControllerService, CourtControllerService, CrmControllerService, CustomerLeadControllerService, CustomerReviewControllerService, CustomerServiceAgentBookingsControllerService, CustomerServiceAgentControllerService, DashboardControllerService, DirectMailControllerService, DripControllerService, DripWebhooksControllerService, DriverLicenseControllerService, EmployeeControllerService, EventBridgeEmailNotificationControllerService, ExternalContentVoteControllerService, ExternalTicketLookupControllerService, FeedbackControllerService, FreshcallerControllerService, FreshdeskTicketControllerService, GetCaseControllerService, HouseholdMateControllerService, HubspotWebhookControllerService, InsuranceCalculatorControllerService, IntercomTicketControllerService, IntercomWebhookControllerService, LawfirmCaseDecisionControllerService, LawfirmCasesControllerService, LawfirmControllerService, LawfirmDashboardControllerService, LawfirmDocumentControllerService, LawfirmFeeCoverageControllerService, LawfirmPaymentModelControllerService, LawfirmRatesControllerService, LawfirmSettingsControllerService, LawfirmStorefrontControllerService, LawfirmSurchargeControllerService, LawfirmTransactionsControllerService, LawyerControllerService, LegalServicesControllerService, LineItemControllerService, ListCasesControllerService, MediaCreationControllerService, MessagesControllerService, NotesControllerService, OcrPipelineControllerService, OcrPredictionControllerService, OnDemandRequestControllerService, OneTimePasswordControllerService, PhoneLeadsControllerService, PushNotificationControllerService, RecurringBillingControllerService, RefLinkControllerService, ReferralCodeControllerService, ReferralControllerService, ReferralSourceControllerService, RefundEligibilityControllerService, RegistrationControllerService, ReportingControllerService, ScheduledTaskControllerService, ShortLivedTokenControllerService, SingleSignOnControllerService, SnsListenerControllerService, SocialLoginControllerService, StripeCardControllerService, StripeControllerService, StripeSyncControllerService, StripeWebhookControllerService, TicketReviewControllerService, UrlRedirectControllerService, UserAccountControllerService, UserAuditControllerService, UserControllerService, UserPasswordControllerService, UserProfileControllerService, UserSearchControllerService, UserSettingsControllerService, UserSocialProfileControllerService, UtilityControllerService, ValidationControllerService, VerificationControllerService, ViolationControllerService, ViolationPenaltyControllerService, WatchlistsControllerService, WebSocketControllerService, WebsocketMessageControllerService, WorkflowStateControllerService];
|
|
@@ -18,6 +18,8 @@ import { HttpClient, HttpHeaders, HttpParams,
|
|
|
18
18
|
import { CustomHttpParameterCodec } from '../encoder';
|
|
19
19
|
import { Observable } from 'rxjs';
|
|
20
20
|
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
import { GetActiveCasesByAgeResponse } from '../model/getActiveCasesByAgeResponse';
|
|
21
23
|
// @ts-ignore
|
|
22
24
|
import { GetLawfirmGrossEarningsResponse } from '../model/getLawfirmGrossEarningsResponse';
|
|
23
25
|
// @ts-ignore
|
|
@@ -93,6 +95,64 @@ export class LawfirmDashboardControllerService {
|
|
|
93
95
|
return httpParams;
|
|
94
96
|
}
|
|
95
97
|
|
|
98
|
+
/**
|
|
99
|
+
* getActiveCasesByAge
|
|
100
|
+
* @param lawfirmId lawfirmId
|
|
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 getActiveCasesByAgeUsingGET(lawfirmId: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<GetActiveCasesByAgeResponse>;
|
|
105
|
+
public getActiveCasesByAgeUsingGET(lawfirmId: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<GetActiveCasesByAgeResponse>>;
|
|
106
|
+
public getActiveCasesByAgeUsingGET(lawfirmId: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<GetActiveCasesByAgeResponse>>;
|
|
107
|
+
public getActiveCasesByAgeUsingGET(lawfirmId: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
|
|
108
|
+
if (lawfirmId === null || lawfirmId === undefined) {
|
|
109
|
+
throw new Error('Required parameter lawfirmId was null or undefined when calling getActiveCasesByAgeUsingGET.');
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
let localVarHeaders = this.defaultHeaders;
|
|
113
|
+
|
|
114
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
115
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
116
|
+
// to determine the Accept header
|
|
117
|
+
const httpHeaderAccepts: string[] = [
|
|
118
|
+
'*/*'
|
|
119
|
+
];
|
|
120
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
121
|
+
}
|
|
122
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
123
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
127
|
+
if (localVarHttpContext === undefined) {
|
|
128
|
+
localVarHttpContext = new HttpContext();
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
133
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
134
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
135
|
+
responseType_ = 'text';
|
|
136
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
137
|
+
responseType_ = 'json';
|
|
138
|
+
} else {
|
|
139
|
+
responseType_ = 'blob';
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
let localVarPath = `/api/v1/lawfirms/${this.configuration.encodeParam({name: "lawfirmId", value: lawfirmId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64"})}/dashboard/active-cases-by-age`;
|
|
144
|
+
return this.httpClient.request<GetActiveCasesByAgeResponse>('get', `${this.configuration.basePath}${localVarPath}`,
|
|
145
|
+
{
|
|
146
|
+
context: localVarHttpContext,
|
|
147
|
+
responseType: <any>responseType_,
|
|
148
|
+
withCredentials: this.configuration.withCredentials,
|
|
149
|
+
headers: localVarHeaders,
|
|
150
|
+
observe: observe,
|
|
151
|
+
reportProgress: reportProgress
|
|
152
|
+
}
|
|
153
|
+
);
|
|
154
|
+
}
|
|
155
|
+
|
|
96
156
|
/**
|
|
97
157
|
* getLawfirmGrossEarnings
|
|
98
158
|
* @param lawfirmId lawfirmId
|
|
@@ -0,0 +1,152 @@
|
|
|
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 { IssueShortLivedTokenResponse } from '../model/issueShortLivedTokenResponse';
|
|
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 ShortLivedTokenControllerService {
|
|
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
|
+
* issueShortLivedToken
|
|
96
|
+
* @param userId userId
|
|
97
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
98
|
+
* @param reportProgress flag to report request and response progress.
|
|
99
|
+
*/
|
|
100
|
+
public issueShortLivedTokenUsingGET(userId: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<IssueShortLivedTokenResponse>;
|
|
101
|
+
public issueShortLivedTokenUsingGET(userId: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<IssueShortLivedTokenResponse>>;
|
|
102
|
+
public issueShortLivedTokenUsingGET(userId: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<IssueShortLivedTokenResponse>>;
|
|
103
|
+
public issueShortLivedTokenUsingGET(userId: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
|
|
104
|
+
if (userId === null || userId === undefined) {
|
|
105
|
+
throw new Error('Required parameter userId was null or undefined when calling issueShortLivedTokenUsingGET.');
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
let localVarHeaders = this.defaultHeaders;
|
|
109
|
+
|
|
110
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
111
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
112
|
+
// to determine the Accept header
|
|
113
|
+
const httpHeaderAccepts: string[] = [
|
|
114
|
+
'*/*'
|
|
115
|
+
];
|
|
116
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
117
|
+
}
|
|
118
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
119
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
123
|
+
if (localVarHttpContext === undefined) {
|
|
124
|
+
localVarHttpContext = new HttpContext();
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
129
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
130
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
131
|
+
responseType_ = 'text';
|
|
132
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
133
|
+
responseType_ = 'json';
|
|
134
|
+
} else {
|
|
135
|
+
responseType_ = 'blob';
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
let localVarPath = `/api/v1/users/${this.configuration.encodeParam({name: "userId", value: userId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64"})}/short-lived-token`;
|
|
140
|
+
return this.httpClient.request<IssueShortLivedTokenResponse>('get', `${this.configuration.basePath}${localVarPath}`,
|
|
141
|
+
{
|
|
142
|
+
context: localVarHttpContext,
|
|
143
|
+
responseType: <any>responseType_,
|
|
144
|
+
withCredentials: this.configuration.withCredentials,
|
|
145
|
+
headers: localVarHeaders,
|
|
146
|
+
observe: observe,
|
|
147
|
+
reportProgress: reportProgress
|
|
148
|
+
}
|
|
149
|
+
);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
}
|
|
@@ -92,16 +92,34 @@ export class WebSocketControllerService {
|
|
|
92
92
|
/**
|
|
93
93
|
* connect
|
|
94
94
|
* @param connectionId connectionId
|
|
95
|
+
* @param token token
|
|
96
|
+
* @param userId userId
|
|
95
97
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
96
98
|
* @param reportProgress flag to report request and response progress.
|
|
97
99
|
*/
|
|
98
|
-
public connectUsingPOST(connectionId: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?:
|
|
99
|
-
public connectUsingPOST(connectionId: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?:
|
|
100
|
-
public connectUsingPOST(connectionId: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?:
|
|
101
|
-
public connectUsingPOST(connectionId: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?:
|
|
100
|
+
public connectUsingPOST(connectionId: string, token: string, userId: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<object>;
|
|
101
|
+
public connectUsingPOST(connectionId: string, token: string, userId: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<object>>;
|
|
102
|
+
public connectUsingPOST(connectionId: string, token: string, userId: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<object>>;
|
|
103
|
+
public connectUsingPOST(connectionId: string, token: string, userId: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
|
|
102
104
|
if (connectionId === null || connectionId === undefined) {
|
|
103
105
|
throw new Error('Required parameter connectionId was null or undefined when calling connectUsingPOST.');
|
|
104
106
|
}
|
|
107
|
+
if (token === null || token === undefined) {
|
|
108
|
+
throw new Error('Required parameter token was null or undefined when calling connectUsingPOST.');
|
|
109
|
+
}
|
|
110
|
+
if (userId === null || userId === undefined) {
|
|
111
|
+
throw new Error('Required parameter userId was null or undefined when calling connectUsingPOST.');
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
let localVarQueryParameters = new HttpParams({encoder: this.encoder});
|
|
115
|
+
if (token !== undefined && token !== null) {
|
|
116
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
|
117
|
+
<any>token, 'token');
|
|
118
|
+
}
|
|
119
|
+
if (userId !== undefined && userId !== null) {
|
|
120
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
|
121
|
+
<any>userId, 'userId');
|
|
122
|
+
}
|
|
105
123
|
|
|
106
124
|
let localVarHeaders = this.defaultHeaders;
|
|
107
125
|
if (connectionId !== undefined && connectionId !== null) {
|
|
@@ -112,6 +130,7 @@ export class WebSocketControllerService {
|
|
|
112
130
|
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
113
131
|
// to determine the Accept header
|
|
114
132
|
const httpHeaderAccepts: string[] = [
|
|
133
|
+
'*/*'
|
|
115
134
|
];
|
|
116
135
|
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
117
136
|
}
|
|
@@ -137,9 +156,10 @@ export class WebSocketControllerService {
|
|
|
137
156
|
}
|
|
138
157
|
|
|
139
158
|
let localVarPath = `/api/v1/websocket/connect`;
|
|
140
|
-
return this.httpClient.request<
|
|
159
|
+
return this.httpClient.request<object>('post', `${this.configuration.basePath}${localVarPath}`,
|
|
141
160
|
{
|
|
142
161
|
context: localVarHttpContext,
|
|
162
|
+
params: localVarQueryParameters,
|
|
143
163
|
responseType: <any>responseType_,
|
|
144
164
|
withCredentials: this.configuration.withCredentials,
|
|
145
165
|
headers: localVarHeaders,
|
|
@@ -93,6 +93,7 @@ import { RefundEligibilityControllerService } from './api/refundEligibilityContr
|
|
|
93
93
|
import { RegistrationControllerService } from './api/registrationController.service';
|
|
94
94
|
import { ReportingControllerService } from './api/reportingController.service';
|
|
95
95
|
import { ScheduledTaskControllerService } from './api/scheduledTaskController.service';
|
|
96
|
+
import { ShortLivedTokenControllerService } from './api/shortLivedTokenController.service';
|
|
96
97
|
import { SingleSignOnControllerService } from './api/singleSignOnController.service';
|
|
97
98
|
import { SnsListenerControllerService } from './api/snsListenerController.service';
|
|
98
99
|
import { SocialLoginControllerService } from './api/socialLoginController.service';
|
|
@@ -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 AgeBracketModel {
|
|
15
|
+
bracket?: string;
|
|
16
|
+
count?: number;
|
|
17
|
+
percentageOfTotal?: number;
|
|
18
|
+
}
|
|
19
|
+
|
|
@@ -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 { AgeBracketModel } from './ageBracketModel';
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
export interface GetActiveCasesByAgeResponse {
|
|
16
|
+
ageBreakdown?: Array<AgeBracketModel>;
|
|
17
|
+
medianAgeInDays?: number;
|
|
18
|
+
networkMedianAgeInDays?: number;
|
|
19
|
+
totalActiveCases?: number;
|
|
20
|
+
}
|
|
21
|
+
|
|
@@ -0,0 +1,17 @@
|
|
|
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 IssueShortLivedTokenResponse {
|
|
15
|
+
token?: string;
|
|
16
|
+
}
|
|
17
|
+
|
|
@@ -34,6 +34,7 @@ export * from './addressDomainReq';
|
|
|
34
34
|
export * from './addressDomainRes';
|
|
35
35
|
export * from './addressEntity';
|
|
36
36
|
export * from './admin';
|
|
37
|
+
export * from './ageBracketModel';
|
|
37
38
|
export * from './agentBookingStats';
|
|
38
39
|
export * from './agentBookingsSummary';
|
|
39
40
|
export * from './aggregateBySource';
|
|
@@ -275,6 +276,7 @@ export * from './genericAdminListRequest';
|
|
|
275
276
|
export * from './geoRatesRequest';
|
|
276
277
|
export * from './getAcceptedCaseBreakdownResponse';
|
|
277
278
|
export * from './getAccountManagersResponse';
|
|
279
|
+
export * from './getActiveCasesByAgeResponse';
|
|
278
280
|
export * from './getActivityFeedResponse';
|
|
279
281
|
export * from './getAddressInnerResponse';
|
|
280
282
|
export * from './getAnonymousTicketUploads';
|
|
@@ -445,6 +447,7 @@ export * from './inviteLawyerToLawfirmRequest';
|
|
|
445
447
|
export * from './invoiceLineItemModel';
|
|
446
448
|
export * from './isRefundEligibleResponse';
|
|
447
449
|
export * from './isUserLoggedInResponse';
|
|
450
|
+
export * from './issueShortLivedTokenResponse';
|
|
448
451
|
export * from './item';
|
|
449
452
|
export * from './lastLoginAttributes';
|
|
450
453
|
export * from './lastLoginDateByUserAccount';
|
|
@@ -10962,6 +10962,40 @@ angular.module('otrBackendService', [])
|
|
|
10962
10962
|
|
|
10963
10963
|
return deferred.promise;
|
|
10964
10964
|
};
|
|
10965
|
+
/**
|
|
10966
|
+
* getActiveCasesByAge
|
|
10967
|
+
* @method
|
|
10968
|
+
* @name OtrService#getActiveCasesByAgeUsingGET
|
|
10969
|
+
* @param {object} parameters - method options and parameters
|
|
10970
|
+
* @param {integer} parameters.lawfirmId - lawfirmId
|
|
10971
|
+
*/
|
|
10972
|
+
OtrService.prototype.getActiveCasesByAgeUsingGET = function(parameters) {
|
|
10973
|
+
if (parameters === undefined) {
|
|
10974
|
+
parameters = {};
|
|
10975
|
+
}
|
|
10976
|
+
var deferred = $q.defer();
|
|
10977
|
+
var domain = this.domain,
|
|
10978
|
+
path = '/api/v1/lawfirms/{lawfirmId}/dashboard/active-cases-by-age';
|
|
10979
|
+
var body = {},
|
|
10980
|
+
queryParameters = {},
|
|
10981
|
+
headers = {},
|
|
10982
|
+
form = {};
|
|
10983
|
+
|
|
10984
|
+
headers['Accept'] = ['*/*'];
|
|
10985
|
+
|
|
10986
|
+
path = path.replace('{lawfirmId}', parameters['lawfirmId']);
|
|
10987
|
+
|
|
10988
|
+
if (parameters['lawfirmId'] === undefined) {
|
|
10989
|
+
deferred.reject(new Error('Missing required parameter: lawfirmId'));
|
|
10990
|
+
return deferred.promise;
|
|
10991
|
+
}
|
|
10992
|
+
|
|
10993
|
+
queryParameters = mergeQueryParams(parameters, queryParameters);
|
|
10994
|
+
|
|
10995
|
+
this.request('GET', domain + path, parameters, body, headers, queryParameters, form, deferred);
|
|
10996
|
+
|
|
10997
|
+
return deferred.promise;
|
|
10998
|
+
};
|
|
10965
10999
|
/**
|
|
10966
11000
|
* getTopCourtEarnings
|
|
10967
11001
|
* @method
|
|
@@ -17892,6 +17926,40 @@ angular.module('otrBackendService', [])
|
|
|
17892
17926
|
|
|
17893
17927
|
return deferred.promise;
|
|
17894
17928
|
};
|
|
17929
|
+
/**
|
|
17930
|
+
* issueShortLivedToken
|
|
17931
|
+
* @method
|
|
17932
|
+
* @name OtrService#issueShortLivedTokenUsingGET
|
|
17933
|
+
* @param {object} parameters - method options and parameters
|
|
17934
|
+
* @param {integer} parameters.userId - userId
|
|
17935
|
+
*/
|
|
17936
|
+
OtrService.prototype.issueShortLivedTokenUsingGET = function(parameters) {
|
|
17937
|
+
if (parameters === undefined) {
|
|
17938
|
+
parameters = {};
|
|
17939
|
+
}
|
|
17940
|
+
var deferred = $q.defer();
|
|
17941
|
+
var domain = this.domain,
|
|
17942
|
+
path = '/api/v1/users/{userId}/short-lived-token';
|
|
17943
|
+
var body = {},
|
|
17944
|
+
queryParameters = {},
|
|
17945
|
+
headers = {},
|
|
17946
|
+
form = {};
|
|
17947
|
+
|
|
17948
|
+
headers['Accept'] = ['*/*'];
|
|
17949
|
+
|
|
17950
|
+
path = path.replace('{userId}', parameters['userId']);
|
|
17951
|
+
|
|
17952
|
+
if (parameters['userId'] === undefined) {
|
|
17953
|
+
deferred.reject(new Error('Missing required parameter: userId'));
|
|
17954
|
+
return deferred.promise;
|
|
17955
|
+
}
|
|
17956
|
+
|
|
17957
|
+
queryParameters = mergeQueryParams(parameters, queryParameters);
|
|
17958
|
+
|
|
17959
|
+
this.request('GET', domain + path, parameters, body, headers, queryParameters, form, deferred);
|
|
17960
|
+
|
|
17961
|
+
return deferred.promise;
|
|
17962
|
+
};
|
|
17895
17963
|
/**
|
|
17896
17964
|
* saveUserSocialProfiles
|
|
17897
17965
|
* @method
|
|
@@ -18969,6 +19037,8 @@ angular.module('otrBackendService', [])
|
|
|
18969
19037
|
* @name OtrService#connectUsingPOST
|
|
18970
19038
|
* @param {object} parameters - method options and parameters
|
|
18971
19039
|
* @param {string} parameters.connectionId - connectionId
|
|
19040
|
+
* @param {string} parameters.token - token
|
|
19041
|
+
* @param {integer} parameters.userId - userId
|
|
18972
19042
|
*/
|
|
18973
19043
|
OtrService.prototype.connectUsingPOST = function(parameters) {
|
|
18974
19044
|
if (parameters === undefined) {
|
|
@@ -18994,6 +19064,24 @@ angular.module('otrBackendService', [])
|
|
|
18994
19064
|
return deferred.promise;
|
|
18995
19065
|
}
|
|
18996
19066
|
|
|
19067
|
+
if (parameters['token'] !== undefined) {
|
|
19068
|
+
queryParameters['token'] = parameters['token'];
|
|
19069
|
+
}
|
|
19070
|
+
|
|
19071
|
+
if (parameters['token'] === undefined) {
|
|
19072
|
+
deferred.reject(new Error('Missing required parameter: token'));
|
|
19073
|
+
return deferred.promise;
|
|
19074
|
+
}
|
|
19075
|
+
|
|
19076
|
+
if (parameters['userId'] !== undefined) {
|
|
19077
|
+
queryParameters['userId'] = parameters['userId'];
|
|
19078
|
+
}
|
|
19079
|
+
|
|
19080
|
+
if (parameters['userId'] === undefined) {
|
|
19081
|
+
deferred.reject(new Error('Missing required parameter: userId'));
|
|
19082
|
+
return deferred.promise;
|
|
19083
|
+
}
|
|
19084
|
+
|
|
18997
19085
|
queryParameters = mergeQueryParams(parameters, queryParameters);
|
|
18998
19086
|
|
|
18999
19087
|
this.request('POST', domain + path, parameters, body, headers, queryParameters, form, deferred);
|