tornapi-typescript 6.0.1 → 6.0.3
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 +16 -14
- package/dist/index.ts +17 -14
- package/dist/openapi.json +50 -32
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -626,7 +626,6 @@ export interface UserStocksResponse {
|
|
|
626
626
|
}
|
|
627
627
|
export interface UserOrganizedCrimesResponse {
|
|
628
628
|
organizedcrimes: FactionCrime[];
|
|
629
|
-
_metadata: RequestMetadataWithLinks;
|
|
630
629
|
}
|
|
631
630
|
export type UserEquipment = TornItemDetails & {
|
|
632
631
|
slot: number;
|
|
@@ -702,7 +701,7 @@ export interface UserMissionsResponse {
|
|
|
702
701
|
}[];
|
|
703
702
|
}[];
|
|
704
703
|
rewards: {
|
|
705
|
-
type: MissionRewardUpgrade;
|
|
704
|
+
type: MissionRewardUpgrade | string;
|
|
706
705
|
details: MissionRewardDetailsAmmo | MissionRewardDetailsUpgrade | MissionRewardDetailsItem;
|
|
707
706
|
amount: number;
|
|
708
707
|
cost: number;
|
|
@@ -798,7 +797,7 @@ export interface UserMessage {
|
|
|
798
797
|
export interface UserIconPublic {
|
|
799
798
|
id: UserIconId;
|
|
800
799
|
title: string;
|
|
801
|
-
description: string;
|
|
800
|
+
description: string | null;
|
|
802
801
|
}
|
|
803
802
|
export interface UserIconPrivate extends UserIconPublic {
|
|
804
803
|
until: number | null;
|
|
@@ -1046,7 +1045,7 @@ export interface UserPropertyBasicDetails {
|
|
|
1046
1045
|
}
|
|
1047
1046
|
export interface UserPropertyDetailsExtended extends UserPropertyBasicDetails {
|
|
1048
1047
|
used_by: BasicUser[];
|
|
1049
|
-
status: "none" | "in_use";
|
|
1048
|
+
status: "none" | "in_use" | "for_sale" | "rented" | "for_rent";
|
|
1050
1049
|
}
|
|
1051
1050
|
export interface UserPropertyDetailsExtendedWithRent extends UserPropertyBasicDetails {
|
|
1052
1051
|
used_by: BasicUser[];
|
|
@@ -1257,7 +1256,7 @@ export interface UserRacesResponse {
|
|
|
1257
1256
|
}
|
|
1258
1257
|
export interface UserRaceCarDetails extends RaceCar {
|
|
1259
1258
|
id: RaceCarId;
|
|
1260
|
-
name
|
|
1259
|
+
name?: string | null;
|
|
1261
1260
|
worth: number;
|
|
1262
1261
|
points_spent: number;
|
|
1263
1262
|
races_entered: number;
|
|
@@ -1277,7 +1276,7 @@ export interface UserForumThreadsResponse {
|
|
|
1277
1276
|
_metadata: RequestMetadataWithLinks;
|
|
1278
1277
|
}
|
|
1279
1278
|
export interface UserForumSubscribedThreadsResponse {
|
|
1280
|
-
forumSubscribedThreads
|
|
1279
|
+
forumSubscribedThreads: ForumSubscribedThread[];
|
|
1281
1280
|
}
|
|
1282
1281
|
export interface UserForumFeedResponse {
|
|
1283
1282
|
forumFeed: ForumFeed[];
|
|
@@ -1821,7 +1820,7 @@ export interface PersonalStatsAttackingPublic {
|
|
|
1821
1820
|
elo: number;
|
|
1822
1821
|
unarmored_wins: number;
|
|
1823
1822
|
highest_level_beaten: number;
|
|
1824
|
-
escapes
|
|
1823
|
+
escapes: {
|
|
1825
1824
|
player: number;
|
|
1826
1825
|
foes: number;
|
|
1827
1826
|
};
|
|
@@ -2036,7 +2035,7 @@ export interface FactionRaidReportUser {
|
|
|
2036
2035
|
name: string;
|
|
2037
2036
|
}
|
|
2038
2037
|
export interface FactionRaidWarReportResponse {
|
|
2039
|
-
raidreport: FactionRaidReport
|
|
2038
|
+
raidreport: FactionRaidReport;
|
|
2040
2039
|
}
|
|
2041
2040
|
export interface FactionWarfareDirtyBomb {
|
|
2042
2041
|
id: DirtyBombId;
|
|
@@ -2173,7 +2172,7 @@ export interface FactionTerritoryWarReport {
|
|
|
2173
2172
|
factions: FactionTerritoryWarReportFaction[];
|
|
2174
2173
|
}
|
|
2175
2174
|
export interface FactionTerritoryWarReportResponse {
|
|
2176
|
-
territorywarreport: FactionTerritoryWarReport
|
|
2175
|
+
territorywarreport: FactionTerritoryWarReport;
|
|
2177
2176
|
}
|
|
2178
2177
|
export interface FactionTerritoryOwnership {
|
|
2179
2178
|
id: string;
|
|
@@ -2228,7 +2227,7 @@ export interface FactionUpgradeDetails {
|
|
|
2228
2227
|
ability: string;
|
|
2229
2228
|
level: number;
|
|
2230
2229
|
cost: number;
|
|
2231
|
-
unlocked_at
|
|
2230
|
+
unlocked_at: number;
|
|
2232
2231
|
}
|
|
2233
2232
|
export interface FactionBranchDetails {
|
|
2234
2233
|
name: string;
|
|
@@ -2532,7 +2531,7 @@ export interface FactionChainReportAttackerAttacks {
|
|
|
2532
2531
|
retaliations: number;
|
|
2533
2532
|
overseas: number;
|
|
2534
2533
|
draws: number;
|
|
2535
|
-
escapes
|
|
2534
|
+
escapes: number;
|
|
2536
2535
|
losses: number;
|
|
2537
2536
|
war: number;
|
|
2538
2537
|
bonuses: number;
|
|
@@ -2730,7 +2729,7 @@ export interface CompanyProfileExtended extends CompanyProfile {
|
|
|
2730
2729
|
export interface CompanyUpgrades {
|
|
2731
2730
|
staff_room: CompanyStaffRoomSizeEnum;
|
|
2732
2731
|
storage: string;
|
|
2733
|
-
storage_capacity:
|
|
2732
|
+
storage_capacity: number;
|
|
2734
2733
|
}
|
|
2735
2734
|
export interface CompanyProfile {
|
|
2736
2735
|
id: CompanyId;
|
|
@@ -3021,6 +3020,9 @@ export interface AuctionHouseListing {
|
|
|
3021
3020
|
bids: number;
|
|
3022
3021
|
item: AuctionHouseStackableItem | TornItemDetails;
|
|
3023
3022
|
}
|
|
3023
|
+
export interface AuctionHouseListingResponse {
|
|
3024
|
+
auctionhouselisting: AuctionHouseListing;
|
|
3025
|
+
}
|
|
3024
3026
|
export interface AuctionHouseResponse {
|
|
3025
3027
|
auctionhouse: AuctionHouseListing[];
|
|
3026
3028
|
_metadata: RequestMetadataWithLinks;
|
|
@@ -3477,7 +3479,7 @@ export interface TornEducationRewards {
|
|
|
3477
3479
|
endurance: number | null;
|
|
3478
3480
|
};
|
|
3479
3481
|
effect: string | null;
|
|
3480
|
-
honor:
|
|
3482
|
+
honor: number | null;
|
|
3481
3483
|
}
|
|
3482
3484
|
export interface TornEducationPrerequisites {
|
|
3483
3485
|
cost: number;
|
|
@@ -7527,7 +7529,7 @@ export interface KeyV2 extends BaseSchema {
|
|
|
7527
7529
|
export interface MarketV2 extends BaseSchema {
|
|
7528
7530
|
selections: {
|
|
7529
7531
|
auctionhouselisting: {
|
|
7530
|
-
response:
|
|
7532
|
+
response: AuctionHouseListingResponse;
|
|
7531
7533
|
params: "id" | "timestamp";
|
|
7532
7534
|
};
|
|
7533
7535
|
auctionhouse: {
|
package/dist/index.ts
CHANGED
|
@@ -5666,7 +5666,6 @@ export interface UserStocksResponse {
|
|
|
5666
5666
|
|
|
5667
5667
|
export interface UserOrganizedCrimesResponse {
|
|
5668
5668
|
organizedcrimes: FactionCrime[];
|
|
5669
|
-
_metadata: RequestMetadataWithLinks;
|
|
5670
5669
|
}
|
|
5671
5670
|
|
|
5672
5671
|
export type UserEquipment = TornItemDetails & {
|
|
@@ -5753,7 +5752,7 @@ export interface UserMissionsResponse {
|
|
|
5753
5752
|
}[];
|
|
5754
5753
|
}[];
|
|
5755
5754
|
rewards: {
|
|
5756
|
-
type: MissionRewardUpgrade;
|
|
5755
|
+
type: MissionRewardUpgrade | string;
|
|
5757
5756
|
details:
|
|
5758
5757
|
| MissionRewardDetailsAmmo
|
|
5759
5758
|
| MissionRewardDetailsUpgrade
|
|
@@ -5868,7 +5867,7 @@ export interface UserMessage {
|
|
|
5868
5867
|
export interface UserIconPublic {
|
|
5869
5868
|
id: UserIconId;
|
|
5870
5869
|
title: string;
|
|
5871
|
-
description: string;
|
|
5870
|
+
description: string | null;
|
|
5872
5871
|
}
|
|
5873
5872
|
|
|
5874
5873
|
export interface UserIconPrivate extends UserIconPublic {
|
|
@@ -6159,7 +6158,7 @@ export interface UserPropertyBasicDetails {
|
|
|
6159
6158
|
|
|
6160
6159
|
export interface UserPropertyDetailsExtended extends UserPropertyBasicDetails {
|
|
6161
6160
|
used_by: BasicUser[];
|
|
6162
|
-
status: "none" | "in_use";
|
|
6161
|
+
status: "none" | "in_use" | "for_sale" | "rented" | "for_rent";
|
|
6163
6162
|
}
|
|
6164
6163
|
|
|
6165
6164
|
export interface UserPropertyDetailsExtendedWithRent extends UserPropertyBasicDetails {
|
|
@@ -6415,7 +6414,7 @@ export interface UserRacesResponse {
|
|
|
6415
6414
|
|
|
6416
6415
|
export interface UserRaceCarDetails extends RaceCar {
|
|
6417
6416
|
id: RaceCarId;
|
|
6418
|
-
name
|
|
6417
|
+
name?: string | null;
|
|
6419
6418
|
worth: number;
|
|
6420
6419
|
points_spent: number;
|
|
6421
6420
|
races_entered: number;
|
|
@@ -6439,7 +6438,7 @@ export interface UserForumThreadsResponse {
|
|
|
6439
6438
|
}
|
|
6440
6439
|
|
|
6441
6440
|
export interface UserForumSubscribedThreadsResponse {
|
|
6442
|
-
forumSubscribedThreads
|
|
6441
|
+
forumSubscribedThreads: ForumSubscribedThread[];
|
|
6443
6442
|
}
|
|
6444
6443
|
|
|
6445
6444
|
export interface UserForumFeedResponse {
|
|
@@ -7039,7 +7038,7 @@ export interface PersonalStatsAttackingPublic {
|
|
|
7039
7038
|
elo: number;
|
|
7040
7039
|
unarmored_wins: number;
|
|
7041
7040
|
highest_level_beaten: number;
|
|
7042
|
-
escapes
|
|
7041
|
+
escapes: {
|
|
7043
7042
|
player: number;
|
|
7044
7043
|
foes: number;
|
|
7045
7044
|
};
|
|
@@ -7574,7 +7573,7 @@ export interface FactionRaidReportUser {
|
|
|
7574
7573
|
}
|
|
7575
7574
|
|
|
7576
7575
|
export interface FactionRaidWarReportResponse {
|
|
7577
|
-
raidreport: FactionRaidReport
|
|
7576
|
+
raidreport: FactionRaidReport;
|
|
7578
7577
|
}
|
|
7579
7578
|
|
|
7580
7579
|
export interface FactionWarfareDirtyBomb {
|
|
@@ -7731,7 +7730,7 @@ export interface FactionTerritoryWarReport {
|
|
|
7731
7730
|
}
|
|
7732
7731
|
|
|
7733
7732
|
export interface FactionTerritoryWarReportResponse {
|
|
7734
|
-
territorywarreport: FactionTerritoryWarReport
|
|
7733
|
+
territorywarreport: FactionTerritoryWarReport;
|
|
7735
7734
|
}
|
|
7736
7735
|
|
|
7737
7736
|
export interface FactionTerritoryOwnership {
|
|
@@ -7796,7 +7795,7 @@ export interface FactionUpgradeDetails {
|
|
|
7796
7795
|
ability: string;
|
|
7797
7796
|
level: number;
|
|
7798
7797
|
cost: number;
|
|
7799
|
-
unlocked_at
|
|
7798
|
+
unlocked_at: number;
|
|
7800
7799
|
}
|
|
7801
7800
|
|
|
7802
7801
|
export interface FactionBranchDetails {
|
|
@@ -8144,7 +8143,7 @@ export interface FactionChainReportAttackerAttacks {
|
|
|
8144
8143
|
retaliations: number;
|
|
8145
8144
|
overseas: number;
|
|
8146
8145
|
draws: number;
|
|
8147
|
-
escapes
|
|
8146
|
+
escapes: number;
|
|
8148
8147
|
losses: number;
|
|
8149
8148
|
war: number;
|
|
8150
8149
|
bonuses: number;
|
|
@@ -8373,7 +8372,7 @@ export interface CompanyProfileExtended extends CompanyProfile {
|
|
|
8373
8372
|
export interface CompanyUpgrades {
|
|
8374
8373
|
staff_room: CompanyStaffRoomSizeEnum;
|
|
8375
8374
|
storage: string;
|
|
8376
|
-
storage_capacity:
|
|
8375
|
+
storage_capacity: number;
|
|
8377
8376
|
}
|
|
8378
8377
|
|
|
8379
8378
|
export interface CompanyProfile {
|
|
@@ -8710,6 +8709,10 @@ export interface AuctionHouseListing {
|
|
|
8710
8709
|
item: AuctionHouseStackableItem | TornItemDetails;
|
|
8711
8710
|
}
|
|
8712
8711
|
|
|
8712
|
+
export interface AuctionHouseListingResponse {
|
|
8713
|
+
auctionhouselisting: AuctionHouseListing;
|
|
8714
|
+
}
|
|
8715
|
+
|
|
8713
8716
|
export interface AuctionHouseResponse {
|
|
8714
8717
|
auctionhouse: AuctionHouseListing[];
|
|
8715
8718
|
_metadata: RequestMetadataWithLinks;
|
|
@@ -9240,7 +9243,7 @@ export interface TornEducationRewards {
|
|
|
9240
9243
|
endurance: number | null;
|
|
9241
9244
|
};
|
|
9242
9245
|
effect: string | null;
|
|
9243
|
-
honor:
|
|
9246
|
+
honor: number | null;
|
|
9244
9247
|
}
|
|
9245
9248
|
|
|
9246
9249
|
export interface TornEducationPrerequisites {
|
|
@@ -13477,7 +13480,7 @@ export interface KeyV2 extends BaseSchema {
|
|
|
13477
13480
|
export interface MarketV2 extends BaseSchema {
|
|
13478
13481
|
selections: {
|
|
13479
13482
|
auctionhouselisting: {
|
|
13480
|
-
response:
|
|
13483
|
+
response: AuctionHouseListingResponse;
|
|
13481
13484
|
params: "id" | "timestamp";
|
|
13482
13485
|
};
|
|
13483
13486
|
auctionhouse: {
|
package/dist/openapi.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "Torn API",
|
|
5
5
|
"description": "\n * The development of Torn's API v2 is still ongoing.\n * If selections remain unaltered, they will default to the API v1 version.\n * Unlike API v1, API v2 accepts both selections and IDs as path and query parameters.\n * If any discrepancies or errors are found, please submit a [bug report](https://www.torn.com/forums.php#/p=forums&f=19&b=0&a=0) on the Torn Forums.\n * In case you're using bots to check for changes on openapi.json file, make sure to specificy a custom user-agent header - CloudFlare sometimes prevents requests from default user-agents.",
|
|
6
|
-
"version": "6.0.
|
|
6
|
+
"version": "6.0.3"
|
|
7
7
|
},
|
|
8
8
|
"servers": [
|
|
9
9
|
{
|
|
@@ -5529,7 +5529,7 @@
|
|
|
5529
5529
|
"$ref": "#/components/parameters/ApiFactionSearchFilter"
|
|
5530
5530
|
},
|
|
5531
5531
|
{
|
|
5532
|
-
"$ref": "#/components/parameters/
|
|
5532
|
+
"$ref": "#/components/parameters/ApiLimit100Default20"
|
|
5533
5533
|
},
|
|
5534
5534
|
{
|
|
5535
5535
|
"$ref": "#/components/parameters/ApiOffset"
|
|
@@ -6797,7 +6797,7 @@
|
|
|
6797
6797
|
"$ref": "#/components/parameters/ApiCompanySearchFilter"
|
|
6798
6798
|
},
|
|
6799
6799
|
{
|
|
6800
|
-
"$ref": "#/components/parameters/
|
|
6800
|
+
"$ref": "#/components/parameters/ApiLimit100Default20"
|
|
6801
6801
|
},
|
|
6802
6802
|
{
|
|
6803
6803
|
"$ref": "#/components/parameters/ApiOffset"
|
|
@@ -7754,7 +7754,7 @@
|
|
|
7754
7754
|
"content": {
|
|
7755
7755
|
"application/json": {
|
|
7756
7756
|
"schema": {
|
|
7757
|
-
"$ref": "#/components/schemas/
|
|
7757
|
+
"$ref": "#/components/schemas/AuctionHouseListingResponse"
|
|
7758
7758
|
}
|
|
7759
7759
|
}
|
|
7760
7760
|
}
|
|
@@ -8356,7 +8356,7 @@
|
|
|
8356
8356
|
"$ref": "#/components/schemas/AuctionHouseResponse"
|
|
8357
8357
|
},
|
|
8358
8358
|
{
|
|
8359
|
-
"$ref": "#/components/schemas/
|
|
8359
|
+
"$ref": "#/components/schemas/AuctionHouseListingResponse"
|
|
8360
8360
|
},
|
|
8361
8361
|
{
|
|
8362
8362
|
"$ref": "#/components/schemas/MarketPropertiesResponse"
|
|
@@ -18585,8 +18585,8 @@
|
|
|
18585
18585
|
"format": "int64"
|
|
18586
18586
|
},
|
|
18587
18587
|
"price": {
|
|
18588
|
-
"type": "
|
|
18589
|
-
"format": "
|
|
18588
|
+
"type": "number",
|
|
18589
|
+
"format": "float"
|
|
18590
18590
|
},
|
|
18591
18591
|
"timestamp": {
|
|
18592
18592
|
"type": "integer",
|
|
@@ -18661,8 +18661,7 @@
|
|
|
18661
18661
|
},
|
|
18662
18662
|
"UserOrganizedCrimesResponse": {
|
|
18663
18663
|
"required": [
|
|
18664
|
-
"organizedcrimes"
|
|
18665
|
-
"_metadata"
|
|
18664
|
+
"organizedcrimes"
|
|
18666
18665
|
],
|
|
18667
18666
|
"properties": {
|
|
18668
18667
|
"organizedcrimes": {
|
|
@@ -18670,9 +18669,6 @@
|
|
|
18670
18669
|
"items": {
|
|
18671
18670
|
"$ref": "#/components/schemas/FactionCrime"
|
|
18672
18671
|
}
|
|
18673
|
-
},
|
|
18674
|
-
"_metadata": {
|
|
18675
|
-
"$ref": "#/components/schemas/RequestMetadataWithLinks"
|
|
18676
18672
|
}
|
|
18677
18673
|
},
|
|
18678
18674
|
"type": "object"
|
|
@@ -19047,7 +19043,14 @@
|
|
|
19047
19043
|
],
|
|
19048
19044
|
"properties": {
|
|
19049
19045
|
"type": {
|
|
19050
|
-
"
|
|
19046
|
+
"oneOf": [
|
|
19047
|
+
{
|
|
19048
|
+
"$ref": "#/components/schemas/MissionRewardUpgrade"
|
|
19049
|
+
},
|
|
19050
|
+
{
|
|
19051
|
+
"type": "string"
|
|
19052
|
+
}
|
|
19053
|
+
]
|
|
19051
19054
|
},
|
|
19052
19055
|
"details": {
|
|
19053
19056
|
"description": "The response depends on the 'type' value.",
|
|
@@ -19488,7 +19491,14 @@
|
|
|
19488
19491
|
"type": "string"
|
|
19489
19492
|
},
|
|
19490
19493
|
"description": {
|
|
19491
|
-
"
|
|
19494
|
+
"oneOf": [
|
|
19495
|
+
{
|
|
19496
|
+
"type": "string"
|
|
19497
|
+
},
|
|
19498
|
+
{
|
|
19499
|
+
"type": "null"
|
|
19500
|
+
}
|
|
19501
|
+
]
|
|
19492
19502
|
}
|
|
19493
19503
|
},
|
|
19494
19504
|
"type": "object"
|
|
@@ -20682,7 +20692,10 @@
|
|
|
20682
20692
|
"type": "string",
|
|
20683
20693
|
"enum": [
|
|
20684
20694
|
"none",
|
|
20685
|
-
"in_use"
|
|
20695
|
+
"in_use",
|
|
20696
|
+
"for_sale",
|
|
20697
|
+
"rented",
|
|
20698
|
+
"for_rent"
|
|
20686
20699
|
]
|
|
20687
20700
|
}
|
|
20688
20701
|
},
|
|
@@ -21748,7 +21761,6 @@
|
|
|
21748
21761
|
{
|
|
21749
21762
|
"required": [
|
|
21750
21763
|
"id",
|
|
21751
|
-
"name",
|
|
21752
21764
|
"worth",
|
|
21753
21765
|
"points_spent",
|
|
21754
21766
|
"races_entered",
|
|
@@ -21852,7 +21864,7 @@
|
|
|
21852
21864
|
},
|
|
21853
21865
|
"UserForumSubscribedThreadsResponse": {
|
|
21854
21866
|
"required": [
|
|
21855
|
-
"
|
|
21867
|
+
"forumSubscribedThreads"
|
|
21856
21868
|
],
|
|
21857
21869
|
"properties": {
|
|
21858
21870
|
"forumSubscribedThreads": {
|
|
@@ -24310,7 +24322,7 @@
|
|
|
24310
24322
|
"elo",
|
|
24311
24323
|
"unarmored_wins",
|
|
24312
24324
|
"highest_level_beaten",
|
|
24313
|
-
"
|
|
24325
|
+
"escapes",
|
|
24314
24326
|
"killstreak",
|
|
24315
24327
|
"hits",
|
|
24316
24328
|
"damage",
|
|
@@ -25769,10 +25781,7 @@
|
|
|
25769
25781
|
],
|
|
25770
25782
|
"properties": {
|
|
25771
25783
|
"raidreport": {
|
|
25772
|
-
"
|
|
25773
|
-
"items": {
|
|
25774
|
-
"$ref": "#/components/schemas/FactionRaidReport"
|
|
25775
|
-
}
|
|
25784
|
+
"$ref": "#/components/schemas/FactionRaidReport"
|
|
25776
25785
|
}
|
|
25777
25786
|
},
|
|
25778
25787
|
"type": "object"
|
|
@@ -26391,10 +26400,7 @@
|
|
|
26391
26400
|
],
|
|
26392
26401
|
"properties": {
|
|
26393
26402
|
"territorywarreport": {
|
|
26394
|
-
"
|
|
26395
|
-
"items": {
|
|
26396
|
-
"$ref": "#/components/schemas/FactionTerritoryWarReport"
|
|
26397
|
-
}
|
|
26403
|
+
"$ref": "#/components/schemas/FactionTerritoryWarReport"
|
|
26398
26404
|
}
|
|
26399
26405
|
},
|
|
26400
26406
|
"type": "object"
|
|
@@ -26639,7 +26645,7 @@
|
|
|
26639
26645
|
"ability",
|
|
26640
26646
|
"level",
|
|
26641
26647
|
"cost",
|
|
26642
|
-
"
|
|
26648
|
+
"unlocked_at"
|
|
26643
26649
|
],
|
|
26644
26650
|
"properties": {
|
|
26645
26651
|
"id": {
|
|
@@ -27978,7 +27984,7 @@
|
|
|
27978
27984
|
"retaliations",
|
|
27979
27985
|
"overseas",
|
|
27980
27986
|
"draws",
|
|
27981
|
-
"
|
|
27987
|
+
"escapes",
|
|
27982
27988
|
"losses",
|
|
27983
27989
|
"war",
|
|
27984
27990
|
"bonuses"
|
|
@@ -29020,7 +29026,8 @@
|
|
|
29020
29026
|
"type": "string"
|
|
29021
29027
|
},
|
|
29022
29028
|
"storage_capacity": {
|
|
29023
|
-
"
|
|
29029
|
+
"type": "integer",
|
|
29030
|
+
"format": "int32"
|
|
29024
29031
|
}
|
|
29025
29032
|
},
|
|
29026
29033
|
"type": "object"
|
|
@@ -30429,6 +30436,17 @@
|
|
|
30429
30436
|
},
|
|
30430
30437
|
"type": "object"
|
|
30431
30438
|
},
|
|
30439
|
+
"AuctionHouseListingResponse": {
|
|
30440
|
+
"required": [
|
|
30441
|
+
"auctionhouselisting"
|
|
30442
|
+
],
|
|
30443
|
+
"properties": {
|
|
30444
|
+
"auctionhouselisting": {
|
|
30445
|
+
"$ref": "#/components/schemas/AuctionHouseListing"
|
|
30446
|
+
}
|
|
30447
|
+
},
|
|
30448
|
+
"type": "object"
|
|
30449
|
+
},
|
|
30432
30450
|
"AuctionHouseResponse": {
|
|
30433
30451
|
"required": [
|
|
30434
30452
|
"auctionhouse",
|
|
@@ -32387,7 +32405,6 @@
|
|
|
32387
32405
|
"description",
|
|
32388
32406
|
"type",
|
|
32389
32407
|
"circulation",
|
|
32390
|
-
"equipped",
|
|
32391
32408
|
"rarity"
|
|
32392
32409
|
],
|
|
32393
32410
|
"properties": {
|
|
@@ -32696,7 +32713,8 @@
|
|
|
32696
32713
|
"honor": {
|
|
32697
32714
|
"oneOf": [
|
|
32698
32715
|
{
|
|
32699
|
-
"type": "
|
|
32716
|
+
"type": "integer",
|
|
32717
|
+
"format": "int32"
|
|
32700
32718
|
},
|
|
32701
32719
|
{
|
|
32702
32720
|
"type": "null"
|
|
@@ -33111,7 +33129,7 @@
|
|
|
33111
33129
|
"oneOf": [
|
|
33112
33130
|
{
|
|
33113
33131
|
"type": "integer",
|
|
33114
|
-
"format": "
|
|
33132
|
+
"format": "int64"
|
|
33115
33133
|
},
|
|
33116
33134
|
{
|
|
33117
33135
|
"type": "string"
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tornapi-typescript",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "6.0.
|
|
4
|
+
"version": "6.0.3",
|
|
5
5
|
"repository": {
|
|
6
6
|
"url": "git+https://github.com/Torn-Playground/tornapi-typescript.git"
|
|
7
7
|
},
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"devDependencies": {
|
|
12
12
|
"@scalar/openapi-types": "^0.9.1",
|
|
13
13
|
"@types/node": "^25.9.5",
|
|
14
|
-
"prettier": "^3.9.
|
|
14
|
+
"prettier": "^3.9.5",
|
|
15
15
|
"typeconv": "^2.3.1",
|
|
16
16
|
"typescript": "^6.0.3"
|
|
17
17
|
},
|