@snokam/mcp-api 0.105.0 → 0.106.1

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.
@@ -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": {
@@ -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://7ef810c9-bc46-4624-b74e-093c6557332e/.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": {
@@ -4368,6 +4420,9 @@
4368
4420
  "$ref": "#/components/schemas/sanityEmployeeEquipmentInner"
4369
4421
  }
4370
4422
  },
4423
+ "github": {
4424
+ "type": "string"
4425
+ },
4371
4426
  "graduationYear": {
4372
4427
  "type": "number",
4373
4428
  "format": "double"
@@ -4397,6 +4452,9 @@
4397
4452
  "isSeekingProject": {
4398
4453
  "type": "boolean"
4399
4454
  },
4455
+ "linkedin": {
4456
+ "type": "string"
4457
+ },
4400
4458
  "manager": {
4401
4459
  "$ref": "#/components/schemas/sanityEmployeeManager"
4402
4460
  },
@@ -48,6 +48,32 @@
48
48
  ]
49
49
  }
50
50
  },
51
+ "/v1.0/presentations": {
52
+ "get": {
53
+ "tags": [
54
+ "CV"
55
+ ],
56
+ "summary": "Gets all presentations held by consultants",
57
+ "description": "Aggregates the presentations listed across all consultant CVs in CvPartner, including the speaker for each presentation. Public endpoint used by the snokam.no/presentasjoner page.",
58
+ "operationId": "GetPresentations",
59
+ "responses": {
60
+ "200": {
61
+ "description": "List of presentations retrieved successfully",
62
+ "content": {
63
+ "application/json": {
64
+ "schema": {
65
+ "type": "array",
66
+ "items": {
67
+ "$ref": "#/components/schemas/consultantPresentation"
68
+ }
69
+ }
70
+ }
71
+ },
72
+ "x-ms-summary": "Success"
73
+ }
74
+ }
75
+ }
76
+ },
51
77
  "/v1.0/cvs/my-cv": {
52
78
  "get": {
53
79
  "tags": [
@@ -1185,6 +1211,38 @@
1185
1211
  }
1186
1212
  }
1187
1213
  },
1214
+ "consultantPresentation": {
1215
+ "type": "object",
1216
+ "properties": {
1217
+ "id": {
1218
+ "type": "string",
1219
+ "nullable": true
1220
+ },
1221
+ "title": {
1222
+ "type": "string",
1223
+ "nullable": true
1224
+ },
1225
+ "description": {
1226
+ "type": "string",
1227
+ "nullable": true
1228
+ },
1229
+ "longDescription": {
1230
+ "type": "string",
1231
+ "nullable": true
1232
+ },
1233
+ "year": {
1234
+ "type": "string",
1235
+ "nullable": true
1236
+ },
1237
+ "month": {
1238
+ "type": "string",
1239
+ "nullable": true
1240
+ },
1241
+ "speaker": {
1242
+ "$ref": "#/components/schemas/presentationSpeaker"
1243
+ }
1244
+ }
1245
+ },
1188
1246
  "consultantProjectExperience": {
1189
1247
  "type": "object",
1190
1248
  "properties": {
@@ -1591,6 +1649,9 @@
1591
1649
  "$ref": "#/components/schemas/pageEquipmentInner"
1592
1650
  }
1593
1651
  },
1652
+ "github": {
1653
+ "type": "string"
1654
+ },
1594
1655
  "graduationYear": {
1595
1656
  "type": "number",
1596
1657
  "format": "double",
@@ -1626,6 +1687,9 @@
1626
1687
  "type": "boolean",
1627
1688
  "nullable": true
1628
1689
  },
1690
+ "linkedin": {
1691
+ "type": "string"
1692
+ },
1629
1693
  "manager": {
1630
1694
  "$ref": "#/components/schemas/employeeReference"
1631
1695
  },
@@ -1687,6 +1751,24 @@
1687
1751
  }
1688
1752
  }
1689
1753
  },
1754
+ "presentationSpeaker": {
1755
+ "type": "object",
1756
+ "properties": {
1757
+ "name": {
1758
+ "type": "string",
1759
+ "nullable": true
1760
+ },
1761
+ "email": {
1762
+ "type": "string",
1763
+ "nullable": true
1764
+ },
1765
+ "flowcaseUserId": {
1766
+ "type": "string",
1767
+ "nullable": true
1768
+ }
1769
+ },
1770
+ "nullable": true
1771
+ },
1690
1772
  "protectedEmployee": {
1691
1773
  "type": "object",
1692
1774
  "properties": {
@@ -1768,6 +1850,9 @@
1768
1850
  "$ref": "#/components/schemas/sanityEmployeeEquipmentInner"
1769
1851
  }
1770
1852
  },
1853
+ "github": {
1854
+ "type": "string"
1855
+ },
1771
1856
  "graduationYear": {
1772
1857
  "type": "number",
1773
1858
  "format": "double"
@@ -1797,6 +1882,9 @@
1797
1882
  "isSeekingProject": {
1798
1883
  "type": "boolean"
1799
1884
  },
1885
+ "linkedin": {
1886
+ "type": "string"
1887
+ },
1800
1888
  "manager": {
1801
1889
  "$ref": "#/components/schemas/sanityEmployeeManager"
1802
1890
  },
@@ -1924,6 +2012,12 @@
1924
2012
  "about": {
1925
2013
  "type": "string"
1926
2014
  },
2015
+ "linkedin": {
2016
+ "type": "string"
2017
+ },
2018
+ "github": {
2019
+ "type": "string"
2020
+ },
1927
2021
  "birthDate": {
1928
2022
  "type": "string",
1929
2023
  "format": "date-time",
@@ -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://096d39ef-7b0b-4b72-82ea-7064c15ec318/.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": {
@@ -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": {
@@ -29880,6 +29904,12 @@
29880
29904
  "type": "array",
29881
29905
  "nullable": true
29882
29906
  },
29907
+ "github": {
29908
+ "type": "string"
29909
+ },
29910
+ "linkedin": {
29911
+ "type": "string"
29912
+ },
29883
29913
  "about": {
29884
29914
  "type": "string"
29885
29915
  },
@@ -30489,6 +30519,12 @@
30489
30519
  },
30490
30520
  "type": "array"
30491
30521
  },
30522
+ "github": {
30523
+ "type": "string"
30524
+ },
30525
+ "linkedin": {
30526
+ "type": "string"
30527
+ },
30492
30528
  "about": {
30493
30529
  "type": "string"
30494
30530
  },
@@ -31094,6 +31130,14 @@
31094
31130
  "type": "string",
31095
31131
  "nullable": true
31096
31132
  },
31133
+ "linkedin": {
31134
+ "type": "string",
31135
+ "nullable": true
31136
+ },
31137
+ "github": {
31138
+ "type": "string",
31139
+ "nullable": true
31140
+ },
31097
31141
  "groups": {
31098
31142
  "items": {
31099
31143
  "allOf": [
@@ -51671,6 +51715,43 @@
51671
51715
  ]
51672
51716
  }
51673
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://5dc55e32-6742-4fe9-b8b6-581cf56af144/.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
+ },
51674
51755
  "/v1.0/groups": {
51675
51756
  "get": {
51676
51757
  "operationId": "GetGroups",