@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,124 @@
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 { S3DocumentDto } from './s3-document-dto';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface SendNotificationRequestDto
22
+ */
23
+ export interface SendNotificationRequestDto {
24
+ /**
25
+ * Unique identifying slug from template to be used for the email
26
+ * @type {string}
27
+ * @memberof SendNotificationRequestDto
28
+ */
29
+ 'templateSlug': string;
30
+ /**
31
+ * Subject of the email
32
+ * @type {string}
33
+ * @memberof SendNotificationRequestDto
34
+ */
35
+ 'emailSubject'?: string;
36
+ /**
37
+ * Email address of the sender
38
+ * @type {string}
39
+ * @memberof SendNotificationRequestDto
40
+ */
41
+ 'emailSender'?: string;
42
+ /**
43
+ * Email address of the reciever
44
+ * @type {Array<string>}
45
+ * @memberof SendNotificationRequestDto
46
+ */
47
+ 'emailTo': Array<string>;
48
+ /**
49
+ * Email addresses of the reciepents who will be recieving copy of the email
50
+ * @type {Array<string>}
51
+ * @memberof SendNotificationRequestDto
52
+ */
53
+ 'emailCc': Array<string>;
54
+ /**
55
+ * Email addresses of the reciepents who will be recieving copy of the email without of them knowing who else recieved the copy
56
+ * @type {Array<string>}
57
+ * @memberof SendNotificationRequestDto
58
+ */
59
+ 'emailBcc': Array<string>;
60
+ /**
61
+ * Attachments for the email. Any attachement has to be uploaded to S3 first before being sent.
62
+ * @type {Array<S3DocumentDto>}
63
+ * @memberof SendNotificationRequestDto
64
+ */
65
+ 'attachments': Array<S3DocumentDto>;
66
+ /**
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
+ * @type {string}
69
+ * @memberof SendNotificationRequestDto
70
+ */
71
+ 'productSlug'?: string;
72
+ /**
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
+ * @type {object}
75
+ * @memberof SendNotificationRequestDto
76
+ */
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>;
114
+ }
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
+
@@ -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 SendNotificationResponseClass
21
+ */
22
+ export interface SendNotificationResponseClass {
23
+ /**
24
+ * Notification request code
25
+ * @type {string}
26
+ * @memberof SendNotificationResponseClass
27
+ */
28
+ 'code': string;
29
+ }
30
+
@@ -0,0 +1,51 @@
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 UpdateHtmlTemplateRequestDto
21
+ */
22
+ export interface UpdateHtmlTemplateRequestDto {
23
+ /**
24
+ *
25
+ * @type {number}
26
+ * @memberof UpdateHtmlTemplateRequestDto
27
+ */
28
+ 'id': number;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof UpdateHtmlTemplateRequestDto
33
+ */
34
+ 'type': UpdateHtmlTemplateRequestDtoTypeEnum;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof UpdateHtmlTemplateRequestDto
39
+ */
40
+ 'draftContent': string;
41
+ }
42
+
43
+ export const UpdateHtmlTemplateRequestDtoTypeEnum = {
44
+ Header: 'header',
45
+ Footer: 'footer',
46
+ Body: 'body'
47
+ } as const;
48
+
49
+ export type UpdateHtmlTemplateRequestDtoTypeEnum = typeof UpdateHtmlTemplateRequestDtoTypeEnum[keyof typeof UpdateHtmlTemplateRequestDtoTypeEnum];
50
+
51
+
@@ -0,0 +1,61 @@
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 { UpdateHtmlTemplateRequestDto } from './update-html-template-request-dto';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface UpdateLayoutRequestDto
22
+ */
23
+ export interface UpdateLayoutRequestDto {
24
+ /**
25
+ * Layout id
26
+ * @type {number}
27
+ * @memberof UpdateLayoutRequestDto
28
+ */
29
+ 'id': number;
30
+ /**
31
+ * Layout name
32
+ * @type {string}
33
+ * @memberof UpdateLayoutRequestDto
34
+ */
35
+ 'name': string;
36
+ /**
37
+ * Layout slug
38
+ * @type {string}
39
+ * @memberof UpdateLayoutRequestDto
40
+ */
41
+ 'slug': string;
42
+ /**
43
+ * Layout style
44
+ * @type {string}
45
+ * @memberof UpdateLayoutRequestDto
46
+ */
47
+ 'style': string;
48
+ /**
49
+ *
50
+ * @type {UpdateHtmlTemplateRequestDto}
51
+ * @memberof UpdateLayoutRequestDto
52
+ */
53
+ 'headerTemplate': UpdateHtmlTemplateRequestDto;
54
+ /**
55
+ *
56
+ * @type {UpdateHtmlTemplateRequestDto}
57
+ * @memberof UpdateLayoutRequestDto
58
+ */
59
+ 'footerTemplate': UpdateHtmlTemplateRequestDto;
60
+ }
61
+
@@ -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 { LayoutClass } from './layout-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface UpdateLayoutResponseClass
22
+ */
23
+ export interface UpdateLayoutResponseClass {
24
+ /**
25
+ * Layout
26
+ * @type {LayoutClass}
27
+ * @memberof UpdateLayoutResponseClass
28
+ */
29
+ 'layout': LayoutClass;
30
+ }
31
+
@@ -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 { UpdateHtmlTemplateRequestDto } from './update-html-template-request-dto';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface UpdateNotificationTemplateRequestDto
22
+ */
23
+ export interface UpdateNotificationTemplateRequestDto {
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof UpdateNotificationTemplateRequestDto
28
+ */
29
+ 'id': number;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof UpdateNotificationTemplateRequestDto
34
+ */
35
+ 'name': string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof UpdateNotificationTemplateRequestDto
40
+ */
41
+ 'slug': string;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof UpdateNotificationTemplateRequestDto
46
+ */
47
+ 'layoutId': number;
48
+ /**
49
+ *
50
+ * @type {UpdateHtmlTemplateRequestDto}
51
+ * @memberof UpdateNotificationTemplateRequestDto
52
+ */
53
+ 'bodyTemplate': UpdateHtmlTemplateRequestDto;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof UpdateNotificationTemplateRequestDto
58
+ */
59
+ 'defaultEmailTo'?: string;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof UpdateNotificationTemplateRequestDto
64
+ */
65
+ 'defaultEmailCc'?: string;
66
+ /**
67
+ *
68
+ * @type {string}
69
+ * @memberof UpdateNotificationTemplateRequestDto
70
+ */
71
+ 'defaultEmailBcc'?: string;
72
+ /**
73
+ *
74
+ * @type {string}
75
+ * @memberof UpdateNotificationTemplateRequestDto
76
+ */
77
+ 'defaultEmailSubject'?: 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 { NotificationTemplateClass } from './notification-template-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface UpdateNotificationTemplateResponseClass
22
+ */
23
+ export interface UpdateNotificationTemplateResponseClass {
24
+ /**
25
+ * Notification template
26
+ * @type {NotificationTemplateClass}
27
+ * @memberof UpdateNotificationTemplateResponseClass
28
+ */
29
+ 'template': NotificationTemplateClass;
30
+ }
31
+
package/package.json ADDED
@@ -0,0 +1,27 @@
1
+ {
2
+ "name": "@emilgroup/notification-sdk",
3
+ "version": "0.1.1-beta.0",
4
+ "description": "OpenAPI client for @emilgroup/notification-sdk",
5
+ "author": "OpenAPI-Generator Contributors",
6
+ "keywords": [
7
+ "axios",
8
+ "typescript",
9
+ "openapi-client",
10
+ "openapi-generator",
11
+ "@emilgroup/notification-sdk"
12
+ ],
13
+ "license": "Unlicense",
14
+ "main": "./dist/index.js",
15
+ "typings": "./dist/index.d.ts",
16
+ "scripts": {
17
+ "build": "tsc --outDir dist/",
18
+ "prepare": "npm run build"
19
+ },
20
+ "dependencies": {
21
+ "axios": "^1.12.0"
22
+ },
23
+ "devDependencies": {
24
+
25
+ "typescript": "^4.0"
26
+ }
27
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,23 @@
1
+ {
2
+ "compilerOptions": {
3
+ "declaration": true,
4
+ "target": "ES5",
5
+ "module": "CommonJS",
6
+ "noImplicitAny": true,
7
+ "esModuleInterop": true,
8
+ "noImplicitOverride": true,
9
+ "outDir": "dist",
10
+ "rootDir": ".",
11
+ "lib": [
12
+ "es6",
13
+ "dom"
14
+ ],
15
+ "typeRoots": [
16
+ "node_modules/@types"
17
+ ]
18
+ },
19
+ "exclude": [
20
+ "dist",
21
+ "node_modules"
22
+ ]
23
+ }