@snokam/mcp-api 2.45.0 → 2.47.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.45.0",
3
+ "version": "2.47.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": {
@@ -249,6 +249,75 @@
249
249
  ]
250
250
  }
251
251
  },
252
+ "/v1.0/protected/candidates/{id}/onboard/{system}": {
253
+ "post": {
254
+ "tags": [
255
+ "Candidates"
256
+ ],
257
+ "summary": "Trigger automated onboarding for a given system",
258
+ "description": "Dispatches to the right onboarding handler based on the system slug. Microsoft 365 is the primary target; other systems report 'not implemented' until their handler lands.",
259
+ "operationId": "OnboardCandidateSystem",
260
+ "parameters": [
261
+ {
262
+ "name": "id",
263
+ "in": "path",
264
+ "required": true,
265
+ "schema": {
266
+ "type": "string"
267
+ },
268
+ "x-ms-summary": "Candidate Sanity id"
269
+ },
270
+ {
271
+ "name": "system",
272
+ "in": "path",
273
+ "required": true,
274
+ "schema": {
275
+ "type": "string"
276
+ },
277
+ "x-ms-summary": "System slug (e.g. 'microsoft-365')"
278
+ }
279
+ ],
280
+ "responses": {
281
+ "200": {
282
+ "description": "Uniform onboarding result with status + message",
283
+ "content": {
284
+ "application/json": {
285
+ "schema": {
286
+ "$ref": "#/components/schemas/onboardingResult"
287
+ }
288
+ }
289
+ },
290
+ "x-ms-summary": "Success"
291
+ },
292
+ "400": {
293
+ "description": "Payload of Object",
294
+ "content": {
295
+ "application/json": {
296
+ "schema": {
297
+ "type": "object"
298
+ }
299
+ }
300
+ },
301
+ "x-ms-summary": "Bad Request"
302
+ },
303
+ "401": {
304
+ "description": "No description",
305
+ "x-ms-summary": "Unauthorized"
306
+ },
307
+ "404": {
308
+ "description": "No description",
309
+ "x-ms-summary": "Not Found"
310
+ }
311
+ },
312
+ "security": [
313
+ {
314
+ "Implicit": [
315
+ "api://b9f9de6f-132f-4a9a-a583-e9054a46f2fa/.default"
316
+ ]
317
+ }
318
+ ]
319
+ }
320
+ },
252
321
  "/v1.0/protected/candidates/{id}/reject": {
253
322
  "post": {
254
323
  "tags": [
@@ -919,6 +988,26 @@
919
988
  }
920
989
  }
921
990
  },
991
+ "onboardingResult": {
992
+ "type": "object",
993
+ "properties": {
994
+ "status": {
995
+ "type": "string"
996
+ },
997
+ "message": {
998
+ "type": "string"
999
+ },
1000
+ "preferredEmail": {
1001
+ "type": "string"
1002
+ },
1003
+ "createdAccountId": {
1004
+ "type": "string"
1005
+ },
1006
+ "temporaryPassword": {
1007
+ "type": "string"
1008
+ }
1009
+ }
1010
+ },
922
1011
  "sanityAssetSourceData": {
923
1012
  "type": "object",
924
1013
  "properties": {
@@ -994,11 +1083,25 @@
994
1083
  "OFFER",
995
1084
  "ONBOARDING",
996
1085
  "REJECTED",
997
- "SIGNED"
1086
+ "SIGNED",
1087
+ "USER_CREATION_REVIEW"
998
1088
  ],
999
1089
  "type": "string",
1000
1090
  "default": "CREATED"
1001
1091
  },
1092
+ "tShirtSize": {
1093
+ "enum": [
1094
+ "L",
1095
+ "M",
1096
+ "S",
1097
+ "XL",
1098
+ "XS",
1099
+ "XXL"
1100
+ ],
1101
+ "type": "string",
1102
+ "default": "L",
1103
+ "nullable": true
1104
+ },
1002
1105
  "track": {
1003
1106
  "enum": [
1004
1107
  "data_engineer",
@@ -1008,12 +1111,18 @@
1008
1111
  "default": "data_engineer",
1009
1112
  "nullable": true
1010
1113
  },
1114
+ "address": {
1115
+ "$ref": "#/components/schemas/sanityCandidateAddress"
1116
+ },
1011
1117
  "applicationLetter": {
1012
1118
  "$ref": "#/components/schemas/sanityCandidateGrades"
1013
1119
  },
1014
1120
  "applicationOther": {
1015
1121
  "type": "string"
1016
1122
  },
1123
+ "bankAccount": {
1124
+ "type": "string"
1125
+ },
1017
1126
  "buddy": {
1018
1127
  "$ref": "#/components/schemas/sanityEmployeeManager"
1019
1128
  },
@@ -1048,6 +1157,15 @@
1048
1157
  "type": "number",
1049
1158
  "format": "double"
1050
1159
  },
