@snokam/mcp-api 0.106.0 → 0.106.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snokam/mcp-api",
3
- "version": "0.106.0",
3
+ "version": "0.106.2",
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": {
@@ -682,6 +682,44 @@
682
682
  ]
683
683
  }
684
684
  },
685
+ "/v1.0/protected/health/{provider}": {
686
+ "get": {
687
+ "tags": [
688
+ "Health"
689
+ ],
690
+ "summary": "Checks an integration's connectivity",
691
+ "operationId": "AccountingIntegrationHealth",
692
+ "parameters": [
693
+ {
694
+ "name": "provider",
695
+ "in": "path",
696
+ "required": true,
697
+ "schema": {
698
+ "type": "string"
699
+ }
700
+ }
701
+ ],
702
+ "responses": {
703
+ "200": {
704
+ "description": "Health result",
705
+ "content": {
706
+ "application/json": {
707
+ "schema": {
708
+ "$ref": "#/components/schemas/integrationHealthResult"
709
+ }
710
+ }
711
+ }
712
+ }
713
+ },
714
+ "security": [
715
+ {
716
+ "Implicit": [
717
+ "api://d4c9a93b-4b90-4101-8e06-8b50a9e28ed3/.default"
718
+ ]
719
+ }
720
+ ]
721
+ }
722
+ },
685
723
  "/v1.0/hours/last-month/me": {
686
724
  "get": {
687
725
  "tags": [
@@ -3607,6 +3645,20 @@
3607
3645
  }
3608
3646
  }
3609
3647
  },
3648
+ "integrationHealthResult": {
3649
+ "type": "object",
3650
+ "properties": {
3651
+ "key": {
3652
+ "type": "string"
3653
+ },
3654
+ "status": {
3655
+ "type": "string"
3656
+ },
3657
+ "message": {
3658
+ "type": "string"
3659
+ }
3660
+ }
3661
+ },
3610
3662
  "iSalary": {
3611
3663
  "type": "object",
3612
3664
  "properties": {
@@ -11,6 +11,45 @@
11
11
  }
12
12
  ],
13
13
  "paths": {
14
+ "/v1.0/protected/health/{provider}": {
15
+ "get": {
16
+ "tags": [
17
+ "Health"
18
+ ],
19
+ "summary": "Checks an integration's connectivity",
20
+ "operationId": "ChatGptIntegrationHealth",
21
+ "parameters": [
22
+ {
23
+ "name": "provider",
24
+ "in": "path",
25
+ "required": true,
26
+ "schema": {
27
+ "type": "string"
28
+ }
29
+ }
30
+ ],
31
+ "responses": {
32
+ "200": {
33
+ "description": "Payload of IntegrationHealthResult",
34
+ "content": {
35
+ "application/json": {
36
+ "schema": {
37
+ "$ref": "#/components/schemas/integrationHealthResult"
38
+ }
39
+ }
40
+ },
41
+ "x-ms-summary": "Health result"
42
+ }
43
+ },
44
+ "security": [
45
+ {
46
+ "Implicit": [
47
+ "api://7e012b30-4649-4647-9962-4e052444cdff/.default"
48
+ ]
49
+ }
50
+ ]
51
+ }
52
+ },
14
53
  "/v1.0/newsletter/summary": {
15
54
  "post": {
16
55
  "tags": [
@@ -1379,6 +1418,20 @@
1379
1418
  }
1380
1419
  }
1381
1420
  },
1421
+ "integrationHealthResult": {
1422
+ "type": "object",
1423
+ "properties": {
1424
+ "key": {
1425
+ "type": "string"
1426
+ },
1427
+ "status": {
1428
+ "type": "string"
1429
+ },
1430
+ "message": {
1431
+ "type": "string"
1432
+ }
1433
+ }
1434
+ },
1382
1435
  "parameters": {
1383
1436
  "type": "object",
1384
1437
  "properties": {
@@ -965,6 +965,44 @@
965
965
  ]
966
966
  }
967
967
  },
968
+ "/v1.0/protected/health/{provider}": {
969
+ "get": {
970
+ "tags": [
971
+ "Health"
972
+ ],
973
+ "summary": "Checks an integration's connectivity",
974
+ "operationId": "EventsIntegrationHealth",
975
+ "parameters": [
976
+ {
977
+ "name": "provider",
978
+ "in": "path",
979
+ "required": true,
980
+ "schema": {
981
+ "type": "string"
982
+ }
983
+ }
984
+ ],
985
+ "responses": {
986
+ "200": {
987
+ "description": "Health result",
988
+ "content": {
989
+ "application/json": {
990
+ "schema": {
991
+ "$ref": "#/components/schemas/integrationHealthResult"
992
+ }
993
+ }
994
+ }
995
+ }
996
+ },
997
+ "security": [
998
+ {
999
+ "Implicit": [
1000
+ "api://c9e068a9-4a60-4b00-9982-1e9c6cdcc0a8/.default"
1001
+ ]
1002
+ }
1003
+ ]
1004
+ }
1005
+ },
968
1006
  "/v1.0/protected/{eventId}/memories/{memoryKey}": {
969
1007
  "patch": {
970
1008
  "tags": [
@@ -1817,6 +1855,20 @@
1817
1855
  }
1818
1856
  }
1819
1857
  },
