@snokam/mcp-api 0.9.0 → 0.11.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.
Files changed (35) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/dist/index.js +35 -2
  3. package/dist/openapi-loader.d.ts +5 -0
  4. package/dist/openapi-loader.js +15 -0
  5. package/package.json +1 -1
  6. package/specs/production/accounting.json +5161 -527
  7. package/specs/production/broker.json +2 -2
  8. package/specs/production/chatgpt.json +21 -17
  9. package/specs/production/employees.json +350 -353
  10. package/specs/production/events.json +260 -176
  11. package/specs/production/notifications.json +10 -10
  12. package/specs/production/office.json +4 -4
  13. package/specs/production/recruitment.json +39 -0
  14. package/specs/production/sales.json +39 -0
  15. package/specs/production/sanity.json +127 -150
  16. package/specs/production/sync.json +181 -0
  17. package/specs/production/webshop.json +10 -10
  18. package/specs/test/accounting.json +5161 -527
  19. package/specs/test/broker.json +2 -2
  20. package/specs/test/chatgpt.json +21 -17
  21. package/specs/test/employees.json +350 -353
  22. package/specs/test/events.json +260 -176
  23. package/specs/test/notifications.json +10 -10
  24. package/specs/test/office.json +1984 -0
  25. package/specs/test/recruitment.json +39 -0
  26. package/specs/test/sales.json +39 -0
  27. package/specs/test/sanity.json +127 -150
  28. package/specs/test/sync.json +181 -0
  29. package/specs/test/webshop.json +10 -10
  30. package/specs/production/calculators.json +0 -1523
  31. package/specs/production/crypto.json +0 -1998
  32. package/specs/production/power-office.json +0 -2383
  33. package/specs/test/calculators.json +0 -1523
  34. package/specs/test/crypto.json +0 -1998
  35. package/specs/test/power-office.json +0 -2383
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "openapi": "3.0.1",
3
3
  "info": {
4
- "title": "Broker Function",
5
- "description": "Message broker for Sanity events (Webhook) to Azure Service Bus / PubSub",
4
+ "title": "Broker API",
5
+ "description": "Event broker for Sanity webhooks",
6
6
  "version": "v1.0.0"
7
7
  },
