@snokam/mcp-api 2.53.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.53.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": {
@@ -24288,6 +24288,12 @@
24288
24288
  "type": "number",
24289
24289
  "format": "double"
24290
24290
  },
24291
+ "teamsLink": {
24292
+ "type": "string"
24293
+ },
24294
+ "allowDigitalParticipation": {
24295
+ "type": "boolean"
24296
+ },
24291
24297
  "place": {
24292
24298
  "type": "string"
24293
24299
  },
@@ -25922,6 +25928,12 @@
25922
25928
  "type": "number",
25923
25929
  "format": "double"
25924
25930
  },
25931
+ "teamsLink": {
25932
+ "type": "string"
25933
+ },
25934
+ "allowDigitalParticipation": {
25935
+ "type": "boolean"
25936
+ },
25925
25937
  "place": {
25926
25938
  "type": "string"
25927
25939
  },
@@ -26175,6 +26187,14 @@
26175
26187
  "type": "string",
26176
26188
  "nullable": true
26177
26189
  },
26190
+ "allowDigitalParticipation": {
26191
+ "type": "boolean",
26192
+ "nullable": true
26193
+ },
26194
+ "teamsLink": {
26195
+ "type": "string",
26196
+ "nullable": true
26197
+ },
26178
26198
  "maxParticipants": {
26179
26199
  "type": "number",
26180
26200
  "format": "double",
@@ -135,7 +135,7 @@
135
135
  "description": "Removes an order for the authenticated user.",
136
136
  "operationId": "RemoveMyOrder",
137
137
  "requestBody": {
138
- "description": "Order ID to remove",
138
+ "description": "Sanity document ID of the order to remove",
139
139
  "content": {
140
140
  "application/json": {
141
141
  "schema": {
@@ -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
@@ -135,7 +135,7 @@
135
135
  "description": "Removes an order for the authenticated user.",
136
136
  "operationId": "RemoveMyOrder",
137
137
  "requestBody": {
138
- "description": "Order ID to remove",
138
+ "description": "Sanity document ID of the order to remove",
139
139
  "content": {
140
140
  "application/json": {
141
141
  "schema": {