tornapi-typescript 6.12.0 → 6.13.0
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 +166 -3
- package/dist/index.ts +192 -3
- package/dist/openapi.json +895 -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;
|
|
@@ -3429,6 +3435,151 @@ export type PropertySelectionName = string;
|
|
|
3429
3435
|
export interface PropertyLookupResponse {
|
|
3430
3436
|
selections: PropertySelectionName[];
|
|
3431
3437
|
}
|
|
3438
|
+
export interface TornItemStat {
|
|
3439
|
+
id: ItemStatId;
|
|
3440
|
+
title: string;
|
|
3441
|
+
value: number;
|
|
3442
|
+
}
|
|
3443
|
+
export interface TornItemStats {
|
|
3444
|
+
id: ItemId;
|
|
3445
|
+
uid: ItemUid;
|
|
3446
|
+
name: TornItemStatTitleEnum;
|
|
3447
|
+
type: TornItemTypeEnum;
|
|
3448
|
+
sub_type: TornItemWeaponTypeEnum | null;
|
|
3449
|
+
stats: TornItemStat[];
|
|
3450
|
+
}
|
|
3451
|
+
export interface TornItemStatsResponse {
|
|
3452
|
+
itemdetails: TornItemStats[];
|
|
3453
|
+
}
|
|
3454
|
+
export interface TornRockPaperScissorsResponse {
|
|
3455
|
+
rockpaperscissors: {
|
|
3456
|
+
type: "rock" | "paper" | "scissors";
|
|
3457
|
+
count: number;
|
|
3458
|
+
}[];
|
|
3459
|
+
}
|
|
3460
|
+
export interface TornCityStatsResponse {
|
|
3461
|
+
stats: {
|
|
3462
|
+
users: {
|
|
3463
|
+
total: number;
|
|
3464
|
+
male: number;
|
|
3465
|
+
female: number;
|
|
3466
|
+
enby: number;
|
|
3467
|
+
married: number;
|
|
3468
|
+
};
|
|
3469
|
+
items: {
|
|
3470
|
+
found_in_city: number;
|
|
3471
|
+
found_in_dump: number;
|
|
3472
|
+
trashed: number;
|
|
3473
|
+
total: number;
|
|
3474
|
+
};
|
|
3475
|
+
trading: {
|
|
3476
|
+
sold_on_market: number;
|
|
3477
|
+
sold_in_bazaar: number;
|
|
3478
|
+
sold_points: number;
|
|
3479
|
+
bazaar_profit: number;
|
|
3480
|
+
auctions: number;
|
|
3481
|
+
trades: number;
|
|
3482
|
+
items_sent: number;
|
|
3483
|
+
};
|
|
3484
|
+
currency: {
|
|
3485
|
+
money_on_hand: number;
|
|
3486
|
+
money_on_hand_average: number;
|
|
3487
|
+
money_in_bank: number;
|
|
3488
|
+
points_total: number;
|
|
3489
|
+
points_players: number;
|
|
3490
|
+
points_factions: number;
|
|
3491
|
+
points_market: number;
|
|
3492
|
+
points_used: number;
|
|
3493
|
+
};
|
|
3494
|
+
attacking: {
|
|
3495
|
+
attacks_won: number;
|
|
3496
|
+
attacks_lost: number;
|
|
3497
|
+
attacks_stalemated: number;
|
|
3498
|
+
attacks_stealthed: number;
|
|
3499
|
+
escapes: number;
|
|
3500
|
+
hits: number;
|
|
3501
|
+
misses: number;
|
|
3502
|
+
critical_hits: number;
|
|
3503
|
+
rounds_fired: number;
|
|
3504
|
+
money_mugged: number;
|
|
3505
|
+
respect_gained: number;
|
|
3506
|
+
};
|
|
3507
|
+
jobs: {
|
|
3508
|
+
army: number;
|
|
3509
|
+
grocer: number;
|
|
3510
|
+
casino: number;
|
|
3511
|
+
education: number;
|
|
3512
|
+
medical: number;
|
|
3513
|
+
law: number;
|
|
3514
|
+
company: number;
|
|
3515
|
+
unemployed: number;
|
|
3516
|
+
};
|
|
3517
|
+
jail: {
|
|
3518
|
+
jailings: number;
|
|
3519
|
+
busts: number;
|
|
3520
|
+
busts_failed: number;
|
|
3521
|
+
bails: number;
|
|
3522
|
+
bails_spent: number;
|
|
3523
|
+
};
|
|
3524
|
+
hospital: {
|
|
3525
|
+
trips: number;
|
|
3526
|
+
medical_items_used: number;
|
|
3527
|
+
revives: number;
|
|
3528
|
+
};
|
|
3529
|
+
drugs: {
|
|
3530
|
+
total_used: number;
|
|
3531
|
+
overdoses: number;
|
|
3532
|
+
cannabis: number;
|
|
3533
|
+
ecstasy: number;
|
|
3534
|
+
ketamine: number;
|
|
3535
|
+
lsd: number;
|
|
3536
|
+
opium: number;
|
|
3537
|
+
shrooms: number;
|
|
3538
|
+
speed: number;
|
|
3539
|
+
pcp: number;
|
|
3540
|
+
xanax: number;
|
|
3541
|
+
vicodin: number;
|
|
3542
|
+
};
|
|
3543
|
+
traveling: {
|
|
3544
|
+
items_bought_abroad: number;
|
|
3545
|
+
total_trips: number;
|
|
3546
|
+
argentina: number;
|
|
3547
|
+
mexico: number;
|
|
3548
|
+
united_arab_emirates: number;
|
|
3549
|
+
hawaii: number;
|
|
3550
|
+
japan: number;
|
|
3551
|
+
united_kingdom: number;
|
|
3552
|
+
south_africa: number;
|
|
3553
|
+
switzerland: number;
|
|
3554
|
+
china: number;
|
|
3555
|
+
cayman_islands: number;
|
|
3556
|
+
};
|
|
3557
|
+
bounties: {
|
|
3558
|
+
placed: number;
|
|
3559
|
+
money_spent: number;
|
|
3560
|
+
};
|
|
3561
|
+
crimes: {
|
|
3562
|
+
total: number;
|
|
3563
|
+
jail_sentences: number;
|
|
3564
|
+
};
|
|
3565
|
+
communication: {
|
|
3566
|
+
total_messages: number;
|
|
3567
|
+
friends: number;
|
|
3568
|
+
coworkers: number;
|
|
3569
|
+
spouses: number;
|
|
3570
|
+
classified_ads_placed: number;
|
|
3571
|
+
personals_placed: number;
|
|
3572
|
+
};
|
|
3573
|
+
other: {
|
|
3574
|
+
logins: number;
|
|
3575
|
+
years_played: number;
|
|
3576
|
+
merits_bought: number;
|
|
3577
|
+
energy_refills: number;
|
|
3578
|
+
company_trains: number;
|
|
3579
|
+
stat_enhancers_used: number;
|
|
3580
|
+
};
|
|
3581
|
+
};
|
|
3582
|
+
}
|
|
3432
3583
|
export interface TornPokerTable {
|
|
3433
3584
|
id: PokerTableId;
|
|
3434
3585
|
name: string;
|
|
@@ -4053,7 +4204,7 @@ export interface TornFactionTreeResponse {
|
|
|
4053
4204
|
factionTree: TornFactionTree[];
|
|
4054
4205
|
}
|
|
4055
4206
|
/**
|
|
4056
|
-
* The following selections will fallback to API v1 and may change at any time:'competition','
|
|
4207
|
+
* The following selections will fallback to API v1 and may change at any time:'competition','organisedcrimes'.
|
|
4057
4208
|
* * The following selections are not available in API v2: 'dirtybombs','raidreport','raids', 'chainreport', 'rackets', 'rankedwarreport', 'rankedwars', 'territorynames', 'territorywarreport', 'territorywars', 'pawnshop'.
|
|
4058
4209
|
*/
|
|
4059
4210
|
export type TornSelectionName = string;
|
|
@@ -8033,6 +8184,10 @@ export interface TornV2 extends BaseSchema {
|
|
|
8033
8184
|
response: TornItemModsResponse;
|
|
8034
8185
|
params: "timestamp";
|
|
8035
8186
|
};
|
|
8187
|
+
itemstats: {
|
|
8188
|
+
response: TornItemStatsResponse;
|
|
8189
|
+
params: "ids" | "timestamp";
|
|
8190
|
+
};
|
|
8036
8191
|
items: {
|
|
8037
8192
|
response: TornItemsResponse;
|
|
8038
8193
|
params: "cat" | "sort" | "timestamp";
|
|
@@ -8069,6 +8224,10 @@ export interface TornV2 extends BaseSchema {
|
|
|
8069
8224
|
response: TornProperties;
|
|
8070
8225
|
params: "timestamp";
|
|
8071
8226
|
};
|
|
8227
|
+
rockpaperscissors: {
|
|
8228
|
+
response: TornRockPaperScissorsResponse;
|
|
8229
|
+
params: "timestamp";
|
|
8230
|
+
};
|
|
8072
8231
|
searchforcash: {
|
|
8073
8232
|
response: TornSearchForCashResponse;
|
|
8074
8233
|
params: "timestamp";
|
|
@@ -8077,6 +8236,10 @@ export interface TornV2 extends BaseSchema {
|
|
|
8077
8236
|
response: TornShopliftingResponse;
|
|
8078
8237
|
params: "timestamp";
|
|
8079
8238
|
};
|
|
8239
|
+
stats: {
|
|
8240
|
+
response: TornCityStatsResponse;
|
|
8241
|
+
params: "timestamp";
|
|
8242
|
+
};
|
|
8080
8243
|
stocks: {
|
|
8081
8244
|
response: TornStocksResponse;
|
|
8082
8245
|
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: {
|
|
@@ -9229,6 +9256,156 @@ export interface PropertyLookupResponse {
|
|
|
9229
9256
|
selections: PropertySelectionName[];
|
|
9230
9257
|
}
|
|
9231
9258
|
|
|
9259
|
+
export interface TornItemStat {
|
|
9260
|
+
id: ItemStatId;
|
|
9261
|
+
title: string;
|
|
9262
|
+
value: number;
|
|
9263
|
+
}
|
|
9264
|
+
|
|
9265
|
+
export interface TornItemStats {
|
|
9266
|
+
id: ItemId;
|
|
9267
|
+
uid: ItemUid;
|
|
9268
|
+
name: TornItemStatTitleEnum;
|
|
9269
|
+
type: TornItemTypeEnum;
|
|
9270
|
+
sub_type: TornItemWeaponTypeEnum | null;
|
|
9271
|
+
stats: TornItemStat[];
|
|
9272
|
+
}
|
|
9273
|
+
|
|
9274
|
+
export interface TornItemStatsResponse {
|
|
9275
|
+
itemdetails: TornItemStats[];
|
|
9276
|
+
}
|
|
9277
|
+
|
|
9278
|
+
export interface TornRockPaperScissorsResponse {
|
|
9279
|
+
rockpaperscissors: {
|
|
9280
|
+
type: "rock" | "paper" | "scissors";
|
|
9281
|
+
count: number;
|
|
9282
|
+
}[];
|
|
9283
|
+
}
|
|
9284
|
+
|
|
9285
|
+
export interface TornCityStatsResponse {
|
|
9286
|
+
stats: {
|
|
9287
|
+
users: {
|
|
9288
|
+
total: number;
|
|
9289
|
+
male: number;
|
|
9290
|
+
female: number;
|
|
9291
|
+
enby: number;
|
|
9292
|
+
married: number;
|
|
9293
|
+
};
|
|
9294
|
+
items: {
|
|
9295
|
+
found_in_city: number;
|
|
9296
|
+
found_in_dump: number;
|
|
9297
|
+
trashed: number;
|
|
9298
|
+
total: number;
|
|
9299
|
+
};
|
|
9300
|
+
trading: {
|
|
9301
|
+
sold_on_market: number;
|
|
9302
|
+
sold_in_bazaar: number;
|
|
9303
|
+
sold_points: number;
|
|
9304
|
+
bazaar_profit: number;
|
|
9305
|
+
auctions: number;
|
|
9306
|
+
trades: number;
|
|
9307
|
+
items_sent: number;
|
|
9308
|
+
};
|
|
9309
|
+
currency: {
|
|
9310
|
+
money_on_hand: number;
|
|
9311
|
+
money_on_hand_average: number;
|
|
9312
|
+
money_in_bank: number;
|
|
9313
|
+
points_total: number;
|
|
9314
|
+
points_players: number;
|
|
9315
|
+
points_factions: number;
|
|
9316
|
+
points_market: number;
|
|
9317
|
+
points_used: number;
|
|
9318
|
+
};
|
|
9319
|
+
attacking: {
|
|
9320
|
+
attacks_won: number;
|
|
9321
|
+
attacks_lost: number;
|
|
9322
|
+
attacks_stalemated: number;
|
|
9323
|
+
attacks_stealthed: number;
|
|
9324
|
+
escapes: number;
|
|
9325
|
+
hits: number;
|
|
9326
|
+
misses: number;
|
|
9327
|
+
critical_hits: number;
|
|
9328
|
+
rounds_fired: number;
|
|
9329
|
+
money_mugged: number;
|
|
9330
|
+
respect_gained: number;
|
|
9331
|
+
};
|
|
9332
|
+
jobs: {
|
|
9333
|
+
army: number;
|
|
9334
|
+
grocer: number;
|
|
9335
|
+
casino: number;
|
|
9336
|
+
education: number;
|
|
9337
|
+
medical: number;
|
|
9338
|
+
law: number;
|
|
9339
|
+
company: number;
|
|
9340
|
+
unemployed: number;
|
|
9341
|
+
};
|
|
9342
|
+
jail: {
|
|
9343
|
+
jailings: number;
|
|
9344
|
+
busts: number;
|
|
9345
|
+
busts_failed: number;
|
|
9346
|
+
bails: number;
|
|
9347
|
+
bails_spent: number;
|
|
9348
|
+
};
|
|
9349
|
+
hospital: {
|
|
9350
|
+
trips: number;
|
|
9351
|
+
medical_items_used: number;
|
|
9352
|
+
revives: number;
|
|
9353
|
+
};
|
|
9354
|
+
drugs: {
|
|
9355
|
+
total_used: number;
|
|
9356
|
+
overdoses: number;
|
|
9357
|
+
cannabis: number;
|
|
9358
|
+
ecstasy: number;
|
|
9359
|
+
ketamine: number;
|
|
9360
|
+
lsd: number;
|
|
9361
|
+
opium: number;
|
|
9362
|
+
shrooms: number;
|
|
9363
|
+
speed: number;
|
|
9364
|
+
pcp: number;
|
|
9365
|
+
xanax: number;
|
|
9366
|
+
vicodin: number;
|
|
9367
|
+
};
|
|
9368
|
+
traveling: {
|
|
9369
|
+
items_bought_abroad: number;
|
|
9370
|
+
total_trips: number;
|
|
9371
|
+
argentina: number;
|
|
9372
|
+
mexico: number;
|
|
9373
|
+
united_arab_emirates: number;
|
|
9374
|
+
hawaii: number;
|
|
9375
|
+
japan: number;
|
|
9376
|
+
united_kingdom: number;
|
|
9377
|
+
south_africa: number;
|
|
9378
|
+
switzerland: number;
|
|
9379
|
+
china: number;
|
|
9380
|
+
cayman_islands: number;
|
|
9381
|
+
};
|
|
9382
|
+
bounties: {
|
|
9383
|
+
placed: number;
|
|
9384
|
+
money_spent: number;
|
|
9385
|
+
};
|
|
9386
|
+
crimes: {
|
|
9387
|
+
total: number;
|
|
9388
|
+
jail_sentences: number;
|
|
9389
|
+
};
|
|
9390
|
+
communication: {
|
|
9391
|
+
total_messages: number;
|
|
9392
|
+
friends: number;
|
|
9393
|
+
coworkers: number;
|
|
9394
|
+
spouses: number;
|
|
9395
|
+
classified_ads_placed: number;
|
|
9396
|
+
personals_placed: number;
|
|
9397
|
+
};
|
|
9398
|
+
other: {
|
|
9399
|
+
logins: number;
|
|
9400
|
+
years_played: number;
|
|
9401
|
+
merits_bought: number;
|
|
9402
|
+
energy_refills: number;
|
|
9403
|
+
company_trains: number;
|
|
9404
|
+
stat_enhancers_used: number;
|
|
9405
|
+
};
|
|
9406
|
+
};
|
|
9407
|
+
}
|
|
9408
|
+
|
|
9232
9409
|
export interface TornPokerTable {
|
|
9233
9410
|
id: PokerTableId;
|
|
9234
9411
|
name: string;
|
|
@@ -9952,7 +10129,7 @@ export interface TornFactionTreeResponse {
|
|
|
9952
10129
|
}
|
|
9953
10130
|
|
|
9954
10131
|
/**
|
|
9955
|
-
* The following selections will fallback to API v1 and may change at any time:'competition','
|
|
10132
|
+
* The following selections will fallback to API v1 and may change at any time:'competition','organisedcrimes'.
|
|
9956
10133
|
* * The following selections are not available in API v2: 'dirtybombs','raidreport','raids', 'chainreport', 'rackets', 'rankedwarreport', 'rankedwars', 'territorynames', 'territorywarreport', 'territorywars', 'pawnshop'.
|
|
9957
10134
|
*/
|
|
9958
10135
|
export type TornSelectionName = string;
|
|
@@ -14075,6 +14252,10 @@ export interface TornV2 extends BaseSchema {
|
|
|
14075
14252
|
response: TornItemModsResponse;
|
|
14076
14253
|
params: "timestamp";
|
|
14077
14254
|
};
|
|
14255
|
+
itemstats: {
|
|
14256
|
+
response: TornItemStatsResponse;
|
|
14257
|
+
params: "ids" | "timestamp";
|
|
14258
|
+
};
|
|
14078
14259
|
items: {
|
|
14079
14260
|
response: TornItemsResponse;
|
|
14080
14261
|
params: "cat" | "sort" | "timestamp";
|
|
@@ -14111,6 +14292,10 @@ export interface TornV2 extends BaseSchema {
|
|
|
14111
14292
|
response: TornProperties;
|
|
14112
14293
|
params: "timestamp";
|
|
14113
14294
|
};
|
|
14295
|
+
rockpaperscissors: {
|
|
14296
|
+
response: TornRockPaperScissorsResponse;
|
|
14297
|
+
params: "timestamp";
|
|
14298
|
+
};
|
|
14114
14299
|
searchforcash: {
|
|
14115
14300
|
response: TornSearchForCashResponse;
|
|
14116
14301
|
params: "timestamp";
|
|
@@ -14119,6 +14304,10 @@ export interface TornV2 extends BaseSchema {
|
|
|
14119
14304
|
response: TornShopliftingResponse;
|
|
14120
14305
|
params: "timestamp";
|
|
14121
14306
|
};
|
|
14307
|
+
stats: {
|
|
14308
|
+
response: TornCityStatsResponse;
|
|
14309
|
+
params: "timestamp";
|
|
14310
|
+
};
|
|
14122
14311
|
stocks: {
|
|
14123
14312
|
response: TornStocksResponse;
|
|
14124
14313
|
params: "timestamp";
|