@snokam/mcp-api 0.151.1 → 0.152.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.
- package/package.json +1 -1
- package/specs/production/sanity.json +122 -0
package/package.json
CHANGED
|
@@ -22134,6 +22134,45 @@
|
|
|
22134
22134
|
"type": "object",
|
|
22135
22135
|
"additionalProperties": true
|
|
22136
22136
|
},
|
|
22137
|
+
"SanityNotificationRoute": {
|
|
22138
|
+
"properties": {
|
|
22139
|
+
"key": {
|
|
22140
|
+
"type": "string"
|
|
22141
|
+
},
|
|
22142
|
+
"destination": {
|
|
22143
|
+
"type": "string"
|
|
22144
|
+
},
|
|
22145
|
+
"enabled": {
|
|
22146
|
+
"type": "boolean"
|
|
22147
|
+
}
|
|
22148
|
+
},
|
|
22149
|
+
"required": [
|
|
22150
|
+
"key",
|
|
22151
|
+
"destination",
|
|
22152
|
+
"enabled"
|
|
22153
|
+
],
|
|
22154
|
+
"type": "object",
|
|
22155
|
+
"additionalProperties": true
|
|
22156
|
+
},
|
|
22157
|
+
"SanityNotificationRouting": {
|
|
22158
|
+
"properties": {
|
|
22159
|
+
"routes": {
|
|
22160
|
+
"items": {
|
|
22161
|
+
"$ref": "#/components/schemas/SanityNotificationRoute"
|
|
22162
|
+
},
|
|
22163
|
+
"type": "array"
|
|
22164
|
+
},
|
|
22165
|
+
"defaultDestination": {
|
|
22166
|
+
"type": "string",
|
|
22167
|
+
"nullable": true
|
|
22168
|
+
}
|
|
22169
|
+
},
|
|
22170
|
+
"required": [
|
|
22171
|
+
"routes"
|
|
22172
|
+
],
|
|
22173
|
+
"type": "object",
|
|
22174
|
+
"additionalProperties": true
|
|
22175
|
+
},
|
|
22137
22176
|
"GetNewslettersBySeriesSinceQueryResult": {
|
|
22138
22177
|
"items": {
|
|
22139
22178
|
"properties": {
|
|
@@ -54228,6 +54267,89 @@
|
|
|
54228
54267
|
}
|
|
54229
54268
|
}
|
|
54230
54269
|
},
|
|
54270
|
+
"/v1.0/notifications/routing": {
|
|
54271
|
+
"get": {
|
|
54272
|
+
"operationId": "GetNotificationRouting",
|
|
54273
|
+
"responses": {
|
|
54274
|
+
"200": {
|
|
54275
|
+
"description": "Ok",
|
|
54276
|
+
"content": {
|
|
54277
|
+
"application/json": {
|
|
54278
|
+
"schema": {
|
|
54279
|
+
"$ref": "#/components/schemas/SanityNotificationRouting"
|
|
54280
|
+
}
|
|
54281
|
+
}
|
|
54282
|
+
}
|
|
54283
|
+
}
|
|
54284
|
+
},
|
|
54285
|
+
"tags": [
|
|
54286
|
+
"Notification routing"
|
|
54287
|
+
],
|
|
54288
|
+
"security": [
|
|
54289
|
+
{
|
|
54290
|
+
"Implicit": [
|
|
54291
|
+
"WILL BE REPLACED"
|
|
54292
|
+
]
|
|
54293
|
+
}
|
|
54294
|
+
],
|
|
54295
|
+
"parameters": [
|
|
54296
|
+
{
|
|
54297
|
+
"in": "query",
|
|
54298
|
+
"name": "useCache",
|
|
54299
|
+
"required": false,
|
|
54300
|
+
"schema": {
|
|
54301
|
+
"default": true,
|
|
54302
|
+
"type": "boolean"
|
|
54303
|
+
}
|
|
54304
|
+
},
|
|
54305
|
+
{
|
|
54306
|
+
"in": "query",
|
|
54307
|
+
"name": "useCdn",
|
|
54308
|
+
"required": false,
|
|
54309
|
+
"schema": {
|
|
54310
|
+
"default": false,
|
|
54311
|
+
"type": "boolean"
|
|
54312
|
+
}
|
|
54313
|
+
}
|
|
54314
|
+
]
|
|
54315
|
+
},
|
|
54316
|
+
"put": {
|
|
54317
|
+
"operationId": "UpsertNotificationRouting",
|
|
54318
|
+
"responses": {
|
|
54319
|
+
"200": {
|
|
54320
|
+
"description": "Ok",
|
|
54321
|
+
"content": {
|
|
54322
|
+
"application/json": {
|
|
54323
|
+
"schema": {
|
|
54324
|
+
"$ref": "#/components/schemas/SanityNotificationRouting"
|
|
54325
|
+
}
|
|
54326
|
+
}
|
|
54327
|
+
}
|
|
54328
|
+
}
|
|
54329
|
+
},
|
|
54330
|
+
"tags": [
|
|
54331
|
+
"Notification routing"
|
|
54332
|
+
],
|
|
54333
|
+
"security": [
|
|
54334
|
+
{
|
|
54335
|
+
"Implicit": [
|
|
54336
|
+
"WILL BE REPLACED"
|
|
54337
|
+
]
|
|
54338
|
+
}
|
|
54339
|
+
],
|
|
54340
|
+
"parameters": [],
|
|
54341
|
+
"requestBody": {
|
|
54342
|
+
"required": true,
|
|
54343
|
+
"content": {
|
|
54344
|
+
"application/json": {
|
|
54345
|
+
"schema": {
|
|
54346
|
+
"$ref": "#/components/schemas/SanityNotificationRouting"
|
|
54347
|
+
}
|
|
54348
|
+
}
|
|
54349
|
+
}
|
|
54350
|
+
}
|
|
54351
|
+
}
|
|
54352
|
+
},
|
|
54231
54353
|
"/v1.0/newsletters": {
|
|
54232
54354
|
"get": {
|
|
54233
54355
|
"operationId": "GetNewsletters",
|