@snokam/mcp-api 0.85.1 → 0.87.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.85.1",
3
+ "version": "0.87.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": {
@@ -544,6 +544,40 @@
544
544
  ]
545
545
  }
546
546
  },
547
+ "/v1.0/protected/license-availability": {
548
+ "get": {
549
+ "tags": [
550
+ "Systems"
551
+ ],
552
+ "summary": "Available Microsoft 365 seats for the configured onboarding SKU",
553
+ "description": "Reads /subscribedSkus and returns enabled / consumed counts for the M365_LICENSE_SKU_ID configured for the onboarding chain. The admin UI uses this to surface a 'buy more licenses' prompt before running the chain — Graph has no purchase API.",
554
+ "operationId": "GetLicenseAvailability",
555
+ "responses": {
556
+ "200": {
557
+ "description": "Payload of LicenseAvailability",
558
+ "content": {
559
+ "application/json": {
560
+ "schema": {
561
+ "$ref": "#/components/schemas/licenseAvailability"
562
+ }
563
+ }
564
+ },
565
+ "x-ms-summary": "Success"
566
+ },
567
+ "401": {
568
+ "description": "No description",
569
+ "x-ms-summary": "Unauthorized"
570
+ }
571
+ },
572
+ "security": [
573
+ {
574
+ "Implicit": [
575
+ "api://b9f9de6f-132f-4a9a-a583-e9054a46f2fa/.default"
576
+ ]
577
+ }
578
+ ]
579
+ }
580
+ },
547
581
  "/v1.0/protected/onboarding-tasks": {
548
582
  "get": {
549
583
  "tags": [
@@ -2156,6 +2190,32 @@
2156
2190
  }
2157
2191
  }
2158
2192
  },
2193
+ "licenseAvailability": {
2194
+ "type": "object",
2195
+ "properties": {
2196
+ "skuId": {
2197
+ "type": "string"
2198
+ },
2199
+ "skuPartNumber": {
2200
+ "type": "string"
2201
+ },
2202
+ "enabled": {
2203
+ "type": "integer",
2204
+ "format": "int32"
2205
+ },
2206
+ "consumed": {
2207
+ "type": "integer",
2208
+ "format": "int32"
2209
+ },
2210
+ "available": {
2211
+ "type": "integer",
2212
+ "format": "int32"
2213
+ },
2214
+ "isConfigured": {
2215
+ "type": "boolean"
2216
+ }
2217
+ }
2218
+ },
2159
2219
  "listEmployeeSystemAccessBatchRequest": {
2160
2220
  "type": "object",
2161
2221
  "properties": {
@@ -544,6 +544,40 @@
544
544
  ]
545
545
  }
546
546
  },
547
+ "/v1.0/protected/license-availability": {
548
+ "get": {
549
+ "tags": [
550
+ "Systems"
551
+ ],
552
+ "summary": "Available Microsoft 365 seats for the configured onboarding SKU",
553
+ "description": "Reads /subscribedSkus and returns enabled / consumed counts for the M365_LICENSE_SKU_ID configured for the onboarding chain. The admin UI uses this to surface a 'buy more licenses' prompt before running the chain — Graph has no purchase API.",
554
+ "operationId": "GetLicenseAvailability",
555
+ "responses": {
556
+ "200": {
557
+ "description": "Payload of LicenseAvailability",
558
+ "content": {
559
+ "application/json": {
560
+ "schema": {
561
+ "$ref": "#/components/schemas/licenseAvailability"
562
+ }
563
+ }
564
+ },
565
+ "x-ms-summary": "Success"
566
+ },
567
+ "401": {
568
+ "description": "No description",
569
+ "x-ms-summary": "Unauthorized"
570
+ }
571
+ },
572
+ "security": [
573
+ {
574
+ "Implicit": [
575
+ "api://050da74a-523f-48ba-a9de-e5c8d6805a93/.default"
576
+ ]
577
+ }
578
+ ]
579
+ }
580
+ },
547
581
  "/v1.0/protected/onboarding-tasks": {
548
582
  "get": {
549
583
  "tags": [
@@ -2156,6 +2190,32 @@
2156
2190
  }
2157
2191
  }
2158
2192
  },
2193
+ "licenseAvailability": {
2194
+ "type": "object",
2195
+ "properties": {
2196
+ "skuId": {
2197
+ "type": "string"
2198
+ },
2199
+ "skuPartNumber": {
2200
+ "type": "string"
2201
+ },
2202
+ "enabled": {
2203
+ "type": "integer",
2204
+ "format": "int32"
2205
+ },
2206
+ "consumed": {
2207
+ "type": "integer",
2208
+ "format": "int32"
2209
+ },
2210
+ "available": {
2211
+ "type": "integer",
2212
+ "format": "int32"
2213
+ },
2214
+ "isConfigured": {
2215
+ "type": "boolean"
2216
+ }
2217
+ }
2218
+ },
2159
2219
  "listEmployeeSystemAccessBatchRequest": {
2160
2220
  "type": "object",
2161
2221
  "properties": {