@snokam/mcp-api 2.44.0 → 2.46.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": {
@@ -29623,6 +29794,90 @@
29623
29794
  },
29624
29795
  "SanityCandidate": {
29625
29796
  "properties": {
29797
+ "bankAccount": {
29798
+ "type": "string"
29799
+ },
29800
+ "tShirtSize": {
29801
+ "type": "string",
29802
+ "enum": [
29803
+ "L",
29804
+ "M",
29805
+ "S",
29806
+ "XL",
29807
+ "XS",
29808
+ "XXL"
29809
+ ]
29810
+ },
29811
+ "address": {
29812
+ "properties": {
29813
+ "city": {
29814
+ "type": "string"
29815
+ },
29816
+ "postalCode": {
29817
+ "type": "string"
29818
+ },
29819
+ "street": {
29820
+ "type": "string"
29821
+ }
29822
+ },
29823
+ "type": "object"
29824
+ },
29825
+ "preferredDisplayName": {
29826
+ "type": "string"
29827
+ },
29828
+ "preferredEmail": {
29829
+ "type": "string"
29830
+ },
29831
+ "profileImage": {
29832
+ "properties": {
29833
+ "asset": {
29834
+ "properties": {
29835
+ "mimeType": {
29836
+ "type": "string"
29837
+ },
29838
+ "originalFilename": {
29839
+ "type": "string",
29840
+ "nullable": true
29841
+ },
29842
+ "url": {
29843
+ "type": "string"
29844
+ },
29845
+ "sanityType": {
29846
+ "type": "string",
29847
+ "enum": [
29848
+ "sanity.imageAsset"
29849
+ ],
29850
+ "nullable": false
29851
+ },
29852
+ "sanityId": {
29853
+ "type": "string"
29854
+ }
29855
+ },
29856
+ "required": [
29857
+ "mimeType",
29858
+ "originalFilename",
29859
+ "url",
29860
+ "sanityType",
29861
+ "sanityId"
29862
+ ],
29863
+ "type": "object",
29864
+ "nullable": true
29865
+ },
29866
+ "sanityType": {
29867
+ "type": "string",
29868
+ "enum": [
29869
+ "image"
29870
+ ],
29871
+ "nullable": false
29872
+ }
29873
+ },
29874
+ "required": [
29875
+ "asset",
29876
+ "sanityType"
29877
+ ],
29878
+ "type": "object",
29879
+ "nullable": true
29880
+ },
29626
29881
  "shortUrl": {
29627
29882
  "type": "string"
29628
29883
  },
@@ -30455,8 +30710,8 @@
30455
30710
  "track": {
30456
30711
  "type": "string",
30457
30712
  "enum": [
30458
- "developer",
30459
- "data_engineer"
30713
+ "data_engineer",
30714
+ "developer"
30460
30715
  ]
30461
30716
  },
30462
30717
  "fromApplication": {
@@ -30471,7 +30726,8 @@
30471
30726
  "OFFER",
30472
30727
  "ONBOARDING",
30473
30728
  "REJECTED",
30474
- "SIGNED"
30729
+ "SIGNED",
30730
+ "USER_CREATION_REVIEW"
30475
30731
  ]
30476
30732
  },
30477
30733
  "candidate": {
@@ -30498,6 +30754,7 @@
30498
30754
  }
30499
30755
  },
30500
30756
  "required": [
30757
+ "profileImage",
30501
30758
  "systemsActive",
30502
30759
  "buddy",
30503
30760
  "recruiter",
@@ -30585,12 +30842,28 @@
30585
30842
  "OFFER",
30586
30843
  "SIGNED",
30587
30844
  "ONBOARDING",
30845
+ "USER_CREATION_REVIEW",
30588
30846
  "OFFBOARDING",
30589
30847
  "REJECTED",
30590
30848
  null
30591
30849
  ],
30592
30850
  "nullable": true
30593
30851
  },
