torn-client 0.3.5 → 0.3.7

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 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 ApiError = ErrorUnknown | ErrorKeyEmpty | ErrorIncorrectKey | ErrorWrongType | ErrorWrongFields | ErrorTooManyRequests | ErrorIncorrectId | ErrorIncorrectIdEntityRelation | ErrorIpBlocked | ErrorApiDisabled | ErrorKeyOwnerInFederalJail | ErrorKeyChangeCooldown | ErrorKeyReadError | ErrorKeyTemporaryDisabled | ErrorDailyReadLimitReached | ErrorLogUnavailable | ErrorAccessLevelTooLow | ErrorBackendError | ErrorApiKeyPaused | ErrorMustMigrateToCrimesV2 | ErrorRaceNotFinished | ErrorIncorrectCategory | ErrorOnlyAvailableInApiV1 | ErrorOnlyAvailableInApiV2 | ErrorClosedTemporarily | ErrorInvalidStatRequested | ErrorOnlyCategoryOrStatsAllowed | ErrorMustMigrateToOrganizedCrimesV2 | ErrorIncorrectLogId | ErrorCategorySelectionUnavailableForInteractionLogs;
63
+
61
64
  /** @category Models */
62
65
  type ApiFiltersAttacksRevivesEnum = "incoming" | "outgoing" | "idFilter";
63
66
 
@@ -197,6 +200,34 @@ type AttacksResponse = {
197
200
  _metadata: RequestMetadataWithLinks;
198
201
  };
199
202
 
203
+ /** @category Models */
204
+ type AuctionHouseListing = {
205
+ id: AuctionListingId;
206
+ seller: BasicUser;
207
+ buyer: BasicUser;
208
+ timestamp: number;
209
+ price: number;
210
+ bids: number;
211
+ item: AuctionHouseStackableItem | TornItemDetails;
212
+ };
213
+
214
+ /** @category Models */
215
+ type AuctionHouseResponse = {
216
+ auctionhouse: AuctionHouseListing[];
217
+ _metadata: RequestMetadataWithLinks;
218
+ };
219
+
220
+ /** @category Models */
221
+ type AuctionHouseStackableItem = {
222
+ id: ItemId;
223
+ uid: ItemUid;
224
+ name: string;
225
+ type: TornItemTypeEnum;
226
+ };
227
+
228
+ /** @category Models */
229
+ type AuctionListingId = number;
230
+
200
231
  /** @category Models */
201
232
  type AwardCrimesVersionEnum = "v1" | "v2";
202
233
 
@@ -324,6 +355,186 @@ type EducationId = number;
324
355
  /** @category Models */
325
356
  type EliminationTeamId = number;
326
357
 