8
8
  "servers": [
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "openapi": "3.0.4",
3
3
  "info": {
4
- "title": "ChatGPT Function",
5
- "description": "Backend for Azure OpenAI integrations",
4
+ "title": "ChatGPT API",
5
+ "description": "Azure OpenAI integrations",
6
6
  "version": "v1.0.0"
7
7
  },
8
8
  "servers": [
@@ -133,7 +133,7 @@
133
133
  "security": [
134
134
  {
135
135
  "Implicit": [
136
- "api://1cb6ee2c-d1ef-4a71-b341-b8b79c272f22/user_impersonation"
136
+ "api://d6cb18a1-4d6c-4d6c-943f-92a97b39e5da/.default"
137
137
  ]
138
138
  }
139
139
  ]
@@ -186,7 +186,7 @@
186
186
  "security": [
187
187
  {
188
188
  "Implicit": [
189
- "api://1cb6ee2c-d1ef-4a71-b341-b8b79c272f22/user_impersonation"
189
+ "api://d6cb18a1-4d6c-4d6c-943f-92a97b39e5da/.default"
190
190
  ]
191
191
  }
192
192
  ]
@@ -250,7 +250,7 @@
250
250
  "security": [
251
251
  {
252
252
  "Implicit": [
253
- "api://1cb6ee2c-d1ef-4a71-b341-b8b79c272f22/user_impersonation"
253
+ "api://d6cb18a1-4d6c-4d6c-943f-92a97b39e5da/.default"
254
254
  ]
255
255
  }
256
256
  ]
@@ -307,7 +307,7 @@
307
307
  "security": [
308
308
  {
309
309
  "Implicit": [
310
- "api://1cb6ee2c-d1ef-4a71-b341-b8b79c272f22/user_impersonation"
310
+ "api://d6cb18a1-4d6c-4d6c-943f-92a97b39e5da/.default"
311
311
  ]
312
312
  }
313
313
  ]
@@ -589,8 +589,8 @@
589
589
  "tags": [
590
590
  "Realtime"
591
591
  ],
592
- "summary": "Get ephemeral token for GPT-4o realtime session",
593
- "description": "Starts a new ephemeral realtime session with OpenAI GPT-4o. Use `agent` query param to switch assistant behavior.",
592
+ "summary": "Get ephemeral token for Azure OpenAI realtime session",
593
+ "description": "Returns Azure OpenAI connection details for a realtime session. Use `agent` query param to switch assistant behavior.",
594
594
  "operationId": "GetEphemeralToken",
595
595
  "parameters": [
596
596
  {
@@ -607,7 +607,7 @@
607
607
  "schema": {
608
608
  "type": "string"
609
609
  },
610
- "x-ms-summary": "OpenAI voice (e.g. 'ash', 'alloy')"
610
+ "x-ms-summary": "Voice (e.g. 'ash', 'alloy')"
611
611
  }
612
612
  ],
613
613
  "responses": {
@@ -709,7 +709,7 @@
709
709
  "security": [
710
710
  {
711
711
  "Implicit": [
712
- "api://1cb6ee2c-d1ef-4a71-b341-b8b79c272f22/user_impersonation"
712
+ "api://d6cb18a1-4d6c-4d6c-943f-92a97b39e5da/.default"
713
713
  ]
714
714
  }
715
715
  ]
@@ -771,7 +771,7 @@
771
771
  "security": [
772
772
  {
773
773
  "Implicit": [
774
- "api://1cb6ee2c-d1ef-4a71-b341-b8b79c272f22/user_impersonation"
774
+ "api://d6cb18a1-4d6c-4d6c-943f-92a97b39e5da/.default"
775
775
  ]
776
776
  }
777
777
  ]
@@ -835,7 +835,7 @@
835
835
  "security": [
836
836
  {
837
837
  "Implicit": [
838
- "api://1cb6ee2c-d1ef-4a71-b341-b8b79c272f22/user_impersonation"
838
+ "api://d6cb18a1-4d6c-4d6c-943f-92a97b39e5da/.default"
839
839
  ]
840
840
  }
841
841
  ]
@@ -897,7 +897,7 @@
897
897
  "security": [
898
898
  {
899
899
  "Implicit": [
900
- "api://1cb6ee2c-d1ef-4a71-b341-b8b79c272f22/user_impersonation"
900
+ "api://d6cb18a1-4d6c-4d6c-943f-92a97b39e5da/.default"
901
901
  ]
902
902
  }
903
903
  ]
@@ -959,7 +959,7 @@
959
959
  "security": [
960
960
  {
961
961
  "Implicit": [
962
- "api://1cb6ee2c-d1ef-4a71-b341-b8b79c272f22/user_impersonation"
962
+ "api://d6cb18a1-4d6c-4d6c-943f-92a97b39e5da/.default"
963
963
  ]
964
964
  }
965
965
  ]
@@ -996,10 +996,10 @@
996
996
  "azureBlobStorageCredentials": {
997
997
  "type": "object",
998
998
  "properties": {
999
- "sasToken": {
999
+ "blobUrl": {
1000
1000
  "type": "string"
1001
1001
  },
1002
- "blobUrl": {
1002
+ "sasToken": {
1003
1003
  "type": "string"
1004
1004
  },
1005
1005
  "additionalProperties": {
@@ -1452,6 +1452,10 @@
1452
1452
  "client_secret": {
1453
1453
  "$ref": "#/components/schemas/clientSecret"
1454
1454
  },
1455
+ "realtime_url": {
1456
+ "type": "string",
1457
+ "nullable": true
1458
+ },
1455
1459
  "include": {
1456
1460
  "type": "object",
1457
1461
  "nullable": true
@@ -1645,7 +1649,7 @@
1645
1649
  "tokenUrl": "https://login.microsoftonline.com/a8533784-aa3c-403b-a61a-1533ecc6e3ed/oauth2/v2.0/token",
1646
1650
  "refreshUrl": "https://login.microsoftonline.com/a8533784-aa3c-403b-a61a-1533ecc6e3ed/oauth2/v2.0/token",
1647
1651
  "scopes": {
1648
- "api://1cb6ee2c-d1ef-4a71-b341-b8b79c272f22/user_impersonation": "Default function scope"
1652
+ "api://d6cb18a1-4d6c-4d6c-943f-92a97b39e5da/.default": "Default function scope"
1649
1653
  }
1650
1654
  }
1651
1655
  }