@snokam/mcp-api 2.44.0 → 2.45.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.
@@ -3278,6 +3278,130 @@
3278
3278
  "type": "object",
3279
3279
  "additionalProperties": true
3280
3280
  },
3281
+ "SanityTask": {
3282
+ "properties": {
3283
+ "sanityId": {
3284
+ "type": "string"
3285
+ },
3286
+ "sanityType": {
3287
+ "type": "string"
3288
+ },
3289
+ "sanityCreatedAt": {
3290
+ "type": "string"
3291
+ },
3292
+ "sanityUpdatedAt": {
3293
+ "type": "string"
3294
+ },
3295
+ "sanityRev": {
3296
+ "type": "string"
3297
+ },
3298
+ "title": {
3299
+ "type": "string"
3300
+ },
3301
+ "type": {
3302
+ "type": "string",
3303
+ "enum": [
3304
+ "onboarding",
3305
+ "offboarding"
3306
+ ]
3307
+ },
3308
+ "description": {
3309
+ "items": {},
3310
+ "type": "array",
3311
+ "nullable": true,
3312
+ "description": "Portable Text notes/instructions attached to this task."
3313
+ },
3314
+ "reminderWeeksBefore": {
3315
+ "type": "number",
3316
+ "format": "double",
3317
+ "nullable": true
3318
+ },
3319
+ "reminderSlackChannel": {
3320
+ "type": "string",
3321
+ "nullable": true
3322
+ }
3323
+ },
3324
+ "required": [
3325
+ "sanityId",
3326
+ "sanityType",
3327
+ "sanityCreatedAt",
3328
+ "sanityUpdatedAt",
3329
+ "sanityRev",
3330
+ "title",
3331
+ "type",
3332
+ "description",
3333
+ "reminderWeeksBefore",
3334
+ "reminderSlackChannel"
3335
+ ],
3336
+ "type": "object",
3337
+ "additionalProperties": true
3338
+ },
3339
+ "SanityCreateTask": {
3340
+ "description": "Shape used to create a new task. `description` is Portable Text — callers\nin the admin typically pass a simple single-block paragraph.",
3341
+ "properties": {
3342
+ "title": {
3343
+ "type": "string"
3344
+ },
3345
+ "type": {
3346
+ "type": "string",
3347
+ "enum": [
3348
+ "onboarding",
3349
+ "offboarding"
3350
+ ]
3351
+ },
3352
+ "description": {
3353
+ "items": {},
3354
+ "type": "array",
3355
+ "nullable": true
3356
+ },
3357
+ "reminderWeeksBefore": {
3358
+ "type": "number",
3359
+ "format": "double",
3360
+ "nullable": true
3361
+ },
3362
+ "reminderSlackChannel": {
3363
+ "type": "string",
3364
+ "nullable": true
3365
+ }
3366
+ },
3367
+ "required": [
3368
+ "title",
3369
+ "type"
3370
+ ],
3371
+ "type": "object",
3372
+ "additionalProperties": true
3373
+ },
3374
+ "SanityPatchTask": {
3375
+ "description": "Partial update. Any field omitted is left unchanged.",
3376
+ "properties": {
3377
+ "title": {
3378
+ "type": "string"
3379
+ },
3380
+ "type": {
3381
+ "type": "string",
3382
+ "enum": [
3383
+ "onboarding",
3384
+ "offboarding"
3385
+ ]
3386
+ },
3387
+ "description": {
3388
+ "items": {},
3389
+ "type": "array",
3390
+ "nullable": true
3391
+ },
3392
+ "reminderWeeksBefore": {
3393
+ "type": "number",
3394
+ "format": "double",
3395
+ "nullable": true
3396
+ },
3397
+ "reminderSlackChannel": {
3398
+ "type": "string",
3399
+ "nullable": true
3400
+ }
3401
+ },
3402
+ "type": "object",
3403
+ "additionalProperties": true
3404
+ },
3281
3405
  "SanityTag": {
3282
3406
  "properties": {
3283
3407
  "slug": {
@@ -3741,6 +3865,53 @@
3741
3865
  },
3742
3866
  "type": "array"
3743
3867
  },
3868
+ "SanityCreateSystem": {
3869
+ "description": "Shape used to create a new system. Links are plain URL strings;\ndescription is Portable Text (the schema stores it as a block array).",
3870
+ "properties": {
3871
+ "title": {
3872
+ "type": "string"
3873
+ },
3874
+ "links": {
3875
+ "items": {
3876
+ "type": "string"
3877
+ },
3878
+ "type": "array",
3879
+ "nullable": true
3880
+ },
3881
+ "description": {
3882
+ "items": {},
3883
+ "type": "array",
3884
+ "nullable": true
3885
+ }
3886
+ },
3887
+ "required": [
3888
+ "title"
3889
+ ],
3890
+ "type": "object",
3891
+ "additionalProperties": true
3892
+ },
3893
+ "SanityPatchSystem": {
3894
+ "description": "Partial update. Any omitted field is left unchanged.",
3895
+ "properties": {
3896
+ "title": {
3897
+ "type": "string"
3898
+ },
3899
+ "links": {
3900
+ "items": {
3901
+ "type": "string"
3902
+ },
3903
+ "type": "array",
3904
+ "nullable": true
3905
+ },
3906
+ "description": {
3907
+ "items": {},
3908
+ "type": "array",
3909
+ "nullable": true
3910
+ }
3911
+ },
3912
+ "type": "object",
3913
+ "additionalProperties": true
3914
+ },
3744
3915
  "SubscriptionListItemRef": {
3745
3916
  "properties": {
3746
3917
  "sanityId": {
@@ -30455,8 +30626,8 @@
30455
30626
  "track": {
30456
30627
  "type": "string",
30457
30628
  "enum": [
30458
- "developer",
30459
- "data_engineer"
30629
+ "data_engineer",
30630
+ "developer"
30460
30631
  ]
30461
30632
  },
30462
30633
  "fromApplication": {
@@ -42815,6 +42986,266 @@
42815
42986
  ]
42816
42987
  }
42817
42988
  },
42989
+ "/v1.0/tasks/by-type/{type}": {
42990
+ "get": {
42991
+ "operationId": "GetTasksByType",
42992
+ "responses": {
42993
+ "200": {
42994
+ "description": "Ok",
42995
+ "content": {
42996
+ "application/json": {
42997
+ "schema": {
42998
+ "items": {
42999
+ "$ref": "#/components/schemas/SanityTask"
43000
+ },
43001
+ "type": "array"
43002
+ }
43003
+ }
43004
+ }
43005
+ }
43006
+ },
43007
+ "description": "Returns every task of the given type (onboarding or offboarding)\nwith its Portable Text description so the admin panel can render\nthe checklist with contextual notes.",
43008
+ "tags": [
43009
+ "Tasks"
43010
+ ],
43011
+ "security": [
43012
+ {
43013
+ "Implicit": [
43014
+ "api://3358ac8e-681e-4aeb-bfbf-bb008913c423/.default"
43015
+ ]
43016
+ }
43017
+ ],
43018
+ "parameters": [
43019
+ {
43020
+ "in": "path",
43021
+ "name": "type",
43022
+ "required": true,
43023
+ "schema": {
43024
+ "type": "string",
43025
+ "enum": [
43026
+ "onboarding",
43027
+ "offboarding"
43028
+ ]
43029
+ }
43030
+ },
43031
+ {
43032
+ "in": "query",
43033
+ "name": "useCache",
43034
+ "required": false,
43035
+ "schema": {
43036
+ "default": true,
43037
+ "type": "boolean"
43038
+ }
43039
+ },
43040
+ {
43041
+ "in": "query",
43042
+ "name": "useCdn",
43043
+ "required": false,
43044
+ "schema": {
43045
+ "default": false,
43046
+ "type": "boolean"
43047
+ }
43048
+ }
43049
+ ]
43050
+ }
43051
+ },
43052
+ "/v1.0/tasks/{id}": {
43053
+ "get": {
43054
+ "operationId": "GetTaskById",
43055
+ "responses": {
43056
+ "200": {
43057
+ "description": "Ok",
43058
+ "content": {
43059
+ "application/json": {
43060
+ "schema": {
43061
+ "allOf": [
43062
+ {
43063
+ "$ref": "#/components/schemas/SanityTask"
43064
+ }
43065
+ ],
43066
+ "nullable": true
43067
+ }
43068
+ }
43069
+ }
43070
+ }
43071
+ },
43072
+ "description": "Fetch a single task by id.",
43073
+ "tags": [
43074
+ "Tasks"
43075
+ ],
43076
+ "security": [
43077
+ {
43078
+ "Implicit": [
43079
+ "api://3358ac8e-681e-4aeb-bfbf-bb008913c423/.default"
43080
+ ]
43081
+ }
43082
+ ],
43083
+ "parameters": [
43084
+ {
43085
+ "in": "path",
43086
+ "name": "id",
43087
+ "required": true,
43088
+ "schema": {
43089
+ "type": "string"
43090
+ }
43091
+ },
43092
+ {
43093
+ "in": "query",
43094
+ "name": "useCache",
43095
+ "required": false,
43096
+ "schema": {
43097
+ "default": true,
43098
+ "type": "boolean"
43099
+ }
43100
+ },
43101
+ {
43102
+ "in": "query",
43103
+ "name": "useCdn",
43104
+ "required": false,
43105
+ "schema": {
43106
+ "default": false,
43107
+ "type": "boolean"
43108
+ }
43109
+ }
43110
+ ]
43111
+ },
43112
+ "patch": {
43113
+ "operationId": "PatchTask",
43114
+ "responses": {
43115
+ "200": {
43116
+ "description": "Ok",
43117
+ "content": {
43118
+ "application/json": {
43119
+ "schema": {
43120
+ "allOf": [
43121
+ {
43122
+ "$ref": "#/components/schemas/SanityTask"
43123
+ }
43124
+ ],
43125
+ "nullable": true
43126
+ }
43127
+ }
43128
+ }
43129
+ }
43130
+ },
43131
+ "description": "Patch a task. Any omitted field is left unchanged. Pass `null`\nto explicitly clear an optional field (e.g. drop a reminder).",
43132
+ "tags": [
43133
+ "Tasks"
43134
+ ],
43135
+ "security": [
43136
+ {
43137
+ "Implicit": [
43138
+ "api://3358ac8e-681e-4aeb-bfbf-bb008913c423/.default"
43139
+ ]
43140
+ }
43141
+ ],
43142
+ "parameters": [
43143
+ {
43144
+ "in": "path",
43145
+ "name": "id",
43146
+ "required": true,
43147
+ "schema": {
43148
+ "type": "string"
43149
+ }
43150
+ }
43151
+ ],
43152
+ "requestBody": {
43153
+ "required": true,
43154
+ "content": {
43155
+ "application/json": {
43156
+ "schema": {
43157
+ "$ref": "#/components/schemas/SanityPatchTask"
43158
+ }
43159
+ }
43160
+ }
43161
+ }
43162
+ },
43163
+ "delete": {
43164
+ "operationId": "DeleteTask",
43165
+ "responses": {
43166
+ "200": {
43167
+ "description": "Ok",
43168
+ "content": {
43169
+ "application/json": {
43170
+ "schema": {
43171
+ "allOf": [
43172
+ {
43173
+ "$ref": "#/components/schemas/SanityTask"
43174
+ }
43175
+ ],
43176
+ "nullable": true
43177
+ }
43178
+ }
43179
+ }
43180
+ }
43181
+ },
43182
+ "description": "Delete a task. Returns the deleted document so callers can\nupdate their local cache before the next refetch.",
43183
+ "tags": [
43184
+ "Tasks"
43185
+ ],
43186
+ "security": [
43187
+ {
43188
+ "Implicit": [
43189
+ "api://3358ac8e-681e-4aeb-bfbf-bb008913c423/.default"
43190
+ ]
43191
+ }
43192
+ ],
43193
+ "parameters": [
43194
+ {
43195
+ "in": "path",
43196
+ "name": "id",
43197
+ "required": true,
43198
+ "schema": {
43199
+ "type": "string"
43200
+ }
43201
+ }
43202
+ ]
43203
+ }
43204
+ },
43205
+ "/v1.0/tasks": {
43206
+ "post": {
43207
+ "operationId": "CreateTask",
43208
+ "responses": {
43209
+ "200": {
43210
+ "description": "Ok",
43211
+ "content": {
43212
+ "application/json": {
43213
+ "schema": {
43214
+ "allOf": [
43215
+ {
43216
+ "$ref": "#/components/schemas/SanityTask"
43217
+ }
43218
+ ],
43219
+ "nullable": true
43220
+ }
43221
+ }
43222
+ }
43223
+ }
43224
+ },
43225
+ "description": "Create a new onboarding or offboarding task.",
43226
+ "tags": [
43227
+ "Tasks"
43228
+ ],
43229
+ "security": [
43230
+ {
43231
+ "Implicit": [
43232
+ "api://3358ac8e-681e-4aeb-bfbf-bb008913c423/.default"
43233
+ ]
43234
+ }
43235
+ ],
43236
+ "parameters": [],
43237
+ "requestBody": {
43238
+ "required": true,
43239
+ "content": {
43240
+ "application/json": {
43241
+ "schema": {
43242
+ "$ref": "#/components/schemas/SanityCreateTask"
43243
+ }
43244
+ }
43245
+ }
43246
+ }
43247
+ }
43248
+ },
42818
43249
  "/v1.0/tags": {
42819
43250
  "get": {
42820
43251
  "operationId": "GetTags",
@@ -42965,6 +43396,43 @@
42965
43396
  }
42966
43397
  }
42967
43398
  ]
43399
+ },
43400
+ "post": {
43401
+ "operationId": "CreateSystem",
43402
+ "responses": {
43403
+ "200": {
43404
+ "description": "Ok",
43405
+ "content": {
43406
+ "application/json": {
43407
+ "schema": {
43408
+ "$ref": "#/components/schemas/SanitySystems"
43409
+ }
43410
+ }
43411
+ }
43412
+ }
43413
+ },
43414
+ "description": "Create a new system.",
43415
+ "tags": [
43416
+ "Systems"
43417
+ ],
43418
+ "security": [
43419
+ {
43420
+ "Implicit": [
43421
+ "api://3358ac8e-681e-4aeb-bfbf-bb008913c423/.default"
43422
+ ]
43423
+ }
43424
+ ],
43425
+ "parameters": [],
43426
+ "requestBody": {
43427
+ "required": true,
43428
+ "content": {
43429
+ "application/json": {
43430
+ "schema": {
43431
+ "$ref": "#/components/schemas/SanityCreateSystem"
43432
+ }
43433
+ }
43434
+ }
43435
+ }
42968
43436
  }