1160
+ "preferredDisplayName": {
1161
+ "type": "string"
1162
+ },
1163
+ "preferredEmail": {
1164
+ "type": "string"
1165
+ },
1166
+ "profileImage": {
1167
+ "$ref": "#/components/schemas/sanityTvCategoryDashboardsInnerBackgroundImage"
1168
+ },
1051
1169
  "recruiter": {
1052
1170
  "$ref": "#/components/schemas/sanityEmployeeManager"
1053
1171
  },
@@ -1086,6 +1204,20 @@
1086
1204
  }
1087
1205
  }
1088
1206
  },
1207
+ "sanityCandidateAddress": {
1208
+ "type": "object",
1209
+ "properties": {
1210
+ "city": {
1211
+ "type": "string"
1212
+ },
1213
+ "postalCode": {
1214
+ "type": "string"
1215
+ },
1216
+ "street": {
1217
+ "type": "string"
1218
+ }
1219
+ }
1220
+ },
1089
1221
  "sanityCandidateGrades": {
1090
1222
  "type": "object",
1091
1223
  "properties": {
@@ -1335,6 +1467,80 @@
1335
1467
  }
1336
1468
  }
1337
1469
  },
1470
+ "sanityImageAssetReference": {
1471
+ "type": "object",
1472
+ "properties": {
1473
+ "sanityType": {
1474
+ "enum": [
1475
+ "reference"
1476
+ ],
1477
+ "type": "string",
1478
+ "default": "reference"
1479
+ },
1480
+ "sanityRef": {
1481
+ "type": "string"
1482
+ },
1483
+ "sanityWeak": {
1484
+ "type": "boolean"
1485
+ }
1486
+ }
1487
+ },
1488
+ "sanityImageCrop": {
1489
+ "type": "object",
1490
+ "properties": {
1491
+ "sanityType": {
1492
+ "enum": [
1493
+ "sanity.imageCrop"
1494
+ ],
1495
+ "type": "string",
1496
+ "default": "sanity.imageCrop"
1497
+ },
1498
+ "bottom": {
1499
+ "type": "number",
1500
+ "format": "double"
1501
+ },
1502
+ "left": {
1503
+ "type": "number",
1504
+ "format": "double"
1505
+ },
1506
+ "right": {
1507
+ "type": "number",
1508
+ "format": "double"
1509
+ },
1510
+ "top": {
1511
+ "type": "number",
1512
+ "format": "double"
1513
+ }
1514
+ }
1515
+ },
1516
+ "sanityImageHotspot": {
1517
+ "type": "object",
1518
+ "properties": {
1519
+ "sanityType": {
1520
+ "enum": [
1521
+ "sanity.imageHotspot"
1522
+ ],
1523
+ "type": "string",
1524
+ "default": "sanity.imageHotspot"
1525
+ },
1526
+ "height": {
1527
+ "type": "number",
1528
+ "format": "double"
1529
+ },
1530
+ "width": {
1531
+ "type": "number",
1532
+ "format": "double"
1533
+ },
1534
+ "x": {
1535
+ "type": "number",
1536
+ "format": "double"
1537
+ },
1538
+ "y": {
1539
+ "type": "number",
1540
+ "format": "double"
1541
+ }
1542
+ }
1543
+ },
1338
1544
  "sanityJobPosition": {
1339
1545
  "type": "object",
1340
1546
  "properties": {
@@ -1444,6 +1650,7 @@
1444
1650
  "OFFER",
1445
1651
  "SIGNED",
1446
1652
  "ONBOARDING",
1653
+ "USER_CREATION_REVIEW",
1447
1654
  "OFFBOARDING",
1448
1655
  "REJECTED"
1449
1656
  ],
@@ -1451,6 +1658,19 @@
1451
1658
  "default": "CREATED",
1452
1659
  "nullable": true
1453
1660
  },
