@emilgroup/notification-sdk 0.8.1-beta.29 → 0.8.1-beta.30

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 (54) hide show
  1. package/.openapi-generator/FILES +0 -7
  2. package/README.md +2 -2
  3. package/api/email-messages-api.ts +24 -156
  4. package/api/email-tracking-api.ts +24 -32
  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 -2
  10. package/dist/api/email-messages-api.d.ts +24 -102
  11. package/dist/api/email-messages-api.js +22 -133
  12. package/dist/api/email-tracking-api.d.ts +24 -32
  13. package/dist/api/email-tracking-api.js +22 -30
  14. package/dist/api/email-verifications-api.d.ts +8 -16
  15. package/dist/api/email-verifications-api.js +8 -16
  16. package/dist/api/layouts-api.d.ts +36 -56
  17. package/dist/api/layouts-api.js +32 -52
  18. package/dist/api/notification-templates-api.d.ts +36 -56
  19. package/dist/api/notification-templates-api.js +32 -52
  20. package/dist/api/notifications-api.d.ts +4 -65
  21. package/dist/api/notifications-api.js +4 -101
  22. package/dist/api.d.ts +0 -1
  23. package/dist/api.js +0 -1
  24. package/dist/models/email-message-class.d.ts +2 -49
  25. package/dist/models/email-message-class.js +2 -16
  26. package/dist/models/index.d.ts +0 -6
  27. package/dist/models/index.js +0 -6
  28. package/dist/models/send-notification-request-dto.d.ts +0 -1
  29. package/dist/models/send-notification-request-dto.js +1 -2
  30. package/models/email-message-class.ts +3 -53
  31. package/models/index.ts +0 -6
  32. package/models/send-notification-request-dto.ts +1 -2
  33. package/package.json +1 -1
  34. package/api/msgraph-webhooks-api.ts +0 -278
  35. package/dist/api/msgraph-webhooks-api.d.ts +0 -168
  36. package/dist/api/msgraph-webhooks-api.js +0 -305
  37. package/dist/models/assign-email-message-entity-body-dto.d.ts +0 -43
  38. package/dist/models/assign-email-message-entity-body-dto.js +0 -22
  39. package/dist/models/assign-email-message-entity-response-class.d.ts +0 -25
  40. package/dist/models/assign-email-message-entity-response-class.js +0 -15
  41. package/dist/models/grpc-send-email-request-dto.d.ts +0 -137
  42. package/dist/models/grpc-send-email-request-dto.js +0 -22
  43. package/dist/models/inline-attachment-dto.d.ts +0 -36
  44. package/dist/models/inline-attachment-dto.js +0 -15
  45. package/dist/models/send-email-request-dto.d.ts +0 -131
  46. package/dist/models/send-email-request-dto.js +0 -22
  47. package/dist/models/send-email-response-class.d.ts +0 -24
  48. package/dist/models/send-email-response-class.js +0 -15
  49. package/models/assign-email-message-entity-body-dto.ts +0 -52
  50. package/models/assign-email-message-entity-response-class.ts +0 -31
  51. package/models/grpc-send-email-request-dto.ts +0 -144
  52. package/models/inline-attachment-dto.ts +0 -42
  53. package/models/send-email-request-dto.ts +0 -138
  54. package/models/send-email-response-class.ts +0 -30
@@ -12,8 +12,6 @@
12
12
  import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
- import { SendEmailRequestDto } from '../models';
16
- import { SendEmailResponseClass } from '../models';
17
15
  import { SendNotificationRequestDto } from '../models';
18
16
  import { SendNotificationResponseClass } from '../models';
19
17
  /**
@@ -22,17 +20,7 @@ import { SendNotificationResponseClass } from '../models';
22
20
  */
