@emilgroup/notification-sdk 0.8.1-beta.59 → 0.8.1-beta.6

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 (110) hide show
  1. package/.openapi-generator/FILES +0 -23
  2. package/README.md +2 -2
  3. package/api/email-messages-api.ts +36 -56
  4. package/api/email-tracking-api.ts +48 -291
  5. package/api/email-verifications-api.ts +12 -24
  6. package/api/layouts-api.ts +46 -76
  7. package/api/notification-templates-api.ts +46 -76
  8. package/api/notifications-api.ts +6 -121
  9. package/api.ts +0 -6
  10. package/base.ts +41 -174
  11. package/configuration.ts +0 -20
  12. package/dist/api/email-messages-api.d.ts +28 -40
  13. package/dist/api/email-messages-api.js +40 -62
  14. package/dist/api/email-tracking-api.d.ts +40 -170
  15. package/dist/api/email-tracking-api.js +48 -261
  16. package/dist/api/email-verifications-api.d.ts +8 -16
  17. package/dist/api/email-verifications-api.js +16 -30
  18. package/dist/api/layouts-api.d.ts +36 -56
  19. package/dist/api/layouts-api.js +50 -81
  20. package/dist/api/notification-templates-api.d.ts +36 -56
  21. package/dist/api/notification-templates-api.js +50 -81
  22. package/dist/api/notifications-api.d.ts +4 -65
  23. package/dist/api/notifications-api.js +8 -111
  24. package/dist/api.d.ts +0 -3
  25. package/dist/api.js +0 -3
  26. package/dist/base.d.ts +0 -24
  27. package/dist/base.js +59 -178
  28. package/dist/configuration.d.ts +0 -17
  29. package/dist/configuration.js +0 -2
  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 -20
  34. package/dist/models/index.js +0 -20
  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 -20
  40. package/models/send-notification-request-dto.ts +2 -9
  41. package/package.json +1 -1
  42. package/api/email-mailboxes-api.ts +0 -150
  43. package/api/email-subscriptions-api.ts +0 -781
  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 -221
  47. package/dist/api/email-subscriptions-api.d.ts +0 -432
  48. package/dist/api/email-subscriptions-api.js +0 -738
  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/catch-up-email-subscription-response-class.d.ts +0 -24
  56. package/dist/models/catch-up-email-subscription-response-class.js +0 -15
  57. package/dist/models/catch-up-email-subscriptions-request-dto.d.ts +0 -24
  58. package/dist/models/catch-up-email-subscriptions-request-dto.js +0 -15
  59. package/dist/models/catch-up-email-subscriptions-response-class.d.ts +0 -30
  60. package/dist/models/catch-up-email-subscriptions-response-class.js +0 -15
  61. package/dist/models/email-mailbox-class.d.ts +0 -47
  62. package/dist/models/email-mailbox-class.js +0 -20
  63. package/dist/models/email-message-summary-class.d.ts +0 -98
  64. package/dist/models/email-message-summary-class.js +0 -33
  65. package/dist/models/email-subscription-class.d.ts +0 -110
  66. package/dist/models/email-subscription-class.js +0 -23
  67. package/dist/models/entity-ref-class.d.ts +0 -37
  68. package/dist/models/entity-ref-class.js +0 -22
  69. package/dist/models/get-email-subscription-response-class.d.ts +0 -25
  70. package/dist/models/get-email-subscription-response-class.js +0 -15
  71. package/dist/models/grpc-send-email-request-dto.d.ts +0 -137
  72. package/dist/models/grpc-send-email-request-dto.js +0 -22
  73. package/dist/models/inline-attachment-dto.d.ts +0 -36
  74. package/dist/models/inline-attachment-dto.js +0 -15
  75. package/dist/models/list-email-mailboxes-response-class.d.ts +0 -43
  76. package/dist/models/list-email-mailboxes-response-class.js +0 -15
  77. package/dist/models/list-email-subscriptions-response-class.d.ts +0 -43
  78. package/dist/models/list-email-subscriptions-response-class.js +0 -15
  79. package/dist/models/reconcile-email-subscriptions-request-dto.d.ts +0 -24
  80. package/dist/models/reconcile-email-subscriptions-request-dto.js +0 -15
  81. package/dist/models/reconcile-email-subscriptions-response-class.d.ts +0 -48
  82. package/dist/models/reconcile-email-subscriptions-response-class.js +0 -15
  83. package/dist/models/renew-email-subscription-response-class.d.ts +0 -25
  84. package/dist/models/renew-email-subscription-response-class.js +0 -15
  85. package/dist/models/send-email-request-dto.d.ts +0 -131
  86. package/dist/models/send-email-request-dto.js +0 -22
  87. package/dist/models/send-email-response-class.d.ts +0 -24
  88. package/dist/models/send-email-response-class.js +0 -15
  89. package/dist/models/unassign-email-thread-entity-response-class.d.ts +0 -25
  90. package/dist/models/unassign-email-thread-entity-response-class.js +0 -15
  91. package/models/assign-email-thread-entity-body-dto.ts +0 -52
  92. package/models/assign-email-thread-entity-response-class.ts +0 -31
  93. package/models/catch-up-email-subscription-response-class.ts +0 -30
  94. package/models/catch-up-email-subscriptions-request-dto.ts +0 -30
  95. package/models/catch-up-email-subscriptions-response-class.ts +0 -36
  96. package/models/email-mailbox-class.ts +0 -56
  97. package/models/email-message-summary-class.ts +0 -109
  98. package/models/email-subscription-class.ts +0 -119
  99. package/models/entity-ref-class.ts +0 -46
  100. package/models/get-email-subscription-response-class.ts +0 -31
  101. package/models/grpc-send-email-request-dto.ts +0 -144
  102. package/models/inline-attachment-dto.ts +0 -42
  103. package/models/list-email-mailboxes-response-class.ts +0 -49
  104. package/models/list-email-subscriptions-response-class.ts +0 -49
  105. package/models/reconcile-email-subscriptions-request-dto.ts +0 -30
  106. package/models/reconcile-email-subscriptions-response-class.ts +0 -54
  107. package/models/renew-email-subscription-response-class.ts +0 -31
  108. package/models/send-email-request-dto.ts +0 -138
  109. package/models/send-email-response-class.ts +0 -30
  110. package/models/unassign-email-thread-entity-response-class.ts +0 -31
