tornapi-typescript 0.1.4 → 0.1.5
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 +47 -18
- package/dist/openapi.json +128 -78
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4160,7 +4160,8 @@ export type FactionStatEnum =
|
|
|
4160
4160
|
| "attacksdamaging"
|
|
4161
4161
|
| "attacksrunaway"
|
|
4162
4162
|
| "highestterritories"
|
|
4163
|
-
| "territoryrespect"
|
|
4163
|
+
| "territoryrespect"
|
|
4164
|
+
| "membersamount";
|
|
4164
4165
|
|
|
4165
4166
|
export type FactionBranchStateEnum = "war" | "peace";
|
|
4166
4167
|
|
|
@@ -4517,6 +4518,8 @@ export type FactionBranchId = number;
|
|
|
4517
4518
|
|
|
4518
4519
|
export type FactionCrimeId = number;
|
|
4519
4520
|
|
|
4521
|
+
export type TornCrimeId = number;
|
|
4522
|
+
|
|
4520
4523
|
export type ChainId = number;
|
|
4521
4524
|
|
|
4522
4525
|
export type AttackId = number;
|
|
@@ -5007,7 +5010,7 @@ export interface FactionHofStats {
|
|
|
5007
5010
|
}
|
|
5008
5011
|
|
|
5009
5012
|
export interface FactionHofResponse {
|
|
5010
|
-
hof: FactionHofStats
|
|
5013
|
+
hof: FactionHofStats;
|
|
5011
5014
|
}
|
|
5012
5015
|
|
|
5013
5016
|
/** Details about a faction member. */
|
|
@@ -5187,7 +5190,7 @@ export interface FactionApplication {
|
|
|
5187
5190
|
user: {
|
|
5188
5191
|
id: UserId;
|
|
5189
5192
|
name: string;
|
|
5190
|
-
level:
|
|
5193
|
+
level: number;
|
|
5191
5194
|
stats: {
|
|
5192
5195
|
strength: number;
|
|
5193
5196
|
speed: number;
|
|
@@ -5395,7 +5398,10 @@ export interface FactionBalanceResponse {
|
|
|
5395
5398
|
balance: FactionBalance;
|
|
5396
5399
|
}
|
|
5397
5400
|
|
|
5398
|
-
/**
|
|
5401
|
+
/**
|
|
5402
|
+
* The following selections will fallback to API v1 and may change at any time: 'armor', 'boosters', 'caches', 'cesium', 'crimeexp', 'drugs', 'medical', 'positions', 'reports', 'temporary', 'weapons'.
|
|
5403
|
+
* * The following selections are not available in API v2: 'armorynews', 'attacknews', 'crimenews', 'currency', 'donations', 'fundsnews', 'mainnews', 'membershipnews', 'territorynews'.
|
|
5404
|
+
*/
|
|
5399
5405
|
export type FactionSelectionName =
|
|
5400
5406
|
| "applications"
|
|
5401
5407
|
| "attacks"
|
|
@@ -5435,7 +5441,16 @@ export type FactionSelectionName =
|
|
|
5435
5441
|
| "positions"
|
|
5436
5442
|
| "reports"
|
|
5437
5443
|
| "temporary"
|
|
5438
|
-
| "weapons"
|
|
5444
|
+
| "weapons"
|
|
5445
|
+
| "armorynews"
|
|
5446
|
+
| "attacknews"
|
|
5447
|
+
| "crimenews"
|
|
5448
|
+
| "currency"
|
|
5449
|
+
| "donations"
|
|
5450
|
+
| "fundsnews"
|
|
5451
|
+
| "mainnews"
|
|
5452
|
+
| "membershipnews"
|
|
5453
|
+
| "territorynews";
|
|
5439
5454
|
|
|
5440
5455
|
export interface FactionLookupResponse {
|
|
5441
5456
|
selections: FactionSelectionName[];
|
|
@@ -5677,7 +5692,8 @@ export type MarketSelectionName =
|
|
|
5677
5692
|
| "itemmarket"
|
|
5678
5693
|
| "lookup"
|
|
5679
5694
|
| "timestamp"
|
|
5680
|
-
| "pointsmarket"
|
|
5695
|
+
| "pointsmarket"
|
|
5696
|
+
| "bazaar";
|
|
5681
5697
|
|
|
5682
5698
|
export interface MarketLookupResponse {
|
|
5683
5699
|
selections: MarketSelectionName[];
|
|
@@ -5794,8 +5810,10 @@ export interface RacerDetails {
|
|
|
5794
5810
|
time_ended: number | null;
|
|
5795
5811
|
}
|
|
5796
5812
|
|
|
5797
|
-
export interface RacingRaceDetailsResponse
|
|
5798
|
-
|
|
5813
|
+
export interface RacingRaceDetailsResponse {
|
|
5814
|
+
race?: {
|
|
5815
|
+
results: RacerDetails[];
|
|
5816
|
+
} & Race;
|
|
5799
5817
|
}
|
|
5800
5818
|
|
|
5801
5819
|
export type RacingSelectionName =
|
|
@@ -5887,7 +5905,7 @@ export interface TornCrimesResponse {
|
|
|
5887
5905
|
}
|
|
5888
5906
|
|
|
5889
5907
|
export interface TornCrime {
|
|
5890
|
-
id:
|
|
5908
|
+
id: TornCrimeId;
|
|
5891
5909
|
name: string;
|
|
5892
5910
|
category_id: number;
|
|
5893
5911
|
category_name?: string;
|
|
@@ -5895,7 +5913,7 @@ export interface TornCrime {
|
|
|
5895
5913
|
enhancer_name: string;
|
|
5896
5914
|
unique_outcomes_count: number;
|
|
5897
5915
|
unique_outcomes_ids: number[];
|
|
5898
|
-
notes
|
|
5916
|
+
notes?: string[];
|
|
5899
5917
|
}
|
|
5900
5918
|
|
|
5901
5919
|
export interface TornCalendarActivity {
|
|
@@ -5939,7 +5957,7 @@ export interface FactionHofValues {
|
|
|
5939
5957
|
}
|
|
5940
5958
|
|
|
5941
5959
|
export interface TornFactionHof {
|
|
5942
|
-
|
|
5960
|
+
id: FactionId;
|
|
5943
5961
|
name: string;
|
|
5944
5962
|
members: number;
|
|
5945
5963
|
position: number;
|
|
@@ -6137,10 +6155,13 @@ export interface TornFactionTree {
|
|
|
6137
6155
|
}
|
|
6138
6156
|
|
|
6139
6157
|
export interface TornFactionTreeResponse {
|
|
6140
|
-
factionTree: TornFactionTree;
|
|
6158
|
+
factionTree: TornFactionTree[];
|
|
6141
6159
|
}
|
|
6142
6160
|
|
|
6143
|
-
/**
|
|
6161
|
+
/**
|
|
6162
|
+
* The following selections will fallback to API v1 and may change at any time: 'bank','cards','cityshops','companies','competition','dirtybombs','gyms','honors','itemdetails','itemstats','medals','organisedcrimes','pawnshop','pokertables','properties','raidreport','raids','rockpaperscissors','searchforcash','shoplifting','stats','stocks'.
|
|
6163
|
+
* * The following selections are not available in API v2: 'chainreport', 'rackets', 'rankedwarreport', 'rankedwars', 'territorynames', 'territorywarreport', 'territorywars'.
|
|
6164
|
+
*/
|
|
6144
6165
|
export type TornSelectionName =
|
|
6145
6166
|
| "attacklog"
|
|
6146
6167
|
| "bounties"
|
|
@@ -6180,7 +6201,14 @@ export type TornSelectionName =
|
|
|
6180
6201
|
| "searchforcash"
|
|
6181
6202
|
| "shoplifting"
|
|
6182
6203
|
| "stats"
|
|
6183
|
-
| "stocks"
|
|
6204
|
+
| "stocks"
|
|
6205
|
+
| "chainreport"
|
|
6206
|
+
| "rackets"
|
|
6207
|
+
| "rankedwarreport"
|
|
6208
|
+
| "rankedwars"
|
|
6209
|
+
| "territorynames"
|
|
6210
|
+
| "territorywarreport"
|
|
6211
|
+
| "territorywars";
|
|
6184
6212
|
|
|
6185
6213
|
export interface TornLookupResponse {
|
|
6186
6214
|
selections: TornSelectionName[];
|
|
@@ -7261,7 +7289,7 @@ export interface UserCrimeUniquesReward {
|
|
|
7261
7289
|
export interface UserCrimeUniques {
|
|
7262
7290
|
/** Unique result id. */
|
|
7263
7291
|
id: number;
|
|
7264
|
-
rewards: UserCrimeUniquesReward
|
|
7292
|
+
rewards: UserCrimeUniquesReward;
|
|
7265
7293
|
}
|
|
7266
7294
|
|
|
7267
7295
|
export interface UserCrimesResponse {
|
|
@@ -7282,7 +7310,8 @@ export interface UserCrime {
|
|
|
7282
7310
|
| UserCrimeDetailsCardSkimming
|
|
7283
7311
|
| UserCrimeDetailsHustling
|
|
7284
7312
|
| UserCrimeDetailsCracking
|
|
7285
|
-
| UserCrimeDetailsScamming
|
|
7313
|
+
| UserCrimeDetailsScamming
|
|
7314
|
+
| null;
|
|
7286
7315
|
}
|
|
7287
7316
|
|
|
7288
7317
|
export interface UserRacesResponse {
|
|
@@ -7292,7 +7321,7 @@ export interface UserRacesResponse {
|
|
|
7292
7321
|
|
|
7293
7322
|
export interface UserRaceCarDetails extends RaceCar {
|
|
7294
7323
|
id: RaceCarId;
|
|
7295
|
-
name: string;
|
|
7324
|
+
name: string | null;
|
|
7296
7325
|
worth: number;
|
|
7297
7326
|
points_spent: number;
|
|
7298
7327
|
races_entered: number;
|
|
@@ -7356,7 +7385,7 @@ export interface UserHofStats {
|
|
|
7356
7385
|
}
|
|
7357
7386
|
|
|
7358
7387
|
export interface UserHofResponse {
|
|
7359
|
-
hof: UserHofStats
|
|
7388
|
+
hof: UserHofStats;
|
|
7360
7389
|
}
|
|
7361
7390
|
|
|
7362
7391
|
export interface UserCalendar {
|
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": "1.3.
|
|
6
|
+
"version": "1.3.2"
|
|
7
7
|
},
|
|
8
8
|
"servers": [
|
|
9
9
|
{
|
|
@@ -200,7 +200,7 @@
|
|
|
200
200
|
"description": "Crime id",
|
|
201
201
|
"required": true,
|
|
202
202
|
"schema": {
|
|
203
|
-
"
|
|
203
|
+
"$ref": "#/components/schemas/TornCrimeId"
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
206
|
],
|
|
@@ -1216,6 +1216,15 @@
|
|
|
1216
1216
|
{
|
|
1217
1217
|
"$ref": "#/components/schemas/UserJobRanksResponse"
|
|
1218
1218
|
},
|
|
1219
|
+
{
|
|
1220
|
+
"$ref": "#/components/schemas/UserFactionBalanceResponse"
|
|
1221
|
+
},
|
|
1222
|
+
{
|
|
1223
|
+
"$ref": "#/components/schemas/RevivesResponse"
|
|
1224
|
+
},
|
|
1225
|
+
{
|
|
1226
|
+
"$ref": "#/components/schemas/RevivesFullResponse"
|
|
1227
|
+
},
|
|
1219
1228
|
{
|
|
1220
1229
|
"$ref": "#/components/schemas/UserItemMarketResponse"
|
|
1221
1230
|
},
|
|
@@ -1787,7 +1796,7 @@
|
|
|
1787
1796
|
"x-stability": "Stable"
|
|
1788
1797
|
}
|
|
1789
1798
|
},
|
|
1790
|
-
"/faction/{
|
|
1799
|
+
"/faction/{crimeId}/crime": {
|
|
1791
1800
|
"get": {
|
|
1792
1801
|
"tags": [
|
|
1793
1802
|
"Faction"
|
|
@@ -1796,12 +1805,12 @@
|
|
|
1796
1805
|
"description": "Requires minimal access key with faction API access permissions. <br>",
|
|
1797
1806
|
"parameters": [
|
|
1798
1807
|
{
|
|
1799
|
-
"name": "
|
|
1808
|
+
"name": "crimeId",
|
|
1800
1809
|
"in": "path",
|
|
1801
1810
|
"description": "Crime id",
|
|
1802
1811
|
"required": true,
|
|
1803
1812
|
"schema": {
|
|
1804
|
-
"$ref": "#/components/schemas/
|
|
1813
|
+
"$ref": "#/components/schemas/FactionCrimeId"
|
|
1805
1814
|
}
|
|
1806
1815
|
}
|
|
1807
1816
|
],
|
|
@@ -2767,9 +2776,27 @@
|
|
|
2767
2776
|
{
|
|
2768
2777
|
"$ref": "#/components/schemas/FactionNewsResponse"
|
|
2769
2778
|
},
|
|
2779
|
+
{
|
|
2780
|
+
"$ref": "#/components/schemas/RevivesResponse"
|
|
2781
|
+
},
|
|
2782
|
+
{
|
|
2783
|
+
"$ref": "#/components/schemas/FactionTerritoryWarsHistoryResponse"
|
|
2784
|
+
},
|
|
2770
2785
|
{
|
|
2771
2786
|
"$ref": "#/components/schemas/FactionAttacksResponse"
|
|
2772
2787
|
},
|
|
2788
|
+
{
|
|
2789
|
+
"$ref": "#/components/schemas/FactionBalanceResponse"
|
|
2790
|
+
},
|
|
2791
|
+
{
|
|
2792
|
+
"$ref": "#/components/schemas/FactionTerritoriesOwnershipResponse"
|
|
2793
|
+
},
|
|
2794
|
+
{
|
|
2795
|
+
"$ref": "#/components/schemas/FactionPositionsResponse"
|
|
2796
|
+
},
|
|
2797
|
+
{
|
|
2798
|
+
"$ref": "#/components/schemas/RevivesFullResponse"
|
|
2799
|
+
},
|
|
2773
2800
|
{
|
|
2774
2801
|
"$ref": "#/components/schemas/FactionAttacksFullResponse"
|
|
2775
2802
|
},
|
|
@@ -2806,9 +2833,18 @@
|
|
|
2806
2833
|
{
|
|
2807
2834
|
"$ref": "#/components/schemas/FactionStatsResponse"
|
|
2808
2835
|
},
|
|
2836
|
+
{
|
|
2837
|
+
"$ref": "#/components/schemas/FactionTerritoryWarsResponse"
|
|
2838
|
+
},
|
|
2809
2839
|
{
|
|
2810
2840
|
"$ref": "#/components/schemas/FactionContributorsResponse"
|
|
2811
2841
|
},
|
|
2842
|
+
{
|
|
2843
|
+
"$ref": "#/components/schemas/FactionRacketsReponse"
|
|
2844
|
+
},
|
|
2845
|
+
{
|
|
2846
|
+
"$ref": "#/components/schemas/FactionRankedWarResponse"
|
|
2847
|
+
},
|
|
2812
2848
|
{
|
|
2813
2849
|
"$ref": "#/components/schemas/FactionLookupResponse"
|
|
2814
2850
|
},
|
|
@@ -3773,7 +3809,7 @@
|
|
|
3773
3809
|
"description": "Code of the attack log. E.g. d51ad4fe6be884b309b142e2d1d4f807",
|
|
3774
3810
|
"required": true,
|
|
3775
3811
|
"schema": {
|
|
3776
|
-
"
|
|
3812
|
+
"$ref": "#/components/schemas/AttackCode"
|
|
3777
3813
|
}
|
|
3778
3814
|
},
|
|
3779
3815
|
{
|
|
@@ -4281,7 +4317,7 @@
|
|
|
4281
4317
|
"description": "Crime id",
|
|
4282
4318
|
"required": true,
|
|
4283
4319
|
"schema": {
|
|
4284
|
-
"
|
|
4320
|
+
"$ref": "#/components/schemas/TornCrimeId"
|
|
4285
4321
|
}
|
|
4286
4322
|
}
|
|
4287
4323
|
],
|
|
@@ -4472,22 +4508,13 @@
|
|
|
4472
4508
|
"$ref": "#/components/parameters/ApiLimit"
|
|
4473
4509
|
},
|
|
4474
4510
|
{
|
|
4475
|
-
"
|
|
4476
|
-
"in": "query",
|
|
4477
|
-
"description": "Timestamp until when rows are returned",
|
|
4478
|
-
"required": false,
|
|
4479
|
-
"schema": {
|
|
4480
|
-
"type": "integer"
|
|
4481
|
-
}
|
|
4511
|
+
"$ref": "#/components/parameters/ApiTo"
|
|
4482
4512
|
},
|
|
4483
4513
|
{
|
|
4484
|
-
"
|
|
4485
|
-
|
|
4486
|
-
|
|
4487
|
-
"
|
|
4488
|
-
"schema": {
|
|
4489
|
-
"type": "integer"
|
|
4490
|
-
}
|
|
4514
|
+
"$ref": "#/components/parameters/ApiFrom"
|
|
4515
|
+
},
|
|
4516
|
+
{
|
|
4517
|
+
"$ref": "#/components/parameters/ApiSort"
|
|
4491
4518
|
},
|
|
4492
4519
|
{
|
|
4493
4520
|
"name": "cat",
|
|
@@ -4498,19 +4525,6 @@
|
|
|
4498
4525
|
"type": "string"
|
|
4499
4526
|
}
|
|
4500
4527
|
},
|
|
4501
|
-
{
|
|
4502
|
-
"name": "sort",
|
|
4503
|
-
"in": "query",
|
|
4504
|
-
"description": "Direction to sort rows in",
|
|
4505
|
-
"required": false,
|
|
4506
|
-
"schema": {
|
|
4507
|
-
"type": "string",
|
|
4508
|
-
"enum": [
|
|
4509
|
-
"DESC",
|
|
4510
|
-
"ASC"
|
|
4511
|
-
]
|
|
4512
|
-
}
|
|
4513
|
-
},
|
|
4514
4528
|
{
|
|
4515
4529
|
"$ref": "#/components/parameters/ApiOffsetNoDefault"
|
|
4516
4530
|
}
|
|
@@ -4540,6 +4554,9 @@
|
|
|
4540
4554
|
{
|
|
4541
4555
|
"$ref": "#/components/schemas/TornLogTypesResponse"
|
|
4542
4556
|
},
|
|
4557
|
+
{
|
|
4558
|
+
"$ref": "#/components/schemas/TornItemsResponse"
|
|
4559
|
+
},
|
|
4543
4560
|
{
|
|
4544
4561
|
"$ref": "#/components/schemas/TornLogCategoriesResponse"
|
|
4545
4562
|
},
|
|
@@ -4555,6 +4572,9 @@
|
|
|
4555
4572
|
{
|
|
4556
4573
|
"$ref": "#/components/schemas/TornFactionTreeResponse"
|
|
4557
4574
|
},
|
|
4575
|
+
{
|
|
4576
|
+
"$ref": "#/components/schemas/AttackLogResponse"
|
|
4577
|
+
},
|
|
4558
4578
|
{
|
|
4559
4579
|
"$ref": "#/components/schemas/TornTerritoriesResponse"
|
|
4560
4580
|
},
|
|
@@ -8753,7 +8773,8 @@
|
|
|
8753
8773
|
"attacksdamaging",
|
|
8754
8774
|
"attacksrunaway",
|
|
8755
8775
|
"highestterritories",
|
|
8756
|
-
"territoryrespect"
|
|
8776
|
+
"territoryrespect",
|
|
8777
|
+
"membersamount"
|
|
8757
8778
|
]
|
|
8758
8779
|
},
|
|
8759
8780
|
"FactionBranchStateEnum": {
|
|
@@ -9248,6 +9269,10 @@
|
|
|
9248
9269
|
"type": "integer",
|
|
9249
9270
|
"format": "int64"
|
|
9250
9271
|
},
|
|
9272
|
+
"TornCrimeId": {
|
|
9273
|
+
"type": "integer",
|
|
9274
|
+
"format": "int32"
|
|
9275
|
+
},
|
|
9251
9276
|
"ChainId": {
|
|
9252
9277
|
"type": "integer",
|
|
9253
9278
|
"format": "int32"
|
|
@@ -10768,10 +10793,7 @@
|
|
|
10768
10793
|
],
|
|
10769
10794
|
"properties": {
|
|
10770
10795
|
"hof": {
|
|
10771
|
-
"
|
|
10772
|
-
"items": {
|
|
10773
|
-
"$ref": "#/components/schemas/FactionHofStats"
|
|
10774
|
-
}
|
|
10796
|
+
"$ref": "#/components/schemas/FactionHofStats"
|
|
10775
10797
|
}
|
|
10776
10798
|
},
|
|
10777
10799
|
"type": "object"
|
|
@@ -11463,7 +11485,8 @@
|
|
|
11463
11485
|
"type": "string"
|
|
11464
11486
|
},
|
|
11465
11487
|
"level": {
|
|
11466
|
-
"type": "
|
|
11488
|
+
"type": "integer",
|
|
11489
|
+
"format": "int32"
|
|
11467
11490
|
},
|
|
11468
11491
|
"stats": {
|
|
11469
11492
|
"required": [
|
|
@@ -12309,7 +12332,7 @@
|
|
|
12309
12332
|
"type": "object"
|
|
12310
12333
|
},
|
|
12311
12334
|
"FactionSelectionName": {
|
|
12312
|
-
"description": "The following selections will fallback to API v1 and may change at any time: 'armor', 'boosters', 'caches', 'cesium', 'crimeexp', 'drugs', 'medical', 'positions', 'reports', 'temporary', 'weapons'.",
|
|
12335
|
+
"description": "The following selections will fallback to API v1 and may change at any time: 'armor', 'boosters', 'caches', 'cesium', 'crimeexp', 'drugs', 'medical', 'positions', 'reports', 'temporary', 'weapons'.\n * The following selections are not available in API v2: 'armorynews', 'attacknews', 'crimenews', 'currency', 'donations', 'fundsnews', 'mainnews', 'membershipnews', 'territorynews'.",
|
|
12313
12336
|
"type": "string",
|
|
12314
12337
|
"enum": [
|
|
12315
12338
|
"applications",
|
|
@@ -12350,7 +12373,16 @@
|
|
|
12350
12373
|
"positions",
|
|
12351
12374
|
"reports",
|
|
12352
12375
|
"temporary",
|
|
12353
|
-
"weapons"
|
|
12376
|
+
"weapons",
|
|
12377
|
+
"armorynews",
|
|
12378
|
+
"attacknews",
|
|
12379
|
+
"crimenews",
|
|
12380
|
+
"currency",
|
|
12381
|
+
"donations",
|
|
12382
|
+
"fundsnews",
|
|
12383
|
+
"mainnews",
|
|
12384
|
+
"membershipnews",
|
|
12385
|
+
"territorynews"
|
|
12354
12386
|
]
|
|
12355
12387
|
},
|
|
12356
12388
|
"FactionLookupResponse": {
|
|
@@ -13317,7 +13349,8 @@
|
|
|
13317
13349
|
"itemmarket",
|
|
13318
13350
|
"lookup",
|
|
13319
13351
|
"timestamp",
|
|
13320
|
-
"pointsmarket"
|
|
13352
|
+
"pointsmarket",
|
|
13353
|
+
"bazaar"
|
|
13321
13354
|
]
|
|
13322
13355
|
},
|
|
13323
13356
|
"MarketLookupResponse": {
|
|
@@ -13832,25 +13865,30 @@
|
|
|
13832
13865
|
"type": "object"
|
|
13833
13866
|
},
|
|
13834
13867
|
"RacingRaceDetailsResponse": {
|
|
13835
|
-
"
|
|
13836
|
-
{
|
|
13837
|
-
"
|
|
13838
|
-
|
|
13839
|
-
|
|
13840
|
-
|
|
13841
|
-
|
|
13842
|
-
"
|
|
13843
|
-
|
|
13844
|
-
|
|
13845
|
-
|
|
13868
|
+
"properties": {
|
|
13869
|
+
"race": {
|
|
13870
|
+
"allOf": [
|
|
13871
|
+
{
|
|
13872
|
+
"required": [
|
|
13873
|
+
"results"
|
|
13874
|
+
],
|
|
13875
|
+
"properties": {
|
|
13876
|
+
"results": {
|
|
13877
|
+
"type": "array",
|
|
13878
|
+
"items": {
|
|
13879
|
+
"$ref": "#/components/schemas/RacerDetails"
|
|
13880
|
+
}
|
|
13881
|
+
}
|
|
13882
|
+
},
|
|
13883
|
+
"type": "object"
|
|
13884
|
+
},
|
|
13885
|
+
{
|
|
13886
|
+
"$ref": "#/components/schemas/Race"
|
|
13846
13887
|
}
|
|
13847
|
-
|
|
13848
|
-
"type": "object"
|
|
13849
|
-
},
|
|
13850
|
-
{
|
|
13851
|
-
"$ref": "#/components/schemas/Race"
|
|
13888
|
+
]
|
|
13852
13889
|
}
|
|
13853
|
-
|
|
13890
|
+
},
|
|
13891
|
+
"type": "object"
|
|
13854
13892
|
},
|
|
13855
13893
|
"RacingSelectionName": {
|
|
13856
13894
|
"type": "string",
|
|
@@ -14198,13 +14236,11 @@
|
|
|
14198
14236
|
"enhancer_id",
|
|
14199
14237
|
"enhancer_name",
|
|
14200
14238
|
"unique_outcomes_count",
|
|
14201
|
-
"unique_outcomes_ids"
|
|
14202
|
-
"notes"
|
|
14239
|
+
"unique_outcomes_ids"
|
|
14203
14240
|
],
|
|
14204
14241
|
"properties": {
|
|
14205
14242
|
"id": {
|
|
14206
|
-
"
|
|
14207
|
-
"format": "int32"
|
|
14243
|
+
"$ref": "#/components/schemas/TornCrimeId"
|
|
14208
14244
|
},
|
|
14209
14245
|
"name": {
|
|
14210
14246
|
"type": "string"
|
|
@@ -14424,7 +14460,7 @@
|
|
|
14424
14460
|
},
|
|
14425
14461
|
"TornFactionHof": {
|
|
14426
14462
|
"required": [
|
|
14427
|
-
"
|
|
14463
|
+
"id",
|
|
14428
14464
|
"name",
|
|
14429
14465
|
"members",
|
|
14430
14466
|
"position",
|
|
@@ -14432,7 +14468,7 @@
|
|
|
14432
14468
|
"values"
|
|
14433
14469
|
],
|
|
14434
14470
|
"properties": {
|
|
14435
|
-
"
|
|
14471
|
+
"id": {
|
|
14436
14472
|
"$ref": "#/components/schemas/FactionId"
|
|
14437
14473
|
},
|
|
14438
14474
|
"name": {
|
|
@@ -15272,13 +15308,16 @@
|
|
|
15272
15308
|
],
|
|
15273
15309
|
"properties": {
|
|
15274
15310
|
"factionTree": {
|
|
15275
|
-
"
|
|
15311
|
+
"type": "array",
|
|
15312
|
+
"items": {
|
|
15313
|
+
"$ref": "#/components/schemas/TornFactionTree"
|
|
15314
|
+
}
|
|
15276
15315
|
}
|
|
15277
15316
|
},
|
|
15278
15317
|
"type": "object"
|
|
15279
15318
|
},
|
|
15280
15319
|
"TornSelectionName": {
|
|
15281
|
-
"description": "The following selections will fallback to API v1 and may change at any time: 'bank','cards','cityshops','companies','competition','dirtybombs','gyms','honors','itemdetails','itemstats','medals','organisedcrimes','pawnshop','pokertables','properties','raidreport','raids','rockpaperscissors','searchforcash','shoplifting','stats','stocks'.",
|
|
15320
|
+
"description": "The following selections will fallback to API v1 and may change at any time: 'bank','cards','cityshops','companies','competition','dirtybombs','gyms','honors','itemdetails','itemstats','medals','organisedcrimes','pawnshop','pokertables','properties','raidreport','raids','rockpaperscissors','searchforcash','shoplifting','stats','stocks'.\n * The following selections are not available in API v2: 'chainreport', 'rackets', 'rankedwarreport', 'rankedwars', 'territorynames', 'territorywarreport', 'territorywars'.",
|
|
15282
15321
|
"type": "string",
|
|
15283
15322
|
"enum": [
|
|
15284
15323
|
"attacklog",
|
|
@@ -15319,7 +15358,14 @@
|
|
|
15319
15358
|
"searchforcash",
|
|
15320
15359
|
"shoplifting",
|
|
15321
15360
|
"stats",
|
|
15322
|
-
"stocks"
|
|
15361
|
+
"stocks",
|
|
15362
|
+
"chainreport",
|
|
15363
|
+
"rackets",
|
|
15364
|
+
"rankedwarreport",
|
|
15365
|
+
"rankedwars",
|
|
15366
|
+
"territorynames",
|
|
15367
|
+
"territorywarreport",
|
|
15368
|
+
"territorywars"
|
|
15323
15369
|
]
|
|
15324
15370
|
},
|
|
15325
15371
|
"TornLookupResponse": {
|
|
@@ -19029,10 +19075,7 @@
|
|
|
19029
19075
|
"format": "int64"
|
|
19030
19076
|
},
|
|
19031
19077
|
"rewards": {
|
|
19032
|
-
"
|
|
19033
|
-
"items": {
|
|
19034
|
-
"$ref": "#/components/schemas/UserCrimeUniquesReward"
|
|
19035
|
-
}
|
|
19078
|
+
"$ref": "#/components/schemas/UserCrimeUniquesReward"
|
|
19036
19079
|
}
|
|
19037
19080
|
},
|
|
19038
19081
|
"type": "object"
|
|
@@ -19106,6 +19149,9 @@
|
|
|
19106
19149
|
},
|
|
19107
19150
|
{
|
|
19108
19151
|
"$ref": "#/components/schemas/UserCrimeDetailsScamming"
|
|
19152
|
+
},
|
|
19153
|
+
{
|
|
19154
|
+
"type": "null"
|
|
19109
19155
|
}
|
|
19110
19156
|
]
|
|
19111
19157
|
}
|
|
@@ -19148,7 +19194,14 @@
|
|
|
19148
19194
|
"$ref": "#/components/schemas/RaceCarId"
|
|
19149
19195
|
},
|
|
19150
19196
|
"name": {
|
|
19151
|
-
"
|
|
19197
|
+
"oneOf": [
|
|
19198
|
+
{
|
|
19199
|
+
"type": "string"
|
|
19200
|
+
},
|
|
19201
|
+
{
|
|
19202
|
+
"type": "null"
|
|
19203
|
+
}
|
|
19204
|
+
]
|
|
19152
19205
|
},
|
|
19153
19206
|
"worth": {
|
|
19154
19207
|
"type": "integer",
|
|
@@ -19388,10 +19441,7 @@
|
|
|
19388
19441
|
],
|
|
19389
19442
|
"properties": {
|
|
19390
19443
|
"hof": {
|
|
19391
|
-
"
|
|
19392
|
-
"items": {
|
|
19393
|
-
"$ref": "#/components/schemas/UserHofStats"
|
|
19394
|
-
}
|
|
19444
|
+
"$ref": "#/components/schemas/UserHofStats"
|
|
19395
19445
|
}
|
|
19396
19446
|
},
|
|
19397
19447
|
"type": "object"
|