1661
+ "tShirtSize": {
1662
+ "enum": [
1663
+ "XS",
1664
+ "S",
1665
+ "M",
1666
+ "L",
1667
+ "XL",
1668
+ "XXL"
1669
+ ],
1670
+ "type": "string",
1671
+ "default": "XS",
1672
+ "nullable": true
1673
+ },
1454
1674
  "track": {
1455
1675
  "enum": [
1456
1676
  "developer",
@@ -1460,12 +1680,18 @@
1460
1680
  "default": "developer",
1461
1681
  "nullable": true
1462
1682
  },
1683
+ "address": {
1684
+ "$ref": "#/components/schemas/sanityPatchCandidateAddress"
1685
+ },
1463
1686
  "applicationLetter": {
1464
1687
  "$ref": "#/components/schemas/sanityPatchCandidateApplicationLetter"
1465
1688
  },
1466
1689
  "applicationOther": {
1467
1690
  "type": "string"
1468
1691
  },
1692
+ "bankAccount": {
1693
+ "type": "string"
1694
+ },
1469
1695
  "buddy": {
1470
1696
  "$ref": "#/components/schemas/employeeReference"
1471
1697
  },
@@ -1502,6 +1728,15 @@
1502
1728
  "format": "double",
1503
1729
  "nullable": true
1504
1730
  },
1731
+ "preferredDisplayName": {
1732
+ "type": "string"
1733
+ },
1734
+ "preferredEmail": {
1735
+ "type": "string"
1736
+ },
1737
+ "profileImage": {
1738
+ "$ref": "#/components/schemas/sanityPatchPageMetaImage"
1739
+ },
1505
1740
  "recruiter": {
1506
1741
  "$ref": "#/components/schemas/employeeReference"
1507
1742
  },
@@ -1534,6 +1769,20 @@
1534
1769
  }
1535
1770
  }
1536
1771
  },
1772
+ "sanityPatchCandidateAddress": {
1773
+ "type": "object",
1774
+ "properties": {
1775
+ "city": {
1776
+ "type": "string"
1777
+ },
1778
+ "postalCode": {
1779
+ "type": "string"
1780
+ },
1781
+ "street": {
1782
+ "type": "string"
1783
+ }
1784
+ }
1785
+ },
1537
1786
  "sanityPatchCandidateApplicationLetter": {
1538
1787
  "type": "object",
1539
1788
  "properties": {
@@ -1573,6 +1822,30 @@
1573
1822
  }
1574
1823
  }
1575
1824
  },
1825
+ "sanityPatchPageMetaImage": {
1826
+ "type": "object",
1827
+ "properties": {
1828
+ "sanityType": {
1829
+ "enum": [
1830
+ "image"
1831
+ ],
1832
+ "type": "string",
1833
+ "default": "image"
1834
+ },
1835
+ "asset": {
1836
+ "$ref": "#/components/schemas/sanityImageAssetReference"
1837
+ },
1838
+ "crop": {
1839
+ "$ref": "#/components/schemas/sanityImageCrop"
1840
+ },
1841
+ "hotspot": {
1842
+ "$ref": "#/components/schemas/sanityImageHotspot"
1843
+ },
1844
+ "media": {
1845
+ "type": "object"
1846
+ }
1847
+ }
1848
+ },
1576
1849
  "sanityPatchSystem": {
1577
1850
  "type": "object",
1578
1851
  "properties": {
@@ -29794,6 +29794,90 @@
29794
29794
  },
29795
29795
  "SanityCandidate": {
29796
29796
  "properties": {
29797
+ "bankAccount": {
29798
+ "type": "string"
29799
+ },
29800
+ "tShirtSize": {
29801
+ "type": "string",
29802
+ "enum": [
29803
+ "L",
29804
+ "M",
29805
+ "S",
29806
+ "XL",
29807
+ "XS",
29808
+ "XXL"
29809
+ ]
29810
+ },
29811
+ "address": {
29812
+ "properties": {
29813
+ "city": {
29814
+ "type": "string"
29815
+ },
29816
+ "postalCode": {
29817
+ "type": "string"
29818
+ },
29819
+ "street": {
29820
+ "type": "string"
29821
+ }
29822
+ },
29823
+ "type": "object"
29824
+ },
29825
+ "preferredDisplayName": {
29826
+ "type": "string"
29827
+ },
29828
+ "preferredEmail": {
29829
+ "type": "string"
29830
+ },
29831
+ "profileImage": {
29832
+ "properties": {
29833
+ "asset": {
29834
+ "properties": {
29835
+ "mimeType": {
29836
+ "type": "string"
29837
+ },
29838
+ "originalFilename": {
29839
+ "type": "string",
29840
+ "nullable": true
29841
+ },
29842
+ "url": {
29843
+ "type": "string"
29844
+ },
29845
+ "sanityType": {
29846
+ "type": "string",
29847
+ "enum": [
29848
+ "sanity.imageAsset"
29849
+ ],
29850
+ "nullable": false
29851
+ },
29852
+ "sanityId": {
29853
+ "type": "string"
29854
+ }
29855
+ },
29856
+ "required": [
29857
+ "mimeType",
29858
+ "originalFilename",
29859
+ "url",
29860
+ "sanityType",
29861
+ "sanityId"
29862
+ ],
29863
+ "type": "object",
29864
+ "nullable": true
29865
+ },
29866
+ "sanityType": {
29867
+ "type": "string",
29868
+ "enum": [
29869
+ "image"
29870
+ ],
29871
+ "nullable": false
29872
+ }
29873
+ },
29874
+ "required": [
29875
+ "asset",
29876
+ "sanityType"
29877
+ ],
29878
+ "type": "object",
29879
+ "nullable": true
29880
+ },
29797
29881
  "shortUrl": {
29798
29882
  "type": "string"
29799
29883
  },
@@ -30642,7 +30726,8 @@
30642
30726
  "OFFER",
30643
30727
  "ONBOARDING",
30644
30728
  "REJECTED",
30645
- "SIGNED"
30729
+ "SIGNED",
30730
+ "USER_CREATION_REVIEW"
30646
30731
  ]
30647
30732
  },
30648
30733
  "candidate": {
@@ -30669,6 +30754,7 @@
30669
30754
  }
30670
30755
  },
