shipmail 0.4.19 → 0.4.21

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.cjs CHANGED
@@ -1040,6 +1040,21 @@ var Mailboxes = class extends ApiResource {
1040
1040
  methodOptions: options
1041
1041
  });
1042
1042
  }
1043
+ resumeImport(id, importId, options) {
1044
+ return this.client.request({
1045
+ method: "POST",
1046
+ path: `/mailboxes/${encodeURIComponent(id)}/imports/${encodeURIComponent(importId)}/resume`,
1047
+ methodOptions: options
1048
+ });
1049
+ }
1050
+ restoreImport(id, importId, params, options) {
1051
+ return this.client.request({
1052
+ method: "POST",
1053
+ path: `/mailboxes/${encodeURIComponent(id)}/imports/${encodeURIComponent(importId)}/restore`,
1054
+ body: params,
1055
+ methodOptions: options
1056
+ });
1057
+ }
1043
1058
  undoImport(id, importId, options) {
1044
1059
  return this.client.request({
1045
1060
  method: "POST",
@@ -1636,7 +1651,7 @@ var Webhooks = class extends ApiResource {
1636
1651
  };
1637
1652
 
1638
1653
  // src/version.ts
1639
- var VERSION = "0.4.19";
1654
+ var VERSION = "0.4.21";
1640
1655
 
1641
1656
  // src/client.ts
1642
1657
  var DEFAULT_BASE_URL = "https://shipmail.to/api/v1";