torn-client 0.4.2 → 0.4.5

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
@@ -59,7 +59,7 @@ declare class PaginatedResponse<T> {
59
59
  type AmmoId = number;
60
60
 
61
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;
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 | ErrorFileDoesNotExist;
63
63
 
64
64
  /** @category Models */
65
65
  type ApiFiltersAttacksRevivesEnum = "incoming" | "outgoing" | "idFilter";
@@ -67,6 +67,9 @@ type ApiFiltersAttacksRevivesEnum = "incoming" | "outgoing" | "idFilter";
67
67
  /** @category Models */
68
68
  type ApiKeyAccessTypeEnum = "Custom" | "Public Only" | "Minimal Access" | "Limited Access" | "Full Access";
69
69
 
70
+ /** @category Models */
71
+ type ApplicationStatusEnum = "accepted" | "declined" | "withdrawn" | "active";
72
+
70
73
  /** @category Models */
71
74
  type Attack = {
72
75
  id: AttackId;
@@ -328,12 +331,255 @@ type Bounty = {
328
331
  /** @category Models */
329
332
  type ChainId = number;
330
333
 
334
+ /** @category Models */
335
+ type CompaniesResponse = {
336
+ companies: CompanyProfile[];
337
+ companies_timestamp: number;
338
+ companies_delay: number;
339
+ _metadata: RequestMetadataWithLinksAndTotal;
340
+ };
341
+
342
+ /** @category Models */
343
+ type CompaniesSearchResponse = {
344
+ search: CompanySearchProfile[];
345
+ _metadata: RequestMetadataWithLinks;
346
+ };
347
+
348
+ /** @category Models */
349
+ type CompanyApplication = {
350
+ player: CompanyApplicationPlayer;
351
+ message: string | null;
352
+ expires_at: number;
353
+ status: ApplicationStatusEnum;
354
+ };
355
+
356
+ /** @category Models */
357
+ type CompanyApplicationPlayer = {
358
+ id: UserId;
359
+ name: string;
360
+ level: number;
361
+ stats: CompanyApplicationPlayerStats;
362
+ };
363
+
364
+ /** @category Models */
365
+ type CompanyApplicationPlayerStats = {
366
+ manual_labor: number;
367
+ intelligence: number;
368
+ endurance: number;
369
+ };
370
+
371
+ /** @category Models */
372
+ type CompanyApplicationsResponse = {
373
+ applications: CompanyApplication[];
374
+ };
375
+
376
+ /** @category Models */
377
+ type CompanyCustomers = {
378
+ daily: number;
379
+ weekly: number;
380
+ };
381
+
382
+ /** @category Models */
383
+ type CompanyDirector = {
384
+ id: UserId;
385
+ name: string;
386
+ status: UserStatus;
387
+ last_action: UserLastAction;
388
+ };
389
+
390
+ /** @category Models */
391
+ type CompanyEmployee = {
392
+ id: UserId;
393
+ name: string;
394
+ position: CompanyEmployeePosition;
395
+ days_in_company: number;
396
+ status: UserStatus;
397
+ last_action: UserLastAction;
398
+ };
399
+
400
+ /** @category Models */
401
+ type CompanyEmployeeEffectiveness = {
402
+ working_stats: number;
403
+ settled_in: number;
404
+ book: number;
405
+ merits: number;
406
+ director_education: number;
407
+ management: number;
408
+ wrong_gender: number;
409
+ addiction: number;
410
+ inactivity: number;
411
+ total: number;
412
+ };
413
+
414
+ /** @category Models */
415
+ type CompanyEmployeeExtended = CompanyEmployee & {
416
+ stats: CompanyEmployeeStats;
417
+ effectiveness: CompanyEmployeeEffectiveness;
418
+ };
419
+
420
+ /** @category Models */
421
+ type CompanyEmployeeFull = CompanyEmployeeExtended & {
422
+ joined_at: number;
423
+ wage: number;
424
+ value: number | null;
425
+ };
426
+
427
+ /** @category Models */
428
+ type CompanyEmployeePosition = {
429
+ id: CompanyPositionId;
430
+ name: string;
431
+ };
432
+
433
+ /** @category Models */
434
+ type CompanyEmployees = {
435
+ hired: number;
436
+ capacity: number;
437
+ };
438
+
439
+ /** @category Models */
440
+ type CompanyEmployeesResponse = {
441
+ employees: CompanyEmployee | CompanyEmployeeExtended | CompanyEmployeeFull[];
442
+ };
443
+
444
+ /** @category Models */
445
+ type CompanyEmployeesResponseBasic = {
446
+ employees: CompanyEmployee[];
447
+ };
448
+
449
+ /** @category Models */
450
+ type CompanyEmployeeStats = {
451
+ manual_labor: number;
452
+ intelligence: number;
453
+ endurance: number;
454
+ };
455
+
331
456
  /** @category Models */
332
457
  type CompanyId = number;
333
458
 
459
+ /** @category Models */
460
+ type CompanyIncome = {
461
+ daily: number;
462
+ weekly: number;
463
+ };
464
+
465
+ /** @category Models */
466
+ type CompanyLookupResponse = {
467
+ selections: CompanySelectionName[];
468
+ };
469
+
470
+ /** @category Models */
471
+ type CompanyNewsCategory = "main" | "funds" | "training" | "employees" | "all";
472
+
473
+ /** @category Models */
474
+ type CompanyPositionId = number;
475
+
476
+ /** @category Models */
477
+ type CompanyProfile = {
478
+ id: CompanyId;
479
+ name: string;
480
+ created_at: number;
481
+ days_old: number;
482
+ image: string | null;
483
+ type: CompanyType;
484
+ rating: number;
485
+ director: CompanyDirector;
486
+ employees: CompanyEmployees;
487
+ income: CompanyIncome;
488
+ customers: CompanyCustomers;
489
+ applications_allowed: boolean;
490
+ };
491
+
492
+ /** @category Models */
493
+ type CompanyProfileExtended = CompanyProfile & {
494
+ funds: number;
495
+ popularity: number;
496
+ efficiency: number;
497
+ environment: number;
498
+ trains: number;
499
+ advertisement_budget: number;
500
+ upgrades: CompanyUpgrades;
501
+ value: number;
502
+ };
503
+
504
+ /** @category Models */
505
+ type CompanyProfileExtendedResponse = {
506
+ profile: CompanyProfileExtended;
507
+ };
508
+
509
+ /** @category Models */
510
+ type CompanyProfileResponse = {
511
+ profile: CompanyProfile;
512
+ };
513
+
514
+ /** @category Models */
515
+ type CompanyProfileResponseMixed = {
516
+ profile: CompanyProfile | CompanyProfileExtended;
517
+ };
518
+
519
+ /** @category Models */
520
+ type CompanyResponse = CompanyApplicationsResponse | CompanyEmployeesResponse | CompanyEmployeesResponseBasic | CompanyProfileResponseMixed | CompanyProfileResponse | NewsResponse | CompanyStockResponse | CompanyLookupResponse | TimestampResponse;
521
+
522
+ /** @category Models */
523
+ type CompanySearchParameter = "recruiting" | "notRecruiting" | string;
524
+
525
+ /** @category Models */
526
+ type CompanySearchProfile = {
527
+ id: CompanyId;
528
+ name: string;
529
+ created_at: number;
530
+ days_old: number;
531
+ image: string | null;
532
+ type: CompanyType;
533
+ rating: number;
534
+ employees: CompanyEmployees;
535
+ income: CompanyIncome;
536
+ customers: CompanyCustomers;
537
+ applications_allowed: boolean;
538
+ };
539
+
540
+ /** @category Models */
541
+ type CompanySelectionName = "applications" | "companies" | "employees" | "lookup" | "news" | "profile" | "snapshot" | "stock" | "timestamp" | string;
542
+
543
+ /** @category Models */
544
+ type CompanyStaffRoomSizeEnum = "No staff room" | "Small staff room" | "Standard staff room" | "Large staff room" | "Very large staff room" | "Huge staff room" | "Colossal staff room";
545
+
546
+ /** @category Models */
547
+ type CompanyStockItem = {
548
+ name: string;
549
+ id: number;
550
+ cost: number;
551
+ rrp: number;
552
+ price: number;
553
+ in_stock: number;
554
+ on_order: number;
555
+ sold_amount: number;
556
+ sold_worth: number;
557
+ };
558
+
559
+ /** @category Models */
560
+ type CompanyStockResponse = {
561
+ stock: CompanyStockItem[];
562
+ };
563
+
564
+ /** @category Models */
565
+ type CompanyStorageSizeEnum = "Small room" | "Standard room" | "Large room" | "Huge room" | "Warehouse" | "Large warehouse" | "Huge warehouse";
566
+
567
+ /** @category Models */
568
+ type CompanyType = {
569
+ id: CompanyTypeId;
570
+ name: string;
571
+ };
572
+
334
573
  /** @category Models */
335
574
  type CompanyTypeId = number;
336
575
 
576
+ /** @category Models */
577
+ type CompanyUpgrades = {
578
+ staff_room: CompanyStaffRoomSizeEnum;
579
+ storage: string;
580
+ storage_capacity: CompanyStorageSizeEnum;
581
+ };
582
+
337
583
  /** @category Models */
338
584
  type CountryEnum = "Mexico" | "Hawaii" | "South Africa" | "Japan" | "China" | "Argentina" | "Switzerland" | "Canada" | "United Kingdom" | "UAE" | "Cayman Islands" | "Torn";
339
585
 
@@ -391,6 +637,12 @@ type ErrorDailyReadLimitReached = {
391
637
  error: string;
392
638
  };
393
639
 
640
+ /** @category Models */
641
+ type ErrorFileDoesNotExist = {
642
+ code: number;
643
+ error: string;
644
+ };
645
+
394
646
  /** @category Models */
395
647
  type ErrorIncorrectCategory = {
396
648
  code: number;
@@ -570,7 +822,7 @@ type FactionApplication = {
570
822
  };
571
823
  message: string | null;
572
824
  valid_until: number;
573
- status: FactionApplicationStatusEnum;
825
+ status: ApplicationStatusEnum;
574
826
  };
575
827
 
576
828
  /** @category Models */
@@ -578,9 +830,6 @@ type FactionApplicationsResponse = {
578
830
  applications: FactionApplication[];
579
831
  };
580
832
 
581
- /** @category Models */
582
- type FactionApplicationStatusEnum = "accepted" | "declined" | "withdrawn" | "active";
583
-
584
833
  /** @category Models */
585
834
  type FactionAttackResult = "None" | "Attacked" | "Mugged" | "Hospitalized" | "Arrested" | "Looted" | "Lost" | "Stalemate" | "Assist" | "Escape" | "Timeout" | "Special" | "Bounty" | "Interrupted";
586
835
 
@@ -610,6 +859,7 @@ type FactionBasic = {
610
859
  name: string;
611
860
  tag: string;
612
861
  tag_image: string;
862
+ banner_image: string;
613
863
  leader_id: UserId;
614
864
  co_leader_id: UserId;
615
865
  respect: number;
@@ -805,8 +1055,6 @@ type FactionCrimeRewardPayout = {
805
1055
  type FactionCrimeSlot = {
806
1056
  position: string;
807
1057
  position_info: FactionSlotPositionInfo;
808
- position_id?: TornOrganizedCrimePositionIdDeprecated;
809
- position_number?: number;
810
1058
  item_requirement: {
811
1059
  id: ItemId;
812
1060
  is_reusable: boolean;
@@ -900,22 +1148,9 @@ type FactionMembersResponse = {
900
1148
  members: FactionMember[];
901
1149
  };
902
1150
 
903
- /** @category Models */
904
- type FactionNews = {
905
- id: string;
906
- text: string;
907
- timestamp: number;
908
- };
909
-
910
1151
  /** @category Models */
911
1152
  type FactionNewsCategory = "main" | "attack" | "armoryDeposit" | "armoryAction" | "territoryWar" | "rankedWar" | "territoryGain" | "chain" | "crime" | "membership" | "depositFunds" | "giveFunds";
912
1153
 
913
- /** @category Models */
914
- type FactionNewsResponse = {
915
- news: FactionNews[];
916
- _metadata: RequestMetadataWithLinks;
917
- };
918
-
919
1154
  /** @category Models */
920
1155
  type FactionOngoingChain = {
921
1156
  id: ChainId;
@@ -940,7 +1175,7 @@ type FactionOrganizedCrimePayoutType = "balance" | "wallet" | "inventory";
940
1175
  type FactionPact = {
941
1176
  faction_id: FactionId;
942
1177
  faction_name: string;
943
- until: string;
1178
+ until: number;
944
1179
  };
945
1180
 
946
1181
  /** @category Models */
@@ -1134,7 +1369,7 @@ type FactionRankedWarsCategoryEnum = "all" | "ongoing";
1134
1369
  type FactionRankEnum = "Unranked" | "Bronze" | "Silver" | "Gold" | "Platinum" | "Diamond";
1135
1370
 
1136
1371
  /** @category Models */
1137
- type FactionResponse = FactionHofResponse | FactionMembersResponse | FactionBasicResponse | FactionWarsResponse | FactionNewsResponse | RevivesResponse | FactionTerritoryWarsHistoryResponse | AttacksResponse | FactionBalanceResponse | FactionRaidWarReportResponse | FactionTerritoriesOwnershipResponse | FactionPositionsResponse | RevivesFullResponse | AttacksFullResponse | FactionApplicationsResponse | FactionOngoingChainResponse | FactionChainsResponse | FactionChainReportResponse | FactionCrimesResponse | FactionCrimeResponse | FactionRaidsResponse | FactionWarfareResponse | FactionRankedWarReportResponse | FactionTerritoryWarReportResponse | FactionTerritoriesResponse | FactionUpgradesResponse | FactionStatsResponse | FactionContributorsResponse | FactionRacketsResponse | FactionRankedWarResponse | FactionLookupResponse | TimestampResponse;
1372
+ type FactionResponse = FactionHofResponse | FactionMembersResponse | FactionBasicResponse | FactionWarsResponse | NewsResponse | RevivesResponse | FactionTerritoryWarsHistoryResponse | AttacksResponse | FactionBalanceResponse | FactionRaidWarReportResponse | FactionTerritoriesOwnershipResponse | FactionPositionsResponse | RevivesFullResponse | AttacksFullResponse | FactionApplicationsResponse | FactionOngoingChainResponse | FactionChainsResponse | FactionChainReportResponse | FactionCrimesResponse | FactionCrimeResponse | FactionRaidsResponse | FactionWarfareResponse | FactionRankedWarReportResponse | FactionTerritoryWarReportResponse | FactionTerritoriesResponse | FactionUpgradesResponse | FactionStatsResponse | FactionContributorsResponse | FactionRacketsResponse | FactionRankedWarResponse | FactionLookupResponse | TimestampResponse;
1138
1373
 
1139
1374
  /** @category Models */
1140
1375
  type FactionSearch = {
@@ -1142,6 +1377,7 @@ type FactionSearch = {
1142
1377
  name: string;
1143
1378
  respect: number;
1144
1379
  members: number;
1380
+ members_max: number;
1145
1381
  leader: FactionSearchLeader;
1146
1382
  co_leader: FactionSearchLeader | null;
1147
1383
  image: string | null;
@@ -1216,6 +1452,7 @@ type FactionTerritoryEnum = "AAB" | "AAC" | "AAD" | "AAE" | "AAF" | "AAG" | "ABA
1216
1452
  /** @category Models */
1217
1453
  type FactionTerritoryOwnership = {
1218
1454
  id: string;
1455
+ irradiated: boolean;
1219
1456
  owned_by: FactionId | null;
1220
1457
  acquired_at: number | null;
1221
1458
  };
@@ -1756,7 +1993,7 @@ type LogId = number;
1756
1993
  /** @category Models */
1757
1994
  type MarketItemMarketResponse = {
1758
1995
  itemmarket: ItemMarket;
1759
- _metadata: RequestMetadataWithLinks;
1996
+ _metadata: RequestMetadataWithLinksAndTotal;
1760
1997
  };
1761
1998
 
1762
1999
  /** @category Models */
@@ -1769,7 +2006,7 @@ type MarketPropertiesResponse = {
1769
2006
  properties: MarketPropertyDetails;
1770
2007
  properties_timestamp: number;
1771
2008
  properties_delay?: number;
1772
- _metadata: RequestMetadataWithLinks;
2009
+ _metadata: RequestMetadataWithLinksAndTotal;
1773
2010
  };
1774
2011
 
1775
2012
  /** @category Models */
@@ -1803,7 +2040,7 @@ type MarketRentalsResponse = {
1803
2040
  rentals: MarketRentalDetails;
1804
2041
  rentals_timestamp: number;
1805
2042
  rentals_delay?: number;
1806
- _metadata: RequestMetadataWithLinks;
2043
+ _metadata: RequestMetadataWithLinksAndTotal;
1807
2044
  };
1808
2045
 
1809
2046
  /** @category Models */
@@ -1854,6 +2091,19 @@ type MissionRewardUpgrade = "Item" | "Ammo" | "Upgrade";
1854
2091
  /** @category Models */
1855
2092
  type MissionStatusEnum = "Accepted" | "Available" | "Failed" | "Completed";
1856
2093
 
2094
+ /** @category Models */
2095
+ type News = {
2096
+ id: string;
2097
+ text: string;
2098
+ timestamp: number;
2099
+ };
2100
+
2101
+ /** @category Models */
2102
+ type NewsResponse = {
2103
+ news: News[];
2104
+ _metadata: RequestMetadataWithLinks;
2105
+ };
2106
+
1857
2107
  /** @category Models */
1858
2108
  type OrganizedCrimeName = string;
1859
2109
 
@@ -2949,8 +3199,8 @@ type TimestampResponse = {
2949
3199
  type TornBountiesResponse = {
2950
3200
  bounties: Bounty[];
2951
3201
  bounties_timestamp: number;
2952
- bounties_delay?: number;
2953
- _metadata: RequestMetadataWithLinks;
3202
+ bounties_delay: number;
3203
+ _metadata: RequestMetadataWithLinksAndTotal;
2954
3204
  };
2955
3205
 
2956
3206
  /** @category Models */
@@ -3263,6 +3513,7 @@ type TornItemDetailsResponse = {
3263
3513
  type TornItemMods = {
3264
3514
  id: ItemModId;
3265
3515
  name: string;
3516
+ image: string;
3266
3517
  description: string;
3267
3518
  dual_fit: boolean;
3268
3519
  weapons: TornItemWeaponTypeEnum[];
@@ -3402,7 +3653,6 @@ type TornOrganizedCrimeScope = {
3402
3653
 
3403
3654
  /** @category Models */
3404
3655
  type TornOrganizedCrimeSlot = {
3405
- id?: TornOrganizedCrimePositionIdDeprecated;
3406
3656
  position_info: FactionSlotPositionInfo;
3407
3657
  name: string;
3408
3658
  required_item: TornOrganizedCrimeRequiredItem | null;
@@ -3807,6 +4057,14 @@ type UserCalendarResponse = {
3807
4057
  calendar: UserCalendar;
3808
4058
  };
3809
4059
 
4060
+ /** @category Models */
4061
+ type UserCasinoResponse = {
4062
+ casino: {
4063
+ tokens: number;
4064
+ streak: number;
4065
+ };
4066
+ };
4067
+
3810
4068
  /** @category Models */
3811
4069
  type UserClothing = {
3812
4070
  id: ItemId;
@@ -4098,6 +4356,19 @@ type UserEnlistedCarsResponse = {
4098
4356
  /** @category Models */
4099
4357
  type UserEquipment = TornItemDetails & {
4100
4358
  slot: number;
4359
+ mods: UserEquipmentItemMod[];
4360
+ ammo: {
4361
+ id: AmmoId;
4362
+ name: string;
4363
+ quantity: number;
4364
+ type: TornItemAmmoTypeEnum;
4365
+ };
4366
+ };
4367
+
4368
+ /** @category Models */
4369
+ type UserEquipmentItemMod = {
4370
+ id: ItemModId;
4371
+ name: string;
4101
4372
  };
4102
4373
 
4103
4374
  /** @category Models */
@@ -4295,6 +4566,19 @@ type UserItemMarketResponse = {
4295
4566
  _metadata: RequestMetadataWithLinks;
4296
4567
  };
4297
4568
 
4569
+ /** @category Models */
4570
+ type UserItemMod = {
4571
+ id: ItemModId;
4572
+ title: string;
4573
+ equipped: boolean;
4574
+ equipped_item_uid: ItemUid | null;
4575
+ };
4576
+
4577
+ /** @category Models */
4578
+ type UserItemModsResponse = {
4579
+ itemmods: UserItemMod[];
4580
+ };
4581
+
4298
4582
  /** @category Models */
4299
4583
  type UserJob = {
4300
4584
  type: "job";
@@ -4709,7 +4993,7 @@ type UserRaceCarDetails = RaceCar & {
4709
4993
 
4710
4994
  /** @category Models */
4711
4995
  type UserRaceDetails = RacingRaceDetails & {
4712
- skill_gain: number;
4996
+ skill_gain: number | null;
4713
4997
  };
4714
4998
 
4715
4999
  /** @category Models */
@@ -4747,7 +5031,7 @@ type UserRefillsResponse = {
4747
5031
  };
4748
5032
 
4749
5033
  /** @category Models */
4750
- type UserResponse = UserCrimesResponse | UserWeaponExpResponse | UserAmmoResponse | UserDiscordResponse | UserRacesResponse | UserEnlistedCarsResponse | UserForumPostsResponse | UserForumThreadsResponse | UserForumSubscribedThreadsResponse | UserForumFeedResponse | UserForumFriendsResponse | UserPropertyResponse | ReportsResponse | UserHofResponse | UserCalendarResponse | UserRacingRecordsResponse | UserEducationResponse | UserStocksResponse | UserBountiesResponse | UserJobRanksResponse | UserPropertiesResponse | UserFactionBalanceResponse | UserBasicResponse | RevivesResponse | UserHonorsResponse | UserMedalsResponse | UserMeritsResponse | RevivesFullResponse | UserProfileResponse | UserJobResponse | UserFactionResponse | UserCompetitionResponse | UserIconsResponse | UserItemMarketResponse | UserListResponse | UserEquipmentResponse | UserMissionsResponse | UserPersonalStatsResponse | UserOrganizedCrimeResponse | AttacksResponse | UserBarsResponse | UserCooldownsResponse | UserNotificationsResponse | UserRefillsResponse | UserTravelResponse | UserVirusResponse | AttacksFullResponse | UserMoneyResponse | UserJobPointsResponse | UserWorkStatsResponse | UserSkillsResponse | UserBattleStatsResponse | UserTradeResponse | UserTradesResponse | UserNewEventsResponse | UserEventsResponse | UserMessagesResponse | UserNewMessagesResponse | UserLookupResponse | UserInventoryResponse | TimestampResponse;
5034
+ type UserResponse = UserCrimesResponse | UserWeaponExpResponse | UserAmmoResponse | UserDiscordResponse | UserRacesResponse | UserEnlistedCarsResponse | UserForumPostsResponse | UserForumThreadsResponse | UserForumSubscribedThreadsResponse | UserForumFeedResponse | UserForumFriendsResponse | UserPropertyResponse | ReportsResponse | UserHofResponse | UserCalendarResponse | UserRacingRecordsResponse | UserEducationResponse | UserStocksResponse | UserBountiesResponse | UserJobRanksResponse | UserPropertiesResponse | UserFactionBalanceResponse | UserBasicResponse | RevivesResponse | UserHonorsResponse | UserMedalsResponse | UserMeritsResponse | RevivesFullResponse | UserProfileResponse | UserJobResponse | UserFactionResponse | UserCompetitionResponse | UserIconsResponse | UserItemMarketResponse | UserListResponse | UserEquipmentResponse | UserMissionsResponse | UserPersonalStatsResponse | UserOrganizedCrimeResponse | UserItemModsResponse | AttacksResponse | UserBarsResponse | UserCooldownsResponse | UserNotificationsResponse | UserRefillsResponse | UserTravelResponse | UserVirusResponse | AttacksFullResponse | UserCasinoResponse | UserMoneyResponse | UserJobPointsResponse | UserWorkStatsResponse | UserSkillsResponse | UserBattleStatsResponse | UserTradeResponse | UserTradesResponse | UserNewEventsResponse | UserEventsResponse | UserMessagesResponse | UserNewMessagesResponse | UserLookupResponse | UserInventoryResponse | TimestampResponse;
4751
5035
 
4752
5036
  /** @category Models */
4753
5037
  type UserRoleEnum = "Admin" | "Officer" | "Moderator" | "Helper" | "Tester" | "NPC" | "Committee" | "Reporter" | "Wiki Contributor" | "Wiki Editor" | "Civilian";
@@ -4756,7 +5040,7 @@ type UserRoleEnum = "Admin" | "Officer" | "Moderator" | "Helper" | "Tester" | "N
4756
5040
  type UserRpsStatus = "scissors" | "rock" | "paper";
4757
5041
 
4758
5042
  /** @category Models */
4759
- 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" | "inventory" | "itemmarket" | "job" | "jobpoints" | "jobranks" | "list" | "log" | "lookup" | "medals" | "merits" | "messages" | "missions" | "money" | "newevents" | "newmessages" | "notifications" | "organizedcrime" | "personalstats" | "profile" | "properties" | "property" | "races" | "racingrecords" | "refills" | "reports" | "revives" | "revivesfull" | "skills" | "stocks" | "trades" | "trade" | "travel" | "timestamp" | "weaponexp" | "workstats" | "bazaar" | "criminalrecord" | "display" | "education" | "gym" | "networth" | "perks" | string;
5043
+ type UserSelectionName = "ammo" | "attacks" | "attacksfull" | "bars" | "basic" | "battlestats" | "bounties" | "calendar" | "casino" | "competition" | "cooldowns" | "crimes" | "discord" | "enlistedcars" | "equipment" | "events" | "faction" | "factionbalance" | "forumfeed" | "forumfriends" | "forumposts" | "forumsubscribedthreads" | "forumthreads" | "hof" | "honors" | "icons" | "inventory" | "itemmarket" | "itemmod" | "job" | "jobpoints" | "jobranks" | "list" | "log" | "lookup" | "medals" | "merits" | "messages" | "missions" | "money" | "newevents" | "newmessages" | "notifications" | "organizedcrime" | "personalstats" | "profile" | "properties" | "property" | "races" | "racingrecords" | "refills" | "reports" | "revives" | "revivesfull" | "skills" | "stocks" | "trades" | "trade" | "travel" | "timestamp" | "weaponexp" | "workstats" | "bazaar" | "criminalrecord" | "display" | "education" | "gym" | "networth" | "perks" | string;
4760
5044
 
4761
5045
  /** @category Models */
4762
5046
  type UserSkillDetail = {
@@ -4906,6 +5190,152 @@ type UserWorkStatsResponse = {
4906
5190
  /** @category Models */
4907
5191
  type WeaponBonusEnum = "Any" | "Double" | "Yellow" | "Orange" | "Red" | "Achilles" | "Assassinate" | "Backstab" | "Berserk" | "Bleed" | "Blindfire" | "Blindside" | "Bloodlust" | "Burn" | "Comeback" | "Conserve" | "Cripple" | "Crusher" | "Cupid" | "Deadeye" | "Deadly" | "Demoralize" | "Disarm" | "Double-edged" | "Double Tap" | "Emasculate" | "Empower" | "Eviscerate" | "Execute" | "Expose" | "Finale" | "Focus" | "Freeze" | "Frenzy" | "Fury" | "Grace" | "Hazardous" | "Home run" | "Irradiate" | "Lacerate" | "Motivation" | "Paralyze" | "Parry" | "Penetrate" | "Plunder" | "Poison" | "Powerful" | "Proficience" | "Puncture" | "Quicken" | "Rage" | "Revitalize" | "Roshambo" | "Shock" | "Sleep" | "Slow" | "Smash" | "Smurf" | "Specialist" | "Spray" | "Storage" | "Stricken" | "Stun" | "Suppress" | "Sure Shot" | "Throttle" | "Toxin" | "Warlord" | "Weaken" | "Wind-up" | "Wither";
4908
5192
 
5193
+ /**
5194
+ * Access the Company API endpoints
5195
+ * @category Endpoints
5196
+ */
5197
+ declare class CompanyEndpoint {
5198
+ private readonly requester;
5199
+ constructor(requester: Requester);
5200
+ /**
5201
+ * Get your company's applications
5202
+ * @param params - Optional query parameters
5203
+ */
5204
+ applications(params?: {
5205
+ timestamp?: number | string;
5206
+ }): Promise<CompanyApplicationsResponse>;
5207
+ /**
5208
+ * Get my company's employees
5209
+ * @param params - Optional query parameters
5210
+ */
5211
+ employees(params?: {
5212
+ striptags?: "true" | "false";
5213
+ timestamp?: number | string;
5214
+ }): Promise<CompanyEmployeesResponse>;
5215
+ /**
5216
+ * Get your company's news details
5217
+ * @param params - Optional query parameters
5218
+ */
5219
+ news(params?: {
5220
+ striptags?: "true" | "false";
5221
+ limit?: number;
5222
+ sort?: "DESC" | "ASC";
5223
+ to?: number;
5224
+ from?: number;
5225
+ cat?: CompanyNewsCategory;
5226
+ timestamp?: number | string;
5227
+ }): Promise<PaginatedResponse<NewsResponse> & NewsResponse>;
5228
+ /**
5229
+ * Get my company's profile
5230
+ * @param params - Optional query parameters
5231
+ */
5232
+ profile(params?: {
5233
+ striptags?: "true" | "false";
5234
+ timestamp?: number | string;
5235
+ }): Promise<CompanyProfileResponseMixed>;
5236
+ /**
5237
+ * Search companies by name or other criteria
5238
+ * @param params - Optional query parameters
5239
+ */
5240
+ search(params?: {
5241
+ name?: string;
5242
+ filters?: ("recruiting" | "notRecruiting" | string)[];
5243
+ limit?: number;
5244
+ offset?: number;
5245
+ timestamp?: number | string;
5246
+ }): Promise<PaginatedResponse<CompaniesSearchResponse> & CompaniesSearchResponse>;
5247
+ /**
5248
+ * Get daily companies snapshot CSV
5249
+ * @param params - Optional query parameters
5250
+ */
5251
+ snapshot(params?: {
5252
+ timestamp?: number | string;
5253
+ }): Promise<unknown>;
5254
+ /**
5255
+ * Get your company's stock
5256
+ * @param params - Optional query parameters
5257
+ */
5258
+ stock(params?: {
5259
+ timestamp?: number | string;
5260
+ }): Promise<CompanyStockResponse>;
5261
+ /**
5262
+ * No summary available
5263
+ * @param params - Optional query parameters
5264
+ */
5265
+ lookup(params?: {
5266
+ timestamp?: number | string;
5267
+ }): Promise<CompanyLookupResponse>;
5268
+ /**
5269
+ * Get current server time
5270
+ * @param params - Optional query parameters
5271
+ */
5272
+ timestamp(params?: {
5273
+ timestamp?: number | string;
5274
+ }): Promise<TimestampResponse>;
5275
+ /**
5276
+ * Get any Company selection
5277
+ * @param params - Optional query parameters
5278
+ */
5279
+ get(params?: {
5280
+ selections?: CompanySelectionName[];
5281
+ id?: CompanyId;
5282
+ legacy?: CompanySelectionName[];
5283
+ cat?: CompanyNewsCategory;
5284
+ limit?: number;
5285
+ striptags?: "true" | "false";
5286
+ offset?: number;
5287
+ timestamp?: number | string;
5288
+ }): Promise<CompanyResponse>;
5289
+ /** @param id - The ID for this context */
5290
+ withId(id: string | number): CompanyIdContext;
5291
+ /** @param typeId - The ID for this context */
5292
+ withTypeId(typeId: string | number): CompanyTypeIdContext;
5293
+ }
5294
+ /**
5295
+ * Context class for Company API endpoints that require a "id"
5296
+ * @category Endpoints
5297
+ */
5298
+ declare class CompanyIdContext {
5299
+ private readonly requester;
5300
+ private readonly contextId;
5301
+ constructor(requester: Requester, contextId: string | number);
5302
+ /**
5303
+ * Get a company's employees
5304
+ * @param params - Optional query parameters
5305
+ */
5306
+ employees(params?: {
5307
+ striptags?: "true" | "false";
5308
+ timestamp?: number | string;
5309
+ }): Promise<CompanyEmployeesResponseBasic>;
5310
+ /**
5311
+ * Get a company's profile
5312
+ * @param params - Optional query parameters
5313
+ */
5314
+ profile(params?: {
5315
+ striptags?: "true" | "false";
5316
+ timestamp?: number | string;
5317
+ }): Promise<CompanyProfileResponse>;
5318
+ }
5319
+ /**
5320
+ * Context class for Company API endpoints that require a "typeId"
5321
+ * @category Endpoints
5322
+ */
5323
+ declare class CompanyTypeIdContext {
5324
+ private readonly requester;
5325
+ private readonly contextId;
5326
+ constructor(requester: Requester, contextId: string | number);
5327
+ /**
5328
+ * Get a list of companies for a specific company type
5329
+ * @param params - Optional query parameters
5330
+ */
5331
+ companies(params?: {
5332
+ limit?: number;
5333
+ offset?: number;
5334
+ striptags?: "true" | "false";
5335
+ timestamp?: number | string;
5336
+ }): Promise<PaginatedResponse<CompaniesResponse> & CompaniesResponse>;
5337
+ }
5338
+
4909
5339
  /**
4910
5340
  * Access the Faction API endpoints
4911
5341
  * @category Endpoints
@@ -4918,7 +5348,7 @@ declare class FactionEndpoint {
4918
5348
  * @param params - Optional query parameters
4919
5349
  */
4920
5350
  applications(params?: {
4921
- timestamp?: string;
5351
+ timestamp?: number | string;
4922
5352
  }): Promise<FactionApplicationsResponse>;
4923
5353
  /**
4924
5354
  * Get your faction's detailed attacks
@@ -4930,7 +5360,7 @@ declare class FactionEndpoint {
4930
5360
  sort?: "DESC" | "ASC";
4931
5361
  to?: number;
4932
5362
  from?: number;
4933
- timestamp?: string;
5363
+ timestamp?: number | string;
4934
5364
  }): Promise<PaginatedResponse<AttacksResponse> & AttacksResponse>;
4935
5365
  /**
4936
5366
  * Get your faction's simplified attacks
@@ -4942,7 +5372,7 @@ declare class FactionEndpoint {
4942
5372
  sort?: "DESC" | "ASC";
4943
5373
  to?: number;
4944
5374
  from?: number;
4945
- timestamp?: string;
5375
+ timestamp?: number | string;
4946
5376
  }): Promise<PaginatedResponse<AttacksFullResponse> & AttacksFullResponse>;
4947
5377
  /**
4948
5378
  * Get your faction's & member's balance details
@@ -4950,21 +5380,21 @@ declare class FactionEndpoint {
4950
5380
  */
4951
5381
  balance(params?: {
4952
5382
  cat?: "all" | "current";
4953
- timestamp?: string;
5383
+ timestamp?: number | string;
4954
5384
  }): Promise<FactionBalanceResponse>;
4955
5385
  /**
4956
5386
  * Get your faction's basic details
4957
5387
  * @param params - Optional query parameters
4958
5388
  */
4959
5389
  basic(params?: {
4960
- timestamp?: string;
5390
+ timestamp?: number | string;
4961
5391
  }): Promise<FactionBasicResponse>;
4962
5392
  /**
4963
5393
  * Get your faction's current chain
4964
5394
  * @param params - Optional query parameters
4965
5395
  */
4966
5396
  chain(params?: {
4967
- timestamp?: string;
5397
+ timestamp?: number | string;
4968
5398
  }): Promise<FactionOngoingChainResponse>;
4969
5399
  /**
4970
5400
  * Get a list of your faction's completed chains
@@ -4975,14 +5405,14 @@ declare class FactionEndpoint {
4975
5405
  sort?: "DESC" | "ASC";
4976
5406
  to?: number;
4977
5407
  from?: number;
4978
- timestamp?: string;
5408
+ timestamp?: number | string;
4979
5409
  }): Promise<PaginatedResponse<FactionChainsResponse> & FactionChainsResponse>;
4980
5410
  /**
4981
5411
  * Get your faction's latest chain report
4982
5412
  * @param params - Optional query parameters
4983
5413
  */
4984
5414
  chainreport(params?: {
4985
- timestamp?: string;
5415
+ timestamp?: number | string;
4986
5416
  }): Promise<FactionChainReportResponse>;
4987
5417
  /**
4988
5418
  * Get your faction's challenge contributors
@@ -4991,7 +5421,7 @@ declare class FactionEndpoint {
4991
5421
  contributors(params?: {
4992
5422
  stat?: FactionStatEnum;
4993
5423
  cat?: "all" | "current";
4994
- timestamp?: string;
5424
+ timestamp?: number | string;
4995
5425
  }): Promise<FactionContributorsResponse>;
4996
5426
  /**
4997
5427
  * Get your faction's organized crimes
@@ -5005,14 +5435,14 @@ declare class FactionEndpoint {
5005
5435
  from?: number;
5006
5436
  to?: number;
5007
5437
  sort?: "DESC" | "ASC";
5008
- timestamp?: string;
5438
+ timestamp?: number | string;
5009
5439
  }): Promise<PaginatedResponse<FactionCrimesResponse> & FactionCrimesResponse>;
5010
5440
  /**
5011
5441
  * Get your faction's hall of fame rankings.
5012
5442
  * @param params - Optional query parameters
5013
5443
  */
5014
5444
  hof(params?: {
5015
- timestamp?: string;
5445
+ timestamp?: number | string;
5016
5446
  }): Promise<FactionHofResponse>;
5017
5447
  /**
5018
5448
  * Get a list of your faction's members
@@ -5020,7 +5450,7 @@ declare class FactionEndpoint {
5020
5450
  */
5021
5451
  members(params?: {
5022
5452
  striptags?: "true" | "false";
5023
- timestamp?: string;
5453
+ timestamp?: number | string;
5024
5454
  }): Promise<FactionMembersResponse>;
5025
5455
  /**
5026
5456
  * Get your faction's news details
@@ -5033,21 +5463,21 @@ declare class FactionEndpoint {
5033
5463
  to?: number;
5034
5464
  from?: number;
5035
5465
  cat?: FactionNewsCategory;
5036
- timestamp?: string;
5037
- }): Promise<PaginatedResponse<FactionNewsResponse> & FactionNewsResponse>;
5466
+ timestamp?: number | string;
5467
+ }): Promise<PaginatedResponse<NewsResponse> & NewsResponse>;
5038
5468
  /**
5039
5469
  * Get your faction's positions details
5040
5470
  * @param params - Optional query parameters
5041
5471
  */
5042
5472
  positions(params?: {
5043
- timestamp?: string;
5473
+ timestamp?: number | string;
5044
5474
  }): Promise<FactionPositionsResponse>;
5045
5475
  /**
5046
5476
  * Get a list of current rackets
5047
5477
  * @param params - Optional query parameters
5048
5478
  */
5049
5479
  rackets(params?: {
5050
- timestamp?: string;
5480
+ timestamp?: number | string;
5051
5481
  }): Promise<FactionRacketsResponse>;
5052
5482
  /**
5053
5483
  * Get raids history for your faction
@@ -5058,7 +5488,7 @@ declare class FactionEndpoint {
5058
5488
  to?: number;
5059
5489
  sort?: "DESC" | "ASC";
5060
5490
  limit?: number;
5061
- timestamp?: string;
5491
+ timestamp?: number | string;
5062
5492
  }): Promise<PaginatedResponse<FactionRaidsResponse> & FactionRaidsResponse>;
5063
5493
  /**
5064
5494
  * Get ranked wars history for your faction
@@ -5070,7 +5500,7 @@ declare class FactionEndpoint {
5070
5500
  from?: number;
5071
5501
  to?: number;
5072
5502
  sort?: "DESC" | "ASC";
5073
- timestamp?: string;
5503
+ timestamp?: number | string;
5074
5504
  }): Promise<PaginatedResponse<FactionRankedWarResponse> & FactionRankedWarResponse>;
5075
5505
  /**
5076
5506
  * Get faction reports
@@ -5082,7 +5512,7 @@ declare class FactionEndpoint {
5082
5512
  limit?: number;
5083
5513
  offset?: number;
5084
5514
  sort?: "DESC" | "ASC";
5085
- timestamp?: string;
5515
+ timestamp?: number | string;
5086
5516
  }): Promise<PaginatedResponse<ReportsResponse> & ReportsResponse>;
5087
5517
  /**
5088
5518
  * Get your faction's detailed revives
@@ -5095,7 +5525,7 @@ declare class FactionEndpoint {
5095
5525
  to?: number;
5096
5526
  from?: number;
5097
5527
  striptags?: "true" | "false";
5098
- timestamp?: string;
5528
+ timestamp?: number | string;
5099
5529
  }): Promise<PaginatedResponse<RevivesResponse> & RevivesResponse>;
5100
5530
  /**
5101
5531
  * Get your faction's simplified revives
@@ -5108,7 +5538,7 @@ declare class FactionEndpoint {
5108
5538
  to?: number;
5109
5539
  from?: number;
5110
5540
  striptags?: "true" | "false";
5111
- timestamp?: string;
5541
+ timestamp?: number | string;
5112
5542
  }): Promise<PaginatedResponse<RevivesFullResponse> & RevivesFullResponse>;
5113
5543
  /**
5114
5544
  * Search factions by name or other criteria
@@ -5119,21 +5549,21 @@ declare class FactionEndpoint {
5119
5549
  filters?: ("destroyed" | "notDestroyed" | "recruiting" | "notRecruiting" | string)[];
5120
5550
  limit?: number;
5121
5551
  offset?: number;
5122
- timestamp?: string;
5552
+ timestamp?: number | string;
5123
5553
  }): Promise<PaginatedResponse<FactionSearchResponse> & FactionSearchResponse>;
5124
5554
  /**
5125
5555
  * Get your faction's challenges stats
5126
5556
  * @param params - Optional query parameters
5127
5557
  */
5128
5558
  stats(params?: {
5129
- timestamp?: string;
5559
+ timestamp?: number | string;
5130
5560
  }): Promise<FactionStatsResponse>;
5131
5561
  /**
5132
5562
  * Get a list of your faction's territories
5133
5563
  * @param params - Optional query parameters
5134
5564
  */
5135
5565
  territory(params?: {
5136
- timestamp?: string;
5566
+ timestamp?: number | string;
5137
5567
  }): Promise<FactionTerritoriesResponse>;
5138
5568
  /**
5139
5569
  * Get a list territory ownership
@@ -5142,7 +5572,7 @@ declare class FactionEndpoint {
5142
5572
  territoryownership(params?: {
5143
5573
  offset?: number;
5144
5574
  limit?: number;
5145
- timestamp?: string;
5575
+ timestamp?: number | string;
5146
5576
  }): Promise<FactionTerritoriesOwnershipResponse>;
5147
5577
  /**
5148
5578
  * Get territory wars history for your faction
@@ -5153,14 +5583,14 @@ declare class FactionEndpoint {
5153
5583
  to?: number;
5154
5584
  sort?: "DESC" | "ASC";
5155
5585
  limit?: number;
5156
- timestamp?: string;
5586
+ timestamp?: number | string;
5157
5587
  }): Promise<FactionTerritoryWarsHistoryResponse>;
5158
5588
  /**
5159
5589
  * Get your faction's upgrades
5160
5590
  * @param params - Optional query parameters
5161
5591
  */
5162
5592
  upgrades(params?: {
5163
- timestamp?: string;
5593
+ timestamp?: number | string;
5164
5594
  }): Promise<FactionUpgradesResponse>;
5165
5595
  /**
5166
5596
  * Get faction warfare
@@ -5172,28 +5602,28 @@ declare class FactionEndpoint {
5172
5602
  sort?: "DESC" | "ASC";
5173
5603
  from?: number;
5174
5604
  to?: number;
5175
- timestamp?: string;
5605
+ timestamp?: number | string;
5176
5606
  }): Promise<PaginatedResponse<FactionWarfareResponse> & FactionWarfareResponse>;
5177
5607
  /**
5178
5608
  * Get your faction's wars & pacts details
5179
5609
  * @param params - Optional query parameters
5180
5610
  */
5181
5611
  wars(params?: {
5182
- timestamp?: string;
5612
+ timestamp?: number | string;
5183
5613
  }): Promise<FactionWarsResponse>;
5184
5614
  /**
5185
5615
  * No summary available
5186
5616
  * @param params - Optional query parameters
5187
5617
  */
5188
5618
  lookup(params?: {
5189
- timestamp?: string;
5619
+ timestamp?: number | string;
5190
5620
  }): Promise<FactionLookupResponse>;
5191
5621
  /**
5192
5622
  * Get current server time
5193
5623
  * @param params - Optional query parameters
5194
5624
  */
5195
5625
  timestamp(params?: {
5196
- timestamp?: string;
5626
+ timestamp?: number | string;
5197
5627
  }): Promise<TimestampResponse>;
5198
5628
  /**
5199
5629
  * Get any Faction selection
@@ -5212,7 +5642,7 @@ declare class FactionEndpoint {
5212
5642
  striptags?: "true" | "false";
5213
5643
  sort?: "DESC" | "ASC";
5214
5644
  offset?: number;
5215
- timestamp?: string;
5645
+ timestamp?: number | string;
5216
5646
  }): Promise<FactionResponse>;
5217
5647
  /** @param id - The ID for this context */
5218
5648
  withId(id: string | number): FactionIdContext;
@@ -5240,14 +5670,14 @@ declare class FactionIdContext {
5240
5670
  * @param params - Optional query parameters
5241
5671
  */
5242
5672
  basic(params?: {
5243
- timestamp?: string;
5673
+ timestamp?: number | string;
5244
5674
  }): Promise<FactionBasicResponse>;
5245
5675
  /**
5246
5676
  * Get a faction's current chain
5247
5677
  * @param params - Optional query parameters
5248
5678
  */
5249
5679
  chain(params?: {
5250
- timestamp?: string;
5680
+ timestamp?: number | string;
5251
5681
  }): Promise<FactionOngoingChainResponse>;
5252
5682
  /**
5253
5683
  * Get a list of a faction's completed chains
@@ -5258,14 +5688,14 @@ declare class FactionIdContext {
5258
5688
  sort?: "DESC" | "ASC";
5259
5689
  to?: number;
5260
5690
  from?: number;
5261
- timestamp?: string;
5691
+ timestamp?: number | string;
5262
5692
  }): Promise<PaginatedResponse<FactionChainsResponse> & FactionChainsResponse>;
5263
5693
  /**
5264
5694
  * Get a faction's hall of fame rankings.
5265
5695
  * @param params - Optional query parameters
5266
5696
  */
5267
5697
  hof(params?: {
5268
- timestamp?: string;
5698
+ timestamp?: number | string;
5269
5699
  }): Promise<FactionHofResponse>;
5270
5700
  /**
5271
5701
  * Get a list of a faction's members
@@ -5273,7 +5703,7 @@ declare class FactionIdContext {
5273
5703
  */
5274
5704
  members(params?: {
5275
5705
  striptags?: "true" | "false";
5276
- timestamp?: string;
5706
+ timestamp?: number | string;
5277
5707
  }): Promise<FactionMembersResponse>;
5278
5708
  /**
5279
5709
  * Get a faction's raids history
@@ -5284,7 +5714,7 @@ declare class FactionIdContext {
5284
5714
  to?: number;
5285
5715
  sort?: "DESC" | "ASC";
5286
5716
  limit?: number;
5287
- timestamp?: string;
5717
+ timestamp?: number | string;
5288
5718
  }): Promise<PaginatedResponse<FactionRaidsResponse> & FactionRaidsResponse>;
5289
5719
  /**
5290
5720
  * Get a faction's ranked wars history
@@ -5293,14 +5723,14 @@ declare class FactionIdContext {
5293
5723
  rankedwars(params?: {
5294
5724
  offset?: number;
5295
5725
  limit?: number;
5296
- timestamp?: string;
5726
+ timestamp?: number | string;
5297
5727
  }): Promise<PaginatedResponse<FactionRankedWarResponse> & FactionRankedWarResponse>;
5298
5728
  /**
5299
5729
  * Get a list of a faction's territories
5300
5730
  * @param params - Optional query parameters
5301
5731
  */
5302
5732
  territory(params?: {
5303
- timestamp?: string;
5733
+ timestamp?: number | string;
5304
5734
  }): Promise<FactionTerritoriesResponse>;
5305
5735
  /**
5306
5736
  * Get a faction's territory wars history
@@ -5311,14 +5741,14 @@ declare class FactionIdContext {
5311
5741
  to?: number;
5312
5742
  sort?: "DESC" | "ASC";
5313
5743
  limit?: number;
5314
- timestamp?: string;
5744
+ timestamp?: number | string;
5315
5745
  }): Promise<FactionTerritoryWarsHistoryResponse>;
5316
5746
  /**
5317
5747
  * Get a faction's wars & pacts details
5318
5748
  * @param params - Optional query parameters
5319
5749
  */
5320
5750
  wars(params?: {
5321
- timestamp?: string;
5751
+ timestamp?: number | string;
5322
5752
  }): Promise<FactionWarsResponse>;
5323
5753
  /** Get faction by ID */
5324
5754
  get(): Promise<Faction>;
@@ -5336,7 +5766,7 @@ declare class FactionChainIdContext {
5336
5766
  * @param params - Optional query parameters
5337
5767
  */
5338
5768
  chainreport(params?: {
5339
- timestamp?: string;
5769
+ timestamp?: number | string;
5340
5770
  }): Promise<FactionChainReportResponse>;
5341
5771
  }
5342
5772
  /**
@@ -5352,7 +5782,7 @@ declare class FactionCrimeIdContext {
5352
5782
  * @param params - Optional query parameters
5353
5783
  */
5354
5784
  crime(params?: {
5355
- timestamp?: string;
5785
+ timestamp?: number | string;
5356
5786
  }): Promise<FactionCrimeResponse>;
5357
5787
  }
5358
5788
  /**
@@ -5368,7 +5798,7 @@ declare class FactionRaidWarIdContext {
5368
5798
  * @param params - Optional query parameters
5369
5799
  */
5370
5800
  raidreport(params?: {
5371
- timestamp?: string;
5801
+ timestamp?: number | string;
5372
5802
  }): Promise<FactionRaidWarReportResponse>;
5373
5803
  }
5374
5804
  /**
@@ -5384,7 +5814,7 @@ declare class FactionRankedWarIdContext {
5384
5814
  * @param params - Optional query parameters
5385
5815
  */
5386
5816
  rankedwarreport(params?: {
5387
- timestamp?: string;
5817
+ timestamp?: number | string;
5388
5818
  }): Promise<FactionRankedWarReportResponse>;
5389
5819
  }
5390
5820
  /**
@@ -5400,7 +5830,7 @@ declare class FactionTerritoryWarIdContext {
5400
5830
  * @param params - Optional query parameters
5401
5831
  */
5402
5832
  territorywarreport(params?: {
5403
- timestamp?: string;
5833
+ timestamp?: number | string;
5404
5834
  }): Promise<FactionTerritoryWarReportResponse>;
5405
5835
  }
5406
5836
 
@@ -5416,7 +5846,7 @@ declare class ForumEndpoint {
5416
5846
  * @param params - Optional query parameters
5417
5847
  */
5418
5848
  categories(params?: {
5419
- timestamp?: string;
5849
+ timestamp?: number | string;
5420
5850
  }): Promise<ForumCategoriesResponse>;
5421
5851
  /**
5422
5852
  * Get threads across all forum categories
@@ -5427,21 +5857,21 @@ declare class ForumEndpoint {
5427
5857
  sort?: "DESC" | "ASC";
5428
5858
  from?: number;
5429
5859
  to?: number;
5430
- timestamp?: string;
5860
+ timestamp?: number | string;
5431
5861
  }): Promise<PaginatedResponse<ForumThreadsResponse> & ForumThreadsResponse>;
5432
5862
  /**
5433
5863
  * Get all available forum selections
5434
5864
  * @param params - Optional query parameters
5435
5865
  */
5436
5866
  lookup(params?: {
5437
- timestamp?: string;
5867
+ timestamp?: number | string;
5438
5868
  }): Promise<ForumLookupResponse>;
5439
5869
  /**
5440
5870
  * Get current server time
5441
5871
  * @param params - Optional query parameters
5442
5872
  */
5443
5873
  timestamp(params?: {
5444
- timestamp?: string;
5874
+ timestamp?: number | string;
5445
5875
  }): Promise<TimestampResponse>;
5446
5876
  /**
5447
5877
  * Get any Forum selection
@@ -5456,7 +5886,7 @@ declare class ForumEndpoint {
5456
5886
  from?: number;
5457
5887
  to?: number;
5458
5888
  offset?: number;
5459
- timestamp?: string;
5889
+ timestamp?: number | string;
5460
5890
  }): Promise<ForumResponse>;
5461
5891
  /** @param threadId - The ID for this context */
5462
5892
  withThreadId(threadId: string | number): ForumThreadIdContext;
@@ -5481,14 +5911,14 @@ declare class ForumThreadIdContext {
5481
5911
  sort?: "DESC" | "ASC";
5482
5912
  from?: number;
5483
5913
  to?: number;
5484
- timestamp?: string;
5914
+ timestamp?: number | string;
5485
5915
  }): Promise<PaginatedResponse<ForumPostsResponse> & ForumPostsResponse>;
5486
5916
  /**
5487
5917
  * Get specific thread details
5488
5918
  * @param params - Optional query parameters
5489
5919
  */
5490
5920
  thread(params?: {
5491
- timestamp?: string;
5921
+ timestamp?: number | string;
5492
5922
  }): Promise<ForumThreadResponse>;
5493
5923
  }
5494
5924
  /**
@@ -5508,7 +5938,7 @@ declare class ForumCategoryIdsContext {
5508
5938
  sort?: "DESC" | "ASC";
5509
5939
  from?: number;
5510
5940
  to?: number;
5511
- timestamp?: string;
5941
+ timestamp?: number | string;
5512
5942
  }): Promise<PaginatedResponse<ForumThreadsResponse> & ForumThreadsResponse>;
5513
5943
  }
5514
5944
 
@@ -5526,14 +5956,14 @@ declare class KeyEndpoint {
5526
5956
  log(params?: {
5527
5957
  limit?: number;
5528
5958
  offset?: number;
5529
- timestamp?: string;
5959
+ timestamp?: number | string;
5530
5960
  }): Promise<KeyLogResponse>;
5531
5961
  /**
5532
5962
  * Get current key info
5533
5963
  * @param params - Optional query parameters
5534
5964
  */
5535
5965
  info(params?: {
5536
- timestamp?: string;
5966
+ timestamp?: number | string;
5537
5967
  }): Promise<KeyInfoResponse>;
5538
5968
  /**
5539
5969
  * Get any Key selection
@@ -5543,7 +5973,7 @@ declare class KeyEndpoint {
5543
5973
  selections?: KeySelectionName[];
5544
5974
  limit?: number;
5545
5975
  offset?: number;
5546
- timestamp?: string;
5976
+ timestamp?: number | string;
5547
5977
  }): Promise<KeyResponse>;
5548
5978
  }
5549
5979
 
@@ -5565,7 +5995,7 @@ declare class MarketEndpoint {
5565
5995
  sort?: "DESC" | "ASC";
5566
5996
  from?: number;
5567
5997
  to?: number;
5568
- timestamp?: string;
5998
+ timestamp?: number | string;
5569
5999
  }): Promise<PaginatedResponse<AuctionHouseResponse> & AuctionHouseResponse>;
5570
6000
  /**
5571
6001
  * Get bazaar directory
@@ -5573,21 +6003,21 @@ declare class MarketEndpoint {
5573
6003
  */
5574
6004
  bazaar(params?: {
5575
6005
  cat?: MarketSpecializedBazaarCategoryEnum;
5576
- timestamp?: string;
6006
+ timestamp?: number | string;
5577
6007
  }): Promise<BazaarResponse>;
5578
6008
  /**
5579
6009
  * Get all available market selections
5580
6010
  * @param params - Optional query parameters
5581
6011
  */
5582
6012
  lookup(params?: {
5583
- timestamp?: string;
6013
+ timestamp?: number | string;
5584
6014
  }): Promise<MarketLookupResponse>;
5585
6015
  /**
5586
6016
  * Get current server time
5587
6017
  * @param params - Optional query parameters
5588
6018
  */
5589
6019
  timestamp(params?: {
5590
- timestamp?: string;
6020
+ timestamp?: number | string;
5591
6021
  }): Promise<TimestampResponse>;
5592
6022
  /**
5593
6023
  * Get any Market selection
@@ -5602,7 +6032,7 @@ declare class MarketEndpoint {
5602
6032
  sort?: "DESC" | "ASC";
5603
6033
  offset?: number;
5604
6034
  limit?: number;
5605
- timestamp?: string;
6035
+ timestamp?: number | string;
5606
6036
  }): Promise<MarketResponse>;
5607
6037
  /** @param propertyTypeId - The ID for this context */
5608
6038
  withPropertyTypeId(propertyTypeId: string | number): MarketPropertyTypeIdContext;
@@ -5620,7 +6050,7 @@ declare class MarketIdContext {
5620
6050
  * @param params - Optional query parameters
5621
6051
  */
5622
6052
  auctionhouselisting(params?: {
5623
- timestamp?: string;
6053
+ timestamp?: number | string;
5624
6054
  }): Promise<AuctionHouseListing>;
5625
6055
  /**
5626
6056
  * Get specific item auction house listings
@@ -5631,14 +6061,14 @@ declare class MarketIdContext {
5631
6061
  sort?: "DESC" | "ASC";
5632
6062
  from?: number;
5633
6063
  to?: number;
5634
- timestamp?: string;
6064
+ timestamp?: number | string;
5635
6065
  }): Promise<PaginatedResponse<AuctionHouseResponse> & AuctionHouseResponse>;
5636
6066
  /**
5637
6067
  * Get item specialized bazaar directory
5638
6068
  * @param params - Optional query parameters
5639
6069
  */
5640
6070
  bazaar(params?: {
5641
- timestamp?: string;
6071
+ timestamp?: number | string;
5642
6072
  }): Promise<BazaarResponseSpecialized>;
5643
6073
  /**
5644
6074
  * Get item market listings
@@ -5648,7 +6078,7 @@ declare class MarketIdContext {
5648
6078
  bonus?: WeaponBonusEnum;
5649
6079
  limit?: number;
5650
6080
  offset?: number;
5651
- timestamp?: string;
6081
+ timestamp?: number | string;
5652
6082
  }): Promise<PaginatedResponse<MarketItemMarketResponse> & MarketItemMarketResponse>;
5653
6083
  }
5654
6084
  /**
@@ -5667,7 +6097,7 @@ declare class MarketPropertyTypeIdContext {
5667
6097
  offset?: number;
5668
6098
  limit?: number;
5669
6099
  sort?: "DESC" | "ASC";
5670
- timestamp?: string;
6100
+ timestamp?: number | string;
5671
6101
  }): Promise<PaginatedResponse<MarketPropertiesResponse> & MarketPropertiesResponse>;
5672
6102
  /**
5673
6103
  * Get properties rental listings
@@ -5677,7 +6107,7 @@ declare class MarketPropertyTypeIdContext {
5677
6107
  offset?: number;
5678
6108
  limit?: number;
5679
6109
  sort?: "DESC" | "ASC";
5680
- timestamp?: string;
6110
+ timestamp?: number | string;
5681
6111
  }): Promise<PaginatedResponse<MarketRentalsResponse> & MarketRentalsResponse>;
5682
6112
  }
5683
6113
 
@@ -5695,14 +6125,14 @@ declare class PropertyEndpoint {
5695
6125
  * @param params - Optional query parameters
5696
6126
  */
5697
6127
  lookup(params?: {
5698
- timestamp?: string;
6128
+ timestamp?: number | string;
5699
6129
  }): Promise<PropertyLookupResponse>;
5700
6130
  /**
5701
6131
  * Get current server time
5702
6132
  * @param params - Optional query parameters
5703
6133
  */
5704
6134
  timestamp(params?: {
5705
- timestamp?: string;
6135
+ timestamp?: number | string;
5706
6136
  }): Promise<TimestampResponse>;
5707
6137
  /**
5708
6138
  * Get any property selection
@@ -5711,7 +6141,7 @@ declare class PropertyEndpoint {
5711
6141
  get(params?: {
5712
6142
  selections?: PropertySelectionName[];
5713
6143
  id?: PropertyId;
5714
- timestamp?: string;
6144
+ timestamp?: number | string;
5715
6145
  }): Promise<PropertyResponse>;
5716
6146
  }
5717
6147
  /**
@@ -5727,7 +6157,7 @@ declare class PropertyIdContext {
5727
6157
  * @param params - Optional query parameters
5728
6158
  */
5729
6159
  get(params?: {
5730
- timestamp?: string;
6160
+ timestamp?: number | string;
5731
6161
  }): Promise<PropertyPropertyResponse>;
5732
6162
  }
5733
6163
 
@@ -5743,14 +6173,14 @@ declare class RacingEndpoint {
5743
6173
  * @param params - Optional query parameters
5744
6174
  */
5745
6175
  cars(params?: {
5746
- timestamp?: string;
6176
+ timestamp?: number | string;
5747
6177
  }): Promise<RacingCarsResponse>;
5748
6178
  /**
5749
6179
  * Get all possible car upgrades
5750
6180
  * @param params - Optional query parameters
5751
6181
  */
5752
6182
  carupgrades(params?: {
5753
- timestamp?: string;
6183
+ timestamp?: number | string;
5754
6184
  }): Promise<RacingCarUpgradesResponse>;
5755
6185
  /**
5756
6186
  * Get races
@@ -5762,28 +6192,28 @@ declare class RacingEndpoint {
5762
6192
  to?: number;
5763
6193
  from?: number;
5764
6194
  cat?: RacingRaceTypeEnum;
5765
- timestamp?: string;
6195
+ timestamp?: number | string;
5766
6196
  }): Promise<PaginatedResponse<RacingRacesResponse> & RacingRacesResponse>;
5767
6197
  /**
5768
6198
  * Get race tracks and descriptions
5769
6199
  * @param params - Optional query parameters
5770
6200
  */
5771
6201
  tracks(params?: {
5772
- timestamp?: string;
6202
+ timestamp?: number | string;
5773
6203
  }): Promise<RacingTracksResponse>;
5774
6204
  /**
5775
6205
  * Get all available racing selections
5776
6206
  * @param params - Optional query parameters
5777
6207
  */
5778
6208
  lookup(params?: {
5779
- timestamp?: string;
6209
+ timestamp?: number | string;
5780
6210
  }): Promise<RacingLookupResponse>;
5781
6211
  /**
5782
6212
  * Get current server time
5783
6213
  * @param params - Optional query parameters
5784
6214
  */
5785
6215
  timestamp(params?: {
5786
- timestamp?: string;
6216
+ timestamp?: number | string;
5787
6217
  }): Promise<TimestampResponse>;
5788
6218
  /**
5789
6219
  * Get any Racing selection
@@ -5798,7 +6228,7 @@ declare class RacingEndpoint {
5798
6228
  from?: number;
5799
6229
  cat?: RacingRaceTypeEnum | RaceClassEnum;
5800
6230
  offset?: number;
5801
- timestamp?: string;
6231
+ timestamp?: number | string;
5802
6232
  }): Promise<RacingResponse>;
5803
6233
  /** @param raceId - The ID for this context */
5804
6234
  withRaceId(raceId: string | number): RacingRaceIdContext;
@@ -5818,7 +6248,7 @@ declare class RacingRaceIdContext {
5818
6248
  * @param params - Optional query parameters
5819
6249
  */
5820
6250
  race(params?: {
5821
- timestamp?: string;
6251
+ timestamp?: number | string;
5822
6252
  }): Promise<RacingRaceDetailsResponse>;
5823
6253
  }
5824
6254
  /**
@@ -5835,7 +6265,7 @@ declare class RacingTrackIdContext {
5835
6265
  */
5836
6266
  records(params?: {
5837
6267
  cat?: RaceClassEnum;
5838
- timestamp?: string;
6268
+ timestamp?: number | string;
5839
6269
  }): Promise<RacingTrackRecordsResponse>;
5840
6270
  }
5841
6271
 
@@ -5855,7 +6285,7 @@ declare class TornEndpoint {
5855
6285
  offset?: number;
5856
6286
  sort?: "DESC" | "ASC";
5857
6287
  striptags?: "true" | "false";
5858
- timestamp?: string;
6288
+ timestamp?: number | string;
5859
6289
  }): Promise<PaginatedResponse<AttackLogResponse> & AttackLogResponse>;
5860
6290
  /**
5861
6291
  * Get bounties
@@ -5864,35 +6294,35 @@ declare class TornEndpoint {
5864
6294
  bounties(params?: {
5865
6295
  limit?: number;
5866
6296
  offset?: number;
5867
- timestamp?: string;
6297
+ timestamp?: number | string;
5868
6298
  }): Promise<PaginatedResponse<TornBountiesResponse> & TornBountiesResponse>;
5869
6299
  /**
5870
6300
  * Get calendar information
5871
6301
  * @param params - Optional query parameters
5872
6302
  */
5873
6303
  calendar(params?: {
5874
- timestamp?: string;
6304
+ timestamp?: number | string;
5875
6305
  }): Promise<TornCalendarResponse>;
5876
6306
  /**
5877
6307
  * Get crimes information
5878
6308
  * @param params - Optional query parameters
5879
6309
  */
5880
6310
  crimes(params?: {
5881
- timestamp?: string;
6311
+ timestamp?: number | string;
5882
6312
  }): Promise<TornCrimesResponse>;
5883
6313
  /**
5884
6314
  * Get education information
5885
6315
  * @param params - Optional query parameters
5886
6316
  */
5887
6317
  education(params?: {
5888
- timestamp?: string;
6318
+ timestamp?: number | string;
5889
6319
  }): Promise<TornEducationResponse>;
5890
6320
  /**
5891
6321
  * Get current standings for all elimination teams
5892
6322
  * @param params - Optional query parameters
5893
6323
  */
5894
6324
  elimination(params?: {
5895
- timestamp?: string;
6325
+ timestamp?: number | string;
5896
6326
  }): Promise<TornEliminationTeamsResponse>;
5897
6327
  /**
5898
6328
  * Get faction hall of fame positions for a specific category
@@ -5902,14 +6332,14 @@ declare class TornEndpoint {
5902
6332
  limit?: number;
5903
6333
  offset?: number;
5904
6334
  cat?: TornFactionHofCategory;
5905
- timestamp?: string;
6335
+ timestamp?: number | string;
5906
6336
  }): Promise<PaginatedResponse<TornFactionHofResponse> & TornFactionHofResponse>;
5907
6337
  /**
5908
6338
  * Get full faction tree
5909
6339
  * @param params - Optional query parameters
5910
6340
  */
5911
6341
  factiontree(params?: {
5912
- timestamp?: string;
6342
+ timestamp?: number | string;
5913
6343
  }): Promise<TornFactionTreeResponse>;
5914
6344
  /**
5915
6345
  * Get all honors
@@ -5919,7 +6349,7 @@ declare class TornEndpoint {
5919
6349
  limit?: number;
5920
6350
  offset?: number;
5921
6351
  sort?: "DESC" | "ASC";
5922
- timestamp?: string;
6352
+ timestamp?: number | string;
5923
6353
  }): Promise<TornHonorsResponse>;
5924
6354
  /**
5925
6355
  * Get player hall of fame positions for a specific category
@@ -5929,21 +6359,21 @@ declare class TornEndpoint {
5929
6359
  limit?: number;
5930
6360
  offset?: number;
5931
6361
  cat?: TornHofCategory;
5932
- timestamp?: string;
6362
+ timestamp?: number | string;
5933
6363
  }): Promise<PaginatedResponse<TornHofResponse> & TornHofResponse>;
5934
6364
  /**
5935
6365
  * Get information about ammo
5936
6366
  * @param params - Optional query parameters
5937
6367
  */
5938
6368
  itemammo(params?: {
5939
- timestamp?: string;
6369
+ timestamp?: number | string;
5940
6370
  }): Promise<TornItemAmmoResponse>;
5941
6371
  /**
5942
6372
  * Get information about weapon upgrades
5943
6373
  * @param params - Optional query parameters
5944
6374
  */
5945
6375
  itemmods(params?: {
5946
- timestamp?: string;
6376
+ timestamp?: number | string;
5947
6377
  }): Promise<TornItemModsResponse>;
5948
6378
  /**
5949
6379
  * Get information about items
@@ -5952,56 +6382,56 @@ declare class TornEndpoint {
5952
6382
  items(params?: {
5953
6383
  cat?: TornItemCategory;
5954
6384
  sort?: "DESC" | "ASC";
5955
- timestamp?: string;
6385
+ timestamp?: number | string;
5956
6386
  }): Promise<TornItemsResponse>;
5957
6387
  /**
5958
6388
  * Get available log categories
5959
6389
  * @param params - Optional query parameters
5960
6390
  */
5961
6391
  logcategories(params?: {
5962
- timestamp?: string;
6392
+ timestamp?: number | string;
5963
6393
  }): Promise<TornLogCategoriesResponse>;
5964
6394
  /**
5965
6395
  * Get all available log ids
5966
6396
  * @param params - Optional query parameters
5967
6397
  */
5968
6398
  logtypes(params?: {
5969
- timestamp?: string;
6399
+ timestamp?: number | string;
5970
6400
  }): Promise<TornLogTypesResponse>;
5971
6401
  /**
5972
6402
  * Get all medals
5973
6403
  * @param params - Optional query parameters
5974
6404
  */
5975
6405
  medals(params?: {
5976
- timestamp?: string;
6406
+ timestamp?: number | string;
5977
6407
  }): Promise<TornMedalsResponse>;
5978
6408
  /**
5979
6409
  * Get all merits
5980
6410
  * @param params - Optional query parameters
5981
6411
  */
5982
6412
  merits(params?: {
5983
- timestamp?: string;
6413
+ timestamp?: number | string;
5984
6414
  }): Promise<TornMeritsResponse>;
5985
6415
  /**
5986
6416
  * Get organized crimes information
5987
6417
  * @param params - Optional query parameters
5988
6418
  */
5989
6419
  organizedcrimes(params?: {
5990
- timestamp?: string;
6420
+ timestamp?: number | string;
5991
6421
  }): Promise<TornOrganizedCrimeResponse>;
5992
6422
  /**
5993
6423
  * Get properties details
5994
6424
  * @param params - Optional query parameters
5995
6425
  */
5996
6426
  properties(params?: {
5997
- timestamp?: string;
6427
+ timestamp?: number | string;
5998
6428
  }): Promise<TornProperties>;
5999
6429
  /**
6000
6430
  * Get all stocks
6001
6431
  * @param params - Optional query parameters
6002
6432
  */
6003
6433
  stocks(params?: {
6004
- timestamp?: string;
6434
+ timestamp?: number | string;
6005
6435
  }): Promise<TornStocksResponse>;
6006
6436
  /**
6007
6437
  * Get territory details
@@ -6011,21 +6441,21 @@ declare class TornEndpoint {
6011
6441
  ids?: FactionTerritoryEnum[];
6012
6442
  offset?: number;
6013
6443
  limit?: number;
6014
- timestamp?: string;
6444
+ timestamp?: number | string;
6015
6445
  }): Promise<PaginatedResponse<TornTerritoriesResponse> & TornTerritoriesResponse>;
6016
6446
  /**
6017
6447
  * Get all available torn selections
6018
6448
  * @param params - Optional query parameters
6019
6449
  */
6020
6450
  lookup(params?: {
6021
- timestamp?: string;
6451
+ timestamp?: number | string;
6022
6452
  }): Promise<TornLookupResponse>;
6023
6453
  /**
6024
6454
  * Get current server time
6025
6455
  * @param params - Optional query parameters
6026
6456
  */
6027
6457
  timestamp(params?: {
6028
- timestamp?: string;
6458
+ timestamp?: number | string;
6029
6459
  }): Promise<TimestampResponse>;
6030
6460
  /**
6031
6461
  * Get any Torn selection
@@ -6042,7 +6472,7 @@ declare class TornEndpoint {
6042
6472
  sort?: "DESC" | "ASC";
6043
6473
  cat?: TornFactionHofCategory | TornHofCategory | TornItemCategory;
6044
6474
  offset?: number;
6045
- timestamp?: string;
6475
+ timestamp?: number | string;
6046
6476
  }): Promise<TornResponse>;
6047
6477
  /** @param id - The ID for this context */
6048
6478
  withId(id: string | number): TornIdContext;
@@ -6070,14 +6500,14 @@ declare class TornIdContext {
6070
6500
  eliminationteam(params?: {
6071
6501
  limit?: number;
6072
6502
  offset?: number;
6073
- timestamp?: string;
6503
+ timestamp?: number | string;
6074
6504
  }): Promise<PaginatedResponse<TornEliminationTeamPlayersResponse> & TornEliminationTeamPlayersResponse>;
6075
6505
  /**
6076
6506
  * Get information about a specific item
6077
6507
  * @param params - Optional query parameters
6078
6508
  */
6079
6509
  itemdetails(params?: {
6080
- timestamp?: string;
6510
+ timestamp?: number | string;
6081
6511
  }): Promise<TornItemDetailsResponse>;
6082
6512
  }
6083
6513
  /**
@@ -6093,7 +6523,7 @@ declare class TornIdsContext {
6093
6523
  * @param params - Optional query parameters
6094
6524
  */
6095
6525
  honors(params?: {
6096
- timestamp?: string;
6526
+ timestamp?: number | string;
6097
6527
  }): Promise<TornHonorsResponse>;
6098
6528
  /**
6099
6529
  * Get information about items
@@ -6101,14 +6531,14 @@ declare class TornIdsContext {
6101
6531
  */
6102
6532
  items(params?: {
6103
6533
  sort?: "DESC" | "ASC";
6104
- timestamp?: string;
6534
+ timestamp?: number | string;
6105
6535
  }): Promise<TornItemsResponse>;
6106
6536
  /**
6107
6537
  * Get specific medals
6108
6538
  * @param params - Optional query parameters
6109
6539
  */
6110
6540
  medals(params?: {
6111
- timestamp?: string;
6541
+ timestamp?: number | string;
6112
6542
  }): Promise<TornMedalsResponse>;
6113
6543
  }
6114
6544
  /**
@@ -6124,7 +6554,7 @@ declare class TornLogCategoryIdContext {
6124
6554
  * @param params - Optional query parameters
6125
6555
  */
6126
6556
  logtypes(params?: {
6127
- timestamp?: string;
6557
+ timestamp?: number | string;
6128
6558
  }): Promise<TornLogTypesResponse>;
6129
6559
  }
6130
6560
  /**
@@ -6140,7 +6570,7 @@ declare class TornStockIdContext {
6140
6570
  * @param params - Optional query parameters
6141
6571
  */
6142
6572
  stocks(params?: {
6143
- timestamp?: string;
6573
+ timestamp?: number | string;
6144
6574
  }): Promise<TornStockDetailedResponse>;
6145
6575
  }
6146
6576
  /**
@@ -6156,7 +6586,7 @@ declare class TornCrimeIdContext {
6156
6586
  * @param params - Optional query parameters
6157
6587
  */
6158
6588
  subcrimes(params?: {
6159
- timestamp?: string;
6589
+ timestamp?: number | string;
6160
6590
  }): Promise<TornSubcrimesResponse>;
6161
6591
  }
6162
6592
 
@@ -6172,7 +6602,7 @@ declare class UserEndpoint {
6172
6602
  * @param params - Optional query parameters
6173
6603
  */
6174
6604
  ammo(params?: {
6175
- timestamp?: string;
6605
+ timestamp?: number | string;
6176
6606
  }): Promise<UserAmmoResponse>;
6177
6607
  /**
6178
6608
  * Get your detailed attacks
@@ -6184,7 +6614,7 @@ declare class UserEndpoint {
6184
6614
  sort?: "DESC" | "ASC";
6185
6615
  to?: number;
6186
6616
  from?: number;
6187
- timestamp?: string;
6617
+ timestamp?: number | string;
6188
6618
  }): Promise<PaginatedResponse<AttacksResponse> & AttacksResponse>;
6189
6619
  /**
6190
6620
  * Get your simplified attacks
@@ -6196,14 +6626,14 @@ declare class UserEndpoint {
6196
6626
  sort?: "DESC" | "ASC";
6197
6627
  to?: number;
6198
6628
  from?: number;
6199
- timestamp?: string;
6629
+ timestamp?: number | string;
6200
6630
  }): Promise<PaginatedResponse<AttacksFullResponse> & AttacksFullResponse>;
6201
6631
  /**
6202
6632
  * Get your bars information
6203
6633
  * @param params - Optional query parameters
6204
6634
  */
6205
6635
  bars(params?: {
6206
- timestamp?: string;
6636
+ timestamp?: number | string;
6207
6637
  }): Promise<UserBarsResponse>;
6208
6638
  /**
6209
6639
  * Get your basic profile information
@@ -6211,70 +6641,77 @@ declare class UserEndpoint {
6211
6641
  */
6212
6642
  basic(params?: {
6213
6643
  striptags?: "true" | "false";
6214
- timestamp?: string;
6644
+ timestamp?: number | string;
6215
6645
  }): Promise<UserBasicResponse>;
6216
6646
  /**
6217
6647
  * Get your battlestats
6218
6648
  * @param params - Optional query parameters
6219
6649
  */
6220
6650
  battlestats(params?: {
6221
- timestamp?: string;
6651
+ timestamp?: number | string;
6222
6652
  }): Promise<UserBattleStatsResponse>;
6223
6653
  /**
6224
6654
  * Get bounties placed on you
6225
6655
  * @param params - Optional query parameters
6226
6656
  */
6227
6657
  bounties(params?: {
6228
- timestamp?: string;
6658
+ timestamp?: number | string;
6229
6659
  }): Promise<UserBountiesResponse>;
6230
6660
  /**
6231
6661
  * Get your calendar events start time
6232
6662
  * @param params - Optional query parameters
6233
6663
  */
6234
6664
  calendar(params?: {
6235
- timestamp?: string;
6665
+ timestamp?: number | string;
6236
6666
  }): Promise<UserCalendarResponse>;
6667
+ /**
6668
+ * Get your casino streak & tokens
6669
+ * @param params - Optional query parameters
6670
+ */
6671
+ casino(params?: {
6672
+ timestamp?: number | string;
6673
+ }): Promise<UserCasinoResponse>;
6237
6674
  /**
6238
6675
  * Get your competition information
6239
6676
  * @param params - Optional query parameters
6240
6677
  */
6241
6678
  competition(params?: {
6242
- timestamp?: string;
6679
+ timestamp?: number | string;
6243
6680
  }): Promise<UserCompetitionResponse>;
6244
6681
  /**
6245
6682
  * Get your cooldowns information
6246
6683
  * @param params - Optional query parameters
6247
6684
  */
6248
6685
  cooldowns(params?: {
6249
- timestamp?: string;
6686
+ timestamp?: number | string;
6250
6687
  }): Promise<UserCooldownsResponse>;
6251
6688
  /**
6252
6689
  * Get your discord information
6253
6690
  * @param params - Optional query parameters
6254
6691
  */
6255
6692
  discord(params?: {
6256
- timestamp?: string;
6693
+ timestamp?: number | string;
6257
6694
  }): Promise<UserDiscordResponse>;
6258
6695
  /**
6259
6696
  * Get your education information
6260
6697
  * @param params - Optional query parameters
6261
6698
  */
6262
6699
  education(params?: {
6263
- timestamp?: string;
6700
+ timestamp?: number | string;
6264
6701
  }): Promise<UserEducationResponse>;
6265
6702
  /**
6266
6703
  * Get your enlisted cars
6267
6704
  * @param params - Optional query parameters
6268
6705
  */
6269
6706
  enlistedcars(params?: {
6270
- timestamp?: string;
6707
+ timestamp?: number | string;
6271
6708
  }): Promise<UserEnlistedCarsResponse>;
6272
6709
  /**
6273
6710
  * Get your equipment & clothing
6274
6711
  * @param params - Optional query parameters
6275
6712
  */
6276
6713
  equipment(params?: {
6277
- timestamp?: string;
6714
+ timestamp?: number | string;
6278
6715
  }): Promise<UserEquipmentResponse>;
6279
6716
  /**
6280
6717
  * Get your events
@@ -6285,28 +6722,28 @@ declare class UserEndpoint {
6285
6722
  limit?: number;
6286
6723
  from?: number;
6287
6724
  to?: number;
6288
- timestamp?: string;
6725
+ timestamp?: number | string;
6289
6726
  }): Promise<PaginatedResponse<UserEventsResponse> & UserEventsResponse>;
6290
6727
  /**
6291
6728
  * Get your faction information
6292
6729
  * @param params - Optional query parameters
6293
6730
  */
6294
6731
  faction(params?: {
6295
- timestamp?: string;
6732
+ timestamp?: number | string;
6296
6733
  }): Promise<UserFactionResponse>;
6297
6734
  /**
6298
6735
  * Get updates on your threads and posts
6299
6736
  * @param params - Optional query parameters
6300
6737
  */
6301
6738
  forumfeed(params?: {
6302
- timestamp?: string;
6739
+ timestamp?: number | string;
6303
6740
  }): Promise<UserForumFeedResponse>;
6304
6741
  /**
6305
6742
  * Get updates on your friends' activity
6306
6743
  * @param params - Optional query parameters
6307
6744
  */
6308
6745
  forumfriends(params?: {
6309
- timestamp?: string;
6746
+ timestamp?: number | string;
6310
6747
  }): Promise<UserForumFriendsResponse>;
6311
6748
  /**
6312
6749
  * Get your posts
@@ -6318,14 +6755,14 @@ declare class UserEndpoint {
6318
6755
  sort?: "DESC" | "ASC";
6319
6756
  from?: number;
6320
6757
  to?: number;
6321
- timestamp?: string;
6758
+ timestamp?: number | string;
6322
6759
  }): Promise<PaginatedResponse<UserForumPostsResponse> & UserForumPostsResponse>;
6323
6760
  /**
6324
6761
  * Get updates on threads you subscribed to
6325
6762
  * @param params - Optional query parameters
6326
6763
  */
6327
6764
  forumsubscribedthreads(params?: {
6328
- timestamp?: string;
6765
+ timestamp?: number | string;
6329
6766
  }): Promise<UserForumSubscribedThreadsResponse>;
6330
6767
  /**
6331
6768
  * Get your threads
@@ -6336,28 +6773,28 @@ declare class UserEndpoint {
6336
6773
  sort?: "DESC" | "ASC";
6337
6774
  from?: number;
6338
6775
  to?: number;
6339
- timestamp?: string;
6776
+ timestamp?: number | string;
6340
6777
  }): Promise<PaginatedResponse<UserForumThreadsResponse> & UserForumThreadsResponse>;
6341
6778
  /**
6342
6779
  * Get your hall of fame rankings
6343
6780
  * @param params - Optional query parameters
6344
6781
  */
6345
6782
  hof(params?: {
6346
- timestamp?: string;
6783
+ timestamp?: number | string;
6347
6784
  }): Promise<UserHofResponse>;
6348
6785
  /**
6349
6786
  * Get your achieved honors
6350
6787
  * @param params - Optional query parameters
6351
6788
  */
6352
6789
  honors(params?: {
6353
- timestamp?: string;
6790
+ timestamp?: number | string;
6354
6791
  }): Promise<UserHonorsResponse>;
6355
6792
  /**
6356
6793
  * Get your icons information
6357
6794
  * @param params - Optional query parameters
6358
6795
  */
6359
6796
  icons(params?: {
6360
- timestamp?: string;
6797
+ timestamp?: number | string;
6361
6798
  }): Promise<UserIconsResponse>;
6362
6799
  /**
6363
6800
  * Get your inventory
@@ -6367,7 +6804,7 @@ declare class UserEndpoint {
6367
6804
  cat?: TornInventoryItemType;
6368
6805
  offset?: number;
6369
6806
  limit?: number;
6370
- timestamp?: string;
6807
+ timestamp?: number | string;
6371
6808
  }): Promise<PaginatedResponse<UserInventoryResponse> & UserInventoryResponse>;
6372
6809
  /**
6373
6810
  * Get your item market listings
@@ -6375,28 +6812,35 @@ declare class UserEndpoint {
6375
6812
  */
6376
6813
  itemmarket(params?: {
6377
6814
  offset?: number;
6378
- timestamp?: string;
6815
+ timestamp?: number | string;
6379
6816
  }): Promise<PaginatedResponse<UserItemMarketResponse> & UserItemMarketResponse>;
6817
+ /**
6818
+ * Get your information about available item mods
6819
+ * @param params - Optional query parameters
6820
+ */
6821
+ itemmods(params?: {
6822
+ timestamp?: number | string;
6823
+ }): Promise<UserItemModsResponse>;
6380
6824
  /**
6381
6825
  * Get your job information
6382
6826
  * @param params - Optional query parameters
6383
6827
  */
6384
6828
  job(params?: {
6385
- timestamp?: string;
6829
+ timestamp?: number | string;
6386
6830
  }): Promise<UserJobResponse>;
6387
6831
  /**
6388
6832
  * Get your jobpoints
6389
6833
  * @param params - Optional query parameters
6390
6834
  */
6391
6835
  jobpoints(params?: {
6392
- timestamp?: string;
6836
+ timestamp?: number | string;
6393
6837
  }): Promise<UserJobPointsResponse>;
6394
6838
  /**
6395
6839
  * Get your starter job positions
6396
6840
  * @param params - Optional query parameters
6397
6841
  */
6398
6842
  jobranks(params?: {
6399
- timestamp?: string;
6843
+ timestamp?: number | string;
6400
6844
  }): Promise<UserJobRanksResponse>;
6401
6845
  /**
6402
6846
  * Get your friends, enemies or targets list
@@ -6408,7 +6852,7 @@ declare class UserEndpoint {
6408
6852
  limit?: number;
6409
6853
  offset?: number;
6410
6854
  sort?: "DESC" | "ASC";
6411
- timestamp?: string;
6855
+ timestamp?: number | string;
6412
6856
  }): Promise<PaginatedResponse<UserListResponse> & UserListResponse>;
6413
6857
  /**
6414
6858
  * Get your logs
@@ -6421,21 +6865,21 @@ declare class UserEndpoint {
6421
6865
  limit?: number;
6422
6866
  to?: number;
6423
6867
  from?: number;
6424
- timestamp?: string;
6868
+ timestamp?: number | string;
6425
6869
  }): Promise<PaginatedResponse<UserLogsResponse> & UserLogsResponse>;
6426
6870
  /**
6427
6871
  * Get your achieved medals
6428
6872
  * @param params - Optional query parameters
6429
6873
  */
6430
6874
  medals(params?: {
6431
- timestamp?: string;
6875
+ timestamp?: number | string;
6432
6876
  }): Promise<UserMedalsResponse>;
6433
6877
  /**
6434
6878
  * Get your merits
6435
6879
  * @param params - Optional query parameters
6436
6880
  */
6437
6881
  merits(params?: {
6438
- timestamp?: string;
6882
+ timestamp?: number | string;
6439
6883
  }): Promise<UserMeritsResponse>;
6440
6884
  /**
6441
6885
  * Get your messages
@@ -6446,21 +6890,21 @@ declare class UserEndpoint {
6446
6890
  from?: number;
6447
6891
  to?: number;
6448
6892
  sort?: "DESC" | "ASC";
6449
- timestamp?: string;
6893
+ timestamp?: number | string;
6450
6894
  }): Promise<PaginatedResponse<UserMessagesResponse> & UserMessagesResponse>;
6451
6895
  /**
6452
6896
  * Get your current missions information
6453
6897
  * @param params - Optional query parameters
6454
6898
  */
6455
6899
  missions(params?: {
6456
- timestamp?: string;
6900
+ timestamp?: number | string;
6457
6901
  }): Promise<UserMissionsResponse>;
6458
6902
  /**
6459
6903
  * Get your current wealth
6460
6904
  * @param params - Optional query parameters
6461
6905
  */
6462
6906
  money(params?: {
6463
- timestamp?: string;
6907
+ timestamp?: number | string;
6464
6908
  }): Promise<UserMoneyResponse>;
6465
6909
  /**
6466
6910
  * Get your unseen events
@@ -6468,35 +6912,35 @@ declare class UserEndpoint {
6468
6912
  */
6469
6913
  newevents(params?: {
6470
6914
  striptags?: "true" | "false";
6471
- timestamp?: string;
6915
+ timestamp?: number | string;
6472
6916
  }): Promise<UserNewEventsResponse>;
6473
6917
  /**
6474
6918
  * Get your unseen messages
6475
6919
  * @param params - Optional query parameters
6476
6920
  */
6477
6921
  newmessages(params?: {
6478
- timestamp?: string;
6922
+ timestamp?: number | string;
6479
6923
  }): Promise<UserNewMessagesResponse>;
6480
6924
  /**
6481
6925
  * Get your notifications
6482
6926
  * @param params - Optional query parameters
6483
6927
  */
6484
6928
  notifications(params?: {
6485
- timestamp?: string;
6929
+ timestamp?: number | string;
6486
6930
  }): Promise<UserNotificationsResponse>;
6487
6931
  /**
6488
6932
  * Get your current ongoing organized crime
6489
6933
  * @param params - Optional query parameters
6490
6934
  */
6491
6935
  organizedcrime(params?: {
6492
- timestamp?: string;
6936
+ timestamp?: number | string;
6493
6937
  }): Promise<UserOrganizedCrimeResponse>;
6494
6938
  /**
6495
6939
  * Get available slots for organized crimes with status 'Recruiting'
6496
6940
  * @param params - Optional query parameters
6497
6941
  */
6498
6942
  organizedcrimes(params?: {
6499
- timestamp?: string;
6943
+ timestamp?: number | string;
6500
6944
  }): Promise<PaginatedResponse<UserOrganizedCrimesResponse> & UserOrganizedCrimesResponse>;
6501
6945
  /**
6502
6946
  * Get your personal stats
@@ -6513,7 +6957,7 @@ declare class UserEndpoint {
6513
6957
  */
6514
6958
  profile(params?: {
6515
6959
  striptags?: "true" | "false";
6516
- timestamp?: string;
6960
+ timestamp?: number | string;
6517
6961
  }): Promise<UserProfileResponse>;
6518
6962
  /**
6519
6963
  * Get your own properties
@@ -6523,14 +6967,14 @@ declare class UserEndpoint {
6523
6967
  filters?: "ownedByUser" | "ownedBySpouse";
6524
6968
  offset?: number;
6525
6969
  limit?: number;
6526
- timestamp?: string;
6970
+ timestamp?: number | string;
6527
6971
  }): Promise<PaginatedResponse<UserPropertiesResponse> & UserPropertiesResponse>;
6528
6972
  /**
6529
6973
  * Get your current property
6530
6974
  * @param params - Optional query parameters
6531
6975
  */
6532
6976
  property(params?: {
6533
- timestamp?: string;
6977
+ timestamp?: number | string;
6534
6978
  }): Promise<UserPropertyResponse>;
6535
6979
  /**
6536
6980
  * Get user races
@@ -6542,21 +6986,21 @@ declare class UserEndpoint {
6542
6986
  from?: number;
6543
6987
  to?: number;
6544
6988
  cat?: RacingRaceTypeEnum;
6545
- timestamp?: string;
6989
+ timestamp?: number | string;
6546
6990
  }): Promise<PaginatedResponse<UserRacesResponse> & UserRacesResponse>;
6547
6991
  /**
6548
6992
  * Get your current racing records
6549
6993
  * @param params - Optional query parameters
6550
6994
  */
6551
6995
  racingrecords(params?: {
6552
- timestamp?: string;
6996
+ timestamp?: number | string;
6553
6997
  }): Promise<UserRacingRecordsResponse>;
6554
6998
  /**
6555
6999
  * Get your refills information
6556
7000
  * @param params - Optional query parameters
6557
7001
  */
6558
7002
  refills(params?: {
6559
- timestamp?: string;
7003
+ timestamp?: number | string;
6560
7004
  }): Promise<UserRefillsResponse>;
6561
7005
  /**
6562
7006
  * Get your reports
@@ -6568,7 +7012,7 @@ declare class UserEndpoint {
6568
7012
  limit?: number;
6569
7013
  offset?: number;
6570
7014
  sort?: "DESC" | "ASC";
6571
- timestamp?: string;
7015
+ timestamp?: number | string;
6572
7016
  }): Promise<PaginatedResponse<ReportsResponse> & ReportsResponse>;
6573
7017
  /**
6574
7018
  * Get your detailed revives
@@ -6581,7 +7025,7 @@ declare class UserEndpoint {
6581
7025
  to?: number;
6582
7026
  from?: number;
6583
7027
  striptags?: "true" | "false";
6584
- timestamp?: string;
7028
+ timestamp?: number | string;
6585
7029
  }): Promise<PaginatedResponse<RevivesResponse> & RevivesResponse>;
6586
7030
  /**
6587
7031
  * Get your simplified revives
@@ -6594,21 +7038,21 @@ declare class UserEndpoint {
6594
7038
  to?: number;
6595
7039
  from?: number;
6596
7040
  striptags?: "true" | "false";
6597
- timestamp?: string;
7041
+ timestamp?: number | string;
6598
7042
  }): Promise<PaginatedResponse<RevivesFullResponse> & RevivesFullResponse>;
6599
7043
  /**
6600
7044
  * Get your skills
6601
7045
  * @param params - Optional query parameters
6602
7046
  */
6603
7047
  skills(params?: {
6604
- timestamp?: string;
7048
+ timestamp?: number | string;
6605
7049
  }): Promise<UserSkillsResponse>;
6606
7050
  /**
6607
7051
  * Get your stocks
6608
7052
  * @param params - Optional query parameters
6609
7053
  */
6610
7054
  stocks(params?: {
6611
- timestamp?: string;
7055
+ timestamp?: number | string;
6612
7056
  }): Promise<UserStocksResponse>;
6613
7057
  /**
6614
7058
  * Get your trades
@@ -6620,49 +7064,49 @@ declare class UserEndpoint {
6620
7064
  sort?: "DESC" | "ASC";
6621
7065
  to?: number;
6622
7066
  from?: number;
6623
- timestamp?: string;
7067
+ timestamp?: number | string;
6624
7068
  }): Promise<PaginatedResponse<UserTradesResponse> & UserTradesResponse>;
6625
7069
  /**
6626
7070
  * Get your travel information
6627
7071
  * @param params - Optional query parameters
6628
7072
  */
6629
7073
  travel(params?: {
6630
- timestamp?: string;
7074
+ timestamp?: number | string;
6631
7075
  }): Promise<UserTravelResponse>;
6632
7076
  /**
6633
7077
  * Get your virus coding information
6634
7078
  * @param params - Optional query parameters
6635
7079
  */
6636
7080
  virus(params?: {
6637
- timestamp?: string;
7081
+ timestamp?: number | string;
6638
7082
  }): Promise<UserVirusResponse>;
6639
7083
  /**
6640
7084
  * Get your weapon experience information
6641
7085
  * @param params - Optional query parameters
6642
7086
  */
6643
7087
  weaponexp(params?: {
6644
- timestamp?: string;
7088
+ timestamp?: number | string;
6645
7089
  }): Promise<UserWeaponExpResponse>;
6646
7090
  /**
6647
7091
  * Get your working stats
6648
7092
  * @param params - Optional query parameters
6649
7093
  */
6650
7094
  workstats(params?: {
6651
- timestamp?: string;
7095
+ timestamp?: number | string;
6652
7096
  }): Promise<UserWorkStatsResponse>;
6653
7097
  /**
6654
7098
  * Get all available user selections
6655
7099
  * @param params - Optional query parameters
6656
7100
  */
6657
7101
  lookup(params?: {
6658
- timestamp?: string;
7102
+ timestamp?: number | string;
6659
7103
  }): Promise<UserLookupResponse>;
6660
7104
  /**
6661
7105
  * Get current server time
6662
7106
  * @param params - Optional query parameters
6663
7107
  */
6664
7108
  timestamp(params?: {
6665
- timestamp?: string;
7109
+ timestamp?: number | string;
6666
7110
  }): Promise<TimestampResponse>;
6667
7111
  /**
6668
7112
  * Get any User selection
@@ -6681,7 +7125,7 @@ declare class UserEndpoint {
6681
7125
  filters?: "incoming" | "outgoing" | "ownedByUser" | "ownedBySpouse";
6682
7126
  striptags?: "true" | "false";
6683
7127
  offset?: number;
6684
- timestamp?: string;
7128
+ timestamp?: number | string;
6685
7129
  }): Promise<UserResponse>;
6686
7130
  /** @param id - The ID for this context */
6687
7131
  withId(id: string | number): UserIdContext;
@@ -6704,35 +7148,35 @@ declare class UserIdContext {
6704
7148
  */
6705
7149
  basic(params?: {
6706
7150
  striptags?: "true" | "false";
6707
- timestamp?: string;
7151
+ timestamp?: number | string;
6708
7152
  }): Promise<UserBasicResponse>;
6709
7153
  /**
6710
7154
  * Get bounties placed on a specific user
6711
7155
  * @param params - Optional query parameters
6712
7156
  */
6713
7157
  bounties(params?: {
6714
- timestamp?: string;
7158
+ timestamp?: number | string;
6715
7159
  }): Promise<UserBountiesResponse>;
6716
7160
  /**
6717
7161
  * Get competition information for a specific player
6718
7162
  * @param params - Optional query parameters
6719
7163
  */
6720
7164
  competition(params?: {
6721
- timestamp?: string;
7165
+ timestamp?: number | string;
6722
7166
  }): Promise<UserCompetitionResponse>;
6723
7167
  /**
6724
7168
  * Get discord information for a specific user
6725
7169
  * @param params - Optional query parameters
6726
7170
  */
6727
7171
  discord(params?: {
6728
- timestamp?: string;
7172
+ timestamp?: number | string;
6729
7173
  }): Promise<UserDiscordResponse>;
6730
7174
  /**
6731
7175
  * Get faction information for a specific player
6732
7176
  * @param params - Optional query parameters
6733
7177
  */
6734
7178
  faction(params?: {
6735
- timestamp?: string;
7179
+ timestamp?: number | string;
6736
7180
  }): Promise<UserFactionResponse>;
6737
7181
  /**
6738
7182
  * Get posts for a specific player
@@ -6744,7 +7188,7 @@ declare class UserIdContext {
6744
7188
  sort?: "DESC" | "ASC";
6745
7189
  from?: number;
6746
7190
  to?: number;
6747
- timestamp?: string;
7191
+ timestamp?: number | string;
6748
7192
  }): Promise<PaginatedResponse<UserForumPostsResponse> & UserForumPostsResponse>;
6749
7193
  /**
6750
7194
  * Get threads for a specific player
@@ -6755,28 +7199,28 @@ declare class UserIdContext {
6755
7199
  sort?: "DESC" | "ASC";
6756
7200
  from?: number;
6757
7201
  to?: number;
6758
- timestamp?: string;
7202
+ timestamp?: number | string;
6759
7203
  }): Promise<PaginatedResponse<UserForumThreadsResponse> & UserForumThreadsResponse>;
6760
7204
  /**
6761
7205
  * Get hall of fame rankings for a specific player
6762
7206
  * @param params - Optional query parameters
6763
7207
  */
6764
7208
  hof(params?: {
6765
- timestamp?: string;
7209
+ timestamp?: number | string;
6766
7210
  }): Promise<UserHofResponse>;
6767
7211
  /**
6768
7212
  * Get icons information for a specific player
6769
7213
  * @param params - Optional query parameters
6770
7214
  */
6771
7215
  icons(params?: {
6772
- timestamp?: string;
7216
+ timestamp?: number | string;
6773
7217
  }): Promise<UserIconsResponse>;
6774
7218
  /**
6775
7219
  * Get job information for a specific player
6776
7220
  * @param params - Optional query parameters
6777
7221
  */
6778
7222
  job(params?: {
6779
- timestamp?: string;
7223
+ timestamp?: number | string;
6780
7224
  }): Promise<UserJobResponse>;
6781
7225
  /**
6782
7226
  * Get a player's personal stats
@@ -6793,7 +7237,7 @@ declare class UserIdContext {
6793
7237
  */
6794
7238
  profile(params?: {
6795
7239
  striptags?: "true" | "false";
6796
- timestamp?: string;
7240
+ timestamp?: number | string;
6797
7241
  }): Promise<UserProfileResponse>;
6798
7242
  /**
6799
7243
  * Get specific user's properties
@@ -6803,14 +7247,14 @@ declare class UserIdContext {
6803
7247
  filters?: "ownedByUser" | "ownedBySpouse";
6804
7248
  offset?: number;
6805
7249
  limit?: number;
6806
- timestamp?: string;
7250
+ timestamp?: number | string;
6807
7251
  }): Promise<PaginatedResponse<UserPropertiesResponse> & UserPropertiesResponse>;
6808
7252
  /**
6809
7253
  * Get specific user's property
6810
7254
  * @param params - Optional query parameters
6811
7255
  */
6812
7256
  property(params?: {
6813
- timestamp?: string;
7257
+ timestamp?: number | string;
6814
7258
  }): Promise<UserPropertyResponse>;
6815
7259
  /** Get user by ID */
6816
7260
  get(): Promise<User>;
@@ -6828,7 +7272,7 @@ declare class UserCrimeIdContext {
6828
7272
  * @param params - Optional query parameters
6829
7273
  */
6830
7274
  crimes(params?: {
6831
- timestamp?: string;
7275
+ timestamp?: number | string;
6832
7276
  }): Promise<UserCrimesResponse>;
6833
7277
  }
6834
7278
  /**
@@ -6844,7 +7288,7 @@ declare class UserTradeIdContext {
6844
7288
  * @param params - Optional query parameters
6845
7289
  */
6846
7290
  trade(params?: {
6847
- timestamp?: string;
7291
+ timestamp?: number | string;
6848
7292
  }): Promise<UserTradeResponse>;
6849
7293
  }
6850
7294
 
@@ -6987,4 +7431,4 @@ declare class TornRateLimitError extends Error {
6987
7431
  constructor(message: string);
6988
7432
  }
6989
7433
 
6990
- export { type AmmoId, type ApiError, type ApiFiltersAttacksRevivesEnum, type ApiKeyAccessTypeEnum, type ApiKeyBalancing, type Attack, type AttackActionEnum, type AttackCode, type AttackFinishingHitEffect, type AttackId, type AttackLog, type AttackLogResponse, type AttackLogSummary, type AttackPlayer, type AttackPlayerSimplified, type AttackSimplified, type AttackingFinishingHitEffects, type AttacksFullResponse, type AttacksResponse, type AuctionHouseListing, type AuctionHouseResponse, type AuctionHouseStackableItem, type AuctionListingId, type AwardCrimesVersionEnum, type BasicProperty, type BasicUser, type Bazaar, type BazaarAdvancedItemSales, type BazaarBargainSales, type BazaarBulkSales, type BazaarDollarSales, type BazaarRecentFavorites, type BazaarResponse, type BazaarResponseSpecialized, type BazaarSpecialized, type BazaarTotalFavorites, type BazaarWeekly, type BazaarWeeklyCustomers, type BazaarWeeklyIncome, type Bounty, type ChainId, type CompanyId, type CompanyTypeId, type CountryEnum, type DirtyBombId, type DiscordId, type EducationId, type EliminationTeamId, type ErrorAccessLevelTooLow, type ErrorApiDisabled, type ErrorApiKeyPaused, type ErrorBackendError, type ErrorCategorySelectionUnavailableForInteractionLogs, type ErrorClosedTemporarily, type ErrorDailyReadLimitReached, type ErrorIncorrectCategory, type ErrorIncorrectId, type ErrorIncorrectIdEntityRelation, type ErrorIncorrectKey, type ErrorIncorrectLogId, type ErrorInvalidStatRequested, type ErrorIpBlocked, type ErrorKeyChangeCooldown, type ErrorKeyEmpty, type ErrorKeyOwnerInFederalJail, type ErrorKeyReadError, type ErrorKeyTemporaryDisabled, type ErrorLogUnavailable, type ErrorMustMigrateToCrimesV2, type ErrorMustMigrateToOrganizedCrimesV2, type ErrorOnlyAvailableInApiV1, type ErrorOnlyAvailableInApiV2, type ErrorOnlyCategoryOrStatsAllowed, type ErrorRaceNotFinished, type ErrorTooManyRequests, type ErrorUnknown, type ErrorWrongFields, type ErrorWrongType, type Faction, type FactionApplication, type FactionApplicationStatusEnum, type FactionApplicationsResponse, type FactionAttackResult, type FactionBalance, type FactionBalanceResponse, type FactionBasic, type FactionBasicResponse, type FactionBranchDetails, type FactionBranchId, type FactionBranchStateEnum, type FactionChain, FactionChainIdContext, type FactionChainReport, type FactionChainReportAttacker, type FactionChainReportAttackerAttacks, type FactionChainReportAttackerRespect, type FactionChainReportBonus, type FactionChainReportDetails, type FactionChainReportResponse, type FactionChainWarfare, type FactionChainsResponse, type FactionContributor, type FactionContributorsResponse, type FactionCrime, type FactionCrimeId, FactionCrimeIdContext, type FactionCrimeItemOutcomeEnum, type FactionCrimeResponse, type FactionCrimeReward, type FactionCrimeRewardItem, type FactionCrimeRewardPayout, type FactionCrimeSlot, type FactionCrimeStatusEnum, type FactionCrimeUser, type FactionCrimeUserItemOutcome, type FactionCrimeUserItemOutcomeEnum, type FactionCrimeUserOutcome, type FactionCrimesResponse, FactionEndpoint, type FactionHofResponse, type FactionHofStats, type FactionHofValues, type FactionId, FactionIdContext, type FactionLookupResponse, type FactionMember, type FactionMembersResponse, type FactionNews, type FactionNewsCategory, type FactionNewsResponse, type FactionOngoingChain, type FactionOngoingChainResponse, type FactionOrganizedCrimePayoutType, type FactionPact, type FactionPosition, type FactionPositionAbilityEnum, type FactionPositionsResponse, type FactionRacketsResponse, type FactionRaidReport, type FactionRaidReportAttacker, type FactionRaidReportFaction, type FactionRaidReportUser, type FactionRaidWar, FactionRaidWarIdContext, type FactionRaidWarParticipant, type FactionRaidWarReportResponse, type FactionRaidWarfare, type FactionRaidWarfareFaction, type FactionRaidsResponse, type FactionRank, type FactionRankEnum, type FactionRankedWar, type FactionRankedWarDetails, FactionRankedWarIdContext, type FactionRankedWarParticipant, type FactionRankedWarReportResponse, type FactionRankedWarResponse, type FactionRankedWarsCategoryEnum, type FactionResponse, type FactionSearch, type FactionSearchLeader, type FactionSearchResponse, type FactionSelectionName, type FactionSlotPositionInfo, type FactionStat, type FactionStatEnum, type FactionStatsResponse, type FactionTerritoriesOwnershipResponse, type FactionTerritoriesResponse, type FactionTerritory, type FactionTerritoryEnum, type FactionTerritoryOwnership, type FactionTerritoryWar, type FactionTerritoryWarFaction, type FactionTerritoryWarFactionWallPlayers, type FactionTerritoryWarFinished, type FactionTerritoryWarFinishedFaction, FactionTerritoryWarIdContext, type FactionTerritoryWarOngoing, type FactionTerritoryWarOngoingFaction, type FactionTerritoryWarParticipant, type FactionTerritoryWarReport, type FactionTerritoryWarReportFaction, type FactionTerritoryWarReportMembers, type FactionTerritoryWarReportResponse, type FactionTerritoryWarResultEnum, type FactionTerritoryWarfare, type FactionTerritoryWarsCategoryEnum, type FactionTerritoryWarsHistoryResponse, type FactionUpgradeDetails, type FactionUpgrades, type FactionUpgradesResponse, type FactionWarfareDirtyBomb, type FactionWarfareDirtyBombPlanter, type FactionWarfareDirtyBombTargetFaction, type FactionWarfareResponse, type FactionWarfareTypeEnum, type FactionWars, type FactionWarsResponse, type ForumCategoriesResponse, ForumCategoryIdsContext, ForumEndpoint, type ForumFeed, type ForumFeedTypeEnum, type ForumId, type ForumLookupResponse, type ForumPoll, type ForumPollVote, type ForumPost, type ForumPostId, type ForumPostsResponse, type ForumResponse, type ForumSelectionName, type ForumSubscribedThread, type ForumSubscribedThreadPostsCount, type ForumThreadAuthor, type ForumThreadBase, type ForumThreadExtended, type ForumThreadId, ForumThreadIdContext, type ForumThreadResponse, type ForumThreadUserExtended, type ForumThreadsResponse, type HofValue, type HofValueFloat, type HofValueString, type HonorId, type HonorRarityEnum, type HonorTypeEnum, type ItemId, type ItemMarket, type ItemMarketItem, type ItemMarketListingItemBonus, type ItemMarketListingItemDetails, type ItemMarketListingItemStats, type ItemMarketListingNonstackable, type ItemMarketListingStackable, type ItemModId, type ItemUid, type JobPositionArmyEnum, type JobPositionCasinoEnum, type JobPositionEducationEnum, type JobPositionGrocerEnum, type JobPositionLawEnum, type JobPositionMedicalEnum, type JobTypeEnum, KeyEndpoint, type KeyInfoAvailableLog, type KeyInfoResponse, type KeyLogResponse, type KeyResponse, type KeySelectionName, type LogCategoryId, type LogId, MarketEndpoint, MarketIdContext, type MarketItemMarketResponse, type MarketLookupResponse, type MarketPropertiesResponse, type MarketPropertyDetails, MarketPropertyTypeIdContext, type MarketRentalDetails, type MarketRentalsResponse, type MarketResponse, type MarketSelectionName, type MarketSpecializedBazaarCategoryEnum, type MedalId, type MedalTypeEnum, type MeritId, type MissionDifficultyEnum, type MissionRewardDetailsAmmo, type MissionRewardDetailsItem, type MissionRewardDetailsUpgrade, type MissionRewardUpgrade, type MissionStatusEnum, type OrganizedCrimeName, PaginatedResponse, type Parameters, type PersonalStatsAttackingExtended, type PersonalStatsAttackingPopular, type PersonalStatsAttackingPublic, type PersonalStatsBattleStats, type PersonalStatsBounties, type PersonalStatsCategoryEnum, type PersonalStatsCommunication, type PersonalStatsCrimes, type PersonalStatsCrimesPopular, type PersonalStatsCrimesV1, type PersonalStatsCrimesV2, type PersonalStatsDrugs, type PersonalStatsFinishingHits, type PersonalStatsHistoricStat, type PersonalStatsHospital, type PersonalStatsHospitalPopular, type PersonalStatsInvestments, type PersonalStatsItems, type PersonalStatsItemsPopular, type PersonalStatsJail, type PersonalStatsJobsExtended, type PersonalStatsJobsPublic, type PersonalStatsMissions, type PersonalStatsNetworthExtended, type PersonalStatsNetworthPublic, type PersonalStatsOther, type PersonalStatsOtherPopular, type PersonalStatsRacing, type PersonalStatsStatName, type PersonalStatsTrading, type PersonalStatsTravel, type PersonalStatsTravelPopular, type ProfileSpouse, PropertyEndpoint, type PropertyId, PropertyIdContext, type PropertyLookupResponse, type PropertyModificationEnum, type PropertyPropertyResponse, type PropertyResponse, type PropertySelectionName, type PropertyStaffEnum, type PropertyTypeId, type Race, type RaceCar, type RaceCarId, type RaceCarUpgrade, type RaceCarUpgradeCategory, type RaceCarUpgradeId, type RaceCarUpgradeSubCategory, type RaceClassEnum, type RaceId, type RaceRecord, type RaceStatusEnum, type RaceTrack, type RaceTrackId, type RacerDetails, type RacingCarUpgradesResponse, type RacingCarsResponse, RacingEndpoint, type RacingLookupResponse, type RacingRaceDetails, type RacingRaceDetailsResponse, RacingRaceIdContext, type RacingRaceTypeEnum, type RacingRacesResponse, type RacingResponse, type RacingSelectionName, RacingTrackIdContext, type RacingTrackRecordsResponse, type RacingTracksResponse, type RaidWarId, type RankedWarId, type RateLimitMode, type Report, type ReportAnonymousBounties, type ReportBase, type ReportCompanyFinancials, type ReportFriendOrFoe, type ReportFriendOrFoeUser, type ReportHistory, type ReportHistoryCompany, type ReportHistoryFaction, type ReportInvestment, type ReportMoney, type ReportMostWanted, type ReportReport, type ReportStats, type ReportStockAnalysis, type ReportTrueLevel, type ReportTypeEnum, type ReportWarrantDetails, type ReportsResponse, type RequestLinks, type RequestMetadata, type RequestMetadataWithLinks, type RequestMetadataWithLinksAndTotal, type Requester, type Revive, type ReviveId, type ReviveSetting, type ReviveSimplified, type RevivesFullResponse, type RevivesResponse, type SelectionCategoryEnum, type StockId, type TerritoryWarId, type TimestampResponse, TornAPI, type TornAPIOptions, TornApiError, type TornBountiesResponse, type TornCalendarActivity, type TornCalendarResponse, type TornCrime, type TornCrimeId, TornCrimeIdContext, type TornCrimesResponse, type TornEducation, type TornEducationCourses, type TornEducationPrerequisites, type TornEducationResponse, type TornEducationRewards, type TornEliminationTeam, type TornEliminationTeamLeader, type TornEliminationTeamPlayer, type TornEliminationTeamPlayersResponse, type TornEliminationTeamsResponse, TornEndpoint, type TornFactionHof, type TornFactionHofCategory, type TornFactionHofResponse, type TornFactionTree, type TornFactionTreeBranch, type TornFactionTreeResponse, type TornHof, type TornHofBasic, type TornHofCategory, type TornHofResponse, type TornHofWithOffenses, type TornHonor, type TornHonorsResponse, TornIdContext, TornIdsContext, type TornInventoryItemType, type TornItem, type TornItemAmmo, type TornItemAmmoResponse, type TornItemAmmoTypeEnum, type TornItemArmorCoverage, type TornItemArmorCoveragePartEnum, type TornItemArmorDetails, type TornItemBaseStats, type TornItemCategory, type TornItemDetails, type TornItemDetailsResponse, type TornItemMods, type TornItemModsResponse, type TornItemTypeEnum, type TornItemWeaponCategoryEnum, type TornItemWeaponDetails, type TornItemWeaponTypeEnum, type TornItemsResponse, type TornLog, type TornLogCategoriesResponse, type TornLogCategory, TornLogCategoryIdContext, type TornLogTypesResponse, type TornLookupResponse, type TornMedal, type TornMedalsResponse, type TornMerit, type TornMeritsResponse, type TornOrganizedCrime, type TornOrganizedCrimePositionId, type TornOrganizedCrimePositionIdDeprecated, type TornOrganizedCrimeRequiredItem, type TornOrganizedCrimeResponse, type TornOrganizedCrimeScope, type TornOrganizedCrimeSlot, type TornOrganizedCrimeSpawn, type TornProperties, type TornRacket, type TornRacketReward, type TornRacketType, TornRateLimitError, type TornResponse, type TornSelectionName, type TornStock, type TornStockDetailed, type TornStockDetailedResponse, type TornStockHistory, TornStockIdContext, type TornStockPerformance, type TornStocksResponse, type TornSubcrime, type TornSubcrimesResponse, type TornTerritoriesNoLinksResponse, type TornTerritoriesResponse, type TornTerritory, type TornTerritoryCoordinates, type TradeCategoryEnum, type TradeId, type TradeItem, type TradeItemCompany, type TradeItemFaction, type TradeItemItem, type TradeItemMoney, type TradeItemNap, type TradeItemProperty, type User, type UserAmmo, type UserAmmoResponse, type UserAmmoType, type UserBar, type UserBars, type UserBarsResponse, type UserBasic, type UserBasicResponse, type UserBattleStatDetail, type UserBattleStatModifierDetail, type UserBattleStatsResponse, type UserBountiesResponse, type UserCalendar, type UserCalendarResponse, type UserClothing, type UserCompany, type UserCompanyPoints, type UserCompetitionEasterEggs, type UserCompetitionElimination, type UserCompetitionHalloween, type UserCompetitionResponse, type UserCompetitionRps, type UserCooldownsResponse, type UserCrime, type UserCrimeAttempts, type UserCrimeDetailsBootlegging, type UserCrimeDetailsCardSkimming, type UserCrimeDetailsCracking, type UserCrimeDetailsGraffiti, type UserCrimeDetailsHustling, type UserCrimeDetailsScamming, type UserCrimeDetailsShoplifting, UserCrimeIdContext, type UserCrimeRewardAmmo, type UserCrimeRewardItem, type UserCrimeRewards, type UserCrimeUniques, type UserCrimeUniquesReward, type UserCrimeUniquesRewardAmmo, type UserCrimeUniquesRewardAmmoEnum, type UserCrimeUniquesRewardMoney, type UserCrimesResponse, type UserCurrentEducation, type UserDiscordPathId, type UserDiscordResponse, type UserDonatorStatusEnum, type UserEducation, type UserEducationResponse, UserEndpoint, type UserEnlistedCarsResponse, type UserEquipment, type UserEquipmentResponse, type UserEvent, type UserEventId, type UserEventsResponse, type UserFaction, type UserFactionBalance, type UserFactionBalanceResponse, type UserFactionBasic, type UserFactionResponse, type UserFlyMethodEnum, type UserForumFeedResponse, type UserForumFriendsResponse, type UserForumPostsResponse, type UserForumSubscribedThreadsResponse, type UserForumThreadsResponse, type UserGenderEnum, type UserHofResponse, type UserHofStats, type UserHonor, type UserHonorsResponse, type UserIconId, type UserIconPrivate, type UserIconPublic, type UserIconsResponse, type UserId, UserIdContext, type UserInventory, type UserInventoryItem, type UserInventoryResponse, type UserItemMarkeListingItemDetails, type UserItemMarketListing, type UserItemMarketResponse, type UserJob, type UserJobPointsResponse, type UserJobRanks, type UserJobRanksResponse, type UserJobResponse, type UserLastAction, type UserLastActionStatusEnum, type UserList, type UserListEnum, type UserListResponse, type UserLog, type UserLogId, type UserLogsResponse, type UserLookupResponse, type UserMaritalStatusEnum, type UserMedal, type UserMedalsResponse, type UserMeritUpgrade, type UserMerits, type UserMeritsResponse, type UserMessage, type UserMessageId, type UserMessageTypeEnum, type UserMessagesResponse, type UserMissionsResponse, type UserMoneyResponse, type UserNewEventsResponse, type UserNewMessagesResponse, type UserNotificationsResponse, type UserOrganizedCrimeError, type UserOrganizedCrimeResponse, type UserOrganizedCrimesResponse, type UserPersonalStatsCategory, type UserPersonalStatsFull, type UserPersonalStatsFullPublic, type UserPersonalStatsHistoric, type UserPersonalStatsPopular, type UserPersonalStatsResponse, type UserPlaneImageTypeEnum, type UserProfileResponse, type UserPropertiesResponse, type UserPropertyBasicDetails, type UserPropertyDetails, type UserPropertyDetailsExtended, type UserPropertyDetailsExtendedForRent, type UserPropertyDetailsExtendedForSale, type UserPropertyDetailsExtendedRented, type UserPropertyDetailsExtendedWithRent, type UserPropertyResponse, type UserRaceCarDetails, type UserRaceDetails, type UserRacesResponse, type UserRacingRecordsResponse, type UserRankEnum, type UserRefillsResponse, type UserResponse, type UserRoleEnum, type UserRpsStatus, type UserSelectionName, type UserSkillDetail, type UserSkillSlugEnum, type UserSkillsResponse, type UserStatus, type UserStatusStateEnum, type UserStock, type UserStockTransaction, type UserStocksResponse, type UserSubcrime, type UserTitleEnum, type UserTrade, type UserTradeDetailed, UserTradeIdContext, type UserTradeParticipant, type UserTradeResponse, type UserTradesResponse, type UserTravelResponse, type UserVirus, type UserVirusResponse, type UserWeaponExp, type UserWeaponExpResponse, type UserWorkStatsResponse, type WeaponBonusEnum };
7434
+ export { type AmmoId, type ApiError, type ApiFiltersAttacksRevivesEnum, type ApiKeyAccessTypeEnum, type ApiKeyBalancing, type ApplicationStatusEnum, type Attack, type AttackActionEnum, type AttackCode, type AttackFinishingHitEffect, type AttackId, type AttackLog, type AttackLogResponse, type AttackLogSummary, type AttackPlayer, type AttackPlayerSimplified, type AttackSimplified, type AttackingFinishingHitEffects, type AttacksFullResponse, type AttacksResponse, type AuctionHouseListing, type AuctionHouseResponse, type AuctionHouseStackableItem, type AuctionListingId, type AwardCrimesVersionEnum, type BasicProperty, type BasicUser, type Bazaar, type BazaarAdvancedItemSales, type BazaarBargainSales, type BazaarBulkSales, type BazaarDollarSales, type BazaarRecentFavorites, type BazaarResponse, type BazaarResponseSpecialized, type BazaarSpecialized, type BazaarTotalFavorites, type BazaarWeekly, type BazaarWeeklyCustomers, type BazaarWeeklyIncome, type Bounty, type ChainId, type CompaniesResponse, type CompaniesSearchResponse, type CompanyApplication, type CompanyApplicationPlayer, type CompanyApplicationPlayerStats, type CompanyApplicationsResponse, type CompanyCustomers, type CompanyDirector, type CompanyEmployee, type CompanyEmployeeEffectiveness, type CompanyEmployeeExtended, type CompanyEmployeeFull, type CompanyEmployeePosition, type CompanyEmployeeStats, type CompanyEmployees, type CompanyEmployeesResponse, type CompanyEmployeesResponseBasic, CompanyEndpoint, type CompanyId, CompanyIdContext, type CompanyIncome, type CompanyLookupResponse, type CompanyNewsCategory, type CompanyPositionId, type CompanyProfile, type CompanyProfileExtended, type CompanyProfileExtendedResponse, type CompanyProfileResponse, type CompanyProfileResponseMixed, type CompanyResponse, type CompanySearchParameter, type CompanySearchProfile, type CompanySelectionName, type CompanyStaffRoomSizeEnum, type CompanyStockItem, type CompanyStockResponse, type CompanyStorageSizeEnum, type CompanyType, type CompanyTypeId, CompanyTypeIdContext, type CompanyUpgrades, 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 ErrorFileDoesNotExist, 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 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 FactionNewsCategory, type FactionOngoingChain, type FactionOngoingChainResponse, type FactionOrganizedCrimePayoutType, type FactionPact, type FactionPosition, type FactionPositionAbilityEnum, type FactionPositionsResponse, type FactionRacketsResponse, type FactionRaidReport, type FactionRaidReportAttacker, type FactionRaidReportFaction, type FactionRaidReportUser, type FactionRaidWar, FactionRaidWarIdContext, type FactionRaidWarParticipant, type FactionRaidWarReportResponse, type FactionRaidWarfare, type FactionRaidWarfareFaction, type FactionRaidsResponse, type FactionRank, type FactionRankEnum, type FactionRankedWar, type FactionRankedWarDetails, FactionRankedWarIdContext, type FactionRankedWarParticipant, type FactionRankedWarReportResponse, type FactionRankedWarResponse, type FactionRankedWarsCategoryEnum, type FactionResponse, type FactionSearch, type FactionSearchLeader, type FactionSearchResponse, type FactionSelectionName, type FactionSlotPositionInfo, type FactionStat, type FactionStatEnum, type FactionStatsResponse, type FactionTerritoriesOwnershipResponse, type FactionTerritoriesResponse, type FactionTerritory, type FactionTerritoryEnum, type FactionTerritoryOwnership, type FactionTerritoryWar, type FactionTerritoryWarFaction, type FactionTerritoryWarFactionWallPlayers, type FactionTerritoryWarFinished, type FactionTerritoryWarFinishedFaction, FactionTerritoryWarIdContext, type FactionTerritoryWarOngoing, type FactionTerritoryWarOngoingFaction, type FactionTerritoryWarParticipant, type FactionTerritoryWarReport, type FactionTerritoryWarReportFaction, type FactionTerritoryWarReportMembers, type FactionTerritoryWarReportResponse, type FactionTerritoryWarResultEnum, type FactionTerritoryWarfare, type FactionTerritoryWarsCategoryEnum, type FactionTerritoryWarsHistoryResponse, type FactionUpgradeDetails, type FactionUpgrades, type FactionUpgradesResponse, type FactionWarfareDirtyBomb, type FactionWarfareDirtyBombPlanter, type FactionWarfareDirtyBombTargetFaction, type FactionWarfareResponse, type FactionWarfareTypeEnum, type FactionWars, type FactionWarsResponse, type ForumCategoriesResponse, ForumCategoryIdsContext, ForumEndpoint, type ForumFeed, type ForumFeedTypeEnum, type ForumId, type ForumLookupResponse, type ForumPoll, type ForumPollVote, type ForumPost, type ForumPostId, type ForumPostsResponse, type ForumResponse, type ForumSelectionName, type ForumSubscribedThread, type ForumSubscribedThreadPostsCount, type ForumThreadAuthor, type ForumThreadBase, type ForumThreadExtended, type ForumThreadId, ForumThreadIdContext, type ForumThreadResponse, type ForumThreadUserExtended, type ForumThreadsResponse, type HofValue, type HofValueFloat, type HofValueString, type HonorId, type HonorRarityEnum, type HonorTypeEnum, type ItemId, type ItemMarket, type ItemMarketItem, type ItemMarketListingItemBonus, type ItemMarketListingItemDetails, type ItemMarketListingItemStats, type ItemMarketListingNonstackable, type ItemMarketListingStackable, type ItemModId, type ItemUid, type JobPositionArmyEnum, type JobPositionCasinoEnum, type JobPositionEducationEnum, type JobPositionGrocerEnum, type JobPositionLawEnum, type JobPositionMedicalEnum, type JobTypeEnum, KeyEndpoint, type KeyInfoAvailableLog, type KeyInfoResponse, type KeyLogResponse, type KeyResponse, type KeySelectionName, type LogCategoryId, type LogId, MarketEndpoint, MarketIdContext, type MarketItemMarketResponse, type MarketLookupResponse, type MarketPropertiesResponse, type MarketPropertyDetails, MarketPropertyTypeIdContext, type MarketRentalDetails, type MarketRentalsResponse, type MarketResponse, type MarketSelectionName, type MarketSpecializedBazaarCategoryEnum, type MedalId, type MedalTypeEnum, type MeritId, type MissionDifficultyEnum, type MissionRewardDetailsAmmo, type MissionRewardDetailsItem, type MissionRewardDetailsUpgrade, type MissionRewardUpgrade, type MissionStatusEnum, type News, type NewsResponse, type OrganizedCrimeName, PaginatedResponse, type Parameters, type PersonalStatsAttackingExtended, type PersonalStatsAttackingPopular, type PersonalStatsAttackingPublic, type PersonalStatsBattleStats, type PersonalStatsBounties, type PersonalStatsCategoryEnum, type PersonalStatsCommunication, type PersonalStatsCrimes, type PersonalStatsCrimesPopular, type PersonalStatsCrimesV1, type PersonalStatsCrimesV2, type PersonalStatsDrugs, type PersonalStatsFinishingHits, type PersonalStatsHistoricStat, type PersonalStatsHospital, type PersonalStatsHospitalPopular, type PersonalStatsInvestments, type PersonalStatsItems, type PersonalStatsItemsPopular, type PersonalStatsJail, type PersonalStatsJobsExtended, type PersonalStatsJobsPublic, type PersonalStatsMissions, type PersonalStatsNetworthExtended, type PersonalStatsNetworthPublic, type PersonalStatsOther, type PersonalStatsOtherPopular, type PersonalStatsRacing, type PersonalStatsStatName, type PersonalStatsTrading, type PersonalStatsTravel, type PersonalStatsTravelPopular, type ProfileSpouse, PropertyEndpoint, type PropertyId, PropertyIdContext, type PropertyLookupResponse, type PropertyModificationEnum, type PropertyPropertyResponse, type PropertyResponse, type PropertySelectionName, type PropertyStaffEnum, type PropertyTypeId, type Race, type RaceCar, type RaceCarId, type RaceCarUpgrade, type RaceCarUpgradeCategory, type RaceCarUpgradeId, type RaceCarUpgradeSubCategory, type RaceClassEnum, type RaceId, type RaceRecord, type RaceStatusEnum, type RaceTrack, type RaceTrackId, type RacerDetails, type RacingCarUpgradesResponse, type RacingCarsResponse, RacingEndpoint, type RacingLookupResponse, type RacingRaceDetails, type RacingRaceDetailsResponse, RacingRaceIdContext, type RacingRaceTypeEnum, type RacingRacesResponse, type RacingResponse, type RacingSelectionName, RacingTrackIdContext, type RacingTrackRecordsResponse, type RacingTracksResponse, type RaidWarId, type RankedWarId, type RateLimitMode, type Report, type ReportAnonymousBounties, type ReportBase, type ReportCompanyFinancials, type ReportFriendOrFoe, type ReportFriendOrFoeUser, type ReportHistory, type ReportHistoryCompany, type ReportHistoryFaction, type ReportInvestment, type ReportMoney, type ReportMostWanted, type ReportReport, type ReportStats, type ReportStockAnalysis, type ReportTrueLevel, type ReportTypeEnum, type ReportWarrantDetails, type ReportsResponse, type RequestLinks, type RequestMetadata, type RequestMetadataWithLinks, type RequestMetadataWithLinksAndTotal, type Requester, type Revive, type ReviveId, type ReviveSetting, type ReviveSimplified, type RevivesFullResponse, type RevivesResponse, type SelectionCategoryEnum, type StockId, type TerritoryWarId, type TimestampResponse, TornAPI, type TornAPIOptions, TornApiError, type TornBountiesResponse, type TornCalendarActivity, type TornCalendarResponse, type TornCrime, type TornCrimeId, TornCrimeIdContext, type TornCrimesResponse, type TornEducation, type TornEducationCourses, type TornEducationPrerequisites, type TornEducationResponse, type TornEducationRewards, type TornEliminationTeam, type TornEliminationTeamLeader, type TornEliminationTeamPlayer, type TornEliminationTeamPlayersResponse, type TornEliminationTeamsResponse, TornEndpoint, type TornFactionHof, type TornFactionHofCategory, type TornFactionHofResponse, type TornFactionTree, type TornFactionTreeBranch, type TornFactionTreeResponse, type TornHof, type TornHofBasic, type TornHofCategory, type TornHofResponse, type TornHofWithOffenses, type TornHonor, type TornHonorsResponse, TornIdContext, TornIdsContext, type TornInventoryItemType, type TornItem, type TornItemAmmo, type TornItemAmmoResponse, type TornItemAmmoTypeEnum, type TornItemArmorCoverage, type TornItemArmorCoveragePartEnum, type TornItemArmorDetails, type TornItemBaseStats, type TornItemCategory, type TornItemDetails, type TornItemDetailsResponse, type TornItemMods, type TornItemModsResponse, type TornItemTypeEnum, type TornItemWeaponCategoryEnum, type TornItemWeaponDetails, type TornItemWeaponTypeEnum, type TornItemsResponse, type TornLog, type TornLogCategoriesResponse, type TornLogCategory, TornLogCategoryIdContext, type TornLogTypesResponse, type TornLookupResponse, type TornMedal, type TornMedalsResponse, type TornMerit, type TornMeritsResponse, type TornOrganizedCrime, type TornOrganizedCrimePositionId, type TornOrganizedCrimePositionIdDeprecated, type TornOrganizedCrimeRequiredItem, type TornOrganizedCrimeResponse, type TornOrganizedCrimeScope, type TornOrganizedCrimeSlot, type TornOrganizedCrimeSpawn, type TornProperties, type TornRacket, type TornRacketReward, type TornRacketType, TornRateLimitError, type TornResponse, type TornSelectionName, type TornStock, type TornStockDetailed, type TornStockDetailedResponse, type TornStockHistory, TornStockIdContext, type TornStockPerformance, type TornStocksResponse, type TornSubcrime, type TornSubcrimesResponse, type TornTerritoriesNoLinksResponse, type TornTerritoriesResponse, type TornTerritory, type TornTerritoryCoordinates, type TradeCategoryEnum, type TradeId, type TradeItem, type TradeItemCompany, type TradeItemFaction, type TradeItemItem, type TradeItemMoney, type TradeItemNap, type TradeItemProperty, type User, type UserAmmo, type UserAmmoResponse, type UserAmmoType, type UserBar, type UserBars, type UserBarsResponse, type UserBasic, type UserBasicResponse, type UserBattleStatDetail, type UserBattleStatModifierDetail, type UserBattleStatsResponse, type UserBountiesResponse, type UserCalendar, type UserCalendarResponse, type UserCasinoResponse, 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 UserEquipmentItemMod, type UserEquipmentResponse, type UserEvent, type UserEventId, type UserEventsResponse, type UserFaction, type UserFactionBalance, type UserFactionBalanceResponse, type UserFactionBasic, type UserFactionResponse, type UserFlyMethodEnum, type UserForumFeedResponse, type UserForumFriendsResponse, type UserForumPostsResponse, type UserForumSubscribedThreadsResponse, type UserForumThreadsResponse, type UserGenderEnum, type UserHofResponse, type UserHofStats, type UserHonor, type UserHonorsResponse, type UserIconId, type UserIconPrivate, type UserIconPublic, type UserIconsResponse, type UserId, UserIdContext, type UserInventory, type UserInventoryItem, type UserInventoryResponse, type UserItemMarkeListingItemDetails, type UserItemMarketListing, type UserItemMarketResponse, type UserItemMod, type UserItemModsResponse, type UserJob, type UserJobPointsResponse, type UserJobRanks, type UserJobRanksResponse, type UserJobResponse, type UserLastAction, type UserLastActionStatusEnum, type UserList, type UserListEnum, type UserListResponse, type UserLog, type UserLogId, type UserLogsResponse, type UserLookupResponse, type UserMaritalStatusEnum, type UserMedal, type UserMedalsResponse, type UserMeritUpgrade, type UserMerits, type UserMeritsResponse, type UserMessage, type UserMessageId, type UserMessageTypeEnum, type UserMessagesResponse, type UserMissionsResponse, type UserMoneyResponse, type UserNewEventsResponse, type UserNewMessagesResponse, type UserNotificationsResponse, type UserOrganizedCrimeError, type UserOrganizedCrimeResponse, type UserOrganizedCrimesResponse, type UserPersonalStatsCategory, type UserPersonalStatsFull, type UserPersonalStatsFullPublic, type UserPersonalStatsHistoric, type UserPersonalStatsPopular, type UserPersonalStatsResponse, type UserPlaneImageTypeEnum, type UserProfileResponse, type UserPropertiesResponse, type UserPropertyBasicDetails, type UserPropertyDetails, type UserPropertyDetailsExtended, type UserPropertyDetailsExtendedForRent, type UserPropertyDetailsExtendedForSale, type UserPropertyDetailsExtendedRented, type UserPropertyDetailsExtendedWithRent, type UserPropertyResponse, type UserRaceCarDetails, type UserRaceDetails, type UserRacesResponse, type UserRacingRecordsResponse, type UserRankEnum, type UserRefillsResponse, type UserResponse, type UserRoleEnum, type UserRpsStatus, type UserSelectionName, type UserSkillDetail, type UserSkillSlugEnum, type UserSkillsResponse, type UserStatus, type UserStatusStateEnum, type UserStock, type UserStockTransaction, type UserStocksResponse, type UserSubcrime, type UserTitleEnum, type UserTrade, type UserTradeDetailed, UserTradeIdContext, type UserTradeParticipant, type UserTradeResponse, type UserTradesResponse, type UserTravelResponse, type UserVirus, type UserVirusResponse, type UserWeaponExp, type UserWeaponExpResponse, type UserWorkStatsResponse, type WeaponBonusEnum };