@bobfrankston/mailx-types 0.1.30 → 0.1.32

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.
Files changed (2) hide show
  1. package/mailx-api.d.ts +8 -0
  2. package/package.json +1 -1
package/mailx-api.d.ts CHANGED
@@ -253,5 +253,13 @@ export interface MailxApi {
253
253
  suggestions: string[];
254
254
  }[][];
255
255
  }>;
256
+ /** Delete attachment(s) from a received message (local strip + queued
257
+ * server replace). ids = chip ids, or "all". Optional — desktop IMAP
258
+ * accounts only today. */
259
+ deleteAttachments?(accountId: string, uid: number, folderId: number | undefined, ids: number[] | "all"): Promise<{
260
+ ok: boolean;
261
+ removed: number;
262
+ remaining: number;
263
+ }>;
256
264
  }
257
265
  //# sourceMappingURL=mailx-api.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bobfrankston/mailx-types",
3
- "version": "0.1.30",
3
+ "version": "0.1.32",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",