@emilgroup/notification-sdk 0.8.1-beta.3 → 0.8.1-beta.31

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 (57) hide show
  1. package/.openapi-generator/FILES +8 -0
  2. package/README.md +2 -2
  3. package/api/email-messages-api.ts +259 -24
  4. package/api/email-tracking-api.ts +32 -24
  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 +158 -24
  12. package/dist/api/email-messages-api.js +225 -22
  13. package/dist/api/email-tracking-api.d.ts +32 -24
  14. package/dist/api/email-tracking-api.js +30 -22
  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-message-entity-body-dto.d.ts +43 -0
  28. package/dist/models/assign-email-message-entity-body-dto.js +22 -0
  29. package/dist/models/assign-email-message-entity-response-class.d.ts +25 -0
  30. package/dist/models/assign-email-message-entity-response-class.js +15 -0
  31. package/dist/models/email-message-class.d.ts +49 -2
  32. package/dist/models/email-message-class.js +16 -2
  33. package/dist/models/grpc-send-email-request-dto.d.ts +137 -0
  34. package/dist/models/grpc-send-email-request-dto.js +22 -0
  35. package/dist/models/index.d.ts +7 -0
  36. package/dist/models/index.js +7 -0
  37. package/dist/models/inline-attachment-dto.d.ts +36 -0
  38. package/dist/models/inline-attachment-dto.js +15 -0
  39. package/dist/models/send-email-request-dto.d.ts +131 -0
  40. package/dist/models/send-email-request-dto.js +22 -0
  41. package/dist/models/send-email-response-class.d.ts +24 -0
  42. package/dist/models/send-email-response-class.js +15 -0
  43. package/dist/models/send-notification-request-dto.d.ts +9 -0
  44. package/dist/models/send-notification-request-dto.js +2 -1
  45. package/dist/models/unassign-email-message-entity-response-class.d.ts +25 -0
  46. package/dist/models/unassign-email-message-entity-response-class.js +15 -0
  47. package/models/assign-email-message-entity-body-dto.ts +52 -0
  48. package/models/assign-email-message-entity-response-class.ts +31 -0
  49. package/models/email-message-class.ts +53 -3
  50. package/models/grpc-send-email-request-dto.ts +144 -0
  51. package/models/index.ts +7 -0
  52. package/models/inline-attachment-dto.ts +42 -0
  53. package/models/send-email-request-dto.ts +138 -0
  54. package/models/send-email-response-class.ts +30 -0
  55. package/models/send-notification-request-dto.ts +8 -1
  56. package/models/unassign-email-message-entity-response-class.ts +31 -0
  57. package/package.json +1 -1
