tornapi-typescript 6.12.0 → 6.13.1
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 +167 -3
- package/dist/index.ts +193 -3
- package/dist/openapi.json +896 -10
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
* - {@link https://github.com/grantila/typeconv}
|
|
6
6
|
*/
|
|
7
7
|
export type RaceClassEnum = "A" | "B" | "C" | "D" | "E";
|
|
8
|
+
export type TornItemStatTitleEnum = "Damage" | "Rounds fired" | "Hits" | "Misses" | "Damage taken" | "Reloads" | "Highest damage" | "Hits received" | "Most damage taken" | "Damage mitigated" | "Most damage mitigated" | "Finishing hits" | "Critical hits" | "First owner" | "First faction owner" | "Time created" | "Respect earned";
|
|
8
9
|
export type FactionArmoryCategoryEnum = "weapons" | "armor" | "temporary" | "medical" | "consumables" | "drugs" | "boosters" | "utilities" | "loot";
|
|
9
10
|
export type MissionDifficultyEnum = "Very easy" | "Easy" | "Medium" | "Hard" | "Very hard" | "Expert";
|
|
10
11
|
export type MissionStatusEnum = "Accepted" | "Available" | "Failed" | "Completed";
|
|
@@ -80,6 +81,7 @@ export type RaceTrackId = number;
|
|
|
80
81
|
export type RaceCarId = number;
|
|
81
82
|
export type RaceCarUpgradeId = number;
|
|
82
83
|
export type ItemId = number;
|
|
84
|
+
export type ItemStatId = number;
|
|
83
85
|
export type AuctionListingId = number;
|
|
84
86
|
export type ItemModId = number;
|
|
85
87
|
export type CityShopId = number;
|
|
@@ -207,7 +209,7 @@ export interface Attack {
|
|
|
207
209
|
result: FactionAttackResult;
|
|
208
210
|
respect_gain: number;
|
|
209
211
|
respect_loss: number;
|
|
210
|
-
chain: number;
|
|
212
|
+
chain: number | null;
|
|
211
213
|
/** This is an experimental flag which should help determine 'assist' attacks which have not contributed to the chain. For example, attacks such as where the opponent lost to someoene else before the attacker could finish the attack. This flag might not work entirely correctly, so use with caution. */
|
|
212
214
|
is_interrupted: boolean;
|
|
213
215
|
is_stealthed: boolean;
|
|
@@ -519,7 +521,11 @@ export interface ErrorFileDoesNotExist {
|
|
|
519
521
|
code: 30;
|
|
520
522
|
error: string;
|
|
521
523
|
}
|
|
522
|
-
export
|
|
524
|
+
export interface ErrorCityStatsCronFailed {
|
|
525
|
+
code: 31;
|
|
526
|
+
error: string;
|
|
527
|
+
}
|
|
528
|
+
export type ApiError = ErrorUnknown | ErrorKeyEmpty | ErrorIncorrectKey | ErrorWrongType | ErrorWrongFields | ErrorTooManyRequests | ErrorIncorrectId | ErrorIncorrectIdEntityRelation | ErrorIpBlocked | ErrorApiDisabled | ErrorKeyOwnerInFederalJail | ErrorKeyChangeCooldown | ErrorKeyReadError | ErrorKeyTemporaryDisabled | ErrorDailyReadLimitReached | ErrorLogUnavailable | ErrorAccessLevelTooLow | ErrorBackendError | ErrorApiKeyPaused | ErrorMustMigrateToCrimesV2 | ErrorRaceNotFinished | ErrorIncorrectCategory | ErrorOnlyAvailableInApiV1 | ErrorOnlyAvailableInApiV2 | ErrorClosedTemporarily | ErrorInvalidStatRequested | ErrorOnlyCategoryOrStatsAllowed | ErrorMustMigrateToOrganizedCrimesV2 | ErrorIncorrectLogId | ErrorCategorySelectionUnavailableForInteractionLogs | ErrorFileDoesNotExist | ErrorCityStatsCronFailed;
|
|
523
529
|
export interface UserGymResponse {
|
|
524
530
|
gym: {
|
|
525
531
|
id: GymId;
|
|
@@ -2103,6 +2109,7 @@ export interface FactionInventoryItem {
|
|
|
2103
2109
|
name: string;
|
|
2104
2110
|
type: MarketSpecializedBazaarCategoryEnum;
|
|
2105
2111
|
amount: number;
|
|
2112
|
+
/** Returns up to 250 uids. */
|
|
2106
2113
|
uids: ItemUid[];
|
|
2107
2114
|
loaned: {
|
|
2108
2115
|
id: UserId;
|
|
@@ -3429,6 +3436,151 @@ export type PropertySelectionName = string;
|
|
|
3429
3436
|
export interface PropertyLookupResponse {
|
|
3430
3437
|
selections: PropertySelectionName[];
|
|
3431
3438
|
}
|
|
3439
|
+
export interface TornItemStat {
|
|
3440
|
+
id: ItemStatId;
|
|
3441
|
+
title: string;
|
|
3442
|
+
value: number;
|
|
3443
|
+
}
|
|
3444
|
+
export interface TornItemStats {
|
|
3445
|
+
id: ItemId;
|
|
3446
|
+
uid: ItemUid;
|
|
3447
|
+
name: TornItemStatTitleEnum;
|
|
3448
|
+
type: TornItemTypeEnum;
|
|
3449
|
+
sub_type: TornItemWeaponTypeEnum | null;
|
|
3450
|
+
stats: TornItemStat[];
|
|
3451
|
+
}
|
|
3452
|
+
export interface TornItemStatsResponse {
|
|
3453
|
+
itemdetails: TornItemStats[];
|
|
3454
|
+
}
|
|
3455
|
+
export interface TornRockPaperScissorsResponse {
|
|
3456
|
+
rockpaperscissors: {
|
|
3457
|
+
type: "rock" | "paper" | "scissors";
|
|
3458
|
+
count: number;
|
|
3459
|
+
}[];
|
|
3460
|
+
}
|
|
3461
|
+
export interface TornCityStatsResponse {
|
|
3462
|
+
stats: {
|
|
3463
|
+
users: {
|
|
3464
|
+
total: number;
|
|
3465
|
+
male: number;
|
|
3466
|
+
female: number;
|
|
3467
|
+
enby: number;
|
|
3468
|
+
married: number;
|
|
3469
|
+
};
|
|
3470
|
+
items: {
|
|
3471
|
+
found_in_city: number;
|
|
3472
|
+
found_in_dump: number;
|
|
3473
|
+
trashed: number;
|
|
3474
|
+
total: number;
|
|
3475
|
+
};
|
|
3476
|
+
trading: {
|
|
3477
|
+
sold_on_market: number;
|
|
3478
|
+
sold_in_bazaar: number;
|
|
3479
|
+
sold_points: number;
|
|
3480
|
+
bazaar_profit: number;
|
|
3481
|
+
auctions: number;
|
|
3482
|
+
trades: number;
|
|
3483
|
+
items_sent: number;
|
|
3484
|
+
};
|
|
3485
|
+
currency: {
|
|
3486
|
+
money_on_hand: number;
|
|
3487
|
+
money_on_hand_average: number;
|
|
3488
|
+
money_in_bank: number;
|
|
3489
|
+
points_total: number;
|
|
3490
|
+
points_players: number;
|
|
3491
|
+
points_factions: number;
|
|
3492
|
+
points_market: number;
|
|
3493
|
+
points_used: number;
|
|
3494
|
+
};
|
|
3495
|
+
attacking: {
|
|
3496
|
+
attacks_won: number;
|
|
3497
|
+
attacks_lost: number;
|
|
3498
|
+
attacks_stalemated: number;
|
|
3499
|
+
attacks_stealthed: number;
|
|
3500
|
+
escapes: number;
|
|
3501
|
+
hits: number;
|
|
3502
|
+
misses: number;
|
|
3503
|
+
critical_hits: number;
|
|
3504
|
+
rounds_fired: number;
|
|
3505
|
+
money_mugged: number;
|
|
3506
|
+
respect_gained: number;
|
|
3507
|
+
};
|
|
3508
|
+
jobs: {
|
|
3509
|
+
army: number;
|
|
3510
|
+
grocer: number;
|
|
3511
|
+
casino: number;
|
|
3512
|
+
education: number;
|
|
3513
|
+
medical: number;
|
|
3514
|
+
law: number;
|
|
3515
|
+
company: number;
|
|
3516
|
+
unemployed: number;
|
|
3517
|
+
};
|
|
3518
|
+
jail: {
|
|
3519
|
+
jailings: number;
|
|
3520
|
+
busts: number;
|
|
3521
|
+
busts_failed: number;
|
|
3522
|
+
bails: number;
|
|
3523
|
+
bails_spent: number;
|
|
3524
|
+
};
|
|
3525
|
+
hospital: {
|
|
3526
|
+
trips: number;
|
|
3527
|
+
medical_items_used: number;
|
|
3528
|
+
revives: number;
|
|
3529
|
+
};
|
|
3530
|
+
drugs: {
|
|
3531
|
+
total_used: number;
|
|
3532
|
+
overdoses: number;
|
|
3533
|
+
cannabis: number;
|
|
3534
|
+
ecstasy: number;
|
|
3535
|
+
ketamine: number;
|
|
3536
|
+
lsd: number;
|
|
3537
|
+
opium: number;
|
|
3538
|
+
shrooms: number;
|
|
3539
|
+
speed: number;
|
|
3540
|
+
pcp: number;
|
|
3541
|
+
xanax: number;
|
|
3542
|
+
vicodin: number;
|
|
3543
|
+
};
|
|
3544
|
+
traveling: {
|
|
3545
|
+
items_bought_abroad: number;
|
|
3546
|
+
total_trips: number;
|
|
3547
|
+
argentina: number;
|
|
3548
|
+
mexico: number;
|
|
3549
|
+
united_arab_emirates: number;
|
|
3550
|
+
hawaii: number;
|
|
3551
|
+
japan: number;
|
|
3552
|
+
united_kingdom: number;
|
|
3553
|
+
south_africa: number;
|
|
3554
|
+
switzerland: number;
|
|
3555
|
+
china: number;
|
|
3556
|
+
cayman_islands: number;
|
|
3557
|
+
};
|
|
3558
|
+
bounties: {
|
|
3559
|
+
placed: number;
|
|
3560
|
+
money_spent: number;
|
|
3561
|
+
};
|
|
3562
|
+
crimes: {
|
|
3563
|
+
total: number;
|
|
3564
|
+
jail_sentences: number;
|
|
3565
|
+
};
|
|
3566
|
+
communication: {
|
|
3567
|
+
total_messages: number;
|
|
3568
|
+
friends: number;
|
|
3569
|
+
coworkers: number;
|
|
3570
|
+
spouses: number;
|
|
3571
|
+
classified_ads_placed: number;
|
|
3572
|
+
personals_placed: number;
|
|
3573
|
+
};
|
|
3574
|
+
other: {
|
|
3575
|
+
logins: number;
|
|
3576
|
+
years_played: number;
|
|
3577
|
+
merits_bought: number;
|
|
3578
|
+
energy_refills: number;
|
|
3579
|
+
company_trains: number;
|
|
3580
|
+
stat_enhancers_used: number;
|
|
3581
|
+
};
|
|
3582
|
+
};
|
|
3583
|
+
}
|
|
3432
3584
|
export interface TornPokerTable {
|
|
3433
3585
|
id: PokerTableId;
|
|
3434
3586
|
name: string;
|
|
@@ -4053,7 +4205,7 @@ export interface TornFactionTreeResponse {
|
|
|
4053
4205
|
factionTree: TornFactionTree[];
|
|
4054
4206
|
}
|
|
4055
4207
|
/**
|
|
4056
|
-
* The following selections will fallback to API v1 and may change at any time:'competition','
|
|
4208
|
+
* The following selections will fallback to API v1 and may change at any time:'competition','organisedcrimes'.
|
|
4057
4209
|
* * The following selections are not available in API v2: 'dirtybombs','raidreport','raids', 'chainreport', 'rackets', 'rankedwarreport', 'rankedwars', 'territorynames', 'territorywarreport', 'territorywars', 'pawnshop'.
|
|
4058
4210
|
*/
|
|
4059
4211
|
export type TornSelectionName = string;
|
|
@@ -8033,6 +8185,10 @@ export interface TornV2 extends BaseSchema {
|
|
|
8033
8185
|
response: TornItemModsResponse;
|
|
8034
8186
|
params: "timestamp";
|
|
8035
8187
|
};
|
|
8188
|
+
itemstats: {
|
|
8189
|
+
response: TornItemStatsResponse;
|
|
8190
|
+
params: "ids" | "timestamp";
|
|
8191
|
+
};
|
|
8036
8192
|
items: {
|
|
8037
8193
|
response: TornItemsResponse;
|
|
8038
8194
|
params: "cat" | "sort" | "timestamp";
|
|
@@ -8069,6 +8225,10 @@ export interface TornV2 extends BaseSchema {
|
|
|
8069
8225
|
response: TornProperties;
|
|
8070
8226
|
params: "timestamp";
|
|
8071
8227
|
};
|
|
8228
|
+
rockpaperscissors: {
|
|
8229
|
+
response: TornRockPaperScissorsResponse;
|
|
8230
|
+
params: "timestamp";
|
|
8231
|
+
};
|
|
8072
8232
|
searchforcash: {
|
|
8073
8233
|
response: TornSearchForCashResponse;
|
|
8074
8234
|
params: "timestamp";
|
|
@@ -8077,6 +8237,10 @@ export interface TornV2 extends BaseSchema {
|
|
|
8077
8237
|
response: TornShopliftingResponse;
|
|
8078
8238
|
params: "timestamp";
|
|
8079
8239
|
};
|
|
8240
|
+
stats: {
|
|
8241
|
+
response: TornCityStatsResponse;
|
|
8242
|
+
params: "timestamp";
|
|
8243
|
+
};
|
|
8080
8244
|
stocks: {
|
|
8081
8245
|
response: TornStocksResponse;
|
|
8082
8246
|
params: "timestamp";
|
package/dist/index.ts
CHANGED
|
@@ -9,6 +9,25 @@
|
|
|
9
9
|
|
|
10
10
|
export type RaceClassEnum = "A" | "B" | "C" | "D" | "E";
|
|
11
11
|
|
|
12
|
+
export type TornItemStatTitleEnum =
|
|
13
|
+
| "Damage"
|
|
14
|
+
| "Rounds fired"
|
|
15
|
+
| "Hits"
|
|
16
|
+
| "Misses"
|
|
17
|
+
| "Damage taken"
|
|
18
|
+
| "Reloads"
|
|
19
|
+
| "Highest damage"
|
|
20
|
+
| "Hits received"
|
|
21
|
+
| "Most damage taken"
|
|
22
|
+
| "Damage mitigated"
|
|
23
|
+
| "Most damage mitigated"
|
|
24
|
+
| "Finishing hits"
|
|
25
|
+
| "Critical hits"
|
|
26
|
+
| "First owner"
|
|
27
|
+
| "First faction owner"
|
|
28
|
+
| "Time created"
|
|
29
|
+
| "Respect earned";
|
|
30
|
+
|
|
12
31
|
export type FactionArmoryCategoryEnum =
|
|
13
32
|
| "weapons"
|
|
14
33
|
| "armor"
|
|
@@ -4739,6 +4758,8 @@ export type RaceCarUpgradeId = number;
|
|
|
4739
4758
|
|
|
4740
4759
|
export type ItemId = number;
|
|
4741
4760
|
|
|
4761
|
+
export type ItemStatId = number;
|
|
4762
|
+
|
|
4742
4763
|
export type AuctionListingId = number;
|
|
4743
4764
|
|
|
4744
4765
|
export type ItemModId = number;
|
|
@@ -5165,7 +5186,7 @@ export interface Attack {
|
|
|
5165
5186
|
result: FactionAttackResult;
|
|
5166
5187
|
respect_gain: number;
|
|
5167
5188
|
respect_loss: number;
|
|
5168
|
-
chain: number;
|
|
5189
|
+
chain: number | null;
|
|
5169
5190
|
/** This is an experimental flag which should help determine 'assist' attacks which have not contributed to the chain. For example, attacks such as where the opponent lost to someoene else before the attacker could finish the attack. This flag might not work entirely correctly, so use with caution. */
|
|
5170
5191
|
is_interrupted: boolean;
|
|
5171
5192
|
is_stealthed: boolean;
|
|
@@ -5547,6 +5568,11 @@ export interface ErrorFileDoesNotExist {
|
|
|
5547
5568
|
error: string;
|
|
5548
5569
|
}
|
|
5549
5570
|
|
|
5571
|
+
export interface ErrorCityStatsCronFailed {
|
|
5572
|
+
code: 31;
|
|
5573
|
+
error: string;
|
|
5574
|
+
}
|
|
5575
|
+
|
|
5550
5576
|
export type ApiError =
|
|
5551
5577
|
| ErrorUnknown
|
|
5552
5578
|
| ErrorKeyEmpty
|
|
@@ -5578,7 +5604,8 @@ export type ApiError =
|
|
|
5578
5604
|
| ErrorMustMigrateToOrganizedCrimesV2
|
|
5579
5605
|
| ErrorIncorrectLogId
|
|
5580
5606
|
| ErrorCategorySelectionUnavailableForInteractionLogs
|
|
5581
|
-
| ErrorFileDoesNotExist
|
|
5607
|
+
| ErrorFileDoesNotExist
|
|
5608
|
+
| ErrorCityStatsCronFailed;
|
|
5582
5609
|
|
|
5583
5610
|
export interface UserGymResponse {
|
|
5584
5611
|
gym: {
|
|
@@ -7690,6 +7717,7 @@ export interface FactionInventoryItem {
|
|
|
7690
7717
|
name: string;
|
|
7691
7718
|
type: MarketSpecializedBazaarCategoryEnum;
|
|
7692
7719
|
amount: number;
|
|
7720
|
+
/** Returns up to 250 uids. */
|
|
7693
7721
|
uids: ItemUid[];
|
|
7694
7722
|
loaned: {
|
|
7695
7723
|
id: UserId;
|
|
@@ -9229,6 +9257,156 @@ export interface PropertyLookupResponse {
|
|
|
9229
9257
|
selections: PropertySelectionName[];
|
|
9230
9258
|
}
|
|
9231
9259
|
|
|
9260
|
+
export interface TornItemStat {
|
|
9261
|
+
id: ItemStatId;
|
|
9262
|
+
title: string;
|
|
9263
|
+
value: number;
|
|
9264
|
+
}
|
|
9265
|
+
|
|
9266
|
+
export interface TornItemStats {
|
|
9267
|
+
id: ItemId;
|
|
9268
|
+
uid: ItemUid;
|
|
9269
|
+
name: TornItemStatTitleEnum;
|
|
9270
|
+
type: TornItemTypeEnum;
|
|
9271
|
+
sub_type: TornItemWeaponTypeEnum | null;
|
|
9272
|
+
stats: TornItemStat[];
|
|
9273
|
+
}
|
|
9274
|
+
|
|
9275
|
+
export interface TornItemStatsResponse {
|
|
9276
|
+
itemdetails: TornItemStats[];
|
|
9277
|
+
}
|
|
9278
|
+
|
|
9279
|
+
export interface TornRockPaperScissorsResponse {
|
|
9280
|
+
rockpaperscissors: {
|
|
9281
|
+
type: "rock" | "paper" | "scissors";
|
|
9282
|
+
count: number;
|
|
9283
|
+
}[];
|
|
9284
|
+
}
|
|
9285
|
+
|
|
9286
|
+
export interface TornCityStatsResponse {
|
|
9287
|
+
stats: {
|
|
9288
|
+
users: {
|
|
9289
|
+
total: number;
|
|
9290
|
+
male: number;
|
|
9291
|
+
female: number;
|
|
9292
|
+
enby: number;
|
|
9293
|
+
married: number;
|
|
9294
|
+
};
|
|
9295
|
+
items: {
|
|
9296
|
+
found_in_city: number;
|
|
9297
|
+
found_in_dump: number;
|
|
9298
|
+
trashed: number;
|
|
9299
|
+
total: number;
|
|
9300
|
+
};
|
|
9301
|
+
trading: {
|
|
9302
|
+
sold_on_market: number;
|
|
9303
|
+
sold_in_bazaar: number;
|
|
9304
|
+
sold_points: number;
|
|
9305
|
+
bazaar_profit: number;
|
|
9306
|
+
auctions: number;
|
|
9307
|
+
trades: number;
|
|
9308
|
+
items_sent: number;
|
|
9309
|
+
};
|
|
9310
|
+
currency: {
|
|
9311
|
+
money_on_hand: number;
|
|
9312
|
+
money_on_hand_average: number;
|
|
9313
|
+
money_in_bank: number;
|
|
9314
|
+
points_total: number;
|
|
9315
|
+
points_players: number;
|
|
9316
|
+
points_factions: number;
|
|
9317
|
+
points_market: number;
|
|
9318
|
+
points_used: number;
|
|
9319
|
+
};
|
|
9320
|
+
attacking: {
|
|
9321
|
+
attacks_won: number;
|
|
9322
|
+
attacks_lost: number;
|
|
9323
|
+
attacks_stalemated: number;
|
|
9324
|
+
attacks_stealthed: number;
|
|
9325
|
+
escapes: number;
|
|
9326
|
+
hits: number;
|
|
9327
|
+
misses: number;
|
|
9328
|
+
critical_hits: number;
|
|
9329
|
+
rounds_fired: number;
|
|
9330
|
+
money_mugged: number;
|
|
9331
|
+
respect_gained: number;
|
|
9332
|
+
};
|
|
9333
|
+
jobs: {
|
|
9334
|
+
army: number;
|
|
9335
|
+
grocer: number;
|
|
9336
|
+
casino: number;
|
|
9337
|
+
education: number;
|
|
9338
|
+
medical: number;
|
|
9339
|
+
law: number;
|
|
9340
|
+
company: number;
|
|
9341
|
+
unemployed: number;
|
|
9342
|
+
};
|
|
9343
|
+
jail: {
|
|
9344
|
+
jailings: number;
|
|
9345
|
+
busts: number;
|
|
9346
|
+
busts_failed: number;
|
|
9347
|
+
bails: number;
|
|
9348
|
+
bails_spent: number;
|
|
9349
|
+
};
|
|
9350
|
+
hospital: {
|
|
9351
|
+
trips: number;
|
|
9352
|
+
medical_items_used: number;
|
|
9353
|
+
revives: number;
|
|
9354
|
+
};
|
|
9355
|
+
drugs: {
|
|
9356
|
+
total_used: number;
|
|
9357
|
+
overdoses: number;
|
|
9358
|
+
cannabis: number;
|
|
9359
|
+
ecstasy: number;
|
|
9360
|
+
ketamine: number;
|
|
9361
|
+
lsd: number;
|
|
9362
|
+
opium: number;
|
|
9363
|
+
shrooms: number;
|
|
9364
|
+
speed: number;
|
|
9365
|
+
pcp: number;
|
|
9366
|
+
xanax: number;
|
|
9367
|
+
vicodin: number;
|
|
9368
|
+
};
|
|
9369
|
+
traveling: {
|
|
9370
|
+
items_bought_abroad: number;
|
|
9371
|
+
total_trips: number;
|
|
9372
|
+
argentina: number;
|
|
9373
|
+
mexico: number;
|
|
9374
|
+
united_arab_emirates: number;
|
|
9375
|
+
hawaii: number;
|
|
9376
|
+
japan: number;
|
|
9377
|
+
united_kingdom: number;
|
|
9378
|
+
south_africa: number;
|
|
9379
|
+
switzerland: number;
|
|
9380
|
+
china: number;
|
|
9381
|
+
cayman_islands: number;
|
|
9382
|
+
};
|
|
9383
|
+
bounties: {
|
|
9384
|
+
placed: number;
|
|
9385
|
+
money_spent: number;
|
|
9386
|
+
};
|
|
9387
|
+
crimes: {
|
|
9388
|
+
total: number;
|
|
9389
|
+
jail_sentences: number;
|
|
9390
|
+
};
|
|
9391
|
+
communication: {
|
|
9392
|
+
total_messages: number;
|
|
9393
|
+
friends: number;
|
|
9394
|
+
coworkers: number;
|
|
9395
|
+
spouses: number;
|
|
9396
|
+
classified_ads_placed: number;
|
|
9397
|
+
personals_placed: number;
|
|
9398
|
+
};
|
|
9399
|
+
other: {
|
|
9400
|
+
logins: number;
|
|
9401
|
+
years_played: number;
|
|
9402
|
+
merits_bought: number;
|
|
9403
|
+
energy_refills: number;
|
|
9404
|
+
company_trains: number;
|
|
9405
|
+
stat_enhancers_used: number;
|
|
9406
|
+
};
|
|
9407
|
+
};
|
|
9408
|
+
}
|
|
9409
|
+
|
|
9232
9410
|
export interface TornPokerTable {
|
|
9233
9411
|
id: PokerTableId;
|
|
9234
9412
|
name: string;
|
|
@@ -9952,7 +10130,7 @@ export interface TornFactionTreeResponse {
|
|
|
9952
10130
|
}
|
|
9953
10131
|
|
|
9954
10132
|
/**
|
|
9955
|
-
* The following selections will fallback to API v1 and may change at any time:'competition','
|
|
10133
|
+
* The following selections will fallback to API v1 and may change at any time:'competition','organisedcrimes'.
|
|
9956
10134
|
* * The following selections are not available in API v2: 'dirtybombs','raidreport','raids', 'chainreport', 'rackets', 'rankedwarreport', 'rankedwars', 'territorynames', 'territorywarreport', 'territorywars', 'pawnshop'.
|
|
9957
10135
|
*/
|
|
9958
10136
|
export type TornSelectionName = string;
|
|
@@ -14075,6 +14253,10 @@ export interface TornV2 extends BaseSchema {
|
|
|
14075
14253
|
response: TornItemModsResponse;
|
|
14076
14254
|
params: "timestamp";
|
|
14077
14255
|
};
|
|
14256
|
+
itemstats: {
|
|
14257
|
+
response: TornItemStatsResponse;
|
|
14258
|
+
params: "ids" | "timestamp";
|
|
14259
|
+
};
|
|
14078
14260
|
items: {
|
|
14079
14261
|
response: TornItemsResponse;
|
|
14080
14262
|
params: "cat" | "sort" | "timestamp";
|
|
@@ -14111,6 +14293,10 @@ export interface TornV2 extends BaseSchema {
|
|
|
14111
14293
|
response: TornProperties;
|
|
14112
14294
|
params: "timestamp";
|
|
14113
14295
|
};
|
|
14296
|
+
rockpaperscissors: {
|
|
14297
|
+
response: TornRockPaperScissorsResponse;
|
|
14298
|
+
params: "timestamp";
|
|
14299
|
+
};
|
|
14114
14300
|
searchforcash: {
|
|
14115
14301
|
response: TornSearchForCashResponse;
|
|
14116
14302
|
params: "timestamp";
|
|
@@ -14119,6 +14305,10 @@ export interface TornV2 extends BaseSchema {
|
|
|
14119
14305
|
response: TornShopliftingResponse;
|
|
14120
14306
|
params: "timestamp";
|
|
14121
14307
|
};
|
|
14308
|
+
stats: {
|
|
14309
|
+
response: TornCityStatsResponse;
|
|
14310
|
+
params: "timestamp";
|
|
14311
|
+
};
|
|
14122
14312
|
stocks: {
|
|
14123
14313
|
response: TornStocksResponse;
|
|
14124
14314
|
params: "timestamp";
|