@snokam/mcp-api 0.63.1 → 0.64.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.63.1",
3
+ "version": "0.64.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": {
@@ -46398,6 +46398,312 @@
46398
46398
  ],
46399
46399
  "type": "object",
46400
46400
  "nullable": true
46401
+ },
46402
+ "Annualevent": {
46403
+ "properties": {
46404
+ "link": {
46405
+ "type": "string"
46406
+ },
46407
+ "time": {
46408
+ "type": "string"
46409
+ },
46410
+ "daysBeforeEventForNotification": {
46411
+ "type": "number",
46412
+ "format": "double"
46413
+ },
46414
+ "SmsRecipients": {
46415
+ "items": {
46416
+ "allOf": [
46417
+ {
46418
+ "properties": {
46419
+ "sanityKey": {
46420
+ "type": "string"
46421
+ }
46422
+ },
46423
+ "required": [
46424
+ "sanityKey"
46425
+ ],
46426
+ "type": "object"
46427
+ },
46428
+ {
46429
+ "$ref": "#/components/schemas/EmployeeReference"
46430
+ }
46431
+ ]
46432
+ },
46433
+ "type": "array"
46434
+ },
46435
+ "title": {
46436
+ "type": "string"
46437
+ },
46438
+ "sanityType": {
46439
+ "type": "string",
46440
+ "enum": [
46441
+ "annualevent"
46442
+ ],
46443
+ "nullable": false
46444
+ }
46445
+ },
46446
+ "required": [
46447
+ "time",
46448
+ "title",
46449
+ "sanityType"
46450
+ ],
46451
+ "type": "object"
46452
+ },
46453
+ "SanityCreate_AnnualWheel_": {
46454
+ "properties": {
46455
+ "events": {
46456
+ "items": {
46457
+ "allOf": [
46458
+ {
46459
+ "properties": {
46460
+ "sanityKey": {
46461
+ "type": "string"
46462
+ }
46463
+ },
46464
+ "required": [
46465
+ "sanityKey"
46466
+ ],
46467
+ "type": "object"
46468
+ },
46469
+ {
46470
+ "$ref": "#/components/schemas/Annualevent"
46471
+ }
46472
+ ]
46473
+ },
46474
+ "type": "array"
46475
+ },
46476
+ "daysBeforeEventForNotification": {
46477
+ "type": "number",
46478
+ "format": "double"
46479
+ },
46480
+ "smsRecipients": {
46481
+ "items": {
46482
+ "allOf": [
46483
+ {
46484
+ "properties": {
46485
+ "sanityKey": {
46486
+ "type": "string"
46487
+ }
46488
+ },
46489
+ "required": [
46490
+ "sanityKey"
46491
+ ],
46492
+ "type": "object"
46493
+ },
46494
+ {
46495
+ "$ref": "#/components/schemas/EmployeeReference"
46496
+ }
46497
+ ]
46498
+ },
46499
+ "type": "array"
46500
+ },
46501
+ "slackChannelId": {
46502
+ "type": "string"
46503
+ },
46504
+ "title": {
46505
+ "type": "string"
46506
+ },
46507
+ "sanityType": {
46508
+ "type": "string",
46509
+ "enum": [
46510
+ "annualWheel"
46511
+ ],
46512
+ "nullable": false
46513
+ }
46514
+ },
46515
+ "required": [
46516
+ "events",
46517
+ "smsRecipients",
46518
+ "title",
46519
+ "sanityType"
46520
+ ],
46521
+ "type": "object"
46522
+ },
46523
+ "SanityCreateAnnualWheel": {
46524
+ "$ref": "#/components/schemas/SanityCreate_AnnualWheel_"
46525
+ },
46526
+ "SanityPatch_AnnualWheel_": {
46527
+ "properties": {
46528
+ "sanityType": {
46529
+ "type": "string",
46530
+ "enum": [
46531
+ "annualWheel",
46532
+ null
46533
+ ],
46534
+ "nullable": true
46535
+ },
46536
+ "title": {
46537
+ "type": "string",
46538
+ "nullable": true
46539
+ },
46540
+ "slackChannelId": {
46541
+ "type": "string",
46542
+ "nullable": true
46543
+ },
46544
+ "smsRecipients": {
46545
+ "items": {
46546
+ "allOf": [
46547
+ {
46548
+ "properties": {
46549
+ "sanityKey": {
46550
+ "type": "string"
46551
+ }
46552
+ },
46553
+ "required": [
46554
+ "sanityKey"
46555
+ ],
46556
+ "type": "object"
46557
+ },
46558
+ {
46559
+ "$ref": "#/components/schemas/EmployeeReference"
46560
+ }
46561
+ ]
46562
+ },
46563
+ "type": "array",
46564
+ "nullable": true
46565
+ },
46566
+ "daysBeforeEventForNotification": {
46567
+ "type": "number",
46568
+ "format": "double",
46569
+ "nullable": true
46570
+ },
46571
+ "events": {
46572
+ "items": {
46573
+ "allOf": [
46574
+ {
46575
+ "properties": {
46576
+ "sanityKey": {
46577
+ "type": "string"
46578
+ }
46579
+ },
46580
+ "required": [
46581
+ "sanityKey"
46582
+ ],
46583
+ "type": "object"
46584
+ },
46585
+ {
46586
+ "$ref": "#/components/schemas/Annualevent"
46587
+ }
46588
+ ]
46589
+ },
46590
+ "type": "array",
46591
+ "nullable": true
46592
+ }
46593
+ },
46594
+ "type": "object"
46595
+ },
46596
+ "SanityPatchAnnualWheel": {
46597
+ "$ref": "#/components/schemas/SanityPatch_AnnualWheel_"
46598
+ },
46599
+ "SanityCreate_Annualevent_": {
46600
+ "properties": {
46601
+ "SmsRecipients": {
46602
+ "items": {
46603
+ "allOf": [
46604
+ {
46605
+ "properties": {
46606
+ "sanityKey": {
46607
+ "type": "string"
46608
+ }
46609
+ },
46610
+ "required": [
46611
+ "sanityKey"
46612
+ ],
46613
+ "type": "object"
46614
+ },
46615
+ {
46616
+ "$ref": "#/components/schemas/EmployeeReference"
46617
+ }
46618
+ ]
46619
+ },
46620
+ "type": "array"
46621
+ },
46622
+ "daysBeforeEventForNotification": {
46623
+ "type": "number",
46624
+ "format": "double"
46625
+ },
46626
+ "time": {
46627
+ "type": "string"
46628
+ },
46629
+ "title": {
46630
+ "type": "string"
46631
+ },
46632
+ "link": {
46633
+ "type": "string"
46634
+ },
46635
+ "sanityType": {
46636
+ "type": "string",
46637
+ "enum": [
46638
+ "annualevent"
46639
+ ],
46640
+ "nullable": false
46641
+ }
46642
+ },
46643
+ "required": [
46644
+ "time",
46645
+ "title",
46646
+ "sanityType"
46647
+ ],
46648
+ "type": "object"
46649
+ },
46650
+ "SanityCreateAnnualWheelEvent": {
46651
+ "$ref": "#/components/schemas/SanityCreate_Annualevent_"
46652
+ },
46653
+ "SanityPatch_Annualevent_": {
46654
+ "properties": {
46655
+ "sanityType": {
46656
+ "type": "string",
46657
+ "enum": [
46658
+ "annualevent",
46659
+ null
46660
+ ],
46661
+ "nullable": true
46662
+ },
46663
+ "link": {
46664
+ "type": "string",
46665
+ "nullable": true
46666
+ },
46667
+ "title": {
46668
+ "type": "string",
46669
+ "nullable": true
46670
+ },
46671
+ "time": {
46672
+ "type": "string",
46673
+ "nullable": true
46674
+ },
46675
+ "daysBeforeEventForNotification": {
46676
+ "type": "number",
46677
+ "format": "double",
46678
+ "nullable": true
46679
+ },
46680
+ "SmsRecipients": {
46681
+ "items": {
46682
+ "allOf": [
46683
+ {
46684
+ "properties": {
46685
+ "sanityKey": {
46686
+ "type": "string"
46687
+ }
46688
+ },
46689
+ "required": [
46690
+ "sanityKey"
46691
+ ],
46692
+ "type": "object"
46693
+ },
46694
+ {
46695
+ "$ref": "#/components/schemas/EmployeeReference"
46696
+ }
46697
+ ]
46698
+ },
46699
+ "type": "array",
46700
+ "nullable": true
46701
+ }
46702
+ },
46703
+ "type": "object"
46704
+ },
46705
+ "SanityPatchAnnualWheelEvent": {
46706
+ "$ref": "#/components/schemas/SanityPatch_Annualevent_"
46401
46707
  }
