@emilgroup/notification-sdk 0.8.1-beta.48 → 0.8.1-beta.5

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 (101) hide show
  1. package/.openapi-generator/FILES +0 -20
  2. package/README.md +2 -2
  3. package/api/email-messages-api.ts +28 -40
  4. package/api/email-tracking-api.ts +40 -271
  5. package/api/email-verifications-api.ts +8 -16
  6. package/api/layouts-api.ts +36 -56
  7. package/api/notification-templates-api.ts +36 -56
  8. package/api/notifications-api.ts +4 -115
  9. package/api.ts +0 -6
  10. package/base.ts +15 -36
  11. package/configuration.ts +0 -11
  12. package/dist/api/email-messages-api.d.ts +28 -40
  13. package/dist/api/email-messages-api.js +25 -37
  14. package/dist/api/email-tracking-api.d.ts +40 -170
  15. package/dist/api/email-tracking-api.js +34 -233
  16. package/dist/api/email-verifications-api.d.ts +8 -16
  17. package/dist/api/email-verifications-api.js +8 -16
  18. package/dist/api/layouts-api.d.ts +36 -56
  19. package/dist/api/layouts-api.js +32 -52
  20. package/dist/api/notification-templates-api.d.ts +36 -56
  21. package/dist/api/notification-templates-api.js +32 -52
  22. package/dist/api/notifications-api.d.ts +4 -65
  23. package/dist/api/notifications-api.js +4 -101
  24. package/dist/api.d.ts +0 -3
  25. package/dist/api.js +0 -3
  26. package/dist/base.d.ts +0 -1
  27. package/dist/base.js +16 -36
  28. package/dist/configuration.d.ts +0 -9
  29. package/dist/configuration.js +0 -1
  30. package/dist/models/email-message-class.d.ts +7 -73
  31. package/dist/models/email-message-class.js +3 -22
  32. package/dist/models/email-thread-class.d.ts +5 -37
  33. package/dist/models/index.d.ts +0 -17
  34. package/dist/models/index.js +0 -17
  35. package/dist/models/send-notification-request-dto.d.ts +1 -10
  36. package/dist/models/send-notification-request-dto.js +1 -2
  37. package/models/email-message-class.ts +8 -78
  38. package/models/email-thread-class.ts +5 -37
  39. package/models/index.ts +0 -17
  40. package/models/send-notification-request-dto.ts +2 -9
  41. package/package.json +1 -1
  42. package/api/email-mailboxes-api.ts +0 -148
  43. package/api/email-subscriptions-api.ts +0 -559
  44. package/api/msgraph-webhooks-api.ts +0 -278
  45. package/dist/api/email-mailboxes-api.d.ts +0 -87
  46. package/dist/api/email-mailboxes-api.js +0 -218
  47. package/dist/api/email-subscriptions-api.d.ts +0 -319
  48. package/dist/api/email-subscriptions-api.js +0 -537
  49. package/dist/api/msgraph-webhooks-api.d.ts +0 -168
  50. package/dist/api/msgraph-webhooks-api.js +0 -305
  51. package/dist/models/assign-email-thread-entity-body-dto.d.ts +0 -43
  52. package/dist/models/assign-email-thread-entity-body-dto.js +0 -22
  53. package/dist/models/assign-email-thread-entity-response-class.d.ts +0 -25
  54. package/dist/models/assign-email-thread-entity-response-class.js +0 -15
  55. package/dist/models/email-mailbox-class.d.ts +0 -47
  56. package/dist/models/email-mailbox-class.js +0 -20
  57. package/dist/models/email-message-summary-class.d.ts +0 -98
  58. package/dist/models/email-message-summary-class.js +0 -33
  59. package/dist/models/email-subscription-class.d.ts +0 -104
  60. package/dist/models/email-subscription-class.js +0 -23
  61. package/dist/models/entity-ref-class.d.ts +0 -37
  62. package/dist/models/entity-ref-class.js +0 -22
  63. package/dist/models/get-email-subscription-response-class.d.ts +0 -25
  64. package/dist/models/get-email-subscription-response-class.js +0 -15
  65. package/dist/models/grpc-send-email-request-dto.d.ts +0 -137
  66. package/dist/models/grpc-send-email-request-dto.js +0 -22
  67. package/dist/models/inline-attachment-dto.d.ts +0 -36
  68. package/dist/models/inline-attachment-dto.js +0 -15
  69. package/dist/models/list-email-mailboxes-response-class.d.ts +0 -43
  70. package/dist/models/list-email-mailboxes-response-class.js +0 -15
  71. package/dist/models/list-email-subscriptions-response-class.d.ts +0 -43
  72. package/dist/models/list-email-subscriptions-response-class.js +0 -15
  73. package/dist/models/reconcile-email-subscriptions-request-dto.d.ts +0 -24
  74. package/dist/models/reconcile-email-subscriptions-request-dto.js +0 -15
  75. package/dist/models/reconcile-email-subscriptions-response-class.d.ts +0 -48
  76. package/dist/models/reconcile-email-subscriptions-response-class.js +0 -15
  77. package/dist/models/renew-email-subscription-response-class.d.ts +0 -25
  78. package/dist/models/renew-email-subscription-response-class.js +0 -15
  79. package/dist/models/send-email-request-dto.d.ts +0 -131
  80. package/dist/models/send-email-request-dto.js +0 -22
  81. package/dist/models/send-email-response-class.d.ts +0 -24
  82. package/dist/models/send-email-response-class.js +0 -15
  83. package/dist/models/unassign-email-thread-entity-response-class.d.ts +0 -25
  84. package/dist/models/unassign-email-thread-entity-response-class.js +0 -15
  85. package/models/assign-email-thread-entity-body-dto.ts +0 -52
  86. package/models/assign-email-thread-entity-response-class.ts +0 -31
  87. package/models/email-mailbox-class.ts +0 -56
  88. package/models/email-message-summary-class.ts +0 -109
  89. package/models/email-subscription-class.ts +0 -113
  90. package/models/entity-ref-class.ts +0 -46
  91. package/models/get-email-subscription-response-class.ts +0 -31
  92. package/models/grpc-send-email-request-dto.ts +0 -144
  93. package/models/inline-attachment-dto.ts +0 -42
  94. package/models/list-email-mailboxes-response-class.ts +0 -49
  95. package/models/list-email-subscriptions-response-class.ts +0 -49
  96. package/models/reconcile-email-subscriptions-request-dto.ts +0 -30
  97. package/models/reconcile-email-subscriptions-response-class.ts +0 -54
  98. package/models/renew-email-subscription-response-class.ts +0 -31
  99. package/models/send-email-request-dto.ts +0 -138
  100. package/models/send-email-response-class.ts +0 -30
  101. package/models/unassign-email-thread-entity-response-class.ts +0 -31
