@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
@@ -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 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-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';
@@ -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-thread-entity-body-dto"), exports);
18
+ __exportStar(require("./assign-email-thread-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);
@@ -26,15 +28,18 @@ __exportStar(require("./download-attachment-response-class"), exports);
26
28
  __exportStar(require("./email-attachment-class"), exports);
27
29
  __exportStar(require("./email-message-class"), exports);
28
30
  __exportStar(require("./email-thread-class"), exports);
31
+ __exportStar(require("./entity-ref-class"), exports);
29
32
  __exportStar(require("./get-email-message-response-class"), exports);
30
33
  __exportStar(require("./get-email-thread-response-class"), exports);
31
34
  __exportStar(require("./get-layout-request-dto"), exports);
32
35
  __exportStar(require("./get-layout-response-class"), exports);
33
36
  __exportStar(require("./get-notification-template-request-dto"), exports);
34
37
  __exportStar(require("./get-notification-template-response-class"), exports);
38
+ __exportStar(require("./grpc-send-email-request-dto"), exports);
35
39
  __exportStar(require("./html-template-class"), exports);
36
40
  __exportStar(require("./initiate-email-verification-dto"), exports);
37
41
  __exportStar(require("./initiate-email-verification-response-class"), exports);
42
+ __exportStar(require("./inline-attachment-dto"), exports);
38
43
  __exportStar(require("./inline-response200"), exports);
39
44
  __exportStar(require("./inline-response503"), exports);
40
45
  __exportStar(require("./layout-class"), exports);
@@ -45,8 +50,11 @@ __exportStar(require("./list-layouts-response-class"), exports);
45
50
  __exportStar(require("./list-notification-templates-response-class"), exports);
46
51
  __exportStar(require("./notification-template-class"), exports);
47
52
  __exportStar(require("./s3-document-dto"), exports);
53
+ __exportStar(require("./send-email-request-dto"), exports);
54
+ __exportStar(require("./send-email-response-class"), exports);
48
55
  __exportStar(require("./send-notification-request-dto"), exports);
49
56
  __exportStar(require("./send-notification-response-class"), exports);
57
+ __exportStar(require("./unassign-email-thread-entity-response-class"), exports);
50
58
  __exportStar(require("./update-html-template-request-dto"), exports);
51
59
  __exportStar(require("./update-layout-request-dto"), exports);
52
60
  __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 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 });
@@ -85,7 +85,7 @@ export interface SendNotificationRequestDto {
85
85
  */
86
86
  'entityCode'?: string;
87
87
  /**
88
- * Reply-To address for email reply tracking. Auto-generated when entityType and entityCode are provided.
88
+ * Reply-To address for email reply tracking. Auto-generated when reply tracking is enabled.
89
89
  * @type {string}
90
90
  * @memberof SendNotificationRequestDto
91
91
  */
@@ -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 { EmailThreadClass } from './email-thread-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface UnassignEmailThreadEntityResponseClass
17
+ */
18
+ export interface UnassignEmailThreadEntityResponseClass {
19
+ /**
20
+ * The email thread response.
21
+ * @type {EmailThreadClass}
22
+ * @memberof UnassignEmailThreadEntityResponseClass
23
+ */
24
+ 'thread': EmailThreadClass;
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 });
@@ -0,0 +1,52 @@
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 AssignEmailThreadEntityBodyDto
21
+ */
22
+ export interface AssignEmailThreadEntityBodyDto {
23
+ /**
24
+ * Type of the entity the email thread belongs to
25
+ * @type {string}
26
+ * @memberof AssignEmailThreadEntityBodyDto
27
+ */
28
+ 'entityType': AssignEmailThreadEntityBodyDtoEntityTypeEnum;
29
+ /**
30
+ * Code of the entity. Required unless entityNumber is set; takes precedence over entityNumber.
31
+ * @type {string}
32
+ * @memberof AssignEmailThreadEntityBodyDto
33
+ */
34
+ 'entityCode'?: string;
35
+ /**
36
+ * Number of the entity, e.g. the policy number. Used only when entityCode is not set.
37
+ * @type {string}
38
+ * @memberof AssignEmailThreadEntityBodyDto
39
+ */
40
+ 'entityNumber'?: string;
41
+ }
42
+
43
+ export const AssignEmailThreadEntityBodyDtoEntityTypeEnum = {
44
+ Claim: 'Claim',
45
+ Policy: 'Policy',
46
+ Lead: 'Lead',
47
+ Partner: 'Partner'
48
+ } as const;
49
+
50
+ export type AssignEmailThreadEntityBodyDtoEntityTypeEnum = typeof AssignEmailThreadEntityBodyDtoEntityTypeEnum[keyof typeof AssignEmailThreadEntityBodyDtoEntityTypeEnum];
51
+
52
+
@@ -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 AssignEmailThreadEntityResponseClass
22
+ */
23
+ export interface AssignEmailThreadEntityResponseClass {
24
+ /**
25
+ * The email thread response.
26
+ * @type {EmailThreadClass}
27
+ * @memberof AssignEmailThreadEntityResponseClass
28
+ */
29
+ 'thread': EmailThreadClass;
30
+ }
31
+