@snokam/mcp-api 1.16.1 → 1.17.1

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": "1.16.1",
3
+ "version": "1.17.1",
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": {
@@ -90,6 +90,37 @@
90
90
  ]
91
91
  }
92
92
  },
93
+ "/v1.0/admin/reprocess-emails": {
94
+ "post": {
95
+ "tags": [
96
+ "Admin"
97
+ ],
98
+ "summary": "Re-fetch all emails since N days ago and re-ingest them so raw content is stored as source_email blobs",
99
+ "operationId": "ReprocessEmails",
100
+ "parameters": [
101
+ {
102
+ "name": "daysSince",
103
+ "in": "query",
104
+ "description": "Number of days back to fetch emails (default: 90)",
105
+ "schema": {
106
+ "type": "string"
107
+ }
108
+ }
109
+ ],
110
+ "responses": {
111
+ "200": {
112
+ "description": "Payload of Object",
113
+ "content": {
114
+ "application/json": {
115
+ "schema": {
116
+ "type": "object"
117
+ }
118
+ }
119
+ }
120
+ }
121
+ }
122
+ }
123
+ },
93
124
  "/v1.0/tenders/{id}/documents": {
94
125
  "get": {
95
126
  "tags": [
@@ -90,6 +90,37 @@
90
90
  ]
91
91
  }
92
92
  },
93
+ "/v1.0/admin/reprocess-emails": {
94
+ "post": {
95
+ "tags": [
96
+ "Admin"
97
+ ],
98
+ "summary": "Re-fetch all emails since N days ago and re-ingest them so raw content is stored as source_email blobs",
99
+ "operationId": "ReprocessEmails",
100
+ "parameters": [
101
+ {
102
+ "name": "daysSince",
103
+ "in": "query",
104
+ "description": "Number of days back to fetch emails (default: 90)",
105
+ "schema": {
106
+ "type": "string"
107
+ }
108
+ }
109
+ ],
110
+ "responses": {
111
+ "200": {
112
+ "description": "Payload of Object",
113
+ "content": {
114
+ "application/json": {
115
+ "schema": {
116
+ "type": "object"
117
+ }
118
+ }
119
+ }
120
+ }
121
+ }
122
+ }
123
+ },
93
124
  "/v1.0/tenders/{id}/documents": {
94
125
  "get": {
95
126
  "tags": [