@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.
Files changed (160) hide show
  1. package/.openapi-generator/FILES +58 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +51 -0
  5. package/api/default-api.ts +124 -0
  6. package/api/email-messages-api.ts +368 -0
  7. package/api/email-tracking-api.ts +537 -0
  8. package/api/email-verifications-api.ts +264 -0
  9. package/api/layouts-api.ts +673 -0
  10. package/api/notification-templates-api.ts +687 -0
  11. package/api/notifications-api.ts +161 -0
  12. package/api.ts +39 -0
  13. package/base.ts +331 -0
  14. package/common.ts +198 -0
  15. package/configuration.ts +110 -0
  16. package/dist/api/default-api.d.ts +70 -0
  17. package/dist/api/default-api.js +200 -0
  18. package/dist/api/email-messages-api.d.ts +205 -0
  19. package/dist/api/email-messages-api.js +401 -0
  20. package/dist/api/email-tracking-api.d.ts +301 -0
  21. package/dist/api/email-tracking-api.js +520 -0
  22. package/dist/api/email-verifications-api.d.ts +146 -0
  23. package/dist/api/email-verifications-api.js +309 -0
  24. package/dist/api/layouts-api.d.ts +373 -0
  25. package/dist/api/layouts-api.js +624 -0
  26. package/dist/api/notification-templates-api.d.ts +382 -0
  27. package/dist/api/notification-templates-api.js +630 -0
  28. package/dist/api/notifications-api.d.ts +93 -0
  29. package/dist/api/notifications-api.js +220 -0
  30. package/dist/api.d.ts +18 -0
  31. package/dist/api.js +36 -0
  32. package/dist/base.d.ts +86 -0
  33. package/dist/base.js +367 -0
  34. package/dist/common.d.ts +91 -0
  35. package/dist/common.js +276 -0
  36. package/dist/configuration.d.ts +89 -0
  37. package/dist/configuration.js +52 -0
  38. package/dist/index.d.ts +15 -0
  39. package/dist/index.js +36 -0
  40. package/dist/models/complete-email-verification-dto.d.ts +30 -0
  41. package/dist/models/complete-email-verification-dto.js +15 -0
  42. package/dist/models/complete-email-verification-response-class.d.ts +24 -0
  43. package/dist/models/complete-email-verification-response-class.js +15 -0
  44. package/dist/models/create-layout-request-dto.d.ts +48 -0
  45. package/dist/models/create-layout-request-dto.js +15 -0
  46. package/dist/models/create-layout-response-class.d.ts +25 -0
  47. package/dist/models/create-layout-response-class.js +15 -0
  48. package/dist/models/create-notification-template-request-dto.d.ts +66 -0
  49. package/dist/models/create-notification-template-request-dto.js +15 -0
  50. package/dist/models/create-notification-template-response-class.d.ts +25 -0
  51. package/dist/models/create-notification-template-response-class.js +15 -0
  52. package/dist/models/delete-layout-request-dto.d.ts +24 -0
  53. package/dist/models/delete-layout-request-dto.js +15 -0
  54. package/dist/models/delete-notification-template-request-dto.d.ts +24 -0
  55. package/dist/models/delete-notification-template-request-dto.js +15 -0
  56. package/dist/models/download-attachment-response-class.d.ts +36 -0
  57. package/dist/models/download-attachment-response-class.js +15 -0
  58. package/dist/models/email-attachment-class.d.ts +84 -0
  59. package/dist/models/email-attachment-class.js +15 -0
  60. package/dist/models/email-message-class.d.ts +140 -0
  61. package/dist/models/email-message-class.js +27 -0
  62. package/dist/models/email-thread-class.d.ts +83 -0
  63. package/dist/models/email-thread-class.js +20 -0
  64. package/dist/models/get-email-message-response-class.d.ts +25 -0
  65. package/dist/models/get-email-message-response-class.js +15 -0
  66. package/dist/models/get-email-thread-response-class.d.ts +25 -0
  67. package/dist/models/get-email-thread-response-class.js +15 -0
  68. package/dist/models/get-layout-request-dto.d.ts +24 -0
  69. package/dist/models/get-layout-request-dto.js +15 -0
  70. package/dist/models/get-layout-response-class.d.ts +25 -0
  71. package/dist/models/get-layout-response-class.js +15 -0
  72. package/dist/models/get-notification-template-request-dto.d.ts +30 -0
  73. package/dist/models/get-notification-template-request-dto.js +15 -0
  74. package/dist/models/get-notification-template-response-class.d.ts +25 -0
  75. package/dist/models/get-notification-template-response-class.js +15 -0
  76. package/dist/models/html-template-class.d.ts +54 -0
  77. package/dist/models/html-template-class.js +15 -0
  78. package/dist/models/index.d.ts +38 -0
  79. package/dist/models/index.js +54 -0
  80. package/dist/models/initiate-email-verification-dto.d.ts +30 -0
  81. package/dist/models/initiate-email-verification-dto.js +15 -0
  82. package/dist/models/initiate-email-verification-response-class.d.ts +24 -0
  83. package/dist/models/initiate-email-verification-response-class.js +15 -0
  84. package/dist/models/inline-response200.d.ts +54 -0
  85. package/dist/models/inline-response200.js +15 -0
  86. package/dist/models/inline-response503.d.ts +54 -0
  87. package/dist/models/inline-response503.js +15 -0
  88. package/dist/models/layout-class.d.ts +73 -0
  89. package/dist/models/layout-class.js +15 -0
  90. package/dist/models/list-email-attachments-response-class.d.ts +25 -0
  91. package/dist/models/list-email-attachments-response-class.js +15 -0
  92. package/dist/models/list-email-messages-response-class.d.ts +43 -0
  93. package/dist/models/list-email-messages-response-class.js +15 -0
  94. package/dist/models/list-email-threads-response-class.d.ts +43 -0
  95. package/dist/models/list-email-threads-response-class.js +15 -0
  96. package/dist/models/list-layouts-response-class.d.ts +30 -0
  97. package/dist/models/list-layouts-response-class.js +15 -0
  98. package/dist/models/list-notification-templates-response-class.d.ts +30 -0
  99. package/dist/models/list-notification-templates-response-class.js +15 -0
  100. package/dist/models/notification-template-class.d.ts +98 -0
  101. package/dist/models/notification-template-class.js +15 -0
  102. package/dist/models/s3-document-dto.d.ts +36 -0
  103. package/dist/models/s3-document-dto.js +15 -0
  104. package/dist/models/send-notification-request-dto.d.ts +115 -0
  105. package/dist/models/send-notification-request-dto.js +21 -0
  106. package/dist/models/send-notification-response-class.d.ts +24 -0
  107. package/dist/models/send-notification-response-class.js +15 -0
  108. package/dist/models/update-html-template-request-dto.d.ts +42 -0
  109. package/dist/models/update-html-template-request-dto.js +21 -0
  110. package/dist/models/update-layout-request-dto.d.ts +55 -0
  111. package/dist/models/update-layout-request-dto.js +15 -0
  112. package/dist/models/update-layout-response-class.d.ts +25 -0
  113. package/dist/models/update-layout-response-class.js +15 -0
  114. package/dist/models/update-notification-template-request-dto.d.ts +73 -0
  115. package/dist/models/update-notification-template-request-dto.js +15 -0
  116. package/dist/models/update-notification-template-response-class.d.ts +25 -0
  117. package/dist/models/update-notification-template-response-class.js +15 -0
  118. package/git_push.sh +57 -0
  119. package/index.ts +19 -0
  120. package/models/complete-email-verification-dto.ts +36 -0
  121. package/models/complete-email-verification-response-class.ts +30 -0
  122. package/models/create-layout-request-dto.ts +54 -0
  123. package/models/create-layout-response-class.ts +31 -0
  124. package/models/create-notification-template-request-dto.ts +72 -0
  125. package/models/create-notification-template-response-class.ts +31 -0
  126. package/models/delete-layout-request-dto.ts +30 -0
  127. package/models/delete-notification-template-request-dto.ts +30 -0
  128. package/models/download-attachment-response-class.ts +42 -0
  129. package/models/email-attachment-class.ts +90 -0
  130. package/models/email-message-class.ts +150 -0
  131. package/models/email-thread-class.ts +92 -0
  132. package/models/get-email-message-response-class.ts +31 -0
  133. package/models/get-email-thread-response-class.ts +31 -0
  134. package/models/get-layout-request-dto.ts +30 -0
  135. package/models/get-layout-response-class.ts +31 -0
  136. package/models/get-notification-template-request-dto.ts +36 -0
  137. package/models/get-notification-template-response-class.ts +31 -0
  138. package/models/html-template-class.ts +60 -0
  139. package/models/index.ts +38 -0
  140. package/models/initiate-email-verification-dto.ts +36 -0
  141. package/models/initiate-email-verification-response-class.ts +30 -0
  142. package/models/inline-response200.ts +48 -0
  143. package/models/inline-response503.ts +48 -0
  144. package/models/layout-class.ts +79 -0
  145. package/models/list-email-attachments-response-class.ts +31 -0
  146. package/models/list-email-messages-response-class.ts +49 -0
  147. package/models/list-email-threads-response-class.ts +49 -0
  148. package/models/list-layouts-response-class.ts +36 -0
  149. package/models/list-notification-templates-response-class.ts +36 -0
  150. package/models/notification-template-class.ts +104 -0
  151. package/models/s3-document-dto.ts +42 -0
  152. package/models/send-notification-request-dto.ts +124 -0
  153. package/models/send-notification-response-class.ts +30 -0
  154. package/models/update-html-template-request-dto.ts +51 -0
  155. package/models/update-layout-request-dto.ts +61 -0
  156. package/models/update-layout-response-class.ts +31 -0
  157. package/models/update-notification-template-request-dto.ts +79 -0
  158. package/models/update-notification-template-response-class.ts +31 -0
  159. package/package.json +27 -0
  160. package/tsconfig.json +23 -0