358
+ /** @category Models */
359
+ type ErrorAccessLevelTooLow = {
360
+ code: number;
361
+ error: string;
362
+ };
363
+
364
+ /** @category Models */
365
+ type ErrorApiDisabled = {
366
+ code: number;
367
+ error: string;
368
+ };
369
+
370
+ /** @category Models */
371
+ type ErrorApiKeyPaused = {
372
+ code: number;
373
+ error: string;
374
+ };
375
+
376
+ /** @category Models */
377
+ type ErrorBackendError = {
378
+ code: number;
379
+ error: string;
380
+ };
381
+
382
+ /** @category Models */
383
+ type ErrorCategorySelectionUnavailableForInteractionLogs = {
384
+ code: number;
385
+ error: string;
386
+ };
387
+
388
+ /** @category Models */
389
+ type ErrorClosedTemporarily = {
390
+ code: number;
391
+ error: string;
392
+ };
393
+
394
+ /** @category Models */
395
+ type ErrorDailyReadLimitReached = {
396
+ code: number;
397
+ error: string;
398
+ };
399
+
400
+ /** @category Models */
401
+ type ErrorIncorrectCategory = {
402
+ code: number;
403
+ error: string;
404
+ };
405
+
406
+ /** @category Models */
407
+ type ErrorIncorrectId = {
408
+ code: number;
409
+ error: string;
410
+ };
411
+
412
+ /** @category Models */
413
+ type ErrorIncorrectIdEntityRelation = {
414
+ code: number;
415
+ error: string;
416
+ };
417
+
418
+ /** @category Models */
419
+ type ErrorIncorrectKey = {
420
+ code: number;
421
+ error: string;
422
+ };
423
+
424
+ /** @category Models */
425
+ type ErrorIncorrectLogId = {
426
+ code: number;
427
+ error: string;
428
+ };
429
+
430
+ /** @category Models */
431
+ type ErrorInvalidStatRequested = {
432
+ code: number;
433
+ error: string;
434
+ };
435
+
436
+ /** @category Models */
437
+ type ErrorIpBlocked = {
438
+ code: number;
439
+ error: string;
440
+ };
441
+
442
+ /** @category Models */
443
+ type ErrorKeyChangeCooldown = {
444
+ code: number;
445
+ error: string;
446
+ };
447
+
448
+ /** @category Models */
449
+ type ErrorKeyEmpty = {
450
+ code: number;
451
+ error: string;
452
+ };
453
+
454
+ /** @category Models */
455
+ type ErrorKeyOwnerInFederalJail = {
456
+ code: number;
457
+ error: string;
458
+ };
459
+
460
+ /** @category Models */
461
+ type ErrorKeyReadError = {
462
+ code: number;
463
+ error: string;
464
+ };
465
+
466
+ /** @category Models */
467
+ type ErrorKeyTemporaryDisabled = {
468
+ code: number;
469
+ error: string;
470
+ };
471
+
472
+ /** @category Models */
473
+ type ErrorLogUnavailable = {
474
+ code: number;
475
+ error: string;
476
+ };
477
+
478
+ /** @category Models */
479
+ type ErrorMustMigrateToCrimesV2 = {
480
+ code: number;
481
+ error: string;
482
+ };
483
+
484
+ /** @category Models */
485
+ type ErrorMustMigrateToOrganizedCrimesV2 = {
486
+ code: number;
487
+ error: string;
488
+ };
489
+
490
+ /** @category Models */
491
+ type ErrorOnlyAvailableInApiV1 = {
492
+ code: number;
493
+ error: string;
494
+ };
495
+
496
+ /** @category Models */
497
+ type ErrorOnlyAvailableInApiV2 = {
498
+ code: number;
499
+ error: string;
500
+ };
501
+
502
+ /** @category Models */
503
+ type ErrorOnlyCategoryOrStatsAllowed = {
504
+ code: number;
505
+ error: string;
506
+ };
507
+
508
+ /** @category Models */
509
+ type ErrorRaceNotFinished = {
510
+ code: number;
511
+ error: string;
512
+ };
513
+
514
+ /** @category Models */
515
+ type ErrorTooManyRequests = {
516
+ code: number;
517
+ error: string;
518
+ };
519
+
520
+ /** @category Models */
521
+ type ErrorUnknown = {
522
+ code: number;
523
+ error: string;
524
+ };
525
+
526
+ /** @category Models */
527
+ type ErrorWrongFields = {
528
+ code: number;
529
+ error: string;
530
+ };
531
+
532
+ /** @category Models */
533
+ type ErrorWrongType = {
534
+ code: number;
535
+ error: string;
536
+ };
537
+
327
538
  /** @category Models */
328
539
  type Faction = {
329
540
  basic?: {
@@ -414,6 +625,7 @@ type FactionBasic = {
414
625
  is_enlisted: boolean | null;
415
626
  rank: FactionRank;
416
627
  best_chain: number;
628
+ note?: string;
417
629
  };
418
630
 
419
631
  /** @category Models */
@@ -1588,10 +1800,10 @@ type MarketRentalsResponse = {
1588
1800
  };
1589
1801
 
1590
1802
  /** @category Models */
1591
- type MarketResponse = BazaarResponse | BazaarResponseSpecialized | MarketItemMarketResponse | MarketRentalsResponse | MarketPropertiesResponse | MarketLookupResponse | TimestampResponse;
1803
+ type MarketResponse = BazaarResponse | BazaarResponseSpecialized | MarketItemMarketResponse | MarketRentalsResponse | AuctionHouseResponse | AuctionHouseListing | MarketPropertiesResponse | MarketLookupResponse | TimestampResponse;
1592
1804
 
1593
1805
  /** @category Models */
1594
- type MarketSelectionName = "bazaar" | "itemmarket" | "properties" | "rentals" | "lookup" | "timestamp" | "pointsmarket" | string;
1806
+ type MarketSelectionName = "bazaar" | "itemmarket" | "properties" | "rentals" | "lookup" | "timestamp" | "pointsmarket" | "auctionhouse" | "auctionhouselisting" | string;
1595
1807
 
1596
1808
  /** @category Models */
1597
1809
  type MarketSpecializedBazaarCategoryEnum = "Alcohol" | "Artifact" | "Booster" | "Candy" | "Car" | "Clothing" | "Collectible" | "Defensive" | "Drug" | "Energy Drink" | "Enhancer" | "Flower" | "Jewelry" | "Material" | "Medical" | "Melee" | "Other" | "Plushie" | "Primary" | "Secondary" | "Special" | "Supply Pack" | "Temporary" | "Tool";
@@ -4099,11 +4311,11 @@ type UserMoneyResponse = {
4099
4311
  interest_rate: number;
4100
4312
  until: number;
4101
4313
  invested_at: number;
4102
- };
4314
+ } | null;
4103
4315
  faction: {
4104
4316
  money: number;
4105
4317
  points: number;
4106
- };
4318
+ } | null;
4107
4319
  daily_networth: number;
4108
4320
  };
4109
4321
  };
