guildwars2-ts 1.4.1 → 1.5.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.
- package/dist/index.d.ts +2349 -94
- package/dist/index.js +25 -25
- package/dist/index.mjs +23 -23
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -402,8 +402,423 @@ declare class AccountApi extends ApiBase {
|
|
|
402
402
|
* Returns information about which world bosses have been killed by the account since daily-reset.
|
|
403
403
|
*/
|
|
404
404
|
getWorldBosses(): Promise<string[]>;
|
|
405
|
+
/**
|
|
406
|
+
* Returns information about an account's allocated wvw guild, and identifies the matchmaking team.
|
|
407
|
+
*/
|
|
408
|
+
getWvW(): Promise<{
|
|
409
|
+
team: number;
|
|
410
|
+
guild: string;
|
|
411
|
+
}>;
|
|
405
412
|
}
|
|
406
|
-
|
|
413
|
+
/**
|
|
414
|
+
* /v2/account definition
|
|
415
|
+
*/
|
|
416
|
+
export declare const AccountDTO: z.ZodObject<{
|
|
417
|
+
id: z.ZodString;
|
|
418
|
+
age: z.ZodNumber;
|
|
419
|
+
name: z.ZodString;
|
|
420
|
+
world: z.ZodNumber;
|
|
421
|
+
guilds: z.ZodArray<z.ZodString>;
|
|
422
|
+
guild_leader: z.ZodArray<z.ZodString>;
|
|
423
|
+
created: z.ZodString;
|
|
424
|
+
access: z.ZodArray<z.ZodString>;
|
|
425
|
+
commander: z.ZodBoolean;
|
|
426
|
+
fractal_level: z.ZodNumber;
|
|
427
|
+
daily_ap: z.ZodNumber;
|
|
428
|
+
monthly_ap: z.ZodNumber;
|
|
429
|
+
wvw_rank: z.ZodNumber;
|
|
430
|
+
last_modified: z.ZodOptional<z.ZodString>;
|
|
431
|
+
build_storage_slots: z.ZodOptional<z.ZodNumber>;
|
|
432
|
+
}, z.core.$strip>;
|
|
433
|
+
/**
|
|
434
|
+
* /v2/account/achievements definition
|
|
435
|
+
*/
|
|
436
|
+
export declare const AccountAchievementsDTO: z.ZodArray<z.ZodObject<{
|
|
437
|
+
id: z.ZodNumber;
|
|
438
|
+
bits: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
439
|
+
current: z.ZodNumber;
|
|
440
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
441
|
+
done: z.ZodBoolean;
|
|
442
|
+
repeated: z.ZodOptional<z.ZodNumber>;
|
|
443
|
+
unlocked: z.ZodOptional<z.ZodBoolean>;
|
|
444
|
+
}, z.core.$strip>>;
|
|
445
|
+
export declare const ItemAttributesGeneric: z.ZodObject<{
|
|
446
|
+
AgonyResistance: z.ZodOptional<z.ZodNumber>;
|
|
447
|
+
BoonDuration: z.ZodOptional<z.ZodNumber>;
|
|
448
|
+
ConditionDamage: z.ZodOptional<z.ZodNumber>;
|
|
449
|
+
ConditionDuration: z.ZodOptional<z.ZodNumber>;
|
|
450
|
+
CritDamage: z.ZodOptional<z.ZodNumber>;
|
|
451
|
+
Healing: z.ZodOptional<z.ZodNumber>;
|
|
452
|
+
Power: z.ZodOptional<z.ZodNumber>;
|
|
453
|
+
Precision: z.ZodOptional<z.ZodNumber>;
|
|
454
|
+
Toughness: z.ZodOptional<z.ZodNumber>;
|
|
455
|
+
Vitality: z.ZodOptional<z.ZodNumber>;
|
|
456
|
+
}, z.core.$strip>;
|
|
457
|
+
/**
|
|
458
|
+
* /v2/account/bank definition
|
|
459
|
+
*/
|
|
460
|
+
export declare const AccountBankDTO: z.ZodArray<z.ZodUnion<readonly [
|
|
461
|
+
z.ZodIntersection<z.ZodObject<{
|
|
462
|
+
id: z.ZodNumber;
|
|
463
|
+
count: z.ZodNumber;
|
|
464
|
+
charges: z.ZodOptional<z.ZodNumber>;
|
|
465
|
+
skin: z.ZodOptional<z.ZodNumber>;
|
|
466
|
+
dyes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
467
|
+
upgrades: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
468
|
+
upgrade_slot_indices: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
469
|
+
infusions: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
470
|
+
stats: z.ZodOptional<z.ZodObject<{
|
|
471
|
+
id: z.ZodNumber;
|
|
472
|
+
attributes: z.ZodObject<{
|
|
473
|
+
AgonyResistance: z.ZodOptional<z.ZodNumber>;
|
|
474
|
+
BoonDuration: z.ZodOptional<z.ZodNumber>;
|
|
475
|
+
ConditionDamage: z.ZodOptional<z.ZodNumber>;
|
|
476
|
+
ConditionDuration: z.ZodOptional<z.ZodNumber>;
|
|
477
|
+
CritDamage: z.ZodOptional<z.ZodNumber>;
|
|
478
|
+
Healing: z.ZodOptional<z.ZodNumber>;
|
|
479
|
+
Power: z.ZodOptional<z.ZodNumber>;
|
|
480
|
+
Precision: z.ZodOptional<z.ZodNumber>;
|
|
481
|
+
Toughness: z.ZodOptional<z.ZodNumber>;
|
|
482
|
+
Vitality: z.ZodOptional<z.ZodNumber>;
|
|
483
|
+
}, z.core.$strip>;
|
|
484
|
+
}, z.core.$strip>>;
|
|
485
|
+
}, z.core.$strip>, z.ZodDiscriminatedUnion<[
|
|
486
|
+
z.ZodObject<{
|
|
487
|
+
binding: z.ZodLiteral<"Character">;
|
|
488
|
+
bound_to: z.ZodString;
|
|
489
|
+
}, z.core.$strip>,
|
|
490
|
+
z.ZodObject<{
|
|
491
|
+
binding: z.ZodLiteral<"Account">;
|
|
492
|
+
bound_to: z.ZodUndefined;
|
|
493
|
+
}, z.core.$strip>,
|
|
494
|
+
z.ZodObject<{
|
|
495
|
+
binding: z.ZodUndefined;
|
|
496
|
+
bound_to: z.ZodUndefined;
|
|
497
|
+
}, z.core.$strip>
|
|
498
|
+
]>>,
|
|
499
|
+
z.ZodNull
|
|
500
|
+
]>>;
|
|
501
|
+
/**
|
|
502
|
+
* /v2/account/buildstorage definition
|
|
503
|
+
*/
|
|
504
|
+
export declare const AccountBuildStorageDTO: z.ZodArray<z.ZodObject<{
|
|
505
|
+
name: z.ZodString;
|
|
506
|
+
profession: z.ZodString;
|
|
507
|
+
specializations: z.ZodArray<z.ZodObject<{
|
|
508
|
+
id: z.ZodNumber;
|
|
509
|
+
traits: z.ZodArray<z.ZodUnion<readonly [
|
|
510
|
+
z.ZodNumber,
|
|
511
|
+
z.ZodNull
|
|
512
|
+
]>>;
|
|
513
|
+
}, z.core.$strip>>;
|
|
514
|
+
skills: z.ZodOptional<z.ZodObject<{
|
|
515
|
+
heal: z.ZodUnion<readonly [
|
|
516
|
+
z.ZodNumber,
|
|
517
|
+
z.ZodNull
|
|
518
|
+
]>;
|
|
519
|
+
utilities: z.ZodArray<z.ZodUnion<readonly [
|
|
520
|
+
z.ZodNumber,
|
|
521
|
+
z.ZodNull
|
|
522
|
+
]>>;
|
|
523
|
+
elite: z.ZodUnion<readonly [
|
|
524
|
+
z.ZodNumber,
|
|
525
|
+
z.ZodNull
|
|
526
|
+
]>;
|
|
527
|
+
}, z.core.$strip>>;
|
|
528
|
+
aquatic_skills: z.ZodOptional<z.ZodObject<{
|
|
529
|
+
heal: z.ZodUnion<readonly [
|
|
530
|
+
z.ZodNumber,
|
|
531
|
+
z.ZodNull
|
|
532
|
+
]>;
|
|
533
|
+
utilities: z.ZodArray<z.ZodUnion<readonly [
|
|
534
|
+
z.ZodNumber,
|
|
535
|
+
z.ZodNull
|
|
536
|
+
]>>;
|
|
537
|
+
elite: z.ZodUnion<readonly [
|
|
538
|
+
z.ZodNumber,
|
|
539
|
+
z.ZodNull
|
|
540
|
+
]>;
|
|
541
|
+
}, z.core.$strip>>;
|
|
542
|
+
legends: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [
|
|
543
|
+
z.ZodString,
|
|
544
|
+
z.ZodNull
|
|
545
|
+
]>>>;
|
|
546
|
+
aquatic_legends: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [
|
|
547
|
+
z.ZodString,
|
|
548
|
+
z.ZodNull
|
|
549
|
+
]>>>;
|
|
550
|
+
}, z.core.$strip>>;
|
|
551
|
+
/**
|
|
552
|
+
* /v2/account/dailycrafting definition
|
|
553
|
+
* Can be resolved against /v2/dailycrafting
|
|
554
|
+
*/
|
|
555
|
+
export declare const AccountDailyCraftingDTO: z.ZodArray<z.ZodString>;
|
|
556
|
+
/**
|
|
557
|
+
* /v2/account/dungeons definition
|
|
558
|
+
* Can be resolved against /v2/dungeons
|
|
559
|
+
*/
|
|
560
|
+
export declare const AccountDungeonsDTO: z.ZodArray<z.ZodString>;
|
|
561
|
+
/**
|
|
562
|
+
* /v2/account/dyes definition
|
|
563
|
+
* Can be resolved against /v2/dyes
|
|
564
|
+
*/
|
|
565
|
+
export declare const AccountDyesDTO: z.ZodArray<z.ZodNumber>;
|
|
566
|
+
/**
|
|
567
|
+
* /v2/account/emotes definition
|
|
568
|
+
* Can be resolved against /v2/emotes
|
|
569
|
+
*/
|
|
570
|
+
export declare const AccountEmotesDTO: z.ZodArray<z.ZodString>;
|
|
571
|
+
/**
|
|
572
|
+
* /v2/account/finishers definition
|
|
573
|
+
*/
|
|
574
|
+
export declare const AccountFinishersDTO: z.ZodArray<z.ZodObject<{
|
|
575
|
+
id: z.ZodNumber;
|
|
576
|
+
permanent: z.ZodBoolean;
|
|
577
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
578
|
+
}, z.core.$strip>>;
|
|
579
|
+
/**
|
|
580
|
+
* /v2/account/gliders definition
|
|
581
|
+
* Can be resolved against /v2/gliders
|
|
582
|
+
*/
|
|
583
|
+
export declare const AccountGlidersDTO: z.ZodArray<z.ZodNumber>;
|
|
584
|
+
/**
|
|
585
|
+
* /v2/account/home/nodes definition
|
|
586
|
+
*/
|
|
587
|
+
export declare const AccountHomeNodesDTO: z.ZodArray<z.ZodString>;
|
|
588
|
+
/**
|
|
589
|
+
* /v2/account/home/cats definition
|
|
590
|
+
*/
|
|
591
|
+
export declare const AccountHomeCatsDTO: z.ZodArray<z.ZodNumber>;
|
|
592
|
+
export declare const AccountHomesteadDecorationsDTO: z.ZodArray<z.ZodObject<{
|
|
593
|
+
id: z.ZodNumber;
|
|
594
|
+
count: z.ZodNumber;
|
|
595
|
+
}, z.core.$strip>>;
|
|
596
|
+
/**
|
|
597
|
+
* /v2/account/homestead/glyphs definition
|
|
598
|
+
*/
|
|
599
|
+
export declare const AccountHomesteadGlyphsDTO: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
|
|
600
|
+
/**
|
|
601
|
+
* /v2/account/inventory definition
|
|
602
|
+
*/
|
|
603
|
+
export declare const AccountInventoryDTO: z.ZodArray<z.ZodUnion<readonly [
|
|
604
|
+
z.ZodNull,
|
|
605
|
+
z.ZodObject<{
|
|
606
|
+
id: z.ZodNumber;
|
|
607
|
+
count: z.ZodNumber;
|
|
608
|
+
charges: z.ZodOptional<z.ZodNumber>;
|
|
609
|
+
skin: z.ZodOptional<z.ZodNumber>;
|
|
610
|
+
upgrades: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
611
|
+
infusions: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
612
|
+
binding: z.ZodOptional<z.ZodLiteral<"Account">>;
|
|
613
|
+
}, z.core.$strip>
|
|
614
|
+
]>>;
|
|
615
|
+
/**
|
|
616
|
+
* /v2/account/jadebots definition
|
|
617
|
+
*/
|
|
618
|
+
export declare const AccountJadebotsDTO: z.ZodArray<z.ZodNumber>;
|
|
619
|
+
/**
|
|
620
|
+
* /v2/account/legendaryarmory definition
|
|
621
|
+
*/
|
|
622
|
+
export declare const AccountLegendaryArmoryDTO: z.ZodArray<z.ZodObject<{
|
|
623
|
+
id: z.ZodNumber;
|
|
624
|
+
count: z.ZodNumber;
|
|
625
|
+
}, z.core.$strip>>;
|
|
626
|
+
/**
|
|
627
|
+
* /v2/account/luck definition
|
|
628
|
+
*/
|
|
629
|
+
export declare const AccountLuckDTO: z.ZodArray<z.ZodObject<{
|
|
630
|
+
id: z.ZodLiteral<"luck">;
|
|
631
|
+
value: z.ZodNumber;
|
|
632
|
+
}, z.core.$strip>>;
|
|
633
|
+
/**
|
|
634
|
+
* /v2/account/mailcarriers definition
|
|
635
|
+
* Can be resolved against /v2/mailcarriers.
|
|
636
|
+
*/
|
|
637
|
+
export declare const AccountMailCarriersDTO: z.ZodArray<z.ZodNumber>;
|
|
638
|
+
/**
|
|
639
|
+
* /v2/account/mapchests definition
|
|
640
|
+
* Can be resolved against /v2/mapchests.
|
|
641
|
+
*/
|
|
642
|
+
export declare const AccountMapChestsDTO: z.ZodArray<z.ZodString>;
|
|
643
|
+
/**
|
|
644
|
+
* /v2/account/masteries definition
|
|
645
|
+
*/
|
|
646
|
+
export declare const AccountMasteriesDTO: z.ZodArray<z.ZodObject<{
|
|
647
|
+
id: z.ZodNumber;
|
|
648
|
+
level: z.ZodNumber;
|
|
649
|
+
}, z.core.$strip>>;
|
|
650
|
+
/**
|
|
651
|
+
* /v2/account/mastery/points definition
|
|
652
|
+
*/
|
|
653
|
+
export declare const AccountMasteryPointsDTO: z.ZodObject<{
|
|
654
|
+
totals: z.ZodArray<z.ZodObject<{
|
|
655
|
+
region: z.ZodString;
|
|
656
|
+
spent: z.ZodNumber;
|
|
657
|
+
earned: z.ZodNumber;
|
|
658
|
+
}, z.core.$strip>>;
|
|
659
|
+
unlocked: z.ZodArray<z.ZodNumber>;
|
|
660
|
+
}, z.core.$strip>;
|
|
661
|
+
/**
|
|
662
|
+
* /v2/account/materials definition
|
|
663
|
+
*/
|
|
664
|
+
export declare const AccountMaterialsDTO: z.ZodArray<z.ZodObject<{
|
|
665
|
+
id: z.ZodNumber;
|
|
666
|
+
category: z.ZodNumber;
|
|
667
|
+
binding: z.ZodOptional<z.ZodLiteral<"Account">>;
|
|
668
|
+
count: z.ZodNumber;
|
|
669
|
+
}, z.core.$strip>>;
|
|
670
|
+
/**
|
|
671
|
+
* /v2/account/minis definition
|
|
672
|
+
* Can be resolved against /v2/minis
|
|
673
|
+
*/
|
|
674
|
+
export declare const AccountMinisDTO: z.ZodArray<z.ZodNumber>;
|
|
675
|
+
/**
|
|
676
|
+
* /v2/account/mounts/skins definition
|
|
677
|
+
* Can be resolved against /v2/mounts/skins
|
|
678
|
+
*/
|
|
679
|
+
export declare const AccountMountSkinsDTO: z.ZodArray<z.ZodNumber>;
|
|
680
|
+
/**
|
|
681
|
+
* /v2/account/mounts/types definition
|
|
682
|
+
* Can be resolved against /v2/mounts/types
|
|
683
|
+
*/
|
|
684
|
+
export declare const AccountMountTypesDTO: z.ZodArray<z.ZodString>;
|
|
685
|
+
/**
|
|
686
|
+
* /v2/account/novelties definition
|
|
687
|
+
* Can be resolved against /v2/novelties
|
|
688
|
+
*/
|
|
689
|
+
export declare const AccountNoveltiesDTO: z.ZodArray<z.ZodNumber>;
|
|
690
|
+
/**
|
|
691
|
+
* /v2/account/outfits definition
|
|
692
|
+
* Can be resolved against /v2/outfits
|
|
693
|
+
*/
|
|
694
|
+
export declare const AccountOutfitsDTO: z.ZodArray<z.ZodNumber>;
|
|
695
|
+
/**
|
|
696
|
+
* /v2/account/progression definition
|
|
697
|
+
*/
|
|
698
|
+
export declare const AccountProgressionDTO: z.ZodArray<z.ZodObject<{
|
|
699
|
+
id: z.ZodString;
|
|
700
|
+
value: z.ZodNumber;
|
|
701
|
+
}, z.core.$strip>>;
|
|
702
|
+
/**
|
|
703
|
+
* /v2/account/pvp/heroes definition
|
|
704
|
+
* Can be resolved against /v2/pvp/heroes
|
|
705
|
+
*/
|
|
706
|
+
export declare const AccountPvpHeroesDTO: z.ZodArray<z.ZodNumber>;
|
|
707
|
+
/**
|
|
708
|
+
* /v2/account/raids definition
|
|
709
|
+
* Can be resolved against /v2/raids
|
|
710
|
+
*/
|
|
711
|
+
export declare const AccountRaidsDTO: z.ZodArray<z.ZodString>;
|
|
712
|
+
/**
|
|
713
|
+
* /v2/account/recipes definition
|
|
714
|
+
* Can be resolved against /v2/recipes
|
|
715
|
+
*/
|
|
716
|
+
export declare const AccountRecipesDTO: z.ZodArray<z.ZodNumber>;
|
|
717
|
+
/**
|
|
718
|
+
* /v2/account/skiffs definition
|
|
719
|
+
*/
|
|
720
|
+
export declare const AccountSkiffsDTO: z.ZodArray<z.ZodNumber>;
|
|
721
|
+
/**
|
|
722
|
+
* /v2/account/skins definition
|
|
723
|
+
* Can be resolved against /v2/skins
|
|
724
|
+
*/
|
|
725
|
+
export declare const AccountSkinsDTO: z.ZodArray<z.ZodNumber>;
|
|
726
|
+
/**
|
|
727
|
+
* /v2/account/titles definition
|
|
728
|
+
* Can be resolved against /v2/titles
|
|
729
|
+
*/
|
|
730
|
+
export declare const AccountTitlesDTO: z.ZodArray<z.ZodNumber>;
|
|
731
|
+
/**
|
|
732
|
+
* /v2/account/wallet definition
|
|
733
|
+
*/
|
|
734
|
+
export declare const AccountWalletDTO: z.ZodArray<z.ZodObject<{
|
|
735
|
+
id: z.ZodNumber;
|
|
736
|
+
value: z.ZodNumber;
|
|
737
|
+
}, z.core.$strip>>;
|
|
738
|
+
/**
|
|
739
|
+
* /v2/account/wizardsvault/daily definition
|
|
740
|
+
*/
|
|
741
|
+
export declare const AccountWizardsVaultDailyDTO: z.ZodObject<{
|
|
742
|
+
meta_progress_current: z.ZodNumber;
|
|
743
|
+
meta_progress_complete: z.ZodNumber;
|
|
744
|
+
meta_reward_item_id: z.ZodNumber;
|
|
745
|
+
meta_reward_astral: z.ZodNumber;
|
|
746
|
+
meta_reward_claimed: z.ZodBoolean;
|
|
747
|
+
objectives: z.ZodArray<z.ZodObject<{
|
|
748
|
+
id: z.ZodNumber;
|
|
749
|
+
title: z.ZodString;
|
|
750
|
+
track: z.ZodString;
|
|
751
|
+
acclaim: z.ZodNumber;
|
|
752
|
+
progress_current: z.ZodNumber;
|
|
753
|
+
progress_complete: z.ZodNumber;
|
|
754
|
+
claimed: z.ZodBoolean;
|
|
755
|
+
}, z.core.$strip>>;
|
|
756
|
+
}, z.core.$strip>;
|
|
757
|
+
/**
|
|
758
|
+
* /v2/account/wizardsvault/listings definition
|
|
759
|
+
*/
|
|
760
|
+
export declare const AccountWizardsVaultListingsDTO: z.ZodArray<z.ZodObject<{
|
|
761
|
+
id: z.ZodNumber;
|
|
762
|
+
item_id: z.ZodNumber;
|
|
763
|
+
item_count: z.ZodNumber;
|
|
764
|
+
type: z.ZodEnum<{
|
|
765
|
+
Featured: "Featured";
|
|
766
|
+
Normal: "Normal";
|
|
767
|
+
Legacy: "Legacy";
|
|
768
|
+
}>;
|
|
769
|
+
cost: z.ZodNumber;
|
|
770
|
+
purchased: z.ZodOptional<z.ZodNumber>;
|
|
771
|
+
purchase_limit: z.ZodOptional<z.ZodNumber>;
|
|
772
|
+
}, z.core.$strip>>;
|
|
773
|
+
/**
|
|
774
|
+
* /v2/account/wizardsvault/special definition
|
|
775
|
+
*/
|
|
776
|
+
export declare const AccountWizardsVaultSpecialDTO: z.ZodObject<{
|
|
777
|
+
objectives: z.ZodArray<z.ZodObject<{
|
|
778
|
+
id: z.ZodNumber;
|
|
779
|
+
title: z.ZodString;
|
|
780
|
+
track: z.ZodString;
|
|
781
|
+
acclaim: z.ZodNumber;
|
|
782
|
+
progress_current: z.ZodNumber;
|
|
783
|
+
progress_complete: z.ZodNumber;
|
|
784
|
+
claimed: z.ZodBoolean;
|
|
785
|
+
}, z.core.$strip>>;
|
|
786
|
+
}, z.core.$strip>;
|
|
787
|
+
/**
|
|
788
|
+
* /v2/account/wizardsvault/weekly definition
|
|
789
|
+
*/
|
|
790
|
+
export declare const AccountWizardsVaultWeeklyDTO: z.ZodObject<{
|
|
791
|
+
meta_progress_current: z.ZodNumber;
|
|
792
|
+
meta_progress_complete: z.ZodNumber;
|
|
793
|
+
meta_reward_item_id: z.ZodNumber;
|
|
794
|
+
meta_reward_astral: z.ZodNumber;
|
|
795
|
+
meta_reward_claimed: z.ZodBoolean;
|
|
796
|
+
objectives: z.ZodArray<z.ZodObject<{
|
|
797
|
+
id: z.ZodNumber;
|
|
798
|
+
title: z.ZodString;
|
|
799
|
+
track: z.ZodString;
|
|
800
|
+
acclaim: z.ZodNumber;
|
|
801
|
+
progress_current: z.ZodNumber;
|
|
802
|
+
progress_complete: z.ZodNumber;
|
|
803
|
+
claimed: z.ZodBoolean;
|
|
804
|
+
}, z.core.$strip>>;
|
|
805
|
+
}, z.core.$strip>;
|
|
806
|
+
/**
|
|
807
|
+
* /v2/account/worldbosses definition
|
|
808
|
+
* Can be resolved against /v2/worldbosses
|
|
809
|
+
*/
|
|
810
|
+
export declare const AccountWorldBossesDTO: z.ZodArray<z.ZodString>;
|
|
811
|
+
/**
|
|
812
|
+
* /v2/account/wvw definition
|
|
813
|
+
*/
|
|
814
|
+
export declare const AccountWvWDTO: z.ZodObject<{
|
|
815
|
+
team: z.ZodNumber;
|
|
816
|
+
guild: z.ZodString;
|
|
817
|
+
}, z.core.$strip>;
|
|
818
|
+
/**
|
|
819
|
+
* /v2/achievements/categories/:ids definition
|
|
820
|
+
*/
|
|
821
|
+
export declare const AchievementCategoriesDTO: z.ZodArray<z.ZodObject<{
|
|
407
822
|
id: z.ZodNumber;
|
|
408
823
|
name: z.ZodString;
|
|
409
824
|
description: z.ZodString;
|
|
@@ -411,14 +826,36 @@ declare const AchievementCategoriesDTO: z.ZodArray<z.ZodObject<{
|
|
|
411
826
|
icon: z.ZodString;
|
|
412
827
|
achievements: z.ZodArray<z.ZodNumber>;
|
|
413
828
|
}, z.core.$strip>>;
|
|
414
|
-
|
|
829
|
+
/**
|
|
830
|
+
* /v2/achievements/groups definition
|
|
831
|
+
*/
|
|
832
|
+
export declare const AchievementGroupsDTO: z.ZodObject<{
|
|
415
833
|
id: z.ZodString;
|
|
416
834
|
name: z.ZodString;
|
|
417
835
|
description: z.ZodString;
|
|
418
836
|
order: z.ZodNumber;
|
|
419
837
|
categories: z.ZodArray<z.ZodNumber>;
|
|
420
838
|
}, z.core.$strip>;
|
|
421
|
-
|
|
839
|
+
export type ApiRatelimitsDTO = {
|
|
840
|
+
readonly RateLimit: string;
|
|
841
|
+
};
|
|
842
|
+
/**
|
|
843
|
+
* Generic Api response type
|
|
844
|
+
*/
|
|
845
|
+
export type ApiResponseDTO<T> = {
|
|
846
|
+
/**
|
|
847
|
+
* Api response object
|
|
848
|
+
*/
|
|
849
|
+
readonly data: T;
|
|
850
|
+
/**
|
|
851
|
+
* Api request ratelimits
|
|
852
|
+
*/
|
|
853
|
+
readonly rateLimits?: ApiRatelimitsDTO;
|
|
854
|
+
};
|
|
855
|
+
/**
|
|
856
|
+
* /v2/backstory/answers definition
|
|
857
|
+
*/
|
|
858
|
+
export declare const BackstoryAnswersDTO: z.ZodArray<z.ZodObject<{
|
|
422
859
|
id: z.ZodString;
|
|
423
860
|
title: z.ZodString;
|
|
424
861
|
description: z.ZodString;
|
|
@@ -427,7 +864,10 @@ declare const BackstoryAnswersDTO: z.ZodArray<z.ZodObject<{
|
|
|
427
864
|
professions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
428
865
|
races: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
429
866
|
}, z.core.$strip>>;
|
|
430
|
-
|
|
867
|
+
/**
|
|
868
|
+
* /v2/backstory/questions definition
|
|
869
|
+
*/
|
|
870
|
+
export declare const BackstoryQuestionsDTO: z.ZodArray<z.ZodObject<{
|
|
431
871
|
id: z.ZodNumber;
|
|
432
872
|
title: z.ZodString;
|
|
433
873
|
description: z.ZodString;
|
|
@@ -436,7 +876,696 @@ declare const BackstoryQuestionsDTO: z.ZodArray<z.ZodObject<{
|
|
|
436
876
|
races: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
437
877
|
professions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
438
878
|
}, z.core.$strip>>;
|
|
439
|
-
|
|
879
|
+
/**
|
|
880
|
+
* /v2/characters definition
|
|
881
|
+
*/
|
|
882
|
+
export declare const CharactersDTO: z.ZodArray<z.ZodString>;
|
|
883
|
+
/**
|
|
884
|
+
* /v2/characters/backstory definition
|
|
885
|
+
*/
|
|
886
|
+
export declare const CharacterBackstoryDTO: z.ZodObject<{
|
|
887
|
+
backstory: z.ZodArray<z.ZodString>;
|
|
888
|
+
}, z.core.$strip>;
|
|
889
|
+
/**
|
|
890
|
+
* /v2/characters/:id/buildtabs definition
|
|
891
|
+
*/
|
|
892
|
+
export declare const CharacterBuildTabsDTO: z.ZodArray<z.ZodObject<{
|
|
893
|
+
tab: z.ZodNumber;
|
|
894
|
+
is_active: z.ZodBoolean;
|
|
895
|
+
build: z.ZodObject<{
|
|
896
|
+
name: z.ZodString;
|
|
897
|
+
profession: z.ZodString;
|
|
898
|
+
specializations: z.ZodArray<z.ZodObject<{
|
|
899
|
+
id: z.ZodUnion<readonly [
|
|
900
|
+
z.ZodNumber,
|
|
901
|
+
z.ZodNull
|
|
902
|
+
]>;
|
|
903
|
+
traits: z.ZodArray<z.ZodUnion<readonly [
|
|
904
|
+
z.ZodNumber,
|
|
905
|
+
z.ZodNull
|
|
906
|
+
]>>;
|
|
907
|
+
}, z.core.$strip>>;
|
|
908
|
+
skills: z.ZodObject<{
|
|
909
|
+
heal: z.ZodUnion<readonly [
|
|
910
|
+
z.ZodNumber,
|
|
911
|
+
z.ZodNull
|
|
912
|
+
]>;
|
|
913
|
+
utitilies: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [
|
|
914
|
+
z.ZodNumber,
|
|
915
|
+
z.ZodNull
|
|
916
|
+
]>>>;
|
|
917
|
+
elite: z.ZodUnion<readonly [
|
|
918
|
+
z.ZodNumber,
|
|
919
|
+
z.ZodNull
|
|
920
|
+
]>;
|
|
921
|
+
}, z.core.$strip>;
|
|
922
|
+
aquatic_skills: z.ZodObject<{
|
|
923
|
+
heal: z.ZodUnion<readonly [
|
|
924
|
+
z.ZodNumber,
|
|
925
|
+
z.ZodNull
|
|
926
|
+
]>;
|
|
927
|
+
utitilies: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [
|
|
928
|
+
z.ZodNumber,
|
|
929
|
+
z.ZodNull
|
|
930
|
+
]>>>;
|
|
931
|
+
elite: z.ZodUnion<readonly [
|
|
932
|
+
z.ZodNumber,
|
|
933
|
+
z.ZodNull
|
|
934
|
+
]>;
|
|
935
|
+
}, z.core.$strip>;
|
|
936
|
+
legends: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [
|
|
937
|
+
z.ZodString,
|
|
938
|
+
z.ZodNull
|
|
939
|
+
]>>>;
|
|
940
|
+
aquatic_legends: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [
|
|
941
|
+
z.ZodString,
|
|
942
|
+
z.ZodNull
|
|
943
|
+
]>>>;
|
|
944
|
+
pets: z.ZodOptional<z.ZodObject<{
|
|
945
|
+
terrestrial: z.ZodArray<z.ZodNumber>;
|
|
946
|
+
aquatic: z.ZodArray<z.ZodNumber>;
|
|
947
|
+
}, z.core.$strip>>;
|
|
948
|
+
}, z.core.$strip>;
|
|
949
|
+
}, z.core.$strip>>;
|
|
950
|
+
/**
|
|
951
|
+
* /v2/characters/:id/core definition
|
|
952
|
+
*/
|
|
953
|
+
export declare const CharacterCoreDTO: z.ZodObject<{
|
|
954
|
+
name: z.ZodString;
|
|
955
|
+
race: z.ZodEnum<{
|
|
956
|
+
Asura: "Asura";
|
|
957
|
+
Charr: "Charr";
|
|
958
|
+
Human: "Human";
|
|
959
|
+
Norn: "Norn";
|
|
960
|
+
Sylvari: "Sylvari";
|
|
961
|
+
}>;
|
|
962
|
+
gender: z.ZodEnum<{
|
|
963
|
+
Male: "Male";
|
|
964
|
+
Female: "Female";
|
|
965
|
+
}>;
|
|
966
|
+
profession: z.ZodEnum<{
|
|
967
|
+
Elementalist: "Elementalist";
|
|
968
|
+
Engineer: "Engineer";
|
|
969
|
+
Guardian: "Guardian";
|
|
970
|
+
Mesmer: "Mesmer";
|
|
971
|
+
Necromancer: "Necromancer";
|
|
972
|
+
Ranger: "Ranger";
|
|
973
|
+
Revenant: "Revenant";
|
|
974
|
+
Thief: "Thief";
|
|
975
|
+
Warrior: "Warrior";
|
|
976
|
+
}>;
|
|
977
|
+
level: z.ZodNumber;
|
|
978
|
+
guild: z.ZodUnion<readonly [
|
|
979
|
+
z.ZodString,
|
|
980
|
+
z.ZodNull
|
|
981
|
+
]>;
|
|
982
|
+
age: z.ZodNumber;
|
|
983
|
+
created: z.ZodString;
|
|
984
|
+
deaths: z.ZodNumber;
|
|
985
|
+
title: z.ZodOptional<z.ZodNumber>;
|
|
986
|
+
}, z.core.$strip>;
|
|
987
|
+
/**
|
|
988
|
+
* /v2/characters/:id/crafting definition
|
|
989
|
+
*/
|
|
990
|
+
export declare const CharacterCraftingDTO: z.ZodObject<{
|
|
991
|
+
crafting: z.ZodArray<z.ZodObject<{
|
|
992
|
+
discipline: z.ZodEnum<{
|
|
993
|
+
Armorsmith: "Armorsmith";
|
|
994
|
+
Artificer: "Artificer";
|
|
995
|
+
Chef: "Chef";
|
|
996
|
+
Huntsman: "Huntsman";
|
|
997
|
+
Jeweler: "Jeweler";
|
|
998
|
+
Leatherworker: "Leatherworker";
|
|
999
|
+
Scribe: "Scribe";
|
|
1000
|
+
Tailor: "Tailor";
|
|
1001
|
+
Weaponsmith: "Weaponsmith";
|
|
1002
|
+
}>;
|
|
1003
|
+
rating: z.ZodNumber;
|
|
1004
|
+
active: z.ZodBoolean;
|
|
1005
|
+
}, z.core.$strip>>;
|
|
1006
|
+
}, z.core.$strip>;
|
|
1007
|
+
export declare const EquipmentStatsGeneric: z.ZodObject<{
|
|
1008
|
+
id: z.ZodNumber;
|
|
1009
|
+
attributes: z.ZodObject<{
|
|
1010
|
+
Power: z.ZodOptional<z.ZodNumber>;
|
|
1011
|
+
Precision: z.ZodOptional<z.ZodNumber>;
|
|
1012
|
+
Toughness: z.ZodOptional<z.ZodNumber>;
|
|
1013
|
+
Vitality: z.ZodOptional<z.ZodNumber>;
|
|
1014
|
+
ConditionDamage: z.ZodOptional<z.ZodNumber>;
|
|
1015
|
+
ConditionDuration: z.ZodOptional<z.ZodNumber>;
|
|
1016
|
+
Healing: z.ZodOptional<z.ZodNumber>;
|
|
1017
|
+
BoonDuration: z.ZodOptional<z.ZodNumber>;
|
|
1018
|
+
}, z.core.$strip>;
|
|
1019
|
+
}, z.core.$strip>;
|
|
1020
|
+
export declare const EquipmentGeneric: z.ZodIntersection<z.ZodObject<{
|
|
1021
|
+
id: z.ZodNumber;
|
|
1022
|
+
slot: z.ZodOptional<z.ZodEnum<{
|
|
1023
|
+
HelmAquatic: "HelmAquatic";
|
|
1024
|
+
Backpack: "Backpack";
|
|
1025
|
+
Coat: "Coat";
|
|
1026
|
+
Boots: "Boots";
|
|
1027
|
+
Gloves: "Gloves";
|
|
1028
|
+
Helm: "Helm";
|
|
1029
|
+
Leggings: "Leggings";
|
|
1030
|
+
Shoulders: "Shoulders";
|
|
1031
|
+
Accessory1: "Accessory1";
|
|
1032
|
+
Accessory2: "Accessory2";
|
|
1033
|
+
Ring1: "Ring1";
|
|
1034
|
+
Ring2: "Ring2";
|
|
1035
|
+
Amulet: "Amulet";
|
|
1036
|
+
Relic: "Relic";
|
|
1037
|
+
WeaponAquaticA: "WeaponAquaticA";
|
|
1038
|
+
WeaponAquaticB: "WeaponAquaticB";
|
|
1039
|
+
WeaponA1: "WeaponA1";
|
|
1040
|
+
WeaponA2: "WeaponA2";
|
|
1041
|
+
WeaponB1: "WeaponB1";
|
|
1042
|
+
WeaponB2: "WeaponB2";
|
|
1043
|
+
Sickle: "Sickle";
|
|
1044
|
+
Axe: "Axe";
|
|
1045
|
+
Pick: "Pick";
|
|
1046
|
+
PowerCore: "PowerCore";
|
|
1047
|
+
FishingLure: "FishingLure";
|
|
1048
|
+
FishingBait: "FishingBait";
|
|
1049
|
+
FishingRod: "FishingRod";
|
|
1050
|
+
SensoryArray: "SensoryArray";
|
|
1051
|
+
}>>;
|
|
1052
|
+
infusions: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1053
|
+
upgrades: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1054
|
+
skin: z.ZodOptional<z.ZodNumber>;
|
|
1055
|
+
stats: z.ZodOptional<z.ZodObject<{
|
|
1056
|
+
id: z.ZodNumber;
|
|
1057
|
+
attributes: z.ZodObject<{
|
|
1058
|
+
Power: z.ZodOptional<z.ZodNumber>;
|
|
1059
|
+
Precision: z.ZodOptional<z.ZodNumber>;
|
|
1060
|
+
Toughness: z.ZodOptional<z.ZodNumber>;
|
|
1061
|
+
Vitality: z.ZodOptional<z.ZodNumber>;
|
|
1062
|
+
ConditionDamage: z.ZodOptional<z.ZodNumber>;
|
|
1063
|
+
ConditionDuration: z.ZodOptional<z.ZodNumber>;
|
|
1064
|
+
Healing: z.ZodOptional<z.ZodNumber>;
|
|
1065
|
+
BoonDuration: z.ZodOptional<z.ZodNumber>;
|
|
1066
|
+
}, z.core.$strip>;
|
|
1067
|
+
}, z.core.$strip>>;
|
|
1068
|
+
location: z.ZodOptional<z.ZodEnum<{
|
|
1069
|
+
Equipped: "Equipped";
|
|
1070
|
+
Armory: "Armory";
|
|
1071
|
+
EquippedFromLegendaryArmory: "EquippedFromLegendaryArmory";
|
|
1072
|
+
LegendaryArmory: "LegendaryArmory";
|
|
1073
|
+
}>>;
|
|
1074
|
+
tabs: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1075
|
+
charges: z.ZodOptional<z.ZodNumber>;
|
|
1076
|
+
dyes: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [
|
|
1077
|
+
z.ZodNumber,
|
|
1078
|
+
z.ZodNull
|
|
1079
|
+
]>>>;
|
|
1080
|
+
}, z.core.$strip>, z.ZodDiscriminatedUnion<[
|
|
1081
|
+
z.ZodObject<{
|
|
1082
|
+
binding: z.ZodLiteral<"Character">;
|
|
1083
|
+
bound_to: z.ZodString;
|
|
1084
|
+
}, z.core.$strip>,
|
|
1085
|
+
z.ZodObject<{
|
|
1086
|
+
binding: z.ZodLiteral<"Account">;
|
|
1087
|
+
bound_to: z.ZodUndefined;
|
|
1088
|
+
}, z.core.$strip>,
|
|
1089
|
+
z.ZodObject<{
|
|
1090
|
+
binding: z.ZodUndefined;
|
|
1091
|
+
bound_to: z.ZodUndefined;
|
|
1092
|
+
}, z.core.$strip>
|
|
1093
|
+
]>>;
|
|
1094
|
+
/**
|
|
1095
|
+
* /v2/characters/:id/equipment definition
|
|
1096
|
+
*/
|
|
1097
|
+
export declare const CharacterEquipmentDTO: z.ZodObject<{
|
|
1098
|
+
equipment: z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
1099
|
+
id: z.ZodNumber;
|
|
1100
|
+
slot: z.ZodOptional<z.ZodEnum<{
|
|
1101
|
+
HelmAquatic: "HelmAquatic";
|
|
1102
|
+
Backpack: "Backpack";
|
|
1103
|
+
Coat: "Coat";
|
|
1104
|
+
Boots: "Boots";
|
|
1105
|
+
Gloves: "Gloves";
|
|
1106
|
+
Helm: "Helm";
|
|
1107
|
+
Leggings: "Leggings";
|
|
1108
|
+
Shoulders: "Shoulders";
|
|
1109
|
+
Accessory1: "Accessory1";
|
|
1110
|
+
Accessory2: "Accessory2";
|
|
1111
|
+
Ring1: "Ring1";
|
|
1112
|
+
Ring2: "Ring2";
|
|
1113
|
+
Amulet: "Amulet";
|
|
1114
|
+
Relic: "Relic";
|
|
1115
|
+
WeaponAquaticA: "WeaponAquaticA";
|
|
1116
|
+
WeaponAquaticB: "WeaponAquaticB";
|
|
1117
|
+
WeaponA1: "WeaponA1";
|
|
1118
|
+
WeaponA2: "WeaponA2";
|
|
1119
|
+
WeaponB1: "WeaponB1";
|
|
1120
|
+
WeaponB2: "WeaponB2";
|
|
1121
|
+
Sickle: "Sickle";
|
|
1122
|
+
Axe: "Axe";
|
|
1123
|
+
Pick: "Pick";
|
|
1124
|
+
PowerCore: "PowerCore";
|
|
1125
|
+
FishingLure: "FishingLure";
|
|
1126
|
+
FishingBait: "FishingBait";
|
|
1127
|
+
FishingRod: "FishingRod";
|
|
1128
|
+
SensoryArray: "SensoryArray";
|
|
1129
|
+
}>>;
|
|
1130
|
+
infusions: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1131
|
+
upgrades: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1132
|
+
skin: z.ZodOptional<z.ZodNumber>;
|
|
1133
|
+
stats: z.ZodOptional<z.ZodObject<{
|
|
1134
|
+
id: z.ZodNumber;
|
|
1135
|
+
attributes: z.ZodObject<{
|
|
1136
|
+
Power: z.ZodOptional<z.ZodNumber>;
|
|
1137
|
+
Precision: z.ZodOptional<z.ZodNumber>;
|
|
1138
|
+
Toughness: z.ZodOptional<z.ZodNumber>;
|
|
1139
|
+
Vitality: z.ZodOptional<z.ZodNumber>;
|
|
1140
|
+
ConditionDamage: z.ZodOptional<z.ZodNumber>;
|
|
1141
|
+
ConditionDuration: z.ZodOptional<z.ZodNumber>;
|
|
1142
|
+
Healing: z.ZodOptional<z.ZodNumber>;
|
|
1143
|
+
BoonDuration: z.ZodOptional<z.ZodNumber>;
|
|
1144
|
+
}, z.core.$strip>;
|
|
1145
|
+
}, z.core.$strip>>;
|
|
1146
|
+
location: z.ZodOptional<z.ZodEnum<{
|
|
1147
|
+
Equipped: "Equipped";
|
|
1148
|
+
Armory: "Armory";
|
|
1149
|
+
EquippedFromLegendaryArmory: "EquippedFromLegendaryArmory";
|
|
1150
|
+
LegendaryArmory: "LegendaryArmory";
|
|
1151
|
+
}>>;
|
|
1152
|
+
tabs: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1153
|
+
charges: z.ZodOptional<z.ZodNumber>;
|
|
1154
|
+
dyes: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [
|
|
1155
|
+
z.ZodNumber,
|
|
1156
|
+
z.ZodNull
|
|
1157
|
+
]>>>;
|
|
1158
|
+
}, z.core.$strip>, z.ZodDiscriminatedUnion<[
|
|
1159
|
+
z.ZodObject<{
|
|
1160
|
+
binding: z.ZodLiteral<"Character">;
|
|
1161
|
+
bound_to: z.ZodString;
|
|
1162
|
+
}, z.core.$strip>,
|
|
1163
|
+
z.ZodObject<{
|
|
1164
|
+
binding: z.ZodLiteral<"Account">;
|
|
1165
|
+
bound_to: z.ZodUndefined;
|
|
1166
|
+
}, z.core.$strip>,
|
|
1167
|
+
z.ZodObject<{
|
|
1168
|
+
binding: z.ZodUndefined;
|
|
1169
|
+
bound_to: z.ZodUndefined;
|
|
1170
|
+
}, z.core.$strip>
|
|
1171
|
+
]>>>;
|
|
1172
|
+
}, z.core.$strip>;
|
|
1173
|
+
/**
|
|
1174
|
+
* /v2/characters/:id/equipmenttabs definition
|
|
1175
|
+
*/
|
|
1176
|
+
export declare const CharacterEquipmentTabDTO: z.ZodObject<{
|
|
1177
|
+
tab: z.ZodNumber;
|
|
1178
|
+
name: z.ZodString;
|
|
1179
|
+
is_active: z.ZodBoolean;
|
|
1180
|
+
equipment: z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
1181
|
+
id: z.ZodNumber;
|
|
1182
|
+
slot: z.ZodOptional<z.ZodEnum<{
|
|
1183
|
+
HelmAquatic: "HelmAquatic";
|
|
1184
|
+
Backpack: "Backpack";
|
|
1185
|
+
Coat: "Coat";
|
|
1186
|
+
Boots: "Boots";
|
|
1187
|
+
Gloves: "Gloves";
|
|
1188
|
+
Helm: "Helm";
|
|
1189
|
+
Leggings: "Leggings";
|
|
1190
|
+
Shoulders: "Shoulders";
|
|
1191
|
+
Accessory1: "Accessory1";
|
|
1192
|
+
Accessory2: "Accessory2";
|
|
1193
|
+
Ring1: "Ring1";
|
|
1194
|
+
Ring2: "Ring2";
|
|
1195
|
+
Amulet: "Amulet";
|
|
1196
|
+
Relic: "Relic";
|
|
1197
|
+
WeaponAquaticA: "WeaponAquaticA";
|
|
1198
|
+
WeaponAquaticB: "WeaponAquaticB";
|
|
1199
|
+
WeaponA1: "WeaponA1";
|
|
1200
|
+
WeaponA2: "WeaponA2";
|
|
1201
|
+
WeaponB1: "WeaponB1";
|
|
1202
|
+
WeaponB2: "WeaponB2";
|
|
1203
|
+
Sickle: "Sickle";
|
|
1204
|
+
Axe: "Axe";
|
|
1205
|
+
Pick: "Pick";
|
|
1206
|
+
PowerCore: "PowerCore";
|
|
1207
|
+
FishingLure: "FishingLure";
|
|
1208
|
+
FishingBait: "FishingBait";
|
|
1209
|
+
FishingRod: "FishingRod";
|
|
1210
|
+
SensoryArray: "SensoryArray";
|
|
1211
|
+
}>>;
|
|
1212
|
+
infusions: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1213
|
+
upgrades: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1214
|
+
skin: z.ZodOptional<z.ZodNumber>;
|
|
1215
|
+
stats: z.ZodOptional<z.ZodObject<{
|
|
1216
|
+
id: z.ZodNumber;
|
|
1217
|
+
attributes: z.ZodObject<{
|
|
1218
|
+
Power: z.ZodOptional<z.ZodNumber>;
|
|
1219
|
+
Precision: z.ZodOptional<z.ZodNumber>;
|
|
1220
|
+
Toughness: z.ZodOptional<z.ZodNumber>;
|
|
1221
|
+
Vitality: z.ZodOptional<z.ZodNumber>;
|
|
1222
|
+
ConditionDamage: z.ZodOptional<z.ZodNumber>;
|
|
1223
|
+
ConditionDuration: z.ZodOptional<z.ZodNumber>;
|
|
1224
|
+
Healing: z.ZodOptional<z.ZodNumber>;
|
|
1225
|
+
BoonDuration: z.ZodOptional<z.ZodNumber>;
|
|
1226
|
+
}, z.core.$strip>;
|
|
1227
|
+
}, z.core.$strip>>;
|
|
1228
|
+
location: z.ZodOptional<z.ZodEnum<{
|
|
1229
|
+
Equipped: "Equipped";
|
|
1230
|
+
Armory: "Armory";
|
|
1231
|
+
EquippedFromLegendaryArmory: "EquippedFromLegendaryArmory";
|
|
1232
|
+
LegendaryArmory: "LegendaryArmory";
|
|
1233
|
+
}>>;
|
|
1234
|
+
tabs: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1235
|
+
charges: z.ZodOptional<z.ZodNumber>;
|
|
1236
|
+
dyes: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [
|
|
1237
|
+
z.ZodNumber,
|
|
1238
|
+
z.ZodNull
|
|
1239
|
+
]>>>;
|
|
1240
|
+
}, z.core.$strip>, z.ZodDiscriminatedUnion<[
|
|
1241
|
+
z.ZodObject<{
|
|
1242
|
+
binding: z.ZodLiteral<"Character">;
|
|
1243
|
+
bound_to: z.ZodString;
|
|
1244
|
+
}, z.core.$strip>,
|
|
1245
|
+
z.ZodObject<{
|
|
1246
|
+
binding: z.ZodLiteral<"Account">;
|
|
1247
|
+
bound_to: z.ZodUndefined;
|
|
1248
|
+
}, z.core.$strip>,
|
|
1249
|
+
z.ZodObject<{
|
|
1250
|
+
binding: z.ZodUndefined;
|
|
1251
|
+
bound_to: z.ZodUndefined;
|
|
1252
|
+
}, z.core.$strip>
|
|
1253
|
+
]>>>;
|
|
1254
|
+
equipment_pvp: z.ZodObject<{
|
|
1255
|
+
amulet: z.ZodUnion<readonly [
|
|
1256
|
+
z.ZodNumber,
|
|
1257
|
+
z.ZodNull
|
|
1258
|
+
]>;
|
|
1259
|
+
rune: z.ZodUnion<readonly [
|
|
1260
|
+
z.ZodNumber,
|
|
1261
|
+
z.ZodNull
|
|
1262
|
+
]>;
|
|
1263
|
+
sigils: z.ZodArray<z.ZodUnion<readonly [
|
|
1264
|
+
z.ZodNumber,
|
|
1265
|
+
z.ZodNull
|
|
1266
|
+
]>>;
|
|
1267
|
+
}, z.core.$strip>;
|
|
1268
|
+
}, z.core.$strip>;
|
|
1269
|
+
export declare const CharacterEquipmentTabsDTO: z.ZodArray<z.ZodObject<{
|
|
1270
|
+
tab: z.ZodNumber;
|
|
1271
|
+
name: z.ZodString;
|
|
1272
|
+
is_active: z.ZodBoolean;
|
|
1273
|
+
equipment: z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
1274
|
+
id: z.ZodNumber;
|
|
1275
|
+
slot: z.ZodOptional<z.ZodEnum<{
|
|
1276
|
+
HelmAquatic: "HelmAquatic";
|
|
1277
|
+
Backpack: "Backpack";
|
|
1278
|
+
Coat: "Coat";
|
|
1279
|
+
Boots: "Boots";
|
|
1280
|
+
Gloves: "Gloves";
|
|
1281
|
+
Helm: "Helm";
|
|
1282
|
+
Leggings: "Leggings";
|
|
1283
|
+
Shoulders: "Shoulders";
|
|
1284
|
+
Accessory1: "Accessory1";
|
|
1285
|
+
Accessory2: "Accessory2";
|
|
1286
|
+
Ring1: "Ring1";
|
|
1287
|
+
Ring2: "Ring2";
|
|
1288
|
+
Amulet: "Amulet";
|
|
1289
|
+
Relic: "Relic";
|
|
1290
|
+
WeaponAquaticA: "WeaponAquaticA";
|
|
1291
|
+
WeaponAquaticB: "WeaponAquaticB";
|
|
1292
|
+
WeaponA1: "WeaponA1";
|
|
1293
|
+
WeaponA2: "WeaponA2";
|
|
1294
|
+
WeaponB1: "WeaponB1";
|
|
1295
|
+
WeaponB2: "WeaponB2";
|
|
1296
|
+
Sickle: "Sickle";
|
|
1297
|
+
Axe: "Axe";
|
|
1298
|
+
Pick: "Pick";
|
|
1299
|
+
PowerCore: "PowerCore";
|
|
1300
|
+
FishingLure: "FishingLure";
|
|
1301
|
+
FishingBait: "FishingBait";
|
|
1302
|
+
FishingRod: "FishingRod";
|
|
1303
|
+
SensoryArray: "SensoryArray";
|
|
1304
|
+
}>>;
|
|
1305
|
+
infusions: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1306
|
+
upgrades: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1307
|
+
skin: z.ZodOptional<z.ZodNumber>;
|
|
1308
|
+
stats: z.ZodOptional<z.ZodObject<{
|
|
1309
|
+
id: z.ZodNumber;
|
|
1310
|
+
attributes: z.ZodObject<{
|
|
1311
|
+
Power: z.ZodOptional<z.ZodNumber>;
|
|
1312
|
+
Precision: z.ZodOptional<z.ZodNumber>;
|
|
1313
|
+
Toughness: z.ZodOptional<z.ZodNumber>;
|
|
1314
|
+
Vitality: z.ZodOptional<z.ZodNumber>;
|
|
1315
|
+
ConditionDamage: z.ZodOptional<z.ZodNumber>;
|
|
1316
|
+
ConditionDuration: z.ZodOptional<z.ZodNumber>;
|
|
1317
|
+
Healing: z.ZodOptional<z.ZodNumber>;
|
|
1318
|
+
BoonDuration: z.ZodOptional<z.ZodNumber>;
|
|
1319
|
+
}, z.core.$strip>;
|
|
1320
|
+
}, z.core.$strip>>;
|
|
1321
|
+
location: z.ZodOptional<z.ZodEnum<{
|
|
1322
|
+
Equipped: "Equipped";
|
|
1323
|
+
Armory: "Armory";
|
|
1324
|
+
EquippedFromLegendaryArmory: "EquippedFromLegendaryArmory";
|
|
1325
|
+
LegendaryArmory: "LegendaryArmory";
|
|
1326
|
+
}>>;
|
|
1327
|
+
tabs: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1328
|
+
charges: z.ZodOptional<z.ZodNumber>;
|
|
1329
|
+
dyes: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [
|
|
1330
|
+
z.ZodNumber,
|
|
1331
|
+
z.ZodNull
|
|
1332
|
+
]>>>;
|
|
1333
|
+
}, z.core.$strip>, z.ZodDiscriminatedUnion<[
|
|
1334
|
+
z.ZodObject<{
|
|
1335
|
+
binding: z.ZodLiteral<"Character">;
|
|
1336
|
+
bound_to: z.ZodString;
|
|
1337
|
+
}, z.core.$strip>,
|
|
1338
|
+
z.ZodObject<{
|
|
1339
|
+
binding: z.ZodLiteral<"Account">;
|
|
1340
|
+
bound_to: z.ZodUndefined;
|
|
1341
|
+
}, z.core.$strip>,
|
|
1342
|
+
z.ZodObject<{
|
|
1343
|
+
binding: z.ZodUndefined;
|
|
1344
|
+
bound_to: z.ZodUndefined;
|
|
1345
|
+
}, z.core.$strip>
|
|
1346
|
+
]>>>;
|
|
1347
|
+
equipment_pvp: z.ZodObject<{
|
|
1348
|
+
amulet: z.ZodUnion<readonly [
|
|
1349
|
+
z.ZodNumber,
|
|
1350
|
+
z.ZodNull
|
|
1351
|
+
]>;
|
|
1352
|
+
rune: z.ZodUnion<readonly [
|
|
1353
|
+
z.ZodNumber,
|
|
1354
|
+
z.ZodNull
|
|
1355
|
+
]>;
|
|
1356
|
+
sigils: z.ZodArray<z.ZodUnion<readonly [
|
|
1357
|
+
z.ZodNumber,
|
|
1358
|
+
z.ZodNull
|
|
1359
|
+
]>>;
|
|
1360
|
+
}, z.core.$strip>;
|
|
1361
|
+
}, z.core.$strip>>;
|
|
1362
|
+
/**
|
|
1363
|
+
* /v2/characters/:id/heropoints definition
|
|
1364
|
+
*
|
|
1365
|
+
*/
|
|
1366
|
+
export declare const CharacterHeroPointsDTO: z.ZodArray<z.ZodString>;
|
|
1367
|
+
/**
|
|
1368
|
+
* /v2/characters/:id/inventory definition
|
|
1369
|
+
*/
|
|
1370
|
+
export declare const CharacterInventoryDTO: z.ZodObject<{
|
|
1371
|
+
bags: z.ZodArray<z.ZodUnion<readonly [
|
|
1372
|
+
z.ZodObject<{
|
|
1373
|
+
id: z.ZodNumber;
|
|
1374
|
+
size: z.ZodNumber;
|
|
1375
|
+
inventory: z.ZodArray<z.ZodUnion<readonly [
|
|
1376
|
+
z.ZodNull,
|
|
1377
|
+
z.ZodIntersection<z.ZodObject<{
|
|
1378
|
+
id: z.ZodNumber;
|
|
1379
|
+
count: z.ZodNumber;
|
|
1380
|
+
charges: z.ZodOptional<z.ZodNumber>;
|
|
1381
|
+
infusions: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1382
|
+
upgrades: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1383
|
+
upgrade_slot_indices: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1384
|
+
skin: z.ZodOptional<z.ZodNumber>;
|
|
1385
|
+
stats: z.ZodOptional<z.ZodObject<{
|
|
1386
|
+
id: z.ZodNumber;
|
|
1387
|
+
attributes: z.ZodObject<{
|
|
1388
|
+
Power: z.ZodOptional<z.ZodNumber>;
|
|
1389
|
+
Precision: z.ZodOptional<z.ZodNumber>;
|
|
1390
|
+
Toughness: z.ZodOptional<z.ZodNumber>;
|
|
1391
|
+
Vitality: z.ZodOptional<z.ZodNumber>;
|
|
1392
|
+
ConditionDamage: z.ZodOptional<z.ZodNumber>;
|
|
1393
|
+
ConditionDuration: z.ZodOptional<z.ZodNumber>;
|
|
1394
|
+
Healing: z.ZodOptional<z.ZodNumber>;
|
|
1395
|
+
BoonDuration: z.ZodOptional<z.ZodNumber>;
|
|
1396
|
+
}, z.core.$strip>;
|
|
1397
|
+
}, z.core.$strip>>;
|
|
1398
|
+
dyes: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [
|
|
1399
|
+
z.ZodNull,
|
|
1400
|
+
z.ZodNumber
|
|
1401
|
+
]>>>;
|
|
1402
|
+
}, z.core.$strip>, z.ZodDiscriminatedUnion<[
|
|
1403
|
+
z.ZodObject<{
|
|
1404
|
+
binding: z.ZodLiteral<"Character">;
|
|
1405
|
+
bound_to: z.ZodString;
|
|
1406
|
+
}, z.core.$strip>,
|
|
1407
|
+
z.ZodObject<{
|
|
1408
|
+
binding: z.ZodLiteral<"Account">;
|
|
1409
|
+
bound_to: z.ZodUndefined;
|
|
1410
|
+
}, z.core.$strip>,
|
|
1411
|
+
z.ZodObject<{
|
|
1412
|
+
binding: z.ZodUndefined;
|
|
1413
|
+
bound_to: z.ZodUndefined;
|
|
1414
|
+
}, z.core.$strip>
|
|
1415
|
+
]>>
|
|
1416
|
+
]>>;
|
|
1417
|
+
}, z.core.$strip>,
|
|
1418
|
+
z.ZodNull
|
|
1419
|
+
]>>;
|
|
1420
|
+
}, z.core.$strip>;
|
|
1421
|
+
/**
|
|
1422
|
+
* /v2/characters/:id/quests definition
|
|
1423
|
+
*/
|
|
1424
|
+
export declare const CharacterQuestsDTO: z.ZodArray<z.ZodNumber>;
|
|
1425
|
+
/**
|
|
1426
|
+
* /v2/characters/:id/recipes definition
|
|
1427
|
+
*/
|
|
1428
|
+
export declare const CharacterRecipesDTO: z.ZodObject<{
|
|
1429
|
+
recipes: z.ZodArray<z.ZodNumber>;
|
|
1430
|
+
}, z.core.$strip>;
|
|
1431
|
+
/**
|
|
1432
|
+
* /v2/characters/:id/sab definition
|
|
1433
|
+
*/
|
|
1434
|
+
export declare const CharacterSuperAdventureBoxDTO: z.ZodObject<{
|
|
1435
|
+
zones: z.ZodArray<z.ZodObject<{
|
|
1436
|
+
id: z.ZodNumber;
|
|
1437
|
+
mode: z.ZodEnum<{
|
|
1438
|
+
infantile: "infantile";
|
|
1439
|
+
normal: "normal";
|
|
1440
|
+
tribulation: "tribulation";
|
|
1441
|
+
}>;
|
|
1442
|
+
world: z.ZodNumber;
|
|
1443
|
+
zone: z.ZodNumber;
|
|
1444
|
+
}, z.core.$strip>>;
|
|
1445
|
+
unlocks: z.ZodArray<z.ZodObject<{
|
|
1446
|
+
id: z.ZodNumber;
|
|
1447
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1448
|
+
}, z.core.$strip>>;
|
|
1449
|
+
songs: z.ZodArray<z.ZodObject<{
|
|
1450
|
+
id: z.ZodNumber;
|
|
1451
|
+
name: z.ZodEnum<{
|
|
1452
|
+
secret_song: "secret_song";
|
|
1453
|
+
gatekeeper_lullaby: "gatekeeper_lullaby";
|
|
1454
|
+
shatter_serenade: "shatter_serenade";
|
|
1455
|
+
}>;
|
|
1456
|
+
}, z.core.$strip>>;
|
|
1457
|
+
}, z.core.$strip>;
|
|
1458
|
+
/**
|
|
1459
|
+
* /v2/characters/:id/skills definition
|
|
1460
|
+
*/
|
|
1461
|
+
export declare const CharacterSkillsDTO: z.ZodObject<{
|
|
1462
|
+
skills: z.ZodObject<{
|
|
1463
|
+
pve: z.ZodObject<{
|
|
1464
|
+
heal: z.ZodUnion<readonly [
|
|
1465
|
+
z.ZodNull,
|
|
1466
|
+
z.ZodNumber
|
|
1467
|
+
]>;
|
|
1468
|
+
utilities: z.ZodArray<z.ZodUnion<readonly [
|
|
1469
|
+
z.ZodNull,
|
|
1470
|
+
z.ZodNumber
|
|
1471
|
+
]>>;
|
|
1472
|
+
elite: z.ZodUnion<readonly [
|
|
1473
|
+
z.ZodNull,
|
|
1474
|
+
z.ZodNumber
|
|
1475
|
+
]>;
|
|
1476
|
+
legends: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [
|
|
1477
|
+
z.ZodNull,
|
|
1478
|
+
z.ZodString
|
|
1479
|
+
]>>>;
|
|
1480
|
+
}, z.core.$strip>;
|
|
1481
|
+
pvp: z.ZodObject<{
|
|
1482
|
+
heal: z.ZodUnion<readonly [
|
|
1483
|
+
z.ZodNull,
|
|
1484
|
+
z.ZodNumber
|
|
1485
|
+
]>;
|
|
1486
|
+
utilities: z.ZodArray<z.ZodUnion<readonly [
|
|
1487
|
+
z.ZodNull,
|
|
1488
|
+
z.ZodNumber
|
|
1489
|
+
]>>;
|
|
1490
|
+
elite: z.ZodUnion<readonly [
|
|
1491
|
+
z.ZodNull,
|
|
1492
|
+
z.ZodNumber
|
|
1493
|
+
]>;
|
|
1494
|
+
legends: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [
|
|
1495
|
+
z.ZodNull,
|
|
1496
|
+
z.ZodString
|
|
1497
|
+
]>>>;
|
|
1498
|
+
}, z.core.$strip>;
|
|
1499
|
+
wvw: z.ZodObject<{
|
|
1500
|
+
heal: z.ZodUnion<readonly [
|
|
1501
|
+
z.ZodNull,
|
|
1502
|
+
z.ZodNumber
|
|
1503
|
+
]>;
|
|
1504
|
+
utilities: z.ZodArray<z.ZodUnion<readonly [
|
|
1505
|
+
z.ZodNull,
|
|
1506
|
+
z.ZodNumber
|
|
1507
|
+
]>>;
|
|
1508
|
+
elite: z.ZodUnion<readonly [
|
|
1509
|
+
z.ZodNull,
|
|
1510
|
+
z.ZodNumber
|
|
1511
|
+
]>;
|
|
1512
|
+
legends: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [
|
|
1513
|
+
z.ZodNull,
|
|
1514
|
+
z.ZodString
|
|
1515
|
+
]>>>;
|
|
1516
|
+
}, z.core.$strip>;
|
|
1517
|
+
}, z.core.$strip>;
|
|
1518
|
+
}, z.core.$strip>;
|
|
1519
|
+
/**
|
|
1520
|
+
* /v2/characters/:id/specializations definition
|
|
1521
|
+
*/
|
|
1522
|
+
export declare const CharacterSpecializationsDTO: z.ZodObject<{
|
|
1523
|
+
specializations: z.ZodObject<{
|
|
1524
|
+
pve: z.ZodArray<z.ZodObject<{
|
|
1525
|
+
id: z.ZodNumber;
|
|
1526
|
+
traits: z.ZodArray<z.ZodNumber>;
|
|
1527
|
+
}, z.core.$strip>>;
|
|
1528
|
+
pvp: z.ZodArray<z.ZodObject<{
|
|
1529
|
+
id: z.ZodNumber;
|
|
1530
|
+
traits: z.ZodArray<z.ZodNumber>;
|
|
1531
|
+
}, z.core.$strip>>;
|
|
1532
|
+
wvw: z.ZodArray<z.ZodObject<{
|
|
1533
|
+
id: z.ZodNumber;
|
|
1534
|
+
traits: z.ZodArray<z.ZodNumber>;
|
|
1535
|
+
}, z.core.$strip>>;
|
|
1536
|
+
}, z.core.$strip>;
|
|
1537
|
+
}, z.core.$strip>;
|
|
1538
|
+
/**
|
|
1539
|
+
* /v2/characters/:id/training definition
|
|
1540
|
+
*/
|
|
1541
|
+
export declare const CharacterTrainingDTO: z.ZodObject<{
|
|
1542
|
+
training: z.ZodArray<z.ZodObject<{
|
|
1543
|
+
id: z.ZodNumber;
|
|
1544
|
+
spent: z.ZodNumber;
|
|
1545
|
+
done: z.ZodBoolean;
|
|
1546
|
+
}, z.core.$strip>>;
|
|
1547
|
+
}, z.core.$strip>;
|
|
1548
|
+
/**
|
|
1549
|
+
* /v2/commerce/delivery definition
|
|
1550
|
+
*/
|
|
1551
|
+
export declare const CommerceDeliveryDTO: z.ZodObject<{
|
|
1552
|
+
coins: z.ZodNumber;
|
|
1553
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1554
|
+
id: z.ZodNumber;
|
|
1555
|
+
count: z.ZodNumber;
|
|
1556
|
+
}, z.core.$strip>>;
|
|
1557
|
+
}, z.core.$strip>;
|
|
1558
|
+
/**
|
|
1559
|
+
* /v2/commerce/exchange/coins definition
|
|
1560
|
+
*/
|
|
1561
|
+
export declare const CommerceExchangeDTO: z.ZodObject<{
|
|
1562
|
+
coins_per_gem: z.ZodNumber;
|
|
1563
|
+
quantity: z.ZodNumber;
|
|
1564
|
+
}, z.core.$strip>;
|
|
1565
|
+
/**
|
|
1566
|
+
* /v2/commerce/listings definition.
|
|
1567
|
+
*/
|
|
1568
|
+
export declare const CommerceListingsDTO: z.ZodArray<z.ZodObject<{
|
|
440
1569
|
id: z.ZodNumber;
|
|
441
1570
|
buys: z.ZodArray<z.ZodObject<{
|
|
442
1571
|
listings: z.ZodNumber;
|
|
@@ -449,7 +1578,10 @@ declare const CommerceListingsDTO: z.ZodArray<z.ZodObject<{
|
|
|
449
1578
|
quantity: z.ZodNumber;
|
|
450
1579
|
}, z.core.$strip>>;
|
|
451
1580
|
}, z.core.$strip>>;
|
|
452
|
-
|
|
1581
|
+
/**
|
|
1582
|
+
* /v2/commerce/prices definition.
|
|
1583
|
+
*/
|
|
1584
|
+
export declare const CommercePricesDTO: z.ZodArray<z.ZodObject<{
|
|
453
1585
|
id: z.ZodNumber;
|
|
454
1586
|
whitelisted: z.ZodBoolean;
|
|
455
1587
|
buys: z.ZodObject<{
|
|
@@ -461,7 +1593,18 @@ declare const CommercePricesDTO: z.ZodArray<z.ZodObject<{
|
|
|
461
1593
|
unit_price: z.ZodNumber;
|
|
462
1594
|
}, z.core.$strip>;
|
|
463
1595
|
}, z.core.$strip>>;
|
|
464
|
-
|
|
1596
|
+
/**
|
|
1597
|
+
* /v2/commerce/transactions definition.
|
|
1598
|
+
*/
|
|
1599
|
+
export declare const CommerceTransactionDTO: z.ZodArray<z.ZodObject<{
|
|
1600
|
+
id: z.ZodNumber;
|
|
1601
|
+
item_id: z.ZodNumber;
|
|
1602
|
+
price: z.ZodNumber;
|
|
1603
|
+
quantity: z.ZodNumber;
|
|
1604
|
+
created: z.ZodString;
|
|
1605
|
+
purchased: z.ZodOptional<z.ZodString>;
|
|
1606
|
+
}, z.core.$strip>>;
|
|
1607
|
+
export declare const ContinentsMapsDTO: z.ZodArray<z.ZodObject<{
|
|
465
1608
|
name: z.ZodString;
|
|
466
1609
|
min_level: z.ZodNumber;
|
|
467
1610
|
max_level: z.ZodNumber;
|
|
@@ -510,7 +1653,7 @@ declare const ContinentsMapsDTO: z.ZodArray<z.ZodObject<{
|
|
|
510
1653
|
coord: z.ZodArray<z.ZodNumber>;
|
|
511
1654
|
}, z.core.$strip>>;
|
|
512
1655
|
}, z.core.$strip>>;
|
|
513
|
-
declare const ContinentsRegionsDTO: z.ZodArray<z.ZodObject<{
|
|
1656
|
+
export declare const ContinentsRegionsDTO: z.ZodArray<z.ZodObject<{
|
|
514
1657
|
id: z.ZodNumber;
|
|
515
1658
|
name: z.ZodString;
|
|
516
1659
|
label_coord: z.ZodArray<z.ZodNumber>;
|
|
@@ -565,7 +1708,7 @@ declare const ContinentsRegionsDTO: z.ZodArray<z.ZodObject<{
|
|
|
565
1708
|
}, z.core.$strip>>;
|
|
566
1709
|
}, z.core.$strip>>;
|
|
567
1710
|
}, z.core.$strip>>;
|
|
568
|
-
declare const ContinentsFloorsDTO: z.ZodArray<z.ZodObject<{
|
|
1711
|
+
export declare const ContinentsFloorsDTO: z.ZodArray<z.ZodObject<{
|
|
569
1712
|
id: z.ZodNumber;
|
|
570
1713
|
texture_dims: z.ZodArray<z.ZodNumber>;
|
|
571
1714
|
clamped_view: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodNumber>>>;
|
|
@@ -625,7 +1768,7 @@ declare const ContinentsFloorsDTO: z.ZodArray<z.ZodObject<{
|
|
|
625
1768
|
}, z.core.$strip>>;
|
|
626
1769
|
}, z.core.$strip>>;
|
|
627
1770
|
}, z.core.$strip>>;
|
|
628
|
-
declare const ContinentsDTO: z.ZodArray<z.ZodObject<{
|
|
1771
|
+
export declare const ContinentsDTO: z.ZodArray<z.ZodObject<{
|
|
629
1772
|
id: z.ZodNumber;
|
|
630
1773
|
name: z.ZodString;
|
|
631
1774
|
continents_dims: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
@@ -633,7 +1776,312 @@ declare const ContinentsDTO: z.ZodArray<z.ZodObject<{
|
|
|
633
1776
|
max_zoom: z.ZodNumber;
|
|
634
1777
|
floors: z.ZodArray<z.ZodNumber>;
|
|
635
1778
|
}, z.core.$strip>>;
|
|
636
|
-
|
|
1779
|
+
/**
|
|
1780
|
+
* /v2/guild/:id definition.
|
|
1781
|
+
*/
|
|
1782
|
+
export declare const GuildDTO: z.ZodObject<{
|
|
1783
|
+
id: z.ZodString;
|
|
1784
|
+
name: z.ZodString;
|
|
1785
|
+
tag: z.ZodString;
|
|
1786
|
+
emblem: z.ZodObject<{
|
|
1787
|
+
background: z.ZodObject<{
|
|
1788
|
+
id: z.ZodNumber;
|
|
1789
|
+
colors: z.ZodArray<z.ZodNumber>;
|
|
1790
|
+
}, z.core.$strip>;
|
|
1791
|
+
foreground: z.ZodObject<{
|
|
1792
|
+
id: z.ZodNumber;
|
|
1793
|
+
colors: z.ZodArray<z.ZodNumber>;
|
|
1794
|
+
}, z.core.$strip>;
|
|
1795
|
+
flags: z.ZodArray<z.ZodEnum<{
|
|
1796
|
+
FlipBackgroundHorizontal: "FlipBackgroundHorizontal";
|
|
1797
|
+
FlipBackgroundVertical: "FlipBackgroundVertical";
|
|
1798
|
+
FlipForegroundHorizontal: "FlipForegroundHorizontal";
|
|
1799
|
+
FlipForegroundVertical: "FlipForegroundVertical";
|
|
1800
|
+
}>>;
|
|
1801
|
+
}, z.core.$strip>;
|
|
1802
|
+
level: z.ZodOptional<z.ZodNumber>;
|
|
1803
|
+
motd: z.ZodOptional<z.ZodString>;
|
|
1804
|
+
influence: z.ZodOptional<z.ZodNumber>;
|
|
1805
|
+
aetherium: z.ZodOptional<z.ZodString>;
|
|
1806
|
+
favor: z.ZodOptional<z.ZodNumber>;
|
|
1807
|
+
member_count: z.ZodOptional<z.ZodNumber>;
|
|
1808
|
+
member_capacity: z.ZodOptional<z.ZodNumber>;
|
|
1809
|
+
}, z.core.$strip>;
|
|
1810
|
+
/**
|
|
1811
|
+
* /v2/guild/:id/log definition
|
|
1812
|
+
*/
|
|
1813
|
+
export declare const GuildLogDTO: z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
1814
|
+
id: z.ZodNumber;
|
|
1815
|
+
time: z.ZodString;
|
|
1816
|
+
}, z.core.$strip>, z.ZodDiscriminatedUnion<[
|
|
1817
|
+
z.ZodObject<{
|
|
1818
|
+
type: z.ZodLiteral<"joined">;
|
|
1819
|
+
user: z.ZodString;
|
|
1820
|
+
}, z.core.$strip>,
|
|
1821
|
+
z.ZodObject<{
|
|
1822
|
+
type: z.ZodLiteral<"invited">;
|
|
1823
|
+
user: z.ZodString;
|
|
1824
|
+
invited_by: z.ZodString;
|
|
1825
|
+
}, z.core.$strip>,
|
|
1826
|
+
z.ZodObject<{
|
|
1827
|
+
type: z.ZodLiteral<"kick">;
|
|
1828
|
+
user: z.ZodString;
|
|
1829
|
+
kicked_by: z.ZodString;
|
|
1830
|
+
}, z.core.$strip>,
|
|
1831
|
+
z.ZodObject<{
|
|
1832
|
+
type: z.ZodLiteral<"rank_change">;
|
|
1833
|
+
user: z.ZodString;
|
|
1834
|
+
old_rank: z.ZodString;
|
|
1835
|
+
new_rank: z.ZodString;
|
|
1836
|
+
changed_by: z.ZodOptional<z.ZodString>;
|
|
1837
|
+
}, z.core.$strip>,
|
|
1838
|
+
z.ZodObject<{
|
|
1839
|
+
type: z.ZodLiteral<"stash">;
|
|
1840
|
+
operation: z.ZodEnum<{
|
|
1841
|
+
deposit: "deposit";
|
|
1842
|
+
withdraw: "withdraw";
|
|
1843
|
+
move: "move";
|
|
1844
|
+
}>;
|
|
1845
|
+
item_id: z.ZodNumber;
|
|
1846
|
+
count: z.ZodNumber;
|
|
1847
|
+
coins: z.ZodNumber;
|
|
1848
|
+
}, z.core.$strip>,
|
|
1849
|
+
z.ZodObject<{
|
|
1850
|
+
type: z.ZodLiteral<"motd">;
|
|
1851
|
+
user: z.ZodString;
|
|
1852
|
+
motd: z.ZodString;
|
|
1853
|
+
}, z.core.$strip>,
|
|
1854
|
+
z.ZodObject<{
|
|
1855
|
+
type: z.ZodLiteral<"upgrade">;
|
|
1856
|
+
action: z.ZodEnum<{
|
|
1857
|
+
queued: "queued";
|
|
1858
|
+
cancelled: "cancelled";
|
|
1859
|
+
completed: "completed";
|
|
1860
|
+
sped_up: "sped_up";
|
|
1861
|
+
}>;
|
|
1862
|
+
count: z.ZodOptional<z.ZodNumber>;
|
|
1863
|
+
upgrade_id: z.ZodNumber;
|
|
1864
|
+
recipe_id: z.ZodOptional<z.ZodNumber>;
|
|
1865
|
+
}, z.core.$strip>
|
|
1866
|
+
]>>>;
|
|
1867
|
+
/**
|
|
1868
|
+
* /v2/guild/:id/members definition
|
|
1869
|
+
*/
|
|
1870
|
+
export declare const GuildMembersDTO: z.ZodArray<z.ZodObject<{
|
|
1871
|
+
name: z.ZodString;
|
|
1872
|
+
rank: z.ZodString;
|
|
1873
|
+
joined: z.ZodUnion<readonly [
|
|
1874
|
+
z.ZodString,
|
|
1875
|
+
z.ZodNull
|
|
1876
|
+
]>;
|
|
1877
|
+
}, z.core.$strip>>;
|
|
1878
|
+
export declare const GuildRanksDTO: z.ZodArray<z.ZodObject<{
|
|
1879
|
+
id: z.ZodString;
|
|
1880
|
+
order: z.ZodNumber;
|
|
1881
|
+
permissions: z.ZodArray<z.ZodString>;
|
|
1882
|
+
icon: z.ZodString;
|
|
1883
|
+
}, z.core.$strip>>;
|
|
1884
|
+
/**
|
|
1885
|
+
* /v2/guild/:id/stash definition
|
|
1886
|
+
*/
|
|
1887
|
+
export declare const GuildStashDTO: z.ZodArray<z.ZodObject<{
|
|
1888
|
+
upgrade_id: z.ZodNumber;
|
|
1889
|
+
size: z.ZodNumber;
|
|
1890
|
+
coins: z.ZodNumber;
|
|
1891
|
+
note: z.ZodString;
|
|
1892
|
+
inventory: z.ZodArray<z.ZodUnion<readonly [
|
|
1893
|
+
z.ZodNull,
|
|
1894
|
+
z.ZodObject<{
|
|
1895
|
+
id: z.ZodNumber;
|
|
1896
|
+
count: z.ZodNumber;
|
|
1897
|
+
}, z.core.$strip>
|
|
1898
|
+
]>>;
|
|
1899
|
+
}, z.core.$strip>>;
|
|
1900
|
+
/**
|
|
1901
|
+
* /v2/guild/:id/storage definition
|
|
1902
|
+
*/
|
|
1903
|
+
export declare const GuildStorageDTO: z.ZodArray<z.ZodObject<{
|
|
1904
|
+
id: z.ZodNumber;
|
|
1905
|
+
count: z.ZodNumber;
|
|
1906
|
+
}, z.core.$strip>>;
|
|
1907
|
+
/**
|
|
1908
|
+
* /v2/guild/:id/teams definition
|
|
1909
|
+
*/
|
|
1910
|
+
export declare const GuildTeamsDTO: z.ZodArray<z.ZodObject<{
|
|
1911
|
+
id: z.ZodNumber;
|
|
1912
|
+
members: z.ZodArray<z.ZodObject<{
|
|
1913
|
+
name: z.ZodString;
|
|
1914
|
+
role: z.ZodEnum<{
|
|
1915
|
+
Member: "Member";
|
|
1916
|
+
Captain: "Captain";
|
|
1917
|
+
}>;
|
|
1918
|
+
}, z.core.$strip>>;
|
|
1919
|
+
name: z.ZodString;
|
|
1920
|
+
aggregate: z.ZodObject<{
|
|
1921
|
+
wins: z.ZodNumber;
|
|
1922
|
+
losses: z.ZodNumber;
|
|
1923
|
+
desertions: z.ZodNumber;
|
|
1924
|
+
byes: z.ZodNumber;
|
|
1925
|
+
forfeits: z.ZodNumber;
|
|
1926
|
+
}, z.core.$strip>;
|
|
1927
|
+
ladders: z.ZodObject<{
|
|
1928
|
+
ranked: z.ZodOptional<z.ZodObject<{
|
|
1929
|
+
wins: z.ZodNumber;
|
|
1930
|
+
losses: z.ZodNumber;
|
|
1931
|
+
desertions: z.ZodNumber;
|
|
1932
|
+
byes: z.ZodNumber;
|
|
1933
|
+
forfeits: z.ZodNumber;
|
|
1934
|
+
}, z.core.$strip>>;
|
|
1935
|
+
unranked: z.ZodOptional<z.ZodObject<{
|
|
1936
|
+
wins: z.ZodNumber;
|
|
1937
|
+
losses: z.ZodNumber;
|
|
1938
|
+
desertions: z.ZodNumber;
|
|
1939
|
+
byes: z.ZodNumber;
|
|
1940
|
+
forfeits: z.ZodNumber;
|
|
1941
|
+
}, z.core.$strip>>;
|
|
1942
|
+
}, z.core.$strip>;
|
|
1943
|
+
games: z.ZodArray<z.ZodObject<{
|
|
1944
|
+
id: z.ZodString;
|
|
1945
|
+
map_id: z.ZodString;
|
|
1946
|
+
started: z.ZodString;
|
|
1947
|
+
ended: z.ZodString;
|
|
1948
|
+
team: z.ZodString;
|
|
1949
|
+
scores: z.ZodObject<{
|
|
1950
|
+
red: z.ZodNumber;
|
|
1951
|
+
blue: z.ZodNumber;
|
|
1952
|
+
}, z.core.$strip>;
|
|
1953
|
+
rating_type: z.ZodEnum<{
|
|
1954
|
+
Ranked: "Ranked";
|
|
1955
|
+
Unranked: "Unranked";
|
|
1956
|
+
None: "None";
|
|
1957
|
+
}>;
|
|
1958
|
+
rating_change: z.ZodNumber;
|
|
1959
|
+
season: z.ZodOptional<z.ZodString>;
|
|
1960
|
+
}, z.core.$strip>>;
|
|
1961
|
+
seasons: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1962
|
+
id: z.ZodString;
|
|
1963
|
+
wins: z.ZodNumber;
|
|
1964
|
+
losses: z.ZodNumber;
|
|
1965
|
+
rating: z.ZodNumber;
|
|
1966
|
+
}, z.core.$strip>>>;
|
|
1967
|
+
}, z.core.$strip>>;
|
|
1968
|
+
/**
|
|
1969
|
+
* /v2/guild/:id/treasury definition
|
|
1970
|
+
*/
|
|
1971
|
+
export declare const GuildTreasuryDTO: z.ZodArray<z.ZodObject<{
|
|
1972
|
+
item_id: z.ZodNumber;
|
|
1973
|
+
count: z.ZodNumber;
|
|
1974
|
+
needed_by: z.ZodArray<z.ZodObject<{
|
|
1975
|
+
upgrade_id: z.ZodNumber;
|
|
1976
|
+
count: z.ZodNumber;
|
|
1977
|
+
}, z.core.$strip>>;
|
|
1978
|
+
}, z.core.$strip>>;
|
|
1979
|
+
/**
|
|
1980
|
+
* /v2/guild/:id/upgrades definition
|
|
1981
|
+
* The endpoint will return an array of numbers resolved against /v2/guild/upgrades.
|
|
1982
|
+
*/
|
|
1983
|
+
export declare const GuildUpgradesDTO: z.ZodArray<z.ZodNumber>;
|
|
1984
|
+
/**
|
|
1985
|
+
* /v2/guild/upgrades definition.
|
|
1986
|
+
*/
|
|
1987
|
+
export declare const GuildUpgradesInfoDTO: z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
1988
|
+
id: z.ZodNumber;
|
|
1989
|
+
name: z.ZodString;
|
|
1990
|
+
description: z.ZodString;
|
|
1991
|
+
icon: z.ZodString;
|
|
1992
|
+
build_time: z.ZodNumber;
|
|
1993
|
+
required_level: z.ZodNumber;
|
|
1994
|
+
experience: z.ZodNumber;
|
|
1995
|
+
prerequisites: z.ZodArray<z.ZodNumber>;
|
|
1996
|
+
costs: z.ZodArray<z.ZodDiscriminatedUnion<[
|
|
1997
|
+
z.ZodObject<{
|
|
1998
|
+
type: z.ZodLiteral<"Item">;
|
|
1999
|
+
item_id: z.ZodOptional<z.ZodNumber>;
|
|
2000
|
+
name: z.ZodString;
|
|
2001
|
+
count: z.ZodNumber;
|
|
2002
|
+
}, z.core.$strip>,
|
|
2003
|
+
z.ZodObject<{
|
|
2004
|
+
type: z.ZodLiteral<"Collectible">;
|
|
2005
|
+
item_id: z.ZodOptional<z.ZodNumber>;
|
|
2006
|
+
name: z.ZodString;
|
|
2007
|
+
count: z.ZodNumber;
|
|
2008
|
+
}, z.core.$strip>,
|
|
2009
|
+
z.ZodObject<{
|
|
2010
|
+
type: z.ZodLiteral<"Currency">;
|
|
2011
|
+
name: z.ZodString;
|
|
2012
|
+
count: z.ZodNumber;
|
|
2013
|
+
}, z.core.$strip>,
|
|
2014
|
+
z.ZodObject<{
|
|
2015
|
+
type: z.ZodLiteral<"Coins">;
|
|
2016
|
+
count: z.ZodNumber;
|
|
2017
|
+
}, z.core.$strip>
|
|
2018
|
+
]>>;
|
|
2019
|
+
}, z.core.$strip>, z.ZodDiscriminatedUnion<[
|
|
2020
|
+
z.ZodObject<{
|
|
2021
|
+
type: z.ZodLiteral<"AccumulatingCurrency">;
|
|
2022
|
+
}, z.core.$strip>,
|
|
2023
|
+
z.ZodObject<{
|
|
2024
|
+
type: z.ZodLiteral<"Boost">;
|
|
2025
|
+
}, z.core.$strip>,
|
|
2026
|
+
z.ZodObject<{
|
|
2027
|
+
type: z.ZodLiteral<"Claimable">;
|
|
2028
|
+
}, z.core.$strip>,
|
|
2029
|
+
z.ZodObject<{
|
|
2030
|
+
type: z.ZodLiteral<"Consumable">;
|
|
2031
|
+
}, z.core.$strip>,
|
|
2032
|
+
z.ZodObject<{
|
|
2033
|
+
type: z.ZodLiteral<"Decoration">;
|
|
2034
|
+
}, z.core.$strip>,
|
|
2035
|
+
z.ZodObject<{
|
|
2036
|
+
type: z.ZodLiteral<"GuildHall">;
|
|
2037
|
+
}, z.core.$strip>,
|
|
2038
|
+
z.ZodObject<{
|
|
2039
|
+
type: z.ZodLiteral<"GuildHallExpedition">;
|
|
2040
|
+
}, z.core.$strip>,
|
|
2041
|
+
z.ZodObject<{
|
|
2042
|
+
type: z.ZodLiteral<"Hub">;
|
|
2043
|
+
}, z.core.$strip>,
|
|
2044
|
+
z.ZodObject<{
|
|
2045
|
+
type: z.ZodLiteral<"Queue">;
|
|
2046
|
+
}, z.core.$strip>,
|
|
2047
|
+
z.ZodObject<{
|
|
2048
|
+
type: z.ZodLiteral<"Unlock">;
|
|
2049
|
+
}, z.core.$strip>,
|
|
2050
|
+
z.ZodObject<{
|
|
2051
|
+
type: z.ZodLiteral<"BankBag">;
|
|
2052
|
+
bag_max_items: z.ZodOptional<z.ZodNumber>;
|
|
2053
|
+
bag_max_coins: z.ZodOptional<z.ZodNumber>;
|
|
2054
|
+
}, z.core.$strip>
|
|
2055
|
+
]>>>;
|
|
2056
|
+
/**
|
|
2057
|
+
* /v2/guild/permissions definition
|
|
2058
|
+
*/
|
|
2059
|
+
export declare const GuildPermissionsDTO: z.ZodArray<z.ZodObject<{
|
|
2060
|
+
id: z.ZodString;
|
|
2061
|
+
name: z.ZodString;
|
|
2062
|
+
description: z.ZodString;
|
|
2063
|
+
}, z.core.$strip>>;
|
|
2064
|
+
/**
|
|
2065
|
+
* /v2/guild/search definition
|
|
2066
|
+
*/
|
|
2067
|
+
export declare const GuildSearchDTO: z.ZodArray<z.ZodString>;
|
|
2068
|
+
/**
|
|
2069
|
+
* /v2/home/nodes definition
|
|
2070
|
+
*/
|
|
2071
|
+
export declare const HomeNodesDTO: z.ZodArray<z.ZodObject<{
|
|
2072
|
+
id: z.ZodString;
|
|
2073
|
+
}, z.core.$strip>>;
|
|
2074
|
+
/**
|
|
2075
|
+
* /v2/home/cats definition
|
|
2076
|
+
*/
|
|
2077
|
+
export declare const HomeCatsDTO: z.ZodArray<z.ZodObject<{
|
|
2078
|
+
id: z.ZodNumber;
|
|
2079
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
2080
|
+
}, z.core.$strip>>;
|
|
2081
|
+
/**
|
|
2082
|
+
* /v2/homestead/decorations definition
|
|
2083
|
+
*/
|
|
2084
|
+
export declare const HomesteadDecorationsDTO: z.ZodArray<z.ZodObject<{
|
|
637
2085
|
id: z.ZodNumber;
|
|
638
2086
|
name: z.ZodString;
|
|
639
2087
|
description: z.ZodString;
|
|
@@ -641,11 +2089,17 @@ declare const HomesteadDecorationsDTO: z.ZodArray<z.ZodObject<{
|
|
|
641
2089
|
icon: z.ZodString;
|
|
642
2090
|
categories: z.ZodArray<z.ZodNumber>;
|
|
643
2091
|
}, z.core.$strip>>;
|
|
644
|
-
|
|
2092
|
+
/**
|
|
2093
|
+
* /v2/homestead/decorations/categories definition
|
|
2094
|
+
*/
|
|
2095
|
+
export declare const HomesteadDecorationsCategoriesDTO: z.ZodArray<z.ZodObject<{
|
|
645
2096
|
id: z.ZodNumber;
|
|
646
2097
|
name: z.ZodString;
|
|
647
2098
|
}, z.core.$strip>>;
|
|
648
|
-
|
|
2099
|
+
/**
|
|
2100
|
+
* /v2/homestead/glyphs definition
|
|
2101
|
+
*/
|
|
2102
|
+
export declare const HomesteadGlyphsDTO: z.ZodArray<z.ZodObject<{
|
|
649
2103
|
id: z.ZodString;
|
|
650
2104
|
item_id: z.ZodNumber;
|
|
651
2105
|
slot: z.ZodEnum<{
|
|
@@ -654,7 +2108,16 @@ declare const HomesteadGlyphsDTO: z.ZodArray<z.ZodObject<{
|
|
|
654
2108
|
logging: "logging";
|
|
655
2109
|
}>;
|
|
656
2110
|
}, z.core.$strip>>;
|
|
657
|
-
|
|
2111
|
+
/**
|
|
2112
|
+
* /v2/build definition
|
|
2113
|
+
*/
|
|
2114
|
+
export declare const BuildDTO: z.ZodObject<{
|
|
2115
|
+
id: z.ZodNumber;
|
|
2116
|
+
}, z.core.$strip>;
|
|
2117
|
+
/**
|
|
2118
|
+
* /v2/colors definition
|
|
2119
|
+
*/
|
|
2120
|
+
export declare const ColorsDTO: z.ZodArray<z.ZodObject<{
|
|
658
2121
|
id: z.ZodNumber;
|
|
659
2122
|
name: z.ZodString;
|
|
660
2123
|
base_rgb: z.ZodArray<z.ZodNumber>;
|
|
@@ -719,19 +2182,39 @@ declare const ColorsDTO: z.ZodArray<z.ZodObject<{
|
|
|
719
2182
|
z.ZodArray<z.ZodUndefined>
|
|
720
2183
|
]>;
|
|
721
2184
|
}, z.core.$strip>>;
|
|
722
|
-
|
|
2185
|
+
/**
|
|
2186
|
+
* /v2/emblem/* Definition
|
|
2187
|
+
*/
|
|
2188
|
+
export declare const EmblemDTO: z.ZodArray<z.ZodObject<{
|
|
2189
|
+
id: z.ZodNumber;
|
|
2190
|
+
layers: z.ZodArray<z.ZodString>;
|
|
2191
|
+
}, z.core.$strip>>;
|
|
2192
|
+
/**
|
|
2193
|
+
* /v2/emotes definition
|
|
2194
|
+
*/
|
|
2195
|
+
export declare const EmotesDTO: z.ZodArray<z.ZodObject<{
|
|
723
2196
|
id: z.ZodString;
|
|
724
2197
|
commands: z.ZodArray<z.ZodString>;
|
|
725
2198
|
unlock_items: z.ZodArray<z.ZodNumber>;
|
|
726
2199
|
}, z.core.$strip>>;
|
|
727
|
-
|
|
2200
|
+
/**
|
|
2201
|
+
* /v2/currencies definition.
|
|
2202
|
+
*/
|
|
2203
|
+
export declare const CurrenciesDTO: z.ZodArray<z.ZodObject<{
|
|
728
2204
|
id: z.ZodNumber;
|
|
729
2205
|
name: z.ZodString;
|
|
730
2206
|
description: z.ZodString;
|
|
731
2207
|
order: z.ZodNumber;
|
|
732
2208
|
icon: z.ZodString;
|
|
733
2209
|
}, z.core.$strip>>;
|
|
734
|
-
|
|
2210
|
+
/**
|
|
2211
|
+
* /v2/dailycrafting definition
|
|
2212
|
+
*/
|
|
2213
|
+
export declare const DailyCraftingDTO: z.ZodArray<z.ZodString>;
|
|
2214
|
+
/**
|
|
2215
|
+
* /v2/dungeons definition
|
|
2216
|
+
*/
|
|
2217
|
+
export declare const DungeonsDTO: z.ZodArray<z.ZodObject<{
|
|
735
2218
|
id: z.ZodString;
|
|
736
2219
|
paths: z.ZodArray<z.ZodObject<{
|
|
737
2220
|
id: z.ZodString;
|
|
@@ -741,11 +2224,17 @@ declare const DungeonsDTO: z.ZodArray<z.ZodObject<{
|
|
|
741
2224
|
}>;
|
|
742
2225
|
}, z.core.$strip>>;
|
|
743
2226
|
}, z.core.$strip>>;
|
|
744
|
-
|
|
2227
|
+
/**
|
|
2228
|
+
* /v2/files definition
|
|
2229
|
+
*/
|
|
2230
|
+
export declare const FilesDTO: z.ZodArray<z.ZodObject<{
|
|
745
2231
|
id: z.ZodString;
|
|
746
2232
|
icon: z.ZodString;
|
|
747
2233
|
}, z.core.$strip>>;
|
|
748
|
-
|
|
2234
|
+
/**
|
|
2235
|
+
* /v2/finishers definition
|
|
2236
|
+
*/
|
|
2237
|
+
export declare const FinishersDTO: z.ZodArray<z.ZodObject<{
|
|
749
2238
|
id: z.ZodNumber;
|
|
750
2239
|
unlock_details: z.ZodString;
|
|
751
2240
|
unlock_items: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
@@ -753,7 +2242,10 @@ declare const FinishersDTO: z.ZodArray<z.ZodObject<{
|
|
|
753
2242
|
icon: z.ZodString;
|
|
754
2243
|
name: z.ZodString;
|
|
755
2244
|
}, z.core.$strip>>;
|
|
756
|
-
|
|
2245
|
+
/**
|
|
2246
|
+
* /v2/gliders definition.
|
|
2247
|
+
*/
|
|
2248
|
+
export declare const GlidersDTO: z.ZodArray<z.ZodObject<{
|
|
757
2249
|
id: z.ZodNumber;
|
|
758
2250
|
unlock_items: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
759
2251
|
order: z.ZodNumber;
|
|
@@ -762,7 +2254,10 @@ declare const GlidersDTO: z.ZodArray<z.ZodObject<{
|
|
|
762
2254
|
description: z.ZodString;
|
|
763
2255
|
default_dyes: z.ZodArray<z.ZodNumber>;
|
|
764
2256
|
}, z.core.$strip>>;
|
|
765
|
-
|
|
2257
|
+
/**
|
|
2258
|
+
* /v2/items definition
|
|
2259
|
+
*/
|
|
2260
|
+
export declare const ItemsDTO: z.ZodArray<z.ZodObject<{
|
|
766
2261
|
id: z.ZodNumber;
|
|
767
2262
|
chat_link: z.ZodString;
|
|
768
2263
|
name: z.ZodString;
|
|
@@ -1198,7 +2693,10 @@ declare const ItemsDTO: z.ZodArray<z.ZodObject<{
|
|
|
1198
2693
|
}, z.core.$strip>
|
|
1199
2694
|
]>;
|
|
1200
2695
|
}, z.core.$strip>>;
|
|
1201
|
-
|
|
2696
|
+
/**
|
|
2697
|
+
* /v2/itemstats definition
|
|
2698
|
+
*/
|
|
2699
|
+
export declare const ItemStatsDTO: z.ZodArray<z.ZodObject<{
|
|
1202
2700
|
id: z.ZodNumber;
|
|
1203
2701
|
name: z.ZodString;
|
|
1204
2702
|
attributes: z.ZodArray<z.ZodObject<{
|
|
@@ -1218,13 +2716,19 @@ declare const ItemStatsDTO: z.ZodArray<z.ZodObject<{
|
|
|
1218
2716
|
value: z.ZodNumber;
|
|
1219
2717
|
}, z.core.$strip>>;
|
|
1220
2718
|
}, z.core.$strip>>;
|
|
1221
|
-
|
|
2719
|
+
/**
|
|
2720
|
+
* /v2/jadebots definition
|
|
2721
|
+
*/
|
|
2722
|
+
export declare const JadebotsDTO: z.ZodArray<z.ZodObject<{
|
|
1222
2723
|
id: z.ZodNumber;
|
|
1223
2724
|
name: z.ZodString;
|
|
1224
2725
|
description: z.ZodString;
|
|
1225
2726
|
unlock_item: z.ZodNumber;
|
|
1226
2727
|
}, z.core.$strip>>;
|
|
1227
|
-
|
|
2728
|
+
/**
|
|
2729
|
+
* /v2/legendaryarmory definition
|
|
2730
|
+
*/
|
|
2731
|
+
export declare const LegendaryArmoryDTO: z.ZodArray<z.ZodObject<{
|
|
1228
2732
|
id: z.ZodNumber;
|
|
1229
2733
|
max_count: z.ZodUnion<readonly [
|
|
1230
2734
|
z.ZodLiteral<1>,
|
|
@@ -1234,7 +2738,10 @@ declare const LegendaryArmoryDTO: z.ZodArray<z.ZodObject<{
|
|
|
1234
2738
|
z.ZodLiteral<8>
|
|
1235
2739
|
]>;
|
|
1236
2740
|
}, z.core.$strip>>;
|
|
1237
|
-
|
|
2741
|
+
/**
|
|
2742
|
+
* /v2/legends definition.
|
|
2743
|
+
*/
|
|
2744
|
+
export declare const LegendsDTO: z.ZodArray<z.ZodObject<{
|
|
1238
2745
|
id: z.ZodString;
|
|
1239
2746
|
code: z.ZodOptional<z.ZodNumber>;
|
|
1240
2747
|
swap: z.ZodNumber;
|
|
@@ -1242,7 +2749,10 @@ declare const LegendsDTO: z.ZodArray<z.ZodObject<{
|
|
|
1242
2749
|
elite: z.ZodNumber;
|
|
1243
2750
|
utilities: z.ZodArray<z.ZodNumber>;
|
|
1244
2751
|
}, z.core.$strip>>;
|
|
1245
|
-
|
|
2752
|
+
/**
|
|
2753
|
+
* /v2/mailcarriers definition.
|
|
2754
|
+
*/
|
|
2755
|
+
export declare const MailCarriersDTO: z.ZodArray<z.ZodObject<{
|
|
1246
2756
|
id: z.ZodNumber;
|
|
1247
2757
|
unlock_items: z.ZodArray<z.ZodNumber>;
|
|
1248
2758
|
order: z.ZodNumber;
|
|
@@ -1250,7 +2760,14 @@ declare const MailCarriersDTO: z.ZodArray<z.ZodObject<{
|
|
|
1250
2760
|
name: z.ZodString;
|
|
1251
2761
|
flags: z.ZodArray<z.ZodString>;
|
|
1252
2762
|
}, z.core.$strip>>;
|
|
1253
|
-
|
|
2763
|
+
/**
|
|
2764
|
+
* /v2/mapchests definition.
|
|
2765
|
+
*/
|
|
2766
|
+
export declare const MapChestsDTO: z.ZodArray<z.ZodString>;
|
|
2767
|
+
/**
|
|
2768
|
+
* /v2/maps definition
|
|
2769
|
+
*/
|
|
2770
|
+
export declare const MapsDTO: z.ZodArray<z.ZodObject<{
|
|
1254
2771
|
id: z.ZodNumber;
|
|
1255
2772
|
name: z.ZodString;
|
|
1256
2773
|
min_level: z.ZodNumber;
|
|
@@ -1277,13 +2794,19 @@ declare const MapsDTO: z.ZodArray<z.ZodObject<{
|
|
|
1277
2794
|
map_rect: z.ZodArray<z.ZodArray<z.ZodNumber>>;
|
|
1278
2795
|
continent_rect: z.ZodArray<z.ZodArray<z.ZodNumber>>;
|
|
1279
2796
|
}, z.core.$strip>>;
|
|
1280
|
-
|
|
2797
|
+
/**
|
|
2798
|
+
* /v2/materials definition.
|
|
2799
|
+
*/
|
|
2800
|
+
export declare const MaterialsDTO: z.ZodArray<z.ZodObject<{
|
|
1281
2801
|
id: z.ZodNumber;
|
|
1282
2802
|
name: z.ZodString;
|
|
1283
2803
|
items: z.ZodArray<z.ZodNumber>;
|
|
1284
2804
|
order: z.ZodNumber;
|
|
1285
2805
|
}, z.core.$strip>>;
|
|
1286
|
-
|
|
2806
|
+
/**
|
|
2807
|
+
* /v2/masteries definition.
|
|
2808
|
+
*/
|
|
2809
|
+
export declare const MasteriesDTO: z.ZodArray<z.ZodObject<{
|
|
1287
2810
|
id: z.ZodNumber;
|
|
1288
2811
|
name: z.ZodString;
|
|
1289
2812
|
requirement: z.ZodString;
|
|
@@ -1299,7 +2822,10 @@ declare const MasteriesDTO: z.ZodArray<z.ZodObject<{
|
|
|
1299
2822
|
exp_cost: z.ZodNumber;
|
|
1300
2823
|
}, z.core.$strip>>;
|
|
1301
2824
|
}, z.core.$strip>>;
|
|
1302
|
-
|
|
2825
|
+
/**
|
|
2826
|
+
* /v2/minis definition.
|
|
2827
|
+
*/
|
|
2828
|
+
export declare const MinisDTO: z.ZodArray<z.ZodObject<{
|
|
1303
2829
|
id: z.ZodNumber;
|
|
1304
2830
|
name: z.ZodString;
|
|
1305
2831
|
unlock: z.ZodOptional<z.ZodString>;
|
|
@@ -1307,7 +2833,10 @@ declare const MinisDTO: z.ZodArray<z.ZodObject<{
|
|
|
1307
2833
|
order: z.ZodNumber;
|
|
1308
2834
|
item_id: z.ZodNumber;
|
|
1309
2835
|
}, z.core.$strip>>;
|
|
1310
|
-
|
|
2836
|
+
/**
|
|
2837
|
+
* /v2/novelties definition
|
|
2838
|
+
*/
|
|
2839
|
+
export declare const NoveltiesDTO: z.ZodArray<z.ZodObject<{
|
|
1311
2840
|
id: z.ZodNumber;
|
|
1312
2841
|
name: z.ZodString;
|
|
1313
2842
|
description: z.ZodString;
|
|
@@ -1321,13 +2850,19 @@ declare const NoveltiesDTO: z.ZodArray<z.ZodObject<{
|
|
|
1321
2850
|
}>;
|
|
1322
2851
|
unlock_item: z.ZodArray<z.ZodNumber>;
|
|
1323
2852
|
}, z.core.$strip>>;
|
|
1324
|
-
|
|
2853
|
+
/**
|
|
2854
|
+
* /v2/outfits definition.
|
|
2855
|
+
*/
|
|
2856
|
+
export declare const OutfitsDTO: z.ZodArray<z.ZodObject<{
|
|
1325
2857
|
id: z.ZodNumber;
|
|
1326
2858
|
name: z.ZodString;
|
|
1327
2859
|
icon: z.ZodString;
|
|
1328
2860
|
unlock_items: z.ZodArray<z.ZodNumber>;
|
|
1329
2861
|
}, z.core.$strip>>;
|
|
1330
|
-
|
|
2862
|
+
/**
|
|
2863
|
+
* /v2/pets definition
|
|
2864
|
+
*/
|
|
2865
|
+
export declare const PetsDTO: z.ZodArray<z.ZodObject<{
|
|
1331
2866
|
id: z.ZodNumber;
|
|
1332
2867
|
name: z.ZodString;
|
|
1333
2868
|
description: z.ZodString;
|
|
@@ -1336,7 +2871,10 @@ declare const PetsDTO: z.ZodArray<z.ZodObject<{
|
|
|
1336
2871
|
id: z.ZodNumber;
|
|
1337
2872
|
}, z.core.$strip>>;
|
|
1338
2873
|
}, z.core.$strip>>;
|
|
1339
|
-
|
|
2874
|
+
/**
|
|
2875
|
+
* /v2/professions definition
|
|
2876
|
+
*/
|
|
2877
|
+
export declare const ProfessionsDTO: z.ZodArray<z.ZodObject<{
|
|
1340
2878
|
id: z.ZodString;
|
|
1341
2879
|
name: z.ZodString;
|
|
1342
2880
|
code: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1426,11 +2964,17 @@ declare const ProfessionsDTO: z.ZodArray<z.ZodObject<{
|
|
|
1426
2964
|
}, z.core.$strip>>;
|
|
1427
2965
|
skills_by_palette: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1428
2966
|
}, z.core.$strip>>;
|
|
1429
|
-
|
|
2967
|
+
/**
|
|
2968
|
+
* /v2/quaggans definition
|
|
2969
|
+
*/
|
|
2970
|
+
export declare const QuaggansDTO: z.ZodArray<z.ZodObject<{
|
|
1430
2971
|
id: z.ZodString;
|
|
1431
2972
|
url: z.ZodString;
|
|
1432
2973
|
}, z.core.$strip>>;
|
|
1433
|
-
|
|
2974
|
+
/**
|
|
2975
|
+
* /v2/quests definition.
|
|
2976
|
+
*/
|
|
2977
|
+
export declare const QuestsDTO: z.ZodArray<z.ZodObject<{
|
|
1434
2978
|
id: z.ZodNumber;
|
|
1435
2979
|
name: z.ZodString;
|
|
1436
2980
|
level: z.ZodNumber;
|
|
@@ -1440,11 +2984,17 @@ declare const QuestsDTO: z.ZodArray<z.ZodObject<{
|
|
|
1440
2984
|
complete: z.ZodString;
|
|
1441
2985
|
}, z.core.$strip>>;
|
|
1442
2986
|
}, z.core.$strip>>;
|
|
1443
|
-
|
|
2987
|
+
/**
|
|
2988
|
+
* /v2/races definition
|
|
2989
|
+
*/
|
|
2990
|
+
export declare const RacesDTO: z.ZodArray<z.ZodObject<{
|
|
1444
2991
|
id: z.ZodString;
|
|
1445
2992
|
skills: z.ZodArray<z.ZodNumber>;
|
|
1446
2993
|
}, z.core.$strip>>;
|
|
1447
|
-
|
|
2994
|
+
/**
|
|
2995
|
+
* /v2/raids definition
|
|
2996
|
+
*/
|
|
2997
|
+
export declare const RaidsDTO: z.ZodArray<z.ZodObject<{
|
|
1448
2998
|
id: z.ZodString;
|
|
1449
2999
|
wings: z.ZodArray<z.ZodObject<{
|
|
1450
3000
|
id: z.ZodString;
|
|
@@ -1457,7 +3007,10 @@ declare const RaidsDTO: z.ZodArray<z.ZodObject<{
|
|
|
1457
3007
|
}, z.core.$strip>>;
|
|
1458
3008
|
}, z.core.$strip>>;
|
|
1459
3009
|
}, z.core.$strip>>;
|
|
1460
|
-
|
|
3010
|
+
/**
|
|
3011
|
+
* /v2/recipes definition
|
|
3012
|
+
*/
|
|
3013
|
+
export declare const RecipesDTO: z.ZodArray<z.ZodObject<{
|
|
1461
3014
|
id: z.ZodNumber;
|
|
1462
3015
|
type: z.ZodUnion<readonly [
|
|
1463
3016
|
z.ZodEnum<{
|
|
@@ -1545,40 +3098,425 @@ declare const RecipesDTO: z.ZodArray<z.ZodObject<{
|
|
|
1545
3098
|
Tailor: "Tailor";
|
|
1546
3099
|
Weaponsmith: "Weaponsmith";
|
|
1547
3100
|
}>>;
|
|
1548
|
-
min_rating: z.ZodNumber;
|
|
3101
|
+
min_rating: z.ZodNumber;
|
|
3102
|
+
flags: z.ZodArray<z.ZodEnum<{
|
|
3103
|
+
AutoLearned: "AutoLearned";
|
|
3104
|
+
LearnedFromItem: "LearnedFromItem";
|
|
3105
|
+
}>>;
|
|
3106
|
+
ingredients: z.ZodArray<z.ZodObject<{
|
|
3107
|
+
type: z.ZodEnum<{
|
|
3108
|
+
Item: "Item";
|
|
3109
|
+
Currency: "Currency";
|
|
3110
|
+
}>;
|
|
3111
|
+
id: z.ZodNumber;
|
|
3112
|
+
count: z.ZodNumber;
|
|
3113
|
+
}, z.core.$strip>>;
|
|
3114
|
+
guild_ingredients: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3115
|
+
upgrade_id: z.ZodNumber;
|
|
3116
|
+
count: z.ZodNumber;
|
|
3117
|
+
}, z.core.$strip>>>;
|
|
3118
|
+
output_upgrade_id: z.ZodOptional<z.ZodNumber>;
|
|
3119
|
+
chat_link: z.ZodString;
|
|
3120
|
+
}, z.core.$strip>>;
|
|
3121
|
+
/**
|
|
3122
|
+
* /v2/skiffs definition
|
|
3123
|
+
*/
|
|
3124
|
+
export declare const SkiffsDTO: z.ZodArray<z.ZodObject<{
|
|
3125
|
+
id: z.ZodNumber;
|
|
3126
|
+
name: z.ZodString;
|
|
3127
|
+
icon: z.ZodString;
|
|
3128
|
+
dye_slots: z.ZodArray<z.ZodObject<{
|
|
3129
|
+
color_id: z.ZodNumber;
|
|
3130
|
+
material: z.ZodEnum<{
|
|
3131
|
+
cloth: "cloth";
|
|
3132
|
+
leather: "leather";
|
|
3133
|
+
metal: "metal";
|
|
3134
|
+
}>;
|
|
3135
|
+
}, z.core.$strip>>;
|
|
3136
|
+
}, z.core.$strip>>;
|
|
3137
|
+
export declare const AttributeAdjust: z.ZodObject<{
|
|
3138
|
+
type: z.ZodLiteral<"AttributeAdjust">;
|
|
3139
|
+
value: z.ZodNumber;
|
|
3140
|
+
target: z.ZodString;
|
|
3141
|
+
}, z.core.$strip>;
|
|
3142
|
+
export declare const Buff: z.ZodObject<{
|
|
3143
|
+
type: z.ZodLiteral<"Buff">;
|
|
3144
|
+
status: z.ZodString;
|
|
3145
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3146
|
+
apply_count: z.ZodOptional<z.ZodNumber>;
|
|
3147
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
3148
|
+
}, z.core.$strip>;
|
|
3149
|
+
export declare const ComboField: z.ZodObject<{
|
|
3150
|
+
type: z.ZodLiteral<"ComboField">;
|
|
3151
|
+
field_type: z.ZodEnum<{
|
|
3152
|
+
Light: "Light";
|
|
3153
|
+
Fire: "Fire";
|
|
3154
|
+
Ice: "Ice";
|
|
3155
|
+
Lightning: "Lightning";
|
|
3156
|
+
Air: "Air";
|
|
3157
|
+
Dark: "Dark";
|
|
3158
|
+
Poison: "Poison";
|
|
3159
|
+
Smoke: "Smoke";
|
|
3160
|
+
Ethereal: "Ethereal";
|
|
3161
|
+
Water: "Water";
|
|
3162
|
+
}>;
|
|
3163
|
+
}, z.core.$strip>;
|
|
3164
|
+
export declare const Finisher: z.ZodObject<{
|
|
3165
|
+
type: z.ZodLiteral<"ComboFinisher">;
|
|
3166
|
+
finisher_type: z.ZodEnum<{
|
|
3167
|
+
Blast: "Blast";
|
|
3168
|
+
Leap: "Leap";
|
|
3169
|
+
Projectile: "Projectile";
|
|
3170
|
+
Whirl: "Whirl";
|
|
3171
|
+
}>;
|
|
3172
|
+
percent: z.ZodNumber;
|
|
3173
|
+
}, z.core.$strip>;
|
|
3174
|
+
export declare const Damage: z.ZodObject<{
|
|
3175
|
+
type: z.ZodLiteral<"Damage">;
|
|
3176
|
+
hit_count: z.ZodNumber;
|
|
3177
|
+
dmg_multiplier: z.ZodNumber;
|
|
3178
|
+
}, z.core.$strip>;
|
|
3179
|
+
export declare const Distance: z.ZodObject<{
|
|
3180
|
+
type: z.ZodLiteral<"Distance">;
|
|
3181
|
+
distance: z.ZodNumber;
|
|
3182
|
+
}, z.core.$strip>;
|
|
3183
|
+
export declare const NoData: z.ZodObject<{
|
|
3184
|
+
type: z.ZodLiteral<"NoData">;
|
|
3185
|
+
}, z.core.$strip>;
|
|
3186
|
+
export declare const NumberType: z.ZodObject<{
|
|
3187
|
+
type: z.ZodLiteral<"Number">;
|
|
3188
|
+
value: z.ZodNumber;
|
|
3189
|
+
}, z.core.$strip>;
|
|
3190
|
+
export declare const Percent: z.ZodObject<{
|
|
3191
|
+
type: z.ZodLiteral<"Percent">;
|
|
3192
|
+
percent: z.ZodNumber;
|
|
3193
|
+
}, z.core.$strip>;
|
|
3194
|
+
export declare const PrefixedBuff: z.ZodObject<{
|
|
3195
|
+
type: z.ZodLiteral<"PrefixedBuff">;
|
|
3196
|
+
status: z.ZodOptional<z.ZodString>;
|
|
3197
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3198
|
+
apply_count: z.ZodNumber;
|
|
3199
|
+
duration: z.ZodNumber;
|
|
3200
|
+
prefix: z.ZodObject<{
|
|
3201
|
+
text: z.ZodString;
|
|
3202
|
+
icon: z.ZodString;
|
|
3203
|
+
status: z.ZodOptional<z.ZodString>;
|
|
3204
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3205
|
+
}, z.core.$strip>;
|
|
3206
|
+
}, z.core.$strip>;
|
|
3207
|
+
export declare const Radius: z.ZodObject<{
|
|
3208
|
+
type: z.ZodLiteral<"Radius">;
|
|
3209
|
+
distance: z.ZodNumber;
|
|
3210
|
+
}, z.core.$strip>;
|
|
3211
|
+
declare const Range$1: z.ZodObject<{
|
|
3212
|
+
type: z.ZodLiteral<"Range">;
|
|
3213
|
+
value: z.ZodNumber;
|
|
3214
|
+
}, z.core.$strip>;
|
|
3215
|
+
export declare const Recharge: z.ZodObject<{
|
|
3216
|
+
type: z.ZodLiteral<"Recharge">;
|
|
3217
|
+
value: z.ZodNumber;
|
|
3218
|
+
}, z.core.$strip>;
|
|
3219
|
+
export declare const StunBreak: z.ZodObject<{
|
|
3220
|
+
type: z.ZodLiteral<"StunBreak">;
|
|
3221
|
+
value: z.ZodLiteral<true>;
|
|
3222
|
+
}, z.core.$strip>;
|
|
3223
|
+
export declare const Time: z.ZodObject<{
|
|
3224
|
+
type: z.ZodLiteral<"Time">;
|
|
3225
|
+
duration: z.ZodNumber;
|
|
3226
|
+
}, z.core.$strip>;
|
|
3227
|
+
export declare const Unblockable: z.ZodObject<{
|
|
3228
|
+
type: z.ZodLiteral<"Unblockable">;
|
|
3229
|
+
value: z.ZodLiteral<true>;
|
|
3230
|
+
}, z.core.$strip>;
|
|
3231
|
+
/**
|
|
3232
|
+
* /v2/skills definition
|
|
3233
|
+
*
|
|
3234
|
+
* NOTE: This is mess, and there are a ton of optional fields.
|
|
3235
|
+
* A lot of optional types are impossible to define conditionally.
|
|
3236
|
+
* You're on your own.
|
|
3237
|
+
* Refer to this page for details: https://wiki.guildwars2.com/wiki/API:2/skills
|
|
3238
|
+
*/
|
|
3239
|
+
export declare const SkillsDTO: z.ZodArray<z.ZodObject<{
|
|
3240
|
+
id: z.ZodNumber;
|
|
3241
|
+
name: z.ZodString;
|
|
3242
|
+
description: z.ZodString;
|
|
3243
|
+
icon: z.ZodString;
|
|
3244
|
+
chat_link: z.ZodString;
|
|
3245
|
+
type: z.ZodEnum<{
|
|
3246
|
+
Weapon: "Weapon";
|
|
3247
|
+
Utility: "Utility";
|
|
3248
|
+
Heal: "Heal";
|
|
3249
|
+
Elite: "Elite";
|
|
3250
|
+
Profession: "Profession";
|
|
3251
|
+
Bundle: "Bundle";
|
|
3252
|
+
Monster: "Monster";
|
|
3253
|
+
Pet: "Pet";
|
|
3254
|
+
Toolbelt: "Toolbelt";
|
|
3255
|
+
Transform: "Transform";
|
|
3256
|
+
}>;
|
|
3257
|
+
weapon_type: z.ZodUnion<[
|
|
3258
|
+
z.ZodString,
|
|
3259
|
+
z.ZodLiteral<"None">
|
|
3260
|
+
]>;
|
|
3261
|
+
professions: z.ZodArray<z.ZodString>;
|
|
3262
|
+
slot: z.ZodUnion<readonly [
|
|
3263
|
+
z.ZodCustom<`Downed_${number}`, `Downed_${number}`>,
|
|
3264
|
+
z.ZodCustom<`Profession_${number}`, `Profession_${number}`>,
|
|
3265
|
+
z.ZodCustom<`Weapon_${number}`, `Weapon_${number}`>,
|
|
3266
|
+
z.ZodLiteral<"Elite">,
|
|
3267
|
+
z.ZodLiteral<"Pet">,
|
|
3268
|
+
z.ZodLiteral<"Utility">
|
|
3269
|
+
]>;
|
|
3270
|
+
facts: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
3271
|
+
text: z.ZodString;
|
|
3272
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
3273
|
+
}, z.core.$strip>, z.ZodDiscriminatedUnion<[
|
|
3274
|
+
z.ZodObject<{
|
|
3275
|
+
type: z.ZodLiteral<"AttributeAdjust">;
|
|
3276
|
+
value: z.ZodNumber;
|
|
3277
|
+
target: z.ZodString;
|
|
3278
|
+
}, z.core.$strip>,
|
|
3279
|
+
z.ZodObject<{
|
|
3280
|
+
type: z.ZodLiteral<"Buff">;
|
|
3281
|
+
status: z.ZodString;
|
|
3282
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3283
|
+
apply_count: z.ZodOptional<z.ZodNumber>;
|
|
3284
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
3285
|
+
}, z.core.$strip>,
|
|
3286
|
+
z.ZodObject<{
|
|
3287
|
+
type: z.ZodLiteral<"ComboField">;
|
|
3288
|
+
field_type: z.ZodEnum<{
|
|
3289
|
+
Light: "Light";
|
|
3290
|
+
Fire: "Fire";
|
|
3291
|
+
Ice: "Ice";
|
|
3292
|
+
Lightning: "Lightning";
|
|
3293
|
+
Air: "Air";
|
|
3294
|
+
Dark: "Dark";
|
|
3295
|
+
Poison: "Poison";
|
|
3296
|
+
Smoke: "Smoke";
|
|
3297
|
+
Ethereal: "Ethereal";
|
|
3298
|
+
Water: "Water";
|
|
3299
|
+
}>;
|
|
3300
|
+
}, z.core.$strip>,
|
|
3301
|
+
z.ZodObject<{
|
|
3302
|
+
type: z.ZodLiteral<"ComboFinisher">;
|
|
3303
|
+
finisher_type: z.ZodEnum<{
|
|
3304
|
+
Blast: "Blast";
|
|
3305
|
+
Leap: "Leap";
|
|
3306
|
+
Projectile: "Projectile";
|
|
3307
|
+
Whirl: "Whirl";
|
|
3308
|
+
}>;
|
|
3309
|
+
percent: z.ZodNumber;
|
|
3310
|
+
}, z.core.$strip>,
|
|
3311
|
+
z.ZodObject<{
|
|
3312
|
+
type: z.ZodLiteral<"Damage">;
|
|
3313
|
+
hit_count: z.ZodNumber;
|
|
3314
|
+
dmg_multiplier: z.ZodNumber;
|
|
3315
|
+
}, z.core.$strip>,
|
|
3316
|
+
z.ZodObject<{
|
|
3317
|
+
type: z.ZodLiteral<"Distance">;
|
|
3318
|
+
distance: z.ZodNumber;
|
|
3319
|
+
}, z.core.$strip>,
|
|
3320
|
+
z.ZodObject<{
|
|
3321
|
+
type: z.ZodLiteral<"Duration">;
|
|
3322
|
+
duration: z.ZodNumber;
|
|
3323
|
+
}, z.core.$strip>,
|
|
3324
|
+
z.ZodObject<{
|
|
3325
|
+
type: z.ZodLiteral<"Heal">;
|
|
3326
|
+
hit_count: z.ZodNumber;
|
|
3327
|
+
}, z.core.$strip>,
|
|
3328
|
+
z.ZodObject<{
|
|
3329
|
+
type: z.ZodLiteral<"HealingAdjust">;
|
|
3330
|
+
hit_count: z.ZodNumber;
|
|
3331
|
+
}, z.core.$strip>,
|
|
3332
|
+
z.ZodObject<{
|
|
3333
|
+
type: z.ZodLiteral<"NoData">;
|
|
3334
|
+
}, z.core.$strip>,
|
|
3335
|
+
z.ZodObject<{
|
|
3336
|
+
type: z.ZodLiteral<"Number">;
|
|
3337
|
+
value: z.ZodNumber;
|
|
3338
|
+
}, z.core.$strip>,
|
|
3339
|
+
z.ZodObject<{
|
|
3340
|
+
type: z.ZodLiteral<"Percent">;
|
|
3341
|
+
percent: z.ZodNumber;
|
|
3342
|
+
}, z.core.$strip>,
|
|
3343
|
+
z.ZodObject<{
|
|
3344
|
+
type: z.ZodLiteral<"PrefixedBuff">;
|
|
3345
|
+
status: z.ZodOptional<z.ZodString>;
|
|
3346
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3347
|
+
apply_count: z.ZodNumber;
|
|
3348
|
+
duration: z.ZodNumber;
|
|
3349
|
+
prefix: z.ZodObject<{
|
|
3350
|
+
text: z.ZodString;
|
|
3351
|
+
icon: z.ZodString;
|
|
3352
|
+
status: z.ZodOptional<z.ZodString>;
|
|
3353
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3354
|
+
}, z.core.$strip>;
|
|
3355
|
+
}, z.core.$strip>,
|
|
3356
|
+
z.ZodObject<{
|
|
3357
|
+
type: z.ZodLiteral<"Radius">;
|
|
3358
|
+
distance: z.ZodNumber;
|
|
3359
|
+
}, z.core.$strip>,
|
|
3360
|
+
z.ZodObject<{
|
|
3361
|
+
type: z.ZodLiteral<"Range">;
|
|
3362
|
+
value: z.ZodNumber;
|
|
3363
|
+
}, z.core.$strip>,
|
|
3364
|
+
z.ZodObject<{
|
|
3365
|
+
type: z.ZodLiteral<"Recharge">;
|
|
3366
|
+
value: z.ZodNumber;
|
|
3367
|
+
}, z.core.$strip>,
|
|
3368
|
+
z.ZodObject<{
|
|
3369
|
+
type: z.ZodLiteral<"StunBreak">;
|
|
3370
|
+
value: z.ZodLiteral<true>;
|
|
3371
|
+
}, z.core.$strip>,
|
|
3372
|
+
z.ZodObject<{
|
|
3373
|
+
type: z.ZodLiteral<"Time">;
|
|
3374
|
+
duration: z.ZodNumber;
|
|
3375
|
+
}, z.core.$strip>,
|
|
3376
|
+
z.ZodObject<{
|
|
3377
|
+
type: z.ZodLiteral<"Unblockable">;
|
|
3378
|
+
value: z.ZodLiteral<true>;
|
|
3379
|
+
}, z.core.$strip>
|
|
3380
|
+
]>>>>;
|
|
3381
|
+
traited_facts: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
3382
|
+
text: z.ZodString;
|
|
3383
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
3384
|
+
}, z.core.$strip>, z.ZodDiscriminatedUnion<[
|
|
3385
|
+
z.ZodObject<{
|
|
3386
|
+
type: z.ZodLiteral<"AttributeAdjust">;
|
|
3387
|
+
value: z.ZodNumber;
|
|
3388
|
+
target: z.ZodString;
|
|
3389
|
+
}, z.core.$strip>,
|
|
3390
|
+
z.ZodObject<{
|
|
3391
|
+
type: z.ZodLiteral<"Buff">;
|
|
3392
|
+
status: z.ZodString;
|
|
3393
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3394
|
+
apply_count: z.ZodOptional<z.ZodNumber>;
|
|
3395
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
3396
|
+
}, z.core.$strip>,
|
|
3397
|
+
z.ZodObject<{
|
|
3398
|
+
type: z.ZodLiteral<"ComboField">;
|
|
3399
|
+
field_type: z.ZodEnum<{
|
|
3400
|
+
Light: "Light";
|
|
3401
|
+
Fire: "Fire";
|
|
3402
|
+
Ice: "Ice";
|
|
3403
|
+
Lightning: "Lightning";
|
|
3404
|
+
Air: "Air";
|
|
3405
|
+
Dark: "Dark";
|
|
3406
|
+
Poison: "Poison";
|
|
3407
|
+
Smoke: "Smoke";
|
|
3408
|
+
Ethereal: "Ethereal";
|
|
3409
|
+
Water: "Water";
|
|
3410
|
+
}>;
|
|
3411
|
+
}, z.core.$strip>,
|
|
3412
|
+
z.ZodObject<{
|
|
3413
|
+
type: z.ZodLiteral<"ComboFinisher">;
|
|
3414
|
+
finisher_type: z.ZodEnum<{
|
|
3415
|
+
Blast: "Blast";
|
|
3416
|
+
Leap: "Leap";
|
|
3417
|
+
Projectile: "Projectile";
|
|
3418
|
+
Whirl: "Whirl";
|
|
3419
|
+
}>;
|
|
3420
|
+
percent: z.ZodNumber;
|
|
3421
|
+
}, z.core.$strip>,
|
|
3422
|
+
z.ZodObject<{
|
|
3423
|
+
type: z.ZodLiteral<"Damage">;
|
|
3424
|
+
hit_count: z.ZodNumber;
|
|
3425
|
+
dmg_multiplier: z.ZodNumber;
|
|
3426
|
+
}, z.core.$strip>,
|
|
3427
|
+
z.ZodObject<{
|
|
3428
|
+
type: z.ZodLiteral<"Distance">;
|
|
3429
|
+
distance: z.ZodNumber;
|
|
3430
|
+
}, z.core.$strip>,
|
|
3431
|
+
z.ZodObject<{
|
|
3432
|
+
type: z.ZodLiteral<"Duration">;
|
|
3433
|
+
duration: z.ZodNumber;
|
|
3434
|
+
}, z.core.$strip>,
|
|
3435
|
+
z.ZodObject<{
|
|
3436
|
+
type: z.ZodLiteral<"Heal">;
|
|
3437
|
+
hit_count: z.ZodNumber;
|
|
3438
|
+
}, z.core.$strip>,
|
|
3439
|
+
z.ZodObject<{
|
|
3440
|
+
type: z.ZodLiteral<"HealingAdjust">;
|
|
3441
|
+
hit_count: z.ZodNumber;
|
|
3442
|
+
}, z.core.$strip>,
|
|
3443
|
+
z.ZodObject<{
|
|
3444
|
+
type: z.ZodLiteral<"NoData">;
|
|
3445
|
+
}, z.core.$strip>,
|
|
3446
|
+
z.ZodObject<{
|
|
3447
|
+
type: z.ZodLiteral<"Number">;
|
|
3448
|
+
value: z.ZodNumber;
|
|
3449
|
+
}, z.core.$strip>,
|
|
3450
|
+
z.ZodObject<{
|
|
3451
|
+
type: z.ZodLiteral<"Percent">;
|
|
3452
|
+
percent: z.ZodNumber;
|
|
3453
|
+
}, z.core.$strip>,
|
|
3454
|
+
z.ZodObject<{
|
|
3455
|
+
type: z.ZodLiteral<"PrefixedBuff">;
|
|
3456
|
+
status: z.ZodOptional<z.ZodString>;
|
|
3457
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3458
|
+
apply_count: z.ZodNumber;
|
|
3459
|
+
duration: z.ZodNumber;
|
|
3460
|
+
prefix: z.ZodObject<{
|
|
3461
|
+
text: z.ZodString;
|
|
3462
|
+
icon: z.ZodString;
|
|
3463
|
+
status: z.ZodOptional<z.ZodString>;
|
|
3464
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3465
|
+
}, z.core.$strip>;
|
|
3466
|
+
}, z.core.$strip>,
|
|
3467
|
+
z.ZodObject<{
|
|
3468
|
+
type: z.ZodLiteral<"Radius">;
|
|
3469
|
+
distance: z.ZodNumber;
|
|
3470
|
+
}, z.core.$strip>,
|
|
3471
|
+
z.ZodObject<{
|
|
3472
|
+
type: z.ZodLiteral<"Range">;
|
|
3473
|
+
value: z.ZodNumber;
|
|
3474
|
+
}, z.core.$strip>,
|
|
3475
|
+
z.ZodObject<{
|
|
3476
|
+
type: z.ZodLiteral<"Recharge">;
|
|
3477
|
+
value: z.ZodNumber;
|
|
3478
|
+
}, z.core.$strip>,
|
|
3479
|
+
z.ZodObject<{
|
|
3480
|
+
type: z.ZodLiteral<"StunBreak">;
|
|
3481
|
+
value: z.ZodLiteral<true>;
|
|
3482
|
+
}, z.core.$strip>,
|
|
3483
|
+
z.ZodObject<{
|
|
3484
|
+
type: z.ZodLiteral<"Time">;
|
|
3485
|
+
duration: z.ZodNumber;
|
|
3486
|
+
}, z.core.$strip>,
|
|
3487
|
+
z.ZodObject<{
|
|
3488
|
+
type: z.ZodLiteral<"Unblockable">;
|
|
3489
|
+
value: z.ZodLiteral<true>;
|
|
3490
|
+
}, z.core.$strip>
|
|
3491
|
+
]>>, z.ZodObject<{
|
|
3492
|
+
requires_trait: z.ZodNumber;
|
|
3493
|
+
overrides: z.ZodOptional<z.ZodNumber>;
|
|
3494
|
+
}, z.core.$strip>>>>;
|
|
3495
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3496
|
+
attunement: z.ZodOptional<z.ZodEnum<{
|
|
3497
|
+
Fire: "Fire";
|
|
3498
|
+
Air: "Air";
|
|
3499
|
+
Water: "Water";
|
|
3500
|
+
Earth: "Earth";
|
|
3501
|
+
}>>;
|
|
3502
|
+
cost: z.ZodOptional<z.ZodNumber>;
|
|
3503
|
+
dual_wield: z.ZodOptional<z.ZodString>;
|
|
3504
|
+
flip_skill: z.ZodOptional<z.ZodNumber>;
|
|
3505
|
+
initiative: z.ZodOptional<z.ZodNumber>;
|
|
3506
|
+
next_chain: z.ZodOptional<z.ZodNumber>;
|
|
3507
|
+
prev_chain: z.ZodOptional<z.ZodNumber>;
|
|
3508
|
+
transform_skills: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
3509
|
+
bundle_skills: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
3510
|
+
toolbelt_skill: z.ZodOptional<z.ZodNumber>;
|
|
1549
3511
|
flags: z.ZodArray<z.ZodEnum<{
|
|
1550
|
-
|
|
1551
|
-
|
|
3512
|
+
NoUnderwater: "NoUnderwater";
|
|
3513
|
+
GroundTargeted: "GroundTargeted";
|
|
1552
3514
|
}>>;
|
|
1553
|
-
ingredients: z.ZodArray<z.ZodObject<{
|
|
1554
|
-
type: z.ZodEnum<{
|
|
1555
|
-
Item: "Item";
|
|
1556
|
-
Currency: "Currency";
|
|
1557
|
-
}>;
|
|
1558
|
-
id: z.ZodNumber;
|
|
1559
|
-
count: z.ZodNumber;
|
|
1560
|
-
}, z.core.$strip>>;
|
|
1561
|
-
guild_ingredients: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1562
|
-
upgrade_id: z.ZodNumber;
|
|
1563
|
-
count: z.ZodNumber;
|
|
1564
|
-
}, z.core.$strip>>>;
|
|
1565
|
-
output_upgrade_id: z.ZodOptional<z.ZodNumber>;
|
|
1566
|
-
chat_link: z.ZodString;
|
|
1567
|
-
}, z.core.$strip>>;
|
|
1568
|
-
declare const SkiffsDTO: z.ZodArray<z.ZodObject<{
|
|
1569
|
-
id: z.ZodNumber;
|
|
1570
|
-
name: z.ZodString;
|
|
1571
|
-
icon: z.ZodString;
|
|
1572
|
-
dye_slots: z.ZodArray<z.ZodObject<{
|
|
1573
|
-
color_id: z.ZodNumber;
|
|
1574
|
-
material: z.ZodEnum<{
|
|
1575
|
-
cloth: "cloth";
|
|
1576
|
-
leather: "leather";
|
|
1577
|
-
metal: "metal";
|
|
1578
|
-
}>;
|
|
1579
|
-
}, z.core.$strip>>;
|
|
1580
3515
|
}, z.core.$strip>>;
|
|
1581
|
-
|
|
3516
|
+
/**
|
|
3517
|
+
* /v2/skins definition
|
|
3518
|
+
*/
|
|
3519
|
+
export declare const SkinsDTO: z.ZodArray<z.ZodObject<{
|
|
1582
3520
|
id: z.ZodNumber;
|
|
1583
3521
|
name: z.ZodString;
|
|
1584
3522
|
type: z.ZodString;
|
|
@@ -1653,7 +3591,10 @@ declare const SkinsDTO: z.ZodArray<z.ZodObject<{
|
|
|
1653
3591
|
}, z.core.$strip>
|
|
1654
3592
|
]>>;
|
|
1655
3593
|
}, z.core.$strip>>;
|
|
1656
|
-
|
|
3594
|
+
/**
|
|
3595
|
+
* /v2/specializations definition
|
|
3596
|
+
*/
|
|
3597
|
+
export declare const SpecializationsDTO: z.ZodArray<z.ZodObject<{
|
|
1657
3598
|
id: z.ZodNumber;
|
|
1658
3599
|
name: z.ZodString;
|
|
1659
3600
|
profession: z.ZodString;
|
|
@@ -1663,13 +3604,52 @@ declare const SpecializationsDTO: z.ZodArray<z.ZodObject<{
|
|
|
1663
3604
|
minor_traits: z.ZodArray<z.ZodNumber>;
|
|
1664
3605
|
major_traits: z.ZodArray<z.ZodNumber>;
|
|
1665
3606
|
}, z.core.$strip>>;
|
|
1666
|
-
|
|
3607
|
+
/**
|
|
3608
|
+
* /v2/subtoken definition.
|
|
3609
|
+
*/
|
|
3610
|
+
export declare const SubtokenDTO: z.ZodObject<{
|
|
3611
|
+
subtoken: z.ZodString;
|
|
3612
|
+
}, z.core.$strip>;
|
|
3613
|
+
/**
|
|
3614
|
+
* /v2/titles definition
|
|
3615
|
+
*/
|
|
3616
|
+
export declare const TitlesDTO: z.ZodArray<z.ZodObject<{
|
|
1667
3617
|
id: z.ZodNumber;
|
|
1668
3618
|
name: z.ZodString;
|
|
1669
3619
|
achievements: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1670
3620
|
ap_required: z.ZodOptional<z.ZodNumber>;
|
|
1671
3621
|
}, z.core.$strip>>;
|
|
1672
|
-
|
|
3622
|
+
/**
|
|
3623
|
+
* /v2/tokeninfo definition
|
|
3624
|
+
*/
|
|
3625
|
+
export declare const TokenInfoDTO: z.ZodObject<{
|
|
3626
|
+
id: z.ZodString;
|
|
3627
|
+
name: z.ZodString;
|
|
3628
|
+
permissions: z.ZodArray<z.ZodEnum<{
|
|
3629
|
+
account: "account";
|
|
3630
|
+
progression: "progression";
|
|
3631
|
+
wallet: "wallet";
|
|
3632
|
+
wvw: "wvw";
|
|
3633
|
+
characters: "characters";
|
|
3634
|
+
pvp: "pvp";
|
|
3635
|
+
guilds: "guilds";
|
|
3636
|
+
builds: "builds";
|
|
3637
|
+
inventories: "inventories";
|
|
3638
|
+
tradingpost: "tradingpost";
|
|
3639
|
+
unlocks: "unlocks";
|
|
3640
|
+
}>>;
|
|
3641
|
+
type: z.ZodEnum<{
|
|
3642
|
+
APIKey: "APIKey";
|
|
3643
|
+
Subtoken: "Subtoken";
|
|
3644
|
+
}>;
|
|
3645
|
+
expires_at: z.ZodOptional<z.ZodString>;
|
|
3646
|
+
issued_at: z.ZodOptional<z.ZodString>;
|
|
3647
|
+
urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3648
|
+
}, z.core.$strip>;
|
|
3649
|
+
/**
|
|
3650
|
+
* /v2/traits definition
|
|
3651
|
+
*/
|
|
3652
|
+
export declare const TraitsDTO: z.ZodArray<z.ZodObject<{
|
|
1673
3653
|
id: z.ZodNumber;
|
|
1674
3654
|
name: z.ZodString;
|
|
1675
3655
|
icon: z.ZodString;
|
|
@@ -2130,7 +4110,10 @@ declare const TraitsDTO: z.ZodArray<z.ZodObject<{
|
|
|
2130
4110
|
}, z.core.$strip>>>>;
|
|
2131
4111
|
}, z.core.$strip>>>;
|
|
2132
4112
|
}, z.core.$strip>>;
|
|
2133
|
-
|
|
4113
|
+
/**
|
|
4114
|
+
* /v2/worlds definition
|
|
4115
|
+
*/
|
|
4116
|
+
export declare const WorldsDTO: z.ZodArray<z.ZodObject<{
|
|
2134
4117
|
id: z.ZodNumber;
|
|
2135
4118
|
name: z.ZodString;
|
|
2136
4119
|
population: z.ZodEnum<{
|
|
@@ -2141,7 +4124,10 @@ declare const WorldsDTO: z.ZodArray<z.ZodObject<{
|
|
|
2141
4124
|
Full: "Full";
|
|
2142
4125
|
}>;
|
|
2143
4126
|
}, z.core.$strip>>;
|
|
2144
|
-
|
|
4127
|
+
/**
|
|
4128
|
+
* /v2/mounts/skins definition.
|
|
4129
|
+
*/
|
|
4130
|
+
export declare const MountsSkinsDTO: z.ZodArray<z.ZodObject<{
|
|
2145
4131
|
id: z.ZodNumber;
|
|
2146
4132
|
name: z.ZodString;
|
|
2147
4133
|
icon: z.ZodString;
|
|
@@ -2151,7 +4137,10 @@ declare const MountsSkinsDTO: z.ZodArray<z.ZodObject<{
|
|
|
2151
4137
|
material: z.ZodString;
|
|
2152
4138
|
}, z.core.$strip>>;
|
|
2153
4139
|
}, z.core.$strip>>;
|
|
2154
|
-
|
|
4140
|
+
/**
|
|
4141
|
+
* /v2/mounts/types definition.
|
|
4142
|
+
*/
|
|
4143
|
+
export declare const MountsTypesDTO: z.ZodArray<z.ZodObject<{
|
|
2155
4144
|
id: z.ZodString;
|
|
2156
4145
|
name: z.ZodString;
|
|
2157
4146
|
default_skin: z.ZodNumber;
|
|
@@ -2161,7 +4150,10 @@ declare const MountsTypesDTO: z.ZodArray<z.ZodObject<{
|
|
|
2161
4150
|
slot: z.ZodString;
|
|
2162
4151
|
}, z.core.$strip>>;
|
|
2163
4152
|
}, z.core.$strip>>;
|
|
2164
|
-
|
|
4153
|
+
/**
|
|
4154
|
+
* /v2/pvp/amulets definition.
|
|
4155
|
+
*/
|
|
4156
|
+
export declare const PvPAmuletsDTO: z.ZodArray<z.ZodObject<{
|
|
2165
4157
|
id: z.ZodNumber;
|
|
2166
4158
|
name: z.ZodString;
|
|
2167
4159
|
icon: z.ZodString;
|
|
@@ -2178,7 +4170,10 @@ declare const PvPAmuletsDTO: z.ZodArray<z.ZodObject<{
|
|
|
2178
4170
|
Vitality: z.ZodOptional<z.ZodNumber>;
|
|
2179
4171
|
}, z.core.$strip>;
|
|
2180
4172
|
}, z.core.$strip>>;
|
|
2181
|
-
|
|
4173
|
+
/**
|
|
4174
|
+
* /v2/pvp/games definition.
|
|
4175
|
+
*/
|
|
4176
|
+
export declare const PvPGamesDTO: z.ZodArray<z.ZodObject<{
|
|
2182
4177
|
id: z.ZodString;
|
|
2183
4178
|
map_id: z.ZodNumber;
|
|
2184
4179
|
started: z.ZodString;
|
|
@@ -2198,7 +4193,10 @@ declare const PvPGamesDTO: z.ZodArray<z.ZodObject<{
|
|
|
2198
4193
|
rating_change: z.ZodOptional<z.ZodNumber>;
|
|
2199
4194
|
season: z.ZodOptional<z.ZodString>;
|
|
2200
4195
|
}, z.core.$strip>>;
|
|
2201
|
-
|
|
4196
|
+
/**
|
|
4197
|
+
* /v2/pvp/heroes definition.
|
|
4198
|
+
*/
|
|
4199
|
+
export declare const PvPHeroesDTO: z.ZodArray<z.ZodObject<{
|
|
2202
4200
|
id: z.ZodString;
|
|
2203
4201
|
name: z.ZodString;
|
|
2204
4202
|
type: z.ZodString;
|
|
@@ -2217,7 +4215,10 @@ declare const PvPHeroesDTO: z.ZodArray<z.ZodObject<{
|
|
|
2217
4215
|
unlock_items: z.ZodArray<z.ZodNumber>;
|
|
2218
4216
|
}, z.core.$strip>>;
|
|
2219
4217
|
}, z.core.$strip>>;
|
|
2220
|
-
|
|
4218
|
+
/**
|
|
4219
|
+
* /v2/pvp/ranks definition.
|
|
4220
|
+
*/
|
|
4221
|
+
export declare const PvPRanksDTO: z.ZodArray<z.ZodObject<{
|
|
2221
4222
|
id: z.ZodNumber;
|
|
2222
4223
|
finisher_id: z.ZodNumber;
|
|
2223
4224
|
name: z.ZodString;
|
|
@@ -2230,7 +4231,10 @@ declare const PvPRanksDTO: z.ZodArray<z.ZodObject<{
|
|
|
2230
4231
|
points: z.ZodNumber;
|
|
2231
4232
|
}, z.core.$strip>>;
|
|
2232
4233
|
}, z.core.$strip>>;
|
|
2233
|
-
|
|
4234
|
+
/**
|
|
4235
|
+
* /v2/pvp/seasons definition.
|
|
4236
|
+
*/
|
|
4237
|
+
export declare const PvPSeasonDTO: z.ZodArray<z.ZodObject<{
|
|
2234
4238
|
id: z.ZodString;
|
|
2235
4239
|
name: z.ZodString;
|
|
2236
4240
|
start: z.ZodString;
|
|
@@ -2280,7 +4284,10 @@ declare const PvPSeasonDTO: z.ZodArray<z.ZodObject<{
|
|
|
2280
4284
|
}, z.core.$strip>>;
|
|
2281
4285
|
}, z.core.$strip>;
|
|
2282
4286
|
}, z.core.$strip>>;
|
|
2283
|
-
|
|
4287
|
+
/**
|
|
4288
|
+
* /v2/pvp/seasons/:id/leaderboards definition.
|
|
4289
|
+
*/
|
|
4290
|
+
export declare const PvPSeasonLeaderboardsDTO: z.ZodArray<z.ZodObject<{
|
|
2284
4291
|
name: z.ZodString;
|
|
2285
4292
|
rank: z.ZodNumber;
|
|
2286
4293
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -2292,8 +4299,62 @@ declare const PvPSeasonLeaderboardsDTO: z.ZodArray<z.ZodObject<{
|
|
|
2292
4299
|
value: z.ZodNumber;
|
|
2293
4300
|
}, z.core.$strip>>;
|
|
2294
4301
|
}, z.core.$strip>>;
|
|
2295
|
-
declare const PvPSeasonLeaderboardRegionsDTO: z.ZodArray<z.ZodString>;
|
|
2296
|
-
|
|
4302
|
+
export declare const PvPSeasonLeaderboardRegionsDTO: z.ZodArray<z.ZodString>;
|
|
4303
|
+
/**
|
|
4304
|
+
* /v2/pvp/standings definition.
|
|
4305
|
+
*/
|
|
4306
|
+
export declare const PvPStandingsDTO: z.ZodArray<z.ZodObject<{
|
|
4307
|
+
current: z.ZodObject<{
|
|
4308
|
+
total_points: z.ZodNumber;
|
|
4309
|
+
division: z.ZodNumber;
|
|
4310
|
+
tier: z.ZodNumber;
|
|
4311
|
+
points: z.ZodNumber;
|
|
4312
|
+
repeats: z.ZodNumber;
|
|
4313
|
+
rating: z.ZodOptional<z.ZodNumber>;
|
|
4314
|
+
decay: z.ZodOptional<z.ZodNumber>;
|
|
4315
|
+
}, z.core.$strip>;
|
|
4316
|
+
best: z.ZodObject<{
|
|
4317
|
+
total_points: z.ZodNumber;
|
|
4318
|
+
division: z.ZodNumber;
|
|
4319
|
+
tier: z.ZodNumber;
|
|
4320
|
+
points: z.ZodNumber;
|
|
4321
|
+
repeats: z.ZodNumber;
|
|
4322
|
+
}, z.core.$strip>;
|
|
4323
|
+
season_id: z.ZodString;
|
|
4324
|
+
}, z.core.$strip>>;
|
|
4325
|
+
/**
|
|
4326
|
+
* /v2/pvp/stats definition.
|
|
4327
|
+
*/
|
|
4328
|
+
export declare const PvPStatsDTO: z.ZodObject<{
|
|
4329
|
+
pvp_rank: z.ZodNumber;
|
|
4330
|
+
pvp_rank_points: z.ZodNumber;
|
|
4331
|
+
pvp_rank_rollovers: z.ZodNumber;
|
|
4332
|
+
aggregate: z.ZodObject<{
|
|
4333
|
+
wins: z.ZodNumber;
|
|
4334
|
+
losses: z.ZodNumber;
|
|
4335
|
+
desertions: z.ZodNumber;
|
|
4336
|
+
byes: z.ZodNumber;
|
|
4337
|
+
forfeits: z.ZodNumber;
|
|
4338
|
+
}, z.core.$strip>;
|
|
4339
|
+
professions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4340
|
+
wins: z.ZodNumber;
|
|
4341
|
+
losses: z.ZodNumber;
|
|
4342
|
+
desertions: z.ZodNumber;
|
|
4343
|
+
byes: z.ZodNumber;
|
|
4344
|
+
forfeits: z.ZodNumber;
|
|
4345
|
+
}, z.core.$strip>>;
|
|
4346
|
+
ladders: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4347
|
+
wins: z.ZodNumber;
|
|
4348
|
+
losses: z.ZodNumber;
|
|
4349
|
+
desertions: z.ZodNumber;
|
|
4350
|
+
byes: z.ZodNumber;
|
|
4351
|
+
forfeits: z.ZodNumber;
|
|
4352
|
+
}, z.core.$strip>>;
|
|
4353
|
+
}, z.core.$strip>;
|
|
4354
|
+
/**
|
|
4355
|
+
* /v2/stories definition
|
|
4356
|
+
*/
|
|
4357
|
+
export declare const StoriesDTO: z.ZodArray<z.ZodObject<{
|
|
2297
4358
|
id: z.ZodNumber;
|
|
2298
4359
|
season: z.ZodString;
|
|
2299
4360
|
name: z.ZodString;
|
|
@@ -2307,13 +4368,29 @@ declare const StoriesDTO: z.ZodArray<z.ZodObject<{
|
|
|
2307
4368
|
races: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2308
4369
|
flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2309
4370
|
}, z.core.$strip>>;
|
|
2310
|
-
|
|
4371
|
+
/**
|
|
4372
|
+
* /v2/stories/seasons definition
|
|
4373
|
+
*/
|
|
4374
|
+
export declare const StoriesSeasonsDTO: z.ZodArray<z.ZodObject<{
|
|
2311
4375
|
id: z.ZodString;
|
|
2312
4376
|
name: z.ZodString;
|
|
2313
4377
|
order: z.ZodNumber;
|
|
2314
4378
|
stories: z.ZodArray<z.ZodNumber>;
|
|
2315
4379
|
}, z.core.$strip>>;
|
|
2316
|
-
|
|
4380
|
+
/**
|
|
4381
|
+
* /v2/wizardsvault definition
|
|
4382
|
+
*/
|
|
4383
|
+
export declare const WizardsVaultDTO: z.ZodObject<{
|
|
4384
|
+
title: z.ZodString;
|
|
4385
|
+
start: z.ZodString;
|
|
4386
|
+
end: z.ZodString;
|
|
4387
|
+
listings: z.ZodArray<z.ZodNumber>;
|
|
4388
|
+
objectives: z.ZodArray<z.ZodNumber>;
|
|
4389
|
+
}, z.core.$strip>;
|
|
4390
|
+
/**
|
|
4391
|
+
* /v2/wizardsvault/listings definition
|
|
4392
|
+
*/
|
|
4393
|
+
export declare const WizardsVaultListingsDTO: z.ZodArray<z.ZodObject<{
|
|
2317
4394
|
id: z.ZodNumber;
|
|
2318
4395
|
item_id: z.ZodNumber;
|
|
2319
4396
|
item_count: z.ZodNumber;
|
|
@@ -2324,7 +4401,10 @@ declare const WizardsVaultListingsDTO: z.ZodArray<z.ZodObject<{
|
|
|
2324
4401
|
}>;
|
|
2325
4402
|
cost: z.ZodNumber;
|
|
2326
4403
|
}, z.core.$strip>>;
|
|
2327
|
-
|
|
4404
|
+
/**
|
|
4405
|
+
* /v2/wizardsvault/objectives definition
|
|
4406
|
+
*/
|
|
4407
|
+
export declare const WizardsVaultObjectivesDTO: z.ZodArray<z.ZodObject<{
|
|
2328
4408
|
id: z.ZodNumber;
|
|
2329
4409
|
title: z.ZodString;
|
|
2330
4410
|
track: z.ZodEnum<{
|
|
@@ -2334,7 +4414,10 @@ declare const WizardsVaultObjectivesDTO: z.ZodArray<z.ZodObject<{
|
|
|
2334
4414
|
}>;
|
|
2335
4415
|
acclaim: z.ZodNumber;
|
|
2336
4416
|
}, z.core.$strip>>;
|
|
2337
|
-
|
|
4417
|
+
/**
|
|
4418
|
+
* /v2/wvw/abilities definition
|
|
4419
|
+
*/
|
|
4420
|
+
export declare const WvWAbilitiesDTO: z.ZodArray<z.ZodObject<{
|
|
2338
4421
|
id: z.ZodNumber;
|
|
2339
4422
|
name: z.ZodString;
|
|
2340
4423
|
description: z.ZodString;
|
|
@@ -2344,7 +4427,22 @@ declare const WvWAbilitiesDTO: z.ZodArray<z.ZodObject<{
|
|
|
2344
4427
|
effect: z.ZodString;
|
|
2345
4428
|
}, z.core.$strip>>;
|
|
2346
4429
|
}, z.core.$strip>>;
|
|
2347
|
-
|
|
4430
|
+
/**
|
|
4431
|
+
* /v2/wvw/guilds definition
|
|
4432
|
+
* Returns key-value pairs, where
|
|
4433
|
+
* key is the guild guid, which can be resolved against /v2/guild, and
|
|
4434
|
+
* value is the WvW team, which currently cannot be used in other endpoints
|
|
4435
|
+
*/
|
|
4436
|
+
export declare const WvWGuildsDTO: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
4437
|
+
export declare const Scores: z.ZodObject<{
|
|
4438
|
+
red: z.ZodNumber;
|
|
4439
|
+
blue: z.ZodNumber;
|
|
4440
|
+
green: z.ZodNumber;
|
|
4441
|
+
}, z.core.$strip>;
|
|
4442
|
+
/**
|
|
4443
|
+
* /v2/wvw/matches definition
|
|
4444
|
+
*/
|
|
4445
|
+
export declare const WvWMatchesDTO: z.ZodArray<z.ZodObject<{
|
|
2348
4446
|
id: z.ZodString;
|
|
2349
4447
|
start_time: z.ZodString;
|
|
2350
4448
|
end_time: z.ZodString;
|
|
@@ -2450,7 +4548,111 @@ declare const WvWMatchesDTO: z.ZodArray<z.ZodObject<{
|
|
|
2450
4548
|
}, z.core.$strip>>;
|
|
2451
4549
|
}, z.core.$strip>>;
|
|
2452
4550
|
}, z.core.$strip>>;
|
|
2453
|
-
|
|
4551
|
+
/**
|
|
4552
|
+
* /v2/wvw/matches/overview definition
|
|
4553
|
+
*/
|
|
4554
|
+
export declare const WvWMatchesOverviewDTO: z.ZodObject<{
|
|
4555
|
+
id: z.ZodString;
|
|
4556
|
+
worlds: z.ZodObject<{
|
|
4557
|
+
red: z.ZodNumber;
|
|
4558
|
+
blue: z.ZodNumber;
|
|
4559
|
+
green: z.ZodNumber;
|
|
4560
|
+
}, z.core.$strip>;
|
|
4561
|
+
all_worlds: z.ZodRecord<z.ZodEnum<{
|
|
4562
|
+
red: "red";
|
|
4563
|
+
blue: "blue";
|
|
4564
|
+
green: "green";
|
|
4565
|
+
}>, z.ZodArray<z.ZodNumber>>;
|
|
4566
|
+
start_time: z.ZodString;
|
|
4567
|
+
end_time: z.ZodString;
|
|
4568
|
+
}, z.core.$strip>;
|
|
4569
|
+
/**
|
|
4570
|
+
* /v2/wvw/matches/scores definition
|
|
4571
|
+
*/
|
|
4572
|
+
export declare const WvWMatchesScoresDTO: z.ZodObject<{
|
|
4573
|
+
id: z.ZodString;
|
|
4574
|
+
scores: z.ZodObject<{
|
|
4575
|
+
red: z.ZodNumber;
|
|
4576
|
+
blue: z.ZodNumber;
|
|
4577
|
+
green: z.ZodNumber;
|
|
4578
|
+
}, z.core.$strip>;
|
|
4579
|
+
maps: z.ZodArray<z.ZodObject<{
|
|
4580
|
+
id: z.ZodNumber;
|
|
4581
|
+
type: z.ZodString;
|
|
4582
|
+
scores: z.ZodObject<{
|
|
4583
|
+
red: z.ZodNumber;
|
|
4584
|
+
blue: z.ZodNumber;
|
|
4585
|
+
green: z.ZodNumber;
|
|
4586
|
+
}, z.core.$strip>;
|
|
4587
|
+
}, z.core.$strip>>;
|
|
4588
|
+
skirmishes: z.ZodArray<z.ZodObject<{
|
|
4589
|
+
id: z.ZodNumber;
|
|
4590
|
+
scores: z.ZodObject<{
|
|
4591
|
+
red: z.ZodNumber;
|
|
4592
|
+
blue: z.ZodNumber;
|
|
4593
|
+
green: z.ZodNumber;
|
|
4594
|
+
}, z.core.$strip>;
|
|
4595
|
+
map_scores: z.ZodArray<z.ZodObject<{
|
|
4596
|
+
type: z.ZodEnum<{
|
|
4597
|
+
BlueHome: "BlueHome";
|
|
4598
|
+
Center: "Center";
|
|
4599
|
+
GreenHome: "GreenHome";
|
|
4600
|
+
RedHome: "RedHome";
|
|
4601
|
+
}>;
|
|
4602
|
+
scores: z.ZodObject<{
|
|
4603
|
+
red: z.ZodNumber;
|
|
4604
|
+
blue: z.ZodNumber;
|
|
4605
|
+
green: z.ZodNumber;
|
|
4606
|
+
}, z.core.$strip>;
|
|
4607
|
+
}, z.core.$strip>>;
|
|
4608
|
+
}, z.core.$strip>>;
|
|
4609
|
+
}, z.core.$strip>;
|
|
4610
|
+
/**
|
|
4611
|
+
* /v2/wvw/matches/stats definition
|
|
4612
|
+
*/
|
|
4613
|
+
export declare const WvWMatchesStatsDTO: z.ZodObject<{
|
|
4614
|
+
id: z.ZodString;
|
|
4615
|
+
deaths: z.ZodObject<{
|
|
4616
|
+
red: z.ZodNumber;
|
|
4617
|
+
blue: z.ZodNumber;
|
|
4618
|
+
green: z.ZodNumber;
|
|
4619
|
+
}, z.core.$strip>;
|
|
4620
|
+
kills: z.ZodObject<{
|
|
4621
|
+
red: z.ZodNumber;
|
|
4622
|
+
blue: z.ZodNumber;
|
|
4623
|
+
green: z.ZodNumber;
|
|
4624
|
+
}, z.core.$strip>;
|
|
4625
|
+
maps: z.ZodArray<z.ZodObject<{
|
|
4626
|
+
id: z.ZodNumber;
|
|
4627
|
+
type: z.ZodString;
|
|
4628
|
+
deaths: z.ZodObject<{
|
|
4629
|
+
red: z.ZodNumber;
|
|
4630
|
+
blue: z.ZodNumber;
|
|
4631
|
+
green: z.ZodNumber;
|
|
4632
|
+
}, z.core.$strip>;
|
|
4633
|
+
}, z.core.$strip>>;
|
|
4634
|
+
}, z.core.$strip>;
|
|
4635
|
+
/**
|
|
4636
|
+
* /v2/wvw/matches/stats/:guild/teams definition
|
|
4637
|
+
*/
|
|
4638
|
+
export declare const WvWMatchesTeamsStatsDTO: z.ZodArray<z.ZodObject<{
|
|
4639
|
+
guild_id: z.ZodString;
|
|
4640
|
+
deaths: z.ZodObject<{
|
|
4641
|
+
red: z.ZodNumber;
|
|
4642
|
+
blue: z.ZodNumber;
|
|
4643
|
+
green: z.ZodNumber;
|
|
4644
|
+
}, z.core.$strip>;
|
|
4645
|
+
kills: z.ZodObject<{
|
|
4646
|
+
red: z.ZodNumber;
|
|
4647
|
+
blue: z.ZodNumber;
|
|
4648
|
+
green: z.ZodNumber;
|
|
4649
|
+
}, z.core.$strip>;
|
|
4650
|
+
wilson: z.ZodOptional<z.ZodNumber>;
|
|
4651
|
+
}, z.core.$strip>>;
|
|
4652
|
+
/**
|
|
4653
|
+
* /v2/wvw/objectives definition
|
|
4654
|
+
*/
|
|
4655
|
+
export declare const WvWObjectivesDTO: z.ZodArray<z.ZodObject<{
|
|
2454
4656
|
id: z.ZodString;
|
|
2455
4657
|
name: z.ZodString;
|
|
2456
4658
|
type: z.ZodEnum<{
|
|
@@ -2479,12 +4681,25 @@ declare const WvWObjectivesDTO: z.ZodArray<z.ZodObject<{
|
|
|
2479
4681
|
chat_link: z.ZodString;
|
|
2480
4682
|
upgrade_id: z.ZodOptional<z.ZodNumber>;
|
|
2481
4683
|
}, z.core.$strip>>;
|
|
2482
|
-
|
|
4684
|
+
/**
|
|
4685
|
+
* /v2/wvw/ranks definition
|
|
4686
|
+
*/
|
|
4687
|
+
export declare const WvWRanksDTO: z.ZodArray<z.ZodObject<{
|
|
2483
4688
|
id: z.ZodNumber;
|
|
2484
4689
|
title: z.ZodString;
|
|
2485
4690
|
min_rank: z.ZodNumber;
|
|
2486
4691
|
}, z.core.$strip>>;
|
|
2487
|
-
|
|
4692
|
+
/**
|
|
4693
|
+
* /v2/wvw/timers definition
|
|
4694
|
+
* Returns key-value pairs, where
|
|
4695
|
+
* key is the region, either "na" or "eu", and
|
|
4696
|
+
* value is a ISO8601 date format
|
|
4697
|
+
*/
|
|
4698
|
+
export declare const WvWTimersDTO: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
4699
|
+
/**
|
|
4700
|
+
* /v2/wvw/upgrades definition.
|
|
4701
|
+
*/
|
|
4702
|
+
export declare const WvWUpgradesDTO: z.ZodArray<z.ZodObject<{
|
|
2488
4703
|
id: z.ZodNumber;
|
|
2489
4704
|
tiers: z.ZodArray<z.ZodObject<{
|
|
2490
4705
|
name: z.ZodString;
|
|
@@ -3976,8 +6191,8 @@ declare class TokenInfoApi extends ApiBase {
|
|
|
3976
6191
|
get(): Promise<{
|
|
3977
6192
|
id: string;
|
|
3978
6193
|
name: string;
|
|
3979
|
-
permissions: ("account" | "progression" | "wallet" | "characters" | "pvp" | "guilds" | "builds" | "inventories" | "tradingpost" | "unlocks")[];
|
|
3980
|
-
type
|
|
6194
|
+
permissions: ("account" | "progression" | "wallet" | "wvw" | "characters" | "pvp" | "guilds" | "builds" | "inventories" | "tradingpost" | "unlocks")[];
|
|
6195
|
+
type: "APIKey" | "Subtoken";
|
|
3981
6196
|
expires_at?: string | undefined;
|
|
3982
6197
|
issued_at?: string | undefined;
|
|
3983
6198
|
urls?: string[] | undefined;
|
|
@@ -4173,6 +6388,12 @@ declare class WorldVsWorldApi extends ApiBase {
|
|
|
4173
6388
|
* @param ids - List of WvW ability ids
|
|
4174
6389
|
*/
|
|
4175
6390
|
getAbilities(ids: number[] | "all"): Promise<z.infer<typeof WvWAbilitiesDTO>>;
|
|
6391
|
+
/**
|
|
6392
|
+
* Returns information about which guild is associated with which region and matchmaking team for WvW.
|
|
6393
|
+
*
|
|
6394
|
+
* @param region - "na" or "eu"
|
|
6395
|
+
*/
|
|
6396
|
+
getGuilds(region: "na" | "eu"): Promise<Record<string, string>>;
|
|
4176
6397
|
/**
|
|
4177
6398
|
* Returns further details about the specified match, including the total score, kills and deaths, and further details for each map.
|
|
4178
6399
|
*/
|
|
@@ -4183,6 +6404,30 @@ declare class WorldVsWorldApi extends ApiBase {
|
|
|
4183
6404
|
* @param ids - List of match ids, or "all"
|
|
4184
6405
|
*/
|
|
4185
6406
|
getMatches(ids: Array<`${number}-${number}`> | "all"): Promise<z.infer<typeof WvWMatchesDTO>>;
|
|
6407
|
+
/**
|
|
6408
|
+
* Returns specific details pertaining to guilds in the current selected matchup.
|
|
6409
|
+
* For match stats by world, use {@link WorldVsWorldApi#getMatchesByWorld} with the "stats" type.
|
|
6410
|
+
*
|
|
6411
|
+
* @deprecated Does not seem to return any data, after the WvW Alliance update. Use {@link WorldVsWorldApi#getMatches}
|
|
6412
|
+
*
|
|
6413
|
+
* @param id - Match id
|
|
6414
|
+
* @param team - "red", "blue", or "green"
|
|
6415
|
+
* @param filter - "kills" or "kdr"
|
|
6416
|
+
*/
|
|
6417
|
+
getMatchStats(id: `${number}-${number}`, team: "red" | "blue" | "green", filter: "kills" | "kdr"): Promise<{
|
|
6418
|
+
guild_id: string;
|
|
6419
|
+
deaths: {
|
|
6420
|
+
red: number;
|
|
6421
|
+
blue: number;
|
|
6422
|
+
green: number;
|
|
6423
|
+
};
|
|
6424
|
+
kills: {
|
|
6425
|
+
red: number;
|
|
6426
|
+
blue: number;
|
|
6427
|
+
green: number;
|
|
6428
|
+
};
|
|
6429
|
+
wilson?: number | undefined;
|
|
6430
|
+
}[]>;
|
|
4186
6431
|
/**
|
|
4187
6432
|
* Returns further details about the specified match, including the total score, kills and deaths, and further details for each map.
|
|
4188
6433
|
* The same information as {@link WorldVsWorldApi#getMatches}, however more limited.
|
|
@@ -4274,6 +6519,12 @@ declare class WorldVsWorldApi extends ApiBase {
|
|
|
4274
6519
|
* @param ids - List of WvW rank ids, or "all"
|
|
4275
6520
|
*/
|
|
4276
6521
|
getRanks(ids: number[] | "all"): Promise<z.infer<typeof WvWRanksDTO>>;
|
|
6522
|
+
/**
|
|
6523
|
+
* Returns time/date information about when team assignment changes.
|
|
6524
|
+
*
|
|
6525
|
+
* @param type - "lockout" or "teamAssignment"
|
|
6526
|
+
*/
|
|
6527
|
+
getTimers(type: "lockout" | "teamAssignment"): Promise<Record<string, string>>;
|
|
4277
6528
|
/**
|
|
4278
6529
|
* Returns details about available World vs. World upgrades for objectives such as camps, towers, and keeps.
|
|
4279
6530
|
*/
|
|
@@ -4420,4 +6671,8 @@ export declare const setLogLevel: (minLevel: LogLevel) => void;
|
|
|
4420
6671
|
*/
|
|
4421
6672
|
export declare const setPathLogging: (displayFilePath: boolean) => void;
|
|
4422
6673
|
|
|
6674
|
+
export {
|
|
6675
|
+
Range$1 as Range,
|
|
6676
|
+
};
|
|
6677
|
+
|
|
4423
6678
|
export {};
|