@otr-app/shared-backend-generated-client 2.3.144 → 2.3.146
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/hubspotWebhookController.service.ts +159 -0
- package/dist/angular/api.module.ts +1 -0
- package/dist/angular/model/caseModel.ts +2 -0
- package/dist/angular/model/caseModelReq.ts +2 -0
- package/dist/angular/model/caseModelRes.ts +2 -0
- package/dist/angular/model/matchInnerCaseModel.ts +2 -0
- package/dist/angular/model/matchInnerCaseResponse.ts +2 -0
- package/dist/angular/model/models.ts +3 -0
- package/dist/angular/model/subscriptionDiscountEligibility.ts +27 -0
- package/dist/angular/model/subscriptionDiscountEligibilityReq.ts +27 -0
- package/dist/angular/model/subscriptionDiscountEligibilityRes.ts +27 -0
- package/dist/angular/model/workflowCaseModel.ts +2 -0
- package/dist/otrBackendService.js +37 -0
- package/dist/otrBackendService.min.js +1 -1
- package/dist/typescript/api/HubspotWebhookControllerApi.d.ts +26 -0
- package/dist/typescript/api/HubspotWebhookControllerApi.js +54 -0
- package/dist/typescript/api/api.d.ts +3 -1
- package/dist/typescript/api/api.js +3 -1
- package/dist/typescript/api.module.js +1 -0
- package/dist/typescript/model/CaseModel.d.ts +1 -0
- package/dist/typescript/model/CaseModelReq.d.ts +1 -0
- package/dist/typescript/model/CaseModelRes.d.ts +1 -0
- package/dist/typescript/model/MatchInnerCaseModel.d.ts +1 -0
- package/dist/typescript/model/MatchInnerCaseResponse.d.ts +1 -0
- package/dist/typescript/model/SubscriptionDiscountEligibility.d.ts +22 -0
- package/dist/typescript/model/SubscriptionDiscountEligibility.js +23 -0
- package/dist/typescript/model/SubscriptionDiscountEligibilityReq.d.ts +22 -0
- package/dist/typescript/model/SubscriptionDiscountEligibilityReq.js +23 -0
- package/dist/typescript/model/SubscriptionDiscountEligibilityRes.d.ts +22 -0
- package/dist/typescript/model/SubscriptionDiscountEligibilityRes.js +23 -0
- package/dist/typescript/model/WorkflowCaseModel.d.ts +1 -0
- package/dist/typescript/model/models.d.ts +3 -0
- package/dist/typescript/model/models.js +3 -0
- package/package.json +1 -1
|
@@ -50,6 +50,7 @@ api/freshcallerController.service.ts
|
|
|
50
50
|
api/freshdeskTicketController.service.ts
|
|
51
51
|
api/getCaseController.service.ts
|
|
52
52
|
api/householdMateController.service.ts
|
|
53
|
+
api/hubspotWebhookController.service.ts
|
|
53
54
|
api/insuranceCalculatorController.service.ts
|
|
54
55
|
api/lawfirmCaseDecisionController.service.ts
|
|
55
56
|
api/lawfirmCasesController.service.ts
|
|
@@ -716,6 +717,9 @@ model/stripeTransferSyncResults.ts
|
|
|
716
717
|
model/subscribeRequest.ts
|
|
717
718
|
model/subscriber.ts
|
|
718
719
|
model/subscriberDomain.ts
|
|
720
|
+
model/subscriptionDiscountEligibility.ts
|
|
721
|
+
model/subscriptionDiscountEligibilityReq.ts
|
|
722
|
+
model/subscriptionDiscountEligibilityRes.ts
|
|
719
723
|
model/syncStripeChargesRequest.ts
|
|
720
724
|
model/syncStripeChargesResponse.ts
|
|
721
725
|
model/syncStripeDisputeResponse.ts
|
package/dist/angular/api/api.ts
CHANGED
|
@@ -94,6 +94,8 @@ export * from './getCaseController.service';
|
|
|
94
94
|
import { GetCaseControllerService } from './getCaseController.service';
|
|
95
95
|
export * from './householdMateController.service';
|
|
96
96
|
import { HouseholdMateControllerService } from './householdMateController.service';
|
|
97
|
+
export * from './hubspotWebhookController.service';
|
|
98
|
+
import { HubspotWebhookControllerService } from './hubspotWebhookController.service';
|
|
97
99
|
export * from './insuranceCalculatorController.service';
|
|
98
100
|
import { InsuranceCalculatorControllerService } from './insuranceCalculatorController.service';
|
|
99
101
|
export * from './lawfirmCaseDecisionController.service';
|
|
@@ -208,4 +210,4 @@ export * from './websocketMessageController.service';
|
|
|
208
210
|
import { WebsocketMessageControllerService } from './websocketMessageController.service';
|
|
209
211
|
export * from './workflowStateController.service';
|
|
210
212
|
import { WorkflowStateControllerService } from './workflowStateController.service';
|
|
211
|
-
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, ExternalContentVoteControllerService, 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];
|
|
213
|
+
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, 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, UtilityControllerService, ValidationControllerService, VerificationControllerService, ViolationControllerService, ViolationPenaltyControllerService, WatchlistsControllerService, WebsocketMessageControllerService, WorkflowStateControllerService];
|
|
@@ -0,0 +1,159 @@
|
|
|
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
|
+
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
|
|
24
|
+
import { Configuration } from '../configuration';
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
@Injectable({
|
|
29
|
+
providedIn: 'root'
|
|
30
|
+
})
|
|
31
|
+
export class HubspotWebhookControllerService {
|
|
32
|
+
|
|
33
|
+
protected basePath = 'http://otr-backend-service-us-devo.offtherecord.com';
|
|
34
|
+
public defaultHeaders = new HttpHeaders();
|
|
35
|
+
public configuration = new Configuration();
|
|
36
|
+
public encoder: HttpParameterCodec;
|
|
37
|
+
|
|
38
|
+
constructor(protected httpClient: HttpClient, @Optional()@Inject(BASE_PATH) basePath: string|string[], @Optional() configuration: Configuration) {
|
|
39
|
+
if (configuration) {
|
|
40
|
+
this.configuration = configuration;
|
|
41
|
+
}
|
|
42
|
+
if (typeof this.configuration.basePath !== 'string') {
|
|
43
|
+
if (Array.isArray(basePath) && basePath.length > 0) {
|
|
44
|
+
basePath = basePath[0];
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
if (typeof basePath !== 'string') {
|
|
48
|
+
basePath = this.basePath;
|
|
49
|
+
}
|
|
50
|
+
this.configuration.basePath = basePath;
|
|
51
|
+
}
|
|
52
|
+
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
// @ts-ignore
|
|
57
|
+
private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {
|
|
58
|
+
if (typeof value === "object" && value instanceof Date === false) {
|
|
59
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
60
|
+
} else {
|
|
61
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
62
|
+
}
|
|
63
|
+
return httpParams;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
private addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string): HttpParams {
|
|
67
|
+
if (value == null) {
|
|
68
|
+
return httpParams;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
if (typeof value === "object") {
|
|
72
|
+
if (Array.isArray(value)) {
|
|
73
|
+
(value as any[]).forEach( elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
74
|
+
} else if (value instanceof Date) {
|
|
75
|
+
if (key != null) {
|
|
76
|
+
httpParams = httpParams.append(key, (value as Date).toISOString().substr(0, 10));
|
|
77
|
+
} else {
|
|
78
|
+
throw Error("key may not be null if value is Date");
|
|
79
|
+
}
|
|
80
|
+
} else {
|
|
81
|
+
Object.keys(value).forEach( k => httpParams = this.addToHttpParamsRecursive(
|
|
82
|
+
httpParams, value[k], key != null ? `${key}.${k}` : k));
|
|
83
|
+
}
|
|
84
|
+
} else if (key != null) {
|
|
85
|
+
httpParams = httpParams.append(key, value);
|
|
86
|
+
} else {
|
|
87
|
+
throw Error("key may not be null if value is not object or array");
|
|
88
|
+
}
|
|
89
|
+
return httpParams;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* onDeliveredEmailFromHubspot
|
|
94
|
+
* @param body body
|
|
95
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
96
|
+
* @param reportProgress flag to report request and response progress.
|
|
97
|
+
*/
|
|
98
|
+
public onDeliveredEmailFromHubspotUsingPOST(body: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<any>;
|
|
99
|
+
public onDeliveredEmailFromHubspotUsingPOST(body: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<HttpResponse<any>>;
|
|
100
|
+
public onDeliveredEmailFromHubspotUsingPOST(body: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<HttpEvent<any>>;
|
|
101
|
+
public onDeliveredEmailFromHubspotUsingPOST(body: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<any> {
|
|
102
|
+
if (body === null || body === undefined) {
|
|
103
|
+
throw new Error('Required parameter body was null or undefined when calling onDeliveredEmailFromHubspotUsingPOST.');
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
let localVarHeaders = this.defaultHeaders;
|
|
107
|
+
|
|
108
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
109
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
110
|
+
// to determine the Accept header
|
|
111
|
+
const httpHeaderAccepts: string[] = [
|
|
112
|
+
];
|
|
113
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
114
|
+
}
|
|
115
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
116
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
120
|
+
if (localVarHttpContext === undefined) {
|
|
121
|
+
localVarHttpContext = new HttpContext();
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
// to determine the Content-Type header
|
|
126
|
+
const consumes: string[] = [
|
|
127
|
+
'application/json'
|
|
128
|
+
];
|
|
129
|
+
const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
|
|
130
|
+
if (httpContentTypeSelected !== undefined) {
|
|
131
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
135
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
136
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
137
|
+
responseType_ = 'text';
|
|
138
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
139
|
+
responseType_ = 'json';
|
|
140
|
+
} else {
|
|
141
|
+
responseType_ = 'blob';
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
let localVarPath = `/api/v1/webhooks/hubspot/email-delivered`;
|
|
146
|
+
return this.httpClient.request<any>('post', `${this.configuration.basePath}${localVarPath}`,
|
|
147
|
+
{
|
|
148
|
+
context: localVarHttpContext,
|
|
149
|
+
body: body,
|
|
150
|
+
responseType: <any>responseType_,
|
|
151
|
+
withCredentials: this.configuration.withCredentials,
|
|
152
|
+
headers: localVarHeaders,
|
|
153
|
+
observe: observe,
|
|
154
|
+
reportProgress: reportProgress
|
|
155
|
+
}
|
|
156
|
+
);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
}
|
|
@@ -50,6 +50,7 @@ import { FreshcallerControllerService } from './api/freshcallerController.servic
|
|
|
50
50
|
import { FreshdeskTicketControllerService } from './api/freshdeskTicketController.service';
|
|
51
51
|
import { GetCaseControllerService } from './api/getCaseController.service';
|
|
52
52
|
import { HouseholdMateControllerService } from './api/householdMateController.service';
|
|
53
|
+
import { HubspotWebhookControllerService } from './api/hubspotWebhookController.service';
|
|
53
54
|
import { InsuranceCalculatorControllerService } from './api/insuranceCalculatorController.service';
|
|
54
55
|
import { LawfirmCaseDecisionControllerService } from './api/lawfirmCaseDecisionController.service';
|
|
55
56
|
import { LawfirmCasesControllerService } from './api/lawfirmCasesController.service';
|
|
@@ -13,6 +13,7 @@ import { CitationModel } from './citationModel';
|
|
|
13
13
|
import { LawfirmCaseModel } from './lawfirmCaseModel';
|
|
14
14
|
import { CaseStatusDomain } from './caseStatusDomain';
|
|
15
15
|
import { CaseViolationPenalty } from './caseViolationPenalty';
|
|
16
|
+
import { SubscriptionDiscountEligibility } from './subscriptionDiscountEligibility';
|
|
16
17
|
import { UserDomain } from './userDomain';
|
|
17
18
|
import { CaseActionDomain } from './caseActionDomain';
|
|
18
19
|
import { LetterOfEngagement } from './letterOfEngagement';
|
|
@@ -48,6 +49,7 @@ export interface CaseModel {
|
|
|
48
49
|
referralCode?: string;
|
|
49
50
|
refundEligibility?: CaseModel.RefundEligibilityEnum;
|
|
50
51
|
resolutionSummary?: string;
|
|
52
|
+
subscriptionDiscountEligibility?: SubscriptionDiscountEligibility;
|
|
51
53
|
uiRefundMsg?: string;
|
|
52
54
|
user?: UserDomain;
|
|
53
55
|
userId?: number;
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { LawfirmCaseModelReq } from './lawfirmCaseModelReq';
|
|
13
|
+
import { SubscriptionDiscountEligibilityReq } from './subscriptionDiscountEligibilityReq';
|
|
13
14
|
import { CaseStatusDomain } from './caseStatusDomain';
|
|
14
15
|
import { CancelationDetailsReq } from './cancelationDetailsReq';
|
|
15
16
|
import { CaseViolationPenalty } from './caseViolationPenalty';
|
|
@@ -48,6 +49,7 @@ export interface CaseModelReq {
|
|
|
48
49
|
referralCode?: string;
|
|
49
50
|
refundEligibility?: CaseModelReq.RefundEligibilityEnum;
|
|
50
51
|
resolutionSummary?: string;
|
|
52
|
+
subscriptionDiscountEligibility?: SubscriptionDiscountEligibilityReq;
|
|
51
53
|
uiRefundMsg?: string;
|
|
52
54
|
user?: UserDomainReq;
|
|
53
55
|
userId?: number;
|
|
@@ -19,6 +19,7 @@ import { TimestampRes } from './timestampRes';
|
|
|
19
19
|
import { CaseActionDomain } from './caseActionDomain';
|
|
20
20
|
import { LetterOfEngagement } from './letterOfEngagement';
|
|
21
21
|
import { CitationModelRes } from './citationModelRes';
|
|
22
|
+
import { SubscriptionDiscountEligibilityRes } from './subscriptionDiscountEligibilityRes';
|
|
22
23
|
|
|
23
24
|
|
|
24
25
|
export interface CaseModelRes {
|
|
@@ -48,6 +49,7 @@ export interface CaseModelRes {
|
|
|
48
49
|
referralCode?: string;
|
|
49
50
|
refundEligibility?: CaseModelRes.RefundEligibilityEnum;
|
|
50
51
|
resolutionSummary?: string;
|
|
52
|
+
subscriptionDiscountEligibility?: SubscriptionDiscountEligibilityRes;
|
|
51
53
|
uiRefundMsg?: string;
|
|
52
54
|
user?: UserDomainRes;
|
|
53
55
|
userId?: number;
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import { MatchCitationModel } from './matchCitationModel';
|
|
13
13
|
import { MatchLegalServiceModel } from './matchLegalServiceModel';
|
|
14
14
|
import { MatchCaseViolationPenaltyModel } from './matchCaseViolationPenaltyModel';
|
|
15
|
+
import { SubscriptionDiscountEligibility } from './subscriptionDiscountEligibility';
|
|
15
16
|
import { Timestamp } from './timestamp';
|
|
16
17
|
import { PaymentPlanTypeModel } from './paymentPlanTypeModel';
|
|
17
18
|
|
|
@@ -28,6 +29,7 @@ export interface MatchInnerCaseModel {
|
|
|
28
29
|
paymentPlanTypeModel?: PaymentPlanTypeModel;
|
|
29
30
|
referralCode?: string;
|
|
30
31
|
referralCodeOwner?: MatchInnerCaseModel.ReferralCodeOwnerEnum;
|
|
32
|
+
subscriptionDiscountEligibility?: SubscriptionDiscountEligibility;
|
|
31
33
|
userId?: number;
|
|
32
34
|
}
|
|
33
35
|
export namespace MatchInnerCaseModel {
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { CaseViolationPenalty } from './caseViolationPenalty';
|
|
13
|
+
import { SubscriptionDiscountEligibility } from './subscriptionDiscountEligibility';
|
|
13
14
|
import { MatchCitationResponse } from './matchCitationResponse';
|
|
14
15
|
import { MatchLawfirmCaseResponse } from './matchLawfirmCaseResponse';
|
|
15
16
|
|
|
@@ -22,6 +23,7 @@ export interface MatchInnerCaseResponse {
|
|
|
22
23
|
maxPenalties?: Array<CaseViolationPenalty>;
|
|
23
24
|
referralCodeOwner?: MatchInnerCaseResponse.ReferralCodeOwnerEnum;
|
|
24
25
|
refundEligibility?: MatchInnerCaseResponse.RefundEligibilityEnum;
|
|
26
|
+
subscriptionDiscountEligibility?: SubscriptionDiscountEligibility;
|
|
25
27
|
uiReasonMsg?: string;
|
|
26
28
|
userId?: number;
|
|
27
29
|
}
|
|
@@ -602,6 +602,9 @@ export * from './stripeTransferSyncResults';
|
|
|
602
602
|
export * from './subscribeRequest';
|
|
603
603
|
export * from './subscriber';
|
|
604
604
|
export * from './subscriberDomain';
|
|
605
|
+
export * from './subscriptionDiscountEligibility';
|
|
606
|
+
export * from './subscriptionDiscountEligibilityReq';
|
|
607
|
+
export * from './subscriptionDiscountEligibilityRes';
|
|
605
608
|
export * from './syncStripeChargesRequest';
|
|
606
609
|
export * from './syncStripeChargesResponse';
|
|
607
610
|
export * from './syncStripeDisputeResponse';
|
|
@@ -0,0 +1,27 @@
|
|
|
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 SubscriptionDiscountEligibility {
|
|
15
|
+
subscriptionDiscountEligibilityType?: SubscriptionDiscountEligibility.SubscriptionDiscountEligibilityTypeEnum;
|
|
16
|
+
uiSubscriptionEligibilityMsg?: string;
|
|
17
|
+
}
|
|
18
|
+
export namespace SubscriptionDiscountEligibility {
|
|
19
|
+
export type SubscriptionDiscountEligibilityTypeEnum = 'IS_ELIGIBLE' | 'IS_NOT_ELIGIBLE' | 'NOT_APPLICABLE';
|
|
20
|
+
export const SubscriptionDiscountEligibilityTypeEnum = {
|
|
21
|
+
IsEligible: 'IS_ELIGIBLE' as SubscriptionDiscountEligibilityTypeEnum,
|
|
22
|
+
IsNotEligible: 'IS_NOT_ELIGIBLE' as SubscriptionDiscountEligibilityTypeEnum,
|
|
23
|
+
NotApplicable: 'NOT_APPLICABLE' as SubscriptionDiscountEligibilityTypeEnum
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
|
|
@@ -0,0 +1,27 @@
|
|
|
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 SubscriptionDiscountEligibilityReq {
|
|
15
|
+
subscriptionDiscountEligibilityType?: SubscriptionDiscountEligibilityReq.SubscriptionDiscountEligibilityTypeEnum;
|
|
16
|
+
uiSubscriptionEligibilityMsg?: string;
|
|
17
|
+
}
|
|
18
|
+
export namespace SubscriptionDiscountEligibilityReq {
|
|
19
|
+
export type SubscriptionDiscountEligibilityTypeEnum = 'IS_ELIGIBLE' | 'IS_NOT_ELIGIBLE' | 'NOT_APPLICABLE';
|
|
20
|
+
export const SubscriptionDiscountEligibilityTypeEnum = {
|
|
21
|
+
IsEligible: 'IS_ELIGIBLE' as SubscriptionDiscountEligibilityTypeEnum,
|
|
22
|
+
IsNotEligible: 'IS_NOT_ELIGIBLE' as SubscriptionDiscountEligibilityTypeEnum,
|
|
23
|
+
NotApplicable: 'NOT_APPLICABLE' as SubscriptionDiscountEligibilityTypeEnum
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
|
|
@@ -0,0 +1,27 @@
|
|
|
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 SubscriptionDiscountEligibilityRes {
|
|
15
|
+
subscriptionDiscountEligibilityType?: SubscriptionDiscountEligibilityRes.SubscriptionDiscountEligibilityTypeEnum;
|
|
16
|
+
uiSubscriptionEligibilityMsg?: string;
|
|
17
|
+
}
|
|
18
|
+
export namespace SubscriptionDiscountEligibilityRes {
|
|
19
|
+
export type SubscriptionDiscountEligibilityTypeEnum = 'IS_ELIGIBLE' | 'IS_NOT_ELIGIBLE' | 'NOT_APPLICABLE';
|
|
20
|
+
export const SubscriptionDiscountEligibilityTypeEnum = {
|
|
21
|
+
IsEligible: 'IS_ELIGIBLE' as SubscriptionDiscountEligibilityTypeEnum,
|
|
22
|
+
IsNotEligible: 'IS_NOT_ELIGIBLE' as SubscriptionDiscountEligibilityTypeEnum,
|
|
23
|
+
NotApplicable: 'NOT_APPLICABLE' as SubscriptionDiscountEligibilityTypeEnum
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { SubscriptionDiscountEligibility } from './subscriptionDiscountEligibility';
|
|
12
13
|
import { WorkflowViolationPenaltyModel } from './workflowViolationPenaltyModel';
|
|
13
14
|
import { WorkflowCitationModel } from './workflowCitationModel';
|
|
14
15
|
import { LetterOfEngagement } from './letterOfEngagement';
|
|
@@ -30,6 +31,7 @@ export interface WorkflowCaseModel {
|
|
|
30
31
|
paymentPlanTypeModel?: PaymentPlanTypeModel;
|
|
31
32
|
referralCode?: string;
|
|
32
33
|
referralCodeOwner?: WorkflowCaseModel.ReferralCodeOwnerEnum;
|
|
34
|
+
subscriptionDiscountEligibility?: SubscriptionDiscountEligibility;
|
|
33
35
|
userId?: number;
|
|
34
36
|
}
|
|
35
37
|
export namespace WorkflowCaseModel {
|
|
@@ -15823,6 +15823,43 @@ angular.module('otrBackendService', [])
|
|
|
15823
15823
|
|
|
15824
15824
|
return deferred.promise;
|
|
15825
15825
|
};
|
|
15826
|
+
/**
|
|
15827
|
+
* onDeliveredEmailFromHubspot
|
|
15828
|
+
* @method
|
|
15829
|
+
* @name OtrService#onDeliveredEmailFromHubspotUsingPOST
|
|
15830
|
+
* @param {object} parameters - method options and parameters
|
|
15831
|
+
* @param {} parameters.body - body
|
|
15832
|
+
*/
|
|
15833
|
+
OtrService.prototype.onDeliveredEmailFromHubspotUsingPOST = function(parameters) {
|
|
15834
|
+
if (parameters === undefined) {
|
|
15835
|
+
parameters = {};
|
|
15836
|
+
}
|
|
15837
|
+
var deferred = $q.defer();
|
|
15838
|
+
var domain = this.domain,
|
|
15839
|
+
path = '/api/v1/webhooks/hubspot/email-delivered';
|
|
15840
|
+
var body = {},
|
|
15841
|
+
queryParameters = {},
|
|
15842
|
+
headers = {},
|
|
15843
|
+
form = {};
|
|
15844
|
+
|
|
15845
|
+
headers['Accept'] = ['*/*'];
|
|
15846
|
+
headers['Content-Type'] = ['application/json'];
|
|
15847
|
+
|
|
15848
|
+
if (parameters['body'] !== undefined) {
|
|
15849
|
+
body = parameters['body'];
|
|
15850
|
+
}
|
|
15851
|
+
|
|
15852
|
+
if (parameters['body'] === undefined) {
|
|
15853
|
+
deferred.reject(new Error('Missing required parameter: body'));
|
|
15854
|
+
return deferred.promise;
|
|
15855
|
+
}
|
|
15856
|
+
|
|
15857
|
+
queryParameters = mergeQueryParams(parameters, queryParameters);
|
|
15858
|
+
|
|
15859
|
+
this.request('POST', domain + path, parameters, body, headers, queryParameters, form, deferred);
|
|
15860
|
+
|
|
15861
|
+
return deferred.promise;
|
|
15862
|
+
};
|
|
15826
15863
|
/**
|
|
15827
15864
|
* handleEvent
|
|
15828
15865
|
* @method
|