30852
+ "address": {
30853
+ "properties": {
30854
+ "city": {
30855
+ "type": "string"
30856
+ },
30857
+ "postalCode": {
30858
+ "type": "string"
30859
+ },
30860
+ "street": {
30861
+ "type": "string"
30862
+ }
30863
+ },
30864
+ "type": "object",
30865
+ "nullable": true
30866
+ },
30594
30867
  "telephone": {
30595
30868
  "type": "string",
30596
30869
  "nullable": true
@@ -30801,6 +31074,57 @@
30801
31074
  "shortUrl": {
30802
31075
  "type": "string",
30803
31076
  "nullable": true
31077
+ },
31078
+ "profileImage": {
31079
+ "properties": {
31080
+ "sanityType": {
31081
+ "type": "string",
31082
+ "enum": [
31083
+ "image"
31084
+ ],
31085
+ "nullable": false
31086
+ },
31087
+ "crop": {
31088
+ "$ref": "#/components/schemas/SanityImageCrop"
31089
+ },
31090
+ "hotspot": {
31091
+ "$ref": "#/components/schemas/SanityImageHotspot"
31092
+ },
31093
+ "media": {},
31094
+ "asset": {
31095
+ "$ref": "#/components/schemas/SanityImageAssetReference"
31096
+ }
31097
+ },
31098
+ "required": [
31099
+ "sanityType"
31100
+ ],
31101
+ "type": "object",
31102
+ "nullable": true
31103
+ },
31104
+ "preferredEmail": {
31105
+ "type": "string",
31106
+ "nullable": true
31107
+ },
31108
+ "preferredDisplayName": {
31109
+ "type": "string",
31110
+ "nullable": true
31111
+ },
31112
+ "tShirtSize": {
31113
+ "type": "string",
31114
+ "enum": [
31115
+ "XS",
31116
+ "S",
31117
+ "M",
31118
+ "L",
31119
+ "XL",
31120
+ "XXL",
31121
+ null
31122
+ ],
31123
+ "nullable": true
31124
+ },
31125
+ "bankAccount": {
31126
+ "type": "string",
31127
+ "nullable": true
30804
31128
  }
30805
31129
  },
30806
31130
  "type": "object",
@@ -42815,6 +43139,266 @@
42815
43139
  ]
42816
43140
  }
42817
43141
  },
