@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.
- package/dist/index.d.ts +1 -1
- package/dist/index.js +35 -2
- package/dist/openapi-loader.d.ts +5 -0
- package/dist/openapi-loader.js +15 -0
- package/package.json +1 -1
- package/specs/production/accounting.json +5161 -527
- package/specs/production/broker.json +2 -2
- package/specs/production/chatgpt.json +21 -17
- package/specs/production/employees.json +350 -353
- package/specs/production/events.json +260 -176
- package/specs/production/notifications.json +10 -10
- package/specs/production/office.json +4 -4
- package/specs/production/recruitment.json +39 -0
- package/specs/production/sales.json +39 -0
- package/specs/production/sanity.json +127 -150
- package/specs/production/sync.json +181 -0
- package/specs/production/webshop.json +10 -10
- package/specs/test/accounting.json +5161 -527
- package/specs/test/broker.json +2 -2
- package/specs/test/chatgpt.json +21 -17
- package/specs/test/employees.json +350 -353
- package/specs/test/events.json +260 -176
- package/specs/test/notifications.json +10 -10
- package/specs/test/office.json +1984 -0
- package/specs/test/recruitment.json +39 -0
- package/specs/test/sales.json +39 -0
- package/specs/test/sanity.json +127 -150
- package/specs/test/sync.json +181 -0
- package/specs/test/webshop.json +10 -10
- package/specs/production/calculators.json +0 -1523
- package/specs/production/crypto.json +0 -1998
- package/specs/production/power-office.json +0 -2383
- package/specs/test/calculators.json +0 -1523
- package/specs/test/crypto.json +0 -1998
- package/specs/test/power-office.json +0 -2383
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.0.1",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "Sync API",
|
|
5
|
+
"description": "Data synchronization service",
|
|
6
|
+
"version": "v1.0.0"
|
|
7
|
+
},
|
|
8
|
+
"servers": [
|
|
9
|
+
{
|
|
10
|
+
"url": "https://sync.api.snokam.no"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"paths": {
|
|
14
|
+
"/v1.0/azure-ad-to-sanity": {
|
|
15
|
+
"get": {
|
|
16
|
+
"tags": [
|
|
17
|
+
"Sync"
|
|
18
|
+
],
|
|
19
|
+
"summary": "Syncs Azure AD to Sanity",
|
|
20
|
+
"description": "Synchronizes data from Azure AD to Sanity.",
|
|
21
|
+
"operationId": "SyncAzureAdToSanity",
|
|
22
|
+
"responses": {
|
|
23
|
+
"200": {
|
|
24
|
+
"description": "Data synchronized successfully",
|
|
25
|
+
"content": {
|
|
26
|
+
"application/json": {
|
|
27
|
+
"schema": {
|
|
28
|
+
"type": "string"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"x-ms-summary": "Success"
|
|
33
|
+
},
|
|
34
|
+
"401": {
|
|
35
|
+
"description": "Unauthorized access",
|
|
36
|
+
"x-ms-summary": "Unauthorized"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"security": [
|
|
40
|
+
{
|
|
41
|
+
"Implicit": [
|
|
42
|
+
"api://854bbe76-5f97-44df-ac8c-6b9c5562a500/.default"
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"/v1.0/cv-partner-to-sanity": {
|
|
49
|
+
"get": {
|
|
50
|
+
"tags": [
|
|
51
|
+
"Sync"
|
|
52
|
+
],
|
|
53
|
+
"summary": "Syncs CV Partner to Sanity",
|
|
54
|
+
"description": "Synchronizes data from CV Partner to Sanity.",
|
|
55
|
+
"operationId": "SyncCvPartnerToSanity",
|
|
56
|
+
"responses": {
|
|
57
|
+
"200": {
|
|
58
|
+
"description": "Data synchronized successfully",
|
|
59
|
+
"content": {
|
|
60
|
+
"application/json": {
|
|
61
|
+
"schema": {
|
|
62
|
+
"type": "string"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"x-ms-summary": "Success"
|
|
67
|
+
},
|
|
68
|
+
"401": {
|
|
69
|
+
"description": "Unauthorized access",
|
|
70
|
+
"x-ms-summary": "Unauthorized"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"security": [
|
|
74
|
+
{
|
|
75
|
+
"Implicit": [
|
|
76
|
+
"api://854bbe76-5f97-44df-ac8c-6b9c5562a500/.default"
|
|
77
|
+
]
|
|
78
|
+
}
|
|
79
|
+
]
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"/v1.0/power-office-to-sanity": {
|
|
83
|
+
"get": {
|
|
84
|
+
"tags": [
|
|
85
|
+
"Sync"
|
|
86
|
+
],
|
|
87
|
+
"summary": "Sync power office data to sanity",
|
|
88
|
+
"description": "Sync power office data to sanity",
|
|
89
|
+
"operationId": "SyncPowerOfficeToSanity",
|
|
90
|
+
"parameters": [
|
|
91
|
+
{
|
|
92
|
+
"name": "from",
|
|
93
|
+
"in": "query",
|
|
94
|
+
"description": "",
|
|
95
|
+
"required": true,
|
|
96
|
+
"schema": {
|
|
97
|
+
"type": "string",
|
|
98
|
+
"format": "date-time"
|
|
99
|
+
},
|
|
100
|
+
"x-ms-summary": "Date from"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"name": "to",
|
|
104
|
+
"in": "query",
|
|
105
|
+
"description": "",
|
|
106
|
+
"required": true,
|
|
107
|
+
"schema": {
|
|
108
|
+
"type": "string",
|
|
109
|
+
"format": "date-time"
|
|
110
|
+
},
|
|
111
|
+
"x-ms-summary": "Date to"
|
|
112
|
+
}
|
|
113
|
+
],
|
|
114
|
+
"responses": {
|
|
115
|
+
"200": {
|
|
116
|
+
"description": "Data synchronized successfully",
|
|
117
|
+
"content": {
|
|
118
|
+
"application/json": {
|
|
119
|
+
"schema": {
|
|
120
|
+
"type": "string"
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
"x-ms-summary": "Success"
|
|
125
|
+
},
|
|
126
|
+
"401": {
|
|
127
|
+
"description": "Unauthorized access",
|
|
128
|
+
"x-ms-summary": "Unauthorized"
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
"security": [
|
|
132
|
+
{
|
|
133
|
+
"Implicit": [
|
|
134
|
+
"api://854bbe76-5f97-44df-ac8c-6b9c5562a500/.default"
|
|
135
|
+
]
|
|
136
|
+
}
|
|
137
|
+
]
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"/v1.0/okrs-to-sanity": {
|
|
141
|
+
"get": {
|
|
142
|
+
"tags": [
|
|
143
|
+
"Sync"
|
|
144
|
+
],
|
|
145
|
+
"summary": "Sync OKRs",
|
|
146
|
+
"description": "Synchronizes OKRs",
|
|
147
|
+
"operationId": "SyncOkrs",
|
|
148
|
+
"responses": {
|
|
149
|
+
"200": {
|
|
150
|
+
"description": "OKRs synchronized successfully",
|
|
151
|
+
"x-ms-summary": "Success"
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
"security": [
|
|
155
|
+
{
|
|
156
|
+
"Implicit": [
|
|
157
|
+
"api://854bbe76-5f97-44df-ac8c-6b9c5562a500/.default"
|
|
158
|
+
]
|
|
159
|
+
}
|
|
160
|
+
]
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
"components": {
|
|
165
|
+
"securitySchemes": {
|
|
166
|
+
"Implicit": {
|
|
167
|
+
"type": "oauth2",
|
|
168
|
+
"flows": {
|
|
169
|
+
"implicit": {
|
|
170
|
+
"authorizationUrl": "https://login.microsoftonline.com/81a4f38d-6712-4b65-868b-c3771f9ba91e/oauth2/v2.0/authorize",
|
|
171
|
+
"tokenUrl": "https://login.microsoftonline.com/81a4f38d-6712-4b65-868b-c3771f9ba91e/oauth2/v2.0/token",
|
|
172
|
+
"refreshUrl": "https://login.microsoftonline.com/81a4f38d-6712-4b65-868b-c3771f9ba91e/oauth2/v2.0/token",
|
|
173
|
+
"scopes": {
|
|
174
|
+
"api://854bbe76-5f97-44df-ac8c-6b9c5562a500/.default": "Default function scope"
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.1",
|
|
3
3
|
"info": {
|
|
4
|
-
"title": "Webshop
|
|
5
|
-
"description": "
|
|
4
|
+
"title": "Webshop API",
|
|
5
|
+
"description": "Webshop service",
|
|
6
6
|
"version": "v1.0.0"
|
|
7
7
|
},
|
|
8
8
|
"servers": [
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"security": [
|
|
39
39
|
{
|
|
40
40
|
"Implicit": [
|
|
41
|
-
"api://
|
|
41
|
+
"api://baec0bd8-3f81-49ca-b014-55ca00993ef9/.default"
|
|
42
42
|
]
|
|
43
43
|
}
|
|
44
44
|
]
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"security": [
|
|
76
76
|
{
|
|
77
77
|
"Implicit": [
|
|
78
|
-
"api://
|
|
78
|
+
"api://baec0bd8-3f81-49ca-b014-55ca00993ef9/.default"
|
|
79
79
|
]
|
|
80
80
|
}
|
|
81
81
|
]
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
"security": [
|
|
121
121
|
{
|
|
122
122
|
"Implicit": [
|
|
123
|
-
"api://
|
|
123
|
+
"api://baec0bd8-3f81-49ca-b014-55ca00993ef9/.default"
|
|
124
124
|
]
|
|
125
125
|
}
|
|
126
126
|
]
|
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
"security": [
|
|
170
170
|
{
|
|
171
171
|
"Implicit": [
|
|
172
|
-
"api://
|
|
172
|
+
"api://baec0bd8-3f81-49ca-b014-55ca00993ef9/.default"
|
|
173
173
|
]
|
|
174
174
|
}
|
|
175
175
|
]
|
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
"security": [
|
|
203
203
|
{
|
|
204
204
|
"Implicit": [
|
|
205
|
-
"api://
|
|
205
|
+
"api://baec0bd8-3f81-49ca-b014-55ca00993ef9/.default"
|
|
206
206
|
]
|
|
207
207
|
}
|
|
208
208
|
]
|
|
@@ -235,7 +235,7 @@
|
|
|
235
235
|
"security": [
|
|
236
236
|
{
|
|
237
237
|
"Implicit": [
|
|
238
|
-
"api://
|
|
238
|
+
"api://baec0bd8-3f81-49ca-b014-55ca00993ef9/.default"
|
|
239
239
|
]
|
|
240
240
|
}
|
|
241
241
|
]
|
|
@@ -283,7 +283,7 @@
|
|
|
283
283
|
"security": [
|
|
284
284
|
{
|
|
285
285
|
"Implicit": [
|
|
286
|
-
"api://
|
|
286
|
+
"api://baec0bd8-3f81-49ca-b014-55ca00993ef9/.default"
|
|
287
287
|
]
|
|
288
288
|
}
|
|
289
289
|
]
|
|
@@ -621,7 +621,7 @@
|
|
|
621
621
|
"tokenUrl": "https://login.microsoftonline.com/81a4f38d-6712-4b65-868b-c3771f9ba91e/oauth2/v2.0/token",
|
|
622
622
|
"refreshUrl": "https://login.microsoftonline.com/81a4f38d-6712-4b65-868b-c3771f9ba91e/oauth2/v2.0/token",
|
|
623
623
|
"scopes": {
|
|
624
|
-
"api://
|
|
624
|
+
"api://baec0bd8-3f81-49ca-b014-55ca00993ef9/.default": "Default function scope"
|
|
625
625
|
}
|
|
626
626
|
}
|
|
627
627
|
}
|