@emilgroup/notification-sdk 0.8.1-beta.4 → 0.8.1-beta.40

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 (62) hide show
  1. package/.openapi-generator/FILES +9 -0
  2. package/README.md +2 -2
  3. package/api/email-messages-api.ts +36 -24
  4. package/api/email-tracking-api.ts +263 -32
  5. package/api/email-verifications-api.ts +16 -8
  6. package/api/layouts-api.ts +56 -36
  7. package/api/msgraph-webhooks-api.ts +278 -0
  8. package/api/notification-templates-api.ts +56 -36
  9. package/api/notifications-api.ts +115 -4
  10. package/api.ts +2 -0
  11. package/dist/api/email-messages-api.d.ts +36 -24
  12. package/dist/api/email-messages-api.js +34 -22
  13. package/dist/api/email-tracking-api.d.ts +162 -32
  14. package/dist/api/email-tracking-api.js +227 -28
  15. package/dist/api/email-verifications-api.d.ts +16 -8
  16. package/dist/api/email-verifications-api.js +16 -8
  17. package/dist/api/layouts-api.d.ts +56 -36
  18. package/dist/api/layouts-api.js +52 -32
  19. package/dist/api/msgraph-webhooks-api.d.ts +168 -0
  20. package/dist/api/msgraph-webhooks-api.js +305 -0
  21. package/dist/api/notification-templates-api.d.ts +56 -36
  22. package/dist/api/notification-templates-api.js +52 -32
  23. package/dist/api/notifications-api.d.ts +65 -4
  24. package/dist/api/notifications-api.js +101 -4
  25. package/dist/api.d.ts +1 -0
  26. package/dist/api.js +1 -0
  27. package/dist/models/assign-email-thread-entity-body-dto.d.ts +43 -0
  28. package/dist/models/assign-email-thread-entity-body-dto.js +22 -0
  29. package/dist/models/assign-email-thread-entity-response-class.d.ts +25 -0
  30. package/dist/models/assign-email-thread-entity-response-class.js +15 -0
  31. package/dist/models/email-message-class.d.ts +49 -7
  32. package/dist/models/email-message-class.js +16 -2
  33. package/dist/models/email-thread-class.d.ts +6 -5
  34. package/dist/models/entity-ref-class.d.ts +37 -0
  35. package/dist/models/entity-ref-class.js +22 -0
  36. package/dist/models/grpc-send-email-request-dto.d.ts +137 -0
  37. package/dist/models/grpc-send-email-request-dto.js +22 -0
  38. package/dist/models/index.d.ts +8 -0
  39. package/dist/models/index.js +8 -0
  40. package/dist/models/inline-attachment-dto.d.ts +36 -0
  41. package/dist/models/inline-attachment-dto.js +15 -0
  42. package/dist/models/send-email-request-dto.d.ts +131 -0
  43. package/dist/models/send-email-request-dto.js +22 -0
  44. package/dist/models/send-email-response-class.d.ts +24 -0
  45. package/dist/models/send-email-response-class.js +15 -0
  46. package/dist/models/send-notification-request-dto.d.ts +10 -1
  47. package/dist/models/send-notification-request-dto.js +2 -1
  48. package/dist/models/unassign-email-thread-entity-response-class.d.ts +25 -0
  49. package/dist/models/unassign-email-thread-entity-response-class.js +15 -0
  50. package/models/assign-email-thread-entity-body-dto.ts +52 -0
  51. package/models/assign-email-thread-entity-response-class.ts +31 -0
  52. package/models/email-message-class.ts +53 -8
  53. package/models/email-thread-class.ts +6 -5
  54. package/models/entity-ref-class.ts +46 -0
  55. package/models/grpc-send-email-request-dto.ts +144 -0
  56. package/models/index.ts +8 -0
  57. package/models/inline-attachment-dto.ts +42 -0
  58. package/models/send-email-request-dto.ts +138 -0
  59. package/models/send-email-response-class.ts +30 -0
  60. package/models/send-notification-request-dto.ts +9 -2
  61. package/models/unassign-email-thread-entity-response-class.ts +31 -0
  62. package/package.json +1 -1
@@ -14,6 +14,7 @@
14
14
 
15
15
 
16
16
  import { EmailAttachmentClass } from './email-attachment-class';
17
+ import { EntityRefClass } from './entity-ref-class';
17
18
 
