@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 +1 -1
- package/specs/production/accounting.json +52 -0
- package/specs/production/chatgpt.json +53 -0
- package/specs/production/events.json +52 -0
- package/specs/production/notifications.json +52 -0
- package/specs/production/office.json +47 -0
- package/specs/production/sales.json +52 -0
- package/specs/production/sanity.json +61 -0
- package/specs/production/sync.json +53 -0
- package/specs/test/accounting.json +109 -57
- package/specs/test/blog.json +33 -33
- package/specs/test/chatgpt.json +66 -13
- package/specs/test/employees.json +27 -27
- package/specs/test/events.json +90 -38
- package/specs/test/notifications.json +68 -16
- package/specs/test/office.json +59 -15
- package/specs/test/recruitment.json +43 -58
- package/specs/test/sales.json +258 -195
- package/specs/test/sanity.json +295 -243
- package/specs/test/sync.json +62 -9
- package/specs/test/webshop.json +11 -11
package/specs/test/sync.json
CHANGED
|
@@ -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://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
|
|
48
|
+
]
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
}
|
|
52
|
+
},
|
|
14
53
|
"/v1.0/azure-ad-to-sanity": {
|
|
15
54
|
"get": {
|
|
16
55
|
"tags": [
|
|
@@ -39,7 +78,7 @@
|
|
|
39
78
|
"security": [
|
|
40
79
|
{
|
|
41
80
|
"Implicit": [
|
|
42
|
-
"api://
|
|
81
|
+
"api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
|
|
43
82
|
]
|
|
44
83
|
}
|
|
45
84
|
]
|
|
@@ -73,7 +112,7 @@
|
|
|
73
112
|
"security": [
|
|
74
113
|
{
|
|
75
114
|
"Implicit": [
|
|
76
|
-
"api://
|
|
115
|
+
"api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
|
|
77
116
|
]
|
|
78
117
|
}
|
|
79
118
|
]
|
|
@@ -131,7 +170,7 @@
|
|
|
131
170
|
"security": [
|
|
132
171
|
{
|
|
133
172
|
"Implicit": [
|
|
134
|
-
"api://
|
|
173
|
+
"api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
|
|
135
174
|
]
|
|
136
175
|
}
|
|
137
176
|
]
|
|
@@ -165,7 +204,7 @@
|
|
|
165
204
|
"security": [
|
|
166
205
|
{
|
|
167
206
|
"Implicit": [
|
|
168
|
-
"api://
|
|
207
|
+
"api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
|
|
169
208
|
]
|
|
170
209
|
}
|
|
171
210
|
]
|
|
@@ -188,7 +227,7 @@
|
|
|
188
227
|
"security": [
|
|
189
228
|
{
|
|
190
229
|
"Implicit": [
|
|
191
|
-
"api://
|
|
230
|
+
"api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
|
|
192
231
|
]
|
|
193
232
|
}
|
|
194
233
|
]
|
|
@@ -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": {
|
|
@@ -224,11 +277,11 @@
|
|
|
224
277
|
"type": "oauth2",
|
|
225
278
|
"flows": {
|
|
226
279
|
"implicit": {
|
|
227
|
-
"authorizationUrl": "https://login.microsoftonline.com/
|
|
228
|
-
"tokenUrl": "https://login.microsoftonline.com/
|
|
229
|
-
"refreshUrl": "https://login.microsoftonline.com/
|
|
280
|
+
"authorizationUrl": "https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize",
|
|
281
|
+
"tokenUrl": "https://login.microsoftonline.com/organizations/oauth2/v2.0/token",
|
|
282
|
+
"refreshUrl": "https://login.microsoftonline.com/organizations/oauth2/v2.0/token",
|
|
230
283
|
"scopes": {
|
|
231
|
-
"api://
|
|
284
|
+
"api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default": "Default function scope"
|
|
232
285
|
}
|
|
233
286
|
}
|
|
234
287
|
}
|
package/specs/test/webshop.json
CHANGED
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"security": [
|
|
39
39
|
{
|
|
40
40
|
"Implicit": [
|
|
41
|
-
"api://
|
|
41
|
+
"api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
|
|
42
42
|
]
|
|
43
43
|
}
|
|
44
44
|
]
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"security": [
|
|
76
76
|
{
|
|
77
77
|
"Implicit": [
|
|
78
|
-
"api://
|
|
78
|
+
"api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
|
|
79
79
|
]
|
|
80
80
|
}
|
|
81
81
|
]
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
"security": [
|
|
121
121
|
{
|
|
122
122
|
"Implicit": [
|
|
123
|
-
"api://
|
|
123
|
+
"api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
|
|
124
124
|
]
|
|
125
125
|
}
|
|
126
126
|
]
|
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
"security": [
|
|
170
170
|
{
|
|
171
171
|
"Implicit": [
|
|
172
|
-
"api://
|
|
172
|
+
"api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
|
|
173
173
|
]
|
|
174
174
|
}
|
|
175
175
|
]
|
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
"security": [
|
|
203
203
|
{
|
|
204
204
|
"Implicit": [
|
|
205
|
-
"api://
|
|
205
|
+
"api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
|
|
206
206
|
]
|
|
207
207
|
}
|
|
208
208
|
]
|
|
@@ -235,7 +235,7 @@
|
|
|
235
235
|
"security": [
|
|
236
236
|
{
|
|
237
237
|
"Implicit": [
|
|
238
|
-
"api://
|
|
238
|
+
"api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
|
|
239
239
|
]
|
|
240
240
|
}
|
|
241
241
|
]
|
|
@@ -283,7 +283,7 @@
|
|
|
283
283
|
"security": [
|
|
284
284
|
{
|
|
285
285
|
"Implicit": [
|
|
286
|
-
"api://
|
|
286
|
+
"api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
|
|
287
287
|
]
|
|
288
288
|
}
|
|
289
289
|
]
|
|
@@ -611,11 +611,11 @@
|
|
|
611
611
|
"type": "oauth2",
|
|
612
612
|
"flows": {
|
|
613
613
|
"implicit": {
|
|
614
|
-
"authorizationUrl": "https://login.microsoftonline.com/
|
|
615
|
-
"tokenUrl": "https://login.microsoftonline.com/
|
|
616
|
-
"refreshUrl": "https://login.microsoftonline.com/
|
|
614
|
+
"authorizationUrl": "https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize",
|
|
615
|
+
"tokenUrl": "https://login.microsoftonline.com/organizations/oauth2/v2.0/token",
|
|
616
|
+
"refreshUrl": "https://login.microsoftonline.com/organizations/oauth2/v2.0/token",
|
|
617
617
|
"scopes": {
|
|
618
|
-
"api://
|
|
618
|
+
"api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default": "Default function scope"
|
|
619
619
|
}
|
|
620
620
|
}
|
|
621
621
|
}
|