30671
30756
  "required": [
30757
+ "profileImage",
30672
30758
  "systemsActive",
30673
30759
  "buddy",
30674
30760
  "recruiter",
@@ -30756,12 +30842,28 @@
30756
30842
  "OFFER",
30757
30843
  "SIGNED",
30758
30844
  "ONBOARDING",
30845
+ "USER_CREATION_REVIEW",
30759
30846
  "OFFBOARDING",
30760
30847
  "REJECTED",
30761
30848
  null
30762
30849
  ],
30763
30850
  "nullable": true
30764
30851
  },
30852
+ "address": {
30853
+ "properties": {
30854
+ "city": {
30855
+ "type": "string"
30856
+ },
30857
+ "postalCode": {
30858
+ "type": "string"
30859
+ },
30860
+ "street": {
30861
+ "type": "string"
30862
+ }
30863
+ },
30864
+ "type": "object",
30865
+ "nullable": true
30866
+ },
30765
30867
  "telephone": {
30766
30868
  "type": "string",
30767
30869
  "nullable": true
@@ -30972,6 +31074,57 @@
30972
31074
  "shortUrl": {
30973
31075
  "type": "string",
30974
31076
  "nullable": true
31077
+ },
31078
+ "profileImage": {
31079
+ "properties": {
31080
+ "sanityType": {
31081
+ "type": "string",
31082
+ "enum": [
31083
+ "image"
31084
+ ],
31085
+ "nullable": false
31086
+ },
31087
+ "crop": {
31088
+ "$ref": "#/components/schemas/SanityImageCrop"
31089
+ },
31090
+ "hotspot": {
31091
+ "$ref": "#/components/schemas/SanityImageHotspot"
31092
+ },
31093
+ "media": {},
31094
+ "asset": {
31095
+ "$ref": "#/components/schemas/SanityImageAssetReference"
31096
+ }
31097
+ },
31098
+ "required": [
31099
+ "sanityType"
31100
+ ],
31101
+ "type": "object",
31102
+ "nullable": true
31103
+ },
31104
+ "preferredEmail": {
31105
+ "type": "string",
31106
+ "nullable": true
31107
+ },
31108
+ "preferredDisplayName": {
31109
+ "type": "string",
31110
+ "nullable": true
31111
+ },
31112
+ "tShirtSize": {
31113
+ "type": "string",
31114
+ "enum": [
31115
+ "XS",
31116
+ "S",
31117
+ "M",
31118
+ "L",
31119
+ "XL",
31120
+ "XXL",
31121
+ null
31122
+ ],
31123
+ "nullable": true
31124
+ },
31125
+ "bankAccount": {
31126
+ "type": "string",
31127
+ "nullable": true
30975
31128
  }
30976
31129
  },
