torn-client 0.3.1 → 0.3.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 +169 -29
- package/dist/index.d.ts +169 -29
- 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
|
@@ -58,6 +58,9 @@ declare class PaginatedResponse<T> {
|
|
|
58
58
|
/** @category Models */
|
|
59
59
|
type AmmoId = number;
|
|
60
60
|
|
|
61
|
+
/** @category Models */
|
|
62
|
+
type ApiFiltersAttacksRevivesEnum = "incoming" | "outgoing" | "idFilter";
|
|
63
|
+
|
|
61
64
|
/** @category Models */
|
|
62
65
|
type ApiKeyAccessTypeEnum = "Custom" | "Public Only" | "Minimal Access" | "Limited Access" | "Full Access";
|
|
63
66
|
|
|
@@ -182,6 +185,9 @@ type AttackSimplified = {
|
|
|
182
185
|
respect_loss: number;
|
|
183
186
|
};
|
|
184
187
|
|
|
188
|
+
/** @category Models */
|
|
189
|
+
type AwardCrimesVersionEnum = "v1" | "v2";
|
|
190
|
+
|
|
185
191
|
/** @category Models */
|
|
186
192
|
type BasicProperty = {
|
|
187
193
|
id: PropertyTypeId;
|
|
@@ -297,6 +303,9 @@ type CountryEnum = "Mexico" | "Hawaii" | "South Africa" | "Japan" | "China" | "A
|
|
|
297
303
|
/** @category Models */
|
|
298
304
|
type DirtyBombId = number;
|
|
299
305
|
|
|
306
|
+
/** @category Models */
|
|
307
|
+
type DiscordId = string;
|
|
308
|
+
|
|
300
309
|
/** @category Models */
|
|
301
310
|
type EducationId = number;
|
|
302
311
|
|
|
@@ -732,7 +741,7 @@ type FactionPosition = {
|
|
|
732
741
|
};
|
|
733
742
|
|
|
734
743
|
/** @category Models */
|
|
735
|
-
type FactionPositionAbilityEnum = "Medical Item Usage" | "Booster Item Usage" | "Drug Item Usage" | "Energy Refill Usage" | "Nerve Refill Usage" | "Temporary Item Loaning" | "Weapon & Armor Loaning" | "Item Retrieving" | "Organised Crimes" | "Faction API Access" | "Item Giving" | "Money Giving" | "Points Giving" | "Forum Management" | "Application Management" | "Kick Members" | "Balance Adjustment" | "War Management" | "Upgrade Management" | "Newsletter Sending" | "Announcement Changes" | "Description Changes" | "
|
|
744
|
+
type FactionPositionAbilityEnum = "Medical Item Usage" | "Booster Item Usage" | "Drug Item Usage" | "Energy Refill Usage" | "Nerve Refill Usage" | "Temporary Item Loaning" | "Weapon & Armor Loaning" | "Item Retrieving" | "Organised Crimes" | "Faction API Access" | "Item Giving" | "Money Giving" | "Points Giving" | "Forum Management" | "Application Management" | "Kick Members" | "Balance Adjustment" | "War Management" | "Upgrade Management" | "Newsletter Sending" | "Announcement Changes" | "Description Changes" | "Utility Item Loaning" | "Consumable Item Usage";
|
|
736
745
|
|
|
737
746
|
/** @category Models */
|
|
738
747
|
type FactionPositionsResponse = {
|
|
@@ -2723,6 +2732,7 @@ type TornCalendarActivity = {
|
|
|
2723
2732
|
description: string;
|
|
2724
2733
|
start: number;
|
|
2725
2734
|
end: number;
|
|
2735
|
+
fixed_start_time?: boolean;
|
|
2726
2736
|
};
|
|
2727
2737
|
|
|
2728
2738
|
/** @category Models */
|
|
@@ -2889,6 +2899,7 @@ type TornHonor = {
|
|
|
2889
2899
|
circulation?: number;
|
|
2890
2900
|
equipped?: number;
|
|
2891
2901
|
rarity?: HonorRarityEnum;
|
|
2902
|
+
crimes_version?: AwardCrimesVersionEnum;
|
|
2892
2903
|
};
|
|
2893
2904
|
|
|
2894
2905
|
/** @category Models */
|
|
@@ -2963,6 +2974,19 @@ type TornItemBaseStats = {
|
|
|
2963
2974
|
/** @category Models */
|
|
2964
2975
|
type TornItemCategory = "All" | "Alcohol" | "Armor" | "Artifact" | "Book" | "Booster" | "Candy" | "Car" | "Clothing" | "Collectible" | "Defensive" | "Drug" | "Energy Drink" | "Enhancer" | "Flower" | "Jewelry" | "Material" | "Medical" | "Melee" | "Other" | "Plushie" | "Primary" | "Secondary" | "Special" | "Supply Pack" | "Temporary" | "Tool" | "Unused" | "Weapon";
|
|
2965
2976
|
|
|
2977
|
+
/** @category Models */
|
|
2978
|
+
type TornItemDetails = ItemMarketListingItemDetails & {
|
|
2979
|
+
id: ItemId;
|
|
2980
|
+
name: string;
|
|
2981
|
+
type: TornItemTypeEnum;
|
|
2982
|
+
sub_type: TornItemWeaponTypeEnum | null;
|
|
2983
|
+
};
|
|
2984
|
+
|
|
2985
|
+
/** @category Models */
|
|
2986
|
+
type TornItemDetailsResponse = {
|
|
2987
|
+
itemdetails: TornItemDetails;
|
|
2988
|
+
};
|
|
2989
|
+
|
|
2966
2990
|
/** @category Models */
|
|
2967
2991
|
type TornItemMods = {
|
|
2968
2992
|
id: ItemModId;
|
|
@@ -3046,6 +3070,7 @@ type TornMedal = {
|
|
|
3046
3070
|
};
|
|
3047
3071
|
circulation: number;
|
|
3048
3072
|
rarity: HonorRarityEnum;
|
|
3073
|
+
crimes_version?: AwardCrimesVersionEnum;
|
|
3049
3074
|
};
|
|
3050
3075
|
|
|
3051
3076
|
/** @category Models */
|
|
@@ -3144,7 +3169,7 @@ type TornRacketReward = {
|
|
|
3144
3169
|
type TornRacketType = "Item" | "Points" | "Money";
|
|
3145
3170
|
|
|
3146
3171
|
/** @category Models */
|
|
3147
|
-
type TornResponse = TornSubcrimesResponse | TornCrimesResponse | TornCalendarResponse | TornHofResponse | TornFactionHofResponse | TornLogTypesResponse | TornItemsResponse | TornLogCategoriesResponse | TornEducationResponse | TornMeritsResponse | TornHonorsResponse | TornMedalsResponse | TornBountiesResponse | TornItemAmmoResponse | TornProperties | TornFactionTreeResponse | AttackLogResponse | TornTerritoriesResponse | TornTerritoriesNoLinksResponse | TornItemModsResponse | TornLookupResponse | TimestampResponse;
|
|
3172
|
+
type TornResponse = TornSubcrimesResponse | TornCrimesResponse | TornCalendarResponse | TornHofResponse | TornFactionHofResponse | TornLogTypesResponse | TornItemsResponse | TornLogCategoriesResponse | TornEducationResponse | TornMeritsResponse | TornOrganizedCrimeResponse | TornHonorsResponse | TornItemDetailsResponse | TornMedalsResponse | TornBountiesResponse | TornItemAmmoResponse | TornProperties | TornFactionTreeResponse | AttackLogResponse | TornTerritoriesResponse | TornTerritoriesNoLinksResponse | TornItemModsResponse | TornLookupResponse | TimestampResponse;
|
|
3148
3173
|
|
|
3149
3174
|
/** @category Models */
|
|
3150
3175
|
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;
|
|
@@ -3272,14 +3297,29 @@ type User = {
|
|
|
3272
3297
|
};
|
|
3273
3298
|
};
|
|
3274
3299
|
|
|
3300
|
+
/** @category Models */
|
|
3301
|
+
type UserAmmo = {
|
|
3302
|
+
id: AmmoId;
|
|
3303
|
+
name: string;
|
|
3304
|
+
types: UserAmmoType[];
|
|
3305
|
+
};
|
|
3306
|
+
|
|
3307
|
+
/** @category Models */
|
|
3308
|
+
type UserAmmoResponse = {
|
|
3309
|
+
ammo?: UserAmmo[];
|
|
3310
|
+
};
|
|
3311
|
+
|
|
3312
|
+
/** @category Models */
|
|
3313
|
+
type UserAmmoType = {
|
|
3314
|
+
name: TornItemAmmoTypeEnum;
|
|
3315
|
+
quantity: number;
|
|
3316
|
+
equipped: boolean;
|
|
3317
|
+
};
|
|
3318
|
+
|
|
3275
3319
|
/** @category Models */
|
|
3276
3320
|
type UserBar = {
|
|
3277
3321
|
current: number;
|
|
3278
3322
|
maximum: number;
|
|
3279
|
-
increment: number;
|
|
3280
|
-
interval: number;
|
|
3281
|
-
tick_time: number;
|
|
3282
|
-
full_time: number;
|
|
3283
3323
|
};
|
|
3284
3324
|
|
|
3285
3325
|
/** @category Models */
|
|
@@ -3350,6 +3390,14 @@ type UserCalendarResponse = {
|
|
|
3350
3390
|
calendar: UserCalendar;
|
|
3351
3391
|
};
|
|
3352
3392
|
|
|
3393
|
+
/** @category Models */
|
|
3394
|
+
type UserClothing = {
|
|
3395
|
+
id: ItemId;
|
|
3396
|
+
name: string;
|
|
3397
|
+
uid: ItemUid;
|
|
3398
|
+
type: TornItemTypeEnum;
|
|
3399
|
+
};
|
|
3400
|
+
|
|
3353
3401
|
/** @category Models */
|
|
3354
3402
|
type UserCompany = {
|
|
3355
3403
|
type: "company";
|
|
@@ -3377,6 +3425,14 @@ type UserCompetitionEasterEggs = {
|
|
|
3377
3425
|
total: number;
|
|
3378
3426
|
};
|
|
3379
3427
|
|
|
3428
|
+
/** @category Models */
|
|
3429
|
+
type UserCompetitionElimination = {
|
|
3430
|
+
name: "Elimination";
|
|
3431
|
+
score: number;
|
|
3432
|
+
team?: string;
|
|
3433
|
+
attacks?: number;
|
|
3434
|
+
};
|
|
3435
|
+
|
|
3380
3436
|
/** @category Models */
|
|
3381
3437
|
type UserCompetitionHalloween = {
|
|
3382
3438
|
name: "Halloween";
|
|
@@ -3389,7 +3445,7 @@ type UserCompetitionHalloween = {
|
|
|
3389
3445
|
|
|
3390
3446
|
/** @category Models */
|
|
3391
3447
|
type UserCompetitionResponse = {
|
|
3392
|
-
competition: UserCompetitionHalloween | UserCompetitionEasterEggs | UserCompetitionRps;
|
|
3448
|
+
competition: UserCompetitionHalloween | UserCompetitionEasterEggs | UserCompetitionRps | UserCompetitionElimination;
|
|
3393
3449
|
};
|
|
3394
3450
|
|
|
3395
3451
|
/** @category Models */
|
|
@@ -3592,6 +3648,17 @@ type UserCurrentEducation = {
|
|
|
3592
3648
|
until: number;
|
|
3593
3649
|
};
|
|
3594
3650
|
|
|
3651
|
+
/** @category Models */
|
|
3652
|
+
type UserDiscordPathId = UserId | DiscordId;
|
|
3653
|
+
|
|
3654
|
+
/** @category Models */
|
|
3655
|
+
type UserDiscordResponse = {
|
|
3656
|
+
discord: {
|
|
3657
|
+
discord_id: DiscordId;
|
|
3658
|
+
user_id: UserId;
|
|
3659
|
+
};
|
|
3660
|
+
};
|
|
3661
|
+
|
|
3595
3662
|
/** @category Models */
|
|
3596
3663
|
type UserDonatorStatusEnum = "Donator" | "Subscriber";
|
|
3597
3664
|
|
|
@@ -3611,6 +3678,17 @@ type UserEnlistedCarsResponse = {
|
|
|
3611
3678
|
enlistedcars: UserRaceCarDetails[];
|
|
3612
3679
|
};
|
|
3613
3680
|
|
|
3681
|
+
/** @category Models */
|
|
3682
|
+
type UserEquipment = TornItemDetails & {
|
|
3683
|
+
slot: number;
|
|
3684
|
+
};
|
|
3685
|
+
|
|
3686
|
+
/** @category Models */
|
|
3687
|
+
type UserEquipmentResponse = {
|
|
3688
|
+
equipment: UserEquipment[];
|
|
3689
|
+
clothing: UserClothing[];
|
|
3690
|
+
};
|
|
3691
|
+
|
|
3614
3692
|
/** @category Models */
|
|
3615
3693
|
type UserEvent = {
|
|
3616
3694
|
id: UserEventId;
|
|
@@ -3971,7 +4049,11 @@ type UserMoneyResponse = {
|
|
|
3971
4049
|
cayman_bank: number;
|
|
3972
4050
|
city_bank: {
|
|
3973
4051
|
amount: number;
|
|
4052
|
+
profit: number;
|
|
4053
|
+
duration: number;
|
|
4054
|
+
interest_rate: number;
|
|
3974
4055
|
until: number;
|
|
4056
|
+
invested_at: number;
|
|
3975
4057
|
};
|
|
3976
4058
|
faction: {
|
|
3977
4059
|
money: number;
|
|
@@ -4209,7 +4291,7 @@ type UserRefillsResponse = {
|
|
|
4209
4291
|
};
|
|
4210
4292
|
|
|
4211
4293
|
/** @category Models */
|
|
4212
|
-
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 | UserMissionsResponse | UserPersonalStatsResponse | UserOrganizedCrimeResponse | FactionAttacksResponse | UserBarsResponse | UserCooldownsResponse | UserNotificationsResponse | UserRefillsResponse | UserTravelResponse | UserVirusResponse | FactionAttacksFullResponse | UserMoneyResponse | UserJobPointsResponse | UserWorkStatsResponse | UserSkillsResponse | UserBattleStatsResponse | UserNewEventsResponse | UserEventsResponse | UserMessagesResponse | UserNewMessagesResponse | UserLookupResponse | TimestampResponse;
|
|
4294
|
+
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 | FactionAttacksResponse | UserBarsResponse | UserCooldownsResponse | UserNotificationsResponse | UserRefillsResponse | UserTravelResponse | UserVirusResponse | FactionAttacksFullResponse | UserMoneyResponse | UserJobPointsResponse | UserWorkStatsResponse | UserSkillsResponse | UserBattleStatsResponse | UserNewEventsResponse | UserEventsResponse | UserMessagesResponse | UserNewMessagesResponse | UserLookupResponse | TimestampResponse;
|
|
4213
4295
|
|
|
4214
4296
|
/** @category Models */
|
|
4215
4297
|
type UserRoleEnum = "Admin" | "Officer" | "Moderator" | "Helper" | "Tester" | "NPC" | "Committee" | "Reporter" | "Wiki Contributor" | "Wiki Editor" | "Civilian";
|
|
@@ -4218,7 +4300,7 @@ type UserRoleEnum = "Admin" | "Officer" | "Moderator" | "Helper" | "Tester" | "N
|
|
|
4218
4300
|
type UserRpsStatus = "scissors" | "rock" | "paper";
|
|
4219
4301
|
|
|
4220
4302
|
/** @category Models */
|
|
4221
|
-
type UserSelectionName = "attacks" | "attacksfull" | "bars" | "basic" | "battlestats" | "bounties" | "calendar" | "competition" | "cooldowns" | "crimes" | "enlistedcars" | "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" | "timestamp" | "travel" | "
|
|
4303
|
+
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" | "timestamp" | "travel" | "weaponexp" | "workstats" | "bazaar" | "criminalrecord" | "display" | "education" | "gym" | "inventory" | "networth" | "perks" | "stocks" | string;
|
|
4222
4304
|
|
|
4223
4305
|
/** @category Models */
|
|
4224
4306
|
type UserSkillDetail = {
|
|
@@ -4245,7 +4327,6 @@ type UserStatus = {
|
|
|
4245
4327
|
state: UserStatusStateEnum | string;
|
|
4246
4328
|
color: string;
|
|
4247
4329
|
until: number | null;
|
|
4248
|
-
travel_type?: string;
|
|
4249
4330
|
plane_image_type?: UserPlaneImageTypeEnum;
|
|
4250
4331
|
};
|
|
4251
4332
|
|
|
@@ -4288,6 +4369,18 @@ type UserVirusResponse = {
|
|
|
4288
4369
|
virus: UserVirus | null;
|
|
4289
4370
|
};
|
|
4290
4371
|
|
|
4372
|
+
/** @category Models */
|
|
4373
|
+
type UserWeaponExp = {
|
|
4374
|
+
id: ItemId;
|
|
4375
|
+
name: string;
|
|
4376
|
+
exp: number;
|
|
4377
|
+
};
|
|
4378
|
+
|
|
4379
|
+
/** @category Models */
|
|
4380
|
+
type UserWeaponExpResponse = {
|
|
4381
|
+
weaponexp: UserWeaponExp[];
|
|
4382
|
+
};
|
|
4383
|
+
|
|
4291
4384
|
/** @category Models */
|
|
4292
4385
|
type UserWorkStatsResponse = {
|
|
4293
4386
|
workstats: {
|
|
@@ -4320,7 +4413,7 @@ declare class FactionEndpoint {
|
|
|
4320
4413
|
* @param params - Optional query parameters
|
|
4321
4414
|
*/
|
|
4322
4415
|
attacks(params?: {
|
|
4323
|
-
filters?:
|
|
4416
|
+
filters?: ApiFiltersAttacksRevivesEnum[];
|
|
4324
4417
|
limit?: number;
|
|
4325
4418
|
sort?: "DESC" | "ASC";
|
|
4326
4419
|
to?: number;
|
|
@@ -4332,7 +4425,7 @@ declare class FactionEndpoint {
|
|
|
4332
4425
|
* @param params - Optional query parameters
|
|
4333
4426
|
*/
|
|
4334
4427
|
attacksfull(params?: {
|
|
4335
|
-
filters?:
|
|
4428
|
+
filters?: ApiFiltersAttacksRevivesEnum[];
|
|
4336
4429
|
limit?: number;
|
|
4337
4430
|
sort?: "DESC" | "ASC";
|
|
4338
4431
|
to?: number;
|
|
@@ -4482,7 +4575,7 @@ declare class FactionEndpoint {
|
|
|
4482
4575
|
* @param params - Optional query parameters
|
|
4483
4576
|
*/
|
|
4484
4577
|
revives(params?: {
|
|
4485
|
-
filters?:
|
|
4578
|
+
filters?: ApiFiltersAttacksRevivesEnum[];
|
|
4486
4579
|
limit?: number;
|
|
4487
4580
|
sort?: "DESC" | "ASC";
|
|
4488
4581
|
to?: number;
|
|
@@ -4495,7 +4588,7 @@ declare class FactionEndpoint {
|
|
|
4495
4588
|
* @param params - Optional query parameters
|
|
4496
4589
|
*/
|
|
4497
4590
|
revivesfull(params?: {
|
|
4498
|
-
filters?:
|
|
4591
|
+
filters?: ApiFiltersAttacksRevivesEnum[];
|
|
4499
4592
|
limit?: number;
|
|
4500
4593
|
sort?: "DESC" | "ASC";
|
|
4501
4594
|
to?: number;
|
|
@@ -5383,7 +5476,7 @@ declare class TornEndpoint {
|
|
|
5383
5476
|
*/
|
|
5384
5477
|
get(params?: {
|
|
5385
5478
|
selections?: TornSelectionName[];
|
|
5386
|
-
id?: LogCategoryId | TornCrimeId | ItemId[] | MedalId[] | HonorId[] | FactionTerritoryEnum[];
|
|
5479
|
+
id?: LogCategoryId | TornCrimeId | ItemUid | ItemId[] | MedalId[] | HonorId[] | FactionTerritoryEnum[];
|
|
5387
5480
|
legacy?: TornSelectionName[];
|
|
5388
5481
|
striptags?: "true" | "false";
|
|
5389
5482
|
limit?: number;
|
|
@@ -5396,6 +5489,8 @@ declare class TornEndpoint {
|
|
|
5396
5489
|
}): Promise<TornResponse>;
|
|
5397
5490
|
/** @param ids - The ID for this context */
|
|
5398
5491
|
withIds(ids: string | number): TornIdsContext;
|
|
5492
|
+
/** @param id - The ID for this context */
|
|
5493
|
+
withId(id: string | number): TornIdContext;
|
|
5399
5494
|
/** @param logCategoryId - The ID for this context */
|
|
5400
5495
|
withLogCategoryId(logCategoryId: string | number): TornLogCategoryIdContext;
|
|
5401
5496
|
/** @param crimeId - The ID for this context */
|
|
@@ -5432,6 +5527,22 @@ declare class TornIdsContext {
|
|
|
5432
5527
|
timestamp?: string;
|
|
5433
5528
|
}): Promise<TornMedalsResponse>;
|
|
5434
5529
|
}
|
|
5530
|
+
/**
|
|
5531
|
+
* Context class for Torn API endpoints that require a "id"
|
|
5532
|
+
* @category Endpoints
|
|
5533
|
+
*/
|
|
5534
|
+
declare class TornIdContext {
|
|
5535
|
+
private readonly requester;
|
|
5536
|
+
private readonly contextId;
|
|
5537
|
+
constructor(requester: Requester, contextId: string | number);
|
|
5538
|
+
/**
|
|
5539
|
+
* Get information about a specific item
|
|
5540
|
+
* @param params - Optional query parameters
|
|
5541
|
+
*/
|
|
5542
|
+
itemdetails(params?: {
|
|
5543
|
+
timestamp?: string;
|
|
5544
|
+
}): Promise<TornItemDetailsResponse>;
|
|
5545
|
+
}
|
|
5435
5546
|
/**
|
|
5436
5547
|
* Context class for Torn API endpoints that require a "logCategoryId"
|
|
5437
5548
|
* @category Endpoints
|
|
@@ -5472,12 +5583,19 @@ declare class TornCrimeIdContext {
|
|
|
5472
5583
|
declare class UserEndpoint {
|
|
5473
5584
|
private readonly requester;
|
|
5474
5585
|
constructor(requester: Requester);
|
|
5586
|
+
/**
|
|
5587
|
+
* Get your ammo information
|
|
5588
|
+
* @param params - Optional query parameters
|
|
5589
|
+
*/
|
|
5590
|
+
ammo(params?: {
|
|
5591
|
+
timestamp?: string;
|
|
5592
|
+
}): Promise<UserAmmoResponse>;
|
|
5475
5593
|
/**
|
|
5476
5594
|
* Get your detailed attacks
|
|
5477
5595
|
* @param params - Optional query parameters
|
|
5478
5596
|
*/
|
|
5479
5597
|
attacks(params?: {
|
|
5480
|
-
filters?:
|
|
5598
|
+
filters?: ApiFiltersAttacksRevivesEnum[];
|
|
5481
5599
|
limit?: number;
|
|
5482
5600
|
sort?: "DESC" | "ASC";
|
|
5483
5601
|
to?: number;
|
|
@@ -5489,7 +5607,7 @@ declare class UserEndpoint {
|
|
|
5489
5607
|
* @param params - Optional query parameters
|
|
5490
5608
|
*/
|
|
5491
5609
|
attacksfull(params?: {
|
|
5492
|
-
filters?:
|
|
5610
|
+
filters?: ApiFiltersAttacksRevivesEnum[];
|
|
5493
5611
|
limit?: number;
|
|
5494
5612
|
sort?: "DESC" | "ASC";
|
|
5495
5613
|
to?: number;
|
|
@@ -5526,7 +5644,7 @@ declare class UserEndpoint {
|
|
|
5526
5644
|
timestamp?: string;
|
|
5527
5645
|
}): Promise<UserBountiesResponse>;
|
|
5528
5646
|
/**
|
|
5529
|
-
* Get your
|
|
5647
|
+
* Get your calendar events start time
|
|
5530
5648
|
* @param params - Optional query parameters
|
|
5531
5649
|
*/
|
|
5532
5650
|
calendar(params?: {
|
|
@@ -5546,6 +5664,13 @@ declare class UserEndpoint {
|
|
|
5546
5664
|
cooldowns(params?: {
|
|
5547
5665
|
timestamp?: string;
|
|
5548
5666
|
}): Promise<UserCooldownsResponse>;
|
|
5667
|
+
/**
|
|
5668
|
+
* Get your discord information
|
|
5669
|
+
* @param params - Optional query parameters
|
|
5670
|
+
*/
|
|
5671
|
+
discord(params?: {
|
|
5672
|
+
timestamp?: string;
|
|
5673
|
+
}): Promise<UserDiscordResponse>;
|
|
5549
5674
|
/**
|
|
5550
5675
|
* Get your education information
|
|
5551
5676
|
* @param params - Optional query parameters
|
|
@@ -5560,6 +5685,13 @@ declare class UserEndpoint {
|
|
|
5560
5685
|
enlistedcars(params?: {
|
|
5561
5686
|
timestamp?: string;
|
|
5562
5687
|
}): Promise<UserEnlistedCarsResponse>;
|
|
5688
|
+
/**
|
|
5689
|
+
* Get your equipment & clothing
|
|
5690
|
+
* @param params - Optional query parameters
|
|
5691
|
+
*/
|
|
5692
|
+
equipment(params?: {
|
|
5693
|
+
timestamp?: string;
|
|
5694
|
+
}): Promise<UserEquipmentResponse>;
|
|
5563
5695
|
/**
|
|
5564
5696
|
* Get your events
|
|
5565
5697
|
* @param params - Optional query parameters
|
|
@@ -5578,13 +5710,6 @@ declare class UserEndpoint {
|
|
|
5578
5710
|
faction(params?: {
|
|
5579
5711
|
timestamp?: string;
|
|
5580
5712
|
}): Promise<UserFactionResponse>;
|
|
5581
|
-
/**
|
|
5582
|
-
* Deprecated. Use user/money instead
|
|
5583
|
-
* @param params - Optional query parameters
|
|
5584
|
-
*/
|
|
5585
|
-
factionbalance(params?: {
|
|
5586
|
-
timestamp?: string;
|
|
5587
|
-
}): Promise<UserFactionBalanceResponse>;
|
|
5588
5713
|
/**
|
|
5589
5714
|
* Get updates on your threads and posts
|
|
5590
5715
|
* @param params - Optional query parameters
|
|
@@ -5698,6 +5823,7 @@ declare class UserEndpoint {
|
|
|
5698
5823
|
log(params?: {
|
|
5699
5824
|
log?: LogId[];
|
|
5700
5825
|
cat?: LogCategoryId;
|
|
5826
|
+
target?: UserId;
|
|
5701
5827
|
limit?: number;
|
|
5702
5828
|
to?: number;
|
|
5703
5829
|
from?: number;
|
|
@@ -5847,7 +5973,7 @@ declare class UserEndpoint {
|
|
|
5847
5973
|
* @param params - Optional query parameters
|
|
5848
5974
|
*/
|
|
5849
5975
|
revives(params?: {
|
|
5850
|
-
filters?:
|
|
5976
|
+
filters?: ApiFiltersAttacksRevivesEnum[];
|
|
5851
5977
|
limit?: number;
|
|
5852
5978
|
sort?: "DESC" | "ASC";
|
|
5853
5979
|
to?: number;
|
|
@@ -5860,7 +5986,7 @@ declare class UserEndpoint {
|
|
|
5860
5986
|
* @param params - Optional query parameters
|
|
5861
5987
|
*/
|
|
5862
5988
|
revivesfull(params?: {
|
|
5863
|
-
filters?:
|
|
5989
|
+
filters?: ApiFiltersAttacksRevivesEnum[];
|
|
5864
5990
|
limit?: number;
|
|
5865
5991
|
sort?: "DESC" | "ASC";
|
|
5866
5992
|
to?: number;
|
|
@@ -5889,6 +6015,13 @@ declare class UserEndpoint {
|
|
|
5889
6015
|
virus(params?: {
|
|
5890
6016
|
timestamp?: string;
|
|
5891
6017
|
}): Promise<UserVirusResponse>;
|
|
6018
|
+
/**
|
|
6019
|
+
* Get your weapon experience information
|
|
6020
|
+
* @param params - Optional query parameters
|
|
6021
|
+
*/
|
|
6022
|
+
weaponexp(params?: {
|
|
6023
|
+
timestamp?: string;
|
|
6024
|
+
}): Promise<UserWeaponExpResponse>;
|
|
5892
6025
|
/**
|
|
5893
6026
|
* Get your working stats
|
|
5894
6027
|
* @param params - Optional query parameters
|
|
@@ -5916,7 +6049,7 @@ declare class UserEndpoint {
|
|
|
5916
6049
|
*/
|
|
5917
6050
|
get(params?: {
|
|
5918
6051
|
selections?: UserSelectionName[];
|
|
5919
|
-
id?:
|
|
6052
|
+
id?: UserDiscordPathId | TornCrimeId | string;
|
|
5920
6053
|
legacy?: UserSelectionName[];
|
|
5921
6054
|
limit?: number;
|
|
5922
6055
|
from?: number;
|
|
@@ -5964,6 +6097,13 @@ declare class UserIdContext {
|
|
|
5964
6097
|
competition(params?: {
|
|
5965
6098
|
timestamp?: string;
|
|
5966
6099
|
}): Promise<UserCompetitionResponse>;
|
|
6100
|
+
/**
|
|
6101
|
+
* Get discord information for a specific user
|
|
6102
|
+
* @param params - Optional query parameters
|
|
6103
|
+
*/
|
|
6104
|
+
discord(params?: {
|
|
6105
|
+
timestamp?: string;
|
|
6106
|
+
}): Promise<UserDiscordResponse>;
|
|
5967
6107
|
/**
|
|
5968
6108
|
* Get faction information for a specific player
|
|
5969
6109
|
* @param params - Optional query parameters
|
|
@@ -6208,4 +6348,4 @@ declare class TornRateLimitError extends Error {
|
|
|
6208
6348
|
constructor(message: string);
|
|
6209
6349
|
}
|
|
6210
6350
|
|
|
6211
|
-
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 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, 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 UserBar, type UserBars, type UserBarsResponse, 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 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 UserDonatorStatusEnum, type UserEducation, type UserEducationResponse, UserEndpoint, type UserEnlistedCarsResponse, 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 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 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 UserWorkStatsResponse, type WeaponBonusEnum };
|
|
6351
|
+
export { type AmmoId, 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 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 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 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, 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 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 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 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 };
|