tornapi-typescript 5.1.2 → 5.2.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 +32 -3
- package/dist/index.ts +36 -3
- package/dist/openapi.json +329 -51
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -71,6 +71,7 @@ export type RaceTrackId = number;
|
|
|
71
71
|
export type RaceCarId = number;
|
|
72
72
|
export type RaceCarUpgradeId = number;
|
|
73
73
|
export type ItemId = number;
|
|
74
|
+
export type AuctionListingId = number;
|
|
74
75
|
export type ItemModId = number;
|
|
75
76
|
export type AmmoId = number;
|
|
76
77
|
export type RankedWarId = number;
|
|
@@ -643,11 +644,11 @@ export interface UserMoneyResponse {
|
|
|
643
644
|
interest_rate: number;
|
|
644
645
|
until: number;
|
|
645
646
|
invested_at: number;
|
|
646
|
-
};
|
|
647
|
+
} | null;
|
|
647
648
|
faction: {
|
|
648
649
|
money: number;
|
|
649
650
|
points: number;
|
|
650
|
-
};
|
|
651
|
+
} | null;
|
|
651
652
|
daily_networth: number;
|
|
652
653
|
};
|
|
653
654
|
}
|
|
@@ -2548,6 +2549,26 @@ export interface KeyInfoResponse {
|
|
|
2548
2549
|
};
|
|
2549
2550
|
}
|
|
2550
2551
|
export type KeySelectionName = string;
|
|
2552
|
+
export interface AuctionHouseStackableItem {
|
|
2553
|
+
id: ItemId;
|
|
2554
|
+
uid: ItemUid;
|
|
2555
|
+
name: string;
|
|
2556
|
+
type: TornItemTypeEnum;
|
|
2557
|
+
}
|
|
2558
|
+
export interface AuctionHouseListing {
|
|
2559
|
+
id: AuctionListingId;
|
|
2560
|
+
seller: BasicUser;
|
|
2561
|
+
buyer: BasicUser;
|
|
2562
|
+
/** Timestamp when the auction ended. */
|
|
2563
|
+
timestamp: number;
|
|
2564
|
+
price: number;
|
|
2565
|
+
bids: number;
|
|
2566
|
+
item: AuctionHouseStackableItem | TornItemDetails;
|
|
2567
|
+
}
|
|
2568
|
+
export interface AuctionHouseResponse {
|
|
2569
|
+
auctionhouse: AuctionHouseListing[];
|
|
2570
|
+
_metadata: RequestMetadataWithLinks;
|
|
2571
|
+
}
|
|
2551
2572
|
export interface BasicProperty {
|
|
2552
2573
|
id: PropertyTypeId;
|
|
2553
2574
|
name: string;
|
|
@@ -2797,7 +2818,7 @@ export interface RacingRaceDetails extends Race {
|
|
|
2797
2818
|
is_official: boolean;
|
|
2798
2819
|
}
|
|
2799
2820
|
export type UserRaceDetails = RacingRaceDetails & {
|
|
2800
|
-
skill_gain:
|
|
2821
|
+
skill_gain: number;
|
|
2801
2822
|
};
|
|
2802
2823
|
export interface RacingRaceDetailsResponse {
|
|
2803
2824
|
race: RacingRaceDetails;
|
|
@@ -6910,6 +6931,14 @@ export interface KeyV2 extends BaseSchema {
|
|
|
6910
6931
|
}
|
|
6911
6932
|
export interface MarketV2 extends BaseSchema {
|
|
6912
6933
|
selections: {
|
|
6934
|
+
auctionhouselisting: {
|
|
6935
|
+
response: AuctionHouseListing;
|
|
6936
|
+
params: "id" | "timestamp";
|
|
6937
|
+
};
|
|
6938
|
+
auctionhouse: {
|
|
6939
|
+
response: AuctionHouseResponse;
|
|
6940
|
+
params: "id" | "limit" | "sort" | "from" | "to" | "timestamp";
|
|
6941
|
+
};
|
|
6913
6942
|
bazaar: {
|
|
6914
6943
|
response: BazaarResponse;
|
|
6915
6944
|
params: "cat" | "timestamp";
|
package/dist/index.ts
CHANGED
|
@@ -4757,6 +4757,8 @@ export type RaceCarUpgradeId = number;
|
|
|
4757
4757
|
|
|
4758
4758
|
export type ItemId = number;
|
|
4759
4759
|
|
|
4760
|
+
export type AuctionListingId = number;
|
|
4761
|
+
|
|
4760
4762
|
export type ItemModId = number;
|
|
4761
4763
|
|
|
4762
4764
|
export type AmmoId = number;
|
|
@@ -5660,11 +5662,11 @@ export interface UserMoneyResponse {
|
|
|
5660
5662
|
interest_rate: number;
|
|
5661
5663
|
until: number;
|
|
5662
5664
|
invested_at: number;
|
|
5663
|
-
};
|
|
5665
|
+
} | null;
|
|
5664
5666
|
faction: {
|
|
5665
5667
|
money: number;
|
|
5666
5668
|
points: number;
|
|
5667
|
-
};
|
|
5669
|
+
} | null;
|
|
5668
5670
|
daily_networth: number;
|
|
5669
5671
|
};
|
|
5670
5672
|
}
|
|
@@ -8124,6 +8126,29 @@ export interface KeyInfoResponse {
|
|
|
8124
8126
|
|
|
8125
8127
|
export type KeySelectionName = string;
|
|
8126
8128
|
|
|
8129
|
+
export interface AuctionHouseStackableItem {
|
|
8130
|
+
id: ItemId;
|
|
8131
|
+
uid: ItemUid;
|
|
8132
|
+
name: string;
|
|
8133
|
+
type: TornItemTypeEnum;
|
|
8134
|
+
}
|
|
8135
|
+
|
|
8136
|
+
export interface AuctionHouseListing {
|
|
8137
|
+
id: AuctionListingId;
|
|
8138
|
+
seller: BasicUser;
|
|
8139
|
+
buyer: BasicUser;
|
|
8140
|
+
/** Timestamp when the auction ended. */
|
|
8141
|
+
timestamp: number;
|
|
8142
|
+
price: number;
|
|
8143
|
+
bids: number;
|
|
8144
|
+
item: AuctionHouseStackableItem | TornItemDetails;
|
|
8145
|
+
}
|
|
8146
|
+
|
|
8147
|
+
export interface AuctionHouseResponse {
|
|
8148
|
+
auctionhouse: AuctionHouseListing[];
|
|
8149
|
+
_metadata: RequestMetadataWithLinks;
|
|
8150
|
+
}
|
|
8151
|
+
|
|
8127
8152
|
export interface BasicProperty {
|
|
8128
8153
|
id: PropertyTypeId;
|
|
8129
8154
|
name: string;
|
|
@@ -8414,7 +8439,7 @@ export interface RacingRaceDetails extends Race {
|
|
|
8414
8439
|
}
|
|
8415
8440
|
|
|
8416
8441
|
export type UserRaceDetails = RacingRaceDetails & {
|
|
8417
|
-
skill_gain:
|
|
8442
|
+
skill_gain: number;
|
|
8418
8443
|
};
|
|
8419
8444
|
|
|
8420
8445
|
export interface RacingRaceDetailsResponse {
|
|
@@ -12731,6 +12756,14 @@ export interface KeyV2 extends BaseSchema {
|
|
|
12731
12756
|
}
|
|
12732
12757
|
export interface MarketV2 extends BaseSchema {
|
|
12733
12758
|
selections: {
|
|
12759
|
+
auctionhouselisting: {
|
|
12760
|
+
response: AuctionHouseListing;
|
|
12761
|
+
params: "id" | "timestamp";
|
|
12762
|
+
};
|
|
12763
|
+
auctionhouse: {
|
|
12764
|
+
response: AuctionHouseResponse;
|
|
12765
|
+
params: "id" | "limit" | "sort" | "from" | "to" | "timestamp";
|
|
12766
|
+
};
|
|
12734
12767
|
bazaar: {
|
|
12735
12768
|
response: BazaarResponse;
|
|
12736
12769
|
params: "cat" | "timestamp";
|
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": "5.
|
|
6
|
+
"version": "5.2.0"
|
|
7
7
|
},
|
|
8
8
|
"servers": [
|
|
9
9
|
{
|
|
@@ -5341,7 +5341,7 @@
|
|
|
5341
5341
|
"tags": [
|
|
5342
5342
|
"Faction"
|
|
5343
5343
|
],
|
|
5344
|
-
"summary": "Get a list
|
|
5344
|
+
"summary": "Get a list territory ownership",
|
|
5345
5345
|
"description": "Requires public access key. <br>",
|
|
5346
5346
|
"operationId": "bf56fb8aba4d6810e9b96402e25b931d",
|
|
5347
5347
|
"parameters": [
|
|
@@ -6684,6 +6684,165 @@
|
|
|
6684
6684
|
"x-stability": "Stable"
|
|
6685
6685
|
}
|
|
6686
6686
|
},
|
|
6687
|
+
"/market/{id}/auctionhouselisting": {
|
|
6688
|
+
"get": {
|
|
6689
|
+
"tags": [
|
|
6690
|
+
"Market"
|
|
6691
|
+
],
|
|
6692
|
+
"summary": "Get specific item auction house listings",
|
|
6693
|
+
"description": "Requires public access key. <br>",
|
|
6694
|
+
"operationId": "c28901b60d97e6ddf7d07d7a195f022a",
|
|
6695
|
+
"parameters": [
|
|
6696
|
+
{
|
|
6697
|
+
"name": "id",
|
|
6698
|
+
"in": "path",
|
|
6699
|
+
"description": "Listing id",
|
|
6700
|
+
"required": true,
|
|
6701
|
+
"schema": {
|
|
6702
|
+
"$ref": "#/components/schemas/AuctionListingId"
|
|
6703
|
+
}
|
|
6704
|
+
},
|
|
6705
|
+
{
|
|
6706
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
6707
|
+
},
|
|
6708
|
+
{
|
|
6709
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
6710
|
+
},
|
|
6711
|
+
{
|
|
6712
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
6713
|
+
}
|
|
6714
|
+
],
|
|
6715
|
+
"responses": {
|
|
6716
|
+
"200": {
|
|
6717
|
+
"description": "Successful operation",
|
|
6718
|
+
"content": {
|
|
6719
|
+
"application/json": {
|
|
6720
|
+
"schema": {
|
|
6721
|
+
"$ref": "#/components/schemas/AuctionHouseListing"
|
|
6722
|
+
}
|
|
6723
|
+
}
|
|
6724
|
+
}
|
|
6725
|
+
}
|
|
6726
|
+
},
|
|
6727
|
+
"security": [
|
|
6728
|
+
{
|
|
6729
|
+
"api_key": []
|
|
6730
|
+
}
|
|
6731
|
+
],
|
|
6732
|
+
"x-stability": "Unstable"
|
|
6733
|
+
}
|
|
6734
|
+
},
|
|
6735
|
+
"/market/{id}/auctionhouse": {
|
|
6736
|
+
"get": {
|
|
6737
|
+
"tags": [
|
|
6738
|
+
"Market"
|
|
6739
|
+
],
|
|
6740
|
+
"summary": "Get specific item auction house listings",
|
|
6741
|
+
"description": "Requires public access key. <br>",
|
|
6742
|
+
"operationId": "54c84ce84920ff49fac183f7ab7480cb",
|
|
6743
|
+
"parameters": [
|
|
6744
|
+
{
|
|
6745
|
+
"name": "id",
|
|
6746
|
+
"in": "path",
|
|
6747
|
+
"description": "Item id",
|
|
6748
|
+
"required": true,
|
|
6749
|
+
"schema": {
|
|
6750
|
+
"$ref": "#/components/schemas/ItemId"
|
|
6751
|
+
}
|
|
6752
|
+
},
|
|
6753
|
+
{
|
|
6754
|
+
"$ref": "#/components/parameters/ApiLimit100Default20"
|
|
6755
|
+
},
|
|
6756
|
+
{
|
|
6757
|
+
"$ref": "#/components/parameters/ApiSort"
|
|
6758
|
+
},
|
|
6759
|
+
{
|
|
6760
|
+
"$ref": "#/components/parameters/ApiFrom"
|
|
6761
|
+
},
|
|
6762
|
+
{
|
|
6763
|
+
"$ref": "#/components/parameters/ApiTo"
|
|
6764
|
+
},
|
|
6765
|
+
{
|
|
6766
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
6767
|
+
},
|
|
6768
|
+
{
|
|
6769
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
6770
|
+
},
|
|
6771
|
+
{
|
|
6772
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
6773
|
+
}
|
|
6774
|
+
],
|
|
6775
|
+
"responses": {
|
|
6776
|
+
"200": {
|
|
6777
|
+
"description": "Successful operation",
|
|
6778
|
+
"content": {
|
|
6779
|
+
"application/json": {
|
|
6780
|
+
"schema": {
|
|
6781
|
+
"$ref": "#/components/schemas/AuctionHouseResponse"
|
|
6782
|
+
}
|
|
6783
|
+
}
|
|
6784
|
+
}
|
|
6785
|
+
}
|
|
6786
|
+
},
|
|
6787
|
+
"security": [
|
|
6788
|
+
{
|
|
6789
|
+
"api_key": []
|
|
6790
|
+
}
|
|
6791
|
+
],
|
|
6792
|
+
"x-stability": "Unstable"
|
|
6793
|
+
}
|
|
6794
|
+
},
|
|
6795
|
+
"/market/auctionhouse": {
|
|
6796
|
+
"get": {
|
|
6797
|
+
"tags": [
|
|
6798
|
+
"Market"
|
|
6799
|
+
],
|
|
6800
|
+
"summary": "Get auction house listings",
|
|
6801
|
+
"description": "Requires public access key. <br>",
|
|
6802
|
+
"operationId": "635ca1ff9b7062b8d8e0bf00252479cd",
|
|
6803
|
+
"parameters": [
|
|
6804
|
+
{
|
|
6805
|
+
"$ref": "#/components/parameters/ApiLimit100Default20"
|
|
6806
|
+
},
|
|
6807
|
+
{
|
|
6808
|
+
"$ref": "#/components/parameters/ApiSort"
|
|
6809
|
+
},
|
|
6810
|
+
{
|
|
6811
|
+
"$ref": "#/components/parameters/ApiFrom"
|
|
6812
|
+
},
|
|
6813
|
+
{
|
|
6814
|
+
"$ref": "#/components/parameters/ApiTo"
|
|
6815
|
+
},
|
|
6816
|
+
{
|
|
6817
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
6818
|
+
},
|
|
6819
|
+
{
|
|
6820
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
6821
|
+
},
|
|
6822
|
+
{
|
|
6823
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
6824
|
+
}
|
|
6825
|
+
],
|
|
6826
|
+
"responses": {
|
|
6827
|
+
"200": {
|
|
6828
|
+
"description": "Successful operation",
|
|
6829
|
+
"content": {
|
|
6830
|
+
"application/json": {
|
|
6831
|
+
"schema": {
|
|
6832
|
+
"$ref": "#/components/schemas/AuctionHouseResponse"
|
|
6833
|
+
}
|
|
6834
|
+
}
|
|
6835
|
+
}
|
|
6836
|
+
}
|
|
6837
|
+
},
|
|
6838
|
+
"security": [
|
|
6839
|
+
{
|
|
6840
|
+
"api_key": []
|
|
6841
|
+
}
|
|
6842
|
+
],
|
|
6843
|
+
"x-stability": "Unstable"
|
|
6844
|
+
}
|
|
6845
|
+
},
|
|
6687
6846
|
"/market/bazaar": {
|
|
6688
6847
|
"get": {
|
|
6689
6848
|
"tags": [
|
|
@@ -7068,6 +7227,9 @@
|
|
|
7068
7227
|
{
|
|
7069
7228
|
"$ref": "#/components/schemas/ItemId"
|
|
7070
7229
|
},
|
|
7230
|
+
{
|
|
7231
|
+
"$ref": "#/components/schemas/AuctionListingId"
|
|
7232
|
+
},
|
|
7071
7233
|
{
|
|
7072
7234
|
"$ref": "#/components/schemas/PropertyTypeId"
|
|
7073
7235
|
}
|
|
@@ -7154,6 +7316,12 @@
|
|
|
7154
7316
|
{
|
|
7155
7317
|
"$ref": "#/components/schemas/MarketRentalsResponse"
|
|
7156
7318
|
},
|
|
7319
|
+
{
|
|
7320
|
+
"$ref": "#/components/schemas/AuctionHouseResponse"
|
|
7321
|
+
},
|
|
7322
|
+
{
|
|
7323
|
+
"$ref": "#/components/schemas/AuctionHouseListing"
|
|
7324
|
+
},
|
|
7157
7325
|
{
|
|
7158
7326
|
"$ref": "#/components/schemas/MarketPropertiesResponse"
|
|
7159
7327
|
},
|
|
@@ -14391,6 +14559,10 @@
|
|
|
14391
14559
|
"type": "integer",
|
|
14392
14560
|
"format": "int64"
|
|
14393
14561
|
},
|
|
14562
|
+
"AuctionListingId": {
|
|
14563
|
+
"type": "integer",
|
|
14564
|
+
"format": "int32"
|
|
14565
|
+
},
|
|
14394
14566
|
"ItemModId": {
|
|
14395
14567
|
"type": "integer",
|
|
14396
14568
|
"format": "int32"
|
|
@@ -17352,59 +17524,73 @@
|
|
|
17352
17524
|
"format": "int64"
|
|
17353
17525
|
},
|
|
17354
17526
|
"city_bank": {
|
|
17355
|
-
"
|
|
17356
|
-
|
|
17357
|
-
|
|
17358
|
-
|
|
17359
|
-
|
|
17360
|
-
|
|
17361
|
-
|
|
17362
|
-
|
|
17363
|
-
|
|
17364
|
-
|
|
17365
|
-
"
|
|
17366
|
-
|
|
17367
|
-
|
|
17368
|
-
|
|
17369
|
-
|
|
17370
|
-
|
|
17371
|
-
|
|
17372
|
-
|
|
17373
|
-
|
|
17374
|
-
|
|
17375
|
-
|
|
17376
|
-
|
|
17377
|
-
|
|
17378
|
-
|
|
17379
|
-
|
|
17380
|
-
|
|
17381
|
-
|
|
17382
|
-
|
|
17383
|
-
|
|
17527
|
+
"oneOf": [
|
|
17528
|
+
{
|
|
17529
|
+
"required": [
|
|
17530
|
+
"amount",
|
|
17531
|
+
"profit",
|
|
17532
|
+
"duration",
|
|
17533
|
+
"interest_rate",
|
|
17534
|
+
"until",
|
|
17535
|
+
"invested_at"
|
|
17536
|
+
],
|
|
17537
|
+
"properties": {
|
|
17538
|
+
"amount": {
|
|
17539
|
+
"type": "integer",
|
|
17540
|
+
"format": "int64"
|
|
17541
|
+
},
|
|
17542
|
+
"profit": {
|
|
17543
|
+
"type": "integer",
|
|
17544
|
+
"format": "int64"
|
|
17545
|
+
},
|
|
17546
|
+
"duration": {
|
|
17547
|
+
"description": "Initial duration in days.",
|
|
17548
|
+
"type": "integer",
|
|
17549
|
+
"format": "int32"
|
|
17550
|
+
},
|
|
17551
|
+
"interest_rate": {
|
|
17552
|
+
"type": "number",
|
|
17553
|
+
"format": "float"
|
|
17554
|
+
},
|
|
17555
|
+
"until": {
|
|
17556
|
+
"type": "integer",
|
|
17557
|
+
"format": "int64"
|
|
17558
|
+
},
|
|
17559
|
+
"invested_at": {
|
|
17560
|
+
"type": "integer",
|
|
17561
|
+
"format": "int32"
|
|
17562
|
+
}
|
|
17563
|
+
},
|
|
17564
|
+
"type": "object"
|
|
17384
17565
|
},
|
|
17385
|
-
|
|
17386
|
-
"type": "
|
|
17387
|
-
"format": "int32"
|
|
17566
|
+
{
|
|
17567
|
+
"type": "null"
|
|
17388
17568
|
}
|
|
17389
|
-
|
|
17390
|
-
"type": "object"
|
|
17569
|
+
]
|
|
17391
17570
|
},
|
|
17392
17571
|
"faction": {
|
|
17393
|
-
"
|
|
17394
|
-
|
|
17395
|
-
|
|
17396
|
-
|
|
17397
|
-
|
|
17398
|
-
|
|
17399
|
-
"
|
|
17400
|
-
|
|
17572
|
+
"oneOf": [
|
|
17573
|
+
{
|
|
17574
|
+
"required": [
|
|
17575
|
+
"money",
|
|
17576
|
+
"points"
|
|
17577
|
+
],
|
|
17578
|
+
"properties": {
|
|
17579
|
+
"money": {
|
|
17580
|
+
"type": "integer",
|
|
17581
|
+
"format": "int64"
|
|
17582
|
+
},
|
|
17583
|
+
"points": {
|
|
17584
|
+
"type": "integer",
|
|
17585
|
+
"format": "int64"
|
|
17586
|
+
}
|
|
17587
|
+
},
|
|
17588
|
+
"type": "object"
|
|
17401
17589
|
},
|
|
17402
|
-
|
|
17403
|
-
"type": "
|
|
17404
|
-
"format": "int64"
|
|
17590
|
+
{
|
|
17591
|
+
"type": "null"
|
|
17405
17592
|
}
|
|
17406
|
-
|
|
17407
|
-
"type": "object"
|
|
17593
|
+
]
|
|
17408
17594
|
},
|
|
17409
17595
|
"daily_networth": {
|
|
17410
17596
|
"type": "integer",
|
|
@@ -26768,6 +26954,93 @@
|
|
|
26768
26954
|
}
|
|
26769
26955
|
]
|
|
26770
26956
|
},
|
|
26957
|
+
"AuctionHouseStackableItem": {
|
|
26958
|
+
"required": [
|
|
26959
|
+
"id",
|
|
26960
|
+
"uid",
|
|
26961
|
+
"name",
|
|
26962
|
+
"type"
|
|
26963
|
+
],
|
|
26964
|
+
"properties": {
|
|
26965
|
+
"id": {
|
|
26966
|
+
"$ref": "#/components/schemas/ItemId"
|
|
26967
|
+
},
|
|
26968
|
+
"uid": {
|
|
26969
|
+
"$ref": "#/components/schemas/ItemUid"
|
|
26970
|
+
},
|
|
26971
|
+
"name": {
|
|
26972
|
+
"type": "string"
|
|
26973
|
+
},
|
|
26974
|
+
"type": {
|
|
26975
|
+
"$ref": "#/components/schemas/TornItemTypeEnum"
|
|
26976
|
+
}
|
|
26977
|
+
},
|
|
26978
|
+
"type": "object"
|
|
26979
|
+
},
|
|
26980
|
+
"AuctionHouseListing": {
|
|
26981
|
+
"required": [
|
|
26982
|
+
"id",
|
|
26983
|
+
"seller",
|
|
26984
|
+
"buyer",
|
|
26985
|
+
"timestamp",
|
|
26986
|
+
"price",
|
|
26987
|
+
"bids",
|
|
26988
|
+
"item"
|
|
26989
|
+
],
|
|
26990
|
+
"properties": {
|
|
26991
|
+
"id": {
|
|
26992
|
+
"$ref": "#/components/schemas/AuctionListingId"
|
|
26993
|
+
},
|
|
26994
|
+
"seller": {
|
|
26995
|
+
"$ref": "#/components/schemas/BasicUser"
|
|
26996
|
+
},
|
|
26997
|
+
"buyer": {
|
|
26998
|
+
"$ref": "#/components/schemas/BasicUser"
|
|
26999
|
+
},
|
|
27000
|
+
"timestamp": {
|
|
27001
|
+
"description": "Timestamp when the auction ended.",
|
|
27002
|
+
"type": "integer",
|
|
27003
|
+
"format": "int32"
|
|
27004
|
+
},
|
|
27005
|
+
"price": {
|
|
27006
|
+
"type": "integer",
|
|
27007
|
+
"format": "int32"
|
|
27008
|
+
},
|
|
27009
|
+
"bids": {
|
|
27010
|
+
"type": "integer",
|
|
27011
|
+
"format": "int32"
|
|
27012
|
+
},
|
|
27013
|
+
"item": {
|
|
27014
|
+
"oneOf": [
|
|
27015
|
+
{
|
|
27016
|
+
"$ref": "#/components/schemas/AuctionHouseStackableItem"
|
|
27017
|
+
},
|
|
27018
|
+
{
|
|
27019
|
+
"$ref": "#/components/schemas/TornItemDetails"
|
|
27020
|
+
}
|
|
27021
|
+
]
|
|
27022
|
+
}
|
|
27023
|
+
},
|
|
27024
|
+
"type": "object"
|
|
27025
|
+
},
|
|
27026
|
+
"AuctionHouseResponse": {
|
|
27027
|
+
"required": [
|
|
27028
|
+
"auctionhouse",
|
|
27029
|
+
"_metadata"
|
|
27030
|
+
],
|
|
27031
|
+
"properties": {
|
|
27032
|
+
"auctionhouse": {
|
|
27033
|
+
"type": "array",
|
|
27034
|
+
"items": {
|
|
27035
|
+
"$ref": "#/components/schemas/AuctionHouseListing"
|
|
27036
|
+
}
|
|
27037
|
+
},
|
|
27038
|
+
"_metadata": {
|
|
27039
|
+
"$ref": "#/components/schemas/RequestMetadataWithLinks"
|
|
27040
|
+
}
|
|
27041
|
+
},
|
|
27042
|
+
"type": "object"
|
|
27043
|
+
},
|
|
26771
27044
|
"BasicProperty": {
|
|
26772
27045
|
"required": [
|
|
26773
27046
|
"id",
|
|
@@ -27430,7 +27703,9 @@
|
|
|
27430
27703
|
"rentals",
|
|
27431
27704
|
"lookup",
|
|
27432
27705
|
"timestamp",
|
|
27433
|
-
"pointsmarket"
|
|
27706
|
+
"pointsmarket",
|
|
27707
|
+
"auctionhouse",
|
|
27708
|
+
"auctionhouselisting"
|
|
27434
27709
|
]
|
|
27435
27710
|
},
|
|
27436
27711
|
{
|
|
@@ -28046,7 +28321,10 @@
|
|
|
28046
28321
|
"skill_gain"
|
|
28047
28322
|
],
|
|
28048
28323
|
"properties": {
|
|
28049
|
-
"skill_gain": {
|
|
28324
|
+
"skill_gain": {
|
|
28325
|
+
"type": "number",
|
|
28326
|
+
"format": "float"
|
|
28327
|
+
}
|
|
28050
28328
|
},
|
|
28051
28329
|
"type": "object"
|
|
28052
28330
|
}
|