43142
+ "/v1.0/tasks/by-type/{type}": {
43143
+ "get": {
43144
+ "operationId": "GetTasksByType",
43145
+ "responses": {
43146
+ "200": {
43147
+ "description": "Ok",
43148
+ "content": {
43149
+ "application/json": {
43150
+ "schema": {
43151
+ "items": {
43152
+ "$ref": "#/components/schemas/SanityTask"
43153
+ },
43154
+ "type": "array"
43155
+ }
43156
+ }
43157
+ }
43158
+ }
43159
+ },
43160
+ "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.",
43161
+ "tags": [
43162
+ "Tasks"
43163
+ ],
43164
+ "security": [
43165
+ {
43166
+ "Implicit": [
43167
+ "api://3358ac8e-681e-4aeb-bfbf-bb008913c423/.default"
43168
+ ]
43169
+ }
43170
+ ],
43171
+ "parameters": [
43172
+ {
43173
+ "in": "path",
43174
+ "name": "type",
43175
+ "required": true,
43176
+ "schema": {
43177
+ "type": "string",
43178
+ "enum": [
43179
+ "onboarding",
43180
+ "offboarding"
43181
+ ]
43182
+ }
43183
+ },
43184
+ {
43185
+ "in": "query",
43186
+ "name": "useCache",
43187
+ "required": false,
43188
+ "schema": {
43189
+ "default": true,
43190
+ "type": "boolean"
43191
+ }
43192
+ },
43193
+ {
43194
+ "in": "query",
43195
+ "name": "useCdn",
43196
+ "required": false,
43197
+ "schema": {
43198
+ "default": false,
43199
+ "type": "boolean"
43200
+ }
43201
+ }
43202
+ ]
43203
+ }
43204
+ },
43205
+ "/v1.0/tasks/{id}": {
43206
+ "get": {
43207
+ "operationId": "GetTaskById",
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": "Fetch a single task by id.",
43226
+ "tags": [
43227
+ "Tasks"
43228
+ ],
43229
+ "security": [
43230
+ {
43231
+ "Implicit": [
43232
+ "api://3358ac8e-681e-4aeb-bfbf-bb008913c423/.default"
43233
+ ]
43234
+ }
43235
+ ],
43236
+ "parameters": [
43237
+ {
43238
+ "in": "path",
43239
+ "name": "id",
43240
+ "required": true,
43241
+ "schema": {
43242
+ "type": "string"
43243
+ }
43244
+ },
43245
+ {
43246
+ "in": "query",
43247
+ "name": "useCache",
43248
+ "required": false,
43249
+ "schema": {
43250
+ "default": true,
43251
+ "type": "boolean"
43252
+ }
43253
+ },
43254
+ {
43255
+ "in": "query",
43256
+ "name": "useCdn",
43257
+ "required": false,
43258
+ "schema": {
43259
+ "default": false,
43260
+ "type": "boolean"
43261
+ }
43262
+ }
43263
+ ]
43264
+ },
43265
+ "patch": {
43266
+ "operationId": "PatchTask",
43267
+ "responses": {
43268
+ "200": {
43269
+ "description": "Ok",
43270
+ "content": {
43271
+ "application/json": {
43272
+ "schema": {
43273
+ "allOf": [
43274
+ {
43275
+ "$ref": "#/components/schemas/SanityTask"
43276
+ }
43277
+ ],
43278
+ "nullable": true
43279
+ }
43280
+ }
43281
+ }
43282
+ }
43283
+ },
43284
+ "description": "Patch a task. Any omitted field is left unchanged. Pass `null`\nto explicitly clear an optional field (e.g. drop a reminder).",
43285
+ "tags": [
43286
+ "Tasks"
43287
+ ],
43288
+ "security": [
43289
+ {
43290
+ "Implicit": [
43291
+ "api://3358ac8e-681e-4aeb-bfbf-bb008913c423/.default"
43292
+ ]
43293
+ }
43294
+ ],
43295
+ "parameters": [
43296
+ {
43297
+ "in": "path",
43298
+ "name": "id",
43299
+ "required": true,
43300
+ "schema": {
43301
+ "type": "string"
43302
+ }
43303
+ }
43304
+ ],
43305
+ "requestBody": {
43306
+ "required": true,
43307
+ "content": {
43308
+ "application/json": {
43309
+ "schema": {
43310
+ "$ref": "#/components/schemas/SanityPatchTask"
43311
+ }
43312
+ }
43313
+ }
43314
+ }
43315
+ },
43316
+ "delete": {
43317
+ "operationId": "DeleteTask",
43318
+ "responses": {
43319
+ "200": {
43320
+ "description": "Ok",
43321
+ "content": {
43322
+ "application/json": {
43323
+ "schema": {
43324
+ "allOf": [
43325
+ {
43326
+ "$ref": "#/components/schemas/SanityTask"
43327
+ }
43328
+ ],
43329
+ "nullable": true
43330
+ }
43331
+ }
43332
+ }
43333
+ }
43334
+ },
43335
+ "description": "Delete a task. Returns the deleted document so callers can\nupdate their local cache before the next refetch.",
43336
+ "tags": [
43337
+ "Tasks"
43338
+ ],
43339
+ "security": [
43340
+ {
43341
+ "Implicit": [
43342
+ "api://3358ac8e-681e-4aeb-bfbf-bb008913c423/.default"
43343
+ ]
43344
+ }
43345
+ ],
43346
+ "parameters": [
43347
+ {
43348
+ "in": "path",
43349
+ "name": "id",
43350
+ "required": true,
43351
+ "schema": {
43352
+ "type": "string"
43353
+ }
43354
+ }
43355
+ ]
43356
+ }
43357
+ },
43358
+ "/v1.0/tasks": {
43359
+ "post": {
43360
+ "operationId": "CreateTask",
43361
+ "responses": {
43362
+ "200": {
43363
+ "description": "Ok",
43364
+ "content": {
43365
+ "application/json": {
43366
+ "schema": {
43367
+ "allOf": [
43368
+ {
43369
+ "$ref": "#/components/schemas/SanityTask"
43370
+ }
43371
+ ],
43372
+ "nullable": true
43373
+ }
43374
+ }
43375
+ }
43376
+ }
43377
+ },
43378
+ "description": "Create a new onboarding or offboarding task.",
43379
+ "tags": [
43380
+ "Tasks"
43381
+ ],
43382
+ "security": [
43383
+ {
43384
+ "Implicit": [
43385
+ "api://3358ac8e-681e-4aeb-bfbf-bb008913c423/.default"
43386
+ ]
43387
+ }
43388
+ ],
43389
+ "parameters": [],
43390
+ "requestBody": {
43391
+ "required": true,
43392
+ "content": {
43393
+ "application/json": {
43394
+ "schema": {
43395
+ "$ref": "#/components/schemas/SanityCreateTask"
43396
+ }
43397
+ }
43398
+ }
43399
+ }
43400
+ }
43401
+ },
42818
43402
  "/v1.0/tags": {
42819
43403
  "get": {
42820
43404
  "operationId": "GetTags",
@@ -42965,6 +43549,43 @@
42965
43549
  }
42966
43550
  }