@@ -1,30 +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 CatchUpEmailSubscriptionsResponseClass
16
- */
17
- export interface CatchUpEmailSubscriptionsResponseClass {
18
- /**
19
- * Subscriptions a catch-up was queued for
20
- * @type {number}
21
- * @memberof CatchUpEmailSubscriptionsResponseClass
22
- */
23
- 'queued': number;
24
- /**
25
- * Subscriptions skipped because they are being deleted or could not be queued
26
- * @type {number}
27
- * @memberof CatchUpEmailSubscriptionsResponseClass
28
- */
29
- 'skipped': number;
30
- }
@@ -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,47 +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 EmailMailboxClass
16
- */
17
- export interface EmailMailboxClass {
18
- /**
19
- * Email address of the mailbox, lower-cased. Use it as the `mailbox` filter when listing email threads or messages.
20
- * @type {string}
21
- * @memberof EmailMailboxClass
22
- */
23
- 'address': string;
24
- /**
25
- * Transport the mailbox belongs to: a Microsoft 365 mailbox reached through Graph, or the sender address of an SES tenant
26
- * @type {string}
27
- * @memberof EmailMailboxClass
28
- */
29
- 'provider': EmailMailboxClassProviderEnum;
30
- /**
31
- * 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.
32
- * @type {number}
33
- * @memberof EmailMailboxClass
34
- */
35
- 'inboundCount': number;
36
- /**
37
- * Number of threads in this mailbox whose latest message is outbound — the total of listing email threads with `mailbox` and `latestDirection==outbound`
38
- * @type {number}
39
- * @memberof EmailMailboxClass
40
- */
41
- 'outboundCount': number;
42
- }
43
- export declare const EmailMailboxClassProviderEnum: {
44
- readonly Ses: "ses";
45
- readonly Msgraph: "msgraph";
46
- };
47
- export type EmailMailboxClassProviderEnum = typeof EmailMailboxClassProviderEnum[keyof typeof EmailMailboxClassProviderEnum];
@@ -1,20 +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.EmailMailboxClassProviderEnum = void 0;
17
- exports.EmailMailboxClassProviderEnum = {
18
- Ses: 'ses',
19
- Msgraph: 'msgraph'
20
- };
@@ -1,98 +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 EmailMessageSummaryClass
16
- */
17
- export interface EmailMessageSummaryClass {
18
- /**
19
- * Unique identifier code for the email message. Use it to fetch the full message.
20
- * @type {string}
21
- * @memberof EmailMessageSummaryClass
22
- */
23
- 'code': string;
24
- /**
25
- * Whether the message was received or sent
26
- * @type {string}
27
- * @memberof EmailMessageSummaryClass
28
- */
29
- 'direction': EmailMessageSummaryClassDirectionEnum;
30
- /**
31
- * Sender email address
32
- * @type {string}
33
- * @memberof EmailMessageSummaryClass
34
- */
35
- 'fromAddress': string;
36
- /**
37
- * Recipient email addresses, comma-separated
38
- * @type {string}
39
- * @memberof EmailMessageSummaryClass
40
- */
41
- 'toAddresses': string;
42
- /**
43
- * Email subject
44
- * @type {string}
45
- * @memberof EmailMessageSummaryClass
46
- */
47
- 'subject'?: string;
48
- /**
49
- * Delivery status of the message
50
- * @type {string}
51
- * @memberof EmailMessageSummaryClass
52
- */
53
- 'deliveryStatus': EmailMessageSummaryClassDeliveryStatusEnum;
54
- /**
55
- * Timestamp when the email was sent
56
- * @type {string}
57
- * @memberof EmailMessageSummaryClass
58
- */
59
- 'sentAt'?: string;
60
- /**
61
- * Timestamp when the email was received
62
- * @type {string}
63
- * @memberof EmailMessageSummaryClass
64
- */
65
- 'receivedAt'?: string;
66
- /**
67
- * Created at timestamp
68
- * @type {string}
69
- * @memberof EmailMessageSummaryClass
70
- */
71
- 'createdAt': string;
72
- /**
73
- * 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.
74
- * @type {string}
75
- * @memberof EmailMessageSummaryClass
76
- */
77
- 'workflowStatus'?: EmailMessageSummaryClassWorkflowStatusEnum;
78
- }
79
- export declare const EmailMessageSummaryClassDirectionEnum: {
80
- readonly Outbound: "outbound";
81
- readonly Inbound: "inbound";
82
- };
83
- export type EmailMessageSummaryClassDirectionEnum = typeof EmailMessageSummaryClassDirectionEnum[keyof typeof EmailMessageSummaryClassDirectionEnum];
84
- export declare const EmailMessageSummaryClassDeliveryStatusEnum: {
85
- readonly Pending: "pending";
86
- readonly Sent: "sent";
87
- readonly Bounced: "bounced";
88
- readonly Failed: "failed";
89
- readonly Received: "received";
90
- };
91
- export type EmailMessageSummaryClassDeliveryStatusEnum = typeof EmailMessageSummaryClassDeliveryStatusEnum[keyof typeof EmailMessageSummaryClassDeliveryStatusEnum];
92
- export declare const EmailMessageSummaryClassWorkflowStatusEnum: {
93
- readonly InProgress: "in_progress";
94
- readonly Done: "done";
95
- readonly Failed: "failed";
96
- readonly Cancelled: "cancelled";
97
- };
98
- export type EmailMessageSummaryClassWorkflowStatusEnum = typeof EmailMessageSummaryClassWorkflowStatusEnum[keyof typeof EmailMessageSummaryClassWorkflowStatusEnum];
@@ -1,33 +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.EmailMessageSummaryClassWorkflowStatusEnum = exports.EmailMessageSummaryClassDeliveryStatusEnum = exports.EmailMessageSummaryClassDirectionEnum = void 0;
17
- exports.EmailMessageSummaryClassDirectionEnum = {
18
- Outbound: 'outbound',
19
- Inbound: 'inbound'
20
- };
21
- exports.EmailMessageSummaryClassDeliveryStatusEnum = {
22
- Pending: 'pending',
23
- Sent: 'sent',
24
- Bounced: 'bounced',
25
- Failed: 'failed',
26
- Received: 'received'
27
- };
28
- exports.EmailMessageSummaryClassWorkflowStatusEnum = {
29
- InProgress: 'in_progress',
30
- Done: 'done',
31
- Failed: 'failed',
32
- Cancelled: 'cancelled'
33
- };
@@ -1,110 +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 EmailSubscriptionClass
16
- */
17
- export interface EmailSubscriptionClass {
18
- /**
19
- * Internal unique identifier for the object. You should not have to use this, use code instead.
20
- * @type {number}
21
- * @memberof EmailSubscriptionClass
22
- */
23
- 'id': number;
24
- /**
25
- * Tenant the subscription belongs to
26
- * @type {string}
27
- * @memberof EmailSubscriptionClass
28
- */
29
- 'tenantSlug': string;
30
- /**
31
- * Product whose email channel configures the mailbox. Empty for the tenant-wide email channel.
32
- * @type {string}
33
- * @memberof EmailSubscriptionClass
34
- */
35
- 'productSlug'?: string;
36
- /**
37
- * Mailbox whose incoming mail is delivered to the platform
38
- * @type {string}
39
- * @memberof EmailSubscriptionClass
40
- */
41
- 'mailbox': string;
42
- /**
43
- * Mailbox folder the subscription watches
44
- * @type {string}
45
- * @memberof EmailSubscriptionClass
46
- */
47
- 'folder': string;
48
- /**
49
- * Id of the subscription in Microsoft Graph. Empty while the subscription is not created yet.
50
- * @type {string}
51
- * @memberof EmailSubscriptionClass
52
- */
53
- 'subscriptionId'?: string;
54
- /**
55
- * Subscription status. active: Graph delivers new mail. pending: the subscription still has to be created. failed: Graph could not renew it in time. deleting / deletion-failed: the mailbox was removed from the email channel and the subscription is being deleted.
56
- * @type {string}
57
- * @memberof EmailSubscriptionClass
58
- */
59
- 'status': EmailSubscriptionClassStatusEnum;
60
- /**
61
- * When Microsoft Graph stops delivering mail unless the subscription is renewed. Renewed automatically within the last 24 hours.
62
- * @type {string}
63
- * @memberof EmailSubscriptionClass
64
- */
65
- 'expiresAt'?: string;
66
- /**
67
- * When the subscription was last created or renewed
68
- * @type {string}
69
- * @memberof EmailSubscriptionClass
70
- */
71
- 'lastRenewedAt'?: string;
72
- /**
73
- * When Microsoft Graph last notified about new mail
74
- * @type {string}
75
- * @memberof EmailSubscriptionClass
76
- */
77
- 'lastNotificationAt'?: string;
78
- /**
79
- * When the last catch-up of missed mail finished. Empty until the first one runs.
80
- * @type {string}
81
- * @memberof EmailSubscriptionClass
82
- */
83
- 'lastDeltaAt'?: string;
84
- /**
85
- * Error of the last failed Graph call, empty once it succeeds
86
- * @type {string}
87
- * @memberof EmailSubscriptionClass
88
- */
89
- 'lastError'?: string;
90
- /**
91
- * Created at timestamp
92
- * @type {string}
93
- * @memberof EmailSubscriptionClass
94
- */
95
- 'createdAt': string;
96
- /**
97
- * Updated at timestamp
98
- * @type {string}
99
- * @memberof EmailSubscriptionClass
100
- */
101
- 'updatedAt': string;
102
- }
103
- export declare const EmailSubscriptionClassStatusEnum: {
104
- readonly Pending: "pending";
105
- readonly Active: "active";
106
- readonly Failed: "failed";
107
- readonly Deleting: "deleting";
108
- readonly DeletionFailed: "deletion-failed";
109
- };
110
- export type EmailSubscriptionClassStatusEnum = typeof EmailSubscriptionClassStatusEnum[keyof typeof EmailSubscriptionClassStatusEnum];
@@ -1,23 +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.EmailSubscriptionClassStatusEnum = void 0;
17
- exports.EmailSubscriptionClassStatusEnum = {
18
- Pending: 'pending',
19
- Active: 'active',
20
- Failed: 'failed',
21
- Deleting: 'deleting',
22
- DeletionFailed: 'deletion-failed'
23
- };
@@ -1,37 +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 EntityRefClass
16
- */
17
- export interface EntityRefClass {
18
- /**
19
- * Type of the linked entity
20
- * @type {string}
21
- * @memberof EntityRefClass
22
- */
23
- 'type': EntityRefClassTypeEnum;
24
- /**
25
- * Code of the linked entity
26
- * @type {string}
27
- * @memberof EntityRefClass
28
- */
29
- 'code': string;
30
- }
31
- export declare const EntityRefClassTypeEnum: {
32
- readonly Claim: "Claim";
33
- readonly Policy: "Policy";
34
- readonly Lead: "Lead";
35
- readonly Partner: "Partner";
36
- };
37
- export type EntityRefClassTypeEnum = typeof EntityRefClassTypeEnum[keyof typeof EntityRefClassTypeEnum];
@@ -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.EntityRefClassTypeEnum = void 0;
17
- exports.EntityRefClassTypeEnum = {
18
- Claim: 'Claim',
19
- Policy: 'Policy',
20
- Lead: 'Lead',
21
- Partner: 'Partner'
22
- };
@@ -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 GetEmailSubscriptionResponseClass
17
- */
18
- export interface GetEmailSubscriptionResponseClass {
19
- /**
20
- * The email subscription response.
21
- * @type {EmailSubscriptionClass}
22
- * @memberof GetEmailSubscriptionResponseClass
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,137 +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 GrpcSendEmailRequestDto
18
- */
19
- export interface GrpcSendEmailRequestDto {
20
- /**
21
- * Subject of the email
22
- * @type {string}
23
- * @memberof GrpcSendEmailRequestDto
24
- */
25
- 'emailSubject': string;
26
- /**
27
- * HTML body of the email, sent as given. Required unless textBody is set.
28
- * @type {string}
29
- * @memberof GrpcSendEmailRequestDto
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 GrpcSendEmailRequestDto
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 GrpcSendEmailRequestDto
42
- */
43
- 'emailSender'?: string;
44
- /**
45
- * Email addresses of the receivers
46
- * @type {Array<string>}
47
- * @memberof GrpcSendEmailRequestDto
48
- */
49
- 'emailTo': Array<string>;
50
- /**
51
- * Email addresses that receive a copy of the email
52
- * @type {Array<string>}
53
- * @memberof GrpcSendEmailRequestDto
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 GrpcSendEmailRequestDto
60
- */
61
- 'emailBcc'?: Array<string>;
62
- /**
63
- * Attachments that have already been uploaded to S3
64
- * @type {Array<S3DocumentDto>}
65
- * @memberof GrpcSendEmailRequestDto
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 GrpcSendEmailRequestDto
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 GrpcSendEmailRequestDto
78
- */
79
- 'productSlug'?: string;
80
- /**
81
- * Entity type for email reply tracking
82
- * @type {string}
83
- * @memberof GrpcSendEmailRequestDto
84
- */
85
- 'entityType'?: GrpcSendEmailRequestDtoEntityTypeEnum;
86
- /**
87
- * Entity code for email reply tracking
88
- * @type {string}
89
- * @memberof GrpcSendEmailRequestDto
90
- */
91
- 'entityCode'?: string;
92
- /**
93
- * Reply-To address. Auto-generated when reply tracking is enabled.
94
- * @type {string}
95
- * @memberof GrpcSendEmailRequestDto
96
- */
97
- 'replyTo'?: string;
98
- /**
99
- * Custom Message-ID header. Auto-generated if not provided.
100
- * @type {string}
101
- * @memberof GrpcSendEmailRequestDto
102
- */
103
- 'customMessageId'?: string;
104
- /**
105
- * Message-ID of the email this is replying to (for threading)
106
- * @type {string}
107
- * @memberof GrpcSendEmailRequestDto
108
- */
109
- 'inReplyTo'?: string;
110
- /**
111
- * Message-IDs for email thread chain
112
- * @type {Array<string>}
113
- * @memberof GrpcSendEmailRequestDto
114
- */
115
- 'references'?: Array<string>;
116
- /**
117
- * Custom headers to set on the outgoing email
118
- * @type {{ [key: string]: string; }}
119
- * @memberof GrpcSendEmailRequestDto
120
- */
121
- 'customHeaders'?: {
122
- [key: string]: string;
123
- };
124
- /**
125
- *
126
- * @type {object}
127
- * @memberof GrpcSendEmailRequestDto
128
- */
129
- 'entityRef'?: object;
130
- }
131
- export declare const GrpcSendEmailRequestDtoEntityTypeEnum: {
132
- readonly Claim: "Claim";
133
- readonly Policy: "Policy";
134
- readonly Lead: "Lead";
135
- readonly Partner: "Partner";
136
- };
137
- export type GrpcSendEmailRequestDtoEntityTypeEnum = typeof GrpcSendEmailRequestDtoEntityTypeEnum[keyof typeof GrpcSendEmailRequestDtoEntityTypeEnum];
@@ -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.GrpcSendEmailRequestDtoEntityTypeEnum = void 0;
17
- exports.GrpcSendEmailRequestDtoEntityTypeEnum = {
18
- Claim: 'Claim',
19
- Policy: 'Policy',
20
- Lead: 'Lead',
21
- Partner: 'Partner'
22
- };
@@ -1,36 +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 InlineAttachmentDto
16
- */
17
- export interface InlineAttachmentDto {
18
- /**
19
- * File name shown to the recipient
20
- * @type {string}
21
- * @memberof InlineAttachmentDto
22
- */
23
- 'filename': string;
24
- /**
25
- * Base64-encoded file content
26
- * @type {string}
27
- * @memberof InlineAttachmentDto
28
- */
29
- 'contentBase64': string;
30
- /**
31
- * MIME type of the file
32
- * @type {string}
33
- * @memberof InlineAttachmentDto
34
- */
35
- 'contentType'?: string;
36
- }