@lootlog/sdk 0.1.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.
@@ -0,0 +1,2238 @@
1
+ import { n as battlelogFetch } from "./mutators-Da_vMUva.js";
2
+ //#region src/generated/battlelog.d.ts
3
+ export interface BattleCreatedResponseDtoOutput {
4
+ battleId: string;
5
+ }
6
+ export type CreateBattleDtoEventsItemPartyMembers = {
7
+ [key: string]: {
8
+ id: number;
9
+ account: number;
10
+ nick: string;
11
+ icon: string;
12
+ commander?: number;
13
+ };
14
+ };
15
+ export type CreateBattleDtoEventsItemParty = {
16
+ members: CreateBattleDtoEventsItemPartyMembers;
17
+ };
18
+ export type CreateBattleDtoEventsItemFW = {
19
+ [key: string]: {
20
+ originalId: number;
21
+ name: string;
22
+ lvl: number;
23
+ prof: string;
24
+ icon: string;
25
+ team: number;
26
+ };
27
+ };
28
+ export type CreateBattleDtoEventsItemF = {
29
+ m?: string[];
30
+ endBattle?: number;
31
+ init?: string;
32
+ auto?: string;
33
+ w?: CreateBattleDtoEventsItemFW;
34
+ };
35
+ export type CreateBattleDtoEventsItemMatchSummaryDailyStage = {
36
+ id: number;
37
+ points_cur: number;
38
+ points_max: number;
39
+ points_step: number;
40
+ rewards_last: number;
41
+ rewards_cur: number;
42
+ rewards_max: number;
43
+ };
44
+ export type CreateBattleDtoEventsItemMatchSummary = {
45
+ difficulty_rank: number;
46
+ result: number;
47
+ rating_delta: number;
48
+ opponent_lvl: number;
49
+ opponent_oplvl: number;
50
+ opponent_rating: number;
51
+ rating: number;
52
+ status: number;
53
+ placement_cur?: number;
54
+ placement_max?: number;
55
+ points_gained?: number;
56
+ daily_stage?: CreateBattleDtoEventsItemMatchSummaryDailyStage;
57
+ };
58
+ export type CreateBattleDtoEventsItem = {
59
+ party?: CreateBattleDtoEventsItemParty;
60
+ f: CreateBattleDtoEventsItemF;
61
+ ev?: number;
62
+ match_summary?: CreateBattleDtoEventsItemMatchSummary;
63
+ matchmaking_state?: number;
64
+ };
65
+ export interface CreateBattleDto {
66
+ accountId: string;
67
+ characterId: string;
68
+ /**
69
+ * @minLength 1
70
+ * @maxLength 128
71
+ */
72
+ submissionId?: string;
73
+ world: string;
74
+ matchmaking?: boolean;
75
+ /** @minItems 1 */
76
+ events: CreateBattleDtoEventsItem[];
77
+ }
78
+ /**
79
+ * @nullable
80
+ */
81
+ export type BattlesListResponseDtoOutputBattlesItemStatisticsTopDamageDealer = {
82
+ warriorId: string;
83
+ name: string;
84
+ value: number;
85
+ formattedValue?: string;
86
+ } | null;
87
+ /**
88
+ * @nullable
89
+ */
90
+ export type BattlesListResponseDtoOutputBattlesItemStatisticsTopTank = {
91
+ warriorId: string;
92
+ name: string;
93
+ value: number;
94
+ formattedValue?: string;
95
+ } | null;
96
+ /**
97
+ * @nullable
98
+ */
99
+ export type BattlesListResponseDtoOutputBattlesItemStatisticsBestEfficiency = {
100
+ warriorId: string;
101
+ name: string;
102
+ value: number;
103
+ formattedValue?: string;
104
+ } | null;
105
+ /**
106
+ * @nullable
107
+ */
108
+ export type BattlesListResponseDtoOutputBattlesItemStatisticsCriticalMaster = {
109
+ warriorId: string;
110
+ name: string;
111
+ value: number;
112
+ formattedValue?: string;
113
+ } | null;
114
+ /**
115
+ * @nullable
116
+ */
117
+ export type BattlesListResponseDtoOutputBattlesItemStatisticsEvasionExpert = {
118
+ warriorId: string;
119
+ name: string;
120
+ value: number;
121
+ formattedValue?: string;
122
+ } | null;
123
+ /**
124
+ * @nullable
125
+ */
126
+ export type BattlesListResponseDtoOutputBattlesItemStatisticsShieldWall = {
127
+ warriorId: string;
128
+ name: string;
129
+ value: number;
130
+ formattedValue?: string;
131
+ } | null;
132
+ /**
133
+ * @nullable
134
+ */
135
+ export type BattlesListResponseDtoOutputBattlesItemStatisticsDamagePerTurn = {
136
+ warriorId: string;
137
+ name: string;
138
+ value: number;
139
+ formattedValue?: string;
140
+ } | null;
141
+ /**
142
+ * @nullable
143
+ */
144
+ export type BattlesListResponseDtoOutputBattlesItemStatisticsMostActive = {
145
+ warriorId: string;
146
+ name: string;
147
+ value: number;
148
+ formattedValue?: string;
149
+ } | null;
150
+ /**
151
+ * @nullable
152
+ */
153
+ export type BattlesListResponseDtoOutputBattlesItemStatisticsLegendaryWarrior = {
154
+ warriorId: string;
155
+ name: string;
156
+ value: number;
157
+ formattedValue?: string;
158
+ } | null;
159
+ /**
160
+ * @nullable
161
+ */
162
+ export type BattlesListResponseDtoOutputBattlesItemStatisticsUntouchable = {
163
+ warriorId: string;
164
+ name: string;
165
+ value: number;
166
+ formattedValue?: string;
167
+ } | null;
168
+ export type BattlesListResponseDtoOutputBattlesItemStatistics = {
169
+ /** @nullable */
170
+ topDamageDealer: BattlesListResponseDtoOutputBattlesItemStatisticsTopDamageDealer;
171
+ /** @nullable */
172
+ topTank: BattlesListResponseDtoOutputBattlesItemStatisticsTopTank;
173
+ /** @nullable */
174
+ bestEfficiency: BattlesListResponseDtoOutputBattlesItemStatisticsBestEfficiency;
175
+ /** @nullable */
176
+ criticalMaster: BattlesListResponseDtoOutputBattlesItemStatisticsCriticalMaster;
177
+ /** @nullable */
178
+ evasionExpert: BattlesListResponseDtoOutputBattlesItemStatisticsEvasionExpert;
179
+ /** @nullable */
180
+ shieldWall: BattlesListResponseDtoOutputBattlesItemStatisticsShieldWall;
181
+ /** @nullable */
182
+ damagePerTurn: BattlesListResponseDtoOutputBattlesItemStatisticsDamagePerTurn;
183
+ /** @nullable */
184
+ mostActive: BattlesListResponseDtoOutputBattlesItemStatisticsMostActive;
185
+ /** @nullable */
186
+ legendaryWarrior: BattlesListResponseDtoOutputBattlesItemStatisticsLegendaryWarrior;
187
+ /** @nullable */
188
+ untouchable: BattlesListResponseDtoOutputBattlesItemStatisticsUntouchable;
189
+ };
190
+ export type BattlesListResponseDtoOutputBattlesItemWarriorsItemSpellsUsedMap = {
191
+ [key: string]: number;
192
+ };
193
+ export type BattlesListResponseDtoOutputBattlesItemWarriorsItem = {
194
+ id: string;
195
+ battleId: string;
196
+ originalId: string;
197
+ name: string;
198
+ lvl: number;
199
+ prof: string;
200
+ icon: string;
201
+ team: number;
202
+ turns: number;
203
+ turnsLost: number;
204
+ steps: number;
205
+ normalAttacks: number;
206
+ spellsUsed: number;
207
+ spellsUsedMap: BattlesListResponseDtoOutputBattlesItemWarriorsItemSpellsUsedMap;
208
+ isDead: boolean;
209
+ surrendered: boolean;
210
+ fled: boolean;
211
+ maxHp: number;
212
+ damageDealt: number;
213
+ distanceDamage: number;
214
+ meleeDamage: number;
215
+ auxiliaryDamage: number;
216
+ fireDamage: number;
217
+ frostDamage: number;
218
+ lightningDamage: number;
219
+ thirdAttDamage: number;
220
+ damageDealtAfterDefensive: number;
221
+ damageDealtAfterDefensivePercentage: number;
222
+ damageTaken: number;
223
+ distanceDamageTaken: number;
224
+ meleeDamageTaken: number;
225
+ auxiliaryDamageTaken: number;
226
+ fireDamageTaken: number;
227
+ frostDamageTaken: number;
228
+ lightningDamageTaken: number;
229
+ thirdAttDamageTaken: number;
230
+ flatDamageTaken: number;
231
+ rageDamageDealt: number;
232
+ trueDamageDealt: number;
233
+ trueDamageTaken: number;
234
+ stigmaDamageDealt: number;
235
+ stigmaDamageTaken: number;
236
+ passiveHealing: number;
237
+ activeHealing: number;
238
+ armorPierces: number;
239
+ criticalHits: number;
240
+ reducedArmor: number;
241
+ reducedPoisonResistance: number;
242
+ magicResistanceDestroyed: number;
243
+ evasions: number;
244
+ attacksEvaded: number;
245
+ counters: number;
246
+ fastArrows: number;
247
+ blocks: number;
248
+ attacksBlocked: number;
249
+ blockedDamage: number;
250
+ woundDamageTaken: number;
251
+ poisonDamageTaken: number;
252
+ injureDamageTaken: number;
253
+ injures: number;
254
+ critWoundDamageTaken: number;
255
+ firePassiveDamageTaken: number;
256
+ lightningPassiveDamageTaken: number;
257
+ destroyedEnergy: number;
258
+ destroyedMana: number;
259
+ regeneratedEnergy: number;
260
+ regeneratedMana: number;
261
+ reflectedDamage: number;
262
+ reflectedDamageTaken: number;
263
+ legbons: number;
264
+ legbonCurse: number;
265
+ legbonCleanse: number;
266
+ legbonLastheal: number;
267
+ legbonLasthealValue: number;
268
+ legbonGlare: number;
269
+ legbonHolytouch: number;
270
+ legbonHolytouchValue: number;
271
+ legbonCritredValue: number;
272
+ legbonFacadeValue: number;
273
+ legbonPunctureValue: number;
274
+ legbonVerycrit: number;
275
+ legbonAnguish: number;
276
+ legbonAnguishDamageTaken: number;
277
+ ph: number;
278
+ };
279
+ export type BattlesListResponseDtoOutputBattlesItem = {
280
+ id: string;
281
+ /** @pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$ */
282
+ createdAt: string;
283
+ /** @pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$ */
284
+ updatedAt: string;
285
+ public: boolean;
286
+ userId: string;
287
+ accountId: string;
288
+ characterId: string;
289
+ world: string;
290
+ duration: number;
291
+ type: string;
292
+ winner: string;
293
+ loser: string;
294
+ winningTeam: number;
295
+ losingTeam: number;
296
+ honorPoints: number;
297
+ hasFlee: boolean;
298
+ matchmaking: boolean;
299
+ statistics: BattlesListResponseDtoOutputBattlesItemStatistics;
300
+ /** @nullable */
301
+ difficultyRank: number | null;
302
+ /** @nullable */
303
+ result: number | null;
304
+ /** @nullable */
305
+ ratingDelta: number | null;
306
+ /** @nullable */
307
+ opponentLvl: number | null;
308
+ /** @nullable */
309
+ opponentOplvl: number | null;
310
+ /** @nullable */
311
+ opponentRating: number | null;
312
+ /** @nullable */
313
+ rating: number | null;
314
+ /** @nullable */
315
+ status: number | null;
316
+ /** @nullable */
317
+ pointsGained: number | null;
318
+ /** @nullable */
319
+ placementCur: number | null;
320
+ /** @nullable */
321
+ placementMax: number | null;
322
+ /** @nullable */
323
+ dailyStageId: number | null;
324
+ /** @nullable */
325
+ dailyPointsCur: number | null;
326
+ /** @nullable */
327
+ dailyPointsMax: number | null;
328
+ /** @nullable */
329
+ dailyPointsStep: number | null;
330
+ /** @nullable */
331
+ dailyRewardsLast: number | null;
332
+ /** @nullable */
333
+ dailyRewardsCur: number | null;
334
+ /** @nullable */
335
+ dailyRewardsMax: number | null;
336
+ warriors: BattlesListResponseDtoOutputBattlesItemWarriorsItem[];
337
+ };
338
+ export type BattlesListResponseDtoOutputPagination = {
339
+ size: number;
340
+ hasNext: boolean;
341
+ hasPrev: boolean;
342
+ nextCursor?: string;
343
+ previousCursor?: string;
344
+ total?: number;
345
+ };
346
+ export type BattlesListResponseDtoOutputMetaPerformance = {
347
+ queryTime: number;
348
+ countTime?: number;
349
+ totalItems?: number;
350
+ estimatedTotal?: boolean;
351
+ };
352
+ export type BattlesListResponseDtoOutputMeta = {
353
+ performance: BattlesListResponseDtoOutputMetaPerformance;
354
+ };
355
+ export interface BattlesListResponseDtoOutput {
356
+ battles: BattlesListResponseDtoOutputBattlesItem[];
357
+ pagination: BattlesListResponseDtoOutputPagination;
358
+ meta: BattlesListResponseDtoOutputMeta;
359
+ }
360
+ export type BattleCharactersResponseDtoOutputCharactersItem = {
361
+ id: string;
362
+ name: string;
363
+ world: string;
364
+ icon: string;
365
+ };
366
+ export interface BattleCharactersResponseDtoOutput {
367
+ characters: BattleCharactersResponseDtoOutputCharactersItem[];
368
+ }
369
+ export interface BattleAnalyticsResponseDtoOutput {
370
+ totalBattles: number;
371
+ wins: number;
372
+ losses: number;
373
+ winRatio: number;
374
+ totalPH: number;
375
+ }
376
+ export interface AbyssSeasonResponseDtoOutput {
377
+ id: string;
378
+ /** @pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$ */
379
+ startedAt: string;
380
+ /** @pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$ */
381
+ endedAt: string;
382
+ totalBattles: number;
383
+ wins: number;
384
+ losses: number;
385
+ winRate: number;
386
+ totalRatingDelta: number;
387
+ /** @nullable */
388
+ peakRating: number | null;
389
+ /** @nullable */
390
+ totalPointsGained: number | null;
391
+ }
392
+ export type CombatProfileResponseDtoOutputSummary = {
393
+ totalBattles: number;
394
+ wins: number;
395
+ losses: number;
396
+ winRate: number;
397
+ totalPH: number;
398
+ totalRatingDelta: number;
399
+ avgTurns: number;
400
+ avgDuration: number;
401
+ damagePerTurn: number;
402
+ mitigationRate: number;
403
+ controlRate: number;
404
+ };
405
+ export type CombatProfileResponseDtoOutputDamageMixItem = {
406
+ key: string;
407
+ label: string;
408
+ value: number;
409
+ share: number;
410
+ };
411
+ export type CombatProfileResponseDtoOutputMitigationMixItem = {
412
+ key: string;
413
+ label: string;
414
+ value: number;
415
+ share: number;
416
+ };
417
+ export type CombatProfileResponseDtoOutputSpellUsageItem = {
418
+ spell: string;
419
+ /** @nullable */
420
+ skillId: number | null;
421
+ casts: number;
422
+ share: number;
423
+ };
424
+ export type CombatProfileResponseDtoOutputMatchupByProfessionItem = {
425
+ prof: string;
426
+ wins: number;
427
+ losses: number;
428
+ totalBattles: number;
429
+ winRate: number;
430
+ };
431
+ export type CombatProfileResponseDtoOutputPhTrendItem = {
432
+ /** @pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$ */
433
+ date: string;
434
+ value: number;
435
+ cumulativeValue: number;
436
+ battleId: string;
437
+ };
438
+ export type CombatProfileResponseDtoOutputRatingTrendItem = {
439
+ /** @pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$ */
440
+ date: string;
441
+ value: number;
442
+ cumulativeValue: number;
443
+ battleId: string;
444
+ };
445
+ export type CombatProfileResponseDtoOutputHighlightsItem = {
446
+ battleId: string;
447
+ /** @pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$ */
448
+ createdAt: string;
449
+ type: string;
450
+ label: string;
451
+ value: number;
452
+ };
453
+ export interface CombatProfileResponseDtoOutput {
454
+ summary: CombatProfileResponseDtoOutputSummary;
455
+ damageMix: CombatProfileResponseDtoOutputDamageMixItem[];
456
+ mitigationMix: CombatProfileResponseDtoOutputMitigationMixItem[];
457
+ spellUsage: CombatProfileResponseDtoOutputSpellUsageItem[];
458
+ matchupByProfession: CombatProfileResponseDtoOutputMatchupByProfessionItem[];
459
+ phTrend: CombatProfileResponseDtoOutputPhTrendItem[];
460
+ ratingTrend: CombatProfileResponseDtoOutputRatingTrendItem[];
461
+ highlights: CombatProfileResponseDtoOutputHighlightsItem[];
462
+ }
463
+ export interface ProfessionWinRateResponseDtoOutput {
464
+ prof: string;
465
+ wins: number;
466
+ losses: number;
467
+ totalBattles: number;
468
+ winRate: number;
469
+ }
470
+ export type HeadToHeadPaginatedResponseDtoOutputRecordsItemLastBattleResult = typeof HeadToHeadPaginatedResponseDtoOutputRecordsItemLastBattleResult[keyof typeof HeadToHeadPaginatedResponseDtoOutputRecordsItemLastBattleResult];
471
+ export declare const HeadToHeadPaginatedResponseDtoOutputRecordsItemLastBattleResult: {
472
+ readonly won: 'won';
473
+ readonly lost: 'lost';
474
+ readonly flee: 'flee';
475
+ };
476
+ export type HeadToHeadPaginatedResponseDtoOutputRecordsItemLastBattleUserWarrior = {
477
+ name: string;
478
+ lvl: number;
479
+ prof: string;
480
+ icon: string;
481
+ fireDamage: number;
482
+ frostDamage: number;
483
+ lightningDamage: number;
484
+ poisonDamageTaken: number;
485
+ woundDamageTaken: number;
486
+ critWoundDamageTaken: number;
487
+ };
488
+ export type HeadToHeadPaginatedResponseDtoOutputRecordsItemLastBattleOpponentWarrior = {
489
+ name: string;
490
+ lvl: number;
491
+ prof: string;
492
+ icon: string;
493
+ fireDamage: number;
494
+ frostDamage: number;
495
+ lightningDamage: number;
496
+ poisonDamageTaken: number;
497
+ woundDamageTaken: number;
498
+ critWoundDamageTaken: number;
499
+ };
500
+ export type HeadToHeadPaginatedResponseDtoOutputRecordsItem = {
501
+ opponentId: string;
502
+ opponentName: string;
503
+ opponentIcon: string;
504
+ opponentProf: string;
505
+ opponentLvl: number;
506
+ lastBattleResult: HeadToHeadPaginatedResponseDtoOutputRecordsItemLastBattleResult;
507
+ lastBattleUserWarrior: HeadToHeadPaginatedResponseDtoOutputRecordsItemLastBattleUserWarrior;
508
+ lastBattleOpponentWarrior: HeadToHeadPaginatedResponseDtoOutputRecordsItemLastBattleOpponentWarrior;
509
+ wins: number;
510
+ losses: number;
511
+ totalBattles: number;
512
+ winRate: number;
513
+ /** @pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$ */
514
+ lastBattleDate: string;
515
+ totalRatingDelta?: number;
516
+ avgRatingDelta?: number;
517
+ };
518
+ export type HeadToHeadPaginatedResponseDtoOutputPagination = {
519
+ size: number;
520
+ hasNext: boolean;
521
+ hasPrev: boolean;
522
+ nextCursor?: string;
523
+ previousCursor?: string;
524
+ total?: number;
525
+ };
526
+ export type HeadToHeadPaginatedResponseDtoOutputMetaPerformance = {
527
+ queryTime: number;
528
+ countTime?: number;
529
+ totalItems?: number;
530
+ estimatedTotal?: boolean;
531
+ };
532
+ export type HeadToHeadPaginatedResponseDtoOutputMeta = {
533
+ performance: HeadToHeadPaginatedResponseDtoOutputMetaPerformance;
534
+ };
535
+ export interface HeadToHeadPaginatedResponseDtoOutput {
536
+ records: HeadToHeadPaginatedResponseDtoOutputRecordsItem[];
537
+ pagination: HeadToHeadPaginatedResponseDtoOutputPagination;
538
+ meta: HeadToHeadPaginatedResponseDtoOutputMeta;
539
+ }
540
+ export type StreakResponseDtoOutputCurrentType = typeof StreakResponseDtoOutputCurrentType[keyof typeof StreakResponseDtoOutputCurrentType];
541
+ export declare const StreakResponseDtoOutputCurrentType: {
542
+ readonly wins: 'wins';
543
+ readonly losses: 'losses';
544
+ readonly none: 'none';
545
+ };
546
+ export type StreakResponseDtoOutputCurrent = {
547
+ type: StreakResponseDtoOutputCurrentType;
548
+ count: number;
549
+ };
550
+ export type StreakResponseDtoOutputLongest = {
551
+ wins: number;
552
+ losses: number;
553
+ };
554
+ export interface StreakResponseDtoOutput {
555
+ current: StreakResponseDtoOutputCurrent;
556
+ longest: StreakResponseDtoOutputLongest;
557
+ }
558
+ /**
559
+ * @nullable
560
+ */
561
+ export type BattleDurationStatsResponseDtoOutputFastest = {
562
+ duration: number;
563
+ battleId: string;
564
+ } | null;
565
+ /**
566
+ * @nullable
567
+ */
568
+ export type BattleDurationStatsResponseDtoOutputLongest = {
569
+ duration: number;
570
+ battleId: string;
571
+ } | null;
572
+ export interface BattleDurationStatsResponseDtoOutput {
573
+ avgWinDuration: number;
574
+ avgLossDuration: number;
575
+ /** @nullable */
576
+ fastest: BattleDurationStatsResponseDtoOutputFastest;
577
+ /** @nullable */
578
+ longest: BattleDurationStatsResponseDtoOutputLongest;
579
+ }
580
+ export interface PhGrowthDataPointResponseDtoOutput {
581
+ /** @pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$ */
582
+ date: string;
583
+ ph: number;
584
+ cumulativePh: number;
585
+ battleId: string;
586
+ }
587
+ export interface RatingGrowthDataPointResponseDtoOutput {
588
+ /** @pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$ */
589
+ date: string;
590
+ ratingDelta: number;
591
+ rating: number;
592
+ battleId: string;
593
+ }
594
+ export interface RatingDeltaByOpponentResponseDtoOutput {
595
+ opponentId: string;
596
+ opponentName: string;
597
+ opponentIcon: string;
598
+ opponentProf: string;
599
+ opponentLvl: number;
600
+ totalRatingDelta: number;
601
+ wins: number;
602
+ losses: number;
603
+ totalBattles: number;
604
+ avgRatingDelta: number;
605
+ /** @pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$ */
606
+ lastBattleDate: string;
607
+ }
608
+ export type PlayerVsPlayerPaginatedResponseDtoOutputBattlesItemUserWarrior = {
609
+ name: string;
610
+ lvl: number;
611
+ prof: string;
612
+ icon: string;
613
+ fireDamage: number;
614
+ frostDamage: number;
615
+ lightningDamage: number;
616
+ poisonDamageTaken: number;
617
+ woundDamageTaken: number;
618
+ critWoundDamageTaken: number;
619
+ };
620
+ export type PlayerVsPlayerPaginatedResponseDtoOutputBattlesItemOpponentWarrior = {
621
+ name: string;
622
+ lvl: number;
623
+ prof: string;
624
+ icon: string;
625
+ fireDamage: number;
626
+ frostDamage: number;
627
+ lightningDamage: number;
628
+ poisonDamageTaken: number;
629
+ woundDamageTaken: number;
630
+ critWoundDamageTaken: number;
631
+ };
632
+ export type PlayerVsPlayerPaginatedResponseDtoOutputBattlesItem = {
633
+ battleId: string;
634
+ /** @pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$ */
635
+ createdAt: string;
636
+ duration: number;
637
+ winner: string;
638
+ loser: string;
639
+ hasFlee: boolean;
640
+ matchmaking: boolean;
641
+ /** @nullable */
642
+ ratingDelta: number | null;
643
+ /** @nullable */
644
+ userRating: number | null;
645
+ /** @nullable */
646
+ opponentRating: number | null;
647
+ userWarrior: PlayerVsPlayerPaginatedResponseDtoOutputBattlesItemUserWarrior;
648
+ opponentWarrior: PlayerVsPlayerPaginatedResponseDtoOutputBattlesItemOpponentWarrior;
649
+ };
650
+ export type PlayerVsPlayerPaginatedResponseDtoOutputPagination = {
651
+ size: number;
652
+ hasNext: boolean;
653
+ hasPrev: boolean;
654
+ nextCursor?: string;
655
+ previousCursor?: string;
656
+ total?: number;
657
+ };
658
+ export type PlayerVsPlayerPaginatedResponseDtoOutputMetaPerformance = {
659
+ queryTime: number;
660
+ totalItems?: number;
661
+ };
662
+ export type PlayerVsPlayerPaginatedResponseDtoOutputMeta = {
663
+ performance: PlayerVsPlayerPaginatedResponseDtoOutputMetaPerformance;
664
+ };
665
+ export interface PlayerVsPlayerPaginatedResponseDtoOutput {
666
+ battles: PlayerVsPlayerPaginatedResponseDtoOutputBattlesItem[];
667
+ pagination: PlayerVsPlayerPaginatedResponseDtoOutputPagination;
668
+ meta: PlayerVsPlayerPaginatedResponseDtoOutputMeta;
669
+ }
670
+ export type BattleWarriorsSearchResponseDtoOutputWarriorsItem = {
671
+ name: string;
672
+ icon: string;
673
+ prof: string;
674
+ lvl: number;
675
+ };
676
+ export interface BattleWarriorsSearchResponseDtoOutput {
677
+ warriors: BattleWarriorsSearchResponseDtoOutputWarriorsItem[];
678
+ }
679
+ export interface BattleUserWorldsResponseDtoOutput {
680
+ worlds: string[];
681
+ }
682
+ export type BattleTimelineResponseDtoOutputTimelineItemHpByWarrior = {
683
+ [key: string]: number;
684
+ };
685
+ export type BattleTimelineResponseDtoOutputTimelineItemTeamHp = {
686
+ [key: string]: number;
687
+ };
688
+ export type BattleTimelineResponseDtoOutputTimelineItemTeamHpDelta = {
689
+ [key: string]: number;
690
+ };
691
+ export type BattleTimelineResponseDtoOutputTimelineItemDeltasByWarrior = {
692
+ [key: string]: {
693
+ damageDealt: number;
694
+ damageTaken: number;
695
+ healingDone: number;
696
+ healingReceived: number;
697
+ mitigation: number;
698
+ resourceDelta: number;
699
+ resourcePressure: number;
700
+ energyPressure: number;
701
+ manaPressure: number;
702
+ absorbGained: number;
703
+ absorbSpent: number;
704
+ magicAbsorbGained: number;
705
+ magicAbsorbSpent: number;
706
+ controlApplied: number;
707
+ controlTaken: number;
708
+ };
709
+ };
710
+ export type BattleTimelineResponseDtoOutputTimelineItemDeltas = {
711
+ damage: number;
712
+ healing: number;
713
+ mitigation: number;
714
+ resourcePressure: number;
715
+ energyPressure: number;
716
+ manaPressure: number;
717
+ byWarrior: BattleTimelineResponseDtoOutputTimelineItemDeltasByWarrior;
718
+ };
719
+ export type BattleTimelineResponseDtoOutputTimelineItemCumulative = {
720
+ [key: string]: {
721
+ damageDealt: number;
722
+ damageTaken: number;
723
+ healingDone: number;
724
+ healingReceived: number;
725
+ mitigation: number;
726
+ resourceDelta: number;
727
+ resourcePressure: number;
728
+ energyPressure: number;
729
+ manaPressure: number;
730
+ absorbGained: number;
731
+ absorbSpent: number;
732
+ magicAbsorbGained: number;
733
+ magicAbsorbSpent: number;
734
+ controlApplied: number;
735
+ controlTaken: number;
736
+ };
737
+ };
738
+ export type BattleTimelineResponseDtoOutputTimelineItemActionsItem = {
739
+ actionType: string;
740
+ param: string;
741
+ category: string;
742
+ /** @nullable */
743
+ actorId: string | null;
744
+ /** @nullable */
745
+ targetId: string | null;
746
+ value: number;
747
+ handled: boolean;
748
+ };
749
+ export type BattleTimelineResponseDtoOutputTimelineItem = {
750
+ turn: number;
751
+ /** @nullable */
752
+ attackerId: string | null;
753
+ /** @nullable */
754
+ defenderId: string | null;
755
+ /** @nullable */
756
+ attackerHpPercentage: number | null;
757
+ /** @nullable */
758
+ defenderHpPercentage: number | null;
759
+ hpByWarrior: BattleTimelineResponseDtoOutputTimelineItemHpByWarrior;
760
+ teamHp: BattleTimelineResponseDtoOutputTimelineItemTeamHp;
761
+ teamHpDelta: BattleTimelineResponseDtoOutputTimelineItemTeamHpDelta;
762
+ deltas: BattleTimelineResponseDtoOutputTimelineItemDeltas;
763
+ cumulative: BattleTimelineResponseDtoOutputTimelineItemCumulative;
764
+ actions: BattleTimelineResponseDtoOutputTimelineItemActionsItem[];
765
+ flags: string[];
766
+ labels: string[];
767
+ significanceScore: number;
768
+ reason: string;
769
+ };
770
+ export type BattleTimelineResponseDtoOutputWarriorsItemSpellsUsedMap = {
771
+ [key: string]: number;
772
+ };
773
+ export type BattleTimelineResponseDtoOutputWarriorsItem = {
774
+ id: string;
775
+ battleId: string;
776
+ originalId: string;
777
+ name: string;
778
+ lvl: number;
779
+ prof: string;
780
+ icon: string;
781
+ team: number;
782
+ turns: number;
783
+ turnsLost: number;
784
+ steps: number;
785
+ normalAttacks: number;
786
+ spellsUsed: number;
787
+ spellsUsedMap: BattleTimelineResponseDtoOutputWarriorsItemSpellsUsedMap;
788
+ isDead: boolean;
789
+ surrendered: boolean;
790
+ fled: boolean;
791
+ maxHp: number;
792
+ damageDealt: number;
793
+ distanceDamage: number;
794
+ meleeDamage: number;
795
+ auxiliaryDamage: number;
796
+ fireDamage: number;
797
+ frostDamage: number;
798
+ lightningDamage: number;
799
+ thirdAttDamage: number;
800
+ damageDealtAfterDefensive: number;
801
+ damageDealtAfterDefensivePercentage: number;
802
+ damageTaken: number;
803
+ distanceDamageTaken: number;
804
+ meleeDamageTaken: number;
805
+ auxiliaryDamageTaken: number;
806
+ fireDamageTaken: number;
807
+ frostDamageTaken: number;
808
+ lightningDamageTaken: number;
809
+ thirdAttDamageTaken: number;
810
+ flatDamageTaken: number;
811
+ rageDamageDealt: number;
812
+ trueDamageDealt: number;
813
+ trueDamageTaken: number;
814
+ stigmaDamageDealt: number;
815
+ stigmaDamageTaken: number;
816
+ passiveHealing: number;
817
+ activeHealing: number;
818
+ armorPierces: number;
819
+ criticalHits: number;
820
+ reducedArmor: number;
821
+ reducedPoisonResistance: number;
822
+ magicResistanceDestroyed: number;
823
+ evasions: number;
824
+ attacksEvaded: number;
825
+ counters: number;
826
+ fastArrows: number;
827
+ blocks: number;
828
+ attacksBlocked: number;
829
+ blockedDamage: number;
830
+ woundDamageTaken: number;
831
+ poisonDamageTaken: number;
832
+ injureDamageTaken: number;
833
+ injures: number;
834
+ critWoundDamageTaken: number;
835
+ firePassiveDamageTaken: number;
836
+ lightningPassiveDamageTaken: number;
837
+ destroyedEnergy: number;
838
+ destroyedMana: number;
839
+ regeneratedEnergy: number;
840
+ regeneratedMana: number;
841
+ reflectedDamage: number;
842
+ reflectedDamageTaken: number;
843
+ legbons: number;
844
+ legbonCurse: number;
845
+ legbonCleanse: number;
846
+ legbonLastheal: number;
847
+ legbonLasthealValue: number;
848
+ legbonGlare: number;
849
+ legbonHolytouch: number;
850
+ legbonHolytouchValue: number;
851
+ legbonCritredValue: number;
852
+ legbonFacadeValue: number;
853
+ legbonPunctureValue: number;
854
+ legbonVerycrit: number;
855
+ legbonAnguish: number;
856
+ legbonAnguishDamageTaken: number;
857
+ ph: number;
858
+ };
859
+ export interface BattleTimelineResponseDtoOutput {
860
+ battleId: string;
861
+ /** @pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$ */
862
+ generatedAt: string;
863
+ timeline: BattleTimelineResponseDtoOutputTimelineItem[];
864
+ warriors: BattleTimelineResponseDtoOutputWarriorsItem[];
865
+ }
866
+ /**
867
+ * @nullable
868
+ */
869
+ export type BattleResponseDtoOutputStatisticsTopDamageDealer = {
870
+ warriorId: string;
871
+ name: string;
872
+ value: number;
873
+ formattedValue?: string;
874
+ } | null;
875
+ /**
876
+ * @nullable
877
+ */
878
+ export type BattleResponseDtoOutputStatisticsTopTank = {
879
+ warriorId: string;
880
+ name: string;
881
+ value: number;
882
+ formattedValue?: string;
883
+ } | null;
884
+ /**
885
+ * @nullable
886
+ */
887
+ export type BattleResponseDtoOutputStatisticsBestEfficiency = {
888
+ warriorId: string;
889
+ name: string;
890
+ value: number;
891
+ formattedValue?: string;
892
+ } | null;
893
+ /**
894
+ * @nullable
895
+ */
896
+ export type BattleResponseDtoOutputStatisticsCriticalMaster = {
897
+ warriorId: string;
898
+ name: string;
899
+ value: number;
900
+ formattedValue?: string;
901
+ } | null;
902
+ /**
903
+ * @nullable
904
+ */
905
+ export type BattleResponseDtoOutputStatisticsEvasionExpert = {
906
+ warriorId: string;
907
+ name: string;
908
+ value: number;
909
+ formattedValue?: string;
910
+ } | null;
911
+ /**
912
+ * @nullable
913
+ */
914
+ export type BattleResponseDtoOutputStatisticsShieldWall = {
915
+ warriorId: string;
916
+ name: string;
917
+ value: number;
918
+ formattedValue?: string;
919
+ } | null;
920
+ /**
921
+ * @nullable
922
+ */
923
+ export type BattleResponseDtoOutputStatisticsDamagePerTurn = {
924
+ warriorId: string;
925
+ name: string;
926
+ value: number;
927
+ formattedValue?: string;
928
+ } | null;
929
+ /**
930
+ * @nullable
931
+ */
932
+ export type BattleResponseDtoOutputStatisticsMostActive = {
933
+ warriorId: string;
934
+ name: string;
935
+ value: number;
936
+ formattedValue?: string;
937
+ } | null;
938
+ /**
939
+ * @nullable
940
+ */
941
+ export type BattleResponseDtoOutputStatisticsLegendaryWarrior = {
942
+ warriorId: string;
943
+ name: string;
944
+ value: number;
945
+ formattedValue?: string;
946
+ } | null;
947
+ /**
948
+ * @nullable
949
+ */
950
+ export type BattleResponseDtoOutputStatisticsUntouchable = {
951
+ warriorId: string;
952
+ name: string;
953
+ value: number;
954
+ formattedValue?: string;
955
+ } | null;
956
+ export type BattleResponseDtoOutputStatistics = {
957
+ /** @nullable */
958
+ topDamageDealer: BattleResponseDtoOutputStatisticsTopDamageDealer;
959
+ /** @nullable */
960
+ topTank: BattleResponseDtoOutputStatisticsTopTank;
961
+ /** @nullable */
962
+ bestEfficiency: BattleResponseDtoOutputStatisticsBestEfficiency;
963
+ /** @nullable */
964
+ criticalMaster: BattleResponseDtoOutputStatisticsCriticalMaster;
965
+ /** @nullable */
966
+ evasionExpert: BattleResponseDtoOutputStatisticsEvasionExpert;
967
+ /** @nullable */
968
+ shieldWall: BattleResponseDtoOutputStatisticsShieldWall;
969
+ /** @nullable */
970
+ damagePerTurn: BattleResponseDtoOutputStatisticsDamagePerTurn;
971
+ /** @nullable */
972
+ mostActive: BattleResponseDtoOutputStatisticsMostActive;
973
+ /** @nullable */
974
+ legendaryWarrior: BattleResponseDtoOutputStatisticsLegendaryWarrior;
975
+ /** @nullable */
976
+ untouchable: BattleResponseDtoOutputStatisticsUntouchable;
977
+ };
978
+ export type BattleResponseDtoOutputWarriorsItemSpellsUsedMap = {
979
+ [key: string]: number;
980
+ };
981
+ export type BattleResponseDtoOutputWarriorsItem = {
982
+ id: string;
983
+ battleId: string;
984
+ originalId: string;
985
+ name: string;
986
+ lvl: number;
987
+ prof: string;
988
+ icon: string;
989
+ team: number;
990
+ turns: number;
991
+ turnsLost: number;
992
+ steps: number;
993
+ normalAttacks: number;
994
+ spellsUsed: number;
995
+ spellsUsedMap: BattleResponseDtoOutputWarriorsItemSpellsUsedMap;
996
+ isDead: boolean;
997
+ surrendered: boolean;
998
+ fled: boolean;
999
+ maxHp: number;
1000
+ damageDealt: number;
1001
+ distanceDamage: number;
1002
+ meleeDamage: number;
1003
+ auxiliaryDamage: number;
1004
+ fireDamage: number;
1005
+ frostDamage: number;
1006
+ lightningDamage: number;
1007
+ thirdAttDamage: number;
1008
+ damageDealtAfterDefensive: number;
1009
+ damageDealtAfterDefensivePercentage: number;
1010
+ damageTaken: number;
1011
+ distanceDamageTaken: number;
1012
+ meleeDamageTaken: number;
1013
+ auxiliaryDamageTaken: number;
1014
+ fireDamageTaken: number;
1015
+ frostDamageTaken: number;
1016
+ lightningDamageTaken: number;
1017
+ thirdAttDamageTaken: number;
1018
+ flatDamageTaken: number;
1019
+ rageDamageDealt: number;
1020
+ trueDamageDealt: number;
1021
+ trueDamageTaken: number;
1022
+ stigmaDamageDealt: number;
1023
+ stigmaDamageTaken: number;
1024
+ passiveHealing: number;
1025
+ activeHealing: number;
1026
+ armorPierces: number;
1027
+ criticalHits: number;
1028
+ reducedArmor: number;
1029
+ reducedPoisonResistance: number;
1030
+ magicResistanceDestroyed: number;
1031
+ evasions: number;
1032
+ attacksEvaded: number;
1033
+ counters: number;
1034
+ fastArrows: number;
1035
+ blocks: number;
1036
+ attacksBlocked: number;
1037
+ blockedDamage: number;
1038
+ woundDamageTaken: number;
1039
+ poisonDamageTaken: number;
1040
+ injureDamageTaken: number;
1041
+ injures: number;
1042
+ critWoundDamageTaken: number;
1043
+ firePassiveDamageTaken: number;
1044
+ lightningPassiveDamageTaken: number;
1045
+ destroyedEnergy: number;
1046
+ destroyedMana: number;
1047
+ regeneratedEnergy: number;
1048
+ regeneratedMana: number;
1049
+ reflectedDamage: number;
1050
+ reflectedDamageTaken: number;
1051
+ legbons: number;
1052
+ legbonCurse: number;
1053
+ legbonCleanse: number;
1054
+ legbonLastheal: number;
1055
+ legbonLasthealValue: number;
1056
+ legbonGlare: number;
1057
+ legbonHolytouch: number;
1058
+ legbonHolytouchValue: number;
1059
+ legbonCritredValue: number;
1060
+ legbonFacadeValue: number;
1061
+ legbonPunctureValue: number;
1062
+ legbonVerycrit: number;
1063
+ legbonAnguish: number;
1064
+ legbonAnguishDamageTaken: number;
1065
+ ph: number;
1066
+ };
1067
+ export interface BattleResponseDtoOutput {
1068
+ id: string;
1069
+ /** @pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$ */
1070
+ createdAt: string;
1071
+ /** @pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$ */
1072
+ updatedAt: string;
1073
+ public: boolean;
1074
+ userId: string;
1075
+ accountId: string;
1076
+ characterId: string;
1077
+ world: string;
1078
+ duration: number;
1079
+ type: string;
1080
+ winner: string;
1081
+ loser: string;
1082
+ winningTeam: number;
1083
+ losingTeam: number;
1084
+ honorPoints: number;
1085
+ hasFlee: boolean;
1086
+ matchmaking: boolean;
1087
+ statistics: BattleResponseDtoOutputStatistics;
1088
+ /** @nullable */
1089
+ difficultyRank: number | null;
1090
+ /** @nullable */
1091
+ result: number | null;
1092
+ /** @nullable */
1093
+ ratingDelta: number | null;
1094
+ /** @nullable */
1095
+ opponentLvl: number | null;
1096
+ /** @nullable */
1097
+ opponentOplvl: number | null;
1098
+ /** @nullable */
1099
+ opponentRating: number | null;
1100
+ /** @nullable */
1101
+ rating: number | null;
1102
+ /** @nullable */
1103
+ status: number | null;
1104
+ /** @nullable */
1105
+ pointsGained: number | null;
1106
+ /** @nullable */
1107
+ placementCur: number | null;
1108
+ /** @nullable */
1109
+ placementMax: number | null;
1110
+ /** @nullable */
1111
+ dailyStageId: number | null;
1112
+ /** @nullable */
1113
+ dailyPointsCur: number | null;
1114
+ /** @nullable */
1115
+ dailyPointsMax: number | null;
1116
+ /** @nullable */
1117
+ dailyPointsStep: number | null;
1118
+ /** @nullable */
1119
+ dailyRewardsLast: number | null;
1120
+ /** @nullable */
1121
+ dailyRewardsCur: number | null;
1122
+ /** @nullable */
1123
+ dailyRewardsMax: number | null;
1124
+ warriors: BattleResponseDtoOutputWarriorsItem[];
1125
+ }
1126
+ export interface UpdateBattleDto {
1127
+ public: boolean;
1128
+ }
1129
+ export interface BattleDeletedResponseDtoOutput {
1130
+ message: string;
1131
+ }
1132
+ export type BattleRawResponseDtoOutputRawDataEventsItemActionsItem = {
1133
+ actionType: string;
1134
+ param: string;
1135
+ };
1136
+ export type BattleRawResponseDtoOutputRawDataEventsItem = {
1137
+ /** @nullable */
1138
+ attackerId: string | null;
1139
+ /** @nullable */
1140
+ defenderId: string | null;
1141
+ /** @nullable */
1142
+ attackerHpPercentage: number | null;
1143
+ /** @nullable */
1144
+ defenderHpPercentage: number | null;
1145
+ actions: BattleRawResponseDtoOutputRawDataEventsItemActionsItem[];
1146
+ };
1147
+ export type BattleRawResponseDtoOutputRawData = {
1148
+ accountId: string;
1149
+ characterId: string;
1150
+ world: string;
1151
+ events: BattleRawResponseDtoOutputRawDataEventsItem[];
1152
+ sourceEvents?: unknown[];
1153
+ };
1154
+ export interface BattleRawResponseDtoOutput {
1155
+ battleId: string;
1156
+ /** @pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$ */
1157
+ timestamp: string;
1158
+ rawData: BattleRawResponseDtoOutputRawData;
1159
+ }
1160
+ export type BattlesControllerCreateBattle400Message = string | ({
1161
+ path: (string | number | 'Infinity' | '-Infinity' | 'NaN')[];
1162
+ message: string;
1163
+ })[];
1164
+ export type BattlesControllerCreateBattle400StatusCode = typeof BattlesControllerCreateBattle400StatusCode[keyof typeof BattlesControllerCreateBattle400StatusCode];
1165
+ export declare const BattlesControllerCreateBattle400StatusCode: {
1166
+ readonly NUMBER_400: 400;
1167
+ };
1168
+ export type BattlesControllerCreateBattle400 = {
1169
+ error: string;
1170
+ message: BattlesControllerCreateBattle400Message;
1171
+ statusCode: BattlesControllerCreateBattle400StatusCode;
1172
+ };
1173
+ export type BattlesControllerCreateBattle401 = {
1174
+ message: string;
1175
+ };
1176
+ export type BattlesControllerCreateBattle403 = {
1177
+ message: string;
1178
+ };
1179
+ export type BattlesControllerCreateBattle429 = {
1180
+ message: string;
1181
+ };
1182
+ export type BattlesControllerGetDashboardBattlesParams = {
1183
+ cursor?: string;
1184
+ /**
1185
+ * @minimum 1
1186
+ * @maximum 100
1187
+ */
1188
+ size?: number;
1189
+ sortOrder?: BattlesControllerGetDashboardBattlesSortOrder;
1190
+ includeTotal?: boolean;
1191
+ world?: string;
1192
+ type?: BattlesControllerGetDashboardBattlesTypeItem[];
1193
+ userId?: string;
1194
+ public?: boolean;
1195
+ characterId?: string[];
1196
+ search?: string;
1197
+ result?: BattlesControllerGetDashboardBattlesResultItem[];
1198
+ ph?: boolean;
1199
+ matchmaking?: boolean;
1200
+ /**
1201
+ * @pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
1202
+ */
1203
+ startDate?: string;
1204
+ /**
1205
+ * @pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
1206
+ */
1207
+ endDate?: string;
1208
+ /**
1209
+ * @minimum 1
1210
+ * @maximum 1000
1211
+ */
1212
+ minLevel?: number;
1213
+ /**
1214
+ * @minimum 1
1215
+ * @maximum 1000
1216
+ */
1217
+ maxLevel?: number;
1218
+ };
1219
+ export type BattlesControllerGetDashboardBattlesSortOrder = typeof BattlesControllerGetDashboardBattlesSortOrder[keyof typeof BattlesControllerGetDashboardBattlesSortOrder];
1220
+ export declare const BattlesControllerGetDashboardBattlesSortOrder: {
1221
+ readonly asc: 'asc';
1222
+ readonly desc: 'desc';
1223
+ };
1224
+ export type BattlesControllerGetDashboardBattlesTypeItem = typeof BattlesControllerGetDashboardBattlesTypeItem[keyof typeof BattlesControllerGetDashboardBattlesTypeItem];
1225
+ export declare const BattlesControllerGetDashboardBattlesTypeItem: {
1226
+ readonly solo: 'solo';
1227
+ readonly group: 'group';
1228
+ };
1229
+ export type BattlesControllerGetDashboardBattlesResultItem = typeof BattlesControllerGetDashboardBattlesResultItem[keyof typeof BattlesControllerGetDashboardBattlesResultItem];
1230
+ export declare const BattlesControllerGetDashboardBattlesResultItem: {
1231
+ readonly won: 'won';
1232
+ readonly lost: 'lost';
1233
+ readonly flee: 'flee';
1234
+ };
1235
+ export type BattlesControllerGetDashboardBattles401 = {
1236
+ message: string;
1237
+ };
1238
+ export type BattlesControllerGetDashboardBattles403 = {
1239
+ message: string;
1240
+ };
1241
+ export type BattlesControllerGetDashboardBattles429 = {
1242
+ message: string;
1243
+ };
1244
+ export type BattlesControllerGetUserCharacters401 = {
1245
+ message: string;
1246
+ };
1247
+ export type BattlesControllerGetUserCharacters403 = {
1248
+ message: string;
1249
+ };
1250
+ export type BattlesControllerGetUserCharacters429 = {
1251
+ message: string;
1252
+ };
1253
+ export type BattlesControllerGetBattleAnalyticsParams = {
1254
+ characterId?: string;
1255
+ world?: string;
1256
+ period?: BattlesControllerGetBattleAnalyticsPeriod;
1257
+ /**
1258
+ * @minimum 1
1259
+ * @maximum 9007199254740991
1260
+ */
1261
+ minLevel?: number;
1262
+ /**
1263
+ * @minimum 1
1264
+ * @maximum 9007199254740991
1265
+ */
1266
+ maxLevel?: number;
1267
+ /**
1268
+ * @pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
1269
+ */
1270
+ startDate?: string;
1271
+ /**
1272
+ * @pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
1273
+ */
1274
+ endDate?: string;
1275
+ ph?: boolean;
1276
+ matchmaking?: boolean;
1277
+ };
1278
+ export type BattlesControllerGetBattleAnalyticsPeriod = typeof BattlesControllerGetBattleAnalyticsPeriod[keyof typeof BattlesControllerGetBattleAnalyticsPeriod];
1279
+ export declare const BattlesControllerGetBattleAnalyticsPeriod: {
1280
+ readonly '24h': '24h';
1281
+ readonly '3d': '3d';
1282
+ readonly '7d': '7d';
1283
+ readonly '14d': '14d';
1284
+ readonly '30d': '30d';
1285
+ readonly '90d': '90d';
1286
+ readonly '180d': '180d';
1287
+ };
1288
+ export type BattlesControllerGetBattleAnalytics401 = {
1289
+ message: string;
1290
+ };
1291
+ export type BattlesControllerGetBattleAnalytics403 = {
1292
+ message: string;
1293
+ };
1294
+ export type BattlesControllerGetBattleAnalytics429 = {
1295
+ message: string;
1296
+ };
1297
+ export type BattlesControllerGetAbyssSeasonsParams = {
1298
+ characterId: string;
1299
+ world?: string;
1300
+ };
1301
+ export type BattlesControllerGetAbyssSeasons401 = {
1302
+ message: string;
1303
+ };
1304
+ export type BattlesControllerGetAbyssSeasons403 = {
1305
+ message: string;
1306
+ };
1307
+ export type BattlesControllerGetAbyssSeasons429 = {
1308
+ message: string;
1309
+ };
1310
+ export type BattlesControllerGetCombatProfileParams = {
1311
+ characterId?: string;
1312
+ world?: string;
1313
+ period?: BattlesControllerGetCombatProfilePeriod;
1314
+ /**
1315
+ * @minimum 1
1316
+ * @maximum 9007199254740991
1317
+ */
1318
+ minLevel?: number;
1319
+ /**
1320
+ * @minimum 1
1321
+ * @maximum 9007199254740991
1322
+ */
1323
+ maxLevel?: number;
1324
+ /**
1325
+ * @pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
1326
+ */
1327
+ startDate?: string;
1328
+ /**
1329
+ * @pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
1330
+ */
1331
+ endDate?: string;
1332
+ cursor?: string;
1333
+ /**
1334
+ * @minimum 1
1335
+ * @maximum 9007199254740991
1336
+ */
1337
+ size?: number;
1338
+ sortBy?: BattlesControllerGetCombatProfileSortBy;
1339
+ sortOrder?: BattlesControllerGetCombatProfileSortOrder;
1340
+ includeTotal?: boolean;
1341
+ search?: string;
1342
+ /**
1343
+ * @minimum 1
1344
+ * @maximum 9007199254740991
1345
+ */
1346
+ minBattles?: number;
1347
+ ph?: boolean;
1348
+ matchmaking?: boolean;
1349
+ };
1350
+ export type BattlesControllerGetCombatProfilePeriod = typeof BattlesControllerGetCombatProfilePeriod[keyof typeof BattlesControllerGetCombatProfilePeriod];
1351
+ export declare const BattlesControllerGetCombatProfilePeriod: {
1352
+ readonly '24h': '24h';
1353
+ readonly '3d': '3d';
1354
+ readonly '7d': '7d';
1355
+ readonly '14d': '14d';
1356
+ readonly '30d': '30d';
1357
+ readonly '90d': '90d';
1358
+ readonly '180d': '180d';
1359
+ readonly all: 'all';
1360
+ };
1361
+ export type BattlesControllerGetCombatProfileSortBy = typeof BattlesControllerGetCombatProfileSortBy[keyof typeof BattlesControllerGetCombatProfileSortBy];
1362
+ export declare const BattlesControllerGetCombatProfileSortBy: {
1363
+ readonly wins: 'wins';
1364
+ readonly losses: 'losses';
1365
+ readonly totalBattles: 'totalBattles';
1366
+ readonly winRate: 'winRate';
1367
+ readonly lastBattleDate: 'lastBattleDate';
1368
+ readonly totalRatingDelta: 'totalRatingDelta';
1369
+ readonly avgRatingDelta: 'avgRatingDelta';
1370
+ };
1371
+ export type BattlesControllerGetCombatProfileSortOrder = typeof BattlesControllerGetCombatProfileSortOrder[keyof typeof BattlesControllerGetCombatProfileSortOrder];
1372
+ export declare const BattlesControllerGetCombatProfileSortOrder: {
1373
+ readonly asc: 'asc';
1374
+ readonly desc: 'desc';
1375
+ };
1376
+ export type BattlesControllerGetCombatProfile401 = {
1377
+ message: string;
1378
+ };
1379
+ export type BattlesControllerGetCombatProfile403 = {
1380
+ message: string;
1381
+ };
1382
+ export type BattlesControllerGetCombatProfile429 = {
1383
+ message: string;
1384
+ };
1385
+ export type BattlesControllerGetProfessionWinRateParams = {
1386
+ characterId?: string;
1387
+ world?: string;
1388
+ period?: BattlesControllerGetProfessionWinRatePeriod;
1389
+ /**
1390
+ * @minimum 1
1391
+ * @maximum 9007199254740991
1392
+ */
1393
+ minLevel?: number;
1394
+ /**
1395
+ * @minimum 1
1396
+ * @maximum 9007199254740991
1397
+ */
1398
+ maxLevel?: number;
1399
+ /**
1400
+ * @pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
1401
+ */
1402
+ startDate?: string;
1403
+ /**
1404
+ * @pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
1405
+ */
1406
+ endDate?: string;
1407
+ cursor?: string;
1408
+ /**
1409
+ * @minimum 1
1410
+ * @maximum 9007199254740991
1411
+ */
1412
+ size?: number;
1413
+ sortBy?: BattlesControllerGetProfessionWinRateSortBy;
1414
+ sortOrder?: BattlesControllerGetProfessionWinRateSortOrder;
1415
+ includeTotal?: boolean;
1416
+ search?: string;
1417
+ /**
1418
+ * @minimum 1
1419
+ * @maximum 9007199254740991
1420
+ */
1421
+ minBattles?: number;
1422
+ ph?: boolean;
1423
+ matchmaking?: boolean;
1424
+ };
1425
+ export type BattlesControllerGetProfessionWinRatePeriod = typeof BattlesControllerGetProfessionWinRatePeriod[keyof typeof BattlesControllerGetProfessionWinRatePeriod];
1426
+ export declare const BattlesControllerGetProfessionWinRatePeriod: {
1427
+ readonly '24h': '24h';
1428
+ readonly '3d': '3d';
1429
+ readonly '7d': '7d';
1430
+ readonly '14d': '14d';
1431
+ readonly '30d': '30d';
1432
+ readonly '90d': '90d';
1433
+ readonly '180d': '180d';
1434
+ readonly all: 'all';
1435
+ };
1436
+ export type BattlesControllerGetProfessionWinRateSortBy = typeof BattlesControllerGetProfessionWinRateSortBy[keyof typeof BattlesControllerGetProfessionWinRateSortBy];
1437
+ export declare const BattlesControllerGetProfessionWinRateSortBy: {
1438
+ readonly wins: 'wins';
1439
+ readonly losses: 'losses';
1440
+ readonly totalBattles: 'totalBattles';
1441
+ readonly winRate: 'winRate';
1442
+ readonly lastBattleDate: 'lastBattleDate';
1443
+ readonly totalRatingDelta: 'totalRatingDelta';
1444
+ readonly avgRatingDelta: 'avgRatingDelta';
1445
+ };
1446
+ export type BattlesControllerGetProfessionWinRateSortOrder = typeof BattlesControllerGetProfessionWinRateSortOrder[keyof typeof BattlesControllerGetProfessionWinRateSortOrder];
1447
+ export declare const BattlesControllerGetProfessionWinRateSortOrder: {
1448
+ readonly asc: 'asc';
1449
+ readonly desc: 'desc';
1450
+ };
1451
+ export type BattlesControllerGetProfessionWinRate401 = {
1452
+ message: string;
1453
+ };
1454
+ export type BattlesControllerGetProfessionWinRate403 = {
1455
+ message: string;
1456
+ };
1457
+ export type BattlesControllerGetProfessionWinRate429 = {
1458
+ message: string;
1459
+ };
1460
+ export type BattlesControllerGetHeadToHeadParams = {
1461
+ characterId?: string;
1462
+ world?: string;
1463
+ period?: BattlesControllerGetHeadToHeadPeriod;
1464
+ /**
1465
+ * @minimum 1
1466
+ * @maximum 9007199254740991
1467
+ */
1468
+ minLevel?: number;
1469
+ /**
1470
+ * @minimum 1
1471
+ * @maximum 9007199254740991
1472
+ */
1473
+ maxLevel?: number;
1474
+ /**
1475
+ * @pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
1476
+ */
1477
+ startDate?: string;
1478
+ /**
1479
+ * @pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
1480
+ */
1481
+ endDate?: string;
1482
+ cursor?: string;
1483
+ /**
1484
+ * @minimum 1
1485
+ * @maximum 9007199254740991
1486
+ */
1487
+ size?: number;
1488
+ sortBy?: BattlesControllerGetHeadToHeadSortBy;
1489
+ sortOrder?: BattlesControllerGetHeadToHeadSortOrder;
1490
+ includeTotal?: boolean;
1491
+ search?: string;
1492
+ /**
1493
+ * @minimum 1
1494
+ * @maximum 9007199254740991
1495
+ */
1496
+ minBattles?: number;
1497
+ ph?: boolean;
1498
+ matchmaking?: boolean;
1499
+ };
1500
+ export type BattlesControllerGetHeadToHeadPeriod = typeof BattlesControllerGetHeadToHeadPeriod[keyof typeof BattlesControllerGetHeadToHeadPeriod];
1501
+ export declare const BattlesControllerGetHeadToHeadPeriod: {
1502
+ readonly '24h': '24h';
1503
+ readonly '3d': '3d';
1504
+ readonly '7d': '7d';
1505
+ readonly '14d': '14d';
1506
+ readonly '30d': '30d';
1507
+ readonly '90d': '90d';
1508
+ readonly '180d': '180d';
1509
+ readonly all: 'all';
1510
+ };
1511
+ export type BattlesControllerGetHeadToHeadSortBy = typeof BattlesControllerGetHeadToHeadSortBy[keyof typeof BattlesControllerGetHeadToHeadSortBy];
1512
+ export declare const BattlesControllerGetHeadToHeadSortBy: {
1513
+ readonly wins: 'wins';
1514
+ readonly losses: 'losses';
1515
+ readonly totalBattles: 'totalBattles';
1516
+ readonly winRate: 'winRate';
1517
+ readonly lastBattleDate: 'lastBattleDate';
1518
+ readonly totalRatingDelta: 'totalRatingDelta';
1519
+ readonly avgRatingDelta: 'avgRatingDelta';
1520
+ };
1521
+ export type BattlesControllerGetHeadToHeadSortOrder = typeof BattlesControllerGetHeadToHeadSortOrder[keyof typeof BattlesControllerGetHeadToHeadSortOrder];
1522
+ export declare const BattlesControllerGetHeadToHeadSortOrder: {
1523
+ readonly asc: 'asc';
1524
+ readonly desc: 'desc';
1525
+ };
1526
+ export type BattlesControllerGetHeadToHead401 = {
1527
+ message: string;
1528
+ };
1529
+ export type BattlesControllerGetHeadToHead403 = {
1530
+ message: string;
1531
+ };
1532
+ export type BattlesControllerGetHeadToHead429 = {
1533
+ message: string;
1534
+ };
1535
+ export type BattlesControllerGetCurrentStreakParams = {
1536
+ characterId?: string;
1537
+ world?: string;
1538
+ period?: BattlesControllerGetCurrentStreakPeriod;
1539
+ /**
1540
+ * @minimum 1
1541
+ * @maximum 9007199254740991
1542
+ */
1543
+ minLevel?: number;
1544
+ /**
1545
+ * @minimum 1
1546
+ * @maximum 9007199254740991
1547
+ */
1548
+ maxLevel?: number;
1549
+ /**
1550
+ * @pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
1551
+ */
1552
+ startDate?: string;
1553
+ /**
1554
+ * @pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
1555
+ */
1556
+ endDate?: string;
1557
+ cursor?: string;
1558
+ /**
1559
+ * @minimum 1
1560
+ * @maximum 9007199254740991
1561
+ */
1562
+ size?: number;
1563
+ sortBy?: BattlesControllerGetCurrentStreakSortBy;
1564
+ sortOrder?: BattlesControllerGetCurrentStreakSortOrder;
1565
+ includeTotal?: boolean;
1566
+ search?: string;
1567
+ /**
1568
+ * @minimum 1
1569
+ * @maximum 9007199254740991
1570
+ */
1571
+ minBattles?: number;
1572
+ ph?: boolean;
1573
+ matchmaking?: boolean;
1574
+ };
1575
+ export type BattlesControllerGetCurrentStreakPeriod = typeof BattlesControllerGetCurrentStreakPeriod[keyof typeof BattlesControllerGetCurrentStreakPeriod];
1576
+ export declare const BattlesControllerGetCurrentStreakPeriod: {
1577
+ readonly '24h': '24h';
1578
+ readonly '3d': '3d';
1579
+ readonly '7d': '7d';
1580
+ readonly '14d': '14d';
1581
+ readonly '30d': '30d';
1582
+ readonly '90d': '90d';
1583
+ readonly '180d': '180d';
1584
+ readonly all: 'all';
1585
+ };
1586
+ export type BattlesControllerGetCurrentStreakSortBy = typeof BattlesControllerGetCurrentStreakSortBy[keyof typeof BattlesControllerGetCurrentStreakSortBy];
1587
+ export declare const BattlesControllerGetCurrentStreakSortBy: {
1588
+ readonly wins: 'wins';
1589
+ readonly losses: 'losses';
1590
+ readonly totalBattles: 'totalBattles';
1591
+ readonly winRate: 'winRate';
1592
+ readonly lastBattleDate: 'lastBattleDate';
1593
+ readonly totalRatingDelta: 'totalRatingDelta';
1594
+ readonly avgRatingDelta: 'avgRatingDelta';
1595
+ };
1596
+ export type BattlesControllerGetCurrentStreakSortOrder = typeof BattlesControllerGetCurrentStreakSortOrder[keyof typeof BattlesControllerGetCurrentStreakSortOrder];
1597
+ export declare const BattlesControllerGetCurrentStreakSortOrder: {
1598
+ readonly asc: 'asc';
1599
+ readonly desc: 'desc';
1600
+ };
1601
+ export type BattlesControllerGetCurrentStreak401 = {
1602
+ message: string;
1603
+ };
1604
+ export type BattlesControllerGetCurrentStreak403 = {
1605
+ message: string;
1606
+ };
1607
+ export type BattlesControllerGetCurrentStreak429 = {
1608
+ message: string;
1609
+ };
1610
+ export type BattlesControllerGetBattleDurationParams = {
1611
+ characterId?: string;
1612
+ world?: string;
1613
+ period?: BattlesControllerGetBattleDurationPeriod;
1614
+ /**
1615
+ * @minimum 1
1616
+ * @maximum 9007199254740991
1617
+ */
1618
+ minLevel?: number;
1619
+ /**
1620
+ * @minimum 1
1621
+ * @maximum 9007199254740991
1622
+ */
1623
+ maxLevel?: number;
1624
+ /**
1625
+ * @pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
1626
+ */
1627
+ startDate?: string;
1628
+ /**
1629
+ * @pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
1630
+ */
1631
+ endDate?: string;
1632
+ cursor?: string;
1633
+ /**
1634
+ * @minimum 1
1635
+ * @maximum 9007199254740991
1636
+ */
1637
+ size?: number;
1638
+ sortBy?: BattlesControllerGetBattleDurationSortBy;
1639
+ sortOrder?: BattlesControllerGetBattleDurationSortOrder;
1640
+ includeTotal?: boolean;
1641
+ search?: string;
1642
+ /**
1643
+ * @minimum 1
1644
+ * @maximum 9007199254740991
1645
+ */
1646
+ minBattles?: number;
1647
+ ph?: boolean;
1648
+ matchmaking?: boolean;
1649
+ };
1650
+ export type BattlesControllerGetBattleDurationPeriod = typeof BattlesControllerGetBattleDurationPeriod[keyof typeof BattlesControllerGetBattleDurationPeriod];
1651
+ export declare const BattlesControllerGetBattleDurationPeriod: {
1652
+ readonly '24h': '24h';
1653
+ readonly '3d': '3d';
1654
+ readonly '7d': '7d';
1655
+ readonly '14d': '14d';
1656
+ readonly '30d': '30d';
1657
+ readonly '90d': '90d';
1658
+ readonly '180d': '180d';
1659
+ readonly all: 'all';
1660
+ };
1661
+ export type BattlesControllerGetBattleDurationSortBy = typeof BattlesControllerGetBattleDurationSortBy[keyof typeof BattlesControllerGetBattleDurationSortBy];
1662
+ export declare const BattlesControllerGetBattleDurationSortBy: {
1663
+ readonly wins: 'wins';
1664
+ readonly losses: 'losses';
1665
+ readonly totalBattles: 'totalBattles';
1666
+ readonly winRate: 'winRate';
1667
+ readonly lastBattleDate: 'lastBattleDate';
1668
+ readonly totalRatingDelta: 'totalRatingDelta';
1669
+ readonly avgRatingDelta: 'avgRatingDelta';
1670
+ };
1671
+ export type BattlesControllerGetBattleDurationSortOrder = typeof BattlesControllerGetBattleDurationSortOrder[keyof typeof BattlesControllerGetBattleDurationSortOrder];
1672
+ export declare const BattlesControllerGetBattleDurationSortOrder: {
1673
+ readonly asc: 'asc';
1674
+ readonly desc: 'desc';
1675
+ };
1676
+ export type BattlesControllerGetBattleDuration401 = {
1677
+ message: string;
1678
+ };
1679
+ export type BattlesControllerGetBattleDuration403 = {
1680
+ message: string;
1681
+ };
1682
+ export type BattlesControllerGetBattleDuration429 = {
1683
+ message: string;
1684
+ };
1685
+ export type BattlesControllerGetPhGrowthParams = {
1686
+ characterId?: string;
1687
+ world?: string;
1688
+ period?: BattlesControllerGetPhGrowthPeriod;
1689
+ /**
1690
+ * @minimum 1
1691
+ * @maximum 9007199254740991
1692
+ */
1693
+ minLevel?: number;
1694
+ /**
1695
+ * @minimum 1
1696
+ * @maximum 9007199254740991
1697
+ */
1698
+ maxLevel?: number;
1699
+ /**
1700
+ * @pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
1701
+ */
1702
+ startDate?: string;
1703
+ /**
1704
+ * @pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
1705
+ */
1706
+ endDate?: string;
1707
+ cursor?: string;
1708
+ /**
1709
+ * @minimum 1
1710
+ * @maximum 9007199254740991
1711
+ */
1712
+ size?: number;
1713
+ sortBy?: BattlesControllerGetPhGrowthSortBy;
1714
+ sortOrder?: BattlesControllerGetPhGrowthSortOrder;
1715
+ includeTotal?: boolean;
1716
+ search?: string;
1717
+ /**
1718
+ * @minimum 1
1719
+ * @maximum 9007199254740991
1720
+ */
1721
+ minBattles?: number;
1722
+ ph?: boolean;
1723
+ matchmaking?: boolean;
1724
+ };
1725
+ export type BattlesControllerGetPhGrowthPeriod = typeof BattlesControllerGetPhGrowthPeriod[keyof typeof BattlesControllerGetPhGrowthPeriod];
1726
+ export declare const BattlesControllerGetPhGrowthPeriod: {
1727
+ readonly '24h': '24h';
1728
+ readonly '3d': '3d';
1729
+ readonly '7d': '7d';
1730
+ readonly '14d': '14d';
1731
+ readonly '30d': '30d';
1732
+ readonly '90d': '90d';
1733
+ readonly '180d': '180d';
1734
+ readonly all: 'all';
1735
+ };
1736
+ export type BattlesControllerGetPhGrowthSortBy = typeof BattlesControllerGetPhGrowthSortBy[keyof typeof BattlesControllerGetPhGrowthSortBy];
1737
+ export declare const BattlesControllerGetPhGrowthSortBy: {
1738
+ readonly wins: 'wins';
1739
+ readonly losses: 'losses';
1740
+ readonly totalBattles: 'totalBattles';
1741
+ readonly winRate: 'winRate';
1742
+ readonly lastBattleDate: 'lastBattleDate';
1743
+ readonly totalRatingDelta: 'totalRatingDelta';
1744
+ readonly avgRatingDelta: 'avgRatingDelta';
1745
+ };
1746
+ export type BattlesControllerGetPhGrowthSortOrder = typeof BattlesControllerGetPhGrowthSortOrder[keyof typeof BattlesControllerGetPhGrowthSortOrder];
1747
+ export declare const BattlesControllerGetPhGrowthSortOrder: {
1748
+ readonly asc: 'asc';
1749
+ readonly desc: 'desc';
1750
+ };
1751
+ export type BattlesControllerGetPhGrowth401 = {
1752
+ message: string;
1753
+ };
1754
+ export type BattlesControllerGetPhGrowth403 = {
1755
+ message: string;
1756
+ };
1757
+ export type BattlesControllerGetPhGrowth429 = {
1758
+ message: string;
1759
+ };
1760
+ export type BattlesControllerGetRatingGrowthParams = {
1761
+ characterId?: string;
1762
+ world?: string;
1763
+ period?: BattlesControllerGetRatingGrowthPeriod;
1764
+ /**
1765
+ * @minimum 1
1766
+ * @maximum 9007199254740991
1767
+ */
1768
+ minLevel?: number;
1769
+ /**
1770
+ * @minimum 1
1771
+ * @maximum 9007199254740991
1772
+ */
1773
+ maxLevel?: number;
1774
+ /**
1775
+ * @pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
1776
+ */
1777
+ startDate?: string;
1778
+ /**
1779
+ * @pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
1780
+ */
1781
+ endDate?: string;
1782
+ cursor?: string;
1783
+ /**
1784
+ * @minimum 1
1785
+ * @maximum 9007199254740991
1786
+ */
1787
+ size?: number;
1788
+ sortBy?: BattlesControllerGetRatingGrowthSortBy;
1789
+ sortOrder?: BattlesControllerGetRatingGrowthSortOrder;
1790
+ includeTotal?: boolean;
1791
+ search?: string;
1792
+ /**
1793
+ * @minimum 1
1794
+ * @maximum 9007199254740991
1795
+ */
1796
+ minBattles?: number;
1797
+ ph?: boolean;
1798
+ matchmaking?: boolean;
1799
+ };
1800
+ export type BattlesControllerGetRatingGrowthPeriod = typeof BattlesControllerGetRatingGrowthPeriod[keyof typeof BattlesControllerGetRatingGrowthPeriod];
1801
+ export declare const BattlesControllerGetRatingGrowthPeriod: {
1802
+ readonly '24h': '24h';
1803
+ readonly '3d': '3d';
1804
+ readonly '7d': '7d';
1805
+ readonly '14d': '14d';
1806
+ readonly '30d': '30d';
1807
+ readonly '90d': '90d';
1808
+ readonly '180d': '180d';
1809
+ readonly all: 'all';
1810
+ };
1811
+ export type BattlesControllerGetRatingGrowthSortBy = typeof BattlesControllerGetRatingGrowthSortBy[keyof typeof BattlesControllerGetRatingGrowthSortBy];
1812
+ export declare const BattlesControllerGetRatingGrowthSortBy: {
1813
+ readonly wins: 'wins';
1814
+ readonly losses: 'losses';
1815
+ readonly totalBattles: 'totalBattles';
1816
+ readonly winRate: 'winRate';
1817
+ readonly lastBattleDate: 'lastBattleDate';
1818
+ readonly totalRatingDelta: 'totalRatingDelta';
1819
+ readonly avgRatingDelta: 'avgRatingDelta';
1820
+ };
1821
+ export type BattlesControllerGetRatingGrowthSortOrder = typeof BattlesControllerGetRatingGrowthSortOrder[keyof typeof BattlesControllerGetRatingGrowthSortOrder];
1822
+ export declare const BattlesControllerGetRatingGrowthSortOrder: {
1823
+ readonly asc: 'asc';
1824
+ readonly desc: 'desc';
1825
+ };
1826
+ export type BattlesControllerGetRatingGrowth401 = {
1827
+ message: string;
1828
+ };
1829
+ export type BattlesControllerGetRatingGrowth403 = {
1830
+ message: string;
1831
+ };
1832
+ export type BattlesControllerGetRatingGrowth429 = {
1833
+ message: string;
1834
+ };
1835
+ export type BattlesControllerGetRatingDeltaByOpponentParams = {
1836
+ characterId?: string;
1837
+ world?: string;
1838
+ period?: BattlesControllerGetRatingDeltaByOpponentPeriod;
1839
+ /**
1840
+ * @minimum 1
1841
+ * @maximum 9007199254740991
1842
+ */
1843
+ minLevel?: number;
1844
+ /**
1845
+ * @minimum 1
1846
+ * @maximum 9007199254740991
1847
+ */
1848
+ maxLevel?: number;
1849
+ /**
1850
+ * @pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
1851
+ */
1852
+ startDate?: string;
1853
+ /**
1854
+ * @pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
1855
+ */
1856
+ endDate?: string;
1857
+ cursor?: string;
1858
+ /**
1859
+ * @minimum 1
1860
+ * @maximum 9007199254740991
1861
+ */
1862
+ size?: number;
1863
+ sortBy?: BattlesControllerGetRatingDeltaByOpponentSortBy;
1864
+ sortOrder?: BattlesControllerGetRatingDeltaByOpponentSortOrder;
1865
+ includeTotal?: boolean;
1866
+ search?: string;
1867
+ /**
1868
+ * @minimum 1
1869
+ * @maximum 9007199254740991
1870
+ */
1871
+ minBattles?: number;
1872
+ ph?: boolean;
1873
+ matchmaking?: boolean;
1874
+ };
1875
+ export type BattlesControllerGetRatingDeltaByOpponentPeriod = typeof BattlesControllerGetRatingDeltaByOpponentPeriod[keyof typeof BattlesControllerGetRatingDeltaByOpponentPeriod];
1876
+ export declare const BattlesControllerGetRatingDeltaByOpponentPeriod: {
1877
+ readonly '24h': '24h';
1878
+ readonly '3d': '3d';
1879
+ readonly '7d': '7d';
1880
+ readonly '14d': '14d';
1881
+ readonly '30d': '30d';
1882
+ readonly '90d': '90d';
1883
+ readonly '180d': '180d';
1884
+ readonly all: 'all';
1885
+ };
1886
+ export type BattlesControllerGetRatingDeltaByOpponentSortBy = typeof BattlesControllerGetRatingDeltaByOpponentSortBy[keyof typeof BattlesControllerGetRatingDeltaByOpponentSortBy];
1887
+ export declare const BattlesControllerGetRatingDeltaByOpponentSortBy: {
1888
+ readonly wins: 'wins';
1889
+ readonly losses: 'losses';
1890
+ readonly totalBattles: 'totalBattles';
1891
+ readonly winRate: 'winRate';
1892
+ readonly lastBattleDate: 'lastBattleDate';
1893
+ readonly totalRatingDelta: 'totalRatingDelta';
1894
+ readonly avgRatingDelta: 'avgRatingDelta';
1895
+ };
1896
+ export type BattlesControllerGetRatingDeltaByOpponentSortOrder = typeof BattlesControllerGetRatingDeltaByOpponentSortOrder[keyof typeof BattlesControllerGetRatingDeltaByOpponentSortOrder];
1897
+ export declare const BattlesControllerGetRatingDeltaByOpponentSortOrder: {
1898
+ readonly asc: 'asc';
1899
+ readonly desc: 'desc';
1900
+ };
1901
+ export type BattlesControllerGetRatingDeltaByOpponent401 = {
1902
+ message: string;
1903
+ };
1904
+ export type BattlesControllerGetRatingDeltaByOpponent403 = {
1905
+ message: string;
1906
+ };
1907
+ export type BattlesControllerGetRatingDeltaByOpponent429 = {
1908
+ message: string;
1909
+ };
1910
+ export type BattlesControllerGetPlayerVsPlayerBattlesParams = {
1911
+ characterId?: string;
1912
+ world?: string;
1913
+ period?: BattlesControllerGetPlayerVsPlayerBattlesPeriod;
1914
+ /**
1915
+ * @minimum 1
1916
+ * @maximum 9007199254740991
1917
+ */
1918
+ minLevel?: number;
1919
+ /**
1920
+ * @minimum 1
1921
+ * @maximum 9007199254740991
1922
+ */
1923
+ maxLevel?: number;
1924
+ /**
1925
+ * @pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
1926
+ */
1927
+ startDate?: string;
1928
+ /**
1929
+ * @pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
1930
+ */
1931
+ endDate?: string;
1932
+ cursor?: string;
1933
+ /**
1934
+ * @minimum 1
1935
+ * @maximum 9007199254740991
1936
+ */
1937
+ size?: number;
1938
+ sortBy?: BattlesControllerGetPlayerVsPlayerBattlesSortBy;
1939
+ sortOrder?: BattlesControllerGetPlayerVsPlayerBattlesSortOrder;
1940
+ includeTotal?: boolean;
1941
+ search?: string;
1942
+ /**
1943
+ * @minimum 1
1944
+ * @maximum 9007199254740991
1945
+ */
1946
+ minBattles?: number;
1947
+ ph?: boolean;
1948
+ matchmaking?: boolean;
1949
+ opponentId: string;
1950
+ excludeBattleId?: string;
1951
+ };
1952
+ export type BattlesControllerGetPlayerVsPlayerBattlesPeriod = typeof BattlesControllerGetPlayerVsPlayerBattlesPeriod[keyof typeof BattlesControllerGetPlayerVsPlayerBattlesPeriod];
1953
+ export declare const BattlesControllerGetPlayerVsPlayerBattlesPeriod: {
1954
+ readonly '24h': '24h';
1955
+ readonly '3d': '3d';
1956
+ readonly '7d': '7d';
1957
+ readonly '14d': '14d';
1958
+ readonly '30d': '30d';
1959
+ readonly '90d': '90d';
1960
+ readonly '180d': '180d';
1961
+ readonly all: 'all';
1962
+ };
1963
+ export type BattlesControllerGetPlayerVsPlayerBattlesSortBy = typeof BattlesControllerGetPlayerVsPlayerBattlesSortBy[keyof typeof BattlesControllerGetPlayerVsPlayerBattlesSortBy];
1964
+ export declare const BattlesControllerGetPlayerVsPlayerBattlesSortBy: {
1965
+ readonly wins: 'wins';
1966
+ readonly losses: 'losses';
1967
+ readonly totalBattles: 'totalBattles';
1968
+ readonly winRate: 'winRate';
1969
+ readonly lastBattleDate: 'lastBattleDate';
1970
+ readonly totalRatingDelta: 'totalRatingDelta';
1971
+ readonly avgRatingDelta: 'avgRatingDelta';
1972
+ };
1973
+ export type BattlesControllerGetPlayerVsPlayerBattlesSortOrder = typeof BattlesControllerGetPlayerVsPlayerBattlesSortOrder[keyof typeof BattlesControllerGetPlayerVsPlayerBattlesSortOrder];
1974
+ export declare const BattlesControllerGetPlayerVsPlayerBattlesSortOrder: {
1975
+ readonly asc: 'asc';
1976
+ readonly desc: 'desc';
1977
+ };
1978
+ export type BattlesControllerGetPlayerVsPlayerBattles401 = {
1979
+ message: string;
1980
+ };
1981
+ export type BattlesControllerGetPlayerVsPlayerBattles403 = {
1982
+ message: string;
1983
+ };
1984
+ export type BattlesControllerGetPlayerVsPlayerBattles429 = {
1985
+ message: string;
1986
+ };
1987
+ export type BattlesControllerSearchWarriorsParams = {
1988
+ q: string;
1989
+ };
1990
+ export type BattlesControllerSearchWarriors401 = {
1991
+ message: string;
1992
+ };
1993
+ export type BattlesControllerSearchWarriors403 = {
1994
+ message: string;
1995
+ };
1996
+ export type BattlesControllerSearchWarriors429 = {
1997
+ message: string;
1998
+ };
1999
+ export type BattlesControllerGetUserWorlds401 = {
2000
+ message: string;
2001
+ };
2002
+ export type BattlesControllerGetUserWorlds403 = {
2003
+ message: string;
2004
+ };
2005
+ export type BattlesControllerGetUserWorlds429 = {
2006
+ message: string;
2007
+ };
2008
+ export type BattlesControllerGetBattleTimelinePathParameters = {
2009
+ battleId: string;
2010
+ };
2011
+ export type BattlesControllerGetBattleTimeline401 = {
2012
+ message: string;
2013
+ };
2014
+ export type BattlesControllerGetBattleTimeline403 = {
2015
+ message: string;
2016
+ };
2017
+ export type BattlesControllerGetBattleTimeline429 = {
2018
+ message: string;
2019
+ };
2020
+ export type BattlesControllerGetBattlePathParameters = {
2021
+ battleId: string;
2022
+ };
2023
+ export type BattlesControllerGetBattle401 = {
2024
+ message: string;
2025
+ };
2026
+ export type BattlesControllerGetBattle403 = {
2027
+ message: string;
2028
+ };
2029
+ export type BattlesControllerGetBattle429 = {
2030
+ message: string;
2031
+ };
2032
+ export type BattlesControllerUpdateBattlePathParameters = {
2033
+ battleId: string;
2034
+ };
2035
+ export type BattlesControllerUpdateBattle400Message = string | ({
2036
+ path: (string | number | 'Infinity' | '-Infinity' | 'NaN')[];
2037
+ message: string;
2038
+ })[];
2039
+ export type BattlesControllerUpdateBattle400StatusCode = typeof BattlesControllerUpdateBattle400StatusCode[keyof typeof BattlesControllerUpdateBattle400StatusCode];
2040
+ export declare const BattlesControllerUpdateBattle400StatusCode: {
2041
+ readonly NUMBER_400: 400;
2042
+ };
2043
+ export type BattlesControllerUpdateBattle400 = {
2044
+ error: string;
2045
+ message: BattlesControllerUpdateBattle400Message;
2046
+ statusCode: BattlesControllerUpdateBattle400StatusCode;
2047
+ };
2048
+ export type BattlesControllerUpdateBattle401 = {
2049
+ message: string;
2050
+ };
2051
+ export type BattlesControllerUpdateBattle403 = {
2052
+ message: string;
2053
+ };
2054
+ export type BattlesControllerUpdateBattle429 = {
2055
+ message: string;
2056
+ };
2057
+ export type BattlesControllerDeleteBattlePathParameters = {
2058
+ battleId: string;
2059
+ };
2060
+ export type BattlesControllerDeleteBattle401 = {
2061
+ message: string;
2062
+ };
2063
+ export type BattlesControllerDeleteBattle403 = {
2064
+ message: string;
2065
+ };
2066
+ export type BattlesControllerDeleteBattle429 = {
2067
+ message: string;
2068
+ };
2069
+ export type BattlesControllerGetBattleRawDataPathParameters = {
2070
+ battleId: string;
2071
+ };
2072
+ export type BattlesControllerGetBattleRawData401 = {
2073
+ message: string;
2074
+ };
2075
+ export type BattlesControllerGetBattleRawData403 = {
2076
+ message: string;
2077
+ };
2078
+ export type BattlesControllerGetBattleRawData429 = {
2079
+ message: string;
2080
+ };
2081
+ export type PublicBattlesControllerGetPublicBattlePathParameters = {
2082
+ battleId: string;
2083
+ };
2084
+ export type PublicBattlesControllerGetPublicBattle401 = {
2085
+ message: string;
2086
+ };
2087
+ export type PublicBattlesControllerGetPublicBattle403 = {
2088
+ message: string;
2089
+ };
2090
+ export type PublicBattlesControllerGetPublicBattle429 = {
2091
+ message: string;
2092
+ };
2093
+ export type PublicBattlesControllerGetPublicBattleRawPathParameters = {
2094
+ battleId: string;
2095
+ };
2096
+ export type PublicBattlesControllerGetPublicBattleRaw401 = {
2097
+ message: string;
2098
+ };
2099
+ export type PublicBattlesControllerGetPublicBattleRaw403 = {
2100
+ message: string;
2101
+ };
2102
+ export type PublicBattlesControllerGetPublicBattleRaw429 = {
2103
+ message: string;
2104
+ };
2105
+ export type PublicBattlesControllerGetPublicBattleTimelinePathParameters = {
2106
+ battleId: string;
2107
+ };
2108
+ export type PublicBattlesControllerGetPublicBattleTimeline401 = {
2109
+ message: string;
2110
+ };
2111
+ export type PublicBattlesControllerGetPublicBattleTimeline403 = {
2112
+ message: string;
2113
+ };
2114
+ export type PublicBattlesControllerGetPublicBattleTimeline429 = {
2115
+ message: string;
2116
+ };
2117
+ export declare const getBattlesControllerCreateBattleUrl: () => string;
2118
+ /**
2119
+ * @summary Create a battle
2120
+ */
2121
+ export declare const battlesControllerCreateBattle: (createBattleDto: CreateBattleDto, options?: Parameters<typeof battlelogFetch>[1]) => Promise<BattleCreatedResponseDtoOutput>;
2122
+ export declare const getBattlesControllerGetDashboardBattlesUrl: (params?: BattlesControllerGetDashboardBattlesParams) => string;
2123
+ /**
2124
+ * @summary Get authenticated user battles
2125
+ */
2126
+ export declare const battlesControllerGetDashboardBattles: (params?: BattlesControllerGetDashboardBattlesParams, options?: Parameters<typeof battlelogFetch>[1]) => Promise<BattlesListResponseDtoOutput>;
2127
+ export declare const getBattlesControllerGetUserCharactersUrl: () => string;
2128
+ /**
2129
+ * @summary Get authenticated user battle characters
2130
+ */
2131
+ export declare const battlesControllerGetUserCharacters: (options?: Parameters<typeof battlelogFetch>[1]) => Promise<BattleCharactersResponseDtoOutput>;
2132
+ export declare const getBattlesControllerGetBattleAnalyticsUrl: (params?: BattlesControllerGetBattleAnalyticsParams) => string;
2133
+ /**
2134
+ * @summary Get authenticated user battle analytics
2135
+ */
2136
+ export declare const battlesControllerGetBattleAnalytics: (params?: BattlesControllerGetBattleAnalyticsParams, options?: Parameters<typeof battlelogFetch>[1]) => Promise<BattleAnalyticsResponseDtoOutput>;
2137
+ export declare const getBattlesControllerGetAbyssSeasonsUrl: (params: BattlesControllerGetAbyssSeasonsParams) => string;
2138
+ /**
2139
+ * @summary Get authenticated user Abyss seasons
2140
+ */
2141
+ export declare const battlesControllerGetAbyssSeasons: (params: BattlesControllerGetAbyssSeasonsParams, options?: Parameters<typeof battlelogFetch>[1]) => Promise<AbyssSeasonResponseDtoOutput[]>;
2142
+ export declare const getBattlesControllerGetCombatProfileUrl: (params?: BattlesControllerGetCombatProfileParams) => string;
2143
+ /**
2144
+ * @summary Get combat profile statistics
2145
+ */
2146
+ export declare const battlesControllerGetCombatProfile: (params?: BattlesControllerGetCombatProfileParams, options?: Parameters<typeof battlelogFetch>[1]) => Promise<CombatProfileResponseDtoOutput>;
2147
+ export declare const getBattlesControllerGetProfessionWinRateUrl: (params?: BattlesControllerGetProfessionWinRateParams) => string;
2148
+ /**
2149
+ * @summary Get profession win rate statistics
2150
+ */
2151
+ export declare const battlesControllerGetProfessionWinRate: (params?: BattlesControllerGetProfessionWinRateParams, options?: Parameters<typeof battlelogFetch>[1]) => Promise<ProfessionWinRateResponseDtoOutput[]>;
2152
+ export declare const getBattlesControllerGetHeadToHeadUrl: (params?: BattlesControllerGetHeadToHeadParams) => string;
2153
+ /**
2154
+ * @summary Get head-to-head statistics
2155
+ */
2156
+ export declare const battlesControllerGetHeadToHead: (params?: BattlesControllerGetHeadToHeadParams, options?: Parameters<typeof battlelogFetch>[1]) => Promise<HeadToHeadPaginatedResponseDtoOutput>;
2157
+ export declare const getBattlesControllerGetCurrentStreakUrl: (params?: BattlesControllerGetCurrentStreakParams) => string;
2158
+ /**
2159
+ * @summary Get current battle streak statistics
2160
+ */
2161
+ export declare const battlesControllerGetCurrentStreak: (params?: BattlesControllerGetCurrentStreakParams, options?: Parameters<typeof battlelogFetch>[1]) => Promise<StreakResponseDtoOutput>;
2162
+ export declare const getBattlesControllerGetBattleDurationUrl: (params?: BattlesControllerGetBattleDurationParams) => string;
2163
+ /**
2164
+ * @summary Get battle duration statistics
2165
+ */
2166
+ export declare const battlesControllerGetBattleDuration: (params?: BattlesControllerGetBattleDurationParams, options?: Parameters<typeof battlelogFetch>[1]) => Promise<BattleDurationStatsResponseDtoOutput>;
2167
+ export declare const getBattlesControllerGetPhGrowthUrl: (params?: BattlesControllerGetPhGrowthParams) => string;
2168
+ /**
2169
+ * @summary Get PH growth statistics
2170
+ */
2171
+ export declare const battlesControllerGetPhGrowth: (params?: BattlesControllerGetPhGrowthParams, options?: Parameters<typeof battlelogFetch>[1]) => Promise<PhGrowthDataPointResponseDtoOutput[]>;
2172
+ export declare const getBattlesControllerGetRatingGrowthUrl: (params?: BattlesControllerGetRatingGrowthParams) => string;
2173
+ /**
2174
+ * @summary Get rating growth statistics
2175
+ */
2176
+ export declare const battlesControllerGetRatingGrowth: (params?: BattlesControllerGetRatingGrowthParams, options?: Parameters<typeof battlelogFetch>[1]) => Promise<RatingGrowthDataPointResponseDtoOutput[]>;
2177
+ export declare const getBattlesControllerGetRatingDeltaByOpponentUrl: (params?: BattlesControllerGetRatingDeltaByOpponentParams) => string;
2178
+ /**
2179
+ * @summary Get rating delta by opponent statistics
2180
+ */
2181
+ export declare const battlesControllerGetRatingDeltaByOpponent: (params?: BattlesControllerGetRatingDeltaByOpponentParams, options?: Parameters<typeof battlelogFetch>[1]) => Promise<RatingDeltaByOpponentResponseDtoOutput[]>;
2182
+ export declare const getBattlesControllerGetPlayerVsPlayerBattlesUrl: (params: BattlesControllerGetPlayerVsPlayerBattlesParams) => string;
2183
+ /**
2184
+ * @summary Get player-vs-player battles
2185
+ */
2186
+ export declare const battlesControllerGetPlayerVsPlayerBattles: (params: BattlesControllerGetPlayerVsPlayerBattlesParams, options?: Parameters<typeof battlelogFetch>[1]) => Promise<PlayerVsPlayerPaginatedResponseDtoOutput>;
2187
+ export declare const getBattlesControllerSearchWarriorsUrl: (params: BattlesControllerSearchWarriorsParams) => string;
2188
+ /**
2189
+ * @summary Search warriors for authenticated user
2190
+ */
2191
+ export declare const battlesControllerSearchWarriors: (params: BattlesControllerSearchWarriorsParams, options?: Parameters<typeof battlelogFetch>[1]) => Promise<BattleWarriorsSearchResponseDtoOutput>;
2192
+ export declare const getBattlesControllerGetUserWorldsUrl: () => string;
2193
+ /**
2194
+ * @summary Get worlds used by authenticated user battles
2195
+ */
2196
+ export declare const battlesControllerGetUserWorlds: (options?: Parameters<typeof battlelogFetch>[1]) => Promise<BattleUserWorldsResponseDtoOutput>;
2197
+ export declare const getBattlesControllerGetBattleTimelineUrl: ({ battleId }: BattlesControllerGetBattleTimelinePathParameters) => string;
2198
+ /**
2199
+ * @summary Get computed battle timeline
2200
+ */
2201
+ export declare const battlesControllerGetBattleTimeline: ({ battleId }: BattlesControllerGetBattleTimelinePathParameters, options?: Parameters<typeof battlelogFetch>[1]) => Promise<BattleTimelineResponseDtoOutput>;
2202
+ export declare const getBattlesControllerGetBattleUrl: ({ battleId }: BattlesControllerGetBattlePathParameters) => string;
2203
+ /**
2204
+ * @summary Get a single battle
2205
+ */
2206
+ export declare const battlesControllerGetBattle: ({ battleId }: BattlesControllerGetBattlePathParameters, options?: Parameters<typeof battlelogFetch>[1]) => Promise<BattleResponseDtoOutput>;
2207
+ export declare const getBattlesControllerUpdateBattleUrl: ({ battleId }: BattlesControllerUpdateBattlePathParameters) => string;
2208
+ /**
2209
+ * @summary Update battle visibility
2210
+ */
2211
+ export declare const battlesControllerUpdateBattle: ({ battleId }: BattlesControllerUpdateBattlePathParameters, updateBattleDto: UpdateBattleDto, options?: Parameters<typeof battlelogFetch>[1]) => Promise<BattleResponseDtoOutput>;
2212
+ export declare const getBattlesControllerDeleteBattleUrl: ({ battleId }: BattlesControllerDeleteBattlePathParameters) => string;
2213
+ /**
2214
+ * @summary Delete a battle
2215
+ */
2216
+ export declare const battlesControllerDeleteBattle: ({ battleId }: BattlesControllerDeleteBattlePathParameters, options?: Parameters<typeof battlelogFetch>[1]) => Promise<BattleDeletedResponseDtoOutput>;
2217
+ export declare const getBattlesControllerGetBattleRawDataUrl: ({ battleId }: BattlesControllerGetBattleRawDataPathParameters) => string;
2218
+ /**
2219
+ * @summary Get raw battle payload
2220
+ */
2221
+ export declare const battlesControllerGetBattleRawData: ({ battleId }: BattlesControllerGetBattleRawDataPathParameters, options?: Parameters<typeof battlelogFetch>[1]) => Promise<BattleRawResponseDtoOutput>;
2222
+ export declare const getPublicBattlesControllerGetPublicBattleUrl: ({ battleId }: PublicBattlesControllerGetPublicBattlePathParameters) => string;
2223
+ /**
2224
+ * @summary Get a public battle
2225
+ */
2226
+ export declare const publicBattlesControllerGetPublicBattle: ({ battleId }: PublicBattlesControllerGetPublicBattlePathParameters, options?: Parameters<typeof battlelogFetch>[1]) => Promise<BattleResponseDtoOutput>;
2227
+ export declare const getPublicBattlesControllerGetPublicBattleRawUrl: ({ battleId }: PublicBattlesControllerGetPublicBattleRawPathParameters) => string;
2228
+ /**
2229
+ * @summary Get raw payload for a public battle
2230
+ */
2231
+ export declare const publicBattlesControllerGetPublicBattleRaw: ({ battleId }: PublicBattlesControllerGetPublicBattleRawPathParameters, options?: Parameters<typeof battlelogFetch>[1]) => Promise<BattleRawResponseDtoOutput>;
2232
+ export declare const getPublicBattlesControllerGetPublicBattleTimelineUrl: ({ battleId }: PublicBattlesControllerGetPublicBattleTimelinePathParameters) => string;
2233
+ /**
2234
+ * @summary Get computed timeline for a public battle
2235
+ */
2236
+ export declare const publicBattlesControllerGetPublicBattleTimeline: ({ battleId }: PublicBattlesControllerGetPublicBattleTimelinePathParameters, options?: Parameters<typeof battlelogFetch>[1]) => Promise<BattleTimelineResponseDtoOutput>;
2237
+ //#endregion
2238
+ //# sourceMappingURL=battlelog.d.ts.map