torn-client 0.3.9 → 0.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.mts +275 -18
- package/dist/index.d.ts +275 -18
- 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.ts
CHANGED
|
@@ -160,13 +160,7 @@ type AttackPlayer = {
|
|
|
160
160
|
id: UserId;
|
|
161
161
|
name: string;
|
|
162
162
|
level: number;
|
|
163
|
-
faction:
|
|
164
|
-
};
|
|
165
|
-
|
|
166
|
-
/** @category Models */
|
|
167
|
-
type AttackPlayerFaction = {
|
|
168
|
-
id: FactionId;
|
|
169
|
-
name: string;
|
|
163
|
+
faction: UserFactionBasic | null;
|
|
170
164
|
};
|
|
171
165
|
|
|
172
166
|
/** @category Models */
|
|
@@ -1186,7 +1180,7 @@ type FactionStat = {
|
|
|
1186
1180
|
};
|
|
1187
1181
|
|
|
1188
1182
|
/** @category Models */
|
|
1189
|
-
type FactionStatEnum = "medicalitemsused" | "criminaloffences" | "organisedcrimerespect" | "organisedcrimemoney" | "organisedcrimesuccess" | "organisedcrimefail" | "attackswon" | "attackslost" | "attackschain" | "attacksleave" | "attacksmug" | "attackshosp" | "bestchain" | "busts" | "revives" | "jails" | "hosps" | "medicalitemrecovery" | "medicalcooldownused" | "gymtrains" | "gymstrength" | "gymspeed" | "gymenergy" | "gymdefense" | "gymdexterity" | "candyused" | "alcoholused" | "energydrinkused" | "drugsused" | "drugoverdoses" | "rehabs" | "caymaninterest" | "traveltimes" | "traveltime" | "hunting" | "attacksdamagehits" | "attacksdamage" | "hosptimegiven" | "hosptimereceived" | "attacksdamaging" | "attacksrunaway" | "highestterritories" | "territoryrespect"
|
|
1183
|
+
type FactionStatEnum = "medicalitemsused" | "criminaloffences" | "organisedcrimerespect" | "organisedcrimemoney" | "organisedcrimesuccess" | "organisedcrimefail" | "attackswon" | "attackslost" | "attackschain" | "attacksleave" | "attacksmug" | "attackshosp" | "bestchain" | "busts" | "revives" | "jails" | "hosps" | "medicalitemrecovery" | "medicalcooldownused" | "gymtrains" | "gymstrength" | "gymspeed" | "gymenergy" | "gymdefense" | "gymdexterity" | "candyused" | "alcoholused" | "energydrinkused" | "drugsused" | "drugoverdoses" | "rehabs" | "caymaninterest" | "traveltimes" | "traveltime" | "hunting" | "attacksdamagehits" | "attacksdamage" | "hosptimegiven" | "hosptimereceived" | "attacksdamaging" | "attacksrunaway" | "highestterritories" | "territoryrespect";
|
|
1190
1184
|
|
|
1191
1185
|
/** @category Models */
|
|
1192
1186
|
type FactionStatsResponse = {
|
|
@@ -2937,6 +2931,9 @@ type RevivesResponse = {
|
|
|
2937
2931
|
/** @category Models */
|
|
2938
2932
|
type SelectionCategoryEnum = ReportTypeEnum | UserListEnum | PersonalStatsCategoryEnum | RacingRaceTypeEnum;
|
|
2939
2933
|
|
|
2934
|
+
/** @category Models */
|
|
2935
|
+
type StockId = number;
|
|
2936
|
+
|
|
2940
2937
|
/** @category Models */
|
|
2941
2938
|
type TerritoryWarId = number;
|
|
2942
2939
|
|
|
@@ -3376,7 +3373,7 @@ type TornOrganizedCrimePositionId = "P1" | "P2" | "P3" | "P4" | "P5" | "P6";
|
|
|
3376
3373
|
* This field is now available in 'position_info' object as 'id' field.<br>This field will be removed on 1st of June 2026.
|
|
3377
3374
|
* @category Models
|
|
3378
3375
|
*/
|
|
3379
|
-
type TornOrganizedCrimePositionIdDeprecated =
|
|
3376
|
+
type TornOrganizedCrimePositionIdDeprecated = "P1" | "P2" | "P3" | "P4" | "P5" | "P6";
|
|
3380
3377
|
|
|
3381
3378
|
/** @category Models */
|
|
3382
3379
|
type TornOrganizedCrimeRequiredItem = {
|
|
@@ -3444,10 +3441,75 @@ type TornRacketReward = {
|
|
|
3444
3441
|
type TornRacketType = "Item" | "Points" | "Money";
|
|
3445
3442
|
|
|
3446
3443
|
/** @category Models */
|
|
3447
|
-
type TornResponse = TornSubcrimesResponse | TornCrimesResponse | TornCalendarResponse | TornHofResponse | TornFactionHofResponse | TornLogTypesResponse | TornItemsResponse | TornLogCategoriesResponse | TornEducationResponse | TornMeritsResponse | TornOrganizedCrimeResponse | TornHonorsResponse | TornItemDetailsResponse | TornEliminationTeamsResponse | TornEliminationTeamPlayersResponse | TornMedalsResponse | TornBountiesResponse | TornItemAmmoResponse | TornProperties | TornFactionTreeResponse | AttackLogResponse | TornTerritoriesResponse | TornTerritoriesNoLinksResponse | TornItemModsResponse | TornLookupResponse | TimestampResponse;
|
|
3444
|
+
type TornResponse = TornSubcrimesResponse | TornCrimesResponse | TornCalendarResponse | TornHofResponse | TornFactionHofResponse | TornLogTypesResponse | TornItemsResponse | TornLogCategoriesResponse | TornEducationResponse | TornMeritsResponse | TornOrganizedCrimeResponse | TornHonorsResponse | TornItemDetailsResponse | TornEliminationTeamsResponse | TornEliminationTeamPlayersResponse | TornMedalsResponse | TornBountiesResponse | TornItemAmmoResponse | TornProperties | TornFactionTreeResponse | AttackLogResponse | TornStockDetailedResponse | TornStocksResponse | TornTerritoriesResponse | TornTerritoriesNoLinksResponse | TornItemModsResponse | TornLookupResponse | TimestampResponse;
|
|
3445
|
+
|
|
3446
|
+
/** @category Models */
|
|
3447
|
+
type TornSelectionName = "attacklog" | "bounties" | "calendar" | "crimes" | "education" | "elimination" | "eliminationteam" | "factionhof" | "factiontree" | "hof" | "honors" | "itemammo" | "itemmods" | "items" | "logcategories" | "logtypes" | "lookup" | "medals" | "merits" | "organizedcrimes" | "properties" | "stocks" | "subcrimes" | "territory" | "timestamp" | "bank" | "cards" | "cityshops" | "companies" | "competition" | "gyms" | "itemdetails" | "itemstats" | "organisedcrimes" | "pawnshop" | "pokertables" | "rockpaperscissors" | "searchforcash" | "shoplifting" | "stats" | string;
|
|
3448
|
+
|
|
3449
|
+
/** @category Models */
|
|
3450
|
+
type TornStock = {
|
|
3451
|
+
id: StockId;
|
|
3452
|
+
name: string;
|
|
3453
|
+
acronym: string;
|
|
3454
|
+
images: {
|
|
3455
|
+
logo: string;
|
|
3456
|
+
full: string;
|
|
3457
|
+
};
|
|
3458
|
+
market: {
|
|
3459
|
+
price: number;
|
|
3460
|
+
cap: number;
|
|
3461
|
+
shares: number;
|
|
3462
|
+
investors: number;
|
|
3463
|
+
};
|
|
3464
|
+
bonus: {
|
|
3465
|
+
passive: boolean;
|
|
3466
|
+
frequency: number;
|
|
3467
|
+
requirement: number;
|
|
3468
|
+
description: string;
|
|
3469
|
+
};
|
|
3470
|
+
};
|
|
3471
|
+
|
|
3472
|
+
/** @category Models */
|
|
3473
|
+
type TornStockDetailed = TornStock & {
|
|
3474
|
+
chart: {
|
|
3475
|
+
performance: {
|
|
3476
|
+
last_hour: TornStockPerformance;
|
|
3477
|
+
last_day: TornStockPerformance;
|
|
3478
|
+
last_week: TornStockPerformance;
|
|
3479
|
+
last_month: TornStockPerformance;
|
|
3480
|
+
last_year: TornStockPerformance;
|
|
3481
|
+
all_time: TornStockPerformance;
|
|
3482
|
+
};
|
|
3483
|
+
history: TornStockHistory[];
|
|
3484
|
+
};
|
|
3485
|
+
};
|
|
3486
|
+
|
|
3487
|
+
/** @category Models */
|
|
3488
|
+
type TornStockDetailedResponse = {
|
|
3489
|
+
stocks: TornStockDetailed;
|
|
3490
|
+
};
|
|
3448
3491
|
|
|
3449
3492
|
/** @category Models */
|
|
3450
|
-
type
|
|
3493
|
+
type TornStockHistory = {
|
|
3494
|
+
price: number;
|
|
3495
|
+
change: number;
|
|
3496
|
+
timestamp: number;
|
|
3497
|
+
};
|
|
3498
|
+
|
|
3499
|
+
/** @category Models */
|
|
3500
|
+
type TornStockPerformance = {
|
|
3501
|
+
change: number;
|
|
3502
|
+
change_percentage: number;
|
|
3503
|
+
start: number;
|
|
3504
|
+
end: number;
|
|
3505
|
+
high: number;
|
|
3506
|
+
low: number;
|
|
3507
|
+
};
|
|
3508
|
+
|
|
3509
|
+
/** @category Models */
|
|
3510
|
+
type TornStocksResponse = {
|
|
3511
|
+
stocks: TornStock[];
|
|
3512
|
+
};
|
|
3451
3513
|
|
|
3452
3514
|
/** @category Models */
|
|
3453
3515
|
type TornSubcrime = {
|
|
@@ -3490,6 +3552,77 @@ type TornTerritoryCoordinates = {
|
|
|
3490
3552
|
y: number;
|
|
3491
3553
|
};
|
|
3492
3554
|
|
|
3555
|
+
/** @category Models */
|
|
3556
|
+
type TradeCategoryEnum = "finished" | "ongoing";
|
|
3557
|
+
|
|
3558
|
+
/** @category Models */
|
|
3559
|
+
type TradeId = number;
|
|
3560
|
+
|
|
3561
|
+
/** @category Models */
|
|
3562
|
+
type TradeItem = TradeItemMoney | TradeItemItem | TradeItemFaction | TradeItemCompany | TradeItemProperty | TradeItemNap;
|
|
3563
|
+
|
|
3564
|
+
/** @category Models */
|
|
3565
|
+
type TradeItemCompany = {
|
|
3566
|
+
user_id: UserId;
|
|
3567
|
+
type: "Company";
|
|
3568
|
+
details: {
|
|
3569
|
+
id: CompanyId;
|
|
3570
|
+
name: string;
|
|
3571
|
+
value: number;
|
|
3572
|
+
};
|
|
3573
|
+
};
|
|
3574
|
+
|
|
3575
|
+
/** @category Models */
|
|
3576
|
+
type TradeItemFaction = {
|
|
3577
|
+
user_id: UserId;
|
|
3578
|
+
type: "Faction";
|
|
3579
|
+
details: {
|
|
3580
|
+
id: FactionId;
|
|
3581
|
+
name: string;
|
|
3582
|
+
respect: number;
|
|
3583
|
+
};
|
|
3584
|
+
};
|
|
3585
|
+
|
|
3586
|
+
/** @category Models */
|
|
3587
|
+
type TradeItemItem = {
|
|
3588
|
+
user_id: UserId;
|
|
3589
|
+
type: "Item";
|
|
3590
|
+
details: {
|
|
3591
|
+
id: ItemId;
|
|
3592
|
+
uid: ItemUid | null;
|
|
3593
|
+
amount: number;
|
|
3594
|
+
};
|
|
3595
|
+
};
|
|
3596
|
+
|
|
3597
|
+
/** @category Models */
|
|
3598
|
+
type TradeItemMoney = {
|
|
3599
|
+
user_id: UserId;
|
|
3600
|
+
type: "Money";
|
|
3601
|
+
details: {
|
|
3602
|
+
amount: number;
|
|
3603
|
+
};
|
|
3604
|
+
};
|
|
3605
|
+
|
|
3606
|
+
/** @category Models */
|
|
3607
|
+
type TradeItemNap = {
|
|
3608
|
+
user_id: UserId;
|
|
3609
|
+
type: "NAP";
|
|
3610
|
+
details: {
|
|
3611
|
+
days: number;
|
|
3612
|
+
factions: UserFactionBasic[];
|
|
3613
|
+
};
|
|
3614
|
+
};
|
|
3615
|
+
|
|
3616
|
+
/** @category Models */
|
|
3617
|
+
type TradeItemProperty = {
|
|
3618
|
+
user_id: UserId;
|
|
3619
|
+
type: "Property";
|
|
3620
|
+
details: {
|
|
3621
|
+
id: PropertyId;
|
|
3622
|
+
happiness: number;
|
|
3623
|
+
};
|
|
3624
|
+
};
|
|
3625
|
+
|
|
3493
3626
|
/** @category Models */
|
|
3494
3627
|
type User = {
|
|
3495
3628
|
rank?: string;
|
|
@@ -4002,6 +4135,12 @@ type UserFactionBalanceResponse = {
|
|
|
4002
4135
|
factionBalance: UserFactionBalance | null;
|
|
4003
4136
|
};
|
|
4004
4137
|
|
|
4138
|
+
/** @category Models */
|
|
4139
|
+
type UserFactionBasic = {
|
|
4140
|
+
id: FactionId;
|
|
4141
|
+
name: string;
|
|
4142
|
+
};
|
|
4143
|
+
|
|
4005
4144
|
/** @category Models */
|
|
4006
4145
|
type UserFactionResponse = {
|
|
4007
4146
|
faction: UserFaction | null;
|
|
@@ -4372,7 +4511,7 @@ type UserOrganizedCrimeResponse = {
|
|
|
4372
4511
|
|
|
4373
4512
|
/** @category Models */
|
|
4374
4513
|
type UserOrganizedCrimesResponse = {
|
|
4375
|
-
organizedcrimes
|
|
4514
|
+
organizedcrimes: FactionCrime[];
|
|
4376
4515
|
_metadata: RequestMetadataWithLinks;
|
|
4377
4516
|
};
|
|
4378
4517
|
|
|
@@ -4578,7 +4717,7 @@ type UserRefillsResponse = {
|
|
|
4578
4717
|
};
|
|
4579
4718
|
|
|
4580
4719
|
/** @category Models */
|
|
4581
|
-
type UserResponse = UserCrimesResponse | UserWeaponExpResponse | UserAmmoResponse | UserDiscordResponse | UserRacesResponse | UserEnlistedCarsResponse | UserForumPostsResponse | UserForumThreadsResponse | UserForumSubscribedThreadsResponse | UserForumFeedResponse | UserForumFriendsResponse | UserPropertyResponse | ReportsResponse | UserHofResponse | UserCalendarResponse | UserRacingRecordsResponse | UserEducationResponse | UserBountiesResponse | UserJobRanksResponse | UserPropertiesResponse | UserFactionBalanceResponse | UserBasicResponse | RevivesResponse | UserHonorsResponse | UserMedalsResponse | UserMeritsResponse | RevivesFullResponse | UserProfileResponse | UserJobResponse | UserFactionResponse | UserCompetitionResponse | UserIconsResponse | UserItemMarketResponse | UserListResponse | UserEquipmentResponse | UserMissionsResponse | UserPersonalStatsResponse | UserOrganizedCrimeResponse | AttacksResponse | UserBarsResponse | UserCooldownsResponse | UserNotificationsResponse | UserRefillsResponse | UserTravelResponse | UserVirusResponse | AttacksFullResponse | UserMoneyResponse | UserJobPointsResponse | UserWorkStatsResponse | UserSkillsResponse | UserBattleStatsResponse | UserNewEventsResponse | UserEventsResponse | UserMessagesResponse | UserNewMessagesResponse | UserLookupResponse | TimestampResponse;
|
|
4720
|
+
type UserResponse = UserCrimesResponse | UserWeaponExpResponse | UserAmmoResponse | UserDiscordResponse | UserRacesResponse | UserEnlistedCarsResponse | UserForumPostsResponse | UserForumThreadsResponse | UserForumSubscribedThreadsResponse | UserForumFeedResponse | UserForumFriendsResponse | UserPropertyResponse | ReportsResponse | UserHofResponse | UserCalendarResponse | UserRacingRecordsResponse | UserEducationResponse | UserStocksResponse | UserBountiesResponse | UserJobRanksResponse | UserPropertiesResponse | UserFactionBalanceResponse | UserBasicResponse | RevivesResponse | UserHonorsResponse | UserMedalsResponse | UserMeritsResponse | RevivesFullResponse | UserProfileResponse | UserJobResponse | UserFactionResponse | UserCompetitionResponse | UserIconsResponse | UserItemMarketResponse | UserListResponse | UserEquipmentResponse | UserMissionsResponse | UserPersonalStatsResponse | UserOrganizedCrimeResponse | AttacksResponse | UserBarsResponse | UserCooldownsResponse | UserNotificationsResponse | UserRefillsResponse | UserTravelResponse | UserVirusResponse | AttacksFullResponse | UserMoneyResponse | UserJobPointsResponse | UserWorkStatsResponse | UserSkillsResponse | UserBattleStatsResponse | UserTradeResponse | UserTradesResponse | UserNewEventsResponse | UserEventsResponse | UserMessagesResponse | UserNewMessagesResponse | UserLookupResponse | TimestampResponse;
|
|
4582
4721
|
|
|
4583
4722
|
/** @category Models */
|
|
4584
4723
|
type UserRoleEnum = "Admin" | "Officer" | "Moderator" | "Helper" | "Tester" | "NPC" | "Committee" | "Reporter" | "Wiki Contributor" | "Wiki Editor" | "Civilian";
|
|
@@ -4587,7 +4726,7 @@ type UserRoleEnum = "Admin" | "Officer" | "Moderator" | "Helper" | "Tester" | "N
|
|
|
4587
4726
|
type UserRpsStatus = "scissors" | "rock" | "paper";
|
|
4588
4727
|
|
|
4589
4728
|
/** @category Models */
|
|
4590
|
-
type UserSelectionName = "ammo" | "attacks" | "attacksfull" | "bars" | "basic" | "battlestats" | "bounties" | "calendar" | "competition" | "cooldowns" | "crimes" | "discord" | "enlistedcars" | "equipment" | "events" | "faction" | "factionbalance" | "forumfeed" | "forumfriends" | "forumposts" | "forumsubscribedthreads" | "forumthreads" | "hof" | "honors" | "icons" | "itemmarket" | "job" | "jobpoints" | "jobranks" | "list" | "log" | "lookup" | "medals" | "merits" | "messages" | "missions" | "money" | "newevents" | "newmessages" | "notifications" | "organizedcrime" | "personalstats" | "profile" | "properties" | "property" | "races" | "racingrecords" | "refills" | "reports" | "revives" | "revivesfull" | "skills" | "
|
|
4729
|
+
type UserSelectionName = "ammo" | "attacks" | "attacksfull" | "bars" | "basic" | "battlestats" | "bounties" | "calendar" | "competition" | "cooldowns" | "crimes" | "discord" | "enlistedcars" | "equipment" | "events" | "faction" | "factionbalance" | "forumfeed" | "forumfriends" | "forumposts" | "forumsubscribedthreads" | "forumthreads" | "hof" | "honors" | "icons" | "itemmarket" | "job" | "jobpoints" | "jobranks" | "list" | "log" | "lookup" | "medals" | "merits" | "messages" | "missions" | "money" | "newevents" | "newmessages" | "notifications" | "organizedcrime" | "personalstats" | "profile" | "properties" | "property" | "races" | "racingrecords" | "refills" | "reports" | "revives" | "revivesfull" | "skills" | "stocks" | "trades" | "trade" | "travel" | "timestamp" | "weaponexp" | "workstats" | "bazaar" | "criminalrecord" | "display" | "education" | "gym" | "inventory" | "networth" | "perks" | string;
|
|
4591
4730
|
|
|
4592
4731
|
/** @category Models */
|
|
4593
4732
|
type UserSkillDetail = {
|
|
@@ -4620,6 +4759,32 @@ type UserStatus = {
|
|
|
4620
4759
|
/** @category Models */
|
|
4621
4760
|
type UserStatusStateEnum = "Abroad" | "Awoken" | "Dormant" | "Fallen" | "Federal" | "Hospital" | "Jail" | "Okay" | "Traveling";
|
|
4622
4761
|
|
|
4762
|
+
/** @category Models */
|
|
4763
|
+
type UserStock = {
|
|
4764
|
+
id: StockId;
|
|
4765
|
+
shares: number;
|
|
4766
|
+
transactions: UserStockTransaction[];
|
|
4767
|
+
bonus: {
|
|
4768
|
+
available: boolean;
|
|
4769
|
+
increment: number;
|
|
4770
|
+
progress: number;
|
|
4771
|
+
frequency: number;
|
|
4772
|
+
};
|
|
4773
|
+
};
|
|
4774
|
+
|
|
4775
|
+
/** @category Models */
|
|
4776
|
+
type UserStocksResponse = {
|
|
4777
|
+
stocks: UserStock[];
|
|
4778
|
+
};
|
|
4779
|
+
|
|
4780
|
+
/** @category Models */
|
|
4781
|
+
type UserStockTransaction = {
|
|
4782
|
+
id: number;
|
|
4783
|
+
shares: number;
|
|
4784
|
+
price: number;
|
|
4785
|
+
timestamp: number;
|
|
4786
|
+
};
|
|
4787
|
+
|
|
4623
4788
|
/** @category Models */
|
|
4624
4789
|
type UserSubcrime = {
|
|
4625
4790
|
id: number;
|
|
@@ -4631,6 +4796,36 @@ type UserSubcrime = {
|
|
|
4631
4796
|
/** @category Models */
|
|
4632
4797
|
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" | "Newcomer" | "Deserter" | "Citizen";
|
|
4633
4798
|
|
|
4799
|
+
/** @category Models */
|
|
4800
|
+
type UserTrade = {
|
|
4801
|
+
id: TradeId;
|
|
4802
|
+
timestamp: number;
|
|
4803
|
+
user: UserTradeParticipant;
|
|
4804
|
+
trader: UserTradeParticipant;
|
|
4805
|
+
};
|
|
4806
|
+
|
|
4807
|
+
/** @category Models */
|
|
4808
|
+
type UserTradeDetailed = UserTrade & {
|
|
4809
|
+
items: TradeItem[];
|
|
4810
|
+
};
|
|
4811
|
+
|
|
4812
|
+
/** @category Models */
|
|
4813
|
+
type UserTradeParticipant = {
|
|
4814
|
+
id: UserId;
|
|
4815
|
+
name: string;
|
|
4816
|
+
};
|
|
4817
|
+
|
|
4818
|
+
/** @category Models */
|
|
4819
|
+
type UserTradeResponse = {
|
|
4820
|
+
trade: UserTradeDetailed;
|
|
4821
|
+
};
|
|
4822
|
+
|
|
4823
|
+
/** @category Models */
|
|
4824
|
+
type UserTradesResponse = {
|
|
4825
|
+
trades: UserTrade[];
|
|
4826
|
+
_metadata: RequestMetadataWithLinks;
|
|
4827
|
+
};
|
|
4828
|
+
|
|
4634
4829
|
/** @category Models */
|
|
4635
4830
|
type UserTravelResponse = {
|
|
4636
4831
|
travel: {
|
|
@@ -5770,6 +5965,13 @@ declare class TornEndpoint {
|
|
|
5770
5965
|
properties(params?: {
|
|
5771
5966
|
timestamp?: string;
|
|
5772
5967
|
}): Promise<TornProperties>;
|
|
5968
|
+
/**
|
|
5969
|
+
* Get all stocks
|
|
5970
|
+
* @param params - Optional query parameters
|
|
5971
|
+
*/
|
|
5972
|
+
stocks(params?: {
|
|
5973
|
+
timestamp?: string;
|
|
5974
|
+
}): Promise<TornStocksResponse>;
|
|
5773
5975
|
/**
|
|
5774
5976
|
* Get territory details
|
|
5775
5977
|
* @param params - Optional query parameters
|
|
@@ -5800,7 +6002,7 @@ declare class TornEndpoint {
|
|
|
5800
6002
|
*/
|
|
5801
6003
|
get(params?: {
|
|
5802
6004
|
selections?: TornSelectionName[];
|
|
5803
|
-
id?: LogCategoryId | TornCrimeId | EliminationTeamId | ItemUid | ItemId[] | MedalId[] | HonorId[] | FactionTerritoryEnum[];
|
|
6005
|
+
id?: LogCategoryId | TornCrimeId | StockId | EliminationTeamId | ItemUid | ItemId[] | MedalId[] | HonorId[] | FactionTerritoryEnum[];
|
|
5804
6006
|
legacy?: TornSelectionName[];
|
|
5805
6007
|
striptags?: "true" | "false";
|
|
5806
6008
|
limit?: number;
|
|
@@ -5817,6 +6019,8 @@ declare class TornEndpoint {
|
|
|
5817
6019
|
withIds(ids: string | number): TornIdsContext;
|
|
5818
6020
|
/** @param logCategoryId - The ID for this context */
|
|
5819
6021
|
withLogCategoryId(logCategoryId: string | number): TornLogCategoryIdContext;
|
|
6022
|
+
/** @param stockId - The ID for this context */
|
|
6023
|
+
withStockId(stockId: string | number): TornStockIdContext;
|
|
5820
6024
|
/** @param crimeId - The ID for this context */
|
|
5821
6025
|
withCrimeId(crimeId: string | number): TornCrimeIdContext;
|
|
5822
6026
|
}
|
|
@@ -5892,6 +6096,22 @@ declare class TornLogCategoryIdContext {
|
|
|
5892
6096
|
timestamp?: string;
|
|
5893
6097
|
}): Promise<TornLogTypesResponse>;
|
|
5894
6098
|
}
|
|
6099
|
+
/**
|
|
6100
|
+
* Context class for Torn API endpoints that require a "stockId"
|
|
6101
|
+
* @category Endpoints
|
|
6102
|
+
*/
|
|
6103
|
+
declare class TornStockIdContext {
|
|
6104
|
+
private readonly requester;
|
|
6105
|
+
private readonly contextId;
|
|
6106
|
+
constructor(requester: Requester, contextId: string | number);
|
|
6107
|
+
/**
|
|
6108
|
+
* Get specific stock with chart history
|
|
6109
|
+
* @param params - Optional query parameters
|
|
6110
|
+
*/
|
|
6111
|
+
stocks(params?: {
|
|
6112
|
+
timestamp?: string;
|
|
6113
|
+
}): Promise<TornStockDetailedResponse>;
|
|
6114
|
+
}
|
|
5895
6115
|
/**
|
|
5896
6116
|
* Context class for Torn API endpoints that require a "crimeId"
|
|
5897
6117
|
* @category Endpoints
|
|
@@ -6342,6 +6562,25 @@ declare class UserEndpoint {
|
|
|
6342
6562
|
skills(params?: {
|
|
6343
6563
|
timestamp?: string;
|
|
6344
6564
|
}): Promise<UserSkillsResponse>;
|
|
6565
|
+
/**
|
|
6566
|
+
* Get your stocks
|
|
6567
|
+
* @param params - Optional query parameters
|
|
6568
|
+
*/
|
|
6569
|
+
stocks(params?: {
|
|
6570
|
+
timestamp?: string;
|
|
6571
|
+
}): Promise<UserStocksResponse>;
|
|
6572
|
+
/**
|
|
6573
|
+
* Get your trades
|
|
6574
|
+
* @param params - Optional query parameters
|
|
6575
|
+
*/
|
|
6576
|
+
trades(params?: {
|
|
6577
|
+
cat?: TradeCategoryEnum;
|
|
6578
|
+
limit?: number;
|
|
6579
|
+
sort?: "DESC" | "ASC";
|
|
6580
|
+
to?: number;
|
|
6581
|
+
from?: number;
|
|
6582
|
+
timestamp?: string;
|
|
6583
|
+
}): Promise<PaginatedResponse<UserTradesResponse> & UserTradesResponse>;
|
|
6345
6584
|
/**
|
|
6346
6585
|
* Get your travel information
|
|
6347
6586
|
* @param params - Optional query parameters
|
|
@@ -6390,13 +6629,13 @@ declare class UserEndpoint {
|
|
|
6390
6629
|
*/
|
|
6391
6630
|
get(params?: {
|
|
6392
6631
|
selections?: UserSelectionName[];
|
|
6393
|
-
id?: UserDiscordPathId | TornCrimeId | string;
|
|
6632
|
+
id?: UserDiscordPathId | TornCrimeId | TradeId | string;
|
|
6394
6633
|
legacy?: UserSelectionName[];
|
|
6395
6634
|
limit?: number;
|
|
6396
6635
|
from?: number;
|
|
6397
6636
|
to?: number;
|
|
6398
6637
|
sort?: "DESC" | "ASC";
|
|
6399
|
-
cat?: ReportTypeEnum | UserListEnum | PersonalStatsCategoryEnum | RacingRaceTypeEnum;
|
|
6638
|
+
cat?: ReportTypeEnum | UserListEnum | PersonalStatsCategoryEnum | RacingRaceTypeEnum | TradeCategoryEnum;
|
|
6400
6639
|
stat?: PersonalStatsStatName[];
|
|
6401
6640
|
filters?: "incoming" | "outgoing" | "ownedByUser" | "ownedBySpouse";
|
|
6402
6641
|
striptags?: "true" | "false";
|
|
@@ -6407,6 +6646,8 @@ declare class UserEndpoint {
|
|
|
6407
6646
|
withId(id: string | number): UserIdContext;
|
|
6408
6647
|
/** @param crimeId - The ID for this context */
|
|
6409
6648
|
withCrimeId(crimeId: string | number): UserCrimeIdContext;
|
|
6649
|
+
/** @param tradeId - The ID for this context */
|
|
6650
|
+
withTradeId(tradeId: string | number): UserTradeIdContext;
|
|
6410
6651
|
}
|
|
6411
6652
|
/**
|
|
6412
6653
|
* Context class for User API endpoints that require a "id"
|
|
@@ -6549,6 +6790,22 @@ declare class UserCrimeIdContext {
|
|
|
6549
6790
|
timestamp?: string;
|
|
6550
6791
|
}): Promise<UserCrimesResponse>;
|
|
6551
6792
|
}
|
|
6793
|
+
/**
|
|
6794
|
+
* Context class for User API endpoints that require a "tradeId"
|
|
6795
|
+
* @category Endpoints
|
|
6796
|
+
*/
|
|
6797
|
+
declare class UserTradeIdContext {
|
|
6798
|
+
private readonly requester;
|
|
6799
|
+
private readonly contextId;
|
|
6800
|
+
constructor(requester: Requester, contextId: string | number);
|
|
6801
|
+
/**
|
|
6802
|
+
* Get your detailed trade
|
|
6803
|
+
* @param params - Optional query parameters
|
|
6804
|
+
*/
|
|
6805
|
+
trade(params?: {
|
|
6806
|
+
timestamp?: string;
|
|
6807
|
+
}): Promise<UserTradeResponse>;
|
|
6808
|
+
}
|
|
6552
6809
|
|
|
6553
6810
|
/**
|
|
6554
6811
|
* Defines the configuration options for the RequestHandler
|
|
@@ -6689,4 +6946,4 @@ declare class TornRateLimitError extends Error {
|
|
|
6689
6946
|
constructor(message: string);
|
|
6690
6947
|
}
|
|
6691
6948
|
|
|
6692
|
-
export { type AmmoId, type ApiError, type ApiFiltersAttacksRevivesEnum, 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 AttacksFullResponse, type AttacksResponse, type AuctionHouseListing, type AuctionHouseResponse, type AuctionHouseStackableItem, type AuctionListingId, type AwardCrimesVersionEnum, 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 DiscordId, type EducationId, type EliminationTeamId, type ErrorAccessLevelTooLow, type ErrorApiDisabled, type ErrorApiKeyPaused, type ErrorBackendError, type ErrorCategorySelectionUnavailableForInteractionLogs, type ErrorClosedTemporarily, type ErrorDailyReadLimitReached, type ErrorIncorrectCategory, type ErrorIncorrectId, type ErrorIncorrectIdEntityRelation, type ErrorIncorrectKey, type ErrorIncorrectLogId, type ErrorInvalidStatRequested, type ErrorIpBlocked, type ErrorKeyChangeCooldown, type ErrorKeyEmpty, type ErrorKeyOwnerInFederalJail, type ErrorKeyReadError, type ErrorKeyTemporaryDisabled, type ErrorLogUnavailable, type ErrorMustMigrateToCrimesV2, type ErrorMustMigrateToOrganizedCrimesV2, type ErrorOnlyAvailableInApiV1, type ErrorOnlyAvailableInApiV2, type ErrorOnlyCategoryOrStatsAllowed, type ErrorRaceNotFinished, type ErrorTooManyRequests, type ErrorUnknown, type ErrorWrongFields, type ErrorWrongType, type Faction, type FactionApplication, type FactionApplicationStatusEnum, type FactionApplicationsResponse, type FactionAttackResult, 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 FactionSlotPositionInfo, 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 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 MissionDifficultyEnum, type MissionRewardDetailsAmmo, type MissionRewardDetailsItem, type MissionRewardDetailsUpgrade, type MissionRewardUpgrade, type MissionStatusEnum, 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, type TornEliminationTeam, type TornEliminationTeamLeader, type TornEliminationTeamPlayer, type TornEliminationTeamPlayersResponse, type TornEliminationTeamsResponse, 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, TornIdContext, TornIdsContext, type TornItem, type TornItemAmmo, type TornItemAmmoResponse, type TornItemAmmoTypeEnum, type TornItemArmorCoverage, type TornItemArmorCoveragePartEnum, type TornItemArmorDetails, type TornItemBaseStats, type TornItemCategory, type TornItemDetails, type TornItemDetailsResponse, 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 TornOrganizedCrimePositionIdDeprecated, 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 UserAmmo, type UserAmmoResponse, type UserAmmoType, type UserBar, type UserBars, type UserBarsResponse, type UserBasic, type UserBasicResponse, type UserBattleStatDetail, type UserBattleStatModifierDetail, type UserBattleStatsResponse, type UserBountiesResponse, type UserCalendar, type UserCalendarResponse, type UserClothing, type UserCompany, type UserCompanyPoints, type UserCompetitionEasterEggs, type UserCompetitionElimination, type UserCompetitionHalloween, type UserCompetitionResponse, type UserCompetitionRps, type UserCooldownsResponse, 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 UserDiscordPathId, type UserDiscordResponse, type UserDonatorStatusEnum, type UserEducation, type UserEducationResponse, UserEndpoint, type UserEnlistedCarsResponse, type UserEquipment, type UserEquipmentResponse, type UserEvent, type UserEventId, type UserEventsResponse, type UserFaction, type UserFactionBalance, type UserFactionBalanceResponse, type UserFactionResponse, type UserFlyMethodEnum, 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 UserLastActionStatusEnum, 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 UserMessage, type UserMessageId, type UserMessageTypeEnum, type UserMessagesResponse, type UserMissionsResponse, type UserMoneyResponse, type UserNewEventsResponse, type UserNewMessagesResponse, type UserNotificationsResponse, type UserOrganizedCrimeError, type UserOrganizedCrimeResponse, type UserOrganizedCrimesResponse, type UserPersonalStatsCategory, type UserPersonalStatsFull, type UserPersonalStatsFullPublic, type UserPersonalStatsHistoric, type UserPersonalStatsPopular, type UserPersonalStatsResponse, type UserPlaneImageTypeEnum, type UserProfileResponse, type UserPropertiesResponse, type UserPropertyBasicDetails, type UserPropertyDetails, type UserPropertyDetailsExtended, type UserPropertyDetailsExtendedForRent, type UserPropertyDetailsExtendedForSale, type UserPropertyDetailsExtendedRented, type UserPropertyDetailsExtendedWithRent, type UserPropertyResponse, type UserRaceCarDetails, type UserRaceDetails, type UserRacesResponse, type UserRacingRecordsResponse, type UserRankEnum, type UserRefillsResponse, type UserResponse, type UserRoleEnum, type UserRpsStatus, type UserSelectionName, type UserSkillDetail, type UserSkillSlugEnum, type UserSkillsResponse, type UserStatus, type UserStatusStateEnum, type UserSubcrime, type UserTitleEnum, type UserTravelResponse, type UserVirus, type UserVirusResponse, type UserWeaponExp, type UserWeaponExpResponse, type UserWorkStatsResponse, type WeaponBonusEnum };
|
|
6949
|
+
export { type AmmoId, type ApiError, type ApiFiltersAttacksRevivesEnum, type ApiKeyAccessTypeEnum, type ApiKeyBalancing, type Attack, type AttackActionEnum, type AttackCode, type AttackFinishingHitEffect, type AttackId, type AttackLog, type AttackLogResponse, type AttackLogSummary, type AttackPlayer, type AttackPlayerSimplified, type AttackSimplified, type AttackingFinishingHitEffects, type AttacksFullResponse, type AttacksResponse, type AuctionHouseListing, type AuctionHouseResponse, type AuctionHouseStackableItem, type AuctionListingId, type AwardCrimesVersionEnum, 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 DiscordId, type EducationId, type EliminationTeamId, type ErrorAccessLevelTooLow, type ErrorApiDisabled, type ErrorApiKeyPaused, type ErrorBackendError, type ErrorCategorySelectionUnavailableForInteractionLogs, type ErrorClosedTemporarily, type ErrorDailyReadLimitReached, type ErrorIncorrectCategory, type ErrorIncorrectId, type ErrorIncorrectIdEntityRelation, type ErrorIncorrectKey, type ErrorIncorrectLogId, type ErrorInvalidStatRequested, type ErrorIpBlocked, type ErrorKeyChangeCooldown, type ErrorKeyEmpty, type ErrorKeyOwnerInFederalJail, type ErrorKeyReadError, type ErrorKeyTemporaryDisabled, type ErrorLogUnavailable, type ErrorMustMigrateToCrimesV2, type ErrorMustMigrateToOrganizedCrimesV2, type ErrorOnlyAvailableInApiV1, type ErrorOnlyAvailableInApiV2, type ErrorOnlyCategoryOrStatsAllowed, type ErrorRaceNotFinished, type ErrorTooManyRequests, type ErrorUnknown, type ErrorWrongFields, type ErrorWrongType, type Faction, type FactionApplication, type FactionApplicationStatusEnum, type FactionApplicationsResponse, type FactionAttackResult, 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 FactionSlotPositionInfo, 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 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 MissionDifficultyEnum, type MissionRewardDetailsAmmo, type MissionRewardDetailsItem, type MissionRewardDetailsUpgrade, type MissionRewardUpgrade, type MissionStatusEnum, 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 StockId, 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, type TornEliminationTeam, type TornEliminationTeamLeader, type TornEliminationTeamPlayer, type TornEliminationTeamPlayersResponse, type TornEliminationTeamsResponse, 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, TornIdContext, TornIdsContext, type TornItem, type TornItemAmmo, type TornItemAmmoResponse, type TornItemAmmoTypeEnum, type TornItemArmorCoverage, type TornItemArmorCoveragePartEnum, type TornItemArmorDetails, type TornItemBaseStats, type TornItemCategory, type TornItemDetails, type TornItemDetailsResponse, 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 TornOrganizedCrimePositionIdDeprecated, type TornOrganizedCrimeRequiredItem, type TornOrganizedCrimeResponse, type TornOrganizedCrimeScope, type TornOrganizedCrimeSlot, type TornOrganizedCrimeSpawn, type TornProperties, type TornRacket, type TornRacketReward, type TornRacketType, TornRateLimitError, type TornResponse, type TornSelectionName, type TornStock, type TornStockDetailed, type TornStockDetailedResponse, type TornStockHistory, TornStockIdContext, type TornStockPerformance, type TornStocksResponse, type TornSubcrime, type TornSubcrimesResponse, type TornTerritoriesNoLinksResponse, type TornTerritoriesResponse, type TornTerritory, type TornTerritoryCoordinates, type TradeCategoryEnum, type TradeId, type TradeItem, type TradeItemCompany, type TradeItemFaction, type TradeItemItem, type TradeItemMoney, type TradeItemNap, type TradeItemProperty, type User, type UserAmmo, type UserAmmoResponse, type UserAmmoType, type UserBar, type UserBars, type UserBarsResponse, type UserBasic, type UserBasicResponse, type UserBattleStatDetail, type UserBattleStatModifierDetail, type UserBattleStatsResponse, type UserBountiesResponse, type UserCalendar, type UserCalendarResponse, type UserClothing, type UserCompany, type UserCompanyPoints, type UserCompetitionEasterEggs, type UserCompetitionElimination, type UserCompetitionHalloween, type UserCompetitionResponse, type UserCompetitionRps, type UserCooldownsResponse, 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 UserDiscordPathId, type UserDiscordResponse, type UserDonatorStatusEnum, type UserEducation, type UserEducationResponse, UserEndpoint, type UserEnlistedCarsResponse, type UserEquipment, type UserEquipmentResponse, type UserEvent, type UserEventId, type UserEventsResponse, type UserFaction, type UserFactionBalance, type UserFactionBalanceResponse, type UserFactionBasic, type UserFactionResponse, type UserFlyMethodEnum, 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 UserLastActionStatusEnum, 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 UserMessage, type UserMessageId, type UserMessageTypeEnum, type UserMessagesResponse, type UserMissionsResponse, type UserMoneyResponse, type UserNewEventsResponse, type UserNewMessagesResponse, type UserNotificationsResponse, type UserOrganizedCrimeError, type UserOrganizedCrimeResponse, type UserOrganizedCrimesResponse, type UserPersonalStatsCategory, type UserPersonalStatsFull, type UserPersonalStatsFullPublic, type UserPersonalStatsHistoric, type UserPersonalStatsPopular, type UserPersonalStatsResponse, type UserPlaneImageTypeEnum, type UserProfileResponse, type UserPropertiesResponse, type UserPropertyBasicDetails, type UserPropertyDetails, type UserPropertyDetailsExtended, type UserPropertyDetailsExtendedForRent, type UserPropertyDetailsExtendedForSale, type UserPropertyDetailsExtendedRented, type UserPropertyDetailsExtendedWithRent, type UserPropertyResponse, type UserRaceCarDetails, type UserRaceDetails, type UserRacesResponse, type UserRacingRecordsResponse, type UserRankEnum, type UserRefillsResponse, type UserResponse, type UserRoleEnum, type UserRpsStatus, type UserSelectionName, type UserSkillDetail, type UserSkillSlugEnum, type UserSkillsResponse, type UserStatus, type UserStatusStateEnum, type UserStock, type UserStockTransaction, type UserStocksResponse, type UserSubcrime, type UserTitleEnum, type UserTrade, type UserTradeDetailed, UserTradeIdContext, type UserTradeParticipant, type UserTradeResponse, type UserTradesResponse, type UserTravelResponse, type UserVirus, type UserVirusResponse, type UserWeaponExp, type UserWeaponExpResponse, type UserWorkStatsResponse, type WeaponBonusEnum };
|