@emilgroup/notification-sdk 0.8.1-beta.61 → 0.8.1-beta.62

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 (53) hide show
  1. package/.openapi-generator/FILES +2 -0
  2. package/README.md +2 -2
  3. package/api/email-mailboxes-api.ts +4 -2
  4. package/api/email-messages-api.ts +146 -16
  5. package/api/email-subscriptions-api.ts +24 -12
  6. package/api/email-tracking-api.ts +32 -20
  7. package/api/email-verifications-api.ts +8 -4
  8. package/api/layouts-api.ts +20 -10
  9. package/api/notification-templates-api.ts +20 -10
  10. package/api/notifications-api.ts +8 -4
  11. package/base.ts +174 -41
  12. package/common.ts +3 -2
  13. package/configuration.ts +20 -0
  14. package/dist/api/email-mailboxes-api.d.ts +1 -1
  15. package/dist/api/email-mailboxes-api.js +7 -4
  16. package/dist/api/email-messages-api.d.ts +78 -12
  17. package/dist/api/email-messages-api.js +133 -21
  18. package/dist/api/email-subscriptions-api.d.ts +6 -6
  19. package/dist/api/email-subscriptions-api.js +39 -23
  20. package/dist/api/email-tracking-api.d.ts +14 -14
  21. package/dist/api/email-tracking-api.js +42 -28
  22. package/dist/api/email-verifications-api.d.ts +2 -2
  23. package/dist/api/email-verifications-api.js +14 -8
  24. package/dist/api/health-api.d.ts +1 -1
  25. package/dist/api/layouts-api.d.ts +5 -5
  26. package/dist/api/layouts-api.js +29 -18
  27. package/dist/api/msgraph-webhooks-api.d.ts +2 -2
  28. package/dist/api/notification-templates-api.d.ts +5 -5
  29. package/dist/api/notification-templates-api.js +29 -18
  30. package/dist/api/notifications-api.d.ts +2 -2
  31. package/dist/api/notifications-api.js +14 -8
  32. package/dist/base.d.ts +24 -0
  33. package/dist/base.js +178 -59
  34. package/dist/common.d.ts +1 -1
  35. package/dist/common.js +1 -0
  36. package/dist/configuration.d.ts +17 -0
  37. package/dist/configuration.js +2 -0
  38. package/dist/models/email-message-class.d.ts +23 -0
  39. package/dist/models/email-message-class.js +5 -1
  40. package/dist/models/email-message-summary-class.d.ts +17 -0
  41. package/dist/models/email-message-summary-class.js +5 -1
  42. package/dist/models/index.d.ts +2 -0
  43. package/dist/models/index.js +2 -0
  44. package/dist/models/resend-email-message-body-dto.d.ts +30 -0
  45. package/dist/models/resend-email-message-body-dto.js +15 -0
  46. package/dist/models/resend-email-message-response-class.d.ts +25 -0
  47. package/dist/models/resend-email-message-response-class.js +15 -0
  48. package/models/email-message-class.ts +24 -0
  49. package/models/email-message-summary-class.ts +18 -0
  50. package/models/index.ts +2 -0
  51. package/models/resend-email-message-body-dto.ts +36 -0
  52. package/models/resend-email-message-response-class.ts +31 -0
  53. package/package.json +2 -2
@@ -80,6 +80,18 @@ export interface EmailMessageSummaryClass {
80
80
  * @memberof EmailMessageSummaryClass
81
81
  */
82
82
  'workflowStatus'?: EmailMessageSummaryClassWorkflowStatusEnum;
83
+ /**
84
+ * Set only on an email that was created by resending another one: code of the bounced or failed email it was resent from.
85
+ * @type {string}
86
+ * @memberof EmailMessageSummaryClass
87
+ */
88
+ 'resentFromMessageCode'?: string;
89
+ /**
90
+ * Set only on a resent email: why it was resent, which is the delivery status the original had at that moment.
91
+ * @type {string}
92
+ * @memberof EmailMessageSummaryClass
93
+ */
94
+ 'resendReason'?: EmailMessageSummaryClassResendReasonEnum;
83
95
  }
84
96
 
85
97
  export const EmailMessageSummaryClassDirectionEnum = {
@@ -105,5 +117,11 @@ export const EmailMessageSummaryClassWorkflowStatusEnum = {
105
117
  } as const;
106
118
 
107
119
  export type EmailMessageSummaryClassWorkflowStatusEnum = typeof EmailMessageSummaryClassWorkflowStatusEnum[keyof typeof EmailMessageSummaryClassWorkflowStatusEnum];
120
+ export const EmailMessageSummaryClassResendReasonEnum = {
121
+ Bounced: 'bounced',
122
+ Failed: 'failed'
123
+ } as const;
124
+
125
+ export type EmailMessageSummaryClassResendReasonEnum = typeof EmailMessageSummaryClassResendReasonEnum[keyof typeof EmailMessageSummaryClassResendReasonEnum];
108
126
 
109
127
 
package/models/index.ts CHANGED
@@ -45,6 +45,8 @@ export * from './notification-template-class';
45
45
  export * from './reconcile-email-subscriptions-request-dto';
46
46
  export * from './reconcile-email-subscriptions-response-class';
47
47
  export * from './renew-email-subscription-response-class';
48
+ export * from './resend-email-message-body-dto';
49
+ export * from './resend-email-message-response-class';
48
50
  export * from './s3-document-dto';
49
51
  export * from './send-email-request-dto';
50
52
  export * from './send-email-response-class';
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL NotificationService
5
+ * The EMIL NotificationService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
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
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface ResendEmailMessageBodyDto
21
+ */
22
+ export interface ResendEmailMessageBodyDto {
23
+ /**
24
+ * Bounced emails only: the bounced recipient to resend to. Required when more than one recipient of the email bounced.
25
+ * @type {string}
26
+ * @memberof ResendEmailMessageBodyDto
27
+ */
28
+ 'recipient'?: string;
29
+ /**
30
+ * Bounced emails only: the corrected address. The email is sent to it instead of the bounced recipient.
31
+ * @type {string}
32
+ * @memberof ResendEmailMessageBodyDto
33
+ */
34
+ 'newAddress'?: string;
35
+ }
36
+
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL NotificationService
5
+ * The EMIL NotificationService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
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
+
15
+
16
+ import { EmailMessageClass } from './email-message-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ResendEmailMessageResponseClass
22
+ */
23
+ export interface ResendEmailMessageResponseClass {
24
+ /**
25
+ * The email message response.
26
+ * @type {EmailMessageClass}
27
+ * @memberof ResendEmailMessageResponseClass
28
+ */
29
+ 'message': EmailMessageClass;
30
+ }
31
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/notification-sdk",
3
- "version": "0.8.1-beta.61",
3
+ "version": "0.8.1-beta.62",
4
4
  "description": "OpenAPI client for @emilgroup/notification-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -18,7 +18,7 @@
18
18
  "prepare": "npm run build"
19
19
  },
20
20
  "dependencies": {
21
- "axios": "1.18.0"
21
+ "axios": "1.20.0"
22
22
  },
23
23
  "devDependencies": {
24
24