@emilgroup/notification-sdk-node 1.4.1-beta.1 → 1.4.1-beta.14
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.
- package/.openapi-generator/FILES +11 -0
- package/README.md +2 -2
- package/api/email-messages-api.ts +372 -0
- package/api/email-tracking-api.ts +541 -0
- package/api.ts +4 -0
- package/base.ts +0 -1
- package/dist/api/default-api.d.ts +1 -1
- package/dist/api/email-messages-api.d.ts +205 -0
- package/dist/api/email-messages-api.js +405 -0
- package/dist/api/email-tracking-api.d.ts +301 -0
- package/dist/api/email-tracking-api.js +524 -0
- package/dist/api/email-verifications-api.d.ts +2 -2
- package/dist/api/layouts-api.d.ts +5 -5
- package/dist/api/notification-templates-api.d.ts +5 -5
- package/dist/api/notifications-api.d.ts +1 -1
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/common.d.ts +1 -1
- package/dist/models/download-attachment-response-class.d.ts +36 -0
- package/dist/models/download-attachment-response-class.js +15 -0
- package/dist/models/email-attachment-class.d.ts +84 -0
- package/dist/models/email-attachment-class.js +15 -0
- package/dist/models/email-message-class.d.ts +140 -0
- package/dist/models/email-message-class.js +27 -0
- package/dist/models/email-thread-class.d.ts +83 -0
- package/dist/models/email-thread-class.js +20 -0
- package/dist/models/get-email-message-response-class.d.ts +25 -0
- package/dist/models/get-email-message-response-class.js +15 -0
- package/dist/models/get-email-thread-response-class.d.ts +25 -0
- package/dist/models/get-email-thread-response-class.js +15 -0
- package/dist/models/index.d.ts +9 -0
- package/dist/models/index.js +9 -0
- package/dist/models/list-email-attachments-response-class.d.ts +25 -0
- package/dist/models/list-email-attachments-response-class.js +15 -0
- package/dist/models/list-email-messages-response-class.d.ts +43 -0
- package/dist/models/list-email-messages-response-class.js +15 -0
- package/dist/models/list-email-threads-response-class.d.ts +43 -0
- package/dist/models/list-email-threads-response-class.js +15 -0
- package/dist/models/send-notification-request-dto.d.ts +44 -2
- package/dist/models/send-notification-request-dto.js +6 -0
- package/models/download-attachment-response-class.ts +42 -0
- package/models/email-attachment-class.ts +90 -0
- package/models/email-message-class.ts +150 -0
- package/models/email-thread-class.ts +92 -0
- package/models/get-email-message-response-class.ts +31 -0
- package/models/get-email-thread-response-class.ts +31 -0
- package/models/index.ts +9 -0
- package/models/list-email-attachments-response-class.ts +31 -0
- package/models/list-email-messages-response-class.ts +49 -0
- package/models/list-email-threads-response-class.ts +49 -0
- package/models/send-notification-request-dto.ts +47 -2
- package/package.json +3 -3
|
@@ -0,0 +1,49 @@
|
|
|
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 ListEmailThreadsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListEmailThreadsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* List of email threads
|
|
26
|
+
* @type {Array<EmailThreadClass>}
|
|
27
|
+
* @memberof ListEmailThreadsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<EmailThreadClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Token for next page of results
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListEmailThreadsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
/**
|
|
37
|
+
* Total number of items
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListEmailThreadsResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'totalItems': number;
|
|
42
|
+
/**
|
|
43
|
+
* Number of items per page
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ListEmailThreadsResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'itemsPerPage': number;
|
|
48
|
+
}
|
|
49
|
+
|
|
@@ -64,16 +64,61 @@ export interface SendNotificationRequestDto {
|
|
|
64
64
|
*/
|
|
65
65
|
'attachments': Array<S3DocumentDto>;
|
|
66
66
|
/**
|
|
67
|
-
* It is possible to use the product slug to fetch a different senderEmail from the tenant settings.
|
|
67
|
+
* It is possible to use the product slug to fetch a different senderEmail from the tenant settings. It should be in the form of productSlug_sender-email
|
|
68
68
|
* @type {string}
|
|
69
69
|
* @memberof SendNotificationRequestDto
|
|
70
70
|
*/
|
|
71
71
|
'productSlug'?: string;
|
|
72
72
|
/**
|
|
73
|
-
* Payload is used by the template engine to replace all template variables with proper data.
|
|
73
|
+
* Payload is used by the template engine to replace all template variables with proper data. For more information, please go to https://github.com/flosch/pongo2.
|
|
74
74
|
* @type {object}
|
|
75
75
|
* @memberof SendNotificationRequestDto
|
|
76
76
|
*/
|
|
77
77
|
'payload': object;
|
|
78
|
+
/**
|
|
79
|
+
* Entity type for email reply tracking.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof SendNotificationRequestDto
|
|
82
|
+
*/
|
|
83
|
+
'entityType'?: SendNotificationRequestDtoEntityTypeEnum;
|
|
84
|
+
/**
|
|
85
|
+
* Entity code for email reply tracking
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof SendNotificationRequestDto
|
|
88
|
+
*/
|
|
89
|
+
'entityCode'?: string;
|
|
90
|
+
/**
|
|
91
|
+
* Reply-To address for email reply tracking. Auto-generated when entityType and entityCode are provided.
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof SendNotificationRequestDto
|
|
94
|
+
*/
|
|
95
|
+
'replyTo'?: string;
|
|
96
|
+
/**
|
|
97
|
+
* Custom Message-ID header. Auto-generated if not provided.
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof SendNotificationRequestDto
|
|
100
|
+
*/
|
|
101
|
+
'customMessageId'?: string;
|
|
102
|
+
/**
|
|
103
|
+
* Message-ID of the email this is replying to (for threading)
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof SendNotificationRequestDto
|
|
106
|
+
*/
|
|
107
|
+
'inReplyTo'?: string;
|
|
108
|
+
/**
|
|
109
|
+
* Message-IDs for email thread chain
|
|
110
|
+
* @type {Array<string>}
|
|
111
|
+
* @memberof SendNotificationRequestDto
|
|
112
|
+
*/
|
|
113
|
+
'references': Array<string>;
|
|
78
114
|
}
|
|
79
115
|
|
|
116
|
+
export const SendNotificationRequestDtoEntityTypeEnum = {
|
|
117
|
+
Claim: 'Claim',
|
|
118
|
+
Policy: 'Policy',
|
|
119
|
+
Lead: 'Lead'
|
|
120
|
+
} as const;
|
|
121
|
+
|
|
122
|
+
export type SendNotificationRequestDtoEntityTypeEnum = typeof SendNotificationRequestDtoEntityTypeEnum[keyof typeof SendNotificationRequestDtoEntityTypeEnum];
|
|
123
|
+
|
|
124
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/notification-sdk-node",
|
|
3
|
-
"version": "1.4.1-beta.
|
|
3
|
+
"version": "1.4.1-beta.14",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/notification-sdk-node",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
"prepare": "npm run build"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"axios": "^
|
|
21
|
+
"axios": "^1.12.0",
|
|
22
22
|
"form-data": "^4.0.0",
|
|
23
23
|
"url": "^0.11.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
|
|
26
|
+
"@types/node": "^12.11.5",
|
|
27
27
|
"typescript": "^4.0"
|
|
28
28
|
}
|
|
29
29
|
}
|