@snokam/mcp-api 0.42.0 → 0.43.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": "0.42.0",
3
+ "version": "0.43.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": {
@@ -2029,6 +2029,15 @@
2029
2029
  "contractPdf": {
2030
2030
  "$ref": "#/components/schemas/sanityCandidateSignedContract"
2031
2031
  },
2032
+ "contractSignDate": {
2033
+ "type": "string"
2034
+ },
2035
+ "contractSigner": {
2036
+ "$ref": "#/components/schemas/sanityEmployeeManager"
2037
+ },
2038
+ "contractSignerRole": {
2039
+ "type": "string"
2040
+ },
2032
2041
  "cv": {
2033
2042
  "$ref": "#/components/schemas/sanityCandidateSignedContract"
2034
2043
  },
@@ -2069,6 +2078,9 @@
2069
2078
  "type": "number",
2070
2079
  "format": "double"
2071
2080
  },
2081
+ "personalNumber": {
2082
+ "type": "string"
2083
+ },
2072
2084
  "preferredDisplayName": {
2073
2085
  "type": "string"
2074
2086
  },
@@ -2645,6 +2657,15 @@
2645
2657
  "contractPdf": {
2646
2658
  "$ref": "#/components/schemas/sanityPatchCandidateApplicationLetter"
2647
2659
  },
2660
+ "contractSignDate": {
2661
+ "type": "string"
2662
+ },
2663
+ "contractSigner": {
2664
+ "$ref": "#/components/schemas/employeeReference"
2665
+ },
2666
+ "contractSignerRole": {
2667
+ "type": "string"
2668
+ },
2648
2669
  "cv": {
2649
2670
  "$ref": "#/components/schemas/sanityPatchCandidateApplicationLetter"
2650
2671
  },
@@ -2687,6 +2708,9 @@
2687
2708
  "format": "double",
2688
2709
  "nullable": true
2689
2710
  },
2711
+ "personalNumber": {
2712
+ "type": "string"
2713
+ },
2690
2714
  "preferredDisplayName": {
2691
2715
  "type": "string"
2692
2716
  },
@@ -31335,6 +31335,133 @@
31335
31335
  "type": "object",
31336
31336
  "nullable": true
31337
31337
  },
31338
+ "contractSignDate": {
31339
+ "type": "string"
31340
+ },
31341
+ "contractSignerRole": {
31342
+ "type": "string"
31343
+ },
31344
+ "contractSigner": {
31345
+ "properties": {
31346
+ "tags": {
31347
+ "items": {
31348
+ "properties": {
31349
+ "slug": {
31350
+ "$ref": "#/components/schemas/Slug"
31351
+ },
31352
+ "name": {
31353
+ "type": "string"
31354
+ },
31355
+ "sanityType": {
31356
+ "type": "string",
31357
+ "enum": [
31358
+ "tag"
31359
+ ],
31360
+ "nullable": false
31361
+ },
31362
+ "sanityId": {
31363
+ "type": "string"
31364
+ }
31365
+ },
31366
+ "required": [
31367
+ "slug",
31368
+ "name",
31369
+ "sanityType",
31370
+ "sanityId"
31371
+ ],
31372
+ "type": "object"
31373
+ },
31374
+ "type": "array",
31375
+ "nullable": true
31376
+ },
31377
+ "image": {
31378
+ "properties": {
31379
+ "asset": {
31380
+ "properties": {
31381
+ "mimeType": {
31382
+ "type": "string"
31383
+ },
31384
+ "originalFilename": {
31385
+ "type": "string",
31386
+ "nullable": true
31387
+ },
31388
+ "url": {
31389
+ "type": "string"
31390
+ },
31391
+ "sanityType": {
31392
+ "type": "string",
31393
+ "enum": [
31394
+ "sanity.imageAsset"
31395
+ ],
31396
+ "nullable": false
31397
+ },
31398
+ "sanityId": {
31399
+ "type": "string"
31400
+ }
31401
+ },
31402
+ "required": [
31403
+ "mimeType",
31404
+ "originalFilename",
31405
+ "url",
31406
+ "sanityType",
31407
+ "sanityId"
31408
+ ],
31409
+ "type": "object",
31410
+ "nullable": true
31411
+ },
31412
+ "sanityType": {
31413
+ "type": "string",
31414
+ "enum": [
31415
+ "image"
31416
+ ],
31417
+ "nullable": false
31418
+ }
31419
+ },
31420
+ "required": [
31421
+ "asset",
31422
+ "sanityType"
31423
+ ],
31424
+ "type": "object"
31425
+ },
31426
+ "slug": {
31427
+ "$ref": "#/components/schemas/Slug"
31428
+ },
31429
+ "email": {
31430
+ "type": "string"
31431
+ },
31432
+ "telephone": {
31433
+ "type": "string"
31434
+ },
31435
+ "name": {
31436
+ "type": "string"
31437
+ },
31438
+ "sanityType": {
31439
+ "type": "string",
31440
+ "enum": [
31441
+ "employee"
31442
+ ],
31443
+ "nullable": false
31444
+ },
31445
+ "sanityId": {
31446
+ "type": "string"
31447
+ }
31448
+ },
31449
+ "required": [
31450
+ "tags",
31451
+ "image",
31452
+ "slug",
31453
+ "email",
31454
+ "telephone",
31455
+ "name",
31456
+ "sanityType",
31457
+ "sanityId"
31458
+ ],
31459
+ "type": "object",
31460
+ "nullable": true
31461
+ },
31462
+ "personalNumber": {
31463
+ "type": "string"
31464
+ },
31338
31465
  "email": {
31339
31466
  "type": "string"
31340
31467
  },