1858
+ "integrationHealthResult": {
1859
+ "type": "object",
1860
+ "properties": {
1861
+ "key": {
1862
+ "type": "string"
1863
+ },
1864
+ "status": {
1865
+ "type": "string"
1866
+ },
1867
+ "message": {
1868
+ "type": "string"
1869
+ }
1870
+ }
1871
+ },
1820
1872
  "invitationPreviewResponse": {
1821
1873
  "type": "object",
1822
1874
  "properties": {
@@ -44,6 +44,44 @@
44
44
  ]
45
45
  }
46
46
  },
47
+ "/v1.0/protected/health/{provider}": {
48
+ "get": {
49
+ "tags": [
50
+ "Health"
51
+ ],
52
+ "summary": "Checks an integration's connectivity",
53
+ "operationId": "NotificationsIntegrationHealth",
54
+ "parameters": [
55
+ {
56
+ "name": "provider",
57
+ "in": "path",
58
+ "required": true,
59
+ "schema": {
60
+ "type": "string"
61
+ }
62
+ }
63
+ ],
64
+ "responses": {
65
+ "200": {
66
+ "description": "Health result",
67
+ "content": {
68
+ "application/json": {
69
+ "schema": {
70
+ "$ref": "#/components/schemas/integrationHealthResult"
71
+ }
72
+ }
73
+ }
74
+ }
75
+ },
76
+ "security": [
77
+ {
78
+ "Implicit": [
79
+ "api://46c59afb-0021-439b-a56c-6e29d39f2c7a/.default"
80
+ ]
81
+ }
82
+ ]
83
+ }
84
+ },
47
85
  "/v1.0/protected/newsletter/trigger": {
48
86
  "post": {
49
87
  "tags": [
@@ -410,6 +448,20 @@
410
448
  }
411
449
  }
412
450
  },
451
+ "integrationHealthResult": {
452
+ "type": "object",
453
+ "properties": {
454
+ "key": {
455
+ "type": "string"
456
+ },
457
+ "status": {
458
+ "type": "string"
459
+ },
460
+ "message": {
461
+ "type": "string"
462
+ }
463
+ }
464
+ },
413
465
  "sendEmailAttachmentRequest": {
414
466
  "type": "object",
415
467
  "properties": {
@@ -39,6 +39,39 @@
39
39
  "x-ms-visibility": "important"
40
40
  }
41
41
  },
42
+ "/v1.0/protected/health/{provider}": {
43
+ "get": {
44
+ "tags": [
45
+ "Health"
46
+ ],
47
+ "summary": "Checks an integration's connectivity",
48
+ "description": "Verifies that a provider this function owns can be reached with the configured credentials.",
49
+ "operationId": "integrationHealth",
50
+ "parameters": [
51
+ {
52
+ "name": "provider",
53
+ "in": "path",
54
+ "required": true,
55
+ "schema": {
56
+ "type": "string"
57
+ }
58
+ }
59
+ ],
60
+ "responses": {
61
+ "200": {
62
+ "description": "Payload of IntegrationHealthResult",
63
+ "content": {
64
+ "application/json": {
65
+ "schema": {
66
+ "$ref": "#/components/schemas/integrationHealthResult"
67
+ }
68
+ }
69
+ },
70
+ "x-ms-summary": "Health result"
71
+ }
72
+ }
73
+ }
74
+ },
42
75
  "/v1.0/sonos/households": {
43
76
  "get": {
44
77
  "tags": [
@@ -1369,6 +1402,20 @@
1369
1402
  }
1370
1403
  }
1371
1404
  },
1405
+ "integrationHealthResult": {
1406
+ "type": "object",
1407
+ "properties": {
1408
+ "key": {
1409
+ "type": "string"
1410
+ },
1411
+ "status": {
1412
+ "type": "string"
1413
+ },
1414
+ "message": {
1415
+ "type": "string"
1416
+ }
1417
+ }
1418
+ },
1372
1419
  "labelSize": {
1373
1420
  "type": "object",
1374
1421
  "properties": {
@@ -1667,6 +1667,44 @@
1667
1667
  ]
1668
1668
  }
1669
1669
  },
1670
+ "/v1.0/protected/health/{provider}": {
1671
+ "get": {
1672
+ "tags": [
1673
+ "Health"
1674
+ ],
1675
+ "summary": "Checks an integration's connectivity",
1676
+ "operationId": "SalesIntegrationHealth",
1677
+ "parameters": [
1678
+ {
1679
+ "name": "provider",
1680
+ "in": "path",
1681
+ "required": true,
1682
+ "schema": {
1683
+ "type": "string"
1684
+ }
1685
+ }
1686
+ ],
1687
+ "responses": {
1688
+ "200": {
1689
+ "description": "Health result",
1690
+ "content": {
1691
+ "application/json": {
1692
+ "schema": {
1693
+ "$ref": "#/components/schemas/integrationHealthResult"
1694
+ }
1695
+ }
1696
+ }
1697
+ }
1698
+ },
1699
+ "security": [
1700
+ {
1701
+ "Implicit": [
1702
+ "api://7e877854-e62d-4637-a655-1da7141f7ac9/.default"
1703
+ ]
1704
+ }
1705
+ ]
1706
+ }
1707
+ },
1670
1708
  "/v1.0/realtime/negotiate": {
1671
1709
  "post": {
1672
1710
  "tags": [
@@ -3780,6 +3818,20 @@
3780
3818
  }
3781
3819
  }
3782
3820
  },