42967
43551
  ]
43552
+ },
43553
+ "post": {
43554
+ "operationId": "CreateSystem",
43555
+ "responses": {
43556
+ "200": {
43557
+ "description": "Ok",
43558
+ "content": {
43559
+ "application/json": {
43560
+ "schema": {
43561
+ "$ref": "#/components/schemas/SanitySystems"
43562
+ }
43563
+ }
43564
+ }
43565
+ }
43566
+ },
43567
+ "description": "Create a new system.",
43568
+ "tags": [
43569
+ "Systems"
43570
+ ],
43571
+ "security": [
43572
+ {
43573
+ "Implicit": [
43574
+ "api://3358ac8e-681e-4aeb-bfbf-bb008913c423/.default"
43575
+ ]
43576
+ }
43577
+ ],
43578
+ "parameters": [],
43579
+ "requestBody": {
43580
+ "required": true,
43581
+ "content": {
43582
+ "application/json": {
43583
+ "schema": {
43584
+ "$ref": "#/components/schemas/SanityCreateSystem"
43585
+ }
43586
+ }
43587
+ }
43588
+ }
42968
43589
  }
42969
43590
  },
42970
43591
  "/v1.0/systems/{id}": {
@@ -43020,6 +43641,88 @@
43020
43641
  }
43021
43642
  }
43022
43643
  ]
43644
+ },
43645
+ "patch": {
43646
+ "operationId": "PatchSystem",
43647
+ "responses": {
43648
+ "200": {
43649
+ "description": "Ok",
43650
+ "content": {
43651
+ "application/json": {
43652
+ "schema": {
43653
+ "$ref": "#/components/schemas/SanitySystems"
43654
+ }
43655
+ }
43656
+ }
43657
+ }
43658
+ },
43659
+ "description": "Patch a system. Any omitted field is left unchanged.",
43660
+ "tags": [
43661
+ "Systems"
43662
+ ],
43663
+ "security": [
43664
+ {
43665
+ "Implicit": [
43666
+ "api://3358ac8e-681e-4aeb-bfbf-bb008913c423/.default"
43667
+ ]
43668
+ }
43669
+ ],
43670
+ "parameters": [
43671
+ {
43672
+ "in": "path",
43673
+ "name": "id",
43674
+ "required": true,
43675
+ "schema": {
43676
+ "type": "string"
43677
+ }
43678
+ }
43679
+ ],
43680
+ "requestBody": {
43681
+ "required": true,
43682
+ "content": {
43683
+ "application/json": {
43684
+ "schema": {
43685
+ "$ref": "#/components/schemas/SanityPatchSystem"
43686
+ }
43687
+ }
43688
+ }
43689
+ }
43690
+ },
43691
+ "delete": {
43692
+ "operationId": "DeleteSystem",
43693
+ "responses": {
43694
+ "200": {
43695
+ "description": "Ok",
43696
+ "content": {
43697
+ "application/json": {
43698
+ "schema": {
43699
+ "$ref": "#/components/schemas/SanitySystems"
43700
+ }
43701
+ }
43702
+ }
43703
+ }
43704
+ },
43705
+ "description": "Delete a system by id. Returns the deleted document so callers\ncan update their local cache before the next refetch.",
43706
+ "tags": [
43707
+ "Systems"
43708
+ ],
43709
+ "security": [
43710
+ {
43711
+ "Implicit": [
43712
+ "api://3358ac8e-681e-4aeb-bfbf-bb008913c423/.default"
43713
+ ]
43714
+ }
43715
+ ],
43716
+ "parameters": [
43717
+ {
43718
+ "in": "path",
43719
+ "name": "id",
43720
+ "required": true,
43721
+ "schema": {
43722
+ "type": "string"
43723
+ }
43724
+ }
43725
+ ]
43023
43726
  }
43024
43727
  },
43025
43728
  "/v1.0/subscriptions": {