30977
31130
  "type": "object",
@@ -249,6 +249,75 @@
249
249
  ]
250
250
  }
251
251
  },
252
+ "/v1.0/protected/candidates/{id}/onboard/{system}": {
253
+ "post": {
254
+ "tags": [
255
+ "Candidates"
256
+ ],
257
+ "summary": "Trigger automated onboarding for a given system",
258
+ "description": "Dispatches to the right onboarding handler based on the system slug. Microsoft 365 is the primary target; other systems report 'not implemented' until their handler lands.",
259
+ "operationId": "OnboardCandidateSystem",
260
+ "parameters": [
261
+ {
262
+ "name": "id",
263
+ "in": "path",
264
+ "required": true,
265
+ "schema": {
266
+ "type": "string"
267
+ },
268
+ "x-ms-summary": "Candidate Sanity id"
269
+ },
270
+ {
271
+ "name": "system",
272
+ "in": "path",
273
+ "required": true,
274
+ "schema": {
275
+ "type": "string"
276
+ },
277
+ "x-ms-summary": "System slug (e.g. 'microsoft-365')"
278
+ }
279
+ ],
280
+ "responses": {
281
+ "200": {
282
+ "description": "Uniform onboarding result with status + message",
283
+ "content": {
284
+ "application/json": {
285
+ "schema": {
286
+ "$ref": "#/components/schemas/onboardingResult"
287
+ }
288
+ }
289
+ },
290
+ "x-ms-summary": "Success"
291
+ },
292
+ "400": {
293
+ "description": "Payload of Object",
294
+ "content": {
295
+ "application/json": {
296
+ "schema": {
297
+ "type": "object"
298
+ }
299
+ }
300
+ },
301
+ "x-ms-summary": "Bad Request"
302
+ },
303
+ "401": {
304
+ "description": "No description",
305
+ "x-ms-summary": "Unauthorized"
306
+ },
307
+ "404": {
308
+ "description": "No description",
309
+ "x-ms-summary": "Not Found"
310
+ }
311
+ },
312
+ "security": [
313
+ {
314
+ "Implicit": [
315
+ "api://050da74a-523f-48ba-a9de-e5c8d6805a93/.default"
316
+ ]
317
+ }
318
+ ]
319
+ }
320
+ },
252
321
  "/v1.0/protected/candidates/{id}/reject": {
253
322
  "post": {
254
323
  "tags": [
@@ -919,6 +988,26 @@
919
988
  }
920
989
  }
921
990
  },
991
+ "onboardingResult": {
992
+ "type": "object",
993
+ "properties": {
994
+ "status": {
995
+ "type": "string"
996
+ },
997
+ "message": {
998
+ "type": "string"
999
+ },
1000
+ "preferredEmail": {
1001
+ "type": "string"
1002
+ },
1003
+ "createdAccountId": {
1004
+ "type": "string"
1005
+ },
1006
+ "temporaryPassword": {
1007
+ "type": "string"
1008
+ }
1009
+ }
1010
+ },
922
1011
  "sanityAssetSourceData": {
923
1012
  "type": "object",
924
1013
  "properties": {
@@ -994,11 +1083,25 @@
994
1083
  "OFFER",
995
1084
  "ONBOARDING",
996
1085
  "REJECTED",
997
- "SIGNED"
1086
+ "SIGNED",
1087
+ "USER_CREATION_REVIEW"
998
1088
  ],
999
1089
  "type": "string",
1000
1090
  "default": "CREATED"
1001
1091
  },
1092
+ "tShirtSize": {
1093
+ "enum": [
1094
+ "L",
1095
+ "M",
1096
+ "S",
1097
+ "XL",
1098
+ "XS",
1099
+ "XXL"
1100
+ ],
1101
+ "type": "string",
1102
+ "default": "L",
1103
+ "nullable": true
1104
+ },
1002
1105
  "track": {
1003
1106
  "enum": [
1004
1107
  "data_engineer",
@@ -1008,12 +1111,18 @@
1008
1111
  "default": "data_engineer",
1009
1112
  "nullable": true
1010
1113
  },
1114
+ "address": {
1115
+ "$ref": "#/components/schemas/sanityCandidateAddress"
1116
+ },
1011
1117
  "applicationLetter": {
1012
1118
  "$ref": "#/components/schemas/sanityCandidateGrades"
1013
1119
  },
1014
1120
  "applicationOther": {
1015
1121
  "type": "string"
1016
1122
  },
1123
+ "bankAccount": {
1124
+ "type": "string"
1125
+ },
1017
1126
  "buddy": {
1018
1127
  "$ref": "#/components/schemas/sanityEmployeeManager"
1019
1128
  },
@@ -1048,6 +1157,15 @@
1048
1157
  "type": "number",
1049
1158
  "format": "double"
1050
1159
  },