23
21
  export declare const NotificationsApiAxiosParamCreator: (configuration?: Configuration) => {
24
22
  /**
25
- * Sends an email with a caller-supplied HTML and/or text body, delivered as given. Attachments can reference documents already in S3 or be sent inline as base64. **Required Permissions** none
26
- * @summary Send an email without a template
27
- * @param {SendEmailRequestDto} sendEmailRequestDto
28
- * @param {string} [authorization] Bearer Token
29
- * @param {*} [options] Override http request option.
30
- * @throws {RequiredError}
31
- */
32
- sendEmail: (sendEmailRequestDto: SendEmailRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
33
- /**
34
- * Sends an email using the notification template identified by `templateSlug`. Provide `entityType` and `entityCode` to track replies in an email thread. **Required Permissions** none
35
- * @summary Send a notification
23
+ * undefined **Required Permissions** none
36
24
  * @param {SendNotificationRequestDto} sendNotificationRequestDto
37
25
  * @param {string} [authorization] Bearer Token
38
26
  * @param {*} [options] Override http request option.
@@ -46,17 +34,7 @@ export declare const NotificationsApiAxiosParamCreator: (configuration?: Configu
46
34
  */
47
35
  export declare const NotificationsApiFp: (configuration?: Configuration) => {
48
36
  /**
49
- * Sends an email with a caller-supplied HTML and/or text body, delivered as given. Attachments can reference documents already in S3 or be sent inline as base64. **Required Permissions** none
50
- * @summary Send an email without a template
51
- * @param {SendEmailRequestDto} sendEmailRequestDto
52
- * @param {string} [authorization] Bearer Token
53
- * @param {*} [options] Override http request option.
54
- * @throws {RequiredError}
55
- */
56
- sendEmail(sendEmailRequestDto: SendEmailRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SendEmailResponseClass>>;
57
- /**
58
- * Sends an email using the notification template identified by `templateSlug`. Provide `entityType` and `entityCode` to track replies in an email thread. **Required Permissions** none
59
- * @summary Send a notification
37
+ * undefined **Required Permissions** none
60
38
  * @param {SendNotificationRequestDto} sendNotificationRequestDto
61
39
  * @param {string} [authorization] Bearer Token
62
40
  * @param {*} [options] Override http request option.
@@ -70,17 +48,7 @@ export declare const NotificationsApiFp: (configuration?: Configuration) => {
70
48
  */
71
49
  export declare const NotificationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
72
50
  /**
73
- * Sends an email with a caller-supplied HTML and/or text body, delivered as given. Attachments can reference documents already in S3 or be sent inline as base64. **Required Permissions** none
74
- * @summary Send an email without a template
75
- * @param {SendEmailRequestDto} sendEmailRequestDto
76
- * @param {string} [authorization] Bearer Token
77
- * @param {*} [options] Override http request option.
78
- * @throws {RequiredError}
79
- */
80
- sendEmail(sendEmailRequestDto: SendEmailRequestDto, authorization?: string, options?: any): AxiosPromise<SendEmailResponseClass>;
81
- /**
82
- * Sends an email using the notification template identified by `templateSlug`. Provide `entityType` and `entityCode` to track replies in an email thread. **Required Permissions** none
83
- * @summary Send a notification
51
+ * undefined **Required Permissions** none
84
52
  * @param {SendNotificationRequestDto} sendNotificationRequestDto
85
53
  * @param {string} [authorization] Bearer Token
86
54
  * @param {*} [options] Override http request option.
@@ -88,25 +56,6 @@ export declare const NotificationsApiFactory: (configuration?: Configuration, ba
88
56
  */
89
57
  sendNotification(sendNotificationRequestDto: SendNotificationRequestDto, authorization?: string, options?: any): AxiosPromise<SendNotificationResponseClass>;
90
58
  };
91
- /**
92
- * Request parameters for sendEmail operation in NotificationsApi.
93
- * @export
94
- * @interface NotificationsApiSendEmailRequest
95
- */
96
- export interface NotificationsApiSendEmailRequest {
97
- /**
98
- *
99
- * @type {SendEmailRequestDto}
100
- * @memberof NotificationsApiSendEmail
101
- */
102
- readonly sendEmailRequestDto: SendEmailRequestDto;
103
- /**
104
- * Bearer Token
105
- * @type {string}
106
- * @memberof NotificationsApiSendEmail
107
- */
108
- readonly authorization?: string;
109
- }
110
59
  /**
111
60
  * Request parameters for sendNotification operation in NotificationsApi.
112
61
  * @export
@@ -134,17 +83,7 @@ export interface NotificationsApiSendNotificationRequest {
134
83
  */
135
84
  export declare class NotificationsApi extends BaseAPI {
136
85
  /**
137
- * Sends an email with a caller-supplied HTML and/or text body, delivered as given. Attachments can reference documents already in S3 or be sent inline as base64. **Required Permissions** none
138
- * @summary Send an email without a template
139
- * @param {NotificationsApiSendEmailRequest} requestParameters Request parameters.
140
- * @param {*} [options] Override http request option.
141
- * @throws {RequiredError}
142
- * @memberof NotificationsApi
143
- */
144
- sendEmail(requestParameters: NotificationsApiSendEmailRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SendEmailResponseClass, any, {}>>;
145
- /**
146
- * Sends an email using the notification template identified by `templateSlug`. Provide `entityType` and `entityCode` to track replies in an email thread. **Required Permissions** none
147
- * @summary Send a notification
86
+ * undefined **Required Permissions** none
148
87
  * @param {NotificationsApiSendNotificationRequest} requestParameters Request parameters.
149
88
  * @param {*} [options] Override http request option.
150
89
  * @throws {RequiredError}
@@ -93,57 +93,7 @@ var NotificationsApiAxiosParamCreator = function (configuration) {
93
93
  var _this = this;
94
94
  return {
95
95
  /**
96
- * Sends an email with a caller-supplied HTML and/or text body, delivered as given. Attachments can reference documents already in S3 or be sent inline as base64. **Required Permissions** none
97
- * @summary Send an email without a template
98
- * @param {SendEmailRequestDto} sendEmailRequestDto
99
- * @param {string} [authorization] Bearer Token
100
- * @param {*} [options] Override http request option.
101
- * @throws {RequiredError}
102
- */
103
- sendEmail: function (sendEmailRequestDto, authorization, options) {
104
- if (options === void 0) { options = {}; }
105
- return __awaiter(_this, void 0, void 0, function () {
106
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
107
- return __generator(this, function (_a) {
108
- switch (_a.label) {
109
- case 0:
110
- // verify required parameter 'sendEmailRequestDto' is not null or undefined
111
- (0, common_1.assertParamExists)('sendEmail', 'sendEmailRequestDto', sendEmailRequestDto);
112
- localVarPath = "/notificationservice/v1/notifications/emails";
113
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
114
- if (configuration) {
115
- baseOptions = configuration.baseOptions;
116
- baseAccessToken = configuration.accessToken;
117
- }
118
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
119
- localVarHeaderParameter = {};
120
- localVarQueryParameter = {};
121
- // authentication bearer required
122
- // http bearer authentication required
123
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
124
- case 1:
125
- // authentication bearer required
126
- // http bearer authentication required
127
- _a.sent();
128
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
129
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
130
- }
131
- localVarHeaderParameter['Content-Type'] = 'application/json';
132
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
133
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
134
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
135
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(sendEmailRequestDto, localVarRequestOptions, configuration);
136
- return [2 /*return*/, {
137
- url: (0, common_1.toPathString)(localVarUrlObj),
138
- options: localVarRequestOptions,
139
- }];
140
- }
141
- });
142
- });
143
- },
144
- /**
145
- * Sends an email using the notification template identified by `templateSlug`. Provide `entityType` and `entityCode` to track replies in an email thread. **Required Permissions** none
146
- * @summary Send a notification
96
+ * undefined **Required Permissions** none
147
97
  * @param {SendNotificationRequestDto} sendNotificationRequestDto
148
98
  * @param {string} [authorization] Bearer Token
149
99
  * @param {*} [options] Override http request option.
@@ -201,29 +151,7 @@ var NotificationsApiFp = function (configuration) {
201
151
  var localVarAxiosParamCreator = (0, exports.NotificationsApiAxiosParamCreator)(configuration);
202
152
  return {
203
153
  /**
204
- * Sends an email with a caller-supplied HTML and/or text body, delivered as given. Attachments can reference documents already in S3 or be sent inline as base64. **Required Permissions** none
205
- * @summary Send an email without a template
206
- * @param {SendEmailRequestDto} sendEmailRequestDto
207
- * @param {string} [authorization] Bearer Token
208
- * @param {*} [options] Override http request option.
209
- * @throws {RequiredError}
210
- */
211
- sendEmail: function (sendEmailRequestDto, authorization, options) {
212
- return __awaiter(this, void 0, void 0, function () {
213
- var localVarAxiosArgs;
214
- return __generator(this, function (_a) {
215
- switch (_a.label) {
216
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.sendEmail(sendEmailRequestDto, authorization, options)];
217
- case 1:
218
- localVarAxiosArgs = _a.sent();
219
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
220
- }
221
- });
222
- });
223
- },
224
- /**
225
- * Sends an email using the notification template identified by `templateSlug`. Provide `entityType` and `entityCode` to track replies in an email thread. **Required Permissions** none
226
- * @summary Send a notification
154
+ * undefined **Required Permissions** none
227
155
  * @param {SendNotificationRequestDto} sendNotificationRequestDto
228
156
  * @param {string} [authorization] Bearer Token
229
157
  * @param {*} [options] Override http request option.
@@ -253,19 +181,7 @@ var NotificationsApiFactory = function (configuration, basePath, axios) {
253
181
  var localVarFp = (0, exports.NotificationsApiFp)(configuration);
254
182
  return {
255
183
  /**
256
- * Sends an email with a caller-supplied HTML and/or text body, delivered as given. Attachments can reference documents already in S3 or be sent inline as base64. **Required Permissions** none
257
- * @summary Send an email without a template
258
- * @param {SendEmailRequestDto} sendEmailRequestDto
259
- * @param {string} [authorization] Bearer Token
260
- * @param {*} [options] Override http request option.
261
- * @throws {RequiredError}
262
- */
263
- sendEmail: function (sendEmailRequestDto, authorization, options) {
264
- return localVarFp.sendEmail(sendEmailRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
265
- },
266
- /**
267
- * Sends an email using the notification template identified by `templateSlug`. Provide `entityType` and `entityCode` to track replies in an email thread. **Required Permissions** none
268
- * @summary Send a notification
184
+ * undefined **Required Permissions** none
269
185
  * @param {SendNotificationRequestDto} sendNotificationRequestDto
270
186
  * @param {string} [authorization] Bearer Token
271
187
  * @param {*} [options] Override http request option.
@@ -289,20 +205,7 @@ var NotificationsApi = /** @class */ (function (_super) {
289
205
  return _super !== null && _super.apply(this, arguments) || this;
290
206
  }
291
207
  /**
292
- * Sends an email with a caller-supplied HTML and/or text body, delivered as given. Attachments can reference documents already in S3 or be sent inline as base64. **Required Permissions** none
293
- * @summary Send an email without a template
294
- * @param {NotificationsApiSendEmailRequest} requestParameters Request parameters.
295
- * @param {*} [options] Override http request option.
296
- * @throws {RequiredError}
297
- * @memberof NotificationsApi
298
- */
299
- NotificationsApi.prototype.sendEmail = function (requestParameters, options) {
300
- var _this = this;
301
- return (0, exports.NotificationsApiFp)(this.configuration).sendEmail(requestParameters.sendEmailRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
302
- };
303
- /**
304
- * Sends an email using the notification template identified by `templateSlug`. Provide `entityType` and `entityCode` to track replies in an email thread. **Required Permissions** none
305
- * @summary Send a notification
208
+ * undefined **Required Permissions** none
306
209
  * @param {NotificationsApiSendNotificationRequest} requestParameters Request parameters.
307
210
  * @param {*} [options] Override http request option.
308
211
  * @throws {RequiredError}
package/dist/api.d.ts CHANGED
@@ -14,6 +14,5 @@ export * from './api/email-tracking-api';
14
14
  export * from './api/email-verifications-api';
15
15
  export * from './api/health-api';
16
16
  export * from './api/layouts-api';
17
- export * from './api/msgraph-webhooks-api';
18
17
  export * from './api/notification-templates-api';
19
18
  export * from './api/notifications-api';
package/dist/api.js CHANGED
@@ -32,6 +32,5 @@ __exportStar(require("./api/email-tracking-api"), exports);
32
32
  __exportStar(require("./api/email-verifications-api"), exports);
33
33
  __exportStar(require("./api/health-api"), exports);
34
34
  __exportStar(require("./api/layouts-api"), exports);
35
- __exportStar(require("./api/msgraph-webhooks-api"), exports);
36
35
  __exportStar(require("./api/notification-templates-api"), exports);
37
36
  __exportStar(require("./api/notifications-api"), exports);
@@ -29,35 +29,11 @@ export interface EmailMessageClass {
29
29
  */
30
30
  'code': string;
31
31
  /**
32
- * Thread code this message belongs to. Empty only while an inbound message is still being correlated.
32
+ * Thread code this message belongs to
33
33
  * @type {string}
34
34
  * @memberof EmailMessageClass
35
35
  */
36
36
  'threadCode': string;
37
- /**
38
- * Correlation state of an inbound message: pending, matched (thread and entity known) or unassigned (thread known, no entity yet)
39
- * @type {string}
40
- * @memberof EmailMessageClass
41
- */
42
- 'matchStatus': EmailMessageClassMatchStatusEnum;
43
- /**
44
- * What this row is: a message somebody wrote, or a delivery report (bounce) a mail server sent back about an outbound message
45
- * @type {string}
46
- * @memberof EmailMessageClass
47
- */
48
- 'kind': EmailMessageClassKindEnum;
49
- /**
50
- * Delivery report only: code of the outbound message the report is about
51
- * @type {string}
52
- * @memberof EmailMessageClass
53
- */
54
- 'reportedMessageCode'?: string;
55
- /**
56
- * Provider that received an inbound message
57
- * @type {string}
58
- * @memberof EmailMessageClass
59
- */
60
- 'provider'?: EmailMessageClassProviderEnum;
61
37
  /**
62
38
  * Direction of the email
63
39
  * @type {string}
@@ -101,7 +77,7 @@ export interface EmailMessageClass {
101
77
  */
102
78
  'bodyHtml'?: string;
103
79
  /**
104
- * Delivery status of the email. Outbound emails move through pending → sent → delivered (or bounced/failed); inbound emails are always received.
80
+ * Delivery status of the email
105
81
  * @type {string}
106
82
  * @memberof EmailMessageClass
107
83
  */
@@ -166,29 +142,7 @@ export interface EmailMessageClass {
166
142
  * @memberof EmailMessageClass
167
143
  */
168
144
  'entityCode': string;
169
- /**
170
- * Business number of the linked entity (policy, lead, claim or partner number)
171
- * @type {string}
172
- * @memberof EmailMessageClass
173
- */
174
- 'entityNumber'?: string;
175
145
  }
176
- export declare const EmailMessageClassMatchStatusEnum: {
177
- readonly Pending: "pending";
178
- readonly Matched: "matched";
179
- readonly Unassigned: "unassigned";
180
- };
181
- export type EmailMessageClassMatchStatusEnum = typeof EmailMessageClassMatchStatusEnum[keyof typeof EmailMessageClassMatchStatusEnum];
182
- export declare const EmailMessageClassKindEnum: {
183
- readonly Message: "message";
184
- readonly DeliveryReport: "delivery_report";
185
- };
186
- export type EmailMessageClassKindEnum = typeof EmailMessageClassKindEnum[keyof typeof EmailMessageClassKindEnum];
187
- export declare const EmailMessageClassProviderEnum: {
188
- readonly Ses: "ses";
189
- readonly Msgraph: "msgraph";
190
- };
191
- export type EmailMessageClassProviderEnum = typeof EmailMessageClassProviderEnum[keyof typeof EmailMessageClassProviderEnum];
192
146
  export declare const EmailMessageClassDirectionEnum: {
193
147
  readonly Outbound: "outbound";
194
148
  readonly Inbound: "inbound";
@@ -200,6 +154,5 @@ export declare const EmailMessageClassDeliveryStatusEnum: {
200
154
  readonly Delivered: "delivered";
201
155
  readonly Bounced: "bounced";
202
156
  readonly Failed: "failed";
203
- readonly Received: "received";
204
157
  };
205
158
  export type EmailMessageClassDeliveryStatusEnum = typeof EmailMessageClassDeliveryStatusEnum[keyof typeof EmailMessageClassDeliveryStatusEnum];
@@ -13,20 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.EmailMessageClassDeliveryStatusEnum = exports.EmailMessageClassDirectionEnum = exports.EmailMessageClassProviderEnum = exports.EmailMessageClassKindEnum = exports.EmailMessageClassMatchStatusEnum = void 0;
17
- exports.EmailMessageClassMatchStatusEnum = {
18
- Pending: 'pending',
19
- Matched: 'matched',
20
- Unassigned: 'unassigned'
21
- };
22
- exports.EmailMessageClassKindEnum = {
23
- Message: 'message',
24
- DeliveryReport: 'delivery_report'
25
- };
26
- exports.EmailMessageClassProviderEnum = {
27
- Ses: 'ses',
28
- Msgraph: 'msgraph'
29
- };
16
+ exports.EmailMessageClassDeliveryStatusEnum = exports.EmailMessageClassDirectionEnum = void 0;
30
17
  exports.EmailMessageClassDirectionEnum = {
31
18
  Outbound: 'outbound',
32
19
  Inbound: 'inbound'
@@ -36,6 +23,5 @@ exports.EmailMessageClassDeliveryStatusEnum = {
36
23
  Sent: 'sent',
37
24
  Delivered: 'delivered',
38
25
  Bounced: 'bounced',
39
- Failed: 'failed',
40
- Received: 'received'
26
+ Failed: 'failed'
41
27
  };
@@ -1,5 +1,3 @@
1
- export * from './assign-email-message-entity-body-dto';
2
- export * from './assign-email-message-entity-response-class';
3
1
  export * from './complete-email-verification-dto';
4
2
  export * from './complete-email-verification-response-class';
5
3
  export * from './create-layout-request-dto';
@@ -18,11 +16,9 @@ export * from './get-layout-request-dto';
18
16
  export * from './get-layout-response-class';
19
17
  export * from './get-notification-template-request-dto';
20
18
  export * from './get-notification-template-response-class';
21
- export * from './grpc-send-email-request-dto';
22
19
  export * from './html-template-class';
23
20
  export * from './initiate-email-verification-dto';
24
21
  export * from './initiate-email-verification-response-class';
25
- export * from './inline-attachment-dto';
26
22
  export * from './inline-response200';
27
23
  export * from './inline-response503';
28
24
  export * from './layout-class';
@@ -33,8 +29,6 @@ export * from './list-layouts-response-class';
33
29
  export * from './list-notification-templates-response-class';
34
30
  export * from './notification-template-class';
35
31
  export * from './s3-document-dto';
36
- export * from './send-email-request-dto';
37
- export * from './send-email-response-class';
38
32
  export * from './send-notification-request-dto';
39
33
  export * from './send-notification-response-class';
40
34
  export * from './update-html-template-request-dto';
@@ -14,8 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./assign-email-message-entity-body-dto"), exports);
18
- __exportStar(require("./assign-email-message-entity-response-class"), exports);
19
17
  __exportStar(require("./complete-email-verification-dto"), exports);
20
18
  __exportStar(require("./complete-email-verification-response-class"), exports);
21
19
  __exportStar(require("./create-layout-request-dto"), exports);
@@ -34,11 +32,9 @@ __exportStar(require("./get-layout-request-dto"), exports);
34
32
  __exportStar(require("./get-layout-response-class"), exports);
35
33
  __exportStar(require("./get-notification-template-request-dto"), exports);
36
34
  __exportStar(require("./get-notification-template-response-class"), exports);
37
- __exportStar(require("./grpc-send-email-request-dto"), exports);
38
35
  __exportStar(require("./html-template-class"), exports);
39
36
  __exportStar(require("./initiate-email-verification-dto"), exports);
40
37
  __exportStar(require("./initiate-email-verification-response-class"), exports);
41
- __exportStar(require("./inline-attachment-dto"), exports);
42
38
  __exportStar(require("./inline-response200"), exports);
43
39
  __exportStar(require("./inline-response503"), exports);
44
40
  __exportStar(require("./layout-class"), exports);
@@ -49,8 +45,6 @@ __exportStar(require("./list-layouts-response-class"), exports);
49
45
  __exportStar(require("./list-notification-templates-response-class"), exports);
50
46
  __exportStar(require("./notification-template-class"), exports);
51
47
  __exportStar(require("./s3-document-dto"), exports);
52
- __exportStar(require("./send-email-request-dto"), exports);
53
- __exportStar(require("./send-email-response-class"), exports);
54
48
  __exportStar(require("./send-notification-request-dto"), exports);
55
49
  __exportStar(require("./send-notification-response-class"), exports);
56
50
  __exportStar(require("./update-html-template-request-dto"), exports);
@@ -121,6 +121,5 @@ export declare const SendNotificationRequestDtoEntityTypeEnum: {
121
121
  readonly Claim: "Claim";
122
122
  readonly Policy: "Policy";
123
123
  readonly Lead: "Lead";
124
- readonly Partner: "Partner";
125
124
  };
126
125
  export type SendNotificationRequestDtoEntityTypeEnum = typeof SendNotificationRequestDtoEntityTypeEnum[keyof typeof SendNotificationRequestDtoEntityTypeEnum];
@@ -17,6 +17,5 @@ exports.SendNotificationRequestDtoEntityTypeEnum = void 0;
17
17
  exports.SendNotificationRequestDtoEntityTypeEnum = {
18
18
  Claim: 'Claim',
19
19
  Policy: 'Policy',
20
- Lead: 'Lead',
21
- Partner: 'Partner'
20
+ Lead: 'Lead'
22
21
  };
@@ -34,35 +34,11 @@ export interface EmailMessageClass {
34
34
  */
35
35
  'code': string;
36
36
  /**
37
- * Thread code this message belongs to. Empty only while an inbound message is still being correlated.
37
+ * Thread code this message belongs to
38
38
  * @type {string}
39
39
  * @memberof EmailMessageClass
40
40
  */
41
41
  'threadCode': string;
42
- /**
43
- * Correlation state of an inbound message: pending, matched (thread and entity known) or unassigned (thread known, no entity yet)
44
- * @type {string}
45
- * @memberof EmailMessageClass
46
- */
47
- 'matchStatus': EmailMessageClassMatchStatusEnum;
48
- /**
49
- * What this row is: a message somebody wrote, or a delivery report (bounce) a mail server sent back about an outbound message
50
- * @type {string}
51
- * @memberof EmailMessageClass
52
- */
53
- 'kind': EmailMessageClassKindEnum;
54
- /**
55
- * Delivery report only: code of the outbound message the report is about
56
- * @type {string}
57
- * @memberof EmailMessageClass
58
- */
59
- 'reportedMessageCode'?: string;
60
- /**
61
- * Provider that received an inbound message
62
- * @type {string}
63
- * @memberof EmailMessageClass
64
- */
65
- 'provider'?: EmailMessageClassProviderEnum;
66
42
  /**
67
43
  * Direction of the email
68
44
  * @type {string}
@@ -106,7 +82,7 @@ export interface EmailMessageClass {
106
82
  */
107
83
  'bodyHtml'?: string;
108
84
  /**
109
- * Delivery status of the email. Outbound emails move through pending → sent → delivered (or bounced/failed); inbound emails are always received.
85
+ * Delivery status of the email
110
86
  * @type {string}
111
87
  * @memberof EmailMessageClass
112
88
  */
@@ -171,33 +147,8 @@ export interface EmailMessageClass {
171
147
  * @memberof EmailMessageClass
172
148
  */
173
149
  'entityCode': string;
174
- /**
175
- * Business number of the linked entity (policy, lead, claim or partner number)
176
- * @type {string}
177
- * @memberof EmailMessageClass
178
- */
179
- 'entityNumber'?: string;
180
150
  }
181
151
 
182
- export const EmailMessageClassMatchStatusEnum = {
183
- Pending: 'pending',
184
- Matched: 'matched',
185
- Unassigned: 'unassigned'
186
- } as const;
187
-
188
- export type EmailMessageClassMatchStatusEnum = typeof EmailMessageClassMatchStatusEnum[keyof typeof EmailMessageClassMatchStatusEnum];
189
- export const EmailMessageClassKindEnum = {
190
- Message: 'message',
191
- DeliveryReport: 'delivery_report'
192
- } as const;
193
-
194
- export type EmailMessageClassKindEnum = typeof EmailMessageClassKindEnum[keyof typeof EmailMessageClassKindEnum];
195
- export const EmailMessageClassProviderEnum = {
196
- Ses: 'ses',
197
- Msgraph: 'msgraph'
198
- } as const;
199
-
200
- export type EmailMessageClassProviderEnum = typeof EmailMessageClassProviderEnum[keyof typeof EmailMessageClassProviderEnum];
201
152
  export const EmailMessageClassDirectionEnum = {
202
153
  Outbound: 'outbound',
203
154
  Inbound: 'inbound'
@@ -209,8 +160,7 @@ export const EmailMessageClassDeliveryStatusEnum = {
209
160
  Sent: 'sent',
210
161
  Delivered: 'delivered',
211
162
  Bounced: 'bounced',
212
- Failed: 'failed',
213
- Received: 'received'
163
+ Failed: 'failed'
214
164
  } as const;
215
165
 
216
166
  export type EmailMessageClassDeliveryStatusEnum = typeof EmailMessageClassDeliveryStatusEnum[keyof typeof EmailMessageClassDeliveryStatusEnum];
package/models/index.ts CHANGED
@@ -1,5 +1,3 @@
1
- export * from './assign-email-message-entity-body-dto';
2
- export * from './assign-email-message-entity-response-class';
3
1
  export * from './complete-email-verification-dto';
4
2
  export * from './complete-email-verification-response-class';
5
3
  export * from './create-layout-request-dto';
@@ -18,11 +16,9 @@ export * from './get-layout-request-dto';
18
16
  export * from './get-layout-response-class';
19
17
  export * from './get-notification-template-request-dto';
20
18
  export * from './get-notification-template-response-class';
21
- export * from './grpc-send-email-request-dto';
22
19
  export * from './html-template-class';
23
20
  export * from './initiate-email-verification-dto';
24
21
  export * from './initiate-email-verification-response-class';
25
- export * from './inline-attachment-dto';
26
22
  export * from './inline-response200';
27
23
  export * from './inline-response503';
28
24
  export * from './layout-class';
@@ -33,8 +29,6 @@ export * from './list-layouts-response-class';
33
29
  export * from './list-notification-templates-response-class';
34
30
  export * from './notification-template-class';
35
31
  export * from './s3-document-dto';
36
- export * from './send-email-request-dto';
37
- export * from './send-email-response-class';
38
32
  export * from './send-notification-request-dto';
39
33
  export * from './send-notification-response-class';
40
34
  export * from './update-html-template-request-dto';
@@ -122,8 +122,7 @@ export interface SendNotificationRequestDto {
122
122
  export const SendNotificationRequestDtoEntityTypeEnum = {
123
123
  Claim: 'Claim',
124
124
  Policy: 'Policy',
125
- Lead: 'Lead',
126
- Partner: 'Partner'
125
+ Lead: 'Lead'
127
126
  } as const;
128
127
 
129
128
  export type SendNotificationRequestDtoEntityTypeEnum = typeof SendNotificationRequestDtoEntityTypeEnum[keyof typeof SendNotificationRequestDtoEntityTypeEnum];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/notification-sdk",
3
- "version": "0.8.1-beta.29",
3
+ "version": "0.8.1-beta.30",
4
4
  "description": "OpenAPI client for @emilgroup/notification-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [