@snokam/mcp-api 0.27.0 → 0.29.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 +1 -1
- package/specs/production/recruitment.json +176 -27
- package/specs/production/sanity.json +227 -48
- package/specs/test/recruitment.json +176 -27
- package/specs/test/sanity.json +0 -52358
|
@@ -451,8 +451,8 @@
|
|
|
451
451
|
"tags": [
|
|
452
452
|
"Candidates"
|
|
453
453
|
],
|
|
454
|
-
"summary": "Trigger automated onboarding for a
|
|
455
|
-
"description": "
|
|
454
|
+
"summary": "Trigger automated onboarding for a single chain step",
|
|
455
|
+
"description": "Re-runs one named onboarding step (slug matches the timeline step ids — e.g. 'microsoft-365', 'license-assignment', 'github-org-invite'). Used by the admin UI's per-step retry button when an earlier chain run partially failed.",
|
|
456
456
|
"operationId": "OnboardCandidateSystem",
|
|
457
457
|
"parameters": [
|
|
458
458
|
{
|
|
@@ -515,6 +515,75 @@
|
|
|
515
515
|
]
|
|
516
516
|
}
|
|
517
517
|
},
|
|
518
|
+
"/v1.0/protected/candidates/{id}/offboard/{system}": {
|
|
519
|
+
"post": {
|
|
520
|
+
"tags": [
|
|
521
|
+
"Candidates"
|
|
522
|
+
],
|
|
523
|
+
"summary": "Trigger automated offboarding for a single chain step",
|
|
524
|
+
"description": "Mirror of OnboardCandidateSystem for the offboarding chain. Re-runs one named offboarding step (e.g. 'microsoft-365-disable', 'license-revoke', 'github-org-remove').",
|
|
525
|
+
"operationId": "OffboardCandidateSystem",
|
|
526
|
+
"parameters": [
|
|
527
|
+
{
|
|
528
|
+
"name": "id",
|
|
529
|
+
"in": "path",
|
|
530
|
+
"required": true,
|
|
531
|
+
"schema": {
|
|
532
|
+
"type": "string"
|
|
533
|
+
},
|
|
534
|
+
"x-ms-summary": "Candidate Sanity id"
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
"name": "system",
|
|
538
|
+
"in": "path",
|
|
539
|
+
"required": true,
|
|
540
|
+
"schema": {
|
|
541
|
+
"type": "string"
|
|
542
|
+
},
|
|
543
|
+
"x-ms-summary": "Step slug (e.g. 'microsoft-365-disable')"
|
|
544
|
+
}
|
|
545
|
+
],
|
|
546
|
+
"responses": {
|
|
547
|
+
"200": {
|
|
548
|
+
"description": "Uniform onboarding result with status + message",
|
|
549
|
+
"content": {
|
|
550
|
+
"application/json": {
|
|
551
|
+
"schema": {
|
|
552
|
+
"$ref": "#/components/schemas/onboardingResult"
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
},
|
|
556
|
+
"x-ms-summary": "Success"
|
|
557
|
+
},
|
|
558
|
+
"400": {
|
|
559
|
+
"description": "Payload of Object",
|
|
560
|
+
"content": {
|
|
561
|
+
"application/json": {
|
|
562
|
+
"schema": {
|
|
563
|
+
"type": "object"
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
},
|
|
567
|
+
"x-ms-summary": "Bad Request"
|
|
568
|
+
},
|
|
569
|
+
"401": {
|
|
570
|
+
"description": "No description",
|
|
571
|
+
"x-ms-summary": "Unauthorized"
|
|
572
|
+
},
|
|
573
|
+
"404": {
|
|
574
|
+
"description": "No description",
|
|
575
|
+
"x-ms-summary": "Not Found"
|
|
576
|
+
}
|
|
577
|
+
},
|
|
578
|
+
"security": [
|
|
579
|
+
{
|
|
580
|
+
"Implicit": [
|
|
581
|
+
"api://050da74a-523f-48ba-a9de-e5c8d6805a93/.default"
|
|
582
|
+
]
|
|
583
|
+
}
|
|
584
|
+
]
|
|
585
|
+
}
|
|
586
|
+
},
|
|
518
587
|
"/v1.0/protected/candidates/{id}/onboard-full/stream": {
|
|
519
588
|
"post": {
|
|
520
589
|
"tags": [
|
|
@@ -1464,20 +1533,15 @@
|
|
|
1464
1533
|
"type": "string",
|
|
1465
1534
|
"default": "CREATED"
|
|
1466
1535
|
},
|
|
1467
|
-
"track": {
|
|
1468
|
-
"enum": [
|
|
1469
|
-
"developer",
|
|
1470
|
-
"data_engineer"
|
|
1471
|
-
],
|
|
1472
|
-
"type": "string",
|
|
1473
|
-
"default": "developer"
|
|
1474
|
-
},
|
|
1475
1536
|
"candidate": {
|
|
1476
1537
|
"type": "string"
|
|
1477
1538
|
},
|
|
1478
1539
|
"email": {
|
|
1479
1540
|
"type": "string"
|
|
1480
1541
|
},
|
|
1542
|
+
"jobPositionId": {
|
|
1543
|
+
"type": "string"
|
|
1544
|
+
},
|
|
1481
1545
|
"recruiter": {
|
|
1482
1546
|
"type": "string"
|
|
1483
1547
|
},
|
|
@@ -1510,6 +1574,24 @@
|
|
|
1510
1574
|
}
|
|
1511
1575
|
}
|
|
1512
1576
|
},
|
|
1577
|
+
"jobPositionReference": {
|
|
1578
|
+
"type": "object",
|
|
1579
|
+
"properties": {
|
|
1580
|
+
"sanityType": {
|
|
1581
|
+
"enum": [
|
|
1582
|
+
"reference"
|
|
1583
|
+
],
|
|
1584
|
+
"type": "string",
|
|
1585
|
+
"default": "reference"
|
|
1586
|
+
},
|
|
1587
|
+
"sanityRef": {
|
|
1588
|
+
"type": "string"
|
|
1589
|
+
},
|
|
1590
|
+
"sanityWeak": {
|
|
1591
|
+
"type": "boolean"
|
|
1592
|
+
}
|
|
1593
|
+
}
|
|
1594
|
+
},
|
|
1513
1595
|
"onboardingResult": {
|
|
1514
1596
|
"type": "object",
|
|
1515
1597
|
"properties": {
|
|
@@ -1533,6 +1615,30 @@
|
|
|
1533
1615
|
}
|
|
1534
1616
|
}
|
|
1535
1617
|
},
|
|
1618
|
+
"pageMetaImage": {
|
|
1619
|
+
"type": "object",
|
|
1620
|
+
"properties": {
|
|
1621
|
+
"sanityType": {
|
|
1622
|
+
"enum": [
|
|
1623
|
+
"image"
|
|
1624
|
+
],
|
|
1625
|
+
"type": "string",
|
|
1626
|
+
"default": "image"
|
|
1627
|
+
},
|
|
1628
|
+
"asset": {
|
|
1629
|
+
"$ref": "#/components/schemas/sanityImageAssetReference"
|
|
1630
|
+
},
|
|
1631
|
+
"crop": {
|
|
1632
|
+
"$ref": "#/components/schemas/sanityImageCrop"
|
|
1633
|
+
},
|
|
1634
|
+
"hotspot": {
|
|
1635
|
+
"$ref": "#/components/schemas/sanityImageHotspot"
|
|
1636
|
+
},
|
|
1637
|
+
"media": {
|
|
1638
|
+
"type": "object"
|
|
1639
|
+
}
|
|
1640
|
+
}
|
|
1641
|
+
},
|
|
1536
1642
|
"sanityAssetSourceData": {
|
|
1537
1643
|
"type": "object",
|
|
1538
1644
|
"properties": {
|
|
@@ -1614,14 +1720,6 @@
|
|
|
1614
1720
|
"type": "string",
|
|
1615
1721
|
"default": "CREATED"
|
|
1616
1722
|
},
|
|
1617
|
-
"track": {
|
|
1618
|
-
"enum": [
|
|
1619
|
-
"data_engineer",
|
|
1620
|
-
"developer"
|
|
1621
|
-
],
|
|
1622
|
-
"type": "string",
|
|
1623
|
-
"default": "data_engineer"
|
|
1624
|
-
},
|
|
1625
1723
|
"address": {
|
|
1626
1724
|
"$ref": "#/components/schemas/sanityCandidateAddress"
|
|
1627
1725
|
},
|
|
@@ -1658,6 +1756,9 @@
|
|
|
1658
1756
|
"grades": {
|
|
1659
1757
|
"$ref": "#/components/schemas/sanityCandidateGrades"
|
|
1660
1758
|
},
|
|
1759
|
+
"jobPosition": {
|
|
1760
|
+
"$ref": "#/components/schemas/sanityCandidateJobPosition"
|
|
1761
|
+
},
|
|
1661
1762
|
"offboardingChecklist": {
|
|
1662
1763
|
"type": "array",
|
|
1663
1764
|
"items": {
|
|
@@ -1707,6 +1808,9 @@
|
|
|
1707
1808
|
"shortUrl": {
|
|
1708
1809
|
"type": "string"
|
|
1709
1810
|
},
|
|
1811
|
+
"slipperSize": {
|
|
1812
|
+
"type": "string"
|
|
1813
|
+
},
|
|
1710
1814
|
"startDate": {
|
|
1711
1815
|
"type": "string"
|
|
1712
1816
|
},
|
|
@@ -1756,6 +1860,54 @@
|
|
|
1756
1860
|
}
|
|
1757
1861
|
}
|
|
1758
1862
|
},
|
|
1863
|
+
"sanityCandidateJobPosition": {
|
|
1864
|
+
"type": "object",
|
|
1865
|
+
"properties": {
|
|
1866
|
+
"sanityType": {
|
|
1867
|
+
"enum": [
|
|
1868
|
+
"jobPosition"
|
|
1869
|
+
],
|
|
1870
|
+
"type": "string",
|
|
1871
|
+
"default": "jobPosition"
|
|
1872
|
+
},
|
|
1873
|
+
"askForGrades": {
|
|
1874
|
+
"type": "boolean"
|
|
1875
|
+
},
|
|
1876
|
+
"deadline": {
|
|
1877
|
+
"type": "string"
|
|
1878
|
+
},
|
|
1879
|
+
"description": {
|
|
1880
|
+
"type": "array",
|
|
1881
|
+
"items": {
|
|
1882
|
+
"$ref": "#/components/schemas/sanitySystemsInnerDescriptionInner"
|
|
1883
|
+
}
|
|
1884
|
+
},
|
|
1885
|
+
"image": {
|
|
1886
|
+
"$ref": "#/components/schemas/pageMetaImage"
|
|
1887
|
+
},
|
|
1888
|
+
"metaDescription": {
|
|
1889
|
+
"type": "string"
|
|
1890
|
+
},
|
|
1891
|
+
"sanityCreatedAt": {
|
|
1892
|
+
"type": "string"
|
|
1893
|
+
},
|
|
1894
|
+
"sanityId": {
|
|
1895
|
+
"type": "string"
|
|
1896
|
+
},
|
|
1897
|
+
"sanityRev": {
|
|
1898
|
+
"type": "string"
|
|
1899
|
+
},
|
|
1900
|
+
"sanityUpdatedAt": {
|
|
1901
|
+
"type": "string"
|
|
1902
|
+
},
|
|
1903
|
+
"slug": {
|
|
1904
|
+
"$ref": "#/components/schemas/slug"
|
|
1905
|
+
},
|
|
1906
|
+
"title": {
|
|
1907
|
+
"type": "string"
|
|
1908
|
+
}
|
|
1909
|
+
}
|
|
1910
|
+
},
|
|
1759
1911
|
"sanityCandidateOffboardingChecklistInner": {
|
|
1760
1912
|
"type": "object",
|
|
1761
1913
|
"properties": {
|
|
@@ -2175,15 +2327,6 @@
|
|
|
2175
2327
|
"default": "CREATED",
|
|
2176
2328
|
"nullable": true
|
|
2177
2329
|
},
|
|
2178
|
-
"track": {
|
|
2179
|
-
"enum": [
|
|
2180
|
-
"developer",
|
|
2181
|
-
"data_engineer"
|
|
2182
|
-
],
|
|
2183
|
-
"type": "string",
|
|
2184
|
-
"default": "developer",
|
|
2185
|
-
"nullable": true
|
|
2186
|
-
},
|
|
2187
2330
|
"address": {
|
|
2188
2331
|
"$ref": "#/components/schemas/sanityPatchCandidateAddress"
|
|
2189
2332
|
},
|
|
@@ -2221,6 +2364,9 @@
|
|
|
2221
2364
|
"grades": {
|
|
2222
2365
|
"$ref": "#/components/schemas/sanityPatchCandidateApplicationLetter"
|
|
2223
2366
|
},
|
|
2367
|
+
"jobPosition": {
|
|
2368
|
+
"$ref": "#/components/schemas/jobPositionReference"
|
|
2369
|
+
},
|
|
2224
2370
|
"offboardingChecklist": {
|
|
2225
2371
|
"type": "array",
|
|
2226
2372
|
"items": {
|
|
@@ -2259,6 +2405,9 @@
|
|
|
2259
2405
|
"shortUrl": {
|
|
2260
2406
|
"type": "string"
|
|
2261
2407
|
},
|
|
2408
|
+
"slipperSize": {
|
|
2409
|
+
"type": "string"
|
|
2410
|
+
},
|
|
2262
2411
|
"startDate": {
|
|
2263
2412
|
"type": "string"
|
|
2264
2413
|
},
|