1160
+ "preferredDisplayName": {
1161
+ "type": "string"
1162
+ },
1163
+ "preferredEmail": {
1164
+ "type": "string"
1165
+ },
1166
+ "profileImage": {
1167
+ "$ref": "#/components/schemas/sanityTvCategoryDashboardsInnerBackgroundImage"
1168
+ },
1051
1169
  "recruiter": {
1052
1170
  "$ref": "#/components/schemas/sanityEmployeeManager"
1053
1171
  },
@@ -1086,6 +1204,20 @@
1086
1204
  }
1087
1205
  }
1088
1206
  },
1207
+ "sanityCandidateAddress": {
1208
+ "type": "object",
1209
+ "properties": {
1210
+ "city": {
1211
+ "type": "string"
1212
+ },
1213
+ "postalCode": {
1214
+ "type": "string"
1215
+ },
1216
+ "street": {
1217
+ "type": "string"
1218
+ }
1219
+ }
1220
+ },
1089
1221
  "sanityCandidateGrades": {
1090
1222
  "type": "object",
1091
1223
  "properties": {
@@ -1335,6 +1467,80 @@
1335
1467
  }
1336
1468
  }
1337
1469
  },
1470
+ "sanityImageAssetReference": {
1471
+ "type": "object",
1472
+ "properties": {
1473
+ "sanityType": {
1474
+ "enum": [
1475
+ "reference"
1476
+ ],
1477
+ "type": "string",
1478
+ "default": "reference"
1479
+ },
1480
+ "sanityRef": {
1481
+ "type": "string"
1482
+ },
1483
+ "sanityWeak": {
1484
+ "type": "boolean"
1485
+ }
1486
+ }
1487
+ },
1488
+ "sanityImageCrop": {
1489
+ "type": "object",
1490
+ "properties": {
1491
+ "sanityType": {
1492
+ "enum": [
1493
+ "sanity.imageCrop"
1494
+ ],
1495
+ "type": "string",
1496
+ "default": "sanity.imageCrop"
1497
+ },
1498
+ "bottom": {
1499
+ "type": "number",
1500
+ "format": "double"
1501
+ },
1502
+ "left": {
1503
+ "type": "number",
1504
+ "format": "double"
1505
+ },
1506
+ "right": {
1507
+ "type": "number",
1508
+ "format": "double"
1509
+ },
1510
+ "top": {
1511
+ "type": "number",
1512
+ "format": "double"
1513
+ }
1514
+ }
1515
+ },
1516
+ "sanityImageHotspot": {
1517
+ "type": "object",
1518
+ "properties": {
1519
+ "sanityType": {
1520
+ "enum": [
1521
+ "sanity.imageHotspot"
1522
+ ],
1523
+ "type": "string",
1524
+ "default": "sanity.imageHotspot"
1525
+ },
1526
+ "height": {
1527
+ "type": "number",
1528
+ "format": "double"
1529
+ },
1530
+ "width": {
1531
+ "type": "number",
1532
+ "format": "double"
1533
+ },
1534
+ "x": {
1535
+ "type": "number",
1536
+ "format": "double"
1537
+ },
1538
+ "y": {
1539
+ "type": "number",
1540
+ "format": "double"
1541
+ }
1542
+ }
1543
+ },
1338
1544
  "sanityJobPosition": {
1339
1545
  "type": "object",
1340
1546
  "properties": {
@@ -1444,6 +1650,7 @@
1444
1650
  "OFFER",
1445
1651
  "SIGNED",
1446
1652
  "ONBOARDING",
1653
+ "USER_CREATION_REVIEW",
1447
1654
  "OFFBOARDING",
1448
1655
  "REJECTED"
1449
1656
  ],
@@ -1451,6 +1658,19 @@
1451
1658
  "default": "CREATED",
1452
1659
  "nullable": true
1453
1660
  },