@@ -31396,6 +31523,7 @@
31396
31523
  "grades",
31397
31524
  "cv",
31398
31525
  "applicationLetter",
31526
+ "contractSigner",
31399
31527
  "status",
31400
31528
  "candidate",
31401
31529
  "sanityRev",
@@ -31615,6 +31743,26 @@
31615
31743
  "type": "boolean",
31616
31744
  "nullable": true
31617
31745
  },
31746
+ "personalNumber": {
31747
+ "type": "string",
31748
+ "nullable": true
31749
+ },
31750
+ "contractSigner": {
31751
+ "allOf": [
31752
+ {
31753
+ "$ref": "#/components/schemas/EmployeeReference"
31754
+ }
31755
+ ],
31756
+ "nullable": true
31757
+ },
31758
+ "contractSignerRole": {
31759
+ "type": "string",
31760
+ "nullable": true
31761
+ },
31762
+ "contractSignDate": {
31763
+ "type": "string",
31764
+ "nullable": true
31765
+ },
31618
31766
  "applicationLetter": {
31619
31767
  "properties": {
31620
31768
  "sanityType": {
@@ -2029,6 +2029,15 @@
2029
2029
  "contractPdf": {
2030
2030
  "$ref": "#/components/schemas/sanityCandidateSignedContract"
2031
2031
  },
2032
+ "contractSignDate": {
2033
+ "type": "string"
2034
+ },
2035
+ "contractSigner": {
2036
+ "$ref": "#/components/schemas/sanityEmployeeManager"
2037
+ },
2038
+ "contractSignerRole": {
2039
+ "type": "string"
2040
+ },
2032
2041
  "cv": {
2033
2042
  "$ref": "#/components/schemas/sanityCandidateSignedContract"
2034
2043
  },
@@ -2069,6 +2078,9 @@
2069
2078
  "type": "number",
2070
2079
  "format": "double"
2071
2080
  },
2081
+ "personalNumber": {
2082
+ "type": "string"
2083
+ },
2072
2084
  "preferredDisplayName": {
2073
2085
  "type": "string"
2074
2086
  },
@@ -2645,6 +2657,15 @@
2645
2657
  "contractPdf": {
2646
2658
  "$ref": "#/components/schemas/sanityPatchCandidateApplicationLetter"
2647
2659
  },
2660
+ "contractSignDate": {
2661
+ "type": "string"
2662
+ },
2663
+ "contractSigner": {
2664
+ "$ref": "#/components/schemas/employeeReference"
2665
+ },
2666
+ "contractSignerRole": {
2667
+ "type": "string"
2668
+ },
2648
2669
  "cv": {
2649
2670
  "$ref": "#/components/schemas/sanityPatchCandidateApplicationLetter"
2650
2671
  },
@@ -2687,6 +2708,9 @@
2687
2708
  "format": "double",
2688
2709
  "nullable": true
2689
2710
  },
2711
+ "personalNumber": {
2712
+ "type": "string"
2713
+ },
2690
2714
  "preferredDisplayName": {
2691
2715
  "type": "string"
2692
2716
  },
@@ -31335,6 +31335,133 @@
31335
31335
  "type": "object",
31336
31336
  "nullable": true
31337
31337
  },
