torn-client 0.2.6 → 0.2.8

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.ts CHANGED
@@ -67,7 +67,7 @@ type Attack = {
67
67
  code: AttackCode;
68
68
  started: number;
69
69
  ended: number;
70
- attacker: AttackPlayer | unknown;
70
+ attacker: AttackPlayer | null;
71
71
  defender: AttackPlayer;
72
72
  result: FactionAttackResult;
73
73
  respect_gain: number;
@@ -119,12 +119,12 @@ type AttackLog = {
119
119
  item: {
120
120
  id?: ItemId;
121
121
  name?: string;
122
- } | unknown;
123
- } | unknown;
122
+ } | null;
123
+ } | null;
124
124
  defender: {
125
125
  id: UserId;
126
126
  name: string;
127
- } | unknown;
127
+ } | null;
128
128
  attacker_item?: {
129
129
  id: ItemId;
130
130
  name: string;
@@ -142,8 +142,8 @@ type AttackLogResponse = {
142
142
 
143
143
  /** @category Models */
144
144
  type AttackLogSummary = {
145
- id: UserId | unknown;
146
- name: string | unknown;
145
+ id: UserId | null;
146
+ name: string | null;
147
147
  hits: number;
148
148
  misses: number;
149
149
  damage: number;
@@ -154,7 +154,7 @@ type AttackPlayer = {
154
154
  id: UserId;
155
155
  name: string;
156
156
  level: number;
157
- faction: AttackPlayerFaction | unknown;
157
+ faction: AttackPlayerFaction | null;
158
158
  };
159
159
 
160
160
  /** @category Models */
@@ -166,7 +166,7 @@ type AttackPlayerFaction = {
166
166
  /** @category Models */
167
167
  type AttackPlayerSimplified = {
168
168
  id: UserId;
169
- faction_id: FactionId | unknown;
169
+ faction_id: FactionId | null;
170
170
  };
171
171
 
172
172
  /** @category Models */
@@ -175,7 +175,7 @@ type AttackSimplified = {
175
175
  code: AttackCode;
176
176
  started: number;
177
177
  ended: number;
178
- attacker: AttackPlayerSimplified | unknown;
178
+ attacker: AttackPlayerSimplified | null;
179
179
  defender: AttackPlayerSimplified;
180
180
  result: FactionAttackResult;
181
181
  respect_gain: number;
@@ -273,10 +273,10 @@ type Bounty = {
273
273
  target_id: UserId;
274
274
  target_name: string;
275
275
  target_level: number;
276
- lister_id: UserId | unknown;
277
- lister_name: string | unknown;
276
+ lister_id: UserId | null;
277
+ lister_name: string | null;
278
278
  reward: number;
279
- reason: string | unknown;
279
+ reason: string | null;
280
280
  quantity: number;
281
281
  is_anonymous: boolean;
282
282
  valid_until: number;
@@ -337,9 +337,9 @@ type FactionApplication = {
337
337
  speed: number;
338
338
  dexterity: number;
339
339
  defense: number;
340
- } | unknown;
340
+ } | null;
341
341
  };
342
- message: string | unknown;
342
+ message: string | null;
343
343
  valid_until: number;
344
344
  status: FactionApplicationStatusEnum;
345
345
  };
@@ -399,7 +399,7 @@ type FactionBasic = {
399
399
  days_old: number;
400
400
  capacity: number;
401
401
  members: number;
402
- is_enlisted: boolean | unknown;
402
+ is_enlisted: boolean | null;
403
403
  rank: FactionRank;
404
404
  best_chain: number;
405
405
  };
@@ -536,17 +536,17 @@ type FactionContributorsResponse = {
536
536
  /** @category Models */
537
537
  type FactionCrime = {
538
538
  id: FactionCrimeId;
539
- previous_crime_id: FactionCrimeId | unknown;
539
+ previous_crime_id: FactionCrimeId | null;
540
540
  name: OrganizedCrimeName;
541
541
  difficulty: number;
542
542
  status: FactionCrimeStatusEnum;
543
543
  created_at: number;
544
- planning_at: number | unknown;
545
- ready_at: number | unknown;
544
+ planning_at: number | null;
545
+ ready_at: number | null;
546
546
  expired_at: number;
547
- executed_at: number | unknown;
547
+ executed_at: number | null;
548
548
  slots: FactionCrimeSlot[];
549
- rewards: FactionCrimeReward | unknown;
549
+ rewards: FactionCrimeReward | null;
550
550
  };
551
551
 
552
552
  /** @category Models */
@@ -566,7 +566,7 @@ type FactionCrimeReward = {
566
566
  items: FactionCrimeRewardItem[];
567
567
  respect: number;
568
568
  scope: number;
569
- payout: FactionCrimeRewardPayout | unknown;
569
+ payout: FactionCrimeRewardPayout | null;
570
570
  };
571
571
 
572
572
  /** @category Models */
@@ -592,8 +592,8 @@ type FactionCrimeSlot = {
592
592
  id: ItemId;
593
593
  is_reusable: boolean;
594
594
  is_available: boolean;
595
- } | unknown;
596
- user: FactionCrimeUser | unknown;
595
+ } | null;
596
+ user: FactionCrimeUser | null;
597
597
  checkpoint_pass_rate: number;
598
598
  };
599
599
 
@@ -609,9 +609,9 @@ type FactionCrimeStatusEnum = "Recruiting" | "Planning" | "Successful" | "Failur
609
609
  /** @category Models */
610
610
  type FactionCrimeUser = {
611
611
  id: UserId;
612
- outcome: FactionCrimeUserOutcome | unknown;
613
- outcome_duration?: number | unknown;
614
- item_outcome: FactionCrimeUserItemOutcome | unknown;
612
+ outcome: FactionCrimeUserOutcome | null;
613
+ outcome_duration?: number | null;
614
+ item_outcome: FactionCrimeUserItemOutcome | null;
615
615
  joined_at: number;
616
616
  progress: number;
617
617
  };
@@ -644,9 +644,9 @@ type FactionHofStats = {
644
644
 
645
645
  /** @category Models */
646
646
  type FactionHofValues = {
647
- chain: number | unknown;
648
- chain_duration: number | unknown;
649
- respect: number | unknown;
647
+ chain: number | null;
648
+ chain_duration: number | null;
649
+ respect: number | null;
650
650
  };
651
651
 
652
652
  /** @category Models */
@@ -732,7 +732,7 @@ type FactionPosition = {
732
732
  };
733
733
 
734
734
  /** @category Models */
735
- type FactionPositionAbilityEnum = "Medical Item Usage" | "Booster Item Usage" | "Drug Item Usage" | "Energy Refill Usage" | "Nerve Refill Usage" | "Temporary Item Loaning" | "Weapon & Armor Loaning" | "Item Retrieving" | "Organised Crimes" | "Faction API Access" | "Item Giving" | "Money Giving" | "Points Giving" | "Forum Management" | "Application Management" | "Kick Members" | "Balance Adjustment" | "War Management" | "Upgrade Management" | "Newsletter Sending" | "Announcement Changes" | "Description Changes";
735
+ type FactionPositionAbilityEnum = "Medical Item Usage" | "Booster Item Usage" | "Drug Item Usage" | "Energy Refill Usage" | "Nerve Refill Usage" | "Temporary Item Loaning" | "Weapon & Armor Loaning" | "Item Retrieving" | "Organised Crimes" | "Faction API Access" | "Item Giving" | "Money Giving" | "Points Giving" | "Forum Management" | "Application Management" | "Kick Members" | "Balance Adjustment" | "War Management" | "Upgrade Management" | "Newsletter Sending" | "Announcement Changes" | "Description Changes" | "Organised Crimes" | "Utility Item Loaning" | "Consumable Item Usage";
736
736
 
737
737
  /** @category Models */
738
738
  type FactionPositionsResponse = {
@@ -785,7 +785,7 @@ type FactionRaidsResponse = {
785
785
  type FactionRaidWar = {
786
786
  war_id: number;
787
787
  start: number;
788
- end: number | unknown;
788
+ end: number | null;
789
789
  factions: FactionRaidWarParticipant[];
790
790
  };
791
791
 
@@ -793,7 +793,7 @@ type FactionRaidWar = {
793
793
  type FactionRaidWarfare = {
794
794
  id: RaidWarId;
795
795
  start: number;
796
- end: number | unknown;
796
+ end: number | null;
797
797
  aggressor: FactionRaidWarfareFaction;
798
798
  defender: FactionRaidWarfareFaction;
799
799
  };
@@ -836,9 +836,9 @@ type FactionRank = {
836
836
  type FactionRankedWar = {
837
837
  war_id: number;
838
838
  start: number;
839
- end: number | unknown;
839
+ end: number | null;
840
840
  target: number;
841
- winner: number | unknown;
841
+ winner: number | null;
842
842
  factions: FactionRankedWarParticipant[];
843
843
  };
844
844
 
@@ -848,7 +848,7 @@ type FactionRankedWarDetails = {
848
848
  start: number;
849
849
  end: number;
850
850
  target: number;
851
- winner: FactionId | unknown;
851
+ winner: FactionId | null;
852
852
  factions: {
853
853
  id: FactionId;
854
854
  name: string;
@@ -924,10 +924,10 @@ type FactionSearch = {
924
924
  respect: number;
925
925
  members: number;
926
926
  leader: FactionSearchLeader;
927
- co_leader: FactionSearchLeader | unknown;
928
- image: string | unknown;
929
- tag_image: string | unknown;
930
- tag: string | unknown;
927
+ co_leader: FactionSearchLeader | null;
928
+ image: string | null;
929
+ tag_image: string | null;
930
+ tag: string | null;
931
931
  is_destroyed: boolean;
932
932
  is_recruiting: boolean;
933
933
  };
@@ -981,7 +981,7 @@ type FactionTerritory = {
981
981
  slots: number;
982
982
  respect: number;
983
983
  coordinates: TornTerritoryCoordinates;
984
- racket: TornRacket | unknown;
984
+ racket: TornRacket | null;
985
985
  };
986
986
 
987
987
  /** @category Models */
@@ -990,8 +990,8 @@ type FactionTerritoryEnum = "AAB" | "AAC" | "AAD" | "AAE" | "AAF" | "AAG" | "ABA
990
990
  /** @category Models */
991
991
  type FactionTerritoryOwnership = {
992
992
  id: string;
993
- owned_by: FactionId | unknown;
994
- acquired_at: number | unknown;
993
+ owned_by: FactionId | null;
994
+ acquired_at: number | null;
995
995
  };
996
996
 
997
997
  /** @category Models */
@@ -999,9 +999,9 @@ type FactionTerritoryWar = {
999
999
  war_id: number;
1000
1000
  territory: string;
1001
1001
  start: number;
1002
- end: number | unknown;
1002
+ end: number | null;
1003
1003
  target: number;
1004
- winner?: FactionId | unknown;
1004
+ winner?: FactionId | null;
1005
1005
  factions: FactionTerritoryWarParticipant[];
1006
1006
  };
1007
1007
 
@@ -1163,7 +1163,7 @@ type FactionWarfareDirtyBomb = {
1163
1163
  planted_at: number;
1164
1164
  detonated_at: number;
1165
1165
  faction: FactionWarfareDirtyBombTargetFaction;
1166
- user: FactionWarfareDirtyBombPlanter | unknown;
1166
+ user: FactionWarfareDirtyBombPlanter | null;
1167
1167
  };
1168
1168
 
1169
1169
  /** @category Models */
@@ -1190,7 +1190,7 @@ type FactionWarfareTypeEnum = "ranked" | "territory" | "raid" | "chain" | "db";
1190
1190
 
1191
1191
  /** @category Models */
1192
1192
  type FactionWars = {
1193
- ranked: FactionRankedWar | unknown;
1193
+ ranked: FactionRankedWar | null;
1194
1194
  raids: FactionRaidWar[];
1195
1195
  territory: FactionTerritoryWar[];
1196
1196
  };
@@ -1267,9 +1267,9 @@ type ForumPost = {
1267
1267
  is_edited: boolean;
1268
1268
  is_pinned: boolean;
1269
1269
  created_time: number;
1270
- edited_by: UserId | unknown;
1270
+ edited_by: UserId | null;
1271
1271
  has_quote: boolean;
1272
- quoted_post_id: number | unknown;
1272
+ quoted_post_id: number | null;
1273
1273
  content: string;
1274
1274
  likes: number;
1275
1275
  dislikes: number;
@@ -1321,9 +1321,9 @@ type ForumThreadBase = {
1321
1321
  rating: number;
1322
1322
  views: number;
1323
1323
  author: ForumThreadAuthor;
1324
- last_poster: ForumThreadAuthor | unknown;
1324
+ last_poster: ForumThreadAuthor | null;
1325
1325
  first_post_time: number;
1326
- last_post_time: number | unknown;
1326
+ last_post_time: number | null;
1327
1327
  has_poll: boolean;
1328
1328
  is_locked: boolean;
1329
1329
  is_sticky: boolean;
@@ -1333,7 +1333,7 @@ type ForumThreadBase = {
1333
1333
  type ForumThreadExtended = ForumThreadBase & {
1334
1334
  content: string;
1335
1335
  content_raw: string;
1336
- poll: ForumPoll | unknown;
1336
+ poll: ForumPoll | null;
1337
1337
  };
1338
1338
 
1339
1339
  /** @category Models */
@@ -1352,7 +1352,7 @@ type ForumThreadsResponse = {
1352
1352
 
1353
1353
  /** @category Models */
1354
1354
  type ForumThreadUserExtended = ForumThreadBase & {
1355
- new_posts: number | unknown;
1355
+ new_posts: number | null;
1356
1356
  };
1357
1357
 
1358
1358
  /** @category Models */
@@ -1370,7 +1370,7 @@ type HofValueFloat = {
1370
1370
  /** @category Models */
1371
1371
  type HofValueString = {
1372
1372
  value: string;
1373
- rank: number | unknown;
1373
+ rank: number | null;
1374
1374
  };
1375
1375
 
1376
1376
  /** @category Models */
@@ -1413,14 +1413,14 @@ type ItemMarketListingItemDetails = {
1413
1413
  uid: ItemUid;
1414
1414
  stats: ItemMarketListingItemStats;
1415
1415
  bonuses: ItemMarketListingItemBonus[];
1416
- rarity: "yellow" | "orange" | "red" | unknown;
1416
+ rarity: "yellow" | "orange" | "red" | null;
1417
1417
  };
1418
1418
 
1419
1419
  /** @category Models */
1420
1420
  type ItemMarketListingItemStats = {
1421
- damage: number | unknown;
1422
- accuracy: number | unknown;
1423
- armor: number | unknown;
1421
+ damage: number | null;
1422
+ accuracy: number | null;
1423
+ armor: number | null;
1424
1424
  quality: number;
1425
1425
  };
1426
1426
 
@@ -1485,8 +1485,8 @@ type KeyInfoResponse = {
1485
1485
  key: KeySelectionName[];
1486
1486
  };
1487
1487
  user: {
1488
- faction_id: FactionId | unknown;
1489
- company_id: CompanyId | unknown;
1488
+ faction_id: FactionId | null;
1489
+ company_id: CompanyId | null;
1490
1490
  id: UserId;
1491
1491
  };
1492
1492
  access: {
@@ -1508,8 +1508,8 @@ type KeyLogResponse = {
1508
1508
  timestamp: number;
1509
1509
  type: string;
1510
1510
  selections: string;
1511
- id: number | string | unknown;
1512
- comment?: string | unknown;
1511
+ id: number | string | null;
1512
+ comment?: string | null;
1513
1513
  ip: string;
1514
1514
  }[];
1515
1515
  };
@@ -1571,7 +1571,7 @@ type MarketRentalDetails = {
1571
1571
 
1572
1572
  /** @category Models */
1573
1573
  type MarketRentalsResponse = {
1574
- properties: MarketRentalDetails;
1574
+ rentals: MarketRentalDetails;
1575
1575
  _metadata: RequestMetadataWithLinks;
1576
1576
  };
1577
1577
 
@@ -1883,6 +1883,7 @@ type PersonalStatsCrimesV2 = {
1883
1883
  cracking: number;
1884
1884
  forgery: number;
1885
1885
  scamming: number;
1886
+ arson: number;
1886
1887
  };
1887
1888
  version: string;
1888
1889
  };
@@ -2158,7 +2159,7 @@ type PersonalStatsRacing = {
2158
2159
  };
2159
2160
 
2160
2161
  /** @category Models */
2161
- type PersonalStatsStatName = "attackswon" | "attackslost" | "attacksdraw" | "attacksassisted" | "defendswon" | "defendslost" | "defendsstalemated" | "elo" | "yourunaway" | "theyrunaway" | "unarmoredwon" | "bestkillstreak" | "attackhits" | "attackmisses" | "attackdamage" | "bestdamage" | "onehitkills" | "attackcriticalhits" | "roundsfired" | "specialammoused" | "hollowammoused" | "tracerammoused" | "piercingammoused" | "incendiaryammoused" | "attacksstealthed" | "retals" | "moneymugged" | "largestmug" | "itemslooted" | "highestbeaten" | "respectforfaction" | "rankedwarhits" | "raidhits" | "territoryjoins" | "territoryclears" | "territorytime" | "jobpointsused" | "trainsreceived" | "marketitemsbought" | "auctionswon" | "auctionsells" | "itemssent" | "trades" | "cityitemsbought" | "pointsbought" | "pointssold" | "bazaarcustomers" | "bazaarsales" | "bazaarprofit" | "jailed" | "peoplebusted" | "failedbusts" | "peoplebought" | "peopleboughtspent" | "hospital" | "medicalitemsused" | "bloodwithdrawn" | "reviveskill" | "revives" | "revivesreceived" | "heavyhits" | "machinehits" | "riflehits" | "smghits" | "shotgunhits" | "pistolhits" | "temphits" | "piercinghits" | "slashinghits" | "clubbinghits" | "mechanicalhits" | "h2hhits" | "mailssent" | "friendmailssent" | "factionmailssent" | "companymailssent" | "spousemailssent" | "classifiedadsplaced" | "personalsplaced" | "criminaloffensesold" | "sellillegalgoods" | "theftold" | "autotheftcrime" | "drugdealscrime" | "computercrime" | "fraudold" | "murdercrime" | "othercrime" | "organizedcrimes" | "bountiesplaced" | "totalbountyspent" | "bountiescollected" | "totalbountyreward" | "bountiesreceived" | "receivedbountyvalue" | "cityfinds" | "dumpfinds" | "itemsdumped" | "booksread" | "boostersused" | "consumablesused" | "candyused" | "alcoholused" | "energydrinkused" | "statenhancersused" | "eastereggsfound" | "eastereggsused" | "virusescoded" | "traveltimes" | "timespenttraveling" | "itemsboughtabroad" | "attackswonabroad" | "defendslostabroad" | "argtravel" | "mextravel" | "uaetravel" | "hawtravel" | "japtravel" | "uktravel" | "satravel" | "switravel" | "chitravel" | "cantravel" | "caytravel" | "drugsused" | "overdosed" | "rehabs" | "rehabcost" | "cantaken" | "exttaken" | "kettaken" | "lsdtaken" | "opitaken" | "pcptaken" | "shrtaken" | "spetaken" | "victaken" | "xantaken" | "missionscompleted" | "contractscompleted" | "dukecontractscompleted" | "missioncreditsearned" | "racingskill" | "racingpointsearned" | "racesentered" | "raceswon" | "networth" | "timeplayed" | "activestreak" | "bestactivestreak" | "awards" | "refills" | "nerverefills" | "tokenrefills" | "meritsbought" | "daysbeendonator" | "criminaloffenses" | "vandalism" | "theft" | "counterfeiting" | "fraud" | "illicitservices" | "cybercrime" | "extortion" | "illegalproduction" | "currentkillstreak" | "strength" | "defense" | "speed" | "dexterity" | "totalstats" | "manuallabor" | "intelligence" | "endurance" | "totalworkingstats" | "moneyinvested" | "investedprofit" | "investamount" | "banktimeleft" | "stockprofits" | "stocklosses" | "stockfees" | "stocknetprofits" | "stockpayouts" | "networthwallet" | "networthvault" | "networthbank" | "networthcayman" | "networthpoints" | "networthitems" | "networthdisplaycase" | "networthbazaar" | "networthitemmarket" | "networthproperties" | "networthstockmarket" | "networthauctionhouse" | "networthbookie" | "networthcompany" | "networthenlistedcars" | "networthpiggybank" | "networthpending" | "networthloan" | "networthunpaidfees" | "huntingskill" | "searchforcashskill" | "bootleggingskill" | "graffitiskill" | "shopliftingskill" | "pickpocketingskill" | "cardskimmingskill" | "burglaryskill" | "hustlingskill" | "disposalskill" | "crackingskill" | "forgeryskill" | "scammingskill";
2162
+ type PersonalStatsStatName = "attackswon" | "attackslost" | "attacksdraw" | "attacksassisted" | "defendswon" | "defendslost" | "defendsstalemated" | "elo" | "yourunaway" | "theyrunaway" | "unarmoredwon" | "bestkillstreak" | "attackhits" | "attackmisses" | "attackdamage" | "bestdamage" | "onehitkills" | "attackcriticalhits" | "roundsfired" | "specialammoused" | "hollowammoused" | "tracerammoused" | "piercingammoused" | "incendiaryammoused" | "attacksstealthed" | "retals" | "moneymugged" | "largestmug" | "itemslooted" | "highestbeaten" | "respectforfaction" | "rankedwarhits" | "raidhits" | "territoryjoins" | "territoryclears" | "territorytime" | "jobpointsused" | "trainsreceived" | "marketitemsbought" | "auctionswon" | "auctionsells" | "itemssent" | "trades" | "cityitemsbought" | "pointsbought" | "pointssold" | "bazaarcustomers" | "bazaarsales" | "bazaarprofit" | "jailed" | "peoplebusted" | "failedbusts" | "peoplebought" | "peopleboughtspent" | "hospital" | "medicalitemsused" | "bloodwithdrawn" | "reviveskill" | "revives" | "revivesreceived" | "heavyhits" | "machinehits" | "riflehits" | "smghits" | "shotgunhits" | "pistolhits" | "temphits" | "piercinghits" | "slashinghits" | "clubbinghits" | "mechanicalhits" | "h2hhits" | "mailssent" | "friendmailssent" | "factionmailssent" | "companymailssent" | "spousemailssent" | "classifiedadsplaced" | "personalsplaced" | "criminaloffensesold" | "sellillegalgoods" | "theftold" | "autotheftcrime" | "drugdealscrime" | "computercrime" | "fraudold" | "murdercrime" | "othercrime" | "organizedcrimes" | "bountiesplaced" | "totalbountyspent" | "bountiescollected" | "totalbountyreward" | "bountiesreceived" | "receivedbountyvalue" | "cityfinds" | "dumpfinds" | "itemsdumped" | "booksread" | "boostersused" | "consumablesused" | "candyused" | "alcoholused" | "energydrinkused" | "statenhancersused" | "eastereggsfound" | "eastereggsused" | "virusescoded" | "traveltimes" | "timespenttraveling" | "itemsboughtabroad" | "attackswonabroad" | "defendslostabroad" | "argtravel" | "mextravel" | "uaetravel" | "hawtravel" | "japtravel" | "uktravel" | "satravel" | "switravel" | "chitravel" | "cantravel" | "caytravel" | "drugsused" | "overdosed" | "rehabs" | "rehabcost" | "cantaken" | "exttaken" | "kettaken" | "lsdtaken" | "opitaken" | "pcptaken" | "shrtaken" | "spetaken" | "victaken" | "xantaken" | "missionscompleted" | "contractscompleted" | "dukecontractscompleted" | "missioncreditsearned" | "racingskill" | "racingpointsearned" | "racesentered" | "raceswon" | "networth" | "timeplayed" | "activestreak" | "bestactivestreak" | "awards" | "refills" | "nerverefills" | "tokenrefills" | "meritsbought" | "daysbeendonator" | "criminaloffenses" | "vandalism" | "theft" | "counterfeiting" | "fraud" | "illicitservices" | "cybercrime" | "extortion" | "illegalproduction" | "currentkillstreak" | "strength" | "defense" | "speed" | "dexterity" | "totalstats" | "manuallabor" | "intelligence" | "endurance" | "totalworkingstats" | "moneyinvested" | "investedprofit" | "investamount" | "banktimeleft" | "stockprofits" | "stocklosses" | "stockfees" | "stocknetprofits" | "stockpayouts" | "networthwallet" | "networthvault" | "networthbank" | "networthcayman" | "networthpoints" | "networthitems" | "networthdisplaycase" | "networthbazaar" | "networthitemmarket" | "networthproperties" | "networthstockmarket" | "networthauctionhouse" | "networthbookie" | "networthcompany" | "networthenlistedcars" | "networthpiggybank" | "networthpending" | "networthloan" | "networthunpaidfees" | "huntingskill" | "searchforcashskill" | "bootleggingskill" | "graffitiskill" | "shopliftingskill" | "pickpocketingskill" | "cardskimmingskill" | "burglaryskill" | "hustlingskill" | "disposalskill" | "crackingskill" | "forgeryskill" | "scammingskill" | "arsonskill";
2162
2163
 
2163
2164
  /** @category Models */
2164
2165
  type PersonalStatsTrading = {
@@ -2282,12 +2283,12 @@ type Race = {
2282
2283
  join_from: number;
2283
2284
  join_until: number;
2284
2285
  start: number;
2285
- end: number | unknown;
2286
+ end: number | null;
2286
2287
  };
2287
2288
  requirements: {
2288
- car_class: RaceClassEnum | unknown;
2289
- driver_class: RaceClassEnum | unknown;
2290
- car_item_id: ItemId | unknown;
2289
+ car_class: RaceClassEnum | null;
2290
+ driver_class: RaceClassEnum | null;
2291
+ car_item_id: ItemId | null;
2291
2292
  requires_stock_car: boolean;
2292
2293
  requires_password: boolean;
2293
2294
  join_fee: number;
@@ -2353,15 +2354,15 @@ type RaceId = number;
2353
2354
  /** @category Models */
2354
2355
  type RacerDetails = {
2355
2356
  driver_id: UserId;
2356
- position: number | unknown;
2357
+ position: number | null;
2357
2358
  car_id: RaceCarId;
2358
2359
  car_item_id: ItemId;
2359
2360
  car_item_name: string;
2360
2361
  car_class: RaceClassEnum;
2361
- has_crashed: boolean | unknown;
2362
- best_lap_time: number | unknown;
2363
- race_time: number | unknown;
2364
- time_ended: number | unknown;
2362
+ has_crashed: boolean | null;
2363
+ best_lap_time: number | null;
2364
+ race_time: number | null;
2365
+ time_ended: number | null;
2365
2366
  };
2366
2367
 
2367
2368
  /** @category Models */
@@ -2454,16 +2455,16 @@ type ReportAnonymousBounties = {
2454
2455
  user: {
2455
2456
  id: UserId;
2456
2457
  name: string;
2457
- } | unknown;
2458
+ } | null;
2458
2459
  }[];
2459
2460
  };
2460
2461
 
2461
2462
  /** @category Models */
2462
2463
  type ReportBase = {
2463
2464
  type: ReportTypeEnum;
2464
- target_id: UserId | unknown;
2465
+ target_id: UserId | null;
2465
2466
  reporter_id: UserId;
2466
- faction_id: FactionId | unknown;
2467
+ faction_id: FactionId | null;
2467
2468
  timestamp: number;
2468
2469
  };
2469
2470
 
@@ -2501,7 +2502,7 @@ type ReportHistoryCompany = {
2501
2502
  id: CompanyId;
2502
2503
  name: string;
2503
2504
  joined: string;
2504
- left: string | unknown;
2505
+ left: string | null;
2505
2506
  };
2506
2507
 
2507
2508
  /** @category Models */
@@ -2509,7 +2510,7 @@ type ReportHistoryFaction = {
2509
2510
  id: FactionId;
2510
2511
  name: string;
2511
2512
  joined: string;
2512
- left: string | unknown;
2513
+ left: string | null;
2513
2514
  };
2514
2515
 
2515
2516
  /** @category Models */
@@ -2542,11 +2543,11 @@ type ReportsResponse = {
2542
2543
 
2543
2544
  /** @category Models */
2544
2545
  type ReportStats = {
2545
- strength: number | unknown;
2546
- speed: number | unknown;
2547
- dexterity: number | unknown;
2548
- defense: number | unknown;
2549
- total: number | unknown;
2546
+ strength: number | null;
2547
+ speed: number | null;
2548
+ dexterity: number | null;
2549
+ defense: number | null;
2550
+ total: number | null;
2550
2551
  };
2551
2552
 
2552
2553
  /** @category Models */
@@ -2558,7 +2559,7 @@ type ReportStockAnalysis = {
2558
2559
  name: string;
2559
2560
  price: number;
2560
2561
  value: number;
2561
- due: number | unknown;
2562
+ due: number | null;
2562
2563
  };
2563
2564
  trip_duration: number;
2564
2565
  hourly_profit: number;
@@ -2582,8 +2583,8 @@ type ReportWarrantDetails = {
2582
2583
 
2583
2584
  /** @category Models */
2584
2585
  type RequestLinks = {
2585
- next: string | unknown;
2586
- prev: string | unknown;
2586
+ next: string | null;
2587
+ prev: string | null;
2587
2588
  };
2588
2589
 
2589
2590
  /** @category Models */
@@ -2611,8 +2612,8 @@ type Revive = {
2611
2612
  faction: {
2612
2613
  id: FactionId;
2613
2614
  name: string;
2614
- } | unknown;
2615
- skill: number | unknown;
2615
+ } | null;
2616
+ skill: number | null;
2616
2617
  };
2617
2618
  target: {
2618
2619
  id: UserId;
@@ -2620,7 +2621,7 @@ type Revive = {
2620
2621
  faction: {
2621
2622
  id: FactionId;
2622
2623
  name: string;
2623
- } | unknown;
2624
+ } | null;
2624
2625
  hospital_reason: string;
2625
2626
  early_discharge: boolean;
2626
2627
  last_action: number;
@@ -2648,11 +2649,11 @@ type ReviveSimplified = {
2648
2649
  id: ReviveId;
2649
2650
  reviver: {
2650
2651
  id: UserId;
2651
- faction_id: FactionId | unknown;
2652
+ faction_id: FactionId | null;
2652
2653
  };
2653
2654
  target: {
2654
2655
  id: UserId;
2655
- faction_id: FactionId | unknown;
2656
+ faction_id: FactionId | null;
2656
2657
  hospital_reason: string;
2657
2658
  early_discharge: boolean;
2658
2659
  last_action: number;
@@ -2755,12 +2756,12 @@ type TornEducationResponse = {
2755
2756
  /** @category Models */
2756
2757
  type TornEducationRewards = {
2757
2758
  working_stats: {
2758
- manual_labor: number | unknown;
2759
- intelligence: number | unknown;
2760
- endurance: number | unknown;
2759
+ manual_labor: number | null;
2760
+ intelligence: number | null;
2761
+ endurance: number | null;
2761
2762
  };
2762
- effect: string | unknown;
2763
- honor: string | unknown;
2763
+ effect: string | null;
2764
+ honor: string | null;
2764
2765
  };
2765
2766
 
2766
2767
  /** @category Models */
@@ -2801,7 +2802,7 @@ type TornFactionTreeBranch = {
2801
2802
  description: string;
2802
2803
  amount_required: number;
2803
2804
  stat: FactionStatEnum;
2804
- } | unknown;
2805
+ } | null;
2805
2806
  }[];
2806
2807
  };
2807
2808
 
@@ -2870,11 +2871,11 @@ type TornItem = {
2870
2871
  id: ItemId;
2871
2872
  name: string;
2872
2873
  description: string;
2873
- effect: string | unknown;
2874
- requirement: string | unknown;
2874
+ effect: string | null;
2875
+ requirement: string | null;
2875
2876
  image: string;
2876
2877
  type: TornItemTypeEnum;
2877
- sub_type: TornItemWeaponTypeEnum | unknown;
2878
+ sub_type: TornItemWeaponTypeEnum | null;
2878
2879
  is_masked: boolean;
2879
2880
  is_tradable: boolean;
2880
2881
  is_found_in_city: boolean;
@@ -2882,13 +2883,13 @@ type TornItem = {
2882
2883
  vendor: {
2883
2884
  country: string;
2884
2885
  name: string;
2885
- } | unknown;
2886
- buy_price: number | unknown;
2887
- sell_price: number | unknown;
2886
+ } | null;
2887
+ buy_price: number | null;
2888
+ sell_price: number | null;
2888
2889
  market_price: number;
2889
2890
  };
2890
2891
  circulation: number;
2891
- details: TornItemWeaponDetails | TornItemArmorDetails | unknown;
2892
+ details: TornItemWeaponDetails | TornItemArmorDetails | null;
2892
2893
  };
2893
2894
 
2894
2895
  /** @category Models */
@@ -2970,7 +2971,7 @@ type TornItemWeaponDetails = {
2970
2971
  minimum: number;
2971
2972
  maximum: number;
2972
2973
  };
2973
- } | unknown;
2974
+ } | null;
2974
2975
  mods: ItemModId[];
2975
2976
  };
2976
2977
 
@@ -3041,7 +3042,7 @@ type TornOrganizedCrime = {
3041
3042
  difficulty: number;
3042
3043
  spawn: TornOrganizedCrimeSpawn;
3043
3044
  scope: TornOrganizedCrimeScope;
3044
- prerequisite: OrganizedCrimeName | unknown;
3045
+ prerequisite: OrganizedCrimeName | null;
3045
3046
  slots: TornOrganizedCrimeSlot[];
3046
3047
  };
3047
3048
 
@@ -3070,7 +3071,7 @@ type TornOrganizedCrimeScope = {
3070
3071
  type TornOrganizedCrimeSlot = {
3071
3072
  id: TornOrganizedCrimePositionId;
3072
3073
  name: string;
3073
- required_item: TornOrganizedCrimeRequiredItem | unknown;
3074
+ required_item: TornOrganizedCrimeRequiredItem | null;
3074
3075
  };
3075
3076
 
3076
3077
  /** @category Models */
@@ -3106,7 +3107,7 @@ type TornRacket = {
3106
3107
  type TornRacketReward = {
3107
3108
  type: TornRacketType;
3108
3109
  quantity: number;
3109
- id: ItemId | unknown;
3110
+ id: ItemId | null;
3110
3111
  };
3111
3112
 
3112
3113
  /** @category Models */
@@ -3257,7 +3258,7 @@ type UserBars = {
3257
3258
  nerve: UserBar;
3258
3259
  happy: UserBar;
3259
3260
  life: UserBar;
3260
- chain: FactionOngoingChain | unknown;
3261
+ chain: FactionOngoingChain | null;
3261
3262
  };
3262
3263
 
3263
3264
  /** @category Models */
@@ -3388,7 +3389,7 @@ type UserCrime = {
3388
3389
  rewards: UserCrimeRewards;
3389
3390
  attempts: UserCrimeAttempts;
3390
3391
  uniques: UserCrimeUniques[];
3391
- miscellaneous: UserCrimeDetailsBootlegging | UserCrimeDetailsGraffiti | UserCrimeDetailsShoplifting | UserCrimeDetailsCardSkimming | UserCrimeDetailsHustling | UserCrimeDetailsCracking | UserCrimeDetailsScamming | unknown;
3392
+ miscellaneous: UserCrimeDetailsBootlegging | UserCrimeDetailsGraffiti | UserCrimeDetailsShoplifting | UserCrimeDetailsCardSkimming | UserCrimeDetailsHustling | UserCrimeDetailsCracking | UserCrimeDetailsScamming | null;
3392
3393
  };
3393
3394
 
3394
3395
  /** @category Models */
@@ -3536,8 +3537,8 @@ type UserCrimeUniques = {
3536
3537
  /** @category Models */
3537
3538
  type UserCrimeUniquesReward = {
3538
3539
  items: UserCrimeRewardItem[];
3539
- money: UserCrimeUniquesRewardMoney | unknown;
3540
- ammo: UserCrimeUniquesRewardAmmo | unknown;
3540
+ money: UserCrimeUniquesRewardMoney | null;
3541
+ ammo: UserCrimeUniquesRewardAmmo | null;
3541
3542
  };
3542
3543
 
3543
3544
  /** @category Models */
@@ -3567,7 +3568,7 @@ type UserDonatorStatusEnum = "Donator" | "Subscriber";
3567
3568
  /** @category Models */
3568
3569
  type UserEducation = {
3569
3570
  complete: EducationId[];
3570
- current: UserCurrentEducation | unknown;
3571
+ current: UserCurrentEducation | null;
3571
3572
  };
3572
3573
 
3573
3574
  /** @category Models */
@@ -3614,12 +3615,12 @@ type UserFactionBalance = {
3614
3615
 
3615
3616
  /** @category Models */
3616
3617
  type UserFactionBalanceResponse = {
3617
- factionBalance: UserFactionBalance | unknown;
3618
+ factionBalance: UserFactionBalance | null;
3618
3619
  };
3619
3620
 
3620
3621
  /** @category Models */
3621
3622
  type UserFactionResponse = {
3622
- faction: UserFaction | unknown;
3623
+ faction: UserFaction | null;
3623
3624
  };
3624
3625
 
3625
3626
  /** @category Models */
@@ -3676,7 +3677,7 @@ type UserHofStats = {
3676
3677
  racing_wins: HofValue;
3677
3678
  travel_time: HofValue;
3678
3679
  working_stats: HofValue;
3679
- battle_stats: HofValue | unknown;
3680
+ battle_stats: HofValue | null;
3680
3681
  };
3681
3682
 
3682
3683
  /** @category Models */
@@ -3695,7 +3696,7 @@ type UserIconId = number;
3695
3696
 
3696
3697
  /** @category Models */
3697
3698
  type UserIconPrivate = UserIconPublic & {
3698
- until: number | unknown;
3699
+ until: number | null;
3699
3700
  };
3700
3701
 
3701
3702
  /** @category Models */
@@ -3718,9 +3719,9 @@ type UserItemMarkeListingItemDetails = {
3718
3719
  id: number;
3719
3720
  name: string;
3720
3721
  type: string;
3721
- rarity: "yellow" | "orange" | "red" | unknown;
3722
- uid: ItemUid | unknown;
3723
- stats: ItemMarketListingItemStats | unknown;
3722
+ rarity: "yellow" | "orange" | "red" | null;
3723
+ uid: ItemUid | null;
3724
+ stats: ItemMarketListingItemStats | null;
3724
3725
  bonuses: ItemMarketListingItemBonus[];
3725
3726
  };
3726
3727
 
@@ -3780,7 +3781,7 @@ type UserJobRanksResponse = {
3780
3781
 
3781
3782
  /** @category Models */
3782
3783
  type UserJobResponse = {
3783
- job: UserJob | UserCompany | unknown;
3784
+ job: UserJob | UserCompany | null;
3784
3785
  };
3785
3786
 
3786
3787
  /**
@@ -3798,7 +3799,7 @@ type UserList = {
3798
3799
  id: UserId;
3799
3800
  name: string;
3800
3801
  level: number;
3801
- faction_id: FactionId | unknown;
3802
+ faction_id: FactionId | null;
3802
3803
  last_action: UserLastAction;
3803
3804
  status: UserStatus;
3804
3805
  };
@@ -3944,7 +3945,7 @@ type UserOrganizedCrimeError = {
3944
3945
 
3945
3946
  /** @category Models */
3946
3947
  type UserOrganizedCrimeResponse = {
3947
- organizedCrime: FactionCrime | UserOrganizedCrimeError | unknown;
3948
+ organizedCrime: FactionCrime | UserOrganizedCrimeError | null;
3948
3949
  };
3949
3950
 
3950
3951
  /**
@@ -3989,21 +3990,21 @@ type UserProfileResponse = {
3989
3990
  level: number;
3990
3991
  rank: UserRankEnum | string;
3991
3992
  title: UserTitleEnum | string;
3992
- donator_status: UserDonatorStatusEnum | unknown;
3993
+ donator_status: UserDonatorStatusEnum | null;
3993
3994
  age: number;
3994
3995
  signed_up: number;
3995
- faction_id: FactionId | unknown;
3996
+ faction_id: FactionId | null;
3996
3997
  honor_id: HonorId;
3997
3998
  property: {
3998
3999
  id: PropertyId;
3999
4000
  name: string;
4000
4001
  };
4001
- image: string | unknown;
4002
+ image: string | null;
4002
4003
  gender: UserGenderEnum;
4003
4004
  revivable: boolean;
4004
4005
  role: UserRoleEnum;
4005
4006
  status: UserStatus;
4006
- spouse: ProfileSpouse | unknown;
4007
+ spouse: ProfileSpouse | null;
4007
4008
  awards: number;
4008
4009
  friends: number;
4009
4010
  enemies: number;
@@ -4082,7 +4083,7 @@ type UserPropertyDetailsExtendedRented = UserPropertyBasicDetails & {
4082
4083
  cost: number;
4083
4084
  period: number;
4084
4085
  created_at: number;
4085
- } | unknown;
4086
+ } | null;
4086
4087
  };
4087
4088
 
4088
4089
  /** @category Models */
@@ -4100,7 +4101,7 @@ type UserPropertyResponse = {
4100
4101
  /** @category Models */
4101
4102
  type UserRaceCarDetails = RaceCar & {
4102
4103
  id: RaceCarId;
4103
- name: string | unknown;
4104
+ name: string | null;
4104
4105
  worth: number;
4105
4106
  points_spent: number;
4106
4107
  races_entered: number;
@@ -4176,10 +4177,10 @@ type UserSkillsResponse = {
4176
4177
  */
4177
4178
  type UserStatus = {
4178
4179
  description: string;
4179
- details: string | unknown;
4180
+ details: string | null;
4180
4181
  state: UserStatusStateEnum | string;
4181
4182
  color: string;
4182
- until: number | unknown;
4183
+ until: number | null;
4183
4184
  travel_type?: string;
4184
4185
  plane_image_type?: UserPlaneImageTypeEnum;
4185
4186
  };
@@ -4202,9 +4203,9 @@ type UserTitleEnum = "Alcoholic" | "Sharpshooter" | "Accomplice" | "Loser" | "Si
4202
4203
  type UserTravelResponse = {
4203
4204
  travel: {
4204
4205
  destination: CountryEnum;
4205
- method: UserFlyMethodEnum | unknown;
4206
- departed_at: number | unknown;
4207
- arrival_at: number | unknown;
4206
+ method: UserFlyMethodEnum | null;
4207
+ departed_at: number | null;
4208
+ arrival_at: number | null;
4208
4209
  time_left: number;
4209
4210
  };
4210
4211
  };
@@ -4220,7 +4221,7 @@ type UserVirus = {
4220
4221
 
4221
4222
  /** @category Models */
4222
4223
  type UserVirusResponse = {
4223
- virus: UserVirus | unknown;
4224
+ virus: UserVirus | null;
4224
4225
  };
4225
4226
 
4226
4227
  /** @category Models */