@@ -1,15 +0,0 @@
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 });
@@ -1,24 +0,0 @@
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 ReconcileEmailSubscriptionsRequestDto
16
- */
17
- export interface ReconcileEmailSubscriptionsRequestDto {
18
- /**
19
- * Reconcile the email channel of this product. Omit it to reconcile the tenant-wide email channel.
20
- * @type {string}
21
- * @memberof ReconcileEmailSubscriptionsRequestDto
22
- */
23
- 'productSlug'?: string;
24
- }
@@ -1,15 +0,0 @@
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 });
@@ -1,48 +0,0 @@
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 ReconcileEmailSubscriptionsResponseClass
16
- */
17
- export interface ReconcileEmailSubscriptionsResponseClass {
18
- /**
19
- * Subscriptions created for mailboxes and folders that had none
20
- * @type {number}
21
- * @memberof ReconcileEmailSubscriptionsResponseClass
22
- */
23
- 'created': number;
24
- /**
25
- * Subscriptions deleted because their mailbox or folder left the email channel
26
- * @type {number}
27
- * @memberof ReconcileEmailSubscriptionsResponseClass
28
- */
29
- 'deleted': number;
30
- /**
31
- * Subscriptions created again because they expired or failed
32
- * @type {number}
33
- * @memberof ReconcileEmailSubscriptionsResponseClass
34
- */
35
- 'resubscribed': number;
36
- /**
37
- * Subscriptions that were already in place
38
- * @type {number}
39
- * @memberof ReconcileEmailSubscriptionsResponseClass
40
- */
41
- 'unchanged': number;
42
- /**
43
- * Subscriptions whose Graph call failed. The sweep retries them, and the email subscription list shows the error.
44
- * @type {number}
45
- * @memberof ReconcileEmailSubscriptionsResponseClass
46
- */
47
- 'failed': number;
48
- }
@@ -1,15 +0,0 @@
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 });
@@ -1,25 +0,0 @@
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 { EmailSubscriptionClass } from './email-subscription-class';
13
- /**
14
- *
15
- * @export
16
- * @interface RenewEmailSubscriptionResponseClass
17
- */
18
- export interface RenewEmailSubscriptionResponseClass {
19
- /**
20
- * The email subscription response.
21
- * @type {EmailSubscriptionClass}
22
- * @memberof RenewEmailSubscriptionResponseClass
23
- */
24
- 'emailSubscription': EmailSubscriptionClass;
25
- }
@@ -1,15 +0,0 @@
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 });
@@ -1,131 +0,0 @@
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 { InlineAttachmentDto } from './inline-attachment-dto';
13
- import { S3DocumentDto } from './s3-document-dto';
14
- /**
15
- *
16
- * @export
17
- * @interface SendEmailRequestDto
18
- */
19
- export interface SendEmailRequestDto {
20
- /**
21
- * Subject of the email
22
- * @type {string}
23
- * @memberof SendEmailRequestDto
24
- */
25
- 'emailSubject': string;
26
- /**
27
- * HTML body of the email, sent as given. Required unless textBody is set.
28
- * @type {string}
29
- * @memberof SendEmailRequestDto
30
- */
31
- 'htmlBody'?: string;
32
- /**
33
- * Plain-text body of the email. Sent as the text alternative when htmlBody is also set. Required unless htmlBody is set.
34
- * @type {string}
35
- * @memberof SendEmailRequestDto
36
- */
37
- 'textBody'?: string;
38
- /**
39
- * Email address of the sender. Defaults to the sender configured in the tenant settings.
40
- * @type {string}
41
- * @memberof SendEmailRequestDto
42
- */
43
- 'emailSender'?: string;
44
- /**
45
- * Email addresses of the receivers
46
- * @type {Array<string>}
47
- * @memberof SendEmailRequestDto
48
- */
49
- 'emailTo': Array<string>;
50
- /**
51
- * Email addresses that receive a copy of the email
52
- * @type {Array<string>}
53
- * @memberof SendEmailRequestDto
54
- */
55
- 'emailCc'?: Array<string>;
56
- /**
57
- * Email addresses that receive a copy of the email without the other recipients knowing
58
- * @type {Array<string>}
59
- * @memberof SendEmailRequestDto
60
- */
61
- 'emailBcc'?: Array<string>;
62
- /**
63
- * Attachments that have already been uploaded to S3
64
- * @type {Array<S3DocumentDto>}
65
- * @memberof SendEmailRequestDto
66
- */
67
- 'attachments'?: Array<S3DocumentDto>;
68
- /**
69
- * Attachments sent with the request as base64 content. They are stored in S3 before the email is sent. Their decoded size may not exceed 10 MB in total.
70
- * @type {Array<InlineAttachmentDto>}
71
- * @memberof SendEmailRequestDto
72
- */
73
- 'inlineAttachments'?: Array<InlineAttachmentDto>;
74
- /**
75
- * Product slug used to look up a product-specific sender in the tenant settings, stored under productSlug_sender-email
76
- * @type {string}
77
- * @memberof SendEmailRequestDto
78
- */
79
- 'productSlug'?: string;
80
- /**
81
- * Entity type for email reply tracking
82
- * @type {string}
83
- * @memberof SendEmailRequestDto
84
- */
85
- 'entityType'?: SendEmailRequestDtoEntityTypeEnum;
86
- /**
87
- * Entity code for email reply tracking
88
- * @type {string}
89
- * @memberof SendEmailRequestDto
90
- */
91
- 'entityCode'?: string;
92
- /**
93
- * Reply-To address. Auto-generated when reply tracking is enabled.
94
- * @type {string}
95
- * @memberof SendEmailRequestDto
96
- */
97
- 'replyTo'?: string;
98
- /**
99
- * Custom Message-ID header. Auto-generated if not provided.
100
- * @type {string}
101
- * @memberof SendEmailRequestDto
102
- */
103
- 'customMessageId'?: string;
104
- /**
105
- * Message-ID of the email this is replying to (for threading)
106
- * @type {string}
107
- * @memberof SendEmailRequestDto
108
- */
109
- 'inReplyTo'?: string;
110
- /**
111
- * Message-IDs for email thread chain
112
- * @type {Array<string>}
113
- * @memberof SendEmailRequestDto
114
- */
115
- 'references'?: Array<string>;
116
- /**
117
- * Custom headers to set on the outgoing email
118
- * @type {{ [key: string]: string; }}
119
- * @memberof SendEmailRequestDto
120
- */
121
- 'customHeaders'?: {
122
- [key: string]: string;
123
- };
124
- }
125
- export declare const SendEmailRequestDtoEntityTypeEnum: {
126
- readonly Claim: "Claim";
127
- readonly Policy: "Policy";
128
- readonly Lead: "Lead";
129
- readonly Partner: "Partner";
130
- };
131
- export type SendEmailRequestDtoEntityTypeEnum = typeof SendEmailRequestDtoEntityTypeEnum[keyof typeof SendEmailRequestDtoEntityTypeEnum];
@@ -1,22 +0,0 @@
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.SendEmailRequestDtoEntityTypeEnum = void 0;
17
- exports.SendEmailRequestDtoEntityTypeEnum = {
18
- Claim: 'Claim',
19
- Policy: 'Policy',
20
- Lead: 'Lead',
21
- Partner: 'Partner'
22
- };
@@ -1,24 +0,0 @@
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 SendEmailResponseClass
16
- */
17
- export interface SendEmailResponseClass {
18
- /**
19
- * Notification request code
20
- * @type {string}
21
- * @memberof SendEmailResponseClass
22
- */
23
- 'code': string;
24
- }
@@ -1,15 +0,0 @@
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 });
@@ -1,25 +0,0 @@
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 UnassignEmailThreadEntityResponseClass
17
- */
18
- export interface UnassignEmailThreadEntityResponseClass {
19
- /**
20
- * The email thread response.
21
- * @type {EmailThreadClass}
22
- * @memberof UnassignEmailThreadEntityResponseClass
23
- */
24
- 'thread': EmailThreadClass;
25
- }
@@ -1,15 +0,0 @@
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 });
@@ -1,52 +0,0 @@
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 AssignEmailThreadEntityBodyDto
21
- */
22
- export interface AssignEmailThreadEntityBodyDto {
23
- /**
24
- * Type of the entity the email thread belongs to
25
- * @type {string}
26
- * @memberof AssignEmailThreadEntityBodyDto
27
- */
28
- 'entityType': AssignEmailThreadEntityBodyDtoEntityTypeEnum;
29
- /**
30
- * Code of the entity. Required unless entityNumber is set; takes precedence over entityNumber.
31
- * @type {string}
32
- * @memberof AssignEmailThreadEntityBodyDto
33
- */
34
- 'entityCode'?: string;
35
- /**
36
- * Number of the entity, e.g. the policy number. Used only when entityCode is not set.
37
- * @type {string}
38
- * @memberof AssignEmailThreadEntityBodyDto
39
- */
40
- 'entityNumber'?: string;
41
- }
42
-
43
- export const AssignEmailThreadEntityBodyDtoEntityTypeEnum = {
44
- Claim: 'Claim',
45
- Policy: 'Policy',
46
- Lead: 'Lead',
47
- Partner: 'Partner'
48
- } as const;
49
-
50
- export type AssignEmailThreadEntityBodyDtoEntityTypeEnum = typeof AssignEmailThreadEntityBodyDtoEntityTypeEnum[keyof typeof AssignEmailThreadEntityBodyDtoEntityTypeEnum];
51
-
52
-
@@ -1,31 +0,0 @@
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 AssignEmailThreadEntityResponseClass
22
- */
23
- export interface AssignEmailThreadEntityResponseClass {
24
- /**
25
- * The email thread response.
26
- * @type {EmailThreadClass}
27
- * @memberof AssignEmailThreadEntityResponseClass
28
- */
29
- 'thread': EmailThreadClass;
30
- }
31
-
@@ -1,56 +0,0 @@
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 EmailMailboxClass
21
- */
22
- export interface EmailMailboxClass {
23
- /**
24
- * Email address of the mailbox, lower-cased. Use it as the `mailbox` filter when listing email threads or messages.
25
- * @type {string}
26
- * @memberof EmailMailboxClass
27
- */
28
- 'address': string;
29
- /**
30
- * Transport the mailbox belongs to: a Microsoft 365 mailbox reached through Graph, or the sender address of an SES tenant
31
- * @type {string}
32
- * @memberof EmailMailboxClass
33
- */
34
- 'provider': EmailMailboxClassProviderEnum;
35
- /**
36
- * Number of threads in this mailbox whose latest message is inbound — the total of listing email threads with `mailbox` and `latestDirection==inbound`. Delivery reports (bounces) are not counted.
37
- * @type {number}
38
- * @memberof EmailMailboxClass
39
- */
40
- 'inboundCount': number;
41
- /**
42
- * Number of threads in this mailbox whose latest message is outbound — the total of listing email threads with `mailbox` and `latestDirection==outbound`
43
- * @type {number}
44
- * @memberof EmailMailboxClass
45
- */
46
- 'outboundCount': number;
47
- }
48
-
49
- export const EmailMailboxClassProviderEnum = {
50
- Ses: 'ses',
51
- Msgraph: 'msgraph'
52
- } as const;
53
-
54
- export type EmailMailboxClassProviderEnum = typeof EmailMailboxClassProviderEnum[keyof typeof EmailMailboxClassProviderEnum];
55
-
56
-
@@ -1,109 +0,0 @@
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 EmailMessageSummaryClass
21
- */
22
- export interface EmailMessageSummaryClass {
23
- /**
24
- * Unique identifier code for the email message. Use it to fetch the full message.
25
- * @type {string}
26
- * @memberof EmailMessageSummaryClass
27
- */
28
- 'code': string;
29
- /**
30
- * Whether the message was received or sent
31
- * @type {string}
32
- * @memberof EmailMessageSummaryClass
33
- */
34
- 'direction': EmailMessageSummaryClassDirectionEnum;
35
- /**
36
- * Sender email address
37
- * @type {string}
38
- * @memberof EmailMessageSummaryClass
39
- */
40
- 'fromAddress': string;
41
- /**
42
- * Recipient email addresses, comma-separated
43
- * @type {string}
44
- * @memberof EmailMessageSummaryClass
45
- */
46
- 'toAddresses': string;
47
- /**
48
- * Email subject
49
- * @type {string}
50
- * @memberof EmailMessageSummaryClass
51
- */
52
- 'subject'?: string;
53
- /**
54
- * Delivery status of the message
55
- * @type {string}
56
- * @memberof EmailMessageSummaryClass
57
- */
58
- 'deliveryStatus': EmailMessageSummaryClassDeliveryStatusEnum;
59
- /**
60
- * Timestamp when the email was sent
61
- * @type {string}
62
- * @memberof EmailMessageSummaryClass
63
- */
64
- 'sentAt'?: string;
65
- /**
66
- * Timestamp when the email was received
67
- * @type {string}
68
- * @memberof EmailMessageSummaryClass
69
- */
70
- 'receivedAt'?: string;
71
- /**
72
- * Created at timestamp
73
- * @type {string}
74
- * @memberof EmailMessageSummaryClass
75
- */
76
- 'createdAt': string;
77
- /**
78
- * Latest workflow status of the email: the status of whichever workflow it triggered changed most recently. Counts EMAIL_RECEIVED workflows for an incoming email and EMAIL_BOUNCED workflows for an outgoing one. Not set when the email triggered no workflow.
79
- * @type {string}
80
- * @memberof EmailMessageSummaryClass
81
- */
82
- 'workflowStatus'?: EmailMessageSummaryClassWorkflowStatusEnum;
83
- }
84
-
85
- export const EmailMessageSummaryClassDirectionEnum = {
86
- Outbound: 'outbound',
87
- Inbound: 'inbound'
88
- } as const;
89
-
90
- export type EmailMessageSummaryClassDirectionEnum = typeof EmailMessageSummaryClassDirectionEnum[keyof typeof EmailMessageSummaryClassDirectionEnum];
91
- export const EmailMessageSummaryClassDeliveryStatusEnum = {
92
- Pending: 'pending',
93
- Sent: 'sent',
94
- Bounced: 'bounced',
95
- Failed: 'failed',
96
- Received: 'received'
97
- } as const;
98
-
99
- export type EmailMessageSummaryClassDeliveryStatusEnum = typeof EmailMessageSummaryClassDeliveryStatusEnum[keyof typeof EmailMessageSummaryClassDeliveryStatusEnum];
100
- export const EmailMessageSummaryClassWorkflowStatusEnum = {
101
- InProgress: 'in_progress',
102
- Done: 'done',
103
- Failed: 'failed',
104
- Cancelled: 'cancelled'
105
- } as const;
106
-
107
- export type EmailMessageSummaryClassWorkflowStatusEnum = typeof EmailMessageSummaryClassWorkflowStatusEnum[keyof typeof EmailMessageSummaryClassWorkflowStatusEnum];
108
-
109
-