shipmail 0.5.0 → 0.5.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.d.cts CHANGED
@@ -1560,7 +1560,7 @@ declare class Messages extends ApiResource {
1560
1560
  reply(id: string, params: ReplyToMessageParams, options?: MethodOptions): Promise<Message>;
1561
1561
  }
1562
1562
 
1563
- type NewsletterStatus = "draft" | "pending_approval" | "approved" | "scheduled" | "sending" | "paused" | "sent" | "cancelled" | "failed";
1563
+ type NewsletterStatus = "draft" | "imported" | "pending_approval" | "approved" | "scheduled" | "sending" | "paused" | "sent" | "cancelled" | "failed";
1564
1564
  type NewsletterArchiveVisibility = "private" | "public";
1565
1565
  type NewsletterStylingMode = "styled" | "plain";
1566
1566
  type NewsletterDomainStatus = "pending" | "verifying" | "verified" | "failed" | "disabled";
@@ -1782,8 +1782,10 @@ type NewsletterAsset = {
1782
1782
  };
1783
1783
  type NewsletterAssetStorageUsage = {
1784
1784
  readonly used_bytes: number;
1785
- readonly limit_bytes: number;
1786
- readonly remaining_bytes: number;
1785
+ /** Null means storage is unlimited for this organization. */
1786
+ readonly limit_bytes: number | null;
1787
+ /** Null means storage is unlimited for this organization. */
1788
+ readonly remaining_bytes: number | null;
1787
1789
  readonly over_limit: boolean;
1788
1790
  readonly plan: string;
1789
1791
  readonly is_in_trial: boolean;
package/dist/index.d.ts CHANGED
@@ -1560,7 +1560,7 @@ declare class Messages extends ApiResource {
1560
1560
  reply(id: string, params: ReplyToMessageParams, options?: MethodOptions): Promise<Message>;
1561
1561
  }
1562
1562
 
1563
- type NewsletterStatus = "draft" | "pending_approval" | "approved" | "scheduled" | "sending" | "paused" | "sent" | "cancelled" | "failed";
1563
+ type NewsletterStatus = "draft" | "imported" | "pending_approval" | "approved" | "scheduled" | "sending" | "paused" | "sent" | "cancelled" | "failed";
1564
1564
  type NewsletterArchiveVisibility = "private" | "public";
1565
1565
  type NewsletterStylingMode = "styled" | "plain";
1566
1566
  type NewsletterDomainStatus = "pending" | "verifying" | "verified" | "failed" | "disabled";
@@ -1782,8 +1782,10 @@ type NewsletterAsset = {
1782
1782
  };
1783
1783
  type NewsletterAssetStorageUsage = {
1784
1784
  readonly used_bytes: number;
1785
- readonly limit_bytes: number;
1786
- readonly remaining_bytes: number;
1785
+ /** Null means storage is unlimited for this organization. */
1786
+ readonly limit_bytes: number | null;
1787
+ /** Null means storage is unlimited for this organization. */
1788
+ readonly remaining_bytes: number | null;
1787
1789
  readonly over_limit: boolean;
1788
1790
  readonly plan: string;
1789
1791
  readonly is_in_trial: boolean;
package/dist/index.js CHANGED
@@ -1681,7 +1681,7 @@ var Webhooks = class extends ApiResource {
1681
1681
  };
1682
1682
 
1683
1683
  // src/version.ts
1684
- var VERSION = "0.5.0";
1684
+ var VERSION = "0.5.2";
1685
1685
 
1686
1686
  // src/client.ts
1687
1687
  var DEFAULT_BASE_URL = "https://shipmail.to/api/v1";