1661
+ "tShirtSize": {
1662
+ "enum": [
1663
+ "XS",
1664
+ "S",
1665
+ "M",
1666
+ "L",
1667
+ "XL",
1668
+ "XXL"
1669
+ ],
1670
+ "type": "string",
1671
+ "default": "XS",
1672
+ "nullable": true
1673
+ },
1454
1674
  "track": {
1455
1675
  "enum": [
1456
1676
  "developer",
@@ -1460,12 +1680,18 @@
1460
1680
  "default": "developer",
1461
1681
  "nullable": true
1462
1682
  },
1683
+ "address": {
1684
+ "$ref": "#/components/schemas/sanityPatchCandidateAddress"
1685
+ },
1463
1686
  "applicationLetter": {
1464
1687
  "$ref": "#/components/schemas/sanityPatchCandidateApplicationLetter"
1465
1688
  },
1466
1689
  "applicationOther": {
1467
1690
  "type": "string"
1468
1691
  },
1692
+ "bankAccount": {
1693
+ "type": "string"
1694
+ },
1469
1695
  "buddy": {
1470
1696
  "$ref": "#/components/schemas/employeeReference"
1471
1697
  },
@@ -1502,6 +1728,15 @@
1502
1728
  "format": "double",
1503
1729
  "nullable": true
1504
1730
  },
1731
+ "preferredDisplayName": {
1732
+ "type": "string"
1733
+ },
1734
+ "preferredEmail": {
1735
+ "type": "string"
1736
+ },
1737
+ "profileImage": {
1738
+ "$ref": "#/components/schemas/sanityPatchPageMetaImage"
1739
+ },
1505
1740
  "recruiter": {
1506
1741
  "$ref": "#/components/schemas/employeeReference"
1507
1742
  },
@@ -1534,6 +1769,20 @@
1534
1769
  }
1535
1770
  }
1536
1771
  },
1772
+ "sanityPatchCandidateAddress": {
1773
+ "type": "object",
1774
+ "properties": {
1775
+ "city": {
1776
+ "type": "string"
1777
+ },
1778
+ "postalCode": {
1779
+ "type": "string"
1780
+ },
1781
+ "street": {
1782
+ "type": "string"
1783
+ }
1784
+ }
1785
+ },
1537
1786
  "sanityPatchCandidateApplicationLetter": {
1538
1787
  "type": "object",
1539
1788
  "properties": {
@@ -1573,6 +1822,30 @@
1573
1822
  }
1574
1823
  }
1575
1824
  },
1825
+ "sanityPatchPageMetaImage": {
1826
+ "type": "object",
1827
+ "properties": {
1828
+ "sanityType": {
1829
+ "enum": [
1830
+ "image"
1831
+ ],
1832
+ "type": "string",
1833
+ "default": "image"
1834
+ },
1835
+ "asset": {
1836
+ "$ref": "#/components/schemas/sanityImageAssetReference"
1837
+ },
1838
+ "crop": {
1839
+ "$ref": "#/components/schemas/sanityImageCrop"
1840
+ },
1841
+ "hotspot": {
1842
+ "$ref": "#/components/schemas/sanityImageHotspot"
1843
+ },
1844
+ "media": {
1845
+ "type": "object"
1846
+ }
1847
+ }
1848
+ },
1576
1849
  "sanityPatchSystem": {
1577
1850
  "type": "object",
1578
1851
  "properties": {
@@ -29794,6 +29794,90 @@
29794
29794
  },
29795
29795
  "SanityCandidate": {
29796
29796
  "properties": {
29797
+ "bankAccount": {
29798
+ "type": "string"
29799
+ },
29800
+ "tShirtSize": {
29801
+ "type": "string",
29802
+ "enum": [
29803
+ "L",
29804
+ "M",
29805
+ "S",
29806
+ "XL",
29807
+ "XS",
29808
+ "XXL"
29809
+ ]
29810
+ },
29811
+ "address": {
29812
+ "properties": {
29813
+ "city": {
29814
+ "type": "string"
29815
+ },
29816
+ "postalCode": {
29817
+ "type": "string"
29818
+ },
29819
+ "street": {
29820
+ "type": "string"
29821
+ }
29822
+ },
29823
+ "type": "object"
29824
+ },
29825
+ "preferredDisplayName": {
29826
+ "type": "string"
29827
+ },
29828
+ "preferredEmail": {
29829
+ "type": "string"
29830
+ },
29831
+ "profileImage": {
29832
+ "properties": {
29833
+ "asset": {
29834
+ "properties": {
29835
+ "mimeType": {
29836
+ "type": "string"
29837
+ },
29838
+ "originalFilename": {
29839
+ "type": "string",
29840
+ "nullable": true
29841
+ },
29842
+ "url": {
29843
+ "type": "string"
29844
+ },
29845
+ "sanityType": {
29846
+ "type": "string",
29847
+ "enum": [
29848
+ "sanity.imageAsset"
29849
+ ],
29850
+ "nullable": false
29851
+ },
29852
+ "sanityId": {
29853
+ "type": "string"
29854
+ }
29855
+ },
29856
+ "required": [
29857
+ "mimeType",
29858
+ "originalFilename",
29859
+ "url",
29860
+ "sanityType",
29861
+ "sanityId"
29862
+ ],
29863
+ "type": "object",
29864
+ "nullable": true
29865
+ },
29866
+ "sanityType": {
29867
+ "type": "string",
29868
+ "enum": [
29869
+ "image"
29870
+ ],
29871
+ "nullable": false
29872
+ }
29873
+ },
29874
+ "required": [
29875
+ "asset",
29876
+ "sanityType"
29877
+ ],
29878
+ "type": "object",
29879
+ "nullable": true
29880
+ },
29797
29881
  "shortUrl": {
29798
29882
  "type": "string"
29799
29883
  },
@@ -30642,7 +30726,8 @@
30642
30726
  "OFFER",
30643
30727
  "ONBOARDING",
30644
30728
  "REJECTED",
30645
- "SIGNED"
30729
+ "SIGNED",
30730
+ "USER_CREATION_REVIEW"
30646
30731
  ]
30647
30732
  },
30648
30733
  "candidate": {
@@ -30669,6 +30754,7 @@
30669
30754
  }
30670
30755
  },