@@ -4303,7 +4515,7 @@ type UserRaceCarDetails = RaceCar & {
4303
4515
 
4304
4516
  /** @category Models */
4305
4517
  type UserRaceDetails = RacingRaceDetails & {
4306
- skill_gain: unknown;
4518
+ skill_gain: number;
4307
4519
  };
4308
4520
 
4309
4521
  /** @category Models */
@@ -4618,6 +4830,7 @@ declare class FactionEndpoint {
4618
4830
  target?: UserId;
4619
4831
  limit?: number;
4620
4832
  offset?: number;
4833
+ sort?: "DESC" | "ASC";
4621
4834
  timestamp?: string;
4622
4835
  }): Promise<PaginatedResponse<ReportsResponse> & ReportsResponse>;
4623
4836
  /**
@@ -4672,7 +4885,7 @@ declare class FactionEndpoint {
4672
4885
  timestamp?: string;
4673
4886
  }): Promise<FactionTerritoriesResponse>;
4674
4887
  /**
4675
- * Get a list of your faction's territories
4888
+ * Get a list territory ownership
4676
4889
  * @param params - Optional query parameters
4677
4890
  */
4678
4891
  territoryownership(params?: {
@@ -5090,6 +5303,19 @@ declare class KeyEndpoint {
5090
5303
  declare class MarketEndpoint {
5091
5304
  private readonly requester;
5092
5305
  constructor(requester: Requester);
5306
+ /** @param id - The ID for this context */
5307
+ withId(id: string | number): MarketIdContext;
5308
+ /**
5309
+ * Get auction house listings
5310
+ * @param params - Optional query parameters
5311
+ */
5312
+ auctionhouse(params?: {
5313
+ limit?: number;
5314
+ sort?: "DESC" | "ASC";
5315
+ from?: number;
5316
+ to?: number;
5317
+ timestamp?: string;
5318
+ }): Promise<PaginatedResponse<AuctionHouseResponse> & AuctionHouseResponse>;
5093
5319
  /**
5094
5320
  * Get bazaar directory
5095
5321
  * @param params - Optional query parameters
@@ -5118,7 +5344,7 @@ declare class MarketEndpoint {
5118
5344
  */
5119
5345
  get(params?: {
5120
5346
  selections?: MarketSelectionName[];
5121
- id?: ItemId | PropertyTypeId;
5347
+ id?: ItemId | AuctionListingId | PropertyTypeId;
5122
5348
  legacy?: MarketSelectionName[];
5123
5349
  cat?: MarketSpecializedBazaarCategoryEnum;
5124
5350
  bonus?: WeaponBonusEnum;
@@ -5127,8 +5353,6 @@ declare class MarketEndpoint {
5127
5353
  limit?: number;
5128
5354
  timestamp?: string;
5129
5355
  }): Promise<MarketResponse>;
5130
- /** @param id - The ID for this context */
5131
- withId(id: string | number): MarketIdContext;
5132
5356
  /** @param propertyTypeId - The ID for this context */
5133
5357
  withPropertyTypeId(propertyTypeId: string | number): MarketPropertyTypeIdContext;
5134
5358
  }
@@ -5140,6 +5364,24 @@ declare class MarketIdContext {
5140
5364
  private readonly requester;
5141
5365
  private readonly contextId;
5142
5366
  constructor(requester: Requester, contextId: string | number);
5367
+ /**
5368
+ * Get specific item auction house listings
5369
+ * @param params - Optional query parameters
5370
+ */
5371
+ auctionhouselisting(params?: {
5372
+ timestamp?: string;
5373
+ }): Promise<AuctionHouseListing>;
5374
+ /**
5375
+ * Get specific item auction house listings
5376
+ * @param params - Optional query parameters
5377
+ */
5378
+ auctionhouse(params?: {
5379
+ limit?: number;
5380
+ sort?: "DESC" | "ASC";
5381
+ from?: number;
5382
+ to?: number;
5383
+ timestamp?: string;
5384
+ }): Promise<PaginatedResponse<AuctionHouseResponse> & AuctionHouseResponse>;
5143
5385
  /**
5144
5386
  * Get item specialized bazaar directory
5145
5387
  * @param params - Optional query parameters
@@ -6032,6 +6274,7 @@ declare class UserEndpoint {
6032
6274
  target?: UserId;
6033
6275
  limit?: number;
6034
6276
  offset?: number;
6277
+ sort?: "DESC" | "ASC";
6035
6278
  timestamp?: string;
6036
6279
  }): Promise<PaginatedResponse<ReportsResponse> & ReportsResponse>;
6037
6280
  /**
@@ -6414,4 +6657,4 @@ declare class TornRateLimitError extends Error {
6414
6657
  constructor(message: string);
6415
6658
  }
6416
6659
 
6417
- 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 AttacksFullResponse, type AttacksResponse, 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 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 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 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 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 };
6660
+ 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 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 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 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 };