46402
46708
  },
46403
46709
  "securitySchemes": {
@@ -55605,6 +55911,43 @@
55605
55911
  }
55606
55912
  }
55607
55913
  ]
55914
+ },
55915
+ "post": {
55916
+ "operationId": "CreateAnnualWheel",
55917
+ "responses": {
55918
+ "200": {
55919
+ "description": "Ok",
55920
+ "content": {
55921
+ "application/json": {
55922
+ "schema": {
55923
+ "$ref": "#/components/schemas/SanityAnnualWheel"
55924
+ }
55925
+ }
55926
+ }
55927
+ }
55928
+ },
55929
+ "description": "Create a new Annual Wheel document.",
55930
+ "tags": [
55931
+ "Annual wheels"
55932
+ ],
55933
+ "security": [
55934
+ {
55935
+ "Implicit": [
55936
+ "api://3358ac8e-681e-4aeb-bfbf-bb008913c423/.default"
55937
+ ]
55938
+ }
55939
+ ],
55940
+ "parameters": [],
55941
+ "requestBody": {
55942
+ "required": true,
55943
+ "content": {
55944
+ "application/json": {
55945
+ "schema": {
55946
+ "$ref": "#/components/schemas/SanityCreateAnnualWheel"
55947
+ }
55948
+ }
55949
+ }
55950
+ }
55608
55951
  }
