@epilot/message-client 0.0.1 → 0.0.2

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.
package/dist/index.js CHANGED
@@ -1,14 +1,14 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
- };
12
- Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./client"), exports);
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
+ };
12
+ Object.defineProperty(exports, "__esModule", { value: true });
13
+ __exportStar(require("./client"), exports);
14
14
  //# sourceMappingURL=index.js.map
package/dist/openapi.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- /* eslint-disable */
1
+ /* eslint-disable */
2
2
  import {
3
3
  OpenAPIClient,
4
4
  Parameters,
@@ -22,6 +22,19 @@ declare namespace Components {
22
22
  * messaging@epilot.cloud
23
23
  */
24
24
  address: string;
25
+ /**
26
+ * Sent message status regarding to this recipient.\
27
+ * Reference at <https://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html>
28
+ *
29
+ */
30
+ send_status?: "SEND" | "DELIVERY" | "REJECT" | "COMPLAINT" | "BOUNCE";
31
+ /**
32
+ * Information about reject, complaint or bounce event. Only available if `send_status` is REJECT, COMPLAINT or BOUNCE.\
33
+ * JSON object is defined by AWS SES. Reference at <https://docs.aws.amazon.com/ses/latest/DeveloperGuide/notification-contents.html>
34
+ *
35
+ */
36
+ send_error?: {
37
+ };
25
38
  }
26
39
  export interface Attachment {
27
40
  /**
@@ -235,11 +248,11 @@ declare namespace Components {
235
248
  */
236
249
  user_read_message?: string[];
237
250
  /**
238
- * Message status. Only apply for sent message.
251
+ * Sent message status. The array contains sending message status corresponding to all recipients. For more detail, check `send_status` of each recipient in `to`, `cc`, `bcc`\
239
252
  * Reference at <https://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html>
240
253
  *
241
254
  */
242
- status?: "SEND" | "REJECT" | "BOUNCE" | "COMPLAINT" | "DELIVERY" | "null";
255
+ send_status?: ("SEND" | "DELIVERY" | "REJECT" | "COMPLAINT" | "BOUNCE")[];
243
256
  /**
244
257
  * Message type
245
258
  */
@@ -569,11 +582,11 @@ declare namespace Paths {
569
582
  */
570
583
  user_read_message?: string[];
571
584
  /**
572
- * Message status. Only apply for sent message.
585
+ * Sent message status. The array contains sending message status corresponding to all recipients. For more detail, check `send_status` of each recipient in `to`, `cc`, `bcc`\
573
586
  * Reference at <https://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html>
574
587
  *
575
588
  */
576
- status?: "SEND" | "REJECT" | "BOUNCE" | "COMPLAINT" | "DELIVERY" | "null";
589
+ send_status?: ("SEND" | "DELIVERY" | "REJECT" | "COMPLAINT" | "BOUNCE")[];
577
590
  /**
578
591
  * Message type
579
592
  */