@snokam/mcp-api 0.95.10 → 0.96.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snokam/mcp-api",
3
- "version": "0.95.10",
3
+ "version": "0.96.1",
4
4
  "description": "MCP server exposing Snokam backend APIs as tools for Claude Code and other MCP clients",
5
5
  "type": "module",
6
6
  "bin": {
@@ -573,7 +573,7 @@
573
573
  "content": {
574
574
  "application/json": {
575
575
  "schema": {
576
- "$ref": "#/components/schemas/createEvent"
576
+ "$ref": "#/components/schemas/sanityEvent"
577
577
  }
578
578
  }
579
579
  },
@@ -2223,6 +2223,150 @@
2223
2223
  }
2224
2224
  }
2225
2225
  },
2226
+ "sanityEvent": {
2227
+ "type": "object",
2228
+ "properties": {
2229
+ "sanityType": {
2230
+ "enum": [
2231
+ "event"
2232
+ ],
2233
+ "type": "string",
2234
+ "default": "event"
2235
+ },
2236
+ "status": {
2237
+ "enum": [
2238
+ "active",
2239
+ "cancelled"
2240
+ ],
2241
+ "type": "string",
2242
+ "default": "active"
2243
+ },
2244
+ "allowDigitalParticipation": {
2245
+ "type": "boolean"
2246
+ },
2247
+ "askForFeedback": {
2248
+ "type": "boolean"
2249
+ },
2250
+ "category": {
2251
+ "type": "array",
2252
+ "items": {
2253
+ "type": "string"
2254
+ }
2255
+ },
2256
+ "creator": {
2257
+ "$ref": "#/components/schemas/sanityOrderEmployee"
2258
+ },
2259
+ "description": {
2260
+ "type": "string"
2261
+ },
2262
+ "endTime": {
2263
+ "type": "string"
2264
+ },
2265
+ "eventType": {
2266
+ "type": "array",
2267
+ "items": {
2268
+ "$ref": "#/components/schemas/sanityEventEventTypeInner"
2269
+ }
2270
+ },
2271
+ "feedback": {
2272
+ "type": "array",
2273
+ "items": {
2274
+ "$ref": "#/components/schemas/sanityEventFeedbackInner"
2275
+ }
2276
+ },
2277
+ "invitationSent": {
2278
+ "type": "boolean"
2279
+ },
2280
+ "isServingFood": {
2281
+ "type": "boolean"
2282
+ },
2283
+ "linkOnly": {
2284
+ "type": "boolean"
2285
+ },
2286
+ "manualMemoriesApproval": {
2287
+ "type": "boolean"
2288
+ },
2289
+ "maxParticipants": {
2290
+ "type": "number",
2291
+ "format": "double"
2292
+ },
2293
+ "media": {
2294
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsArticlesInnerMedia"
2295
+ },
2296
+ "memories": {
2297
+ "type": "array",
2298
+ "items": {
2299
+ "$ref": "#/components/schemas/sanityEventMemoriesInner"
2300
+ }
2301
+ },
2302
+ "participants": {
2303
+ "type": "array",
2304
+ "items": {
2305
+ "$ref": "#/components/schemas/sanityEventParticipantsInner"
2306
+ }
2307
+ },
2308
+ "participationStart": {
2309
+ "type": "string"
2310
+ },
2311
+ "place": {
2312
+ "type": "string"
2313
+ },
2314
+ "public": {
2315
+ "type": "boolean"
2316
+ },
2317
+ "recurringId": {
2318
+ "type": "string"
2319
+ },
2320
+ "sanityCreatedAt": {
2321
+ "type": "string"
2322
+ },
2323
+ "sanityId": {
2324
+ "type": "string"
2325
+ },
2326
+ "sanityRev": {
2327
+ "type": "string"
2328
+ },
2329
+ "sanityUpdatedAt": {
2330
+ "type": "string"
2331
+ },
2332
+ "slug": {
2333
+ "$ref": "#/components/schemas/slug"
2334
+ },
2335
+ "teamsLink": {
2336
+ "type": "string"
2337
+ },
2338
+ "time": {
2339
+ "type": "string"
2340
+ },
2341
+ "title": {
2342
+ "type": "string"
2343
+ }
2344
+ }
2345
+ },
2346
+ "sanityEventEventTypeInner": {
2347
+ "type": "object",
2348
+ "properties": {
2349
+ "sanityType": {
2350
+ "enum": [
2351
+ "eventType"
2352
+ ],
2353
+ "type": "string",
2354
+ "default": "eventType"
2355
+ },
2356
+ "canSubscribe": {
2357
+ "type": "boolean"
2358
+ },
2359
+ "name": {
2360
+ "type": "string"
2361
+ },
2362
+ "sanityId": {
2363
+ "type": "string"
2364
+ },
2365
+ "slug": {
2366
+ "$ref": "#/components/schemas/slug"
2367
+ }
2368
+ }
2369
+ },
2226
2370
  "sanityEventFeedbackInner": {
2227
2371
  "type": "object",
2228
2372
  "properties": {
@@ -2271,6 +2415,20 @@
2271
2415
  }
2272
2416
  }
