@lichess-org/types 2.0.173 → 2.0.174

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.
Files changed (2) hide show
  1. package/lichess-api.d.ts +60 -823
  2. package/package.json +1 -1
package/lichess-api.d.ts CHANGED
@@ -4136,47 +4136,22 @@ export interface components {
4136
4136
  streak?: components["schemas"]["PuzzleModePerf"];
4137
4137
  };
4138
4138
  Profile: {
4139
- /** @example EC */
4140
4139
  flag?: string;
4141
4140
  location?: string;
4142
- /** @example Free bugs! */
4143
4141
  bio?: string;
4144
- /** @example Thibault Duplessis */
4145
4142
  realName?: string;
4146
- /**
4147
- * @description only appears if a user has set them
4148
- * @example 1500
4149
- */
4143
+ /** @description only appears if a user has set them */
4150
4144
  fideRating?: number;
4151
- /**
4152
- * @description only appears if a user has set them
4153
- * @example 1500
4154
- */
4145
+ /** @description only appears if a user has set them */
4155
4146
  uscfRating?: number;
4156
- /**
4157
- * @description only appears if a user has set them
4158
- * @example 1500
4159
- */
4147
+ /** @description only appears if a user has set them */
4160
4148
  ecfRating?: number;
4161
- /**
4162
- * @description only appears if a user has set them
4163
- * @example 1500
4164
- */
4149
+ /** @description only appears if a user has set them */
4165
4150
  cfcRating?: number;
4166
- /**
4167
- * @description only appears if a user has set them
4168
- * @example 1500
4169
- */
4151
+ /** @description only appears if a user has set them */
4170
4152
  rcfRating?: number;
4171
- /**
4172
- * @description only appears if a user has set them
4173
- * @example 1500
4174
- */
4153
+ /** @description only appears if a user has set them */
4175
4154
  dsbRating?: number;
4176
- /**
4177
- * @example github.com/ornicar
4178
- * mas.to/@thibault
4179
- */
4180
4155
  links?: string;
4181
4156
  };