18
19
  /**
19
20
  *
@@ -34,11 +35,35 @@ export interface EmailMessageClass {
34
35
  */
35
36
  'code': string;
36
37
  /**
37
- * Thread code this message belongs to
38
+ * Thread code this message belongs to. Empty only while an inbound message is still being correlated.
38
39
  * @type {string}
39
40
  * @memberof EmailMessageClass
40
41
  */
41
42
  'threadCode': string;
43
+ /**
44
+ * Correlation state of an inbound message: pending, matched (thread and entity known) or unassigned (thread known, no entity yet)
45
+ * @type {string}
46
+ * @memberof EmailMessageClass
47
+ */
48
+ 'matchStatus': EmailMessageClassMatchStatusEnum;
49
+ /**
50
+ * What this row is: a message somebody wrote, or a delivery report (bounce) a mail server sent back about an outbound message
51
+ * @type {string}
52
+ * @memberof EmailMessageClass
53
+ */
54
+ 'kind': EmailMessageClassKindEnum;
55
+ /**
56
+ * Delivery report only: code of the outbound message the report is about
57
+ * @type {string}
58
+ * @memberof EmailMessageClass
59
+ */
60
+ 'reportedMessageCode'?: string;
61
+ /**
62
+ * Provider that received an inbound message
63
+ * @type {string}
64
+ * @memberof EmailMessageClass
65
+ */
66
+ 'provider'?: EmailMessageClassProviderEnum;
42
67
  /**
43
68
  * Direction of the email
44
69
  * @type {string}
@@ -82,7 +107,7 @@ export interface EmailMessageClass {
82
107
  */
83
108
  'bodyHtml'?: string;
84
109
  /**
85
- * Delivery status of the email
110
+ * Delivery status of the email. Outbound emails move through pending → sent → delivered (or bounced/failed); inbound emails are always received.
86
111
  * @type {string}
87
112
  * @memberof EmailMessageClass
88
113
  */
@@ -136,19 +161,38 @@ export interface EmailMessageClass {
136
161
  */
137
162
  'attachments': Array<EmailAttachmentClass>;
138
163
  /**
139
- * Entity type this message is associated with
140
- * @type {string}
164
+ * The entity the message\'s thread is linked to. Not set while the message is unassigned.
165
+ * @type {EntityRefClass}
141
166
  * @memberof EmailMessageClass
142
167
  */
143
- 'entityType': string;
168
+ 'entityRef'?: EntityRefClass;
144
169
  /**
145
- * Entity code this message is associated with
170
+ * Business number of the linked entity (policy, lead, claim or partner number)
146
171
  * @type {string}
147
172
  * @memberof EmailMessageClass
148
173
  */
149
- 'entityCode': string;
174
+ 'entityNumber'?: string;
150
175
  }
151
176
 
