@snokam/mcp-api 0.76.0 → 0.76.2
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 +191 -0
- package/specs/test/recruitment.json +191 -0
package/package.json
CHANGED
|
@@ -1204,6 +1204,177 @@
|
|
|
1204
1204
|
]
|
|
1205
1205
|
}
|
|
1206
1206
|
},
|
|
1207
|
+
"/v1.0/protected/employees/{upn}/systems": {
|
|
1208
|
+
"get": {
|
|
1209
|
+
"tags": [
|
|
1210
|
+
"EmployeeSystems"
|
|
1211
|
+
],
|
|
1212
|
+
"summary": "List per-employee system access (Salesforce, …)",
|
|
1213
|
+
"description": "Returns the toggle state of each system the admin can grant or revoke for the employee. UI uses the list to render one column per registry entry.",
|
|
1214
|
+
"operationId": "ListEmployeeSystemAccess",
|
|
1215
|
+
"parameters": [
|
|
1216
|
+
{
|
|
1217
|
+
"name": "upn",
|
|
1218
|
+
"in": "path",
|
|
1219
|
+
"required": true,
|
|
1220
|
+
"schema": {
|
|
1221
|
+
"type": "string"
|
|
1222
|
+
},
|
|
1223
|
+
"x-ms-summary": "Employee UPN (work email)"
|
|
1224
|
+
}
|
|
1225
|
+
],
|
|
1226
|
+
"responses": {
|
|
1227
|
+
"200": {
|
|
1228
|
+
"description": "Payload of Array of EmployeeSystemAccess",
|
|
1229
|
+
"content": {
|
|
1230
|
+
"application/json": {
|
|
1231
|
+
"schema": {
|
|
1232
|
+
"type": "array",
|
|
1233
|
+
"items": {
|
|
1234
|
+
"$ref": "#/components/schemas/employeeSystemAccess"
|
|
1235
|
+
}
|
|
1236
|
+
}
|
|
1237
|
+
}
|
|
1238
|
+
},
|
|
1239
|
+
"x-ms-summary": "Success"
|
|
1240
|
+
},
|
|
1241
|
+
"401": {
|
|
1242
|
+
"description": "No description",
|
|
1243
|
+
"x-ms-summary": "Unauthorized"
|
|
1244
|
+
},
|
|
1245
|
+
"404": {
|
|
1246
|
+
"description": "No description",
|
|
1247
|
+
"x-ms-summary": "Employee not found in Entra"
|
|
1248
|
+
}
|
|
1249
|
+
},
|
|
1250
|
+
"security": [
|
|
1251
|
+
{
|
|
1252
|
+
"Implicit": [
|
|
1253
|
+
"api://b9f9de6f-132f-4a9a-a583-e9054a46f2fa/.default"
|
|
1254
|
+
]
|
|
1255
|
+
}
|
|
1256
|
+
]
|
|
1257
|
+
}
|
|
1258
|
+
},
|
|
1259
|
+
"/v1.0/protected/employees/{upn}/systems/{systemKey}": {
|
|
1260
|
+
"post": {
|
|
1261
|
+
"tags": [
|
|
1262
|
+
"EmployeeSystems"
|
|
1263
|
+
],
|
|
1264
|
+
"summary": "Grant the employee access to a system",
|
|
1265
|
+
"description": "Triggers the Graph call that backs the system (today: app-role assignment on the matching Enterprise App SP). SCIM-backed apps then provision automatically.",
|
|
1266
|
+
"operationId": "AssignEmployeeSystem",
|
|
1267
|
+
"parameters": [
|
|
1268
|
+
{
|
|
1269
|
+
"name": "upn",
|
|
1270
|
+
"in": "path",
|
|
1271
|
+
"required": true,
|
|
1272
|
+
"schema": {
|
|
1273
|
+
"type": "string"
|
|
1274
|
+
}
|
|
1275
|
+
},
|
|
1276
|
+
{
|
|
1277
|
+
"name": "systemKey",
|
|
1278
|
+
"in": "path",
|
|
1279
|
+
"required": true,
|
|
1280
|
+
"schema": {
|
|
1281
|
+
"type": "string"
|
|
1282
|
+
},
|
|
1283
|
+
"x-ms-summary": "Stable system key (e.g. \"salesforce\")"
|
|
1284
|
+
}
|
|
1285
|
+
],
|
|
1286
|
+
"responses": {
|
|
1287
|
+
"200": {
|
|
1288
|
+
"description": "Payload of EmployeeSystemAccess",
|
|
1289
|
+
"content": {
|
|
1290
|
+
"application/json": {
|
|
1291
|
+
"schema": {
|
|
1292
|
+
"$ref": "#/components/schemas/employeeSystemAccess"
|
|
1293
|
+
}
|
|
1294
|
+
}
|
|
1295
|
+
},
|
|
1296
|
+
"x-ms-summary": "Success"
|
|
1297
|
+
},
|
|
1298
|
+
"401": {
|
|
1299
|
+
"description": "No description",
|
|
1300
|
+
"x-ms-summary": "Unauthorized"
|
|
1301
|
+
},
|
|
1302
|
+
"404": {
|
|
1303
|
+
"description": "No description",
|
|
1304
|
+
"x-ms-summary": "Unknown system or employee"
|
|
1305
|
+
},
|
|
1306
|
+
"501": {
|
|
1307
|
+
"description": "No description",
|
|
1308
|
+
"x-ms-summary": "System not configured in this environment"
|
|
1309
|
+
}
|
|
1310
|
+
},
|
|
1311
|
+
"security": [
|
|
1312
|
+
{
|
|
1313
|
+
"Implicit": [
|
|
1314
|
+
"api://b9f9de6f-132f-4a9a-a583-e9054a46f2fa/.default"
|
|
1315
|
+
]
|
|
1316
|
+
}
|
|
1317
|
+
]
|
|
1318
|
+
},
|
|
1319
|
+
"delete": {
|
|
1320
|
+
"tags": [
|
|
1321
|
+
"EmployeeSystems"
|
|
1322
|
+
],
|
|
1323
|
+
"summary": "Revoke the employee's access to a system",
|
|
1324
|
+
"description": "Removes the Graph-level assignment that backs the system. SCIM-backed apps deactivate the user on the next sync.",
|
|
1325
|
+
"operationId": "RevokeEmployeeSystem",
|
|
1326
|
+
"parameters": [
|
|
1327
|
+
{
|
|
1328
|
+
"name": "upn",
|
|
1329
|
+
"in": "path",
|
|
1330
|
+
"required": true,
|
|
1331
|
+
"schema": {
|
|
1332
|
+
"type": "string"
|
|
1333
|
+
}
|
|
1334
|
+
},
|
|
1335
|
+
{
|
|
1336
|
+
"name": "systemKey",
|
|
1337
|
+
"in": "path",
|
|
1338
|
+
"required": true,
|
|
1339
|
+
"schema": {
|
|
1340
|
+
"type": "string"
|
|
1341
|
+
}
|
|
1342
|
+
}
|
|
1343
|
+
],
|
|
1344
|
+
"responses": {
|
|
1345
|
+
"200": {
|
|
1346
|
+
"description": "Payload of EmployeeSystemAccess",
|
|
1347
|
+
"content": {
|
|
1348
|
+
"application/json": {
|
|
1349
|
+
"schema": {
|
|
1350
|
+
"$ref": "#/components/schemas/employeeSystemAccess"
|
|
1351
|
+
}
|
|
1352
|
+
}
|
|
1353
|
+
},
|
|
1354
|
+
"x-ms-summary": "Success"
|
|
1355
|
+
},
|
|
1356
|
+
"401": {
|
|
1357
|
+
"description": "No description",
|
|
1358
|
+
"x-ms-summary": "Unauthorized"
|
|
1359
|
+
},
|
|
1360
|
+
"404": {
|
|
1361
|
+
"description": "No description",
|
|
1362
|
+
"x-ms-summary": "Unknown system or employee"
|
|
1363
|
+
},
|
|
1364
|
+
"501": {
|
|
1365
|
+
"description": "No description",
|
|
1366
|
+
"x-ms-summary": "System not configured in this environment"
|
|
1367
|
+
}
|
|
1368
|
+
},
|
|
1369
|
+
"security": [
|
|
1370
|
+
{
|
|
1371
|
+
"Implicit": [
|
|
1372
|
+
"api://b9f9de6f-132f-4a9a-a583-e9054a46f2fa/.default"
|
|
1373
|
+
]
|
|
1374
|
+
}
|
|
1375
|
+
]
|
|
1376
|
+
}
|
|
1377
|
+
},
|
|
1207
1378
|
"/v1.0/protected/candidates/{id}/notification-preview": {
|
|
1208
1379
|
"get": {
|
|
1209
1380
|
"tags": [
|
|
@@ -1878,6 +2049,26 @@
|
|
|
1878
2049
|
}
|
|
1879
2050
|
}
|
|
1880
2051
|
},
|
|
2052
|
+
"employeeSystemAccess": {
|
|
2053
|
+
"type": "object",
|
|
2054
|
+
"properties": {
|
|
2055
|
+
"key": {
|
|
2056
|
+
"type": "string"
|
|
2057
|
+
},
|
|
2058
|
+
"label": {
|
|
2059
|
+
"type": "string"
|
|
2060
|
+
},
|
|
2061
|
+
"assigned": {
|
|
2062
|
+
"type": "boolean"
|
|
2063
|
+
},
|
|
2064
|
+
"kind": {
|
|
2065
|
+
"type": "string"
|
|
2066
|
+
},
|
|
2067
|
+
"notImplemented": {
|
|
2068
|
+
"type": "boolean"
|
|
2069
|
+
}
|
|
2070
|
+
}
|
|
2071
|
+
},
|
|
1881
2072
|
"issueCandidatePinRequest": {
|
|
1882
2073
|
"type": "object",
|
|
1883
2074
|
"properties": {
|
|
@@ -1204,6 +1204,177 @@
|
|
|
1204
1204
|
]
|
|
1205
1205
|
}
|
|
1206
1206
|
},
|
|
1207
|
+
"/v1.0/protected/employees/{upn}/systems": {
|
|
1208
|
+
"get": {
|
|
1209
|
+
"tags": [
|
|
1210
|
+
"EmployeeSystems"
|
|
1211
|
+
],
|
|
1212
|
+
"summary": "List per-employee system access (Salesforce, …)",
|
|
1213
|
+
"description": "Returns the toggle state of each system the admin can grant or revoke for the employee. UI uses the list to render one column per registry entry.",
|
|
1214
|
+
"operationId": "ListEmployeeSystemAccess",
|
|
1215
|
+
"parameters": [
|
|
1216
|
+
{
|
|
1217
|
+
"name": "upn",
|
|
1218
|
+
"in": "path",
|
|
1219
|
+
"required": true,
|
|
1220
|
+
"schema": {
|
|
1221
|
+
"type": "string"
|
|
1222
|
+
},
|
|
1223
|
+
"x-ms-summary": "Employee UPN (work email)"
|
|
1224
|
+
}
|
|
1225
|
+
],
|
|
1226
|
+
"responses": {
|
|
1227
|
+
"200": {
|
|
1228
|
+
"description": "Payload of Array of EmployeeSystemAccess",
|
|
1229
|
+
"content": {
|
|
1230
|
+
"application/json": {
|
|
1231
|
+
"schema": {
|
|
1232
|
+
"type": "array",
|
|
1233
|
+
"items": {
|
|
1234
|
+
"$ref": "#/components/schemas/employeeSystemAccess"
|
|
1235
|
+
}
|
|
1236
|
+
}
|
|
1237
|
+
}
|
|
1238
|
+
},
|
|
1239
|
+
"x-ms-summary": "Success"
|
|
1240
|
+
},
|
|
1241
|
+
"401": {
|
|
1242
|
+
"description": "No description",
|
|
1243
|
+
"x-ms-summary": "Unauthorized"
|
|
1244
|
+
},
|
|
1245
|
+
"404": {
|
|
1246
|
+
"description": "No description",
|
|
1247
|
+
"x-ms-summary": "Employee not found in Entra"
|
|
1248
|
+
}
|
|
1249
|
+
},
|
|
1250
|
+
"security": [
|
|
1251
|
+
{
|
|
1252
|
+
"Implicit": [
|
|
1253
|
+
"api://050da74a-523f-48ba-a9de-e5c8d6805a93/.default"
|
|
1254
|
+
]
|
|
1255
|
+
}
|
|
1256
|
+
]
|
|
1257
|
+
}
|
|
1258
|
+
},
|
|
1259
|
+
"/v1.0/protected/employees/{upn}/systems/{systemKey}": {
|
|
1260
|
+
"post": {
|
|
1261
|
+
"tags": [
|
|
1262
|
+
"EmployeeSystems"
|
|
1263
|
+
],
|
|
1264
|
+
"summary": "Grant the employee access to a system",
|
|
1265
|
+
"description": "Triggers the Graph call that backs the system (today: app-role assignment on the matching Enterprise App SP). SCIM-backed apps then provision automatically.",
|
|
1266
|
+
"operationId": "AssignEmployeeSystem",
|
|
1267
|
+
"parameters": [
|
|
1268
|
+
{
|
|
1269
|
+
"name": "upn",
|
|
1270
|
+
"in": "path",
|
|
1271
|
+
"required": true,
|
|
1272
|
+
"schema": {
|
|
1273
|
+
"type": "string"
|
|
1274
|
+
}
|
|
1275
|
+
},
|
|
1276
|
+
{
|
|
1277
|
+
"name": "systemKey",
|
|
1278
|
+
"in": "path",
|
|
1279
|
+
"required": true,
|
|
1280
|
+
"schema": {
|
|
1281
|
+
"type": "string"
|
|
1282
|
+
},
|
|
1283
|
+
"x-ms-summary": "Stable system key (e.g. \"salesforce\")"
|
|
1284
|
+
}
|
|
1285
|
+
],
|
|
1286
|
+
"responses": {
|
|
1287
|
+
"200": {
|
|
1288
|
+
"description": "Payload of EmployeeSystemAccess",
|
|
1289
|
+
"content": {
|
|
1290
|
+
"application/json": {
|
|
1291
|
+
"schema": {
|
|
1292
|
+
"$ref": "#/components/schemas/employeeSystemAccess"
|
|
1293
|
+
}
|
|
1294
|
+
}
|
|
1295
|
+
},
|
|
1296
|
+
"x-ms-summary": "Success"
|
|
1297
|
+
},
|
|
1298
|
+
"401": {
|
|
1299
|
+
"description": "No description",
|
|
1300
|
+
"x-ms-summary": "Unauthorized"
|
|
1301
|
+
},
|
|
1302
|
+
"404": {
|
|
1303
|
+
"description": "No description",
|
|
1304
|
+
"x-ms-summary": "Unknown system or employee"
|
|
1305
|
+
},
|
|
1306
|
+
"501": {
|
|
1307
|
+
"description": "No description",
|
|
1308
|
+
"x-ms-summary": "System not configured in this environment"
|
|
1309
|
+
}
|
|
1310
|
+
},
|
|
1311
|
+
"security": [
|
|
1312
|
+
{
|
|
1313
|
+
"Implicit": [
|
|
1314
|
+
"api://050da74a-523f-48ba-a9de-e5c8d6805a93/.default"
|
|
1315
|
+
]
|
|
1316
|
+
}
|
|
1317
|
+
]
|
|
1318
|
+
},
|
|
1319
|
+
"delete": {
|
|
1320
|
+
"tags": [
|
|
1321
|
+
"EmployeeSystems"
|
|
1322
|
+
],
|
|
1323
|
+
"summary": "Revoke the employee's access to a system",
|
|
1324
|
+
"description": "Removes the Graph-level assignment that backs the system. SCIM-backed apps deactivate the user on the next sync.",
|
|
1325
|
+
"operationId": "RevokeEmployeeSystem",
|
|
1326
|
+
"parameters": [
|
|
1327
|
+
{
|
|
1328
|
+
"name": "upn",
|
|
1329
|
+
"in": "path",
|
|
1330
|
+
"required": true,
|
|
1331
|
+
"schema": {
|
|
1332
|
+
"type": "string"
|
|
1333
|
+
}
|
|
1334
|
+
},
|
|
1335
|
+
{
|
|
1336
|
+
"name": "systemKey",
|
|
1337
|
+
"in": "path",
|
|
1338
|
+
"required": true,
|
|
1339
|
+
"schema": {
|
|
1340
|
+
"type": "string"
|
|
1341
|
+
}
|
|
1342
|
+
}
|
|
1343
|
+
],
|
|
1344
|
+
"responses": {
|
|
1345
|
+
"200": {
|
|
1346
|
+
"description": "Payload of EmployeeSystemAccess",
|
|
1347
|
+
"content": {
|
|
1348
|
+
"application/json": {
|
|
1349
|
+
"schema": {
|
|
1350
|
+
"$ref": "#/components/schemas/employeeSystemAccess"
|
|
1351
|
+
}
|
|
1352
|
+
}
|
|
1353
|
+
},
|
|
1354
|
+
"x-ms-summary": "Success"
|
|
1355
|
+
},
|
|
1356
|
+
"401": {
|
|
1357
|
+
"description": "No description",
|
|
1358
|
+
"x-ms-summary": "Unauthorized"
|
|
1359
|
+
},
|
|
1360
|
+
"404": {
|
|
1361
|
+
"description": "No description",
|
|
1362
|
+
"x-ms-summary": "Unknown system or employee"
|
|
1363
|
+
},
|
|
1364
|
+
"501": {
|
|
1365
|
+
"description": "No description",
|
|
1366
|
+
"x-ms-summary": "System not configured in this environment"
|
|
1367
|
+
}
|
|
1368
|
+
},
|
|
1369
|
+
"security": [
|
|
1370
|
+
{
|
|
1371
|
+
"Implicit": [
|
|
1372
|
+
"api://050da74a-523f-48ba-a9de-e5c8d6805a93/.default"
|
|
1373
|
+
]
|
|
1374
|
+
}
|
|
1375
|
+
]
|
|
1376
|
+
}
|
|
1377
|
+
},
|
|
1207
1378
|
"/v1.0/protected/candidates/{id}/notification-preview": {
|
|
1208
1379
|
"get": {
|
|
1209
1380
|
"tags": [
|
|
@@ -1878,6 +2049,26 @@
|
|
|
1878
2049
|
}
|
|
1879
2050
|
}
|
|
1880
2051
|
},
|
|
2052
|
+
"employeeSystemAccess": {
|
|
2053
|
+
"type": "object",
|
|
2054
|
+
"properties": {
|
|
2055
|
+
"key": {
|
|
2056
|
+
"type": "string"
|
|
2057
|
+
},
|
|
2058
|
+
"label": {
|
|
2059
|
+
"type": "string"
|
|
2060
|
+
},
|
|
2061
|
+
"assigned": {
|
|
2062
|
+
"type": "boolean"
|
|
2063
|
+
},
|
|
2064
|
+
"kind": {
|
|
2065
|
+
"type": "string"
|
|
2066
|
+
},
|
|
2067
|
+
"notImplemented": {
|
|
2068
|
+
"type": "boolean"
|
|
2069
|
+
}
|
|
2070
|
+
}
|
|
2071
|
+
},
|
|
1881
2072
|
"issueCandidatePinRequest": {
|
|
1882
2073
|
"type": "object",
|
|
1883
2074
|
"properties": {
|