3821
+ "integrationHealthResult": {
3822
+ "type": "object",
3823
+ "properties": {
3824
+ "key": {
3825
+ "type": "string"
3826
+ },
3827
+ "status": {
3828
+ "type": "string"
3829
+ },
3830
+ "message": {
3831
+ "type": "string"
3832
+ }
3833
+ }
3834
+ },
3783
3835
  "listingCandidate": {
3784
3836
  "type": "object",
3785
3837
  "properties": {
@@ -22158,6 +22158,30 @@
22158
22158
  "type": "object",
22159
22159
  "nullable": true
22160
22160
  },
22161
+ "IntegrationHealthResult": {
22162
+ "properties": {
22163
+ "key": {
22164
+ "type": "string"
22165
+ },
22166
+ "status": {
22167
+ "type": "string",
22168
+ "enum": [
22169
+ "ok",
22170
+ "fail"
22171
+ ]
22172
+ },
22173
+ "message": {
22174
+ "type": "string"
22175
+ }
22176
+ },
22177
+ "required": [
22178
+ "key",
22179
+ "status",
22180
+ "message"
22181
+ ],
22182
+ "type": "object",
22183
+ "additionalProperties": true
22184
+ },
22161
22185
  "SanityGroup": {
22162
22186
  "properties": {
22163
22187
  "image": {
@@ -51691,6 +51715,43 @@
51691
51715
  ]
51692
51716
  }
51693
51717
  },
51718
+ "/v1.0/protected/health/{provider}": {
51719
+ "get": {
51720
+ "operationId": "CheckHealth",
51721
+ "responses": {
51722
+ "200": {
51723
+ "description": "Ok",
51724
+ "content": {
51725
+ "application/json": {
51726
+ "schema": {
51727
+ "$ref": "#/components/schemas/IntegrationHealthResult"
51728
+ }
51729
+ }
51730
+ }
51731
+ }
51732
+ },
51733
+ "tags": [
51734
+ "Health"
51735
+ ],
51736
+ "security": [
51737
+ {
51738
+ "Implicit": [
51739
+ "api://3358ac8e-681e-4aeb-bfbf-bb008913c423/.default"
51740
+ ]
51741
+ }
51742
+ ],
51743
+ "parameters": [
51744
+ {
51745
+ "in": "path",
51746
+ "name": "provider",
51747
+ "required": true,
51748
+ "schema": {
51749
+ "type": "string"
51750
+ }
51751
+ }
51752
+ ]
51753
+ }
51754
+ },
51694
51755
  "/v1.0/groups": {
51695
51756
  "get": {
51696
51757
  "operationId": "GetGroups",
@@ -11,6 +11,45 @@
11
11
  }
12
12
  ],
13
13
  "paths": {
14
+ "/v1.0/protected/health/{provider}": {
15
+ "get": {
16
+ "tags": [
17
+ "Health"
18
+ ],
19
+ "summary": "Checks an integration's connectivity",
20
+ "operationId": "SyncIntegrationHealth",
21
+ "parameters": [
22
+ {
23
+ "name": "provider",
24
+ "in": "path",
25
+ "required": true,
26
+ "schema": {
27
+ "type": "string"
28
+ }
29
+ }
30
+ ],
31
+ "responses": {
32
+ "200": {
33
+ "description": "Payload of IntegrationHealthResult",
34
+ "content": {
35
+ "application/json": {
36
+ "schema": {
37
+ "$ref": "#/components/schemas/integrationHealthResult"
38
+ }
39
+ }
40
+ },
41
+ "x-ms-summary": "Health result"
42
+ }
43
+ },
44
+ "security": [
45
+ {
46
+ "Implicit": [
47
+ "api://854bbe76-5f97-44df-ac8c-6b9c5562a500/.default"
48
+ ]
49
+ }
50
+ ]
51
+ }
52
+ },
14
53
  "/v1.0/azure-ad-to-sanity": {
15
54
  "get": {
16
55
  "tags": [
@@ -197,6 +236,20 @@
197
236
  },
198
237
  "components": {
199
238
  "schemas": {
239
+ "integrationHealthResult": {
240
+ "type": "object",
241
+ "properties": {
242
+ "key": {
243
+ "type": "string"
244
+ },
245
+ "status": {
246
+ "type": "string"
247
+ },
248
+ "message": {
249
+ "type": "string"
250
+ }
251
+ }
252
+ },
200
253
  "syncSanityGroupsResult": {
201
254
  "type": "object",
202
255
  "properties": {