torn-client 0.2.5 → 0.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +278 -138
- package/dist/index.d.ts +278 -138
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -67,7 +67,7 @@ type Attack = {
|
|
|
67
67
|
code: AttackCode;
|
|
68
68
|
started: number;
|
|
69
69
|
ended: number;
|
|
70
|
-
attacker: AttackPlayer |
|
|
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
|
-
} |
|
|
123
|
-
} |
|
|
122
|
+
} | null;
|
|
123
|
+
} | null;
|
|
124
124
|
defender: {
|
|
125
125
|
id: UserId;
|
|
126
126
|
name: string;
|
|
127
|
-
} |
|
|
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 |
|
|
146
|
-
name: string |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
277
|
-
lister_name: string |
|
|
276
|
+
lister_id: UserId | null;
|
|
277
|
+
lister_name: string | null;
|
|
278
278
|
reward: number;
|
|
279
|
-
reason: string |
|
|
279
|
+
reason: string | null;
|
|
280
280
|
quantity: number;
|
|
281
281
|
is_anonymous: boolean;
|
|
282
282
|
valid_until: number;
|
|
@@ -292,7 +292,7 @@ type CompanyId = number;
|
|
|
292
292
|
type CompanyTypeId = number;
|
|
293
293
|
|
|
294
294
|
/** @category Models */
|
|
295
|
-
type CountryEnum = "Mexico" | "Hawaii" | "South Africa" | "Japan" | "China" | "Argentina" | "Switzerland" | "Canada" | "United Kingdom" | "UAE" | "Cayman Islands";
|
|
295
|
+
type CountryEnum = "Mexico" | "Hawaii" | "South Africa" | "Japan" | "China" | "Argentina" | "Switzerland" | "Canada" | "United Kingdom" | "UAE" | "Cayman Islands" | "Torn";
|
|
296
296
|
|
|
297
297
|
/** @category Models */
|
|
298
298
|
type DirtyBombId = number;
|
|
@@ -337,9 +337,9 @@ type FactionApplication = {
|
|
|
337
337
|
speed: number;
|
|
338
338
|
dexterity: number;
|
|
339
339
|
defense: number;
|
|
340
|
-
} |
|
|
340
|
+
} | null;
|
|
341
341
|
};
|
|
342
|
-
message: string |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
545
|
-
ready_at: number |
|
|
544
|
+
planning_at: number | null;
|
|
545
|
+
ready_at: number | null;
|
|
546
546
|
expired_at: number;
|
|
547
|
-
executed_at: number |
|
|
547
|
+
executed_at: number | null;
|
|
548
548
|
slots: FactionCrimeSlot[];
|
|
549
|
-
rewards: FactionCrimeReward |
|
|
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 |
|
|
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
|
-
} |
|
|
596
|
-
user: FactionCrimeUser |
|
|
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 |
|
|
613
|
-
outcome_duration?: number |
|
|
614
|
-
item_outcome: FactionCrimeUserItemOutcome |
|
|
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 |
|
|
648
|
-
chain_duration: number |
|
|
649
|
-
respect: number |
|
|
647
|
+
chain: number | null;
|
|
648
|
+
chain_duration: number | null;
|
|
649
|
+
respect: number | null;
|
|
650
650
|
};
|
|
651
651
|
|
|
652
652
|
/** @category Models */
|
|
@@ -785,7 +785,7 @@ type FactionRaidsResponse = {
|
|
|
785
785
|
type FactionRaidWar = {
|
|
786
786
|
war_id: number;
|
|
787
787
|
start: number;
|
|
788
|
-
end: number |
|
|
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 |
|
|
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 |
|
|
839
|
+
end: number | null;
|
|
840
840
|
target: number;
|
|
841
|
-
winner: number |
|
|
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 |
|
|
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 |
|
|
928
|
-
image: string |
|
|
929
|
-
tag_image: string |
|
|
930
|
-
tag: string |
|
|
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 |
|
|
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 |
|
|
994
|
-
acquired_at: number |
|
|
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 |
|
|
1002
|
+
end: number | null;
|
|
1003
1003
|
target: number;
|
|
1004
|
-
winner?: FactionId |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
1270
|
+
edited_by: UserId | null;
|
|
1271
1271
|
has_quote: boolean;
|
|
1272
|
-
quoted_post_id: number |
|
|
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 |
|
|
1324
|
+
last_poster: ForumThreadAuthor | null;
|
|
1325
1325
|
first_post_time: number;
|
|
1326
|
-
last_post_time: number |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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" |
|
|
1416
|
+
rarity: "yellow" | "orange" | "red" | null;
|
|
1417
1417
|
};
|
|
1418
1418
|
|
|
1419
1419
|
/** @category Models */
|
|
1420
1420
|
type ItemMarketListingItemStats = {
|
|
1421
|
-
damage: number |
|
|
1422
|
-
accuracy: number |
|
|
1423
|
-
armor: number |
|
|
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 |
|
|
1489
|
-
company_id: CompanyId |
|
|
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 |
|
|
1512
|
-
comment?: string |
|
|
1511
|
+
id: number | string | null;
|
|
1512
|
+
comment?: string | null;
|
|
1513
1513
|
ip: string;
|
|
1514
1514
|
}[];
|
|
1515
1515
|
};
|
|
@@ -2282,12 +2282,12 @@ type Race = {
|
|
|
2282
2282
|
join_from: number;
|
|
2283
2283
|
join_until: number;
|
|
2284
2284
|
start: number;
|
|
2285
|
-
end: number |
|
|
2285
|
+
end: number | null;
|
|
2286
2286
|
};
|
|
2287
2287
|
requirements: {
|
|
2288
|
-
car_class: RaceClassEnum |
|
|
2289
|
-
driver_class: RaceClassEnum |
|
|
2290
|
-
car_item_id: ItemId |
|
|
2288
|
+
car_class: RaceClassEnum | null;
|
|
2289
|
+
driver_class: RaceClassEnum | null;
|
|
2290
|
+
car_item_id: ItemId | null;
|
|
2291
2291
|
requires_stock_car: boolean;
|
|
2292
2292
|
requires_password: boolean;
|
|
2293
2293
|
join_fee: number;
|
|
@@ -2353,15 +2353,15 @@ type RaceId = number;
|
|
|
2353
2353
|
/** @category Models */
|
|
2354
2354
|
type RacerDetails = {
|
|
2355
2355
|
driver_id: UserId;
|
|
2356
|
-
position: number |
|
|
2356
|
+
position: number | null;
|
|
2357
2357
|
car_id: RaceCarId;
|
|
2358
2358
|
car_item_id: ItemId;
|
|
2359
2359
|
car_item_name: string;
|
|
2360
2360
|
car_class: RaceClassEnum;
|
|
2361
|
-
has_crashed: boolean |
|
|
2362
|
-
best_lap_time: number |
|
|
2363
|
-
race_time: number |
|
|
2364
|
-
time_ended: number |
|
|
2361
|
+
has_crashed: boolean | null;
|
|
2362
|
+
best_lap_time: number | null;
|
|
2363
|
+
race_time: number | null;
|
|
2364
|
+
time_ended: number | null;
|
|
2365
2365
|
};
|
|
2366
2366
|
|
|
2367
2367
|
/** @category Models */
|
|
@@ -2454,16 +2454,16 @@ type ReportAnonymousBounties = {
|
|
|
2454
2454
|
user: {
|
|
2455
2455
|
id: UserId;
|
|
2456
2456
|
name: string;
|
|
2457
|
-
} |
|
|
2457
|
+
} | null;
|
|
2458
2458
|
}[];
|
|
2459
2459
|
};
|
|
2460
2460
|
|
|
2461
2461
|
/** @category Models */
|
|
2462
2462
|
type ReportBase = {
|
|
2463
2463
|
type: ReportTypeEnum;
|
|
2464
|
-
target_id: UserId |
|
|
2464
|
+
target_id: UserId | null;
|
|
2465
2465
|
reporter_id: UserId;
|
|
2466
|
-
faction_id: FactionId |
|
|
2466
|
+
faction_id: FactionId | null;
|
|
2467
2467
|
timestamp: number;
|
|
2468
2468
|
};
|
|
2469
2469
|
|
|
@@ -2501,7 +2501,7 @@ type ReportHistoryCompany = {
|
|
|
2501
2501
|
id: CompanyId;
|
|
2502
2502
|
name: string;
|
|
2503
2503
|
joined: string;
|
|
2504
|
-
left: string |
|
|
2504
|
+
left: string | null;
|
|
2505
2505
|
};
|
|
2506
2506
|
|
|
2507
2507
|
/** @category Models */
|
|
@@ -2509,7 +2509,7 @@ type ReportHistoryFaction = {
|
|
|
2509
2509
|
id: FactionId;
|
|
2510
2510
|
name: string;
|
|
2511
2511
|
joined: string;
|
|
2512
|
-
left: string |
|
|
2512
|
+
left: string | null;
|
|
2513
2513
|
};
|
|
2514
2514
|
|
|
2515
2515
|
/** @category Models */
|
|
@@ -2542,11 +2542,11 @@ type ReportsResponse = {
|
|
|
2542
2542
|
|
|
2543
2543
|
/** @category Models */
|
|
2544
2544
|
type ReportStats = {
|
|
2545
|
-
strength: number |
|
|
2546
|
-
speed: number |
|
|
2547
|
-
dexterity: number |
|
|
2548
|
-
defense: number |
|
|
2549
|
-
total: number |
|
|
2545
|
+
strength: number | null;
|
|
2546
|
+
speed: number | null;
|
|
2547
|
+
dexterity: number | null;
|
|
2548
|
+
defense: number | null;
|
|
2549
|
+
total: number | null;
|
|
2550
2550
|
};
|
|
2551
2551
|
|
|
2552
2552
|
/** @category Models */
|
|
@@ -2558,7 +2558,7 @@ type ReportStockAnalysis = {
|
|
|
2558
2558
|
name: string;
|
|
2559
2559
|
price: number;
|
|
2560
2560
|
value: number;
|
|
2561
|
-
due: number |
|
|
2561
|
+
due: number | null;
|
|
2562
2562
|
};
|
|
2563
2563
|
trip_duration: number;
|
|
2564
2564
|
hourly_profit: number;
|
|
@@ -2582,8 +2582,8 @@ type ReportWarrantDetails = {
|
|
|
2582
2582
|
|
|
2583
2583
|
/** @category Models */
|
|
2584
2584
|
type RequestLinks = {
|
|
2585
|
-
next: string |
|
|
2586
|
-
prev: string |
|
|
2585
|
+
next: string | null;
|
|
2586
|
+
prev: string | null;
|
|
2587
2587
|
};
|
|
2588
2588
|
|
|
2589
2589
|
/** @category Models */
|
|
@@ -2611,8 +2611,8 @@ type Revive = {
|
|
|
2611
2611
|
faction: {
|
|
2612
2612
|
id: FactionId;
|
|
2613
2613
|
name: string;
|
|
2614
|
-
} |
|
|
2615
|
-
skill: number |
|
|
2614
|
+
} | null;
|
|
2615
|
+
skill: number | null;
|
|
2616
2616
|
};
|
|
2617
2617
|
target: {
|
|
2618
2618
|
id: UserId;
|
|
@@ -2620,7 +2620,7 @@ type Revive = {
|
|
|
2620
2620
|
faction: {
|
|
2621
2621
|
id: FactionId;
|
|
2622
2622
|
name: string;
|
|
2623
|
-
} |
|
|
2623
|
+
} | null;
|
|
2624
2624
|
hospital_reason: string;
|
|
2625
2625
|
early_discharge: boolean;
|
|
2626
2626
|
last_action: number;
|
|
@@ -2648,11 +2648,11 @@ type ReviveSimplified = {
|
|
|
2648
2648
|
id: ReviveId;
|
|
2649
2649
|
reviver: {
|
|
2650
2650
|
id: UserId;
|
|
2651
|
-
faction_id: FactionId |
|
|
2651
|
+
faction_id: FactionId | null;
|
|
2652
2652
|
};
|
|
2653
2653
|
target: {
|
|
2654
2654
|
id: UserId;
|
|
2655
|
-
faction_id: FactionId |
|
|
2655
|
+
faction_id: FactionId | null;
|
|
2656
2656
|
hospital_reason: string;
|
|
2657
2657
|
early_discharge: boolean;
|
|
2658
2658
|
last_action: number;
|
|
@@ -2755,12 +2755,12 @@ type TornEducationResponse = {
|
|
|
2755
2755
|
/** @category Models */
|
|
2756
2756
|
type TornEducationRewards = {
|
|
2757
2757
|
working_stats: {
|
|
2758
|
-
manual_labor: number |
|
|
2759
|
-
intelligence: number |
|
|
2760
|
-
endurance: number |
|
|
2758
|
+
manual_labor: number | null;
|
|
2759
|
+
intelligence: number | null;
|
|
2760
|
+
endurance: number | null;
|
|
2761
2761
|
};
|
|
2762
|
-
effect: string |
|
|
2763
|
-
honor: string |
|
|
2762
|
+
effect: string | null;
|
|
2763
|
+
honor: string | null;
|
|
2764
2764
|
};
|
|
2765
2765
|
|
|
2766
2766
|
/** @category Models */
|
|
@@ -2801,7 +2801,7 @@ type TornFactionTreeBranch = {
|
|
|
2801
2801
|
description: string;
|
|
2802
2802
|
amount_required: number;
|
|
2803
2803
|
stat: FactionStatEnum;
|
|
2804
|
-
} |
|
|
2804
|
+
} | null;
|
|
2805
2805
|
}[];
|
|
2806
2806
|
};
|
|
2807
2807
|
|
|
@@ -2870,11 +2870,11 @@ type TornItem = {
|
|
|
2870
2870
|
id: ItemId;
|
|
2871
2871
|
name: string;
|
|
2872
2872
|
description: string;
|
|
2873
|
-
effect: string |
|
|
2874
|
-
requirement: string |
|
|
2873
|
+
effect: string | null;
|
|
2874
|
+
requirement: string | null;
|
|
2875
2875
|
image: string;
|
|
2876
2876
|
type: TornItemTypeEnum;
|
|
2877
|
-
sub_type: TornItemWeaponTypeEnum |
|
|
2877
|
+
sub_type: TornItemWeaponTypeEnum | null;
|
|
2878
2878
|
is_masked: boolean;
|
|
2879
2879
|
is_tradable: boolean;
|
|
2880
2880
|
is_found_in_city: boolean;
|
|
@@ -2882,13 +2882,13 @@ type TornItem = {
|
|
|
2882
2882
|
vendor: {
|
|
2883
2883
|
country: string;
|
|
2884
2884
|
name: string;
|
|
2885
|
-
} |
|
|
2886
|
-
buy_price: number |
|
|
2887
|
-
sell_price: number |
|
|
2885
|
+
} | null;
|
|
2886
|
+
buy_price: number | null;
|
|
2887
|
+
sell_price: number | null;
|
|
2888
2888
|
market_price: number;
|
|
2889
2889
|
};
|
|
2890
2890
|
circulation: number;
|
|
2891
|
-
details: TornItemWeaponDetails | TornItemArmorDetails |
|
|
2891
|
+
details: TornItemWeaponDetails | TornItemArmorDetails | null;
|
|
2892
2892
|
};
|
|
2893
2893
|
|
|
2894
2894
|
/** @category Models */
|
|
@@ -2970,7 +2970,7 @@ type TornItemWeaponDetails = {
|
|
|
2970
2970
|
minimum: number;
|
|
2971
2971
|
maximum: number;
|
|
2972
2972
|
};
|
|
2973
|
-
} |
|
|
2973
|
+
} | null;
|
|
2974
2974
|
mods: ItemModId[];
|
|
2975
2975
|
};
|
|
2976
2976
|
|
|
@@ -3041,7 +3041,7 @@ type TornOrganizedCrime = {
|
|
|
3041
3041
|
difficulty: number;
|
|
3042
3042
|
spawn: TornOrganizedCrimeSpawn;
|
|
3043
3043
|
scope: TornOrganizedCrimeScope;
|
|
3044
|
-
prerequisite: OrganizedCrimeName |
|
|
3044
|
+
prerequisite: OrganizedCrimeName | null;
|
|
3045
3045
|
slots: TornOrganizedCrimeSlot[];
|
|
3046
3046
|
};
|
|
3047
3047
|
|
|
@@ -3070,7 +3070,7 @@ type TornOrganizedCrimeScope = {
|
|
|
3070
3070
|
type TornOrganizedCrimeSlot = {
|
|
3071
3071
|
id: TornOrganizedCrimePositionId;
|
|
3072
3072
|
name: string;
|
|
3073
|
-
required_item: TornOrganizedCrimeRequiredItem |
|
|
3073
|
+
required_item: TornOrganizedCrimeRequiredItem | null;
|
|
3074
3074
|
};
|
|
3075
3075
|
|
|
3076
3076
|
/** @category Models */
|
|
@@ -3106,7 +3106,7 @@ type TornRacket = {
|
|
|
3106
3106
|
type TornRacketReward = {
|
|
3107
3107
|
type: TornRacketType;
|
|
3108
3108
|
quantity: number;
|
|
3109
|
-
id: ItemId |
|
|
3109
|
+
id: ItemId | null;
|
|
3110
3110
|
};
|
|
3111
3111
|
|
|
3112
3112
|
/** @category Models */
|
|
@@ -3241,6 +3241,30 @@ type User = {
|
|
|
3241
3241
|
};
|
|
3242
3242
|
};
|
|
3243
3243
|
|
|
3244
|
+
/** @category Models */
|
|
3245
|
+
type UserBar = {
|
|
3246
|
+
current: number;
|
|
3247
|
+
maximum: number;
|
|
3248
|
+
increment: number;
|
|
3249
|
+
interval: number;
|
|
3250
|
+
tick_time: number;
|
|
3251
|
+
full_time: number;
|
|
3252
|
+
};
|
|
3253
|
+
|
|
3254
|
+
/** @category Models */
|
|
3255
|
+
type UserBars = {
|
|
3256
|
+
energy: UserBar;
|
|
3257
|
+
nerve: UserBar;
|
|
3258
|
+
happy: UserBar;
|
|
3259
|
+
life: UserBar;
|
|
3260
|
+
chain: FactionOngoingChain | null;
|
|
3261
|
+
};
|
|
3262
|
+
|
|
3263
|
+
/** @category Models */
|
|
3264
|
+
type UserBarsResponse = {
|
|
3265
|
+
bars: UserBars;
|
|
3266
|
+
};
|
|
3267
|
+
|
|
3244
3268
|
/** @category Models */
|
|
3245
3269
|
type UserBasic = {
|
|
3246
3270
|
id: UserId;
|
|
@@ -3347,6 +3371,15 @@ type UserCompetitionRps = {
|
|
|
3347
3371
|
};
|
|
3348
3372
|
};
|
|
3349
3373
|
|
|
3374
|
+
/** @category Models */
|
|
3375
|
+
type UserCooldownsResponse = {
|
|
3376
|
+
cooldowns: {
|
|
3377
|
+
drug: number;
|
|
3378
|
+
medical: number;
|
|
3379
|
+
booster: number;
|
|
3380
|
+
};
|
|
3381
|
+
};
|
|
3382
|
+
|
|
3350
3383
|
/** @category Models */
|
|
3351
3384
|
type UserCrime = {
|
|
3352
3385
|
nerve_spent: number;
|
|
@@ -3355,7 +3388,7 @@ type UserCrime = {
|
|
|
3355
3388
|
rewards: UserCrimeRewards;
|
|
3356
3389
|
attempts: UserCrimeAttempts;
|
|
3357
3390
|
uniques: UserCrimeUniques[];
|
|
3358
|
-
miscellaneous: UserCrimeDetailsBootlegging | UserCrimeDetailsGraffiti | UserCrimeDetailsShoplifting | UserCrimeDetailsCardSkimming | UserCrimeDetailsHustling | UserCrimeDetailsCracking | UserCrimeDetailsScamming |
|
|
3391
|
+
miscellaneous: UserCrimeDetailsBootlegging | UserCrimeDetailsGraffiti | UserCrimeDetailsShoplifting | UserCrimeDetailsCardSkimming | UserCrimeDetailsHustling | UserCrimeDetailsCracking | UserCrimeDetailsScamming | null;
|
|
3359
3392
|
};
|
|
3360
3393
|
|
|
3361
3394
|
/** @category Models */
|
|
@@ -3503,8 +3536,8 @@ type UserCrimeUniques = {
|
|
|
3503
3536
|
/** @category Models */
|
|
3504
3537
|
type UserCrimeUniquesReward = {
|
|
3505
3538
|
items: UserCrimeRewardItem[];
|
|
3506
|
-
money: UserCrimeUniquesRewardMoney |
|
|
3507
|
-
ammo: UserCrimeUniquesRewardAmmo |
|
|
3539
|
+
money: UserCrimeUniquesRewardMoney | null;
|
|
3540
|
+
ammo: UserCrimeUniquesRewardAmmo | null;
|
|
3508
3541
|
};
|
|
3509
3542
|
|
|
3510
3543
|
/** @category Models */
|
|
@@ -3534,7 +3567,7 @@ type UserDonatorStatusEnum = "Donator" | "Subscriber";
|
|
|
3534
3567
|
/** @category Models */
|
|
3535
3568
|
type UserEducation = {
|
|
3536
3569
|
complete: EducationId[];
|
|
3537
|
-
current: UserCurrentEducation |
|
|
3570
|
+
current: UserCurrentEducation | null;
|
|
3538
3571
|
};
|
|
3539
3572
|
|
|
3540
3573
|
/** @category Models */
|
|
@@ -3581,14 +3614,17 @@ type UserFactionBalance = {
|
|
|
3581
3614
|
|
|
3582
3615
|
/** @category Models */
|
|
3583
3616
|
type UserFactionBalanceResponse = {
|
|
3584
|
-
factionBalance: UserFactionBalance |
|
|
3617
|
+
factionBalance: UserFactionBalance | null;
|
|
3585
3618
|
};
|
|
3586
3619
|
|
|
3587
3620
|
/** @category Models */
|
|
3588
3621
|
type UserFactionResponse = {
|
|
3589
|
-
faction: UserFaction |
|
|
3622
|
+
faction: UserFaction | null;
|
|
3590
3623
|
};
|
|
3591
3624
|
|
|
3625
|
+
/** @category Models */
|
|
3626
|
+
type UserFlyMethodEnum = "Private" | "Business" | "Airstrip" | "Standard";
|
|
3627
|
+
|
|
3592
3628
|
/** @category Models */
|
|
3593
3629
|
type UserForumFeedResponse = {
|
|
3594
3630
|
forumFeed: ForumFeed[];
|
|
@@ -3640,7 +3676,7 @@ type UserHofStats = {
|
|
|
3640
3676
|
racing_wins: HofValue;
|
|
3641
3677
|
travel_time: HofValue;
|
|
3642
3678
|
working_stats: HofValue;
|
|
3643
|
-
battle_stats: HofValue |
|
|
3679
|
+
battle_stats: HofValue | null;
|
|
3644
3680
|
};
|
|
3645
3681
|
|
|
3646
3682
|
/** @category Models */
|
|
@@ -3659,7 +3695,7 @@ type UserIconId = number;
|
|
|
3659
3695
|
|
|
3660
3696
|
/** @category Models */
|
|
3661
3697
|
type UserIconPrivate = UserIconPublic & {
|
|
3662
|
-
until: number |
|
|
3698
|
+
until: number | null;
|
|
3663
3699
|
};
|
|
3664
3700
|
|
|
3665
3701
|
/** @category Models */
|
|
@@ -3682,9 +3718,9 @@ type UserItemMarkeListingItemDetails = {
|
|
|
3682
3718
|
id: number;
|
|
3683
3719
|
name: string;
|
|
3684
3720
|
type: string;
|
|
3685
|
-
rarity: "yellow" | "orange" | "red" |
|
|
3686
|
-
uid: ItemUid |
|
|
3687
|
-
stats: ItemMarketListingItemStats |
|
|
3721
|
+
rarity: "yellow" | "orange" | "red" | null;
|
|
3722
|
+
uid: ItemUid | null;
|
|
3723
|
+
stats: ItemMarketListingItemStats | null;
|
|
3688
3724
|
bonuses: ItemMarketListingItemBonus[];
|
|
3689
3725
|
};
|
|
3690
3726
|
|
|
@@ -3744,7 +3780,7 @@ type UserJobRanksResponse = {
|
|
|
3744
3780
|
|
|
3745
3781
|
/** @category Models */
|
|
3746
3782
|
type UserJobResponse = {
|
|
3747
|
-
job: UserJob | UserCompany |
|
|
3783
|
+
job: UserJob | UserCompany | null;
|
|
3748
3784
|
};
|
|
3749
3785
|
|
|
3750
3786
|
/**
|
|
@@ -3762,7 +3798,7 @@ type UserList = {
|
|
|
3762
3798
|
id: UserId;
|
|
3763
3799
|
name: string;
|
|
3764
3800
|
level: number;
|
|
3765
|
-
faction_id: FactionId |
|
|
3801
|
+
faction_id: FactionId | null;
|
|
3766
3802
|
last_action: UserLastAction;
|
|
3767
3803
|
status: UserStatus;
|
|
3768
3804
|
};
|
|
@@ -3890,6 +3926,16 @@ type UserNewMessagesResponse = {
|
|
|
3890
3926
|
messages: UserMessage[];
|
|
3891
3927
|
};
|
|
3892
3928
|
|
|
3929
|
+
/** @category Models */
|
|
3930
|
+
type UserNotificationsResponse = {
|
|
3931
|
+
notifications: {
|
|
3932
|
+
messages: number;
|
|
3933
|
+
events: number;
|
|
3934
|
+
awards: number;
|
|
3935
|
+
competition: number;
|
|
3936
|
+
};
|
|
3937
|
+
};
|
|
3938
|
+
|
|
3893
3939
|
/** @category Models */
|
|
3894
3940
|
type UserOrganizedCrimeError = {
|
|
3895
3941
|
code: number;
|
|
@@ -3898,7 +3944,7 @@ type UserOrganizedCrimeError = {
|
|
|
3898
3944
|
|
|
3899
3945
|
/** @category Models */
|
|
3900
3946
|
type UserOrganizedCrimeResponse = {
|
|
3901
|
-
organizedCrime: FactionCrime | UserOrganizedCrimeError |
|
|
3947
|
+
organizedCrime: FactionCrime | UserOrganizedCrimeError | null;
|
|
3902
3948
|
};
|
|
3903
3949
|
|
|
3904
3950
|
/**
|
|
@@ -3941,23 +3987,23 @@ type UserProfileResponse = {
|
|
|
3941
3987
|
id: UserId;
|
|
3942
3988
|
name: string;
|
|
3943
3989
|
level: number;
|
|
3944
|
-
rank: UserRankEnum;
|
|
3945
|
-
title: UserTitleEnum;
|
|
3946
|
-
donator_status: UserDonatorStatusEnum |
|
|
3990
|
+
rank: UserRankEnum | string;
|
|
3991
|
+
title: UserTitleEnum | string;
|
|
3992
|
+
donator_status: UserDonatorStatusEnum | null;
|
|
3947
3993
|
age: number;
|
|
3948
3994
|
signed_up: number;
|
|
3949
|
-
faction_id: FactionId |
|
|
3995
|
+
faction_id: FactionId | null;
|
|
3950
3996
|
honor_id: HonorId;
|
|
3951
3997
|
property: {
|
|
3952
3998
|
id: PropertyId;
|
|
3953
3999
|
name: string;
|
|
3954
4000
|
};
|
|
3955
|
-
image: string |
|
|
4001
|
+
image: string | null;
|
|
3956
4002
|
gender: UserGenderEnum;
|
|
3957
4003
|
revivable: boolean;
|
|
3958
4004
|
role: UserRoleEnum;
|
|
3959
4005
|
status: UserStatus;
|
|
3960
|
-
spouse: ProfileSpouse |
|
|
4006
|
+
spouse: ProfileSpouse | null;
|
|
3961
4007
|
awards: number;
|
|
3962
4008
|
friends: number;
|
|
3963
4009
|
enemies: number;
|
|
@@ -4036,7 +4082,7 @@ type UserPropertyDetailsExtendedRented = UserPropertyBasicDetails & {
|
|
|
4036
4082
|
cost: number;
|
|
4037
4083
|
period: number;
|
|
4038
4084
|
created_at: number;
|
|
4039
|
-
} |
|
|
4085
|
+
} | null;
|
|
4040
4086
|
};
|
|
4041
4087
|
|
|
4042
4088
|
/** @category Models */
|
|
@@ -4054,7 +4100,7 @@ type UserPropertyResponse = {
|
|
|
4054
4100
|
/** @category Models */
|
|
4055
4101
|
type UserRaceCarDetails = RaceCar & {
|
|
4056
4102
|
id: RaceCarId;
|
|
4057
|
-
name: string |
|
|
4103
|
+
name: string | null;
|
|
4058
4104
|
worth: number;
|
|
4059
4105
|
points_spent: number;
|
|
4060
4106
|
races_entered: number;
|
|
@@ -4088,7 +4134,17 @@ type UserRacingRecordsResponse = {
|
|
|
4088
4134
|
type UserRankEnum = "Absolute beginner" | "Beginner" | "Inexperienced" | "Rookie" | "Novice" | "Below average" | "Average" | "Reasonable" | "Above average" | "Competent" | "Highly competent" | "Veteran" | "Distinguished" | "Highly distinguished" | "Professional" | "Star" | "Master" | "Outstanding" | "Celebrity" | "Supreme" | "Idolized" | "Champion" | "Heroic" | "Legendary" | "Elite" | "Invincible";
|
|
4089
4135
|
|
|
4090
4136
|
/** @category Models */
|
|
4091
|
-
type
|
|
4137
|
+
type UserRefillsResponse = {
|
|
4138
|
+
refills: {
|
|
4139
|
+
energy: boolean;
|
|
4140
|
+
nerve: boolean;
|
|
4141
|
+
token: boolean;
|
|
4142
|
+
special_count: number;
|
|
4143
|
+
};
|
|
4144
|
+
};
|
|
4145
|
+
|
|
4146
|
+
/** @category Models */
|
|
4147
|
+
type UserResponse = UserCrimesResponse | UserRacesResponse | UserEnlistedCarsResponse | UserForumPostsResponse | UserForumThreadsResponse | UserForumSubscribedThreadsResponse | UserForumFeedResponse | UserForumFriendsResponse | UserHofResponse | UserCalendarResponse | UserRacingRecordsResponse | UserEducationResponse | UserBountiesResponse | UserJobRanksResponse | UserPropertiesResponse | UserFactionBalanceResponse | UserBasicResponse | RevivesResponse | UserHonorsResponse | UserMedalsResponse | UserMeritsResponse | RevivesFullResponse | UserProfileResponse | UserJobResponse | UserFactionResponse | UserCompetitionResponse | UserIconsResponse | UserItemMarketResponse | UserListResponse | UserPersonalStatsResponse | UserOrganizedCrimeResponse | FactionAttacksResponse | UserBarsResponse | UserCooldownsResponse | UserNotificationsResponse | UserRefillsResponse | UserTravelResponse | UserVirusResponse | FactionAttacksFullResponse | UserMoneyResponse | UserJobPointsResponse | UserWorkStatsResponse | UserSkillsResponse | UserBattleStatsResponse | UserNewEventsResponse | UserEventsResponse | UserMessagesResponse | UserNewMessagesResponse | UserLookupResponse | TimestampResponse;
|
|
4092
4148
|
|
|
4093
4149
|
/** @category Models */
|
|
4094
4150
|
type UserRoleEnum = "Admin" | "Officer" | "Moderator" | "Helper" | "Tester" | "NPC" | "Committee" | "Reporter" | "Wiki Contributor" | "Wiki Editor" | "Civilian";
|
|
@@ -4097,7 +4153,7 @@ type UserRoleEnum = "Admin" | "Officer" | "Moderator" | "Helper" | "Tester" | "N
|
|
|
4097
4153
|
type UserRpsStatus = "scissors" | "rock" | "paper";
|
|
4098
4154
|
|
|
4099
4155
|
/** @category Models */
|
|
4100
|
-
type UserSelectionName = "attacks" | "attacksfull" | "basic" | "battlestats" | "bounties" | "calendar" | "competition" | "crimes" | "enlistedcars" | "events" | "faction" | "factionbalance" | "forumfeed" | "forumfriends" | "forumposts" | "forumsubscribedthreads" | "forumthreads" | "hof" | "honors" | "icons" | "itemmarket" | "job" | "jobpoints" | "jobranks" | "list" | "log" | "lookup" | "medals" | "merits" | "messages" | "money" | "newevents" | "newmessages" | "organizedcrime" | "personalstats" | "profile" | "properties" | "property" | "races" | "racingrecords" | "reports" | "revives" | "revivesfull" | "skills" | "timestamp" | "
|
|
4156
|
+
type UserSelectionName = "attacks" | "attacksfull" | "bars" | "basic" | "battlestats" | "bounties" | "calendar" | "competition" | "cooldowns" | "crimes" | "enlistedcars" | "events" | "faction" | "factionbalance" | "forumfeed" | "forumfriends" | "forumposts" | "forumsubscribedthreads" | "forumthreads" | "hof" | "honors" | "icons" | "itemmarket" | "job" | "jobpoints" | "jobranks" | "list" | "log" | "lookup" | "medals" | "merits" | "messages" | "money" | "newevents" | "newmessages" | "notifications" | "organizedcrime" | "personalstats" | "profile" | "properties" | "property" | "races" | "racingrecords" | "refills" | "reports" | "revives" | "revivesfull" | "skills" | "timestamp" | "travel" | "workstats" | "ammo" | "bazaar" | "criminalrecord" | "discord" | "display" | "education" | "equipment" | "gym" | "inventory" | "missions" | "networth" | "perks" | "stocks" | "weaponexp" | string;
|
|
4101
4157
|
|
|
4102
4158
|
/** @category Models */
|
|
4103
4159
|
type UserSkillDetail = {
|
|
@@ -4120,10 +4176,10 @@ type UserSkillsResponse = {
|
|
|
4120
4176
|
*/
|
|
4121
4177
|
type UserStatus = {
|
|
4122
4178
|
description: string;
|
|
4123
|
-
details: string |
|
|
4179
|
+
details: string | null;
|
|
4124
4180
|
state: UserStatusStateEnum | string;
|
|
4125
4181
|
color: string;
|
|
4126
|
-
until: number |
|
|
4182
|
+
until: number | null;
|
|
4127
4183
|
travel_type?: string;
|
|
4128
4184
|
plane_image_type?: UserPlaneImageTypeEnum;
|
|
4129
4185
|
};
|
|
@@ -4142,6 +4198,31 @@ type UserSubcrime = {
|
|
|
4142
4198
|
/** @category Models */
|
|
4143
4199
|
type UserTitleEnum = "Alcoholic" | "Sharpshooter" | "Accomplice" | "Loser" | "Silent Killer" | "Killer" | "Merchant" | "Medalist" | "Tycoon" | "Damage Dealer" | "Slayer" | "Hired Gun" | "Egotist" | "Outcast" | "Punchbag" | "Tank" | "Antagonist" | "Druggy" | "Scavenger" | "Boxer" | "Importer" | "Looter" | "Samaritan" | "Felon" | "Socialite" | "Mercenary" | "Investor" | "Thief" | "One Hit Killer" | "Mobster" | "Addict" | "Bonds Agent" | "Buster" | "Hoarder" | "Racer" | "Soldier" | "Avenger" | "Healer" | "Booster" | "Intimidator" | "Trader" | "Jobsworth" | "Tourist" | "Nudist" | "Sage" | "Coward" | "Newcomer" | "Deserter" | "Citizen";
|
|
4144
4200
|
|
|
4201
|
+
/** @category Models */
|
|
4202
|
+
type UserTravelResponse = {
|
|
4203
|
+
travel: {
|
|
4204
|
+
destination: CountryEnum;
|
|
4205
|
+
method: UserFlyMethodEnum | null;
|
|
4206
|
+
departed_at: number | null;
|
|
4207
|
+
arrival_at: number | null;
|
|
4208
|
+
time_left: number;
|
|
4209
|
+
};
|
|
4210
|
+
};
|
|
4211
|
+
|
|
4212
|
+
/** @category Models */
|
|
4213
|
+
type UserVirus = {
|
|
4214
|
+
item: {
|
|
4215
|
+
id: ItemId;
|
|
4216
|
+
name: string;
|
|
4217
|
+
};
|
|
4218
|
+
until: number;
|
|
4219
|
+
};
|
|
4220
|
+
|
|
4221
|
+
/** @category Models */
|
|
4222
|
+
type UserVirusResponse = {
|
|
4223
|
+
virus: UserVirus | null;
|
|
4224
|
+
};
|
|
4225
|
+
|
|
4145
4226
|
/** @category Models */
|
|
4146
4227
|
type UserWorkStatsResponse = {
|
|
4147
4228
|
workstats: {
|
|
@@ -4304,6 +4385,7 @@ declare class FactionEndpoint {
|
|
|
4304
4385
|
from?: number;
|
|
4305
4386
|
to?: number;
|
|
4306
4387
|
sort?: "DESC" | "ASC";
|
|
4388
|
+
limit?: number;
|
|
4307
4389
|
timestamp?: string;
|
|
4308
4390
|
}): Promise<PaginatedResponse<FactionRaidsResponse> & FactionRaidsResponse>;
|
|
4309
4391
|
/**
|
|
@@ -4311,6 +4393,8 @@ declare class FactionEndpoint {
|
|
|
4311
4393
|
* @param params - Optional query parameters
|
|
4312
4394
|
*/
|
|
4313
4395
|
rankedwars(params?: {
|
|
4396
|
+
offset?: number;
|
|
4397
|
+
limit?: number;
|
|
4314
4398
|
from?: number;
|
|
4315
4399
|
to?: number;
|
|
4316
4400
|
sort?: "DESC" | "ASC";
|
|
@@ -4523,6 +4607,10 @@ declare class FactionIdContext {
|
|
|
4523
4607
|
* @param params - Optional query parameters
|
|
4524
4608
|
*/
|
|
4525
4609
|
raids(params?: {
|
|
4610
|
+
from?: number;
|
|
4611
|
+
to?: number;
|
|
4612
|
+
sort?: "DESC" | "ASC";
|
|
4613
|
+
limit?: number;
|
|
4526
4614
|
timestamp?: string;
|
|
4527
4615
|
}): Promise<PaginatedResponse<FactionRaidsResponse> & FactionRaidsResponse>;
|
|
4528
4616
|
/**
|
|
@@ -4530,6 +4618,8 @@ declare class FactionIdContext {
|
|
|
4530
4618
|
* @param params - Optional query parameters
|
|
4531
4619
|
*/
|
|
4532
4620
|
rankedwars(params?: {
|
|
4621
|
+
offset?: number;
|
|
4622
|
+
limit?: number;
|
|
4533
4623
|
timestamp?: string;
|
|
4534
4624
|
}): Promise<PaginatedResponse<FactionRankedWarResponse> & FactionRankedWarResponse>;
|
|
4535
4625
|
/**
|
|
@@ -4544,6 +4634,10 @@ declare class FactionIdContext {
|
|
|
4544
4634
|
* @param params - Optional query parameters
|
|
4545
4635
|
*/
|
|
4546
4636
|
territorywars(params?: {
|
|
4637
|
+
from?: number;
|
|
4638
|
+
to?: number;
|
|
4639
|
+
sort?: "DESC" | "ASC";
|
|
4640
|
+
limit?: number;
|
|
4547
4641
|
timestamp?: string;
|
|
4548
4642
|
}): Promise<FactionTerritoryWarsHistoryResponse>;
|
|
4549
4643
|
/**
|
|
@@ -4850,6 +4944,7 @@ declare class MarketIdContext {
|
|
|
4850
4944
|
*/
|
|
4851
4945
|
itemmarket(params?: {
|
|
4852
4946
|
bonus?: WeaponBonusEnum;
|
|
4947
|
+
limit?: number;
|
|
4853
4948
|
offset?: number;
|
|
4854
4949
|
timestamp?: string;
|
|
4855
4950
|
}): Promise<PaginatedResponse<MarketItemMarketResponse> & MarketItemMarketResponse>;
|
|
@@ -5112,6 +5207,9 @@ declare class TornEndpoint {
|
|
|
5112
5207
|
* @param params - Optional query parameters
|
|
5113
5208
|
*/
|
|
5114
5209
|
honors(params?: {
|
|
5210
|
+
limit?: number;
|
|
5211
|
+
offset?: number;
|
|
5212
|
+
sort?: "DESC" | "ASC";
|
|
5115
5213
|
timestamp?: string;
|
|
5116
5214
|
}): Promise<TornHonorsResponse>;
|
|
5117
5215
|
/**
|
|
@@ -5332,6 +5430,13 @@ declare class UserEndpoint {
|
|
|
5332
5430
|
from?: number;
|
|
5333
5431
|
timestamp?: string;
|
|
5334
5432
|
}): Promise<PaginatedResponse<FactionAttacksFullResponse> & FactionAttacksFullResponse>;
|
|
5433
|
+
/**
|
|
5434
|
+
* Get your bars information
|
|
5435
|
+
* @param params - Optional query parameters
|
|
5436
|
+
*/
|
|
5437
|
+
bars(params?: {
|
|
5438
|
+
timestamp?: string;
|
|
5439
|
+
}): Promise<UserBarsResponse>;
|
|
5335
5440
|
/**
|
|
5336
5441
|
* Get your basic profile information
|
|
5337
5442
|
* @param params - Optional query parameters
|
|
@@ -5341,19 +5446,19 @@ declare class UserEndpoint {
|
|
|
5341
5446
|
timestamp?: string;
|
|
5342
5447
|
}): Promise<UserBasicResponse>;
|
|
5343
5448
|
/**
|
|
5344
|
-
* Get
|
|
5449
|
+
* Get your battlestats
|
|
5345
5450
|
* @param params - Optional query parameters
|
|
5346
5451
|
*/
|
|
5347
|
-
|
|
5452
|
+
battlestats(params?: {
|
|
5348
5453
|
timestamp?: string;
|
|
5349
|
-
}): Promise<
|
|
5454
|
+
}): Promise<UserBattleStatsResponse>;
|
|
5350
5455
|
/**
|
|
5351
|
-
* Get
|
|
5456
|
+
* Get bounties placed on you
|
|
5352
5457
|
* @param params - Optional query parameters
|
|
5353
5458
|
*/
|
|
5354
|
-
|
|
5459
|
+
bounties(params?: {
|
|
5355
5460
|
timestamp?: string;
|
|
5356
|
-
}): Promise<
|
|
5461
|
+
}): Promise<UserBountiesResponse>;
|
|
5357
5462
|
/**
|
|
5358
5463
|
* Get your competition's event start time
|
|
5359
5464
|
* @param params - Optional query parameters
|
|
@@ -5368,6 +5473,13 @@ declare class UserEndpoint {
|
|
|
5368
5473
|
competition(params?: {
|
|
5369
5474
|
timestamp?: string;
|
|
5370
5475
|
}): Promise<UserCompetitionResponse>;
|
|
5476
|
+
/**
|
|
5477
|
+
* Get your cooldowns information
|
|
5478
|
+
* @param params - Optional query parameters
|
|
5479
|
+
*/
|
|
5480
|
+
cooldowns(params?: {
|
|
5481
|
+
timestamp?: string;
|
|
5482
|
+
}): Promise<UserCooldownsResponse>;
|
|
5371
5483
|
/**
|
|
5372
5484
|
* Get your education information
|
|
5373
5485
|
* @param params - Optional query parameters
|
|
@@ -5572,6 +5684,13 @@ declare class UserEndpoint {
|
|
|
5572
5684
|
newmessages(params?: {
|
|
5573
5685
|
timestamp?: string;
|
|
5574
5686
|
}): Promise<UserNewMessagesResponse>;
|
|
5687
|
+
/**
|
|
5688
|
+
* Get your notifications
|
|
5689
|
+
* @param params - Optional query parameters
|
|
5690
|
+
*/
|
|
5691
|
+
notifications(params?: {
|
|
5692
|
+
timestamp?: string;
|
|
5693
|
+
}): Promise<UserNotificationsResponse>;
|
|
5575
5694
|
/**
|
|
5576
5695
|
* Get your current ongoing organized crime
|
|
5577
5696
|
* @param params - Optional query parameters
|
|
@@ -5632,6 +5751,13 @@ declare class UserEndpoint {
|
|
|
5632
5751
|
racingrecords(params?: {
|
|
5633
5752
|
timestamp?: string;
|
|
5634
5753
|
}): Promise<UserRacingRecordsResponse>;
|
|
5754
|
+
/**
|
|
5755
|
+
* Get your refills information
|
|
5756
|
+
* @param params - Optional query parameters
|
|
5757
|
+
*/
|
|
5758
|
+
refills(params?: {
|
|
5759
|
+
timestamp?: string;
|
|
5760
|
+
}): Promise<UserRefillsResponse>;
|
|
5635
5761
|
/**
|
|
5636
5762
|
* Get your reports
|
|
5637
5763
|
* @param params - Optional query parameters
|
|
@@ -5676,6 +5802,20 @@ declare class UserEndpoint {
|
|
|
5676
5802
|
skills(params?: {
|
|
5677
5803
|
timestamp?: string;
|
|
5678
5804
|
}): Promise<UserSkillsResponse>;
|
|
5805
|
+
/**
|
|
5806
|
+
* Get your travel information
|
|
5807
|
+
* @param params - Optional query parameters
|
|
5808
|
+
*/
|
|
5809
|
+
travel(params?: {
|
|
5810
|
+
timestamp?: string;
|
|
5811
|
+
}): Promise<UserTravelResponse>;
|
|
5812
|
+
/**
|
|
5813
|
+
* Get your virus information
|
|
5814
|
+
* @param params - Optional query parameters
|
|
5815
|
+
*/
|
|
5816
|
+
virus(params?: {
|
|
5817
|
+
timestamp?: string;
|
|
5818
|
+
}): Promise<UserVirusResponse>;
|
|
5679
5819
|
/**
|
|
5680
5820
|
* Get your working stats
|
|
5681
5821
|
* @param params - Optional query parameters
|
|
@@ -5995,4 +6135,4 @@ declare class TornRateLimitError extends Error {
|
|
|
5995
6135
|
constructor(message: string);
|
|
5996
6136
|
}
|
|
5997
6137
|
|
|
5998
|
-
export { type AmmoId, type ApiKeyAccessTypeEnum, type ApiKeyBalancing, type Attack, type AttackActionEnum, type AttackCode, type AttackFinishingHitEffect, type AttackId, type AttackLog, type AttackLogResponse, type AttackLogSummary, type AttackPlayer, type AttackPlayerFaction, type AttackPlayerSimplified, type AttackSimplified, type AttackingFinishingHitEffects, type BasicProperty, type BasicUser, type Bazaar, type BazaarAdvancedItemSales, type BazaarBargainSales, type BazaarBulkSales, type BazaarDollarSales, type BazaarRecentFavorites, type BazaarResponse, type BazaarResponseSpecialized, type BazaarSpecialized, type BazaarTotalFavorites, type BazaarWeekly, type BazaarWeeklyCustomers, type BazaarWeeklyIncome, type Bounty, type ChainId, type CompanyId, type CompanyTypeId, type CountryEnum, type DirtyBombId, type EducationId, type Faction, type FactionApplication, type FactionApplicationStatusEnum, type FactionApplicationsResponse, type FactionAttackResult, type FactionAttacksFullResponse, type FactionAttacksResponse, type FactionBalance, type FactionBalanceResponse, type FactionBasic, type FactionBasicResponse, type FactionBranchDetails, type FactionBranchId, type FactionBranchStateEnum, type FactionChain, FactionChainIdContext, type FactionChainReport, type FactionChainReportAttacker, type FactionChainReportAttackerAttacks, type FactionChainReportAttackerRespect, type FactionChainReportBonus, type FactionChainReportDetails, type FactionChainReportResponse, type FactionChainWarfare, type FactionChainsResponse, type FactionContributor, type FactionContributorsResponse, type FactionCrime, type FactionCrimeId, FactionCrimeIdContext, type FactionCrimeItemOutcomeEnum, type FactionCrimeResponse, type FactionCrimeReward, type FactionCrimeRewardItem, type FactionCrimeRewardPayout, type FactionCrimeSlot, type FactionCrimeStatusEnum, type FactionCrimeUser, type FactionCrimeUserItemOutcome, type FactionCrimeUserItemOutcomeEnum, type FactionCrimeUserOutcome, type FactionCrimesResponse, FactionEndpoint, type FactionHofResponse, type FactionHofStats, type FactionHofValues, type FactionId, FactionIdContext, type FactionLookupResponse, type FactionMember, type FactionMembersResponse, type FactionNews, type FactionNewsCategory, type FactionNewsResponse, type FactionOngoingChain, type FactionOngoingChainResponse, type FactionOrganizedCrimePayoutType, type FactionPact, type FactionPosition, type FactionPositionAbilityEnum, type FactionPositionsResponse, type FactionRacketsResponse, type FactionRaidReport, type FactionRaidReportAttacker, type FactionRaidReportFaction, type FactionRaidReportUser, type FactionRaidWar, FactionRaidWarIdContext, type FactionRaidWarParticipant, type FactionRaidWarReportResponse, type FactionRaidWarfare, type FactionRaidWarfareFaction, type FactionRaidsResponse, type FactionRank, type FactionRankEnum, type FactionRankedWar, type FactionRankedWarDetails, FactionRankedWarIdContext, type FactionRankedWarParticipant, type FactionRankedWarReportResponse, type FactionRankedWarResponse, type FactionRankedWarsCategoryEnum, type FactionResponse, type FactionSearch, type FactionSearchLeader, type FactionSearchResponse, type FactionSelectionName, type FactionStat, type FactionStatEnum, type FactionStatsResponse, type FactionTerritoriesOwnershipResponse, type FactionTerritoriesResponse, type FactionTerritory, type FactionTerritoryEnum, type FactionTerritoryOwnership, type FactionTerritoryWar, type FactionTerritoryWarFaction, type FactionTerritoryWarFactionWallPlayers, type FactionTerritoryWarFinished, type FactionTerritoryWarFinishedFaction, FactionTerritoryWarIdContext, type FactionTerritoryWarOngoing, type FactionTerritoryWarOngoingFaction, type FactionTerritoryWarParticipant, type FactionTerritoryWarReport, type FactionTerritoryWarReportFaction, type FactionTerritoryWarReportMembers, type FactionTerritoryWarReportResponse, type FactionTerritoryWarResultEnum, type FactionTerritoryWarfare, type FactionTerritoryWarsCategoryEnum, type FactionTerritoryWarsHistoryResponse, type FactionUpgradeDetails, type FactionUpgrades, type FactionUpgradesResponse, type FactionWarfareDirtyBomb, type FactionWarfareDirtyBombPlanter, type FactionWarfareDirtyBombTargetFaction, type FactionWarfareResponse, type FactionWarfareTypeEnum, type FactionWars, type FactionWarsResponse, type ForumCategoriesResponse, ForumCategoryIdsContext, ForumEndpoint, type ForumFeed, type ForumFeedTypeEnum, type ForumId, type ForumLookupResponse, type ForumPoll, type ForumPollVote, type ForumPost, type ForumPostId, type ForumPostsResponse, type ForumResponse, type ForumSelectionName, type ForumSubscribedThread, type ForumSubscribedThreadPostsCount, type ForumThreadAuthor, type ForumThreadBase, type ForumThreadExtended, type ForumThreadId, ForumThreadIdContext, type ForumThreadResponse, type ForumThreadUserExtended, type ForumThreadsResponse, type HofValue, type HofValueFloat, type HofValueString, type HonorId, type HonorRarityEnum, type HonorTypeEnum, type ItemId, type ItemMarket, type ItemMarketItem, type ItemMarketListingItemBonus, type ItemMarketListingItemDetails, type ItemMarketListingItemStats, type ItemMarketListingNonstackable, type ItemMarketListingStackable, type ItemModId, type ItemUid, type JobPositionArmyEnum, type JobPositionCasinoEnum, type JobPositionEducationEnum, type JobPositionGrocerEnum, type JobPositionLawEnum, type JobPositionMedicalEnum, type JobTypeEnum, KeyEndpoint, type KeyInfoAvailableLog, type KeyInfoResponse, type KeyLogResponse, type KeyResponse, type KeySelectionName, type LogCategoryId, type LogId, MarketEndpoint, MarketIdContext, type MarketItemMarketResponse, type MarketLookupResponse, type MarketPropertiesResponse, type MarketPropertyDetails, MarketPropertyTypeIdContext, type MarketRentalDetails, type MarketRentalsResponse, type MarketResponse, type MarketSelectionName, type MarketSpecializedBazaarCategoryEnum, type MedalId, type MedalTypeEnum, type MeritId, type OrganizedCrimeName, PaginatedResponse, type Parameters, type PersonalStatsAttackingExtended, type PersonalStatsAttackingPopular, type PersonalStatsAttackingPublic, type PersonalStatsBattleStats, type PersonalStatsBounties, type PersonalStatsCategoryEnum, type PersonalStatsCommunication, type PersonalStatsCrimes, type PersonalStatsCrimesPopular, type PersonalStatsCrimesV1, type PersonalStatsCrimesV2, type PersonalStatsDrugs, type PersonalStatsFinishingHits, type PersonalStatsHistoricStat, type PersonalStatsHospital, type PersonalStatsHospitalPopular, type PersonalStatsInvestments, type PersonalStatsItems, type PersonalStatsItemsPopular, type PersonalStatsJail, type PersonalStatsJobsExtended, type PersonalStatsJobsPublic, type PersonalStatsMissions, type PersonalStatsNetworthExtended, type PersonalStatsNetworthPublic, type PersonalStatsOther, type PersonalStatsOtherPopular, type PersonalStatsRacing, type PersonalStatsStatName, type PersonalStatsTrading, type PersonalStatsTravel, type PersonalStatsTravelPopular, type ProfileSpouse, PropertyEndpoint, type PropertyId, PropertyIdContext, type PropertyLookupResponse, type PropertyModificationEnum, type PropertyPropertyResponse, type PropertyResponse, type PropertySelectionName, type PropertyStaffEnum, type PropertyTypeId, type Race, type RaceCar, type RaceCarId, type RaceCarUpgrade, type RaceCarUpgradeCategory, type RaceCarUpgradeId, type RaceCarUpgradeSubCategory, type RaceClassEnum, type RaceId, type RaceRecord, type RaceStatusEnum, type RaceTrack, type RaceTrackId, type RacerDetails, type RacingCarUpgradesResponse, type RacingCarsResponse, RacingEndpoint, type RacingLookupResponse, type RacingRaceDetails, type RacingRaceDetailsResponse, RacingRaceIdContext, type RacingRaceTypeEnum, type RacingRacesResponse, type RacingResponse, type RacingSelectionName, RacingTrackIdContext, type RacingTrackRecordsResponse, type RacingTracksResponse, type RaidWarId, type RankedWarId, type RateLimitMode, type Report, type ReportAnonymousBounties, type ReportBase, type ReportCompanyFinancials, type ReportFriendOrFoe, type ReportFriendOrFoeUser, type ReportHistory, type ReportHistoryCompany, type ReportHistoryFaction, type ReportInvestment, type ReportMoney, type ReportMostWanted, type ReportReport, type ReportStats, type ReportStockAnalysis, type ReportTrueLevel, type ReportTypeEnum, type ReportWarrantDetails, type ReportsResponse, type RequestLinks, type RequestMetadata, type RequestMetadataWithLinks, type RequestMetadataWithLinksAndTotal, type Requester, type Revive, type ReviveId, type ReviveSetting, type ReviveSimplified, type RevivesFullResponse, type RevivesResponse, type SelectionCategoryEnum, type TerritoryWarId, type TimestampResponse, TornAPI, type TornAPIOptions, TornApiError, type TornBountiesResponse, type TornCalendarActivity, type TornCalendarResponse, type TornCrime, type TornCrimeId, TornCrimeIdContext, type TornCrimesResponse, type TornEducation, type TornEducationCourses, type TornEducationPrerequisites, type TornEducationResponse, type TornEducationRewards, TornEndpoint, type TornFactionHof, type TornFactionHofCategory, type TornFactionHofResponse, type TornFactionTree, type TornFactionTreeBranch, type TornFactionTreeResponse, type TornHof, type TornHofBasic, type TornHofCategory, type TornHofResponse, type TornHofWithOffenses, type TornHonor, type TornHonorsResponse, TornIdsContext, type TornItem, type TornItemAmmo, type TornItemAmmoResponse, type TornItemAmmoTypeEnum, type TornItemArmorCoverage, type TornItemArmorCoveragePartEnum, type TornItemArmorDetails, type TornItemBaseStats, type TornItemCategory, type TornItemMods, type TornItemModsResponse, type TornItemTypeEnum, type TornItemWeaponCategoryEnum, type TornItemWeaponDetails, type TornItemWeaponTypeEnum, type TornItemsResponse, type TornLog, type TornLogCategoriesResponse, type TornLogCategory, TornLogCategoryIdContext, type TornLogTypesResponse, type TornLookupResponse, type TornMedal, type TornMedalsResponse, type TornMerit, type TornMeritsResponse, type TornOrganizedCrime, type TornOrganizedCrimePositionId, type TornOrganizedCrimeRequiredItem, type TornOrganizedCrimeResponse, type TornOrganizedCrimeScope, type TornOrganizedCrimeSlot, type TornOrganizedCrimeSpawn, type TornProperties, type TornRacket, type TornRacketReward, type TornRacketType, TornRateLimitError, type TornResponse, type TornSelectionName, type TornSubcrime, type TornSubcrimesResponse, type TornTerritoriesNoLinksResponse, type TornTerritoriesResponse, type TornTerritory, type TornTerritoryCoordinates, type User, type UserBasic, type UserBasicResponse, type UserBattleStatDetail, type UserBattleStatModifierDetail, type UserBattleStatsResponse, type UserBountiesResponse, type UserCalendar, type UserCalendarResponse, type UserCompany, type UserCompanyPoints, type UserCompetitionEasterEggs, type UserCompetitionHalloween, type UserCompetitionResponse, type UserCompetitionRps, type UserCrime, type UserCrimeAttempts, type UserCrimeDetailsBootlegging, type UserCrimeDetailsCardSkimming, type UserCrimeDetailsCracking, type UserCrimeDetailsGraffiti, type UserCrimeDetailsHustling, type UserCrimeDetailsScamming, type UserCrimeDetailsShoplifting, UserCrimeIdContext, type UserCrimeRewardAmmo, type UserCrimeRewardItem, type UserCrimeRewards, type UserCrimeUniques, type UserCrimeUniquesReward, type UserCrimeUniquesRewardAmmo, type UserCrimeUniquesRewardAmmoEnum, type UserCrimeUniquesRewardMoney, type UserCrimesResponse, type UserCurrentEducation, type UserDonatorStatusEnum, type UserEducation, type UserEducationResponse, UserEndpoint, type UserEnlistedCarsResponse, type UserEvent, type UserEventId, type UserEventsResponse, type UserFaction, type UserFactionBalance, type UserFactionBalanceResponse, type UserFactionResponse, type UserForumFeedResponse, type UserForumFriendsResponse, type UserForumPostsResponse, type UserForumSubscribedThreadsResponse, type UserForumThreadsResponse, type UserGenderEnum, type UserHofResponse, type UserHofStats, type UserHonor, type UserHonorsResponse, type UserIconId, type UserIconPrivate, type UserIconPublic, type UserIconsResponse, type UserId, UserIdContext, type UserItemMarkeListingItemDetails, type UserItemMarketListing, type UserItemMarketResponse, type UserJob, type UserJobPointsResponse, type UserJobRanks, type UserJobRanksResponse, type UserJobResponse, type UserLastAction, type 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 UserMoneyResponse, type UserNewEventsResponse, type UserNewMessagesResponse, type UserOrganizedCrimeError, type UserOrganizedCrimeResponse, type UserPersonalStatsCategory, type UserPersonalStatsFull, type UserPersonalStatsFullPublic, type UserPersonalStatsHistoric, type UserPersonalStatsPopular, type UserPersonalStatsResponse, type UserPlaneImageTypeEnum, type UserProfileResponse, type UserPropertiesResponse, type UserPropertyBasicDetails, type UserPropertyDetails, type UserPropertyDetailsExtended, type UserPropertyDetailsExtendedForRent, type UserPropertyDetailsExtendedForSale, type UserPropertyDetailsExtendedRented, type UserPropertyDetailsExtendedWithRent, type UserPropertyResponse, type UserRaceCarDetails, type UserRacesResponse, type UserRacingRecordsResponse, type UserRankEnum, type UserResponse, type UserRoleEnum, type UserRpsStatus, type UserSelectionName, type UserSkillDetail, type UserSkillSlugEnum, type UserSkillsResponse, type UserStatus, type UserStatusStateEnum, type UserSubcrime, type UserTitleEnum, type UserWorkStatsResponse, type WeaponBonusEnum };
|
|
6138
|
+
export { type AmmoId, type ApiKeyAccessTypeEnum, type ApiKeyBalancing, type Attack, type AttackActionEnum, type AttackCode, type AttackFinishingHitEffect, type AttackId, type AttackLog, type AttackLogResponse, type AttackLogSummary, type AttackPlayer, type AttackPlayerFaction, type AttackPlayerSimplified, type AttackSimplified, type AttackingFinishingHitEffects, type BasicProperty, type BasicUser, type Bazaar, type BazaarAdvancedItemSales, type BazaarBargainSales, type BazaarBulkSales, type BazaarDollarSales, type BazaarRecentFavorites, type BazaarResponse, type BazaarResponseSpecialized, type BazaarSpecialized, type BazaarTotalFavorites, type BazaarWeekly, type BazaarWeeklyCustomers, type BazaarWeeklyIncome, type Bounty, type ChainId, type CompanyId, type CompanyTypeId, type CountryEnum, type DirtyBombId, type EducationId, type Faction, type FactionApplication, type FactionApplicationStatusEnum, type FactionApplicationsResponse, type FactionAttackResult, type FactionAttacksFullResponse, type FactionAttacksResponse, type FactionBalance, type FactionBalanceResponse, type FactionBasic, type FactionBasicResponse, type FactionBranchDetails, type FactionBranchId, type FactionBranchStateEnum, type FactionChain, FactionChainIdContext, type FactionChainReport, type FactionChainReportAttacker, type FactionChainReportAttackerAttacks, type FactionChainReportAttackerRespect, type FactionChainReportBonus, type FactionChainReportDetails, type FactionChainReportResponse, type FactionChainWarfare, type FactionChainsResponse, type FactionContributor, type FactionContributorsResponse, type FactionCrime, type FactionCrimeId, FactionCrimeIdContext, type FactionCrimeItemOutcomeEnum, type FactionCrimeResponse, type FactionCrimeReward, type FactionCrimeRewardItem, type FactionCrimeRewardPayout, type FactionCrimeSlot, type FactionCrimeStatusEnum, type FactionCrimeUser, type FactionCrimeUserItemOutcome, type FactionCrimeUserItemOutcomeEnum, type FactionCrimeUserOutcome, type FactionCrimesResponse, FactionEndpoint, type FactionHofResponse, type FactionHofStats, type FactionHofValues, type FactionId, FactionIdContext, type FactionLookupResponse, type FactionMember, type FactionMembersResponse, type FactionNews, type FactionNewsCategory, type FactionNewsResponse, type FactionOngoingChain, type FactionOngoingChainResponse, type FactionOrganizedCrimePayoutType, type FactionPact, type FactionPosition, type FactionPositionAbilityEnum, type FactionPositionsResponse, type FactionRacketsResponse, type FactionRaidReport, type FactionRaidReportAttacker, type FactionRaidReportFaction, type FactionRaidReportUser, type FactionRaidWar, FactionRaidWarIdContext, type FactionRaidWarParticipant, type FactionRaidWarReportResponse, type FactionRaidWarfare, type FactionRaidWarfareFaction, type FactionRaidsResponse, type FactionRank, type FactionRankEnum, type FactionRankedWar, type FactionRankedWarDetails, FactionRankedWarIdContext, type FactionRankedWarParticipant, type FactionRankedWarReportResponse, type FactionRankedWarResponse, type FactionRankedWarsCategoryEnum, type FactionResponse, type FactionSearch, type FactionSearchLeader, type FactionSearchResponse, type FactionSelectionName, type FactionStat, type FactionStatEnum, type FactionStatsResponse, type FactionTerritoriesOwnershipResponse, type FactionTerritoriesResponse, type FactionTerritory, type FactionTerritoryEnum, type FactionTerritoryOwnership, type FactionTerritoryWar, type FactionTerritoryWarFaction, type FactionTerritoryWarFactionWallPlayers, type FactionTerritoryWarFinished, type FactionTerritoryWarFinishedFaction, FactionTerritoryWarIdContext, type FactionTerritoryWarOngoing, type FactionTerritoryWarOngoingFaction, type FactionTerritoryWarParticipant, type FactionTerritoryWarReport, type FactionTerritoryWarReportFaction, type FactionTerritoryWarReportMembers, type FactionTerritoryWarReportResponse, type FactionTerritoryWarResultEnum, type FactionTerritoryWarfare, type FactionTerritoryWarsCategoryEnum, type FactionTerritoryWarsHistoryResponse, type FactionUpgradeDetails, type FactionUpgrades, type FactionUpgradesResponse, type FactionWarfareDirtyBomb, type FactionWarfareDirtyBombPlanter, type FactionWarfareDirtyBombTargetFaction, type FactionWarfareResponse, type FactionWarfareTypeEnum, type FactionWars, type FactionWarsResponse, type ForumCategoriesResponse, ForumCategoryIdsContext, ForumEndpoint, type ForumFeed, type ForumFeedTypeEnum, type ForumId, type ForumLookupResponse, type ForumPoll, type ForumPollVote, type ForumPost, type ForumPostId, type ForumPostsResponse, type ForumResponse, type ForumSelectionName, type ForumSubscribedThread, type ForumSubscribedThreadPostsCount, type ForumThreadAuthor, type ForumThreadBase, type ForumThreadExtended, type ForumThreadId, ForumThreadIdContext, type ForumThreadResponse, type ForumThreadUserExtended, type ForumThreadsResponse, type HofValue, type HofValueFloat, type HofValueString, type HonorId, type HonorRarityEnum, type HonorTypeEnum, type ItemId, type ItemMarket, type ItemMarketItem, type ItemMarketListingItemBonus, type ItemMarketListingItemDetails, type ItemMarketListingItemStats, type ItemMarketListingNonstackable, type ItemMarketListingStackable, type ItemModId, type ItemUid, type JobPositionArmyEnum, type JobPositionCasinoEnum, type JobPositionEducationEnum, type JobPositionGrocerEnum, type JobPositionLawEnum, type JobPositionMedicalEnum, type JobTypeEnum, KeyEndpoint, type KeyInfoAvailableLog, type KeyInfoResponse, type KeyLogResponse, type KeyResponse, type KeySelectionName, type LogCategoryId, type LogId, MarketEndpoint, MarketIdContext, type MarketItemMarketResponse, type MarketLookupResponse, type MarketPropertiesResponse, type MarketPropertyDetails, MarketPropertyTypeIdContext, type MarketRentalDetails, type MarketRentalsResponse, type MarketResponse, type MarketSelectionName, type MarketSpecializedBazaarCategoryEnum, type MedalId, type MedalTypeEnum, type MeritId, type OrganizedCrimeName, PaginatedResponse, type Parameters, type PersonalStatsAttackingExtended, type PersonalStatsAttackingPopular, type PersonalStatsAttackingPublic, type PersonalStatsBattleStats, type PersonalStatsBounties, type PersonalStatsCategoryEnum, type PersonalStatsCommunication, type PersonalStatsCrimes, type PersonalStatsCrimesPopular, type PersonalStatsCrimesV1, type PersonalStatsCrimesV2, type PersonalStatsDrugs, type PersonalStatsFinishingHits, type PersonalStatsHistoricStat, type PersonalStatsHospital, type PersonalStatsHospitalPopular, type PersonalStatsInvestments, type PersonalStatsItems, type PersonalStatsItemsPopular, type PersonalStatsJail, type PersonalStatsJobsExtended, type PersonalStatsJobsPublic, type PersonalStatsMissions, type PersonalStatsNetworthExtended, type PersonalStatsNetworthPublic, type PersonalStatsOther, type PersonalStatsOtherPopular, type PersonalStatsRacing, type PersonalStatsStatName, type PersonalStatsTrading, type PersonalStatsTravel, type PersonalStatsTravelPopular, type ProfileSpouse, PropertyEndpoint, type PropertyId, PropertyIdContext, type PropertyLookupResponse, type PropertyModificationEnum, type PropertyPropertyResponse, type PropertyResponse, type PropertySelectionName, type PropertyStaffEnum, type PropertyTypeId, type Race, type RaceCar, type RaceCarId, type RaceCarUpgrade, type RaceCarUpgradeCategory, type RaceCarUpgradeId, type RaceCarUpgradeSubCategory, type RaceClassEnum, type RaceId, type RaceRecord, type RaceStatusEnum, type RaceTrack, type RaceTrackId, type RacerDetails, type RacingCarUpgradesResponse, type RacingCarsResponse, RacingEndpoint, type RacingLookupResponse, type RacingRaceDetails, type RacingRaceDetailsResponse, RacingRaceIdContext, type RacingRaceTypeEnum, type RacingRacesResponse, type RacingResponse, type RacingSelectionName, RacingTrackIdContext, type RacingTrackRecordsResponse, type RacingTracksResponse, type RaidWarId, type RankedWarId, type RateLimitMode, type Report, type ReportAnonymousBounties, type ReportBase, type ReportCompanyFinancials, type ReportFriendOrFoe, type ReportFriendOrFoeUser, type ReportHistory, type ReportHistoryCompany, type ReportHistoryFaction, type ReportInvestment, type ReportMoney, type ReportMostWanted, type ReportReport, type ReportStats, type ReportStockAnalysis, type ReportTrueLevel, type ReportTypeEnum, type ReportWarrantDetails, type ReportsResponse, type RequestLinks, type RequestMetadata, type RequestMetadataWithLinks, type RequestMetadataWithLinksAndTotal, type Requester, type Revive, type ReviveId, type ReviveSetting, type ReviveSimplified, type RevivesFullResponse, type RevivesResponse, type SelectionCategoryEnum, type TerritoryWarId, type TimestampResponse, TornAPI, type TornAPIOptions, TornApiError, type TornBountiesResponse, type TornCalendarActivity, type TornCalendarResponse, type TornCrime, type TornCrimeId, TornCrimeIdContext, type TornCrimesResponse, type TornEducation, type TornEducationCourses, type TornEducationPrerequisites, type TornEducationResponse, type TornEducationRewards, TornEndpoint, type TornFactionHof, type TornFactionHofCategory, type TornFactionHofResponse, type TornFactionTree, type TornFactionTreeBranch, type TornFactionTreeResponse, type TornHof, type TornHofBasic, type TornHofCategory, type TornHofResponse, type TornHofWithOffenses, type TornHonor, type TornHonorsResponse, TornIdsContext, type TornItem, type TornItemAmmo, type TornItemAmmoResponse, type TornItemAmmoTypeEnum, type TornItemArmorCoverage, type TornItemArmorCoveragePartEnum, type TornItemArmorDetails, type TornItemBaseStats, type TornItemCategory, type TornItemMods, type TornItemModsResponse, type TornItemTypeEnum, type TornItemWeaponCategoryEnum, type TornItemWeaponDetails, type TornItemWeaponTypeEnum, type TornItemsResponse, type TornLog, type TornLogCategoriesResponse, type TornLogCategory, TornLogCategoryIdContext, type TornLogTypesResponse, type TornLookupResponse, type TornMedal, type TornMedalsResponse, type TornMerit, type TornMeritsResponse, type TornOrganizedCrime, type TornOrganizedCrimePositionId, type TornOrganizedCrimeRequiredItem, type TornOrganizedCrimeResponse, type TornOrganizedCrimeScope, type TornOrganizedCrimeSlot, type TornOrganizedCrimeSpawn, type TornProperties, type TornRacket, type TornRacketReward, type TornRacketType, TornRateLimitError, type TornResponse, type TornSelectionName, type TornSubcrime, type TornSubcrimesResponse, type TornTerritoriesNoLinksResponse, type TornTerritoriesResponse, type TornTerritory, type TornTerritoryCoordinates, type User, type UserBar, type UserBars, type UserBarsResponse, type UserBasic, type UserBasicResponse, type UserBattleStatDetail, type UserBattleStatModifierDetail, type UserBattleStatsResponse, type UserBountiesResponse, type UserCalendar, type UserCalendarResponse, type UserCompany, type UserCompanyPoints, type UserCompetitionEasterEggs, type UserCompetitionHalloween, type UserCompetitionResponse, type UserCompetitionRps, type UserCooldownsResponse, type UserCrime, type UserCrimeAttempts, type UserCrimeDetailsBootlegging, type UserCrimeDetailsCardSkimming, type UserCrimeDetailsCracking, type UserCrimeDetailsGraffiti, type UserCrimeDetailsHustling, type UserCrimeDetailsScamming, type UserCrimeDetailsShoplifting, UserCrimeIdContext, type UserCrimeRewardAmmo, type UserCrimeRewardItem, type UserCrimeRewards, type UserCrimeUniques, type UserCrimeUniquesReward, type UserCrimeUniquesRewardAmmo, type UserCrimeUniquesRewardAmmoEnum, type UserCrimeUniquesRewardMoney, type UserCrimesResponse, type UserCurrentEducation, type UserDonatorStatusEnum, type UserEducation, type UserEducationResponse, UserEndpoint, type UserEnlistedCarsResponse, type UserEvent, type UserEventId, type UserEventsResponse, type UserFaction, type UserFactionBalance, type UserFactionBalanceResponse, type UserFactionResponse, type UserFlyMethodEnum, type UserForumFeedResponse, type UserForumFriendsResponse, type UserForumPostsResponse, type UserForumSubscribedThreadsResponse, type UserForumThreadsResponse, type UserGenderEnum, type UserHofResponse, type UserHofStats, type UserHonor, type UserHonorsResponse, type UserIconId, type UserIconPrivate, type UserIconPublic, type UserIconsResponse, type UserId, UserIdContext, type UserItemMarkeListingItemDetails, type UserItemMarketListing, type UserItemMarketResponse, type UserJob, type UserJobPointsResponse, type UserJobRanks, type UserJobRanksResponse, type UserJobResponse, type UserLastAction, type 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 UserMoneyResponse, type UserNewEventsResponse, type UserNewMessagesResponse, type UserNotificationsResponse, type UserOrganizedCrimeError, type UserOrganizedCrimeResponse, type UserPersonalStatsCategory, type UserPersonalStatsFull, type UserPersonalStatsFullPublic, type UserPersonalStatsHistoric, type UserPersonalStatsPopular, type UserPersonalStatsResponse, type UserPlaneImageTypeEnum, type UserProfileResponse, type UserPropertiesResponse, type UserPropertyBasicDetails, type UserPropertyDetails, type UserPropertyDetailsExtended, type UserPropertyDetailsExtendedForRent, type UserPropertyDetailsExtendedForSale, type UserPropertyDetailsExtendedRented, type UserPropertyDetailsExtendedWithRent, type UserPropertyResponse, type UserRaceCarDetails, type UserRacesResponse, type UserRacingRecordsResponse, type UserRankEnum, type UserRefillsResponse, type UserResponse, type UserRoleEnum, type UserRpsStatus, type UserSelectionName, type UserSkillDetail, type UserSkillSlugEnum, type UserSkillsResponse, type UserStatus, type UserStatusStateEnum, type UserSubcrime, type UserTitleEnum, type UserTravelResponse, type UserVirus, type UserVirusResponse, type UserWorkStatsResponse, type WeaponBonusEnum };
|