@@ -0,0 +1,38 @@
1
+ export * from './complete-email-verification-dto';
2
+ export * from './complete-email-verification-response-class';
3
+ export * from './create-layout-request-dto';
4
+ export * from './create-layout-response-class';
5
+ export * from './create-notification-template-request-dto';
6
+ export * from './create-notification-template-response-class';
7
+ export * from './delete-layout-request-dto';
8
+ export * from './delete-notification-template-request-dto';
9
+ export * from './download-attachment-response-class';
10
+ export * from './email-attachment-class';
11
+ export * from './email-message-class';
12
+ export * from './email-thread-class';
13
+ export * from './get-email-message-response-class';
14
+ export * from './get-email-thread-response-class';
15
+ export * from './get-layout-request-dto';
16
+ export * from './get-layout-response-class';
17
+ export * from './get-notification-template-request-dto';
18
+ export * from './get-notification-template-response-class';
19
+ export * from './html-template-class';
20
+ export * from './initiate-email-verification-dto';
21
+ export * from './initiate-email-verification-response-class';
22
+ export * from './inline-response200';
23
+ export * from './inline-response503';
24
+ export * from './layout-class';
25
+ export * from './list-email-attachments-response-class';
26
+ export * from './list-email-messages-response-class';
27
+ export * from './list-email-threads-response-class';
28
+ export * from './list-layouts-response-class';
29
+ export * from './list-notification-templates-response-class';
30
+ export * from './notification-template-class';
31
+ export * from './s3-document-dto';
32
+ export * from './send-notification-request-dto';
33
+ export * from './send-notification-response-class';
34
+ export * from './update-html-template-request-dto';
35
+ export * from './update-layout-request-dto';
36
+ export * from './update-layout-response-class';
37
+ export * from './update-notification-template-request-dto';
38
+ export * from './update-notification-template-response-class';
@@ -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
+ * 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 InitiateEmailVerificationDto
21
+ */
22
+ export interface InitiateEmailVerificationDto {
23
+ /**
24
+ * User email
25
+ * @type {string}
26
+ * @memberof InitiateEmailVerificationDto
27
+ */
28
+ 'email': string;
29
+ /**
30
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
31
+ * @type {string}
32
+ * @memberof InitiateEmailVerificationDto
33
+ */
34
+ 'templateSlug'?: string;
35
+ }
36
+
@@ -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
+ * 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 InitiateEmailVerificationResponseClass
21
+ */
22
+ export interface InitiateEmailVerificationResponseClass {
23
+ /**
24
+ * Initiate verification result
25
+ * @type {boolean}
26
+ * @memberof InitiateEmailVerificationResponseClass
27
+ */
28
+ 'result': boolean;
29
+ }
30
+
@@ -0,0 +1,48 @@
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 InlineResponse200
21
+ */
22
+ export interface InlineResponse200 {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof InlineResponse200
27
+ */
28
+ 'status'?: string;
29
+ /**
30
+ *
31
+ * @type {{ [key: string]: { [key: string]: object; }; }}
32
+ * @memberof InlineResponse200
33
+ */
34
+ 'info'?: { [key: string]: { [key: string]: object; }; } | null;
35
+ /**
36
+ *
37
+ * @type {{ [key: string]: { [key: string]: object; }; }}
38
+ * @memberof InlineResponse200
39
+ */
40
+ 'error'?: { [key: string]: { [key: string]: object; }; } | null;
41
+ /**
42
+ *
43
+ * @type {{ [key: string]: { [key: string]: object; }; }}
44
+ * @memberof InlineResponse200
45
+ */
46
+ 'details'?: { [key: string]: { [key: string]: object; }; };
47
+ }
48
+
@@ -0,0 +1,48 @@
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 InlineResponse503
21
+ */
22
+ export interface InlineResponse503 {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof InlineResponse503
27
+ */
28
+ 'status'?: string;
29
+ /**
30
+ *
31
+ * @type {{ [key: string]: { [key: string]: object; }; }}
32
+ * @memberof InlineResponse503
33
+ */
34
+ 'info'?: { [key: string]: { [key: string]: object; }; } | null;
35
+ /**
36
+ *
37
+ * @type {{ [key: string]: { [key: string]: object; }; }}
38
+ * @memberof InlineResponse503
39
+ */
40
+ 'error'?: { [key: string]: { [key: string]: object; }; } | null;
41
+ /**
42
+ *
43
+ * @type {{ [key: string]: { [key: string]: object; }; }}
44
+ * @memberof InlineResponse503
45
+ */
46
+ 'details'?: { [key: string]: { [key: string]: object; }; };
47
+ }
48
+
@@ -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
+ * 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 { 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,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 { EmailAttachmentClass } from './email-attachment-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListEmailAttachmentsResponseClass
22
+ */
23
+ export interface ListEmailAttachmentsResponseClass {
24
+ /**
25
+ * List of email attachments
26
+ * @type {Array<EmailAttachmentClass>}
27
+ * @memberof ListEmailAttachmentsResponseClass
28
+ */
29
+ 'items': Array<EmailAttachmentClass>;
30
+ }
31
+
@@ -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 { EmailMessageClass } from './email-message-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListEmailMessagesResponseClass
22
+ */
23
+ export interface ListEmailMessagesResponseClass {
24
+ /**
25
+ * List of email messages
26
+ * @type {Array<EmailMessageClass>}
27
+ * @memberof ListEmailMessagesResponseClass
28
+ */
29
+ 'items': Array<EmailMessageClass>;
30
+ /**
31
+ * Token for next page of results
32
+ * @type {string}
33
+ * @memberof ListEmailMessagesResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ /**
37
+ * Total number of items
38
+ * @type {number}
39
+ * @memberof ListEmailMessagesResponseClass
40
+ */
41
+ 'totalItems': number;
42
+ /**
43
+ * Number of items per page
44
+ * @type {number}
45
+ * @memberof ListEmailMessagesResponseClass
46
+ */
47
+ 'itemsPerPage': number;
48
+ }
49
+
@@ -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
+
@@ -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
+ * 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 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
+ * 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 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
+ * 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 { 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
+
@@ -0,0 +1,42 @@
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 S3DocumentDto
21
+ */
22
+ export interface S3DocumentDto {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof S3DocumentDto
27
+ */
28
+ 'bucket'?: string;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof S3DocumentDto
33
+ */
34
+ 'key': string;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof S3DocumentDto
39
+ */
40
+ 'filename'?: string;
41
+ }
42
+