@snokam/mcp-api 2.54.0 → 2.55.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.54.0",
3
+ "version": "2.55.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": {
@@ -403,6 +403,90 @@
403
403
  ]
404
404
  }
405
405
  },
406
+ "/v1.0/protected/candidates/{id}/offboard-full": {
407
+ "post": {
408
+ "tags": [
409
+ "Candidates"
410
+ ],
411
+ "summary": "Run the full automated offboarding chain",
412
+ "description": "Disables the candidate's Microsoft 365 user and triggers an Azure AD → Sanity sync so the employee doc reflects the disabled state.",
413
+ "operationId": "OffboardCandidateFull",
414
+ "parameters": [
415
+ {
416
+ "name": "id",
417
+ "in": "path",
418
+ "required": true,
419
+ "schema": {
420
+ "type": "string"
421
+ }
422
+ }
423
+ ],
424
+ "responses": {
425
+ "200": {
426
+ "description": "Per-step results",
427
+ "content": {
428
+ "application/json": {
429
+ "schema": {
430
+ "type": "array",
431
+ "items": {
432
+ "$ref": "#/components/schemas/onboardingResult"
433
+ }
434
+ }
435
+ }
436
+ },
437
+ "x-ms-summary": "Success"
438
+ },
439
+ "401": {
440
+ "description": "No description",
441
+ "x-ms-summary": "Unauthorized"
442
+ },
443
+ "404": {
444
+ "description": "No description",
445
+ "x-ms-summary": "Not Found"
446
+ }
447
+ },
448
+ "security": [
449
+ {
450
+ "Implicit": [
451
+ "api://050da74a-523f-48ba-a9de-e5c8d6805a93/.default"
452
+ ]
453
+ }
454
+ ]
455
+ }
456
+ },
457
+ "/v1.0/protected/candidates/{id}/offboard-full/stream": {
458
+ "post": {
459
+ "tags": [
460
+ "Candidates"
461
+ ],
462
+ "summary": "Offboarding chain with a live SSE event feed",
463
+ "description": "Streams the offboarding chain step-by-step as Server-Sent Events. Mirrors /onboard-full/stream.",
464
+ "operationId": "OffboardCandidateFullStream",
465
+ "parameters": [
466
+ {
467
+ "name": "id",
468
+ "in": "path",
469
+ "required": true,
470
+ "schema": {
471
+ "type": "string"
472
+ }
473
+ }
474
+ ],
475
+ "responses": {
476
+ "200": {
477
+ "description": "No description",
478
+ "x-ms-summary": "SSE stream of OnboardingResult frames"
479
+ }
480
+ },
481
+ "security": [
482
+ {
483
+ "Implicit": [
484
+ "api://050da74a-523f-48ba-a9de-e5c8d6805a93/.default"
485
+ ]
486
+ }
487
+ ]
488
+ }
489
+ },
406
490
  "/v1.0/protected/candidates/{id}/reject": {
407
491
  "post": {
408
492
  "tags": [
@@ -1209,6 +1293,9 @@
1209
1293
  "email": {
1210
1294
  "type": "string"
1211
1295
  },
1296
+ "employee": {
1297
+ "$ref": "#/components/schemas/sanityEmployeeManager"
1298
+ },
1212
1299
  "fromApplication": {
1213
1300
  "type": "boolean"
1214
1301
  },
@@ -1768,6 +1855,9 @@
1768
1855
  "email": {
1769
1856
  "type": "string"
1770
1857
  },
1858
+ "employee": {
1859
+ "$ref": "#/components/schemas/employeeReference"
1860
+ },
1771
1861
  "fromApplication": {
1772
1862
  "type": "boolean",
1773
1863
  "nullable": true