55609
55952
  },
55610
55953
  "/v1.0/annual-wheels/{id}": {
@@ -55660,6 +56003,208 @@
55660
56003
  }
55661
56004
  }
55662
56005
  ]
56006
+ },
56007
+ "patch": {
56008
+ "operationId": "PatchAnnualWheel",
56009
+ "responses": {
56010
+ "200": {
56011
+ "description": "Ok",
56012
+ "content": {
56013
+ "application/json": {
56014
+ "schema": {
56015
+ "$ref": "#/components/schemas/SanityAnnualWheel"
56016
+ }
56017
+ }
56018
+ }
56019
+ }
56020
+ },
56021
+ "description": "Update top-level fields on an Annual Wheel. Any omitted field is left unchanged.",
56022
+ "tags": [
56023
+ "Annual wheels"
56024
+ ],
56025
+ "security": [
56026
+ {
56027
+ "Implicit": [
56028
+ "api://3358ac8e-681e-4aeb-bfbf-bb008913c423/.default"
56029
+ ]
56030
+ }
56031
+ ],
56032
+ "parameters": [
56033
+ {
56034
+ "in": "path",
56035
+ "name": "id",
56036
+ "required": true,
56037
+ "schema": {
56038
+ "type": "string"
56039
+ }
56040
+ }
56041
+ ],
56042
+ "requestBody": {
56043
+ "required": true,
56044
+ "content": {
56045
+ "application/json": {
56046
+ "schema": {
56047
+ "$ref": "#/components/schemas/SanityPatchAnnualWheel"
56048
+ }
56049
+ }
56050
+ }
56051
+ }
56052
+ }
56053
+ },
56054
+ "/v1.0/annual-wheels/{id}/events": {
56055
+ "post": {
56056
+ "operationId": "CreateAnnualWheelEvent",
56057
+ "responses": {
56058
+ "200": {
56059
+ "description": "Ok",
56060
+ "content": {
56061
+ "application/json": {
56062
+ "schema": {
56063
+ "properties": {
56064
+ "key": {
56065
+ "type": "string"
56066
+ }
56067
+ },
56068
+ "required": [
56069
+ "key"
56070
+ ],
56071
+ "type": "object"
56072
+ }
56073
+ }
56074
+ }
56075
+ }
56076
+ },
56077
+ "description": "Add a new event to an Annual Wheel's `events` array.\nReturns the `_key` of the newly created event.\nEvent `time` format: `<day>.<month>`, e.g. `\"1.8\"` for August 1.",
56078
+ "tags": [
56079
+ "Annual wheels"
56080
+ ],
56081
+ "security": [
56082
+ {
56083
+ "Implicit": [
56084
+ "api://3358ac8e-681e-4aeb-bfbf-bb008913c423/.default"
56085
+ ]
56086
+ }
56087
+ ],
56088
+ "parameters": [
56089
+ {
56090
+ "in": "path",
56091
+ "name": "id",
56092
+ "required": true,
56093
+ "schema": {
56094
+ "type": "string"
56095
+ }
56096
+ }
56097
+ ],
56098
+ "requestBody": {
56099
+ "required": true,
56100
+ "content": {
56101
+ "application/json": {
56102
+ "schema": {
56103
+ "$ref": "#/components/schemas/SanityCreateAnnualWheelEvent"
56104
+ }
56105
+ }
56106
+ }
56107
+ }
56108
+ }
56109
+ },
56110
+ "/v1.0/annual-wheels/{id}/events/{eventKey}": {
56111
+ "patch": {
56112
+ "operationId": "PatchAnnualWheelEvent",
56113
+ "responses": {
56114
+ "200": {
56115
+ "description": "Ok",
56116
+ "content": {
56117
+ "application/json": {
56118
+ "schema": {
56119
+ "$ref": "#/components/schemas/SanityAnnualWheel"
56120
+ }
56121
+ }
56122
+ }
56123
+ }
56124
+ },
56125
+ "description": "Update an existing event inside an Annual Wheel.\n`eventKey` is the `_key` of the event (returned when it was created).\nAny omitted field is left unchanged.",
56126
+ "tags": [
56127
+ "Annual wheels"
56128
+ ],
56129
+ "security": [
56130
+ {
56131
+ "Implicit": [
56132
+ "api://3358ac8e-681e-4aeb-bfbf-bb008913c423/.default"
56133
+ ]
56134
+ }
56135
+ ],
56136
+ "parameters": [
56137
+ {
56138
+ "in": "path",
56139
+ "name": "id",
56140
+ "required": true,
56141
+ "schema": {
56142
+ "type": "string"
56143
+ }
56144
+ },
56145
+ {
56146
+ "in": "path",
56147
+ "name": "eventKey",
56148
+ "required": true,
56149
+ "schema": {
56150
+ "type": "string"
56151
+ }
56152
+ }
56153
+ ],
56154
+ "requestBody": {
56155
+ "required": true,
56156
+ "content": {
56157
+ "application/json": {
56158
+ "schema": {
56159
+ "$ref": "#/components/schemas/SanityPatchAnnualWheelEvent"
56160
+ }
56161
+ }
56162
+ }
56163
+ }
56164
+ },
56165
+ "delete": {
56166
+ "operationId": "DeleteAnnualWheelEvent",
56167
+ "responses": {
56168
+ "200": {
56169
+ "description": "Ok",
56170
+ "content": {
56171
+ "application/json": {
56172
+ "schema": {
56173
+ "$ref": "#/components/schemas/SanityAnnualWheel"
56174
+ }
56175
+ }
56176
+ }
56177
+ }
56178
+ },
56179
+ "description": "Remove an event from an Annual Wheel.\n`eventKey` is the `_key` of the event to remove.",
56180
+ "tags": [
56181
+ "Annual wheels"
56182
+ ],
56183
+ "security": [
56184
+ {
56185
+ "Implicit": [
56186
+ "api://3358ac8e-681e-4aeb-bfbf-bb008913c423/.default"
56187
+ ]
56188
+ }
56189
+ ],
56190
+ "parameters": [
56191
+ {
56192
+ "in": "path",
56193
+ "name": "id",
56194
+ "required": true,
56195
+ "schema": {
56196
+ "type": "string"
56197
+ }
56198
+ },
56199
+ {
56200
+ "in": "path",
56201
+ "name": "eventKey",
56202
+ "required": true,
56203
+ "schema": {
56204
+ "type": "string"
56205
+ }
56206
+ }
56207
+ ]
55663
56208
  }
55664
56209
  }
