@emilgroup/notification-sdk 0.1.1-beta.0
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 +58 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +51 -0
- package/api/default-api.ts +124 -0
- package/api/email-messages-api.ts +368 -0
- package/api/email-tracking-api.ts +537 -0
- package/api/email-verifications-api.ts +264 -0
- package/api/layouts-api.ts +673 -0
- package/api/notification-templates-api.ts +687 -0
- package/api/notifications-api.ts +161 -0
- package/api.ts +39 -0
- package/base.ts +331 -0
- package/common.ts +198 -0
- package/configuration.ts +110 -0
- package/dist/api/default-api.d.ts +70 -0
- package/dist/api/default-api.js +200 -0
- package/dist/api/email-messages-api.d.ts +205 -0
- package/dist/api/email-messages-api.js +401 -0
- package/dist/api/email-tracking-api.d.ts +301 -0
- package/dist/api/email-tracking-api.js +520 -0
- package/dist/api/email-verifications-api.d.ts +146 -0
- package/dist/api/email-verifications-api.js +309 -0
- package/dist/api/layouts-api.d.ts +373 -0
- package/dist/api/layouts-api.js +624 -0
- package/dist/api/notification-templates-api.d.ts +382 -0
- package/dist/api/notification-templates-api.js +630 -0
- package/dist/api/notifications-api.d.ts +93 -0
- package/dist/api/notifications-api.js +220 -0
- package/dist/api.d.ts +18 -0
- package/dist/api.js +36 -0
- package/dist/base.d.ts +86 -0
- package/dist/base.js +367 -0
- package/dist/common.d.ts +91 -0
- package/dist/common.js +276 -0
- package/dist/configuration.d.ts +89 -0
- package/dist/configuration.js +52 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +36 -0
- package/dist/models/complete-email-verification-dto.d.ts +30 -0
- package/dist/models/complete-email-verification-dto.js +15 -0
- package/dist/models/complete-email-verification-response-class.d.ts +24 -0
- package/dist/models/complete-email-verification-response-class.js +15 -0
- package/dist/models/create-layout-request-dto.d.ts +48 -0
- package/dist/models/create-layout-request-dto.js +15 -0
- package/dist/models/create-layout-response-class.d.ts +25 -0
- package/dist/models/create-layout-response-class.js +15 -0
- package/dist/models/create-notification-template-request-dto.d.ts +66 -0
- package/dist/models/create-notification-template-request-dto.js +15 -0
- package/dist/models/create-notification-template-response-class.d.ts +25 -0
- package/dist/models/create-notification-template-response-class.js +15 -0
- package/dist/models/delete-layout-request-dto.d.ts +24 -0
- package/dist/models/delete-layout-request-dto.js +15 -0
- package/dist/models/delete-notification-template-request-dto.d.ts +24 -0
- package/dist/models/delete-notification-template-request-dto.js +15 -0
- 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/get-layout-request-dto.d.ts +24 -0
- package/dist/models/get-layout-request-dto.js +15 -0
- package/dist/models/get-layout-response-class.d.ts +25 -0
- package/dist/models/get-layout-response-class.js +15 -0
- package/dist/models/get-notification-template-request-dto.d.ts +30 -0
- package/dist/models/get-notification-template-request-dto.js +15 -0
- package/dist/models/get-notification-template-response-class.d.ts +25 -0
- package/dist/models/get-notification-template-response-class.js +15 -0
- package/dist/models/html-template-class.d.ts +54 -0
- package/dist/models/html-template-class.js +15 -0
- package/dist/models/index.d.ts +38 -0
- package/dist/models/index.js +54 -0
- package/dist/models/initiate-email-verification-dto.d.ts +30 -0
- package/dist/models/initiate-email-verification-dto.js +15 -0
- package/dist/models/initiate-email-verification-response-class.d.ts +24 -0
- package/dist/models/initiate-email-verification-response-class.js +15 -0
- package/dist/models/inline-response200.d.ts +54 -0
- package/dist/models/inline-response200.js +15 -0
- package/dist/models/inline-response503.d.ts +54 -0
- package/dist/models/inline-response503.js +15 -0
- package/dist/models/layout-class.d.ts +73 -0
- package/dist/models/layout-class.js +15 -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/list-layouts-response-class.d.ts +30 -0
- package/dist/models/list-layouts-response-class.js +15 -0
- package/dist/models/list-notification-templates-response-class.d.ts +30 -0
- package/dist/models/list-notification-templates-response-class.js +15 -0
- package/dist/models/notification-template-class.d.ts +98 -0
- package/dist/models/notification-template-class.js +15 -0
- package/dist/models/s3-document-dto.d.ts +36 -0
- package/dist/models/s3-document-dto.js +15 -0
- package/dist/models/send-notification-request-dto.d.ts +115 -0
- package/dist/models/send-notification-request-dto.js +21 -0
- package/dist/models/send-notification-response-class.d.ts +24 -0
- package/dist/models/send-notification-response-class.js +15 -0
- package/dist/models/update-html-template-request-dto.d.ts +42 -0
- package/dist/models/update-html-template-request-dto.js +21 -0
- package/dist/models/update-layout-request-dto.d.ts +55 -0
- package/dist/models/update-layout-request-dto.js +15 -0
- package/dist/models/update-layout-response-class.d.ts +25 -0
- package/dist/models/update-layout-response-class.js +15 -0
- package/dist/models/update-notification-template-request-dto.d.ts +73 -0
- package/dist/models/update-notification-template-request-dto.js +15 -0
- package/dist/models/update-notification-template-response-class.d.ts +25 -0
- package/dist/models/update-notification-template-response-class.js +15 -0
- package/git_push.sh +57 -0
- package/index.ts +19 -0
- package/models/complete-email-verification-dto.ts +36 -0
- package/models/complete-email-verification-response-class.ts +30 -0
- package/models/create-layout-request-dto.ts +54 -0
- package/models/create-layout-response-class.ts +31 -0
- package/models/create-notification-template-request-dto.ts +72 -0
- package/models/create-notification-template-response-class.ts +31 -0
- package/models/delete-layout-request-dto.ts +30 -0
- package/models/delete-notification-template-request-dto.ts +30 -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/get-layout-request-dto.ts +30 -0
- package/models/get-layout-response-class.ts +31 -0
- package/models/get-notification-template-request-dto.ts +36 -0
- package/models/get-notification-template-response-class.ts +31 -0
- package/models/html-template-class.ts +60 -0
- package/models/index.ts +38 -0
- package/models/initiate-email-verification-dto.ts +36 -0
- package/models/initiate-email-verification-response-class.ts +30 -0
- package/models/inline-response200.ts +48 -0
- package/models/inline-response503.ts +48 -0
- package/models/layout-class.ts +79 -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/list-layouts-response-class.ts +36 -0
- package/models/list-notification-templates-response-class.ts +36 -0
- package/models/notification-template-class.ts +104 -0
- package/models/s3-document-dto.ts +42 -0
- package/models/send-notification-request-dto.ts +124 -0
- package/models/send-notification-response-class.ts +30 -0
- package/models/update-html-template-request-dto.ts +51 -0
- package/models/update-layout-request-dto.ts +61 -0
- package/models/update-layout-response-class.ts +31 -0
- package/models/update-notification-template-request-dto.ts +79 -0
- package/models/update-notification-template-response-class.ts +31 -0
- package/package.json +27 -0
- package/tsconfig.json +23 -0
|
@@ -0,0 +1,73 @@
|
|
|
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 { HtmlTemplateClass } from './html-template-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface LayoutClass
|
|
17
|
+
*/
|
|
18
|
+
export interface LayoutClass {
|
|
19
|
+
/**
|
|
20
|
+
* Layout id
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof LayoutClass
|
|
23
|
+
*/
|
|
24
|
+
'id': number;
|
|
25
|
+
/**
|
|
26
|
+
* Record owner
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof LayoutClass
|
|
29
|
+
*/
|
|
30
|
+
'owner': string;
|
|
31
|
+
/**
|
|
32
|
+
* Layout name
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof LayoutClass
|
|
35
|
+
*/
|
|
36
|
+
'name': string;
|
|
37
|
+
/**
|
|
38
|
+
* Layout slug
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof LayoutClass
|
|
41
|
+
*/
|
|
42
|
+
'slug': string;
|
|
43
|
+
/**
|
|
44
|
+
* Layout style
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof LayoutClass
|
|
47
|
+
*/
|
|
48
|
+
'style': string;
|
|
49
|
+
/**
|
|
50
|
+
* Header Template
|
|
51
|
+
* @type {HtmlTemplateClass}
|
|
52
|
+
* @memberof LayoutClass
|
|
53
|
+
*/
|
|
54
|
+
'headerTemplate': HtmlTemplateClass;
|
|
55
|
+
/**
|
|
56
|
+
* Footer Template
|
|
57
|
+
* @type {HtmlTemplateClass}
|
|
58
|
+
* @memberof LayoutClass
|
|
59
|
+
*/
|
|
60
|
+
'footerTemplate': HtmlTemplateClass;
|
|
61
|
+
/**
|
|
62
|
+
* Layout created at
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof LayoutClass
|
|
65
|
+
*/
|
|
66
|
+
'createdAt': string;
|
|
67
|
+
/**
|
|
68
|
+
* Layout updated at
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof LayoutClass
|
|
71
|
+
*/
|
|
72
|
+
'updatedAt': string;
|
|
73
|
+
}
|
|
@@ -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,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 { EmailAttachmentClass } from './email-attachment-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListEmailAttachmentsResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ListEmailAttachmentsResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* List of email attachments
|
|
21
|
+
* @type {Array<EmailAttachmentClass>}
|
|
22
|
+
* @memberof ListEmailAttachmentsResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'items': Array<EmailAttachmentClass>;
|
|
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,43 @@
|
|
|
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 ListEmailMessagesResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ListEmailMessagesResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* List of email messages
|
|
21
|
+
* @type {Array<EmailMessageClass>}
|
|
22
|
+
* @memberof ListEmailMessagesResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'items': Array<EmailMessageClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Token for next page of results
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ListEmailMessagesResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'nextPageToken': string;
|
|
31
|
+
/**
|
|
32
|
+
* Total number of items
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ListEmailMessagesResponseClass
|
|
35
|
+
*/
|
|
36
|
+
'totalItems': number;
|
|
37
|
+
/**
|
|
38
|
+
* Number of items per page
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ListEmailMessagesResponseClass
|
|
41
|
+
*/
|
|
42
|
+
'itemsPerPage': number;
|
|
43
|
+
}
|
|
@@ -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,43 @@
|
|
|
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 ListEmailThreadsResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ListEmailThreadsResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* List of email threads
|
|
21
|
+
* @type {Array<EmailThreadClass>}
|
|
22
|
+
* @memberof ListEmailThreadsResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'items': Array<EmailThreadClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Token for next page of results
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ListEmailThreadsResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'nextPageToken': string;
|
|
31
|
+
/**
|
|
32
|
+
* Total number of items
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ListEmailThreadsResponseClass
|
|
35
|
+
*/
|
|
36
|
+
'totalItems': number;
|
|
37
|
+
/**
|
|
38
|
+
* Number of items per page
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ListEmailThreadsResponseClass
|
|
41
|
+
*/
|
|
42
|
+
'itemsPerPage': number;
|
|
43
|
+
}
|
|
@@ -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,30 @@
|
|
|
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 ListLayoutsResponseClass
|
|
16
|
+
*/
|
|
17
|
+
export interface ListLayoutsResponseClass {
|
|
18
|
+
/**
|
|
19
|
+
* Layouts
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof ListLayoutsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
'items': Array<string>;
|
|
24
|
+
/**
|
|
25
|
+
* Next page token
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ListLayoutsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'nextPageToken': string;
|
|
30
|
+
}
|
|
@@ -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,30 @@
|
|
|
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 ListNotificationTemplatesResponseClass
|
|
16
|
+
*/
|
|
17
|
+
export interface ListNotificationTemplatesResponseClass {
|
|
18
|
+
/**
|
|
19
|
+
* Notification Templates
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof ListNotificationTemplatesResponseClass
|
|
22
|
+
*/
|
|
23
|
+
'items': Array<string>;
|
|
24
|
+
/**
|
|
25
|
+
* Next page token
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ListNotificationTemplatesResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'nextPageToken': string;
|
|
30
|
+
}
|
|
@@ -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,98 @@
|
|
|
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 { HtmlTemplateClass } from './html-template-class';
|
|
13
|
+
import { LayoutClass } from './layout-class';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface NotificationTemplateClass
|
|
18
|
+
*/
|
|
19
|
+
export interface NotificationTemplateClass {
|
|
20
|
+
/**
|
|
21
|
+
* Template id
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof NotificationTemplateClass
|
|
24
|
+
*/
|
|
25
|
+
'id': number;
|
|
26
|
+
/**
|
|
27
|
+
* Record owner
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof NotificationTemplateClass
|
|
30
|
+
*/
|
|
31
|
+
'owner': string;
|
|
32
|
+
/**
|
|
33
|
+
* Template name
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof NotificationTemplateClass
|
|
36
|
+
*/
|
|
37
|
+
'name': string;
|
|
38
|
+
/**
|
|
39
|
+
* Template slug
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof NotificationTemplateClass
|
|
42
|
+
*/
|
|
43
|
+
'slug': string;
|
|
44
|
+
/**
|
|
45
|
+
* Layout id
|
|
46
|
+
* @type {number}
|
|
47
|
+
* @memberof NotificationTemplateClass
|
|
48
|
+
*/
|
|
49
|
+
'layoutId': number;
|
|
50
|
+
/**
|
|
51
|
+
* Body Template
|
|
52
|
+
* @type {HtmlTemplateClass}
|
|
53
|
+
* @memberof NotificationTemplateClass
|
|
54
|
+
*/
|
|
55
|
+
'bodyTemplate': HtmlTemplateClass;
|
|
56
|
+
/**
|
|
57
|
+
* Template Layout
|
|
58
|
+
* @type {LayoutClass}
|
|
59
|
+
* @memberof NotificationTemplateClass
|
|
60
|
+
*/
|
|
61
|
+
'layout': LayoutClass;
|
|
62
|
+
/**
|
|
63
|
+
* Template created at
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof NotificationTemplateClass
|
|
66
|
+
*/
|
|
67
|
+
'createdAt': string;
|
|
68
|
+
/**
|
|
69
|
+
* Template updated at
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof NotificationTemplateClass
|
|
72
|
+
*/
|
|
73
|
+
'updatedAt': string;
|
|
74
|
+
/**
|
|
75
|
+
* Email sent to
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof NotificationTemplateClass
|
|
78
|
+
*/
|
|
79
|
+
'defaultEmailTo': string;
|
|
80
|
+
/**
|
|
81
|
+
* Email cc to
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof NotificationTemplateClass
|
|
84
|
+
*/
|
|
85
|
+
'defaultEmailCc': string;
|
|
86
|
+
/**
|
|
87
|
+
* Email bcc to
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof NotificationTemplateClass
|
|
90
|
+
*/
|
|
91
|
+
'defaultEmailBcc': string;
|
|
92
|
+
/**
|
|
93
|
+
* Email subject
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof NotificationTemplateClass
|
|
96
|
+
*/
|
|
97
|
+
'defaultEmailSubject': string;
|
|
98
|
+
}
|
|
@@ -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,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 S3DocumentDto
|
|
16
|
+
*/
|
|
17
|
+
export interface S3DocumentDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof S3DocumentDto
|
|
22
|
+
*/
|
|
23
|
+
'bucket'?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof S3DocumentDto
|
|
28
|
+
*/
|
|
29
|
+
'key': string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof S3DocumentDto
|
|
34
|
+
*/
|
|
35
|
+
'filename'?: 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,115 @@
|
|
|
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 { S3DocumentDto } from './s3-document-dto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SendNotificationRequestDto
|
|
17
|
+
*/
|
|
18
|
+
export interface SendNotificationRequestDto {
|
|
19
|
+
/**
|
|
20
|
+
* Unique identifying slug from template to be used for the email
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof SendNotificationRequestDto
|
|
23
|
+
*/
|
|
24
|
+
'templateSlug': string;
|
|
25
|
+
/**
|
|
26
|
+
* Subject of the email
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SendNotificationRequestDto
|
|
29
|
+
*/
|
|
30
|
+
'emailSubject'?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Email address of the sender
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof SendNotificationRequestDto
|
|
35
|
+
*/
|
|
36
|
+
'emailSender'?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Email address of the reciever
|
|
39
|
+
* @type {Array<string>}
|
|
40
|
+
* @memberof SendNotificationRequestDto
|
|
41
|
+
*/
|
|
42
|
+
'emailTo': Array<string>;
|
|
43
|
+
/**
|
|
44
|
+
* Email addresses of the reciepents who will be recieving copy of the email
|
|
45
|
+
* @type {Array<string>}
|
|
46
|
+
* @memberof SendNotificationRequestDto
|
|
47
|
+
*/
|
|
48
|
+
'emailCc': Array<string>;
|
|
49
|
+
/**
|
|
50
|
+
* Email addresses of the reciepents who will be recieving copy of the email without of them knowing who else recieved the copy
|
|
51
|
+
* @type {Array<string>}
|
|
52
|
+
* @memberof SendNotificationRequestDto
|
|
53
|
+
*/
|
|
54
|
+
'emailBcc': Array<string>;
|
|
55
|
+
/**
|
|
56
|
+
* Attachments for the email. Any attachement has to be uploaded to S3 first before being sent.
|
|
57
|
+
* @type {Array<S3DocumentDto>}
|
|
58
|
+
* @memberof SendNotificationRequestDto
|
|
59
|
+
*/
|
|
60
|
+
'attachments': Array<S3DocumentDto>;
|
|
61
|
+
/**
|
|
62
|
+
* 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
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof SendNotificationRequestDto
|
|
65
|
+
*/
|
|
66
|
+
'productSlug'?: string;
|
|
67
|
+
/**
|
|
68
|
+
* 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.
|
|
69
|
+
* @type {object}
|
|
70
|
+
* @memberof SendNotificationRequestDto
|
|
71
|
+
*/
|
|
72
|
+
'payload': object;
|
|
73
|
+
/**
|
|
74
|
+
* Entity type for email reply tracking.
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof SendNotificationRequestDto
|
|
77
|
+
*/
|
|
78
|
+
'entityType'?: SendNotificationRequestDtoEntityTypeEnum;
|
|
79
|
+
/**
|
|
80
|
+
* Entity code for email reply tracking
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof SendNotificationRequestDto
|
|
83
|
+
*/
|
|
84
|
+
'entityCode'?: string;
|
|
85
|
+
/**
|
|
86
|
+
* Reply-To address for email reply tracking. Auto-generated when entityType and entityCode are provided.
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof SendNotificationRequestDto
|
|
89
|
+
*/
|
|
90
|
+
'replyTo'?: string;
|
|
91
|
+
/**
|
|
92
|
+
* Custom Message-ID header. Auto-generated if not provided.
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof SendNotificationRequestDto
|
|
95
|
+
*/
|
|
96
|
+
'customMessageId'?: string;
|
|
97
|
+
/**
|
|
98
|
+
* Message-ID of the email this is replying to (for threading)
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof SendNotificationRequestDto
|
|
101
|
+
*/
|
|
102
|
+
'inReplyTo'?: string;
|
|
103
|
+
/**
|
|
104
|
+
* Message-IDs for email thread chain
|
|
105
|
+
* @type {Array<string>}
|
|
106
|
+
* @memberof SendNotificationRequestDto
|
|
107
|
+
*/
|
|
108
|
+
'references': Array<string>;
|
|
109
|
+
}
|
|
110
|
+
export declare const SendNotificationRequestDtoEntityTypeEnum: {
|
|
111
|
+
readonly Claim: "Claim";
|
|
112
|
+
readonly Policy: "Policy";
|
|
113
|
+
readonly Lead: "Lead";
|
|
114
|
+
};
|
|
115
|
+
export type SendNotificationRequestDtoEntityTypeEnum = typeof SendNotificationRequestDtoEntityTypeEnum[keyof typeof SendNotificationRequestDtoEntityTypeEnum];
|
|
@@ -0,0 +1,21 @@
|
|
|
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.SendNotificationRequestDtoEntityTypeEnum = void 0;
|
|
17
|
+
exports.SendNotificationRequestDtoEntityTypeEnum = {
|
|
18
|
+
Claim: 'Claim',
|
|
19
|
+
Policy: 'Policy',
|
|
20
|
+
Lead: 'Lead'
|
|
21
|
+
};
|
|
@@ -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 SendNotificationResponseClass
|
|
16
|
+
*/
|
|
17
|
+
export interface SendNotificationResponseClass {
|
|
18
|
+
/**
|
|
19
|
+
* Notification request code
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SendNotificationResponseClass
|
|
22
|
+
*/
|
|
23
|
+
'code': string;
|
|
24
|
+
}
|