31338
+ "contractSignDate": {
31339
+ "type": "string"
31340
+ },
31341
+ "contractSignerRole": {
31342
+ "type": "string"
31343
+ },
31344
+ "contractSigner": {
31345
+ "properties": {
31346
+ "tags": {
31347
+ "items": {
31348
+ "properties": {
31349
+ "slug": {
31350
+ "$ref": "#/components/schemas/Slug"
31351
+ },
31352
+ "name": {
31353
+ "type": "string"
31354
+ },
31355
+ "sanityType": {
31356
+ "type": "string",
31357
+ "enum": [
31358
+ "tag"
31359
+ ],
31360
+ "nullable": false
31361
+ },
31362
+ "sanityId": {
31363
+ "type": "string"
31364
+ }
31365
+ },
31366
+ "required": [
31367
+ "slug",
31368
+ "name",
31369
+ "sanityType",
31370
+ "sanityId"
31371
+ ],
31372
+ "type": "object"
31373
+ },
31374
+ "type": "array",
31375
+ "nullable": true
31376
+ },
31377
+ "image": {
31378
+ "properties": {
31379
+ "asset": {
31380
+ "properties": {
31381
+ "mimeType": {
31382
+ "type": "string"
31383
+ },
31384
+ "originalFilename": {
31385
+ "type": "string",
31386
+ "nullable": true
31387
+ },
31388
+ "url": {
31389
+ "type": "string"
31390
+ },
31391
+ "sanityType": {
31392
+ "type": "string",
31393
+ "enum": [
31394
+ "sanity.imageAsset"
31395
+ ],
31396
+ "nullable": false
31397
+ },
31398
+ "sanityId": {
31399
+ "type": "string"
31400
+ }
31401
+ },
31402
+ "required": [
31403
+ "mimeType",
31404
+ "originalFilename",
31405
+ "url",
31406
+ "sanityType",
31407
+ "sanityId"
31408
+ ],
31409
+ "type": "object",
31410
+ "nullable": true
31411
+ },
31412
+ "sanityType": {
31413
+ "type": "string",
31414
+ "enum": [
31415
+ "image"
31416
+ ],
31417
+ "nullable": false
31418
+ }
31419
+ },
31420
+ "required": [
31421
+ "asset",
31422
+ "sanityType"
31423
+ ],
31424
+ "type": "object"
31425
+ },
31426
+ "slug": {
31427
+ "$ref": "#/components/schemas/Slug"
31428
+ },
31429
+ "email": {
31430
+ "type": "string"
31431
+ },
31432
+ "telephone": {
31433
+ "type": "string"
31434
+ },
31435
+ "name": {
31436
+ "type": "string"
31437
+ },
31438
+ "sanityType": {
31439
+ "type": "string",
31440
+ "enum": [
31441
+ "employee"
31442
+ ],
31443
+ "nullable": false
31444
+ },
31445
+ "sanityId": {
31446
+ "type": "string"
31447
+ }
31448
+ },
31449
+ "required": [
31450
+ "tags",
31451
+ "image",
31452
+ "slug",
31453
+ "email",
31454
+ "telephone",
31455
+ "name",
31456
+ "sanityType",
31457
+ "sanityId"
31458
+ ],
31459
+ "type": "object",
31460
+ "nullable": true
31461
+ },
31462
+ "personalNumber": {
31463
+ "type": "string"
31464
+ },
31338
31465
  "email": {
31339
31466
  "type": "string"
31340
31467
  },
@@ -31396,6 +31523,7 @@
31396
31523
  "grades",
31397
31524
  "cv",
31398
31525
  "applicationLetter",
31526
+ "contractSigner",
31399
31527
  "status",
31400
31528
  "candidate",
31401
31529
  "sanityRev",
@@ -31615,6 +31743,26 @@
31615
31743
  "type": "boolean",
31616
31744
  "nullable": true
31617
31745
  },
31746
+ "personalNumber": {
31747
+ "type": "string",
31748
+ "nullable": true
31749
+ },
31750
+ "contractSigner": {
31751
+ "allOf": [
31752
+ {
31753
+ "$ref": "#/components/schemas/EmployeeReference"
31754
+ }
31755
+ ],
31756
+ "nullable": true
31757
+ },
31758
+ "contractSignerRole": {
31759
+ "type": "string",
31760
+ "nullable": true
31761
+ },
31762
+ "contractSignDate": {
31763
+ "type": "string",
31764
+ "nullable": true
31765
+ },
31618
31766
  "applicationLetter": {
31619
31767
  "properties": {
31620
31768
  "sanityType": {