shipmail 0.4.17 → 0.4.19

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
@@ -1055,6 +1055,21 @@ var Mailboxes = class extends ApiResource {
1055
1055
  methodOptions: options
1056
1056
  });
1057
1057
  }
1058
+ completeImportUpload(id, fileId, params, options) {
1059
+ return this.client.request({
1060
+ method: "POST",
1061
+ path: `/mailboxes/${encodeURIComponent(id)}/imports/files/${encodeURIComponent(fileId)}/complete`,
1062
+ body: params,
1063
+ methodOptions: options
1064
+ });
1065
+ }
1066
+ abortImportUpload(id, fileId, options) {
1067
+ return this.client.request({
1068
+ method: "DELETE",
1069
+ path: `/mailboxes/${encodeURIComponent(id)}/imports/files/${encodeURIComponent(fileId)}`,
1070
+ methodOptions: options
1071
+ });
1072
+ }
1058
1073
  };
1059
1074
 
1060
1075
  // src/resources/messages.ts
@@ -1621,7 +1636,7 @@ var Webhooks = class extends ApiResource {
1621
1636
  };
1622
1637
 
1623
1638
  // src/version.ts
1624
- var VERSION = "0.4.17";
1639
+ var VERSION = "0.4.19";
1625
1640
 
1626
1641
  // src/client.ts
1627
1642
  var DEFAULT_BASE_URL = "https://shipmail.to/api/v1";