@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.
Files changed (55) hide show
  1. package/dist/angular/.openapi-generator/FILES +6 -1
  2. package/dist/angular/api/api.ts +3 -1
  3. package/dist/angular/api/eventBridgeEmailNotificationController.service.ts +166 -0
  4. package/dist/angular/api/snsListenerController.service.ts +0 -71
  5. package/dist/angular/api.module.ts +1 -0
  6. package/dist/angular/model/eventBridgeRequest.ts +26 -0
  7. package/dist/angular/model/models.ts +5 -1
  8. package/dist/angular/model/sesBounceObject.ts +29 -0
  9. package/dist/angular/model/sesComplaintObject.ts +19 -0
  10. package/dist/angular/model/sesEventDetail.ts +23 -0
  11. package/dist/angular/model/sesMailObject.ts +21 -0
  12. package/dist/otrBackendService.js +42 -37
  13. package/dist/otrBackendService.min.js +7 -7
  14. package/dist/typescript/api/EventBridgeEmailNotificationControllerApi.d.ts +27 -0
  15. package/dist/typescript/api/EventBridgeEmailNotificationControllerApi.js +51 -0
  16. package/dist/typescript/api/SnsListenerControllerApi.d.ts +0 -6
  17. package/dist/typescript/api/SnsListenerControllerApi.js +0 -25
  18. package/dist/typescript/api/api.d.ts +3 -1
  19. package/dist/typescript/api/api.js +3 -1
  20. package/dist/typescript/api.module.js +1 -0
  21. package/dist/typescript/model/EventBridgeRequest.d.ts +23 -0
  22. package/dist/typescript/model/EventBridgeRequest.js +12 -0
  23. package/dist/typescript/model/SesBounceObject.d.ts +24 -0
  24. package/dist/typescript/model/SesBounceObject.js +20 -0
  25. package/dist/typescript/model/SesComplaintObject.d.ts +16 -0
  26. package/dist/typescript/model/SesComplaintObject.js +12 -0
  27. package/dist/typescript/model/SesEventDetail.d.ts +18 -0
  28. package/dist/typescript/model/SesEventDetail.js +12 -0
  29. package/dist/typescript/model/SesMailObject.d.ts +18 -0
  30. package/dist/typescript/model/SesMailObject.js +12 -0
  31. package/dist/typescript/model/models.d.ts +5 -1
  32. package/dist/typescript/model/models.js +5 -1
  33. package/dist/typescript-fetch/apis/EventBridgeEmailNotificationControllerApi.d.ts +30 -0
  34. package/dist/typescript-fetch/apis/EventBridgeEmailNotificationControllerApi.js +62 -0
  35. package/dist/typescript-fetch/apis/SnsListenerControllerApi.d.ts +1 -12
  36. package/dist/typescript-fetch/apis/SnsListenerControllerApi.js +1 -31
  37. package/dist/typescript-fetch/apis/index.d.ts +1 -0
  38. package/dist/typescript-fetch/apis/index.js +1 -0
  39. package/dist/typescript-fetch/models/EventBridgeRequest.d.ts +76 -0
  40. package/dist/typescript-fetch/models/EventBridgeRequest.js +53 -0
  41. package/dist/typescript-fetch/models/SesBounceObject.d.ts +54 -0
  42. package/dist/typescript-fetch/models/SesBounceObject.js +52 -0
  43. package/dist/typescript-fetch/models/SesComplaintObject.d.ts +39 -0
  44. package/dist/typescript-fetch/models/SesComplaintObject.js +40 -0
  45. package/dist/typescript-fetch/models/SesEventDetail.d.ts +46 -0
  46. package/dist/typescript-fetch/models/SesEventDetail.js +43 -0
  47. package/dist/typescript-fetch/models/SesMailObject.d.ts +51 -0
  48. package/dist/typescript-fetch/models/SesMailObject.js +44 -0
  49. package/dist/typescript-fetch/models/index.d.ts +5 -1
  50. package/dist/typescript-fetch/models/index.js +5 -1
  51. package/dist/typescript-open-api/otr-backend.d.ts +118 -77
  52. package/dist/typescript-open-api/otr-backend.js +6 -0
  53. package/package.json +1 -1
  54. package/dist/typescript-fetch/models/SNSNotificationRequest.d.ts +0 -45
  55. package/dist/typescript-fetch/models/SNSNotificationRequest.js +0 -42
