shipmail-cli 0.4.9 → 0.4.10
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 +4 -0
- package/dist/cli.js +5 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -132,6 +132,10 @@ shipmail domains list --organization-id 00000000-0000-4000-8000-000000000123
|
|
|
132
132
|
shipmail mailboxes create --organization-id 00000000-0000-4000-8000-000000000123 --domain-id dom_123 --address support --generate-password
|
|
133
133
|
```
|
|
134
134
|
|
|
135
|
+
Paragraph, quote, callout, list-item, and column bodies in `--blocks` accept bare text or
|
|
136
|
+
sanitized inline HTML. Use `<p>` and `<br>` for line breaks. Shipmail keeps `a`, `b`, `br`,
|
|
137
|
+
`code`, `em`, `i`, `p`, `s`, `span`, `strong`, and `u`, with safe attributes and URLs.
|
|
138
|
+
|
|
135
139
|
`newsletter-assets list` includes current newsletter media storage usage in the JSON response.
|
|
136
140
|
|
|
137
141
|
## Generic API Command
|
package/dist/cli.js
CHANGED
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
} from "shipmail";
|
|
15
15
|
|
|
16
16
|
// src/version.ts
|
|
17
|
-
var VERSION = "0.4.
|
|
17
|
+
var VERSION = "0.4.10";
|
|
18
18
|
|
|
19
19
|
// src/cli.ts
|
|
20
20
|
var DEFAULT_BASE_URL = "https://shipmail.to/api/v1";
|
|
@@ -372,7 +372,7 @@ Usage:
|
|
|
372
372
|
shipmail mailboxes prepare-attachment-upload <id> <file> [--filename name] [--content-type type]
|
|
373
373
|
shipmail mailboxes stage-attachment <id> <file> [--filename name] [--content-type type]
|
|
374
374
|
shipmail mailboxes sandbox-inbound <id> --from sender@example.com --subject "Test" (--text "Hello" | --html "<p>Hello</p>") [--to support@example.com]
|
|
375
|
-
shipmail inbox list <mailbox-id> [--folder-role inbox] [--after ISO] [--before ISO] [--limit 25] [--cursor cur]
|
|
375
|
+
shipmail inbox list <mailbox-id> [--folder-role inbox] [--search text] [--after ISO] [--before ISO] [--limit 25] [--cursor cur]
|
|
376
376
|
shipmail inbox message <mailbox-id> <message-id>
|
|
377
377
|
shipmail inbox threads <mailbox-id> [--reply-state needs_reply] [--after ISO] [--before ISO] [--limit 25] [--cursor cur]
|
|
378
378
|
shipmail inbox thread <mailbox-id> <thread-id>
|
|
@@ -466,6 +466,9 @@ Booking page conferencing:
|
|
|
466
466
|
Newsletter styling:
|
|
467
467
|
--styling-mode <styled|plain> styled applies Shipmail's email theme. plain sends your HTML without injected styles, width, or centering, so the reader's email client styles it.
|
|
468
468
|
|
|
469
|
+
Newsletter block prose:
|
|
470
|
+
Paragraph, quote, callout, list-item, and column bodies accept bare text or sanitized inline HTML. Use <p> and <br> for line breaks.
|
|
471
|
+
|
|
469
472
|
Newsletter feeds:
|
|
470
473
|
--feed-entry-url <url> Link this issue's Atom feed title to an http(s) URL instead of its Shipmail archive.
|
|
471
474
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shipmail-cli",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.10",
|
|
4
4
|
"description": "Official CLI for the Shipmail API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"access": "public"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"shipmail": "0.4.
|
|
44
|
+
"shipmail": "0.4.16"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"tsup": "^8.4.0",
|