55665
56210
  },
@@ -46398,6 +46398,312 @@
46398
46398
  ],
46399
46399
  "type": "object",
46400
46400
  "nullable": true
46401
+ },
46402
+ "Annualevent": {
46403
+ "properties": {
46404
+ "link": {
46405
+ "type": "string"
46406
+ },
46407
+ "time": {
46408
+ "type": "string"
46409
+ },
46410
+ "daysBeforeEventForNotification": {
46411
+ "type": "number",
46412
+ "format": "double"
46413
+ },
46414
+ "SmsRecipients": {
46415
+ "items": {
46416
+ "allOf": [
46417
+ {
46418
+ "properties": {
46419
+ "sanityKey": {
46420
+ "type": "string"
46421
+ }
46422
+ },
46423
+ "required": [
46424
+ "sanityKey"
46425
+ ],
46426
+ "type": "object"
46427
+ },
46428
+ {
46429
+ "$ref": "#/components/schemas/EmployeeReference"
46430
+ }
46431
+ ]
46432
+ },
46433
+ "type": "array"
46434
+ },
46435
+ "title": {
46436
+ "type": "string"
46437
+ },
46438
+ "sanityType": {
46439
+ "type": "string",
46440
+ "enum": [
46441
+ "annualevent"
46442
+ ],
46443
+ "nullable": false
46444
+ }
46445
+ },
46446
+ "required": [
46447
+ "time",
46448
+ "title",
46449
+ "sanityType"
46450
+ ],
46451
+ "type": "object"
46452
+ },
46453
+ "SanityCreate_AnnualWheel_": {
46454
+ "properties": {
46455
+ "events": {
46456
+ "items": {
46457
+ "allOf": [
46458
+ {
46459
+ "properties": {
46460
+ "sanityKey": {
46461
+ "type": "string"
46462
+ }
46463
+ },
46464
+ "required": [
46465
+ "sanityKey"
46466
+ ],
46467
+ "type": "object"
46468
+ },
46469
+ {
46470
+ "$ref": "#/components/schemas/Annualevent"
46471
+ }
46472
+ ]
46473
+ },
46474
+ "type": "array"
46475
+ },
46476
+ "daysBeforeEventForNotification": {
46477
+ "type": "number",
46478
+ "format": "double"
46479
+ },
46480
+ "smsRecipients": {
46481
+ "items": {
46482
+ "allOf": [
46483
+ {
46484
+ "properties": {
46485
+ "sanityKey": {
46486
+ "type": "string"
46487
+ }
46488
+ },
46489
+ "required": [
46490
+ "sanityKey"
46491
+ ],
46492
+ "type": "object"
46493
+ },
46494
+ {
46495
+ "$ref": "#/components/schemas/EmployeeReference"
46496
+ }
46497
+ ]
46498
+ },
46499
+ "type": "array"
46500
+ },
46501
+ "slackChannelId": {
46502
+ "type": "string"
46503
+ },
46504
+ "title": {
46505
+ "type": "string"
46506
+ },
46507
+ "sanityType": {
46508
+ "type": "string",
46509
+ "enum": [
46510
+ "annualWheel"
46511
+ ],
46512
+ "nullable": false
46513
+ }
46514
+ },
46515
+ "required": [
46516
+ "events",
46517
+ "smsRecipients",
46518
+ "title",
46519
+ "sanityType"
46520
+ ],
46521
+ "type": "object"
46522
+ },
46523
+ "SanityCreateAnnualWheel": {
46524
+ "$ref": "#/components/schemas/SanityCreate_AnnualWheel_"
46525
+ },
46526
+ "SanityPatch_AnnualWheel_": {
46527
+ "properties": {
46528
+ "sanityType": {
46529
+ "type": "string",
46530
+ "enum": [
46531
+ "annualWheel",
46532
+ null
46533
+ ],
46534
+ "nullable": true
46535
+ },
46536
+ "title": {
46537
+ "type": "string",
46538
+ "nullable": true
46539
+ },
46540
+ "slackChannelId": {
46541
+ "type": "string",
46542
+ "nullable": true
46543
+ },
46544
+ "smsRecipients": {
46545
+ "items": {
46546
+ "allOf": [
46547
+ {
46548
+ "properties": {
46549
+ "sanityKey": {
46550
+ "type": "string"
46551
+ }
46552
+ },
46553
+ "required": [
46554
+ "sanityKey"
46555
+ ],
46556
+ "type": "object"
46557
+ },
46558
+ {
46559
+ "$ref": "#/components/schemas/EmployeeReference"
46560
+ }
46561
+ ]
46562
+ },
46563
+ "type": "array",
46564
+ "nullable": true
46565
+ },
46566
+ "daysBeforeEventForNotification": {
46567
+ "type": "number",
46568
+ "format": "double",
46569
+ "nullable": true
46570
+ },
46571
+ "events": {
46572
+ "items": {
46573
+ "allOf": [
46574
+ {
46575
+ "properties": {
46576
+ "sanityKey": {
46577
+ "type": "string"
46578
+ }
46579
+ },
46580
+ "required": [
46581
+ "sanityKey"
46582
+ ],
46583
+ "type": "object"
46584
+ },
46585
+ {
46586
+ "$ref": "#/components/schemas/Annualevent"
46587
+ }
46588
+ ]
46589
+ },
46590
+ "type": "array",
46591
+ "nullable": true
46592
+ }
46593
+ },
46594
+ "type": "object"
46595
+ },
46596
+ "SanityPatchAnnualWheel": {
46597
+ "$ref": "#/components/schemas/SanityPatch_AnnualWheel_"
46598
+ },
46599
+ "SanityCreate_Annualevent_": {
46600
+ "properties": {
46601
+ "SmsRecipients": {
46602
+ "items": {
46603
+ "allOf": [
46604
+ {
46605
+ "properties": {
46606
+ "sanityKey": {
46607
+ "type": "string"
46608
+ }
46609
+ },
46610
+ "required": [
46611
+ "sanityKey"
46612
+ ],
46613
+ "type": "object"
46614
+ },
46615
+ {
46616
+ "$ref": "#/components/schemas/EmployeeReference"
46617
+ }
46618
+ ]
46619
+ },
46620
+ "type": "array"
46621
+ },
46622
+ "daysBeforeEventForNotification": {
46623
+ "type": "number",
46624
+ "format": "double"
46625
+ },
46626
+ "time": {
46627
+ "type": "string"
46628
+ },
46629
+ "title": {
46630
+ "type": "string"
46631
+ },
46632
+ "link": {
46633
+ "type": "string"
46634
+ },
46635
+ "sanityType": {
46636
+ "type": "string",
46637
+ "enum": [
46638
+ "annualevent"
46639
+ ],
46640
+ "nullable": false
46641
+ }
46642
+ },
46643
+ "required": [
46644
+ "time",
46645
+ "title",
46646
+ "sanityType"
46647
+ ],
46648
+ "type": "object"
46649
+ },
46650
+ "SanityCreateAnnualWheelEvent": {
46651
+ "$ref": "#/components/schemas/SanityCreate_Annualevent_"
46652
+ },
46653
+ "SanityPatch_Annualevent_": {
46654
+ "properties": {
46655
+ "sanityType": {
46656
+ "type": "string",
46657
+ "enum": [
46658
+ "annualevent",
46659
+ null
46660
+ ],
46661
+ "nullable": true
46662
+ },
46663
+ "link": {
46664
+ "type": "string",
46665
+ "nullable": true
46666
+ },
46667
+ "title": {
46668
+ "type": "string",
46669
+ "nullable": true
46670
+ },
46671
+ "time": {
46672
+ "type": "string",
46673
+ "nullable": true
46674
+ },
46675
+ "daysBeforeEventForNotification": {
46676
+ "type": "number",
46677
+ "format": "double",
46678
+ "nullable": true
46679
+ },
46680
+ "SmsRecipients": {
46681
+ "items": {
46682
+ "allOf": [
46683
+ {
46684
+ "properties": {
46685
+ "sanityKey": {
46686
+ "type": "string"
46687
+ }
46688
+ },
46689
+ "required": [
46690
+ "sanityKey"
46691
+ ],
46692
+ "type": "object"
46693
+ },
46694
+ {
46695
+ "$ref": "#/components/schemas/EmployeeReference"
46696
+ }
46697
+ ]
46698
+ },
46699
+ "type": "array",
46700
+ "nullable": true
46701
+ }
46702
+ },
46703
+ "type": "object"
46704
+ },
46705
+ "SanityPatchAnnualWheelEvent": {
46706
+ "$ref": "#/components/schemas/SanityPatch_Annualevent_"
46401
46707
  }
