@snokam/mcp-api 1.6.0 → 1.7.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": "1.6.0",
3
+ "version": "1.7.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": {
@@ -1155,6 +1155,63 @@
1155
1155
  ]
1156
1156
  }
1157
1157
  },
1158
+ "/v1.0/protected/{eventId}/participate/employee": {
1159
+ "post": {
1160
+ "tags": [
1161
+ "Events"
1162
+ ],
1163
+ "summary": "Registers an employee as participant",
1164
+ "description": "Registers a specific employee as an internal participant in an event. Requires authentication.",
1165
+ "operationId": "AddParticipationForEmployee",
1166
+ "parameters": [
1167
+ {
1168
+ "name": "eventId",
1169
+ "in": "path",
1170
+ "description": "The ID of the event",
1171
+ "required": true,
1172
+ "schema": {
1173
+ "type": "string"
1174
+ },
1175
+ "x-ms-summary": "The ID of the event"
1176
+ }
1177
+ ],
1178
+ "requestBody": {
1179
+ "description": "Employee participation data",
1180
+ "content": {
1181
+ "application/json": {
1182
+ "schema": {
1183
+ "$ref": "#/components/schemas/participateEmployee"
1184
+ }
1185
+ }
1186
+ },
1187
+ "required": true
1188
+ },
1189
+ "responses": {
1190
+ "200": {
1191
+ "description": "Participation registered successfully",
1192
+ "content": {
1193
+ "application/json": {
1194
+ "schema": {
1195
+ "$ref": "#/components/schemas/participant"
1196
+ }
1197
+ }
1198
+ },
1199
+ "x-ms-summary": "Success"
1200
+ },
1201
+ "401": {
1202
+ "description": "User is not authorized",
1203
+ "x-ms-summary": "Unauthorized"
1204
+ }
1205
+ },
1206
+ "security": [
1207
+ {
1208
+ "Implicit": [
1209
+ "api://c9e068a9-4a60-4b00-9982-1e9c6cdcc0a8/.default"
1210
+ ]
1211
+ }
1212
+ ]
1213
+ }
1214
+ },
1158
1215
  "/v1.0/protected/instagram": {
1159
1216
  "post": {
1160
1217
  "tags": [
@@ -1845,6 +1902,21 @@
1845
1902
  }
1846
1903
  }
1847
1904
  },
1905
+ "participateEmployee": {
1906
+ "required": [
1907
+ "email"
1908
+ ],
1909
+ "type": "object",
1910
+ "properties": {
1911
+ "email": {
1912
+ "minLength": 1,
1913
+ "type": "string"
1914
+ },
1915
+ "details": {
1916
+ "type": "string"
1917
+ }
1918
+ }
1919
+ },
1848
1920
  "patchEvent": {
1849
1921
  "type": "object",
1850
1922
  "properties": {
@@ -1155,6 +1155,63 @@
1155
1155
  ]
1156
1156
  }
1157
1157
  },
1158
+ "/v1.0/protected/{eventId}/participate/employee": {
1159
+ "post": {
1160
+ "tags": [
1161
+ "Events"
1162
+ ],
1163
+ "summary": "Registers an employee as participant",
1164
+ "description": "Registers a specific employee as an internal participant in an event. Requires authentication.",
1165
+ "operationId": "AddParticipationForEmployee",
1166
+ "parameters": [
1167
+ {
1168
+ "name": "eventId",
1169
+ "in": "path",
1170
+ "description": "The ID of the event",
1171
+ "required": true,
1172
+ "schema": {
1173
+ "type": "string"
1174
+ },
1175
+ "x-ms-summary": "The ID of the event"
1176
+ }
1177
+ ],
1178
+ "requestBody": {
1179
+ "description": "Employee participation data",
1180
+ "content": {
1181
+ "application/json": {
1182
+ "schema": {
1183
+ "$ref": "#/components/schemas/participateEmployee"
1184
+ }
1185
+ }
1186
+ },
1187
+ "required": true
1188
+ },
1189
+ "responses": {
1190
+ "200": {
1191
+ "description": "Participation registered successfully",
1192
+ "content": {
1193
+ "application/json": {
1194
+ "schema": {
1195
+ "$ref": "#/components/schemas/participant"
1196
+ }
1197
+ }
1198
+ },
1199
+ "x-ms-summary": "Success"
1200
+ },
1201
+ "401": {
1202
+ "description": "User is not authorized",
1203
+ "x-ms-summary": "Unauthorized"
1204
+ }
1205
+ },
1206
+ "security": [
1207
+ {
1208
+ "Implicit": [
1209
+ "api://096d39ef-7b0b-4b72-82ea-7064c15ec318/.default"
1210
+ ]
1211
+ }
1212
+ ]
1213
+ }
1214
+ },
1158
1215
  "/v1.0/protected/instagram": {
1159
1216
  "post": {
1160
1217
  "tags": [
@@ -1845,6 +1902,21 @@
1845
1902
  }
1846
1903
  }
1847
1904
  },
1905
+ "participateEmployee": {
1906
+ "required": [
1907
+ "email"
1908
+ ],
1909
+ "type": "object",
1910
+ "properties": {
1911
+ "email": {
1912
+ "minLength": 1,
1913
+ "type": "string"
1914
+ },
1915
+ "details": {
1916
+ "type": "string"
1917
+ }
1918
+ }
1919
+ },
1848
1920
  "patchEvent": {
1849
1921
  "type": "object",
1850
1922
  "properties": {