2273
2417
  },
2418
+ "sanityEventParticipantsInner": {
2419
+ "type": "object",
2420
+ "properties": {
2421
+ "actualInstance": {
2422
+ "type": "object"
2423
+ },
2424
+ "isNullable": {
2425
+ "type": "boolean"
2426
+ },
2427
+ "schemaType": {
2428
+ "type": "string"
2429
+ }
2430
+ }
2431
+ },
2274
2432
  "sanityImageAssetReference": {
2275
2433
  "type": "object",
2276
2434
  "properties": {
@@ -2331,27 +2331,6 @@
2331
2331
  }
2332
2332
  }
2333
2333
  },
2334
- "pageEmployeeOrderInner": {
2335
- "type": "object",
2336
- "properties": {
2337
- "sanityType": {
2338
- "enum": [
2339
- "reference"
2340
- ],
2341
- "type": "string",
2342
- "default": "reference"
2343
- },
2344
- "sanityKey": {
2345
- "type": "string"
2346
- },
2347
- "sanityRef": {
2348
- "type": "string"
2349
- },
2350
- "sanityWeak": {
2351
- "type": "boolean"
2352
- }
2353
- }
2354
- },
2355
2334
  "pageMetaImage": {
2356
2335
  "type": "object",
2357
2336
  "properties": {
@@ -2899,12 +2878,6 @@
2899
2878
  "eventRef": {
2900
2879
  "$ref": "#/components/schemas/eventReference"
2901
2880
  },
2902
- "interviewers": {
2903
- "type": "array",
2904
- "items": {
2905
- "$ref": "#/components/schemas/pageEmployeeOrderInner"
2906
- }
2907
- },
2908
2881
  "sanityKey": {
2909
2882
  "type": "string"
2910
2883
  },
@@ -3425,12 +3398,6 @@
3425
3398
  "eventRef": {
3426
3399
  "$ref": "#/components/schemas/eventReference"
3427
3400
  },
3428
- "interviewers": {
3429
- "type": "array",
3430
- "items": {
3431
- "$ref": "#/components/schemas/pageEmployeeOrderInner"
3432
- }
3433
- },
3434
3401
  "sanityKey": {
3435
3402
  "type": "string"
3436
3403
  },
@@ -33329,27 +33329,6 @@
33329
33329
  "eventRef": {
33330
33330
  "$ref": "#/components/schemas/EventReference"
33331
33331
  },
33332
- "interviewers": {
33333
- "items": {
33334
- "allOf": [
33335
- {
33336
- "properties": {
33337
- "sanityKey": {
33338
- "type": "string"
33339
- }
33340
- },
33341
- "required": [
33342
- "sanityKey"
33343
- ],
33344
- "type": "object"
33345
- },
33346
- {
33347
- "$ref": "#/components/schemas/EmployeeReference"
33348
- }
33349
- ]
33350
- },
33351
- "type": "array"
33352
- },
33353
33332
  "type": {
33354
33333
  "type": "string",
33355
33334
  "enum": [
@@ -33666,27 +33645,6 @@
33666
33645
  "eventRef": {
33667
33646
  "$ref": "#/components/schemas/EventReference"
33668
33647
  },
33669
- "interviewers": {
33670
- "items": {
33671
- "allOf": [
33672
- {
33673
- "properties": {
33674
- "sanityKey": {
33675
- "type": "string"
33676
- }
33677
- },
33678
- "required": [
33679
- "sanityKey"
33680
- ],
33681
- "type": "object"
33682
- },
33683
- {
33684
- "$ref": "#/components/schemas/EmployeeReference"
33685
- }
33686
- ]
33687
- },
33688
- "type": "array"
33689
- },
33690
33648
  "type": {
33691
33649
  "type": "string",
33692
33650
  "enum": [
@@ -573,7 +573,7 @@
573
573
  "content": {
574
574
  "application/json": {
575
575
  "schema": {
576
- "$ref": "#/components/schemas/createEvent"
576
+ "$ref": "#/components/schemas/sanityEvent"
577
577
  }
578
578
  }
579
579
  },
@@ -2223,6 +2223,150 @@
2223
2223
  }
2224
2224
  }
2225
2225
  },
2226
+ "sanityEvent": {
2227
+ "type": "object",
2228
+ "properties": {
2229
+ "sanityType": {
2230
+ "enum": [
2231
+ "event"
2232
+ ],
2233
+ "type": "string",
2234
+ "default": "event"
2235
+ },
2236
+ "status": {
2237
+ "enum": [
2238
+ "active",
2239
+ "cancelled"
2240
+ ],
2241
+ "type": "string",
2242
+ "default": "active"
2243
+ },
2244
+ "allowDigitalParticipation": {
2245
+ "type": "boolean"
2246
+ },
2247
+ "askForFeedback": {
2248
+ "type": "boolean"
2249
+ },
2250
+ "category": {
2251
+ "type": "array",
2252
+ "items": {
2253
+ "type": "string"
2254
+ }
2255
+ },
2256
+ "creator": {
2257
+ "$ref": "#/components/schemas/sanityOrderEmployee"
2258
+ },
2259
+ "description": {
2260
+ "type": "string"
2261
+ },
2262
+ "endTime": {
2263
+ "type": "string"
2264
+ },
2265
+ "eventType": {
2266
+ "type": "array",
2267
+ "items": {
2268
+ "$ref": "#/components/schemas/sanityEventEventTypeInner"
2269
+ }
2270
+ },
2271
+ "feedback": {
2272
+ "type": "array",
2273
+ "items": {
2274
+ "$ref": "#/components/schemas/sanityEventFeedbackInner"
2275
+ }
2276
+ },
2277
+ "invitationSent": {
2278
+ "type": "boolean"
2279
+ },
2280
+ "isServingFood": {
2281
+ "type": "boolean"
2282
+ },
2283
+ "linkOnly": {
2284
+ "type": "boolean"
2285
+ },
2286
+ "manualMemoriesApproval": {
2287
+ "type": "boolean"
2288
+ },
2289
+ "maxParticipants": {
2290
+ "type": "number",
2291
+ "format": "double"
2292
+ },
2293
+ "media": {
2294
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsArticlesInnerMedia"
2295
+ },
2296
+ "memories": {
2297
+ "type": "array",
2298
+ "items": {
2299
+ "$ref": "#/components/schemas/sanityEventMemoriesInner"
2300
+ }
2301
+ },
2302
+ "participants": {
2303
+ "type": "array",
2304
+ "items": {
2305
+ "$ref": "#/components/schemas/sanityEventParticipantsInner"
2306
+ }
2307
+ },
2308
+ "participationStart": {
2309
+ "type": "string"
2310
+ },
2311
+ "place": {
2312
+ "type": "string"
2313
+ },
2314
+ "public": {
2315
+ "type": "boolean"
2316
+ },
2317
+ "recurringId": {
2318
+ "type": "string"
2319
+ },
2320
+ "sanityCreatedAt": {
2321
+ "type": "string"
2322
+ },
2323
+ "sanityId": {
2324
+ "type": "string"
2325
+ },
2326
+ "sanityRev": {
2327
+ "type": "string"
2328
+ },
2329
+ "sanityUpdatedAt": {
2330
+ "type": "string"
2331
+ },
2332
+ "slug": {
2333
+ "$ref": "#/components/schemas/slug"
2334
+ },
2335
+ "teamsLink": {
2336
+ "type": "string"
2337
+ },
2338
+ "time": {
2339
+ "type": "string"
2340
+ },
2341
+ "title": {
2342
+ "type": "string"
2343
+ }
2344
+ }
2345
+ },
2346
+ "sanityEventEventTypeInner": {
2347
+ "type": "object",
2348
+ "properties": {
2349
+ "sanityType": {
2350
+ "enum": [
2351
+ "eventType"
2352
+ ],
2353
+ "type": "string",
2354
+ "default": "eventType"
2355
+ },
2356
+ "canSubscribe": {
2357
+ "type": "boolean"
2358
+ },
2359
+ "name": {
2360
+ "type": "string"
2361
+ },
2362
+ "sanityId": {
2363
+ "type": "string"
2364
+ },
2365
+ "slug": {
2366
+ "$ref": "#/components/schemas/slug"
2367
+ }
2368
+ }
2369
+ },
2226
2370
  "sanityEventFeedbackInner": {
2227
2371
  "type": "object",
2228
2372
  "properties": {
@@ -2271,6 +2415,20 @@
2271
2415
  }
2272
2416
  }
2273
2417
  },
2418
+ "sanityEventParticipantsInner": {
2419
+ "type": "object",
2420
+ "properties": {
2421
+ "actualInstance": {
2422
+ "type": "object"
2423
+ },
2424
+ "isNullable": {
2425
+ "type": "boolean"
2426
+ },
2427
+ "schemaType": {
2428
+ "type": "string"
2429
+ }
2430
+ }
2431
+ },
2274
2432
  "sanityImageAssetReference": {
2275
2433
  "type": "object",
2276
2434
  "properties": {
@@ -2331,27 +2331,6 @@
2331
2331
  }
2332
2332
  }
2333
2333
  },
2334
- "pageEmployeeOrderInner": {
2335
- "type": "object",
2336
- "properties": {
2337
- "sanityType": {
2338
- "enum": [
2339
- "reference"
2340
- ],
2341
- "type": "string",
2342
- "default": "reference"
2343
- },
2344
- "sanityKey": {
2345
- "type": "string"
2346
- },
2347
- "sanityRef": {
2348
- "type": "string"
2349
- },
2350
- "sanityWeak": {
2351
- "type": "boolean"
2352
- }
2353
- }
2354
- },
2355
2334
  "pageMetaImage": {
2356
2335
  "type": "object",
2357
2336
  "properties": {
@@ -2899,12 +2878,6 @@
2899
2878
  "eventRef": {
2900
2879
  "$ref": "#/components/schemas/eventReference"
2901
2880
  },
2902
- "interviewers": {
2903
- "type": "array",
2904
- "items": {
2905
- "$ref": "#/components/schemas/pageEmployeeOrderInner"
2906
- }
2907
- },
2908
2881
  "sanityKey": {
2909
2882
  "type": "string"
2910
2883
  },
@@ -3425,12 +3398,6 @@
3425
3398
  "eventRef": {
3426
3399
  "$ref": "#/components/schemas/eventReference"
3427
3400
  },
3428
- "interviewers": {
3429
- "type": "array",
3430
- "items": {
3431
- "$ref": "#/components/schemas/pageEmployeeOrderInner"
3432
- }
3433
- },
3434
3401
  "sanityKey": {
3435
3402
  "type": "string"
3436
3403
  },
@@ -33329,27 +33329,6 @@
33329
33329
  "eventRef": {
33330
33330
  "$ref": "#/components/schemas/EventReference"
33331
33331
  },
33332
- "interviewers": {
33333
- "items": {
33334
- "allOf": [
33335
- {
33336
- "properties": {
33337
- "sanityKey": {
33338
- "type": "string"
33339
- }
33340
- },
33341
- "required": [
33342
- "sanityKey"
33343
- ],
33344
- "type": "object"
33345
- },
33346
- {
33347
- "$ref": "#/components/schemas/EmployeeReference"
33348
- }
33349
- ]
33350
- },
33351
- "type": "array"
33352
- },
33353
33332
  "type": {
33354
33333
  "type": "string",
33355
33334
  "enum": [
@@ -33666,27 +33645,6 @@
33666
33645
  "eventRef": {
33667
33646
  "$ref": "#/components/schemas/EventReference"
33668
33647
  },
33669
- "interviewers": {
33670
- "items": {
33671
- "allOf": [
33672
- {
33673
- "properties": {
33674
- "sanityKey": {
33675
- "type": "string"
33676
- }
33677
- },
33678
- "required": [
33679
- "sanityKey"
33680
- ],
33681
- "type": "object"
33682
- },
33683
- {
33684
- "$ref": "#/components/schemas/EmployeeReference"
33685
- }
33686
- ]
33687
- },
33688
- "type": "array"
33689
- },
33690
33648
  "type": {
33691
33649
  "type": "string",
33692
33650
  "enum": [