shipmail 0.5.4 → 0.5.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.
package/dist/index.d.cts CHANGED
@@ -684,7 +684,7 @@ declare const MAILBOX_IMPORT_IMAP_PROVIDERS: readonly ["gmail", "yahoo", "aol",
684
684
  type MailboxImportImapProvider = (typeof MAILBOX_IMPORT_IMAP_PROVIDERS)[number];
685
685
  declare const MAILBOX_IMPORT_FILE_PROVIDERS: readonly ["takeout", "proton", "tuta", "file"];
686
686
  type MailboxImportFileProvider = (typeof MAILBOX_IMPORT_FILE_PROVIDERS)[number];
687
- declare const MAILBOX_IMPORT_FOLDER_STATES: readonly ["pending", "importing", "completed", "failed"];
687
+ declare const MAILBOX_IMPORT_FOLDER_STATES: readonly ["pending", "importing", "completed", "failed", "skipped"];
688
688
  type MailboxImportFolderState = (typeof MAILBOX_IMPORT_FOLDER_STATES)[number];
689
689
  declare const MAILBOX_IMPORT_RANGES: readonly ["all", "12m", "3m", "1m"];
690
690
  type MailboxImportRange = (typeof MAILBOX_IMPORT_RANGES)[number];
@@ -882,6 +882,7 @@ type OutboundHeader = {
882
882
  type MessageMetadata = Readonly<Record<string, string | number | boolean | null>>;
883
883
  type SendMessageParams = {
884
884
  readonly mailbox_id?: string | undefined;
885
+ /** Sending mailbox: `hello@example.com` or `Acme Support <hello@example.com>`. */
885
886
  readonly from?: string | undefined;
886
887
  readonly to: readonly EmailRecipientInput[];
887
888
  readonly cc?: readonly EmailRecipientInput[] | undefined;
package/dist/index.d.ts CHANGED
@@ -684,7 +684,7 @@ declare const MAILBOX_IMPORT_IMAP_PROVIDERS: readonly ["gmail", "yahoo", "aol",
684
684
  type MailboxImportImapProvider = (typeof MAILBOX_IMPORT_IMAP_PROVIDERS)[number];
685
685
  declare const MAILBOX_IMPORT_FILE_PROVIDERS: readonly ["takeout", "proton", "tuta", "file"];
686
686
  type MailboxImportFileProvider = (typeof MAILBOX_IMPORT_FILE_PROVIDERS)[number];
687
- declare const MAILBOX_IMPORT_FOLDER_STATES: readonly ["pending", "importing", "completed", "failed"];
687
+ declare const MAILBOX_IMPORT_FOLDER_STATES: readonly ["pending", "importing", "completed", "failed", "skipped"];
688
688
  type MailboxImportFolderState = (typeof MAILBOX_IMPORT_FOLDER_STATES)[number];
689
689
  declare const MAILBOX_IMPORT_RANGES: readonly ["all", "12m", "3m", "1m"];
690
690
  type MailboxImportRange = (typeof MAILBOX_IMPORT_RANGES)[number];
@@ -882,6 +882,7 @@ type OutboundHeader = {
882
882
  type MessageMetadata = Readonly<Record<string, string | number | boolean | null>>;
883
883
  type SendMessageParams = {
884
884
  readonly mailbox_id?: string | undefined;
885
+ /** Sending mailbox: `hello@example.com` or `Acme Support <hello@example.com>`. */
885
886
  readonly from?: string | undefined;
886
887
  readonly to: readonly EmailRecipientInput[];
887
888
  readonly cc?: readonly EmailRecipientInput[] | undefined;
package/dist/index.js CHANGED
@@ -1695,7 +1695,7 @@ var Webhooks = class extends ApiResource {
1695
1695
  };
1696
1696
 
1697
1697
  // src/version.ts
1698
- var VERSION = "0.5.4";
1698
+ var VERSION = "0.5.6";
1699
1699
 
1700
1700
  // src/client.ts
1701
1701
  var DEFAULT_BASE_URL = "https://shipmail.to/api/v1";