46402
46708
  },
46403
46709
  "securitySchemes": {
@@ -55605,6 +55911,43 @@
55605
55911
  }
55606
55912
  }
55607
55913
  ]
55914
+ },
55915
+ "post": {
55916
+ "operationId": "CreateAnnualWheel",
55917
+ "responses": {
55918
+ "200": {
55919
+ "description": "Ok",
55920
+ "content": {
55921
+ "application/json": {
55922
+ "schema": {
55923
+ "$ref": "#/components/schemas/SanityAnnualWheel"
55924
+ }
55925
+ }
55926
+ }
55927
+ }
55928
+ },
55929
+ "description": "Create a new Annual Wheel document.",
55930
+ "tags": [
55931
+ "Annual wheels"
55932
+ ],
55933
+ "security": [
55934
+ {
55935
+ "Implicit": [
55936
+ "api://5dc55e32-6742-4fe9-b8b6-581cf56af144/.default"
55937
+ ]
55938
+ }
55939
+ ],
55940
+ "parameters": [],
55941
+ "requestBody": {
55942
+ "required": true,
55943
+ "content": {
55944
+ "application/json": {
55945
+ "schema": {
55946
+ "$ref": "#/components/schemas/SanityCreateAnnualWheel"
55947
+ }
55948
+ }
55949
+ }
55950
+ }
55608
55951
  }