4182
4157
  PlayTime: {
@@ -4221,17 +4196,11 @@ export interface components {
4221
4196
  };
4222
4197
  UserStreamer: {
4223
4198
  twitch?: {
4224
- /**
4225
- * Format: uri
4226
- * @example https://www.twitch.tv/lichessdotorg
4227
- */
4199
+ /** Format: uri */
4228
4200
  channel?: string;
4229
4201
  };
4230
4202
  youtube?: {
4231
- /**
4232
- * Format: uri
4233
- * @example https://www.youtube.com/c/LichessDotOrg
4234
- */
4203
+ /** Format: uri */
4235
4204
  channel?: string;
4236
4205
  };
4237
4206
  };
@@ -4251,73 +4220,10 @@ export interface components {
4251
4220
  blocking?: boolean;
4252
4221
  fideId?: number;
4253
4222
  };
4254
- /**
4255
- * @example {
4256
- * "name": "Bullet",
4257
- * "points": [
4258
- * [
4259
- * 2011,
4260
- * 0,
4261
- * 8,
4262
- * 1472
4263
- * ],
4264
- * [
4265
- * 2011,
4266
- * 0,
4267
- * 9,
4268
- * 1332
4269
- * ],
4270
- * [
4271
- * 2011,
4272
- * 8,
4273
- * 12,
4274
- * 1314
4275
- * ]
4276
- * ]
4277
- * }
4278
- */
4279
4223
  RatingHistoryEntry: {
4280
4224
  name?: string;
4281
4225
  points?: number[][];
4282
4226
  };
4283
- /**
4284
- * @example [
4285
- * {
4286
- * "name": "Bullet",
4287
- * "points": [
4288
- * [
4289
- * 2011,
4290
- * 0,
4291
- * 8,
4292
- * 1472
4293
- * ],
4294
- * [
4295
- * 2011,
4296
- * 0,
4297
- * 9,
4298
- * 1332
4299
- * ],
4300
- * [
4301
- * 2011,
4302
- * 8,
4303
- * 12,
4304
- * 1314
4305
- * ]
4306
- * ]
4307
- * },
4308
- * {
4309
- * "name": "Blitz",
4310
- * "points": [
4311
- * [
4312
- * 2011,
4313
- * 7,
4314
- * 29,
4315
- * 1332
4316
- * ]
4317
- * ]
4318
- * }
4319
- * ]
4320
- */
4321
4227
  RatingHistory: components["schemas"]["RatingHistoryEntry"][];
4322
4228
  /** @enum {string} */
4323
4229
  PerfType:
@@ -4461,6 +4367,16 @@ export interface components {
4461
4367
  nb: {
4462
4368
  cur: {
4463
4369
  v: number;
4370
+ from?: {
4371
+ /** Format: date-time */
4372
+ at: string;
4373
+ gameId: string;
4374
+ };
4375
+ to?: {
4376
+ /** Format: date-time */
4377
+ at: string;
4378
+ gameId: string;
4379
+ };
4464
4380
  };
4465
4381
  max: {
4466
4382
  v: number;
@@ -4479,6 +4395,16 @@ export interface components {
4479
4395
  time: {
4480
4396
  cur: {
4481
4397
  v: number;
4398
+ from?: {
4399
+ /** Format: date-time */
4400
+ at: string;
4401
+ gameId: string;
4402
+ };
4403
+ to?: {
4404
+ /** Format: date-time */
4405
+ at: string;
4406
+ gameId: string;
4407
+ };
4482
4408
  };
4483
4409
  max: {
4484
4410
  v: number;
@@ -4512,7 +4438,6 @@ export interface components {
4512
4438
  GameColor: "white" | "black";
4513
4439
  /**
4514
4440
  * @default standard
4515
- * @example standard
4516
4441
  * @enum {string}
4517
4442
  */
4518
4443
  VariantKey:
@@ -4789,11 +4714,6 @@ export interface components {
4789
4714
  /** @description Timestamp in milliseconds when the race started */
4790
4715
  startsAt: number;
4791
4716
  };
4792
- /**
4793
- * @example {
4794
- * "error": "Not found."
4795
- * }
4796
- */
4797
4717
  NotFound: {
4798
4718
  error: string;
4799
4719
  };
@@ -4948,28 +4868,6 @@ export interface components {
4948
4868
  Ok: {
4949
4869
  ok: boolean;
4950
4870
  };
4951
- /**
4952
- * @example [Event "Rated Blitz game"]
4953
- * [Site "https://lichess.org/fY44h4OY"]
4954
- * [Date "2018.03.29"]
4955
- * [Round "-"]
4956
- * [White "pveldman"]
4957
- * [Black "thibault"]
4958
- * [Result "1-0"]
4959
- * [UTCDate "2018.03.29"]
4960
- * [UTCTime "01:38:15"]
4961
- * [WhiteElo "1610"]
4962
- * [BlackElo "1601"]
4963
- * [WhiteRatingDiff "+10"]
4964
- * [BlackRatingDiff "-10"]
4965
- * [Variant "Standard"]
4966
- * [TimeControl "180+0"]
4967
- * [ECO "C62"]
4968
- * [Opening "Ruy Lopez: Steinitz Defense"]
4969
- * [Termination "Normal"]
4970
- *
4971
- * 1. e4 { [%clk 0:03:00] } e5 { [%clk 0:03:00] } 2. Nf3 { [%clk 0:02:59] } Nc6 { [%clk 0:02:58] } 3. Bb5 { [%clk 0:02:57] } d6 { [%clk 0:02:55] } 4. h3 { [%clk 0:02:54] } Nf6 { [%clk 0:02:52] } 5. Bxc6+ { [%clk 0:02:52] } bxc6 { [%clk 0:02:49] } 6. d3 { [%clk 0:02:51] } Be7 { [%clk 0:02:46] } 7. O-O { [%clk 0:02:47] } O-O { [%clk 0:02:45] } 8. b3 { [%clk 0:02:45] } d5 { [%clk 0:02:45] } 9. exd5 { [%clk 0:02:33] } cxd5 { [%clk 0:02:40] } 10. Nxe5 { [%clk 0:02:31] } Qd6 { [%clk 0:02:38] } 1-0
4972
- */
4973
4871
  GamePgn: string;
4974
4872
  /** @enum {string} */
4975
4873
  Speed:
@@ -5014,6 +4912,8 @@ export interface components {
5014
4912
  };
5015
4913
  };
5016
4914
  team?: string;
4915
+ /** @description Whether the player berserked. Only present in Arena tournament games. */
4916
+ berserk?: boolean;
5017
4917
  };
5018
4918
  /**
5019
4919
  * @description One side of a game played by the Stockfish AI. AI sides carry the
@@ -5047,21 +4947,14 @@ export interface components {
5047
4947
  eval?: number;
5048
4948
  /** @description Number of moves until forced mate */
5049
4949
  mate?: number;
5050
- /**
5051
- * @description Best move in UCI notation (only if played move was inaccurate)
5052
- * @example c2c3
5053
- */
4950
+ /** @description Best move in UCI notation (only if played move was inaccurate) */
5054
4951
  best?: string;
5055
- /**
5056
- * @description Best variation in SAN notation (only if played move was inaccurate)
5057
- * @example c3 Nc6 d4 Qb6 Be2 Nge7 Na3 cxd4 cxd4 Nf5
5058
- */
4952
+ /** @description Best variation in SAN notation (only if played move was inaccurate) */
5059
4953
  variation?: string;
5060
4954
  /** @description Judgment annotation (only if played move was inaccurate) */
5061
4955
  judgment?: {
5062
4956
  /** @enum {string} */
5063
4957
  name?: "Inaccuracy" | "Mistake" | "Blunder";
5064
- /** @example Blunder. Nxg6 was best. */
5065
4958
  comment?: string;
5066
4959
  };
5067
4960
  };
@@ -5107,52 +5000,15 @@ export interface components {
5107
5000
  end?: number;
5108
5001
  };
5109
5002
  };
5110
- /**
5111
- * @example [
5112
- * {
5113
- * "text": "e4 here we go",
5114
- * "user": "Toby"
5115
- * },
5116
- * {
5117
- * "text": "Woof!",
5118
- * "user": "AnnoyingDog"
5119
- * }
5120
- * ]
5121
- */
5122
5003
  SpectatorGameChat: {
5123
- text: string;
5124
- user: string;
5125
- }[];
5004
+ lines: {
5005
+ text: string;
5006
+ user: string;
5007
+ }[];
5008
+ };
5126
5009
  /** @enum {integer} */
5127
5010
  GameStatusId:
5128
5011
  10 | 20 | 25 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 60;
5129
- /**
5130
- * @example {
5131
- * "id": "A5fcMO3k",
5132
- * "rated": true,
5133
- * "variant": "standard",
5134
- * "speed": "bullet",
5135
- * "perf": "bullet",
5136
- * "createdAt": 1525789431889,
5137
- * "status": 20,
5138
- * "statusName": "started",
5139
- * "clock": {
5140
- * "initial": 60,
5141
- * "increment": 0,
5142
- * "totalTime": 60
5143
- * },
5144
- * "players": {
5145
- * "white": {
5146
- * "userId": "kastorcito",
5147
- * "rating": 2617
5148
- * },
5149
- * "black": {
5150
- * "userId": "er_or",
5151
- * "rating": 2288
5152
- * }
5153
- * }
5154
- * }
5155
- */
5156
5012
  GameStreamGame: {
5157
5013
  id: string;
5158
5014
  rated?: boolean;
@@ -5171,69 +5027,16 @@ export interface components {
5171
5027
  white?: {
5172
5028
  userId?: string;
5173
5029
  rating?: number;
5030
+ provisional?: boolean;
5174
5031
  };
5175
5032
  black?: {
5176
5033
  userId?: string;
5177
5034
  rating?: number;
5035
+ provisional?: boolean;
5178
5036
  };
5179
5037
  };
5180
5038
  winner?: components["schemas"]["GameColor"];
5181
5039
  };
5182
- /**
5183
- * @example [
5184
- * {
5185
- * "id": "A5fcMO3k",
5186
- * "rated": true,
5187
- * "variant": "standard",
5188
- * "speed": "bullet",
5189
- * "perf": "bullet",
5190
- * "createdAt": 1525789431889,
5191
- * "status": 20,
5192
- * "statusName": "started",
5193
- * "clock": {
5194
- * "initial": 60,
5195
- * "increment": 0,
5196
- * "totalTime": 60
5197
- * },
5198
- * "players": {
5199
- * "white": {
5200
- * "userId": "kastorcito",
5201
- * "rating": 2617
5202
- * },
5203
- * "black": {
5204
- * "userId": "er_or",
5205
- * "rating": 2288
5206
- * }
5207
- * }
5208
- * },
5209
- * {
5210
- * "id": "A5fcMO3k",
5211
- * "rated": true,
5212
- * "variant": "standard",
5213
- * "speed": "bullet",
5214
- * "perf": "bullet",
5215
- * "createdAt": 1525789431889,
5216
- * "status": 31,
5217
- * "statusName": "resign",
5218
- * "clock": {
5219
- * "initial": 60,
5220
- * "increment": 0,
5221
- * "totalTime": 60
5222
- * },
5223
- * "players": {
5224
- * "white": {
5225
- * "userId": "kastorcito",
5226
- * "rating": 2617
5227
- * },
5228
- * "black": {
5229
- * "userId": "er_or",
5230
- * "rating": 2288
5231
- * }
5232
- * },
5233
- * "winner": "white"
5234
- * }
5235
- * ]
5236
- */
5237
5040
  GameStream: components["schemas"]["GameStreamGame"][];
5238
5041
  /** @enum {string} */
5239
5042
  GameSource:
@@ -5283,79 +5086,6 @@ export interface components {
5283
5086
  wc: number;
5284
5087
  bc: number;
5285
5088
  };
5286
- /**
5287
- * @example [
5288
- * {
5289
- * "id": "LuGQwhBb",
5290
- * "variant": {
5291
- * "key": "standard",
5292
- * "name": "Standard",
5293
- * "short": "Std"
5294
- * },
5295
- * "speed": "blitz",
5296
- * "perf": "blitz",
5297
- * "rated": true,
5298
- * "initialFen": "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1",
5299
- * "fen": "rnbqkb1r/1p1ppppp/p6n/2p4Q/8/1P2P3/P1PP1PPP/RNB1KBNR w KQkq - 0 4",
5300
- * "player": "white",
5301
- * "turns": 6,
5302
- * "startedAtTurn": 0,
5303
- * "source": "pool",
5304
- * "status": {
5305
- * "id": 20,
5306
- * "name": "started"
5307
- * },
5308
- * "createdAt": 1620029815106,
5309
- * "lastMove": "c7c5",
5310
- * "players": {
5311
- * "white": {
5312
- * "user": {
5313
- * "name": "ARM-777777",
5314
- * "title": "GM",
5315
- * "id": "arm-777777"
5316
- * },
5317
- * "rating": 3120
5318
- * },
5319
- * "black": {
5320
- * "user": {
5321
- * "name": "Flash_Marafon",
5322
- * "id": "flash_marafon"
5323
- * },
5324
- * "rating": 3015
5325
- * }
5326
- * }
5327
- * },
5328
- * {
5329
- * "fen": "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w",
5330
- * "wc": 180,
5331
- * "bc": 180
5332
- * },
5333
- * {
5334
- * "fen": "rnbqkbnr/pppppppp/8/8/8/4P3/PPPP1PPP/RNBQKBNR b",
5335
- * "lm": "e2e3",
5336
- * "wc": 180,
5337
- * "bc": 180
5338
- * },
5339
- * {
5340
- * "fen": "rnbqkb1r/pppppppp/7n/8/8/4P3/PPPP1PPP/RNBQKBNR w",
5341
- * "lm": "g8h6",
5342
- * "wc": 180,
5343
- * "bc": 180
5344
- * },
5345
- * {
5346
- * "fen": "rnbqkb1r/pppppppp/7n/8/8/1P2P3/P1PP1PPP/RNBQKBNR b",
5347
- * "lm": "b2b3",
5348
- * "wc": 177,
5349
- * "bc": 180
5350
- * },
5351
- * {
5352
- * "fen": "rnbqkb1r/1ppppppp/p6n/8/8/1P2P3/P1PP1PPP/RNBQKBNR w",
5353
- * "lm": "a7a6",
5354
- * "wc": 177,
5355
- * "bc": 177
5356
- * }
5357
- * ]
5358
- */
5359
5089
  MoveStream: components["schemas"]["MoveStreamEntry"][];
5360
5090
  TvGame: {
5361
5091
  user: components["schemas"]["LightUser"];
@@ -5432,36 +5162,25 @@ export interface components {
5432
5162
  ArenaStatus: 10 | 20 | 30;
5433
5163
  ArenaPerf: {
5434
5164
  key: components["schemas"]["PerfType"];
5435
- /** @example Blitz */
5436
5165
  name: string;
5437
- /** @example 1 */
5438
5166
  position: number;
5439
- /** @example ) */
5440
5167
  icon?: string;
5441
5168
  };
5442
5169
  ArenaRatingObj: {
5443
5170
  perf?: components["schemas"]["PerfType"];
5444
- /** @example 1700 */
5445
5171
  rating: number;
5446
5172
  };
5447
5173
  ArenaPosition:
5448
5174
  | {
5449
- /** @example C41 */
5450
5175
  eco: string;
5451
- /** @example Philidor Defense */
5452
5176
  name: string;
5453
- /** @example rnbqkbnr/ppp2ppp/3p4/4p3/4P3/5N2/PPPP1PPP/RNBQKB1R w KQkq - */
5454
5177
  fen: string;
5455
- /**
5456
- * Format: uri
5457
- * @example https://lichess.org/opening/Philidor_Defense
5458
- */
5178
+ /** Format: uri */
5459
5179
  url: string;
5460
5180
  }
5461
5181
  | {
5462
5182
  /** @constant */
5463
5183
  name: "Custom position";
5464
- /** @example rnbq1bnr/ppppkppp/8/4p3/4P3/8/PPPPKPPP/RNBQ1BNR w - - 2 3 */
5465
5184
  fen: string;
5466
5185
  };
5467
5186
  ArenaTournament: {
@@ -5654,23 +5373,10 @@ export interface components {
5654
5373
  };
5655
5374
  myUsername?: string;
5656
5375
  };
5657
- /**
5658
- * @example {
5659
- * "error": "This request is invalid because [...]"
5660
- * }
5661
- */
5662
5376
  Error: {
5663
5377
  /** @description The cause of the error. */
5664
5378
  error: string;
5665
5379
  };
5666
- /**
5667
- * @example {
5668
- * "games": 10,
5669
- * "score": 14,
5670
- * "rank": 30,
5671
- * "performance": 1935
5672
- * }
5673
- */
5674
5380
  ArenaTournamentPlayer: {
5675
5381
  games: number;
5676
5382
  score: number;
@@ -5724,56 +5430,13 @@ export interface components {
5724
5430
  in?: number;
5725
5431
  };
5726
5432
  };
5727
- /**
5728
- * @example {
5729
- * "error": "This user cannot edit this swiss"
5730
- * }
5731
- */
5732
5433
  SwissUnauthorisedEdit: {
5733
5434
  error?: string;
5734
5435
  };
5735
- /**
5736
- * @example [Event "♦ All about the Sicilian Defense ♦: Dragon Variation"]
5737
- * [Date "2017.06.25"]
5738
- * [Result "*"]
5739
- * [Variant "Standard"]
5740
- * [ECO "B76"]
5741
- * [Opening "Sicilian Defense: Dragon Variation, Yugoslav Attack, Panov Variation"]
5742
- * [StudyName "♦ All about the Sicilian Defense ♦"]
5743
- * [ChapterName "Dragon Variation"]
5744
- * [ChapterURL "https://lichess.org/study/8c8bmUfy/qwnXMwVC"]
5745
- * [Annotator "https://lichess.org/@/francesco_super"]
5746
- * [UTCDate "2017.06.25"]
5747
- * [UTCTime "10:12:04"]
5748
- *
5749
- * { This chapter will go over the Dragon Variation, a very common variation used by Black and it is the most aggressive variation in the Sicilian defense. }
5750
- * 1. e4 c5 2. Nf3 { Simple developing move to control the d4 square } { [%csl Gd4,Gc5][%cal Gf3d4,Gc5d4] } 2... d6 { [%cal Gd6e5] } (2... e6 3. d4 cxd4 4. Nxd4 Nf6 5. e5 (5. Nc3 { [%cal Ge4e5] }) 5... Qa5+) 3. d4 { Whites want the exchange of pawns } { [%cal Gc5d4] } 3... cxd4 { [%cal Gf3d4] } 4. Nxd4 { Whites are now ahead in development but blacks still have the two central pawns whereas whites only one. } { [%csl Ge7,Gd6,Ge4] } 4... Nf6 { Blacks are now developing their knight and threatening the e4 pawn } { [%csl Ge4][%cal Gf6e4] } 5. Nc3 { The e4 pawn is now protected by the c3 knight } { [%csl Ge4,Bc3][%cal Rf6e4,Bc3e4] } 5... g6 { This is the DRAGON VARIATION. g6 allows the dark-squared bishop to develop and move to g7, controlling the long dark-squared diagonal } { [%csl Gd4] } 6. Be3 { [%cal Gd1d2,Gf2f3,Ge1c1,Gg2g4,Gh2h4,Gg4g5] } (6. Be2 Bg7 7. O-O Nc6 8. Be3 { [%cal Ge3d4] } (8. f3 Nxe4 { [%cal Gg7d4,Gc6d4] } 9. Nxc6 Qb6+ { [%cal Gb6c6,Gb6g1] } 10. Kh1 Nxc3 { [%cal Gc3d1,Gc3e2] } 11. bxc3 bxc6 { [%cal Gc8a6] }) 8... O-O 9. Nb3 a6 { [%cal Gb7b5,Gb5b4,Ge2c4] }) 6... Bg7 (6... Ng4 { [%cal Gg4e3] } 7. Bb5+ { [%cal Gb5e8,Gb8d7,Gc8d7,Gd1g4] } 7... Nc6 8. Nxc6 bxc6 9. Bxc6+ { [%cal Gc6a8] }) 7. f3 { The key opening moves for White, who attempt to castle queenside , whereas f3 strengthens the pawn structure, connecting e4 to the h2 and g2, while White also plan pushing to g4 and possibly h4. } { [%csl Bf3,Be3][%cal Rg2g4,Rh2h4,Rg4g5] } 7... O-O (7... h5 { Is operating against g4. }) 8. Qd2 { [%csl Gh6,Gg7][%cal Ge1c1,Ga1d1,Re3h6,Rd2h6] } 8... Nc6 { [%csl Gc6,Gh6][%cal Gb8c6,Ge1c1,Ga7a6,Ge3h6] } 9. g4 (9. Bh6 { [%cal Ge3d4] } 9... Bxh6 10. Qxh6 Nxd4) 9... Be6 (9... Nxd4 10. Bxd4 Be6 { [%cal Rf1c4] }) 10. Nxe6 fxe6 { The rook has a powerful open file! } { [%cal Gf8f1] } 11. O-O-O Ne5 { [%csl Gf3][%cal Ge5f3] } 12. Be2 { [%csl Gf3][%cal Re5f3,Bd1h1,Bg1d1,Ge2f3] } 12... Qc8 { [%cal Gc8c1] } 13. h4 { [%cal Ge5c4] } *
5751
- */
5752
5436
  StudyPgn: string;
5753
5437
  /** @enum {string} */
5754
5438
  StudyUserSelection:
5755
5439
  "nobody" | "owner" | "contributor" | "member" | "everyone";
5756
- /**
5757
- * @example {
5758
- * "chapters": [
5759
- * {
5760
- * "id": "iBjmYBya",
5761
- * "name": "test 2",
5762
- * "players": [
5763
- * {
5764
- * "name": "Carlsen, Magnus",
5765
- * "rating": 2837
5766
- * },
5767
- * {
5768
- * "name": "Chadaev, Nikolay",
5769
- * "rating": 2580
5770
- * }
5771
- * ],
5772
- * "status": "1-0"
5773
- * }
5774
- * ]
5775
- * }
5776
- */
5777
5440
  StudyImportPgnChapters: {
5778
5441
  chapters?: {
5779
5442
  /** @description The chapter ID */
@@ -5789,15 +5452,9 @@ export interface components {
5789
5452
  /** @description The chapter status */
5790
5453
  status?: string;
5791
5454
  }[];
5455
+ /** @description An error message, if some of the games could not be imported. */
5456
+ error?: string | null;
5792
5457
  };
5793
- /**
5794
- * @example {
5795
- * "id": "WTvnkWAL",
5796
- * "name": "Guess the move",
5797
- * "createdAt": 1463756350225,
5798
- * "updatedAt": 1469965025205
5799
- * }
5800
- */
5801
5458
  StudyMetadata: {
5802
5459
  /** @description The study ID */
5803
5460
  id: string;
@@ -5861,15 +5518,8 @@ export interface components {
5861
5518
  id: string;
5862
5519
  name: string;
5863
5520
  slug: string;
5864
- /** @example 1722169800000 */
5865
5521
  createdAt: number;
5866
- /**
5867
- * @description Start and end dates of the tournament, as Unix timestamps in milliseconds
5868
- * @example [
5869
- * 1722169800000,
5870
- * 1722666600000
5871
- * ]
5872
- */
5522
+ /** @description Start and end dates of the tournament, as Unix timestamps in milliseconds */
5873
5523
  dates?: number[];
5874
5524
  info?: components["schemas"]["BroadcastTourInfo"];
5875
5525
  /** @description Used to designate featured tournaments on Lichess */
@@ -5946,14 +5596,10 @@ export interface components {
5946
5596
  /** @deprecated */
5947
5597
  upcoming?: components["schemas"]["BroadcastWithLastRound"][];
5948
5598
  past?: {
5949
- /** @example 4 */
5950
5599
  currentPage?: number;
5951
- /** @example 20 */
5952
5600
  maxPerPage?: number;
5953
5601
  currentPageResults?: components["schemas"]["BroadcastWithLastRound"][];
5954
- /** @example 3 */
5955
5602
  previousPage?: number | null;
5956
- /** @example 5 */
5957
5603
  nextPage?: number | null;
5958
5604
  };
5959
5605
  };
@@ -6137,15 +5783,11 @@ export interface components {
6137
5783
  photos?: components["schemas"]["BroadcastPhotos"];
6138
5784
  };
6139
5785
  BroadcastPlayerWithFed: {
6140
- /** @example Hernandez Riera, Jose */
6141
5786
  name: string;
6142
5787
  title?: components["schemas"]["Title"];
6143
- /** @example 2149 */
6144
5788
  rating?: number;
6145
- /** @example 3408230 */
6146
5789
  fideId?: number;
6147
5790
  team?: string;
6148
- /** @example CHI */
6149
5791
  fed?: string;
6150
5792
  };
6151
5793
  StatByFideTC: {
@@ -6155,41 +5797,19 @@ export interface components {
6155
5797
  };
6156
5798
  BroadcastPlayerTiebreak: {
6157
5799
  extendedCode: components["schemas"]["BroadcastTiebreakExtendedCode"];
6158
- /** @example Buchholz Cut 1 */
6159
5800
  description: string;
6160
- /** @example 45.5 */
6161
5801
  points: number;
6162
5802
  };
6163
5803
  BroadcastPlayerEntry: components["schemas"]["BroadcastPlayerWithFed"] & {
6164
- /** @example 2.5 */
6165
5804
  score?: number;
6166
- /** @example 7 */
6167
5805
  played?: number;
6168
- /**
6169
- * @description Rating differences by FIDE time control.
6170
- * @example {
6171
- * "rapid": -5,
6172
- * "blitz": 10
6173
- * }
6174
- */
5806
+ /** @description Rating differences by FIDE time control. */
6175
5807
  ratingDiffs?: components["schemas"]["StatByFideTC"];
6176
- /**
6177
- * @description Player's ratings at the time of the tournament.
6178
- * @example {
6179
- * "rapid": 2500,
6180
- * "blitz": 2450
6181
- * }
6182
- */
5808
+ /** @description Player's ratings at the time of the tournament. */
6183
5809
  ratingsMap?: components["schemas"]["StatByFideTC"];
6184
- /**
6185
- * @description Performance ratings by FIDE time control.
6186
- * @example {
6187
- * "standard": 2138
6188
- * }
6189
- */
5810
+ /** @description Performance ratings by FIDE time control. */
6190
5811
  performances?: components["schemas"]["StatByFideTC"];
6191
5812
  tiebreaks?: components["schemas"]["BroadcastPlayerTiebreak"][];
6192
- /** @example 1 */
6193
5813
  rank?: number;
6194
5814
  };
6195
5815
  /** @enum {string} */
@@ -6538,14 +6158,10 @@ export interface components {
6538
6158
  requested?: boolean;
6539
6159
  };
6540
6160
  TeamPaginatorJson: {
6541
- /** @example 4 */
6542
6161
  currentPage: number;
6543
- /** @example 15 */
6544
6162
  maxPerPage: number;
6545
6163
  currentPageResults: components["schemas"]["Team"][];
6546
- /** @example 3 */
6547
6164
  previousPage: number | null;
6548
- /** @example 5 */
6549
6165
  nextPage: number | null;
6550
6166
  nbResults: number;
6551
6167
  nbPages: number;
@@ -6556,13 +6172,9 @@ export interface components {
6556
6172
  */
6557
6173
  ArenaStatusName: "created" | "started" | "finished";
6558
6174
  TeamRequest: {
6559
- /** @example coders */
6560
6175
  teamId: string;
6561
- /** @example thibault */
6562
6176
  userId: string;
6563
- /** @example 1514505150384 */
6564
6177
  date: number;
6565
- /** @example Hello, I would like to join the team! */
6566
6178
  message?: string;
6567
6179
  };
6568
6180
  TeamRequestWithUser: {
@@ -6585,14 +6197,10 @@ export interface components {
6585
6197
  seen: boolean;
6586
6198
  };
6587
6199
  TeamUpdatesPager: {
6588
- /** @example 4 */
6589
6200
  currentPage: number;
6590
- /** @example 15 */
6591
6201
  maxPerPage: number;
6592
6202
  currentPageResults: components["schemas"]["TeamUpdate"][];
6593
- /** @example 3 */
6594
6203
  previousPage: number | null;
6595
- /** @example 5 */
6596
6204
  nextPage: number | null;
6597
6205
  nbResults: number;
6598
6206
  nbPages: number;
@@ -6612,15 +6220,6 @@ export interface components {
6612
6220
  updates: components["schemas"]["TeamUpdatesPager"];
6613
6221
  byTeam: components["schemas"]["TeamUpdatesByTeam"];
6614
6222
  };
6615
- /**
6616
- * @example {
6617
- * "users": {
6618
- * "neio": 201.5,
6619
- * "thibault": 144.5
6620
- * },
6621
- * "nbGames": 346
6622
- * }
6623
- */
6624
6223
  Crosstable: {
6625
6224
  users: {
6626
6225
  [key: string]: number;
@@ -6633,12 +6232,8 @@ export interface components {
6633
6232
  UserNote: {
6634
6233
  from?: components["schemas"]["LightUser"];
6635
6234
  to?: components["schemas"]["LightUser"];
6636
- /** @example This is a note */
6637
6235
  text?: string;
6638
- /**
6639
- * Format: int64
6640
- * @example 1290415680000
6641
- */
6236
+ /** Format: int64 */
6642
6237
  date?: number;
6643
6238
  };
6644
6239
  GameEventOpponent:
@@ -6714,7 +6309,6 @@ export interface components {
6714
6309
  type: "clock";
6715
6310
  limit?: number;
6716
6311
  increment?: number;
6717
- /** @example 5+2 */
6718
6312
  show?: string;
6719
6313
  }
6720
6314
  | {
@@ -6728,51 +6322,6 @@ export interface components {
6728
6322
  };
6729
6323
  /** @enum {string} */
6730
6324
  ChallengeColor: "white" | "black" | "random";
6731
- /**
6732
- * @example {
6733
- * "id": "H9fIRZUk",
6734
- * "url": "https://lichess.org/H9fIRZUk",
6735
- * "status": "created",
6736
- * "challenger": {
6737
- * "id": "bot1",
6738
- * "name": "Bot1",
6739
- * "rating": 1500,
6740
- * "title": "BOT",
6741
- * "provisional": true,
6742
- * "online": true,
6743
- * "lag": 4
6744
- * },
6745
- * "destUser": {
6746
- * "id": "bobby",
6747
- * "name": "Bobby",
6748
- * "rating": 1635,
6749
- * "title": "GM",
6750
- * "provisional": true,
6751
- * "online": true,
6752
- * "lag": 4
6753
- * },
6754
- * "variant": {
6755
- * "key": "standard",
6756
- * "name": "Standard",
6757
- * "short": "Std"
6758
- * },
6759
- * "rated": true,
6760
- * "speed": "rapid",
6761
- * "timeControl": {
6762
- * "type": "clock",
6763
- * "limit": 600,
6764
- * "increment": 0,
6765
- * "show": "10+0"
6766
- * },
6767
- * "color": "random",
6768
- * "finalColor": "black",
6769
- * "perf": {
6770
- * "icon": "",
6771
- * "name": "Rapid"
6772
- * },
6773
- * "direction": "out"
6774
- * }
6775
- */
6776
6325
  ChallengeJson: {
6777
6326
  id: string;
6778
6327
  /** Format: uri */
@@ -6839,21 +6388,6 @@ export interface components {
6839
6388
  rating?: number;
6840
6389
  provisional?: boolean;
6841
6390
  };
6842
- /**
6843
- * @example {
6844
- * "type": "gameState",
6845
- * "moves": "e2e4 c7c5 f2f4 d7d6 g1f3 b8c6 f1c4 g8f6 d2d3 g7g6 e1g1 f8g7 b1c3",
6846
- * "wtime": 7598040,
6847
- * "btime": 8395220,
6848
- * "winc": 10000,
6849
- * "binc": 10000,
6850
- * "wdraw": false,
6851
- * "bdraw": false,
6852
- * "wtakeback": false,
6853
- * "btakeback": false,
6854
- * "status": "started"
6855
- * }
6856
- */
6857
6391
  GameStateEvent: {
6858
6392
  /** @constant */
6859
6393
  type: "gameState";
@@ -6889,49 +6423,6 @@ export interface components {
6889
6423
  millisToMove: number;
6890
6424
  };
6891
6425
  };
6892
- /**
6893
- * @example {
6894
- * "id": "BEOucQJo",
6895
- * "variant": {
6896
- * "key": "standard",
6897
- * "name": "Standard",
6898
- * "short": "Std"
6899
- * },
6900
- * "speed": "rapid",
6901
- * "perf": {
6902
- * "name": "Rapid"
6903
- * },
6904
- * "rated": false,
6905
- * "createdAt": 1745112707998,
6906
- * "white": {
6907
- * "id": "bobby",
6908
- * "name": "Bobby",
6909
- * "title": null,
6910
- * "rating": 1751
6911
- * },
6912
- * "black": {
6913
- * "id": "mary",
6914
- * "name": "Mary",
6915
- * "title": null,
6916
- * "rating": 1021
6917
- * },
6918
- * "initialFen": "startpos",
6919
- * "clock": {
6920
- * "initial": 900000,
6921
- * "increment": 0
6922
- * },
6923
- * "type": "gameFull",
6924
- * "state": {
6925
- * "type": "gameState",
6926
- * "moves": "d2d3",
6927
- * "wtime": 900000,
6928
- * "btime": 900000,
6929
- * "winc": 0,
6930
- * "binc": 0,
6931
- * "status": "started"
6932
- * }
6933
- * }
6934
- */
6935
6426
  GameFullEvent: {
6936
6427
  /** @constant */
6937
6428
  type: "gameFull";
@@ -6966,14 +6457,6 @@ export interface components {
6966
6457
  daysPerTurn?: number;
6967
6458
  tournamentId?: string;
6968
6459
  };
6969
- /**
6970
- * @example {
6971
- * "type": "chatLine",
6972
- * "username": "thibault",
6973
- * "text": "Good luck, have fun",
6974
- * "room": "player"
6975
- * }
6976
- */
6977
6460
  ChatLineEvent: {
6978
6461
  /** @constant */
6979
6462
  type: "chatLine";
@@ -6982,35 +6465,12 @@ export interface components {
6982
6465
  username: string;
6983
6466
  text: string;
6984
6467
  };
6985
- /**
6986
- * @example {
6987
- * "type": "opponentGone",
6988
- * "gone": true,
6989
- * "claimWinInSeconds": 8
6990
- * }
6991
- */
6992
6468
  OpponentGoneEvent: {
6993
6469
  /** @constant */
6994
6470
  type: "opponentGone";
6995
6471
  gone: boolean;
6996
6472
  claimWinInSeconds?: number;
6997
6473
  };
6998
- /**
6999
- * @example [
7000
- * {
7001
- * "text": "Takeback sent",
7002
- * "user": "lichess"
7003
- * },
7004
- * {
7005
- * "text": "Takeback accepted",
7006
- * "user": "lichess"
7007
- * },
7008
- * {
7009
- * "text": "Good game, well played",
7010
- * "user": "thibault"
7011
- * }
7012
- * ]
7013
- */
7014
6474
  PlayerGameChat: {
7015
6475
  text: string;
7016
6476
  user: string;
@@ -7042,38 +6502,6 @@ export interface components {
7042
6502
  userIds?: string[];
7043
6503
  };
7044
6504
  };
7045
- /**
7046
- * @example {
7047
- * "id": "RVAcwgg7",
7048
- * "games": [
7049
- * {
7050
- * "id": "NKop9IyD",
7051
- * "black": "lizen1",
7052
- * "white": "thibault"
7053
- * },
7054
- * {
7055
- * "id": "KT8374ut",
7056
- * "black": "lizen3",
7057
- * "white": "lizen2"
7058
- * },
7059
- * {
7060
- * "id": "wInQr8Sk",
7061
- * "black": "lizen5",
7062
- * "white": "lizen4"
7063
- * }
7064
- * ],
7065
- * "variant": "standard",
7066
- * "clock": {
7067
- * "increment": 0,
7068
- * "limit": 300
7069
- * },
7070
- * "pairAt": 1612289869919,
7071
- * "pairedAt": null,
7072
- * "rated": false,
7073
- * "startClocksAt": 1612200422971,
7074
- * "scheduledAt": 1612203514628
7075
- * }
7076
- */
7077
6505
  BulkPairing: {
7078
6506
  id: string;
7079
6507
  games: {
@@ -7086,30 +6514,9 @@ export interface components {
7086
6514
  pairAt: number;
7087
6515
  pairedAt: number | null;
7088
6516
  rated: boolean;
7089
- startClocksAt: number;
6517
+ startClocksAt: number | null;
7090
6518
  scheduledAt: number;
7091
6519
  };
7092
- /**
7093
- * @example {
7094
- * "fen": "r1bqkbnr/pppp1ppp/2n5/1B2p3/4P3/5N2/PPPP1PPP/RNBQK2R",
7095
- * "knodes": 106325,
7096
- * "depth": 29,
7097
- * "pvs": [
7098
- * {
7099
- * "moves": "d1e2 d8e7 a2a4 a7a6 b5c4 d7d6 d2d3 g8f6 c1e3 c6a5",
7100
- * "cp": 41
7101
- * },
7102
- * {
7103
- * "moves": "c2c3 a7a6 b5a4 g8f6 d2d3 b7b5 a4b3 h7h6 a2a4 c8b7",
7104
- * "cp": 39
7105
- * },
7106
- * {
7107
- * "moves": "d2d3 d8f6 c2c3 a7a6 b5a4 f8c5 d3d4 c5a7 c1e3 g8e7",
7108
- * "cp": 37
7109
- * }
7110
- * ]
7111
- * }
7112
- */
7113
6520
  CloudEval: {
7114
6521
  depth: number;
7115
6522
  fen: string;
@@ -7137,7 +6544,6 @@ export interface components {
7137
6544
  };
7138
6545
  /**
7139
6546
  * @default chess
7140
- * @example chess
7141
6547
  * @enum {string}
7142
6548
  */
7143
6549
  UciVariant:
@@ -7251,12 +6657,6 @@ export interface components {
7251
6657
  /** @description Number of nodes to analyse in the position */
7252
6658
  nodes: number;
7253
6659
  } & components["schemas"]["ExternalEngineWorkCommon"]);
7254
- /**
7255
- * @example {
7256
- * "error": "invalid_grant",
7257
- * "error_description": "hash of code_verifier does not match code_challenge"
7258
- * }
7259
- */
7260
6660
  OAuthError: {
7261
6661
  /** @description The cause of the error. */
7262
6662
  error: string;
@@ -7346,118 +6746,6 @@ export interface components {
7346
6746
  year: number;
7347
6747
  month: string;
7348
6748
  };
7349
- /**
7350
- * @example {
7351
- * "opening": {
7352
- * "eco": "D00",
7353
- * "name": "Queen's Pawn Game"
7354
- * },
7355
- * "queuePosition": 25,
7356
- * "white": 366,
7357
- * "draws": 23,
7358
- * "black": 279,
7359
- * "moves": [
7360
- * {
7361
- * "uci": "c2c4",
7362
- * "san": "c4",
7363
- * "averageOpponentRating": 1695,
7364
- * "performance": 1744,
7365
- * "white": 361,
7366
- * "draws": 23,
7367
- * "black": 272,
7368
- * "game": null,
7369
- * "opening": {
7370
- * "eco": "D06",
7371
- * "name": "Queen's Gambit"
7372
- * }
7373
- * },
7374
- * {
7375
- * "uci": "c2c3",
7376
- * "san": "c3",
7377
- * "averageOpponentRating": 1797,
7378
- * "performance": 1797,
7379
- * "white": 2,
7380
- * "draws": 0,
7381
- * "black": 2,
7382
- * "game": null,
7383
- * "opening": null
7384
- * },
7385
- * {
7386
- * "uci": "e2e4",
7387
- * "san": "e4",
7388
- * "averageOpponentRating": 1762,
7389
- * "performance": 1640,
7390
- * "white": 1,
7391
- * "draws": 0,
7392
- * "black": 2,
7393
- * "game": null,
7394
- * "opening": {
7395
- * "eco": "D00",
7396
- * "name": "Blackmar-Diemer Gambit"
7397
- * }
7398
- * },
7399
- * {
7400
- * "uci": "g1f3",
7401
- * "san": "Nf3",
7402
- * "averageOpponentRating": 1497,
7403
- * "performance": 1374,
7404
- * "white": 1,
7405
- * "draws": 0,
7406
- * "black": 2,
7407
- * "game": null,
7408
- * "opening": {
7409
- * "eco": "D02",
7410
- * "name": "Queen's Pawn Game: Zukertort Variation"
7411
- * }
7412
- * },
7413
- * {
7414
- * "uci": "h2h4",
7415
- * "san": "h4",
7416
- * "averageOpponentRating": 1674,
7417
- * "performance": 874,
7418
- * "white": 0,
7419
- * "draws": 0,
7420
- * "black": 1,
7421
- * "game": {
7422
- * "id": "9vA24xBn",
7423
- * "winner": "black",
7424
- * "speed": "bullet",
7425
- * "mode": "rated",
7426
- * "black": {
7427
- * "name": "MentalBlood",
7428
- * "rating": 1674
7429
- * },
7430
- * "white": {
7431
- * "name": "revoof",
7432
- * "rating": 1657
7433
- * },
7434
- * "year": 2020,
7435
- * "month": "2020-06"
7436
- * },
7437
- * "opening": null
7438
- * }
7439
- * ],
7440
- * "recentGames": [
7441
- * {
7442
- * "uci": "c2c4",
7443
- * "id": "ycZbWQZO",
7444
- * "winner": "white",
7445
- * "speed": "bullet",
7446
- * "mode": "rated",
7447
- * "black": {
7448
- * "name": "Winavesh",
7449
- * "rating": 1700
7450
- * },
7451
- * "white": {
7452
- * "name": "revoof",
7453
- * "rating": 1700
7454
- * },
7455
- * "year": 2024,
7456
- * "month": "2024-11"
7457
- * }
7458
- * ]
7459
- * }
7460
- */
7461
6749
  OpeningExplorerPlayer: {
7462
6750
  opening: components["schemas"]["OpeningExplorerOpening"] | null;
7463
6751
  /** @description Waiting for other players to be indexed first */
@@ -7481,9 +6769,7 @@ export interface components {
7481
6769
  } & components["schemas"]["OpeningExplorerPlayerGame"])[];
7482
6770
  };
7483
6771
  TablebaseMove: {
7484
- /** @example h7h8q */
7485
6772
  uci: string;
7486
- /** @example h8=Q+ */
7487
6773
  san: string;
7488
6774
  /** @enum {string} */
7489
6775
  category:
@@ -7510,39 +6796,6 @@ export interface components {
7510
6796
  variant_loss?: boolean;
7511
6797
  insufficient_material?: boolean;
7512
6798
  };
7513
- /**
7514
- * @example {
7515
- * "dtz": 1,
7516
- * "precise_dtz": 1,
7517
- * "dtc": null,
7518
- * "dtm": 17,
7519
- * "dtw": null,
7520
- * "checkmate": false,
7521
- * "stalemate": false,
7522
- * "variant_win": false,
7523
- * "variant_loss": false,
7524
- * "insufficient_material": false,
7525
- * "category": "win",
7526
- * "moves": [
7527
- * {
7528
- * "uci": "h7h8q",
7529
- * "san": "h8=Q+",
7530
- * "dtz": -2,
7531
- * "precise_dtz": -2,
7532
- * "dtc": null,
7533
- * "dtm": -16,
7534
- * "dtw": null,
7535
- * "zeroing": true,
7536
- * "checkmate": false,
7537
- * "stalemate": false,
7538
- * "variant_win": false,
7539
- * "variant_loss": false,
7540
- * "insufficient_material": false,
7541
- * "category": "loss"
7542
- * }
7543
- * ]
7544
- * }
7545
- */
7546
6799
  TablebaseJson: {
7547
6800
  /**
7548
6801
  * @description `cursed-win` and `blessed-loss` means the 50-move rule prevents
@@ -8068,7 +7321,6 @@ export interface operations {
8068
7321
  };
8069
7322
  content: {
8070
7323
  "application/json": {
8071
- /** @example No puzzles to replay */
8072
7324
  error?: string;
8073
7325
  };
8074
7326
  };
@@ -8274,7 +7526,6 @@ export interface operations {
8274
7526
  content: {
8275
7527
  "application/json": {
8276
7528
  prefs?: components["schemas"]["UserPreferences"];
8277
- /** @example en-GB */
8278
7529
  language?: string;
8279
7530
  };
8280
7531
  };
@@ -8423,7 +7674,7 @@ export interface operations {
8423
7674
  [name: string]: unknown;
8424
7675
  };
8425
7676
  content: {
8426
- "application/x-ndjson": components["schemas"]["SpectatorGameChat"];
7677
+ "application/json": components["schemas"]["SpectatorGameChat"];
8427
7678
  };
8428
7679
  };
8429
7680
  };
@@ -8863,7 +8114,6 @@ export interface operations {
8863
8114
  };
8864
8115
  content: {
8865
8116
  "application/json": {
8866
- /** @example Please only run 8 request(s) at a time */
8867
8117
  error?: string;
8868
8118
  };
8869
8119
  };
@@ -8895,10 +8145,7 @@ export interface operations {
8895
8145
  };
8896
8146
  content: {
8897
8147
  "application/json": {
8898
- /**
8899
- * @description The game ID
8900
- * @example R6iLjwz5
8901
- */
8148
+ /** @description The game ID */
8902
8149
  id?: string;
8903
8150
  /**
8904
8151
  * Format: uri
@@ -11331,18 +10578,12 @@ export interface operations {
11331
10578
  };
11332
10579
  content: {
11333
10580
  "application/json": {
11334
- /** @example 4 */
11335
10581
  currentPage: number;
11336
- /** @example 15 */
11337
10582
  maxPerPage: number;
11338
10583
  currentPageResults: components["schemas"]["BroadcastByUser"][];
11339
- /** @example 205194 */
11340
10584
  nbResults: number;
11341
- /** @example 3 */
11342
10585
  previousPage: number | null;
11343
- /** @example 5 */
11344
10586
  nextPage: number | null;
11345
- /** @example 13680 */
11346
10587
  nbPages: number;
11347
10588
  };
11348
10589
  };
@@ -12157,17 +11398,16 @@ export interface operations {
12157
11398
  };
12158
11399
  content: {
12159
11400
  "application/x-ndjson": {
12160
- /**
12161
- * Format: int64
12162
- * @example 1716930043067
12163
- */
11401
+ /** Format: int64 */
12164
11402
  joinedTeamAt?: number;
12165
- /** @example chess-network */
12166
11403
  id: string;
12167
- /** @example Chess-Network */
12168
11404
  name: string;
11405
+ flair?: components["schemas"]["Flair"];
12169
11406
  title?: components["schemas"]["Title"];
11407
+ patron?: components["schemas"]["Patron"];
12170
11408
  patronColor?: components["schemas"]["PatronColor"];
11409
+ /** Format: uri */
11410
+ url?: string;
12171
11411
  };
12172
11412
  };
12173
11413
  };
@@ -12917,7 +12157,7 @@ export interface operations {
12917
12157
  [name: string]: unknown;
12918
12158
  };
12919
12159
  content: {
12920
- "application/x-ndjson": components["schemas"]["PlayerGameChat"];
12160
+ "application/json": components["schemas"]["PlayerGameChat"];
12921
12161
  };
12922
12162
  };
12923
12163
  };
@@ -13334,7 +12574,7 @@ export interface operations {
13334
12574
  [name: string]: unknown;
13335
12575
  };
13336
12576
  content: {
13337
- "application/x-ndjson": components["schemas"]["PlayerGameChat"];
12577
+ "application/json": components["schemas"]["PlayerGameChat"];
13338
12578
  };
13339
12579
  };
13340
12580
  };
@@ -14040,7 +13280,9 @@ export interface operations {
14040
13280
  [name: string]: unknown;
14041
13281
  };
14042
13282
  content: {
14043
- "application/json": components["schemas"]["BulkPairing"][];
13283
+ "application/json": {
13284
+ bulks: components["schemas"]["BulkPairing"][];
13285
+ };
14044
13286
  };
14045
13287
  };
14046
13288
  };
@@ -14450,7 +13692,6 @@ export interface operations {
14450
13692
  };
14451
13693
  content: {
14452
13694
  "application/json": {
14453
- /** @example No cloud evaluation available for that position */
14454
13695
  error?: string;
14455
13696
  };
14456
13697
  };
@@ -14668,7 +13909,6 @@ export interface operations {
14668
13909
  };
14669
13910
  content: {
14670
13911
  "application/json": {
14671
- /** @example aingoohiJee2sius */
14672
13912
  id: string;
14673
13913
  work: components["schemas"]["ExternalEngineWork"];
14674
13914
  engine: components["schemas"]["ExternalEngine"];
@@ -14797,11 +14037,8 @@ export interface operations {
14797
14037
  };
14798
14038
  content: {
14799
14039
  "application/json": {
14800
- /** @example Bearer */
14801
14040
  token_type: string;
14802
- /** @example lio_pLwAbN7lFPklzY2m8lTOI1DGApS84u57 */
14803
14041
  access_token: string;
14804
- /** @example 31536000 */
14805
14042
  expires_in: number;
14806
14043
  };
14807
14044
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lichess-org/types",
3
- "version": "2.0.173",
3
+ "version": "2.0.174",
4
4
  "description": "Lichess.org API types",
5
5
  "homepage": "https://github.com/lichess-org/api",
6
6
  "license": "AGPL-3.0-or-later",