42969
43437
  },
42970
43438
  "/v1.0/systems/{id}": {
@@ -43020,6 +43488,88 @@
43020
43488
  }
43021
43489
  }
43022
43490
  ]
43491
+ },
43492
+ "patch": {
43493
+ "operationId": "PatchSystem",
43494
+ "responses": {
43495
+ "200": {
43496
+ "description": "Ok",
43497
+ "content": {
43498
+ "application/json": {
43499
+ "schema": {
43500
+ "$ref": "#/components/schemas/SanitySystems"
43501
+ }
43502
+ }
43503
+ }
43504
+ }
43505
+ },
43506
+ "description": "Patch a system. Any omitted field is left unchanged.",
43507
+ "tags": [
43508
+ "Systems"
43509
+ ],
43510
+ "security": [
43511
+ {
43512
+ "Implicit": [
43513
+ "api://3358ac8e-681e-4aeb-bfbf-bb008913c423/.default"
43514
+ ]
43515
+ }
43516
+ ],
43517
+ "parameters": [
43518
+ {
43519
+ "in": "path",
43520
+ "name": "id",
43521
+ "required": true,
43522
+ "schema": {
43523
+ "type": "string"
43524
+ }
43525
+ }
43526
+ ],
43527
+ "requestBody": {
43528
+ "required": true,
43529
+ "content": {
43530
+ "application/json": {
43531
+ "schema": {
43532
+ "$ref": "#/components/schemas/SanityPatchSystem"
43533
+ }
43534
+ }
43535
+ }
43536
+ }
43537
+ },
43538
+ "delete": {
43539
+ "operationId": "DeleteSystem",
43540
+ "responses": {
43541
+ "200": {
43542
+ "description": "Ok",
43543
+ "content": {
43544
+ "application/json": {
43545
+ "schema": {
43546
+ "$ref": "#/components/schemas/SanitySystems"
43547
+ }
43548
+ }
43549
+ }
43550
+ }
43551
+ },
43552
+ "description": "Delete a system by id. Returns the deleted document so callers\ncan update their local cache before the next refetch.",
43553
+ "tags": [
43554
+ "Systems"
43555
+ ],
43556
+ "security": [
43557
+ {
43558
+ "Implicit": [
43559
+ "api://3358ac8e-681e-4aeb-bfbf-bb008913c423/.default"
43560
+ ]
43561
+ }
43562
+ ],
43563
+ "parameters": [
43564
+ {
43565
+ "in": "path",
43566
+ "name": "id",
43567
+ "required": true,
43568
+ "schema": {
43569
+ "type": "string"
43570
+ }
43571
+ }
43572
+ ]
43023
43573
  }
43024
43574
  },
43025
43575
  "/v1.0/subscriptions": {