@otr-app/shared-backend-generated-client 2.5.91 → 2.5.92
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 +6 -1
- package/dist/angular/api/api.ts +3 -1
- package/dist/angular/api/eventBridgeEmailNotificationController.service.ts +166 -0
- package/dist/angular/api/snsListenerController.service.ts +0 -71
- package/dist/angular/api.module.ts +1 -0
- package/dist/angular/model/eventBridgeRequest.ts +26 -0
- package/dist/angular/model/models.ts +5 -1
- package/dist/angular/model/sesBounceObject.ts +29 -0
- package/dist/angular/model/sesComplaintObject.ts +19 -0
- package/dist/angular/model/sesEventDetail.ts +23 -0
- package/dist/angular/model/sesMailObject.ts +21 -0
- package/dist/otrBackendService.js +42 -37
- package/dist/otrBackendService.min.js +7 -7
- package/dist/typescript/api/EventBridgeEmailNotificationControllerApi.d.ts +27 -0
- package/dist/typescript/api/EventBridgeEmailNotificationControllerApi.js +51 -0
- package/dist/typescript/api/SnsListenerControllerApi.d.ts +0 -6
- package/dist/typescript/api/SnsListenerControllerApi.js +0 -25
- 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/EventBridgeRequest.d.ts +23 -0
- package/dist/typescript/model/EventBridgeRequest.js +12 -0
- package/dist/typescript/model/SesBounceObject.d.ts +24 -0
- package/dist/typescript/model/SesBounceObject.js +20 -0
- package/dist/typescript/model/SesComplaintObject.d.ts +16 -0
- package/dist/typescript/model/SesComplaintObject.js +12 -0
- package/dist/typescript/model/SesEventDetail.d.ts +18 -0
- package/dist/typescript/model/SesEventDetail.js +12 -0
- package/dist/typescript/model/SesMailObject.d.ts +18 -0
- package/dist/typescript/model/SesMailObject.js +12 -0
- package/dist/typescript/model/models.d.ts +5 -1
- package/dist/typescript/model/models.js +5 -1
- package/dist/typescript-fetch/apis/EventBridgeEmailNotificationControllerApi.d.ts +30 -0
- package/dist/typescript-fetch/apis/EventBridgeEmailNotificationControllerApi.js +62 -0
- package/dist/typescript-fetch/apis/SnsListenerControllerApi.d.ts +1 -12
- package/dist/typescript-fetch/apis/SnsListenerControllerApi.js +1 -31
- package/dist/typescript-fetch/apis/index.d.ts +1 -0
- package/dist/typescript-fetch/apis/index.js +1 -0
- package/dist/typescript-fetch/models/EventBridgeRequest.d.ts +76 -0
- package/dist/typescript-fetch/models/EventBridgeRequest.js +53 -0
- package/dist/typescript-fetch/models/SesBounceObject.d.ts +54 -0
- package/dist/typescript-fetch/models/SesBounceObject.js +52 -0
- package/dist/typescript-fetch/models/SesComplaintObject.d.ts +39 -0
- package/dist/typescript-fetch/models/SesComplaintObject.js +40 -0
- package/dist/typescript-fetch/models/SesEventDetail.d.ts +46 -0
- package/dist/typescript-fetch/models/SesEventDetail.js +43 -0
- package/dist/typescript-fetch/models/SesMailObject.d.ts +51 -0
- package/dist/typescript-fetch/models/SesMailObject.js +44 -0
- package/dist/typescript-fetch/models/index.d.ts +5 -1
- package/dist/typescript-fetch/models/index.js +5 -1
- package/dist/typescript-open-api/otr-backend.d.ts +118 -77
- package/dist/typescript-open-api/otr-backend.js +6 -0
- package/package.json +1 -1
- package/dist/typescript-fetch/models/SNSNotificationRequest.d.ts +0 -45
- package/dist/typescript-fetch/models/SNSNotificationRequest.js +0 -42
|
@@ -50,6 +50,7 @@ api/dripWebhooksController.service.ts
|
|
|
50
50
|
api/driverLicenseController.service.ts
|
|
51
51
|
api/emailSubscriptionController.service.ts
|
|
52
52
|
api/employeeController.service.ts
|
|
53
|
+
api/eventBridgeEmailNotificationController.service.ts
|
|
53
54
|
api/externalContentVoteController.service.ts
|
|
54
55
|
api/externalTicketLookupController.service.ts
|
|
55
56
|
api/feedbackController.service.ts
|
|
@@ -361,6 +362,7 @@ model/enableViolationsForLawfirmResponse.ts
|
|
|
361
362
|
model/engagementLetterModel.ts
|
|
362
363
|
model/estimateInsuranceSavingsRequest.ts
|
|
363
364
|
model/estimateInsuranceSavingsResponse.ts
|
|
365
|
+
model/eventBridgeRequest.ts
|
|
364
366
|
model/existingAccountDetails.ts
|
|
365
367
|
model/externalContentVote.ts
|
|
366
368
|
model/externalTicketCourt.ts
|
|
@@ -752,7 +754,6 @@ model/reviewCommentModel.ts
|
|
|
752
754
|
model/reviewRatingModel.ts
|
|
753
755
|
model/reviewVoteAggregateModel.ts
|
|
754
756
|
model/richCitationInferenceResponse.ts
|
|
755
|
-
model/sNSNotificationRequest.ts
|
|
756
757
|
model/sSLCertificateResponse.ts
|
|
757
758
|
model/saveAgentBookingRequest.ts
|
|
758
759
|
model/saveAgentBookingResponse.ts
|
|
@@ -793,6 +794,10 @@ model/sendPayoutToLawfirmRequest.ts
|
|
|
793
794
|
model/sendPayoutToLawfirmResponse.ts
|
|
794
795
|
model/sendTextAlertToUserRequest.ts
|
|
795
796
|
model/serviceLevelAgreement.ts
|
|
797
|
+
model/sesBounceObject.ts
|
|
798
|
+
model/sesComplaintObject.ts
|
|
799
|
+
model/sesEventDetail.ts
|
|
800
|
+
model/sesMailObject.ts
|
|
796
801
|
model/setArchiveCaseModel.ts
|
|
797
802
|
model/setArchiveOnCasesRequest.ts
|
|
798
803
|
model/setCourtDateForCaseRequest.ts
|
package/dist/angular/api/api.ts
CHANGED
|
@@ -94,6 +94,8 @@ export * from './emailSubscriptionController.service';
|
|
|
94
94
|
import { EmailSubscriptionControllerService } from './emailSubscriptionController.service';
|
|
95
95
|
export * from './employeeController.service';
|
|
96
96
|
import { EmployeeControllerService } from './employeeController.service';
|
|
97
|
+
export * from './eventBridgeEmailNotificationController.service';
|
|
98
|
+
import { EventBridgeEmailNotificationControllerService } from './eventBridgeEmailNotificationController.service';
|
|
97
99
|
export * from './externalContentVoteController.service';
|
|
98
100
|
import { ExternalContentVoteControllerService } from './externalContentVoteController.service';
|
|
99
101
|
export * from './externalTicketLookupController.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, 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, IntercomWebhookControllerService, LawfirmCaseDecisionControllerService, LawfirmCasesControllerService, LawfirmControllerService, 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, WebsocketMessageControllerService, WorkflowStateControllerService];
|
|
237
|
+
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, EventBridgeEmailNotificationControllerService, ExternalContentVoteControllerService, ExternalTicketLookupControllerService, FeedbackControllerService, FreshcallerControllerService, FreshdeskTicketControllerService, GetCaseControllerService, HouseholdMateControllerService, HubspotWebhookControllerService, InsuranceCalculatorControllerService, IntercomTicketControllerService, IntercomWebhookControllerService, LawfirmCaseDecisionControllerService, LawfirmCasesControllerService, LawfirmControllerService, 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, WebsocketMessageControllerService, WorkflowStateControllerService];
|
|
@@ -0,0 +1,166 @@
|
|
|
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 { EventBridgeRequest } from '../model/eventBridgeRequest';
|
|
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 EventBridgeEmailNotificationControllerService {
|
|
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
|
+
* handleHardBounceComplainEvents
|
|
96
|
+
* @param request request
|
|
97
|
+
* @param xApiToken X-Api-Token
|
|
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 handleHardBounceComplainEventsUsingPOST(request: EventBridgeRequest, xApiToken?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<object>;
|
|
102
|
+
public handleHardBounceComplainEventsUsingPOST(request: EventBridgeRequest, xApiToken?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<object>>;
|
|
103
|
+
public handleHardBounceComplainEventsUsingPOST(request: EventBridgeRequest, xApiToken?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<object>>;
|
|
104
|
+
public handleHardBounceComplainEventsUsingPOST(request: EventBridgeRequest, xApiToken?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
|
|
105
|
+
if (request === null || request === undefined) {
|
|
106
|
+
throw new Error('Required parameter request was null or undefined when calling handleHardBounceComplainEventsUsingPOST.');
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
let localVarHeaders = this.defaultHeaders;
|
|
110
|
+
if (xApiToken !== undefined && xApiToken !== null) {
|
|
111
|
+
localVarHeaders = localVarHeaders.set('X-Api-Token', String(xApiToken));
|
|
112
|
+
}
|
|
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
|
+
// to determine the Content-Type header
|
|
133
|
+
const consumes: string[] = [
|
|
134
|
+
'application/json'
|
|
135
|
+
];
|
|
136
|
+
const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
|
|
137
|
+
if (httpContentTypeSelected !== undefined) {
|
|
138
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
142
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
143
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
144
|
+
responseType_ = 'text';
|
|
145
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
146
|
+
responseType_ = 'json';
|
|
147
|
+
} else {
|
|
148
|
+
responseType_ = 'blob';
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
let localVarPath = `/api/v1/event-bridge/bounce-complaint-notifications`;
|
|
153
|
+
return this.httpClient.request<object>('post', `${this.configuration.basePath}${localVarPath}`,
|
|
154
|
+
{
|
|
155
|
+
context: localVarHttpContext,
|
|
156
|
+
body: request,
|
|
157
|
+
responseType: <any>responseType_,
|
|
158
|
+
withCredentials: this.configuration.withCredentials,
|
|
159
|
+
headers: localVarHeaders,
|
|
160
|
+
observe: observe,
|
|
161
|
+
reportProgress: reportProgress
|
|
162
|
+
}
|
|
163
|
+
);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
}
|
|
@@ -22,8 +22,6 @@ import { Observable } from 'rxjs';
|
|
|
22
22
|
import { IncomingEmailModels } from '../model/incomingEmailModels';
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { IncomingEmailRequest } from '../model/incomingEmailRequest';
|
|
25
|
-
// @ts-ignore
|
|
26
|
-
import { SNSNotificationRequest } from '../model/sNSNotificationRequest';
|
|
27
25
|
|
|
28
26
|
// @ts-ignore
|
|
29
27
|
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
|
|
@@ -95,75 +93,6 @@ export class SnsListenerControllerService {
|
|
|
95
93
|
return httpParams;
|
|
96
94
|
}
|
|
97
95
|
|
|
98
|
-
/**
|
|
99
|
-
* handleBounceComplaintEmails
|
|
100
|
-
* @param request request
|
|
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 handleBounceComplaintEmailsUsingPOST(request: SNSNotificationRequest, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<object>;
|
|
105
|
-
public handleBounceComplaintEmailsUsingPOST(request: SNSNotificationRequest, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<object>>;
|
|
106
|
-
public handleBounceComplaintEmailsUsingPOST(request: SNSNotificationRequest, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<object>>;
|
|
107
|
-
public handleBounceComplaintEmailsUsingPOST(request: SNSNotificationRequest, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
|
|
108
|
-
if (request === null || request === undefined) {
|
|
109
|
-
throw new Error('Required parameter request was null or undefined when calling handleBounceComplaintEmailsUsingPOST.');
|
|
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
|
-
// to determine the Content-Type header
|
|
133
|
-
const consumes: string[] = [
|
|
134
|
-
'application/json',
|
|
135
|
-
'text/plain'
|
|
136
|
-
];
|
|
137
|
-
const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
|
|
138
|
-
if (httpContentTypeSelected !== undefined) {
|
|
139
|
-
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
143
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
144
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
145
|
-
responseType_ = 'text';
|
|
146
|
-
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
147
|
-
responseType_ = 'json';
|
|
148
|
-
} else {
|
|
149
|
-
responseType_ = 'blob';
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
let localVarPath = `/api/v1/blacklists/ses/emails`;
|
|
154
|
-
return this.httpClient.request<object>('post', `${this.configuration.basePath}${localVarPath}`,
|
|
155
|
-
{
|
|
156
|
-
context: localVarHttpContext,
|
|
157
|
-
body: request,
|
|
158
|
-
responseType: <any>responseType_,
|
|
159
|
-
withCredentials: this.configuration.withCredentials,
|
|
160
|
-
headers: localVarHeaders,
|
|
161
|
-
observe: observe,
|
|
162
|
-
reportProgress: reportProgress
|
|
163
|
-
}
|
|
164
|
-
);
|
|
165
|
-
}
|
|
166
|
-
|
|
167
96
|
/**
|
|
168
97
|
* handleIncomingEmails
|
|
169
98
|
* @param request request
|
|
@@ -50,6 +50,7 @@ import { DripWebhooksControllerService } from './api/dripWebhooksController.serv
|
|
|
50
50
|
import { DriverLicenseControllerService } from './api/driverLicenseController.service';
|
|
51
51
|
import { EmailSubscriptionControllerService } from './api/emailSubscriptionController.service';
|
|
52
52
|
import { EmployeeControllerService } from './api/employeeController.service';
|
|
53
|
+
import { EventBridgeEmailNotificationControllerService } from './api/eventBridgeEmailNotificationController.service';
|
|
53
54
|
import { ExternalContentVoteControllerService } from './api/externalContentVoteController.service';
|
|
54
55
|
import { ExternalTicketLookupControllerService } from './api/externalTicketLookupController.service';
|
|
55
56
|
import { FeedbackControllerService } from './api/feedbackController.service';
|
|
@@ -0,0 +1,26 @@
|
|
|
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 { SesEventDetail } from './sesEventDetail';
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
export interface EventBridgeRequest {
|
|
16
|
+
account?: string;
|
|
17
|
+
detail?: SesEventDetail;
|
|
18
|
+
detail_type?: string;
|
|
19
|
+
id?: string;
|
|
20
|
+
region?: string;
|
|
21
|
+
resources?: Array<string>;
|
|
22
|
+
source?: string;
|
|
23
|
+
time?: string;
|
|
24
|
+
version?: string;
|
|
25
|
+
}
|
|
26
|
+
|
|
@@ -236,6 +236,7 @@ export * from './enableViolationsForLawfirmResponse';
|
|
|
236
236
|
export * from './engagementLetterModel';
|
|
237
237
|
export * from './estimateInsuranceSavingsRequest';
|
|
238
238
|
export * from './estimateInsuranceSavingsResponse';
|
|
239
|
+
export * from './eventBridgeRequest';
|
|
239
240
|
export * from './existingAccountDetails';
|
|
240
241
|
export * from './externalContentVote';
|
|
241
242
|
export * from './externalTicketCourt';
|
|
@@ -626,7 +627,6 @@ export * from './reviewCommentModel';
|
|
|
626
627
|
export * from './reviewRatingModel';
|
|
627
628
|
export * from './reviewVoteAggregateModel';
|
|
628
629
|
export * from './richCitationInferenceResponse';
|
|
629
|
-
export * from './sNSNotificationRequest';
|
|
630
630
|
export * from './sSLCertificateResponse';
|
|
631
631
|
export * from './saveAgentBookingRequest';
|
|
632
632
|
export * from './saveAgentBookingResponse';
|
|
@@ -667,6 +667,10 @@ export * from './sendPayoutToLawfirmRequest';
|
|
|
667
667
|
export * from './sendPayoutToLawfirmResponse';
|
|
668
668
|
export * from './sendTextAlertToUserRequest';
|
|
669
669
|
export * from './serviceLevelAgreement';
|
|
670
|
+
export * from './sesBounceObject';
|
|
671
|
+
export * from './sesComplaintObject';
|
|
672
|
+
export * from './sesEventDetail';
|
|
673
|
+
export * from './sesMailObject';
|
|
670
674
|
export * from './setArchiveCaseModel';
|
|
671
675
|
export * from './setArchiveOnCasesRequest';
|
|
672
676
|
export * from './setCourtDateForCaseRequest';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OffTheRecord Rest Service API - Devo
|
|
3
|
+
* A service to handle your traffic tickets
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
export interface SesBounceObject {
|
|
15
|
+
bounceSubType?: string;
|
|
16
|
+
bounceType?: SesBounceObject.BounceTypeEnum;
|
|
17
|
+
feedbackId?: string;
|
|
18
|
+
timestamp?: string;
|
|
19
|
+
}
|
|
20
|
+
export namespace SesBounceObject {
|
|
21
|
+
export type BounceTypeEnum = 'PERMANENT' | 'TRANSIENT' | 'UNDETERMINED';
|
|
22
|
+
export const BounceTypeEnum = {
|
|
23
|
+
Permanent: 'PERMANENT' as BounceTypeEnum,
|
|
24
|
+
Transient: 'TRANSIENT' as BounceTypeEnum,
|
|
25
|
+
Undetermined: 'UNDETERMINED' as BounceTypeEnum
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
|
|
@@ -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 SesComplaintObject {
|
|
15
|
+
complaintFeedbackType?: string;
|
|
16
|
+
feedbackId?: string;
|
|
17
|
+
timestamp?: string;
|
|
18
|
+
}
|
|
19
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
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 { SesComplaintObject } from './sesComplaintObject';
|
|
13
|
+
import { SesMailObject } from './sesMailObject';
|
|
14
|
+
import { SesBounceObject } from './sesBounceObject';
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
export interface SesEventDetail {
|
|
18
|
+
bounce?: SesBounceObject;
|
|
19
|
+
complaint?: SesComplaintObject;
|
|
20
|
+
eventType?: string;
|
|
21
|
+
mail?: SesMailObject;
|
|
22
|
+
}
|
|
23
|
+
|
|
@@ -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
|
+
|
|
13
|
+
|
|
14
|
+
export interface SesMailObject {
|
|
15
|
+
destination?: Array<string>;
|
|
16
|
+
messageId?: string;
|
|
17
|
+
source?: string;
|
|
18
|
+
sourceArn?: string;
|
|
19
|
+
timestamp?: string;
|
|
20
|
+
}
|
|
21
|
+
|
|
@@ -1014,43 +1014,6 @@ angular.module('otrBackendService', [])
|
|
|
1014
1014
|
|
|
1015
1015
|
return deferred.promise;
|
|
1016
1016
|
};
|
|
1017
|
-
/**
|
|
1018
|
-
* handleBounceComplaintEmails
|
|
1019
|
-
* @method
|
|
1020
|
-
* @name OtrService#handleBounceComplaintEmailsUsingPOST
|
|
1021
|
-
* @param {object} parameters - method options and parameters
|
|
1022
|
-
* @param {} parameters.request - request
|
|
1023
|
-
*/
|
|
1024
|
-
OtrService.prototype.handleBounceComplaintEmailsUsingPOST = function(parameters) {
|
|
1025
|
-
if (parameters === undefined) {
|
|
1026
|
-
parameters = {};
|
|
1027
|
-
}
|
|
1028
|
-
var deferred = $q.defer();
|
|
1029
|
-
var domain = this.domain,
|
|
1030
|
-
path = '/api/v1/blacklists/ses/emails';
|
|
1031
|
-
var body = {},
|
|
1032
|
-
queryParameters = {},
|
|
1033
|
-
headers = {},
|
|
1034
|
-
form = {};
|
|
1035
|
-
|
|
1036
|
-
headers['Accept'] = ['*/*'];
|
|
1037
|
-
headers['Content-Type'] = ['application/json,text/plain'];
|
|
1038
|
-
|
|
1039
|
-
if (parameters['request'] !== undefined) {
|
|
1040
|
-
body = parameters['request'];
|
|
1041
|
-
}
|
|
1042
|
-
|
|
1043
|
-
if (parameters['request'] === undefined) {
|
|
1044
|
-
deferred.reject(new Error('Missing required parameter: request'));
|
|
1045
|
-
return deferred.promise;
|
|
1046
|
-
}
|
|
1047
|
-
|
|
1048
|
-
queryParameters = mergeQueryParams(parameters, queryParameters);
|
|
1049
|
-
|
|
1050
|
-
this.request('POST', domain + path, parameters, body, headers, queryParameters, form, deferred);
|
|
1051
|
-
|
|
1052
|
-
return deferred.promise;
|
|
1053
|
-
};
|
|
1054
1017
|
/**
|
|
1055
1018
|
* createBranchLink
|
|
1056
1019
|
* @method
|
|
@@ -8142,6 +8105,48 @@ angular.module('otrBackendService', [])
|
|
|
8142
8105
|
|
|
8143
8106
|
return deferred.promise;
|
|
8144
8107
|
};
|
|
8108
|
+
/**
|
|
8109
|
+
* handleHardBounceComplainEvents
|
|
8110
|
+
* @method
|
|
8111
|
+
* @name OtrService#handleHardBounceComplainEventsUsingPOST
|
|
8112
|
+
* @param {object} parameters - method options and parameters
|
|
8113
|
+
* @param {} parameters.request - request
|
|
8114
|
+
* @param {string} parameters.xApiToken - X-Api-Token
|
|
8115
|
+
*/
|
|
8116
|
+
OtrService.prototype.handleHardBounceComplainEventsUsingPOST = function(parameters) {
|
|
8117
|
+
if (parameters === undefined) {
|
|
8118
|
+
parameters = {};
|
|
8119
|
+
}
|
|
8120
|
+
var deferred = $q.defer();
|
|
8121
|
+
var domain = this.domain,
|
|
8122
|
+
path = '/api/v1/event-bridge/bounce-complaint-notifications';
|
|
8123
|
+
var body = {},
|
|
8124
|
+
queryParameters = {},
|
|
8125
|
+
headers = {},
|
|
8126
|
+
form = {};
|
|
8127
|
+
|
|
8128
|
+
headers['Accept'] = ['*/*'];
|
|
8129
|
+
headers['Content-Type'] = ['application/json'];
|
|
8130
|
+
|
|
8131
|
+
if (parameters['request'] !== undefined) {
|
|
8132
|
+
body = parameters['request'];
|
|
8133
|
+
}
|
|
8134
|
+
|
|
8135
|
+
if (parameters['request'] === undefined) {
|
|
8136
|
+
deferred.reject(new Error('Missing required parameter: request'));
|
|
8137
|
+
return deferred.promise;
|
|
8138
|
+
}
|
|
8139
|
+
|
|
8140
|
+
if (parameters['xApiToken'] !== undefined) {
|
|
8141
|
+
headers['X-Api-Token'] = parameters['xApiToken'];
|
|
8142
|
+
}
|
|
8143
|
+
|
|
8144
|
+
queryParameters = mergeQueryParams(parameters, queryParameters);
|
|
8145
|
+
|
|
8146
|
+
this.request('POST', domain + path, parameters, body, headers, queryParameters, form, deferred);
|
|
8147
|
+
|
|
8148
|
+
return deferred.promise;
|
|
8149
|
+
};
|
|
8145
8150
|
/**
|
|
8146
8151
|
* saveExternalContentVote
|
|
8147
8152
|
* @method
|