torn-client 0.2.1 → 0.2.3
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.mts +410 -9
- package/dist/index.d.ts +410 -9
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1378,6 +1378,15 @@ type HofValueString = {
|
|
|
1378
1378
|
rank: number | unknown;
|
|
1379
1379
|
};
|
|
1380
1380
|
|
|
1381
|
+
/** @category Models */
|
|
1382
|
+
type HonorId = number;
|
|
1383
|
+
|
|
1384
|
+
/** @category Models */
|
|
1385
|
+
type HonorRarityEnum = "Extremely Rare" | "Very Rare" | "Rare" | "Limited" | "Uncommon" | "Common" | "Very Common" | "Unknown";
|
|
1386
|
+
|
|
1387
|
+
/** @category Models */
|
|
1388
|
+
type HonorTypeEnum = "attacking" | "camo" | "weapons" | "education" | "crimes" | "drugs" | "jail" | "hospital" | "travel" | "gym" | "level" | "competitions" | "money" | "items" | "commitment" | "casino" | "missions" | "misc" | "default";
|
|
1389
|
+
|
|
1381
1390
|
/** @category Models */
|
|
1382
1391
|
type ItemId = number;
|
|
1383
1392
|
|
|
@@ -1457,6 +1466,9 @@ type JobPositionLawEnum = "Law Student" | "Paralegal" | "Probate Lawyer" | "Tria
|
|
|
1457
1466
|
/** @category Models */
|
|
1458
1467
|
type JobPositionMedicalEnum = "Medical Student" | "Houseman" | "Senior Houseman" | "GP" | "Consultant" | "Surgeon" | "Brain Surgeon";
|
|
1459
1468
|
|
|
1469
|
+
/** @category Models */
|
|
1470
|
+
type JobTypeEnum = "Army" | "Casino" | "Education" | "Grocer" | "Law" | "Medical";
|
|
1471
|
+
|
|
1460
1472
|
/** @category Models */
|
|
1461
1473
|
type KeyInfoAvailableLog = {
|
|
1462
1474
|
category_id: LogCategoryId;
|
|
@@ -1579,6 +1591,15 @@ type MarketSelectionName = "bazaar" | "itemmarket" | "properties" | "rentals" |
|
|
|
1579
1591
|
/** @category Models */
|
|
1580
1592
|
type MarketSpecializedBazaarCategoryEnum = "Alcohol" | "Artifact" | "Booster" | "Candy" | "Car" | "Clothing" | "Collectible" | "Defensive" | "Drug" | "Energy Drink" | "Enhancer" | "Flower" | "Jewelry" | "Material" | "Medical" | "Melee" | "Other" | "Plushie" | "Primary" | "Secondary" | "Special" | "Supply Pack" | "Temporary" | "Tool";
|
|
1581
1593
|
|
|
1594
|
+
/** @category Models */
|
|
1595
|
+
type MedalId = number;
|
|
1596
|
+
|
|
1597
|
+
/** @category Models */
|
|
1598
|
+
type MedalTypeEnum = "combat" | "commitment" | "crime" | "level" | "miscellaneous" | "networth" | "rank";
|
|
1599
|
+
|
|
1600
|
+
/** @category Models */
|
|
1601
|
+
type MeritId = number;
|
|
1602
|
+
|
|
1582
1603
|
/** @category Models */
|
|
1583
1604
|
type OrganizedCrimeName = string;
|
|
1584
1605
|
|
|
@@ -2212,6 +2233,14 @@ type PersonalStatsTravelPopular = {
|
|
|
2212
2233
|
};
|
|
2213
2234
|
};
|
|
2214
2235
|
|
|
2236
|
+
/** @category Models */
|
|
2237
|
+
type ProfileSpouse = {
|
|
2238
|
+
id: UserId;
|
|
2239
|
+
name: string;
|
|
2240
|
+
status: UserMaritalStatusEnum;
|
|
2241
|
+
days_married: number;
|
|
2242
|
+
};
|
|
2243
|
+
|
|
2215
2244
|
/** @category Models */
|
|
2216
2245
|
type PropertyId = number;
|
|
2217
2246
|
|
|
@@ -2795,7 +2824,7 @@ type TornHofBasic = {
|
|
|
2795
2824
|
faction_id: FactionId;
|
|
2796
2825
|
level: number;
|
|
2797
2826
|
last_action: number;
|
|
2798
|
-
rank_name:
|
|
2827
|
+
rank_name: UserRankEnum;
|
|
2799
2828
|
rank_number: number;
|
|
2800
2829
|
position: number;
|
|
2801
2830
|
signed_up: number;
|
|
@@ -2818,6 +2847,28 @@ type TornHofWithOffenses = TornHofBasic & {
|
|
|
2818
2847
|
criminal_offenses: number;
|
|
2819
2848
|
};
|
|
2820
2849
|
|
|
2850
|
+
/**
|
|
2851
|
+
* Properties 'circulation', 'equipped' & 'rarity' are only populated for honors which do not have type.id value 1.
|
|
2852
|
+
* @category Models
|
|
2853
|
+
*/
|
|
2854
|
+
type TornHonor = {
|
|
2855
|
+
id: HonorId;
|
|
2856
|
+
name: string;
|
|
2857
|
+
description: string;
|
|
2858
|
+
type: {
|
|
2859
|
+
id: number;
|
|
2860
|
+
title: HonorTypeEnum;
|
|
2861
|
+
};
|
|
2862
|
+
circulation?: number;
|
|
2863
|
+
equipped?: number;
|
|
2864
|
+
rarity?: HonorRarityEnum;
|
|
2865
|
+
};
|
|
2866
|
+
|
|
2867
|
+
/** @category Models */
|
|
2868
|
+
type TornHonorsResponse = {
|
|
2869
|
+
honors: TornHonor[];
|
|
2870
|
+
};
|
|
2871
|
+
|
|
2821
2872
|
/** @category Models */
|
|
2822
2873
|
type TornItem = {
|
|
2823
2874
|
id: ItemId;
|
|
@@ -2957,6 +3008,36 @@ type TornLookupResponse = {
|
|
|
2957
3008
|
selections: TornSelectionName[];
|
|
2958
3009
|
};
|
|
2959
3010
|
|
|
3011
|
+
/** @category Models */
|
|
3012
|
+
type TornMedal = {
|
|
3013
|
+
id: MedalId;
|
|
3014
|
+
name: string;
|
|
3015
|
+
description: string;
|
|
3016
|
+
type: {
|
|
3017
|
+
id: string;
|
|
3018
|
+
title: MedalTypeEnum;
|
|
3019
|
+
};
|
|
3020
|
+
circulation: number;
|
|
3021
|
+
rarity: HonorRarityEnum;
|
|
3022
|
+
};
|
|
3023
|
+
|
|
3024
|
+
/** @category Models */
|
|
3025
|
+
type TornMedalsResponse = {
|
|
3026
|
+
medals: TornMedal[];
|
|
3027
|
+
};
|
|
3028
|
+
|
|
3029
|
+
/** @category Models */
|
|
3030
|
+
type TornMerit = {
|
|
3031
|
+
id: MeritId;
|
|
3032
|
+
name: string;
|
|
3033
|
+
description: string;
|
|
3034
|
+
};
|
|
3035
|
+
|
|
3036
|
+
/** @category Models */
|
|
3037
|
+
type TornMeritsResponse = {
|
|
3038
|
+
merits: TornMerit[];
|
|
3039
|
+
};
|
|
3040
|
+
|
|
2960
3041
|
/** @category Models */
|
|
2961
3042
|
type TornOrganizedCrime = {
|
|
2962
3043
|
name: OrganizedCrimeName;
|
|
@@ -3036,10 +3117,10 @@ type TornRacketReward = {
|
|
|
3036
3117
|
type TornRacketType = "Item" | "Points" | "Money";
|
|
3037
3118
|
|
|
3038
3119
|
/** @category Models */
|
|
3039
|
-
type TornResponse = TornSubcrimesResponse | TornCrimesResponse | TornCalendarResponse | TornHofResponse | TornFactionHofResponse | TornLogTypesResponse | TornItemsResponse | TornLogCategoriesResponse | TornEducationResponse | TornBountiesResponse | TornItemAmmoResponse | TornProperties | TornFactionTreeResponse | AttackLogResponse | TornTerritoriesResponse | TornTerritoriesNoLinksResponse | TornItemModsResponse | TornLookupResponse | TimestampResponse;
|
|
3120
|
+
type TornResponse = TornSubcrimesResponse | TornCrimesResponse | TornCalendarResponse | TornHofResponse | TornFactionHofResponse | TornLogTypesResponse | TornItemsResponse | TornLogCategoriesResponse | TornEducationResponse | TornMeritsResponse | TornHonorsResponse | TornMedalsResponse | TornBountiesResponse | TornItemAmmoResponse | TornProperties | TornFactionTreeResponse | AttackLogResponse | TornTerritoriesResponse | TornTerritoriesNoLinksResponse | TornItemModsResponse | TornLookupResponse | TimestampResponse;
|
|
3040
3121
|
|
|
3041
3122
|
/** @category Models */
|
|
3042
|
-
type TornSelectionName = "attacklog" | "bounties" | "calendar" | "crimes" | "education" | "factionhof" | "factiontree" | "hof" | "itemammo" | "itemmods" | "items" | "logcategories" | "logtypes" | "lookup" | "organizedcrimes" | "properties" | "subcrimes" | "territory" | "timestamp" | "bank" | "cards" | "cityshops" | "companies" | "competition" | "gyms" | "
|
|
3123
|
+
type TornSelectionName = "attacklog" | "bounties" | "calendar" | "crimes" | "education" | "factionhof" | "factiontree" | "hof" | "honors" | "itemammo" | "itemmods" | "items" | "logcategories" | "logtypes" | "lookup" | "medals" | "merits" | "organizedcrimes" | "properties" | "subcrimes" | "territory" | "timestamp" | "bank" | "cards" | "cityshops" | "companies" | "competition" | "gyms" | "itemdetails" | "itemstats" | "organisedcrimes" | "pawnshop" | "pokertables" | "rockpaperscissors" | "searchforcash" | "shoplifting" | "stats" | "stocks" | string;
|
|
3043
3124
|
|
|
3044
3125
|
/** @category Models */
|
|
3045
3126
|
type TornSubcrime = {
|
|
@@ -3218,6 +3299,16 @@ type UserCalendarResponse = {
|
|
|
3218
3299
|
calendar: UserCalendar;
|
|
3219
3300
|
};
|
|
3220
3301
|
|
|
3302
|
+
/** @category Models */
|
|
3303
|
+
type UserCompany = {
|
|
3304
|
+
type: "company";
|
|
3305
|
+
id: CompanyId;
|
|
3306
|
+
type_id: CompanyTypeId;
|
|
3307
|
+
name: string;
|
|
3308
|
+
position: string;
|
|
3309
|
+
days_in_company: number;
|
|
3310
|
+
};
|
|
3311
|
+
|
|
3221
3312
|
/** @category Models */
|
|
3222
3313
|
type UserCompanyPoints = {
|
|
3223
3314
|
company: {
|
|
@@ -3227,6 +3318,38 @@ type UserCompanyPoints = {
|
|
|
3227
3318
|
points: number;
|
|
3228
3319
|
};
|
|
3229
3320
|
|
|
3321
|
+
/** @category Models */
|
|
3322
|
+
type UserCompetitionEasterEggs = {
|
|
3323
|
+
name: "Easter Egg Hunt";
|
|
3324
|
+
score: number;
|
|
3325
|
+
total: number;
|
|
3326
|
+
};
|
|
3327
|
+
|
|
3328
|
+
/** @category Models */
|
|
3329
|
+
type UserCompetitionHalloween = {
|
|
3330
|
+
name: "Halloween";
|
|
3331
|
+
treats_collected: number;
|
|
3332
|
+
basket: {
|
|
3333
|
+
id: ItemId;
|
|
3334
|
+
name: string;
|
|
3335
|
+
};
|
|
3336
|
+
};
|
|
3337
|
+
|
|
3338
|
+
/** @category Models */
|
|
3339
|
+
type UserCompetitionResponse = {
|
|
3340
|
+
competition: UserCompetitionHalloween | UserCompetitionEasterEggs | UserCompetitionRps;
|
|
3341
|
+
};
|
|
3342
|
+
|
|
3343
|
+
/** @category Models */
|
|
3344
|
+
type UserCompetitionRps = {
|
|
3345
|
+
name: "Rock, Paper, Scissors";
|
|
3346
|
+
status: UserRpsStatus;
|
|
3347
|
+
hp: {
|
|
3348
|
+
current: number;
|
|
3349
|
+
maximum: number;
|
|
3350
|
+
};
|
|
3351
|
+
};
|
|
3352
|
+
|
|
3230
3353
|
/** @category Models */
|
|
3231
3354
|
type UserCrime = {
|
|
3232
3355
|
nerve_spent: number;
|
|
@@ -3424,6 +3547,16 @@ type UserEnlistedCarsResponse = {
|
|
|
3424
3547
|
enlistedcars: UserRaceCarDetails[];
|
|
3425
3548
|
};
|
|
3426
3549
|
|
|
3550
|
+
/** @category Models */
|
|
3551
|
+
type UserFaction = {
|
|
3552
|
+
id: FactionId;
|
|
3553
|
+
name: string;
|
|
3554
|
+
tag: string;
|
|
3555
|
+
tag_image: string;
|
|
3556
|
+
position: string;
|
|
3557
|
+
days_in_faction: number;
|
|
3558
|
+
};
|
|
3559
|
+
|
|
3427
3560
|
/** @category Models */
|
|
3428
3561
|
type UserFactionBalance = {
|
|
3429
3562
|
money: number;
|
|
@@ -3435,6 +3568,11 @@ type UserFactionBalanceResponse = {
|
|
|
3435
3568
|
factionBalance: UserFactionBalance | unknown;
|
|
3436
3569
|
};
|
|
3437
3570
|
|
|
3571
|
+
/** @category Models */
|
|
3572
|
+
type UserFactionResponse = {
|
|
3573
|
+
faction: UserFaction | unknown;
|
|
3574
|
+
};
|
|
3575
|
+
|
|
3438
3576
|
/** @category Models */
|
|
3439
3577
|
type UserForumFeedResponse = {
|
|
3440
3578
|
forumFeed: ForumFeed[];
|
|
@@ -3489,6 +3627,37 @@ type UserHofStats = {
|
|
|
3489
3627
|
battle_stats: HofValue | unknown;
|
|
3490
3628
|
};
|
|
3491
3629
|
|
|
3630
|
+
/** @category Models */
|
|
3631
|
+
type UserHonor = {
|
|
3632
|
+
id: HonorId;
|
|
3633
|
+
timestamp: number;
|
|
3634
|
+
};
|
|
3635
|
+
|
|
3636
|
+
/** @category Models */
|
|
3637
|
+
type UserHonorsResponse = {
|
|
3638
|
+
honors: UserHonor[];
|
|
3639
|
+
};
|
|
3640
|
+
|
|
3641
|
+
/** @category Models */
|
|
3642
|
+
type UserIconId = number;
|
|
3643
|
+
|
|
3644
|
+
/** @category Models */
|
|
3645
|
+
type UserIconPrivate = UserIconPublic & {
|
|
3646
|
+
until: number | unknown;
|
|
3647
|
+
};
|
|
3648
|
+
|
|
3649
|
+
/** @category Models */
|
|
3650
|
+
type UserIconPublic = {
|
|
3651
|
+
id: UserIconId;
|
|
3652
|
+
title: string;
|
|
3653
|
+
description: string;
|
|
3654
|
+
};
|
|
3655
|
+
|
|
3656
|
+
/** @category Models */
|
|
3657
|
+
type UserIconsResponse = {
|
|
3658
|
+
icons: UserIconPrivate[] | UserIconPublic[];
|
|
3659
|
+
};
|
|
3660
|
+
|
|
3492
3661
|
/** @category Models */
|
|
3493
3662
|
type UserId = number;
|
|
3494
3663
|
|
|
@@ -3520,6 +3689,13 @@ type UserItemMarketResponse = {
|
|
|
3520
3689
|
_metadata: RequestMetadataWithLinks;
|
|
3521
3690
|
};
|
|
3522
3691
|
|
|
3692
|
+
/** @category Models */
|
|
3693
|
+
type UserJob = {
|
|
3694
|
+
type: "job";
|
|
3695
|
+
name: JobTypeEnum;
|
|
3696
|
+
position: JobPositionArmyEnum | JobPositionGrocerEnum | JobPositionCasinoEnum | JobPositionMedicalEnum | JobPositionLawEnum | JobPositionEducationEnum;
|
|
3697
|
+
};
|
|
3698
|
+
|
|
3523
3699
|
/** @category Models */
|
|
3524
3700
|
type UserJobPointsResponse = {
|
|
3525
3701
|
jobpoints: {
|
|
@@ -3550,6 +3726,11 @@ type UserJobRanksResponse = {
|
|
|
3550
3726
|
jobranks: UserJobRanks;
|
|
3551
3727
|
};
|
|
3552
3728
|
|
|
3729
|
+
/** @category Models */
|
|
3730
|
+
type UserJobResponse = {
|
|
3731
|
+
job: UserJob | UserCompany | unknown;
|
|
3732
|
+
};
|
|
3733
|
+
|
|
3553
3734
|
/**
|
|
3554
3735
|
* Details about a user's last action.
|
|
3555
3736
|
* @category Models
|
|
@@ -3606,6 +3787,40 @@ type UserLookupResponse = {
|
|
|
3606
3787
|
selections: UserSelectionName[];
|
|
3607
3788
|
};
|
|
3608
3789
|
|
|
3790
|
+
/** @category Models */
|
|
3791
|
+
type UserMaritalStatusEnum = "Engaged" | "Newlywed" | "Married";
|
|
3792
|
+
|
|
3793
|
+
/** @category Models */
|
|
3794
|
+
type UserMedal = {
|
|
3795
|
+
id: MedalId;
|
|
3796
|
+
timestamp: number;
|
|
3797
|
+
};
|
|
3798
|
+
|
|
3799
|
+
/** @category Models */
|
|
3800
|
+
type UserMedalsResponse = {
|
|
3801
|
+
medals: UserMedal[];
|
|
3802
|
+
};
|
|
3803
|
+
|
|
3804
|
+
/** @category Models */
|
|
3805
|
+
type UserMerits = {
|
|
3806
|
+
upgrades: UserMeritUpgrade[];
|
|
3807
|
+
available: number;
|
|
3808
|
+
used: number;
|
|
3809
|
+
medals: number;
|
|
3810
|
+
honors: number;
|
|
3811
|
+
};
|
|
3812
|
+
|
|
3813
|
+
/** @category Models */
|
|
3814
|
+
type UserMeritsResponse = {
|
|
3815
|
+
merits: UserMerits;
|
|
3816
|
+
};
|
|
3817
|
+
|
|
3818
|
+
/** @category Models */
|
|
3819
|
+
type UserMeritUpgrade = {
|
|
3820
|
+
id: MeritId;
|
|
3821
|
+
level: number;
|
|
3822
|
+
};
|
|
3823
|
+
|
|
3609
3824
|
/** @category Models */
|
|
3610
3825
|
type UserMoneyResponse = {
|
|
3611
3826
|
money: {
|
|
@@ -3662,6 +3877,41 @@ type UserPersonalStatsPopular = {
|
|
|
3662
3877
|
/** @category Models */
|
|
3663
3878
|
type UserPersonalStatsResponse = UserPersonalStatsFull | UserPersonalStatsFullPublic | UserPersonalStatsPopular | UserPersonalStatsCategory | UserPersonalStatsHistoric;
|
|
3664
3879
|
|
|
3880
|
+
/** @category Models */
|
|
3881
|
+
type UserProfileResponse = {
|
|
3882
|
+
profile: {
|
|
3883
|
+
id: UserId;
|
|
3884
|
+
name: string;
|
|
3885
|
+
level: number;
|
|
3886
|
+
rank: UserRankEnum;
|
|
3887
|
+
title: UserTitleEnum;
|
|
3888
|
+
age: number;
|
|
3889
|
+
signed_up: number;
|
|
3890
|
+
faction_id: FactionId | unknown;
|
|
3891
|
+
honor_id: HonorId;
|
|
3892
|
+
property: {
|
|
3893
|
+
id: PropertyId;
|
|
3894
|
+
name: string;
|
|
3895
|
+
};
|
|
3896
|
+
image: string | unknown;
|
|
3897
|
+
gender: UserGenderEnum;
|
|
3898
|
+
revivable: boolean;
|
|
3899
|
+
role: UserRoleEnum;
|
|
3900
|
+
status: UserStatus;
|
|
3901
|
+
spouse: ProfileSpouse | unknown;
|
|
3902
|
+
awards: number;
|
|
3903
|
+
friends: number;
|
|
3904
|
+
enemies: number;
|
|
3905
|
+
forum_posts: number;
|
|
3906
|
+
karma: number;
|
|
3907
|
+
last_action: UserLastAction;
|
|
3908
|
+
life: {
|
|
3909
|
+
current: number;
|
|
3910
|
+
maximum: number;
|
|
3911
|
+
};
|
|
3912
|
+
};
|
|
3913
|
+
};
|
|
3914
|
+
|
|
3665
3915
|
/** @category Models */
|
|
3666
3916
|
type UserPropertiesResponse = {
|
|
3667
3917
|
properties: UserPropertyBasicDetails | UserPropertyDetailsExtended | UserPropertyDetailsExtendedRented | UserPropertyDetailsExtendedForRent | UserPropertyDetailsExtendedForSale[];
|
|
@@ -3723,6 +3973,11 @@ type UserPropertyDetailsExtendedRented = UserPropertyBasicDetails & {
|
|
|
3723
3973
|
rental_period: number;
|
|
3724
3974
|
rental_period_remaining: number;
|
|
3725
3975
|
rented_by: BasicUser;
|
|
3976
|
+
lease_extension: {
|
|
3977
|
+
cost: number;
|
|
3978
|
+
period: number;
|
|
3979
|
+
created_at: number;
|
|
3980
|
+
} | unknown;
|
|
3726
3981
|
};
|
|
3727
3982
|
|
|
3728
3983
|
/** @category Models */
|
|
@@ -3771,10 +4026,19 @@ type UserRacingRecordsResponse = {
|
|
|
3771
4026
|
};
|
|
3772
4027
|
|
|
3773
4028
|
/** @category Models */
|
|
3774
|
-
type
|
|
4029
|
+
type UserRankEnum = "Absolute beginner" | "Beginner" | "Inexperienced" | "Rookie" | "Novice" | "Below average" | "Average" | "Reasonable" | "Above average" | "Competent" | "Highly competent" | "Veteran" | "Distinguished" | "Highly distinguished" | "Professional" | "Star" | "Master" | "Outstanding" | "Celebrity" | "Supreme" | "Idolized" | "Champion" | "Heroic" | "Legendary" | "Elite" | "Invincible";
|
|
3775
4030
|
|
|
3776
4031
|
/** @category Models */
|
|
3777
|
-
type
|
|
4032
|
+
type UserResponse = UserCrimesResponse | UserRacesResponse | UserEnlistedCarsResponse | UserForumPostsResponse | UserForumThreadsResponse | UserForumSubscribedThreadsResponse | UserForumFeedResponse | UserForumFriendsResponse | UserHofResponse | UserCalendarResponse | UserRacingRecordsResponse | UserEducationResponse | UserBountiesResponse | UserJobRanksResponse | UserPropertiesResponse | UserFactionBalanceResponse | UserBasicResponse | RevivesResponse | UserHonorsResponse | UserMedalsResponse | UserMeritsResponse | RevivesFullResponse | UserProfileResponse | UserJobResponse | UserFactionResponse | UserCompetitionResponse | UserIconsResponse | UserItemMarketResponse | UserListResponse | UserPersonalStatsResponse | UserOrganizedCrimeResponse | FactionAttacksResponse | FactionAttacksFullResponse | UserMoneyResponse | UserJobPointsResponse | UserWorkStatsResponse | UserSkillsResponse | UserBattleStatsResponse | UserLookupResponse | TimestampResponse;
|
|
4033
|
+
|
|
4034
|
+
/** @category Models */
|
|
4035
|
+
type UserRoleEnum = "Admin" | "Officer" | "Moderator" | "Helper" | "Tester" | "NPC" | "Committee" | "Reporter" | "Wiki Contributor" | "Wiki Editor" | "Civilian";
|
|
4036
|
+
|
|
4037
|
+
/** @category Models */
|
|
4038
|
+
type UserRpsStatus = "scissors" | "rock" | "paper";
|
|
4039
|
+
|
|
4040
|
+
/** @category Models */
|
|
4041
|
+
type UserSelectionName = "attacks" | "attacksfull" | "basic" | "battlestats" | "bounties" | "calendar" | "competition" | "crimes" | "enlistedcars" | "faction" | "factionbalance" | "forumfeed" | "forumfriends" | "forumposts" | "forumsubscribedthreads" | "forumthreads" | "hof" | "honors" | "icons" | "itemmarket" | "job" | "jobpoints" | "jobranks" | "list" | "log" | "lookup" | "medals" | "merits" | "money" | "organizedcrime" | "personalstats" | "profile" | "properties" | "property" | "races" | "racingrecords" | "reports" | "revives" | "revivesfull" | "skills" | "timestamp" | "workstats" | "ammo" | "bars" | "bazaar" | "cooldowns" | "criminalrecord" | "discord" | "display" | "education" | "equipment" | "events" | "gym" | "inventory" | "messages" | "missions" | "networth" | "newevents" | "newmessages" | "notifications" | "perks" | "refills" | "stocks" | "travel" | "weaponexp" | string;
|
|
3778
4042
|
|
|
3779
4043
|
/** @category Models */
|
|
3780
4044
|
type UserSkillDetail = {
|
|
@@ -3800,6 +4064,7 @@ type UserStatus = {
|
|
|
3800
4064
|
details: string | unknown;
|
|
3801
4065
|
state: string;
|
|
3802
4066
|
until: number | unknown;
|
|
4067
|
+
travel_type?: string;
|
|
3803
4068
|
};
|
|
3804
4069
|
|
|
3805
4070
|
/** @category Models */
|
|
@@ -3810,6 +4075,9 @@ type UserSubcrime = {
|
|
|
3810
4075
|
fail: number;
|
|
3811
4076
|
};
|
|
3812
4077
|
|
|
4078
|
+
/** @category Models */
|
|
4079
|
+
type UserTitleEnum = "Alcoholic" | "Sharpshooter" | "Accomplice" | "Loser" | "Silent Killer" | "Killer" | "Merchant" | "Medalist" | "Tycoon" | "Damage Dealer" | "Slayer" | "Hired Gun" | "Egotist" | "Outcast" | "Punchbag" | "Tank" | "Antagonist" | "Druggy" | "Scavenger" | "Boxer" | "Importer" | "Looter" | "Samaritan" | "Felon" | "Socialite" | "Mercenary" | "Investor" | "Thief" | "One Hit Killer" | "Mobster" | "Addict" | "Bonds Agent" | "Buster" | "Hoarder" | "Racer" | "Soldier" | "Avenger" | "Healer" | "Booster" | "Intimidator" | "Trader" | "Jobsworth" | "Tourist" | "Nudist" | "Sage" | "Coward";
|
|
4080
|
+
|
|
3813
4081
|
/** @category Models */
|
|
3814
4082
|
type UserWorkStatsResponse = {
|
|
3815
4083
|
workstats: {
|
|
@@ -4378,8 +4646,11 @@ declare class ForumThreadIdContext {
|
|
|
4378
4646
|
* @param params - Optional query parameters
|
|
4379
4647
|
*/
|
|
4380
4648
|
posts(params?: {
|
|
4381
|
-
offset?: number;
|
|
4382
4649
|
striptags?: "true" | "false";
|
|
4650
|
+
offset?: number;
|
|
4651
|
+
sort?: "DESC" | "ASC";
|
|
4652
|
+
from?: number;
|
|
4653
|
+
to?: number;
|
|
4383
4654
|
timestamp?: string;
|
|
4384
4655
|
}): Promise<PaginatedResponse<ForumPostsResponse> & ForumPostsResponse>;
|
|
4385
4656
|
/**
|
|
@@ -4772,6 +5043,13 @@ declare class TornEndpoint {
|
|
|
4772
5043
|
factiontree(params?: {
|
|
4773
5044
|
timestamp?: string;
|
|
4774
5045
|
}): Promise<TornFactionTreeResponse>;
|
|
5046
|
+
/**
|
|
5047
|
+
* Get all honors
|
|
5048
|
+
* @param params - Optional query parameters
|
|
5049
|
+
*/
|
|
5050
|
+
honors(params?: {
|
|
5051
|
+
timestamp?: string;
|
|
5052
|
+
}): Promise<TornHonorsResponse>;
|
|
4775
5053
|
/**
|
|
4776
5054
|
* Get player hall of fame positions for a specific category
|
|
4777
5055
|
* @param params - Optional query parameters
|
|
@@ -4819,6 +5097,20 @@ declare class TornEndpoint {
|
|
|
4819
5097
|
logtypes(params?: {
|
|
4820
5098
|
timestamp?: string;
|
|
4821
5099
|
}): Promise<TornLogTypesResponse>;
|
|
5100
|
+
/**
|
|
5101
|
+
* Get all medals
|
|
5102
|
+
* @param params - Optional query parameters
|
|
5103
|
+
*/
|
|
5104
|
+
medals(params?: {
|
|
5105
|
+
timestamp?: string;
|
|
5106
|
+
}): Promise<TornMedalsResponse>;
|
|
5107
|
+
/**
|
|
5108
|
+
* Get all merits
|
|
5109
|
+
* @param params - Optional query parameters
|
|
5110
|
+
*/
|
|
5111
|
+
merits(params?: {
|
|
5112
|
+
timestamp?: string;
|
|
5113
|
+
}): Promise<TornMeritsResponse>;
|
|
4822
5114
|
/**
|
|
4823
5115
|
* Get organized crimes information
|
|
4824
5116
|
* @param params - Optional query parameters
|
|
@@ -4863,7 +5155,7 @@ declare class TornEndpoint {
|
|
|
4863
5155
|
*/
|
|
4864
5156
|
get(params?: {
|
|
4865
5157
|
selections?: TornSelectionName[];
|
|
4866
|
-
id?: LogCategoryId | TornCrimeId | ItemId[] | FactionTerritoryEnum[];
|
|
5158
|
+
id?: LogCategoryId | TornCrimeId | ItemId[] | MedalId[] | HonorId[] | FactionTerritoryEnum[];
|
|
4867
5159
|
striptags?: "true" | "false";
|
|
4868
5160
|
limit?: number;
|
|
4869
5161
|
to?: number;
|
|
@@ -4888,6 +5180,13 @@ declare class TornIdsContext {
|
|
|
4888
5180
|
private readonly requester;
|
|
4889
5181
|
private readonly contextId;
|
|
4890
5182
|
constructor(requester: Requester, contextId: string | number);
|
|
5183
|
+
/**
|
|
5184
|
+
* Get specific honors
|
|
5185
|
+
* @param params - Optional query parameters
|
|
5186
|
+
*/
|
|
5187
|
+
honors(params?: {
|
|
5188
|
+
timestamp?: string;
|
|
5189
|
+
}): Promise<TornHonorsResponse>;
|
|
4891
5190
|
/**
|
|
4892
5191
|
* Get information about items
|
|
4893
5192
|
* @param params - Optional query parameters
|
|
@@ -4896,6 +5195,13 @@ declare class TornIdsContext {
|
|
|
4896
5195
|
sort?: "DESC" | "ASC";
|
|
4897
5196
|
timestamp?: string;
|
|
4898
5197
|
}): Promise<TornItemsResponse>;
|
|
5198
|
+
/**
|
|
5199
|
+
* Get specific medals
|
|
5200
|
+
* @param params - Optional query parameters
|
|
5201
|
+
*/
|
|
5202
|
+
medals(params?: {
|
|
5203
|
+
timestamp?: string;
|
|
5204
|
+
}): Promise<TornMedalsResponse>;
|
|
4899
5205
|
}
|
|
4900
5206
|
/**
|
|
4901
5207
|
* Context class for Torn API endpoints that require a "logCategoryId"
|
|
@@ -4990,6 +5296,13 @@ declare class UserEndpoint {
|
|
|
4990
5296
|
calendar(params?: {
|
|
4991
5297
|
timestamp?: string;
|
|
4992
5298
|
}): Promise<UserCalendarResponse>;
|
|
5299
|
+
/**
|
|
5300
|
+
* Get your competition information
|
|
5301
|
+
* @param params - Optional query parameters
|
|
5302
|
+
*/
|
|
5303
|
+
competition(params?: {
|
|
5304
|
+
timestamp?: string;
|
|
5305
|
+
}): Promise<UserCompetitionResponse>;
|
|
4993
5306
|
/**
|
|
4994
5307
|
* Get your education information
|
|
4995
5308
|
* @param params - Optional query parameters
|
|
@@ -5004,6 +5317,13 @@ declare class UserEndpoint {
|
|
|
5004
5317
|
enlistedcars(params?: {
|
|
5005
5318
|
timestamp?: string;
|
|
5006
5319
|
}): Promise<UserEnlistedCarsResponse>;
|
|
5320
|
+
/**
|
|
5321
|
+
* Get your faction information
|
|
5322
|
+
* @param params - Optional query parameters
|
|
5323
|
+
*/
|
|
5324
|
+
faction(params?: {
|
|
5325
|
+
timestamp?: string;
|
|
5326
|
+
}): Promise<UserFactionResponse>;
|
|
5007
5327
|
/**
|
|
5008
5328
|
* Deprecated. Use user/money instead
|
|
5009
5329
|
* @param params - Optional query parameters
|
|
@@ -5062,6 +5382,20 @@ declare class UserEndpoint {
|
|
|
5062
5382
|
hof(params?: {
|
|
5063
5383
|
timestamp?: string;
|
|
5064
5384
|
}): Promise<UserHofResponse>;
|
|
5385
|
+
/**
|
|
5386
|
+
* Get your achieved honors
|
|
5387
|
+
* @param params - Optional query parameters
|
|
5388
|
+
*/
|
|
5389
|
+
honors(params?: {
|
|
5390
|
+
timestamp?: string;
|
|
5391
|
+
}): Promise<UserHonorsResponse>;
|
|
5392
|
+
/**
|
|
5393
|
+
* Get your icons information
|
|
5394
|
+
* @param params - Optional query parameters
|
|
5395
|
+
*/
|
|
5396
|
+
icons(params?: {
|
|
5397
|
+
timestamp?: string;
|
|
5398
|
+
}): Promise<UserIconsResponse>;
|
|
5065
5399
|
/**
|
|
5066
5400
|
* Get your item market listings for a specific item
|
|
5067
5401
|
* @param params - Optional query parameters
|
|
@@ -5070,6 +5404,13 @@ declare class UserEndpoint {
|
|
|
5070
5404
|
offset?: number;
|
|
5071
5405
|
timestamp?: string;
|
|
5072
5406
|
}): Promise<PaginatedResponse<UserItemMarketResponse> & UserItemMarketResponse>;
|
|
5407
|
+
/**
|
|
5408
|
+
* Get your job information
|
|
5409
|
+
* @param params - Optional query parameters
|
|
5410
|
+
*/
|
|
5411
|
+
job(params?: {
|
|
5412
|
+
timestamp?: string;
|
|
5413
|
+
}): Promise<UserJobResponse>;
|
|
5073
5414
|
/**
|
|
5074
5415
|
* Get your jobpoints
|
|
5075
5416
|
* @param params - Optional query parameters
|
|
@@ -5107,6 +5448,20 @@ declare class UserEndpoint {
|
|
|
5107
5448
|
from?: number;
|
|
5108
5449
|
timestamp?: string;
|
|
5109
5450
|
}): Promise<PaginatedResponse<UserLogsResponse> & UserLogsResponse>;
|
|
5451
|
+
/**
|
|
5452
|
+
* Get your achieved medals
|
|
5453
|
+
* @param params - Optional query parameters
|
|
5454
|
+
*/
|
|
5455
|
+
medals(params?: {
|
|
5456
|
+
timestamp?: string;
|
|
5457
|
+
}): Promise<UserMedalsResponse>;
|
|
5458
|
+
/**
|
|
5459
|
+
* Get your merits
|
|
5460
|
+
* @param params - Optional query parameters
|
|
5461
|
+
*/
|
|
5462
|
+
merits(params?: {
|
|
5463
|
+
timestamp?: string;
|
|
5464
|
+
}): Promise<UserMeritsResponse>;
|
|
5110
5465
|
/**
|
|
5111
5466
|
* Get your current wealth
|
|
5112
5467
|
* @param params - Optional query parameters
|
|
@@ -5130,11 +5485,20 @@ declare class UserEndpoint {
|
|
|
5130
5485
|
stat?: PersonalStatsStatName[];
|
|
5131
5486
|
timestamp?: number;
|
|
5132
5487
|
}): Promise<UserPersonalStatsResponse>;
|
|
5488
|
+
/**
|
|
5489
|
+
* Get your own profile
|
|
5490
|
+
* @param params - Optional query parameters
|
|
5491
|
+
*/
|
|
5492
|
+
profile(params?: {
|
|
5493
|
+
striptags?: "true" | "false";
|
|
5494
|
+
timestamp?: string;
|
|
5495
|
+
}): Promise<UserProfileResponse>;
|
|
5133
5496
|
/**
|
|
5134
5497
|
* Get your own properties
|
|
5135
5498
|
* @param params - Optional query parameters
|
|
5136
5499
|
*/
|
|
5137
5500
|
properties(params?: {
|
|
5501
|
+
filters?: "ownedByUser" | "ownedBySpouse";
|
|
5138
5502
|
offset?: number;
|
|
5139
5503
|
limit?: number;
|
|
5140
5504
|
timestamp?: string;
|
|
@@ -5243,7 +5607,7 @@ declare class UserEndpoint {
|
|
|
5243
5607
|
sort?: "DESC" | "ASC";
|
|
5244
5608
|
cat?: ReportTypeEnum | UserListEnum | PersonalStatsCategoryEnum | RacingRaceTypeEnum;
|
|
5245
5609
|
stat?: PersonalStatsStatName[];
|
|
5246
|
-
filters?: "incoming" | "outgoing";
|
|
5610
|
+
filters?: "incoming" | "outgoing" | "ownedByUser" | "ownedBySpouse";
|
|
5247
5611
|
striptags?: "true" | "false";
|
|
5248
5612
|
offset?: number;
|
|
5249
5613
|
timestamp?: string;
|
|
@@ -5276,6 +5640,20 @@ declare class UserIdContext {
|
|
|
5276
5640
|
bounties(params?: {
|
|
5277
5641
|
timestamp?: string;
|
|
5278
5642
|
}): Promise<UserBountiesResponse>;
|
|
5643
|
+
/**
|
|
5644
|
+
* Get competition information for a specific player
|
|
5645
|
+
* @param params - Optional query parameters
|
|
5646
|
+
*/
|
|
5647
|
+
competition(params?: {
|
|
5648
|
+
timestamp?: string;
|
|
5649
|
+
}): Promise<UserCompetitionResponse>;
|
|
5650
|
+
/**
|
|
5651
|
+
* Get faction information for a specific player
|
|
5652
|
+
* @param params - Optional query parameters
|
|
5653
|
+
*/
|
|
5654
|
+
faction(params?: {
|
|
5655
|
+
timestamp?: string;
|
|
5656
|
+
}): Promise<UserFactionResponse>;
|
|
5279
5657
|
/**
|
|
5280
5658
|
* Get posts for a specific player
|
|
5281
5659
|
* @param params - Optional query parameters
|
|
@@ -5306,6 +5684,20 @@ declare class UserIdContext {
|
|
|
5306
5684
|
hof(params?: {
|
|
5307
5685
|
timestamp?: string;
|
|
5308
5686
|
}): Promise<UserHofResponse>;
|
|
5687
|
+
/**
|
|
5688
|
+
* Get icons information for a specific player
|
|
5689
|
+
* @param params - Optional query parameters
|
|
5690
|
+
*/
|
|
5691
|
+
icons(params?: {
|
|
5692
|
+
timestamp?: string;
|
|
5693
|
+
}): Promise<UserIconsResponse>;
|
|
5694
|
+
/**
|
|
5695
|
+
* Get job information for a specific player
|
|
5696
|
+
* @param params - Optional query parameters
|
|
5697
|
+
*/
|
|
5698
|
+
job(params?: {
|
|
5699
|
+
timestamp?: string;
|
|
5700
|
+
}): Promise<UserJobResponse>;
|
|
5309
5701
|
/**
|
|
5310
5702
|
* Get a player's personal stats
|
|
5311
5703
|
* @param params - Optional query parameters
|
|
@@ -5315,11 +5707,20 @@ declare class UserIdContext {
|
|
|
5315
5707
|
stat?: PersonalStatsStatName[];
|
|
5316
5708
|
timestamp?: number;
|
|
5317
5709
|
}): Promise<UserPersonalStatsResponse>;
|
|
5710
|
+
/**
|
|
5711
|
+
* Get profile information for a specific player
|
|
5712
|
+
* @param params - Optional query parameters
|
|
5713
|
+
*/
|
|
5714
|
+
profile(params?: {
|
|
5715
|
+
striptags?: "true" | "false";
|
|
5716
|
+
timestamp?: string;
|
|
5717
|
+
}): Promise<UserProfileResponse>;
|
|
5318
5718
|
/**
|
|
5319
5719
|
* Get specific user's properties
|
|
5320
5720
|
* @param params - Optional query parameters
|
|
5321
5721
|
*/
|
|
5322
5722
|
properties(params?: {
|
|
5723
|
+
filters?: "ownedByUser" | "ownedBySpouse";
|
|
5323
5724
|
offset?: number;
|
|
5324
5725
|
limit?: number;
|
|
5325
5726
|
timestamp?: string;
|
|
@@ -5490,4 +5891,4 @@ declare class TornRateLimitError extends Error {
|
|
|
5490
5891
|
constructor(message: string);
|
|
5491
5892
|
}
|
|
5492
5893
|
|
|
5493
|
-
export { type AmmoId, type ApiKeyAccessTypeEnum, type ApiKeyBalancing, type Attack, type AttackActionEnum, type AttackCode, type AttackFinishingHitEffect, type AttackId, type AttackLog, type AttackLogResponse, type AttackLogSummary, type AttackPlayer, type AttackPlayerFaction, type AttackPlayerSimplified, type AttackSimplified, type AttackingFinishingHitEffects, type BasicProperty, type BasicUser, type Bazaar, type BazaarAdvancedItemSales, type BazaarBargainSales, type BazaarBulkSales, type BazaarDollarSales, type BazaarRecentFavorites, type BazaarResponse, type BazaarResponseSpecialized, type BazaarSpecialized, type BazaarTotalFavorites, type BazaarWeekly, type BazaarWeeklyCustomers, type BazaarWeeklyIncome, type Bounty, type ChainId, type CompanyId, type CompanyTypeId, type CountryEnum, type DirtyBombId, type EducationId, type Faction, type FactionApplication, type FactionApplicationStatusEnum, type FactionApplicationsResponse, type FactionAttackResult, type FactionAttacksFullResponse, type FactionAttacksResponse, type FactionBalance, type FactionBalanceResponse, type FactionBasic, type FactionBasicResponse, type FactionBranchDetails, type FactionBranchId, type FactionBranchStateEnum, type FactionChain, FactionChainIdContext, type FactionChainReport, type FactionChainReportAttacker, type FactionChainReportAttackerAttacks, type FactionChainReportAttackerRespect, type FactionChainReportBonus, type FactionChainReportDetails, type FactionChainReportResponse, type FactionChainWarfare, type FactionChainsResponse, type FactionContributor, type FactionContributorsResponse, type FactionCrime, type FactionCrimeId, FactionCrimeIdContext, type FactionCrimeItemOutcomeEnum, type FactionCrimeResponse, type FactionCrimeReward, type FactionCrimeRewardItem, type FactionCrimeRewardPayout, type FactionCrimeSlot, type FactionCrimeStatusEnum, type FactionCrimeUser, type FactionCrimeUserItemOutcome, type FactionCrimeUserItemOutcomeEnum, type FactionCrimeUserOutcome, type FactionCrimesResponse, FactionEndpoint, type FactionHofResponse, type FactionHofStats, type FactionHofValues, type FactionId, FactionIdContext, type FactionLookupResponse, type FactionMember, type FactionMembersResponse, type FactionNews, type FactionNewsCategory, type FactionNewsResponse, type FactionOngoingChain, type FactionOngoingChainResponse, type FactionOrganizedCrimePayoutType, type FactionPact, type FactionPosition, type FactionPositionAbilityEnum, type FactionPositionsResponse, type FactionRacketsResponse, type FactionRaidReport, type FactionRaidReportAttacker, type FactionRaidReportFaction, type FactionRaidReportUser, type FactionRaidWar, FactionRaidWarIdContext, type FactionRaidWarParticipant, type FactionRaidWarReportResponse, type FactionRaidWarfare, type FactionRaidWarfareFaction, type FactionRaidsResponse, type FactionRank, type FactionRankEnum, type FactionRankedWar, type FactionRankedWarDetails, FactionRankedWarIdContext, type FactionRankedWarParticipant, type FactionRankedWarReportResponse, type FactionRankedWarResponse, type FactionRankedWarsCategoryEnum, type FactionResponse, type FactionSearch, type FactionSearchLeader, type FactionSearchResponse, type FactionSelectionName, type FactionStat, type FactionStatEnum, type FactionStatsResponse, type FactionTerritoriesOwnershipResponse, type FactionTerritoriesResponse, type FactionTerritory, type FactionTerritoryEnum, type FactionTerritoryOwnership, type FactionTerritoryWar, type FactionTerritoryWarFaction, type FactionTerritoryWarFactionWallPlayers, type FactionTerritoryWarFinished, type FactionTerritoryWarFinishedFaction, FactionTerritoryWarIdContext, type FactionTerritoryWarOngoing, type FactionTerritoryWarOngoingFaction, type FactionTerritoryWarParticipant, type FactionTerritoryWarReport, type FactionTerritoryWarReportFaction, type FactionTerritoryWarReportMembers, type FactionTerritoryWarReportResponse, type FactionTerritoryWarResultEnum, type FactionTerritoryWarfare, type FactionTerritoryWarsCategoryEnum, type FactionTerritoryWarsHistoryResponse, type FactionTerritoryWarsResponse, type FactionUpgradeDetails, type FactionUpgrades, type FactionUpgradesResponse, type FactionWarfareDirtyBomb, type FactionWarfareDirtyBombPlanter, type FactionWarfareDirtyBombTargetFaction, type FactionWarfareResponse, type FactionWarfareTypeEnum, type FactionWars, type FactionWarsResponse, type ForumCategoriesResponse, ForumCategoryIdsContext, ForumEndpoint, type ForumFeed, type ForumFeedTypeEnum, type ForumId, type ForumLookupResponse, type ForumPoll, type ForumPollVote, type ForumPost, type ForumPostId, type ForumPostsResponse, type ForumResponse, type ForumSelectionName, type ForumSubscribedThread, type ForumSubscribedThreadPostsCount, type ForumThreadAuthor, type ForumThreadBase, type ForumThreadExtended, type ForumThreadId, ForumThreadIdContext, type ForumThreadResponse, type ForumThreadUserExtended, type ForumThreadsResponse, type HofValue, type HofValueFloat, type HofValueString, type ItemId, type ItemMarket, type ItemMarketItem, type ItemMarketListingItemBonus, type ItemMarketListingItemDetails, type ItemMarketListingItemStats, type ItemMarketListingNonstackable, type ItemMarketListingStackable, type ItemModId, type ItemUid, type JobPositionArmyEnum, type JobPositionCasinoEnum, type JobPositionEducationEnum, type JobPositionGrocerEnum, type JobPositionLawEnum, type JobPositionMedicalEnum, KeyEndpoint, type KeyInfoAvailableLog, type KeyInfoResponse, type KeyLogResponse, type KeyResponse, type KeySelectionName, type LogCategoryId, type LogId, MarketEndpoint, MarketIdContext, type MarketItemMarketResponse, type MarketLookupResponse, type MarketPropertiesResponse, type MarketPropertyDetails, MarketPropertyTypeIdContext, type MarketRentalDetails, type MarketRentalsResponse, type MarketResponse, type MarketSelectionName, type MarketSpecializedBazaarCategoryEnum, type OrganizedCrimeName, PaginatedResponse, type Parameters, type PersonalStatsAttackingExtended, type PersonalStatsAttackingPopular, type PersonalStatsAttackingPublic, type PersonalStatsBattleStats, type PersonalStatsBounties, type PersonalStatsCategoryEnum, type PersonalStatsCommunication, type PersonalStatsCrimes, type PersonalStatsCrimesPopular, type PersonalStatsCrimesV1, type PersonalStatsCrimesV2, type PersonalStatsDrugs, type PersonalStatsFinishingHits, type PersonalStatsHistoricStat, type PersonalStatsHospital, type PersonalStatsHospitalPopular, type PersonalStatsInvestments, type PersonalStatsItems, type PersonalStatsItemsPopular, type PersonalStatsJail, type PersonalStatsJobsExtended, type PersonalStatsJobsPublic, type PersonalStatsMissions, type PersonalStatsNetworthExtended, type PersonalStatsNetworthPublic, type PersonalStatsOther, type PersonalStatsOtherPopular, type PersonalStatsRacing, type PersonalStatsStatName, type PersonalStatsTrading, type PersonalStatsTravel, type PersonalStatsTravelPopular, PropertyEndpoint, type PropertyId, PropertyIdContext, type PropertyLookupResponse, type PropertyModificationEnum, type PropertyPropertyResponse, type PropertyResponse, type PropertySelectionName, type PropertyStaffEnum, type PropertyTypeId, type Race, type RaceCar, type RaceCarId, type RaceCarUpgrade, type RaceCarUpgradeCategory, type RaceCarUpgradeId, type RaceCarUpgradeSubCategory, type RaceClassEnum, type RaceId, type RaceRecord, type RaceStatusEnum, type RaceTrack, type RaceTrackId, type RacerDetails, type RacingCarUpgradesResponse, type RacingCarsResponse, RacingEndpoint, type RacingLookupResponse, type RacingRaceDetails, type RacingRaceDetailsResponse, RacingRaceIdContext, type RacingRaceTypeEnum, type RacingRacesResponse, type RacingResponse, type RacingSelectionName, RacingTrackIdContext, type RacingTrackRecordsResponse, type RacingTracksResponse, type RaidWarId, type RankedWarId, type RateLimitMode, type Report, type ReportAnonymousBounties, type ReportBase, type ReportCompanyFinancials, type ReportFriendOrFoe, type ReportFriendOrFoeUser, type ReportHistory, type ReportHistoryCompany, type ReportHistoryFaction, type ReportInvestment, type ReportMoney, type ReportMostWanted, type ReportReport, type ReportStats, type ReportStockAnalysis, type ReportTrueLevel, type ReportTypeEnum, type ReportWarrantDetails, type ReportsResponse, type RequestLinks, type RequestMetadata, type RequestMetadataWithLinks, type RequestMetadataWithLinksAndTotal, type Requester, type Revive, type ReviveId, type ReviveSetting, type ReviveSimplified, type RevivesFullResponse, type RevivesResponse, type SelectionCategoryEnum, type TerritoryWarId, type TimestampResponse, TornAPI, type TornAPIOptions, TornApiError, type TornBountiesResponse, type TornCalendarActivity, type TornCalendarResponse, type TornCrime, type TornCrimeId, TornCrimeIdContext, type TornCrimesResponse, type TornEducation, type TornEducationCourses, type TornEducationPrerequisites, type TornEducationResponse, type TornEducationRewards, TornEndpoint, type TornFactionHof, type TornFactionHofCategory, type TornFactionHofResponse, type TornFactionTree, type TornFactionTreeBranch, type TornFactionTreeResponse, type TornHof, type TornHofBasic, type TornHofCategory, type TornHofResponse, type TornHofWithOffenses, TornIdsContext, type TornItem, type TornItemAmmo, type TornItemAmmoResponse, type TornItemAmmoTypeEnum, type TornItemArmorCoverage, type TornItemArmorCoveragePartEnum, type TornItemArmorDetails, type TornItemBaseStats, type TornItemCategory, type TornItemMods, type TornItemModsResponse, type TornItemTypeEnum, type TornItemWeaponCategoryEnum, type TornItemWeaponDetails, type TornItemWeaponTypeEnum, type TornItemsResponse, type TornLog, type TornLogCategoriesResponse, type TornLogCategory, TornLogCategoryIdContext, type TornLogTypesResponse, type TornLookupResponse, type TornOrganizedCrime, type TornOrganizedCrimePositionId, type TornOrganizedCrimeRequiredItem, type TornOrganizedCrimeResponse, type TornOrganizedCrimeScope, type TornOrganizedCrimeSlot, type TornOrganizedCrimeSpawn, type TornProperties, type TornRacket, type TornRacketReward, type TornRacketType, TornRateLimitError, type TornResponse, type TornSelectionName, type TornSubcrime, type TornSubcrimesResponse, type TornTerritoriesNoLinksResponse, type TornTerritoriesResponse, type TornTerritory, type TornTerritoryCoordinates, type User, type UserBasic, type UserBasicResponse, type UserBattleStatDetail, type UserBattleStatModifierDetail, type UserBattleStatsResponse, type UserBountiesResponse, type UserCalendar, type UserCalendarResponse, type UserCompanyPoints, type UserCrime, type UserCrimeAttempts, type UserCrimeDetailsBootlegging, type UserCrimeDetailsCardSkimming, type UserCrimeDetailsCracking, type UserCrimeDetailsGraffiti, type UserCrimeDetailsHustling, type UserCrimeDetailsScamming, type UserCrimeDetailsShoplifting, UserCrimeIdContext, type UserCrimeRewardAmmo, type UserCrimeRewardItem, type UserCrimeRewards, type UserCrimeUniques, type UserCrimeUniquesReward, type UserCrimeUniquesRewardAmmo, type UserCrimeUniquesRewardAmmoEnum, type UserCrimeUniquesRewardMoney, type UserCrimesResponse, type UserCurrentEducation, type UserEducation, type UserEducationResponse, UserEndpoint, type UserEnlistedCarsResponse, type UserFactionBalance, type UserFactionBalanceResponse, type UserForumFeedResponse, type UserForumFriendsResponse, type UserForumPostsResponse, type UserForumSubscribedThreadsResponse, type UserForumThreadsResponse, type UserGenderEnum, type UserHofResponse, type UserHofStats, type UserId, UserIdContext, type UserItemMarkeListingItemDetails, type UserItemMarketListing, type UserItemMarketResponse, type UserJobPointsResponse, type UserJobRanks, type UserJobRanksResponse, type UserLastAction, type UserList, type UserListEnum, type UserListResponse, type UserLog, type UserLogId, type UserLogsResponse, type UserLookupResponse, type UserMoneyResponse, type UserOrganizedCrimeResponse, type UserPersonalStatsCategory, type UserPersonalStatsFull, type UserPersonalStatsFullPublic, type UserPersonalStatsHistoric, type UserPersonalStatsPopular, type UserPersonalStatsResponse, type UserPropertiesResponse, type UserPropertyBasicDetails, type UserPropertyDetails, type UserPropertyDetailsExtended, type UserPropertyDetailsExtendedForRent, type UserPropertyDetailsExtendedForSale, type UserPropertyDetailsExtendedRented, type UserPropertyDetailsExtendedWithRent, type UserPropertyResponse, type UserRaceCarDetails, type UserRacesResponse, type UserRacingRecordsResponse, type UserResponse, type UserSelectionName, type UserSkillDetail, type UserSkillSlugEnum, type UserSkillsResponse, type UserStatus, type UserSubcrime, type UserWorkStatsResponse, type WeaponBonusEnum };
|
|
5894
|
+
export { type AmmoId, type ApiKeyAccessTypeEnum, type ApiKeyBalancing, type Attack, type AttackActionEnum, type AttackCode, type AttackFinishingHitEffect, type AttackId, type AttackLog, type AttackLogResponse, type AttackLogSummary, type AttackPlayer, type AttackPlayerFaction, type AttackPlayerSimplified, type AttackSimplified, type AttackingFinishingHitEffects, type BasicProperty, type BasicUser, type Bazaar, type BazaarAdvancedItemSales, type BazaarBargainSales, type BazaarBulkSales, type BazaarDollarSales, type BazaarRecentFavorites, type BazaarResponse, type BazaarResponseSpecialized, type BazaarSpecialized, type BazaarTotalFavorites, type BazaarWeekly, type BazaarWeeklyCustomers, type BazaarWeeklyIncome, type Bounty, type ChainId, type CompanyId, type CompanyTypeId, type CountryEnum, type DirtyBombId, type EducationId, type Faction, type FactionApplication, type FactionApplicationStatusEnum, type FactionApplicationsResponse, type FactionAttackResult, type FactionAttacksFullResponse, type FactionAttacksResponse, type FactionBalance, type FactionBalanceResponse, type FactionBasic, type FactionBasicResponse, type FactionBranchDetails, type FactionBranchId, type FactionBranchStateEnum, type FactionChain, FactionChainIdContext, type FactionChainReport, type FactionChainReportAttacker, type FactionChainReportAttackerAttacks, type FactionChainReportAttackerRespect, type FactionChainReportBonus, type FactionChainReportDetails, type FactionChainReportResponse, type FactionChainWarfare, type FactionChainsResponse, type FactionContributor, type FactionContributorsResponse, type FactionCrime, type FactionCrimeId, FactionCrimeIdContext, type FactionCrimeItemOutcomeEnum, type FactionCrimeResponse, type FactionCrimeReward, type FactionCrimeRewardItem, type FactionCrimeRewardPayout, type FactionCrimeSlot, type FactionCrimeStatusEnum, type FactionCrimeUser, type FactionCrimeUserItemOutcome, type FactionCrimeUserItemOutcomeEnum, type FactionCrimeUserOutcome, type FactionCrimesResponse, FactionEndpoint, type FactionHofResponse, type FactionHofStats, type FactionHofValues, type FactionId, FactionIdContext, type FactionLookupResponse, type FactionMember, type FactionMembersResponse, type FactionNews, type FactionNewsCategory, type FactionNewsResponse, type FactionOngoingChain, type FactionOngoingChainResponse, type FactionOrganizedCrimePayoutType, type FactionPact, type FactionPosition, type FactionPositionAbilityEnum, type FactionPositionsResponse, type FactionRacketsResponse, type FactionRaidReport, type FactionRaidReportAttacker, type FactionRaidReportFaction, type FactionRaidReportUser, type FactionRaidWar, FactionRaidWarIdContext, type FactionRaidWarParticipant, type FactionRaidWarReportResponse, type FactionRaidWarfare, type FactionRaidWarfareFaction, type FactionRaidsResponse, type FactionRank, type FactionRankEnum, type FactionRankedWar, type FactionRankedWarDetails, FactionRankedWarIdContext, type FactionRankedWarParticipant, type FactionRankedWarReportResponse, type FactionRankedWarResponse, type FactionRankedWarsCategoryEnum, type FactionResponse, type FactionSearch, type FactionSearchLeader, type FactionSearchResponse, type FactionSelectionName, type FactionStat, type FactionStatEnum, type FactionStatsResponse, type FactionTerritoriesOwnershipResponse, type FactionTerritoriesResponse, type FactionTerritory, type FactionTerritoryEnum, type FactionTerritoryOwnership, type FactionTerritoryWar, type FactionTerritoryWarFaction, type FactionTerritoryWarFactionWallPlayers, type FactionTerritoryWarFinished, type FactionTerritoryWarFinishedFaction, FactionTerritoryWarIdContext, type FactionTerritoryWarOngoing, type FactionTerritoryWarOngoingFaction, type FactionTerritoryWarParticipant, type FactionTerritoryWarReport, type FactionTerritoryWarReportFaction, type FactionTerritoryWarReportMembers, type FactionTerritoryWarReportResponse, type FactionTerritoryWarResultEnum, type FactionTerritoryWarfare, type FactionTerritoryWarsCategoryEnum, type FactionTerritoryWarsHistoryResponse, type FactionTerritoryWarsResponse, type FactionUpgradeDetails, type FactionUpgrades, type FactionUpgradesResponse, type FactionWarfareDirtyBomb, type FactionWarfareDirtyBombPlanter, type FactionWarfareDirtyBombTargetFaction, type FactionWarfareResponse, type FactionWarfareTypeEnum, type FactionWars, type FactionWarsResponse, type ForumCategoriesResponse, ForumCategoryIdsContext, ForumEndpoint, type ForumFeed, type ForumFeedTypeEnum, type ForumId, type ForumLookupResponse, type ForumPoll, type ForumPollVote, type ForumPost, type ForumPostId, type ForumPostsResponse, type ForumResponse, type ForumSelectionName, type ForumSubscribedThread, type ForumSubscribedThreadPostsCount, type ForumThreadAuthor, type ForumThreadBase, type ForumThreadExtended, type ForumThreadId, ForumThreadIdContext, type ForumThreadResponse, type ForumThreadUserExtended, type ForumThreadsResponse, type HofValue, type HofValueFloat, type HofValueString, type HonorId, type HonorRarityEnum, type HonorTypeEnum, type ItemId, type ItemMarket, type ItemMarketItem, type ItemMarketListingItemBonus, type ItemMarketListingItemDetails, type ItemMarketListingItemStats, type ItemMarketListingNonstackable, type ItemMarketListingStackable, type ItemModId, type ItemUid, type JobPositionArmyEnum, type JobPositionCasinoEnum, type JobPositionEducationEnum, type JobPositionGrocerEnum, type JobPositionLawEnum, type JobPositionMedicalEnum, type JobTypeEnum, KeyEndpoint, type KeyInfoAvailableLog, type KeyInfoResponse, type KeyLogResponse, type KeyResponse, type KeySelectionName, type LogCategoryId, type LogId, MarketEndpoint, MarketIdContext, type MarketItemMarketResponse, type MarketLookupResponse, type MarketPropertiesResponse, type MarketPropertyDetails, MarketPropertyTypeIdContext, type MarketRentalDetails, type MarketRentalsResponse, type MarketResponse, type MarketSelectionName, type MarketSpecializedBazaarCategoryEnum, type MedalId, type MedalTypeEnum, type MeritId, type OrganizedCrimeName, PaginatedResponse, type Parameters, type PersonalStatsAttackingExtended, type PersonalStatsAttackingPopular, type PersonalStatsAttackingPublic, type PersonalStatsBattleStats, type PersonalStatsBounties, type PersonalStatsCategoryEnum, type PersonalStatsCommunication, type PersonalStatsCrimes, type PersonalStatsCrimesPopular, type PersonalStatsCrimesV1, type PersonalStatsCrimesV2, type PersonalStatsDrugs, type PersonalStatsFinishingHits, type PersonalStatsHistoricStat, type PersonalStatsHospital, type PersonalStatsHospitalPopular, type PersonalStatsInvestments, type PersonalStatsItems, type PersonalStatsItemsPopular, type PersonalStatsJail, type PersonalStatsJobsExtended, type PersonalStatsJobsPublic, type PersonalStatsMissions, type PersonalStatsNetworthExtended, type PersonalStatsNetworthPublic, type PersonalStatsOther, type PersonalStatsOtherPopular, type PersonalStatsRacing, type PersonalStatsStatName, type PersonalStatsTrading, type PersonalStatsTravel, type PersonalStatsTravelPopular, type ProfileSpouse, PropertyEndpoint, type PropertyId, PropertyIdContext, type PropertyLookupResponse, type PropertyModificationEnum, type PropertyPropertyResponse, type PropertyResponse, type PropertySelectionName, type PropertyStaffEnum, type PropertyTypeId, type Race, type RaceCar, type RaceCarId, type RaceCarUpgrade, type RaceCarUpgradeCategory, type RaceCarUpgradeId, type RaceCarUpgradeSubCategory, type RaceClassEnum, type RaceId, type RaceRecord, type RaceStatusEnum, type RaceTrack, type RaceTrackId, type RacerDetails, type RacingCarUpgradesResponse, type RacingCarsResponse, RacingEndpoint, type RacingLookupResponse, type RacingRaceDetails, type RacingRaceDetailsResponse, RacingRaceIdContext, type RacingRaceTypeEnum, type RacingRacesResponse, type RacingResponse, type RacingSelectionName, RacingTrackIdContext, type RacingTrackRecordsResponse, type RacingTracksResponse, type RaidWarId, type RankedWarId, type RateLimitMode, type Report, type ReportAnonymousBounties, type ReportBase, type ReportCompanyFinancials, type ReportFriendOrFoe, type ReportFriendOrFoeUser, type ReportHistory, type ReportHistoryCompany, type ReportHistoryFaction, type ReportInvestment, type ReportMoney, type ReportMostWanted, type ReportReport, type ReportStats, type ReportStockAnalysis, type ReportTrueLevel, type ReportTypeEnum, type ReportWarrantDetails, type ReportsResponse, type RequestLinks, type RequestMetadata, type RequestMetadataWithLinks, type RequestMetadataWithLinksAndTotal, type Requester, type Revive, type ReviveId, type ReviveSetting, type ReviveSimplified, type RevivesFullResponse, type RevivesResponse, type SelectionCategoryEnum, type TerritoryWarId, type TimestampResponse, TornAPI, type TornAPIOptions, TornApiError, type TornBountiesResponse, type TornCalendarActivity, type TornCalendarResponse, type TornCrime, type TornCrimeId, TornCrimeIdContext, type TornCrimesResponse, type TornEducation, type TornEducationCourses, type TornEducationPrerequisites, type TornEducationResponse, type TornEducationRewards, TornEndpoint, type TornFactionHof, type TornFactionHofCategory, type TornFactionHofResponse, type TornFactionTree, type TornFactionTreeBranch, type TornFactionTreeResponse, type TornHof, type TornHofBasic, type TornHofCategory, type TornHofResponse, type TornHofWithOffenses, type TornHonor, type TornHonorsResponse, TornIdsContext, type TornItem, type TornItemAmmo, type TornItemAmmoResponse, type TornItemAmmoTypeEnum, type TornItemArmorCoverage, type TornItemArmorCoveragePartEnum, type TornItemArmorDetails, type TornItemBaseStats, type TornItemCategory, type TornItemMods, type TornItemModsResponse, type TornItemTypeEnum, type TornItemWeaponCategoryEnum, type TornItemWeaponDetails, type TornItemWeaponTypeEnum, type TornItemsResponse, type TornLog, type TornLogCategoriesResponse, type TornLogCategory, TornLogCategoryIdContext, type TornLogTypesResponse, type TornLookupResponse, type TornMedal, type TornMedalsResponse, type TornMerit, type TornMeritsResponse, type TornOrganizedCrime, type TornOrganizedCrimePositionId, type TornOrganizedCrimeRequiredItem, type TornOrganizedCrimeResponse, type TornOrganizedCrimeScope, type TornOrganizedCrimeSlot, type TornOrganizedCrimeSpawn, type TornProperties, type TornRacket, type TornRacketReward, type TornRacketType, TornRateLimitError, type TornResponse, type TornSelectionName, type TornSubcrime, type TornSubcrimesResponse, type TornTerritoriesNoLinksResponse, type TornTerritoriesResponse, type TornTerritory, type TornTerritoryCoordinates, type User, type UserBasic, type UserBasicResponse, type UserBattleStatDetail, type UserBattleStatModifierDetail, type UserBattleStatsResponse, type UserBountiesResponse, type UserCalendar, type UserCalendarResponse, type UserCompany, type UserCompanyPoints, type UserCompetitionEasterEggs, type UserCompetitionHalloween, type UserCompetitionResponse, type UserCompetitionRps, type UserCrime, type UserCrimeAttempts, type UserCrimeDetailsBootlegging, type UserCrimeDetailsCardSkimming, type UserCrimeDetailsCracking, type UserCrimeDetailsGraffiti, type UserCrimeDetailsHustling, type UserCrimeDetailsScamming, type UserCrimeDetailsShoplifting, UserCrimeIdContext, type UserCrimeRewardAmmo, type UserCrimeRewardItem, type UserCrimeRewards, type UserCrimeUniques, type UserCrimeUniquesReward, type UserCrimeUniquesRewardAmmo, type UserCrimeUniquesRewardAmmoEnum, type UserCrimeUniquesRewardMoney, type UserCrimesResponse, type UserCurrentEducation, type UserEducation, type UserEducationResponse, UserEndpoint, type UserEnlistedCarsResponse, type UserFaction, type UserFactionBalance, type UserFactionBalanceResponse, type UserFactionResponse, type UserForumFeedResponse, type UserForumFriendsResponse, type UserForumPostsResponse, type UserForumSubscribedThreadsResponse, type UserForumThreadsResponse, type UserGenderEnum, type UserHofResponse, type UserHofStats, type UserHonor, type UserHonorsResponse, type UserIconId, type UserIconPrivate, type UserIconPublic, type UserIconsResponse, type UserId, UserIdContext, type UserItemMarkeListingItemDetails, type UserItemMarketListing, type UserItemMarketResponse, type UserJob, type UserJobPointsResponse, type UserJobRanks, type UserJobRanksResponse, type UserJobResponse, type UserLastAction, type UserList, type UserListEnum, type UserListResponse, type UserLog, type UserLogId, type UserLogsResponse, type UserLookupResponse, type UserMaritalStatusEnum, type UserMedal, type UserMedalsResponse, type UserMeritUpgrade, type UserMerits, type UserMeritsResponse, type UserMoneyResponse, type UserOrganizedCrimeResponse, type UserPersonalStatsCategory, type UserPersonalStatsFull, type UserPersonalStatsFullPublic, type UserPersonalStatsHistoric, type UserPersonalStatsPopular, type UserPersonalStatsResponse, type UserProfileResponse, type UserPropertiesResponse, type UserPropertyBasicDetails, type UserPropertyDetails, type UserPropertyDetailsExtended, type UserPropertyDetailsExtendedForRent, type UserPropertyDetailsExtendedForSale, type UserPropertyDetailsExtendedRented, type UserPropertyDetailsExtendedWithRent, type UserPropertyResponse, type UserRaceCarDetails, type UserRacesResponse, type UserRacingRecordsResponse, type UserRankEnum, type UserResponse, type UserRoleEnum, type UserRpsStatus, type UserSelectionName, type UserSkillDetail, type UserSkillSlugEnum, type UserSkillsResponse, type UserStatus, type UserSubcrime, type UserTitleEnum, type UserWorkStatsResponse, type WeaponBonusEnum };
|