shipmail 0.6.4 → 0.6.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.
package/README.md CHANGED
@@ -191,6 +191,11 @@ const inbox = await shipmail.mailboxes.listInboxMessages(mailboxId, {
191
191
  before: "2026-07-20T00:00:00.000Z",
192
192
  limit: 50,
193
193
  });
194
+ const invoices = await shipmail.mailboxes.listInboxMessages(mailboxId, {
195
+ from: "billing@vendor.example",
196
+ subject: "invoice",
197
+ has_attachment: true,
198
+ });
194
199
  const exact = await shipmail.mailboxes.getInboxMessage(mailboxId, inbox.data[0].id);
195
200
 
196
201
  const queue = await shipmail.mailboxes.listInboxThreads(mailboxId, {
package/dist/index.cjs CHANGED
@@ -853,6 +853,10 @@ var Mailboxes = class extends ApiResource {
853
853
  folder_id: params?.folder_id,
854
854
  folder_role: params?.folder_role,
855
855
  search_text: params?.search_text,
856
+ from: params?.from,
857
+ to: params?.to,
858
+ subject: params?.subject,
859
+ has_attachment: params?.has_attachment,
856
860
  cursor: params?.cursor,
857
861
  after: params?.after,
858
862
  before: params?.before,
@@ -1665,7 +1669,7 @@ var Webhooks = class extends ApiResource {
1665
1669
  };
1666
1670
 
1667
1671
  // src/version.ts
1668
- var VERSION = "0.6.4";
1672
+ var VERSION = "0.6.5";
1669
1673
 
1670
1674
  // src/client.ts
1671
1675
  var DEFAULT_BASE_URL = "https://shipmail.to/api/v1";