@@ -3023,6 +3023,23 @@ export interface paths {
3023
3023
  patch?: never;
3024
3024
  trace?: never;
3025
3025
  };
3026
+ "/api/v1/event-bridge/bounce-complaint-notifications": {
3027
+ parameters: {
3028
+ query?: never;
3029
+ header?: never;
3030
+ path?: never;
3031
+ cookie?: never;
3032
+ };
3033
+ get?: never;
3034
+ put?: never;
3035
+ /** handleHardBounceComplainEvents */
3036
+ post: operations["handleHardBounceComplainEventsUsingPOST"];
3037
+ delete?: never;
3038
+ options?: never;
3039
+ head?: never;
3040
+ patch?: never;
3041
+ trace?: never;
3042
+ };
3026
3043
  "/api/v1/external-content-votes": {
3027
3044
  parameters: {
3028
3045
  query?: never;
@@ -5551,23 +5568,6 @@ export interface paths {
5551
5568
  patch?: never;
5552
5569
  trace?: never;
5553
5570
  };
5554
- "/api/v1/blacklists/ses/emails": {
5555
- parameters: {
5556
- query?: never;
5557
- header?: never;
5558
- path?: never;
5559
- cookie?: never;
5560
- };
5561
- get?: never;
5562
- put?: never;
5563
- /** handleBounceComplaintEmails */
5564
- post: operations["handleBounceComplaintEmailsUsingPOST"];
5565
- delete?: never;
5566
- options?: never;
5567
- head?: never;
5568
- patch?: never;
5569
- trace?: never;
5570
- };
5571
5571
  "/api/v1/ses/inbound-emails": {
5572
5572
  parameters: {
5573
5573
  query?: never;
@@ -10187,6 +10187,18 @@ export interface components {
10187
10187
  /** Format: int32 */
10188
10188
  totalExtraInsuranceCostInCents?: number;
10189
10189
  };
10190
+ /** EventBridgeRequest */
10191
+ EventBridgeRequest: {
10192
+ account?: string;
10193
+ detail?: components["schemas"]["SesEventDetail"];
10194
+ "detail-type"?: string;
10195
+ id?: string;
10196
+ region?: string;
10197
+ resources?: string[];
10198
+ source?: string;
10199
+ time?: string;
10200
+ version?: string;
10201
+ };
10190
10202
  /** ExistingAccountDetails */
10191
10203
  ExistingAccountDetails: {
10192
10204
  firstName?: string;
@@ -14201,13 +14213,6 @@ export interface components {
14201
14213
  vehicle_year?: string;
14202
14214
  violation_names?: string[];
14203
14215
  };
14204
- /** SNSNotificationRequest */
14205
- SNSNotificationRequest: {
14206
- Message?: string;
14207
- SubscribeURL?: string;
14208
- Type?: string;
14209
- UnsubscribeURL?: string;
14210
- };
14211
14216
  /** SSLCertificateResponse */
14212
14217
  SSLCertificateResponse: {
14213
14218
  /** Format: byte */
@@ -14584,6 +14589,35 @@ export interface components {
14584
14589
  sla_status?: string;
14585
14590
  type?: string;
14586
14591
  };
14592
+ /** SesBounceObject */
14593
+ SesBounceObject: {
14594
+ bounceSubType?: string;
14595
+ /** @enum {string} */
14596
+ bounceType?: SesBounceObjectBounceType;
14597
+ feedbackId?: string;
14598
+ timestamp?: string;
14599
+ };
14600
+ /** SesComplaintObject */
14601
+ SesComplaintObject: {
14602
+ complaintFeedbackType?: string;
14603
+ feedbackId?: string;
14604
+ timestamp?: string;
14605
+ };
14606
+ /** SesEventDetail */
14607
+ SesEventDetail: {
14608
+ bounce?: components["schemas"]["SesBounceObject"];
14609
+ complaint?: components["schemas"]["SesComplaintObject"];
14610
+ eventType?: string;
14611
+ mail?: components["schemas"]["SesMailObject"];
14612
+ };
14613
+ /** SesMailObject */
14614
+ SesMailObject: {
14615
+ destination?: string[];
14616
+ messageId?: string;
14617
+ source?: string;
14618
+ sourceArn?: string;
14619
+ timestamp?: string;
14620
+ };
14587
14621
  /** SetArchiveCaseModel */
14588
14622
  SetArchiveCaseModel: {
14589
14623
  caseId?: string;
@@ -26410,6 +26444,61 @@ export interface operations {
26410
26444
  };
26411
26445
  };
26412
26446
  };
26447
+ handleHardBounceComplainEventsUsingPOST: {
26448
+ parameters: {
26449
+ query?: never;
26450
+ header?: {
26451
+ /** @description X-Api-Token */
26452
+ "X-Api-Token"?: string;
26453
+ };
26454
+ path?: never;
26455
+ cookie?: never;
26456
+ };
26457
+ requestBody?: {
26458
+ content: {
26459
+ "application/json": components["schemas"]["EventBridgeRequest"];
26460
+ };
26461
+ };
26462
+ responses: {
26463
+ /** @description OK */
26464
+ 200: {
26465
+ headers: {
26466
+ [name: string]: unknown;
26467
+ };
26468
+ content: {
26469
+ "*/*": Record<string, never>;
26470
+ };
26471
+ };
26472
+ /** @description Created */
26473
+ 201: {
26474
+ headers: {
26475
+ [name: string]: unknown;
26476
+ };
26477
+ content?: never;
26478
+ };
26479
+ /** @description Unauthorized */
26480
+ 401: {
26481
+ headers: {
26482
+ [name: string]: unknown;
26483
+ };
26484
+ content?: never;
26485
+ };
26486
+ /** @description Forbidden */
26487
+ 403: {
26488
+ headers: {
26489
+ [name: string]: unknown;
26490
+ };
26491
+ content?: never;
26492
+ };
26493
+ /** @description Not Found */
26494
+ 404: {
26495
+ headers: {
26496
+ [name: string]: unknown;
26497
+ };
26498
+ content?: never;
26499
+ };
26500
+ };
26501
+ };
26413
26502
  saveExternalContentVoteUsingPOST: {
26414
26503
  parameters: {
26415
26504
  query?: never;
@@ -34753,59 +34842,6 @@ export interface operations {
34753
34842
  };
34754
34843
  };
34755
34844
  };
34756
- handleBounceComplaintEmailsUsingPOST: {
34757
- parameters: {
34758
- query?: never;
34759
- header?: never;
34760
- path?: never;
34761
- cookie?: never;
34762
- };
34763
- requestBody?: {
34764
- content: {
34765
- "application/json": components["schemas"]["SNSNotificationRequest"];
34766
- "text/plain": components["schemas"]["SNSNotificationRequest"];
34767
- };
34768
- };
34769
- responses: {
34770
- /** @description OK */
34771
- 200: {
34772
- headers: {
34773
- [name: string]: unknown;
34774
- };
34775
- content: {
34776
- "*/*": Record<string, never>;
34777
- };
34778
- };
34779
- /** @description Created */
34780
- 201: {
34781
- headers: {
34782
- [name: string]: unknown;
34783
- };
34784
- content?: never;
34785
- };
34786
- /** @description Unauthorized */
34787
- 401: {
34788
- headers: {
34789
- [name: string]: unknown;
34790
- };
34791
- content?: never;
34792
- };
34793
- /** @description Forbidden */
34794
- 403: {
34795
- headers: {
34796
- [name: string]: unknown;
34797
- };
34798
- content?: never;
34799
- };
34800
- /** @description Not Found */
34801
- 404: {
34802
- headers: {
34803
- [name: string]: unknown;
34804
- };
34805
- content?: never;
34806
- };
34807
- };
34808
- };
34809
34845
  handleIncomingEmailsUsingPOST: {
34810
34846
  parameters: {
34811
34847
  query?: never;
@@ -41372,6 +41408,11 @@ export declare enum SendEmailToUserRequestReviewPlatform {
41372
41408
  export declare enum SendTextAlertToUserRequestTextAlertType {
41373
41409
  DOWNLOAD_APP = "DOWNLOAD_APP"
41374
41410
  }
41411
+ export declare enum SesBounceObjectBounceType {
41412
+ PERMANENT = "PERMANENT",
41413
+ TRANSIENT = "TRANSIENT",
41414
+ UNDETERMINED = "UNDETERMINED"
41415
+ }
41375
41416
  export declare enum SetCustomerReviewStatusRequestStatus {
41376
41417
  APPROVED = "APPROVED",
41377
41418
  REJECTED = "REJECTED"
@@ -1301,6 +1301,12 @@ export var SendTextAlertToUserRequestTextAlertType;
1301
1301
  (function (SendTextAlertToUserRequestTextAlertType) {
1302
1302
  SendTextAlertToUserRequestTextAlertType["DOWNLOAD_APP"] = "DOWNLOAD_APP";
1303
1303
  })(SendTextAlertToUserRequestTextAlertType || (SendTextAlertToUserRequestTextAlertType = {}));
1304
+ export var SesBounceObjectBounceType;
1305
+ (function (SesBounceObjectBounceType) {
1306
+ SesBounceObjectBounceType["PERMANENT"] = "PERMANENT";
1307
+ SesBounceObjectBounceType["TRANSIENT"] = "TRANSIENT";
1308
+ SesBounceObjectBounceType["UNDETERMINED"] = "UNDETERMINED";
1309
+ })(SesBounceObjectBounceType || (SesBounceObjectBounceType = {}));
1304
1310
  export var SetCustomerReviewStatusRequestStatus;
1305
1311
  (function (SetCustomerReviewStatusRequestStatus) {
1306
1312
  SetCustomerReviewStatusRequestStatus["APPROVED"] = "APPROVED";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otr-app/shared-backend-generated-client",
3
- "version": "2.5.91",
3
+ "version": "2.5.92",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"
@@ -1,45 +0,0 @@
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
15
- * @interface SNSNotificationRequest
16
- */
17
- export interface SNSNotificationRequest {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof SNSNotificationRequest
22
- */
23
- message?: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof SNSNotificationRequest
28
- */
29
- subscribeURL?: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof SNSNotificationRequest
34
- */
35
- type?: string;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof SNSNotificationRequest
40
- */
41
- unsubscribeURL?: string;
42
- }
43
- export declare function SNSNotificationRequestFromJSON(json: any): SNSNotificationRequest;
44
- export declare function SNSNotificationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SNSNotificationRequest;
45
- export declare function SNSNotificationRequestToJSON(value?: SNSNotificationRequest | null): any;
@@ -1,42 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * OffTheRecord Rest Service API - Devo
5
- * A service to handle your traffic tickets
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- import { exists } from '../runtime';
15
- export function SNSNotificationRequestFromJSON(json) {
16
- return SNSNotificationRequestFromJSONTyped(json, false);
17
- }
18
- export function SNSNotificationRequestFromJSONTyped(json, ignoreDiscriminator) {
19
- if ((json === undefined) || (json === null)) {
20
- return json;
21
- }
22
- return {
23
- 'message': !exists(json, 'Message') ? undefined : json['Message'],
24
- 'subscribeURL': !exists(json, 'SubscribeURL') ? undefined : json['SubscribeURL'],
25
- 'type': !exists(json, 'Type') ? undefined : json['Type'],
26
- 'unsubscribeURL': !exists(json, 'UnsubscribeURL') ? undefined : json['UnsubscribeURL'],
27
- };
28
- }
29
- export function SNSNotificationRequestToJSON(value) {
30
- if (value === undefined) {
31
- return undefined;
32
- }
33
- if (value === null) {
34
- return null;
35
- }
36
- return {
37
- 'Message': value.message,
38
- 'SubscribeURL': value.subscribeURL,
39
- 'Type': value.type,
40
- 'UnsubscribeURL': value.unsubscribeURL,
41
- };
42
- }