55609
55952
  },
55610
55953
  "/v1.0/annual-wheels/{id}": {
@@ -55660,6 +56003,208 @@
55660
56003
  }
55661
56004
  }
55662
56005
  ]
56006
+ },
56007
+ "patch": {
56008
+ "operationId": "PatchAnnualWheel",
56009
+ "responses": {
56010
+ "200": {
56011
+ "description": "Ok",
56012
+ "content": {
56013
+ "application/json": {
56014
+ "schema": {
56015
+ "$ref": "#/components/schemas/SanityAnnualWheel"
56016
+ }
56017
+ }
56018
+ }
56019
+ }
56020
+ },
56021
+ "description": "Update top-level fields on an Annual Wheel. Any omitted field is left unchanged.",
56022
+ "tags": [
56023
+ "Annual wheels"
56024
+ ],
56025
+ "security": [
56026
+ {
56027
+ "Implicit": [
56028
+ "api://5dc55e32-6742-4fe9-b8b6-581cf56af144/.default"
56029
+ ]
56030
+ }
56031
+ ],
56032
+ "parameters": [
56033
+ {
56034
+ "in": "path",
56035
+ "name": "id",
56036
+ "required": true,
56037
+ "schema": {
56038
+ "type": "string"
56039
+ }
56040
+ }
56041
+ ],
56042
+ "requestBody": {
56043
+ "required": true,
56044
+ "content": {
56045
+ "application/json": {
56046
+ "schema": {
56047
+ "$ref": "#/components/schemas/SanityPatchAnnualWheel"
56048
+ }
56049
+ }
56050
+ }
56051
+ }
56052
+ }
56053
+ },
56054
+ "/v1.0/annual-wheels/{id}/events": {
56055
+ "post": {
56056
+ "operationId": "CreateAnnualWheelEvent",
56057
+ "responses": {
56058
+ "200": {
56059
+ "description": "Ok",
56060
+ "content": {
56061
+ "application/json": {
56062
+ "schema": {
56063
+ "properties": {
56064
+ "key": {
56065
+ "type": "string"
56066
+ }
56067
+ },
56068
+ "required": [
56069
+ "key"
56070
+ ],
56071
+ "type": "object"
56072
+ }
56073
+ }
56074
+ }
56075
+ }
56076
+ },
56077
+ "description": "Add a new event to an Annual Wheel's `events` array.\nReturns the `_key` of the newly created event.\nEvent `time` format: `<day>.<month>`, e.g. `\"1.8\"` for August 1.",
56078
+ "tags": [
56079
+ "Annual wheels"
56080
+ ],
56081
+ "security": [
56082
+ {
56083
+ "Implicit": [
56084
+ "api://5dc55e32-6742-4fe9-b8b6-581cf56af144/.default"
56085
+ ]
56086
+ }
56087
+ ],
56088
+ "parameters": [
56089
+ {
56090
+ "in": "path",
56091
+ "name": "id",
56092
+ "required": true,
56093
+ "schema": {
56094
+ "type": "string"
56095
+ }
56096
+ }
56097
+ ],
56098
+ "requestBody": {
56099
+ "required": true,
56100
+ "content": {
56101
+ "application/json": {
56102
+ "schema": {
56103
+ "$ref": "#/components/schemas/SanityCreateAnnualWheelEvent"
56104
+ }
56105
+ }
56106
+ }
56107
+ }
56108
+ }
56109
+ },
56110
+ "/v1.0/annual-wheels/{id}/events/{eventKey}": {
56111
+ "patch": {
56112
+ "operationId": "PatchAnnualWheelEvent",
56113
+ "responses": {
56114
+ "200": {
56115
+ "description": "Ok",
56116
+ "content": {
56117
+ "application/json": {
56118
+ "schema": {
56119
+ "$ref": "#/components/schemas/SanityAnnualWheel"
56120
+ }
56121
+ }
56122
+ }
56123
+ }
56124
+ },
56125
+ "description": "Update an existing event inside an Annual Wheel.\n`eventKey` is the `_key` of the event (returned when it was created).\nAny omitted field is left unchanged.",
56126
+ "tags": [
56127
+ "Annual wheels"
56128
+ ],
56129
+ "security": [
56130
+ {
56131
+ "Implicit": [
56132
+ "api://5dc55e32-6742-4fe9-b8b6-581cf56af144/.default"
56133
+ ]
56134
+ }
56135
+ ],
56136
+ "parameters": [
56137
+ {
56138
+ "in": "path",
56139
+ "name": "id",
56140
+ "required": true,
56141
+ "schema": {
56142
+ "type": "string"
56143
+ }
56144
+ },
56145
+ {
56146
+ "in": "path",
56147
+ "name": "eventKey",
56148
+ "required": true,
56149
+ "schema": {
56150
+ "type": "string"
56151
+ }
56152
+ }
56153
+ ],
56154
+ "requestBody": {
56155
+ "required": true,
56156
+ "content": {
56157
+ "application/json": {
56158
+ "schema": {
56159
+ "$ref": "#/components/schemas/SanityPatchAnnualWheelEvent"
56160
+ }
56161
+ }
56162
+ }
56163
+ }
56164
+ },
56165
+ "delete": {
56166
+ "operationId": "DeleteAnnualWheelEvent",
56167
+ "responses": {
56168
+ "200": {
56169
+ "description": "Ok",
56170
+ "content": {
56171
+ "application/json": {
56172
+ "schema": {
56173
+ "$ref": "#/components/schemas/SanityAnnualWheel"
56174
+ }
56175
+ }
56176
+ }
56177
+ }
56178
+ },
56179
+ "description": "Remove an event from an Annual Wheel.\n`eventKey` is the `_key` of the event to remove.",
56180
+ "tags": [
56181
+ "Annual wheels"
56182
+ ],
56183
+ "security": [
56184
+ {
56185
+ "Implicit": [
56186
+ "api://5dc55e32-6742-4fe9-b8b6-581cf56af144/.default"
56187
+ ]
56188
+ }
56189
+ ],
56190
+ "parameters": [
56191
+ {
56192
+ "in": "path",
56193
+ "name": "id",
56194
+ "required": true,
56195
+ "schema": {
56196
+ "type": "string"
56197
+ }
56198
+ },
56199
+ {
56200
+ "in": "path",
56201
+ "name": "eventKey",
56202
+ "required": true,
56203
+ "schema": {
56204
+ "type": "string"
56205
+ }
56206
+ }
56207
+ ]
55663
56208
  }
55664
56209
  }
55665
56210
  },