@sendora/mcp 2.0.2 → 2.0.6
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/errors.js +2 -2
- package/dist/generated/docs.json +1 -1
- package/dist/generated/screens/domain-records.html +1 -1
- package/dist/generated/screens/message-timeline.html +1 -1
- package/dist/tools/inbound.js +2 -1
- package/dist/tools/message-fields.js +1 -1
- package/dist/tools/messages.js +2 -1
- package/dist/tools/page-after.js +14 -0
- package/dist/tools/send-input.js +1 -1
- package/dist/tools/suppressions.js +2 -1
- package/dist/tools/tracking-opt-outs.js +2 -1
- package/dist/tools/webhooks.js +2 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
package/dist/errors.js
CHANGED
|
@@ -6,7 +6,7 @@ const retryAfter = (error) => error.retryAfter === null
|
|
|
6
6
|
: `Wait ${String(error.retryAfter)} seconds and try again.`;
|
|
7
7
|
const unconfirmed = () => 'Nothing was confirmed, so a send may or may not have been accepted: look for it with search_messages before sending again.';
|
|
8
8
|
const capOwner = {
|
|
9
|
-
account: `An administrator raises the account's ceiling under Account › Usage (Konto › Användning) in the dashboard, ${DASHBOARD}/account/usage. After a cancellation, the cap is the emails that the monthly fee includes, and only undoing the cancellation there lifts it.`,
|
|
9
|
+
account: `An administrator raises the account's ceiling under Account › Usage (Konto › Användning) in the dashboard, ${DASHBOARD}/account/usage, or upgrades an account on the Free plan to Pro there. After a cancellation, the cap is the emails that the monthly fee includes, and only undoing the cancellation there lifts it.`,
|
|
10
10
|
server: "The server's own cap is Sendora's to set; write to support to change it.",
|
|
11
11
|
test: "It is the cap the account's test servers share, which Sendora sets.",
|
|
12
12
|
};
|
|
@@ -78,7 +78,7 @@ const hints = {
|
|
|
78
78
|
idempotency_key_mismatch: null,
|
|
79
79
|
idempotency_key_required: null,
|
|
80
80
|
rate_limited: retryAfter,
|
|
81
|
-
daily_cap_reached: (error) => `The daily cap${error.cap === null ? '' : ` of ${String(error.cap)}`} is used up until ${error.resetsAt ?? 'midnight in UTC'}, and a send before then fails the same way.`,
|
|
81
|
+
daily_cap_reached: (error) => `The daily cap${error.cap === null ? '' : ` of ${String(error.cap)}`} is used up until ${error.resetsAt ?? 'midnight in UTC'}, and a send before then fails the same way. On the Free plan, an administrator lifts it by upgrading to Pro under Account › Usage (Konto › Användning) in the dashboard, ${DASHBOARD}/account/usage. While an invoice is unpaid, paying it under Account › Billing (Konto › Fakturering) lifts it.`,
|
|
82
82
|
monthly_cap_reached: (error) => `The monthly cap${error.cap === null ? '' : ` of ${String(error.cap)}`} is used up until ${error.resetsAt ?? 'the month ends'}. ${capOwner[error.scope ?? 'account']}`,
|
|
83
83
|
sending_disabled: retryAfter,
|
|
84
84
|
connection_failed: unconfirmed,
|