@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": "Notifications Function",
5
- "description": "Cron jobs that checks e.g annual wheel and Doffin and posts to Slack",
4
+ "title": "Notifications API",
5
+ "description": "Notification hub service",
6
6
  "version": "v1.0.0"
7
7
  },
8
8
  "servers": [
@@ -39,7 +39,7 @@
39
39
  "security": [
40
40
  {
41
41
  "Implicit": [
42
- "api://000b05c4-1c46-4ea7-bcf6-e8d17bc1838c/user_impersonation"
42
+ "api://46c59afb-0021-439b-a56c-6e29d39f2c7a/.default"
43
43
  ]
44
44
  }
45
45
  ]
@@ -62,7 +62,7 @@
62
62
  "security": [
63
63
  {
64
64
  "Implicit": [
65
- "api://000b05c4-1c46-4ea7-bcf6-e8d17bc1838c/user_impersonation"
65
+ "api://46c59afb-0021-439b-a56c-6e29d39f2c7a/.default"
66
66
  ]
67
67
  }
68
68
  ]
@@ -96,7 +96,7 @@
96
96
  "security": [
97
97
  {
98
98
  "Implicit": [
99
- "api://000b05c4-1c46-4ea7-bcf6-e8d17bc1838c/user_impersonation"
99
+ "api://46c59afb-0021-439b-a56c-6e29d39f2c7a/.default"
100
100
  ]
101
101
  }
102
102
  ]
@@ -130,7 +130,7 @@
130
130
  "security": [
131
131
  {
132
132
  "Implicit": [
133
- "api://000b05c4-1c46-4ea7-bcf6-e8d17bc1838c/user_impersonation"
133
+ "api://46c59afb-0021-439b-a56c-6e29d39f2c7a/.default"
134
134
  ]
135
135
  }
136
136
  ]
@@ -164,7 +164,7 @@
164
164
  "security": [
165
165
  {
166
166
  "Implicit": [
167
- "api://000b05c4-1c46-4ea7-bcf6-e8d17bc1838c/user_impersonation"
167
+ "api://46c59afb-0021-439b-a56c-6e29d39f2c7a/.default"
168
168
  ]
169
169
  }
170
170
  ]
@@ -198,7 +198,7 @@
198
198
  "security": [
199
199
  {
200
200
  "Implicit": [
201
- "api://000b05c4-1c46-4ea7-bcf6-e8d17bc1838c/user_impersonation"
201
+ "api://46c59afb-0021-439b-a56c-6e29d39f2c7a/.default"
202
202
  ]
203
203
  }
204
204
  ]
@@ -232,7 +232,7 @@
232
232
  "security": [
233
233
  {
234
234
  "Implicit": [
235
- "api://000b05c4-1c46-4ea7-bcf6-e8d17bc1838c/user_impersonation"
235
+ "api://46c59afb-0021-439b-a56c-6e29d39f2c7a/.default"
236
236
  ]
237
237
  }
238
238
  ]
@@ -400,7 +400,7 @@
400
400
  "tokenUrl": "https://login.microsoftonline.com/81a4f38d-6712-4b65-868b-c3771f9ba91e/oauth2/v2.0/token",
401
401
  "refreshUrl": "https://login.microsoftonline.com/81a4f38d-6712-4b65-868b-c3771f9ba91e/oauth2/v2.0/token",
402
402
  "scopes": {
403
- "api://000b05c4-1c46-4ea7-bcf6-e8d17bc1838c/user_impersonation": "Default function scope"
403
+ "api://46c59afb-0021-439b-a56c-6e29d39f2c7a/.default": "Default function scope"
404
404
  }
405
405
  }
406
406
  }
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "openapi": "3.0.1",
3
3
  "info": {
4
- "title": "Office Function",
5
- "description": "Service to control hardware, e.g lights, sound and TV at the office",
4
+ "title": "Office API",
5
+ "description": "Office automation service",
6
6
  "version": "v1.0.0"
7
7
  },
8
8
  "servers": [
@@ -865,7 +865,7 @@
865
865
  "security": [
866
866
  {
867
867
  "Implicit": [
868
- "api://765833d0-105c-45e6-8fcf-4ba48d77b428/user_impersonation"
868
+ "api://a22d20e1-7d88-4eee-9ddc-5422cc559d76/.default"
869
869
  ]
870
870
  }
871
871
  ]
@@ -1974,7 +1974,7 @@
1974
1974
  "tokenUrl": "https://login.microsoftonline.com/81a4f38d-6712-4b65-868b-c3771f9ba91e/oauth2/v2.0/token",
1975
1975
  "refreshUrl": "https://login.microsoftonline.com/81a4f38d-6712-4b65-868b-c3771f9ba91e/oauth2/v2.0/token",
1976
1976
  "scopes": {
1977
- "api://765833d0-105c-45e6-8fcf-4ba48d77b428/user_impersonation": "Default function scope"
1977
+ "api://a22d20e1-7d88-4eee-9ddc-5422cc559d76/.default": "Default function scope"
1978
1978
  }
1979
1979
  }
1980
1980
  }
@@ -0,0 +1,39 @@
1
+ {
2
+ "openapi": "3.0.1",
3
+ "info": {
4
+ "title": "Recruitment API",
5
+ "description": "Recruitment management API",
6
+ "version": "v1.0.0"
7
+ },
8
+ "servers": [
9
+ {
10
+ "url": "https://recruitment.api.snokam.no"
11
+ }
12
+ ],
13
+ "paths": {
14
+ "/v1.0/GetHealth": {
15
+ "get": {
16
+ "tags": [
17
+ "Health"
18
+ ],
19
+ "summary": "Health check",
20
+ "description": "Returns a health check response.",
21
+ "operationId": "GetHealth",
22
+ "responses": {
23
+ "200": {
24
+ "description": "Service is healthy",
25
+ "content": {
26
+ "application/json": {
27
+ "schema": {
28
+ "type": "object"
29
+ }
30
+ }
31
+ },
32
+ "x-ms-summary": "Success"
33
+ }
34
+ }
35
+ }
36
+ }
37
+ },
38
+ "components": {}
39
+ }
@@ -0,0 +1,39 @@
1
+ {
2
+ "openapi": "3.0.1",
3
+ "info": {
4
+ "title": "Sales API",
5
+ "description": "Sales management API",
6
+ "version": "v1.0.0"
7
+ },
8
+ "servers": [
9
+ {
10
+ "url": "https://sales.api.snokam.no"
11
+ }
12
+ ],
13
+ "paths": {
14
+ "/v1.0/GetHealth": {
15
+ "get": {
16
+ "tags": [
17
+ "Health"
18
+ ],
19
+ "summary": "Health check",
20
+ "description": "Returns a health check response.",
21
+ "operationId": "GetHealth",
22
+ "responses": {
23
+ "200": {
24
+ "description": "Service is healthy",
25
+ "content": {
26
+ "application/json": {
27
+ "schema": {
28
+ "type": "object"
29
+ }
30
+ }
31
+ },
32
+ "x-ms-summary": "Success"
33
+ }
34
+ }
35
+ }
36
+ }
37
+ },
38
+ "components": {}
39
+ }