@snokam/mcp-api 2.11.0 → 2.13.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.11.0",
3
+ "version": "2.13.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": {
@@ -255,6 +255,61 @@
255
255
  }
256
256
  },
257
257
  "/v1.0/protected/{id}": {
258
+ "put": {
259
+ "tags": [
260
+ "Protected"
261
+ ],
262
+ "summary": "Updates protected employee data by id or email",
263
+ "description": "Updates protected employee data for a specified employee id or email.",
264
+ "operationId": "PatchEmployeeProtected",
265
+ "parameters": [
266
+ {
267
+ "name": "id",
268
+ "in": "path",
269
+ "description": "Sanity id or employee email",
270
+ "required": true,
271
+ "schema": {
272
+ "type": "string"
273
+ },
274
+ "x-ms-summary": "The employee id or email"
275
+ }
276
+ ],
277
+ "requestBody": {
278
+ "description": "Employee data to update",
279
+ "content": {
280
+ "application/json": {
281
+ "schema": {
282
+ "$ref": "#/components/schemas/patchEmployee"
283
+ }
284
+ }
285
+ },
286
+ "required": true
287
+ },
288
+ "responses": {
289
+ "200": {
290
+ "description": "Protected employee data updated successfully",
291
+ "content": {
292
+ "application/json": {
293
+ "schema": {
294
+ "$ref": "#/components/schemas/protectedEmployee"
295
+ }
296
+ }
297
+ },
298
+ "x-ms-summary": "Success"
299
+ },
300
+ "401": {
301
+ "description": "User is not authorized",
302
+ "x-ms-summary": "Unauthorized"
303
+ }
304
+ },
305
+ "security": [
306
+ {
307
+ "Implicit": [
308
+ "api://1c7354b7-6006-4c53-9ba4-c277b2ba31bb/.default"
309
+ ]
310
+ }
311
+ ]
312
+ },
258
313
  "get": {
259
314
  "tags": [
260
315
  "Protected"