@@ -29,11 +29,35 @@ export interface EmailMessageClass {
29
29
  */
30
30
  'code': string;
31
31
  /**
32
- * Thread code this message belongs to
32
+ * Thread code this message belongs to. Empty only while an inbound message is still being correlated.
33
33
  * @type {string}
34
34
  * @memberof EmailMessageClass
35
35
  */
36
36
  'threadCode': string;
37
+ /**
38
+ * Correlation state of an inbound message: pending, matched (thread and entity known) or unassigned (thread known, no entity yet)
39
+ * @type {string}
40
+ * @memberof EmailMessageClass
41
+ */
42
+ 'matchStatus': EmailMessageClassMatchStatusEnum;
43
+ /**
44
+ * What this row is: a message somebody wrote, or a delivery report (bounce) a mail server sent back about an outbound message
45
+ * @type {string}
46
+ * @memberof EmailMessageClass
47
+ */
48
+ 'kind': EmailMessageClassKindEnum;
49
+ /**
50
+ * Delivery report only: code of the outbound message the report is about
51
+ * @type {string}
52
+ * @memberof EmailMessageClass
53
+ */
54
+ 'reportedMessageCode'?: string;
55
+ /**
56
+ * Provider that received an inbound message
57
+ * @type {string}
58
+ * @memberof EmailMessageClass
59
+ */
60
+ 'provider'?: EmailMessageClassProviderEnum;
37
61
  /**
38
62
  * Direction of the email
39
63
  * @type {string}
@@ -77,7 +101,7 @@ export interface EmailMessageClass {
77
101
  */
78
102
  'bodyHtml'?: string;
79
103
  /**
80
- * Delivery status of the email
104
+ * Delivery status of the email. Outbound emails move through pending → sent → delivered (or bounced/failed); inbound emails are always received.
81
105
  * @type {string}
82
106
  * @memberof EmailMessageClass
83
107
  */
@@ -142,7 +166,29 @@ export interface EmailMessageClass {
142
166
  * @memberof EmailMessageClass
143
167
  */
144
168
  'entityCode': string;
169
+ /**
170
+ * Business number of the linked entity (policy, lead, claim or partner number)
171
+ * @type {string}
172
+ * @memberof EmailMessageClass
173
+ */
174
+ 'entityNumber'?: string;
145
175
  }
176
+ export declare const EmailMessageClassMatchStatusEnum: {
177
+ readonly Pending: "pending";
178
+ readonly Matched: "matched";
179
+ readonly Unassigned: "unassigned";
180
+ };
181
+ export type EmailMessageClassMatchStatusEnum = typeof EmailMessageClassMatchStatusEnum[keyof typeof EmailMessageClassMatchStatusEnum];
182
+ export declare const EmailMessageClassKindEnum: {
183
+ readonly Message: "message";
184
+ readonly DeliveryReport: "delivery_report";
185
+ };
186
+ export type EmailMessageClassKindEnum = typeof EmailMessageClassKindEnum[keyof typeof EmailMessageClassKindEnum];
187
+ export declare const EmailMessageClassProviderEnum: {
188
+ readonly Ses: "ses";
189
+ readonly Msgraph: "msgraph";
190
+ };
191
+ export type EmailMessageClassProviderEnum = typeof EmailMessageClassProviderEnum[keyof typeof EmailMessageClassProviderEnum];
146
192
  export declare const EmailMessageClassDirectionEnum: {
147
193
  readonly Outbound: "outbound";
148
194
  readonly Inbound: "inbound";
@@ -154,5 +200,6 @@ export declare const EmailMessageClassDeliveryStatusEnum: {
154
200
  readonly Delivered: "delivered";
155
201
  readonly Bounced: "bounced";
156
202
  readonly Failed: "failed";
203
+ readonly Received: "received";
157
204
  };
158
205
  export type EmailMessageClassDeliveryStatusEnum = typeof EmailMessageClassDeliveryStatusEnum[keyof typeof EmailMessageClassDeliveryStatusEnum];
@@ -13,7 +13,20 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.EmailMessageClassDeliveryStatusEnum = exports.EmailMessageClassDirectionEnum = void 0;
16
+ exports.EmailMessageClassDeliveryStatusEnum = exports.EmailMessageClassDirectionEnum = exports.EmailMessageClassProviderEnum = exports.EmailMessageClassKindEnum = exports.EmailMessageClassMatchStatusEnum = void 0;
17
+ exports.EmailMessageClassMatchStatusEnum = {
18
+ Pending: 'pending',
19
+ Matched: 'matched',
20
+ Unassigned: 'unassigned'
21
+ };
22
+ exports.EmailMessageClassKindEnum = {
23
+ Message: 'message',
24
+ DeliveryReport: 'delivery_report'
25
+ };
26
+ exports.EmailMessageClassProviderEnum = {
27
+ Ses: 'ses',
28
+ Msgraph: 'msgraph'
29
+ };
17
30
  exports.EmailMessageClassDirectionEnum = {
18
31
  Outbound: 'outbound',
19
32
  Inbound: 'inbound'
@@ -23,5 +36,6 @@ exports.EmailMessageClassDeliveryStatusEnum = {
23
36
  Sent: 'sent',
24
37
  Delivered: 'delivered',
25
38
  Bounced: 'bounced',
26
- Failed: 'failed'
39
+ Failed: 'failed',
40
+ Received: 'received'
27
41
  };
@@ -0,0 +1,137 @@
1
+ /**
2
+ * EMIL NotificationService
3
+ * The EMIL NotificationService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
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 { InlineAttachmentDto } from './inline-attachment-dto';
13
+ import { S3DocumentDto } from './s3-document-dto';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface GrpcSendEmailRequestDto
18
+ */
19
+ export interface GrpcSendEmailRequestDto {
20
+ /**
21
+ * Subject of the email
22
+ * @type {string}
23
+ * @memberof GrpcSendEmailRequestDto
24
+ */
25
+ 'emailSubject': string;
26
+ /**
27
+ * HTML body of the email, sent as given. Required unless textBody is set.
28
+ * @type {string}
29
+ * @memberof GrpcSendEmailRequestDto
30
+ */
31
+ 'htmlBody'?: string;
32
+ /**
33
+ * Plain-text body of the email. Sent as the text alternative when htmlBody is also set. Required unless htmlBody is set.
34
+ * @type {string}
35
+ * @memberof GrpcSendEmailRequestDto
36
+ */
37
+ 'textBody'?: string;
38
+ /**
39
+ * Email address of the sender. Defaults to the sender configured in the tenant settings.
40
+ * @type {string}
41
+ * @memberof GrpcSendEmailRequestDto
42
+ */
43
+ 'emailSender'?: string;
44
+ /**
45
+ * Email addresses of the receivers
46
+ * @type {Array<string>}
47
+ * @memberof GrpcSendEmailRequestDto
48
+ */
49
+ 'emailTo': Array<string>;
50
+ /**
51
+ * Email addresses that receive a copy of the email
52
+ * @type {Array<string>}
53
+ * @memberof GrpcSendEmailRequestDto
54
+ */
55
+ 'emailCc'?: Array<string>;
56
+ /**
57
+ * Email addresses that receive a copy of the email without the other recipients knowing
58
+ * @type {Array<string>}
59
+ * @memberof GrpcSendEmailRequestDto
60
+ */
61
+ 'emailBcc'?: Array<string>;
62
+ /**
63
+ * Attachments that have already been uploaded to S3
64
+ * @type {Array<S3DocumentDto>}
65
+ * @memberof GrpcSendEmailRequestDto
66
+ */
67
+ 'attachments'?: Array<S3DocumentDto>;
68
+ /**
69
+ * 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.
70
+ * @type {Array<InlineAttachmentDto>}
71
+ * @memberof GrpcSendEmailRequestDto
72
+ */
73
+ 'inlineAttachments'?: Array<InlineAttachmentDto>;
74
+ /**
75
+ * Product slug used to look up a product-specific sender in the tenant settings, stored under productSlug_sender-email
76
+ * @type {string}
77
+ * @memberof GrpcSendEmailRequestDto
78
+ */
79
+ 'productSlug'?: string;
80
+ /**
81
+ * Entity type for email reply tracking
82
+ * @type {string}
83
+ * @memberof GrpcSendEmailRequestDto
84
+ */
85
+ 'entityType'?: GrpcSendEmailRequestDtoEntityTypeEnum;
86
+ /**
87
+ * Entity code for email reply tracking
88
+ * @type {string}
89
+ * @memberof GrpcSendEmailRequestDto
90
+ */
91
+ 'entityCode'?: string;
92
+ /**
93
+ * Reply-To address. Auto-generated when entityType and entityCode are provided and reply tracking is enabled.
94
+ * @type {string}
95
+ * @memberof GrpcSendEmailRequestDto
96
+ */
97
+ 'replyTo'?: string;
98
+ /**
99
+ * Custom Message-ID header. Auto-generated if not provided.
100
+ * @type {string}
101
+ * @memberof GrpcSendEmailRequestDto
102
+ */
103
+ 'customMessageId'?: string;
104
+ /**
105
+ * Message-ID of the email this is replying to (for threading)
106
+ * @type {string}
107
+ * @memberof GrpcSendEmailRequestDto
108
+ */
109
+ 'inReplyTo'?: string;
110
+ /**
111
+ * Message-IDs for email thread chain
112
+ * @type {Array<string>}
113
+ * @memberof GrpcSendEmailRequestDto
114
+ */
115
+ 'references'?: Array<string>;
116
+ /**
117
+ * Custom headers to set on the outgoing email
118
+ * @type {{ [key: string]: string; }}
119
+ * @memberof GrpcSendEmailRequestDto
120
+ */
121
+ 'customHeaders'?: {
122
+ [key: string]: string;
123
+ };
124
+ /**
125
+ *
126
+ * @type {object}
127
+ * @memberof GrpcSendEmailRequestDto
128
+ */
129
+ 'entityRef'?: object;
130
+ }
131
+ export declare const GrpcSendEmailRequestDtoEntityTypeEnum: {
132
+ readonly Claim: "Claim";
133
+ readonly Policy: "Policy";
134
+ readonly Lead: "Lead";
135
+ readonly Partner: "Partner";
136
+ };
137
+ export type GrpcSendEmailRequestDtoEntityTypeEnum = typeof GrpcSendEmailRequestDtoEntityTypeEnum[keyof typeof GrpcSendEmailRequestDtoEntityTypeEnum];
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL NotificationService
6
+ * The EMIL NotificationService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.GrpcSendEmailRequestDtoEntityTypeEnum = void 0;
17
+ exports.GrpcSendEmailRequestDtoEntityTypeEnum = {
18
+ Claim: 'Claim',
19
+ Policy: 'Policy',
20
+ Lead: 'Lead',
21
+ Partner: 'Partner'
22
+ };
@@ -1,3 +1,5 @@
1
+ export * from './assign-email-message-entity-body-dto';
2
+ export * from './assign-email-message-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';
@@ -16,9 +18,11 @@ export * from './get-layout-request-dto';
16
18
  export * from './get-layout-response-class';
17
19
  export * from './get-notification-template-request-dto';
18
20
  export * from './get-notification-template-response-class';
21
+ export * from './grpc-send-email-request-dto';
19
22
  export * from './html-template-class';
20
23
  export * from './initiate-email-verification-dto';
21
24
  export * from './initiate-email-verification-response-class';
25
+ export * from './inline-attachment-dto';
22
26
  export * from './inline-response200';
23
27
  export * from './inline-response503';
24
28
  export * from './layout-class';
@@ -29,8 +33,11 @@ export * from './list-layouts-response-class';
29
33
  export * from './list-notification-templates-response-class';
30
34
  export * from './notification-template-class';
31
35
  export * from './s3-document-dto';
36
+ export * from './send-email-request-dto';
37
+ export * from './send-email-response-class';
32
38
  export * from './send-notification-request-dto';
33
39
  export * from './send-notification-response-class';
40
+ export * from './unassign-email-message-entity-response-class';
34
41
  export * from './update-html-template-request-dto';
35
42
  export * from './update-layout-request-dto';
36
43
  export * from './update-layout-response-class';
@@ -14,6 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./assign-email-message-entity-body-dto"), exports);
18
+ __exportStar(require("./assign-email-message-entity-response-class"), exports);
17
19
  __exportStar(require("./complete-email-verification-dto"), exports);
18
20
  __exportStar(require("./complete-email-verification-response-class"), exports);
19
21
  __exportStar(require("./create-layout-request-dto"), exports);
@@ -32,9 +34,11 @@ __exportStar(require("./get-layout-request-dto"), exports);
32
34
  __exportStar(require("./get-layout-response-class"), exports);
33
35
  __exportStar(require("./get-notification-template-request-dto"), exports);
34
36
  __exportStar(require("./get-notification-template-response-class"), exports);
37
+ __exportStar(require("./grpc-send-email-request-dto"), exports);
35
38
  __exportStar(require("./html-template-class"), exports);
36
39
  __exportStar(require("./initiate-email-verification-dto"), exports);
37
40
  __exportStar(require("./initiate-email-verification-response-class"), exports);
41
+ __exportStar(require("./inline-attachment-dto"), exports);
38
42
  __exportStar(require("./inline-response200"), exports);
39
43
  __exportStar(require("./inline-response503"), exports);
40
44
  __exportStar(require("./layout-class"), exports);
@@ -45,8 +49,11 @@ __exportStar(require("./list-layouts-response-class"), exports);
45
49
  __exportStar(require("./list-notification-templates-response-class"), exports);
46
50
  __exportStar(require("./notification-template-class"), exports);
47
51
  __exportStar(require("./s3-document-dto"), exports);
52
+ __exportStar(require("./send-email-request-dto"), exports);
53
+ __exportStar(require("./send-email-response-class"), exports);
48
54
  __exportStar(require("./send-notification-request-dto"), exports);
49
55
  __exportStar(require("./send-notification-response-class"), exports);
56
+ __exportStar(require("./unassign-email-message-entity-response-class"), exports);
50
57
  __exportStar(require("./update-html-template-request-dto"), exports);
51
58
  __exportStar(require("./update-layout-request-dto"), exports);
52
59
  __exportStar(require("./update-layout-response-class"), exports);
@@ -0,0 +1,36 @@
1
+ /**
2
+ * EMIL NotificationService
3
+ * The EMIL NotificationService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
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 InlineAttachmentDto
16
+ */
17
+ export interface InlineAttachmentDto {
18
+ /**
19
+ * File name shown to the recipient
20
+ * @type {string}
21
+ * @memberof InlineAttachmentDto
22
+ */
23
+ 'filename': string;
24
+ /**
25
+ * Base64-encoded file content
26
+ * @type {string}
27
+ * @memberof InlineAttachmentDto
28
+ */
29
+ 'contentBase64': string;
30
+ /**
31
+ * MIME type of the file
32
+ * @type {string}
33
+ * @memberof InlineAttachmentDto
34
+ */
35
+ 'contentType'?: string;
36
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL NotificationService
6
+ * The EMIL NotificationService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,131 @@
1
+ /**
2
+ * EMIL NotificationService
3
+ * The EMIL NotificationService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
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 { InlineAttachmentDto } from './inline-attachment-dto';
13
+ import { S3DocumentDto } from './s3-document-dto';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface SendEmailRequestDto
18
+ */
19
+ export interface SendEmailRequestDto {
20
+ /**
21
+ * Subject of the email
22
+ * @type {string}
23
+ * @memberof SendEmailRequestDto
24
+ */
25
+ 'emailSubject': string;
26
+ /**
27
+ * HTML body of the email, sent as given. Required unless textBody is set.
28
+ * @type {string}
29
+ * @memberof SendEmailRequestDto
30
+ */
31
+ 'htmlBody'?: string;
32
+ /**
33
+ * Plain-text body of the email. Sent as the text alternative when htmlBody is also set. Required unless htmlBody is set.
34
+ * @type {string}
35
+ * @memberof SendEmailRequestDto
36
+ */
37
+ 'textBody'?: string;
38
+ /**
39
+ * Email address of the sender. Defaults to the sender configured in the tenant settings.
40
+ * @type {string}
41
+ * @memberof SendEmailRequestDto
42
+ */
43
+ 'emailSender'?: string;
44
+ /**
45
+ * Email addresses of the receivers
46
+ * @type {Array<string>}
47
+ * @memberof SendEmailRequestDto
48
+ */
49
+ 'emailTo': Array<string>;
50
+ /**
51
+ * Email addresses that receive a copy of the email
52
+ * @type {Array<string>}
53
+ * @memberof SendEmailRequestDto
54
+ */
55
+ 'emailCc'?: Array<string>;
56
+ /**
57
+ * Email addresses that receive a copy of the email without the other recipients knowing
58
+ * @type {Array<string>}
59
+ * @memberof SendEmailRequestDto
60
+ */
61
+ 'emailBcc'?: Array<string>;
62
+ /**
63
+ * Attachments that have already been uploaded to S3
64
+ * @type {Array<S3DocumentDto>}
65
+ * @memberof SendEmailRequestDto
66
+ */
67
+ 'attachments'?: Array<S3DocumentDto>;
68
+ /**
69
+ * 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.
70
+ * @type {Array<InlineAttachmentDto>}
71
+ * @memberof SendEmailRequestDto
72
+ */
73
+ 'inlineAttachments'?: Array<InlineAttachmentDto>;
74
+ /**
75
+ * Product slug used to look up a product-specific sender in the tenant settings, stored under productSlug_sender-email
76
+ * @type {string}
77
+ * @memberof SendEmailRequestDto
78
+ */
79
+ 'productSlug'?: string;
80
+ /**
81
+ * Entity type for email reply tracking
82
+ * @type {string}
83
+ * @memberof SendEmailRequestDto
84
+ */
85
+ 'entityType'?: SendEmailRequestDtoEntityTypeEnum;
86
+ /**
87
+ * Entity code for email reply tracking
88
+ * @type {string}
89
+ * @memberof SendEmailRequestDto
90
+ */
91
+ 'entityCode'?: string;
92
+ /**
93
+ * Reply-To address. Auto-generated when entityType and entityCode are provided and reply tracking is enabled.
94
+ * @type {string}
95
+ * @memberof SendEmailRequestDto
96
+ */
97
+ 'replyTo'?: string;
98
+ /**
99
+ * Custom Message-ID header. Auto-generated if not provided.
100
+ * @type {string}
101
+ * @memberof SendEmailRequestDto
102
+ */
103
+ 'customMessageId'?: string;
104
+ /**
105
+ * Message-ID of the email this is replying to (for threading)
106
+ * @type {string}
107
+ * @memberof SendEmailRequestDto
108
+ */
109
+ 'inReplyTo'?: string;
110
+ /**
111
+ * Message-IDs for email thread chain
112
+ * @type {Array<string>}
113
+ * @memberof SendEmailRequestDto
114
+ */
115
+ 'references'?: Array<string>;
116
+ /**
117
+ * Custom headers to set on the outgoing email
118
+ * @type {{ [key: string]: string; }}
119
+ * @memberof SendEmailRequestDto
120
+ */
121
+ 'customHeaders'?: {
122
+ [key: string]: string;
123
+ };
124
+ }
125
+ export declare const SendEmailRequestDtoEntityTypeEnum: {
126
+ readonly Claim: "Claim";
127
+ readonly Policy: "Policy";
128
+ readonly Lead: "Lead";
129
+ readonly Partner: "Partner";
130
+ };
131
+ export type SendEmailRequestDtoEntityTypeEnum = typeof SendEmailRequestDtoEntityTypeEnum[keyof typeof SendEmailRequestDtoEntityTypeEnum];
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL NotificationService
6
+ * The EMIL NotificationService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.SendEmailRequestDtoEntityTypeEnum = void 0;
17
+ exports.SendEmailRequestDtoEntityTypeEnum = {
18
+ Claim: 'Claim',
19
+ Policy: 'Policy',
20
+ Lead: 'Lead',
21
+ Partner: 'Partner'
22
+ };
@@ -0,0 +1,24 @@
1
+ /**
2
+ * EMIL NotificationService
3
+ * The EMIL NotificationService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
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 SendEmailResponseClass
16
+ */
17
+ export interface SendEmailResponseClass {
18
+ /**
19
+ * Notification request code
20
+ * @type {string}
21
+ * @memberof SendEmailResponseClass
22
+ */
23
+ 'code': string;
24
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL NotificationService
6
+ * The EMIL NotificationService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -108,10 +108,19 @@ export interface SendNotificationRequestDto {
108
108
  * @memberof SendNotificationRequestDto
109
109
  */
110
110
  'references': Array<string>;
111
+ /**
112
+ * Custom headers to set on the outgoing email
113
+ * @type {{ [key: string]: string; }}
114
+ * @memberof SendNotificationRequestDto
115
+ */
116
+ 'customHeaders': {
117
+ [key: string]: string;
118
+ };
111
119
  }
112
120
  export declare const SendNotificationRequestDtoEntityTypeEnum: {
113
121
  readonly Claim: "Claim";
114
122
  readonly Policy: "Policy";
115
123
  readonly Lead: "Lead";
124
+ readonly Partner: "Partner";
116
125
  };
117
126
  export type SendNotificationRequestDtoEntityTypeEnum = typeof SendNotificationRequestDtoEntityTypeEnum[keyof typeof SendNotificationRequestDtoEntityTypeEnum];
@@ -17,5 +17,6 @@ exports.SendNotificationRequestDtoEntityTypeEnum = void 0;
17
17
  exports.SendNotificationRequestDtoEntityTypeEnum = {
18
18
  Claim: 'Claim',
19
19
  Policy: 'Policy',
20
- Lead: 'Lead'
20
+ Lead: 'Lead',
21
+ Partner: 'Partner'
21
22
  };
@@ -0,0 +1,25 @@
1
+ /**
2
+ * EMIL NotificationService
3
+ * The EMIL NotificationService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
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 { EmailMessageClass } from './email-message-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface UnassignEmailMessageEntityResponseClass
17
+ */
18
+ export interface UnassignEmailMessageEntityResponseClass {
19
+ /**
20
+ * The email message response.
21
+ * @type {EmailMessageClass}
22
+ * @memberof UnassignEmailMessageEntityResponseClass
23
+ */
24
+ 'message': EmailMessageClass;
25
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL NotificationService
6
+ * The EMIL NotificationService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });