@snokam/mcp-api 0.77.0 → 0.79.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
|
@@ -1204,6 +1204,53 @@
|
|
|
1204
1204
|
]
|
|
1205
1205
|
}
|
|
1206
1206
|
},
|
|
1207
|
+
"/v1.0/protected/employees/systems-batch": {
|
|
1208
|
+
"post": {
|
|
1209
|
+
"tags": [
|
|
1210
|
+
"EmployeeSystems"
|
|
1211
|
+
],
|
|
1212
|
+
"summary": "Bulk list per-employee system access for a set of UPNs",
|
|
1213
|
+
"description": "/ansatte renders one row per employee with a checkbox per registered system. This batch endpoint resolves them all in a single backend roundtrip — fans out N parallel Graph calls server-side instead of N round-trips from the browser.",
|
|
1214
|
+
"operationId": "ListEmployeeSystemAccessBatch",
|
|
1215
|
+
"requestBody": {
|
|
1216
|
+
"content": {
|
|
1217
|
+
"application/json": {
|
|
1218
|
+
"schema": {
|
|
1219
|
+
"$ref": "#/components/schemas/listEmployeeSystemAccessBatchRequest"
|
|
1220
|
+
}
|
|
1221
|
+
}
|
|
1222
|
+
},
|
|
1223
|
+
"required": true
|
|
1224
|
+
},
|
|
1225
|
+
"responses": {
|
|
1226
|
+
"200": {
|
|
1227
|
+
"description": "Payload of Array of EmployeeSystemAccessRow",
|
|
1228
|
+
"content": {
|
|
1229
|
+
"application/json": {
|
|
1230
|
+
"schema": {
|
|
1231
|
+
"type": "array",
|
|
1232
|
+
"items": {
|
|
1233
|
+
"$ref": "#/components/schemas/employeeSystemAccessRow"
|
|
1234
|
+
}
|
|
1235
|
+
}
|
|
1236
|
+
}
|
|
1237
|
+
},
|
|
1238
|
+
"x-ms-summary": "Success"
|
|
1239
|
+
},
|
|
1240
|
+
"401": {
|
|
1241
|
+
"description": "No description",
|
|
1242
|
+
"x-ms-summary": "Unauthorized"
|
|
1243
|
+
}
|
|
1244
|
+
},
|
|
1245
|
+
"security": [
|
|
1246
|
+
{
|
|
1247
|
+
"Implicit": [
|
|
1248
|
+
"api://b9f9de6f-132f-4a9a-a583-e9054a46f2fa/.default"
|
|
1249
|
+
]
|
|
1250
|
+
}
|
|
1251
|
+
]
|
|
1252
|
+
}
|
|
1253
|
+
},
|
|
1207
1254
|
"/v1.0/protected/employees/{upn}/systems": {
|
|
1208
1255
|
"get": {
|
|
1209
1256
|
"tags": [
|
|
@@ -2069,6 +2116,20 @@
|
|
|
2069
2116
|
}
|
|
2070
2117
|
}
|
|
2071
2118
|
},
|
|
2119
|
+
"employeeSystemAccessRow": {
|
|
2120
|
+
"type": "object",
|
|
2121
|
+
"properties": {
|
|
2122
|
+
"upn": {
|
|
2123
|
+
"type": "string"
|
|
2124
|
+
},
|
|
2125
|
+
"systems": {
|
|
2126
|
+
"type": "array",
|
|
2127
|
+
"items": {
|
|
2128
|
+
"$ref": "#/components/schemas/employeeSystemAccess"
|
|
2129
|
+
}
|
|
2130
|
+
}
|
|
2131
|
+
}
|
|
2132
|
+
},
|
|
2072
2133
|
"issueCandidatePinRequest": {
|
|
2073
2134
|
"type": "object",
|
|
2074
2135
|
"properties": {
|
|
@@ -2095,6 +2156,17 @@
|
|
|
2095
2156
|
}
|
|
2096
2157
|
}
|
|
2097
2158
|
},
|
|
2159
|
+
"listEmployeeSystemAccessBatchRequest": {
|
|
2160
|
+
"type": "object",
|
|
2161
|
+
"properties": {
|
|
2162
|
+
"upns": {
|
|
2163
|
+
"type": "array",
|
|
2164
|
+
"items": {
|
|
2165
|
+
"type": "string"
|
|
2166
|
+
}
|
|
2167
|
+
}
|
|
2168
|
+
}
|
|
2169
|
+
},
|
|
2098
2170
|
"onboardingResult": {
|
|
2099
2171
|
"type": "object",
|
|
2100
2172
|
"properties": {
|
|
@@ -1204,6 +1204,53 @@
|
|
|
1204
1204
|
]
|
|
1205
1205
|
}
|
|
1206
1206
|
},
|
|
1207
|
+
"/v1.0/protected/employees/systems-batch": {
|
|
1208
|
+
"post": {
|
|
1209
|
+
"tags": [
|
|
1210
|
+
"EmployeeSystems"
|
|
1211
|
+
],
|
|
1212
|
+
"summary": "Bulk list per-employee system access for a set of UPNs",
|
|
1213
|
+
"description": "/ansatte renders one row per employee with a checkbox per registered system. This batch endpoint resolves them all in a single backend roundtrip — fans out N parallel Graph calls server-side instead of N round-trips from the browser.",
|
|
1214
|
+
"operationId": "ListEmployeeSystemAccessBatch",
|
|
1215
|
+
"requestBody": {
|
|
1216
|
+
"content": {
|
|
1217
|
+
"application/json": {
|
|
1218
|
+
"schema": {
|
|
1219
|
+
"$ref": "#/components/schemas/listEmployeeSystemAccessBatchRequest"
|
|
1220
|
+
}
|
|
1221
|
+
}
|
|
1222
|
+
},
|
|
1223
|
+
"required": true
|
|
1224
|
+
},
|
|
1225
|
+
"responses": {
|
|
1226
|
+
"200": {
|
|
1227
|
+
"description": "Payload of Array of EmployeeSystemAccessRow",
|
|
1228
|
+
"content": {
|
|
1229
|
+
"application/json": {
|
|
1230
|
+
"schema": {
|
|
1231
|
+
"type": "array",
|
|
1232
|
+
"items": {
|
|
1233
|
+
"$ref": "#/components/schemas/employeeSystemAccessRow"
|
|
1234
|
+
}
|
|
1235
|
+
}
|
|
1236
|
+
}
|
|
1237
|
+
},
|
|
1238
|
+
"x-ms-summary": "Success"
|
|
1239
|
+
},
|
|
1240
|
+
"401": {
|
|
1241
|
+
"description": "No description",
|
|
1242
|
+
"x-ms-summary": "Unauthorized"
|
|
1243
|
+
}
|
|
1244
|
+
},
|
|
1245
|
+
"security": [
|
|
1246
|
+
{
|
|
1247
|
+
"Implicit": [
|
|
1248
|
+
"api://050da74a-523f-48ba-a9de-e5c8d6805a93/.default"
|
|
1249
|
+
]
|
|
1250
|
+
}
|
|
1251
|
+
]
|
|
1252
|
+
}
|
|
1253
|
+
},
|
|
1207
1254
|
"/v1.0/protected/employees/{upn}/systems": {
|
|
1208
1255
|
"get": {
|
|
1209
1256
|
"tags": [
|
|
@@ -2069,6 +2116,20 @@
|
|
|
2069
2116
|
}
|
|
2070
2117
|
}
|
|
2071
2118
|
},
|
|
2119
|
+
"employeeSystemAccessRow": {
|
|
2120
|
+
"type": "object",
|
|
2121
|
+
"properties": {
|
|
2122
|
+
"upn": {
|
|
2123
|
+
"type": "string"
|
|
2124
|
+
},
|
|
2125
|
+
"systems": {
|
|
2126
|
+
"type": "array",
|
|
2127
|
+
"items": {
|
|
2128
|
+
"$ref": "#/components/schemas/employeeSystemAccess"
|
|
2129
|
+
}
|
|
2130
|
+
}
|
|
2131
|
+
}
|
|
2132
|
+
},
|
|
2072
2133
|
"issueCandidatePinRequest": {
|
|
2073
2134
|
"type": "object",
|
|
2074
2135
|
"properties": {
|
|
@@ -2095,6 +2156,17 @@
|
|
|
2095
2156
|
}
|
|
2096
2157
|
}
|
|
2097
2158
|
},
|
|
2159
|
+
"listEmployeeSystemAccessBatchRequest": {
|
|
2160
|
+
"type": "object",
|
|
2161
|
+
"properties": {
|
|
2162
|
+
"upns": {
|
|
2163
|
+
"type": "array",
|
|
2164
|
+
"items": {
|
|
2165
|
+
"type": "string"
|
|
2166
|
+
}
|
|
2167
|
+
}
|
|
2168
|
+
}
|
|
2169
|
+
},
|
|
2098
2170
|
"onboardingResult": {
|
|
2099
2171
|
"type": "object",
|
|
2100
2172
|
"properties": {
|