guildwars2-ts 1.4.0 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +443 -1580
- package/dist/index.js +36 -36
- package/dist/index.mjs +36 -36
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Generated by dts-bundle-generator v9.5.1
|
|
2
2
|
|
|
3
3
|
import { RawAxiosRequestConfig } from 'axios';
|
|
4
|
-
import { z } from 'zod';
|
|
4
|
+
import { z } from 'zod/v4';
|
|
5
5
|
|
|
6
6
|
export interface Endpoint {
|
|
7
7
|
path: `v2/${string}`;
|
|
@@ -72,8 +72,6 @@ declare class AccountApi extends ApiBase {
|
|
|
72
72
|
* Returns information about player accounts.
|
|
73
73
|
*/
|
|
74
74
|
get(): Promise<{
|
|
75
|
-
last_modified?: string | undefined;
|
|
76
|
-
build_storage_slots?: number | undefined;
|
|
77
75
|
id: string;
|
|
78
76
|
age: number;
|
|
79
77
|
name: string;
|
|
@@ -87,26 +85,34 @@ declare class AccountApi extends ApiBase {
|
|
|
87
85
|
daily_ap: number;
|
|
88
86
|
monthly_ap: number;
|
|
89
87
|
wvw_rank: number;
|
|
88
|
+
last_modified?: string | undefined;
|
|
89
|
+
build_storage_slots?: number | undefined;
|
|
90
90
|
}>;
|
|
91
91
|
/**
|
|
92
92
|
* Returns an account's progress towards all their achievements.
|
|
93
93
|
*/
|
|
94
94
|
getAchievements(): Promise<{
|
|
95
|
+
id: number;
|
|
96
|
+
current: number;
|
|
97
|
+
done: boolean;
|
|
95
98
|
bits?: number[] | undefined;
|
|
96
99
|
max?: number | undefined;
|
|
97
100
|
repeated?: number | undefined;
|
|
98
101
|
unlocked?: boolean | undefined;
|
|
99
|
-
id: number;
|
|
100
|
-
current: number;
|
|
101
|
-
done: boolean;
|
|
102
102
|
}[]>;
|
|
103
103
|
/**
|
|
104
104
|
* Returns the items stored in a player's vault (not including material storage).
|
|
105
105
|
* If null, the slot is empty.
|
|
106
106
|
*/
|
|
107
107
|
getBank(): Promise<(({
|
|
108
|
+
id: number;
|
|
109
|
+
count: number;
|
|
110
|
+
charges?: number | undefined;
|
|
111
|
+
skin?: number | undefined;
|
|
108
112
|
dyes?: number[] | undefined;
|
|
109
113
|
upgrades?: number[] | undefined;
|
|
114
|
+
upgrade_slot_indices?: number[] | undefined;
|
|
115
|
+
infusions?: number[] | undefined;
|
|
110
116
|
stats?: {
|
|
111
117
|
id: number;
|
|
112
118
|
attributes: {
|
|
@@ -122,12 +128,6 @@ declare class AccountApi extends ApiBase {
|
|
|
122
128
|
Vitality?: number | undefined;
|
|
123
129
|
};
|
|
124
130
|
} | undefined;
|
|
125
|
-
charges?: number | undefined;
|
|
126
|
-
skin?: number | undefined;
|
|
127
|
-
upgrade_slot_indices?: number[] | undefined;
|
|
128
|
-
infusions?: number[] | undefined;
|
|
129
|
-
id: number;
|
|
130
|
-
count: number;
|
|
131
131
|
} & ({
|
|
132
132
|
binding: "Character";
|
|
133
133
|
bound_to: string;
|
|
@@ -142,24 +142,24 @@ declare class AccountApi extends ApiBase {
|
|
|
142
142
|
* Returns the templates stored in a player's build storage.
|
|
143
143
|
*/
|
|
144
144
|
getBuildStorage(): Promise<{
|
|
145
|
+
name: string;
|
|
146
|
+
profession: string;
|
|
147
|
+
specializations: {
|
|
148
|
+
id: number;
|
|
149
|
+
traits: (number | null)[];
|
|
150
|
+
}[];
|
|
145
151
|
skills?: {
|
|
146
152
|
heal: number | null;
|
|
147
153
|
utilities: (number | null)[];
|
|
148
154
|
elite: number | null;
|
|
149
155
|
} | undefined;
|
|
150
|
-
legends?: (string | null)[] | undefined;
|
|
151
156
|
aquatic_skills?: {
|
|
152
157
|
heal: number | null;
|
|
153
158
|
utilities: (number | null)[];
|
|
154
159
|
elite: number | null;
|
|
155
160
|
} | undefined;
|
|
161
|
+
legends?: (string | null)[] | undefined;
|
|
156
162
|
aquatic_legends?: (string | null)[] | undefined;
|
|
157
|
-
name: string;
|
|
158
|
-
profession: string;
|
|
159
|
-
specializations: {
|
|
160
|
-
id: number;
|
|
161
|
-
traits: (number | null)[];
|
|
162
|
-
}[];
|
|
163
163
|
}[]>;
|
|
164
164
|
/**
|
|
165
165
|
* Returns information about time-gated recipes that have been crafted by the account since daily-reset.
|
|
@@ -181,9 +181,9 @@ declare class AccountApi extends ApiBase {
|
|
|
181
181
|
* Returns information about finishers that are unlocked for an account.
|
|
182
182
|
*/
|
|
183
183
|
getFinishers(): Promise<{
|
|
184
|
-
quantity?: number | undefined;
|
|
185
184
|
id: number;
|
|
186
185
|
permanent: boolean;
|
|
186
|
+
quantity?: number | undefined;
|
|
187
187
|
}[]>;
|
|
188
188
|
/**
|
|
189
189
|
* Returns information about gliders that are unlocked for an account.
|
|
@@ -213,13 +213,13 @@ declare class AccountApi extends ApiBase {
|
|
|
213
213
|
* If null, the slot is empty
|
|
214
214
|
*/
|
|
215
215
|
getInventory(): Promise<({
|
|
216
|
-
|
|
216
|
+
id: number;
|
|
217
|
+
count: number;
|
|
217
218
|
charges?: number | undefined;
|
|
218
219
|
skin?: number | undefined;
|
|
220
|
+
upgrades?: number[] | undefined;
|
|
219
221
|
infusions?: number[] | undefined;
|
|
220
222
|
binding?: "Account" | undefined;
|
|
221
|
-
id: number;
|
|
222
|
-
count: number;
|
|
223
223
|
} | null)[]>;
|
|
224
224
|
/**
|
|
225
225
|
* Returns the unlocked Jade Bot skins of the account.
|
|
@@ -271,10 +271,10 @@ declare class AccountApi extends ApiBase {
|
|
|
271
271
|
* Returns the materials stored in a player's vault.
|
|
272
272
|
*/
|
|
273
273
|
getMaterials(): Promise<{
|
|
274
|
-
binding?: "Account" | undefined;
|
|
275
274
|
id: number;
|
|
276
275
|
category: number;
|
|
277
276
|
count: number;
|
|
277
|
+
binding?: "Account" | undefined;
|
|
278
278
|
}[]>;
|
|
279
279
|
/**
|
|
280
280
|
* Returns the unlocked miniatures of the account.
|
|
@@ -357,17 +357,13 @@ declare class AccountApi extends ApiBase {
|
|
|
357
357
|
* Returns the current set of Wizard's Vault rewards, along with details about which have already been purchased by the account, and in what quantity.
|
|
358
358
|
*/
|
|
359
359
|
getWizardsVaultListings(): Promise<{
|
|
360
|
-
purchased?: number | undefined;
|
|
361
|
-
purchase_limit?: number | undefined;
|
|
362
360
|
id: number;
|
|
363
361
|
item_id: number;
|
|
364
362
|
item_count: number;
|
|
365
|
-
type:
|
|
366
|
-
Featured: "Featured";
|
|
367
|
-
Normal: "Normal";
|
|
368
|
-
Legacy: "Legacy";
|
|
369
|
-
}>;
|
|
363
|
+
type: "Featured" | "Normal" | "Legacy";
|
|
370
364
|
cost: number;
|
|
365
|
+
purchased?: number | undefined;
|
|
366
|
+
purchase_limit?: number | undefined;
|
|
371
367
|
}[]>;
|
|
372
368
|
/**
|
|
373
369
|
* Returns the current set of special Wizard's Vault achievements for the account.
|
|
@@ -408,560 +404,293 @@ declare class AccountApi extends ApiBase {
|
|
|
408
404
|
getWorldBosses(): Promise<string[]>;
|
|
409
405
|
}
|
|
410
406
|
declare const AchievementCategoriesDTO: z.ZodArray<z.ZodObject<{
|
|
411
|
-
/** Category id.. */
|
|
412
407
|
id: z.ZodNumber;
|
|
413
|
-
/** Category name.. */
|
|
414
408
|
name: z.ZodString;
|
|
415
|
-
/** Category description. */
|
|
416
409
|
description: z.ZodString;
|
|
417
|
-
/** A number describing where to sort this category among other the other
|
|
418
|
-
* categories in its group. Lowest numbers go first, highest numbers go last. */
|
|
419
410
|
order: z.ZodNumber;
|
|
420
|
-
/** A URL to an image for the icon of the category. */
|
|
421
411
|
icon: z.ZodString;
|
|
422
|
-
/** Achievement ids in this category.
|
|
423
|
-
* Can be resolved against /v2/achievements. */
|
|
424
412
|
achievements: z.ZodArray<z.ZodNumber>;
|
|
425
|
-
},
|
|
413
|
+
}, z.core.$strip>>;
|
|
426
414
|
declare const AchievementGroupsDTO: z.ZodObject<{
|
|
427
|
-
/** The group's GUID. */
|
|
428
415
|
id: z.ZodString;
|
|
429
|
-
/** The group's name. */
|
|
430
416
|
name: z.ZodString;
|
|
431
|
-
/** The group's description. */
|
|
432
417
|
description: z.ZodString;
|
|
433
|
-
/**
|
|
434
|
-
* A number describing where to sort this group among other groups.
|
|
435
|
-
* Lowest numbers go first, highest numbers go last. */
|
|
436
418
|
order: z.ZodNumber;
|
|
437
|
-
/**
|
|
438
|
-
* An array containing a number of category IDs that this group contains.
|
|
439
|
-
* Can be resolved against /v2/achievements/categories. */
|
|
440
419
|
categories: z.ZodArray<z.ZodNumber>;
|
|
441
|
-
},
|
|
420
|
+
}, z.core.$strip>;
|
|
442
421
|
declare const BackstoryAnswersDTO: z.ZodArray<z.ZodObject<{
|
|
443
|
-
/** The id of the answer. */
|
|
444
422
|
id: z.ZodString;
|
|
445
|
-
/** The title (or name) of the answer. */
|
|
446
423
|
title: z.ZodString;
|
|
447
|
-
/** The description of the answer; as displayed in-game when presented as an answer choice
|
|
448
|
-
* to a question during the Biography portion of character creation. */
|
|
449
424
|
description: z.ZodString;
|
|
450
|
-
/** The Story Journal entry for the answer; as displayed in-game. */
|
|
451
425
|
journal: z.ZodString;
|
|
452
|
-
/** The id of the Biography question that this answers; Can be resolved against v2/backstory/questions. */
|
|
453
426
|
question: z.ZodNumber;
|
|
454
|
-
/** When present, an array of professions that this answer is available as a choice for. */
|
|
455
427
|
professions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
456
|
-
/** When present, an array of races that this answer is available as a choice for. */
|
|
457
428
|
races: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
458
|
-
},
|
|
429
|
+
}, z.core.$strip>>;
|
|
459
430
|
declare const BackstoryQuestionsDTO: z.ZodArray<z.ZodObject<{
|
|
460
|
-
/** The id of the question. */
|
|
461
431
|
id: z.ZodNumber;
|
|
462
|
-
/** The title (or name) of the question. */
|
|
463
432
|
title: z.ZodString;
|
|
464
|
-
/** The description of the question; as displayed in-game when presented as a Biography choice during character creation. */
|
|
465
433
|
description: z.ZodString;
|
|
466
|
-
/** The order in which this question is displayed in-game while answering your characters' Biography questions during character creation. */
|
|
467
434
|
order: z.ZodNumber;
|
|
468
|
-
/** The list of answers for this question; Can be resolved against v2/backstory/answers. */
|
|
469
435
|
answers: z.ZodArray<z.ZodString>;
|
|
470
|
-
/** When present, an array of races that this question is presented to. */
|
|
471
436
|
races: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
472
|
-
/** When present, an array of professions that this question is presented to. */
|
|
473
437
|
professions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
474
|
-
},
|
|
438
|
+
}, z.core.$strip>>;
|
|
475
439
|
declare const CommerceListingsDTO: z.ZodArray<z.ZodObject<{
|
|
476
|
-
/** The item id. Can be resolved against /v2/items. */
|
|
477
440
|
id: z.ZodNumber;
|
|
478
|
-
/** List of all buy listings, descending from the highest buy order. */
|
|
479
441
|
buys: z.ZodArray<z.ZodObject<{
|
|
480
|
-
/** The number of individual listings this object refers to. */
|
|
481
442
|
listings: z.ZodNumber;
|
|
482
|
-
/** The sell offer or buy order price in coins. */
|
|
483
443
|
unit_price: z.ZodNumber;
|
|
484
|
-
/** The amount of items being sold/bought in this listing. */
|
|
485
444
|
quantity: z.ZodNumber;
|
|
486
|
-
},
|
|
487
|
-
/** List of all sell listings, ascending from the lowest sell order. */
|
|
445
|
+
}, z.core.$strip>>;
|
|
488
446
|
sells: z.ZodArray<z.ZodObject<{
|
|
489
|
-
/** The number of individual listings this object refers to. */
|
|
490
447
|
listings: z.ZodNumber;
|
|
491
|
-
/** The sell offer or buy order price in coins. */
|
|
492
448
|
unit_price: z.ZodNumber;
|
|
493
|
-
/** The amount of items being sold/bought in this listing. */
|
|
494
449
|
quantity: z.ZodNumber;
|
|
495
|
-
},
|
|
496
|
-
},
|
|
450
|
+
}, z.core.$strip>>;
|
|
451
|
+
}, z.core.$strip>>;
|
|
497
452
|
declare const CommercePricesDTO: z.ZodArray<z.ZodObject<{
|
|
498
|
-
/** The item id. Can be resolved against /v2/items. */
|
|
499
453
|
id: z.ZodNumber;
|
|
500
|
-
/** Whether free to play accounts can purchase or sell this item. */
|
|
501
454
|
whitelisted: z.ZodBoolean;
|
|
502
|
-
/** Buy information. */
|
|
503
455
|
buys: z.ZodObject<{
|
|
504
|
-
/** The highest buy order or lowest sell offer price in copper coins. */
|
|
505
456
|
quantity: z.ZodNumber;
|
|
506
|
-
/** The amount of items being sold/bought. */
|
|
507
457
|
unit_price: z.ZodNumber;
|
|
508
|
-
},
|
|
509
|
-
/** Sell information. */
|
|
458
|
+
}, z.core.$strip>;
|
|
510
459
|
sells: z.ZodObject<{
|
|
511
|
-
/** The highest buy order or lowest sell offer price in copper coins. */
|
|
512
460
|
quantity: z.ZodNumber;
|
|
513
|
-
/** The amount of items being sold/bought. */
|
|
514
461
|
unit_price: z.ZodNumber;
|
|
515
|
-
},
|
|
516
|
-
},
|
|
462
|
+
}, z.core.$strip>;
|
|
463
|
+
}, z.core.$strip>>;
|
|
517
464
|
declare const ContinentsMapsDTO: z.ZodArray<z.ZodObject<{
|
|
518
|
-
/** The map name. */
|
|
519
465
|
name: z.ZodString;
|
|
520
|
-
/** The minimum level of the map. */
|
|
521
466
|
min_level: z.ZodNumber;
|
|
522
|
-
/** The maximum level of the map. */
|
|
523
467
|
max_level: z.ZodNumber;
|
|
524
|
-
/** The default floor of the map. */
|
|
525
468
|
default_floor: z.ZodNumber;
|
|
526
|
-
/** The coordinates of the map label. */
|
|
527
469
|
label_coord: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
528
|
-
/** The dimensions of the map, given as the coordinates of the lower-left (SW) and upper-right (NE) corners. */
|
|
529
470
|
map_rect: z.ZodArray<z.ZodArray<z.ZodNumber>>;
|
|
530
|
-
/**
|
|
531
|
-
* The dimensions of the map within the continent coordinate system,
|
|
532
|
-
* given as top-left (NW) and bottom-right (SE) corner coordinates.
|
|
533
|
-
*/
|
|
534
471
|
continent_rect: z.ZodArray<z.ZodArray<z.ZodNumber>>;
|
|
535
|
-
/** A list of points of interest (landmarks, waypoints, vistas, etc). */
|
|
536
472
|
points_of_interest: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
537
|
-
/** The point of interest id. */
|
|
538
473
|
id: z.ZodNumber;
|
|
539
|
-
/** The name of the point of interest. */
|
|
540
474
|
name: z.ZodOptional<z.ZodString>;
|
|
541
|
-
/** Type of the point of interest. */
|
|
542
475
|
type: z.ZodString;
|
|
543
|
-
/** The floor of this object. */
|
|
544
476
|
floor: z.ZodNumber;
|
|
545
|
-
/** The coordinates of this object. */
|
|
546
477
|
coord: z.ZodArray<z.ZodNumber>;
|
|
547
|
-
/** The point of interest chat link. */
|
|
548
478
|
chat_link: z.ZodString;
|
|
549
|
-
/** PoI icon. Only available for unlock types */
|
|
550
479
|
icon: z.ZodOptional<z.ZodString>;
|
|
551
|
-
},
|
|
552
|
-
/** A list of renown hearts. */
|
|
480
|
+
}, z.core.$strip>>;
|
|
553
481
|
tasks: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
554
|
-
/** The renown heart id. */
|
|
555
482
|
id: z.ZodNumber;
|
|
556
|
-
/** The objective or name of the heart. */
|
|
557
483
|
objective: z.ZodString;
|
|
558
|
-
/** The level of the heart. */
|
|
559
484
|
level: z.ZodNumber;
|
|
560
|
-
/** The coordinates where it takes place. */
|
|
561
485
|
coord: z.ZodArray<z.ZodNumber>;
|
|
562
|
-
/** A list of coordinates marking the boundary of the heart. */
|
|
563
486
|
bounds: z.ZodArray<z.ZodArray<z.ZodNumber>>;
|
|
564
|
-
/** The renown heart chat link. */
|
|
565
487
|
chat_link: z.ZodString;
|
|
566
|
-
},
|
|
567
|
-
/** A list of skill challenges. */
|
|
488
|
+
}, z.core.$strip>>;
|
|
568
489
|
skill_challenges: z.ZodArray<z.ZodObject<{
|
|
569
|
-
/**
|
|
570
|
-
* The hero challenge id, formed of two numbers separated by a dash.
|
|
571
|
-
* The first number represents the expansion (0 for Core Tyria, 1 for Heart of Thorns and 2 for Path of Fire),
|
|
572
|
-
* and therefore could be used to change the hero challenge map marker icon.
|
|
573
|
-
* If the first number and dash prefix is removed from the string,
|
|
574
|
-
* the second number is no longer unique among other hero challenges.
|
|
575
|
-
*/
|
|
576
490
|
id: z.ZodOptional<z.ZodString>;
|
|
577
|
-
/** The coordinates of this hero challenge. */
|
|
578
491
|
coord: z.ZodArray<z.ZodNumber>;
|
|
579
|
-
},
|
|
580
|
-
/** A list of areas within the map. */
|
|
492
|
+
}, z.core.$strip>>;
|
|
581
493
|
sectors: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
582
|
-
/** The area id. */
|
|
583
494
|
id: z.ZodNumber;
|
|
584
|
-
/** The name of the area. */
|
|
585
495
|
name: z.ZodOptional<z.ZodString>;
|
|
586
|
-
/** The level of the area. */
|
|
587
496
|
level: z.ZodNumber;
|
|
588
|
-
/** The coordinates of this area (this is usually the center position). */
|
|
589
497
|
coord: z.ZodArray<z.ZodNumber>;
|
|
590
|
-
/** A list of coordinates marking the boundary of the area. */
|
|
591
498
|
bounds: z.ZodArray<z.ZodArray<z.ZodNumber>>;
|
|
592
|
-
/** The area chat link. */
|
|
593
499
|
chat_link: z.ZodString;
|
|
594
|
-
},
|
|
595
|
-
/** A list of adventures within the map. */
|
|
500
|
+
}, z.core.$strip>>;
|
|
596
501
|
adventures: z.ZodArray<z.ZodObject<{
|
|
597
|
-
/** The adventure guid (token length 8-4-4-4-12 with a dash between each group of digits). */
|
|
598
502
|
id: z.ZodString;
|
|
599
|
-
/** The coordinates of the start of the adventure. */
|
|
600
503
|
coord: z.ZodArray<z.ZodNumber>;
|
|
601
|
-
/** The name of the adventure. */
|
|
602
504
|
name: z.ZodString;
|
|
603
|
-
/** The description of the adventure. */
|
|
604
505
|
description: z.ZodString;
|
|
605
|
-
},
|
|
606
|
-
/** A list of mastery insights within the map. */
|
|
506
|
+
}, z.core.$strip>>;
|
|
607
507
|
mastery_points: z.ZodArray<z.ZodObject<{
|
|
608
|
-
/** The mastery insight id. */
|
|
609
508
|
id: z.ZodNumber;
|
|
610
|
-
/** The region of the mastery insight, which determines its color. */
|
|
611
509
|
region: z.ZodString;
|
|
612
|
-
/** The coordinates of the mastery insight. */
|
|
613
510
|
coord: z.ZodArray<z.ZodNumber>;
|
|
614
|
-
},
|
|
615
|
-
},
|
|
511
|
+
}, z.core.$strip>>;
|
|
512
|
+
}, z.core.$strip>>;
|
|
616
513
|
declare const ContinentsRegionsDTO: z.ZodArray<z.ZodObject<{
|
|
617
|
-
/** Id of the region. */
|
|
618
514
|
id: z.ZodNumber;
|
|
619
|
-
/** Name of the region. */
|
|
620
515
|
name: z.ZodString;
|
|
621
|
-
/** The coordinates of the region label. */
|
|
622
516
|
label_coord: z.ZodArray<z.ZodNumber>;
|
|
623
|
-
/** The dimensions of the continent, expressed as top-left (NW) and bottom-right (SE) corner coordinates. */
|
|
624
517
|
continent_rect: z.ZodArray<z.ZodArray<z.ZodNumber>>;
|
|
625
|
-
/** A mapping from the map id to an object. */
|
|
626
518
|
maps: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
627
|
-
/** The map name. */
|
|
628
519
|
name: z.ZodString;
|
|
629
|
-
/** The minimum level of the map. */
|
|
630
520
|
min_level: z.ZodNumber;
|
|
631
|
-
/** The maximum level of the map. */
|
|
632
521
|
max_level: z.ZodNumber;
|
|
633
|
-
/** The default floor of the map. */
|
|
634
522
|
default_floor: z.ZodNumber;
|
|
635
|
-
/** The coordinates of the map label. */
|
|
636
523
|
label_coord: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
637
|
-
/** The dimensions of the map, given as the coordinates of the lower-left (SW) and upper-right (NE) corners. */
|
|
638
524
|
map_rect: z.ZodArray<z.ZodArray<z.ZodNumber>>;
|
|
639
|
-
/**
|
|
640
|
-
* The dimensions of the map within the continent coordinate system,
|
|
641
|
-
* given as top-left (NW) and bottom-right (SE) corner coordinates.
|
|
642
|
-
*/
|
|
643
525
|
continent_rect: z.ZodArray<z.ZodArray<z.ZodNumber>>;
|
|
644
|
-
/** A list of points of interest (landmarks, waypoints, vistas, etc). */
|
|
645
526
|
points_of_interest: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
646
|
-
/** The point of interest id. */
|
|
647
527
|
id: z.ZodNumber;
|
|
648
|
-
/** The name of the point of interest. */
|
|
649
528
|
name: z.ZodOptional<z.ZodString>;
|
|
650
|
-
/** Type of the point of interest. */
|
|
651
529
|
type: z.ZodString;
|
|
652
|
-
/** The floor of this object. */
|
|
653
530
|
floor: z.ZodNumber;
|
|
654
|
-
/** The coordinates of this object. */
|
|
655
531
|
coord: z.ZodArray<z.ZodNumber>;
|
|
656
|
-
/** The point of interest chat link. */
|
|
657
532
|
chat_link: z.ZodString;
|
|
658
|
-
/** PoI icon. Only available for unlock types */
|
|
659
533
|
icon: z.ZodOptional<z.ZodString>;
|
|
660
|
-
},
|
|
661
|
-
/** A list of renown hearts. */
|
|
534
|
+
}, z.core.$strip>>;
|
|
662
535
|
tasks: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
663
|
-
/** The renown heart id. */
|
|
664
536
|
id: z.ZodNumber;
|
|
665
|
-
/** The objective or name of the heart. */
|
|
666
537
|
objective: z.ZodString;
|
|
667
|
-
/** The level of the heart. */
|
|
668
538
|
level: z.ZodNumber;
|
|
669
|
-
/** The coordinates where it takes place. */
|
|
670
539
|
coord: z.ZodArray<z.ZodNumber>;
|
|
671
|
-
/** A list of coordinates marking the boundary of the heart. */
|
|
672
540
|
bounds: z.ZodArray<z.ZodArray<z.ZodNumber>>;
|
|
673
|
-
/** The renown heart chat link. */
|
|
674
541
|
chat_link: z.ZodString;
|
|
675
|
-
},
|
|
676
|
-
/** A list of skill challenges. */
|
|
542
|
+
}, z.core.$strip>>;
|
|
677
543
|
skill_challenges: z.ZodArray<z.ZodObject<{
|
|
678
|
-
/**
|
|
679
|
-
* The hero challenge id, formed of two numbers separated by a dash.
|
|
680
|
-
* The first number represents the expansion (0 for Core Tyria, 1 for Heart of Thorns and 2 for Path of Fire),
|
|
681
|
-
* and therefore could be used to change the hero challenge map marker icon.
|
|
682
|
-
* If the first number and dash prefix is removed from the string,
|
|
683
|
-
* the second number is no longer unique among other hero challenges.
|
|
684
|
-
*/
|
|
685
544
|
id: z.ZodOptional<z.ZodString>;
|
|
686
|
-
/** The coordinates of this hero challenge. */
|
|
687
545
|
coord: z.ZodArray<z.ZodNumber>;
|
|
688
|
-
},
|
|
689
|
-
/** A list of areas within the map. */
|
|
546
|
+
}, z.core.$strip>>;
|
|
690
547
|
sectors: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
691
|
-
/** The area id. */
|
|
692
548
|
id: z.ZodNumber;
|
|
693
|
-
/** The name of the area. */
|
|
694
549
|
name: z.ZodOptional<z.ZodString>;
|
|
695
|
-
/** The level of the area. */
|
|
696
550
|
level: z.ZodNumber;
|
|
697
|
-
/** The coordinates of this area (this is usually the center position). */
|
|
698
551
|
coord: z.ZodArray<z.ZodNumber>;
|
|
699
|
-
/** A list of coordinates marking the boundary of the area. */
|
|
700
552
|
bounds: z.ZodArray<z.ZodArray<z.ZodNumber>>;
|
|
701
|
-
/** The area chat link. */
|
|
702
553
|
chat_link: z.ZodString;
|
|
703
|
-
},
|
|
704
|
-
/** A list of adventures within the map. */
|
|
554
|
+
}, z.core.$strip>>;
|
|
705
555
|
adventures: z.ZodArray<z.ZodObject<{
|
|
706
|
-
/** The adventure guid (token length 8-4-4-4-12 with a dash between each group of digits). */
|
|
707
556
|
id: z.ZodString;
|
|
708
|
-
/** The coordinates of the start of the adventure. */
|
|
709
557
|
coord: z.ZodArray<z.ZodNumber>;
|
|
710
|
-
/** The name of the adventure. */
|
|
711
558
|
name: z.ZodString;
|
|
712
|
-
/** The description of the adventure. */
|
|
713
559
|
description: z.ZodString;
|
|
714
|
-
},
|
|
715
|
-
/** A list of mastery insights within the map. */
|
|
560
|
+
}, z.core.$strip>>;
|
|
716
561
|
mastery_points: z.ZodArray<z.ZodObject<{
|
|
717
|
-
/** The mastery insight id. */
|
|
718
562
|
id: z.ZodNumber;
|
|
719
|
-
/** The region of the mastery insight, which determines its color. */
|
|
720
563
|
region: z.ZodString;
|
|
721
|
-
/** The coordinates of the mastery insight. */
|
|
722
564
|
coord: z.ZodArray<z.ZodNumber>;
|
|
723
|
-
},
|
|
724
|
-
},
|
|
725
|
-
},
|
|
565
|
+
}, z.core.$strip>>;
|
|
566
|
+
}, z.core.$strip>>;
|
|
567
|
+
}, z.core.$strip>>;
|
|
726
568
|
declare const ContinentsFloorsDTO: z.ZodArray<z.ZodObject<{
|
|
727
|
-
/** Floor id. */
|
|
728
569
|
id: z.ZodNumber;
|
|
729
|
-
/** Dimensions of the region texture. */
|
|
730
570
|
texture_dims: z.ZodArray<z.ZodNumber>;
|
|
731
|
-
/**
|
|
732
|
-
* If present, represents a rectangle of textures.
|
|
733
|
-
* Each tile coordinate outside this rectangle is not available on the server.
|
|
734
|
-
*/
|
|
735
571
|
clamped_view: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodNumber>>>;
|
|
736
|
-
/** Mapping from the region id to an object. */
|
|
737
572
|
regions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
738
|
-
/** Id of the region. */
|
|
739
573
|
id: z.ZodNumber;
|
|
740
|
-
/** Name of the region. */
|
|
741
574
|
name: z.ZodString;
|
|
742
|
-
/** The coordinates of the region label. */
|
|
743
575
|
label_coord: z.ZodArray<z.ZodNumber>;
|
|
744
|
-
/** The dimensions of the continent, expressed as top-left (NW) and bottom-right (SE) corner coordinates. */
|
|
745
576
|
continent_rect: z.ZodArray<z.ZodArray<z.ZodNumber>>;
|
|
746
|
-
/** A mapping from the map id to an object. */
|
|
747
577
|
maps: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
748
|
-
/** The map name. */
|
|
749
578
|
name: z.ZodString;
|
|
750
|
-
/** The minimum level of the map. */
|
|
751
579
|
min_level: z.ZodNumber;
|
|
752
|
-
/** The maximum level of the map. */
|
|
753
580
|
max_level: z.ZodNumber;
|
|
754
|
-
/** The default floor of the map. */
|
|
755
581
|
default_floor: z.ZodNumber;
|
|
756
|
-
/** The coordinates of the map label. */
|
|
757
582
|
label_coord: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
758
|
-
/** The dimensions of the map, given as the coordinates of the lower-left (SW) and upper-right (NE) corners. */
|
|
759
583
|
map_rect: z.ZodArray<z.ZodArray<z.ZodNumber>>;
|
|
760
|
-
/**
|
|
761
|
-
* The dimensions of the map within the continent coordinate system,
|
|
762
|
-
* given as top-left (NW) and bottom-right (SE) corner coordinates.
|
|
763
|
-
*/
|
|
764
584
|
continent_rect: z.ZodArray<z.ZodArray<z.ZodNumber>>;
|
|
765
|
-
/** A list of points of interest (landmarks, waypoints, vistas, etc). */
|
|
766
585
|
points_of_interest: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
767
|
-
/** The point of interest id. */
|
|
768
586
|
id: z.ZodNumber;
|
|
769
|
-
/** The name of the point of interest. */
|
|
770
587
|
name: z.ZodOptional<z.ZodString>;
|
|
771
|
-
/** Type of the point of interest. */
|
|
772
588
|
type: z.ZodString;
|
|
773
|
-
/** The floor of this object. */
|
|
774
589
|
floor: z.ZodNumber;
|
|
775
|
-
/** The coordinates of this object. */
|
|
776
590
|
coord: z.ZodArray<z.ZodNumber>;
|
|
777
|
-
/** The point of interest chat link. */
|
|
778
591
|
chat_link: z.ZodString;
|
|
779
|
-
/** PoI icon. Only available for unlock types */
|
|
780
592
|
icon: z.ZodOptional<z.ZodString>;
|
|
781
|
-
},
|
|
782
|
-
/** A list of renown hearts. */
|
|
593
|
+
}, z.core.$strip>>;
|
|
783
594
|
tasks: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
784
|
-
/** The renown heart id. */
|
|
785
595
|
id: z.ZodNumber;
|
|
786
|
-
/** The objective or name of the heart. */
|
|
787
596
|
objective: z.ZodString;
|
|
788
|
-
/** The level of the heart. */
|
|
789
597
|
level: z.ZodNumber;
|
|
790
|
-
/** The coordinates where it takes place. */
|
|
791
598
|
coord: z.ZodArray<z.ZodNumber>;
|
|
792
|
-
/** A list of coordinates marking the boundary of the heart. */
|
|
793
599
|
bounds: z.ZodArray<z.ZodArray<z.ZodNumber>>;
|
|
794
|
-
/** The renown heart chat link. */
|
|
795
600
|
chat_link: z.ZodString;
|
|
796
|
-
},
|
|
797
|
-
/** A list of skill challenges. */
|
|
601
|
+
}, z.core.$strip>>;
|
|
798
602
|
skill_challenges: z.ZodArray<z.ZodObject<{
|
|
799
|
-
/**
|
|
800
|
-
* The hero challenge id, formed of two numbers separated by a dash.
|
|
801
|
-
* The first number represents the expansion (0 for Core Tyria, 1 for Heart of Thorns and 2 for Path of Fire),
|
|
802
|
-
* and therefore could be used to change the hero challenge map marker icon.
|
|
803
|
-
* If the first number and dash prefix is removed from the string,
|
|
804
|
-
* the second number is no longer unique among other hero challenges.
|
|
805
|
-
*/
|
|
806
603
|
id: z.ZodOptional<z.ZodString>;
|
|
807
|
-
/** The coordinates of this hero challenge. */
|
|
808
604
|
coord: z.ZodArray<z.ZodNumber>;
|
|
809
|
-
},
|
|
810
|
-
/** A list of areas within the map. */
|
|
605
|
+
}, z.core.$strip>>;
|
|
811
606
|
sectors: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
812
|
-
/** The area id. */
|
|
813
607
|
id: z.ZodNumber;
|
|
814
|
-
/** The name of the area. */
|
|
815
608
|
name: z.ZodOptional<z.ZodString>;
|
|
816
|
-
/** The level of the area. */
|
|
817
609
|
level: z.ZodNumber;
|
|
818
|
-
/** The coordinates of this area (this is usually the center position). */
|
|
819
610
|
coord: z.ZodArray<z.ZodNumber>;
|
|
820
|
-
/** A list of coordinates marking the boundary of the area. */
|
|
821
611
|
bounds: z.ZodArray<z.ZodArray<z.ZodNumber>>;
|
|
822
|
-
/** The area chat link. */
|
|
823
612
|
chat_link: z.ZodString;
|
|
824
|
-
},
|
|
825
|
-
/** A list of adventures within the map. */
|
|
613
|
+
}, z.core.$strip>>;
|
|
826
614
|
adventures: z.ZodArray<z.ZodObject<{
|
|
827
|
-
/** The adventure guid (token length 8-4-4-4-12 with a dash between each group of digits). */
|
|
828
615
|
id: z.ZodString;
|
|
829
|
-
/** The coordinates of the start of the adventure. */
|
|
830
616
|
coord: z.ZodArray<z.ZodNumber>;
|
|
831
|
-
/** The name of the adventure. */
|
|
832
617
|
name: z.ZodString;
|
|
833
|
-
/** The description of the adventure. */
|
|
834
618
|
description: z.ZodString;
|
|
835
|
-
},
|
|
836
|
-
/** A list of mastery insights within the map. */
|
|
619
|
+
}, z.core.$strip>>;
|
|
837
620
|
mastery_points: z.ZodArray<z.ZodObject<{
|
|
838
|
-
/** The mastery insight id. */
|
|
839
621
|
id: z.ZodNumber;
|
|
840
|
-
/** The region of the mastery insight, which determines its color. */
|
|
841
622
|
region: z.ZodString;
|
|
842
|
-
/** The coordinates of the mastery insight. */
|
|
843
623
|
coord: z.ZodArray<z.ZodNumber>;
|
|
844
|
-
},
|
|
845
|
-
},
|
|
846
|
-
},
|
|
847
|
-
},
|
|
624
|
+
}, z.core.$strip>>;
|
|
625
|
+
}, z.core.$strip>>;
|
|
626
|
+
}, z.core.$strip>>;
|
|
627
|
+
}, z.core.$strip>>;
|
|
848
628
|
declare const ContinentsDTO: z.ZodArray<z.ZodObject<{
|
|
849
|
-
/** Continent id. */
|
|
850
629
|
id: z.ZodNumber;
|
|
851
|
-
/** Continent name. */
|
|
852
630
|
name: z.ZodString;
|
|
853
|
-
/** Width and height dimensions of the continent. */
|
|
854
631
|
continents_dims: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
855
|
-
/** Minimal zoom level for use with this map tile. */
|
|
856
632
|
min_zoom: z.ZodNumber;
|
|
857
|
-
/** Maximum zoom level for use with this map tile. */
|
|
858
633
|
max_zoom: z.ZodNumber;
|
|
859
|
-
/** List of floor ids available for this continent. */
|
|
860
634
|
floors: z.ZodArray<z.ZodNumber>;
|
|
861
|
-
},
|
|
635
|
+
}, z.core.$strip>>;
|
|
862
636
|
declare const HomesteadDecorationsDTO: z.ZodArray<z.ZodObject<{
|
|
863
|
-
/** The decoration id. */
|
|
864
637
|
id: z.ZodNumber;
|
|
865
638
|
name: z.ZodString;
|
|
866
|
-
/** The homestead decoration description. */
|
|
867
639
|
description: z.ZodString;
|
|
868
|
-
/** The maximum amount of storable instances of this decoration. */
|
|
869
640
|
max_count: z.ZodNumber;
|
|
870
|
-
/** A URL pointing to an icon for the decoration. */
|
|
871
641
|
icon: z.ZodString;
|
|
872
|
-
/** An array of decoration category ids which this decoration belongs to.
|
|
873
|
-
* Can be compared to the v2/homestead/decorations/categories endpoint */
|
|
874
642
|
categories: z.ZodArray<z.ZodNumber>;
|
|
875
|
-
},
|
|
643
|
+
}, z.core.$strip>>;
|
|
876
644
|
declare const HomesteadDecorationsCategoriesDTO: z.ZodArray<z.ZodObject<{
|
|
877
|
-
/** The category's ID. */
|
|
878
645
|
id: z.ZodNumber;
|
|
879
|
-
/** The category name. */
|
|
880
646
|
name: z.ZodString;
|
|
881
|
-
},
|
|
647
|
+
}, z.core.$strip>>;
|
|
882
648
|
declare const HomesteadGlyphsDTO: z.ZodArray<z.ZodObject<{
|
|
883
|
-
/** The homestead glyph id. */
|
|
884
649
|
id: z.ZodString;
|
|
885
|
-
/** The id of the glyph item.
|
|
886
|
-
* Can be compared to the /v2/items endpoint. */
|
|
887
650
|
item_id: z.ZodNumber;
|
|
888
|
-
/** The slot it is attached to. */
|
|
889
651
|
slot: z.ZodEnum<{
|
|
890
652
|
harvesting: "harvesting";
|
|
891
653
|
mining: "mining";
|
|
892
654
|
logging: "logging";
|
|
893
655
|
}>;
|
|
894
|
-
},
|
|
656
|
+
}, z.core.$strip>>;
|
|
895
657
|
declare const ColorsDTO: z.ZodArray<z.ZodObject<{
|
|
896
|
-
/** The color id. */
|
|
897
658
|
id: z.ZodNumber;
|
|
898
|
-
/** The color name. */
|
|
899
659
|
name: z.ZodString;
|
|
900
|
-
/** The base RGB values. */
|
|
901
660
|
base_rgb: z.ZodArray<z.ZodNumber>;
|
|
902
|
-
/** Detailed information on its appearance when applied on cloth armor. */
|
|
903
661
|
cloth: z.ZodObject<{
|
|
904
|
-
/** Color brightness. */
|
|
905
662
|
brightness: z.ZodNumber;
|
|
906
|
-
/** Color contrast. */
|
|
907
663
|
contrast: z.ZodNumber;
|
|
908
|
-
/** Color hue. */
|
|
909
664
|
hue: z.ZodNumber;
|
|
910
|
-
/** Color saturation. */
|
|
911
665
|
saturation: z.ZodNumber;
|
|
912
|
-
/** Color lightness. */
|
|
913
666
|
lightness: z.ZodNumber;
|
|
914
|
-
/** Color RGB values. */
|
|
915
667
|
rgb: z.ZodArray<z.ZodNumber>;
|
|
916
|
-
},
|
|
917
|
-
/** Detailed information on its appearance when applied on leather armor. */
|
|
668
|
+
}, z.core.$strip>;
|
|
918
669
|
leather: z.ZodObject<{
|
|
919
|
-
/** Color brightness. */
|
|
920
670
|
brightness: z.ZodNumber;
|
|
921
|
-
/** Color contrast. */
|
|
922
671
|
contrast: z.ZodNumber;
|
|
923
|
-
/** Color hue. */
|
|
924
672
|
hue: z.ZodNumber;
|
|
925
|
-
/** Color saturation. */
|
|
926
673
|
saturation: z.ZodNumber;
|
|
927
|
-
/** Color lightness. */
|
|
928
674
|
lightness: z.ZodNumber;
|
|
929
|
-
/** Color RGB values. */
|
|
930
675
|
rgb: z.ZodArray<z.ZodNumber>;
|
|
931
|
-
},
|
|
932
|
-
/** Detailed information on its appearance when applied on metal armor. */
|
|
676
|
+
}, z.core.$strip>;
|
|
933
677
|
metal: z.ZodObject<{
|
|
934
|
-
/** Color brightness. */
|
|
935
678
|
brightness: z.ZodNumber;
|
|
936
|
-
/** Color contrast. */
|
|
937
679
|
contrast: z.ZodNumber;
|
|
938
|
-
/** Color hue. */
|
|
939
680
|
hue: z.ZodNumber;
|
|
940
|
-
/** Color saturation. */
|
|
941
681
|
saturation: z.ZodNumber;
|
|
942
|
-
/** Color lightness. */
|
|
943
682
|
lightness: z.ZodNumber;
|
|
944
|
-
/** Color RGB values. */
|
|
945
683
|
rgb: z.ZodArray<z.ZodNumber>;
|
|
946
|
-
},
|
|
947
|
-
/** Detailed information on its appearance when applied on fur armor. */
|
|
684
|
+
}, z.core.$strip>;
|
|
948
685
|
fur: z.ZodOptional<z.ZodObject<{
|
|
949
|
-
/** Color brightness. */
|
|
950
686
|
brightness: z.ZodNumber;
|
|
951
|
-
/** Color contrast. */
|
|
952
687
|
contrast: z.ZodNumber;
|
|
953
|
-
/** Color hue. */
|
|
954
688
|
hue: z.ZodNumber;
|
|
955
|
-
/** Color saturation. */
|
|
956
689
|
saturation: z.ZodNumber;
|
|
957
|
-
/** Color lightness. */
|
|
958
690
|
lightness: z.ZodNumber;
|
|
959
|
-
/** Color RGB values. */
|
|
960
691
|
rgb: z.ZodArray<z.ZodNumber>;
|
|
961
|
-
},
|
|
962
|
-
/** ID of the dye item. */
|
|
692
|
+
}, z.core.$strip>>;
|
|
963
693
|
item: z.ZodOptional<z.ZodNumber>;
|
|
964
|
-
/** Color categories. */
|
|
965
694
|
categories: z.ZodUnion<[
|
|
966
695
|
z.ZodTuple<[
|
|
967
696
|
z.ZodEnum<{
|
|
@@ -989,89 +718,56 @@ declare const ColorsDTO: z.ZodArray<z.ZodObject<{
|
|
|
989
718
|
], null>,
|
|
990
719
|
z.ZodArray<z.ZodUndefined>
|
|
991
720
|
]>;
|
|
992
|
-
},
|
|
721
|
+
}, z.core.$strip>>;
|
|
993
722
|
declare const EmotesDTO: z.ZodArray<z.ZodObject<{
|
|
994
|
-
/** Id of the emote. */
|
|
995
723
|
id: z.ZodString;
|
|
996
|
-
/** List of all available commands for the emote. */
|
|
997
724
|
commands: z.ZodArray<z.ZodString>;
|
|
998
|
-
/** List of ids of the items. Can be resolved against /v2/items. */
|
|
999
725
|
unlock_items: z.ZodArray<z.ZodNumber>;
|
|
1000
|
-
},
|
|
726
|
+
}, z.core.$strip>>;
|
|
1001
727
|
declare const CurrenciesDTO: z.ZodArray<z.ZodObject<{
|
|
1002
|
-
/** Currency id. */
|
|
1003
728
|
id: z.ZodNumber;
|
|
1004
|
-
/** Currency name. */
|
|
1005
729
|
name: z.ZodString;
|
|
1006
|
-
/** Currency description. */
|
|
1007
730
|
description: z.ZodString;
|
|
1008
|
-
/** Order of the currency in the list. */
|
|
1009
731
|
order: z.ZodNumber;
|
|
1010
|
-
/** Currency icon url. */
|
|
1011
732
|
icon: z.ZodString;
|
|
1012
|
-
},
|
|
733
|
+
}, z.core.$strip>>;
|
|
1013
734
|
declare const DungeonsDTO: z.ZodArray<z.ZodObject<{
|
|
1014
|
-
/** The name of the dungeon.*/
|
|
1015
735
|
id: z.ZodString;
|
|
1016
|
-
/** The paths in the dungeon. */
|
|
1017
736
|
paths: z.ZodArray<z.ZodObject<{
|
|
1018
|
-
/** The given name for the dungeon path. */
|
|
1019
737
|
id: z.ZodString;
|
|
1020
|
-
/** The type of the chosen path. */
|
|
1021
738
|
type: z.ZodEnum<{
|
|
1022
739
|
Story: "Story";
|
|
1023
740
|
Explorable: "Explorable";
|
|
1024
741
|
}>;
|
|
1025
|
-
},
|
|
1026
|
-
},
|
|
742
|
+
}, z.core.$strip>>;
|
|
743
|
+
}, z.core.$strip>>;
|
|
1027
744
|
declare const FilesDTO: z.ZodArray<z.ZodObject<{
|
|
1028
|
-
/** The file identifier. */
|
|
1029
745
|
id: z.ZodString;
|
|
1030
|
-
/** The URL to the image. */
|
|
1031
746
|
icon: z.ZodString;
|
|
1032
|
-
},
|
|
747
|
+
}, z.core.$strip>>;
|
|
1033
748
|
declare const FinishersDTO: z.ZodArray<z.ZodObject<{
|
|
1034
|
-
/** The id of the finisher. */
|
|
1035
749
|
id: z.ZodNumber;
|
|
1036
|
-
/** A description explaining how to acquire the finisher. */
|
|
1037
750
|
unlock_details: z.ZodString;
|
|
1038
|
-
/** An array of item ids used to unlock the finisher. Can be resolved against v2/items */
|
|
1039
751
|
unlock_items: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1040
|
-
/** The order in which the finisher appears in a list. */
|
|
1041
752
|
order: z.ZodNumber;
|
|
1042
|
-
/** The icon uri for the finisher. */
|
|
1043
753
|
icon: z.ZodString;
|
|
1044
|
-
/** The name of the finisher as it appears in-game. */
|
|
1045
754
|
name: z.ZodString;
|
|
1046
|
-
},
|
|
755
|
+
}, z.core.$strip>>;
|
|
1047
756
|
declare const GlidersDTO: z.ZodArray<z.ZodObject<{
|
|
1048
|
-
/** The id of the glider. */
|
|
1049
757
|
id: z.ZodNumber;
|
|
1050
|
-
/** An array of item ids used to unlock the glider. Can be resolved against /v2/items. */
|
|
1051
758
|
unlock_items: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1052
|
-
/** The order in which the glider appears in a list. The value is not unique. */
|
|
1053
759
|
order: z.ZodNumber;
|
|
1054
|
-
/** The icon URL for the glider. */
|
|
1055
760
|
icon: z.ZodString;
|
|
1056
|
-
/** The name of the glider as it appears in-game. */
|
|
1057
761
|
name: z.ZodString;
|
|
1058
|
-
/** The in-game glider description. */
|
|
1059
762
|
description: z.ZodString;
|
|
1060
|
-
/** List of dye ids. Can be resolved against /v2/colors. */
|
|
1061
763
|
default_dyes: z.ZodArray<z.ZodNumber>;
|
|
1062
|
-
},
|
|
764
|
+
}, z.core.$strip>>;
|
|
1063
765
|
declare const ItemsDTO: z.ZodArray<z.ZodObject<{
|
|
1064
|
-
/** The item id. */
|
|
1065
766
|
id: z.ZodNumber;
|
|
1066
|
-
/** The chat link. */
|
|
1067
767
|
chat_link: z.ZodString;
|
|
1068
|
-
/** The item name. */
|
|
1069
768
|
name: z.ZodString;
|
|
1070
|
-
/** The full icon url. */
|
|
1071
769
|
icon: z.ZodOptional<z.ZodString>;
|
|
1072
|
-
/** The item description. */
|
|
1073
770
|
description: z.ZodOptional<z.ZodString>;
|
|
1074
|
-
/** The item type. */
|
|
1075
771
|
type: z.ZodEnum<{
|
|
1076
772
|
PowerCore: "PowerCore";
|
|
1077
773
|
Consumable: "Consumable";
|
|
@@ -1092,7 +788,6 @@ declare const ItemsDTO: z.ZodArray<z.ZodObject<{
|
|
|
1092
788
|
UpgradeComponent: "UpgradeComponent";
|
|
1093
789
|
Weapon: "Weapon";
|
|
1094
790
|
}>;
|
|
1095
|
-
/** The item rarity. */
|
|
1096
791
|
rarity: z.ZodEnum<{
|
|
1097
792
|
Rare: "Rare";
|
|
1098
793
|
Junk: "Junk";
|
|
@@ -1103,14 +798,9 @@ declare const ItemsDTO: z.ZodArray<z.ZodObject<{
|
|
|
1103
798
|
Ascended: "Ascended";
|
|
1104
799
|
Legendary: "Legendary";
|
|
1105
800
|
}>;
|
|
1106
|
-
/** The required level. */
|
|
1107
801
|
level: z.ZodNumber;
|
|
1108
|
-
/** The value in coins when selling to a vendor.
|
|
1109
|
-
* Note: Can be non-zero even when the item has the NoSell flag. */
|
|
1110
802
|
vendor_value: z.ZodNumber;
|
|
1111
|
-
/** The default skin id. */
|
|
1112
803
|
default_skin: z.ZodOptional<z.ZodNumber>;
|
|
1113
|
-
/** Flags applying to the item. */
|
|
1114
804
|
flags: z.ZodArray<z.ZodEnum<{
|
|
1115
805
|
AccountBindOnUse: "AccountBindOnUse";
|
|
1116
806
|
AccountBound: "AccountBound";
|
|
@@ -1130,8 +820,6 @@ declare const ItemsDTO: z.ZodArray<z.ZodObject<{
|
|
|
1130
820
|
Tonic: "Tonic";
|
|
1131
821
|
Unique: "Unique";
|
|
1132
822
|
}>>;
|
|
1133
|
-
/** The game types in which the item is usable.
|
|
1134
|
-
* At least one game type is specified. */
|
|
1135
823
|
game_types: z.ZodArray<z.ZodEnum<{
|
|
1136
824
|
Activity: "Activity";
|
|
1137
825
|
Dungeon: "Dungeon";
|
|
@@ -1140,7 +828,6 @@ declare const ItemsDTO: z.ZodArray<z.ZodObject<{
|
|
|
1140
828
|
Wvw: "Wvw";
|
|
1141
829
|
PvpLobby: "PvpLobby";
|
|
1142
830
|
}>>;
|
|
1143
|
-
/** Restrictions applied to the item. */
|
|
1144
831
|
restrictions: z.ZodArray<z.ZodEnum<{
|
|
1145
832
|
Asura: "Asura";
|
|
1146
833
|
Charr: "Charr";
|
|
@@ -1157,30 +844,22 @@ declare const ItemsDTO: z.ZodArray<z.ZodObject<{
|
|
|
1157
844
|
Thief: "Thief";
|
|
1158
845
|
Warrior: "Warrior";
|
|
1159
846
|
}>>;
|
|
1160
|
-
/** Lists what items this item can be upgraded into, and the method of upgrading. */
|
|
1161
847
|
upgrades_into: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1162
|
-
/** Describes the method of upgrading. */
|
|
1163
848
|
upgrade: z.ZodEnum<{
|
|
1164
849
|
Attunement: "Attunement";
|
|
1165
850
|
Infusion: "Infusion";
|
|
1166
851
|
}>;
|
|
1167
|
-
/** The item ID that results from performing the upgrade. */
|
|
1168
852
|
item_id: z.ZodNumber;
|
|
1169
|
-
},
|
|
1170
|
-
/** Lists what items this item can be upgraded from, and the method of upgrading. */
|
|
853
|
+
}, z.core.$strip>>>;
|
|
1171
854
|
upgrades_from: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1172
|
-
/** Describes the method of upgrading. */
|
|
1173
855
|
upgrade: z.ZodEnum<{
|
|
1174
856
|
Attunement: "Attunement";
|
|
1175
857
|
Infusion: "Infusion";
|
|
1176
858
|
}>;
|
|
1177
|
-
/** The item ID that results from performing the upgrade. */
|
|
1178
859
|
item_id: z.ZodNumber;
|
|
1179
|
-
},
|
|
1180
|
-
/** Additional item details, if applicable. */
|
|
860
|
+
}, z.core.$strip>>>;
|
|
1181
861
|
details: z.ZodUnion<readonly [
|
|
1182
862
|
z.ZodObject<{
|
|
1183
|
-
/** The armor slot type. */
|
|
1184
863
|
type: z.ZodEnum<{
|
|
1185
864
|
HelmAquatic: "HelmAquatic";
|
|
1186
865
|
Coat: "Coat";
|
|
@@ -1190,40 +869,24 @@ declare const ItemsDTO: z.ZodArray<z.ZodObject<{
|
|
|
1190
869
|
Leggings: "Leggings";
|
|
1191
870
|
Shoulders: "Shoulders";
|
|
1192
871
|
}>;
|
|
1193
|
-
/** The weight class of the armor piece. */
|
|
1194
872
|
weight_class: z.ZodEnum<{
|
|
1195
873
|
Heavy: "Heavy";
|
|
1196
874
|
Medium: "Medium";
|
|
1197
875
|
Light: "Light";
|
|
1198
876
|
Clothing: "Clothing";
|
|
1199
877
|
}>;
|
|
1200
|
-
/** The defense value of the armor piece. */
|
|
1201
878
|
defense: z.ZodNumber;
|
|
1202
|
-
/** Infusion slots of the armor piece. */
|
|
1203
879
|
infusion_slots: z.ZodArray<z.ZodObject<{
|
|
1204
|
-
/**
|
|
1205
|
-
* Infusion slot type of infusion upgrades.
|
|
1206
|
-
* The array contains a maximum of one value
|
|
1207
|
-
*/
|
|
1208
880
|
flags: z.ZodArray<z.ZodEnum<{
|
|
1209
881
|
Infusion: "Infusion";
|
|
1210
882
|
Enrichment: "Enrichment";
|
|
1211
883
|
}>>;
|
|
1212
|
-
/**
|
|
1213
|
-
* The infusion upgrade already in the armor piece.
|
|
1214
|
-
*/
|
|
1215
884
|
item_id: z.ZodOptional<z.ZodNumber>;
|
|
1216
|
-
},
|
|
1217
|
-
/** The value used to calculate attributes. See /v2/itemstats. */
|
|
885
|
+
}, z.core.$strip>>;
|
|
1218
886
|
attribute_adjustments: z.ZodNumber;
|
|
1219
|
-
/** The infix upgrade. */
|
|
1220
887
|
infix_upgrade: z.ZodOptional<z.ZodObject<{
|
|
1221
|
-
/** The itemstat id. Can be resolved against /v2/itemstats.
|
|
1222
|
-
* The usual whitelist restrictions apply, and not all itemstats may be visible. */
|
|
1223
888
|
id: z.ZodNumber;
|
|
1224
|
-
/** List of attribute bonuses. */
|
|
1225
889
|
attributes: z.ZodArray<z.ZodObject<{
|
|
1226
|
-
/** Attribute this bonus applies to. */
|
|
1227
890
|
attribute: z.ZodEnum<{
|
|
1228
891
|
AgonyResistance: "AgonyResistance";
|
|
1229
892
|
BoonDuration: "BoonDuration";
|
|
@@ -1236,46 +899,26 @@ declare const ItemsDTO: z.ZodArray<z.ZodObject<{
|
|
|
1236
899
|
Toughness: "Toughness";
|
|
1237
900
|
Vitality: "Vitality";
|
|
1238
901
|
}>;
|
|
1239
|
-
/** The modifier value. */
|
|
1240
902
|
modifier: z.ZodNumber;
|
|
1241
|
-
},
|
|
1242
|
-
/** Object containing an additional effect.
|
|
1243
|
-
* This is used for Boon Duration, Condition Duration,
|
|
1244
|
-
* or additional attribute bonuses for ascended trinkets or back items. */
|
|
903
|
+
}, z.core.$strip>>;
|
|
1245
904
|
buff: z.ZodOptional<z.ZodObject<{
|
|
1246
|
-
/** The skill id of the effect. */
|
|
1247
905
|
skill_id: z.ZodNumber;
|
|
1248
|
-
/** The effect's description. */
|
|
1249
906
|
description: z.ZodOptional<z.ZodString>;
|
|
1250
|
-
},
|
|
1251
|
-
},
|
|
1252
|
-
},
|
|
907
|
+
}, z.core.$strip>>;
|
|
908
|
+
}, z.core.$strip>>;
|
|
909
|
+
}, z.core.$strip>,
|
|
1253
910
|
z.ZodObject<{
|
|
1254
|
-
/** Infusion slots of the back item. */
|
|
1255
911
|
infusion_slots: z.ZodArray<z.ZodObject<{
|
|
1256
|
-
/**
|
|
1257
|
-
* Infusion slot type of infusion upgrades.
|
|
1258
|
-
* The array contains a maximum of one value
|
|
1259
|
-
*/
|
|
1260
912
|
flags: z.ZodArray<z.ZodEnum<{
|
|
1261
913
|
Infusion: "Infusion";
|
|
1262
914
|
Enrichment: "Enrichment";
|
|
1263
915
|
}>>;
|
|
1264
|
-
/**
|
|
1265
|
-
* The infusion upgrade already in the armor piece.
|
|
1266
|
-
*/
|
|
1267
916
|
item_id: z.ZodOptional<z.ZodNumber>;
|
|
1268
|
-
},
|
|
1269
|
-
/** The value used to calculate attributes. See /v2/itemstats. */
|
|
917
|
+
}, z.core.$strip>>;
|
|
1270
918
|
attribute_adjustments: z.ZodOptional<z.ZodNumber>;
|
|
1271
|
-
/** The infix upgrade. */
|
|
1272
919
|
infix_upgrade: z.ZodOptional<z.ZodObject<{
|
|
1273
|
-
/** The itemstat id. Can be resolved against /v2/itemstats.
|
|
1274
|
-
* The usual whitelist restrictions apply, and not all itemstats may be visible. */
|
|
1275
920
|
id: z.ZodNumber;
|
|
1276
|
-
/** List of attribute bonuses. */
|
|
1277
921
|
attributes: z.ZodArray<z.ZodObject<{
|
|
1278
|
-
/** Attribute this bonus applies to. */
|
|
1279
922
|
attribute: z.ZodEnum<{
|
|
1280
923
|
AgonyResistance: "AgonyResistance";
|
|
1281
924
|
BoonDuration: "BoonDuration";
|
|
@@ -1288,34 +931,22 @@ declare const ItemsDTO: z.ZodArray<z.ZodObject<{
|
|
|
1288
931
|
Toughness: "Toughness";
|
|
1289
932
|
Vitality: "Vitality";
|
|
1290
933
|
}>;
|
|
1291
|
-
/** The modifier value. */
|
|
1292
934
|
modifier: z.ZodNumber;
|
|
1293
|
-
},
|
|
1294
|
-
/** Object containing an additional effect.
|
|
1295
|
-
* This is used for Boon Duration, Condition Duration,
|
|
1296
|
-
* or additional attribute bonuses for ascended trinkets or back items. */
|
|
935
|
+
}, z.core.$strip>>;
|
|
1297
936
|
buff: z.ZodOptional<z.ZodObject<{
|
|
1298
|
-
/** The skill id of the effect. */
|
|
1299
937
|
skill_id: z.ZodNumber;
|
|
1300
|
-
/** The effect's description. */
|
|
1301
938
|
description: z.ZodOptional<z.ZodString>;
|
|
1302
|
-
},
|
|
1303
|
-
},
|
|
1304
|
-
/** The id of the item suffix. */
|
|
939
|
+
}, z.core.$strip>>;
|
|
940
|
+
}, z.core.$strip>>;
|
|
1305
941
|
suffix_item_id: z.ZodOptional<z.ZodNumber>;
|
|
1306
|
-
/** The secondary id of the item suffix. */
|
|
1307
942
|
secondary_suffix_item_id: z.ZodString;
|
|
1308
|
-
/** Selectable stat ids. Can be resolved by /v2/itemstats */
|
|
1309
943
|
stat_choices: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1310
|
-
},
|
|
944
|
+
}, z.core.$strip>,
|
|
1311
945
|
z.ZodObject<{
|
|
1312
|
-
/** The number of bag slots. */
|
|
1313
946
|
size: z.ZodNumber;
|
|
1314
|
-
/** Whether the bag is invisible or safe. */
|
|
1315
947
|
no_sell_or_sort: z.ZodBoolean;
|
|
1316
|
-
},
|
|
948
|
+
}, z.core.$strip>,
|
|
1317
949
|
z.ZodObject<{
|
|
1318
|
-
/** Consumable type. */
|
|
1319
950
|
type: z.ZodEnum<{
|
|
1320
951
|
Currency: "Currency";
|
|
1321
952
|
Unlock: "Unlock";
|
|
@@ -1333,11 +964,8 @@ declare const ItemsDTO: z.ZodArray<z.ZodObject<{
|
|
|
1333
964
|
Utility: "Utility";
|
|
1334
965
|
TeleportToFriend: "TeleportToFriend";
|
|
1335
966
|
}>;
|
|
1336
|
-
/** Effect description for consumables applying an effect. */
|
|
1337
967
|
description: z.ZodOptional<z.ZodString>;
|
|
1338
|
-
/** Effect duration, in milliseconds. */
|
|
1339
968
|
duration_ms: z.ZodOptional<z.ZodNumber>;
|
|
1340
|
-
/** Unlock type for unlock consumables */
|
|
1341
969
|
unlock_type: z.ZodOptional<z.ZodEnum<{
|
|
1342
970
|
RandomUnlock: "RandomUnlock";
|
|
1343
971
|
BagSlot: "BagSlot";
|
|
@@ -1353,34 +981,24 @@ declare const ItemsDTO: z.ZodArray<z.ZodObject<{
|
|
|
1353
981
|
Outfit: "Outfit";
|
|
1354
982
|
SharedSlot: "SharedSlot";
|
|
1355
983
|
}>>;
|
|
1356
|
-
/** The dye id for dye unlocks. */
|
|
1357
984
|
color_id: z.ZodOptional<z.ZodNumber>;
|
|
1358
|
-
/** The recipe id for recipe unlocks. */
|
|
1359
985
|
recipe_id: z.ZodOptional<z.ZodNumber>;
|
|
1360
|
-
/** Additional recipe ids for recipe unlocks */
|
|
1361
986
|
extra_recipe_ids: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1362
|
-
/** The guild upgrade id for the item. Can be resolved by /v2/guild/upgrades. */
|
|
1363
987
|
guild_upgrade_id: z.ZodOptional<z.ZodNumber>;
|
|
1364
|
-
/** The number of stacks of the effect applied by this item. */
|
|
1365
988
|
apply_count: z.ZodOptional<z.ZodNumber>;
|
|
1366
|
-
/** The effect type name of the consumable. */
|
|
1367
989
|
name: z.ZodOptional<z.ZodString>;
|
|
1368
|
-
/** The icon of the effect. */
|
|
1369
990
|
icon: z.ZodOptional<z.ZodString>;
|
|
1370
|
-
/** A list of skin ids which this item unlocks. Can be resolved by /v2/skins. */
|
|
1371
991
|
skins: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1372
|
-
},
|
|
992
|
+
}, z.core.$strip>,
|
|
1373
993
|
z.ZodObject<{
|
|
1374
|
-
/** Container type. */
|
|
1375
994
|
type: z.ZodEnum<{
|
|
1376
995
|
Immediate: "Immediate";
|
|
1377
996
|
Default: "Default";
|
|
1378
997
|
GiftBox: "GiftBox";
|
|
1379
998
|
OpenUI: "OpenUI";
|
|
1380
999
|
}>;
|
|
1381
|
-
},
|
|
1000
|
+
}, z.core.$strip>,
|
|
1382
1001
|
z.ZodObject<{
|
|
1383
|
-
/** Gathering utility type. */
|
|
1384
1002
|
type: z.ZodEnum<{
|
|
1385
1003
|
Foraging: "Foraging";
|
|
1386
1004
|
Logging: "Logging";
|
|
@@ -1388,62 +1006,41 @@ declare const ItemsDTO: z.ZodArray<z.ZodObject<{
|
|
|
1388
1006
|
Bait: "Bait";
|
|
1389
1007
|
Lure: "Lure";
|
|
1390
1008
|
}>;
|
|
1391
|
-
},
|
|
1009
|
+
}, z.core.$strip>,
|
|
1392
1010
|
z.ZodObject<{
|
|
1393
|
-
/** Gizmo type. */
|
|
1394
1011
|
type: z.ZodEnum<{
|
|
1395
1012
|
Default: "Default";
|
|
1396
1013
|
ContainerKey: "ContainerKey";
|
|
1397
1014
|
RentableContractNpc: "RentableContractNpc";
|
|
1398
1015
|
UnlimitedConsumable: "UnlimitedConsumable";
|
|
1399
1016
|
}>;
|
|
1400
|
-
/** The id of the guild decoration, which can be deposited. Can be resolved by /v2/guild/upgrades. */
|
|
1401
1017
|
guild_upgrade_id: z.ZodOptional<z.ZodNumber>;
|
|
1402
|
-
/** Vendor ids of the gizmo. */
|
|
1403
1018
|
vendor_ids: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1404
|
-
},
|
|
1019
|
+
}, z.core.$strip>,
|
|
1405
1020
|
z.ZodObject<{
|
|
1406
|
-
/** The miniature this item unlocks. Can be resolved by /v2/minis. */
|
|
1407
1021
|
minipet_id: z.ZodNumber;
|
|
1408
|
-
},
|
|
1022
|
+
}, z.core.$strip>,
|
|
1409
1023
|
z.ZodObject<{
|
|
1410
|
-
/** The tool type. Always the same value. */
|
|
1411
1024
|
type: z.ZodLiteral<"Salvage">;
|
|
1412
|
-
/** Number of charges. */
|
|
1413
1025
|
charges: z.ZodNumber;
|
|
1414
|
-
},
|
|
1026
|
+
}, z.core.$strip>,
|
|
1415
1027
|
z.ZodObject<{
|
|
1416
|
-
/** The trinket type. */
|
|
1417
1028
|
type: z.ZodEnum<{
|
|
1418
1029
|
Amulet: "Amulet";
|
|
1419
1030
|
Accessory: "Accessory";
|
|
1420
1031
|
Ring: "Ring";
|
|
1421
1032
|
}>;
|
|
1422
|
-
/** Infusion slots of the trinket. */
|
|
1423
1033
|
infusion_slots: z.ZodArray<z.ZodObject<{
|
|
1424
|
-
/**
|
|
1425
|
-
* Infusion slot type of infusion upgrades.
|
|
1426
|
-
* The array contains a maximum of one value
|
|
1427
|
-
*/
|
|
1428
1034
|
flags: z.ZodArray<z.ZodEnum<{
|
|
1429
1035
|
Infusion: "Infusion";
|
|
1430
1036
|
Enrichment: "Enrichment";
|
|
1431
1037
|
}>>;
|
|
1432
|
-
/**
|
|
1433
|
-
* The infusion upgrade already in the armor piece.
|
|
1434
|
-
*/
|
|
1435
1038
|
item_id: z.ZodOptional<z.ZodNumber>;
|
|
1436
|
-
},
|
|
1437
|
-
/** The value used to calculate attributes. See /v2/itemstats */
|
|
1039
|
+
}, z.core.$strip>>;
|
|
1438
1040
|
attribute_adjustments: z.ZodNumber;
|
|
1439
|
-
/** The infix upgrade. */
|
|
1440
1041
|
infix_upgrade: z.ZodOptional<z.ZodObject<{
|
|
1441
|
-
/** The itemstat id. Can be resolved against /v2/itemstats.
|
|
1442
|
-
* The usual whitelist restrictions apply, and not all itemstats may be visible. */
|
|
1443
1042
|
id: z.ZodNumber;
|
|
1444
|
-
/** List of attribute bonuses. */
|
|
1445
1043
|
attributes: z.ZodArray<z.ZodObject<{
|
|
1446
|
-
/** Attribute this bonus applies to. */
|
|
1447
1044
|
attribute: z.ZodEnum<{
|
|
1448
1045
|
AgonyResistance: "AgonyResistance";
|
|
1449
1046
|
BoonDuration: "BoonDuration";
|
|
@@ -1456,36 +1053,25 @@ declare const ItemsDTO: z.ZodArray<z.ZodObject<{
|
|
|
1456
1053
|
Toughness: "Toughness";
|
|
1457
1054
|
Vitality: "Vitality";
|
|
1458
1055
|
}>;
|
|
1459
|
-
/** The modifier value. */
|
|
1460
1056
|
modifier: z.ZodNumber;
|
|
1461
|
-
},
|
|
1462
|
-
/** Object containing an additional effect.
|
|
1463
|
-
* This is used for Boon Duration, Condition Duration,
|
|
1464
|
-
* or additional attribute bonuses for ascended trinkets or back items. */
|
|
1057
|
+
}, z.core.$strip>>;
|
|
1465
1058
|
buff: z.ZodOptional<z.ZodObject<{
|
|
1466
|
-
/** The skill id of the effect. */
|
|
1467
1059
|
skill_id: z.ZodNumber;
|
|
1468
|
-
/** The effect's description. */
|
|
1469
1060
|
description: z.ZodOptional<z.ZodString>;
|
|
1470
|
-
},
|
|
1471
|
-
},
|
|
1472
|
-
/** The id of the item suffix. */
|
|
1061
|
+
}, z.core.$strip>>;
|
|
1062
|
+
}, z.core.$strip>>;
|
|
1473
1063
|
suffix_item_id: z.ZodOptional<z.ZodNumber>;
|
|
1474
|
-
/** The secondary id of the item suffix. */
|
|
1475
1064
|
secondary_suffix_item_id: z.ZodString;
|
|
1476
|
-
/** Selectable stat ids. Can be resolved by /v2/itemstats */
|
|
1477
1065
|
stat_choices: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1478
|
-
},
|
|
1066
|
+
}, z.core.$strip>,
|
|
1479
1067
|
z.ZodUndefined,
|
|
1480
1068
|
z.ZodObject<{
|
|
1481
|
-
/** The upgrade component type. */
|
|
1482
1069
|
type: z.ZodEnum<{
|
|
1483
1070
|
Default: "Default";
|
|
1484
1071
|
Gem: "Gem";
|
|
1485
1072
|
Rune: "Rune";
|
|
1486
1073
|
Sigil: "Sigil";
|
|
1487
1074
|
}>;
|
|
1488
|
-
/** The items that can be upgraded with the upgrade component. */
|
|
1489
1075
|
flags: z.ZodArray<z.ZodEnum<{
|
|
1490
1076
|
Axe: "Axe";
|
|
1491
1077
|
Trinket: "Trinket";
|
|
@@ -1511,21 +1097,14 @@ declare const ItemsDTO: z.ZodArray<z.ZodObject<{
|
|
|
1511
1097
|
MediumArmor: "MediumArmor";
|
|
1512
1098
|
LightArmor: "LightArmor";
|
|
1513
1099
|
}>>;
|
|
1514
|
-
/** Applicable infusion slot for infusion upgrades. */
|
|
1515
1100
|
infusion_upgrade_flags: z.ZodArray<z.ZodEnum<{
|
|
1516
1101
|
Infusion: "Infusion";
|
|
1517
1102
|
Enrichment: "Enrichment";
|
|
1518
1103
|
}>>;
|
|
1519
|
-
/** The suffix appended to the item name when the component is applied. */
|
|
1520
1104
|
suffix: z.ZodOptional<z.ZodString>;
|
|
1521
|
-
/** The infix upgrade object. */
|
|
1522
1105
|
infix_upgrade: z.ZodObject<{
|
|
1523
|
-
/** The itemstat id. Can be resolved against /v2/itemstats.
|
|
1524
|
-
* The usual whitelist restrictions apply, and not all itemstats may be visible. */
|
|
1525
1106
|
id: z.ZodNumber;
|
|
1526
|
-
/** List of attribute bonuses. */
|
|
1527
1107
|
attributes: z.ZodArray<z.ZodObject<{
|
|
1528
|
-
/** Attribute this bonus applies to. */
|
|
1529
1108
|
attribute: z.ZodEnum<{
|
|
1530
1109
|
AgonyResistance: "AgonyResistance";
|
|
1531
1110
|
BoonDuration: "BoonDuration";
|
|
@@ -1538,24 +1117,16 @@ declare const ItemsDTO: z.ZodArray<z.ZodObject<{
|
|
|
1538
1117
|
Toughness: "Toughness";
|
|
1539
1118
|
Vitality: "Vitality";
|
|
1540
1119
|
}>;
|
|
1541
|
-
/** The modifier value. */
|
|
1542
1120
|
modifier: z.ZodNumber;
|
|
1543
|
-
},
|
|
1544
|
-
/** Object containing an additional effect.
|
|
1545
|
-
* This is used for Boon Duration, Condition Duration,
|
|
1546
|
-
* or additional attribute bonuses for ascended trinkets or back items. */
|
|
1121
|
+
}, z.core.$strip>>;
|
|
1547
1122
|
buff: z.ZodOptional<z.ZodObject<{
|
|
1548
|
-
/** The skill id of the effect. */
|
|
1549
1123
|
skill_id: z.ZodNumber;
|
|
1550
|
-
/** The effect's description. */
|
|
1551
1124
|
description: z.ZodOptional<z.ZodString>;
|
|
1552
|
-
},
|
|
1553
|
-
},
|
|
1554
|
-
/** The bonuses from runes. */
|
|
1125
|
+
}, z.core.$strip>>;
|
|
1126
|
+
}, z.core.$strip>;
|
|
1555
1127
|
bonuses: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1556
|
-
},
|
|
1128
|
+
}, z.core.$strip>,
|
|
1557
1129
|
z.ZodObject<{
|
|
1558
|
-
/** The weapon type. */
|
|
1559
1130
|
type: z.ZodEnum<{
|
|
1560
1131
|
Axe: "Axe";
|
|
1561
1132
|
Dagger: "Dagger";
|
|
@@ -1581,7 +1152,6 @@ declare const ItemsDTO: z.ZodArray<z.ZodObject<{
|
|
|
1581
1152
|
Toy: "Toy";
|
|
1582
1153
|
ToyTwoHanded: "ToyTwoHanded";
|
|
1583
1154
|
}>;
|
|
1584
|
-
/** The damage type. */
|
|
1585
1155
|
damage_type: z.ZodEnum<{
|
|
1586
1156
|
Fire: "Fire";
|
|
1587
1157
|
Ice: "Ice";
|
|
@@ -1589,37 +1159,20 @@ declare const ItemsDTO: z.ZodArray<z.ZodObject<{
|
|
|
1589
1159
|
Physical: "Physical";
|
|
1590
1160
|
Choking: "Choking";
|
|
1591
1161
|
}>;
|
|
1592
|
-
/** Minimum weapon power. */
|
|
1593
1162
|
min_power: z.ZodNumber;
|
|
1594
|
-
/** Maximum weapon power; */
|
|
1595
1163
|
max_power: z.ZodNumber;
|
|
1596
|
-
/** The defense value of the weapon. */
|
|
1597
1164
|
defense: z.ZodNumber;
|
|
1598
|
-
/** Infusion slots of the trinket. */
|
|
1599
1165
|
infusion_slots: z.ZodArray<z.ZodObject<{
|
|
1600
|
-
/**
|
|
1601
|
-
* Infusion slot type of infusion upgrades.
|
|
1602
|
-
* The array contains a maximum of one value
|
|
1603
|
-
*/
|
|
1604
1166
|
flags: z.ZodArray<z.ZodEnum<{
|
|
1605
1167
|
Infusion: "Infusion";
|
|
1606
1168
|
Enrichment: "Enrichment";
|
|
1607
1169
|
}>>;
|
|
1608
|
-
/**
|
|
1609
|
-
* The infusion upgrade already in the armor piece.
|
|
1610
|
-
*/
|
|
1611
1170
|
item_id: z.ZodOptional<z.ZodNumber>;
|
|
1612
|
-
},
|
|
1613
|
-
/** The value used to calculate attributes. See /v2/itemstats. */
|
|
1171
|
+
}, z.core.$strip>>;
|
|
1614
1172
|
attribute_adjustments: z.ZodNumber;
|
|
1615
|
-
/** The infix upgrade. */
|
|
1616
1173
|
infix_upgrade: z.ZodOptional<z.ZodObject<{
|
|
1617
|
-
/** The itemstat id. Can be resolved against /v2/itemstats.
|
|
1618
|
-
* The usual whitelist restrictions apply, and not all itemstats may be visible. */
|
|
1619
1174
|
id: z.ZodNumber;
|
|
1620
|
-
/** List of attribute bonuses. */
|
|
1621
1175
|
attributes: z.ZodArray<z.ZodObject<{
|
|
1622
|
-
/** Attribute this bonus applies to. */
|
|
1623
1176
|
attribute: z.ZodEnum<{
|
|
1624
1177
|
AgonyResistance: "AgonyResistance";
|
|
1625
1178
|
BoonDuration: "BoonDuration";
|
|
@@ -1632,36 +1185,23 @@ declare const ItemsDTO: z.ZodArray<z.ZodObject<{
|
|
|
1632
1185
|
Toughness: "Toughness";
|
|
1633
1186
|
Vitality: "Vitality";
|
|
1634
1187
|
}>;
|
|
1635
|
-
/** The modifier value. */
|
|
1636
1188
|
modifier: z.ZodNumber;
|
|
1637
|
-
},
|
|
1638
|
-
/** Object containing an additional effect.
|
|
1639
|
-
* This is used for Boon Duration, Condition Duration,
|
|
1640
|
-
* or additional attribute bonuses for ascended trinkets or back items. */
|
|
1189
|
+
}, z.core.$strip>>;
|
|
1641
1190
|
buff: z.ZodOptional<z.ZodObject<{
|
|
1642
|
-
/** The skill id of the effect. */
|
|
1643
1191
|
skill_id: z.ZodNumber;
|
|
1644
|
-
/** The effect's description. */
|
|
1645
1192
|
description: z.ZodOptional<z.ZodString>;
|
|
1646
|
-
},
|
|
1647
|
-
},
|
|
1648
|
-
/** The id of the item suffix. */
|
|
1193
|
+
}, z.core.$strip>>;
|
|
1194
|
+
}, z.core.$strip>>;
|
|
1649
1195
|
suffix_item_id: z.ZodOptional<z.ZodNumber>;
|
|
1650
|
-
/** The secondary id of the item suffix. */
|
|
1651
1196
|
secondary_suffix_item_id: z.ZodString;
|
|
1652
|
-
/** Selectable stat ids. Can be resolved by /v2/itemstats */
|
|
1653
1197
|
stat_choices: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1654
|
-
},
|
|
1198
|
+
}, z.core.$strip>
|
|
1655
1199
|
]>;
|
|
1656
|
-
},
|
|
1200
|
+
}, z.core.$strip>>;
|
|
1657
1201
|
declare const ItemStatsDTO: z.ZodArray<z.ZodObject<{
|
|
1658
|
-
/** The itemstat id. */
|
|
1659
1202
|
id: z.ZodNumber;
|
|
1660
|
-
/** The name of the set of stats. */
|
|
1661
1203
|
name: z.ZodString;
|
|
1662
|
-
/** The list of bonus attributes. */
|
|
1663
1204
|
attributes: z.ZodArray<z.ZodObject<{
|
|
1664
|
-
/** The name of the attribute. */
|
|
1665
1205
|
attribute: z.ZodEnum<{
|
|
1666
1206
|
AgonyResistance: "AgonyResistance";
|
|
1667
1207
|
BoonDuration: "BoonDuration";
|
|
@@ -1674,26 +1214,18 @@ declare const ItemStatsDTO: z.ZodArray<z.ZodObject<{
|
|
|
1674
1214
|
Toughness: "Toughness";
|
|
1675
1215
|
Vitality: "Vitality";
|
|
1676
1216
|
}>;
|
|
1677
|
-
/** The multiplier number for that attribute. */
|
|
1678
1217
|
multiplier: z.ZodNumber;
|
|
1679
|
-
/** The value number for that attribute. */
|
|
1680
1218
|
value: z.ZodNumber;
|
|
1681
|
-
},
|
|
1682
|
-
},
|
|
1219
|
+
}, z.core.$strip>>;
|
|
1220
|
+
}, z.core.$strip>>;
|
|
1683
1221
|
declare const JadebotsDTO: z.ZodArray<z.ZodObject<{
|
|
1684
|
-
/** The id of the jade bot skin. */
|
|
1685
1222
|
id: z.ZodNumber;
|
|
1686
|
-
/** The name of the jade bot skin. */
|
|
1687
1223
|
name: z.ZodString;
|
|
1688
|
-
/** A description of how to unlock the skin. */
|
|
1689
1224
|
description: z.ZodString;
|
|
1690
|
-
/** The item which unlocks the skin. Can be resolved against /v2/items */
|
|
1691
1225
|
unlock_item: z.ZodNumber;
|
|
1692
|
-
},
|
|
1226
|
+
}, z.core.$strip>>;
|
|
1693
1227
|
declare const LegendaryArmoryDTO: z.ZodArray<z.ZodObject<{
|
|
1694
|
-
/** The item id of the legendary armory item. */
|
|
1695
1228
|
id: z.ZodNumber;
|
|
1696
|
-
/** The maximum quantity of the legendary armory item that can be stored on the account. */
|
|
1697
1229
|
max_count: z.ZodUnion<readonly [
|
|
1698
1230
|
z.ZodLiteral<1>,
|
|
1699
1231
|
z.ZodLiteral<2>,
|
|
@@ -1701,47 +1233,29 @@ declare const LegendaryArmoryDTO: z.ZodArray<z.ZodObject<{
|
|
|
1701
1233
|
z.ZodLiteral<7>,
|
|
1702
1234
|
z.ZodLiteral<8>
|
|
1703
1235
|
]>;
|
|
1704
|
-
},
|
|
1236
|
+
}, z.core.$strip>>;
|
|
1705
1237
|
declare const LegendsDTO: z.ZodArray<z.ZodObject<{
|
|
1706
|
-
/** Id of the legend. */
|
|
1707
1238
|
id: z.ZodString;
|
|
1708
|
-
/** The legend code for a build template link. Available on schema version 2019-12-19T00:00:00.000Z or later. */
|
|
1709
1239
|
code: z.ZodOptional<z.ZodNumber>;
|
|
1710
|
-
/** The id of the profession (swap Legend) skill. Can be resolved against /v2/skills. */
|
|
1711
1240
|
swap: z.ZodNumber;
|
|
1712
|
-
/** The id of the heal skill. Can be resolved against /v2/skills. */
|
|
1713
1241
|
heal: z.ZodNumber;
|
|
1714
|
-
/** The id of the elite skill. Can be resolved against /v2/skills. */
|
|
1715
1242
|
elite: z.ZodNumber;
|
|
1716
|
-
/** The ids of the utility skills. Can be resolved against /v2/skills. */
|
|
1717
1243
|
utilities: z.ZodArray<z.ZodNumber>;
|
|
1718
|
-
},
|
|
1244
|
+
}, z.core.$strip>>;
|
|
1719
1245
|
declare const MailCarriersDTO: z.ZodArray<z.ZodObject<{
|
|
1720
|
-
/** The id of the mail carrier. */
|
|
1721
1246
|
id: z.ZodNumber;
|
|
1722
|
-
/** An array of item ids used to unlock the mailcarrier. Can be resolved against /v2/items. */
|
|
1723
1247
|
unlock_items: z.ZodArray<z.ZodNumber>;
|
|
1724
|
-
/** The order in which the mailcarrier appears in a list. */
|
|
1725
1248
|
order: z.ZodNumber;
|
|
1726
|
-
/** The icon uri for the mail carrier. */
|
|
1727
1249
|
icon: z.ZodString;
|
|
1728
|
-
/** The name of the mailcarrier as it appears in-game. */
|
|
1729
1250
|
name: z.ZodString;
|
|
1730
|
-
/** Additional flags on the item, such as "Default" */
|
|
1731
1251
|
flags: z.ZodArray<z.ZodString>;
|
|
1732
|
-
},
|
|
1252
|
+
}, z.core.$strip>>;
|
|
1733
1253
|
declare const MapsDTO: z.ZodArray<z.ZodObject<{
|
|
1734
|
-
/** The map id. */
|
|
1735
1254
|
id: z.ZodNumber;
|
|
1736
|
-
/** The map name. */
|
|
1737
1255
|
name: z.ZodString;
|
|
1738
|
-
/** The minimal level for this map. */
|
|
1739
1256
|
min_level: z.ZodNumber;
|
|
1740
|
-
/** The maximum level for this map. */
|
|
1741
1257
|
max_level: z.ZodNumber;
|
|
1742
|
-
/** The default floor for this map. */
|
|
1743
1258
|
default_floor: z.ZodNumber;
|
|
1744
|
-
/** The map type. */
|
|
1745
1259
|
type: z.ZodEnum<{
|
|
1746
1260
|
Pvp: "Pvp";
|
|
1747
1261
|
BlueHome: "BlueHome";
|
|
@@ -1755,84 +1269,49 @@ declare const MapsDTO: z.ZodArray<z.ZodObject<{
|
|
|
1755
1269
|
Tutorial: "Tutorial";
|
|
1756
1270
|
Unknown: "Unknown";
|
|
1757
1271
|
}>;
|
|
1758
|
-
/** A list of available floors for this map. */
|
|
1759
1272
|
floors: z.ZodArray<z.ZodNumber>;
|
|
1760
|
-
/** The id of the region this map belongs to. */
|
|
1761
1273
|
region_id: z.ZodOptional<z.ZodNumber>;
|
|
1762
|
-
/** The name of the region this map belongs to. */
|
|
1763
1274
|
region_name: z.ZodOptional<z.ZodString>;
|
|
1764
|
-
/** The id of the continent this map belongs to. */
|
|
1765
1275
|
continent_id: z.ZodOptional<z.ZodNumber>;
|
|
1766
|
-
/** The name of the continent this map belongs to. */
|
|
1767
1276
|
continent_name: z.ZodOptional<z.ZodString>;
|
|
1768
|
-
/** The dimensions of the map, given as the coordinates of the lower-left (SW) and upper-right (NE) corners. */
|
|
1769
1277
|
map_rect: z.ZodArray<z.ZodArray<z.ZodNumber>>;
|
|
1770
|
-
/** The dimensions of the map within the continent coordinate system, given as the coordinates of the upper-left (NW) and lower-right (SE) corners. */
|
|
1771
1278
|
continent_rect: z.ZodArray<z.ZodArray<z.ZodNumber>>;
|
|
1772
|
-
},
|
|
1279
|
+
}, z.core.$strip>>;
|
|
1773
1280
|
declare const MaterialsDTO: z.ZodArray<z.ZodObject<{
|
|
1774
|
-
/** The category id. */
|
|
1775
1281
|
id: z.ZodNumber;
|
|
1776
|
-
/** The category name. */
|
|
1777
1282
|
name: z.ZodString;
|
|
1778
|
-
/** The ids of the items in this category. Can be resolved against /v2/items. */
|
|
1779
1283
|
items: z.ZodArray<z.ZodNumber>;
|
|
1780
|
-
/** The order in which the category appears in the material storage. */
|
|
1781
1284
|
order: z.ZodNumber;
|
|
1782
|
-
},
|
|
1285
|
+
}, z.core.$strip>>;
|
|
1783
1286
|
declare const MasteriesDTO: z.ZodArray<z.ZodObject<{
|
|
1784
|
-
/** The id of the mastery. */
|
|
1785
1287
|
id: z.ZodNumber;
|
|
1786
|
-
/** The name of the selected mastery. */
|
|
1787
1288
|
name: z.ZodString;
|
|
1788
|
-
/** The written out requirements to unlock the mastery track. */
|
|
1789
1289
|
requirement: z.ZodString;
|
|
1790
|
-
/** The order in which the mastery track appears in a list. */
|
|
1791
1290
|
order: z.ZodNumber;
|
|
1792
|
-
/** The background uri for the mastery track. */
|
|
1793
1291
|
background: z.ZodString;
|
|
1794
|
-
/** The in-game region in which the mastery track belongs. */
|
|
1795
1292
|
region: z.ZodString;
|
|
1796
|
-
/** An array containing the information of each mastery level. */
|
|
1797
1293
|
levels: z.ZodArray<z.ZodObject<{
|
|
1798
|
-
/** The name for the given mastery. */
|
|
1799
1294
|
name: z.ZodString;
|
|
1800
|
-
/** The in game description for the given mastery. */
|
|
1801
1295
|
description: z.ZodString;
|
|
1802
|
-
/** The in game instructions for the given mastery. */
|
|
1803
1296
|
instruction: z.ZodString;
|
|
1804
|
-
/** The icon uri for the mastery. */
|
|
1805
1297
|
icon: z.ZodString;
|
|
1806
|
-
/** The amount of mastery points required to unlock the mastery. */
|
|
1807
1298
|
point_cost: z.ZodNumber;
|
|
1808
|
-
/** The total amount of experience needed to train the given mastery level. This total is non-cumulative between levels. */
|
|
1809
1299
|
exp_cost: z.ZodNumber;
|
|
1810
|
-
},
|
|
1811
|
-
},
|
|
1300
|
+
}, z.core.$strip>>;
|
|
1301
|
+
}, z.core.$strip>>;
|
|
1812
1302
|
declare const MinisDTO: z.ZodArray<z.ZodObject<{
|
|
1813
|
-
/** The mini id. */
|
|
1814
1303
|
id: z.ZodNumber;
|
|
1815
|
-
/** The mini name. */
|
|
1816
1304
|
name: z.ZodString;
|
|
1817
|
-
/** A description of how to unlock the mini (only present on a few entries). */
|
|
1818
1305
|
unlock: z.ZodOptional<z.ZodString>;
|
|
1819
|
-
/** The mini icon. */
|
|
1820
1306
|
icon: z.ZodString;
|
|
1821
|
-
/** The sort order that is used for displaying the mini in-game. */
|
|
1822
1307
|
order: z.ZodNumber;
|
|
1823
|
-
/** The item which unlocks the mini. Can be resolved against /v2/items. */
|
|
1824
1308
|
item_id: z.ZodNumber;
|
|
1825
|
-
},
|
|
1309
|
+
}, z.core.$strip>>;
|
|
1826
1310
|
declare const NoveltiesDTO: z.ZodArray<z.ZodObject<{
|
|
1827
|
-
/** The id of the novelty. */
|
|
1828
1311
|
id: z.ZodNumber;
|
|
1829
|
-
/** The name of the novelty as it appears in-game. */
|
|
1830
1312
|
name: z.ZodString;
|
|
1831
|
-
/** The in-game novelty description. */
|
|
1832
1313
|
description: z.ZodString;
|
|
1833
|
-
/** The icon url for the novelty. */
|
|
1834
1314
|
icon: z.ZodString;
|
|
1835
|
-
/** The slot which the novelty appears in the UI for. */
|
|
1836
1315
|
slot: z.ZodEnum<{
|
|
1837
1316
|
Tonic: "Tonic";
|
|
1838
1317
|
Chair: "Chair";
|
|
@@ -1840,78 +1319,51 @@ declare const NoveltiesDTO: z.ZodArray<z.ZodObject<{
|
|
|
1840
1319
|
HeldItem: "HeldItem";
|
|
1841
1320
|
Miscellaneous: "Miscellaneous";
|
|
1842
1321
|
}>;
|
|
1843
|
-
/** An array of item ids used to unlock the novelty. Can be resolved against /v2/items. */
|
|
1844
1322
|
unlock_item: z.ZodArray<z.ZodNumber>;
|
|
1845
|
-
},
|
|
1323
|
+
}, z.core.$strip>>;
|
|
1846
1324
|
declare const OutfitsDTO: z.ZodArray<z.ZodObject<{
|
|
1847
|
-
/** The id of the outfit. */
|
|
1848
1325
|
id: z.ZodNumber;
|
|
1849
|
-
/** The name of the outfit (this is also the outfit displayed over a character in-game.) */
|
|
1850
1326
|
name: z.ZodString;
|
|
1851
|
-
/** The icon for the selected outfit. */
|
|
1852
1327
|
icon: z.ZodString;
|
|
1853
|
-
/** An array of item id which unlock this outfit; Can be resolved against v2/items. */
|
|
1854
1328
|
unlock_items: z.ZodArray<z.ZodNumber>;
|
|
1855
|
-
},
|
|
1329
|
+
}, z.core.$strip>>;
|
|
1856
1330
|
declare const PetsDTO: z.ZodArray<z.ZodObject<{
|
|
1857
|
-
/** The id of the pet. */
|
|
1858
1331
|
id: z.ZodNumber;
|
|
1859
|
-
/** The name of the pet. */
|
|
1860
1332
|
name: z.ZodString;
|
|
1861
|
-
/** The description of the pet. */
|
|
1862
1333
|
description: z.ZodString;
|
|
1863
|
-
/** The icon uri for the pet. */
|
|
1864
1334
|
icon: z.ZodString;
|
|
1865
|
-
/** List of skill ids. Can be resolved against /v2/skills. */
|
|
1866
1335
|
skills: z.ZodArray<z.ZodObject<{
|
|
1867
|
-
/** The id of the skill. */
|
|
1868
1336
|
id: z.ZodNumber;
|
|
1869
|
-
},
|
|
1870
|
-
},
|
|
1337
|
+
}, z.core.$strip>>;
|
|
1338
|
+
}, z.core.$strip>>;
|
|
1871
1339
|
declare const ProfessionsDTO: z.ZodArray<z.ZodObject<{
|
|
1872
|
-
/** The profession id. */
|
|
1873
1340
|
id: z.ZodString;
|
|
1874
|
-
/** The name of the profession. */
|
|
1875
1341
|
name: z.ZodString;
|
|
1876
|
-
/** The profession code for a build template link. */
|
|
1877
1342
|
code: z.ZodOptional<z.ZodNumber>;
|
|
1878
|
-
/** The icon for the profession. */
|
|
1879
1343
|
icon: z.ZodString;
|
|
1880
|
-
/** The large icon for the profession. */
|
|
1881
1344
|
icon_big: z.ZodString;
|
|
1882
|
-
/** The specialization ids. Can be resolved against /v2/specializations. */
|
|
1883
1345
|
specializations: z.ZodArray<z.ZodNumber>;
|
|
1884
|
-
/** List of training details. */
|
|
1885
1346
|
training: z.ZodArray<z.ZodObject<{
|
|
1886
|
-
/** The id of the skill or specialization. Can be resolved against /v2/skills and /v2/specializations. */
|
|
1887
1347
|
id: z.ZodNumber;
|
|
1888
|
-
/** The category for the training object. */
|
|
1889
1348
|
category: z.ZodEnum<{
|
|
1890
1349
|
Skills: "Skills";
|
|
1891
1350
|
Specializations: "Specializations";
|
|
1892
1351
|
EliteSpecializations: "EliteSpecializations";
|
|
1893
1352
|
}>;
|
|
1894
|
-
/** The name of the skill or specialization indicated by the category and id. */
|
|
1895
1353
|
name: z.ZodString;
|
|
1896
|
-
/** List of skills and traits training details tracks objects. */
|
|
1897
1354
|
track: z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
1898
|
-
/** The cost to train this skill or trait. */
|
|
1899
1355
|
cost: z.ZodNumber;
|
|
1900
|
-
},
|
|
1356
|
+
}, z.core.$strip>, z.ZodDiscriminatedUnion<[
|
|
1901
1357
|
z.ZodObject<{
|
|
1902
|
-
/** Whether this is a skill or trait. */
|
|
1903
1358
|
type: z.ZodLiteral<"Trait">;
|
|
1904
|
-
/** The trait id. Can be resolved against /v2/traits. */
|
|
1905
1359
|
trait_id: z.ZodNumber;
|
|
1906
|
-
},
|
|
1360
|
+
}, z.core.$strip>,
|
|
1907
1361
|
z.ZodObject<{
|
|
1908
|
-
/** Whether this is a skill or trait. */
|
|
1909
1362
|
type: z.ZodLiteral<"Skill">;
|
|
1910
|
-
/** The skill id. Can be resolved against /v2/skills. */
|
|
1911
1363
|
skill_id: z.ZodNumber;
|
|
1912
|
-
},
|
|
1364
|
+
}, z.core.$strip>
|
|
1913
1365
|
]>>>;
|
|
1914
|
-
},
|
|
1366
|
+
}, z.core.$strip>>;
|
|
1915
1367
|
weapons: z.ZodRecord<z.ZodEnum<{
|
|
1916
1368
|
Axe: "Axe";
|
|
1917
1369
|
Dagger: "Dagger";
|
|
@@ -1932,100 +1384,81 @@ declare const ProfessionsDTO: z.ZodArray<z.ZodObject<{
|
|
|
1932
1384
|
Longbow: "Longbow";
|
|
1933
1385
|
Shortbow: "Shortbow";
|
|
1934
1386
|
Spear: "Spear";
|
|
1935
|
-
}>, z.ZodObject<{
|
|
1936
|
-
/** Weapon slot flag. */
|
|
1387
|
+
}>, z.ZodOptional<z.ZodObject<{
|
|
1937
1388
|
flag: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1938
1389
|
Mainhand: "Mainhand";
|
|
1939
1390
|
Offhand: "Offhand";
|
|
1940
1391
|
TwoHand: "TwoHand";
|
|
1941
1392
|
Aquatic: "Aquatic";
|
|
1942
1393
|
}>>>;
|
|
1943
|
-
/** The specializations id of the required specialization to use this weapon.
|
|
1944
|
-
* Can be resolved against /v2/specializations. Only present if a specialization is required. */
|
|
1945
1394
|
specialization: z.ZodOptional<z.ZodNumber>;
|
|
1946
|
-
/** The list of weapon skills objects. */
|
|
1947
1395
|
skills: z.ZodArray<z.ZodObject<{
|
|
1948
|
-
/** The skill id. Can be resolved against /v2/skills. */
|
|
1949
1396
|
id: z.ZodNumber;
|
|
1950
|
-
|
|
1951
|
-
slot: z.ZodUnion<readonly [
|
|
1952
|
-
z.ZodEnum<{
|
|
1953
|
-
Utility: "Utility";
|
|
1954
|
-
Profession_1: "Profession_1";
|
|
1955
|
-
Heal: "Heal";
|
|
1956
|
-
Elite: "Elite";
|
|
1957
|
-
}>,
|
|
1958
|
-
z.ZodCustom<`Weapon_${number}`, `Weapon_${number}`>
|
|
1959
|
-
]>;
|
|
1960
|
-
/** The name of the offhand weapon this skill requires to be equipped. This field is usually only present for Thief skills. */
|
|
1397
|
+
slot: z.ZodTemplateLiteral<`Weapon_${number}`>;
|
|
1961
1398
|
offhand: z.ZodOptional<z.ZodString>;
|
|
1962
|
-
/** The Elementalist attunement that this skill requires. This field is usually only present for Elementalist skills. */
|
|
1963
1399
|
attunement: z.ZodOptional<z.ZodString>;
|
|
1964
|
-
/** The name of the class the skill was stolen from. This only applies to thief stolen skills. */
|
|
1965
1400
|
source: z.ZodOptional<z.ZodString>;
|
|
1966
|
-
},
|
|
1967
|
-
},
|
|
1968
|
-
/** Profession flags. */
|
|
1401
|
+
}, z.core.$strip>>;
|
|
1402
|
+
}, z.core.$strip>>>;
|
|
1969
1403
|
flags: z.ZodArray<z.ZodEnum<{
|
|
1970
1404
|
NoRacialSkills: "NoRacialSkills";
|
|
1971
1405
|
NoWeaponSwap: "NoWeaponSwap";
|
|
1972
1406
|
}>>;
|
|
1973
|
-
|
|
1974
|
-
|
|
1407
|
+
skills: z.ZodArray<z.ZodObject<{
|
|
1408
|
+
id: z.ZodNumber;
|
|
1409
|
+
slot: z.ZodUnion<readonly [
|
|
1410
|
+
z.ZodEnum<{
|
|
1411
|
+
Utility: "Utility";
|
|
1412
|
+
Heal: "Heal";
|
|
1413
|
+
Elite: "Elite";
|
|
1414
|
+
}>,
|
|
1415
|
+
z.ZodTemplateLiteral<`Weapon_${number}`>,
|
|
1416
|
+
z.ZodTemplateLiteral<`Profession_${number}`>,
|
|
1417
|
+
z.ZodTemplateLiteral<`Downed_${number}`>
|
|
1418
|
+
]>;
|
|
1419
|
+
type: z.ZodEnum<{
|
|
1420
|
+
Utility: "Utility";
|
|
1421
|
+
Heal: "Heal";
|
|
1422
|
+
Elite: "Elite";
|
|
1423
|
+
Profession: "Profession";
|
|
1424
|
+
}>;
|
|
1425
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1426
|
+
}, z.core.$strip>>;
|
|
1975
1427
|
skills_by_palette: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1976
|
-
},
|
|
1428
|
+
}, z.core.$strip>>;
|
|
1977
1429
|
declare const QuaggansDTO: z.ZodArray<z.ZodObject<{
|
|
1978
|
-
/** The quaggan identifier. */
|
|
1979
1430
|
id: z.ZodString;
|
|
1980
|
-
/** The URL to the quaggan image. */
|
|
1981
1431
|
url: z.ZodString;
|
|
1982
|
-
},
|
|
1432
|
+
}, z.core.$strip>>;
|
|
1983
1433
|
declare const QuestsDTO: z.ZodArray<z.ZodObject<{
|
|
1984
|
-
/** The id of the quest. */
|
|
1985
1434
|
id: z.ZodNumber;
|
|
1986
|
-
/** The name of the quest. */
|
|
1987
1435
|
name: z.ZodString;
|
|
1988
|
-
/** The minimum level required for a character to begin this quest. */
|
|
1989
1436
|
level: z.ZodNumber;
|
|
1990
|
-
/** The id for the story. Can be resolved against /v2/stories. */
|
|
1991
1437
|
story: z.ZodNumber;
|
|
1992
|
-
/** An array of goal objects providing details about the goals for this quest. */
|
|
1993
1438
|
goals: z.ZodArray<z.ZodObject<{
|
|
1994
|
-
/** The text displayed for the quest step if it is active. */
|
|
1995
1439
|
active: z.ZodString;
|
|
1996
|
-
/** The text displayed for the quest step if it is complete. */
|
|
1997
1440
|
complete: z.ZodString;
|
|
1998
|
-
},
|
|
1999
|
-
},
|
|
1441
|
+
}, z.core.$strip>>;
|
|
1442
|
+
}, z.core.$strip>>;
|
|
2000
1443
|
declare const RacesDTO: z.ZodArray<z.ZodObject<{
|
|
2001
|
-
/** The id/name of the race. */
|
|
2002
1444
|
id: z.ZodString;
|
|
2003
|
-
/** An array of skill ids. Can be resolved against v2/skills. */
|
|
2004
1445
|
skills: z.ZodArray<z.ZodNumber>;
|
|
2005
|
-
},
|
|
1446
|
+
}, z.core.$strip>>;
|
|
2006
1447
|
declare const RaidsDTO: z.ZodArray<z.ZodObject<{
|
|
2007
|
-
/** The name of the dungeon. */
|
|
2008
1448
|
id: z.ZodString;
|
|
2009
|
-
/** An array of object containing the following: */
|
|
2010
1449
|
wings: z.ZodArray<z.ZodObject<{
|
|
2011
|
-
/** The given name for the dungeon path. */
|
|
2012
1450
|
id: z.ZodString;
|
|
2013
|
-
/** List of events within the raid or dungeon. */
|
|
2014
1451
|
events: z.ZodArray<z.ZodObject<{
|
|
2015
|
-
/** The event/encounter name. */
|
|
2016
1452
|
id: z.ZodString;
|
|
2017
|
-
/** The type of events. */
|
|
2018
1453
|
type: z.ZodEnum<{
|
|
2019
1454
|
Checkpoint: "Checkpoint";
|
|
2020
1455
|
Boss: "Boss";
|
|
2021
1456
|
}>;
|
|
2022
|
-
},
|
|
2023
|
-
},
|
|
2024
|
-
},
|
|
1457
|
+
}, z.core.$strip>>;
|
|
1458
|
+
}, z.core.$strip>>;
|
|
1459
|
+
}, z.core.$strip>>;
|
|
2025
1460
|
declare const RecipesDTO: z.ZodArray<z.ZodObject<{
|
|
2026
|
-
/** The recipe id. */
|
|
2027
1461
|
id: z.ZodNumber;
|
|
2028
|
-
/** The recipe type. */
|
|
2029
1462
|
type: z.ZodUnion<readonly [
|
|
2030
1463
|
z.ZodEnum<{
|
|
2031
1464
|
Axe: "Axe";
|
|
@@ -2098,13 +1531,9 @@ declare const RecipesDTO: z.ZodArray<z.ZodObject<{
|
|
|
2098
1531
|
Potion: "Potion";
|
|
2099
1532
|
}>
|
|
2100
1533
|
]>;
|
|
2101
|
-
/** The item id of the produced item. Can be resolved against /v2/items. */
|
|
2102
1534
|
output_item_id: z.ZodNumber;
|
|
2103
|
-
/** The amount of items produced. */
|
|
2104
1535
|
output_item_count: z.ZodNumber;
|
|
2105
|
-
/** The time in milliseconds it takes to craft the item. */
|
|
2106
1536
|
time_to_craft_ms: z.ZodNumber;
|
|
2107
|
-
/** The crafting disciplines that can use the recipe. */
|
|
2108
1537
|
disciplines: z.ZodArray<z.ZodEnum<{
|
|
2109
1538
|
Armorsmith: "Armorsmith";
|
|
2110
1539
|
Artificer: "Artificer";
|
|
@@ -2116,114 +1545,74 @@ declare const RecipesDTO: z.ZodArray<z.ZodObject<{
|
|
|
2116
1545
|
Tailor: "Tailor";
|
|
2117
1546
|
Weaponsmith: "Weaponsmith";
|
|
2118
1547
|
}>>;
|
|
2119
|
-
/** The required rating to craft the recipe. */
|
|
2120
1548
|
min_rating: z.ZodNumber;
|
|
2121
|
-
/** Flags applying to the recipe. */
|
|
2122
1549
|
flags: z.ZodArray<z.ZodEnum<{
|
|
2123
1550
|
AutoLearned: "AutoLearned";
|
|
2124
1551
|
LearnedFromItem: "LearnedFromItem";
|
|
2125
1552
|
}>>;
|
|
2126
|
-
/** List of recipe ingredients */
|
|
2127
1553
|
ingredients: z.ZodArray<z.ZodObject<{
|
|
2128
|
-
/** Type of ingredient. */
|
|
2129
1554
|
type: z.ZodEnum<{
|
|
2130
1555
|
Item: "Item";
|
|
2131
1556
|
Currency: "Currency";
|
|
2132
1557
|
}>;
|
|
2133
|
-
/** The ingredient's id. Can be resolved against /v2/items or /v2/currencies, depending on type */
|
|
2134
1558
|
id: z.ZodNumber;
|
|
2135
|
-
/** The quantity of this ingredient. */
|
|
2136
1559
|
count: z.ZodNumber;
|
|
2137
|
-
},
|
|
2138
|
-
/** List of recipe ingredients that come from the guild such as decorations or schematics. */
|
|
1560
|
+
}, z.core.$strip>>;
|
|
2139
1561
|
guild_ingredients: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2140
|
-
/** The id of the used guild upgrade. Can be resolved against /v2/guild/upgrades. */
|
|
2141
1562
|
upgrade_id: z.ZodNumber;
|
|
2142
|
-
/** The quantity of this guild ingredient. */
|
|
2143
1563
|
count: z.ZodNumber;
|
|
2144
|
-
},
|
|
2145
|
-
/** The id of the produced guild upgrade. Can be resolved against /v2/guild/upgrades. */
|
|
1564
|
+
}, z.core.$strip>>>;
|
|
2146
1565
|
output_upgrade_id: z.ZodOptional<z.ZodNumber>;
|
|
2147
|
-
/** The chat code for the recipe. */
|
|
2148
1566
|
chat_link: z.ZodString;
|
|
2149
|
-
},
|
|
1567
|
+
}, z.core.$strip>>;
|
|
2150
1568
|
declare const SkiffsDTO: z.ZodArray<z.ZodObject<{
|
|
2151
|
-
/** The id of the skiff skin. */
|
|
2152
1569
|
id: z.ZodNumber;
|
|
2153
|
-
/** The name of the skiff skin. */
|
|
2154
1570
|
name: z.ZodString;
|
|
2155
|
-
/** The full icon URL. */
|
|
2156
1571
|
icon: z.ZodString;
|
|
2157
|
-
/** An object containing information on the available dye slots and defaults. */
|
|
2158
1572
|
dye_slots: z.ZodArray<z.ZodObject<{
|
|
2159
|
-
/** The id of the default color. Can be resolved against v2/colors. */
|
|
2160
1573
|
color_id: z.ZodNumber;
|
|
2161
|
-
/** The type of material. */
|
|
2162
1574
|
material: z.ZodEnum<{
|
|
2163
1575
|
cloth: "cloth";
|
|
2164
1576
|
leather: "leather";
|
|
2165
1577
|
metal: "metal";
|
|
2166
1578
|
}>;
|
|
2167
|
-
},
|
|
2168
|
-
},
|
|
1579
|
+
}, z.core.$strip>>;
|
|
1580
|
+
}, z.core.$strip>>;
|
|
2169
1581
|
declare const SkinsDTO: z.ZodArray<z.ZodObject<{
|
|
2170
|
-
/** The skin id. */
|
|
2171
1582
|
id: z.ZodNumber;
|
|
2172
|
-
/** The name of the skin. */
|
|
2173
1583
|
name: z.ZodString;
|
|
2174
|
-
/** The skin type, either Armor, Weapon, Back or Gathering. */
|
|
2175
1584
|
type: z.ZodString;
|
|
2176
|
-
/**
|
|
2177
|
-
* Additional skin flags. Options:
|
|
2178
|
-
* ShowInWardrobe – When displayed in the account wardrobe (set for all skins listed in the API).
|
|
2179
|
-
* NoCost – When applying the skin is free.
|
|
2180
|
-
* HideIfLocked – When the skin is hidden until it is unlocked.
|
|
2181
|
-
* OverrideRarity - When the skin overrides item rarity when applied
|
|
2182
|
-
*/
|
|
2183
1585
|
flags: z.ZodArray<z.ZodEnum<{
|
|
2184
1586
|
ShowInWardrobe: "ShowInWardrobe";
|
|
2185
1587
|
NoCost: "NoCost";
|
|
2186
1588
|
HideIfLocked: "HideIfLocked";
|
|
2187
1589
|
OverrideRarity: "OverrideRarity";
|
|
2188
1590
|
}>>;
|
|
2189
|
-
/** Race restrictions that apply to the skin, e.g. Human will be a listed restriction, if the skin can only be applied to human characters. */
|
|
2190
1591
|
restrictions: z.ZodArray<z.ZodString>;
|
|
2191
|
-
/** The full icon URL. */
|
|
2192
1592
|
icon: z.ZodString;
|
|
2193
|
-
/** The rarity of the skin */
|
|
2194
1593
|
rarity: z.ZodString;
|
|
2195
|
-
/** Optional skin description. */
|
|
2196
1594
|
description: z.ZodOptional<z.ZodString>;
|
|
2197
|
-
/** Additional skin details if applicable, depending on the skin type */
|
|
2198
1595
|
details: z.ZodOptional<z.ZodUnion<readonly [
|
|
2199
1596
|
z.ZodObject<{
|
|
2200
|
-
/** The armor type (slot). */
|
|
2201
1597
|
type: z.ZodString;
|
|
2202
|
-
/** The armor weight. */
|
|
2203
1598
|
weight_class: z.ZodEnum<{
|
|
2204
1599
|
Heavy: "Heavy";
|
|
2205
1600
|
Medium: "Medium";
|
|
2206
1601
|
Light: "Light";
|
|
2207
1602
|
Clothing: "Clothing";
|
|
2208
1603
|
}>;
|
|
2209
|
-
/** An object containing information on default slots and skin overrides.
|
|
2210
|
-
* If the array item is null, this means dye cannot be applied to that
|
|
2211
|
-
* slot, except if otherwise overriden by non-null values in the overrides array. */
|
|
2212
1604
|
dye_slots: z.ZodObject<{
|
|
2213
1605
|
default: z.ZodArray<z.ZodUnion<readonly [
|
|
2214
1606
|
z.ZodNull,
|
|
2215
1607
|
z.ZodObject<{
|
|
2216
|
-
/** The id of the default color. Can be resolved against /v2/colors.*/
|
|
2217
1608
|
color_id: z.ZodNumber;
|
|
2218
|
-
/** The type of material. */
|
|
2219
1609
|
material: z.ZodEnum<{
|
|
2220
1610
|
cloth: "cloth";
|
|
2221
1611
|
leather: "leather";
|
|
2222
1612
|
metal: "metal";
|
|
2223
1613
|
}>;
|
|
2224
|
-
},
|
|
1614
|
+
}, z.core.$strip>
|
|
2225
1615
|
]>>;
|
|
2226
|
-
/** Object of race/gender overrides. */
|
|
2227
1616
|
overrides: z.ZodRecord<z.ZodEnum<{
|
|
2228
1617
|
AsuraMale: "AsuraMale";
|
|
2229
1618
|
AsuraFemale: "AsuraFemale";
|
|
@@ -2236,29 +1625,24 @@ declare const SkinsDTO: z.ZodArray<z.ZodObject<{
|
|
|
2236
1625
|
SylvariMale: "SylvariMale";
|
|
2237
1626
|
SylvariFemale: "SylvariFemale";
|
|
2238
1627
|
}>, z.ZodObject<{
|
|
2239
|
-
/** The id of the default color. Can be resolved against /v2/colors. */
|
|
2240
1628
|
color_id: z.ZodNumber;
|
|
2241
|
-
/** The type of material. */
|
|
2242
1629
|
material: z.ZodEnum<{
|
|
2243
1630
|
cloth: "cloth";
|
|
2244
1631
|
leather: "leather";
|
|
2245
1632
|
metal: "metal";
|
|
2246
1633
|
}>;
|
|
2247
|
-
},
|
|
2248
|
-
},
|
|
2249
|
-
},
|
|
1634
|
+
}, z.core.$strip>>;
|
|
1635
|
+
}, z.core.$strip>;
|
|
1636
|
+
}, z.core.$strip>,
|
|
2250
1637
|
z.ZodObject<{
|
|
2251
|
-
/** The tool type. */
|
|
2252
1638
|
type: z.ZodEnum<{
|
|
2253
1639
|
Foraging: "Foraging";
|
|
2254
1640
|
Logging: "Logging";
|
|
2255
1641
|
Mining: "Mining";
|
|
2256
1642
|
}>;
|
|
2257
|
-
},
|
|
1643
|
+
}, z.core.$strip>,
|
|
2258
1644
|
z.ZodObject<{
|
|
2259
|
-
/** The weapon type. */
|
|
2260
1645
|
type: z.ZodString;
|
|
2261
|
-
/** The damage type. */
|
|
2262
1646
|
damage_type: z.ZodEnum<{
|
|
2263
1647
|
Fire: "Fire";
|
|
2264
1648
|
Ice: "Ice";
|
|
@@ -2266,87 +1650,59 @@ declare const SkinsDTO: z.ZodArray<z.ZodObject<{
|
|
|
2266
1650
|
Physical: "Physical";
|
|
2267
1651
|
Choking: "Choking";
|
|
2268
1652
|
}>;
|
|
2269
|
-
},
|
|
1653
|
+
}, z.core.$strip>
|
|
2270
1654
|
]>>;
|
|
2271
|
-
},
|
|
1655
|
+
}, z.core.$strip>>;
|
|
2272
1656
|
declare const SpecializationsDTO: z.ZodArray<z.ZodObject<{
|
|
2273
|
-
/** The specialization's ID. */
|
|
2274
1657
|
id: z.ZodNumber;
|
|
2275
|
-
/** The name of the specialization. */
|
|
2276
1658
|
name: z.ZodString;
|
|
2277
|
-
/** The profession that this specialization belongs to. */
|
|
2278
1659
|
profession: z.ZodString;
|
|
2279
|
-
/** True if this specialization is an Elite specialization, false otherwise. */
|
|
2280
1660
|
elite: z.ZodBoolean;
|
|
2281
|
-
/** A URL to an icon of the specialization. */
|
|
2282
1661
|
icon: z.ZodString;
|
|
2283
|
-
/** A URL to the background image of the specialization. */
|
|
2284
1662
|
background: z.ZodString;
|
|
2285
|
-
/** Contains a list of IDs specifying the minor traits in the specialization. */
|
|
2286
1663
|
minor_traits: z.ZodArray<z.ZodNumber>;
|
|
2287
|
-
/** Contains a list of IDs specifying the major traits in the specialization. */
|
|
2288
1664
|
major_traits: z.ZodArray<z.ZodNumber>;
|
|
2289
|
-
},
|
|
1665
|
+
}, z.core.$strip>>;
|
|
2290
1666
|
declare const TitlesDTO: z.ZodArray<z.ZodObject<{
|
|
2291
|
-
/** The id of the title. */
|
|
2292
1667
|
id: z.ZodNumber;
|
|
2293
|
-
/** The name of the title (this is also the title displayed over a character in-game.) */
|
|
2294
1668
|
name: z.ZodString;
|
|
2295
|
-
/** The id of the achievement that grants this title. Can be resolved against /v2/achievements. */
|
|
2296
1669
|
achievements: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
2297
|
-
/** The amount of AP required to have said title. */
|
|
2298
1670
|
ap_required: z.ZodOptional<z.ZodNumber>;
|
|
2299
|
-
},
|
|
1671
|
+
}, z.core.$strip>>;
|
|
2300
1672
|
declare const TraitsDTO: z.ZodArray<z.ZodObject<{
|
|
2301
|
-
/** The trait id. */
|
|
2302
1673
|
id: z.ZodNumber;
|
|
2303
|
-
/** The trait name. */
|
|
2304
1674
|
name: z.ZodString;
|
|
2305
|
-
/** The trait's icon URL. */
|
|
2306
1675
|
icon: z.ZodString;
|
|
2307
|
-
/** The trait description. */
|
|
2308
1676
|
description: z.ZodOptional<z.ZodString>;
|
|
2309
|
-
/** The trait order. */
|
|
2310
1677
|
order: z.ZodOptional<z.ZodNumber>;
|
|
2311
|
-
/** The id of the specialization this trait belongs to. */
|
|
2312
1678
|
specialization: z.ZodNumber;
|
|
2313
|
-
/** The trait's tier (Adept, Master, Grandmaster) as a value from 1-3.
|
|
2314
|
-
* Elite specializations also contain a tier 0 minor trait, describing which weapon the elite specialization gains access to. */
|
|
2315
1679
|
tier: z.ZodNumber;
|
|
2316
|
-
/** Either Major or Minor depending on the trait's slot.
|
|
2317
|
-
* Minor traits are the ones given immediately when choosing a specialization. */
|
|
2318
1680
|
slot: z.ZodEnum<{
|
|
2319
1681
|
Major: "Major";
|
|
2320
1682
|
Minor: "Minor";
|
|
2321
1683
|
}>;
|
|
2322
|
-
/** A list of tooltip facts associated with the trait itself. */
|
|
2323
1684
|
facts: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
2324
|
-
/** An arbitrary localized string describing the fact.*/
|
|
2325
1685
|
text: z.ZodOptional<z.ZodString>;
|
|
2326
|
-
/** A URL to the icon shown with the fact. Not included with all facts.*/
|
|
2327
1686
|
icon: z.ZodOptional<z.ZodString>;
|
|
2328
|
-
},
|
|
1687
|
+
}, z.core.$strip>, z.ZodDiscriminatedUnion<[
|
|
2329
1688
|
z.ZodObject<{
|
|
2330
1689
|
type: z.ZodLiteral<"AttributeAdjust">;
|
|
2331
1690
|
value: z.ZodNumber;
|
|
2332
1691
|
target: z.ZodString;
|
|
2333
|
-
},
|
|
1692
|
+
}, z.core.$strip>,
|
|
2334
1693
|
z.ZodObject<{
|
|
2335
1694
|
type: z.ZodLiteral<"Buff">;
|
|
2336
1695
|
status: z.ZodString;
|
|
2337
1696
|
description: z.ZodOptional<z.ZodString>;
|
|
2338
1697
|
apply_count: z.ZodOptional<z.ZodNumber>;
|
|
2339
1698
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
2340
|
-
},
|
|
1699
|
+
}, z.core.$strip>,
|
|
2341
1700
|
z.ZodObject<{
|
|
2342
1701
|
type: z.ZodLiteral<"BuffConversion">;
|
|
2343
|
-
/** The attribute that is used to calculate the attribute gain. */
|
|
2344
1702
|
source: z.ZodString;
|
|
2345
|
-
/** How much of the source attribute is added to target. */
|
|
2346
1703
|
percent: z.ZodNumber;
|
|
2347
|
-
/** The attribute that gets added to. */
|
|
2348
1704
|
target: z.ZodString;
|
|
2349
|
-
},
|
|
1705
|
+
}, z.core.$strip>,
|
|
2350
1706
|
z.ZodObject<{
|
|
2351
1707
|
type: z.ZodLiteral<"ComboField">;
|
|
2352
1708
|
field_type: z.ZodEnum<{
|
|
@@ -2361,7 +1717,7 @@ declare const TraitsDTO: z.ZodArray<z.ZodObject<{
|
|
|
2361
1717
|
Ethereal: "Ethereal";
|
|
2362
1718
|
Water: "Water";
|
|
2363
1719
|
}>;
|
|
2364
|
-
},
|
|
1720
|
+
}, z.core.$strip>,
|
|
2365
1721
|
z.ZodObject<{
|
|
2366
1722
|
type: z.ZodLiteral<"ComboFinisher">;
|
|
2367
1723
|
finisher_type: z.ZodEnum<{
|
|
@@ -2371,27 +1727,27 @@ declare const TraitsDTO: z.ZodArray<z.ZodObject<{
|
|
|
2371
1727
|
Whirl: "Whirl";
|
|
2372
1728
|
}>;
|
|
2373
1729
|
percent: z.ZodNumber;
|
|
2374
|
-
},
|
|
1730
|
+
}, z.core.$strip>,
|
|
2375
1731
|
z.ZodObject<{
|
|
2376
1732
|
type: z.ZodLiteral<"Damage">;
|
|
2377
1733
|
hit_count: z.ZodNumber;
|
|
2378
1734
|
dmg_multiplier: z.ZodNumber;
|
|
2379
|
-
},
|
|
1735
|
+
}, z.core.$strip>,
|
|
2380
1736
|
z.ZodObject<{
|
|
2381
1737
|
type: z.ZodLiteral<"Distance">;
|
|
2382
1738
|
distance: z.ZodNumber;
|
|
2383
|
-
},
|
|
1739
|
+
}, z.core.$strip>,
|
|
2384
1740
|
z.ZodObject<{
|
|
2385
1741
|
type: z.ZodLiteral<"NoData">;
|
|
2386
|
-
},
|
|
1742
|
+
}, z.core.$strip>,
|
|
2387
1743
|
z.ZodObject<{
|
|
2388
1744
|
type: z.ZodLiteral<"Number">;
|
|
2389
1745
|
value: z.ZodNumber;
|
|
2390
|
-
},
|
|
1746
|
+
}, z.core.$strip>,
|
|
2391
1747
|
z.ZodObject<{
|
|
2392
1748
|
type: z.ZodLiteral<"Percent">;
|
|
2393
1749
|
percent: z.ZodNumber;
|
|
2394
|
-
},
|
|
1750
|
+
}, z.core.$strip>,
|
|
2395
1751
|
z.ZodObject<{
|
|
2396
1752
|
type: z.ZodLiteral<"PrefixedBuff">;
|
|
2397
1753
|
status: z.ZodOptional<z.ZodString>;
|
|
@@ -2403,66 +1759,59 @@ declare const TraitsDTO: z.ZodArray<z.ZodObject<{
|
|
|
2403
1759
|
icon: z.ZodString;
|
|
2404
1760
|
status: z.ZodOptional<z.ZodString>;
|
|
2405
1761
|
description: z.ZodOptional<z.ZodString>;
|
|
2406
|
-
},
|
|
2407
|
-
},
|
|
1762
|
+
}, z.core.$strip>;
|
|
1763
|
+
}, z.core.$strip>,
|
|
2408
1764
|
z.ZodObject<{
|
|
2409
1765
|
type: z.ZodLiteral<"Radius">;
|
|
2410
1766
|
distance: z.ZodNumber;
|
|
2411
|
-
},
|
|
1767
|
+
}, z.core.$strip>,
|
|
2412
1768
|
z.ZodObject<{
|
|
2413
1769
|
type: z.ZodLiteral<"Range">;
|
|
2414
1770
|
value: z.ZodNumber;
|
|
2415
|
-
},
|
|
1771
|
+
}, z.core.$strip>,
|
|
2416
1772
|
z.ZodObject<{
|
|
2417
1773
|
type: z.ZodLiteral<"Recharge">;
|
|
2418
1774
|
value: z.ZodNumber;
|
|
2419
|
-
},
|
|
1775
|
+
}, z.core.$strip>,
|
|
2420
1776
|
z.ZodObject<{
|
|
2421
1777
|
type: z.ZodLiteral<"StunBreak">;
|
|
2422
1778
|
value: z.ZodLiteral<true>;
|
|
2423
|
-
},
|
|
1779
|
+
}, z.core.$strip>,
|
|
2424
1780
|
z.ZodObject<{
|
|
2425
1781
|
type: z.ZodLiteral<"Time">;
|
|
2426
1782
|
duration: z.ZodNumber;
|
|
2427
|
-
},
|
|
1783
|
+
}, z.core.$strip>,
|
|
2428
1784
|
z.ZodObject<{
|
|
2429
1785
|
type: z.ZodLiteral<"Unblockable">;
|
|
2430
1786
|
value: z.ZodLiteral<true>;
|
|
2431
|
-
},
|
|
1787
|
+
}, z.core.$strip>,
|
|
2432
1788
|
z.ZodObject<{
|
|
2433
1789
|
type: z.ZodUndefined;
|
|
2434
|
-
/** Cost per cast. Life Force ONLY. */
|
|
2435
1790
|
percent: z.ZodOptional<z.ZodNumber>;
|
|
2436
|
-
},
|
|
1791
|
+
}, z.core.$strip>
|
|
2437
1792
|
]>>>>;
|
|
2438
|
-
/** A list of additions or changes to tooltip facts where there is interplay between traits. */
|
|
2439
1793
|
traited_facts: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
2440
|
-
/** An arbitrary localized string describing the fact.*/
|
|
2441
1794
|
text: z.ZodOptional<z.ZodString>;
|
|
2442
|
-
/** A URL to the icon shown with the fact. Not included with all facts.*/
|
|
2443
1795
|
icon: z.ZodOptional<z.ZodString>;
|
|
2444
|
-
},
|
|
1796
|
+
}, z.core.$strip>, z.ZodDiscriminatedUnion<[
|
|
2445
1797
|
z.ZodObject<{
|
|
2446
1798
|
type: z.ZodLiteral<"AttributeAdjust">;
|
|
2447
1799
|
value: z.ZodNumber;
|
|
2448
1800
|
target: z.ZodString;
|
|
2449
|
-
},
|
|
1801
|
+
}, z.core.$strip>,
|
|
2450
1802
|
z.ZodObject<{
|
|
2451
1803
|
type: z.ZodLiteral<"Buff">;
|
|
2452
1804
|
status: z.ZodString;
|
|
2453
1805
|
description: z.ZodOptional<z.ZodString>;
|
|
2454
1806
|
apply_count: z.ZodOptional<z.ZodNumber>;
|
|
2455
1807
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
2456
|
-
},
|
|
1808
|
+
}, z.core.$strip>,
|
|
2457
1809
|
z.ZodObject<{
|
|
2458
1810
|
type: z.ZodLiteral<"BuffConversion">;
|
|
2459
|
-
/** The attribute that is used to calculate the attribute gain. */
|
|
2460
1811
|
source: z.ZodString;
|
|
2461
|
-
/** How much of the source attribute is added to target. */
|
|
2462
1812
|
percent: z.ZodNumber;
|
|
2463
|
-
/** The attribute that gets added to. */
|
|
2464
1813
|
target: z.ZodString;
|
|
2465
|
-
},
|
|
1814
|
+
}, z.core.$strip>,
|
|
2466
1815
|
z.ZodObject<{
|
|
2467
1816
|
type: z.ZodLiteral<"ComboField">;
|
|
2468
1817
|
field_type: z.ZodEnum<{
|
|
@@ -2477,7 +1826,7 @@ declare const TraitsDTO: z.ZodArray<z.ZodObject<{
|
|
|
2477
1826
|
Ethereal: "Ethereal";
|
|
2478
1827
|
Water: "Water";
|
|
2479
1828
|
}>;
|
|
2480
|
-
},
|
|
1829
|
+
}, z.core.$strip>,
|
|
2481
1830
|
z.ZodObject<{
|
|
2482
1831
|
type: z.ZodLiteral<"ComboFinisher">;
|
|
2483
1832
|
finisher_type: z.ZodEnum<{
|
|
@@ -2487,27 +1836,27 @@ declare const TraitsDTO: z.ZodArray<z.ZodObject<{
|
|
|
2487
1836
|
Whirl: "Whirl";
|
|
2488
1837
|
}>;
|
|
2489
1838
|
percent: z.ZodNumber;
|
|
2490
|
-
},
|
|
1839
|
+
}, z.core.$strip>,
|
|
2491
1840
|
z.ZodObject<{
|
|
2492
1841
|
type: z.ZodLiteral<"Damage">;
|
|
2493
1842
|
hit_count: z.ZodNumber;
|
|
2494
1843
|
dmg_multiplier: z.ZodNumber;
|
|
2495
|
-
},
|
|
1844
|
+
}, z.core.$strip>,
|
|
2496
1845
|
z.ZodObject<{
|
|
2497
1846
|
type: z.ZodLiteral<"Distance">;
|
|
2498
1847
|
distance: z.ZodNumber;
|
|
2499
|
-
},
|
|
1848
|
+
}, z.core.$strip>,
|
|
2500
1849
|
z.ZodObject<{
|
|
2501
1850
|
type: z.ZodLiteral<"NoData">;
|
|
2502
|
-
},
|
|
1851
|
+
}, z.core.$strip>,
|
|
2503
1852
|
z.ZodObject<{
|
|
2504
1853
|
type: z.ZodLiteral<"Number">;
|
|
2505
1854
|
value: z.ZodNumber;
|
|
2506
|
-
},
|
|
1855
|
+
}, z.core.$strip>,
|
|
2507
1856
|
z.ZodObject<{
|
|
2508
1857
|
type: z.ZodLiteral<"Percent">;
|
|
2509
1858
|
percent: z.ZodNumber;
|
|
2510
|
-
},
|
|
1859
|
+
}, z.core.$strip>,
|
|
2511
1860
|
z.ZodObject<{
|
|
2512
1861
|
type: z.ZodLiteral<"PrefixedBuff">;
|
|
2513
1862
|
status: z.ZodOptional<z.ZodString>;
|
|
@@ -2519,82 +1868,67 @@ declare const TraitsDTO: z.ZodArray<z.ZodObject<{
|
|
|
2519
1868
|
icon: z.ZodString;
|
|
2520
1869
|
status: z.ZodOptional<z.ZodString>;
|
|
2521
1870
|
description: z.ZodOptional<z.ZodString>;
|
|
2522
|
-
},
|
|
2523
|
-
},
|
|
1871
|
+
}, z.core.$strip>;
|
|
1872
|
+
}, z.core.$strip>,
|
|
2524
1873
|
z.ZodObject<{
|
|
2525
1874
|
type: z.ZodLiteral<"Radius">;
|
|
2526
1875
|
distance: z.ZodNumber;
|
|
2527
|
-
},
|
|
1876
|
+
}, z.core.$strip>,
|
|
2528
1877
|
z.ZodObject<{
|
|
2529
1878
|
type: z.ZodLiteral<"Range">;
|
|
2530
1879
|
value: z.ZodNumber;
|
|
2531
|
-
},
|
|
1880
|
+
}, z.core.$strip>,
|
|
2532
1881
|
z.ZodObject<{
|
|
2533
1882
|
type: z.ZodLiteral<"Recharge">;
|
|
2534
1883
|
value: z.ZodNumber;
|
|
2535
|
-
},
|
|
1884
|
+
}, z.core.$strip>,
|
|
2536
1885
|
z.ZodObject<{
|
|
2537
1886
|
type: z.ZodLiteral<"StunBreak">;
|
|
2538
1887
|
value: z.ZodLiteral<true>;
|
|
2539
|
-
},
|
|
1888
|
+
}, z.core.$strip>,
|
|
2540
1889
|
z.ZodObject<{
|
|
2541
1890
|
type: z.ZodLiteral<"Time">;
|
|
2542
1891
|
duration: z.ZodNumber;
|
|
2543
|
-
},
|
|
1892
|
+
}, z.core.$strip>,
|
|
2544
1893
|
z.ZodObject<{
|
|
2545
1894
|
type: z.ZodLiteral<"Unblockable">;
|
|
2546
1895
|
value: z.ZodLiteral<true>;
|
|
2547
|
-
},
|
|
1896
|
+
}, z.core.$strip>,
|
|
2548
1897
|
z.ZodObject<{
|
|
2549
1898
|
type: z.ZodUndefined;
|
|
2550
|
-
/** Cost per cast. Life Force ONLY. */
|
|
2551
1899
|
percent: z.ZodOptional<z.ZodNumber>;
|
|
2552
|
-
},
|
|
1900
|
+
}, z.core.$strip>
|
|
2553
1901
|
]>>, z.ZodObject<{
|
|
2554
|
-
/** Specifies which trait has to be selected in order for this fact to take effect. */
|
|
2555
1902
|
requires_trait: z.ZodNumber;
|
|
2556
|
-
/** This specifies the array index of the facts object it will override, if the trait specified in requires_trait is selected.
|
|
2557
|
-
* If this field is omitted, then the fact contained within this object is to be appended to the existing facts array. */
|
|
2558
1903
|
overrides: z.ZodOptional<z.ZodNumber>;
|
|
2559
|
-
},
|
|
2560
|
-
/** A list of skills which may be triggered by the trait. */
|
|
1904
|
+
}, z.core.$strip>>>>;
|
|
2561
1905
|
skills: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2562
|
-
/** The ID of the skill. */
|
|
2563
1906
|
id: z.ZodNumber;
|
|
2564
|
-
/** The name of the skill. */
|
|
2565
1907
|
name: z.ZodString;
|
|
2566
|
-
/** The description of the skill. */
|
|
2567
1908
|
description: z.ZodString;
|
|
2568
|
-
/** The URL for the icon of the skill. */
|
|
2569
1909
|
icon: z.ZodString;
|
|
2570
|
-
/** A list of tooltip facts associated with the skill. */
|
|
2571
1910
|
facts: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
2572
|
-
/** An arbitrary localized string describing the fact.*/
|
|
2573
1911
|
text: z.ZodOptional<z.ZodString>;
|
|
2574
|
-
/** A URL to the icon shown with the fact. Not included with all facts.*/
|
|
2575
1912
|
icon: z.ZodOptional<z.ZodString>;
|
|
2576
|
-
},
|
|
1913
|
+
}, z.core.$strip>, z.ZodDiscriminatedUnion<[
|
|
2577
1914
|
z.ZodObject<{
|
|
2578
1915
|
type: z.ZodLiteral<"AttributeAdjust">;
|
|
2579
1916
|
value: z.ZodNumber;
|
|
2580
1917
|
target: z.ZodString;
|
|
2581
|
-
},
|
|
1918
|
+
}, z.core.$strip>,
|
|
2582
1919
|
z.ZodObject<{
|
|
2583
1920
|
type: z.ZodLiteral<"Buff">;
|
|
2584
1921
|
status: z.ZodString;
|
|
2585
1922
|
description: z.ZodOptional<z.ZodString>;
|
|
2586
1923
|
apply_count: z.ZodOptional<z.ZodNumber>;
|
|
2587
1924
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
2588
|
-
},
|
|
1925
|
+
}, z.core.$strip>,
|
|
2589
1926
|
z.ZodObject<{
|
|
2590
1927
|
type: z.ZodLiteral<"BuffConversion">;
|
|
2591
|
-
/** The attribute that is used to calculate the attribute gain. */
|
|
2592
1928
|
source: z.ZodString;
|
|
2593
|
-
/** How much of the source attribute is added to target. */
|
|
2594
1929
|
percent: z.ZodNumber;
|
|
2595
|
-
/** The attribute that gets added to. */
|
|
2596
1930
|
target: z.ZodString;
|
|
2597
|
-
},
|
|
1931
|
+
}, z.core.$strip>,
|
|
2598
1932
|
z.ZodObject<{
|
|
2599
1933
|
type: z.ZodLiteral<"ComboField">;
|
|
2600
1934
|
field_type: z.ZodEnum<{
|
|
@@ -2609,7 +1943,7 @@ declare const TraitsDTO: z.ZodArray<z.ZodObject<{
|
|
|
2609
1943
|
Ethereal: "Ethereal";
|
|
2610
1944
|
Water: "Water";
|
|
2611
1945
|
}>;
|
|
2612
|
-
},
|
|
1946
|
+
}, z.core.$strip>,
|
|
2613
1947
|
z.ZodObject<{
|
|
2614
1948
|
type: z.ZodLiteral<"ComboFinisher">;
|
|
2615
1949
|
finisher_type: z.ZodEnum<{
|
|
@@ -2619,27 +1953,27 @@ declare const TraitsDTO: z.ZodArray<z.ZodObject<{
|
|
|
2619
1953
|
Whirl: "Whirl";
|
|
2620
1954
|
}>;
|
|
2621
1955
|
percent: z.ZodNumber;
|
|
2622
|
-
},
|
|
1956
|
+
}, z.core.$strip>,
|
|
2623
1957
|
z.ZodObject<{
|
|
2624
1958
|
type: z.ZodLiteral<"Damage">;
|
|
2625
1959
|
hit_count: z.ZodNumber;
|
|
2626
1960
|
dmg_multiplier: z.ZodNumber;
|
|
2627
|
-
},
|
|
1961
|
+
}, z.core.$strip>,
|
|
2628
1962
|
z.ZodObject<{
|
|
2629
1963
|
type: z.ZodLiteral<"Distance">;
|
|
2630
1964
|
distance: z.ZodNumber;
|
|
2631
|
-
},
|
|
1965
|
+
}, z.core.$strip>,
|
|
2632
1966
|
z.ZodObject<{
|
|
2633
1967
|
type: z.ZodLiteral<"NoData">;
|
|
2634
|
-
},
|
|
1968
|
+
}, z.core.$strip>,
|
|
2635
1969
|
z.ZodObject<{
|
|
2636
1970
|
type: z.ZodLiteral<"Number">;
|
|
2637
1971
|
value: z.ZodNumber;
|
|
2638
|
-
},
|
|
1972
|
+
}, z.core.$strip>,
|
|
2639
1973
|
z.ZodObject<{
|
|
2640
1974
|
type: z.ZodLiteral<"Percent">;
|
|
2641
1975
|
percent: z.ZodNumber;
|
|
2642
|
-
},
|
|
1976
|
+
}, z.core.$strip>,
|
|
2643
1977
|
z.ZodObject<{
|
|
2644
1978
|
type: z.ZodLiteral<"PrefixedBuff">;
|
|
2645
1979
|
status: z.ZodOptional<z.ZodString>;
|
|
@@ -2651,66 +1985,59 @@ declare const TraitsDTO: z.ZodArray<z.ZodObject<{
|
|
|
2651
1985
|
icon: z.ZodString;
|
|
2652
1986
|
status: z.ZodOptional<z.ZodString>;
|
|
2653
1987
|
description: z.ZodOptional<z.ZodString>;
|
|
2654
|
-
},
|
|
2655
|
-
},
|
|
1988
|
+
}, z.core.$strip>;
|
|
1989
|
+
}, z.core.$strip>,
|
|
2656
1990
|
z.ZodObject<{
|
|
2657
1991
|
type: z.ZodLiteral<"Radius">;
|
|
2658
1992
|
distance: z.ZodNumber;
|
|
2659
|
-
},
|
|
1993
|
+
}, z.core.$strip>,
|
|
2660
1994
|
z.ZodObject<{
|
|
2661
1995
|
type: z.ZodLiteral<"Range">;
|
|
2662
1996
|
value: z.ZodNumber;
|
|
2663
|
-
},
|
|
1997
|
+
}, z.core.$strip>,
|
|
2664
1998
|
z.ZodObject<{
|
|
2665
1999
|
type: z.ZodLiteral<"Recharge">;
|
|
2666
2000
|
value: z.ZodNumber;
|
|
2667
|
-
},
|
|
2001
|
+
}, z.core.$strip>,
|
|
2668
2002
|
z.ZodObject<{
|
|
2669
2003
|
type: z.ZodLiteral<"StunBreak">;
|
|
2670
2004
|
value: z.ZodLiteral<true>;
|
|
2671
|
-
},
|
|
2005
|
+
}, z.core.$strip>,
|
|
2672
2006
|
z.ZodObject<{
|
|
2673
2007
|
type: z.ZodLiteral<"Time">;
|
|
2674
2008
|
duration: z.ZodNumber;
|
|
2675
|
-
},
|
|
2009
|
+
}, z.core.$strip>,
|
|
2676
2010
|
z.ZodObject<{
|
|
2677
2011
|
type: z.ZodLiteral<"Unblockable">;
|
|
2678
2012
|
value: z.ZodLiteral<true>;
|
|
2679
|
-
},
|
|
2013
|
+
}, z.core.$strip>,
|
|
2680
2014
|
z.ZodObject<{
|
|
2681
2015
|
type: z.ZodUndefined;
|
|
2682
|
-
/** Cost per cast. Life Force ONLY. */
|
|
2683
2016
|
percent: z.ZodOptional<z.ZodNumber>;
|
|
2684
|
-
},
|
|
2017
|
+
}, z.core.$strip>
|
|
2685
2018
|
]>>>>;
|
|
2686
|
-
/** A list of additions or changes to tooltip facts where there is interplay between traits. */
|
|
2687
2019
|
traited_facts: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
2688
|
-
/** An arbitrary localized string describing the fact.*/
|
|
2689
2020
|
text: z.ZodOptional<z.ZodString>;
|
|
2690
|
-
/** A URL to the icon shown with the fact. Not included with all facts.*/
|
|
2691
2021
|
icon: z.ZodOptional<z.ZodString>;
|
|
2692
|
-
},
|
|
2022
|
+
}, z.core.$strip>, z.ZodDiscriminatedUnion<[
|
|
2693
2023
|
z.ZodObject<{
|
|
2694
2024
|
type: z.ZodLiteral<"AttributeAdjust">;
|
|
2695
2025
|
value: z.ZodNumber;
|
|
2696
2026
|
target: z.ZodString;
|
|
2697
|
-
},
|
|
2027
|
+
}, z.core.$strip>,
|
|
2698
2028
|
z.ZodObject<{
|
|
2699
2029
|
type: z.ZodLiteral<"Buff">;
|
|
2700
2030
|
status: z.ZodString;
|
|
2701
2031
|
description: z.ZodOptional<z.ZodString>;
|
|
2702
2032
|
apply_count: z.ZodOptional<z.ZodNumber>;
|
|
2703
2033
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
2704
|
-
},
|
|
2034
|
+
}, z.core.$strip>,
|
|
2705
2035
|
z.ZodObject<{
|
|
2706
2036
|
type: z.ZodLiteral<"BuffConversion">;
|
|
2707
|
-
/** The attribute that is used to calculate the attribute gain. */
|
|
2708
2037
|
source: z.ZodString;
|
|
2709
|
-
/** How much of the source attribute is added to target. */
|
|
2710
2038
|
percent: z.ZodNumber;
|
|
2711
|
-
/** The attribute that gets added to. */
|
|
2712
2039
|
target: z.ZodString;
|
|
2713
|
-
},
|
|
2040
|
+
}, z.core.$strip>,
|
|
2714
2041
|
z.ZodObject<{
|
|
2715
2042
|
type: z.ZodLiteral<"ComboField">;
|
|
2716
2043
|
field_type: z.ZodEnum<{
|
|
@@ -2725,7 +2052,7 @@ declare const TraitsDTO: z.ZodArray<z.ZodObject<{
|
|
|
2725
2052
|
Ethereal: "Ethereal";
|
|
2726
2053
|
Water: "Water";
|
|
2727
2054
|
}>;
|
|
2728
|
-
},
|
|
2055
|
+
}, z.core.$strip>,
|
|
2729
2056
|
z.ZodObject<{
|
|
2730
2057
|
type: z.ZodLiteral<"ComboFinisher">;
|
|
2731
2058
|
finisher_type: z.ZodEnum<{
|
|
@@ -2735,27 +2062,27 @@ declare const TraitsDTO: z.ZodArray<z.ZodObject<{
|
|
|
2735
2062
|
Whirl: "Whirl";
|
|
2736
2063
|
}>;
|
|
2737
2064
|
percent: z.ZodNumber;
|
|
2738
|
-
},
|
|
2065
|
+
}, z.core.$strip>,
|
|
2739
2066
|
z.ZodObject<{
|
|
2740
2067
|
type: z.ZodLiteral<"Damage">;
|
|
2741
2068
|
hit_count: z.ZodNumber;
|
|
2742
2069
|
dmg_multiplier: z.ZodNumber;
|
|
2743
|
-
},
|
|
2070
|
+
}, z.core.$strip>,
|
|
2744
2071
|
z.ZodObject<{
|
|
2745
2072
|
type: z.ZodLiteral<"Distance">;
|
|
2746
2073
|
distance: z.ZodNumber;
|
|
2747
|
-
},
|
|
2074
|
+
}, z.core.$strip>,
|
|
2748
2075
|
z.ZodObject<{
|
|
2749
2076
|
type: z.ZodLiteral<"NoData">;
|
|
2750
|
-
},
|
|
2077
|
+
}, z.core.$strip>,
|
|
2751
2078
|
z.ZodObject<{
|
|
2752
2079
|
type: z.ZodLiteral<"Number">;
|
|
2753
2080
|
value: z.ZodNumber;
|
|
2754
|
-
},
|
|
2081
|
+
}, z.core.$strip>,
|
|
2755
2082
|
z.ZodObject<{
|
|
2756
2083
|
type: z.ZodLiteral<"Percent">;
|
|
2757
2084
|
percent: z.ZodNumber;
|
|
2758
|
-
},
|
|
2085
|
+
}, z.core.$strip>,
|
|
2759
2086
|
z.ZodObject<{
|
|
2760
2087
|
type: z.ZodLiteral<"PrefixedBuff">;
|
|
2761
2088
|
status: z.ZodOptional<z.ZodString>;
|
|
@@ -2767,54 +2094,45 @@ declare const TraitsDTO: z.ZodArray<z.ZodObject<{
|
|
|
2767
2094
|
icon: z.ZodString;
|
|
2768
2095
|
status: z.ZodOptional<z.ZodString>;
|
|
2769
2096
|
description: z.ZodOptional<z.ZodString>;
|
|
2770
|
-
},
|
|
2771
|
-
},
|
|
2097
|
+
}, z.core.$strip>;
|
|
2098
|
+
}, z.core.$strip>,
|
|
2772
2099
|
z.ZodObject<{
|
|
2773
2100
|
type: z.ZodLiteral<"Radius">;
|
|
2774
2101
|
distance: z.ZodNumber;
|
|
2775
|
-
},
|
|
2102
|
+
}, z.core.$strip>,
|
|
2776
2103
|
z.ZodObject<{
|
|
2777
2104
|
type: z.ZodLiteral<"Range">;
|
|
2778
2105
|
value: z.ZodNumber;
|
|
2779
|
-
},
|
|
2106
|
+
}, z.core.$strip>,
|
|
2780
2107
|
z.ZodObject<{
|
|
2781
2108
|
type: z.ZodLiteral<"Recharge">;
|
|
2782
2109
|
value: z.ZodNumber;
|
|
2783
|
-
},
|
|
2110
|
+
}, z.core.$strip>,
|
|
2784
2111
|
z.ZodObject<{
|
|
2785
2112
|
type: z.ZodLiteral<"StunBreak">;
|
|
2786
2113
|
value: z.ZodLiteral<true>;
|
|
2787
|
-
},
|
|
2114
|
+
}, z.core.$strip>,
|
|
2788
2115
|
z.ZodObject<{
|
|
2789
2116
|
type: z.ZodLiteral<"Time">;
|
|
2790
2117
|
duration: z.ZodNumber;
|
|
2791
|
-
},
|
|
2118
|
+
}, z.core.$strip>,
|
|
2792
2119
|
z.ZodObject<{
|
|
2793
2120
|
type: z.ZodLiteral<"Unblockable">;
|
|
2794
2121
|
value: z.ZodLiteral<true>;
|
|
2795
|
-
},
|
|
2122
|
+
}, z.core.$strip>,
|
|
2796
2123
|
z.ZodObject<{
|
|
2797
2124
|
type: z.ZodUndefined;
|
|
2798
|
-
/** Cost per cast. Life Force ONLY. */
|
|
2799
2125
|
percent: z.ZodOptional<z.ZodNumber>;
|
|
2800
|
-
},
|
|
2126
|
+
}, z.core.$strip>
|
|
2801
2127
|
]>>, z.ZodObject<{
|
|
2802
|
-
/** Specifies which trait has to be selected in order for this fact to take effect. */
|
|
2803
2128
|
requires_trait: z.ZodNumber;
|
|
2804
|
-
/** This specifies the array index of the facts object it will override, if the trait specified in requires_trait is selected.
|
|
2805
|
-
* If this field is omitted, then the fact contained within this object is to be appended to the existing facts array. */
|
|
2806
2129
|
overrides: z.ZodOptional<z.ZodNumber>;
|
|
2807
|
-
},
|
|
2808
|
-
},
|
|
2809
|
-
},
|
|
2130
|
+
}, z.core.$strip>>>>;
|
|
2131
|
+
}, z.core.$strip>>>;
|
|
2132
|
+
}, z.core.$strip>>;
|
|
2810
2133
|
declare const WorldsDTO: z.ZodArray<z.ZodObject<{
|
|
2811
|
-
/** The world id.
|
|
2812
|
-
* The first digit of the id indicates the world's region. 1 is North America, 2 is Europe.
|
|
2813
|
-
* The second digit of the id currently correlates with the world's assigned language: 1 means French, 2 means German, and 3 means Spanish. */
|
|
2814
2134
|
id: z.ZodNumber;
|
|
2815
|
-
/** The world name. */
|
|
2816
2135
|
name: z.ZodString;
|
|
2817
|
-
/** The world population level. */
|
|
2818
2136
|
population: z.ZodEnum<{
|
|
2819
2137
|
Medium: "Medium";
|
|
2820
2138
|
Low: "Low";
|
|
@@ -2822,49 +2140,31 @@ declare const WorldsDTO: z.ZodArray<z.ZodObject<{
|
|
|
2822
2140
|
VeryHigh: "VeryHigh";
|
|
2823
2141
|
Full: "Full";
|
|
2824
2142
|
}>;
|
|
2825
|
-
},
|
|
2143
|
+
}, z.core.$strip>>;
|
|
2826
2144
|
declare const MountsSkinsDTO: z.ZodArray<z.ZodObject<{
|
|
2827
|
-
/** The id of the mount skin. */
|
|
2828
2145
|
id: z.ZodNumber;
|
|
2829
|
-
/** The name of the mount as it appears in-game. */
|
|
2830
2146
|
name: z.ZodString;
|
|
2831
|
-
/** The full icon URL. */
|
|
2832
2147
|
icon: z.ZodString;
|
|
2833
|
-
/** The mount type id for the given mount skin. Can be resolved against /v2/mounts/types */
|
|
2834
2148
|
mount: z.ZodString;
|
|
2835
|
-
/** Each object contains a key-value pair for the dye. */
|
|
2836
2149
|
dye_slots: z.ZodArray<z.ZodObject<{
|
|
2837
|
-
/** Color id. Can be resolved against /v2/colors. */
|
|
2838
2150
|
color_id: z.ZodNumber;
|
|
2839
|
-
/** Material description. */
|
|
2840
2151
|
material: z.ZodString;
|
|
2841
|
-
},
|
|
2842
|
-
},
|
|
2152
|
+
}, z.core.$strip>>;
|
|
2153
|
+
}, z.core.$strip>>;
|
|
2843
2154
|
declare const MountsTypesDTO: z.ZodArray<z.ZodObject<{
|
|
2844
|
-
/** The id of the mount. */
|
|
2845
2155
|
id: z.ZodString;
|
|
2846
|
-
/** The name of the mount type as it appears in-game. */
|
|
2847
2156
|
name: z.ZodString;
|
|
2848
|
-
/** The mount skin a mount has when first obtained. Can be resolved against /v2/mounts/skins. */
|
|
2849
2157
|
default_skin: z.ZodNumber;
|
|
2850
|
-
/** An array of mount skin ids. Can be resolved against /v2/mounts/skins. */
|
|
2851
2158
|
skins: z.ZodArray<z.ZodNumber>;
|
|
2852
|
-
/** Each object contains a key-value pair for the skill id and weapon slot. Can be resolved against /v2/skills. */
|
|
2853
2159
|
skills: z.ZodArray<z.ZodObject<{
|
|
2854
|
-
/** The skill id. */
|
|
2855
2160
|
id: z.ZodNumber;
|
|
2856
|
-
/** The skill slot. */
|
|
2857
2161
|
slot: z.ZodString;
|
|
2858
|
-
},
|
|
2859
|
-
},
|
|
2162
|
+
}, z.core.$strip>>;
|
|
2163
|
+
}, z.core.$strip>>;
|
|
2860
2164
|
declare const PvPAmuletsDTO: z.ZodArray<z.ZodObject<{
|
|
2861
|
-
/** The id of the amulet. */
|
|
2862
2165
|
id: z.ZodNumber;
|
|
2863
|
-
/** The name of the amulet. */
|
|
2864
2166
|
name: z.ZodString;
|
|
2865
|
-
/** The icon uri for the amulet. */
|
|
2866
2167
|
icon: z.ZodString;
|
|
2867
|
-
/** The list of stats provided by this PvP amulet. */
|
|
2868
2168
|
attributes: z.ZodObject<{
|
|
2869
2169
|
AgonyResistance: z.ZodOptional<z.ZodNumber>;
|
|
2870
2170
|
BoonDuration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2876,382 +2176,224 @@ declare const PvPAmuletsDTO: z.ZodArray<z.ZodObject<{
|
|
|
2876
2176
|
Precision: z.ZodOptional<z.ZodNumber>;
|
|
2877
2177
|
Toughness: z.ZodOptional<z.ZodNumber>;
|
|
2878
2178
|
Vitality: z.ZodOptional<z.ZodNumber>;
|
|
2879
|
-
},
|
|
2880
|
-
},
|
|
2179
|
+
}, z.core.$strip>;
|
|
2180
|
+
}, z.core.$strip>>;
|
|
2881
2181
|
declare const PvPGamesDTO: z.ZodArray<z.ZodObject<{
|
|
2882
|
-
/** The game's UUID. */
|
|
2883
2182
|
id: z.ZodString;
|
|
2884
|
-
/** The map the match was played on, cross-referenced from /v2/maps. */
|
|
2885
2183
|
map_id: z.ZodNumber;
|
|
2886
|
-
/** A timestamp of when the match started. */
|
|
2887
2184
|
started: z.ZodString;
|
|
2888
|
-
/** A timestamp of when the match ended. */
|
|
2889
2185
|
ended: z.ZodString;
|
|
2890
|
-
/** The result of the match. */
|
|
2891
2186
|
result: z.ZodString;
|
|
2892
|
-
/** The team the player was on during the match. */
|
|
2893
2187
|
team: z.ZodString;
|
|
2894
|
-
/** The profession the player was playing during the match. */
|
|
2895
2188
|
profession: z.ZodString;
|
|
2896
|
-
/** The ending scores for each team. */
|
|
2897
2189
|
scores: z.ZodObject<{
|
|
2898
|
-
/** Red team. */
|
|
2899
2190
|
red: z.ZodNumber;
|
|
2900
|
-
/** Blue team. */
|
|
2901
2191
|
blue: z.ZodNumber;
|
|
2902
|
-
},
|
|
2903
|
-
/** The type of game mode played. */
|
|
2192
|
+
}, z.core.$strip>;
|
|
2904
2193
|
rating_type: z.ZodEnum<{
|
|
2905
2194
|
Ranked: "Ranked";
|
|
2906
2195
|
Unranked: "Unranked";
|
|
2907
2196
|
None: "None";
|
|
2908
2197
|
}>;
|
|
2909
|
-
/** Change in rating as a result of the observed game. Note that number can be negative in the case of a loss. */
|
|
2910
2198
|
rating_change: z.ZodOptional<z.ZodNumber>;
|
|
2911
|
-
/** Season id. Can be resolved against /v2/pvp/season. */
|
|
2912
2199
|
season: z.ZodOptional<z.ZodString>;
|
|
2913
|
-
},
|
|
2200
|
+
}, z.core.$strip>>;
|
|
2914
2201
|
declare const PvPHeroesDTO: z.ZodArray<z.ZodObject<{
|
|
2915
|
-
/** The id of the pvp heroes. */
|
|
2916
2202
|
id: z.ZodString;
|
|
2917
|
-
/** The name of the pvp heroes. */
|
|
2918
2203
|
name: z.ZodString;
|
|
2919
|
-
/** The flavor type describing the hero. */
|
|
2920
2204
|
type: z.ZodString;
|
|
2921
|
-
/** An object reflecting the champions stats under offense, defense, or speed. */
|
|
2922
2205
|
stats: z.ZodObject<{
|
|
2923
|
-
/** Offense. */
|
|
2924
2206
|
offense: z.ZodNumber;
|
|
2925
|
-
/** Defense. */
|
|
2926
2207
|
defense: z.ZodNumber;
|
|
2927
|
-
/** Speed. */
|
|
2928
2208
|
speed: z.ZodNumber;
|
|
2929
|
-
},
|
|
2930
|
-
/** The overlay art url for that champion. */
|
|
2209
|
+
}, z.core.$strip>;
|
|
2931
2210
|
overlay: z.ZodString;
|
|
2932
|
-
/** The underlay art url for that champion. */
|
|
2933
2211
|
underlay: z.ZodString;
|
|
2934
|
-
/** The pvp hero skin. */
|
|
2935
2212
|
skins: z.ZodArray<z.ZodObject<{
|
|
2936
|
-
/** The skin id. */
|
|
2937
2213
|
id: z.ZodNumber;
|
|
2938
|
-
/** The name of the skin. */
|
|
2939
2214
|
name: z.ZodString;
|
|
2940
|
-
/** The icon url for the skin. */
|
|
2941
2215
|
icon: z.ZodString;
|
|
2942
|
-
/** States if the skin is the default champion skin. */
|
|
2943
2216
|
default: z.ZodBoolean;
|
|
2944
|
-
/** Item ids which unlock the skin. Can be resolved against /v2/items. */
|
|
2945
2217
|
unlock_items: z.ZodArray<z.ZodNumber>;
|
|
2946
|
-
},
|
|
2947
|
-
},
|
|
2218
|
+
}, z.core.$strip>>;
|
|
2219
|
+
}, z.core.$strip>>;
|
|
2948
2220
|
declare const PvPRanksDTO: z.ZodArray<z.ZodObject<{
|
|
2949
|
-
/** The id of the pvp rank. */
|
|
2950
2221
|
id: z.ZodNumber;
|
|
2951
|
-
/** The id of the unlocked finisher, can be resolved against /v2/finishers */
|
|
2952
2222
|
finisher_id: z.ZodNumber;
|
|
2953
|
-
/** The given name for the PvP rank. */
|
|
2954
2223
|
name: z.ZodString;
|
|
2955
|
-
/** The icon uri for the Pvp rank. */
|
|
2956
2224
|
icon: z.ZodString;
|
|
2957
|
-
/** The minimum PvP level required to be at this rank. */
|
|
2958
2225
|
min_rank: z.ZodNumber;
|
|
2959
|
-
/** The maximum PvP level required to be at this rank. */
|
|
2960
2226
|
max_rank: z.ZodNumber;
|
|
2961
|
-
/** The rank levels. */
|
|
2962
2227
|
levels: z.ZodArray<z.ZodObject<{
|
|
2963
|
-
/** The minimum PvP level required to be at this rank. */
|
|
2964
2228
|
min_rank: z.ZodNumber;
|
|
2965
|
-
/** The maximum PvP level required to be at this rank. */
|
|
2966
2229
|
max_rank: z.ZodNumber;
|
|
2967
|
-
/** The amount of PvP experience needed to go from the given minimum rank to maximum rank. */
|
|
2968
2230
|
points: z.ZodNumber;
|
|
2969
|
-
},
|
|
2970
|
-
},
|
|
2231
|
+
}, z.core.$strip>>;
|
|
2232
|
+
}, z.core.$strip>>;
|
|
2971
2233
|
declare const PvPSeasonDTO: z.ZodArray<z.ZodObject<{
|
|
2972
|
-
/** The season's UUID. */
|
|
2973
2234
|
id: z.ZodString;
|
|
2974
|
-
/** The season's name. */
|
|
2975
2235
|
name: z.ZodString;
|
|
2976
|
-
/** ISO timestamp for season start. */
|
|
2977
2236
|
start: z.ZodString;
|
|
2978
|
-
/** ISO timestamp for season end. */
|
|
2979
2237
|
end: z.ZodString;
|
|
2980
|
-
/** Whether the season is currently active. */
|
|
2981
2238
|
active: z.ZodBoolean;
|
|
2982
|
-
/** A list of divisions. */
|
|
2983
2239
|
divisions: z.ZodArray<z.ZodObject<{
|
|
2984
|
-
/** The division's name. */
|
|
2985
2240
|
name: z.ZodString;
|
|
2986
|
-
/** Flags applying to the division. */
|
|
2987
2241
|
flags: z.ZodArray<z.ZodEnum<{
|
|
2988
2242
|
CanLosePoints: "CanLosePoints";
|
|
2989
2243
|
CanLoseTiers: "CanLoseTiers";
|
|
2990
2244
|
Repeatable: "Repeatable";
|
|
2991
2245
|
}>>;
|
|
2992
|
-
/** Path to the large icon. */
|
|
2993
2246
|
large_icon: z.ZodString;
|
|
2994
|
-
/** Path to the small icon. */
|
|
2995
2247
|
small_icon: z.ZodString;
|
|
2996
|
-
/** Path to the pip icon. */
|
|
2997
2248
|
pip_icon: z.ZodString;
|
|
2998
|
-
/** A list of tiers. */
|
|
2999
2249
|
tiers: z.ZodArray<z.ZodObject<{
|
|
3000
|
-
/** The number of pipes contained in each tier. */
|
|
3001
2250
|
points: z.ZodNumber;
|
|
3002
|
-
},
|
|
3003
|
-
},
|
|
3004
|
-
/** Contains details about the season's ranks */
|
|
2251
|
+
}, z.core.$strip>>;
|
|
2252
|
+
}, z.core.$strip>>;
|
|
3005
2253
|
ranks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3006
|
-
/** The rank's name. */
|
|
3007
2254
|
name: z.ZodString;
|
|
3008
|
-
/** The rank's description. */
|
|
3009
2255
|
description: z.ZodString;
|
|
3010
|
-
/** The full icon URL. */
|
|
3011
2256
|
icon: z.ZodString;
|
|
3012
|
-
/** The full URL for the rank's overlay icon. */
|
|
3013
2257
|
overlay: z.ZodString;
|
|
3014
|
-
/** The full URL for a small variant of the rank's overlay icon. */
|
|
3015
2258
|
overlay_small: z.ZodString;
|
|
3016
|
-
/** The tiers of the rank. */
|
|
3017
2259
|
tiers: z.ZodArray<z.ZodObject<{
|
|
3018
|
-
/** The minimum PvP rating required for the tier. */
|
|
3019
2260
|
rating: z.ZodNumber;
|
|
3020
|
-
},
|
|
3021
|
-
},
|
|
3022
|
-
/** Contains details on the current leaderboards. */
|
|
2261
|
+
}, z.core.$strip>>;
|
|
2262
|
+
}, z.core.$strip>>>;
|
|
3023
2263
|
leaderboards: z.ZodObject<{
|
|
3024
|
-
/** The leaderboard ladder. */
|
|
3025
2264
|
ladder: z.ZodOptional<z.ZodObject<{
|
|
3026
|
-
/** The ladder settings. */
|
|
3027
2265
|
settings: z.ZodObject<{
|
|
3028
|
-
/** Setting name. NOTE: Broken, always empty. */
|
|
3029
2266
|
name: z.ZodString;
|
|
3030
|
-
/** Duration setting. NOTE: Broken, always null. Supposed to be a number. */
|
|
3031
2267
|
duration: z.ZodNull;
|
|
3032
|
-
/** Indicates the primary scoring component. */
|
|
3033
2268
|
scoring: z.ZodString;
|
|
3034
|
-
/** The ladder tiers. */
|
|
3035
2269
|
tiers: z.ZodArray<z.ZodObject<{
|
|
3036
|
-
/** Two numbers, a maximum, followed by minimum. */
|
|
3037
2270
|
range: z.ZodArray<z.ZodNumber>;
|
|
3038
|
-
},
|
|
3039
|
-
},
|
|
3040
|
-
/** Array used as reference to select player/guild scoring method. */
|
|
2271
|
+
}, z.core.$strip>>;
|
|
2272
|
+
}, z.core.$strip>;
|
|
3041
2273
|
scorings: z.ZodArray<z.ZodObject<{
|
|
3042
|
-
/** The id for this scoring method, used as a reference in other endpoints. */
|
|
3043
2274
|
id: z.ZodString;
|
|
3044
|
-
/** Which variable type the content is saved as. */
|
|
3045
2275
|
type: z.ZodString;
|
|
3046
|
-
/** Description of the scoring method (if any). */
|
|
3047
2276
|
description: z.ZodString;
|
|
3048
|
-
/** Should represent the scoring method, such as "wins", "losses", and "skill rating". */
|
|
3049
2277
|
name: z.ZodString;
|
|
3050
|
-
/** Will describe how the scoring is ordered. */
|
|
3051
2278
|
ordering: z.ZodString;
|
|
3052
|
-
},
|
|
3053
|
-
},
|
|
3054
|
-
},
|
|
3055
|
-
},
|
|
2279
|
+
}, z.core.$strip>>;
|
|
2280
|
+
}, z.core.$strip>>;
|
|
2281
|
+
}, z.core.$strip>;
|
|
2282
|
+
}, z.core.$strip>>;
|
|
3056
2283
|
declare const PvPSeasonLeaderboardsDTO: z.ZodArray<z.ZodObject<{
|
|
3057
|
-
/** Account name. */
|
|
3058
2284
|
name: z.ZodString;
|
|
3059
|
-
/** Rank for the given player/guild. */
|
|
3060
2285
|
rank: z.ZodNumber;
|
|
3061
|
-
/** Guild id. NOTE: Almost never present. */
|
|
3062
2286
|
id: z.ZodOptional<z.ZodString>;
|
|
3063
|
-
/** (only for guild leaderboard) Name of the team. */
|
|
3064
2287
|
team: z.ZodOptional<z.ZodString>;
|
|
3065
|
-
/** (only for guild leaderboard) Internal team id. */
|
|
3066
2288
|
team_id: z.ZodOptional<z.ZodNumber>;
|
|
3067
|
-
/** Date at which the rank is reached. */
|
|
3068
2289
|
date: z.ZodString;
|
|
3069
|
-
/** Array of objects containing the id and values for scorings. */
|
|
3070
2290
|
scores: z.ZodArray<z.ZodObject<{
|
|
3071
|
-
/** Id for the scoring parameter. Can be compared to the values obtained from /v2/pvp/seasons/:id in the scorings array. */
|
|
3072
2291
|
id: z.ZodString;
|
|
3073
|
-
/** Value for the given id. */
|
|
3074
2292
|
value: z.ZodNumber;
|
|
3075
|
-
},
|
|
3076
|
-
},
|
|
2293
|
+
}, z.core.$strip>>;
|
|
2294
|
+
}, z.core.$strip>>;
|
|
3077
2295
|
declare const PvPSeasonLeaderboardRegionsDTO: z.ZodArray<z.ZodString>;
|
|
3078
2296
|
declare const StoriesDTO: z.ZodArray<z.ZodObject<{
|
|
3079
|
-
/** The id of the story. */
|
|
3080
2297
|
id: z.ZodNumber;
|
|
3081
|
-
/**
|
|
3082
|
-
* The id for the story season.
|
|
3083
|
-
* Can be resolved against /v2/stories/seasons.
|
|
3084
|
-
*/
|
|
3085
2298
|
season: z.ZodString;
|
|
3086
|
-
/** The name of the story. */
|
|
3087
2299
|
name: z.ZodString;
|
|
3088
|
-
/** The description of the story. */
|
|
3089
2300
|
description: z.ZodString;
|
|
3090
|
-
/** The (in-game, not real-world) date of the story. */
|
|
3091
2301
|
timeline: z.ZodString;
|
|
3092
|
-
/** The minimum level required for a character to begin this story. */
|
|
3093
2302
|
level: z.ZodNumber;
|
|
3094
|
-
/** The order in which this story is displayed in the Story Journal. */
|
|
3095
2303
|
order: z.ZodNumber;
|
|
3096
|
-
/** An array of chapter objects providing details about the chapters for this story. */
|
|
3097
2304
|
chapters: z.ZodArray<z.ZodObject<{
|
|
3098
|
-
/** The name of the chapter. */
|
|
3099
2305
|
name: z.ZodString;
|
|
3100
|
-
},
|
|
3101
|
-
/** When present, provides a list of races that are eligible to participate in this story. */
|
|
2306
|
+
}, z.core.$strip>>;
|
|
3102
2307
|
races: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3103
|
-
/** When present, provides a list of additional requirements for a character to participate in this story. */
|
|
3104
2308
|
flags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3105
|
-
},
|
|
2309
|
+
}, z.core.$strip>>;
|
|
3106
2310
|
declare const StoriesSeasonsDTO: z.ZodArray<z.ZodObject<{
|
|
3107
|
-
/** The id of the season. */
|
|
3108
2311
|
id: z.ZodString;
|
|
3109
|
-
/** The name of the season. */
|
|
3110
2312
|
name: z.ZodString;
|
|
3111
|
-
/** The order in which this season is displayed in the Story Journal. */
|
|
3112
2313
|
order: z.ZodNumber;
|
|
3113
|
-
/** An array of story ids for the stories that belong to this season. */
|
|
3114
2314
|
stories: z.ZodArray<z.ZodNumber>;
|
|
3115
|
-
},
|
|
2315
|
+
}, z.core.$strip>>;
|
|
3116
2316
|
declare const WizardsVaultListingsDTO: z.ZodArray<z.ZodObject<{
|
|
3117
|
-
/** The listing id. */
|
|
3118
2317
|
id: z.ZodNumber;
|
|
3119
|
-
/** The id of the item */
|
|
3120
2318
|
item_id: z.ZodNumber;
|
|
3121
|
-
/** The quantity of the item the user receives */
|
|
3122
2319
|
item_count: z.ZodNumber;
|
|
3123
|
-
/** Appears to be the position in the wizards vault UI. */
|
|
3124
2320
|
type: z.ZodEnum<{
|
|
3125
2321
|
Featured: "Featured";
|
|
3126
2322
|
Normal: "Normal";
|
|
3127
2323
|
Legacy: "Legacy";
|
|
3128
2324
|
}>;
|
|
3129
|
-
/** The quantity of Astral Acclaim to purchase . */
|
|
3130
2325
|
cost: z.ZodNumber;
|
|
3131
|
-
},
|
|
2326
|
+
}, z.core.$strip>>;
|
|
3132
2327
|
declare const WizardsVaultObjectivesDTO: z.ZodArray<z.ZodObject<{
|
|
3133
|
-
/** The ID of the objective. */
|
|
3134
2328
|
id: z.ZodNumber;
|
|
3135
|
-
/** The title of the objective. */
|
|
3136
2329
|
title: z.ZodString;
|
|
3137
|
-
/** The reward track containing the objective. */
|
|
3138
2330
|
track: z.ZodEnum<{
|
|
3139
2331
|
PvP: "PvP";
|
|
3140
2332
|
WvW: "WvW";
|
|
3141
2333
|
PvE: "PvE";
|
|
3142
2334
|
}>;
|
|
3143
|
-
/** The amount of astral acclaim awarded. */
|
|
3144
2335
|
acclaim: z.ZodNumber;
|
|
3145
|
-
},
|
|
2336
|
+
}, z.core.$strip>>;
|
|
3146
2337
|
declare const WvWAbilitiesDTO: z.ZodArray<z.ZodObject<{
|
|
3147
|
-
/** The id of the abilities.*/
|
|
3148
2338
|
id: z.ZodNumber;
|
|
3149
|
-
/** The given name for the WvW ability.*/
|
|
3150
2339
|
name: z.ZodString;
|
|
3151
|
-
/** The given description for the WvW ability.*/
|
|
3152
2340
|
description: z.ZodString;
|
|
3153
|
-
/** The uri for the ability's icon.*/
|
|
3154
2341
|
icon: z.ZodString;
|
|
3155
|
-
/** The WvW ranks.*/
|
|
3156
2342
|
ranks: z.ZodArray<z.ZodObject<{
|
|
3157
|
-
/** The cost in WvW experience points to purchase the ability.*/
|
|
3158
2343
|
cost: z.ZodNumber;
|
|
3159
|
-
/** The effect given to players for obtaining the given ability rank.*/
|
|
3160
2344
|
effect: z.ZodString;
|
|
3161
|
-
},
|
|
3162
|
-
},
|
|
2345
|
+
}, z.core.$strip>>;
|
|
2346
|
+
}, z.core.$strip>>;
|
|
3163
2347
|
declare const WvWMatchesDTO: z.ZodArray<z.ZodObject<{
|
|
3164
|
-
/** The WvW match id. */
|
|
3165
2348
|
id: z.ZodString;
|
|
3166
|
-
/** The starting time of the matchup. (ISO-8601 Standard) */
|
|
3167
2349
|
start_time: z.ZodString;
|
|
3168
|
-
/** The ending time of the matchup. (ISO-8601 Standard) */
|
|
3169
2350
|
end_time: z.ZodString;
|
|
3170
|
-
/** An object containing the score of the three servers. */
|
|
3171
2351
|
scores: z.ZodObject<{
|
|
3172
|
-
/** Score of the red team. */
|
|
3173
2352
|
red: z.ZodNumber;
|
|
3174
|
-
/** Score of the blue team. */
|
|
3175
2353
|
blue: z.ZodNumber;
|
|
3176
|
-
/** Score of the green team. */
|
|
3177
2354
|
green: z.ZodNumber;
|
|
3178
|
-
},
|
|
3179
|
-
/** An object containing the IDs of the three primary matchup worlds. */
|
|
2355
|
+
}, z.core.$strip>;
|
|
3180
2356
|
worlds: z.ZodObject<{
|
|
3181
|
-
/** Score of the red team. */
|
|
3182
2357
|
red: z.ZodNumber;
|
|
3183
|
-
/** Score of the blue team. */
|
|
3184
2358
|
blue: z.ZodNumber;
|
|
3185
|
-
/** Score of the green team. */
|
|
3186
2359
|
green: z.ZodNumber;
|
|
3187
|
-
},
|
|
3188
|
-
/** n object containing an array of objects with the world IDs of the three servers. */
|
|
2360
|
+
}, z.core.$strip>;
|
|
3189
2361
|
all_worlds: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodNumber>>;
|
|
3190
|
-
/** An object containing the total deaths of the three servers. */
|
|
3191
2362
|
deaths: z.ZodObject<{
|
|
3192
|
-
/** Score of the red team. */
|
|
3193
2363
|
red: z.ZodNumber;
|
|
3194
|
-
/** Score of the blue team. */
|
|
3195
2364
|
blue: z.ZodNumber;
|
|
3196
|
-
/** Score of the green team. */
|
|
3197
2365
|
green: z.ZodNumber;
|
|
3198
|
-
},
|
|
3199
|
-
/** An object containing the total kills of the three servers. */
|
|
2366
|
+
}, z.core.$strip>;
|
|
3200
2367
|
kills: z.ZodObject<{
|
|
3201
|
-
/** Score of the red team. */
|
|
3202
2368
|
red: z.ZodNumber;
|
|
3203
|
-
/** Score of the blue team. */
|
|
3204
2369
|
blue: z.ZodNumber;
|
|
3205
|
-
/** Score of the green team. */
|
|
3206
2370
|
green: z.ZodNumber;
|
|
3207
|
-
},
|
|
3208
|
-
/** An object containing the victory points of the three server. */
|
|
2371
|
+
}, z.core.$strip>;
|
|
3209
2372
|
victory_points: z.ZodObject<{
|
|
3210
|
-
/** Score of the red team. */
|
|
3211
2373
|
red: z.ZodNumber;
|
|
3212
|
-
/** Score of the blue team. */
|
|
3213
2374
|
blue: z.ZodNumber;
|
|
3214
|
-
/** Score of the green team. */
|
|
3215
2375
|
green: z.ZodNumber;
|
|
3216
|
-
},
|
|
3217
|
-
/** A list of objects containing detailed information about each of the four maps. */
|
|
2376
|
+
}, z.core.$strip>;
|
|
3218
2377
|
maps: z.ZodArray<z.ZodObject<{
|
|
3219
|
-
/** The map id. */
|
|
3220
2378
|
id: z.ZodNumber;
|
|
3221
|
-
/** The identifier for the map. Can be either RedHome, GreenHome or BlueHome for the borderlands or Center for Eternal Battlegrounds. */
|
|
3222
2379
|
type: z.ZodString;
|
|
3223
|
-
/** An object containing the score of the three servers for only the specified map. */
|
|
3224
2380
|
scores: z.ZodObject<{
|
|
3225
|
-
/** Score of the red team. */
|
|
3226
2381
|
red: z.ZodNumber;
|
|
3227
|
-
/** Score of the blue team. */
|
|
3228
2382
|
blue: z.ZodNumber;
|
|
3229
|
-
/** Score of the green team. */
|
|
3230
2383
|
green: z.ZodNumber;
|
|
3231
|
-
},
|
|
3232
|
-
/** An object containing the total kills of the three servers for only the specified map. */
|
|
2384
|
+
}, z.core.$strip>;
|
|
3233
2385
|
kills: z.ZodObject<{
|
|
3234
|
-
/** Score of the red team. */
|
|
3235
2386
|
red: z.ZodNumber;
|
|
3236
|
-
/** Score of the blue team. */
|
|
3237
2387
|
blue: z.ZodNumber;
|
|
3238
|
-
/** Score of the green team. */
|
|
3239
2388
|
green: z.ZodNumber;
|
|
3240
|
-
},
|
|
3241
|
-
/** An object containing the total deaths of the three servers for only the specified map. */
|
|
2389
|
+
}, z.core.$strip>;
|
|
3242
2390
|
deaths: z.ZodObject<{
|
|
3243
|
-
/** Score of the red team. */
|
|
3244
2391
|
red: z.ZodNumber;
|
|
3245
|
-
/** Score of the blue team. */
|
|
3246
2392
|
blue: z.ZodNumber;
|
|
3247
|
-
/** Score of the green team. */
|
|
3248
2393
|
green: z.ZodNumber;
|
|
3249
|
-
},
|
|
3250
|
-
/** A list of objective objects for this map. Each object contains the following properties: */
|
|
2394
|
+
}, z.core.$strip>;
|
|
3251
2395
|
objectives: z.ZodArray<z.ZodObject<{
|
|
3252
|
-
/** The objective id. */
|
|
3253
2396
|
id: z.ZodString;
|
|
3254
|
-
/** The objective type. */
|
|
3255
2397
|
type: z.ZodEnum<{
|
|
3256
2398
|
Spawn: "Spawn";
|
|
3257
2399
|
Camp: "Camp";
|
|
@@ -3261,85 +2403,56 @@ declare const WvWMatchesDTO: z.ZodArray<z.ZodObject<{
|
|
|
3261
2403
|
Castle: "Castle";
|
|
3262
2404
|
Mercenary: "Mercenary";
|
|
3263
2405
|
}>;
|
|
3264
|
-
/** The current owner of the objective. */
|
|
3265
2406
|
owner: z.ZodEnum<{
|
|
3266
2407
|
Red: "Red";
|
|
3267
2408
|
Green: "Green";
|
|
3268
2409
|
Blue: "Blue";
|
|
3269
2410
|
Neutral: "Neutral";
|
|
3270
2411
|
}>;
|
|
3271
|
-
/** The time at which this objective was last captured by a server. (ISO-8601 Standard) */
|
|
3272
2412
|
last_flipped: z.ZodString;
|
|
3273
|
-
/** The guild id of the guild currently claiming the objective, or null if not claimed. (Not present for unclaimable objectives.) */
|
|
3274
2413
|
claimed_by: z.ZodOptional<z.ZodUnion<readonly [
|
|
3275
2414
|
z.ZodString,
|
|
3276
2415
|
z.ZodNull
|
|
3277
2416
|
]>>;
|
|
3278
|
-
/** The time the objective was claimed by the claimed_by guild (ISO-8601 Standard), or null if not claimed. (Not present for unclaimable objectives.) */
|
|
3279
2417
|
claimed_at: z.ZodOptional<z.ZodUnion<readonly [
|
|
3280
2418
|
z.ZodString,
|
|
3281
2419
|
z.ZodNull
|
|
3282
2420
|
]>>;
|
|
3283
|
-
/** The amount of points per tick the given objective yields. */
|
|
3284
2421
|
points_tick: z.ZodNumber;
|
|
3285
|
-
/** The amount of points awarded for capturing the objective. */
|
|
3286
2422
|
points_capture: z.ZodNumber;
|
|
3287
|
-
/** An array of ids. Can be resolved against /v2/guild/upgrades, showing which guild upgrades are currently slotted. */
|
|
3288
2423
|
guild_upgrades: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
3289
|
-
/** The total amount of yak shipments delivered to the objective. Not limited to the shipments within the current tier only. */
|
|
3290
2424
|
yaks_delivered: z.ZodOptional<z.ZodNumber>;
|
|
3291
|
-
},
|
|
3292
|
-
/**
|
|
3293
|
-
* A list of all bonuses being granted by this map.
|
|
3294
|
-
* If no player team owns a bonus from the map, this list is empty.
|
|
3295
|
-
*/
|
|
2425
|
+
}, z.core.$strip>>;
|
|
3296
2426
|
bonuses: z.ZodArray<z.ZodObject<{
|
|
3297
|
-
/** A shorthand name for the bonus. */
|
|
3298
2427
|
type: z.ZodLiteral<"Bloodlust">;
|
|
3299
|
-
/** The color representing which world group owns the bloodlust. */
|
|
3300
2428
|
owner: z.ZodString;
|
|
3301
|
-
},
|
|
3302
|
-
},
|
|
3303
|
-
/** A list of skirmishes. */
|
|
2429
|
+
}, z.core.$strip>>;
|
|
2430
|
+
}, z.core.$strip>>;
|
|
3304
2431
|
skirmishes: z.ZodArray<z.ZodObject<{
|
|
3305
|
-
/** The skirmish id . */
|
|
3306
2432
|
id: z.ZodNumber;
|
|
3307
|
-
/** Object containing total scores for each team color. */
|
|
3308
2433
|
scores: z.ZodObject<{
|
|
3309
|
-
/** Score of the red team. */
|
|
3310
2434
|
red: z.ZodNumber;
|
|
3311
|
-
/** Score of the blue team. */
|
|
3312
2435
|
blue: z.ZodNumber;
|
|
3313
|
-
/** Score of the green team. */
|
|
3314
2436
|
green: z.ZodNumber;
|
|
3315
|
-
},
|
|
3316
|
-
/** Contains the map specific scores for the specific skirmish. */
|
|
2437
|
+
}, z.core.$strip>;
|
|
3317
2438
|
map_scores: z.ZodArray<z.ZodObject<{
|
|
3318
|
-
/** Which map is being looked at. */
|
|
3319
2439
|
type: z.ZodEnum<{
|
|
3320
2440
|
BlueHome: "BlueHome";
|
|
3321
2441
|
Center: "Center";
|
|
3322
2442
|
GreenHome: "GreenHome";
|
|
3323
2443
|
RedHome: "RedHome";
|
|
3324
2444
|
}>;
|
|
3325
|
-
/** Object containing total scores for each team color on the selected map. */
|
|
3326
2445
|
scores: z.ZodObject<{
|
|
3327
|
-
/** Score of the red team. */
|
|
3328
2446
|
red: z.ZodNumber;
|
|
3329
|
-
/** Score of the blue team. */
|
|
3330
2447
|
blue: z.ZodNumber;
|
|
3331
|
-
/** Score of the green team. */
|
|
3332
2448
|
green: z.ZodNumber;
|
|
3333
|
-
},
|
|
3334
|
-
},
|
|
3335
|
-
},
|
|
3336
|
-
},
|
|
2449
|
+
}, z.core.$strip>;
|
|
2450
|
+
}, z.core.$strip>>;
|
|
2451
|
+
}, z.core.$strip>>;
|
|
2452
|
+
}, z.core.$strip>>;
|
|
3337
2453
|
declare const WvWObjectivesDTO: z.ZodArray<z.ZodObject<{
|
|
3338
|
-
/** The objective id. */
|
|
3339
2454
|
id: z.ZodString;
|
|
3340
|
-
/** The name of the objective. */
|
|
3341
2455
|
name: z.ZodString;
|
|
3342
|
-
/** The type of the objective. */
|
|
3343
2456
|
type: z.ZodEnum<{
|
|
3344
2457
|
Generic: "Generic";
|
|
3345
2458
|
Spawn: "Spawn";
|
|
@@ -3351,11 +2464,8 @@ declare const WvWObjectivesDTO: z.ZodArray<z.ZodObject<{
|
|
|
3351
2464
|
Mercenary: "Mercenary";
|
|
3352
2465
|
Resource: "Resource";
|
|
3353
2466
|
}>;
|
|
3354
|
-
/** The map sector the objective can be found in. Refer to /v2/continents. */
|
|
3355
2467
|
sector_id: z.ZodNumber;
|
|
3356
|
-
/** The ID of the map that this objective can be found on. */
|
|
3357
2468
|
map_id: z.ZodNumber;
|
|
3358
|
-
/** The map that this objective can be found on. */
|
|
3359
2469
|
map_type: z.ZodEnum<{
|
|
3360
2470
|
BlueHome: "BlueHome";
|
|
3361
2471
|
Center: "Center";
|
|
@@ -3363,45 +2473,29 @@ declare const WvWObjectivesDTO: z.ZodArray<z.ZodObject<{
|
|
|
3363
2473
|
RedHome: "RedHome";
|
|
3364
2474
|
EdgeOfTheMist: "EdgeOfTheMist";
|
|
3365
2475
|
}>;
|
|
3366
|
-
/** An array of three numbers representing the X, Y and Z coordinates of the objectives marker on the map. */
|
|
3367
2476
|
coord: z.ZodArray<z.ZodNumber>;
|
|
3368
|
-
/** An array of two numbers representing the X and Y coordinates of the sector centroid. */
|
|
3369
2477
|
label_coord: z.ZodArray<z.ZodNumber>;
|
|
3370
|
-
/** The icon link. */
|
|
3371
2478
|
marker: z.ZodString;
|
|
3372
|
-
/** The chat code for the observed objective. */
|
|
3373
2479
|
chat_link: z.ZodString;
|
|
3374
|
-
/** The upgrade id. Can be resolved against /v2/wvw/upgrades. */
|
|
3375
2480
|
upgrade_id: z.ZodOptional<z.ZodNumber>;
|
|
3376
|
-
},
|
|
2481
|
+
}, z.core.$strip>>;
|
|
3377
2482
|
declare const WvWRanksDTO: z.ZodArray<z.ZodObject<{
|
|
3378
|
-
/** The id of the rank. */
|
|
3379
2483
|
id: z.ZodNumber;
|
|
3380
|
-
/** The given title for the WvW rank. */
|
|
3381
2484
|
title: z.ZodString;
|
|
3382
|
-
/** The minimum WvW level required to be at this rank. */
|
|
3383
2485
|
min_rank: z.ZodNumber;
|
|
3384
|
-
},
|
|
2486
|
+
}, z.core.$strip>>;
|
|
3385
2487
|
declare const WvWUpgradesDTO: z.ZodArray<z.ZodObject<{
|
|
3386
|
-
/** The upgrade id. */
|
|
3387
2488
|
id: z.ZodNumber;
|
|
3388
|
-
/** The upgrade tiers. */
|
|
3389
2489
|
tiers: z.ZodArray<z.ZodObject<{
|
|
3390
|
-
/** The name of the upgrade tier. */
|
|
3391
2490
|
name: z.ZodString;
|
|
3392
|
-
/** The number of required yaks. */
|
|
3393
2491
|
yaks_required: z.ZodNumber;
|
|
3394
|
-
/** The upgrades in each tier. */
|
|
3395
2492
|
upgrades: z.ZodArray<z.ZodObject<{
|
|
3396
|
-
/** The name of the upgrade tier. */
|
|
3397
2493
|
name: z.ZodString;
|
|
3398
|
-
/** The given description for this upgrade. */
|
|
3399
2494
|
description: z.ZodString;
|
|
3400
|
-
/** The url/image link for the upgrade's icon. */
|
|
3401
2495
|
icon: z.ZodString;
|
|
3402
|
-
},
|
|
3403
|
-
},
|
|
3404
|
-
},
|
|
2496
|
+
}, z.core.$strip>>;
|
|
2497
|
+
}, z.core.$strip>>;
|
|
2498
|
+
}, z.core.$strip>>;
|
|
3405
2499
|
export type ApiPermissions = "account" | "builds" | "characters" | "guilds" | "inventories" | "pvp" | "tradingpost" | "unlocks" | "wallet";
|
|
3406
2500
|
export type EndpointUrls = "/v2/account" | "/v2/achievements" | "/v2/backstory" | "/v2/build" | "/v2/characters" | "/v2/colors" | "/v2/commerce" | "/v2/continents" | "/v2/createsubtoken" | "/v2/currencies" | "/v2/dailycrafting" | "/v2/dungeons" | "/v2/emblem" | "/v2/emotes" | "/v2/files" | "/v2/finishers" | "/v2/gliders" | "/v2/guild" | "/v2/home/cats" | "/v2/home/nodes" | "/v2/items" | "/v2/itemstats" | "/v2/legendaryarmory" | "/v2/legends" | "/v2/mailcarriers" | "/v2/mapchests" | "/v2/maps" | "/v2/masteries" | "/v2/materials" | "/v2/minis" | "/v2/mounts" | "/v2/novelties" | "/v2/outfits" | "/v2/pets" | "/v2/professions" | "/v2/pvp" | "/v2/quaggans" | "/v2/quests" | "/v2/races" | "/v2/raids" | "/v2/recipes" | "/v2/skills" | "/v2/skins" | "/v2/specializations" | "/v2/stories" | "/v2/titles" | "/v2/tokeninfo" | "/v2/traits" | "/v2/worldbosses" | "/v2/worlds" | "/v2/wvw";
|
|
3407
2501
|
declare const stringArrayType: z.ZodArray<z.ZodString>;
|
|
@@ -3451,12 +2545,6 @@ declare class CharactersApi extends ApiBase {
|
|
|
3451
2545
|
tab: number;
|
|
3452
2546
|
is_active: boolean;
|
|
3453
2547
|
build: {
|
|
3454
|
-
legends?: (string | null)[] | undefined;
|
|
3455
|
-
pets?: {
|
|
3456
|
-
terrestrial: number[];
|
|
3457
|
-
aquatic: number[];
|
|
3458
|
-
} | undefined;
|
|
3459
|
-
aquatic_legends?: (string | null)[] | undefined;
|
|
3460
2548
|
name: string;
|
|
3461
2549
|
profession: string;
|
|
3462
2550
|
specializations: {
|
|
@@ -3464,15 +2552,21 @@ declare class CharactersApi extends ApiBase {
|
|
|
3464
2552
|
traits: (number | null)[];
|
|
3465
2553
|
}[];
|
|
3466
2554
|
skills: {
|
|
3467
|
-
utitilies?: (number | null)[] | undefined;
|
|
3468
2555
|
heal: number | null;
|
|
3469
2556
|
elite: number | null;
|
|
2557
|
+
utitilies?: (number | null)[] | undefined;
|
|
3470
2558
|
};
|
|
3471
2559
|
aquatic_skills: {
|
|
3472
|
-
utitilies?: (number | null)[] | undefined;
|
|
3473
2560
|
heal: number | null;
|
|
3474
2561
|
elite: number | null;
|
|
2562
|
+
utitilies?: (number | null)[] | undefined;
|
|
3475
2563
|
};
|
|
2564
|
+
legends?: (string | null)[] | undefined;
|
|
2565
|
+
aquatic_legends?: (string | null)[] | undefined;
|
|
2566
|
+
pets?: {
|
|
2567
|
+
terrestrial: number[];
|
|
2568
|
+
aquatic: number[];
|
|
2569
|
+
} | undefined;
|
|
3476
2570
|
};
|
|
3477
2571
|
}[]>;
|
|
3478
2572
|
/**
|
|
@@ -3481,35 +2575,16 @@ declare class CharactersApi extends ApiBase {
|
|
|
3481
2575
|
* @param id - Character name
|
|
3482
2576
|
*/
|
|
3483
2577
|
getCore(id: string): Promise<{
|
|
3484
|
-
title?: number | undefined;
|
|
3485
2578
|
name: string;
|
|
3486
|
-
race:
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
Human: "Human";
|
|
3490
|
-
Norn: "Norn";
|
|
3491
|
-
Sylvari: "Sylvari";
|
|
3492
|
-
}>;
|
|
3493
|
-
gender: import("@zod/core").$InferEnumOutput<{
|
|
3494
|
-
Male: "Male";
|
|
3495
|
-
Female: "Female";
|
|
3496
|
-
}>;
|
|
3497
|
-
profession: import("@zod/core").$InferEnumOutput<{
|
|
3498
|
-
Elementalist: "Elementalist";
|
|
3499
|
-
Engineer: "Engineer";
|
|
3500
|
-
Guardian: "Guardian";
|
|
3501
|
-
Mesmer: "Mesmer";
|
|
3502
|
-
Necromancer: "Necromancer";
|
|
3503
|
-
Ranger: "Ranger";
|
|
3504
|
-
Revenant: "Revenant";
|
|
3505
|
-
Thief: "Thief";
|
|
3506
|
-
Warrior: "Warrior";
|
|
3507
|
-
}>;
|
|
2579
|
+
race: "Asura" | "Charr" | "Human" | "Norn" | "Sylvari";
|
|
2580
|
+
gender: "Male" | "Female";
|
|
2581
|
+
profession: "Elementalist" | "Engineer" | "Guardian" | "Mesmer" | "Necromancer" | "Ranger" | "Revenant" | "Thief" | "Warrior";
|
|
3508
2582
|
level: number;
|
|
3509
2583
|
guild: string | null;
|
|
3510
2584
|
age: number;
|
|
3511
2585
|
created: string;
|
|
3512
2586
|
deaths: number;
|
|
2587
|
+
title?: number | undefined;
|
|
3513
2588
|
}>;
|
|
3514
2589
|
/**
|
|
3515
2590
|
* Returns information about the crafting disciplines available to a character attached to a specific account.
|
|
@@ -3518,17 +2593,7 @@ declare class CharactersApi extends ApiBase {
|
|
|
3518
2593
|
*/
|
|
3519
2594
|
getCrafting(id: string): Promise<{
|
|
3520
2595
|
crafting: {
|
|
3521
|
-
discipline:
|
|
3522
|
-
Armorsmith: "Armorsmith";
|
|
3523
|
-
Artificer: "Artificer";
|
|
3524
|
-
Chef: "Chef";
|
|
3525
|
-
Huntsman: "Huntsman";
|
|
3526
|
-
Jeweler: "Jeweler";
|
|
3527
|
-
Leatherworker: "Leatherworker";
|
|
3528
|
-
Scribe: "Scribe";
|
|
3529
|
-
Tailor: "Tailor";
|
|
3530
|
-
Weaponsmith: "Weaponsmith";
|
|
3531
|
-
}>;
|
|
2596
|
+
discipline: "Armorsmith" | "Artificer" | "Chef" | "Huntsman" | "Jeweler" | "Leatherworker" | "Scribe" | "Tailor" | "Weaponsmith";
|
|
3532
2597
|
rating: number;
|
|
3533
2598
|
active: boolean;
|
|
3534
2599
|
}[];
|
|
@@ -3540,62 +2605,28 @@ declare class CharactersApi extends ApiBase {
|
|
|
3540
2605
|
*/
|
|
3541
2606
|
getEquipment(id: string): Promise<{
|
|
3542
2607
|
equipment: ({
|
|
3543
|
-
|
|
2608
|
+
id: number;
|
|
2609
|
+
slot?: "HelmAquatic" | "Backpack" | "Coat" | "Boots" | "Gloves" | "Helm" | "Leggings" | "Shoulders" | "Accessory1" | "Accessory2" | "Ring1" | "Ring2" | "Amulet" | "Relic" | "WeaponAquaticA" | "WeaponAquaticB" | "WeaponA1" | "WeaponA2" | "WeaponB1" | "WeaponB2" | "Sickle" | "Axe" | "Pick" | "PowerCore" | "FishingLure" | "FishingBait" | "FishingRod" | "SensoryArray" | undefined;
|
|
2610
|
+
infusions?: number[] | undefined;
|
|
3544
2611
|
upgrades?: number[] | undefined;
|
|
2612
|
+
skin?: number | undefined;
|
|
3545
2613
|
stats?: {
|
|
3546
2614
|
id: number;
|
|
3547
2615
|
attributes: {
|
|
3548
|
-
BoonDuration?: number | undefined;
|
|
3549
|
-
ConditionDamage?: number | undefined;
|
|
3550
|
-
ConditionDuration?: number | undefined;
|
|
3551
|
-
Healing?: number | undefined;
|
|
3552
2616
|
Power?: number | undefined;
|
|
3553
2617
|
Precision?: number | undefined;
|
|
3554
2618
|
Toughness?: number | undefined;
|
|
3555
2619
|
Vitality?: number | undefined;
|
|
2620
|
+
ConditionDamage?: number | undefined;
|
|
2621
|
+
ConditionDuration?: number | undefined;
|
|
2622
|
+
Healing?: number | undefined;
|
|
2623
|
+
BoonDuration?: number | undefined;
|
|
3556
2624
|
};
|
|
3557
2625
|
} | undefined;
|
|
3558
|
-
|
|
3559
|
-
skin?: number | undefined;
|
|
3560
|
-
infusions?: number[] | undefined;
|
|
3561
|
-
slot?: import("@zod/core").$InferEnumOutput<{
|
|
3562
|
-
HelmAquatic: "HelmAquatic";
|
|
3563
|
-
Backpack: "Backpack";
|
|
3564
|
-
Coat: "Coat";
|
|
3565
|
-
Boots: "Boots";
|
|
3566
|
-
Gloves: "Gloves";
|
|
3567
|
-
Helm: "Helm";
|
|
3568
|
-
Leggings: "Leggings";
|
|
3569
|
-
Shoulders: "Shoulders";
|
|
3570
|
-
Accessory1: "Accessory1";
|
|
3571
|
-
Accessory2: "Accessory2";
|
|
3572
|
-
Ring1: "Ring1";
|
|
3573
|
-
Ring2: "Ring2";
|
|
3574
|
-
Amulet: "Amulet";
|
|
3575
|
-
Relic: "Relic";
|
|
3576
|
-
WeaponAquaticA: "WeaponAquaticA";
|
|
3577
|
-
WeaponAquaticB: "WeaponAquaticB";
|
|
3578
|
-
WeaponA1: "WeaponA1";
|
|
3579
|
-
WeaponA2: "WeaponA2";
|
|
3580
|
-
WeaponB1: "WeaponB1";
|
|
3581
|
-
WeaponB2: "WeaponB2";
|
|
3582
|
-
Sickle: "Sickle";
|
|
3583
|
-
Axe: "Axe";
|
|
3584
|
-
Pick: "Pick";
|
|
3585
|
-
PowerCore: "PowerCore";
|
|
3586
|
-
FishingLure: "FishingLure";
|
|
3587
|
-
FishingBait: "FishingBait";
|
|
3588
|
-
FishingRod: "FishingRod";
|
|
3589
|
-
SensoryArray: "SensoryArray";
|
|
3590
|
-
}> | undefined;
|
|
3591
|
-
location?: import("@zod/core").$InferEnumOutput<{
|
|
3592
|
-
Equipped: "Equipped";
|
|
3593
|
-
Armory: "Armory";
|
|
3594
|
-
EquippedFromLegendaryArmory: "EquippedFromLegendaryArmory";
|
|
3595
|
-
LegendaryArmory: "LegendaryArmory";
|
|
3596
|
-
}> | undefined;
|
|
2626
|
+
location?: "Equipped" | "Armory" | "EquippedFromLegendaryArmory" | "LegendaryArmory" | undefined;
|
|
3597
2627
|
tabs?: number[] | undefined;
|
|
3598
|
-
|
|
2628
|
+
charges?: number | undefined;
|
|
2629
|
+
dyes?: (number | null)[] | undefined;
|
|
3599
2630
|
} & ({
|
|
3600
2631
|
binding: "Character";
|
|
3601
2632
|
bound_to: string;
|
|
@@ -3618,62 +2649,28 @@ declare class CharactersApi extends ApiBase {
|
|
|
3618
2649
|
name: string;
|
|
3619
2650
|
is_active: boolean;
|
|
3620
2651
|
equipment: ({
|
|
3621
|
-
|
|
2652
|
+
id: number;
|
|
2653
|
+
slot?: "HelmAquatic" | "Backpack" | "Coat" | "Boots" | "Gloves" | "Helm" | "Leggings" | "Shoulders" | "Accessory1" | "Accessory2" | "Ring1" | "Ring2" | "Amulet" | "Relic" | "WeaponAquaticA" | "WeaponAquaticB" | "WeaponA1" | "WeaponA2" | "WeaponB1" | "WeaponB2" | "Sickle" | "Axe" | "Pick" | "PowerCore" | "FishingLure" | "FishingBait" | "FishingRod" | "SensoryArray" | undefined;
|
|
2654
|
+
infusions?: number[] | undefined;
|
|
3622
2655
|
upgrades?: number[] | undefined;
|
|
2656
|
+
skin?: number | undefined;
|
|
3623
2657
|
stats?: {
|
|
3624
2658
|
id: number;
|
|
3625
2659
|
attributes: {
|
|
3626
|
-
BoonDuration?: number | undefined;
|
|
3627
|
-
ConditionDamage?: number | undefined;
|
|
3628
|
-
ConditionDuration?: number | undefined;
|
|
3629
|
-
Healing?: number | undefined;
|
|
3630
2660
|
Power?: number | undefined;
|
|
3631
2661
|
Precision?: number | undefined;
|
|
3632
2662
|
Toughness?: number | undefined;
|
|
3633
2663
|
Vitality?: number | undefined;
|
|
2664
|
+
ConditionDamage?: number | undefined;
|
|
2665
|
+
ConditionDuration?: number | undefined;
|
|
2666
|
+
Healing?: number | undefined;
|
|
2667
|
+
BoonDuration?: number | undefined;
|
|
3634
2668
|
};
|
|
3635
2669
|
} | undefined;
|
|
3636
|
-
|
|
3637
|
-
skin?: number | undefined;
|
|
3638
|
-
infusions?: number[] | undefined;
|
|
3639
|
-
slot?: import("@zod/core").$InferEnumOutput<{
|
|
3640
|
-
HelmAquatic: "HelmAquatic";
|
|
3641
|
-
Backpack: "Backpack";
|
|
3642
|
-
Coat: "Coat";
|
|
3643
|
-
Boots: "Boots";
|
|
3644
|
-
Gloves: "Gloves";
|
|
3645
|
-
Helm: "Helm";
|
|
3646
|
-
Leggings: "Leggings";
|
|
3647
|
-
Shoulders: "Shoulders";
|
|
3648
|
-
Accessory1: "Accessory1";
|
|
3649
|
-
Accessory2: "Accessory2";
|
|
3650
|
-
Ring1: "Ring1";
|
|
3651
|
-
Ring2: "Ring2";
|
|
3652
|
-
Amulet: "Amulet";
|
|
3653
|
-
Relic: "Relic";
|
|
3654
|
-
WeaponAquaticA: "WeaponAquaticA";
|
|
3655
|
-
WeaponAquaticB: "WeaponAquaticB";
|
|
3656
|
-
WeaponA1: "WeaponA1";
|
|
3657
|
-
WeaponA2: "WeaponA2";
|
|
3658
|
-
WeaponB1: "WeaponB1";
|
|
3659
|
-
WeaponB2: "WeaponB2";
|
|
3660
|
-
Sickle: "Sickle";
|
|
3661
|
-
Axe: "Axe";
|
|
3662
|
-
Pick: "Pick";
|
|
3663
|
-
PowerCore: "PowerCore";
|
|
3664
|
-
FishingLure: "FishingLure";
|
|
3665
|
-
FishingBait: "FishingBait";
|
|
3666
|
-
FishingRod: "FishingRod";
|
|
3667
|
-
SensoryArray: "SensoryArray";
|
|
3668
|
-
}> | undefined;
|
|
3669
|
-
location?: import("@zod/core").$InferEnumOutput<{
|
|
3670
|
-
Equipped: "Equipped";
|
|
3671
|
-
Armory: "Armory";
|
|
3672
|
-
EquippedFromLegendaryArmory: "EquippedFromLegendaryArmory";
|
|
3673
|
-
LegendaryArmory: "LegendaryArmory";
|
|
3674
|
-
}> | undefined;
|
|
2670
|
+
location?: "Equipped" | "Armory" | "EquippedFromLegendaryArmory" | "LegendaryArmory" | undefined;
|
|
3675
2671
|
tabs?: number[] | undefined;
|
|
3676
|
-
|
|
2672
|
+
charges?: number | undefined;
|
|
2673
|
+
dyes?: (number | null)[] | undefined;
|
|
3677
2674
|
} & ({
|
|
3678
2675
|
binding: "Character";
|
|
3679
2676
|
bound_to: string;
|
|
@@ -3700,62 +2697,28 @@ declare class CharactersApi extends ApiBase {
|
|
|
3700
2697
|
name: string;
|
|
3701
2698
|
is_active: boolean;
|
|
3702
2699
|
equipment: ({
|
|
3703
|
-
|
|
2700
|
+
id: number;
|
|
2701
|
+
slot?: "HelmAquatic" | "Backpack" | "Coat" | "Boots" | "Gloves" | "Helm" | "Leggings" | "Shoulders" | "Accessory1" | "Accessory2" | "Ring1" | "Ring2" | "Amulet" | "Relic" | "WeaponAquaticA" | "WeaponAquaticB" | "WeaponA1" | "WeaponA2" | "WeaponB1" | "WeaponB2" | "Sickle" | "Axe" | "Pick" | "PowerCore" | "FishingLure" | "FishingBait" | "FishingRod" | "SensoryArray" | undefined;
|
|
2702
|
+
infusions?: number[] | undefined;
|
|
3704
2703
|
upgrades?: number[] | undefined;
|
|
2704
|
+
skin?: number | undefined;
|
|
3705
2705
|
stats?: {
|
|
3706
2706
|
id: number;
|
|
3707
2707
|
attributes: {
|
|
3708
|
-
BoonDuration?: number | undefined;
|
|
3709
|
-
ConditionDamage?: number | undefined;
|
|
3710
|
-
ConditionDuration?: number | undefined;
|
|
3711
|
-
Healing?: number | undefined;
|
|
3712
2708
|
Power?: number | undefined;
|
|
3713
2709
|
Precision?: number | undefined;
|
|
3714
2710
|
Toughness?: number | undefined;
|
|
3715
2711
|
Vitality?: number | undefined;
|
|
2712
|
+
ConditionDamage?: number | undefined;
|
|
2713
|
+
ConditionDuration?: number | undefined;
|
|
2714
|
+
Healing?: number | undefined;
|
|
2715
|
+
BoonDuration?: number | undefined;
|
|
3716
2716
|
};
|
|
3717
2717
|
} | undefined;
|
|
3718
|
-
|
|
3719
|
-
skin?: number | undefined;
|
|
3720
|
-
infusions?: number[] | undefined;
|
|
3721
|
-
slot?: import("@zod/core").$InferEnumOutput<{
|
|
3722
|
-
HelmAquatic: "HelmAquatic";
|
|
3723
|
-
Backpack: "Backpack";
|
|
3724
|
-
Coat: "Coat";
|
|
3725
|
-
Boots: "Boots";
|
|
3726
|
-
Gloves: "Gloves";
|
|
3727
|
-
Helm: "Helm";
|
|
3728
|
-
Leggings: "Leggings";
|
|
3729
|
-
Shoulders: "Shoulders";
|
|
3730
|
-
Accessory1: "Accessory1";
|
|
3731
|
-
Accessory2: "Accessory2";
|
|
3732
|
-
Ring1: "Ring1";
|
|
3733
|
-
Ring2: "Ring2";
|
|
3734
|
-
Amulet: "Amulet";
|
|
3735
|
-
Relic: "Relic";
|
|
3736
|
-
WeaponAquaticA: "WeaponAquaticA";
|
|
3737
|
-
WeaponAquaticB: "WeaponAquaticB";
|
|
3738
|
-
WeaponA1: "WeaponA1";
|
|
3739
|
-
WeaponA2: "WeaponA2";
|
|
3740
|
-
WeaponB1: "WeaponB1";
|
|
3741
|
-
WeaponB2: "WeaponB2";
|
|
3742
|
-
Sickle: "Sickle";
|
|
3743
|
-
Axe: "Axe";
|
|
3744
|
-
Pick: "Pick";
|
|
3745
|
-
PowerCore: "PowerCore";
|
|
3746
|
-
FishingLure: "FishingLure";
|
|
3747
|
-
FishingBait: "FishingBait";
|
|
3748
|
-
FishingRod: "FishingRod";
|
|
3749
|
-
SensoryArray: "SensoryArray";
|
|
3750
|
-
}> | undefined;
|
|
3751
|
-
location?: import("@zod/core").$InferEnumOutput<{
|
|
3752
|
-
Equipped: "Equipped";
|
|
3753
|
-
Armory: "Armory";
|
|
3754
|
-
EquippedFromLegendaryArmory: "EquippedFromLegendaryArmory";
|
|
3755
|
-
LegendaryArmory: "LegendaryArmory";
|
|
3756
|
-
}> | undefined;
|
|
2718
|
+
location?: "Equipped" | "Armory" | "EquippedFromLegendaryArmory" | "LegendaryArmory" | undefined;
|
|
3757
2719
|
tabs?: number[] | undefined;
|
|
3758
|
-
|
|
2720
|
+
charges?: number | undefined;
|
|
2721
|
+
dyes?: (number | null)[] | undefined;
|
|
3759
2722
|
} & ({
|
|
3760
2723
|
binding: "Character";
|
|
3761
2724
|
bound_to: string;
|
|
@@ -3790,27 +2753,27 @@ declare class CharactersApi extends ApiBase {
|
|
|
3790
2753
|
id: number;
|
|
3791
2754
|
size: number;
|
|
3792
2755
|
inventory: (({
|
|
3793
|
-
|
|
2756
|
+
id: number;
|
|
2757
|
+
count: number;
|
|
2758
|
+
charges?: number | undefined;
|
|
2759
|
+
infusions?: number[] | undefined;
|
|
3794
2760
|
upgrades?: number[] | undefined;
|
|
2761
|
+
upgrade_slot_indices?: number[] | undefined;
|
|
2762
|
+
skin?: number | undefined;
|
|
3795
2763
|
stats?: {
|
|
3796
2764
|
id: number;
|
|
3797
2765
|
attributes: {
|
|
3798
|
-
BoonDuration?: number | undefined;
|
|
3799
|
-
ConditionDamage?: number | undefined;
|
|
3800
|
-
ConditionDuration?: number | undefined;
|
|
3801
|
-
Healing?: number | undefined;
|
|
3802
2766
|
Power?: number | undefined;
|
|
3803
2767
|
Precision?: number | undefined;
|
|
3804
2768
|
Toughness?: number | undefined;
|
|
3805
2769
|
Vitality?: number | undefined;
|
|
2770
|
+
ConditionDamage?: number | undefined;
|
|
2771
|
+
ConditionDuration?: number | undefined;
|
|
2772
|
+
Healing?: number | undefined;
|
|
2773
|
+
BoonDuration?: number | undefined;
|
|
3806
2774
|
};
|
|
3807
2775
|
} | undefined;
|
|
3808
|
-
|
|
3809
|
-
skin?: number | undefined;
|
|
3810
|
-
upgrade_slot_indices?: number[] | undefined;
|
|
3811
|
-
infusions?: number[] | undefined;
|
|
3812
|
-
id: number;
|
|
3813
|
-
count: number;
|
|
2776
|
+
dyes?: (number | null)[] | undefined;
|
|
3814
2777
|
} & ({
|
|
3815
2778
|
binding: "Character";
|
|
3816
2779
|
bound_to: string;
|
|
@@ -3845,25 +2808,17 @@ declare class CharactersApi extends ApiBase {
|
|
|
3845
2808
|
getSAB(id: string): Promise<{
|
|
3846
2809
|
zones: {
|
|
3847
2810
|
id: number;
|
|
3848
|
-
mode:
|
|
3849
|
-
infantile: "infantile";
|
|
3850
|
-
normal: "normal";
|
|
3851
|
-
tribulation: "tribulation";
|
|
3852
|
-
}>;
|
|
2811
|
+
mode: "infantile" | "normal" | "tribulation";
|
|
3853
2812
|
world: number;
|
|
3854
2813
|
zone: number;
|
|
3855
2814
|
}[];
|
|
3856
2815
|
unlocks: {
|
|
3857
|
-
name?: string | undefined;
|
|
3858
2816
|
id: number;
|
|
2817
|
+
name?: string | undefined;
|
|
3859
2818
|
}[];
|
|
3860
2819
|
songs: {
|
|
3861
2820
|
id: number;
|
|
3862
|
-
name:
|
|
3863
|
-
secret_song: "secret_song";
|
|
3864
|
-
gatekeeper_lullaby: "gatekeeper_lullaby";
|
|
3865
|
-
shatter_serenade: "shatter_serenade";
|
|
3866
|
-
}>;
|
|
2821
|
+
name: "secret_song" | "gatekeeper_lullaby" | "shatter_serenade";
|
|
3867
2822
|
}[];
|
|
3868
2823
|
}>;
|
|
3869
2824
|
/**
|
|
@@ -3874,22 +2829,22 @@ declare class CharactersApi extends ApiBase {
|
|
|
3874
2829
|
getSkills(id: string): Promise<{
|
|
3875
2830
|
skills: {
|
|
3876
2831
|
pve: {
|
|
3877
|
-
legends?: (string | null)[] | undefined;
|
|
3878
2832
|
heal: number | null;
|
|
3879
2833
|
utilities: (number | null)[];
|
|
3880
2834
|
elite: number | null;
|
|
2835
|
+
legends?: (string | null)[] | undefined;
|
|
3881
2836
|
};
|
|
3882
2837
|
pvp: {
|
|
3883
|
-
legends?: (string | null)[] | undefined;
|
|
3884
2838
|
heal: number | null;
|
|
3885
2839
|
utilities: (number | null)[];
|
|
3886
2840
|
elite: number | null;
|
|
2841
|
+
legends?: (string | null)[] | undefined;
|
|
3887
2842
|
};
|
|
3888
2843
|
wvw: {
|
|
3889
|
-
legends?: (string | null)[] | undefined;
|
|
3890
2844
|
heal: number | null;
|
|
3891
2845
|
utilities: (number | null)[];
|
|
3892
2846
|
elite: number | null;
|
|
2847
|
+
legends?: (string | null)[] | undefined;
|
|
3893
2848
|
};
|
|
3894
2849
|
};
|
|
3895
2850
|
}>;
|
|
@@ -3970,12 +2925,12 @@ declare class CommerceApi extends ApiBase {
|
|
|
3970
2925
|
* @param type - Buy or sell transactions
|
|
3971
2926
|
*/
|
|
3972
2927
|
getTransactions(status: "current" | "history", type: "buys" | "sells"): Promise<{
|
|
3973
|
-
purchased?: string | undefined;
|
|
3974
2928
|
id: number;
|
|
3975
2929
|
item_id: number;
|
|
3976
2930
|
price: number;
|
|
3977
2931
|
quantity: number;
|
|
3978
2932
|
created: string;
|
|
2933
|
+
purchased?: string | undefined;
|
|
3979
2934
|
}[]>;
|
|
3980
2935
|
}
|
|
3981
2936
|
declare class EmblemApi extends ApiBase {
|
|
@@ -3999,13 +2954,6 @@ declare class GuildApi extends ApiBase {
|
|
|
3999
2954
|
* @param id - The guild id
|
|
4000
2955
|
*/
|
|
4001
2956
|
get(id: string): Promise<{
|
|
4002
|
-
level?: number | undefined;
|
|
4003
|
-
motd?: string | undefined;
|
|
4004
|
-
influence?: number | undefined;
|
|
4005
|
-
aetherium?: string | undefined;
|
|
4006
|
-
favor?: number | undefined;
|
|
4007
|
-
member_count?: number | undefined;
|
|
4008
|
-
member_capacity?: number | undefined;
|
|
4009
2957
|
id: string;
|
|
4010
2958
|
name: string;
|
|
4011
2959
|
tag: string;
|
|
@@ -4018,13 +2966,15 @@ declare class GuildApi extends ApiBase {
|
|
|
4018
2966
|
id: number;
|
|
4019
2967
|
colors: number[];
|
|
4020
2968
|
};
|
|
4021
|
-
flags:
|
|
4022
|
-
FlipBackgroundHorizontal: "FlipBackgroundHorizontal";
|
|
4023
|
-
FlipBackgroundVertical: "FlipBackgroundVertical";
|
|
4024
|
-
FlipForegroundHorizontal: "FlipForegroundHorizontal";
|
|
4025
|
-
FlipForegroundVertical: "FlipForegroundVertical";
|
|
4026
|
-
}>[];
|
|
2969
|
+
flags: ("FlipBackgroundHorizontal" | "FlipBackgroundVertical" | "FlipForegroundHorizontal" | "FlipForegroundVertical")[];
|
|
4027
2970
|
};
|
|
2971
|
+
level?: number | undefined;
|
|
2972
|
+
motd?: string | undefined;
|
|
2973
|
+
influence?: number | undefined;
|
|
2974
|
+
aetherium?: string | undefined;
|
|
2975
|
+
favor?: number | undefined;
|
|
2976
|
+
member_count?: number | undefined;
|
|
2977
|
+
member_capacity?: number | undefined;
|
|
4028
2978
|
}>;
|
|
4029
2979
|
/**
|
|
4030
2980
|
* Returns information about certain events in a guild's log.
|
|
@@ -4048,18 +2998,14 @@ declare class GuildApi extends ApiBase {
|
|
|
4048
2998
|
user: string;
|
|
4049
2999
|
kicked_by: string;
|
|
4050
3000
|
} | {
|
|
4051
|
-
changed_by?: string | undefined;
|
|
4052
3001
|
type: "rank_change";
|
|
4053
3002
|
user: string;
|
|
4054
3003
|
old_rank: string;
|
|
4055
3004
|
new_rank: string;
|
|
3005
|
+
changed_by?: string | undefined;
|
|
4056
3006
|
} | {
|
|
4057
3007
|
type: "stash";
|
|
4058
|
-
operation:
|
|
4059
|
-
deposit: "deposit";
|
|
4060
|
-
withdraw: "withdraw";
|
|
4061
|
-
move: "move";
|
|
4062
|
-
}>;
|
|
3008
|
+
operation: "deposit" | "withdraw" | "move";
|
|
4063
3009
|
item_id: number;
|
|
4064
3010
|
count: number;
|
|
4065
3011
|
coins: number;
|
|
@@ -4068,16 +3014,11 @@ declare class GuildApi extends ApiBase {
|
|
|
4068
3014
|
user: string;
|
|
4069
3015
|
motd: string;
|
|
4070
3016
|
} | {
|
|
4071
|
-
count?: number | undefined;
|
|
4072
|
-
recipe_id?: number | undefined;
|
|
4073
3017
|
type: "upgrade";
|
|
4074
|
-
action:
|
|
4075
|
-
queued: "queued";
|
|
4076
|
-
cancelled: "cancelled";
|
|
4077
|
-
completed: "completed";
|
|
4078
|
-
sped_up: "sped_up";
|
|
4079
|
-
}>;
|
|
3018
|
+
action: "queued" | "cancelled" | "completed" | "sped_up";
|
|
4080
3019
|
upgrade_id: number;
|
|
3020
|
+
count?: number | undefined;
|
|
3021
|
+
recipe_id?: number | undefined;
|
|
4081
3022
|
}))[]>;
|
|
4082
3023
|
/**
|
|
4083
3024
|
* Returns information about the members of a specified guild.
|
|
@@ -4135,19 +3076,10 @@ declare class GuildApi extends ApiBase {
|
|
|
4135
3076
|
* @param id - Unique guild id
|
|
4136
3077
|
*/
|
|
4137
3078
|
getTeams(id: string): Promise<{
|
|
4138
|
-
seasons?: {
|
|
4139
|
-
id: string;
|
|
4140
|
-
wins: number;
|
|
4141
|
-
losses: number;
|
|
4142
|
-
rating: number;
|
|
4143
|
-
}[] | undefined;
|
|
4144
3079
|
id: number;
|
|
4145
3080
|
members: {
|
|
4146
3081
|
name: string;
|
|
4147
|
-
role:
|
|
4148
|
-
Member: "Member";
|
|
4149
|
-
Captain: "Captain";
|
|
4150
|
-
}>;
|
|
3082
|
+
role: "Member" | "Captain";
|
|
4151
3083
|
}[];
|
|
4152
3084
|
name: string;
|
|
4153
3085
|
aggregate: {
|
|
@@ -4174,7 +3106,6 @@ declare class GuildApi extends ApiBase {
|
|
|
4174
3106
|
} | undefined;
|
|
4175
3107
|
};
|
|
4176
3108
|
games: {
|
|
4177
|
-
season?: string | undefined;
|
|
4178
3109
|
id: string;
|
|
4179
3110
|
map_id: string;
|
|
4180
3111
|
started: string;
|
|
@@ -4184,13 +3115,16 @@ declare class GuildApi extends ApiBase {
|
|
|
4184
3115
|
red: number;
|
|
4185
3116
|
blue: number;
|
|
4186
3117
|
};
|
|
4187
|
-
rating_type:
|
|
4188
|
-
Ranked: "Ranked";
|
|
4189
|
-
Unranked: "Unranked";
|
|
4190
|
-
None: "None";
|
|
4191
|
-
}>;
|
|
3118
|
+
rating_type: "Ranked" | "Unranked" | "None";
|
|
4192
3119
|
rating_change: number;
|
|
3120
|
+
season?: string | undefined;
|
|
4193
3121
|
}[];
|
|
3122
|
+
seasons?: {
|
|
3123
|
+
id: string;
|
|
3124
|
+
wins: number;
|
|
3125
|
+
losses: number;
|
|
3126
|
+
rating: number;
|
|
3127
|
+
}[] | undefined;
|
|
4194
3128
|
}[]>;
|
|
4195
3129
|
/**
|
|
4196
3130
|
* Returns information about the items in a guild's treasury.
|
|
@@ -4244,15 +3178,15 @@ declare class GuildApi extends ApiBase {
|
|
|
4244
3178
|
experience: number;
|
|
4245
3179
|
prerequisites: number[];
|
|
4246
3180
|
costs: ({
|
|
4247
|
-
item_id?: number | undefined;
|
|
4248
3181
|
type: "Item";
|
|
4249
3182
|
name: string;
|
|
4250
3183
|
count: number;
|
|
4251
|
-
} | {
|
|
4252
3184
|
item_id?: number | undefined;
|
|
3185
|
+
} | {
|
|
4253
3186
|
type: "Collectible";
|
|
4254
3187
|
name: string;
|
|
4255
3188
|
count: number;
|
|
3189
|
+
item_id?: number | undefined;
|
|
4256
3190
|
} | {
|
|
4257
3191
|
type: "Currency";
|
|
4258
3192
|
name: string;
|
|
@@ -4282,9 +3216,9 @@ declare class GuildApi extends ApiBase {
|
|
|
4282
3216
|
} | {
|
|
4283
3217
|
type: "Unlock";
|
|
4284
3218
|
} | {
|
|
3219
|
+
type: "BankBag";
|
|
4285
3220
|
bag_max_items?: number | undefined;
|
|
4286
3221
|
bag_max_coins?: number | undefined;
|
|
4287
|
-
type: "BankBag";
|
|
4288
3222
|
}))[]>;
|
|
4289
3223
|
}
|
|
4290
3224
|
declare class HomeApi extends ApiBase {
|
|
@@ -4295,8 +3229,8 @@ declare class HomeApi extends ApiBase {
|
|
|
4295
3229
|
* @param ids - List of cat ids, or "all"
|
|
4296
3230
|
*/
|
|
4297
3231
|
getCats(ids?: number[] | "all"): Promise<{
|
|
4298
|
-
hint?: string | undefined;
|
|
4299
3232
|
id: number;
|
|
3233
|
+
hint?: string | undefined;
|
|
4300
3234
|
}[]>;
|
|
4301
3235
|
/**
|
|
4302
3236
|
* Returns a list of all currently available home instance nodes.
|
|
@@ -4788,49 +3722,35 @@ declare class SkillsApi extends ApiBase {
|
|
|
4788
3722
|
* @param ids - List of skill ids
|
|
4789
3723
|
*/
|
|
4790
3724
|
get(ids: number[]): Promise<{
|
|
4791
|
-
|
|
4792
|
-
|
|
4793
|
-
|
|
4794
|
-
|
|
4795
|
-
|
|
4796
|
-
|
|
4797
|
-
|
|
4798
|
-
|
|
3725
|
+
id: number;
|
|
3726
|
+
name: string;
|
|
3727
|
+
description: string;
|
|
3728
|
+
icon: string;
|
|
3729
|
+
chat_link: string;
|
|
3730
|
+
type: "Weapon" | "Utility" | "Heal" | "Elite" | "Profession" | "Bundle" | "Monster" | "Pet" | "Toolbelt" | "Transform";
|
|
3731
|
+
weapon_type: string;
|
|
3732
|
+
professions: string[];
|
|
3733
|
+
slot: "Utility" | `Weapon_${number}` | "Elite" | `Profession_${number}` | `Downed_${number}` | "Pet";
|
|
3734
|
+
flags: ("NoUnderwater" | "GroundTargeted")[];
|
|
4799
3735
|
facts?: ({
|
|
4800
|
-
icon?: string | undefined;
|
|
4801
3736
|
text: string;
|
|
3737
|
+
icon?: string | undefined;
|
|
4802
3738
|
} & ({
|
|
4803
3739
|
type: "AttributeAdjust";
|
|
4804
3740
|
value: number;
|
|
4805
3741
|
target: string;
|
|
4806
3742
|
} | {
|
|
3743
|
+
type: "Buff";
|
|
3744
|
+
status: string;
|
|
4807
3745
|
description?: string | undefined;
|
|
4808
3746
|
apply_count?: number | undefined;
|
|
4809
3747
|
duration?: number | undefined;
|
|
4810
|
-
type: "Buff";
|
|
4811
|
-
status: string;
|
|
4812
3748
|
} | {
|
|
4813
3749
|
type: "ComboField";
|
|
4814
|
-
field_type:
|
|
4815
|
-
Light: "Light";
|
|
4816
|
-
Fire: "Fire";
|
|
4817
|
-
Ice: "Ice";
|
|
4818
|
-
Lightning: "Lightning";
|
|
4819
|
-
Air: "Air";
|
|
4820
|
-
Dark: "Dark";
|
|
4821
|
-
Poison: "Poison";
|
|
4822
|
-
Smoke: "Smoke";
|
|
4823
|
-
Ethereal: "Ethereal";
|
|
4824
|
-
Water: "Water";
|
|
4825
|
-
}>;
|
|
3750
|
+
field_type: "Light" | "Fire" | "Ice" | "Lightning" | "Air" | "Dark" | "Poison" | "Smoke" | "Ethereal" | "Water";
|
|
4826
3751
|
} | {
|
|
4827
3752
|
type: "ComboFinisher";
|
|
4828
|
-
finisher_type:
|
|
4829
|
-
Blast: "Blast";
|
|
4830
|
-
Leap: "Leap";
|
|
4831
|
-
Projectile: "Projectile";
|
|
4832
|
-
Whirl: "Whirl";
|
|
4833
|
-
}>;
|
|
3753
|
+
finisher_type: "Blast" | "Leap" | "Projectile" | "Whirl";
|
|
4834
3754
|
percent: number;
|
|
4835
3755
|
} | {
|
|
4836
3756
|
type: "Damage";
|
|
@@ -4857,17 +3777,17 @@ declare class SkillsApi extends ApiBase {
|
|
|
4857
3777
|
type: "Percent";
|
|
4858
3778
|
percent: number;
|
|
4859
3779
|
} | {
|
|
4860
|
-
description?: string | undefined;
|
|
4861
|
-
status?: string | undefined;
|
|
4862
3780
|
type: "PrefixedBuff";
|
|
4863
3781
|
apply_count: number;
|
|
4864
3782
|
duration: number;
|
|
4865
3783
|
prefix: {
|
|
4866
|
-
description?: string | undefined;
|
|
4867
|
-
status?: string | undefined;
|
|
4868
3784
|
text: string;
|
|
4869
3785
|
icon: string;
|
|
3786
|
+
status?: string | undefined;
|
|
3787
|
+
description?: string | undefined;
|
|
4870
3788
|
};
|
|
3789
|
+
status?: string | undefined;
|
|
3790
|
+
description?: string | undefined;
|
|
4871
3791
|
} | {
|
|
4872
3792
|
type: "Radius";
|
|
4873
3793
|
distance: number;
|
|
@@ -4888,40 +3808,24 @@ declare class SkillsApi extends ApiBase {
|
|
|
4888
3808
|
value: true;
|
|
4889
3809
|
}))[] | undefined;
|
|
4890
3810
|
traited_facts?: (({
|
|
4891
|
-
icon?: string | undefined;
|
|
4892
3811
|
text: string;
|
|
3812
|
+
icon?: string | undefined;
|
|
4893
3813
|
} & ({
|
|
4894
3814
|
type: "AttributeAdjust";
|
|
4895
3815
|
value: number;
|
|
4896
3816
|
target: string;
|
|
4897
3817
|
} | {
|
|
3818
|
+
type: "Buff";
|
|
3819
|
+
status: string;
|
|
4898
3820
|
description?: string | undefined;
|
|
4899
3821
|
apply_count?: number | undefined;
|
|
4900
3822
|
duration?: number | undefined;
|
|
4901
|
-
type: "Buff";
|
|
4902
|
-
status: string;
|
|
4903
3823
|
} | {
|
|
4904
3824
|
type: "ComboField";
|
|
4905
|
-
field_type:
|
|
4906
|
-
Light: "Light";
|
|
4907
|
-
Fire: "Fire";
|
|
4908
|
-
Ice: "Ice";
|
|
4909
|
-
Lightning: "Lightning";
|
|
4910
|
-
Air: "Air";
|
|
4911
|
-
Dark: "Dark";
|
|
4912
|
-
Poison: "Poison";
|
|
4913
|
-
Smoke: "Smoke";
|
|
4914
|
-
Ethereal: "Ethereal";
|
|
4915
|
-
Water: "Water";
|
|
4916
|
-
}>;
|
|
3825
|
+
field_type: "Light" | "Fire" | "Ice" | "Lightning" | "Air" | "Dark" | "Poison" | "Smoke" | "Ethereal" | "Water";
|
|
4917
3826
|
} | {
|
|
4918
3827
|
type: "ComboFinisher";
|
|
4919
|
-
finisher_type:
|
|
4920
|
-
Blast: "Blast";
|
|
4921
|
-
Leap: "Leap";
|
|
4922
|
-
Projectile: "Projectile";
|
|
4923
|
-
Whirl: "Whirl";
|
|
4924
|
-
}>;
|
|
3828
|
+
finisher_type: "Blast" | "Leap" | "Projectile" | "Whirl";
|
|
4925
3829
|
percent: number;
|
|
4926
3830
|
} | {
|
|
4927
3831
|
type: "Damage";
|
|
@@ -4948,17 +3852,17 @@ declare class SkillsApi extends ApiBase {
|
|
|
4948
3852
|
type: "Percent";
|
|
4949
3853
|
percent: number;
|
|
4950
3854
|
} | {
|
|
4951
|
-
description?: string | undefined;
|
|
4952
|
-
status?: string | undefined;
|
|
4953
3855
|
type: "PrefixedBuff";
|
|
4954
3856
|
apply_count: number;
|
|
4955
3857
|
duration: number;
|
|
4956
3858
|
prefix: {
|
|
4957
|
-
description?: string | undefined;
|
|
4958
|
-
status?: string | undefined;
|
|
4959
3859
|
text: string;
|
|
4960
3860
|
icon: string;
|
|
3861
|
+
status?: string | undefined;
|
|
3862
|
+
description?: string | undefined;
|
|
4961
3863
|
};
|
|
3864
|
+
status?: string | undefined;
|
|
3865
|
+
description?: string | undefined;
|
|
4962
3866
|
} | {
|
|
4963
3867
|
type: "Radius";
|
|
4964
3868
|
distance: number;
|
|
@@ -4978,9 +3882,12 @@ declare class SkillsApi extends ApiBase {
|
|
|
4978
3882
|
type: "Unblockable";
|
|
4979
3883
|
value: true;
|
|
4980
3884
|
})) & {
|
|
4981
|
-
overrides?: number | undefined;
|
|
4982
3885
|
requires_trait: number;
|
|
3886
|
+
overrides?: number | undefined;
|
|
4983
3887
|
})[] | undefined;
|
|
3888
|
+
categories?: string[] | undefined;
|
|
3889
|
+
attunement?: "Fire" | "Air" | "Water" | "Earth" | undefined;
|
|
3890
|
+
cost?: number | undefined;
|
|
4984
3891
|
dual_wield?: string | undefined;
|
|
4985
3892
|
flip_skill?: number | undefined;
|
|
4986
3893
|
initiative?: number | undefined;
|
|
@@ -4989,30 +3896,6 @@ declare class SkillsApi extends ApiBase {
|
|
|
4989
3896
|
transform_skills?: unknown[] | undefined;
|
|
4990
3897
|
bundle_skills?: unknown[] | undefined;
|
|
4991
3898
|
toolbelt_skill?: number | undefined;
|
|
4992
|
-
id: number;
|
|
4993
|
-
name: string;
|
|
4994
|
-
description: string;
|
|
4995
|
-
icon: string;
|
|
4996
|
-
chat_link: string;
|
|
4997
|
-
type: import("@zod/core").$InferEnumOutput<{
|
|
4998
|
-
Weapon: "Weapon";
|
|
4999
|
-
Utility: "Utility";
|
|
5000
|
-
Heal: "Heal";
|
|
5001
|
-
Elite: "Elite";
|
|
5002
|
-
Bundle: "Bundle";
|
|
5003
|
-
Monster: "Monster";
|
|
5004
|
-
Pet: "Pet";
|
|
5005
|
-
Profession: "Profession";
|
|
5006
|
-
Toolbelt: "Toolbelt";
|
|
5007
|
-
Transform: "Transform";
|
|
5008
|
-
}>;
|
|
5009
|
-
weapon_type: string;
|
|
5010
|
-
professions: string[];
|
|
5011
|
-
slot: "Utility" | "Elite" | `Weapon_${number}` | "Pet" | `Downed_${number}` | `Profession_${number}`;
|
|
5012
|
-
flags: import("@zod/core").$InferEnumOutput<{
|
|
5013
|
-
NoUnderwater: "NoUnderwater";
|
|
5014
|
-
GroundTargeted: "GroundTargeted";
|
|
5015
|
-
}>[];
|
|
5016
3899
|
}[]>;
|
|
5017
3900
|
}
|
|
5018
3901
|
declare class SkinsApi extends ApiBase {
|
|
@@ -5091,24 +3974,13 @@ declare class TokenInfoApi extends ApiBase {
|
|
|
5091
3974
|
* Returns information about the supplied API key.
|
|
5092
3975
|
*/
|
|
5093
3976
|
get(): Promise<{
|
|
3977
|
+
id: string;
|
|
3978
|
+
name: string;
|
|
3979
|
+
permissions: ("account" | "progression" | "wallet" | "characters" | "pvp" | "guilds" | "builds" | "inventories" | "tradingpost" | "unlocks")[];
|
|
5094
3980
|
type?: string | undefined;
|
|
5095
3981
|
expires_at?: string | undefined;
|
|
5096
3982
|
issued_at?: string | undefined;
|
|
5097
3983
|
urls?: string[] | undefined;
|
|
5098
|
-
id: string;
|
|
5099
|
-
name: string;
|
|
5100
|
-
permissions: import("@zod/core").$InferEnumOutput<{
|
|
5101
|
-
account: "account";
|
|
5102
|
-
progression: "progression";
|
|
5103
|
-
wallet: "wallet";
|
|
5104
|
-
characters: "characters";
|
|
5105
|
-
pvp: "pvp";
|
|
5106
|
-
guilds: "guilds";
|
|
5107
|
-
builds: "builds";
|
|
5108
|
-
inventories: "inventories";
|
|
5109
|
-
tradingpost: "tradingpost";
|
|
5110
|
-
unlocks: "unlocks";
|
|
5111
|
-
}>[];
|
|
5112
3984
|
}>;
|
|
5113
3985
|
}
|
|
5114
3986
|
declare class TraitsApi extends ApiBase {
|
|
@@ -5211,13 +4083,13 @@ declare class PvPApi extends ApiBase {
|
|
|
5211
4083
|
*/
|
|
5212
4084
|
getStandings(): Promise<{
|
|
5213
4085
|
current: {
|
|
5214
|
-
rating?: number | undefined;
|
|
5215
|
-
decay?: number | undefined;
|
|
5216
4086
|
total_points: number;
|
|
5217
4087
|
division: number;
|
|
5218
4088
|
tier: number;
|
|
5219
4089
|
points: number;
|
|
5220
4090
|
repeats: number;
|
|
4091
|
+
rating?: number | undefined;
|
|
4092
|
+
decay?: number | undefined;
|
|
5221
4093
|
};
|
|
5222
4094
|
best: {
|
|
5223
4095
|
total_points: number;
|
|
@@ -5325,11 +4197,7 @@ declare class WorldVsWorldApi extends ApiBase {
|
|
|
5325
4197
|
blue: number;
|
|
5326
4198
|
green: number;
|
|
5327
4199
|
};
|
|
5328
|
-
all_worlds: Record<
|
|
5329
|
-
red: "red";
|
|
5330
|
-
blue: "blue";
|
|
5331
|
-
green: "green";
|
|
5332
|
-
}>, number[]>;
|
|
4200
|
+
all_worlds: Record<"red" | "blue" | "green", number[]>;
|
|
5333
4201
|
start_time: string;
|
|
5334
4202
|
end_time: string;
|
|
5335
4203
|
} | {
|
|
@@ -5356,12 +4224,7 @@ declare class WorldVsWorldApi extends ApiBase {
|
|
|
5356
4224
|
green: number;
|
|
5357
4225
|
};
|
|
5358
4226
|
map_scores: {
|
|
5359
|
-
type:
|
|
5360
|
-
BlueHome: "BlueHome";
|
|
5361
|
-
Center: "Center";
|
|
5362
|
-
GreenHome: "GreenHome";
|
|
5363
|
-
RedHome: "RedHome";
|
|
5364
|
-
}>;
|
|
4227
|
+
type: "BlueHome" | "Center" | "GreenHome" | "RedHome";
|
|
5365
4228
|
scores: {
|
|
5366
4229
|
red: number;
|
|
5367
4230
|
blue: number;
|