177
+ export const EmailMessageClassMatchStatusEnum = {
178
+ Pending: 'pending',
179
+ Matched: 'matched',
180
+ Unassigned: 'unassigned'
181
+ } as const;
182
+
183
+ export type EmailMessageClassMatchStatusEnum = typeof EmailMessageClassMatchStatusEnum[keyof typeof EmailMessageClassMatchStatusEnum];
184
+ export const EmailMessageClassKindEnum = {
185
+ Message: 'message',
186
+ DeliveryReport: 'delivery_report'
187
+ } as const;
188
+
189
+ export type EmailMessageClassKindEnum = typeof EmailMessageClassKindEnum[keyof typeof EmailMessageClassKindEnum];
190
+ export const EmailMessageClassProviderEnum = {
191
+ Ses: 'ses',
192
+ Msgraph: 'msgraph'
193
+ } as const;
194
+
195
+ export type EmailMessageClassProviderEnum = typeof EmailMessageClassProviderEnum[keyof typeof EmailMessageClassProviderEnum];
152
196
  export const EmailMessageClassDirectionEnum = {
153
197
  Outbound: 'outbound',
154
198
  Inbound: 'inbound'
@@ -160,7 +204,8 @@ export const EmailMessageClassDeliveryStatusEnum = {
160
204
  Sent: 'sent',
161
205
  Delivered: 'delivered',
162
206
  Bounced: 'bounced',
163
- Failed: 'failed'
207
+ Failed: 'failed',
208
+ Received: 'received'
164
209
  } as const;
165
210
 
166
211
  export type EmailMessageClassDeliveryStatusEnum = typeof EmailMessageClassDeliveryStatusEnum[keyof typeof EmailMessageClassDeliveryStatusEnum];
@@ -13,6 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
+ import { EntityRefClass } from './entity-ref-class';
16
17
 
17
18
  /**
18
19
  *
@@ -33,17 +34,17 @@ export interface EmailThreadClass {
33
34
  */
34
35
  'code': string;
35
36
  /**
36
- * Entity type associated with this thread
37
- * @type {string}
37
+ * The entity the thread, and every message in it, is linked to. Not set while the thread is unassigned.
38
+ * @type {EntityRefClass}
38
39
  * @memberof EmailThreadClass
39
40
  */
40
- 'entityType': string;
41
+ 'entityRef'?: EntityRefClass;
41
42
  /**
42
- * Entity code associated with this thread
43
+ * Number of the entity the thread is linked to
43
44
  * @type {string}
44
45
  * @memberof EmailThreadClass
45
46
  */
46
- 'entityCode': string;
47
+ 'entityNumber'?: string;
47
48
  /**
48
49
  * Email subject of the thread
49
50
  * @type {string}
@@ -0,0 +1,46 @@
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 EntityRefClass
21
+ */
22
+ export interface EntityRefClass {
23
+ /**
24
+ * Type of the linked entity
25
+ * @type {string}
26
+ * @memberof EntityRefClass
27
+ */
28
+ 'type': EntityRefClassTypeEnum;
29
+ /**
30
+ * Code of the linked entity
31
+ * @type {string}
32
+ * @memberof EntityRefClass
33
+ */
34
+ 'code': string;
35
+ }
36
+
37
+ export const EntityRefClassTypeEnum = {
38
+ Claim: 'Claim',
39
+ Policy: 'Policy',
40
+ Lead: 'Lead',
41
+ Partner: 'Partner'
42
+ } as const;
43
+
44
+ export type EntityRefClassTypeEnum = typeof EntityRefClassTypeEnum[keyof typeof EntityRefClassTypeEnum];
45
+
46
+
@@ -0,0 +1,144 @@
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 { InlineAttachmentDto } from './inline-attachment-dto';
17
+ import { S3DocumentDto } from './s3-document-dto';
18
+
19
+ /**
20
+ *
21
+ * @export
22
+ * @interface GrpcSendEmailRequestDto
23
+ */
24
+ export interface GrpcSendEmailRequestDto {
25
+ /**
26
+ * Subject of the email
27
+ * @type {string}
28
+ * @memberof GrpcSendEmailRequestDto
29
+ */
30
+ 'emailSubject': string;
31
+ /**
32
+ * HTML body of the email, sent as given. Required unless textBody is set.
33
+ * @type {string}
34
+ * @memberof GrpcSendEmailRequestDto
35
+ */
36
+ 'htmlBody'?: string;
37
+ /**
38
+ * Plain-text body of the email. Sent as the text alternative when htmlBody is also set. Required unless htmlBody is set.
39
+ * @type {string}
40
+ * @memberof GrpcSendEmailRequestDto
41
+ */
42
+ 'textBody'?: string;
43
+ /**
44
+ * Email address of the sender. Defaults to the sender configured in the tenant settings.
45
+ * @type {string}
46
+ * @memberof GrpcSendEmailRequestDto
47
+ */
48
+ 'emailSender'?: string;
49
+ /**
50
+ * Email addresses of the receivers
51
+ * @type {Array<string>}
52
+ * @memberof GrpcSendEmailRequestDto
53
+ */
54
+ 'emailTo': Array<string>;
55
+ /**
56
+ * Email addresses that receive a copy of the email
57
+ * @type {Array<string>}
58
+ * @memberof GrpcSendEmailRequestDto
59
+ */
60
+ 'emailCc'?: Array<string>;
61
+ /**
62
+ * Email addresses that receive a copy of the email without the other recipients knowing
63
+ * @type {Array<string>}
64
+ * @memberof GrpcSendEmailRequestDto
65
+ */
66
+ 'emailBcc'?: Array<string>;
67
+ /**
68
+ * Attachments that have already been uploaded to S3
69
+ * @type {Array<S3DocumentDto>}
70
+ * @memberof GrpcSendEmailRequestDto
71
+ */
72
+ 'attachments'?: Array<S3DocumentDto>;
73
+ /**
74
+ * Attachments sent with the request as base64 content. They are stored in S3 before the email is sent. Their decoded size may not exceed 10 MB in total.
75
+ * @type {Array<InlineAttachmentDto>}
76
+ * @memberof GrpcSendEmailRequestDto
77
+ */
78
+ 'inlineAttachments'?: Array<InlineAttachmentDto>;
79
+ /**
80
+ * Product slug used to look up a product-specific sender in the tenant settings, stored under productSlug_sender-email
81
+ * @type {string}
82
+ * @memberof GrpcSendEmailRequestDto
83
+ */
84
+ 'productSlug'?: string;
85
+ /**
86
+ * Entity type for email reply tracking
87
+ * @type {string}
88
+ * @memberof GrpcSendEmailRequestDto
89
+ */
90
+ 'entityType'?: GrpcSendEmailRequestDtoEntityTypeEnum;
91
+ /**
92
+ * Entity code for email reply tracking
93
+ * @type {string}
94
+ * @memberof GrpcSendEmailRequestDto
95
+ */
96
+ 'entityCode'?: string;
97
+ /**
98
+ * Reply-To address. Auto-generated when reply tracking is enabled.
99
+ * @type {string}
100
+ * @memberof GrpcSendEmailRequestDto
101
+ */
102
+ 'replyTo'?: string;
103
+ /**
104
+ * Custom Message-ID header. Auto-generated if not provided.
105
+ * @type {string}
106
+ * @memberof GrpcSendEmailRequestDto
107
+ */
108
+ 'customMessageId'?: string;
109
+ /**
110
+ * Message-ID of the email this is replying to (for threading)
111
+ * @type {string}
112
+ * @memberof GrpcSendEmailRequestDto
113
+ */
114
+ 'inReplyTo'?: string;
115
+ /**
116
+ * Message-IDs for email thread chain
117
+ * @type {Array<string>}
118
+ * @memberof GrpcSendEmailRequestDto
119
+ */
120
+ 'references'?: Array<string>;
121
+ /**
122
+ * Custom headers to set on the outgoing email
123
+ * @type {{ [key: string]: string; }}
124
+ * @memberof GrpcSendEmailRequestDto
125
+ */
126
+ 'customHeaders'?: { [key: string]: string; };
127
+ /**
128
+ *
129
+ * @type {object}
130
+ * @memberof GrpcSendEmailRequestDto
131
+ */
132
+ 'entityRef'?: object;
133
+ }
134
+
135
+ export const GrpcSendEmailRequestDtoEntityTypeEnum = {
136
+ Claim: 'Claim',
137
+ Policy: 'Policy',
138
+ Lead: 'Lead',
139
+ Partner: 'Partner'
140
+ } as const;
141
+
142
+ export type GrpcSendEmailRequestDtoEntityTypeEnum = typeof GrpcSendEmailRequestDtoEntityTypeEnum[keyof typeof GrpcSendEmailRequestDtoEntityTypeEnum];
143
+
144
+
package/models/index.ts CHANGED
@@ -1,3 +1,5 @@
1
+ export * from './assign-email-thread-entity-body-dto';
2
+ export * from './assign-email-thread-entity-response-class';
1
3
  export * from './complete-email-verification-dto';
2
4
  export * from './complete-email-verification-response-class';
3
5
  export * from './create-layout-request-dto';
@@ -10,15 +12,18 @@ export * from './download-attachment-response-class';
10
12
  export * from './email-attachment-class';
11
13
  export * from './email-message-class';
12
14
  export * from './email-thread-class';
15
+ export * from './entity-ref-class';
13
16
  export * from './get-email-message-response-class';
14
17
  export * from './get-email-thread-response-class';
15
18
  export * from './get-layout-request-dto';
16
19
  export * from './get-layout-response-class';
17
20
  export * from './get-notification-template-request-dto';
18
21
  export * from './get-notification-template-response-class';
22
+ export * from './grpc-send-email-request-dto';
19
23
  export * from './html-template-class';
20
24
  export * from './initiate-email-verification-dto';
21
25
  export * from './initiate-email-verification-response-class';
26
+ export * from './inline-attachment-dto';
22
27
  export * from './inline-response200';
23
28
  export * from './inline-response503';
24
29
  export * from './layout-class';
@@ -29,8 +34,11 @@ export * from './list-layouts-response-class';
29
34
  export * from './list-notification-templates-response-class';
30
35
  export * from './notification-template-class';
31
36
  export * from './s3-document-dto';
37
+ export * from './send-email-request-dto';
38
+ export * from './send-email-response-class';
32
39
  export * from './send-notification-request-dto';
33
40
  export * from './send-notification-response-class';
41
+ export * from './unassign-email-thread-entity-response-class';
34
42
  export * from './update-html-template-request-dto';
35
43
  export * from './update-layout-request-dto';
36
44
  export * from './update-layout-response-class';
@@ -0,0 +1,42 @@
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 InlineAttachmentDto
21
+ */
22
+ export interface InlineAttachmentDto {
23
+ /**
24
+ * File name shown to the recipient
25
+ * @type {string}
26
+ * @memberof InlineAttachmentDto
27
+ */
28
+ 'filename': string;
29
+ /**
30
+ * Base64-encoded file content
31
+ * @type {string}
32
+ * @memberof InlineAttachmentDto
33
+ */
34
+ 'contentBase64': string;
35
+ /**
36
+ * MIME type of the file
37
+ * @type {string}
38
+ * @memberof InlineAttachmentDto
39
+ */
40
+ 'contentType'?: string;
41
+ }
42
+
@@ -0,0 +1,138 @@
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 { InlineAttachmentDto } from './inline-attachment-dto';
17
+ import { S3DocumentDto } from './s3-document-dto';
18
+
19
+ /**
20
+ *
21
+ * @export
22
+ * @interface SendEmailRequestDto
23
+ */
24
+ export interface SendEmailRequestDto {
25
+ /**
26
+ * Subject of the email
27
+ * @type {string}
28
+ * @memberof SendEmailRequestDto
29
+ */
30
+ 'emailSubject': string;
31
+ /**
32
+ * HTML body of the email, sent as given. Required unless textBody is set.
33
+ * @type {string}
34
+ * @memberof SendEmailRequestDto
35
+ */
36
+ 'htmlBody'?: string;
37
+ /**
38
+ * Plain-text body of the email. Sent as the text alternative when htmlBody is also set. Required unless htmlBody is set.
39
+ * @type {string}
40
+ * @memberof SendEmailRequestDto
41
+ */
42
+ 'textBody'?: string;
43
+ /**
44
+ * Email address of the sender. Defaults to the sender configured in the tenant settings.
45
+ * @type {string}
46
+ * @memberof SendEmailRequestDto
47
+ */
48
+ 'emailSender'?: string;
49
+ /**
50
+ * Email addresses of the receivers
51
+ * @type {Array<string>}
52
+ * @memberof SendEmailRequestDto
53
+ */
54
+ 'emailTo': Array<string>;
55
+ /**
56
+ * Email addresses that receive a copy of the email
57
+ * @type {Array<string>}
58
+ * @memberof SendEmailRequestDto
59
+ */
60
+ 'emailCc'?: Array<string>;
61
+ /**
62
+ * Email addresses that receive a copy of the email without the other recipients knowing
63
+ * @type {Array<string>}
64
+ * @memberof SendEmailRequestDto
65
+ */
66
+ 'emailBcc'?: Array<string>;
67
+ /**
68
+ * Attachments that have already been uploaded to S3
69
+ * @type {Array<S3DocumentDto>}
70
+ * @memberof SendEmailRequestDto
71
+ */
72
+ 'attachments'?: Array<S3DocumentDto>;
73
+ /**
74
+ * Attachments sent with the request as base64 content. They are stored in S3 before the email is sent. Their decoded size may not exceed 10 MB in total.
75
+ * @type {Array<InlineAttachmentDto>}
76
+ * @memberof SendEmailRequestDto
77
+ */
78
+ 'inlineAttachments'?: Array<InlineAttachmentDto>;
79
+ /**
80
+ * Product slug used to look up a product-specific sender in the tenant settings, stored under productSlug_sender-email
81
+ * @type {string}
82
+ * @memberof SendEmailRequestDto
83
+ */
84
+ 'productSlug'?: string;
85
+ /**
86
+ * Entity type for email reply tracking
87
+ * @type {string}
88
+ * @memberof SendEmailRequestDto
89
+ */
90
+ 'entityType'?: SendEmailRequestDtoEntityTypeEnum;
91
+ /**
92
+ * Entity code for email reply tracking
93
+ * @type {string}
94
+ * @memberof SendEmailRequestDto
95
+ */
96
+ 'entityCode'?: string;
97
+ /**
98
+ * Reply-To address. Auto-generated when reply tracking is enabled.
99
+ * @type {string}
100
+ * @memberof SendEmailRequestDto
101
+ */
102
+ 'replyTo'?: string;
103
+ /**
104
+ * Custom Message-ID header. Auto-generated if not provided.
105
+ * @type {string}
106
+ * @memberof SendEmailRequestDto
107
+ */
108
+ 'customMessageId'?: string;
109
+ /**
110
+ * Message-ID of the email this is replying to (for threading)
111
+ * @type {string}
112
+ * @memberof SendEmailRequestDto
113
+ */
114
+ 'inReplyTo'?: string;
115
+ /**
116
+ * Message-IDs for email thread chain
117
+ * @type {Array<string>}
118
+ * @memberof SendEmailRequestDto
119
+ */
120
+ 'references'?: Array<string>;
121
+ /**
122
+ * Custom headers to set on the outgoing email
123
+ * @type {{ [key: string]: string; }}
124
+ * @memberof SendEmailRequestDto
125
+ */
126
+ 'customHeaders'?: { [key: string]: string; };
127
+ }
128
+
129
+ export const SendEmailRequestDtoEntityTypeEnum = {
130
+ Claim: 'Claim',
131
+ Policy: 'Policy',
132
+ Lead: 'Lead',
133
+ Partner: 'Partner'
134
+ } as const;
135
+
136
+ export type SendEmailRequestDtoEntityTypeEnum = typeof SendEmailRequestDtoEntityTypeEnum[keyof typeof SendEmailRequestDtoEntityTypeEnum];
137
+
138
+
@@ -0,0 +1,30 @@
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 SendEmailResponseClass
21
+ */
22
+ export interface SendEmailResponseClass {
23
+ /**
24
+ * Notification request code
25
+ * @type {string}
26
+ * @memberof SendEmailResponseClass
27
+ */
28
+ 'code': string;
29
+ }
30
+
@@ -88,7 +88,7 @@ export interface SendNotificationRequestDto {
88
88
  */
89
89
  'entityCode'?: string;
90
90
  /**
91
- * Reply-To address for email reply tracking. Auto-generated when entityType and entityCode are provided.
91
+ * Reply-To address for email reply tracking. Auto-generated when reply tracking is enabled.
92
92
  * @type {string}
93
93
  * @memberof SendNotificationRequestDto
94
94
  */
@@ -111,12 +111,19 @@ export interface SendNotificationRequestDto {
111
111
  * @memberof SendNotificationRequestDto
112
112
  */
113
113
  'references': Array<string>;
114
+ /**
115
+ * Custom headers to set on the outgoing email
116
+ * @type {{ [key: string]: string; }}
117
+ * @memberof SendNotificationRequestDto
118
+ */
119
+ 'customHeaders': { [key: string]: string; };
114
120
  }
115
121
 
116
122
  export const SendNotificationRequestDtoEntityTypeEnum = {
117
123
  Claim: 'Claim',
118
124
  Policy: 'Policy',
119
- Lead: 'Lead'
125
+ Lead: 'Lead',
126
+ Partner: 'Partner'
120
127
  } as const;
121
128
 
122
129
  export type SendNotificationRequestDtoEntityTypeEnum = typeof SendNotificationRequestDtoEntityTypeEnum[keyof typeof SendNotificationRequestDtoEntityTypeEnum];
@@ -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 { EmailThreadClass } from './email-thread-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface UnassignEmailThreadEntityResponseClass
22
+ */
23
+ export interface UnassignEmailThreadEntityResponseClass {
24
+ /**
25
+ * The email thread response.
26
+ * @type {EmailThreadClass}
27
+ * @memberof UnassignEmailThreadEntityResponseClass
28
+ */
29
+ 'thread': EmailThreadClass;
30
+ }
31
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/notification-sdk",
3
- "version": "0.8.1-beta.4",
3
+ "version": "0.8.1-beta.40",
4
4
  "description": "OpenAPI client for @emilgroup/notification-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [