@snokam/mcp-api 2.29.0 → 2.30.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snokam/mcp-api",
3
- "version": "2.29.0",
3
+ "version": "2.30.0",
4
4
  "description": "MCP server exposing Snokam backend APIs as tools for Claude Code and other MCP clients",
5
5
  "type": "module",
6
6
  "bin": {
@@ -34,6 +34,46 @@
34
34
  ]
35
35
  }
36
36
  },
37
+ "/v1.0/protected/newsletter/debug": {
38
+ "post": {
39
+ "tags": [
40
+ "Notifications"
41
+ ],
42
+ "summary": "Preview newsletters by email",
43
+ "description": "Generates Olaf's summary for each active newsletterSeries and emails the rendered body (same composition the real cron uses) to the caller-supplied address. Skips Sanity persistence, Slack posts, and the 7-day dedup check — subscribers are never touched. Defaults to utvikling@snokam.no.",
44
+ "operationId": "DebugNewsletterEmail",
45
+ "parameters": [
46
+ {
47
+ "name": "to",
48
+ "in": "query",
49
+ "schema": {
50
+ "type": "string"
51
+ },
52
+ "x-ms-summary": "Recipient email (defaults to utvikling@snokam.no)"
53
+ }
54
+ ],
55
+ "responses": {
56
+ "200": {
57
+ "description": "Payload of Object",
58
+ "content": {
59
+ "application/json": {
60
+ "schema": {
61
+ "type": "object"
62
+ }
63
+ }
64
+ },
65
+ "x-ms-summary": "Preview sent"
66
+ }
67
+ },
68
+ "security": [
69
+ {
70
+ "Implicit": [
71
+ "api://46c59afb-0021-439b-a56c-6e29d39f2c7a/.default"
72
+ ]
73
+ }
74
+ ]
75
+ }
76
+ },
37
77
  "/v1.0/protected/push/register": {
38
78
  "post": {
39
79
  "tags": [
@@ -34,6 +34,46 @@
34
34
  ]
35
35
  }
36
36
  },
37
+ "/v1.0/protected/newsletter/debug": {
38
+ "post": {
39
+ "tags": [
40
+ "Notifications"
41
+ ],
42
+ "summary": "Preview newsletters by email",
43
+ "description": "Generates Olaf's summary for each active newsletterSeries and emails the rendered body (same composition the real cron uses) to the caller-supplied address. Skips Sanity persistence, Slack posts, and the 7-day dedup check — subscribers are never touched. Defaults to utvikling@snokam.no.",
44
+ "operationId": "DebugNewsletterEmail",
45
+ "parameters": [
46
+ {
47
+ "name": "to",
48
+ "in": "query",
49
+ "schema": {
50
+ "type": "string"
51
+ },
52
+ "x-ms-summary": "Recipient email (defaults to utvikling@snokam.no)"
53
+ }
54
+ ],
55
+ "responses": {
56
+ "200": {
57
+ "description": "Payload of Object",
58
+ "content": {
59
+ "application/json": {
60
+ "schema": {
61
+ "type": "object"
62
+ }
63
+ }
64
+ },
65
+ "x-ms-summary": "Preview sent"
66
+ }
67
+ },
68
+ "security": [
69
+ {
70
+ "Implicit": [
71
+ "api://246713d5-cd48-4a00-84dd-7fc7ae290a62/.default"
72
+ ]
73
+ }
74
+ ]
75
+ }
76
+ },
37
77
  "/v1.0/protected/push/register": {
38
78
  "post": {
39
79
  "tags": [