30671
30756
  "required": [
30757
+ "profileImage",
30672
30758
  "systemsActive",
30673
30759
  "buddy",
30674
30760
  "recruiter",
@@ -30756,12 +30842,28 @@
30756
30842
  "OFFER",
30757
30843
  "SIGNED",
30758
30844
  "ONBOARDING",
30845
+ "USER_CREATION_REVIEW",
30759
30846
  "OFFBOARDING",
30760
30847
  "REJECTED",
30761
30848
  null
30762
30849
  ],
30763
30850
  "nullable": true
30764
30851
  },
30852
+ "address": {
30853
+ "properties": {
30854
+ "city": {
30855
+ "type": "string"
30856
+ },
30857
+ "postalCode": {
30858
+ "type": "string"
30859
+ },
30860
+ "street": {
30861
+ "type": "string"
30862
+ }
30863
+ },
30864
+ "type": "object",
30865
+ "nullable": true
30866
+ },
30765
30867
  "telephone": {
30766
30868
  "type": "string",
30767
30869
  "nullable": true
@@ -30972,6 +31074,57 @@
30972
31074
  "shortUrl": {
30973
31075
  "type": "string",
30974
31076
  "nullable": true
31077
+ },
31078
+ "profileImage": {
31079
+ "properties": {
31080
+ "sanityType": {
31081
+ "type": "string",
31082
+ "enum": [
31083
+ "image"
31084
+ ],
31085
+ "nullable": false
31086
+ },
31087
+ "crop": {
31088
+ "$ref": "#/components/schemas/SanityImageCrop"
31089
+ },
31090
+ "hotspot": {
31091
+ "$ref": "#/components/schemas/SanityImageHotspot"
31092
+ },
31093
+ "media": {},
31094
+ "asset": {
31095
+ "$ref": "#/components/schemas/SanityImageAssetReference"
31096
+ }
31097
+ },
31098
+ "required": [
31099
+ "sanityType"
31100
+ ],
31101
+ "type": "object",
31102
+ "nullable": true
31103
+ },
31104
+ "preferredEmail": {
31105
+ "type": "string",
31106
+ "nullable": true
31107
+ },
31108
+ "preferredDisplayName": {
31109
+ "type": "string",
31110
+ "nullable": true
31111
+ },
31112
+ "tShirtSize": {
31113
+ "type": "string",
31114
+ "enum": [
31115
+ "XS",
31116
+ "S",
31117
+ "M",
31118
+ "L",
31119
+ "XL",
31120
+ "XXL",
31121
+ null
31122
+ ],
31123
+ "nullable": true
31124
+ },
31125
+ "bankAccount": {
31126
+ "type": "string",
31127
+ "nullable": true
30975
31128
  }
30976
31129
  },
30977
31130
  "type": "object",