@emilgroup/notification-sdk-node 1.0.0-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 +38 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +68 -0
- package/api/layouts-api.ts +663 -0
- package/api/notification-templates-api.ts +677 -0
- package/api/notifications-api.ts +165 -0
- package/api.ts +35 -0
- package/base.ts +284 -0
- package/common.ts +199 -0
- package/configuration.ts +109 -0
- package/dist/api/layouts-api.d.ts +364 -0
- package/dist/api/layouts-api.js +622 -0
- package/dist/api/notification-templates-api.d.ts +373 -0
- package/dist/api/notification-templates-api.js +628 -0
- package/dist/api/notifications-api.d.ts +93 -0
- package/dist/api/notifications-api.js +224 -0
- package/dist/api.d.ts +14 -0
- package/dist/api.js +32 -0
- package/dist/base.d.ts +77 -0
- package/dist/base.js +393 -0
- package/dist/common.d.ts +92 -0
- package/dist/common.js +277 -0
- package/dist/configuration.d.ts +90 -0
- package/dist/configuration.js +44 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +36 -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/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 +60 -0
- package/dist/models/html-template-class.js +15 -0
- package/dist/models/index.d.ts +22 -0
- package/dist/models/index.js +38 -0
- package/dist/models/layout-class.d.ts +73 -0
- package/dist/models/layout-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/send-notification-request-dto.d.ts +66 -0
- package/dist/models/send-notification-request-dto.js +15 -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/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/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 +66 -0
- package/models/index.ts +22 -0
- package/models/layout-class.ts +79 -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/send-notification-request-dto.ts +72 -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 +29 -0
- package/tsconfig.json +22 -0
|
@@ -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
|
+
*
|
|
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 { LayoutClass } from './layout-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateLayoutResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateLayoutResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Layout
|
|
26
|
+
* @type {LayoutClass}
|
|
27
|
+
* @memberof CreateLayoutResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'layout': LayoutClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,72 @@
|
|
|
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
|
+
*
|
|
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 CreateNotificationTemplateRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateNotificationTemplateRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateNotificationTemplateRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'name': string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreateNotificationTemplateRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'slug': string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreateNotificationTemplateRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'bodyTemplate': string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof CreateNotificationTemplateRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'layoutId': number;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CreateNotificationTemplateRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'defaultEmailTo'?: string;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof CreateNotificationTemplateRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'defaultEmailCc'?: string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof CreateNotificationTemplateRequestDto
|
|
63
|
+
*/
|
|
64
|
+
'defaultEmailBcc'?: string;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof CreateNotificationTemplateRequestDto
|
|
69
|
+
*/
|
|
70
|
+
'defaultEmailSubject'?: string;
|
|
71
|
+
}
|
|
72
|
+
|
|
@@ -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
|
+
*
|
|
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 { NotificationTemplateClass } from './notification-template-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateNotificationTemplateResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateNotificationTemplateResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Template
|
|
26
|
+
* @type {NotificationTemplateClass}
|
|
27
|
+
* @memberof CreateNotificationTemplateResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'template': NotificationTemplateClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL NotificationService
|
|
5
|
+
* The EMIL NotificationService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
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 DeleteLayoutRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteLayoutRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Layout id
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof DeleteLayoutRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL NotificationService
|
|
5
|
+
* The EMIL NotificationService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
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 DeleteNotificationTemplateRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteNotificationTemplateRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof DeleteNotificationTemplateRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL NotificationService
|
|
5
|
+
* The EMIL NotificationService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
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 GetLayoutRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface GetLayoutRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Layout id
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof GetLayoutRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -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
|
+
*
|
|
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 { LayoutClass } from './layout-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetLayoutResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetLayoutResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Layout
|
|
26
|
+
* @type {LayoutClass}
|
|
27
|
+
* @memberof GetLayoutResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'layout': LayoutClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
*
|
|
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 GetNotificationTemplateRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface GetNotificationTemplateRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof GetNotificationTemplateRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof GetNotificationTemplateRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'expand'?: string;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -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
|
+
*
|
|
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 { NotificationTemplateClass } from './notification-template-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetNotificationTemplateResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetNotificationTemplateResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Template
|
|
26
|
+
* @type {NotificationTemplateClass}
|
|
27
|
+
* @memberof GetNotificationTemplateResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'template': NotificationTemplateClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
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
|
+
*
|
|
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 HtmlTemplateClass
|
|
21
|
+
*/
|
|
22
|
+
export interface HtmlTemplateClass {
|
|
23
|
+
/**
|
|
24
|
+
* Html template id
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof HtmlTemplateClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Html template type
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof HtmlTemplateClass
|
|
33
|
+
*/
|
|
34
|
+
'type': string;
|
|
35
|
+
/**
|
|
36
|
+
* Html template content
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof HtmlTemplateClass
|
|
39
|
+
*/
|
|
40
|
+
'content': string;
|
|
41
|
+
/**
|
|
42
|
+
* Html template draft content
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof HtmlTemplateClass
|
|
45
|
+
*/
|
|
46
|
+
'draftContent': string;
|
|
47
|
+
/**
|
|
48
|
+
* Html template created at
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof HtmlTemplateClass
|
|
51
|
+
*/
|
|
52
|
+
'createdAt': string;
|
|
53
|
+
/**
|
|
54
|
+
* Html template updated at
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof HtmlTemplateClass
|
|
57
|
+
*/
|
|
58
|
+
'updatedAt': string;
|
|
59
|
+
/**
|
|
60
|
+
* Html template deleted at
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof HtmlTemplateClass
|
|
63
|
+
*/
|
|
64
|
+
'deletedAt': string;
|
|
65
|
+
}
|
|
66
|
+
|
package/models/index.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export * from './create-layout-request-dto';
|
|
2
|
+
export * from './create-layout-response-class';
|
|
3
|
+
export * from './create-notification-template-request-dto';
|
|
4
|
+
export * from './create-notification-template-response-class';
|
|
5
|
+
export * from './delete-layout-request-dto';
|
|
6
|
+
export * from './delete-notification-template-request-dto';
|
|
7
|
+
export * from './get-layout-request-dto';
|
|
8
|
+
export * from './get-layout-response-class';
|
|
9
|
+
export * from './get-notification-template-request-dto';
|
|
10
|
+
export * from './get-notification-template-response-class';
|
|
11
|
+
export * from './html-template-class';
|
|
12
|
+
export * from './layout-class';
|
|
13
|
+
export * from './list-layouts-response-class';
|
|
14
|
+
export * from './list-notification-templates-response-class';
|
|
15
|
+
export * from './notification-template-class';
|
|
16
|
+
export * from './send-notification-request-dto';
|
|
17
|
+
export * from './send-notification-response-class';
|
|
18
|
+
export * from './update-html-template-request-dto';
|
|
19
|
+
export * from './update-layout-request-dto';
|
|
20
|
+
export * from './update-layout-response-class';
|
|
21
|
+
export * from './update-notification-template-request-dto';
|
|
22
|
+
export * from './update-notification-template-response-class';
|
|
@@ -0,0 +1,79 @@
|
|
|
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
|
+
*
|
|
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 { HtmlTemplateClass } from './html-template-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface LayoutClass
|
|
22
|
+
*/
|
|
23
|
+
export interface LayoutClass {
|
|
24
|
+
/**
|
|
25
|
+
* Layout id
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof LayoutClass
|
|
28
|
+
*/
|
|
29
|
+
'id': number;
|
|
30
|
+
/**
|
|
31
|
+
* Record owner
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof LayoutClass
|
|
34
|
+
*/
|
|
35
|
+
'owner': string;
|
|
36
|
+
/**
|
|
37
|
+
* Layout name
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof LayoutClass
|
|
40
|
+
*/
|
|
41
|
+
'name': string;
|
|
42
|
+
/**
|
|
43
|
+
* Layout slug
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof LayoutClass
|
|
46
|
+
*/
|
|
47
|
+
'slug': string;
|
|
48
|
+
/**
|
|
49
|
+
* Layout style
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof LayoutClass
|
|
52
|
+
*/
|
|
53
|
+
'style': string;
|
|
54
|
+
/**
|
|
55
|
+
* Header Template
|
|
56
|
+
* @type {HtmlTemplateClass}
|
|
57
|
+
* @memberof LayoutClass
|
|
58
|
+
*/
|
|
59
|
+
'headerTemplate': HtmlTemplateClass;
|
|
60
|
+
/**
|
|
61
|
+
* Footer Template
|
|
62
|
+
* @type {HtmlTemplateClass}
|
|
63
|
+
* @memberof LayoutClass
|
|
64
|
+
*/
|
|
65
|
+
'footerTemplate': HtmlTemplateClass;
|
|
66
|
+
/**
|
|
67
|
+
* Layout created at
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof LayoutClass
|
|
70
|
+
*/
|
|
71
|
+
'createdAt': string;
|
|
72
|
+
/**
|
|
73
|
+
* Layout updated at
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof LayoutClass
|
|
76
|
+
*/
|
|
77
|
+
'updatedAt': string;
|
|
78
|
+
}
|
|
79
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
*
|
|
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 ListLayoutsResponseClass
|
|
21
|
+
*/
|
|
22
|
+
export interface ListLayoutsResponseClass {
|
|
23
|
+
/**
|
|
24
|
+
* Layouts
|
|
25
|
+
* @type {Array<string>}
|
|
26
|
+
* @memberof ListLayoutsResponseClass
|
|
27
|
+
*/
|
|
28
|
+
'items': Array<string>;
|
|
29
|
+
/**
|
|
30
|
+
* Next page token
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof ListLayoutsResponseClass
|
|
33
|
+
*/
|
|
34
|
+
'nextPageToken': string;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
*
|
|
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 ListNotificationTemplatesResponseClass
|
|
21
|
+
*/
|
|
22
|
+
export interface ListNotificationTemplatesResponseClass {
|
|
23
|
+
/**
|
|
24
|
+
* Notification Templates
|
|
25
|
+
* @type {Array<string>}
|
|
26
|
+
* @memberof ListNotificationTemplatesResponseClass
|
|
27
|
+
*/
|
|
28
|
+
'items': Array<string>;
|
|
29
|
+
/**
|
|
30
|
+
* Next page token
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof ListNotificationTemplatesResponseClass
|
|
33
|
+
*/
|
|
34
|
+
'nextPageToken': string;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,104 @@
|
|
|
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
|
+
*
|
|
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 { HtmlTemplateClass } from './html-template-class';
|
|
17
|
+
import { LayoutClass } from './layout-class';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface NotificationTemplateClass
|
|
23
|
+
*/
|
|
24
|
+
export interface NotificationTemplateClass {
|
|
25
|
+
/**
|
|
26
|
+
* Template id
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof NotificationTemplateClass
|
|
29
|
+
*/
|
|
30
|
+
'id': number;
|
|
31
|
+
/**
|
|
32
|
+
* Record owner
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof NotificationTemplateClass
|
|
35
|
+
*/
|
|
36
|
+
'owner': string;
|
|
37
|
+
/**
|
|
38
|
+
* Template name
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof NotificationTemplateClass
|
|
41
|
+
*/
|
|
42
|
+
'name': string;
|
|
43
|
+
/**
|
|
44
|
+
* Template slug
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof NotificationTemplateClass
|
|
47
|
+
*/
|
|
48
|
+
'slug': string;
|
|
49
|
+
/**
|
|
50
|
+
* Layout id
|
|
51
|
+
* @type {number}
|
|
52
|
+
* @memberof NotificationTemplateClass
|
|
53
|
+
*/
|
|
54
|
+
'layoutId': number;
|
|
55
|
+
/**
|
|
56
|
+
* Body Template
|
|
57
|
+
* @type {HtmlTemplateClass}
|
|
58
|
+
* @memberof NotificationTemplateClass
|
|
59
|
+
*/
|
|
60
|
+
'bodyTemplate': HtmlTemplateClass;
|
|
61
|
+
/**
|
|
62
|
+
* Template Layout
|
|
63
|
+
* @type {LayoutClass}
|
|
64
|
+
* @memberof NotificationTemplateClass
|
|
65
|
+
*/
|
|
66
|
+
'layout': LayoutClass;
|
|
67
|
+
/**
|
|
68
|
+
* Template created at
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof NotificationTemplateClass
|
|
71
|
+
*/
|
|
72
|
+
'createdAt': string;
|
|
73
|
+
/**
|
|
74
|
+
* Template updated at
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof NotificationTemplateClass
|
|
77
|
+
*/
|
|
78
|
+
'updatedAt': string;
|
|
79
|
+
/**
|
|
80
|
+
* Email sent to
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof NotificationTemplateClass
|
|
83
|
+
*/
|
|
84
|
+
'defaultEmailTo': string;
|
|
85
|
+
/**
|
|
86
|
+
* Email cc to
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof NotificationTemplateClass
|
|
89
|
+
*/
|
|
90
|
+
'defaultEmailCc': string;
|
|
91
|
+
/**
|
|
92
|
+
* Email bcc to
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof NotificationTemplateClass
|
|
95
|
+
*/
|
|
96
|
+
'defaultEmailBcc': string;
|
|
97
|
+
/**
|
|
98
|
+
* Email subject
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof NotificationTemplateClass
|
|
101
|
+
*/
|
|
102
|
+
'defaultEmailSubject': string;
|
|
103
|
+
}
|
|
104
|
+
|