@snokam/mcp-api 2.1.1 → 2.3.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/package.json
CHANGED
|
@@ -3257,6 +3257,55 @@
|
|
|
3257
3257
|
"type": "object",
|
|
3258
3258
|
"nullable": true
|
|
3259
3259
|
},
|
|
3260
|
+
"SanityOnboardingTask": {
|
|
3261
|
+
"properties": {
|
|
3262
|
+
"sanityId": {
|
|
3263
|
+
"type": "string"
|
|
3264
|
+
},
|
|
3265
|
+
"sanityType": {
|
|
3266
|
+
"type": "string"
|
|
3267
|
+
},
|
|
3268
|
+
"sanityCreatedAt": {
|
|
3269
|
+
"type": "string"
|
|
3270
|
+
},
|
|
3271
|
+
"sanityUpdatedAt": {
|
|
3272
|
+
"type": "string"
|
|
3273
|
+
},
|
|
3274
|
+
"sanityRev": {
|
|
3275
|
+
"type": "string"
|
|
3276
|
+
},
|
|
3277
|
+
"title": {
|
|
3278
|
+
"type": "string"
|
|
3279
|
+
},
|
|
3280
|
+
"type": {
|
|
3281
|
+
"type": "string",
|
|
3282
|
+
"enum": [
|
|
3283
|
+
"onboarding"
|
|
3284
|
+
],
|
|
3285
|
+
"nullable": false
|
|
3286
|
+
},
|
|
3287
|
+
"reminderWeeksBefore": {
|
|
3288
|
+
"type": "number",
|
|
3289
|
+
"format": "double"
|
|
3290
|
+
},
|
|
3291
|
+
"reminderSlackChannel": {
|
|
3292
|
+
"type": "string"
|
|
3293
|
+
}
|
|
3294
|
+
},
|
|
3295
|
+
"required": [
|
|
3296
|
+
"sanityId",
|
|
3297
|
+
"sanityType",
|
|
3298
|
+
"sanityCreatedAt",
|
|
3299
|
+
"sanityUpdatedAt",
|
|
3300
|
+
"sanityRev",
|
|
3301
|
+
"title",
|
|
3302
|
+
"type",
|
|
3303
|
+
"reminderWeeksBefore",
|
|
3304
|
+
"reminderSlackChannel"
|
|
3305
|
+
],
|
|
3306
|
+
"type": "object",
|
|
3307
|
+
"additionalProperties": true
|
|
3308
|
+
},
|
|
3260
3309
|
"SanityTag": {
|
|
3261
3310
|
"properties": {
|
|
3262
3311
|
"slug": {
|
|
@@ -42004,6 +42053,57 @@
|
|
|
42004
42053
|
]
|
|
42005
42054
|
}
|
|
42006
42055
|
},
|
|
42056
|
+
"/v1.0/tasks/onboarding-reminders": {
|
|
42057
|
+
"get": {
|
|
42058
|
+
"operationId": "GetOnboardingTasksWithReminder",
|
|
42059
|
+
"responses": {
|
|
42060
|
+
"200": {
|
|
42061
|
+
"description": "Ok",
|
|
42062
|
+
"content": {
|
|
42063
|
+
"application/json": {
|
|
42064
|
+
"schema": {
|
|
42065
|
+
"items": {
|
|
42066
|
+
"$ref": "#/components/schemas/SanityOnboardingTask"
|
|
42067
|
+
},
|
|
42068
|
+
"type": "array"
|
|
42069
|
+
}
|
|
42070
|
+
}
|
|
42071
|
+
}
|
|
42072
|
+
}
|
|
42073
|
+
},
|
|
42074
|
+
"description": "Returns onboarding tasks that have a Slack reminder configured.\nUsed by the notifications function to send reminders ahead of an employee's start date.",
|
|
42075
|
+
"tags": [
|
|
42076
|
+
"Tasks"
|
|
42077
|
+
],
|
|
42078
|
+
"security": [
|
|
42079
|
+
{
|
|
42080
|
+
"Implicit": [
|
|
42081
|
+
"api://3358ac8e-681e-4aeb-bfbf-bb008913c423/.default"
|
|
42082
|
+
]
|
|
42083
|
+
}
|
|
42084
|
+
],
|
|
42085
|
+
"parameters": [
|
|
42086
|
+
{
|
|
42087
|
+
"in": "query",
|
|
42088
|
+
"name": "useCache",
|
|
42089
|
+
"required": false,
|
|
42090
|
+
"schema": {
|
|
42091
|
+
"default": true,
|
|
42092
|
+
"type": "boolean"
|
|
42093
|
+
}
|
|
42094
|
+
},
|
|
42095
|
+
{
|
|
42096
|
+
"in": "query",
|
|
42097
|
+
"name": "useCdn",
|
|
42098
|
+
"required": false,
|
|
42099
|
+
"schema": {
|
|
42100
|
+
"default": false,
|
|
42101
|
+
"type": "boolean"
|
|
42102
|
+
}
|
|
42103
|
+
}
|
|
42104
|
+
]
|
|
42105
|
+
}
|
|
42106
|
+
},
|
|
42007
42107
|
"/v1.0/tags": {
|
|
42008
42108
|
"get": {
|
|
42009
42109
|
"operationId": "GetTags",
|
package/specs/test/sanity.json
CHANGED
|
@@ -3257,6 +3257,55 @@
|
|
|
3257
3257
|
"type": "object",
|
|
3258
3258
|
"nullable": true
|
|
3259
3259
|
},
|
|
3260
|
+
"SanityOnboardingTask": {
|
|
3261
|
+
"properties": {
|
|
3262
|
+
"sanityId": {
|
|
3263
|
+
"type": "string"
|
|
3264
|
+
},
|
|
3265
|
+
"sanityType": {
|
|
3266
|
+
"type": "string"
|
|
3267
|
+
},
|
|
3268
|
+
"sanityCreatedAt": {
|
|
3269
|
+
"type": "string"
|
|
3270
|
+
},
|
|
3271
|
+
"sanityUpdatedAt": {
|
|
3272
|
+
"type": "string"
|
|
3273
|
+
},
|
|
3274
|
+
"sanityRev": {
|
|
3275
|
+
"type": "string"
|
|
3276
|
+
},
|
|
3277
|
+
"title": {
|
|
3278
|
+
"type": "string"
|
|
3279
|
+
},
|
|
3280
|
+
"type": {
|
|
3281
|
+
"type": "string",
|
|
3282
|
+
"enum": [
|
|
3283
|
+
"onboarding"
|
|
3284
|
+
],
|
|
3285
|
+
"nullable": false
|
|
3286
|
+
},
|
|
3287
|
+
"reminderWeeksBefore": {
|
|
3288
|
+
"type": "number",
|
|
3289
|
+
"format": "double"
|
|
3290
|
+
},
|
|
3291
|
+
"reminderSlackChannel": {
|
|
3292
|
+
"type": "string"
|
|
3293
|
+
}
|
|
3294
|
+
},
|
|
3295
|
+
"required": [
|
|
3296
|
+
"sanityId",
|
|
3297
|
+
"sanityType",
|
|
3298
|
+
"sanityCreatedAt",
|
|
3299
|
+
"sanityUpdatedAt",
|
|
3300
|
+
"sanityRev",
|
|
3301
|
+
"title",
|
|
3302
|
+
"type",
|
|
3303
|
+
"reminderWeeksBefore",
|
|
3304
|
+
"reminderSlackChannel"
|
|
3305
|
+
],
|
|
3306
|
+
"type": "object",
|
|
3307
|
+
"additionalProperties": true
|
|
3308
|
+
},
|
|
3260
3309
|
"SanityTag": {
|
|
3261
3310
|
"properties": {
|
|
3262
3311
|
"slug": {
|
|
@@ -42004,6 +42053,57 @@
|
|
|
42004
42053
|
]
|
|
42005
42054
|
}
|
|
42006
42055
|
},
|
|
42056
|
+
"/v1.0/tasks/onboarding-reminders": {
|
|
42057
|
+
"get": {
|
|
42058
|
+
"operationId": "GetOnboardingTasksWithReminder",
|
|
42059
|
+
"responses": {
|
|
42060
|
+
"200": {
|
|
42061
|
+
"description": "Ok",
|
|
42062
|
+
"content": {
|
|
42063
|
+
"application/json": {
|
|
42064
|
+
"schema": {
|
|
42065
|
+
"items": {
|
|
42066
|
+
"$ref": "#/components/schemas/SanityOnboardingTask"
|
|
42067
|
+
},
|
|
42068
|
+
"type": "array"
|
|
42069
|
+
}
|
|
42070
|
+
}
|
|
42071
|
+
}
|
|
42072
|
+
}
|
|
42073
|
+
},
|
|
42074
|
+
"description": "Returns onboarding tasks that have a Slack reminder configured.\nUsed by the notifications function to send reminders ahead of an employee's start date.",
|
|
42075
|
+
"tags": [
|
|
42076
|
+
"Tasks"
|
|
42077
|
+
],
|
|
42078
|
+
"security": [
|
|
42079
|
+
{
|
|
42080
|
+
"Implicit": [
|
|
42081
|
+
"api://5dc55e32-6742-4fe9-b8b6-581cf56af144/.default"
|
|
42082
|
+
]
|
|
42083
|
+
}
|
|
42084
|
+
],
|
|
42085
|
+
"parameters": [
|
|
42086
|
+
{
|
|
42087
|
+
"in": "query",
|
|
42088
|
+
"name": "useCache",
|
|
42089
|
+
"required": false,
|
|
42090
|
+
"schema": {
|
|
42091
|
+
"default": true,
|
|
42092
|
+
"type": "boolean"
|
|
42093
|
+
}
|
|
42094
|
+
},
|
|
42095
|
+
{
|
|
42096
|
+
"in": "query",
|
|
42097
|
+
"name": "useCdn",
|
|
42098
|
+
"required": false,
|
|
42099
|
+
"schema": {
|
|
42100
|
+
"default": false,
|
|
42101
|
+
"type": "boolean"
|
|
42102
|
+
}
|
|
42103
|
+
}
|
|
42104
|
+
]
|
|
42105
|
+
}
|
|
42106
|
+
},
|
|
42007
42107
|
"/v1.0/tags": {
|
|
42008
42108
|
"get": {
|
|
42009
42109
|
"operationId": "GetTags",
|