@otr-app/shared-backend-generated-client 2.4.7 → 2.4.9
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 +3 -2
- package/dist/angular/api/api.ts +3 -1
- package/dist/angular/api/intercomTicketController.service.ts +164 -0
- package/dist/angular/api/userSearchController.service.ts +9 -9
- package/dist/angular/api.module.ts +1 -0
- package/dist/angular/model/getUserByEmailRequest.ts +17 -0
- package/dist/angular/model/getUserByEmailResponse.ts +18 -0
- package/dist/angular/model/models.ts +2 -2
- package/dist/otrBackendService.js +47 -3
- package/dist/otrBackendService.min.js +5 -5
- package/dist/typescript/api/IntercomTicketControllerApi.d.ts +28 -0
- package/dist/typescript/api/IntercomTicketControllerApi.js +60 -0
- package/dist/typescript/api/UserSearchControllerApi.d.ts +2 -2
- package/dist/typescript/api/UserSearchControllerApi.js +3 -3
- 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/GetUserByEmailRequest.d.ts +14 -0
- package/dist/typescript/model/GetUserByEmailRequest.js +13 -0
- package/dist/typescript/model/GetUserByEmailResponse.d.ts +15 -0
- package/dist/typescript/model/GetUserByEmailResponse.js +13 -0
- package/dist/typescript/model/models.d.ts +2 -2
- package/dist/typescript/model/models.js +2 -2
- package/package.json +1 -1
|
@@ -59,6 +59,7 @@ api/getCaseController.service.ts
|
|
|
59
59
|
api/householdMateController.service.ts
|
|
60
60
|
api/hubspotWebhookController.service.ts
|
|
61
61
|
api/insuranceCalculatorController.service.ts
|
|
62
|
+
api/intercomTicketController.service.ts
|
|
62
63
|
api/lawfirmCaseDecisionController.service.ts
|
|
63
64
|
api/lawfirmCasesController.service.ts
|
|
64
65
|
api/lawfirmController.service.ts
|
|
@@ -407,8 +408,6 @@ model/getClientCasesResponse.ts
|
|
|
407
408
|
model/getClientConfirmedUnpaidCasesResponse.ts
|
|
408
409
|
model/getCoachingCardCategoriesResponse.ts
|
|
409
410
|
model/getCompetitionResponseModel.ts
|
|
410
|
-
model/getCountOfMatchingUsersRequest.ts
|
|
411
|
-
model/getCountOfMatchingUsersResponse.ts
|
|
412
411
|
model/getCounterOfferResponse.ts
|
|
413
412
|
model/getCountiesResponse.ts
|
|
414
413
|
model/getCountryListResponse.ts
|
|
@@ -491,6 +490,8 @@ model/getTicketReviewResponse.ts
|
|
|
491
490
|
model/getTrafficViolationModel.ts
|
|
492
491
|
model/getTrafficViolationTypesResponse.ts
|
|
493
492
|
model/getUserAddressesResponse.ts
|
|
493
|
+
model/getUserByEmailRequest.ts
|
|
494
|
+
model/getUserByEmailResponse.ts
|
|
494
495
|
model/getUserCasesResponse.ts
|
|
495
496
|
model/getUserDetailsResponse.ts
|
|
496
497
|
model/getUserRefLinksResponse.ts
|
package/dist/angular/api/api.ts
CHANGED
|
@@ -112,6 +112,8 @@ export * from './hubspotWebhookController.service';
|
|
|
112
112
|
import { HubspotWebhookControllerService } from './hubspotWebhookController.service';
|
|
113
113
|
export * from './insuranceCalculatorController.service';
|
|
114
114
|
import { InsuranceCalculatorControllerService } from './insuranceCalculatorController.service';
|
|
115
|
+
export * from './intercomTicketController.service';
|
|
116
|
+
import { IntercomTicketControllerService } from './intercomTicketController.service';
|
|
115
117
|
export * from './lawfirmCaseDecisionController.service';
|
|
116
118
|
import { LawfirmCaseDecisionControllerService } from './lawfirmCaseDecisionController.service';
|
|
117
119
|
export * from './lawfirmCasesController.service';
|
|
@@ -226,4 +228,4 @@ export * from './websocketMessageController.service';
|
|
|
226
228
|
import { WebsocketMessageControllerService } from './websocketMessageController.service';
|
|
227
229
|
export * from './workflowStateController.service';
|
|
228
230
|
import { WorkflowStateControllerService } from './workflowStateController.service';
|
|
229
|
-
export const APIS = [ActionRequiredControllerService, ActivityFeedControllerService, AddressControllerService, AlertNotificationControllerService, AppEventsControllerService, AuditLawfirmEventsControllerService, AuditLogControllerService, AuthenticationControllerService, AwsCredentialsControllerService, BlogWebhookControllerService, BranchLinkControllerService, CaptchaControllerService, CaseActionsControllerService, CaseControllerService, CaseCounterOfferControllerService, CaseCreationControllerService, CaseDeclineControllerService, CaseNotesControllerService, CasePaymentControllerService, CaseReferralCodeControllerService, CaseRefundControllerService, CaseResolutionControllerService, CaseStatusControllerService, CaseTransferControllerService, CaseUserControllerService, CertificateControllerService, CitationAuditControllerService, CitationControllerService, CoachingCardsControllerService, ConfigurationControllerService, ConsoleListControllerService, ContactLoopWebhookControllerService, ContactTimelineControllerService, ConversationControllerService, CountyControllerService, CourtControllerService, CrmControllerService, CustomerLeadControllerService, CustomerReviewControllerService, CustomerServiceAgentBookingsControllerService, CustomerServiceAgentControllerService, DashboardControllerService, DirectMailControllerService, DripControllerService, DripWebhooksControllerService, DriverLicenseControllerService, EmailSubscriptionControllerService, EmployeeControllerService, ExternalContentVoteControllerService, ExternalTicketLookupControllerService, FeedbackControllerService, FreshcallerControllerService, FreshdeskTicketControllerService, GetCaseControllerService, HouseholdMateControllerService, HubspotWebhookControllerService, InsuranceCalculatorControllerService, LawfirmCaseDecisionControllerService, LawfirmCasesControllerService, LawfirmControllerService, LawfirmDocumentControllerService, LawfirmFeeCoverageControllerService, LawfirmPaymentModelControllerService, LawfirmRatesControllerService, LawfirmSettingsControllerService, LawfirmStorefrontControllerService, LawfirmSurchargeControllerService, LawfirmTransactionsControllerService, LawyerControllerService, LegalServicesControllerService, LineItemControllerService, ListCasesControllerService, MediaCreationControllerService, MessagesControllerService, NotesControllerService, OcrPredictionControllerService, OnDemandRequestControllerService, OneTimePasswordControllerService, PhoneLeadsControllerService, PushNotificationControllerService, RecurringBillingControllerService, RefLinkControllerService, ReferralCodeControllerService, ReferralControllerService, ReferralSourceControllerService, RefundEligibilityControllerService, RegistrationControllerService, ReportingControllerService, ScheduledTaskControllerService, SingleSignOnControllerService, SnsListenerControllerService, SocialLoginControllerService, StripeCardControllerService, StripeControllerService, StripeSyncControllerService, StripeWebhookControllerService, TicketReviewControllerService, UrlRedirectControllerService, UserAccountControllerService, UserAuditControllerService, UserControllerService, UserPasswordControllerService, UserProfileControllerService, UserSearchControllerService, UserSettingsControllerService, UserSocialProfileControllerService, UtilityControllerService, ValidationControllerService, VerificationControllerService, ViolationControllerService, ViolationPenaltyControllerService, WatchlistsControllerService, WebsocketMessageControllerService, WorkflowStateControllerService];
|
|
231
|
+
export const APIS = [ActionRequiredControllerService, ActivityFeedControllerService, AddressControllerService, AlertNotificationControllerService, AppEventsControllerService, AuditLawfirmEventsControllerService, AuditLogControllerService, AuthenticationControllerService, AwsCredentialsControllerService, BlogWebhookControllerService, BranchLinkControllerService, CaptchaControllerService, CaseActionsControllerService, CaseControllerService, CaseCounterOfferControllerService, CaseCreationControllerService, CaseDeclineControllerService, CaseNotesControllerService, CasePaymentControllerService, CaseReferralCodeControllerService, CaseRefundControllerService, CaseResolutionControllerService, CaseStatusControllerService, CaseTransferControllerService, CaseUserControllerService, CertificateControllerService, CitationAuditControllerService, CitationControllerService, CoachingCardsControllerService, ConfigurationControllerService, ConsoleListControllerService, ContactLoopWebhookControllerService, ContactTimelineControllerService, ConversationControllerService, CountyControllerService, CourtControllerService, CrmControllerService, CustomerLeadControllerService, CustomerReviewControllerService, CustomerServiceAgentBookingsControllerService, CustomerServiceAgentControllerService, DashboardControllerService, DirectMailControllerService, DripControllerService, DripWebhooksControllerService, DriverLicenseControllerService, EmailSubscriptionControllerService, EmployeeControllerService, ExternalContentVoteControllerService, ExternalTicketLookupControllerService, FeedbackControllerService, FreshcallerControllerService, FreshdeskTicketControllerService, GetCaseControllerService, HouseholdMateControllerService, HubspotWebhookControllerService, InsuranceCalculatorControllerService, IntercomTicketControllerService, 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, UserSocialProfileControllerService, UtilityControllerService, ValidationControllerService, VerificationControllerService, ViolationControllerService, ViolationPenaltyControllerService, WatchlistsControllerService, WebsocketMessageControllerService, WorkflowStateControllerService];
|
|
@@ -0,0 +1,164 @@
|
|
|
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 { IntercomSearchTicketsResponse } from '../model/intercomSearchTicketsResponse';
|
|
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 IntercomTicketControllerService {
|
|
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
|
+
* getTicketsByEmail
|
|
96
|
+
* @param userId userId
|
|
97
|
+
* @param length length
|
|
98
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
99
|
+
* @param reportProgress flag to report request and response progress.
|
|
100
|
+
*/
|
|
101
|
+
public getTicketsByEmailUsingGET(userId: string, length?: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<IntercomSearchTicketsResponse>;
|
|
102
|
+
public getTicketsByEmailUsingGET(userId: string, length?: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<HttpResponse<IntercomSearchTicketsResponse>>;
|
|
103
|
+
public getTicketsByEmailUsingGET(userId: string, length?: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<HttpEvent<IntercomSearchTicketsResponse>>;
|
|
104
|
+
public getTicketsByEmailUsingGET(userId: string, length?: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<any> {
|
|
105
|
+
if (userId === null || userId === undefined) {
|
|
106
|
+
throw new Error('Required parameter userId was null or undefined when calling getTicketsByEmailUsingGET.');
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
let localVarQueryParameters = new HttpParams({encoder: this.encoder});
|
|
110
|
+
if (length !== undefined && length !== null) {
|
|
111
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
|
112
|
+
<any>length, 'length');
|
|
113
|
+
}
|
|
114
|
+
if (userId !== undefined && userId !== null) {
|
|
115
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
|
116
|
+
<any>userId, 'userId');
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
let localVarHeaders = this.defaultHeaders;
|
|
120
|
+
|
|
121
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
122
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
123
|
+
// to determine the Accept header
|
|
124
|
+
const httpHeaderAccepts: string[] = [
|
|
125
|
+
'application/json'
|
|
126
|
+
];
|
|
127
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
128
|
+
}
|
|
129
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
130
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
134
|
+
if (localVarHttpContext === undefined) {
|
|
135
|
+
localVarHttpContext = new HttpContext();
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
140
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
141
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
142
|
+
responseType_ = 'text';
|
|
143
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
144
|
+
responseType_ = 'json';
|
|
145
|
+
} else {
|
|
146
|
+
responseType_ = 'blob';
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
let localVarPath = `/api/v1/intercom/tickets/search`;
|
|
151
|
+
return this.httpClient.request<IntercomSearchTicketsResponse>('get', `${this.configuration.basePath}${localVarPath}`,
|
|
152
|
+
{
|
|
153
|
+
context: localVarHttpContext,
|
|
154
|
+
params: localVarQueryParameters,
|
|
155
|
+
responseType: <any>responseType_,
|
|
156
|
+
withCredentials: this.configuration.withCredentials,
|
|
157
|
+
headers: localVarHeaders,
|
|
158
|
+
observe: observe,
|
|
159
|
+
reportProgress: reportProgress
|
|
160
|
+
}
|
|
161
|
+
);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
}
|
|
@@ -23,9 +23,9 @@ import { FindMatchingUsersRequest } from '../model/findMatchingUsersRequest';
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { FindMatchingUsersResponse } from '../model/findMatchingUsersResponse';
|
|
25
25
|
// @ts-ignore
|
|
26
|
-
import {
|
|
26
|
+
import { GetUserByEmailRequest } from '../model/getUserByEmailRequest';
|
|
27
27
|
// @ts-ignore
|
|
28
|
-
import {
|
|
28
|
+
import { GetUserByEmailResponse } from '../model/getUserByEmailResponse';
|
|
29
29
|
|
|
30
30
|
// @ts-ignore
|
|
31
31
|
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
|
|
@@ -166,17 +166,17 @@ export class UserSearchControllerService {
|
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
/**
|
|
169
|
-
*
|
|
169
|
+
* getUserByEmail
|
|
170
170
|
* @param request request
|
|
171
171
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
172
172
|
* @param reportProgress flag to report request and response progress.
|
|
173
173
|
*/
|
|
174
|
-
public
|
|
175
|
-
public
|
|
176
|
-
public
|
|
177
|
-
public
|
|
174
|
+
public getUserByEmailUsingPOST(request: GetUserByEmailRequest, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<GetUserByEmailResponse>;
|
|
175
|
+
public getUserByEmailUsingPOST(request: GetUserByEmailRequest, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<GetUserByEmailResponse>>;
|
|
176
|
+
public getUserByEmailUsingPOST(request: GetUserByEmailRequest, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<GetUserByEmailResponse>>;
|
|
177
|
+
public getUserByEmailUsingPOST(request: GetUserByEmailRequest, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
|
|
178
178
|
if (request === null || request === undefined) {
|
|
179
|
-
throw new Error('Required parameter request was null or undefined when calling
|
|
179
|
+
throw new Error('Required parameter request was null or undefined when calling getUserByEmailUsingPOST.');
|
|
180
180
|
}
|
|
181
181
|
|
|
182
182
|
let localVarHeaders = this.defaultHeaders;
|
|
@@ -220,7 +220,7 @@ export class UserSearchControllerService {
|
|
|
220
220
|
}
|
|
221
221
|
|
|
222
222
|
let localVarPath = `/api/v1/users/matches`;
|
|
223
|
-
return this.httpClient.request<
|
|
223
|
+
return this.httpClient.request<GetUserByEmailResponse>('post', `${this.configuration.basePath}${localVarPath}`,
|
|
224
224
|
{
|
|
225
225
|
context: localVarHttpContext,
|
|
226
226
|
body: request,
|
|
@@ -59,6 +59,7 @@ import { GetCaseControllerService } from './api/getCaseController.service';
|
|
|
59
59
|
import { HouseholdMateControllerService } from './api/householdMateController.service';
|
|
60
60
|
import { HubspotWebhookControllerService } from './api/hubspotWebhookController.service';
|
|
61
61
|
import { InsuranceCalculatorControllerService } from './api/insuranceCalculatorController.service';
|
|
62
|
+
import { IntercomTicketControllerService } from './api/intercomTicketController.service';
|
|
62
63
|
import { LawfirmCaseDecisionControllerService } from './api/lawfirmCaseDecisionController.service';
|
|
63
64
|
import { LawfirmCasesControllerService } from './api/lawfirmCasesController.service';
|
|
64
65
|
import { LawfirmControllerService } from './api/lawfirmController.service';
|
|
@@ -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 GetUserByEmailRequest {
|
|
15
|
+
emailAddress?: string;
|
|
16
|
+
}
|
|
17
|
+
|
|
@@ -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
|
+
|
|
13
|
+
|
|
14
|
+
export interface GetUserByEmailResponse {
|
|
15
|
+
firstName?: string;
|
|
16
|
+
numMatchingUsers?: number;
|
|
17
|
+
}
|
|
18
|
+
|
|
@@ -285,8 +285,6 @@ export * from './getClientCasesResponse';
|
|
|
285
285
|
export * from './getClientConfirmedUnpaidCasesResponse';
|
|
286
286
|
export * from './getCoachingCardCategoriesResponse';
|
|
287
287
|
export * from './getCompetitionResponseModel';
|
|
288
|
-
export * from './getCountOfMatchingUsersRequest';
|
|
289
|
-
export * from './getCountOfMatchingUsersResponse';
|
|
290
288
|
export * from './getCounterOfferResponse';
|
|
291
289
|
export * from './getCountiesResponse';
|
|
292
290
|
export * from './getCountryListResponse';
|
|
@@ -369,6 +367,8 @@ export * from './getTicketReviewResponse';
|
|
|
369
367
|
export * from './getTrafficViolationModel';
|
|
370
368
|
export * from './getTrafficViolationTypesResponse';
|
|
371
369
|
export * from './getUserAddressesResponse';
|
|
370
|
+
export * from './getUserByEmailRequest';
|
|
371
|
+
export * from './getUserByEmailResponse';
|
|
372
372
|
export * from './getUserCasesResponse';
|
|
373
373
|
export * from './getUserDetailsResponse';
|
|
374
374
|
export * from './getUserRefLinksResponse';
|
|
@@ -8503,6 +8503,50 @@ angular.module('otrBackendService', [])
|
|
|
8503
8503
|
|
|
8504
8504
|
return deferred.promise;
|
|
8505
8505
|
};
|
|
8506
|
+
/**
|
|
8507
|
+
* getTicketsByEmail
|
|
8508
|
+
* @method
|
|
8509
|
+
* @name OtrService#getTicketsByEmailUsingGET
|
|
8510
|
+
* @param {object} parameters - method options and parameters
|
|
8511
|
+
* @param {integer} parameters.length - length
|
|
8512
|
+
* @param {string} parameters.userId - userId
|
|
8513
|
+
*/
|
|
8514
|
+
OtrService.prototype.getTicketsByEmailUsingGET = function(parameters) {
|
|
8515
|
+
if (parameters === undefined) {
|
|
8516
|
+
parameters = {};
|
|
8517
|
+
}
|
|
8518
|
+
var deferred = $q.defer();
|
|
8519
|
+
var domain = this.domain,
|
|
8520
|
+
path = '/api/v1/intercom/tickets/search';
|
|
8521
|
+
var body = {},
|
|
8522
|
+
queryParameters = {},
|
|
8523
|
+
headers = {},
|
|
8524
|
+
form = {};
|
|
8525
|
+
|
|
8526
|
+
headers['Accept'] = ['application/json'];
|
|
8527
|
+
|
|
8528
|
+
/** set default value **/
|
|
8529
|
+
queryParameters['length'] = 100;
|
|
8530
|
+
|
|
8531
|
+
if (parameters['length'] !== undefined) {
|
|
8532
|
+
queryParameters['length'] = parameters['length'];
|
|
8533
|
+
}
|
|
8534
|
+
|
|
8535
|
+
if (parameters['userId'] !== undefined) {
|
|
8536
|
+
queryParameters['userId'] = parameters['userId'];
|
|
8537
|
+
}
|
|
8538
|
+
|
|
8539
|
+
if (parameters['userId'] === undefined) {
|
|
8540
|
+
deferred.reject(new Error('Missing required parameter: userId'));
|
|
8541
|
+
return deferred.promise;
|
|
8542
|
+
}
|
|
8543
|
+
|
|
8544
|
+
queryParameters = mergeQueryParams(parameters, queryParameters);
|
|
8545
|
+
|
|
8546
|
+
this.request('GET', domain + path, parameters, body, headers, queryParameters, form, deferred);
|
|
8547
|
+
|
|
8548
|
+
return deferred.promise;
|
|
8549
|
+
};
|
|
8506
8550
|
/**
|
|
8507
8551
|
* refundLawfirmFee
|
|
8508
8552
|
* @method
|
|
@@ -15018,13 +15062,13 @@ angular.module('otrBackendService', [])
|
|
|
15018
15062
|
return deferred.promise;
|
|
15019
15063
|
};
|
|
15020
15064
|
/**
|
|
15021
|
-
*
|
|
15065
|
+
* getUserByEmail
|
|
15022
15066
|
* @method
|
|
15023
|
-
* @name OtrService#
|
|
15067
|
+
* @name OtrService#getUserByEmailUsingPOST
|
|
15024
15068
|
* @param {object} parameters - method options and parameters
|
|
15025
15069
|
* @param {} parameters.request - request
|
|
15026
15070
|
*/
|
|
15027
|
-
OtrService.prototype.
|
|
15071
|
+
OtrService.prototype.getUserByEmailUsingPOST = function(parameters) {
|
|
15028
15072
|
if (parameters === undefined) {
|
|
15029
15073
|
parameters = {};
|
|
15030
15074
|
}
|