tornapi-typescript 0.1.3 → 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 +104 -23
- package/dist/openapi.json +417 -84
- 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
|
|
|
@@ -4511,10 +4512,14 @@ export type LogCategoryId = number;
|
|
|
4511
4512
|
|
|
4512
4513
|
export type FactionId = number;
|
|
4513
4514
|
|
|
4515
|
+
export type EducationId = number;
|
|
4516
|
+
|
|
4514
4517
|
export type FactionBranchId = number;
|
|
4515
4518
|
|
|
4516
4519
|
export type FactionCrimeId = number;
|
|
4517
4520
|
|
|
4521
|
+
export type TornCrimeId = number;
|
|
4522
|
+
|
|
4518
4523
|
export type ChainId = number;
|
|
4519
4524
|
|
|
4520
4525
|
export type AttackId = number;
|
|
@@ -5005,7 +5010,7 @@ export interface FactionHofStats {
|
|
|
5005
5010
|
}
|
|
5006
5011
|
|
|
5007
5012
|
export interface FactionHofResponse {
|
|
5008
|
-
hof: FactionHofStats
|
|
5013
|
+
hof: FactionHofStats;
|
|
5009
5014
|
}
|
|
5010
5015
|
|
|
5011
5016
|
/** Details about a faction member. */
|
|
@@ -5185,7 +5190,7 @@ export interface FactionApplication {
|
|
|
5185
5190
|
user: {
|
|
5186
5191
|
id: UserId;
|
|
5187
5192
|
name: string;
|
|
5188
|
-
level:
|
|
5193
|
+
level: number;
|
|
5189
5194
|
stats: {
|
|
5190
5195
|
strength: number;
|
|
5191
5196
|
speed: number;
|
|
@@ -5393,7 +5398,10 @@ export interface FactionBalanceResponse {
|
|
|
5393
5398
|
balance: FactionBalance;
|
|
5394
5399
|
}
|
|
5395
5400
|
|
|
5396
|
-
/**
|
|
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
|
+
*/
|
|
5397
5405
|
export type FactionSelectionName =
|
|
5398
5406
|
| "applications"
|
|
5399
5407
|
| "attacks"
|
|
@@ -5410,11 +5418,16 @@ export type FactionSelectionName =
|
|
|
5410
5418
|
| "lookup"
|
|
5411
5419
|
| "members"
|
|
5412
5420
|
| "news"
|
|
5421
|
+
| "rackets"
|
|
5413
5422
|
| "rankedwars"
|
|
5414
5423
|
| "rankedwarreport"
|
|
5415
5424
|
| "revives"
|
|
5416
5425
|
| "revivesfull"
|
|
5417
5426
|
| "stats"
|
|
5427
|
+
| "territory"
|
|
5428
|
+
| "territoryownership"
|
|
5429
|
+
| "territorywarreport"
|
|
5430
|
+
| "territorywars"
|
|
5418
5431
|
| "timestamp"
|
|
5419
5432
|
| "upgrades"
|
|
5420
5433
|
| "wars"
|
|
@@ -5428,8 +5441,16 @@ export type FactionSelectionName =
|
|
|
5428
5441
|
| "positions"
|
|
5429
5442
|
| "reports"
|
|
5430
5443
|
| "temporary"
|
|
5431
|
-
| "
|
|
5432
|
-
| "
|
|
5444
|
+
| "weapons"
|
|
5445
|
+
| "armorynews"
|
|
5446
|
+
| "attacknews"
|
|
5447
|
+
| "crimenews"
|
|
5448
|
+
| "currency"
|
|
5449
|
+
| "donations"
|
|
5450
|
+
| "fundsnews"
|
|
5451
|
+
| "mainnews"
|
|
5452
|
+
| "membershipnews"
|
|
5453
|
+
| "territorynews";
|
|
5433
5454
|
|
|
5434
5455
|
export interface FactionLookupResponse {
|
|
5435
5456
|
selections: FactionSelectionName[];
|
|
@@ -5671,7 +5692,8 @@ export type MarketSelectionName =
|
|
|
5671
5692
|
| "itemmarket"
|
|
5672
5693
|
| "lookup"
|
|
5673
5694
|
| "timestamp"
|
|
5674
|
-
| "pointsmarket"
|
|
5695
|
+
| "pointsmarket"
|
|
5696
|
+
| "bazaar";
|
|
5675
5697
|
|
|
5676
5698
|
export interface MarketLookupResponse {
|
|
5677
5699
|
selections: MarketSelectionName[];
|
|
@@ -5788,8 +5810,10 @@ export interface RacerDetails {
|
|
|
5788
5810
|
time_ended: number | null;
|
|
5789
5811
|
}
|
|
5790
5812
|
|
|
5791
|
-
export interface RacingRaceDetailsResponse
|
|
5792
|
-
|
|
5813
|
+
export interface RacingRaceDetailsResponse {
|
|
5814
|
+
race?: {
|
|
5815
|
+
results: RacerDetails[];
|
|
5816
|
+
} & Race;
|
|
5793
5817
|
}
|
|
5794
5818
|
|
|
5795
5819
|
export type RacingSelectionName =
|
|
@@ -5806,6 +5830,41 @@ export interface RacingLookupResponse {
|
|
|
5806
5830
|
selections: RacingSelectionName[];
|
|
5807
5831
|
}
|
|
5808
5832
|
|
|
5833
|
+
export interface TornEducationRewards {
|
|
5834
|
+
working_stats: {
|
|
5835
|
+
manual_labor: number | null;
|
|
5836
|
+
intelligence: number | null;
|
|
5837
|
+
endurance: number | null;
|
|
5838
|
+
};
|
|
5839
|
+
effect: string | null;
|
|
5840
|
+
honor: string | null;
|
|
5841
|
+
}
|
|
5842
|
+
|
|
5843
|
+
export interface TornEducationPrerequisites {
|
|
5844
|
+
cost: number;
|
|
5845
|
+
courses: number[];
|
|
5846
|
+
}
|
|
5847
|
+
|
|
5848
|
+
export interface TornEducationCourses {
|
|
5849
|
+
id: EducationId;
|
|
5850
|
+
code: string;
|
|
5851
|
+
name: string;
|
|
5852
|
+
description: string;
|
|
5853
|
+
duration: number;
|
|
5854
|
+
rewards: TornEducationRewards;
|
|
5855
|
+
prerequisites: TornEducationPrerequisites;
|
|
5856
|
+
}
|
|
5857
|
+
|
|
5858
|
+
export interface TornEducation {
|
|
5859
|
+
id: number;
|
|
5860
|
+
name: string;
|
|
5861
|
+
courses: TornEducationCourses[];
|
|
5862
|
+
}
|
|
5863
|
+
|
|
5864
|
+
export interface TornEducationResponse {
|
|
5865
|
+
education: TornEducation[];
|
|
5866
|
+
}
|
|
5867
|
+
|
|
5809
5868
|
export interface TornTerritoryCoordinates {
|
|
5810
5869
|
x: number;
|
|
5811
5870
|
y: number;
|
|
@@ -5846,7 +5905,7 @@ export interface TornCrimesResponse {
|
|
|
5846
5905
|
}
|
|
5847
5906
|
|
|
5848
5907
|
export interface TornCrime {
|
|
5849
|
-
id:
|
|
5908
|
+
id: TornCrimeId;
|
|
5850
5909
|
name: string;
|
|
5851
5910
|
category_id: number;
|
|
5852
5911
|
category_name?: string;
|
|
@@ -5854,7 +5913,7 @@ export interface TornCrime {
|
|
|
5854
5913
|
enhancer_name: string;
|
|
5855
5914
|
unique_outcomes_count: number;
|
|
5856
5915
|
unique_outcomes_ids: number[];
|
|
5857
|
-
notes
|
|
5916
|
+
notes?: string[];
|
|
5858
5917
|
}
|
|
5859
5918
|
|
|
5860
5919
|
export interface TornCalendarActivity {
|
|
@@ -5898,7 +5957,7 @@ export interface FactionHofValues {
|
|
|
5898
5957
|
}
|
|
5899
5958
|
|
|
5900
5959
|
export interface TornFactionHof {
|
|
5901
|
-
|
|
5960
|
+
id: FactionId;
|
|
5902
5961
|
name: string;
|
|
5903
5962
|
members: number;
|
|
5904
5963
|
position: number;
|
|
@@ -6096,15 +6155,19 @@ export interface TornFactionTree {
|
|
|
6096
6155
|
}
|
|
6097
6156
|
|
|
6098
6157
|
export interface TornFactionTreeResponse {
|
|
6099
|
-
factionTree: TornFactionTree;
|
|
6158
|
+
factionTree: TornFactionTree[];
|
|
6100
6159
|
}
|
|
6101
6160
|
|
|
6102
|
-
/**
|
|
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
|
+
*/
|
|
6103
6165
|
export type TornSelectionName =
|
|
6104
6166
|
| "attacklog"
|
|
6105
6167
|
| "bounties"
|
|
6106
6168
|
| "calendar"
|
|
6107
6169
|
| "crimes"
|
|
6170
|
+
| "education"
|
|
6108
6171
|
| "factionHof"
|
|
6109
6172
|
| "factiontree"
|
|
6110
6173
|
| "hof"
|
|
@@ -6123,7 +6186,6 @@ export type TornSelectionName =
|
|
|
6123
6186
|
| "companies"
|
|
6124
6187
|
| "competition"
|
|
6125
6188
|
| "dirtybombs"
|
|
6126
|
-
| "education"
|
|
6127
6189
|
| "gyms"
|
|
6128
6190
|
| "honors"
|
|
6129
6191
|
| "itemdetails"
|
|
@@ -6133,16 +6195,20 @@ export type TornSelectionName =
|
|
|
6133
6195
|
| "pawnshop"
|
|
6134
6196
|
| "pokertables"
|
|
6135
6197
|
| "properties"
|
|
6136
|
-
| "rackets"
|
|
6137
6198
|
| "raidreport"
|
|
6138
6199
|
| "raids"
|
|
6139
|
-
| "rankedwarreport"
|
|
6140
|
-
| "rankedwars"
|
|
6141
6200
|
| "rockpaperscissors"
|
|
6142
6201
|
| "searchforcash"
|
|
6143
6202
|
| "shoplifting"
|
|
6144
6203
|
| "stats"
|
|
6145
|
-
| "stocks"
|
|
6204
|
+
| "stocks"
|
|
6205
|
+
| "chainreport"
|
|
6206
|
+
| "rackets"
|
|
6207
|
+
| "rankedwarreport"
|
|
6208
|
+
| "rankedwars"
|
|
6209
|
+
| "territorynames"
|
|
6210
|
+
| "territorywarreport"
|
|
6211
|
+
| "territorywars";
|
|
6146
6212
|
|
|
6147
6213
|
export interface TornLookupResponse {
|
|
6148
6214
|
selections: TornSelectionName[];
|
|
@@ -7059,6 +7125,20 @@ export type PersonalStatsStatName =
|
|
|
7059
7125
|
| "forgeryskill"
|
|
7060
7126
|
| "scammingskill";
|
|
7061
7127
|
|
|
7128
|
+
export interface UserCurrentEducation {
|
|
7129
|
+
id: EducationId;
|
|
7130
|
+
until: number;
|
|
7131
|
+
}
|
|
7132
|
+
|
|
7133
|
+
export interface UserEducation {
|
|
7134
|
+
complete: EducationId[];
|
|
7135
|
+
current: UserCurrentEducation | null;
|
|
7136
|
+
}
|
|
7137
|
+
|
|
7138
|
+
export interface UserEducationResponse {
|
|
7139
|
+
education: UserEducation;
|
|
7140
|
+
}
|
|
7141
|
+
|
|
7062
7142
|
export interface UserCrimeDetailsBootlegging {
|
|
7063
7143
|
/** Online store statistics. */
|
|
7064
7144
|
online_store: {
|
|
@@ -7209,7 +7289,7 @@ export interface UserCrimeUniquesReward {
|
|
|
7209
7289
|
export interface UserCrimeUniques {
|
|
7210
7290
|
/** Unique result id. */
|
|
7211
7291
|
id: number;
|
|
7212
|
-
rewards: UserCrimeUniquesReward
|
|
7292
|
+
rewards: UserCrimeUniquesReward;
|
|
7213
7293
|
}
|
|
7214
7294
|
|
|
7215
7295
|
export interface UserCrimesResponse {
|
|
@@ -7230,7 +7310,8 @@ export interface UserCrime {
|
|
|
7230
7310
|
| UserCrimeDetailsCardSkimming
|
|
7231
7311
|
| UserCrimeDetailsHustling
|
|
7232
7312
|
| UserCrimeDetailsCracking
|
|
7233
|
-
| UserCrimeDetailsScamming
|
|
7313
|
+
| UserCrimeDetailsScamming
|
|
7314
|
+
| null;
|
|
7234
7315
|
}
|
|
7235
7316
|
|
|
7236
7317
|
export interface UserRacesResponse {
|
|
@@ -7240,7 +7321,7 @@ export interface UserRacesResponse {
|
|
|
7240
7321
|
|
|
7241
7322
|
export interface UserRaceCarDetails extends RaceCar {
|
|
7242
7323
|
id: RaceCarId;
|
|
7243
|
-
name: string;
|
|
7324
|
+
name: string | null;
|
|
7244
7325
|
worth: number;
|
|
7245
7326
|
points_spent: number;
|
|
7246
7327
|
races_entered: number;
|
|
@@ -7304,7 +7385,7 @@ export interface UserHofStats {
|
|
|
7304
7385
|
}
|
|
7305
7386
|
|
|
7306
7387
|
export interface UserHofResponse {
|
|
7307
|
-
hof: UserHofStats
|
|
7388
|
+
hof: UserHofStats;
|
|
7308
7389
|
}
|
|
7309
7390
|
|
|
7310
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.2
|
|
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
|
],
|
|
@@ -224,6 +224,33 @@
|
|
|
224
224
|
"x-stability": "Stable"
|
|
225
225
|
}
|
|
226
226
|
},
|
|
227
|
+
"/user/education": {
|
|
228
|
+
"get": {
|
|
229
|
+
"tags": [
|
|
230
|
+
"User"
|
|
231
|
+
],
|
|
232
|
+
"summary": "Get your education information",
|
|
233
|
+
"description": "The response contains a list of complete eduactions and of a current education (if any).",
|
|
234
|
+
"responses": {
|
|
235
|
+
"200": {
|
|
236
|
+
"description": "Successful operation",
|
|
237
|
+
"content": {
|
|
238
|
+
"application/json": {
|
|
239
|
+
"schema": {
|
|
240
|
+
"$ref": "#/components/schemas/UserEducationResponse"
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
"security": [
|
|
247
|
+
{
|
|
248
|
+
"api_key": []
|
|
249
|
+
}
|
|
250
|
+
],
|
|
251
|
+
"x-stability": "Unstable"
|
|
252
|
+
}
|
|
253
|
+
},
|
|
227
254
|
"/user/enlistedcars": {
|
|
228
255
|
"get": {
|
|
229
256
|
"tags": [
|
|
@@ -1180,12 +1207,24 @@
|
|
|
1180
1207
|
{
|
|
1181
1208
|
"$ref": "#/components/schemas/UserCalendarResponse"
|
|
1182
1209
|
},
|
|
1210
|
+
{
|
|
1211
|
+
"$ref": "#/components/schemas/UserEducationResponse"
|
|
1212
|
+
},
|
|
1183
1213
|
{
|
|
1184
1214
|
"$ref": "#/components/schemas/UserBountiesResponse"
|
|
1185
1215
|
},
|
|
1186
1216
|
{
|
|
1187
1217
|
"$ref": "#/components/schemas/UserJobRanksResponse"
|
|
1188
1218
|
},
|
|
1219
|
+
{
|
|
1220
|
+
"$ref": "#/components/schemas/UserFactionBalanceResponse"
|
|
1221
|
+
},
|
|
1222
|
+
{
|
|
1223
|
+
"$ref": "#/components/schemas/RevivesResponse"
|
|
1224
|
+
},
|
|
1225
|
+
{
|
|
1226
|
+
"$ref": "#/components/schemas/RevivesFullResponse"
|
|
1227
|
+
},
|
|
1189
1228
|
{
|
|
1190
1229
|
"$ref": "#/components/schemas/UserItemMarketResponse"
|
|
1191
1230
|
},
|
|
@@ -1757,7 +1796,7 @@
|
|
|
1757
1796
|
"x-stability": "Stable"
|
|
1758
1797
|
}
|
|
1759
1798
|
},
|
|
1760
|
-
"/faction/{
|
|
1799
|
+
"/faction/{crimeId}/crime": {
|
|
1761
1800
|
"get": {
|
|
1762
1801
|
"tags": [
|
|
1763
1802
|
"Faction"
|
|
@@ -1766,12 +1805,12 @@
|
|
|
1766
1805
|
"description": "Requires minimal access key with faction API access permissions. <br>",
|
|
1767
1806
|
"parameters": [
|
|
1768
1807
|
{
|
|
1769
|
-
"name": "
|
|
1808
|
+
"name": "crimeId",
|
|
1770
1809
|
"in": "path",
|
|
1771
1810
|
"description": "Crime id",
|
|
1772
1811
|
"required": true,
|
|
1773
1812
|
"schema": {
|
|
1774
|
-
"$ref": "#/components/schemas/
|
|
1813
|
+
"$ref": "#/components/schemas/FactionCrimeId"
|
|
1775
1814
|
}
|
|
1776
1815
|
}
|
|
1777
1816
|
],
|
|
@@ -2737,9 +2776,27 @@
|
|
|
2737
2776
|
{
|
|
2738
2777
|
"$ref": "#/components/schemas/FactionNewsResponse"
|
|
2739
2778
|
},
|
|
2779
|
+
{
|
|
2780
|
+
"$ref": "#/components/schemas/RevivesResponse"
|
|
2781
|
+
},
|
|
2782
|
+
{
|
|
2783
|
+
"$ref": "#/components/schemas/FactionTerritoryWarsHistoryResponse"
|
|
2784
|
+
},
|
|
2740
2785
|
{
|
|
2741
2786
|
"$ref": "#/components/schemas/FactionAttacksResponse"
|
|
2742
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
|
+
},
|
|
2743
2800
|
{
|
|
2744
2801
|
"$ref": "#/components/schemas/FactionAttacksFullResponse"
|
|
2745
2802
|
},
|
|
@@ -2776,9 +2833,18 @@
|
|
|
2776
2833
|
{
|
|
2777
2834
|
"$ref": "#/components/schemas/FactionStatsResponse"
|
|
2778
2835
|
},
|
|
2836
|
+
{
|
|
2837
|
+
"$ref": "#/components/schemas/FactionTerritoryWarsResponse"
|
|
2838
|
+
},
|
|
2779
2839
|
{
|
|
2780
2840
|
"$ref": "#/components/schemas/FactionContributorsResponse"
|
|
2781
2841
|
},
|
|
2842
|
+
{
|
|
2843
|
+
"$ref": "#/components/schemas/FactionRacketsReponse"
|
|
2844
|
+
},
|
|
2845
|
+
{
|
|
2846
|
+
"$ref": "#/components/schemas/FactionRankedWarResponse"
|
|
2847
|
+
},
|
|
2782
2848
|
{
|
|
2783
2849
|
"$ref": "#/components/schemas/FactionLookupResponse"
|
|
2784
2850
|
},
|
|
@@ -3743,7 +3809,7 @@
|
|
|
3743
3809
|
"description": "Code of the attack log. E.g. d51ad4fe6be884b309b142e2d1d4f807",
|
|
3744
3810
|
"required": true,
|
|
3745
3811
|
"schema": {
|
|
3746
|
-
"
|
|
3812
|
+
"$ref": "#/components/schemas/AttackCode"
|
|
3747
3813
|
}
|
|
3748
3814
|
},
|
|
3749
3815
|
{
|
|
@@ -3865,6 +3931,33 @@
|
|
|
3865
3931
|
"x-stability": "Stable"
|
|
3866
3932
|
}
|
|
3867
3933
|
},
|
|
3934
|
+
"/torn/education": {
|
|
3935
|
+
"get": {
|
|
3936
|
+
"tags": [
|
|
3937
|
+
"Torn"
|
|
3938
|
+
],
|
|
3939
|
+
"summary": "Get education information",
|
|
3940
|
+
"description": "Requires public access key.<br>",
|
|
3941
|
+
"responses": {
|
|
3942
|
+
"200": {
|
|
3943
|
+
"description": "Successful operation",
|
|
3944
|
+
"content": {
|
|
3945
|
+
"application/json": {
|
|
3946
|
+
"schema": {
|
|
3947
|
+
"$ref": "#/components/schemas/TornEducationResponse"
|
|
3948
|
+
}
|
|
3949
|
+
}
|
|
3950
|
+
}
|
|
3951
|
+
}
|
|
3952
|
+
},
|
|
3953
|
+
"security": [
|
|
3954
|
+
{
|
|
3955
|
+
"api_key": []
|
|
3956
|
+
}
|
|
3957
|
+
],
|
|
3958
|
+
"x-stability": "Unstable"
|
|
3959
|
+
}
|
|
3960
|
+
},
|
|
3868
3961
|
"/torn/factionhof": {
|
|
3869
3962
|
"get": {
|
|
3870
3963
|
"tags": [
|
|
@@ -4224,7 +4317,7 @@
|
|
|
4224
4317
|
"description": "Crime id",
|
|
4225
4318
|
"required": true,
|
|
4226
4319
|
"schema": {
|
|
4227
|
-
"
|
|
4320
|
+
"$ref": "#/components/schemas/TornCrimeId"
|
|
4228
4321
|
}
|
|
4229
4322
|
}
|
|
4230
4323
|
],
|
|
@@ -4283,7 +4376,7 @@
|
|
|
4283
4376
|
"x-stability": "Unstable"
|
|
4284
4377
|
}
|
|
4285
4378
|
},
|
|
4286
|
-
"/torn/{territoryIds}/
|
|
4379
|
+
"/torn/{territoryIds}/territory": {
|
|
4287
4380
|
"get": {
|
|
4288
4381
|
"tags": [
|
|
4289
4382
|
"Torn"
|
|
@@ -4415,22 +4508,13 @@
|
|
|
4415
4508
|
"$ref": "#/components/parameters/ApiLimit"
|
|
4416
4509
|
},
|
|
4417
4510
|
{
|
|
4418
|
-
"
|
|
4419
|
-
"in": "query",
|
|
4420
|
-
"description": "Timestamp until when rows are returned",
|
|
4421
|
-
"required": false,
|
|
4422
|
-
"schema": {
|
|
4423
|
-
"type": "integer"
|
|
4424
|
-
}
|
|
4511
|
+
"$ref": "#/components/parameters/ApiTo"
|
|
4425
4512
|
},
|
|
4426
4513
|
{
|
|
4427
|
-
"
|
|
4428
|
-
|
|
4429
|
-
|
|
4430
|
-
"
|
|
4431
|
-
"schema": {
|
|
4432
|
-
"type": "integer"
|
|
4433
|
-
}
|
|
4514
|
+
"$ref": "#/components/parameters/ApiFrom"
|
|
4515
|
+
},
|
|
4516
|
+
{
|
|
4517
|
+
"$ref": "#/components/parameters/ApiSort"
|
|
4434
4518
|
},
|
|
4435
4519
|
{
|
|
4436
4520
|
"name": "cat",
|
|
@@ -4441,19 +4525,6 @@
|
|
|
4441
4525
|
"type": "string"
|
|
4442
4526
|
}
|
|
4443
4527
|
},
|
|
4444
|
-
{
|
|
4445
|
-
"name": "sort",
|
|
4446
|
-
"in": "query",
|
|
4447
|
-
"description": "Direction to sort rows in",
|
|
4448
|
-
"required": false,
|
|
4449
|
-
"schema": {
|
|
4450
|
-
"type": "string",
|
|
4451
|
-
"enum": [
|
|
4452
|
-
"DESC",
|
|
4453
|
-
"ASC"
|
|
4454
|
-
]
|
|
4455
|
-
}
|
|
4456
|
-
},
|
|
4457
4528
|
{
|
|
4458
4529
|
"$ref": "#/components/parameters/ApiOffsetNoDefault"
|
|
4459
4530
|
}
|
|
@@ -4483,9 +4554,15 @@
|
|
|
4483
4554
|
{
|
|
4484
4555
|
"$ref": "#/components/schemas/TornLogTypesResponse"
|
|
4485
4556
|
},
|
|
4557
|
+
{
|
|
4558
|
+
"$ref": "#/components/schemas/TornItemsResponse"
|
|
4559
|
+
},
|
|
4486
4560
|
{
|
|
4487
4561
|
"$ref": "#/components/schemas/TornLogCategoriesResponse"
|
|
4488
4562
|
},
|
|
4563
|
+
{
|
|
4564
|
+
"$ref": "#/components/schemas/TornEducationResponse"
|
|
4565
|
+
},
|
|
4489
4566
|
{
|
|
4490
4567
|
"$ref": "#/components/schemas/TornBountiesResponse"
|
|
4491
4568
|
},
|
|
@@ -4495,6 +4572,9 @@
|
|
|
4495
4572
|
{
|
|
4496
4573
|
"$ref": "#/components/schemas/TornFactionTreeResponse"
|
|
4497
4574
|
},
|
|
4575
|
+
{
|
|
4576
|
+
"$ref": "#/components/schemas/AttackLogResponse"
|
|
4577
|
+
},
|
|
4498
4578
|
{
|
|
4499
4579
|
"$ref": "#/components/schemas/TornTerritoriesResponse"
|
|
4500
4580
|
},
|
|
@@ -8693,7 +8773,8 @@
|
|
|
8693
8773
|
"attacksdamaging",
|
|
8694
8774
|
"attacksrunaway",
|
|
8695
8775
|
"highestterritories",
|
|
8696
|
-
"territoryrespect"
|
|
8776
|
+
"territoryrespect",
|
|
8777
|
+
"membersamount"
|
|
8697
8778
|
]
|
|
8698
8779
|
},
|
|
8699
8780
|
"FactionBranchStateEnum": {
|
|
@@ -9176,6 +9257,10 @@
|
|
|
9176
9257
|
"type": "integer",
|
|
9177
9258
|
"format": "int32"
|
|
9178
9259
|
},
|
|
9260
|
+
"EducationId": {
|
|
9261
|
+
"type": "integer",
|
|
9262
|
+
"format": "int32"
|
|
9263
|
+
},
|
|
9179
9264
|
"FactionBranchId": {
|
|
9180
9265
|
"type": "integer",
|
|
9181
9266
|
"format": "int32"
|
|
@@ -9184,6 +9269,10 @@
|
|
|
9184
9269
|
"type": "integer",
|
|
9185
9270
|
"format": "int64"
|
|
9186
9271
|
},
|
|
9272
|
+
"TornCrimeId": {
|
|
9273
|
+
"type": "integer",
|
|
9274
|
+
"format": "int32"
|
|
9275
|
+
},
|
|
9187
9276
|
"ChainId": {
|
|
9188
9277
|
"type": "integer",
|
|
9189
9278
|
"format": "int32"
|
|
@@ -10704,10 +10793,7 @@
|
|
|
10704
10793
|
],
|
|
10705
10794
|
"properties": {
|
|
10706
10795
|
"hof": {
|
|
10707
|
-
"
|
|
10708
|
-
"items": {
|
|
10709
|
-
"$ref": "#/components/schemas/FactionHofStats"
|
|
10710
|
-
}
|
|
10796
|
+
"$ref": "#/components/schemas/FactionHofStats"
|
|
10711
10797
|
}
|
|
10712
10798
|
},
|
|
10713
10799
|
"type": "object"
|
|
@@ -11399,7 +11485,8 @@
|
|
|
11399
11485
|
"type": "string"
|
|
11400
11486
|
},
|
|
11401
11487
|
"level": {
|
|
11402
|
-
"type": "
|
|
11488
|
+
"type": "integer",
|
|
11489
|
+
"format": "int32"
|
|
11403
11490
|
},
|
|
11404
11491
|
"stats": {
|
|
11405
11492
|
"required": [
|
|
@@ -12245,7 +12332,7 @@
|
|
|
12245
12332
|
"type": "object"
|
|
12246
12333
|
},
|
|
12247
12334
|
"FactionSelectionName": {
|
|
12248
|
-
"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'.",
|
|
12249
12336
|
"type": "string",
|
|
12250
12337
|
"enum": [
|
|
12251
12338
|
"applications",
|
|
@@ -12263,11 +12350,16 @@
|
|
|
12263
12350
|
"lookup",
|
|
12264
12351
|
"members",
|
|
12265
12352
|
"news",
|
|
12353
|
+
"rackets",
|
|
12266
12354
|
"rankedwars",
|
|
12267
12355
|
"rankedwarreport",
|
|
12268
12356
|
"revives",
|
|
12269
12357
|
"revivesfull",
|
|
12270
12358
|
"stats",
|
|
12359
|
+
"territory",
|
|
12360
|
+
"territoryownership",
|
|
12361
|
+
"territorywarreport",
|
|
12362
|
+
"territorywars",
|
|
12271
12363
|
"timestamp",
|
|
12272
12364
|
"upgrades",
|
|
12273
12365
|
"wars",
|
|
@@ -12281,8 +12373,16 @@
|
|
|
12281
12373
|
"positions",
|
|
12282
12374
|
"reports",
|
|
12283
12375
|
"temporary",
|
|
12284
|
-
"
|
|
12285
|
-
"
|
|
12376
|
+
"weapons",
|
|
12377
|
+
"armorynews",
|
|
12378
|
+
"attacknews",
|
|
12379
|
+
"crimenews",
|
|
12380
|
+
"currency",
|
|
12381
|
+
"donations",
|
|
12382
|
+
"fundsnews",
|
|
12383
|
+
"mainnews",
|
|
12384
|
+
"membershipnews",
|
|
12385
|
+
"territorynews"
|
|
12286
12386
|
]
|
|
12287
12387
|
},
|
|
12288
12388
|
"FactionLookupResponse": {
|
|
@@ -13249,7 +13349,8 @@
|
|
|
13249
13349
|
"itemmarket",
|
|
13250
13350
|
"lookup",
|
|
13251
13351
|
"timestamp",
|
|
13252
|
-
"pointsmarket"
|
|
13352
|
+
"pointsmarket",
|
|
13353
|
+
"bazaar"
|
|
13253
13354
|
]
|
|
13254
13355
|
},
|
|
13255
13356
|
"MarketLookupResponse": {
|
|
@@ -13764,25 +13865,30 @@
|
|
|
13764
13865
|
"type": "object"
|
|
13765
13866
|
},
|
|
13766
13867
|
"RacingRaceDetailsResponse": {
|
|
13767
|
-
"
|
|
13768
|
-
{
|
|
13769
|
-
"
|
|
13770
|
-
|
|
13771
|
-
|
|
13772
|
-
|
|
13773
|
-
|
|
13774
|
-
"
|
|
13775
|
-
|
|
13776
|
-
|
|
13777
|
-
|
|
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"
|
|
13778
13887
|
}
|
|
13779
|
-
|
|
13780
|
-
"type": "object"
|
|
13781
|
-
},
|
|
13782
|
-
{
|
|
13783
|
-
"$ref": "#/components/schemas/Race"
|
|
13888
|
+
]
|
|
13784
13889
|
}
|
|
13785
|
-
|
|
13890
|
+
},
|
|
13891
|
+
"type": "object"
|
|
13786
13892
|
},
|
|
13787
13893
|
"RacingSelectionName": {
|
|
13788
13894
|
"type": "string",
|
|
@@ -13811,6 +13917,172 @@
|
|
|
13811
13917
|
},
|
|
13812
13918
|
"type": "object"
|
|
13813
13919
|
},
|
|
13920
|
+
"TornEducationRewards": {
|
|
13921
|
+
"required": [
|
|
13922
|
+
"working_stats",
|
|
13923
|
+
"effect",
|
|
13924
|
+
"honor"
|
|
13925
|
+
],
|
|
13926
|
+
"properties": {
|
|
13927
|
+
"working_stats": {
|
|
13928
|
+
"required": [
|
|
13929
|
+
"manual_labor",
|
|
13930
|
+
"intelligence",
|
|
13931
|
+
"endurance"
|
|
13932
|
+
],
|
|
13933
|
+
"properties": {
|
|
13934
|
+
"manual_labor": {
|
|
13935
|
+
"oneOf": [
|
|
13936
|
+
{
|
|
13937
|
+
"type": "integer",
|
|
13938
|
+
"format": "int32"
|
|
13939
|
+
},
|
|
13940
|
+
{
|
|
13941
|
+
"type": "null"
|
|
13942
|
+
}
|
|
13943
|
+
]
|
|
13944
|
+
},
|
|
13945
|
+
"intelligence": {
|
|
13946
|
+
"oneOf": [
|
|
13947
|
+
{
|
|
13948
|
+
"type": "integer",
|
|
13949
|
+
"format": "int32"
|
|
13950
|
+
},
|
|
13951
|
+
{
|
|
13952
|
+
"type": "null"
|
|
13953
|
+
}
|
|
13954
|
+
]
|
|
13955
|
+
},
|
|
13956
|
+
"endurance": {
|
|
13957
|
+
"oneOf": [
|
|
13958
|
+
{
|
|
13959
|
+
"type": "integer",
|
|
13960
|
+
"format": "int32"
|
|
13961
|
+
},
|
|
13962
|
+
{
|
|
13963
|
+
"type": "null"
|
|
13964
|
+
}
|
|
13965
|
+
]
|
|
13966
|
+
}
|
|
13967
|
+
},
|
|
13968
|
+
"type": "object"
|
|
13969
|
+
},
|
|
13970
|
+
"effect": {
|
|
13971
|
+
"oneOf": [
|
|
13972
|
+
{
|
|
13973
|
+
"type": "string"
|
|
13974
|
+
},
|
|
13975
|
+
{
|
|
13976
|
+
"type": "null"
|
|
13977
|
+
}
|
|
13978
|
+
]
|
|
13979
|
+
},
|
|
13980
|
+
"honor": {
|
|
13981
|
+
"oneOf": [
|
|
13982
|
+
{
|
|
13983
|
+
"type": "string"
|
|
13984
|
+
},
|
|
13985
|
+
{
|
|
13986
|
+
"type": "null"
|
|
13987
|
+
}
|
|
13988
|
+
]
|
|
13989
|
+
}
|
|
13990
|
+
},
|
|
13991
|
+
"type": "object"
|
|
13992
|
+
},
|
|
13993
|
+
"TornEducationPrerequisites": {
|
|
13994
|
+
"required": [
|
|
13995
|
+
"cost",
|
|
13996
|
+
"courses"
|
|
13997
|
+
],
|
|
13998
|
+
"properties": {
|
|
13999
|
+
"cost": {
|
|
14000
|
+
"type": "integer",
|
|
14001
|
+
"format": "int32"
|
|
14002
|
+
},
|
|
14003
|
+
"courses": {
|
|
14004
|
+
"type": "array",
|
|
14005
|
+
"items": {
|
|
14006
|
+
"type": "integer",
|
|
14007
|
+
"format": "int32"
|
|
14008
|
+
}
|
|
14009
|
+
}
|
|
14010
|
+
},
|
|
14011
|
+
"type": "object"
|
|
14012
|
+
},
|
|
14013
|
+
"TornEducationCourses": {
|
|
14014
|
+
"required": [
|
|
14015
|
+
"id",
|
|
14016
|
+
"code",
|
|
14017
|
+
"name",
|
|
14018
|
+
"description",
|
|
14019
|
+
"duration",
|
|
14020
|
+
"rewards",
|
|
14021
|
+
"prerequisites"
|
|
14022
|
+
],
|
|
14023
|
+
"properties": {
|
|
14024
|
+
"id": {
|
|
14025
|
+
"$ref": "#/components/schemas/EducationId"
|
|
14026
|
+
},
|
|
14027
|
+
"code": {
|
|
14028
|
+
"type": "string"
|
|
14029
|
+
},
|
|
14030
|
+
"name": {
|
|
14031
|
+
"type": "string"
|
|
14032
|
+
},
|
|
14033
|
+
"description": {
|
|
14034
|
+
"type": "string"
|
|
14035
|
+
},
|
|
14036
|
+
"duration": {
|
|
14037
|
+
"type": "integer",
|
|
14038
|
+
"format": "int32"
|
|
14039
|
+
},
|
|
14040
|
+
"rewards": {
|
|
14041
|
+
"$ref": "#/components/schemas/TornEducationRewards"
|
|
14042
|
+
},
|
|
14043
|
+
"prerequisites": {
|
|
14044
|
+
"$ref": "#/components/schemas/TornEducationPrerequisites"
|
|
14045
|
+
}
|
|
14046
|
+
},
|
|
14047
|
+
"type": "object"
|
|
14048
|
+
},
|
|
14049
|
+
"TornEducation": {
|
|
14050
|
+
"required": [
|
|
14051
|
+
"id",
|
|
14052
|
+
"name",
|
|
14053
|
+
"courses"
|
|
14054
|
+
],
|
|
14055
|
+
"properties": {
|
|
14056
|
+
"id": {
|
|
14057
|
+
"type": "integer",
|
|
14058
|
+
"format": "int32"
|
|
14059
|
+
},
|
|
14060
|
+
"name": {
|
|
14061
|
+
"type": "string"
|
|
14062
|
+
},
|
|
14063
|
+
"courses": {
|
|
14064
|
+
"type": "array",
|
|
14065
|
+
"items": {
|
|
14066
|
+
"$ref": "#/components/schemas/TornEducationCourses"
|
|
14067
|
+
}
|
|
14068
|
+
}
|
|
14069
|
+
},
|
|
14070
|
+
"type": "object"
|
|
14071
|
+
},
|
|
14072
|
+
"TornEducationResponse": {
|
|
14073
|
+
"required": [
|
|
14074
|
+
"education"
|
|
14075
|
+
],
|
|
14076
|
+
"properties": {
|
|
14077
|
+
"education": {
|
|
14078
|
+
"type": "array",
|
|
14079
|
+
"items": {
|
|
14080
|
+
"$ref": "#/components/schemas/TornEducation"
|
|
14081
|
+
}
|
|
14082
|
+
}
|
|
14083
|
+
},
|
|
14084
|
+
"type": "object"
|
|
14085
|
+
},
|
|
13814
14086
|
"TornTerritoryCoordinates": {
|
|
13815
14087
|
"required": [
|
|
13816
14088
|
"x",
|
|
@@ -13964,13 +14236,11 @@
|
|
|
13964
14236
|
"enhancer_id",
|
|
13965
14237
|
"enhancer_name",
|
|
13966
14238
|
"unique_outcomes_count",
|
|
13967
|
-
"unique_outcomes_ids"
|
|
13968
|
-
"notes"
|
|
14239
|
+
"unique_outcomes_ids"
|
|
13969
14240
|
],
|
|
13970
14241
|
"properties": {
|
|
13971
14242
|
"id": {
|
|
13972
|
-
"
|
|
13973
|
-
"format": "int32"
|
|
14243
|
+
"$ref": "#/components/schemas/TornCrimeId"
|
|
13974
14244
|
},
|
|
13975
14245
|
"name": {
|
|
13976
14246
|
"type": "string"
|
|
@@ -14190,7 +14460,7 @@
|
|
|
14190
14460
|
},
|
|
14191
14461
|
"TornFactionHof": {
|
|
14192
14462
|
"required": [
|
|
14193
|
-
"
|
|
14463
|
+
"id",
|
|
14194
14464
|
"name",
|
|
14195
14465
|
"members",
|
|
14196
14466
|
"position",
|
|
@@ -14198,7 +14468,7 @@
|
|
|
14198
14468
|
"values"
|
|
14199
14469
|
],
|
|
14200
14470
|
"properties": {
|
|
14201
|
-
"
|
|
14471
|
+
"id": {
|
|
14202
14472
|
"$ref": "#/components/schemas/FactionId"
|
|
14203
14473
|
},
|
|
14204
14474
|
"name": {
|
|
@@ -15038,19 +15308,23 @@
|
|
|
15038
15308
|
],
|
|
15039
15309
|
"properties": {
|
|
15040
15310
|
"factionTree": {
|
|
15041
|
-
"
|
|
15311
|
+
"type": "array",
|
|
15312
|
+
"items": {
|
|
15313
|
+
"$ref": "#/components/schemas/TornFactionTree"
|
|
15314
|
+
}
|
|
15042
15315
|
}
|
|
15043
15316
|
},
|
|
15044
15317
|
"type": "object"
|
|
15045
15318
|
},
|
|
15046
15319
|
"TornSelectionName": {
|
|
15047
|
-
"description": "The following selections will fallback to API v1 and may change at any time: 'bank','cards','cityshops','companies','competition','dirtybombs','
|
|
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'.",
|
|
15048
15321
|
"type": "string",
|
|
15049
15322
|
"enum": [
|
|
15050
15323
|
"attacklog",
|
|
15051
15324
|
"bounties",
|
|
15052
15325
|
"calendar",
|
|
15053
15326
|
"crimes",
|
|
15327
|
+
"education",
|
|
15054
15328
|
"factionHof",
|
|
15055
15329
|
"factiontree",
|
|
15056
15330
|
"hof",
|
|
@@ -15069,7 +15343,6 @@
|
|
|
15069
15343
|
"companies",
|
|
15070
15344
|
"competition",
|
|
15071
15345
|
"dirtybombs",
|
|
15072
|
-
"education",
|
|
15073
15346
|
"gyms",
|
|
15074
15347
|
"honors",
|
|
15075
15348
|
"itemdetails",
|
|
@@ -15079,16 +15352,20 @@
|
|
|
15079
15352
|
"pawnshop",
|
|
15080
15353
|
"pokertables",
|
|
15081
15354
|
"properties",
|
|
15082
|
-
"rackets",
|
|
15083
15355
|
"raidreport",
|
|
15084
15356
|
"raids",
|
|
15085
|
-
"rankedwarreport",
|
|
15086
|
-
"rankedwars",
|
|
15087
15357
|
"rockpaperscissors",
|
|
15088
15358
|
"searchforcash",
|
|
15089
15359
|
"shoplifting",
|
|
15090
15360
|
"stats",
|
|
15091
|
-
"stocks"
|
|
15361
|
+
"stocks",
|
|
15362
|
+
"chainreport",
|
|
15363
|
+
"rackets",
|
|
15364
|
+
"rankedwarreport",
|
|
15365
|
+
"rankedwars",
|
|
15366
|
+
"territorynames",
|
|
15367
|
+
"territorywarreport",
|
|
15368
|
+
"territorywars"
|
|
15092
15369
|
]
|
|
15093
15370
|
},
|
|
15094
15371
|
"TornLookupResponse": {
|
|
@@ -18113,6 +18390,58 @@
|
|
|
18113
18390
|
"scammingskill"
|
|
18114
18391
|
]
|
|
18115
18392
|
},
|
|
18393
|
+
"UserCurrentEducation": {
|
|
18394
|
+
"required": [
|
|
18395
|
+
"id",
|
|
18396
|
+
"until"
|
|
18397
|
+
],
|
|
18398
|
+
"properties": {
|
|
18399
|
+
"id": {
|
|
18400
|
+
"$ref": "#/components/schemas/EducationId"
|
|
18401
|
+
},
|
|
18402
|
+
"until": {
|
|
18403
|
+
"type": "integer",
|
|
18404
|
+
"format": "int32"
|
|
18405
|
+
}
|
|
18406
|
+
},
|
|
18407
|
+
"type": "object"
|
|
18408
|
+
},
|
|
18409
|
+
"UserEducation": {
|
|
18410
|
+
"required": [
|
|
18411
|
+
"complete",
|
|
18412
|
+
"current"
|
|
18413
|
+
],
|
|
18414
|
+
"properties": {
|
|
18415
|
+
"complete": {
|
|
18416
|
+
"type": "array",
|
|
18417
|
+
"items": {
|
|
18418
|
+
"$ref": "#/components/schemas/EducationId"
|
|
18419
|
+
}
|
|
18420
|
+
},
|
|
18421
|
+
"current": {
|
|
18422
|
+
"oneOf": [
|
|
18423
|
+
{
|
|
18424
|
+
"$ref": "#/components/schemas/UserCurrentEducation"
|
|
18425
|
+
},
|
|
18426
|
+
{
|
|
18427
|
+
"type": "null"
|
|
18428
|
+
}
|
|
18429
|
+
]
|
|
18430
|
+
}
|
|
18431
|
+
},
|
|
18432
|
+
"type": "object"
|
|
18433
|
+
},
|
|
18434
|
+
"UserEducationResponse": {
|
|
18435
|
+
"required": [
|
|
18436
|
+
"education"
|
|
18437
|
+
],
|
|
18438
|
+
"properties": {
|
|
18439
|
+
"education": {
|
|
18440
|
+
"$ref": "#/components/schemas/UserEducation"
|
|
18441
|
+
}
|
|
18442
|
+
},
|
|
18443
|
+
"type": "object"
|
|
18444
|
+
},
|
|
18116
18445
|
"UserCrimeDetailsBootlegging": {
|
|
18117
18446
|
"required": [
|
|
18118
18447
|
"online_store",
|
|
@@ -18746,10 +19075,7 @@
|
|
|
18746
19075
|
"format": "int64"
|
|
18747
19076
|
},
|
|
18748
19077
|
"rewards": {
|
|
18749
|
-
"
|
|
18750
|
-
"items": {
|
|
18751
|
-
"$ref": "#/components/schemas/UserCrimeUniquesReward"
|
|
18752
|
-
}
|
|
19078
|
+
"$ref": "#/components/schemas/UserCrimeUniquesReward"
|
|
18753
19079
|
}
|
|
18754
19080
|
},
|
|
18755
19081
|
"type": "object"
|
|
@@ -18823,6 +19149,9 @@
|
|
|
18823
19149
|
},
|
|
18824
19150
|
{
|
|
18825
19151
|
"$ref": "#/components/schemas/UserCrimeDetailsScamming"
|
|
19152
|
+
},
|
|
19153
|
+
{
|
|
19154
|
+
"type": "null"
|
|
18826
19155
|
}
|
|
18827
19156
|
]
|
|
18828
19157
|
}
|
|
@@ -18865,7 +19194,14 @@
|
|
|
18865
19194
|
"$ref": "#/components/schemas/RaceCarId"
|
|
18866
19195
|
},
|
|
18867
19196
|
"name": {
|
|
18868
|
-
"
|
|
19197
|
+
"oneOf": [
|
|
19198
|
+
{
|
|
19199
|
+
"type": "string"
|
|
19200
|
+
},
|
|
19201
|
+
{
|
|
19202
|
+
"type": "null"
|
|
19203
|
+
}
|
|
19204
|
+
]
|
|
18869
19205
|
},
|
|
18870
19206
|
"worth": {
|
|
18871
19207
|
"type": "integer",
|
|
@@ -19105,10 +19441,7 @@
|
|
|
19105
19441
|
],
|
|
19106
19442
|
"properties": {
|
|
19107
19443
|
"hof": {
|
|
19108
|
-
"
|
|
19109
|
-
"items": {
|
|
19110
|
-
"$ref": "#/components/schemas/UserHofStats"
|
|
19111
|
-
}
|
|
19444
|
+
"$ref": "#/components/schemas/UserHofStats"
|
|
19112
19445
|
}
|
|
19113
19446
|
},
|
|
19114
19447
|
"type": "object"
|